x86 stringlengths 122 5.97M | arm stringlengths 122 5.84M | file stringlengths 18 195 | source stringclasses 3
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rpcs_flush ## -- Begin function rpcs_flush
.p2align 4, 0x90
_rpcs_flush: ## @rpcs_flush
.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 _rpcs_flush ; -- Begin function rpcs_flush
.p2align 2
_rpcs_flush: ; @rpcs_flush
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/kphp-kdb/net/extr_net-rpc-server.c_rpcs_flush.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.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 %r9, -48(%rbp) ## 8-byte Spill
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %rdx
movq _vi0@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _fp@GOTPCREL(%rip), %r15
movq (%r15), %rdi
leaq L_.str(%rip), %rsi
callq _vfprintf
movq _vi1@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq (%r15), %rdi
leaq L_.str.1(%rip), %rsi
movq %r14, %rdx
callq _vfprintf
movq _vi2@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq (%r15), %rdi
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdx
callq _vfprintf
movq _vi3@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq (%r15), %rdi
leaq L_.str.3(%rip), %rsi
movq %r13, %rdx
callq _vfprintf
movq _vi4@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq (%r15), %rdi
leaq L_.str.4(%rip), %rsi
movq %r12, %rdx
callq _vfprintf
movq _vi5@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq (%r15), %rdi
leaq L_.str.5(%rip), %rsi
movq -48(%rbp), %rdx ## 8-byte Reload
callq _vfprintf
movq _vi6@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq (%r15), %rdi
leaq L_.str.6(%rip), %rsi
movq 16(%rbp), %rdx
callq _vfprintf
movq _vi7@GOTPCREL(%rip), %rax
movl $0, (%rax)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _vi0,4,2 ## @vi0
.comm _fp,8,3 ## @fp
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hello"
.comm _vi1,4,2 ## @vi1
L_.str.1: ## @.str.1
.asciz "hello\n"
.comm _vi2,4,2 ## @vi2
L_.str.2: ## @.str.2
.asciz "a"
.comm _vi3,4,2 ## @vi3
L_.str.3: ## @.str.3
.space 1
.comm _vi4,4,2 ## @vi4
L_.str.4: ## @.str.4
.asciz "%s"
.comm _vi5,4,2 ## @vi5
L_.str.5: ## @.str.5
.asciz "%c"
.comm _vi6,4,2 ## @vi6
L_.str.6: ## @.str.6
.asciz "%s\n"
.comm _vi7,4,2 ## @vi7
.comm _vi8,4,2 ## @vi8
.comm _vi9,4,2 ## @vi9
.comm _via,4,2 ## @via
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.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, x6
mov x20, x5
mov x21, x4
mov x22, x3
mov x23, x2
mov x24, x1
mov x2, x0
Lloh0:
adrp x8, _vi0@GOTPAGE
Lloh1:
ldr x8, [x8, _vi0@GOTPAGEOFF]
Lloh2:
str wzr, [x8]
Lloh3:
adrp x25, _fp@GOTPAGE
Lloh4:
ldr x25, [x25, _fp@GOTPAGEOFF]
ldr x0, [x25]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
bl _vfprintf
Lloh7:
adrp x8, _vi1@GOTPAGE
Lloh8:
ldr x8, [x8, _vi1@GOTPAGEOFF]
Lloh9:
str wzr, [x8]
ldr x0, [x25]
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
mov x2, x24
bl _vfprintf
Lloh12:
adrp x8, _vi2@GOTPAGE
Lloh13:
ldr x8, [x8, _vi2@GOTPAGEOFF]
Lloh14:
str wzr, [x8]
ldr x0, [x25]
Lloh15:
adrp x1, l_.str.2@PAGE
Lloh16:
add x1, x1, l_.str.2@PAGEOFF
mov x2, x23
bl _vfprintf
Lloh17:
adrp x8, _vi3@GOTPAGE
Lloh18:
ldr x8, [x8, _vi3@GOTPAGEOFF]
Lloh19:
str wzr, [x8]
ldr x0, [x25]
Lloh20:
adrp x1, l_.str.3@PAGE
Lloh21:
add x1, x1, l_.str.3@PAGEOFF
mov x2, x22
bl _vfprintf
Lloh22:
adrp x8, _vi4@GOTPAGE
Lloh23:
ldr x8, [x8, _vi4@GOTPAGEOFF]
Lloh24:
str wzr, [x8]
ldr x0, [x25]
Lloh25:
adrp x1, l_.str.4@PAGE
Lloh26:
add x1, x1, l_.str.4@PAGEOFF
mov x2, x21
bl _vfprintf
Lloh27:
adrp x8, _vi5@GOTPAGE
Lloh28:
ldr x8, [x8, _vi5@GOTPAGEOFF]
Lloh29:
str wzr, [x8]
ldr x0, [x25]
Lloh30:
adrp x1, l_.str.5@PAGE
Lloh31:
add x1, x1, l_.str.5@PAGEOFF
mov x2, x20
bl _vfprintf
Lloh32:
adrp x8, _vi6@GOTPAGE
Lloh33:
ldr x8, [x8, _vi6@GOTPAGEOFF]
Lloh34:
str wzr, [x8]
ldr x0, [x25]
Lloh35:
adrp x1, l_.str.6@PAGE
Lloh36:
add x1, x1, l_.str.6@PAGEOFF
mov x2, x19
bl _vfprintf
Lloh37:
adrp x8, _vi7@GOTPAGE
Lloh38:
ldr x8, [x8, _vi7@GOTPAGEOFF]
Lloh39:
str wzr, [x8]
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 AdrpLdrGotStr Lloh37, Lloh38, Lloh39
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotStr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotStr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotStr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotStr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _vi0,4,2 ; @vi0
.comm _fp,8,3 ; @fp
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hello"
.comm _vi1,4,2 ; @vi1
l_.str.1: ; @.str.1
.asciz "hello\n"
.comm _vi2,4,2 ; @vi2
l_.str.2: ; @.str.2
.asciz "a"
.comm _vi3,4,2 ; @vi3
l_.str.3: ; @.str.3
.space 1
.comm _vi4,4,2 ; @vi4
l_.str.4: ; @.str.4
.asciz "%s"
.comm _vi5,4,2 ; @vi5
l_.str.5: ; @.str.5
.asciz "%c"
.comm _vi6,4,2 ; @vi6
l_.str.6: ; @.str.6
.asciz "%s\n"
.comm _vi7,4,2 ; @vi7
.comm _vi8,4,2 ; @vi8
.comm _vi9,4,2 ; @vi9
.comm _via,4,2 ; @via
.subsections_via_symbols
| the_stack_data/206391994.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gen_vlan_vloffset_add
_gen_vlan_vloffset_add: ## @gen_vlan_vloffset_add
.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 %rcx, %r14
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r15
cmpl $0, (%rsi)
je LBB0_1
## %bb.2:
cmpl $-1, 4(%rbx)
je LBB0_3
LBB0_4:
movq _BPF_LD@GOTPCREL(%rip), %rax
movq _BPF_MEM@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
movq %r15, %rdi
callq _new_stmt
movl 4(%rbx), %ecx
movl %ecx, (%rax)
movq %r14, %rdi
movq %rax, %rsi
callq _sappend
movq _BPF_ALU@GOTPCREL(%rip), %rax
movq _BPF_ADD@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
movq _BPF_IMM@GOTPCREL(%rip), %rax
orl (%rax), %esi
movq %r15, %rdi
callq _new_stmt
movl %r12d, (%rax)
movq %r14, %rdi
movq %rax, %rsi
callq _sappend
movq _BPF_ST@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _new_stmt
movl 4(%rbx), %ecx
movl %ecx, (%rax)
movq %r14, %rdi
movq %rax, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _sappend ## TAILCALL
LBB0_1:
movl $1, (%rbx)
cmpl $-1, 4(%rbx)
jne LBB0_4
LBB0_3:
movq %r15, %rdi
callq _alloc_reg
movl %eax, 4(%rbx)
jmp LBB0_4
.cfi_endproc
## -- End function
.comm _BPF_LD,4,2 ## @BPF_LD
.comm _BPF_MEM,4,2 ## @BPF_MEM
.comm _BPF_ALU,4,2 ## @BPF_ALU
.comm _BPF_ADD,4,2 ## @BPF_ADD
.comm _BPF_IMM,4,2 ## @BPF_IMM
.comm _BPF_ST,4,2 ## @BPF_ST
.no_dead_strip _gen_vlan_vloffset_add
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gen_vlan_vloffset_add
_gen_vlan_vloffset_add: ; @gen_vlan_vloffset_add
.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, x3
mov x22, x2
mov x20, x1
mov x21, x0
ldr w8, [x1]
cbnz w8, LBB0_2
; %bb.1:
mov w8, #1
str w8, [x20]
LBB0_2:
ldr w8, [x20, #4]
cmn w8, #1
b.ne LBB0_4
; %bb.3:
mov x0, x21
bl _alloc_reg
str w0, [x20, #4]
LBB0_4:
Lloh0:
adrp x8, _BPF_LD@GOTPAGE
Lloh1:
ldr x8, [x8, _BPF_LD@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _BPF_MEM@GOTPAGE
Lloh4:
ldr x9, [x9, _BPF_MEM@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w1, w9, w8
mov x0, x21
bl _new_stmt
mov x1, x0
ldr w8, [x20, #4]
str w8, [x0]
mov x0, x19
bl _sappend
Lloh6:
adrp x8, _BPF_ALU@GOTPAGE
Lloh7:
ldr x8, [x8, _BPF_ALU@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _BPF_ADD@GOTPAGE
Lloh10:
ldr x9, [x9, _BPF_ADD@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
orr w8, w9, w8
Lloh12:
adrp x9, _BPF_IMM@GOTPAGE
Lloh13:
ldr x9, [x9, _BPF_IMM@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
orr w1, w8, w9
mov x0, x21
bl _new_stmt
mov x1, x0
str w22, [x0]
mov x0, x19
bl _sappend
Lloh15:
adrp x8, _BPF_ST@GOTPAGE
Lloh16:
ldr x8, [x8, _BPF_ST@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
mov x0, x21
bl _new_stmt
mov x1, x0
ldr w8, [x20, #4]
str w8, [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 _sappend
.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 _BPF_LD,4,2 ; @BPF_LD
.comm _BPF_MEM,4,2 ; @BPF_MEM
.comm _BPF_ALU,4,2 ; @BPF_ALU
.comm _BPF_ADD,4,2 ; @BPF_ADD
.comm _BPF_IMM,4,2 ; @BPF_IMM
.comm _BPF_ST,4,2 ; @BPF_ST
.no_dead_strip _gen_vlan_vloffset_add
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libpcap/extr_gencode.c_gen_vlan_vloffset_add.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trace_buffer_unlock_commit ## -- Begin function trace_buffer_unlock_commit
.p2align 4, 0x90
_trace_buffer_unlock_commit: ## @trace_buffer_unlock_commit
.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, %r8d
popq %rbp
jmp ___trace_buffer_unlock_commit ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trace_buffer_unlock_commit ; -- Begin function trace_buffer_unlock_commit
.p2align 2
_trace_buffer_unlock_commit: ; @trace_buffer_unlock_commit
.cfi_startproc
; %bb.0:
mov w4, #1
b ___trace_buffer_unlock_commit
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/kernel/trace/extr_trace.c_trace_buffer_unlock_commit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function int_md5_reset
_int_md5_reset: ## @int_md5_reset
.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), %rdi
popq %rbp
jmp _MD5Init ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _int_md5_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function int_md5_reset
_int_md5_reset: ; @int_md5_reset
.cfi_startproc
; %bb.0:
ldr x0, [x0]
b _MD5Init
.cfi_endproc
; -- End function
.no_dead_strip _int_md5_reset
.subsections_via_symbols
| AnghaBench/postgres/contrib/pgcrypto/extr_internal.c_int_md5_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _for_each_commit_graft ## -- Begin function for_each_commit_graft
.p2align 4, 0x90
_for_each_commit_graft: ## @for_each_commit_graft
.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 _the_repository@GOTPCREL(%rip), %r15
movq (%r15), %rax
movq (%rax), %rcx
cmpl $0, (%rcx)
js LBB0_1
## %bb.2:
movq %rsi, %rbx
movq %rdi, %r14
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%rcx), %rax
movl (%rax,%r12,4), %edi
movq %rbx, %rsi
callq *%r14
movq (%r15), %rcx
movq (%rcx), %rcx
movslq (%rcx), %rdx
cmpq %rdx, %r12
jge LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
incq %r12
testl %eax, %eax
je LBB0_3
jmp LBB0_5
LBB0_1:
xorl %eax, %eax
LBB0_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _the_repository,8,3 ## @the_repository
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _for_each_commit_graft ; -- Begin function for_each_commit_graft
.p2align 2
_for_each_commit_graft: ; @for_each_commit_graft
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
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 x21, _the_repository@GOTPAGE
Lloh1:
ldr x21, [x21, _the_repository@GOTPAGEOFF]
ldr x8, [x21]
ldr x8, [x8]
ldr w9, [x8]
tbnz w9, #31, LBB0_3
; %bb.1:
mov x19, x1
mov x20, x0
mov x22, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x8, #8]
ldr w0, [x8, x22, lsl #2]
mov x1, x19
blr x20
ldr x8, [x21]
ldr x8, [x8]
ldrsw x9, [x8]
cmp x22, x9
add x22, x22, #1
ccmp w0, #0, #0, lt
b.eq LBB0_2
b LBB0_4
LBB0_3:
mov w0, #0 ; =0x0
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
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _the_repository,8,3 ; @the_repository
.subsections_via_symbols
| assembly_file_94563.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _filter_Set ## -- Begin function filter_Set
.p2align 4, 0x90
_filter_Set: ## @filter_Set
.cfi_startproc
## %bb.0:
movslq 4(%rdi), %rcx
leal 2(%rcx), %edx
movl $-1, %eax
cmpl %edx, (%rdi)
jl LBB0_12
## %bb.1:
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), %rax
movl (%rax,%rcx,4), %edi
leaq L_.str(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_2
## %bb.3:
movq 8(%rbx), %rax
movslq 4(%rbx), %rcx
movl (%rax,%rcx,4), %edi
leaq L_.str.1(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_4
## %bb.5:
movq 8(%rbx), %rax
movslq 4(%rbx), %rcx
movl (%rax,%rcx,4), %edi
leaq L_.str.2(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_6
## %bb.7:
movq 8(%rbx), %rax
movslq 4(%rbx), %rcx
movl (%rax,%rcx,4), %edi
leaq L_.str.3(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_8
## %bb.10:
movq _LogWARN@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq 8(%rbx), %rax
movslq 4(%rbx), %rcx
movl (%rax,%rcx,4), %edx
leaq L_.str.4(%rip), %rsi
callq _log_Printf
movl $-1, %eax
jmp LBB0_11
LBB0_2:
movl $16, %eax
jmp LBB0_9
LBB0_4:
movl $12, %eax
jmp LBB0_9
LBB0_6:
movl $8, %eax
jmp LBB0_9
LBB0_8:
movl $4, %eax
LBB0_9:
movq 8(%rbx), %rcx
movq 16(%rbx), %rdi
movslq 4(%rbx), %rdx
movl %edx, %esi
notl %esi
addl (%rbx), %esi
shlq $2, %rdx
negq %rdx
addq %rcx, %rdx
addq $4, %rdx
movl (%rdi,%rax), %ecx
callq _filter_Parse
xorl %eax, %eax
LBB0_11:
addq $8, %rsp
popq %rbx
popq %rbp
LBB0_12:
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "in"
L_.str.1: ## @.str.1
.asciz "out"
L_.str.2: ## @.str.2
.asciz "dial"
L_.str.3: ## @.str.3
.asciz "alive"
.comm _LogWARN,4,2 ## @LogWARN
L_.str.4: ## @.str.4
.asciz "filter_Set: %s: Invalid filter name.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _filter_Set ; -- Begin function filter_Set
.p2align 2
_filter_Set: ; @filter_Set
.cfi_startproc
; %bb.0:
ldp w9, w8, [x0]
; kill: def $w8 killed $w8 def $x8
sxtw x8, w8
add w10, w8, #2
cmp w9, w10
b.ge LBB0_2
; %bb.1:
mov w0, #-1 ; =0xffffffff
ret
LBB0_2:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
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 x9, [x0, #8]
ldr w0, [x9, x8, lsl #2]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cbz w0, LBB0_7
; %bb.3:
ldr x8, [x19, #8]
ldrsw x9, [x19, #4]
ldr w0, [x8, x9, lsl #2]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
cbz w0, LBB0_8
; %bb.4:
ldr x8, [x19, #8]
ldrsw x9, [x19, #4]
ldr w0, [x8, x9, lsl #2]
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
bl _strcmp
cbz w0, LBB0_9
; %bb.5:
ldr x8, [x19, #8]
ldrsw x9, [x19, #4]
ldr w0, [x8, x9, lsl #2]
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
cbz w0, LBB0_10
; %bb.6:
Lloh8:
adrp x8, _LogWARN@GOTPAGE
Lloh9:
ldr x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
ldr x8, [x19, #8]
ldrsw x9, [x19, #4]
ldr w2, [x8, x9, lsl #2]
Lloh11:
adrp x1, l_.str.4@PAGE
Lloh12:
add x1, x1, l_.str.4@PAGEOFF
bl _log_Printf
mov w0, #-1 ; =0xffffffff
b LBB0_12
LBB0_7:
mov w8, #16 ; =0x10
b LBB0_11
LBB0_8:
mov w8, #12 ; =0xc
b LBB0_11
LBB0_9:
mov w8, #8 ; =0x8
b LBB0_11
LBB0_10:
mov w8, #4 ; =0x4
LBB0_11:
ldp w9, w10, [x19]
; kill: def $w10 killed $w10 def $x10
sxtw x10, w10
mvn w11, w10
ldp x12, x0, [x19, #8]
sub x10, x12, x10, lsl #2
ldr w3, [x0, x8]
add w1, w9, w11
add x2, x10, #4
bl _filter_Parse
mov w0, #0 ; =0x0
LBB0_12:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "in"
l_.str.1: ; @.str.1
.asciz "out"
l_.str.2: ; @.str.2
.asciz "dial"
l_.str.3: ; @.str.3
.asciz "alive"
.comm _LogWARN,4,2 ; @LogWARN
l_.str.4: ; @.str.4
.asciz "filter_Set: %s: Invalid filter name.\n"
.subsections_via_symbols
| assembly_file_94731.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _parse_server ## -- Begin function parse_server
.p2align 4, 0x90
_parse_server: ## @parse_server
.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
xorl %edi, %edi
testq %r14, %r14
setne %dil
callq _assert
movq _snmp_client@GOTPCREL(%rip), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq _snmp_parse_server
movq %rax, %rcx
movl $-1, %eax
testq %rcx, %rcx
js LBB0_7
## %bb.1:
movq _SNMP_TRANS_UDP@GOTPCREL(%rip), %rax
movq (%rbx), %rcx
cmpq (%rax), %rcx
jle LBB0_6
## %bb.2:
cmpq $0, 8(%rbx)
je LBB0_6
## %bb.3:
movq _SNMP_DEFAULT_LOCAL@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _strlen
leaq -1(%rax), %rdi
callq _malloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_4
## %bb.5:
movl (%r14), %esi
movq %rax, %rdi
callq _strcpy
LBB0_6:
movl $2, %eax
LBB0_7:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_4:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str(%rip), %rsi
movl %ebx, %edi
movl %eax, %edx
callq _syslog
movl $-1, %eax
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _snmp_client,16,3 ## @snmp_client
.comm _SNMP_TRANS_UDP,8,3 ## @SNMP_TRANS_UDP
.comm _SNMP_DEFAULT_LOCAL,4,2 ## @SNMP_DEFAULT_LOCAL
.comm _LOG_ERR,4,2 ## @LOG_ERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "malloc() failed: %s"
.comm _errno,4,2 ## @errno
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _parse_server ; -- Begin function parse_server
.p2align 2
_parse_server: ; @parse_server
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
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, x0
cmp x0, #0
cset w0, ne
bl _assert
Lloh0:
adrp x19, _snmp_client@GOTPAGE
Lloh1:
ldr x19, [x19, _snmp_client@GOTPAGEOFF]
mov x0, x19
mov x1, x20
bl _snmp_parse_server
tbnz x0, #63, LBB0_6
; %bb.1:
Lloh2:
adrp x8, _SNMP_TRANS_UDP@GOTPAGE
Lloh3:
ldr x8, [x8, _SNMP_TRANS_UDP@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
ldp x9, x10, [x19]
cmp x9, x8
ccmp x10, #0, #4, gt
b.eq LBB0_4
; %bb.2:
Lloh5:
adrp x20, _SNMP_DEFAULT_LOCAL@GOTPAGE
Lloh6:
ldr x20, [x20, _SNMP_DEFAULT_LOCAL@GOTPAGEOFF]
ldr w0, [x20]
bl _strlen
sub x0, x0, #1
bl _malloc
str x0, [x19, #8]
cbz x0, LBB0_5
; %bb.3:
ldr w1, [x20]
bl _strcpy
LBB0_4:
mov w0, #2 ; =0x2
b LBB0_7
LBB0_5:
Lloh7:
adrp x8, _LOG_ERR@GOTPAGE
Lloh8:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh9:
ldr w19, [x8]
Lloh10:
adrp x8, _errno@GOTPAGE
Lloh11:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
bl _strerror
mov x2, x0
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _syslog
LBB0_6:
mov w0, #-1 ; =0xffffffff
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _snmp_client,16,3 ; @snmp_client
.comm _SNMP_TRANS_UDP,8,3 ; @SNMP_TRANS_UDP
.comm _SNMP_DEFAULT_LOCAL,4,2 ; @SNMP_DEFAULT_LOCAL
.comm _LOG_ERR,4,2 ; @LOG_ERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "malloc() failed: %s"
.comm _errno,4,2 ; @errno
.subsections_via_symbols
| assembly_file_43006.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function drr_destroy_class
_drr_destroy_class: ## @drr_destroy_class
.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 %rsi, %rbx
leaq 4(%rsi), %rdi
callq _gen_kill_estimator
movl (%rbx), %edi
callq _qdisc_put
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _drr_destroy_class
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function drr_destroy_class
_drr_destroy_class: ; @drr_destroy_class
.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
add x0, x1, #4
bl _gen_kill_estimator
ldr w0, [x19]
bl _qdisc_put
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 _drr_destroy_class
.subsections_via_symbols
| AnghaBench/linux/net/sched/extr_sch_drr.c_drr_destroy_class.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tzic_irq_eoi
_tzic_irq_eoi: ## @tzic_irq_eoi
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _TZIC_PRIOMASK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $255, %edx
popq %rbp
jmp _tzic_write_4 ## TAILCALL
.cfi_endproc
## -- End function
.comm _TZIC_PRIOMASK,4,2 ## @TZIC_PRIOMASK
.no_dead_strip _tzic_irq_eoi
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tzic_irq_eoi
_tzic_irq_eoi: ; @tzic_irq_eoi
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _TZIC_PRIOMASK@GOTPAGE
Lloh1:
ldr x8, [x8, _TZIC_PRIOMASK@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w2, #255
b _tzic_write_4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TZIC_PRIOMASK,4,2 ; @TZIC_PRIOMASK
.no_dead_strip _tzic_irq_eoi
.subsections_via_symbols
| AnghaBench/freebsd/sys/arm/freescale/imx/extr_tzic.c_tzic_irq_eoi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hx509_cert_get_SPKI ## -- Begin function hx509_cert_get_SPKI
.p2align 4, 0x90
_hx509_cert_get_SPKI: ## @hx509_cert_get_SPKI
.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
movq (%rsi), %rdi
movq %rdx, %rsi
callq _copy_SubjectPublicKeyInfo
movl %eax, %ebx
testl %eax, %eax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rcx
movl %r14d, %edi
xorl %esi, %esi
movl %ebx, %edx
callq _hx509_set_error_string
LBB0_2:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to copy SPKI"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hx509_cert_get_SPKI ; -- Begin function hx509_cert_get_SPKI
.p2align 2
_hx509_cert_get_SPKI: ; @hx509_cert_get_SPKI
.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, x0
ldr x0, [x1]
mov x1, x2
bl _copy_SubjectPublicKeyInfo
mov x19, x0
cbz w0, LBB0_2
; %bb.1:
Lloh0:
adrp x3, l_.str@PAGE
Lloh1:
add x3, x3, l_.str@PAGEOFF
mov x0, x20
mov w1, #0
mov x2, x19
bl _hx509_set_error_string
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to copy SPKI"
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_cert.c_hx509_cert_get_SPKI.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function udav_miibus_writereg
_udav_miibus_writereg: ## @udav_miibus_writereg
.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
movl %ecx, %r14d
movl %edx, %r12d
movl %esi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
callq _device_get_softc
testl %ebx, %ebx
jne LBB0_5
## %bb.1:
movq %rax, %r15
movl %r14d, %ebx
movq %rax, %rdi
callq _mtx_owned
movl %eax, %r14d
testl %eax, %eax
jne LBB0_3
## %bb.2:
movq %r15, %rdi
callq _UDAV_LOCK
LBB0_3:
movq _UDAV_EPAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _UDAV_EPAR_PHY_ADR0@GOTPCREL(%rip), %rax
movq _UDAV_EPAR_EROA_MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %r12d
orl (%rax), %r12d
movq %r15, %rdi
movl %r12d, %edx
callq _udav_csr_write1
movzbl %bl, %eax
movl %eax, -48(%rbp)
movzbl %bh, %eax
movl %eax, -44(%rbp)
movq _UDAV_EPDRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -48(%rbp), %rdx
movq %r15, %rdi
movl $2, %ecx
callq _udav_csr_write
movq _UDAV_EPCR@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq _UDAV_EPCR_EPOS@GOTPCREL(%rip), %rax
movq _UDAV_EPCR_ERPRW@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
orl (%rax), %edx
movq %r15, %rdi
callq _udav_csr_write1
movl (%r12), %esi
movl (%rbx), %edx
movq %r15, %rdi
callq _UDAV_CLRBIT
testl %r14d, %r14d
jne LBB0_5
## %bb.4:
movq %r15, %rdi
callq _UDAV_UNLOCK
LBB0_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_7
## %bb.6:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _UDAV_EPAR,4,2 ## @UDAV_EPAR
.comm _UDAV_EPAR_PHY_ADR0,4,2 ## @UDAV_EPAR_PHY_ADR0
.comm _UDAV_EPAR_EROA_MASK,4,2 ## @UDAV_EPAR_EROA_MASK
.comm _UDAV_EPDRL,4,2 ## @UDAV_EPDRL
.comm _UDAV_EPCR,4,2 ## @UDAV_EPCR
.comm _UDAV_EPCR_EPOS,4,2 ## @UDAV_EPCR_EPOS
.comm _UDAV_EPCR_ERPRW,4,2 ## @UDAV_EPCR_ERPRW
.no_dead_strip _udav_miibus_writereg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function udav_miibus_writereg
_udav_miibus_writereg: ; @udav_miibus_writereg
.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 x21, x3
mov x22, x2
mov x20, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #8]
bl _device_get_softc
cbnz w20, LBB0_5
; %bb.1:
mov x19, x0
bl _mtx_owned
mov x20, x0
cbnz w0, LBB0_3
; %bb.2:
mov x0, x19
bl _UDAV_LOCK
LBB0_3:
Lloh3:
adrp x8, _UDAV_EPAR@GOTPAGE
Lloh4:
ldr x8, [x8, _UDAV_EPAR@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x8, _UDAV_EPAR_PHY_ADR0@GOTPAGE
Lloh7:
ldr x8, [x8, _UDAV_EPAR_PHY_ADR0@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _UDAV_EPAR_EROA_MASK@GOTPAGE
Lloh10:
ldr x9, [x9, _UDAV_EPAR_EROA_MASK@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
and w9, w9, w22
orr w2, w9, w8
mov x0, x19
bl _udav_csr_write1
and w8, w21, #0xff
ubfx w9, w21, #8, #8
stp w8, w9, [sp]
Lloh12:
adrp x8, _UDAV_EPDRL@GOTPAGE
Lloh13:
ldr x8, [x8, _UDAV_EPDRL@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x2, sp
mov x0, x19
mov w3, #2
bl _udav_csr_write
Lloh15:
adrp x21, _UDAV_EPCR@GOTPAGE
Lloh16:
ldr x21, [x21, _UDAV_EPCR@GOTPAGEOFF]
Lloh17:
adrp x8, _UDAV_EPCR_EPOS@GOTPAGE
Lloh18:
ldr x8, [x8, _UDAV_EPCR_EPOS@GOTPAGEOFF]
ldr w1, [x21]
Lloh19:
ldr w8, [x8]
Lloh20:
adrp x22, _UDAV_EPCR_ERPRW@GOTPAGE
Lloh21:
ldr x22, [x22, _UDAV_EPCR_ERPRW@GOTPAGEOFF]
ldr w9, [x22]
orr w2, w9, w8
mov x0, x19
bl _udav_csr_write1
ldr w1, [x21]
ldr w2, [x22]
mov x0, x19
bl _UDAV_CLRBIT
cbnz w20, LBB0_5
; %bb.4:
mov x0, x19
bl _UDAV_UNLOCK
LBB0_5:
ldr x8, [sp, #8]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
mov w0, #0
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
LBB0_7:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _UDAV_EPAR,4,2 ; @UDAV_EPAR
.comm _UDAV_EPAR_PHY_ADR0,4,2 ; @UDAV_EPAR_PHY_ADR0
.comm _UDAV_EPAR_EROA_MASK,4,2 ; @UDAV_EPAR_EROA_MASK
.comm _UDAV_EPDRL,4,2 ; @UDAV_EPDRL
.comm _UDAV_EPCR,4,2 ; @UDAV_EPCR
.comm _UDAV_EPCR_EPOS,4,2 ; @UDAV_EPCR_EPOS
.comm _UDAV_EPCR_ERPRW,4,2 ; @UDAV_EPCR_ERPRW
.no_dead_strip _udav_miibus_writereg
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/net/extr_if_udav.c_udav_miibus_writereg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cache_get_text ## -- Begin function cache_get_text
.p2align 4, 0x90
_cache_get_text: ## @cache_get_text
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq (,%rsi,4), %rax
addq (%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 _cache_get_text ; -- Begin function cache_get_text
.p2align 2
_cache_get_text: ; @cache_get_text
.cfi_startproc
; %bb.0:
ldr x8, [x0]
add x0, x8, x1, lsl #2
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_cache.c_cache_get_text.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ffs_csum_swap ## -- Begin function ffs_csum_swap
.p2align 4, 0x90
_ffs_csum_swap: ## @ffs_csum_swap
.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
cmpl $4, %edx
jb LBB0_3
## %bb.1:
movq %rsi, %r14
movq %rdi, %r15
movslq %edx, %rax
shrq $2, %rax
cmpq $2, %rax
movl $1, %r12d
cmovaeq %rax, %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%r15,%rbx,4), %edi
callq _bswap32
movl %eax, (%r14,%rbx,4)
incq %rbx
cmpq %rbx, %r12
jne LBB0_2
LBB0_3:
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 _ffs_csum_swap ; -- Begin function ffs_csum_swap
.p2align 2
_ffs_csum_swap: ; @ffs_csum_swap
.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
; kill: def $w2 killed $w2 def $x2
cmp w2, #4
b.lo LBB0_3
; %bb.1:
mov x19, x1
mov x20, x0
sxtw x8, w2
lsr x8, x8, #2
cmp x8, #1
csinc x21, x8, xzr, hi
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20], #4
bl _bswap32
str w0, [x19], #4
subs x21, x21, #1
b.ne LBB0_2
LBB0_3:
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
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/makefs/ffs/extr_ffs_bswap.c_ffs_csum_swap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gcProcessQueryRequest ## -- Begin function gcProcessQueryRequest
.p2align 4, 0x90
_gcProcessQueryRequest: ## @gcProcessQueryRequest
.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 %rdi, %rbx
movl 24(%rdi), %ecx
movl 28(%rdi), %edx
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
movq %rbx, %rsi
xorl %eax, %eax
callq _httpTrace
cmpq $0, 32(%rbx)
je LBB0_3
## %bb.1:
movq _HTTP_NO_MSG_INPUT@GOTPCREL(%rip), %rax
LBB0_2:
movl (%rax), %esi
movq %rbx, %rdi
callq _httpSendErrorResp
LBB0_19:
movl %r14d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
xorl %r14d, %r14d
xorl %edi, %edi
callq _cJSON_Parse
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %rdi
movq %rax, %r14
callq _cJSON_GetArraySize
testl %eax, %eax
jle LBB0_6
## %bb.9:
movl %eax, %r13d
cmpl $101, %eax
jb LBB0_11
## %bb.10:
movq _HTTP_GC_QUERY_SIZE@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_4:
movq _HTTP_PARSE_GC_REQ_ERROR@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_6:
movq _HTTP_GC_QUERY_NULL@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_11:
movq _HTTP_BUFFER_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl %r13d, %esi
callq _httpMallocMultiCmds
testl %eax, %eax
je LBB0_37
## %bb.12:
incl %r13d
xorl %r12d, %r12d
movq %r14, -56(%rbp) ## 8-byte Spill
movl %r13d, -44(%rbp) ## 4-byte Spill
jmp LBB0_13
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_13 Depth=1
movl 28(%rbx), %edx
movl 20(%rbx), %r8d
movl 24(%rbx), %ecx
movq %rbx, %rsi
xorl %eax, %eax
callq _httpTrace
movl -44(%rbp), %r13d ## 4-byte Reload
LBB0_35: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %r12d, %r13d
je LBB0_18
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl %r12d, %esi
callq _cJSON_GetArrayItem
testq %rax, %rax
je LBB0_35
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movq %rax, %r15
movq %rax, %rdi
leaq L_.str.1(%rip), %rsi
callq _cJSON_GetObjectItem
movq (%rax), %rsi
cmpb $0, (%rsi)
leaq L_.str.2(%rip), %rdi
je LBB0_34
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
movq %rbx, %rdi
callq _httpAddToSqlCmdBuffer
cmpl $-1, %eax
je LBB0_16
## %bb.20: ## in Loop: Header=BB0_13 Depth=1
movl %eax, %r13d
movq %r15, %rdi
leaq L_.str.4(%rip), %rsi
callq _cJSON_GetObjectItem
testq %rax, %rax
je LBB0_25
## %bb.21: ## in Loop: Header=BB0_13 Depth=1
movq (%rax), %rsi
testq %rsi, %rsi
je LBB0_25
## %bb.22: ## in Loop: Header=BB0_13 Depth=1
cmpb $0, (%rsi)
je LBB0_25
## %bb.23: ## in Loop: Header=BB0_13 Depth=1
movq %rbx, %rdi
callq _httpAddToSqlCmdBuffer
cmpl $-1, %eax
jne LBB0_26
jmp LBB0_24
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_13 Depth=1
movq %rbx, %rdi
leaq L_.str.6(%rip), %rsi
callq _httpAddToSqlCmdBuffer
LBB0_26: ## in Loop: Header=BB0_13 Depth=1
movl %eax, -48(%rbp) ## 4-byte Spill
movq %r15, %rdi
leaq L_.str.7(%rip), %rsi
callq _cJSON_GetObjectItem
leaq L_.str.8(%rip), %rdi
testq %rax, %rax
je LBB0_34
## %bb.27: ## in Loop: Header=BB0_13 Depth=1
movq (%rax), %rsi
leaq L_.str.8(%rip), %rdi
testq %rsi, %rsi
je LBB0_34
## %bb.28: ## in Loop: Header=BB0_13 Depth=1
cmpb $0, (%rsi)
leaq L_.str.8(%rip), %rdi
je LBB0_34
## %bb.29: ## in Loop: Header=BB0_13 Depth=1
movq %rbx, %rdi
callq _httpAddToSqlCmdBuffer
cmpl $-1, %eax
je LBB0_30
## %bb.31: ## in Loop: Header=BB0_13 Depth=1
movl %eax, %r14d
movq %rbx, %rdi
callq _httpNewSqlCmd
testq %rax, %rax
je LBB0_36
## %bb.32: ## in Loop: Header=BB0_13 Depth=1
movq %rax, %r15
movl %r14d, (%rax)
movl %r13d, 4(%rax)
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, 8(%r15)
movq $0, 16(%r15)
movq _HTTP_GC_TARGET_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rsi
decq %rsi
movq %rbx, %rdi
callq _httpAddToSqlCmdBufferWithSize
movl %eax, 12(%r15)
cmpl $-1, %eax
movq -56(%rbp), %r14 ## 8-byte Reload
movl -44(%rbp), %r13d ## 4-byte Reload
jne LBB0_35
## %bb.33:
leaq L_.str.10(%rip), %rdi
jmp LBB0_17
LBB0_37:
movq _HTTP_NO_ENOUGH_MEMORY@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %esi
movq %rbx, %rdi
callq _httpSendErrorResp
movq %r14, %rdi
LBB0_8:
callq _cJSON_Delete
xorl %r14d, %r14d
jmp LBB0_19
LBB0_16:
leaq L_.str.3(%rip), %rdi
LBB0_17:
movl 28(%rbx), %edx
movl 20(%rbx), %r8d
movl 24(%rbx), %ecx
movq %rbx, %rsi
callq _httpWarn
LBB0_18:
movq _HTTP_REQTYPE_MULTI_SQL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rbx)
movq _gcQueryMethod@GOTPCREL(%rip), %rax
movq %rax, 8(%rbx)
movq (%rbx), %rax
movq $0, (%rax)
movl $1, %r14d
jmp LBB0_19
LBB0_24:
leaq L_.str.5(%rip), %rdi
jmp LBB0_17
LBB0_30:
leaq L_.str.9(%rip), %rdi
jmp LBB0_17
LBB0_36:
movq _HTTP_NO_ENOUGH_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _httpSendErrorResp
movq -56(%rbp), %rdi ## 8-byte Reload
jmp LBB0_8
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "context:%p, fd:%d, ip:%s, process grafana query msg"
.comm _HTTP_NO_MSG_INPUT,4,2 ## @HTTP_NO_MSG_INPUT
.comm _HTTP_PARSE_GC_REQ_ERROR,4,2 ## @HTTP_PARSE_GC_REQ_ERROR
.comm _HTTP_GC_QUERY_NULL,4,2 ## @HTTP_GC_QUERY_NULL
.comm _HTTP_GC_QUERY_SIZE,4,2 ## @HTTP_GC_QUERY_SIZE
.comm _HTTP_BUFFER_SIZE,4,2 ## @HTTP_BUFFER_SIZE
.comm _HTTP_NO_ENOUGH_MEMORY,4,2 ## @HTTP_NO_ENOUGH_MEMORY
L_.str.1: ## @.str.1
.asciz "refId"
L_.str.2: ## @.str.2
.asciz "context:%p, fd:%d, ip:%s, user:%s, refId is null"
L_.str.3: ## @.str.3
.asciz "context:%p, fd:%d, ip:%s, user:%s, refId buffer is full"
L_.str.4: ## @.str.4
.asciz "alias"
L_.str.5: ## @.str.5
.asciz "context:%p, fd:%d, ip:%s, user:%s, alias buffer is full"
L_.str.6: ## @.str.6
.space 1
L_.str.7: ## @.str.7
.asciz "sql"
L_.str.8: ## @.str.8
.asciz "context:%p, fd:%d, ip:%s, user:%s, sql is null"
L_.str.9: ## @.str.9
.asciz "context:%p, fd:%d, ip:%s, user:%s, sql buffer is full"
.comm _HTTP_GC_TARGET_SIZE,8,3 ## @HTTP_GC_TARGET_SIZE
L_.str.10: ## @.str.10
.asciz "context:%p, fd:%d, ip:%s, user:%s, cant't malloc target size, sql buffer is full"
.comm _HTTP_REQTYPE_MULTI_SQL,4,2 ## @HTTP_REQTYPE_MULTI_SQL
.comm _gcQueryMethod,4,2 ## @gcQueryMethod
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gcProcessQueryRequest ; -- Begin function gcProcessQueryRequest
.p2align 2
_gcProcessQueryRequest: ; @gcProcessQueryRequest
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.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 x19, x0
ldp w3, w2, [x0, #24]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _httpTrace
ldr x8, [x19, #32]
cbz x8, LBB0_5
; %bb.1:
Lloh2:
adrp x8, _HTTP_NO_MSG_INPUT@GOTPAGE
Lloh3:
ldr x8, [x8, _HTTP_NO_MSG_INPUT@GOTPAGEOFF]
LBB0_2:
ldr w1, [x8]
mov x0, x19
bl _httpSendErrorResp
LBB0_3:
mov w0, #0 ; =0x0
LBB0_4:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_5:
mov x0, #0 ; =0x0
bl _cJSON_Parse
cbz x0, LBB0_9
; %bb.6:
mov x20, x0
bl _cJSON_GetArraySize
cmp w0, #0
b.le LBB0_10
; %bb.7:
mov x21, x0
cmp w0, #101
b.lo LBB0_11
; %bb.8:
Lloh4:
adrp x8, _HTTP_GC_QUERY_SIZE@GOTPAGE
Lloh5:
ldr x8, [x8, _HTTP_GC_QUERY_SIZE@GOTPAGEOFF]
b LBB0_32
LBB0_9:
Lloh6:
adrp x8, _HTTP_PARSE_GC_REQ_ERROR@GOTPAGE
Lloh7:
ldr x8, [x8, _HTTP_PARSE_GC_REQ_ERROR@GOTPAGEOFF]
b LBB0_2
LBB0_10:
Lloh8:
adrp x8, _HTTP_GC_QUERY_NULL@GOTPAGE
Lloh9:
ldr x8, [x8, _HTTP_GC_QUERY_NULL@GOTPAGEOFF]
b LBB0_32
LBB0_11:
Lloh10:
adrp x8, _HTTP_BUFFER_SIZE@GOTPAGE
Lloh11:
ldr x8, [x8, _HTTP_BUFFER_SIZE@GOTPAGEOFF]
Lloh12:
ldr w2, [x8]
mov x0, x19
mov x1, x21
bl _httpMallocMultiCmds
cbz w0, LBB0_31
; %bb.12:
mov w22, #0 ; =0x0
add w24, w21, #1
Lloh13:
adrp x23, l_.str.1@PAGE
Lloh14:
add x23, x23, l_.str.1@PAGEOFF
Lloh15:
adrp x25, l_.str.2@PAGE
Lloh16:
add x25, x25, l_.str.2@PAGEOFF
Lloh17:
adrp x26, l_.str.4@PAGE
Lloh18:
add x26, x26, l_.str.4@PAGEOFF
str w24, [sp, #12] ; 4-byte Folded Spill
b LBB0_16
LBB0_13: ; in Loop: Header=BB0_16 Depth=1
Lloh19:
adrp x0, l_.str.8@PAGE
Lloh20:
add x0, x0, l_.str.8@PAGEOFF
LBB0_14: ; in Loop: Header=BB0_16 Depth=1
ldp w3, w2, [x19, #24]
ldr w8, [x19, #20]
str x8, [sp]
mov x1, x19
bl _httpTrace
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
add w22, w22, #1
cmp w24, w22
b.eq LBB0_35
LBB0_16: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x22
bl _cJSON_GetArrayItem
cbz x0, LBB0_15
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
mov x28, x0
mov x1, x23
bl _cJSON_GetObjectItem
ldr x1, [x0]
ldrb w8, [x1]
cbz w8, LBB0_30
; %bb.18: ; in Loop: Header=BB0_16 Depth=1
mov x0, x19
bl _httpAddToSqlCmdBuffer
cmn w0, #1
b.eq LBB0_33
; %bb.19: ; in Loop: Header=BB0_16 Depth=1
mov x27, x0
mov x0, x28
mov x1, x26
bl _cJSON_GetObjectItem
cbz x0, LBB0_23
; %bb.20: ; in Loop: Header=BB0_16 Depth=1
ldr x1, [x0]
cbz x1, LBB0_23
; %bb.21: ; in Loop: Header=BB0_16 Depth=1
ldrb w8, [x1]
cbz w8, LBB0_23
; %bb.22: ; in Loop: Header=BB0_16 Depth=1
mov x0, x19
bl _httpAddToSqlCmdBuffer
mov x21, x0
cmn w0, #1
b.ne LBB0_24
b LBB0_36
LBB0_23: ; in Loop: Header=BB0_16 Depth=1
mov x0, x19
Lloh21:
adrp x1, l_.str.6@PAGE
Lloh22:
add x1, x1, l_.str.6@PAGEOFF
bl _httpAddToSqlCmdBuffer
mov x21, x0
LBB0_24: ; in Loop: Header=BB0_16 Depth=1
mov x0, x28
Lloh23:
adrp x1, l_.str.7@PAGE
Lloh24:
add x1, x1, l_.str.7@PAGEOFF
bl _cJSON_GetObjectItem
cbz x0, LBB0_13
; %bb.25: ; in Loop: Header=BB0_16 Depth=1
ldr x1, [x0]
cbz x1, LBB0_13
; %bb.26: ; in Loop: Header=BB0_16 Depth=1
ldrb w8, [x1]
cbz w8, LBB0_13
; %bb.27: ; in Loop: Header=BB0_16 Depth=1
mov x24, x23
mov x23, x26
mov x26, x25
mov x0, x19
bl _httpAddToSqlCmdBuffer
cmn w0, #1
b.eq LBB0_37
; %bb.28: ; in Loop: Header=BB0_16 Depth=1
mov x25, x0
mov x0, x19
bl _httpNewSqlCmd
cbz x0, LBB0_31
; %bb.29: ; in Loop: Header=BB0_16 Depth=1
mov x28, x0
stp w25, w27, [x0]
str w21, [x0, #8]
str xzr, [x0, #16]
Lloh25:
adrp x8, _HTTP_GC_TARGET_SIZE@GOTPAGE
Lloh26:
ldr x8, [x8, _HTTP_GC_TARGET_SIZE@GOTPAGEOFF]
Lloh27:
ldr x8, [x8]
sub x1, x8, #1
mov x0, x19
bl _httpAddToSqlCmdBufferWithSize
str w0, [x28, #12]
cmn w0, #1
mov x25, x26
mov x26, x23
mov x23, x24
ldr w24, [sp, #12] ; 4-byte Folded Reload
b.ne LBB0_15
b LBB0_38
LBB0_30: ; in Loop: Header=BB0_16 Depth=1
mov x0, x25
b LBB0_14
LBB0_31:
Lloh28:
adrp x8, _HTTP_NO_ENOUGH_MEMORY@GOTPAGE
Lloh29:
ldr x8, [x8, _HTTP_NO_ENOUGH_MEMORY@GOTPAGEOFF]
LBB0_32:
ldr w1, [x8]
mov x0, x19
bl _httpSendErrorResp
mov x0, x20
bl _cJSON_Delete
b LBB0_3
LBB0_33:
Lloh30:
adrp x0, l_.str.3@PAGE
Lloh31:
add x0, x0, l_.str.3@PAGEOFF
LBB0_34:
ldp w3, w2, [x19, #24]
ldr w4, [x19, #20]
mov x1, x19
bl _httpWarn
LBB0_35:
Lloh32:
adrp x8, _HTTP_REQTYPE_MULTI_SQL@GOTPAGE
Lloh33:
ldr x8, [x8, _HTTP_REQTYPE_MULTI_SQL@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
str w8, [x19, #16]
Lloh35:
adrp x8, _gcQueryMethod@GOTPAGE
Lloh36:
ldr x8, [x8, _gcQueryMethod@GOTPAGEOFF]
str x8, [x19, #8]
ldr x8, [x19]
str xzr, [x8]
mov w0, #1 ; =0x1
b LBB0_4
LBB0_36:
Lloh37:
adrp x0, l_.str.5@PAGE
Lloh38:
add x0, x0, l_.str.5@PAGEOFF
b LBB0_34
LBB0_37:
Lloh39:
adrp x0, l_.str.9@PAGE
Lloh40:
add x0, x0, l_.str.9@PAGEOFF
b LBB0_34
LBB0_38:
Lloh41:
adrp x0, l_.str.10@PAGE
Lloh42:
add x0, x0, l_.str.10@PAGEOFF
b LBB0_34
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "context:%p, fd:%d, ip:%s, process grafana query msg"
.comm _HTTP_NO_MSG_INPUT,4,2 ; @HTTP_NO_MSG_INPUT
.comm _HTTP_PARSE_GC_REQ_ERROR,4,2 ; @HTTP_PARSE_GC_REQ_ERROR
.comm _HTTP_GC_QUERY_NULL,4,2 ; @HTTP_GC_QUERY_NULL
.comm _HTTP_GC_QUERY_SIZE,4,2 ; @HTTP_GC_QUERY_SIZE
.comm _HTTP_BUFFER_SIZE,4,2 ; @HTTP_BUFFER_SIZE
.comm _HTTP_NO_ENOUGH_MEMORY,4,2 ; @HTTP_NO_ENOUGH_MEMORY
l_.str.1: ; @.str.1
.asciz "refId"
l_.str.2: ; @.str.2
.asciz "context:%p, fd:%d, ip:%s, user:%s, refId is null"
l_.str.3: ; @.str.3
.asciz "context:%p, fd:%d, ip:%s, user:%s, refId buffer is full"
l_.str.4: ; @.str.4
.asciz "alias"
l_.str.5: ; @.str.5
.asciz "context:%p, fd:%d, ip:%s, user:%s, alias buffer is full"
l_.str.6: ; @.str.6
.space 1
l_.str.7: ; @.str.7
.asciz "sql"
l_.str.8: ; @.str.8
.asciz "context:%p, fd:%d, ip:%s, user:%s, sql is null"
l_.str.9: ; @.str.9
.asciz "context:%p, fd:%d, ip:%s, user:%s, sql buffer is full"
.comm _HTTP_GC_TARGET_SIZE,8,3 ; @HTTP_GC_TARGET_SIZE
l_.str.10: ; @.str.10
.asciz "context:%p, fd:%d, ip:%s, user:%s, cant't malloc target size, sql buffer is full"
.comm _HTTP_REQTYPE_MULTI_SQL,4,2 ; @HTTP_REQTYPE_MULTI_SQL
.comm _gcQueryMethod,4,2 ; @gcQueryMethod
.subsections_via_symbols
| assembly_file_159994.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_privilege
_set_privilege: ## @set_privilege
.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 _INVALID_HANDLE_VALUE@GOTPCREL(%rip), %r15
movq (%r15), %rax
movq %rax, -40(%rbp)
xorl %eax, %eax
callq _GetCurrentProcess
movq _TOKEN_ADJUST_PRIVILEGES@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
leaq -40(%rbp), %rdx
movl %eax, %edi
callq _OpenProcessToken
xorl %eax, %eax
callq _GetLastError
movq %rax, %r14
movq _ERROR_SUCCESS@GOTPCREL(%rip), %rax
movq (%rax), %r12
movq _ERROR_ACCESS_DENIED@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq -40(%rbp), %rdi
cmpq (%r15), %rdi
je LBB0_2
## %bb.1:
callq _CloseHandle
LBB0_2:
cmpq %r12, %r14
cmovneq %r14, %rbx
movq %rbx, %rdi
callq _output_error
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INVALID_HANDLE_VALUE,8,3 ## @INVALID_HANDLE_VALUE
.comm _ERROR_SUCCESS,8,3 ## @ERROR_SUCCESS
.comm _TOKEN_ADJUST_PRIVILEGES,4,2 ## @TOKEN_ADJUST_PRIVILEGES
.comm _SE_PRIVILEGE_ENABLED,4,2 ## @SE_PRIVILEGE_ENABLED
.comm _FALSE,8,3 ## @FALSE
.comm _ERROR_NOT_ALL_ASSIGNED,8,3 ## @ERROR_NOT_ALL_ASSIGNED
.comm _TRUE,8,3 ## @TRUE
.comm _ERROR_ACCESS_DENIED,8,3 ## @ERROR_ACCESS_DENIED
.no_dead_strip _set_privilege
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_privilege
_set_privilege: ; @set_privilege
.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
Lloh0:
adrp x22, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh1:
ldr x22, [x22, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
ldr x8, [x22]
str x8, [sp, #8]
bl _GetCurrentProcess
Lloh2:
adrp x8, _TOKEN_ADJUST_PRIVILEGES@GOTPAGE
Lloh3:
ldr x8, [x8, _TOKEN_ADJUST_PRIVILEGES@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
add x2, sp, #8
bl _OpenProcessToken
bl _GetLastError
mov x19, x0
Lloh5:
adrp x8, _ERROR_SUCCESS@GOTPAGE
Lloh6:
ldr x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh7:
ldr x20, [x8]
Lloh8:
adrp x8, _ERROR_ACCESS_DENIED@GOTPAGE
Lloh9:
ldr x8, [x8, _ERROR_ACCESS_DENIED@GOTPAGEOFF]
Lloh10:
ldr x21, [x8]
ldr x0, [sp, #8]
ldr x8, [x22]
cmp x0, x8
b.eq LBB0_2
; %bb.1:
bl _CloseHandle
LBB0_2:
cmp x19, x20
csel x0, x21, x19, eq
bl _output_error
Lloh11:
adrp x8, _FALSE@GOTPAGE
Lloh12:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh13:
ldr x0, [x8]
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 Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _INVALID_HANDLE_VALUE,8,3 ; @INVALID_HANDLE_VALUE
.comm _ERROR_SUCCESS,8,3 ; @ERROR_SUCCESS
.comm _TOKEN_ADJUST_PRIVILEGES,4,2 ; @TOKEN_ADJUST_PRIVILEGES
.comm _SE_PRIVILEGE_ENABLED,4,2 ; @SE_PRIVILEGE_ENABLED
.comm _FALSE,8,3 ; @FALSE
.comm _ERROR_NOT_ALL_ASSIGNED,8,3 ; @ERROR_NOT_ALL_ASSIGNED
.comm _TRUE,8,3 ; @TRUE
.comm _ERROR_ACCESS_DENIED,8,3 ; @ERROR_ACCESS_DENIED
.no_dead_strip _set_privilege
.subsections_via_symbols
| AnghaBench/reactos/base/applications/cmdutils/reg/extr_reg.c_set_privilege.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isPrime ## -- Begin function 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
movl $1, %ecx
cmpl $4, %edi
jl 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
movl %esi, %eax
imull %esi, %eax
cmpl %edi, %eax
jle LBB0_3
jmp LBB0_5
LBB0_4:
xorl %ecx, %ecx
LBB0_5:
movl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
movl $200000, %esi ## imm = 0x30D40
movl $2, %ecx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl %esi, %eax
xorl %edx, %edx
divl %ecx
testl %edx, %edx
je LBB1_3
## %bb.1: ## in Loop: Header=BB1_2 Depth=1
incl %ecx
movl %ecx, %eax
imull %ecx, %eax
cmpl %esi, %eax
jbe LBB1_2
jmp LBB1_4
LBB1_3: ## in Loop: Header=BB1_2 Depth=1
incl %esi
movl $2, %ecx
jmp LBB1_2
LBB1_4:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.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:
cmp w0, #4
b.ge LBB0_2
; %bb.1:
mov w0, #1
ret
LBB0_2:
mov w8, #2
LBB0_3: ; =>This Inner Loop Header: Depth=1
sdiv w9, w0, w8
msub w9, w9, w8, w0
cbz w9, LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add w8, w8, #1
mul w9, w8, w8
cmp w9, w0
b.le LBB0_3
; %bb.5:
mov w0, #1
ret
LBB0_6:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w8, #3392
movk w8, #3, lsl #16
mov w9, #2
LBB1_1: ; =>This Inner Loop Header: Depth=1
udiv w10, w8, w9
msub w10, w10, w9, w8
cbz w10, LBB1_3
; %bb.2: ; in Loop: Header=BB1_1 Depth=1
add w9, w9, #1
mul w10, w9, w9
cmp w10, w8
b.ls LBB1_1
b LBB1_4
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
add w8, w8, #1
mov w9, #2
b LBB1_1
LBB1_4:
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
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/118110.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gen9_dc_off_power_well_disable
_gen9_dc_off_power_well_disable: ## @gen9_dc_off_power_well_disable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $0, 4(%rdi)
je LBB0_3
## %bb.1:
movl (%rdi), %eax
movq _DC_STATE_EN_UPTO_DC6@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_2
## %bb.4:
popq %rbp
jmp _skl_enable_dc6 ## TAILCALL
LBB0_2:
movq _DC_STATE_EN_UPTO_DC5@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_3
## %bb.5:
popq %rbp
jmp _gen9_enable_dc5 ## TAILCALL
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DC_STATE_EN_UPTO_DC6,4,2 ## @DC_STATE_EN_UPTO_DC6
.comm _DC_STATE_EN_UPTO_DC5,4,2 ## @DC_STATE_EN_UPTO_DC5
.no_dead_strip _gen9_dc_off_power_well_disable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gen9_dc_off_power_well_disable
_gen9_dc_off_power_well_disable: ; @gen9_dc_off_power_well_disable
.cfi_startproc
; %bb.0:
ldr w8, [x0, #4]
cbz w8, LBB0_5
; %bb.1:
ldr w8, [x0]
Lloh0:
adrp x9, _DC_STATE_EN_UPTO_DC6@GOTPAGE
Lloh1:
ldr x9, [x9, _DC_STATE_EN_UPTO_DC6@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
; %bb.2:
b _skl_enable_dc6
LBB0_3:
Lloh3:
adrp x9, _DC_STATE_EN_UPTO_DC5@GOTPAGE
Lloh4:
ldr x9, [x9, _DC_STATE_EN_UPTO_DC5@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_5
; %bb.4:
b _gen9_enable_dc5
LBB0_5:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _DC_STATE_EN_UPTO_DC6,4,2 ; @DC_STATE_EN_UPTO_DC6
.comm _DC_STATE_EN_UPTO_DC5,4,2 ; @DC_STATE_EN_UPTO_DC5
.no_dead_strip _gen9_dc_off_power_well_disable
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display_power.c_gen9_dc_off_power_well_disable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function send_response_callback
_send_response_callback: ## @send_response_callback
.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 %edx, %r14d
movq %rdi, %r15
movq (%rdi), %rax
movq (%rax), %rax
movl (%rax), %edi
movq _app_request_type@GOTPCREL(%rip), %rdx
movl %r14d, %esi
callq _mrb_data_check_get_ptr
movq %rax, %rbx
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _assert
movl 16(%rbx), %edi
callq _mrb_obj_ptr
movq %rax, %r12
movl %r14d, %edi
callq _mrb_obj_ptr
xorl %edi, %edi
cmpq %rax, %r12
sete %dil
callq _assert
movq %r15, 8(%rbx)
movq (%r15), %rax
movq (%rax), %rax
movl (%rax), %edi
movl %r14d, %esi
callq _mrb_gc_register
movq (%rbx), %rax
movq _INITIAL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _send_response_shortcutted
LBB0_2:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _app_request_type,4,2 ## @app_request_type
.comm _INITIAL,8,3 ## @INITIAL
.no_dead_strip _send_response_callback
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function send_response_callback
_send_response_callback: ; @send_response_callback
.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, x2
mov x21, x0
ldr x8, [x0]
ldr x8, [x8]
ldr w0, [x8]
Lloh0:
adrp x2, _app_request_type@GOTPAGE
Lloh1:
ldr x2, [x2, _app_request_type@GOTPAGEOFF]
mov x1, x20
bl _mrb_data_check_get_ptr
mov x19, x0
cmp x0, #0
cset w0, ne
bl _assert
ldr w0, [x19, #16]
bl _mrb_obj_ptr
mov x22, x0
mov x0, x20
bl _mrb_obj_ptr
cmp x22, x0
cset w0, eq
bl _assert
str x21, [x19, #8]
ldr x8, [x21]
ldr x8, [x8]
ldr w0, [x8]
mov x1, x20
bl _mrb_gc_register
ldr x8, [x19]
Lloh2:
adrp x9, _INITIAL@GOTPAGE
Lloh3:
ldr x9, [x9, _INITIAL@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_2
; %bb.1:
mov x0, x19
bl _send_response_shortcutted
LBB0_2:
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 Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _app_request_type,4,2 ; @app_request_type
.comm _INITIAL,8,3 ; @INITIAL
.no_dead_strip _send_response_callback
.subsections_via_symbols
| AnghaBench/h2o/lib/handler/mruby/extr_middleware.c_send_response_callback.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Zip_Name
_Zip_Name: ## @Zip_Name
.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(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Zip"
.no_dead_strip _Zip_Name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Zip_Name
_Zip_Name: ; @Zip_Name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Zip"
.no_dead_strip _Zip_Name
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Iter.c_Zip_Name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uv_get_constrained_memory ## -- Begin function uv_get_constrained_memory
.p2align 4, 0x90
_uv_get_constrained_memory: ## @uv_get_constrained_memory
.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 _uv_get_constrained_memory ; -- Begin function uv_get_constrained_memory
.p2align 2
_uv_get_constrained_memory: ; @uv_get_constrained_memory
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/libuv/src/unix/extr_darwin.c_uv_get_constrained_memory.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uiDrawFreePath ## -- Begin function uiDrawFreePath
.p2align 4, 0x90
_uiDrawFreePath: ## @uiDrawFreePath
.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 (%rdi), %edi
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _g_array_free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _uiprivFree ## TAILCALL
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uiDrawFreePath ; -- Begin function uiDrawFreePath
.p2align 2
_uiDrawFreePath: ; @uiDrawFreePath
.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]
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _g_array_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _uiprivFree
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/libui/unix/extr_drawpath.c_uiDrawFreePath.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_rrsig_abbr ## -- Begin function print_rrsig_abbr
.p2align 4, 0x90
_print_rrsig_abbr: ## @print_rrsig_abbr
.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
testq %rsi, %rsi
je LBB0_2
## %bb.1:
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq _ldns_rr_get_type
movq _LDNS_RR_TYPE_RRSIG@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.3:
movq %r14, %rdi
callq _ldns_rr_owner
movq %rbx, %rdi
movl %eax, %esi
callq _ldns_rdf_print
movq %r14, %rdi
callq _ldns_rr_ttl
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq _fprintf
movq %rbx, %rdi
movq %r14, %rsi
callq _print_class_type
movq %r14, %rdi
xorl %esi, %esi
callq _ldns_rr_rdf
movq %rbx, %rdi
movl %eax, %esi
callq _ldns_rdf_print
movl $32, %edi
movq %rbx, %rsi
callq _fputc
movq %r14, %rdi
movl $1, %esi
callq _ldns_rr_rdf
movq %rbx, %rdi
movl %eax, %esi
callq _ldns_rdf_print
movl $32, %edi
movq %rbx, %rsi
callq _fputc
movq %r14, %rdi
movl $2, %esi
callq _ldns_rr_rdf
movq %rbx, %rdi
movl %eax, %esi
callq _ldns_rdf_print
leaq L_.str.2(%rip), %rdi
movl $6, %esi
movl $1, %edx
movq %rbx, %rcx
callq _fwrite
movq %r14, %rdi
movl $4, %esi
callq _ldns_rr_rdf
movq %rbx, %rdi
movl %eax, %esi
callq _ldns_rdf_print
movl $32, %edi
movq %rbx, %rsi
callq _fputc
movq %r14, %rdi
movl $5, %esi
callq _ldns_rr_rdf
movq %rbx, %rdi
movl %eax, %esi
callq _ldns_rdf_print
movl $32, %edi
movq %rbx, %rsi
callq _fputc
movq %r14, %rdi
movl $6, %esi
callq _ldns_rr_rdf
movq %rbx, %rdi
movl %eax, %esi
callq _ldns_rdf_print
movl $32, %edi
movq %rbx, %rsi
callq _fputc
movq %r14, %rdi
movl $7, %esi
callq _ldns_rr_rdf
movq %rbx, %rdi
movl %eax, %esi
callq _ldns_rdf_print
movl $41, %edi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _fputc ## TAILCALL
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LDNS_RR_TYPE_RRSIG,8,3 ## @LDNS_RR_TYPE_RRSIG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " %d"
L_.str.2: ## @.str.2
.asciz " (\n\t\t\t"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_rrsig_abbr ; -- Begin function print_rrsig_abbr
.p2align 2
_print_rrsig_abbr: ; @print_rrsig_abbr
.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
cbz x1, LBB0_3
; %bb.1:
mov x20, x1
mov x19, x0
mov x0, x1
bl _ldns_rr_get_type
Lloh0:
adrp x8, _LDNS_RR_TYPE_RRSIG@GOTPAGE
Lloh1:
ldr x8, [x8, _LDNS_RR_TYPE_RRSIG@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_3
; %bb.2:
mov x0, x20
bl _ldns_rr_owner
mov x1, x0
mov x0, x19
bl _ldns_rdf_print
mov x0, x20
bl _ldns_rr_ttl
str x0, [sp]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _fprintf
mov x0, x19
mov x1, x20
bl _print_class_type
mov x0, x20
mov w1, #0
bl _ldns_rr_rdf
mov x1, x0
mov x0, x19
bl _ldns_rdf_print
mov w0, #32
mov x1, x19
bl _fputc
mov x0, x20
mov w1, #1
bl _ldns_rr_rdf
mov x1, x0
mov x0, x19
bl _ldns_rdf_print
mov w0, #32
mov x1, x19
bl _fputc
mov x0, x20
mov w1, #2
bl _ldns_rr_rdf
mov x1, x0
mov x0, x19
bl _ldns_rdf_print
Lloh5:
adrp x0, l_.str.2@PAGE
Lloh6:
add x0, x0, l_.str.2@PAGEOFF
mov w1, #6
mov w2, #1
mov x3, x19
bl _fwrite
mov x0, x20
mov w1, #4
bl _ldns_rr_rdf
mov x1, x0
mov x0, x19
bl _ldns_rdf_print
mov w0, #32
mov x1, x19
bl _fputc
mov x0, x20
mov w1, #5
bl _ldns_rr_rdf
mov x1, x0
mov x0, x19
bl _ldns_rdf_print
mov w0, #32
mov x1, x19
bl _fputc
mov x0, x20
mov w1, #6
bl _ldns_rr_rdf
mov x1, x0
mov x0, x19
bl _ldns_rdf_print
mov w0, #32
mov x1, x19
bl _fputc
mov x0, x20
mov w1, #7
bl _ldns_rr_rdf
mov x1, x0
mov x0, x19
bl _ldns_rdf_print
mov w0, #41
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _fputc
LBB0_3:
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 Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _LDNS_RR_TYPE_RRSIG,8,3 ; @LDNS_RR_TYPE_RRSIG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " %d"
l_.str.2: ; @.str.2
.asciz " (\n\t\t\t"
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ldns/drill/extr_drill_util.c_print_rrsig_abbr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wi_pci_suspend
_wi_pci_suspend: ## @wi_pci_suspend
.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
callq _device_get_softc
movq %rax, %rbx
movq %rax, %rdi
callq _WI_LOCK
movq %rbx, %rdi
movl $1, %esi
callq _wi_stop
movq %rbx, %rdi
callq _WI_UNLOCK
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _wi_pci_suspend
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wi_pci_suspend
_wi_pci_suspend: ; @wi_pci_suspend
.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
bl _device_get_softc
mov x19, x0
bl _WI_LOCK
mov x0, x19
mov w1, #1
bl _wi_stop
mov x0, x19
bl _WI_UNLOCK
mov w0, #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 _wi_pci_suspend
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/wi/extr_if_wi_pci.c_wi_pci_suspend.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vlan_prio
_vlan_prio: ## @vlan_prio
.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
sarl $13, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _vlan_prio
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vlan_prio
_vlan_prio: ; @vlan_prio
.cfi_startproc
; %bb.0:
ldr w8, [x0]
asr w0, w8, #13
ret
.cfi_endproc
; -- End function
.no_dead_strip _vlan_prio
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/cxgbe/extr_t4_l2t.c_vlan_prio.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vxlan_raw_setup
_vxlan_raw_setup: ## @vxlan_raw_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, 40(%rdi)
movq _ARPHRD_NONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 16(%rdi)
movq _IFF_POINTOPOINT@GOTPCREL(%rip), %rax
movq _IFF_NOARP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _IFF_MULTICAST@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movl %ecx, (%rdi)
movq _vxlan_netdev_raw_ops@GOTPCREL(%rip), %rax
movq %rax, 8(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ARPHRD_NONE,4,2 ## @ARPHRD_NONE
.comm _IFF_POINTOPOINT,4,2 ## @IFF_POINTOPOINT
.comm _IFF_NOARP,4,2 ## @IFF_NOARP
.comm _IFF_MULTICAST,4,2 ## @IFF_MULTICAST
.comm _vxlan_netdev_raw_ops,4,2 ## @vxlan_netdev_raw_ops
.no_dead_strip _vxlan_raw_setup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vxlan_raw_setup
_vxlan_raw_setup: ; @vxlan_raw_setup
.cfi_startproc
; %bb.0:
str xzr, [x0, #40]
Lloh0:
adrp x8, _ARPHRD_NONE@GOTPAGE
Lloh1:
ldr x8, [x8, _ARPHRD_NONE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0, #32]
str xzr, [x0, #24]
Lloh3:
adrp x8, _IFF_POINTOPOINT@GOTPAGE
Lloh4:
ldr x8, [x8, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh5:
adrp x9, _IFF_NOARP@GOTPAGE
Lloh6:
ldr x9, [x9, _IFF_NOARP@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
Lloh8:
ldr w9, [x9]
orr w8, w9, w8
Lloh9:
adrp x9, _IFF_MULTICAST@GOTPAGE
Lloh10:
ldr x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
orr w8, w8, w9
str w8, [x0]
Lloh12:
adrp x8, _vxlan_netdev_raw_ops@GOTPAGE
Lloh13:
ldr x8, [x8, _vxlan_netdev_raw_ops@GOTPAGEOFF]
stp x8, xzr, [x0, #8]
ret
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ARPHRD_NONE,4,2 ; @ARPHRD_NONE
.comm _IFF_POINTOPOINT,4,2 ; @IFF_POINTOPOINT
.comm _IFF_NOARP,4,2 ; @IFF_NOARP
.comm _IFF_MULTICAST,4,2 ; @IFF_MULTICAST
.comm _vxlan_netdev_raw_ops,4,2 ; @vxlan_netdev_raw_ops
.no_dead_strip _vxlan_raw_setup
.subsections_via_symbols
| AnghaBench/linux/drivers/net/extr_vxlan.c_vxlan_raw_setup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gen8_modify_rpcs
_gen8_modify_rpcs: ## @gen8_modify_rpcs
.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, %rbx
addq $8, %rdi
callq _lockdep_assert_held
movq %rbx, %rdi
callq _intel_context_is_pinned
testl %eax, %eax
je LBB0_1
## %bb.2:
movq (%rbx), %rax
movl (%rax), %edi
callq _i915_request_create
movq %rax, %r15
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_3
## %bb.7:
movq %r15, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_1:
xorl %r12d, %r12d
jmp LBB0_6
LBB0_3:
movq %rbx, %rdi
movq %r15, %rsi
callq _intel_context_prepare_remote_request
movl %eax, %r12d
testl %eax, %eax
jne LBB0_5
## %bb.4:
movq %r15, %rdi
movq %rbx, %rsi
movl %r14d, %edx
callq _gen8_emit_rpcs_config
movl %eax, %r12d
LBB0_5:
movq %r15, %rdi
callq _i915_request_add
LBB0_6:
movl %r12d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _gen8_modify_rpcs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gen8_modify_rpcs
_gen8_modify_rpcs: ; @gen8_modify_rpcs
.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, x1
mov x19, x0
add x0, x0, #8
bl _lockdep_assert_held
mov x0, x19
bl _intel_context_is_pinned
cbz w0, LBB0_3
; %bb.1:
ldr x8, [x19]
ldr w0, [x8]
bl _i915_request_create
mov x21, x0
bl _IS_ERR
cbz x0, LBB0_4
; %bb.2:
mov x0, x21
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
LBB0_3:
mov w22, #0
b LBB0_7
LBB0_4:
mov x0, x19
mov x1, x21
bl _intel_context_prepare_remote_request
mov x22, x0
cbnz w0, LBB0_6
; %bb.5:
and x2, x20, #0xffffffff
mov x0, x21
mov x1, x19
bl _gen8_emit_rpcs_config
mov x22, x0
LBB0_6:
mov x0, x21
bl _i915_request_add
LBB0_7:
mov x0, 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
ret
.cfi_endproc
; -- End function
.no_dead_strip _gen8_modify_rpcs
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_context.c_gen8_modify_rpcs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl ___getmainargs ## -- Begin function __getmainargs
.p2align 4, 0x90
___getmainargs: ## @__getmainargs
.cfi_startproc
## %bb.0:
movq ___argv@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq __environ@GOTPCREL(%rip), %r8
testq %rax, %rax
je LBB0_2
## %bb.1:
cmpq $0, (%r8)
je LBB0_2
## %bb.53:
movq %rax, (%rsi)
movq (%r8), %rax
movq %rax, (%rdx)
movq ___argc@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rdi)
retq
LBB0_2:
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, -60(%rbp) ## 4-byte Spill
movq %rdi, -72(%rbp) ## 8-byte Spill
movq %rsi, -80(%rbp) ## 8-byte Spill
movq %rdx, -88(%rbp) ## 8-byte Spill
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq ___argc@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq __acmdln@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
callq _strlen
movq %rax, %r13
movl %r13d, %edi
callq _malloc
movq %rbx, %r8
movq %rax, -56(%rbp) ## 8-byte Spill
movq _TRUE@GOTPCREL(%rip), %rbx
cmpl $0, (%rbx)
je LBB0_39
## %bb.3:
xorl %r14d, %r14d
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp) ## 4-byte Spill
xorl %esi, %esi
movl $0, -44(%rbp) ## 4-byte Folded Spill
movl %r15d, %ecx
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_33 Depth 3
xorl %eax, %eax
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_4 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_33 Depth 3
movslq %r14d, %r12
cmpq %r12, %r13
jb LBB0_29
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movq (%r8), %rdi
movzbl (%rdi,%r12), %edx
cmpl $32, %edx
jne LBB0_7
## %bb.27: ## in Loop: Header=BB0_5 Depth=2
movb $32, %dl
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jne LBB0_22
jmp LBB0_28
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=2
cmpb $9, %dl
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=2
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jne LBB0_9
LBB0_28: ## in Loop: Header=BB0_5 Depth=2
movl $0, -44(%rbp) ## 4-byte Folded Spill
LBB0_29: ## in Loop: Header=BB0_5 Depth=2
testl %r15d, %r15d
je LBB0_31
LBB0_30: ## in Loop: Header=BB0_5 Depth=2
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r8, %r15
callq _strndup
movl %eax, %edi
movl -48(%rbp), %esi ## 4-byte Reload
callq _aexpand
movq %r15, %r8
LBB0_31: ## in Loop: Header=BB0_5 Depth=2
cmpq %r12, %r13
jbe LBB0_39
## %bb.32: ## in Loop: Header=BB0_5 Depth=2
movslq %r14d, %rax
addq (%r8), %rax
jmp LBB0_33
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_33 Depth=3
decl %r14d
decq %rax
LBB0_33: ## Parent Loop BB0_4 Depth=1
## Parent Loop BB0_5 Depth=2
## => This Inner Loop Header: Depth=3
movzbl (%rax), %ecx
cmpl $32, %ecx
je LBB0_35
## %bb.34: ## in Loop: Header=BB0_33 Depth=3
cmpl $9, %ecx
je LBB0_35
## %bb.36: ## in Loop: Header=BB0_5 Depth=2
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %eax, %eax
xorl %esi, %esi
movl %ecx, %r15d
jmp LBB0_37
LBB0_9: ## in Loop: Header=BB0_5 Depth=2
cmpl $92, %edx
je LBB0_44
## %bb.10: ## in Loop: Header=BB0_5 Depth=2
cmpl $34, %edx
jne LBB0_22
## %bb.11: ## in Loop: Header=BB0_5 Depth=2
testl %eax, %eax
jle LBB0_12
## %bb.45: ## in Loop: Header=BB0_5 Depth=2
movl %eax, %ecx
shrl %eax
testb $1, %cl
je LBB0_46
## %bb.49: ## in Loop: Header=BB0_5 Depth=2
movl %eax, %ecx
notl %ecx
addl %esi, %ecx
subl %eax, %esi
movslq %ecx, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movb $34, (%rcx,%rax)
movl (%rbx), %edx
incl %r14d
movl $1, %r15d
xorl %eax, %eax
movl %edx, %ecx
testl %edx, %edx
jne LBB0_5
jmp LBB0_39
LBB0_12: ## in Loop: Header=BB0_5 Depth=2
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jne LBB0_47
## %bb.13: ## in Loop: Header=BB0_5 Depth=2
testl %r14d, %r14d
jle LBB0_47
## %bb.14: ## in Loop: Header=BB0_5 Depth=2
cmpb $34, -1(%rdi,%r12)
jne LBB0_25
## %bb.15: ## in Loop: Header=BB0_5 Depth=2
testl %ecx, %ecx
jne LBB0_25
## %bb.16: ## in Loop: Header=BB0_5 Depth=2
movslq %esi, %rcx
movq -56(%rbp), %rdx ## 8-byte Reload
movb $34, (%rdx,%rcx)
cmpl $0, (%rbx)
je LBB0_39
## %bb.17: ## in Loop: Header=BB0_5 Depth=2
incl %esi
leaq 1(%r12), %r14
movl $0, -44(%rbp) ## 4-byte Folded Spill
cmpq %r12, %r13
jbe LBB0_18
## %bb.19: ## in Loop: Header=BB0_5 Depth=2
movq (%r8), %rcx
movzbl (%rcx,%r14), %edx
movzbl %dl, %ecx
movl $0, -44(%rbp) ## 4-byte Folded Spill
cmpl $33, %ecx
jg LBB0_23
## %bb.20: ## in Loop: Header=BB0_5 Depth=2
movq %r14, %r12
cmpl $9, %ecx
je LBB0_30
## %bb.21: ## in Loop: Header=BB0_5 Depth=2
cmpl $32, %ecx
je LBB0_30
jmp LBB0_22
LBB0_18: ## in Loop: Header=BB0_5 Depth=2
movq %r14, %r12
jmp LBB0_30
LBB0_23: ## in Loop: Header=BB0_5 Depth=2
cmpl $92, %ecx
jne LBB0_24
LBB0_44: ## in Loop: Header=BB0_5 Depth=2
movslq %esi, %rcx
incl %esi
movq -56(%rbp), %rdx ## 8-byte Reload
movb $92, (%rdx,%rcx)
incl %eax
incl %r14d
movq _FALSE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl $1, %r15d
jmp LBB0_37
LBB0_24: ## in Loop: Header=BB0_5 Depth=2
cmpl $34, %ecx
je LBB0_25
LBB0_22: ## in Loop: Header=BB0_5 Depth=2
movslq %esi, %rax
incl %esi
movq -56(%rbp), %rcx ## 8-byte Reload
movb %dl, (%rcx,%rax)
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
incl %r14d
movl $1, %r15d
xorl %eax, %eax
LBB0_37: ## in Loop: Header=BB0_5 Depth=2
movl (%rbx), %edx
testl %edx, %edx
jne LBB0_5
jmp LBB0_39
LBB0_46: ## in Loop: Header=BB0_4 Depth=1
subl %eax, %esi
LBB0_47: ## in Loop: Header=BB0_4 Depth=1
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -44(%rbp), %edi ## 4-byte Reload
movl %edi, %eax
xorl $1, %eax
movl -60(%rbp), %edx ## 4-byte Reload
movl %edx, -48(%rbp) ## 4-byte Spill
testl %edi, %edi
jne LBB0_48
jmp LBB0_26
LBB0_25: ## in Loop: Header=BB0_4 Depth=1
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
LBB0_26: ## in Loop: Header=BB0_4 Depth=1
movl %ecx, -48(%rbp) ## 4-byte Spill
LBB0_48: ## in Loop: Header=BB0_4 Depth=1
incl %r14d
movl $1, %r15d
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB0_4
LBB0_39:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _free
movq ___argc@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -72(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movq ___argv@GOTPCREL(%rip), %r15
movq (%r15), %rax
testq %rax, %rax
jne LBB0_41
## %bb.40:
movl $8, %edi
callq _malloc
movq %rax, (%r15)
movq $0, (%rax)
movq (%r15), %rax
LBB0_41:
movq -80(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq __environ@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -88(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq _MAX_PATH@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _malloc
movq __pgmptr@GOTPCREL(%rip), %r14
movq %rax, (%r14)
testq %rax, %rax
je LBB0_51
## %bb.42:
movl (%rbx), %edx
xorl %edi, %edi
movq %rax, %rsi
callq _GetModuleFileNameA
movq (%r14), %rcx
testl %eax, %eax
je LBB0_43
## %bb.50:
movslq (%rbx), %rax
movb $0, -1(%rcx,%rax)
jmp LBB0_52
LBB0_51:
movq (%r15), %rax
movq (%rax), %rdi
callq __strdup
movq %rax, (%r14)
jmp LBB0_52
LBB0_43:
movb $0, (%rcx)
LBB0_52:
xorl %eax, %eax
callq _GetProcessHeap
movl %eax, %edi
xorl %esi, %esi
xorl %edx, %edx
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _HeapValidate ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_8952 ## @g_aug_volatile_8952
.p2align 2, 0x0
_g_aug_volatile_8952:
.long 5 ## 0x5
.comm _FALSE,4,2 ## @FALSE
.comm ___argv,8,3 ## @__argv
.comm __environ,8,3 ## @_environ
.comm ___argc,4,2 ## @__argc
.comm __acmdln,8,3 ## @_acmdln
.comm _TRUE,4,2 ## @TRUE
.comm _MAX_PATH,4,2 ## @MAX_PATH
.comm __pgmptr,8,3 ## @_pgmptr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl ___getmainargs ; -- Begin function __getmainargs
.p2align 2
___getmainargs: ; @__getmainargs
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, ___argv@GOTPAGE
Lloh1:
ldr x8, [x8, ___argv@GOTPAGEOFF]
Lloh2:
adrp x10, __environ@GOTPAGE
Lloh3:
ldr x10, [x10, __environ@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
ldr x9, [x10]
cmp x8, #0
ccmp x9, #0, #4, ne
Lloh5:
adrp x9, ___argc@GOTPAGE
Lloh6:
ldr x9, [x9, ___argc@GOTPAGEOFF]
b.ne LBB0_44
; %bb.1:
sub sp, sp, #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
str w3, [sp, #4] ; 4-byte Folded Spill
stp x0, x1, [sp, #8] ; 16-byte Folded Spill
str x2, [sp, #24] ; 8-byte Folded Spill
Lloh7:
adrp x28, _FALSE@GOTPAGE
Lloh8:
ldr x28, [x28, _FALSE@GOTPAGEOFF]
ldr w20, [x28]
str wzr, [x9]
Lloh9:
adrp x22, __acmdln@GOTPAGE
Lloh10:
ldr x22, [x22, __acmdln@GOTPAGEOFF]
ldr x0, [x22]
bl _strlen
mov x23, x0
bl _malloc
mov x24, x0
Lloh11:
adrp x26, _TRUE@GOTPAGE
Lloh12:
ldr x26, [x26, _TRUE@GOTPAGEOFF]
ldr w8, [x26]
cbz w8, LBB0_45
; %bb.2:
mov w19, #0 ; =0x0
mov w1, #0 ; =0x0
mov w27, #0 ; =0x0
ldr w25, [sp, #4] ; 4-byte Folded Reload
mov x9, x20
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_10 Depth 3
mov w8, #0 ; =0x0
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
mov w8, #0 ; =0x0
mov w1, #0 ; =0x0
ldr w9, [x28]
mov x20, x9
ldr w10, [x26]
cbz w10, LBB0_45
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_10 Depth 3
sxtw x10, w19
cmp x23, x10
b.hs LBB0_12
LBB0_6: ; in Loop: Header=BB0_5 Depth=2
mov x21, x10
cbz w20, LBB0_8
LBB0_7: ; in Loop: Header=BB0_5 Depth=2
mov x0, x24
; kill: def $w1 killed $w1 killed $x1
bl _strndup
mov x1, x25
bl _aexpand
mov x10, x21
LBB0_8: ; in Loop: Header=BB0_5 Depth=2
cmp x23, x10
b.ls LBB0_45
; %bb.9: ; in Loop: Header=BB0_5 Depth=2
ldr x8, [x22]
add x8, x8, w19, sxtw
LBB0_10: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_5 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w9, [x8], #-1
cmp w9, #32
ccmp w9, #9, #4, ne
b.ne LBB0_4
; %bb.11: ; in Loop: Header=BB0_10 Depth=3
sub w19, w19, #1
b LBB0_10
LBB0_12: ; in Loop: Header=BB0_5 Depth=2
ldr x11, [x22]
add x12, x11, x10
ldrb w11, [x12]
cmp w11, #32
b.ne LBB0_15
; %bb.13: ; in Loop: Header=BB0_5 Depth=2
cbz w27, LBB0_6
; %bb.14: ; in Loop: Header=BB0_5 Depth=2
mov w11, #32 ; =0x20
b LBB0_21
LBB0_15: ; in Loop: Header=BB0_5 Depth=2
cmp w11, #9
ccmp w27, #0, #0, eq
b.eq LBB0_24
; %bb.16: ; in Loop: Header=BB0_5 Depth=2
cmp w11, #92
b.eq LBB0_36
; %bb.17: ; in Loop: Header=BB0_5 Depth=2
cmp w11, #34
b.ne LBB0_21
; %bb.18: ; in Loop: Header=BB0_5 Depth=2
cmp w8, #0
b.le LBB0_25
; %bb.19: ; in Loop: Header=BB0_5 Depth=2
lsr w9, w8, #1
tbz w8, #0, LBB0_38
; %bb.20: ; in Loop: Header=BB0_5 Depth=2
mov w8, #0 ; =0x0
mvn w10, w9
add w10, w1, w10
sub w1, w1, w9
mov w9, #34 ; =0x22
strb w9, [x24, w10, sxtw]
ldr w9, [x26]
add w19, w19, #1
mov w20, #1 ; =0x1
cbnz w9, LBB0_5
b LBB0_45
LBB0_21: ; in Loop: Header=BB0_5 Depth=2
mov x21, x19
LBB0_22: ; in Loop: Header=BB0_5 Depth=2
mov w8, #0 ; =0x0
strb w11, [x24, w1, sxtw]
add w10, w1, #1
ldr w9, [x28]
add w19, w21, #1
LBB0_23: ; in Loop: Header=BB0_5 Depth=2
mov w20, #1 ; =0x1
mov x1, x10
ldr w10, [x26]
cbnz w10, LBB0_5
b LBB0_45
LBB0_24: ; in Loop: Header=BB0_5 Depth=2
mov w27, #0 ; =0x0
b LBB0_6
LBB0_25: ; in Loop: Header=BB0_5 Depth=2
cbnz w27, LBB0_39
; %bb.26: ; in Loop: Header=BB0_5 Depth=2
cmp w19, #1
b.lt LBB0_39
; %bb.27: ; in Loop: Header=BB0_5 Depth=2
ldurb w11, [x12, #-1]
cmp w11, #34
ccmp w9, #0, #0, eq
b.ne LBB0_40
; %bb.28: ; in Loop: Header=BB0_5 Depth=2
mov w9, #34 ; =0x22
strb w9, [x24, w1, sxtw]
ldr w9, [x26]
cbz w9, LBB0_45
; %bb.29: ; in Loop: Header=BB0_5 Depth=2
add w1, w1, #1
add x21, x10, #1
cmp x23, x10
b.ls LBB0_33
; %bb.30: ; in Loop: Header=BB0_5 Depth=2
mov w27, #0 ; =0x0
ldr x9, [x22]
ldrb w11, [x9, x21]
cmp w11, #33
b.gt LBB0_34
; %bb.31: ; in Loop: Header=BB0_5 Depth=2
mov x19, x21
cmp w11, #9
b.eq LBB0_7
; %bb.32: ; in Loop: Header=BB0_5 Depth=2
cmp w11, #32
b.eq LBB0_7
b LBB0_22
LBB0_33: ; in Loop: Header=BB0_5 Depth=2
mov w27, #0 ; =0x0
mov x19, x21
b LBB0_7
LBB0_34: ; in Loop: Header=BB0_5 Depth=2
cmp w11, #92
b.ne LBB0_37
; %bb.35: ; in Loop: Header=BB0_5 Depth=2
mov x19, x21
LBB0_36: ; in Loop: Header=BB0_5 Depth=2
mov w9, #92 ; =0x5c
strb w9, [x24, w1, sxtw]
add w10, w1, #1
add w8, w8, #1
add w19, w19, #1
ldr w9, [x28]
b LBB0_23
LBB0_37: ; in Loop: Header=BB0_5 Depth=2
cmp w11, #34
b.ne LBB0_22
b LBB0_41
LBB0_38: ; in Loop: Header=BB0_3 Depth=1
sub w1, w1, w9
LBB0_39: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [x28]
eor w8, w27, #0x1
ldr w25, [sp, #4] ; 4-byte Folded Reload
cbnz w27, LBB0_43
b LBB0_42
LBB0_40: ; in Loop: Header=BB0_3 Depth=1
mov x21, x19
LBB0_41: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [x28]
mov w8, #1 ; =0x1
mov x19, x21
LBB0_42: ; in Loop: Header=BB0_3 Depth=1
mov x25, x9
LBB0_43: ; in Loop: Header=BB0_3 Depth=1
add w19, w19, #1
mov w20, #1 ; =0x1
mov x27, x8
b LBB0_3
LBB0_44:
str x8, [x1]
ldr x8, [x10]
str x8, [x2]
ldr w8, [x9]
str w8, [x0]
ret
LBB0_45:
mov x0, x24
bl _free
Lloh13:
adrp x8, ___argc@GOTPAGE
Lloh14:
ldr x8, [x8, ___argc@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
ldr x9, [sp, #8] ; 8-byte Folded Reload
str w8, [x9]
Lloh16:
adrp x21, ___argv@GOTPAGE
Lloh17:
ldr x21, [x21, ___argv@GOTPAGEOFF]
ldr x8, [x21]
cbnz x8, LBB0_47
; %bb.46:
mov w0, #8 ; =0x8
bl _malloc
str x0, [x21]
str xzr, [x0]
ldr x8, [x21]
LBB0_47:
ldp x10, x9, [sp, #16] ; 16-byte Folded Reload
str x8, [x10]
Lloh18:
adrp x8, __environ@GOTPAGE
Lloh19:
ldr x8, [x8, __environ@GOTPAGEOFF]
Lloh20:
ldr x8, [x8]
str x8, [x9]
Lloh21:
adrp x19, _MAX_PATH@GOTPAGE
Lloh22:
ldr x19, [x19, _MAX_PATH@GOTPAGEOFF]
ldr w0, [x19]
bl _malloc
Lloh23:
adrp x20, __pgmptr@GOTPAGE
Lloh24:
ldr x20, [x20, __pgmptr@GOTPAGEOFF]
str x0, [x20]
cbz x0, LBB0_50
; %bb.48:
mov x1, x0
ldr w2, [x19]
mov x0, #0 ; =0x0
bl _GetModuleFileNameA
ldr x8, [x20]
cbz w0, LBB0_51
; %bb.49:
ldrsw x9, [x19]
add x8, x8, x9
sturb wzr, [x8, #-1]
b LBB0_52
LBB0_50:
ldr x8, [x21]
ldr x0, [x8]
bl __strdup
str x0, [x20]
b LBB0_52
LBB0_51:
strb wzr, [x8]
LBB0_52:
bl _GetProcessHeap
mov w1, #0 ; =0x0
mov x2, #0 ; =0x0
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 _HeapValidate
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_8952 ; @g_aug_volatile_8952
.p2align 2, 0x0
_g_aug_volatile_8952:
.long 5 ; 0x5
.comm _FALSE,4,2 ; @FALSE
.comm ___argv,8,3 ; @__argv
.comm __environ,8,3 ; @_environ
.comm ___argc,4,2 ; @__argc
.comm __acmdln,8,3 ; @_acmdln
.comm _TRUE,4,2 ; @TRUE
.comm _MAX_PATH,4,2 ; @MAX_PATH
.comm __pgmptr,8,3 ; @_pgmptr
.subsections_via_symbols
| assembly_file_109384.c | assembly_dataset |
.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 %r13
pushq %r12
pushq %rbx
subq $632, %rsp ## imm = 0x278
.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)
leaq -560(%rbp), %r12
movl $500, %esi ## imm = 0x1F4
movq %r12, %rdi
callq ___bzero
leaq L_str(%rip), %rdi
callq _puts
movq %r12, %rdi
callq _gets
leaq -460(%rbp), %rdi
callq _gets
leaq -360(%rbp), %rdi
callq _gets
leaq -260(%rbp), %rdi
callq _gets
leaq -160(%rbp), %rdi
callq _gets
leaq -60(%rbp), %r13
leaq -672(%rbp), %r15
jmp LBB0_1
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %r12
leaq -160(%rbp), %rax
cmpq %rax, %r14
jae LBB0_7
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
leaq 100(%r12), %r14
cmpq %r13, %r14
jae LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rbx
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=2
addq $100, %rbx
cmpq %r13, %rbx
jae LBB0_6
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r12, %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
jns LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl $100, %edx
movq %r15, %rdi
movq %r12, %rsi
callq ___strcpy_chk
movq %r12, %rdi
movq %rbx, %rsi
callq _strcpy
movq %rbx, %rdi
movq %r15, %rsi
callq _strcpy
jmp LBB0_5
LBB0_7:
leaq -560(%rbp), %rbx
leaq L_str.4(%rip), %rdi
callq _puts
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _puts
addq $100, %rbx
cmpq %r13, %rbx
jb LBB0_8
## %bb.9:
movl $10, %edi
callq _putchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_11
## %bb.10:
xorl %eax, %eax
addq $632, %rsp ## imm = 0x278
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "\350\276\223\345\205\2455\344\270\252\345\255\227\347\254\246\344\270\262"
L_str.4: ## @str.4
.asciz "\n\346\216\222\345\272\217\345\220\216:"
.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 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
sub sp, sp, #624
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
add x19, sp, #112
str wzr, [sp, #608]
movi.2d v0, #0000000000000000
stp q0, q0, [x19, #464]
stp q0, q0, [x19, #432]
stp q0, q0, [x19, #400]
stp q0, q0, [x19, #368]
stp q0, q0, [x19, #336]
stp q0, q0, [x19, #304]
stp q0, q0, [x19, #272]
stp q0, q0, [x19, #240]
stp q0, q0, [x19, #208]
stp q0, q0, [x19, #176]
stp q0, q0, [x19, #144]
stp q0, q0, [x19, #112]
stp q0, q0, [x19, #80]
stp q0, q0, [x19, #48]
str q0, [x19, #32]
add x20, x19, #400
stp q0, q0, [sp, #112]
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
add x0, sp, #112
bl _gets
add x0, x19, #100
bl _gets
add x0, x19, #200
bl _gets
add x0, x19, #300
bl _gets
mov x0, x20
bl _gets
add x22, x19, #500
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
mov x19, x23
cmp x23, x20
b.hs LBB0_7
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
add x23, x19, #100
cmp x23, x22
b.hs LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x21, x23
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
add x21, x21, #100
cmp x21, x22
b.hs LBB0_1
LBB0_5: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x19
mov x1, x21
bl _strcmp
tbz w0, #31, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
add x0, sp, #12
mov x1, x19
mov w2, #100
bl ___strcpy_chk
mov x0, x19
mov x1, x21
bl _strcpy
add x1, sp, #12
mov x0, x21
bl _strcpy
b LBB0_4
LBB0_7:
add x19, sp, #112
Lloh5:
adrp x0, l_str.4@PAGE
Lloh6:
add x0, x0, l_str.4@PAGEOFF
bl _puts
LBB0_8: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _puts
add x19, x19, #100
cmp x19, x22
b.lo LBB0_8
; %bb.9:
mov w0, #10
bl _putchar
ldur x8, [x29, #-56]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_11
; %bb.10:
mov w0, #0
add sp, sp, #624
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
LBB0_11:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "\350\276\223\345\205\2455\344\270\252\345\255\227\347\254\246\344\270\262"
l_str.4: ; @str.4
.asciz "\n\346\216\222\345\272\217\345\220\216:"
.subsections_via_symbols
| the_stack_data/140764984.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xlr_net_remove
_xlr_net_remove: ## @xlr_net_remove
.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
callq _platform_get_drvdata
movq %rax, %rbx
movl (%rax), %edi
callq _unregister_netdev
movl 4(%rbx), %edi
callq _mdiobus_unregister
movl 4(%rbx), %edi
callq _mdiobus_free
movl (%rbx), %edi
callq _free_netdev
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _xlr_net_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xlr_net_remove
_xlr_net_remove: ; @xlr_net_remove
.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
bl _platform_get_drvdata
mov x19, x0
ldr w0, [x0]
bl _unregister_netdev
ldr w0, [x19, #4]
bl _mdiobus_unregister
ldr w0, [x19, #4]
bl _mdiobus_free
ldr w0, [x19]
bl _free_netdev
mov w0, #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 _xlr_net_remove
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/netlogic/extr_xlr_net.c_xlr_net_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pmap_get_cr3 ## -- Begin function pmap_get_cr3
.p2align 4, 0x90
_pmap_get_cr3: ## @pmap_get_cr3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _pmap_methods_ptr@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
jmpq *(%rax) ## TAILCALL
.cfi_endproc
## -- End function
.comm _pmap_methods_ptr,8,3 ## @pmap_methods_ptr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pmap_get_cr3 ; -- Begin function pmap_get_cr3
.p2align 2
_pmap_get_cr3: ; @pmap_get_cr3
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _pmap_methods_ptr@GOTPAGE
Lloh1:
ldr x8, [x8, _pmap_methods_ptr@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x1, [x8]
br x1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _pmap_methods_ptr,8,3 ; @pmap_methods_ptr
.subsections_via_symbols
| AnghaBench/freebsd/sys/i386/i386/extr_pmap_base.c_pmap_get_cr3.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lofs_umount
_lofs_umount: ## @lofs_umount
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MFF_ON_AUTOFS@GOTPCREL(%rip), %rax
movl (%rax), %edx
andl (%rsi), %edx
je LBB0_2
## %bb.1:
movq _AMU_UMOUNT_AUTOFS@GOTPCREL(%rip), %rax
movl (%rax), %edx
LBB0_2:
movl 4(%rsi), %edi
movq _mnttab_file_name@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _UMOUNT_FS ## TAILCALL
.cfi_endproc
## -- End function
.comm _MFF_ON_AUTOFS,4,2 ## @MFF_ON_AUTOFS
.comm _AMU_UMOUNT_AUTOFS,4,2 ## @AMU_UMOUNT_AUTOFS
.comm _mnttab_file_name,4,2 ## @mnttab_file_name
.no_dead_strip _lofs_umount
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lofs_umount
_lofs_umount: ; @lofs_umount
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MFF_ON_AUTOFS@GOTPAGE
Lloh1:
ldr x8, [x8, _MFF_ON_AUTOFS@GOTPAGEOFF]
Lloh2:
adrp x9, _AMU_UMOUNT_AUTOFS@GOTPAGE
Lloh3:
ldr x9, [x9, _AMU_UMOUNT_AUTOFS@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
ldr w9, [x9]
ldp w10, w0, [x1]
tst w8, w10
csel w2, wzr, w9, eq
Lloh6:
adrp x8, _mnttab_file_name@GOTPAGE
Lloh7:
ldr x8, [x8, _mnttab_file_name@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
b _UMOUNT_FS
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _MFF_ON_AUTOFS,4,2 ; @MFF_ON_AUTOFS
.comm _AMU_UMOUNT_AUTOFS,4,2 ; @AMU_UMOUNT_AUTOFS
.comm _mnttab_file_name,4,2 ; @mnttab_file_name
.no_dead_strip _lofs_umount
.subsections_via_symbols
| AnghaBench/freebsd/contrib/amd/amd/extr_ops_lofs.c_lofs_umount.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 main
LCPI0_0:
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.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 %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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %r14
leaq L_.str.1(%rip), %r15
leaq -52(%rbp), %r13
movl $-10000, %ebx ## imm = 0xD8F0
leaq L_str.9(%rip), %r12
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
callq _getchar
movl -52(%rbp), %eax
leal -10000(%rax), %ecx
cmpl $-9998, %ecx ## imm = 0xD8F2
jae LBB0_4
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
movl -52(%rbp), %eax
addl %ebx, %eax
cmpl $-9999, %eax ## imm = 0xD8F1
ja LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %rdi
callq _puts
jmp LBB0_3
LBB0_4:
movq %rsp, -88(%rbp) ## 8-byte Spill
movl %eax, %ecx
shrl %ecx
movq %rcx, -72(%rbp) ## 8-byte Spill
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -64(%rbp) ## 8-byte Spill
cmpl $0, -52(%rbp)
jle LBB0_11
## %bb.5:
leaq L_.str.3(%rip), %r14
leaq L_.str.1(%rip), %r12
leaq L_str.8(%rip), %r15
xorl %r13d, %r13d
jmp LBB0_6
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
movslq -52(%rbp), %rax
cmpq %rax, %r13
jge LBB0_11
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movq -64(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r13,4), %rbx
movl $10000, (%rax,%r13,4) ## imm = 0x2710
incq %r13
jmp LBB0_7
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_7 Depth=2
callq _getchar
cmpl $9999, (%rbx) ## imm = 0x270F
jle LBB0_10
LBB0_7: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
cmpl $10000, (%rbx) ## imm = 0x2710
jl LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movq %r15, %rdi
callq _puts
jmp LBB0_9
LBB0_11:
movl $10, %edi
callq _putchar
movl -52(%rbp), %eax
movslq %eax, %r15
movq -72(%rbp), %r8 ## 8-byte Reload
movl %r8d, %ecx
movq %rcx, -104(%rbp) ## 8-byte Spill
leal 1(%r8), %ecx
movq %rcx, -96(%rbp) ## 8-byte Spill
movq -64(%rbp), %rdi ## 8-byte Reload
movq %rdi, %r10
addq $52, %r10
leaq -9(%rax), %r12
movl $1, %r9d
xorl %r13d, %r13d
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [1,0,0,0]
xorl %r14d, %r14d
movq %r15, -80(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_18 Depth 2
## Child Loop BB0_25 Depth 2
leaq 1(%r13), %r11
movl $1, %ebx
cmpq %r15, %r11
jge LBB0_26
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rcx
notq %rcx
leaq (%rcx,%rax), %r15
movl (%rdi,%r13,4), %edx
movl $1, %ebx
movq %r9, %rsi
cmpq $8, %r15
jb LBB0_24
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
addq %rax, %rcx
addq $-8, %rcx
movq %rcx, %rbx
shrq $3, %rbx
incq %rbx
movd %edx, %xmm1
pshufd $0, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,0,0]
cmpq $8, %rcx
jae LBB0_17
## %bb.16: ## in Loop: Header=BB0_13 Depth=1
pxor %xmm2, %xmm2
xorl %r8d, %r8d
movdqa %xmm0, %xmm3
jmp LBB0_19
LBB0_17: ## in Loop: Header=BB0_13 Depth=1
movq %r12, %rsi
shrq $3, %rsi
incq %rsi
andq $-2, %rsi
pxor %xmm2, %xmm2
xorl %r8d, %r8d
movdqa %xmm0, %xmm3
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movdqu -48(%r10,%r8,4), %xmm4
movdqu -32(%r10,%r8,4), %xmm5
movdqu -16(%r10,%r8,4), %xmm6
movdqu (%r10,%r8,4), %xmm7
pcmpeqd %xmm1, %xmm4
psubd %xmm4, %xmm3
pcmpeqd %xmm1, %xmm5
psubd %xmm5, %xmm2
pcmpeqd %xmm1, %xmm6
psubd %xmm6, %xmm3
pcmpeqd %xmm1, %xmm7
psubd %xmm7, %xmm2
addq $16, %r8
addq $-2, %rsi
jne LBB0_18
LBB0_19: ## in Loop: Header=BB0_13 Depth=1
movq %r15, %rsi
andq $-8, %rsi
testb $1, %bl
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_13 Depth=1
addq %r9, %r8
movq -64(%rbp), %rcx ## 8-byte Reload
movdqu (%rcx,%r8,4), %xmm4
movdqu 16(%rcx,%r8,4), %xmm5
pcmpeqd %xmm1, %xmm4
psubd %xmm4, %xmm3
pcmpeqd %xmm1, %xmm5
psubd %xmm5, %xmm2
LBB0_21: ## in Loop: Header=BB0_13 Depth=1
paddd %xmm2, %xmm3
pshufd $238, %xmm3, %xmm1 ## xmm1 = xmm3[2,3,2,3]
paddd %xmm3, %xmm1
pshufd $85, %xmm1, %xmm2 ## xmm2 = xmm1[1,1,1,1]
paddd %xmm1, %xmm2
movd %xmm2, %ebx
cmpq %rsi, %r15
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_13 Depth=1
movq -72(%rbp), %r8 ## 8-byte Reload
movq -64(%rbp), %rdi ## 8-byte Reload
movq -80(%rbp), %r15 ## 8-byte Reload
jmp LBB0_26
LBB0_23: ## in Loop: Header=BB0_13 Depth=1
addq %r9, %rsi
movq -72(%rbp), %r8 ## 8-byte Reload
LBB0_24: ## in Loop: Header=BB0_13 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
movq -80(%rbp), %r15 ## 8-byte Reload
.p2align 4, 0x90
LBB0_25: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
xorl %ecx, %ecx
cmpl (%rdi,%rsi,4), %edx
sete %cl
addl %ecx, %ebx
incq %rsi
cmpq %rsi, %rax
jne LBB0_25
LBB0_26: ## in Loop: Header=BB0_13 Depth=1
cmpl %r8d, %ebx
ja LBB0_27
## %bb.12: ## in Loop: Header=BB0_13 Depth=1
cmpq -104(%rbp), %r13 ## 8-byte Folded Reload
setae %r14b
incq %r9
addq $4, %r10
decq %r12
movq %r11, %r13
cmpq -96(%rbp), %r11 ## 8-byte Folded Reload
jne LBB0_13
jmp LBB0_28
LBB0_27:
movl %r13d, %eax
movl (%rdi,%rax,4), %esi
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
movq -72(%rbp), %r8 ## 8-byte Reload
LBB0_28:
xorl %eax, %eax
testb $1, %r14b
je LBB0_31
## %bb.29:
cmpl %r8d, %ebx
jg LBB0_31
## %bb.30:
leaq L_str(%rip), %rdi
callq _puts
movl $1, %eax
LBB0_31:
movq -88(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_33
## %bb.32:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_33:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter number of values (2 - 9.999): "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Enter number %i: "
L_.str.6: ## @.str.6
.asciz "The majority element is: %i\n"
L_str: ## @str
.asciz "There is no majority element."
L_str.8: ## @str.8
.asciz "Wrong input. Accept only numbers up to 9.999"
L_str.9: ## @str.9
.asciz "Wrong input. Accept only numbers up 2 - 9.999"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function main
lCPI0_0:
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.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, #32
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh5:
adrp x20, l_.str.1@PAGE
Lloh6:
add x20, x20, l_.str.1@PAGEOFF
sub x22, x29, #92
mov w23, #-10000
mov w24, #-9999
Lloh7:
adrp x21, l_str.9@PAGE
Lloh8:
add x21, x21, l_str.9@PAGEOFF
mov w25, #-9998
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
bl _getchar
ldur w8, [x29, #-92]
add w9, w8, w23
cmp w9, w25
b.hs LBB0_4
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _printf
str x22, [sp, #-16]!
mov x0, x20
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-92]
add w8, w8, w23
cmp w8, w24
b.hi LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x21
bl _puts
b LBB0_1
LBB0_4:
mov x9, sp
stur x9, [x29, #-104] ; 8-byte Folded Spill
ubfx x23, x8, #1, #31
lsl x8, x8, #2
mov x9, x8
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x24, x9, x8
mov sp, x24
ldur w8, [x29, #-92]
cmp w8, #1
b.lt LBB0_11
; %bb.5:
mov x22, #0
Lloh11:
adrp x19, l_.str.3@PAGE
Lloh12:
add x19, x19, l_.str.3@PAGEOFF
mov w26, #10000
Lloh13:
adrp x20, l_.str.1@PAGE
Lloh14:
add x20, x20, l_.str.1@PAGEOFF
mov w27, #9999
Lloh15:
adrp x21, l_str.8@PAGE
Lloh16:
add x21, x21, l_str.8@PAGEOFF
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
ldursw x8, [x29, #-92]
cmp x22, x8
b.ge LBB0_11
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
add x28, x24, x22, lsl #2
str w26, [x28]
add x22, x22, #1
mov x25, x22
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
bl _getchar
ldr w8, [x28]
cmp w8, w27
b.le LBB0_6
LBB0_9: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
str x25, [sp, #-16]!
mov x0, x19
bl _printf
add sp, sp, #16
str x28, [sp, #-16]!
mov x0, x20
bl _scanf
add sp, sp, #16
ldr w8, [x28]
cmp w8, w26
b.lt LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
mov x0, x21
bl _puts
b LBB0_8
LBB0_11:
mov w0, #10
bl _putchar
mov x14, #0
mov w19, #0
ldur w8, [x29, #-92]
sxtw x9, w8
mov w10, w23
add w11, w23, #1
sub x12, x8, #1
add x13, x24, #36
mov w15, #1
Lloh17:
adrp x16, lCPI0_0@PAGE
Lloh18:
ldr q0, [x16, lCPI0_0@PAGEOFF]
LBB0_12: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
; Child Loop BB0_20 Depth 2
add x16, x14, #1
cmp x16, x9
b.ge LBB0_15
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
mvn x17, x14
add x1, x17, x8
ldr w17, [x24, x14, lsl #2]
cmp x1, #16
b.hs LBB0_16
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
mov w20, #1
mov x0, x15
b LBB0_19
LBB0_15: ; in Loop: Header=BB0_12 Depth=1
mov w20, #1
b LBB0_21
LBB0_16: ; in Loop: Header=BB0_12 Depth=1
and x3, x12, #0xfffffffffffffff0
and x2, x1, #0xfffffffffffffff0
dup.4s v2, w17
add x0, x15, x2
movi.2d v1, #0000000000000000
mov x4, x13
mov.16b v3, v0
movi.2d v4, #0000000000000000
movi.2d v5, #0000000000000000
LBB0_17: ; Parent Loop BB0_12 Depth=1
; => This Inner Loop Header: Depth=2
ldp q6, q7, [x4, #-32]
ldp q16, q17, [x4], #64
cmeq.4s v6, v2, v6
cmeq.4s v7, v2, v7
cmeq.4s v16, v2, v16
cmeq.4s v17, v2, v17
sub.4s v3, v3, v6
sub.4s v1, v1, v7
sub.4s v4, v4, v16
sub.4s v5, v5, v17
subs x3, x3, #16
b.ne LBB0_17
; %bb.18: ; in Loop: Header=BB0_12 Depth=1
add.4s v1, v1, v3
add.4s v1, v4, v1
add.4s v1, v5, v1
addv.4s s1, v1
fmov w20, s1
cmp x1, x2
b.eq LBB0_21
LBB0_19: ; in Loop: Header=BB0_12 Depth=1
add x1, x24, x0, lsl #2
sub x0, x8, x0
LBB0_20: ; Parent Loop BB0_12 Depth=1
; => This Inner Loop Header: Depth=2
ldr w2, [x1], #4
cmp w17, w2
cinc w20, w20, eq
subs x0, x0, #1
b.ne LBB0_20
LBB0_21: ; in Loop: Header=BB0_12 Depth=1
cmp w20, w23
b.hi LBB0_24
; %bb.22: ; in Loop: Header=BB0_12 Depth=1
cmp x14, x10
cset w19, hs
add x15, x15, #1
sub x12, x12, #1
add x13, x13, #4
mov x14, x16
cmp x16, x11
b.ne LBB0_12
; %bb.23:
mov w0, #0
tbnz w19, #0, LBB0_25
b LBB0_27
LBB0_24:
ldr w8, [x24, w14, uxtw #2]
str x8, [sp, #-16]!
Lloh19:
adrp x0, l_.str.6@PAGE
Lloh20:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
add sp, sp, #16
mov w0, #0
tbz w19, #0, LBB0_27
LBB0_25:
cmp w20, w23
b.gt LBB0_27
; %bb.26:
Lloh21:
adrp x0, l_str@PAGE
Lloh22:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #1
LBB0_27:
ldur x8, [x29, #-104] ; 8-byte Folded Reload
mov sp, x8
ldur x8, [x29, #-88]
Lloh23:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh24:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_29
; %bb.28:
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_29:
bl ___stack_chk_fail
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdr Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter number of values (2 - 9.999): "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Enter number %i: "
l_.str.6: ; @.str.6
.asciz "The majority element is: %i\n"
l_str: ; @str
.asciz "There is no majority element."
l_str.8: ; @str.8
.asciz "Wrong input. Accept only numbers up to 9.999"
l_str.9: ; @str.9
.asciz "Wrong input. Accept only numbers up 2 - 9.999"
.subsections_via_symbols
| the_stack_data/151062.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function percent_rankValueFunc
_percent_rankValueFunc: ## @percent_rankValueFunc
.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 $24, %esi
callq _sqlite3_aggregate_context
testq %rax, %rax
je LBB0_4
## %bb.1:
movq 16(%rax), %rcx
movq %rcx, 8(%rax)
movl (%rax), %eax
xorpd %xmm0, %xmm0
cmpl $2, %eax
jl LBB0_3
## %bb.2:
xorps %xmm0, %xmm0
cvtsi2sd %rcx, %xmm0
decl %eax
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
LBB0_3:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _sqlite3_result_double ## TAILCALL
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_5271 ## @g_aug_volatile_5271
.p2align 2, 0x0
_g_aug_volatile_5271:
.long 1 ## 0x1
.no_dead_strip _percent_rankValueFunc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function percent_rankValueFunc
_percent_rankValueFunc: ; @percent_rankValueFunc
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
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, #24 ; =0x18
bl _sqlite3_aggregate_context
cbz x0, LBB0_4
; %bb.1:
ldr x8, [x0, #16]
str x8, [x0, #8]
ldr w9, [x0]
movi d0, #0000000000000000
cmp w9, #2
b.lt LBB0_3
; %bb.2:
scvtf d0, x8
sub w8, w9, #1
ucvtf d1, w8
fdiv d0, d0, d1
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _sqlite3_result_double
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_5271 ; @g_aug_volatile_5271
.p2align 2, 0x0
_g_aug_volatile_5271:
.long 1 ; 0x1
.no_dead_strip _percent_rankValueFunc
.subsections_via_symbols
| assembly_file_33565.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mpr_mapping_topology_change_event ## -- Begin function mpr_mapping_topology_change_event
.p2align 4, 0x90
_mpr_mapping_topology_change_event: ## @mpr_mapping_topology_change_event
.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
movq %rsi, %rbx
movq %rdi, %r14
movl 32(%rsi), %edi
callq _le16toh
movq %rax, -56(%rbp)
movl 28(%rbx), %edi
callq _le16toh
movq %rax, -64(%rbp)
movl (%rbx), %r15d
movl %r15d, -96(%rbp)
movl 24(%rbx), %eax
movl %eax, -72(%rbp)
movl 20(%rbx), %eax
movl %eax, -76(%rbp)
movl 16(%rbx), %eax
movl %eax, -80(%rbp)
movq 8(%rbx), %r12
movq $0, -88(%rbp)
testq %r15, %r15
je LBB0_7
## %bb.1:
movl %r15d, %edi
shll $4, %edi
movq _M_MPR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _M_NOWAIT@GOTPCREL(%rip), %rax
movq _M_ZERO@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
callq _malloc
movq %rax, -88(%rbp)
testq %rax, %rax
je LBB0_7
## %bb.2:
movq %r14, -48(%rbp) ## 8-byte Spill
testl %r15d, %r15d
jle LBB0_5
## %bb.3:
movq %rax, %r13
addq $8, %r13
xorl %ebx, %ebx
movq _MPI2_EVENT_SAS_TOPO_RC_MASK@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl 4(%r12,%rbx,8), %edi
callq _le16toh
movq %rax, (%r13)
movl (%r14), %eax
andl (%r12,%rbx,8), %eax
movl %eax, -8(%r13)
addq $16, %r13
incq %rbx
cmpl %ebx, %r15d
jne LBB0_4
LBB0_5:
leaq -96(%rbp), %rbx
movq -48(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
movq %rbx, %rsi
callq __mapping_update_missing_count
movq %r14, %rdi
movq %rbx, %rsi
callq __mapping_get_dev_info
movq %r14, %rdi
callq __mapping_clear_removed_entries
movq %r14, %rdi
movq %rbx, %rsi
callq __mapping_add_new_device
movq -88(%rbp), %rdi
jmp LBB0_8
LBB0_7:
xorl %edi, %edi
LBB0_8:
movq _M_MPR@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _free
movq %r14, %rdi
callq __mapping_flush_dpm_pages
movq (%r14), %rax
testq %rax, %rax
je LBB0_10
## %bb.9:
decq %rax
movq %rax, (%r14)
LBB0_10:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _M_MPR,4,2 ## @M_MPR
.comm _M_NOWAIT,4,2 ## @M_NOWAIT
.comm _M_ZERO,4,2 ## @M_ZERO
.comm _MPI2_EVENT_SAS_TOPO_RC_MASK,4,2 ## @MPI2_EVENT_SAS_TOPO_RC_MASK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mpr_mapping_topology_change_event ; -- Begin function mpr_mapping_topology_change_event
.p2align 2
_mpr_mapping_topology_change_event: ; @mpr_mapping_topology_change_event
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.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 x20, x1
mov x19, x0
ldr w0, [x1, #32]
bl _le16toh
str x0, [sp, #40]
ldr w0, [x20, #28]
bl _le16toh
str x0, [sp, #32]
ldr w21, [x20]
str w21, [sp]
ldr w8, [x20, #24]
str w8, [sp, #24]
ldr d0, [x20, #16]
str d0, [sp, #16]
ldr x23, [x20, #8]
str xzr, [sp, #8]
Lloh0:
adrp x20, _M_MPR@GOTPAGE
Lloh1:
ldr x20, [x20, _M_MPR@GOTPAGEOFF]
cbz w21, LBB0_6
; %bb.1:
lsl w0, w21, #4
Lloh2:
adrp x8, _M_NOWAIT@GOTPAGE
Lloh3:
ldr x8, [x8, _M_NOWAIT@GOTPAGEOFF]
ldr w1, [x20]
Lloh4:
ldr w8, [x8]
Lloh5:
adrp x9, _M_ZERO@GOTPAGE
Lloh6:
ldr x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
orr w2, w9, w8
bl _malloc
str x0, [sp, #8]
cbz x0, LBB0_7
; %bb.2:
cmp w21, #1
b.lt LBB0_5
; %bb.3:
add x22, x0, #8
add x23, x23, #4
Lloh8:
adrp x24, _MPI2_EVENT_SAS_TOPO_RC_MASK@GOTPAGE
Lloh9:
ldr x24, [x24, _MPI2_EVENT_SAS_TOPO_RC_MASK@GOTPAGEOFF]
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w0, [x23]
bl _le16toh
str x0, [x22]
ldur w8, [x23, #-4]
ldr w9, [x24]
and w8, w9, w8
stur w8, [x22, #-8]
add x22, x22, #16
add x23, x23, #8
subs w21, w21, #1
b.ne LBB0_4
LBB0_5:
mov x1, sp
mov x0, x19
bl __mapping_update_missing_count
mov x1, sp
mov x0, x19
bl __mapping_get_dev_info
mov x0, x19
bl __mapping_clear_removed_entries
mov x1, sp
mov x0, x19
bl __mapping_add_new_device
ldr x0, [sp, #8]
b LBB0_7
LBB0_6:
mov x0, #0
LBB0_7:
ldr w1, [x20]
bl _free
mov x0, x19
bl __mapping_flush_dpm_pages
ldr x8, [x19]
cbz x8, LBB0_9
; %bb.8:
sub x8, x8, #1
str x8, [x19]
LBB0_9:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _M_MPR,4,2 ; @M_MPR
.comm _M_NOWAIT,4,2 ; @M_NOWAIT
.comm _M_ZERO,4,2 ; @M_ZERO
.comm _MPI2_EVENT_SAS_TOPO_RC_MASK,4,2 ; @MPI2_EVENT_SAS_TOPO_RC_MASK
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/mpr/extr_mpr_mapping.c_mpr_mapping_topology_change_event.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function status_prompt_add_history
_status_prompt_add_history: ## @status_prompt_add_history
.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 %rdi, %rbx
movq _status_prompt_hsize@GOTPCREL(%rip), %r14
movslq (%r14), %rsi
testq %rsi, %rsi
js LBB0_3
## %bb.1:
movq _status_prompt_hlist@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rax,%rsi,4), %edi
movq %rbx, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_6
## %bb.2:
movl (%r14), %esi
LBB0_3:
movq _PROMPT_HISTORY@GOTPCREL(%rip), %r12
movq _status_prompt_hlist@GOTPCREL(%rip), %r15
movq (%r15), %rdi
cmpl (%r12), %esi
jne LBB0_5
## %bb.4:
movl (%rdi), %edi
callq _free
movslq (%r12), %rax
leaq -4(,%rax,4), %rdx
movq (%r15), %rdi
leaq 4(%rdi), %rsi
callq _memmove
movq %rbx, %rdi
callq _xstrdup
movq (%r15), %rcx
movslq (%r14), %rdx
movl %eax, -4(%rcx,%rdx,4)
jmp LBB0_6
LBB0_5:
incl %esi
## kill: def $esi killed $esi killed $rsi
movl $4, %edx
callq _xreallocarray
movq %rax, (%r15)
movq %rbx, %rdi
callq _xstrdup
movq (%r15), %rcx
movslq (%r14), %rdx
leal -1(%rdx), %esi
movl %esi, (%r14)
movl %eax, (%rcx,%rdx,4)
LBB0_6:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _status_prompt_hsize,4,2 ## @status_prompt_hsize
.comm _status_prompt_hlist,8,3 ## @status_prompt_hlist
.comm _PROMPT_HISTORY,4,2 ## @PROMPT_HISTORY
.no_dead_strip _status_prompt_add_history
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function status_prompt_add_history
_status_prompt_add_history: ; @status_prompt_add_history
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
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
Lloh0:
adrp x20, _status_prompt_hsize@GOTPAGE
Lloh1:
ldr x20, [x20, _status_prompt_hsize@GOTPAGEOFF]
ldr w8, [x20]
Lloh2:
adrp x21, _status_prompt_hlist@GOTPAGE
Lloh3:
ldr x21, [x21, _status_prompt_hlist@GOTPAGEOFF]
tbnz w8, #31, LBB0_3
; %bb.1:
ldr x9, [x21]
add x8, x9, x8, lsl #2
ldur w0, [x8, #-4]
mov x1, x19
bl _strcmp
cbz x0, LBB0_6
; %bb.2:
ldr w8, [x20]
LBB0_3:
Lloh4:
adrp x22, _PROMPT_HISTORY@GOTPAGE
Lloh5:
ldr x22, [x22, _PROMPT_HISTORY@GOTPAGEOFF]
ldr w9, [x22]
ldr x0, [x21]
cmp w8, w9
b.ne LBB0_5
; %bb.4:
ldr w0, [x0]
bl _free
ldrsw x8, [x22]
lsl x8, x8, #2
sub x2, x8, #4
ldr x0, [x21]
add x1, x0, #4
bl _memmove
mov x0, x19
bl _xstrdup
ldr x8, [x21]
ldrsw x9, [x20]
add x8, x8, x9, lsl #2
stur w0, [x8, #-4]
b LBB0_6
LBB0_5:
add w1, w8, #1
mov w2, #4 ; =0x4
bl _xreallocarray
str x0, [x21]
mov x0, x19
bl _xstrdup
ldr x8, [x21]
ldrsw x9, [x20]
sub w10, w9, #1
str w10, [x20]
str w0, [x8, x9, lsl #2]
LBB0_6:
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _status_prompt_hsize,4,2 ; @status_prompt_hsize
.comm _status_prompt_hlist,8,3 ; @status_prompt_hlist
.comm _PROMPT_HISTORY,4,2 ; @PROMPT_HISTORY
.no_dead_strip _status_prompt_add_history
.subsections_via_symbols
| assembly_file_118634.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function validate_filter_locked
_validate_filter_locked: ## @validate_filter_locked
.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
addq $8, %rdi
callq _lockdep_assert_held
movq (%r15), %rax
movq _FILTER_IPV4_5TUPLE@GOTPCREL(%rip), %rcx
xorl %r14d, %r14d
cmpq (%rcx), %rax
jne LBB0_12
## %bb.1:
movl 8(%r15), %eax
movq _FILTER_FIELD_5TUP_DST_AD@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_2
## %bb.3:
movq _FILTER_FIELD_5TUP_DST_PT@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_4
## %bb.5:
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.7:
cmpq $0, 16(%r15)
je LBB0_8
## %bb.9:
callq _ntohl
cmpq 24(%r15), %rax
je LBB0_12
## %bb.10:
movq _EFAULT@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_2:
movq _EACCES@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_4:
movq _EBUSY@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_6:
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_8:
movq _ERANGE@GOTPCREL(%rip), %rax
LBB0_11:
xorl %r14d, %r14d
subl (%rax), %r14d
LBB0_12:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FILTER_IPV4_5TUPLE,8,3 ## @FILTER_IPV4_5TUPLE
.comm _FILTER_FIELD_5TUP_DST_AD,4,2 ## @FILTER_FIELD_5TUP_DST_AD
.comm _EACCES,4,2 ## @EACCES
.comm _FILTER_FIELD_5TUP_DST_PT,4,2 ## @FILTER_FIELD_5TUP_DST_PT
.comm _EBUSY,4,2 ## @EBUSY
.comm _EINVAL,4,2 ## @EINVAL
.comm _ERANGE,4,2 ## @ERANGE
.comm _EFAULT,4,2 ## @EFAULT
.no_dead_strip _validate_filter_locked
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function validate_filter_locked
_validate_filter_locked: ; @validate_filter_locked
.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
add x0, x0, #8
bl _lockdep_assert_held
ldr x8, [x19]
Lloh0:
adrp x9, _FILTER_IPV4_5TUPLE@GOTPAGE
Lloh1:
ldr x9, [x9, _FILTER_IPV4_5TUPLE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_6
; %bb.1:
ldr w8, [x19, #8]
Lloh3:
adrp x9, _FILTER_FIELD_5TUP_DST_AD@GOTPAGE
Lloh4:
ldr x9, [x9, _FILTER_FIELD_5TUP_DST_AD@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_7
; %bb.2:
Lloh6:
adrp x9, _FILTER_FIELD_5TUP_DST_PT@GOTPAGE
Lloh7:
ldr x9, [x9, _FILTER_FIELD_5TUP_DST_PT@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_8
; %bb.3:
ldr x0, [x20]
cbz x0, LBB0_9
; %bb.4:
ldr x8, [x19, #16]
cbz x8, LBB0_10
; %bb.5:
bl _ntohl
ldr x8, [x19, #24]
cmp x0, x8
b.ne LBB0_11
LBB0_6:
mov w0, #0
b LBB0_13
LBB0_7:
Lloh9:
adrp x8, _EACCES@GOTPAGE
Lloh10:
ldr x8, [x8, _EACCES@GOTPAGEOFF]
b LBB0_12
LBB0_8:
Lloh11:
adrp x8, _EBUSY@GOTPAGE
Lloh12:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
b LBB0_12
LBB0_9:
Lloh13:
adrp x8, _EINVAL@GOTPAGE
Lloh14:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_12
LBB0_10:
Lloh15:
adrp x8, _ERANGE@GOTPAGE
Lloh16:
ldr x8, [x8, _ERANGE@GOTPAGEOFF]
b LBB0_12
LBB0_11:
Lloh17:
adrp x8, _EFAULT@GOTPAGE
Lloh18:
ldr x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_12:
ldr w8, [x8]
neg w0, w8
LBB0_13:
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
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _FILTER_IPV4_5TUPLE,8,3 ; @FILTER_IPV4_5TUPLE
.comm _FILTER_FIELD_5TUP_DST_AD,4,2 ; @FILTER_FIELD_5TUP_DST_AD
.comm _EACCES,4,2 ; @EACCES
.comm _FILTER_FIELD_5TUP_DST_PT,4,2 ; @FILTER_FIELD_5TUP_DST_PT
.comm _EBUSY,4,2 ; @EBUSY
.comm _EINVAL,4,2 ; @EINVAL
.comm _ERANGE,4,2 ; @ERANGE
.comm _EFAULT,4,2 ; @EFAULT
.no_dead_strip _validate_filter_locked
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/usnic/extr_usnic_fwd.c_validate_filter_locked.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function copy_context_after_encode
_copy_context_after_encode: ## @copy_context_after_encode
.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 120(%rdi), %edi
movl 120(%rsi), %esi
movl $64, %edx
callq _memcpy
movl 116(%r14), %edi
movl 116(%rbx), %esi
movl $32, %edx
callq _memcpy
movl 112(%rbx), %eax
movl %eax, 112(%r14)
movq 104(%rbx), %rax
movq 104(%r14), %rcx
movl (%rax), %edx
movl %edx, (%rcx)
movl 4(%rax), %edx
movl %edx, 4(%rcx)
movl 8(%rax), %eax
movl %eax, 8(%rcx)
movl 96(%rbx), %eax
movl %eax, 96(%r14)
movups 80(%rbx), %xmm0
movups %xmm0, 80(%r14)
movups 64(%rbx), %xmm0
movups %xmm0, 64(%r14)
movups 48(%rbx), %xmm0
movups %xmm0, 48(%r14)
cmpq $0, 40(%rbx)
je LBB0_2
## %bb.1:
movl 32(%rbx), %eax
movl %eax, 32(%r14)
movl 28(%rbx), %eax
movl %eax, 28(%r14)
LBB0_2:
movl 24(%rbx), %eax
movl %eax, 24(%r14)
movq 16(%rbx), %rax
movq 16(%r14), %rcx
movl (%rax), %edx
movl %edx, (%rcx)
movl 4(%rax), %edx
movl %edx, 4(%rcx)
movl 8(%rax), %edx
movl %edx, 8(%rcx)
movl 12(%rax), %edx
movl %edx, 12(%rcx)
movl 16(%rax), %edx
movl %edx, 16(%rcx)
movl 20(%rax), %edx
movl %edx, 20(%rcx)
movl 24(%rax), %edx
movl %edx, 24(%rcx)
movl 28(%rax), %eax
movl %eax, 28(%rcx)
movl 8(%rbx), %eax
movl %eax, 8(%r14)
movl 4(%rbx), %eax
movl %eax, 4(%r14)
movl (%rbx), %eax
movl %eax, (%r14)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _copy_context_after_encode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function copy_context_after_encode
_copy_context_after_encode: ; @copy_context_after_encode
.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
ldr w0, [x0, #120]
ldr w1, [x1, #120]
mov w2, #64
bl _memcpy
ldr w0, [x19, #116]
ldr w1, [x20, #116]
mov w2, #32
bl _memcpy
ldr w8, [x20, #112]
str w8, [x19, #112]
ldr x8, [x20, #104]
ldr x9, [x19, #104]
ldr w10, [x8]
str w10, [x9]
ldr w10, [x8, #4]
str w10, [x9, #4]
ldr w8, [x8, #8]
str w8, [x9, #8]
ldr w8, [x20, #96]
str w8, [x19, #96]
ldr q0, [x20, #80]
str q0, [x19, #80]
ldr q0, [x20, #64]
str q0, [x19, #64]
ldr q0, [x20, #48]
str q0, [x19, #48]
ldr x8, [x20, #40]
cbz x8, LBB0_2
; %bb.1:
ldur d0, [x20, #28]
stur d0, [x19, #28]
LBB0_2:
ldr w8, [x20, #24]
str w8, [x19, #24]
ldr x8, [x20, #16]
ldr x9, [x19, #16]
ldr w10, [x8]
str w10, [x9]
ldr w10, [x8, #4]
str w10, [x9, #4]
ldr w10, [x8, #8]
str w10, [x9, #8]
ldr w10, [x8, #12]
str w10, [x9, #12]
ldr w10, [x8, #16]
str w10, [x9, #16]
ldr w10, [x8, #20]
str w10, [x9, #20]
ldr w10, [x8, #24]
str w10, [x9, #24]
ldr w8, [x8, #28]
str w8, [x9, #28]
ldr w8, [x20, #8]
str w8, [x19, #8]
ldr d0, [x20]
str d0, [x19]
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 _copy_context_after_encode
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_mpegvideo_enc.c_copy_context_after_encode.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/150139976.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qxl_drm_resume
_qxl_drm_resume: ## @qxl_drm_resume
.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 (%rdi), %rbx
movq _QXL_INTERRUPT_MASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 8(%rbx), %rcx
movl %eax, (%rcx)
testl %esi, %esi
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _qxl_reinit_memslots
movl (%rbx), %edi
callq _qxl_ring_init_hdr
LBB0_2:
movq %rbx, %rdi
callq _qxl_create_monitors_object
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _drm_mode_config_helper_resume ## TAILCALL
.cfi_endproc
## -- End function
.comm _QXL_INTERRUPT_MASK,4,2 ## @QXL_INTERRUPT_MASK
.no_dead_strip _qxl_drm_resume
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qxl_drm_resume
_qxl_drm_resume: ; @qxl_drm_resume
.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]
Lloh0:
adrp x8, _QXL_INTERRUPT_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _QXL_INTERRUPT_MASK@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr x9, [x20, #8]
str w8, [x9]
cbnz w1, LBB0_2
; %bb.1:
mov x0, x20
bl _qxl_reinit_memslots
ldr w0, [x20]
bl _qxl_ring_init_hdr
LBB0_2:
mov x0, x20
bl _qxl_create_monitors_object
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _drm_mode_config_helper_resume
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _QXL_INTERRUPT_MASK,4,2 ; @QXL_INTERRUPT_MASK
.no_dead_strip _qxl_drm_resume
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/qxl/extr_qxl_drv.c_qxl_drm_resume.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function file_modexp
_file_modexp: ## @file_modexp
.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
movq %rdi, %rbx
movq $0, -88(%rbp)
movq $0, -80(%rbp)
leaq L_.str(%rip), %rsi
callq _getBN
movq %rax, %r14
movq %rax, -72(%rbp)
movq %rax, %rdi
callq _TEST_ptr
testl %eax, %eax
je LBB0_16
## %bb.1:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _getBN
movq %rax, %r12
movq %rax, %rdi
callq _TEST_ptr
testl %eax, %eax
je LBB0_17
## %bb.2:
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _getBN
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _TEST_ptr
testl %eax, %eax
je LBB0_19
## %bb.3:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _getBN
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _TEST_ptr
testl %eax, %eax
je LBB0_20
## %bb.4:
xorl %eax, %eax
callq _BN_new
movq %rax, %rbx
movq %rax, %rdi
callq _TEST_ptr
testl %eax, %eax
movq %rbx, -64(%rbp) ## 8-byte Spill
je LBB0_23
## %bb.5:
xorl %eax, %eax
callq _BN_new
movq %rax, %r15
movq %rax, %rdi
callq _TEST_ptr
testl %eax, %eax
je LBB0_24
## %bb.6:
movq _ctx@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq -56(%rbp), %rcx ## 8-byte Reload
callq _BN_mod_exp
movl %eax, %edi
callq _TEST_true
testl %eax, %eax
je LBB0_24
## %bb.7:
leaq L_.str.4(%rip), %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movq %rbx, %rdx
callq _equalBN
testl %eax, %eax
je LBB0_24
## %bb.8:
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _BN_is_odd
testq %rax, %rax
je LBB0_13
## %bb.9:
movq _ctx@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq -64(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %rbx, %rcx
xorl %r9d, %r9d
callq _BN_mod_exp_mont
movl %eax, %edi
callq _TEST_true
testl %eax, %eax
je LBB0_21
## %bb.10:
leaq L_.str.5(%rip), %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movq %r13, %rdx
callq _equalBN
testl %eax, %eax
je LBB0_21
## %bb.11:
movq %r13, %rbx
movq _ctx@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %r13, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq -56(%rbp), %r13 ## 8-byte Reload
movq %r13, %rcx
xorl %r9d, %r9d
callq _BN_mod_exp_mont_consttime
movl %eax, %edi
callq _TEST_true
testl %eax, %eax
je LBB0_25
## %bb.12:
leaq L_.str.6(%rip), %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movq %rbx, %rdx
callq _equalBN
testl %eax, %eax
je LBB0_25
LBB0_13:
leaq L_.str.7(%rip), %rsi
leaq -72(%rbp), %rdi
callq _BN_hex2bn
leaq L_.str.8(%rip), %rsi
leaq -88(%rbp), %rdi
callq _BN_hex2bn
leaq L_.str.9(%rip), %rsi
leaq -80(%rbp), %rdi
callq _BN_hex2bn
movq -72(%rbp), %rsi
movq -88(%rbp), %rdx
movq -80(%rbp), %rcx
movq _ctx@GOTPCREL(%rip), %rbx
movl (%rbx), %r8d
movq %r15, %rdi
callq _BN_mod_exp
movl %eax, %edi
callq _TEST_true
testl %eax, %eax
je LBB0_28
## %bb.14:
movq -72(%rbp), %rdx
movl (%rbx), %ecx
movq %r12, %rdi
movq %rdx, %rsi
callq _BN_mul
movl %eax, %edi
callq _TEST_true
testl %eax, %eax
movq -56(%rbp), %r13 ## 8-byte Reload
je LBB0_29
## %bb.15:
movq %r15, %rdi
movq %r12, %rsi
callq _TEST_BN_eq
movq %r12, %r14
xorl %r12d, %r12d
testl %eax, %eax
setne %r12b
jmp LBB0_26
LBB0_16:
xorl %r14d, %r14d
xorl %r13d, %r13d
xorl %ebx, %ebx
xorl %eax, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
xorl %r12d, %r12d
jmp LBB0_27
LBB0_17:
xorl %r13d, %r13d
xorl %ebx, %ebx
xorl %eax, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
LBB0_18:
movq %r12, %r14
xorl %r12d, %r12d
jmp LBB0_27
LBB0_19:
xorl %ebx, %ebx
xorl %eax, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
movq %r12, %r14
xorl %r12d, %r12d
movq -56(%rbp), %r13 ## 8-byte Reload
jmp LBB0_27
LBB0_20:
xorl %eax, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
LBB0_21:
movq %r12, %r14
xorl %r12d, %r12d
movq -56(%rbp), %r13 ## 8-byte Reload
jmp LBB0_26
LBB0_23:
xorl %r15d, %r15d
LBB0_24:
movq -56(%rbp), %r13 ## 8-byte Reload
LBB0_25:
movq %r12, %r14
xorl %r12d, %r12d
LBB0_26:
movq -48(%rbp), %rbx ## 8-byte Reload
LBB0_27:
movq -72(%rbp), %rdi
callq _BN_free
movq -88(%rbp), %rdi
callq _BN_free
movq -80(%rbp), %rdi
callq _BN_free
movq %r15, %rdi
callq _BN_free
movq %r14, %rdi
callq _BN_free
movq %r13, %rdi
callq _BN_free
movq %rbx, %rdi
callq _BN_free
movq -64(%rbp), %rdi ## 8-byte Reload
callq _BN_free
movl %r12d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_28:
movq -56(%rbp), %r13 ## 8-byte Reload
LBB0_29:
movq -48(%rbp), %rbx ## 8-byte Reload
jmp LBB0_18
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "A"
L_.str.1: ## @.str.1
.asciz "E"
L_.str.2: ## @.str.2
.asciz "M"
L_.str.3: ## @.str.3
.asciz "ModExp"
.comm _ctx,4,2 ## @ctx
L_.str.4: ## @.str.4
.asciz "A ^ E (mod M)"
L_.str.5: ## @.str.5
.asciz "A ^ E (mod M) (mont)"
L_.str.6: ## @.str.6
.asciz "A ^ E (mod M) (mont const"
L_.str.7: ## @.str.7
.asciz "050505050505"
L_.str.8: ## @.str.8
.asciz "02"
L_.str.9: ## @.str.9
.asciz "414141414141414141414127414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
.no_dead_strip _file_modexp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function file_modexp
_file_modexp: ; @file_modexp
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.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
stp xzr, xzr, [sp, #8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _getBN
mov x24, x0
str x0, [sp, #24]
bl _TEST_ptr
cbz w0, LBB0_16
; %bb.1:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x21
bl _getBN
mov x19, x0
bl _TEST_ptr
cbz w0, LBB0_17
; %bb.2:
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x21
bl _getBN
mov x20, x0
bl _TEST_ptr
cbz w0, LBB0_18
; %bb.3:
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x21
bl _getBN
mov x21, x0
bl _TEST_ptr
cbz w0, LBB0_19
; %bb.4:
bl _BN_new
mov x22, x0
bl _TEST_ptr
cbz w0, LBB0_20
; %bb.5:
bl _BN_new
mov x23, x0
bl _TEST_ptr
cbz w0, LBB0_21
; %bb.6:
Lloh8:
adrp x25, _ctx@GOTPAGE
Lloh9:
ldr x25, [x25, _ctx@GOTPAGEOFF]
ldr w4, [x25]
mov x0, x22
mov x1, x24
mov x2, x19
mov x3, x20
bl _BN_mod_exp
bl _TEST_true
cbz w0, LBB0_21
; %bb.7:
Lloh10:
adrp x0, l_.str.4@PAGE
Lloh11:
add x0, x0, l_.str.4@PAGEOFF
mov x1, x21
mov x2, x22
bl _equalBN
cbz w0, LBB0_21
; %bb.8:
mov x0, x20
bl _BN_is_odd
cbz x0, LBB0_13
; %bb.9:
ldr w4, [x25]
mov x0, x22
mov x1, x24
mov x2, x19
mov x3, x20
mov x5, #0
bl _BN_mod_exp_mont
bl _TEST_true
cbz w0, LBB0_21
; %bb.10:
Lloh12:
adrp x0, l_.str.5@PAGE
Lloh13:
add x0, x0, l_.str.5@PAGEOFF
mov x1, x21
mov x2, x22
bl _equalBN
cbz w0, LBB0_21
; %bb.11:
ldr w4, [x25]
mov x0, x22
mov x1, x24
mov x2, x19
mov x3, x20
mov x5, #0
bl _BN_mod_exp_mont_consttime
bl _TEST_true
cbz w0, LBB0_21
; %bb.12:
Lloh14:
adrp x0, l_.str.6@PAGE
Lloh15:
add x0, x0, l_.str.6@PAGEOFF
mov x1, x21
mov x2, x22
bl _equalBN
cbz w0, LBB0_21
LBB0_13:
Lloh16:
adrp x1, l_.str.7@PAGE
Lloh17:
add x1, x1, l_.str.7@PAGEOFF
add x0, sp, #24
bl _BN_hex2bn
Lloh18:
adrp x1, l_.str.8@PAGE
Lloh19:
add x1, x1, l_.str.8@PAGEOFF
add x0, sp, #16
bl _BN_hex2bn
Lloh20:
adrp x1, l_.str.9@PAGE
Lloh21:
add x1, x1, l_.str.9@PAGEOFF
add x0, sp, #8
bl _BN_hex2bn
ldp x2, x1, [sp, #16]
ldr x3, [sp, #8]
ldr w4, [x25]
mov x0, x23
bl _BN_mod_exp
bl _TEST_true
cbz w0, LBB0_21
; %bb.14:
ldr x1, [sp, #24]
ldr w3, [x25]
mov x0, x19
mov x2, x1
bl _BN_mul
bl _TEST_true
cbz w0, LBB0_21
; %bb.15:
mov x0, x23
mov x1, x19
bl _TEST_BN_eq
cmp w0, #0
cset w24, ne
b LBB0_22
LBB0_16:
mov x19, #0
LBB0_17:
mov x20, #0
LBB0_18:
mov x21, #0
LBB0_19:
mov x22, #0
LBB0_20:
mov x23, #0
LBB0_21:
mov w24, #0
LBB0_22:
ldr x0, [sp, #24]
bl _BN_free
ldr x0, [sp, #16]
bl _BN_free
ldr x0, [sp, #8]
bl _BN_free
mov x0, x23
bl _BN_free
mov x0, x19
bl _BN_free
mov x0, x20
bl _BN_free
mov x0, x21
bl _BN_free
mov x0, x22
bl _BN_free
mov x0, x24
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "A"
l_.str.1: ; @.str.1
.asciz "E"
l_.str.2: ; @.str.2
.asciz "M"
l_.str.3: ; @.str.3
.asciz "ModExp"
.comm _ctx,4,2 ; @ctx
l_.str.4: ; @.str.4
.asciz "A ^ E (mod M)"
l_.str.5: ; @.str.5
.asciz "A ^ E (mod M) (mont)"
l_.str.6: ; @.str.6
.asciz "A ^ E (mod M) (mont const"
l_.str.7: ; @.str.7
.asciz "050505050505"
l_.str.8: ; @.str.8
.asciz "02"
l_.str.9: ; @.str.9
.asciz "414141414141414141414127414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
.no_dead_strip _file_modexp
.subsections_via_symbols
| AnghaBench/openssl/test/extr_bntest.c_file_modexp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mps_user_read_pci_info
_mps_user_read_pci_info: ## @mps_user_read_pci_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
movq %rsi, %rbx
movq %rdi, %r14
movl (%rdi), %edi
callq _pci_get_bus
movl %eax, 24(%rbx)
movl (%r14), %edi
callq _pci_get_slot
movl %eax, 20(%rbx)
movl (%r14), %edi
callq _pci_get_function
movl %eax, 16(%rbx)
movq $0, 8(%rbx)
movl (%r14), %edi
xorl %esi, %esi
movl $1, %edx
callq _pci_read_config
movq (%rbx), %rcx
movl %eax, (%rcx)
movl (%r14), %edi
movl $1, %esi
movl $1, %edx
callq _pci_read_config
movq (%rbx), %rcx
movl %eax, 4(%rcx)
movl (%r14), %edi
movl $2, %esi
movl $1, %edx
callq _pci_read_config
movq (%rbx), %rcx
movl %eax, 8(%rcx)
movl (%r14), %edi
movl $3, %esi
movl $1, %edx
callq _pci_read_config
movq (%rbx), %rcx
movl %eax, 12(%rcx)
movl (%r14), %edi
movl $4, %esi
movl $1, %edx
callq _pci_read_config
movq (%rbx), %rcx
movl %eax, 16(%rcx)
movl (%r14), %edi
movl $5, %esi
movl $1, %edx
callq _pci_read_config
movq (%rbx), %rcx
movl %eax, 20(%rcx)
movl (%r14), %edi
movl $6, %esi
movl $1, %edx
callq _pci_read_config
movq (%rbx), %rcx
movl %eax, 24(%rcx)
movl (%r14), %edi
movl $7, %esi
movl $1, %edx
callq _pci_read_config
movq (%rbx), %rcx
movl %eax, 28(%rcx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mps_user_read_pci_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mps_user_read_pci_info
_mps_user_read_pci_info: ; @mps_user_read_pci_info
.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 _pci_get_bus
str w0, [x19, #24]
ldr w0, [x20]
bl _pci_get_slot
str w0, [x19, #20]
ldr w0, [x20]
bl _pci_get_function
str w0, [x19, #16]
str xzr, [x19, #8]
ldr w0, [x20]
mov w1, #0
mov w2, #1
bl _pci_read_config
ldr x8, [x19]
str w0, [x8]
ldr w0, [x20]
mov w1, #1
mov w2, #1
bl _pci_read_config
ldr x8, [x19]
str w0, [x8, #4]
ldr w0, [x20]
mov w1, #2
mov w2, #1
bl _pci_read_config
ldr x8, [x19]
str w0, [x8, #8]
ldr w0, [x20]
mov w1, #3
mov w2, #1
bl _pci_read_config
ldr x8, [x19]
str w0, [x8, #12]
ldr w0, [x20]
mov w1, #4
mov w2, #1
bl _pci_read_config
ldr x8, [x19]
str w0, [x8, #16]
ldr w0, [x20]
mov w1, #5
mov w2, #1
bl _pci_read_config
ldr x8, [x19]
str w0, [x8, #20]
ldr w0, [x20]
mov w1, #6
mov w2, #1
bl _pci_read_config
ldr x8, [x19]
str w0, [x8, #24]
ldr w0, [x20]
mov w1, #7
mov w2, #1
bl _pci_read_config
ldr x8, [x19]
str w0, [x8, #28]
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 _mps_user_read_pci_info
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/mps/extr_mps_user.c_mps_user_read_pci_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function read_bitmaps
_read_bitmaps: ## @read_bitmaps
.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 $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r13d
movq %rdi, %rbx
movq $0, -64(%rbp)
movq $0, -56(%rbp)
movq 48(%rdi), %rdi
callq _EXT2_CLUSTERS_PER_GROUP
## kill: def $eax killed $eax def $rax
leal 7(%rax), %r12d
testl %eax, %eax
cmovnsl %eax, %r12d
sarl $3, %r12d
movq 48(%rbx), %rdi
callq _EXT2_INODES_PER_GROUP
## kill: def $eax killed $eax def $rax
leal 7(%rax), %r15d
testl %eax, %eax
cmovnsl %eax, %r15d
sarl $3, %r15d
movq 48(%rbx), %rax
movl 4(%rax), %esi
movq %rbx, %rdi
callq _EXT2FS_B2C
movl %eax, -96(%rbp) ## 4-byte Spill
movq _EXT2_ET_MAGIC_EXT2FS_FILSYS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _EXT2_CHECK_MAGIC
movl (%rbx), %eax
cmpl %eax, %r12d
setg %cl
cmpl %eax, %r15d
setg %al
andb %cl, %al
cmpb $1, %al
jne LBB0_2
## %bb.1:
movq _EXT2_ET_CORRUPT_SUPERBLOCK@GOTPCREL(%rip), %rax
movq (%rax), %r14
jmp LBB0_25
LBB0_2:
movl %r13d, -44(%rbp) ## 4-byte Spill
movl %r14d, -68(%rbp) ## 4-byte Spill
movq _ext2fs_write_bitmaps@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 68(%rbx)
movq %rbx, %rdi
callq _ext2fs_has_group_desc_csum
movl %eax, %r13d
movl 64(%rbx), %edi
callq _strlen
leaq 80(%rax), %rdi
leaq -80(%rbp), %rsi
callq _ext2fs_get_mem
movq %rax, %r14
testq %rax, %rax
jne LBB0_25
## %bb.3:
movl %r13d, -84(%rbp) ## 4-byte Spill
movq $0, -112(%rbp) ## 8-byte Folded Spill
movl $0, %r13d
cmpl $0, -68(%rbp) ## 4-byte Folded Reload
je LBB0_10
## %bb.4:
leaq 8(%rbx), %r14
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.5:
callq _ext2fs_free_block_bitmap
LBB0_6:
movq -80(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _strcpy
movq -80(%rbp), %rdi
movl 64(%rbx), %esi
callq _strcat
movq -80(%rbp), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq _ext2fs_allocate_block_bitmap
testq %rax, %rax
movl -44(%rbp), %r13d ## 4-byte Reload
je LBB0_8
## %bb.7:
movq %rax, %r14
jmp LBB0_16
LBB0_8:
movl 40(%rbx), %edi
leaq -64(%rbp), %rdx
xorl %esi, %esi
callq _io_channel_alloc_buf
movl %r12d, %r13d
testq %rax, %rax
je LBB0_10
LBB0_9:
movq %rax, %r14
movl -44(%rbp), %r13d ## 4-byte Reload
jmp LBB0_16
LBB0_10:
movl -44(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
je LBB0_28
## %bb.11:
leaq 16(%rbx), %r14
movq 16(%rbx), %rdi
testq %rdi, %rdi
je LBB0_13
## %bb.12:
callq _ext2fs_free_inode_bitmap
LBB0_13:
movq -80(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _strcpy
movq -80(%rbp), %rdi
movl 64(%rbx), %esi
callq _strcat
movq -80(%rbp), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq _ext2fs_allocate_inode_bitmap
testq %rax, %rax
jne LBB0_14
## %bb.26:
movl 40(%rbx), %edi
leaq -56(%rbp), %rdx
xorl %esi, %esi
callq _io_channel_alloc_buf
testq %rax, %rax
je LBB0_27
LBB0_14:
movq %rax, %r14
LBB0_15:
movl -44(%rbp), %r13d ## 4-byte Reload
cmpl $0, -68(%rbp) ## 4-byte Folded Reload
je LBB0_17
LBB0_16:
leaq 8(%rbx), %rdi
callq _ext2fs_free_mem
movq $0, 8(%rbx)
LBB0_17:
testl %r13d, %r13d
je LBB0_19
## %bb.18:
leaq 16(%rbx), %rdi
callq _ext2fs_free_mem
movq $0, 16(%rbx)
LBB0_19:
cmpq $0, -56(%rbp)
je LBB0_21
## %bb.20:
leaq -56(%rbp), %rdi
callq _ext2fs_free_mem
LBB0_21:
cmpq $0, -64(%rbp)
je LBB0_23
## %bb.22:
leaq -64(%rbp), %rdi
callq _ext2fs_free_mem
LBB0_23:
cmpq $0, -80(%rbp)
je LBB0_25
## %bb.24:
leaq -80(%rbp), %rdi
callq _ext2fs_free_mem
LBB0_25:
movq %r14, %rax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_27:
movl %r15d, %eax
movq %rax, -112(%rbp) ## 8-byte Spill
LBB0_28:
leaq -80(%rbp), %rdi
callq _ext2fs_free_mem
movq _EXT2_FLAG_IMAGE_FILE@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 24(%rbx)
je LBB0_29
## %bb.48:
movq 56(%rbx), %rax
movl 4(%rax), %edi
callq _ext2fs_le32_to_cpu
movq 48(%rbx), %rcx
movl (%rcx), %r13d
movq -56(%rbp), %rcx
testq %rcx, %rcx
setne %dl
testl %r13d, %r13d
setne %sil
andb %dl, %sil
cmpb $1, %sil
jne LBB0_54
## %bb.49:
xorl %edx, %edx
divl (%rbx)
movl $1, %r15d
LBB0_50: ## =>This Inner Loop Header: Depth=1
movl 44(%rbx), %edi
movl %eax, -84(%rbp) ## 4-byte Spill
movl %eax, %esi
movl $1, %edx
callq _io_channel_read_blk64
testq %rax, %rax
jne LBB0_14
## %bb.51: ## in Loop: Header=BB0_50 Depth=1
movl (%rbx), %r12d
shll $3, %r12d
cmpl %r13d, %r12d
cmovael %r13d, %r12d
movq 16(%rbx), %rdi
movq -56(%rbp), %rcx
movl %r15d, %esi
movl %r12d, %edx
callq _ext2fs_set_inode_bitmap_range2
testq %rax, %rax
jne LBB0_14
## %bb.52: ## in Loop: Header=BB0_50 Depth=1
movq -56(%rbp), %rcx
testq %rcx, %rcx
movl -84(%rbp), %eax ## 4-byte Reload
je LBB0_54
## %bb.53: ## in Loop: Header=BB0_50 Depth=1
addl %r12d, %r15d
subl %r12d, %r13d
decl %eax
testl %r13d, %r13d
jne LBB0_50
LBB0_54:
movq 56(%rbx), %rax
movl (%rax), %edi
callq _ext2fs_le32_to_cpu
movl %eax, %r14d
movl (%rbx), %r15d
movq 48(%rbx), %rdi
movq 32(%rbx), %rsi
callq _EXT2_GROUPS_TO_CLUSTERS
movl %eax, %r13d
movq -64(%rbp), %rcx
testq %rcx, %rcx
setne %al
testl %r13d, %r13d
setne %dl
andb %al, %dl
cmpb $1, %dl
jne LBB0_60
## %bb.55:
movl %r14d, %eax
xorl %edx, %edx
divl %r15d
movl %eax, %r15d
LBB0_56: ## =>This Inner Loop Header: Depth=1
movl 44(%rbx), %edi
movl %r15d, %esi
movl $1, %edx
callq _io_channel_read_blk64
testq %rax, %rax
jne LBB0_14
## %bb.57: ## in Loop: Header=BB0_56 Depth=1
movl (%rbx), %r12d
shll $3, %r12d
cmpl %r13d, %r12d
cmovael %r13d, %r12d
movq 8(%rbx), %rdi
movq -64(%rbp), %rcx
movl -96(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _ext2fs_set_block_bitmap_range2
testq %rax, %rax
jne LBB0_14
## %bb.58: ## in Loop: Header=BB0_56 Depth=1
movq -64(%rbp), %rcx
testq %rcx, %rcx
je LBB0_60
## %bb.59: ## in Loop: Header=BB0_56 Depth=1
addl %r12d, -96(%rbp) ## 4-byte Folded Spill
subl %r12d, %r13d
incl %r15d
testl %r13d, %r13d
jne LBB0_56
jmp LBB0_60
LBB0_29:
movq %r13, -120(%rbp) ## 8-byte Spill
cmpq $0, 32(%rbx)
movl -68(%rbp), %eax ## 4-byte Reload
movl -96(%rbp), %r12d ## 4-byte Reload
js LBB0_46
## %bb.30:
movq -120(%rbp), %rcx ## 8-byte Reload
leal (,%rcx,8), %ecx
movl %ecx, -124(%rbp) ## 4-byte Spill
movq -112(%rbp), %rcx ## 8-byte Reload
leal (,%rcx,8), %ecx
movl %ecx, -100(%rbp) ## 4-byte Spill
movl $1, -88(%rbp) ## 4-byte Folded Spill
movq $-1, %r15
jmp LBB0_31
LBB0_45: ## in Loop: Header=BB0_31 Depth=1
cmpq 32(%rbx), %r15
jge LBB0_46
LBB0_31: ## =>This Inner Loop Header: Depth=1
incq %r15
cmpq $0, -64(%rbp)
je LBB0_38
## %bb.32: ## in Loop: Header=BB0_31 Depth=1
movq %rbx, %rdi
movq %r15, %rsi
callq _ext2fs_block_bitmap_loc
movl %eax, %r14d
cmpl $0, -84(%rbp) ## 4-byte Folded Reload
movq %r15, -96(%rbp) ## 8-byte Spill
je LBB0_65
## %bb.33: ## in Loop: Header=BB0_31 Depth=1
movq _EXT2_BG_BLOCK_UNINIT@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _ext2fs_bg_flags_test
testq %rax, %rax
je LBB0_65
## %bb.34: ## in Loop: Header=BB0_31 Depth=1
movq %rbx, %rdi
movq %r15, %rsi
callq _ext2fs_group_desc_csum_verify
testq %rax, %rax
setne %al
testl %r14d, %r14d
sete %cl
orb %al, %cl
je LBB0_66
LBB0_35: ## in Loop: Header=BB0_31 Depth=1
movq -64(%rbp), %rdi
xorl %esi, %esi
movq -120(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _memset
jmp LBB0_36
LBB0_65: ## in Loop: Header=BB0_31 Depth=1
testl %r14d, %r14d
je LBB0_35
LBB0_66: ## in Loop: Header=BB0_31 Depth=1
movl 40(%rbx), %edi
movq -64(%rbp), %rcx
movl %r14d, %esi
movl $1, %edx
callq _io_channel_read_blk64
testq %rax, %rax
jne LBB0_67
## %bb.69: ## in Loop: Header=BB0_31 Depth=1
movq _EXT2_FLAG_IGNORE_CSUM_ERRORS@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 24(%rbx)
jne LBB0_36
## %bb.70: ## in Loop: Header=BB0_31 Depth=1
movq -64(%rbp), %rdx
movq %rbx, %rdi
movq -96(%rbp), %rsi ## 8-byte Reload
movq -120(%rbp), %rcx ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx
callq _ext2fs_block_bitmap_csum_verify
testl %eax, %eax
je LBB0_71
LBB0_36: ## in Loop: Header=BB0_31 Depth=1
movq 8(%rbx), %rdi
movq -64(%rbp), %rcx
movl %r12d, %esi
movl -124(%rbp), %r15d ## 4-byte Reload
movl %r15d, %edx
callq _ext2fs_set_block_bitmap_range2
testq %rax, %rax
jne LBB0_14
## %bb.37: ## in Loop: Header=BB0_31 Depth=1
addl %r15d, %r12d
movl -68(%rbp), %eax ## 4-byte Reload
movq -96(%rbp), %r15 ## 8-byte Reload
LBB0_38: ## in Loop: Header=BB0_31 Depth=1
cmpq $0, -56(%rbp)
je LBB0_45
## %bb.39: ## in Loop: Header=BB0_31 Depth=1
movq %rbx, %rdi
movq %r15, %rsi
callq _ext2fs_inode_bitmap_loc
movl %eax, %r14d
cmpl $0, -84(%rbp) ## 4-byte Folded Reload
je LBB0_72
## %bb.40: ## in Loop: Header=BB0_31 Depth=1
movq _EXT2_BG_INODE_UNINIT@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _ext2fs_bg_flags_test
testq %rax, %rax
je LBB0_72
## %bb.41: ## in Loop: Header=BB0_31 Depth=1
movq %rbx, %rdi
movq %r15, %r13
movq %r15, %rsi
callq _ext2fs_group_desc_csum_verify
testq %rax, %rax
setne %al
testl %r14d, %r14d
sete %cl
orb %al, %cl
je LBB0_73
LBB0_42: ## in Loop: Header=BB0_31 Depth=1
movq -56(%rbp), %rdi
xorl %esi, %esi
movq -112(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _memset
jmp LBB0_43
LBB0_72: ## in Loop: Header=BB0_31 Depth=1
movq %r15, %r13
testl %r14d, %r14d
je LBB0_42
LBB0_73: ## in Loop: Header=BB0_31 Depth=1
movl 40(%rbx), %edi
movq -56(%rbp), %rcx
movl %r14d, %esi
movl $1, %edx
callq _io_channel_read_blk64
testq %rax, %rax
jne LBB0_74
## %bb.75: ## in Loop: Header=BB0_31 Depth=1
movq _EXT2_FLAG_IGNORE_CSUM_ERRORS@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 24(%rbx)
jne LBB0_43
## %bb.76: ## in Loop: Header=BB0_31 Depth=1
movq -56(%rbp), %rdx
movq %rbx, %rdi
movq %r13, %rsi
movq -112(%rbp), %rcx ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx
callq _ext2fs_inode_bitmap_csum_verify
testl %eax, %eax
je LBB0_77
LBB0_43: ## in Loop: Header=BB0_31 Depth=1
movq 16(%rbx), %rdi
movq -56(%rbp), %rcx
movl -88(%rbp), %esi ## 4-byte Reload
movl -100(%rbp), %edx ## 4-byte Reload
callq _ext2fs_set_inode_bitmap_range2
testq %rax, %rax
jne LBB0_14
## %bb.44: ## in Loop: Header=BB0_31 Depth=1
movl -88(%rbp), %eax ## 4-byte Reload
addl -100(%rbp), %eax ## 4-byte Folded Reload
movl %eax, -88(%rbp) ## 4-byte Spill
movl -68(%rbp), %eax ## 4-byte Reload
movq %r13, %r15
jmp LBB0_45
LBB0_46:
testl %eax, %eax
je LBB0_60
## %bb.47:
movq %rbx, %rdi
callq _mark_uninit_bg_group_blocks
testq %rax, %rax
jne LBB0_9
LBB0_60:
cmpq $0, -56(%rbp)
je LBB0_62
## %bb.61:
leaq -56(%rbp), %rdi
callq _ext2fs_free_mem
LBB0_62:
cmpq $0, -64(%rbp)
je LBB0_64
## %bb.63:
leaq -64(%rbp), %rdi
callq _ext2fs_free_mem
LBB0_64:
xorl %r14d, %r14d
jmp LBB0_25
LBB0_67:
movq _EXT2_ET_BLOCK_BITMAP_READ@GOTPCREL(%rip), %rax
movq (%rax), %r14
jmp LBB0_15
LBB0_74:
movq _EXT2_ET_INODE_BITMAP_READ@GOTPCREL(%rip), %rax
movq (%rax), %r14
jmp LBB0_15
LBB0_71:
movq _EXT2_ET_BLOCK_BITMAP_CSUM_INVALID@GOTPCREL(%rip), %rax
movq (%rax), %r14
jmp LBB0_15
LBB0_77:
movq _EXT2_ET_INODE_BITMAP_CSUM_INVALID@GOTPCREL(%rip), %rax
movq (%rax), %r14
jmp LBB0_15
.cfi_endproc
## -- End function
.comm _EXT2_ET_MAGIC_EXT2FS_FILSYS,4,2 ## @EXT2_ET_MAGIC_EXT2FS_FILSYS
.comm _EXT2_ET_CORRUPT_SUPERBLOCK,8,3 ## @EXT2_ET_CORRUPT_SUPERBLOCK
.comm _ext2fs_write_bitmaps,4,2 ## @ext2fs_write_bitmaps
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "block bitmap for "
L_.str.1: ## @.str.1
.asciz "inode bitmap for "
.comm _EXT2_FLAG_IMAGE_FILE,4,2 ## @EXT2_FLAG_IMAGE_FILE
.comm _EXT2_BG_BLOCK_UNINIT,4,2 ## @EXT2_BG_BLOCK_UNINIT
.comm _EXT2_ET_BLOCK_BITMAP_READ,8,3 ## @EXT2_ET_BLOCK_BITMAP_READ
.comm _EXT2_FLAG_IGNORE_CSUM_ERRORS,4,2 ## @EXT2_FLAG_IGNORE_CSUM_ERRORS
.comm _EXT2_ET_BLOCK_BITMAP_CSUM_INVALID,8,3 ## @EXT2_ET_BLOCK_BITMAP_CSUM_INVALID
.comm _EXT2_BG_INODE_UNINIT,4,2 ## @EXT2_BG_INODE_UNINIT
.comm _EXT2_ET_INODE_BITMAP_READ,8,3 ## @EXT2_ET_INODE_BITMAP_READ
.comm _EXT2_ET_INODE_BITMAP_CSUM_INVALID,8,3 ## @EXT2_ET_INODE_BITMAP_CSUM_INVALID
.no_dead_strip _read_bitmaps
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function read_bitmaps
_read_bitmaps: ; @read_bitmaps
.cfi_startproc
; %bb.0:
sub sp, sp, #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
mov x21, x2
mov x20, x1
mov x19, x0
stp xzr, xzr, [sp, #32]
ldr x0, [x0, #48]
bl _EXT2_CLUSTERS_PER_GROUP
add w8, w0, #7
cmp w0, #0
csel w8, w8, w0, lt
asr w23, w8, #3
ldr x0, [x19, #48]
bl _EXT2_INODES_PER_GROUP
add w8, w0, #7
cmp w0, #0
csel w8, w8, w0, lt
asr w24, w8, #3
ldr x8, [x19, #48]
ldr w1, [x8, #4]
mov x0, x19
bl _EXT2FS_B2C
mov x22, x0
Lloh0:
adrp x8, _EXT2_ET_MAGIC_EXT2FS_FILSYS@GOTPAGE
Lloh1:
ldr x8, [x8, _EXT2_ET_MAGIC_EXT2FS_FILSYS@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
bl _EXT2_CHECK_MAGIC
ldr w8, [x19]
cmp w23, w8
ccmp w24, w8, #4, gt
b.gt LBB0_8
; %bb.1:
Lloh3:
adrp x8, _ext2fs_write_bitmaps@GOTPAGE
Lloh4:
ldr x8, [x8, _ext2fs_write_bitmaps@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x19, #68]
mov x0, x19
bl _ext2fs_has_group_desc_csum
mov x25, x0
ldr w0, [x19, #64]
bl _strlen
add x0, x0, #80
add x1, sp, #24
bl _ext2fs_get_mem
mov x27, x0
cbnz x0, LBB0_9
; %bb.2:
cbz w21, LBB0_10
; %bb.3:
mov x26, x19
ldr x0, [x26, #8]!
cbz x0, LBB0_5
; %bb.4:
bl _ext2fs_free_block_bitmap
LBB0_5:
ldr x0, [sp, #24]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _strcpy
ldr x0, [sp, #24]
ldr w1, [x19, #64]
bl _strcat
ldr x1, [sp, #24]
mov x0, x19
mov x2, x26
bl _ext2fs_allocate_block_bitmap
cbnz x0, LBB0_7
; %bb.6:
ldr w0, [x19, #40]
add x2, sp, #40
mov w1, #0 ; =0x0
bl _io_channel_alloc_buf
cbz x0, LBB0_11
LBB0_7:
mov x27, x0
b LBB0_17
LBB0_8:
Lloh8:
adrp x8, _EXT2_ET_CORRUPT_SUPERBLOCK@GOTPAGE
Lloh9:
ldr x8, [x8, _EXT2_ET_CORRUPT_SUPERBLOCK@GOTPAGEOFF]
Lloh10:
ldr x27, [x8]
LBB0_9:
mov x0, x27
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_10:
mov w23, #0 ; =0x0
LBB0_11:
cbz w20, LBB0_26
; %bb.12:
mov x26, x19
ldr x0, [x26, #16]!
cbz x0, LBB0_14
; %bb.13:
bl _ext2fs_free_inode_bitmap
LBB0_14:
ldr x0, [sp, #24]
Lloh11:
adrp x1, l_.str.1@PAGE
Lloh12:
add x1, x1, l_.str.1@PAGEOFF
bl _strcpy
ldr x0, [sp, #24]
ldr w1, [x19, #64]
bl _strcat
ldr x1, [sp, #24]
mov x0, x19
mov x2, x26
bl _ext2fs_allocate_inode_bitmap
cbnz x0, LBB0_16
; %bb.15:
ldr w0, [x19, #40]
add x2, sp, #32
mov w1, #0 ; =0x0
bl _io_channel_alloc_buf
cbz x0, LBB0_27
LBB0_16:
mov x27, x0
cbz w21, LBB0_18
LBB0_17:
add x0, x19, #8
bl _ext2fs_free_mem
str xzr, [x19, #8]
LBB0_18:
cbz w20, LBB0_20
; %bb.19:
add x0, x19, #16
bl _ext2fs_free_mem
str xzr, [x19, #16]
LBB0_20:
ldr x8, [sp, #32]
cbz x8, LBB0_22
; %bb.21:
add x0, sp, #32
bl _ext2fs_free_mem
LBB0_22:
ldr x8, [sp, #40]
cbz x8, LBB0_24
; %bb.23:
add x0, sp, #40
bl _ext2fs_free_mem
LBB0_24:
ldr x8, [sp, #24]
cbz x8, LBB0_9
; %bb.25:
add x0, sp, #24
bl _ext2fs_free_mem
b LBB0_9
LBB0_26:
mov w24, #0 ; =0x0
LBB0_27:
add x0, sp, #24
bl _ext2fs_free_mem
ldr w8, [x19, #24]
Lloh13:
adrp x9, _EXT2_FLAG_IMAGE_FILE@GOTPAGE
Lloh14:
ldr x9, [x9, _EXT2_FLAG_IMAGE_FILE@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_42
; %bb.28:
ldr x8, [x19, #56]
ldr w0, [x8, #4]
bl _ext2fs_le32_to_cpu
ldr x3, [sp, #32]
cbz x3, LBB0_35
; %bb.29:
ldr x8, [x19, #48]
ldr w26, [x8]
cbz w26, LBB0_35
; %bb.30:
ldr w8, [x19]
mov w23, #1 ; =0x1
udiv w24, w0, w8
LBB0_31: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #44]
mov x1, x24
mov w2, #1 ; =0x1
bl _io_channel_read_blk64
cbnz x0, LBB0_16
; %bb.32: ; in Loop: Header=BB0_31 Depth=1
ldr w8, [x19]
lsl w8, w8, #3
cmp w8, w26
csel w25, w8, w26, lo
ldr x0, [x19, #16]
ldr x3, [sp, #32]
mov x1, x23
mov x2, x25
bl _ext2fs_set_inode_bitmap_range2
cbnz x0, LBB0_16
; %bb.33: ; in Loop: Header=BB0_31 Depth=1
ldr x3, [sp, #32]
cbz x3, LBB0_35
; %bb.34: ; in Loop: Header=BB0_31 Depth=1
add w23, w25, w23
sub w24, w24, #1
sub w26, w26, w25
cbnz w26, LBB0_31
LBB0_35:
ldr x8, [x19, #56]
ldr w0, [x8]
bl _ext2fs_le32_to_cpu
mov x24, x0
ldr w25, [x19]
ldr x0, [x19, #48]
ldr x1, [x19, #32]
bl _EXT2_GROUPS_TO_CLUSTERS
ldr x3, [sp, #40]
cbz x3, LBB0_70
; %bb.36:
mov x23, x0
cbz w0, LBB0_70
; %bb.37:
udiv w24, w24, w25
LBB0_38: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #44]
mov x1, x24
mov w2, #1 ; =0x1
bl _io_channel_read_blk64
cbnz x0, LBB0_16
; %bb.39: ; in Loop: Header=BB0_38 Depth=1
ldr w8, [x19]
lsl w8, w8, #3
cmp w8, w23
csel w25, w8, w23, lo
ldr x0, [x19, #8]
ldr x3, [sp, #40]
mov x1, x22
mov x2, x25
bl _ext2fs_set_block_bitmap_range2
cbnz x0, LBB0_16
; %bb.40: ; in Loop: Header=BB0_38 Depth=1
ldr x3, [sp, #40]
cbz x3, LBB0_70
; %bb.41: ; in Loop: Header=BB0_38 Depth=1
add w22, w25, w22
add w24, w24, #1
sub w23, w23, w25
cbnz w23, LBB0_38
b LBB0_70
LBB0_42:
stp w21, w20, [sp, #12] ; 8-byte Folded Spill
ldr x8, [x19, #32]
tbnz x8, #63, LBB0_68
; %bb.43:
lsl w8, w23, #3
str w8, [sp, #20] ; 4-byte Folded Spill
lsl w28, w24, #3
mov w21, #1 ; =0x1
mov x26, #-1 ; =0xffffffffffffffff
b LBB0_48
LBB0_44: ; in Loop: Header=BB0_48 Depth=1
ldr x0, [sp, #32]
mov w1, #0 ; =0x0
mov x2, x24
bl _memset
LBB0_45: ; in Loop: Header=BB0_48 Depth=1
ldr x0, [x19, #16]
ldr x3, [sp, #32]
mov x1, x21
mov x2, x28
bl _ext2fs_set_inode_bitmap_range2
cbnz x0, LBB0_75
; %bb.46: ; in Loop: Header=BB0_48 Depth=1
add w21, w21, w28
LBB0_47: ; in Loop: Header=BB0_48 Depth=1
ldr x8, [x19, #32]
add x26, x26, #1
cmp x26, x8
b.ge LBB0_68
LBB0_48: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
cbz x8, LBB0_59
; %bb.49: ; in Loop: Header=BB0_48 Depth=1
add x1, x26, #1
mov x0, x19
bl _ext2fs_block_bitmap_loc
mov x27, x0
cbz w25, LBB0_52
; %bb.50: ; in Loop: Header=BB0_48 Depth=1
Lloh16:
adrp x8, _EXT2_BG_BLOCK_UNINIT@GOTPAGE
Lloh17:
ldr x8, [x8, _EXT2_BG_BLOCK_UNINIT@GOTPAGEOFF]
Lloh18:
ldr w2, [x8]
add x1, x26, #1
mov x0, x19
bl _ext2fs_bg_flags_test
cbz x0, LBB0_52
; %bb.51: ; in Loop: Header=BB0_48 Depth=1
add x1, x26, #1
mov x0, x19
bl _ext2fs_group_desc_csum_verify
cbnz x0, LBB0_56
LBB0_52: ; in Loop: Header=BB0_48 Depth=1
cbz w27, LBB0_56
; %bb.53: ; in Loop: Header=BB0_48 Depth=1
ldr w0, [x19, #40]
ldr x3, [sp, #40]
mov x1, x27
mov w2, #1 ; =0x1
bl _io_channel_read_blk64
cbnz x0, LBB0_76
; %bb.54: ; in Loop: Header=BB0_48 Depth=1
ldr w8, [x19, #24]
Lloh19:
adrp x9, _EXT2_FLAG_IGNORE_CSUM_ERRORS@GOTPAGE
Lloh20:
ldr x9, [x9, _EXT2_FLAG_IGNORE_CSUM_ERRORS@GOTPAGEOFF]
Lloh21:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_57
; %bb.55: ; in Loop: Header=BB0_48 Depth=1
ldr x2, [sp, #40]
add x1, x26, #1
mov x0, x19
mov x3, x23
bl _ext2fs_block_bitmap_csum_verify
cbnz w0, LBB0_57
b LBB0_78
LBB0_56: ; in Loop: Header=BB0_48 Depth=1
ldr x0, [sp, #40]
mov w1, #0 ; =0x0
mov x2, x23
bl _memset
LBB0_57: ; in Loop: Header=BB0_48 Depth=1
mov x20, x25
mov x25, x28
ldr x0, [x19, #8]
ldr x3, [sp, #40]
mov x1, x22
ldr w28, [sp, #20] ; 4-byte Folded Reload
mov x2, x28
bl _ext2fs_set_block_bitmap_range2
cbnz x0, LBB0_75
; %bb.58: ; in Loop: Header=BB0_48 Depth=1
add w22, w22, w28
mov x28, x25
mov x25, x20
LBB0_59: ; in Loop: Header=BB0_48 Depth=1
ldr x8, [sp, #32]
cbz x8, LBB0_47
; %bb.60: ; in Loop: Header=BB0_48 Depth=1
add x1, x26, #1
mov x0, x19
bl _ext2fs_inode_bitmap_loc
mov x27, x0
cbz w25, LBB0_63
; %bb.61: ; in Loop: Header=BB0_48 Depth=1
Lloh22:
adrp x8, _EXT2_BG_INODE_UNINIT@GOTPAGE
Lloh23:
ldr x8, [x8, _EXT2_BG_INODE_UNINIT@GOTPAGEOFF]
Lloh24:
ldr w2, [x8]
add x1, x26, #1
mov x0, x19
bl _ext2fs_bg_flags_test
cbz x0, LBB0_63
; %bb.62: ; in Loop: Header=BB0_48 Depth=1
add x1, x26, #1
mov x0, x19
bl _ext2fs_group_desc_csum_verify
cbnz x0, LBB0_44
LBB0_63: ; in Loop: Header=BB0_48 Depth=1
cbz w27, LBB0_44
; %bb.64: ; in Loop: Header=BB0_48 Depth=1
ldr w0, [x19, #40]
ldr x3, [sp, #32]
mov x1, x27
mov w2, #1 ; =0x1
bl _io_channel_read_blk64
cbnz x0, LBB0_77
; %bb.65: ; in Loop: Header=BB0_48 Depth=1
ldr w8, [x19, #24]
Lloh25:
adrp x9, _EXT2_FLAG_IGNORE_CSUM_ERRORS@GOTPAGE
Lloh26:
ldr x9, [x9, _EXT2_FLAG_IGNORE_CSUM_ERRORS@GOTPAGEOFF]
Lloh27:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_45
; %bb.66: ; in Loop: Header=BB0_48 Depth=1
ldr x2, [sp, #32]
add x1, x26, #1
mov x0, x19
mov x3, x24
bl _ext2fs_inode_bitmap_csum_verify
cbnz w0, LBB0_45
; %bb.67:
Lloh28:
adrp x8, _EXT2_ET_INODE_BITMAP_CSUM_INVALID@GOTPAGE
Lloh29:
ldr x8, [x8, _EXT2_ET_INODE_BITMAP_CSUM_INVALID@GOTPAGEOFF]
b LBB0_79
LBB0_68:
ldp w8, w20, [sp, #12] ; 8-byte Folded Reload
cbz w8, LBB0_70
; %bb.69:
mov x0, x19
bl _mark_uninit_bg_group_blocks
cbnz x0, LBB0_7
LBB0_70:
ldr x8, [sp, #32]
cbz x8, LBB0_72
; %bb.71:
add x0, sp, #32
bl _ext2fs_free_mem
LBB0_72:
ldr x8, [sp, #40]
cbz x8, LBB0_74
; %bb.73:
add x0, sp, #40
bl _ext2fs_free_mem
LBB0_74:
mov x27, #0 ; =0x0
b LBB0_9
LBB0_75:
mov x27, x0
b LBB0_80
LBB0_76:
Lloh30:
adrp x8, _EXT2_ET_BLOCK_BITMAP_READ@GOTPAGE
Lloh31:
ldr x8, [x8, _EXT2_ET_BLOCK_BITMAP_READ@GOTPAGEOFF]
b LBB0_79
LBB0_77:
Lloh32:
adrp x8, _EXT2_ET_INODE_BITMAP_READ@GOTPAGE
Lloh33:
ldr x8, [x8, _EXT2_ET_INODE_BITMAP_READ@GOTPAGEOFF]
b LBB0_79
LBB0_78:
Lloh34:
adrp x8, _EXT2_ET_BLOCK_BITMAP_CSUM_INVALID@GOTPAGE
Lloh35:
ldr x8, [x8, _EXT2_ET_BLOCK_BITMAP_CSUM_INVALID@GOTPAGEOFF]
LBB0_79:
ldr x27, [x8]
LBB0_80:
ldp w21, w20, [sp, #12] ; 8-byte Folded Reload
cbnz w21, LBB0_17
b LBB0_18
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGot Lloh34, Lloh35
.cfi_endproc
; -- End function
.comm _EXT2_ET_MAGIC_EXT2FS_FILSYS,4,2 ; @EXT2_ET_MAGIC_EXT2FS_FILSYS
.comm _EXT2_ET_CORRUPT_SUPERBLOCK,8,3 ; @EXT2_ET_CORRUPT_SUPERBLOCK
.comm _ext2fs_write_bitmaps,4,2 ; @ext2fs_write_bitmaps
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "block bitmap for "
l_.str.1: ; @.str.1
.asciz "inode bitmap for "
.comm _EXT2_FLAG_IMAGE_FILE,4,2 ; @EXT2_FLAG_IMAGE_FILE
.comm _EXT2_BG_BLOCK_UNINIT,4,2 ; @EXT2_BG_BLOCK_UNINIT
.comm _EXT2_ET_BLOCK_BITMAP_READ,8,3 ; @EXT2_ET_BLOCK_BITMAP_READ
.comm _EXT2_FLAG_IGNORE_CSUM_ERRORS,4,2 ; @EXT2_FLAG_IGNORE_CSUM_ERRORS
.comm _EXT2_ET_BLOCK_BITMAP_CSUM_INVALID,8,3 ; @EXT2_ET_BLOCK_BITMAP_CSUM_INVALID
.comm _EXT2_BG_INODE_UNINIT,4,2 ; @EXT2_BG_INODE_UNINIT
.comm _EXT2_ET_INODE_BITMAP_READ,8,3 ; @EXT2_ET_INODE_BITMAP_READ
.comm _EXT2_ET_INODE_BITMAP_CSUM_INVALID,8,3 ; @EXT2_ET_INODE_BITMAP_CSUM_INVALID
.no_dead_strip _read_bitmaps
.subsections_via_symbols
| assembly_file_136127.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _udf_put_filename ## -- Begin function udf_put_filename
.p2align 4, 0x90
_udf_put_filename: ## @udf_put_filename
.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 %rdi, %rbx
leaq -32(%rbp), %rdi
movl %ecx, %edx
callq _udf_char_to_ustr
xorl %r15d, %r15d
testl %eax, %eax
je LBB0_7
## %bb.1:
movq _UDF_FLAG_UTF8@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _UDF_QUERY_FLAG
testq %rax, %rax
je LBB0_3
## %bb.2:
movq _UDF_NAME_LEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -32(%rbp), %rsi
movq %r14, %rdi
callq _udf_UTF8toCS0
testl %eax, %eax
jne LBB0_6
jmp LBB0_7
LBB0_3:
movq _UDF_FLAG_NLS_MAP@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _UDF_QUERY_FLAG
testq %rax, %rax
je LBB0_7
## %bb.4:
movq %rbx, %rdi
callq _UDF_SB
movl (%rax), %edi
movq _UDF_NAME_LEN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -32(%rbp), %rdx
movq %r14, %rsi
callq _udf_NLStoCS0
testl %eax, %eax
je LBB0_7
LBB0_6:
movl %eax, %r15d
LBB0_7:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _UDF_FLAG_UTF8,4,2 ## @UDF_FLAG_UTF8
.comm _UDF_NAME_LEN,4,2 ## @UDF_NAME_LEN
.comm _UDF_FLAG_NLS_MAP,4,2 ## @UDF_FLAG_NLS_MAP
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _udf_put_filename ; -- Begin function udf_put_filename
.p2align 2
_udf_put_filename: ; @udf_put_filename
.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, x0
add x0, sp, #8
mov x2, x3
bl _udf_char_to_ustr
cbz w0, LBB0_5
; %bb.1:
Lloh0:
adrp x8, _UDF_FLAG_UTF8@GOTPAGE
Lloh1:
ldr x8, [x8, _UDF_FLAG_UTF8@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
bl _UDF_QUERY_FLAG
cbz x0, LBB0_3
; %bb.2:
Lloh3:
adrp x8, _UDF_NAME_LEN@GOTPAGE
Lloh4:
ldr x8, [x8, _UDF_NAME_LEN@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
add x1, sp, #8
mov x0, x19
bl _udf_UTF8toCS0
b LBB0_5
LBB0_3:
Lloh6:
adrp x8, _UDF_FLAG_NLS_MAP@GOTPAGE
Lloh7:
ldr x8, [x8, _UDF_FLAG_NLS_MAP@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x20
bl _UDF_QUERY_FLAG
cbz x0, LBB0_5
; %bb.4:
mov x0, x20
bl _UDF_SB
ldr w0, [x0]
Lloh9:
adrp x8, _UDF_NAME_LEN@GOTPAGE
Lloh10:
ldr x8, [x8, _UDF_NAME_LEN@GOTPAGEOFF]
Lloh11:
ldr w3, [x8]
add x2, sp, #8
mov x1, x19
bl _udf_NLStoCS0
LBB0_5:
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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _UDF_FLAG_UTF8,4,2 ; @UDF_FLAG_UTF8
.comm _UDF_NAME_LEN,4,2 ; @UDF_NAME_LEN
.comm _UDF_FLAG_NLS_MAP,4,2 ; @UDF_FLAG_NLS_MAP
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/udf/extr_unicode.c_udf_put_filename.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function arizona_jackdet
_arizona_jackdet: ## @arizona_jackdet
.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 %rsi, %r14
movq 104(%rsi), %r13
leaq 80(%rsi), %rdi
movq %rdi, -72(%rbp) ## 8-byte Spill
callq _cancel_delayed_work_sync
movl %eax, -60(%rbp) ## 4-byte Spill
leaq 96(%r14), %r12
movq %r12, %rdi
callq _cancel_delayed_work_sync
movl %eax, -64(%rbp) ## 4-byte Spill
movl 28(%r14), %edi
callq _pm_runtime_get_sync
leaq 32(%r14), %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _mutex_lock
cmpq $0, 72(%r14)
je LBB0_2
## %bb.1:
movq _ARIZONA_MICD_CLAMP_STS@GOTPCREL(%rip), %rax
movl (%rax), %ebx
xorl %r15d, %r15d
jmp LBB0_3
LBB0_2:
movq _ARIZONA_JD1_STS@GOTPCREL(%rip), %rax
movl (%rax), %ebx
xorl %r15d, %r15d
cmpq $0, 16(%r13)
cmovel %ebx, %r15d
LBB0_3:
movl (%r13), %edi
movq _ARIZONA_AOD_IRQ_RAW_STATUS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -44(%rbp), %rdx
callq _regmap_read
testl %eax, %eax
je LBB0_5
## %bb.4:
movl 32(%r13), %edi
leaq L_.str(%rip), %rsi
movl %eax, %edx
callq _dev_err
movq -56(%rbp), %rdi ## 8-byte Reload
callq _mutex_unlock
movq _IRQ_NONE@GOTPCREL(%rip), %rbx
jmp LBB0_35
LBB0_5:
andl -44(%rbp), %ebx
movl %ebx, -44(%rbp)
cmpl (%r14), %ebx
jne LBB0_10
## %bb.6:
movl 32(%r13), %edi
leaq L_.str.1(%rip), %rsi
callq _dev_dbg
cmpl $0, -60(%rbp) ## 4-byte Folded Reload
je LBB0_8
## %bb.7:
movq _system_power_efficient_wq@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _HPDET_DEBOUNCE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _msecs_to_jiffies
movl %ebx, %edi
movq -72(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
callq _queue_delayed_work
LBB0_8:
cmpl $0, -64(%rbp) ## 4-byte Folded Reload
movq -56(%rbp), %r15 ## 8-byte Reload
je LBB0_34
## %bb.9:
movl 4(%r14), %edi
movq _system_power_efficient_wq@GOTPCREL(%rip), %rax
movl (%rax), %ebx
callq _msecs_to_jiffies
movl %ebx, %edi
movq %r12, %rsi
movl %eax, %edx
callq _queue_delayed_work
jmp LBB0_34
LBB0_10:
movl %ebx, (%r14)
movl 32(%r13), %edi
cmpl %r15d, %ebx
jne LBB0_19
## %bb.11:
leaq L_.str.2(%rip), %rsi
callq _dev_dbg
movl 36(%r14), %edi
movq _EXTCON_MECHANICAL@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $1, %edx
callq _extcon_set_state_sync
testl %eax, %eax
movq -56(%rbp), %r15 ## 8-byte Reload
je LBB0_13
## %bb.12:
movl 32(%r13), %edi
leaq L_.str.3(%rip), %rsi
movl %eax, %edx
callq _dev_err
LBB0_13:
cmpl $0, 24(%r13)
je LBB0_14
## %bb.15:
movq _system_power_efficient_wq@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _HPDET_DEBOUNCE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _msecs_to_jiffies
movl %ebx, %edi
movq -72(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
callq _queue_delayed_work
cmpq $0, 72(%r14)
jne LBB0_18
jmp LBB0_17
LBB0_19:
leaq L_.str.4(%rip), %rsi
callq _dev_dbg
movq %r14, %rdi
callq _arizona_stop_mic
movq $0, 64(%r14)
movq 56(%r14), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_22
## %bb.20:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_21: ## =>This Inner Loop Header: Depth=1
movq 56(%r14), %rdi
movq $0, (%rdi,%rbx,8)
incq %rbx
callq _ARRAY_SIZE
cltq
cmpq %rax, %rbx
jl LBB0_21
LBB0_22:
movq $0, 12(%r14)
movl $0, 20(%r14)
cmpl $0, 24(%r14)
jle LBB0_25
## %bb.23:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_24: ## =>This Inner Loop Header: Depth=1
movl 40(%r14), %edi
movq 48(%r14), %rax
movl (%rax,%rbx,4), %esi
xorl %edx, %edx
callq _input_report_key
incq %rbx
movslq 24(%r14), %rax
cmpq %rax, %rbx
jl LBB0_24
LBB0_25:
movl 40(%r14), %edi
callq _input_sync
movq _arizona_cable@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _ARRAY_SIZE
cmpl $2, %eax
jl LBB0_30
## %bb.26:
xorl %ebx, %ebx
leaq L_.str.5(%rip), %r12
jmp LBB0_27
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_27 Depth=1
incq %rbx
movq (%r15), %rdi
callq _ARRAY_SIZE
decl %eax
cltq
cmpq %rax, %rbx
jge LBB0_30
LBB0_27: ## =>This Inner Loop Header: Depth=1
movl 36(%r14), %edi
movq (%r15), %rax
movq (%rax,%rbx,8), %rsi
xorl %edx, %edx
callq _extcon_set_state_sync
testl %eax, %eax
je LBB0_29
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
movl 32(%r13), %edi
movq %r12, %rsi
movl %eax, %edx
callq _dev_err
jmp LBB0_29
LBB0_30:
movq %r14, %rdi
callq _arizona_hpdet_wait
movl (%r13), %edi
movq _ARIZONA_JACK_DETECT_DEBOUNCE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ARIZONA_MICD_CLAMP_DB@GOTPCREL(%rip), %rax
movq _ARIZONA_JD1_DB@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movl %ecx, %edx
callq _regmap_update_bits
movq -56(%rbp), %r15 ## 8-byte Reload
jmp LBB0_31
LBB0_14:
movq $1, 8(%r14)
movq $0, 88(%r14)
movq %r14, %rdi
callq _arizona_start_mic
cmpq $0, 72(%r14)
jne LBB0_18
LBB0_17:
cmpq $0, 16(%r13)
jne LBB0_31
LBB0_18:
movl (%r13), %edi
movq _ARIZONA_JACK_DETECT_DEBOUNCE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ARIZONA_MICD_CLAMP_DB@GOTPCREL(%rip), %rax
movq _ARIZONA_JD1_DB@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
xorl %ecx, %ecx
callq _regmap_update_bits
LBB0_31:
movl 8(%r13), %eax
testl %eax, %eax
jne LBB0_33
## %bb.32:
movq _DEFAULT_MICD_TIMEOUT@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_33:
movl %eax, 4(%r14)
LBB0_34:
movl (%r13), %edi
movq _ARIZONA_MICD_CLAMP_FALL_TRIG_STS@GOTPCREL(%rip), %rax
movq _ARIZONA_MICD_CLAMP_RISE_TRIG_STS@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
movq _ARIZONA_AOD_WKUP_AND_TRIG@GOTPCREL(%rip), %rax
movq _ARIZONA_JD1_FALL_TRIG_STS@GOTPCREL(%rip), %rcx
orl (%rcx), %edx
movl (%rax), %esi
movq _ARIZONA_JD1_RISE_TRIG_STS@GOTPCREL(%rip), %rax
orl (%rax), %edx
callq _regmap_write
movq %r15, %rdi
callq _mutex_unlock
movl 28(%r14), %edi
callq _pm_runtime_mark_last_busy
movq _IRQ_HANDLED@GOTPCREL(%rip), %rbx
LBB0_35:
movl 28(%r14), %edi
callq _pm_runtime_put_autosuspend
movl (%rbx), %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ARIZONA_MICD_CLAMP_STS,4,2 ## @ARIZONA_MICD_CLAMP_STS
.comm _ARIZONA_JD1_STS,4,2 ## @ARIZONA_JD1_STS
.comm _ARIZONA_AOD_IRQ_RAW_STATUS,4,2 ## @ARIZONA_AOD_IRQ_RAW_STATUS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to read jackdet status: %d\n"
.comm _IRQ_NONE,4,2 ## @IRQ_NONE
L_.str.1: ## @.str.1
.asciz "Suppressing duplicate JACKDET\n"
.comm _system_power_efficient_wq,4,2 ## @system_power_efficient_wq
.comm _HPDET_DEBOUNCE,4,2 ## @HPDET_DEBOUNCE
L_.str.2: ## @.str.2
.asciz "Detected jack\n"
.comm _EXTCON_MECHANICAL,8,3 ## @EXTCON_MECHANICAL
L_.str.3: ## @.str.3
.asciz "Mechanical report failed: %d\n"
.comm _ARIZONA_JACK_DETECT_DEBOUNCE,4,2 ## @ARIZONA_JACK_DETECT_DEBOUNCE
.comm _ARIZONA_MICD_CLAMP_DB,4,2 ## @ARIZONA_MICD_CLAMP_DB
.comm _ARIZONA_JD1_DB,4,2 ## @ARIZONA_JD1_DB
L_.str.4: ## @.str.4
.asciz "Detected jack removal\n"
.comm _arizona_cable,8,3 ## @arizona_cable
L_.str.5: ## @.str.5
.asciz "Removal report failed: %d\n"
.comm _DEFAULT_MICD_TIMEOUT,4,2 ## @DEFAULT_MICD_TIMEOUT
.comm _ARIZONA_AOD_WKUP_AND_TRIG,4,2 ## @ARIZONA_AOD_WKUP_AND_TRIG
.comm _ARIZONA_MICD_CLAMP_FALL_TRIG_STS,4,2 ## @ARIZONA_MICD_CLAMP_FALL_TRIG_STS
.comm _ARIZONA_MICD_CLAMP_RISE_TRIG_STS,4,2 ## @ARIZONA_MICD_CLAMP_RISE_TRIG_STS
.comm _ARIZONA_JD1_FALL_TRIG_STS,4,2 ## @ARIZONA_JD1_FALL_TRIG_STS
.comm _ARIZONA_JD1_RISE_TRIG_STS,4,2 ## @ARIZONA_JD1_RISE_TRIG_STS
.comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED
.no_dead_strip _arizona_jackdet
.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 arizona_jackdet
lCPI0_0:
.long 1 ; 0x1
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_arizona_jackdet: ; @arizona_jackdet
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.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 x19, x1
ldr x25, [x1, #104]
add x21, x1, #80
mov x0, x21
bl _cancel_delayed_work_sync
mov x24, x0
add x22, x19, #96
mov x0, x22
bl _cancel_delayed_work_sync
mov x23, x0
ldr w0, [x19, #28]
bl _pm_runtime_get_sync
add x20, x19, #32
mov x0, x20
bl _mutex_lock
ldr x8, [x19, #72]
cbz x8, LBB0_2
; %bb.1:
mov w26, #0
Lloh0:
adrp x8, _ARIZONA_MICD_CLAMP_STS@GOTPAGE
Lloh1:
ldr x8, [x8, _ARIZONA_MICD_CLAMP_STS@GOTPAGEOFF]
Lloh2:
ldr w27, [x8]
b LBB0_3
LBB0_2:
Lloh3:
adrp x8, _ARIZONA_JD1_STS@GOTPAGE
Lloh4:
ldr x8, [x8, _ARIZONA_JD1_STS@GOTPAGEOFF]
Lloh5:
ldr w27, [x8]
ldr x8, [x25, #16]
cmp x8, #0
csel w26, w27, wzr, eq
LBB0_3:
ldr w0, [x25]
Lloh6:
adrp x8, _ARIZONA_AOD_IRQ_RAW_STATUS@GOTPAGE
Lloh7:
ldr x8, [x8, _ARIZONA_AOD_IRQ_RAW_STATUS@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
add x2, sp, #12
bl _regmap_read
cbz w0, LBB0_5
; %bb.4:
mov x2, x0
ldr w0, [x25, #32]
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
mov x0, x20
bl _mutex_unlock
Lloh11:
adrp x20, _IRQ_NONE@GOTPAGE
Lloh12:
ldr x20, [x20, _IRQ_NONE@GOTPAGEOFF]
b LBB0_35
LBB0_5:
ldr w8, [sp, #12]
and w8, w8, w27
str w8, [sp, #12]
ldr w9, [x19]
cmp w8, w9
b.ne LBB0_10
; %bb.6:
ldr w0, [x25, #32]
Lloh13:
adrp x1, l_.str.1@PAGE
Lloh14:
add x1, x1, l_.str.1@PAGEOFF
bl _dev_dbg
cbz w24, LBB0_8
; %bb.7:
Lloh15:
adrp x8, _system_power_efficient_wq@GOTPAGE
Lloh16:
ldr x8, [x8, _system_power_efficient_wq@GOTPAGEOFF]
Lloh17:
ldr w24, [x8]
Lloh18:
adrp x8, _HPDET_DEBOUNCE@GOTPAGE
Lloh19:
ldr x8, [x8, _HPDET_DEBOUNCE@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
bl _msecs_to_jiffies
mov x2, x0
mov x0, x24
mov x1, x21
bl _queue_delayed_work
LBB0_8:
cbz w23, LBB0_34
; %bb.9:
ldr w0, [x19, #4]
Lloh21:
adrp x8, _system_power_efficient_wq@GOTPAGE
Lloh22:
ldr x8, [x8, _system_power_efficient_wq@GOTPAGEOFF]
Lloh23:
ldr w21, [x8]
bl _msecs_to_jiffies
mov x2, x0
mov x0, x21
mov x1, x22
bl _queue_delayed_work
b LBB0_34
LBB0_10:
str w8, [x19]
ldr w0, [x25, #32]
cmp w8, w26
b.ne LBB0_15
; %bb.11:
Lloh24:
adrp x1, l_.str.2@PAGE
Lloh25:
add x1, x1, l_.str.2@PAGEOFF
bl _dev_dbg
ldr w0, [x19, #36]
Lloh26:
adrp x8, _EXTCON_MECHANICAL@GOTPAGE
Lloh27:
ldr x8, [x8, _EXTCON_MECHANICAL@GOTPAGEOFF]
Lloh28:
ldr x1, [x8]
mov w2, #1
bl _extcon_set_state_sync
cbz w0, LBB0_13
; %bb.12:
mov x2, x0
ldr w0, [x25, #32]
Lloh29:
adrp x1, l_.str.3@PAGE
Lloh30:
add x1, x1, l_.str.3@PAGEOFF
bl _dev_err
LBB0_13:
ldr w8, [x25, #24]
cbz w8, LBB0_27
; %bb.14:
Lloh31:
adrp x8, _system_power_efficient_wq@GOTPAGE
Lloh32:
ldr x8, [x8, _system_power_efficient_wq@GOTPAGEOFF]
Lloh33:
ldr w22, [x8]
Lloh34:
adrp x8, _HPDET_DEBOUNCE@GOTPAGE
Lloh35:
ldr x8, [x8, _HPDET_DEBOUNCE@GOTPAGEOFF]
Lloh36:
ldr w0, [x8]
bl _msecs_to_jiffies
mov x2, x0
mov x0, x22
mov x1, x21
bl _queue_delayed_work
ldr x8, [x19, #72]
cbnz x8, LBB0_29
b LBB0_28
LBB0_15:
Lloh37:
adrp x1, l_.str.4@PAGE
Lloh38:
add x1, x1, l_.str.4@PAGEOFF
bl _dev_dbg
mov x0, x19
bl _arizona_stop_mic
str xzr, [x19, #64]
ldr x0, [x19, #56]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_18
; %bb.16:
mov x21, #0
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, #56]
str xzr, [x0, x21, lsl #3]
add x21, x21, #1
bl _ARRAY_SIZE
cmp x21, w0, sxtw
b.lt LBB0_17
LBB0_18:
str xzr, [x19, #16]
str wzr, [x19, #12]
ldr w8, [x19, #24]
cmp w8, #1
b.lt LBB0_21
; %bb.19:
mov x21, #0
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #40]
ldr x8, [x19, #48]
ldr w1, [x8, x21, lsl #2]
mov w2, #0
bl _input_report_key
add x21, x21, #1
ldrsw x8, [x19, #24]
cmp x21, x8
b.lt LBB0_20
LBB0_21:
ldr w0, [x19, #40]
bl _input_sync
Lloh39:
adrp x22, _arizona_cable@GOTPAGE
Lloh40:
ldr x22, [x22, _arizona_cable@GOTPAGEOFF]
ldr x0, [x22]
bl _ARRAY_SIZE
cmp w0, #1
b.le LBB0_26
; %bb.22:
mov x23, #0
Lloh41:
adrp x21, l_.str.5@PAGE
Lloh42:
add x21, x21, l_.str.5@PAGEOFF
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_24 Depth=1
add x23, x23, #1
ldr x0, [x22]
bl _ARRAY_SIZE
sub w8, w0, #1
cmp x23, w8, sxtw
b.ge LBB0_26
LBB0_24: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #36]
ldr x8, [x22]
ldr x1, [x8, x23, lsl #3]
mov w2, #0
bl _extcon_set_state_sync
cbz w0, LBB0_23
; %bb.25: ; in Loop: Header=BB0_24 Depth=1
mov x2, x0
ldr w0, [x25, #32]
mov x1, x21
bl _dev_err
b LBB0_23
LBB0_26:
mov x0, x19
bl _arizona_hpdet_wait
ldr w0, [x25]
Lloh43:
adrp x8, _ARIZONA_JACK_DETECT_DEBOUNCE@GOTPAGE
Lloh44:
ldr x8, [x8, _ARIZONA_JACK_DETECT_DEBOUNCE@GOTPAGEOFF]
Lloh45:
adrp x9, _ARIZONA_MICD_CLAMP_DB@GOTPAGE
Lloh46:
ldr x9, [x9, _ARIZONA_MICD_CLAMP_DB@GOTPAGEOFF]
Lloh47:
ldr w1, [x8]
Lloh48:
ldr w8, [x9]
Lloh49:
adrp x9, _ARIZONA_JD1_DB@GOTPAGE
Lloh50:
ldr x9, [x9, _ARIZONA_JD1_DB@GOTPAGEOFF]
Lloh51:
ldr w9, [x9]
orr w2, w9, w8
mov x3, x2
b LBB0_30
LBB0_27:
Lloh52:
adrp x8, lCPI0_0@PAGE
Lloh53:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [x19, #8]
str xzr, [x19, #88]
mov x0, x19
bl _arizona_start_mic
ldr x8, [x19, #72]
cbnz x8, LBB0_29
LBB0_28:
ldr x8, [x25, #16]
cbnz x8, LBB0_31
LBB0_29:
ldr w0, [x25]
Lloh54:
adrp x8, _ARIZONA_JACK_DETECT_DEBOUNCE@GOTPAGE
Lloh55:
ldr x8, [x8, _ARIZONA_JACK_DETECT_DEBOUNCE@GOTPAGEOFF]
Lloh56:
adrp x9, _ARIZONA_MICD_CLAMP_DB@GOTPAGE
Lloh57:
ldr x9, [x9, _ARIZONA_MICD_CLAMP_DB@GOTPAGEOFF]
Lloh58:
ldr w1, [x8]
Lloh59:
ldr w8, [x9]
Lloh60:
adrp x9, _ARIZONA_JD1_DB@GOTPAGE
Lloh61:
ldr x9, [x9, _ARIZONA_JD1_DB@GOTPAGEOFF]
Lloh62:
ldr w9, [x9]
orr w2, w9, w8
mov w3, #0
LBB0_30:
bl _regmap_update_bits
LBB0_31:
ldr w8, [x25, #8]
cbnz w8, LBB0_33
; %bb.32:
Lloh63:
adrp x8, _DEFAULT_MICD_TIMEOUT@GOTPAGE
Lloh64:
ldr x8, [x8, _DEFAULT_MICD_TIMEOUT@GOTPAGEOFF]
Lloh65:
ldr w8, [x8]
LBB0_33:
str w8, [x19, #4]
LBB0_34:
ldr w0, [x25]
Lloh66:
adrp x8, _ARIZONA_AOD_WKUP_AND_TRIG@GOTPAGE
Lloh67:
ldr x8, [x8, _ARIZONA_AOD_WKUP_AND_TRIG@GOTPAGEOFF]
Lloh68:
ldr w1, [x8]
Lloh69:
adrp x8, _ARIZONA_MICD_CLAMP_FALL_TRIG_STS@GOTPAGE
Lloh70:
ldr x8, [x8, _ARIZONA_MICD_CLAMP_FALL_TRIG_STS@GOTPAGEOFF]
Lloh71:
ldr w8, [x8]
Lloh72:
adrp x9, _ARIZONA_MICD_CLAMP_RISE_TRIG_STS@GOTPAGE
Lloh73:
ldr x9, [x9, _ARIZONA_MICD_CLAMP_RISE_TRIG_STS@GOTPAGEOFF]
Lloh74:
ldr w9, [x9]
orr w8, w9, w8
Lloh75:
adrp x9, _ARIZONA_JD1_FALL_TRIG_STS@GOTPAGE
Lloh76:
ldr x9, [x9, _ARIZONA_JD1_FALL_TRIG_STS@GOTPAGEOFF]
Lloh77:
ldr w9, [x9]
orr w8, w8, w9
Lloh78:
adrp x9, _ARIZONA_JD1_RISE_TRIG_STS@GOTPAGE
Lloh79:
ldr x9, [x9, _ARIZONA_JD1_RISE_TRIG_STS@GOTPAGEOFF]
Lloh80:
ldr w9, [x9]
orr w2, w8, w9
bl _regmap_write
mov x0, x20
bl _mutex_unlock
ldr w0, [x19, #28]
bl _pm_runtime_mark_last_busy
Lloh81:
adrp x20, _IRQ_HANDLED@GOTPAGE
Lloh82:
ldr x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_35:
ldr w0, [x19, #28]
bl _pm_runtime_put_autosuspend
ldr w0, [x20]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh47
.loh AdrpLdr Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh59
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh58
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGot Lloh81, Lloh82
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.cfi_endproc
; -- End function
.comm _ARIZONA_MICD_CLAMP_STS,4,2 ; @ARIZONA_MICD_CLAMP_STS
.comm _ARIZONA_JD1_STS,4,2 ; @ARIZONA_JD1_STS
.comm _ARIZONA_AOD_IRQ_RAW_STATUS,4,2 ; @ARIZONA_AOD_IRQ_RAW_STATUS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to read jackdet status: %d\n"
.comm _IRQ_NONE,4,2 ; @IRQ_NONE
l_.str.1: ; @.str.1
.asciz "Suppressing duplicate JACKDET\n"
.comm _system_power_efficient_wq,4,2 ; @system_power_efficient_wq
.comm _HPDET_DEBOUNCE,4,2 ; @HPDET_DEBOUNCE
l_.str.2: ; @.str.2
.asciz "Detected jack\n"
.comm _EXTCON_MECHANICAL,8,3 ; @EXTCON_MECHANICAL
l_.str.3: ; @.str.3
.asciz "Mechanical report failed: %d\n"
.comm _ARIZONA_JACK_DETECT_DEBOUNCE,4,2 ; @ARIZONA_JACK_DETECT_DEBOUNCE
.comm _ARIZONA_MICD_CLAMP_DB,4,2 ; @ARIZONA_MICD_CLAMP_DB
.comm _ARIZONA_JD1_DB,4,2 ; @ARIZONA_JD1_DB
l_.str.4: ; @.str.4
.asciz "Detected jack removal\n"
.comm _arizona_cable,8,3 ; @arizona_cable
l_.str.5: ; @.str.5
.asciz "Removal report failed: %d\n"
.comm _DEFAULT_MICD_TIMEOUT,4,2 ; @DEFAULT_MICD_TIMEOUT
.comm _ARIZONA_AOD_WKUP_AND_TRIG,4,2 ; @ARIZONA_AOD_WKUP_AND_TRIG
.comm _ARIZONA_MICD_CLAMP_FALL_TRIG_STS,4,2 ; @ARIZONA_MICD_CLAMP_FALL_TRIG_STS
.comm _ARIZONA_MICD_CLAMP_RISE_TRIG_STS,4,2 ; @ARIZONA_MICD_CLAMP_RISE_TRIG_STS
.comm _ARIZONA_JD1_FALL_TRIG_STS,4,2 ; @ARIZONA_JD1_FALL_TRIG_STS
.comm _ARIZONA_JD1_RISE_TRIG_STS,4,2 ; @ARIZONA_JD1_RISE_TRIG_STS
.comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED
.no_dead_strip _arizona_jackdet
.subsections_via_symbols
| AnghaBench/linux/drivers/extcon/extr_extcon-arizona.c_arizona_jackdet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bfq_update_active_tree
_bfq_update_active_tree: ## @bfq_update_active_tree
.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
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_4
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
callq _bfq_update_active_node
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _bfq_update_active_node
movq %rbx, %rdi
callq _rb_parent
testq %rax, %rax
je LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rcx
movq %rax, %rbx
movq (%rax), %rax
cmpq %rax, %rcx
je LBB0_3
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %rdi
testq %rax, %rax
jne LBB0_5
jmp LBB0_6
LBB0_7:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _bfq_update_active_tree
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bfq_update_active_tree
_bfq_update_active_tree: ; @bfq_update_active_tree
.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
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x19, #8]
cbz x0, LBB0_6
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
bl _bfq_update_active_node
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
LBB0_4: ; =>This Inner Loop Header: Depth=1
bl _bfq_update_active_node
mov x0, x19
bl _rb_parent
cbz x0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x9, x19
mov x19, x0
ldr x8, [x0]
cmp x9, x8
b.eq LBB0_1
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
mov x0, x8
cbnz x8, LBB0_2
b LBB0_3
LBB0_7:
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 _bfq_update_active_tree
.subsections_via_symbols
| AnghaBench/linux/block/extr_bfq-wf2q.c_bfq_update_active_tree.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ngx_http_upstream_add_variables
_ngx_http_upstream_add_variables: ## @ngx_http_upstream_add_variables
.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 _ngx_http_upstream_vars@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq _NGX_OK@GOTPCREL(%rip), %r14
cmpq $0, 16(%rbx)
je LBB0_5
## %bb.1:
movq %rdi, %r15
movq _NGX_ERROR@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
leaq 16(%rbx), %rsi
movl 8(%rbx), %edx
movq %r15, %rdi
callq _ngx_http_add_variable
testq %rax, %rax
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl 4(%rbx), %ecx
movl %ecx, 4(%rax)
movl (%rbx), %ecx
movl %ecx, (%rax)
cmpq $0, 40(%rbx)
leaq 24(%rbx), %rbx
jne LBB0_2
jmp LBB0_5
LBB0_3:
movq %r12, %r14
LBB0_5:
movl (%r14), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ngx_http_upstream_vars,8,3 ## @ngx_http_upstream_vars
.comm _NGX_ERROR,4,2 ## @NGX_ERROR
.comm _NGX_OK,4,2 ## @NGX_OK
.no_dead_strip _ngx_http_upstream_add_variables
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ngx_http_upstream_add_variables
_ngx_http_upstream_add_variables: ; @ngx_http_upstream_add_variables
.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 x8, _ngx_http_upstream_vars@GOTPAGE
Lloh1:
ldr x8, [x8, _ngx_http_upstream_vars@GOTPAGEOFF]
Lloh2:
ldr x21, [x8]
ldr x8, [x21, #16]
cbz x8, LBB0_5
; %bb.1:
mov x19, x0
Lloh3:
adrp x20, _NGX_ERROR@GOTPAGE
Lloh4:
ldr x20, [x20, _NGX_ERROR@GOTPAGEOFF]
Lloh5:
adrp x22, _NGX_OK@GOTPAGE
Lloh6:
ldr x22, [x22, _NGX_OK@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
add x1, x21, #16
ldr w2, [x21, #8]
mov x0, x19
bl _ngx_http_add_variable
cbz x0, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr d0, [x21]
str d0, [x0]
ldr x8, [x21, #40]
add x21, x21, #24
cbnz x8, LBB0_2
; %bb.4:
mov x20, x22
b LBB0_6
LBB0_5:
Lloh7:
adrp x20, _NGX_OK@GOTPAGE
Lloh8:
ldr x20, [x20, _NGX_OK@GOTPAGEOFF]
LBB0_6:
ldr w0, [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 AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _ngx_http_upstream_vars,8,3 ; @ngx_http_upstream_vars
.comm _NGX_ERROR,4,2 ; @NGX_ERROR
.comm _NGX_OK,4,2 ; @NGX_OK
.no_dead_strip _ngx_http_upstream_add_variables
.subsections_via_symbols
| AnghaBench/nginx/src/http/extr_ngx_http_upstream.c_ngx_http_upstream_add_variables.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function state_to_str
_state_to_str: ## @state_to_str
.cfi_startproc
## %bb.0:
## kill: def $edi killed $edi def $rdi
leal -128(%rdi), %eax
cmpl $4, %eax
ja LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
leaq _reltable.state_to_str(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
popq %rbp
retq
LBB0_1:
leaq _state_to_str.unknown(%rip), %rax
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 2 ## @reltable.state_to_str
_reltable.state_to_str:
.long L_.str-_reltable.state_to_str
.long L_.str.1-_reltable.state_to_str
.long L_.str.2-_reltable.state_to_str
.long L_.str.3-_reltable.state_to_str
.long L_.str.4-_reltable.state_to_str
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "XmlReadState_Initial"
L_.str.1: ## @.str.1
.asciz "XmlReadState_Interactive"
L_.str.2: ## @.str.2
.asciz "XmlReadState_Error"
L_.str.3: ## @.str.3
.asciz "XmlReadState_EndOfFile"
L_.str.4: ## @.str.4
.asciz "XmlReadState_Closed"
.section __TEXT,__const
_state_to_str.unknown: ## @state_to_str.unknown
.asciz "unknown"
.no_dead_strip _state_to_str
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function state_to_str
_state_to_str: ; @state_to_str
.cfi_startproc
; %bb.0:
sub w8, w0, #128
cmp w8, #4
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x8, _state_to_str.state_names@PAGE
Lloh1:
add x8, x8, _state_to_str.state_names@PAGEOFF
ldr x0, [x8, w0, uxtw #3]
ret
LBB0_2:
Lloh2:
adrp x0, _state_to_str.unknown@PAGE
Lloh3:
add x0, x0, _state_to_str.unknown@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @state_to_str.state_names
_state_to_str.state_names:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "XmlReadState_Initial"
l_.str.1: ; @.str.1
.asciz "XmlReadState_Interactive"
l_.str.2: ; @.str.2
.asciz "XmlReadState_Error"
l_.str.3: ; @.str.3
.asciz "XmlReadState_EndOfFile"
l_.str.4: ; @.str.4
.asciz "XmlReadState_Closed"
.section __TEXT,__const
_state_to_str.unknown: ; @state_to_str.unknown
.asciz "unknown"
.no_dead_strip _state_to_str
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/xmllite/extr_reader.c_state_to_str.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mtk_ahci_platform_resets
_mtk_ahci_platform_resets: ## @mtk_ahci_platform_resets
.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
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _devm_reset_control_get_optional_exclusive
movq %rax, (%rbx)
movq %rax, %rdi
callq _PTR_ERR
movq _EPROBE_DEFER@GOTPCREL(%rip), %r14
addl (%r14), %eax
jne LBB0_3
## %bb.1:
movq (%rbx), %rdi
jmp LBB0_2
LBB0_3:
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
callq _devm_reset_control_get_optional_exclusive
movq %rax, 8(%rbx)
movq %rax, %rdi
callq _PTR_ERR
addl (%r14), %eax
jne LBB0_5
## %bb.4:
movq 8(%rbx), %rdi
jmp LBB0_2
LBB0_5:
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
callq _devm_reset_control_get_optional_exclusive
movq %rax, 16(%rbx)
movq %rax, %rdi
callq _PTR_ERR
addl (%r14), %eax
jne LBB0_7
## %bb.6:
movq 16(%rbx), %rdi
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_7:
movq (%rbx), %rdi
callq _reset_control_assert
testl %eax, %eax
je LBB0_9
## %bb.8:
movl %eax, %r14d
leaq L_.str.3(%rip), %rsi
jmp LBB0_20
LBB0_9:
movq 8(%rbx), %rdi
callq _reset_control_assert
testl %eax, %eax
je LBB0_11
## %bb.10:
movl %eax, %r14d
leaq L_.str.4(%rip), %rsi
jmp LBB0_20
LBB0_11:
movq 16(%rbx), %rdi
callq _reset_control_assert
testl %eax, %eax
je LBB0_13
## %bb.12:
movl %eax, %r14d
leaq L_.str.5(%rip), %rsi
jmp LBB0_20
LBB0_13:
movq 16(%rbx), %rdi
callq _reset_control_deassert
testl %eax, %eax
je LBB0_15
## %bb.14:
movl %eax, %r14d
leaq L_.str.6(%rip), %rsi
jmp LBB0_20
LBB0_15:
movq 8(%rbx), %rdi
callq _reset_control_deassert
testl %eax, %eax
je LBB0_17
## %bb.16:
movl %eax, %r14d
leaq L_.str.7(%rip), %rsi
jmp LBB0_20
LBB0_17:
movq (%rbx), %rdi
callq _reset_control_deassert
testl %eax, %eax
je LBB0_18
## %bb.19:
movl %eax, %r14d
leaq L_.str.8(%rip), %rsi
LBB0_20:
movq %r15, %rdi
callq _dev_err
LBB0_21:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
xorl %r14d, %r14d
jmp LBB0_21
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "axi"
.comm _EPROBE_DEFER,4,2 ## @EPROBE_DEFER
L_.str.1: ## @.str.1
.asciz "sw"
L_.str.2: ## @.str.2
.asciz "reg"
L_.str.3: ## @.str.3
.asciz "failed to assert AXI bus\n"
L_.str.4: ## @.str.4
.asciz "failed to assert PHY digital part\n"
L_.str.5: ## @.str.5
.asciz "failed to assert PHY register part\n"
L_.str.6: ## @.str.6
.asciz "failed to deassert PHY register part\n"
L_.str.7: ## @.str.7
.asciz "failed to deassert PHY digital part\n"
L_.str.8: ## @.str.8
.asciz "failed to deassert AXI bus\n"
.no_dead_strip _mtk_ahci_platform_resets
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mtk_ahci_platform_resets
_mtk_ahci_platform_resets: ; @mtk_ahci_platform_resets
.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
ldr x21, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _devm_reset_control_get_optional_exclusive
str x0, [x21]
bl _PTR_ERR
Lloh2:
adrp x20, _EPROBE_DEFER@GOTPAGE
Lloh3:
ldr x20, [x20, _EPROBE_DEFER@GOTPAGEOFF]
ldr w8, [x20]
cmn w0, w8
b.ne LBB0_2
; %bb.1:
ldr x0, [x21]
b LBB0_6
LBB0_2:
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _devm_reset_control_get_optional_exclusive
str x0, [x21, #8]
bl _PTR_ERR
ldr w8, [x20]
cmn w0, w8
b.ne LBB0_4
; %bb.3:
ldr x0, [x21, #8]
b LBB0_6
LBB0_4:
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _devm_reset_control_get_optional_exclusive
str x0, [x21, #16]
bl _PTR_ERR
ldr w8, [x20]
cmn w0, w8
b.ne LBB0_7
; %bb.5:
ldr x0, [x21, #16]
LBB0_6:
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
LBB0_7:
ldr x0, [x21]
bl _reset_control_assert
cbz w0, LBB0_9
; %bb.8:
mov x20, x0
Lloh8:
adrp x1, l_.str.3@PAGE
Lloh9:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_19
LBB0_9:
ldr x0, [x21, #8]
bl _reset_control_assert
cbz w0, LBB0_11
; %bb.10:
mov x20, x0
Lloh10:
adrp x1, l_.str.4@PAGE
Lloh11:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_19
LBB0_11:
ldr x0, [x21, #16]
bl _reset_control_assert
cbz w0, LBB0_13
; %bb.12:
mov x20, x0
Lloh12:
adrp x1, l_.str.5@PAGE
Lloh13:
add x1, x1, l_.str.5@PAGEOFF
b LBB0_19
LBB0_13:
ldr x0, [x21, #16]
bl _reset_control_deassert
cbz w0, LBB0_15
; %bb.14:
mov x20, x0
Lloh14:
adrp x1, l_.str.6@PAGE
Lloh15:
add x1, x1, l_.str.6@PAGEOFF
b LBB0_19
LBB0_15:
ldr x0, [x21, #8]
bl _reset_control_deassert
cbz w0, LBB0_17
; %bb.16:
mov x20, x0
Lloh16:
adrp x1, l_.str.7@PAGE
Lloh17:
add x1, x1, l_.str.7@PAGEOFF
b LBB0_19
LBB0_17:
ldr x0, [x21]
bl _reset_control_deassert
mov x20, x0
cbz w0, LBB0_20
; %bb.18:
Lloh18:
adrp x1, l_.str.8@PAGE
Lloh19:
add x1, x1, l_.str.8@PAGEOFF
LBB0_19:
mov x0, x19
bl _dev_err
LBB0_20:
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 AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "axi"
.comm _EPROBE_DEFER,4,2 ; @EPROBE_DEFER
l_.str.1: ; @.str.1
.asciz "sw"
l_.str.2: ; @.str.2
.asciz "reg"
l_.str.3: ; @.str.3
.asciz "failed to assert AXI bus\n"
l_.str.4: ; @.str.4
.asciz "failed to assert PHY digital part\n"
l_.str.5: ; @.str.5
.asciz "failed to assert PHY register part\n"
l_.str.6: ; @.str.6
.asciz "failed to deassert PHY register part\n"
l_.str.7: ; @.str.7
.asciz "failed to deassert PHY digital part\n"
l_.str.8: ; @.str.8
.asciz "failed to deassert AXI bus\n"
.no_dead_strip _mtk_ahci_platform_resets
.subsections_via_symbols
| AnghaBench/linux/drivers/ata/extr_ahci_mtk.c_mtk_ahci_platform_resets.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main_listscan ## -- Begin function main_listscan
.p2align 4, 0x90
_main_listscan: ## @main_listscan
.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
movq %rdi, %r15
movl (%rdi), %r13d
movl 48(%rdi), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
leaq 32(%rdi), %r14
movq %r14, %rdi
callq _rangelist_count
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq %r14, %rdi
movl $80, %esi
movl $80, %edx
callq _rangelist_add_range
LBB0_2:
movq %r14, %rdi
callq _rangelist_count
movl %eax, %r12d
leaq 36(%r15), %rdi
movq %rdi, -88(%rbp) ## 8-byte Spill
callq _rangelist_count
testl %eax, %eax
je LBB0_14
## %bb.3:
movl %eax, %ebx
movq %r14, -80(%rbp) ## 8-byte Spill
movl %r12d, -60(%rbp) ## 4-byte Spill
imull %r12d, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movq %r15, -72(%rbp) ## 8-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
movl -56(%rbp), %r13d ## 4-byte Reload
incl %r13d
movq -72(%rbp), %r15 ## 8-byte Reload
cmpq $0, 16(%r15)
je LBB0_13
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movl 56(%r15), %ecx
leaq -48(%rbp), %rdi
movl -52(%rbp), %r14d ## 4-byte Reload
movl %r14d, %esi
movl %r13d, -56(%rbp) ## 4-byte Spill
movl %r13d, %edx
callq _blackrock_init
movl 40(%r15), %eax
movl 52(%r15), %ecx
leal (%rax,%rcx), %edx
movq %r15, %rsi
leal (%rax,%rcx), %r15d
decl %r15d
movl 44(%rsi), %eax
leal (%rax,%rdx), %ecx
decl %ecx
cmpl %ecx, %r14d
cmovll %r14d, %ecx
movl 8(%rsi), %r12d
testl %eax, %eax
cmovel %r14d, %ecx
imull 4(%rsi), %r12d
addl %ecx, %r12d
jmp LBB0_5
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=2
movl %ebx, %edx
shrl $24, %edx
movl %ebx, %ecx
shrl $16, %ecx
movzbl %cl, %r9d
movzbl %bh, %ecx
movzbl %bl, %r8d
leaq L_.str.5(%rip), %rdi
movl %edx, %esi
movl %r9d, %edx
movl %eax, %r9d
xorl %eax, %eax
callq _printf
LBB0_11: ## in Loop: Header=BB0_5 Depth=2
movl %r14d, %ebx
addl -64(%rbp), %r15d ## 4-byte Folded Reload
LBB0_5: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
cmpl %r12d, %r15d
jge LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
leaq -48(%rbp), %rdi
movl %r15d, %esi
callq _blackrock_shuffle
cltd
movl %ebx, %r14d
idivl %ebx
movl %eax, %r13d
movq -88(%rbp), %rdi ## 8-byte Reload
movl %edx, %esi
callq _rangelist_pick
movl %eax, %ebx
movq -80(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
callq _rangelist_pick
cmpl $1, -60(%rbp) ## 4-byte Folded Reload
jne LBB0_10
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
movq -72(%rbp), %rax ## 8-byte Reload
cmpq $0, 24(%rax)
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=2
movzbl %bh, %esi
movzbl %bl, %edx
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_11
LBB0_9: ## in Loop: Header=BB0_5 Depth=2
movl %ebx, %eax
shrl $24, %eax
movl %ebx, %ecx
shrl $16, %ecx
movzbl %cl, %edx
movzbl %bh, %ecx
movzbl %bl, %r8d
leaq L_.str.4(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
jmp LBB0_11
LBB0_13:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
leaq L_.str(%rip), %rsi
xorl %edi, %edi
callq _LOG
leaq L_.str.1(%rip), %rsi
xorl %edi, %edi
callq _LOG
leaq L_.str.2(%rip), %rsi
xorl %edi, %edi
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _LOG ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "FAIL: target IP address list empty\n"
L_.str.1: ## @.str.1
.asciz " [hint] try something like \"--range 10.0.0.0/8\"\n"
L_.str.2: ## @.str.2
.asciz " [hint] try something like \"--range 192.168.0.100-192.168.0.200\"\n"
L_.str.3: ## @.str.3
.asciz "%u,%u\n"
L_.str.4: ## @.str.4
.asciz "%u.%u.%u.%u\n"
L_.str.5: ## @.str.5
.asciz "%u.%u.%u.%u:%u\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main_listscan ; -- Begin function main_listscan
.p2align 2
_main_listscan: ; @main_listscan
.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
mov x19, x0
ldr w28, [x0, #48]
ldr w20, [x0]
add x21, x0, #32
mov x0, x21
bl _rangelist_count
cbnz w0, LBB0_2
; %bb.1:
mov x0, x21
mov w1, #80
mov w2, #80
bl _rangelist_add_range
LBB0_2:
mov x0, x21
bl _rangelist_count
mov x22, x0
add x23, x19, #36
mov x0, x23
bl _rangelist_count
cbz w0, LBB0_14
; %bb.3:
mov x24, x0
mul w8, w0, w22
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19, #16]
ldr w20, [sp, #36] ; 4-byte Folded Reload
add w20, w20, #1
cbz x8, LBB0_13
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
ldr w3, [x19, #56]
add x0, sp, #40
ldr w25, [sp, #32] ; 4-byte Folded Reload
mov x1, x25
str w20, [sp, #36] ; 4-byte Folded Spill
mov x2, x20
bl _blackrock_init
ldr w8, [x19, #52]
ldp w9, w10, [x19, #40]
add w8, w9, w8
sub w26, w8, #1
add w8, w26, w10
cmp w25, w8
csel w8, w25, w8, lt
cmp w10, #0
csel w8, w25, w8, eq
ldp w9, w10, [x19, #4]
madd w20, w10, w9, w8
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=2
lsr w1, w27, #24
ubfx w2, w27, #16, #8
and w8, w27, #0xff
ubfx w9, w27, #8, #8
stp x8, x0, [sp, #8]
str x9, [sp]
Lloh0:
adrp x0, l_.str.5@PAGE
Lloh1:
add x0, x0, l_.str.5@PAGEOFF
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
bl _printf
add w26, w26, w28
LBB0_8: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
cmp w26, w20
b.ge LBB0_4
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
add x0, sp, #40
mov x1, x26
bl _blackrock_shuffle
sdiv w25, w0, w24
msub w1, w25, w24, w0
mov x0, x23
bl _rangelist_pick
mov x27, x0
mov x0, x21
mov x1, x25
bl _rangelist_pick
; kill: def $w0 killed $w0 def $x0
cmp w22, #1
b.ne LBB0_6
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
ldr x8, [x19, #24]
cbz x8, LBB0_12
; %bb.11: ; in Loop: Header=BB0_8 Depth=2
ubfx w1, w27, #8, #8
and w2, w27, #0xff
Lloh2:
adrp x0, l_.str.3@PAGE
Lloh3:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_7
LBB0_12: ; in Loop: Header=BB0_8 Depth=2
lsr w1, w27, #24
ubfx w2, w27, #16, #8
and w8, w27, #0xff
ubfx w9, w27, #8, #8
stp x9, x8, [sp]
Lloh4:
adrp x0, l_.str.4@PAGE
Lloh5:
add x0, x0, l_.str.4@PAGEOFF
b LBB0_7
LBB0_13:
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_14:
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _LOG
Lloh8:
adrp x1, l_.str.1@PAGE
Lloh9:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #0
bl _LOG
Lloh10:
adrp x1, l_.str.2@PAGE
Lloh11:
add x1, x1, l_.str.2@PAGEOFF
mov w0, #0
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
b _LOG
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "FAIL: target IP address list empty\n"
l_.str.1: ; @.str.1
.asciz " [hint] try something like \"--range 10.0.0.0/8\"\n"
l_.str.2: ; @.str.2
.asciz " [hint] try something like \"--range 192.168.0.100-192.168.0.200\"\n"
l_.str.3: ; @.str.3
.asciz "%u,%u\n"
l_.str.4: ; @.str.4
.asciz "%u.%u.%u.%u\n"
l_.str.5: ; @.str.5
.asciz "%u.%u.%u.%u:%u\n"
.subsections_via_symbols
| AnghaBench/masscan/src/extr_main-listscan.c_main_listscan.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cifs_spnego_key_destroy
_cifs_spnego_key_destroy: ## @cifs_spnego_key_destroy
.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
movl (%rax), %edi
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _cifs_spnego_key_destroy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cifs_spnego_key_destroy
_cifs_spnego_key_destroy: ; @cifs_spnego_key_destroy
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w0, [x8]
b _kfree
.cfi_endproc
; -- End function
.no_dead_strip _cifs_spnego_key_destroy
.subsections_via_symbols
| AnghaBench/linux/fs/cifs/extr_cifs_spnego.c_cifs_spnego_key_destroy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtl_write_byte
_rtl_write_byte: ## @rtl_write_byte
.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 %esi, %r14d
movq %rdi, %rbx
callq *8(%rdi)
movq 16(%rbx), %rax
cmpq $0, (%rax)
je LBB0_1
## %bb.2:
movq (%rbx), %rax
movq %rbx, %rdi
movl %r14d, %esi
popq %rbx
popq %r14
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_1:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _rtl_write_byte
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rtl_write_byte
_rtl_write_byte: ; @rtl_write_byte
.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 x8, [x0, #8]
blr x8
ldr x8, [x20, #16]
ldr x8, [x8]
cbz x8, LBB0_2
; %bb.1:
ldr x2, [x20]
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
br x2
LBB0_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 _rtl_write_byte
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723com/extr_..wifi.h_rtl_write_byte.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cxgbi_get_conn_stats ## -- Begin function cxgbi_get_conn_stats
.p2align 4, 0x90
_cxgbi_get_conn_stats: ## @cxgbi_get_conn_stats
.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 36(%r14), %eax
movl %eax, 64(%rsi)
movups 20(%r14), %xmm0
movups %xmm0, 48(%rsi)
movups 4(%r14), %xmm0
movups %xmm0, 32(%rsi)
xorps %xmm0, %xmm0
movups %xmm0, 16(%rsi)
movl $1, (%rsi)
movq 8(%rsi), %rax
movl 4(%rax), %edi
leaq L_.str(%rip), %rsi
callq _strcpy
movl (%r14), %eax
movq 8(%rbx), %rcx
movl %eax, (%rcx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "eh_abort_cnt"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cxgbi_get_conn_stats ; -- Begin function cxgbi_get_conn_stats
.p2align 2
_cxgbi_get_conn_stats: ; @cxgbi_get_conn_stats
.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
ldr x20, [x0]
ldr w8, [x20, #36]
str w8, [x1, #64]
ldur q0, [x20, #20]
str q0, [x1, #48]
ldur q0, [x20, #4]
str q0, [x1, #32]
stp xzr, xzr, [x1, #16]
mov w8, #1
str w8, [x1]
ldr x8, [x1, #8]
ldr w0, [x8, #4]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strcpy
ldr w8, [x20]
ldr x9, [x19, #8]
str w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "eh_abort_cnt"
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/cxgbi/extr_libcxgbi.c_cxgbi_get_conn_stats.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___boards_dummy ## -- Begin function __boards_dummy
.p2align 4, 0x90
___boards_dummy: ## @__boards_dummy
.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
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___boards_dummy ; -- Begin function __boards_dummy
.p2align 2
___boards_dummy: ; @__boards_dummy
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/50136679.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mvpp2_dbgfs_flow_flt_hits_show
_mvpp2_dbgfs_flow_flt_hits_show: ## @mvpp2_dbgfs_flow_flt_hits_show
.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 (%rdi), %rax
movl (%rax), %esi
movl 4(%rax), %edi
callq _mvpp2_cls_flow_hits
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movl %eax, %edx
callq _seq_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 "%u\n"
.no_dead_strip _mvpp2_dbgfs_flow_flt_hits_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mvpp2_dbgfs_flow_flt_hits_show
_mvpp2_dbgfs_flow_flt_hits_show: ; @mvpp2_dbgfs_flow_flt_hits_show
.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]
ldp w1, w0, [x8]
bl _mvpp2_cls_flow_hits
mov x2, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _seq_printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u\n"
.no_dead_strip _mvpp2_dbgfs_flow_flt_hits_show
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_debugfs.c_mvpp2_dbgfs_flow_flt_hits_show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Import_ASX ## -- Begin function Import_ASX
.p2align 4, 0x90
_Import_ASX: ## @Import_ASX
.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, %rbx
callq _CHECK_FILE
movl 8(%rbx), %edi
callq _stream_MimeType
movq %rax, %r14
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _stream_HasExtension
testq %rax, %rax
jne LBB0_7
## %bb.1:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _stream_HasExtension
testq %rax, %rax
jne LBB0_7
## %bb.2:
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _stream_HasExtension
testq %rax, %rax
je LBB0_3
LBB0_7:
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
callq _msg_Dbg
movq %r14, %rdi
callq _free
movq _access_vaDirectoryControlHelper@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rbx)
movq _ReadDir@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rbx)
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_3:
testq %r14, %r14
je LBB0_8
## %bb.4:
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
callq _strcasecmp
testq %rax, %rax
je LBB0_6
## %bb.5:
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
callq _strcasecmp
testq %rax, %rax
jne LBB0_8
LBB0_6:
movq %rbx, %rdi
callq _PeekASX
testq %rax, %rax
jne LBB0_7
LBB0_8:
movq %r14, %rdi
callq _free
movq _VLC_EGENERIC@GOTPCREL(%rip), %rax
jmp LBB0_9
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ".asx"
L_.str.1: ## @.str.1
.asciz ".wax"
L_.str.2: ## @.str.2
.asciz ".wvx"
L_.str.3: ## @.str.3
.asciz "video/x-ms-asf"
L_.str.4: ## @.str.4
.asciz "audio/x-ms-wax"
L_.str.5: ## @.str.5
.asciz "found valid ASX playlist"
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.comm _access_vaDirectoryControlHelper,4,2 ## @access_vaDirectoryControlHelper
.comm _ReadDir,4,2 ## @ReadDir
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Import_ASX ; -- Begin function Import_ASX
.p2align 2
_Import_ASX: ; @Import_ASX
.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 _CHECK_FILE
ldr w0, [x19, #8]
bl _stream_MimeType
mov x20, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _stream_HasExtension
cbnz x0, LBB0_3
; %bb.1:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _stream_HasExtension
cbnz x0, LBB0_3
; %bb.2:
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _stream_HasExtension
cbz x0, LBB0_5
LBB0_3:
Lloh6:
adrp x1, l_.str.5@PAGE
Lloh7:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _msg_Dbg
mov x0, x20
bl _free
Lloh8:
adrp x8, _access_vaDirectoryControlHelper@GOTPAGE
Lloh9:
ldr x8, [x8, _access_vaDirectoryControlHelper@GOTPAGEOFF]
Lloh10:
adrp x9, _ReadDir@GOTPAGE
Lloh11:
ldr x9, [x9, _ReadDir@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
Lloh13:
ldr w9, [x9]
stp w9, w8, [x19]
Lloh14:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh15:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
LBB0_4:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_5:
cbz x20, LBB0_9
; %bb.6:
Lloh16:
adrp x1, l_.str.3@PAGE
Lloh17:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
bl _strcasecmp
cbz x0, LBB0_8
; %bb.7:
Lloh18:
adrp x1, l_.str.4@PAGE
Lloh19:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
bl _strcasecmp
cbnz x0, LBB0_9
LBB0_8:
mov x0, x19
bl _PeekASX
cbnz x0, LBB0_3
LBB0_9:
mov x0, x20
bl _free
Lloh20:
adrp x8, _VLC_EGENERIC@GOTPAGE
Lloh21:
ldr x8, [x8, _VLC_EGENERIC@GOTPAGEOFF]
b LBB0_4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh12
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ".asx"
l_.str.1: ; @.str.1
.asciz ".wax"
l_.str.2: ; @.str.2
.asciz ".wvx"
l_.str.3: ; @.str.3
.asciz "video/x-ms-asf"
l_.str.4: ; @.str.4
.asciz "audio/x-ms-wax"
l_.str.5: ; @.str.5
.asciz "found valid ASX playlist"
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.comm _access_vaDirectoryControlHelper,4,2 ; @access_vaDirectoryControlHelper
.comm _ReadDir,4,2 ; @ReadDir
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.subsections_via_symbols
| AnghaBench/vlc/modules/demux/playlist/extr_asx.c_Import_ASX.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _w2v_gemm0 ## -- Begin function w2v_gemm0
.p2align 4, 0x90
_w2v_gemm0: ## @w2v_gemm0
.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 $1096, %rsp ## imm = 0x448
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -1112(%rbp) ## 8-byte Spill
movq %r8, -1088(%rbp) ## 8-byte Spill
movq %rcx, -1096(%rbp) ## 8-byte Spill
movq %rdx, %r13
movq %rsi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
cmpq $257, %rsi ## imm = 0x101
movq %rdi, -1104(%rbp) ## 8-byte Spill
jae LBB0_1
## %bb.13:
testq %rdi, %rdi
je LBB0_11
## %bb.14:
leaq (,%r12,4), %r14
leaq -1(%r12), %r11
movl %r12d, %ebx
andl $3, %ebx
movq %r12, %r15
andq $-4, %r15
movq -1088(%rbp), %rax ## 8-byte Reload
addq $12, %rax
movq %rax, -1120(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -1080(%rbp) ## 8-byte Spill
movq %r11, -1128(%rbp) ## 8-byte Spill
jmp LBB0_15
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_15 Depth=1
movq -1080(%rbp), %rcx ## 8-byte Reload
incq %rcx
movq %rcx, %rax
movq %rcx, -1080(%rbp) ## 8-byte Spill
cmpq %rdi, %rcx
je LBB0_11
LBB0_15: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
## Child Loop BB0_26 Depth 3
## Child Loop BB0_23 Depth 3
testq %r12, %r12
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movq -1080(%rbp), %rax ## 8-byte Reload
imulq %r12, %rax
movq -1096(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rsi
leaq -1072(%rbp), %rdi
movq %r14, %rdx
callq _memcpy
movq -1128(%rbp), %r11 ## 8-byte Reload
movq -1104(%rbp), %rdi ## 8-byte Reload
LBB0_17: ## in Loop: Header=BB0_15 Depth=1
testq %r13, %r13
je LBB0_25
## %bb.18: ## in Loop: Header=BB0_15 Depth=1
movq -1080(%rbp), %r8 ## 8-byte Reload
imulq %r13, %r8
movq -1088(%rbp), %r9 ## 8-byte Reload
movq -1120(%rbp), %rdx ## 8-byte Reload
xorl %r10d, %r10d
jmp LBB0_19
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_19 Depth=2
leaq (%r10,%r8), %rax
movq -1112(%rbp), %rcx ## 8-byte Reload
movss %xmm0, (%rcx,%rax,4)
incq %r10
addq %r14, %rdx
addq %r14, %r9
cmpq %r13, %r10
je LBB0_25
LBB0_19: ## Parent Loop BB0_15 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_26 Depth 3
## Child Loop BB0_23 Depth 3
xorps %xmm0, %xmm0
testq %r12, %r12
je LBB0_24
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
xorl %ecx, %ecx
cmpq $3, %r11
jb LBB0_21
.p2align 4, 0x90
LBB0_26: ## Parent Loop BB0_15 Depth=1
## Parent Loop BB0_19 Depth=2
## => This Inner Loop Header: Depth=3
movss -1072(%rbp,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -1068(%rbp,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss -12(%rdx,%rcx,4), %xmm1
mulss -8(%rdx,%rcx,4), %xmm2
addss %xmm0, %xmm1
movss -1064(%rbp,%rcx,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero
mulss -4(%rdx,%rcx,4), %xmm3
addss %xmm1, %xmm2
movss -1060(%rbp,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss (%rdx,%rcx,4), %xmm0
addss %xmm2, %xmm3
addss %xmm3, %xmm0
addq $4, %rcx
cmpq %rcx, %r15
jne LBB0_26
LBB0_21: ## in Loop: Header=BB0_19 Depth=2
testq %rbx, %rbx
je LBB0_24
## %bb.22: ## in Loop: Header=BB0_19 Depth=2
leaq (%r9,%rcx,4), %rax
leaq -1072(,%rcx,4), %rsi
addq %rbp, %rsi
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_23: ## Parent Loop BB0_15 Depth=1
## Parent Loop BB0_19 Depth=2
## => This Inner Loop Header: Depth=3
movss (%rsi,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss (%rax,%rcx,4), %xmm1
addss %xmm1, %xmm0
incq %rcx
cmpq %rcx, %rbx
jne LBB0_23
jmp LBB0_24
LBB0_1:
testq %rdi, %rdi
je LBB0_11
## %bb.2:
movq %r12, %rax
andq $-2, %rax
movq -1096(%rbp), %rcx ## 8-byte Reload
addq $4, %rcx
leaq (,%r12,4), %r11
movq -1088(%rbp), %rdx ## 8-byte Reload
addq $4, %rdx
movq %rdx, -1080(%rbp) ## 8-byte Spill
xorl %r9d, %r9d
movq -1096(%rbp), %r8 ## 8-byte Reload
jmp LBB0_3
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
incq %r9
addq %r11, %rcx
cmpq -1104(%rbp), %r9 ## 8-byte Folded Reload
je LBB0_11
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_28 Depth 3
testq %r13, %r13
je LBB0_10
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r9, %r10
imulq %r12, %r10
movq %r9, %r14
imulq %r13, %r14
movq -1080(%rbp), %rsi ## 8-byte Reload
xorl %r15d, %r15d
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=2
leaq (%r15,%r14), %rdx
movq -1112(%rbp), %rdi ## 8-byte Reload
movss %xmm0, (%rdi,%rdx,4)
incq %r15
addq %r11, %rsi
cmpq %r13, %r15
je LBB0_10
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_28 Depth 3
cmpq $1, %r12
jne LBB0_27
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
xorps %xmm0, %xmm0
xorl %edx, %edx
jmp LBB0_7
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_5 Depth=2
xorps %xmm1, %xmm1
xorl %edx, %edx
.p2align 4, 0x90
LBB0_28: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_5 Depth=2
## => This Inner Loop Header: Depth=3
movss -4(%rcx,%rdx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss (%rcx,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -4(%rsi,%rdx,4), %xmm2
mulss (%rsi,%rdx,4), %xmm0
addss %xmm1, %xmm2
addss %xmm2, %xmm0
addq $2, %rdx
movaps %xmm0, %xmm1
cmpq %rdx, %rax
jne LBB0_28
LBB0_7: ## in Loop: Header=BB0_5 Depth=2
testb $1, %r12b
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=2
movq %r15, %rdi
imulq %r12, %rdi
leaq (%rdx,%r10), %rbx
movss (%r8,%rbx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addq %rdx, %rdi
movq -1088(%rbp), %rdx ## 8-byte Reload
mulss (%rdx,%rdi,4), %xmm1
addss %xmm1, %xmm0
jmp LBB0_9
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_12
## %bb.29:
addq $1096, %rsp ## imm = 0x448
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
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 _w2v_gemm0 ; -- Begin function w2v_gemm0
.p2align 2
_w2v_gemm0: ; @w2v_gemm0
.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, #1056
mov x19, x5
mov x20, x4
mov x21, x3
mov x22, x2
mov x23, x1
mov x28, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
cmp x1, #257
b.hs LBB0_18
; %bb.1:
cbz x28, LBB0_31
; %bb.2:
mov x26, #0
lsl x25, x23, #2
and x27, x23, #0xfffffffffffffff0
add x8, x20, #32
str x8, [sp, #8] ; 8-byte Folded Spill
add x15, sp, #16
add x24, x15, #32
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x26, x26, #1
cmp x26, x28
b.eq LBB0_31
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_14 Depth 3
; Child Loop BB0_17 Depth 3
cbz x23, LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mul x8, x26, x23
add x1, x21, x8, lsl #2
add x0, sp, #16
mov x2, x25
bl _memcpy
add x15, sp, #16
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
cbz x22, LBB0_3
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
mov x8, #0
mov x9, #0
mul x10, x26, x22
ldr x11, [sp, #8] ; 8-byte Folded Reload
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_10 Depth=2
movi d0, #0000000000000000
LBB0_9: ; in Loop: Header=BB0_10 Depth=2
add x12, x9, x10
str s0, [x19, x12, lsl #2]
add x9, x9, #1
add x11, x11, x25
add x8, x8, x23
cmp x9, x22
b.eq LBB0_3
LBB0_10: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_14 Depth 3
; Child Loop BB0_17 Depth 3
cbz x23, LBB0_8
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
cmp x23, #16
b.hs LBB0_13
; %bb.12: ; in Loop: Header=BB0_10 Depth=2
mov x14, #0
movi d0, #0000000000000000
b LBB0_16
LBB0_13: ; in Loop: Header=BB0_10 Depth=2
movi d0, #0000000000000000
mov x12, x24
mov x13, x11
mov x14, x27
LBB0_14: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
ldp q1, q2, [x12, #-32]
ldp q3, q4, [x12], #64
ldp q5, q6, [x13, #-32]
ldp q7, q16, [x13], #64
fmul.4s v1, v1, v5
mov s5, v1[3]
mov s17, v1[2]
mov s18, v1[1]
fmul.4s v2, v2, v6
mov s6, v2[3]
mov s19, v2[2]
mov s20, v2[1]
fmul.4s v3, v3, v7
mov s7, v3[3]
mov s21, v3[2]
mov s22, v3[1]
fmul.4s v4, v4, v16
mov s16, v4[3]
mov s23, v4[2]
mov s24, v4[1]
fadd s0, s0, s1
fadd s0, s0, s18
fadd s0, s0, s17
fadd s0, s0, s5
fadd s0, s0, s2
fadd s0, s0, s20
fadd s0, s0, s19
fadd s0, s0, s6
fadd s0, s0, s3
fadd s0, s0, s22
fadd s0, s0, s21
fadd s0, s0, s7
fadd s0, s0, s4
fadd s0, s0, s24
fadd s0, s0, s23
fadd s0, s0, s16
subs x14, x14, #16
b.ne LBB0_14
; %bb.15: ; in Loop: Header=BB0_10 Depth=2
mov x14, x27
cmp x27, x23
b.eq LBB0_9
LBB0_16: ; in Loop: Header=BB0_10 Depth=2
add x12, x14, x8
add x12, x20, x12, lsl #2
add x13, x15, x14, lsl #2
sub x14, x23, x14
LBB0_17: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
ldr s1, [x13], #4
ldr s2, [x12], #4
fmadd s0, s1, s2, s0
subs x14, x14, #1
b.ne LBB0_17
b LBB0_9
LBB0_18:
cbz x28, LBB0_31
; %bb.19:
mov x8, #0
mov x9, #0
and x10, x23, #0xfffffffffffffff0
add x11, x20, #32
lsl x12, x23, #2
add x13, x21, #32
b LBB0_21
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
add x9, x9, #1
add x13, x13, x12
add x8, x8, x23
cmp x9, x28
b.eq LBB0_31
LBB0_21: ; =>This Loop Header: Depth=1
; Child Loop BB0_24 Depth 2
; Child Loop BB0_27 Depth 3
; Child Loop BB0_30 Depth 3
cbz x22, LBB0_20
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
mov x14, #0
mov x15, #0
mul x16, x9, x22
mov x17, x11
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_24 Depth=2
add x0, x15, x16
str s0, [x19, x0, lsl #2]
add x15, x15, #1
add x17, x17, x12
add x14, x14, x23
cmp x15, x22
b.eq LBB0_20
LBB0_24: ; Parent Loop BB0_21 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_27 Depth 3
; Child Loop BB0_30 Depth 3
cmp x23, #16
b.hs LBB0_26
; %bb.25: ; in Loop: Header=BB0_24 Depth=2
mov x2, #0
movi d0, #0000000000000000
b LBB0_29
LBB0_26: ; in Loop: Header=BB0_24 Depth=2
movi d0, #0000000000000000
mov x0, x13
mov x1, x17
mov x2, x10
LBB0_27: ; Parent Loop BB0_21 Depth=1
; Parent Loop BB0_24 Depth=2
; => This Inner Loop Header: Depth=3
ldp q1, q2, [x0, #-32]
ldp q3, q4, [x0], #64
ldp q5, q6, [x1, #-32]
ldp q7, q16, [x1], #64
fmul.4s v1, v1, v5
mov s5, v1[3]
mov s17, v1[2]
mov s18, v1[1]
fmul.4s v2, v2, v6
mov s6, v2[3]
mov s19, v2[2]
mov s20, v2[1]
fmul.4s v3, v3, v7
mov s7, v3[3]
mov s21, v3[2]
mov s22, v3[1]
fmul.4s v4, v4, v16
mov s16, v4[3]
mov s23, v4[2]
mov s24, v4[1]
fadd s0, s0, s1
fadd s0, s0, s18
fadd s0, s0, s17
fadd s0, s0, s5
fadd s0, s0, s2
fadd s0, s0, s20
fadd s0, s0, s19
fadd s0, s0, s6
fadd s0, s0, s3
fadd s0, s0, s22
fadd s0, s0, s21
fadd s0, s0, s7
fadd s0, s0, s4
fadd s0, s0, s24
fadd s0, s0, s23
fadd s0, s0, s16
subs x2, x2, #16
b.ne LBB0_27
; %bb.28: ; in Loop: Header=BB0_24 Depth=2
mov x2, x10
cmp x10, x23
b.eq LBB0_23
LBB0_29: ; in Loop: Header=BB0_24 Depth=2
add x0, x2, x14
add x0, x20, x0, lsl #2
add x1, x8, x2
add x1, x21, x1, lsl #2
sub x2, x23, x2
LBB0_30: ; Parent Loop BB0_21 Depth=1
; Parent Loop BB0_24 Depth=2
; => This Inner Loop Header: Depth=3
ldr s1, [x1], #4
ldr s2, [x0], #4
fmadd s0, s1, s2, s0
subs x2, x2, #1
b.ne LBB0_30
b LBB0_23
LBB0_31:
ldur x8, [x29, #-96]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_33
; %bb.32:
add sp, sp, #1056
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_33:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/932215.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0 ## -- Begin function fxt1_quantize_CHROMA
LCPI0_0:
.long 0x3e000000 ## float 0.125
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_fxt1_quantize_CHROMA: ## @fxt1_quantize_CHROMA
.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 _MAX_COMP@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _MAX_VECT@GOTPCREL(%rip), %rax
movl (%rax), %eax
imulq %r15, %rax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq _N_TEXELS@GOTPCREL(%rip), %r12
movl (%r12), %r8d
movq %r14, %rdi
movl $4, %esi
movq %rbx, %rdx
movl $3, %ecx
callq _fxt1_choose
testq %rax, %rax
je LBB0_2
## %bb.1:
movl (%r12), %r8d
movq %r14, %rdi
movl $4, %esi
movq %rbx, %rdx
movl $3, %ecx
callq _fxt1_lloyd
LBB0_2:
movl $4, %esi
callq _Q_MOV32
leaq (%r15,%r15,2), %rax
leaq (%r14,%rax,4), %rbx
addq $12, %rbx
shlq $2, %r15
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl $5, %esi
callq _Q_SHL
movss -12(%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm1 ## xmm1 = [1.25E-1,0.0E+0,0.0E+0,0.0E+0]
mulss %xmm1, %xmm0
cvttss2si %xmm0, %esi
callq _Q_OR32
movl $5, %esi
callq _Q_SHL
movss -8(%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss LCPI0_0(%rip), %xmm0
cvttss2si %xmm0, %esi
callq _Q_OR32
movl $5, %esi
callq _Q_SHL
movss -4(%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss LCPI0_0(%rip), %xmm0
cvttss2si %xmm0, %esi
callq _Q_OR32
movl $5, %esi
callq _Q_SHL
movss (%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss LCPI0_0(%rip), %xmm0
cvttss2si %xmm0, %esi
callq _Q_OR32
addq %r15, %rbx
jmp LBB0_3
.cfi_endproc
## -- End function
.comm _N_TEXELS,4,2 ## @N_TEXELS
.comm _MAX_COMP,4,2 ## @MAX_COMP
.comm _MAX_VECT,4,2 ## @MAX_VECT
.no_dead_strip _fxt1_quantize_CHROMA
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fxt1_quantize_CHROMA
_fxt1_quantize_CHROMA: ; @fxt1_quantize_CHROMA
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-64]! ; 16-byte Folded Spill
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 b8, -56
.cfi_offset b9, -64
mov x19, x1
Lloh0:
adrp x8, _MAX_COMP@GOTPAGE
Lloh1:
ldr x8, [x8, _MAX_COMP@GOTPAGEOFF]
Lloh2:
adrp x9, _MAX_VECT@GOTPAGE
Lloh3:
ldr x9, [x9, _MAX_VECT@GOTPAGEOFF]
Lloh4:
ldr w21, [x8]
Lloh5:
ldr w8, [x9]
umull x8, w8, w21
lsl x9, x8, #2
add x8, x9, #15
and x8, x8, #0xfffffffffffffff0
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x20, x9, x8
mov sp, x20
Lloh8:
adrp x22, _N_TEXELS@GOTPAGE
Lloh9:
ldr x22, [x22, _N_TEXELS@GOTPAGEOFF]
ldr w4, [x22]
mov x0, x20
mov w1, #4 ; =0x4
mov x2, x19
mov w3, #3 ; =0x3
bl _fxt1_choose
cbz x0, LBB0_2
; %bb.1:
ldr w4, [x22]
mov x0, x20
mov w1, #4 ; =0x4
mov x2, x19
mov w3, #3 ; =0x3
bl _fxt1_lloyd
LBB0_2:
mov w1, #4 ; =0x4
bl _Q_MOV32
mov w8, #12 ; =0xc
umaddl x8, w21, w8, x20
add x19, x8, #8
lsl x20, x21, #2
fmov s8, #0.12500000
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov w1, #5 ; =0x5
bl _Q_SHL
ldur s0, [x19, #-8]
fmul s0, s0, s8
fcvtzs w1, s0
bl _Q_OR32
mov w1, #5 ; =0x5
bl _Q_SHL
ldur s0, [x19, #-4]
fmul s0, s0, s8
fcvtzs w1, s0
bl _Q_OR32
mov w1, #5 ; =0x5
bl _Q_SHL
ldr s0, [x19]
fmul s0, s0, s8
fcvtzs w1, s0
bl _Q_OR32
mov w1, #5 ; =0x5
bl _Q_SHL
ldr s0, [x19, #4]
fmul s0, s0, s8
fcvtzs w1, s0
bl _Q_OR32
add x19, x19, x20
b LBB0_3
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _N_TEXELS,4,2 ; @N_TEXELS
.comm _MAX_COMP,4,2 ; @MAX_COMP
.comm _MAX_VECT,4,2 ; @MAX_VECT
.no_dead_strip _fxt1_quantize_CHROMA
.subsections_via_symbols
| assembly_file_127662.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uwb_drp_process_all
_uwb_drp_process_all: ## @uwb_drp_process_all
.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 %rcx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rdx, -48(%rbp)
movq (%rsi), %rax
movq %rax, -56(%rbp)
leaq -56(%rbp), %rdi
leaq -48(%rbp), %rsi
callq _uwb_ie_next
testq %rax, %rax
je LBB0_8
## %bb.1:
leaq -56(%rbp), %r12
leaq -48(%rbp), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _dev_warn
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
movq %r13, %rsi
callq _uwb_ie_next
testq %rax, %rax
je LBB0_8
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%rax), %ecx
movq %rbx, %rdi
cmpl $129, %ecx
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl $128, %ecx
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rsi
movq %rax, %rdx
callq _uwb_drp_availability_process
jmp LBB0_7
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rsi
movq %r14, %rdx
movq %rax, %rcx
callq _uwb_drp_process
jmp LBB0_7
LBB0_8:
movq -48(%rbp), %rdx
testq %rdx, %rdx
je LBB0_10
## %bb.9:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _dev_warn
LBB0_10:
addq $24, %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 "unexpected IE in DRP notification\n"
L_.str.1: ## @.str.1
.asciz "%d octets remaining in DRP notification\n"
.no_dead_strip _uwb_drp_process_all
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uwb_drp_process_all
_uwb_drp_process_all: ; @uwb_drp_process_all
.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 x20, x3
mov x21, x1
mov x19, x0
ldr x8, [x1]
stp x8, x2, [sp, #16]
add x0, sp, #16
add x1, sp, #24
bl _uwb_ie_next
cbz x0, LBB0_8
; %bb.1:
mov x3, x0
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x1, x22
bl _dev_warn
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x0, sp, #16
add x1, sp, #24
bl _uwb_ie_next
mov x3, x0
cbz x0, LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [x3]
mov x0, x19
cmp w8, #129
b.eq LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #128
b.ne LBB0_2
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x1, x20
mov x2, x3
bl _uwb_drp_availability_process
b LBB0_3
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
mov x1, x21
mov x2, x20
bl _uwb_drp_process
b LBB0_3
LBB0_8:
ldr x8, [sp, #24]
cbz x8, LBB0_10
; %bb.9:
str x8, [sp]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _dev_warn
LBB0_10:
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 Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unexpected IE in DRP notification\n"
l_.str.1: ; @.str.1
.asciz "%d octets remaining in DRP notification\n"
.no_dead_strip _uwb_drp_process_all
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/uwb/extr_drp.c_uwb_drp_process_all.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_directory_record_rr
_set_directory_record_rr: ## @set_directory_record_rr
.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
movl %r8d, %r12d
movq %rcx, -96(%rbp) ## 8-byte Spill
movq %rdx, %rbx
leaq -48(%rbp), %rcx
callq _extra_open_record
movq %rax, %r13
movq _DIR_REC_PARENT@GOTPCREL(%rip), %rax
cmpl %r12d, (%rax)
jne LBB0_2
## %bb.1:
movq 48(%rbx), %rcx
movq 8(%rbx), %rbx
testq %rcx, %rcx
movq %rcx, %r14
cmoveq %rbx, %r14
jmp LBB0_3
LBB0_2:
xorl %ecx, %ecx
movq %rbx, %r14
LBB0_3:
movq %rbx, -104(%rbp) ## 8-byte Spill
movq 32(%r14), %r15
movq _DIR_REC_NORMAL@GOTPCREL(%rip), %rax
cmpl %r12d, (%rax)
movq %rcx, -112(%rbp) ## 8-byte Spill
jne LBB0_7
## %bb.4:
movl 8(%r15), %edi
callq _archive_entry_filetype
movq _AE_IFLNK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %al
shlb $2, %al
cmpq $0, 48(%r14)
setne %cl
shlb $6, %cl
orb %al, %cl
cmpq $0, 16(%r14)
setne %bl
shlb $4, %bl
orb %cl, %bl
orb $-119, %bl
movl 8(%r15), %edi
callq _archive_entry_filetype
movq _AE_IFCHR@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_6
## %bb.5:
movl 8(%r15), %edi
callq _archive_entry_filetype
movq _AE_IFBLK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
LBB0_6:
orb $2, %bl
jmp LBB0_8
LBB0_7:
testq %rcx, %rcx
setne %bl
shlb $5, %bl
orb $-127, %bl
LBB0_8:
movq _DIR_REC_SELF@GOTPCREL(%rip), %rax
cmpl %r12d, (%rax)
jne LBB0_14
## %bb.9:
cmpq 8(%r14), %r14
jne LBB0_14
## %bb.10:
testq %r13, %r13
je LBB0_12
## %bb.11:
movl $17256531, 1(%r13) ## imm = 0x1075053
movw $-4162, 5(%r13) ## imm = 0xEFBE
movb $0, 7(%r13)
addq $7, %r13
jmp LBB0_13
LBB0_12:
xorl %r13d, %r13d
LBB0_13:
leaq -48(%rbp), %rdi
movl $7, %esi
callq _extra_tell_used_size
LBB0_14:
leaq -48(%rbp), %rdi
callq _extra_space
cmpl $4, %eax
jg LBB0_16
## %bb.15:
leaq -48(%rbp), %rdi
movl $5, %esi
callq _extra_next_record
movq %rax, %r13
LBB0_16:
testq %r13, %r13
je LBB0_18
## %bb.17:
movl $17125970, 1(%r13) ## imm = 0x1055252
movb %bl, 5(%r13)
addq $5, %r13
jmp LBB0_19
LBB0_18:
xorl %r13d, %r13d
LBB0_19:
leaq -48(%rbp), %rdi
movl $5, %esi
callq _extra_tell_used_size
testb $8, %bl
movl %r12d, -56(%rbp) ## 4-byte Spill
movq %r14, -88(%rbp) ## 8-byte Spill
movq %r15, -72(%rbp) ## 8-byte Spill
movb %bl, -49(%rbp) ## 1-byte Spill
jne LBB0_32
## %bb.20:
testb $1, %bl
jne LBB0_52
LBB0_21:
testb $4, %bl
jne LBB0_66
LBB0_22:
testb $-128, %bl
jne LBB0_136
LBB0_23:
testb $64, %bl
jne LBB0_151
LBB0_24:
testb $32, %bl
jne LBB0_157
LBB0_25:
testb $16, %bl
jne LBB0_163
LBB0_26:
testb $2, %bl
jne LBB0_169
LBB0_27:
cmpb $0, (%r15)
je LBB0_175
LBB0_28:
leaq -48(%rbp), %rdi
callq _extra_space
cmpl $15, %eax
jg LBB0_30
## %bb.29:
leaq -48(%rbp), %rdi
movl $16, %esi
callq _extra_next_record
movq %rax, %r13
LBB0_30:
testq %r13, %r13
je LBB0_48
## %bb.31:
movl $17843802, 1(%r13) ## imm = 0x110465A
movw $31344, 5(%r13) ## imm = 0x7A70
movb (%r15), %al
movb %al, 7(%r13)
movb 1(%r15), %al
movb %al, 8(%r13)
leaq 9(%r13), %rdi
movl 4(%r15), %esi
callq _set_num_733
addq $16, %r13
jmp LBB0_49
LBB0_32:
movq %r13, -80(%rbp) ## 8-byte Spill
movq 40(%r15), %r13
movq 48(%r15), %rbx
leaq -48(%rbp), %rdi
callq _extra_space
cmpl $5, %eax
jg LBB0_34
## %bb.33:
leaq -48(%rbp), %rdi
movl $6, %esi
callq _extra_next_record
movq %rax, -80(%rbp) ## 8-byte Spill
LBB0_34:
movq -80(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_36
## %bb.35:
movw $19790, 1(%rax) ## imm = 0x4D4E
movb $1, 4(%rax)
LBB0_36:
leaq -48(%rbp), %rdi
callq _extra_space
movl %eax, %r15d
cmpl $255, %eax
movl $255, %eax
cmovael %eax, %r15d
jmp LBB0_38
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_38 Depth=1
addq %r12, %r13
LBB0_38: ## =>This Inner Loop Header: Depth=1
leaq 5(%rbx), %rax
cmpq %r15, %rax
jbe LBB0_46
## %bb.39: ## in Loop: Header=BB0_38 Depth=1
movq -80(%rbp), %r14 ## 8-byte Reload
testq %r14, %r14
je LBB0_41
## %bb.40: ## in Loop: Header=BB0_38 Depth=1
movb %r15b, 3(%r14)
movb $1, 5(%r14)
leaq 6(%r14), %rdi
movq %r15, %r12
shlq $32, %r12
movabsq $-21474836480, %rax ## imm = 0xFFFFFFFB00000000
addq %rax, %r12
sarq $32, %r12
movq %r13, %rsi
movq %r12, %rdx
callq _memcpy
movslq %r15d, %rax
addq %rax, %r14
movq %r14, -80(%rbp) ## 8-byte Spill
jmp LBB0_42
.p2align 4, 0x90
LBB0_41: ## in Loop: Header=BB0_38 Depth=1
movq %r15, %r12
shlq $32, %r12
movabsq $-21474836480, %rax ## imm = 0xFFFFFFFB00000000
addq %rax, %r12
sarq $32, %r12
xorl %eax, %eax
movq %rax, -80(%rbp) ## 8-byte Spill
LBB0_42: ## in Loop: Header=BB0_38 Depth=1
leaq -48(%rbp), %r14
movq %r14, %rdi
movl %r15d, %esi
callq _extra_tell_used_size
movq %r14, %rdi
callq _extra_space
cmpl $5, %eax
jg LBB0_44
## %bb.43: ## in Loop: Header=BB0_38 Depth=1
leaq -48(%rbp), %r14
movq %r14, %rdi
movl $6, %esi
callq _extra_next_record
movq %rax, -80(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _extra_space
movl %eax, %r15d
cmpl $255, %eax
movl $255, %eax
cmovael %eax, %r15d
LBB0_44: ## in Loop: Header=BB0_38 Depth=1
subq %r12, %rbx
movq -80(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_37
## %bb.45: ## in Loop: Header=BB0_38 Depth=1
movw $19790, 1(%rax) ## imm = 0x4D4E
movb $1, 4(%rax)
jmp LBB0_37
LBB0_46:
leal 5(%rbx), %r15d
movq -80(%rbp), %r14 ## 8-byte Reload
testq %r14, %r14
je LBB0_50
## %bb.47:
movb %r15b, 3(%r14)
movb $0, 5(%r14)
leaq 6(%r14), %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq _memcpy
movslq %r15d, %rax
addq %rax, %r14
movl -56(%rbp), %r12d ## 4-byte Reload
movb -49(%rbp), %bl ## 1-byte Reload
movq %r14, %r13
jmp LBB0_51
LBB0_48:
xorl %r13d, %r13d
LBB0_49:
movq _DIR_REC_SELF@GOTPCREL(%rip), %rbx
leaq -48(%rbp), %rdi
movl $16, %esi
callq _extra_tell_used_size
cmpl %r12d, (%rbx)
je LBB0_176
jmp LBB0_180
LBB0_50:
xorl %r13d, %r13d
movl -56(%rbp), %r12d ## 4-byte Reload
movb -49(%rbp), %bl ## 1-byte Reload
LBB0_51:
leaq -48(%rbp), %rdi
movl %r15d, %esi
callq _extra_tell_used_size
movq -88(%rbp), %r14 ## 8-byte Reload
movq -72(%rbp), %r15 ## 8-byte Reload
testb $1, %bl
je LBB0_21
LBB0_52:
leaq -48(%rbp), %rdi
callq _extra_space
cmpl $43, %eax
jg LBB0_54
## %bb.53:
leaq -48(%rbp), %rdi
movl $44, %esi
callq _extra_next_record
movq %rax, %r13
LBB0_54:
testq %r13, %r13
je LBB0_59
## %bb.55:
movl 8(%r15), %edi
callq _archive_entry_mode
movl %eax, %ebx
movl 8(%r15), %edi
callq _archive_entry_uid
movq %rax, -80(%rbp) ## 8-byte Spill
movl 8(%r15), %edi
callq _archive_entry_gid
movq %rax, %r14
movq -96(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movq _OPT_RR_USEFUL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_57
## %bb.56:
testb $73, %bl
movl $292, %eax ## imm = 0x124
movl $365, %ecx ## imm = 0x16D
cmovel %eax, %ecx
andl $-4023, %ebx ## imm = 0xF049
orl %ecx, %ebx
LBB0_57:
movl $19683408, 1(%r13) ## imm = 0x12C5850
leaq 5(%r13), %rdi
movl %ebx, %esi
callq _set_num_733
leaq 13(%r13), %rbx
movq -72(%rbp), %r15 ## 8-byte Reload
movl 8(%r15), %edi
callq _archive_entry_nlink
movq %rbx, %rdi
movl %eax, %esi
callq _set_num_733
leaq 21(%r13), %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
callq _set_num_733
leaq 29(%r13), %rdi
movl %r14d, %esi
callq _set_num_733
movq -104(%rbp), %rax ## 8-byte Reload
cmpq $0, 24(%rax)
je LBB0_60
## %bb.58:
leaq 37(%r13), %rdi
movl (%rax), %esi
callq _set_num_733
movq -88(%rbp), %r14 ## 8-byte Reload
movb -49(%rbp), %bl ## 1-byte Reload
jmp LBB0_64
LBB0_59:
xorl %r13d, %r13d
jmp LBB0_65
LBB0_60:
movq 32(%r15), %rax
leaq 37(%r13), %rdi
testq %rax, %rax
movq -88(%rbp), %r14 ## 8-byte Reload
movb -49(%rbp), %bl ## 1-byte Reload
je LBB0_62
## %bb.61:
movq (%rax), %rax
jmp LBB0_63
LBB0_62:
movq 24(%r15), %rax
LBB0_63:
movl (%rax), %esi
callq _set_num_733
LBB0_64:
addq $44, %r13
LBB0_65:
leaq -48(%rbp), %rdi
movl $44, %esi
callq _extra_tell_used_size
testb $4, %bl
je LBB0_22
LBB0_66:
leaq -48(%rbp), %rdi
callq _extra_space
cmpl $6, %eax
jg LBB0_68
## %bb.67:
leaq -48(%rbp), %rdi
movl $7, %esi
callq _extra_next_record
movq %rax, %r13
LBB0_68:
movq 16(%r15), %rbx
testq %r13, %r13
je LBB0_70
## %bb.69:
movw $19539, 1(%r13) ## imm = 0x4C53
movb $1, 4(%r13)
LBB0_70:
xorl %r14d, %r14d
leaq -48(%rbp), %r12
leaq -57(%rbp), %r15
.p2align 4, 0x90
LBB0_71: ## =>This Loop Header: Depth=1
## Child Loop BB0_74 Depth 2
movb $0, -57(%rbp)
movq %r12, %rdi
callq _extra_space
cmpl $255, %eax
movl $255, %ecx
cmovgel %ecx, %eax
movb (%rbx), %dl
testb %dl, %dl
je LBB0_123
## %bb.72: ## in Loop: Header=BB0_71 Depth=1
cmpl $12, %eax
jl LBB0_123
## %bb.73: ## in Loop: Header=BB0_71 Depth=1
leaq 6(%r13), %rdi
testq %r13, %r13
cmoveq %r13, %rdi
xorl %esi, %esi
xorl %r9d, %r9d
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_74: ## Parent Loop BB0_71 Depth=1
## => This Inner Loop Header: Depth=2
testb %r14b, %r14b
jne LBB0_78
## %bb.75: ## in Loop: Header=BB0_74 Depth=2
cmpb $47, %dl
jne LBB0_78
## %bb.76: ## in Loop: Header=BB0_74 Depth=2
testq %rdi, %rdi
je LBB0_102
## %bb.77: ## in Loop: Header=BB0_74 Depth=2
movw $8, (%rdi)
leaq 2(%rdi), %rcx
movq %rdi, %r8
jmp LBB0_103
.p2align 4, 0x90
LBB0_78: ## in Loop: Header=BB0_74 Depth=2
cmpb $47, %r14b
je LBB0_80
## %bb.79: ## in Loop: Header=BB0_74 Depth=2
testb %r14b, %r14b
jne LBB0_84
LBB0_80: ## in Loop: Header=BB0_74 Depth=2
cmpb $46, %dl
jne LBB0_84
## %bb.81: ## in Loop: Header=BB0_74 Depth=2
cmpb $46, 1(%rbx)
jne LBB0_84
## %bb.82: ## in Loop: Header=BB0_74 Depth=2
movzbl 2(%rbx), %ecx
testb %cl, %cl
je LBB0_89
## %bb.83: ## in Loop: Header=BB0_74 Depth=2
cmpb $47, %cl
je LBB0_89
.p2align 4, 0x90
LBB0_84: ## in Loop: Header=BB0_74 Depth=2
cmpb $47, %dl
jne LBB0_91
## %bb.85: ## in Loop: Header=BB0_74 Depth=2
cmpb $46, 1(%rbx)
jne LBB0_91
## %bb.86: ## in Loop: Header=BB0_74 Depth=2
cmpb $46, 2(%rbx)
jne LBB0_91
## %bb.87: ## in Loop: Header=BB0_74 Depth=2
movzbl 3(%rbx), %ecx
cmpb $47, %cl
je LBB0_89
## %bb.88: ## in Loop: Header=BB0_74 Depth=2
testb %cl, %cl
jne LBB0_91
LBB0_89: ## in Loop: Header=BB0_74 Depth=2
testq %rdi, %rdi
je LBB0_117
## %bb.90: ## in Loop: Header=BB0_74 Depth=2
movw $4, (%rdi)
leaq 2(%rdi), %rcx
movzbl (%rbx), %edx
movq %rdi, %r8
jmp LBB0_118
.p2align 4, 0x90
LBB0_91: ## in Loop: Header=BB0_74 Depth=2
cmpb $47, %r14b
je LBB0_93
## %bb.92: ## in Loop: Header=BB0_74 Depth=2
testb %r14b, %r14b
jne LBB0_96
LBB0_93: ## in Loop: Header=BB0_74 Depth=2
cmpb $46, %dl
jne LBB0_96
## %bb.94: ## in Loop: Header=BB0_74 Depth=2
movzbl 1(%rbx), %ecx
testb %cl, %cl
je LBB0_100
## %bb.95: ## in Loop: Header=BB0_74 Depth=2
cmpb $47, %cl
je LBB0_100
.p2align 4, 0x90
LBB0_96: ## in Loop: Header=BB0_74 Depth=2
cmpb $47, %dl
jne LBB0_104
## %bb.97: ## in Loop: Header=BB0_74 Depth=2
cmpb $46, 1(%rbx)
jne LBB0_107
## %bb.98: ## in Loop: Header=BB0_74 Depth=2
movzbl 2(%rbx), %ecx
cmpb $47, %cl
je LBB0_100
## %bb.99: ## in Loop: Header=BB0_74 Depth=2
testb %cl, %cl
jne LBB0_107
LBB0_100: ## in Loop: Header=BB0_74 Depth=2
testq %rdi, %rdi
je LBB0_115
## %bb.101: ## in Loop: Header=BB0_74 Depth=2
movw $2, (%rdi)
leaq 2(%rdi), %rcx
movzbl (%rbx), %edx
movq %rdi, %r8
jmp LBB0_116
LBB0_102: ## in Loop: Header=BB0_74 Depth=2
xorl %ecx, %ecx
LBB0_103: ## in Loop: Header=BB0_74 Depth=2
addl $2, %esi
incq %rbx
movb $47, %r14b
jmp LBB0_120
LBB0_104: ## in Loop: Header=BB0_74 Depth=2
testq %r9, %r9
je LBB0_107
## %bb.105: ## in Loop: Header=BB0_74 Depth=2
movl %edx, %r14d
testq %rdi, %rdi
je LBB0_113
LBB0_106: ## in Loop: Header=BB0_74 Depth=2
movb %r14b, (%rdi)
incq %rdi
incb (%r9)
jmp LBB0_114
LBB0_107: ## in Loop: Header=BB0_74 Depth=2
testq %rdi, %rdi
je LBB0_109
## %bb.108: ## in Loop: Header=BB0_74 Depth=2
leaq 1(%rdi), %r9
movw $0, (%rdi)
leaq 2(%rdi), %rcx
movzbl (%rbx), %edx
movq %rdi, %r8
jmp LBB0_110
LBB0_109: ## in Loop: Header=BB0_74 Depth=2
xorl %ecx, %ecx
movq %r15, %r9
LBB0_110: ## in Loop: Header=BB0_74 Depth=2
addl $2, %esi
cmpb $47, %dl
jne LBB0_112
## %bb.111: ## in Loop: Header=BB0_74 Depth=2
incq %rbx
movb $47, %r14b
movq %rcx, %rdi
jmp LBB0_121
LBB0_112: ## in Loop: Header=BB0_74 Depth=2
movl %edx, %r14d
movq %rcx, %rdi
testq %rdi, %rdi
jne LBB0_106
LBB0_113: ## in Loop: Header=BB0_74 Depth=2
xorl %edi, %edi
LBB0_114: ## in Loop: Header=BB0_74 Depth=2
incq %rbx
incl %esi
jmp LBB0_121
LBB0_115: ## in Loop: Header=BB0_74 Depth=2
xorl %ecx, %ecx
LBB0_116: ## in Loop: Header=BB0_74 Depth=2
addl $2, %esi
xorl %edi, %edi
cmpb $47, %dl
sete %dil
addq %rdi, %rbx
incq %rbx
jmp LBB0_119
LBB0_117: ## in Loop: Header=BB0_74 Depth=2
xorl %ecx, %ecx
LBB0_118: ## in Loop: Header=BB0_74 Depth=2
addl $2, %esi
xorl %edi, %edi
cmpb $47, %dl
sete %dil
addq %rdi, %rbx
addq $2, %rbx
LBB0_119: ## in Loop: Header=BB0_74 Depth=2
movb $46, %r14b
LBB0_120: ## in Loop: Header=BB0_74 Depth=2
movq %rcx, %rdi
xorl %r9d, %r9d
LBB0_121: ## in Loop: Header=BB0_74 Depth=2
movzbl (%rbx), %edx
testb %dl, %dl
je LBB0_124
## %bb.122: ## in Loop: Header=BB0_74 Depth=2
leal 11(%rsi), %ecx
cmpl %eax, %ecx
jl LBB0_74
jmp LBB0_124
.p2align 4, 0x90
LBB0_123: ## in Loop: Header=BB0_71 Depth=1
xorl %r8d, %r8d
xorl %esi, %esi
LBB0_124: ## in Loop: Header=BB0_71 Depth=1
addl $5, %esi
testb %dl, %dl
je LBB0_132
## %bb.125: ## in Loop: Header=BB0_71 Depth=1
testq %r13, %r13
je LBB0_127
## %bb.126: ## in Loop: Header=BB0_71 Depth=1
orb $1, (%r8)
movb %sil, 3(%r13)
movb $1, 5(%r13)
movslq %esi, %rax
addq %rax, %r13
jmp LBB0_128
.p2align 4, 0x90
LBB0_127: ## in Loop: Header=BB0_71 Depth=1
xorl %r13d, %r13d
LBB0_128: ## in Loop: Header=BB0_71 Depth=1
movq %r12, %rdi
## kill: def $esi killed $esi killed $rsi
callq _extra_tell_used_size
movq %r12, %rdi
callq _extra_space
cmpl $10, %eax
jg LBB0_130
## %bb.129: ## in Loop: Header=BB0_71 Depth=1
movq %r12, %rdi
movl $11, %esi
callq _extra_next_record
movq %rax, %r13
LBB0_130: ## in Loop: Header=BB0_71 Depth=1
testq %r13, %r13
je LBB0_71
## %bb.131: ## in Loop: Header=BB0_71 Depth=1
movw $19539, 1(%r13) ## imm = 0x4C53
movb $1, 4(%r13)
jmp LBB0_71
LBB0_132:
testq %r13, %r13
je LBB0_134
## %bb.133:
movb %sil, 3(%r13)
movb $0, 5(%r13)
movslq %esi, %rax
addq %rax, %r13
jmp LBB0_135
LBB0_134:
xorl %r13d, %r13d
LBB0_135:
movl -56(%rbp), %r12d ## 4-byte Reload
movq -88(%rbp), %r14 ## 8-byte Reload
movq -72(%rbp), %r15 ## 8-byte Reload
movb -49(%rbp), %bl ## 1-byte Reload
leaq -48(%rbp), %rdi
## kill: def $esi killed $esi killed $rsi
callq _extra_tell_used_size
testb $-128, %bl
je LBB0_23
LBB0_136:
movl 8(%r15), %edi
callq _archive_entry_birthtime_is_set
testq %rax, %rax
je LBB0_138
## %bb.137:
movl 8(%r15), %edi
callq _archive_entry_birthtime
movq %rax, %rbx
movl 8(%r15), %edi
callq _archive_entry_mtime
cmpq %rax, %rbx
setle %r14b
movl $5, %eax
movq %r15, %rcx
movl $12, %r15d
cmovgl %eax, %r15d
jmp LBB0_139
LBB0_138:
movq %r15, %rcx
movl $5, %r15d
xorl %r14d, %r14d
LBB0_139:
movl 8(%rcx), %edi
movq %rcx, %rbx
callq _archive_entry_mtime_is_set
leal 7(%r15), %r12d
leal 2(%r14), %ecx
testq %rax, %rax
cmovel %r15d, %r12d
movzbl %r14b, %eax
movzbl %cl, %r15d
cmovel %eax, %r15d
movl 8(%rbx), %edi
callq _archive_entry_atime_is_set
leal 7(%r12), %r14d
leal 4(%r15), %ecx
testq %rax, %rax
cmovel %r12d, %r14d
movzbl %cl, %ebx
cmovel %r15d, %ebx
movq -72(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
callq _archive_entry_ctime_is_set
leal 7(%r14), %r15d
movl %ebx, %ecx
orb $8, %cl
testq %rax, %rax
cmovel %r14d, %r15d
movzbl %cl, %r12d
cmovel %ebx, %r12d
leaq -48(%rbp), %rdi
callq _extra_space
cmpl %r15d, %eax
jge LBB0_141
## %bb.140:
leaq -48(%rbp), %rdi
movl %r15d, %esi
callq _extra_next_record
movq %rax, %r13
LBB0_141:
testq %r13, %r13
movb -49(%rbp), %bl ## 1-byte Reload
je LBB0_144
## %bb.142:
movw $18004, 1(%r13) ## imm = 0x4654
movb %r15b, 3(%r13)
movb $1, 4(%r13)
movb %r12b, 5(%r13)
testb $1, %r12b
jne LBB0_145
## %bb.143:
addq $5, %r13
testb $2, %r12b
jne LBB0_146
jmp LBB0_147
LBB0_144:
xorl %r13d, %r13d
jmp LBB0_150
LBB0_145:
leaq 6(%r13), %r14
movq -72(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
callq _archive_entry_birthtime
movq %r14, %rdi
movq %rax, %rsi
callq _set_time_915
addq $12, %r13
testb $2, %r12b
je LBB0_147
LBB0_146:
leaq 1(%r13), %r14
movq -72(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
callq _archive_entry_mtime
movq %r14, %rdi
movq %rax, %rsi
callq _set_time_915
addq $7, %r13
LBB0_147:
testb $4, %r12b
jne LBB0_181
## %bb.148:
testb $8, %r12b
je LBB0_150
LBB0_149:
leaq 1(%r13), %r14
movq -72(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
callq _archive_entry_ctime
movq %r14, %rdi
movq %rax, %rsi
callq _set_time_915
addq $7, %r13
LBB0_150:
movl -56(%rbp), %r12d ## 4-byte Reload
leaq -48(%rbp), %rdi
movl %r15d, %esi
callq _extra_tell_used_size
movq -88(%rbp), %r14 ## 8-byte Reload
movq -72(%rbp), %r15 ## 8-byte Reload
testb $64, %bl
je LBB0_24
LBB0_151:
leaq -48(%rbp), %rdi
callq _extra_space
cmpl $3, %eax
jg LBB0_153
## %bb.152:
leaq -48(%rbp), %rdi
movl $4, %esi
callq _extra_next_record
movq %rax, %r13
LBB0_153:
testq %r13, %r13
je LBB0_155
## %bb.154:
movl $17057106, 1(%r13) ## imm = 0x1044552
addq $4, %r13
jmp LBB0_156
LBB0_155:
xorl %r13d, %r13d
LBB0_156:
leaq -48(%rbp), %rdi
movl $4, %esi
callq _extra_tell_used_size
testb $32, %bl
je LBB0_25
LBB0_157:
leaq -48(%rbp), %rdi
callq _extra_space
cmpl $11, %eax
jg LBB0_159
## %bb.158:
leaq -48(%rbp), %rdi
movl $12, %esi
callq _extra_next_record
movq %rax, %r13
LBB0_159:
testq %r13, %r13
je LBB0_161
## %bb.160:
movl $17583184, 1(%r13) ## imm = 0x10C4C50
leaq 5(%r13), %rdi
movq -112(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
callq _set_num_733
addq $12, %r13
jmp LBB0_162
LBB0_161:
xorl %r13d, %r13d
LBB0_162:
leaq -48(%rbp), %rdi
movl $12, %esi
callq _extra_tell_used_size
testb $16, %bl
je LBB0_26
LBB0_163:
leaq -48(%rbp), %rdi
callq _extra_space
cmpl $11, %eax
jg LBB0_165
## %bb.164:
leaq -48(%rbp), %rdi
movl $12, %esi
callq _extra_next_record
movq %rax, %r13
LBB0_165:
testq %r13, %r13
je LBB0_167
## %bb.166:
movl $17583171, 1(%r13) ## imm = 0x10C4C43
leaq 5(%r13), %rdi
movq 16(%r14), %rax
movl (%rax), %esi
callq _set_num_733
addq $12, %r13
jmp LBB0_168
LBB0_167:
xorl %r13d, %r13d
LBB0_168:
leaq -48(%rbp), %rdi
movl $12, %esi
callq _extra_tell_used_size
testb $2, %bl
je LBB0_27
LBB0_169:
leaq -48(%rbp), %rdi
callq _extra_space
cmpl $19, %eax
jg LBB0_171
## %bb.170:
leaq -48(%rbp), %rdi
movl $20, %esi
callq _extra_next_record
movq %rax, %r13
LBB0_171:
testq %r13, %r13
je LBB0_173
## %bb.172:
movl $18107984, 1(%r13) ## imm = 0x1144E50
movl 8(%r15), %edi
callq _archive_entry_rdev
movq %rax, %rbx
leaq 5(%r13), %rdi
callq _set_num_733
leaq 13(%r13), %rdi
movl %ebx, %esi
callq _set_num_733
addq $20, %r13
jmp LBB0_174
LBB0_173:
xorl %r13d, %r13d
LBB0_174:
leaq -48(%rbp), %rdi
movl $20, %esi
callq _extra_tell_used_size
cmpb $0, (%r15)
jne LBB0_28
LBB0_175:
movq _DIR_REC_SELF@GOTPCREL(%rip), %rbx
cmpl %r12d, (%rbx)
jne LBB0_180
LBB0_176:
cmpq 8(%r14), %r14
jne LBB0_180
## %bb.177:
movq _RR_CE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
testq %r13, %r13
je LBB0_179
## %bb.178:
incq %r13
movq -96(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
movq _RRIP_ER_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r13, %rdi
xorl %edx, %edx
callq _set_SUSP_CE
LBB0_179:
leaq -48(%rbp), %rdi
movl %ebx, %esi
callq _extra_tell_used_size
LBB0_180:
leaq -48(%rbp), %rdi
xorl %esi, %esi
callq _extra_close_record
movl -48(%rbp), %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_181:
leaq 1(%r13), %r14
movq -72(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
callq _archive_entry_atime
movq %r14, %rdi
movq %rax, %rsi
callq _set_time_915
addq $7, %r13
testb $8, %r12b
jne LBB0_149
jmp LBB0_150
.cfi_endproc
## -- End function
.comm _DIR_REC_PARENT,4,2 ## @DIR_REC_PARENT
.comm _DIR_REC_NORMAL,4,2 ## @DIR_REC_NORMAL
.comm _AE_IFLNK,8,3 ## @AE_IFLNK
.comm _AE_IFCHR,8,3 ## @AE_IFCHR
.comm _AE_IFBLK,8,3 ## @AE_IFBLK
.comm _DIR_REC_SELF,4,2 ## @DIR_REC_SELF
.comm _OPT_RR_USEFUL,8,3 ## @OPT_RR_USEFUL
.comm _RR_CE_SIZE,4,2 ## @RR_CE_SIZE
.comm _RRIP_ER_SIZE,4,2 ## @RRIP_ER_SIZE
.comm _RR_USE_CL,1,0 ## @RR_USE_CL
.comm _RR_USE_NM,1,0 ## @RR_USE_NM
.comm _RR_USE_PL,1,0 ## @RR_USE_PL
.comm _RR_USE_PN,1,0 ## @RR_USE_PN
.comm _RR_USE_PX,1,0 ## @RR_USE_PX
.comm _RR_USE_RE,1,0 ## @RR_USE_RE
.comm _RR_USE_SL,1,0 ## @RR_USE_SL
.comm _RR_USE_TF,1,0 ## @RR_USE_TF
.comm _TF_ACCESS,1,0 ## @TF_ACCESS
.comm _TF_ATTRIBUTES,1,0 ## @TF_ATTRIBUTES
.comm _TF_CREATION,1,0 ## @TF_CREATION
.comm _TF_MODIFY,1,0 ## @TF_MODIFY
.no_dead_strip _set_directory_record_rr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_directory_record_rr
_set_directory_record_rr: ; @set_directory_record_rr
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
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
.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 x26, x4
mov x20, x3
mov x22, x2
add x3, sp, #56
bl _extra_open_record
mov x21, x0
Lloh0:
adrp x8, _DIR_REC_PARENT@GOTPAGE
Lloh1:
ldr x8, [x8, _DIR_REC_PARENT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w26
b.ne LBB0_2
; %bb.1:
ldr x9, [x22, #48]
ldr x22, [x22, #8]
cmp x9, #0
csel x27, x22, x9, eq
b LBB0_3
LBB0_2:
mov x9, #0
mov x27, x22
LBB0_3:
ldr x24, [x27, #32]
Lloh3:
adrp x8, _DIR_REC_NORMAL@GOTPAGE
Lloh4:
ldr x8, [x8, _DIR_REC_NORMAL@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w8, w26
str x9, [sp, #16] ; 8-byte Folded Spill
b.ne LBB0_7
; %bb.4:
ldr w0, [x24, #8]
bl _archive_entry_filetype
Lloh6:
adrp x8, _AE_IFLNK@GOTPAGE
Lloh7:
ldr x8, [x8, _AE_IFLNK@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x0, x8
mov w8, #-119
mov w9, #-115
csel w8, w9, w8, eq
ldr x9, [x27, #48]
orr w10, w8, #0x40
cmp x9, #0
csel w8, w8, w10, eq
ldr x9, [x27, #16]
orr w10, w8, #0x10
cmp x9, #0
csel w19, w8, w10, eq
ldr w0, [x24, #8]
bl _archive_entry_filetype
Lloh9:
adrp x8, _AE_IFCHR@GOTPAGE
Lloh10:
ldr x8, [x8, _AE_IFCHR@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_6
; %bb.5:
ldr w0, [x24, #8]
bl _archive_entry_filetype
Lloh12:
adrp x8, _AE_IFBLK@GOTPAGE
Lloh13:
ldr x8, [x8, _AE_IFBLK@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_8
LBB0_6:
orr w19, w19, #0x2
b LBB0_8
LBB0_7:
cmp x9, #0
mov w8, #-95
mov w9, #-127
csel w19, w9, w8, eq
LBB0_8:
Lloh15:
adrp x28, _DIR_REC_SELF@GOTPAGE
Lloh16:
ldr x28, [x28, _DIR_REC_SELF@GOTPAGEOFF]
ldr w8, [x28]
cmp w8, w26
b.ne LBB0_13
; %bb.9:
ldr x8, [x27, #8]
cmp x27, x8
b.ne LBB0_13
; %bb.10:
cbz x21, LBB0_12
; %bb.11:
strb wzr, [x21, #7]!
mov w8, #20563
movk w8, #263, lsl #16
stur w8, [x21, #-6]
mov w8, #61374
sturh w8, [x21, #-2]
LBB0_12:
add x0, sp, #56
mov w1, #7
bl _extra_tell_used_size
LBB0_13:
add x0, sp, #56
bl _extra_space
cmp w0, #4
b.gt LBB0_15
; %bb.14:
add x0, sp, #56
mov w1, #5
bl _extra_next_record
mov x21, x0
LBB0_15:
cbz x21, LBB0_17
; %bb.16:
strb w19, [x21, #5]!
mov w8, #21074
movk w8, #261, lsl #16
stur w8, [x21, #-4]
LBB0_17:
add x0, sp, #56
mov w1, #5
bl _extra_tell_used_size
and w23, w19, #0xff
str w23, [sp, #48] ; 4-byte Folded Spill
stp x20, x27, [sp, #32] ; 16-byte Folded Spill
str x24, [sp, #24] ; 8-byte Folded Spill
tbnz w19, #3, LBB0_26
; %bb.18:
tbnz w23, #0, LBB0_43
LBB0_19:
tbnz w23, #2, LBB0_54
LBB0_20:
tbnz w23, #7, LBB0_119
LBB0_21:
tbnz w23, #6, LBB0_133
LBB0_22:
tbnz w23, #5, LBB0_138
LBB0_23:
tbnz w23, #4, LBB0_143
LBB0_24:
tbnz w23, #1, LBB0_148
LBB0_25:
ldrb w8, [x24]
cbnz w8, LBB0_153
b LBB0_158
LBB0_26:
ldp x24, x23, [x24, #40]
add x0, sp, #56
bl _extra_space
cmp w0, #5
b.gt LBB0_28
; %bb.27:
add x0, sp, #56
mov w1, #6
bl _extra_next_record
mov x21, x0
LBB0_28:
cbz x21, LBB0_30
; %bb.29:
mov w8, #19790
sturh w8, [x21, #1]
mov w8, #1
strb w8, [x21, #4]
LBB0_30:
add x0, sp, #56
bl _extra_space
mov w19, #255
cmp w0, #255
csel w25, w0, w19, lo
add x8, x23, #5
cmp x8, x25
str w26, [sp, #12] ; 4-byte Folded Spill
b.ls LBB0_40
; %bb.31:
mov x20, #281453501874176
movk x20, #65535, lsl #48
mov w27, #19790
mov w28, #1
b LBB0_33
LBB0_32: ; in Loop: Header=BB0_33 Depth=1
add x24, x24, x26
add x8, x23, #5
cmp x8, x25
b.ls LBB0_40
LBB0_33: ; =>This Inner Loop Header: Depth=1
cbz x21, LBB0_35
; %bb.34: ; in Loop: Header=BB0_33 Depth=1
strb w25, [x21, #3]
strb w28, [x21, #5]
add x0, x21, #6
add x8, x20, x25, lsl #32
asr x26, x8, #32
mov x1, x24
mov x2, x26
bl _memcpy
add x21, x21, w25, sxtw
b LBB0_36
LBB0_35: ; in Loop: Header=BB0_33 Depth=1
add x8, x20, x25, lsl #32
asr x26, x8, #32
LBB0_36: ; in Loop: Header=BB0_33 Depth=1
add x0, sp, #56
mov x1, x25
bl _extra_tell_used_size
add x0, sp, #56
bl _extra_space
cmp w0, #5
b.gt LBB0_38
; %bb.37: ; in Loop: Header=BB0_33 Depth=1
add x0, sp, #56
mov w1, #6
bl _extra_next_record
mov x21, x0
add x0, sp, #56
bl _extra_space
cmp w0, #255
csel w25, w0, w19, lo
LBB0_38: ; in Loop: Header=BB0_33 Depth=1
sub x23, x23, x26
cbz x21, LBB0_32
; %bb.39: ; in Loop: Header=BB0_33 Depth=1
sturh w27, [x21, #1]
strb w28, [x21, #4]
b LBB0_32
LBB0_40:
add w25, w23, #5
ldr x27, [sp, #40] ; 8-byte Folded Reload
Lloh17:
adrp x28, _DIR_REC_SELF@GOTPAGE
Lloh18:
ldr x28, [x28, _DIR_REC_SELF@GOTPAGEOFF]
cbz x21, LBB0_42
; %bb.41:
strb w25, [x21, #3]
strb wzr, [x21, #5]
add x0, x21, #6
mov x1, x24
mov x2, x23
bl _memcpy
add x21, x21, w25, sxtw
LBB0_42:
ldp x24, x20, [sp, #24] ; 16-byte Folded Reload
ldr w26, [sp, #12] ; 4-byte Folded Reload
ldr w23, [sp, #48] ; 4-byte Folded Reload
add x0, sp, #56
mov x1, x25
bl _extra_tell_used_size
tbz w23, #0, LBB0_19
LBB0_43:
add x0, sp, #56
bl _extra_space
cmp w0, #43
b.gt LBB0_45
; %bb.44:
add x0, sp, #56
mov w1, #44
bl _extra_next_record
mov x21, x0
LBB0_45:
cbz x21, LBB0_53
; %bb.46:
ldr w0, [x24, #8]
bl _archive_entry_mode
mov x23, x0
ldr w0, [x24, #8]
bl _archive_entry_uid
mov x19, x24
mov x24, x0
ldr w0, [x19, #8]
bl _archive_entry_gid
mov x25, x0
ldr x8, [x20, #8]
Lloh19:
adrp x9, _OPT_RR_USEFUL@GOTPAGE
Lloh20:
ldr x9, [x9, _OPT_RR_USEFUL@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
mov w10, #73
tst w23, w10
mov w10, #365
mov w11, #292
csel w10, w11, w10, eq
mov w11, #-4023
and w11, w23, w11
orr w10, w10, w11
cmp x8, x9
csel w1, w23, w10, ne
mov w8, #22608
movk w8, #300, lsl #16
stur w8, [x21, #1]
add x0, x21, #5
bl _set_num_733
add x23, x21, #13
ldr w0, [x19, #8]
bl _archive_entry_nlink
mov x1, x0
mov x0, x23
bl _set_num_733
add x0, x21, #21
mov x1, x24
bl _set_num_733
add x0, x21, #29
mov x1, x25
bl _set_num_733
ldr x8, [x22, #24]
cbz x8, LBB0_48
; %bb.47:
add x0, x21, #37
ldr w1, [x22]
bl _set_num_733
mov x24, x19
b LBB0_52
LBB0_48:
ldr x8, [x19, #32]
add x0, x21, #37
mov x24, x19
cbz x8, LBB0_50
; %bb.49:
ldr x8, [x8]
b LBB0_51
LBB0_50:
ldr x8, [x24, #24]
LBB0_51:
ldr w1, [x8]
bl _set_num_733
LBB0_52:
ldr w23, [sp, #48] ; 4-byte Folded Reload
add x21, x21, #44
LBB0_53:
add x0, sp, #56
mov w1, #44
bl _extra_tell_used_size
tbz w23, #2, LBB0_20
LBB0_54:
add x0, sp, #56
bl _extra_space
cmp w0, #6
b.gt LBB0_56
; %bb.55:
add x0, sp, #56
mov w1, #7
bl _extra_next_record
mov x21, x0
LBB0_56:
mov x28, x26
ldr x22, [x24, #16]
cbz x21, LBB0_58
; %bb.57:
mov w8, #19539
sturh w8, [x21, #1]
mov w8, #1
strb w8, [x21, #4]
LBB0_58:
mov w19, #0
mov w23, #255
mov w24, #19539
mov w25, #1
mov w26, #8
mov w20, #2
mov w27, #4
LBB0_59: ; =>This Loop Header: Depth=1
; Child Loop BB0_72 Depth 2
strb wzr, [sp, #55]
add x0, sp, #56
bl _extra_space
cmp w0, #255
csel w9, w0, w23, lt
ldrb w11, [x22]
cmp w11, #0
ccmp w9, #12, #8, ne
b.ge LBB0_68
; %bb.60: ; in Loop: Header=BB0_59 Depth=1
mov x10, #0
mov w8, #0
LBB0_61: ; in Loop: Header=BB0_59 Depth=1
sxtw x8, w8
add x1, x8, #5
cbz w11, LBB0_116
; %bb.62: ; in Loop: Header=BB0_59 Depth=1
cbz x21, LBB0_64
; %bb.63: ; in Loop: Header=BB0_59 Depth=1
ldrb w8, [x10]
orr w8, w8, #0x1
strb w8, [x10]
strb w1, [x21, #3]
strb w25, [x21, #5]
add x21, x21, w1, sxtw
LBB0_64: ; in Loop: Header=BB0_59 Depth=1
add x0, sp, #56
; kill: def $w1 killed $w1 killed $x1
bl _extra_tell_used_size
add x0, sp, #56
bl _extra_space
cmp w0, #10
b.gt LBB0_66
; %bb.65: ; in Loop: Header=BB0_59 Depth=1
add x0, sp, #56
mov w1, #11
bl _extra_next_record
mov x21, x0
LBB0_66: ; in Loop: Header=BB0_59 Depth=1
cbz x21, LBB0_59
; %bb.67: ; in Loop: Header=BB0_59 Depth=1
sturh w24, [x21, #1]
strb w25, [x21, #4]
b LBB0_59
LBB0_68: ; in Loop: Header=BB0_59 Depth=1
mov w8, #0
mov x12, #0
mov x10, #0
add x13, x21, #6
cmp x21, #0
csel x13, xzr, x13, eq
b LBB0_72
LBB0_69: ; in Loop: Header=BB0_72 Depth=2
mov x14, #0
LBB0_70: ; in Loop: Header=BB0_72 Depth=2
mov x12, #0
add w8, w8, #2
add x22, x22, #1
mov w11, #47
LBB0_71: ; in Loop: Header=BB0_72 Depth=2
mov x19, x11
ldrb w11, [x22]
add w13, w8, #11
cmp w11, #0
ccmp w13, w9, #0, ne
mov x13, x14
b.ge LBB0_61
LBB0_72: ; Parent Loop BB0_59 Depth=1
; => This Inner Loop Header: Depth=2
cbnz w19, LBB0_76
; %bb.73: ; in Loop: Header=BB0_72 Depth=2
cmp w11, #47
b.ne LBB0_76
; %bb.74: ; in Loop: Header=BB0_72 Depth=2
cbz x13, LBB0_69
; %bb.75: ; in Loop: Header=BB0_72 Depth=2
mov x14, x13
strh w26, [x14], #2
mov x10, x13
b LBB0_70
LBB0_76: ; in Loop: Header=BB0_72 Depth=2
cmp w19, #47
b.eq LBB0_78
; %bb.77: ; in Loop: Header=BB0_72 Depth=2
cbnz w19, LBB0_82
LBB0_78: ; in Loop: Header=BB0_72 Depth=2
cmp w11, #46
b.ne LBB0_82
; %bb.79: ; in Loop: Header=BB0_72 Depth=2
ldrb w14, [x22, #1]
cmp w14, #46
b.ne LBB0_82
; %bb.80: ; in Loop: Header=BB0_72 Depth=2
ldrb w14, [x22, #2]
cbz w14, LBB0_87
; %bb.81: ; in Loop: Header=BB0_72 Depth=2
cmp w14, #47
b.eq LBB0_87
LBB0_82: ; in Loop: Header=BB0_72 Depth=2
cmp w11, #47
b.ne LBB0_89
; %bb.83: ; in Loop: Header=BB0_72 Depth=2
ldrb w14, [x22, #1]
cmp w14, #46
b.ne LBB0_89
; %bb.84: ; in Loop: Header=BB0_72 Depth=2
ldrb w14, [x22, #2]
cmp w14, #46
b.ne LBB0_89
; %bb.85: ; in Loop: Header=BB0_72 Depth=2
ldrb w14, [x22, #3]
cmp w14, #47
b.eq LBB0_87
; %bb.86: ; in Loop: Header=BB0_72 Depth=2
cbnz w14, LBB0_89
LBB0_87: ; in Loop: Header=BB0_72 Depth=2
cbz x13, LBB0_113
; %bb.88: ; in Loop: Header=BB0_72 Depth=2
mov x14, x13
strh w27, [x14], #2
ldrb w11, [x22]
mov x10, x13
b LBB0_114
LBB0_89: ; in Loop: Header=BB0_72 Depth=2
cmp w19, #47
b.eq LBB0_91
; %bb.90: ; in Loop: Header=BB0_72 Depth=2
cbnz w19, LBB0_94
LBB0_91: ; in Loop: Header=BB0_72 Depth=2
cmp w11, #46
b.ne LBB0_94
; %bb.92: ; in Loop: Header=BB0_72 Depth=2
ldrb w14, [x22, #1]
cbz w14, LBB0_98
; %bb.93: ; in Loop: Header=BB0_72 Depth=2
cmp w14, #47
b.eq LBB0_98
LBB0_94: ; in Loop: Header=BB0_72 Depth=2
cmp w11, #47
b.ne LBB0_100
; %bb.95: ; in Loop: Header=BB0_72 Depth=2
ldrb w12, [x22, #1]
cmp w12, #46
b.ne LBB0_103
; %bb.96: ; in Loop: Header=BB0_72 Depth=2
ldrb w12, [x22, #2]
cmp w12, #47
b.eq LBB0_98
; %bb.97: ; in Loop: Header=BB0_72 Depth=2
cbnz w12, LBB0_103
LBB0_98: ; in Loop: Header=BB0_72 Depth=2
cbz x13, LBB0_111
; %bb.99: ; in Loop: Header=BB0_72 Depth=2
mov x14, x13
strh w20, [x14], #2
ldrb w11, [x22]
mov x10, x13
b LBB0_112
LBB0_100: ; in Loop: Header=BB0_72 Depth=2
cbz x12, LBB0_103
; %bb.101: ; in Loop: Header=BB0_72 Depth=2
cbz x13, LBB0_109
LBB0_102: ; in Loop: Header=BB0_72 Depth=2
strb w11, [x13], #1
ldrb w14, [x12]
add w14, w14, #1
strb w14, [x12]
mov x14, x13
b LBB0_110
LBB0_103: ; in Loop: Header=BB0_72 Depth=2
cbz x13, LBB0_105
; %bb.104: ; in Loop: Header=BB0_72 Depth=2
add x12, x13, #1
mov x14, x13
strh wzr, [x14], #2
ldrb w11, [x22]
mov x10, x13
b LBB0_106
LBB0_105: ; in Loop: Header=BB0_72 Depth=2
mov x14, #0
add x12, sp, #55
LBB0_106: ; in Loop: Header=BB0_72 Depth=2
add w8, w8, #2
cmp w11, #47
b.ne LBB0_108
; %bb.107: ; in Loop: Header=BB0_72 Depth=2
add x22, x22, #1
b LBB0_71
LBB0_108: ; in Loop: Header=BB0_72 Depth=2
mov x13, x14
cbnz x13, LBB0_102
LBB0_109: ; in Loop: Header=BB0_72 Depth=2
mov x14, #0
LBB0_110: ; in Loop: Header=BB0_72 Depth=2
add x22, x22, #1
add w8, w8, #1
b LBB0_71
LBB0_111: ; in Loop: Header=BB0_72 Depth=2
mov x14, #0
LBB0_112: ; in Loop: Header=BB0_72 Depth=2
mov x12, #0
add w8, w8, #2
cmp w11, #47
cinc x11, x25, eq
b LBB0_115
LBB0_113: ; in Loop: Header=BB0_72 Depth=2
mov x14, #0
LBB0_114: ; in Loop: Header=BB0_72 Depth=2
mov x12, #0
add w8, w8, #2
cmp w11, #47
cinc x11, x20, eq
LBB0_115: ; in Loop: Header=BB0_72 Depth=2
add x22, x22, x11
mov w11, #46
b LBB0_71
LBB0_116:
cbz x21, LBB0_118
; %bb.117:
strb w1, [x21, #3]
strb wzr, [x21, #5]
add x21, x21, x1
LBB0_118:
mov x26, x28
ldp x20, x27, [sp, #32] ; 16-byte Folded Reload
ldr x24, [sp, #24] ; 8-byte Folded Reload
Lloh22:
adrp x28, _DIR_REC_SELF@GOTPAGE
Lloh23:
ldr x28, [x28, _DIR_REC_SELF@GOTPAGEOFF]
ldr w23, [sp, #48] ; 4-byte Folded Reload
add x0, sp, #56
; kill: def $w1 killed $w1 killed $x1
bl _extra_tell_used_size
tbz w23, #7, LBB0_21
LBB0_119:
ldr w0, [x24, #8]
bl _archive_entry_birthtime_is_set
mov w19, #5
mov x25, x20
cbz x0, LBB0_121
; %bb.120:
ldr w0, [x24, #8]
bl _archive_entry_birthtime
mov x22, x0
ldr w0, [x24, #8]
bl _archive_entry_mtime
cmp x22, x0
cset w20, le
mov w8, #12
csel w19, w19, w8, gt
b LBB0_122
LBB0_121:
mov w20, #0
LBB0_122:
ldr w0, [x24, #8]
bl _archive_entry_mtime_is_set
add w8, w19, #7
orr w9, w20, #0x2
cmp x0, #0
csel w19, w19, w8, eq
csel w20, w20, w9, eq
ldr w0, [x24, #8]
bl _archive_entry_atime_is_set
add w8, w19, #7
orr w9, w20, #0x4
cmp x0, #0
csel w19, w19, w8, eq
csel w20, w20, w9, eq
ldr w0, [x24, #8]
bl _archive_entry_ctime_is_set
add w8, w19, #7
orr w9, w20, #0x8
cmp x0, #0
csel w22, w19, w8, eq
csel w23, w20, w9, eq
add x0, sp, #56
bl _extra_space
cmp w0, w22
b.ge LBB0_124
; %bb.123:
add x0, sp, #56
mov x1, x22
bl _extra_next_record
mov x21, x0
LBB0_124:
cbz x21, LBB0_131
; %bb.125:
mov x19, x21
strb w23, [x19, #5]!
mov w8, #18004
sturh w8, [x19, #-4]
sturb w22, [x19, #-2]
mov w8, #1
sturb w8, [x19, #-1]
and w20, w23, #0xff
tbnz w23, #0, LBB0_164
; %bb.126:
tbnz w20, #1, LBB0_165
LBB0_127:
ldr w23, [sp, #48] ; 4-byte Folded Reload
tbnz w20, #2, LBB0_166
LBB0_128:
tbz w20, #3, LBB0_130
LBB0_129:
add x21, x19, #1
ldr w0, [x24, #8]
bl _archive_entry_ctime
mov x1, x0
mov x0, x21
bl _set_time_915
add x19, x19, #7
LBB0_130:
mov x20, x25
b LBB0_132
LBB0_131:
mov x19, #0
mov x20, x25
ldr w23, [sp, #48] ; 4-byte Folded Reload
LBB0_132:
add x0, sp, #56
mov x1, x22
bl _extra_tell_used_size
mov x21, x19
tbz w23, #6, LBB0_22
LBB0_133:
add x0, sp, #56
bl _extra_space
cmp w0, #3
b.gt LBB0_135
; %bb.134:
add x0, sp, #56
mov w1, #4
bl _extra_next_record
mov x21, x0
LBB0_135:
cbz x21, LBB0_137
; %bb.136:
mov w8, #17746
movk w8, #260, lsl #16
stur w8, [x21, #1]
add x21, x21, #4
LBB0_137:
add x0, sp, #56
mov w1, #4
bl _extra_tell_used_size
tbz w23, #5, LBB0_23
LBB0_138:
add x0, sp, #56
bl _extra_space
cmp w0, #11
b.gt LBB0_140
; %bb.139:
add x0, sp, #56
mov w1, #12
bl _extra_next_record
mov x21, x0
LBB0_140:
cbz x21, LBB0_142
; %bb.141:
mov w8, #19536
movk w8, #268, lsl #16
stur w8, [x21, #1]
add x0, x21, #5
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w1, [x8]
bl _set_num_733
add x21, x21, #12
LBB0_142:
add x0, sp, #56
mov w1, #12
bl _extra_tell_used_size
tbz w23, #4, LBB0_24
LBB0_143:
add x0, sp, #56
bl _extra_space
cmp w0, #11
b.gt LBB0_145
; %bb.144:
add x0, sp, #56
mov w1, #12
bl _extra_next_record
mov x21, x0
LBB0_145:
cbz x21, LBB0_147
; %bb.146:
mov w8, #19523
movk w8, #268, lsl #16
stur w8, [x21, #1]
add x0, x21, #5
ldr x8, [x27, #16]
ldr w1, [x8]
bl _set_num_733
add x21, x21, #12
LBB0_147:
add x0, sp, #56
mov w1, #12
bl _extra_tell_used_size
tbz w23, #1, LBB0_25
LBB0_148:
add x0, sp, #56
bl _extra_space
cmp w0, #19
b.gt LBB0_150
; %bb.149:
add x0, sp, #56
mov w1, #20
bl _extra_next_record
mov x21, x0
LBB0_150:
cbz x21, LBB0_152
; %bb.151:
mov w8, #20048
movk w8, #276, lsl #16
stur w8, [x21, #1]
ldr w0, [x24, #8]
bl _archive_entry_rdev
mov x22, x0
add x0, x21, #5
bl _set_num_733
add x0, x21, #13
mov x1, x22
bl _set_num_733
add x21, x21, #20
LBB0_152:
add x0, sp, #56
mov w1, #20
bl _extra_tell_used_size
ldrb w8, [x24]
cbz w8, LBB0_158
LBB0_153:
add x0, sp, #56
bl _extra_space
cmp w0, #15
b.gt LBB0_155
; %bb.154:
add x0, sp, #56
mov w1, #16
bl _extra_next_record
mov x21, x0
LBB0_155:
cbz x21, LBB0_157
; %bb.156:
mov w8, #18010
movk w8, #272, lsl #16
stur w8, [x21, #1]
mov w8, #31344
sturh w8, [x21, #5]
ldrb w8, [x24]
strb w8, [x21, #7]
ldrb w8, [x24, #1]
strb w8, [x21, #8]
add x0, x21, #9
ldr w1, [x24, #4]
bl _set_num_733
add x21, x21, #16
LBB0_157:
add x0, sp, #56
mov w1, #16
bl _extra_tell_used_size
LBB0_158:
ldr w8, [x28]
cmp w8, w26
b.ne LBB0_163
; %bb.159:
ldr x8, [x27, #8]
cmp x27, x8
b.ne LBB0_163
; %bb.160:
mov x9, x20
Lloh24:
adrp x8, _RR_CE_SIZE@GOTPAGE
Lloh25:
ldr x8, [x8, _RR_CE_SIZE@GOTPAGEOFF]
Lloh26:
ldr w20, [x8]
cbz x21, LBB0_162
; %bb.161:
add x0, x21, #1
ldr w1, [x9]
Lloh27:
adrp x8, _RRIP_ER_SIZE@GOTPAGE
Lloh28:
ldr x8, [x8, _RRIP_ER_SIZE@GOTPAGEOFF]
Lloh29:
ldr w3, [x8]
mov w2, #0
bl _set_SUSP_CE
LBB0_162:
add x0, sp, #56
mov x1, x20
bl _extra_tell_used_size
LBB0_163:
add x0, sp, #56
mov w1, #0
bl _extra_close_record
ldr w0, [sp, #56]
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_164:
add x23, x21, #6
ldr w0, [x24, #8]
bl _archive_entry_birthtime
mov x1, x0
mov x0, x23
bl _set_time_915
add x19, x21, #12
tbz w20, #1, LBB0_127
LBB0_165:
add x21, x19, #1
ldr w0, [x24, #8]
bl _archive_entry_mtime
mov x1, x0
mov x0, x21
bl _set_time_915
add x19, x19, #7
ldr w23, [sp, #48] ; 4-byte Folded Reload
tbz w20, #2, LBB0_128
LBB0_166:
add x21, x19, #1
ldr w0, [x24, #8]
bl _archive_entry_atime
mov x1, x0
mov x0, x21
bl _set_time_915
add x19, x19, #7
tbnz w20, #3, LBB0_129
b LBB0_130
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.comm _DIR_REC_PARENT,4,2 ; @DIR_REC_PARENT
.comm _DIR_REC_NORMAL,4,2 ; @DIR_REC_NORMAL
.comm _AE_IFLNK,8,3 ; @AE_IFLNK
.comm _AE_IFCHR,8,3 ; @AE_IFCHR
.comm _AE_IFBLK,8,3 ; @AE_IFBLK
.comm _DIR_REC_SELF,4,2 ; @DIR_REC_SELF
.comm _OPT_RR_USEFUL,8,3 ; @OPT_RR_USEFUL
.comm _RR_CE_SIZE,4,2 ; @RR_CE_SIZE
.comm _RRIP_ER_SIZE,4,2 ; @RRIP_ER_SIZE
.comm _RR_USE_CL,1,0 ; @RR_USE_CL
.comm _RR_USE_NM,1,0 ; @RR_USE_NM
.comm _RR_USE_PL,1,0 ; @RR_USE_PL
.comm _RR_USE_PN,1,0 ; @RR_USE_PN
.comm _RR_USE_PX,1,0 ; @RR_USE_PX
.comm _RR_USE_RE,1,0 ; @RR_USE_RE
.comm _RR_USE_SL,1,0 ; @RR_USE_SL
.comm _RR_USE_TF,1,0 ; @RR_USE_TF
.comm _TF_ACCESS,1,0 ; @TF_ACCESS
.comm _TF_ATTRIBUTES,1,0 ; @TF_ATTRIBUTES
.comm _TF_CREATION,1,0 ; @TF_CREATION
.comm _TF_MODIFY,1,0 ; @TF_MODIFY
.no_dead_strip _set_directory_record_rr
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_set_format_iso9660.c_set_directory_record_rr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pca9541_arbitrate
_pca9541_arbitrate: ## @pca9541_arbitrate
.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 %rdi, %r14
callq _i2c_get_clientdata
movq %rax, %rdi
callq _i2c_mux_priv
movq %rax, %r15
movq _PCA9541_CONTROL@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq %r14, %rdi
callq _pca9541_reg_read
movl %eax, %ebx
testl %eax, %eax
js LBB0_5
## %bb.1:
movl %ebx, %edi
callq _busoff
testq %rax, %rax
je LBB0_6
## %bb.2:
movq _PCA9541_ISTAT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _pca9541_reg_read
movq _PCA9541_ISTAT_NMYTEST@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_4
## %bb.3:
movl 4(%r15), %edi
callq _time_is_before_eq_jiffies
testq %rax, %rax
je LBB0_10
LBB0_4:
movl (%r12), %esi
movq _pca9541_control@GOTPCREL(%rip), %rax
movq (%rax), %rax
andl $15, %ebx
movq _PCA9541_CTL_NTESTON@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax,%rbx,4), %edx
movq %r14, %rdi
callq _pca9541_reg_write
movq _SELECT_DELAY_SHORT@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_11
LBB0_5:
movl %ebx, %r15d
jmp LBB0_13
LBB0_6:
movl %ebx, %edi
callq _mybus
testq %rax, %rax
je LBB0_14
## %bb.7:
movq _PCA9541_CTL_NTESTON@GOTPCREL(%rip), %rcx
movq _PCA9541_CTL_BUSINIT@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rcx), %eax
movl $1, %r15d
testl %ebx, %eax
je LBB0_13
## %bb.8:
movl (%r12), %esi
notl %eax
andl %eax, %ebx
movq %r14, %rdi
movl %ebx, %edx
LBB0_9:
callq _pca9541_reg_write
jmp LBB0_13
LBB0_10:
movq _SELECT_DELAY_LONG@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %eax, %eax
LBB0_11:
movl %eax, (%r15)
LBB0_12:
xorl %r15d, %r15d
LBB0_13:
movl %r15d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
movq _SELECT_DELAY_LONG@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r15)
movl 4(%r15), %edi
callq _time_is_before_eq_jiffies
testq %rax, %rax
je LBB0_16
## %bb.15:
movq _pca9541_control@GOTPCREL(%rip), %rax
movq (%rax), %rax
andl $15, %ebx
movq _PCA9541_CTL_BUSINIT@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax,%rbx,4), %edx
movl (%r12), %esi
movq _PCA9541_CTL_NTESTON@GOTPCREL(%rip), %rax
orl (%rax), %edx
movq %r14, %rdi
callq _pca9541_reg_write
jmp LBB0_12
LBB0_16:
movq _PCA9541_CTL_NTESTON@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %r15d, %r15d
testl %ebx, %edx
jne LBB0_13
## %bb.17:
movl (%r12), %esi
orl %ebx, %edx
movq %r14, %rdi
jmp LBB0_9
.cfi_endproc
## -- End function
.comm _PCA9541_CONTROL,4,2 ## @PCA9541_CONTROL
.comm _PCA9541_ISTAT,4,2 ## @PCA9541_ISTAT
.comm _PCA9541_ISTAT_NMYTEST,4,2 ## @PCA9541_ISTAT_NMYTEST
.comm _pca9541_control,8,3 ## @pca9541_control
.comm _PCA9541_CTL_NTESTON,4,2 ## @PCA9541_CTL_NTESTON
.comm _SELECT_DELAY_SHORT,4,2 ## @SELECT_DELAY_SHORT
.comm _SELECT_DELAY_LONG,4,2 ## @SELECT_DELAY_LONG
.comm _PCA9541_CTL_BUSINIT,4,2 ## @PCA9541_CTL_BUSINIT
.no_dead_strip _pca9541_arbitrate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pca9541_arbitrate
_pca9541_arbitrate: ; @pca9541_arbitrate
.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 _i2c_get_clientdata
bl _i2c_mux_priv
mov x21, x0
Lloh0:
adrp x22, _PCA9541_CONTROL@GOTPAGE
Lloh1:
ldr x22, [x22, _PCA9541_CONTROL@GOTPAGEOFF]
ldr w1, [x22]
mov x0, x19
bl _pca9541_reg_read
mov x20, x0
tbnz w0, #31, LBB0_15
; %bb.1:
mov x0, x20
bl _busoff
cbz x0, LBB0_5
; %bb.2:
Lloh2:
adrp x8, _PCA9541_ISTAT@GOTPAGE
Lloh3:
ldr x8, [x8, _PCA9541_ISTAT@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov x0, x19
bl _pca9541_reg_read
Lloh5:
adrp x8, _PCA9541_ISTAT_NMYTEST@GOTPAGE
Lloh6:
ldr x8, [x8, _PCA9541_ISTAT_NMYTEST@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_4
; %bb.3:
ldr w0, [x21, #4]
bl _time_is_before_eq_jiffies
cbz x0, LBB0_8
LBB0_4:
ldr w1, [x22]
Lloh8:
adrp x8, _pca9541_control@GOTPAGE
Lloh9:
ldr x8, [x8, _pca9541_control@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
and w9, w20, #0xf
ldr w8, [x8, w9, uxtw #2]
Lloh11:
adrp x9, _PCA9541_CTL_NTESTON@GOTPAGE
Lloh12:
ldr x9, [x9, _PCA9541_CTL_NTESTON@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
orr w2, w9, w8
mov x0, x19
bl _pca9541_reg_write
mov w20, #0
Lloh14:
adrp x8, _SELECT_DELAY_SHORT@GOTPAGE
Lloh15:
ldr x8, [x8, _SELECT_DELAY_SHORT@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
str w8, [x21]
b LBB0_15
LBB0_5:
mov x0, x20
bl _mybus
cbz x0, LBB0_9
; %bb.6:
Lloh17:
adrp x8, _PCA9541_CTL_NTESTON@GOTPAGE
Lloh18:
ldr x8, [x8, _PCA9541_CTL_NTESTON@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
Lloh20:
adrp x9, _PCA9541_CTL_BUSINIT@GOTPAGE
Lloh21:
ldr x9, [x9, _PCA9541_CTL_BUSINIT@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
orr w8, w9, w8
tst w8, w20
b.eq LBB0_12
; %bb.7:
ldr w1, [x22]
bic w2, w20, w8
mov x0, x19
bl _pca9541_reg_write
mov w20, #1
b LBB0_15
LBB0_8:
mov w20, #0
Lloh23:
adrp x8, _SELECT_DELAY_LONG@GOTPAGE
Lloh24:
ldr x8, [x8, _SELECT_DELAY_LONG@GOTPAGEOFF]
Lloh25:
ldr w8, [x8]
lsl w8, w8, #1
str w8, [x21]
b LBB0_15
LBB0_9:
Lloh26:
adrp x8, _SELECT_DELAY_LONG@GOTPAGE
Lloh27:
ldr x8, [x8, _SELECT_DELAY_LONG@GOTPAGEOFF]
Lloh28:
ldr w8, [x8]
str w8, [x21]
ldr w0, [x21, #4]
bl _time_is_before_eq_jiffies
cbz x0, LBB0_13
; %bb.10:
ldr w1, [x22]
Lloh29:
adrp x8, _pca9541_control@GOTPAGE
Lloh30:
ldr x8, [x8, _pca9541_control@GOTPAGEOFF]
Lloh31:
ldr x8, [x8]
and w9, w20, #0xf
ldr w8, [x8, w9, uxtw #2]
Lloh32:
adrp x9, _PCA9541_CTL_BUSINIT@GOTPAGE
Lloh33:
ldr x9, [x9, _PCA9541_CTL_BUSINIT@GOTPAGEOFF]
Lloh34:
ldr w9, [x9]
orr w8, w9, w8
Lloh35:
adrp x9, _PCA9541_CTL_NTESTON@GOTPAGE
Lloh36:
ldr x9, [x9, _PCA9541_CTL_NTESTON@GOTPAGEOFF]
Lloh37:
ldr w9, [x9]
orr w2, w8, w9
LBB0_11:
mov x0, x19
bl _pca9541_reg_write
b LBB0_14
LBB0_12:
mov w20, #1
b LBB0_15
LBB0_13:
Lloh38:
adrp x8, _PCA9541_CTL_NTESTON@GOTPAGE
Lloh39:
ldr x8, [x8, _PCA9541_CTL_NTESTON@GOTPAGEOFF]
Lloh40:
ldr w8, [x8]
tst w8, w20
b.eq LBB0_16
LBB0_14:
mov w20, #0
LBB0_15:
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
LBB0_16:
ldr w1, [x22]
orr w2, w8, w20
b LBB0_11
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.cfi_endproc
; -- End function
.comm _PCA9541_CONTROL,4,2 ; @PCA9541_CONTROL
.comm _PCA9541_ISTAT,4,2 ; @PCA9541_ISTAT
.comm _PCA9541_ISTAT_NMYTEST,4,2 ; @PCA9541_ISTAT_NMYTEST
.comm _pca9541_control,8,3 ; @pca9541_control
.comm _PCA9541_CTL_NTESTON,4,2 ; @PCA9541_CTL_NTESTON
.comm _SELECT_DELAY_SHORT,4,2 ; @SELECT_DELAY_SHORT
.comm _SELECT_DELAY_LONG,4,2 ; @SELECT_DELAY_LONG
.comm _PCA9541_CTL_BUSINIT,4,2 ; @PCA9541_CTL_BUSINIT
.no_dead_strip _pca9541_arbitrate
.subsections_via_symbols
| AnghaBench/linux/drivers/i2c/muxes/extr_i2c-mux-pca9541.c_pca9541_arbitrate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function conn_info_min_age_get
_conn_info_min_age_get: ## @conn_info_min_age_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _hci_dev_lock
movl (%rbx), %eax
movl %eax, (%r14)
movq %rbx, %rdi
callq _hci_dev_unlock
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _conn_info_min_age_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function conn_info_min_age_get
_conn_info_min_age_get: ; @conn_info_min_age_get
.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
bl _hci_dev_lock
ldr w8, [x20]
str w8, [x19]
mov x0, x20
bl _hci_dev_unlock
mov w0, #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 _conn_info_min_age_get
.subsections_via_symbols
| AnghaBench/linux/net/bluetooth/extr_hci_debugfs.c_conn_info_min_age_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nvlist_print_json ## -- Begin function nvlist_print_json
.p2align 4, 0x90
_nvlist_print_json: ## @nvlist_print_json
.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 %rsi, %r15
movq %rdi, %r14
movq _B_TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rbx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _FPRINTF
movq %r15, -72(%rbp) ## 8-byte Spill
movq %r15, %rdi
xorl %esi, %esi
callq _nvlist_next_nvpair
testq %rax, %rax
je LBB0_86
## %bb.1:
movq %rax, %r15
jmp LBB0_2
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_byte
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.6(%rip), %rsi
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
movl %eax, %edx
xorl %eax, %eax
callq _FPRINTF
LBB0_85: ## in Loop: Header=BB0_2 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
callq _nvlist_next_nvpair
movq %rax, %r15
testq %rax, %rax
movq -64(%rbp), %rbx ## 8-byte Reload
je LBB0_86
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_44 Depth 2
## Child Loop BB0_50 Depth 2
## Child Loop BB0_66 Depth 2
## Child Loop BB0_74 Depth 2
## Child Loop BB0_82 Depth 2
## Child Loop BB0_58 Depth 2
## Child Loop BB0_38 Depth 2
## Child Loop BB0_32 Depth 2
## Child Loop BB0_62 Depth 2
## Child Loop BB0_70 Depth 2
## Child Loop BB0_78 Depth 2
## Child Loop BB0_54 Depth 2
movq %r15, %rdi
callq _nvpair_type
movl %eax, %r13d
testq %rbx, %rbx
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq _B_FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_5
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _FPRINTF
xorl %eax, %eax
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq %rax, -64(%rbp) ## 8-byte Spill
movq %r15, %rdi
callq _nvpair_name
movq %r14, %rdi
movq %rax, %rsi
callq _nvlist_print_json_string
movl $-1, %r12d
cmpl $-1, %eax
je LBB0_87
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _FPRINTF
addl $-128, %r13d
cmpl $28, %r13d
ja LBB0_85
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%r13,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_51: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_uint8_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.52: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movl (%rax), %edx
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $2, -48(%rbp)
jb LBB0_83
## %bb.53: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ebx
.p2align 4, 0x90
LBB0_54: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
movq -56(%rbp), %rax
movl (%rax,%rbx,4), %edx
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
incq %rbx
cmpq -48(%rbp), %rbx
jb LBB0_54
jmp LBB0_83
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_uint8
jmp LBB0_15
LBB0_75: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_uint64_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.76: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movq (%rax), %rdx
leaq L_.str.13(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $2, -48(%rbp)
jb LBB0_83
## %bb.77: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ebx
.p2align 4, 0x90
LBB0_78: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
movq -56(%rbp), %rax
movq (%rax,%rbx,8), %rdx
leaq L_.str.13(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
incq %rbx
cmpq -48(%rbp), %rbx
jb LBB0_78
jmp LBB0_83
LBB0_25: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_uint64
leaq L_.str.13(%rip), %rsi
jmp LBB0_24
LBB0_67: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_uint32_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.68: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movl (%rax), %edx
leaq L_.str.11(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $2, -48(%rbp)
jb LBB0_83
## %bb.69: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ebx
.p2align 4, 0x90
LBB0_70: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
movq -56(%rbp), %rax
movl (%rax,%rbx,4), %edx
leaq L_.str.11(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
incq %rbx
cmpq -48(%rbp), %rbx
jb LBB0_70
jmp LBB0_83
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_uint32
leaq L_.str.11(%rip), %rsi
jmp LBB0_16
LBB0_59: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_uint16_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.60: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movl (%rax), %edx
leaq L_.str.9(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $2, -48(%rbp)
jb LBB0_83
## %bb.61: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ebx
.p2align 4, 0x90
LBB0_62: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
movq -56(%rbp), %rax
movl (%rax,%rbx,4), %edx
leaq L_.str.9(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
incq %rbx
cmpq -48(%rbp), %rbx
jb LBB0_62
jmp LBB0_83
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_uint16
leaq L_.str.9(%rip), %rsi
jmp LBB0_16
LBB0_29: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_string_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.30: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_32: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
testq %rbx, %rbx
je LBB0_34
## %bb.33: ## in Loop: Header=BB0_32 Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
LBB0_34: ## in Loop: Header=BB0_32 Depth=2
movq -56(%rbp), %rax
movq (%rax,%rbx,8), %rsi
movq %r14, %rdi
callq _nvlist_print_json_string
cmpl $-1, %eax
je LBB0_87
## %bb.31: ## in Loop: Header=BB0_32 Depth=2
incq %rbx
cmpq -48(%rbp), %rbx
jb LBB0_32
jmp LBB0_83
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_string
movq %r14, %rdi
movq %rax, %rsi
callq _nvlist_print_json_string
jmp LBB0_9
LBB0_35: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_nvlist_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.36: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_38: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
testq %rbx, %rbx
je LBB0_40
## %bb.39: ## in Loop: Header=BB0_38 Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
LBB0_40: ## in Loop: Header=BB0_38 Depth=2
movq -56(%rbp), %rax
movq (%rax,%rbx,8), %rsi
movq %r14, %rdi
callq _nvlist_print_json
cmpl $-1, %eax
je LBB0_87
## %bb.37: ## in Loop: Header=BB0_38 Depth=2
incq %rbx
cmpq -48(%rbp), %rbx
jb LBB0_38
jmp LBB0_83
LBB0_28: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_nvlist
movq %r14, %rdi
movq %rax, %rsi
callq _nvlist_print_json
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
cmpl $-1, %eax
jne LBB0_85
jmp LBB0_87
LBB0_55: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_int8_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.56: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movl (%rax), %edx
leaq L_.str.7(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $2, -48(%rbp)
jb LBB0_83
## %bb.57: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ebx
.p2align 4, 0x90
LBB0_58: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
movq -56(%rbp), %rax
movl (%rax,%rbx,4), %edx
leaq L_.str.7(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
incq %rbx
cmpq -48(%rbp), %rbx
jb LBB0_58
jmp LBB0_83
LBB0_17: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_int8
leaq L_.str.7(%rip), %rsi
jmp LBB0_16
LBB0_79: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_int64_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.80: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movq (%rax), %rdx
leaq L_.str.12(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $2, -48(%rbp)
jb LBB0_83
## %bb.81: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ebx
.p2align 4, 0x90
LBB0_82: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
movq -56(%rbp), %rax
movq (%rax,%rbx,8), %rdx
leaq L_.str.12(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
incq %rbx
cmpq -48(%rbp), %rbx
jb LBB0_82
jmp LBB0_83
LBB0_23: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_int64
leaq L_.str.12(%rip), %rsi
LBB0_24: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
movq %rax, %rdx
jmp LBB0_13
LBB0_71: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_int32_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.72: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movl (%rax), %edx
leaq L_.str.10(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $2, -48(%rbp)
jb LBB0_83
## %bb.73: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ebx
.p2align 4, 0x90
LBB0_74: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
movq -56(%rbp), %rax
movl (%rax,%rbx,4), %edx
leaq L_.str.10(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
incq %rbx
cmpq -48(%rbp), %rbx
jb LBB0_74
jmp LBB0_83
LBB0_21: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_int32
leaq L_.str.10(%rip), %rsi
jmp LBB0_16
LBB0_63: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_int16_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.64: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movl (%rax), %edx
leaq L_.str.8(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $2, -48(%rbp)
jb LBB0_83
## %bb.65: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ebx
.p2align 4, 0x90
LBB0_66: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
movq -56(%rbp), %rax
movl (%rax,%rbx,4), %edx
leaq L_.str.8(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
incq %rbx
cmpq -48(%rbp), %rbx
jb LBB0_66
jmp LBB0_83
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_int16
leaq L_.str.8(%rip), %rsi
jmp LBB0_16
LBB0_26: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
movq %r15, %rdi
callq _nvpair_value_hrtime
movl %eax, %edi
callq _VERIFY0
movq -56(%rbp), %rdx
leaq L_.str.13(%rip), %rsi
jmp LBB0_12
LBB0_27: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
movq %r15, %rdi
callq _nvpair_value_double
movl %eax, %edi
callq _VERIFY0
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.14(%rip), %rsi
movq %r14, %rdi
movb $1, %al
callq _FPRINTF
jmp LBB0_85
LBB0_47: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_byte_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.48: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movl (%rax), %edx
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $2, -48(%rbp)
jb LBB0_83
## %bb.49: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ebx
.p2align 4, 0x90
LBB0_50: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
movq -56(%rbp), %rax
movl (%rax,%rbx,4), %edx
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
incq %rbx
cmpq -48(%rbp), %rbx
jb LBB0_50
jmp LBB0_83
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _fnvpair_value_boolean_value
movq _B_TRUE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
leaq L_.str.3(%rip), %rax
leaq L_.str.5(%rip), %rdx
cmoveq %rax, %rdx
leaq L_.str.4(%rip), %rsi
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq _FPRINTF
jmp LBB0_85
LBB0_41: ## in Loop: Header=BB0_2 Depth=1
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %r15, %rdi
callq _nvpair_value_boolean_array
movl %eax, %edi
callq _VERIFY0
leaq L_.str.15(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $0, -48(%rbp)
je LBB0_83
## %bb.42: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movq (%rax), %rax
movq _B_TRUE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
leaq L_.str.3(%rip), %r12
leaq L_.str.5(%rip), %r13
movq %r13, %rsi
cmoveq %r12, %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
cmpq $2, -48(%rbp)
jb LBB0_83
## %bb.43: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ebx
jmp LBB0_44
.p2align 4, 0x90
LBB0_46: ## in Loop: Header=BB0_44 Depth=2
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
incq %rbx
cmpq -48(%rbp), %rbx
jae LBB0_83
LBB0_44: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
movq -56(%rbp), %rax
movq (%rax,%rbx,8), %rax
movq %r12, %rsi
movq _B_TRUE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_46
## %bb.45: ## in Loop: Header=BB0_44 Depth=2
movq %r13, %rsi
jmp LBB0_46
.p2align 4, 0x90
LBB0_83: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.16(%rip), %rsi
LBB0_84: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
jmp LBB0_85
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.3(%rip), %rsi
jmp LBB0_84
LBB0_86:
leaq L_.str.17(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _FPRINTF
xorl %r12d, %r12d
LBB0_87:
movl %r12d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_87, LBB0_87-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_75, LBB0_75-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_67, LBB0_67-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_59, LBB0_59-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_55, LBB0_55-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_79, LBB0_79-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_71, LBB0_71-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_63, LBB0_63-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
.long L0_0_set_87
.long L0_0_set_51
.long L0_0_set_18
.long L0_0_set_75
.long L0_0_set_25
.long L0_0_set_67
.long L0_0_set_22
.long L0_0_set_59
.long L0_0_set_20
.long L0_0_set_29
.long L0_0_set_8
.long L0_0_set_35
.long L0_0_set_28
.long L0_0_set_55
.long L0_0_set_17
.long L0_0_set_79
.long L0_0_set_23
.long L0_0_set_71
.long L0_0_set_21
.long L0_0_set_63
.long L0_0_set_19
.long L0_0_set_26
.long L0_0_set_27
.long L0_0_set_87
.long L0_0_set_47
.long L0_0_set_14
.long L0_0_set_11
.long L0_0_set_41
.long L0_0_set_10
.end_data_region
## -- End function
.comm _B_TRUE,8,3 ## @B_TRUE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "{"
L_.str.1: ## @.str.1
.asciz ","
.comm _B_FALSE,8,3 ## @B_FALSE
L_.str.2: ## @.str.2
.asciz ":"
L_.str.3: ## @.str.3
.asciz "true"
L_.str.4: ## @.str.4
.asciz "%s"
L_.str.5: ## @.str.5
.asciz "false"
L_.str.6: ## @.str.6
.asciz "%hhu"
L_.str.7: ## @.str.7
.asciz "%hhd"
L_.str.8: ## @.str.8
.asciz "%hd"
L_.str.9: ## @.str.9
.asciz "%hu"
L_.str.10: ## @.str.10
.asciz "%d"
L_.str.11: ## @.str.11
.asciz "%u"
L_.str.12: ## @.str.12
.asciz "%lld"
L_.str.13: ## @.str.13
.asciz "%llu"
L_.str.14: ## @.str.14
.asciz "%f"
L_.str.15: ## @.str.15
.asciz "["
L_.str.16: ## @.str.16
.asciz "]"
L_.str.17: ## @.str.17
.asciz "}"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nvlist_print_json ; -- Begin function nvlist_print_json
.p2align 2
_nvlist_print_json: ; @nvlist_print_json
.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, x1
mov x19, x0
Lloh0:
adrp x25, _B_TRUE@GOTPAGE
Lloh1:
ldr x25, [x25, _B_TRUE@GOTPAGEOFF]
ldr x26, [x25]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _FPRINTF
mov x0, x20
mov x1, #0
bl _nvlist_next_nvpair
cbz x0, LBB0_83
; %bb.1:
mov x21, x0
Lloh4:
adrp x27, l_.str.1@PAGE
Lloh5:
add x27, x27, l_.str.1@PAGEOFF
Lloh6:
adrp x23, l_.str.2@PAGE
Lloh7:
add x23, x23, l_.str.2@PAGEOFF
Lloh8:
adrp x28, _B_FALSE@GOTPAGE
Lloh9:
ldr x28, [x28, _B_FALSE@GOTPAGEOFF]
Lloh10:
adrp x22, lJTI0_0@PAGE
Lloh11:
add x22, x22, lJTI0_0@PAGEOFF
b LBB0_6
LBB0_2: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_byte
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh12:
adrp x1, l_.str.6@PAGE
Lloh13:
add x1, x1, l_.str.6@PAGEOFF
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
mov x0, x19
bl _FPRINTF
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
mov x1, x21
bl _nvlist_next_nvpair
mov x21, x0
cbz x0, LBB0_83
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_80 Depth 2
; Child Loop BB0_73 Depth 2
; Child Loop BB0_65 Depth 2
; Child Loop BB0_60 Depth 2
; Child Loop BB0_55 Depth 2
; Child Loop BB0_50 Depth 2
; Child Loop BB0_41 Depth 2
; Child Loop BB0_34 Depth 2
; Child Loop BB0_30 Depth 2
; Child Loop BB0_25 Depth 2
; Child Loop BB0_20 Depth 2
; Child Loop BB0_15 Depth 2
mov x0, x21
bl _nvpair_type
mov x24, x0
cbz x26, LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr x26, [x28]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
mov x0, x19
mov x1, x27
bl _FPRINTF
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _nvpair_name
mov x1, x0
mov x0, x19
bl _nvlist_print_json_string
cmn w0, #1
b.eq LBB0_84
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
mov x0, x19
mov x1, x23
bl _FPRINTF
sub w8, w24, #128
cmp w8, #28
b.hi LBB0_5
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
mov w0, #-1
adr x9, LBB0_2
ldrh w10, [x22, x8, lsl #1]
add x9, x9, x10, lsl #2
br x9
LBB0_12: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_uint8_array
bl _VERIFY0
Lloh14:
adrp x1, l_.str.15@PAGE
Lloh15:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cbz x8, LBB0_74
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8]
str x8, [sp]
Lloh16:
adrp x1, l_.str.6@PAGE
Lloh17:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cmp x8, #2
b.lo LBB0_74
; %bb.14: ; in Loop: Header=BB0_6 Depth=1
mov w22, #1
LBB0_15: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
Lloh18:
adrp x1, l_.str.1@PAGE
Lloh19:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #24]
ldr w8, [x8, x22, lsl #2]
str x8, [sp]
Lloh20:
adrp x1, l_.str.6@PAGE
Lloh21:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _FPRINTF
add x22, x22, #1
ldr x8, [sp, #16]
cmp x22, x8
b.lo LBB0_15
b LBB0_74
LBB0_16: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_uint8
b LBB0_3
LBB0_17: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_uint64_array
bl _VERIFY0
Lloh22:
adrp x1, l_.str.15@PAGE
Lloh23:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cbz x8, LBB0_74
; %bb.18: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp]
Lloh24:
adrp x1, l_.str.13@PAGE
Lloh25:
add x1, x1, l_.str.13@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cmp x8, #2
b.lo LBB0_74
; %bb.19: ; in Loop: Header=BB0_6 Depth=1
mov w22, #1
LBB0_20: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
Lloh26:
adrp x1, l_.str.1@PAGE
Lloh27:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #24]
ldr x8, [x8, x22, lsl #3]
str x8, [sp]
Lloh28:
adrp x1, l_.str.13@PAGE
Lloh29:
add x1, x1, l_.str.13@PAGEOFF
mov x0, x19
bl _FPRINTF
add x22, x22, #1
ldr x8, [sp, #16]
cmp x22, x8
b.lo LBB0_20
b LBB0_74
LBB0_21: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_uint64
str x0, [sp]
b LBB0_68
LBB0_22: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_uint32_array
bl _VERIFY0
Lloh30:
adrp x1, l_.str.15@PAGE
Lloh31:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cbz x8, LBB0_74
; %bb.23: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8]
str x8, [sp]
Lloh32:
adrp x1, l_.str.11@PAGE
Lloh33:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cmp x8, #2
b.lo LBB0_74
; %bb.24: ; in Loop: Header=BB0_6 Depth=1
mov w22, #1
LBB0_25: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
Lloh34:
adrp x1, l_.str.1@PAGE
Lloh35:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #24]
ldr w8, [x8, x22, lsl #2]
str x8, [sp]
Lloh36:
adrp x1, l_.str.11@PAGE
Lloh37:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x19
bl _FPRINTF
add x22, x22, #1
ldr x8, [sp, #16]
cmp x22, x8
b.lo LBB0_25
b LBB0_74
LBB0_26: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_uint32
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh38:
adrp x1, l_.str.11@PAGE
Lloh39:
add x1, x1, l_.str.11@PAGEOFF
b LBB0_4
LBB0_27: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_uint16_array
bl _VERIFY0
Lloh40:
adrp x1, l_.str.15@PAGE
Lloh41:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cbz x8, LBB0_74
; %bb.28: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8]
str x8, [sp]
Lloh42:
adrp x1, l_.str.9@PAGE
Lloh43:
add x1, x1, l_.str.9@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cmp x8, #2
b.lo LBB0_74
; %bb.29: ; in Loop: Header=BB0_6 Depth=1
mov w22, #1
LBB0_30: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
Lloh44:
adrp x1, l_.str.1@PAGE
Lloh45:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #24]
ldr w8, [x8, x22, lsl #2]
str x8, [sp]
Lloh46:
adrp x1, l_.str.9@PAGE
Lloh47:
add x1, x1, l_.str.9@PAGEOFF
mov x0, x19
bl _FPRINTF
add x22, x22, #1
ldr x8, [sp, #16]
cmp x22, x8
b.lo LBB0_30
b LBB0_74
LBB0_31: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_uint16
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh48:
adrp x1, l_.str.9@PAGE
Lloh49:
add x1, x1, l_.str.9@PAGEOFF
b LBB0_4
LBB0_32: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_string_array
bl _VERIFY0
Lloh50:
adrp x1, l_.str.15@PAGE
Lloh51:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cbz x8, LBB0_74
; %bb.33: ; in Loop: Header=BB0_6 Depth=1
mov x22, #0
LBB0_34: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
cbz x22, LBB0_36
; %bb.35: ; in Loop: Header=BB0_34 Depth=2
Lloh52:
adrp x1, l_.str.1@PAGE
Lloh53:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
LBB0_36: ; in Loop: Header=BB0_34 Depth=2
ldr x8, [sp, #24]
ldr x1, [x8, x22, lsl #3]
mov x0, x19
bl _nvlist_print_json_string
cmn w0, #1
b.eq LBB0_84
; %bb.37: ; in Loop: Header=BB0_34 Depth=2
add x22, x22, #1
ldr x8, [sp, #16]
cmp x22, x8
b.lo LBB0_34
b LBB0_74
LBB0_38: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_string
mov x1, x0
mov x0, x19
bl _nvlist_print_json_string
b LBB0_46
LBB0_39: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_nvlist_array
bl _VERIFY0
Lloh54:
adrp x1, l_.str.15@PAGE
Lloh55:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cbz x8, LBB0_74
; %bb.40: ; in Loop: Header=BB0_6 Depth=1
mov x22, #0
LBB0_41: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
cbz x22, LBB0_43
; %bb.42: ; in Loop: Header=BB0_41 Depth=2
Lloh56:
adrp x1, l_.str.1@PAGE
Lloh57:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
LBB0_43: ; in Loop: Header=BB0_41 Depth=2
ldr x8, [sp, #24]
ldr x1, [x8, x22, lsl #3]
mov x0, x19
bl _nvlist_print_json
cmn w0, #1
b.eq LBB0_84
; %bb.44: ; in Loop: Header=BB0_41 Depth=2
add x22, x22, #1
ldr x8, [sp, #16]
cmp x22, x8
b.lo LBB0_41
b LBB0_74
LBB0_45: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_nvlist
mov x1, x0
mov x0, x19
bl _nvlist_print_json
LBB0_46: ; in Loop: Header=BB0_6 Depth=1
cmn w0, #1
b.ne LBB0_5
b LBB0_84
LBB0_47: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_int8_array
bl _VERIFY0
Lloh58:
adrp x1, l_.str.15@PAGE
Lloh59:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cbz x8, LBB0_74
; %bb.48: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8]
str x8, [sp]
Lloh60:
adrp x1, l_.str.7@PAGE
Lloh61:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cmp x8, #2
b.lo LBB0_74
; %bb.49: ; in Loop: Header=BB0_6 Depth=1
mov w22, #1
LBB0_50: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
Lloh62:
adrp x1, l_.str.1@PAGE
Lloh63:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #24]
ldr w8, [x8, x22, lsl #2]
str x8, [sp]
Lloh64:
adrp x1, l_.str.7@PAGE
Lloh65:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x19
bl _FPRINTF
add x22, x22, #1
ldr x8, [sp, #16]
cmp x22, x8
b.lo LBB0_50
b LBB0_74
LBB0_51: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_int8
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh66:
adrp x1, l_.str.7@PAGE
Lloh67:
add x1, x1, l_.str.7@PAGEOFF
b LBB0_4
LBB0_52: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_int64_array
bl _VERIFY0
Lloh68:
adrp x1, l_.str.15@PAGE
Lloh69:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cbz x8, LBB0_74
; %bb.53: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp]
Lloh70:
adrp x1, l_.str.12@PAGE
Lloh71:
add x1, x1, l_.str.12@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cmp x8, #2
b.lo LBB0_74
; %bb.54: ; in Loop: Header=BB0_6 Depth=1
mov w22, #1
LBB0_55: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
Lloh72:
adrp x1, l_.str.1@PAGE
Lloh73:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #24]
ldr x8, [x8, x22, lsl #3]
str x8, [sp]
Lloh74:
adrp x1, l_.str.12@PAGE
Lloh75:
add x1, x1, l_.str.12@PAGEOFF
mov x0, x19
bl _FPRINTF
add x22, x22, #1
ldr x8, [sp, #16]
cmp x22, x8
b.lo LBB0_55
b LBB0_74
LBB0_56: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_int64
str x0, [sp]
Lloh76:
adrp x1, l_.str.12@PAGE
Lloh77:
add x1, x1, l_.str.12@PAGEOFF
b LBB0_4
LBB0_57: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_int32_array
bl _VERIFY0
Lloh78:
adrp x1, l_.str.15@PAGE
Lloh79:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cbz x8, LBB0_74
; %bb.58: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8]
str x8, [sp]
Lloh80:
adrp x1, l_.str.10@PAGE
Lloh81:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cmp x8, #2
b.lo LBB0_74
; %bb.59: ; in Loop: Header=BB0_6 Depth=1
mov w22, #1
LBB0_60: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
Lloh82:
adrp x1, l_.str.1@PAGE
Lloh83:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #24]
ldr w8, [x8, x22, lsl #2]
str x8, [sp]
Lloh84:
adrp x1, l_.str.10@PAGE
Lloh85:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x19
bl _FPRINTF
add x22, x22, #1
ldr x8, [sp, #16]
cmp x22, x8
b.lo LBB0_60
b LBB0_74
LBB0_61: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_int32
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh86:
adrp x1, l_.str.10@PAGE
Lloh87:
add x1, x1, l_.str.10@PAGEOFF
b LBB0_4
LBB0_62: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_int16_array
bl _VERIFY0
Lloh88:
adrp x1, l_.str.15@PAGE
Lloh89:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cbz x8, LBB0_74
; %bb.63: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8]
str x8, [sp]
Lloh90:
adrp x1, l_.str.8@PAGE
Lloh91:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cmp x8, #2
b.lo LBB0_74
; %bb.64: ; in Loop: Header=BB0_6 Depth=1
mov w22, #1
LBB0_65: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
Lloh92:
adrp x1, l_.str.1@PAGE
Lloh93:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #24]
ldr w8, [x8, x22, lsl #2]
str x8, [sp]
Lloh94:
adrp x1, l_.str.8@PAGE
Lloh95:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x19
bl _FPRINTF
add x22, x22, #1
ldr x8, [sp, #16]
cmp x22, x8
b.lo LBB0_65
b LBB0_74
LBB0_66: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_int16
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh96:
adrp x1, l_.str.8@PAGE
Lloh97:
add x1, x1, l_.str.8@PAGEOFF
b LBB0_4
LBB0_67: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
mov x0, x21
bl _nvpair_value_hrtime
bl _VERIFY0
ldr x8, [sp, #24]
str x8, [sp]
LBB0_68: ; in Loop: Header=BB0_6 Depth=1
Lloh98:
adrp x1, l_.str.13@PAGE
Lloh99:
add x1, x1, l_.str.13@PAGEOFF
b LBB0_4
LBB0_69: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
mov x0, x21
bl _nvpair_value_double
bl _VERIFY0
ldr d0, [sp, #24]
str d0, [sp]
Lloh100:
adrp x1, l_.str.14@PAGE
Lloh101:
add x1, x1, l_.str.14@PAGEOFF
b LBB0_4
LBB0_70: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_byte_array
bl _VERIFY0
Lloh102:
adrp x1, l_.str.15@PAGE
Lloh103:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cbz x8, LBB0_74
; %bb.71: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8]
str x8, [sp]
Lloh104:
adrp x1, l_.str.6@PAGE
Lloh105:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cmp x8, #2
b.lo LBB0_74
; %bb.72: ; in Loop: Header=BB0_6 Depth=1
mov w22, #1
LBB0_73: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
Lloh106:
adrp x1, l_.str.1@PAGE
Lloh107:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #24]
ldr w8, [x8, x22, lsl #2]
str x8, [sp]
Lloh108:
adrp x1, l_.str.6@PAGE
Lloh109:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _FPRINTF
add x22, x22, #1
ldr x8, [sp, #16]
cmp x22, x8
b.lo LBB0_73
LBB0_74: ; in Loop: Header=BB0_6 Depth=1
Lloh110:
adrp x1, l_.str.16@PAGE
Lloh111:
add x1, x1, l_.str.16@PAGEOFF
mov x0, x19
bl _FPRINTF
LBB0_75: ; in Loop: Header=BB0_6 Depth=1
Lloh112:
adrp x22, lJTI0_0@PAGE
Lloh113:
add x22, x22, lJTI0_0@PAGEOFF
b LBB0_5
LBB0_76: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _fnvpair_value_boolean_value
ldr x8, [x25]
Lloh114:
adrp x9, l_.str.5@PAGE
Lloh115:
add x9, x9, l_.str.5@PAGEOFF
Lloh116:
adrp x10, l_.str.3@PAGE
Lloh117:
add x10, x10, l_.str.3@PAGEOFF
cmp x0, x8
csel x8, x10, x9, eq
str x8, [sp]
Lloh118:
adrp x1, l_.str.4@PAGE
Lloh119:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_4
LBB0_77: ; in Loop: Header=BB0_6 Depth=1
mov x23, x28
mov x28, x27
add x1, sp, #24
add x2, sp, #16
mov x0, x21
bl _nvpair_value_boolean_array
bl _VERIFY0
Lloh120:
adrp x1, l_.str.15@PAGE
Lloh121:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
mov x27, x25
cbz x8, LBB0_81
; %bb.78: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
ldr x8, [x8]
ldr x9, [x27]
Lloh122:
adrp x24, l_.str.5@PAGE
Lloh123:
add x24, x24, l_.str.5@PAGEOFF
Lloh124:
adrp x22, l_.str.3@PAGE
Lloh125:
add x22, x22, l_.str.3@PAGEOFF
cmp x8, x9
csel x1, x22, x24, eq
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #16]
cmp x8, #2
b.lo LBB0_81
; %bb.79: ; in Loop: Header=BB0_6 Depth=1
mov w25, #1
LBB0_80: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
Lloh126:
adrp x1, l_.str.1@PAGE
Lloh127:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _FPRINTF
ldr x8, [sp, #24]
ldr x8, [x8, x25, lsl #3]
ldr x9, [x27]
cmp x8, x9
csel x1, x22, x24, eq
mov x0, x19
bl _FPRINTF
add x25, x25, #1
ldr x8, [sp, #16]
cmp x25, x8
b.lo LBB0_80
LBB0_81: ; in Loop: Header=BB0_6 Depth=1
Lloh128:
adrp x1, l_.str.16@PAGE
Lloh129:
add x1, x1, l_.str.16@PAGEOFF
mov x0, x19
bl _FPRINTF
mov x25, x27
mov x27, x28
mov x28, x23
Lloh130:
adrp x23, l_.str.2@PAGE
Lloh131:
add x23, x23, l_.str.2@PAGEOFF
b LBB0_75
LBB0_82: ; in Loop: Header=BB0_6 Depth=1
Lloh132:
adrp x1, l_.str.3@PAGE
Lloh133:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_4
LBB0_83:
Lloh134:
adrp x1, l_.str.17@PAGE
Lloh135:
add x1, x1, l_.str.17@PAGEOFF
mov x0, x19
bl _FPRINTF
mov w0, #0
LBB0_84:
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpAdd Lloh116, Lloh117
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh120, Lloh121
.loh AdrpAdd Lloh124, Lloh125
.loh AdrpAdd Lloh122, Lloh123
.loh AdrpAdd Lloh126, Lloh127
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpAdd Lloh134, Lloh135
.cfi_endproc
.section __TEXT,__const
.p2align 1
lJTI0_0:
.short (LBB0_84-LBB0_2)>>2
.short (LBB0_12-LBB0_2)>>2
.short (LBB0_16-LBB0_2)>>2
.short (LBB0_17-LBB0_2)>>2
.short (LBB0_21-LBB0_2)>>2
.short (LBB0_22-LBB0_2)>>2
.short (LBB0_26-LBB0_2)>>2
.short (LBB0_27-LBB0_2)>>2
.short (LBB0_31-LBB0_2)>>2
.short (LBB0_32-LBB0_2)>>2
.short (LBB0_38-LBB0_2)>>2
.short (LBB0_39-LBB0_2)>>2
.short (LBB0_45-LBB0_2)>>2
.short (LBB0_47-LBB0_2)>>2
.short (LBB0_51-LBB0_2)>>2
.short (LBB0_52-LBB0_2)>>2
.short (LBB0_56-LBB0_2)>>2
.short (LBB0_57-LBB0_2)>>2
.short (LBB0_61-LBB0_2)>>2
.short (LBB0_62-LBB0_2)>>2
.short (LBB0_66-LBB0_2)>>2
.short (LBB0_67-LBB0_2)>>2
.short (LBB0_69-LBB0_2)>>2
.short (LBB0_84-LBB0_2)>>2
.short (LBB0_70-LBB0_2)>>2
.short (LBB0_2-LBB0_2)>>2
.short (LBB0_76-LBB0_2)>>2
.short (LBB0_77-LBB0_2)>>2
.short (LBB0_82-LBB0_2)>>2
; -- End function
.comm _B_TRUE,8,3 ; @B_TRUE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "{"
l_.str.1: ; @.str.1
.asciz ","
.comm _B_FALSE,8,3 ; @B_FALSE
l_.str.2: ; @.str.2
.asciz ":"
l_.str.3: ; @.str.3
.asciz "true"
l_.str.4: ; @.str.4
.asciz "%s"
l_.str.5: ; @.str.5
.asciz "false"
l_.str.6: ; @.str.6
.asciz "%hhu"
l_.str.7: ; @.str.7
.asciz "%hhd"
l_.str.8: ; @.str.8
.asciz "%hd"
l_.str.9: ; @.str.9
.asciz "%hu"
l_.str.10: ; @.str.10
.asciz "%d"
l_.str.11: ; @.str.11
.asciz "%u"
l_.str.12: ; @.str.12
.asciz "%lld"
l_.str.13: ; @.str.13
.asciz "%llu"
l_.str.14: ; @.str.14
.asciz "%f"
l_.str.15: ; @.str.15
.asciz "["
l_.str.16: ; @.str.16
.asciz "]"
l_.str.17: ; @.str.17
.asciz "}"
.subsections_via_symbols
| AnghaBench/zfs/lib/libnvpair/extr_libnvpair_json.c_nvlist_print_json.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _halt ## -- Begin function halt
.p2align 4, 0x90
_halt: ## @halt
.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 $200, %rsp
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq %rsi, -200(%rbp)
movq %rdx, -192(%rbp)
movq %rcx, -184(%rbp)
movq %r8, -176(%rbp)
movq %r9, -168(%rbp)
testb %al, %al
je LBB0_14
## %bb.13:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB0_14:
leaq -208(%rbp), %rax
movq %rax, -16(%rbp)
leaq 16(%rbp), %rax
movq %rax, -24(%rbp)
movabsq $206158430216, %rax ## imm = 0x3000000008
movq %rax, -32(%rbp)
leaq L_.str(%rip), %rsi
movl $6, %edx
callq _strncmp
testl %eax, %eax
jne LBB0_1
## %bb.2:
addq $6, %rbx
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
incq %rbx
LBB0_3: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx), %eax
cmpb $58, %al
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpb $32, %al
je LBB0_5
## %bb.6:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq -32(%rbp), %rdx
movq %rbx, %rsi
callq _vfprintf
leaq L_.str.1(%rip), %rdi
callq _perror
LBB0_7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
movl $15, %edi
xorl %esi, %esi
callq _signal
movq %rax, %rcx
cmpq $1, %rax
ja LBB0_11
## %bb.8:
movl $1, %edi
xorl %esi, %esi
callq _signal
movq %rax, %rcx
cmpq $1, %rax
ja LBB0_11
## %bb.9:
movl $2, %edi
xorl %esi, %esi
callq _signal
movq %rax, %rcx
cmpq $1, %rax
ja LBB0_11
## %bb.10:
movl $3, %edi
xorl %esi, %esi
callq _signal
movq %rax, %rcx
cmpq $2, %rax
jb LBB0_12
LBB0_11:
xorl %edi, %edi
xorl %eax, %eax
callq *%rcx
LBB0_12:
movl $1, %edi
callq _exit
LBB0_1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq -32(%rbp), %rdx
movq %rbx, %rsi
callq _vfprintf
jmp LBB0_7
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "PERROR"
L_.str.1: ## @.str.1
.space 1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _halt ; -- Begin function halt
.p2align 2
_halt: ; @halt
.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, x0
add x8, x29, #16
str x8, [sp, #8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w2, #6
bl _strncmp
Lloh2:
adrp x20, ___stderrp@GOTPAGE
Lloh3:
ldr x20, [x20, ___stderrp@GOTPAGEOFF]
cbnz w0, LBB0_12
; %bb.1:
add x1, x19, #6
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x1, x1, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x1]
cmp w8, #58
b.eq LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #32
b.eq LBB0_2
; %bb.5:
ldr x0, [x20]
ldr x2, [sp, #8]
bl _vfprintf
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _perror
LBB0_6:
ldr x0, [x20]
bl _fflush
mov w0, #15
mov x1, #0
bl _signal
mov x8, x0
cmp x0, #1
b.hi LBB0_10
; %bb.7:
mov w0, #1
mov x1, #0
bl _signal
mov x8, x0
cmp x0, #1
b.hi LBB0_10
; %bb.8:
mov w0, #2
mov x1, #0
bl _signal
mov x8, x0
cmp x0, #1
b.hi LBB0_10
; %bb.9:
mov w0, #3
mov x1, #0
bl _signal
mov x8, x0
cmp x0, #2
b.lo LBB0_11
LBB0_10:
mov w0, #0
blr x8
LBB0_11:
mov w0, #1
bl _exit
LBB0_12:
ldr x0, [x20]
ldr x2, [sp, #8]
mov x1, x19
bl _vfprintf
b LBB0_6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "PERROR"
l_.str.1: ; @.str.1
.space 1
.subsections_via_symbols
| the_stack_data/154827354.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __sync_seqno
___sync_seqno: ## @__sync_seqno
.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 (%rdi), %edi
callq _GEM_BUG_ON
addq $4, %rbx
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip ___sync_seqno
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __sync_seqno
___sync_seqno: ; @__sync_seqno
.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, [x19], #4
bl _GEM_BUG_ON
mov x0, x19
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 ___sync_seqno
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_syncmap.c___sync_seqno.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _omapdss_find_output_from_display ## -- Begin function omapdss_find_output_from_display
.p2align 4, 0x90
_omapdss_find_output_from_display: ## @omapdss_find_output_from_display
.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
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rax, %rdi
movq 8(%rax), %rax
testq %rax, %rax
jne LBB0_1
## %bb.2:
cmpq $0, (%rdi)
je LBB0_3
## %bb.4:
popq %rbp
jmp _omap_dss_get_device ## TAILCALL
LBB0_3:
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 _omapdss_find_output_from_display ; -- Begin function omapdss_find_output_from_display
.p2align 2
_omapdss_find_output_from_display: ; @omapdss_find_output_from_display
.cfi_startproc
; %bb.0:
mov x8, x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x8
ldr x8, [x8, #8]
cbnz x8, LBB0_1
; %bb.2:
ldr x8, [x0]
cbz x8, LBB0_4
; %bb.3:
b _omap_dss_get_device
LBB0_4:
mov x0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_output.c_omapdss_find_output_from_display.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 %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
leaq L_.str(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
subl $1, -44(%rbp)
jae LBB0_1
LBB0_5:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
leaq -52(%rbp), %r12
leaq -48(%rbp), %r13
movl $-200, %ebx
leaq L_str.4(%rip), %r14
leaq L_str(%rip), %r15
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
cmpl $50, -52(%rbp)
cmovlq %r15, %rdi
cmpl $101, %eax
cmovaeq %r15, %rdi
callq _puts
subl $1, -44(%rbp)
jb LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
leaq L_.str.1(%rip), %rdi
leaq -56(%rbp), %rsi
movq %r12, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq _scanf
movl -56(%rbp), %eax
addl %ebx, %eax
cmpl $150, -48(%rbp)
movq %r14, %rdi
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
jmp LBB0_4
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d %d"
L_str: ## @str
.asciz "Nao"
L_str.4: ## @str.4
.asciz "Sim"
.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, #128
.cfi_def_cfa_offset 128
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
add x8, sp, #44
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #44]
sub w9, w8, #1
str w9, [sp, #44]
cbz w8, LBB0_3
; %bb.1:
add x20, sp, #32
add x21, sp, #36
add x22, sp, #40
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov w23, #49
mov w24, #101
Lloh4:
adrp x25, l_str@PAGE
Lloh5:
add x25, x25, l_str@PAGEOFF
Lloh6:
adrp x26, l_str.4@PAGE
Lloh7:
add x26, x26, l_str.4@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
stp x21, x20, [sp, #8]
str x22, [sp]
mov x0, x19
bl _scanf
ldp w9, w8, [sp, #36]
sub w8, w8, #200
ldr w10, [sp, #32]
cmp w10, #149
ccmp w9, w23, #4, gt
ccmp w8, w24, #2, gt
csel x0, x26, x25, lo
bl _puts
ldr w8, [sp, #44]
sub w9, w8, #1
str w9, [sp, #44]
cbnz w8, LBB0_2
LBB0_3:
mov w0, #0
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
add sp, sp, #128
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d %d"
l_str: ; @str
.asciz "Nao"
l_str.4: ; @str.4
.asciz "Sim"
.subsections_via_symbols
| the_stack_data/1575.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "library module author description url"
.section __DATA,__data
.globl _variables ## @variables
.p2align 3
_variables:
.quad L_.str
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "boot halt grow hit miss delete replace kbench"
.section __DATA,__data
.globl _functions ## @functions
.p2align 3
_functions:
.quad L_.str.1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "libevent"
.section __DATA,__data
.globl _library ## @library
.p2align 3
_library:
.quad L_.str.2
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "libevent/ht"
.section __DATA,__data
.globl _module ## @module
.p2align 3
_module:
.quad L_.str.3
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "Niels Provos (provos@umich.edu)"
.section __DATA,__data
.globl _author ## @author
.p2align 3
_author:
.quad L_.str.4
.section __TEXT,__cstring,cstring_literals
L_.str.5: ## @.str.5
.asciz "Niels Provos's interface to Christopher Clark's implementation"
.section __DATA,__data
.globl _description ## @description
.p2align 3
_description:
.quad L_.str.5
.section __TEXT,__cstring,cstring_literals
L_.str.6: ## @.str.6
.asciz "http://github.com/libevent/libevent"
.section __DATA,__data
.globl _url ## @url
.p2align 3
_url:
.quad L_.str.6
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "library module author description url"
.section __DATA,__data
.globl _variables ; @variables
.p2align 3
_variables:
.quad l_.str
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "boot halt grow hit miss delete replace kbench"
.section __DATA,__data
.globl _functions ; @functions
.p2align 3
_functions:
.quad l_.str.1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "libevent"
.section __DATA,__data
.globl _library ; @library
.p2align 3
_library:
.quad l_.str.2
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "libevent/ht"
.section __DATA,__data
.globl _module ; @module
.p2align 3
_module:
.quad l_.str.3
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "Niels Provos (provos@umich.edu)"
.section __DATA,__data
.globl _author ; @author
.p2align 3
_author:
.quad l_.str.4
.section __TEXT,__cstring,cstring_literals
l_.str.5: ; @.str.5
.asciz "Niels Provos's interface to Christopher Clark's implementation"
.section __DATA,__data
.globl _description ; @description
.p2align 3
_description:
.quad l_.str.5
.section __TEXT,__cstring,cstring_literals
l_.str.6: ; @.str.6
.asciz "http://github.com/libevent/libevent"
.section __DATA,__data
.globl _url ; @url
.p2align 3
_url:
.quad l_.str.6
.subsections_via_symbols
| the_stack_data/134184.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_tag
_parse_tag: ## @parse_tag
.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, %r15
movl %esi, %ebx
movq %rdi, %r14
xorl %edi, %edi
testq %rdx, %rdx
setne %dil
callq _assert
movl $0, (%r15)
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_1
## %bb.3:
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_4
## %bb.5:
leaq L_.str.2(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_6
## %bb.7:
movl $1, (%r15)
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testq %rax, %rax
jne LBB0_10
## %bb.8:
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_9
LBB0_10:
leaq L_.str.5(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_12
## %bb.11:
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_12
## %bb.13:
leaq L_.str.7(%rip), %rdi
callq _warnx
movl $-1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq _ACL_USER_OBJ@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_4:
movq _ACL_GROUP_OBJ@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_6:
movq _ACL_EVERYONE@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_12:
movq _ACL_GROUP@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_9:
movq _ACL_USER@GOTPCREL(%rip), %rax
LBB0_2:
movl (%rax), %esi
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _acl_set_tag_type ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "owner@"
.comm _ACL_USER_OBJ,4,2 ## @ACL_USER_OBJ
L_.str.1: ## @.str.1
.asciz "group@"
.comm _ACL_GROUP_OBJ,4,2 ## @ACL_GROUP_OBJ
L_.str.2: ## @.str.2
.asciz "everyone@"
.comm _ACL_EVERYONE,4,2 ## @ACL_EVERYONE
L_.str.3: ## @.str.3
.asciz "user"
L_.str.4: ## @.str.4
.asciz "u"
.comm _ACL_USER,4,2 ## @ACL_USER
L_.str.5: ## @.str.5
.asciz "group"
L_.str.6: ## @.str.6
.asciz "g"
.comm _ACL_GROUP,4,2 ## @ACL_GROUP
L_.str.7: ## @.str.7
.asciz "malformed ACL: invalid \"tag\" field"
.no_dead_strip _parse_tag
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_tag
_parse_tag: ; @parse_tag
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
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
cmp x2, #0
cset w0, ne
bl _assert
str wzr, [x21]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _strcmp
cbz x0, LBB0_8
; %bb.1:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _strcmp
cbz x0, LBB0_9
; %bb.2:
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
bl _strcmp
cbz x0, LBB0_10
; %bb.3:
mov w8, #1 ; =0x1
str w8, [x21]
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
bl _strcmp
cbnz x0, LBB0_5
; %bb.4:
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
bl _strcmp
cbz x0, LBB0_12
LBB0_5:
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x20
bl _strcmp
cbz x0, LBB0_11
; %bb.6:
Lloh12:
adrp x1, l_.str.6@PAGE
Lloh13:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x20
bl _strcmp
cbz x0, LBB0_11
; %bb.7:
Lloh14:
adrp x0, l_.str.7@PAGE
Lloh15:
add x0, x0, l_.str.7@PAGEOFF
bl _warnx
mov w0, #-1 ; =0xffffffff
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_8:
Lloh16:
adrp x8, _ACL_USER_OBJ@GOTPAGE
Lloh17:
ldr x8, [x8, _ACL_USER_OBJ@GOTPAGEOFF]
b LBB0_13
LBB0_9:
Lloh18:
adrp x8, _ACL_GROUP_OBJ@GOTPAGE
Lloh19:
ldr x8, [x8, _ACL_GROUP_OBJ@GOTPAGEOFF]
b LBB0_13
LBB0_10:
Lloh20:
adrp x8, _ACL_EVERYONE@GOTPAGE
Lloh21:
ldr x8, [x8, _ACL_EVERYONE@GOTPAGEOFF]
b LBB0_13
LBB0_11:
Lloh22:
adrp x8, _ACL_GROUP@GOTPAGE
Lloh23:
ldr x8, [x8, _ACL_GROUP@GOTPAGEOFF]
b LBB0_13
LBB0_12:
Lloh24:
adrp x8, _ACL_USER@GOTPAGE
Lloh25:
ldr x8, [x8, _ACL_USER@GOTPAGEOFF]
LBB0_13:
ldr w1, [x8]
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 _acl_set_tag_type
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "owner@"
.comm _ACL_USER_OBJ,4,2 ; @ACL_USER_OBJ
l_.str.1: ; @.str.1
.asciz "group@"
.comm _ACL_GROUP_OBJ,4,2 ; @ACL_GROUP_OBJ
l_.str.2: ; @.str.2
.asciz "everyone@"
.comm _ACL_EVERYONE,4,2 ; @ACL_EVERYONE
l_.str.3: ; @.str.3
.asciz "user"
l_.str.4: ; @.str.4
.asciz "u"
.comm _ACL_USER,4,2 ; @ACL_USER
l_.str.5: ; @.str.5
.asciz "group"
l_.str.6: ; @.str.6
.asciz "g"
.comm _ACL_GROUP,4,2 ; @ACL_GROUP
l_.str.7: ; @.str.7
.asciz "malformed ACL: invalid \"tag\" field"
.no_dead_strip _parse_tag
.subsections_via_symbols
| assembly_file_160075.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtl8152_set_tunable
_rtl8152_set_tunable: ## @rtl8152_set_tunable
.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, %r15
movq %rsi, %rbx
movq %rdi, %r12
callq _netdev_priv
cmpl $128, (%rbx)
jne LBB0_5
## %bb.1:
movq %rax, %r14
movl (%r15), %r15d
movq _ETH_ZLEN@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jge LBB0_3
## %bb.2:
movq _rx_err@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rcx
movq %r14, %rdi
movq %r12, %rdx
callq _netif_err
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
movq _EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_6:
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_7:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
xorl %ebx, %ebx
cmpl %r15d, 4(%r14)
je LBB0_7
## %bb.4:
movq %r14, %rdi
callq _napi_disable
movl %r15d, 4(%r14)
movq %r14, %rdi
callq _napi_enable
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _ETH_ZLEN,4,2 ## @ETH_ZLEN
.comm _rx_err,4,2 ## @rx_err
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid rx copy break value\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.no_dead_strip _rtl8152_set_tunable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rtl8152_set_tunable
_rtl8152_set_tunable: ; @rtl8152_set_tunable
.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 x22, x1
mov x20, x0
bl _netdev_priv
ldr w8, [x22]
cmp w8, #128
b.ne LBB0_3
; %bb.1:
mov x19, x0
ldr w21, [x21]
Lloh0:
adrp x8, _ETH_ZLEN@GOTPAGE
Lloh1:
ldr x8, [x8, _ETH_ZLEN@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w21, w8
b.ge LBB0_6
; %bb.2:
Lloh3:
adrp x8, _rx_err@GOTPAGE
Lloh4:
ldr x8, [x8, _rx_err@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x3, l_.str@PAGE
Lloh7:
add x3, x3, l_.str@PAGEOFF
mov x0, x19
mov x2, x20
bl _netif_err
Lloh8:
adrp x8, _EINVAL@GOTPAGE
Lloh9:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_4
LBB0_3:
Lloh10:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh11:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_4:
ldr w8, [x8]
neg w0, w8
LBB0_5:
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_6:
ldr w8, [x19, #4]
cmp w8, w21
b.ne LBB0_8
; %bb.7:
mov w0, #0
b LBB0_5
LBB0_8:
mov x0, x19
bl _napi_disable
str w21, [x19, #4]
mov x0, x19
bl _napi_enable
mov w0, #0
b LBB0_5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _ETH_ZLEN,4,2 ; @ETH_ZLEN
.comm _rx_err,4,2 ; @rx_err
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid rx copy break value\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.no_dead_strip _rtl8152_set_tunable
.subsections_via_symbols
| AnghaBench/linux/drivers/net/usb/extr_r8152.c_rtl8152_set_tunable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _function_hello_world ## -- Begin function function_hello_world
.p2align 4, 0x90
_function_hello_world: ## @function_hello_world
.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(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## 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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %r14
movq %r14, %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "HELLO WOLRD!!!"
L_.str.1: ## @.str.1
.asciz "HELLO WOLRD 1!!!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _function_hello_world ; -- Begin function function_hello_world
.p2align 2
_function_hello_world: ; @function_hello_world
.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
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _printf
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.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
Lloh4:
adrp x19, l_.str@PAGE
Lloh5:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
Lloh6:
adrp x20, l_.str.1@PAGE
Lloh7:
add x20, x20, l_.str.1@PAGEOFF
mov x0, x20
bl _printf
mov x0, x19
bl _printf
mov x0, x20
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "HELLO WOLRD!!!"
l_.str.1: ; @.str.1
.asciz "HELLO WOLRD 1!!!"
.subsections_via_symbols
| the_stack_data/74511.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function opverw
_opverw: ## @opverw
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $1, (%rdx)
jne LBB0_7
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdx), %rcx
movq _OT_WORD@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
testl %edx, (%rcx)
je LBB0_6
## %bb.2:
movabsq $64424509440, %rax ## imm = 0xF00000000
movq %rax, -4(%rsi)
movq _OT_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rcx)
je LBB0_4
## %bb.3:
movq 8(%rcx), %rax
movl (%rax), %eax
orl $40, %eax
jmp LBB0_5
LBB0_4:
movl $232, %eax
orl 16(%rcx), %eax
LBB0_5:
movl %eax, (%rsi)
movl $1, %eax
LBB0_6:
popq %rbp
LBB0_7:
retq
.cfi_endproc
## -- End function
.comm _OT_WORD,4,2 ## @OT_WORD
.comm _OT_MEMORY,4,2 ## @OT_MEMORY
.no_dead_strip _opverw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function opverw
lCPI0_0:
.long 0 ; 0x0
.long 15 ; 0xf
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_opverw: ; @opverw
.cfi_startproc
; %bb.0:
ldr w8, [x2]
cmp w8, #1
b.ne LBB0_4
; %bb.1:
ldr x8, [x2, #8]
ldr w9, [x8]
Lloh0:
adrp x10, _OT_WORD@GOTPAGE
Lloh1:
ldr x10, [x10, _OT_WORD@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_4
; %bb.2:
Lloh3:
adrp x9, lCPI0_0@PAGE
Lloh4:
ldr d0, [x9, lCPI0_0@PAGEOFF]
stur d0, [x1, #-4]
ldr w9, [x8]
Lloh5:
adrp x10, _OT_MEMORY@GOTPAGE
Lloh6:
ldr x10, [x10, _OT_MEMORY@GOTPAGEOFF]
Lloh7:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_5
; %bb.3:
ldr x8, [x8, #8]
ldr w8, [x8]
mov w9, #40 ; =0x28
b LBB0_6
LBB0_4:
mov w0, #-1 ; =0xffffffff
ret
LBB0_5:
ldr w8, [x8, #16]
mov w9, #232 ; =0xe8
LBB0_6:
orr w8, w8, w9
str w8, [x1]
mov w0, #1 ; =0x1
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdr Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _OT_WORD,4,2 ; @OT_WORD
.comm _OT_MEMORY,4,2 ; @OT_MEMORY
.no_dead_strip _opverw
.subsections_via_symbols
| assembly_file_82070.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function tiff_paste_tile
_tiff_paste_tile: ## @tiff_paste_tile
.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
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
## kill: def $r8d killed $r8d def $r8
movq %r8, -64(%rbp) ## 8-byte Spill
## kill: def $ecx killed $ecx def $rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
xorl %r11d, %r11d
leaq LJTI0_0(%rip), %rbx
jmp LBB0_1
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
decl %r11d
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_8 Depth 3
cmpl (%rsi), %r11d
jb LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
addl %r11d, %eax
cmpl 4(%rsi), %eax
jae LBB0_21
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl 8(%rsi), %eax
testl %eax, %eax
je LBB0_20
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq -56(%rbp), %rcx ## 8-byte Reload
leal (%r11,%rcx), %r14d
xorl %r15d, %r15d
movq -64(%rbp), %rcx ## 8-byte Reload
movl %ecx, %r12d
jmp LBB0_5
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_5 Depth=2
movl 8(%rsi), %eax
LBB0_19: ## in Loop: Header=BB0_5 Depth=2
incl %r15d
incl %r12d
cmpl %eax, %r15d
jae LBB0_20
LBB0_5: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_8 Depth 3
movq -64(%rbp), %rcx ## 8-byte Reload
leal (%r15,%rcx), %edi
cmpl 12(%rsi), %edi
jae LBB0_20
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movl 16(%rsi), %ecx
testl %ecx, %ecx
je LBB0_19
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
notl %edi
leal (,%rdi,4), %eax
andl $4, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
leal (%rdi,%rdi), %eax
andl $6, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
andl $7, %edi
xorl %r13d, %r13d
jmp LBB0_8
LBB0_15: ## in Loop: Header=BB0_8 Depth=3
movzbl (%r10,%rcx), %r8d
movb %r8b, (%rax,%r9)
movzbl 1(%r10,%rcx), %r8d
movb %r8b, 1(%rax,%r9)
movzbl 2(%r10,%rcx), %ecx
movb %cl, 2(%rax,%r9)
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_8 Depth=3
incl %r13d
movl 16(%rsi), %ecx
cmpl %ecx, %r13d
jae LBB0_18
LBB0_8: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## => This Inner Loop Header: Depth=3
movl 36(%rsi), %r10d
leal -1(%r10), %r8d
cmpl $31, %r8d
ja LBB0_17
## %bb.9: ## in Loop: Header=BB0_8 Depth=3
movl 32(%rsi), %eax
imull %r14d, %eax
addq 24(%rsi), %rax
movl %r12d, %r9d
imull %ecx, %r9d
addl %r13d, %r9d
imull %r10d, %r9d
addl $7, %r9d
shrl $3, %r9d
imull %r15d, %ecx
addl %r13d, %ecx
imull %r10d, %ecx
movl 40(%rsi), %r10d
imull %r11d, %r10d
addq %rdx, %r10
addl $7, %ecx
shrl $3, %ecx
movslq (%rbx,%r8,4), %r8
addq %rbx, %r8
jmpq *%r8
LBB0_10: ## in Loop: Header=BB0_8 Depth=3
movzbl (%r10,%rcx), %r8d
movl %edi, %ecx
shrl %cl, %r8d
orb (%rax,%r9), %r8b
orb $1, %r8b
movb %r8b, (%rax,%r9)
jmp LBB0_17
LBB0_11: ## in Loop: Header=BB0_8 Depth=3
movzbl (%r10,%rcx), %r8d
movl -44(%rbp), %ecx ## 4-byte Reload
## kill: def $cl killed $cl killed $ecx
shrl %cl, %r8d
andb $3, %r8b
orb %r8b, (%rax,%r9)
jmp LBB0_17
LBB0_16: ## in Loop: Header=BB0_8 Depth=3
movzbl (%r10,%rcx), %r8d
movb %r8b, (%rax,%r9)
movzbl 1(%r10,%rcx), %r8d
movb %r8b, 1(%rax,%r9)
movzbl 2(%r10,%rcx), %r8d
movb %r8b, 2(%rax,%r9)
movzbl 3(%r10,%rcx), %ecx
movb %cl, 3(%rax,%r9)
jmp LBB0_17
LBB0_12: ## in Loop: Header=BB0_8 Depth=3
movzbl (%r10,%rcx), %r8d
movl -48(%rbp), %ecx ## 4-byte Reload
## kill: def $cl killed $cl killed $ecx
shrl %cl, %r8d
andb $15, %r8b
orb %r8b, (%rax,%r9)
jmp LBB0_17
LBB0_13: ## in Loop: Header=BB0_8 Depth=3
movzbl (%r10,%rcx), %ecx
movb %cl, (%rax,%r9)
jmp LBB0_17
LBB0_14: ## in Loop: Header=BB0_8 Depth=3
movzbl (%r10,%rcx), %r8d
movb %r8b, (%rax,%r9)
movzbl 1(%r10,%rcx), %ecx
movb %cl, 1(%rax,%r9)
jmp LBB0_17
LBB0_21:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
.long L0_0_set_10
.long L0_0_set_11
.long L0_0_set_17
.long L0_0_set_12
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_13
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_14
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_15
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_16
.end_data_region
## -- End function
.no_dead_strip _tiff_paste_tile
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function tiff_paste_tile
_tiff_paste_tile: ; @tiff_paste_tile
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-32]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
mov w8, #0 ; =0x0
mov w9, #4 ; =0x4
mov w10, #6 ; =0x6
mov w11, #7 ; =0x7
mov w12, #7 ; =0x7
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
sub w8, w8, #1
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_14 Depth 3
ldr w13, [x1]
cmp w8, w13
b.lo LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w13, [x1, #4]
add w14, w8, w3
cmp w14, w13
b.hs LBB0_30
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldr w16, [x1, #8]
cbz w16, LBB0_1
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
mov w13, #0 ; =0x0
add w14, w8, w3
mov x15, x4
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=2
ldr w16, [x1, #8]
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
add w13, w13, #1
add w15, w15, #1
cmp w13, w16
b.hs LBB0_1
LBB0_8: ; Parent Loop BB0_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_14 Depth 3
ldr w17, [x1, #12]
add w5, w13, w4
cmp w5, w17
b.hs LBB0_1
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
ldr w7, [x1, #16]
cbz w7, LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
mov w16, #0 ; =0x0
bic w17, w9, w5, lsl #2
bic w0, w11, w5
bic w5, w10, w5, lsl #1
b LBB0_14
LBB0_11: ; in Loop: Header=BB0_14 Depth=3
ldrb w7, [x7]
lsr w7, w7, w0
ldrb w19, [x6]
orr w7, w19, w7
orr w7, w7, #0x1
LBB0_12: ; in Loop: Header=BB0_14 Depth=3
strb w7, [x6]
LBB0_13: ; in Loop: Header=BB0_14 Depth=3
add w16, w16, #1
ldr w7, [x1, #16]
cmp w16, w7
b.hs LBB0_6
LBB0_14: ; Parent Loop BB0_2 Depth=1
; Parent Loop BB0_8 Depth=2
; => This Inner Loop Header: Depth=3
ldr x6, [x1, #24]
ldp w20, w19, [x1, #32]
mul w20, w20, w14
madd w21, w15, w7, w16
madd w21, w19, w21, w12
lsr w21, w21, #3
add x6, x6, x20
add x6, x6, x21
ldr w20, [x1, #40]
mul w20, w20, w8
madd w7, w13, w7, w16
madd w7, w19, w7, w12
lsr w7, w7, #3
add x20, x2, x20
add x7, x20, x7
cmp w19, #7
b.le LBB0_19
; %bb.15: ; in Loop: Header=BB0_14 Depth=3
cmp w19, #23
b.gt LBB0_23
; %bb.16: ; in Loop: Header=BB0_14 Depth=3
cmp w19, #8
b.eq LBB0_26
; %bb.17: ; in Loop: Header=BB0_14 Depth=3
cmp w19, #16
b.ne LBB0_13
; %bb.18: ; in Loop: Header=BB0_14 Depth=3
ldrb w19, [x7]
strb w19, [x6]
ldrb w7, [x7, #1]
strb w7, [x6, #1]
b LBB0_13
LBB0_19: ; in Loop: Header=BB0_14 Depth=3
cmp w19, #1
b.eq LBB0_11
; %bb.20: ; in Loop: Header=BB0_14 Depth=3
cmp w19, #2
b.eq LBB0_28
; %bb.21: ; in Loop: Header=BB0_14 Depth=3
cmp w19, #4
b.ne LBB0_13
; %bb.22: ; in Loop: Header=BB0_14 Depth=3
ldrb w7, [x7]
lsr w7, w7, w17
ldrb w19, [x6]
and w7, w7, #0xf
b LBB0_29
LBB0_23: ; in Loop: Header=BB0_14 Depth=3
cmp w19, #24
b.eq LBB0_27
; %bb.24: ; in Loop: Header=BB0_14 Depth=3
cmp w19, #32
b.ne LBB0_13
; %bb.25: ; in Loop: Header=BB0_14 Depth=3
ldrb w19, [x7]
strb w19, [x6]
ldrb w19, [x7, #1]
strb w19, [x6, #1]
ldrb w19, [x7, #2]
strb w19, [x6, #2]
ldrb w7, [x7, #3]
strb w7, [x6, #3]
b LBB0_13
LBB0_26: ; in Loop: Header=BB0_14 Depth=3
ldrb w7, [x7]
b LBB0_12
LBB0_27: ; in Loop: Header=BB0_14 Depth=3
ldrb w19, [x7]
strb w19, [x6]
ldrb w19, [x7, #1]
strb w19, [x6, #1]
ldrb w7, [x7, #2]
strb w7, [x6, #2]
b LBB0_13
LBB0_28: ; in Loop: Header=BB0_14 Depth=3
ldrb w7, [x7]
lsr w7, w7, w5
ldrb w19, [x6]
and w7, w7, #0x3
LBB0_29: ; in Loop: Header=BB0_14 Depth=3
orr w7, w7, w19
b LBB0_12
LBB0_30:
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _tiff_paste_tile
.subsections_via_symbols
| assembly_file_139852.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lzc_snaprange_space ## -- Begin function lzc_snaprange_space
.p2align 4, 0x90
_lzc_snaprange_space: ## @lzc_snaprange_space
.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
movq %rsi, %r15
movq %rdi, %r12
movq %rsp, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _ZFS_MAX_DATASET_NAME_LEN@GOTPCREL(%rip), %rax
movl (%rax), %r13d
movq %r13, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movq %rbx, %rdi
movq %r12, %rsi
movl %r13d, %edx
callq _strlcpy
movq %rbx, %rdi
movl $64, %esi
callq _strchr
testq %rax, %rax
je LBB0_1
## %bb.2:
movb $0, (%rax)
xorl %eax, %eax
callq _fnvlist_alloc
movq %rax, %rbx
leaq L_.str(%rip), %rsi
movq %rax, %rdi
movq %r12, %rdx
callq _fnvlist_add_string
movq _ZFS_IOC_SPACE_SNAPS@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -56(%rbp), %rcx
movq %r15, %rsi
movq %rbx, %rdx
callq _lzc_ioctl
movl %eax, %r15d
movq %rbx, %rdi
callq _nvlist_free
testl %r15d, %r15d
jne LBB0_4
## %bb.3:
movq -56(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _fnvlist_lookup_uint64
movq -64(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
LBB0_4:
movq -56(%rbp), %rdi
callq _fnvlist_free
jmp LBB0_5
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %r15d
LBB0_5:
movq %r14, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_7
## %bb.6:
movl %r15d, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ZFS_MAX_DATASET_NAME_LEN,4,2 ## @ZFS_MAX_DATASET_NAME_LEN
.comm _EINVAL,4,2 ## @EINVAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "firstsnap"
.comm _ZFS_IOC_SPACE_SNAPS,4,2 ## @ZFS_IOC_SPACE_SNAPS
L_.str.1: ## @.str.1
.asciz "used"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lzc_snaprange_space ; -- Begin function lzc_snaprange_space
.p2align 2
_lzc_snaprange_space: ; @lzc_snaprange_space
.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
sub sp, sp, #16
mov x19, x2
mov x20, x1
mov x21, x0
mov x23, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGE
Lloh4:
ldr x8, [x8, _ZFS_MAX_DATASET_NAME_LEN@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 x22, x8, x9
mov sp, x22
mov x0, x22
mov x1, x21
; kill: def $w2 killed $w2 killed $x2
bl _strlcpy
mov x0, x22
mov w1, #64
bl _strchr
cbz x0, LBB0_4
; %bb.1:
strb wzr, [x0]
bl _fnvlist_alloc
mov x22, x0
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
mov x2, x21
bl _fnvlist_add_string
Lloh10:
adrp x8, _ZFS_IOC_SPACE_SNAPS@GOTPAGE
Lloh11:
ldr x8, [x8, _ZFS_IOC_SPACE_SNAPS@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
sub x3, x29, #64
mov x1, x20
mov x2, x22
bl _lzc_ioctl
mov x20, x0
mov x0, x22
bl _nvlist_free
cbnz w20, LBB0_3
; %bb.2:
ldur x0, [x29, #-64]
Lloh13:
adrp x1, l_.str.1@PAGE
Lloh14:
add x1, x1, l_.str.1@PAGEOFF
bl _fnvlist_lookup_uint64
str w0, [x19]
LBB0_3:
ldur x0, [x29, #-64]
bl _fnvlist_free
b LBB0_5
LBB0_4:
Lloh15:
adrp x8, _EINVAL@GOTPAGE
Lloh16:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
ldr w20, [x8]
LBB0_5:
mov sp, x23
ldur x8, [x29, #-56]
Lloh18:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh19:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
mov x0, x20
sub sp, x29, #48
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
LBB0_7:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _ZFS_MAX_DATASET_NAME_LEN,4,2 ; @ZFS_MAX_DATASET_NAME_LEN
.comm _EINVAL,4,2 ; @EINVAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "firstsnap"
.comm _ZFS_IOC_SPACE_SNAPS,4,2 ; @ZFS_IOC_SPACE_SNAPS
l_.str.1: ; @.str.1
.asciz "used"
.subsections_via_symbols
| AnghaBench/zfs/lib/libzfs_core/extr_libzfs_core.c_lzc_snaprange_space.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function line_start_state
_line_start_state: ## @line_start_state
.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
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
cmpl $10, %edi
jne LBB0_11
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
incl 8(%r14)
movq %r14, %rdi
callq _close_current_line
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
addq $4, %rbx
movq %r14, %rdi
movq %rbx, %rsi
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _is_eof
testl %eax, %eax
jne LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl (%rbx), %edi
cmpl $12, %edi
jle LBB0_3
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
cmpl $13, %edi
je LBB0_5
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
cmpl $59, %edi
je LBB0_15
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
cmpl $91, %edi
je LBB0_10
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
callq _isspaceW
testl %eax, %eax
jne LBB0_5
## %bb.12:
movq %rbx, (%r14)
movq _KEY_NAME@GOTPCREL(%rip), %rax
jmp LBB0_13
LBB0_6:
movq %r14, %rdi
callq _close_current_line
xorl %ebx, %ebx
LBB0_14:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_15:
movq _LINE_START@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _push_state
movq _COMMENT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _set_state
addq $4, %rbx
jmp LBB0_14
LBB0_10:
addq $4, %rbx
movq %rbx, (%r14)
movq _SECTION_NAME@GOTPCREL(%rip), %rax
LBB0_13:
movl (%rax), %esi
movq %r14, %rdi
callq _set_state
jmp LBB0_14
.cfi_endproc
## -- End function
.comm _LINE_START,4,2 ## @LINE_START
.comm _COMMENT,4,2 ## @COMMENT
.comm _SECTION_NAME,4,2 ## @SECTION_NAME
.comm _KEY_NAME,4,2 ## @KEY_NAME
.no_dead_strip _line_start_state
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function line_start_state
_line_start_state: ; @line_start_state
.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
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
cmp w0, #10
b.ne LBB0_9
; %bb.2: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x20, #8]
add w8, w8, #1
str w8, [x20, #8]
mov x0, x20
bl _close_current_line
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x19, x19, #4
mov x0, x20
mov x1, x19
LBB0_4: ; =>This Inner Loop Header: Depth=1
bl _is_eof
cbnz w0, LBB0_11
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x19]
cmp w0, #12
b.le LBB0_1
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cmp w0, #13
b.eq LBB0_3
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
cmp w0, #59
b.eq LBB0_13
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
cmp w0, #91
b.eq LBB0_14
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
bl _isspaceW
cbnz w0, LBB0_3
; %bb.10:
str x19, [x20]
Lloh0:
adrp x8, _KEY_NAME@GOTPAGE
Lloh1:
ldr x8, [x8, _KEY_NAME@GOTPAGEOFF]
b LBB0_15
LBB0_11:
mov x0, x20
bl _close_current_line
mov x19, #0
LBB0_12:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_13:
Lloh2:
adrp x8, _LINE_START@GOTPAGE
Lloh3:
ldr x8, [x8, _LINE_START@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov x0, x20
bl _push_state
Lloh5:
adrp x8, _COMMENT@GOTPAGE
Lloh6:
ldr x8, [x8, _COMMENT@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x20
bl _set_state
add x19, x19, #4
b LBB0_12
LBB0_14:
add x19, x19, #4
str x19, [x20]
Lloh8:
adrp x8, _SECTION_NAME@GOTPAGE
Lloh9:
ldr x8, [x8, _SECTION_NAME@GOTPAGEOFF]
LBB0_15:
ldr w1, [x8]
mov x0, x20
bl _set_state
b LBB0_12
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _LINE_START,4,2 ; @LINE_START
.comm _COMMENT,4,2 ; @COMMENT
.comm _SECTION_NAME,4,2 ; @SECTION_NAME
.comm _KEY_NAME,4,2 ; @KEY_NAME
.no_dead_strip _line_start_state
.subsections_via_symbols
| AnghaBench/reactos/sdk/lib/inflib/extr_infcore.c_line_start_state.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function download_dir_internal
_download_dir_internal: ## @download_dir_internal
.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 $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, -104(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_DIR_DEPTH@GOTPCREL(%rip), %rax
cmpl %ecx, (%rax)
jle LBB0_1
## %bb.2:
movq %rdx, %rbx
movq %rsi, %r12
movl %ecx, %r13d
movl %r9d, %r14d
testq %r8, %r8
je LBB0_3
## %bb.6:
movq -104(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
movl $1, %edx
callq _do_stat
movq %rax, %r15
testq %rax, %rax
jne LBB0_4
## %bb.7:
leaq L_.str.1(%rip), %rdi
jmp LBB0_8
LBB0_1:
leaq L_.str(%rip), %rdi
movl %ecx, %esi
xorl %eax, %eax
callq _error
movl $-1, %r14d
jmp LBB0_38
LBB0_3:
xorl %r15d, %r15d
LBB0_4:
movl (%r15), %edi
callq _S_ISDIR
testq %rax, %rax
je LBB0_5
## %bb.9:
movl 16(%rbp), %eax
testl %eax, %eax
je LBB0_11
## %bb.10:
leaq L_.str.3(%rip), %rdi
movq %r12, %rsi
callq _mprintf
LBB0_11:
movq _SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 4(%r15)
je LBB0_13
## %bb.12:
movl $1023, %esi ## imm = 0x3FF
andl (%r15), %esi
jmp LBB0_14
LBB0_5:
leaq L_.str.2(%rip), %rdi
jmp LBB0_8
LBB0_13:
leaq L_.str.4(%rip), %rdi
movq %rbx, %rsi
callq _debug
movl $511, %esi ## imm = 0x1FF
LBB0_14:
movq %rbx, %rdi
callq _mkdir
cmpl $-1, %eax
jne LBB0_17
## %bb.15:
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _EEXIST@GOTPCREL(%rip), %rax
cmpq (%rax), %rdi
jne LBB0_16
LBB0_17:
leaq -88(%rbp), %rdx
movq -104(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
callq _do_readdir
cmpl $-1, %eax
je LBB0_40
## %bb.18:
movq %r15, -120(%rbp) ## 8-byte Spill
movl %r14d, -92(%rbp) ## 4-byte Spill
movq %rbx, -112(%rbp) ## 8-byte Spill
movq -88(%rbp), %rax
xorl %r14d, %r14d
cmpq $0, (%rax)
je LBB0_19
## %bb.20:
movl %r13d, -96(%rbp) ## 4-byte Spill
movq %r12, -128(%rbp) ## 8-byte Spill
movq _interrupted@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
movl $0, %ebx
movl $0, %r15d
jne LBB0_32
## %bb.21:
decl -96(%rbp) ## 4-byte Folded Spill
xorl %r13d, %r13d
xorl %r15d, %r15d
xorl %ebx, %ebx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_22: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _free
movq %rbx, %rdi
callq _free
movq -88(%rbp), %rax
movq (%rax,%r13), %rax
movq (%rax), %r12
movq -112(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
callq _path_append
movq %rax, %r15
movq -128(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
callq _path_append
movq %rax, %rbx
movq -88(%rbp), %rax
movq (%rax,%r13), %rax
movl 8(%rax), %edi
callq _S_ISDIR
testq %rax, %rax
je LBB0_26
## %bb.23: ## in Loop: Header=BB0_22 Depth=1
movq %r12, %rdi
leaq L_.str.7(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_32
## %bb.24: ## in Loop: Header=BB0_22 Depth=1
movq %r12, %rdi
leaq L_.str.8(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_32
## %bb.25: ## in Loop: Header=BB0_22 Depth=1
movq -88(%rbp), %rax
movq (%rax,%r13), %r8
addq $8, %r8
subq $8, %rsp
movq -104(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
movq %r15, %rdx
movl -96(%rbp), %ecx ## 4-byte Reload
movl -92(%rbp), %r9d ## 4-byte Reload
movl 32(%rbp), %eax
pushq %rax
movl 24(%rbp), %eax
pushq %rax
movl 16(%rbp), %eax
pushq %rax
callq _download_dir_internal
addq $32, %rsp
cmpl $-1, %eax
cmovel %eax, %r14d
LBB0_30: ## in Loop: Header=BB0_22 Depth=1
movq -88(%rbp), %rax
cmpq $0, 8(%rax,%r13)
je LBB0_32
## %bb.31: ## in Loop: Header=BB0_22 Depth=1
addq $8, %r13
movq _interrupted@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_22
jmp LBB0_32
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_22 Depth=1
movq -88(%rbp), %rax
movq (%rax,%r13), %rax
movl 8(%rax), %edi
callq _S_ISREG
testq %rax, %rax
je LBB0_29
## %bb.27: ## in Loop: Header=BB0_22 Depth=1
movq -88(%rbp), %rax
movq (%rax,%r13), %rcx
addq $8, %rcx
subq $8, %rsp
movq -104(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
movq %r15, %rdx
movl -92(%rbp), %r8d ## 4-byte Reload
movl 24(%rbp), %r9d
## kill: def $r9d killed $r9d killed $r9
movl 32(%rbp), %eax
pushq %rax
callq _do_download
addq $16, %rsp
cmpl $-1, %eax
jne LBB0_30
## %bb.28: ## in Loop: Header=BB0_22 Depth=1
leaq L_.str.9(%rip), %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _error
movl $-1, %r14d
jmp LBB0_30
LBB0_29: ## in Loop: Header=BB0_22 Depth=1
leaq L_.str.10(%rip), %rdi
movq %rbx, %rsi
callq _logit
jmp LBB0_30
LBB0_40:
leaq L_.str.6(%rip), %rdi
LBB0_8:
movq %r12, %rsi
xorl %eax, %eax
callq _error
movl $-1, %r14d
jmp LBB0_38
LBB0_16:
callq _strerror
leaq L_.str.5(%rip), %rdi
movq %rbx, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _error
movl $-1, %r14d
jmp LBB0_38
LBB0_19:
xorl %ebx, %ebx
xorl %r15d, %r15d
LBB0_32:
movq %r15, %rdi
callq _free
movq %rbx, %rdi
callq _free
cmpl $0, -92(%rbp) ## 4-byte Folded Reload
je LBB0_37
## %bb.33:
movq _SSH2_FILEXFER_ATTR_ACMODTIME@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -120(%rbp), %rcx ## 8-byte Reload
testl %eax, 4(%rcx)
je LBB0_36
## %bb.34:
movl 12(%rcx), %eax
movl %eax, -72(%rbp)
movl 8(%rcx), %eax
movl %eax, -56(%rbp)
movq $0, -64(%rbp)
movq $0, -80(%rbp)
leaq -80(%rbp), %rsi
movq -112(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _utimes
cmpl $-1, %eax
jne LBB0_37
## %bb.35:
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _strerror
leaq L_.str.11(%rip), %rdi
movq %rbx, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _error
jmp LBB0_37
LBB0_36:
leaq L_.str.12(%rip), %rdi
movq -112(%rbp), %rsi ## 8-byte Reload
callq _debug
LBB0_37:
movq -88(%rbp), %rdi
callq _free_sftp_dirents
LBB0_38:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_41
## %bb.39:
movl %r14d, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_41:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_DIR_DEPTH,4,2 ## @MAX_DIR_DEPTH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Maximum directory depth exceeded: %d levels"
L_.str.1: ## @.str.1
.asciz "Unable to stat remote directory \"%s\""
L_.str.2: ## @.str.2
.asciz "\"%s\" is not a directory"
L_.str.3: ## @.str.3
.asciz "Retrieving %s\n"
.comm _SSH2_FILEXFER_ATTR_PERMISSIONS,4,2 ## @SSH2_FILEXFER_ATTR_PERMISSIONS
L_.str.4: ## @.str.4
.asciz "Server did not send permissions for directory \"%s\""
.comm _errno,8,3 ## @errno
.comm _EEXIST,8,3 ## @EEXIST
L_.str.5: ## @.str.5
.asciz "mkdir %s: %s"
L_.str.6: ## @.str.6
.asciz "%s: Failed to get directory contents"
.comm _interrupted,4,2 ## @interrupted
L_.str.7: ## @.str.7
.asciz "."
L_.str.8: ## @.str.8
.asciz ".."
L_.str.9: ## @.str.9
.asciz "Download of file %s to %s failed"
L_.str.10: ## @.str.10
.asciz "%s: not a regular file\n"
.comm _SSH2_FILEXFER_ATTR_ACMODTIME,4,2 ## @SSH2_FILEXFER_ATTR_ACMODTIME
L_.str.11: ## @.str.11
.asciz "Can't set times on \"%s\": %s"
L_.str.12: ## @.str.12
.asciz "Server did not send times for directory \"%s\""
.no_dead_strip _download_dir_internal
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function download_dir_internal
_download_dir_internal: ; @download_dir_internal
.cfi_startproc
; %bb.0:
sub sp, sp, #192
stp x28, x27, [sp, #96] ; 16-byte Folded Spill
stp x26, x25, [sp, #112] ; 16-byte Folded Spill
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.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, x3
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #88]
Lloh3:
adrp x8, _MAX_DIR_DEPTH@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_DIR_DEPTH@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w8, w3
b.le LBB0_4
; %bb.1:
mov x23, x7
mov x24, x6
mov x19, x2
mov x22, x1
mov x25, x0
mov x20, x5
cbz x4, LBB0_5
; %bb.2:
mov x0, x25
mov x1, x22
mov w2, #1 ; =0x1
bl _do_stat
mov x26, x0
cbnz x0, LBB0_6
; %bb.3:
str x22, [sp]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_30
LBB0_4:
str x21, [sp]
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
b LBB0_30
LBB0_5:
mov x26, #0 ; =0x0
LBB0_6:
ldr w0, [x26]
bl _S_ISDIR
cbz x0, LBB0_11
; %bb.7:
cbz w24, LBB0_9
; %bb.8:
Lloh10:
adrp x0, l_.str.3@PAGE
Lloh11:
add x0, x0, l_.str.3@PAGEOFF
mov x1, x22
bl _mprintf
LBB0_9:
ldr w8, [x26, #4]
Lloh12:
adrp x9, _SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPAGE
Lloh13:
ldr x9, [x9, _SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_12
; %bb.10:
ldr w8, [x26]
and w1, w8, #0x3ff
b LBB0_13
LBB0_11:
str x22, [sp]
Lloh15:
adrp x0, l_.str.2@PAGE
Lloh16:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_30
LBB0_12:
Lloh17:
adrp x0, l_.str.4@PAGE
Lloh18:
add x0, x0, l_.str.4@PAGEOFF
mov x1, x19
bl _debug
mov w1, #511 ; =0x1ff
LBB0_13:
mov x0, x19
bl _mkdir
cmn w0, #1
b.ne LBB0_15
; %bb.14:
Lloh19:
adrp x8, _errno@GOTPAGE
Lloh20:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh21:
ldr x0, [x8]
Lloh22:
adrp x8, _EEXIST@GOTPAGE
Lloh23:
ldr x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh24:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_29
LBB0_15:
add x2, sp, #48
mov x0, x25
mov x1, x22
bl _do_readdir
cmn w0, #1
b.eq LBB0_28
; %bb.16:
str x26, [sp, #24] ; 8-byte Folded Spill
str w20, [sp, #44] ; 4-byte Folded Spill
mov x27, #0 ; =0x0
mov w26, #0 ; =0x0
ldr x8, [sp, #48]
ldr x8, [x8]
cbz x8, LBB0_33
; %bb.17:
Lloh25:
adrp x8, _interrupted@GOTPAGE
Lloh26:
ldr x8, [x8, _interrupted@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
mov x28, x27
cbnz w8, LBB0_34
; %bb.18:
mov x20, #0 ; =0x0
mov x28, #0 ; =0x0
mov x27, #0 ; =0x0
mov w26, #0 ; =0x0
ldr w9, [x29, #16]
sub w8, w21, #1
stp w8, w9, [sp, #36] ; 8-byte Folded Spill
b LBB0_21
LBB0_19: ; in Loop: Header=BB0_21 Depth=1
Lloh28:
adrp x0, l_.str.10@PAGE
Lloh29:
add x0, x0, l_.str.10@PAGEOFF
mov x1, x27
bl _logit
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [sp, #48]
add x8, x8, x20
ldr x8, [x8, #8]
Lloh30:
adrp x9, _interrupted@GOTPAGE
Lloh31:
ldr x9, [x9, _interrupted@GOTPAGEOFF]
Lloh32:
ldr w9, [x9]
add x20, x20, #8
cmp x8, #0
ccmp w9, #0, #0, ne
b.ne LBB0_34
LBB0_21: ; =>This Inner Loop Header: Depth=1
mov x0, x28
bl _free
mov x0, x27
bl _free
ldr x8, [sp, #48]
ldr x8, [x8, x20]
ldr x21, [x8]
mov x0, x19
mov x1, x21
bl _path_append
mov x28, x0
mov x0, x22
mov x1, x21
bl _path_append
mov x27, x0
ldr x8, [sp, #48]
ldr x8, [x8, x20]
ldr w0, [x8, #8]
bl _S_ISDIR
cbz x0, LBB0_25
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
mov x0, x21
Lloh33:
adrp x1, l_.str.7@PAGE
Lloh34:
add x1, x1, l_.str.7@PAGEOFF
bl _strcmp
cbz x0, LBB0_34
; %bb.23: ; in Loop: Header=BB0_21 Depth=1
mov x0, x21
Lloh35:
adrp x1, l_.str.8@PAGE
Lloh36:
add x1, x1, l_.str.8@PAGEOFF
bl _strcmp
cbz x0, LBB0_34
; %bb.24: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [sp, #48]
ldr x8, [x8, x20]
ldp w3, w9, [sp, #36] ; 8-byte Folded Reload
str w9, [sp]
add x4, x8, #8
mov x0, x25
mov x1, x27
mov x2, x28
ldr w5, [sp, #44] ; 4-byte Folded Reload
mov x6, x24
mov x7, x23
bl _download_dir_internal
cmn w0, #1
csinv w26, w26, wzr, ne
b LBB0_20
LBB0_25: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [sp, #48]
ldr x8, [x8, x20]
ldr w0, [x8, #8]
bl _S_ISREG
cbz x0, LBB0_19
; %bb.26: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [sp, #48]
ldr x8, [x8, x20]
add x3, x8, #8
mov x0, x25
mov x1, x27
mov x2, x28
ldp w6, w4, [sp, #40] ; 8-byte Folded Reload
mov x5, x23
bl _do_download
cmn w0, #1
b.ne LBB0_20
; %bb.27: ; in Loop: Header=BB0_21 Depth=1
stp x27, x28, [sp]
Lloh37:
adrp x0, l_.str.9@PAGE
Lloh38:
add x0, x0, l_.str.9@PAGEOFF
bl _error
mov w26, #-1 ; =0xffffffff
b LBB0_20
LBB0_28:
str x22, [sp]
Lloh39:
adrp x0, l_.str.6@PAGE
Lloh40:
add x0, x0, l_.str.6@PAGEOFF
b LBB0_30
LBB0_29:
bl _strerror
stp x19, x0, [sp]
Lloh41:
adrp x0, l_.str.5@PAGE
Lloh42:
add x0, x0, l_.str.5@PAGEOFF
LBB0_30:
bl _error
mov w26, #-1 ; =0xffffffff
LBB0_31:
ldr x8, [sp, #88]
Lloh43:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh44:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_40
; %bb.32:
mov x0, x26
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
ldp x26, x25, [sp, #112] ; 16-byte Folded Reload
ldp x28, x27, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB0_33:
mov x28, x27
LBB0_34:
mov x0, x28
bl _free
mov x0, x27
bl _free
ldr w8, [sp, #44] ; 4-byte Folded Reload
cbz w8, LBB0_39
; %bb.35:
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x10, #4]
Lloh46:
adrp x9, _SSH2_FILEXFER_ATTR_ACMODTIME@GOTPAGE
Lloh47:
ldr x9, [x9, _SSH2_FILEXFER_ATTR_ACMODTIME@GOTPAGEOFF]
Lloh48:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_38
; %bb.36:
ldp w9, w8, [x10, #8]
str w8, [sp, #64]
str w9, [sp, #80]
str xzr, [sp, #72]
str xzr, [sp, #56]
add x1, sp, #56
mov x0, x19
bl _utimes
cmn w0, #1
b.ne LBB0_39
; %bb.37:
Lloh49:
adrp x8, _errno@GOTPAGE
Lloh50:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh51:
ldr x0, [x8]
bl _strerror
stp x19, x0, [sp]
Lloh52:
adrp x0, l_.str.11@PAGE
Lloh53:
add x0, x0, l_.str.11@PAGEOFF
bl _error
b LBB0_39
LBB0_38:
Lloh54:
adrp x0, l_.str.12@PAGE
Lloh55:
add x0, x0, l_.str.12@PAGEOFF
mov x1, x19
bl _debug
LBB0_39:
ldr x0, [sp, #48]
bl _free_sftp_dirents
b LBB0_31
LBB0_40:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpAdd Lloh54, Lloh55
.cfi_endproc
; -- End function
.comm _MAX_DIR_DEPTH,4,2 ; @MAX_DIR_DEPTH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Maximum directory depth exceeded: %d levels"
l_.str.1: ; @.str.1
.asciz "Unable to stat remote directory \"%s\""
l_.str.2: ; @.str.2
.asciz "\"%s\" is not a directory"
l_.str.3: ; @.str.3
.asciz "Retrieving %s\n"
.comm _SSH2_FILEXFER_ATTR_PERMISSIONS,4,2 ; @SSH2_FILEXFER_ATTR_PERMISSIONS
l_.str.4: ; @.str.4
.asciz "Server did not send permissions for directory \"%s\""
.comm _errno,8,3 ; @errno
.comm _EEXIST,8,3 ; @EEXIST
l_.str.5: ; @.str.5
.asciz "mkdir %s: %s"
l_.str.6: ; @.str.6
.asciz "%s: Failed to get directory contents"
.comm _interrupted,4,2 ; @interrupted
l_.str.7: ; @.str.7
.asciz "."
l_.str.8: ; @.str.8
.asciz ".."
l_.str.9: ; @.str.9
.asciz "Download of file %s to %s failed"
l_.str.10: ; @.str.10
.asciz "%s: not a regular file\n"
.comm _SSH2_FILEXFER_ATTR_ACMODTIME,4,2 ; @SSH2_FILEXFER_ATTR_ACMODTIME
l_.str.11: ; @.str.11
.asciz "Can't set times on \"%s\": %s"
l_.str.12: ; @.str.12
.asciz "Server did not send times for directory \"%s\""
.no_dead_strip _download_dir_internal
.subsections_via_symbols
| assembly_file_8842.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function adp8870_led_probe
_adp8870_led_probe: ## @adp8870_led_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 %rdi, %rbx
callq _dev_get_platdata
movq %rax, %r14
movq %rbx, %rdi
callq _i2c_get_clientdata
movq %rax, %r15
movl (%r14), %esi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rbx, %rdi
movl $56, %edx
callq _devm_kcalloc
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_17
LBB0_2:
movq _ADP8870_ISCLAW@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 4(%r14), %edx
movq %rbx, %rdi
callq _adp8870_write
testl %eax, %eax
jne LBB0_17
## %bb.3:
movq _ADP8870_ISCT1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 8(%r14), %eax
shll $6, %eax
movzbl %al, %edx
movq %rbx, %rdi
callq _adp8870_write
testl %eax, %eax
jne LBB0_17
## %bb.4:
movq _ADP8870_ISCF@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movl 24(%r14), %esi
movl 28(%r14), %edi
callq _FADE_VAL
movq %rbx, %rdi
movl %r12d, %esi
movl %eax, %edx
callq _adp8870_write
testl %eax, %eax
jne LBB0_17
## %bb.5:
cmpl $0, (%r14)
js LBB0_16
## %bb.6:
movl $4, %r13d
xorl %r12d, %r12d
xorl %eax, %eax
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq %rax, -48(%rbp) ## 8-byte Spill
movq 16(%r14), %rdx
movl -4(%rdx,%r13), %eax
movq _ADP8870_FLAG_LED_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl %eax, %ecx
movl 12(%r14), %esi
shrl %cl, %esi
testb $2, %sil
jne LBB0_8
## %bb.13: ## in Loop: Header=BB0_7 Depth=1
leaq 16(%r12), %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movq (%rdx,%r13), %rcx
movq %rcx, 28(%r12)
movq _adp8870_led_set@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 24(%r12)
movq _LED_OFF@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
movq %rdx, 16(%r12)
movq _FLAG_OFFT_SHIFT@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
sarl %cl, %eax
movl %eax, 4(%r12)
movq %rbx, 48(%r12)
movq %rdx, 40(%r12)
leaq 8(%r12), %rdi
movq _adp8870_led_work@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _INIT_WORK
movq %rbx, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
callq _led_classdev_register
movq %r12, %rdi
callq _adp8870_led_setup
testl %eax, %eax
jne LBB0_14
## %bb.15: ## in Loop: Header=BB0_7 Depth=1
movq -48(%rbp), %rdx ## 8-byte Reload
leaq 1(%rdx), %rax
movslq (%r14), %rcx
addq $56, %r12
addq $12, %r13
cmpq %rcx, %rdx
jl LBB0_7
LBB0_16:
movq $0, (%r15)
xorl %eax, %eax
jmp LBB0_17
LBB0_8:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
movl %ecx, %edx
xorl %eax, %eax
callq _dev_err
xorl %eax, %eax
movq _EBUSY@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movq -48(%rbp), %rcx ## 8-byte Reload
decl %ecx
jmp LBB0_9
LBB0_14:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
movl %eax, %ebx
xorl %eax, %eax
callq _dev_err
movl %ebx, %eax
movq -48(%rbp), %rcx ## 8-byte Reload
LBB0_9:
testl %ecx, %ecx
js LBB0_17
## %bb.10:
movl %eax, %r14d
movl %ecx, %r15d
imulq $56, %r15, %rbx
incq %r15
addq $8, %rbx
LBB0_11: ## =>This Inner Loop Header: Depth=1
leaq 8(%rbx), %rdi
callq _led_classdev_unregister
movq %rbx, %rdi
callq _cancel_work_sync
addq $-56, %rbx
decq %r15
jne LBB0_11
## %bb.12:
movl %r14d, %eax
LBB0_17:
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 _ADP8870_ISCLAW,4,2 ## @ADP8870_ISCLAW
.comm _ADP8870_ISCT1,4,2 ## @ADP8870_ISCT1
.comm _ADP8870_ISCF,4,2 ## @ADP8870_ISCF
.comm _ADP8870_FLAG_LED_MASK,4,2 ## @ADP8870_FLAG_LED_MASK
.comm _EINVAL,4,2 ## @EINVAL
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "LED %d used by Backlight\n"
.comm _EBUSY,4,2 ## @EBUSY
.comm _adp8870_led_set,4,2 ## @adp8870_led_set
.comm _LED_OFF,8,3 ## @LED_OFF
.comm _FLAG_OFFT_SHIFT,4,2 ## @FLAG_OFFT_SHIFT
.comm _adp8870_led_work,4,2 ## @adp8870_led_work
L_.str.3: ## @.str.3
.asciz "failed to write\n"
.no_dead_strip _adp8870_led_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function adp8870_led_probe
_adp8870_led_probe: ; @adp8870_led_probe
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.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 x19, x0
bl _dev_get_platdata
mov x20, x0
mov x0, x19
bl _i2c_get_clientdata
mov x21, x0
ldr w1, [x20]
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
mov x0, x19
mov w2, #56 ; =0x38
bl _devm_kcalloc
cbz x0, LBB0_2
; %bb.1:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
b LBB0_17
LBB0_2:
Lloh6:
adrp x8, _ADP8870_ISCLAW@GOTPAGE
Lloh7:
ldr x8, [x8, _ADP8870_ISCLAW@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
ldr w2, [x20, #4]
mov x0, x19
bl _adp8870_write
cbnz w0, LBB0_17
; %bb.3:
Lloh9:
adrp x8, _ADP8870_ISCT1@GOTPAGE
Lloh10:
ldr x8, [x8, _ADP8870_ISCT1@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
ldr w8, [x20, #8]
ubfiz w2, w8, #6, #2
mov x0, x19
bl _adp8870_write
cbnz w0, LBB0_17
; %bb.4:
Lloh12:
adrp x8, _ADP8870_ISCF@GOTPAGE
Lloh13:
ldr x8, [x8, _ADP8870_ISCF@GOTPAGEOFF]
Lloh14:
ldr w22, [x8]
ldp w1, w0, [x20, #24]
bl _FADE_VAL
mov x2, x0
mov x0, x19
mov x1, x22
bl _adp8870_write
cbnz w0, LBB0_17
; %bb.5:
ldr w8, [x20]
tbnz w8, #31, LBB0_10
; %bb.6:
mov x25, #0 ; =0x0
mov w24, #0 ; =0x0
mov x26, #-1 ; =0xffffffffffffffff
mov w27, #48 ; =0x30
Lloh15:
adrp x28, _adp8870_led_work@GOTPAGE
Lloh16:
ldr x28, [x28, _adp8870_led_work@GOTPAGEOFF]
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x9, [x20, #16]
ldr w8, [x9, x25]
Lloh17:
adrp x10, _ADP8870_FLAG_LED_MASK@GOTPAGE
Lloh18:
ldr x10, [x10, _ADP8870_FLAG_LED_MASK@GOTPAGEOFF]
Lloh19:
ldr w10, [x10]
and w10, w10, w8
ldr w11, [x20, #12]
lsr w11, w11, w10
tbnz w11, #1, LBB0_11
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
sub x22, x27, #48
add x9, x9, x25
ldur d0, [x9, #4]
stur d0, [x27, #-20]
Lloh20:
adrp x9, _adp8870_led_set@GOTPAGE
Lloh21:
ldr x9, [x9, _adp8870_led_set@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
stur w9, [x27, #-24]
Lloh23:
adrp x9, _LED_OFF@GOTPAGE
Lloh24:
ldr x9, [x9, _LED_OFF@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
mov x23, x27
str x9, [x23, #-32]!
Lloh26:
adrp x10, _FLAG_OFFT_SHIFT@GOTPAGE
Lloh27:
ldr x10, [x10, _FLAG_OFFT_SHIFT@GOTPAGEOFF]
Lloh28:
ldr w10, [x10]
asr w8, w8, w10
stur w8, [x27, #-44]
stp x9, x19, [x27, #-8]
sub x0, x27, #40
ldr w1, [x28]
bl _INIT_WORK
mov x0, x19
mov x1, x23
bl _led_classdev_register
mov x0, x22
bl _adp8870_led_setup
cbnz w0, LBB0_12
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldrsw x8, [x20]
add w24, w24, #1
add x26, x26, #1
add x27, x27, #56
add x25, x25, #12
cmp x26, x8
b.lt LBB0_7
LBB0_10:
mov w0, #0 ; =0x0
str xzr, [x21]
b LBB0_17
LBB0_11:
str x10, [sp]
Lloh29:
adrp x1, l_.str.1@PAGE
Lloh30:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _dev_err
Lloh31:
adrp x8, _EBUSY@GOTPAGE
Lloh32:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
neg w0, w8
sub w24, w24, #1
b LBB0_13
LBB0_12:
Lloh34:
adrp x1, l_.str.3@PAGE
Lloh35:
add x1, x1, l_.str.3@PAGEOFF
mov x20, x0
mov x0, x19
bl _dev_err
mov x0, x20
LBB0_13:
tbnz w24, #31, LBB0_17
; %bb.14:
mov x20, x0
mov w8, w24
add x21, x8, #1
mov w8, #56 ; =0x38
umull x8, w24, w8
add x19, x8, #8
LBB0_15: ; =>This Inner Loop Header: Depth=1
add x0, x19, #8
bl _led_classdev_unregister
mov x0, x19
bl _cancel_work_sync
sub x19, x19, #56
sub x21, x21, #1
cbnz x21, LBB0_15
; %bb.16:
mov x0, x20
LBB0_17:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _ADP8870_ISCLAW,4,2 ; @ADP8870_ISCLAW
.comm _ADP8870_ISCT1,4,2 ; @ADP8870_ISCT1
.comm _ADP8870_ISCF,4,2 ; @ADP8870_ISCF
.comm _ADP8870_FLAG_LED_MASK,4,2 ; @ADP8870_FLAG_LED_MASK
.comm _EINVAL,4,2 ; @EINVAL
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "LED %d used by Backlight\n"
.comm _EBUSY,4,2 ; @EBUSY
.comm _adp8870_led_set,4,2 ; @adp8870_led_set
.comm _LED_OFF,8,3 ; @LED_OFF
.comm _FLAG_OFFT_SHIFT,4,2 ; @FLAG_OFFT_SHIFT
.comm _adp8870_led_work,4,2 ; @adp8870_led_work
l_.str.3: ; @.str.3
.asciz "failed to write\n"
.no_dead_strip _adp8870_led_probe
.subsections_via_symbols
| assembly_file_45545.c | assembly_dataset |
.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/412141.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function eap_sm_getId
_eap_sm_getId: ## @eap_sm_getId
.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 $-1, %r14d
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movq %rdi, %rbx
callq _wpabuf_len
cmpl $4, %eax
jb LBB0_3
## %bb.2:
movq %rbx, %rdi
callq _wpabuf_head
movq %rax, %rbx
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %edx
leaq L_.str(%rip), %rsi
callq _wpa_printf
movl (%rbx), %r14d
LBB0_3:
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MSG_DEBUG,4,2 ## @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "EAP: getId: id=%d"
.no_dead_strip _eap_sm_getId
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function eap_sm_getId
_eap_sm_getId: ; @eap_sm_getId
.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
cbz x0, LBB0_2
; %bb.1:
mov x19, x0
bl _wpabuf_len
cmp w0, #4
b.hs LBB0_3
LBB0_2:
mov w0, #-1
b LBB0_4
LBB0_3:
mov x0, x19
bl _wpabuf_head
mov x19, x0
Lloh0:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh1:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldr w2, [x19]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _wpa_printf
ldr w0, [x19]
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MSG_DEBUG,4,2 ; @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "EAP: getId: id=%d"
.no_dead_strip _eap_sm_getId
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server.c_eap_sm_getId.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function openJoystickDevice
_openJoystickDevice: ## @openJoystickDevice
.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
retq
.cfi_endproc
## -- End function
.comm _GLFW_JOYSTICK_1,4,2 ## @GLFW_JOYSTICK_1
.comm _GLFW_JOYSTICK_LAST,4,2 ## @GLFW_JOYSTICK_LAST
.comm _GL_TRUE,8,3 ## @GL_TRUE
.comm _JSIOCGAXES,4,2 ## @JSIOCGAXES
.comm _JSIOCGBUTTONS,4,2 ## @JSIOCGBUTTONS
.comm _JSIOCGVERSION,4,2 ## @JSIOCGVERSION
.comm _O_NONBLOCK,4,2 ## @O_NONBLOCK
.comm _O_RDONLY,4,2 ## @O_RDONLY
.comm __glfw,8,3 ## @_glfw
.no_dead_strip _openJoystickDevice
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function openJoystickDevice
_openJoystickDevice: ; @openJoystickDevice
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.comm _GLFW_JOYSTICK_1,4,2 ; @GLFW_JOYSTICK_1
.comm _GLFW_JOYSTICK_LAST,4,2 ; @GLFW_JOYSTICK_LAST
.comm _GL_TRUE,8,3 ; @GL_TRUE
.comm _JSIOCGAXES,4,2 ; @JSIOCGAXES
.comm _JSIOCGBUTTONS,4,2 ; @JSIOCGBUTTONS
.comm _JSIOCGVERSION,4,2 ; @JSIOCGVERSION
.comm _O_NONBLOCK,4,2 ; @O_NONBLOCK
.comm _O_RDONLY,4,2 ; @O_RDONLY
.comm __glfw,8,3 ; @_glfw
.no_dead_strip _openJoystickDevice
.subsections_via_symbols
| assembly_file_78361.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function usba_vbus_irq_thread
_usba_vbus_irq_thread: ## @usba_vbus_irq_thread
.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
movl $10, %edi
callq _udelay
leaq 8(%rbx), %r14
movq %r14, %rdi
callq _mutex_lock
movq %rbx, %rdi
callq _vbus_is_present
cmpl (%rbx), %eax
je LBB0_6
## %bb.1:
movl %eax, %r15d
testl %eax, %eax
je LBB0_3
## %bb.2:
movq %rbx, %rdi
callq _usba_start
jmp LBB0_5
LBB0_3:
movl $0, 4(%rbx)
movq %rbx, %rdi
callq _usba_stop
movq 16(%rbx), %rax
movq (%rax), %rax
testq %rax, %rax
je LBB0_5
## %bb.4:
leaq 12(%rbx), %rdi
callq *%rax
LBB0_5:
movl %r15d, (%rbx)
LBB0_6:
movq %r14, %rdi
callq _mutex_unlock
movq _IRQ_HANDLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED
.no_dead_strip _usba_vbus_irq_thread
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function usba_vbus_irq_thread
_usba_vbus_irq_thread: ; @usba_vbus_irq_thread
.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 w0, #10
bl _udelay
add x20, x19, #8
mov x0, x20
bl _mutex_lock
mov x0, x19
bl _vbus_is_present
ldr w8, [x19]
cmp w0, w8
b.eq LBB0_6
; %bb.1:
mov x21, x0
cbz w0, LBB0_3
; %bb.2:
mov x0, x19
bl _usba_start
b LBB0_5
LBB0_3:
str wzr, [x19, #4]
mov x0, x19
bl _usba_stop
ldr x8, [x19, #16]
ldr x8, [x8]
cbz x8, LBB0_5
; %bb.4:
add x0, x19, #12
blr x8
LBB0_5:
str w21, [x19]
LBB0_6:
mov x0, x20
bl _mutex_unlock
Lloh0:
adrp x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED
.no_dead_strip _usba_vbus_irq_thread
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/gadget/udc/extr_atmel_usba_udc.c_usba_vbus_irq_thread.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function macio_adb_reset_bus
_macio_adb_reset_bus: ## @macio_adb_reset_bus
.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 _macio_lock@GOTPCREL(%rip), %rdi
callq _spin_lock_irqsave
movq _adb@GOTPCREL(%rip), %r15
movq (%r15), %r14
movq %r14, %rdi
callq _in_8
movq _ADB_RST@GOTPCREL(%rip), %r12
orl (%r12), %eax
movq %r14, %rdi
movl %eax, %esi
callq _out_8
movl $-1000000, %ebx ## imm = 0xFFF0BDC0
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rdi
callq _in_8
testl %eax, (%r12)
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
incl %ebx
jne LBB0_1
## %bb.3:
movq (%r15), %r14
movq %r14, %rdi
callq _in_8
movl (%r12), %esi
notl %esi
andl %eax, %esi
movq %r14, %rdi
callq _out_8
movl $-1, %eax
jmp LBB0_5
LBB0_4:
movq _macio_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock_irqrestore
xorl %eax, %eax
LBB0_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _macio_lock,4,2 ## @macio_lock
.comm _adb,8,3 ## @adb
.comm _ADB_RST,4,2 ## @ADB_RST
.no_dead_strip _macio_adb_reset_bus
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function macio_adb_reset_bus
_macio_adb_reset_bus: ; @macio_adb_reset_bus
.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, _macio_lock@GOTPAGE
Lloh1:
ldr x0, [x0, _macio_lock@GOTPAGEOFF]
bl _spin_lock_irqsave
Lloh2:
adrp x20, _adb@GOTPAGE
Lloh3:
ldr x20, [x20, _adb@GOTPAGEOFF]
ldr x19, [x20]
mov x0, x19
bl _in_8
Lloh4:
adrp x21, _ADB_RST@GOTPAGE
Lloh5:
ldr x21, [x21, _ADB_RST@GOTPAGEOFF]
ldr w8, [x21]
orr w1, w8, w0
mov x0, x19
bl _out_8
mov w19, #48576
movk w19, #65520, lsl #16
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [x20]
bl _in_8
ldr w8, [x21]
tst w8, w0
b.eq LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
adds w19, w19, #1
b.lo LBB0_1
; %bb.3:
ldr x19, [x20]
mov x0, x19
bl _in_8
ldr w8, [x21]
bic w1, w0, w8
mov x0, x19
bl _out_8
mov w0, #-1
b LBB0_5
LBB0_4:
Lloh6:
adrp x0, _macio_lock@GOTPAGE
Lloh7:
ldr x0, [x0, _macio_lock@GOTPAGEOFF]
bl _spin_unlock_irqrestore
mov w0, #0
LBB0_5:
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 Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _macio_lock,4,2 ; @macio_lock
.comm _adb,8,3 ; @adb
.comm _ADB_RST,4,2 ; @ADB_RST
.no_dead_strip _macio_adb_reset_bus
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/macintosh/extr_macio-adb.c_macio_adb_reset_bus.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function approx_half
_approx_half: ## @approx_half
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
xorl %eax, %eax
cmpl $5, %edi
jl LBB0_3
## %bb.1:
cmpl $5, %esi
jl LBB0_3
## %bb.2:
leal (,%rsi,8), %eax
cltq
imulq $1717986919, %rax, %rax ## imm = 0x66666667
movq %rax, %rcx
shrq $63, %rcx
sarq $35, %rax
addl %ecx, %eax
shll $2, %esi
leal (%rsi,%rsi,2), %ecx
movslq %ecx, %rcx
imulq $1717986919, %rcx, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $35, %rcx
addl %edx, %ecx
cmpl %edi, %eax
setl %al
cmpl %edi, %ecx
setge %cl
andb %al, %cl
movzbl %cl, %eax
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _approx_half
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function approx_half
_approx_half: ; @approx_half
.cfi_startproc
; %bb.0:
mov w8, #0
cmp w0, #5
b.lt LBB0_3
; %bb.1:
cmp w1, #5
b.lt LBB0_3
; %bb.2:
lsl w8, w1, #3
mov w9, #26215
movk w9, #26214, lsl #16
smull x8, w8, w9
lsr x10, x8, #63
asr x8, x8, #35
add w11, w1, w1, lsl #1
lsl w11, w11, #2
smull x9, w11, w9
lsr x11, x9, #63
asr x9, x9, #35
add w9, w9, w11
add w8, w8, w10
cmp w8, w0
ccmp w9, w0, #8, lt
cset w8, ge
LBB0_3:
mov x0, x8
ret
.cfi_endproc
; -- End function
.no_dead_strip _approx_half
.subsections_via_symbols
| AnghaBench/linux/drivers/input/mouse/extr_hgpk.c_approx_half.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _isc_file_safemovefile ## -- Begin function isc_file_safemovefile
.p2align 4, 0x90
_isc_file_safemovefile: ## @isc_file_safemovefile
.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 $544, %rsp ## imm = 0x220
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %r12
leaq -564(%rbp), %rsi
callq _stat
testq %rax, %rax
je LBB0_6
## %bb.1:
movq _ENOENT@GOTPCREL(%rip), %rax
LBB0_2:
movl (%rax), %eax
movq _errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
LBB0_3:
movl $-1, %eax
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -40(%rbp), %rcx
jne LBB0_17
## %bb.5:
addq $544, %rsp ## imm = 0x220
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
leaq -564(%rbp), %rsi
movq %rbx, %rdi
callq _stat
testq %rax, %rax
jne LBB0_10
## %bb.7:
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %r12
leaq -560(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq _strcpy
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _strcat
movq %r15, %rdi
callq _mkstemp
testl %eax, %eax
jle LBB0_9
## %bb.8:
movl %eax, %edi
callq __close
LBB0_9:
movq %r15, %rdi
callq _DeleteFile
movq __S_IREAD@GOTPCREL(%rip), %rax
movq __S_IWRITE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
andl (%rax), %esi
movq %rbx, %rdi
callq __chmod
movq %rbx, %rdi
movq %r15, %rsi
callq _MoveFile
LBB0_10:
movq __S_IREAD@GOTPCREL(%rip), %rax
movq __S_IWRITE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
movq %r14, %rdi
callq __chmod
movq %r14, %rdi
movq %rbx, %rsi
callq _MoveFile
movq _TRUE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
testq %rax, %rax
je LBB0_13
## %bb.11:
xorl %eax, %eax
cmpq %rcx, %r12
jne LBB0_4
## %bb.12:
leaq -560(%rbp), %rdi
callq _DeleteFile
xorl %eax, %eax
jmp LBB0_4
LBB0_13:
movl $-1, %eax
cmpq %rcx, %r12
jne LBB0_4
## %bb.14:
leaq -560(%rbp), %rdi
movq %rbx, %rsi
callq _MoveFile
testq %rax, %rax
jne LBB0_3
## %bb.16:
movq _EACCES@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_17:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _ENOENT,4,2 ## @ENOENT
.comm _errno,4,2 ## @errno
.comm _TRUE,8,3 ## @TRUE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ".XXXXX"
.comm __S_IREAD,4,2 ## @_S_IREAD
.comm __S_IWRITE,4,2 ## @_S_IWRITE
.comm _EACCES,4,2 ## @EACCES
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _isc_file_safemovefile ; -- Begin function isc_file_safemovefile
.p2align 2
_isc_file_safemovefile: ; @isc_file_safemovefile
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-80]! ; 16-byte Folded Spill
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
sub sp, sp, #528
.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 w27, -72
.cfi_offset w28, -80
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh3:
adrp x8, _FALSE@GOTPAGE
Lloh4:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
ldr x21, [x8]
add x1, sp, #4
bl _stat
cbz x0, LBB0_4
; %bb.1:
Lloh6:
adrp x8, _ENOENT@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_2:
ldr w8, [x8]
Lloh8:
adrp x9, _errno@GOTPAGE
Lloh9:
ldr x9, [x9, _errno@GOTPAGEOFF]
Lloh10:
str w8, [x9]
LBB0_3:
mov w0, #-1 ; =0xffffffff
b LBB0_12
LBB0_4:
add x1, sp, #4
mov x0, x19
bl _stat
Lloh11:
adrp x22, _TRUE@GOTPAGE
Lloh12:
ldr x22, [x22, _TRUE@GOTPAGEOFF]
Lloh13:
adrp x23, __S_IREAD@GOTPAGE
Lloh14:
ldr x23, [x23, __S_IREAD@GOTPAGEOFF]
Lloh15:
adrp x24, __S_IWRITE@GOTPAGE
Lloh16:
ldr x24, [x24, __S_IWRITE@GOTPAGEOFF]
cbnz x0, LBB0_8
; %bb.5:
ldr x21, [x22]
add x0, sp, #8
mov x1, x19
bl _strcpy
Lloh17:
adrp x1, l_.str@PAGE
Lloh18:
add x1, x1, l_.str@PAGEOFF
add x0, sp, #8
bl _strcat
add x0, sp, #8
bl _mkstemp
cmp w0, #1
b.lt LBB0_7
; %bb.6:
bl __close
LBB0_7:
add x0, sp, #8
bl _DeleteFile
ldr w8, [x23]
ldr w9, [x24]
and w1, w9, w8
mov x0, x19
bl __chmod
add x1, sp, #8
mov x0, x19
bl _MoveFile
LBB0_8:
ldr w8, [x23]
ldr w9, [x24]
orr w1, w9, w8
mov x0, x20
bl __chmod
mov x0, x20
mov x1, x19
bl _MoveFile
ldr x8, [x22]
cmp x21, x8
cbz x0, LBB0_14
; %bb.9:
b.ne LBB0_11
; %bb.10:
add x0, sp, #8
bl _DeleteFile
LBB0_11:
mov w0, #0 ; =0x0
LBB0_12:
ldur x8, [x29, #-72]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_17
; %bb.13:
add sp, sp, #528
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 x28, x27, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_14:
b.ne LBB0_3
; %bb.15:
add x0, sp, #8
mov x1, x19
bl _MoveFile
cbnz x0, LBB0_3
; %bb.16:
Lloh22:
adrp x8, _EACCES@GOTPAGE
Lloh23:
ldr x8, [x8, _EACCES@GOTPAGEOFF]
b LBB0_2
LBB0_17:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _ENOENT,4,2 ; @ENOENT
.comm _errno,4,2 ; @errno
.comm _TRUE,8,3 ; @TRUE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ".XXXXX"
.comm __S_IREAD,4,2 ; @_S_IREAD
.comm __S_IWRITE,4,2 ; @_S_IWRITE
.comm _EACCES,4,2 ; @EACCES
.subsections_via_symbols
| assembly_file_74596.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mon_text_read_head_u
_mon_text_read_head_u: ## @mon_text_read_head_u
.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
movl (%rdx), %esi
movl 4(%rdx), %r10d
leal -1024(,%rsi,8), %ecx
## kill: def $esi killed $esi killed $rsi
addl $-128, %esi
movl $4409690, %edi ## imm = 0x43495A
## kill: def $cl killed $cl killed $ecx
shrl %cl, %edi
cmpl $3, %esi
movl $66, %eax
cmovbl %edi, %eax
movq (%r15), %rcx
movq 8(%r15), %rsi
movq 16(%r15), %rdi
addq %rcx, %rdi
subq %rcx, %rsi
cmpq $0, 32(%rdx)
movl 24(%rdx), %ecx
movl 20(%rdx), %r8d
movl 16(%rdx), %r9d
movl 12(%rdx), %r11d
movl 8(%rdx), %r14d
movl $111, %edx
movl $105, %ebx
cmovel %edx, %ebx
subq $8, %rsp
movsbl %al, %eax
leaq L_.str(%rip), %rdx
pushq %r10
pushq %r14
pushq %r11
pushq %rbx
pushq %rax
callq _snprintf
addq $48, %rsp
addq %rax, (%r15)
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 "%lx %u %c %c%c:%d:%03u:%u"
.no_dead_strip _mon_text_read_head_u
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mon_text_read_head_u
_mon_text_read_head_u: ; @mon_text_read_head_u
.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, x1
ldr x8, [x2, #32]
ldp w9, w10, [x2]
sub w9, w9, #128
lsl w11, w9, #3
and x11, x11, #0xfffff8
mov w12, #18778
movk w12, #67, lsl #16
lsr w11, w12, w11
mov w12, #66
cmp w9, #3
csel w9, w11, w12, lo
ldp x13, x11, [x1, #8]
ldr x12, [x1]
add x0, x12, x11
sub x1, x13, x12
ldp w4, w3, [x2, #20]
ldp w11, w5, [x2, #12]
ldr w12, [x2, #8]
stp w12, w10, [sp, #4]
cmp x8, #0
mov w8, #105
mov w10, #111
str w11, [sp]
csel w7, w10, w8, eq
sxtb w6, w9
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
bl _snprintf
ldr x8, [x19]
add x8, x8, x0
str x8, [x19]
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 Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%lx %u %c %c%c:%d:%03u:%u"
.no_dead_strip _mon_text_read_head_u
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/usb/mon/extr_mon_text.c_mon_text_read_head_u.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function exynos_plane_atomic_check
_exynos_plane_atomic_check: ## @exynos_plane_atomic_check
.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
callq _to_exynos_plane
movq %rax, %r14
movq %rbx, %rdi
callq _to_exynos_plane_state
movq %rax, %r15
xorl %eax, %eax
cmpl $0, 4(%rbx)
je LBB0_3
## %bb.1:
cmpl $0, (%rbx)
je LBB0_3
## %bb.2:
movq %r15, %rdi
callq _exynos_plane_mode_set
movl (%r14), %edi
movq %r15, %rsi
callq _exynos_drm_plane_check_format
testl %eax, %eax
je LBB0_4
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movl (%r14), %edi
movq %r15, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _exynos_drm_plane_check_size ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _exynos_plane_atomic_check
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function exynos_plane_atomic_check
_exynos_plane_atomic_check: ; @exynos_plane_atomic_check
.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
bl _to_exynos_plane
mov x19, x0
mov x0, x21
bl _to_exynos_plane_state
ldr w8, [x21, #4]
cbz w8, LBB0_4
; %bb.1:
ldr w8, [x21]
cbz w8, LBB0_4
; %bb.2:
mov x20, x0
bl _exynos_plane_mode_set
ldr w0, [x19]
mov x1, x20
bl _exynos_drm_plane_check_format
cbnz w0, LBB0_5
; %bb.3:
ldr w0, [x19]
mov x1, 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
b _exynos_drm_plane_check_size
LBB0_4:
mov w0, #0
LBB0_5:
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 _exynos_plane_atomic_check
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/exynos/extr_exynos_drm_plane.c_exynos_plane_atomic_check.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rds_trans_get_preferred ## -- Begin function rds_trans_get_preferred
.p2align 4, 0x90
_rds_trans_get_preferred: ## @rds_trans_get_preferred
.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, -44(%rbp) ## 4-byte Spill
movq %rsi, %r12
movq %rdi, %r15
movq %rsi, %rdi
callq _ipv6_addr_v4mapped
testq %rax, %rax
je LBB0_3
## %bb.1:
movq (%r12), %rax
movq 12(%rax), %rax
movq _IN_LOOPBACKNET@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_2
LBB0_5:
movq _rds_trans_sem@GOTPCREL(%rip), %rdi
callq _down_read
movq _RDS_TRANS_COUNT@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_12
## %bb.6:
movq _transports@GOTPCREL(%rip), %r14
xorl %r13d, %r13d
jmp LBB0_8
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_8 Depth=1
incq %r13
movq _RDS_TRANS_COUNT@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpq %rax, %r13
jae LBB0_12
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movq (%rax,%r13,8), %rbx
testq %rbx, %rbx
je LBB0_7
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq %r15, %rdi
movq %r12, %rsi
movl -44(%rbp), %edx ## 4-byte Reload
callq *(%rbx)
testq %rax, %rax
jne LBB0_7
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movl 8(%rbx), %edi
testl %edi, %edi
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
callq _try_module_get
testq %rax, %rax
je LBB0_7
jmp LBB0_13
LBB0_3:
movq %r12, %rdi
callq _ipv6_addr_loopback
testq %rax, %rax
je LBB0_5
LBB0_2:
movq _rds_loop_transport@GOTPCREL(%rip), %rbx
jmp LBB0_14
LBB0_12:
xorl %ebx, %ebx
LBB0_13:
movq _rds_trans_sem@GOTPCREL(%rip), %rdi
callq _up_read
LBB0_14:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IN_LOOPBACKNET,8,3 ## @IN_LOOPBACKNET
.comm _rds_loop_transport,16,3 ## @rds_loop_transport
.comm _rds_trans_sem,4,2 ## @rds_trans_sem
.comm _RDS_TRANS_COUNT,4,2 ## @RDS_TRANS_COUNT
.comm _transports,8,3 ## @transports
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rds_trans_get_preferred ; -- Begin function rds_trans_get_preferred
.p2align 2
_rds_trans_get_preferred: ; @rds_trans_get_preferred
.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
mov x20, x1
mov x21, x0
mov x0, x1
bl _ipv6_addr_v4mapped
cbz x0, LBB0_9
; %bb.1:
ldr x8, [x20]
ldur x8, [x8, #12]
Lloh0:
adrp x9, _IN_LOOPBACKNET@GOTPAGE
Lloh1:
ldr x9, [x9, _IN_LOOPBACKNET@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_10
LBB0_2:
Lloh3:
adrp x0, _rds_trans_sem@GOTPAGE
Lloh4:
ldr x0, [x0, _rds_trans_sem@GOTPAGEOFF]
bl _down_read
Lloh5:
adrp x23, _RDS_TRANS_COUNT@GOTPAGE
Lloh6:
ldr x23, [x23, _RDS_TRANS_COUNT@GOTPAGEOFF]
ldr w8, [x23]
cbz w8, LBB0_11
; %bb.3:
mov x24, #0
Lloh7:
adrp x25, _transports@GOTPAGE
Lloh8:
ldr x25, [x25, _transports@GOTPAGEOFF]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x24, x24, #1
ldr w8, [x23]
cmp x24, x8
b.hs LBB0_11
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x25]
ldr x22, [x8, x24, lsl #3]
cbz x22, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x22]
mov x0, x21
mov x1, x20
mov x2, x19
blr x8
cbnz x0, LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr w0, [x22, #8]
cbz w0, LBB0_12
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
bl _try_module_get
cbz x0, LBB0_4
b LBB0_12
LBB0_9:
mov x0, x20
bl _ipv6_addr_loopback
cbz x0, LBB0_2
LBB0_10:
Lloh9:
adrp x22, _rds_loop_transport@GOTPAGE
Lloh10:
ldr x22, [x22, _rds_loop_transport@GOTPAGEOFF]
b LBB0_13
LBB0_11:
mov x22, #0
LBB0_12:
Lloh11:
adrp x0, _rds_trans_sem@GOTPAGE
Lloh12:
ldr x0, [x0, _rds_trans_sem@GOTPAGEOFF]
bl _up_read
LBB0_13:
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
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _IN_LOOPBACKNET,8,3 ; @IN_LOOPBACKNET
.comm _rds_loop_transport,16,3 ; @rds_loop_transport
.comm _rds_trans_sem,4,2 ; @rds_trans_sem
.comm _RDS_TRANS_COUNT,4,2 ; @RDS_TRANS_COUNT
.comm _transports,8,3 ; @transports
.subsections_via_symbols
| AnghaBench/linux/net/rds/extr_transport.c_rds_trans_get_preferred.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dc_capture_get_dc
_dc_capture_get_dc: ## @dc_capture_get_dc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $0, 24(%rdi)
je LBB0_1
## %bb.2:
cmpq $0, 16(%rdi)
je LBB0_5
## %bb.3:
movq 8(%rdi), %rax
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
LBB0_5:
movl (%rdi), %edi
popq %rbp
jmp _gs_texture_get_dc ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _dc_capture_get_dc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dc_capture_get_dc
_dc_capture_get_dc: ; @dc_capture_get_dc
.cfi_startproc
; %bb.0:
ldr w8, [x0, #24]
cbz w8, LBB0_3
; %bb.1:
ldr x8, [x0, #16]
cbz x8, LBB0_4
; %bb.2:
ldr x0, [x0, #8]
ret
LBB0_3:
mov x0, #0
ret
LBB0_4:
ldr w0, [x0]
b _gs_texture_get_dc
.cfi_endproc
; -- End function
.no_dead_strip _dc_capture_get_dc
.subsections_via_symbols
| AnghaBench/obs-studio/plugins/win-capture/extr_dc-capture.c_dc_capture_get_dc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pfsync_in_ureq
_pfsync_in_ureq: ## @pfsync_in_ureq
.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 %ecx, %ebx
movq %rsi, %rdi
movl %ecx, %r14d
shll $4, %r14d
leaq -44(%rbp), %rcx
movl %edx, %esi
movl %r14d, %edx
callq _m_pulldown
testq %rax, %rax
je LBB0_1
## %bb.2:
testl %ebx, %ebx
jle LBB0_12
## %bb.3:
movslq -44(%rbp), %r15
addq (%rax), %r15
movl %ebx, %r12d
addq $8, %r15
shlq $4, %r12
xorl %r13d, %r13d
jmp LBB0_4
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_4 Depth=1
xorl %eax, %eax
callq _pfsync_bulk_start
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
addq $16, %r13
cmpq %r13, %r12
je LBB0_12
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq -8(%r15,%r13), %rdi
movq (%r15,%r13), %rsi
movq %rdi, %rax
orq %rsi, %rax
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
callq _pf_find_state_byid
testq %rax, %rax
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %rbx
movq _PFSTATE_NOSYNC@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movq %rbx, %rdi
callq _pfsync_update_state_req
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movq %rbx, %rdi
callq _PF_STATE_UNLOCK
jmp LBB0_11
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movq _V_pfsyncstats@GOTPCREL(%rip), %rax
incl (%rax)
jmp LBB0_11
LBB0_1:
movq _V_pfsyncstats@GOTPCREL(%rip), %rax
incl 4(%rax)
movl $-1, %r14d
LBB0_12:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _V_pfsyncstats,8,2 ## @V_pfsyncstats
.comm _PFSTATE_NOSYNC,4,2 ## @PFSTATE_NOSYNC
.no_dead_strip _pfsync_in_ureq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pfsync_in_ureq
_pfsync_in_ureq: ; @pfsync_in_ureq
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.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
mov x20, x3
mov x0, x1
lsl w19, w3, #4
add x3, sp, #12
mov x1, x2
mov x2, x19
bl _m_pulldown
cbz x0, LBB0_11
; %bb.1:
cmp w20, #1
b.lt LBB0_12
; %bb.2:
ldr x8, [x0]
ldrsw x9, [sp, #12]
add x8, x8, x9
mov w21, w20
add x22, x8, #8
Lloh0:
adrp x23, _V_pfsyncstats@GOTPAGE
Lloh1:
ldr x23, [x23, _V_pfsyncstats@GOTPAGEOFF]
Lloh2:
adrp x24, _PFSTATE_NOSYNC@GOTPAGE
Lloh3:
ldr x24, [x24, _PFSTATE_NOSYNC@GOTPAGEOFF]
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
bl _pfsync_bulk_start
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x22, x22, #16
subs x21, x21, #1
b.eq LBB0_12
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldp x0, x1, [x22, #-8]
orr x8, x0, x1
cbz x8, LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
bl _pf_find_state_byid
cbz x0, LBB0_10
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x20, x0
ldr w8, [x0]
ldr w9, [x24]
tst w9, w8
b.ne LBB0_9
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
mov x0, x20
bl _pfsync_update_state_req
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
mov x0, x20
bl _PF_STATE_UNLOCK
b LBB0_4
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x23]
add w8, w8, #1
str w8, [x23]
b LBB0_4
LBB0_11:
Lloh4:
adrp x8, _V_pfsyncstats@GOTPAGE
Lloh5:
ldr x8, [x8, _V_pfsyncstats@GOTPAGEOFF]
ldr w9, [x8, #4]
add w9, w9, #1
str w9, [x8, #4]
mov w19, #-1
LBB0_12:
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
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _V_pfsyncstats,8,2 ; @V_pfsyncstats
.comm _PFSTATE_NOSYNC,4,2 ; @PFSTATE_NOSYNC
.no_dead_strip _pfsync_in_ureq
.subsections_via_symbols
| AnghaBench/freebsd/sys/netpfil/pf/extr_if_pfsync.c_pfsync_in_ureq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx5_port_query_eth_proto ## -- Begin function mlx5_port_query_eth_proto
.p2align 4, 0x90
_mlx5_port_query_eth_proto: ## @mlx5_port_query_eth_proto
.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 %rcx, %r15
movl %edx, -52(%rbp) ## 4-byte Spill
movl %esi, %r12d
movq %rdi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _ptys_reg@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _MLX5_ST_SZ_DW
movl %eax, %r14d
movl %eax, %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
testq %r15, %r15
je LBB0_1
## %bb.2:
shll $2, %r14d
movq _MLX5_PTYS_EN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r13, %rdi
movq %rbx, %rsi
movl %r14d, %edx
movl %r12d, %r8d
callq _mlx5_query_port_ptys
testl %eax, %eax
jne LBB0_4
## %bb.3:
movq _ptys_reg@GOTPCREL(%rip), %r12
movl (%r12), %edi
movq _eth_proto_capability@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rbx, %rsi
movl -52(%rbp), %r14d ## 4-byte Reload
movl %r14d, %edx
callq _MLX5_GET_ETH_PROTO
movq %rax, 16(%r15)
movl (%r12), %edi
movq _eth_proto_admin@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rbx, %rsi
movl %r14d, %edx
callq _MLX5_GET_ETH_PROTO
movq %rax, 8(%r15)
movl (%r12), %edi
movq _eth_proto_oper@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rbx, %rsi
movl %r14d, %edx
callq _MLX5_GET_ETH_PROTO
movq %rax, (%r15)
xorl %eax, %eax
jmp LBB0_4
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_6
## %bb.5:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ptys_reg,4,2 ## @ptys_reg
.comm _EINVAL,4,2 ## @EINVAL
.comm _MLX5_PTYS_EN,4,2 ## @MLX5_PTYS_EN
.comm _eth_proto_capability,4,2 ## @eth_proto_capability
.comm _eth_proto_admin,4,2 ## @eth_proto_admin
.comm _eth_proto_oper,4,2 ## @eth_proto_oper
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx5_port_query_eth_proto ; -- Begin function mlx5_port_query_eth_proto
.p2align 2
_mlx5_port_query_eth_proto: ; @mlx5_port_query_eth_proto
.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
sub sp, sp, #16
mov x19, x3
mov x20, x2
mov x22, x1
mov x23, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x24, _ptys_reg@GOTPAGE
Lloh4:
ldr x24, [x24, _ptys_reg@GOTPAGEOFF]
ldr w0, [x24]
bl _MLX5_ST_SZ_DW
mov w8, w0
lsl x8, x8, #2
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x21, x9, x8
mov sp, x21
cbz x19, LBB0_3
; %bb.1:
lsl w2, w0, #2
Lloh7:
adrp x8, _MLX5_PTYS_EN@GOTPAGE
Lloh8:
ldr x8, [x8, _MLX5_PTYS_EN@GOTPAGEOFF]
Lloh9:
ldr w3, [x8]
mov x0, x23
mov x1, x21
mov x4, x22
bl _mlx5_query_port_ptys
cbnz w0, LBB0_4
; %bb.2:
ldr w0, [x24]
Lloh10:
adrp x8, _eth_proto_capability@GOTPAGE
Lloh11:
ldr x8, [x8, _eth_proto_capability@GOTPAGEOFF]
Lloh12:
ldr w3, [x8]
mov x1, x21
mov x2, x20
bl _MLX5_GET_ETH_PROTO
str x0, [x19, #16]
ldr w0, [x24]
Lloh13:
adrp x8, _eth_proto_admin@GOTPAGE
Lloh14:
ldr x8, [x8, _eth_proto_admin@GOTPAGEOFF]
Lloh15:
ldr w3, [x8]
mov x1, x21
mov x2, x20
bl _MLX5_GET_ETH_PROTO
str x0, [x19, #8]
ldr w0, [x24]
Lloh16:
adrp x8, _eth_proto_oper@GOTPAGE
Lloh17:
ldr x8, [x8, _eth_proto_oper@GOTPAGEOFF]
Lloh18:
ldr w3, [x8]
mov x1, x21
mov x2, x20
bl _MLX5_GET_ETH_PROTO
mov x8, x0
mov w0, #0
str x8, [x19]
b LBB0_4
LBB0_3:
Lloh19:
adrp x8, _EINVAL@GOTPAGE
Lloh20:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
neg w0, w8
LBB0_4:
ldur x8, [x29, #-56]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_6
; %bb.5:
sub sp, x29, #48
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
LBB0_6:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _ptys_reg,4,2 ; @ptys_reg
.comm _EINVAL,4,2 ; @EINVAL
.comm _MLX5_PTYS_EN,4,2 ; @MLX5_PTYS_EN
.comm _eth_proto_capability,4,2 ; @eth_proto_capability
.comm _eth_proto_admin,4,2 ; @eth_proto_admin
.comm _eth_proto_oper,4,2 ; @eth_proto_oper
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/en/extr_port.c_mlx5_port_query_eth_proto.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function xml_escape_cdata
_xml_escape_cdata: ## @xml_escape_cdata
.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, %r15
movq %rdi, %rbx
movslq %edx, %r14
cmpq $0, (%rdi)
jne LBB0_2
## %bb.1:
movq %rcx, %rdi
callq _svn_stringbuf_create_empty
movq %rax, (%rbx)
LBB0_2:
movq %r15, %r13
subq %r14, %r13
movabsq $5764607797912150016, %r12 ## imm = 0x5000004000002000
jmp LBB0_3
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str.3(%rip), %rsi
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movq (%rbx), %rdi
callq _svn_stringbuf_appendcstr
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
incq %r14
movq %r14, %r15
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movq %r15, %rax
jmp LBB0_4
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
decq %r14
movq %r14, %rax
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, %r14
cmpq %r13, %rax
jb LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movzbl (%r14), %eax
cmpq $62, %rax
ja LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
btq %rax, %r12
jae LBB0_7
## %bb.8: ## in Loop: Header=BB0_4 Depth=2
movq (%rbx), %rdi
movl %r14d, %edx
subl %r15d, %edx
movq %r15, %rsi
callq _svn_stringbuf_appendbytes
movq %r15, %rax
cmpq %r13, %r14
je LBB0_4
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movzbl (%r14), %eax
cmpl $59, %eax
jg LBB0_12
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
cmpl $13, %eax
je LBB0_16
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str(%rip), %rsi
cmpl $38, %eax
je LBB0_17
jmp LBB0_18
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
cmpl $62, %eax
je LBB0_15
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
cmpl $60, %eax
jne LBB0_18
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str.1(%rip), %rsi
jmp LBB0_17
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str.2(%rip), %rsi
jmp LBB0_17
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "&"
L_.str.1: ## @.str.1
.asciz "<"
L_.str.2: ## @.str.2
.asciz ">"
L_.str.3: ## @.str.3
.asciz " "
.no_dead_strip _xml_escape_cdata
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function xml_escape_cdata
_xml_escape_cdata: ; @xml_escape_cdata
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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 x21, x2
mov x20, x1
mov x19, x0
ldr x8, [x0]
cbnz x8, LBB0_2
; %bb.1:
mov x0, x3
bl _svn_stringbuf_create_empty
str x0, [x19]
LBB0_2:
sub x21, x20, w21, sxtw
mov w22, #1 ; =0x1
mov x23, #8192 ; =0x2000
movk x23, #64, lsl #32
movk x23, #20480, lsl #48
Lloh0:
adrp x24, l_.str@PAGE
Lloh1:
add x24, x24, l_.str@PAGEOFF
Lloh2:
adrp x25, l_.str.3@PAGE
Lloh3:
add x25, x25, l_.str.3@PAGEOFF
Lloh4:
adrp x26, l_.str.2@PAGE
Lloh5:
add x26, x26, l_.str.2@PAGEOFF
Lloh6:
adrp x27, l_.str.1@PAGE
Lloh7:
add x27, x27, l_.str.1@PAGEOFF
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
mov x1, x25
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [x19]
bl _svn_stringbuf_appendcstr
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x20, x28, #1
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
mov x8, x20
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
sub x8, x28, #1
LBB0_8: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
mov x28, x8
cmp x8, x21
b.lo LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
ldrb w8, [x28]
cmp w8, #62
lsl x8, x22, x8
and x8, x8, x23
ccmp x8, #0, #4, ls
b.eq LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
ldr x0, [x19]
sub w2, w28, w20
mov x1, x20
bl _svn_stringbuf_appendbytes
mov x8, x20
cmp x28, x21
b.eq LBB0_8
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
ldrb w8, [x28]
cmp w8, #59
b.gt LBB0_14
; %bb.12: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #13
b.eq LBB0_3
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
mov x1, x24
cmp w8, #38
b.eq LBB0_4
b LBB0_5
LBB0_14: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #62
b.eq LBB0_17
; %bb.15: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #60
b.ne LBB0_5
; %bb.16: ; in Loop: Header=BB0_6 Depth=1
mov x1, x27
b LBB0_4
LBB0_17: ; in Loop: Header=BB0_6 Depth=1
mov x1, x26
b LBB0_4
.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 "&"
l_.str.1: ; @.str.1
.asciz "<"
l_.str.2: ; @.str.2
.asciz ">"
l_.str.3: ; @.str.3
.asciz " "
.no_dead_strip _xml_escape_cdata
.subsections_via_symbols
| assembly_file_97575.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function viper_ack_irq
_viper_ack_irq: ## @viper_ack_irq
.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
callq _viper_irq_to_bitmask
testb %al, %al
je LBB0_2
## %bb.1:
movq _VIPER_LO_IRQ_STATUS@GOTPCREL(%rip), %rcx
jmp LBB0_3
LBB0_2:
sarl $8, %eax
movq _VIPER_HI_IRQ_STATUS@GOTPCREL(%rip), %rcx
LBB0_3:
movl %eax, (%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VIPER_LO_IRQ_STATUS,4,2 ## @VIPER_LO_IRQ_STATUS
.comm _VIPER_HI_IRQ_STATUS,4,2 ## @VIPER_HI_IRQ_STATUS
.no_dead_strip _viper_ack_irq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function viper_ack_irq
_viper_ack_irq: ; @viper_ack_irq
.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
ldr w0, [x0]
bl _viper_irq_to_bitmask
tst w0, #0xff
b.eq LBB0_2
; %bb.1:
Lloh0:
adrp x8, _VIPER_LO_IRQ_STATUS@GOTPAGE
Lloh1:
ldr x8, [x8, _VIPER_LO_IRQ_STATUS@GOTPAGEOFF]
Lloh2:
str w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
asr w8, w0, #8
Lloh3:
adrp x9, _VIPER_HI_IRQ_STATUS@GOTPAGE
Lloh4:
ldr x9, [x9, _VIPER_HI_IRQ_STATUS@GOTPAGEOFF]
Lloh5:
str w8, [x9]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _VIPER_LO_IRQ_STATUS,4,2 ; @VIPER_LO_IRQ_STATUS
.comm _VIPER_HI_IRQ_STATUS,4,2 ; @VIPER_HI_IRQ_STATUS
.no_dead_strip _viper_ack_irq
.subsections_via_symbols
| AnghaBench/linux/arch/arm/mach-pxa/extr_viper.c_viper_ack_irq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function write_metadata
_write_metadata: ## @write_metadata
.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 %ecx, %r14d
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r12
movq _ff_id3v2_34_metadata_conv@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
xorl %edx, %edx
callq _ff_metadata_conv
movl (%r13), %eax
cmpl $4, %eax
je LBB0_3
## %bb.1:
cmpl $3, %eax
jne LBB0_4
## %bb.2:
movq %r15, %rdi
callq _id3v2_3_metadata_split_date
jmp LBB0_4
LBB0_3:
movq _ff_id3v2_4_metadata_conv@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
xorl %edx, %edx
callq _ff_metadata_conv
LBB0_4:
movq (%r15), %rdi
movq _AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str(%rip), %rsi
xorl %edx, %edx
callq _av_dict_get
testq %rax, %rax
je LBB0_15
## %bb.5:
movq %rax, %rbx
jmp LBB0_8
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_8 Depth=1
movl (%rax), %ecx
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movl %r14d, %r8d
callq _id3v2_check_write_tag
testl %eax, %eax
jle LBB0_11
LBB0_7: ## in Loop: Header=BB0_8 Depth=1
addl %eax, 4(%r13)
movq (%r15), %rdi
movq _AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str(%rip), %rsi
movq %rbx, %rdx
callq _av_dict_get
movq %rax, %rbx
testq %rax, %rax
je LBB0_15
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq _ff_id3v2_tags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movl %r14d, %r8d
callq _id3v2_check_write_tag
testl %eax, %eax
jg LBB0_7
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
cmpl $3, (%r13)
movq _ff_id3v2_4_tags@GOTPCREL(%rip), %rax
jne LBB0_6
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movq _ff_id3v2_3_tags@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
movl (%rbx), %ecx
movl 4(%rbx), %edx
movq %r13, %rdi
movq %r12, %rsi
callq _id3v2_put_priv
testl %eax, %eax
jg LBB0_7
## %bb.12: ## in Loop: Header=BB0_8 Depth=1
js LBB0_16
## %bb.13: ## in Loop: Header=BB0_8 Depth=1
movl (%rbx), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl 4(%rbx), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl $84, %edi
movl $88, %esi
movl $88, %edx
movl $88, %ecx
callq _MKBETAG
movq %r13, %rdi
movq %r12, %rsi
movl -44(%rbp), %edx ## 4-byte Reload
movl -48(%rbp), %ecx ## 4-byte Reload
movl %eax, %r8d
movl %r14d, %r9d
callq _id3v2_put_ttag
testl %eax, %eax
jns LBB0_7
jmp LBB0_16
LBB0_15:
xorl %eax, %eax
LBB0_16:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ff_id3v2_34_metadata_conv,4,2 ## @ff_id3v2_34_metadata_conv
.comm _ff_id3v2_4_metadata_conv,4,2 ## @ff_id3v2_4_metadata_conv
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.comm _AV_DICT_IGNORE_SUFFIX,4,2 ## @AV_DICT_IGNORE_SUFFIX
.comm _ff_id3v2_tags,4,2 ## @ff_id3v2_tags
.comm _ff_id3v2_3_tags,4,2 ## @ff_id3v2_3_tags
.comm _ff_id3v2_4_tags,4,2 ## @ff_id3v2_4_tags
.no_dead_strip _write_metadata
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function write_metadata
_write_metadata: ; @write_metadata
.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 x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
Lloh0:
adrp x8, _ff_id3v2_34_metadata_conv@GOTPAGE
Lloh1:
ldr x8, [x8, _ff_id3v2_34_metadata_conv@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x21
mov x2, #0
bl _ff_metadata_conv
ldr w8, [x20]
cmp w8, #4
b.eq LBB0_3
; %bb.1:
cmp w8, #3
b.ne LBB0_4
; %bb.2:
mov x0, x21
bl _id3v2_3_metadata_split_date
b LBB0_4
LBB0_3:
Lloh3:
adrp x8, _ff_id3v2_4_metadata_conv@GOTPAGE
Lloh4:
ldr x8, [x8, _ff_id3v2_4_metadata_conv@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x21
mov x2, #0
bl _ff_metadata_conv
LBB0_4:
ldr x0, [x21]
Lloh6:
adrp x27, _AV_DICT_IGNORE_SUFFIX@GOTPAGE
Lloh7:
ldr x27, [x27, _AV_DICT_IGNORE_SUFFIX@GOTPAGEOFF]
ldr w3, [x27]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
mov x2, #0
bl _av_dict_get
cbz x0, LBB0_12
; %bb.5:
mov x23, x0
Lloh10:
adrp x28, _ff_id3v2_tags@GOTPAGE
Lloh11:
ldr x28, [x28, _ff_id3v2_tags@GOTPAGEOFF]
Lloh12:
adrp x24, l_.str@PAGE
Lloh13:
add x24, x24, l_.str@PAGEOFF
Lloh14:
adrp x25, _ff_id3v2_3_tags@GOTPAGE
Lloh15:
ldr x25, [x25, _ff_id3v2_3_tags@GOTPAGEOFF]
Lloh16:
adrp x26, _ff_id3v2_4_tags@GOTPAGE
Lloh17:
ldr x26, [x26, _ff_id3v2_4_tags@GOTPAGEOFF]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [x20, #4]
add w8, w8, w0
str w8, [x20, #4]
ldr x0, [x21]
ldr w3, [x27]
mov x1, x24
mov x2, x23
bl _av_dict_get
mov x23, x0
cbz x0, LBB0_12
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w3, [x28]
mov x0, x20
mov x1, x22
mov x2, x23
mov x4, x19
bl _id3v2_check_write_tag
cmp w0, #1
b.ge LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [x20]
cmp w8, #3
csel x8, x25, x26, eq
ldr w3, [x8]
mov x0, x20
mov x1, x22
mov x2, x23
mov x4, x19
bl _id3v2_check_write_tag
cmp w0, #0
b.gt LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldp w3, w2, [x23]
mov x0, x20
mov x1, x22
bl _id3v2_put_priv
cmp w0, #0
b.gt LBB0_6
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
tbnz w0, #31, LBB0_12
; %bb.11: ; in Loop: Header=BB0_7 Depth=1
ldp w26, w25, [x23]
mov w0, #84
mov w1, #88
mov w2, #88
mov w3, #88
bl _MKBETAG
mov x4, x0
mov x0, x20
mov x1, x22
mov x2, x25
Lloh18:
adrp x25, _ff_id3v2_3_tags@GOTPAGE
Lloh19:
ldr x25, [x25, _ff_id3v2_3_tags@GOTPAGEOFF]
mov x3, x26
Lloh20:
adrp x26, _ff_id3v2_4_tags@GOTPAGE
Lloh21:
ldr x26, [x26, _ff_id3v2_4_tags@GOTPAGEOFF]
mov x5, x19
bl _id3v2_put_ttag
tbz w0, #31, LBB0_6
LBB0_12:
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _ff_id3v2_34_metadata_conv,4,2 ; @ff_id3v2_34_metadata_conv
.comm _ff_id3v2_4_metadata_conv,4,2 ; @ff_id3v2_4_metadata_conv
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.comm _AV_DICT_IGNORE_SUFFIX,4,2 ; @AV_DICT_IGNORE_SUFFIX
.comm _ff_id3v2_tags,4,2 ; @ff_id3v2_tags
.comm _ff_id3v2_3_tags,4,2 ; @ff_id3v2_3_tags
.comm _ff_id3v2_4_tags,4,2 ; @ff_id3v2_4_tags
.no_dead_strip _write_metadata
.subsections_via_symbols
| AnghaBench/FFmpeg/libavformat/extr_id3v2enc.c_write_metadata.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function afs_check_permit
_afs_check_permit: ## @afs_check_permit
.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, %r13
movq %rdi, %r12
movl 32(%rdi), %r15d
movl 36(%rdi), %ebx
movq %rsi, %rdi
callq _key_serial
leaq L_.str(%rip), %rdi
movl %ebx, %esi
movl %r15d, %edx
movl %eax, %ecx
callq __enter
movq %r12, %rdi
movq %r13, %rsi
callq _afs_get_auth_inode
movq %rax, %r15
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_1
## %bb.14:
movl $0, (%r14)
movq %r15, %rdi
callq _PTR_ERR
leaq L_.str.1(%rip), %rdi
movl %eax, %esi
callq __leave
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_1:
movl (%r15), %edi
callq _S_ISDIR
movl %eax, %edi
callq _ASSERT
movq 24(%r15), %rax
movq (%rax), %rax
cmpq %r13, (%rax)
je LBB0_2
## %bb.3:
xorl %eax, %eax
callq _rcu_read_lock
movl 16(%r15), %edi
callq _rcu_dereference
testq %rax, %rax
je LBB0_8
## %bb.4:
movl (%rax), %ecx
testl %ecx, %ecx
jle LBB0_8
## %bb.5:
movq 8(%rax), %rbx
incl %ecx
addq $8, %rbx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpq %r13, (%rbx)
je LBB0_15
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
decl %ecx
addq $16, %rbx
cmpl $1, %ecx
jg LBB0_6
LBB0_8:
xorl %eax, %eax
callq _rcu_read_unlock
leaq L_.str.4(%rip), %rdi
callq __debug
movq _AFS_VNODE_CB_BROKEN@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 12(%r12), %rsi
callq _set_bit
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq _afs_vnode_fetch_status
testl %eax, %eax
js LBB0_9
## %bb.10:
movl 8(%r12), %eax
jmp LBB0_11
LBB0_2:
leaq L_.str.2(%rip), %rdi
callq __debug
movl 4(%r15), %eax
LBB0_11:
movl %eax, (%r14)
LBB0_12:
movq %r15, %rdi
callq _iput
movl (%r14), %esi
leaq L_.str.6(%rip), %rdi
callq __leave
xorl %ebx, %ebx
LBB0_13:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movl %eax, %ebx
movq %r15, %rdi
callq _iput
movl $0, (%r14)
leaq L_.str.5(%rip), %rdi
movl %ebx, %esi
callq __leave
jmp LBB0_13
LBB0_15:
leaq L_.str.3(%rip), %rdi
callq __debug
movl -8(%rbx), %eax
movl %eax, (%r14)
xorl %eax, %eax
callq _rcu_read_unlock
jmp LBB0_12
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "{%x:%u},%x"
L_.str.1: ## @.str.1
.asciz " = %ld"
L_.str.2: ## @.str.2
.asciz "anon"
L_.str.3: ## @.str.3
.asciz "found in cache"
L_.str.4: ## @.str.4
.asciz "no valid permit"
.comm _AFS_VNODE_CB_BROKEN,4,2 ## @AFS_VNODE_CB_BROKEN
L_.str.5: ## @.str.5
.asciz " = %d"
L_.str.6: ## @.str.6
.asciz " = 0 [access %x]"
.no_dead_strip _afs_check_permit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function afs_check_permit
_afs_check_permit: ; @afs_check_permit
.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 x22, x1
mov x21, x0
ldp w23, w20, [x0, #32]
mov x0, x1
bl _key_serial
mov x3, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
mov x2, x23
bl __enter
mov x0, x21
mov x1, x22
bl _afs_get_auth_inode
mov x20, x0
bl _IS_ERR
cbz x0, LBB0_2
; %bb.1:
str wzr, [x19]
mov x0, x20
bl _PTR_ERR
mov x1, x0
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl __leave
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
b _PTR_ERR
LBB0_2:
ldr w0, [x20]
bl _S_ISDIR
bl _ASSERT
ldr x8, [x20, #24]
ldr x8, [x8]
ldr x8, [x8]
cmp x8, x22
b.eq LBB0_10
; %bb.3:
bl _rcu_read_lock
ldr w0, [x20, #16]
bl _rcu_dereference
cbz x0, LBB0_8
; %bb.4:
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_8
; %bb.5:
ldr x9, [x0, #8]
add w8, w8, #1
add x23, x9, #8
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x9, [x23]
cmp x9, x22
b.eq LBB0_15
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
sub w8, w8, #1
add x23, x23, #16
cmp w8, #1
b.gt LBB0_6
LBB0_8:
bl _rcu_read_unlock
Lloh4:
adrp x0, l_.str.4@PAGE
Lloh5:
add x0, x0, l_.str.4@PAGEOFF
bl __debug
Lloh6:
adrp x8, _AFS_VNODE_CB_BROKEN@GOTPAGE
Lloh7:
ldr x8, [x8, _AFS_VNODE_CB_BROKEN@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
add x1, x21, #12
bl _set_bit
mov x0, x21
mov x1, x20
mov x2, x22
bl _afs_vnode_fetch_status
tbnz w0, #31, LBB0_14
; %bb.9:
ldr w8, [x21, #8]
b LBB0_11
LBB0_10:
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
bl __debug
ldr w8, [x20, #4]
LBB0_11:
str w8, [x19]
LBB0_12:
mov x0, x20
bl _iput
ldr w1, [x19]
Lloh11:
adrp x0, l_.str.6@PAGE
Lloh12:
add x0, x0, l_.str.6@PAGEOFF
bl __leave
mov w22, #0
LBB0_13:
mov x0, x22
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
LBB0_14:
mov x22, x0
mov x0, x20
bl _iput
str wzr, [x19]
Lloh13:
adrp x0, l_.str.5@PAGE
Lloh14:
add x0, x0, l_.str.5@PAGEOFF
mov x1, x22
bl __leave
b LBB0_13
LBB0_15:
Lloh15:
adrp x0, l_.str.3@PAGE
Lloh16:
add x0, x0, l_.str.3@PAGEOFF
bl __debug
ldur w8, [x23, #-8]
str w8, [x19]
bl _rcu_read_unlock
b LBB0_12
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "{%x:%u},%x"
l_.str.1: ; @.str.1
.asciz " = %ld"
l_.str.2: ; @.str.2
.asciz "anon"
l_.str.3: ; @.str.3
.asciz "found in cache"
l_.str.4: ; @.str.4
.asciz "no valid permit"
.comm _AFS_VNODE_CB_BROKEN,4,2 ; @AFS_VNODE_CB_BROKEN
l_.str.5: ; @.str.5
.asciz " = %d"
l_.str.6: ; @.str.6
.asciz " = 0 [access %x]"
.no_dead_strip _afs_check_permit
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/afs/extr_security.c_afs_check_permit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intel_hdcp_init ## -- Begin function intel_hdcp_init
.p2align 4, 0x90
_intel_hdcp_init: ## @intel_hdcp_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 %rsi, %r14
movq %rdi, %r15
movl (%rdi), %edi
callq _to_i915
testq %r14, %r14
je LBB0_1
## %bb.2:
movq %rax, %rdi
callq _is_hdcp2_supported
testq %rax, %rax
je LBB0_4
## %bb.3:
movq %r15, %rdi
movq %r14, %rsi
callq _intel_hdcp2_init
LBB0_4:
movl 8(%r15), %esi
movq %r15, %rdi
callq _drm_connector_attach_content_protection_property
testl %eax, %eax
je LBB0_6
## %bb.5:
movl %eax, %ebx
movl $0, 8(%r15)
movl 40(%r15), %edi
callq _kfree
jmp LBB0_7
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_7
LBB0_6:
movq %r14, 32(%r15)
leaq 24(%r15), %rdi
callq _mutex_init
leaq 20(%r15), %rdi
movq _intel_hdcp_check_work@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _INIT_DELAYED_WORK
leaq 16(%r15), %rdi
movq _intel_hdcp_prop_work@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _INIT_WORK
addq $12, %r15
movq %r15, %rdi
callq _init_waitqueue_head
xorl %ebx, %ebx
LBB0_7:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _intel_hdcp_check_work,4,2 ## @intel_hdcp_check_work
.comm _intel_hdcp_prop_work,4,2 ## @intel_hdcp_prop_work
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intel_hdcp_init ; -- Begin function intel_hdcp_init
.p2align 2
_intel_hdcp_init: ; @intel_hdcp_init
.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, x1
mov x19, x0
ldr w0, [x0]
bl _to_i915
cbz x20, LBB0_5
; %bb.1:
bl _is_hdcp2_supported
cbz x0, LBB0_3
; %bb.2:
mov x0, x19
mov x1, x20
bl _intel_hdcp2_init
LBB0_3:
ldr w1, [x19, #8]
mov x0, x19
bl _drm_connector_attach_content_protection_property
mov x21, x0
cbz w0, LBB0_6
; %bb.4:
str wzr, [x19, #8]
ldr w0, [x19, #40]
bl _kfree
b LBB0_7
LBB0_5:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w21, w8
b LBB0_7
LBB0_6:
str x20, [x19, #32]
add x0, x19, #24
bl _mutex_init
add x0, x19, #20
Lloh3:
adrp x8, _intel_hdcp_check_work@GOTPAGE
Lloh4:
ldr x8, [x8, _intel_hdcp_check_work@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _INIT_DELAYED_WORK
add x0, x19, #16
Lloh6:
adrp x8, _intel_hdcp_prop_work@GOTPAGE
Lloh7:
ldr x8, [x8, _intel_hdcp_prop_work@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
bl _INIT_WORK
add x0, x19, #12
bl _init_waitqueue_head
LBB0_7:
mov x0, x21
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 Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _intel_hdcp_check_work,4,2 ; @intel_hdcp_check_work
.comm _intel_hdcp_prop_work,4,2 ; @intel_hdcp_prop_work
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdcp.c_intel_hdcp_init.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 %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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
leaq -52(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movq %rsp, %r15
movl -52(%rbp), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
leaq L_str.5(%rip), %rdi
callq _puts
cmpl $0, -52(%rbp)
jle LBB0_3
## %bb.1:
leaq L_.str.1(%rip), %r14
movq %r12, %r13
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq -52(%rbp), %rax
addq $4, %r13
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
leaq L_str.6(%rip), %rdi
callq _puts
leaq L_.str.4(%rip), %rdi
leaq -60(%rbp), %rsi
leaq -56(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movslq -52(%rbp), %rbx
movslq -56(%rbp), %rcx
cmpl %ecx, %ebx
jle LBB0_9
## %bb.4:
movl %ebx, %edx
subl %ecx, %edx
movq %rcx, %r8
notq %r8
addq %rbx, %r8
movq %rbx, %rax
andq $3, %rdx
je LBB0_7
## %bb.5:
movq %rbx, %rsi
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
leaq -1(%rsi), %rax
movl -4(%r12,%rsi,4), %edi
movl %edi, (%r12,%rsi,4)
movq %rax, %rsi
decq %rdx
jne LBB0_6
LBB0_7:
cmpq $3, %r8
jb LBB0_9
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movups -16(%r12,%rax,4), %xmm0
movups %xmm0, -12(%r12,%rax,4)
leaq -4(%rax), %rdx
movq %rdx, %rax
cmpq %rcx, %rdx
jg LBB0_8
LBB0_9:
movl -60(%rbp), %eax
movl %eax, (%r12,%rcx,4)
leal 1(%rbx), %eax
movl %eax, -52(%rbp)
testl %ebx, %ebx
js LBB0_12
## %bb.10:
leaq L_.str.1(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movl (%r12,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
movslq -52(%rbp), %rax
cmpq %rax, %rbx
jl LBB0_11
LBB0_12:
movq %r15, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_14
## %bb.13:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "%d%d"
L_str: ## @str
.asciz "enter the size of array"
L_str.5: ## @str.5
.asciz "enter the elements"
L_str.6: ## @str.6
.asciz "enter the element to be inserted and position"
.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 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
sub sp, sp, #32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
sub x8, x29, #60
str x8, [sp, #-16]!
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
mov x20, sp
ldur w8, [x29, #-60]
lsl x8, x8, #2
mov x9, x8
Lloh7:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh8:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x21, x9, x8
mov sp, x21
Lloh9:
adrp x0, l_str.5@PAGE
Lloh10:
add x0, x0, l_str.5@PAGEOFF
bl _puts
ldur w8, [x29, #-60]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x22, #0
Lloh11:
adrp x19, l_.str.1@PAGE
Lloh12:
add x19, x19, l_.str.1@PAGEOFF
mov x23, x21
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x23, [sp, #-16]!
mov x0, x19
bl _scanf
add sp, sp, #16
add x22, x22, #1
ldursw x8, [x29, #-60]
add x23, x23, #4
cmp x22, x8
b.lt LBB0_2
LBB0_3:
Lloh13:
adrp x0, l_str.6@PAGE
Lloh14:
add x0, x0, l_str.6@PAGEOFF
bl _puts
sub x8, x29, #68
sub x9, x29, #64
stp x9, x8, [sp, #-16]!
Lloh15:
adrp x0, l_.str.4@PAGE
Lloh16:
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
add sp, sp, #16
ldursw x8, [x29, #-60]
ldursw x9, [x29, #-68]
cmp w8, w9
b.le LBB0_6
; %bb.4:
mov x10, x8
LBB0_5: ; =>This Inner Loop Header: Depth=1
add x11, x21, x10, lsl #2
sub x12, x10, #1
ldur w10, [x11, #-4]
str w10, [x11]
mov x10, x12
cmp x12, x9
b.gt LBB0_5
LBB0_6:
ldur w10, [x29, #-64]
str w10, [x21, x9, lsl #2]
add w9, w8, #1
stur w9, [x29, #-60]
tbnz w8, #31, LBB0_9
; %bb.7:
mov x22, #0
Lloh17:
adrp x19, l_.str.1@PAGE
Lloh18:
add x19, x19, l_.str.1@PAGEOFF
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21, x22, lsl #2]
str x8, [sp, #-16]!
mov x0, x19
bl _printf
add sp, sp, #16
add x22, x22, #1
ldursw x8, [x29, #-60]
cmp x22, x8
b.lt LBB0_8
LBB0_9:
mov sp, x20
ldur x8, [x29, #-56]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_11
; %bb.10:
sub sp, x29, #48
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
LBB0_11:
bl ___stack_chk_fail
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "%d%d"
l_str: ; @str
.asciz "enter the size of array"
l_str.5: ; @str.5
.asciz "enter the elements"
l_str.6: ; @str.6
.asciz "enter the element to be inserted and position"
.subsections_via_symbols
| the_stack_data/117328744.c | stack |
.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/103265238.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function find_type_or_error
_find_type_or_error: ## @find_type_or_error
.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 %esi, %edx
movq %rdi, %r14
xorl %esi, %esi
callq _find_type
movq %rax, %rbx
testq %rax, %rax
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movq %r14, %rsi
callq _error_loc
LBB0_2:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "type '%s' not found\n"
.no_dead_strip _find_type_or_error
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function find_type_or_error
_find_type_or_error: ; @find_type_or_error
.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
mov x1, #0
bl _find_type
mov x20, x0
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _error_loc
LBB0_2:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "type '%s' not found\n"
.no_dead_strip _find_type_or_error
.subsections_via_symbols
| AnghaBench/reactos/sdk/tools/widl/extr_parser.tab.c_find_type_or_error.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ofw_mem_regions ## -- Begin function ofw_mem_regions
.p2align 4, 0x90
_ofw_mem_regions: ## @ofw_mem_regions
.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 $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -120(%rbp) ## 8-byte Spill
movq %rdx, -104(%rbp) ## 8-byte Spill
movq %rsi, -112(%rbp) ## 8-byte Spill
movq %rdi, -128(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq $0, -88(%rbp) ## 8-byte Folded Spill
xorl %edi, %edi
callq _OF_peer
movq %rax, %rdi
callq _OF_child
movl $0, %r12d
testq %rax, %rax
je LBB0_12
## %bb.1:
movq %rax, %r13
xorl %r12d, %r12d
leaq L_.str(%rip), %r15
leaq -80(%rbp), %r14
movq $0, -88(%rbp) ## 8-byte Folded Spill
jmp LBB0_2
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq -104(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r12,4), %rdx
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
movq %r14, %rsi
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
callq _parse_ofw_memory
movq -88(%rbp), %rcx ## 8-byte Reload
leaq -80(%rbp), %r14
movl -96(%rbp), %r12d ## 4-byte Reload
addl -92(%rbp), %r12d ## 4-byte Folded Reload
addl %eax, %ecx
movq %rcx, -88(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
callq _OF_peer
movq %rax, %r13
testq %rax, %rax
je LBB0_12
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl $31, %ecx
callq _OF_getprop
testq %rax, %rax
jle LBB0_11
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
leaq L_.str.1(%rip), %rsi
movl $31, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_11
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.2(%rip), %rbx
movq %rbx, %rdi
callq _strlen
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_11
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, -96(%rbp) ## 4-byte Spill
movslq %r12d, %rax
movq -128(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rdx
movq %r13, %rdi
leaq L_.str.3(%rip), %rsi
callq _parse_ofw_memory
movl %eax, -92(%rbp) ## 4-byte Spill
movq %r13, %rdi
leaq L_.str.4(%rip), %r14
movq %r14, %rsi
callq _OF_getproplen
movq -88(%rbp), %r12 ## 8-byte Reload
movslq %r12d, %r12
testq %rax, %rax
jns LBB0_6
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
leaq L_.str.5(%rip), %r14
movq %r14, %rsi
callq _OF_getproplen
movq -104(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%r12,4), %rdx
testq %rax, %rax
jns LBB0_8
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
leaq L_.str.3(%rip), %rsi
jmp LBB0_10
LBB0_12:
movq -112(%rbp), %rax ## 8-byte Reload
movl %r12d, (%rax)
movq -120(%rbp), %rax ## 8-byte Reload
movq -88(%rbp), %rcx ## 8-byte Reload
movl %ecx, (%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_14
## %bb.13:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "name"
L_.str.1: ## @.str.1
.asciz "memory"
L_.str.2: ## @.str.2
.asciz "memory@"
L_.str.3: ## @.str.3
.asciz "reg"
L_.str.4: ## @.str.4
.asciz "linux,usable-memory"
L_.str.5: ## @.str.5
.asciz "available"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ofw_mem_regions ; -- Begin function ofw_mem_regions
.p2align 2
_ofw_mem_regions: ; @ofw_mem_regions
.cfi_startproc
; %bb.0:
sub sp, sp, #176
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.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
stp x1, x3, [sp, #8] ; 16-byte Folded Spill
stp x0, x2, [sp, #24] ; 16-byte Folded Spill
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #72]
mov x0, #0 ; =0x0
bl _OF_peer
bl _OF_child
cbz x0, LBB0_12
; %bb.1:
mov x23, x0
mov w28, #0 ; =0x0
mov w20, #0 ; =0x0
Lloh3:
adrp x24, l_.str@PAGE
Lloh4:
add x24, x24, l_.str@PAGEOFF
Lloh5:
adrp x25, l_.str.1@PAGE
Lloh6:
add x25, x25, l_.str.1@PAGEOFF
Lloh7:
adrp x26, l_.str.2@PAGE
Lloh8:
add x26, x26, l_.str.2@PAGEOFF
Lloh9:
adrp x19, l_.str.4@PAGE
Lloh10:
add x19, x19, l_.str.4@PAGEOFF
Lloh11:
adrp x22, l_.str.5@PAGE
Lloh12:
add x22, x22, l_.str.5@PAGEOFF
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
mov x0, x23
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov x2, x19
bl _parse_ofw_memory
add w28, w27, w28
add w20, w0, w20
Lloh13:
adrp x19, l_.str.4@PAGE
Lloh14:
add x19, x19, l_.str.4@PAGEOFF
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
mov x0, x23
bl _OF_peer
mov x23, x0
cbz x0, LBB0_13
LBB0_5: ; =>This Inner Loop Header: Depth=1
add x2, sp, #41
mov x0, x23
mov x1, x24
mov w3, #31 ; =0x1f
bl _OF_getprop
cmp x0, #1
b.lt LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #41
mov x1, x25
mov w2, #31 ; =0x1f
bl _strncmp
cbnz x0, LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x0, x26
bl _strlen
mov x2, x0
add x0, sp, #41
mov x1, x26
bl _strncmp
cbnz x0, LBB0_4
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
add x2, x8, w28, sxtw #2
mov x0, x23
Lloh15:
adrp x1, l_.str.3@PAGE
Lloh16:
add x1, x1, l_.str.3@PAGEOFF
bl _parse_ofw_memory
mov x27, x0
mov x0, x23
mov x1, x19
bl _OF_getproplen
mov x1, x19
ldr x8, [sp, #32] ; 8-byte Folded Reload
add x19, x8, w20, sxtw #2
tbz x0, #63, LBB0_2
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
mov x0, x23
mov x21, x22
mov x1, x22
bl _OF_getproplen
tbnz x0, #63, LBB0_11
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
mov x0, x23
mov x1, x21
b LBB0_3
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
mov x0, x23
Lloh17:
adrp x1, l_.str.3@PAGE
Lloh18:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_3
LBB0_12:
mov w20, #0 ; =0x0
mov w28, #0 ; =0x0
LBB0_13:
ldp x9, x8, [sp, #8] ; 16-byte Folded Reload
str w28, [x9]
str w20, [x8]
ldr x8, [sp, #72]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_15
; %bb.14:
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB0_15:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "name"
l_.str.1: ; @.str.1
.asciz "memory"
l_.str.2: ; @.str.2
.asciz "memory@"
l_.str.3: ; @.str.3
.asciz "reg"
l_.str.4: ; @.str.4
.asciz "linux,usable-memory"
l_.str.5: ; @.str.5
.asciz "available"
.subsections_via_symbols
| assembly_file_185310.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function kick_buried_jobs
_kick_buried_jobs: ## @kick_buried_jobs
.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
testq %rdx, %rdx
jle LBB0_1
## %bb.2:
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _buried_job_p
testq %rax, %rax
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl (%r15), %esi
movq %r12, %rdi
callq _kick_buried_job
incq %rbx
cmpq %rbx, %r14
jne LBB0_3
## %bb.5:
movq %r14, %rbx
jmp LBB0_6
LBB0_1:
xorl %ebx, %ebx
LBB0_6:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _kick_buried_jobs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function kick_buried_jobs
_kick_buried_jobs: ; @kick_buried_jobs
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
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
cmp x2, #1
b.lt LBB0_5
; %bb.1:
mov x19, x2
mov x21, x1
mov x22, x0
mov x20, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _buried_job_p
cbz x0, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w1, [x21]
mov x0, x22
bl _kick_buried_job
add x20, x20, #1
cmp x19, x20
b.ne LBB0_2
; %bb.4:
mov x20, x19
b LBB0_6
LBB0_5:
mov x20, #0 ; =0x0
LBB0_6:
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
.cfi_endproc
; -- End function
.no_dead_strip _kick_buried_jobs
.subsections_via_symbols
| assembly_file_162685.c | assembly_dataset |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.