x86 stringlengths 122 9.39M | arm stringlengths 122 9.33M | file stringlengths 19 200 | source stringclasses 2
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/196317.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fatal ## -- Begin function fatal
.p2align 4, 0x90
_fatal: ## @fatal
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rcx, %r8
movq %rdx, %rcx
movq %rsi, %rdx
movq %rdi, %r9
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _handle_invalid_char ## -- Begin function handle_invalid_char
.p2align 4, 0x90
_handle_invalid_char: ## @handle_invalid_char
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
cmpl $3, %edx
ja LBB1_4
## %bb.1:
movq %rsi, %rax
movl %edi, %ebx
movl $32, %edi
movl %edx, %edx
leaq LJTI1_0(%rip), %rsi
movslq (%rsi,%rdx,4), %rdx
addq %rsi, %rdx
jmpq *%rdx
LBB1_5:
movl $92, %edi
callq _putwchar
movl %ebx, %edi
LBB1_6:
addq $8, %rsp
popq %rbx
popq %rbp
jmp _putwchar ## TAILCALL
LBB1_7:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB1_4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rax
jmp LBB1_3
LBB1_2:
movq ___stderrp@GOTPCREL(%rip), %rdx
movq (%rdx), %rdi
leaq L_.str(%rip), %rsi
LBB1_3:
movq %rcx, %rdx
movq %r8, %rcx
movq %r9, %r8
movq %rax, %r9
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_2, LBB1_2-LJTI1_0
.set L1_0_set_5, LBB1_5-LJTI1_0
.set L1_0_set_6, LBB1_6-LJTI1_0
.set L1_0_set_7, LBB1_7-LJTI1_0
LJTI1_0:
.long L1_0_set_2
.long L1_0_set_5
.long L1_0_set_6
.long L1_0_set_7
.end_data_region
## -- End function
.globl _csv_to_tab ## -- Begin function csv_to_tab
.p2align 4, 0x90
_csv_to_tab: ## @csv_to_tab
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, -52(%rbp) ## 4-byte Spill
movq %rdi, %r12
callq _fgetwc
cmpl $-1, %eax
je LBB2_50
## %bb.1:
movl %eax, %r13d
xorl %ebx, %ebx
movl $1, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
jmp LBB2_6
LBB2_42: ## in Loop: Header=BB2_6 Depth=1
movl $159, %r9d
movl $114, %edi
leaq L_.str.3(%rip), %rsi
movl -52(%rbp), %edx ## 4-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rbx, %r8
callq _handle_invalid_char
LBB2_43: ## in Loop: Header=BB2_6 Depth=1
movl $9, %edi
callq _putwchar
xorl %r14d, %r14d
.p2align 4, 0x90
LBB2_5: ## in Loop: Header=BB2_6 Depth=1
movq %r12, %rdi
callq _fgetwc
movl %eax, %r13d
cmpl $-1, %eax
je LBB2_49
LBB2_6: ## =>This Inner Loop Header: Depth=1
movl %r14d, %r15d
incq %rbx
leal -9(%r13), %eax
cmpl $35, %eax
ja LBB2_11
## %bb.7: ## in Loop: Header=BB2_6 Depth=1
leaq LJTI2_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_8: ## in Loop: Header=BB2_6 Depth=1
cmpl $5, %r15d
ja LBB2_59
## %bb.9: ## in Loop: Header=BB2_6 Depth=1
movl %r15d, %eax
leaq LJTI2_5(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_10: ## in Loop: Header=BB2_6 Depth=1
movl $74, %r9d
movl $116, %edi
leaq L_.str.2(%rip), %rsi
movl -52(%rbp), %edx ## 4-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rbx, %r8
callq _handle_invalid_char
jmp LBB2_17
.p2align 4, 0x90
LBB2_11: ## in Loop: Header=BB2_6 Depth=1
cmpl $92, %r13d
jne LBB2_18
## %bb.12: ## in Loop: Header=BB2_6 Depth=1
cmpl $5, %r15d
ja LBB2_64
## %bb.13: ## in Loop: Header=BB2_6 Depth=1
movl %r15d, %eax
leaq LJTI2_4(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_14: ## in Loop: Header=BB2_6 Depth=1
cmpl $1, -52(%rbp) ## 4-byte Folded Reload
jne LBB2_16
## %bb.15: ## in Loop: Header=BB2_6 Depth=1
movl $92, %edi
callq _putwchar
LBB2_16: ## in Loop: Header=BB2_6 Depth=1
movl $92, %edi
callq _putwchar
LBB2_17: ## in Loop: Header=BB2_6 Depth=1
movl %r15d, %r14d
jmp LBB2_5
LBB2_18: ## in Loop: Header=BB2_6 Depth=1
cmpl $4, %r15d
ja LBB2_57
## %bb.19: ## in Loop: Header=BB2_6 Depth=1
movl %r15d, %eax
leaq LJTI2_6(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_20: ## in Loop: Header=BB2_6 Depth=1
movl %r13d, %edi
jmp LBB2_30
LBB2_2: ## in Loop: Header=BB2_6 Depth=1
incq -48(%rbp) ## 8-byte Folded Spill
leal -2(%r15), %eax
cmpl $4, %eax
jb LBB2_3
## %bb.31: ## in Loop: Header=BB2_6 Depth=1
testl %r15d, %r15d
je LBB2_3
## %bb.32: ## in Loop: Header=BB2_6 Depth=1
cmpl $1, %r15d
jne LBB2_67
## %bb.33: ## in Loop: Header=BB2_6 Depth=1
movl $180, %r9d
movl $110, %edi
leaq L_.str.9(%rip), %rsi
movl -52(%rbp), %edx ## 4-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
xorl %r8d, %r8d
callq _handle_invalid_char
movl $1, %r14d
jmp LBB2_4
LBB2_21: ## in Loop: Header=BB2_6 Depth=1
cmpl $4, %r15d
ja LBB2_61
## %bb.22: ## in Loop: Header=BB2_6 Depth=1
movl %r15d, %eax
leaq LJTI2_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movl %r15d, %r14d
jmpq *%rax
LBB2_23: ## in Loop: Header=BB2_6 Depth=1
movl $5, %r14d
jmp LBB2_5
LBB2_24: ## in Loop: Header=BB2_6 Depth=1
cmpl $5, %r15d
ja LBB2_56
## %bb.25: ## in Loop: Header=BB2_6 Depth=1
movl $1, %r14d
movl %r15d, %eax
leaq LJTI2_3(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_26: ## in Loop: Header=BB2_6 Depth=1
movl $2, %r14d
jmp LBB2_5
LBB2_27: ## in Loop: Header=BB2_6 Depth=1
cmpl $5, %r15d
ja LBB2_62
## %bb.28: ## in Loop: Header=BB2_6 Depth=1
movl %r15d, %eax
leaq LJTI2_2(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_29: ## in Loop: Header=BB2_6 Depth=1
movl $44, %edi
LBB2_30: ## in Loop: Header=BB2_6 Depth=1
callq _putwchar
movl $1, %r14d
jmp LBB2_5
LBB2_3: ## in Loop: Header=BB2_6 Depth=1
movl $10, %edi
callq _putwchar
xorl %r14d, %r14d
LBB2_4: ## in Loop: Header=BB2_6 Depth=1
xorl %ebx, %ebx
jmp LBB2_5
LBB2_34: ## in Loop: Header=BB2_6 Depth=1
movl $34, %edi
callq _putwchar
jmp LBB2_5
LBB2_35: ## in Loop: Header=BB2_6 Depth=1
movl $232, %r9d
movl $114, %edi
leaq L_.str.3(%rip), %rsi
movl -52(%rbp), %edx ## 4-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rbx, %r8
callq _handle_invalid_char
LBB2_36: ## in Loop: Header=BB2_6 Depth=1
movl %r13d, %edi
jmp LBB2_48
LBB2_37: ## in Loop: Header=BB2_6 Depth=1
movl $69, %r9d
movl $116, %edi
leaq L_.str.2(%rip), %rsi
movl -52(%rbp), %edx ## 4-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
jmp LBB2_39
LBB2_38: ## in Loop: Header=BB2_6 Depth=1
movl $79, %r9d
movl $114, %edi
leaq L_.str.3(%rip), %rsi
movl -52(%rbp), %r15d ## 4-byte Reload
movl %r15d, %edx
movq -48(%rbp), %r14 ## 8-byte Reload
movq %r14, %rcx
movq %rbx, %r8
callq _handle_invalid_char
movl $81, %r9d
movl $116, %edi
leaq L_.str.2(%rip), %rsi
movl %r15d, %edx
movq %r14, %rcx
LBB2_39: ## in Loop: Header=BB2_6 Depth=1
movq %rbx, %r8
callq _handle_invalid_char
movl $3, %r14d
jmp LBB2_5
LBB2_40: ## in Loop: Header=BB2_6 Depth=1
movl $206, %r9d
movl $114, %edi
leaq L_.str.3(%rip), %rsi
movl -52(%rbp), %edx ## 4-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rbx, %r8
callq _handle_invalid_char
LBB2_41: ## in Loop: Header=BB2_6 Depth=1
movl $4, %r14d
jmp LBB2_5
LBB2_44: ## in Loop: Header=BB2_6 Depth=1
cmpl $1, -52(%rbp) ## 4-byte Folded Reload
je LBB2_46
jmp LBB2_47
LBB2_45: ## in Loop: Header=BB2_6 Depth=1
movl $97, %r9d
movl $114, %edi
leaq L_.str.3(%rip), %rsi
movl -52(%rbp), %r14d ## 4-byte Reload
movl %r14d, %edx
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rbx, %r8
callq _handle_invalid_char
cmpl $1, %r14d
jne LBB2_47
LBB2_46: ## in Loop: Header=BB2_6 Depth=1
movl $92, %edi
callq _putwchar
LBB2_47: ## in Loop: Header=BB2_6 Depth=1
movl $92, %edi
LBB2_48: ## in Loop: Header=BB2_6 Depth=1
callq _putwchar
movl $3, %r14d
jmp LBB2_5
LBB2_49:
cmpl $1, %r14d
je LBB2_60
LBB2_50:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _ferror
testl %eax, %eax
jne LBB2_52
LBB2_51:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_52:
callq _csv_to_tab.cold.1
jmp LBB2_51
LBB2_53:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.7(%rip), %r9
movl $138, %r8d
jmp LBB2_65
LBB2_54:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.4(%rip), %r9
movl $85, %r8d
jmp LBB2_65
LBB2_55:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.6(%rip), %r9
movl $116, %r8d
jmp LBB2_65
LBB2_56:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.5(%rip), %r9
movl $141, %r8d
jmp LBB2_65
LBB2_57:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.5(%rip), %r9
movl $240, %r8d
jmp LBB2_65
LBB2_58:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.11(%rip), %r9
movl $227, %r8d
jmp LBB2_65
LBB2_59:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.5(%rip), %r9
movl $88, %r8d
jmp LBB2_65
LBB2_60:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.12(%rip), %r9
movl $246, %r8d
jmp LBB2_65
LBB2_61:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.10(%rip), %r9
movl $213, %r8d
jmp LBB2_65
LBB2_62:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.5(%rip), %r9
movl $170, %r8d
jmp LBB2_65
LBB2_63:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.8(%rip), %r9
movl $168, %r8d
jmp LBB2_65
LBB2_64:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.5(%rip), %r9
movl $119, %r8d
LBB2_65:
movq -48(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
LBB2_66:
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
LBB2_67:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.5(%rip), %r9
movl $191, %r8d
movq -48(%rbp), %rdx ## 8-byte Reload
xorl %ecx, %ecx
jmp LBB2_66
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_8, LBB2_8-LJTI2_0
.set L2_0_set_2, LBB2_2-LJTI2_0
.set L2_0_set_18, LBB2_18-LJTI2_0
.set L2_0_set_21, LBB2_21-LJTI2_0
.set L2_0_set_24, LBB2_24-LJTI2_0
.set L2_0_set_27, LBB2_27-LJTI2_0
LJTI2_0:
.long L2_0_set_8
.long L2_0_set_2
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_21
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_24
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_18
.long L2_0_set_27
.set L2_1_set_23, LBB2_23-LJTI2_1
.set L2_1_set_5, LBB2_5-LJTI2_1
.set L2_1_set_41, LBB2_41-LJTI2_1
.set L2_1_set_40, LBB2_40-LJTI2_1
LJTI2_1:
.long L2_1_set_23
.long L2_1_set_5
.long L2_1_set_23
.long L2_1_set_41
.long L2_1_set_40
.set L2_2_set_43, LBB2_43-LJTI2_2
.set L2_2_set_29, LBB2_29-LJTI2_2
.set L2_2_set_42, LBB2_42-LJTI2_2
.set L2_2_set_63, LBB2_63-LJTI2_2
LJTI2_2:
.long L2_2_set_43
.long L2_2_set_29
.long L2_2_set_43
.long L2_2_set_43
.long L2_2_set_42
.long L2_2_set_63
.set L2_3_set_5, LBB2_5-LJTI2_3
.set L2_3_set_26, LBB2_26-LJTI2_3
.set L2_3_set_34, LBB2_34-LJTI2_3
.set L2_3_set_53, LBB2_53-LJTI2_3
LJTI2_3:
.long L2_3_set_5
.long L2_3_set_26
.long L2_3_set_34
.long L2_3_set_53
.long L2_3_set_53
.long L2_3_set_53
.set L2_4_set_44, LBB2_44-LJTI2_4
.set L2_4_set_14, LBB2_14-LJTI2_4
.set L2_4_set_55, LBB2_55-LJTI2_4
.set L2_4_set_45, LBB2_45-LJTI2_4
LJTI2_4:
.long L2_4_set_44
.long L2_4_set_14
.long L2_4_set_55
.long L2_4_set_14
.long L2_4_set_45
.long L2_4_set_55
.set L2_5_set_37, LBB2_37-LJTI2_5
.set L2_5_set_10, LBB2_10-LJTI2_5
.set L2_5_set_54, LBB2_54-LJTI2_5
.set L2_5_set_38, LBB2_38-LJTI2_5
LJTI2_5:
.long L2_5_set_37
.long L2_5_set_10
.long L2_5_set_54
.long L2_5_set_10
.long L2_5_set_38
.long L2_5_set_54
.set L2_6_set_36, LBB2_36-LJTI2_6
.set L2_6_set_20, LBB2_20-LJTI2_6
.set L2_6_set_58, LBB2_58-LJTI2_6
.set L2_6_set_35, LBB2_35-LJTI2_6
LJTI2_6:
.long L2_6_set_36
.long L2_6_set_20
.long L2_6_set_58
.long L2_6_set_36
.long L2_6_set_35
.end_data_region
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %r15d
leaq L_.str.17(%rip), %rsi
xorl %ebx, %ebx
xorl %edi, %edi
callq _setlocale
leaq -44(%rbp), %r12
jmp LBB3_1
.p2align 4, 0x90
LBB3_8: ## in Loop: Header=BB3_1 Depth=1
movl $2, %ebx
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl %ebx, %r13d
movl %r15d, %edi
movq %r14, %rsi
leaq L_.str.18(%rip), %rdx
leaq _main.long_opts(%rip), %rcx
movq %r12, %r8
callq _getopt_long
cmpl $113, %eax
jle LBB3_2
## %bb.5: ## in Loop: Header=BB3_1 Depth=1
cmpl $114, %eax
je LBB3_8
## %bb.6: ## in Loop: Header=BB3_1 Depth=1
cmpl $120, %eax
jne LBB3_4
## %bb.7: ## in Loop: Header=BB3_1 Depth=1
movl $3, %ebx
jmp LBB3_1
.p2align 4, 0x90
LBB3_2: ## in Loop: Header=BB3_1 Depth=1
movl $1, %ebx
cmpl $101, %eax
je LBB3_1
## %bb.3:
cmpl $-1, %eax
jne LBB3_4
## %bb.9:
movq _optind@GOTPCREL(%rip), %r12
movslq (%r12), %rax
cmpl %r15d, %eax
jne LBB3_12
## %bb.10:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
jmp LBB3_11
LBB3_12:
decl %r15d
cmpl %r15d, %eax
jne LBB3_15
## %bb.13:
movq (%r14,%rax,8), %rdi
leaq L_.str.20(%rip), %rsi
callq _fopen
movq %rax, %rdi
testq %rax, %rax
je LBB3_14
LBB3_11:
movl %r13d, %esi
callq _csv_to_tab
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB3_4:
movq ___stderrp@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
leaq L_.str.19(%rip), %rsi
movl %eax, %edx
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
LBB3_15:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.22(%rip), %rdi
movl $54, %esi
movl $1, %edx
callq _fwrite
movl $1, %edi
callq _exit
LBB3_14:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movslq (%r12), %rax
movq (%r14,%rax,8), %r14
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.21(%rip), %rsi
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_to_tab.cold.1
_csv_to_tab.cold.1: ## @csv_to_tab.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.13(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ERROR: line: %zu: offset: %zu: source: %zu: %s\n"
L_.str.1: ## @.str.1
.asciz "unexpected invalid character treatment"
L_.str.2: ## @.str.2
.asciz "tab in data"
L_.str.3: ## @.str.3
.asciz "carriage return in data"
L_.str.4: ## @.str.4
.asciz "unexpected tab"
L_.str.5: ## @.str.5
.asciz "unexpected state"
L_.str.6: ## @.str.6
.asciz "unexpected backslash"
L_.str.7: ## @.str.7
.asciz "unexpected double quote"
L_.str.8: ## @.str.8
.asciz "unexpected comma"
L_.str.9: ## @.str.9
.asciz "newline in data"
L_.str.10: ## @.str.10
.asciz "unexpected carriage return"
L_.str.11: ## @.str.11
.asciz "unescaped double quote"
L_.str.12: ## @.str.12
.asciz "unterminated double quote"
L_.str.13: ## @.str.13
.asciz "error reading input stream"
.section __DATA,__data
.p2align 4 ## @main.long_opts
_main.long_opts:
.quad L_.str.14
.long 0 ## 0x0
.space 4
.quad 0
.long 101 ## 0x65
.space 4
.quad L_.str.15
.long 0 ## 0x0
.space 4
.quad 0
.long 114 ## 0x72
.space 4
.quad L_.str.16
.long 0 ## 0x0
.space 4
.quad 0
.long 120 ## 0x78
.space 4
.space 32
.section __TEXT,__cstring,cstring_literals
L_.str.14: ## @.str.14
.asciz "escape"
L_.str.15: ## @.str.15
.asciz "replace"
L_.str.16: ## @.str.16
.asciz "strip"
L_.str.17: ## @.str.17
.space 1
L_.str.18: ## @.str.18
.asciz "dert:x"
L_.str.19: ## @.str.19
.asciz "unexpected arg: %d\n"
L_.str.20: ## @.str.20
.asciz "r"
L_.str.21: ## @.str.21
.asciz "error opening %s: %s\n"
L_.str.22: ## @.str.22
.asciz "USAGE: csv-to-tab [--escape|--strip|--replace] [PATH]\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fatal ; -- Begin function fatal
.p2align 2
_fatal: ; @fatal
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, ___stderrp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stp x3, x0, [sp, #16]
stp x1, x2, [sp]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x8
bl _fprintf
mov w0, #1
bl _exit
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.globl _handle_invalid_char ; -- Begin function handle_invalid_char
.p2align 2
_handle_invalid_char: ; @handle_invalid_char
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cmp w2, #3
b.hi LBB1_5
; %bb.1:
mov x19, x0
mov w0, #32
mov w8, w2
Lloh5:
adrp x9, lJTI1_0@PAGE
Lloh6:
add x9, x9, lJTI1_0@PAGEOFF
adr x10, LBB1_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB1_2:
mov w0, #92
bl _putwchar
mov x0, x19
LBB1_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
b _putwchar
LBB1_4:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB1_5:
Lloh7:
adrp x8, ___stderrp@GOTPAGE
Lloh8:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh9:
ldr x0, [x8]
Lloh10:
adrp x8, l_.str.1@PAGE
Lloh11:
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #24]
b LBB1_7
LBB1_6:
Lloh12:
adrp x8, ___stderrp@GOTPAGE
Lloh13:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh14:
ldr x0, [x8]
str x1, [sp, #24]
LBB1_7:
stp x4, x5, [sp, #8]
str x3, [sp]
Lloh15:
adrp x1, l_.str@PAGE
Lloh16:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.cfi_endproc
.section __TEXT,__const
lJTI1_0:
.byte (LBB1_6-LBB1_2)>>2
.byte (LBB1_2-LBB1_2)>>2
.byte (LBB1_3-LBB1_2)>>2
.byte (LBB1_4-LBB1_2)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _csv_to_tab ; -- Begin function csv_to_tab
.p2align 2
_csv_to_tab: ; @csv_to_tab
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x1
mov x22, x0
bl _fgetwc
cmn w0, #1
b.eq LBB2_49
; %bb.1:
mov x26, x0
mov x20, #0
mov w24, #0
mov w19, #1
Lloh17:
adrp x23, l_.str.3@PAGE
Lloh18:
add x23, x23, l_.str.3@PAGEOFF
Lloh19:
adrp x28, lJTI2_6@PAGE
Lloh20:
add x28, x28, lJTI2_6@PAGEOFF
Lloh21:
adrp x25, lJTI2_0@PAGE
Lloh22:
add x25, x25, lJTI2_0@PAGEOFF
Lloh23:
adrp x27, lJTI2_2@PAGE
Lloh24:
add x27, x27, lJTI2_2@PAGEOFF
b LBB2_5
LBB2_2: ; in Loop: Header=BB2_5 Depth=1
mov w0, #34
LBB2_3: ; in Loop: Header=BB2_5 Depth=1
bl _putwchar
mov w24, #1
LBB2_4: ; in Loop: Header=BB2_5 Depth=1
mov x0, x22
bl _fgetwc
mov x26, x0
cmn w0, #1
b.eq LBB2_48
LBB2_5: ; =>This Inner Loop Header: Depth=1
add x20, x20, #1
sub w8, w26, #9
cmp w8, #35
b.hi LBB2_10
; %bb.6: ; in Loop: Header=BB2_5 Depth=1
adr x9, LBB2_7
ldrb w10, [x25, x8]
add x9, x9, x10, lsl #2
br x9
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
cmp w24, #5
b.hi LBB2_58
; %bb.8: ; in Loop: Header=BB2_5 Depth=1
mov w8, w24
Lloh25:
adrp x11, lJTI2_5@PAGE
Lloh26:
add x11, x11, lJTI2_5@PAGEOFF
adr x9, LBB2_9
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB2_9: ; in Loop: Header=BB2_5 Depth=1
mov w0, #116
Lloh27:
adrp x1, l_.str.2@PAGE
Lloh28:
add x1, x1, l_.str.2@PAGEOFF
mov x2, x21
mov x3, x19
mov x4, x20
mov w5, #74
bl _handle_invalid_char
b LBB2_4
LBB2_10: ; in Loop: Header=BB2_5 Depth=1
cmp w26, #92
b.ne LBB2_16
; %bb.11: ; in Loop: Header=BB2_5 Depth=1
cmp w24, #5
b.hi LBB2_63
; %bb.12: ; in Loop: Header=BB2_5 Depth=1
mov w8, w24
Lloh29:
adrp x11, lJTI2_4@PAGE
Lloh30:
add x11, x11, lJTI2_4@PAGEOFF
adr x9, LBB2_13
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB2_13: ; in Loop: Header=BB2_5 Depth=1
cmp w21, #1
b.ne LBB2_15
; %bb.14: ; in Loop: Header=BB2_5 Depth=1
mov w0, #92
bl _putwchar
LBB2_15: ; in Loop: Header=BB2_5 Depth=1
mov w0, #92
bl _putwchar
b LBB2_4
LBB2_16: ; in Loop: Header=BB2_5 Depth=1
cmp w24, #4
b.hi LBB2_56
; %bb.17: ; in Loop: Header=BB2_5 Depth=1
mov w8, w24
adr x9, LBB2_18
ldrb w10, [x28, x8]
add x9, x9, x10, lsl #2
br x9
LBB2_18: ; in Loop: Header=BB2_5 Depth=1
mov x0, x26
b LBB2_3
LBB2_19: ; in Loop: Header=BB2_5 Depth=1
add x19, x19, #1
sub w8, w24, #2
cmp w8, #4
b.lo LBB2_32
; %bb.20: ; in Loop: Header=BB2_5 Depth=1
cbz w24, LBB2_32
; %bb.21: ; in Loop: Header=BB2_5 Depth=1
cmp w24, #1
b.ne LBB2_66
; %bb.22: ; in Loop: Header=BB2_5 Depth=1
mov w0, #110
Lloh31:
adrp x1, l_.str.9@PAGE
Lloh32:
add x1, x1, l_.str.9@PAGEOFF
mov x2, x21
mov x3, x19
mov x4, #0
mov w5, #180
bl _handle_invalid_char
b LBB2_33
LBB2_23: ; in Loop: Header=BB2_5 Depth=1
cmp w24, #4
b.hi LBB2_60
; %bb.24: ; in Loop: Header=BB2_5 Depth=1
mov w8, w24
Lloh33:
adrp x11, lJTI2_1@PAGE
Lloh34:
add x11, x11, lJTI2_1@PAGEOFF
adr x9, LBB2_4
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB2_25: ; in Loop: Header=BB2_5 Depth=1
mov w24, #5
b LBB2_4
LBB2_26: ; in Loop: Header=BB2_5 Depth=1
cmp w24, #5
b.hi LBB2_54
; %bb.27: ; in Loop: Header=BB2_5 Depth=1
mov w8, w24
Lloh35:
adrp x11, lJTI2_3@PAGE
Lloh36:
add x11, x11, lJTI2_3@PAGEOFF
adr x9, LBB2_2
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
mov w24, #1
br x9
LBB2_28: ; in Loop: Header=BB2_5 Depth=1
mov w24, #2
b LBB2_4
LBB2_29: ; in Loop: Header=BB2_5 Depth=1
cmp w24, #5
b.hi LBB2_61
; %bb.30: ; in Loop: Header=BB2_5 Depth=1
mov w8, w24
adr x9, LBB2_31
ldrb w10, [x27, x8]
add x9, x9, x10, lsl #2
br x9
LBB2_31: ; in Loop: Header=BB2_5 Depth=1
mov w0, #44
b LBB2_3
LBB2_32: ; in Loop: Header=BB2_5 Depth=1
mov w0, #10
bl _putwchar
mov w24, #0
LBB2_33: ; in Loop: Header=BB2_5 Depth=1
mov x20, #0
b LBB2_4
LBB2_34: ; in Loop: Header=BB2_5 Depth=1
mov w0, #114
mov x1, x23
mov x2, x21
mov x3, x19
mov x4, x20
mov w5, #232
bl _handle_invalid_char
LBB2_35: ; in Loop: Header=BB2_5 Depth=1
mov x0, x26
b LBB2_47
LBB2_36: ; in Loop: Header=BB2_5 Depth=1
mov w0, #116
Lloh37:
adrp x1, l_.str.2@PAGE
Lloh38:
add x1, x1, l_.str.2@PAGEOFF
mov x2, x21
mov x3, x19
mov x4, x20
mov w5, #69
b LBB2_38
LBB2_37: ; in Loop: Header=BB2_5 Depth=1
mov w0, #114
mov x1, x23
mov x2, x21
mov x3, x19
mov x4, x20
mov w5, #79
bl _handle_invalid_char
mov w0, #116
Lloh39:
adrp x1, l_.str.2@PAGE
Lloh40:
add x1, x1, l_.str.2@PAGEOFF
mov x2, x21
mov x3, x19
mov x4, x20
mov w5, #81
LBB2_38: ; in Loop: Header=BB2_5 Depth=1
bl _handle_invalid_char
mov w24, #3
b LBB2_4
LBB2_39: ; in Loop: Header=BB2_5 Depth=1
mov w0, #114
mov x1, x23
mov x2, x21
mov x3, x19
mov x4, x20
mov w5, #206
bl _handle_invalid_char
LBB2_40: ; in Loop: Header=BB2_5 Depth=1
mov w24, #4
b LBB2_4
LBB2_41: ; in Loop: Header=BB2_5 Depth=1
mov w0, #114
mov x1, x23
mov x2, x21
mov x3, x19
mov x4, x20
mov w5, #159
bl _handle_invalid_char
LBB2_42: ; in Loop: Header=BB2_5 Depth=1
mov w0, #9
bl _putwchar
mov w24, #0
b LBB2_4
LBB2_43: ; in Loop: Header=BB2_5 Depth=1
mov w0, #114
mov x1, x23
mov x2, x21
mov x3, x19
mov x4, x20
mov w5, #97
bl _handle_invalid_char
LBB2_44: ; in Loop: Header=BB2_5 Depth=1
cmp w21, #1
b.ne LBB2_46
; %bb.45: ; in Loop: Header=BB2_5 Depth=1
mov w0, #92
bl _putwchar
LBB2_46: ; in Loop: Header=BB2_5 Depth=1
mov w0, #92
LBB2_47: ; in Loop: Header=BB2_5 Depth=1
bl _putwchar
mov w24, #3
b LBB2_4
LBB2_48:
cmp w24, #1
b.eq LBB2_59
LBB2_49:
Lloh41:
adrp x8, ___stdinp@GOTPAGE
Lloh42:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh43:
ldr x0, [x8]
bl _ferror
cbnz w0, LBB2_55
; %bb.50:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB2_51:
Lloh44:
adrp x8, ___stderrp@GOTPAGE
Lloh45:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh46:
ldr x0, [x8]
Lloh47:
adrp x8, l_.str.7@PAGE
Lloh48:
add x8, x8, l_.str.7@PAGEOFF
mov w9, #138
b LBB2_64
LBB2_52:
Lloh49:
adrp x8, ___stderrp@GOTPAGE
Lloh50:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh51:
ldr x0, [x8]
Lloh52:
adrp x8, l_.str.4@PAGE
Lloh53:
add x8, x8, l_.str.4@PAGEOFF
mov w9, #85
b LBB2_64
LBB2_53:
Lloh54:
adrp x8, ___stderrp@GOTPAGE
Lloh55:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh56:
ldr x0, [x8]
Lloh57:
adrp x8, l_.str.6@PAGE
Lloh58:
add x8, x8, l_.str.6@PAGEOFF
mov w9, #116
b LBB2_64
LBB2_54:
Lloh59:
adrp x8, ___stderrp@GOTPAGE
Lloh60:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh61:
ldr x0, [x8]
Lloh62:
adrp x8, l_.str.5@PAGE
Lloh63:
add x8, x8, l_.str.5@PAGEOFF
mov w9, #141
b LBB2_64
LBB2_55:
bl _csv_to_tab.cold.1
LBB2_56:
Lloh64:
adrp x8, ___stderrp@GOTPAGE
Lloh65:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh66:
ldr x0, [x8]
Lloh67:
adrp x8, l_.str.5@PAGE
Lloh68:
add x8, x8, l_.str.5@PAGEOFF
mov w9, #240
b LBB2_64
LBB2_57:
Lloh69:
adrp x8, ___stderrp@GOTPAGE
Lloh70:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh71:
ldr x0, [x8]
Lloh72:
adrp x8, l_.str.11@PAGE
Lloh73:
add x8, x8, l_.str.11@PAGEOFF
mov w9, #227
b LBB2_64
LBB2_58:
Lloh74:
adrp x8, ___stderrp@GOTPAGE
Lloh75:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh76:
ldr x0, [x8]
Lloh77:
adrp x8, l_.str.5@PAGE
Lloh78:
add x8, x8, l_.str.5@PAGEOFF
mov w9, #88
b LBB2_64
LBB2_59:
Lloh79:
adrp x8, ___stderrp@GOTPAGE
Lloh80:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh81:
ldr x0, [x8]
Lloh82:
adrp x8, l_.str.12@PAGE
Lloh83:
add x8, x8, l_.str.12@PAGEOFF
mov w9, #246
b LBB2_64
LBB2_60:
Lloh84:
adrp x8, ___stderrp@GOTPAGE
Lloh85:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh86:
ldr x0, [x8]
Lloh87:
adrp x8, l_.str.10@PAGE
Lloh88:
add x8, x8, l_.str.10@PAGEOFF
mov w9, #213
b LBB2_64
LBB2_61:
Lloh89:
adrp x8, ___stderrp@GOTPAGE
Lloh90:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh91:
ldr x0, [x8]
Lloh92:
adrp x8, l_.str.5@PAGE
Lloh93:
add x8, x8, l_.str.5@PAGEOFF
mov w9, #170
b LBB2_64
LBB2_62:
Lloh94:
adrp x8, ___stderrp@GOTPAGE
Lloh95:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh96:
ldr x0, [x8]
Lloh97:
adrp x8, l_.str.8@PAGE
Lloh98:
add x8, x8, l_.str.8@PAGEOFF
mov w9, #168
b LBB2_64
LBB2_63:
Lloh99:
adrp x8, ___stderrp@GOTPAGE
Lloh100:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh101:
ldr x0, [x8]
Lloh102:
adrp x8, l_.str.5@PAGE
Lloh103:
add x8, x8, l_.str.5@PAGEOFF
mov w9, #119
LBB2_64:
stp x9, x8, [sp, #16]
str x20, [sp, #8]
LBB2_65:
str x19, [sp]
Lloh104:
adrp x1, l_.str@PAGE
Lloh105:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB2_66:
Lloh106:
adrp x8, ___stderrp@GOTPAGE
Lloh107:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh108:
ldr x0, [x8]
Lloh109:
adrp x8, l_.str.5@PAGE
Lloh110:
add x8, x8, l_.str.5@PAGEOFF
mov w9, #191
stp x9, x8, [sp, #16]
str xzr, [sp, #8]
b LBB2_65
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpAdd Lloh77, Lloh78
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpLdrGotLdr Lloh79, Lloh80, Lloh81
.loh AdrpAdd Lloh87, Lloh88
.loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91
.loh AdrpAdd Lloh97, Lloh98
.loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh109, Lloh110
.loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108
.cfi_endproc
.section __TEXT,__const
lJTI2_0:
.byte (LBB2_7-LBB2_7)>>2
.byte (LBB2_19-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_23-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_26-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_16-LBB2_7)>>2
.byte (LBB2_29-LBB2_7)>>2
lJTI2_1:
.byte (LBB2_25-LBB2_4)>>2
.byte (LBB2_4-LBB2_4)>>2
.byte (LBB2_25-LBB2_4)>>2
.byte (LBB2_40-LBB2_4)>>2
.byte (LBB2_39-LBB2_4)>>2
lJTI2_2:
.byte (LBB2_42-LBB2_31)>>2
.byte (LBB2_31-LBB2_31)>>2
.byte (LBB2_42-LBB2_31)>>2
.byte (LBB2_42-LBB2_31)>>2
.byte (LBB2_41-LBB2_31)>>2
.byte (LBB2_62-LBB2_31)>>2
lJTI2_3:
.byte (LBB2_4-LBB2_2)>>2
.byte (LBB2_28-LBB2_2)>>2
.byte (LBB2_2-LBB2_2)>>2
.byte (LBB2_51-LBB2_2)>>2
.byte (LBB2_51-LBB2_2)>>2
.byte (LBB2_51-LBB2_2)>>2
lJTI2_4:
.byte (LBB2_44-LBB2_13)>>2
.byte (LBB2_13-LBB2_13)>>2
.byte (LBB2_53-LBB2_13)>>2
.byte (LBB2_13-LBB2_13)>>2
.byte (LBB2_43-LBB2_13)>>2
.byte (LBB2_53-LBB2_13)>>2
lJTI2_5:
.byte (LBB2_36-LBB2_9)>>2
.byte (LBB2_9-LBB2_9)>>2
.byte (LBB2_52-LBB2_9)>>2
.byte (LBB2_9-LBB2_9)>>2
.byte (LBB2_37-LBB2_9)>>2
.byte (LBB2_52-LBB2_9)>>2
lJTI2_6:
.byte (LBB2_35-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_57-LBB2_18)>>2
.byte (LBB2_35-LBB2_18)>>2
.byte (LBB2_34-LBB2_18)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
Lloh111:
adrp x1, l_.str.17@PAGE
Lloh112:
add x1, x1, l_.str.17@PAGEOFF
mov w0, #0
bl _setlocale
mov w8, #0
Lloh113:
adrp x22, l_.str.18@PAGE
Lloh114:
add x22, x22, l_.str.18@PAGEOFF
Lloh115:
adrp x23, _main.long_opts@PAGE
Lloh116:
add x23, x23, _main.long_opts@PAGEOFF
b LBB3_2
LBB3_1: ; in Loop: Header=BB3_2 Depth=1
mov w8, #2
LBB3_2: ; =>This Inner Loop Header: Depth=1
mov x21, x8
add x4, sp, #28
mov x0, x20
mov x1, x19
mov x2, x22
mov x3, x23
bl _getopt_long
; kill: def $w0 killed $w0 def $x0
cmp w0, #113
b.le LBB3_6
; %bb.3: ; in Loop: Header=BB3_2 Depth=1
cmp w0, #114
b.eq LBB3_1
; %bb.4: ; in Loop: Header=BB3_2 Depth=1
cmp w0, #120
b.ne LBB3_13
; %bb.5: ; in Loop: Header=BB3_2 Depth=1
mov w8, #3
b LBB3_2
LBB3_6: ; in Loop: Header=BB3_2 Depth=1
mov w8, #1
cmp w0, #101
b.eq LBB3_2
; %bb.7:
cmn w0, #1
b.ne LBB3_13
; %bb.8:
Lloh117:
adrp x22, _optind@GOTPAGE
Lloh118:
ldr x22, [x22, _optind@GOTPAGEOFF]
ldrsw x8, [x22]
cmp w8, w20
b.ne LBB3_10
; %bb.9:
Lloh119:
adrp x8, ___stdinp@GOTPAGE
Lloh120:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh121:
ldr x0, [x8]
b LBB3_12
LBB3_10:
sub w9, w20, #1
cmp w8, w9
b.ne LBB3_15
; %bb.11:
ldr x0, [x19, x8, lsl #3]
Lloh122:
adrp x1, l_.str.20@PAGE
Lloh123:
add x1, x1, l_.str.20@PAGEOFF
bl _fopen
cbz x0, LBB3_16
LBB3_12:
mov x1, x21
bl _csv_to_tab
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB3_13:
Lloh124:
adrp x8, ___stderrp@GOTPAGE
Lloh125:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh126:
ldr x8, [x8]
str x0, [sp]
Lloh127:
adrp x1, l_.str.19@PAGE
Lloh128:
add x1, x1, l_.str.19@PAGEOFF
mov x0, x8
LBB3_14:
bl _fprintf
mov w0, #1
bl _exit
LBB3_15:
Lloh129:
adrp x8, ___stderrp@GOTPAGE
Lloh130:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh131:
ldr x3, [x8]
Lloh132:
adrp x0, l_.str.22@PAGE
Lloh133:
add x0, x0, l_.str.22@PAGEOFF
mov w1, #54
mov w2, #1
bl _fwrite
mov w0, #1
bl _exit
LBB3_16:
Lloh134:
adrp x8, ___stderrp@GOTPAGE
Lloh135:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh136:
ldr x20, [x8]
ldrsw x8, [x22]
ldr x19, [x19, x8, lsl #3]
bl ___error
ldr w0, [x0]
bl _strerror
stp x19, x0, [sp]
Lloh137:
adrp x1, l_.str.21@PAGE
Lloh138:
add x1, x1, l_.str.21@PAGEOFF
mov x0, x20
b LBB3_14
.loh AdrpAdd Lloh115, Lloh116
.loh AdrpAdd Lloh113, Lloh114
.loh AdrpAdd Lloh111, Lloh112
.loh AdrpLdrGot Lloh117, Lloh118
.loh AdrpLdrGotLdr Lloh119, Lloh120, Lloh121
.loh AdrpAdd Lloh122, Lloh123
.loh AdrpAdd Lloh127, Lloh128
.loh AdrpLdrGotLdr Lloh124, Lloh125, Lloh126
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpLdrGotLdr Lloh129, Lloh130, Lloh131
.loh AdrpAdd Lloh137, Lloh138
.loh AdrpLdrGotLdr Lloh134, Lloh135, Lloh136
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_to_tab.cold.1
_csv_to_tab.cold.1: ; @csv_to_tab.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh139:
adrp x0, l_.str.13@PAGE
Lloh140:
add x0, x0, l_.str.13@PAGEOFF
bl _perror
mov w0, #1
bl _exit
.loh AdrpAdd Lloh139, Lloh140
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ERROR: line: %zu: offset: %zu: source: %zu: %s\n"
l_.str.1: ; @.str.1
.asciz "unexpected invalid character treatment"
l_.str.2: ; @.str.2
.asciz "tab in data"
l_.str.3: ; @.str.3
.asciz "carriage return in data"
l_.str.4: ; @.str.4
.asciz "unexpected tab"
l_.str.5: ; @.str.5
.asciz "unexpected state"
l_.str.6: ; @.str.6
.asciz "unexpected backslash"
l_.str.7: ; @.str.7
.asciz "unexpected double quote"
l_.str.8: ; @.str.8
.asciz "unexpected comma"
l_.str.9: ; @.str.9
.asciz "newline in data"
l_.str.10: ; @.str.10
.asciz "unexpected carriage return"
l_.str.11: ; @.str.11
.asciz "unescaped double quote"
l_.str.12: ; @.str.12
.asciz "unterminated double quote"
l_.str.13: ; @.str.13
.asciz "error reading input stream"
.section __DATA,__data
.p2align 3 ; @main.long_opts
_main.long_opts:
.quad l_.str.14
.long 0 ; 0x0
.space 4
.quad 0
.long 101 ; 0x65
.space 4
.quad l_.str.15
.long 0 ; 0x0
.space 4
.quad 0
.long 114 ; 0x72
.space 4
.quad l_.str.16
.long 0 ; 0x0
.space 4
.quad 0
.long 120 ; 0x78
.space 4
.space 32
.section __TEXT,__cstring,cstring_literals
l_.str.14: ; @.str.14
.asciz "escape"
l_.str.15: ; @.str.15
.asciz "replace"
l_.str.16: ; @.str.16
.asciz "strip"
l_.str.17: ; @.str.17
.space 1
l_.str.18: ; @.str.18
.asciz "dert:x"
l_.str.19: ; @.str.19
.asciz "unexpected arg: %d\n"
l_.str.20: ; @.str.20
.asciz "r"
l_.str.21: ; @.str.21
.asciz "error opening %s: %s\n"
l_.str.22: ; @.str.22
.asciz "USAGE: csv-to-tab [--escape|--strip|--replace] [PATH]\n"
.subsections_via_symbols
| the_stack_data/161081009.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function is_ignored_file
_is_ignored_file: ## @is_ignored_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
leaq L_.str(%rip), %rdx
callq _str_ends_with
movl $1, %r15d
testq %rax, %rax
jne LBB0_3
## %bb.1:
leaq L_.str.1(%rip), %rdx
movq %rbx, %rdi
movl %r14d, %esi
callq _str_ends_with
testq %rax, %rax
jne LBB0_3
## %bb.2:
leaq L_.str.2(%rip), %rdx
movq %rbx, %rdi
movl %r14d, %esi
callq _str_ends_with
xorl %r15d, %r15d
testq %rax, %rax
setne %r15b
LBB0_3:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "include/generated/autoconf.h"
L_.str.1: ## @.str.1
.asciz "include/generated/autoksyms.h"
L_.str.2: ## @.str.2
.asciz ".ver"
.no_dead_strip _is_ignored_file
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function is_ignored_file
_is_ignored_file: ; @is_ignored_file
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
bl _str_ends_with
cbnz x0, LBB0_2
; %bb.1:
Lloh2:
adrp x2, l_.str.1@PAGE
Lloh3:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x20
mov x1, x19
bl _str_ends_with
cbz x0, LBB0_4
LBB0_2:
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
Lloh4:
adrp x2, l_.str.2@PAGE
Lloh5:
add x2, x2, l_.str.2@PAGEOFF
mov x0, x20
mov x1, x19
bl _str_ends_with
cmp x0, #0
cset w0, ne
b LBB0_3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "include/generated/autoconf.h"
l_.str.1: ; @.str.1
.asciz "include/generated/autoksyms.h"
l_.str.2: ; @.str.2
.asciz ".ver"
.no_dead_strip _is_ignored_file
.subsections_via_symbols
| AnghaBench/linux/scripts/basic/extr_fixdep.c_is_ignored_file.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %r14
xorl %r15d, %r15d
leaq -80(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
leaq -76(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
leaq -72(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
leaq -68(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
leaq -64(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
leaq -60(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
leaq -56(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
leaq -52(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
leaq -48(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
leaq -44(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
movl $9, %eax
jmp LBB0_1
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
incq %r15
decq %rax
cmpl $9, %r15d
je LBB0_15
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movl -80(%rbp), %ebx
cmpq $8, %r15
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
xorl %esi, %esi
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
testb $1, %al
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movl -76(%rbp,%rsi,4), %ecx
cmpl %ecx, %ebx
jle LBB0_14
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movl %ecx, -80(%rbp,%rsi,4)
movl %ebx, -76(%rbp,%rsi,4)
jmp LBB0_14
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %rdx
andq $-2, %rdx
xorl %edi, %edi
jmp LBB0_4
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_4 Depth=2
movl %ecx, -76(%rbp,%rdi,4)
movl %ebx, -72(%rbp,%rdi,4)
LBB0_10: ## in Loop: Header=BB0_4 Depth=2
movq %rsi, %rdi
cmpq %rsi, %rdx
je LBB0_11
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -76(%rbp,%rdi,4), %esi
cmpl %esi, %ebx
jle LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
movl %esi, -80(%rbp,%rdi,4)
movl %ebx, -76(%rbp,%rdi,4)
jmp LBB0_7
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_4 Depth=2
movl %esi, %ebx
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
leaq 2(%rdi), %rsi
movl -72(%rbp,%rdi,4), %ecx
cmpl %ecx, %ebx
jg LBB0_9
## %bb.8: ## in Loop: Header=BB0_4 Depth=2
movl %ecx, %ebx
jmp LBB0_10
LBB0_15:
movl -48(%rbp), %esi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_17
## %bb.16:
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Second largest element is : %d\n"
L_str: ## @str
.asciz "Enter 10 elements"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
add x20, sp, #16
str x20, [sp]
Lloh5:
adrp x19, l_.str.1@PAGE
Lloh6:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
add x8, x20, #4
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #8
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #12
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #16
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #20
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #24
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #28
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #32
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #36
str x8, [sp]
mov x0, x19
bl _scanf
ldp w9, w8, [sp, #16]
cmp w9, w8
b.le LBB0_2
; %bb.1:
stp w8, w9, [sp, #16]
mov x8, x9
LBB0_2:
ldr w9, [sp, #24]
cmp w8, w9
b.le LBB0_4
; %bb.3:
stp w9, w8, [sp, #20]
b LBB0_5
LBB0_4:
mov x8, x9
LBB0_5:
ldr w9, [sp, #28]
cmp w8, w9
b.le LBB0_7
; %bb.6:
stp w9, w8, [sp, #24]
b LBB0_8
LBB0_7:
mov x8, x9
LBB0_8:
ldr w9, [sp, #32]
cmp w8, w9
b.le LBB0_10
; %bb.9:
stp w9, w8, [sp, #28]
b LBB0_11
LBB0_10:
mov x8, x9
LBB0_11:
ldr w9, [sp, #36]
cmp w8, w9
b.le LBB0_13
; %bb.12:
stp w9, w8, [sp, #32]
b LBB0_14
LBB0_13:
mov x8, x9
LBB0_14:
ldr w9, [sp, #40]
cmp w8, w9
b.le LBB0_16
; %bb.15:
stp w9, w8, [sp, #36]
b LBB0_17
LBB0_16:
mov x8, x9
LBB0_17:
ldr w9, [sp, #44]
cmp w8, w9
b.le LBB0_19
; %bb.18:
stp w9, w8, [sp, #40]
b LBB0_20
LBB0_19:
mov x8, x9
LBB0_20:
ldr w9, [sp, #48]
cmp w8, w9
b.le LBB0_22
; %bb.21:
stp w9, w8, [sp, #44]
b LBB0_23
LBB0_22:
mov x8, x9
LBB0_23:
ldr w9, [sp, #52]
cmp w8, w9
b.le LBB0_25
; %bb.24:
stp w9, w8, [sp, #48]
LBB0_25:
ldp w9, w8, [sp, #16]
cmp w9, w8
b.le LBB0_27
; %bb.26:
stp w8, w9, [sp, #16]
mov x8, x9
LBB0_27:
ldr w9, [sp, #24]
cmp w8, w9
b.le LBB0_29
; %bb.28:
stp w9, w8, [sp, #20]
b LBB0_30
LBB0_29:
mov x8, x9
LBB0_30:
ldr w9, [sp, #28]
cmp w8, w9
b.le LBB0_32
; %bb.31:
stp w9, w8, [sp, #24]
b LBB0_33
LBB0_32:
mov x8, x9
LBB0_33:
ldr w9, [sp, #32]
cmp w8, w9
b.le LBB0_35
; %bb.34:
stp w9, w8, [sp, #28]
b LBB0_36
LBB0_35:
mov x8, x9
LBB0_36:
ldr w9, [sp, #36]
cmp w8, w9
b.le LBB0_38
; %bb.37:
stp w9, w8, [sp, #32]
b LBB0_39
LBB0_38:
mov x8, x9
LBB0_39:
ldr w9, [sp, #40]
cmp w8, w9
b.le LBB0_41
; %bb.40:
stp w9, w8, [sp, #36]
b LBB0_42
LBB0_41:
mov x8, x9
LBB0_42:
ldr w9, [sp, #44]
cmp w8, w9
b.le LBB0_44
; %bb.43:
stp w9, w8, [sp, #40]
b LBB0_45
LBB0_44:
mov x8, x9
LBB0_45:
ldr w9, [sp, #48]
cmp w8, w9
b.le LBB0_47
; %bb.46:
stp w9, w8, [sp, #44]
LBB0_47:
ldp w9, w8, [sp, #16]
cmp w9, w8
b.le LBB0_49
; %bb.48:
stp w8, w9, [sp, #16]
mov x8, x9
LBB0_49:
ldr w9, [sp, #24]
cmp w8, w9
b.le LBB0_51
; %bb.50:
stp w9, w8, [sp, #20]
b LBB0_52
LBB0_51:
mov x8, x9
LBB0_52:
ldr w9, [sp, #28]
cmp w8, w9
b.le LBB0_54
; %bb.53:
stp w9, w8, [sp, #24]
b LBB0_55
LBB0_54:
mov x8, x9
LBB0_55:
ldr w9, [sp, #32]
cmp w8, w9
b.le LBB0_57
; %bb.56:
stp w9, w8, [sp, #28]
b LBB0_58
LBB0_57:
mov x8, x9
LBB0_58:
ldr w9, [sp, #36]
cmp w8, w9
b.le LBB0_60
; %bb.59:
stp w9, w8, [sp, #32]
b LBB0_61
LBB0_60:
mov x8, x9
LBB0_61:
ldr w9, [sp, #40]
cmp w8, w9
b.le LBB0_63
; %bb.62:
stp w9, w8, [sp, #36]
b LBB0_64
LBB0_63:
mov x8, x9
LBB0_64:
ldr w9, [sp, #44]
cmp w8, w9
b.le LBB0_66
; %bb.65:
stp w9, w8, [sp, #40]
LBB0_66:
ldp w9, w8, [sp, #16]
cmp w9, w8
b.le LBB0_68
; %bb.67:
stp w8, w9, [sp, #16]
mov x8, x9
LBB0_68:
ldr w9, [sp, #24]
cmp w8, w9
b.le LBB0_70
; %bb.69:
stp w9, w8, [sp, #20]
b LBB0_71
LBB0_70:
mov x8, x9
LBB0_71:
ldr w9, [sp, #28]
cmp w8, w9
b.le LBB0_73
; %bb.72:
stp w9, w8, [sp, #24]
b LBB0_74
LBB0_73:
mov x8, x9
LBB0_74:
ldr w9, [sp, #32]
cmp w8, w9
b.le LBB0_76
; %bb.75:
stp w9, w8, [sp, #28]
b LBB0_77
LBB0_76:
mov x8, x9
LBB0_77:
ldr w9, [sp, #36]
cmp w8, w9
b.le LBB0_79
; %bb.78:
stp w9, w8, [sp, #32]
b LBB0_80
LBB0_79:
mov x8, x9
LBB0_80:
ldr w9, [sp, #40]
cmp w8, w9
b.le LBB0_82
; %bb.81:
stp w9, w8, [sp, #36]
LBB0_82:
ldp w9, w8, [sp, #16]
cmp w9, w8
b.le LBB0_84
; %bb.83:
stp w8, w9, [sp, #16]
mov x8, x9
LBB0_84:
ldr w9, [sp, #24]
cmp w8, w9
b.le LBB0_86
; %bb.85:
stp w9, w8, [sp, #20]
b LBB0_87
LBB0_86:
mov x8, x9
LBB0_87:
ldr w9, [sp, #28]
cmp w8, w9
b.le LBB0_89
; %bb.88:
stp w9, w8, [sp, #24]
b LBB0_90
LBB0_89:
mov x8, x9
LBB0_90:
ldr w9, [sp, #32]
cmp w8, w9
b.le LBB0_92
; %bb.91:
stp w9, w8, [sp, #28]
b LBB0_93
LBB0_92:
mov x8, x9
LBB0_93:
ldr w9, [sp, #36]
cmp w8, w9
b.le LBB0_95
; %bb.94:
stp w9, w8, [sp, #32]
LBB0_95:
ldp w9, w8, [sp, #16]
cmp w9, w8
b.le LBB0_97
; %bb.96:
stp w8, w9, [sp, #16]
mov x8, x9
LBB0_97:
ldr w9, [sp, #24]
cmp w8, w9
b.le LBB0_99
; %bb.98:
stp w9, w8, [sp, #20]
b LBB0_100
LBB0_99:
mov x8, x9
LBB0_100:
ldr w9, [sp, #28]
cmp w8, w9
b.le LBB0_102
; %bb.101:
stp w9, w8, [sp, #24]
b LBB0_103
LBB0_102:
mov x8, x9
LBB0_103:
ldr w9, [sp, #32]
cmp w8, w9
b.le LBB0_105
; %bb.104:
stp w9, w8, [sp, #28]
LBB0_105:
ldp w9, w8, [sp, #16]
cmp w9, w8
b.le LBB0_107
; %bb.106:
stp w8, w9, [sp, #16]
mov x8, x9
LBB0_107:
ldr w9, [sp, #24]
cmp w8, w9
b.le LBB0_109
; %bb.108:
stp w9, w8, [sp, #20]
b LBB0_110
LBB0_109:
mov x8, x9
LBB0_110:
ldr w9, [sp, #28]
cmp w8, w9
b.le LBB0_112
; %bb.111:
stp w9, w8, [sp, #24]
LBB0_112:
ldp w9, w8, [sp, #16]
cmp w9, w8
b.le LBB0_114
; %bb.113:
stp w8, w9, [sp, #16]
mov x8, x9
LBB0_114:
ldr w9, [sp, #24]
cmp w8, w9
b.le LBB0_116
; %bb.115:
stp w9, w8, [sp, #20]
LBB0_116:
ldp w8, w9, [sp, #16]
cmp w8, w9
b.le LBB0_118
; %bb.117:
stp w9, w8, [sp, #16]
LBB0_118:
ldr w8, [sp, #48]
str x8, [sp]
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x8, [x29, #-24]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_120
; %bb.119:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_120:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Second largest element is : %d\n"
l_str: ; @str
.asciz "Enter 10 elements"
.subsections_via_symbols
| the_stack_data/125140405.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function alloc_flow_table
_alloc_flow_table: ## @alloc_flow_table
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, %r12d
movl %r8d, %r13d
movl %ecx, -48(%rbp) ## 4-byte Spill
movl %edx, -52(%rbp) ## 4-byte Spill
movl %esi, %r14d
movl %edi, %r15d
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $40, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rax, %rbx
movl %r12d, -44(%rbp) ## 4-byte Spill
leaq 36(%rax), %rdi
movq _rhash_fg@GOTPCREL(%rip), %rsi
callq _rhltable_init
testl %eax, %eax
je LBB0_5
## %bb.4:
movl %eax, %r12d
movq %rbx, %rdi
callq _kfree
movl %r12d, %edi
jmp LBB0_2
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %edi, %edi
subl (%rax), %edi
LBB0_2:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERR_PTR ## TAILCALL
LBB0_5:
movl %r15d, (%rbx)
movq _FS_TYPE_FLOW_TABLE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rbx)
movl %r13d, 4(%rbx)
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, 8(%rbx)
movl %r14d, 28(%rbx)
movl -52(%rbp), %eax ## 4-byte Reload
movl %eax, 12(%rbx)
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, 24(%rbx)
leaq 20(%rbx), %rdi
callq _INIT_LIST_HEAD
movq %rbx, %rdi
addq $16, %rdi
callq _mutex_init
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _rhash_fg,4,2 ## @rhash_fg
.comm _FS_TYPE_FLOW_TABLE,4,2 ## @FS_TYPE_FLOW_TABLE
.no_dead_strip _alloc_flow_table
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function alloc_flow_table
_alloc_flow_table: ; @alloc_flow_table
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x5
mov x24, x4
mov x23, x3
mov x21, x2
mov x22, x1
mov x25, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #40
bl _kzalloc
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
add x0, x0, #36
Lloh3:
adrp x1, _rhash_fg@GOTPAGE
Lloh4:
ldr x1, [x1, _rhash_fg@GOTPAGEOFF]
bl _rhltable_init
cbz w0, LBB0_5
; %bb.2:
mov x26, x0
mov x0, x19
bl _kfree
mov x0, x26
b LBB0_4
LBB0_3:
Lloh5:
adrp x8, _ENOMEM@GOTPAGE
Lloh6:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w0, w8
LBB0_4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _ERR_PTR
LBB0_5:
Lloh8:
adrp x8, _FS_TYPE_FLOW_TABLE@GOTPAGE
Lloh9:
ldr x8, [x8, _FS_TYPE_FLOW_TABLE@GOTPAGEOFF]
stp w25, w24, [x19]
Lloh10:
ldr w8, [x8]
stp w22, w8, [x19, #28]
stp w23, w21, [x19, #8]
str w20, [x19, #24]
add x0, x19, #20
bl _INIT_LIST_HEAD
add x0, x19, #16
bl _mutex_init
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _rhash_fg,4,2 ; @rhash_fg
.comm _FS_TYPE_FLOW_TABLE,4,2 ; @FS_TYPE_FLOW_TABLE
.no_dead_strip _alloc_flow_table
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_fs_core.c_alloc_flow_table.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iwn_free_kw
_iwn_free_kw: ## @iwn_free_kw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _iwn_dma_contig_free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _iwn_free_kw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iwn_free_kw
_iwn_free_kw: ; @iwn_free_kw
.cfi_startproc
; %bb.0:
b _iwn_dma_contig_free
.cfi_endproc
; -- End function
.no_dead_strip _iwn_free_kw
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/iwn/extr_if_iwn.c_iwn_free_kw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function convert_to_hw_box
_convert_to_hw_box: ## @convert_to_hw_box
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movl 20(%rsi), %edi
callq _cpu_to_le32
movq %rax, 40(%r14)
movl 16(%rbx), %edi
callq _cpu_to_le32
movq %rax, 32(%r14)
movl 12(%rbx), %edi
callq _cpu_to_le32
movq %rax, 24(%r14)
movl 8(%rbx), %edi
callq _cpu_to_le32
movq %rax, 16(%r14)
movl 4(%rbx), %edi
callq _cpu_to_le32
movq %rax, 8(%r14)
movl (%rbx), %edi
callq _cpu_to_le32
movq %rax, (%r14)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _convert_to_hw_box
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function convert_to_hw_box
_convert_to_hw_box: ; @convert_to_hw_box
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
ldr w0, [x1, #20]
bl _cpu_to_le32
str x0, [x20, #40]
ldr w0, [x19, #16]
bl _cpu_to_le32
str x0, [x20, #32]
ldr w0, [x19, #12]
bl _cpu_to_le32
str x0, [x20, #24]
ldr w0, [x19, #8]
bl _cpu_to_le32
str x0, [x20, #16]
ldr w0, [x19, #4]
bl _cpu_to_le32
str x0, [x20, #8]
ldr w0, [x19]
bl _cpu_to_le32
str x0, [x20]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _convert_to_hw_box
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/virtio/extr_virtgpu_ioctl.c_convert_to_hw_box.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function smtp_parse_url_path
_smtp_parse_url_path: ## @smtp_parse_url_path
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq (%rdi), %r15
movq (%r15), %r12
movq _HOSTNAME_MAX@GOTPCREL(%rip), %rax
movl (%rax), %ebx
incl %ebx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
cmpb $0, 1(%r12)
je LBB0_2
## %bb.1:
incq %r12
jmp LBB0_3
LBB0_2:
movq %r13, %rdi
movl %ebx, %esi
callq _Curl_gethostname
testl %eax, %eax
leaq L_.str(%rip), %r12
cmoveq %r13, %r12
movq (%r14), %r15
LBB0_3:
addq $8, %r14
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movq %r15, %rdi
movq %r12, %rsi
xorl %edx, %edx
movq %r14, %rcx
xorl %r8d, %r8d
callq _Curl_urldecode
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_5
## %bb.4:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _HOSTNAME_MAX,4,2 ## @HOSTNAME_MAX
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "localhost"
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _smtp_parse_url_path
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function smtp_parse_url_path
_smtp_parse_url_path: ; @smtp_parse_url_path
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
sub sp, sp, #16
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
ldr x0, [x0]
ldr x1, [x0]
Lloh3:
adrp x8, _HOSTNAME_MAX@GOTPAGE
Lloh4:
ldr x8, [x8, _HOSTNAME_MAX@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
add w8, w8, #1
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x10, x8, #15
and x10, x10, #0x1fffffff0
sub x20, x9, x10
mov sp, x20
ldrb w9, [x1, #1]!
cbnz w9, LBB0_2
; %bb.1:
mov x0, x20
mov x1, x8
bl _Curl_gethostname
Lloh8:
adrp x8, l_.str@PAGE
Lloh9:
add x8, x8, l_.str@PAGEOFF
cmp w0, #0
csel x1, x20, x8, eq
ldr x0, [x19]
LBB0_2:
add x3, x19, #8
Lloh10:
adrp x8, _TRUE@GOTPAGE
Lloh11:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh12:
ldr w5, [x8]
mov w2, #0
mov x4, #0
bl _Curl_urldecode
ldur x8, [x29, #-24]
Lloh13:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_4
; %bb.3:
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _HOSTNAME_MAX,4,2 ; @HOSTNAME_MAX
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "localhost"
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _smtp_parse_url_path
.subsections_via_symbols
| AnghaBench/curl/lib/extr_smtp.c_smtp_parse_url_path.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_visualizer_layer_and_color
_get_visualizer_layer_and_color: ## @get_visualizer_layer_and_color
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl 16(%rdi), %eax
testl $1024, %eax ## imm = 0x400
jne LBB0_1
## %bb.2:
testl $512, %eax ## imm = 0x200
jne LBB0_3
## %bb.4:
testl $256, %eax ## imm = 0x100
jne LBB0_5
## %bb.7:
testb $-128, %al
jne LBB0_8
## %bb.9:
testb $64, %al
jne LBB0_10
## %bb.11:
testb $32, %al
jne LBB0_12
## %bb.13:
testb $8, %al
jne LBB0_14
## %bb.15:
testb $4, %al
jne LBB0_16
## %bb.17:
testb $2, %al
jne LBB0_18
## %bb.20:
movq _YELLOW@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $255, %esi
movl $255, %edx
callq _LCD_COLOR
movq %rax, 8(%rbx)
leaq L_.str.9(%rip), %rax
movq %rax, (%rbx)
movq _led_test_animation@GOTPCREL(%rip), %rdi
callq _stop_keyframe_animation
movq _Fade_in_all_leds@GOTPCREL(%rip), %rdi
jmp LBB0_6
LBB0_1:
movq _OCEAN@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $255, %esi
movl $255, %edx
callq _LCD_COLOR
movq %rax, 8(%rbx)
leaq L_.str(%rip), %rax
jmp LBB0_19
LBB0_3:
movq _GREEN@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $255, %esi
movl $255, %edx
callq _LCD_COLOR
movq %rax, 8(%rbx)
leaq L_.str.1(%rip), %rax
LBB0_19:
movq %rax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_5:
movq _MAGENTA@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $255, %esi
movl $255, %edx
callq _LCD_COLOR
movq %rax, 8(%rbx)
leaq L_.str.2(%rip), %rax
movq %rax, (%rbx)
movq _sweep_on_sweep_off_left_and_right@GOTPCREL(%rip), %rdi
callq _stop_keyframe_animation
movq _led_test_animation@GOTPCREL(%rip), %rdi
LBB0_6:
addq $8, %rsp
popq %rbx
popq %rbp
jmp _start_keyframe_animation ## TAILCALL
LBB0_8:
movq _VIOLET@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $255, %esi
movl $255, %edx
callq _LCD_COLOR
movq %rax, 8(%rbx)
leaq L_.str.3(%rip), %rax
jmp LBB0_19
LBB0_10:
movq _RASPBERRY@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $255, %esi
movl $255, %edx
callq _LCD_COLOR
movq %rax, 8(%rbx)
leaq L_.str.4(%rip), %rax
jmp LBB0_19
LBB0_12:
movq _RED@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $255, %esi
movl $255, %edx
callq _LCD_COLOR
movq %rax, 8(%rbx)
leaq L_.str.5(%rip), %rax
jmp LBB0_19
LBB0_14:
movq _OCEAN@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $255, %esi
movl $255, %edx
callq _LCD_COLOR
movq %rax, 8(%rbx)
leaq L_.str.6(%rip), %rax
jmp LBB0_19
LBB0_16:
movq _BLUE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $255, %esi
movl $255, %edx
callq _LCD_COLOR
movq %rax, 8(%rbx)
leaq L_.str.7(%rip), %rax
movq %rax, (%rbx)
movq _led_test_animation@GOTPCREL(%rip), %rdi
callq _stop_keyframe_animation
movq _sweep_on_sweep_off_left_and_right@GOTPCREL(%rip), %rdi
jmp LBB0_6
LBB0_18:
movq _ORANGE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $255, %esi
movl $255, %edx
callq _LCD_COLOR
movq %rax, 8(%rbx)
leaq L_.str.8(%rip), %rax
jmp LBB0_19
.cfi_endproc
## -- End function
.comm _OCEAN,4,2 ## @OCEAN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "STENOGRAPHY"
.comm _GREEN,4,2 ## @GREEN
L_.str.1: ## @.str.1
.asciz "FUNCTION"
.comm _MAGENTA,4,2 ## @MAGENTA
L_.str.2: ## @.str.2
.asciz "Shortcuts Layer"
.comm _sweep_on_sweep_off_left_and_right,4,2 ## @sweep_on_sweep_off_left_and_right
.comm _led_test_animation,4,2 ## @led_test_animation
.comm _VIOLET,4,2 ## @VIOLET
L_.str.3: ## @.str.3
.asciz "Plover"
.comm _RASPBERRY,4,2 ## @RASPBERRY
L_.str.4: ## @.str.4
.asciz "Mirrored Symbols"
.comm _RED,4,2 ## @RED
L_.str.5: ## @.str.5
.asciz "Symbols"
L_.str.6: ## @.str.6
.asciz "Mirrored Dvorak"
.comm _BLUE,4,2 ## @BLUE
L_.str.7: ## @.str.7
.asciz "Dvorak"
.comm _ORANGE,4,2 ## @ORANGE
L_.str.8: ## @.str.8
.asciz "Mirrored Qwerty"
.comm _YELLOW,4,2 ## @YELLOW
L_.str.9: ## @.str.9
.asciz "Qwerty"
.comm _Fade_in_all_leds,4,2 ## @Fade_in_all_leds
.no_dead_strip _get_visualizer_layer_and_color
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_visualizer_layer_and_color
_get_visualizer_layer_and_color: ; @get_visualizer_layer_and_color
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0, #16]
tbnz w8, #10, LBB0_10
; %bb.1:
tbnz w8, #9, LBB0_11
; %bb.2:
tbnz w8, #8, LBB0_13
; %bb.3:
tbnz w8, #7, LBB0_15
; %bb.4:
tbnz w8, #6, LBB0_16
; %bb.5:
tbnz w8, #5, LBB0_17
; %bb.6:
tbnz w8, #3, LBB0_18
; %bb.7:
tbnz w8, #2, LBB0_19
; %bb.8:
tbnz w8, #1, LBB0_20
; %bb.9:
Lloh0:
adrp x8, _YELLOW@GOTPAGE
Lloh1:
ldr x8, [x8, _YELLOW@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w1, #255
mov w2, #255
bl _LCD_COLOR
Lloh3:
adrp x8, l_.str.9@PAGE
Lloh4:
add x8, x8, l_.str.9@PAGEOFF
stp x8, x0, [x19]
Lloh5:
adrp x0, _led_test_animation@GOTPAGE
Lloh6:
ldr x0, [x0, _led_test_animation@GOTPAGEOFF]
bl _stop_keyframe_animation
Lloh7:
adrp x0, _Fade_in_all_leds@GOTPAGE
Lloh8:
ldr x0, [x0, _Fade_in_all_leds@GOTPAGEOFF]
b LBB0_14
LBB0_10:
Lloh9:
adrp x8, _OCEAN@GOTPAGE
Lloh10:
ldr x8, [x8, _OCEAN@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
mov w1, #255
mov w2, #255
bl _LCD_COLOR
Lloh12:
adrp x8, l_.str@PAGE
Lloh13:
add x8, x8, l_.str@PAGEOFF
b LBB0_12
LBB0_11:
Lloh14:
adrp x8, _GREEN@GOTPAGE
Lloh15:
ldr x8, [x8, _GREEN@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
mov w1, #255
mov w2, #255
bl _LCD_COLOR
Lloh17:
adrp x8, l_.str.1@PAGE
Lloh18:
add x8, x8, l_.str.1@PAGEOFF
LBB0_12:
stp x8, x0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_13:
Lloh19:
adrp x8, _MAGENTA@GOTPAGE
Lloh20:
ldr x8, [x8, _MAGENTA@GOTPAGEOFF]
Lloh21:
ldr w0, [x8]
mov w1, #255
mov w2, #255
bl _LCD_COLOR
Lloh22:
adrp x8, l_.str.2@PAGE
Lloh23:
add x8, x8, l_.str.2@PAGEOFF
stp x8, x0, [x19]
Lloh24:
adrp x0, _sweep_on_sweep_off_left_and_right@GOTPAGE
Lloh25:
ldr x0, [x0, _sweep_on_sweep_off_left_and_right@GOTPAGEOFF]
bl _stop_keyframe_animation
Lloh26:
adrp x0, _led_test_animation@GOTPAGE
Lloh27:
ldr x0, [x0, _led_test_animation@GOTPAGEOFF]
LBB0_14:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _start_keyframe_animation
LBB0_15:
Lloh28:
adrp x8, _VIOLET@GOTPAGE
Lloh29:
ldr x8, [x8, _VIOLET@GOTPAGEOFF]
Lloh30:
ldr w0, [x8]
mov w1, #255
mov w2, #255
bl _LCD_COLOR
Lloh31:
adrp x8, l_.str.3@PAGE
Lloh32:
add x8, x8, l_.str.3@PAGEOFF
b LBB0_12
LBB0_16:
Lloh33:
adrp x8, _RASPBERRY@GOTPAGE
Lloh34:
ldr x8, [x8, _RASPBERRY@GOTPAGEOFF]
Lloh35:
ldr w0, [x8]
mov w1, #255
mov w2, #255
bl _LCD_COLOR
Lloh36:
adrp x8, l_.str.4@PAGE
Lloh37:
add x8, x8, l_.str.4@PAGEOFF
b LBB0_12
LBB0_17:
Lloh38:
adrp x8, _RED@GOTPAGE
Lloh39:
ldr x8, [x8, _RED@GOTPAGEOFF]
Lloh40:
ldr w0, [x8]
mov w1, #255
mov w2, #255
bl _LCD_COLOR
Lloh41:
adrp x8, l_.str.5@PAGE
Lloh42:
add x8, x8, l_.str.5@PAGEOFF
b LBB0_12
LBB0_18:
Lloh43:
adrp x8, _OCEAN@GOTPAGE
Lloh44:
ldr x8, [x8, _OCEAN@GOTPAGEOFF]
Lloh45:
ldr w0, [x8]
mov w1, #255
mov w2, #255
bl _LCD_COLOR
Lloh46:
adrp x8, l_.str.6@PAGE
Lloh47:
add x8, x8, l_.str.6@PAGEOFF
b LBB0_12
LBB0_19:
Lloh48:
adrp x8, _BLUE@GOTPAGE
Lloh49:
ldr x8, [x8, _BLUE@GOTPAGEOFF]
Lloh50:
ldr w0, [x8]
mov w1, #255
mov w2, #255
bl _LCD_COLOR
Lloh51:
adrp x8, l_.str.7@PAGE
Lloh52:
add x8, x8, l_.str.7@PAGEOFF
stp x8, x0, [x19]
Lloh53:
adrp x0, _led_test_animation@GOTPAGE
Lloh54:
ldr x0, [x0, _led_test_animation@GOTPAGEOFF]
bl _stop_keyframe_animation
Lloh55:
adrp x0, _sweep_on_sweep_off_left_and_right@GOTPAGE
Lloh56:
ldr x0, [x0, _sweep_on_sweep_off_left_and_right@GOTPAGEOFF]
b LBB0_14
LBB0_20:
Lloh57:
adrp x8, _ORANGE@GOTPAGE
Lloh58:
ldr x8, [x8, _ORANGE@GOTPAGEOFF]
Lloh59:
ldr w0, [x8]
mov w1, #255
mov w2, #255
bl _LCD_COLOR
Lloh60:
adrp x8, l_.str.8@PAGE
Lloh61:
add x8, x8, l_.str.8@PAGEOFF
b LBB0_12
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGot Lloh55, Lloh56
.loh AdrpLdrGot Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.cfi_endproc
; -- End function
.comm _OCEAN,4,2 ; @OCEAN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "STENOGRAPHY"
.comm _GREEN,4,2 ; @GREEN
l_.str.1: ; @.str.1
.asciz "FUNCTION"
.comm _MAGENTA,4,2 ; @MAGENTA
l_.str.2: ; @.str.2
.asciz "Shortcuts Layer"
.comm _sweep_on_sweep_off_left_and_right,4,2 ; @sweep_on_sweep_off_left_and_right
.comm _led_test_animation,4,2 ; @led_test_animation
.comm _VIOLET,4,2 ; @VIOLET
l_.str.3: ; @.str.3
.asciz "Plover"
.comm _RASPBERRY,4,2 ; @RASPBERRY
l_.str.4: ; @.str.4
.asciz "Mirrored Symbols"
.comm _RED,4,2 ; @RED
l_.str.5: ; @.str.5
.asciz "Symbols"
l_.str.6: ; @.str.6
.asciz "Mirrored Dvorak"
.comm _BLUE,4,2 ; @BLUE
l_.str.7: ; @.str.7
.asciz "Dvorak"
.comm _ORANGE,4,2 ; @ORANGE
l_.str.8: ; @.str.8
.asciz "Mirrored Qwerty"
.comm _YELLOW,4,2 ; @YELLOW
l_.str.9: ; @.str.9
.asciz "Qwerty"
.comm _Fade_in_all_leds,4,2 ; @Fade_in_all_leds
.no_dead_strip _get_visualizer_layer_and_color
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/ergodox_infinity/keymaps/halfkeyboard/extr_visualizer.c_get_visualizer_layer_and_color.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _read ## -- Begin function read
.p2align 4, 0x90
_read: ## @read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, %r14
movq _ram@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl $20, %esi
movq %r14, %rdx
callq _fgets
addq $20, %rbx
testq %rax, %rax
jne LBB0_1
## %bb.2:
movq _ram@GOTPCREL(%rip), %r15
movq %r15, %rdi
callq _strlen
movabsq $36528455681, %rbx ## imm = 0x881440001
testq %rax, %rax
je LBB0_27
## %bb.3:
leaq -1(%rax), %rcx
movl %eax, %edi
andl $3, %edi
cmpq $3, %rcx
jae LBB0_5
## %bb.4:
xorl %edx, %edx
xorl %esi, %esi
LBB0_19:
testq %rdi, %rdi
je LBB0_25
## %bb.20:
addq _ram@GOTPCREL(%rip), %rdx
xorl %eax, %eax
jmp LBB0_21
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_21 Depth=1
incq %rax
cmpq %rax, %rdi
je LBB0_25
LBB0_21: ## =>This Inner Loop Header: Depth=1
movzbl (%rdx,%rax), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_24
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_24
## %bb.23: ## in Loop: Header=BB0_21 Depth=1
incl %esi
jmp LBB0_24
LBB0_25:
cmpl $6, %esi
jne LBB0_27
## %bb.26:
movups L_.str.2(%rip), %xmm0
movaps %xmm0, (%r15)
movb $0, 16(%r15)
LBB0_27:
leaq 20(%r15), %rdi
callq _strlen
testq %rax, %rax
je LBB0_52
## %bb.28:
leaq -1(%rax), %rcx
movl %eax, %edi
andl $3, %edi
cmpq $3, %rcx
jae LBB0_30
## %bb.29:
xorl %esi, %esi
xorl %edx, %edx
LBB0_44:
testq %rdi, %rdi
je LBB0_50
## %bb.45:
leaq (%r15,%rsi), %rax
addq $20, %rax
xorl %esi, %esi
jmp LBB0_46
.p2align 4, 0x90
LBB0_49: ## in Loop: Header=BB0_46 Depth=1
incq %rsi
cmpq %rsi, %rdi
je LBB0_50
LBB0_46: ## =>This Inner Loop Header: Depth=1
movzbl (%rax,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_49
## %bb.47: ## in Loop: Header=BB0_46 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_49
## %bb.48: ## in Loop: Header=BB0_46 Depth=1
incl %edx
jmp LBB0_49
LBB0_50:
cmpl $6, %edx
jne LBB0_52
## %bb.51:
movups L_.str.2(%rip), %xmm0
movups %xmm0, 20(%r15)
movb $0, 36(%r15)
LBB0_52:
leaq 40(%r15), %rdi
callq _strlen
testq %rax, %rax
je LBB0_77
## %bb.53:
leaq -1(%rax), %rcx
movl %eax, %edi
andl $3, %edi
cmpq $3, %rcx
jae LBB0_55
## %bb.54:
xorl %esi, %esi
xorl %edx, %edx
LBB0_69:
testq %rdi, %rdi
je LBB0_75
## %bb.70:
leaq (%r15,%rsi), %rax
addq $40, %rax
xorl %esi, %esi
jmp LBB0_71
.p2align 4, 0x90
LBB0_74: ## in Loop: Header=BB0_71 Depth=1
incq %rsi
cmpq %rsi, %rdi
je LBB0_75
LBB0_71: ## =>This Inner Loop Header: Depth=1
movzbl (%rax,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_74
## %bb.72: ## in Loop: Header=BB0_71 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_74
## %bb.73: ## in Loop: Header=BB0_71 Depth=1
incl %edx
jmp LBB0_74
LBB0_75:
cmpl $6, %edx
jne LBB0_77
## %bb.76:
movups L_.str.2(%rip), %xmm0
movups %xmm0, 40(%r15)
movb $0, 56(%r15)
LBB0_77:
leaq 60(%r15), %rdi
callq _strlen
testq %rax, %rax
je LBB0_102
## %bb.78:
leaq -1(%rax), %rcx
movl %eax, %edi
andl $3, %edi
cmpq $3, %rcx
jae LBB0_80
## %bb.79:
xorl %esi, %esi
xorl %edx, %edx
LBB0_94:
testq %rdi, %rdi
je LBB0_100
## %bb.95:
leaq (%r15,%rsi), %rax
addq $60, %rax
xorl %esi, %esi
jmp LBB0_96
.p2align 4, 0x90
LBB0_99: ## in Loop: Header=BB0_96 Depth=1
incq %rsi
cmpq %rsi, %rdi
je LBB0_100
LBB0_96: ## =>This Inner Loop Header: Depth=1
movzbl (%rax,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_99
## %bb.97: ## in Loop: Header=BB0_96 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_99
## %bb.98: ## in Loop: Header=BB0_96 Depth=1
incl %edx
jmp LBB0_99
LBB0_100:
cmpl $6, %edx
jne LBB0_102
## %bb.101:
movups L_.str.2(%rip), %xmm0
movups %xmm0, 60(%r15)
movb $0, 76(%r15)
LBB0_102:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _fclose ## TAILCALL
LBB0_5:
andq $-4, %rax
xorl %edx, %edx
xorl %esi, %esi
jmp LBB0_6
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_6 Depth=1
addq $4, %rdx
cmpq %rdx, %rax
je LBB0_19
LBB0_6: ## =>This Inner Loop Header: Depth=1
movzbl (%r15,%rdx), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_9
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
incl %esi
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
movzbl 1(%r15,%rdx), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_12
## %bb.10: ## in Loop: Header=BB0_6 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_12
## %bb.11: ## in Loop: Header=BB0_6 Depth=1
incl %esi
LBB0_12: ## in Loop: Header=BB0_6 Depth=1
movzbl 2(%r15,%rdx), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_15
## %bb.13: ## in Loop: Header=BB0_6 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_15
## %bb.14: ## in Loop: Header=BB0_6 Depth=1
incl %esi
LBB0_15: ## in Loop: Header=BB0_6 Depth=1
movzbl 3(%r15,%rdx), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_18
## %bb.16: ## in Loop: Header=BB0_6 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_18
## %bb.17: ## in Loop: Header=BB0_6 Depth=1
incl %esi
jmp LBB0_18
LBB0_30:
andq $-4, %rax
xorl %esi, %esi
xorl %edx, %edx
jmp LBB0_31
.p2align 4, 0x90
LBB0_43: ## in Loop: Header=BB0_31 Depth=1
addq $4, %rsi
cmpq %rsi, %rax
je LBB0_44
LBB0_31: ## =>This Inner Loop Header: Depth=1
movzbl 20(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_34
## %bb.32: ## in Loop: Header=BB0_31 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_34
## %bb.33: ## in Loop: Header=BB0_31 Depth=1
incl %edx
LBB0_34: ## in Loop: Header=BB0_31 Depth=1
movzbl 21(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_37
## %bb.35: ## in Loop: Header=BB0_31 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_37
## %bb.36: ## in Loop: Header=BB0_31 Depth=1
incl %edx
LBB0_37: ## in Loop: Header=BB0_31 Depth=1
movzbl 22(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_40
## %bb.38: ## in Loop: Header=BB0_31 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_40
## %bb.39: ## in Loop: Header=BB0_31 Depth=1
incl %edx
LBB0_40: ## in Loop: Header=BB0_31 Depth=1
movzbl 23(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_43
## %bb.41: ## in Loop: Header=BB0_31 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_43
## %bb.42: ## in Loop: Header=BB0_31 Depth=1
incl %edx
jmp LBB0_43
LBB0_55:
andq $-4, %rax
xorl %esi, %esi
xorl %edx, %edx
jmp LBB0_56
.p2align 4, 0x90
LBB0_68: ## in Loop: Header=BB0_56 Depth=1
addq $4, %rsi
cmpq %rsi, %rax
je LBB0_69
LBB0_56: ## =>This Inner Loop Header: Depth=1
movzbl 40(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_59
## %bb.57: ## in Loop: Header=BB0_56 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_59
## %bb.58: ## in Loop: Header=BB0_56 Depth=1
incl %edx
LBB0_59: ## in Loop: Header=BB0_56 Depth=1
movzbl 41(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_62
## %bb.60: ## in Loop: Header=BB0_56 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_62
## %bb.61: ## in Loop: Header=BB0_56 Depth=1
incl %edx
LBB0_62: ## in Loop: Header=BB0_56 Depth=1
movzbl 42(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_65
## %bb.63: ## in Loop: Header=BB0_56 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_65
## %bb.64: ## in Loop: Header=BB0_56 Depth=1
incl %edx
LBB0_65: ## in Loop: Header=BB0_56 Depth=1
movzbl 43(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_68
## %bb.66: ## in Loop: Header=BB0_56 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_68
## %bb.67: ## in Loop: Header=BB0_56 Depth=1
incl %edx
jmp LBB0_68
LBB0_80:
andq $-4, %rax
xorl %esi, %esi
xorl %edx, %edx
jmp LBB0_81
.p2align 4, 0x90
LBB0_93: ## in Loop: Header=BB0_81 Depth=1
addq $4, %rsi
cmpq %rsi, %rax
je LBB0_94
LBB0_81: ## =>This Inner Loop Header: Depth=1
movzbl 60(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_84
## %bb.82: ## in Loop: Header=BB0_81 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_84
## %bb.83: ## in Loop: Header=BB0_81 Depth=1
incl %edx
LBB0_84: ## in Loop: Header=BB0_81 Depth=1
movzbl 61(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_87
## %bb.85: ## in Loop: Header=BB0_81 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_87
## %bb.86: ## in Loop: Header=BB0_81 Depth=1
incl %edx
LBB0_87: ## in Loop: Header=BB0_81 Depth=1
movzbl 62(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_90
## %bb.88: ## in Loop: Header=BB0_81 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_90
## %bb.89: ## in Loop: Header=BB0_81 Depth=1
incl %edx
LBB0_90: ## in Loop: Header=BB0_81 Depth=1
movzbl 63(%r15,%rsi), %ecx
addb $-79, %cl
cmpb $35, %cl
ja LBB0_93
## %bb.91: ## in Loop: Header=BB0_81 Depth=1
movzbl %cl, %ecx
btq %rcx, %rbx
jae LBB0_93
## %bb.92: ## in Loop: Header=BB0_81 Depth=1
incl %edx
jmp LBB0_93
.cfi_endproc
## -- End function
.globl _write ## -- Begin function write
.p2align 4, 0x90
_write: ## @write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str.3(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, %r14
movq _ram@GOTPCREL(%rip), %r15
movq %r15, %rdi
callq _strlen
testq %rax, %rax
je LBB1_3
## %bb.1:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r14, %rsi
callq _fputs
incq %rbx
addq $20, %r15
movq %r15, %rdi
callq _strlen
cmpq %rbx, %rax
ja LBB1_2
LBB1_3:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _fclose ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
callq _read
leaq L_.str.3(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, %r14
movq _ram@GOTPCREL(%rip), %r15
movq %r15, %rdi
callq _strlen
testq %rax, %rax
je LBB2_3
## %bb.1:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r14, %rsi
callq _fputs
incq %rbx
addq $20, %r15
movq %r15, %rdi
callq _strlen
cmpq %rbx, %rax
ja LBB2_2
LBB2_3:
movq %r14, %rdi
callq _fclose
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "assets\\ParticalTask4_source.txt"
L_.str.1: ## @.str.1
.asciz "r"
.comm _ram,200,4 ## @ram
L_.str.2: ## @.str.2
.asciz "Orange\t 2.8\n"
L_.str.3: ## @.str.3
.asciz "assets\\ParticalTask4_output.txt"
L_.str.4: ## @.str.4
.asciz "w"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _read ; -- Begin function read
.p2align 2
_read: ; @read
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x19, x0
Lloh4:
adrp x20, _ram@GOTPAGE
Lloh5:
ldr x20, [x20, _ram@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov w1, #20
mov x2, x19
bl _fgets
add x20, x20, #20
cbnz x0, LBB0_1
; %bb.2:
Lloh6:
adrp x20, _ram@GOTPAGE
Lloh7:
ldr x20, [x20, _ram@GOTPAGEOFF]
mov x0, x20
bl _strlen
cbz x0, LBB0_7
; %bb.3:
mov w9, #0
Lloh8:
adrp x8, _ram@GOTPAGE
Lloh9:
ldr x8, [x8, _ram@GOTPAGEOFF]
mov w10, #1
mov x11, #1
movk x11, #33092, lsl #16
movk x11, #8, lsl #32
mov x12, x8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrb w13, [x12], #1
sub w13, w13, #79
cmp w13, #35
lsl x13, x10, x13
and x13, x13, x11
ccmp x13, #0, #4, ls
cinc w9, w9, ne
subs x0, x0, #1
b.ne LBB0_4
; %bb.5:
cmp w9, #6
b.ne LBB0_7
; %bb.6:
strb wzr, [x8, #16]
Lloh10:
adrp x9, l_.str.2@PAGE
Lloh11:
add x9, x9, l_.str.2@PAGEOFF
Lloh12:
ldr q0, [x9]
str q0, [x8]
LBB0_7:
add x21, x20, #20
mov x0, x21
bl _strlen
cbz x0, LBB0_12
; %bb.8:
mov w8, #0
mov w9, #1
mov x10, #1
movk x10, #33092, lsl #16
movk x10, #8, lsl #32
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x21], #1
sub w11, w11, #79
cmp w11, #35
lsl x11, x9, x11
and x11, x11, x10
ccmp x11, #0, #4, ls
cinc w8, w8, ne
subs x0, x0, #1
b.ne LBB0_9
; %bb.10:
cmp w8, #6
b.ne LBB0_12
; %bb.11:
strb wzr, [x20, #36]
Lloh13:
adrp x8, l_.str.2@PAGE
Lloh14:
add x8, x8, l_.str.2@PAGEOFF
Lloh15:
ldr q0, [x8]
stur q0, [x20, #20]
LBB0_12:
add x21, x20, #40
mov x0, x21
bl _strlen
cbz x0, LBB0_17
; %bb.13:
mov w8, #0
mov w9, #1
mov x10, #1
movk x10, #33092, lsl #16
movk x10, #8, lsl #32
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x21], #1
sub w11, w11, #79
cmp w11, #35
lsl x11, x9, x11
and x11, x11, x10
ccmp x11, #0, #4, ls
cinc w8, w8, ne
subs x0, x0, #1
b.ne LBB0_14
; %bb.15:
cmp w8, #6
b.ne LBB0_17
; %bb.16:
strb wzr, [x20, #56]
Lloh16:
adrp x8, l_.str.2@PAGE
Lloh17:
add x8, x8, l_.str.2@PAGEOFF
Lloh18:
ldr q0, [x8]
stur q0, [x20, #40]
LBB0_17:
add x21, x20, #60
mov x0, x21
bl _strlen
cbz x0, LBB0_22
; %bb.18:
mov w8, #0
mov w9, #1
mov x10, #1
movk x10, #33092, lsl #16
movk x10, #8, lsl #32
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x21], #1
sub w11, w11, #79
cmp w11, #35
lsl x11, x9, x11
and x11, x11, x10
ccmp x11, #0, #4, ls
cinc w8, w8, ne
subs x0, x0, #1
b.ne LBB0_19
; %bb.20:
cmp w8, #6
b.ne LBB0_22
; %bb.21:
strb wzr, [x20, #76]
Lloh19:
adrp x8, l_.str.2@PAGE
Lloh20:
add x8, x8, l_.str.2@PAGEOFF
Lloh21:
ldr q0, [x8]
stur q0, [x20, #60]
LBB0_22:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _fclose
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAddLdr Lloh10, Lloh11, Lloh12
.loh AdrpAddLdr Lloh13, Lloh14, Lloh15
.loh AdrpAddLdr Lloh16, Lloh17, Lloh18
.loh AdrpAddLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.globl _write ; -- Begin function write
.p2align 2
_write: ; @write
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh22:
adrp x0, l_.str.3@PAGE
Lloh23:
add x0, x0, l_.str.3@PAGEOFF
Lloh24:
adrp x1, l_.str.4@PAGE
Lloh25:
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
mov x19, x0
Lloh26:
adrp x0, _ram@GOTPAGE
Lloh27:
ldr x0, [x0, _ram@GOTPAGEOFF]
bl _strlen
cbz x0, LBB1_3
; %bb.1:
mov x21, #0
Lloh28:
adrp x20, _ram@GOTPAGE
Lloh29:
ldr x20, [x20, _ram@GOTPAGEOFF]
LBB1_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
bl _fputs
add x21, x21, #1
add x20, x20, #20
mov x0, x20
bl _strlen
cmp x0, x21
b.hi LBB1_2
LBB1_3:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _fclose
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGot Lloh28, Lloh29
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
bl _read
Lloh30:
adrp x0, l_.str.3@PAGE
Lloh31:
add x0, x0, l_.str.3@PAGEOFF
Lloh32:
adrp x1, l_.str.4@PAGE
Lloh33:
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
mov x19, x0
Lloh34:
adrp x0, _ram@GOTPAGE
Lloh35:
ldr x0, [x0, _ram@GOTPAGEOFF]
bl _strlen
cbz x0, LBB2_3
; %bb.1:
mov x21, #0
Lloh36:
adrp x20, _ram@GOTPAGE
Lloh37:
ldr x20, [x20, _ram@GOTPAGEOFF]
LBB2_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
bl _fputs
add x21, x21, #1
add x20, x20, #20
mov x0, x20
bl _strlen
cmp x0, x21
b.hi LBB2_2
LBB2_3:
mov x0, x19
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGot Lloh36, Lloh37
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "assets\\ParticalTask4_source.txt"
l_.str.1: ; @.str.1
.asciz "r"
.comm _ram,200,0 ; @ram
l_.str.2: ; @.str.2
.asciz "Orange\t 2.8\n"
l_.str.3: ; @.str.3
.asciz "assets\\ParticalTask4_output.txt"
l_.str.4: ; @.str.4
.asciz "w"
.subsections_via_symbols
| the_stack_data/97011592.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ctf_getspecific ## -- Begin function ctf_getspecific
.p2align 4, 0x90
_ctf_getspecific: ## @ctf_getspecific
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ctf_getspecific ; -- Begin function ctf_getspecific
.p2align 2
_ctf_getspecific: ; @ctf_getspecific
.cfi_startproc
; %bb.0:
ldr x0, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/cddl/contrib/opensolaris/common/ctf/extr_ctf_open.c_ctf_getspecific.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ads7846_disable
_ads7846_disable: ## @ads7846_disable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
cmpl $0, (%rdi)
jne LBB0_4
## %bb.1:
movq %rdi, %r14
movl $1, (%rdi)
cmpq $0, 16(%rdi)
je LBB0_5
## %bb.2:
leaq 8(%r14), %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _spin_unlock_irq
movl $1, %edi
callq _msleep
movq %rbx, %rdi
callq _spin_lock_irq
cmpq $0, 16(%r14)
jne LBB0_3
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_5:
movl $1, 4(%r14)
movq 24(%r14), %rax
movl (%rax), %edi
popq %rbx
popq %r14
popq %rbp
jmp _disable_irq ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _ads7846_disable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ads7846_disable
_ads7846_disable: ; @ads7846_disable
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr w8, [x0]
cbnz w8, LBB0_4
; %bb.1:
mov x19, x0
mov w8, #1
str w8, [x0]
ldr x9, [x0, #16]
cbz x9, LBB0_5
; %bb.2:
add x20, x19, #8
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _spin_unlock_irq
mov w0, #1
bl _msleep
mov x0, x20
bl _spin_lock_irq
ldr x8, [x19, #16]
cbnz x8, LBB0_3
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_5:
str w8, [x19, #4]
ldr x8, [x19, #24]
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _disable_irq
.cfi_endproc
; -- End function
.no_dead_strip _ads7846_disable
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_ads7846.c_ads7846_disable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function really_cleanup_stream
_really_cleanup_stream: ## @really_cleanup_stream
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movl (%rsi), %r15d
cmpq $0, 24(%rsi)
jne LBB0_2
## %bb.1:
cmpq $0, 16(%rbx)
je LBB0_3
LBB0_2:
movq _AC_VERB_SET_CHANNEL_STREAMID@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl %r15d, %esi
xorl %edx, %edx
xorl %r8d, %r8d
callq _snd_hda_codec_write
LBB0_3:
cmpq $0, 8(%rbx)
je LBB0_5
## %bb.4:
movq _AC_VERB_SET_STREAM_FORMAT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl %r15d, %esi
xorl %edx, %edx
xorl %r8d, %r8d
callq _snd_hda_codec_write
LBB0_5:
movq %rbx, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movl %r15d, (%rbx)
movq (%r14), %rax
testq %rax, %rax
je LBB0_6
## %bb.7:
movq %r14, %rdi
movl %r15d, %esi
xorl %edx, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AC_VERB_SET_CHANNEL_STREAMID,4,2 ## @AC_VERB_SET_CHANNEL_STREAMID
.comm _AC_VERB_SET_STREAM_FORMAT,4,2 ## @AC_VERB_SET_STREAM_FORMAT
.no_dead_strip _really_cleanup_stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function really_cleanup_stream
_really_cleanup_stream: ; @really_cleanup_stream
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x19, x0
ldr w20, [x1]
ldr x8, [x1, #24]
cbnz x8, LBB0_2
; %bb.1:
ldr x8, [x21, #16]
cbz x8, LBB0_3
LBB0_2:
Lloh0:
adrp x8, _AC_VERB_SET_CHANNEL_STREAMID@GOTPAGE
Lloh1:
ldr x8, [x8, _AC_VERB_SET_CHANNEL_STREAMID@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
mov x0, x19
mov x1, x20
mov w2, #0
mov w4, #0
bl _snd_hda_codec_write
LBB0_3:
ldr x8, [x21, #8]
cbz x8, LBB0_5
; %bb.4:
Lloh3:
adrp x8, _AC_VERB_SET_STREAM_FORMAT@GOTPAGE
Lloh4:
ldr x8, [x8, _AC_VERB_SET_STREAM_FORMAT@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
mov x0, x19
mov x1, x20
mov w2, #0
mov w4, #0
bl _snd_hda_codec_write
LBB0_5:
mov x0, x21
mov w1, #0
mov w2, #32
bl _memset
str w20, [x21]
ldr x3, [x19]
cbz x3, LBB0_7
; %bb.6:
mov x0, x19
mov x1, x20
mov w2, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
br x3
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _AC_VERB_SET_CHANNEL_STREAMID,4,2 ; @AC_VERB_SET_CHANNEL_STREAMID
.comm _AC_VERB_SET_STREAM_FORMAT,4,2 ; @AC_VERB_SET_STREAM_FORMAT
.no_dead_strip _really_cleanup_stream
.subsections_via_symbols
| AnghaBench/linux/sound/pci/hda/extr_hda_codec.c_really_cleanup_stream.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function py_invalid_hotkey_id
_py_invalid_hotkey_id: ## @py_invalid_hotkey_id
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _OBS_INVALID_HOTKEY_ID@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _PyLong_FromUnsignedLongLong ## TAILCALL
.cfi_endproc
## -- End function
.comm _OBS_INVALID_HOTKEY_ID,4,2 ## @OBS_INVALID_HOTKEY_ID
.no_dead_strip _py_invalid_hotkey_id
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function py_invalid_hotkey_id
_py_invalid_hotkey_id: ; @py_invalid_hotkey_id
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _OBS_INVALID_HOTKEY_ID@GOTPAGE
Lloh1:
ldr x8, [x8, _OBS_INVALID_HOTKEY_ID@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b _PyLong_FromUnsignedLongLong
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _OBS_INVALID_HOTKEY_ID,4,2 ; @OBS_INVALID_HOTKEY_ID
.no_dead_strip _py_invalid_hotkey_id
.subsections_via_symbols
| AnghaBench/obs-studio/deps/obs-scripting/extr_obs-scripting-python.c_py_invalid_hotkey_id.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Python_Init
_Python_Init: ## @Python_Init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq _initialised@GOTPCREL(%rip), %r14
xorl %ebx, %ebx
cmpl $0, (%r14)
jne LBB0_5
## %bb.1:
xorl %eax, %eax
callq _init_structs
xorl %eax, %eax
callq _Py_Initialize
xorl %eax, %eax
callq _PyEval_InitThreads
xorl %eax, %eax
callq _PythonIO_Init_io
testq %rax, %rax
jne LBB0_4
## %bb.2:
xorl %ebx, %ebx
xorl %eax, %eax
callq _PythonMod_Init
testq %rax, %rax
je LBB0_3
LBB0_4:
xorl %eax, %eax
callq _PythonIO_Flush
movl $-1, %ebx
LBB0_5:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_3:
leaq L_.str(%rip), %rdi
callq _PyImport_AddModule
movl %eax, %edi
callq _PyModule_GetDict
movq _globals@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
leaq L_.str.1(%rip), %rdi
callq _PyRun_SimpleString
xorl %eax, %eax
callq _PyEval_SaveThread
movq _saved_python_thread@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl $1, (%r14)
jmp LBB0_5
.cfi_endproc
## -- End function
.comm _initialised,4,2 ## @initialised
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "__main__"
.comm _globals,4,2 ## @globals
L_.str.1: ## @.str.1
.asciz "import sys; sys.path = filter(lambda x: x != '/must>not&exist', sys.path)"
.comm _saved_python_thread,4,2 ## @saved_python_thread
.comm _PYTHON_HOME,4,2 ## @PYTHON_HOME
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _Python_Init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Python_Init
_Python_Init: ; @Python_Init
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _initialised@GOTPAGE
Lloh1:
ldr x19, [x19, _initialised@GOTPAGEOFF]
ldr w8, [x19]
cbz w8, LBB0_2
; %bb.1:
mov w0, #0
b LBB0_5
LBB0_2:
bl _init_structs
bl _Py_Initialize
bl _PyEval_InitThreads
bl _PythonIO_Init_io
cbnz x0, LBB0_4
; %bb.3:
bl _PythonMod_Init
cbz x0, LBB0_6
LBB0_4:
bl _PythonIO_Flush
mov w0, #-1
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_6:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _PyImport_AddModule
bl _PyModule_GetDict
Lloh4:
adrp x8, _globals@GOTPAGE
Lloh5:
ldr x8, [x8, _globals@GOTPAGEOFF]
Lloh6:
str w0, [x8]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
bl _PyRun_SimpleString
bl _PyEval_SaveThread
mov x8, x0
mov w0, #0
Lloh9:
adrp x9, _saved_python_thread@GOTPAGE
Lloh10:
ldr x9, [x9, _saved_python_thread@GOTPAGEOFF]
Lloh11:
str w8, [x9]
mov w8, #1
str w8, [x19]
b LBB0_5
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _initialised,4,2 ; @initialised
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "__main__"
.comm _globals,4,2 ; @globals
l_.str.1: ; @.str.1
.asciz "import sys; sys.path = filter(lambda x: x != '/must>not&exist', sys.path)"
.comm _saved_python_thread,4,2 ; @saved_python_thread
.comm _PYTHON_HOME,4,2 ; @PYTHON_HOME
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _Python_Init
.subsections_via_symbols
| AnghaBench/vim.js/src/extr_if_python.c_Python_Init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hv_vss_detach
_hv_vss_detach: ## @hv_vss_detach
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %r14d
callq _device_get_softc
movq %rax, %rbx
leaq 24(%rax), %rdi
callq _mtx_destroy
movq 16(%rbx), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _PROC_LOCK
movq 16(%rbx), %rdi
movq _SIGKILL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kern_psignal
movq 16(%rbx), %rdi
callq _PROC_UNLOCK
LBB0_2:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.3:
callq _PROC_LOCK
movq 8(%rbx), %rdi
movq _SIGKILL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kern_psignal
movq 8(%rbx), %rdi
callq _PROC_UNLOCK
LBB0_4:
movl %r14d, %edi
callq _hv_vss_destroy_send_receive_queue
movl 4(%rbx), %edi
callq _destroy_dev
movl (%rbx), %edi
callq _destroy_dev
movl %r14d, %edi
popq %rbx
popq %r14
popq %rbp
jmp _vmbus_ic_detach ## TAILCALL
.cfi_endproc
## -- End function
.comm _SIGKILL,4,2 ## @SIGKILL
.no_dead_strip _hv_vss_detach
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hv_vss_detach
_hv_vss_detach: ; @hv_vss_detach
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _device_get_softc
mov x20, x0
add x0, x0, #24
bl _mtx_destroy
ldr x0, [x20, #16]
Lloh0:
adrp x21, _SIGKILL@GOTPAGE
Lloh1:
ldr x21, [x21, _SIGKILL@GOTPAGEOFF]
cbz x0, LBB0_2
; %bb.1:
bl _PROC_LOCK
ldr x0, [x20, #16]
ldr w1, [x21]
bl _kern_psignal
ldr x0, [x20, #16]
bl _PROC_UNLOCK
LBB0_2:
ldr x0, [x20, #8]
cbz x0, LBB0_4
; %bb.3:
bl _PROC_LOCK
ldr x0, [x20, #8]
ldr w1, [x21]
bl _kern_psignal
ldr x0, [x20, #8]
bl _PROC_UNLOCK
LBB0_4:
mov x0, x19
bl _hv_vss_destroy_send_receive_queue
ldr w0, [x20, #4]
bl _destroy_dev
ldr w0, [x20]
bl _destroy_dev
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _vmbus_ic_detach
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _SIGKILL,4,2 ; @SIGKILL
.no_dead_strip _hv_vss_detach
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/hyperv/utilities/extr_hv_snapshot.c_hv_vss_detach.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function il4965_setup_handlers
_il4965_setup_handlers: ## @il4965_setup_handlers
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq _il4965_hdl_alive@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %rcx
movq _N_ALIVE@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il_hdl_error@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %rcx
movq _N_ERROR@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il_hdl_csa@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %rcx
movq _N_CHANNEL_SWITCH@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il_hdl_spectrum_measurement@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %rcx
movq _N_SPECTRUM_MEASUREMENT@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il_hdl_pm_sleep@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %rcx
movq _N_PM_SLEEP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il_hdl_pm_debug_stats@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %rcx
movq _N_PM_DEBUG_STATS@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il4965_hdl_beacon@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %rcx
movq _N_BEACON@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il4965_hdl_c_stats@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %rcx
movq _C_STATS@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il4965_hdl_stats@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %rcx
movq _N_STATS@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
callq _il_setup_rx_scan_handlers
movq _il4965_hdl_card_state@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rbx), %rcx
movq _N_CARD_STATE@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il4965_hdl_missed_beacon@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rbx), %rcx
movq _N_MISSED_BEACONS@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il4965_hdl_rx_phy@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rbx), %rcx
movq _N_RX_PHY@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il4965_hdl_rx@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%rbx), %rdx
movq _N_RX_MPDU@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
movq %rcx, (%rdx,%rsi,8)
movq (%rax), %rax
movq (%rbx), %rcx
movq _N_RX@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il4965_hdl_compressed_ba@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rbx), %rcx
movq _N_COMPRESSED_BA@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _il4965_hdl_tx@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rbx), %rcx
movq _C_TX@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _il4965_hdl_alive,8,3 ## @il4965_hdl_alive
.comm _N_ALIVE,8,3 ## @N_ALIVE
.comm _il_hdl_error,8,3 ## @il_hdl_error
.comm _N_ERROR,8,3 ## @N_ERROR
.comm _il_hdl_csa,8,3 ## @il_hdl_csa
.comm _N_CHANNEL_SWITCH,8,3 ## @N_CHANNEL_SWITCH
.comm _il_hdl_spectrum_measurement,8,3 ## @il_hdl_spectrum_measurement
.comm _N_SPECTRUM_MEASUREMENT,8,3 ## @N_SPECTRUM_MEASUREMENT
.comm _il_hdl_pm_sleep,8,3 ## @il_hdl_pm_sleep
.comm _N_PM_SLEEP,8,3 ## @N_PM_SLEEP
.comm _il_hdl_pm_debug_stats,8,3 ## @il_hdl_pm_debug_stats
.comm _N_PM_DEBUG_STATS,8,3 ## @N_PM_DEBUG_STATS
.comm _il4965_hdl_beacon,8,3 ## @il4965_hdl_beacon
.comm _N_BEACON,8,3 ## @N_BEACON
.comm _il4965_hdl_c_stats,8,3 ## @il4965_hdl_c_stats
.comm _C_STATS,8,3 ## @C_STATS
.comm _il4965_hdl_stats,8,3 ## @il4965_hdl_stats
.comm _N_STATS,8,3 ## @N_STATS
.comm _il4965_hdl_card_state,8,3 ## @il4965_hdl_card_state
.comm _N_CARD_STATE,8,3 ## @N_CARD_STATE
.comm _il4965_hdl_missed_beacon,8,3 ## @il4965_hdl_missed_beacon
.comm _N_MISSED_BEACONS,8,3 ## @N_MISSED_BEACONS
.comm _il4965_hdl_rx_phy,8,3 ## @il4965_hdl_rx_phy
.comm _N_RX_PHY,8,3 ## @N_RX_PHY
.comm _il4965_hdl_rx,8,3 ## @il4965_hdl_rx
.comm _N_RX_MPDU,8,3 ## @N_RX_MPDU
.comm _N_RX,8,3 ## @N_RX
.comm _il4965_hdl_compressed_ba,8,3 ## @il4965_hdl_compressed_ba
.comm _N_COMPRESSED_BA,8,3 ## @N_COMPRESSED_BA
.comm _il4965_hdl_tx,8,3 ## @il4965_hdl_tx
.comm _C_TX,8,3 ## @C_TX
.no_dead_strip _il4965_setup_handlers
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function il4965_setup_handlers
_il4965_setup_handlers: ; @il4965_setup_handlers
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _il4965_hdl_alive@GOTPAGE
Lloh1:
ldr x8, [x8, _il4965_hdl_alive@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x9, [x0]
Lloh3:
adrp x10, _N_ALIVE@GOTPAGE
Lloh4:
ldr x10, [x10, _N_ALIVE@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh6:
adrp x8, _il_hdl_error@GOTPAGE
Lloh7:
ldr x8, [x8, _il_hdl_error@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
ldr x9, [x0]
Lloh9:
adrp x10, _N_ERROR@GOTPAGE
Lloh10:
ldr x10, [x10, _N_ERROR@GOTPAGEOFF]
Lloh11:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh12:
adrp x8, _il_hdl_csa@GOTPAGE
Lloh13:
ldr x8, [x8, _il_hdl_csa@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
ldr x9, [x0]
Lloh15:
adrp x10, _N_CHANNEL_SWITCH@GOTPAGE
Lloh16:
ldr x10, [x10, _N_CHANNEL_SWITCH@GOTPAGEOFF]
Lloh17:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh18:
adrp x8, _il_hdl_spectrum_measurement@GOTPAGE
Lloh19:
ldr x8, [x8, _il_hdl_spectrum_measurement@GOTPAGEOFF]
Lloh20:
ldr x8, [x8]
ldr x9, [x0]
Lloh21:
adrp x10, _N_SPECTRUM_MEASUREMENT@GOTPAGE
Lloh22:
ldr x10, [x10, _N_SPECTRUM_MEASUREMENT@GOTPAGEOFF]
Lloh23:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh24:
adrp x8, _il_hdl_pm_sleep@GOTPAGE
Lloh25:
ldr x8, [x8, _il_hdl_pm_sleep@GOTPAGEOFF]
Lloh26:
ldr x8, [x8]
ldr x9, [x0]
Lloh27:
adrp x10, _N_PM_SLEEP@GOTPAGE
Lloh28:
ldr x10, [x10, _N_PM_SLEEP@GOTPAGEOFF]
Lloh29:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh30:
adrp x8, _il_hdl_pm_debug_stats@GOTPAGE
Lloh31:
ldr x8, [x8, _il_hdl_pm_debug_stats@GOTPAGEOFF]
Lloh32:
ldr x8, [x8]
ldr x9, [x0]
Lloh33:
adrp x10, _N_PM_DEBUG_STATS@GOTPAGE
Lloh34:
ldr x10, [x10, _N_PM_DEBUG_STATS@GOTPAGEOFF]
Lloh35:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh36:
adrp x8, _il4965_hdl_beacon@GOTPAGE
Lloh37:
ldr x8, [x8, _il4965_hdl_beacon@GOTPAGEOFF]
Lloh38:
ldr x8, [x8]
ldr x9, [x0]
Lloh39:
adrp x10, _N_BEACON@GOTPAGE
Lloh40:
ldr x10, [x10, _N_BEACON@GOTPAGEOFF]
Lloh41:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh42:
adrp x8, _il4965_hdl_c_stats@GOTPAGE
Lloh43:
ldr x8, [x8, _il4965_hdl_c_stats@GOTPAGEOFF]
Lloh44:
ldr x8, [x8]
ldr x9, [x0]
Lloh45:
adrp x10, _C_STATS@GOTPAGE
Lloh46:
ldr x10, [x10, _C_STATS@GOTPAGEOFF]
Lloh47:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh48:
adrp x8, _il4965_hdl_stats@GOTPAGE
Lloh49:
ldr x8, [x8, _il4965_hdl_stats@GOTPAGEOFF]
Lloh50:
ldr x8, [x8]
ldr x9, [x0]
Lloh51:
adrp x10, _N_STATS@GOTPAGE
Lloh52:
ldr x10, [x10, _N_STATS@GOTPAGEOFF]
Lloh53:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
bl _il_setup_rx_scan_handlers
Lloh54:
adrp x8, _il4965_hdl_card_state@GOTPAGE
Lloh55:
ldr x8, [x8, _il4965_hdl_card_state@GOTPAGEOFF]
Lloh56:
ldr x8, [x8]
ldr x9, [x19]
Lloh57:
adrp x10, _N_CARD_STATE@GOTPAGE
Lloh58:
ldr x10, [x10, _N_CARD_STATE@GOTPAGEOFF]
Lloh59:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh60:
adrp x8, _il4965_hdl_missed_beacon@GOTPAGE
Lloh61:
ldr x8, [x8, _il4965_hdl_missed_beacon@GOTPAGEOFF]
Lloh62:
ldr x8, [x8]
Lloh63:
adrp x9, _N_MISSED_BEACONS@GOTPAGE
Lloh64:
ldr x9, [x9, _N_MISSED_BEACONS@GOTPAGEOFF]
ldr x10, [x19]
Lloh65:
ldr x9, [x9]
str x8, [x10, x9, lsl #3]
Lloh66:
adrp x8, _il4965_hdl_rx_phy@GOTPAGE
Lloh67:
ldr x8, [x8, _il4965_hdl_rx_phy@GOTPAGEOFF]
Lloh68:
ldr x8, [x8]
ldr x9, [x19]
Lloh69:
adrp x10, _N_RX_PHY@GOTPAGE
Lloh70:
ldr x10, [x10, _N_RX_PHY@GOTPAGEOFF]
Lloh71:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh72:
adrp x8, _il4965_hdl_rx@GOTPAGE
Lloh73:
ldr x8, [x8, _il4965_hdl_rx@GOTPAGEOFF]
ldr x9, [x8]
ldr x10, [x19]
Lloh74:
adrp x11, _N_RX_MPDU@GOTPAGE
Lloh75:
ldr x11, [x11, _N_RX_MPDU@GOTPAGEOFF]
Lloh76:
ldr x11, [x11]
str x9, [x10, x11, lsl #3]
ldr x8, [x8]
ldr x9, [x19]
Lloh77:
adrp x10, _N_RX@GOTPAGE
Lloh78:
ldr x10, [x10, _N_RX@GOTPAGEOFF]
Lloh79:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh80:
adrp x8, _il4965_hdl_compressed_ba@GOTPAGE
Lloh81:
ldr x8, [x8, _il4965_hdl_compressed_ba@GOTPAGEOFF]
Lloh82:
ldr x8, [x8]
ldr x9, [x19]
Lloh83:
adrp x10, _N_COMPRESSED_BA@GOTPAGE
Lloh84:
ldr x10, [x10, _N_COMPRESSED_BA@GOTPAGEOFF]
Lloh85:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
Lloh86:
adrp x8, _il4965_hdl_tx@GOTPAGE
Lloh87:
ldr x8, [x8, _il4965_hdl_tx@GOTPAGEOFF]
Lloh88:
ldr x8, [x8]
ldr x9, [x19]
Lloh89:
adrp x10, _C_TX@GOTPAGE
Lloh90:
ldr x10, [x10, _C_TX@GOTPAGEOFF]
Lloh91:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91
.loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88
.loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85
.loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82
.loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpLdrGot Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _il4965_hdl_alive,8,3 ; @il4965_hdl_alive
.comm _N_ALIVE,8,3 ; @N_ALIVE
.comm _il_hdl_error,8,3 ; @il_hdl_error
.comm _N_ERROR,8,3 ; @N_ERROR
.comm _il_hdl_csa,8,3 ; @il_hdl_csa
.comm _N_CHANNEL_SWITCH,8,3 ; @N_CHANNEL_SWITCH
.comm _il_hdl_spectrum_measurement,8,3 ; @il_hdl_spectrum_measurement
.comm _N_SPECTRUM_MEASUREMENT,8,3 ; @N_SPECTRUM_MEASUREMENT
.comm _il_hdl_pm_sleep,8,3 ; @il_hdl_pm_sleep
.comm _N_PM_SLEEP,8,3 ; @N_PM_SLEEP
.comm _il_hdl_pm_debug_stats,8,3 ; @il_hdl_pm_debug_stats
.comm _N_PM_DEBUG_STATS,8,3 ; @N_PM_DEBUG_STATS
.comm _il4965_hdl_beacon,8,3 ; @il4965_hdl_beacon
.comm _N_BEACON,8,3 ; @N_BEACON
.comm _il4965_hdl_c_stats,8,3 ; @il4965_hdl_c_stats
.comm _C_STATS,8,3 ; @C_STATS
.comm _il4965_hdl_stats,8,3 ; @il4965_hdl_stats
.comm _N_STATS,8,3 ; @N_STATS
.comm _il4965_hdl_card_state,8,3 ; @il4965_hdl_card_state
.comm _N_CARD_STATE,8,3 ; @N_CARD_STATE
.comm _il4965_hdl_missed_beacon,8,3 ; @il4965_hdl_missed_beacon
.comm _N_MISSED_BEACONS,8,3 ; @N_MISSED_BEACONS
.comm _il4965_hdl_rx_phy,8,3 ; @il4965_hdl_rx_phy
.comm _N_RX_PHY,8,3 ; @N_RX_PHY
.comm _il4965_hdl_rx,8,3 ; @il4965_hdl_rx
.comm _N_RX_MPDU,8,3 ; @N_RX_MPDU
.comm _N_RX,8,3 ; @N_RX
.comm _il4965_hdl_compressed_ba,8,3 ; @il4965_hdl_compressed_ba
.comm _N_COMPRESSED_BA,8,3 ; @N_COMPRESSED_BA
.comm _il4965_hdl_tx,8,3 ; @il4965_hdl_tx
.comm _C_TX,8,3 ; @C_TX
.no_dead_strip _il4965_setup_handlers
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/intel/iwlegacy/extr_4965-mac.c_il4965_setup_handlers.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hn_get_txswq_depth
_hn_get_txswq_depth: ## @hn_get_txswq_depth
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
xorl %edi, %edi
cmpq $0, (%rbx)
setg %dil
leaq L_.str(%rip), %rsi
callq _KASSERT
movq _hn_tx_swq_depth@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%rbx), %rax
cmpq %rax, %rcx
cmovgq %rcx, %rax
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "tx ring is not setup yet"
.comm _hn_tx_swq_depth,8,3 ## @hn_tx_swq_depth
.no_dead_strip _hn_get_txswq_depth
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hn_get_txswq_depth
_hn_get_txswq_depth: ; @hn_get_txswq_depth
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0]
cmp x8, #0
cset w0, gt
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _KASSERT
Lloh2:
adrp x8, _hn_tx_swq_depth@GOTPAGE
Lloh3:
ldr x8, [x8, _hn_tx_swq_depth@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
ldr x9, [x19]
cmp x8, x9
csel x0, x8, x9, gt
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "tx ring is not setup yet"
.comm _hn_tx_swq_depth,8,3 ; @hn_tx_swq_depth
.no_dead_strip _hn_get_txswq_depth
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_if_hn.c_hn_get_txswq_depth.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function http_chunked_errorcb
_http_chunked_errorcb: ## @http_chunked_errorcb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movq _test_ok@GOTPCREL(%rip), %r13
cmpl $0, (%r13)
je LBB0_22
## %bb.1:
movl $-1, (%r13)
movq _BEV_EVENT_EOF@GOTPCREL(%rip), %rax
testw %si, (%rax)
je LBB0_22
## %bb.2:
movq %rdi, %r15
xorl %edi, %edi
xorl %esi, %esi
callq _evhttp_request_new
movq %rax, %r14
movq %r15, %rdi
callq _bufferevent_get_input
movq %r14, %rdi
movl %eax, %esi
callq _evhttp_parse_firstline_
movq _ALL_DATA_READ@GOTPCREL(%rip), %rbx
cmpl (%rbx), %eax
jne LBB0_20
## %bb.3:
movq %r15, %rdi
callq _bufferevent_get_input
movq %r14, %rdi
movl %eax, %esi
callq _evhttp_parse_headers_
cmpl (%rbx), %eax
jne LBB0_20
## %bb.4:
movq %r14, %rdi
callq _evhttp_request_get_input_headers
leaq L_.str(%rip), %rsi
movl %eax, %edi
callq _evhttp_find_header
testq %rax, %rax
je LBB0_20
## %bb.5:
leaq L_.str.1(%rip), %rsi
movq %rax, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_6
LBB0_20:
testq %r14, %r14
je LBB0_22
## %bb.21:
movq %r14, %rdi
callq _evhttp_request_free
LBB0_22:
movq %r12, %rdi
xorl %esi, %esi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _event_base_loopexit ## TAILCALL
LBB0_6:
movq %r14, %rdi
callq _evhttp_request_get_input_headers
leaq L_.str.2(%rip), %rsi
movl %eax, %edi
callq _evhttp_find_header
testq %rax, %rax
je LBB0_20
## %bb.7:
leaq L_.str.3(%rip), %rsi
movq %rax, %rdi
callq _strcmp
testq %rax, %rax
jne LBB0_20
## %bb.8:
movq %r15, %rdi
callq _bufferevent_get_input
movq _EVBUFFER_EOL_CRLF@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %eax, %edi
xorl %esi, %esi
callq _evbuffer_readln
testq %rax, %rax
je LBB0_20
## %bb.9:
movq %rax, %rbx
leaq L_.str.4(%rip), %rsi
movq %rax, %rdi
callq _strcmp
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _free
cmpq $0, -48(%rbp) ## 8-byte Folded Reload
jne LBB0_20
## %bb.10:
movq %r15, %rdi
callq _bufferevent_get_input
movl %eax, %edi
movl $13, %esi
callq _evbuffer_pullup
leaq L_.str.5(%rip), %rsi
movq %rax, %rdi
movl $13, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_20
## %bb.11:
movq %r15, %rdi
callq _bufferevent_get_input
movl %eax, %edi
movl $15, %esi
callq _evbuffer_drain
movq %r15, %rdi
callq _bufferevent_get_input
movq _EVBUFFER_EOL_CRLF@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %eax, %edi
xorl %esi, %esi
callq _evbuffer_readln
testq %rax, %rax
je LBB0_20
## %bb.12:
movq %rax, %rbx
leaq L_.str.6(%rip), %rsi
movq %rax, %rdi
callq _strcmp
testq %rax, %rax
jne LBB0_20
## %bb.13:
movq %rbx, %rdi
callq _free
movq %r15, %rdi
callq _bufferevent_get_input
movl %eax, %edi
movl $18, %esi
callq _evbuffer_pullup
leaq L_.str.7(%rip), %rsi
movq %rax, %rdi
movl $18, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_20
## %bb.14:
movq %r15, %rdi
callq _bufferevent_get_input
movl %eax, %edi
movl $20, %esi
callq _evbuffer_drain
movq %r15, %rdi
callq _bufferevent_get_input
movq _EVBUFFER_EOL_CRLF@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %eax, %edi
xorl %esi, %esi
callq _evbuffer_readln
testq %rax, %rax
je LBB0_20
## %bb.15:
movq %rax, %rbx
leaq L_.str.8(%rip), %rsi
movq %rax, %rdi
callq _strcmp
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _free
cmpq $0, -48(%rbp) ## 8-byte Folded Reload
jne LBB0_20
## %bb.16:
movq %r15, %rdi
callq _bufferevent_get_input
movl %eax, %edi
movl $8, %esi
callq _evbuffer_pullup
leaq L_.str.9(%rip), %rsi
movq %rax, %rdi
movl $8, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_20
## %bb.17:
movq %r15, %rdi
callq _bufferevent_get_input
movl %eax, %edi
movl $10, %esi
callq _evbuffer_drain
movq %r15, %rdi
callq _bufferevent_get_input
movq _EVBUFFER_EOL_CRLF@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %eax, %edi
xorl %esi, %esi
callq _evbuffer_readln
testq %rax, %rax
je LBB0_20
## %bb.18:
movq %rax, %r15
leaq L_.str.10(%rip), %rsi
movq %rax, %rdi
callq _strcmp
movq %rax, %rbx
movq %r15, %rdi
callq _free
testq %rbx, %rbx
jne LBB0_20
## %bb.19:
movl $2, (%r13)
jmp LBB0_20
.cfi_endproc
## -- End function
.comm _test_ok,4,2 ## @test_ok
.comm _BEV_EVENT_EOF,2,1 ## @BEV_EVENT_EOF
.comm _ALL_DATA_READ,4,2 ## @ALL_DATA_READ
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Transfer-Encoding"
L_.str.1: ## @.str.1
.asciz "chunked"
L_.str.2: ## @.str.2
.asciz "Connection"
L_.str.3: ## @.str.3
.asciz "close"
.comm _EVBUFFER_EOL_CRLF,4,2 ## @EVBUFFER_EOL_CRLF
L_.str.4: ## @.str.4
.asciz "d"
L_.str.5: ## @.str.5
.asciz "This is funny"
L_.str.6: ## @.str.6
.asciz "12"
L_.str.7: ## @.str.7
.asciz "but not hilarious."
L_.str.8: ## @.str.8
.asciz "8"
L_.str.9: ## @.str.9
.asciz "bwv 1052."
L_.str.10: ## @.str.10
.asciz "0"
.no_dead_strip _http_chunked_errorcb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function http_chunked_errorcb
_http_chunked_errorcb: ; @http_chunked_errorcb
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
Lloh0:
adrp x24, _test_ok@GOTPAGE
Lloh1:
ldr x24, [x24, _test_ok@GOTPAGEOFF]
ldr w8, [x24]
cbz w8, LBB0_8
; %bb.1:
and w8, w1, #0xffff
mov w9, #-1
str w9, [x24]
Lloh2:
adrp x9, _BEV_EVENT_EOF@GOTPAGE
Lloh3:
ldr x9, [x9, _BEV_EVENT_EOF@GOTPAGEOFF]
ldrh w9, [x9]
tst w9, w8
b.eq LBB0_8
; %bb.2:
mov x21, x0
mov x0, #0
mov x1, #0
bl _evhttp_request_new
mov x20, x0
mov x0, x21
bl _bufferevent_get_input
mov x1, x0
mov x0, x20
bl _evhttp_parse_firstline_
Lloh4:
adrp x22, _ALL_DATA_READ@GOTPAGE
Lloh5:
ldr x22, [x22, _ALL_DATA_READ@GOTPAGEOFF]
ldr w8, [x22]
cmp w0, w8
b.ne LBB0_6
; %bb.3:
mov x0, x21
bl _bufferevent_get_input
mov x1, x0
mov x0, x20
bl _evhttp_parse_headers_
ldr w8, [x22]
cmp w0, w8
b.ne LBB0_6
; %bb.4:
mov x0, x20
bl _evhttp_request_get_input_headers
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _evhttp_find_header
cbz x0, LBB0_6
; %bb.5:
Lloh8:
adrp x1, l_.str.1@PAGE
Lloh9:
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
cbz x0, LBB0_9
LBB0_6:
cbz x20, LBB0_8
; %bb.7:
mov x0, x20
bl _evhttp_request_free
LBB0_8:
mov x0, x19
mov x1, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _event_base_loopexit
LBB0_9:
mov x0, x20
bl _evhttp_request_get_input_headers
Lloh10:
adrp x1, l_.str.2@PAGE
Lloh11:
add x1, x1, l_.str.2@PAGEOFF
bl _evhttp_find_header
cbz x0, LBB0_6
; %bb.10:
Lloh12:
adrp x1, l_.str.3@PAGE
Lloh13:
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
cbnz x0, LBB0_6
; %bb.11:
mov x0, x21
bl _bufferevent_get_input
Lloh14:
adrp x25, _EVBUFFER_EOL_CRLF@GOTPAGE
Lloh15:
ldr x25, [x25, _EVBUFFER_EOL_CRLF@GOTPAGEOFF]
ldr w2, [x25]
mov x1, #0
bl _evbuffer_readln
cbz x0, LBB0_6
; %bb.12:
mov x22, x0
Lloh16:
adrp x1, l_.str.4@PAGE
Lloh17:
add x1, x1, l_.str.4@PAGEOFF
bl _strcmp
mov x23, x0
mov x0, x22
bl _free
cbnz x23, LBB0_6
; %bb.13:
mov x0, x21
bl _bufferevent_get_input
mov w1, #13
bl _evbuffer_pullup
Lloh18:
adrp x1, l_.str.5@PAGE
Lloh19:
add x1, x1, l_.str.5@PAGEOFF
mov w2, #13
bl _strncmp
cbnz x0, LBB0_6
; %bb.14:
mov x0, x21
bl _bufferevent_get_input
mov w1, #15
bl _evbuffer_drain
mov x0, x21
bl _bufferevent_get_input
ldr w2, [x25]
mov x1, #0
bl _evbuffer_readln
cbz x0, LBB0_6
; %bb.15:
mov x22, x0
Lloh20:
adrp x1, l_.str.6@PAGE
Lloh21:
add x1, x1, l_.str.6@PAGEOFF
bl _strcmp
cbnz x0, LBB0_6
; %bb.16:
mov x0, x22
bl _free
mov x0, x21
bl _bufferevent_get_input
mov w1, #18
bl _evbuffer_pullup
Lloh22:
adrp x1, l_.str.7@PAGE
Lloh23:
add x1, x1, l_.str.7@PAGEOFF
mov w2, #18
bl _strncmp
cbnz x0, LBB0_6
; %bb.17:
mov x0, x21
bl _bufferevent_get_input
mov w1, #20
bl _evbuffer_drain
mov x0, x21
bl _bufferevent_get_input
ldr w2, [x25]
mov x1, #0
bl _evbuffer_readln
cbz x0, LBB0_6
; %bb.18:
mov x22, x0
Lloh24:
adrp x1, l_.str.8@PAGE
Lloh25:
add x1, x1, l_.str.8@PAGEOFF
bl _strcmp
mov x23, x0
mov x0, x22
bl _free
cbnz x23, LBB0_6
; %bb.19:
mov x0, x21
bl _bufferevent_get_input
mov w1, #8
bl _evbuffer_pullup
Lloh26:
adrp x1, l_.str.9@PAGE
Lloh27:
add x1, x1, l_.str.9@PAGEOFF
mov w2, #8
bl _strncmp
cbnz x0, LBB0_6
; %bb.20:
mov x0, x21
bl _bufferevent_get_input
mov w1, #10
bl _evbuffer_drain
mov x0, x21
bl _bufferevent_get_input
ldr w2, [x25]
mov x1, #0
bl _evbuffer_readln
cbz x0, LBB0_6
; %bb.21:
mov x21, x0
Lloh28:
adrp x1, l_.str.10@PAGE
Lloh29:
add x1, x1, l_.str.10@PAGEOFF
bl _strcmp
mov x22, x0
mov x0, x21
bl _free
cbnz x22, LBB0_6
; %bb.22:
mov w8, #2
str w8, [x24]
b LBB0_6
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.cfi_endproc
; -- End function
.comm _test_ok,4,2 ; @test_ok
.comm _BEV_EVENT_EOF,2,1 ; @BEV_EVENT_EOF
.comm _ALL_DATA_READ,4,2 ; @ALL_DATA_READ
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Transfer-Encoding"
l_.str.1: ; @.str.1
.asciz "chunked"
l_.str.2: ; @.str.2
.asciz "Connection"
l_.str.3: ; @.str.3
.asciz "close"
.comm _EVBUFFER_EOL_CRLF,4,2 ; @EVBUFFER_EOL_CRLF
l_.str.4: ; @.str.4
.asciz "d"
l_.str.5: ; @.str.5
.asciz "This is funny"
l_.str.6: ; @.str.6
.asciz "12"
l_.str.7: ; @.str.7
.asciz "but not hilarious."
l_.str.8: ; @.str.8
.asciz "8"
l_.str.9: ; @.str.9
.asciz "bwv 1052."
l_.str.10: ; @.str.10
.asciz "0"
.no_dead_strip _http_chunked_errorcb
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ntp/sntp/libevent/test/extr_regress_http.c_http_chunked_errorcb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lang_add_data ## -- Begin function lang_add_data
.p2align 4, 0x90
_lang_add_data: ## @lang_add_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movl %edi, %r14d
movq _lang_data_statement@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _stat_ptr@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _new_stat
movq %rbx, 8(%rax)
movl %r14d, (%rax)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _lang_data_statement,4,2 ## @lang_data_statement
.comm _stat_ptr,4,2 ## @stat_ptr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lang_add_data ; -- Begin function lang_add_data
.p2align 2
_lang_add_data: ; @lang_add_data
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _lang_data_statement@GOTPAGE
Lloh1:
ldr x8, [x8, _lang_data_statement@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _stat_ptr@GOTPAGE
Lloh4:
ldr x8, [x8, _stat_ptr@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _new_stat
str x19, [x0, #8]
str w20, [x0]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _lang_data_statement,4,2 ; @lang_data_statement
.comm _stat_ptr,4,2 ; @stat_ptr
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/ld/extr_ldlang.c_lang_add_data.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i2sbus_playback_open
_i2sbus_playback_open: ## @i2sbus_playback_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _snd_pcm_substream_chip
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rbx, (%rax)
movq %rax, %rdi
xorl %esi, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _i2sbus_pcm_open ## TAILCALL
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _i2sbus_playback_open
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i2sbus_playback_open
_i2sbus_playback_open: ; @i2sbus_playback_open
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _snd_pcm_substream_chip
cbz x0, LBB0_2
; %bb.1:
str x19, [x0]
mov w1, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _i2sbus_pcm_open
LBB0_2:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _i2sbus_playback_open
.subsections_via_symbols
| AnghaBench/linux/sound/aoa/soundbus/i2sbus/extr_pcm.c_i2sbus_playback_open.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function balloon_down
_balloon_down: ## @balloon_down
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
movl (%rsi), %r12d
testl %r12d, %r12d
jle LBB0_3
## %bb.1:
movq 8(%r14), %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %rbx, %rsi
callq _free_balloon_pages
addq $4, %rbx
decq %r12
jne LBB0_2
LBB0_3:
cmpl $1, 4(%r14)
je LBB0_5
## %bb.4:
leaq -48(%rbp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
movl $12, %edx
callq _memset
movq _DM_UNBALLOON_RESPONSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -40(%rbp)
movq _trans_id@GOTPCREL(%rip), %rdi
callq _atomic_inc_return
movl %eax, -44(%rbp)
movl $12, -48(%rbp)
movq _dm_device@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %edi
movq _VM_PKT_DATA_INBAND@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %rbx, %rsi
movl $12, %edx
xorl %ecx, %ecx
xorl %r9d, %r9d
callq _vmbus_sendpacket
movq _DM_INITIALIZED@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r15)
LBB0_5:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DM_UNBALLOON_RESPONSE,4,2 ## @DM_UNBALLOON_RESPONSE
.comm _trans_id,4,2 ## @trans_id
.comm _dm_device,8,3 ## @dm_device
.comm _VM_PKT_DATA_INBAND,4,2 ## @VM_PKT_DATA_INBAND
.comm _DM_INITIALIZED,4,2 ## @DM_INITIALIZED
.no_dead_strip _balloon_down
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function balloon_down
_balloon_down: ; @balloon_down
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
ldr w22, [x1]
cmp w22, #1
b.lt LBB0_3
; %bb.1:
ldr x21, [x20, #8]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x21
bl _free_balloon_pages
add x21, x21, #4
subs x22, x22, #1
b.ne LBB0_2
LBB0_3:
ldr w8, [x20, #4]
cmp w8, #1
b.eq LBB0_5
; %bb.4:
mov w20, #12
mov x0, sp
mov w1, #0
mov w2, #12
bl _memset
Lloh0:
adrp x8, _DM_UNBALLOON_RESPONSE@GOTPAGE
Lloh1:
ldr x8, [x8, _DM_UNBALLOON_RESPONSE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [sp, #8]
Lloh3:
adrp x0, _trans_id@GOTPAGE
Lloh4:
ldr x0, [x0, _trans_id@GOTPAGEOFF]
bl _atomic_inc_return
Lloh5:
adrp x8, _dm_device@GOTPAGE
Lloh6:
ldr x8, [x8, _dm_device@GOTPAGEOFF]
stp w20, w0, [sp]
Lloh7:
ldr x8, [x8]
ldr w0, [x8]
Lloh8:
adrp x8, _VM_PKT_DATA_INBAND@GOTPAGE
Lloh9:
ldr x8, [x8, _VM_PKT_DATA_INBAND@GOTPAGEOFF]
Lloh10:
ldr w4, [x8]
mov x1, sp
mov w2, #12
mov x3, #0
mov w5, #0
bl _vmbus_sendpacket
Lloh11:
adrp x8, _DM_INITIALIZED@GOTPAGE
Lloh12:
ldr x8, [x8, _DM_INITIALIZED@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
str w8, [x19]
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DM_UNBALLOON_RESPONSE,4,2 ; @DM_UNBALLOON_RESPONSE
.comm _trans_id,4,2 ; @trans_id
.comm _dm_device,8,3 ; @dm_device
.comm _VM_PKT_DATA_INBAND,4,2 ; @VM_PKT_DATA_INBAND
.comm _DM_INITIALIZED,4,2 ; @DM_INITIALIZED
.no_dead_strip _balloon_down
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/hv/extr_hv_balloon.c_balloon_down.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dwarf_get_OP_name ## -- Begin function dwarf_get_OP_name
.p2align 4, 0x90
_dwarf_get_OP_name: ## @dwarf_get_OP_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movl %edi, %ebx
xorl %edi, %edi
testq %rsi, %rsi
setne %dil
callq _assert
addl $-128, %ebx
cmpl $166, %ebx
ja LBB0_1
## %bb.2:
movslq %ebx, %rax
leaq l_reltable.dwarf_get_OP_name(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movq %rax, (%r14)
movq _DW_DLV_OK@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _DW_DLV_NO_ENTRY@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DW_OP_deref"
L_.str.1: ## @.str.1
.asciz "DW_OP_reg0"
L_.str.2: ## @.str.2
.asciz "DW_OP_reg1"
L_.str.3: ## @.str.3
.asciz "DW_OP_reg2"
L_.str.4: ## @.str.4
.asciz "DW_OP_reg3"
L_.str.5: ## @.str.5
.asciz "DW_OP_reg4"
L_.str.6: ## @.str.6
.asciz "DW_OP_reg5"
L_.str.7: ## @.str.7
.asciz "DW_OP_reg6"
L_.str.8: ## @.str.8
.asciz "DW_OP_reg7"
L_.str.9: ## @.str.9
.asciz "DW_OP_reg8"
L_.str.10: ## @.str.10
.asciz "DW_OP_reg9"
L_.str.11: ## @.str.11
.asciz "DW_OP_reg10"
L_.str.12: ## @.str.12
.asciz "DW_OP_reg11"
L_.str.13: ## @.str.13
.asciz "DW_OP_reg12"
L_.str.14: ## @.str.14
.asciz "DW_OP_reg13"
L_.str.15: ## @.str.15
.asciz "DW_OP_reg14"
L_.str.16: ## @.str.16
.asciz "DW_OP_reg15"
L_.str.17: ## @.str.17
.asciz "DW_OP_reg16"
L_.str.18: ## @.str.18
.asciz "DW_OP_reg17"
L_.str.19: ## @.str.19
.asciz "DW_OP_reg18"
L_.str.20: ## @.str.20
.asciz "DW_OP_reg19"
L_.str.21: ## @.str.21
.asciz "DW_OP_reg20"
L_.str.22: ## @.str.22
.asciz "DW_OP_reg21"
L_.str.23: ## @.str.23
.asciz "DW_OP_reg22"
L_.str.24: ## @.str.24
.asciz "DW_OP_reg23"
L_.str.25: ## @.str.25
.asciz "DW_OP_reg24"
L_.str.26: ## @.str.26
.asciz "DW_OP_reg25"
L_.str.27: ## @.str.27
.asciz "DW_OP_reg26"
L_.str.28: ## @.str.28
.asciz "DW_OP_reg27"
L_.str.29: ## @.str.29
.asciz "DW_OP_reg28"
L_.str.30: ## @.str.30
.asciz "DW_OP_reg29"
L_.str.31: ## @.str.31
.asciz "DW_OP_reg30"
L_.str.32: ## @.str.32
.asciz "DW_OP_reg31"
L_.str.33: ## @.str.33
.asciz "DW_OP_lit0"
L_.str.34: ## @.str.34
.asciz "DW_OP_lit1"
L_.str.35: ## @.str.35
.asciz "DW_OP_lit2"
L_.str.36: ## @.str.36
.asciz "DW_OP_lit3"
L_.str.37: ## @.str.37
.asciz "DW_OP_lit4"
L_.str.38: ## @.str.38
.asciz "DW_OP_lit5"
L_.str.39: ## @.str.39
.asciz "DW_OP_lit6"
L_.str.40: ## @.str.40
.asciz "DW_OP_lit7"
L_.str.41: ## @.str.41
.asciz "DW_OP_lit8"
L_.str.42: ## @.str.42
.asciz "DW_OP_lit9"
L_.str.43: ## @.str.43
.asciz "DW_OP_lit10"
L_.str.44: ## @.str.44
.asciz "DW_OP_lit11"
L_.str.45: ## @.str.45
.asciz "DW_OP_lit12"
L_.str.46: ## @.str.46
.asciz "DW_OP_lit13"
L_.str.47: ## @.str.47
.asciz "DW_OP_lit14"
L_.str.48: ## @.str.48
.asciz "DW_OP_lit15"
L_.str.49: ## @.str.49
.asciz "DW_OP_lit16"
L_.str.50: ## @.str.50
.asciz "DW_OP_lit17"
L_.str.51: ## @.str.51
.asciz "DW_OP_lit18"
L_.str.52: ## @.str.52
.asciz "DW_OP_lit19"
L_.str.53: ## @.str.53
.asciz "DW_OP_lit20"
L_.str.54: ## @.str.54
.asciz "DW_OP_lit21"
L_.str.55: ## @.str.55
.asciz "DW_OP_lit22"
L_.str.56: ## @.str.56
.asciz "DW_OP_lit23"
L_.str.57: ## @.str.57
.asciz "DW_OP_lit24"
L_.str.58: ## @.str.58
.asciz "DW_OP_lit25"
L_.str.59: ## @.str.59
.asciz "DW_OP_lit26"
L_.str.60: ## @.str.60
.asciz "DW_OP_lit27"
L_.str.61: ## @.str.61
.asciz "DW_OP_lit28"
L_.str.62: ## @.str.62
.asciz "DW_OP_lit29"
L_.str.63: ## @.str.63
.asciz "DW_OP_lit30"
L_.str.64: ## @.str.64
.asciz "DW_OP_lit31"
L_.str.65: ## @.str.65
.asciz "DW_OP_dup"
L_.str.66: ## @.str.66
.asciz "DW_OP_drop"
L_.str.67: ## @.str.67
.asciz "DW_OP_over"
L_.str.68: ## @.str.68
.asciz "DW_OP_swap"
L_.str.69: ## @.str.69
.asciz "DW_OP_rot"
L_.str.70: ## @.str.70
.asciz "DW_OP_xderef"
L_.str.71: ## @.str.71
.asciz "DW_OP_abs"
L_.str.72: ## @.str.72
.asciz "DW_OP_and"
L_.str.73: ## @.str.73
.asciz "DW_OP_div"
L_.str.74: ## @.str.74
.asciz "DW_OP_minus"
L_.str.75: ## @.str.75
.asciz "DW_OP_mod"
L_.str.76: ## @.str.76
.asciz "DW_OP_mul"
L_.str.77: ## @.str.77
.asciz "DW_OP_neg"
L_.str.78: ## @.str.78
.asciz "DW_OP_not"
L_.str.79: ## @.str.79
.asciz "DW_OP_or"
L_.str.80: ## @.str.80
.asciz "DW_OP_plus"
L_.str.81: ## @.str.81
.asciz "DW_OP_shl"
L_.str.82: ## @.str.82
.asciz "DW_OP_shr"
L_.str.83: ## @.str.83
.asciz "DW_OP_shra"
L_.str.84: ## @.str.84
.asciz "DW_OP_xor"
L_.str.85: ## @.str.85
.asciz "DW_OP_eq"
L_.str.86: ## @.str.86
.asciz "DW_OP_ge"
L_.str.87: ## @.str.87
.asciz "DW_OP_gt"
L_.str.88: ## @.str.88
.asciz "DW_OP_le"
L_.str.89: ## @.str.89
.asciz "DW_OP_lt"
L_.str.90: ## @.str.90
.asciz "DW_OP_ne"
L_.str.91: ## @.str.91
.asciz "DW_OP_nop"
L_.str.92: ## @.str.92
.asciz "DW_OP_const1u"
L_.str.93: ## @.str.93
.asciz "DW_OP_const1s"
L_.str.94: ## @.str.94
.asciz "DW_OP_pick"
L_.str.95: ## @.str.95
.asciz "DW_OP_deref_size"
L_.str.96: ## @.str.96
.asciz "DW_OP_xderef_size"
L_.str.97: ## @.str.97
.asciz "DW_OP_const2u"
L_.str.98: ## @.str.98
.asciz "DW_OP_const2s"
L_.str.99: ## @.str.99
.asciz "DW_OP_bra"
L_.str.100: ## @.str.100
.asciz "DW_OP_skip"
L_.str.101: ## @.str.101
.asciz "DW_OP_const4u"
L_.str.102: ## @.str.102
.asciz "DW_OP_const4s"
L_.str.103: ## @.str.103
.asciz "DW_OP_const8u"
L_.str.104: ## @.str.104
.asciz "DW_OP_const8s"
L_.str.105: ## @.str.105
.asciz "DW_OP_constu"
L_.str.106: ## @.str.106
.asciz "DW_OP_plus_uconst"
L_.str.107: ## @.str.107
.asciz "DW_OP_regx"
L_.str.108: ## @.str.108
.asciz "DW_OP_piece"
L_.str.109: ## @.str.109
.asciz "DW_OP_consts"
L_.str.110: ## @.str.110
.asciz "DW_OP_breg0"
L_.str.111: ## @.str.111
.asciz "DW_OP_breg1"
L_.str.112: ## @.str.112
.asciz "DW_OP_breg2"
L_.str.113: ## @.str.113
.asciz "DW_OP_breg3"
L_.str.114: ## @.str.114
.asciz "DW_OP_breg4"
L_.str.115: ## @.str.115
.asciz "DW_OP_breg5"
L_.str.116: ## @.str.116
.asciz "DW_OP_breg6"
L_.str.117: ## @.str.117
.asciz "DW_OP_breg7"
L_.str.118: ## @.str.118
.asciz "DW_OP_breg8"
L_.str.119: ## @.str.119
.asciz "DW_OP_breg9"
L_.str.120: ## @.str.120
.asciz "DW_OP_breg10"
L_.str.121: ## @.str.121
.asciz "DW_OP_breg11"
L_.str.122: ## @.str.122
.asciz "DW_OP_breg12"
L_.str.123: ## @.str.123
.asciz "DW_OP_breg13"
L_.str.124: ## @.str.124
.asciz "DW_OP_breg14"
L_.str.125: ## @.str.125
.asciz "DW_OP_breg15"
L_.str.126: ## @.str.126
.asciz "DW_OP_breg16"
L_.str.127: ## @.str.127
.asciz "DW_OP_breg17"
L_.str.128: ## @.str.128
.asciz "DW_OP_breg18"
L_.str.129: ## @.str.129
.asciz "DW_OP_breg19"
L_.str.130: ## @.str.130
.asciz "DW_OP_breg20"
L_.str.131: ## @.str.131
.asciz "DW_OP_breg21"
L_.str.132: ## @.str.132
.asciz "DW_OP_breg22"
L_.str.133: ## @.str.133
.asciz "DW_OP_breg23"
L_.str.134: ## @.str.134
.asciz "DW_OP_breg24"
L_.str.135: ## @.str.135
.asciz "DW_OP_breg25"
L_.str.136: ## @.str.136
.asciz "DW_OP_breg26"
L_.str.137: ## @.str.137
.asciz "DW_OP_breg27"
L_.str.138: ## @.str.138
.asciz "DW_OP_breg28"
L_.str.139: ## @.str.139
.asciz "DW_OP_breg29"
L_.str.140: ## @.str.140
.asciz "DW_OP_breg30"
L_.str.141: ## @.str.141
.asciz "DW_OP_breg31"
L_.str.142: ## @.str.142
.asciz "DW_OP_fbreg"
L_.str.143: ## @.str.143
.asciz "DW_OP_bregx"
L_.str.144: ## @.str.144
.asciz "DW_OP_addr"
L_.str.145: ## @.str.145
.asciz "DW_OP_push_object_address"
L_.str.146: ## @.str.146
.asciz "DW_OP_call2"
L_.str.147: ## @.str.147
.asciz "DW_OP_call4"
L_.str.148: ## @.str.148
.asciz "DW_OP_call_ref"
L_.str.149: ## @.str.149
.asciz "DW_OP_form_tls_address"
L_.str.150: ## @.str.150
.asciz "DW_OP_call_frame_cfa"
L_.str.151: ## @.str.151
.asciz "DW_OP_bit_piece"
L_.str.152: ## @.str.152
.asciz "DW_OP_implicit_value"
L_.str.153: ## @.str.153
.asciz "DW_OP_stack_value"
L_.str.154: ## @.str.154
.asciz "DW_OP_GNU_push_tls_address"
L_.str.155: ## @.str.155
.asciz "DW_OP_GNU_uninit"
L_.str.156: ## @.str.156
.asciz "DW_OP_GNU_encoded_addr"
L_.str.157: ## @.str.157
.asciz "DW_OP_GNU_implicit_pointer"
L_.str.158: ## @.str.158
.asciz "DW_OP_GNU_entry_value"
L_.str.159: ## @.str.159
.asciz "DW_OP_GNU_const_type"
L_.str.160: ## @.str.160
.asciz "DW_OP_GNU_regval_type"
L_.str.161: ## @.str.161
.asciz "DW_OP_GNU_deref_type"
L_.str.162: ## @.str.162
.asciz "DW_OP_GNU_convert"
L_.str.163: ## @.str.163
.asciz "DW_OP_GNU_reinterpret"
L_.str.164: ## @.str.164
.asciz "DW_OP_GNU_parameter_ref"
L_.str.165: ## @.str.165
.asciz "DW_OP_GNU_addr_index"
L_.str.166: ## @.str.166
.asciz "DW_OP_GNU_const_index"
.comm _DW_DLV_NO_ENTRY,4,2 ## @DW_DLV_NO_ENTRY
.comm _DW_DLV_OK,4,2 ## @DW_DLV_OK
.section __TEXT,__const
.p2align 2 ## @reltable.dwarf_get_OP_name
l_reltable.dwarf_get_OP_name:
.long L_.str.84-l_reltable.dwarf_get_OP_name
.long L_.str.96-l_reltable.dwarf_get_OP_name
.long L_.str.70-l_reltable.dwarf_get_OP_name
.long L_.str.68-l_reltable.dwarf_get_OP_name
.long L_.str.153-l_reltable.dwarf_get_OP_name
.long L_.str.100-l_reltable.dwarf_get_OP_name
.long L_.str.83-l_reltable.dwarf_get_OP_name
.long L_.str.82-l_reltable.dwarf_get_OP_name
.long L_.str.81-l_reltable.dwarf_get_OP_name
.long L_.str.69-l_reltable.dwarf_get_OP_name
.long L_.str.107-l_reltable.dwarf_get_OP_name
.long L_.str.10-l_reltable.dwarf_get_OP_name
.long L_.str.9-l_reltable.dwarf_get_OP_name
.long L_.str.8-l_reltable.dwarf_get_OP_name
.long L_.str.7-l_reltable.dwarf_get_OP_name
.long L_.str.6-l_reltable.dwarf_get_OP_name
.long L_.str.5-l_reltable.dwarf_get_OP_name
.long L_.str.32-l_reltable.dwarf_get_OP_name
.long L_.str.31-l_reltable.dwarf_get_OP_name
.long L_.str.4-l_reltable.dwarf_get_OP_name
.long L_.str.30-l_reltable.dwarf_get_OP_name
.long L_.str.29-l_reltable.dwarf_get_OP_name
.long L_.str.28-l_reltable.dwarf_get_OP_name
.long L_.str.27-l_reltable.dwarf_get_OP_name
.long L_.str.26-l_reltable.dwarf_get_OP_name
.long L_.str.25-l_reltable.dwarf_get_OP_name
.long L_.str.24-l_reltable.dwarf_get_OP_name
.long L_.str.23-l_reltable.dwarf_get_OP_name
.long L_.str.22-l_reltable.dwarf_get_OP_name
.long L_.str.21-l_reltable.dwarf_get_OP_name
.long L_.str.3-l_reltable.dwarf_get_OP_name
.long L_.str.20-l_reltable.dwarf_get_OP_name
.long L_.str.19-l_reltable.dwarf_get_OP_name
.long L_.str.18-l_reltable.dwarf_get_OP_name
.long L_.str.17-l_reltable.dwarf_get_OP_name
.long L_.str.16-l_reltable.dwarf_get_OP_name
.long L_.str.15-l_reltable.dwarf_get_OP_name
.long L_.str.14-l_reltable.dwarf_get_OP_name
.long L_.str.13-l_reltable.dwarf_get_OP_name
.long L_.str.12-l_reltable.dwarf_get_OP_name
.long L_.str.11-l_reltable.dwarf_get_OP_name
.long L_.str.2-l_reltable.dwarf_get_OP_name
.long L_.str.1-l_reltable.dwarf_get_OP_name
.long L_.str.145-l_reltable.dwarf_get_OP_name
.long L_.str.106-l_reltable.dwarf_get_OP_name
.long L_.str.80-l_reltable.dwarf_get_OP_name
.long L_.str.108-l_reltable.dwarf_get_OP_name
.long L_.str.94-l_reltable.dwarf_get_OP_name
.long L_.str.67-l_reltable.dwarf_get_OP_name
.long L_.str.79-l_reltable.dwarf_get_OP_name
.long L_.str.78-l_reltable.dwarf_get_OP_name
.long L_.str.91-l_reltable.dwarf_get_OP_name
.long L_.str.77-l_reltable.dwarf_get_OP_name
.long L_.str.90-l_reltable.dwarf_get_OP_name
.long L_.str.76-l_reltable.dwarf_get_OP_name
.long L_.str.75-l_reltable.dwarf_get_OP_name
.long L_.str.74-l_reltable.dwarf_get_OP_name
.long L_.str.89-l_reltable.dwarf_get_OP_name
.long L_.str.42-l_reltable.dwarf_get_OP_name
.long L_.str.41-l_reltable.dwarf_get_OP_name
.long L_.str.40-l_reltable.dwarf_get_OP_name
.long L_.str.39-l_reltable.dwarf_get_OP_name
.long L_.str.38-l_reltable.dwarf_get_OP_name
.long L_.str.37-l_reltable.dwarf_get_OP_name
.long L_.str.64-l_reltable.dwarf_get_OP_name
.long L_.str.63-l_reltable.dwarf_get_OP_name
.long L_.str.36-l_reltable.dwarf_get_OP_name
.long L_.str.62-l_reltable.dwarf_get_OP_name
.long L_.str.61-l_reltable.dwarf_get_OP_name
.long L_.str.60-l_reltable.dwarf_get_OP_name
.long L_.str.59-l_reltable.dwarf_get_OP_name
.long L_.str.58-l_reltable.dwarf_get_OP_name
.long L_.str.57-l_reltable.dwarf_get_OP_name
.long L_.str.56-l_reltable.dwarf_get_OP_name
.long L_.str.55-l_reltable.dwarf_get_OP_name
.long L_.str.54-l_reltable.dwarf_get_OP_name
.long L_.str.53-l_reltable.dwarf_get_OP_name
.long L_.str.35-l_reltable.dwarf_get_OP_name
.long L_.str.52-l_reltable.dwarf_get_OP_name
.long L_.str.51-l_reltable.dwarf_get_OP_name
.long L_.str.50-l_reltable.dwarf_get_OP_name
.long L_.str.49-l_reltable.dwarf_get_OP_name
.long L_.str.48-l_reltable.dwarf_get_OP_name
.long L_.str.47-l_reltable.dwarf_get_OP_name
.long L_.str.46-l_reltable.dwarf_get_OP_name
.long L_.str.45-l_reltable.dwarf_get_OP_name
.long L_.str.44-l_reltable.dwarf_get_OP_name
.long L_.str.43-l_reltable.dwarf_get_OP_name
.long L_.str.34-l_reltable.dwarf_get_OP_name
.long L_.str.33-l_reltable.dwarf_get_OP_name
.long L_.str.88-l_reltable.dwarf_get_OP_name
.long L_.str.152-l_reltable.dwarf_get_OP_name
.long L_.str.87-l_reltable.dwarf_get_OP_name
.long L_.str.86-l_reltable.dwarf_get_OP_name
.long L_.str.149-l_reltable.dwarf_get_OP_name
.long L_.str.142-l_reltable.dwarf_get_OP_name
.long L_.str.85-l_reltable.dwarf_get_OP_name
.long L_.str.65-l_reltable.dwarf_get_OP_name
.long L_.str.66-l_reltable.dwarf_get_OP_name
.long L_.str.73-l_reltable.dwarf_get_OP_name
.long L_.str.95-l_reltable.dwarf_get_OP_name
.long L_.str-l_reltable.dwarf_get_OP_name
.long L_.str.105-l_reltable.dwarf_get_OP_name
.long L_.str.109-l_reltable.dwarf_get_OP_name
.long L_.str.103-l_reltable.dwarf_get_OP_name
.long L_.str.104-l_reltable.dwarf_get_OP_name
.long L_.str.101-l_reltable.dwarf_get_OP_name
.long L_.str.102-l_reltable.dwarf_get_OP_name
.long L_.str.97-l_reltable.dwarf_get_OP_name
.long L_.str.98-l_reltable.dwarf_get_OP_name
.long L_.str.92-l_reltable.dwarf_get_OP_name
.long L_.str.93-l_reltable.dwarf_get_OP_name
.long L_.str.148-l_reltable.dwarf_get_OP_name
.long L_.str.150-l_reltable.dwarf_get_OP_name
.long L_.str.147-l_reltable.dwarf_get_OP_name
.long L_.str.146-l_reltable.dwarf_get_OP_name
.long L_.str.143-l_reltable.dwarf_get_OP_name
.long L_.str.119-l_reltable.dwarf_get_OP_name
.long L_.str.118-l_reltable.dwarf_get_OP_name
.long L_.str.117-l_reltable.dwarf_get_OP_name
.long L_.str.116-l_reltable.dwarf_get_OP_name
.long L_.str.115-l_reltable.dwarf_get_OP_name
.long L_.str.114-l_reltable.dwarf_get_OP_name
.long L_.str.141-l_reltable.dwarf_get_OP_name
.long L_.str.140-l_reltable.dwarf_get_OP_name
.long L_.str.113-l_reltable.dwarf_get_OP_name
.long L_.str.139-l_reltable.dwarf_get_OP_name
.long L_.str.138-l_reltable.dwarf_get_OP_name
.long L_.str.137-l_reltable.dwarf_get_OP_name
.long L_.str.136-l_reltable.dwarf_get_OP_name
.long L_.str.135-l_reltable.dwarf_get_OP_name
.long L_.str.134-l_reltable.dwarf_get_OP_name
.long L_.str.133-l_reltable.dwarf_get_OP_name
.long L_.str.132-l_reltable.dwarf_get_OP_name
.long L_.str.131-l_reltable.dwarf_get_OP_name
.long L_.str.130-l_reltable.dwarf_get_OP_name
.long L_.str.112-l_reltable.dwarf_get_OP_name
.long L_.str.129-l_reltable.dwarf_get_OP_name
.long L_.str.128-l_reltable.dwarf_get_OP_name
.long L_.str.127-l_reltable.dwarf_get_OP_name
.long L_.str.126-l_reltable.dwarf_get_OP_name
.long L_.str.125-l_reltable.dwarf_get_OP_name
.long L_.str.124-l_reltable.dwarf_get_OP_name
.long L_.str.123-l_reltable.dwarf_get_OP_name
.long L_.str.122-l_reltable.dwarf_get_OP_name
.long L_.str.121-l_reltable.dwarf_get_OP_name
.long L_.str.120-l_reltable.dwarf_get_OP_name
.long L_.str.111-l_reltable.dwarf_get_OP_name
.long L_.str.110-l_reltable.dwarf_get_OP_name
.long L_.str.99-l_reltable.dwarf_get_OP_name
.long L_.str.151-l_reltable.dwarf_get_OP_name
.long L_.str.72-l_reltable.dwarf_get_OP_name
.long L_.str.144-l_reltable.dwarf_get_OP_name
.long L_.str.71-l_reltable.dwarf_get_OP_name
.long L_.str.155-l_reltable.dwarf_get_OP_name
.long L_.str.163-l_reltable.dwarf_get_OP_name
.long L_.str.160-l_reltable.dwarf_get_OP_name
.long L_.str.154-l_reltable.dwarf_get_OP_name
.long L_.str.164-l_reltable.dwarf_get_OP_name
.long L_.str.157-l_reltable.dwarf_get_OP_name
.long L_.str.158-l_reltable.dwarf_get_OP_name
.long L_.str.156-l_reltable.dwarf_get_OP_name
.long L_.str.161-l_reltable.dwarf_get_OP_name
.long L_.str.162-l_reltable.dwarf_get_OP_name
.long L_.str.159-l_reltable.dwarf_get_OP_name
.long L_.str.166-l_reltable.dwarf_get_OP_name
.long L_.str.165-l_reltable.dwarf_get_OP_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dwarf_get_OP_name ; -- Begin function dwarf_get_OP_name
.p2align 2
_dwarf_get_OP_name: ; @dwarf_get_OP_name
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
cmp x1, #0
cset w0, ne
bl _assert
sub w8, w20, #128
cmp w8, #166
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x9, l_switch.table.dwarf_get_OP_name@PAGE
Lloh1:
add x9, x9, l_switch.table.dwarf_get_OP_name@PAGEOFF
ldr x8, [x9, w8, sxtw #3]
str x8, [x19]
Lloh2:
adrp x8, _DW_DLV_OK@GOTPAGE
Lloh3:
ldr x8, [x8, _DW_DLV_OK@GOTPAGEOFF]
b LBB0_3
LBB0_2:
Lloh4:
adrp x8, _DW_DLV_NO_ENTRY@GOTPAGE
Lloh5:
ldr x8, [x8, _DW_DLV_NO_ENTRY@GOTPAGEOFF]
LBB0_3:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DW_OP_deref"
l_.str.1: ; @.str.1
.asciz "DW_OP_reg0"
l_.str.2: ; @.str.2
.asciz "DW_OP_reg1"
l_.str.3: ; @.str.3
.asciz "DW_OP_reg2"
l_.str.4: ; @.str.4
.asciz "DW_OP_reg3"
l_.str.5: ; @.str.5
.asciz "DW_OP_reg4"
l_.str.6: ; @.str.6
.asciz "DW_OP_reg5"
l_.str.7: ; @.str.7
.asciz "DW_OP_reg6"
l_.str.8: ; @.str.8
.asciz "DW_OP_reg7"
l_.str.9: ; @.str.9
.asciz "DW_OP_reg8"
l_.str.10: ; @.str.10
.asciz "DW_OP_reg9"
l_.str.11: ; @.str.11
.asciz "DW_OP_reg10"
l_.str.12: ; @.str.12
.asciz "DW_OP_reg11"
l_.str.13: ; @.str.13
.asciz "DW_OP_reg12"
l_.str.14: ; @.str.14
.asciz "DW_OP_reg13"
l_.str.15: ; @.str.15
.asciz "DW_OP_reg14"
l_.str.16: ; @.str.16
.asciz "DW_OP_reg15"
l_.str.17: ; @.str.17
.asciz "DW_OP_reg16"
l_.str.18: ; @.str.18
.asciz "DW_OP_reg17"
l_.str.19: ; @.str.19
.asciz "DW_OP_reg18"
l_.str.20: ; @.str.20
.asciz "DW_OP_reg19"
l_.str.21: ; @.str.21
.asciz "DW_OP_reg20"
l_.str.22: ; @.str.22
.asciz "DW_OP_reg21"
l_.str.23: ; @.str.23
.asciz "DW_OP_reg22"
l_.str.24: ; @.str.24
.asciz "DW_OP_reg23"
l_.str.25: ; @.str.25
.asciz "DW_OP_reg24"
l_.str.26: ; @.str.26
.asciz "DW_OP_reg25"
l_.str.27: ; @.str.27
.asciz "DW_OP_reg26"
l_.str.28: ; @.str.28
.asciz "DW_OP_reg27"
l_.str.29: ; @.str.29
.asciz "DW_OP_reg28"
l_.str.30: ; @.str.30
.asciz "DW_OP_reg29"
l_.str.31: ; @.str.31
.asciz "DW_OP_reg30"
l_.str.32: ; @.str.32
.asciz "DW_OP_reg31"
l_.str.33: ; @.str.33
.asciz "DW_OP_lit0"
l_.str.34: ; @.str.34
.asciz "DW_OP_lit1"
l_.str.35: ; @.str.35
.asciz "DW_OP_lit2"
l_.str.36: ; @.str.36
.asciz "DW_OP_lit3"
l_.str.37: ; @.str.37
.asciz "DW_OP_lit4"
l_.str.38: ; @.str.38
.asciz "DW_OP_lit5"
l_.str.39: ; @.str.39
.asciz "DW_OP_lit6"
l_.str.40: ; @.str.40
.asciz "DW_OP_lit7"
l_.str.41: ; @.str.41
.asciz "DW_OP_lit8"
l_.str.42: ; @.str.42
.asciz "DW_OP_lit9"
l_.str.43: ; @.str.43
.asciz "DW_OP_lit10"
l_.str.44: ; @.str.44
.asciz "DW_OP_lit11"
l_.str.45: ; @.str.45
.asciz "DW_OP_lit12"
l_.str.46: ; @.str.46
.asciz "DW_OP_lit13"
l_.str.47: ; @.str.47
.asciz "DW_OP_lit14"
l_.str.48: ; @.str.48
.asciz "DW_OP_lit15"
l_.str.49: ; @.str.49
.asciz "DW_OP_lit16"
l_.str.50: ; @.str.50
.asciz "DW_OP_lit17"
l_.str.51: ; @.str.51
.asciz "DW_OP_lit18"
l_.str.52: ; @.str.52
.asciz "DW_OP_lit19"
l_.str.53: ; @.str.53
.asciz "DW_OP_lit20"
l_.str.54: ; @.str.54
.asciz "DW_OP_lit21"
l_.str.55: ; @.str.55
.asciz "DW_OP_lit22"
l_.str.56: ; @.str.56
.asciz "DW_OP_lit23"
l_.str.57: ; @.str.57
.asciz "DW_OP_lit24"
l_.str.58: ; @.str.58
.asciz "DW_OP_lit25"
l_.str.59: ; @.str.59
.asciz "DW_OP_lit26"
l_.str.60: ; @.str.60
.asciz "DW_OP_lit27"
l_.str.61: ; @.str.61
.asciz "DW_OP_lit28"
l_.str.62: ; @.str.62
.asciz "DW_OP_lit29"
l_.str.63: ; @.str.63
.asciz "DW_OP_lit30"
l_.str.64: ; @.str.64
.asciz "DW_OP_lit31"
l_.str.65: ; @.str.65
.asciz "DW_OP_dup"
l_.str.66: ; @.str.66
.asciz "DW_OP_drop"
l_.str.67: ; @.str.67
.asciz "DW_OP_over"
l_.str.68: ; @.str.68
.asciz "DW_OP_swap"
l_.str.69: ; @.str.69
.asciz "DW_OP_rot"
l_.str.70: ; @.str.70
.asciz "DW_OP_xderef"
l_.str.71: ; @.str.71
.asciz "DW_OP_abs"
l_.str.72: ; @.str.72
.asciz "DW_OP_and"
l_.str.73: ; @.str.73
.asciz "DW_OP_div"
l_.str.74: ; @.str.74
.asciz "DW_OP_minus"
l_.str.75: ; @.str.75
.asciz "DW_OP_mod"
l_.str.76: ; @.str.76
.asciz "DW_OP_mul"
l_.str.77: ; @.str.77
.asciz "DW_OP_neg"
l_.str.78: ; @.str.78
.asciz "DW_OP_not"
l_.str.79: ; @.str.79
.asciz "DW_OP_or"
l_.str.80: ; @.str.80
.asciz "DW_OP_plus"
l_.str.81: ; @.str.81
.asciz "DW_OP_shl"
l_.str.82: ; @.str.82
.asciz "DW_OP_shr"
l_.str.83: ; @.str.83
.asciz "DW_OP_shra"
l_.str.84: ; @.str.84
.asciz "DW_OP_xor"
l_.str.85: ; @.str.85
.asciz "DW_OP_eq"
l_.str.86: ; @.str.86
.asciz "DW_OP_ge"
l_.str.87: ; @.str.87
.asciz "DW_OP_gt"
l_.str.88: ; @.str.88
.asciz "DW_OP_le"
l_.str.89: ; @.str.89
.asciz "DW_OP_lt"
l_.str.90: ; @.str.90
.asciz "DW_OP_ne"
l_.str.91: ; @.str.91
.asciz "DW_OP_nop"
l_.str.92: ; @.str.92
.asciz "DW_OP_const1u"
l_.str.93: ; @.str.93
.asciz "DW_OP_const1s"
l_.str.94: ; @.str.94
.asciz "DW_OP_pick"
l_.str.95: ; @.str.95
.asciz "DW_OP_deref_size"
l_.str.96: ; @.str.96
.asciz "DW_OP_xderef_size"
l_.str.97: ; @.str.97
.asciz "DW_OP_const2u"
l_.str.98: ; @.str.98
.asciz "DW_OP_const2s"
l_.str.99: ; @.str.99
.asciz "DW_OP_bra"
l_.str.100: ; @.str.100
.asciz "DW_OP_skip"
l_.str.101: ; @.str.101
.asciz "DW_OP_const4u"
l_.str.102: ; @.str.102
.asciz "DW_OP_const4s"
l_.str.103: ; @.str.103
.asciz "DW_OP_const8u"
l_.str.104: ; @.str.104
.asciz "DW_OP_const8s"
l_.str.105: ; @.str.105
.asciz "DW_OP_constu"
l_.str.106: ; @.str.106
.asciz "DW_OP_plus_uconst"
l_.str.107: ; @.str.107
.asciz "DW_OP_regx"
l_.str.108: ; @.str.108
.asciz "DW_OP_piece"
l_.str.109: ; @.str.109
.asciz "DW_OP_consts"
l_.str.110: ; @.str.110
.asciz "DW_OP_breg0"
l_.str.111: ; @.str.111
.asciz "DW_OP_breg1"
l_.str.112: ; @.str.112
.asciz "DW_OP_breg2"
l_.str.113: ; @.str.113
.asciz "DW_OP_breg3"
l_.str.114: ; @.str.114
.asciz "DW_OP_breg4"
l_.str.115: ; @.str.115
.asciz "DW_OP_breg5"
l_.str.116: ; @.str.116
.asciz "DW_OP_breg6"
l_.str.117: ; @.str.117
.asciz "DW_OP_breg7"
l_.str.118: ; @.str.118
.asciz "DW_OP_breg8"
l_.str.119: ; @.str.119
.asciz "DW_OP_breg9"
l_.str.120: ; @.str.120
.asciz "DW_OP_breg10"
l_.str.121: ; @.str.121
.asciz "DW_OP_breg11"
l_.str.122: ; @.str.122
.asciz "DW_OP_breg12"
l_.str.123: ; @.str.123
.asciz "DW_OP_breg13"
l_.str.124: ; @.str.124
.asciz "DW_OP_breg14"
l_.str.125: ; @.str.125
.asciz "DW_OP_breg15"
l_.str.126: ; @.str.126
.asciz "DW_OP_breg16"
l_.str.127: ; @.str.127
.asciz "DW_OP_breg17"
l_.str.128: ; @.str.128
.asciz "DW_OP_breg18"
l_.str.129: ; @.str.129
.asciz "DW_OP_breg19"
l_.str.130: ; @.str.130
.asciz "DW_OP_breg20"
l_.str.131: ; @.str.131
.asciz "DW_OP_breg21"
l_.str.132: ; @.str.132
.asciz "DW_OP_breg22"
l_.str.133: ; @.str.133
.asciz "DW_OP_breg23"
l_.str.134: ; @.str.134
.asciz "DW_OP_breg24"
l_.str.135: ; @.str.135
.asciz "DW_OP_breg25"
l_.str.136: ; @.str.136
.asciz "DW_OP_breg26"
l_.str.137: ; @.str.137
.asciz "DW_OP_breg27"
l_.str.138: ; @.str.138
.asciz "DW_OP_breg28"
l_.str.139: ; @.str.139
.asciz "DW_OP_breg29"
l_.str.140: ; @.str.140
.asciz "DW_OP_breg30"
l_.str.141: ; @.str.141
.asciz "DW_OP_breg31"
l_.str.142: ; @.str.142
.asciz "DW_OP_fbreg"
l_.str.143: ; @.str.143
.asciz "DW_OP_bregx"
l_.str.144: ; @.str.144
.asciz "DW_OP_addr"
l_.str.145: ; @.str.145
.asciz "DW_OP_push_object_address"
l_.str.146: ; @.str.146
.asciz "DW_OP_call2"
l_.str.147: ; @.str.147
.asciz "DW_OP_call4"
l_.str.148: ; @.str.148
.asciz "DW_OP_call_ref"
l_.str.149: ; @.str.149
.asciz "DW_OP_form_tls_address"
l_.str.150: ; @.str.150
.asciz "DW_OP_call_frame_cfa"
l_.str.151: ; @.str.151
.asciz "DW_OP_bit_piece"
l_.str.152: ; @.str.152
.asciz "DW_OP_implicit_value"
l_.str.153: ; @.str.153
.asciz "DW_OP_stack_value"
l_.str.154: ; @.str.154
.asciz "DW_OP_GNU_push_tls_address"
l_.str.155: ; @.str.155
.asciz "DW_OP_GNU_uninit"
l_.str.156: ; @.str.156
.asciz "DW_OP_GNU_encoded_addr"
l_.str.157: ; @.str.157
.asciz "DW_OP_GNU_implicit_pointer"
l_.str.158: ; @.str.158
.asciz "DW_OP_GNU_entry_value"
l_.str.159: ; @.str.159
.asciz "DW_OP_GNU_const_type"
l_.str.160: ; @.str.160
.asciz "DW_OP_GNU_regval_type"
l_.str.161: ; @.str.161
.asciz "DW_OP_GNU_deref_type"
l_.str.162: ; @.str.162
.asciz "DW_OP_GNU_convert"
l_.str.163: ; @.str.163
.asciz "DW_OP_GNU_reinterpret"
l_.str.164: ; @.str.164
.asciz "DW_OP_GNU_parameter_ref"
l_.str.165: ; @.str.165
.asciz "DW_OP_GNU_addr_index"
l_.str.166: ; @.str.166
.asciz "DW_OP_GNU_const_index"
.comm _DW_DLV_NO_ENTRY,4,2 ; @DW_DLV_NO_ENTRY
.comm _DW_DLV_OK,4,2 ; @DW_DLV_OK
.section __DATA,__const
.p2align 3 ; @switch.table.dwarf_get_OP_name
l_switch.table.dwarf_get_OP_name:
.quad l_.str.84
.quad l_.str.96
.quad l_.str.70
.quad l_.str.68
.quad l_.str.153
.quad l_.str.100
.quad l_.str.83
.quad l_.str.82
.quad l_.str.81
.quad l_.str.69
.quad l_.str.107
.quad l_.str.10
.quad l_.str.9
.quad l_.str.8
.quad l_.str.7
.quad l_.str.6
.quad l_.str.5
.quad l_.str.32
.quad l_.str.31
.quad l_.str.4
.quad l_.str.30
.quad l_.str.29
.quad l_.str.28
.quad l_.str.27
.quad l_.str.26
.quad l_.str.25
.quad l_.str.24
.quad l_.str.23
.quad l_.str.22
.quad l_.str.21
.quad l_.str.3
.quad l_.str.20
.quad l_.str.19
.quad l_.str.18
.quad l_.str.17
.quad l_.str.16
.quad l_.str.15
.quad l_.str.14
.quad l_.str.13
.quad l_.str.12
.quad l_.str.11
.quad l_.str.2
.quad l_.str.1
.quad l_.str.145
.quad l_.str.106
.quad l_.str.80
.quad l_.str.108
.quad l_.str.94
.quad l_.str.67
.quad l_.str.79
.quad l_.str.78
.quad l_.str.91
.quad l_.str.77
.quad l_.str.90
.quad l_.str.76
.quad l_.str.75
.quad l_.str.74
.quad l_.str.89
.quad l_.str.42
.quad l_.str.41
.quad l_.str.40
.quad l_.str.39
.quad l_.str.38
.quad l_.str.37
.quad l_.str.64
.quad l_.str.63
.quad l_.str.36
.quad l_.str.62
.quad l_.str.61
.quad l_.str.60
.quad l_.str.59
.quad l_.str.58
.quad l_.str.57
.quad l_.str.56
.quad l_.str.55
.quad l_.str.54
.quad l_.str.53
.quad l_.str.35
.quad l_.str.52
.quad l_.str.51
.quad l_.str.50
.quad l_.str.49
.quad l_.str.48
.quad l_.str.47
.quad l_.str.46
.quad l_.str.45
.quad l_.str.44
.quad l_.str.43
.quad l_.str.34
.quad l_.str.33
.quad l_.str.88
.quad l_.str.152
.quad l_.str.87
.quad l_.str.86
.quad l_.str.149
.quad l_.str.142
.quad l_.str.85
.quad l_.str.65
.quad l_.str.66
.quad l_.str.73
.quad l_.str.95
.quad l_.str
.quad l_.str.105
.quad l_.str.109
.quad l_.str.103
.quad l_.str.104
.quad l_.str.101
.quad l_.str.102
.quad l_.str.97
.quad l_.str.98
.quad l_.str.92
.quad l_.str.93
.quad l_.str.148
.quad l_.str.150
.quad l_.str.147
.quad l_.str.146
.quad l_.str.143
.quad l_.str.119
.quad l_.str.118
.quad l_.str.117
.quad l_.str.116
.quad l_.str.115
.quad l_.str.114
.quad l_.str.141
.quad l_.str.140
.quad l_.str.113
.quad l_.str.139
.quad l_.str.138
.quad l_.str.137
.quad l_.str.136
.quad l_.str.135
.quad l_.str.134
.quad l_.str.133
.quad l_.str.132
.quad l_.str.131
.quad l_.str.130
.quad l_.str.112
.quad l_.str.129
.quad l_.str.128
.quad l_.str.127
.quad l_.str.126
.quad l_.str.125
.quad l_.str.124
.quad l_.str.123
.quad l_.str.122
.quad l_.str.121
.quad l_.str.120
.quad l_.str.111
.quad l_.str.110
.quad l_.str.99
.quad l_.str.151
.quad l_.str.72
.quad l_.str.144
.quad l_.str.71
.quad l_.str.155
.quad l_.str.163
.quad l_.str.160
.quad l_.str.154
.quad l_.str.164
.quad l_.str.157
.quad l_.str.158
.quad l_.str.156
.quad l_.str.161
.quad l_.str.162
.quad l_.str.159
.quad l_.str.166
.quad l_.str.165
.subsections_via_symbols
| AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_dump.c_dwarf_get_OP_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _plugger_init ## -- Begin function plugger_init
.p2align 4, 0x90
_plugger_init: ## @plugger_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq $0, 32(%rdi)
movq %rsi, (%rdi)
addq $16, %rdi
callq _init_timer
movq _plugger_timeout@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%rbx)
movq %rbx, 16(%rbx)
addq $8, %rbx
movq _plugger_work@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _INIT_WORK ## TAILCALL
.cfi_endproc
## -- End function
.comm _plugger_timeout,4,2 ## @plugger_timeout
.comm _plugger_work,4,2 ## @plugger_work
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _plugger_init ; -- Begin function plugger_init
.p2align 2
_plugger_init: ; @plugger_init
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
str xzr, [x0, #32]
str x1, [x0], #16
bl _init_timer
Lloh0:
adrp x8, _plugger_timeout@GOTPAGE
Lloh1:
ldr x8, [x8, _plugger_timeout@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x19, #24]
str x19, [x19, #16]
add x0, x19, #8
Lloh3:
adrp x8, _plugger_work@GOTPAGE
Lloh4:
ldr x8, [x8, _plugger_work@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _INIT_WORK
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _plugger_timeout,4,2 ; @plugger_timeout
.comm _plugger_work,4,2 ; @plugger_work
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/md/extr_md.c_plugger_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_screen ## -- Begin function init_screen
.p2align 4, 0x90
_init_screen: ## @init_screen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq __cpu@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _CGB_TYPE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.2:
movq _bkg_p@GOTPCREL(%rip), %rbx
movq (%rbx), %rdx
xorl %edi, %edi
movl $1, %esi
callq _set_bkg_palette
movq (%rbx), %rdx
addq $16, %rdx
movl $1, %edi
movl $1, %esi
callq _set_bkg_palette
movq (%rbx), %rdx
addq $32, %rdx
movl $2, %edi
movl $1, %esi
callq _set_bkg_palette
movq (%rbx), %rdx
addq $48, %rdx
movl $3, %edi
movl $1, %esi
callq _set_bkg_palette
movq (%rbx), %rdx
addq $64, %rdx
movl $4, %edi
movl $1, %esi
callq _set_bkg_palette
movq (%rbx), %rdx
addq $80, %rdx
movl $5, %edi
movl $1, %esi
callq _set_bkg_palette
movq (%rbx), %rdx
addq $96, %rdx
movl $6, %edi
movl $1, %esi
callq _set_bkg_palette
movq (%rbx), %rdx
addq $112, %rdx
movl $7, %edi
movl $1, %esi
callq _set_bkg_palette
movq _obj_p@GOTPCREL(%rip), %rbx
movq (%rbx), %rdx
xorl %edi, %edi
movl $1, %esi
callq _set_sprite_palette
movq (%rbx), %rdx
addq $16, %rdx
movl $1, %edi
movl $1, %esi
callq _set_sprite_palette
movq (%rbx), %rdx
addq $32, %rdx
movl $2, %edi
movl $1, %esi
callq _set_sprite_palette
movq (%rbx), %rdx
addq $48, %rdx
movl $3, %edi
movl $1, %esi
callq _set_sprite_palette
movq (%rbx), %rdx
addq $64, %rdx
movl $4, %edi
movl $1, %esi
callq _set_sprite_palette
movq (%rbx), %rdx
addq $80, %rdx
movl $5, %edi
movl $1, %esi
callq _set_sprite_palette
movq (%rbx), %rdx
addq $96, %rdx
movl $6, %edi
movl $1, %esi
callq _set_sprite_palette
movq (%rbx), %rdx
addq $112, %rdx
movl $7, %edi
movl $1, %esi
callq _set_sprite_palette
movq _bkg_c@GOTPCREL(%rip), %rbx
movl (%rbx), %r8d
xorl %edi, %edi
xorl %esi, %esi
movl $20, %edx
movl $18, %ecx
callq _set_bkg_attr
jmp LBB0_3
LBB0_1:
movq _bkg_m@GOTPCREL(%rip), %rbx
LBB0_3:
movl (%rbx), %r8d
xorl %ebx, %ebx
xorl %edi, %edi
xorl %esi, %esi
movl $20, %edx
movl $18, %ecx
callq _set_bkg_tiles
movq _pw@GOTPCREL(%rip), %rax
movl $50, (%rax)
movq _bkg@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %edi, %edi
movl $96, %esi
callq _set_bkg_data
movq _msg_1up@GOTPCREL(%rip), %rax
movl (%rax), %r8d
xorl %edi, %edi
xorl %esi, %esi
movl $3, %edx
movl $1, %ecx
callq _set_bkg_tiles
movq _msg_lv@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movl $16, %edi
xorl %esi, %esi
movl $2, %edx
movl $1, %ecx
callq _set_bkg_tiles
movq _fore@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %edi, %edi
movl $128, %esi
callq _set_sprite_data
movq _DEF_SP@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl (%r14), %esi
movl %ebx, %edi
callq _set_sprite_tile
movl %ebx, %edi
xorl %esi, %esi
xorl %edx, %edx
callq _move_sprite
incl %ebx
cmpl $40, %ebx
jne LBB0_4
## %bb.5:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm __cpu,8,3 ## @_cpu
.comm _CGB_TYPE,8,3 ## @CGB_TYPE
.comm _bkg_p,8,3 ## @bkg_p
.comm _obj_p,8,3 ## @obj_p
.comm _bkg_c,4,2 ## @bkg_c
.comm _bkg_m,4,2 ## @bkg_m
.comm _pw,4,2 ## @pw
.comm _bkg,4,2 ## @bkg
.comm _msg_1up,4,2 ## @msg_1up
.comm _msg_lv,4,2 ## @msg_lv
.comm _SHOW_BKG,4,2 ## @SHOW_BKG
.comm _SPRITES_8x8,4,2 ## @SPRITES_8x8
.comm _fore,4,2 ## @fore
.comm _SHOW_SPRITES,4,2 ## @SHOW_SPRITES
.comm _DEF_SP,4,2 ## @DEF_SP
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_screen ; -- Begin function init_screen
.p2align 2
_init_screen: ; @init_screen
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, __cpu@GOTPAGE
Lloh1:
ldr x8, [x8, __cpu@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _CGB_TYPE@GOTPAGE
Lloh4:
ldr x9, [x9, _CGB_TYPE@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
Lloh6:
adrp x19, _bkg_p@GOTPAGE
Lloh7:
ldr x19, [x19, _bkg_p@GOTPAGEOFF]
ldr x2, [x19]
mov w0, #0
mov w1, #1
bl _set_bkg_palette
ldr x8, [x19]
add x2, x8, #16
mov w0, #1
mov w1, #1
bl _set_bkg_palette
ldr x8, [x19]
add x2, x8, #32
mov w0, #2
mov w1, #1
bl _set_bkg_palette
ldr x8, [x19]
add x2, x8, #48
mov w0, #3
mov w1, #1
bl _set_bkg_palette
ldr x8, [x19]
add x2, x8, #64
mov w0, #4
mov w1, #1
bl _set_bkg_palette
ldr x8, [x19]
add x2, x8, #80
mov w0, #5
mov w1, #1
bl _set_bkg_palette
ldr x8, [x19]
add x2, x8, #96
mov w0, #6
mov w1, #1
bl _set_bkg_palette
ldr x8, [x19]
add x2, x8, #112
mov w0, #7
mov w1, #1
bl _set_bkg_palette
Lloh8:
adrp x19, _obj_p@GOTPAGE
Lloh9:
ldr x19, [x19, _obj_p@GOTPAGEOFF]
ldr x2, [x19]
mov w0, #0
mov w1, #1
bl _set_sprite_palette
ldr x8, [x19]
add x2, x8, #16
mov w0, #1
mov w1, #1
bl _set_sprite_palette
ldr x8, [x19]
add x2, x8, #32
mov w0, #2
mov w1, #1
bl _set_sprite_palette
ldr x8, [x19]
add x2, x8, #48
mov w0, #3
mov w1, #1
bl _set_sprite_palette
ldr x8, [x19]
add x2, x8, #64
mov w0, #4
mov w1, #1
bl _set_sprite_palette
ldr x8, [x19]
add x2, x8, #80
mov w0, #5
mov w1, #1
bl _set_sprite_palette
ldr x8, [x19]
add x2, x8, #96
mov w0, #6
mov w1, #1
bl _set_sprite_palette
ldr x8, [x19]
add x2, x8, #112
mov w0, #7
mov w1, #1
bl _set_sprite_palette
Lloh10:
adrp x19, _bkg_c@GOTPAGE
Lloh11:
ldr x19, [x19, _bkg_c@GOTPAGEOFF]
ldr w4, [x19]
mov w0, #0
mov w1, #0
mov w2, #20
mov w3, #18
bl _set_bkg_attr
b LBB0_3
LBB0_2:
Lloh12:
adrp x19, _bkg_m@GOTPAGE
Lloh13:
ldr x19, [x19, _bkg_m@GOTPAGEOFF]
LBB0_3:
ldr w4, [x19]
mov w0, #0
mov w1, #0
mov w2, #20
mov w3, #18
bl _set_bkg_tiles
Lloh14:
adrp x8, _pw@GOTPAGE
Lloh15:
ldr x8, [x8, _pw@GOTPAGEOFF]
mov w9, #50
Lloh16:
str w9, [x8]
Lloh17:
adrp x8, _bkg@GOTPAGE
Lloh18:
ldr x8, [x8, _bkg@GOTPAGEOFF]
Lloh19:
ldr w2, [x8]
mov w0, #0
mov w1, #96
bl _set_bkg_data
Lloh20:
adrp x8, _msg_1up@GOTPAGE
Lloh21:
ldr x8, [x8, _msg_1up@GOTPAGEOFF]
Lloh22:
ldr w4, [x8]
mov w0, #0
mov w1, #0
mov w2, #3
mov w3, #1
bl _set_bkg_tiles
Lloh23:
adrp x8, _msg_lv@GOTPAGE
Lloh24:
ldr x8, [x8, _msg_lv@GOTPAGEOFF]
Lloh25:
ldr w4, [x8]
mov w0, #16
mov w1, #0
mov w2, #2
mov w3, #1
bl _set_bkg_tiles
Lloh26:
adrp x8, _fore@GOTPAGE
Lloh27:
ldr x8, [x8, _fore@GOTPAGEOFF]
Lloh28:
ldr w2, [x8]
mov w0, #0
mov w1, #128
bl _set_sprite_data
mov w19, #0
Lloh29:
adrp x20, _DEF_SP@GOTPAGE
Lloh30:
ldr x20, [x20, _DEF_SP@GOTPAGEOFF]
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w1, [x20]
mov x0, x19
bl _set_sprite_tile
mov x0, x19
mov w1, #0
mov w2, #0
bl _move_sprite
add w19, w19, #1
cmp w19, #40
b.ne LBB0_4
; %bb.5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotStr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm __cpu,8,3 ; @_cpu
.comm _CGB_TYPE,8,3 ; @CGB_TYPE
.comm _bkg_p,8,3 ; @bkg_p
.comm _obj_p,8,3 ; @obj_p
.comm _bkg_c,4,2 ; @bkg_c
.comm _bkg_m,4,2 ; @bkg_m
.comm _pw,4,2 ; @pw
.comm _bkg,4,2 ; @bkg
.comm _msg_1up,4,2 ; @msg_1up
.comm _msg_lv,4,2 ; @msg_lv
.comm _SHOW_BKG,4,2 ; @SHOW_BKG
.comm _SPRITES_8x8,4,2 ; @SPRITES_8x8
.comm _fore,4,2 ; @fore
.comm _SHOW_SPRITES,4,2 ; @SHOW_SPRITES
.comm _DEF_SP,4,2 ; @DEF_SP
.subsections_via_symbols
| AnghaBench/gb-studio/buildTools/win32-ia32/gbdk/examples/gb/dscan/extr_dscan.c_init_screen.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Strcat ## -- Begin function Strcat
.p2align 4, 0x90
_Strcat: ## @Strcat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
testq %rdi, %rdi
je LBB0_7
## %bb.1:
testq %rsi, %rsi
je LBB0_7
## %bb.2:
decq %rdi
movq %rdi, %rax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpb $0, 1(%rax)
leaq 1(%rax), %rax
jne LBB0_3
## %bb.4:
movb (%rsi), %cl
movb %cl, (%rax)
cmpb $0, (%rsi)
je LBB0_7
## %bb.5:
incq %rsi
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movzbl (%rsi), %ecx
movb %cl, 1(%rax)
incq %rax
cmpb $0, (%rsi)
leaq 1(%rsi), %rsi
jne LBB0_6
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Strncat ## -- Begin function Strncat
.p2align 4, 0x90
_Strncat: ## @Strncat
.cfi_startproc
## %bb.0:
xorl %eax, %eax
testq %rdi, %rdi
je LBB1_11
## %bb.1:
testq %rsi, %rsi
je LBB1_11
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
movq %rdi, %rax
incq %rdi
cmpb $0, (%rax)
jne LBB1_3
## %bb.4:
movb (%rsi), %r8b
testb %r8b, %r8b
je LBB1_10
## %bb.5:
testq %rdx, %rdx
je LBB1_10
## %bb.6:
movl $1, %eax
.p2align 4, 0x90
LBB1_7: ## =>This Inner Loop Header: Depth=1
movb %r8b, -2(%rdi,%rax)
movzbl (%rsi,%rax), %r8d
leaq 1(%rax), %rcx
testb %r8b, %r8b
je LBB1_9
## %bb.8: ## in Loop: Header=BB1_7 Depth=1
cmpq %rdx, %rax
movq %rcx, %rax
jb LBB1_7
LBB1_9:
leaq (%rdi,%rcx), %rax
addq $-2, %rax
LBB1_10:
movb $0, (%rax)
popq %rbp
LBB1_11:
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $272, %rsp ## imm = 0x110
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -32(%rbp)
movups %xmm0, -41(%rbp)
movups %xmm0, -57(%rbp)
movups %xmm0, -73(%rbp)
movups %xmm0, -89(%rbp)
movups %xmm0, -105(%rbp)
movups %xmm0, -121(%rbp)
movups %xmm0, -137(%rbp)
movups %xmm0, -153(%rbp)
movups %xmm0, -169(%rbp)
movups %xmm0, -185(%rbp)
movups %xmm0, -201(%rbp)
movups %xmm0, -217(%rbp)
movups %xmm0, -233(%rbp)
movups %xmm0, -249(%rbp)
movups %xmm0, -265(%rbp)
movl $1936025684, -272(%rbp) ## imm = 0x73656854
movl $2123123, -269(%rbp) ## imm = 0x206573
leaq -271(%rbp), %rcx
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rcx)
leaq 1(%rcx), %rcx
jne LBB2_1
## %bb.2:
leaq -272(%rbp), %rax
movb $115, -1(%rcx)
movabsq $9134087325971060, %rdx ## imm = 0x2073676E697274
movq %rdx, (%rcx)
.p2align 4, 0x90
LBB2_3: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rax)
leaq 1(%rax), %rax
jne LBB2_3
## %bb.4:
leaq -272(%rbp), %rcx
movb $97, -1(%rax)
movl $2123122, (%rax) ## imm = 0x206572
.p2align 4, 0x90
LBB2_5: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rcx)
leaq 1(%rcx), %rcx
jne LBB2_5
## %bb.6:
movb $99, -1(%rcx)
movabsq $7020660419641699951, %rax ## imm = 0x616E657461636E6F
movq %rax, (%rcx)
movl $6579572, 8(%rcx) ## imm = 0x646574
leaq L_.str.4(%rip), %rdi
leaq -272(%rbp), %rsi
xorl %eax, %eax
callq _printf
callq _getchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -8(%rbp), %rax
jne LBB2_8
## %bb.7:
xorl %eax, %eax
addq $272, %rsp ## imm = 0x110
popq %rbp
retq
LBB2_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "These "
L_.str.3: ## @.str.3
.asciz "concatenated"
L_.str.4: ## @.str.4
.asciz "%s.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Strcat ; -- Begin function Strcat
.p2align 2
_Strcat: ; @Strcat
.cfi_startproc
; %bb.0:
mov x8, #0
cbz x0, LBB0_7
; %bb.1:
cbz x1, LBB0_7
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x0], #1
cbnz w8, LBB0_2
; %bb.3:
ldrb w9, [x1]
mov x8, x0
strb w9, [x8, #-1]!
ldrb w9, [x1]
cbz w9, LBB0_7
; %bb.4:
mov x8, #0
add x9, x1, #1
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x9, x8]
strb w10, [x0, x8]
ldrb w10, [x9, x8]
add x8, x8, #1
cbnz w10, LBB0_5
; %bb.6:
add x8, x0, x8
sub x8, x8, #1
LBB0_7:
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _Strncat ; -- Begin function Strncat
.p2align 2
_Strncat: ; @Strncat
.cfi_startproc
; %bb.0:
mov x8, x0
mov x0, #0
cbz x8, LBB1_9
; %bb.1:
cbz x1, LBB1_9
; %bb.2:
sub x0, x8, #1
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x0, #1]!
cbnz w8, LBB1_3
; %bb.4:
ldrb w8, [x1]
cmp w8, #0
ccmp x2, #0, #4, ne
b.eq LBB1_8
; %bb.5:
mov x10, #0
add x9, x1, #1
LBB1_6: ; =>This Inner Loop Header: Depth=1
strb w8, [x0, x10]
add x11, x10, #1
ldrb w8, [x9, x10]
cmp w8, #0
ccmp x11, x2, #2, ne
mov x10, x11
b.lo LBB1_6
; %bb.7:
add x0, x0, x11
LBB1_8:
strb wzr, [x0]
LBB1_9:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #304
.cfi_def_cfa_offset 304
stp x28, x27, [sp, #272] ; 16-byte Folded Spill
stp x29, x30, [sp, #288] ; 16-byte Folded Spill
add x29, sp, #288
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
add x8, sp, #8
movi.2d v0, #0000000000000000
stur q0, [sp, #248]
stur q0, [x8, #231]
stur q0, [x8, #215]
stur q0, [x8, #199]
stur q0, [x8, #183]
stur q0, [x8, #167]
stur q0, [x8, #151]
stur q0, [x8, #135]
stur q0, [sp, #127]
stur q0, [sp, #111]
stur q0, [sp, #95]
stur q0, [sp, #79]
stur q0, [sp, #63]
stur q0, [sp, #47]
stur q0, [sp, #31]
stur q0, [sp, #15]
mov w9, #26708
movk w9, #29541, lsl #16
str w9, [sp, #8]
mov w9, #25971
movk w9, #32, lsl #16
orr x8, x8, #0x1
stur w9, [sp, #11]
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8], #1
cbnz w9, LBB2_1
; %bb.2:
add x9, sp, #8
mov w10, #115
sturb w10, [x8, #-1]
mov x10, #29300
movk x10, #28265, lsl #16
movk x10, #29543, lsl #32
movk x10, #32, lsl #48
str x10, [x8]
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x9], #1
cbnz w8, LBB2_3
; %bb.4:
add x8, sp, #8
mov w10, #97
sturb w10, [x9, #-1]
mov w10, #25970
movk w10, #32, lsl #16
str w10, [x9]
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8], #1
cbnz w9, LBB2_5
; %bb.6:
mov w9, #99
sturb w9, [x8, #-1]
mov w9, #25972
movk w9, #100, lsl #16
str w9, [x8, #8]
Lloh3:
adrp x9, l_.str.3@PAGE+1
Lloh4:
add x9, x9, l_.str.3@PAGEOFF+1
Lloh5:
ldr x9, [x9]
str x9, [x8]
add x8, sp, #8
str x8, [sp]
Lloh6:
adrp x0, l_.str.4@PAGE
Lloh7:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
bl _getchar
ldur x8, [x29, #-24]
Lloh8:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_8
; %bb.7:
mov w0, #0
ldp x29, x30, [sp, #288] ; 16-byte Folded Reload
ldp x28, x27, [sp, #272] ; 16-byte Folded Reload
add sp, sp, #304
ret
LBB2_8:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAddLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "These "
l_.str.3: ; @.str.3
.asciz "concatenated"
l_.str.4: ; @.str.4
.asciz "%s.\n"
.subsections_via_symbols
| the_stack_data/36074434.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function write_version
_write_version: ## @write_version
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
movl 12(%rdx), %edx
callq _write_byte
xorl %r14d, %r14d
testq %rax, %rax
je LBB0_4
## %bb.1:
movl 8(%r12), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _write_byte
testq %rax, %rax
je LBB0_4
## %bb.2:
movl 4(%r12), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _write_int16
testq %rax, %rax
je LBB0_4
## %bb.3:
movl (%r12), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _write_int32
xorl %r14d, %r14d
testq %rax, %rax
setne %r14b
LBB0_4:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _write_version
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function write_version
_write_version: ; @write_version
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x19, x1
mov x20, x0
ldr w2, [x2, #12]
bl _write_byte
cbz x0, LBB0_4
; %bb.1:
ldr w2, [x21, #8]
mov x0, x20
mov x1, x19
bl _write_byte
cbz x0, LBB0_4
; %bb.2:
ldr w2, [x21, #4]
mov x0, x20
mov x1, x19
bl _write_int16
cbz x0, LBB0_4
; %bb.3:
ldr w2, [x21]
mov x0, x20
mov x1, x19
bl _write_int32
cmp x0, #0
cset w0, ne
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _write_version
.subsections_via_symbols
| AnghaBench/libgit2/deps/ntlmclient/extr_ntlm.c_write_version.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_ctl_remove_id ## -- Begin function snd_ctl_remove_id
.p2align 4, 0x90
_snd_ctl_remove_id: ## @snd_ctl_remove_id
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _down_write
movq %rbx, %rdi
movq %r14, %rsi
callq _snd_ctl_find_id
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rbx, %rdi
movq %rax, %rsi
callq _snd_ctl_remove
movl %eax, %r14d
movq %rbx, %rdi
callq _up_write
movl %r14d, %eax
jmp LBB0_2
LBB0_1:
movq %rbx, %rdi
callq _up_write
movq _ENOENT@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOENT,4,2 ## @ENOENT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_ctl_remove_id ; -- Begin function snd_ctl_remove_id
.p2align 2
_snd_ctl_remove_id: ; @snd_ctl_remove_id
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
bl _down_write
mov x0, x19
mov x1, x20
bl _snd_ctl_find_id
cbz x0, LBB0_2
; %bb.1:
mov x1, x0
mov x0, x19
bl _snd_ctl_remove
mov x20, x0
mov x0, x19
bl _up_write
mov x0, x20
b LBB0_3
LBB0_2:
mov x0, x19
bl _up_write
Lloh0:
adrp x8, _ENOENT@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOENT,4,2 ; @ENOENT
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/core/extr_control.c_snd_ctl_remove_id.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _replace_string ## -- Begin function replace_string
.p2align 4, 0x90
_replace_string: ## @replace_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq _strstr
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
callq _pg_strdup
movq %rax, %r13
subq %r12, %rbx
leal 1(%rbx), %edx
movq %r12, %rdi
movq %rax, %rsi
callq _strlcpy
movq %r12, %rdi
movq %r14, %rsi
callq _strcat
addq %r13, %rbx
movq %r15, %rdi
callq _strlen
movslq %eax, %rsi
addq %rbx, %rsi
movq %r12, %rdi
callq _strcat
movq %r13, %rdi
callq _free
movq %r12, %rdi
movq %r15, %rsi
callq _strstr
movq %rax, %rbx
testq %rax, %rax
jne LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _replace_string ; -- Begin function replace_string
.p2align 2
_replace_string: ; @replace_string
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
mov x21, x0
bl _strstr
cbz x0, LBB0_3
; %bb.1:
mov x22, x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _pg_strdup
mov x23, x0
sub x22, x22, x21
add w2, w22, #1
mov x0, x21
mov x1, x23
bl _strlcpy
mov x0, x21
mov x1, x19
bl _strcat
add x22, x23, x22
mov x0, x20
bl _strlen
add x1, x22, w0, sxtw
mov x0, x21
bl _strcat
mov x0, x23
bl _free
mov x0, x21
mov x1, x20
bl _strstr
mov x22, x0
cbnz x0, LBB0_2
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/postgres/src/test/regress/extr_pg_regress.c_replace_string.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -4(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movl -8(%rbp), %eax
leal 1(%rax), %ecx
movl %ecx, -8(%rbp)
movl -4(%rbp), %edx
leal -1(%rdx), %edi
movl %edi, -4(%rbp)
addl %edx, %eax
decl %eax
xorl %esi, %esi
cmpl %edi, %ecx
setl %sil
addl %eax, %esi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter x and y: "
L_.str.1: ## @.str.1
.asciz "%d%d"
L_.str.2: ## @.str.2
.asciz "z = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #8
sub x9, x29, #4
stp x9, x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldp w10, w8, [x29, #-8]
add w9, w8, #1
sub w10, w10, #1
stp w10, w9, [x29, #-8]
add w8, w10, w8
cmp w9, w10
cinc w8, w8, lt
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter x and y: "
l_.str.1: ; @.str.1
.asciz "%d%d"
l_.str.2: ; @.str.2
.asciz "z = %d\n"
.subsections_via_symbols
| the_stack_data/211081373.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3ff3ae147ae147ae ## double 1.23
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rbx
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movq %rbx, %rsi
movl $7, %edx
movl $97, %ecx
movb $1, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movq %rbx, %rsi
movl $7, %edx
movl $97, %ecx
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movb $1, %al
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "1234567890123456789012345678901234567890\n"
L_.str.1: ## @.str.1
.asciz "%10s%10d%10c%10f\n\n"
L_.str.2: ## @.str.2
.asciz "hello"
L_.str.3: ## @.str.3
.asciz "%-10s%-10d%-10c%-10f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _puts
mov x19, #18350
movk x19, #31457, lsl #16
movk x19, #44564, lsl #32
movk x19, #16371, lsl #48
mov w20, #97
stp x20, x19, [sp, #16]
Lloh2:
adrp x21, l_.str.2@PAGE
Lloh3:
add x21, x21, l_.str.2@PAGEOFF
mov w22, #7
stp x21, x22, [sp]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stp x20, x19, [sp, #16]
stp x21, x22, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "1234567890123456789012345678901234567890\n"
l_.str.1: ; @.str.1
.asciz "%10s%10d%10c%10f\n\n"
l_.str.2: ; @.str.2
.asciz "hello"
l_.str.3: ; @.str.3
.asciz "%-10s%-10d%-10c%-10f\n"
.subsections_via_symbols
| the_stack_data/701427.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _arm_legitimate_address_p ## -- Begin function arm_legitimate_address_p
.p2align 4, 0x90
_arm_legitimate_address_p: ## @arm_legitimate_address_p
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movl %edx, %r14d
movl %esi, %r15d
movl %edi, %ebx
movl %esi, %edi
callq _GET_CODE
movq %rax, %r13
movl %r15d, %edi
movl %r12d, %esi
callq _arm_address_register_rtx_p
testl %eax, %eax
je LBB0_3
LBB0_1:
movl $1, %r14d
LBB0_2:
movl %r14d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq _TARGET_LDRD@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
movl %r14d, -48(%rbp) ## 4-byte Spill
movl %ebx, -44(%rbp) ## 4-byte Spill
je LBB0_8
## %bb.4:
movq _DImode@GOTPCREL(%rip), %rax
movb $1, %r14b
cmpl %ebx, (%rax)
je LBB0_9
## %bb.5:
movq _DFmode@GOTPCREL(%rip), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, (%rax)
jne LBB0_8
## %bb.6:
movq _TARGET_SOFT_FLOAT@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _TARGET_VFP@GOTPCREL(%rip), %rcx
orq (%rcx), %rax
setne %r14b
jmp LBB0_9
LBB0_8:
xorl %r14d, %r14d
LBB0_9:
movq _POST_INC@GOTPCREL(%rip), %rax
cmpl %r13d, (%rax)
je LBB0_15
## %bb.10:
movq _PRE_DEC@GOTPCREL(%rip), %rax
cmpl %r13d, (%rax)
je LBB0_15
## %bb.11:
movq _PRE_INC@GOTPCREL(%rip), %rax
cmpl %r13d, (%rax)
je LBB0_13
## %bb.12:
movq _POST_DEC@GOTPCREL(%rip), %rax
cmpl %r13d, (%rax)
jne LBB0_16
LBB0_13:
testb %r14b, %r14b
jne LBB0_15
## %bb.14:
movl -44(%rbp), %edi ## 4-byte Reload
callq _GET_MODE_SIZE
cmpl $4, %eax
jg LBB0_16
LBB0_15:
movl %r15d, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
movl %r12d, %esi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _arm_address_register_rtx_p ## TAILCALL
LBB0_16:
movq _POST_MODIFY@GOTPCREL(%rip), %rbx
cmpl %r13d, (%rbx)
je LBB0_18
## %bb.17:
movq _PRE_MODIFY@GOTPCREL(%rip), %rax
cmpl %r13d, (%rax)
jne LBB0_24
LBB0_18:
movl %r15d, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
movl %r12d, %esi
callq _arm_address_register_rtx_p
testl %eax, %eax
je LBB0_24
## %bb.19:
movl %r15d, %edi
movl $1, %esi
callq _XEXP
movl %eax, %edi
callq _GET_CODE
movq _PLUS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_24
## %bb.20:
movl %r15d, %edi
movl $1, %esi
callq _XEXP
movl %eax, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, -52(%rbp) ## 4-byte Spill
movl %r15d, %edi
xorl %esi, %esi
callq _XEXP
movl -52(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _rtx_equal_p
testq %rax, %rax
je LBB0_24
## %bb.21:
movl %r15d, %edi
movl $1, %esi
callq _XEXP
movl %eax, %edi
movl $1, %esi
callq _XEXP
movl %eax, %r13d
testb %r14b, %r14b
je LBB0_43
## %bb.22:
movl %r15d, %edi
callq _GET_CODE
movslq (%rbx), %rcx
cmpq %rcx, %rax
jne LBB0_44
## %bb.23:
movl %r13d, %edi
callq _GET_CODE
movq _REG@GOTPCREL(%rip), %rcx
xorl %r14d, %r14d
cmpq (%rcx), %rax
je LBB0_2
jmp LBB0_44
LBB0_24:
movq _reload_completed@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_31
## %bb.25:
movq _LABEL_REF@GOTPCREL(%rip), %r14
cmpl %r13d, (%r14)
je LBB0_1
## %bb.27:
movq _CONST@GOTPCREL(%rip), %rax
cmpl %r13d, (%rax)
jne LBB0_31
## %bb.28:
movl %r15d, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _GET_CODE
movq _PLUS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_31
## %bb.29:
movl %r15d, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _GET_CODE
movslq (%r14), %rcx
cmpq %rcx, %rax
jne LBB0_31
## %bb.30:
movl %r15d, %edi
xorl %esi, %esi
callq _XEXP
movl $1, %r14d
movl %eax, %edi
movl $1, %esi
callq _XEXP
movl %eax, %edi
callq _GET_CODE
movq _CONST_INT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_2
LBB0_31:
movq _TImode@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
movl -44(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, (%rax)
je LBB0_2
## %bb.32:
movl %r13d, %eax
movq _PLUS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_36
## %bb.33:
movl %r15d, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %r13d
movl $1, %r14d
movl %r15d, %edi
movl $1, %esi
callq _XEXP
movl %eax, %ebx
movl %r13d, %edi
movl %r12d, %esi
callq _arm_address_register_rtx_p
testl %eax, %eax
je LBB0_35
## %bb.34:
movl -44(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
movl -48(%rbp), %edx ## 4-byte Reload
movl %r12d, %ecx
callq _arm_legitimate_index_p
testq %rax, %rax
jne LBB0_2
LBB0_35:
movl %ebx, %edi
movl %r12d, %esi
callq _arm_address_register_rtx_p
movl $0, %r14d
testl %eax, %eax
jne LBB0_44
jmp LBB0_2
LBB0_36:
movl -44(%rbp), %edi ## 4-byte Reload
callq _GET_MODE_CLASS
movq _MODE_FLOAT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_42
## %bb.37:
movq _SYMBOL_REF@GOTPCREL(%rip), %rax
cmpl %r13d, (%rax)
jne LBB0_42
## %bb.38:
movl %r15d, %edi
callq _CONSTANT_POOL_ADDRESS_P
testq %rax, %rax
je LBB0_42
## %bb.39:
movq _flag_pic@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_1
## %bb.40:
movl %r15d, %edi
callq _get_pool_constant
movl %eax, %edi
callq _symbol_mentioned_p
testq %rax, %rax
je LBB0_1
## %bb.41:
movl %r15d, %edi
callq _get_pool_constant
movl %eax, %edi
callq _pcrel_constant_p
movl $1, %r14d
testl %eax, %eax
jne LBB0_2
LBB0_42:
xorl %r14d, %r14d
jmp LBB0_2
LBB0_43:
movl -44(%rbp), %edi ## 4-byte Reload
callq _GET_MODE_SIZE
xorl %r14d, %r14d
cmpl $4, %eax
jg LBB0_2
LBB0_44:
movl -44(%rbp), %edi ## 4-byte Reload
movl %r13d, %esi
movl -48(%rbp), %edx ## 4-byte Reload
movl %r12d, %ecx
callq _arm_legitimate_index_p
xorl %r14d, %r14d
testq %rax, %rax
setne %r14b
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _TARGET_LDRD,8,3 ## @TARGET_LDRD
.comm _DImode,4,2 ## @DImode
.comm _DFmode,4,2 ## @DFmode
.comm _TARGET_SOFT_FLOAT,8,3 ## @TARGET_SOFT_FLOAT
.comm _TARGET_VFP,8,3 ## @TARGET_VFP
.comm _POST_INC,4,2 ## @POST_INC
.comm _PRE_DEC,4,2 ## @PRE_DEC
.comm _PRE_INC,4,2 ## @PRE_INC
.comm _POST_DEC,4,2 ## @POST_DEC
.comm _POST_MODIFY,4,2 ## @POST_MODIFY
.comm _PRE_MODIFY,4,2 ## @PRE_MODIFY
.comm _PLUS,8,3 ## @PLUS
.comm _REG,8,3 ## @REG
.comm _reload_completed,8,3 ## @reload_completed
.comm _LABEL_REF,4,2 ## @LABEL_REF
.comm _CONST,4,2 ## @CONST
.comm _CONST_INT,8,3 ## @CONST_INT
.comm _TImode,4,2 ## @TImode
.comm _MODE_FLOAT,8,3 ## @MODE_FLOAT
.comm _SYMBOL_REF,4,2 ## @SYMBOL_REF
.comm _flag_pic,8,3 ## @flag_pic
.comm _MINUS,8,3 ## @MINUS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _arm_legitimate_address_p ; -- Begin function arm_legitimate_address_p
.p2align 2
_arm_legitimate_address_p: ; @arm_legitimate_address_p
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x3
mov x20, x2
mov x22, x1
mov x21, x0
mov x0, x1
bl _GET_CODE
mov x23, x0
mov x0, x22
mov x1, x19
bl _arm_address_register_rtx_p
cbz w0, LBB0_3
LBB0_1:
mov w24, #1
LBB0_2:
mov x0, x24
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh0:
adrp x8, _TARGET_LDRD@GOTPAGE
Lloh1:
ldr x8, [x8, _TARGET_LDRD@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_8
; %bb.4:
Lloh3:
adrp x8, _DImode@GOTPAGE
Lloh4:
ldr x8, [x8, _DImode@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w8, w21
b.ne LBB0_6
; %bb.5:
mov w25, #1
b LBB0_9
LBB0_6:
Lloh6:
adrp x8, _DFmode@GOTPAGE
Lloh7:
ldr x8, [x8, _DFmode@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
cmp w8, w21
b.ne LBB0_8
; %bb.7:
Lloh9:
adrp x8, _TARGET_SOFT_FLOAT@GOTPAGE
Lloh10:
ldr x8, [x8, _TARGET_SOFT_FLOAT@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
Lloh12:
adrp x9, _TARGET_VFP@GOTPAGE
Lloh13:
ldr x9, [x9, _TARGET_VFP@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
orr x8, x8, x9
cmp x8, #0
cset w25, ne
b LBB0_9
LBB0_8:
mov w25, #0
LBB0_9:
Lloh15:
adrp x8, _POST_INC@GOTPAGE
Lloh16:
ldr x8, [x8, _POST_INC@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
Lloh18:
adrp x9, _PRE_DEC@GOTPAGE
Lloh19:
ldr x9, [x9, _PRE_DEC@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
cmp w8, w23
ccmp w9, w23, #4, ne
b.ne LBB0_11
LBB0_10:
mov x0, x22
mov w1, #0
bl _XEXP
mov x1, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _arm_address_register_rtx_p
LBB0_11:
Lloh21:
adrp x8, _PRE_INC@GOTPAGE
Lloh22:
ldr x8, [x8, _PRE_INC@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
Lloh24:
adrp x9, _POST_DEC@GOTPAGE
Lloh25:
ldr x9, [x9, _POST_DEC@GOTPAGEOFF]
Lloh26:
ldr w9, [x9]
cmp w8, w23
ccmp w9, w23, #4, ne
b.ne LBB0_14
; %bb.12:
tbnz w25, #0, LBB0_10
; %bb.13:
mov x0, x21
bl _GET_MODE_SIZE
cmp w0, #4
b.le LBB0_10
LBB0_14:
Lloh27:
adrp x26, _POST_MODIFY@GOTPAGE
Lloh28:
ldr x26, [x26, _POST_MODIFY@GOTPAGEOFF]
ldr w8, [x26]
Lloh29:
adrp x9, _PRE_MODIFY@GOTPAGE
Lloh30:
ldr x9, [x9, _PRE_MODIFY@GOTPAGEOFF]
Lloh31:
ldr w9, [x9]
cmp w8, w23
ccmp w9, w23, #4, ne
b.ne LBB0_21
; %bb.15:
mov x0, x22
mov w1, #0
bl _XEXP
mov x1, x19
bl _arm_address_register_rtx_p
cbz w0, LBB0_21
; %bb.16:
mov x0, x22
mov w1, #1
bl _XEXP
bl _GET_CODE
Lloh32:
adrp x8, _PLUS@GOTPAGE
Lloh33:
ldr x8, [x8, _PLUS@GOTPAGEOFF]
Lloh34:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_21
; %bb.17:
mov x0, x22
mov w1, #1
bl _XEXP
mov w1, #0
bl _XEXP
mov x24, x0
mov x0, x22
mov w1, #0
bl _XEXP
mov x1, x0
mov x0, x24
bl _rtx_equal_p
cbz x0, LBB0_21
; %bb.18:
mov x0, x22
mov w1, #1
bl _XEXP
mov w1, #1
bl _XEXP
mov x23, x0
cbz w25, LBB0_39
; %bb.19:
mov x0, x22
bl _GET_CODE
ldrsw x8, [x26]
cmp x0, x8
b.ne LBB0_40
; %bb.20:
mov x0, x23
bl _GET_CODE
Lloh35:
adrp x8, _REG@GOTPAGE
Lloh36:
ldr x8, [x8, _REG@GOTPAGEOFF]
Lloh37:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_28
b LBB0_40
LBB0_21:
Lloh38:
adrp x8, _reload_completed@GOTPAGE
Lloh39:
ldr x8, [x8, _reload_completed@GOTPAGEOFF]
Lloh40:
ldr x8, [x8]
cbz x8, LBB0_27
; %bb.22:
Lloh41:
adrp x24, _LABEL_REF@GOTPAGE
Lloh42:
ldr x24, [x24, _LABEL_REF@GOTPAGEOFF]
ldr w8, [x24]
cmp w8, w23
b.eq LBB0_1
; %bb.23:
Lloh43:
adrp x8, _CONST@GOTPAGE
Lloh44:
ldr x8, [x8, _CONST@GOTPAGEOFF]
Lloh45:
ldr w8, [x8]
cmp w8, w23
b.ne LBB0_27
; %bb.24:
mov x0, x22
mov w1, #0
bl _XEXP
bl _GET_CODE
Lloh46:
adrp x8, _PLUS@GOTPAGE
Lloh47:
ldr x8, [x8, _PLUS@GOTPAGEOFF]
Lloh48:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_27
; %bb.25:
mov x0, x22
mov w1, #0
bl _XEXP
mov w1, #0
bl _XEXP
bl _GET_CODE
ldrsw x8, [x24]
cmp x0, x8
b.ne LBB0_27
; %bb.26:
mov x0, x22
mov w1, #0
bl _XEXP
mov w24, #1
mov w1, #1
bl _XEXP
bl _GET_CODE
Lloh49:
adrp x8, _CONST_INT@GOTPAGE
Lloh50:
ldr x8, [x8, _CONST_INT@GOTPAGEOFF]
Lloh51:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_2
LBB0_27:
Lloh52:
adrp x8, _TImode@GOTPAGE
Lloh53:
ldr x8, [x8, _TImode@GOTPAGEOFF]
Lloh54:
ldr w8, [x8]
cmp w8, w21
b.ne LBB0_29
LBB0_28:
mov w24, #0
b LBB0_2
LBB0_29:
Lloh55:
adrp x8, _PLUS@GOTPAGE
Lloh56:
ldr x8, [x8, _PLUS@GOTPAGEOFF]
Lloh57:
ldr x8, [x8]
cmp x8, w23, uxtw
b.ne LBB0_33
; %bb.30:
mov x0, x22
mov w1, #0
bl _XEXP
mov x23, x0
mov x0, x22
mov w1, #1
bl _XEXP
mov x22, x0
mov x0, x23
mov x1, x19
bl _arm_address_register_rtx_p
cbz w0, LBB0_32
; %bb.31:
mov x0, x21
mov x1, x22
mov x2, x20
mov x3, x19
bl _arm_legitimate_index_p
cbnz x0, LBB0_1
LBB0_32:
mov x0, x22
mov x1, x19
bl _arm_address_register_rtx_p
cbnz w0, LBB0_40
b LBB0_28
LBB0_33:
mov x0, x21
bl _GET_MODE_CLASS
Lloh58:
adrp x8, _MODE_FLOAT@GOTPAGE
Lloh59:
ldr x8, [x8, _MODE_FLOAT@GOTPAGEOFF]
Lloh60:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_28
; %bb.34:
Lloh61:
adrp x8, _SYMBOL_REF@GOTPAGE
Lloh62:
ldr x8, [x8, _SYMBOL_REF@GOTPAGEOFF]
Lloh63:
ldr w8, [x8]
cmp w8, w23
b.ne LBB0_28
; %bb.35:
mov x0, x22
bl _CONSTANT_POOL_ADDRESS_P
cbz x0, LBB0_28
; %bb.36:
Lloh64:
adrp x8, _flag_pic@GOTPAGE
Lloh65:
ldr x8, [x8, _flag_pic@GOTPAGEOFF]
Lloh66:
ldr x8, [x8]
cbz x8, LBB0_1
; %bb.37:
mov x0, x22
bl _get_pool_constant
bl _symbol_mentioned_p
cbz x0, LBB0_1
; %bb.38:
mov x0, x22
bl _get_pool_constant
bl _pcrel_constant_p
cbnz w0, LBB0_1
b LBB0_28
LBB0_39:
mov x0, x21
bl _GET_MODE_SIZE
cmp w0, #4
b.gt LBB0_28
LBB0_40:
mov x0, x21
mov x1, x23
mov x2, x20
mov x3, x19
bl _arm_legitimate_index_p
cmp x0, #0
cset w24, ne
b LBB0_2
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.cfi_endproc
; -- End function
.comm _TARGET_LDRD,8,3 ; @TARGET_LDRD
.comm _DImode,4,2 ; @DImode
.comm _DFmode,4,2 ; @DFmode
.comm _TARGET_SOFT_FLOAT,8,3 ; @TARGET_SOFT_FLOAT
.comm _TARGET_VFP,8,3 ; @TARGET_VFP
.comm _POST_INC,4,2 ; @POST_INC
.comm _PRE_DEC,4,2 ; @PRE_DEC
.comm _PRE_INC,4,2 ; @PRE_INC
.comm _POST_DEC,4,2 ; @POST_DEC
.comm _POST_MODIFY,4,2 ; @POST_MODIFY
.comm _PRE_MODIFY,4,2 ; @PRE_MODIFY
.comm _PLUS,8,3 ; @PLUS
.comm _REG,8,3 ; @REG
.comm _reload_completed,8,3 ; @reload_completed
.comm _LABEL_REF,4,2 ; @LABEL_REF
.comm _CONST,4,2 ; @CONST
.comm _CONST_INT,8,3 ; @CONST_INT
.comm _TImode,4,2 ; @TImode
.comm _MODE_FLOAT,8,3 ; @MODE_FLOAT
.comm _SYMBOL_REF,4,2 ; @SYMBOL_REF
.comm _flag_pic,8,3 ; @flag_pic
.comm _MINUS,8,3 ; @MINUS
.subsections_via_symbols
| the_stack_data/193892105.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function clk_divider_gate_recalc_rate
_clk_divider_gate_recalc_rate: ## @clk_divider_gate_recalc_rate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
callq _to_clk_divider_gate
movq %rax, %r12
movq %r15, %rdi
callq _to_clk_divider
movq %rax, %rbx
movl 16(%rax), %edi
xorl %esi, %esi
callq _spin_lock_irqsave
movq %r15, %rdi
callq _clk_hw_is_enabled
testl %eax, %eax
je LBB0_1
## %bb.2:
movl 20(%rbx), %edi
callq _readl
movl %eax, %r13d
movb (%rbx), %cl
shrl %cl, %r13d
movl 4(%rbx), %edi
callq _clk_div_mask
movl %eax, %r12d
andl %r13d, %r12d
jmp LBB0_3
LBB0_1:
movl (%r12), %r12d
LBB0_3:
movl 16(%rbx), %edi
xorl %esi, %esi
callq _spin_unlock_irqrestore
testl %r12d, %r12d
je LBB0_4
## %bb.5:
movl 12(%rbx), %ecx
movl 4(%rbx), %r9d
movl 8(%rbx), %r8d
movq %r15, %rdi
movq %r14, %rsi
movl %r12d, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _divider_recalc_rate ## TAILCALL
LBB0_4:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _clk_divider_gate_recalc_rate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function clk_divider_gate_recalc_rate
_clk_divider_gate_recalc_rate: ; @clk_divider_gate_recalc_rate
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl _to_clk_divider_gate
mov x22, x0
mov x0, x20
bl _to_clk_divider
mov x21, x0
ldr w0, [x0, #16]
mov x1, #0
bl _spin_lock_irqsave
mov x0, x20
bl _clk_hw_is_enabled
cbz w0, LBB0_2
; %bb.1:
ldr w0, [x21, #20]
bl _readl
ldp w9, w8, [x21]
lsr w22, w0, w9
mov x0, x8
bl _clk_div_mask
and w22, w0, w22
b LBB0_3
LBB0_2:
ldr w22, [x22]
LBB0_3:
ldr w0, [x21, #16]
mov x1, #0
bl _spin_unlock_irqrestore
cbz w22, LBB0_5
; %bb.4:
ldp w4, w3, [x21, #8]
ldr w5, [x21, #4]
mov x0, x20
mov x1, x19
mov x2, x22
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _divider_recalc_rate
LBB0_5:
mov x0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _clk_divider_gate_recalc_rate
.subsections_via_symbols
| AnghaBench/linux/drivers/clk/imx/extr_clk-divider-gate.c_clk_divider_gate_recalc_rate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
xorl %ebx, %ebx
leaq -12(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -12(%rbp), %eax
testl %eax, %eax
je LBB0_4
## %bb.1:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
leal (%rbx,%rbx,4), %ecx
movslq %eax, %rdx
imulq $1717986919, %rdx, %rax ## imm = 0x66666667
movq %rax, %rsi
shrq $63, %rsi
sarq $34, %rax
addl %esi, %eax
leal (%rax,%rax), %esi
leal (%rsi,%rsi,4), %esi
movl %edx, %edi
subl %esi, %edi
leal (%rdi,%rcx,2), %ebx
addl $9, %edx
cmpl $18, %edx
ja LBB0_2
## %bb.3:
movl %eax, -12(%rbp)
LBB0_4:
imull $-1431655765, %ebx, %eax ## imm = 0xAAAAAAAB
addl $715827882, %eax ## imm = 0x2AAAAAAA
imull $-858993459, %ebx, %ecx ## imm = 0xCCCCCCCD
addl $429496729, %ecx ## imm = 0x19999999
imull $-1227133513, %ebx, %edx ## imm = 0xB6DB6DB7
addl $306783378, %edx ## imm = 0x12492492
cmpl $613566757, %edx ## imm = 0x24924925
leaq L_.str.2(%rip), %rdx
leaq L_.str.3(%rip), %rdi
cmovbq %rdx, %rdi
cmpl $858993459, %ecx ## imm = 0x33333333
cmovbq %rdx, %rdi
cmpl $1431655765, %eax ## imm = 0x55555555
cmovbq %rdx, %rdi
testb $1, %bl
cmoveq %rdx, %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "this number is not emirp"
L_.str.3: ## @.str.3
.asciz "this number is emirp"
L_str: ## @str
.asciz "enter a number:"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w9, [x29, #-4]
cbz w9, LBB0_4
; %bb.1:
mov w8, #0
mov w10, #26215
movk w10, #26214, lsl #16
mov w11, #10
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x12, x9
smull x9, w9, w10
lsr x13, x9, #63
asr x9, x9, #34
add w9, w9, w13
msub w13, w9, w11, w12
madd w8, w8, w11, w13
add w12, w12, #9
cmp w12, #18
b.hi LBB0_2
; %bb.3:
stur w9, [x29, #-4]
b LBB0_5
LBB0_4:
mov w8, #0
LBB0_5:
and w9, w8, #0x1
mov w10, #43691
movk w10, #43690, lsl #16
mov w11, #43690
movk w11, #10922, lsl #16
madd w10, w8, w10, w11
mov w11, #52429
movk w11, #52428, lsl #16
mov w12, #39321
movk w12, #6553, lsl #16
madd w11, w8, w11, w12
mov w12, #28087
movk w12, #46811, lsl #16
mov w13, #9362
movk w13, #4681, lsl #16
madd w8, w8, w12, w13
mov w12, #18725
movk w12, #9362, lsl #16
cmp w8, w12
mov w8, #858993459
ccmp w11, w8, #0, hs
mov w8, #1431655765
ccmp w10, w8, #0, hs
ccmp w9, #0, #4, hs
Lloh4:
adrp x8, l_.str.3@PAGE
Lloh5:
add x8, x8, l_.str.3@PAGEOFF
Lloh6:
adrp x9, l_.str.2@PAGE
Lloh7:
add x9, x9, l_.str.2@PAGEOFF
csel x0, x9, x8, eq
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "this number is not emirp"
l_.str.3: ; @.str.3
.asciz "this number is emirp"
l_str: ; @str
.asciz "enter a number:"
.subsections_via_symbols
| the_stack_data/589362.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function isp1760_udc_set_selfpowered
_isp1760_udc_set_selfpowered: ## @isp1760_udc_set_selfpowered
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
callq _gadget_to_udc
movq _USB_DEVICE_SELF_POWERED@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
movl $1, %edx
shll %cl, %edx
testl %ebx, %ebx
je LBB0_2
## %bb.1:
orl %edx, (%rax)
jmp LBB0_3
LBB0_2:
notl %edx
andl %edx, (%rax)
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _USB_DEVICE_SELF_POWERED,4,2 ## @USB_DEVICE_SELF_POWERED
.no_dead_strip _isp1760_udc_set_selfpowered
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function isp1760_udc_set_selfpowered
_isp1760_udc_set_selfpowered: ; @isp1760_udc_set_selfpowered
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _gadget_to_udc
Lloh0:
adrp x8, _USB_DEVICE_SELF_POWERED@GOTPAGE
Lloh1:
ldr x8, [x8, _USB_DEVICE_SELF_POWERED@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
mov w9, #1
lsl w8, w9, w8
cbz w19, LBB0_2
; %bb.1:
ldr w9, [x0]
orr w8, w9, w8
b LBB0_3
LBB0_2:
ldr w9, [x0]
bic w8, w9, w8
LBB0_3:
str w8, [x0]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _USB_DEVICE_SELF_POWERED,4,2 ; @USB_DEVICE_SELF_POWERED
.no_dead_strip _isp1760_udc_set_selfpowered
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/isp1760/extr_isp1760-udc.c_isp1760_udc_set_selfpowered.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printUsage ## -- Begin function printUsage
.p2align 4, 0x90
_printUsage: ## @printUsage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
leaq L_str(%rip), %rdi
callq _puts
movq (%r15), %rsi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
testl %r14d, %r14d
jle LBB0_4
## %bb.1:
movq (%r15), %rdx
leaq L_.str.3(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
cmpl $1, %r14d
je LBB0_4
## %bb.2:
movl %r14d, %r12d
movl $1, %ebx
leaq L_.str.4(%rip), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r15,%rbx,8), %rdx
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
incq %rbx
cmpq %rbx, %r12
jne LBB0_3
LBB0_4:
movl $10, %edi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $1320, %rsp ## imm = 0x528
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movaps l___const.main.funcNames+16(%rip), %xmm0
movaps %xmm0, -96(%rbp)
movaps l___const.main.funcNames(%rip), %xmm0
movaps %xmm0, -112(%rbp)
cmpl $2, %edi
jl LBB1_5
## %bb.1:
movq %rsi, %rbx
movl %edi, %r14d
movq %rsi, -1184(%rbp) ## 8-byte Spill
jne LBB1_7
## %bb.2:
movq 8(%rbx), %r12
leaq L_.str.10(%rip), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
je LBB1_5
## %bb.3:
leaq L_.str.11(%rip), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
je LBB1_5
## %bb.4:
movl $1, %r13d
xorl %eax, %eax
jmp LBB1_10
LBB1_7:
movq 8(%rbx), %rdi
leaq -1152(%rbp), %rsi
movl $10, %edx
callq _strtol
cmpl $4, %eax
jae LBB1_8
## %bb.9:
movq -1152(%rbp), %rcx
xorl %r13d, %r13d
cmpb $1, (%rcx)
adcl $1, %r13d
movq (%rbx,%r13,8), %r12
cltq
LBB1_10:
movq %rax, -1176(%rbp) ## 8-byte Spill
movl %r13d, %r15d
movq %r12, %rdi
callq _strlen
movq %rax, %rbx
movl %r14d, %eax
movq %rax, -1248(%rbp) ## 8-byte Spill
cmpl %r14d, %r13d
movq %r15, -1216(%rbp) ## 8-byte Spill
jae LBB1_11
## %bb.23:
movq -1184(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r15,8), %r13
movq %r12, %rdi
xorl %esi, %esi
callq _access
cmpl $-1, %eax
je LBB1_28
## %bb.24:
notq %r15
addq -1248(%rbp), %r15 ## 8-byte Folded Reload
.p2align 4, 0x90
LBB1_25: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rdi
callq _strlen
movslq %ebx, %rbx
cmpq %rbx, %rax
cmoval %eax, %ebx
subq $1, %r15
jb LBB1_26
## %bb.27: ## in Loop: Header=BB1_25 Depth=1
movq 8(%r13), %rdi
addq $8, %r13
xorl %esi, %esi
callq _access
cmpl $-1, %eax
jne LBB1_25
LBB1_28:
movq (%r13), %rsi
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB1_6:
leaq -112(%rbp), %rdi
movl $4, %esi
callq _printUsage
movl $1, %edi
callq _exit
LBB1_11:
movq %r15, %r13
jmp LBB1_12
LBB1_26:
movq -1216(%rbp), %r13 ## 8-byte Reload
LBB1_12:
movq -1176(%rbp), %rax ## 8-byte Reload
movq -112(%rbp,%rax,8), %rdi
movq %rdi, -1168(%rbp) ## 8-byte Spill
callq _strlen
movq %rax, %r15
leal (%rbx,%rax), %r12d
addl $117, %r12d
movslq %r12d, %rdi
movl $1, %esi
callq _calloc
movq %rax, -1336(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB1_29
## %bb.13:
cmpl %r14d, %r13d
jae LBB1_34
## %bb.14:
leal (%rbx,%r15), %eax
addl $116, %eax
cltq
movq %rax, -1328(%rbp) ## 8-byte Spill
leaq -1152(%rbp), %r12
xorl %r15d, %r15d
xorl %r14d, %r14d
jmp LBB1_15
.p2align 4, 0x90
LBB1_30: ## in Loop: Header=BB1_15 Depth=1
movq %r13, %rdi
callq _pclose
movq -1176(%rbp), %r13 ## 8-byte Reload
incq %r13
cmpq -1248(%rbp), %r13 ## 8-byte Folded Reload
je LBB1_31
LBB1_15: ## =>This Loop Header: Depth=1
## Child Loop BB1_17 Depth 2
movq -1184(%rbp), %rax ## 8-byte Reload
movq %r13, -1176(%rbp) ## 8-byte Spill
movq (%rax,%r13,8), %r8
movq -1336(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
movq -1328(%rbp), %rsi ## 8-byte Reload
leaq L_.str.16(%rip), %rdx
movq -1168(%rbp), %rcx ## 8-byte Reload
xorl %eax, %eax
callq _snprintf
movq %r13, %rdi
leaq L_.str.17(%rip), %rsi
callq _popen
testq %rax, %rax
je LBB1_83
## %bb.16: ## in Loop: Header=BB1_15 Depth=1
movq %rax, %r13
jmp LBB1_17
.p2align 4, 0x90
LBB1_22: ## in Loop: Header=BB1_17 Depth=2
incl %r15d
LBB1_17: ## Parent Loop BB1_15 Depth=1
## => This Inner Loop Header: Depth=2
movq %r12, %rdi
movl $1035, %esi ## imm = 0x40B
movq %r13, %rdx
callq _fgets
testq %rax, %rax
je LBB1_30
## %bb.18: ## in Loop: Header=BB1_17 Depth=2
subq $8, %rsp
movq %r12, %rdi
leaq L_.str.19(%rip), %rsi
leaq -80(%rbp), %rdx
leaq -1264(%rbp), %rcx
leaq -1220(%rbp), %r8
leaq -1208(%rbp), %r9
xorl %eax, %eax
leaq -1153(%rbp), %rbx
pushq %rbx
leaq -1154(%rbp), %rbx
pushq %rbx
leaq -1276(%rbp), %rbx
pushq %rbx
leaq -1236(%rbp), %rbx
pushq %rbx
leaq -1240(%rbp), %rbx
pushq %rbx
leaq -1204(%rbp), %rbx
pushq %rbx
leaq -1224(%rbp), %rbx
pushq %rbx
callq _sscanf
addq $64, %rsp
movl -1208(%rbp), %eax
cmpl %r14d, %eax
cmovgl %eax, %r14d
movl -1224(%rbp), %eax
cmpl %r14d, %eax
jg LBB1_20
## %bb.19: ## in Loop: Header=BB1_17 Depth=2
movl %r14d, %eax
LBB1_20: ## in Loop: Header=BB1_17 Depth=2
movl -1204(%rbp), %r14d
cmpl %eax, %r14d
jg LBB1_22
## %bb.21: ## in Loop: Header=BB1_17 Depth=2
movl %eax, %r14d
jmp LBB1_22
LBB1_31:
testl %r15d, %r15d
movq -1216(%rbp), %rbx ## 8-byte Reload
je LBB1_34
## %bb.32:
testl %r14d, %r14d
movq -1184(%rbp), %r12 ## 8-byte Reload
je LBB1_33
## %bb.35:
xorl %edx, %edx
.p2align 4, 0x90
LBB1_36: ## =>This Inner Loop Header: Depth=1
movslq %r14d, %rax
imulq $1717986919, %rax, %r14 ## imm = 0x66666667
movq %r14, %rcx
shrq $63, %rcx
sarq $34, %r14
addl %ecx, %r14d
incl %edx
addl $9, %eax
cmpl $18, %eax
ja LBB1_36
jmp LBB1_37
LBB1_33:
xorl %edx, %edx
LBB1_37:
cmpl $6, %edx
movl $5, %eax
movl %edx, -1268(%rbp) ## 4-byte Spill
cmovael %edx, %eax
movq %rax, -1232(%rbp) ## 8-byte Spill
## kill: def $eax killed $eax killed $rax def $rax
imull %eax, %eax
leal (,%rax,8), %r15d
subl %eax, %r15d
movl $8, %esi
movq %r15, %rdi
callq _calloc
movq %rax, %r14
movl $8, %esi
movq %r15, %rdi
callq _calloc
movq %rax, -1256(%rbp) ## 8-byte Spill
movq -1168(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
callq _strlen
leaq 20(%rax), %rdi
movl $1, %esi
callq _calloc
movq %rax, %r15
movq %rax, %rdi
callq _strlen
movups L_.str.21(%rip), %xmm0
movups %xmm0, (%r15,%rax)
movl $3043941, 16(%r15,%rax) ## imm = 0x2E7265
movq %r15, %rdi
movq %r13, %rsi
callq _strcat
leaq L_.str.22(%rip), %rsi
movq %r15, %rdi
callq _fopen
movq %rax, -1320(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
movss %xmm0, -1200(%rbp) ## 4-byte Spill
xorl %eax, %eax
movq %rax, -1296(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -1304(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -1312(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
movss %xmm0, -1196(%rbp) ## 4-byte Spill
xorps %xmm0, %xmm0
movss %xmm0, -1192(%rbp) ## 4-byte Spill
xorps %xmm0, %xmm0
movss %xmm0, -1188(%rbp) ## 4-byte Spill
xorl %eax, %eax
movq %rax, -1288(%rbp) ## 8-byte Spill
jmp LBB1_38
.p2align 4, 0x90
LBB1_54: ## in Loop: Header=BB1_38 Depth=1
movq %r12, %rdi
callq _pclose
movq -1216(%rbp), %rbx ## 8-byte Reload
incq %rbx
cmpq -1248(%rbp), %rbx ## 8-byte Folded Reload
movq -1184(%rbp), %r12 ## 8-byte Reload
je LBB1_55
LBB1_38: ## =>This Loop Header: Depth=1
## Child Loop BB1_39 Depth 2
movq %rbx, -1216(%rbp) ## 8-byte Spill
movq (%r12,%rbx,8), %r8
movq -1336(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movq -1328(%rbp), %rsi ## 8-byte Reload
leaq L_.str.16(%rip), %rdx
movq -1168(%rbp), %rcx ## 8-byte Reload
xorl %eax, %eax
callq _snprintf
movq %rbx, %rdi
leaq L_.str.17(%rip), %rsi
callq _popen
movq %rax, %r12
testq %rax, %rax
je LBB1_83
.p2align 4, 0x90
LBB1_39: ## Parent Loop BB1_38 Depth=1
## => This Inner Loop Header: Depth=2
leaq -1152(%rbp), %rbx
movq %rbx, %rdi
movl $1034, %esi ## imm = 0x40A
movq %r12, %rdx
callq _fgets
testq %rax, %rax
je LBB1_54
## %bb.40: ## in Loop: Header=BB1_39 Depth=2
subq $8, %rsp
movq %rbx, %rdi
leaq L_.str.19(%rip), %rsi
leaq -80(%rbp), %rdx
leaq -1264(%rbp), %rcx
leaq -1220(%rbp), %r8
leaq -1208(%rbp), %r9
xorl %eax, %eax
leaq -1153(%rbp), %rbx
pushq %rbx
leaq -1154(%rbp), %rbx
pushq %rbx
leaq -1276(%rbp), %rbx
pushq %rbx
leaq -1236(%rbp), %rbx
pushq %rbx
leaq -1240(%rbp), %rbx
pushq %rbx
leaq -1204(%rbp), %rbx
pushq %rbx
leaq -1224(%rbp), %rbx
pushq %rbx
callq _sscanf
addq $64, %rsp
movl -1208(%rbp), %ebx
testl %ebx, %ebx
je LBB1_39
## %bb.41: ## in Loop: Header=BB1_39 Depth=2
movl -1224(%rbp), %r15d
testl %r15d, %r15d
je LBB1_39
## %bb.42: ## in Loop: Header=BB1_39 Depth=2
movl -1204(%rbp), %r13d
testl %r13d, %r13d
je LBB1_39
## %bb.43: ## in Loop: Header=BB1_39 Depth=2
xorps %xmm0, %xmm0
cvtsi2ss %ebx, %xmm0
cvtss2sd %xmm0, %xmm0
callq _log10
cvttsd2si %xmm0, %eax
movl %eax, -1160(%rbp) ## 4-byte Spill
xorps %xmm0, %xmm0
cvtsi2ss %r15d, %xmm0
cvtss2sd %xmm0, %xmm0
callq _log10
cvttsd2si %xmm0, %eax
movq %rax, -1176(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
cvtsi2ss %r13d, %xmm0
cvtss2sd %xmm0, %xmm0
callq _log10
cvttsd2si %xmm0, %esi
movq -1264(%rbp), %r9
movq -1232(%rbp), %rdx ## 8-byte Reload
movl %edx, %eax
imull -1160(%rbp), %eax ## 4-byte Folded Reload
addl %esi, %eax
leal (,%rax,8), %ecx
subl %eax, %ecx
movslq %ecx, %rax
movq %rax, -1360(%rbp) ## 8-byte Spill
addq %r9, (%r14,%rax,8)
## kill: def $edx killed $edx killed $rdx def $rdx
movl %esi, -1272(%rbp) ## 4-byte Spill
imull %esi, %edx
movq %rdx, -1344(%rbp) ## 8-byte Spill
movq -1176(%rbp), %rax ## 8-byte Reload
addl %edx, %eax
leal (,%rax,8), %ecx
subl %eax, %ecx
movslq %ecx, %rax
movq %rax, -1352(%rbp) ## 8-byte Spill
addq %r9, 8(%r14,%rax,8)
movss -1220(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq -1320(%rbp), %rdi ## 8-byte Reload
leaq L_.str.23(%rip), %rsi
movl %ebx, %edx
movl %r15d, %ecx
movl %r13d, %r8d
movb $1, %al
callq _fprintf
movq -1264(%rbp), %rax
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
mulss -1220(%rbp), %xmm0
movq -1256(%rbp), %rcx ## 8-byte Reload
movq -1360(%rbp), %rdx ## 8-byte Reload
movss (%rcx,%rdx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss %xmm0, %xmm1
movss %xmm1, (%rcx,%rdx,4)
movq -1352(%rbp), %rdx ## 8-byte Reload
movss 4(%rcx,%rdx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss %xmm0, %xmm1
movss %xmm1, 4(%rcx,%rdx,4)
movzbl -1154(%rbp), %edx
andb $-33, %dl
movzbl -1153(%rbp), %ecx
andb $-33, %cl
cmpb $84, %dl
jne LBB1_47
## %bb.44: ## in Loop: Header=BB1_39 Depth=2
cmpb $84, %cl
jne LBB1_46
## %bb.45: ## in Loop: Header=BB1_39 Depth=2
addq %rax, -1288(%rbp) ## 8-byte Folded Spill
movss -1200(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
addss %xmm0, %xmm1
movss %xmm1, -1200(%rbp) ## 4-byte Spill
jmp LBB1_50
LBB1_47: ## in Loop: Header=BB1_39 Depth=2
cmpb $84, %cl
jne LBB1_49
## %bb.48: ## in Loop: Header=BB1_39 Depth=2
addq %rax, -1304(%rbp) ## 8-byte Folded Spill
movss -1192(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
addss %xmm0, %xmm1
movss %xmm1, -1192(%rbp) ## 4-byte Spill
jmp LBB1_50
LBB1_46: ## in Loop: Header=BB1_39 Depth=2
addq %rax, -1312(%rbp) ## 8-byte Folded Spill
movss -1196(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
addss %xmm0, %xmm1
movss %xmm1, -1196(%rbp) ## 4-byte Spill
jmp LBB1_50
LBB1_49: ## in Loop: Header=BB1_39 Depth=2
addq %rax, -1296(%rbp) ## 8-byte Folded Spill
movss -1188(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
addss %xmm0, %xmm1
movss %xmm1, -1188(%rbp) ## 4-byte Spill
LBB1_50: ## in Loop: Header=BB1_39 Depth=2
movl -1240(%rbp), %ecx
cmpl -1208(%rbp), %ecx
jle LBB1_52
## %bb.51: ## in Loop: Header=BB1_39 Depth=2
movq -1344(%rbp), %rdx ## 8-byte Reload
addl -1160(%rbp), %edx ## 4-byte Folded Reload
leal (,%rdx,8), %ecx
subl %edx, %ecx
addl -1232(%rbp), %ecx ## 4-byte Folded Reload
movslq %ecx, %rcx
addq %rax, (%r14,%rcx,8)
LBB1_52: ## in Loop: Header=BB1_39 Depth=2
movl -1236(%rbp), %ecx
cmpl -1204(%rbp), %ecx
jle LBB1_39
## %bb.53: ## in Loop: Header=BB1_39 Depth=2
movq -1232(%rbp), %rdx ## 8-byte Reload
movq -1176(%rbp), %rsi ## 8-byte Reload
imull %edx, %esi
addl -1272(%rbp), %esi ## 4-byte Folded Reload
leal (,%rsi,8), %ecx
subl %esi, %ecx
addl %edx, %ecx
movslq %ecx, %rcx
addq %rax, (%r14,%rcx,8)
jmp LBB1_39
LBB1_55:
movq -1320(%rbp), %rdi ## 8-byte Reload
callq _fclose
movq -1168(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _strlen
leaq 12(%rax), %rdi
movl $1, %esi
callq _calloc
movq %rax, %rbx
movq %rax, %rdi
callq _strlen
movabsq $7886472753856738351, %rcx ## imm = 0x6D72612F706D742F
movq %rcx, (%rbx,%rax)
movl $3042416, 8(%rbx,%rax) ## imm = 0x2E6C70
movq %rbx, %rdi
movq %r15, %rsi
callq _strcat
leaq L_.str.22(%rip), %rsi
movq %rbx, -1216(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _fopen
testq %rax, %rax
je LBB1_81
## %bb.56:
movq %rax, %r13
movq -1232(%rbp), %rax ## 8-byte Reload
movl %eax, %ebx
leal (,%rax,8), %ecx
subl %eax, %ecx
movl %ecx, -1160(%rbp) ## 4-byte Spill
leaq L_.str.26(%rip), %r15
xorl %eax, %eax
xorl %ecx, %ecx
movq %rbx, -1176(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB1_57: ## =>This Loop Header: Depth=1
## Child Loop BB1_58 Depth 2
movq %rcx, -1184(%rbp) ## 8-byte Spill
movq %rbx, %r12
movl %eax, -1168(%rbp) ## 4-byte Spill
movl %eax, %ebx
.p2align 4, 0x90
LBB1_58: ## Parent Loop BB1_57 Depth=1
## => This Inner Loop Header: Depth=2
movslq %ebx, %rbx
movq (%r14,%rbx,8), %rdx
movq %r13, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _fprintf
addl $7, %ebx
decq %r12
jne LBB1_58
## %bb.59: ## in Loop: Header=BB1_57 Depth=1
movl $10, %edi
movq %r13, %rsi
callq _fputc
movq -1184(%rbp), %rcx ## 8-byte Reload
incq %rcx
movl -1168(%rbp), %eax ## 4-byte Reload
addl -1160(%rbp), %eax ## 4-byte Folded Reload
movq -1176(%rbp), %rbx ## 8-byte Reload
cmpq %rbx, %rcx
jne LBB1_57
## %bb.60:
movl $1, %eax
leaq L_.str.26(%rip), %r15
xorl %ecx, %ecx
.p2align 4, 0x90
LBB1_61: ## =>This Loop Header: Depth=1
## Child Loop BB1_62 Depth 2
movq %rcx, -1184(%rbp) ## 8-byte Spill
movq %rbx, %r12
movl %eax, -1168(%rbp) ## 4-byte Spill
movl %eax, %ebx
.p2align 4, 0x90
LBB1_62: ## Parent Loop BB1_61 Depth=1
## => This Inner Loop Header: Depth=2
movslq %ebx, %rbx
movq (%r14,%rbx,8), %rdx
movq %r13, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _fprintf
addl $7, %ebx
decq %r12
jne LBB1_62
## %bb.63: ## in Loop: Header=BB1_61 Depth=1
movl $10, %edi
movq %r13, %rsi
callq _fputc
movq -1184(%rbp), %rcx ## 8-byte Reload
incq %rcx
movl -1168(%rbp), %eax ## 4-byte Reload
addl -1160(%rbp), %eax ## 4-byte Folded Reload
movq -1176(%rbp), %rbx ## 8-byte Reload
cmpq %rbx, %rcx
jne LBB1_61
## %bb.64:
leaq L_.str.27(%rip), %rsi
movq %r13, %rdi
movq -1296(%rbp), %rdx ## 8-byte Reload
movq -1304(%rbp), %rcx ## 8-byte Reload
movq -1312(%rbp), %r8 ## 8-byte Reload
movq -1288(%rbp), %r9 ## 8-byte Reload
xorl %eax, %eax
callq _fprintf
movl -1268(%rbp), %r15d ## 4-byte Reload
cmpl $6, %r15d
movq -1232(%rbp), %r12 ## 8-byte Reload
jb LBB1_70
## %bb.65:
leal -5(%r12), %ebx
leaq L_.str.26(%rip), %r14
.p2align 4, 0x90
LBB1_66: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %eax, %eax
callq _fprintf
decl %ebx
jne LBB1_66
## %bb.67:
movl $10, %edi
movq %r13, %rsi
callq _fputc
movss -1188(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -1192(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
movss -1196(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
cvtss2sd %xmm2, %xmm2
movss -1200(%rbp), %xmm3 ## 4-byte Reload
## xmm3 = mem[0],zero,zero,zero
cvtss2sd %xmm3, %xmm3
leaq L_.str.28(%rip), %rsi
movq %r13, %rdi
movb $4, %al
callq _fprintf
cmpl $6, %r15d
movq -1176(%rbp), %rbx ## 8-byte Reload
jb LBB1_71
## %bb.68:
addl $-5, %r12d
leaq L_.str.29(%rip), %r14
.p2align 4, 0x90
LBB1_69: ## =>This Inner Loop Header: Depth=1
xorps %xmm0, %xmm0
movq %r13, %rdi
movq %r14, %rsi
movb $1, %al
callq _fprintf
decl %r12d
jne LBB1_69
jmp LBB1_71
LBB1_70:
movl $10, %edi
movq %r13, %rsi
callq _fputc
movss -1188(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -1192(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
movss -1196(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
cvtss2sd %xmm2, %xmm2
movss -1200(%rbp), %xmm3 ## 4-byte Reload
## xmm3 = mem[0],zero,zero,zero
cvtss2sd %xmm3, %xmm3
leaq L_.str.28(%rip), %rsi
movq %r13, %rdi
movb $4, %al
callq _fprintf
LBB1_71:
movl $10, %edi
movq %r13, %rsi
callq _fputc
xorl %r15d, %r15d
leaq L_.str.30(%rip), %r14
xorl %eax, %eax
movq -1256(%rbp), %r12 ## 8-byte Reload
.p2align 4, 0x90
LBB1_72: ## =>This Loop Header: Depth=1
## Child Loop BB1_73 Depth 2
movq %rax, -1184(%rbp) ## 8-byte Spill
movq %r15, -1168(%rbp) ## 8-byte Spill
## kill: def $r15d killed $r15d killed $r15 def $r15
.p2align 4, 0x90
LBB1_73: ## Parent Loop BB1_72 Depth=1
## => This Inner Loop Header: Depth=2
movslq %r15d, %r15
movss (%r12,%r15,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
movq %r14, %rsi
movb $1, %al
callq _fprintf
addl $7, %r15d
decq %rbx
jne LBB1_73
## %bb.74: ## in Loop: Header=BB1_72 Depth=1
movl $10, %edi
movq %r13, %rsi
callq _fputc
movq -1184(%rbp), %rax ## 8-byte Reload
incq %rax
movq -1168(%rbp), %r15 ## 8-byte Reload
addl -1160(%rbp), %r15d ## 4-byte Folded Reload
movq -1176(%rbp), %rbx ## 8-byte Reload
cmpq %rbx, %rax
jne LBB1_72
## %bb.75:
movl $1, %eax
xorl %ecx, %ecx
leaq L_.str.30(%rip), %r14
movq -1256(%rbp), %r12 ## 8-byte Reload
.p2align 4, 0x90
LBB1_76: ## =>This Loop Header: Depth=1
## Child Loop BB1_77 Depth 2
movq %rcx, -1184(%rbp) ## 8-byte Spill
movl %eax, -1168(%rbp) ## 4-byte Spill
movl %eax, %r15d
.p2align 4, 0x90
LBB1_77: ## Parent Loop BB1_76 Depth=1
## => This Inner Loop Header: Depth=2
movslq %r15d, %r15
movss (%r12,%r15,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
movq %r14, %rsi
movb $1, %al
callq _fprintf
addl $7, %r15d
decq %rbx
jne LBB1_77
## %bb.78: ## in Loop: Header=BB1_76 Depth=1
movl $10, %edi
movq %r13, %rsi
callq _fputc
movq -1184(%rbp), %rcx ## 8-byte Reload
incq %rcx
movl -1168(%rbp), %eax ## 4-byte Reload
addl -1160(%rbp), %eax ## 4-byte Folded Reload
movq -1176(%rbp), %rbx ## 8-byte Reload
cmpq %rbx, %rcx
jne LBB1_76
## %bb.79:
movq %r13, %rdi
callq _fclose
leaq L_.str.31(%rip), %rdi
movq -1216(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB1_82
## %bb.80:
xorl %eax, %eax
addq $1320, %rsp ## imm = 0x528
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_83:
leaq L_str.33(%rip), %rdi
callq _puts
movl $1, %edi
callq _exit
LBB1_5:
leaq L_str.34(%rip), %rdi
callq _puts
jmp LBB1_6
LBB1_34:
leaq L_.str.20(%rip), %rdi
movq -1168(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _printf
xorl %edi, %edi
callq _exit
LBB1_29:
leaq L_.str.15(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _exit
LBB1_81:
leaq L_.str.25(%rip), %rdi
movq -1216(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _exit
LBB1_82:
callq ___stack_chk_fail
LBB1_8:
leaq L_.str.13(%rip), %rdi
movl %eax, %esi
movl $4, %edx
xorl %eax, %eax
callq _printf
jmp LBB1_6
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Default function: name = %s [ID=0]\n"
L_.str.2: ## @.str.2
.asciz "Function IDs: "
L_.str.3: ## @.str.3
.asciz "%d=%s"
L_.str.4: ## @.str.4
.asciz ",%d=%s"
L_.str.6: ## @.str.6
.asciz "dgemm"
L_.str.7: ## @.str.7
.asciz "sgemm"
L_.str.8: ## @.str.8
.asciz "zgemm"
L_.str.9: ## @.str.9
.asciz "cgemm"
.section __DATA,__const
.p2align 4 ## @__const.main.funcNames
l___const.main.funcNames:
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.section __TEXT,__cstring,cstring_literals
L_.str.10: ## @.str.10
.asciz "-h"
L_.str.11: ## @.str.11
.asciz "--help"
L_.str.13: ## @.str.13
.asciz "Error: function name ID %d out of range of [0:%d]\n"
L_.str.14: ## @.str.14
.asciz "Error: can't access file %s\n"
L_.str.15: ## @.str.15
.asciz "Error: failed to allocate strinf %d bytes\n"
L_.str.16: ## @.str.16
.asciz "grep %s %s |awk -F',' '{print $1 \" \" $2 \" \" $3 \" \" $6 \" \" $7 \" \" $8 \" \" $9 \" \" $10 \" \" $11 \" \" $12 \" \" $13 \" \" $14}'"
L_.str.17: ## @.str.17
.asciz "r"
L_.str.19: ## @.str.19
.asciz "%s %lld %f %d %d %d %d %d %d %c %c"
L_.str.20: ## @.str.20
.asciz "No %s function calls found in input files\n"
L_.str.21: ## @.str.21
.asciz "/tmp/armpl_scatter."
L_.str.22: ## @.str.22
.asciz "w"
L_.str.23: ## @.str.23
.asciz "%d %d %d %lld %f\n"
L_.str.24: ## @.str.24
.asciz "/tmp/armpl."
L_.str.25: ## @.str.25
.asciz "Error: failed to open output file %s\n"
L_.str.26: ## @.str.26
.asciz "%lld "
L_.str.27: ## @.str.27
.asciz "%lld %lld %lld %lld -1 "
L_.str.28: ## @.str.28
.asciz "%12.8f %12.8f %12.8f %12.8f -1.0 "
L_.str.29: ## @.str.29
.asciz "%lf "
L_.str.30: ## @.str.30
.asciz "%f "
L_.str.31: ## @.str.31
.asciz "Created file %s\n"
L_str: ## @str
.asciz "Usage: process-dgemm [function name ID] filename [filename] [filename] etc."
L_str.33: ## @str.33
.asciz "Failed to run command"
L_str.34: ## @str.34
.asciz "Error: missing file name"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printUsage ; -- Begin function printUsage
.p2align 2
_printUsage: ; @printUsage
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr x8, [x19]
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
cmp w20, #1
b.lt LBB0_4
; %bb.1:
ldr x8, [x19]
stp xzr, x8, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
cmp w20, #1
b.eq LBB0_4
; %bb.2:
mov w21, w20
mov w22, #1
Lloh8:
adrp x20, l_.str.4@PAGE
Lloh9:
add x20, x20, l_.str.4@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, x22, lsl #3]
stp x22, x8, [sp]
mov x0, x20
bl _printf
add x22, x22, #1
cmp x21, x22
b.ne LBB0_3
LBB0_4:
mov w0, #10
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _putchar
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-128]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 128
stp d9, d8, [sp, #16] ; 16-byte Folded Spill
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
.cfi_offset b10, -120
.cfi_offset b11, -128
sub sp, sp, #1392
Lloh10:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
stur x8, [x29, #-136]
Lloh13:
adrp x8, l___const.main.funcNames@PAGE
Lloh14:
add x8, x8, l___const.main.funcNames@PAGEOFF
ldp q0, q1, [x8]
sub x8, x29, #208
stp q0, q1, [x8]
cmp w0, #2
b.lt LBB1_64
; %bb.1:
mov x26, x1
mov x20, x0
b.ne LBB1_5
; %bb.2:
ldr x21, [x26, #8]
Lloh15:
adrp x1, l_.str.10@PAGE
Lloh16:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x21
bl _strcmp
cbz w0, LBB1_64
; %bb.3:
Lloh17:
adrp x1, l_.str.11@PAGE
Lloh18:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x21
bl _strcmp
cbz w0, LBB1_64
; %bb.4:
mov x19, #0
mov w23, #1
b LBB1_7
LBB1_5:
ldr x0, [x26, #8]
add x1, sp, #256
mov w2, #10
bl _strtol
cmp w0, #4
b.hs LBB1_70
; %bb.6:
ldr x8, [sp, #256]
ldrb w8, [x8]
cmp w8, #0
mov w8, #1
cinc w23, w8, eq
ldr x21, [x26, w23, uxtw #3]
sxtw x19, w0
LBB1_7:
mov w24, w23
mov x0, x21
bl _strlen
mov x22, x0
mov w8, w20
str x8, [sp, #184] ; 8-byte Folded Spill
cmp w23, w20
b.hs LBB1_15
; %bb.8:
add x23, x26, x24, lsl #3
mov x0, x21
mov w1, #0
bl _access
cmn w0, #1
b.eq LBB1_12
; %bb.9:
mvn x8, x24
ldr x9, [sp, #184] ; 8-byte Folded Reload
add x21, x8, x9
LBB1_10: ; =>This Inner Loop Header: Depth=1
ldr x0, [x23]
bl _strlen
cmp x0, w22, sxtw
csel w22, w0, w22, hi
cbz x21, LBB1_15
; %bb.11: ; in Loop: Header=BB1_10 Depth=1
ldr x0, [x23, #8]!
mov w1, #0
bl _access
sub x21, x21, #1
cmn w0, #1
b.ne LBB1_10
LBB1_12:
ldr x8, [x23]
str x8, [sp]
Lloh19:
adrp x0, l_.str.14@PAGE
Lloh20:
add x0, x0, l_.str.14@PAGEOFF
LBB1_13:
bl _printf
LBB1_14:
sub x0, x29, #208
mov w1, #4
bl _printUsage
mov w0, #1
bl _exit
LBB1_15:
sub x8, x29, #208
ldr x0, [x8, x19, lsl #3]
str x0, [sp, #200] ; 8-byte Folded Spill
bl _strlen
add w22, w22, w0
add w19, w22, #117
sxtw x0, w19
mov w1, #1
bl _calloc
str x0, [sp, #176] ; 8-byte Folded Spill
cbz x0, LBB1_66
; %bb.16:
str x24, [sp, #192] ; 8-byte Folded Spill
cmp w24, w20
b.hs LBB1_65
; %bb.17:
mov w21, #0
mov w19, #0
add w8, w22, #116
sxtw x8, w8
stp x26, x8, [sp, #160] ; 16-byte Folded Spill
ldr x9, [sp, #192] ; 8-byte Folded Reload
Lloh21:
adrp x22, l_.str.19@PAGE
Lloh22:
add x22, x22, l_.str.19@PAGEOFF
b LBB1_19
LBB1_18: ; in Loop: Header=BB1_19 Depth=1
mov x0, x26
bl _pclose
ldr x9, [sp, #208] ; 8-byte Folded Reload
add x9, x9, #1
ldr x8, [sp, #184] ; 8-byte Folded Reload
cmp x9, x8
ldr x26, [sp, #160] ; 8-byte Folded Reload
b.eq LBB1_22
LBB1_19: ; =>This Loop Header: Depth=1
; Child Loop BB1_21 Depth 2
str x9, [sp, #208] ; 8-byte Folded Spill
ldr x10, [x26, x9, lsl #3]
ldr x8, [sp, #200] ; 8-byte Folded Reload
stp x8, x10, [sp]
ldp x1, x26, [sp, #168] ; 16-byte Folded Reload
mov x0, x26
Lloh23:
adrp x2, l_.str.16@PAGE
Lloh24:
add x2, x2, l_.str.16@PAGEOFF
bl _snprintf
mov x0, x26
Lloh25:
adrp x1, l_.str.17@PAGE
Lloh26:
add x1, x1, l_.str.17@PAGEOFF
bl _popen
cbz x0, LBB1_63
; %bb.20: ; in Loop: Header=BB1_19 Depth=1
mov x26, x0
add x0, sp, #256
mov w1, #1035
mov x2, x26
bl _fgets
add x27, sp, #248
add x28, sp, #252
add x20, sp, #232
add x25, sp, #236
add x24, sp, #240
add x23, sp, #224
cbz x0, LBB1_18
LBB1_21: ; Parent Loop BB1_19 Depth=1
; => This Inner Loop Header: Depth=2
add x8, sp, #222
str x8, [sp, #80]
add x8, sp, #223
str x8, [sp, #72]
add x8, sp, #244
stp x27, x8, [sp, #56]
stp x20, x28, [sp, #40]
stp x24, x25, [sp, #24]
add x8, sp, #216
stp x23, x8, [sp, #8]
add x0, sp, #256
sub x8, x29, #168
str x8, [sp]
mov x1, x22
bl _sscanf
ldp w9, w8, [sp, #236]
cmp w8, w19
csel w8, w8, w19, gt
cmp w9, w8
csel w8, w9, w8, gt
ldr w9, [sp, #232]
cmp w9, w8
csel w19, w9, w8, gt
add w21, w21, #1
add x0, sp, #256
mov w1, #1035
mov x2, x26
bl _fgets
cbnz x0, LBB1_21
b LBB1_18
LBB1_22:
cbz w21, LBB1_65
; %bb.23:
mov w12, #0
cbz w19, LBB1_26
; %bb.24:
mov w8, #26215
movk w8, #26214, lsl #16
LBB1_25: ; =>This Inner Loop Header: Depth=1
smull x9, w19, w8
lsr x10, x9, #63
asr x9, x9, #34
add w11, w19, #9
add w19, w9, w10
add w12, w12, #1
cmp w11, #18
b.hi LBB1_25
LBB1_26:
mov w8, #5
cmp w12, #5
str w12, [sp, #100] ; 4-byte Folded Spill
csel w8, w12, w8, hi
str x8, [sp, #208] ; 8-byte Folded Spill
mul w8, w8, w8
lsl w9, w8, #3
sub w20, w9, w8
mov x0, x20
mov w1, #8
bl _calloc
mov x24, x0
mov x0, x20
mov w1, #8
bl _calloc
mov x20, x0
ldr x19, [sp, #200] ; 8-byte Folded Reload
mov x0, x19
bl _strlen
add x0, x0, #20
mov w1, #1
bl _calloc
mov x27, x0
bl _strlen
add x8, x27, x0
mov w9, #29285
movk w9, #46, lsl #16
str w9, [x8, #16]
Lloh27:
adrp x9, l_.str.21@PAGE
Lloh28:
add x9, x9, l_.str.21@PAGEOFF
Lloh29:
ldr q0, [x9]
str q0, [x8]
mov x0, x27
mov x1, x19
bl _strcat
Lloh30:
adrp x1, l_.str.22@PAGE
Lloh31:
add x1, x1, l_.str.22@PAGEOFF
bl _fopen
str x0, [sp, #104] ; 8-byte Folded Spill
stp xzr, xzr, [sp, #144] ; 16-byte Folded Spill
stp xzr, xzr, [sp, #128] ; 16-byte Folded Spill
movi d8, #0000000000000000
add x23, sp, #222
add x25, sp, #224
sub x19, x29, #168
movi d9, #0000000000000000
Lloh32:
adrp x28, l_.str.19@PAGE
Lloh33:
add x28, x28, l_.str.19@PAGEOFF
movi d10, #0000000000000000
movi d11, #0000000000000000
ldr x8, [sp, #192] ; 8-byte Folded Reload
b LBB1_28
LBB1_27: ; in Loop: Header=BB1_28 Depth=1
mov x0, x27
bl _pclose
ldp x9, x8, [sp, #184] ; 16-byte Folded Reload
add x8, x8, #1
cmp x8, x9
ldr x26, [sp, #160] ; 8-byte Folded Reload
b.eq LBB1_37
LBB1_28: ; =>This Loop Header: Depth=1
; Child Loop BB1_29 Depth 2
str x8, [sp, #192] ; 8-byte Folded Spill
ldr x9, [x26, x8, lsl #3]
ldr x8, [sp, #200] ; 8-byte Folded Reload
stp x8, x9, [sp]
ldp x1, x21, [sp, #168] ; 16-byte Folded Reload
mov x0, x21
Lloh34:
adrp x2, l_.str.16@PAGE
Lloh35:
add x2, x2, l_.str.16@PAGEOFF
bl _snprintf
mov x0, x21
Lloh36:
adrp x1, l_.str.17@PAGE
Lloh37:
add x1, x1, l_.str.17@PAGEOFF
bl _popen
mov x27, x0
cbz x0, LBB1_63
LBB1_29: ; Parent Loop BB1_28 Depth=1
; => This Inner Loop Header: Depth=2
add x0, sp, #256
mov w1, #1034
mov x2, x27
bl _fgets
cbz x0, LBB1_27
; %bb.30: ; in Loop: Header=BB1_29 Depth=2
add x8, sp, #223
stp x8, x23, [sp, #72]
add x8, sp, #244
str x8, [sp, #64]
add x8, sp, #248
str x8, [sp, #56]
add x8, sp, #252
str x8, [sp, #48]
add x8, sp, #232
str x8, [sp, #40]
add x8, sp, #236
str x8, [sp, #32]
add x8, sp, #240
str x8, [sp, #24]
add x8, sp, #216
stp x25, x8, [sp, #8]
add x0, sp, #256
str x19, [sp]
mov x1, x28
bl _sscanf
ldr w26, [sp, #240]
cbz w26, LBB1_29
; %bb.31: ; in Loop: Header=BB1_29 Depth=2
ldr w21, [sp, #236]
cbz w21, LBB1_29
; %bb.32: ; in Loop: Header=BB1_29 Depth=2
ldr w22, [sp, #232]
cbz w22, LBB1_29
; %bb.33: ; in Loop: Header=BB1_29 Depth=2
scvtf s0, w26
fcvt d0, s0
bl _log10
fcvtzs w25, d0
scvtf s0, w21
fcvt d0, s0
bl _log10
fcvtzs w23, d0
scvtf s0, w22
fcvt d0, s0
bl _log10
fcvtzs w12, d0
ldr x11, [sp, #208] ; 8-byte Folded Reload
stp w25, w12, [sp, #116] ; 8-byte Folded Spill
madd w8, w11, w25, w12
lsl w9, w8, #3
sub w25, w9, w8
sbfiz x8, x25, #3, #32
ldr x9, [x24, x8]
ldr x10, [sp, #224]
add x9, x9, x10
str x9, [x24, x8]
mul w8, w11, w12
str w23, [sp, #124] ; 4-byte Folded Spill
str w8, [sp, #112] ; 4-byte Folded Spill
add w8, w8, w23
lsl w9, w8, #3
sub w8, w9, w8
add w23, w8, #1
sbfiz x8, x23, #3, #32
ldr x9, [x24, x8]
add x9, x9, x10
str x9, [x24, x8]
ldr s0, [sp, #216]
fcvt d0, s0
str d0, [sp, #32]
stp x22, x10, [sp, #16]
stp x26, x21, [sp]
ldr x0, [sp, #104] ; 8-byte Folded Reload
Lloh38:
adrp x1, l_.str.23@PAGE
Lloh39:
add x1, x1, l_.str.23@PAGEOFF
bl _fprintf
ldr s0, [sp, #216]
ldr x8, [sp, #224]
scvtf s1, x8
sbfiz x9, x25, #2, #32
ldr s2, [x20, x9]
fmadd s2, s0, s1, s2
str s2, [x20, x9]
sbfiz x9, x23, #2, #32
ldr s2, [x20, x9]
fmadd s2, s0, s1, s2
str s2, [x20, x9]
ldrb w9, [sp, #223]
and w9, w9, #0xffffffdf
ldrb w10, [sp, #222]
and w10, w10, #0xffffffdf
cmp w10, #84
ldp x15, x14, [sp, #144] ; 16-byte Folded Reload
add x11, x8, x14
fmadd s2, s0, s1, s11
add x12, x8, x15
fmadd s3, s0, s1, s10
fcsel s2, s2, s11, ne
fcsel s3, s10, s3, ne
csel x12, x15, x12, ne
csel x11, x11, x14, ne
cmp w10, #84
ldp x17, x16, [sp, #128] ; 16-byte Folded Reload
add x10, x8, x16
fmadd s4, s0, s1, s9
add x13, x8, x17
fmadd s0, s0, s1, s8
fcsel s1, s4, s9, ne
fcsel s0, s8, s0, ne
csel x13, x17, x13, ne
csel x10, x10, x16, ne
cmp w9, #84
fcsel s11, s2, s11, ne
fcsel s10, s3, s10, ne
fcsel s9, s9, s1, ne
fcsel s8, s8, s0, ne
csel x17, x17, x13, ne
csel x16, x16, x10, ne
stp x17, x16, [sp, #128] ; 16-byte Folded Spill
csel x15, x12, x15, ne
csel x14, x11, x14, ne
stp x15, x14, [sp, #144] ; 16-byte Folded Spill
ldr w9, [sp, #252]
ldr w10, [sp, #240]
cmp w9, w10
b.le LBB1_35
; %bb.34: ; in Loop: Header=BB1_29 Depth=2
ldp w10, w9, [sp, #112] ; 8-byte Folded Reload
add w9, w10, w9
lsl w10, w9, #3
sub w9, w10, w9
ldr x10, [sp, #208] ; 8-byte Folded Reload
add w9, w9, w10
sbfiz x9, x9, #3, #32
ldr x10, [x24, x9]
add x10, x10, x8
str x10, [x24, x9]
LBB1_35: ; in Loop: Header=BB1_29 Depth=2
ldr w9, [sp, #248]
ldr w10, [sp, #232]
cmp w9, w10
add x23, sp, #222
add x25, sp, #224
b.le LBB1_29
; %bb.36: ; in Loop: Header=BB1_29 Depth=2
ldr x11, [sp, #208] ; 8-byte Folded Reload
ldp w10, w9, [sp, #120] ; 8-byte Folded Reload
madd w9, w11, w9, w10
lsl w10, w9, #3
sub w9, w10, w9
add w9, w9, w11
sbfiz x9, x9, #3, #32
ldr x10, [x24, x9]
add x8, x10, x8
str x8, [x24, x9]
b LBB1_29
LBB1_37:
ldr x0, [sp, #104] ; 8-byte Folded Reload
bl _fclose
ldr x21, [sp, #200] ; 8-byte Folded Reload
mov x0, x21
bl _strlen
add x0, x0, #12
mov w1, #1
bl _calloc
mov x19, x0
bl _strlen
add x8, x19, x0
mov w9, #27760
movk w9, #46, lsl #16
str w9, [x8, #8]
Lloh40:
adrp x9, l_.str.24@PAGE
Lloh41:
add x9, x9, l_.str.24@PAGEOFF
Lloh42:
ldr x9, [x9]
str x9, [x8]
mov x0, x19
mov x1, x21
bl _strcat
Lloh43:
adrp x1, l_.str.22@PAGE
Lloh44:
add x1, x1, l_.str.22@PAGEOFF
bl _fopen
cbz x0, LBB1_67
; %bb.38:
mov x21, x0
mov w23, #0
mov x25, #0
ldr x28, [sp, #208] ; 8-byte Folded Reload
lsl w8, w28, #3
sub w27, w8, w28
Lloh45:
adrp x22, l_.str.26@PAGE
Lloh46:
add x22, x22, l_.str.26@PAGEOFF
LBB1_39: ; =>This Loop Header: Depth=1
; Child Loop BB1_40 Depth 2
mov x26, x28
mov x28, x23
LBB1_40: ; Parent Loop BB1_39 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x24, w28, sxtw #3]
str x8, [sp]
mov x0, x21
mov x1, x22
bl _fprintf
add w28, w28, #7
subs x26, x26, #1
b.ne LBB1_40
; %bb.41: ; in Loop: Header=BB1_39 Depth=1
mov w0, #10
mov x1, x21
bl _fputc
add x25, x25, #1
add w23, w23, w27
ldr x28, [sp, #208] ; 8-byte Folded Reload
cmp x25, x28
b.ne LBB1_39
; %bb.42:
mov x23, #0
mov w25, #1
Lloh47:
adrp x22, l_.str.26@PAGE
Lloh48:
add x22, x22, l_.str.26@PAGEOFF
LBB1_43: ; =>This Loop Header: Depth=1
; Child Loop BB1_44 Depth 2
mov x26, x28
mov x28, x25
LBB1_44: ; Parent Loop BB1_43 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x24, w28, sxtw #3]
str x8, [sp]
mov x0, x21
mov x1, x22
bl _fprintf
add w28, w28, #7
subs x26, x26, #1
b.ne LBB1_44
; %bb.45: ; in Loop: Header=BB1_43 Depth=1
mov w0, #10
mov x1, x21
bl _fputc
add x23, x23, #1
add w25, w25, w27
ldr x28, [sp, #208] ; 8-byte Folded Reload
cmp x23, x28
b.ne LBB1_43
; %bb.46:
ldr x9, [sp, #128] ; 8-byte Folded Reload
ldr x8, [sp, #136] ; 8-byte Folded Reload
stp x8, x9, [sp, #16]
ldr x9, [sp, #144] ; 8-byte Folded Reload
ldr x8, [sp, #152] ; 8-byte Folded Reload
stp x8, x9, [sp]
Lloh49:
adrp x1, l_.str.27@PAGE
Lloh50:
add x1, x1, l_.str.27@PAGEOFF
mov x0, x21
bl _fprintf
ldr w25, [sp, #100] ; 4-byte Folded Reload
cmp w25, #6
b.lo LBB1_52
; %bb.47:
sub w23, w28, #5
Lloh51:
adrp x22, l_.str.26@PAGE
Lloh52:
add x22, x22, l_.str.26@PAGEOFF
mov x24, x23
LBB1_48: ; =>This Inner Loop Header: Depth=1
str xzr, [sp]
mov x0, x21
mov x1, x22
bl _fprintf
subs w24, w24, #1
b.ne LBB1_48
; %bb.49:
mov w0, #10
mov x1, x21
bl _fputc
fcvt d0, s11
fcvt d1, s10
fcvt d2, s9
fcvt d3, s8
stp d2, d3, [sp, #16]
stp d0, d1, [sp]
Lloh53:
adrp x1, l_.str.28@PAGE
Lloh54:
add x1, x1, l_.str.28@PAGEOFF
mov x0, x21
bl _fprintf
cmp w25, #6
b.lo LBB1_53
; %bb.50:
Lloh55:
adrp x22, l_.str.29@PAGE
Lloh56:
add x22, x22, l_.str.29@PAGEOFF
LBB1_51: ; =>This Inner Loop Header: Depth=1
str xzr, [sp]
mov x0, x21
mov x1, x22
bl _fprintf
subs w23, w23, #1
b.ne LBB1_51
b LBB1_53
LBB1_52:
mov w0, #10
mov x1, x21
bl _fputc
fcvt d0, s11
fcvt d1, s10
fcvt d2, s9
fcvt d3, s8
stp d2, d3, [sp, #16]
stp d0, d1, [sp]
Lloh57:
adrp x1, l_.str.28@PAGE
Lloh58:
add x1, x1, l_.str.28@PAGEOFF
mov x0, x21
bl _fprintf
LBB1_53:
mov w0, #10
mov x1, x21
bl _fputc
mov w23, #0
mov x24, #0
Lloh59:
adrp x22, l_.str.30@PAGE
Lloh60:
add x22, x22, l_.str.30@PAGEOFF
LBB1_54: ; =>This Loop Header: Depth=1
; Child Loop BB1_55 Depth 2
mov x25, x28
mov x26, x23
LBB1_55: ; Parent Loop BB1_54 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x20, w26, sxtw #2]
fcvt d0, s0
str d0, [sp]
mov x0, x21
mov x1, x22
bl _fprintf
add w26, w26, #7
subs x25, x25, #1
b.ne LBB1_55
; %bb.56: ; in Loop: Header=BB1_54 Depth=1
mov w0, #10
mov x1, x21
bl _fputc
add x24, x24, #1
add w23, w23, w27
cmp x24, x28
b.ne LBB1_54
; %bb.57:
mov x23, #0
mov w24, #1
Lloh61:
adrp x22, l_.str.30@PAGE
Lloh62:
add x22, x22, l_.str.30@PAGEOFF
LBB1_58: ; =>This Loop Header: Depth=1
; Child Loop BB1_59 Depth 2
mov x25, x28
mov x26, x24
LBB1_59: ; Parent Loop BB1_58 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x20, w26, sxtw #2]
fcvt d0, s0
str d0, [sp]
mov x0, x21
mov x1, x22
bl _fprintf
add w26, w26, #7
subs x25, x25, #1
b.ne LBB1_59
; %bb.60: ; in Loop: Header=BB1_58 Depth=1
mov w0, #10
mov x1, x21
bl _fputc
add x23, x23, #1
add w24, w24, w27
cmp x23, x28
b.ne LBB1_58
; %bb.61:
mov x0, x21
bl _fclose
str x19, [sp]
Lloh63:
adrp x0, l_.str.31@PAGE
Lloh64:
add x0, x0, l_.str.31@PAGEOFF
bl _printf
ldur x8, [x29, #-136]
Lloh65:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh66:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh67:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_69
; %bb.62:
mov w0, #0
add sp, sp, #1392
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #128 ; 16-byte Folded Reload
ret
LBB1_63:
Lloh68:
adrp x0, l_str.33@PAGE
Lloh69:
add x0, x0, l_str.33@PAGEOFF
bl _puts
mov w0, #1
bl _exit
LBB1_64:
Lloh70:
adrp x0, l_str.34@PAGE
Lloh71:
add x0, x0, l_str.34@PAGEOFF
bl _puts
b LBB1_14
LBB1_65:
ldr x8, [sp, #200] ; 8-byte Folded Reload
str x8, [sp]
Lloh72:
adrp x0, l_.str.20@PAGE
Lloh73:
add x0, x0, l_.str.20@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB1_66:
; kill: def $w19 killed $w19 killed $x19 def $x19
str x19, [sp]
Lloh74:
adrp x0, l_.str.15@PAGE
Lloh75:
add x0, x0, l_.str.15@PAGEOFF
b LBB1_68
LBB1_67:
str x19, [sp]
Lloh76:
adrp x0, l_.str.25@PAGE
Lloh77:
add x0, x0, l_.str.25@PAGEOFF
LBB1_68:
bl _printf
mov w0, #1
bl _exit
LBB1_69:
bl ___stack_chk_fail
LBB1_70:
mov w8, #4
; kill: def $w0 killed $w0 killed $x0 def $x0
stp x0, x8, [sp]
Lloh78:
adrp x0, l_.str.13@PAGE
Lloh79:
add x0, x0, l_.str.13@PAGEOFF
b LBB1_13
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAddLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAddLdr Lloh40, Lloh41, Lloh42
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh78, Lloh79
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Default function: name = %s [ID=0]\n"
l_.str.2: ; @.str.2
.asciz "Function IDs: "
l_.str.3: ; @.str.3
.asciz "%d=%s"
l_.str.4: ; @.str.4
.asciz ",%d=%s"
l_.str.6: ; @.str.6
.asciz "dgemm"
l_.str.7: ; @.str.7
.asciz "sgemm"
l_.str.8: ; @.str.8
.asciz "zgemm"
l_.str.9: ; @.str.9
.asciz "cgemm"
.section __DATA,__const
.p2align 3 ; @__const.main.funcNames
l___const.main.funcNames:
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.section __TEXT,__cstring,cstring_literals
l_.str.10: ; @.str.10
.asciz "-h"
l_.str.11: ; @.str.11
.asciz "--help"
l_.str.13: ; @.str.13
.asciz "Error: function name ID %d out of range of [0:%d]\n"
l_.str.14: ; @.str.14
.asciz "Error: can't access file %s\n"
l_.str.15: ; @.str.15
.asciz "Error: failed to allocate strinf %d bytes\n"
l_.str.16: ; @.str.16
.asciz "grep %s %s |awk -F',' '{print $1 \" \" $2 \" \" $3 \" \" $6 \" \" $7 \" \" $8 \" \" $9 \" \" $10 \" \" $11 \" \" $12 \" \" $13 \" \" $14}'"
l_.str.17: ; @.str.17
.asciz "r"
l_.str.19: ; @.str.19
.asciz "%s %lld %f %d %d %d %d %d %d %c %c"
l_.str.20: ; @.str.20
.asciz "No %s function calls found in input files\n"
l_.str.21: ; @.str.21
.asciz "/tmp/armpl_scatter."
l_.str.22: ; @.str.22
.asciz "w"
l_.str.23: ; @.str.23
.asciz "%d %d %d %lld %f\n"
l_.str.24: ; @.str.24
.asciz "/tmp/armpl."
l_.str.25: ; @.str.25
.asciz "Error: failed to open output file %s\n"
l_.str.26: ; @.str.26
.asciz "%lld "
l_.str.27: ; @.str.27
.asciz "%lld %lld %lld %lld -1 "
l_.str.28: ; @.str.28
.asciz "%12.8f %12.8f %12.8f %12.8f -1.0 "
l_.str.29: ; @.str.29
.asciz "%lf "
l_.str.30: ; @.str.30
.asciz "%f "
l_.str.31: ; @.str.31
.asciz "Created file %s\n"
l_str: ; @str
.asciz "Usage: process-dgemm [function name ID] filename [filename] [filename] etc."
l_str.33: ; @str.33
.asciz "Failed to run command"
l_str.34: ; @str.34
.asciz "Error: missing file name"
.subsections_via_symbols
| the_stack_data/170453104.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function targ_free_gather_extra
_targ_free_gather_extra: ## @targ_free_gather_extra
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $4, %esi
callq _zzfree
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _targ_free_gather_extra
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function targ_free_gather_extra
_targ_free_gather_extra: ; @targ_free_gather_extra
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w1, #4
bl _zzfree
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _targ_free_gather_extra
.subsections_via_symbols
| AnghaBench/kphp-kdb/mc-proxy/extr_mc-proxy-targ-extension.c_targ_free_gather_extra.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SCR_RunCinematic ## -- Begin function SCR_RunCinematic
.p2align 4, 0x90
_SCR_RunCinematic: ## @SCR_RunCinematic
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _CL_handle@GOTPCREL(%rip), %rax
movq (%rax), %rdi
testq %rdi, %rdi
js LBB0_2
## %bb.1:
movq _MAX_VIDEO_HANDLES@GOTPCREL(%rip), %rax
cmpq (%rax), %rdi
jge LBB0_2
## %bb.3:
popq %rbp
jmp _CIN_RunCinematic ## TAILCALL
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CL_handle,8,3 ## @CL_handle
.comm _MAX_VIDEO_HANDLES,8,3 ## @MAX_VIDEO_HANDLES
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SCR_RunCinematic ; -- Begin function SCR_RunCinematic
.p2align 2
_SCR_RunCinematic: ; @SCR_RunCinematic
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _CL_handle@GOTPAGE
Lloh1:
ldr x8, [x8, _CL_handle@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
tbnz x0, #63, LBB0_3
; %bb.1:
Lloh3:
adrp x8, _MAX_VIDEO_HANDLES@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_VIDEO_HANDLES@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x0, x8
b.ge LBB0_3
; %bb.2:
b _CIN_RunCinematic
LBB0_3:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _CL_handle,8,3 ; @CL_handle
.comm _MAX_VIDEO_HANDLES,8,3 ; @MAX_VIDEO_HANDLES
.subsections_via_symbols
| AnghaBench/lab/engine/code/client/extr_cl_cin.c_SCR_RunCinematic.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function route4_queue_work
_route4_queue_work: ## @route4_queue_work
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _route4_delete_filter_work@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _tcf_queue_work ## TAILCALL
.cfi_endproc
## -- End function
.comm _route4_delete_filter_work,4,2 ## @route4_delete_filter_work
.no_dead_strip _route4_queue_work
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function route4_queue_work
_route4_queue_work: ; @route4_queue_work
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _route4_delete_filter_work@GOTPAGE
Lloh1:
ldr x8, [x8, _route4_delete_filter_work@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _tcf_queue_work
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _route4_delete_filter_work,4,2 ; @route4_delete_filter_work
.no_dead_strip _route4_queue_work
.subsections_via_symbols
| AnghaBench/linux/net/sched/extr_cls_route.c_route4_queue_work.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i2c_start
_i2c_start: ## @i2c_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl $1, %esi
callq _i2c_set_scl
movq %rbx, %rdi
movl $1, %esi
callq _i2c_set_sda
movq %rbx, %rdi
xorl %esi, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _i2c_set_sda ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _i2c_start
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i2c_start
_i2c_start: ; @i2c_start
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w1, #1
bl _i2c_set_scl
mov x0, x19
mov w1, #1
bl _i2c_set_sda
mov x0, x19
mov w1, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _i2c_set_sda
.cfi_endproc
; -- End function
.no_dead_strip _i2c_start
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/comedi/drivers/extr_cb_pcidas64.c_i2c_start.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ackermann ## -- Begin function ackermann
.p2align 4, 0x90
_ackermann: ## @ackermann
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %eax
## kill: def $edi killed $edi def $rdi
testl %edi, %edi
jne LBB0_1
LBB0_5:
incl %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
decl %eax
## kill: def $edi killed $edi killed $rdi
movl %eax, %esi
callq _ackermann
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl %ebx, %edi
testl %ebx, %ebx
je LBB0_5
LBB0_1: ## =>This Inner Loop Header: Depth=1
leal -1(%rdi), %ebx
testl %eax, %eax
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, %eax
jmp LBB0_4
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $2, %edi
movl $2, %esi
callq _ackermann
leaq L_.str(%rip), %rdi
movl $2, %esi
movl $2, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ackerman(%d, %d) = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ackermann ; -- Begin function ackermann
.p2align 2
_ackermann: ; @ackermann
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbnz w0, LBB0_2
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
sub w1, w1, #1
bl _ackermann
mov x1, x0
mov x0, x19
cbz w19, LBB0_4
LBB0_2: ; =>This Inner Loop Header: Depth=1
sub w19, w0, #1
cbnz w1, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov w1, #1
mov x0, x19
cbnz w19, LBB0_2
LBB0_4:
add w0, w1, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w19, #2
mov w0, #2
mov w1, #2
bl _ackermann
; kill: def $w0 killed $w0 def $x0
stp x19, x0, [sp, #8]
str x19, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ackerman(%d, %d) = %d\n"
.subsections_via_symbols
| the_stack_data/75138375.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _do_delete_user_lang ## -- Begin function do_delete_user_lang
.p2align 4, 0x90
_do_delete_user_lang: ## @do_delete_user_lang
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movl %edi, %r15d
callq _get_user
testl %ebx, %ebx
js LBB0_3
## %bb.1:
movq %rax, %r14
testq %rax, %rax
je LBB0_3
## %bb.2:
movq _MAX_LANGS@GOTPCREL(%rip), %rax
cmpl %ebx, (%rax)
jle LBB0_3
## %bb.4:
movq _LEV_TARG_LANG_DEL@GOTPCREL(%rip), %rax
movq (%rax), %rdi
incq %rdi
movl $12, %esi
movl %r15d, %edx
callq _alloc_log_event
movq (%rax), %rsi
movl %ebx, (%rsi)
movq %r14, %rdi
movl $1, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _del_langs ## TAILCALL
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAX_LANGS,4,2 ## @MAX_LANGS
.comm _LEV_TARG_LANG_DEL,8,3 ## @LEV_TARG_LANG_DEL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _do_delete_user_lang ; -- Begin function do_delete_user_lang
.p2align 2
_do_delete_user_lang: ; @do_delete_user_lang
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
bl _get_user
tbnz w19, #31, LBB0_4
; %bb.1:
mov x20, x0
cbz x0, LBB0_4
; %bb.2:
Lloh0:
adrp x8, _MAX_LANGS@GOTPAGE
Lloh1:
ldr x8, [x8, _MAX_LANGS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w19
b.le LBB0_4
; %bb.3:
Lloh3:
adrp x8, _LEV_TARG_LANG_DEL@GOTPAGE
Lloh4:
ldr x8, [x8, _LEV_TARG_LANG_DEL@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
add x0, x8, #1
mov w1, #12
mov x2, x21
bl _alloc_log_event
ldr x1, [x0]
str w19, [x1]
mov x0, x20
mov w2, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _del_langs
LBB0_4:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _MAX_LANGS,4,2 ; @MAX_LANGS
.comm _LEV_TARG_LANG_DEL,8,3 ; @LEV_TARG_LANG_DEL
.subsections_via_symbols
| AnghaBench/kphp-kdb/targ/extr_targ-data.c_do_delete_user_lang.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/97281.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cafe_nand_interrupt
_cafe_nand_interrupt: ## @cafe_nand_interrupt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rsi), %rbx
movq _NAND_IRQ@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq %rbx, %rdi
callq _cafe_readl
movl %eax, %r14d
movl %eax, %esi
andl $1879048191, %esi ## imm = 0x6FFFFFFF
movl (%r12), %edx
movq %rbx, %rdi
callq _cafe_writel
testl %r14d, %r14d
je LBB0_1
## %bb.2:
movq (%rbx), %r15
movl (%r12), %esi
movq %rbx, %rdi
callq _cafe_readl
leaq L_.str(%rip), %rsi
movq %r15, %rdi
movl %r14d, %edx
movl %eax, %ecx
callq _cafe_dev_dbg
movq _IRQ_HANDLED@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NAND_IRQ,4,2 ## @NAND_IRQ
.comm _IRQ_NONE,4,2 ## @IRQ_NONE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "irq, bits %x (%x)\n"
.comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED
.no_dead_strip _cafe_nand_interrupt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cafe_nand_interrupt
_cafe_nand_interrupt: ; @cafe_nand_interrupt
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x20, [x1]
Lloh0:
adrp x22, _NAND_IRQ@GOTPAGE
Lloh1:
ldr x22, [x22, _NAND_IRQ@GOTPAGEOFF]
ldr w1, [x22]
mov x0, x20
bl _cafe_readl
mov x19, x0
mov w8, #1879048191
and w1, w0, w8
ldr w2, [x22]
mov x0, x20
bl _cafe_writel
cbz w19, LBB0_2
; %bb.1:
ldr x21, [x20]
ldr w1, [x22]
mov x0, x20
bl _cafe_readl
mov x3, x0
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
mov x2, x19
bl _cafe_dev_dbg
Lloh4:
adrp x8, _IRQ_HANDLED@GOTPAGE
Lloh5:
ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
b LBB0_3
LBB0_2:
Lloh6:
adrp x8, _IRQ_NONE@GOTPAGE
Lloh7:
ldr x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_3:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _NAND_IRQ,4,2 ; @NAND_IRQ
.comm _IRQ_NONE,4,2 ; @IRQ_NONE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "irq, bits %x (%x)\n"
.comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED
.no_dead_strip _cafe_nand_interrupt
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_cafe_nand.c_cafe_nand_interrupt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function read_url
_read_url: ## @read_url
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %r8, %r14
movq %rdi, %rbx
movq %r8, %rcx
callq _read_str
movl %eax, %edi
callq _SVN_ERR
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.1:
cmpb $0, (%rdi)
je LBB0_3
## %bb.2:
movq %r14, %rsi
callq _svn_uri_canonicalize
movq %rax, (%rbx)
LBB0_3:
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.no_dead_strip _read_url
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function read_url
_read_url: ; @read_url
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x4
mov x19, x0
mov x3, x4
bl _read_str
bl _SVN_ERR
ldr x0, [x19]
cbz x0, LBB0_3
; %bb.1:
ldrb w8, [x0]
cbz w8, LBB0_3
; %bb.2:
mov x1, x20
bl _svn_uri_canonicalize
str x0, [x19]
LBB0_3:
Lloh0:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.no_dead_strip _read_url
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_old-and-busted.c_read_url.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vmalloc_32 ## -- Begin function vmalloc_32
.p2align 4, 0x90
_vmalloc_32: ## @vmalloc_32
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _PAGE_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
popq %rbp
jmp ___vmalloc ## TAILCALL
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _PAGE_KERNEL,4,2 ## @PAGE_KERNEL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vmalloc_32 ; -- Begin function vmalloc_32
.p2align 2
_vmalloc_32: ; @vmalloc_32
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _PAGE_KERNEL@GOTPAGE
Lloh4:
ldr x8, [x8, _PAGE_KERNEL@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
b ___vmalloc
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _PAGE_KERNEL,4,2 ; @PAGE_KERNEL
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/mm/extr_nommu.c_vmalloc_32.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_fs_fs__dag_remove_node ## -- Begin function svn_fs_fs__dag_remove_node
.p2align 4, 0x90
_svn_fs_fs__dag_remove_node: ## @svn_fs_fs__dag_remove_node
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq -32(%rbp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq _svn_fs_fs__dag_get_node
movl %eax, %edi
callq _SVN_ERR
movq -32(%rbp), %rdi
callq _svn_fs_fs__dag_check_mutable
testl %eax, %eax
je LBB0_1
## %bb.2:
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq _svn_fs_fs__delete_node_revision
jmp LBB0_3
LBB0_1:
movq _SVN_ERR_FS_NOT_MUTABLE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rdx
xorl %esi, %esi
callq _svn_error_createf
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SVN_ERR_FS_NOT_MUTABLE,4,2 ## @SVN_ERR_FS_NOT_MUTABLE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Attempted removal of immutable node"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_fs_fs__dag_remove_node ; -- Begin function svn_fs_fs__dag_remove_node
.p2align 2
_svn_fs_fs__dag_remove_node: ; @svn_fs_fs__dag_remove_node
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
add x0, sp, #8
mov x1, x21
mov x2, x20
mov x3, x19
bl _svn_fs_fs__dag_get_node
bl _SVN_ERR
ldr x0, [sp, #8]
bl _svn_fs_fs__dag_check_mutable
cbz w0, LBB0_2
; %bb.1:
mov x0, x21
mov x1, x20
mov x2, x19
bl _svn_fs_fs__delete_node_revision
b LBB0_3
LBB0_2:
Lloh0:
adrp x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
mov x1, #0
bl _svn_error_createf
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SVN_ERR_FS_NOT_MUTABLE,4,2 ; @SVN_ERR_FS_NOT_MUTABLE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Attempted removal of immutable node"
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_dag.c_svn_fs_fs__dag_remove_node.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $120, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -76(%rbp)
movups %xmm0, -32(%rbp)
movups %xmm0, -44(%rbp)
movups %xmm0, -60(%rbp)
movups %xmm0, -92(%rbp)
movups %xmm0, -108(%rbp)
movups %xmm0, -124(%rbp)
movl $1852337994, -128(%rbp) ## imm = 0x6E686F4A
movl $25, -76(%rbp)
leaq -72(%rbp), %rbx
movq %rbx, %rdi
callq _gets
leaq -20(%rbp), %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _scanf
movq %rbx, %rdi
callq _puts
movl -20(%rbp), %esi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
callq _system
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $120, %rsp
popq %rbx
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d\n"
L_.str.3: ## @.str.3
.asciz "pause"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
movi.2d v0, #0000000000000000
stur q0, [sp, #60]
stur q0, [sp, #104]
stur q0, [sp, #92]
stur q0, [sp, #76]
stur q0, [sp, #44]
stur q0, [sp, #28]
stur q0, [sp, #12]
mov w8, #28490
movk w8, #28264, lsl #16
str w8, [sp, #8]
mov w8, #25
str w8, [sp, #60]
add x20, sp, #8
add x19, x20, #56
mov x0, x19
bl _gets
add x8, x20, #108
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov x0, x19
bl _puts
ldr w8, [sp, #116]
str x8, [sp]
Lloh5:
adrp x0, l_.str.2@PAGE
Lloh6:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
Lloh7:
adrp x0, l_.str.3@PAGE
Lloh8:
add x0, x0, l_.str.3@PAGEOFF
bl _system
ldur x8, [x29, #-24]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
mov w0, #0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d\n"
l_.str.3: ; @.str.3
.asciz "pause"
.subsections_via_symbols
| the_stack_data/100139995.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gsm_free_mux
_gsm_free_mux: ## @gsm_free_mux
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq 8(%rdi), %rdi
callq _kfree
movq (%rbx), %rdi
callq _kfree
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _gsm_free_mux
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gsm_free_mux
_gsm_free_mux: ; @gsm_free_mux
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #8]
bl _kfree
ldr x0, [x19]
bl _kfree
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kfree
.cfi_endproc
; -- End function
.no_dead_strip _gsm_free_mux
.subsections_via_symbols
| AnghaBench/linux/drivers/tty/extr_n_gsm.c_gsm_free_mux.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function ccv_ferns_correct
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
LCPI0_1:
.quad 0x3ee4f8b588e368f1 ## double 1.0000000000000001E-5
.section __TEXT,__text,regular,pure_instructions
.globl _ccv_ferns_correct
.p2align 4, 0x90
_ccv_ferns_correct: ## @ccv_ferns_correct
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
movl %edx, %r15d
movq %rsi, %r13
movq %rdi, %rbx
xorl %edi, %edi
cmpl $2, %edx
setb %dil
callq _assert
movl %r14d, %edi
notl %edi
shrl $31, %edi
callq _assert
movq %rbx, %rdx
incl %r14d
movq (%rbx), %rax
movq 8(%rbx), %rbx
movq 16(%rdx), %r12
movslq %r15d, %rsi
addl %r14d, (%rax,%rsi,4)
cmpl $0, 24(%rdx)
jle LBB0_3
## %bb.1:
movl (%rax), %ecx
movl 4(%rax), %eax
incl %ecx
cvtsi2sd %ecx, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
movapd %xmm1, %xmm2
divsd %xmm0, %xmm2
xorps %xmm0, %xmm0
cvtsd2ss %xmm2, %xmm0
movss %xmm0, -48(%rbp) ## 4-byte Spill
incl %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
movss %xmm0, -44(%rbp) ## 4-byte Spill
xorl %r15d, %r15d
movl %r14d, -52(%rbp) ## 4-byte Spill
movq %r13, -88(%rbp) ## 8-byte Spill
movq %rdx, -80(%rbp) ## 8-byte Spill
movq %rsi, -72(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movslq (%r13,%r15,4), %rax
leaq (%rsi,%rax,2), %rcx
addq %rax, %rax
addl %r14d, (%rbx,%rcx,4)
movslq %eax, %r14
xorps %xmm0, %xmm0
cvtsi2ssl (%rbx,%r14,4), %xmm0
mulss -48(%rbp), %xmm0 ## 4-byte Folded Reload
cvtss2sd %xmm0, %xmm0
movsd LCPI0_1(%rip), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm2, %xmm0
cvtsd2ss %xmm0, %xmm0
leal 1(%r14), %eax
movslq %eax, %r13
xorps %xmm1, %xmm1
cvtsi2ssl (%rbx,%r13,4), %xmm1
mulss -44(%rbp), %xmm1 ## 4-byte Folded Reload
cvtss2sd %xmm1, %xmm1
addsd %xmm2, %xmm1
cvtsd2ss %xmm1, %xmm1
movss %xmm1, -60(%rbp) ## 4-byte Spill
movaps %xmm0, %xmm2
addss %xmm1, %xmm2
movss %xmm2, -56(%rbp) ## 4-byte Spill
divss %xmm2, %xmm0
callq _logf
movss %xmm0, (%r12,%r14,4)
movl -52(%rbp), %r14d ## 4-byte Reload
movss -60(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
divss -56(%rbp), %xmm0 ## 4-byte Folded Reload
callq _logf
movq -72(%rbp), %rsi ## 8-byte Reload
movq -80(%rbp), %rdx ## 8-byte Reload
movss %xmm0, (%r12,%r13,4)
movq -88(%rbp), %r13 ## 8-byte Reload
movslq 28(%rdx), %rax
leaq (%rbx,%rax,8), %rbx
leaq (%r12,%rax,8), %r12
incq %r15
movslq 24(%rdx), %rax
cmpq %rax, %r15
jl LBB0_2
LBB0_3:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ccv_ferns_correct ; -- Begin function ccv_ferns_correct
.p2align 2
_ccv_ferns_correct: ; @ccv_ferns_correct
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp d9, d8, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset b8, -88
.cfi_offset b9, -96
mov x22, x3
mov x19, x2
mov x20, x1
mov x21, x0
cmp w2, #2
cset w0, lo
bl _assert
mvn w8, w22
lsr w0, w8, #31
bl _assert
add w22, w22, #1
ldp x8, x23, [x21]
sbfiz x9, x19, #2, #32
ldr w10, [x8, x9]
ldr x24, [x21, #16]
add w10, w10, w22
str w10, [x8, x9]
ldr w9, [x21, #24]
cmp w9, #1
b.lt LBB0_3
; %bb.1:
mov x25, #0
ldr d0, [x8]
movi.2s v1, #1
add.2s v0, v0, v1
sshll.2d v0, v0, #0
scvtf.2d v0, v0
fmov.2d v1, #1.00000000
fdiv.2d v0, v1, v0
fcvtn v8.2s, v0.2d
mov x8, #26865
movk x8, #35043, lsl #16
movk x8, #63669, lsl #32
movk x8, #16100, lsl #48
dup.2d v0, x8
str q0, [sp] ; 16-byte Folded Spill
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [x20, x25, lsl #2]
add w9, w19, w8, lsl #1
sbfiz x9, x9, #2, #32
ldr w10, [x23, x9]
add w10, w10, w22
str w10, [x23, x9]
lsl x26, x8, #3
ldr d0, [x23, x26]
scvtf.2s v0, v0
fmul.2s v0, v8, v0
fcvtl v0.2d, v0.2s
ldr q1, [sp] ; 16-byte Folded Reload
fadd.2d v0, v0, v1
fcvtn v0.2s, v0.2d
dup.2s v1, v0[1]
fadd.2s v1, v1, v0
dup.2s v1, v1[0]
fdiv.2s v0, v0, v1
str q0, [sp, #16] ; 16-byte Folded Spill
mov s0, v0[1]
bl _logf
str d0, [sp, #32] ; 16-byte Folded Spill
ldr q0, [sp, #16] ; 16-byte Folded Reload
; kill: def $s0 killed $s0 killed $q0
bl _logf
; kill: def $s0 killed $s0 def $q0
ldr q1, [sp, #32] ; 16-byte Folded Reload
mov.s v0[1], v1[0]
str d0, [x24, x26]
ldpsw x9, x8, [x21, #24]
lsl x8, x8, #3
add x23, x23, x8
add x24, x24, x8
add x25, x25, #1
cmp x25, x9
b.lt LBB0_2
LBB0_3:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/ccv/lib/extr_ccv_ferns.c_ccv_ferns_correct.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %r15d
xorl %ebx, %ebx
xorl %eax, %eax
callq _supported_arch
testl %eax, %eax
je LBB0_3
## %bb.1:
movq _testcases@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %ebx, %edi
callq _ARRAY_SIZE
movl %ebx, %edi
movl %eax, %esi
callq _run_test
movl %eax, %ebx
cmpl $2, %r15d
jne LBB0_3
## %bb.2:
movq 8(%r14), %rdi
leaq L_.str(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_4
LBB0_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq _hugetlb_testcases@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %ebx, %edi
callq _ARRAY_SIZE
movl %ebx, %edi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _run_test ## TAILCALL
.cfi_endproc
## -- End function
.comm _testcases,4,2 ## @testcases
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "--run-hugetlb"
.comm _hugetlb_testcases,4,2 ## @hugetlb_testcases
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
bl _supported_arch
cbz w0, LBB0_4
; %bb.1:
Lloh0:
adrp x8, _testcases@GOTPAGE
Lloh1:
ldr x8, [x8, _testcases@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
mov x0, x20
bl _ARRAY_SIZE
mov x1, x0
mov x0, x20
bl _run_test
mov x20, x0
cmp w21, #2
b.ne LBB0_5
; %bb.2:
ldr x0, [x19, #8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cbnz w0, LBB0_5
; %bb.3:
Lloh5:
adrp x8, _hugetlb_testcases@GOTPAGE
Lloh6:
ldr x8, [x8, _hugetlb_testcases@GOTPAGEOFF]
Lloh7:
ldr w19, [x8]
mov x0, x19
bl _ARRAY_SIZE
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _run_test
LBB0_4:
mov w20, #0
LBB0_5:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _testcases,4,2 ; @testcases
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "--run-hugetlb"
.comm _hugetlb_testcases,4,2 ; @hugetlb_testcases
.subsections_via_symbols
| AnghaBench/linux/tools/testing/selftests/vm/extr_va_128TBswitch.c_main.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx4_SW2HW_CQ_wrapper ## -- Begin function mlx4_SW2HW_CQ_wrapper
.p2align 4, 0x90
_mlx4_SW2HW_CQ_wrapper: ## @mlx4_SW2HW_CQ_wrapper
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -104(%rbp) ## 8-byte Spill
movq %r8, -96(%rbp) ## 8-byte Spill
movq %rdx, %r12
movl %esi, %r14d
movq %rdi, %rbx
movl (%rdx), %r13d
movq %rcx, -88(%rbp) ## 8-byte Spill
movq (%rcx), %r15
movq %r15, %rdi
callq _cq_get_mtt_addr
cltd
idivl (%rbx)
movl %eax, -56(%rbp) ## 4-byte Spill
movq $0, -64(%rbp)
movq _RES_CQ_HW@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -64(%rbp), %r8
movq %rbx, -112(%rbp) ## 8-byte Spill
movq %rbx, %rdi
movl %r14d, %ebx
movl %r14d, %esi
movl %r13d, %edx
callq _cq_res_start_move_to
movl %eax, %r14d
testl %eax, %eax
jne LBB0_7
## %bb.1:
movq %r15, -80(%rbp) ## 8-byte Spill
movq %r12, -72(%rbp) ## 8-byte Spill
movl %r13d, -52(%rbp) ## 4-byte Spill
movq _RES_MTT@GOTPCREL(%rip), %r12
movl (%r12), %ecx
leaq -48(%rbp), %r8
movq -112(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
movl %ebx, %r13d
movl %ebx, %esi
movl -56(%rbp), %ebx ## 4-byte Reload
movl %ebx, %edx
callq _get_res
movl %eax, %r14d
testl %eax, %eax
jne LBB0_6
## %bb.2:
movq -80(%rbp), %rdi ## 8-byte Reload
callq _cq_get_mtt_size
movq -48(%rbp), %r8
movq %r15, %rdi
movl %r13d, %esi
movl %ebx, %edx
movl %eax, %ecx
callq _check_mtt_range
movl %eax, %r14d
testl %eax, %eax
jne LBB0_5
## %bb.3:
movq %r15, %rdi
movl %r13d, %esi
movq -72(%rbp), %rdx ## 8-byte Reload
movq -88(%rbp), %rcx ## 8-byte Reload
movq -96(%rbp), %r8 ## 8-byte Reload
movq -104(%rbp), %r9 ## 8-byte Reload
callq _mlx4_DMA_wrapper
movl %eax, %r14d
testl %eax, %eax
je LBB0_4
LBB0_5:
movq -48(%rbp), %rax
movl (%rax), %edx
movl (%r12), %ecx
movq %r15, %rdi
movl %r13d, %esi
callq _put_res
LBB0_6:
movq _RES_CQ@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
movl %r13d, %esi
movl -52(%rbp), %ecx ## 4-byte Reload
callq _res_abort_move
LBB0_7:
movl %r14d, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq -48(%rbp), %rdi
addq $4, %rdi
callq _atomic_inc
movq -48(%rbp), %rax
movq -64(%rbp), %rcx
movq %rax, (%rcx)
movq -48(%rbp), %rax
movl (%rax), %edx
movl (%r12), %ecx
movq %r15, %rdi
movl %r13d, %esi
callq _put_res
movq _RES_CQ@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
movl %r13d, %esi
movl -52(%rbp), %ecx ## 4-byte Reload
callq _res_end_move
xorl %r14d, %r14d
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _RES_CQ_HW,4,2 ## @RES_CQ_HW
.comm _RES_MTT,4,2 ## @RES_MTT
.comm _RES_CQ,4,2 ## @RES_CQ
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx4_SW2HW_CQ_wrapper ; -- Begin function mlx4_SW2HW_CQ_wrapper
.p2align 2
_mlx4_SW2HW_CQ_wrapper: ; @mlx4_SW2HW_CQ_wrapper
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x5, [sp, #24] ; 8-byte Folded Spill
mov x24, x4
mov x25, x3
mov x23, x2
mov x26, x1
mov x21, x0
ldr w19, [x2]
ldr x27, [x3]
mov x0, x27
bl _cq_get_mtt_addr
mov x28, x0
ldr w22, [x21]
str xzr, [sp, #40]
Lloh0:
adrp x8, _RES_CQ_HW@GOTPAGE
Lloh1:
ldr x8, [x8, _RES_CQ_HW@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
add x4, sp, #40
mov x0, x21
mov x20, x26
mov x1, x26
mov x2, x19
bl _cq_res_start_move_to
mov x26, x0
cbnz w0, LBB0_6
; %bb.1:
stp x23, x25, [sp] ; 16-byte Folded Spill
str x24, [sp, #16] ; 8-byte Folded Spill
Lloh3:
adrp x23, _RES_MTT@GOTPAGE
Lloh4:
ldr x23, [x23, _RES_MTT@GOTPAGEOFF]
ldr w3, [x23]
sdiv w28, w28, w22
add x4, sp, #32
mov x0, x21
mov x1, x20
mov x2, x28
bl _get_res
mov x26, x0
cbnz w0, LBB0_5
; %bb.2:
mov x0, x27
bl _cq_get_mtt_size
mov x3, x0
ldr x4, [sp, #32]
mov x0, x21
mov x1, x20
mov x2, x28
bl _check_mtt_range
mov x26, x0
cbnz w0, LBB0_4
; %bb.3:
mov x0, x21
mov x1, x20
ldp x2, x3, [sp] ; 16-byte Folded Reload
ldp x4, x5, [sp, #16] ; 16-byte Folded Reload
bl _mlx4_DMA_wrapper
mov x26, x0
cbz w0, LBB0_7
LBB0_4:
ldr x8, [sp, #32]
ldr w2, [x8]
ldr w3, [x23]
mov x0, x21
mov x1, x20
bl _put_res
LBB0_5:
Lloh5:
adrp x8, _RES_CQ@GOTPAGE
Lloh6:
ldr x8, [x8, _RES_CQ@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
mov x0, x21
mov x1, x20
mov x3, x19
bl _res_abort_move
LBB0_6:
mov x0, x26
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_7:
ldr x8, [sp, #32]
add x0, x8, #4
bl _atomic_inc
ldp x8, x9, [sp, #32]
str x8, [x9]
ldr x8, [sp, #32]
ldr w2, [x8]
ldr w3, [x23]
mov x0, x21
mov x1, x20
bl _put_res
Lloh8:
adrp x8, _RES_CQ@GOTPAGE
Lloh9:
ldr x8, [x8, _RES_CQ@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
mov x0, x21
mov x1, x20
mov x3, x19
bl _res_end_move
b LBB0_6
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _RES_CQ_HW,4,2 ; @RES_CQ_HW
.comm _RES_MTT,4,2 ; @RES_MTT
.comm _RES_CQ,4,2 ; @RES_CQ
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_resource_tracker.c_mlx4_SW2HW_CQ_wrapper.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
testl %edi, %edi
je LBB0_2
## %bb.1:
retq
LBB0_2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
callq ___VERIFIER_error
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
xorl %eax, %eax
callq ___VERIFIER_nondet_uint
movl %eax, %r14d
movl %eax, %r15d
leaq (,%r15,4), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rax
cmpl $2, %r14d
jb LBB1_14
## %bb.1:
movl $1, %ecx
jmp LBB1_2
.p2align 4, 0x90
LBB1_7: ## in Loop: Header=BB1_2 Depth=1
xorl %esi, %esi
LBB1_8: ## in Loop: Header=BB1_2 Depth=1
movslq %esi, %rsi
movl %edx, (%rax,%rsi,4)
incq %rcx
cmpq %r15, %rcx
je LBB1_9
LBB1_2: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movl (%rax,%rcx,4), %edx
movq %rcx, %rsi
jmp LBB1_3
.p2align 4, 0x90
LBB1_6: ## in Loop: Header=BB1_3 Depth=2
leaq 1(%rdi), %rbx
movq %rdi, %rsi
cmpq $1, %rbx
jle LBB1_7
LBB1_3: ## Parent Loop BB1_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq -1(%rsi), %rdi
movl %edi, %ebx
movl (%rax,%rbx,4), %ebx
cmpl %edx, %ebx
jle LBB1_8
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
cmpq $2, %rsi
ja LBB1_6
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl %ebx, (%rax,%rsi,4)
jmp LBB1_6
LBB1_9:
cmpl $2, %r15d
jb LBB1_14
## %bb.10:
movl (%rax), %ecx
movl $1, %edx
.p2align 4, 0x90
LBB1_12: ## =>This Inner Loop Header: Depth=1
movl %ecx, %esi
movl (%rax,%rdx,4), %ecx
cmpl %ecx, %esi
jg LBB1_13
## %bb.11: ## in Loop: Header=BB1_12 Depth=1
incq %rdx
cmpq %rdx, %r15
jne LBB1_12
LBB1_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB1_16
## %bb.15:
xorl %eax, %eax
leaq -24(%rbp), %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB1_13:
xorl %eax, %eax
callq ___VERIFIER_error
LBB1_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
cbz w0, LBB0_2
; %bb.1:
ret
LBB0_2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl ___VERIFIER_error
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #16
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-8]
bl ___VERIFIER_nondet_uint
mov w12, w0
lsl x8, x12, #2
mov x9, x8
Lloh3:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh4:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x8, x9, x8
mov sp, x8
cmp w0, #2
b.lo LBB1_13
; %bb.1:
mov w9, #1
b LBB1_4
LBB1_2: ; in Loop: Header=BB1_4 Depth=1
mov x11, #0
LBB1_3: ; in Loop: Header=BB1_4 Depth=1
sbfiz x11, x11, #2, #32
str w10, [x8, x11]
add x9, x9, #1
cmp x9, x12
b.eq LBB1_9
LBB1_4: ; =>This Loop Header: Depth=1
; Child Loop BB1_6 Depth 2
ldr w10, [x8, x9, lsl #2]
mov x11, x9
b LBB1_6
LBB1_5: ; in Loop: Header=BB1_6 Depth=2
add x14, x13, #1
mov x11, x13
cmp x14, #1
b.le LBB1_2
LBB1_6: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
sub x13, x11, #1
ldr w14, [x8, w13, uxtw #2]
cmp w14, w10
b.le LBB1_3
; %bb.7: ; in Loop: Header=BB1_6 Depth=2
cmp x11, #2
b.hi LBB1_5
; %bb.8: ; in Loop: Header=BB1_6 Depth=2
str w14, [x8, x11, lsl #2]
b LBB1_5
LBB1_9:
cmp w12, #2
b.lo LBB1_13
; %bb.10:
ldr w10, [x8], #4
sub x9, x12, #1
LBB1_11: ; =>This Inner Loop Header: Depth=1
ldr w11, [x8]
cmp w10, w11
b.gt LBB1_15
; %bb.12: ; in Loop: Header=BB1_11 Depth=1
add x8, x8, #4
mov x10, x11
subs x9, x9, #1
b.ne LBB1_11
LBB1_13:
ldur x8, [x29, #-8]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_16
; %bb.14:
mov w0, #0
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB1_15:
bl ___VERIFIER_error
LBB1_16:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/15849.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _release_task ## -- Begin function release_task
.p2align 4, 0x90
_release_task: ## @release_task
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq _tasklist_lock@GOTPCREL(%rip), %r14
movq _delayed_put_task_struct@GOTPCREL(%rip), %r13
jmp LBB0_1
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
callq _write_unlock_irq
movq %rbx, %rdi
callq _release_thread
addq $8, %rbx
movl (%r13), %esi
movq %rbx, %rdi
callq _call_rcu
movl %r12d, %edi
callq _unlikely
testq %rax, %rax
je LBB0_7
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r15, %rbx
movq %r15, %rdi
callq _tracehook_prepare_release_task
movq %r15, %rdi
callq ___task_cred
movq (%rax), %rdi
callq _atomic_dec
movq %r15, %rdi
callq _proc_flush_task
movq %r14, %rdi
callq _write_lock_irq
movq %r15, %rdi
callq _tracehook_finish_release_task
movq %r15, %rdi
callq ___exit_signal
movq 16(%r15), %r15
xorl %r12d, %r12d
cmpq %rbx, %r15
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _thread_group_empty
testq %rax, %rax
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq (%r15), %rax
movq _EXIT_ZOMBIE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _task_detached
movl %eax, %edi
callq _BUG_ON
movl 12(%r15), %esi
movq %r15, %rdi
callq _do_notify_parent
movq %r15, %rdi
callq _task_detached
testl %eax, %eax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq _EXIT_DEAD@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, (%r15)
movl %eax, %r12d
jmp LBB0_6
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _tasklist_lock,4,2 ## @tasklist_lock
.comm _EXIT_ZOMBIE,8,3 ## @EXIT_ZOMBIE
.comm _EXIT_DEAD,8,3 ## @EXIT_DEAD
.comm _delayed_put_task_struct,4,2 ## @delayed_put_task_struct
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _release_task ; -- Begin function release_task
.p2align 2
_release_task: ; @release_task
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x0
Lloh0:
adrp x19, _tasklist_lock@GOTPAGE
Lloh1:
ldr x19, [x19, _tasklist_lock@GOTPAGEOFF]
Lloh2:
adrp x23, _delayed_put_task_struct@GOTPAGE
Lloh3:
ldr x23, [x23, _delayed_put_task_struct@GOTPAGEOFF]
Lloh4:
adrp x24, _EXIT_ZOMBIE@GOTPAGE
Lloh5:
ldr x24, [x24, _EXIT_ZOMBIE@GOTPAGEOFF]
Lloh6:
adrp x25, _EXIT_DEAD@GOTPAGE
Lloh7:
ldr x25, [x25, _EXIT_DEAD@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov w22, #0
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl _write_unlock_irq
mov x0, x20
bl _release_thread
add x0, x20, #8
ldr w1, [x23]
bl _call_rcu
mov x0, x22
bl _unlikely
cbz x0, LBB0_8
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x20, x21
mov x0, x21
bl _tracehook_prepare_release_task
mov x0, x21
bl ___task_cred
ldr x0, [x0]
bl _atomic_dec
mov x0, x21
bl _proc_flush_task
mov x0, x19
bl _write_lock_irq
mov x0, x21
bl _tracehook_finish_release_task
mov x0, x21
bl ___exit_signal
ldr x21, [x21, #16]
cmp x21, x20
b.eq LBB0_1
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
bl _thread_group_empty
cbz x0, LBB0_1
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x21]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_1
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
bl _task_detached
bl _BUG_ON
ldr w1, [x21, #12]
mov x0, x21
bl _do_notify_parent
mov x0, x21
bl _task_detached
mov x22, x0
cbz w0, LBB0_2
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x25]
str x8, [x21]
b LBB0_2
LBB0_8:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _tasklist_lock,4,2 ; @tasklist_lock
.comm _EXIT_ZOMBIE,8,3 ; @EXIT_ZOMBIE
.comm _EXIT_DEAD,8,3 ; @EXIT_DEAD
.comm _delayed_put_task_struct,4,2 ; @delayed_put_task_struct
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/kernel/extr_exit.c_release_task.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _incrementingThreadFunction ## -- Begin function incrementingThreadFunction
.p2align 4, 0x90
_incrementingThreadFunction: ## @incrementingThreadFunction
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl $1000000, _i(%rip) ## imm = 0xF4240
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _decrementingThreadFunction ## -- Begin function decrementingThreadFunction
.p2align 4, 0x90
_decrementingThreadFunction: ## @decrementingThreadFunction
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl $-1000000, _i(%rip) ## imm = 0xFFF0BDC0
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq _incrementingThreadFunction(%rip), %rdx
leaq -16(%rbp), %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq _pthread_create
leaq _decrementingThreadFunction(%rip), %rdx
leaq -8(%rbp), %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq _pthread_create
movq -16(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
movq -8(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
movl _i(%rip), %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _i ## @i
.zerofill __DATA,__common,_i,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The magic number is: %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _incrementingThreadFunction ; -- Begin function incrementingThreadFunction
.p2align 2
_incrementingThreadFunction: ; @incrementingThreadFunction
.cfi_startproc
; %bb.0:
adrp x8, _i@PAGE
ldr w9, [x8, _i@PAGEOFF]
add w9, w9, #244, lsl #12 ; =999424
add w9, w9, #576
str w9, [x8, _i@PAGEOFF]
mov x0, #0
ret
.cfi_endproc
; -- End function
.globl _decrementingThreadFunction ; -- Begin function decrementingThreadFunction
.p2align 2
_decrementingThreadFunction: ; @decrementingThreadFunction
.cfi_startproc
; %bb.0:
adrp x8, _i@PAGE
ldr w9, [x8, _i@PAGEOFF]
sub w9, w9, #244, lsl #12 ; =999424
sub w9, w9, #576
str w9, [x8, _i@PAGEOFF]
mov x0, #0
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x2, _incrementingThreadFunction@PAGE
Lloh1:
add x2, x2, _incrementingThreadFunction@PAGEOFF
sub x0, x29, #8
mov x1, #0
mov x3, #0
bl _pthread_create
Lloh2:
adrp x2, _decrementingThreadFunction@PAGE
Lloh3:
add x2, x2, _decrementingThreadFunction@PAGEOFF
add x0, sp, #16
mov x1, #0
mov x3, #0
bl _pthread_create
ldur x0, [x29, #-8]
mov x1, #0
bl _pthread_join
ldr x0, [sp, #16]
mov x1, #0
bl _pthread_join
Lloh4:
adrp x8, _i@PAGE
Lloh5:
ldr w8, [x8, _i@PAGEOFF]
str x8, [sp]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdr Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _i ; @i
.zerofill __DATA,__common,_i,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The magic number is: %d\n"
.subsections_via_symbols
| the_stack_data/86075850.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtl_read_dword
_rtl_read_dword: ## @rtl_read_dword
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
popq %rbp
jmpq *%rax ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _rtl_read_dword
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rtl_read_dword
_rtl_read_dword: ; @rtl_read_dword
.cfi_startproc
; %bb.0:
ldr x2, [x0]
br x2
.cfi_endproc
; -- End function
.no_dead_strip _rtl_read_dword
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/extr_..wifi.h_rtl_read_dword.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Opcode_xsr_m3_Slot_inst_encode
_Opcode_xsr_m3_Slot_inst_encode: ## @Opcode_xsr_m3_Slot_inst_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $6365952, (%rdi) ## imm = 0x612300
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _Opcode_xsr_m3_Slot_inst_encode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Opcode_xsr_m3_Slot_inst_encode
_Opcode_xsr_m3_Slot_inst_encode: ; @Opcode_xsr_m3_Slot_inst_encode
.cfi_startproc
; %bb.0:
mov w8, #8960
movk w8, #97, lsl #16
str w8, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _Opcode_xsr_m3_Slot_inst_encode
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xsr_m3_Slot_inst_encode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mac_do_update
_mac_do_update: ## @mac_do_update
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -48(%rbp) ## 4-byte Spill
movl %r8d, -44(%rbp) ## 4-byte Spill
movq %rcx, %r14
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r13
movl (%rdi), %r15d
xorl %eax, %eax
callq _crypto_simd_usable
testq %rax, %rax
movq %r13, -56(%rbp) ## 8-byte Spill
je LBB0_1
## %bb.9:
leal 3(%r15), %r13d
testl %r15d, %r15d
cmovnsl %r15d, %r13d
sarl $2, %r13d
addl $6, %r13d
xorl %eax, %eax
callq _kernel_neon_begin
movq -56(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %esi
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, (%rsp)
movq %rbx, %rdi
movl %r13d, %edx
movl %r12d, %ecx
movq %r14, %r8
movl -44(%rbp), %r9d ## 4-byte Reload
callq _aes_mac_update
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _kernel_neon_end ## TAILCALL
LBB0_1:
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
je LBB0_3
## %bb.2:
movq %r13, %rdi
movq %r14, %rsi
movq %r14, %rdx
callq _aes_encrypt
LBB0_3:
testl %r12d, %r12d
je LBB0_8
## %bb.4:
decl %r12d
movq _AES_BLOCK_SIZE@GOTPCREL(%rip), %r13
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
leaq (%rbx,%r15,4), %rbx
addl $-1, %r12d
jae LBB0_8
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl (%r13), %edx
movq %r14, %rdi
movq %rbx, %rsi
callq _crypto_xor
movslq (%r13), %r15
movl %r12d, %eax
orl -48(%rbp), %eax ## 4-byte Folded Reload
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
movq %r14, %rdx
callq _aes_encrypt
jmp LBB0_7
LBB0_8:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AES_BLOCK_SIZE,4,2 ## @AES_BLOCK_SIZE
.no_dead_strip _mac_do_update
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mac_do_update
_mac_do_update: ; @mac_do_update
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x5
mov x24, x4
mov x20, x3
mov x23, x2
mov x21, x1
mov x22, x0
ldr w25, [x0]
bl _crypto_simd_usable
cbz x0, LBB0_2
; %bb.1:
add w8, w25, #3
cmp w25, #0
csel w8, w8, w25, lt
asr w8, w8, #2
add w25, w8, #6
bl _kernel_neon_begin
ldr w1, [x22, #4]
mov x0, x21
mov x2, x25
mov x3, x23
mov x4, x20
mov x5, x24
mov x6, x19
bl _aes_mac_update
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _kernel_neon_end
LBB0_2:
cbz w24, LBB0_4
; %bb.3:
mov x0, x22
mov x1, x20
mov x2, x20
bl _aes_encrypt
LBB0_4:
cbz w23, LBB0_9
; %bb.5:
sub w23, w23, #1
Lloh0:
adrp x24, _AES_BLOCK_SIZE@GOTPAGE
Lloh1:
ldr x24, [x24, _AES_BLOCK_SIZE@GOTPAGEOFF]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add x21, x21, x25, lsl #2
sub w23, w23, #1
cmn w23, #1
b.eq LBB0_9
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w2, [x24]
mov x0, x20
mov x1, x21
bl _crypto_xor
ldrsw x25, [x24]
orr w8, w23, w19
cbz w8, LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mov x0, x22
mov x1, x20
mov x2, x20
bl _aes_encrypt
b LBB0_6
LBB0_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _AES_BLOCK_SIZE,4,2 ; @AES_BLOCK_SIZE
.no_dead_strip _mac_do_update
.subsections_via_symbols
| AnghaBench/linux/arch/arm64/crypto/extr_aes-glue.c_mac_do_update.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mpt_core_detach
_mpt_core_detach: ## @mpt_core_detach
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
callq _mpt_disable_ints
movq %r14, %rdi
callq _MPT_MAX_REQUESTS
testl %eax, %eax
jle LBB0_3
## %bb.1:
xorl %r15d, %r15d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rsi
addq %r15, %rsi
movq %r14, %rdi
callq _mpt_callout_drain
incq %rbx
movq %r14, %rdi
callq _MPT_MAX_REQUESTS
cltq
addq $4, %r15
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _mpt_dma_buf_free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _mpt_core_detach
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mpt_core_detach
_mpt_core_detach: ; @mpt_core_detach
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _mpt_disable_ints
mov x0, x19
bl _MPT_MAX_REQUESTS
cmp w0, #1
b.lt LBB0_3
; %bb.1:
mov x20, #0
mov x21, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
add x1, x8, x20
mov x0, x19
bl _mpt_callout_drain
add x21, x21, #1
mov x0, x19
bl _MPT_MAX_REQUESTS
add x20, x20, #4
cmp x21, w0, sxtw
b.lt LBB0_2
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _mpt_dma_buf_free
.cfi_endproc
; -- End function
.no_dead_strip _mpt_core_detach
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/mpt/extr_mpt.c_mpt_core_detach.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function write_memory_start
_write_memory_start: ## @write_memory_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edx, %edx
movl $44, %ecx
popq %rbp
jmp _write_reg ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _write_memory_start
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function write_memory_start
_write_memory_start: ; @write_memory_start
.cfi_startproc
; %bb.0:
mov w2, #0
mov w3, #44
b _write_reg
.cfi_endproc
; -- End function
.no_dead_strip _write_memory_start
.subsections_via_symbols
| AnghaBench/linux/arch/sh/boards/mach-kfr2r09/extr_lcd_wqvga.c_write_memory_start.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function IsDelimiter
_IsDelimiter: ## @IsDelimiter
.cfi_startproc
## %bb.0:
## kill: def $edi killed $edi def $rdi
cmpb $61, %dil
ja LBB0_2
## %bb.1:
movl $1, %eax
movzbl %dil, %ecx
movabsq $2305983746702049281, %rdx ## imm = 0x2000800000000001
btq %rcx, %rdx
jae LBB0_2
## %bb.3:
retq
LBB0_2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsbl %dil, %edi
callq _isspace
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
setne %al
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _IsDelimiter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function IsDelimiter
_IsDelimiter: ; @IsDelimiter
.cfi_startproc
; %bb.0:
cmp w0, #61
b.hi LBB0_3
; %bb.1:
mov w8, w0
mov w9, #1
lsl x8, x9, x8
mov x9, #-140737488355327
movk x9, #8192, lsl #48
tst x8, x9
b.eq LBB0_3
; %bb.2:
mov w0, #1
ret
LBB0_3:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _isspace
cmp x0, #0
cset w0, ne
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _IsDelimiter
.subsections_via_symbols
| AnghaBench/reactos/base/setup/usetup/extr_cmdcons.c_IsDelimiter.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _enetc_alloc_msix ## -- Begin function enetc_alloc_msix
.p2align 4, 0x90
_enetc_alloc_msix: ## @enetc_alloc_msix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rcx
movq 56(%rdi), %rax
movq (%rax), %rdi
movq _ENETC_BDR_INT_BASE_IDX@GOTPCREL(%rip), %rax
movq %rcx, -48(%rbp) ## 8-byte Spill
movl (%rcx), %r14d
addl (%rax), %r14d
movq _PCI_IRQ_MSIX@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rdi, -72(%rbp) ## 8-byte Spill
movl %r14d, %esi
movl %r14d, %edx
callq _pci_alloc_irq_vectors
movl %eax, %r12d
testl %eax, %eax
js LBB0_19
## %bb.1:
cmpl %r14d, %r12d
jne LBB0_13
## %bb.2:
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %ecx
movl 4(%rax), %eax
cltd
idivl %ecx
testl %ecx, %ecx
jle LBB0_18
## %bb.3:
movl %eax, %r15d
shll $4, %eax
addl $40, %eax
movl %eax, -56(%rbp) ## 4-byte Spill
movl %r15d, %eax
shlq $4, %rax
movq %rax, -104(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
xorl %r14d, %r14d
xorl %r13d, %r13d
movl %r15d, -52(%rbp) ## 4-byte Spill
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_6 Depth=1
movq -96(%rbp), %r14 ## 8-byte Reload
movl -52(%rbp), %r15d ## 4-byte Reload
movq -88(%rbp), %r12 ## 8-byte Reload
movq -80(%rbp), %r13 ## 8-byte Reload
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
movq %r8, %rdx
addq $8, %rdx
movl %r13d, 8(%r8)
movl %ecx, 20(%r8)
movl %eax, 16(%r8)
movl 24(%rbx), %eax
movl %eax, 12(%r8)
movq 16(%rbx), %rax
movq %rdx, (%rax,%r13,8)
incq %r13
movslq (%rbx), %rax
addq $8, %r14
addl %r15d, %r12d
cmpq %rax, %r13
jge LBB0_18
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -56(%rbp), %edi ## 4-byte Reload
callq _kzalloc
testq %rax, %rax
je LBB0_15
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq %rax, %r8
movq -48(%rbp), %rbx ## 8-byte Reload
movq 8(%rbx), %rax
movq %r8, (%rax,%r13,8)
movl 32(%rbx), %edi
leaq 4(%r8), %rsi
movq _enetc_poll@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _NAPI_POLL_WEIGHT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r8, -64(%rbp) ## 8-byte Spill
callq _netif_napi_add
movq -64(%rbp), %r8 ## 8-byte Reload
movl %r15d, (%r8)
testl %r15d, %r15d
jle LBB0_12
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movq %r14, -96(%rbp) ## 8-byte Spill
leaq 32(%r8), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
movq %r12, -88(%rbp) ## 8-byte Spill
movl %r12d, %r14d
movq %r13, -80(%rbp) ## 8-byte Spill
movl %r13d, %r12d
jmp LBB0_10
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_10 Depth=2
movl %r13d, %edi
movq -112(%rbp), %rsi ## 8-byte Reload
callq ___set_bit
movq -64(%rbp), %r8 ## 8-byte Reload
movq 24(%r8), %rdx
leaq (%rdx,%r15), %rsi
movl %r13d, (%rdx,%r15)
movq -48(%rbp), %rbx ## 8-byte Reload
movl 32(%rbx), %ecx
movl %ecx, 12(%rdx,%r15)
movl 28(%rbx), %eax
movl %eax, 8(%rdx,%r15)
movl 48(%rbx), %edi
movl %edi, 4(%rdx,%r15)
movq 40(%rbx), %rdx
movslq %r13d, %rdi
movq %rsi, (%rdx,%rdi,8)
addl $2, %r12d
incl %r14d
addq $16, %r15
cmpq %r15, -104(%rbp) ## 8-byte Folded Reload
je LBB0_4
LBB0_10: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rbx), %eax
movl %r12d, %r13d
movq _ENETC_MAX_BDR_INT@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_9
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movl %r14d, %r13d
jmp LBB0_9
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_6 Depth=1
movl 28(%rbx), %eax
movl 32(%rbx), %ecx
jmp LBB0_5
LBB0_13:
movq _EPERM@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
subl (%rax), %r12d
jmp LBB0_19
LBB0_18:
xorl %r12d, %r12d
jmp LBB0_19
LBB0_15:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
subl (%rax), %r12d
testl %r13d, %r13d
movq -48(%rbp), %rbx ## 8-byte Reload
je LBB0_17
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rax
movq -8(%rax,%r14), %rdi
addq $4, %rdi
callq _netif_napi_del
movq 8(%rbx), %rax
movq -8(%rax,%r14), %rdi
callq _kfree
addq $-8, %r14
jne LBB0_16
LBB0_17:
movq -72(%rbp), %rdi ## 8-byte Reload
callq _pci_free_irq_vectors
LBB0_19:
movl %r12d, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENETC_BDR_INT_BASE_IDX,4,2 ## @ENETC_BDR_INT_BASE_IDX
.comm _PCI_IRQ_MSIX,4,2 ## @PCI_IRQ_MSIX
.comm _EPERM,4,2 ## @EPERM
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _enetc_poll,4,2 ## @enetc_poll
.comm _NAPI_POLL_WEIGHT,4,2 ## @NAPI_POLL_WEIGHT
.comm _ENETC_MAX_BDR_INT,4,2 ## @ENETC_MAX_BDR_INT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _enetc_alloc_msix ; -- Begin function enetc_alloc_msix
.p2align 2
_enetc_alloc_msix: ; @enetc_alloc_msix
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x0
ldr x8, [x0, #56]
ldr x19, [x8]
Lloh0:
adrp x8, _ENETC_BDR_INT_BASE_IDX@GOTPAGE
Lloh1:
ldr x8, [x8, _ENETC_BDR_INT_BASE_IDX@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x0]
add w22, w9, w8
Lloh3:
adrp x8, _PCI_IRQ_MSIX@GOTPAGE
Lloh4:
ldr x8, [x8, _PCI_IRQ_MSIX@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
mov x0, x19
mov x1, x22
mov x2, x22
bl _pci_alloc_irq_vectors
mov x21, x0
tbnz w0, #31, LBB0_16
; %bb.1:
cmp w21, w22
b.ne LBB0_11
; %bb.2:
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_12
; %bb.3:
str x19, [sp] ; 8-byte Folded Spill
mov w27, #0
mov x24, #0
ldr w9, [x20, #4]
sdiv w23, w9, w8
lsl w8, w23, #4
add w8, w8, #40
str w8, [sp, #16] ; 4-byte Folded Spill
lsl x19, x23, #4
mov x25, #-8
Lloh6:
adrp x21, _ENETC_MAX_BDR_INT@GOTPAGE
Lloh7:
ldr x21, [x21, _ENETC_MAX_BDR_INT@GOTPAGEOFF]
str x23, [sp, #8] ; 8-byte Folded Spill
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldp w8, w9, [x20, #28]
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
str w24, [x22, #8]!
str w9, [x22, #12]
ldr w9, [x20, #24]
ldr x10, [x20, #16]
str x22, [x10, x24, lsl #3]
stp w9, w8, [x22, #4]
add x24, x24, #1
ldrsw x8, [x20]
add x25, x25, #8
add w27, w27, w23
cmp x24, x8
b.ge LBB0_12
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
Lloh8:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh9:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
ldr w0, [sp, #16] ; 4-byte Folded Reload
bl _kzalloc
cbz x0, LBB0_13
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x22, x0
ldr x8, [x20, #8]
str x0, [x8, x24, lsl #3]
ldr w0, [x20, #32]
add x1, x22, #4
Lloh11:
adrp x8, _enetc_poll@GOTPAGE
Lloh12:
ldr x8, [x8, _enetc_poll@GOTPAGEOFF]
Lloh13:
ldr w2, [x8]
Lloh14:
adrp x8, _NAPI_POLL_WEIGHT@GOTPAGE
Lloh15:
ldr x8, [x8, _NAPI_POLL_WEIGHT@GOTPAGEOFF]
Lloh16:
ldr w3, [x8]
bl _netif_napi_add
str w23, [x22]
cmp w23, #0
b.le LBB0_4
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov x28, #0
add x23, x22, #32
str w27, [sp, #20] ; 4-byte Folded Spill
str x24, [sp, #24] ; 8-byte Folded Spill
mov x26, x24
LBB0_9: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x20]
ldr w9, [x21]
cmp w8, w9
csel w24, w26, w27, eq
mov x0, x24
mov x1, x23
bl ___set_bit
ldr x8, [x22, #24]
add x10, x8, x28
ldp w8, w9, [x20, #28]
stp w8, w9, [x10, #8]
ldr w11, [x20, #48]
stp w24, w11, [x10]
ldr x11, [x20, #40]
str x10, [x11, w24, sxtw #3]
add w26, w26, #2
add w27, w27, #1
add x28, x28, #16
cmp x19, x28
b.ne LBB0_9
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
ldr x24, [sp, #24] ; 8-byte Folded Reload
ldr w27, [sp, #20] ; 4-byte Folded Reload
ldr x23, [sp, #8] ; 8-byte Folded Reload
b LBB0_5
LBB0_11:
Lloh17:
adrp x8, _EPERM@GOTPAGE
Lloh18:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
neg w21, w8
b LBB0_16
LBB0_12:
mov w21, #0
b LBB0_16
LBB0_13:
Lloh20:
adrp x8, _ENOMEM@GOTPAGE
Lloh21:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
neg w21, w8
cbz w24, LBB0_15
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
ldr x8, [x8, x25]
add x0, x8, #4
bl _netif_napi_del
ldr x8, [x20, #8]
ldr x0, [x8, x25]
bl _kfree
sub x25, x25, #8
cmn x25, #8
b.ne LBB0_14
LBB0_15:
ldr x0, [sp] ; 8-byte Folded Reload
bl _pci_free_irq_vectors
LBB0_16:
mov x0, x21
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _ENETC_BDR_INT_BASE_IDX,4,2 ; @ENETC_BDR_INT_BASE_IDX
.comm _PCI_IRQ_MSIX,4,2 ; @PCI_IRQ_MSIX
.comm _EPERM,4,2 ; @EPERM
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _enetc_poll,4,2 ; @enetc_poll
.comm _NAPI_POLL_WEIGHT,4,2 ; @NAPI_POLL_WEIGHT
.comm _ENETC_MAX_BDR_INT,4,2 ; @ENETC_MAX_BDR_INT
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/freescale/enetc/extr_enetc.c_enetc_alloc_msix.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function DoAliasing
_DoAliasing: ## @DoAliasing
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $120, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movl %edi, %r13d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _IP_MAXPACKET@GOTPCREL(%rip), %rbx
movl (%rbx), %r12d
movq %r12, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq _mip@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq $0, 32(%rax)
je LBB0_11
## %bb.1:
movl %r15d, -136(%rbp) ## 4-byte Spill
movq %r14, -160(%rbp) ## 8-byte Spill
movl 40(%rax), %edi
callq _SetAliasAddressFromIfName
movl %eax, %ebx
movq _background@GOTPCREL(%rip), %r14
cmpq $0, (%r14)
movl %r13d, -132(%rbp) ## 4-byte Spill
je LBB0_9
## %bb.2:
movq _dynamicMode@GOTPCREL(%rip), %r15
cmpq $0, (%r15)
je LBB0_9
## %bb.3:
movq _EAGAIN@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl (%r13), %eax
cmpl %eax, %ebx
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl $1, %edi
callq _sleep
movl (%r13), %eax
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
cmpl %eax, %ebx
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movq _mip@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl 40(%rax), %edi
callq _SetAliasAddressFromIfName
movl %eax, %ebx
cmpq $0, (%r14)
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
cmpq $0, (%r15)
jne LBB0_4
LBB0_9:
testl %ebx, %ebx
jne LBB0_55
## %bb.10:
movq _mip@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq $0, 32(%rax)
movq -160(%rbp), %r14 ## 8-byte Reload
movl -136(%rbp), %r15d ## 4-byte Reload
movl -132(%rbp), %r13d ## 4-byte Reload
movq _IP_MAXPACKET@GOTPCREL(%rip), %rbx
LBB0_11:
movl $8, -140(%rbp)
leaq -152(%rbp), %r8
leaq -140(%rbp), %r9
movl %r13d, %edi
movq %r14, %rsi
movl %r12d, %edx
xorl %ecx, %ecx
callq _recvfrom
cmpl $-1, %eax
je LBB0_12
## %bb.14:
movl %eax, %r12d
movq _DONT_KNOW@GOTPCREL(%rip), %rax
cmpl %r15d, (%rax)
jne LBB0_19
## %bb.15:
movq -152(%rbp), %rax
movq _INADDR_ANY@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_17
## %bb.16:
movq _OUTPUT@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_12:
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _EINTR@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_53
## %bb.13:
leaq L_.str(%rip), %rdi
jmp LBB0_52
LBB0_17:
movq _INPUT@GOTPCREL(%rip), %rax
LBB0_18:
movl (%rax), %r15d
LBB0_19:
movq _verbose@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_31
## %bb.20:
movq _OUTPUT@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
leaq L_.str.1(%rip), %rax
leaq L_.str.2(%rip), %rdi
cmoveq %rax, %rdi
xorl %eax, %eax
callq _printf
movq _ninstance@GOTPCREL(%rip), %rax
cmpl $2, (%rax)
jl LBB0_22
## %bb.21:
movq _mip@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rsi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_22:
movl (%r14), %esi
cmpl $128, %esi
je LBB0_27
## %bb.23:
cmpl $130, %esi
je LBB0_28
## %bb.24:
cmpl $129, %esi
jne LBB0_29
## %bb.25:
leaq L_.str.4(%rip), %rdi
jmp LBB0_26
LBB0_27:
leaq L_.str.5(%rip), %rdi
jmp LBB0_26
LBB0_28:
leaq L_.str.6(%rip), %rdi
LBB0_26:
xorl %eax, %eax
callq _printf
jmp LBB0_30
LBB0_29:
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_30:
movq %r14, %rdi
callq _PrintPacket
LBB0_31:
movq _OUTPUT@GOTPCREL(%rip), %rcx
movq _mla@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %edx
cmpl (%rcx), %r15d
jne LBB0_43
## %bb.32:
movq %r14, %rsi
callq _LibAliasOut
jmp LBB0_33
LBB0_43:
movq %r14, %rsi
callq _LibAliasIn
movq _PKT_ALIAS_IGNORED@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_33
## %bb.44:
movq _mip@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq $0, 24(%rax)
je LBB0_33
## %bb.45:
movq _verbose@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_47
## %bb.46:
leaq L_str.14(%rip), %rdi
callq _puts
movq _mip@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_47:
cmpq $0, 16(%rax)
je LBB0_53
## %bb.48:
movq _LOG_WARNING@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.9(%rip), %rdx
movq %r14, %rdi
callq _SyslogPacket
jmp LBB0_53
LBB0_33:
movl 4(%r14), %edi
callq _ntohs
movl %eax, %ebx
movq _OUTPUT@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jne LBB0_36
## %bb.34:
movl %ebx, %eax
subl %r12d, %eax
movq _mip@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpl 8(%rcx), %eax
jle LBB0_36
## %bb.35:
movl %eax, 8(%rcx)
LBB0_36:
movq _verbose@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_38
## %bb.37:
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
callq _PrintPacket
movl $10, %edi
callq _putchar
LBB0_38:
leaq -152(%rbp), %r8
movl %r13d, %edi
movq %r14, %rsi
movl %ebx, %edx
xorl %ecx, %ecx
movl $8, %r9d
callq _sendto
cmpl %ebx, %eax
je LBB0_53
## %bb.39:
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _EMSGSIZE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_49
## %bb.40:
movq _OUTPUT@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jne LBB0_53
## %bb.41:
movq _mip@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl 12(%rax), %edx
cmpl $-1, %edx
je LBB0_53
## %bb.42:
movq _icmpSock@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
subl 8(%rax), %edx
movq %r14, %rsi
callq _SendNeedFragIcmp
jmp LBB0_53
LBB0_49:
movq _EACCES@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_53
## %bb.50:
movq _logIpfwDenied@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_53
## %bb.51:
movups L_.str.13+12(%rip), %xmm0
movups %xmm0, -116(%rbp)
movups L_.str.13(%rip), %xmm0
movaps %xmm0, -128(%rbp)
leaq -128(%rbp), %rdi
LBB0_52:
callq _Warn
LBB0_53:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_56
## %bb.54:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_56:
callq ___stack_chk_fail
LBB0_55:
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _IP_MAXPACKET,4,2 ## @IP_MAXPACKET
.comm _mip,8,3 ## @mip
.comm _background,8,3 ## @background
.comm _dynamicMode,8,3 ## @dynamicMode
.comm _EAGAIN,4,2 ## @EAGAIN
.comm _errno,8,3 ## @errno
.comm _EINTR,8,3 ## @EINTR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "read from divert socket failed"
.comm _DONT_KNOW,4,2 ## @DONT_KNOW
.comm _INADDR_ANY,8,3 ## @INADDR_ANY
.comm _OUTPUT,4,2 ## @OUTPUT
.comm _INPUT,4,2 ## @INPUT
.comm _verbose,8,3 ## @verbose
L_.str.1: ## @.str.1
.asciz "Out "
L_.str.2: ## @.str.2
.asciz "In "
.comm _ninstance,4,2 ## @ninstance
L_.str.3: ## @.str.3
.asciz "{%s}"
L_.str.4: ## @.str.4
.asciz "[TCP] "
L_.str.5: ## @.str.5
.asciz "[UDP] "
L_.str.6: ## @.str.6
.asciz "[ICMP] "
L_.str.7: ## @.str.7
.asciz "[%d] "
.comm _mla,4,2 ## @mla
.comm _PKT_ALIAS_IGNORED,4,2 ## @PKT_ALIAS_IGNORED
.comm _LOG_WARNING,4,2 ## @LOG_WARNING
L_.str.9: ## @.str.9
.asciz "denied"
L_.str.11: ## @.str.11
.asciz " "
.comm _EMSGSIZE,8,3 ## @EMSGSIZE
.comm _icmpSock,4,2 ## @icmpSock
.comm _EACCES,8,3 ## @EACCES
.comm _logIpfwDenied,8,3 ## @logIpfwDenied
L_.str.13: ## @.str.13
.asciz "failed to write packet back"
L_str: ## @str
.asciz " aliased to"
L_str.14: ## @str.14
.asciz " dropped."
.no_dead_strip _DoAliasing
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function DoAliasing
_DoAliasing: ; @DoAliasing
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #112
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x25, _IP_MAXPACKET@GOTPAGE
Lloh4:
ldr x25, [x25, _IP_MAXPACKET@GOTPAGEOFF]
ldr w22, [x25]
mov x9, x22
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x22, #15
and x9, x9, #0x1fffffff0
sub x19, x8, x9
mov sp, x19
Lloh7:
adrp x24, _mip@GOTPAGE
Lloh8:
ldr x24, [x24, _mip@GOTPAGEOFF]
ldr x8, [x24]
ldr x9, [x8, #32]
cbz x9, LBB0_9
; %bb.1:
ldr w0, [x8, #40]
bl _SetAliasAddressFromIfName
mov x23, x0
Lloh9:
adrp x26, _background@GOTPAGE
Lloh10:
ldr x26, [x26, _background@GOTPAGEOFF]
ldr x8, [x26]
Lloh11:
adrp x27, _dynamicMode@GOTPAGE
Lloh12:
ldr x27, [x27, _dynamicMode@GOTPAGEOFF]
ldr x9, [x27]
cmp x8, #0
ccmp x9, #0, #4, ne
b.eq LBB0_7
; %bb.2:
Lloh13:
adrp x28, _EAGAIN@GOTPAGE
Lloh14:
ldr x28, [x28, _EAGAIN@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [x28]
cmp w23, w8
b.ne LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w0, #1
bl _sleep
ldr w8, [x28]
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
cmp w23, w8
b.ne LBB0_7
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x24]
ldr w0, [x8, #40]
bl _SetAliasAddressFromIfName
mov x23, x0
ldr x8, [x26]
ldr x9, [x27]
cmp x8, #0
ccmp x9, #0, #4, ne
b.ne LBB0_3
LBB0_7:
cbnz w23, LBB0_52
; %bb.8:
ldr x8, [x24]
str xzr, [x8, #32]
LBB0_9:
mov w8, #8
stur w8, [x29, #-188]
sub x4, x29, #184
sub x5, x29, #188
mov x0, x21
mov x1, x19
mov x2, x22
mov w3, #0
bl _recvfrom
cmn w0, #1
b.eq LBB0_13
; %bb.10:
mov x22, x0
Lloh15:
adrp x8, _DONT_KNOW@GOTPAGE
Lloh16:
ldr x8, [x8, _DONT_KNOW@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
Lloh18:
adrp x26, _OUTPUT@GOTPAGE
Lloh19:
ldr x26, [x26, _OUTPUT@GOTPAGEOFF]
cmp w8, w20
b.ne LBB0_16
; %bb.11:
ldur x8, [x29, #-184]
Lloh20:
adrp x9, _INADDR_ANY@GOTPAGE
Lloh21:
ldr x9, [x9, _INADDR_ANY@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_15
; %bb.12:
ldr w20, [x26]
b LBB0_16
LBB0_13:
Lloh23:
adrp x8, _errno@GOTPAGE
Lloh24:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh25:
ldr x8, [x8]
Lloh26:
adrp x9, _EINTR@GOTPAGE
Lloh27:
ldr x9, [x9, _EINTR@GOTPAGEOFF]
Lloh28:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_49
; %bb.14:
Lloh29:
adrp x0, l_.str@PAGE
Lloh30:
add x0, x0, l_.str@PAGEOFF
b LBB0_48
LBB0_15:
Lloh31:
adrp x8, _INPUT@GOTPAGE
Lloh32:
ldr x8, [x8, _INPUT@GOTPAGEOFF]
Lloh33:
ldr w20, [x8]
LBB0_16:
Lloh34:
adrp x27, _verbose@GOTPAGE
Lloh35:
ldr x27, [x27, _verbose@GOTPAGEOFF]
ldr x8, [x27]
cbz x8, LBB0_27
; %bb.17:
ldr w8, [x26]
Lloh36:
adrp x9, l_.str.2@PAGE
Lloh37:
add x9, x9, l_.str.2@PAGEOFF
Lloh38:
adrp x10, l_.str.1@PAGE
Lloh39:
add x10, x10, l_.str.1@PAGEOFF
cmp w20, w8
csel x0, x10, x9, eq
bl _printf
Lloh40:
adrp x8, _ninstance@GOTPAGE
Lloh41:
ldr x8, [x8, _ninstance@GOTPAGEOFF]
Lloh42:
ldr w8, [x8]
cmp w8, #2
b.lt LBB0_19
; %bb.18:
ldr x8, [x24]
ldr x8, [x8]
str x8, [sp, #-16]!
Lloh43:
adrp x0, l_.str.3@PAGE
Lloh44:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add sp, sp, #16
LBB0_19:
ldr w8, [x19]
cmp w8, #128
b.eq LBB0_23
; %bb.20:
cmp w8, #130
b.eq LBB0_24
; %bb.21:
cmp w8, #129
b.ne LBB0_25
; %bb.22:
Lloh45:
adrp x0, l_.str.4@PAGE
Lloh46:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_26
LBB0_23:
Lloh47:
adrp x0, l_.str.5@PAGE
Lloh48:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_26
LBB0_24:
Lloh49:
adrp x0, l_.str.6@PAGE
Lloh50:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_26
LBB0_25:
str x8, [sp, #-16]!
Lloh51:
adrp x0, l_.str.7@PAGE
Lloh52:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
add sp, sp, #16
LBB0_26:
mov x0, x19
bl _PrintPacket
LBB0_27:
ldr w8, [x26]
Lloh53:
adrp x9, _mla@GOTPAGE
Lloh54:
ldr x9, [x9, _mla@GOTPAGEOFF]
Lloh55:
ldr w0, [x9]
ldr w2, [x25]
mov x1, x19
cmp w20, w8
b.ne LBB0_29
; %bb.28:
bl _LibAliasOut
b LBB0_35
LBB0_29:
bl _LibAliasIn
Lloh56:
adrp x8, _PKT_ALIAS_IGNORED@GOTPAGE
Lloh57:
ldr x8, [x8, _PKT_ALIAS_IGNORED@GOTPAGEOFF]
Lloh58:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_35
; %bb.30:
ldr x8, [x24]
ldr x9, [x8, #24]
cbz x9, LBB0_35
; %bb.31:
ldr x9, [x27]
cbz x9, LBB0_33
; %bb.32:
Lloh59:
adrp x0, l_str.14@PAGE
Lloh60:
add x0, x0, l_str.14@PAGEOFF
bl _puts
ldr x8, [x24]
LBB0_33:
ldr x8, [x8, #16]
cbz x8, LBB0_49
; %bb.34:
Lloh61:
adrp x8, _LOG_WARNING@GOTPAGE
Lloh62:
ldr x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh63:
ldr w1, [x8]
Lloh64:
adrp x2, l_.str.9@PAGE
Lloh65:
add x2, x2, l_.str.9@PAGEOFF
mov x0, x19
bl _SyslogPacket
b LBB0_49
LBB0_35:
ldr w0, [x19, #4]
bl _ntohs
mov x23, x0
ldr w8, [x26]
cmp w20, w8
b.ne LBB0_38
; %bb.36:
ldr x8, [x24]
ldr w10, [x8, #8]
sub w9, w23, w22
cmp w9, w10
b.le LBB0_38
; %bb.37:
str w9, [x8, #8]
LBB0_38:
ldr x8, [x27]
cbz x8, LBB0_40
; %bb.39:
Lloh66:
adrp x0, l_str@PAGE
Lloh67:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh68:
adrp x0, l_.str.11@PAGE
Lloh69:
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov x0, x19
bl _PrintPacket
mov w0, #10
bl _putchar
LBB0_40:
sub x4, x29, #184
mov x0, x21
mov x1, x19
mov x2, x23
mov w3, #0
mov w5, #8
bl _sendto
cmp w0, w23
b.eq LBB0_49
; %bb.41:
Lloh70:
adrp x8, _errno@GOTPAGE
Lloh71:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh72:
ldr x8, [x8]
Lloh73:
adrp x9, _EMSGSIZE@GOTPAGE
Lloh74:
ldr x9, [x9, _EMSGSIZE@GOTPAGEOFF]
Lloh75:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_45
; %bb.42:
ldr w8, [x26]
cmp w20, w8
b.ne LBB0_49
; %bb.43:
ldr x8, [x24]
ldr w9, [x8, #12]
cmn w9, #1
b.eq LBB0_49
; %bb.44:
Lloh76:
adrp x10, _icmpSock@GOTPAGE
Lloh77:
ldr x10, [x10, _icmpSock@GOTPAGEOFF]
Lloh78:
ldr w0, [x10]
ldr w8, [x8, #8]
sub w2, w9, w8
mov x1, x19
bl _SendNeedFragIcmp
b LBB0_49
LBB0_45:
Lloh79:
adrp x9, _EACCES@GOTPAGE
Lloh80:
ldr x9, [x9, _EACCES@GOTPAGEOFF]
Lloh81:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_49
; %bb.46:
Lloh82:
adrp x8, _logIpfwDenied@GOTPAGE
Lloh83:
ldr x8, [x8, _logIpfwDenied@GOTPAGEOFF]
Lloh84:
ldr x8, [x8]
cbz x8, LBB0_49
; %bb.47:
Lloh85:
adrp x8, l_.str.13@PAGE
Lloh86:
add x8, x8, l_.str.13@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-176]
ldur q0, [x8, #12]
stur q0, [x29, #-164]
sub x0, x29, #176
LBB0_48:
bl _Warn
LBB0_49:
ldur x8, [x29, #-88]
Lloh87:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh88:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh89:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_51
; %bb.50:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_51:
bl ___stack_chk_fail
LBB0_52:
mov w0, #1
bl _exit
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75
.loh AdrpLdrGotLdr Lloh70, Lloh71, Lloh72
.loh AdrpLdrGotLdr Lloh76, Lloh77, Lloh78
.loh AdrpLdrGotLdr Lloh79, Lloh80, Lloh81
.loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84
.loh AdrpAdd Lloh85, Lloh86
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.cfi_endproc
; -- End function
.comm _IP_MAXPACKET,4,2 ; @IP_MAXPACKET
.comm _mip,8,3 ; @mip
.comm _background,8,3 ; @background
.comm _dynamicMode,8,3 ; @dynamicMode
.comm _EAGAIN,4,2 ; @EAGAIN
.comm _errno,8,3 ; @errno
.comm _EINTR,8,3 ; @EINTR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "read from divert socket failed"
.comm _DONT_KNOW,4,2 ; @DONT_KNOW
.comm _INADDR_ANY,8,3 ; @INADDR_ANY
.comm _OUTPUT,4,2 ; @OUTPUT
.comm _INPUT,4,2 ; @INPUT
.comm _verbose,8,3 ; @verbose
l_.str.1: ; @.str.1
.asciz "Out "
l_.str.2: ; @.str.2
.asciz "In "
.comm _ninstance,4,2 ; @ninstance
l_.str.3: ; @.str.3
.asciz "{%s}"
l_.str.4: ; @.str.4
.asciz "[TCP] "
l_.str.5: ; @.str.5
.asciz "[UDP] "
l_.str.6: ; @.str.6
.asciz "[ICMP] "
l_.str.7: ; @.str.7
.asciz "[%d] "
.comm _mla,4,2 ; @mla
.comm _PKT_ALIAS_IGNORED,4,2 ; @PKT_ALIAS_IGNORED
.comm _LOG_WARNING,4,2 ; @LOG_WARNING
l_.str.9: ; @.str.9
.asciz "denied"
l_.str.11: ; @.str.11
.asciz " "
.comm _EMSGSIZE,8,3 ; @EMSGSIZE
.comm _icmpSock,4,2 ; @icmpSock
.comm _EACCES,8,3 ; @EACCES
.comm _logIpfwDenied,8,3 ; @logIpfwDenied
l_.str.13: ; @.str.13
.asciz "failed to write packet back"
l_str: ; @str
.asciz " aliased to"
l_str.14: ; @str.14
.asciz " dropped."
.no_dead_strip _DoAliasing
.subsections_via_symbols
| AnghaBench/freebsd/sbin/natd/extr_natd.c_DoAliasing.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qlcnic_83xx_mbx_op ## -- Begin function qlcnic_83xx_mbx_op
.p2align 4, 0x90
_qlcnic_83xx_mbx_op: ## @qlcnic_83xx_mbx_op
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movq %rdi, %r15
movq (%rdi), %r14
movq $0, -48(%rbp)
movq (%rsi), %rax
movq (%rax), %rdi
callq _LSW
movq %rax, %r12
movq _QLC_83XX_MBX_READY@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r15), %rsi
addq $4, %rsi
callq _test_bit
testl %eax, %eax
je LBB0_3
## %bb.1:
movq (%r15), %rdi
callq _spin_lock_irqsave
movq _QLCNIC_HOST_MBX_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _QLCRDX
testq %rax, %rax
je LBB0_4
## %bb.2:
movq %rax, %rbx
movq _DRV@GOTPCREL(%rip), %r14
movl (%r14), %esi
leaq L_.str(%rip), %rdx
movq %r15, %rdi
movq %r12, %rcx
callq _QLCDB
movl (%r14), %esi
leaq L_.str.2(%rip), %rdx
movq %r15, %rdi
movq %rbx, %rcx
callq _QLCDB
movq _QLCNIC_RCODE_TIMEOUT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 16(%r13), %rcx
movl %eax, (%rcx)
movq (%r15), %rdi
callq _spin_unlock_irqrestore
movq 16(%r13), %rax
movl (%rax), %r12d
jmp LBB0_14
LBB0_3:
movq 8(%r15), %rdi
leaq L_.str(%rip), %rsi
movq %r12, %rdx
xorl %r12d, %r12d
xorl %eax, %eax
callq _dev_info
movq 8(%r15), %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _dev_info
jmp LBB0_14
LBB0_4:
movq (%r13), %rax
movq (%rax), %rbx
movq %r14, %rdi
xorl %esi, %esi
callq _QLCNIC_MBX_HOST
movq %rbx, -56(%rbp) ## 8-byte Spill
movq %rbx, %rdi
movl %eax, %esi
callq _writel
cmpl $2, 8(%r13)
jl LBB0_7
## %bb.5:
movl $1, %ebx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rax
movq (%rax,%rbx,8), %r12
movq %r14, %rdi
movl %ebx, %esi
callq _QLCNIC_MBX_HOST
movq %r12, %rdi
movl %eax, %esi
callq _writel
incq %rbx
movslq 8(%r13), %rax
cmpq %rax, %rbx
jl LBB0_6
LBB0_7:
movq _QLCNIC_HOST_MBX_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _QLCNIC_SET_OWNER@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
callq _QLCWRX
leaq -48(%rbp), %rsi
movq %r15, %rdi
callq _qlcnic_83xx_mbx_poll
movq _QLCNIC_RCODE_TIMEOUT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_11
## %bb.8:
movq _QLCNIC_MBX_ASYNC_EVENT@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
xorl %esi, %esi
callq _QLCNIC_MBX_FW
movl %eax, %edi
callq _readl
testq %rax, (%rbx)
je LBB0_15
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq %r15, %rdi
callq ___qlcnic_83xx_process_aen
movq %r15, %rdi
leaq -48(%rbp), %rsi
callq _qlcnic_83xx_mbx_poll
movq _QLCNIC_RCODE_TIMEOUT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_9
LBB0_11:
movq 8(%r15), %rbx
movq -56(%rbp), %rdi ## 8-byte Reload
callq _QLCNIC_MBX_RSP
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _dev_err
movq _QLCNIC_RCODE_TIMEOUT@GOTPCREL(%rip), %rax
LBB0_12:
movq (%rax), %r12
LBB0_13:
movq _QLCNIC_FW_MBX_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _QLCNIC_CLR_OWNER@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
callq _QLCWRX
movq (%r15), %rdi
callq _spin_unlock_irqrestore
LBB0_14:
movl %r12d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
movq %rax, %r12
movq %rax, %rdi
callq _QLCNIC_MBX_STATUS
movl %eax, %ebx
movq %r12, %rdi
callq _QLCNIC_MBX_NUM_REGS
movq %r12, %rdi
callq _QLCNIC_MBX_RSP
movq %rax, %r12
movq %r15, %rdi
movq %r13, %rsi
callq _qlcnic_83xx_get_mbx_data
movl %ebx, %eax
andl $-2, %eax
cmpl $128, %eax
jne LBB0_17
## %bb.16:
movq _QLCNIC_RCODE_SUCCESS@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_17:
movq _QLCNIC_CMD_CONFIG_MAC_VLAN@GOTPCREL(%rip), %rax
cmpq (%rax), %r12
jne LBB0_19
## %bb.18:
movq %r15, %rdi
callq _qlcnic_83xx_mac_rcode
testq %rax, %rax
je LBB0_20
LBB0_19:
movq 8(%r15), %rdi
leaq L_.str.3(%rip), %rsi
movq %r12, %rdx
movl %ebx, %ecx
xorl %eax, %eax
callq _dev_err
movl %ebx, %r12d
movq %r15, %rdi
movq %r13, %rsi
callq _qlcnic_dump_mbx
jmp LBB0_13
LBB0_20:
xorl %r12d, %r12d
jmp LBB0_13
.cfi_endproc
## -- End function
.comm _QLC_83XX_MBX_READY,4,2 ## @QLC_83XX_MBX_READY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Mailbox cmd attempted, 0x%x\n"
L_.str.1: ## @.str.1
.asciz "Mailbox detached\n"
.comm _QLCNIC_HOST_MBX_CTRL,4,2 ## @QLCNIC_HOST_MBX_CTRL
.comm _DRV,4,2 ## @DRV
L_.str.2: ## @.str.2
.asciz "Mailbox not available, 0x%x, collect FW dump\n"
.comm _QLCNIC_RCODE_TIMEOUT,8,3 ## @QLCNIC_RCODE_TIMEOUT
.comm _QLCNIC_SET_OWNER,4,2 ## @QLCNIC_SET_OWNER
.comm _QLCNIC_MBX_ASYNC_EVENT,8,3 ## @QLCNIC_MBX_ASYNC_EVENT
.comm _QLCNIC_RCODE_SUCCESS,8,3 ## @QLCNIC_RCODE_SUCCESS
.comm _QLCNIC_CMD_CONFIG_MAC_VLAN,8,3 ## @QLCNIC_CMD_CONFIG_MAC_VLAN
L_.str.3: ## @.str.3
.asciz "MBX command 0x%x failed with err:0x%x\n"
L_.str.4: ## @.str.4
.asciz "MBX command 0x%x timed out\n"
.comm _QLCNIC_FW_MBX_CTRL,4,2 ## @QLCNIC_FW_MBX_CTRL
.comm _QLCNIC_CLR_OWNER,4,2 ## @QLCNIC_CLR_OWNER
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qlcnic_83xx_mbx_op ; -- Begin function qlcnic_83xx_mbx_op
.p2align 2
_qlcnic_83xx_mbx_op: ; @qlcnic_83xx_mbx_op
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x1
mov x19, x0
ldr x20, [x0]
str xzr, [sp, #8]
ldr x8, [x1]
ldr x0, [x8]
bl _LSW
mov x22, x0
Lloh0:
adrp x8, _QLC_83XX_MBX_READY@GOTPAGE
Lloh1:
ldr x8, [x8, _QLC_83XX_MBX_READY@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldr x8, [x19]
add x1, x8, #4
bl _test_bit
cbz w0, LBB0_3
; %bb.1:
ldr x0, [x19]
bl _spin_lock_irqsave
Lloh3:
adrp x25, _QLCNIC_HOST_MBX_CTRL@GOTPAGE
Lloh4:
ldr x25, [x25, _QLCNIC_HOST_MBX_CTRL@GOTPAGEOFF]
ldr w1, [x25]
mov x0, x20
bl _QLCRDX
cbz x0, LBB0_4
; %bb.2:
mov x23, x0
Lloh5:
adrp x20, _DRV@GOTPAGE
Lloh6:
ldr x20, [x20, _DRV@GOTPAGEOFF]
ldr w1, [x20]
Lloh7:
adrp x2, l_.str@PAGE
Lloh8:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov x3, x22
bl _QLCDB
ldr w1, [x20]
Lloh9:
adrp x2, l_.str.2@PAGE
Lloh10:
add x2, x2, l_.str.2@PAGEOFF
mov x0, x19
mov x3, x23
bl _QLCDB
Lloh11:
adrp x8, _QLCNIC_RCODE_TIMEOUT@GOTPAGE
Lloh12:
ldr x8, [x8, _QLCNIC_RCODE_TIMEOUT@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
ldr x9, [x21, #16]
str w8, [x9]
ldr x0, [x19]
bl _spin_unlock_irqrestore
ldr x8, [x21, #16]
ldr w22, [x8]
b LBB0_13
LBB0_3:
ldr x0, [x19, #8]
str x22, [sp]
Lloh14:
adrp x1, l_.str@PAGE
Lloh15:
add x1, x1, l_.str@PAGEOFF
bl _dev_info
ldr x0, [x19, #8]
Lloh16:
adrp x1, l_.str.1@PAGE
Lloh17:
add x1, x1, l_.str.1@PAGEOFF
bl _dev_info
mov w22, #0
b LBB0_13
LBB0_4:
ldr x8, [x21]
ldr x22, [x8]
mov x0, x20
mov w1, #0
bl _QLCNIC_MBX_HOST
mov x1, x0
mov x0, x22
bl _writel
ldr w8, [x21, #8]
cmp w8, #2
b.lt LBB0_7
; %bb.5:
mov w23, #1
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
ldr x24, [x8, x23, lsl #3]
mov x0, x20
mov x1, x23
bl _QLCNIC_MBX_HOST
mov x1, x0
mov x0, x24
bl _writel
add x23, x23, #1
ldrsw x8, [x21, #8]
cmp x23, x8
b.lt LBB0_6
LBB0_7:
ldr w1, [x25]
Lloh18:
adrp x8, _QLCNIC_SET_OWNER@GOTPAGE
Lloh19:
ldr x8, [x8, _QLCNIC_SET_OWNER@GOTPAGEOFF]
Lloh20:
ldr w2, [x8]
mov x0, x20
bl _QLCWRX
add x1, sp, #8
mov x0, x19
bl _qlcnic_83xx_mbx_poll
Lloh21:
adrp x24, _QLCNIC_RCODE_TIMEOUT@GOTPAGE
Lloh22:
ldr x24, [x24, _QLCNIC_RCODE_TIMEOUT@GOTPAGEOFF]
ldr x8, [x24]
cmp x0, x8
b.eq LBB0_11
; %bb.8:
Lloh23:
adrp x25, _QLCNIC_MBX_ASYNC_EVENT@GOTPAGE
Lloh24:
ldr x25, [x25, _QLCNIC_MBX_ASYNC_EVENT@GOTPAGEOFF]
LBB0_9: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov w1, #0
bl _QLCNIC_MBX_FW
bl _readl
ldr x8, [x25]
tst x8, x0
b.eq LBB0_14
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
mov x0, x19
bl ___qlcnic_83xx_process_aen
add x1, sp, #8
mov x0, x19
bl _qlcnic_83xx_mbx_poll
ldr x8, [x24]
cmp x0, x8
b.ne LBB0_9
LBB0_11:
ldr x21, [x19, #8]
mov x0, x22
bl _QLCNIC_MBX_RSP
mov x2, x0
Lloh25:
adrp x1, l_.str.4@PAGE
Lloh26:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x21
bl _dev_err
ldr x22, [x24]
LBB0_12:
Lloh27:
adrp x8, _QLCNIC_FW_MBX_CTRL@GOTPAGE
Lloh28:
ldr x8, [x8, _QLCNIC_FW_MBX_CTRL@GOTPAGEOFF]
Lloh29:
ldr w1, [x8]
Lloh30:
adrp x8, _QLCNIC_CLR_OWNER@GOTPAGE
Lloh31:
ldr x8, [x8, _QLCNIC_CLR_OWNER@GOTPAGEOFF]
Lloh32:
ldr w2, [x8]
mov x0, x20
bl _QLCWRX
ldr x0, [x19]
bl _spin_unlock_irqrestore
LBB0_13:
mov x0, x22
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_14:
mov x23, x0
bl _QLCNIC_MBX_STATUS
mov x22, x0
mov x0, x23
bl _QLCNIC_MBX_NUM_REGS
mov x0, x23
bl _QLCNIC_MBX_RSP
mov x23, x0
mov x0, x19
mov x1, x21
bl _qlcnic_83xx_get_mbx_data
and w8, w22, #0xfffffffe
cmp w8, #128
b.ne LBB0_16
; %bb.15:
Lloh33:
adrp x8, _QLCNIC_RCODE_SUCCESS@GOTPAGE
Lloh34:
ldr x8, [x8, _QLCNIC_RCODE_SUCCESS@GOTPAGEOFF]
Lloh35:
ldr x22, [x8]
b LBB0_12
LBB0_16:
Lloh36:
adrp x8, _QLCNIC_CMD_CONFIG_MAC_VLAN@GOTPAGE
Lloh37:
ldr x8, [x8, _QLCNIC_CMD_CONFIG_MAC_VLAN@GOTPAGEOFF]
Lloh38:
ldr x8, [x8]
cmp x23, x8
b.ne LBB0_18
; %bb.17:
mov x0, x19
bl _qlcnic_83xx_mac_rcode
cbz x0, LBB0_19
LBB0_18:
ldr x0, [x19, #8]
str x22, [sp]
Lloh39:
adrp x1, l_.str.3@PAGE
Lloh40:
add x1, x1, l_.str.3@PAGEOFF
mov x2, x23
bl _dev_err
mov w22, w22
mov x0, x19
mov x1, x21
bl _qlcnic_dump_mbx
b LBB0_12
LBB0_19:
mov x22, #0
b LBB0_12
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.cfi_endproc
; -- End function
.comm _QLC_83XX_MBX_READY,4,2 ; @QLC_83XX_MBX_READY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Mailbox cmd attempted, 0x%x\n"
l_.str.1: ; @.str.1
.asciz "Mailbox detached\n"
.comm _QLCNIC_HOST_MBX_CTRL,4,2 ; @QLCNIC_HOST_MBX_CTRL
.comm _DRV,4,2 ; @DRV
l_.str.2: ; @.str.2
.asciz "Mailbox not available, 0x%x, collect FW dump\n"
.comm _QLCNIC_RCODE_TIMEOUT,8,3 ; @QLCNIC_RCODE_TIMEOUT
.comm _QLCNIC_SET_OWNER,4,2 ; @QLCNIC_SET_OWNER
.comm _QLCNIC_MBX_ASYNC_EVENT,8,3 ; @QLCNIC_MBX_ASYNC_EVENT
.comm _QLCNIC_RCODE_SUCCESS,8,3 ; @QLCNIC_RCODE_SUCCESS
.comm _QLCNIC_CMD_CONFIG_MAC_VLAN,8,3 ; @QLCNIC_CMD_CONFIG_MAC_VLAN
l_.str.3: ; @.str.3
.asciz "MBX command 0x%x failed with err:0x%x\n"
l_.str.4: ; @.str.4
.asciz "MBX command 0x%x timed out\n"
.comm _QLCNIC_FW_MBX_CTRL,4,2 ; @QLCNIC_FW_MBX_CTRL
.comm _QLCNIC_CLR_OWNER,4,2 ; @QLCNIC_CLR_OWNER
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_83xx_hw.c_qlcnic_83xx_mbx_op.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/931088.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hns_roce_cmd_init ## -- Begin function hns_roce_cmd_init
.p2align 4, 0x90
_hns_roce_cmd_init: ## @hns_roce_cmd_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq 24(%rdi), %r14
addq $20, %rdi
callq _mutex_init
leaq 16(%rbx), %rdi
movl $1, %esi
callq _sema_init
movq $0, 8(%rbx)
movq _CMD_MAX_NUM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rbx)
movq _HNS_ROCE_MAILBOX_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str(%rip), %rdi
xorl %r15d, %r15d
movq %r14, %rsi
movl %ecx, %edx
xorl %r8d, %r8d
callq _dma_pool_create
movl %eax, (%rbx)
movq _ENOMEM@GOTPCREL(%rip), %rdx
xorl %ecx, %ecx
subl (%rdx), %ecx
testl %eax, %eax
cmovnel %r15d, %ecx
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CMD_MAX_NUM,4,2 ## @CMD_MAX_NUM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hns_roce_cmd"
.comm _HNS_ROCE_MAILBOX_SIZE,4,2 ## @HNS_ROCE_MAILBOX_SIZE
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hns_roce_cmd_init ; -- Begin function hns_roce_cmd_init
.p2align 2
_hns_roce_cmd_init: ; @hns_roce_cmd_init
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x20, [x0, #24]
add x0, x0, #20
bl _mutex_init
add x0, x19, #16
mov w1, #1
bl _sema_init
Lloh0:
adrp x8, _CMD_MAX_NUM@GOTPAGE
Lloh1:
ldr x8, [x8, _CMD_MAX_NUM@GOTPAGEOFF]
str xzr, [x19, #8]
Lloh2:
ldr w8, [x8]
str w8, [x19, #4]
Lloh3:
adrp x8, _HNS_ROCE_MAILBOX_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _HNS_ROCE_MAILBOX_SIZE@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
mov x3, x2
mov w4, #0
bl _dma_pool_create
str w0, [x19]
Lloh8:
adrp x8, _ENOMEM@GOTPAGE
Lloh9:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
cmp w0, #0
csneg w0, wzr, w8, ne
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CMD_MAX_NUM,4,2 ; @CMD_MAX_NUM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hns_roce_cmd"
.comm _HNS_ROCE_MAILBOX_SIZE,4,2 ; @HNS_ROCE_MAILBOX_SIZE
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_cmd.c_hns_roce_cmd_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _smb_rq_alloc ## -- Begin function smb_rq_alloc
.p2align 4, 0x90
_smb_rq_alloc: ## @smb_rq_alloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r15
movl %esi, %r12d
movq %rdi, %r13
movq _M_SMBRQ@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _M_WAITOK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $4, %edi
callq _malloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq %rax, %rdi
movq %r13, %rsi
movl %r12d, %edx
movq %r15, %rcx
callq _smb_rq_init
movl %eax, %r15d
movq _SMBR_ALLOCED@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%rbx)
testl %r15d, %r15d
je LBB0_4
## %bb.3:
movq %rbx, %rdi
callq _smb_rq_done
jmp LBB0_5
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %r15d
jmp LBB0_5
LBB0_4:
movq %rbx, (%r14)
xorl %r15d, %r15d
LBB0_5:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _M_SMBRQ,4,2 ## @M_SMBRQ
.comm _M_WAITOK,4,2 ## @M_WAITOK
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _SMBR_ALLOCED,4,2 ## @SMBR_ALLOCED
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _smb_rq_alloc ; -- Begin function smb_rq_alloc
.p2align 2
_smb_rq_alloc: ; @smb_rq_alloc
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x20, x2
mov x22, x1
mov x23, x0
Lloh0:
adrp x8, _M_SMBRQ@GOTPAGE
Lloh1:
ldr x8, [x8, _M_SMBRQ@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _M_WAITOK@GOTPAGE
Lloh4:
ldr x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov w0, #4
bl _malloc
cbz x0, LBB0_3
; %bb.1:
mov x21, x0
mov x1, x23
mov x2, x22
mov x3, x20
bl _smb_rq_init
mov x20, x0
Lloh6:
adrp x8, _SMBR_ALLOCED@GOTPAGE
Lloh7:
ldr x8, [x8, _SMBR_ALLOCED@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
ldr w9, [x21]
orr w8, w9, w8
str w8, [x21]
cbz w0, LBB0_4
; %bb.2:
mov x0, x21
bl _smb_rq_done
b LBB0_5
LBB0_3:
Lloh9:
adrp x8, _ENOMEM@GOTPAGE
Lloh10:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
ldr w20, [x8]
b LBB0_5
LBB0_4:
str x21, [x19]
LBB0_5:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _M_SMBRQ,4,2 ; @M_SMBRQ
.comm _M_WAITOK,4,2 ; @M_WAITOK
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _SMBR_ALLOCED,4,2 ; @SMBR_ALLOCED
.subsections_via_symbols
| AnghaBench/freebsd/sys/netsmb/extr_smb_rq.c_smb_rq_alloc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dn_ht_scan ## -- Begin function dn_ht_scan
.p2align 4, 0x90
_dn_ht_scan: ## @dn_ht_scan
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, -64(%rbp) ## 8-byte Spill
movl $0, -44(%rbp) ## 4-byte Folded Spill
testq %rdi, %rdi
je LBB0_11
## %bb.1:
movq %rsi, %rdx
testq %rsi, %rsi
je LBB0_11
## %bb.2:
movq %rdi, %r13
cmpl $0, (%rdi)
js LBB0_11
## %bb.3:
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movl $0, -44(%rbp) ## 4-byte Folded Spill
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movq -56(%rbp), %rax ## 8-byte Reload
leaq (,%rax,8), %r14
addq 8(%r13), %r14
jmp LBB0_5
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=2
movslq 16(%r13), %rcx
addq %rcx, %rbx
movq %rbx, %r14
LBB0_9: ## in Loop: Header=BB0_5 Depth=2
movq _DNHT_SCAN_END@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
movq %r12, %rdx
jne LBB0_11
LBB0_5: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r14), %rbx
testq %rbx, %rbx
je LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movslq 16(%r13), %rax
movq (%rbx,%rax), %r15
movq %rbx, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
movq %rdx, %r12
callq *%rdx
movq _DNHT_SCAN_DEL@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
incl -44(%rbp) ## 4-byte Folded Spill
decl 20(%r13)
movq %r15, (%r14)
jmp LBB0_9
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movq -56(%rbp), %rsi ## 8-byte Reload
leaq 1(%rsi), %rax
movslq (%r13), %rcx
cmpq %rcx, %rsi
movq %rax, -56(%rbp) ## 8-byte Spill
jl LBB0_4
LBB0_11:
movl -44(%rbp), %eax ## 4-byte Reload
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DNHT_SCAN_DEL,4,2 ## @DNHT_SCAN_DEL
.comm _DNHT_SCAN_END,4,2 ## @DNHT_SCAN_END
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dn_ht_scan ; -- Begin function dn_ht_scan
.p2align 2
_dn_ht_scan: ; @dn_ht_scan
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w20, #0
cbz x0, LBB0_12
; %bb.1:
mov x21, x1
cbz x1, LBB0_12
; %bb.2:
mov x22, x0
ldr w8, [x0]
tbnz w8, #31, LBB0_11
; %bb.3:
mov x19, x2
mov x24, #0
mov w20, #0
Lloh0:
adrp x25, _DNHT_SCAN_DEL@GOTPAGE
Lloh1:
ldr x25, [x25, _DNHT_SCAN_DEL@GOTPAGEOFF]
Lloh2:
adrp x26, _DNHT_SCAN_END@GOTPAGE
Lloh3:
ldr x26, [x26, _DNHT_SCAN_END@GOTPAGEOFF]
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr x8, [x22, #8]
add x27, x8, x24, lsl #3
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=2
ldrsw x8, [x22, #16]
add x27, x23, x8
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [x26]
tst w8, w0
b.ne LBB0_12
LBB0_7: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x23, [x27]
cbz x23, LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
ldrsw x8, [x22, #16]
ldr x28, [x23, x8]
mov x0, x23
mov x1, x19
blr x21
ldr w8, [x25]
tst w8, w0
b.eq LBB0_5
; %bb.9: ; in Loop: Header=BB0_7 Depth=2
add w20, w20, #1
ldr w8, [x22, #20]
sub w8, w8, #1
str w8, [x22, #20]
str x28, [x27]
b LBB0_6
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
add x8, x24, #1
ldrsw x9, [x22]
cmp x24, x9
mov x24, x8
b.lt LBB0_4
b LBB0_12
LBB0_11:
mov w20, #0
LBB0_12:
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _DNHT_SCAN_DEL,4,2 ; @DNHT_SCAN_DEL
.comm _DNHT_SCAN_END,4,2 ; @DNHT_SCAN_END
.subsections_via_symbols
| AnghaBench/freebsd/sys/netpfil/ipfw/extr_dn_heap.c_dn_ht_scan.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function subcommand_log
_subcommand_log: ## @subcommand_log
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %r14
movq %rsi, %rbx
movq %rsi, %rdi
xorl %esi, %esi
callq _check_number_of_args
movl %eax, %edi
callq _SVN_ERR
leaq -24(%rbp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq _get_ctxt_baton
movl %eax, %edi
callq _SVN_ERR
movq -24(%rbp), %rdi
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdx
callq _do_log
movl %eax, %edi
callq _SVN_ERR
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.no_dead_strip _subcommand_log
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function subcommand_log
_subcommand_log: ; @subcommand_log
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
mov x20, x1
mov x0, x1
mov w1, #0
bl _check_number_of_args
bl _SVN_ERR
add x0, sp, #8
mov x1, x20
mov x2, x19
bl _get_ctxt_baton
bl _SVN_ERR
ldr x0, [sp, #8]
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x2, x19
bl _do_log
bl _SVN_ERR
Lloh3:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
ldr x0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.no_dead_strip _subcommand_log
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/svnlook/extr_svnlook.c_subcommand_log.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function netdev_get_drvinfo
_netdev_get_drvinfo: ## @netdev_get_drvinfo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
callq _netdev_priv
movq %rax, %r14
movl 8(%rbx), %edi
movq _DRV_NAME@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $4, %edx
callq _strlcpy
movl 4(%rbx), %edi
movq _DRV_VERSION@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $4, %edx
callq _strlcpy
movl (%rbx), %ebx
movl (%r14), %edi
callq _pci_name
movl %ebx, %edi
movl %eax, %esi
movl $4, %edx
popq %rbx
popq %r14
popq %rbp
jmp _strlcpy ## TAILCALL
.cfi_endproc
## -- End function
.comm _DRV_NAME,4,2 ## @DRV_NAME
.comm _DRV_VERSION,4,2 ## @DRV_VERSION
.no_dead_strip _netdev_get_drvinfo
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function netdev_get_drvinfo
_netdev_get_drvinfo: ; @netdev_get_drvinfo
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _netdev_priv
mov x20, x0
ldr w0, [x19, #8]
Lloh0:
adrp x8, _DRV_NAME@GOTPAGE
Lloh1:
ldr x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w2, #4
bl _strlcpy
ldr w0, [x19, #4]
Lloh3:
adrp x8, _DRV_VERSION@GOTPAGE
Lloh4:
ldr x8, [x8, _DRV_VERSION@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov w2, #4
bl _strlcpy
ldr w19, [x19]
ldr w0, [x20]
bl _pci_name
mov x1, x0
mov x0, x19
mov w2, #4
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _strlcpy
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DRV_NAME,4,2 ; @DRV_NAME
.comm _DRV_VERSION,4,2 ; @DRV_VERSION
.no_dead_strip _netdev_get_drvinfo
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/rdc/extr_r6040.c_netdev_get_drvinfo.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_gpio_alts_info ## -- Begin function print_gpio_alts_info
.p2align 4, 0x90
_print_gpio_alts_info: ## @print_gpio_alts_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %ebx
leaq L_.str(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movabsq $17471121653248, %rax ## imm = 0xFE3CFFFFE00
btq %rbx, %rax
leaq L_.str.3(%rip), %rax
leaq L_.str.2(%rip), %rcx
cmovaeq %rax, %rcx
movabsq $52777363439616, %rax ## imm = 0x300030000000
btq %rbx, %rax
leaq L_.str.1(%rip), %rdi
cmovaeq %rcx, %rdi
xorl %eax, %eax
callq _printf
addl %ebx, %ebx
leal (%rbx,%rbx,2), %eax
movslq %eax, %rbx
movq _gpio_alt_names(%rip), %rax
movq (%rax,%rbx,8), %rsi
leaq L_.str.4(%rip), %r14
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq _gpio_alt_names(%rip), %rax
movq 8(%rax,%rbx,8), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq _gpio_alt_names(%rip), %rax
movq 16(%rax,%rbx,8), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq _gpio_alt_names(%rip), %rax
movq 24(%rax,%rbx,8), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq _gpio_alt_names(%rip), %rax
movq 32(%rax,%rbx,8), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq _gpio_alt_names(%rip), %rax
movq 40(%rax,%rbx,8), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
popq %rbx
popq %r14
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function delay_us
LCPI1_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _delay_us
.p2align 4, 0x90
_delay_us: ## @delay_us
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %eax
imulq $274877907, %rax, %rbx ## imm = 0x10624DD3
shrq $38, %rbx
imull $1000, %ebx, %eax ## imm = 0x3E8
subl %eax, %edi
imull $1000, %edi, %r13d ## imm = 0x3E8
negl %ebx
leaq -80(%rbp), %r14
leaq -64(%rbp), %r12
leaq L_str(%rip), %r15
jmp LBB1_1
.p2align 4, 0x90
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
incl %ebx
cmpl $1, %ebx
je LBB1_4
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq $0, -80(%rbp)
testl %ebx, %ebx
movl $1000000, %eax ## imm = 0xF4240
cmovel %r13d, %eax
movq %rax, -72(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -64(%rbp)
movq %r14, %rdi
movq %r12, %rsi
callq _nanosleep
movq -64(%rbp), %rax
orq -56(%rbp), %rax
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq %r15, %rdi
callq _puts
jmp LBB1_3
LBB1_4:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_hwbase ## -- Begin function get_hwbase
.p2align 4, 0x90
_get_hwbase: ## @get_hwbase
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $0, -56(%rbp)
movq $0, -64(%rbp)
leaq L_.str.7(%rip), %rdi
leaq L_.str.8(%rip), %rsi
callq _fopen
movq %rax, %r14
testq %rax, %rax
je LBB2_1
## %bb.2:
leaq -64(%rbp), %rdi
movl $1, %esi
movl $12, %edx
movq %r14, %rcx
callq _fread
cmpq $8, %rax
jb LBB2_10
## %bb.3:
movzbl -60(%rbp), %r9d
movl %r9d, %eax
shll $24, %eax
movzbl -59(%rbp), %edx
movl %edx, %ecx
shll $16, %ecx
orl %eax, %ecx
movzbl -58(%rbp), %r11d
movl %r11d, %ebx
shll $8, %ebx
orl %ecx, %ebx
movzbl -57(%rbp), %r15d
orl %r15d, %ebx
jne LBB2_5
## %bb.4:
movl -56(%rbp), %ebx
bswapl %ebx
LBB2_5:
movq -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movd %xmm0, %eax
cmpl $126, %eax
jne LBB2_9
## %bb.6:
cmpl $-33554432, %ebx ## imm = 0xFE000000
je LBB2_11
## %bb.7:
cmpl $536870912, %ebx ## imm = 0x20000000
je LBB2_11
## %bb.8:
cmpl $1056964608, %ebx ## imm = 0x3F000000
je LBB2_11
LBB2_9:
pextrb $0, %xmm0, %esi
movq %rdx, -80(%rbp) ## 8-byte Spill
pextrb $1, %xmm0, %edx
pextrb $2, %xmm0, %ecx
pextrb $3, %xmm0, %r8d
movzbl -56(%rbp), %eax
movq %rax, -72(%rbp) ## 8-byte Spill
movzbl -55(%rbp), %r13d
movzbl -54(%rbp), %r12d
movzbl -53(%rbp), %r10d
subq $8, %rsp
leaq L_.str.10(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
pushq %r10
pushq %r12
pushq %r13
pushq -72(%rbp) ## 8-byte Folded Reload
pushq %r15
pushq %r11
pushq -80(%rbp) ## 8-byte Folded Reload
callq _printf
addq $64, %rsp
jmp LBB2_11
LBB2_1:
leaq L_.str.9(%rip), %rdi
leaq L_.str.7(%rip), %rsi
xorl %ebx, %ebx
xorl %eax, %eax
callq _printf
jmp LBB2_11
LBB2_10:
leaq L_str.332(%rip), %rdi
callq _puts
xorl %ebx, %ebx
LBB2_11:
movq %r14, %rdi
callq _fclose
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB2_13
## %bb.12:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _get_gpio_fsel ## -- Begin function get_gpio_fsel
.p2align 4, 0x90
_get_gpio_fsel: ## @get_gpio_fsel
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $53, %edi
ja LBB3_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzbl %dil, %eax
imull $205, %eax, %ecx
shrl $11, %ecx
leal (%rcx,%rcx), %edx
leal (%rdx,%rdx,4), %edx
subb %dl, %al
movzbl %al, %edx
movq _gpio_base(%rip), %rax
movl (%rax,%rcx,4), %eax
leal (%rdx,%rdx,2), %ecx
## kill: def $cl killed $cl killed $ecx
shrl %cl, %eax
andl $7, %eax
popq %rbp
LBB3_2:
retq
.cfi_endproc
## -- End function
.globl _set_gpio_fsel ## -- Begin function set_gpio_fsel
.p2align 4, 0x90
_set_gpio_fsel: ## @set_gpio_fsel
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $53, %edi
ja LBB4_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzbl %dil, %ecx
imull $205, %ecx, %eax
shrl $11, %eax
leal (%rax,%rax), %edx
leal (%rdx,%rdx,4), %edx
subb %dl, %cl
movzbl %cl, %ecx
movq _gpio_base(%rip), %rdx
leaq (%rdx,%rax,4), %r8
leal (%rcx,%rcx,2), %ecx
movl $7, %edi
shll %cl, %edi
notl %edi
movq %r8, _set_gpio_fsel.tmp(%rip)
andl %edi, (%rdx,%rax,4)
andl $7, %esi
shll %cl, %esi
orl %esi, (%rdx,%rax,4)
movl (%rdx,%rax,4), %eax
## kill: def $cl killed $cl killed $ecx
shrl %cl, %eax
andl $7, %eax
popq %rbp
LBB4_2:
retq
.cfi_endproc
## -- End function
.globl _get_gpio_level ## -- Begin function get_gpio_level
.p2align 4, 0x90
_get_gpio_level: ## @get_gpio_level
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $53, %edi
ja LBB5_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
movl %edi, %ecx
subl $32, %ecx
setae %al
movq _gpio_base(%rip), %rdx
cmovbl %edi, %ecx
movl 52(%rdx,%rax,4), %edx
xorl %eax, %eax
btl %ecx, %edx
setb %al
popq %rbp
LBB5_2:
retq
.cfi_endproc
## -- End function
.globl _set_gpio_value ## -- Begin function set_gpio_value
.p2align 4, 0x90
_set_gpio_value: ## @set_gpio_value
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $53, %edi
ja LBB6_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
testl %esi, %esi
sete %al
cmpl $32, %edi
leaq (%rax,%rax,2), %rax
sbbq $0, %rax
movl %edi, %ecx
subl $32, %ecx
cmovbl %edi, %ecx
movl $1, %edx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
movq _gpio_base(%rip), %rcx
movl %edx, 32(%rcx,%rax,4)
xorl %eax, %eax
popq %rbp
LBB6_2:
retq
.cfi_endproc
## -- End function
.globl _gpio_fsel_to_namestr ## -- Begin function gpio_fsel_to_namestr
.p2align 4, 0x90
_gpio_fsel_to_namestr: ## @gpio_fsel_to_namestr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
## kill: def $edi killed $edi def $rdi
movl $-1, %eax
cmpl $53, %edi
ja LBB7_11
## %bb.1:
movq %rdx, %rbx
cmpl $6, %esi
ja LBB7_9
## %bb.2:
movl $5, %eax
movl %esi, %ecx
leaq LJTI7_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
LBB7_3:
movw $84, 4(%rbx)
movl $1431326281, (%rbx) ## imm = 0x55504E49
movl $5, %eax
jmp LBB7_11
LBB7_9:
movl $3, %eax
jmp LBB7_10
LBB7_4:
movl $5526864, 3(%rbx) ## imm = 0x545550
movl $1347704143, (%rbx) ## imm = 0x5054554F
movl $6, %eax
jmp LBB7_11
LBB7_5:
movl $4, %eax
jmp LBB7_10
LBB7_6:
xorl %eax, %eax
jmp LBB7_10
LBB7_7:
movl $1, %eax
jmp LBB7_10
LBB7_8:
movl $2, %eax
LBB7_10:
movq _gpio_alt_names(%rip), %rcx
leal (%rdi,%rdi,2), %edx
leal (%rax,%rdx,2), %eax
movq (%rcx,%rax,8), %rsi
movq %rbx, %rdi
callq _stpcpy
subl %ebx, %eax
LBB7_11:
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L7_0_set_3, LBB7_3-LJTI7_0
.set L7_0_set_4, LBB7_4-LJTI7_0
.set L7_0_set_10, LBB7_10-LJTI7_0
.set L7_0_set_5, LBB7_5-LJTI7_0
.set L7_0_set_6, LBB7_6-LJTI7_0
.set L7_0_set_7, LBB7_7-LJTI7_0
.set L7_0_set_8, LBB7_8-LJTI7_0
LJTI7_0:
.long L7_0_set_3
.long L7_0_set_4
.long L7_0_set_10
.long L7_0_set_5
.long L7_0_set_6
.long L7_0_set_7
.long L7_0_set_8
.end_data_region
## -- End function
.globl _print_raw_gpio_regs ## -- Begin function print_raw_gpio_regs
.p2align 4, 0x90
_print_raw_gpio_regs: ## @print_raw_gpio_regs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $0, _is_2711(%rip)
movl $39, %eax
movl $60, %r12d
cmovel %eax, %r12d
leaq L_.str.18(%rip), %r13
xorl %r14d, %r14d
jmp LBB8_1
.p2align 4, 0x90
LBB8_2: ## in Loop: Header=BB8_1 Depth=1
leaq L_.str.15(%rip), %rdi
movl $228, %esi
movl $9, %edx
leaq L_.str.16(%rip), %rcx
xorl %eax, %eax
callq _printf
movq _gpio_base(%rip), %rax
movl 228(%rax), %ebx
movl $57, %r14d
LBB8_5: ## in Loop: Header=BB8_1 Depth=1
movq %r13, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
LBB8_8: ## in Loop: Header=BB8_1 Depth=1
movl %r14d, %eax
leal 1(%rax), %r14d
cmpl %r12d, %eax
jge LBB8_9
LBB8_1: ## =>This Inner Loop Header: Depth=1
cmpl $40, %r14d
je LBB8_2
## %bb.3: ## in Loop: Header=BB8_1 Depth=1
movq _gpio_base(%rip), %rax
movslq %r14d, %rcx
movl (%rax,%rcx,4), %ebx
movl %r14d, %r15d
andl $3, %r15d
je LBB8_4
## %bb.6: ## in Loop: Header=BB8_1 Depth=1
movq %r13, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
cmpl $3, %r15d
jne LBB8_8
## %bb.7: ## in Loop: Header=BB8_1 Depth=1
movl $10, %edi
callq _putchar
jmp LBB8_8
LBB8_4: ## in Loop: Header=BB8_1 Depth=1
leal (,%r14,4), %esi
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB8_5
LBB8_9:
testb $3, %r14b
je LBB8_10
## %bb.11:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
LBB8_10:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_help ## -- Begin function print_help
.p2align 4, 0x90
_print_help: ## @print_help
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $10, %edi
callq _putchar
leaq L_.str.20(%rip), %rdi
leaq L_.str.19(%rip), %rbx
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_str.333(%rip), %rdi
callq _puts
leaq L_str.334(%rip), %rdi
callq _puts
leaq L_str.335(%rip), %rdi
callq _puts
movl $10, %edi
callq _putchar
leaq L_.str.24(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.25(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.26(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_str.336(%rip), %rdi
callq _puts
leaq L_.str.28(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_str.337(%rip), %rdi
callq _puts
leaq L_.str.30(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_str.340(%rip), %r14
movq %r14, %rdi
callq _puts
leaq L_.str.32(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
callq _puts
leaq L_.str.33(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
callq _puts
leaq L_.str.34(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
leaq L_str.341(%rip), %rdi
callq _puts
leaq L_str.342(%rip), %rdi
callq _puts
leaq L_.str.37(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.38(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_str.343(%rip), %rdi
callq _puts
leaq L_.str.40(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_str.344(%rip), %rdi
callq _puts
leaq L_str.345(%rip), %rdi
callq _puts
leaq L_str.346(%rip), %rdi
callq _puts
leaq L_str.347(%rip), %rdi
callq _puts
leaq L_str.348(%rip), %rdi
callq _puts
leaq L_str.349(%rip), %rdi
callq _puts
leaq L_str.350(%rip), %rdi
callq _puts
leaq L_str.351(%rip), %rdi
callq _puts
leaq L_str.352(%rip), %rdi
callq _puts
leaq L_.str.50(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.51(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.52(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.53(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.54(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.55(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.56(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.57(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.58(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.59(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.60(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function gpio_set_pull
LCPI10_0:
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 16 ## 0x10
.byte 39 ## 0x27
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
LCPI10_1:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _gpio_set_pull
.p2align 4, 0x90
_gpio_set_pull: ## @gpio_set_pull
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $-1, %eax
cmpl $53, %edi
ja LBB10_14
## %bb.1:
cmpl $2, %esi
ja LBB10_14
## %bb.2:
movl %edi, %ebx
cmpl $0, _is_2711(%rip)
je LBB10_5
## %bb.3:
movl $1, %eax
cmpl $2, %esi
ja LBB10_14
## %bb.4:
leal (%rbx,%rbx), %ecx
shrl $4, %ebx
movslq %esi, %rax
leaq l_switch.table.get_gpio_pull(%rip), %rdx
movl $3, %esi
shll %cl, %esi
movq _gpio_base(%rip), %rdi
notl %esi
andl 228(%rdi,%rbx,4), %esi
movl (%rdx,%rax,4), %eax
## kill: def $cl killed $cl killed $ecx
shll %cl, %eax
orl %esi, %eax
movl %eax, 228(%rdi,%rbx,4)
jmp LBB10_13
LBB10_5:
movl %ebx, %r14d
shrl $5, %r14d
andl $31, %ebx
movq _gpio_base(%rip), %rax
movl %esi, 148(%rax)
movaps LCPI10_0(%rip), %xmm0 ## xmm0 = [0,0,0,0,0,0,0,0,16,39,0,0,0,0,0,0]
movaps %xmm0, -48(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -32(%rbp)
leaq -48(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _nanosleep
movq -32(%rbp), %rax
orq -24(%rbp), %rax
je LBB10_7
## %bb.6:
leaq L_str(%rip), %rdi
callq _puts
LBB10_7:
movl %r14d, %r14d
movl $1, %eax
movl %ebx, %ecx
shll %cl, %eax
movq _gpio_base(%rip), %rcx
movl %eax, 152(%rcx,%r14,4)
movaps LCPI10_0(%rip), %xmm0 ## xmm0 = [0,0,0,0,0,0,0,0,16,39,0,0,0,0,0,0]
movaps %xmm0, -48(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -32(%rbp)
leaq -48(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _nanosleep
movq -32(%rbp), %rax
orq -24(%rbp), %rax
je LBB10_9
## %bb.8:
leaq L_str(%rip), %rdi
callq _puts
LBB10_9:
addq $38, %r14
movq _gpio_base(%rip), %rax
movl $0, 148(%rax)
movaps LCPI10_0(%rip), %xmm0 ## xmm0 = [0,0,0,0,0,0,0,0,16,39,0,0,0,0,0,0]
movaps %xmm0, -48(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -32(%rbp)
leaq -48(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _nanosleep
movq -32(%rbp), %rax
orq -24(%rbp), %rax
je LBB10_11
## %bb.10:
leaq L_str(%rip), %rdi
callq _puts
LBB10_11:
movq _gpio_base(%rip), %rax
movl $0, (%rax,%r14,4)
movaps LCPI10_0(%rip), %xmm0 ## xmm0 = [0,0,0,0,0,0,0,0,16,39,0,0,0,0,0,0]
movaps %xmm0, -48(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -32(%rbp)
leaq -48(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _nanosleep
movq -32(%rbp), %rax
orq -24(%rbp), %rax
je LBB10_13
## %bb.12:
leaq L_str(%rip), %rdi
callq _puts
LBB10_13:
xorl %eax, %eax
LBB10_14:
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_gpio_pull ## -- Begin function get_gpio_pull
.p2align 4, 0x90
_get_gpio_pull: ## @get_gpio_pull
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $-1, %eax
cmpl $0, _is_2711(%rip)
je LBB11_3
## %bb.1:
movq _gpio_base(%rip), %rcx
movl %edi, %edx
sarl $4, %edx
movslq %edx, %rdx
movl 228(%rcx,%rdx,4), %edx
addl %edi, %edi
andb $30, %dil
movl %edi, %ecx
shrq %cl, %rdx
andl $3, %edx
cmpl $3, %edx
je LBB11_3
## %bb.2:
leaq l_switch.table.get_gpio_pull(%rip), %rax
movl (%rax,%rdx,4), %eax
LBB11_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gpio_get ## -- Begin function gpio_get
.p2align 4, 0x90
_gpio_get: ## @gpio_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $552, %rsp ## imm = 0x228
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movl $-1, %ebx
movl $-1, %r15d
cmpl $53, %edi
ja LBB12_13
## %bb.1:
movzbl %r14b, %eax
imull $205, %eax, %ecx
shrl $11, %ecx
leal (%rcx,%rcx), %edx
leal (%rdx,%rdx,4), %edx
subb %dl, %al
movzbl %al, %eax
movq _gpio_base(%rip), %rdx
movl (%rdx,%rcx,4), %ebx
leal (%rax,%rax,2), %ecx
## kill: def $cl killed $cl killed $ecx
shrl %cl, %ebx
andl $7, %ebx
cmpl $6, %ebx
ja LBB12_10
## %bb.2:
movl $5, %eax
leaq LJTI12_0(%rip), %rcx
movslq (%rcx,%rbx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
LBB12_3:
leaq L_.str.12(%rip), %rcx
jmp LBB12_4
LBB12_10:
movl $3, %eax
jmp LBB12_11
LBB12_5:
leaq L_.str.13(%rip), %rcx
LBB12_4:
leaq -544(%rbp), %rdi
movl $512, %edx ## imm = 0x200
xorl %esi, %esi
xorl %eax, %eax
callq ___sprintf_chk
jmp LBB12_12
LBB12_6:
movl $4, %eax
jmp LBB12_11
LBB12_7:
xorl %eax, %eax
jmp LBB12_11
LBB12_8:
movl $1, %eax
jmp LBB12_11
LBB12_9:
movl $2, %eax
LBB12_11:
movq _gpio_alt_names(%rip), %rcx
leal (%r14,%r14,2), %edx
leal (%rax,%rdx,2), %eax
movq (%rcx,%rax,8), %r8
leaq L_.str.14(%rip), %rcx
leaq -544(%rbp), %rdi
movl $512, %edx ## imm = 0x200
xorl %esi, %esi
xorl %eax, %eax
callq ___sprintf_chk
LBB12_12:
xorl %eax, %eax
movl %r14d, %ecx
subl $32, %ecx
setae %al
movq _gpio_base(%rip), %rdx
cmovbl %r14d, %ecx
movl 52(%rdx,%rax,4), %eax
xorl %r15d, %r15d
btl %ecx, %eax
setb %r15b
LBB12_13:
movb $0, -556(%rbp)
cmpl $0, _is_2711(%rip)
je LBB12_16
## %bb.14:
movq _gpio_base(%rip), %rax
movl %r14d, %ecx
sarl $4, %ecx
movslq %ecx, %rcx
movl 228(%rax,%rcx,4), %eax
leal (%r14,%r14), %ecx
andb $30, %cl
## kill: def $cl killed $cl killed $ecx
shrq %cl, %rax
andl $3, %eax
cmpl $3, %eax
je LBB12_16
## %bb.15:
leaq l_switch.table.gpio_get(%rip), %rcx
movq (%rcx,%rax,8), %rax
leaq _reltable.gpio_get(%rip), %rcx
movslq (%rcx,%rax,4), %r8
addq %rcx, %r8
leaq L_.str.61(%rip), %rcx
leaq -556(%rbp), %rdi
movl $12, %edx
xorl %esi, %esi
xorl %eax, %eax
callq ___sprintf_chk
LBB12_16:
cmpl $1, %ebx
jg LBB12_18
## %bb.17:
leaq L_.str.62(%rip), %rdi
leaq -544(%rbp), %r8
leaq -556(%rbp), %r9
jmp LBB12_19
LBB12_18:
movl %ebx, %eax
leaq _reltable.gpio_get.363(%rip), %rcx
movslq (%rcx,%rax,4), %r8
addq %rcx, %r8
leaq -556(%rbp), %rax
movq %rax, (%rsp)
leaq L_.str.63(%rip), %rdi
leaq -544(%rbp), %r9
LBB12_19:
movl %r14d, %esi
movl %r15d, %edx
movl %ebx, %ecx
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB12_21
## %bb.20:
xorl %eax, %eax
addq $552, %rsp ## imm = 0x228
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB12_21:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L12_0_set_3, LBB12_3-LJTI12_0
.set L12_0_set_5, LBB12_5-LJTI12_0
.set L12_0_set_11, LBB12_11-LJTI12_0
.set L12_0_set_6, LBB12_6-LJTI12_0
.set L12_0_set_7, LBB12_7-LJTI12_0
.set L12_0_set_8, LBB12_8-LJTI12_0
.set L12_0_set_9, LBB12_9-LJTI12_0
LJTI12_0:
.long L12_0_set_3
.long L12_0_set_5
.long L12_0_set_11
.long L12_0_set_6
.long L12_0_set_7
.long L12_0_set_8
.long L12_0_set_9
.end_data_region
## -- End function
.globl _gpio_set ## -- Begin function gpio_set
.p2align 4, 0x90
_gpio_set: ## @gpio_set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %ecx, %r8d
cmpl $53, %edi
ja LBB13_3
## %bb.1:
cmpl $-1, %esi
je LBB13_3
## %bb.2:
movzbl %dil, %r9d
imull $205, %r9d, %r11d
shrl $11, %r11d
leal (%r11,%r11), %ecx
leal (%rcx,%rcx,4), %ecx
subb %cl, %r9b
movzbl %r9b, %ecx
movq _gpio_base(%rip), %r9
leaq (%r9,%r11,4), %r10
leal (%rcx,%rcx,2), %ecx
movl $7, %eax
shll %cl, %eax
notl %eax
movq %r10, _set_gpio_fsel.tmp(%rip)
andl %eax, (%r9,%r11,4)
andl $7, %esi
## kill: def $cl killed $cl killed $ecx
shll %cl, %esi
orl %esi, (%r9,%r11,4)
movl (%r9,%r11,4), %eax
LBB13_3:
cmpl $-1, %edx
je LBB13_7
## %bb.4:
cmpl $53, %edi
ja LBB13_10
## %bb.5:
movzbl %dil, %eax
imull $205, %eax, %ecx
shrl $11, %ecx
leal (%rcx,%rcx), %esi
leal (%rsi,%rsi,4), %esi
subb %sil, %al
movzbl %al, %eax
movq _gpio_base(%rip), %r9
movl (%r9,%rcx,4), %esi
leal (%rax,%rax,2), %ecx
## kill: def $cl killed $cl killed $ecx
shrl %cl, %esi
andl $7, %esi
cmpl $1, %esi
jne LBB13_10
## %bb.6:
xorl %eax, %eax
testl %edx, %edx
sete %al
cmpl $32, %edi
leaq (%rax,%rax,2), %rax
sbbq $0, %rax
movl %edi, %ecx
subl $32, %ecx
cmovbl %edi, %ecx
movl $1, %edx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
movl %edx, 32(%r9,%rax,4)
LBB13_7:
cmpl $-1, %r8d
je LBB13_8
## %bb.9:
movl %r8d, %esi
popq %rbp
jmp _gpio_set_pull ## TAILCALL
LBB13_10:
leaq L_str.353(%rip), %rdi
callq _puts
movl $1, %eax
popq %rbp
retq
LBB13_8:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq $0, -72(%rbp)
cmpl $1, %edi
jg LBB14_3
## %bb.1:
leaq L_str.362(%rip), %rdi
callq _puts
jmp LBB14_110
LBB14_3:
movq %rsi, %r14
movl %edi, %ebx
movq 8(%rsi), %r13
leaq L_.str.66(%rip), %rsi
movq %r13, %rdi
callq _strcmp
testl %eax, %eax
je LBB14_4
## %bb.5:
movq %r14, -104(%rbp) ## 8-byte Spill
leaq L_.str.67(%rip), %rsi
movq %r13, %rdi
callq _strcmp
movl %eax, -88(%rbp) ## 4-byte Spill
testl %eax, %eax
sete %r15b
leaq L_.str.68(%rip), %rsi
movq %r13, %rdi
callq _strcmp
movl %eax, -92(%rbp) ## 4-byte Spill
testl %eax, %eax
sete %r14b
leaq L_.str.69(%rip), %rsi
movq %r13, %rdi
callq _strcmp
movl %eax, %r12d
leaq L_.str.70(%rip), %rsi
movq %r13, %rdi
callq _strcmp
orb %r15b, %r14b
movb %r14b, -45(%rbp) ## 1-byte Spill
jne LBB14_11
## %bb.6:
testl %r12d, %r12d
je LBB14_11
## %bb.7:
testl %eax, %eax
je LBB14_11
## %bb.8:
leaq L_.str.71(%rip), %rdi
LBB14_9:
movq %r13, %rsi
LBB14_10:
xorl %eax, %eax
callq _printf
movl $1, %r15d
jmp LBB14_111
LBB14_4:
callq _print_help
LBB14_110:
xorl %r15d, %r15d
LBB14_111:
movl %r15d, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB14_11:
testl %r12d, %r12d
sete %dl
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
sete %cl
movl %ebx, %r14d
cmpl $4, %ebx
jb LBB14_15
## %bb.12:
orb %dl, %cl
je LBB14_15
## %bb.13:
leaq L_str.361(%rip), %rdi
jmp LBB14_14
LBB14_15:
cmpl $2, %r14d
movl -92(%rbp), %r13d ## 4-byte Reload
ja LBB14_18
## %bb.16:
testl %r13d, %r13d
jne LBB14_18
## %bb.17:
leaq L_str.360(%rip), %rdi
LBB14_14:
callq _puts
movl $1, %r15d
jmp LBB14_111
LBB14_18:
movl %eax, -76(%rbp) ## 4-byte Spill
cmpl $3, %r14d
jb LBB14_57
## %bb.19:
movq -104(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %r15
testq %r15, %r15
je LBB14_40
## %bb.20:
leaq L_.str.74(%rip), %rsi
leaq -56(%rbp), %rdx
leaq -64(%rbp), %rcx
movq %r15, %rdi
xorl %eax, %eax
callq _sscanf
cmpl $1, %eax
jne LBB14_56
## %bb.21:
movl -56(%rbp), %edx
testl %edx, %edx
js LBB14_56
## %bb.22:
cmpl $53, %edx
jg LBB14_56
## %bb.23:
leaq L_.str.74(%rip), %rbx
LBB14_24: ## =>This Loop Header: Depth=1
## Child Loop BB14_36 Depth 2
movslq -64(%rbp), %rax
cmpb $45, (%r15,%rax)
leaq (%r15,%rax), %r15
jne LBB14_30
## %bb.25: ## in Loop: Header=BB14_24 Depth=1
incq %r15
movq %r15, %rdi
movq %rbx, %rsi
leaq -80(%rbp), %rdx
leaq -64(%rbp), %rcx
xorl %eax, %eax
callq _sscanf
cmpl $1, %eax
jne LBB14_56
## %bb.26: ## in Loop: Header=BB14_24 Depth=1
movl -80(%rbp), %eax
testl %eax, %eax
js LBB14_56
## %bb.27: ## in Loop: Header=BB14_24 Depth=1
cmpl $53, %eax
jg LBB14_56
## %bb.28: ## in Loop: Header=BB14_24 Depth=1
movl -56(%rbp), %edx
cmpl %edx, %eax
jge LBB14_29
## %bb.31: ## in Loop: Header=BB14_24 Depth=1
movl %edx, -80(%rbp)
movl %eax, -56(%rbp)
movl %eax, %ecx
jmp LBB14_32
LBB14_30: ## in Loop: Header=BB14_24 Depth=1
movl %edx, -80(%rbp)
movl %edx, %ecx
jmp LBB14_33
LBB14_29: ## in Loop: Header=BB14_24 Depth=1
movl %edx, %ecx
movl %eax, %edx
LBB14_32: ## in Loop: Header=BB14_24 Depth=1
movslq -64(%rbp), %rax
addq %rax, %r15
cmpl %edx, %ecx
jg LBB14_38
LBB14_33: ## in Loop: Header=BB14_24 Depth=1
movq %rbx, %r8
leal 1(%rdx), %esi
movl %esi, %edi
subl %ecx, %edi
movl %ecx, %eax
testb $1, %dil
je LBB14_35
## %bb.34: ## in Loop: Header=BB14_24 Depth=1
movl $1, %eax
shll %cl, %eax
leal 31(%rcx), %edi
testl %ecx, %ecx
cmovnsl %ecx, %edi
sarl $5, %edi
movslq %edi, %rdi
orl %eax, -72(%rbp,%rdi,4)
leal 1(%rcx), %eax
LBB14_35: ## in Loop: Header=BB14_24 Depth=1
cmpl %ecx, %edx
je LBB14_37
.p2align 4, 0x90
LBB14_36: ## Parent Loop BB14_24 Depth=1
## => This Inner Loop Header: Depth=2
movl $1, %edi
movl %eax, %ecx
shll %cl, %edi
leal 31(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
sarl $5, %ecx
movslq %ecx, %rcx
orl %edi, -72(%rbp,%rcx,4)
leal 1(%rax), %ecx
movl $1, %edi
shll %cl, %edi
leal 32(%rax), %ebx
testl %ecx, %ecx
cmovnsl %ecx, %ebx
sarl $5, %ebx
movslq %ebx, %rbx
orl %edi, -72(%rbp,%rbx,4)
addl $2, %eax
cmpl %edx, %ecx
jne LBB14_36
LBB14_37: ## in Loop: Header=BB14_24 Depth=1
movl %esi, -56(%rbp)
movq %r8, %rbx
LBB14_38: ## in Loop: Header=BB14_24 Depth=1
movb (%r15), %al
cmpb $44, %al
jne LBB14_39
## %bb.53: ## in Loop: Header=BB14_24 Depth=1
incq %r15
movq %r15, %rdi
movq %rbx, %rsi
leaq -56(%rbp), %rdx
leaq -64(%rbp), %rcx
xorl %eax, %eax
callq _sscanf
cmpl $1, %eax
jne LBB14_56
## %bb.54: ## in Loop: Header=BB14_24 Depth=1
movl -56(%rbp), %edx
testl %edx, %edx
js LBB14_56
## %bb.55: ## in Loop: Header=BB14_24 Depth=1
cmpl $54, %edx
jl LBB14_24
jmp LBB14_56
LBB14_57:
movl %r12d, -84(%rbp) ## 4-byte Spill
movl $-1, -52(%rbp) ## 4-byte Folded Spill
movl $-1, -44(%rbp) ## 4-byte Folded Spill
movl $-1, -60(%rbp) ## 4-byte Folded Spill
testl %r13d, %r13d
je LBB14_58
LBB14_47:
movl -68(%rbp), %r12d
orl -72(%rbp), %r12d
callq _get_hwbase
movl %eax, %r14d
cmpl $0, -84(%rbp) ## 4-byte Folded Reload
je LBB14_48
## %bb.83:
leaq L_.str.92(%rip), %rdi
movl $16777346, %esi ## imm = 0x1000082
xorl %eax, %eax
callq _open
testl %eax, %eax
js LBB14_85
## %bb.84:
movl $4096, %esi ## imm = 0x1000
xorl %edi, %edi
movl $3, %edx
movl $1, %ecx
movl %eax, %r8d
xorl %r9d, %r9d
LBB14_91:
callq _mmap
movq %rax, _gpio_base(%rip)
cmpq $-1, %rax
movl -76(%rbp), %edx ## 4-byte Reload
je LBB14_92
## %bb.93:
movl 240(%rax), %eax
xorl %ecx, %ecx
cmpl $1735420271, %eax ## imm = 0x6770696F
setne %cl
movl %ecx, _is_2711(%rip)
leaq _gpio_alt_names_2711(%rip), %rax
leaq _gpio_alt_names_2708(%rip), %rcx
cmovneq %rax, %rcx
movq %rcx, _gpio_alt_names(%rip)
cmpb $0, -45(%rbp) ## 1-byte Folded Reload
je LBB14_108
## %bb.94:
xorl %ebx, %ebx
leaq L_str.356(%rip), %r14
leaq L_str.354(%rip), %r15
leaq L_str.355(%rip), %r13
jmp LBB14_95
LBB14_103: ## in Loop: Header=BB14_95 Depth=1
movl %ebx, %edi
callq _gpio_get
movl -76(%rbp), %edx ## 4-byte Reload
LBB14_107: ## in Loop: Header=BB14_95 Depth=1
incl %ebx
cmpl $54, %ebx
je LBB14_108
LBB14_95: ## =>This Inner Loop Header: Depth=1
testl %r12d, %r12d
je LBB14_96
## %bb.106: ## in Loop: Header=BB14_95 Depth=1
movl %ebx, %eax
shrl $5, %eax
movl -72(%rbp,%rax,4), %eax
btl %ebx, %eax
jb LBB14_102
jmp LBB14_107
LBB14_96: ## in Loop: Header=BB14_95 Depth=1
movq %r14, %rdi
testl %ebx, %ebx
je LBB14_101
## %bb.97: ## in Loop: Header=BB14_95 Depth=1
cmpl $46, %ebx
je LBB14_100
## %bb.98: ## in Loop: Header=BB14_95 Depth=1
cmpl $28, %ebx
jne LBB14_102
## %bb.99: ## in Loop: Header=BB14_95 Depth=1
movq %r13, %rdi
jmp LBB14_101
LBB14_100: ## in Loop: Header=BB14_95 Depth=1
movq %r15, %rdi
LBB14_101: ## in Loop: Header=BB14_95 Depth=1
callq _puts
LBB14_102: ## in Loop: Header=BB14_95 Depth=1
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
je LBB14_103
## %bb.104: ## in Loop: Header=BB14_95 Depth=1
movl %ebx, %edi
movl -44(%rbp), %esi ## 4-byte Reload
movl -60(%rbp), %edx ## 4-byte Reload
movl -52(%rbp), %ecx ## 4-byte Reload
callq _gpio_set
testl %eax, %eax
movl -76(%rbp), %edx ## 4-byte Reload
je LBB14_107
## %bb.105:
movl $1, %r15d
jmp LBB14_111
LBB14_48:
xorl %eax, %eax
cmpl $-33554432, %r14d ## imm = 0xFE000000
sete %al
movl %eax, _is_2711(%rip)
leaq _gpio_alt_names_2711(%rip), %rax
leaq _gpio_alt_names_2708(%rip), %rcx
cmoveq %rax, %rcx
movq %rcx, _gpio_alt_names(%rip)
leaq L_str.358(%rip), %rdi
callq _puts
xorl %ebx, %ebx
xorl %r15d, %r15d
jmp LBB14_49
LBB14_51: ## in Loop: Header=BB14_49 Depth=1
movl %ebx, %edi
callq _print_gpio_alts_info
LBB14_52: ## in Loop: Header=BB14_49 Depth=1
incl %ebx
cmpl $54, %ebx
je LBB14_111
LBB14_49: ## =>This Inner Loop Header: Depth=1
testl %r12d, %r12d
je LBB14_51
## %bb.50: ## in Loop: Header=BB14_49 Depth=1
movl %ebx, %eax
shrl $5, %eax
movl -72(%rbp,%rax,4), %eax
btl %ebx, %eax
jb LBB14_51
jmp LBB14_52
LBB14_85:
callq _geteuid
testl %eax, %eax
je LBB14_87
## %bb.86:
leaq L_str.357(%rip), %rdi
callq _puts
jmp LBB14_110
LBB14_108:
xorl %r15d, %r15d
testl %edx, %edx
jne LBB14_111
## %bb.109:
callq _print_raw_gpio_regs
jmp LBB14_110
LBB14_39:
testb %al, %al
jne LBB14_56
LBB14_40:
movl %r12d, -84(%rbp) ## 4-byte Spill
cmpl $3, %r14d
movq -104(%rbp), %rbx ## 8-byte Reload
jg LBB14_42
## %bb.41:
testl %r13d, %r13d
jne LBB14_42
LBB14_58:
leaq L_str.359(%rip), %rdi
callq _puts
jmp LBB14_110
LBB14_56:
leaq L_.str.75(%rip), %rdi
movq %r15, %rsi
jmp LBB14_10
LBB14_42:
movl $-1, -52(%rbp) ## 4-byte Folded Spill
movl $-1, -44(%rbp) ## 4-byte Folded Spill
movl $-1, -60(%rbp) ## 4-byte Folded Spill
cmpl $4, %r14d
jl LBB14_47
## %bb.43:
movl %r14d, %r12d
movl $-1, -60(%rbp) ## 4-byte Folded Spill
movl $3, %r15d
leaq L_.str.77(%rip), %r14
movl $-1, -44(%rbp) ## 4-byte Folded Spill
movl $-1, -52(%rbp) ## 4-byte Folded Spill
jmp LBB14_44
LBB14_45: ## in Loop: Header=BB14_44 Depth=1
movl $1, -60(%rbp) ## 4-byte Folded Spill
LBB14_46: ## in Loop: Header=BB14_44 Depth=1
incq %r15
cmpq %r15, %r12
je LBB14_47
LBB14_44: ## =>This Inner Loop Header: Depth=1
movq (%rbx,%r15,8), %r13
movq %r13, %rdi
movq %r14, %rsi
callq _strcmp
testl %eax, %eax
je LBB14_45
## %bb.59: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.78(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB14_60
## %bb.61: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.79(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB14_62
## %bb.63: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.80(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB14_64
## %bb.65: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.81(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB14_66
## %bb.67: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.82(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB14_68
## %bb.69: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.83(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB14_70
## %bb.71: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.84(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB14_72
## %bb.73: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.85(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB14_74
## %bb.75: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.86(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB14_76
## %bb.77: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.87(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB14_78
## %bb.79: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.88(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB14_80
## %bb.81: ## in Loop: Header=BB14_44 Depth=1
movq %r13, %rdi
leaq L_.str.89(%rip), %rsi
callq _strcmp
movl $0, -52(%rbp) ## 4-byte Folded Spill
testl %eax, %eax
je LBB14_46
jmp LBB14_82
LBB14_60: ## in Loop: Header=BB14_44 Depth=1
movl $0, -60(%rbp) ## 4-byte Folded Spill
jmp LBB14_46
LBB14_62: ## in Loop: Header=BB14_44 Depth=1
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB14_46
LBB14_64: ## in Loop: Header=BB14_44 Depth=1
movl $1, -44(%rbp) ## 4-byte Folded Spill
jmp LBB14_46
LBB14_66: ## in Loop: Header=BB14_44 Depth=1
movl $4, -44(%rbp) ## 4-byte Folded Spill
jmp LBB14_46
LBB14_68: ## in Loop: Header=BB14_44 Depth=1
movl $5, -44(%rbp) ## 4-byte Folded Spill
jmp LBB14_46
LBB14_70: ## in Loop: Header=BB14_44 Depth=1
movl $6, -44(%rbp) ## 4-byte Folded Spill
jmp LBB14_46
LBB14_72: ## in Loop: Header=BB14_44 Depth=1
movl $7, -44(%rbp) ## 4-byte Folded Spill
jmp LBB14_46
LBB14_74: ## in Loop: Header=BB14_44 Depth=1
movl $3, -44(%rbp) ## 4-byte Folded Spill
jmp LBB14_46
LBB14_76: ## in Loop: Header=BB14_44 Depth=1
movl $2, -44(%rbp) ## 4-byte Folded Spill
jmp LBB14_46
LBB14_78: ## in Loop: Header=BB14_44 Depth=1
movl $2, -52(%rbp) ## 4-byte Folded Spill
jmp LBB14_46
LBB14_80: ## in Loop: Header=BB14_44 Depth=1
movl $1, -52(%rbp) ## 4-byte Folded Spill
jmp LBB14_46
LBB14_92:
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.96(%rip), %rdi
movq %rax, %rsi
jmp LBB14_10
LBB14_87:
movl $1, %r15d
testl %r14d, %r14d
je LBB14_111
## %bb.88:
leaq L_.str.94(%rip), %rdi
movl $16777346, %esi ## imm = 0x1000082
xorl %eax, %eax
callq _open
testl %eax, %eax
js LBB14_89
## %bb.90:
addl $2097152, %r14d ## imm = 0x200000
movl $4096, %esi ## imm = 0x1000
xorl %edi, %edi
movl $3, %edx
movl $1, %ecx
movl %eax, %r8d
movq %r14, %r9
jmp LBB14_91
LBB14_89:
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.95(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
jmp LBB14_111
LBB14_82:
leaq L_.str.90(%rip), %rdi
jmp LBB14_9
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz ", NONE"
L_.str.2: ## @.str.2
.asciz ", DOWN"
L_.str.3: ## @.str.3
.asciz ", UP"
L_.str.4: ## @.str.4
.asciz ", %s"
.zerofill __DATA,__bss,_gpio_alt_names,8,3 ## @gpio_alt_names
L_.str.7: ## @.str.7
.asciz "/proc/device-tree/soc/ranges"
L_.str.8: ## @.str.8
.asciz "rb"
L_.str.9: ## @.str.9
.asciz "Can't open '%s'\n"
L_.str.10: ## @.str.10
.asciz "Unexpected ranges data (%02x%02x%02x%02x %02x%02x%02x%02x %02x%02x%02x%02x)\n"
.zerofill __DATA,__bss,_gpio_base,8,3 ## @gpio_base
.zerofill __DATA,__bss,_set_gpio_fsel.tmp,8,3 ## @set_gpio_fsel.tmp
L_.str.12: ## @.str.12
.asciz "INPUT"
L_.str.13: ## @.str.13
.asciz "OUTPUT"
L_.str.14: ## @.str.14
.asciz "%s"
.zerofill __DATA,__bss,_is_2711,4,2 ## @is_2711
L_.str.15: ## @.str.15
.asciz "%02x:%*s"
L_.str.16: ## @.str.16
.space 1
L_.str.17: ## @.str.17
.asciz "%02x:"
L_.str.18: ## @.str.18
.asciz " %08x"
L_.str.19: ## @.str.19
.asciz "raspi-gpio"
L_.str.20: ## @.str.20
.asciz "WARNING! %s set writes directly to the GPIO control registers\n"
L_.str.24: ## @.str.24
.asciz "The %s tool is designed to help hack / debug BCM283x GPIO.\n"
L_.str.25: ## @.str.25
.asciz "Running %s with the help argument prints this help.\n"
L_.str.26: ## @.str.26
.asciz "%s can get and print the state of a GPIO (or all GPIOs)\n"
L_.str.28: ## @.str.28
.asciz "%s must be run as root.\n"
L_.str.30: ## @.str.30
.asciz " %s get [GPIO]\n"
L_.str.32: ## @.str.32
.asciz " %s set <GPIO> [options]\n"
L_.str.33: ## @.str.33
.asciz " %s funcs [GPIO]\n"
L_.str.34: ## @.str.34
.asciz " %s raw\n"
L_.str.37: ## @.str.37
.asciz "Note that omitting [GPIO] from %s get prints all GPIOs.\n"
L_.str.38: ## @.str.38
.asciz "%s funcs will dump all the possible GPIO alt funcions in CSV format\n"
L_.str.40: ## @.str.40
.asciz "Valid [options] for %s set are:\n"
L_.str.50: ## @.str.50
.asciz " %s get Prints state of all GPIOs one per line\n"
L_.str.51: ## @.str.51
.asciz " %s get 20 Prints state of GPIO20\n"
L_.str.52: ## @.str.52
.asciz " %s get 20,21 Prints state of GPIO20 and GPIO21\n"
L_.str.53: ## @.str.53
.asciz " %s set 20 a5 Set GPIO20 to ALT5 function (GPCLK0)\n"
L_.str.54: ## @.str.54
.asciz " %s set 20 pu Enable GPIO20 ~50k in-pad pull up\n"
L_.str.55: ## @.str.55
.asciz " %s set 20 pd Enable GPIO20 ~50k in-pad pull down\n"
L_.str.56: ## @.str.56
.asciz " %s set 20 op Set GPIO20 to be an output\n"
L_.str.57: ## @.str.57
.asciz " %s set 20 dl Set GPIO20 to output low/zero (must already be set as an output)\n"
L_.str.58: ## @.str.58
.asciz " %s set 20 ip pd Set GPIO20 to input with pull down\n"
L_.str.59: ## @.str.59
.asciz " %s set 35 a0 pu Set GPIO35 to ALT0 function (SPI_CE1_N) with pull up\n"
L_.str.60: ## @.str.60
.asciz " %s set 20 op pn dh Set GPIO20 to ouput with no pull and driving high\n"
L_.str.61: ## @.str.61
.asciz " pull=%s"
.section __TEXT,__const
.p2align 2 ## @reltable.gpio_get
_reltable.gpio_get:
.long L_.str.100-_reltable.gpio_get
.long L_.str.101-_reltable.gpio_get
.long L_.str.102-_reltable.gpio_get
.long L_.str.103-_reltable.gpio_get
.section __TEXT,__cstring,cstring_literals
L_.str.62: ## @.str.62
.asciz "GPIO %d: level=%d fsel=%d func=%s%s\n"
L_.str.63: ## @.str.63
.asciz "GPIO %d: level=%d fsel=%d alt=%s func=%s%s\n"
.section __TEXT,__const
.p2align 2 ## @reltable.gpio_get.363
_reltable.gpio_get.363:
.long L_.str.104-_reltable.gpio_get.363
.long L_.str.104-_reltable.gpio_get.363
.long L_.str.105-_reltable.gpio_get.363
.long L_.str.106-_reltable.gpio_get.363
.long L_.str.107-_reltable.gpio_get.363
.long L_.str.108-_reltable.gpio_get.363
.long L_.str.109-_reltable.gpio_get.363
.long L_.str.110-_reltable.gpio_get.363
.section __TEXT,__cstring,cstring_literals
L_.str.66: ## @.str.66
.asciz "help"
L_.str.67: ## @.str.67
.asciz "get"
L_.str.68: ## @.str.68
.asciz "set"
L_.str.69: ## @.str.69
.asciz "funcs"
L_.str.70: ## @.str.70
.asciz "raw"
L_.str.71: ## @.str.71
.asciz "Unknown argument \"%s\" try \"raspi-gpio help\"\n"
L_.str.74: ## @.str.74
.asciz "%d%n"
L_.str.75: ## @.str.75
.asciz "Unknown GPIO \"%s\"\n"
L_.str.77: ## @.str.77
.asciz "dh"
L_.str.78: ## @.str.78
.asciz "dl"
L_.str.79: ## @.str.79
.asciz "ip"
L_.str.80: ## @.str.80
.asciz "op"
L_.str.81: ## @.str.81
.asciz "a0"
L_.str.82: ## @.str.82
.asciz "a1"
L_.str.83: ## @.str.83
.asciz "a2"
L_.str.84: ## @.str.84
.asciz "a3"
L_.str.85: ## @.str.85
.asciz "a4"
L_.str.86: ## @.str.86
.asciz "a5"
L_.str.87: ## @.str.87
.asciz "pu"
L_.str.88: ## @.str.88
.asciz "pd"
L_.str.89: ## @.str.89
.asciz "pn"
L_.str.90: ## @.str.90
.asciz "Unknown argument \"%s\"\n"
.section __DATA,__data
.p2align 4 ## @gpio_alt_names_2711
_gpio_alt_names_2711:
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.128
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.134
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.150
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.165
.quad L_.str.166
.quad L_.str.156
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.172
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.178
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.201
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.211
.quad L_.str.212
.quad L_.str.213
.quad L_.str.214
.quad L_.str.215
.quad L_.str.216
.quad L_.str.179
.quad L_.str.217
.quad L_.str.218
.quad L_.str.219
.quad L_.str.220
.quad L_.str.221
.quad L_.str.184
.quad L_.str.222
.quad L_.str.223
.quad L_.str.224
.quad L_.str.225
.quad L_.str.226
.quad L_.str.135
.quad L_.str.227
.quad L_.str.228
.quad L_.str.229
.quad L_.str.230
.quad L_.str.231
.quad L_.str.140
.quad L_.str.232
.quad L_.str.233
.quad L_.str.234
.quad L_.str.235
.quad L_.str.236
.quad L_.str.116
.quad L_.str.237
.quad L_.str.238
.quad L_.str.239
.quad L_.str.240
.quad L_.str.241
.quad L_.str.122
.quad L_.str.242
.quad L_.str.243
.quad L_.str.244
.quad L_.str.245
.quad L_.str.246
.quad L_.str.247
.quad L_.str.248
.quad L_.str.249
.quad L_.str.250
.quad L_.str.251
.quad L_.str.252
.quad L_.str.253
.quad L_.str.254
.quad L_.str.201
.quad L_.str.255
.quad L_.str.256
.quad L_.str.257
.quad L_.str.258
.quad L_.str.259
.quad L_.str.201
.quad L_.str.260
.quad L_.str.261
.quad L_.str.262
.quad L_.str.263
.quad L_.str.111
.quad L_.str.112
.quad L_.str.212
.quad L_.str.201
.quad L_.str.264
.quad L_.str.265
.quad L_.str.117
.quad L_.str.118
.quad L_.str.217
.quad L_.str.201
.quad L_.str.266
.quad L_.str.267
.quad L_.str.201
.quad L_.str.124
.quad L_.str.222
.quad L_.str.204
.quad L_.str.268
.quad L_.str.206
.quad L_.str.201
.quad L_.str.130
.quad L_.str.227
.quad L_.str.209
.quad L_.str.269
.quad L_.str.211
.quad L_.str.135
.quad L_.str.136
.quad L_.str.201
.quad L_.str.189
.quad L_.str.270
.quad L_.str.194
.quad L_.str.201
.quad L_.str.141
.quad L_.str.201
.quad L_.str.195
.quad L_.str.271
.quad L_.str.200
.quad L_.str.135
.quad L_.str.146
.quad L_.str.201
.quad L_.str.235
.quad L_.str.272
.quad L_.str.273
.quad L_.str.151
.quad L_.str.152
.quad L_.str.201
.quad L_.str.240
.quad L_.str.274
.quad L_.str.201
.quad L_.str.157
.quad L_.str.158
.quad L_.str.189
.quad L_.str.245
.quad L_.str.275
.quad L_.str.264
.quad L_.str.162
.quad L_.str.163
.quad L_.str.195
.quad L_.str.251
.quad L_.str.265
.quad L_.str.266
.quad L_.str.167
.quad L_.str.168
.quad L_.str.209
.quad L_.str.256
.quad L_.str.267
.quad L_.str.268
.quad L_.str.173
.quad L_.str.174
.quad L_.str.204
.quad L_.str.261
.quad L_.str.273
.quad L_.str.269
.quad L_.str.276
.quad L_.str.180
.quad L_.str.201
.quad L_.str.277
.quad L_.str.162
.quad L_.str.194
.quad L_.str.278
.quad L_.str.185
.quad L_.str.201
.quad L_.str.279
.quad L_.str.167
.quad L_.str.200
.quad L_.str.140
.quad L_.str.190
.quad L_.str.201
.quad L_.str.280
.quad L_.str.173
.quad L_.str.211
.quad L_.str.145
.quad L_.str.196
.quad L_.str.201
.quad L_.str.281
.quad L_.str.157
.quad L_.str.206
.quad L_.str.140
.quad L_.str.111
.quad L_.str.123
.quad L_.str.201
.quad L_.str.151
.quad L_.str.282
.quad L_.str.184
.quad L_.str.117
.quad L_.str.129
.quad L_.str.201
.quad L_.str.283
.quad L_.str.284
.quad L_.str.111
.quad L_.str.123
.quad L_.str.157
.quad L_.str.201
.quad L_.str.201
.quad L_.str.285
.quad L_.str.117
.quad L_.str.129
.quad L_.str.162
.quad L_.str.201
.quad L_.str.201
.quad L_.str.286
.quad L_.str.232
.quad L_.str.201
.quad L_.str.167
.quad L_.str.235
.quad L_.str.236
.quad L_.str.287
.quad L_.str.237
.quad L_.str.135
.quad L_.str.173
.quad L_.str.240
.quad L_.str.241
.quad L_.str.288
.quad L_.str.242
.quad L_.str.140
.quad L_.str.212
.quad L_.str.245
.quad L_.str.246
.quad L_.str.289
.quad L_.str.248
.quad L_.str.145
.quad L_.str.217
.quad L_.str.251
.quad L_.str.252
.quad L_.str.272
.quad L_.str.254
.quad L_.str.179
.quad L_.str.222
.quad L_.str.256
.quad L_.str.257
.quad L_.str.201
.quad L_.str.259
.quad L_.str.184
.quad L_.str.227
.quad L_.str.261
.quad L_.str.262
.quad L_.str.201
.p2align 4 ## @gpio_alt_names_2708
_gpio_alt_names_2708:
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.290
.quad L_.str.291
.quad L_.str.201
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.292
.quad L_.str.293
.quad L_.str.201
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.294
.quad L_.str.295
.quad L_.str.201
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.296
.quad L_.str.297
.quad L_.str.201
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.298
.quad L_.str.299
.quad L_.str.257
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.300
.quad L_.str.301
.quad L_.str.246
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.302
.quad L_.str.303
.quad L_.str.241
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.304
.quad L_.str.305
.quad L_.str.201
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.306
.quad L_.str.307
.quad L_.str.201
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.308
.quad L_.str.309
.quad L_.str.201
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.310
.quad L_.str.311
.quad L_.str.201
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.312
.quad L_.str.313
.quad L_.str.201
.quad L_.str.314
.quad L_.str.180
.quad L_.str.181
.quad L_.str.315
.quad L_.str.316
.quad L_.str.262
.quad L_.str.317
.quad L_.str.185
.quad L_.str.186
.quad L_.str.318
.quad L_.str.319
.quad L_.str.252
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.320
.quad L_.str.321
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.322
.quad L_.str.323
.quad L_.str.200
.quad L_.str.324
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.325
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.211
.quad L_.str.212
.quad L_.str.213
.quad L_.str.214
.quad L_.str.170
.quad L_.str.216
.quad L_.str.314
.quad L_.str.217
.quad L_.str.218
.quad L_.str.219
.quad L_.str.176
.quad L_.str.221
.quad L_.str.317
.quad L_.str.222
.quad L_.str.223
.quad L_.str.224
.quad L_.str.326
.quad L_.str.226
.quad L_.str.135
.quad L_.str.227
.quad L_.str.228
.quad L_.str.229
.quad L_.str.160
.quad L_.str.231
.quad L_.str.140
.quad L_.str.232
.quad L_.str.233
.quad L_.str.234
.quad L_.str.235
.quad L_.str.236
.quad L_.str.201
.quad L_.str.237
.quad L_.str.238
.quad L_.str.239
.quad L_.str.240
.quad L_.str.241
.quad L_.str.201
.quad L_.str.242
.quad L_.str.243
.quad L_.str.244
.quad L_.str.245
.quad L_.str.246
.quad L_.str.201
.quad L_.str.248
.quad L_.str.249
.quad L_.str.250
.quad L_.str.251
.quad L_.str.252
.quad L_.str.201
.quad L_.str.254
.quad L_.str.327
.quad L_.str.255
.quad L_.str.256
.quad L_.str.257
.quad L_.str.201
.quad L_.str.259
.quad L_.str.328
.quad L_.str.260
.quad L_.str.261
.quad L_.str.262
.quad L_.str.201
.quad L_.str.111
.quad L_.str.112
.quad L_.str.212
.quad L_.str.324
.quad L_.str.201
.quad L_.str.201
.quad L_.str.117
.quad L_.str.118
.quad L_.str.217
.quad L_.str.325
.quad L_.str.201
.quad L_.str.201
.quad L_.str.327
.quad L_.str.124
.quad L_.str.222
.quad L_.str.204
.quad L_.str.201
.quad L_.str.206
.quad L_.str.324
.quad L_.str.130
.quad L_.str.227
.quad L_.str.209
.quad L_.str.201
.quad L_.str.211
.quad L_.str.135
.quad L_.str.136
.quad L_.str.329
.quad L_.str.189
.quad L_.str.201
.quad L_.str.194
.quad L_.str.325
.quad L_.str.141
.quad L_.str.328
.quad L_.str.195
.quad L_.str.201
.quad L_.str.200
.quad L_.str.135
.quad L_.str.146
.quad L_.str.330
.quad L_.str.235
.quad L_.str.201
.quad L_.str.201
.quad L_.str.151
.quad L_.str.152
.quad L_.str.201
.quad L_.str.240
.quad L_.str.201
.quad L_.str.201
.quad L_.str.157
.quad L_.str.158
.quad L_.str.189
.quad L_.str.245
.quad L_.str.201
.quad L_.str.201
.quad L_.str.162
.quad L_.str.163
.quad L_.str.195
.quad L_.str.251
.quad L_.str.201
.quad L_.str.201
.quad L_.str.167
.quad L_.str.168
.quad L_.str.209
.quad L_.str.256
.quad L_.str.201
.quad L_.str.201
.quad L_.str.173
.quad L_.str.174
.quad L_.str.204
.quad L_.str.261
.quad L_.str.201
.quad L_.str.201
.quad L_.str.314
.quad L_.str.180
.quad L_.str.201
.quad L_.str.277
.quad L_.str.289
.quad L_.str.194
.quad L_.str.317
.quad L_.str.185
.quad L_.str.327
.quad L_.str.279
.quad L_.str.288
.quad L_.str.200
.quad L_.str.140
.quad L_.str.190
.quad L_.str.328
.quad L_.str.280
.quad L_.str.287
.quad L_.str.211
.quad L_.str.145
.quad L_.str.196
.quad L_.str.330
.quad L_.str.281
.quad L_.str.286
.quad L_.str.206
.quad L_.str.140
.quad L_.str.111
.quad L_.str.123
.quad L_.str.327
.quad L_.str.285
.quad L_.str.201
.quad L_.str.317
.quad L_.str.117
.quad L_.str.129
.quad L_.str.328
.quad L_.str.331
.quad L_.str.201
.quad L_.str.111
.quad L_.str.123
.quad L_.str.157
.quad L_.str.201
.quad L_.str.201
.quad L_.str.285
.quad L_.str.117
.quad L_.str.129
.quad L_.str.162
.quad L_.str.201
.quad L_.str.201
.quad L_.str.286
.quad L_.str.232
.quad L_.str.324
.quad L_.str.167
.quad L_.str.235
.quad L_.str.236
.quad L_.str.287
.quad L_.str.237
.quad L_.str.135
.quad L_.str.173
.quad L_.str.240
.quad L_.str.241
.quad L_.str.288
.quad L_.str.242
.quad L_.str.140
.quad L_.str.212
.quad L_.str.245
.quad L_.str.246
.quad L_.str.201
.quad L_.str.248
.quad L_.str.145
.quad L_.str.217
.quad L_.str.251
.quad L_.str.252
.quad L_.str.201
.quad L_.str.254
.quad L_.str.314
.quad L_.str.222
.quad L_.str.256
.quad L_.str.257
.quad L_.str.201
.quad L_.str.259
.quad L_.str.317
.quad L_.str.227
.quad L_.str.261
.quad L_.str.262
.quad L_.str.201
.section __TEXT,__cstring,cstring_literals
L_.str.92: ## @.str.92
.asciz "/dev/gpiomem"
L_.str.94: ## @.str.94
.asciz "/dev/mem"
L_.str.95: ## @.str.95
.asciz "Unable to open /dev/mem: %s\n"
L_.str.96: ## @.str.96
.asciz "mmap (GPIO) failed: %s\n"
L_.str.100: ## @.str.100
.asciz "NONE"
L_.str.101: ## @.str.101
.asciz "DOWN"
L_.str.102: ## @.str.102
.asciz "UP"
L_.str.103: ## @.str.103
.asciz "?"
L_.str.104: ## @.str.104
.asciz " "
L_.str.105: ## @.str.105
.asciz "5"
L_.str.106: ## @.str.106
.asciz "4"
L_.str.107: ## @.str.107
.asciz "0"
L_.str.108: ## @.str.108
.asciz "1"
L_.str.109: ## @.str.109
.asciz "2"
L_.str.110: ## @.str.110
.asciz "3"
L_.str.111: ## @.str.111
.asciz "SDA0"
L_.str.112: ## @.str.112
.asciz "SA5"
L_.str.113: ## @.str.113
.asciz "PCLK"
L_.str.114: ## @.str.114
.asciz "SPI3_CE0_N"
L_.str.115: ## @.str.115
.asciz "TXD2"
L_.str.116: ## @.str.116
.asciz "SDA6"
L_.str.117: ## @.str.117
.asciz "SCL0"
L_.str.118: ## @.str.118
.asciz "SA4"
L_.str.119: ## @.str.119
.asciz "DE"
L_.str.120: ## @.str.120
.asciz "SPI3_MISO"
L_.str.121: ## @.str.121
.asciz "RXD2"
L_.str.122: ## @.str.122
.asciz "SCL6"
L_.str.123: ## @.str.123
.asciz "SDA1"
L_.str.124: ## @.str.124
.asciz "SA3"
L_.str.125: ## @.str.125
.asciz "LCD_VSYNC"
L_.str.126: ## @.str.126
.asciz "SPI3_MOSI"
L_.str.127: ## @.str.127
.asciz "CTS2"
L_.str.128: ## @.str.128
.asciz "SDA3"
L_.str.129: ## @.str.129
.asciz "SCL1"
L_.str.130: ## @.str.130
.asciz "SA2"
L_.str.131: ## @.str.131
.asciz "LCD_HSYNC"
L_.str.132: ## @.str.132
.asciz "SPI3_SCLK"
L_.str.133: ## @.str.133
.asciz "RTS2"
L_.str.134: ## @.str.134
.asciz "SCL3"
L_.str.135: ## @.str.135
.asciz "GPCLK0"
L_.str.136: ## @.str.136
.asciz "SA1"
L_.str.137: ## @.str.137
.asciz "DPI_D0"
L_.str.138: ## @.str.138
.asciz "SPI4_CE0_N"
L_.str.139: ## @.str.139
.asciz "TXD3"
L_.str.140: ## @.str.140
.asciz "GPCLK1"
L_.str.141: ## @.str.141
.asciz "SA0"
L_.str.142: ## @.str.142
.asciz "DPI_D1"
L_.str.143: ## @.str.143
.asciz "SPI4_MISO"
L_.str.144: ## @.str.144
.asciz "RXD3"
L_.str.145: ## @.str.145
.asciz "GPCLK2"
L_.str.146: ## @.str.146
.asciz "SOE_N_SE"
L_.str.147: ## @.str.147
.asciz "DPI_D2"
L_.str.148: ## @.str.148
.asciz "SPI4_MOSI"
L_.str.149: ## @.str.149
.asciz "CTS3"
L_.str.150: ## @.str.150
.asciz "SDA4"
L_.str.151: ## @.str.151
.asciz "SPI0_CE1_N"
L_.str.152: ## @.str.152
.asciz "SWE_N_SRW_N"
L_.str.153: ## @.str.153
.asciz "DPI_D3"
L_.str.154: ## @.str.154
.asciz "SPI4_SCLK"
L_.str.155: ## @.str.155
.asciz "RTS3"
L_.str.156: ## @.str.156
.asciz "SCL4"
L_.str.157: ## @.str.157
.asciz "SPI0_CE0_N"
L_.str.158: ## @.str.158
.asciz "SD0"
L_.str.159: ## @.str.159
.asciz "DPI_D4"
L_.str.160: ## @.str.160
.asciz "I2CSL_CE_N"
L_.str.161: ## @.str.161
.asciz "TXD4"
L_.str.162: ## @.str.162
.asciz "SPI0_MISO"
L_.str.163: ## @.str.163
.asciz "SD1"
L_.str.164: ## @.str.164
.asciz "DPI_D5"
L_.str.165: ## @.str.165
.asciz "I2CSL_SDI_MISO"
L_.str.166: ## @.str.166
.asciz "RXD4"
L_.str.167: ## @.str.167
.asciz "SPI0_MOSI"
L_.str.168: ## @.str.168
.asciz "SD2"
L_.str.169: ## @.str.169
.asciz "DPI_D6"
L_.str.170: ## @.str.170
.asciz "I2CSL_SDA_MOSI"
L_.str.171: ## @.str.171
.asciz "CTS4"
L_.str.172: ## @.str.172
.asciz "SDA5"
L_.str.173: ## @.str.173
.asciz "SPI0_SCLK"
L_.str.174: ## @.str.174
.asciz "SD3"
L_.str.175: ## @.str.175
.asciz "DPI_D7"
L_.str.176: ## @.str.176
.asciz "I2CSL_SCL_SCLK"
L_.str.177: ## @.str.177
.asciz "RTS4"
L_.str.178: ## @.str.178
.asciz "SCL5"
L_.str.179: ## @.str.179
.asciz "PWM0_0"
L_.str.180: ## @.str.180
.asciz "SD4"
L_.str.181: ## @.str.181
.asciz "DPI_D8"
L_.str.182: ## @.str.182
.asciz "SPI5_CE0_N"
L_.str.183: ## @.str.183
.asciz "TXD5"
L_.str.184: ## @.str.184
.asciz "PWM0_1"
L_.str.185: ## @.str.185
.asciz "SD5"
L_.str.186: ## @.str.186
.asciz "DPI_D9"
L_.str.187: ## @.str.187
.asciz "SPI5_MISO"
L_.str.188: ## @.str.188
.asciz "RXD5"
L_.str.189: ## @.str.189
.asciz "TXD0"
L_.str.190: ## @.str.190
.asciz "SD6"
L_.str.191: ## @.str.191
.asciz "DPI_D10"
L_.str.192: ## @.str.192
.asciz "SPI5_MOSI"
L_.str.193: ## @.str.193
.asciz "CTS5"
L_.str.194: ## @.str.194
.asciz "TXD1"
L_.str.195: ## @.str.195
.asciz "RXD0"
L_.str.196: ## @.str.196
.asciz "SD7"
L_.str.197: ## @.str.197
.asciz "DPI_D11"
L_.str.198: ## @.str.198
.asciz "SPI5_SCLK"
L_.str.199: ## @.str.199
.asciz "RTS5"
L_.str.200: ## @.str.200
.asciz "RXD1"
L_.str.201: ## @.str.201
.asciz "-"
L_.str.202: ## @.str.202
.asciz "SD8"
L_.str.203: ## @.str.203
.asciz "DPI_D12"
L_.str.204: ## @.str.204
.asciz "CTS0"
L_.str.205: ## @.str.205
.asciz "SPI1_CE2_N"
L_.str.206: ## @.str.206
.asciz "CTS1"
L_.str.207: ## @.str.207
.asciz "SD9"
L_.str.208: ## @.str.208
.asciz "DPI_D13"
L_.str.209: ## @.str.209
.asciz "RTS0"
L_.str.210: ## @.str.210
.asciz "SPI1_CE1_N"
L_.str.211: ## @.str.211
.asciz "RTS1"
L_.str.212: ## @.str.212
.asciz "PCM_CLK"
L_.str.213: ## @.str.213
.asciz "SD10"
L_.str.214: ## @.str.214
.asciz "DPI_D14"
L_.str.215: ## @.str.215
.asciz "SPI6_CE0_N"
L_.str.216: ## @.str.216
.asciz "SPI1_CE0_N"
L_.str.217: ## @.str.217
.asciz "PCM_FS"
L_.str.218: ## @.str.218
.asciz "SD11"
L_.str.219: ## @.str.219
.asciz "DPI_D15"
L_.str.220: ## @.str.220
.asciz "SPI6_MISO"
L_.str.221: ## @.str.221
.asciz "SPI1_MISO"
L_.str.222: ## @.str.222
.asciz "PCM_DIN"
L_.str.223: ## @.str.223
.asciz "SD12"
L_.str.224: ## @.str.224
.asciz "DPI_D16"
L_.str.225: ## @.str.225
.asciz "SPI6_MOSI"
L_.str.226: ## @.str.226
.asciz "SPI1_MOSI"
L_.str.227: ## @.str.227
.asciz "PCM_DOUT"
L_.str.228: ## @.str.228
.asciz "SD13"
L_.str.229: ## @.str.229
.asciz "DPI_D17"
L_.str.230: ## @.str.230
.asciz "SPI6_SCLK"
L_.str.231: ## @.str.231
.asciz "SPI1_SCLK"
L_.str.232: ## @.str.232
.asciz "SD0_CLK"
L_.str.233: ## @.str.233
.asciz "SD14"
L_.str.234: ## @.str.234
.asciz "DPI_D18"
L_.str.235: ## @.str.235
.asciz "SD1_CLK"
L_.str.236: ## @.str.236
.asciz "ARM_TRST"
L_.str.237: ## @.str.237
.asciz "SD0_CMD"
L_.str.238: ## @.str.238
.asciz "SD15"
L_.str.239: ## @.str.239
.asciz "DPI_D19"
L_.str.240: ## @.str.240
.asciz "SD1_CMD"
L_.str.241: ## @.str.241
.asciz "ARM_RTCK"
L_.str.242: ## @.str.242
.asciz "SD0_DAT0"
L_.str.243: ## @.str.243
.asciz "SD16"
L_.str.244: ## @.str.244
.asciz "DPI_D20"
L_.str.245: ## @.str.245
.asciz "SD1_DAT0"
L_.str.246: ## @.str.246
.asciz "ARM_TDO"
L_.str.247: ## @.str.247
.asciz "SPI3_CE1_N"
L_.str.248: ## @.str.248
.asciz "SD0_DAT1"
L_.str.249: ## @.str.249
.asciz "SD17"
L_.str.250: ## @.str.250
.asciz "DPI_D21"
L_.str.251: ## @.str.251
.asciz "SD1_DAT1"
L_.str.252: ## @.str.252
.asciz "ARM_TCK"
L_.str.253: ## @.str.253
.asciz "SPI4_CE1_N"
L_.str.254: ## @.str.254
.asciz "SD0_DAT2"
L_.str.255: ## @.str.255
.asciz "DPI_D22"
L_.str.256: ## @.str.256
.asciz "SD1_DAT2"
L_.str.257: ## @.str.257
.asciz "ARM_TDI"
L_.str.258: ## @.str.258
.asciz "SPI5_CE1_N"
L_.str.259: ## @.str.259
.asciz "SD0_DAT3"
L_.str.260: ## @.str.260
.asciz "DPI_D23"
L_.str.261: ## @.str.261
.asciz "SD1_DAT3"
L_.str.262: ## @.str.262
.asciz "ARM_TMS"
L_.str.263: ## @.str.263
.asciz "SPI6_CE1_N"
L_.str.264: ## @.str.264
.asciz "MII_A_RX_ERR"
L_.str.265: ## @.str.265
.asciz "RGMII_MDIO"
L_.str.266: ## @.str.266
.asciz "MII_A_TX_ERR"
L_.str.267: ## @.str.267
.asciz "RGMII_MDC"
L_.str.268: ## @.str.268
.asciz "MII_A_CRS"
L_.str.269: ## @.str.269
.asciz "MII_A_COL"
L_.str.270: ## @.str.270
.asciz "SD_CARD_PRES"
L_.str.271: ## @.str.271
.asciz "SD_CARD_WRPROT"
L_.str.272: ## @.str.272
.asciz "SD_CARD_LED"
L_.str.273: ## @.str.273
.asciz "RGMII_IRQ"
L_.str.274: ## @.str.274
.asciz "RGMII_START_STOP"
L_.str.275: ## @.str.275
.asciz "RGMII_RX_OK"
L_.str.276: ## @.str.276
.asciz "PWM1_0"
L_.str.277: ## @.str.277
.asciz "SD1_DAT4"
L_.str.278: ## @.str.278
.asciz "PWM1_1"
L_.str.279: ## @.str.279
.asciz "SD1_DAT5"
L_.str.280: ## @.str.280
.asciz "SD1_DAT6"
L_.str.281: ## @.str.281
.asciz "SD1_DAT7"
L_.str.282: ## @.str.282
.asciz "SD_CARD_VOLT"
L_.str.283: ## @.str.283
.asciz "SPI0_CE2_N"
L_.str.284: ## @.str.284
.asciz "SD_CARD_PWR0"
L_.str.285: ## @.str.285
.asciz "SPI2_CE1_N"
L_.str.286: ## @.str.286
.asciz "SPI2_CE0_N"
L_.str.287: ## @.str.287
.asciz "SPI2_SCLK"
L_.str.288: ## @.str.288
.asciz "SPI2_MOSI"
L_.str.289: ## @.str.289
.asciz "SPI2_MISO"
L_.str.290: ## @.str.290
.asciz "AVEOUT_VCLK"
L_.str.291: ## @.str.291
.asciz "AVEIN_VCLK"
L_.str.292: ## @.str.292
.asciz "AVEOUT_DSYNC"
L_.str.293: ## @.str.293
.asciz "AVEIN_DSYNC"
L_.str.294: ## @.str.294
.asciz "AVEOUT_VSYNC"
L_.str.295: ## @.str.295
.asciz "AVEIN_VSYNC"
L_.str.296: ## @.str.296
.asciz "AVEOUT_HSYNC"
L_.str.297: ## @.str.297
.asciz "AVEIN_HSYNC"
L_.str.298: ## @.str.298
.asciz "AVEOUT_VID0"
L_.str.299: ## @.str.299
.asciz "AVEIN_VID0"
L_.str.300: ## @.str.300
.asciz "AVEOUT_VID1"
L_.str.301: ## @.str.301
.asciz "AVEIN_VID1"
L_.str.302: ## @.str.302
.asciz "AVEOUT_VID2"
L_.str.303: ## @.str.303
.asciz "AVEIN_VID2"
L_.str.304: ## @.str.304
.asciz "AVEOUT_VID3"
L_.str.305: ## @.str.305
.asciz "AVEIN_VID3"
L_.str.306: ## @.str.306
.asciz "AVEOUT_VID4"
L_.str.307: ## @.str.307
.asciz "AVEIN_VID4"
L_.str.308: ## @.str.308
.asciz "AVEOUT_VID5"
L_.str.309: ## @.str.309
.asciz "AVEIN_VID5"
L_.str.310: ## @.str.310
.asciz "AVEOUT_VID6"
L_.str.311: ## @.str.311
.asciz "AVEIN_VID6"
L_.str.312: ## @.str.312
.asciz "AVEOUT_VID7"
L_.str.313: ## @.str.313
.asciz "AVEIN_VID7"
L_.str.314: ## @.str.314
.asciz "PWM0"
L_.str.315: ## @.str.315
.asciz "AVEOUT_VID8"
L_.str.316: ## @.str.316
.asciz "AVEIN_VID8"
L_.str.317: ## @.str.317
.asciz "PWM1"
L_.str.318: ## @.str.318
.asciz "AVEOUT_VID9"
L_.str.319: ## @.str.319
.asciz "AVEIN_VID9"
L_.str.320: ## @.str.320
.asciz "AVEOUT_VID10"
L_.str.321: ## @.str.321
.asciz "AVEIN_VID10"
L_.str.322: ## @.str.322
.asciz "AVEOUT_VID11"
L_.str.323: ## @.str.323
.asciz "AVEIN_VID11"
L_.str.324: ## @.str.324
.asciz "FL0"
L_.str.325: ## @.str.325
.asciz "FL1"
L_.str.326: ## @.str.326
.asciz "I2CSL_MISO"
L_.str.327: ## @.str.327
.asciz "TE0"
L_.str.328: ## @.str.328
.asciz "TE1"
L_.str.329: ## @.str.329
.asciz "RING_OCLK"
L_.str.330: ## @.str.330
.asciz "TE2"
L_.str.331: ## @.str.331
.asciz "SPI2_CE2_N"
L_str: ## @str
.asciz "timer oops!"
L_str.332: ## @str.332
.asciz "Ranges data too short"
L_str.333: ## @str.333
.asciz "ignoring whatever else may be using them (such as Linux drivers) -"
L_str.334: ## @str.334
.asciz "it is designed as a debug tool, only use it if you know what you"
L_str.335: ## @str.335
.asciz "are doing and at your own risk!"
L_str.336: ## @str.336
.asciz "and can be used to set the function, pulls and value of a GPIO."
L_str.337: ## @str.337
.asciz "Use:"
L_str.340: ## @str.340
.asciz "OR"
L_str.341: ## @str.341
.asciz "GPIO is a comma-separated list of pin numbers or ranges (without spaces),"
L_str.342: ## @str.342
.asciz "e.g. 4 or 18-21 or 7,9-11"
L_str.343: ## @str.343
.asciz "or if [GPIO] is specified the alternate funcs just for that specific GPIO."
L_str.344: ## @str.344
.asciz " ip set GPIO as input"
L_str.345: ## @str.345
.asciz " op set GPIO as output"
L_str.346: ## @str.346
.asciz " a0-a5 set GPIO to alternate function alt0-alt5"
L_str.347: ## @str.347
.asciz " pu set GPIO in-pad pull up"
L_str.348: ## @str.348
.asciz " pd set GPIO pin-pad pull down"
L_str.349: ## @str.349
.asciz " pn set GPIO pull none (no pull)"
L_str.350: ## @str.350
.asciz " dh set GPIO to drive to high (1) level (only valid if set to be an output)"
L_str.351: ## @str.351
.asciz " dl set GPIO to drive low (0) level (only valid if set to be an output)"
L_str.352: ## @str.352
.asciz "Examples:"
L_str.353: ## @str.353
.asciz "Can't set pin value, not an output"
L_str.354: ## @str.354
.asciz "BANK2 (GPIO 46 to 53):"
L_str.355: ## @str.355
.asciz "BANK1 (GPIO 28 to 45):"
L_str.356: ## @str.356
.asciz "BANK0 (GPIO 0 to 27):"
L_str.357: ## @str.357
.asciz "Must be root"
L_str.358: ## @str.358
.asciz "GPIO, DEFAULT PULL, ALT0, ALT1, ALT2, ALT3, ALT4, ALT5"
L_str.359: ## @str.359
.asciz "Nothing to set"
L_str.360: ## @str.360
.asciz "Need GPIO number to set"
L_str.361: ## @str.361
.asciz "Too many arguments"
L_str.362: ## @str.362
.asciz "No arguments given - try \"raspi-gpio help\""
.section __TEXT,__const
.p2align 2 ## @switch.table.get_gpio_pull
l_switch.table.get_gpio_pull:
.long 0 ## 0x0
.long 2 ## 0x2
.long 1 ## 0x1
.p2align 3 ## @switch.table.gpio_get
l_switch.table.gpio_get:
.quad 0 ## 0x0
.quad 2 ## 0x2
.quad 1 ## 0x1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_gpio_alts_info ; -- Begin function print_gpio_alts_info
.p2align 2
_print_gpio_alts_info: ; @print_gpio_alts_info
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov x8, x0
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x8, #805306368
movk x8, #12288, lsl #32
lsr x8, x8, x19
mov x9, #65024
movk x9, #53247, lsl #16
movk x9, #4067, lsl #32
lsr x9, x9, x19
Lloh2:
adrp x10, l_.str.2@PAGE
Lloh3:
add x10, x10, l_.str.2@PAGEOFF
Lloh4:
adrp x11, l_.str.3@PAGE
Lloh5:
add x11, x11, l_.str.3@PAGEOFF
tst x9, #0x1
csel x9, x11, x10, eq
Lloh6:
adrp x10, l_.str.1@PAGE
Lloh7:
add x10, x10, l_.str.1@PAGEOFF
tst x8, #0x1
csel x0, x9, x10, eq
bl _printf
add w8, w19, w19, lsl #1
lsl w8, w8, #1
adrp x20, _gpio_alt_names@PAGE
ldr x9, [x20, _gpio_alt_names@PAGEOFF]
sbfiz x21, x8, #3, #32
ldr x8, [x9, x21]
str x8, [sp]
Lloh8:
adrp x19, l_.str.4@PAGE
Lloh9:
add x19, x19, l_.str.4@PAGEOFF
mov x0, x19
bl _printf
ldr x8, [x20, _gpio_alt_names@PAGEOFF]
add x8, x8, x21
ldr x8, [x8, #8]
str x8, [sp]
mov x0, x19
bl _printf
ldr x8, [x20, _gpio_alt_names@PAGEOFF]
add x8, x21, x8
ldr x8, [x8, #16]
str x8, [sp]
mov x0, x19
bl _printf
ldr x8, [x20, _gpio_alt_names@PAGEOFF]
add x8, x21, x8
ldr x8, [x8, #24]
str x8, [sp]
mov x0, x19
bl _printf
ldr x8, [x20, _gpio_alt_names@PAGEOFF]
add x8, x21, x8
ldr x8, [x8, #32]
str x8, [sp]
mov x0, x19
bl _printf
ldr x8, [x20, _gpio_alt_names@PAGEOFF]
add x8, x21, x8
ldr x8, [x8, #40]
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _putchar
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _delay_us ; -- Begin function delay_us
.p2align 2
_delay_us: ; @delay_us
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w8, #19923
movk w8, #4194, lsl #16
umull x8, w0, w8
lsr x8, x8, #38
mov w9, #1000
msub w10, w8, w9, w0
mul w20, w10, w9
neg w21, w8
mov w22, #16960
movk w22, #15, lsl #16
Lloh10:
adrp x19, l_str@PAGE
Lloh11:
add x19, x19, l_str@PAGEOFF
b LBB1_2
LBB1_1: ; in Loop: Header=BB1_2 Depth=1
add w21, w21, #1
cmp w21, #1
b.eq LBB1_4
LBB1_2: ; =>This Inner Loop Header: Depth=1
cmp w21, #0
csel w8, w20, w22, eq
stp xzr, x8, [sp, #16]
stp xzr, xzr, [sp]
add x0, sp, #16
mov x1, sp
bl _nanosleep
ldp x8, x9, [sp]
orr x8, x8, x9
cbz x8, LBB1_1
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
mov x0, x19
bl _puts
b LBB1_1
LBB1_4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _get_hwbase ; -- Begin function get_hwbase
.p2align 2
_get_hwbase: ; @get_hwbase
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh12:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh13:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
stur x8, [x29, #-24]
stur wzr, [x29, #-32]
stur xzr, [x29, #-40]
Lloh15:
adrp x20, l_.str.7@PAGE
Lloh16:
add x20, x20, l_.str.7@PAGEOFF
Lloh17:
adrp x1, l_.str.8@PAGE
Lloh18:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x20
bl _fopen
mov x19, x0
cbz x0, LBB2_12
; %bb.1:
sub x0, x29, #40
mov w1, #1
mov w2, #12
mov x3, x19
bl _fread
cmp x0, #8
b.lo LBB2_13
; %bb.2:
ldurb w8, [x29, #-36]
lsl w11, w8, #24
ldurb w9, [x29, #-35]
bfi w11, w9, #16, #8
ldurb w10, [x29, #-34]
bfi w11, w10, #8, #8
ldurb w13, [x29, #-33]
orr w20, w11, w13
cbnz w20, LBB2_4
; %bb.3:
ldur w11, [x29, #-32]
rev w20, w11
LBB2_4:
ldurb w11, [x29, #-40]
ldurb w12, [x29, #-39]
ldurb w14, [x29, #-38]
ldurb w15, [x29, #-37]
cmp w11, #126
b.ne LBB2_11
; %bb.5:
cbnz w12, LBB2_11
; %bb.6:
cbnz w14, LBB2_11
; %bb.7:
cbnz w15, LBB2_11
; %bb.8:
mov w16, #-33554432
cmp w20, w16
b.eq LBB2_15
; %bb.9:
mov w16, #536870912
cmp w20, w16
b.eq LBB2_15
; %bb.10:
mov w16, #1056964608
cmp w20, w16
b.eq LBB2_15
LBB2_11:
ldurb w16, [x29, #-32]
ldurb w17, [x29, #-31]
ldurb w0, [x29, #-30]
ldurb w1, [x29, #-29]
stp x0, x1, [sp, #80]
stp x16, x17, [sp, #64]
stp x10, x13, [sp, #48]
stp x8, x9, [sp, #32]
stp x14, x15, [sp, #16]
Lloh19:
adrp x0, l_.str.10@PAGE
Lloh20:
add x0, x0, l_.str.10@PAGEOFF
stp x11, x12, [sp]
bl _printf
b LBB2_14
LBB2_12:
str x20, [sp]
Lloh21:
adrp x0, l_.str.9@PAGE
Lloh22:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB2_14
LBB2_13:
Lloh23:
adrp x0, l_str.332@PAGE
Lloh24:
add x0, x0, l_str.332@PAGEOFF
bl _puts
LBB2_14:
mov w20, #0
LBB2_15:
mov x0, x19
bl _fclose
ldur x8, [x29, #-24]
Lloh25:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh26:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_17
; %bb.16:
mov x0, x20
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB2_17:
bl ___stack_chk_fail
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.globl _get_gpio_fsel ; -- Begin function get_gpio_fsel
.p2align 2
_get_gpio_fsel: ; @get_gpio_fsel
.cfi_startproc
; %bb.0:
cmp w0, #53
b.ls LBB3_2
; %bb.1:
mov w0, #-1
ret
LBB3_2:
and w8, w0, #0xff
mov w9, #205
mul w8, w8, w9
lsr w8, w8, #11
mov w9, #10
msub w9, w8, w9, w0
Lloh28:
adrp x10, _gpio_base@PAGE
Lloh29:
ldr x10, [x10, _gpio_base@PAGEOFF]
ldr w8, [x10, w8, uxtw #2]
add w9, w9, w9, lsl #1
lsr w8, w8, w9
and w0, w8, #0x7
ret
.loh AdrpLdr Lloh28, Lloh29
.cfi_endproc
; -- End function
.globl _set_gpio_fsel ; -- Begin function set_gpio_fsel
.p2align 2
_set_gpio_fsel: ; @set_gpio_fsel
.cfi_startproc
; %bb.0:
cmp w0, #53
b.ls LBB4_2
; %bb.1:
mov w0, #-1
ret
LBB4_2:
and w8, w0, #0xff
mov w9, #205
mul w8, w8, w9
lsr w8, w8, #11
mov w9, #10
msub w9, w8, w9, w0
Lloh30:
adrp x10, _gpio_base@PAGE
Lloh31:
ldr x10, [x10, _gpio_base@PAGEOFF]
lsl x8, x8, #2
add x11, x10, x8
add w9, w9, w9, lsl #1
mov w12, #7
lsl w12, w12, w9
adrp x13, _set_gpio_fsel.tmp@PAGE
str x11, [x13, _set_gpio_fsel.tmp@PAGEOFF]
ldr w11, [x10, x8]
bic w11, w11, w12
str w11, [x10, x8]
ldr w11, [x10, x8]
and w12, w1, #0x7
lsl w12, w12, w9
orr w11, w11, w12
str w11, [x10, x8]
ldr w8, [x10, x8]
lsr w8, w8, w9
and w0, w8, #0x7
ret
.loh AdrpLdr Lloh30, Lloh31
.cfi_endproc
; -- End function
.globl _get_gpio_level ; -- Begin function get_gpio_level
.p2align 2
_get_gpio_level: ; @get_gpio_level
.cfi_startproc
; %bb.0:
cmp w0, #53
b.ls LBB5_2
; %bb.1:
mov w0, #-1
ret
LBB5_2:
subs w8, w0, #32
mov w9, #56
mov w10, #52
csel x9, x10, x9, lo
csel w8, w0, w8, lo
Lloh32:
adrp x10, _gpio_base@PAGE
Lloh33:
ldr x10, [x10, _gpio_base@PAGEOFF]
ldr w9, [x10, x9]
lsr w8, w9, w8
and w0, w8, #0x1
ret
.loh AdrpLdr Lloh32, Lloh33
.cfi_endproc
; -- End function
.globl _set_gpio_value ; -- Begin function set_gpio_value
.p2align 2
_set_gpio_value: ; @set_gpio_value
.cfi_startproc
; %bb.0:
cmp w0, #53
b.ls LBB6_2
; %bb.1:
mov w0, #-1
ret
LBB6_2:
mov x8, x0
mov w0, #0
subs w9, w8, #32
csel w8, w8, w9, lo
mov w9, #7
cinc x9, x9, hs
mov w10, #10
cinc x10, x10, hs
cmp w1, #0
csel x9, x10, x9, eq
mov w10, #1
lsl w8, w10, w8
Lloh34:
adrp x10, _gpio_base@PAGE
Lloh35:
ldr x10, [x10, _gpio_base@PAGEOFF]
str w8, [x10, x9, lsl #2]
ret
.loh AdrpLdr Lloh34, Lloh35
.cfi_endproc
; -- End function
.globl _gpio_fsel_to_namestr ; -- Begin function gpio_fsel_to_namestr
.p2align 2
_gpio_fsel_to_namestr: ; @gpio_fsel_to_namestr
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cmp w0, #53
b.ls LBB7_2
; %bb.1:
mov w0, #-1
b LBB7_12
LBB7_2:
mov x19, x2
cmp w1, #6
b.hi LBB7_5
; %bb.3:
mov w8, #5
mov w9, w1
Lloh36:
adrp x10, lJTI7_0@PAGE
Lloh37:
add x10, x10, lJTI7_0@PAGEOFF
adr x11, LBB7_4
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
LBB7_4:
mov w8, #84
strh w8, [x19, #4]
mov w8, #20041
movk w8, #21840, lsl #16
str w8, [x19]
mov w0, #5
b LBB7_12
LBB7_5:
mov w8, #3
b LBB7_11
LBB7_6:
mov w8, #21840
movk w8, #84, lsl #16
stur w8, [x19, #3]
mov w8, #21839
movk w8, #20564, lsl #16
str w8, [x19]
mov w0, #6
b LBB7_12
LBB7_7:
mov w8, #4
b LBB7_11
LBB7_8:
mov w8, #0
b LBB7_11
LBB7_9:
mov w8, #1
b LBB7_11
LBB7_10:
mov w8, #2
LBB7_11:
Lloh38:
adrp x9, _gpio_alt_names@PAGE
Lloh39:
ldr x9, [x9, _gpio_alt_names@PAGEOFF]
mov w10, #6
madd w8, w0, w10, w8
ldr x1, [x9, w8, uxtw #3]
mov x0, x19
bl _stpcpy
sub w0, w0, w19
LBB7_12:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdr Lloh38, Lloh39
.cfi_endproc
.section __TEXT,__const
lJTI7_0:
.byte (LBB7_4-LBB7_4)>>2
.byte (LBB7_6-LBB7_4)>>2
.byte (LBB7_11-LBB7_4)>>2
.byte (LBB7_7-LBB7_4)>>2
.byte (LBB7_8-LBB7_4)>>2
.byte (LBB7_9-LBB7_4)>>2
.byte (LBB7_10-LBB7_4)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _print_raw_gpio_regs ; -- Begin function print_raw_gpio_regs
.p2align 2
_print_raw_gpio_regs: ; @print_raw_gpio_regs
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w25, #0
Lloh40:
adrp x8, _is_2711@PAGE
Lloh41:
ldr w8, [x8, _is_2711@PAGEOFF]
mov w9, #60
mov w10, #39
cmp w8, #0
csel w22, w10, w9, eq
Lloh42:
adrp x23, l_.str.16@PAGE
Lloh43:
add x23, x23, l_.str.16@PAGEOFF
mov w24, #9
Lloh44:
adrp x19, l_.str.15@PAGE
Lloh45:
add x19, x19, l_.str.15@PAGEOFF
mov w26, #228
adrp x27, _gpio_base@PAGE
Lloh46:
adrp x20, l_.str.18@PAGE
Lloh47:
add x20, x20, l_.str.18@PAGEOFF
b LBB8_4
LBB8_1: ; in Loop: Header=BB8_4 Depth=1
stp x24, x23, [sp, #8]
str x26, [sp]
mov x0, x19
bl _printf
ldr x8, [x27, _gpio_base@PAGEOFF]
ldr w28, [x8, #228]
mov w25, #57
LBB8_2: ; in Loop: Header=BB8_4 Depth=1
str x28, [sp]
mov x0, x20
bl _printf
LBB8_3: ; in Loop: Header=BB8_4 Depth=1
add w8, w25, #1
cmp w25, w22
mov x25, x8
b.ge LBB8_9
LBB8_4: ; =>This Inner Loop Header: Depth=1
cmp w25, #40
b.eq LBB8_1
; %bb.5: ; in Loop: Header=BB8_4 Depth=1
ldr x8, [x27, _gpio_base@PAGEOFF]
ldr w28, [x8, w25, sxtw #2]
ands w21, w25, #0x3
b.eq LBB8_8
; %bb.6: ; in Loop: Header=BB8_4 Depth=1
str x28, [sp]
mov x0, x20
bl _printf
cmp w21, #3
b.ne LBB8_3
; %bb.7: ; in Loop: Header=BB8_4 Depth=1
mov w0, #10
bl _putchar
b LBB8_3
LBB8_8: ; in Loop: Header=BB8_4 Depth=1
lsl w8, w25, #2
str x8, [sp]
Lloh48:
adrp x0, l_.str.17@PAGE
Lloh49:
add x0, x0, l_.str.17@PAGEOFF
bl _printf
; kill: def $w28 killed $w28 killed $x28 def $x28
b LBB8_2
LBB8_9:
tst w8, #0x3
b.eq LBB8_11
; %bb.10:
mov w0, #10
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
b _putchar
LBB8_11:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdr Lloh40, Lloh41
.loh AdrpAdd Lloh48, Lloh49
.cfi_endproc
; -- End function
.globl _print_help ; -- Begin function print_help
.p2align 2
_print_help: ; @print_help
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w0, #10
bl _putchar
Lloh50:
adrp x20, l_.str.19@PAGE
Lloh51:
add x20, x20, l_.str.19@PAGEOFF
str x20, [sp]
Lloh52:
adrp x0, l_.str.20@PAGE
Lloh53:
add x0, x0, l_.str.20@PAGEOFF
bl _printf
Lloh54:
adrp x0, l_str.333@PAGE
Lloh55:
add x0, x0, l_str.333@PAGEOFF
bl _puts
Lloh56:
adrp x0, l_str.334@PAGE
Lloh57:
add x0, x0, l_str.334@PAGEOFF
bl _puts
Lloh58:
adrp x0, l_str.335@PAGE
Lloh59:
add x0, x0, l_str.335@PAGEOFF
bl _puts
mov w0, #10
bl _putchar
str x20, [sp]
Lloh60:
adrp x0, l_.str.24@PAGE
Lloh61:
add x0, x0, l_.str.24@PAGEOFF
bl _printf
str x20, [sp]
Lloh62:
adrp x0, l_.str.25@PAGE
Lloh63:
add x0, x0, l_.str.25@PAGEOFF
bl _printf
str x20, [sp]
Lloh64:
adrp x0, l_.str.26@PAGE
Lloh65:
add x0, x0, l_.str.26@PAGEOFF
bl _printf
Lloh66:
adrp x0, l_str.336@PAGE
Lloh67:
add x0, x0, l_str.336@PAGEOFF
bl _puts
str x20, [sp]
Lloh68:
adrp x0, l_.str.28@PAGE
Lloh69:
add x0, x0, l_.str.28@PAGEOFF
bl _printf
Lloh70:
adrp x0, l_str.337@PAGE
Lloh71:
add x0, x0, l_str.337@PAGEOFF
bl _puts
str x20, [sp]
Lloh72:
adrp x0, l_.str.30@PAGE
Lloh73:
add x0, x0, l_.str.30@PAGEOFF
bl _printf
Lloh74:
adrp x19, l_str.340@PAGE
Lloh75:
add x19, x19, l_str.340@PAGEOFF
mov x0, x19
bl _puts
str x20, [sp]
Lloh76:
adrp x0, l_.str.32@PAGE
Lloh77:
add x0, x0, l_.str.32@PAGEOFF
bl _printf
mov x0, x19
bl _puts
str x20, [sp]
Lloh78:
adrp x0, l_.str.33@PAGE
Lloh79:
add x0, x0, l_.str.33@PAGEOFF
bl _printf
mov x0, x19
bl _puts
str x20, [sp]
Lloh80:
adrp x0, l_.str.34@PAGE
Lloh81:
add x0, x0, l_.str.34@PAGEOFF
bl _printf
mov w0, #10
bl _putchar
Lloh82:
adrp x0, l_str.341@PAGE
Lloh83:
add x0, x0, l_str.341@PAGEOFF
bl _puts
Lloh84:
adrp x0, l_str.342@PAGE
Lloh85:
add x0, x0, l_str.342@PAGEOFF
bl _puts
str x20, [sp]
Lloh86:
adrp x0, l_.str.37@PAGE
Lloh87:
add x0, x0, l_.str.37@PAGEOFF
bl _printf
str x20, [sp]
Lloh88:
adrp x0, l_.str.38@PAGE
Lloh89:
add x0, x0, l_.str.38@PAGEOFF
bl _printf
Lloh90:
adrp x0, l_str.343@PAGE
Lloh91:
add x0, x0, l_str.343@PAGEOFF
bl _puts
str x20, [sp]
Lloh92:
adrp x0, l_.str.40@PAGE
Lloh93:
add x0, x0, l_.str.40@PAGEOFF
bl _printf
Lloh94:
adrp x0, l_str.344@PAGE
Lloh95:
add x0, x0, l_str.344@PAGEOFF
bl _puts
Lloh96:
adrp x0, l_str.345@PAGE
Lloh97:
add x0, x0, l_str.345@PAGEOFF
bl _puts
Lloh98:
adrp x0, l_str.346@PAGE
Lloh99:
add x0, x0, l_str.346@PAGEOFF
bl _puts
Lloh100:
adrp x0, l_str.347@PAGE
Lloh101:
add x0, x0, l_str.347@PAGEOFF
bl _puts
Lloh102:
adrp x0, l_str.348@PAGE
Lloh103:
add x0, x0, l_str.348@PAGEOFF
bl _puts
Lloh104:
adrp x0, l_str.349@PAGE
Lloh105:
add x0, x0, l_str.349@PAGEOFF
bl _puts
Lloh106:
adrp x0, l_str.350@PAGE
Lloh107:
add x0, x0, l_str.350@PAGEOFF
bl _puts
Lloh108:
adrp x0, l_str.351@PAGE
Lloh109:
add x0, x0, l_str.351@PAGEOFF
bl _puts
Lloh110:
adrp x0, l_str.352@PAGE
Lloh111:
add x0, x0, l_str.352@PAGEOFF
bl _puts
str x20, [sp]
Lloh112:
adrp x0, l_.str.50@PAGE
Lloh113:
add x0, x0, l_.str.50@PAGEOFF
bl _printf
str x20, [sp]
Lloh114:
adrp x0, l_.str.51@PAGE
Lloh115:
add x0, x0, l_.str.51@PAGEOFF
bl _printf
str x20, [sp]
Lloh116:
adrp x0, l_.str.52@PAGE
Lloh117:
add x0, x0, l_.str.52@PAGEOFF
bl _printf
str x20, [sp]
Lloh118:
adrp x0, l_.str.53@PAGE
Lloh119:
add x0, x0, l_.str.53@PAGEOFF
bl _printf
str x20, [sp]
Lloh120:
adrp x0, l_.str.54@PAGE
Lloh121:
add x0, x0, l_.str.54@PAGEOFF
bl _printf
str x20, [sp]
Lloh122:
adrp x0, l_.str.55@PAGE
Lloh123:
add x0, x0, l_.str.55@PAGEOFF
bl _printf
str x20, [sp]
Lloh124:
adrp x0, l_.str.56@PAGE
Lloh125:
add x0, x0, l_.str.56@PAGEOFF
bl _printf
str x20, [sp]
Lloh126:
adrp x0, l_.str.57@PAGE
Lloh127:
add x0, x0, l_.str.57@PAGEOFF
bl _printf
str x20, [sp]
Lloh128:
adrp x0, l_.str.58@PAGE
Lloh129:
add x0, x0, l_.str.58@PAGEOFF
bl _printf
str x20, [sp]
Lloh130:
adrp x0, l_.str.59@PAGE
Lloh131:
add x0, x0, l_.str.59@PAGEOFF
bl _printf
str x20, [sp]
Lloh132:
adrp x0, l_.str.60@PAGE
Lloh133:
add x0, x0, l_.str.60@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpAdd Lloh126, Lloh127
.loh AdrpAdd Lloh124, Lloh125
.loh AdrpAdd Lloh122, Lloh123
.loh AdrpAdd Lloh120, Lloh121
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpAdd Lloh116, Lloh117
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function gpio_set_pull
lCPI10_0:
.quad 0 ; 0x0
.quad 10000 ; 0x2710
.section __TEXT,__text,regular,pure_instructions
.globl _gpio_set_pull
.p2align 2
_gpio_set_pull: ; @gpio_set_pull
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x8, x0
mov w0, #-1
cmp w8, #53
b.hi LBB10_15
; %bb.1:
cmp w1, #2
b.hi LBB10_15
; %bb.2:
Lloh134:
adrp x9, _is_2711@PAGE
Lloh135:
ldr w9, [x9, _is_2711@PAGEOFF]
cbz w9, LBB10_5
; %bb.3:
cmp w1, #2
b.hi LBB10_14
; %bb.4:
mov w0, #0
ubfiz w9, w8, #1, #4
lsr w8, w8, #4
add w8, w8, #57
Lloh136:
adrp x10, l_switch.table.get_gpio_pull@PAGE
Lloh137:
add x10, x10, l_switch.table.get_gpio_pull@PAGEOFF
ldr w10, [x10, w1, sxtw #2]
Lloh138:
adrp x11, _gpio_base@PAGE
Lloh139:
ldr x11, [x11, _gpio_base@PAGEOFF]
lsl x8, x8, #2
ldr w12, [x11, x8]
mov w13, #3
lsl w13, w13, w9
bic w12, w12, w13
lsl w9, w10, w9
orr w9, w12, w9
str w9, [x11, x8]
b LBB10_15
LBB10_5:
lsr w20, w8, #5
and w21, w8, #0x1f
adrp x19, _gpio_base@PAGE
ldr x8, [x19, _gpio_base@PAGEOFF]
str w1, [x8, #148]
Lloh140:
adrp x8, lCPI10_0@PAGE
Lloh141:
ldr q0, [x8, lCPI10_0@PAGEOFF]
str q0, [sp] ; 16-byte Folded Spill
str q0, [sp, #32]
stp xzr, xzr, [sp, #16]
add x0, sp, #32
add x1, sp, #16
bl _nanosleep
ldp x8, x9, [sp, #16]
orr x8, x8, x9
cbz x8, LBB10_7
; %bb.6:
Lloh142:
adrp x0, l_str@PAGE
Lloh143:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB10_7:
add w20, w20, #38
ldr x8, [x19, _gpio_base@PAGEOFF]
mov w9, #1
lsl w9, w9, w21
str w9, [x8, w20, uxtw #2]
ldr q0, [sp] ; 16-byte Folded Reload
str q0, [sp, #32]
stp xzr, xzr, [sp, #16]
add x0, sp, #32
add x1, sp, #16
bl _nanosleep
ldp x8, x9, [sp, #16]
orr x8, x8, x9
cbz x8, LBB10_9
; %bb.8:
Lloh144:
adrp x0, l_str@PAGE
Lloh145:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB10_9:
ldr x8, [x19, _gpio_base@PAGEOFF]
str wzr, [x8, #148]
ldr q0, [sp] ; 16-byte Folded Reload
str q0, [sp, #32]
stp xzr, xzr, [sp, #16]
add x0, sp, #32
add x1, sp, #16
bl _nanosleep
ldp x8, x9, [sp, #16]
orr x8, x8, x9
cbz x8, LBB10_11
; %bb.10:
Lloh146:
adrp x0, l_str@PAGE
Lloh147:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB10_11:
ldr x8, [x19, _gpio_base@PAGEOFF]
str wzr, [x8, x20, lsl #2]
ldr q0, [sp] ; 16-byte Folded Reload
str q0, [sp, #32]
stp xzr, xzr, [sp, #16]
add x0, sp, #32
add x1, sp, #16
bl _nanosleep
ldp x8, x9, [sp, #16]
orr x8, x8, x9
cbz x8, LBB10_13
; %bb.12:
Lloh148:
adrp x0, l_str@PAGE
Lloh149:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB10_13:
mov w0, #0
b LBB10_15
LBB10_14:
mov w0, #1
LBB10_15:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdr Lloh134, Lloh135
.loh AdrpLdr Lloh138, Lloh139
.loh AdrpAdd Lloh136, Lloh137
.loh AdrpLdr Lloh140, Lloh141
.loh AdrpAdd Lloh142, Lloh143
.loh AdrpAdd Lloh144, Lloh145
.loh AdrpAdd Lloh146, Lloh147
.loh AdrpAdd Lloh148, Lloh149
.cfi_endproc
; -- End function
.globl _get_gpio_pull ; -- Begin function get_gpio_pull
.p2align 2
_get_gpio_pull: ; @get_gpio_pull
.cfi_startproc
; %bb.0:
Lloh150:
adrp x8, _is_2711@PAGE
Lloh151:
ldr w8, [x8, _is_2711@PAGEOFF]
cbz w8, LBB11_2
; %bb.1:
Lloh152:
adrp x8, _gpio_base@PAGE
Lloh153:
ldr x8, [x8, _gpio_base@PAGEOFF]
asr w9, w0, #4
add x8, x8, w9, sxtw #2
ldr w8, [x8, #228]
lsl w9, w0, #1
and x9, x9, #0x1e
lsr x8, x8, x9
and x8, x8, #0x3
cmp w8, #3
b.ne LBB11_3
LBB11_2:
mov w0, #-1
ret
LBB11_3:
Lloh154:
adrp x9, l_switch.table.get_gpio_pull@PAGE
Lloh155:
add x9, x9, l_switch.table.get_gpio_pull@PAGEOFF
ldr w0, [x9, x8, lsl #2]
ret
.loh AdrpLdr Lloh150, Lloh151
.loh AdrpLdr Lloh152, Lloh153
.loh AdrpAdd Lloh154, Lloh155
.cfi_endproc
; -- End function
.globl _gpio_get ; -- Begin function gpio_get
.p2align 2
_gpio_get: ; @gpio_get
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w27, -56
.cfi_offset w28, -64
sub sp, sp, #592
mov x19, x0
Lloh156:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh157:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh158:
ldr x8, [x8]
stur x8, [x29, #-56]
adrp x21, _gpio_base@PAGE
cmp w0, #53
b.ls LBB12_2
; %bb.1:
mov w20, #-1
mov w22, #-1
b LBB12_13
LBB12_2:
and w8, w19, #0xff
mov w9, #205
mul w8, w8, w9
lsr w8, w8, #11
mov w9, #10
msub w9, w8, w9, w19
ldr x10, [x21, _gpio_base@PAGEOFF]
ldr w8, [x10, w8, uxtw #2]
add w9, w9, w9, lsl #1
lsr w8, w8, w9
and w20, w8, #0x7
cmp w20, #6
b.hi LBB12_5
; %bb.3:
mov w8, #5
Lloh159:
adrp x9, lJTI12_0@PAGE
Lloh160:
add x9, x9, lJTI12_0@PAGEOFF
adr x10, LBB12_4
ldrb w11, [x9, x20]
add x10, x10, x11, lsl #2
br x10
LBB12_4:
Lloh161:
adrp x3, l_.str.12@PAGE
Lloh162:
add x3, x3, l_.str.12@PAGEOFF
b LBB12_12
LBB12_5:
mov w8, #3
b LBB12_11
LBB12_6:
Lloh163:
adrp x3, l_.str.13@PAGE
Lloh164:
add x3, x3, l_.str.13@PAGEOFF
b LBB12_12
LBB12_7:
mov w8, #4
b LBB12_11
LBB12_8:
mov w8, #0
b LBB12_11
LBB12_9:
mov w8, #1
b LBB12_11
LBB12_10:
mov w8, #2
LBB12_11:
Lloh165:
adrp x9, _gpio_alt_names@PAGE
Lloh166:
ldr x9, [x9, _gpio_alt_names@PAGEOFF]
mov w10, #6
madd w8, w19, w10, w8
ldr x8, [x9, w8, uxtw #3]
str x8, [sp]
Lloh167:
adrp x3, l_.str.14@PAGE
Lloh168:
add x3, x3, l_.str.14@PAGEOFF
LBB12_12:
add x0, sp, #72
mov w1, #0
mov w2, #512
bl ___sprintf_chk
subs w8, w19, #32
mov w9, #56
mov w10, #52
csel x9, x10, x9, lo
csel w8, w19, w8, lo
ldr x10, [x21, _gpio_base@PAGEOFF]
ldr w9, [x10, x9]
lsr w8, w9, w8
and w22, w8, #0x1
LBB12_13:
strb wzr, [sp, #60]
Lloh169:
adrp x8, _is_2711@PAGE
Lloh170:
ldr w8, [x8, _is_2711@PAGEOFF]
cbz w8, LBB12_16
; %bb.14:
ldr x8, [x21, _gpio_base@PAGEOFF]
asr w9, w19, #4
add x8, x8, w9, sxtw #2
ldr w8, [x8, #228]
lsl w9, w19, #1
and x9, x9, #0x1e
lsr x8, x8, x9
and x8, x8, #0x3
cmp w8, #3
b.eq LBB12_16
; %bb.15:
Lloh171:
adrp x9, l_switch.table.gpio_get@PAGE
Lloh172:
add x9, x9, l_switch.table.gpio_get@PAGEOFF
ldr x8, [x9, x8, lsl #3]
Lloh173:
adrp x9, _gpio_pull_names@PAGE
Lloh174:
add x9, x9, _gpio_pull_names@PAGEOFF
ldr x8, [x9, x8, lsl #3]
str x8, [sp]
Lloh175:
adrp x3, l_.str.61@PAGE
Lloh176:
add x3, x3, l_.str.61@PAGEOFF
add x0, sp, #60
mov w1, #0
mov w2, #12
bl ___sprintf_chk
LBB12_16:
cmp w20, #1
b.gt LBB12_18
; %bb.17:
add x8, sp, #60
str x8, [sp, #32]
add x8, sp, #72
; kill: def $w20 killed $w20 killed $x20 def $x20
stp x20, x8, [sp, #16]
stp x19, x22, [sp]
Lloh177:
adrp x0, l_.str.62@PAGE
Lloh178:
add x0, x0, l_.str.62@PAGEOFF
b LBB12_19
LBB12_18:
Lloh179:
adrp x8, _gpio_fsel_alts@PAGE
Lloh180:
add x8, x8, _gpio_fsel_alts@PAGEOFF
ldr x8, [x8, w20, uxtw #3]
add x9, sp, #60
add x10, sp, #72
stp x10, x9, [sp, #32]
; kill: def $w20 killed $w20 killed $x20 def $x20
stp x20, x8, [sp, #16]
; kill: def $w22 killed $w22 killed $x22 def $x22
; kill: def $w19 killed $w19 killed $x19 def $x19
stp x19, x22, [sp]
Lloh181:
adrp x0, l_.str.63@PAGE
Lloh182:
add x0, x0, l_.str.63@PAGEOFF
LBB12_19:
bl _printf
ldur x8, [x29, #-56]
Lloh183:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh184:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh185:
ldr x9, [x9]
cmp x9, x8
b.ne LBB12_21
; %bb.20:
mov w0, #0
add sp, sp, #592
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #64 ; 16-byte Folded Reload
ret
LBB12_21:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh156, Lloh157, Lloh158
.loh AdrpAdd Lloh159, Lloh160
.loh AdrpAdd Lloh161, Lloh162
.loh AdrpAdd Lloh163, Lloh164
.loh AdrpAdd Lloh167, Lloh168
.loh AdrpLdr Lloh165, Lloh166
.loh AdrpLdr Lloh169, Lloh170
.loh AdrpAdd Lloh175, Lloh176
.loh AdrpAdd Lloh173, Lloh174
.loh AdrpAdd Lloh171, Lloh172
.loh AdrpAdd Lloh177, Lloh178
.loh AdrpAdd Lloh181, Lloh182
.loh AdrpAdd Lloh179, Lloh180
.loh AdrpLdrGotLdr Lloh183, Lloh184, Lloh185
.cfi_endproc
.section __TEXT,__const
lJTI12_0:
.byte (LBB12_4-LBB12_4)>>2
.byte (LBB12_6-LBB12_4)>>2
.byte (LBB12_11-LBB12_4)>>2
.byte (LBB12_7-LBB12_4)>>2
.byte (LBB12_8-LBB12_4)>>2
.byte (LBB12_9-LBB12_4)>>2
.byte (LBB12_10-LBB12_4)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _gpio_set ; -- Begin function gpio_set
.p2align 2
_gpio_set: ; @gpio_set
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
cmp w0, #53
b.hi LBB13_3
; %bb.1:
cmn w1, #1
b.eq LBB13_3
; %bb.2:
and w8, w0, #0xff
mov w9, #205
mul w8, w8, w9
lsr w8, w8, #11
mov w9, #10
msub w9, w8, w9, w0
Lloh186:
adrp x10, _gpio_base@PAGE
Lloh187:
ldr x10, [x10, _gpio_base@PAGEOFF]
lsl x8, x8, #2
add x11, x10, x8
add w9, w9, w9, lsl #1
mov w12, #7
lsl w12, w12, w9
adrp x13, _set_gpio_fsel.tmp@PAGE
str x11, [x13, _set_gpio_fsel.tmp@PAGEOFF]
ldr w11, [x10, x8]
bic w11, w11, w12
str w11, [x10, x8]
ldr w11, [x10, x8]
and w12, w1, #0x7
lsl w9, w12, w9
orr w9, w11, w9
str w9, [x10, x8]
ldr wzr, [x10, x8]
LBB13_3:
cmn w2, #1
b.eq LBB13_7
; %bb.4:
cmp w0, #53
b.hi LBB13_9
; %bb.5:
and w8, w0, #0xff
mov w9, #205
mul w8, w8, w9
lsr w9, w8, #11
mov w8, #10
msub w10, w9, w8, w0
Lloh188:
adrp x8, _gpio_base@PAGE
Lloh189:
ldr x8, [x8, _gpio_base@PAGEOFF]
ldr w9, [x8, w9, uxtw #2]
add w10, w10, w10, lsl #1
lsr w9, w9, w10
and w9, w9, #0x7
cmp w9, #1
b.ne LBB13_9
; %bb.6:
subs w9, w0, #32
csel w9, w0, w9, lo
mov w10, #7
cinc x10, x10, hs
mov w11, #10
cinc x11, x11, hs
cmp w2, #0
csel x10, x11, x10, eq
mov w11, #1
lsl w9, w11, w9
str w9, [x8, x10, lsl #2]
LBB13_7:
cmn w3, #1
b.eq LBB13_10
; %bb.8:
mov x1, x3
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _gpio_set_pull
LBB13_9:
Lloh190:
adrp x0, l_str.353@PAGE
Lloh191:
add x0, x0, l_str.353@PAGEOFF
bl _puts
mov w0, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB13_10:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdr Lloh186, Lloh187
.loh AdrpLdr Lloh188, Lloh189
.loh AdrpAdd Lloh190, Lloh191
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str xzr, [sp, #40]
cmp w0, #1
b.gt LBB14_2
; %bb.1:
Lloh192:
adrp x0, l_str.362@PAGE
Lloh193:
add x0, x0, l_str.362@PAGEOFF
bl _puts
b LBB14_9
LBB14_2:
mov x22, x1
mov x23, x0
ldr x25, [x1, #8]
Lloh194:
adrp x1, l_.str.66@PAGE
Lloh195:
add x1, x1, l_.str.66@PAGEOFF
mov x0, x25
bl _strcmp
cbz w0, LBB14_8
; %bb.3:
Lloh196:
adrp x1, l_.str.67@PAGE
Lloh197:
add x1, x1, l_.str.67@PAGEOFF
mov x0, x25
bl _strcmp
mov x19, x0
Lloh198:
adrp x1, l_.str.68@PAGE
Lloh199:
add x1, x1, l_.str.68@PAGEOFF
mov x0, x25
bl _strcmp
mov x24, x0
Lloh200:
adrp x1, l_.str.69@PAGE
Lloh201:
add x1, x1, l_.str.69@PAGEOFF
mov x0, x25
bl _strcmp
mov x21, x0
Lloh202:
adrp x1, l_.str.70@PAGE
Lloh203:
add x1, x1, l_.str.70@PAGEOFF
mov x0, x25
bl _strcmp
mov x20, x0
cmp w24, #0
ccmp w19, #0, #4, ne
cset w27, eq
b.eq LBB14_11
; %bb.4:
cbz w21, LBB14_11
; %bb.5:
cbz w20, LBB14_11
; %bb.6:
str x25, [sp]
Lloh204:
adrp x0, l_.str.71@PAGE
Lloh205:
add x0, x0, l_.str.71@PAGEOFF
LBB14_7:
bl _printf
mov w0, #1
b LBB14_10
LBB14_8:
bl _print_help
LBB14_9:
mov w0, #0
LBB14_10:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB14_11:
cmp w19, #0
ccmp w21, #0, #4, ne
cset w8, eq
cmp w23, #4
b.lo LBB14_14
; %bb.12:
cbz w8, LBB14_14
; %bb.13:
Lloh206:
adrp x0, l_str.361@PAGE
Lloh207:
add x0, x0, l_str.361@PAGEOFF
b LBB14_17
LBB14_14:
cmp w23, #2
b.hi LBB14_18
; %bb.15:
cbnz w24, LBB14_18
; %bb.16:
Lloh208:
adrp x0, l_str.360@PAGE
Lloh209:
add x0, x0, l_str.360@PAGEOFF
LBB14_17:
bl _puts
mov w0, #1
b LBB14_10
LBB14_18:
cmp w23, #3
b.lo LBB14_40
; %bb.19:
ldr x25, [x22, #16]
cbz x25, LBB14_71
; %bb.20:
add x8, sp, #28
add x9, sp, #36
stp x9, x8, [sp]
Lloh210:
adrp x1, l_.str.74@PAGE
Lloh211:
add x1, x1, l_.str.74@PAGEOFF
mov x0, x25
bl _sscanf
cmp w0, #1
b.ne LBB14_74
; %bb.21:
ldr w8, [sp, #36]
tbnz w8, #31, LBB14_74
; %bb.22:
cmp w8, #53
b.gt LBB14_74
; %bb.23:
mov w28, #1
add x26, sp, #40
LBB14_24: ; =>This Loop Header: Depth=1
; Child Loop BB14_34 Depth 2
ldrsw x9, [sp, #28]
add x25, x25, x9
ldrb w9, [x25]
cmp w9, #45
b.ne LBB14_30
; %bb.25: ; in Loop: Header=BB14_24 Depth=1
add x25, x25, #1
add x8, sp, #28
str x8, [sp, #8]
add x8, sp, #32
str x8, [sp]
mov x0, x25
Lloh212:
adrp x1, l_.str.74@PAGE
Lloh213:
add x1, x1, l_.str.74@PAGEOFF
bl _sscanf
cmp w0, #1
b.ne LBB14_74
; %bb.26: ; in Loop: Header=BB14_24 Depth=1
ldr w10, [sp, #32]
tbnz w10, #31, LBB14_74
; %bb.27: ; in Loop: Header=BB14_24 Depth=1
cmp w10, #53
b.gt LBB14_74
; %bb.28: ; in Loop: Header=BB14_24 Depth=1
ldr w8, [sp, #36]
cmp w10, w8
b.ge LBB14_31
; %bb.29: ; in Loop: Header=BB14_24 Depth=1
stp w8, w10, [sp, #32]
mov x9, x10
b LBB14_32
LBB14_30: ; in Loop: Header=BB14_24 Depth=1
str w8, [sp, #32]
mov x9, x8
b LBB14_33
LBB14_31: ; in Loop: Header=BB14_24 Depth=1
mov x9, x8
mov x8, x10
LBB14_32: ; in Loop: Header=BB14_24 Depth=1
ldrsw x10, [sp, #28]
add x25, x25, x10
cmp w9, w8
b.gt LBB14_36
LBB14_33: ; in Loop: Header=BB14_24 Depth=1
add w8, w8, #1
LBB14_34: ; Parent Loop BB14_24 Depth=1
; => This Inner Loop Header: Depth=2
add w10, w9, #31
cmp w9, #0
csel w10, w10, w9, lt
asr w10, w10, #5
sbfiz x10, x10, #2, #32
ldr w11, [x26, x10]
lsl w12, w28, w9
orr w11, w11, w12
str w11, [x26, x10]
add w9, w9, #1
cmp w8, w9
b.ne LBB14_34
; %bb.35: ; in Loop: Header=BB14_24 Depth=1
str w8, [sp, #36]
LBB14_36: ; in Loop: Header=BB14_24 Depth=1
ldrb w8, [x25]
cmp w8, #44
b.ne LBB14_70
; %bb.37: ; in Loop: Header=BB14_24 Depth=1
add x25, x25, #1
add x8, sp, #28
str x8, [sp, #8]
add x8, sp, #36
str x8, [sp]
mov x0, x25
Lloh214:
adrp x1, l_.str.74@PAGE
Lloh215:
add x1, x1, l_.str.74@PAGEOFF
bl _sscanf
cmp w0, #1
b.ne LBB14_74
; %bb.38: ; in Loop: Header=BB14_24 Depth=1
ldr w8, [sp, #36]
tbnz w8, #31, LBB14_74
; %bb.39: ; in Loop: Header=BB14_24 Depth=1
cmp w8, #54
b.lt LBB14_24
b LBB14_74
LBB14_40:
cbz w24, LBB14_73
LBB14_41:
mov w8, #-1
str w8, [sp, #24] ; 4-byte Folded Spill
mov w23, #-1
mov w22, #-1
LBB14_42:
ldp w8, w9, [sp, #40]
orr w24, w9, w8
bl _get_hwbase
mov x25, x0
cbz w21, LBB14_61
; %bb.43:
Lloh216:
adrp x0, l_.str.92@PAGE
Lloh217:
add x0, x0, l_.str.92@PAGEOFF
mov w1, #130
movk w1, #256, lsl #16
bl _open
tbnz w0, #31, LBB14_66
; %bb.44:
mov x4, x0
mov x0, #0
mov w1, #4096
mov w2, #3
mov w3, #1
mov x5, #0
LBB14_45:
bl _mmap
adrp x8, _gpio_base@PAGE
str x0, [x8, _gpio_base@PAGEOFF]
cmn x0, #1
b.eq LBB14_104
; %bb.46:
ldr w8, [x0, #240]
mov w9, #26991
movk w9, #26480, lsl #16
cmp w8, w9
cset w8, ne
Lloh218:
adrp x9, _gpio_alt_names_2708@PAGE
Lloh219:
add x9, x9, _gpio_alt_names_2708@PAGEOFF
adrp x10, _is_2711@PAGE
str w8, [x10, _is_2711@PAGEOFF]
Lloh220:
adrp x8, _gpio_alt_names_2711@PAGE
Lloh221:
add x8, x8, _gpio_alt_names_2711@PAGEOFF
csel x8, x8, x9, ne
adrp x9, _gpio_alt_names@PAGE
str x8, [x9, _gpio_alt_names@PAGEOFF]
cbz w27, LBB14_68
; %bb.47:
mov w21, #0
Lloh222:
adrp x25, l_str.356@PAGE
Lloh223:
add x25, x25, l_str.356@PAGEOFF
Lloh224:
adrp x26, l_str.354@PAGE
Lloh225:
add x26, x26, l_str.354@PAGEOFF
add x27, sp, #40
Lloh226:
adrp x28, l_str.355@PAGE
Lloh227:
add x28, x28, l_str.355@PAGEOFF
b LBB14_50
LBB14_48: ; in Loop: Header=BB14_50 Depth=1
bl _gpio_get
LBB14_49: ; in Loop: Header=BB14_50 Depth=1
add w21, w21, #1
cmp w21, #54
b.eq LBB14_68
LBB14_50: ; =>This Inner Loop Header: Depth=1
cbz w24, LBB14_52
; %bb.51: ; in Loop: Header=BB14_50 Depth=1
lsr w8, w21, #5
ldr w8, [x27, w8, uxtw #2]
lsr w8, w8, w21
tbnz w8, #0, LBB14_59
b LBB14_49
LBB14_52: ; in Loop: Header=BB14_50 Depth=1
cbz w21, LBB14_56
; %bb.53: ; in Loop: Header=BB14_50 Depth=1
cmp w21, #46
b.eq LBB14_57
; %bb.54: ; in Loop: Header=BB14_50 Depth=1
cmp w21, #28
b.ne LBB14_59
; %bb.55: ; in Loop: Header=BB14_50 Depth=1
mov x0, x28
b LBB14_58
LBB14_56: ; in Loop: Header=BB14_50 Depth=1
mov x0, x25
b LBB14_58
LBB14_57: ; in Loop: Header=BB14_50 Depth=1
mov x0, x26
LBB14_58: ; in Loop: Header=BB14_50 Depth=1
bl _puts
LBB14_59: ; in Loop: Header=BB14_50 Depth=1
mov x0, x21
cbz w19, LBB14_48
; %bb.60: ; in Loop: Header=BB14_50 Depth=1
mov x1, x23
mov x2, x22
ldr w3, [sp, #24] ; 4-byte Folded Reload
bl _gpio_set
cbz w0, LBB14_49
b LBB14_108
LBB14_61:
mov w8, #-33554432
cmp w25, w8
cset w8, eq
Lloh228:
adrp x9, _gpio_alt_names_2708@PAGE
Lloh229:
add x9, x9, _gpio_alt_names_2708@PAGEOFF
adrp x10, _is_2711@PAGE
str w8, [x10, _is_2711@PAGEOFF]
Lloh230:
adrp x8, _gpio_alt_names_2711@PAGE
Lloh231:
add x8, x8, _gpio_alt_names_2711@PAGEOFF
csel x8, x8, x9, eq
adrp x9, _gpio_alt_names@PAGE
str x8, [x9, _gpio_alt_names@PAGEOFF]
Lloh232:
adrp x0, l_str.358@PAGE
Lloh233:
add x0, x0, l_str.358@PAGEOFF
bl _puts
mov w19, #0
add x20, sp, #40
b LBB14_64
LBB14_62: ; in Loop: Header=BB14_64 Depth=1
mov x0, x19
bl _print_gpio_alts_info
LBB14_63: ; in Loop: Header=BB14_64 Depth=1
mov w0, #0
add w19, w19, #1
cmp w19, #54
b.eq LBB14_10
LBB14_64: ; =>This Inner Loop Header: Depth=1
cbz w24, LBB14_62
; %bb.65: ; in Loop: Header=BB14_64 Depth=1
lsr w8, w19, #5
ldr w8, [x20, w8, uxtw #2]
lsr w8, w8, w19
tbnz w8, #0, LBB14_62
b LBB14_63
LBB14_66:
bl _geteuid
cbz w0, LBB14_105
; %bb.67:
Lloh234:
adrp x0, l_str.357@PAGE
Lloh235:
add x0, x0, l_str.357@PAGEOFF
bl _puts
b LBB14_9
LBB14_68:
cbnz w20, LBB14_9
; %bb.69:
bl _print_raw_gpio_regs
b LBB14_9
LBB14_70:
cbnz w8, LBB14_74
LBB14_71:
cmp w23, #3
b.gt LBB14_75
; %bb.72:
cbnz w24, LBB14_75
LBB14_73:
Lloh236:
adrp x0, l_str.359@PAGE
Lloh237:
add x0, x0, l_str.359@PAGEOFF
bl _puts
b LBB14_9
LBB14_74:
str x25, [sp]
Lloh238:
adrp x0, l_.str.75@PAGE
Lloh239:
add x0, x0, l_.str.75@PAGEOFF
b LBB14_7
LBB14_75:
cmp w23, #4
b.lt LBB14_41
; %bb.76:
mov w8, w23
add x26, x22, #24
sub x24, x8, #3
mov w22, #-1
Lloh240:
adrp x25, l_.str.77@PAGE
Lloh241:
add x25, x25, l_.str.77@PAGEOFF
mov w23, #-1
mov w8, #-1
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB14_79
LBB14_77: ; in Loop: Header=BB14_79 Depth=1
mov w22, #1
LBB14_78: ; in Loop: Header=BB14_79 Depth=1
add x26, x26, #8
subs x24, x24, #1
b.eq LBB14_42
LBB14_79: ; =>This Inner Loop Header: Depth=1
ldr x28, [x26]
mov x0, x28
mov x1, x25
bl _strcmp
cbz w0, LBB14_77
; %bb.80: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh242:
adrp x1, l_.str.78@PAGE
Lloh243:
add x1, x1, l_.str.78@PAGEOFF
bl _strcmp
cbz w0, LBB14_93
; %bb.81: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh244:
adrp x1, l_.str.79@PAGE
Lloh245:
add x1, x1, l_.str.79@PAGEOFF
bl _strcmp
cbz w0, LBB14_94
; %bb.82: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh246:
adrp x1, l_.str.80@PAGE
Lloh247:
add x1, x1, l_.str.80@PAGEOFF
bl _strcmp
cbz w0, LBB14_95
; %bb.83: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh248:
adrp x1, l_.str.81@PAGE
Lloh249:
add x1, x1, l_.str.81@PAGEOFF
bl _strcmp
cbz w0, LBB14_96
; %bb.84: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh250:
adrp x1, l_.str.82@PAGE
Lloh251:
add x1, x1, l_.str.82@PAGEOFF
bl _strcmp
cbz w0, LBB14_97
; %bb.85: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh252:
adrp x1, l_.str.83@PAGE
Lloh253:
add x1, x1, l_.str.83@PAGEOFF
bl _strcmp
cbz w0, LBB14_98
; %bb.86: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh254:
adrp x1, l_.str.84@PAGE
Lloh255:
add x1, x1, l_.str.84@PAGEOFF
bl _strcmp
cbz w0, LBB14_99
; %bb.87: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh256:
adrp x1, l_.str.85@PAGE
Lloh257:
add x1, x1, l_.str.85@PAGEOFF
bl _strcmp
cbz w0, LBB14_100
; %bb.88: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh258:
adrp x1, l_.str.86@PAGE
Lloh259:
add x1, x1, l_.str.86@PAGEOFF
bl _strcmp
cbz w0, LBB14_101
; %bb.89: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh260:
adrp x1, l_.str.87@PAGE
Lloh261:
add x1, x1, l_.str.87@PAGEOFF
bl _strcmp
cbz w0, LBB14_102
; %bb.90: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh262:
adrp x1, l_.str.88@PAGE
Lloh263:
add x1, x1, l_.str.88@PAGEOFF
bl _strcmp
cbz w0, LBB14_103
; %bb.91: ; in Loop: Header=BB14_79 Depth=1
mov x0, x28
Lloh264:
adrp x1, l_.str.89@PAGE
Lloh265:
add x1, x1, l_.str.89@PAGEOFF
bl _strcmp
cbnz w0, LBB14_110
; %bb.92: ; in Loop: Header=BB14_79 Depth=1
str wzr, [sp, #24] ; 4-byte Folded Spill
b LBB14_78
LBB14_93: ; in Loop: Header=BB14_79 Depth=1
mov w22, #0
b LBB14_78
LBB14_94: ; in Loop: Header=BB14_79 Depth=1
mov w23, #0
b LBB14_78
LBB14_95: ; in Loop: Header=BB14_79 Depth=1
mov w23, #1
b LBB14_78
LBB14_96: ; in Loop: Header=BB14_79 Depth=1
mov w23, #4
b LBB14_78
LBB14_97: ; in Loop: Header=BB14_79 Depth=1
mov w23, #5
b LBB14_78
LBB14_98: ; in Loop: Header=BB14_79 Depth=1
mov w23, #6
b LBB14_78
LBB14_99: ; in Loop: Header=BB14_79 Depth=1
mov w23, #7
b LBB14_78
LBB14_100: ; in Loop: Header=BB14_79 Depth=1
mov w23, #3
b LBB14_78
LBB14_101: ; in Loop: Header=BB14_79 Depth=1
mov w23, #2
b LBB14_78
LBB14_102: ; in Loop: Header=BB14_79 Depth=1
mov w8, #2
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB14_78
LBB14_103: ; in Loop: Header=BB14_79 Depth=1
mov w8, #1
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB14_78
LBB14_104:
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh266:
adrp x0, l_.str.96@PAGE
Lloh267:
add x0, x0, l_.str.96@PAGEOFF
b LBB14_7
LBB14_105:
cbz w25, LBB14_108
; %bb.106:
Lloh268:
adrp x0, l_.str.94@PAGE
Lloh269:
add x0, x0, l_.str.94@PAGEOFF
mov w1, #130
movk w1, #256, lsl #16
bl _open
tbnz w0, #31, LBB14_109
; %bb.107:
mov x4, x0
add w5, w25, #512, lsl #12 ; =2097152
mov x0, #0
mov w1, #4096
mov w2, #3
mov w3, #1
b LBB14_45
LBB14_108:
mov w0, #1
b LBB14_10
LBB14_109:
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh270:
adrp x0, l_.str.95@PAGE
Lloh271:
add x0, x0, l_.str.95@PAGEOFF
b LBB14_7
LBB14_110:
str x28, [sp]
Lloh272:
adrp x0, l_.str.90@PAGE
Lloh273:
add x0, x0, l_.str.90@PAGEOFF
b LBB14_7
.loh AdrpAdd Lloh192, Lloh193
.loh AdrpAdd Lloh194, Lloh195
.loh AdrpAdd Lloh202, Lloh203
.loh AdrpAdd Lloh200, Lloh201
.loh AdrpAdd Lloh198, Lloh199
.loh AdrpAdd Lloh196, Lloh197
.loh AdrpAdd Lloh204, Lloh205
.loh AdrpAdd Lloh206, Lloh207
.loh AdrpAdd Lloh208, Lloh209
.loh AdrpAdd Lloh210, Lloh211
.loh AdrpAdd Lloh212, Lloh213
.loh AdrpAdd Lloh214, Lloh215
.loh AdrpAdd Lloh216, Lloh217
.loh AdrpAdd Lloh220, Lloh221
.loh AdrpAdd Lloh218, Lloh219
.loh AdrpAdd Lloh226, Lloh227
.loh AdrpAdd Lloh224, Lloh225
.loh AdrpAdd Lloh222, Lloh223
.loh AdrpAdd Lloh232, Lloh233
.loh AdrpAdd Lloh230, Lloh231
.loh AdrpAdd Lloh228, Lloh229
.loh AdrpAdd Lloh234, Lloh235
.loh AdrpAdd Lloh236, Lloh237
.loh AdrpAdd Lloh238, Lloh239
.loh AdrpAdd Lloh240, Lloh241
.loh AdrpAdd Lloh242, Lloh243
.loh AdrpAdd Lloh244, Lloh245
.loh AdrpAdd Lloh246, Lloh247
.loh AdrpAdd Lloh248, Lloh249
.loh AdrpAdd Lloh250, Lloh251
.loh AdrpAdd Lloh252, Lloh253
.loh AdrpAdd Lloh254, Lloh255
.loh AdrpAdd Lloh256, Lloh257
.loh AdrpAdd Lloh258, Lloh259
.loh AdrpAdd Lloh260, Lloh261
.loh AdrpAdd Lloh262, Lloh263
.loh AdrpAdd Lloh264, Lloh265
.loh AdrpAdd Lloh266, Lloh267
.loh AdrpAdd Lloh268, Lloh269
.loh AdrpAdd Lloh270, Lloh271
.loh AdrpAdd Lloh272, Lloh273
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz ", NONE"
l_.str.2: ; @.str.2
.asciz ", DOWN"
l_.str.3: ; @.str.3
.asciz ", UP"
l_.str.4: ; @.str.4
.asciz ", %s"
.zerofill __DATA,__bss,_gpio_alt_names,8,3 ; @gpio_alt_names
l_.str.7: ; @.str.7
.asciz "/proc/device-tree/soc/ranges"
l_.str.8: ; @.str.8
.asciz "rb"
l_.str.9: ; @.str.9
.asciz "Can't open '%s'\n"
l_.str.10: ; @.str.10
.asciz "Unexpected ranges data (%02x%02x%02x%02x %02x%02x%02x%02x %02x%02x%02x%02x)\n"
.zerofill __DATA,__bss,_gpio_base,8,3 ; @gpio_base
.zerofill __DATA,__bss,_set_gpio_fsel.tmp,8,3 ; @set_gpio_fsel.tmp
l_.str.12: ; @.str.12
.asciz "INPUT"
l_.str.13: ; @.str.13
.asciz "OUTPUT"
l_.str.14: ; @.str.14
.asciz "%s"
.zerofill __DATA,__bss,_is_2711,4,2 ; @is_2711
l_.str.15: ; @.str.15
.asciz "%02x:%*s"
l_.str.16: ; @.str.16
.space 1
l_.str.17: ; @.str.17
.asciz "%02x:"
l_.str.18: ; @.str.18
.asciz " %08x"
l_.str.19: ; @.str.19
.asciz "raspi-gpio"
l_.str.20: ; @.str.20
.asciz "WARNING! %s set writes directly to the GPIO control registers\n"
l_.str.24: ; @.str.24
.asciz "The %s tool is designed to help hack / debug BCM283x GPIO.\n"
l_.str.25: ; @.str.25
.asciz "Running %s with the help argument prints this help.\n"
l_.str.26: ; @.str.26
.asciz "%s can get and print the state of a GPIO (or all GPIOs)\n"
l_.str.28: ; @.str.28
.asciz "%s must be run as root.\n"
l_.str.30: ; @.str.30
.asciz " %s get [GPIO]\n"
l_.str.32: ; @.str.32
.asciz " %s set <GPIO> [options]\n"
l_.str.33: ; @.str.33
.asciz " %s funcs [GPIO]\n"
l_.str.34: ; @.str.34
.asciz " %s raw\n"
l_.str.37: ; @.str.37
.asciz "Note that omitting [GPIO] from %s get prints all GPIOs.\n"
l_.str.38: ; @.str.38
.asciz "%s funcs will dump all the possible GPIO alt funcions in CSV format\n"
l_.str.40: ; @.str.40
.asciz "Valid [options] for %s set are:\n"
l_.str.50: ; @.str.50
.asciz " %s get Prints state of all GPIOs one per line\n"
l_.str.51: ; @.str.51
.asciz " %s get 20 Prints state of GPIO20\n"
l_.str.52: ; @.str.52
.asciz " %s get 20,21 Prints state of GPIO20 and GPIO21\n"
l_.str.53: ; @.str.53
.asciz " %s set 20 a5 Set GPIO20 to ALT5 function (GPCLK0)\n"
l_.str.54: ; @.str.54
.asciz " %s set 20 pu Enable GPIO20 ~50k in-pad pull up\n"
l_.str.55: ; @.str.55
.asciz " %s set 20 pd Enable GPIO20 ~50k in-pad pull down\n"
l_.str.56: ; @.str.56
.asciz " %s set 20 op Set GPIO20 to be an output\n"
l_.str.57: ; @.str.57
.asciz " %s set 20 dl Set GPIO20 to output low/zero (must already be set as an output)\n"
l_.str.58: ; @.str.58
.asciz " %s set 20 ip pd Set GPIO20 to input with pull down\n"
l_.str.59: ; @.str.59
.asciz " %s set 35 a0 pu Set GPIO35 to ALT0 function (SPI_CE1_N) with pull up\n"
l_.str.60: ; @.str.60
.asciz " %s set 20 op pn dh Set GPIO20 to ouput with no pull and driving high\n"
l_.str.61: ; @.str.61
.asciz " pull=%s"
.section __DATA,__const
.p2align 3 ; @gpio_pull_names
_gpio_pull_names:
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.section __TEXT,__cstring,cstring_literals
l_.str.62: ; @.str.62
.asciz "GPIO %d: level=%d fsel=%d func=%s%s\n"
l_.str.63: ; @.str.63
.asciz "GPIO %d: level=%d fsel=%d alt=%s func=%s%s\n"
.section __DATA,__const
.p2align 3 ; @gpio_fsel_alts
_gpio_fsel_alts:
.quad l_.str.104
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.section __TEXT,__cstring,cstring_literals
l_.str.66: ; @.str.66
.asciz "help"
l_.str.67: ; @.str.67
.asciz "get"
l_.str.68: ; @.str.68
.asciz "set"
l_.str.69: ; @.str.69
.asciz "funcs"
l_.str.70: ; @.str.70
.asciz "raw"
l_.str.71: ; @.str.71
.asciz "Unknown argument \"%s\" try \"raspi-gpio help\"\n"
l_.str.74: ; @.str.74
.asciz "%d%n"
l_.str.75: ; @.str.75
.asciz "Unknown GPIO \"%s\"\n"
l_.str.77: ; @.str.77
.asciz "dh"
l_.str.78: ; @.str.78
.asciz "dl"
l_.str.79: ; @.str.79
.asciz "ip"
l_.str.80: ; @.str.80
.asciz "op"
l_.str.81: ; @.str.81
.asciz "a0"
l_.str.82: ; @.str.82
.asciz "a1"
l_.str.83: ; @.str.83
.asciz "a2"
l_.str.84: ; @.str.84
.asciz "a3"
l_.str.85: ; @.str.85
.asciz "a4"
l_.str.86: ; @.str.86
.asciz "a5"
l_.str.87: ; @.str.87
.asciz "pu"
l_.str.88: ; @.str.88
.asciz "pd"
l_.str.89: ; @.str.89
.asciz "pn"
l_.str.90: ; @.str.90
.asciz "Unknown argument \"%s\"\n"
.section __DATA,__data
.p2align 3 ; @gpio_alt_names_2711
_gpio_alt_names_2711:
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.128
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.134
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.150
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.165
.quad l_.str.166
.quad l_.str.156
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.172
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.178
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.201
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.211
.quad l_.str.212
.quad l_.str.213
.quad l_.str.214
.quad l_.str.215
.quad l_.str.216
.quad l_.str.179
.quad l_.str.217
.quad l_.str.218
.quad l_.str.219
.quad l_.str.220
.quad l_.str.221
.quad l_.str.184
.quad l_.str.222
.quad l_.str.223
.quad l_.str.224
.quad l_.str.225
.quad l_.str.226
.quad l_.str.135
.quad l_.str.227
.quad l_.str.228
.quad l_.str.229
.quad l_.str.230
.quad l_.str.231
.quad l_.str.140
.quad l_.str.232
.quad l_.str.233
.quad l_.str.234
.quad l_.str.235
.quad l_.str.236
.quad l_.str.116
.quad l_.str.237
.quad l_.str.238
.quad l_.str.239
.quad l_.str.240
.quad l_.str.241
.quad l_.str.122
.quad l_.str.242
.quad l_.str.243
.quad l_.str.244
.quad l_.str.245
.quad l_.str.246
.quad l_.str.247
.quad l_.str.248
.quad l_.str.249
.quad l_.str.250
.quad l_.str.251
.quad l_.str.252
.quad l_.str.253
.quad l_.str.254
.quad l_.str.201
.quad l_.str.255
.quad l_.str.256
.quad l_.str.257
.quad l_.str.258
.quad l_.str.259
.quad l_.str.201
.quad l_.str.260
.quad l_.str.261
.quad l_.str.262
.quad l_.str.263
.quad l_.str.111
.quad l_.str.112
.quad l_.str.212
.quad l_.str.201
.quad l_.str.264
.quad l_.str.265
.quad l_.str.117
.quad l_.str.118
.quad l_.str.217
.quad l_.str.201
.quad l_.str.266
.quad l_.str.267
.quad l_.str.201
.quad l_.str.124
.quad l_.str.222
.quad l_.str.204
.quad l_.str.268
.quad l_.str.206
.quad l_.str.201
.quad l_.str.130
.quad l_.str.227
.quad l_.str.209
.quad l_.str.269
.quad l_.str.211
.quad l_.str.135
.quad l_.str.136
.quad l_.str.201
.quad l_.str.189
.quad l_.str.270
.quad l_.str.194
.quad l_.str.201
.quad l_.str.141
.quad l_.str.201
.quad l_.str.195
.quad l_.str.271
.quad l_.str.200
.quad l_.str.135
.quad l_.str.146
.quad l_.str.201
.quad l_.str.235
.quad l_.str.272
.quad l_.str.273
.quad l_.str.151
.quad l_.str.152
.quad l_.str.201
.quad l_.str.240
.quad l_.str.274
.quad l_.str.201
.quad l_.str.157
.quad l_.str.158
.quad l_.str.189
.quad l_.str.245
.quad l_.str.275
.quad l_.str.264
.quad l_.str.162
.quad l_.str.163
.quad l_.str.195
.quad l_.str.251
.quad l_.str.265
.quad l_.str.266
.quad l_.str.167
.quad l_.str.168
.quad l_.str.209
.quad l_.str.256
.quad l_.str.267
.quad l_.str.268
.quad l_.str.173
.quad l_.str.174
.quad l_.str.204
.quad l_.str.261
.quad l_.str.273
.quad l_.str.269
.quad l_.str.276
.quad l_.str.180
.quad l_.str.201
.quad l_.str.277
.quad l_.str.162
.quad l_.str.194
.quad l_.str.278
.quad l_.str.185
.quad l_.str.201
.quad l_.str.279
.quad l_.str.167
.quad l_.str.200
.quad l_.str.140
.quad l_.str.190
.quad l_.str.201
.quad l_.str.280
.quad l_.str.173
.quad l_.str.211
.quad l_.str.145
.quad l_.str.196
.quad l_.str.201
.quad l_.str.281
.quad l_.str.157
.quad l_.str.206
.quad l_.str.140
.quad l_.str.111
.quad l_.str.123
.quad l_.str.201
.quad l_.str.151
.quad l_.str.282
.quad l_.str.184
.quad l_.str.117
.quad l_.str.129
.quad l_.str.201
.quad l_.str.283
.quad l_.str.284
.quad l_.str.111
.quad l_.str.123
.quad l_.str.157
.quad l_.str.201
.quad l_.str.201
.quad l_.str.285
.quad l_.str.117
.quad l_.str.129
.quad l_.str.162
.quad l_.str.201
.quad l_.str.201
.quad l_.str.286
.quad l_.str.232
.quad l_.str.201
.quad l_.str.167
.quad l_.str.235
.quad l_.str.236
.quad l_.str.287
.quad l_.str.237
.quad l_.str.135
.quad l_.str.173
.quad l_.str.240
.quad l_.str.241
.quad l_.str.288
.quad l_.str.242
.quad l_.str.140
.quad l_.str.212
.quad l_.str.245
.quad l_.str.246
.quad l_.str.289
.quad l_.str.248
.quad l_.str.145
.quad l_.str.217
.quad l_.str.251
.quad l_.str.252
.quad l_.str.272
.quad l_.str.254
.quad l_.str.179
.quad l_.str.222
.quad l_.str.256
.quad l_.str.257
.quad l_.str.201
.quad l_.str.259
.quad l_.str.184
.quad l_.str.227
.quad l_.str.261
.quad l_.str.262
.quad l_.str.201
.p2align 3 ; @gpio_alt_names_2708
_gpio_alt_names_2708:
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.290
.quad l_.str.291
.quad l_.str.201
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.292
.quad l_.str.293
.quad l_.str.201
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.294
.quad l_.str.295
.quad l_.str.201
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.296
.quad l_.str.297
.quad l_.str.201
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.298
.quad l_.str.299
.quad l_.str.257
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.300
.quad l_.str.301
.quad l_.str.246
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.302
.quad l_.str.303
.quad l_.str.241
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.304
.quad l_.str.305
.quad l_.str.201
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.306
.quad l_.str.307
.quad l_.str.201
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.308
.quad l_.str.309
.quad l_.str.201
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.310
.quad l_.str.311
.quad l_.str.201
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.312
.quad l_.str.313
.quad l_.str.201
.quad l_.str.314
.quad l_.str.180
.quad l_.str.181
.quad l_.str.315
.quad l_.str.316
.quad l_.str.262
.quad l_.str.317
.quad l_.str.185
.quad l_.str.186
.quad l_.str.318
.quad l_.str.319
.quad l_.str.252
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.320
.quad l_.str.321
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.322
.quad l_.str.323
.quad l_.str.200
.quad l_.str.324
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.325
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.211
.quad l_.str.212
.quad l_.str.213
.quad l_.str.214
.quad l_.str.170
.quad l_.str.216
.quad l_.str.314
.quad l_.str.217
.quad l_.str.218
.quad l_.str.219
.quad l_.str.176
.quad l_.str.221
.quad l_.str.317
.quad l_.str.222
.quad l_.str.223
.quad l_.str.224
.quad l_.str.326
.quad l_.str.226
.quad l_.str.135
.quad l_.str.227
.quad l_.str.228
.quad l_.str.229
.quad l_.str.160
.quad l_.str.231
.quad l_.str.140
.quad l_.str.232
.quad l_.str.233
.quad l_.str.234
.quad l_.str.235
.quad l_.str.236
.quad l_.str.201
.quad l_.str.237
.quad l_.str.238
.quad l_.str.239
.quad l_.str.240
.quad l_.str.241
.quad l_.str.201
.quad l_.str.242
.quad l_.str.243
.quad l_.str.244
.quad l_.str.245
.quad l_.str.246
.quad l_.str.201
.quad l_.str.248
.quad l_.str.249
.quad l_.str.250
.quad l_.str.251
.quad l_.str.252
.quad l_.str.201
.quad l_.str.254
.quad l_.str.327
.quad l_.str.255
.quad l_.str.256
.quad l_.str.257
.quad l_.str.201
.quad l_.str.259
.quad l_.str.328
.quad l_.str.260
.quad l_.str.261
.quad l_.str.262
.quad l_.str.201
.quad l_.str.111
.quad l_.str.112
.quad l_.str.212
.quad l_.str.324
.quad l_.str.201
.quad l_.str.201
.quad l_.str.117
.quad l_.str.118
.quad l_.str.217
.quad l_.str.325
.quad l_.str.201
.quad l_.str.201
.quad l_.str.327
.quad l_.str.124
.quad l_.str.222
.quad l_.str.204
.quad l_.str.201
.quad l_.str.206
.quad l_.str.324
.quad l_.str.130
.quad l_.str.227
.quad l_.str.209
.quad l_.str.201
.quad l_.str.211
.quad l_.str.135
.quad l_.str.136
.quad l_.str.329
.quad l_.str.189
.quad l_.str.201
.quad l_.str.194
.quad l_.str.325
.quad l_.str.141
.quad l_.str.328
.quad l_.str.195
.quad l_.str.201
.quad l_.str.200
.quad l_.str.135
.quad l_.str.146
.quad l_.str.330
.quad l_.str.235
.quad l_.str.201
.quad l_.str.201
.quad l_.str.151
.quad l_.str.152
.quad l_.str.201
.quad l_.str.240
.quad l_.str.201
.quad l_.str.201
.quad l_.str.157
.quad l_.str.158
.quad l_.str.189
.quad l_.str.245
.quad l_.str.201
.quad l_.str.201
.quad l_.str.162
.quad l_.str.163
.quad l_.str.195
.quad l_.str.251
.quad l_.str.201
.quad l_.str.201
.quad l_.str.167
.quad l_.str.168
.quad l_.str.209
.quad l_.str.256
.quad l_.str.201
.quad l_.str.201
.quad l_.str.173
.quad l_.str.174
.quad l_.str.204
.quad l_.str.261
.quad l_.str.201
.quad l_.str.201
.quad l_.str.314
.quad l_.str.180
.quad l_.str.201
.quad l_.str.277
.quad l_.str.289
.quad l_.str.194
.quad l_.str.317
.quad l_.str.185
.quad l_.str.327
.quad l_.str.279
.quad l_.str.288
.quad l_.str.200
.quad l_.str.140
.quad l_.str.190
.quad l_.str.328
.quad l_.str.280
.quad l_.str.287
.quad l_.str.211
.quad l_.str.145
.quad l_.str.196
.quad l_.str.330
.quad l_.str.281
.quad l_.str.286
.quad l_.str.206
.quad l_.str.140
.quad l_.str.111
.quad l_.str.123
.quad l_.str.327
.quad l_.str.285
.quad l_.str.201
.quad l_.str.317
.quad l_.str.117
.quad l_.str.129
.quad l_.str.328
.quad l_.str.331
.quad l_.str.201
.quad l_.str.111
.quad l_.str.123
.quad l_.str.157
.quad l_.str.201
.quad l_.str.201
.quad l_.str.285
.quad l_.str.117
.quad l_.str.129
.quad l_.str.162
.quad l_.str.201
.quad l_.str.201
.quad l_.str.286
.quad l_.str.232
.quad l_.str.324
.quad l_.str.167
.quad l_.str.235
.quad l_.str.236
.quad l_.str.287
.quad l_.str.237
.quad l_.str.135
.quad l_.str.173
.quad l_.str.240
.quad l_.str.241
.quad l_.str.288
.quad l_.str.242
.quad l_.str.140
.quad l_.str.212
.quad l_.str.245
.quad l_.str.246
.quad l_.str.201
.quad l_.str.248
.quad l_.str.145
.quad l_.str.217
.quad l_.str.251
.quad l_.str.252
.quad l_.str.201
.quad l_.str.254
.quad l_.str.314
.quad l_.str.222
.quad l_.str.256
.quad l_.str.257
.quad l_.str.201
.quad l_.str.259
.quad l_.str.317
.quad l_.str.227
.quad l_.str.261
.quad l_.str.262
.quad l_.str.201
.section __TEXT,__cstring,cstring_literals
l_.str.92: ; @.str.92
.asciz "/dev/gpiomem"
l_.str.94: ; @.str.94
.asciz "/dev/mem"
l_.str.95: ; @.str.95
.asciz "Unable to open /dev/mem: %s\n"
l_.str.96: ; @.str.96
.asciz "mmap (GPIO) failed: %s\n"
l_.str.100: ; @.str.100
.asciz "NONE"
l_.str.101: ; @.str.101
.asciz "DOWN"
l_.str.102: ; @.str.102
.asciz "UP"
l_.str.103: ; @.str.103
.asciz "?"
l_.str.104: ; @.str.104
.asciz " "
l_.str.105: ; @.str.105
.asciz "5"
l_.str.106: ; @.str.106
.asciz "4"
l_.str.107: ; @.str.107
.asciz "0"
l_.str.108: ; @.str.108
.asciz "1"
l_.str.109: ; @.str.109
.asciz "2"
l_.str.110: ; @.str.110
.asciz "3"
l_.str.111: ; @.str.111
.asciz "SDA0"
l_.str.112: ; @.str.112
.asciz "SA5"
l_.str.113: ; @.str.113
.asciz "PCLK"
l_.str.114: ; @.str.114
.asciz "SPI3_CE0_N"
l_.str.115: ; @.str.115
.asciz "TXD2"
l_.str.116: ; @.str.116
.asciz "SDA6"
l_.str.117: ; @.str.117
.asciz "SCL0"
l_.str.118: ; @.str.118
.asciz "SA4"
l_.str.119: ; @.str.119
.asciz "DE"
l_.str.120: ; @.str.120
.asciz "SPI3_MISO"
l_.str.121: ; @.str.121
.asciz "RXD2"
l_.str.122: ; @.str.122
.asciz "SCL6"
l_.str.123: ; @.str.123
.asciz "SDA1"
l_.str.124: ; @.str.124
.asciz "SA3"
l_.str.125: ; @.str.125
.asciz "LCD_VSYNC"
l_.str.126: ; @.str.126
.asciz "SPI3_MOSI"
l_.str.127: ; @.str.127
.asciz "CTS2"
l_.str.128: ; @.str.128
.asciz "SDA3"
l_.str.129: ; @.str.129
.asciz "SCL1"
l_.str.130: ; @.str.130
.asciz "SA2"
l_.str.131: ; @.str.131
.asciz "LCD_HSYNC"
l_.str.132: ; @.str.132
.asciz "SPI3_SCLK"
l_.str.133: ; @.str.133
.asciz "RTS2"
l_.str.134: ; @.str.134
.asciz "SCL3"
l_.str.135: ; @.str.135
.asciz "GPCLK0"
l_.str.136: ; @.str.136
.asciz "SA1"
l_.str.137: ; @.str.137
.asciz "DPI_D0"
l_.str.138: ; @.str.138
.asciz "SPI4_CE0_N"
l_.str.139: ; @.str.139
.asciz "TXD3"
l_.str.140: ; @.str.140
.asciz "GPCLK1"
l_.str.141: ; @.str.141
.asciz "SA0"
l_.str.142: ; @.str.142
.asciz "DPI_D1"
l_.str.143: ; @.str.143
.asciz "SPI4_MISO"
l_.str.144: ; @.str.144
.asciz "RXD3"
l_.str.145: ; @.str.145
.asciz "GPCLK2"
l_.str.146: ; @.str.146
.asciz "SOE_N_SE"
l_.str.147: ; @.str.147
.asciz "DPI_D2"
l_.str.148: ; @.str.148
.asciz "SPI4_MOSI"
l_.str.149: ; @.str.149
.asciz "CTS3"
l_.str.150: ; @.str.150
.asciz "SDA4"
l_.str.151: ; @.str.151
.asciz "SPI0_CE1_N"
l_.str.152: ; @.str.152
.asciz "SWE_N_SRW_N"
l_.str.153: ; @.str.153
.asciz "DPI_D3"
l_.str.154: ; @.str.154
.asciz "SPI4_SCLK"
l_.str.155: ; @.str.155
.asciz "RTS3"
l_.str.156: ; @.str.156
.asciz "SCL4"
l_.str.157: ; @.str.157
.asciz "SPI0_CE0_N"
l_.str.158: ; @.str.158
.asciz "SD0"
l_.str.159: ; @.str.159
.asciz "DPI_D4"
l_.str.160: ; @.str.160
.asciz "I2CSL_CE_N"
l_.str.161: ; @.str.161
.asciz "TXD4"
l_.str.162: ; @.str.162
.asciz "SPI0_MISO"
l_.str.163: ; @.str.163
.asciz "SD1"
l_.str.164: ; @.str.164
.asciz "DPI_D5"
l_.str.165: ; @.str.165
.asciz "I2CSL_SDI_MISO"
l_.str.166: ; @.str.166
.asciz "RXD4"
l_.str.167: ; @.str.167
.asciz "SPI0_MOSI"
l_.str.168: ; @.str.168
.asciz "SD2"
l_.str.169: ; @.str.169
.asciz "DPI_D6"
l_.str.170: ; @.str.170
.asciz "I2CSL_SDA_MOSI"
l_.str.171: ; @.str.171
.asciz "CTS4"
l_.str.172: ; @.str.172
.asciz "SDA5"
l_.str.173: ; @.str.173
.asciz "SPI0_SCLK"
l_.str.174: ; @.str.174
.asciz "SD3"
l_.str.175: ; @.str.175
.asciz "DPI_D7"
l_.str.176: ; @.str.176
.asciz "I2CSL_SCL_SCLK"
l_.str.177: ; @.str.177
.asciz "RTS4"
l_.str.178: ; @.str.178
.asciz "SCL5"
l_.str.179: ; @.str.179
.asciz "PWM0_0"
l_.str.180: ; @.str.180
.asciz "SD4"
l_.str.181: ; @.str.181
.asciz "DPI_D8"
l_.str.182: ; @.str.182
.asciz "SPI5_CE0_N"
l_.str.183: ; @.str.183
.asciz "TXD5"
l_.str.184: ; @.str.184
.asciz "PWM0_1"
l_.str.185: ; @.str.185
.asciz "SD5"
l_.str.186: ; @.str.186
.asciz "DPI_D9"
l_.str.187: ; @.str.187
.asciz "SPI5_MISO"
l_.str.188: ; @.str.188
.asciz "RXD5"
l_.str.189: ; @.str.189
.asciz "TXD0"
l_.str.190: ; @.str.190
.asciz "SD6"
l_.str.191: ; @.str.191
.asciz "DPI_D10"
l_.str.192: ; @.str.192
.asciz "SPI5_MOSI"
l_.str.193: ; @.str.193
.asciz "CTS5"
l_.str.194: ; @.str.194
.asciz "TXD1"
l_.str.195: ; @.str.195
.asciz "RXD0"
l_.str.196: ; @.str.196
.asciz "SD7"
l_.str.197: ; @.str.197
.asciz "DPI_D11"
l_.str.198: ; @.str.198
.asciz "SPI5_SCLK"
l_.str.199: ; @.str.199
.asciz "RTS5"
l_.str.200: ; @.str.200
.asciz "RXD1"
l_.str.201: ; @.str.201
.asciz "-"
l_.str.202: ; @.str.202
.asciz "SD8"
l_.str.203: ; @.str.203
.asciz "DPI_D12"
l_.str.204: ; @.str.204
.asciz "CTS0"
l_.str.205: ; @.str.205
.asciz "SPI1_CE2_N"
l_.str.206: ; @.str.206
.asciz "CTS1"
l_.str.207: ; @.str.207
.asciz "SD9"
l_.str.208: ; @.str.208
.asciz "DPI_D13"
l_.str.209: ; @.str.209
.asciz "RTS0"
l_.str.210: ; @.str.210
.asciz "SPI1_CE1_N"
l_.str.211: ; @.str.211
.asciz "RTS1"
l_.str.212: ; @.str.212
.asciz "PCM_CLK"
l_.str.213: ; @.str.213
.asciz "SD10"
l_.str.214: ; @.str.214
.asciz "DPI_D14"
l_.str.215: ; @.str.215
.asciz "SPI6_CE0_N"
l_.str.216: ; @.str.216
.asciz "SPI1_CE0_N"
l_.str.217: ; @.str.217
.asciz "PCM_FS"
l_.str.218: ; @.str.218
.asciz "SD11"
l_.str.219: ; @.str.219
.asciz "DPI_D15"
l_.str.220: ; @.str.220
.asciz "SPI6_MISO"
l_.str.221: ; @.str.221
.asciz "SPI1_MISO"
l_.str.222: ; @.str.222
.asciz "PCM_DIN"
l_.str.223: ; @.str.223
.asciz "SD12"
l_.str.224: ; @.str.224
.asciz "DPI_D16"
l_.str.225: ; @.str.225
.asciz "SPI6_MOSI"
l_.str.226: ; @.str.226
.asciz "SPI1_MOSI"
l_.str.227: ; @.str.227
.asciz "PCM_DOUT"
l_.str.228: ; @.str.228
.asciz "SD13"
l_.str.229: ; @.str.229
.asciz "DPI_D17"
l_.str.230: ; @.str.230
.asciz "SPI6_SCLK"
l_.str.231: ; @.str.231
.asciz "SPI1_SCLK"
l_.str.232: ; @.str.232
.asciz "SD0_CLK"
l_.str.233: ; @.str.233
.asciz "SD14"
l_.str.234: ; @.str.234
.asciz "DPI_D18"
l_.str.235: ; @.str.235
.asciz "SD1_CLK"
l_.str.236: ; @.str.236
.asciz "ARM_TRST"
l_.str.237: ; @.str.237
.asciz "SD0_CMD"
l_.str.238: ; @.str.238
.asciz "SD15"
l_.str.239: ; @.str.239
.asciz "DPI_D19"
l_.str.240: ; @.str.240
.asciz "SD1_CMD"
l_.str.241: ; @.str.241
.asciz "ARM_RTCK"
l_.str.242: ; @.str.242
.asciz "SD0_DAT0"
l_.str.243: ; @.str.243
.asciz "SD16"
l_.str.244: ; @.str.244
.asciz "DPI_D20"
l_.str.245: ; @.str.245
.asciz "SD1_DAT0"
l_.str.246: ; @.str.246
.asciz "ARM_TDO"
l_.str.247: ; @.str.247
.asciz "SPI3_CE1_N"
l_.str.248: ; @.str.248
.asciz "SD0_DAT1"
l_.str.249: ; @.str.249
.asciz "SD17"
l_.str.250: ; @.str.250
.asciz "DPI_D21"
l_.str.251: ; @.str.251
.asciz "SD1_DAT1"
l_.str.252: ; @.str.252
.asciz "ARM_TCK"
l_.str.253: ; @.str.253
.asciz "SPI4_CE1_N"
l_.str.254: ; @.str.254
.asciz "SD0_DAT2"
l_.str.255: ; @.str.255
.asciz "DPI_D22"
l_.str.256: ; @.str.256
.asciz "SD1_DAT2"
l_.str.257: ; @.str.257
.asciz "ARM_TDI"
l_.str.258: ; @.str.258
.asciz "SPI5_CE1_N"
l_.str.259: ; @.str.259
.asciz "SD0_DAT3"
l_.str.260: ; @.str.260
.asciz "DPI_D23"
l_.str.261: ; @.str.261
.asciz "SD1_DAT3"
l_.str.262: ; @.str.262
.asciz "ARM_TMS"
l_.str.263: ; @.str.263
.asciz "SPI6_CE1_N"
l_.str.264: ; @.str.264
.asciz "MII_A_RX_ERR"
l_.str.265: ; @.str.265
.asciz "RGMII_MDIO"
l_.str.266: ; @.str.266
.asciz "MII_A_TX_ERR"
l_.str.267: ; @.str.267
.asciz "RGMII_MDC"
l_.str.268: ; @.str.268
.asciz "MII_A_CRS"
l_.str.269: ; @.str.269
.asciz "MII_A_COL"
l_.str.270: ; @.str.270
.asciz "SD_CARD_PRES"
l_.str.271: ; @.str.271
.asciz "SD_CARD_WRPROT"
l_.str.272: ; @.str.272
.asciz "SD_CARD_LED"
l_.str.273: ; @.str.273
.asciz "RGMII_IRQ"
l_.str.274: ; @.str.274
.asciz "RGMII_START_STOP"
l_.str.275: ; @.str.275
.asciz "RGMII_RX_OK"
l_.str.276: ; @.str.276
.asciz "PWM1_0"
l_.str.277: ; @.str.277
.asciz "SD1_DAT4"
l_.str.278: ; @.str.278
.asciz "PWM1_1"
l_.str.279: ; @.str.279
.asciz "SD1_DAT5"
l_.str.280: ; @.str.280
.asciz "SD1_DAT6"
l_.str.281: ; @.str.281
.asciz "SD1_DAT7"
l_.str.282: ; @.str.282
.asciz "SD_CARD_VOLT"
l_.str.283: ; @.str.283
.asciz "SPI0_CE2_N"
l_.str.284: ; @.str.284
.asciz "SD_CARD_PWR0"
l_.str.285: ; @.str.285
.asciz "SPI2_CE1_N"
l_.str.286: ; @.str.286
.asciz "SPI2_CE0_N"
l_.str.287: ; @.str.287
.asciz "SPI2_SCLK"
l_.str.288: ; @.str.288
.asciz "SPI2_MOSI"
l_.str.289: ; @.str.289
.asciz "SPI2_MISO"
l_.str.290: ; @.str.290
.asciz "AVEOUT_VCLK"
l_.str.291: ; @.str.291
.asciz "AVEIN_VCLK"
l_.str.292: ; @.str.292
.asciz "AVEOUT_DSYNC"
l_.str.293: ; @.str.293
.asciz "AVEIN_DSYNC"
l_.str.294: ; @.str.294
.asciz "AVEOUT_VSYNC"
l_.str.295: ; @.str.295
.asciz "AVEIN_VSYNC"
l_.str.296: ; @.str.296
.asciz "AVEOUT_HSYNC"
l_.str.297: ; @.str.297
.asciz "AVEIN_HSYNC"
l_.str.298: ; @.str.298
.asciz "AVEOUT_VID0"
l_.str.299: ; @.str.299
.asciz "AVEIN_VID0"
l_.str.300: ; @.str.300
.asciz "AVEOUT_VID1"
l_.str.301: ; @.str.301
.asciz "AVEIN_VID1"
l_.str.302: ; @.str.302
.asciz "AVEOUT_VID2"
l_.str.303: ; @.str.303
.asciz "AVEIN_VID2"
l_.str.304: ; @.str.304
.asciz "AVEOUT_VID3"
l_.str.305: ; @.str.305
.asciz "AVEIN_VID3"
l_.str.306: ; @.str.306
.asciz "AVEOUT_VID4"
l_.str.307: ; @.str.307
.asciz "AVEIN_VID4"
l_.str.308: ; @.str.308
.asciz "AVEOUT_VID5"
l_.str.309: ; @.str.309
.asciz "AVEIN_VID5"
l_.str.310: ; @.str.310
.asciz "AVEOUT_VID6"
l_.str.311: ; @.str.311
.asciz "AVEIN_VID6"
l_.str.312: ; @.str.312
.asciz "AVEOUT_VID7"
l_.str.313: ; @.str.313
.asciz "AVEIN_VID7"
l_.str.314: ; @.str.314
.asciz "PWM0"
l_.str.315: ; @.str.315
.asciz "AVEOUT_VID8"
l_.str.316: ; @.str.316
.asciz "AVEIN_VID8"
l_.str.317: ; @.str.317
.asciz "PWM1"
l_.str.318: ; @.str.318
.asciz "AVEOUT_VID9"
l_.str.319: ; @.str.319
.asciz "AVEIN_VID9"
l_.str.320: ; @.str.320
.asciz "AVEOUT_VID10"
l_.str.321: ; @.str.321
.asciz "AVEIN_VID10"
l_.str.322: ; @.str.322
.asciz "AVEOUT_VID11"
l_.str.323: ; @.str.323
.asciz "AVEIN_VID11"
l_.str.324: ; @.str.324
.asciz "FL0"
l_.str.325: ; @.str.325
.asciz "FL1"
l_.str.326: ; @.str.326
.asciz "I2CSL_MISO"
l_.str.327: ; @.str.327
.asciz "TE0"
l_.str.328: ; @.str.328
.asciz "TE1"
l_.str.329: ; @.str.329
.asciz "RING_OCLK"
l_.str.330: ; @.str.330
.asciz "TE2"
l_.str.331: ; @.str.331
.asciz "SPI2_CE2_N"
l_str: ; @str
.asciz "timer oops!"
l_str.332: ; @str.332
.asciz "Ranges data too short"
l_str.333: ; @str.333
.asciz "ignoring whatever else may be using them (such as Linux drivers) -"
l_str.334: ; @str.334
.asciz "it is designed as a debug tool, only use it if you know what you"
l_str.335: ; @str.335
.asciz "are doing and at your own risk!"
l_str.336: ; @str.336
.asciz "and can be used to set the function, pulls and value of a GPIO."
l_str.337: ; @str.337
.asciz "Use:"
l_str.340: ; @str.340
.asciz "OR"
l_str.341: ; @str.341
.asciz "GPIO is a comma-separated list of pin numbers or ranges (without spaces),"
l_str.342: ; @str.342
.asciz "e.g. 4 or 18-21 or 7,9-11"
l_str.343: ; @str.343
.asciz "or if [GPIO] is specified the alternate funcs just for that specific GPIO."
l_str.344: ; @str.344
.asciz " ip set GPIO as input"
l_str.345: ; @str.345
.asciz " op set GPIO as output"
l_str.346: ; @str.346
.asciz " a0-a5 set GPIO to alternate function alt0-alt5"
l_str.347: ; @str.347
.asciz " pu set GPIO in-pad pull up"
l_str.348: ; @str.348
.asciz " pd set GPIO pin-pad pull down"
l_str.349: ; @str.349
.asciz " pn set GPIO pull none (no pull)"
l_str.350: ; @str.350
.asciz " dh set GPIO to drive to high (1) level (only valid if set to be an output)"
l_str.351: ; @str.351
.asciz " dl set GPIO to drive low (0) level (only valid if set to be an output)"
l_str.352: ; @str.352
.asciz "Examples:"
l_str.353: ; @str.353
.asciz "Can't set pin value, not an output"
l_str.354: ; @str.354
.asciz "BANK2 (GPIO 46 to 53):"
l_str.355: ; @str.355
.asciz "BANK1 (GPIO 28 to 45):"
l_str.356: ; @str.356
.asciz "BANK0 (GPIO 0 to 27):"
l_str.357: ; @str.357
.asciz "Must be root"
l_str.358: ; @str.358
.asciz "GPIO, DEFAULT PULL, ALT0, ALT1, ALT2, ALT3, ALT4, ALT5"
l_str.359: ; @str.359
.asciz "Nothing to set"
l_str.360: ; @str.360
.asciz "Need GPIO number to set"
l_str.361: ; @str.361
.asciz "Too many arguments"
l_str.362: ; @str.362
.asciz "No arguments given - try \"raspi-gpio help\""
.section __TEXT,__const
.p2align 2 ; @switch.table.get_gpio_pull
l_switch.table.get_gpio_pull:
.long 0 ; 0x0
.long 2 ; 0x2
.long 1 ; 0x1
.p2align 3 ; @switch.table.gpio_get
l_switch.table.gpio_get:
.quad 0 ; 0x0
.quad 2 ; 0x2
.quad 1 ; 0x1
.subsections_via_symbols
| the_stack_data/161079860.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m_getm ## -- Begin function m_getm
.p2align 4, 0x90
_m_getm: ## @m_getm
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq %rdi, %rax
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rax, %r12
movq %rax, %rdi
callq _M_TRAILINGSPACE
subq %rax, %rbx
movq (%r12), %rax
testq %rax, %rax
jne LBB0_1
## %bb.2:
testq %rbx, %rbx
je LBB0_5
## %bb.3:
leaq -40(%rbp), %rsi
movq %rbx, %rdi
callq _m_get
testl %eax, %eax
jne LBB0_6
## %bb.4:
movq -40(%rbp), %rax
movq %rax, (%r12)
LBB0_5:
movq %r15, (%r14)
xorl %eax, %eax
LBB0_6:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m_getm ; -- Begin function m_getm
.p2align 2
_m_getm: ; @m_getm
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x22, x1
mov x20, x0
mov x8, x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x21, x8
mov x0, x8
bl _M_TRAILINGSPACE
sub x22, x22, x0
ldr x8, [x21]
cbnz x8, LBB0_1
; %bb.2:
cbz x22, LBB0_5
; %bb.3:
add x1, sp, #8
mov x0, x22
bl _m_get
cbnz w0, LBB0_6
; %bb.4:
ldr x8, [sp, #8]
str x8, [x21]
LBB0_5:
mov w0, #0
str x20, [x19]
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/smbfs/lib/smb/extr_mbuf.c_m_getm.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function denali_pci_probe
LCPI0_0:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
LCPI0_1:
.long 4 ## 0x4
.long 4 ## 0x4
.long 4 ## 0x4
.long 4 ## 0x4
LCPI0_2:
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
LCPI0_3:
.long 12 ## 0xc
.long 12 ## 0xc
.long 12 ## 0xc
.long 12 ## 0xc
LCPI0_4:
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
LCPI0_5:
.long 20 ## 0x14
.long 20 ## 0x14
.long 20 ## 0x14
.long 20 ## 0x14
LCPI0_6:
.long 24 ## 0x18
.long 24 ## 0x18
.long 24 ## 0x18
.long 24 ## 0x18
LCPI0_7:
.long 28 ## 0x1c
.long 28 ## 0x1c
.long 28 ## 0x1c
.long 28 ## 0x1c
LCPI0_8:
.long 32 ## 0x20
.long 32 ## 0x20
.long 32 ## 0x20
.long 32 ## 0x20
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_denali_pci_probe: ## @denali_pci_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %r12
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $56, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r14
movq %r12, %rdi
callq _pcim_enable_device
testl %eax, %eax
je LBB0_5
## %bb.3:
movl %eax, %ebx
leaq L_.str(%rip), %rsi
jmp LBB0_4
LBB0_5:
movq (%r15), %r15
movq _INTEL_CE4100@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq %r12, %rdi
xorl %esi, %esi
callq _pci_resource_start
movq %r12, %rdi
cmpq %rbx, %r15
jne LBB0_7
## %bb.6:
movl $1, %esi
movq %rax, %r15
callq _pci_resource_len
movq %rax, %r13
movq %r12, %rdi
movl $1, %esi
callq _pci_resource_start
movq %rax, %rbx
movq %r12, %rdi
movl $1, %esi
callq _pci_resource_len
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
jmp LBB0_8
LBB0_7:
xorl %esi, %esi
movq %rax, %r15
callq _pci_resource_len
movq %rax, %r13
movq %r12, %rdi
movl $1, %esi
callq _pci_resource_start
movq %rax, %rbx
movq %r12, %rdi
movl $1, %esi
callq _pci_resource_len
movq %r15, -56(%rbp) ## 8-byte Spill
addq %r13, %r15
testq %rax, %rax
cmovneq %rbx, %r15
movq %r13, -48(%rbp) ## 8-byte Spill
cmoveq %r13, %rax
movq %rax, %r13
LBB0_8:
movq %r12, %rdi
callq _pci_set_master
movq %r12, 32(%r14)
movl 4(%r12), %eax
movl %eax, 48(%r14)
movq _denali_pci_ecc_caps@GOTPCREL(%rip), %rax
movq %rax, 40(%r14)
movabsq $858993459250000000, %rax ## imm = 0xBEBC20002FAF080
movq %rax, (%r14)
movq _DENALI_NAND_NAME@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _pci_request_regions
testl %eax, %eax
je LBB0_10
## %bb.9:
movl %eax, %ebx
leaq L_.str.1(%rip), %rsi
LBB0_4:
movq %r12, %rdi
callq _dev_err
jmp LBB0_34
LBB0_10:
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
callq _ioremap_nocache
movq %rax, 16(%r14)
testq %rax, %rax
je LBB0_11
## %bb.12:
movq %r15, %rdi
movq %r13, %rsi
callq _ioremap_nocache
movq %rax, 24(%r14)
testq %rax, %rax
je LBB0_13
## %bb.14:
movq %r14, %rdi
callq _denali_init
movl %eax, %ebx
testl %eax, %eax
jne LBB0_18
## %bb.15:
movl 8(%r14), %r15d
movq 32(%r14), %rbx
movq _sels@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r15d, %edx
callq _struct_size
movq _GFP_KERNEL@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq %rbx, %rdi
movl %eax, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_16
## %bb.20:
movq _NAND_ECC_MAXIMIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 16(%rax)
movl %r15d, (%rax)
testl %r15d, %r15d
jle LBB0_32
## %bb.21:
movq 8(%rax), %rcx
cmpl $8, %r15d
jae LBB0_23
## %bb.22:
xorl %edx, %edx
jmp LBB0_31
LBB0_11:
leaq L_.str.2(%rip), %rsi
movq %r12, %rdi
callq _dev_err
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_34:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
leaq L_.str.3(%rip), %rsi
movq %r12, %rdi
callq _dev_err
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_19
LBB0_16:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_17
LBB0_23:
movl %r15d, %edx
andl $-8, %edx
leaq -8(%rdx), %rbx
movq %rbx, %rdi
shrq $3, %rdi
incq %rdi
movl %edi, %esi
andl $3, %esi
cmpq $24, %rbx
jae LBB0_25
## %bb.24:
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [0,1,2,3]
xorl %ebx, %ebx
jmp LBB0_27
LBB0_25:
andq $-4, %rdi
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [0,1,2,3]
xorl %ebx, %ebx
movdqa LCPI0_1(%rip), %xmm8 ## xmm8 = [4,4,4,4]
movdqa LCPI0_2(%rip), %xmm9 ## xmm9 = [8,8,8,8]
movdqa LCPI0_3(%rip), %xmm10 ## xmm10 = [12,12,12,12]
movdqa LCPI0_4(%rip), %xmm4 ## xmm4 = [16,16,16,16]
movdqa LCPI0_5(%rip), %xmm5 ## xmm5 = [20,20,20,20]
movdqa LCPI0_6(%rip), %xmm6 ## xmm6 = [24,24,24,24]
movdqa LCPI0_7(%rip), %xmm7 ## xmm7 = [28,28,28,28]
movdqa LCPI0_8(%rip), %xmm1 ## xmm1 = [32,32,32,32]
LBB0_26: ## =>This Inner Loop Header: Depth=1
movdqa %xmm0, %xmm2
paddd %xmm8, %xmm2
movdqu %xmm0, (%rcx,%rbx,4)
movdqu %xmm2, 16(%rcx,%rbx,4)
movdqa %xmm0, %xmm2
paddd %xmm9, %xmm2
movdqa %xmm0, %xmm3
paddd %xmm10, %xmm3
movdqu %xmm2, 32(%rcx,%rbx,4)
movdqu %xmm3, 48(%rcx,%rbx,4)
movdqa %xmm0, %xmm2
paddd %xmm4, %xmm2
movdqa %xmm0, %xmm3
paddd %xmm5, %xmm3
movdqu %xmm2, 64(%rcx,%rbx,4)
movdqu %xmm3, 80(%rcx,%rbx,4)
movdqa %xmm0, %xmm2
paddd %xmm6, %xmm2
movdqa %xmm0, %xmm3
paddd %xmm7, %xmm3
movdqu %xmm2, 96(%rcx,%rbx,4)
movdqu %xmm3, 112(%rcx,%rbx,4)
addq $32, %rbx
paddd %xmm1, %xmm0
addq $-4, %rdi
jne LBB0_26
LBB0_27:
testq %rsi, %rsi
je LBB0_30
## %bb.28:
leaq (%rcx,%rbx,4), %rdi
addq $16, %rdi
shlq $5, %rsi
xorl %ebx, %ebx
movdqa LCPI0_1(%rip), %xmm1 ## xmm1 = [4,4,4,4]
movdqa LCPI0_2(%rip), %xmm2 ## xmm2 = [8,8,8,8]
LBB0_29: ## =>This Inner Loop Header: Depth=1
movdqa %xmm0, %xmm3
paddd %xmm1, %xmm3
movdqu %xmm0, -16(%rdi,%rbx)
movdqu %xmm3, (%rdi,%rbx)
paddd %xmm2, %xmm0
addq $32, %rbx
cmpq %rbx, %rsi
jne LBB0_29
LBB0_30:
cmpq %r15, %rdx
je LBB0_32
LBB0_31: ## =>This Inner Loop Header: Depth=1
movl %edx, (%rcx,%rdx,4)
incq %rdx
cmpq %rdx, %r15
jne LBB0_31
LBB0_32:
movq %r14, %rdi
movq %rax, %rsi
callq _denali_chip_init
movl %eax, %ebx
testl %eax, %eax
je LBB0_33
LBB0_17:
movq %r14, %rdi
callq _denali_remove
LBB0_18:
movq 24(%r14), %rdi
callq _iounmap
LBB0_19:
movq 16(%r14), %rdi
callq _iounmap
jmp LBB0_34
LBB0_33:
movq %r12, %rdi
movq %r14, %rsi
callq _pci_set_drvdata
xorl %ebx, %ebx
jmp LBB0_34
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Spectra: pci_enable_device failed.\n"
.comm _INTEL_CE4100,8,3 ## @INTEL_CE4100
.comm _denali_pci_ecc_caps,4,2 ## @denali_pci_ecc_caps
.comm _DENALI_NAND_NAME,4,2 ## @DENALI_NAND_NAME
L_.str.1: ## @.str.1
.asciz "Spectra: Unable to request memory regions\n"
L_.str.2: ## @.str.2
.asciz "Spectra: Unable to remap memory region\n"
L_.str.3: ## @.str.3
.asciz "Spectra: ioremap_nocache failed!"
.comm _sels,4,2 ## @sels
.comm _NAND_ECC_MAXIMIZE,4,2 ## @NAND_ECC_MAXIMIZE
.no_dead_strip _denali_pci_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function denali_pci_probe
lCPI0_0:
.long 50000000 ; 0x2faf080
.long 200000000 ; 0xbebc200
.section __TEXT,__literal16,16byte_literals
.p2align 4
lCPI0_1:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_denali_pci_probe: ; @denali_pci_probe
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x1
mov x20, x0
Lloh0:
adrp x26, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
ldr w2, [x26]
mov w1, #56
bl _devm_kzalloc
cbz x0, LBB0_17
; %bb.1:
mov x19, x0
mov x0, x20
bl _pcim_enable_device
cbz w0, LBB0_3
; %bb.2:
mov x22, x0
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
b LBB0_8
LBB0_3:
ldr x22, [x21]
Lloh4:
adrp x8, _INTEL_CE4100@GOTPAGE
Lloh5:
ldr x8, [x8, _INTEL_CE4100@GOTPAGEOFF]
Lloh6:
ldr x23, [x8]
mov x0, x20
mov w1, #0
bl _pci_resource_start
mov x21, x0
mov x0, x20
cmp x22, x23
b.ne LBB0_5
; %bb.4:
mov w1, #1
bl _pci_resource_len
mov x23, x0
mov x0, x20
mov w1, #1
bl _pci_resource_start
mov x22, x0
mov x0, x20
mov w1, #1
bl _pci_resource_len
mov x24, x0
mov x25, x21
mov x21, x22
b LBB0_6
LBB0_5:
mov w1, #0
bl _pci_resource_len
mov x24, x0
mov x0, x20
mov w1, #1
bl _pci_resource_start
mov x22, x0
mov x0, x20
mov w1, #1
bl _pci_resource_len
add x8, x24, x21
cmp x0, #0
csel x25, x8, x22, eq
csel x23, x24, x0, eq
LBB0_6:
mov x0, x20
bl _pci_set_master
ldr w8, [x20, #4]
str w8, [x19, #48]
Lloh7:
adrp x8, _denali_pci_ecc_caps@GOTPAGE
Lloh8:
ldr x8, [x8, _denali_pci_ecc_caps@GOTPAGEOFF]
stp x20, x8, [x19, #32]
Lloh9:
adrp x8, lCPI0_0@PAGE
Lloh10:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [x19]
Lloh11:
adrp x8, _DENALI_NAND_NAME@GOTPAGE
Lloh12:
ldr x8, [x8, _DENALI_NAND_NAME@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x20
bl _pci_request_regions
cbz w0, LBB0_9
; %bb.7:
mov x22, x0
Lloh14:
adrp x1, l_.str.1@PAGE
Lloh15:
add x1, x1, l_.str.1@PAGEOFF
LBB0_8:
mov x0, x20
bl _dev_err
b LBB0_18
LBB0_9:
mov x0, x21
mov x1, x24
bl _ioremap_nocache
str x0, [x19, #16]
cbz x0, LBB0_16
; %bb.10:
mov x0, x25
mov x1, x23
bl _ioremap_nocache
str x0, [x19, #24]
cbz x0, LBB0_19
; %bb.11:
mov x0, x19
bl _denali_init
mov x22, x0
cbnz w0, LBB0_27
; %bb.12:
ldr w21, [x19, #8]
ldr x22, [x19, #32]
Lloh16:
adrp x8, _sels@GOTPAGE
Lloh17:
ldr x8, [x8, _sels@GOTPAGEOFF]
Lloh18:
ldr w1, [x8]
mov x2, x21
bl _struct_size
mov x1, x0
ldr w2, [x26]
mov x0, x22
bl _devm_kzalloc
cbz x0, LBB0_20
; %bb.13:
mov x1, x0
Lloh19:
adrp x8, _NAND_ECC_MAXIMIZE@GOTPAGE
Lloh20:
ldr x8, [x8, _NAND_ECC_MAXIMIZE@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
ldr w9, [x0, #16]
orr w8, w9, w8
str w8, [x0, #16]
str w21, [x0]
cmp w21, #1
b.lt LBB0_25
; %bb.14:
ldr x8, [x1, #8]
cmp w21, #16
b.hs LBB0_21
; %bb.15:
mov x9, #0
b LBB0_24
LBB0_16:
Lloh22:
adrp x1, l_.str.2@PAGE
Lloh23:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
bl _dev_err
LBB0_17:
Lloh24:
adrp x8, _ENOMEM@GOTPAGE
Lloh25:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
neg w22, w8
LBB0_18:
mov x0, x22
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_19:
Lloh27:
adrp x1, l_.str.3@PAGE
Lloh28:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
bl _dev_err
Lloh29:
adrp x8, _ENOMEM@GOTPAGE
Lloh30:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
neg w22, w8
b LBB0_28
LBB0_20:
Lloh32:
adrp x8, _ENOMEM@GOTPAGE
Lloh33:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
neg w22, w8
b LBB0_26
LBB0_21:
and x9, x21, #0xfffffff0
Lloh35:
adrp x10, lCPI0_1@PAGE
Lloh36:
ldr q0, [x10, lCPI0_1@PAGEOFF]
add x10, x8, #32
movi.4s v1, #4
movi.4s v2, #8
movi.4s v3, #12
movi.4s v4, #16
mov x11, x9
LBB0_22: ; =>This Inner Loop Header: Depth=1
add.4s v5, v0, v1
add.4s v6, v0, v2
add.4s v7, v0, v3
stp q0, q5, [x10, #-32]
stp q6, q7, [x10], #64
add.4s v0, v0, v4
subs x11, x11, #16
b.ne LBB0_22
; %bb.23:
cmp x9, x21
b.eq LBB0_25
LBB0_24: ; =>This Inner Loop Header: Depth=1
str w9, [x8, x9, lsl #2]
add x9, x9, #1
cmp x21, x9
b.ne LBB0_24
LBB0_25:
mov x0, x19
bl _denali_chip_init
mov x22, x0
cbz w0, LBB0_29
LBB0_26:
mov x0, x19
bl _denali_remove
LBB0_27:
ldr x0, [x19, #24]
bl _iounmap
LBB0_28:
ldr x0, [x19, #16]
bl _iounmap
b LBB0_18
LBB0_29:
mov x0, x20
mov x1, x19
bl _pci_set_drvdata
b LBB0_18
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdrp Lloh9, Lloh11
.loh AdrpLdr Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdr Lloh35, Lloh36
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Spectra: pci_enable_device failed.\n"
.comm _INTEL_CE4100,8,3 ; @INTEL_CE4100
.comm _denali_pci_ecc_caps,4,2 ; @denali_pci_ecc_caps
.comm _DENALI_NAND_NAME,4,2 ; @DENALI_NAND_NAME
l_.str.1: ; @.str.1
.asciz "Spectra: Unable to request memory regions\n"
l_.str.2: ; @.str.2
.asciz "Spectra: Unable to remap memory region\n"
l_.str.3: ; @.str.3
.asciz "Spectra: ioremap_nocache failed!"
.comm _sels,4,2 ; @sels
.comm _NAND_ECC_MAXIMIZE,4,2 ; @NAND_ECC_MAXIMIZE
.no_dead_strip _denali_pci_probe
.subsections_via_symbols
| AnghaBench/linux/drivers/mtd/nand/raw/extr_denali_pci.c_denali_pci_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dev_map_create_hash
_dev_map_create_hash: ## @dev_map_create_hash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $4, %esi
callq _kmalloc_array
movq %rax, %r14
testq %rax, %rax
je LBB0_4
## %bb.1:
testl %ebx, %ebx
je LBB0_4
## %bb.2:
movl %ebx, %r15d
movq %r14, %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _INIT_HLIST_HEAD
addq $4, %rbx
decq %r15
jne LBB0_3
LBB0_4:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.no_dead_strip _dev_map_create_hash
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dev_map_create_hash
_dev_map_create_hash: ; @dev_map_create_hash
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #4
bl _kmalloc_array
mov x19, x0
cmp x0, #0
ccmp w20, #0, #4, ne
b.eq LBB0_3
; %bb.1:
mov w21, w20
mov x20, x19
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _INIT_HLIST_HEAD
add x20, x20, #4
subs x21, x21, #1
b.ne LBB0_2
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.no_dead_strip _dev_map_create_hash
.subsections_via_symbols
| AnghaBench/linux/kernel/bpf/extr_devmap.c_dev_map_create_hash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movb $65, -17(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, %ebx
movb $2, -39(%rbp)
leaq L_.str(%rip), %rdi
callq _inet_addr
movl %eax, -36(%rbp)
movw $-23119, -38(%rbp) ## imm = 0xA5B1
leaq -40(%rbp), %rsi
movl %ebx, %edi
movl $16, %edx
callq _connect
cmpl $-1, %eax
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_2:
leaq -17(%rbp), %r14
movl $1, %edx
movl %ebx, %edi
movq %r14, %rsi
callq _write
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movl $1, %edx
movl %ebx, %edi
movq %r14, %rsi
callq _read
movsbl -17(%rbp), %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
movl %ebx, %edi
callq _close
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "127.0.0.1"
L_.str.1: ## @.str.1
.asciz "oops: client1"
L_.str.2: ## @.str.2
.asciz "char from server sockfd[%d]\n"
L_.str.3: ## @.str.3
.asciz "char from server = %c\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w8, #65
strb w8, [sp, #15]
mov w20, #2
mov w0, #2
mov w1, #1
mov w2, #0
bl _socket
mov x19, x0
strb w20, [sp, #17]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _inet_addr
str w0, [sp, #20]
mov w8, #42417
strh w8, [sp, #18]
add x1, sp, #16
mov x0, x19
mov w2, #16
bl _connect
cmn w0, #1
b.ne LBB0_2
; %bb.1:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_2:
add x1, sp, #15
mov x0, x19
mov w2, #1
bl _write
str x19, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x1, sp, #15
mov x0, x19
mov w2, #1
bl _read
ldrsb x8, [sp, #15]
str x8, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov x0, x19
bl _close
mov w0, #0
bl _exit
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "127.0.0.1"
l_.str.1: ; @.str.1
.asciz "oops: client1"
l_.str.2: ; @.str.2
.asciz "char from server sockfd[%d]\n"
l_.str.3: ; @.str.3
.asciz "char from server = %c\n"
.subsections_via_symbols
| the_stack_data/47887.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtllib_rx_probe_rq ## -- Begin function rtllib_rx_probe_rq
.p2align 4, 0x90
_rtllib_rx_probe_rq: ## @rtllib_rx_probe_rq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq _ETH_ALEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
incl 4(%rbx)
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq _probe_rq_parse
testq %rax, %rax
jle LBB0_2
## %bb.1:
incl (%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq _rtllib_resp_to_probe
LBB0_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_4
## %bb.3:
leaq -24(%rbp), %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ETH_ALEN,4,2 ## @ETH_ALEN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtllib_rx_probe_rq ; -- Begin function rtllib_rx_probe_rq
.p2align 2
_rtllib_rx_probe_rq: ; @rtllib_rx_probe_rq
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
sub sp, sp, #16
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh3:
adrp x8, _ETH_ALEN@GOTPAGE
Lloh4:
ldr x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x20, x9, x8
mov sp, x20
ldr w8, [x0, #4]
add w8, w8, #1
str w8, [x0, #4]
mov x2, x20
bl _probe_rq_parse
cmp x0, #1
b.lt LBB0_2
; %bb.1:
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
mov x0, x19
mov x1, x20
bl _rtllib_resp_to_probe
LBB0_2:
ldur x8, [x29, #-24]
Lloh8:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_4
; %bb.3:
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _ETH_ALEN,4,2 ; @ETH_ALEN
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_softmac.c_rtllib_rx_probe_rq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_partial
_get_partial: ## @get_partial
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movl %edx, %ebx
movl %esi, %r15d
movq %rdi, %r12
movq _NUMA_NO_NODE@GOTPCREL(%rip), %r13
cmpl %edx, (%r13)
jne LBB0_2
## %bb.1:
xorl %eax, %eax
callq _numa_mem_id
jmp LBB0_4
LBB0_2:
movl %ebx, %edi
callq _node_present_pages
movl %ebx, %esi
testl %eax, %eax
jne LBB0_5
## %bb.3:
movl %ebx, %edi
callq _node_to_mem_node
LBB0_4:
movl %eax, %esi
LBB0_5:
movq %r12, %rdi
callq _get_node
movq %r12, %rdi
movl %eax, %esi
movq %r14, %rdx
movl %r15d, %ecx
callq _get_partial_node
testq %rax, %rax
jne LBB0_7
## %bb.6:
cmpl %ebx, (%r13)
jne LBB0_7
## %bb.8:
movq %r12, %rdi
movl %r15d, %esi
movq %r14, %rdx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _get_any_partial ## TAILCALL
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NUMA_NO_NODE,4,2 ## @NUMA_NO_NODE
.no_dead_strip _get_partial
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_partial
_get_partial: ; @get_partial
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x22, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x23, _NUMA_NO_NODE@GOTPAGE
Lloh1:
ldr x23, [x23, _NUMA_NO_NODE@GOTPAGEOFF]
ldr w8, [x23]
cmp w8, w2
b.ne LBB0_2
; %bb.1:
bl _numa_mem_id
b LBB0_4
LBB0_2:
mov x0, x22
bl _node_present_pages
mov x1, x22
cbnz w0, LBB0_5
; %bb.3:
mov x0, x22
bl _node_to_mem_node
LBB0_4:
mov x1, x0
LBB0_5:
mov x0, x21
bl _get_node
mov x1, x0
mov x0, x21
mov x2, x19
mov x3, x20
bl _get_partial_node
cbnz x0, LBB0_8
; %bb.6:
ldr w8, [x23]
cmp w8, w22
b.ne LBB0_8
; %bb.7:
mov x0, x21
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _get_any_partial
LBB0_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _NUMA_NO_NODE,4,2 ; @NUMA_NO_NODE
.no_dead_strip _get_partial
.subsections_via_symbols
| AnghaBench/linux/mm/extr_slub.c_get_partial.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function host1x_uclass_wait_syncpt_r
_host1x_uclass_wait_syncpt_r: ## @host1x_uclass_wait_syncpt_r
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $8, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _host1x_uclass_wait_syncpt_r
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function host1x_uclass_wait_syncpt_r
_host1x_uclass_wait_syncpt_r: ; @host1x_uclass_wait_syncpt_r
.cfi_startproc
; %bb.0:
mov w0, #8
ret
.cfi_endproc
; -- End function
.no_dead_strip _host1x_uclass_wait_syncpt_r
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x02_uclass.h_host1x_uclass_wait_syncpt_r.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gxv_just_actSubrecord_type0_validate
_gxv_just_actSubrecord_type0_validate: ## @gxv_just_actSubrecord_type0_validate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rdi, %r15
movl $12, %edi
callq _GXV_LIMIT_CHECK
movq %r15, %rdi
callq _FT_NEXT_LONG
movq %rax, %r12
movq %r15, %rdi
callq _FT_NEXT_LONG
movq %rax, %r13
addq $2, %r15
movq %r15, %rdi
callq _FT_NEXT_USHORT
movq %rax, %rbx
cmpq %r13, %r12
jl LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _GXV_TRACE
movq _FT_INVALID_DATA@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _GXV_SET_ERR_IF_PARANOID
LBB0_2:
testq %rbx, %rbx
jle LBB0_5
## %bb.3:
leaq L_.str.1(%rip), %r12
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl $2, %edi
callq _GXV_LIMIT_CHECK
movq %r15, %rdi
callq _FT_NEXT_USHORT
movq %rax, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq _gxv_just_check_max_gid
decq %rbx
jne LBB0_4
LBB0_5:
movq $2, (%r14)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "just table includes invalid range spec: lowerLimit(%d) > upperLimit(%d)\n"
.comm _FT_INVALID_DATA,4,2 ## @FT_INVALID_DATA
L_.str.1: ## @.str.1
.asciz "type0:glyphs"
.no_dead_strip _gxv_just_actSubrecord_type0_validate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gxv_just_actSubrecord_type0_validate
_gxv_just_actSubrecord_type0_validate: ; @gxv_just_actSubrecord_type0_validate
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x0
mov w0, #12
bl _GXV_LIMIT_CHECK
mov x0, x20
bl _FT_NEXT_LONG
mov x22, x0
mov x0, x20
bl _FT_NEXT_LONG
mov x23, x0
add x20, x20, #2
mov x0, x20
bl _FT_NEXT_USHORT
mov x21, x0
cmp x22, x23
b.lt LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _GXV_TRACE
Lloh2:
adrp x8, _FT_INVALID_DATA@GOTPAGE
Lloh3:
ldr x8, [x8, _FT_INVALID_DATA@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
bl _GXV_SET_ERR_IF_PARANOID
LBB0_2:
cmp x21, #1
b.lt LBB0_5
; %bb.3:
Lloh5:
adrp x22, l_.str.1@PAGE
Lloh6:
add x22, x22, l_.str.1@PAGEOFF
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov w0, #2
bl _GXV_LIMIT_CHECK
mov x0, x20
bl _FT_NEXT_USHORT
mov x1, x22
mov x2, x19
bl _gxv_just_check_max_gid
subs x21, x21, #1
b.ne LBB0_4
LBB0_5:
mov w8, #2
str x8, [x19]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "just table includes invalid range spec: lowerLimit(%d) > upperLimit(%d)\n"
.comm _FT_INVALID_DATA,4,2 ; @FT_INVALID_DATA
l_.str.1: ; @.str.1
.asciz "type0:glyphs"
.no_dead_strip _gxv_just_actSubrecord_type0_validate
.subsections_via_symbols
| AnghaBench/Cinder/src/freetype/gxvalid/extr_gxvjust.c_gxv_just_actSubrecord_type0_validate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vlc_static_cond_init
_vlc_static_cond_init: ## @vlc_static_cond_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq _super_mutex@GOTPCREL(%rip), %rdi
callq _vlc_mutex_lock
movq (%r14), %rax
movq _NULLHANDLE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.1:
movq %r14, %rdi
callq _vlc_cond_init
movl $16, %edi
callq _malloc
movq %rax, %rbx
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _unlikely
testq %rax, %rax
jne LBB0_4
## %bb.2:
movq %rbx, %rdi
addq $8, %rdi
movq %r14, %rsi
movl $8, %edx
callq _memcpy
movq _static_condvar_start@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq %rcx, (%rbx)
movq %rbx, (%rax)
LBB0_3:
movq _super_mutex@GOTPCREL(%rip), %rdi
popq %rbx
popq %r14
popq %rbp
jmp _vlc_mutex_unlock ## TAILCALL
LBB0_4:
xorl %eax, %eax
callq _abort
.cfi_endproc
## -- End function
.comm _super_mutex,4,2 ## @super_mutex
.comm _NULLHANDLE,8,3 ## @NULLHANDLE
.comm _static_condvar_start,8,3 ## @static_condvar_start
.no_dead_strip _vlc_static_cond_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vlc_static_cond_init
_vlc_static_cond_init: ; @vlc_static_cond_init
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x0, _super_mutex@GOTPAGE
Lloh1:
ldr x0, [x0, _super_mutex@GOTPAGEOFF]
bl _vlc_mutex_lock
ldr x8, [x19]
Lloh2:
adrp x9, _NULLHANDLE@GOTPAGE
Lloh3:
ldr x9, [x9, _NULLHANDLE@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.1:
mov x0, x19
bl _vlc_cond_init
mov w0, #16
bl _malloc
mov x20, x0
cmp x0, #0
cset w0, eq
bl _unlikely
cbnz x0, LBB0_4
; %bb.2:
add x0, x20, #8
mov x1, x19
mov w2, #8
bl _memcpy
Lloh5:
adrp x8, _static_condvar_start@GOTPAGE
Lloh6:
ldr x8, [x8, _static_condvar_start@GOTPAGEOFF]
ldr x9, [x8]
str x9, [x20]
str x20, [x8]
LBB0_3:
Lloh7:
adrp x0, _super_mutex@GOTPAGE
Lloh8:
ldr x0, [x0, _super_mutex@GOTPAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _vlc_mutex_unlock
LBB0_4:
bl _abort
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _super_mutex,4,2 ; @super_mutex
.comm _NULLHANDLE,8,3 ; @NULLHANDLE
.comm _static_condvar_start,8,3 ; @static_condvar_start
.no_dead_strip _vlc_static_cond_init
.subsections_via_symbols
| AnghaBench/vlc/src/os2/extr_thread.c_vlc_static_cond_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function eem_set_alt
_eem_set_alt: ## @eem_set_alt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movl %esi, %r15d
movq %rdi, %r13
callq _func_to_eem
testl %ebx, %ebx
jne LBB0_7
## %bb.1:
movq %rax, %r14
cmpl %r15d, (%rax)
jne LBB0_7
## %bb.2:
movq (%r13), %rax
movq (%rax), %r15
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _DBG
movq %r14, %r12
addq $8, %r12
movq %r12, %rdi
callq _gether_disconnect
movq 24(%r14), %rax
cmpq $0, (%rax)
je LBB0_4
## %bb.3:
movq 16(%r14), %rax
cmpq $0, (%rax)
je LBB0_4
LBB0_9:
movl $1, 8(%r14)
movq _DEFAULT_FILTER@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 12(%r14)
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
callq _DBG
movq %r12, %rdi
callq _gether_connect
movq %rax, %rbx
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_10
## %bb.11:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_4:
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
callq _DBG
movl (%r15), %edi
movq 24(%r14), %rdx
movq %r13, %rsi
callq _config_ep_by_speed
testq %rax, %rax
jne LBB0_6
## %bb.5:
movl (%r15), %edi
movq 16(%r14), %rdx
movq %r13, %rsi
callq _config_ep_by_speed
testq %rax, %rax
je LBB0_9
LBB0_6:
movq 24(%r14), %rax
movq $0, (%rax)
movq 16(%r14), %rax
movq $0, (%rax)
LBB0_7:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
xorl %eax, %eax
jmp LBB0_8
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "reset eem\n"
L_.str.1: ## @.str.1
.asciz "init eem\n"
.comm _DEFAULT_FILTER,4,2 ## @DEFAULT_FILTER
L_.str.2: ## @.str.2
.asciz "activate eem\n"
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _eem_set_alt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function eem_set_alt
_eem_set_alt: ; @eem_set_alt
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x22, x2
mov x20, x1
mov x21, x0
bl _func_to_eem
cbnz w22, LBB0_7
; %bb.1:
mov x19, x0
ldr w8, [x0]
cmp w8, w20
b.ne LBB0_7
; %bb.2:
ldr x8, [x21]
ldr x20, [x8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _DBG
add x22, x19, #8
mov x0, x22
bl _gether_disconnect
ldr x8, [x19, #24]
ldr x8, [x8]
cbz x8, LBB0_4
; %bb.3:
ldr x8, [x19, #16]
ldr x8, [x8]
cbnz x8, LBB0_9
LBB0_4:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _DBG
ldr w0, [x20]
ldr x2, [x19, #24]
mov x1, x21
bl _config_ep_by_speed
cbnz x0, LBB0_6
; %bb.5:
ldr w0, [x20]
ldr x2, [x19, #16]
mov x1, x21
bl _config_ep_by_speed
cbz x0, LBB0_9
LBB0_6:
ldp x9, x8, [x19, #16]
str xzr, [x8]
str xzr, [x9]
LBB0_7:
Lloh4:
adrp x8, _EINVAL@GOTPAGE
Lloh5:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
neg w0, w8
LBB0_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_9:
mov w8, #1
Lloh7:
adrp x9, _DEFAULT_FILTER@GOTPAGE
Lloh8:
ldr x9, [x9, _DEFAULT_FILTER@GOTPAGEOFF]
Lloh9:
ldr w9, [x9]
stp w8, w9, [x19, #8]
Lloh10:
adrp x1, l_.str.2@PAGE
Lloh11:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
bl _DBG
mov x0, x22
bl _gether_connect
mov x19, x0
bl _IS_ERR
cbz x0, LBB0_8
; %bb.10:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _PTR_ERR
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "reset eem\n"
l_.str.1: ; @.str.1
.asciz "init eem\n"
.comm _DEFAULT_FILTER,4,2 ; @DEFAULT_FILTER
l_.str.2: ; @.str.2
.asciz "activate eem\n"
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _eem_set_alt
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/gadget/function/extr_f_eem.c_eem_set_alt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ksched_rr_get_interval ## -- Begin function ksched_rr_get_interval
.p2align 4, 0x90
_ksched_rr_get_interval: ## @ksched_rr_get_interval
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
movl %eax, (%rdx)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ksched_rr_get_interval ; -- Begin function ksched_rr_get_interval
.p2align 2
_ksched_rr_get_interval: ; @ksched_rr_get_interval
.cfi_startproc
; %bb.0:
ldr w8, [x0]
str w8, [x2]
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/kern/extr_ksched.c_ksched_rr_get_interval.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insert_conn_query_into_list ## -- Begin function insert_conn_query_into_list
.p2align 4, 0x90
_insert_conn_query_into_list: ## @insert_conn_query_into_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq %rsi, 48(%rdi)
movq 40(%rsi), %rax
movq %rax, 40(%rdi)
movq 40(%rsi), %rax
movq %rdi, 48(%rax)
movq %rdi, 40(%rsi)
movq 24(%rdi), %rdi
callq _assert
movq 24(%rbx), %rax
movl 4(%rax), %ecx
movl %ecx, 32(%rbx)
incl (%rax)
movq $0, 16(%rbx)
movq _conn_event_wakeup_gateway@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rbx)
cmpq $0, (%rbx)
jle LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _insert_event_timer
LBB0_2:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _conn_event_wakeup_gateway,4,2 ## @conn_event_wakeup_gateway
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insert_conn_query_into_list ; -- Begin function insert_conn_query_into_list
.p2align 2
_insert_conn_query_into_list: ; @insert_conn_query_into_list
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x1, #40]
stp x8, x1, [x0, #40]
ldr x8, [x1, #40]
str x0, [x8, #48]
str x0, [x1, #40]
ldr x0, [x0, #24]
bl _assert
ldr x8, [x19, #24]
ldp w10, w9, [x8]
str w9, [x19, #32]
add w9, w10, #1
str w9, [x8]
str xzr, [x19, #16]
Lloh0:
adrp x8, _conn_event_wakeup_gateway@GOTPAGE
Lloh1:
ldr x8, [x8, _conn_event_wakeup_gateway@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x19, #8]
ldr x8, [x19]
cmp x8, #1
b.lt LBB0_2
; %bb.1:
mov x0, x19
bl _insert_event_timer
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _conn_event_wakeup_gateway,4,2 ; @conn_event_wakeup_gateway
.subsections_via_symbols
| AnghaBench/kphp-kdb/net/extr_net-connections.c_insert_conn_query_into_list.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cpwriter
_cpwriter: ## @cpwriter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %rbx
movq %rsi, %r14
callq _UNUSED
movq %r14, %rdi
callq _UNUSED
leaq 4(%rbx), %rdi
movl $1024, %esi ## imm = 0x400
callq _lj_buf_need
movq %rbx, %rdi
callq _bcwrite_header
movl (%rbx), %esi
movq %rbx, %rdi
callq _bcwrite_proto
movq %rbx, %rdi
callq _bcwrite_footer
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _cpwriter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cpwriter
_cpwriter: ; @cpwriter
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
mov x20, x1
bl _UNUSED
mov x0, x20
bl _UNUSED
add x0, x19, #4
mov w1, #1024
bl _lj_buf_need
mov x0, x19
bl _bcwrite_header
ldr w1, [x19]
mov x0, x19
bl _bcwrite_proto
mov x0, x19
bl _bcwrite_footer
mov x0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _cpwriter
.subsections_via_symbols
| AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_bcwrite.c_cpwriter.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function enet_dma_readl
_enet_dma_readl: ## @enet_dma_readl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rdi
movq _bcm_enet_shared_base@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq (%rax), %rdi
popq %rbp
jmp _bcm_readl ## TAILCALL
.cfi_endproc
## -- End function
.comm _bcm_enet_shared_base,8,3 ## @bcm_enet_shared_base
.no_dead_strip _enet_dma_readl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function enet_dma_readl
_enet_dma_readl: ; @enet_dma_readl
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _bcm_enet_shared_base@GOTPAGE
Lloh1:
ldr x8, [x8, _bcm_enet_shared_base@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x8, [x8]
add x0, x8, x1
b _bcm_readl
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _bcm_enet_shared_base,8,3 ; @bcm_enet_shared_base
.no_dead_strip _enet_dma_readl
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/broadcom/extr_bcm63xx_enet.c_enet_dma_readl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function spu_hw_master_start
_spu_hw_master_start: ## @spu_hw_master_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq (%rdi), %rbx
movq %rbx, %rdi
callq _spin_lock_irq
movq %rbx, %rdi
callq _spu_mfc_sr1_get
movq _MFC_STATE1_MASTER_RUN_CONTROL_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq %rbx, %rdi
movl %eax, %esi
callq _spu_mfc_sr1_set
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _spin_unlock_irq ## TAILCALL
.cfi_endproc
## -- End function
.comm _MFC_STATE1_MASTER_RUN_CONTROL_MASK,4,2 ## @MFC_STATE1_MASTER_RUN_CONTROL_MASK
.no_dead_strip _spu_hw_master_start
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function spu_hw_master_start
_spu_hw_master_start: ; @spu_hw_master_start
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x19, [x0]
mov x0, x19
bl _spin_lock_irq
mov x0, x19
bl _spu_mfc_sr1_get
Lloh0:
adrp x8, _MFC_STATE1_MASTER_RUN_CONTROL_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _MFC_STATE1_MASTER_RUN_CONTROL_MASK@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
orr w1, w8, w0
mov x0, x19
bl _spu_mfc_sr1_set
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _spin_unlock_irq
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MFC_STATE1_MASTER_RUN_CONTROL_MASK,4,2 ; @MFC_STATE1_MASTER_RUN_CONTROL_MASK
.no_dead_strip _spu_hw_master_start
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/platforms/cell/spufs/extr_hw_ops.c_spu_hw_master_start.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function isPrime
LCPI0_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _isPrime
.p2align 4, 0x90
_isPrime: ## @isPrime
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cvtsi2sd %edi, %xmm0
sqrtsd %xmm0, %xmm0
movl $1, %ecx
ucomisd LCPI0_0(%rip), %xmm0
jbe LBB0_5
## %bb.1:
movl $2, %esi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %edi, %eax
cltd
idivl %esi
testl %edx, %edx
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
incl %esi
xorps %xmm1, %xmm1
cvtsi2sd %esi, %xmm1
ucomisd %xmm1, %xmm0
ja LBB0_3
jmp LBB0_5
LBB0_4:
xorl %ecx, %ecx
LBB0_5:
movl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -4(%rbp), %r9d
cvtsi2sd %r9d, %xmm0
sqrtsd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
ucomisd LCPI1_0(%rip), %xmm0
jbe LBB1_5
## %bb.1:
movl $3, %ecx
leaq L_.str.3(%rip), %r8
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
leal -1(%rcx), %esi
movl %r9d, %eax
cltd
idivl %esi
testl %edx, %edx
je LBB1_4
## %bb.2: ## in Loop: Header=BB1_3 Depth=1
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
incl %ecx
ucomisd %xmm1, %xmm0
ja LBB1_3
jmp LBB1_5
LBB1_4:
movq %r8, %rdi
LBB1_5:
movl %r9d, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d is a prime number.\n"
L_.str.3: ## @.str.3
.asciz "%d is not a prime number.\n"
L_str: ## @str
.asciz "Input a number to see if it is a prime number:"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isPrime ; -- Begin function isPrime
.p2align 2
_isPrime: ; @isPrime
.cfi_startproc
; %bb.0:
scvtf d0, w0
fsqrt d0, d0
fmov d1, #2.00000000
fcmp d0, d1
b.le LBB0_4
; %bb.1:
mov w8, #2
LBB0_2: ; =>This Inner Loop Header: Depth=1
sdiv w9, w0, w8
msub w9, w9, w8, w0
cbz w9, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add w8, w8, #1
scvtf d1, w8
fcmp d0, d1
b.gt LBB0_2
LBB0_4:
mov w0, #1
ret
LBB0_5:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
scvtf d0, w8
fsqrt d0, d0
fmov d1, #2.00000000
fcmp d0, d1
b.le LBB1_4
; %bb.1:
mov w10, #3
Lloh4:
adrp x9, l_.str.3@PAGE
Lloh5:
add x9, x9, l_.str.3@PAGEOFF
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
sub w11, w10, #1
sdiv w12, w8, w11
msub w11, w12, w11, w8
cbz w11, LBB1_5
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
scvtf d1, w10
add w10, w10, #1
fcmp d0, d1
b.gt LBB1_2
b LBB1_6
LBB1_4:
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
b LBB1_6
LBB1_5:
mov x0, x9
LBB1_6:
str x8, [sp]
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d is a prime number.\n"
l_.str.3: ; @.str.3
.asciz "%d is not a prime number.\n"
l_str: ; @str
.asciz "Input a number to see if it is a prime number:"
.subsections_via_symbols
| the_stack_data/148556.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function perf_mmap__read_head
_perf_mmap__read_head: ## @perf_mmap__read_head
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
popq %rbp
jmp _ring_buffer_read_head ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _perf_mmap__read_head
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function perf_mmap__read_head
_perf_mmap__read_head: ; @perf_mmap__read_head
.cfi_startproc
; %bb.0:
ldr w0, [x0]
b _ring_buffer_read_head
.cfi_endproc
; -- End function
.no_dead_strip _perf_mmap__read_head
.subsections_via_symbols
| AnghaBench/linux/tools/perf/extr_utilmmap.h_perf_mmap__read_head.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function port_change
_port_change: ## @port_change
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
testl %edx, %edx
leaq L_.str.2(%rip), %rax
leaq L_.str.1(%rip), %rdx
cmoveq %rax, %rdx
leaq L_.str(%rip), %rsi
movq _IB_EVENT_PORT_ACTIVE@GOTPCREL(%rip), %rbx
cmoveq _IB_EVENT_PORT_ERR@GOTPCREL(%rip), %rbx
movl %r14d, %ecx
callq _mthca_dbg
movq %r15, -32(%rbp)
movl (%rbx), %eax
movl %eax, -36(%rbp)
movl %r14d, -40(%rbp)
leaq -40(%rbp), %rdi
callq _ib_dispatch_event
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Port change to %s for port %d\n"
L_.str.1: ## @.str.1
.asciz "active"
L_.str.2: ## @.str.2
.asciz "down"
.comm _IB_EVENT_PORT_ACTIVE,4,2 ## @IB_EVENT_PORT_ACTIVE
.comm _IB_EVENT_PORT_ERR,4,2 ## @IB_EVENT_PORT_ERR
.no_dead_strip _port_change
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function port_change
_port_change: ; @port_change
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, l_.str.1@PAGE
Lloh1:
add x8, x8, l_.str.1@PAGEOFF
Lloh2:
adrp x9, l_.str.2@PAGE
Lloh3:
add x9, x9, l_.str.2@PAGEOFF
cmp w2, #0
csel x2, x9, x8, eq
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
Lloh6:
adrp x8, _IB_EVENT_PORT_ACTIVE@GOTPAGE
Lloh7:
ldr x8, [x8, _IB_EVENT_PORT_ACTIVE@GOTPAGEOFF]
Lloh8:
adrp x9, _IB_EVENT_PORT_ERR@GOTPAGE
Lloh9:
ldr x9, [x9, _IB_EVENT_PORT_ERR@GOTPAGEOFF]
csel x21, x9, x8, eq
mov x3, x19
bl _mthca_dbg
str x20, [sp, #8]
ldr w8, [x21]
stp w19, w8, [sp]
mov x0, sp
bl _ib_dispatch_event
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Port change to %s for port %d\n"
l_.str.1: ; @.str.1
.asciz "active"
l_.str.2: ; @.str.2
.asciz "down"
.comm _IB_EVENT_PORT_ACTIVE,4,2 ; @IB_EVENT_PORT_ACTIVE
.comm _IB_EVENT_PORT_ERR,4,2 ; @IB_EVENT_PORT_ERR
.no_dead_strip _port_change
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/mthca/extr_mthca_eq.c_port_change.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/861490.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pt_section_unlock
_pt_section_unlock: ## @pt_section_unlock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _pte_internal@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
xorl %ecx, %ecx
testq %rdi, %rdi
cmovnel %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _pte_internal,4,2 ## @pte_internal
.comm _pte_bad_lock,4,2 ## @pte_bad_lock
.comm _thrd_success,4,2 ## @thrd_success
.no_dead_strip _pt_section_unlock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pt_section_unlock
_pt_section_unlock: ; @pt_section_unlock
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _pte_internal@GOTPAGE
Lloh1:
ldr x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp x0, #0
csneg w0, wzr, w8, ne
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _pte_internal,4,2 ; @pte_internal
.comm _pte_bad_lock,4,2 ; @pte_bad_lock
.comm _thrd_success,4,2 ; @thrd_success
.no_dead_strip _pt_section_unlock
.subsections_via_symbols
| AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-image_section_cache.c_pt_section_unlock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function patch_wolfson_wm9713_3d
_patch_wolfson_wm9713_3d: ## @patch_wolfson_wm9713_3d
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _wm13_snd_ac97_controls_3d@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_5
## %bb.1:
xorl %r13d, %r13d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movl (%rax), %r12d
movq (%r15), %rdi
addq %r13, %rdi
movq %r14, %rsi
callq _snd_ac97_cnew
movl %r12d, %edi
movl %eax, %esi
callq _snd_ctl_add
testl %eax, %eax
js LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movq (%r15), %rdi
callq _ARRAY_SIZE
cltq
addq $4, %r13
cmpq %rax, %rbx
jl LBB0_2
LBB0_5:
xorl %eax, %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _wm13_snd_ac97_controls_3d,8,3 ## @wm13_snd_ac97_controls_3d
.no_dead_strip _patch_wolfson_wm9713_3d
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function patch_wolfson_wm9713_3d
_patch_wolfson_wm9713_3d: ; @patch_wolfson_wm9713_3d
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x21, _wm13_snd_ac97_controls_3d@GOTPAGE
Lloh1:
ldr x21, [x21, _wm13_snd_ac97_controls_3d@GOTPAGEOFF]
ldr x0, [x21]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_4
; %bb.1:
mov x22, #0
mov x23, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
ldr w20, [x8]
ldr x8, [x21]
add x0, x8, x22
mov x1, x19
bl _snd_ac97_cnew
mov x1, x0
mov x0, x20
bl _snd_ctl_add
tbnz w0, #31, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x23, x23, #1
ldr x0, [x21]
bl _ARRAY_SIZE
add x22, x22, #4
cmp x23, w0, sxtw
b.lt LBB0_2
LBB0_4:
mov w0, #0
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _wm13_snd_ac97_controls_3d,8,3 ; @wm13_snd_ac97_controls_3d
.no_dead_strip _patch_wolfson_wm9713_3d
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_patch.c_patch_wolfson_wm9713_3d.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xpad_close
_xpad_close: ## @xpad_close
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _input_get_drvdata
movq %rax, %rdi
popq %rbp
jmp _xpad_stop_input ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _xpad_close
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xpad_close
_xpad_close: ; @xpad_close
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _input_get_drvdata
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _xpad_stop_input
.cfi_endproc
; -- End function
.no_dead_strip _xpad_close
.subsections_via_symbols
| AnghaBench/linux/drivers/input/joystick/extr_xpad.c_xpad_close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function myrb_handle_scsi
_myrb_handle_scsi: ## @myrb_handle_scsi
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rsi, %rsi
je LBB0_8
## %bb.1:
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
movq %rdx, %r15
callq _scsi_dma_unmap
movq 24(%rbx), %rsi
testq %rsi, %rsi
je LBB0_3
## %bb.2:
movl 24(%r15), %edi
movl $64, %edx
callq _memcpy
movl 4(%r14), %edi
movq 24(%rbx), %rsi
movq 32(%rbx), %rdx
callq _dma_pool_free
movq $0, 24(%rbx)
LBB0_3:
movq 16(%rbx), %rsi
testq %rsi, %rsi
je LBB0_5
## %bb.4:
movl (%r14), %edi
movq 8(%rbx), %rdx
callq _dma_pool_free
xorps %xmm0, %xmm0
movups %xmm0, 8(%rbx)
LBB0_5:
movzwl (%rbx), %ecx
leal -128(%rcx), %eax
cmpw $6, %ax
ja LBB0_11
## %bb.6:
movzwl %ax, %eax
leaq LJTI0_0(%rip), %rdx
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
LBB0_7:
movq _DID_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $16, %eax
orl %ecx, %eax
jmp LBB0_20
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movq _KERN_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rdx
movq %r15, %rbx
movq %r15, %rsi
xorl %eax, %eax
callq _scmd_printk
movl 24(%r15), %esi
movl 28(%r15), %eax
movq _DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
movq _MEDIUM_ERROR@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
cmpl (%rcx), %eax
jne LBB0_18
## %bb.10:
xorl %edi, %edi
movl $17, %ecx
movl $4, %r8d
jmp LBB0_19
LBB0_11:
movq _KERN_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.5(%rip), %rdx
movq %r15, %rbx
movq %r15, %rsi
## kill: def $ecx killed $ecx killed $rcx
xorl %eax, %eax
callq _scmd_printk
movq %r15, %rdi
movq _DID_ERROR@GOTPCREL(%rip), %rax
jmp LBB0_15
LBB0_12:
movq 16(%r15), %rdi
leaq L_.str.2(%rip), %rsi
jmp LBB0_14
LBB0_13:
movq 16(%r15), %rdi
leaq L_.str.4(%rip), %rsi
LBB0_14:
callq _dev_dbg
movq %r15, %rdi
movq _DID_BAD_TARGET@GOTPCREL(%rip), %rax
LBB0_15:
movl (%rax), %eax
shll $16, %eax
jmp LBB0_21
LBB0_16:
movq 16(%r15), %rdi
leaq L_.str(%rip), %rsi
callq _dev_dbg
movl 24(%r15), %esi
movl 28(%r15), %eax
movq _DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpl (%rcx), %eax
sete %dil
movq _MEDIUM_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edx
leal (%rdi,%rdi,4), %ecx
addl $12, %ecx
xorl %edi, %edi
xorl %r8d, %r8d
callq _scsi_build_sense_buffer
movq %r15, %rdi
movq _DID_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $16, %eax
movq _SAM_STAT_CHECK_CONDITION@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
jmp LBB0_21
LBB0_17:
movq 16(%r15), %rdi
leaq L_.str.3(%rip), %rsi
callq _dev_dbg
movl 24(%r15), %esi
movq _NOT_READY@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %edi, %edi
movl $33, %ecx
xorl %r8d, %r8d
callq _scsi_build_sense_buffer
movq %r15, %rdi
jmp LBB0_22
LBB0_18:
xorl %edi, %edi
movl $12, %ecx
movl $2, %r8d
LBB0_19:
callq _scsi_build_sense_buffer
movq _DID_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $16, %eax
movq _SAM_STAT_CHECK_CONDITION@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
LBB0_20:
movq %r15, %rdi
LBB0_21:
movl %eax, (%r15)
LBB0_22:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *8(%rdi) ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
.long L0_0_set_7
.long L0_0_set_12
.long L0_0_set_9
.long L0_0_set_13
.long L0_0_set_7
.long L0_0_set_16
.long L0_0_set_17
.end_data_region
## -- End function
.comm _DID_OK,4,2 ## @DID_OK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Bad Data Encountered\n"
.comm _DMA_FROM_DEVICE,4,2 ## @DMA_FROM_DEVICE
.comm _MEDIUM_ERROR,4,2 ## @MEDIUM_ERROR
.comm _SAM_STAT_CHECK_CONDITION,4,2 ## @SAM_STAT_CHECK_CONDITION
.comm _KERN_ERR,4,2 ## @KERN_ERR
L_.str.1: ## @.str.1
.asciz "Irrecoverable Data Error\n"
L_.str.2: ## @.str.2
.asciz "Logical Drive Nonexistent or Offline"
.comm _DID_BAD_TARGET,4,2 ## @DID_BAD_TARGET
L_.str.3: ## @.str.3
.asciz "Attempt to Access Beyond End of Logical Drive"
.comm _NOT_READY,4,2 ## @NOT_READY
L_.str.4: ## @.str.4
.asciz "Device nonresponsive\n"
L_.str.5: ## @.str.5
.asciz "Unexpected Error Status %04X"
.comm _DID_ERROR,4,2 ## @DID_ERROR
.no_dead_strip _myrb_handle_scsi
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function myrb_handle_scsi
_myrb_handle_scsi: ; @myrb_handle_scsi
.cfi_startproc
; %bb.0:
cbz x1, LBB0_8
; %bb.1:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_remember_state
mov x19, x2
mov x20, x1
mov x21, x0
mov x0, x2
bl _scsi_dma_unmap
ldr x1, [x20, #24]
cbz x1, LBB0_3
; %bb.2:
ldr w0, [x19, #24]
mov w2, #64
bl _memcpy
ldr w0, [x21, #4]
ldp x1, x2, [x20, #24]
bl _dma_pool_free
str xzr, [x20, #24]
LBB0_3:
ldr x1, [x20, #16]
cbz x1, LBB0_5
; %bb.4:
ldr w0, [x21]
ldr x2, [x20, #8]
bl _dma_pool_free
stp xzr, xzr, [x20, #8]
LBB0_5:
ldrh w8, [x20]
sub w9, w8, #128
cmp w9, #6
b.hi LBB0_11
; %bb.6:
Lloh0:
adrp x10, lJTI0_0@PAGE
Lloh1:
add x10, x10, lJTI0_0@PAGEOFF
adr x11, LBB0_7
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
LBB0_7:
Lloh2:
adrp x9, _DID_OK@GOTPAGE
Lloh3:
ldr x9, [x9, _DID_OK@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
bfi w8, w9, #16, #16
str w8, [x19]
b LBB0_21
LBB0_8:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
.cfi_same_value w21
.cfi_same_value w22
ret
LBB0_9:
.cfi_restore_state
Lloh5:
adrp x8, _KERN_ERR@GOTPAGE
Lloh6:
ldr x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
Lloh8:
adrp x2, l_.str.1@PAGE
Lloh9:
add x2, x2, l_.str.1@PAGEOFF
mov x1, x19
bl _scmd_printk
Lloh10:
adrp x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh11:
ldr x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
ldp w1, w9, [x19, #24]
Lloh13:
adrp x10, _MEDIUM_ERROR@GOTPAGE
Lloh14:
ldr x10, [x10, _MEDIUM_ERROR@GOTPAGEOFF]
Lloh15:
ldr w2, [x10]
cmp w9, w8
b.ne LBB0_18
; %bb.10:
mov w0, #0
mov w3, #17
mov w4, #4
b LBB0_19
LBB0_11:
Lloh16:
adrp x9, _KERN_ERR@GOTPAGE
Lloh17:
ldr x9, [x9, _KERN_ERR@GOTPAGEOFF]
Lloh18:
ldr w0, [x9]
str x8, [sp]
Lloh19:
adrp x2, l_.str.5@PAGE
Lloh20:
add x2, x2, l_.str.5@PAGEOFF
mov x1, x19
bl _scmd_printk
Lloh21:
adrp x8, _DID_ERROR@GOTPAGE
Lloh22:
ldr x8, [x8, _DID_ERROR@GOTPAGEOFF]
b LBB0_15
LBB0_12:
ldr x0, [x19, #16]
Lloh23:
adrp x1, l_.str.2@PAGE
Lloh24:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_14
LBB0_13:
ldr x0, [x19, #16]
Lloh25:
adrp x1, l_.str.4@PAGE
Lloh26:
add x1, x1, l_.str.4@PAGEOFF
LBB0_14:
bl _dev_dbg
Lloh27:
adrp x8, _DID_BAD_TARGET@GOTPAGE
Lloh28:
ldr x8, [x8, _DID_BAD_TARGET@GOTPAGEOFF]
LBB0_15:
ldr w8, [x8]
lsl w8, w8, #16
b LBB0_20
LBB0_16:
ldr x0, [x19, #16]
Lloh29:
adrp x1, l_.str@PAGE
Lloh30:
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
Lloh31:
adrp x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh32:
ldr x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
Lloh34:
adrp x9, _MEDIUM_ERROR@GOTPAGE
Lloh35:
ldr x9, [x9, _MEDIUM_ERROR@GOTPAGEOFF]
ldp w1, w10, [x19, #24]
Lloh36:
ldr w2, [x9]
mov w9, #12
mov w11, #17
cmp w10, w8
csel w3, w11, w9, eq
mov w0, #0
mov w4, #0
b LBB0_19
LBB0_17:
ldr x0, [x19, #16]
Lloh37:
adrp x1, l_.str.3@PAGE
Lloh38:
add x1, x1, l_.str.3@PAGEOFF
bl _dev_dbg
ldr w1, [x19, #24]
Lloh39:
adrp x8, _NOT_READY@GOTPAGE
Lloh40:
ldr x8, [x8, _NOT_READY@GOTPAGEOFF]
Lloh41:
ldr w2, [x8]
mov w0, #0
mov w3, #33
mov w4, #0
bl _scsi_build_sense_buffer
b LBB0_21
LBB0_18:
mov w0, #0
mov w3, #12
mov w4, #2
LBB0_19:
bl _scsi_build_sense_buffer
Lloh42:
adrp x8, _DID_OK@GOTPAGE
Lloh43:
ldr x8, [x8, _DID_OK@GOTPAGEOFF]
Lloh44:
ldr w8, [x8]
Lloh45:
adrp x9, _SAM_STAT_CHECK_CONDITION@GOTPAGE
Lloh46:
ldr x9, [x9, _SAM_STAT_CHECK_CONDITION@GOTPAGEOFF]
Lloh47:
ldr w9, [x9]
orr w8, w9, w8, lsl #16
LBB0_20:
str w8, [x19]
LBB0_21:
ldr x1, [x19, #8]
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
br x1
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_7-LBB0_7)>>2
.byte (LBB0_12-LBB0_7)>>2
.byte (LBB0_9-LBB0_7)>>2
.byte (LBB0_13-LBB0_7)>>2
.byte (LBB0_7-LBB0_7)>>2
.byte (LBB0_16-LBB0_7)>>2
.byte (LBB0_17-LBB0_7)>>2
; -- End function
.comm _DID_OK,4,2 ; @DID_OK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Bad Data Encountered\n"
.comm _DMA_FROM_DEVICE,4,2 ; @DMA_FROM_DEVICE
.comm _MEDIUM_ERROR,4,2 ; @MEDIUM_ERROR
.comm _SAM_STAT_CHECK_CONDITION,4,2 ; @SAM_STAT_CHECK_CONDITION
.comm _KERN_ERR,4,2 ; @KERN_ERR
l_.str.1: ; @.str.1
.asciz "Irrecoverable Data Error\n"
l_.str.2: ; @.str.2
.asciz "Logical Drive Nonexistent or Offline"
.comm _DID_BAD_TARGET,4,2 ; @DID_BAD_TARGET
l_.str.3: ; @.str.3
.asciz "Attempt to Access Beyond End of Logical Drive"
.comm _NOT_READY,4,2 ; @NOT_READY
l_.str.4: ; @.str.4
.asciz "Device nonresponsive\n"
l_.str.5: ; @.str.5
.asciz "Unexpected Error Status %04X"
.comm _DID_ERROR,4,2 ; @DID_ERROR
.no_dead_strip _myrb_handle_scsi
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/extr_myrb.c_myrb_handle_scsi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function src_set_pitch
_src_set_pitch: ## @src_set_pitch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %edx
movq %rdi, %rbx
addq $4, %rdi
movq _MPRLH_PITCH@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _set_field
movl $1, (%rbx)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MPRLH_PITCH,4,2 ## @MPRLH_PITCH
.no_dead_strip _src_set_pitch
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function src_set_pitch
_src_set_pitch: ; @src_set_pitch
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x2, x1
mov x19, x0
add x0, x0, #4
Lloh0:
adrp x8, _MPRLH_PITCH@GOTPAGE
Lloh1:
ldr x8, [x8, _MPRLH_PITCH@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _set_field
mov w8, #1
str w8, [x19]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MPRLH_PITCH,4,2 ; @MPRLH_PITCH
.no_dead_strip _src_set_pitch
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_src_set_pitch.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function omap4_dpll_lpmode_recalc
_omap4_dpll_lpmode_recalc: ## @omap4_dpll_lpmode_recalc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl 20(%rdi), %edi
callq _clk_hw_get_rate
movl (%rbx), %ecx
incl %ecx
cltd
idivl %ecx
cltq
movq _OMAP4_DPLL_LP_FINT_MAX@GOTPCREL(%rip), %rcx
cmpq %rax, (%rcx)
jle LBB0_2
## %bb.1:
imulq 8(%rbx), %rax
movq _OMAP4_DPLL_LP_FOUT_MAX@GOTPCREL(%rip), %rdx
movl $1, %ecx
cmpq (%rdx), %rax
jl LBB0_3
LBB0_2:
xorl %ecx, %ecx
LBB0_3:
movl %ecx, 16(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OMAP4_DPLL_LP_FINT_MAX,8,3 ## @OMAP4_DPLL_LP_FINT_MAX
.comm _OMAP4_DPLL_LP_FOUT_MAX,8,3 ## @OMAP4_DPLL_LP_FOUT_MAX
.no_dead_strip _omap4_dpll_lpmode_recalc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function omap4_dpll_lpmode_recalc
_omap4_dpll_lpmode_recalc: ; @omap4_dpll_lpmode_recalc
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0, #20]
bl _clk_hw_get_rate
ldr w8, [x19]
add w8, w8, #1
sdiv w8, w0, w8
sxtw x8, w8
Lloh0:
adrp x9, _OMAP4_DPLL_LP_FINT_MAX@GOTPAGE
Lloh1:
ldr x9, [x9, _OMAP4_DPLL_LP_FINT_MAX@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x9, x8
b.le LBB0_3
; %bb.1:
ldr x9, [x19, #8]
mul x8, x9, x8
Lloh3:
adrp x9, _OMAP4_DPLL_LP_FOUT_MAX@GOTPAGE
Lloh4:
ldr x9, [x9, _OMAP4_DPLL_LP_FOUT_MAX@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ge LBB0_3
; %bb.2:
mov w8, #1
b LBB0_4
LBB0_3:
mov w8, #0
LBB0_4:
str w8, [x19, #16]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _OMAP4_DPLL_LP_FINT_MAX,8,3 ; @OMAP4_DPLL_LP_FINT_MAX
.comm _OMAP4_DPLL_LP_FOUT_MAX,8,3 ; @OMAP4_DPLL_LP_FOUT_MAX
.no_dead_strip _omap4_dpll_lpmode_recalc
.subsections_via_symbols
| AnghaBench/linux/drivers/clk/ti/extr_dpll44xx.c_omap4_dpll_lpmode_recalc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function alloc_expansion_token
_alloc_expansion_token: ## @alloc_expansion_token
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movl (%rdi), %edi
callq _BUFF_ROOM
cltq
movslq (%r14), %rcx
leaq 4(,%rcx,4), %rcx
cmpq %rax, %rcx
jbe LBB0_2
## %bb.1:
movq %rbx, %rdi
movq %rbx, %rsi
movl $4, %edx
callq __cpp_extend_buff
LBB0_2:
movl (%rbx), %edi
callq _BUFF_FRONT
movslq (%r14), %rcx
leal 1(%rcx), %edx
movl %edx, (%r14)
leaq (%rax,%rcx,4), %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _alloc_expansion_token
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function alloc_expansion_token
_alloc_expansion_token: ; @alloc_expansion_token
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
ldr w0, [x0]
bl _BUFF_ROOM
ldrsw x8, [x19]
lsl x8, x8, #2
add x8, x8, #4
cmp x8, w0, sxtw
b.ls LBB0_2
; %bb.1:
mov x0, x20
mov x1, x20
mov w2, #4
bl __cpp_extend_buff
LBB0_2:
ldr w0, [x20]
bl _BUFF_FRONT
ldrsw x8, [x19]
add w9, w8, #1
str w9, [x19]
add x0, x0, x8, lsl #2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _alloc_expansion_token
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_macro.c_alloc_expansion_token.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _os_get_executable_path_ptr ## -- Begin function os_get_executable_path_ptr
.p2align 4, 0x90
_os_get_executable_path_ptr: ## @os_get_executable_path_ptr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq _PATH_MAX@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
leaq L_.str(%rip), %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _readlink
cmpl $-1, %eax
je LBB0_7
## %bb.1:
movq %r15, %rdi
callq _dirname
testq %rax, %rax
je LBB0_7
## %bb.2:
leaq -40(%rbp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq _dstr_init_copy
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _dstr_cat
testq %r14, %r14
je LBB0_5
## %bb.3:
cmpb $0, (%r14)
je LBB0_5
## %bb.4:
leaq -40(%rbp), %rdi
movq %r14, %rsi
callq _dstr_cat
LBB0_5:
movq -40(%rbp), %rax
jmp LBB0_8
LBB0_7:
xorl %eax, %eax
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -32(%rbp), %rcx
jne LBB0_10
## %bb.9:
leaq -24(%rbp), %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _PATH_MAX,4,2 ## @PATH_MAX
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/proc/self/exe"
L_.str.1: ## @.str.1
.asciz "/"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _os_get_executable_path_ptr ; -- Begin function os_get_executable_path_ptr
.p2align 2
_os_get_executable_path_ptr: ; @os_get_executable_path_ptr
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
sub sp, sp, #16
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh3:
adrp x8, _PATH_MAX@GOTPAGE
Lloh4:
ldr x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov x9, x2
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x2, #15
and x9, x9, #0x1fffffff0
sub x20, x8, x9
mov sp, x20
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
; kill: def $w2 killed $w2 killed $x2
bl _readlink
cmn w0, #1
b.eq LBB0_6
; %bb.1:
mov x0, x20
bl _dirname
cbz x0, LBB0_7
; %bb.2:
mov x1, x0
sub x0, x29, #32
bl _dstr_init_copy
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
sub x0, x29, #32
bl _dstr_cat
cbz x19, LBB0_5
; %bb.3:
ldrb w8, [x19]
cbz w8, LBB0_5
; %bb.4:
sub x0, x29, #32
mov x1, x19
bl _dstr_cat
LBB0_5:
ldur x0, [x29, #-32]
b LBB0_7
LBB0_6:
mov x0, #0
LBB0_7:
ldur x8, [x29, #-24]
Lloh12:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh13:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_9
; %bb.8:
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_9:
bl ___stack_chk_fail
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _PATH_MAX,4,2 ; @PATH_MAX
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/proc/self/exe"
l_.str.1: ; @.str.1
.asciz "/"
.subsections_via_symbols
| AnghaBench/obs-studio/libobs/util/extr_platform-nix.c_os_get_executable_path_ptr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x3f800000 ## float 1
LCPI0_1:
.long 0x40000000 ## float 2
LCPI0_2:
.long 0x40400000 ## float 3
LCPI0_3:
.long 0x40800000 ## float 4
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rbx
leaq -16(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -12(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -20(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss LCPI0_0(%rip), %xmm0
jne LBB0_3
jp LBB0_3
## %bb.1:
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -12(%rbp), %xmm0
jmp LBB0_2
LBB0_3:
ucomiss LCPI0_1(%rip), %xmm0
jne LBB0_5
jp LBB0_5
## %bb.4:
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -12(%rbp), %xmm0
jmp LBB0_2
LBB0_5:
ucomiss LCPI0_2(%rip), %xmm0
jne LBB0_7
jp LBB0_7
## %bb.6:
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -12(%rbp), %xmm0
jmp LBB0_2
LBB0_7:
ucomiss LCPI0_3(%rip), %xmm0
jne LBB0_9
jp LBB0_9
## %bb.8:
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -12(%rbp), %xmm0
LBB0_2:
cvtss2sd %xmm0, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
LBB0_10:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
LBB0_9:
leaq L_str(%rip), %rdi
callq _puts
jmp LBB0_10
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Informe o Primeiro Um Valor: "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "Informe o Segundo Um Valor: "
L_.str.3: ## @.str.3
.asciz "Informe 1.Adi\303\247\303\243o, 2.Subtra\303\247\303\243o, 3.Divis\303\243o, 4.Multiplica\303\247\303\243o dos valores: "
L_.str.4: ## @.str.4
.asciz "Result: %.2f\n"
L_str: ## @str
.asciz "Operacao Informada Nao Confere Com as Descritas Acima !!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #20
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x8, sp, #24
str x8, [sp]
mov x0, x19
bl _scanf
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add x8, sp, #20
str x8, [sp]
mov x0, x19
bl _scanf
ldr s0, [sp, #20]
fmov s1, #1.00000000
fcmp s0, s1
b.ne LBB0_2
; %bb.1:
ldur s0, [x29, #-20]
ldr s1, [sp, #24]
fadd s0, s0, s1
b LBB0_8
LBB0_2:
fmov s1, #2.00000000
fcmp s0, s1
b.ne LBB0_4
; %bb.3:
ldur s0, [x29, #-20]
ldr s1, [sp, #24]
fsub s0, s0, s1
b LBB0_8
LBB0_4:
fmov s1, #3.00000000
fcmp s0, s1
b.ne LBB0_6
; %bb.5:
ldur s0, [x29, #-20]
ldr s1, [sp, #24]
fdiv s0, s0, s1
b LBB0_8
LBB0_6:
fmov s1, #4.00000000
fcmp s0, s1
b.ne LBB0_10
; %bb.7:
ldur s0, [x29, #-20]
ldr s1, [sp, #24]
fmul s0, s0, s1
LBB0_8:
fcvt d0, s0
str d0, [sp]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
LBB0_9:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_10:
Lloh10:
adrp x0, l_str@PAGE
Lloh11:
add x0, x0, l_str@PAGEOFF
bl _puts
b LBB0_9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Informe o Primeiro Um Valor: "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "Informe o Segundo Um Valor: "
l_.str.3: ; @.str.3
.asciz "Informe 1.Adi\303\247\303\243o, 2.Subtra\303\247\303\243o, 3.Divis\303\243o, 4.Multiplica\303\247\303\243o dos valores: "
l_.str.4: ; @.str.4
.asciz "Result: %.2f\n"
l_str: ; @str
.asciz "Operacao Informada Nao Confere Com as Descritas Acima !!"
.subsections_via_symbols
| the_stack_data/247016862.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_hdac_regmap_add_vendor_verb ## -- Begin function snd_hdac_regmap_add_vendor_verb
.p2align 4, 0x90
_snd_hdac_regmap_add_vendor_verb: ## @snd_hdac_regmap_add_vendor_verb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
callq _snd_array_new
testq %rax, %rax
je LBB0_1
## %bb.2:
orl $2048, %ebx ## imm = 0x800
movl %ebx, (%rax)
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_hdac_regmap_add_vendor_verb ; -- Begin function snd_hdac_regmap_add_vendor_verb
.p2align 2
_snd_hdac_regmap_add_vendor_verb: ; @snd_hdac_regmap_add_vendor_verb
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _snd_array_new
cbz x0, LBB0_2
; %bb.1:
mov x8, x0
mov w0, #0
orr w9, w19, #0x800
str w9, [x8]
b LBB0_3
LBB0_2:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
| AnghaBench/linux/sound/hda/extr_hdac_regmap.c_snd_hdac_regmap_add_vendor_verb.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.