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 _r_free ## -- Begin function r_free
.p2align 4, 0x90
_r_free: ## @r_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _FREE@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, -16(%rdi)
je LBB0_2
## %bb.1:
movq _mcb_count@GOTPCREL(%rip), %rcx
decl (%rcx)
movq %rax, -16(%rdi)
movq _allocated_mem@GOTPCREL(%rip), %rax
movl (%rax), %ecx
subl -8(%rdi), %ecx
addl $4, %ecx
movl %ecx, (%rax)
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FREE,8,3 ## @FREE
.comm _mcb_count,4,2 ## @mcb_count
.comm _allocated_mem,4,2 ## @allocated_mem
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _r_free ; -- Begin function r_free
.p2align 2
_r_free: ; @r_free
.cfi_startproc
; %bb.0:
ldur x9, [x0, #-16]
Lloh0:
adrp x8, _FREE@GOTPAGE
Lloh1:
ldr x8, [x8, _FREE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x9, x8
b.eq LBB0_2
; %bb.1:
Lloh3:
adrp x9, _mcb_count@GOTPAGE
Lloh4:
ldr x9, [x9, _mcb_count@GOTPAGEOFF]
ldr w10, [x9]
sub w10, w10, #1
str w10, [x9]
stur x8, [x0, #-16]
ldur w8, [x0, #-8]
Lloh5:
adrp x9, _allocated_mem@GOTPAGE
Lloh6:
ldr x9, [x9, _allocated_mem@GOTPAGEOFF]
ldr w10, [x9]
sub w8, w10, w8
add w8, w8, #4
str w8, [x9]
LBB0_2:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _FREE,8,3 ; @FREE
.comm _mcb_count,4,2 ; @mcb_count
.comm _allocated_mem,4,2 ; @allocated_mem
.subsections_via_symbols
| AnghaBench/radare2/binr/preload/extr_alloc.c_r_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
testl %edi, %edi
je LBB0_2
## %bb.1:
retq
LBB0_2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
callq ___VERIFIER_error
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1024, %rsp ## imm = 0x400
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
xorl %eax, %eax
.p2align 4, 0x90
LBB1_6: ## =>This Inner Loop Header: Depth=1
movl -512(%rbp,%rax,4), %ecx
cmpl -1024(%rbp,%rax,4), %ecx
jne LBB1_7
## %bb.1: ## in Loop: Header=BB1_6 Depth=1
movl -508(%rbp,%rax,4), %ecx
cmpl -1020(%rbp,%rax,4), %ecx
jne LBB1_7
## %bb.2: ## in Loop: Header=BB1_6 Depth=1
movl -504(%rbp,%rax,4), %ecx
cmpl -1016(%rbp,%rax,4), %ecx
jne LBB1_7
## %bb.3: ## in Loop: Header=BB1_6 Depth=1
movl -500(%rbp,%rax,4), %ecx
cmpl -1012(%rbp,%rax,4), %ecx
jne LBB1_7
## %bb.4: ## in Loop: Header=BB1_6 Depth=1
movl -496(%rbp,%rax,4), %ecx
cmpl -1008(%rbp,%rax,4), %ecx
jne LBB1_7
## %bb.5: ## in Loop: Header=BB1_6 Depth=1
addq $5, %rax
cmpq $125, %rax
jne LBB1_6
## %bb.8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -8(%rbp), %rax
jne LBB1_10
## %bb.9:
xorl %eax, %eax
addq $1024, %rsp ## imm = 0x400
popq %rbp
retq
LBB1_7:
xorl %eax, %eax
callq ___VERIFIER_error
LBB1_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
cbz w0, LBB0_2
; %bb.1:
ret
LBB0_2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl ___VERIFIER_error
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [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 w27, -24
.cfi_offset w28, -32
sub sp, sp, #1008
mov x8, #0
Lloh0:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
stur x9, [x29, #-24]
add x9, sp, #500
mov x10, sp
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w11, [x9, x8]
ldr w12, [x10, x8]
cmp w11, w12
b.ne LBB1_5
; %bb.2: ; in Loop: Header=BB1_1 Depth=1
add x8, x8, #4
cmp x8, #500
b.ne LBB1_1
; %bb.3:
ldur x8, [x29, #-24]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_6
; %bb.4:
mov w0, #0
add sp, sp, #1008
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
LBB1_5:
bl ___VERIFIER_error
LBB1_6:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/55594.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function kstack_cache_init
_kstack_cache_init: ## @kstack_cache_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _kstack_pages@GOTPCREL(%rip), %rax
movq _PAGE_SIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
imull (%rax), %esi
movq _kstack_import@GOTPCREL(%rip), %rax
movl (%rax), %r10d
movq _kstack_release@GOTPCREL(%rip), %rcx
movl (%rcx), %r11d
movq _UMA_ZONE_NUMA@GOTPCREL(%rip), %rcx
movq _UMA_ZONE_MINBUCKET@GOTPCREL(%rip), %rdx
movl (%rdx), %eax
orl (%rcx), %eax
leaq L_.str(%rip), %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %rax
pushq $0
pushq %r11
pushq %r10
callq _uma_zcache_create
addq $32, %rsp
movq _kstack_cache@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _kstack_cache_size@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
popq %rbp
jmp _uma_zone_set_maxcache ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "kstack_cache"
.comm _kstack_pages,4,2 ## @kstack_pages
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _kstack_import,4,2 ## @kstack_import
.comm _kstack_release,4,2 ## @kstack_release
.comm _UMA_ZONE_NUMA,4,2 ## @UMA_ZONE_NUMA
.comm _UMA_ZONE_MINBUCKET,4,2 ## @UMA_ZONE_MINBUCKET
.comm _kstack_cache,4,2 ## @kstack_cache
.comm _kstack_cache_size,4,2 ## @kstack_cache_size
.no_dead_strip _kstack_cache_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function kstack_cache_init
_kstack_cache_init: ; @kstack_cache_init
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _kstack_pages@GOTPAGE
Lloh1:
ldr x8, [x8, _kstack_pages@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _PAGE_SIZE@GOTPAGE
Lloh4:
ldr x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
Lloh6:
adrp x10, _kstack_import@GOTPAGE
Lloh7:
ldr x10, [x10, _kstack_import@GOTPAGEOFF]
mul w1, w9, w8
Lloh8:
ldr w6, [x10]
Lloh9:
adrp x8, _kstack_release@GOTPAGE
Lloh10:
ldr x8, [x8, _kstack_release@GOTPAGEOFF]
Lloh11:
adrp x9, _UMA_ZONE_NUMA@GOTPAGE
Lloh12:
ldr x9, [x9, _UMA_ZONE_NUMA@GOTPAGEOFF]
Lloh13:
ldr w7, [x8]
Lloh14:
ldr w8, [x9]
Lloh15:
adrp x9, _UMA_ZONE_MINBUCKET@GOTPAGE
Lloh16:
ldr x9, [x9, _UMA_ZONE_MINBUCKET@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
orr w8, w9, w8
str w8, [sp, #8]
str xzr, [sp]
Lloh18:
adrp x0, l_.str@PAGE
Lloh19:
add x0, x0, l_.str@PAGEOFF
mov x2, #0
mov x3, #0
mov x4, #0
mov x5, #0
bl _uma_zcache_create
Lloh20:
adrp x8, _kstack_cache@GOTPAGE
Lloh21:
ldr x8, [x8, _kstack_cache@GOTPAGEOFF]
Lloh22:
str w0, [x8]
Lloh23:
adrp x8, _kstack_cache_size@GOTPAGE
Lloh24:
ldr x8, [x8, _kstack_cache_size@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _uma_zone_set_maxcache
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh13
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "kstack_cache"
.comm _kstack_pages,4,2 ; @kstack_pages
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _kstack_import,4,2 ; @kstack_import
.comm _kstack_release,4,2 ; @kstack_release
.comm _UMA_ZONE_NUMA,4,2 ; @UMA_ZONE_NUMA
.comm _UMA_ZONE_MINBUCKET,4,2 ; @UMA_ZONE_MINBUCKET
.comm _kstack_cache,4,2 ; @kstack_cache
.comm _kstack_cache_size,4,2 ; @kstack_cache_size
.no_dead_strip _kstack_cache_init
.subsections_via_symbols
| AnghaBench/freebsd/sys/vm/extr_vm_glue.c_kstack_cache_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _avpriv_slicethread_create ## -- Begin function avpriv_slicethread_create
.p2align 4, 0x90
_avpriv_slicethread_create: ## @avpriv_slicethread_create
.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, (%rdi)
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _AVERROR ## TAILCALL
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _avpriv_slicethread_create ; -- Begin function avpriv_slicethread_create
.p2align 2
_avpriv_slicethread_create: ; @avpriv_slicethread_create
.cfi_startproc
; %bb.0:
str xzr, [x0]
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b _AVERROR
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| AnghaBench/FFmpeg/libavutil/extr_slicethread.c_avpriv_slicethread_create.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function early_write
_early_write: ## @early_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $144, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
testl %esi, %esi
je LBB0_3
## %bb.1:
movl %esi, %r14d
movq %rdi, %rbx
leaq -176(%rbp), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
movl $127, %esi
callq _min
movl %eax, %r12d
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _memcpy
movl %r12d, %eax
movb $0, -176(%rbp,%rax)
addq %rax, %rbx
movq %r15, %rdi
callq _printascii
subl %r12d, %r14d
jne LBB0_2
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_5
## %bb.4:
addq $144, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.no_dead_strip _early_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function early_write
_early_write: ; @early_write
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
cbz w1, LBB0_3
; %bb.1:
mov x19, x1
mov x20, x0
add x22, sp, #8
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov w1, #127
bl _min
mov x21, x0
add x0, sp, #8
mov x1, x20
mov x2, x21
bl _memcpy
mov w8, w21
strb wzr, [x22, x8]
add x20, x20, x8
sub w19, w19, w21
add x0, sp, #8
bl _printascii
cbnz w19, LBB0_2
LBB0_3:
ldur x8, [x29, #-40]
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_5
; %bb.4:
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
add sp, sp, #192
ret
LBB0_5:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.no_dead_strip _early_write
.subsections_via_symbols
| AnghaBench/linux/arch/arm/kernel/extr_early_printk.c_early_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/294307.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function stbi__shiftsigned
_stbi__shiftsigned: ## @stbi__shiftsigned
.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, %ecx
negb %cl
movl %edi, %ebx
shll %cl, %ebx
movl %esi, %ecx
sarl %cl, %edi
testl %esi, %esi
cmovnsl %edi, %ebx
movl %edx, %r14d
xorl %edi, %edi
cmpl $256, %ebx ## imm = 0x100
setb %dil
callq _STBI_ASSERT
movb $8, %cl
subb %r14b, %cl
sarl %cl, %ebx
xorl %edi, %edi
cmpl $9, %r14d
setb %dil
callq _STBI_ASSERT
movslq %r14d, %rax
leaq _stbi__shiftsigned.mul_table(%rip), %rcx
imull (%rcx,%rax,4), %ebx
leaq _stbi__shiftsigned.shift_table(%rip), %rcx
movb (%rcx,%rax,4), %cl
sarl %cl, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @stbi__shiftsigned.mul_table
_stbi__shiftsigned.mul_table:
.long 0 ## 0x0
.long 255 ## 0xff
.long 85 ## 0x55
.long 73 ## 0x49
.long 17 ## 0x11
.long 33 ## 0x21
.long 65 ## 0x41
.long 129 ## 0x81
.long 1 ## 0x1
.p2align 4 ## @stbi__shiftsigned.shift_table
_stbi__shiftsigned.shift_table:
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 2 ## 0x2
.long 4 ## 0x4
.long 6 ## 0x6
.long 0 ## 0x0
.no_dead_strip _stbi__shiftsigned
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function stbi__shiftsigned
_stbi__shiftsigned: ; @stbi__shiftsigned
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
neg w8, w1
lsl w8, w0, w8
asr w9, w0, w1
cmp w1, #0
csel w20, w8, w9, lt
cmp w20, #256
cset w0, lo
bl _STBI_ASSERT
mov w8, #8
sub w8, w8, w19
asr w20, w20, w8
cmp w19, #9
cset w0, lo
bl _STBI_ASSERT
sbfiz x8, x19, #2, #32
Lloh0:
adrp x9, _stbi__shiftsigned.mul_table@PAGE
Lloh1:
add x9, x9, _stbi__shiftsigned.mul_table@PAGEOFF
ldr w9, [x9, x8]
mul w9, w9, w20
Lloh2:
adrp x10, _stbi__shiftsigned.shift_table@PAGE
Lloh3:
add x10, x10, _stbi__shiftsigned.shift_table@PAGEOFF
ldr w8, [x10, x8]
asr w0, w9, w8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @stbi__shiftsigned.mul_table
_stbi__shiftsigned.mul_table:
.long 0 ; 0x0
.long 255 ; 0xff
.long 85 ; 0x55
.long 73 ; 0x49
.long 17 ; 0x11
.long 33 ; 0x21
.long 65 ; 0x41
.long 129 ; 0x81
.long 1 ; 0x1
.p2align 2 ; @stbi__shiftsigned.shift_table
_stbi__shiftsigned.shift_table:
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 2 ; 0x2
.long 4 ; 0x4
.long 6 ; 0x6
.long 0 ; 0x0
.no_dead_strip _stbi__shiftsigned
.subsections_via_symbols
| AnghaBench/darknet/src/extr_stb_image.h_stbi__shiftsigned.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function show_alarms
_show_alarms: ## @show_alarms
.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 %rdx, %rbx
callq _lm63_update_device
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _sprintf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u\n"
.no_dead_strip _show_alarms
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function show_alarms
_show_alarms: ; @show_alarms
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
bl _lm63_update_device
ldr w2, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _sprintf
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u\n"
.no_dead_strip _show_alarms
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/hwmon/extr_lm63.c_show_alarms.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _yyyUnsolvedInstSearchTrav ## -- Begin function yyyUnsolvedInstSearchTrav
.p2align 4, 0x90
_yyyUnsolvedInstSearchTrav: ## @yyyUnsolvedInstSearchTrav
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl (%rdi), %r14d
testq %r14, %r14
je LBB0_3
## %bb.1:
movq 8(%rdi), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r15,%rbx,8), %rdi
callq _yyyUnsolvedInstSearchTravAux
incq %rbx
cmpl %ebx, %r14d
jne LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
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 _yyyUnsolvedInstSearchTrav ; -- Begin function yyyUnsolvedInstSearchTrav
.p2align 2
_yyyUnsolvedInstSearchTrav: ; @yyyUnsolvedInstSearchTrav
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr w19, [x0]
cbz w19, LBB0_3
; %bb.1:
ldr x20, [x0, #8]
LBB0_2: ; =>This Inner Loop Header: Depth=1
sub w19, w19, #1
ldr x0, [x20], #8
bl _yyyUnsolvedInstSearchTravAux
cbnz w19, LBB0_2
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/byacc/test/btyacc/extr_expr.oxout.tab.c_yyyUnsolvedInstSearchTrav.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function e1000_update_nvm_checksum_spt
_e1000_update_nvm_checksum_spt: ## @e1000_update_nvm_checksum_spt
.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, %r14
movq $0, -48(%rbp)
leaq L_.str(%rip), %rdi
callq _DEBUGFUNC
movq %r14, %rdi
callq _e1000_update_nvm_checksum_generic
movq %rax, %rbx
testq %rax, %rax
jne LBB0_22
## %bb.1:
movq 8(%r14), %rax
movq _e1000_nvm_flash_sw@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_31
## %bb.2:
movq %r14, %rdi
callq *40(%r14)
leaq -64(%rbp), %rsi
movq %r14, %rdi
callq _e1000_valid_nvm_bank_detect_ich8lan
movq _E1000_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.4:
cmpq $0, -64(%rbp)
je LBB0_5
## %bb.7:
movq 16(%r14), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movq %r14, %rdi
xorl %esi, %esi
callq _e1000_erase_flash_bank_ich8lan
movq %rax, %rbx
testq %rax, %rax
jne LBB0_21
jmp LBB0_8
LBB0_3:
leaq L_.str.1(%rip), %rdi
callq _DEBUGOUT
movq $0, -64(%rbp)
LBB0_5:
movq 16(%r14), %r12
movq %r14, %rdi
movl $1, %esi
callq _e1000_erase_flash_bank_ich8lan
movq %rax, %rbx
testq %rax, %rax
jne LBB0_21
## %bb.6:
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB0_8:
movq _E1000_SHADOW_RAM_WORDS@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jle LBB0_23
## %bb.9:
movl $24, %r15d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r13), %rsi
movq %r14, %rdi
leaq -48(%rbp), %rdx
callq _e1000_read_flash_dword_ich8lan
movq %rax, %rbx
movq (%r14), %rax
cmpq $0, -16(%rax,%r15)
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movzwl -46(%rbp), %ecx
shlq $16, %rcx
movzwl -24(%rax,%r15), %edx
orq %rcx, %rdx
movq %rdx, -48(%rbp)
LBB0_13: ## in Loop: Header=BB0_11 Depth=1
cmpq $0, (%rax,%r15)
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_11 Depth=1
movzwl -48(%rbp), %ecx
movl -8(%rax,%r15), %eax
shll $16, %eax
cltq
orq %rcx, %rax
movq %rax, -48(%rbp)
LBB0_15: ## in Loop: Header=BB0_11 Depth=1
testq %rbx, %rbx
jne LBB0_20
## %bb.16: ## in Loop: Header=BB0_11 Depth=1
movq _E1000_ICH_NVM_SIG_WORD@GOTPCREL(%rip), %rax
movslq (%rax), %rax
decq %rax
cmpq %rax, %r13
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_11 Depth=1
movq _E1000_ICH_NVM_SIG_MASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $16, %eax
cltq
orq %rax, -48(%rbp)
LBB0_18: ## in Loop: Header=BB0_11 Depth=1
leaq (%r12,%r13), %rbx
movl $100, %edi
callq _usec_delay
movq -48(%rbp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq _e1000_retry_write_flash_dword_ich8lan
testq %rax, %rax
jne LBB0_19
## %bb.10: ## in Loop: Header=BB0_11 Depth=1
addq $2, %r13
addq $32, %r15
movq _E1000_SHADOW_RAM_WORDS@GOTPCREL(%rip), %rax
cmpq (%rax), %r13
jl LBB0_11
LBB0_23:
movq _E1000_ICH_NVM_SIG_WORD@GOTPCREL(%rip), %r13
movslq (%r13), %rax
leaq (%r12,%rax), %r15
decq %r15
leaq -48(%rbp), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq _e1000_read_flash_dword_ich8lan
movq %rax, %rbx
testq %rax, %rax
jne LBB0_21
## %bb.24:
movq -48(%rbp), %rdx
andl $-1073741825, %edx ## imm = 0xBFFFFFFF
movq %rdx, -48(%rbp)
movq %r14, %rdi
movq %r15, %rsi
callq _e1000_retry_write_flash_dword_ich8lan
movq %rax, %rbx
testq %rax, %rax
jne LBB0_21
## %bb.25:
movslq (%r13), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax), %r15
decq %r15
leaq -48(%rbp), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq _e1000_read_flash_dword_ich8lan
movq %rax, %rbx
testq %rax, %rax
jne LBB0_21
## %bb.26:
movq -48(%rbp), %rdx
andl $16777215, %edx ## imm = 0xFFFFFF
movq %rdx, -48(%rbp)
movq %r14, %rdi
movq %r15, %rsi
callq _e1000_retry_write_flash_dword_ich8lan
movq %rax, %rbx
testq %rax, %rax
jne LBB0_21
## %bb.27:
movq _E1000_SHADOW_RAM_WORDS@GOTPCREL(%rip), %rdi
cmpq $0, (%rdi)
jle LBB0_30
## %bb.28:
movq (%r14), %rax
addq $8, %rax
xorl %ecx, %ecx
movq _FALSE@GOTPCREL(%rip), %rdx
LBB0_29: ## =>This Inner Loop Header: Depth=1
movq (%rdx), %rsi
movq %rsi, (%rax)
movl $65535, -8(%rax) ## imm = 0xFFFF
incq %rcx
addq $16, %rax
cmpq (%rdi), %rcx
jl LBB0_29
LBB0_30:
movq %r14, %rdi
callq *32(%r14)
movq %r14, %rdi
callq *24(%r14)
movl $10, %edi
callq _msec_delay
LBB0_31:
xorl %ebx, %ebx
jmp LBB0_32
LBB0_19:
movq %rax, %rbx
LBB0_20:
leaq L_.str.2(%rip), %rdi
callq _DEBUGOUT
LBB0_21:
movq %r14, %rdi
callq *32(%r14)
LBB0_22:
leaq L_.str.3(%rip), %rdi
movq %rbx, %rsi
callq _DEBUGOUT1
LBB0_32:
movq %rbx, %rax
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 "e1000_update_nvm_checksum_spt"
.comm _e1000_nvm_flash_sw,8,3 ## @e1000_nvm_flash_sw
.comm _E1000_SUCCESS,8,3 ## @E1000_SUCCESS
L_.str.1: ## @.str.1
.asciz "Could not detect valid bank, assuming bank 0\n"
.comm _E1000_SHADOW_RAM_WORDS,8,3 ## @E1000_SHADOW_RAM_WORDS
.comm _E1000_ICH_NVM_SIG_WORD,4,2 ## @E1000_ICH_NVM_SIG_WORD
.comm _E1000_ICH_NVM_SIG_MASK,4,2 ## @E1000_ICH_NVM_SIG_MASK
L_.str.2: ## @.str.2
.asciz "Flash commit failed.\n"
.comm _FALSE,8,3 ## @FALSE
L_.str.3: ## @.str.3
.asciz "NVM update error: %d\n"
.no_dead_strip _e1000_update_nvm_checksum_spt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function e1000_update_nvm_checksum_spt
_e1000_update_nvm_checksum_spt: ; @e1000_update_nvm_checksum_spt
.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, x0
str xzr, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _DEBUGFUNC
mov x0, x19
bl _e1000_update_nvm_checksum_generic
mov x20, x0
cbnz x0, LBB0_32
; %bb.1:
ldr x8, [x19, #8]
Lloh2:
adrp x9, _e1000_nvm_flash_sw@GOTPAGE
Lloh3:
ldr x9, [x9, _e1000_nvm_flash_sw@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_28
; %bb.2:
ldr x8, [x19, #40]
mov x0, x19
blr x8
add x1, sp, #8
mov x0, x19
bl _e1000_valid_nvm_bank_detect_ich8lan
Lloh5:
adrp x8, _E1000_SUCCESS@GOTPAGE
Lloh6:
ldr x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_6
; %bb.3:
ldr x8, [sp, #8]
cbz x8, LBB0_7
; %bb.4:
ldr x23, [x19, #16]
mov x0, x19
mov w1, #0
bl _e1000_erase_flash_bank_ich8lan
mov x20, x0
cbnz x0, LBB0_31
; %bb.5:
mov x21, #0
b LBB0_9
LBB0_6:
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _DEBUGOUT
str xzr, [sp, #8]
LBB0_7:
ldr x21, [x19, #16]
mov x0, x19
mov w1, #1
bl _e1000_erase_flash_bank_ich8lan
mov x20, x0
cbnz x0, LBB0_31
; %bb.8:
mov x23, #0
LBB0_9:
Lloh10:
adrp x22, _E1000_SHADOW_RAM_WORDS@GOTPAGE
Lloh11:
ldr x22, [x22, _E1000_SHADOW_RAM_WORDS@GOTPAGEOFF]
ldr x8, [x22]
Lloh12:
adrp x24, _E1000_ICH_NVM_SIG_WORD@GOTPAGE
Lloh13:
ldr x24, [x24, _E1000_ICH_NVM_SIG_WORD@GOTPAGEOFF]
cmp x8, #1
b.lt LBB0_20
; %bb.10:
mov x25, #0
mov x26, #0
Lloh14:
adrp x27, _E1000_ICH_NVM_SIG_MASK@GOTPAGE
Lloh15:
ldr x27, [x27, _E1000_ICH_NVM_SIG_MASK@GOTPAGEOFF]
LBB0_11: ; =>This Inner Loop Header: Depth=1
add x1, x23, x26
mov x2, sp
mov x0, x19
bl _e1000_read_flash_dword_ich8lan
mov x20, x0
ldr x8, [x19]
add x9, x8, x25
ldr x10, [x9, #8]
cbz x10, LBB0_13
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldrh w10, [sp, #2]
ldrh w11, [x8, x25]
bfi x11, x10, #16, #16
str x11, [sp]
LBB0_13: ; in Loop: Header=BB0_11 Depth=1
ldr x9, [x9, #24]
cbz x9, LBB0_15
; %bb.14: ; in Loop: Header=BB0_11 Depth=1
ldrh w9, [sp]
add x8, x8, x25
ldr w8, [x8, #16]
lsl w8, w8, #16
sxtw x8, w8
orr x8, x9, x8
str x8, [sp]
LBB0_15: ; in Loop: Header=BB0_11 Depth=1
cbnz x20, LBB0_30
; %bb.16: ; in Loop: Header=BB0_11 Depth=1
ldrsw x8, [x24]
sub x8, x8, #1
cmp x26, x8
b.ne LBB0_18
; %bb.17: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [x27]
lsl w8, w8, #16
sxtw x8, w8
ldr x9, [sp]
orr x8, x9, x8
str x8, [sp]
LBB0_18: ; in Loop: Header=BB0_11 Depth=1
add x20, x21, x26
mov w0, #100
bl _usec_delay
ldr x2, [sp]
mov x0, x19
mov x1, x20
bl _e1000_retry_write_flash_dword_ich8lan
cbnz x0, LBB0_29
; %bb.19: ; in Loop: Header=BB0_11 Depth=1
add x26, x26, #2
ldr x8, [x22]
add x25, x25, #32
cmp x26, x8
b.lt LBB0_11
LBB0_20:
ldrsw x8, [x24]
add x8, x21, x8
sub x21, x8, #1
mov x2, sp
mov x0, x19
mov x1, x21
bl _e1000_read_flash_dword_ich8lan
mov x20, x0
cbnz x0, LBB0_31
; %bb.21:
ldr x8, [sp]
and x8, x8, #0xffffffff
and x2, x8, #0xffffffffbfffffff
str x2, [sp]
mov x0, x19
mov x1, x21
bl _e1000_retry_write_flash_dword_ich8lan
mov x20, x0
cbnz x0, LBB0_31
; %bb.22:
ldrsw x8, [x24]
add x8, x23, x8
sub x21, x8, #1
mov x2, sp
mov x0, x19
mov x1, x21
bl _e1000_read_flash_dword_ich8lan
mov x20, x0
cbnz x0, LBB0_31
; %bb.23:
ldr x8, [sp]
and x2, x8, #0xffffff
str x2, [sp]
mov x0, x19
mov x1, x21
bl _e1000_retry_write_flash_dword_ich8lan
mov x20, x0
cbnz x0, LBB0_31
; %bb.24:
ldr x8, [x22]
cmp x8, #1
b.lt LBB0_27
; %bb.25:
mov x8, #0
ldr x9, [x19]
add x9, x9, #8
Lloh16:
adrp x10, _FALSE@GOTPAGE
Lloh17:
ldr x10, [x10, _FALSE@GOTPAGEOFF]
mov w11, #65535
LBB0_26: ; =>This Inner Loop Header: Depth=1
ldr x12, [x10]
str x12, [x9]
stur w11, [x9, #-8]
add x8, x8, #1
ldr x12, [x22]
add x9, x9, #16
cmp x8, x12
b.lt LBB0_26
LBB0_27:
ldr x8, [x19, #32]
mov x0, x19
blr x8
ldr x8, [x19, #24]
mov x0, x19
blr x8
mov w0, #10
bl _msec_delay
LBB0_28:
mov x20, #0
b LBB0_33
LBB0_29:
mov x20, x0
LBB0_30:
Lloh18:
adrp x0, l_.str.2@PAGE
Lloh19:
add x0, x0, l_.str.2@PAGEOFF
bl _DEBUGOUT
LBB0_31:
ldr x8, [x19, #32]
mov x0, x19
blr x8
LBB0_32:
Lloh20:
adrp x0, l_.str.3@PAGE
Lloh21:
add x0, x0, l_.str.3@PAGEOFF
mov x1, x20
bl _DEBUGOUT1
LBB0_33:
mov x0, 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 AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "e1000_update_nvm_checksum_spt"
.comm _e1000_nvm_flash_sw,8,3 ; @e1000_nvm_flash_sw
.comm _E1000_SUCCESS,8,3 ; @E1000_SUCCESS
l_.str.1: ; @.str.1
.asciz "Could not detect valid bank, assuming bank 0\n"
.comm _E1000_SHADOW_RAM_WORDS,8,3 ; @E1000_SHADOW_RAM_WORDS
.comm _E1000_ICH_NVM_SIG_WORD,4,2 ; @E1000_ICH_NVM_SIG_WORD
.comm _E1000_ICH_NVM_SIG_MASK,4,2 ; @E1000_ICH_NVM_SIG_MASK
l_.str.2: ; @.str.2
.asciz "Flash commit failed.\n"
.comm _FALSE,8,3 ; @FALSE
l_.str.3: ; @.str.3
.asciz "NVM update error: %d\n"
.no_dead_strip _e1000_update_nvm_checksum_spt
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/e1000/extr_e1000_ich8lan.c_e1000_update_nvm_checksum_spt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Close
_Close: ## @Close
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %r14
movq %r14, %rdi
callq _DropStoredNAL
movq _H264_SPS_ID_MAX@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
js LBB0_3
## %bb.1:
movl $-1, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
incl %ebx
movq %r14, %rdi
movl %ebx, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _StoreSPS
cmpl (%r15), %ebx
jl LBB0_2
LBB0_3:
movq _H264_PPS_ID_MAX@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
js LBB0_6
## %bb.4:
movl $-1, %ebx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
incl %ebx
movq %r14, %rdi
movl %ebx, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _StorePPS
cmpl (%r15), %ebx
jl LBB0_5
LBB0_6:
leaq 4(%r14), %rdi
callq _packetizer_Clean
movl (%r14), %edi
callq _cc_storage_delete
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.comm _H264_SPS_ID_MAX,4,2 ## @H264_SPS_ID_MAX
.comm _H264_PPS_ID_MAX,4,2 ## @H264_PPS_ID_MAX
.no_dead_strip _Close
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Close
_Close: ; @Close
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x19, [x0]
mov x0, x19
bl _DropStoredNAL
Lloh0:
adrp x21, _H264_SPS_ID_MAX@GOTPAGE
Lloh1:
ldr x21, [x21, _H264_SPS_ID_MAX@GOTPAGEOFF]
ldr w8, [x21]
tbnz w8, #31, LBB0_3
; %bb.1:
mov w20, #-1
LBB0_2: ; =>This Inner Loop Header: Depth=1
add w20, w20, #1
mov x0, x19
mov x1, x20
mov x2, #0
mov x3, #0
bl _StoreSPS
ldr w8, [x21]
cmp w20, w8
b.lt LBB0_2
LBB0_3:
Lloh2:
adrp x21, _H264_PPS_ID_MAX@GOTPAGE
Lloh3:
ldr x21, [x21, _H264_PPS_ID_MAX@GOTPAGEOFF]
ldr w8, [x21]
tbnz w8, #31, LBB0_6
; %bb.4:
mov w20, #-1
LBB0_5: ; =>This Inner Loop Header: Depth=1
add w20, w20, #1
mov x0, x19
mov x1, x20
mov x2, #0
mov x3, #0
bl _StorePPS
ldr w8, [x21]
cmp w20, w8
b.lt LBB0_5
LBB0_6:
add x0, x19, #4
bl _packetizer_Clean
ldr w0, [x19]
bl _cc_storage_delete
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 _free
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _H264_SPS_ID_MAX,4,2 ; @H264_SPS_ID_MAX
.comm _H264_PPS_ID_MAX,4,2 ; @H264_PPS_ID_MAX
.no_dead_strip _Close
.subsections_via_symbols
| AnghaBench/vlc/modules/packetizer/extr_h264.c_Close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function send_msg
_send_msg: ## @send_msg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $544, %rsp ## imm = 0x220
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r8
movq %rdi, %rcx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movl $0, -548(%rbp)
leaq L_.str(%rip), %rdx
leaq -544(%rbp), %rbx
movq %rbx, %rdi
movl $512, %esi ## imm = 0x200
callq _StringCbPrintfA
movq _pipe_handle@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %rbx, %rdi
callq _strlen
leaq 1(%rax), %rdx
leaq -548(%rbp), %rcx
movl %r14d, %edi
movq %rbx, %rsi
xorl %r8d, %r8d
callq _WriteFile
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_2
## %bb.1:
addq $544, %rsp ## imm = 0x220
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s:%s"
.comm _pipe_handle,4,2 ## @pipe_handle
.no_dead_strip _send_msg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function send_msg
_send_msg: ; @send_msg
.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
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
mov x4, x1
mov x3, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #4]
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
add x0, sp, #8
mov w1, #512 ; =0x200
bl _StringCbPrintfA
Lloh5:
adrp x8, _pipe_handle@GOTPAGE
Lloh6:
ldr x8, [x8, _pipe_handle@GOTPAGEOFF]
Lloh7:
ldr w19, [x8]
add x0, sp, #8
bl _strlen
add x1, sp, #8
add x2, x0, #1
add x3, sp, #4
mov x0, x19
mov x4, #0 ; =0x0
bl _WriteFile
ldur x8, [x29, #-24]
Lloh8:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
add sp, sp, #528
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s:%s"
.comm _pipe_handle,4,2 ; @pipe_handle
.no_dead_strip _send_msg
.subsections_via_symbols
| assembly_file_12398.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _GetRemoteCommandResult ## -- Begin function GetRemoteCommandResult
.p2align 4, 0x90
_GetRemoteCommandResult: ## @GetRemoteCommandResult
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %rbx
movq (%rdi), %r14
movq %r14, %rdi
callq _PQisBusy
testl %eax, %eax
je LBB0_5
## %bb.1:
movq %rbx, %rdi
movl %r15d, %esi
callq _FinishConnectionIO
testl %eax, %eax
je LBB0_2
## %bb.4:
movq %r14, %rdi
callq _PQisBusy
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _Assert
LBB0_5:
movq (%rbx), %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _PQgetResult ## TAILCALL
LBB0_2:
movq %r14, %rdi
callq _PQstatus
movq _CONNECTION_BAD@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.6:
movq _PGRES_FATAL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _PQmakeEmptyPGresult ## TAILCALL
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CONNECTION_BAD,8,3 ## @CONNECTION_BAD
.comm _PGRES_FATAL_ERROR,4,2 ## @PGRES_FATAL_ERROR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _GetRemoteCommandResult ; -- Begin function GetRemoteCommandResult
.p2align 2
_GetRemoteCommandResult: ; @GetRemoteCommandResult
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x20, x0
ldr x19, [x0]
mov x0, x19
bl _PQisBusy
cbz w0, LBB0_3
; %bb.1:
mov x0, x20
mov x1, x21
bl _FinishConnectionIO
cbz w0, LBB0_4
; %bb.2:
mov x0, x19
bl _PQisBusy
cmp w0, #0
cset w0, eq
bl _Assert
LBB0_3:
ldr 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
b _PQgetResult
LBB0_4:
mov x0, x19
bl _PQstatus
Lloh0:
adrp x8, _CONNECTION_BAD@GOTPAGE
Lloh1:
ldr x8, [x8, _CONNECTION_BAD@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_6
; %bb.5:
Lloh3:
adrp x8, _PGRES_FATAL_ERROR@GOTPAGE
Lloh4:
ldr x8, [x8, _PGRES_FATAL_ERROR@GOTPAGEOFF]
Lloh5:
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 _PQmakeEmptyPGresult
LBB0_6:
mov x0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _CONNECTION_BAD,8,3 ; @CONNECTION_BAD
.comm _PGRES_FATAL_ERROR,4,2 ; @PGRES_FATAL_ERROR
.subsections_via_symbols
| AnghaBench/citus/src/backend/distributed/connection/extr_remote_commands.c_GetRemoteCommandResult.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function flexcop_usb_read_ibi_reg
_flexcop_usb_read_ibi_reg: ## @flexcop_usb_read_ibi_reg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq $0, -8(%rbp)
leaq -8(%rbp), %rdx
movl $1, %ecx
callq _flexcop_usb_readwrite_dw
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _flexcop_usb_read_ibi_reg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function flexcop_usb_read_ibi_reg
_flexcop_usb_read_ibi_reg: ; @flexcop_usb_read_ibi_reg
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str xzr, [sp, #8]
add x2, sp, #8
mov w3, #1
bl _flexcop_usb_readwrite_dw
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _flexcop_usb_read_ibi_reg
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/dvb/b2c2/extr_flexcop-usb.c_flexcop_usb_read_ibi_reg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function timeout
_timeout: ## @timeout
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %esi
movq _timebuf@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _longjmp ## TAILCALL
.cfi_endproc
## -- End function
.comm _timebuf,4,2 ## @timebuf
.no_dead_strip _timeout
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function timeout
_timeout: ; @timeout
.cfi_startproc
; %bb.0:
mov x1, x0
Lloh0:
adrp x8, _timebuf@GOTPAGE
Lloh1:
ldr x8, [x8, _timebuf@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b _longjmp
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _timebuf,4,2 ; @timebuf
.no_dead_strip _timeout
.subsections_via_symbols
| AnghaBench/freebsd/contrib/tcp_wrappers/extr_rfc931.c_timeout.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function char2uni
_char2uni: ## @char2uni
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _charset2uni@GOTPCREL(%rip), %rax
movq (%rax), %rax
movzbl (%rdi), %ecx
movl (%rax,%rcx,4), %eax
movl %eax, (%rdx)
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %edx, %edx
subl (%rcx), %edx
testl %eax, %eax
movl $1, %eax
cmovel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _charset2uni,8,3 ## @charset2uni
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _char2uni
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function char2uni
_char2uni: ; @char2uni
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _charset2uni@GOTPAGE
Lloh1:
ldr x8, [x8, _charset2uni@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldrb w9, [x0]
ldr w8, [x8, x9, lsl #2]
Lloh3:
adrp x9, _EINVAL@GOTPAGE
Lloh4:
ldr x9, [x9, _EINVAL@GOTPAGEOFF]
str w8, [x2]
Lloh5:
ldr w9, [x9]
cmp w8, #0
mov w8, #1
csneg w0, w8, w9, ne
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _charset2uni,8,3 ; @charset2uni
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _char2uni
.subsections_via_symbols
| AnghaBench/reactos/drivers/filesystems/reiserfs/src/nls/extr_nls_cp866.c_char2uni.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function GetDriverVersion
_GetDriverVersion: ## @GetDriverVersion
.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 _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
callq _GetModuleHandleA
movl %eax, %r14d
leaq L_.str.1(%rip), %rsi
movl %eax, %edi
callq _GetProcAddress
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %rbx
xorl %eax, %eax
callq _GetCurrentProcess
leaq -48(%rbp), %rsi
movl %eax, %edi
callq *%rbx
cmpq $0, -48(%rbp)
je LBB0_3
## %bb.2:
leaq L_.str.2(%rip), %rsi
movl %r14d, %edi
callq _GetProcAddress
leaq -56(%rbp), %rdi
callq *%rax
LBB0_3:
movl 8(%r15), %edi
xorl %esi, %esi
callq _GetFileVersionInfoSizeA
movq %rax, -72(%rbp)
testq %rax, %rax
jle LBB0_8
## %bb.4:
movq %rax, %rbx
movl %r14d, -52(%rbp) ## 4-byte Spill
movq $0, -64(%rbp)
xorl %eax, %eax
callq _GetProcessHeap
movq _HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
movq %rbx, %rdx
callq _HeapAlloc
movl %eax, %r12d
movq _TRUE@GOTPCREL(%rip), %r13
movq (%r13), %r14
movl 8(%r15), %edi
xorl %esi, %esi
movq %rbx, %rdx
movl %eax, %ecx
callq _GetFileVersionInfoA
cmpq %rax, %r14
jne LBB0_7
## %bb.5:
movq (%r13), %rbx
leaq L_.str.3(%rip), %rsi
leaq -64(%rbp), %rdx
leaq -72(%rbp), %rcx
movl %r12d, %edi
callq _VerQueryValueA
cmpq %rax, %rbx
jne LBB0_7
## %bb.6:
movq -64(%rbp), %rax
movl 4(%rax), %ecx
movl %ecx, 4(%r15)
movl (%rax), %eax
movl %eax, (%r15)
LBB0_7:
xorl %eax, %eax
callq _GetProcessHeap
movl %eax, %edi
xorl %esi, %esi
movl %r12d, %edx
callq _HeapFree
movl -52(%rbp), %r14d ## 4-byte Reload
LBB0_8:
cmpq $0, -48(%rbp)
je LBB0_10
## %bb.9:
leaq L_.str.4(%rip), %rsi
movl %r14d, %edi
callq _GetProcAddress
leaq -56(%rbp), %rdi
callq *%rax
LBB0_10:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "KERNEL32"
L_.str.1: ## @.str.1
.asciz "IsWow64Process"
L_.str.2: ## @.str.2
.asciz "Wow64DisableWow64FsRedirection"
.comm _HEAP_ZERO_MEMORY,4,2 ## @HEAP_ZERO_MEMORY
.comm _TRUE,8,3 ## @TRUE
L_.str.3: ## @.str.3
.asciz "\\"
L_.str.4: ## @.str.4
.asciz "Wow64RevertWow64FsRedirection"
.no_dead_strip _GetDriverVersion
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function GetDriverVersion
_GetDriverVersion: ; @GetDriverVersion
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x1
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _GetModuleHandleA
mov x19, x0
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
bl _GetProcAddress
cbz x0, LBB0_3
; %bb.1:
mov x21, x0
bl _GetCurrentProcess
add x1, sp, #24
blr x21
ldr x8, [sp, #24]
cbz x8, LBB0_3
; %bb.2:
Lloh7:
adrp x1, l_.str.2@PAGE
Lloh8:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _GetProcAddress
mov x8, x0
add x0, sp, #20
blr x8
LBB0_3:
ldr w0, [x20, #8]
mov x1, #0
bl _GetFileVersionInfoSizeA
str x0, [sp, #8]
cmp x0, #1
b.lt LBB0_8
; %bb.4:
mov x22, x0
str xzr, [sp]
bl _GetProcessHeap
Lloh9:
adrp x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh10:
ldr x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x2, x22
bl _HeapAlloc
mov x21, x0
Lloh12:
adrp x23, _TRUE@GOTPAGE
Lloh13:
ldr x23, [x23, _TRUE@GOTPAGEOFF]
ldr x24, [x23]
ldr w0, [x20, #8]
mov w1, #0
mov x2, x22
mov x3, x21
bl _GetFileVersionInfoA
cmp x24, x0
b.ne LBB0_7
; %bb.5:
ldr x22, [x23]
Lloh14:
adrp x1, l_.str.3@PAGE
Lloh15:
add x1, x1, l_.str.3@PAGEOFF
mov x2, sp
add x3, sp, #8
mov x0, x21
bl _VerQueryValueA
cmp x22, x0
b.ne LBB0_7
; %bb.6:
ldr x8, [sp]
ldr d0, [x8]
str d0, [x20]
LBB0_7:
bl _GetProcessHeap
mov w1, #0
mov x2, x21
bl _HeapFree
LBB0_8:
ldr x8, [sp, #24]
cbz x8, LBB0_10
; %bb.9:
Lloh16:
adrp x1, l_.str.4@PAGE
Lloh17:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _GetProcAddress
mov x8, x0
add x0, sp, #20
blr x8
LBB0_10:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "KERNEL32"
l_.str.1: ; @.str.1
.asciz "IsWow64Process"
l_.str.2: ; @.str.2
.asciz "Wow64DisableWow64FsRedirection"
.comm _HEAP_ZERO_MEMORY,4,2 ; @HEAP_ZERO_MEMORY
.comm _TRUE,8,3 ; @TRUE
l_.str.3: ; @.str.3
.asciz "\\"
l_.str.4: ; @.str.4
.asciz "Wow64RevertWow64FsRedirection"
.no_dead_strip _GetDriverVersion
.subsections_via_symbols
| AnghaBench/reactos/dll/directx/d3d9/extr_adapter.c_GetDriverVersion.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtl_set_bbreg
_rtl_set_bbreg: ## @rtl_set_bbreg
.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
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
popq %rbp
jmpq *%rax ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _rtl_set_bbreg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rtl_set_bbreg
_rtl_set_bbreg: ; @rtl_set_bbreg
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x8, [x8]
ldr x8, [x8]
ldr x4, [x8]
br x4
.cfi_endproc
; -- End function
.no_dead_strip _rtl_set_bbreg
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723com/extr_..wifi.h_rtl_set_bbreg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function st6422_init_controls
_st6422_init_controls: ## @st6422_init_controls
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl $4, %esi
callq _v4l2_ctrl_handler_init
movq _V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $3, (%rsp)
movq _st6422_ctrl_ops@GOTPCREL(%rip), %r14
movq %rbx, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
movl $31, %r8d
movl $1, %r9d
callq _v4l2_ctrl_new_std
movq _V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $11, (%rsp)
movq %rbx, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
movl $15, %r8d
movl $1, %r9d
callq _v4l2_ctrl_new_std
movq _V4L2_CID_EXPOSURE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $256, (%rsp) ## imm = 0x100
movq %rbx, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
movl $1023, %r8d ## imm = 0x3FF
movl $1, %r9d
callq _v4l2_ctrl_new_std
movq _V4L2_CID_GAIN@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $64, (%rsp)
movq %rbx, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
movl $255, %r8d
movl $1, %r9d
callq _v4l2_ctrl_new_std
movl (%rbx), %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _st6422_ctrl_ops,4,2 ## @st6422_ctrl_ops
.comm _V4L2_CID_BRIGHTNESS,4,2 ## @V4L2_CID_BRIGHTNESS
.comm _V4L2_CID_CONTRAST,4,2 ## @V4L2_CID_CONTRAST
.comm _V4L2_CID_EXPOSURE,4,2 ## @V4L2_CID_EXPOSURE
.comm _V4L2_CID_GAIN,4,2 ## @V4L2_CID_GAIN
.no_dead_strip _st6422_init_controls
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function st6422_init_controls
_st6422_init_controls: ; @st6422_init_controls
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w1, #4
bl _v4l2_ctrl_handler_init
Lloh0:
adrp x8, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh1:
ldr x8, [x8, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x20, _st6422_ctrl_ops@GOTPAGE
Lloh4:
ldr x20, [x20, _st6422_ctrl_ops@GOTPAGEOFF]
mov x0, x19
mov x1, x20
mov w3, #0
mov w4, #31
mov w5, #1
mov w6, #3
bl _v4l2_ctrl_new_std
Lloh5:
adrp x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh6:
ldr x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
mov x0, x19
mov x1, x20
mov w3, #0
mov w4, #15
mov w5, #1
mov w6, #11
bl _v4l2_ctrl_new_std
Lloh8:
adrp x8, _V4L2_CID_EXPOSURE@GOTPAGE
Lloh9:
ldr x8, [x8, _V4L2_CID_EXPOSURE@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
mov x0, x19
mov x1, x20
mov w3, #0
mov w4, #1023
mov w5, #1
mov w6, #256
bl _v4l2_ctrl_new_std
Lloh11:
adrp x8, _V4L2_CID_GAIN@GOTPAGE
Lloh12:
ldr x8, [x8, _V4L2_CID_GAIN@GOTPAGEOFF]
Lloh13:
ldr w2, [x8]
mov x0, x19
mov x1, x20
mov w3, #0
mov w4, #255
mov w5, #1
mov w6, #64
bl _v4l2_ctrl_new_std
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _st6422_ctrl_ops,4,2 ; @st6422_ctrl_ops
.comm _V4L2_CID_BRIGHTNESS,4,2 ; @V4L2_CID_BRIGHTNESS
.comm _V4L2_CID_CONTRAST,4,2 ; @V4L2_CID_CONTRAST
.comm _V4L2_CID_EXPOSURE,4,2 ; @V4L2_CID_EXPOSURE
.comm _V4L2_CID_GAIN,4,2 ; @V4L2_CID_GAIN
.no_dead_strip _st6422_init_controls
.subsections_via_symbols
| AnghaBench/linux/drivers/media/usb/gspca/stv06xx/extr_stv06xx_st6422.c_st6422_init_controls.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sock_eq
_sock_eq: ## @sock_eq
.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
cmpl (%rsi), %eax
jne LBB0_8
## %bb.1:
cmpl $128, %eax
je LBB0_5
## %bb.2:
cmpl $129, %eax
jne LBB0_8
## %bb.3:
movl 4(%rdi), %eax
cmpl 4(%rsi), %eax
sete %al
jmp LBB0_9
LBB0_5:
movl 8(%rdi), %eax
cmpl 8(%rsi), %eax
jne LBB0_8
## %bb.6:
callq _IN6_ARE_ADDR_EQUAL
testl %eax, %eax
setne %al
jmp LBB0_9
LBB0_8:
xorl %eax, %eax
LBB0_9:
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sock_eq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sock_eq
_sock_eq: ; @sock_eq
.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 w8, [x0]
ldr w9, [x1]
cmp w8, w9
b.ne LBB0_6
; %bb.1:
cmp w8, #128
b.eq LBB0_4
; %bb.2:
cmp w8, #129
b.ne LBB0_6
; %bb.3:
ldr w8, [x0, #4]
ldr w9, [x1, #4]
cmp w8, w9
cset w0, eq
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_4:
ldr w8, [x0, #8]
ldr w9, [x1, #8]
cmp w8, w9
b.ne LBB0_6
; %bb.5:
bl _IN6_ARE_ADDR_EQUAL
cmp w0, #0
cset w0, ne
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_6:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _sock_eq
.subsections_via_symbols
| AnghaBench/freebsd/lib/libc/resolv/extr_res_send.c_sock_eq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function x25_pacsize_to_bytes
_x25_pacsize_to_bytes: ## @x25_pacsize_to_bytes
.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 $edi killed $edi def $rdi
testl %edi, %edi
je LBB0_1
## %bb.2:
leal -1(%rdi), %eax
movl %edi, %ecx
andl $7, %ecx
cmpl $7, %eax
jae LBB0_4
## %bb.3:
movl $1, %eax
jmp LBB0_6
LBB0_1:
movl $128, %eax
popq %rbp
retq
LBB0_4:
andl $-8, %edi
movl $1, %eax
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
shll $8, %eax
addl $-8, %edi
jne LBB0_5
LBB0_6:
testl %ecx, %ecx
je LBB0_8
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
addl %eax, %eax
decl %ecx
jne LBB0_7
LBB0_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _x25_pacsize_to_bytes
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function x25_pacsize_to_bytes
_x25_pacsize_to_bytes: ; @x25_pacsize_to_bytes
.cfi_startproc
; %bb.0:
cbz w0, LBB0_4
; %bb.1:
mov x8, x0
mov w0, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
lsl w0, w0, #1
subs w8, w8, #1
b.ne LBB0_2
; %bb.3:
ret
LBB0_4:
mov w0, #128
ret
.cfi_endproc
; -- End function
.no_dead_strip _x25_pacsize_to_bytes
.subsections_via_symbols
| AnghaBench/linux/net/x25/extr_x25_out.c_x25_pacsize_to_bytes.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 %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -36(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movslq -36(%rbp), %r14
imulq $1717986919, %r14, %rbx ## imm = 0x66666667
movq %rbx, %rax
shrq $63, %rax
sarq $34, %rbx
addl %eax, %ebx
leal (%rbx,%rbx), %eax
leal (%rax,%rax,4), %eax
movl %r14d, %esi
subl %eax, %esi
testl %esi, %esi
jle LBB0_1
LBB0_3:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_4
LBB0_1:
js LBB0_2
LBB0_4:
leal 9(%r14), %eax
cmpl $119, %eax
jb LBB0_11
## %bb.5:
cmpl $10, %r14d
jl LBB0_8
## %bb.6:
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movslq %ebx, %r15
imulq $1717986919, %r15, %rbx ## imm = 0x66666667
movq %rbx, %rax
shrq $63, %rax
sarq $34, %rbx
addl %eax, %ebx
leal (%rbx,%rbx), %eax
leal (%rax,%rax,4), %eax
movl %r15d, %esi
subl %eax, %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
cmpl $100, %r15d
jge LBB0_7
jmp LBB0_11
LBB0_8:
negl %ebx
movl $3435973837, %r15d ## imm = 0xCCCCCCCD
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movl %ebx, %r12d
movl %ebx, %ebx
imulq %r15, %rbx
shrq $35, %rbx
leal (%rbx,%rbx), %eax
leal (%rax,%rax,4), %eax
movl %r12d, %esi
subl %eax, %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
cmpl $99, %r12d
ja LBB0_9
## %bb.10:
negl %ebx
LBB0_11:
leaq L_.str.3(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
negl %esi
jmp LBB0_3
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter an integer > "
L_.str.1: ## @.str.1
.asciz " %d"
L_.str.2: ## @.str.2
.asciz "%d\n"
L_.str.3: ## @.str.3
.asciz "%d\nThat's all, have a nice day!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp 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
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w19, [sp, #12]
mov w8, #26215
movk w8, #26214, lsl #16
smull x8, w19, w8
lsr x9, x8, #63
asr x8, x8, #34
add w20, w8, w9
mov w8, #10
msub w8, w20, w8, w19
cmp w8, #0
b.le LBB0_2
LBB0_1:
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
tbnz w8, #31, LBB0_12
LBB0_3:
add w8, w19, #9
cmp w8, #119
b.hs LBB0_5
; %bb.4:
mov x23, x20
b LBB0_11
LBB0_5:
cmp w19, #10
b.lt LBB0_8
; %bb.6:
mov w21, #26215
movk w21, #26214, lsl #16
mov w22, #10
Lloh6:
adrp x19, l_.str.2@PAGE
Lloh7:
add x19, x19, l_.str.2@PAGEOFF
LBB0_7: ; =>This Inner Loop Header: Depth=1
smull x8, w20, w21
lsr x9, x8, #63
asr x8, x8, #34
add w23, w8, w9
msub w8, w23, w22, w20
str x8, [sp]
mov x0, x19
bl _printf
cmp w20, #100
mov x20, x23
b.ge LBB0_7
b LBB0_11
LBB0_8:
neg w20, w20
mov w21, #52429
movk w21, #52428, lsl #16
mov w22, #10
Lloh8:
adrp x19, l_.str.2@PAGE
Lloh9:
add x19, x19, l_.str.2@PAGEOFF
LBB0_9: ; =>This Inner Loop Header: Depth=1
mov x23, x20
umull x8, w20, w21
lsr x20, x8, #35
msub w8, w20, w22, w23
str x8, [sp]
mov x0, x19
bl _printf
cmp w23, #99
b.hi LBB0_9
; %bb.10:
neg w23, w20
LBB0_11:
str x23, [sp]
Lloh10:
adrp x0, l_.str.3@PAGE
Lloh11:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_12:
neg w8, w8
b LBB0_1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter an integer > "
l_.str.1: ; @.str.1
.asciz " %d"
l_.str.2: ; @.str.2
.asciz "%d\n"
l_.str.3: ; @.str.3
.asciz "%d\nThat's all, have a nice day!\n"
.subsections_via_symbols
| the_stack_data/373861.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pre_test_setup
_pre_test_setup: ## @pre_test_setup
.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 $4, %edi
callq _malloc
movq _localhost@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movl $48, %edi
callq _malloc
movq %rax, %rbx
movq _NETDATA_WEB_RESPONSE_INITIAL_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _buffer_create
movq %rax, 40(%rbx)
movq _NETDATA_WEB_RESPONSE_HEADER_SIZE@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _buffer_create
movq %rax, 32(%rbx)
movl (%r14), %edi
callq _buffer_create
movq %rax, 24(%rbx)
movl 16(%rbx), %edi
leaq L_.str(%rip), %rsi
callq _strcpy
movq 8(%rbx), %rax
movq $0, (%rax)
movq (%rbx), %rax
movq $0, (%rax)
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _localhost,8,3 ## @localhost
.comm _NETDATA_WEB_RESPONSE_INITIAL_SIZE,4,2 ## @NETDATA_WEB_RESPONSE_INITIAL_SIZE
.comm _NETDATA_WEB_RESPONSE_HEADER_SIZE,4,2 ## @NETDATA_WEB_RESPONSE_HEADER_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "*"
.no_dead_strip _pre_test_setup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pre_test_setup
_pre_test_setup: ; @pre_test_setup
.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 w0, #4 ; =0x4
bl _malloc
Lloh0:
adrp x8, _localhost@GOTPAGE
Lloh1:
ldr x8, [x8, _localhost@GOTPAGEOFF]
Lloh2:
str x0, [x8]
mov w0, #48 ; =0x30
bl _malloc
mov x19, x0
Lloh3:
adrp x8, _NETDATA_WEB_RESPONSE_INITIAL_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _NETDATA_WEB_RESPONSE_INITIAL_SIZE@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _buffer_create
str x0, [x19, #40]
Lloh6:
adrp x20, _NETDATA_WEB_RESPONSE_HEADER_SIZE@GOTPAGE
Lloh7:
ldr x20, [x20, _NETDATA_WEB_RESPONSE_HEADER_SIZE@GOTPAGEOFF]
ldr w0, [x20]
bl _buffer_create
str x0, [x19, #32]
ldr w0, [x20]
bl _buffer_create
str x0, [x19, #24]
ldr w0, [x19, #16]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
bl _strcpy
ldp x9, x8, [x19]
str xzr, [x8]
str xzr, [x9]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _localhost,8,3 ; @localhost
.comm _NETDATA_WEB_RESPONSE_INITIAL_SIZE,4,2 ; @NETDATA_WEB_RESPONSE_INITIAL_SIZE
.comm _NETDATA_WEB_RESPONSE_HEADER_SIZE,4,2 ; @NETDATA_WEB_RESPONSE_HEADER_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "*"
.no_dead_strip _pre_test_setup
.subsections_via_symbols
| assembly_file_138943.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sim800_handle_cgmm
_sim800_handle_cgmm: ## @sim800_handle_cgmm
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r15
movq _ESP_FAIL@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _MODEM_RESULT_CODE_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
je LBB0_3
## %bb.1:
movq _MODEM_STATE_SUCCESS@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_3:
movq _MODEM_RESULT_CODE_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
je LBB0_5
## %bb.4:
movq _MODEM_STATE_FAIL@GOTPCREL(%rip), %rax
LBB0_2:
movl (%rax), %esi
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _esp_modem_process_command_done ## TAILCALL
LBB0_5:
movl (%r15), %edi
movq _MODEM_MAX_NAME_LENGTH@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %rbx, %rcx
callq _snprintf
cmpl $3, %eax
jl LBB0_7
## %bb.6:
movl (%r15), %edi
movl %eax, %esi
callq _strip_cr_lf_tail
movq _ESP_OK@GOTPCREL(%rip), %rax
movl (%rax), %r14d
LBB0_7:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ESP_FAIL,4,2 ## @ESP_FAIL
.comm _MODEM_RESULT_CODE_SUCCESS,4,2 ## @MODEM_RESULT_CODE_SUCCESS
.comm _MODEM_STATE_SUCCESS,4,2 ## @MODEM_STATE_SUCCESS
.comm _MODEM_RESULT_CODE_ERROR,4,2 ## @MODEM_RESULT_CODE_ERROR
.comm _MODEM_STATE_FAIL,4,2 ## @MODEM_STATE_FAIL
.comm _MODEM_MAX_NAME_LENGTH,4,2 ## @MODEM_MAX_NAME_LENGTH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.comm _ESP_OK,4,2 ## @ESP_OK
.no_dead_strip _sim800_handle_cgmm
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sim800_handle_cgmm
_sim800_handle_cgmm: ; @sim800_handle_cgmm
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x19, x0
Lloh0:
adrp x8, _ESP_FAIL@GOTPAGE
Lloh1:
ldr x8, [x8, _ESP_FAIL@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
Lloh3:
adrp x8, _MODEM_RESULT_CODE_SUCCESS@GOTPAGE
Lloh4:
ldr x8, [x8, _MODEM_RESULT_CODE_SUCCESS@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x21
bl _strstr
cbz x0, LBB0_2
; %bb.1:
Lloh6:
adrp x8, _MODEM_STATE_SUCCESS@GOTPAGE
Lloh7:
ldr x8, [x8, _MODEM_STATE_SUCCESS@GOTPAGEOFF]
b LBB0_4
LBB0_2:
Lloh8:
adrp x8, _MODEM_RESULT_CODE_ERROR@GOTPAGE
Lloh9:
ldr x8, [x8, _MODEM_RESULT_CODE_ERROR@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x21
bl _strstr
cbz x0, LBB0_5
; %bb.3:
Lloh11:
adrp x8, _MODEM_STATE_FAIL@GOTPAGE
Lloh12:
ldr x8, [x8, _MODEM_STATE_FAIL@GOTPAGEOFF]
LBB0_4:
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 _esp_modem_process_command_done
LBB0_5:
ldr w0, [x19]
Lloh13:
adrp x8, _MODEM_MAX_NAME_LENGTH@GOTPAGE
Lloh14:
ldr x8, [x8, _MODEM_MAX_NAME_LENGTH@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
Lloh16:
adrp x2, l_.str@PAGE
Lloh17:
add x2, x2, l_.str@PAGEOFF
mov x3, x21
bl _snprintf
cmp w0, #3
b.lt LBB0_7
; %bb.6:
mov x1, x0
ldr w0, [x19]
bl _strip_cr_lf_tail
Lloh18:
adrp x8, _ESP_OK@GOTPAGE
Lloh19:
ldr x8, [x8, _ESP_OK@GOTPAGEOFF]
Lloh20:
ldr w20, [x8]
LBB0_7:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _ESP_FAIL,4,2 ; @ESP_FAIL
.comm _MODEM_RESULT_CODE_SUCCESS,4,2 ; @MODEM_RESULT_CODE_SUCCESS
.comm _MODEM_STATE_SUCCESS,4,2 ; @MODEM_STATE_SUCCESS
.comm _MODEM_RESULT_CODE_ERROR,4,2 ; @MODEM_RESULT_CODE_ERROR
.comm _MODEM_STATE_FAIL,4,2 ; @MODEM_STATE_FAIL
.comm _MODEM_MAX_NAME_LENGTH,4,2 ; @MODEM_MAX_NAME_LENGTH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.comm _ESP_OK,4,2 ; @ESP_OK
.no_dead_strip _sim800_handle_cgmm
.subsections_via_symbols
| AnghaBench/esp-idf/examples/protocols/pppos_client/components/modem/src/extr_sim800.c_sim800_handle_cgmm.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tls_construct_cert_verify ## -- Begin function tls_construct_cert_verify
.p2align 4, 0x90
_tls_construct_cert_verify: ## @tls_construct_cert_verify
.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 %rsi, %r15
movq %rdi, %r13
movq %rsp, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _TLS13_TBS_PREAMBLE_SIZE@GOTPCREL(%rip), %rcx
movq _EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl (%rcx), %eax
movq $0, -96(%rbp)
movq $0, -72(%rbp)
movq $0, -88(%rbp)
movq $0, -64(%rbp)
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movq 16(%r13), %rax
movq 8(%rax), %r14
testq %r14, %r14
je LBB0_2
## %bb.1:
movq (%rax), %rax
testq %rax, %rax
je LBB0_2
## %bb.3:
movq %r12, -56(%rbp) ## 8-byte Spill
movq (%rax), %r12
testq %r12, %r12
je LBB0_5
## %bb.4:
leaq -96(%rbp), %rsi
movq %r14, %rdi
callq _tls1_lookup_md
testl %eax, %eax
je LBB0_5
## %bb.7:
xorl %eax, %eax
callq _EVP_MD_CTX_new
movq %rax, -80(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB0_8
## %bb.9:
leaq -112(%rbp), %rdx
leaq -88(%rbp), %rcx
movq %r13, %rdi
movq %rbx, %rsi
callq _get_cert_verify_tbs_data
testl %eax, %eax
je LBB0_10
## %bb.11:
movq %r13, %rdi
callq _SSL_USE_SIGALGS
testq %rax, %rax
movq -80(%rbp), %rbx ## 8-byte Reload
je LBB0_15
## %bb.12:
movl 4(%r14), %esi
movq %r15, %rdi
callq _WPACKET_put_bytes_u16
testl %eax, %eax
je LBB0_13
LBB0_15:
movq %r15, -104(%rbp) ## 8-byte Spill
movq %r12, %rdi
callq _EVP_PKEY_size
movq %rax, -64(%rbp)
movq %rax, %rdi
callq _OPENSSL_malloc
testq %rax, %rax
je LBB0_16
## %bb.17:
movq %rax, %r15
movq -96(%rbp), %rdx
leaq -72(%rbp), %rsi
movq %rbx, %rdi
xorl %ecx, %ecx
movq %r12, %r8
callq _EVP_DigestSignInit
testq %rax, %rax
jle LBB0_18
## %bb.21:
movl (%r14), %eax
movq _EVP_PKEY_RSA_PSS@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
movq -56(%rbp), %r12 ## 8-byte Reload
jne LBB0_26
## %bb.22:
movq -72(%rbp), %rdi
movq _RSA_PKCS1_PSS_PADDING@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _EVP_PKEY_CTX_set_rsa_padding
testq %rax, %rax
jle LBB0_24
## %bb.23:
movq -72(%rbp), %rdi
movq _RSA_PSS_SALTLEN_DIGEST@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _EVP_PKEY_CTX_set_rsa_pss_saltlen
testq %rax, %rax
jle LBB0_24
LBB0_26:
movq (%r13), %rax
movq _SSL3_VERSION@GOTPCREL(%rip), %rdx
movq -112(%rbp), %rcx
movq -88(%rbp), %r8
cmpq (%rdx), %rax
jne LBB0_41
## %bb.27:
movq %rbx, %rdi
movq %rcx, %rsi
movq %r8, %rdx
callq _EVP_DigestSignUpdate
testq %rax, %rax
jle LBB0_24
## %bb.28:
movq _EVP_CTRL_SSL3_MASTER_SECRET@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 8(%r13), %rax
movl (%rax), %ecx
movl 8(%rax), %edx
movq %rbx, %rdi
callq _EVP_MD_CTX_ctrl
testl %eax, %eax
je LBB0_24
## %bb.29:
leaq -64(%rbp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq _EVP_DigestSignFinal
jmp LBB0_30
LBB0_2:
movq _SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r13, %rdi
callq _SSLfatal
xorl %r15d, %r15d
xorl %ebx, %ebx
jmp LBB0_20
LBB0_5:
movq _SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %ecx
movq %r13, %rdi
callq _SSLfatal
xorl %r15d, %r15d
xorl %ebx, %ebx
LBB0_19:
movq -56(%rbp), %r12 ## 8-byte Reload
LBB0_20:
movq %r15, %rdi
callq _OPENSSL_free
movq %rbx, %rdi
callq _EVP_MD_CTX_free
xorl %eax, %eax
LBB0_39:
movq %r12, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_40
## %bb.42:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movq _SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_10:
xorl %r15d, %r15d
movq -56(%rbp), %r12 ## 8-byte Reload
movq -80(%rbp), %rbx ## 8-byte Reload
jmp LBB0_20
LBB0_16:
movq _SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_13:
movq _SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_14:
movl (%rax), %ecx
movq %r13, %rdi
callq _SSLfatal
xorl %r15d, %r15d
jmp LBB0_19
LBB0_18:
movq _SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ERR_R_EVP_LIB@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r13, %rdi
callq _SSLfatal
jmp LBB0_19
LBB0_41:
leaq -64(%rbp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq _EVP_DigestSign
LBB0_30:
testq %rax, %rax
jle LBB0_24
## %bb.31:
movl (%r14), %eax
movq _NID_id_GostR3410_2001@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_34
## %bb.32:
movq _NID_id_GostR3410_2012_256@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_34
## %bb.33:
movq _NID_id_GostR3410_2012_512@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_35
LBB0_34:
movq -64(%rbp), %rdx
movq %r15, %rdi
xorl %esi, %esi
callq _BUF_reverse
LBB0_35:
movq -64(%rbp), %rdx
movq -104(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
callq _WPACKET_sub_memcpy_u16
testl %eax, %eax
je LBB0_36
## %bb.37:
movq %r13, %rdi
xorl %esi, %esi
callq _ssl3_digest_cached_records
testl %eax, %eax
je LBB0_20
## %bb.38:
movq %r15, %rdi
callq _OPENSSL_free
movq %rbx, %rdi
callq _EVP_MD_CTX_free
movl $1, %eax
jmp LBB0_39
LBB0_24:
movq _SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ERR_R_EVP_LIB@GOTPCREL(%rip), %rax
LBB0_25:
movl (%rax), %ecx
movq %r13, %rdi
callq _SSLfatal
jmp LBB0_20
LBB0_36:
movq _SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
jmp LBB0_25
LBB0_40:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _TLS13_TBS_PREAMBLE_SIZE,4,2 ## @TLS13_TBS_PREAMBLE_SIZE
.comm _EVP_MAX_MD_SIZE,4,2 ## @EVP_MAX_MD_SIZE
.comm _SSL_AD_INTERNAL_ERROR,4,2 ## @SSL_AD_INTERNAL_ERROR
.comm _SSL_F_TLS_CONSTRUCT_CERT_VERIFY,4,2 ## @SSL_F_TLS_CONSTRUCT_CERT_VERIFY
.comm _ERR_R_INTERNAL_ERROR,4,2 ## @ERR_R_INTERNAL_ERROR
.comm _ERR_R_MALLOC_FAILURE,4,2 ## @ERR_R_MALLOC_FAILURE
.comm _ERR_R_EVP_LIB,4,2 ## @ERR_R_EVP_LIB
.comm _EVP_PKEY_RSA_PSS,4,2 ## @EVP_PKEY_RSA_PSS
.comm _RSA_PKCS1_PSS_PADDING,4,2 ## @RSA_PKCS1_PSS_PADDING
.comm _RSA_PSS_SALTLEN_DIGEST,4,2 ## @RSA_PSS_SALTLEN_DIGEST
.comm _SSL3_VERSION,8,3 ## @SSL3_VERSION
.comm _EVP_CTRL_SSL3_MASTER_SECRET,4,2 ## @EVP_CTRL_SSL3_MASTER_SECRET
.comm _NID_id_GostR3410_2001,4,2 ## @NID_id_GostR3410_2001
.comm _NID_id_GostR3410_2012_256,4,2 ## @NID_id_GostR3410_2012_256
.comm _NID_id_GostR3410_2012_512,4,2 ## @NID_id_GostR3410_2012_512
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tls_construct_cert_verify ; -- Begin function tls_construct_cert_verify
.p2align 2
_tls_construct_cert_verify: ; @tls_construct_cert_verify
.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
sub sp, sp, #48
mov x22, x1
mov x20, x0
mov x25, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
stp xzr, xzr, [x29, #-88]
stp xzr, xzr, [x29, #-104]
Lloh3:
adrp x8, _TLS13_TBS_PREAMBLE_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _TLS13_TBS_PREAMBLE_SIZE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh7:
ldr x9, [x9, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
add w9, w9, w8
add x8, x9, #15
and x8, x8, #0x1fffffff0
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x21, x9, x8
mov sp, x21
ldr x8, [x0, #16]
ldr x23, [x8, #8]
cbz x23, LBB0_17
; %bb.1:
ldr x8, [x8]
cbz x8, LBB0_17
; %bb.2:
ldr x24, [x8]
cbz x24, LBB0_17
; %bb.3:
sub x1, x29, #80
mov x0, x23
bl _tls1_lookup_md
cbz w0, LBB0_17
; %bb.4:
bl _EVP_MD_CTX_new
mov x19, x0
cbz x0, LBB0_21
; %bb.5:
sub x2, x29, #112
sub x3, x29, #96
mov x0, x20
mov x1, x21
bl _get_cert_verify_tbs_data
cbz w0, LBB0_23
; %bb.6:
mov x0, x20
bl _SSL_USE_SIGALGS
cbz x0, LBB0_8
; %bb.7:
ldr w1, [x23, #4]
mov x0, x22
bl _WPACKET_put_bytes_u16
cbz w0, LBB0_25
LBB0_8:
mov x0, x24
bl _EVP_PKEY_size
stur x0, [x29, #-104]
bl _OPENSSL_malloc
mov x21, x0
cbz x0, LBB0_24
; %bb.9:
ldur x2, [x29, #-80]
sub x1, x29, #88
mov x0, x19
mov x3, #0
mov x4, x24
bl _EVP_DigestSignInit
cmp x0, #0
b.le LBB0_35
; %bb.10:
ldr w8, [x23]
Lloh11:
adrp x9, _EVP_PKEY_RSA_PSS@GOTPAGE
Lloh12:
ldr x9, [x9, _EVP_PKEY_RSA_PSS@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_13
; %bb.11:
ldur x0, [x29, #-88]
Lloh14:
adrp x8, _RSA_PKCS1_PSS_PADDING@GOTPAGE
Lloh15:
ldr x8, [x8, _RSA_PKCS1_PSS_PADDING@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
bl _EVP_PKEY_CTX_set_rsa_padding
cmp x0, #1
b.lt LBB0_35
; %bb.12:
ldur x0, [x29, #-88]
Lloh17:
adrp x8, _RSA_PSS_SALTLEN_DIGEST@GOTPAGE
Lloh18:
ldr x8, [x8, _RSA_PSS_SALTLEN_DIGEST@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
bl _EVP_PKEY_CTX_set_rsa_pss_saltlen
cmp x0, #0
b.le LBB0_35
LBB0_13:
ldr x8, [x20]
Lloh20:
adrp x9, _SSL3_VERSION@GOTPAGE
Lloh21:
ldr x9, [x9, _SSL3_VERSION@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
ldur x3, [x29, #-112]
ldur x4, [x29, #-96]
cmp x8, x9
b.ne LBB0_26
; %bb.14:
mov x0, x19
mov x1, x3
mov x2, x4
bl _EVP_DigestSignUpdate
cmp x0, #1
b.lt LBB0_35
; %bb.15:
Lloh23:
adrp x8, _EVP_CTRL_SSL3_MASTER_SECRET@GOTPAGE
Lloh24:
ldr x8, [x8, _EVP_CTRL_SSL3_MASTER_SECRET@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
ldr x8, [x20, #8]
ldr w2, [x8, #8]
ldr w3, [x8]
mov x0, x19
bl _EVP_MD_CTX_ctrl
cbz w0, LBB0_35
; %bb.16:
sub x2, x29, #104
mov x0, x19
mov x1, x21
bl _EVP_DigestSignFinal
b LBB0_27
LBB0_17:
Lloh26:
adrp x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh27:
ldr x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh28:
ldr w1, [x8]
Lloh29:
adrp x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh30:
ldr x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh31:
ldr w2, [x8]
Lloh32:
adrp x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh33:
ldr x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh34:
ldr w3, [x8]
mov x0, x20
bl _SSLfatal
mov x21, #0
mov x19, #0
LBB0_18:
mov x0, x21
bl _OPENSSL_free
mov x0, x19
bl _EVP_MD_CTX_free
mov w0, #0
LBB0_19:
mov sp, x25
ldur x8, [x29, #-72]
Lloh35:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh36:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_38
; %bb.20:
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_21:
Lloh38:
adrp x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh39:
ldr x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh40:
ldr w1, [x8]
Lloh41:
adrp x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh42:
ldr x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh43:
ldr w2, [x8]
Lloh44:
adrp x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh45:
ldr x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_22:
ldr w3, [x8]
mov x0, x20
bl _SSLfatal
LBB0_23:
mov x21, #0
b LBB0_18
LBB0_24:
Lloh46:
adrp x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh47:
ldr x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh48:
ldr w1, [x8]
Lloh49:
adrp x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh50:
ldr x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh51:
ldr w2, [x8]
Lloh52:
adrp x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh53:
ldr x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
b LBB0_36
LBB0_25:
Lloh54:
adrp x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh55:
ldr x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh56:
ldr w1, [x8]
Lloh57:
adrp x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh58:
ldr x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh59:
ldr w2, [x8]
Lloh60:
adrp x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh61:
ldr x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
b LBB0_22
LBB0_26:
sub x2, x29, #104
mov x0, x19
mov x1, x21
bl _EVP_DigestSign
LBB0_27:
cmp x0, #0
b.le LBB0_35
; %bb.28:
ldr w8, [x23]
Lloh62:
adrp x9, _NID_id_GostR3410_2001@GOTPAGE
Lloh63:
ldr x9, [x9, _NID_id_GostR3410_2001@GOTPAGEOFF]
Lloh64:
ldr w9, [x9]
cmp w8, w9
b.eq LBB0_31
; %bb.29:
Lloh65:
adrp x9, _NID_id_GostR3410_2012_256@GOTPAGE
Lloh66:
ldr x9, [x9, _NID_id_GostR3410_2012_256@GOTPAGEOFF]
Lloh67:
ldr w9, [x9]
cmp w8, w9
b.eq LBB0_31
; %bb.30:
Lloh68:
adrp x9, _NID_id_GostR3410_2012_512@GOTPAGE
Lloh69:
ldr x9, [x9, _NID_id_GostR3410_2012_512@GOTPAGEOFF]
Lloh70:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_32
LBB0_31:
ldur x2, [x29, #-104]
mov x0, x21
mov x1, #0
bl _BUF_reverse
LBB0_32:
ldur x2, [x29, #-104]
mov x0, x22
mov x1, x21
bl _WPACKET_sub_memcpy_u16
cbz w0, LBB0_37
; %bb.33:
mov x0, x20
mov w1, #0
bl _ssl3_digest_cached_records
cbz w0, LBB0_18
; %bb.34:
mov x0, x21
bl _OPENSSL_free
mov x0, x19
bl _EVP_MD_CTX_free
mov w0, #1
b LBB0_19
LBB0_35:
Lloh71:
adrp x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh72:
ldr x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh73:
ldr w1, [x8]
Lloh74:
adrp x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh75:
ldr x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh76:
ldr w2, [x8]
Lloh77:
adrp x8, _ERR_R_EVP_LIB@GOTPAGE
Lloh78:
ldr x8, [x8, _ERR_R_EVP_LIB@GOTPAGEOFF]
LBB0_36:
ldr w3, [x8]
mov x0, x20
bl _SSLfatal
b LBB0_18
LBB0_37:
Lloh79:
adrp x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh80:
ldr x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh81:
ldr w1, [x8]
Lloh82:
adrp x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh83:
ldr x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh84:
ldr w2, [x8]
Lloh85:
adrp x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh86:
ldr x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
b LBB0_36
LBB0_38:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGot Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGot Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGot Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70
.loh AdrpLdrGot Lloh77, Lloh78
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73
.loh AdrpLdrGot Lloh85, Lloh86
.loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84
.loh AdrpLdrGotLdr Lloh79, Lloh80, Lloh81
.cfi_endproc
; -- End function
.comm _TLS13_TBS_PREAMBLE_SIZE,4,2 ; @TLS13_TBS_PREAMBLE_SIZE
.comm _EVP_MAX_MD_SIZE,4,2 ; @EVP_MAX_MD_SIZE
.comm _SSL_AD_INTERNAL_ERROR,4,2 ; @SSL_AD_INTERNAL_ERROR
.comm _SSL_F_TLS_CONSTRUCT_CERT_VERIFY,4,2 ; @SSL_F_TLS_CONSTRUCT_CERT_VERIFY
.comm _ERR_R_INTERNAL_ERROR,4,2 ; @ERR_R_INTERNAL_ERROR
.comm _ERR_R_MALLOC_FAILURE,4,2 ; @ERR_R_MALLOC_FAILURE
.comm _ERR_R_EVP_LIB,4,2 ; @ERR_R_EVP_LIB
.comm _EVP_PKEY_RSA_PSS,4,2 ; @EVP_PKEY_RSA_PSS
.comm _RSA_PKCS1_PSS_PADDING,4,2 ; @RSA_PKCS1_PSS_PADDING
.comm _RSA_PSS_SALTLEN_DIGEST,4,2 ; @RSA_PSS_SALTLEN_DIGEST
.comm _SSL3_VERSION,8,3 ; @SSL3_VERSION
.comm _EVP_CTRL_SSL3_MASTER_SECRET,4,2 ; @EVP_CTRL_SSL3_MASTER_SECRET
.comm _NID_id_GostR3410_2001,4,2 ; @NID_id_GostR3410_2001
.comm _NID_id_GostR3410_2012_256,4,2 ; @NID_id_GostR3410_2012_256
.comm _NID_id_GostR3410_2012_512,4,2 ; @NID_id_GostR3410_2012_512
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_statem_lib.c_tls_construct_cert_verify.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bmc150_magn_trig_try_reen
_bmc150_magn_trig_try_reen: ## @bmc150_magn_trig_try_reen
.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
callq _iio_trigger_get_drvdata
movq %rax, %rdi
callq _iio_priv
cmpl $0, 4(%rax)
je LBB0_2
## %bb.1:
movq %rax, %rbx
movq %rax, %rdi
callq _mutex_lock
movq %rbx, %rdi
callq _bmc150_magn_reset_intr
movl %eax, %r14d
movq %rbx, %rdi
callq _mutex_unlock
movl %r14d, %eax
jmp LBB0_3
LBB0_2:
xorl %eax, %eax
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _bmc150_magn_trig_try_reen
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bmc150_magn_trig_try_reen
_bmc150_magn_trig_try_reen: ; @bmc150_magn_trig_try_reen
.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 _iio_trigger_get_drvdata
bl _iio_priv
ldr w8, [x0, #4]
cbz w8, LBB0_2
; %bb.1:
mov x19, x0
bl _mutex_lock
mov x0, x19
bl _bmc150_magn_reset_intr
mov x20, x0
mov x0, x19
bl _mutex_unlock
mov x0, x20
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
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 _bmc150_magn_trig_try_reen
.subsections_via_symbols
| AnghaBench/linux/drivers/iio/magnetometer/extr_bmc150_magn.c_bmc150_magn_trig_try_reen.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _use1 ## -- Begin function use1
.p2align 4, 0x90
_use1: ## @use1
.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), %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _use2 ## -- Begin function use2
.p2align 4, 0x90
_use2: ## @use2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 4(%rdi), %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _multiuse ## -- Begin function multiuse
.p2align 4, 0x90
_multiuse: ## @multiuse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movl (%rdi), %esi
leaq L_.str(%rip), %r14
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 4(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %esi
cvtss2sd %xmm0, %xmm0
leaq L_.str.1(%rip), %rdi
movb $1, %al
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI4_0:
.quad 0x401154fe00000000 ## double 4.3330001831054688
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str.1(%rip), %rdi
movsd LCPI4_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movl $7, %esi
movb $1, %al
callq _printf
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
movl $8, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
L_.str.1: ## @.str.1
.asciz "%d + %f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _use1 ; -- Begin function use1
.p2align 2
_use1: ; @use1
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr w8, [x0]
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _use2 ; -- Begin function use2
.p2align 2
_use2: ; @use2
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr w8, [x0, #4]
str x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _multiuse ; -- Begin function multiuse
.p2align 2
_multiuse: ; @multiuse
.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 w8, [x0]
str x8, [sp]
Lloh4:
adrp x20, l_.str@PAGE
Lloh5:
add x20, x20, l_.str@PAGEOFF
mov x0, x20
bl _printf
ldr w8, [x19, #4]
str x8, [sp]
mov x0, x20
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
; kill: def $w0 killed $w0 def $x0
fcvt d0, s0
str d0, [sp, #8]
str x0, [sp]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp 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 x8, #93449898426368
movk x8, #16401, lsl #48
mov w9, #7
stp x9, x8, [sp]
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #8
str x8, [sp]
Lloh10:
adrp x19, l_.str@PAGE
Lloh11:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov x0, x19
bl _printf
mov x0, x19
bl _printf
mov x0, x19
bl _printf
mov w0, #0
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 Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
l_.str.1: ; @.str.1
.asciz "%d + %f"
.subsections_via_symbols
| the_stack_data/165767416.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtl_get_bbreg
_rtl_get_bbreg: ## @rtl_get_bbreg
.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
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
popq %rbp
jmpq *%rax ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _rtl_get_bbreg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rtl_get_bbreg
_rtl_get_bbreg: ; @rtl_get_bbreg
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x8, [x8]
ldr x8, [x8]
ldr x3, [x8]
br x3
.cfi_endproc
; -- End function
.no_dead_strip _rtl_get_bbreg
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_..btcoexist..wifi.h_rtl_get_bbreg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function handle_query_phys_parms_rsp
_handle_query_phys_parms_rsp: ## @handle_query_phys_parms_rsp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq 8(%rsi), %r12
movl 8(%rdi), %edi
callq _cpu_to_be32
movl 4(%rbx), %r15d
testl %r15d, %r15d
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %r12, %rdi
movl %r15d, %edx
callq _netdev_err
jmp LBB0_12
LBB0_2:
movl %eax, %r13d
leal -128(%r13), %eax
cmpl $8, %eax
jae LBB0_3
## %bb.5:
cltq
leaq l_switch.table.handle_query_phys_parms_rsp(%rip), %rcx
movq (%rcx,%rax,8), %rcx
jmp LBB0_6
LBB0_3:
movq %r12, %rdi
callq _netif_carrier_ok
movq _SPEED_UNKNOWN@GOTPCREL(%rip), %rcx
testl %eax, %eax
je LBB0_6
## %bb.4:
leaq L_.str.1(%rip), %rsi
movq %r12, %rdi
movl %r13d, %edx
movq %rcx, %r12
callq _netdev_warn
movq %r12, %rcx
LBB0_6:
movl (%rcx), %eax
movl %eax, 4(%r14)
movl (%rbx), %eax
movq _IBMVNIC_FULL_DUPLEX@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_8
## %bb.7:
movq _DUPLEX_FULL@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_8:
movq _IBMVNIC_HALF_DUPLEX@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_10
## %bb.9:
movq _DUPLEX_HALF@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_10:
movq _DUPLEX_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_11:
movl (%rax), %eax
movl %eax, (%r14)
LBB0_12:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error %d in QUERY_PHYS_PARMS\n"
.comm _SPEED_10,4,2 ## @SPEED_10
.comm _SPEED_100,4,2 ## @SPEED_100
.comm _SPEED_1000,4,2 ## @SPEED_1000
.comm _SPEED_10000,4,2 ## @SPEED_10000
.comm _SPEED_25000,4,2 ## @SPEED_25000
.comm _SPEED_40000,4,2 ## @SPEED_40000
.comm _SPEED_50000,4,2 ## @SPEED_50000
.comm _SPEED_100000,4,2 ## @SPEED_100000
L_.str.1: ## @.str.1
.asciz "Unknown speed 0x%08x\n"
.comm _SPEED_UNKNOWN,4,2 ## @SPEED_UNKNOWN
.comm _IBMVNIC_FULL_DUPLEX,4,2 ## @IBMVNIC_FULL_DUPLEX
.comm _DUPLEX_FULL,4,2 ## @DUPLEX_FULL
.comm _IBMVNIC_HALF_DUPLEX,4,2 ## @IBMVNIC_HALF_DUPLEX
.comm _DUPLEX_HALF,4,2 ## @DUPLEX_HALF
.comm _DUPLEX_UNKNOWN,4,2 ## @DUPLEX_UNKNOWN
.no_dead_strip _handle_query_phys_parms_rsp
.section __DATA,__const
.p2align 3 ## @switch.table.handle_query_phys_parms_rsp
l_switch.table.handle_query_phys_parms_rsp:
.quad _SPEED_50000
.quad _SPEED_40000
.quad _SPEED_25000
.quad _SPEED_1000
.quad _SPEED_10
.quad _SPEED_10000
.quad _SPEED_100
.quad _SPEED_100000
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function handle_query_phys_parms_rsp
_handle_query_phys_parms_rsp: ; @handle_query_phys_parms_rsp
.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 x20, x1
mov x21, x0
ldr x22, [x1, #8]
ldr w0, [x0, #8]
bl _cpu_to_be32
ldr w19, [x21, #4]
cbz w19, LBB0_2
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x22
mov x2, x19
bl _netdev_err
b LBB0_13
LBB0_2:
mov x23, x0
sub w8, w0, #128
cmp w8, #8
b.hs LBB0_4
; %bb.3:
Lloh2:
adrp x9, l_switch.table.handle_query_phys_parms_rsp@PAGE
Lloh3:
add x9, x9, l_switch.table.handle_query_phys_parms_rsp@PAGEOFF
ldr x8, [x9, w8, sxtw #3]
b LBB0_7
LBB0_4:
mov x0, x22
bl _netif_carrier_ok
cbz w0, LBB0_6
; %bb.5:
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x22
mov x2, x23
bl _netdev_warn
LBB0_6:
Lloh6:
adrp x8, _SPEED_UNKNOWN@GOTPAGE
Lloh7:
ldr x8, [x8, _SPEED_UNKNOWN@GOTPAGEOFF]
LBB0_7:
ldr w8, [x8]
str w8, [x20, #4]
ldr w8, [x21]
Lloh8:
adrp x9, _IBMVNIC_FULL_DUPLEX@GOTPAGE
Lloh9:
ldr x9, [x9, _IBMVNIC_FULL_DUPLEX@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_9
; %bb.8:
Lloh11:
adrp x8, _DUPLEX_FULL@GOTPAGE
Lloh12:
ldr x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
b LBB0_12
LBB0_9:
Lloh13:
adrp x9, _IBMVNIC_HALF_DUPLEX@GOTPAGE
Lloh14:
ldr x9, [x9, _IBMVNIC_HALF_DUPLEX@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_11
; %bb.10:
Lloh16:
adrp x8, _DUPLEX_HALF@GOTPAGE
Lloh17:
ldr x8, [x8, _DUPLEX_HALF@GOTPAGEOFF]
b LBB0_12
LBB0_11:
Lloh18:
adrp x8, _DUPLEX_UNKNOWN@GOTPAGE
Lloh19:
ldr x8, [x8, _DUPLEX_UNKNOWN@GOTPAGEOFF]
LBB0_12:
ldr w8, [x8]
str w8, [x20]
LBB0_13:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error %d in QUERY_PHYS_PARMS\n"
.comm _SPEED_10,4,2 ; @SPEED_10
.comm _SPEED_100,4,2 ; @SPEED_100
.comm _SPEED_1000,4,2 ; @SPEED_1000
.comm _SPEED_10000,4,2 ; @SPEED_10000
.comm _SPEED_25000,4,2 ; @SPEED_25000
.comm _SPEED_40000,4,2 ; @SPEED_40000
.comm _SPEED_50000,4,2 ; @SPEED_50000
.comm _SPEED_100000,4,2 ; @SPEED_100000
l_.str.1: ; @.str.1
.asciz "Unknown speed 0x%08x\n"
.comm _SPEED_UNKNOWN,4,2 ; @SPEED_UNKNOWN
.comm _IBMVNIC_FULL_DUPLEX,4,2 ; @IBMVNIC_FULL_DUPLEX
.comm _DUPLEX_FULL,4,2 ; @DUPLEX_FULL
.comm _IBMVNIC_HALF_DUPLEX,4,2 ; @IBMVNIC_HALF_DUPLEX
.comm _DUPLEX_HALF,4,2 ; @DUPLEX_HALF
.comm _DUPLEX_UNKNOWN,4,2 ; @DUPLEX_UNKNOWN
.no_dead_strip _handle_query_phys_parms_rsp
.section __DATA,__const
.p2align 3 ; @switch.table.handle_query_phys_parms_rsp
l_switch.table.handle_query_phys_parms_rsp:
.quad _SPEED_50000
.quad _SPEED_40000
.quad _SPEED_25000
.quad _SPEED_1000
.quad _SPEED_10
.quad _SPEED_10000
.quad _SPEED_100
.quad _SPEED_100000
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/ibm/extr_ibmvnic.c_handle_query_phys_parms_rsp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __gcsdb_writeSectors
___gcsdb_writeSectors: ## @__gcsdb_writeSectors
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdx, %rcx
movl %esi, %edx
movl %edi, %esi
movl $1, %edi
popq %rbp
jmp ___gcsd_writeSectors ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip ___gcsdb_writeSectors
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __gcsdb_writeSectors
___gcsdb_writeSectors: ; @__gcsdb_writeSectors
.cfi_startproc
; %bb.0:
mov x3, x2
mov x2, x1
mov x1, x0
mov w0, #1
b ___gcsd_writeSectors
.cfi_endproc
; -- End function
.no_dead_strip ___gcsdb_writeSectors
.subsections_via_symbols
| AnghaBench/RetroArch/wii/libogc/libogc/extr_gcsd.c___gcsdb_writeSectors.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_enqueue_mode
_set_enqueue_mode: ## @set_enqueue_mode
.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 _DPNI_ENQUEUE_FQID_VER_MAJOR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _DPNI_ENQUEUE_FQID_VER_MINOR@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _dpaa2_eth_cmp_dpni_ver
testq %rax, %rax
jns LBB0_1
## %bb.2:
movq _dpaa2_eth_enqueue_qd@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _dpaa2_eth_enqueue_fq@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
movl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DPNI_ENQUEUE_FQID_VER_MAJOR,4,2 ## @DPNI_ENQUEUE_FQID_VER_MAJOR
.comm _DPNI_ENQUEUE_FQID_VER_MINOR,4,2 ## @DPNI_ENQUEUE_FQID_VER_MINOR
.comm _dpaa2_eth_enqueue_qd,4,2 ## @dpaa2_eth_enqueue_qd
.comm _dpaa2_eth_enqueue_fq,4,2 ## @dpaa2_eth_enqueue_fq
.no_dead_strip _set_enqueue_mode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_enqueue_mode
_set_enqueue_mode: ; @set_enqueue_mode
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _DPNI_ENQUEUE_FQID_VER_MAJOR@GOTPAGE
Lloh1:
ldr x8, [x8, _DPNI_ENQUEUE_FQID_VER_MAJOR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _DPNI_ENQUEUE_FQID_VER_MINOR@GOTPAGE
Lloh4:
ldr x8, [x8, _DPNI_ENQUEUE_FQID_VER_MINOR@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
bl _dpaa2_eth_cmp_dpni_ver
Lloh6:
adrp x8, _dpaa2_eth_enqueue_qd@GOTPAGE
Lloh7:
ldr x8, [x8, _dpaa2_eth_enqueue_qd@GOTPAGEOFF]
Lloh8:
adrp x9, _dpaa2_eth_enqueue_fq@GOTPAGE
Lloh9:
ldr x9, [x9, _dpaa2_eth_enqueue_fq@GOTPAGEOFF]
cmp x0, #0
csel x8, x8, x9, lt
ldr w8, [x8]
str w8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DPNI_ENQUEUE_FQID_VER_MAJOR,4,2 ; @DPNI_ENQUEUE_FQID_VER_MAJOR
.comm _DPNI_ENQUEUE_FQID_VER_MINOR,4,2 ; @DPNI_ENQUEUE_FQID_VER_MINOR
.comm _dpaa2_eth_enqueue_qd,4,2 ; @dpaa2_eth_enqueue_qd
.comm _dpaa2_eth_enqueue_fq,4,2 ; @dpaa2_eth_enqueue_fq
.no_dead_strip _set_enqueue_mode
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpaa2-eth.c_set_enqueue_mode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __icv_open ## -- Begin function _icv_open
.p2align 4, 0x90
__icv_open: ## @_icv_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $4, %edi
callq _malloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movw $0, 2(%rax)
popq %rbp
retq
LBB0_1:
callq ___error
movl $12, (%rax)
movq $-1, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl __icv_close ## -- Begin function _icv_close
.p2align 4, 0x90
__icv_close: ## @_icv_close
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB1_1
## %bb.2:
jmp _free ## TAILCALL
LBB1_1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq ___error
movl $9, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl __icv_iconv ## -- Begin function _icv_iconv
.p2align 4, 0x90
__icv_iconv: ## @_icv_iconv
.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
testq %rdi, %rdi
je LBB2_4
## %bb.1:
movq %rsi, %r14
movq %rdi, %rbx
testq %rsi, %rsi
je LBB2_5
## %bb.2:
cmpq $0, (%r14)
je LBB2_5
## %bb.3:
movq %r8, %r15
movq %rcx, %r13
movq %rdx, %r12
callq ___error
movl $0, (%rax)
jmp LBB2_9
LBB2_4:
callq ___error
movl $9, (%rax)
jmp LBB2_26
LBB2_5:
movw $0, 2(%rbx)
xorl %eax, %eax
jmp LBB2_27
LBB2_6: ## in Loop: Header=BB2_9 Depth=1
movb %cl, (%rbx)
LBB2_7: ## in Loop: Header=BB2_9 Depth=1
movw $1, 2(%rbx)
.p2align 4, 0x90
LBB2_8: ## in Loop: Header=BB2_9 Depth=1
incq (%r14)
decq (%r12)
callq ___error
cmpl $0, (%rax)
jne LBB2_26
LBB2_9: ## =>This Inner Loop Header: Depth=1
cmpq $0, (%r12)
je LBB2_28
## %bb.10: ## in Loop: Header=BB2_9 Depth=1
movq (%r15), %rax
testq %rax, %rax
je LBB2_25
## %bb.11: ## in Loop: Header=BB2_9 Depth=1
movswl 2(%rbx), %ecx
cmpl $2, %ecx
je LBB2_17
## %bb.12: ## in Loop: Header=BB2_9 Depth=1
cmpl $1, %ecx
je LBB2_20
## %bb.13: ## in Loop: Header=BB2_9 Depth=1
testl %ecx, %ecx
jne LBB2_8
## %bb.14: ## in Loop: Header=BB2_9 Depth=1
movq (%r14), %rcx
movzbl (%rcx), %ecx
testb %cl, %cl
js LBB2_23
## %bb.15: ## in Loop: Header=BB2_9 Depth=1
movq (%r13), %rax
movb %cl, (%rax)
movq (%r13), %rax
incq %rax
movq %rax, (%r13)
decq (%r15)
movq (%r14), %rcx
cmpb $126, (%rcx)
jne LBB2_8
## %bb.16: ## in Loop: Header=BB2_9 Depth=1
movb $126, (%rax)
incq (%r13)
decq (%r15)
jmp LBB2_8
.p2align 4, 0x90
LBB2_17: ## in Loop: Header=BB2_9 Depth=1
movq (%r14), %rcx
movzbl (%rcx), %ecx
testb %cl, %cl
js LBB2_6
## %bb.18: ## in Loop: Header=BB2_9 Depth=1
cmpq $3, %rax
jb LBB2_25
## %bb.19: ## in Loop: Header=BB2_9 Depth=1
movq (%r13), %rax
movb $126, (%rax)
movq (%r13), %rax
movb $125, 1(%rax)
movq (%r14), %rax
movzbl (%rax), %eax
movq (%r13), %rcx
movb %al, 2(%rcx)
addq $3, (%r13)
addq $-3, (%r15)
movw $0, 2(%rbx)
jmp LBB2_8
.p2align 4, 0x90
LBB2_20: ## in Loop: Header=BB2_9 Depth=1
movq (%r14), %rcx
cmpb $0, (%rcx)
jns LBB2_25
## %bb.21: ## in Loop: Header=BB2_9 Depth=1
cmpq $2, %rax
jb LBB2_25
## %bb.22: ## in Loop: Header=BB2_9 Depth=1
movzbl (%rbx), %eax
addb $-128, %al
movq (%r13), %rcx
movb %al, (%rcx)
movq (%r14), %rax
movzbl (%rax), %eax
addb $-128, %al
movq (%r13), %rcx
movb %al, 1(%rcx)
addq $2, (%r13)
addq $-2, (%r15)
movw $2, 2(%rbx)
jmp LBB2_8
LBB2_23: ## in Loop: Header=BB2_9 Depth=1
cmpq $2, %rax
jb LBB2_25
## %bb.24: ## in Loop: Header=BB2_9 Depth=1
movq (%r13), %rax
movb $126, (%rax)
movq (%r13), %rax
movb $123, 1(%rax)
addq $2, (%r13)
addq $-2, (%r15)
movq (%r14), %rax
movzbl (%rax), %eax
movb %al, (%rbx)
jmp LBB2_7
LBB2_25:
callq ___error
movl $7, (%rax)
LBB2_26:
movq $-1, %rax
LBB2_27:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_28:
xorl %eax, %eax
jmp LBB2_27
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __icv_open ; -- Begin function _icv_open
.p2align 2
__icv_open: ; @_icv_open
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #4
bl _malloc
cbz x0, LBB0_2
; %bb.1:
strh wzr, [x0, #2]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
bl ___error
mov w8, #12
str w8, [x0]
mov x0, #-1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl __icv_close ; -- Begin function _icv_close
.p2align 2
__icv_close: ; @_icv_close
.cfi_startproc
; %bb.0:
cbz x0, LBB1_2
; %bb.1:
b _free
LBB1_2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl ___error
mov w8, #9
str w8, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl __icv_iconv ; -- Begin function _icv_iconv
.p2align 2
__icv_iconv: ; @_icv_iconv
.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
cbz x0, LBB2_4
; %bb.1:
mov x23, x1
mov x21, x0
cbz x1, LBB2_5
; %bb.2:
ldr x8, [x23]
cbz x8, LBB2_5
; %bb.3:
mov x19, x4
mov x20, x3
mov x22, x2
bl ___error
mov w24, #126
str wzr, [x0]
mov w25, #125
mov w26, #1
mov w27, #2
mov w28, #123
b LBB2_9
LBB2_4:
bl ___error
mov w8, #9
b LBB2_26
LBB2_5:
mov x0, #0
strh wzr, [x21, #2]
b LBB2_28
LBB2_6: ; in Loop: Header=BB2_9 Depth=1
strb w9, [x21]
LBB2_7: ; in Loop: Header=BB2_9 Depth=1
strh w26, [x21, #2]
LBB2_8: ; in Loop: Header=BB2_9 Depth=1
ldr x8, [x23]
add x8, x8, #1
str x8, [x23]
ldr x8, [x22]
sub x8, x8, #1
str x8, [x22]
bl ___error
ldr w8, [x0]
cbnz w8, LBB2_27
LBB2_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
cbz x8, LBB2_29
; %bb.10: ; in Loop: Header=BB2_9 Depth=1
ldr x8, [x19]
cbz x8, LBB2_25
; %bb.11: ; in Loop: Header=BB2_9 Depth=1
ldrsh w9, [x21, #2]
cmp w9, #2
b.eq LBB2_17
; %bb.12: ; in Loop: Header=BB2_9 Depth=1
cmp w9, #1
b.eq LBB2_20
; %bb.13: ; in Loop: Header=BB2_9 Depth=1
cbnz w9, LBB2_8
; %bb.14: ; in Loop: Header=BB2_9 Depth=1
ldr x9, [x23]
ldrsb w9, [x9]
tbnz w9, #31, LBB2_23
; %bb.15: ; in Loop: Header=BB2_9 Depth=1
ldr x8, [x20]
strb w9, [x8]
ldr x8, [x20]
add x8, x8, #1
str x8, [x20]
ldr x9, [x19]
sub x9, x9, #1
str x9, [x19]
ldr x9, [x23]
ldrb w9, [x9]
cmp w9, #126
b.ne LBB2_8
; %bb.16: ; in Loop: Header=BB2_9 Depth=1
strb w24, [x8]
ldr x8, [x20]
add x8, x8, #1
str x8, [x20]
ldr x8, [x19]
sub x8, x8, #1
str x8, [x19]
b LBB2_8
LBB2_17: ; in Loop: Header=BB2_9 Depth=1
ldr x9, [x23]
ldrsb w9, [x9]
tbnz w9, #31, LBB2_6
; %bb.18: ; in Loop: Header=BB2_9 Depth=1
cmp x8, #3
b.lo LBB2_25
; %bb.19: ; in Loop: Header=BB2_9 Depth=1
ldr x8, [x20]
strb w24, [x8]
ldr x8, [x20]
strb w25, [x8, #1]
ldr x8, [x23]
ldrb w8, [x8]
ldr x9, [x20]
strb w8, [x9, #2]
ldr x8, [x20]
add x8, x8, #3
str x8, [x20]
ldr x8, [x19]
sub x8, x8, #3
str x8, [x19]
strh wzr, [x21, #2]
b LBB2_8
LBB2_20: ; in Loop: Header=BB2_9 Depth=1
ldr x9, [x23]
ldrsb w9, [x9]
tbz w9, #31, LBB2_25
; %bb.21: ; in Loop: Header=BB2_9 Depth=1
cmp x8, #2
b.lo LBB2_25
; %bb.22: ; in Loop: Header=BB2_9 Depth=1
ldrb w8, [x21]
eor w8, w8, #0x80
ldr x9, [x20]
strb w8, [x9]
ldr x8, [x23]
ldrb w8, [x8]
eor w8, w8, #0x80
ldr x9, [x20]
strb w8, [x9, #1]
ldr x8, [x20]
add x8, x8, #2
str x8, [x20]
ldr x8, [x19]
sub x8, x8, #2
str x8, [x19]
strh w27, [x21, #2]
b LBB2_8
LBB2_23: ; in Loop: Header=BB2_9 Depth=1
cmp x8, #2
b.lo LBB2_25
; %bb.24: ; in Loop: Header=BB2_9 Depth=1
ldr x8, [x20]
strb w24, [x8]
ldr x8, [x20]
strb w28, [x8, #1]
ldr x8, [x20]
add x8, x8, #2
str x8, [x20]
ldr x8, [x19]
sub x8, x8, #2
str x8, [x19]
ldr x8, [x23]
ldrb w8, [x8]
strb w8, [x21]
b LBB2_7
LBB2_25:
bl ___error
mov w8, #7
LBB2_26:
str w8, [x0]
LBB2_27:
mov x0, #-1
LBB2_28:
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
LBB2_29:
mov x0, #0
b LBB2_28
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/771690.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _evtag_decode_tag ## -- Begin function evtag_decode_tag
.p2align 4, 0x90
_evtag_decode_tag: ## @evtag_decode_tag
.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, %edx
popq %rbp
jmp _decode_tag_internal ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _evtag_decode_tag ; -- Begin function evtag_decode_tag
.p2align 2
_evtag_decode_tag: ; @evtag_decode_tag
.cfi_startproc
; %bb.0:
mov w2, #1
b _decode_tag_internal
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libevent/extr_event_tagging.c_evtag_decode_tag.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uwb_phy_rate_store ## -- Begin function uwb_phy_rate_store
.p2align 4, 0x90
_uwb_phy_rate_store: ## @uwb_phy_rate_store
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %rbx
movq %rsi, %rax
movq %rdi, %r14
leaq L_.str(%rip), %rsi
leaq -20(%rbp), %rdx
movq %rax, %rdi
callq _sscanf
cmpl $1, %eax
jne LBB0_3
## %bb.1:
movl -20(%rbp), %esi
movq _UWB_PHY_RATE_INVALID@GOTPCREL(%rip), %rax
cmpl (%rax), %esi
jae LBB0_3
## %bb.2:
movq %r14, %rdi
callq _wlp_tx_hdr_set_phy_rate
jmp LBB0_4
LBB0_3:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, %ecx
negl %ecx
testl %eax, %eax
cmovgq %rcx, %rbx
LBB0_4:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _UWB_PHY_RATE_INVALID,4,2 ## @UWB_PHY_RATE_INVALID
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uwb_phy_rate_store ; -- Begin function uwb_phy_rate_store
.p2align 2
_uwb_phy_rate_store: ; @uwb_phy_rate_store
.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 x8, x1
mov x20, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #12
mov x0, x8
bl _sscanf
cmp w0, #1
b.ne LBB0_3
; %bb.1:
ldr w1, [sp, #12]
Lloh2:
adrp x8, _UWB_PHY_RATE_INVALID@GOTPAGE
Lloh3:
ldr x8, [x8, _UWB_PHY_RATE_INVALID@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
cmp w1, w8
b.hs LBB0_3
; %bb.2:
mov x0, x20
bl _wlp_tx_hdr_set_phy_rate
b LBB0_4
LBB0_3:
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w9, w8
cmp w8, #0
csel x19, x9, x19, gt
LBB0_4:
mov x0, 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
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _UWB_PHY_RATE_INVALID,4,2 ; @UWB_PHY_RATE_INVALID
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/uwb/i1480/i1480u-wlp/extr_sysfs.c_uwb_phy_rate_store.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _usbdrvwext_giwname ## -- Begin function usbdrvwext_giwname
.p2align 4, 0x90
_usbdrvwext_giwname: ## @usbdrvwext_giwname
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdx), %edi
leaq L_.str(%rip), %rsi
callq _strcpy
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "IEEE 802.11-MIMO"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _usbdrvwext_giwname ; -- Begin function usbdrvwext_giwname
.p2align 2
_usbdrvwext_giwname: ; @usbdrvwext_giwname
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr w0, [x2]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strcpy
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "IEEE 802.11-MIMO"
.subsections_via_symbols
| assembly_file_176430.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ata_eh_handle_port_suspend
_ata_eh_handle_port_suspend: ## @ata_eh_handle_port_suspend
.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
.no_dead_strip _ata_eh_handle_port_suspend
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ata_eh_handle_port_suspend
_ata_eh_handle_port_suspend: ; @ata_eh_handle_port_suspend
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _ata_eh_handle_port_suspend
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-eh.c_ata_eh_handle_port_suspend.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function test
LCPI0_0:
.quad 0x4010000000000000 ## double 4
LCPI0_1:
.quad 0x3fd0000000000000 ## double 0.25
.section __TEXT,__text,regular,pure_instructions
.globl _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
subq $32, %rsp
movsd %xmm0, -8(%rbp) ## 8-byte Spill
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -24(%rbp) ## 8-byte Spill
sqrtsd %xmm0, %xmm0
movsd -8(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd %xmm1, %xmm1
movsd %xmm1, -16(%rbp) ## 8-byte Spill
ucomisd %xmm1, %xmm0
jne LBB0_1
jnp LBB0_2
LBB0_1:
callq _link_error
LBB0_2:
movsd -8(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
sqrtsd %xmm0, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
ucomisd -16(%rbp), %xmm0 ## 8-byte Folded Reload
jne LBB0_3
jnp LBB0_4
LBB0_3:
callq _link_error
LBB0_4:
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _pow
ucomisd -8(%rbp), %xmm0 ## 8-byte Folded Reload
jne LBB0_6
jnp LBB0_5
LBB0_6:
addq $32, %rsp
popq %rbp
jmp _link_error ## TAILCALL
LBB0_5:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function test2
LCPI1_0:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI1_1:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__text,regular,pure_instructions
.globl _test2
.p2align 4, 0x90
_test2: ## @test2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movsd %xmm2, -56(%rbp) ## 8-byte Spill
movsd %xmm1, -16(%rbp) ## 8-byte Spill
movapd %xmm0, -48(%rbp) ## 16-byte Spill
callq _pow
movsd %xmm0, -24(%rbp) ## 8-byte Spill
sqrtsd %xmm0, %xmm0
movsd %xmm0, -8(%rbp) ## 8-byte Spill
movapd LCPI1_0(%rip), %xmm0 ## xmm0 = [NaN,NaN]
andpd -48(%rbp), %xmm0 ## 16-byte Folded Reload
movsd LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd -16(%rbp), %xmm1 ## 8-byte Folded Reload
movsd %xmm1, -64(%rbp) ## 8-byte Spill
callq _pow
movsd -8(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jne LBB1_1
jnp LBB1_2
LBB1_1:
callq _link_error
LBB1_2:
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _log
movsd %xmm0, -8(%rbp) ## 8-byte Spill
movapd -48(%rbp), %xmm0 ## 16-byte Reload
callq _log
mulsd -16(%rbp), %xmm0 ## 8-byte Folded Reload
movsd -8(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jne LBB1_3
jnp LBB1_4
LBB1_3:
callq _link_error
LBB1_4:
movaps -48(%rbp), %xmm0 ## 16-byte Reload
callq _exp
movsd -16(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -8(%rbp) ## 8-byte Spill
movapd -48(%rbp), %xmm0 ## 16-byte Reload
mulsd -16(%rbp), %xmm0 ## 8-byte Folded Reload
callq _exp
movsd -8(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jne LBB1_5
jnp LBB1_6
LBB1_5:
callq _link_error
LBB1_6:
movapd -48(%rbp), %xmm0 ## 16-byte Reload
sqrtsd %xmm0, %xmm0
movsd -16(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -8(%rbp) ## 8-byte Spill
movapd -48(%rbp), %xmm0 ## 16-byte Reload
movsd -64(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
callq _pow
movsd -8(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jne LBB1_7
jnp LBB1_8
LBB1_7:
callq _link_error
LBB1_8:
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -56(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movsd -16(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd -56(%rbp), %xmm1 ## 8-byte Folded Reload
movapd -48(%rbp), %xmm0 ## 16-byte Reload
callq _pow
movsd -24(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addq $64, %rsp
ucomisd %xmm0, %xmm1
jne LBB1_10
jnp LBB1_9
LBB1_10:
popq %rbp
jmp _link_error ## TAILCALL
LBB1_9:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _link_error
callq _link_error
callq _link_error
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 _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp d9, d8, [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 b8, -24
.cfi_offset b9, -32
.cfi_offset b10, -40
.cfi_offset b11, -48
fmov d8, d0
fmov d1, #4.00000000
bl _pow
fmov d9, d0
fsqrt d0, d0
fmul d10, d8, d8
fcmp d0, d10
b.eq LBB0_2
; %bb.1:
bl _link_error
LBB0_2:
fsqrt d0, d8
fmov d1, #4.00000000
bl _pow
fcmp d0, d10
b.eq LBB0_4
; %bb.3:
bl _link_error
LBB0_4:
fmov d1, #0.25000000
fmov d0, d9
bl _pow
fcmp d0, d8
b.eq LBB0_6
; %bb.5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #48 ; 16-byte Folded Reload
b _link_error
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _test2 ; -- Begin function test2
.p2align 2
_test2: ; @test2
.cfi_startproc
; %bb.0:
stp d13, d12, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp d11, d10, [sp, #16] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -24
.cfi_offset b9, -32
.cfi_offset b10, -40
.cfi_offset b11, -48
.cfi_offset b12, -56
.cfi_offset b13, -64
fmov d9, d2
fmov d10, d1
fmov d8, d0
bl _pow
fmov d11, d0
fabs d0, d8
fmov d1, #0.50000000
fmul d12, d10, d1
fsqrt d13, d11
fmov d1, d12
bl _pow
fcmp d13, d0
b.eq LBB1_2
; %bb.1:
bl _link_error
LBB1_2:
fmov d0, d11
bl _log
fmov d13, d0
fmov d0, d8
bl _log
fmul d0, d0, d10
fcmp d13, d0
b.eq LBB1_4
; %bb.3:
bl _link_error
LBB1_4:
fmov d0, d8
bl _exp
fmov d1, d10
bl _pow
fmov d13, d0
fmul d0, d8, d10
bl _exp
fcmp d13, d0
b.eq LBB1_6
; %bb.5:
bl _link_error
LBB1_6:
fsqrt d0, d8
fmov d1, d10
bl _pow
fmov d13, d0
fmov d0, d8
fmov d1, d12
bl _pow
fcmp d13, d0
b.eq LBB1_8
; %bb.7:
bl _link_error
LBB1_8:
fmov d0, d11
fmov d1, d9
bl _pow
fmov d11, d0
fmul d1, d10, d9
fmov d0, d8
bl _pow
fcmp d11, d0
b.eq LBB1_10
; %bb.9:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
ldp d13, d12, [sp], #64 ; 16-byte Folded Reload
b _link_error
LBB1_10:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
ldp d13, d12, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _link_error
bl _link_error
bl _link_error
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/299971.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _J ## -- Begin function J
.p2align 4, 0x90
_J: ## @J
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edi, %edi
jle LBB0_1
## %bb.2:
movl %edi, %r8d
leaq -1(%r8), %rax
movl %r8d, %ecx
andl $7, %ecx
cmpq $7, %rax
jae LBB0_4
## %bb.3:
movl $1, %edx
movl $1, %eax
testq %rcx, %rcx
jne LBB0_8
jmp LBB0_9
LBB0_1:
movl $1, %eax
popq %rbp
retq
LBB0_4:
andl $-8, %r8d
negq %r8
movl $1, %eax
movl $8, %edx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
leaq -7(%rdx), %rdi
imulq %rax, %rdi
leaq -6(%rdx), %rax
leaq -5(%rdx), %rsi
imulq %rsi, %rax
imulq %rdi, %rax
leaq -4(%rdx), %rsi
leaq -3(%rdx), %rdi
imulq %rdi, %rsi
leaq -2(%rdx), %rdi
imulq %rsi, %rdi
imulq %rax, %rdi
leaq -1(%rdx), %rax
imulq %rdx, %rax
imulq %rdi, %rax
leaq (%r8,%rdx), %rsi
addq $8, %rsi
addq $8, %rdx
cmpq $8, %rsi
jne LBB0_5
## %bb.6:
addq $-7, %rdx
testq %rcx, %rcx
je LBB0_9
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
imulq %rdx, %rax
incq %rdx
decq %rcx
jne LBB0_8
LBB0_9:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
leaq -16(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movl -12(%rbp), %r8d
movl $1, %ebx
movl $1, %eax
testl %r8d, %r8d
jle LBB1_8
## %bb.1:
leaq -1(%r8), %rax
movl %r8d, %r10d
andl $7, %r10d
cmpq $7, %rax
jae LBB1_3
## %bb.2:
movl $1, %edi
movl $1, %eax
testq %r10, %r10
jne LBB1_7
jmp LBB1_8
LBB1_3:
movl %r8d, %r9d
andl $-8, %r9d
negq %r9
movl $1, %eax
movl $8, %edi
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
leaq -7(%rdi), %rdx
imulq %rax, %rdx
leaq -6(%rdi), %rax
leaq -5(%rdi), %rsi
imulq %rsi, %rax
imulq %rdx, %rax
leaq -4(%rdi), %rdx
leaq -3(%rdi), %rsi
imulq %rsi, %rdx
leaq -2(%rdi), %rsi
imulq %rdx, %rsi
imulq %rax, %rsi
leaq -1(%rdi), %rax
imulq %rdi, %rax
imulq %rsi, %rax
leaq (%r9,%rdi), %rdx
addq $8, %rdx
addq $8, %rdi
cmpq $8, %rdx
jne LBB1_4
## %bb.5:
addq $-7, %rdi
testq %r10, %r10
je LBB1_8
.p2align 4, 0x90
LBB1_7: ## =>This Inner Loop Header: Depth=1
imulq %rdi, %rax
incq %rdi
decq %r10
jne LBB1_7
LBB1_8:
movl -16(%rbp), %r9d
testl %r9d, %r9d
jle LBB1_16
## %bb.9:
leaq -1(%r9), %rcx
movl %r9d, %r11d
andl $7, %r11d
cmpq $7, %rcx
jae LBB1_11
## %bb.10:
movl $1, %edx
movl $1, %ebx
testq %r11, %r11
jne LBB1_15
jmp LBB1_16
LBB1_11:
movl %r9d, %r10d
andl $-8, %r10d
negq %r10
movl $1, %ebx
movl $8, %edx
.p2align 4, 0x90
LBB1_12: ## =>This Inner Loop Header: Depth=1
leaq -7(%rdx), %rsi
imulq %rbx, %rsi
leaq -6(%rdx), %rcx
leaq -5(%rdx), %rdi
imulq %rdi, %rcx
imulq %rsi, %rcx
leaq -4(%rdx), %rsi
leaq -3(%rdx), %rdi
imulq %rdi, %rsi
leaq -2(%rdx), %rdi
imulq %rsi, %rdi
imulq %rcx, %rdi
leaq -1(%rdx), %rbx
imulq %rdx, %rbx
imulq %rdi, %rbx
leaq (%r10,%rdx), %rsi
addq $8, %rsi
addq $8, %rdx
cmpq $8, %rsi
jne LBB1_12
## %bb.13:
addq $-7, %rdx
testq %r11, %r11
je LBB1_16
.p2align 4, 0x90
LBB1_15: ## =>This Inner Loop Header: Depth=1
imulq %rdx, %rbx
incq %rdx
decq %r11
jne LBB1_15
LBB1_16:
subl %r9d, %r8d
jle LBB1_17
## %bb.18:
movl %r8d, %r8d
leaq -1(%r8), %rsi
movl %r8d, %r9d
andl $7, %r9d
cmpq $7, %rsi
jae LBB1_20
## %bb.19:
movl $1, %edi
movl $1, %esi
testq %r9, %r9
jne LBB1_24
jmp LBB1_25
LBB1_17:
movl $1, %esi
jmp LBB1_25
LBB1_20:
andl $-8, %r8d
negq %r8
movl $1, %esi
movl $8, %edi
.p2align 4, 0x90
LBB1_21: ## =>This Inner Loop Header: Depth=1
leaq -7(%rdi), %rdx
imulq %rsi, %rdx
leaq -6(%rdi), %rsi
leaq -5(%rdi), %rcx
imulq %rcx, %rsi
imulq %rdx, %rsi
leaq -4(%rdi), %rcx
leaq -3(%rdi), %rdx
imulq %rdx, %rcx
leaq -2(%rdi), %rdx
imulq %rcx, %rdx
imulq %rsi, %rdx
leaq -1(%rdi), %rsi
imulq %rdi, %rsi
imulq %rdx, %rsi
leaq (%r8,%rdi), %rcx
addq $8, %rcx
addq $8, %rdi
cmpq $8, %rcx
jne LBB1_21
## %bb.22:
addq $-7, %rdi
testq %r9, %r9
je LBB1_25
.p2align 4, 0x90
LBB1_24: ## =>This Inner Loop Header: Depth=1
imulq %rdi, %rsi
incq %rdi
decq %r9
jne LBB1_24
LBB1_25:
imulq %rbx, %rsi
movq %rax, %rcx
orq %rsi, %rcx
shrq $32, %rcx
je LBB1_26
## %bb.27:
cqto
idivq %rsi
jmp LBB1_28
LBB1_26:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %esi
## kill: def $eax killed $eax def $rax
LBB1_28:
leaq L_.str.1(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d"
L_.str.1: ## @.str.1
.asciz "%lld"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _J ; -- Begin function J
.p2align 2
_J: ; @J
.cfi_startproc
; %bb.0:
cmp w0, #1
b.lt LBB0_3
; %bb.1:
mov w9, w0
cmp w0, #4
b.hs LBB0_4
; %bb.2:
mov w8, #1
mov w0, #1
b LBB0_7
LBB0_3:
mov w0, #1
ret
LBB0_4:
mov x15, #0
and x10, x9, #0xfffffffc
orr x8, x10, #0x1
mov w11, #1
mov w12, #1
mov w13, #1
mov w14, #1
LBB0_5: ; =>This Inner Loop Header: Depth=1
add x16, x15, #2
add x17, x15, #3
madd x11, x11, x15, x11
add x0, x15, #4
mul x12, x16, x12
mul x14, x0, x14
mov x15, x0
mul x13, x17, x13
cmp x10, x0
b.ne LBB0_5
; %bb.6:
mul x11, x12, x11
mul x11, x13, x11
mul x0, x14, x11
cmp x10, x9
b.eq LBB0_9
LBB0_7:
add x9, x9, #1
LBB0_8: ; =>This Inner Loop Header: Depth=1
mul x0, x8, x0
add x8, x8, #1
cmp x9, x8
b.ne LBB0_8
LBB0_9:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x8, x29, #4
sub x9, x29, #8
stp x9, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w9, [x29, #-8]
cmp w9, #1
b.lt LBB1_3
; %bb.1:
cmp w9, #4
b.hs LBB1_4
; %bb.2:
mov w10, #1
mov w8, #1
b LBB1_7
LBB1_3:
mov w8, #1
b LBB1_9
LBB1_4:
mov x15, #0
and x11, x9, #0xfffffffc
orr x10, x11, #0x1
mov w8, #1
mov w12, #1
mov w13, #1
mov w14, #1
LBB1_5: ; =>This Inner Loop Header: Depth=1
add x16, x15, #2
add x17, x15, #3
madd x8, x8, x15, x8
add x0, x15, #4
mul x12, x12, x16
mul x14, x14, x0
mov x15, x0
mul x13, x13, x17
cmp x11, x0
b.ne LBB1_5
; %bb.6:
mul x8, x12, x8
mul x8, x13, x8
mul x8, x14, x8
cmp x11, x9
b.eq LBB1_9
LBB1_7:
add x11, x9, #1
LBB1_8: ; =>This Inner Loop Header: Depth=1
mul x8, x8, x10
add x10, x10, #1
cmp x11, x10
b.ne LBB1_8
LBB1_9:
ldur w11, [x29, #-4]
cmp w11, #1
b.lt LBB1_12
; %bb.10:
cmp w11, #4
b.hs LBB1_13
; %bb.11:
mov w12, #1
mov w10, #1
b LBB1_16
LBB1_12:
mov w10, #1
b LBB1_18
LBB1_13:
mov x17, #0
and x13, x11, #0xfffffffc
orr x12, x13, #0x1
mov w10, #1
mov w14, #1
mov w15, #1
mov w16, #1
LBB1_14: ; =>This Inner Loop Header: Depth=1
add x0, x17, #2
add x1, x17, #3
madd x10, x10, x17, x10
add x2, x17, #4
mul x14, x14, x0
mul x16, x16, x2
mov x17, x2
mul x15, x15, x1
cmp x13, x2
b.ne LBB1_14
; %bb.15:
mul x10, x14, x10
mul x10, x15, x10
mul x10, x16, x10
cmp x13, x11
b.eq LBB1_18
LBB1_16:
add x13, x11, #1
LBB1_17: ; =>This Inner Loop Header: Depth=1
mul x10, x10, x12
add x12, x12, #1
cmp x13, x12
b.ne LBB1_17
LBB1_18:
sub w11, w9, w11
cmp w11, #1
b.lt LBB1_21
; %bb.19:
cmp w11, #4
b.hs LBB1_22
; %bb.20:
mov w9, #1
mov w13, #1
b LBB1_25
LBB1_21:
mov w13, #1
b LBB1_27
LBB1_22:
mov x17, #0
and x12, x11, #0xfffffffc
orr x9, x12, #0x1
mov w13, #1
mov w14, #1
mov w15, #1
mov w16, #1
LBB1_23: ; =>This Inner Loop Header: Depth=1
add x0, x17, #2
add x1, x17, #3
madd x13, x13, x17, x13
add x2, x17, #4
mul x14, x14, x0
mul x16, x16, x2
mov x17, x2
mul x15, x15, x1
cmp x12, x2
b.ne LBB1_23
; %bb.24:
mul x13, x14, x13
mul x13, x15, x13
mul x13, x16, x13
cmp x12, x11
b.eq LBB1_27
LBB1_25:
add x11, x11, #1
LBB1_26: ; =>This Inner Loop Header: Depth=1
mul x13, x13, x9
add x9, x9, #1
cmp x11, x9
b.ne LBB1_26
LBB1_27:
mul x9, x13, x10
sdiv x8, x8, x9
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d"
l_.str.1: ; @.str.1
.asciz "%lld"
.subsections_via_symbols
| the_stack_data/98574158.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fastrpc_release
_fastrpc_release: ## @fastrpc_release
.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 _fastrpc_buf_free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _fastrpc_release
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fastrpc_release
_fastrpc_release: ; @fastrpc_release
.cfi_startproc
; %bb.0:
ldr x0, [x0]
b _fastrpc_buf_free
.cfi_endproc
; -- End function
.no_dead_strip _fastrpc_release
.subsections_via_symbols
| AnghaBench/linux/drivers/misc/extr_fastrpc.c_fastrpc_release.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lola_dev_free
_lola_dev_free: ## @lola_dev_free
.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 _lola_free
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _lola_dev_free
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lola_dev_free
_lola_dev_free: ; @lola_dev_free
.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 _lola_free
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _lola_dev_free
.subsections_via_symbols
| AnghaBench/linux/sound/pci/lola/extr_lola.c_lola_dev_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _seek_helper
__seek_helper: ## @_seek_helper
.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
movq 8(%rdi), %rdi
testq %rdi, %rdi
je LBB0_5
## %bb.1:
movq 16(%rbx), %rax
testq %rax, %rax
je LBB0_3
## %bb.2:
movl %esi, %r14d
movq _SEEK_SET@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
callq *%rax
cmpl $-1, %eax
je LBB0_3
## %bb.4:
movl %r14d, 4(%rbx)
movq %rbx, %rdi
callq _ogg_sync_reset
xorl %eax, %eax
jmp LBB0_7
LBB0_5:
movq _OV_EFAULT@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_3:
movq _OV_EREAD@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %eax
LBB0_7:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SEEK_SET,4,2 ## @SEEK_SET
.comm _OV_EREAD,4,2 ## @OV_EREAD
.comm _OV_EFAULT,4,2 ## @OV_EFAULT
.no_dead_strip __seek_helper
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _seek_helper
__seek_helper: ; @_seek_helper
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #8]
cbz x0, LBB0_4
; %bb.1:
ldr x8, [x19, #16]
cbz x8, LBB0_5
; %bb.2:
mov x20, x1
Lloh0:
adrp x9, _SEEK_SET@GOTPAGE
Lloh1:
ldr x9, [x9, _SEEK_SET@GOTPAGEOFF]
Lloh2:
ldr w2, [x9]
blr x8
cmn w0, #1
b.eq LBB0_5
; %bb.3:
str w20, [x19, #4]
mov x0, x19
bl _ogg_sync_reset
mov w0, #0
b LBB0_7
LBB0_4:
Lloh3:
adrp x8, _OV_EFAULT@GOTPAGE
Lloh4:
ldr x8, [x8, _OV_EFAULT@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh5:
adrp x8, _OV_EREAD@GOTPAGE
Lloh6:
ldr x8, [x8, _OV_EREAD@GOTPAGEOFF]
LBB0_6:
ldr w0, [x8]
LBB0_7:
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 AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _SEEK_SET,4,2 ; @SEEK_SET
.comm _OV_EREAD,4,2 ; @OV_EREAD
.comm _OV_EFAULT,4,2 ; @OV_EFAULT
.no_dead_strip __seek_helper
.subsections_via_symbols
| AnghaBench/Cinder/src/oggvorbis/vorbis/extr_vorbisfile.c__seek_helper.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ttydisc_read ## -- Begin function ttydisc_read
.p2align 4, 0x90
_ttydisc_read: ## @ttydisc_read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %r12
movq _MA_OWNED@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _tty_lock_assert
cmpq $0, (%r15)
je LBB0_1
## %bb.2:
movq _l@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _ICANON@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _CMP_FLAG
testq %rax, %rax
je LBB0_4
## %bb.3:
movq %r12, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq _ttydisc_read_canonical
LBB0_9:
movl %eax, %r14d
leaq 8(%r12), %rbx
movq %rbx, %rdi
callq _ttyinq_bytesleft
cmpq (%r12), %rax
jge LBB0_11
## %bb.10:
movq %rbx, %rdi
callq _ttyinq_bytescanonicalized
testq %rax, %rax
jne LBB0_12
LBB0_11:
movq %r12, %rdi
callq _tty_hiwat_in_unblock
jmp LBB0_12
LBB0_1:
xorl %r14d, %r14d
LBB0_12:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq 16(%r12), %rax
movq _VTIME@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB0_5
## %bb.6:
movq _VMIN@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB0_7
## %bb.8:
movq %r12, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq _ttydisc_read_raw_interbyte_timer
jmp LBB0_9
LBB0_5:
movq %r12, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq _ttydisc_read_raw_no_timer
jmp LBB0_9
LBB0_7:
movq (%r15), %rcx
movq %r12, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq _ttydisc_read_raw_read_timer
jmp LBB0_9
.cfi_endproc
## -- End function
.comm _MA_OWNED,4,2 ## @MA_OWNED
.comm _l,4,2 ## @l
.comm _ICANON,4,2 ## @ICANON
.comm _VTIME,8,3 ## @VTIME
.comm _VMIN,8,3 ## @VMIN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ttydisc_read ; -- Begin function ttydisc_read
.p2align 2
_ttydisc_read: ; @ttydisc_read
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x21, x1
mov x19, x0
Lloh0:
adrp x8, _MA_OWNED@GOTPAGE
Lloh1:
ldr x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _tty_lock_assert
ldr x8, [x21]
cbz x8, LBB0_6
; %bb.1:
Lloh3:
adrp x8, _l@GOTPAGE
Lloh4:
ldr x8, [x8, _l@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x8, _ICANON@GOTPAGE
Lloh7:
ldr x8, [x8, _ICANON@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
bl _CMP_FLAG
cbz x0, LBB0_8
; %bb.2:
mov x0, x19
mov x1, x21
mov x2, x20
bl _ttydisc_read_canonical
LBB0_3:
mov x20, x0
add x21, x19, #8
mov x0, x21
bl _ttyinq_bytesleft
ldr x8, [x19]
cmp x0, x8
b.ge LBB0_5
; %bb.4:
mov x0, x21
bl _ttyinq_bytescanonicalized
cbnz x0, LBB0_7
LBB0_5:
mov x0, x19
bl _tty_hiwat_in_unblock
b LBB0_7
LBB0_6:
mov w20, #0
LBB0_7:
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_8:
ldr x8, [x19, #16]
Lloh9:
adrp x9, _VTIME@GOTPAGE
Lloh10:
ldr x9, [x9, _VTIME@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
ldr x9, [x8, x9, lsl #3]
cbz x9, LBB0_11
; %bb.9:
Lloh12:
adrp x9, _VMIN@GOTPAGE
Lloh13:
ldr x9, [x9, _VMIN@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
ldr x8, [x8, x9, lsl #3]
cbz x8, LBB0_12
; %bb.10:
mov x0, x19
mov x1, x21
mov x2, x20
bl _ttydisc_read_raw_interbyte_timer
b LBB0_3
LBB0_11:
mov x0, x19
mov x1, x21
mov x2, x20
bl _ttydisc_read_raw_no_timer
b LBB0_3
LBB0_12:
ldr x3, [x21]
mov x0, x19
mov x1, x21
mov x2, x20
bl _ttydisc_read_raw_read_timer
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _MA_OWNED,4,2 ; @MA_OWNED
.comm _l,4,2 ; @l
.comm _ICANON,4,2 ; @ICANON
.comm _VTIME,8,3 ; @VTIME
.comm _VMIN,8,3 ; @VMIN
.subsections_via_symbols
| AnghaBench/freebsd/sys/kern/extr_tty_ttydisc.c_ttydisc_read.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ecard_bus_init
_ecard_bus_init: ## @ecard_bus_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ecard_bus_type@GOTPCREL(%rip), %rdi
popq %rbp
jmp _bus_register ## TAILCALL
.cfi_endproc
## -- End function
.comm _ecard_bus_type,4,2 ## @ecard_bus_type
.no_dead_strip _ecard_bus_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ecard_bus_init
_ecard_bus_init: ; @ecard_bus_init
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _ecard_bus_type@GOTPAGE
Lloh1:
ldr x0, [x0, _ecard_bus_type@GOTPAGEOFF]
b _bus_register
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _ecard_bus_type,4,2 ; @ecard_bus_type
.no_dead_strip _ecard_bus_init
.subsections_via_symbols
| AnghaBench/linux/arch/arm/mach-rpc/extr_ecard.c_ecard_bus_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function beep_power_hook
_beep_power_hook: ## @beep_power_hook
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %ecx
movl (%rdi), %esi
movl 4(%rdi), %edi
movl $-1, %edx
popq %rbp
jmp _set_path_power ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _beep_power_hook
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function beep_power_hook
_beep_power_hook: ; @beep_power_hook
.cfi_startproc
; %bb.0:
mov x3, x1
ldp w1, w8, [x0]
mov x0, x8
mov w2, #-1
b _set_path_power
.cfi_endproc
; -- End function
.no_dead_strip _beep_power_hook
.subsections_via_symbols
| AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_beep_power_hook.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cxl_fixup_malformed_tlp
_cxl_fixup_malformed_tlp: ## @cxl_fixup_malformed_tlp
.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
testb $-16, 1(%rdi)
je LBB0_1
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq %rsi, %rbx
movq _PCI_EXT_CAP_ID_ERR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _pci_find_ext_capability
testl %eax, %eax
je LBB0_5
## %bb.2:
movslq %eax, %r14
movq _PCI_ERR_UNCOR_MASK@GOTPCREL(%rip), %r15
movq (%r15), %rsi
addq %r14, %rsi
leaq -28(%rbp), %rdx
movq %rbx, %rdi
callq _pci_read_config_dword
movl -28(%rbp), %eax
movq _PCI_ERR_UNC_MALF_TLP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _PCI_ERR_UNC_INTN@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
testl %eax, %ecx
je LBB0_4
## %bb.3:
movl %edx, %esi
andl %eax, %esi
jne LBB0_5
LBB0_4:
orl %eax, %ecx
orl %ecx, %edx
movl %edx, -28(%rbp)
addq (%r15), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq _pci_write_config_dword
jmp LBB0_5
.cfi_endproc
## -- End function
.comm _PCI_EXT_CAP_ID_ERR,4,2 ## @PCI_EXT_CAP_ID_ERR
.comm _PCI_ERR_UNCOR_MASK,8,3 ## @PCI_ERR_UNCOR_MASK
.comm _PCI_ERR_UNC_MALF_TLP,4,2 ## @PCI_ERR_UNC_MALF_TLP
.comm _PCI_ERR_UNC_INTN,4,2 ## @PCI_ERR_UNC_INTN
.no_dead_strip _cxl_fixup_malformed_tlp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cxl_fixup_malformed_tlp
_cxl_fixup_malformed_tlp: ; @cxl_fixup_malformed_tlp
.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
ldrb w8, [x0, #1]
tst w8, #0xf0
b.eq LBB0_2
LBB0_1:
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_2:
mov x19, x1
Lloh0:
adrp x8, _PCI_EXT_CAP_ID_ERR@GOTPAGE
Lloh1:
ldr x8, [x8, _PCI_EXT_CAP_ID_ERR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
bl _pci_find_ext_capability
; kill: def $w0 killed $w0 def $x0
cbz w0, LBB0_1
; %bb.3:
sxtw x20, w0
Lloh3:
adrp x21, _PCI_ERR_UNCOR_MASK@GOTPAGE
Lloh4:
ldr x21, [x21, _PCI_ERR_UNCOR_MASK@GOTPAGEOFF]
ldr x8, [x21]
add x1, x8, x20
add x2, sp, #12
mov x0, x19
bl _pci_read_config_dword
ldr w8, [sp, #12]
Lloh5:
adrp x9, _PCI_ERR_UNC_MALF_TLP@GOTPAGE
Lloh6:
ldr x9, [x9, _PCI_ERR_UNC_MALF_TLP@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
and w11, w9, w8
Lloh8:
adrp x10, _PCI_ERR_UNC_INTN@GOTPAGE
Lloh9:
ldr x10, [x10, _PCI_ERR_UNC_INTN@GOTPAGEOFF]
Lloh10:
ldr w10, [x10]
and w12, w10, w8
cmp w11, #0
ccmp w12, #0, #4, ne
b.ne LBB0_1
; %bb.4:
orr w8, w9, w8
orr w2, w10, w8
str w2, [sp, #12]
ldr x8, [x21]
add x1, x8, x20
mov x0, x19
bl _pci_write_config_dword
b LBB0_1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _PCI_EXT_CAP_ID_ERR,4,2 ; @PCI_EXT_CAP_ID_ERR
.comm _PCI_ERR_UNCOR_MASK,8,3 ; @PCI_ERR_UNCOR_MASK
.comm _PCI_ERR_UNC_MALF_TLP,4,2 ; @PCI_ERR_UNC_MALF_TLP
.comm _PCI_ERR_UNC_INTN,4,2 ; @PCI_ERR_UNC_INTN
.no_dead_strip _cxl_fixup_malformed_tlp
.subsections_via_symbols
| AnghaBench/linux/drivers/misc/cxl/extr_pci.c_cxl_fixup_malformed_tlp.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 $152, %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
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %r15
leaq L_.str.4(%rip), %r12
leaq L_.str.5(%rip), %r13
leaq -44(%rbp), %rbx
leaq -96(%rbp), %r14
jmp LBB0_1
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
callq _admin
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
xorl %eax, %eax
callq _printf
movq %r13, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %eax
decl %eax
cmpl $3, %eax
ja LBB0_14
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movslq _point(%rip), %rax
imulq $44, %rax, %rbx
movq _users@GOTPCREL(%rip), %r14
movups (%r14,%rbx), %xmm0
movups 16(%r14,%rbx), %xmm1
movups 28(%r14,%rbx), %xmm2
movups %xmm2, -68(%rbp)
movaps %xmm1, -80(%rbp)
movaps %xmm0, -96(%rbp)
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r13, %r14
movq %r12, %r13
movq %r15, %r12
leaq L_.str.9(%rip), %r15
movq %r15, %rdi
leaq -96(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movq %r15, %rdi
movq %r12, %r15
movq %r13, %r12
movq %r14, %r13
leaq -72(%rbp), %rsi
xorl %eax, %eax
callq _scanf
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printf
movl _point(%rip), %esi
movl $117001, %eax ## imm = 0x1C909
addl %eax, %esi
movl %esi, -76(%rbp)
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _printf
movups -68(%rbp), %xmm0
movups %xmm0, -116(%rbp)
movaps -96(%rbp), %xmm0
movaps -80(%rbp), %xmm1
movaps %xmm1, -128(%rbp)
movaps %xmm0, -144(%rbp)
movups -116(%rbp), %xmm1
movq _users@GOTPCREL(%rip), %rax
movups %xmm1, 28(%rax,%rbx)
movaps -128(%rbp), %xmm1
movups %xmm1, 16(%rax,%rbx)
movups %xmm0, (%rax,%rbx)
leaq -96(%rbp), %r14
leaq -44(%rbp), %rbx
incl _point(%rip)
jmp LBB0_1
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_1
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %r13
leaq L_.str.23(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.24(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _scanf
movl _point(%rip), %ebx
testl %ebx, %ebx
jle LBB0_9
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
negq %rbx
xorl %r15d, %r15d
movq _users@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movq %r12, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
addq $44, %r12
decq %r15
cmpq %r15, %rbx
jne LBB0_6
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, %r15d
jne LBB0_11
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movq %r13, %r15
leaq L_.str.4(%rip), %r12
leaq L_.str.5(%rip), %r13
leaq -44(%rbp), %rbx
jmp LBB0_1
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
negq %r15
movups (%r12), %xmm0
movups 16(%r12), %xmm1
movups 28(%r12), %xmm2
movups %xmm2, -68(%rbp)
movaps %xmm1, -80(%rbp)
movaps %xmm0, -96(%rbp)
movups -68(%rbp), %xmm0
movups %xmm0, 28(%rsp)
movaps -96(%rbp), %xmm0
movaps -80(%rbp), %xmm1
movups %xmm1, 16(%rsp)
movups %xmm0, (%rsp)
movl %r15d, %edi
callq _reg_us
jmp LBB0_10
LBB0_13:
xorl %edi, %edi
callq _exit
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_4
.long L0_0_set_12
.long L0_0_set_13
.end_data_region
## -- End function
.globl _new_us ## -- Begin function new_us
.p2align 4, 0x90
_new_us: ## @new_us
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %r14
leaq 16(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
leaq 40(%rbp), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $117001, %esi ## imm = 0x1C909
addl _point(%rip), %esi
movl %esi, 36(%rbp)
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _printf
movaps 16(%rbp), %xmm0
movaps 32(%rbp), %xmm1
movups %xmm0, (%rbx)
movups %xmm1, 16(%rbx)
movups 44(%rbp), %xmm0
movups %xmm0, 28(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reg_us ## -- Begin function reg_us
.p2align 4, 0x90
_reg_us: ## @reg_us
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r15d
leaq 16(%rbp), %rbx
leaq L_.str.25(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.26(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 40(%rbp), %rdi
callq _p_portal
cmpl $1, %eax
jne LBB2_1
LBB2_19:
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_1:
leaq L_.str.27(%rip), %rsi
movq %rbx, %rdi
callq _fopen
movq %rax, %r14
leaq L_.str.28(%rip), %rsi
movq %rbx, %rdi
callq _fopen
movq %rax, %rbx
movslq %r15d, %rax
imulq $56, %rax, %rax
movq _us@GOTPCREL(%rip), %rcx
leaq (%rcx,%rax), %rdx
movq %rdx, -64(%rbp) ## 8-byte Spill
leaq (%rcx,%rax), %r13
addq $52, %r13
leaq L_.str.5(%rip), %r15
leaq LJTI2_0(%rip), %r12
jmp LBB2_2
LBB2_4: ## in Loop: Header=BB2_2 Depth=1
movl (%r13), %esi
LBB2_5: ## in Loop: Header=BB2_2 Depth=1
leaq L_.str.30(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB2_18: ## in Loop: Header=BB2_2 Depth=1
movq %rbx, %rdi
callq _fflush
movq %r14, %rdi
callq _fflush
LBB2_2: ## =>This Loop Header: Depth=1
## Child Loop BB2_14 Depth 2
leaq L_.str.29(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
leaq -52(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -52(%rbp), %eax
decl %eax
cmpl $5, %eax
ja LBB2_16
## %bb.3: ## in Loop: Header=BB2_2 Depth=1
movslq (%r12,%rax,4), %rax
addq %r12, %rax
jmpq *%rax
LBB2_6: ## in Loop: Header=BB2_2 Depth=1
leaq L_.str.31(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
leaq -48(%rbp), %rsi
xorl %eax, %eax
callq _scanf
leaq L_.str.32(%rip), %rdi
movq %r14, %rsi
callq _fputs
leaq -72(%rbp), %rdi
callq _ctime
movq %rax, %rdi
movq %r14, %rsi
callq _fputs
leaq L_.str.33(%rip), %rdi
movq %r14, %rsi
callq _fputs
movl -48(%rbp), %edx
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _fprintf
movl -48(%rbp), %esi
addl (%r13), %esi
movl %esi, (%r13)
jmp LBB2_5
LBB2_16: ## in Loop: Header=BB2_2 Depth=1
leaq L_.str.40(%rip), %rdi
jmp LBB2_17
LBB2_7: ## in Loop: Header=BB2_2 Depth=1
leaq L_.str.34(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %eax
cmpl (%r13), %eax
jle LBB2_9
## %bb.8: ## in Loop: Header=BB2_2 Depth=1
leaq L_.str.35(%rip), %rdi
LBB2_17: ## in Loop: Header=BB2_2 Depth=1
xorl %eax, %eax
callq _printf
jmp LBB2_18
LBB2_11: ## in Loop: Header=BB2_2 Depth=1
leaq L_str.43(%rip), %rdi
callq _puts
leaq L_.str.9(%rip), %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _printf
jmp LBB2_18
LBB2_12: ## in Loop: Header=BB2_2 Depth=1
leaq L_.str.38(%rip), %rdi
xorl %eax, %eax
callq _printf
.p2align 4, 0x90
LBB2_14: ## Parent Loop BB2_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %rdi
callq _fgetc
cmpl $-1, %eax
je LBB2_15
## %bb.13: ## in Loop: Header=BB2_14 Depth=2
movl %eax, %edi
callq _putchar
jmp LBB2_14
LBB2_15: ## in Loop: Header=BB2_2 Depth=1
leaq L_str(%rip), %rdi
callq _puts
jmp LBB2_18
LBB2_9: ## in Loop: Header=BB2_2 Depth=1
leaq L_.str.32(%rip), %rdi
movq %r14, %rsi
callq _fputs
leaq -72(%rbp), %rdi
callq _ctime
movq %rax, %rdi
movq %r14, %rsi
callq _fputs
leaq L_.str.36(%rip), %rdi
movq %r14, %rsi
callq _fputs
movl -44(%rbp), %edx
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _fprintf
movl (%r13), %esi
subl -44(%rbp), %esi
movl %esi, (%r13)
jmp LBB2_5
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_4, LBB2_4-LJTI2_0
.set L2_0_set_6, LBB2_6-LJTI2_0
.set L2_0_set_7, LBB2_7-LJTI2_0
.set L2_0_set_11, LBB2_11-LJTI2_0
.set L2_0_set_12, LBB2_12-LJTI2_0
.set L2_0_set_19, LBB2_19-LJTI2_0
LJTI2_0:
.long L2_0_set_4
.long L2_0_set_6
.long L2_0_set_7
.long L2_0_set_11
.long L2_0_set_12
.long L2_0_set_19
.end_data_region
## -- End function
.globl _admin ## -- Begin function admin
.p2align 4, 0x90
_admin: ## @admin
.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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq _a_pass(%rip), %rdi
callq _p_portal
cmpl $1, %eax
jne LBB3_1
LBB3_28:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB3_31
## %bb.29:
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB3_1:
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.15(%rip), %r12
movq _users@GOTPCREL(%rip), %rax
addq $24, %rax
movq %rax, -96(%rbp) ## 8-byte Spill
leaq L_.str.18(%rip), %r13
leaq -80(%rbp), %r14
jmp LBB3_2
LBB3_19: ## in Loop: Header=BB3_2 Depth=1
movl _point(%rip), %esi
LBB3_20: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.18(%rip), %r13
LBB3_2: ## =>This Loop Header: Depth=1
## Child Loop BB3_23 Depth 2
## Child Loop BB3_9 Depth 2
## Child Loop BB3_17 Depth 2
## Child Loop BB3_6 Depth 2
leaq L_str.44(%rip), %rdi
callq _puts
movq %r12, %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.5(%rip), %rdi
leaq -84(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -84(%rbp), %eax
decl %eax
cmpl $5, %eax
ja LBB3_27
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
leaq LJTI3_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB3_30: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdi
leaq _a_pass(%rip), %rbx
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
leaq L_.str.17(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
jmp LBB3_2
LBB3_27: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB3_2
LBB3_4: ## in Loop: Header=BB3_2 Depth=1
cmpl $0, _point(%rip)
jle LBB3_2
## %bb.5: ## in Loop: Header=BB3_2 Depth=1
movq -96(%rbp), %r15 ## 8-byte Reload
xorl %ebx, %ebx
.p2align 4, 0x90
LBB3_6: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq -24(%r15), %rsi
movl -4(%r15), %ecx
movq %r13, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq _printf
incq %rbx
movslq _point(%rip), %rax
addq $44, %r15
cmpq %rax, %rbx
jl LBB3_6
jmp LBB3_2
LBB3_7: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str.23(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.24(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _scanf
movl _point(%rip), %r12d
movl $-1, %r15d
testl %r12d, %r12d
jle LBB3_12
## %bb.8: ## in Loop: Header=BB3_2 Depth=1
movq _users@GOTPCREL(%rip), %rbx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB3_9: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB3_11
## %bb.10: ## in Loop: Header=BB3_9 Depth=2
incq %r13
addq $44, %rbx
cmpq %r13, %r12
jne LBB3_9
jmp LBB3_12
LBB3_21: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str.23(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.24(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _scanf
movl _point(%rip), %r12d
movq $-1, %r15
testl %r12d, %r12d
jle LBB3_26
## %bb.22: ## in Loop: Header=BB3_2 Depth=1
movq _users@GOTPCREL(%rip), %rbx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB3_23: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB3_24
## %bb.25: ## in Loop: Header=BB3_23 Depth=2
incq %r13
addq $44, %rbx
cmpq %r13, %r12
jne LBB3_23
jmp LBB3_26
LBB3_11: ## in Loop: Header=BB3_2 Depth=1
movl %r13d, %r15d
LBB3_12: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _printf
movl _point(%rip), %esi
decl %esi
cmpl %esi, %r15d
leaq L_.str.15(%rip), %r12
jge LBB3_18
## %bb.13: ## in Loop: Header=BB3_2 Depth=1
movslq %r15d, %rcx
movl %esi, %eax
subl %r15d, %eax
movq %rcx, %rdx
testb $1, %al
je LBB3_15
## %bb.14: ## in Loop: Header=BB3_2 Depth=1
leaq 1(%rcx), %rdx
imulq $44, %rcx, %rax
movq _users@GOTPCREL(%rip), %rdi
movups 44(%rdi,%rax), %xmm0
movups 60(%rdi,%rax), %xmm1
movups 72(%rdi,%rax), %xmm2
movups %xmm2, 28(%rdi,%rax)
movups %xmm1, 16(%rdi,%rax)
movups %xmm0, (%rdi,%rax)
imulq $56, %rcx, %rax
movq _us@GOTPCREL(%rip), %rbx
movq 104(%rbx,%rax), %rdi
movq %rdi, 48(%rbx,%rax)
movups 56(%rbx,%rax), %xmm0
movups 72(%rbx,%rax), %xmm1
movups 88(%rbx,%rax), %xmm2
movups %xmm2, 32(%rbx,%rax)
movups %xmm1, 16(%rbx,%rax)
movups %xmm0, (%rbx,%rax)
LBB3_15: ## in Loop: Header=BB3_2 Depth=1
movslq %esi, %rax
notq %rcx
addq %rax, %rcx
je LBB3_18
## %bb.16: ## in Loop: Header=BB3_2 Depth=1
subq %rdx, %rax
imulq $56, %rdx, %rcx
addq _us@GOTPCREL(%rip), %rcx
imulq $44, %rdx, %rdx
addq _users@GOTPCREL(%rip), %rdx
.p2align 4, 0x90
LBB3_17: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movups 44(%rdx), %xmm0
movups 60(%rdx), %xmm1
movups 72(%rdx), %xmm2
movups %xmm2, 28(%rdx)
movups %xmm1, 16(%rdx)
movups %xmm0, (%rdx)
movq 104(%rcx), %rdi
movq %rdi, 48(%rcx)
movups 56(%rcx), %xmm0
movups 72(%rcx), %xmm1
movups 88(%rcx), %xmm2
movups %xmm2, 32(%rcx)
movups %xmm1, 16(%rcx)
movups %xmm0, (%rcx)
movups 88(%rdx), %xmm0
movups 104(%rdx), %xmm1
movups 116(%rdx), %xmm2
movups %xmm2, 72(%rdx)
movups %xmm1, 60(%rdx)
movups %xmm0, 44(%rdx)
leaq 88(%rdx), %rdx
movq 160(%rcx), %rdi
movq %rdi, 104(%rcx)
movups 112(%rcx), %xmm0
movups 128(%rcx), %xmm1
movups 144(%rcx), %xmm2
movups %xmm2, 88(%rcx)
movups %xmm1, 72(%rcx)
movups %xmm0, 56(%rcx)
addq $112, %rcx
addq $-2, %rax
jne LBB3_17
LBB3_18: ## in Loop: Header=BB3_2 Depth=1
movl %esi, _point(%rip)
jmp LBB3_20
LBB3_24: ## in Loop: Header=BB3_2 Depth=1
movq %r13, %r15
LBB3_26: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _printf
movslq %r15d, %rax
imulq $56, %rax, %rsi
addq _us@GOTPCREL(%rip), %rsi
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.15(%rip), %r12
leaq L_.str.18(%rip), %r13
jmp LBB3_2
LBB3_31:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L3_0_set_30, LBB3_30-LJTI3_0
.set L3_0_set_4, LBB3_4-LJTI3_0
.set L3_0_set_7, LBB3_7-LJTI3_0
.set L3_0_set_19, LBB3_19-LJTI3_0
.set L3_0_set_21, LBB3_21-LJTI3_0
.set L3_0_set_28, LBB3_28-LJTI3_0
LJTI3_0:
.long L3_0_set_30
.long L3_0_set_4
.long L3_0_set_7
.long L3_0_set_19
.long L3_0_set_21
.long L3_0_set_28
.end_data_region
## -- End function
.globl _p_portal ## -- Begin function p_portal
.p2align 4, 0x90
_p_portal: ## @p_portal
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq L_.str.41(%rip), %rdi
xorl %r15d, %r15d
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdi
leaq -29(%rbp), %rbx
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movq %rbx, %rdi
movq %r14, %rsi
callq _strcmp
testl %eax, %eax
je LBB4_4
## %bb.1:
leaq L_.str.42(%rip), %rdi
xorl %r15d, %r15d
movl $3, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.41(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdi
leaq -29(%rbp), %rbx
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movq %rbx, %rdi
movq %r14, %rsi
callq _strcmp
testl %eax, %eax
je LBB4_4
## %bb.2:
leaq L_.str.42(%rip), %rdi
xorl %r15d, %r15d
movl $2, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.41(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdi
leaq -29(%rbp), %rbx
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movq %rbx, %rdi
movq %r14, %rsi
callq _strcmp
testl %eax, %eax
je LBB4_4
## %bb.3:
leaq L_.str.42(%rip), %rdi
movl $1, %r15d
movl $1, %esi
xorl %eax, %eax
callq _printf
LBB4_4:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _portal ## -- Begin function portal
.p2align 4, 0x90
_portal: ## @portal
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str.23(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.24(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdi
leaq -80(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl _point(%rip), %r12d
movl $-1, %r14d
testl %r12d, %r12d
jle LBB5_5
## %bb.1:
movq _users@GOTPCREL(%rip), %rbx
xorl %r13d, %r13d
leaq -80(%rbp), %r15
.p2align 4, 0x90
LBB5_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB5_4
## %bb.3: ## in Loop: Header=BB5_2 Depth=1
incq %r13
addq $44, %rbx
cmpq %r13, %r12
jne LBB5_2
jmp LBB5_5
LBB5_4:
movl %r13d, %r14d
LBB5_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB5_7
## %bb.6:
movl %r14d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB5_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _point ## @point
.zerofill __DATA,__common,_point,4,2
.section __DATA,__data
.globl _a_pass ## @a_pass
_a_pass:
.ascii "12345"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nWelcome to RCCIIT Banking Solutions.Inc"
L_.str.1: ## @.str.1
.asciz "\nThis sofware is a emulator of banking softwares"
L_.str.2: ## @.str.2
.asciz "\nHappy to help and distribute\n-----------------------------------------------------------------"
L_.str.3: ## @.str.3
.asciz "\n\nOptions:\n1.New User \n2.Registered User \n3.Admin \n4.Quit"
L_.str.4: ## @.str.4
.asciz "\nEnter option:"
L_.str.5: ## @.str.5
.asciz "%i"
.comm _users,2200,4 ## @users
L_.str.6: ## @.str.6
.asciz "No such name found, please register yourself"
L_.str.7: ## @.str.7
.asciz "\nSecurity Warning"
L_.str.8: ## @.str.8
.asciz "\nEnter the id of user of your choice , Enter the password: "
L_.str.9: ## @.str.9
.asciz "%s"
L_.str.10: ## @.str.10
.asciz "\nNew user created succesfully"
L_.str.11: ## @.str.11
.asciz "\nAccount no. is : %i"
L_.str.12: ## @.str.12
.asciz "\nEnter admin password:"
L_.str.13: ## @.str.13
.asciz "\nWelcome to the admin panel"
L_.str.15: ## @.str.15
.asciz "Enter option:"
L_.str.16: ## @.str.16
.asciz "\nEnter new password:"
L_.str.17: ## @.str.17
.asciz "\nNew password is :%s"
L_.str.18: ## @.str.18
.asciz "\nUser: %s Password: %s Account no:%i "
L_.str.19: ## @.str.19
.asciz "Deleting user details"
.comm _us,2800,4 ## @us
L_.str.20: ## @.str.20
.asciz "\nNo of users as of yet is :%i"
L_.str.21: ## @.str.21
.asciz "\nEnter the message:"
L_.str.22: ## @.str.22
.asciz "\nSecurity warning"
L_.str.23: ## @.str.23
.asciz "\nWelcome to registered user portal"
L_.str.24: ## @.str.24
.asciz "\nEnter the name of registered user: "
L_.str.25: ## @.str.25
.asciz "\nWelcome user %s to account portal"
L_.str.26: ## @.str.26
.asciz "\nEnter the password to verify identity"
L_.str.27: ## @.str.27
.asciz "a+"
L_.str.28: ## @.str.28
.asciz "r"
L_.str.29: ## @.str.29
.asciz "\n\nOptions:\n1.View amount in account \n2.Account credit \n3.Account debit \n4.View Message from admin \n5.Show log\n6.Quit"
L_.str.30: ## @.str.30
.asciz "\nAmount left in your account is :%i"
L_.str.31: ## @.str.31
.asciz "Enter the amount to credit :"
L_.str.32: ## @.str.32
.asciz "\n\n\n Time:-"
L_.str.33: ## @.str.33
.asciz "\nAmount credited to account :- "
L_.str.34: ## @.str.34
.asciz "Enter the amount to debit :"
L_.str.35: ## @.str.35
.asciz "\nInsufficient amount in balance"
L_.str.36: ## @.str.36
.asciz "\nAmount debited from account :- "
L_.str.38: ## @.str.38
.asciz "\nShowing transaction log:-"
L_.str.40: ## @.str.40
.asciz "System Warning"
L_.str.41: ## @.str.41
.asciz "\n\nEnter the password:"
L_.str.42: ## @.str.42
.asciz "\nYou have %i chances left"
L_str: ## @str
.asciz "\n\nSystem log finished"
L_str.43: ## @str.43
.asciz "\nShowing message from admin"
L_str.44: ## @str.44
.asciz "\n\nOptions:- \n1.Change Password \n2.View registered users \n3.Delete Users \n4.No of Users \n5.Message User \n6.Quit"
.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, #208
.cfi_def_cfa_offset 208
stp x28, x27, [sp, #112] ; 16-byte Folded Spill
stp x26, x25, [sp, #128] ; 16-byte Folded Spill
stp x24, x23, [sp, #144] ; 16-byte Folded Spill
stp x22, x21, [sp, #160] ; 16-byte Folded Spill
stp x20, x19, [sp, #176] ; 16-byte Folded Spill
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.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
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
bl _printf
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x8, sp, #16
Lloh6:
adrp x19, l_.str.3@PAGE
Lloh7:
add x19, x19, l_.str.3@PAGEOFF
add x8, x8, #24
str x8, [sp, #8] ; 8-byte Folded Spill
Lloh8:
adrp x20, l_.str.4@PAGE
Lloh9:
add x20, x20, l_.str.4@PAGEOFF
sub x25, x29, #84
Lloh10:
adrp x21, l_.str.5@PAGE
Lloh11:
add x21, x21, l_.str.5@PAGEOFF
Lloh12:
adrp x26, lJTI0_0@PAGE
Lloh13:
add x26, x26, lJTI0_0@PAGEOFF
adrp x27, _point@PAGE
Lloh14:
adrp x24, l_.str.9@PAGE
Lloh15:
add x24, x24, l_.str.9@PAGEOFF
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
bl _admin
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
mov x0, x19
bl _printf
mov x0, x20
bl _printf
str x25, [sp]
mov x0, x21
bl _scanf
ldur w8, [x29, #-84]
sub w8, w8, #1
cmp w8, #3
b.hi LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
adr x9, LBB0_1
ldrb w10, [x26, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldrsw x8, [x27, _point@PAGEOFF]
mov w9, #44
Lloh16:
adrp x10, _users@GOTPAGE
Lloh17:
ldr x10, [x10, _users@GOTPAGEOFF]
madd x22, x8, x9, x10
ldp q0, q1, [x22]
stp q0, q1, [sp, #16]
ldur q0, [x22, #28]
stur q0, [sp, #44]
Lloh18:
adrp x0, l_.str.8@PAGE
Lloh19:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
add x8, sp, #16
str x8, [sp]
mov x0, x24
bl _scanf
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp]
mov x0, x24
bl _scanf
Lloh20:
adrp x0, l_.str.10@PAGE
Lloh21:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr w8, [x27, _point@PAGEOFF]
mov w9, #51465
movk w9, #1, lsl #16
add w8, w8, w9
str w8, [sp, #36]
str x8, [sp]
Lloh22:
adrp x0, l_.str.11@PAGE
Lloh23:
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldur q0, [sp, #44]
stur q0, [sp, #92]
ldp q1, q0, [sp, #16]
stp q1, q0, [sp, #64]
ldr q0, [sp, #80]
stp q1, q0, [x22]
ldur q0, [sp, #92]
stur q0, [x22, #28]
ldr w8, [x27, _point@PAGEOFF]
add w8, w8, #1
str w8, [x27, _point@PAGEOFF]
b LBB0_2
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
Lloh24:
adrp x0, l_.str.7@PAGE
Lloh25:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_2
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
Lloh26:
adrp x0, l_.str.23@PAGE
Lloh27:
add x0, x0, l_.str.23@PAGEOFF
bl _printf
Lloh28:
adrp x0, l_.str.24@PAGE
Lloh29:
add x0, x0, l_.str.24@PAGEOFF
bl _printf
add x8, sp, #64
str x8, [sp]
mov x0, x24
bl _scanf
ldr w8, [x27, _point@PAGEOFF]
cmp w8, #1
b.lt LBB0_11
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
mov x28, #0
neg x23, x8
Lloh30:
adrp x22, _users@GOTPAGE
Lloh31:
ldr x22, [x22, _users@GOTPAGEOFF]
LBB0_8: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
add x0, sp, #64
mov x1, x22
bl _strcmp
cbz w0, LBB0_10
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
add x22, x22, #44
sub x28, x28, #1
cmp x23, x28
b.ne LBB0_8
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
cmp w28, #1
b.ne LBB0_12
LBB0_11: ; in Loop: Header=BB0_2 Depth=1
Lloh32:
adrp x0, l_.str.6@PAGE
Lloh33:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_2
LBB0_12: ; in Loop: Header=BB0_2 Depth=1
neg x1, x28
ldp q0, q1, [x22]
stp q0, q1, [sp, #64]
ldur q0, [x22, #28]
stur q0, [sp, #92]
add x0, sp, #64
; kill: def $w1 killed $w1 killed $x1
bl _reg_us
b LBB0_2
LBB0_13:
mov w0, #0
bl _exit
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_4-LBB0_1)>>2
.byte (LBB0_6-LBB0_1)>>2
.byte (LBB0_1-LBB0_1)>>2
.byte (LBB0_13-LBB0_1)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _new_us ; -- Begin function new_us
.p2align 2
_new_us: ; @new_us
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov x20, x8
Lloh34:
adrp x0, l_.str.8@PAGE
Lloh35:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
str x19, [sp]
Lloh36:
adrp x21, l_.str.9@PAGE
Lloh37:
add x21, x21, l_.str.9@PAGEOFF
mov x0, x21
bl _scanf
add x8, x19, #24
str x8, [sp]
mov x0, x21
bl _scanf
Lloh38:
adrp x0, l_.str.10@PAGE
Lloh39:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
Lloh40:
adrp x8, _point@PAGE
Lloh41:
ldr w8, [x8, _point@PAGEOFF]
add w8, w8, #28, lsl #12 ; =114688
add w8, w8, #2313
str w8, [x19, #20]
str x8, [sp]
Lloh42:
adrp x0, l_.str.11@PAGE
Lloh43:
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldp q0, q1, [x19]
stp q0, q1, [x20]
ldur q0, [x19, #28]
stur q0, [x20, #28]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdr Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.globl _reg_us ; -- Begin function reg_us
.p2align 2
_reg_us: ; @reg_us
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x1
mov x20, x0
str x0, [sp]
Lloh44:
adrp x0, l_.str.25@PAGE
Lloh45:
add x0, x0, l_.str.25@PAGEOFF
bl _printf
Lloh46:
adrp x0, l_.str.26@PAGE
Lloh47:
add x0, x0, l_.str.26@PAGEOFF
bl _printf
add x0, x20, #24
bl _p_portal
cmp w0, #1
b.ne LBB2_2
LBB2_1:
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
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB2_2:
Lloh48:
adrp x1, l_.str.27@PAGE
Lloh49:
add x1, x1, l_.str.27@PAGEOFF
mov x0, x20
bl _fopen
mov x19, x0
Lloh50:
adrp x1, l_.str.28@PAGE
Lloh51:
add x1, x1, l_.str.28@PAGEOFF
mov x0, x20
bl _fopen
mov x20, x0
Lloh52:
adrp x8, _us@GOTPAGE
Lloh53:
ldr x8, [x8, _us@GOTPAGEOFF]
mov w9, #56
smaddl x28, w21, w9, x8
add x24, x28, #52
Lloh54:
adrp x21, l_.str.29@PAGE
Lloh55:
add x21, x21, l_.str.29@PAGEOFF
Lloh56:
adrp x22, l_.str.4@PAGE
Lloh57:
add x22, x22, l_.str.4@PAGEOFF
add x26, sp, #28
Lloh58:
adrp x23, l_.str.5@PAGE
Lloh59:
add x23, x23, l_.str.5@PAGEOFF
Lloh60:
adrp x27, lJTI2_0@PAGE
Lloh61:
add x27, x27, lJTI2_0@PAGEOFF
Lloh62:
adrp x25, l_.str.30@PAGE
Lloh63:
add x25, x25, l_.str.30@PAGEOFF
b LBB2_7
LBB2_3: ; in Loop: Header=BB2_7 Depth=1
ldr w8, [x24]
LBB2_4: ; in Loop: Header=BB2_7 Depth=1
str x8, [sp]
mov x0, x25
LBB2_5: ; in Loop: Header=BB2_7 Depth=1
bl _printf
LBB2_6: ; in Loop: Header=BB2_7 Depth=1
mov x0, x20
bl _fflush
mov x0, x19
bl _fflush
LBB2_7: ; =>This Loop Header: Depth=1
; Child Loop BB2_15 Depth 2
mov x0, x21
bl _printf
mov x0, x22
bl _printf
str x26, [sp]
mov x0, x23
bl _scanf
ldr w8, [sp, #28]
sub w8, w8, #1
cmp w8, #5
b.hi LBB2_10
; %bb.8: ; in Loop: Header=BB2_7 Depth=1
adr x9, LBB2_1
ldrb w10, [x27, x8]
add x9, x9, x10, lsl #2
br x9
LBB2_9: ; in Loop: Header=BB2_7 Depth=1
Lloh64:
adrp x0, l_.str.31@PAGE
Lloh65:
add x0, x0, l_.str.31@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
mov x0, x23
bl _scanf
Lloh66:
adrp x0, l_.str.32@PAGE
Lloh67:
add x0, x0, l_.str.32@PAGEOFF
mov x1, x19
bl _fputs
add x0, sp, #16
bl _ctime
mov x1, x19
bl _fputs
Lloh68:
adrp x0, l_.str.33@PAGE
Lloh69:
add x0, x0, l_.str.33@PAGEOFF
mov x1, x19
bl _fputs
ldr w8, [sp, #12]
str x8, [sp]
mov x0, x19
mov x1, x23
bl _fprintf
ldr w8, [x24]
ldr w9, [sp, #12]
add w8, w9, w8
str w8, [x24]
b LBB2_4
LBB2_10: ; in Loop: Header=BB2_7 Depth=1
Lloh70:
adrp x0, l_.str.40@PAGE
Lloh71:
add x0, x0, l_.str.40@PAGEOFF
b LBB2_5
LBB2_11: ; in Loop: Header=BB2_7 Depth=1
Lloh72:
adrp x0, l_.str.34@PAGE
Lloh73:
add x0, x0, l_.str.34@PAGEOFF
bl _printf
add x8, sp, #8
str x8, [sp]
mov x0, x23
bl _scanf
ldr w8, [sp, #8]
ldr w9, [x24]
cmp w8, w9
b.le LBB2_18
; %bb.12: ; in Loop: Header=BB2_7 Depth=1
Lloh74:
adrp x0, l_.str.35@PAGE
Lloh75:
add x0, x0, l_.str.35@PAGEOFF
b LBB2_5
LBB2_13: ; in Loop: Header=BB2_7 Depth=1
Lloh76:
adrp x0, l_str.43@PAGE
Lloh77:
add x0, x0, l_str.43@PAGEOFF
bl _puts
str x28, [sp]
Lloh78:
adrp x0, l_.str.9@PAGE
Lloh79:
add x0, x0, l_.str.9@PAGEOFF
b LBB2_5
LBB2_14: ; in Loop: Header=BB2_7 Depth=1
Lloh80:
adrp x0, l_.str.38@PAGE
Lloh81:
add x0, x0, l_.str.38@PAGEOFF
bl _printf
LBB2_15: ; Parent Loop BB2_7 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x20
bl _fgetc
cmn w0, #1
b.eq LBB2_17
; %bb.16: ; in Loop: Header=BB2_15 Depth=2
bl _putchar
b LBB2_15
LBB2_17: ; in Loop: Header=BB2_7 Depth=1
Lloh82:
adrp x0, l_str@PAGE
Lloh83:
add x0, x0, l_str@PAGEOFF
bl _puts
b LBB2_6
LBB2_18: ; in Loop: Header=BB2_7 Depth=1
Lloh84:
adrp x0, l_.str.32@PAGE
Lloh85:
add x0, x0, l_.str.32@PAGEOFF
mov x1, x19
bl _fputs
add x0, sp, #16
bl _ctime
mov x1, x19
bl _fputs
Lloh86:
adrp x0, l_.str.36@PAGE
Lloh87:
add x0, x0, l_.str.36@PAGEOFF
mov x1, x19
bl _fputs
ldr w8, [sp, #8]
str x8, [sp]
mov x0, x19
mov x1, x23
bl _fprintf
ldr w8, [x24]
ldr w9, [sp, #8]
sub w8, w8, w9
str w8, [x24]
b LBB2_4
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpLdrGot Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh84, Lloh85
.cfi_endproc
.section __TEXT,__const
lJTI2_0:
.byte (LBB2_3-LBB2_1)>>2
.byte (LBB2_9-LBB2_1)>>2
.byte (LBB2_11-LBB2_1)>>2
.byte (LBB2_13-LBB2_1)>>2
.byte (LBB2_14-LBB2_1)>>2
.byte (LBB2_1-LBB2_1)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _admin ; -- Begin function admin
.p2align 2
_admin: ; @admin
.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
Lloh88:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh89:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh90:
ldr x8, [x8]
str x8, [sp, #56]
Lloh91:
adrp x0, l_.str.12@PAGE
Lloh92:
add x0, x0, l_.str.12@PAGEOFF
bl _printf
Lloh93:
adrp x0, _a_pass@PAGE
Lloh94:
add x0, x0, _a_pass@PAGEOFF
bl _p_portal
cmp w0, #1
b.ne LBB3_3
LBB3_1:
ldr x8, [sp, #56]
Lloh95:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh96:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh97:
ldr x9, [x9]
cmp x9, x8
b.ne LBB3_28
; %bb.2:
mov w0, #0
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
LBB3_3:
Lloh98:
adrp x0, l_.str.13@PAGE
Lloh99:
add x0, x0, l_.str.13@PAGEOFF
bl _printf
Lloh100:
adrp x20, l_str.44@PAGE
Lloh101:
add x20, x20, l_str.44@PAGEOFF
Lloh102:
adrp x21, l_.str.15@PAGE
Lloh103:
add x21, x21, l_.str.15@PAGEOFF
add x19, sp, #32
Lloh104:
adrp x22, l_.str.5@PAGE
Lloh105:
add x22, x22, l_.str.5@PAGEOFF
Lloh106:
adrp x28, lJTI3_0@PAGE
Lloh107:
add x28, x28, lJTI3_0@PAGEOFF
Lloh108:
adrp x25, l_.str.9@PAGE
Lloh109:
add x25, x25, l_.str.9@PAGEOFF
Lloh110:
adrp x27, l_.str.18@PAGE
Lloh111:
add x27, x27, l_.str.18@PAGEOFF
adrp x26, _point@PAGE
b LBB3_6
LBB3_4: ; in Loop: Header=BB3_6 Depth=1
ldr w8, [x26, _point@PAGEOFF]
LBB3_5: ; in Loop: Header=BB3_6 Depth=1
str x8, [sp]
Lloh112:
adrp x0, l_.str.20@PAGE
Lloh113:
add x0, x0, l_.str.20@PAGEOFF
bl _printf
LBB3_6: ; =>This Loop Header: Depth=1
; Child Loop BB3_24 Depth 2
; Child Loop BB3_15 Depth 2
; Child Loop BB3_20 Depth 2
; Child Loop BB3_12 Depth 2
mov x0, x20
bl _puts
mov x0, x21
bl _printf
str x19, [sp]
mov x0, x22
bl _scanf
ldr w8, [sp, #32]
sub w8, w8, #1
cmp w8, #5
b.hi LBB3_9
; %bb.7: ; in Loop: Header=BB3_6 Depth=1
adr x9, LBB3_1
ldrb w10, [x28, x8]
add x9, x9, x10, lsl #2
br x9
LBB3_8: ; in Loop: Header=BB3_6 Depth=1
Lloh114:
adrp x0, l_.str.16@PAGE
Lloh115:
add x0, x0, l_.str.16@PAGEOFF
bl _printf
Lloh116:
adrp x23, _a_pass@PAGE
Lloh117:
add x23, x23, _a_pass@PAGEOFF
str x23, [sp]
mov x0, x25
bl _scanf
str x23, [sp]
Lloh118:
adrp x0, l_.str.17@PAGE
Lloh119:
add x0, x0, l_.str.17@PAGEOFF
bl _printf
b LBB3_6
LBB3_9: ; in Loop: Header=BB3_6 Depth=1
Lloh120:
adrp x0, l_.str.22@PAGE
Lloh121:
add x0, x0, l_.str.22@PAGEOFF
bl _printf
b LBB3_6
LBB3_10: ; in Loop: Header=BB3_6 Depth=1
ldr w8, [x26, _point@PAGEOFF]
cmp w8, #1
b.lt LBB3_6
; %bb.11: ; in Loop: Header=BB3_6 Depth=1
mov x23, #0
Lloh122:
adrp x8, _users@GOTPAGE
Lloh123:
ldr x8, [x8, _users@GOTPAGEOFF]
add x24, x8, #24
LBB3_12: ; Parent Loop BB3_6 Depth=1
; => This Inner Loop Header: Depth=2
sub x8, x24, #24
ldur w9, [x24, #-4]
stp x24, x9, [sp, #8]
str x8, [sp]
mov x0, x27
bl _printf
add x23, x23, #1
ldrsw x8, [x26, _point@PAGEOFF]
add x24, x24, #44
cmp x23, x8
b.lt LBB3_12
b LBB3_6
LBB3_13: ; in Loop: Header=BB3_6 Depth=1
Lloh124:
adrp x0, l_.str.23@PAGE
Lloh125:
add x0, x0, l_.str.23@PAGEOFF
bl _printf
Lloh126:
adrp x0, l_.str.24@PAGE
Lloh127:
add x0, x0, l_.str.24@PAGEOFF
bl _printf
add x8, sp, #36
str x8, [sp]
mov x0, x25
bl _scanf
ldr w25, [x26, _point@PAGEOFF]
cmp w25, #1
b.lt LBB3_17
; %bb.14: ; in Loop: Header=BB3_6 Depth=1
mov x23, #0
Lloh128:
adrp x24, _users@GOTPAGE
Lloh129:
ldr x24, [x24, _users@GOTPAGEOFF]
LBB3_15: ; Parent Loop BB3_6 Depth=1
; => This Inner Loop Header: Depth=2
add x0, sp, #36
mov x1, x24
bl _strcmp
cbz w0, LBB3_18
; %bb.16: ; in Loop: Header=BB3_15 Depth=2
add x23, x23, #1
add x24, x24, #44
cmp x25, x23
b.ne LBB3_15
LBB3_17: ; in Loop: Header=BB3_6 Depth=1
mov w23, #-1
LBB3_18: ; in Loop: Header=BB3_6 Depth=1
Lloh130:
adrp x0, l_.str.19@PAGE
Lloh131:
add x0, x0, l_.str.19@PAGEOFF
bl _printf
ldr w8, [x26, _point@PAGEOFF]
sub w8, w8, #1
cmp w23, w8
Lloh132:
adrp x25, l_.str.9@PAGE
Lloh133:
add x25, x25, l_.str.9@PAGEOFF
b.ge LBB3_21
; %bb.19: ; in Loop: Header=BB3_6 Depth=1
mov x9, x8
sxtw x9, w9
Lloh134:
adrp x10, _users@GOTPAGE
Lloh135:
ldr x10, [x10, _users@GOTPAGEOFF]
mov w11, #44
smaddl x11, w23, w11, x10
Lloh136:
adrp x10, _us@GOTPAGE
Lloh137:
ldr x10, [x10, _us@GOTPAGEOFF]
mov w12, #56
smaddl x10, w23, w12, x10
sub x9, x9, w23, sxtw
LBB3_20: ; Parent Loop BB3_6 Depth=1
; => This Inner Loop Header: Depth=2
ldur q0, [x11, #44]
ldur q1, [x11, #60]
stp q0, q1, [x11]
ldur q0, [x11, #72]
stur q0, [x11, #28]
add x11, x11, #44
ldur q0, [x10, #56]
ldur q1, [x10, #72]
stp q0, q1, [x10]
ldur q0, [x10, #88]
str q0, [x10, #32]
ldr x12, [x10, #104]
str x12, [x10, #48]
add x10, x10, #56
subs x9, x9, #1
b.ne LBB3_20
LBB3_21: ; in Loop: Header=BB3_6 Depth=1
str w8, [x26, _point@PAGEOFF]
b LBB3_5
LBB3_22: ; in Loop: Header=BB3_6 Depth=1
Lloh138:
adrp x0, l_.str.23@PAGE
Lloh139:
add x0, x0, l_.str.23@PAGEOFF
bl _printf
Lloh140:
adrp x0, l_.str.24@PAGE
Lloh141:
add x0, x0, l_.str.24@PAGEOFF
bl _printf
add x8, sp, #36
str x8, [sp]
mov x0, x25
bl _scanf
ldr w25, [x26, _point@PAGEOFF]
cmp w25, #1
b.lt LBB3_26
; %bb.23: ; in Loop: Header=BB3_6 Depth=1
mov x23, #0
Lloh142:
adrp x24, _users@GOTPAGE
Lloh143:
ldr x24, [x24, _users@GOTPAGEOFF]
LBB3_24: ; Parent Loop BB3_6 Depth=1
; => This Inner Loop Header: Depth=2
add x0, sp, #36
mov x1, x24
bl _strcmp
cbz w0, LBB3_27
; %bb.25: ; in Loop: Header=BB3_24 Depth=2
add x23, x23, #1
add x24, x24, #44
cmp x25, x23
b.ne LBB3_24
LBB3_26: ; in Loop: Header=BB3_6 Depth=1
mov x23, #-1
LBB3_27: ; in Loop: Header=BB3_6 Depth=1
Lloh144:
adrp x0, l_.str.21@PAGE
Lloh145:
add x0, x0, l_.str.21@PAGEOFF
bl _printf
Lloh146:
adrp x8, _us@GOTPAGE
Lloh147:
ldr x8, [x8, _us@GOTPAGEOFF]
mov w9, #56
smaddl x8, w23, w9, x8
str x8, [sp]
Lloh148:
adrp x25, l_.str.9@PAGE
Lloh149:
add x25, x25, l_.str.9@PAGEOFF
mov x0, x25
bl _scanf
b LBB3_6
LBB3_28:
bl ___stack_chk_fail
.loh AdrpAdd Lloh93, Lloh94
.loh AdrpAdd Lloh91, Lloh92
.loh AdrpLdrGotLdr Lloh88, Lloh89, Lloh90
.loh AdrpLdrGotLdr Lloh95, Lloh96, Lloh97
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpAdd Lloh116, Lloh117
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh120, Lloh121
.loh AdrpLdrGot Lloh122, Lloh123
.loh AdrpAdd Lloh126, Lloh127
.loh AdrpAdd Lloh124, Lloh125
.loh AdrpLdrGot Lloh128, Lloh129
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpLdrGot Lloh136, Lloh137
.loh AdrpLdrGot Lloh134, Lloh135
.loh AdrpAdd Lloh140, Lloh141
.loh AdrpAdd Lloh138, Lloh139
.loh AdrpLdrGot Lloh142, Lloh143
.loh AdrpAdd Lloh148, Lloh149
.loh AdrpLdrGot Lloh146, Lloh147
.loh AdrpAdd Lloh144, Lloh145
.cfi_endproc
.section __TEXT,__const
lJTI3_0:
.byte (LBB3_8-LBB3_1)>>2
.byte (LBB3_10-LBB3_1)>>2
.byte (LBB3_13-LBB3_1)>>2
.byte (LBB3_4-LBB3_1)>>2
.byte (LBB3_22-LBB3_1)>>2
.byte (LBB3_1-LBB3_1)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _p_portal ; -- Begin function p_portal
.p2align 2
_p_portal: ; @p_portal
.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
Lloh150:
adrp x0, l_.str.41@PAGE
Lloh151:
add x0, x0, l_.str.41@PAGEOFF
bl _printf
add x20, sp, #11
str x20, [sp]
Lloh152:
adrp x0, l_.str.9@PAGE
Lloh153:
add x0, x0, l_.str.9@PAGEOFF
bl _scanf
add x0, sp, #11
mov x1, x19
bl _strcmp
cbz w0, LBB4_4
; %bb.1:
mov w8, #3
str x8, [sp]
Lloh154:
adrp x0, l_.str.42@PAGE
Lloh155:
add x0, x0, l_.str.42@PAGEOFF
bl _printf
Lloh156:
adrp x0, l_.str.41@PAGE
Lloh157:
add x0, x0, l_.str.41@PAGEOFF
bl _printf
str x20, [sp]
Lloh158:
adrp x0, l_.str.9@PAGE
Lloh159:
add x0, x0, l_.str.9@PAGEOFF
bl _scanf
add x0, sp, #11
mov x1, x19
bl _strcmp
cbz w0, LBB4_4
; %bb.2:
mov w8, #2
str x8, [sp]
Lloh160:
adrp x0, l_.str.42@PAGE
Lloh161:
add x0, x0, l_.str.42@PAGEOFF
bl _printf
Lloh162:
adrp x0, l_.str.41@PAGE
Lloh163:
add x0, x0, l_.str.41@PAGEOFF
bl _printf
add x8, sp, #11
str x8, [sp]
Lloh164:
adrp x0, l_.str.9@PAGE
Lloh165:
add x0, x0, l_.str.9@PAGEOFF
bl _scanf
add x0, sp, #11
mov x1, x19
bl _strcmp
cbz w0, LBB4_4
; %bb.3:
mov w19, #1
str x19, [sp]
Lloh166:
adrp x0, l_.str.42@PAGE
Lloh167:
add x0, x0, l_.str.42@PAGEOFF
bl _printf
b LBB4_5
LBB4_4:
mov w19, #0
LBB4_5:
mov x0, 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 Lloh152, Lloh153
.loh AdrpAdd Lloh150, Lloh151
.loh AdrpAdd Lloh158, Lloh159
.loh AdrpAdd Lloh156, Lloh157
.loh AdrpAdd Lloh154, Lloh155
.loh AdrpAdd Lloh164, Lloh165
.loh AdrpAdd Lloh162, Lloh163
.loh AdrpAdd Lloh160, Lloh161
.loh AdrpAdd Lloh166, Lloh167
.cfi_endproc
; -- End function
.globl _portal ; -- Begin function portal
.p2align 2
_portal: ; @portal
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh168:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh169:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh170:
ldr x8, [x8]
str x8, [sp, #40]
Lloh171:
adrp x0, l_.str.23@PAGE
Lloh172:
add x0, x0, l_.str.23@PAGEOFF
bl _printf
Lloh173:
adrp x0, l_.str.24@PAGE
Lloh174:
add x0, x0, l_.str.24@PAGEOFF
bl _printf
add x8, sp, #20
str x8, [sp]
Lloh175:
adrp x0, l_.str.9@PAGE
Lloh176:
add x0, x0, l_.str.9@PAGEOFF
bl _scanf
Lloh177:
adrp x8, _point@PAGE
Lloh178:
ldr w21, [x8, _point@PAGEOFF]
cmp w21, #1
b.lt LBB5_4
; %bb.1:
mov x19, #0
Lloh179:
adrp x20, _users@GOTPAGE
Lloh180:
ldr x20, [x20, _users@GOTPAGEOFF]
LBB5_2: ; =>This Inner Loop Header: Depth=1
add x0, sp, #20
mov x1, x20
bl _strcmp
cbz w0, LBB5_5
; %bb.3: ; in Loop: Header=BB5_2 Depth=1
add x19, x19, #1
add x20, x20, #44
cmp x21, x19
b.ne LBB5_2
LBB5_4:
mov w19, #-1
LBB5_5:
ldr x8, [sp, #40]
Lloh181:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh182:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh183:
ldr x9, [x9]
cmp x9, x8
b.ne LBB5_7
; %bb.6:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB5_7:
bl ___stack_chk_fail
.loh AdrpLdr Lloh177, Lloh178
.loh AdrpAdd Lloh175, Lloh176
.loh AdrpAdd Lloh173, Lloh174
.loh AdrpAdd Lloh171, Lloh172
.loh AdrpLdrGotLdr Lloh168, Lloh169, Lloh170
.loh AdrpLdrGot Lloh179, Lloh180
.loh AdrpLdrGotLdr Lloh181, Lloh182, Lloh183
.cfi_endproc
; -- End function
.globl _point ; @point
.zerofill __DATA,__common,_point,4,2
.section __DATA,__data
.globl _a_pass ; @a_pass
_a_pass:
.ascii "12345"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nWelcome to RCCIIT Banking Solutions.Inc"
l_.str.1: ; @.str.1
.asciz "\nThis sofware is a emulator of banking softwares"
l_.str.2: ; @.str.2
.asciz "\nHappy to help and distribute\n-----------------------------------------------------------------"
l_.str.3: ; @.str.3
.asciz "\n\nOptions:\n1.New User \n2.Registered User \n3.Admin \n4.Quit"
l_.str.4: ; @.str.4
.asciz "\nEnter option:"
l_.str.5: ; @.str.5
.asciz "%i"
.comm _users,2200,2 ; @users
l_.str.6: ; @.str.6
.asciz "No such name found, please register yourself"
l_.str.7: ; @.str.7
.asciz "\nSecurity Warning"
l_.str.8: ; @.str.8
.asciz "\nEnter the id of user of your choice , Enter the password: "
l_.str.9: ; @.str.9
.asciz "%s"
l_.str.10: ; @.str.10
.asciz "\nNew user created succesfully"
l_.str.11: ; @.str.11
.asciz "\nAccount no. is : %i"
l_.str.12: ; @.str.12
.asciz "\nEnter admin password:"
l_.str.13: ; @.str.13
.asciz "\nWelcome to the admin panel"
l_.str.15: ; @.str.15
.asciz "Enter option:"
l_.str.16: ; @.str.16
.asciz "\nEnter new password:"
l_.str.17: ; @.str.17
.asciz "\nNew password is :%s"
l_.str.18: ; @.str.18
.asciz "\nUser: %s Password: %s Account no:%i "
l_.str.19: ; @.str.19
.asciz "Deleting user details"
.comm _us,2800,2 ; @us
l_.str.20: ; @.str.20
.asciz "\nNo of users as of yet is :%i"
l_.str.21: ; @.str.21
.asciz "\nEnter the message:"
l_.str.22: ; @.str.22
.asciz "\nSecurity warning"
l_.str.23: ; @.str.23
.asciz "\nWelcome to registered user portal"
l_.str.24: ; @.str.24
.asciz "\nEnter the name of registered user: "
l_.str.25: ; @.str.25
.asciz "\nWelcome user %s to account portal"
l_.str.26: ; @.str.26
.asciz "\nEnter the password to verify identity"
l_.str.27: ; @.str.27
.asciz "a+"
l_.str.28: ; @.str.28
.asciz "r"
l_.str.29: ; @.str.29
.asciz "\n\nOptions:\n1.View amount in account \n2.Account credit \n3.Account debit \n4.View Message from admin \n5.Show log\n6.Quit"
l_.str.30: ; @.str.30
.asciz "\nAmount left in your account is :%i"
l_.str.31: ; @.str.31
.asciz "Enter the amount to credit :"
l_.str.32: ; @.str.32
.asciz "\n\n\n Time:-"
l_.str.33: ; @.str.33
.asciz "\nAmount credited to account :- "
l_.str.34: ; @.str.34
.asciz "Enter the amount to debit :"
l_.str.35: ; @.str.35
.asciz "\nInsufficient amount in balance"
l_.str.36: ; @.str.36
.asciz "\nAmount debited from account :- "
l_.str.38: ; @.str.38
.asciz "\nShowing transaction log:-"
l_.str.40: ; @.str.40
.asciz "System Warning"
l_.str.41: ; @.str.41
.asciz "\n\nEnter the password:"
l_.str.42: ; @.str.42
.asciz "\nYou have %i chances left"
l_str: ; @str
.asciz "\n\nSystem log finished"
l_str.43: ; @str.43
.asciz "\nShowing message from admin"
l_str.44: ; @str.44
.asciz "\n\nOptions:- \n1.Change Password \n2.View registered users \n3.Delete Users \n4.No of Users \n5.Message User \n6.Quit"
.subsections_via_symbols
| the_stack_data/93507.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_env_strv_get_n
_test_env_strv_get_n: ## @test_env_strv_get_n
.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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq $0, -64(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -96(%rbp)
leaq L_.str.1(%rip), %rax
movq %rax, -88(%rbp)
leaq L_.str.2(%rip), %rax
movq %rax, -80(%rbp)
leaq L_.str.3(%rip), %rax
movq %rax, -72(%rbp)
leaq L_.str.4(%rip), %r14
leaq -96(%rbp), %r12
movq %r12, %rdi
movq %r14, %rsi
movl $3, %edx
xorl %ecx, %ecx
callq _strv_env_get_n
leaq L_.str.5(%rip), %r15
movl %eax, %edi
movq %r15, %rsi
callq _streq
movl %eax, %edi
callq _assert_se
movq _REPLACE_ENV_USE_ENVIRONMENT@GOTPCREL(%rip), %r13
movl (%r13), %ecx
movq %r12, %rdi
movq %r14, %rsi
movl $3, %edx
callq _strv_env_get_n
movl %eax, %edi
movq %r15, %rsi
callq _streq
movl %eax, %edi
callq _assert_se
leaq L_.str.6(%rip), %rbx
movq %r12, %rdi
movq %rbx, %rsi
movl $3, %edx
xorl %ecx, %ecx
callq _strv_env_get_n
movl %eax, %edi
movq %r15, %rsi
callq _streq
movl %eax, %edi
callq _assert_se
movl (%r13), %ecx
movq %r12, %rdi
movq %rbx, %rsi
movl $3, %edx
callq _strv_env_get_n
movl %eax, %edi
movq %r15, %rsi
callq _streq
movl %eax, %edi
callq _assert_se
leaq L_.str.7(%rip), %r15
movq %r12, %rdi
movq %r15, %rsi
movl $4, %edx
xorl %ecx, %ecx
callq _strv_env_get_n
leaq L_.str.8(%rip), %rbx
movl %eax, %edi
movq %rbx, %rsi
callq _streq
movl %eax, %edi
callq _assert_se
leaq L_.str.9(%rip), %r14
movq %r12, %rdi
movq %r14, %rsi
movl $4, %edx
xorl %ecx, %ecx
callq _strv_env_get_n
movl %eax, %edi
movq %rbx, %rsi
callq _streq
movl %eax, %edi
callq _assert_se
movl (%r13), %ecx
movq %r12, %rdi
movq %r15, %rsi
movl $4, %edx
callq _strv_env_get_n
movl %eax, %edi
movq %rbx, %rsi
callq _streq
movl %eax, %edi
callq _assert_se
movl (%r13), %ecx
movq %r12, %rdi
movq %r14, %rsi
movl $4, %edx
callq _strv_env_get_n
movl %eax, %edi
movq %rbx, %rsi
callq _streq
movl %eax, %edi
callq _assert_se
movq $0, -72(%rbp)
movq %r12, %rdi
movq %r15, %rsi
movl $4, %edx
xorl %ecx, %ecx
callq _strv_env_get_n
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _assert_se
movq %r12, %rdi
movq %r14, %rsi
movl $4, %edx
xorl %ecx, %ecx
callq _strv_env_get_n
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _assert_se
movl (%r13), %ecx
movq %r12, %rdi
movq %r15, %rsi
movl $4, %edx
callq _strv_env_get_n
movl %eax, %ebx
movq %r14, %rdi
callq _getenv
movl %ebx, %edi
movl %eax, %esi
callq _streq_ptr
movl %eax, %edi
callq _assert_se
movl (%r13), %ecx
movq %r12, %rdi
movq %r14, %rsi
movl $4, %edx
callq _strv_env_get_n
movl %eax, %ebx
movq %r14, %rdi
callq _getenv
movl %ebx, %edi
movl %eax, %esi
callq _streq_ptr
movl %eax, %edi
callq _assert_se
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_2
## %bb.1:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "FOO=NO NO NO"
L_.str.1: ## @.str.1
.asciz "FOO=BAR BAR"
L_.str.2: ## @.str.2
.asciz "BAR=waldo"
L_.str.3: ## @.str.3
.asciz "PATH=unset"
L_.str.4: ## @.str.4
.asciz "FOO__"
L_.str.5: ## @.str.5
.asciz "BAR BAR"
.comm _REPLACE_ENV_USE_ENVIRONMENT,4,2 ## @REPLACE_ENV_USE_ENVIRONMENT
L_.str.6: ## @.str.6
.asciz "FOO"
L_.str.7: ## @.str.7
.asciz "PATH__"
L_.str.8: ## @.str.8
.asciz "unset"
L_.str.9: ## @.str.9
.asciz "PATH"
.no_dead_strip _test_env_strv_get_n
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_env_strv_get_n
_test_env_strv_get_n: ; @test_env_strv_get_n
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
Lloh3:
adrp x8, l_.str@PAGE
Lloh4:
add x8, x8, l_.str@PAGEOFF
Lloh5:
adrp x9, l_.str.1@PAGE
Lloh6:
add x9, x9, l_.str.1@PAGEOFF
stp x8, x9, [sp]
Lloh7:
adrp x8, l_.str.2@PAGE
Lloh8:
add x8, x8, l_.str.2@PAGEOFF
Lloh9:
adrp x9, l_.str.3@PAGE
Lloh10:
add x9, x9, l_.str.3@PAGEOFF
str x8, [sp, #16]
stp x9, xzr, [sp, #24]
Lloh11:
adrp x20, l_.str.4@PAGE
Lloh12:
add x20, x20, l_.str.4@PAGEOFF
mov x0, sp
mov x1, x20
mov w2, #3
mov w3, #0
bl _strv_env_get_n
Lloh13:
adrp x19, l_.str.5@PAGE
Lloh14:
add x19, x19, l_.str.5@PAGEOFF
mov x1, x19
bl _streq
bl _assert_se
Lloh15:
adrp x22, _REPLACE_ENV_USE_ENVIRONMENT@GOTPAGE
Lloh16:
ldr x22, [x22, _REPLACE_ENV_USE_ENVIRONMENT@GOTPAGEOFF]
ldr w3, [x22]
mov x0, sp
mov x1, x20
mov w2, #3
bl _strv_env_get_n
mov x1, x19
bl _streq
bl _assert_se
Lloh17:
adrp x20, l_.str.6@PAGE
Lloh18:
add x20, x20, l_.str.6@PAGEOFF
mov x0, sp
mov x1, x20
mov w2, #3
mov w3, #0
bl _strv_env_get_n
mov x1, x19
bl _streq
bl _assert_se
ldr w3, [x22]
mov x0, sp
mov x1, x20
mov w2, #3
bl _strv_env_get_n
mov x1, x19
bl _streq
bl _assert_se
Lloh19:
adrp x20, l_.str.7@PAGE
Lloh20:
add x20, x20, l_.str.7@PAGEOFF
mov x0, sp
mov x1, x20
mov w2, #4
mov w3, #0
bl _strv_env_get_n
Lloh21:
adrp x21, l_.str.8@PAGE
Lloh22:
add x21, x21, l_.str.8@PAGEOFF
mov x1, x21
bl _streq
bl _assert_se
Lloh23:
adrp x19, l_.str.9@PAGE
Lloh24:
add x19, x19, l_.str.9@PAGEOFF
mov x0, sp
mov x1, x19
mov w2, #4
mov w3, #0
bl _strv_env_get_n
mov x1, x21
bl _streq
bl _assert_se
ldr w3, [x22]
mov x0, sp
mov x1, x20
mov w2, #4
bl _strv_env_get_n
mov x1, x21
bl _streq
bl _assert_se
ldr w3, [x22]
mov x0, sp
mov x1, x19
mov w2, #4
bl _strv_env_get_n
mov x1, x21
bl _streq
bl _assert_se
str xzr, [sp, #24]
mov x0, sp
mov x1, x20
mov w2, #4
mov w3, #0
bl _strv_env_get_n
cmp w0, #0
cset w0, eq
bl _assert_se
mov x0, sp
mov x1, x19
mov w2, #4
mov w3, #0
bl _strv_env_get_n
cmp w0, #0
cset w0, eq
bl _assert_se
ldr w3, [x22]
mov x0, sp
mov x1, x20
mov w2, #4
bl _strv_env_get_n
mov x20, x0
mov x0, x19
bl _getenv
mov x1, x0
mov x0, x20
bl _streq_ptr
bl _assert_se
ldr w3, [x22]
mov x0, sp
mov x1, x19
mov w2, #4
bl _strv_env_get_n
mov x20, x0
mov x0, x19
bl _getenv
mov x1, x0
mov x0, x20
bl _streq_ptr
bl _assert_se
ldr x8, [sp, #40]
Lloh25:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh26:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "FOO=NO NO NO"
l_.str.1: ; @.str.1
.asciz "FOO=BAR BAR"
l_.str.2: ; @.str.2
.asciz "BAR=waldo"
l_.str.3: ; @.str.3
.asciz "PATH=unset"
l_.str.4: ; @.str.4
.asciz "FOO__"
l_.str.5: ; @.str.5
.asciz "BAR BAR"
.comm _REPLACE_ENV_USE_ENVIRONMENT,4,2 ; @REPLACE_ENV_USE_ENVIRONMENT
l_.str.6: ; @.str.6
.asciz "FOO"
l_.str.7: ; @.str.7
.asciz "PATH__"
l_.str.8: ; @.str.8
.asciz "unset"
l_.str.9: ; @.str.9
.asciz "PATH"
.no_dead_strip _test_env_strv_get_n
.subsections_via_symbols
| AnghaBench/systemd/src/test/extr_test-env-util.c_test_env_strv_get_n.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function axs10x_reset_reset
_axs10x_reset_reset: ## @axs10x_reset_reset
.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
callq _to_axs10x_rst
movq %rax, %rbx
movq %rax, %rdi
callq _spin_lock_irqsave
movq %r14, %rdi
callq _BIT
movl 4(%rbx), %esi
movl %eax, %edi
callq _writel
movq %rbx, %rdi
callq _spin_unlock_irqrestore
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _axs10x_reset_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function axs10x_reset_reset
_axs10x_reset_reset: ; @axs10x_reset_reset
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _to_axs10x_rst
mov x20, x0
bl _spin_lock_irqsave
mov x0, x19
bl _BIT
ldr w1, [x20, #4]
bl _writel
mov x0, x20
bl _spin_unlock_irqrestore
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 _axs10x_reset_reset
.subsections_via_symbols
| AnghaBench/linux/drivers/reset/extr_reset-axs10x.c_axs10x_reset_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vidioc_s_input
_vidioc_s_input: ## @vidioc_s_input
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
testl %edx, %edx
cmovel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _vidioc_s_input
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vidioc_s_input
_vidioc_s_input: ; @vidioc_s_input
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w2, #0
csneg w0, wzr, w8, eq
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _vidioc_s_input
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_gspca.c_vidioc_s_input.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rmi_bus_space_read_multi_1
_rmi_bus_space_read_multi_1: ## @rmi_bus_space_read_multi_1
.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
jmp _TODO ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _rmi_bus_space_read_multi_1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rmi_bus_space_read_multi_1
_rmi_bus_space_read_multi_1: ; @rmi_bus_space_read_multi_1
.cfi_startproc
; %bb.0:
b _TODO
.cfi_endproc
; -- End function
.no_dead_strip _rmi_bus_space_read_multi_1
.subsections_via_symbols
| AnghaBench/freebsd/sys/mips/nlm/extr_bus_space_rmi.c_rmi_bus_space_read_multi_1.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xlp_pre_ithread
_xlp_pre_ithread: ## @xlp_pre_ithread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdi), %rax
testq %rax, %rax
je LBB0_1
## %bb.2:
movl (%rdi), %esi
movl 4(%rdi), %edi
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _xlp_pre_ithread
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xlp_pre_ithread
_xlp_pre_ithread: ; @xlp_pre_ithread
.cfi_startproc
; %bb.0:
ldr x2, [x0, #8]
cbz x2, LBB0_2
; %bb.1:
ldp w1, w8, [x0]
mov x0, x8
br x2
LBB0_2:
ret
.cfi_endproc
; -- End function
.no_dead_strip _xlp_pre_ithread
.subsections_via_symbols
| AnghaBench/freebsd/sys/mips/nlm/extr_intr_machdep.c_xlp_pre_ithread.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_invalidate_path
_do_invalidate_path: ## @do_invalidate_path
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rsi, %r12
movq %rdi, %r15
movl $1, %r14d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movl $47, %esi
callq _strchrnul
movq %rax, %rdx
subq %r12, %rdx
movl $-1, (%r15)
cmpb $0, (%rax)
je LBB0_4
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %rbx
movq %r15, %rdi
movq %r12, %rsi
## kill: def $edx killed $edx killed $rdx
xorl %ecx, %ecx
callq _find_subtree
testq %rax, %rax
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movq (%rax), %r15
incq %rbx
movq %rbx, %r12
testq %r15, %r15
jne LBB0_3
jmp LBB0_8
LBB0_1:
xorl %r14d, %r14d
jmp LBB0_8
LBB0_4:
movq %r15, %rdi
movq %r12, %rsi
## kill: def $edx killed $edx killed $rdx
callq _subtree_pos
movl $1, %r14d
testl %eax, %eax
js LBB0_8
## %bb.5:
movl %eax, %ebx
movq 8(%r15), %rax
movl %ebx, %r12d
movq (%rax,%r12,8), %rdi
callq _cache_tree_free
movq 8(%r15), %rax
movq (%rax,%r12,8), %rdi
callq _free
movq 8(%r15), %rax
leaq (%rax,%r12,8), %rdi
leaq (%rax,%r12,8), %rsi
addq $8, %rsi
notl %ebx
addl 4(%r15), %ebx
movl %ebx, %edx
callq _MOVE_ARRAY
decl 4(%r15)
LBB0_8:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.no_dead_strip _do_invalidate_path
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_invalidate_path
_do_invalidate_path: ; @do_invalidate_path
.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
cbz x0, LBB0_8
; %bb.1:
mov x20, x1
mov x19, x0
mov w22, #-1
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov w1, #47
bl _strchrnul
sub x2, x0, x20
str w22, [x19]
ldrb w8, [x0]
cbz w8, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x21, x0
mov x0, x19
mov x1, x20
; kill: def $w2 killed $w2 killed $x2
mov w3, #0
bl _find_subtree
cbz x0, LBB0_7
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr x19, [x0]
add x20, x21, #1
cbnz x19, LBB0_2
b LBB0_7
LBB0_5:
mov x0, x19
mov x1, x20
; kill: def $w2 killed $w2 killed $x2
bl _subtree_pos
tbnz w0, #31, LBB0_7
; %bb.6:
mov x20, x0
ldr x8, [x19, #8]
mov w9, w0
lsl x21, x9, #3
ldr x0, [x8, x21]
bl _cache_tree_free
ldr x8, [x19, #8]
ldr x0, [x8, x21]
bl _free
ldr x8, [x19, #8]
add x0, x8, x21
add x1, x0, #8
ldr w8, [x19, #4]
mvn w9, w20
add w2, w8, w9
bl _MOVE_ARRAY
ldr w8, [x19, #4]
sub w8, w8, #1
str w8, [x19, #4]
LBB0_7:
mov w0, #1
LBB0_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _stderr,4,2 ; @stderr
.no_dead_strip _do_invalidate_path
.subsections_via_symbols
| AnghaBench/git/extr_cache-tree.c_do_invalidate_path.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function urtw_8180_set_anaparam
_urtw_8180_set_anaparam: ## @urtw_8180_set_anaparam
.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 %esi, %r14d
movq %rdi, %rbx
movq _URTW_EPROM_CMD_CONFIG@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _urtw_set_mode
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq _URTW_CONFIG3@GOTPCREL(%rip), %r12
movl (%r12), %esi
leaq -44(%rbp), %r15
movq %rbx, %rdi
movq %r15, %rdx
callq _urtw_read8_m
movl (%r12), %esi
movq _URTW_CONFIG3_ANAPARAM_WRITE@GOTPCREL(%rip), %r13
movl (%r13), %edx
orl -44(%rbp), %edx
movq %rbx, %rdi
callq _urtw_write8_m
movq _URTW_ANAPARAM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl %r14d, %edx
callq _urtw_write32_m
movl (%r12), %esi
movq %rbx, %rdi
movq %r15, %rdx
callq _urtw_read8_m
movl (%r12), %esi
movl (%r13), %edx
notl %edx
andl -44(%rbp), %edx
movq %rbx, %rdi
callq _urtw_write8_m
movq _URTW_EPROM_CMD_NORMAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _urtw_set_mode
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _URTW_EPROM_CMD_CONFIG,4,2 ## @URTW_EPROM_CMD_CONFIG
.comm _URTW_CONFIG3,4,2 ## @URTW_CONFIG3
.comm _URTW_CONFIG3_ANAPARAM_WRITE,4,2 ## @URTW_CONFIG3_ANAPARAM_WRITE
.comm _URTW_ANAPARAM,4,2 ## @URTW_ANAPARAM
.comm _URTW_EPROM_CMD_NORMAL,4,2 ## @URTW_EPROM_CMD_NORMAL
.no_dead_strip _urtw_8180_set_anaparam
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function urtw_8180_set_anaparam
_urtw_8180_set_anaparam: ; @urtw_8180_set_anaparam
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _URTW_EPROM_CMD_CONFIG@GOTPAGE
Lloh1:
ldr x8, [x8, _URTW_EPROM_CMD_CONFIG@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _urtw_set_mode
cbnz x0, LBB0_2
; %bb.1:
Lloh3:
adrp x21, _URTW_CONFIG3@GOTPAGE
Lloh4:
ldr x21, [x21, _URTW_CONFIG3@GOTPAGEOFF]
ldr w1, [x21]
add x2, sp, #12
mov x0, x19
bl _urtw_read8_m
ldr w1, [x21]
ldr w8, [sp, #12]
Lloh5:
adrp x22, _URTW_CONFIG3_ANAPARAM_WRITE@GOTPAGE
Lloh6:
ldr x22, [x22, _URTW_CONFIG3_ANAPARAM_WRITE@GOTPAGEOFF]
ldr w9, [x22]
orr w2, w9, w8
mov x0, x19
bl _urtw_write8_m
Lloh7:
adrp x8, _URTW_ANAPARAM@GOTPAGE
Lloh8:
ldr x8, [x8, _URTW_ANAPARAM@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
mov x0, x19
mov x2, x20
bl _urtw_write32_m
ldr w1, [x21]
add x2, sp, #12
mov x0, x19
bl _urtw_read8_m
ldr w1, [x21]
ldr w8, [sp, #12]
ldr w9, [x22]
bic w2, w8, w9
mov x0, x19
bl _urtw_write8_m
Lloh10:
adrp x8, _URTW_EPROM_CMD_NORMAL@GOTPAGE
Lloh11:
ldr x8, [x8, _URTW_EPROM_CMD_NORMAL@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
mov x0, x19
bl _urtw_set_mode
LBB0_2:
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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _URTW_EPROM_CMD_CONFIG,4,2 ; @URTW_EPROM_CMD_CONFIG
.comm _URTW_CONFIG3,4,2 ; @URTW_CONFIG3
.comm _URTW_CONFIG3_ANAPARAM_WRITE,4,2 ; @URTW_CONFIG3_ANAPARAM_WRITE
.comm _URTW_ANAPARAM,4,2 ; @URTW_ANAPARAM
.comm _URTW_EPROM_CMD_NORMAL,4,2 ; @URTW_EPROM_CMD_NORMAL
.no_dead_strip _urtw_8180_set_anaparam
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_urtw.c_urtw_8180_set_anaparam.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cap_setprocattr
_cap_setprocattr: ## @cap_setprocattr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _cap_setprocattr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cap_setprocattr
_cap_setprocattr: ; @cap_setprocattr
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _cap_setprocattr
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/security/extr_capability.c_cap_setprocattr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function childless_storeme_read
_childless_storeme_read: ## @childless_storeme_read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rax
movl (%rdi), %edx
leaq L_.str(%rip), %rsi
movq %rax, %rdi
popq %rbp
jmp _sprintf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.no_dead_strip _childless_storeme_read
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function childless_storeme_read
_childless_storeme_read: ; @childless_storeme_read
.cfi_startproc
; %bb.0:
mov x8, x1
ldr w2, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x8
b _sprintf
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.no_dead_strip _childless_storeme_read
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/Documentation/filesystems/configfs/extr_configfs_example_explicit.c_childless_storeme_read.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _taos_retrieve ## -- Begin function taos_retrieve
.p2align 4, 0x90
_taos_retrieve: ## @taos_retrieve
.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
xorl %eax, %eax
testq %rdi, %rdi
je LBB0_9
## %bb.1:
movq %rdi, %rbx
cmpq %rdi, (%rdi)
jne LBB0_9
## %bb.2:
leaq 8(%rbx), %rdi
cmpq $0, (%rdi)
je LBB0_9
## %bb.3:
callq _tscResetForNextRetrieve
movq 24(%rbx), %rax
movq _TSDB_SQL_LOCAL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_8
## %bb.4:
movq _TSDB_SQL_MGMT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jle LBB0_5
## %bb.6:
movq _TSDB_SQL_RETRIEVE@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_5:
movq _TSDB_SQL_FETCH@GOTPCREL(%rip), %rax
LBB0_7:
movq (%rax), %rax
movq %rax, 24(%rbx)
LBB0_8:
movq %rbx, %rdi
callq _tscProcessSql
movl 16(%rbx), %eax
LBB0_9:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TSDB_SQL_LOCAL,8,3 ## @TSDB_SQL_LOCAL
.comm _TSDB_SQL_MGMT,8,3 ## @TSDB_SQL_MGMT
.comm _TSDB_SQL_RETRIEVE,8,3 ## @TSDB_SQL_RETRIEVE
.comm _TSDB_SQL_FETCH,8,3 ## @TSDB_SQL_FETCH
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _taos_retrieve ; -- Begin function taos_retrieve
.p2align 2
_taos_retrieve: ; @taos_retrieve
.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_7
; %bb.1:
mov x19, x0
ldr x8, [x0], #8
cmp x8, x19
b.eq LBB0_3
LBB0_2:
mov w0, #0
b LBB0_7
LBB0_3:
ldr x8, [x0]
cbz x8, LBB0_2
; %bb.4:
bl _tscResetForNextRetrieve
ldr x8, [x19, #24]
Lloh0:
adrp x9, _TSDB_SQL_LOCAL@GOTPAGE
Lloh1:
ldr x9, [x9, _TSDB_SQL_LOCAL@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ge LBB0_6
; %bb.5:
Lloh3:
adrp x9, _TSDB_SQL_MGMT@GOTPAGE
Lloh4:
ldr x9, [x9, _TSDB_SQL_MGMT@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
Lloh6:
adrp x10, _TSDB_SQL_RETRIEVE@GOTPAGE
Lloh7:
ldr x10, [x10, _TSDB_SQL_RETRIEVE@GOTPAGEOFF]
Lloh8:
adrp x11, _TSDB_SQL_FETCH@GOTPAGE
Lloh9:
ldr x11, [x11, _TSDB_SQL_FETCH@GOTPAGEOFF]
cmp x8, x9
csel x8, x10, x11, gt
ldr x8, [x8]
str x8, [x19, #24]
LBB0_6:
mov x0, x19
bl _tscProcessSql
ldr w0, [x19, #16]
LBB0_7:
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 AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _TSDB_SQL_LOCAL,8,3 ; @TSDB_SQL_LOCAL
.comm _TSDB_SQL_MGMT,8,3 ; @TSDB_SQL_MGMT
.comm _TSDB_SQL_RETRIEVE,8,3 ; @TSDB_SQL_RETRIEVE
.comm _TSDB_SQL_FETCH,8,3 ; @TSDB_SQL_FETCH
.subsections_via_symbols
| AnghaBench/TDengine/src/client/src/extr_tscSql.c_taos_retrieve.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function SchedulableTask
_SchedulableTask: ## @SchedulableTask
.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), %rcx
movq _TASK_ASSIGNED@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TASK_ASSIGNED,8,3 ## @TASK_ASSIGNED
.no_dead_strip _SchedulableTask
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function SchedulableTask
_SchedulableTask: ; @SchedulableTask
.cfi_startproc
; %bb.0:
ldr x8, [x0]
Lloh0:
adrp x9, _TASK_ASSIGNED@GOTPAGE
Lloh1:
ldr x9, [x9, _TASK_ASSIGNED@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TASK_ASSIGNED,8,3 ; @TASK_ASSIGNED
.no_dead_strip _SchedulableTask
.subsections_via_symbols
| AnghaBench/citus/src/backend/distributed/worker/extr_task_tracker.c_SchedulableTask.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nfsd_support_version
_nfsd_support_version: ## @nfsd_support_version
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _NFSD_MINVERS@GOTPCREL(%rip), %rcx
xorl %eax, %eax
cmpl %edi, (%rcx)
jg LBB0_3
## %bb.1:
movq _NFSD_NRVERS@GOTPCREL(%rip), %rcx
cmpl %edi, (%rcx)
jle LBB0_3
## %bb.2:
movq _nfsd_version@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movslq %edi, %rdx
xorl %eax, %eax
cmpq $0, (%rcx,%rdx,8)
setne %al
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NFSD_MINVERS,4,2 ## @NFSD_MINVERS
.comm _NFSD_NRVERS,4,2 ## @NFSD_NRVERS
.comm _nfsd_version,8,3 ## @nfsd_version
.no_dead_strip _nfsd_support_version
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nfsd_support_version
_nfsd_support_version: ; @nfsd_support_version
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _NFSD_MINVERS@GOTPAGE
Lloh1:
ldr x8, [x8, _NFSD_MINVERS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _NFSD_NRVERS@GOTPAGE
Lloh4:
ldr x9, [x9, _NFSD_NRVERS@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
cmp w8, w0
ccmp w9, w0, #4, le
b.gt LBB0_2
; %bb.1:
mov w0, #0
ret
LBB0_2:
Lloh6:
adrp x8, _nfsd_version@GOTPAGE
Lloh7:
ldr x8, [x8, _nfsd_version@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
ldr x8, [x8, w0, sxtw #3]
cmp x8, #0
cset w0, ne
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _NFSD_MINVERS,4,2 ; @NFSD_MINVERS
.comm _NFSD_NRVERS,4,2 ; @NFSD_NRVERS
.comm _nfsd_version,8,3 ; @nfsd_version
.no_dead_strip _nfsd_support_version
.subsections_via_symbols
| AnghaBench/linux/fs/nfsd/extr_nfssvc.c_nfsd_support_version.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lsys_sym
_lsys_sym: ## @lsys_sym
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _DLMSG@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _lua_pushliteral
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DLMSG,4,2 ## @DLMSG
.no_dead_strip _lsys_sym
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lsys_sym
_lsys_sym: ; @lsys_sym
.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 x8, _DLMSG@GOTPAGE
Lloh1:
ldr x8, [x8, _DLMSG@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _lua_pushliteral
mov x0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DLMSG,4,2 ; @DLMSG
.no_dead_strip _lsys_sym
.subsections_via_symbols
| AnghaBench/mjolnir/Mjolnir/lua/extr_loadlib.c_lsys_sym.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function adis16136_write_frequency
_adis16136_write_frequency: ## @adis16136_write_frequency
.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 %rcx, %r14
movq %rdx, %rbx
callq _dev_to_iio_dev
movq %rax, %rdi
callq _iio_priv
movq %rax, %r15
leaq -28(%rbp), %rdx
movq %rbx, %rdi
movl $10, %esi
callq _kstrtouint
testl %eax, %eax
jne LBB0_4
## %bb.1:
movl -28(%rbp), %esi
testl %esi, %esi
je LBB0_2
## %bb.3:
movq %r15, %rdi
callq _adis16136_set_freq
testl %eax, %eax
cmovnel %eax, %r14d
movl %r14d, %eax
jmp LBB0_4
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _adis16136_write_frequency
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function adis16136_write_frequency
_adis16136_write_frequency: ; @adis16136_write_frequency
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x21, x2
bl _dev_to_iio_dev
bl _iio_priv
mov x20, x0
add x2, sp, #12
mov x0, x21
mov w1, #10
bl _kstrtouint
cbnz w0, LBB0_4
; %bb.1:
ldr w1, [sp, #12]
cbz w1, LBB0_3
; %bb.2:
mov x0, x20
bl _adis16136_set_freq
cmp w0, #0
csel w0, w19, w0, eq
b LBB0_4
LBB0_3:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
LBB0_4:
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 Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _adis16136_write_frequency
.subsections_via_symbols
| AnghaBench/linux/drivers/iio/gyro/extr_adis16136.c_adis16136_write_frequency.c | anghabench |
.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 timelib_hms_to_decimal_hour
LCPI0_0:
.quad 0x404e000000000000 ## double 60
LCPI0_1:
.quad 0x40ac200000000000 ## double 3600
.section __TEXT,__text,regular,pure_instructions
.globl _timelib_hms_to_decimal_hour
.p2align 4, 0x90
_timelib_hms_to_decimal_hour: ## @timelib_hms_to_decimal_hour
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cvtsi2sd %esi, %xmm0
divsd LCPI0_0(%rip), %xmm0
cvtsi2sd %edx, %xmm1
divsd LCPI0_1(%rip), %xmm1
cvtsi2sd %edi, %xmm2
testl %edi, %edi
jle LBB0_2
## %bb.1:
addsd %xmm2, %xmm0
addsd %xmm1, %xmm0
jmp LBB0_3
LBB0_2:
subsd %xmm0, %xmm2
subsd %xmm1, %xmm2
movapd %xmm2, %xmm0
LBB0_3:
movsd %xmm0, (%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_2232 ## @g_aug_volatile_2232
.p2align 2, 0x0
_g_aug_volatile_2232:
.long 1 ## 0x1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _timelib_hms_to_decimal_hour ; -- Begin function timelib_hms_to_decimal_hour
.p2align 2
_timelib_hms_to_decimal_hour: ; @timelib_hms_to_decimal_hour
.cfi_startproc
; %bb.0:
scvtf d0, w1
mov x8, #4633641066610819072 ; =0x404e000000000000
fmov d1, x8
fdiv d0, d0, d1
scvtf d1, w2
mov x8, #35184372088832 ; =0x200000000000
movk x8, #16556, lsl #48
fmov d2, x8
fdiv d1, d1, d2
cmp w0, #1
scvtf d2, w0
fsub d2, d2, d0
fsub d2, d2, d1
ucvtf d3, w0
fadd d0, d0, d3
fadd d0, d0, d1
fcsel d0, d2, d0, lt
str d0, [x3]
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_2232 ; @g_aug_volatile_2232
.p2align 2, 0x0
_g_aug_volatile_2232:
.long 1 ; 0x1
.subsections_via_symbols
| assembly_file_169425.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _example_send_fast_prov_all_node_addr_get ## -- Begin function example_send_fast_prov_all_node_addr_get
.p2align 4, 0x90
_example_send_fast_prov_all_node_addr_get: ## @example_send_fast_prov_all_node_addr_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
testq %rdi, %rdi
je LBB0_2
## %bb.1:
testq %rsi, %rsi
je LBB0_2
## %bb.3:
movq $0, -24(%rbp)
movl 8(%rsi), %eax
movl %eax, -16(%rbp)
movl 12(%rsi), %eax
movl %eax, -12(%rbp)
movl 16(%rsi), %eax
movl %eax, -8(%rbp)
movq _ESP_BLE_MESH_VND_MODEL_OP_FAST_PROV_NODE_ADDR_GET@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl (%rsi), %eax
movl 4(%rsi), %r9d
leaq -24(%rbp), %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
pushq %rax
pushq $1
callq _esp_ble_mesh_client_model_send_msg
addq $16, %rsp
jmp LBB0_4
LBB0_2:
movq _ESP_ERR_INVALID_ARG@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_4:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ESP_ERR_INVALID_ARG,4,2 ## @ESP_ERR_INVALID_ARG
.comm _ESP_BLE_MESH_VND_MODEL_OP_FAST_PROV_NODE_ADDR_GET,4,2 ## @ESP_BLE_MESH_VND_MODEL_OP_FAST_PROV_NODE_ADDR_GET
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _example_send_fast_prov_all_node_addr_get ; -- Begin function example_send_fast_prov_all_node_addr_get
.p2align 2
_example_send_fast_prov_all_node_addr_get: ; @example_send_fast_prov_all_node_addr_get
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
cbz x0, LBB0_3
; %bb.1:
cbz x1, LBB0_3
; %bb.2:
str xzr, [sp, #8]
ldr d0, [x1, #8]
str d0, [sp, #16]
ldr w8, [x1, #16]
str w8, [sp, #24]
Lloh0:
adrp x8, _ESP_BLE_MESH_VND_MODEL_OP_FAST_PROV_NODE_ADDR_GET@GOTPAGE
Lloh1:
ldr x8, [x8, _ESP_BLE_MESH_VND_MODEL_OP_FAST_PROV_NODE_ADDR_GET@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
ldp w7, w5, [x1]
add x1, sp, #8
mov w3, #0
mov x4, #0
mov w6, #1
bl _esp_ble_mesh_client_model_send_msg
b LBB0_4
LBB0_3:
Lloh3:
adrp x8, _ESP_ERR_INVALID_ARG@GOTPAGE
Lloh4:
ldr x8, [x8, _ESP_ERR_INVALID_ARG@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ESP_ERR_INVALID_ARG,4,2 ; @ESP_ERR_INVALID_ARG
.comm _ESP_BLE_MESH_VND_MODEL_OP_FAST_PROV_NODE_ADDR_GET,4,2 ; @ESP_BLE_MESH_VND_MODEL_OP_FAST_PROV_NODE_ADDR_GET
.subsections_via_symbols
| AnghaBench/esp-idf/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_models/fast_prov_vendor_model/components/extr_esp_fast_prov_operation.c_example_send_fast_prov_all_node_addr_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function raid10_congested
_raid10_congested: ## @raid10_congested
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %r13
movq _WB_async_congested@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %esi, -44(%rbp) ## 4-byte Spill
btl %eax, %esi
jae LBB0_2
## %bb.1:
movq (%r13), %rax
movq _max_queued_requests@GOTPCREL(%rip), %rcx
movl $1, %r15d
cmpq (%rcx), %rax
jge LBB0_11
LBB0_2:
xorl %r14d, %r14d
xorl %eax, %eax
callq _rcu_read_lock
xorl %r15d, %r15d
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
incq %r14
movl %r12d, %r15d
LBB0_3: ## =>This Inner Loop Header: Depth=1
movslq 20(%r13), %rax
cmpq %rax, %r14
jl LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movslq 16(%r13), %rax
cmpq %rax, %r14
jge LBB0_10
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
testl %r15d, %r15d
jne LBB0_10
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq 8(%r13), %rax
movl (%rax,%r14,4), %edi
callq _rcu_dereference
xorl %r12d, %r12d
testq %rax, %rax
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %rbx
movq _Faulty@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 4(%rbx), %rsi
callq _test_bit
testl %eax, %eax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movl (%rbx), %edi
callq _bdev_get_queue
movl (%rax), %edi
movl -44(%rbp), %esi ## 4-byte Reload
callq _bdi_congested
movl %eax, %r12d
orl %r15d, %r12d
jmp LBB0_9
LBB0_10:
xorl %eax, %eax
callq _rcu_read_unlock
LBB0_11:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WB_async_congested,4,2 ## @WB_async_congested
.comm _max_queued_requests,8,3 ## @max_queued_requests
.comm _Faulty,4,2 ## @Faulty
.no_dead_strip _raid10_congested
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function raid10_congested
_raid10_congested: ; @raid10_congested
.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, x1
ldr x22, [x0]
Lloh0:
adrp x8, _WB_async_congested@GOTPAGE
Lloh1:
ldr x8, [x8, _WB_async_congested@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
lsr w8, w1, w8
tbz w8, #0, LBB0_2
; %bb.1:
ldr x8, [x22]
Lloh3:
adrp x9, _max_queued_requests@GOTPAGE
Lloh4:
ldr x9, [x9, _max_queued_requests@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ge LBB0_12
LBB0_2:
bl _rcu_read_lock
mov x23, #0
mov w20, #0
Lloh6:
adrp x24, _Faulty@GOTPAGE
Lloh7:
ldr x24, [x24, _Faulty@GOTPAGEOFF]
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov w20, #0
add x23, x23, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [x22, #20]
cmp x23, x8
b.ge LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cbz w20, LBB0_7
b LBB0_11
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldrsw x8, [x22, #16]
cmp x23, x8
ccmp w20, #0, #0, lt
b.ne LBB0_11
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x22, #8]
ldr w0, [x8, x23, lsl #2]
bl _rcu_dereference
cbz x0, LBB0_3
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
mov x21, x0
ldr w0, [x24]
add x1, x21, #4
bl _test_bit
cbz w0, LBB0_10
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
mov w20, #0
add x23, x23, #1
b LBB0_4
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x21]
bl _bdev_get_queue
ldr w0, [x0]
mov x1, x19
bl _bdi_congested
orr w20, w0, w20
add x23, x23, #1
b LBB0_4
LBB0_11:
bl _rcu_read_unlock
b LBB0_13
LBB0_12:
mov w20, #1
LBB0_13:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _WB_async_congested,4,2 ; @WB_async_congested
.comm _max_queued_requests,8,3 ; @max_queued_requests
.comm _Faulty,4,2 ; @Faulty
.no_dead_strip _raid10_congested
.subsections_via_symbols
| AnghaBench/linux/drivers/md/extr_raid10.c_raid10_congested.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pri_detector_add_pulse
_pri_detector_add_pulse: ## @pri_detector_add_pulse
.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 8(%rsi), %rcx
movq 8(%rdi), %rax
cmpq %rcx, (%rax)
jg LBB0_9
## %bb.1:
cmpq %rcx, 8(%rax)
jl LBB0_9
## %bb.2:
movq %rdi, %rbx
movq (%rsi), %r14
movq %r14, %rcx
subq (%rdi), %rcx
cmpq 16(%rax), %rcx
jl LBB0_9
## %bb.3:
movq 24(%rax), %rax
testq %rax, %rax
je LBB0_5
## %bb.4:
cmpq 16(%rsi), %rax
jne LBB0_9
LBB0_5:
movq %r14, (%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq _pseq_handler_add_to_existing_seqs
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _pseq_handler_create_sequences
testl %eax, %eax
je LBB0_6
## %bb.7:
movq %rbx, %rdi
callq _pseq_handler_check_detection
testq %rax, %rax
jne LBB0_10
## %bb.8:
movq %rbx, %rdi
movq %r14, %rsi
callq _pulse_queue_enqueue
jmp LBB0_9
LBB0_6:
movq %rbx, %rdi
movq %r14, %rsi
callq _pri_detector_reset
LBB0_9:
xorl %eax, %eax
LBB0_10:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _pri_detector_add_pulse
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pri_detector_add_pulse
_pri_detector_add_pulse: ; @pri_detector_add_pulse
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x0, #8]
ldr x10, [x8]
ldr x9, [x1, #8]
cmp x10, x9
b.gt LBB0_9
; %bb.1:
ldr x10, [x8, #8]
cmp x10, x9
b.lt LBB0_9
; %bb.2:
mov x19, x0
ldr x20, [x1]
ldr x9, [x0]
ldr x10, [x8, #16]
sub x9, x20, x9
cmp x9, x10
b.lt LBB0_9
; %bb.3:
ldr x8, [x8, #24]
cbz x8, LBB0_5
; %bb.4:
ldr x9, [x1, #16]
cmp x8, x9
b.ne LBB0_9
LBB0_5:
str x20, [x19]
mov x0, x19
mov x1, x20
bl _pseq_handler_add_to_existing_seqs
mov x2, x0
mov x0, x19
mov x1, x20
bl _pseq_handler_create_sequences
cbz w0, LBB0_8
; %bb.6:
mov x0, x19
bl _pseq_handler_check_detection
cbnz x0, LBB0_10
; %bb.7:
mov x0, x19
mov x1, x20
bl _pulse_queue_enqueue
b LBB0_9
LBB0_8:
mov x0, x19
mov x1, x20
bl _pri_detector_reset
LBB0_9:
mov x0, #0
LBB0_10:
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 _pri_detector_add_pulse
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/ath/extr_dfs_pri_detector.c_pri_detector_add_pulse.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function aspeed_sgpio_setup_irqs
_aspeed_sgpio_setup_irqs: ## @aspeed_sgpio_setup_irqs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq %rsi, %rdi
xorl %esi, %esi
callq _platform_get_irq
## kill: def $eax killed $eax def $rax
testl %eax, %eax
jle LBB0_8
## %bb.1:
movl %eax, (%rbx)
movq _aspeed_sgpio_banks@GOTPCREL(%rip), %r12
movq (%r12), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_4
## %bb.2:
xorl %r15d, %r15d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r12), %r14
addq %r15, %r14
movq _reg_irq_enable@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq _bank_reg
xorl %edi, %edi
movl %eax, %esi
callq _iowrite32
movq _reg_irq_status@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq _bank_reg
movl $-1, %edi
movl %eax, %esi
callq _iowrite32
incq %r13
movq (%r12), %rdi
callq _ARRAY_SIZE
cltq
addq $4, %r15
cmpq %rax, %r13
jl LBB0_3
LBB0_4:
movq _aspeed_sgpio_irqchip@GOTPCREL(%rip), %rax
movq %rax, 48(%rbx)
movq _handle_bad_irq@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 40(%rbx)
movq _IRQ_TYPE_NONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 36(%rbx)
movq _aspeed_sgpio_irq_handler@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rbx)
movq %rbx, 24(%rbx)
movq %rbx, 8(%rbx)
movl $1, 16(%rbx)
movq (%r12), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_7
## %bb.5:
xorl %r13d, %r13d
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq (%r12), %r15
addq %r13, %r15
movq _reg_irq_type0@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _bank_reg
xorl %edi, %edi
movl %eax, %esi
callq _iowrite32
movq _reg_irq_type1@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _bank_reg
xorl %edi, %edi
movl %eax, %esi
callq _iowrite32
movq _reg_irq_type2@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _bank_reg
movl $-1, %edi
movl %eax, %esi
callq _iowrite32
movq _reg_irq_enable@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _bank_reg
movl $-1, %edi
movl %eax, %esi
callq _iowrite32
incq %r14
movq (%r12), %rdi
callq _ARRAY_SIZE
cltq
addq $4, %r13
cmpq %rax, %r14
jl LBB0_6
LBB0_7:
xorl %eax, %eax
LBB0_8:
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _aspeed_sgpio_banks,8,3 ## @aspeed_sgpio_banks
.comm _reg_irq_enable,4,2 ## @reg_irq_enable
.comm _reg_irq_status,4,2 ## @reg_irq_status
.comm _aspeed_sgpio_irqchip,4,2 ## @aspeed_sgpio_irqchip
.comm _handle_bad_irq,4,2 ## @handle_bad_irq
.comm _IRQ_TYPE_NONE,4,2 ## @IRQ_TYPE_NONE
.comm _aspeed_sgpio_irq_handler,4,2 ## @aspeed_sgpio_irq_handler
.comm _reg_irq_type0,4,2 ## @reg_irq_type0
.comm _reg_irq_type1,4,2 ## @reg_irq_type1
.comm _reg_irq_type2,4,2 ## @reg_irq_type2
.no_dead_strip _aspeed_sgpio_setup_irqs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function aspeed_sgpio_setup_irqs
_aspeed_sgpio_setup_irqs: ; @aspeed_sgpio_setup_irqs
.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 x19, x0
mov x0, x1
mov w1, #0 ; =0x0
bl _platform_get_irq
cmp w0, #1
b.lt LBB0_8
; %bb.1:
str w0, [x19]
Lloh0:
adrp x20, _aspeed_sgpio_banks@GOTPAGE
Lloh1:
ldr x20, [x20, _aspeed_sgpio_banks@GOTPAGEOFF]
ldr x0, [x20]
bl _ARRAY_SIZE
Lloh2:
adrp x21, _reg_irq_enable@GOTPAGE
Lloh3:
ldr x21, [x21, _reg_irq_enable@GOTPAGEOFF]
cmp w0, #1
b.lt LBB0_4
; %bb.2:
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
Lloh4:
adrp x24, _reg_irq_status@GOTPAGE
Lloh5:
ldr x24, [x24, _reg_irq_status@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x25, [x20]
ldr w2, [x21]
add x1, x25, x22
mov x0, x19
bl _bank_reg
mov x1, x0
mov w0, #0 ; =0x0
bl _iowrite32
ldr w2, [x24]
add x1, x25, x22
mov x0, x19
bl _bank_reg
mov x1, x0
mov w0, #-1 ; =0xffffffff
bl _iowrite32
add x23, x23, #1
ldr x0, [x20]
bl _ARRAY_SIZE
add x22, x22, #4
cmp x23, w0, sxtw
b.lt LBB0_3
LBB0_4:
Lloh6:
adrp x8, _aspeed_sgpio_irqchip@GOTPAGE
Lloh7:
ldr x8, [x8, _aspeed_sgpio_irqchip@GOTPAGEOFF]
str x8, [x19, #48]
Lloh8:
adrp x8, _handle_bad_irq@GOTPAGE
Lloh9:
ldr x8, [x8, _handle_bad_irq@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
Lloh11:
adrp x9, _IRQ_TYPE_NONE@GOTPAGE
Lloh12:
ldr x9, [x9, _IRQ_TYPE_NONE@GOTPAGEOFF]
str w8, [x19, #40]
Lloh13:
ldr w8, [x9]
Lloh14:
adrp x9, _aspeed_sgpio_irq_handler@GOTPAGE
Lloh15:
ldr x9, [x9, _aspeed_sgpio_irq_handler@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
stp w9, w8, [x19, #32]
str x19, [x19, #24]
str x19, [x19, #8]
mov w8, #1 ; =0x1
str w8, [x19, #16]
ldr x0, [x20]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_7
; %bb.5:
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
Lloh17:
adrp x24, _reg_irq_type0@GOTPAGE
Lloh18:
ldr x24, [x24, _reg_irq_type0@GOTPAGEOFF]
Lloh19:
adrp x25, _reg_irq_type1@GOTPAGE
Lloh20:
ldr x25, [x25, _reg_irq_type1@GOTPAGEOFF]
Lloh21:
adrp x26, _reg_irq_type2@GOTPAGE
Lloh22:
ldr x26, [x26, _reg_irq_type2@GOTPAGEOFF]
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x27, [x20]
ldr w2, [x24]
add x1, x27, x22
mov x0, x19
bl _bank_reg
mov x1, x0
mov w0, #0 ; =0x0
bl _iowrite32
ldr w2, [x25]
add x1, x27, x22
mov x0, x19
bl _bank_reg
mov x1, x0
mov w0, #0 ; =0x0
bl _iowrite32
ldr w2, [x26]
add x1, x27, x22
mov x0, x19
bl _bank_reg
mov x1, x0
mov w0, #-1 ; =0xffffffff
bl _iowrite32
ldr w2, [x21]
add x1, x27, x22
mov x0, x19
bl _bank_reg
mov x1, x0
mov w0, #-1 ; =0xffffffff
bl _iowrite32
add x23, x23, #1
ldr x0, [x20]
bl _ARRAY_SIZE
add x22, x22, #4
cmp x23, w0, sxtw
b.lt LBB0_6
LBB0_7:
mov w0, #0 ; =0x0
LBB0_8:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _aspeed_sgpio_banks,8,3 ; @aspeed_sgpio_banks
.comm _reg_irq_enable,4,2 ; @reg_irq_enable
.comm _reg_irq_status,4,2 ; @reg_irq_status
.comm _aspeed_sgpio_irqchip,4,2 ; @aspeed_sgpio_irqchip
.comm _handle_bad_irq,4,2 ; @handle_bad_irq
.comm _IRQ_TYPE_NONE,4,2 ; @IRQ_TYPE_NONE
.comm _aspeed_sgpio_irq_handler,4,2 ; @aspeed_sgpio_irq_handler
.comm _reg_irq_type0,4,2 ; @reg_irq_type0
.comm _reg_irq_type1,4,2 ; @reg_irq_type1
.comm _reg_irq_type2,4,2 ; @reg_irq_type2
.no_dead_strip _aspeed_sgpio_setup_irqs
.subsections_via_symbols
| assembly_file_175562.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function Vdp2DrawPage
_Vdp2DrawPage: ## @Vdp2DrawPage
.cfi_startproc
## %bb.0:
movl 4(%rdi), %eax
testl %eax, %eax
jle LBB0_13
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl (%rdi), %r14d
xorl %r15d, %r15d
jmp LBB0_2
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
leal -1(%r15), %ecx
cmpl %eax, %r15d
movl %ecx, %r15d
jg LBB0_12
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movl 8(%rbx), %r12d
movl %r14d, (%rbx)
testl %eax, %eax
jle LBB0_11
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
xorl %r13d, %r13d
jmp LBB0_4
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=2
movq %rbx, %rdi
callq _Vdp2PatternAddr
movq %rbx, %rdi
callq _Vdp2DrawPattern
movl 4(%rbx), %eax
LBB0_10: ## in Loop: Header=BB0_4 Depth=2
incl %r13d
cmpl %eax, %r13d
jge LBB0_11
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl %r12d, 8(%rbx)
movl (%rbx), %edx
movl 12(%rbx), %ecx
movl %ecx, %esi
negl %esi
cmpl %esi, %edx
jge LBB0_8
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
cmpl %esi, %r12d
jl LBB0_9
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
cmpl 16(%rbx), %edx
jg LBB0_9
## %bb.7: ## in Loop: Header=BB0_4 Depth=2
cmpl 20(%rbx), %r12d
jle LBB0_8
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_4 Depth=2
movl 28(%rbx), %esi
addl %esi, %esi
addl %esi, 24(%rbx)
addl %ecx, %edx
movl %edx, (%rbx)
addl %r12d, %ecx
movl %ecx, 8(%rbx)
jmp LBB0_10
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB0_13:
retq
.cfi_endproc
## -- End function
.no_dead_strip _Vdp2DrawPage
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function Vdp2DrawPage
_Vdp2DrawPage: ; @Vdp2DrawPage
.cfi_startproc
; %bb.0:
ldr w8, [x0, #4]
cmp w8, #1
b.lt LBB0_13
; %bb.1:
stp x24, x23, [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 w23, -56
.cfi_offset w24, -64
mov x19, x0
mov w21, #0 ; =0x0
ldr w20, [x0]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub w9, w21, #1
cmp w21, w8
mov x21, x9
b.gt LBB0_12
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w22, [x19, #8]
str w20, [x19]
cmp w8, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w23, #0 ; =0x0
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=2
mov x0, x19
bl _Vdp2PatternAddr
mov x0, x19
bl _Vdp2DrawPattern
ldr w8, [x19, #4]
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
add w23, w23, #1
cmp w23, w8
b.ge LBB0_2
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
str w22, [x19, #8]
ldr w10, [x19]
ldr w9, [x19, #12]
neg w11, w9
cmp w10, w11
b.ge LBB0_5
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
cmp w22, w11
b.lt LBB0_11
; %bb.9: ; in Loop: Header=BB0_7 Depth=2
ldr w11, [x19, #16]
cmp w10, w11
b.gt LBB0_11
; %bb.10: ; in Loop: Header=BB0_7 Depth=2
ldr w11, [x19, #20]
cmp w22, w11
b.le LBB0_5
LBB0_11: ; in Loop: Header=BB0_7 Depth=2
ldp w12, w11, [x19, #24]
add w11, w12, w11, lsl #1
str w11, [x19, #24]
add w10, w9, w10
str w10, [x19]
add w9, w9, w22
str w9, [x19, #8]
b LBB0_6
LBB0_12:
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
LBB0_13:
ret
.cfi_endproc
; -- End function
.no_dead_strip _Vdp2DrawPage
.subsections_via_symbols
| assembly_file_29984.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vmbus_timesync_probe
_vmbus_timesync_probe: ## @vmbus_timesync_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _vmbus_timesync_descs@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _vmbus_ic_probe ## TAILCALL
.cfi_endproc
## -- End function
.comm _vmbus_timesync_descs,4,2 ## @vmbus_timesync_descs
.no_dead_strip _vmbus_timesync_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vmbus_timesync_probe
_vmbus_timesync_probe: ; @vmbus_timesync_probe
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _vmbus_timesync_descs@GOTPAGE
Lloh1:
ldr x8, [x8, _vmbus_timesync_descs@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _vmbus_ic_probe
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _vmbus_timesync_descs,4,2 ; @vmbus_timesync_descs
.no_dead_strip _vmbus_timesync_probe
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/hyperv/utilities/extr_vmbus_timesync.c_vmbus_timesync_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qedi_split_bd
_qedi_split_bd: ## @qedi_split_bd
.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
testl %edx, %edx
je LBB0_1
## %bb.2:
movl %ecx, %r15d
movl %edx, %ebx
movl %esi, %r13d
movq 8(%rdi), %rax
movslq %ecx, %rcx
shlq $4, %rcx
leaq (%rax,%rcx), %r12
addq $8, %r12
xorl %r9d, %r9d
movq %rdi, -56(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movl %r13d, (%r12)
movslq %ecx, %r14
movq %r14, -8(%r12)
movq (%rdi), %rax
movq (%rax), %rdi
movq _QEDI_LOG_IO@GOTPCREL(%rip), %rax
movl (%rax), %esi
leal (%r15,%r9), %ecx
leaq L_.str(%rip), %rdx
movl %r13d, %r8d
movq %r9, %rbx
movl %r14d, %r9d
callq _QEDI_INFO
movq %rbx, %r9
movq -56(%rbp), %rdi ## 8-byte Reload
addl %r14d, %r13d
incl %r9d
addq $16, %r12
movl -44(%rbp), %ebx ## 4-byte Reload
subl %r14d, %ebx
je LBB0_10
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq _QEDI_PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl %r13d, %eax
cltd
idivl %ecx
testl %edx, %edx
movl %ebx, -44(%rbp) ## 4-byte Spill
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
subl %edx, %ecx
testl %ecx, %ecx
jne LBB0_9
jmp LBB0_8
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq _QEDI_BD_SPLIT_SZ@GOTPCREL(%rip), %rax
movl (%rax), %ecx
cmpl %ecx, %ebx
jg LBB0_9
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movl %ebx, %eax
cltd
idivl %ecx
movl %edx, %ecx
testl %ecx, %ecx
jne LBB0_9
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movq _QEDI_BD_SPLIT_SZ@GOTPCREL(%rip), %rax
movl (%rax), %ecx
jmp LBB0_9
LBB0_1:
xorl %r9d, %r9d
LBB0_10:
movl %r9d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _QEDI_PAGE_SIZE,4,2 ## @QEDI_PAGE_SIZE
.comm _QEDI_BD_SPLIT_SZ,4,2 ## @QEDI_BD_SPLIT_SZ
.comm _QEDI_LOG_IO,4,2 ## @QEDI_LOG_IO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "split sge %d: addr=%llx, len=%x"
.no_dead_strip _qedi_split_bd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qedi_split_bd
_qedi_split_bd: ; @qedi_split_bd
.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
cbz w2, LBB0_8
; %bb.1:
mov x19, x3
mov x20, x2
mov x22, x1
mov x23, x0
mov w21, #0
ldr x8, [x0, #8]
add x8, x8, w3, sxtw #4
add x26, x8, #8
Lloh0:
adrp x28, _QEDI_BD_SPLIT_SZ@GOTPAGE
Lloh1:
ldr x28, [x28, _QEDI_BD_SPLIT_SZ@GOTPAGEOFF]
Lloh2:
adrp x27, _QEDI_LOG_IO@GOTPAGE
Lloh3:
ldr x27, [x27, _QEDI_LOG_IO@GOTPAGEOFF]
Lloh4:
adrp x24, l_.str@PAGE
Lloh5:
add x24, x24, l_.str@PAGEOFF
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
sub w8, w8, w9
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldr w9, [x28]
cmp w8, #0
csel w25, w9, w8, eq
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
str w22, [x26]
sxtw x8, w25
stur x8, [x26, #-8]
ldr x8, [x23]
ldr x0, [x8]
ldr w1, [x27]
add w3, w19, w21
mov x2, x24
mov x4, x22
mov x5, x25
bl _QEDI_INFO
add w22, w25, w22
add w21, w21, #1
add x26, x26, #16
subs w20, w20, w25
b.eq LBB0_9
LBB0_5: ; =>This Inner Loop Header: Depth=1
Lloh6:
adrp x8, _QEDI_PAGE_SIZE@GOTPAGE
Lloh7:
ldr x8, [x8, _QEDI_PAGE_SIZE@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
sdiv w9, w22, w8
msub w9, w9, w8, w22
cbnz w9, LBB0_2
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w25, [x28]
cmp w20, w25
b.gt LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
sdiv w8, w20, w25
msub w8, w8, w25, w20
b LBB0_3
LBB0_8:
mov w21, #0
LBB0_9:
mov x0, x21
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 AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _QEDI_PAGE_SIZE,4,2 ; @QEDI_PAGE_SIZE
.comm _QEDI_BD_SPLIT_SZ,4,2 ; @QEDI_BD_SPLIT_SZ
.comm _QEDI_LOG_IO,4,2 ; @QEDI_LOG_IO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "split sge %d: addr=%llx, len=%x"
.no_dead_strip _qedi_split_bd
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/qedi/extr_qedi_fw.c_qedi_split_bd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_real_android
_get_real_android: ## @get_real_android
.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
leaq L_.str(%rip), %rsi
callq _strstr
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rbx
jmp LBB0_39
LBB0_2:
leaq L_.str.2(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_4
## %bb.3:
leaq L_.str.3(%rip), %rbx
jmp LBB0_39
LBB0_4:
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_6
## %bb.5:
leaq L_.str.5(%rip), %rbx
jmp LBB0_39
LBB0_6:
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_8
## %bb.7:
leaq L_.str.7(%rip), %rbx
jmp LBB0_39
LBB0_8:
leaq L_.str.8(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_10
## %bb.9:
leaq L_.str.9(%rip), %rbx
jmp LBB0_39
LBB0_10:
leaq L_.str.10(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_12
## %bb.11:
leaq L_.str.11(%rip), %rbx
jmp LBB0_39
LBB0_12:
leaq L_.str.12(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_14
## %bb.13:
leaq L_.str.13(%rip), %rbx
jmp LBB0_39
LBB0_14:
leaq L_.str.14(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_16
## %bb.15:
leaq L_.str.15(%rip), %rbx
jmp LBB0_39
LBB0_16:
leaq L_.str.16(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_18
## %bb.17:
leaq L_.str.17(%rip), %rbx
jmp LBB0_39
LBB0_18:
leaq L_.str.18(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_20
## %bb.19:
leaq L_.str.19(%rip), %rbx
jmp LBB0_39
LBB0_20:
leaq L_.str.20(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_22
## %bb.21:
leaq L_.str.21(%rip), %rbx
jmp LBB0_39
LBB0_22:
leaq L_.str.22(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_24
## %bb.23:
leaq L_.str.23(%rip), %rbx
jmp LBB0_39
LBB0_24:
leaq L_.str.24(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_26
## %bb.25:
leaq L_.str.25(%rip), %rbx
jmp LBB0_39
LBB0_26:
leaq L_.str.26(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_28
## %bb.27:
leaq L_.str.27(%rip), %rbx
jmp LBB0_39
LBB0_28:
leaq L_.str.28(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_30
## %bb.29:
leaq L_.str.29(%rip), %rbx
jmp LBB0_39
LBB0_30:
leaq L_.str.30(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_32
## %bb.31:
leaq L_.str.31(%rip), %rbx
jmp LBB0_39
LBB0_32:
leaq L_.str.32(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_34
## %bb.33:
leaq L_.str.33(%rip), %rbx
jmp LBB0_39
LBB0_34:
leaq L_.str.34(%rip), %rsi
movq %r14, %rdi
callq _strstr
leaq L_.str.36(%rip), %rbx
testq %rax, %rax
jne LBB0_39
## %bb.35:
leaq L_.str.35(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
jne LBB0_39
## %bb.36:
leaq L_.str.37(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_38
## %bb.37:
leaq L_.str.38(%rip), %rbx
jmp LBB0_39
LBB0_38:
leaq L_.str.39(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
leaq L_.str.40(%rip), %rbx
cmoveq %r14, %rbx
LBB0_39:
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _alloc_string ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "9"
L_.str.1: ## @.str.1
.asciz "Pie 9"
L_.str.2: ## @.str.2
.asciz "8.1"
L_.str.3: ## @.str.3
.asciz "Oreo 8.1"
L_.str.4: ## @.str.4
.asciz "8.0"
L_.str.5: ## @.str.5
.asciz "Oreo 8.0"
L_.str.6: ## @.str.6
.asciz "7.1"
L_.str.7: ## @.str.7
.asciz "Nougat 7.1"
L_.str.8: ## @.str.8
.asciz "7.0"
L_.str.9: ## @.str.9
.asciz "Nougat 7.0"
L_.str.10: ## @.str.10
.asciz "6.0.1"
L_.str.11: ## @.str.11
.asciz "Marshmallow 6.0.1"
L_.str.12: ## @.str.12
.asciz "6.0"
L_.str.13: ## @.str.13
.asciz "Marshmallow 6.0"
L_.str.14: ## @.str.14
.asciz "5.1"
L_.str.15: ## @.str.15
.asciz "Lollipop 5.1"
L_.str.16: ## @.str.16
.asciz "5.0"
L_.str.17: ## @.str.17
.asciz "Lollipop 5.0"
L_.str.18: ## @.str.18
.asciz "4.4"
L_.str.19: ## @.str.19
.asciz "KitKat 4.4"
L_.str.20: ## @.str.20
.asciz "4.3"
L_.str.21: ## @.str.21
.asciz "Jelly Bean 4.3"
L_.str.22: ## @.str.22
.asciz "4.2"
L_.str.23: ## @.str.23
.asciz "Jelly Bean 4.2"
L_.str.24: ## @.str.24
.asciz "4.1"
L_.str.25: ## @.str.25
.asciz "Jelly Bean 4.1"
L_.str.26: ## @.str.26
.asciz "4.0"
L_.str.27: ## @.str.27
.asciz "Ice Cream Sandwich 4.0"
L_.str.28: ## @.str.28
.asciz "3."
L_.str.29: ## @.str.29
.asciz "Honeycomb 3"
L_.str.30: ## @.str.30
.asciz "2.3"
L_.str.31: ## @.str.31
.asciz "Gingerbread 2.3"
L_.str.32: ## @.str.32
.asciz "2.2"
L_.str.33: ## @.str.33
.asciz "Froyo 2.2"
L_.str.34: ## @.str.34
.asciz "2.0"
L_.str.35: ## @.str.35
.asciz "2.1"
L_.str.36: ## @.str.36
.asciz "Eclair 2"
L_.str.37: ## @.str.37
.asciz "1.6"
L_.str.38: ## @.str.38
.asciz "Donut 1.6"
L_.str.39: ## @.str.39
.asciz "1.5"
L_.str.40: ## @.str.40
.asciz "Cupcake 1.5"
.no_dead_strip _get_real_android
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_real_android
_get_real_android: ; @get_real_android
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strstr
cbz x0, LBB0_2
; %bb.1:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_37
LBB0_2:
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_4
; %bb.3:
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_37
LBB0_4:
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_6
; %bb.5:
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
b LBB0_37
LBB0_6:
Lloh12:
adrp x1, l_.str.6@PAGE
Lloh13:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_8
; %bb.7:
Lloh14:
adrp x0, l_.str.7@PAGE
Lloh15:
add x0, x0, l_.str.7@PAGEOFF
b LBB0_37
LBB0_8:
Lloh16:
adrp x1, l_.str.8@PAGE
Lloh17:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_10
; %bb.9:
Lloh18:
adrp x0, l_.str.9@PAGE
Lloh19:
add x0, x0, l_.str.9@PAGEOFF
b LBB0_37
LBB0_10:
Lloh20:
adrp x1, l_.str.10@PAGE
Lloh21:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_12
; %bb.11:
Lloh22:
adrp x0, l_.str.11@PAGE
Lloh23:
add x0, x0, l_.str.11@PAGEOFF
b LBB0_37
LBB0_12:
Lloh24:
adrp x1, l_.str.12@PAGE
Lloh25:
add x1, x1, l_.str.12@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_14
; %bb.13:
Lloh26:
adrp x0, l_.str.13@PAGE
Lloh27:
add x0, x0, l_.str.13@PAGEOFF
b LBB0_37
LBB0_14:
Lloh28:
adrp x1, l_.str.14@PAGE
Lloh29:
add x1, x1, l_.str.14@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_16
; %bb.15:
Lloh30:
adrp x0, l_.str.15@PAGE
Lloh31:
add x0, x0, l_.str.15@PAGEOFF
b LBB0_37
LBB0_16:
Lloh32:
adrp x1, l_.str.16@PAGE
Lloh33:
add x1, x1, l_.str.16@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_18
; %bb.17:
Lloh34:
adrp x0, l_.str.17@PAGE
Lloh35:
add x0, x0, l_.str.17@PAGEOFF
b LBB0_37
LBB0_18:
Lloh36:
adrp x1, l_.str.18@PAGE
Lloh37:
add x1, x1, l_.str.18@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_20
; %bb.19:
Lloh38:
adrp x0, l_.str.19@PAGE
Lloh39:
add x0, x0, l_.str.19@PAGEOFF
b LBB0_37
LBB0_20:
Lloh40:
adrp x1, l_.str.20@PAGE
Lloh41:
add x1, x1, l_.str.20@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_22
; %bb.21:
Lloh42:
adrp x0, l_.str.21@PAGE
Lloh43:
add x0, x0, l_.str.21@PAGEOFF
b LBB0_37
LBB0_22:
Lloh44:
adrp x1, l_.str.22@PAGE
Lloh45:
add x1, x1, l_.str.22@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_24
; %bb.23:
Lloh46:
adrp x0, l_.str.23@PAGE
Lloh47:
add x0, x0, l_.str.23@PAGEOFF
b LBB0_37
LBB0_24:
Lloh48:
adrp x1, l_.str.24@PAGE
Lloh49:
add x1, x1, l_.str.24@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_26
; %bb.25:
Lloh50:
adrp x0, l_.str.25@PAGE
Lloh51:
add x0, x0, l_.str.25@PAGEOFF
b LBB0_37
LBB0_26:
Lloh52:
adrp x1, l_.str.26@PAGE
Lloh53:
add x1, x1, l_.str.26@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_28
; %bb.27:
Lloh54:
adrp x0, l_.str.27@PAGE
Lloh55:
add x0, x0, l_.str.27@PAGEOFF
b LBB0_37
LBB0_28:
Lloh56:
adrp x1, l_.str.28@PAGE
Lloh57:
add x1, x1, l_.str.28@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_30
; %bb.29:
Lloh58:
adrp x0, l_.str.29@PAGE
Lloh59:
add x0, x0, l_.str.29@PAGEOFF
b LBB0_37
LBB0_30:
Lloh60:
adrp x1, l_.str.30@PAGE
Lloh61:
add x1, x1, l_.str.30@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_32
; %bb.31:
Lloh62:
adrp x0, l_.str.31@PAGE
Lloh63:
add x0, x0, l_.str.31@PAGEOFF
b LBB0_37
LBB0_32:
Lloh64:
adrp x1, l_.str.32@PAGE
Lloh65:
add x1, x1, l_.str.32@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_34
; %bb.33:
Lloh66:
adrp x0, l_.str.33@PAGE
Lloh67:
add x0, x0, l_.str.33@PAGEOFF
b LBB0_37
LBB0_34:
Lloh68:
adrp x1, l_.str.34@PAGE
Lloh69:
add x1, x1, l_.str.34@PAGEOFF
mov x0, x19
bl _strstr
cbnz x0, LBB0_36
; %bb.35:
Lloh70:
adrp x1, l_.str.35@PAGE
Lloh71:
add x1, x1, l_.str.35@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_38
LBB0_36:
Lloh72:
adrp x0, l_.str.36@PAGE
Lloh73:
add x0, x0, l_.str.36@PAGEOFF
LBB0_37:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _alloc_string
LBB0_38:
Lloh74:
adrp x1, l_.str.37@PAGE
Lloh75:
add x1, x1, l_.str.37@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_40
; %bb.39:
Lloh76:
adrp x0, l_.str.38@PAGE
Lloh77:
add x0, x0, l_.str.38@PAGEOFF
b LBB0_37
LBB0_40:
Lloh78:
adrp x1, l_.str.39@PAGE
Lloh79:
add x1, x1, l_.str.39@PAGEOFF
mov x0, x19
bl _strstr
Lloh80:
adrp x8, l_.str.40@PAGE
Lloh81:
add x8, x8, l_.str.40@PAGEOFF
cmp x0, #0
csel x0, x19, x8, eq
b LBB0_37
.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 AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh46, Lloh47
.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 Lloh62, Lloh63
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh78, Lloh79
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "9"
l_.str.1: ; @.str.1
.asciz "Pie 9"
l_.str.2: ; @.str.2
.asciz "8.1"
l_.str.3: ; @.str.3
.asciz "Oreo 8.1"
l_.str.4: ; @.str.4
.asciz "8.0"
l_.str.5: ; @.str.5
.asciz "Oreo 8.0"
l_.str.6: ; @.str.6
.asciz "7.1"
l_.str.7: ; @.str.7
.asciz "Nougat 7.1"
l_.str.8: ; @.str.8
.asciz "7.0"
l_.str.9: ; @.str.9
.asciz "Nougat 7.0"
l_.str.10: ; @.str.10
.asciz "6.0.1"
l_.str.11: ; @.str.11
.asciz "Marshmallow 6.0.1"
l_.str.12: ; @.str.12
.asciz "6.0"
l_.str.13: ; @.str.13
.asciz "Marshmallow 6.0"
l_.str.14: ; @.str.14
.asciz "5.1"
l_.str.15: ; @.str.15
.asciz "Lollipop 5.1"
l_.str.16: ; @.str.16
.asciz "5.0"
l_.str.17: ; @.str.17
.asciz "Lollipop 5.0"
l_.str.18: ; @.str.18
.asciz "4.4"
l_.str.19: ; @.str.19
.asciz "KitKat 4.4"
l_.str.20: ; @.str.20
.asciz "4.3"
l_.str.21: ; @.str.21
.asciz "Jelly Bean 4.3"
l_.str.22: ; @.str.22
.asciz "4.2"
l_.str.23: ; @.str.23
.asciz "Jelly Bean 4.2"
l_.str.24: ; @.str.24
.asciz "4.1"
l_.str.25: ; @.str.25
.asciz "Jelly Bean 4.1"
l_.str.26: ; @.str.26
.asciz "4.0"
l_.str.27: ; @.str.27
.asciz "Ice Cream Sandwich 4.0"
l_.str.28: ; @.str.28
.asciz "3."
l_.str.29: ; @.str.29
.asciz "Honeycomb 3"
l_.str.30: ; @.str.30
.asciz "2.3"
l_.str.31: ; @.str.31
.asciz "Gingerbread 2.3"
l_.str.32: ; @.str.32
.asciz "2.2"
l_.str.33: ; @.str.33
.asciz "Froyo 2.2"
l_.str.34: ; @.str.34
.asciz "2.0"
l_.str.35: ; @.str.35
.asciz "2.1"
l_.str.36: ; @.str.36
.asciz "Eclair 2"
l_.str.37: ; @.str.37
.asciz "1.6"
l_.str.38: ; @.str.38
.asciz "Donut 1.6"
l_.str.39: ; @.str.39
.asciz "1.5"
l_.str.40: ; @.str.40
.asciz "Cupcake 1.5"
.no_dead_strip _get_real_android
.subsections_via_symbols
| AnghaBench/goaccess/src/extr_opesys.c_get_real_android.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ___dma_freep
____dma_freep: ## @___dma_freep
.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, %rbx
movq %rsi, %rdi
callq _VTOB_HASH_CODE
movq 8(%rbx), %rcx
cltq
movq (%rcx,%rax,8), %r15
testq %r15, %r15
je LBB0_7
## %bb.1:
cmpq %r14, (%r15)
jne LBB0_4
## %bb.2:
leaq (%rcx,%rax,8), %rax
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r15, %rax
movq 16(%r15), %r15
testq %r15, %r15
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_4 Depth=1
cmpq %r14, (%r15)
jne LBB0_4
## %bb.5:
addq $16, %rax
LBB0_6:
movq 16(%r15), %rcx
movq %rcx, (%rax)
movl 4(%rbx), %edi
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _MEMO_PAGE_ORDER@GOTPCREL(%rip), %rax
movzbl (%rax), %ecx
shll %cl, %esi
movl 8(%r15), %ecx
movq %r14, %rdx
callq _dma_free_coherent
movq _mp0@GOTPCREL(%rip), %rdi
leaq L_.str(%rip), %rcx
movq %r15, %rsi
movl $24, %edx
callq ___m_free
decl (%rbx)
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _MEMO_PAGE_ORDER,4,2 ## @MEMO_PAGE_ORDER
.comm _mp0,4,2 ## @mp0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "VTOB"
.no_dead_strip ____dma_freep
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ___dma_freep
____dma_freep: ; @___dma_freep
.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 x20, x1
mov x19, x0
mov x0, x1
bl _VTOB_HASH_CODE
ldr x8, [x19, #8]
add x8, x8, w0, sxtw #3
ldr x21, [x8]
cbz x21, LBB0_6
; %bb.1:
ldr x9, [x21]
cmp x9, x20
b.eq LBB0_5
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x8, x21
ldr x21, [x21, #16]
cbz x21, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x21]
cmp x9, x20
b.ne LBB0_2
; %bb.4:
add x8, x8, #16
LBB0_5:
ldr x9, [x21, #16]
str x9, [x8]
ldr w0, [x19, #4]
Lloh0:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _MEMO_PAGE_ORDER@GOTPAGE
Lloh4:
ldr x9, [x9, _MEMO_PAGE_ORDER@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
lsl w1, w8, w9
ldr w3, [x21, #8]
mov x2, x20
bl _dma_free_coherent
Lloh6:
adrp x0, _mp0@GOTPAGE
Lloh7:
ldr x0, [x0, _mp0@GOTPAGEOFF]
Lloh8:
adrp x3, l_.str@PAGE
Lloh9:
add x3, x3, l_.str@PAGEOFF
mov x1, x21
mov w2, #24 ; =0x18
bl ___m_free
ldr w8, [x19]
sub w8, w8, #1
str w8, [x19]
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 AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _MEMO_PAGE_ORDER,4,2 ; @MEMO_PAGE_ORDER
.comm _mp0,4,2 ; @mp0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "VTOB"
.no_dead_strip ____dma_freep
.subsections_via_symbols
| assembly_file_63322.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ProfilesEnumGuid_Constructor
_ProfilesEnumGuid_Constructor: ## @ProfilesEnumGuid_Constructor
.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 %eax, %eax
callq _GetProcessHeap
movq _HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
movl $24, %edx
callq _HeapAlloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq _EnumGUIDVtbl@GOTPCREL(%rip), %rax
movq %rax, 8(%rbx)
movl $1, (%rbx)
movq _HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _szwSystemTIPKey@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _KEY_READ@GOTPCREL(%rip), %rax
movq _KEY_WRITE@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
orl (%rax), %r9d
leaq 16(%rbx), %rax
subq $8, %rsp
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
pushq $0
pushq %rax
pushq $0
callq _RegCreateKeyExW
addq $32, %rsp
movq _ERROR_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.4:
addq $8, %rbx
movq %rbx, (%r14)
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _TRACE
movq _S_OK@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_1:
movq _E_OUTOFMEMORY@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_3:
xorl %eax, %eax
callq _GetProcessHeap
movl %eax, %edi
xorl %esi, %esi
movq %rbx, %rdx
callq _HeapFree
movq _E_FAIL@GOTPCREL(%rip), %rax
LBB0_5:
movl (%rax), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HEAP_ZERO_MEMORY,4,2 ## @HEAP_ZERO_MEMORY
.comm _E_OUTOFMEMORY,4,2 ## @E_OUTOFMEMORY
.comm _EnumGUIDVtbl,4,2 ## @EnumGUIDVtbl
.comm _HKEY_LOCAL_MACHINE,4,2 ## @HKEY_LOCAL_MACHINE
.comm _szwSystemTIPKey,4,2 ## @szwSystemTIPKey
.comm _KEY_READ,4,2 ## @KEY_READ
.comm _KEY_WRITE,4,2 ## @KEY_WRITE
.comm _ERROR_SUCCESS,8,3 ## @ERROR_SUCCESS
.comm _E_FAIL,4,2 ## @E_FAIL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "returning %p\n"
.comm _S_OK,4,2 ## @S_OK
.no_dead_strip _ProfilesEnumGuid_Constructor
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ProfilesEnumGuid_Constructor
_ProfilesEnumGuid_Constructor: ; @ProfilesEnumGuid_Constructor
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _GetProcessHeap
Lloh0:
adrp x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh1:
ldr x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w2, #24
bl _HeapAlloc
cbz x0, LBB0_3
; %bb.1:
mov x20, x0
Lloh3:
adrp x8, _EnumGUIDVtbl@GOTPAGE
Lloh4:
ldr x8, [x8, _EnumGUIDVtbl@GOTPAGEOFF]
mov x21, x0
str x8, [x21, #8]!
mov w8, #1
mov x7, x0
str w8, [x7], #16
Lloh5:
adrp x8, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh6:
ldr x8, [x8, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
Lloh8:
adrp x8, _szwSystemTIPKey@GOTPAGE
Lloh9:
ldr x8, [x8, _szwSystemTIPKey@GOTPAGEOFF]
Lloh10:
adrp x9, _KEY_READ@GOTPAGE
Lloh11:
ldr x9, [x9, _KEY_READ@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
Lloh13:
ldr w8, [x9]
Lloh14:
adrp x9, _KEY_WRITE@GOTPAGE
Lloh15:
ldr x9, [x9, _KEY_WRITE@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
orr w5, w9, w8
str xzr, [sp]
mov w2, #0
mov x3, #0
mov w4, #0
mov x6, #0
bl _RegCreateKeyExW
Lloh17:
adrp x8, _ERROR_SUCCESS@GOTPAGE
Lloh18:
ldr x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh19:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_4
; %bb.2:
str x21, [x19]
Lloh20:
adrp x0, l_.str@PAGE
Lloh21:
add x0, x0, l_.str@PAGEOFF
mov x1, x21
bl _TRACE
Lloh22:
adrp x8, _S_OK@GOTPAGE
Lloh23:
ldr x8, [x8, _S_OK@GOTPAGEOFF]
b LBB0_5
LBB0_3:
Lloh24:
adrp x8, _E_OUTOFMEMORY@GOTPAGE
Lloh25:
ldr x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
b LBB0_5
LBB0_4:
bl _GetProcessHeap
mov w1, #0
mov x2, x20
bl _HeapFree
Lloh26:
adrp x8, _E_FAIL@GOTPAGE
Lloh27:
ldr x8, [x8, _E_FAIL@GOTPAGEOFF]
LBB0_5:
ldr w0, [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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh12
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _HEAP_ZERO_MEMORY,4,2 ; @HEAP_ZERO_MEMORY
.comm _E_OUTOFMEMORY,4,2 ; @E_OUTOFMEMORY
.comm _EnumGUIDVtbl,4,2 ; @EnumGUIDVtbl
.comm _HKEY_LOCAL_MACHINE,4,2 ; @HKEY_LOCAL_MACHINE
.comm _szwSystemTIPKey,4,2 ; @szwSystemTIPKey
.comm _KEY_READ,4,2 ; @KEY_READ
.comm _KEY_WRITE,4,2 ; @KEY_WRITE
.comm _ERROR_SUCCESS,8,3 ; @ERROR_SUCCESS
.comm _E_FAIL,4,2 ; @E_FAIL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "returning %p\n"
.comm _S_OK,4,2 ; @S_OK
.no_dead_strip _ProfilesEnumGuid_Constructor
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/msctf/extr_inputprocessor.c_ProfilesEnumGuid_Constructor.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function shader_glsl_init_vs_uniform_locations
_shader_glsl_init_vs_uniform_locations: ## @shader_glsl_init_vs_uniform_locations
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %ebx
movq %rcx, %r15
movl %edx, %r12d
movq %rsi, %rdi
movq %rsi, -56(%rbp) ## 8-byte Spill
callq _string_buffer_get
movq %rax, %r14
testl %ebx, %ebx
je LBB0_1
## %bb.2:
movl %ebx, -44(%rbp) ## 4-byte Spill
movl %ebx, %r13d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
leaq L_.str(%rip), %rsi
movl %ebx, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 168(%r15), %rcx
movq %rax, (%rcx,%rbx,8)
incq %rbx
cmpq %rbx, %r13
jne LBB0_3
## %bb.4:
movl -44(%rbp), %ebx ## 4-byte Reload
jmp LBB0_5
LBB0_1:
xorl %r13d, %r13d
LBB0_5:
shlq $3, %r13
addq 168(%r15), %r13
movq _WINED3D_MAX_VS_CONSTS_F@GOTPCREL(%rip), %rax
movl (%rax), %edx
subl %ebx, %edx
shll $2, %edx
movq %r13, %rdi
movl $255, %esi
callq _memset
movq _WINED3D_MAX_CONSTS_I@GOTPCREL(%rip), %r13
cmpl $0, (%r13)
je LBB0_8
## %bb.6:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
leaq L_.str.1(%rip), %rsi
movl %ebx, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 160(%r15), %rcx
movq %rax, (%rcx,%rbx,8)
incq %rbx
movl (%r13), %eax
cmpq %rax, %rbx
jb LBB0_7
LBB0_8:
movq _WINED3D_MAX_CONSTS_B@GOTPCREL(%rip), %r13
cmpl $0, (%r13)
je LBB0_11
## %bb.9:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
leaq L_.str.2(%rip), %rsi
movl %ebx, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 152(%r15), %rcx
movq %rax, (%rcx,%rbx,8)
incq %rbx
movl (%r13), %eax
cmpq %rax, %rbx
jb LBB0_10
LBB0_11:
leaq L_.str.3(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 144(%r15)
movq _MAX_VERTEX_INDEX_BLENDS@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
je LBB0_17
## %bb.12:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
leaq L_.str.4(%rip), %rsi
movl %ebx, %edx
movq %rcx, %r13
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 136(%r15), %rcx
movq %rax, (%rcx,%rbx,8)
movq %r13, %rcx
incq %rbx
movl (%r13), %eax
cmpq %rax, %rbx
jb LBB0_13
## %bb.14:
testl %eax, %eax
je LBB0_17
## %bb.15:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
leaq L_.str.5(%rip), %rsi
movl %ebx, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 128(%r15), %rcx
movq %rax, (%rcx,%rbx,8)
movq %r13, %rax
incq %rbx
movl (%r13), %eax
cmpq %rax, %rbx
jb LBB0_16
LBB0_17:
leaq L_.str.6(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 120(%r15)
movq _MAX_TEXTURES@GOTPCREL(%rip), %r13
cmpl $0, (%r13)
je LBB0_20
## %bb.18:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_19: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
leaq L_.str.7(%rip), %rsi
movl %ebx, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 112(%r15), %rcx
movq %rax, (%rcx,%rbx,8)
incq %rbx
movl (%r13), %eax
cmpq %rax, %rbx
jb LBB0_19
LBB0_20:
leaq L_.str.8(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 104(%r15)
leaq L_.str.9(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 96(%r15)
leaq L_.str.10(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 88(%r15)
leaq L_.str.11(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 80(%r15)
leaq L_.str.12(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 72(%r15)
leaq L_.str.13(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 64(%r15)
movq _MAX_ACTIVE_LIGHTS@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_23
## %bb.21:
xorl %ebx, %ebx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_22: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
leaq L_.str.14(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, 88(%rcx,%rbx)
movq %r14, %rdi
leaq L_.str.15(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, 80(%rcx,%rbx)
movq %r14, %rdi
leaq L_.str.16(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, 72(%rcx,%rbx)
movq %r14, %rdi
leaq L_.str.17(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, 64(%rcx,%rbx)
movq %r14, %rdi
leaq L_.str.18(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, 56(%rcx,%rbx)
movq %r14, %rdi
leaq L_.str.19(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, 48(%rcx,%rbx)
movq %r14, %rdi
leaq L_.str.20(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, 40(%rcx,%rbx)
movq %r14, %rdi
leaq L_.str.21(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, 32(%rcx,%rbx)
movq %r14, %rdi
leaq L_.str.22(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, 24(%rcx,%rbx)
movq %r14, %rdi
leaq L_.str.23(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, 16(%rcx,%rbx)
movq %r14, %rdi
leaq L_.str.24(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, 8(%rcx,%rbx)
movq %r14, %rdi
leaq L_.str.25(%rip), %rsi
movl %r13d, %edx
callq _string_buffer_sprintf
movq (%r14), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq 56(%r15), %rcx
movq %rax, (%rcx,%rbx)
movq _MAX_ACTIVE_LIGHTS@GOTPCREL(%rip), %rax
incq %r13
movl (%rax), %eax
addq $96, %rbx
cmpq %rax, %r13
jb LBB0_22
LBB0_23:
leaq L_.str.26(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 48(%r15)
leaq L_.str.27(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 40(%r15)
leaq L_.str.28(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 32(%r15)
leaq L_.str.29(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 24(%r15)
leaq L_.str.30(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 16(%r15)
leaq L_.str.31(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, 8(%r15)
leaq L_.str.32(%rip), %rsi
movl %r12d, %edi
callq _glGetUniformLocation
movl %eax, %edi
callq _GL_EXTCALL
movq %rax, (%r15)
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _string_buffer_release ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "vs_c[%u]"
.comm _WINED3D_MAX_VS_CONSTS_F,4,2 ## @WINED3D_MAX_VS_CONSTS_F
.comm _WINED3D_MAX_CONSTS_I,4,2 ## @WINED3D_MAX_CONSTS_I
L_.str.1: ## @.str.1
.asciz "vs_i[%u]"
.comm _WINED3D_MAX_CONSTS_B,4,2 ## @WINED3D_MAX_CONSTS_B
L_.str.2: ## @.str.2
.asciz "vs_b[%u]"
L_.str.3: ## @.str.3
.asciz "pos_fixup"
.comm _MAX_VERTEX_INDEX_BLENDS,4,2 ## @MAX_VERTEX_INDEX_BLENDS
L_.str.4: ## @.str.4
.asciz "ffp_modelview_matrix[%u]"
L_.str.5: ## @.str.5
.asciz "ffp_normal_matrix[%u]"
L_.str.6: ## @.str.6
.asciz "ffp_projection_matrix"
.comm _MAX_TEXTURES,4,2 ## @MAX_TEXTURES
L_.str.7: ## @.str.7
.asciz "ffp_texture_matrix[%u]"
L_.str.8: ## @.str.8
.asciz "ffp_material.ambient"
L_.str.9: ## @.str.9
.asciz "ffp_material.diffuse"
L_.str.10: ## @.str.10
.asciz "ffp_material.specular"
L_.str.11: ## @.str.11
.asciz "ffp_material.emissive"
L_.str.12: ## @.str.12
.asciz "ffp_material.shininess"
L_.str.13: ## @.str.13
.asciz "ffp_light_ambient"
.comm _MAX_ACTIVE_LIGHTS,4,2 ## @MAX_ACTIVE_LIGHTS
L_.str.14: ## @.str.14
.asciz "ffp_light[%u].diffuse"
L_.str.15: ## @.str.15
.asciz "ffp_light[%u].specular"
L_.str.16: ## @.str.16
.asciz "ffp_light[%u].ambient"
L_.str.17: ## @.str.17
.asciz "ffp_light[%u].position"
L_.str.18: ## @.str.18
.asciz "ffp_light[%u].direction"
L_.str.19: ## @.str.19
.asciz "ffp_light[%u].range"
L_.str.20: ## @.str.20
.asciz "ffp_light[%u].falloff"
L_.str.21: ## @.str.21
.asciz "ffp_light[%u].c_att"
L_.str.22: ## @.str.22
.asciz "ffp_light[%u].l_att"
L_.str.23: ## @.str.23
.asciz "ffp_light[%u].q_att"
L_.str.24: ## @.str.24
.asciz "ffp_light[%u].cos_htheta"
L_.str.25: ## @.str.25
.asciz "ffp_light[%u].cos_hphi"
L_.str.26: ## @.str.26
.asciz "ffp_point.size"
L_.str.27: ## @.str.27
.asciz "ffp_point.size_min"
L_.str.28: ## @.str.28
.asciz "ffp_point.size_max"
L_.str.29: ## @.str.29
.asciz "ffp_point.c_att"
L_.str.30: ## @.str.30
.asciz "ffp_point.l_att"
L_.str.31: ## @.str.31
.asciz "ffp_point.q_att"
L_.str.32: ## @.str.32
.asciz "clip_planes"
.no_dead_strip _shader_glsl_init_vs_uniform_locations
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function shader_glsl_init_vs_uniform_locations
_shader_glsl_init_vs_uniform_locations: ; @shader_glsl_init_vs_uniform_locations
.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 x20, x4
mov x19, x3
mov x22, x2
mov x0, x1
str x1, [sp, #8] ; 8-byte Folded Spill
bl _string_buffer_get
mov x21, x0
cbz w20, LBB0_3
; %bb.1:
mov x23, #0
mov w25, w20
Lloh0:
adrp x24, l_.str@PAGE
Lloh1:
add x24, x24, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x24
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #168]
str x0, [x8, x23, lsl #3]
add x23, x23, #1
cmp x25, x23
b.ne LBB0_2
b LBB0_4
LBB0_3:
mov x25, #0
LBB0_4:
ldr x8, [x19, #168]
add x0, x8, x25, lsl #3
Lloh2:
adrp x8, _WINED3D_MAX_VS_CONSTS_F@GOTPAGE
Lloh3:
ldr x8, [x8, _WINED3D_MAX_VS_CONSTS_F@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
sub w8, w8, w20
lsl w2, w8, #2
mov w1, #255
bl _memset
Lloh5:
adrp x24, _WINED3D_MAX_CONSTS_I@GOTPAGE
Lloh6:
ldr x24, [x24, _WINED3D_MAX_CONSTS_I@GOTPAGEOFF]
ldr w8, [x24]
cbz w8, LBB0_7
; %bb.5:
mov x20, #0
Lloh7:
adrp x23, l_.str.1@PAGE
Lloh8:
add x23, x23, l_.str.1@PAGEOFF
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x23
mov x2, x20
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #160]
str x0, [x8, x20, lsl #3]
add x20, x20, #1
ldr w8, [x24]
cmp x20, x8
b.lo LBB0_6
LBB0_7:
Lloh9:
adrp x24, _WINED3D_MAX_CONSTS_B@GOTPAGE
Lloh10:
ldr x24, [x24, _WINED3D_MAX_CONSTS_B@GOTPAGEOFF]
ldr w8, [x24]
cbz w8, LBB0_10
; %bb.8:
mov x20, #0
Lloh11:
adrp x23, l_.str.2@PAGE
Lloh12:
add x23, x23, l_.str.2@PAGEOFF
LBB0_9: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x23
mov x2, x20
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #152]
str x0, [x8, x20, lsl #3]
add x20, x20, #1
ldr w8, [x24]
cmp x20, x8
b.lo LBB0_9
LBB0_10:
Lloh13:
adrp x1, l_.str.3@PAGE
Lloh14:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #144]
Lloh15:
adrp x24, _MAX_VERTEX_INDEX_BLENDS@GOTPAGE
Lloh16:
ldr x24, [x24, _MAX_VERTEX_INDEX_BLENDS@GOTPAGEOFF]
ldr w8, [x24]
cbz w8, LBB0_16
; %bb.11:
mov x20, #0
Lloh17:
adrp x23, l_.str.4@PAGE
Lloh18:
add x23, x23, l_.str.4@PAGEOFF
LBB0_12: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x23
mov x2, x20
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #136]
str x0, [x8, x20, lsl #3]
add x20, x20, #1
ldr w8, [x24]
cmp x20, x8
b.lo LBB0_12
; %bb.13:
cbz w8, LBB0_16
; %bb.14:
mov x20, #0
Lloh19:
adrp x23, l_.str.5@PAGE
Lloh20:
add x23, x23, l_.str.5@PAGEOFF
LBB0_15: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x23
mov x2, x20
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #128]
str x0, [x8, x20, lsl #3]
add x20, x20, #1
ldr w8, [x24]
cmp x20, x8
b.lo LBB0_15
LBB0_16:
Lloh21:
adrp x1, l_.str.6@PAGE
Lloh22:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #120]
Lloh23:
adrp x24, _MAX_TEXTURES@GOTPAGE
Lloh24:
ldr x24, [x24, _MAX_TEXTURES@GOTPAGEOFF]
ldr w8, [x24]
cbz w8, LBB0_19
; %bb.17:
mov x20, #0
Lloh25:
adrp x23, l_.str.7@PAGE
Lloh26:
add x23, x23, l_.str.7@PAGEOFF
LBB0_18: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x23
mov x2, x20
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #112]
str x0, [x8, x20, lsl #3]
add x20, x20, #1
ldr w8, [x24]
cmp x20, x8
b.lo LBB0_18
LBB0_19:
Lloh27:
adrp x1, l_.str.8@PAGE
Lloh28:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #104]
Lloh29:
adrp x1, l_.str.9@PAGE
Lloh30:
add x1, x1, l_.str.9@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #96]
Lloh31:
adrp x1, l_.str.10@PAGE
Lloh32:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #88]
Lloh33:
adrp x1, l_.str.11@PAGE
Lloh34:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #80]
Lloh35:
adrp x1, l_.str.12@PAGE
Lloh36:
add x1, x1, l_.str.12@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #72]
Lloh37:
adrp x1, l_.str.13@PAGE
Lloh38:
add x1, x1, l_.str.13@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #64]
Lloh39:
adrp x24, _MAX_ACTIVE_LIGHTS@GOTPAGE
Lloh40:
ldr x24, [x24, _MAX_ACTIVE_LIGHTS@GOTPAGEOFF]
ldr w8, [x24]
cbz w8, LBB0_22
; %bb.20:
mov x23, #0
mov w25, #88
Lloh41:
adrp x26, l_.str.22@PAGE
Lloh42:
add x26, x26, l_.str.22@PAGEOFF
Lloh43:
adrp x27, l_.str.23@PAGE
Lloh44:
add x27, x27, l_.str.23@PAGEOFF
Lloh45:
adrp x28, l_.str.24@PAGE
Lloh46:
add x28, x28, l_.str.24@PAGEOFF
Lloh47:
adrp x20, l_.str.25@PAGE
Lloh48:
add x20, x20, l_.str.25@PAGEOFF
LBB0_21: ; =>This Inner Loop Header: Depth=1
mov x0, x21
Lloh49:
adrp x1, l_.str.14@PAGE
Lloh50:
add x1, x1, l_.str.14@PAGEOFF
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
str x0, [x8, x25]
mov x0, x21
Lloh51:
adrp x1, l_.str.15@PAGE
Lloh52:
add x1, x1, l_.str.15@PAGEOFF
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
add x8, x8, x25
stur x0, [x8, #-8]
mov x0, x21
Lloh53:
adrp x1, l_.str.16@PAGE
Lloh54:
add x1, x1, l_.str.16@PAGEOFF
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
add x8, x8, x25
stur x0, [x8, #-16]
mov x0, x21
Lloh55:
adrp x1, l_.str.17@PAGE
Lloh56:
add x1, x1, l_.str.17@PAGEOFF
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
add x8, x8, x25
stur x0, [x8, #-24]
mov x0, x21
Lloh57:
adrp x1, l_.str.18@PAGE
Lloh58:
add x1, x1, l_.str.18@PAGEOFF
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
add x8, x8, x25
stur x0, [x8, #-32]
mov x0, x21
Lloh59:
adrp x1, l_.str.19@PAGE
Lloh60:
add x1, x1, l_.str.19@PAGEOFF
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
add x8, x8, x25
stur x0, [x8, #-40]
mov x0, x21
Lloh61:
adrp x1, l_.str.20@PAGE
Lloh62:
add x1, x1, l_.str.20@PAGEOFF
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
add x8, x8, x25
stur x0, [x8, #-48]
mov x0, x21
Lloh63:
adrp x1, l_.str.21@PAGE
Lloh64:
add x1, x1, l_.str.21@PAGEOFF
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
add x8, x8, x25
stur x0, [x8, #-56]
mov x0, x21
mov x1, x26
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
add x8, x8, x25
stur x0, [x8, #-64]
mov x0, x21
mov x1, x27
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
add x8, x8, x25
stur x0, [x8, #-72]
mov x0, x21
mov x1, x28
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
add x8, x8, x25
stur x0, [x8, #-80]
mov x0, x21
mov x1, x20
mov x2, x23
bl _string_buffer_sprintf
ldr x1, [x21]
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
ldr x8, [x19, #56]
add x8, x8, x25
stur x0, [x8, #-88]
add x23, x23, #1
ldr w8, [x24]
add x25, x25, #96
cmp x23, x8
b.lo LBB0_21
LBB0_22:
Lloh65:
adrp x1, l_.str.26@PAGE
Lloh66:
add x1, x1, l_.str.26@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #48]
Lloh67:
adrp x1, l_.str.27@PAGE
Lloh68:
add x1, x1, l_.str.27@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #40]
Lloh69:
adrp x1, l_.str.28@PAGE
Lloh70:
add x1, x1, l_.str.28@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #32]
Lloh71:
adrp x1, l_.str.29@PAGE
Lloh72:
add x1, x1, l_.str.29@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #24]
Lloh73:
adrp x1, l_.str.30@PAGE
Lloh74:
add x1, x1, l_.str.30@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #16]
Lloh75:
adrp x1, l_.str.31@PAGE
Lloh76:
add x1, x1, l_.str.31@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19, #8]
Lloh77:
adrp x1, l_.str.32@PAGE
Lloh78:
add x1, x1, l_.str.32@PAGEOFF
mov x0, x22
bl _glGetUniformLocation
bl _GL_EXTCALL
str x0, [x19]
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x1, x21
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
b _string_buffer_release
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh77, Lloh78
.loh AdrpAdd Lloh75, Lloh76
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpAdd Lloh65, Lloh66
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "vs_c[%u]"
.comm _WINED3D_MAX_VS_CONSTS_F,4,2 ; @WINED3D_MAX_VS_CONSTS_F
.comm _WINED3D_MAX_CONSTS_I,4,2 ; @WINED3D_MAX_CONSTS_I
l_.str.1: ; @.str.1
.asciz "vs_i[%u]"
.comm _WINED3D_MAX_CONSTS_B,4,2 ; @WINED3D_MAX_CONSTS_B
l_.str.2: ; @.str.2
.asciz "vs_b[%u]"
l_.str.3: ; @.str.3
.asciz "pos_fixup"
.comm _MAX_VERTEX_INDEX_BLENDS,4,2 ; @MAX_VERTEX_INDEX_BLENDS
l_.str.4: ; @.str.4
.asciz "ffp_modelview_matrix[%u]"
l_.str.5: ; @.str.5
.asciz "ffp_normal_matrix[%u]"
l_.str.6: ; @.str.6
.asciz "ffp_projection_matrix"
.comm _MAX_TEXTURES,4,2 ; @MAX_TEXTURES
l_.str.7: ; @.str.7
.asciz "ffp_texture_matrix[%u]"
l_.str.8: ; @.str.8
.asciz "ffp_material.ambient"
l_.str.9: ; @.str.9
.asciz "ffp_material.diffuse"
l_.str.10: ; @.str.10
.asciz "ffp_material.specular"
l_.str.11: ; @.str.11
.asciz "ffp_material.emissive"
l_.str.12: ; @.str.12
.asciz "ffp_material.shininess"
l_.str.13: ; @.str.13
.asciz "ffp_light_ambient"
.comm _MAX_ACTIVE_LIGHTS,4,2 ; @MAX_ACTIVE_LIGHTS
l_.str.14: ; @.str.14
.asciz "ffp_light[%u].diffuse"
l_.str.15: ; @.str.15
.asciz "ffp_light[%u].specular"
l_.str.16: ; @.str.16
.asciz "ffp_light[%u].ambient"
l_.str.17: ; @.str.17
.asciz "ffp_light[%u].position"
l_.str.18: ; @.str.18
.asciz "ffp_light[%u].direction"
l_.str.19: ; @.str.19
.asciz "ffp_light[%u].range"
l_.str.20: ; @.str.20
.asciz "ffp_light[%u].falloff"
l_.str.21: ; @.str.21
.asciz "ffp_light[%u].c_att"
l_.str.22: ; @.str.22
.asciz "ffp_light[%u].l_att"
l_.str.23: ; @.str.23
.asciz "ffp_light[%u].q_att"
l_.str.24: ; @.str.24
.asciz "ffp_light[%u].cos_htheta"
l_.str.25: ; @.str.25
.asciz "ffp_light[%u].cos_hphi"
l_.str.26: ; @.str.26
.asciz "ffp_point.size"
l_.str.27: ; @.str.27
.asciz "ffp_point.size_min"
l_.str.28: ; @.str.28
.asciz "ffp_point.size_max"
l_.str.29: ; @.str.29
.asciz "ffp_point.c_att"
l_.str.30: ; @.str.30
.asciz "ffp_point.l_att"
l_.str.31: ; @.str.31
.asciz "ffp_point.q_att"
l_.str.32: ; @.str.32
.asciz "clip_planes"
.no_dead_strip _shader_glsl_init_vs_uniform_locations
.subsections_via_symbols
| AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_shader_glsl_init_vs_uniform_locations.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_wc__prop_retrieve_recursive ## -- Begin function svn_wc__prop_retrieve_recursive
.p2align 4, 0x90
_svn_wc__prop_retrieve_recursive: ## @svn_wc__prop_retrieve_recursive
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rsi), %esi
callq _svn_wc__db_prop_retrieve_recursive
movl %eax, %edi
popq %rbp
jmp _svn_error_trace ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_wc__prop_retrieve_recursive ; -- Begin function svn_wc__prop_retrieve_recursive
.p2align 2
_svn_wc__prop_retrieve_recursive: ; @svn_wc__prop_retrieve_recursive
.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 w1, [x1]
bl _svn_wc__db_prop_retrieve_recursive
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _svn_error_trace
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_props.c_svn_wc__prop_retrieve_recursive.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dma_fifo_busy
_dma_fifo_busy: ## @dma_fifo_busy
.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), %rcx
xorl %eax, %eax
cmpq 8(%rdi), %rcx
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _dma_fifo_busy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dma_fifo_busy
_dma_fifo_busy: ; @dma_fifo_busy
.cfi_startproc
; %bb.0:
ldp x8, x9, [x0]
cmp x8, x9
cset w0, eq
ret
.cfi_endproc
; -- End function
.no_dead_strip _dma_fifo_busy
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/fwserial/extr_dma_fifo.h_dma_fifo_busy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function skipspaces
_skipspaces: ## @skipspaces
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _SKIPSPACES
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _skipspaces
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function skipspaces
_skipspaces: ; @skipspaces
.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 _SKIPSPACES
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 _skipspaces
.subsections_via_symbols
| AnghaBench/radare2/shlr/rar/extr_cpu.c_skipspaces.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _str_trim_lf ## -- Begin function str_trim_lf
.p2align 4, 0x90
_str_trim_lf: ## @str_trim_lf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %esi, %esi
jle LBB0_5
## %bb.1:
movl %esi, %eax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpb $10, (%rdi,%rcx)
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
incq %rcx
cmpq %rcx, %rax
jne LBB0_2
LBB0_5:
popq %rbp
retq
LBB0_3:
movb $0, (%rdi,%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getch ## -- Begin function getch
.p2align 4, 0x90
_getch: ## @getch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $160, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
leaq -96(%rbp), %r14
xorl %edi, %edi
movq %r14, %rsi
callq _tcgetattr
movups -96(%rbp), %xmm0
movups -80(%rbp), %xmm1
movups -64(%rbp), %xmm2
movups -48(%rbp), %xmm3
movaps %xmm1, -160(%rbp)
movaps %xmm0, -176(%rbp)
movaps %xmm2, -144(%rbp)
movaps %xmm3, -128(%rbp)
movq -32(%rbp), %rax
movq %rax, -112(%rbp)
andq $-265, -152(%rbp) ## imm = 0xFEF7
leaq -176(%rbp), %rdx
xorl %edi, %edi
xorl %esi, %esi
callq _tcsetattr
callq _getchar
movl %eax, %ebx
xorl %edi, %edi
xorl %esi, %esi
movq %r14, %rdx
callq _tcsetattr
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB1_2
## %bb.1:
movl %ebx, %eax
addq $160, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _str_overwrite_stdout ## -- Begin function str_overwrite_stdout
.p2align 4, 0x90
_str_overwrite_stdout: ## @str_overwrite_stdout
.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
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
popq %rbp
jmp _fflush ## TAILCALL
.cfi_endproc
## -- End function
.globl _catch_ctrl_c_and_exit ## -- Begin function catch_ctrl_c_and_exit
.p2align 4, 0x90
_catch_ctrl_c_and_exit: ## @catch_ctrl_c_and_exit
.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, _flag(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _recv_msg_handler ## -- Begin function recv_msg_handler
.p2align 4, 0x90
_recv_msg_handler: ## @recv_msg_handler
.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 $904, %rsp ## imm = 0x388
.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)
xorps %xmm0, %xmm0
movups %xmm0, -551(%rbp)
movaps %xmm0, -560(%rbp)
movaps %xmm0, -576(%rbp)
movaps %xmm0, -592(%rbp)
movaps %xmm0, -608(%rbp)
movaps %xmm0, -624(%rbp)
movaps %xmm0, -640(%rbp)
movaps %xmm0, -656(%rbp)
movaps %xmm0, -672(%rbp)
movaps %xmm0, -688(%rbp)
movaps %xmm0, -704(%rbp)
movaps %xmm0, -720(%rbp)
movaps %xmm0, -736(%rbp)
movups %xmm0, -759(%rbp)
movaps %xmm0, -768(%rbp)
movaps %xmm0, -784(%rbp)
movaps %xmm0, -800(%rbp)
movaps %xmm0, -816(%rbp)
movaps %xmm0, -832(%rbp)
movaps %xmm0, -848(%rbp)
movaps %xmm0, -864(%rbp)
movaps %xmm0, -880(%rbp)
movaps %xmm0, -896(%rbp)
movaps %xmm0, -912(%rbp)
movaps %xmm0, -928(%rbp)
movaps %xmm0, -944(%rbp)
leaq -736(%rbp), %r15
leaq -944(%rbp), %r14
jmp LBB4_1
.p2align 4, 0x90
LBB4_27: ## in Loop: Header=BB4_1 Depth=1
je LBB4_28
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_4 Depth 2
## Child Loop BB4_16 Depth 2
## Child Loop BB4_19 Depth 2
## Child Loop BB4_11 Depth 2
## Child Loop BB4_24 Depth 2
movl _sockfd(%rip), %edi
movl $201, %edx
movq %r15, %rsi
xorl %ecx, %ecx
callq _recv
movq %rax, %rbx
movl $201, %edx
movq %r14, %rdi
movq %r15, %rsi
callq ___strcpy_chk
testl %ebx, %ebx
jle LBB4_27
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.2(%rip), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
leaq _req_acc(%rip), %rsi
callq _strstr
testq %rax, %rax
je LBB4_26
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movq %rax, %r12
movq _found@GOTPCREL(%rip), %rax
movq %r12, (%rax)
movq %r14, %r13
subq %r14, %r12
leaq _req_acc(%rip), %rdi
callq _strlen
movq %rax, %r15
addq %r12, %r15
movslq %r15d, %rax
leal -1(%rax), %ebx
addq %rbp, %rax
addq $-944, %rax ## imm = 0xFC50
movl %r15d, %ecx
.p2align 4, 0x90
LBB4_4: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %ecx, %r12d
incl %ebx
cmpb $32, (%rax)
leaq 1(%rax), %rax
leal 1(%r12), %ecx
jne LBB4_4
## %bb.5: ## in Loop: Header=BB4_1 Depth=1
cmpl %r15d, %ebx
movl %r15d, %r14d
cmovgl %ebx, %r14d
movq %r13, %rdi
callq _strlen
incl %r14d
movslq %r14d, %rcx
movq %rax, %r10
subq %rcx, %r10
jbe LBB4_25
## %bb.6: ## in Loop: Header=BB4_1 Depth=1
cmpq $8, %r10
jae LBB4_8
## %bb.7: ## in Loop: Header=BB4_1 Depth=1
xorl %r9d, %r9d
jmp LBB4_23
LBB4_8: ## in Loop: Header=BB4_1 Depth=1
cmpq $32, %r10
jae LBB4_13
## %bb.9: ## in Loop: Header=BB4_1 Depth=1
xorl %r9d, %r9d
jmp LBB4_10
LBB4_13: ## in Loop: Header=BB4_1 Depth=1
movq %r10, %r9
andq $-32, %r9
leaq -32(%r9), %rdx
movq %rdx, %r8
shrq $5, %r8
incq %r8
cmpq $96, %rdx
jae LBB4_15
## %bb.14: ## in Loop: Header=BB4_1 Depth=1
xorl %edi, %edi
jmp LBB4_17
LBB4_15: ## in Loop: Header=BB4_1 Depth=1
cmpl %r15d, %ebx
movl %r15d, %edx
cmovgl %ebx, %edx
incl %edx
movslq %edx, %rdi
leaq -832(%rbp), %rdx
addq %rdi, %rdx
movq %rax, %rsi
subq %rdi, %rsi
andq $-32, %rsi
addq $-32, %rsi
shrq $5, %rsi
incq %rsi
andq $-4, %rsi
xorl %edi, %edi
.p2align 4, 0x90
LBB4_16: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movups -112(%rdx,%rdi), %xmm0
movups -96(%rdx,%rdi), %xmm1
movaps %xmm0, -320(%rbp,%rdi)
movaps %xmm1, -304(%rbp,%rdi)
movups -80(%rdx,%rdi), %xmm0
movups -64(%rdx,%rdi), %xmm1
movaps %xmm0, -288(%rbp,%rdi)
movaps %xmm1, -272(%rbp,%rdi)
movups -48(%rdx,%rdi), %xmm0
movups -32(%rdx,%rdi), %xmm1
movaps %xmm0, -256(%rbp,%rdi)
movaps %xmm1, -240(%rbp,%rdi)
movups -16(%rdx,%rdi), %xmm0
movups (%rdx,%rdi), %xmm1
movaps %xmm0, -224(%rbp,%rdi)
movaps %xmm1, -208(%rbp,%rdi)
subq $-128, %rdi
addq $-4, %rsi
jne LBB4_16
LBB4_17: ## in Loop: Header=BB4_1 Depth=1
testb $3, %r8b
je LBB4_20
## %bb.18: ## in Loop: Header=BB4_1 Depth=1
leaq -304(%rbp), %rdx
addq %rdi, %rdx
leaq -928(%rbp), %rsi
addq %rsi, %rdi
cmpl %r15d, %ebx
cmovlel %r15d, %ebx
incl %ebx
movslq %ebx, %rsi
addq %rsi, %rdi
movl %eax, %ebx
subl %esi, %ebx
andb $96, %bl
addb $-32, %bl
shrb $5, %bl
incb %bl
movzbl %bl, %esi
andl $3, %esi
shlq $5, %rsi
xorl %ebx, %ebx
.p2align 4, 0x90
LBB4_19: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movups -16(%rdi,%rbx), %xmm0
movups (%rdi,%rbx), %xmm1
movaps %xmm0, -16(%rdx,%rbx)
movaps %xmm1, (%rdx,%rbx)
addq $32, %rbx
cmpq %rbx, %rsi
jne LBB4_19
LBB4_20: ## in Loop: Header=BB4_1 Depth=1
cmpq %r9, %r10
je LBB4_25
## %bb.21: ## in Loop: Header=BB4_1 Depth=1
testb $24, %r10b
je LBB4_22
LBB4_10: ## in Loop: Header=BB4_1 Depth=1
movq %r9, %rdx
movq %r10, %r9
andq $-8, %r9
addq %r9, %rcx
cmpl %r15d, %r12d
cmovgl %r12d, %r15d
incl %r15d
movslq %r15d, %rdi
movq %rax, %rsi
subq %rdi, %rsi
andq $-8, %rsi
addq %rbp, %rdi
addq $-944, %rdi ## imm = 0xFC50
.p2align 4, 0x90
LBB4_11: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rdi,%rdx), %rbx
movq %rbx, -320(%rbp,%rdx)
addq $8, %rdx
cmpq %rdx, %rsi
jne LBB4_11
## %bb.12: ## in Loop: Header=BB4_1 Depth=1
cmpq %r9, %r10
jne LBB4_23
jmp LBB4_25
LBB4_22: ## in Loop: Header=BB4_1 Depth=1
addq %r9, %rcx
LBB4_23: ## in Loop: Header=BB4_1 Depth=1
leaq (%r9,%rbp), %rdx
addq $-320, %rdx ## imm = 0xFEC0
.p2align 4, 0x90
LBB4_24: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl -944(%rbp,%rcx), %ebx
movb %bl, (%rdx)
incq %rcx
incq %rdx
cmpq %rcx, %rax
ja LBB4_24
LBB4_25: ## in Loop: Header=BB4_1 Depth=1
xorps %xmm0, %xmm0
movaps %xmm0, -80(%rbp)
movaps %xmm0, -96(%rbp)
movaps %xmm0, -112(%rbp)
movw $0, -64(%rbp)
movaps %xmm0, -528(%rbp)
movaps %xmm0, -512(%rbp)
movaps %xmm0, -496(%rbp)
movw $0, -480(%rbp)
movl $201, %edx
leaq -528(%rbp), %r14
movq %r14, %rdi
xorl %esi, %esi
leaq L_.str.3(%rip), %rcx
leaq -320(%rbp), %r8
xorl %eax, %eax
callq ___sprintf_chk
movl _sockfd(%rip), %esi
leaq L_.str.4(%rip), %rdi
movq %r14, %rdx
xorl %eax, %eax
callq _printf
leaq L_str(%rip), %rdi
callq _puts
movl $50, %edx
leaq -112(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq ___strcpy_chk
movq %rbx, %rdi
callq _system
xorps %xmm0, %xmm0
movaps %xmm0, -112(%rbp)
movaps %xmm0, -96(%rbp)
movaps %xmm0, -80(%rbp)
movw $0, -64(%rbp)
movaps %xmm0, -528(%rbp)
movaps %xmm0, -512(%rbp)
movaps %xmm0, -496(%rbp)
movw $0, -480(%rbp)
movaps %xmm0, -320(%rbp)
movaps %xmm0, -304(%rbp)
movaps %xmm0, -288(%rbp)
movw $0, -272(%rbp)
movq %r13, %r14
leaq -736(%rbp), %r15
LBB4_26: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
jmp LBB4_1
LBB4_28:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB4_30
## %bb.29:
addq $904, %rsp ## imm = 0x388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB4_30:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _send_msg_handler ## -- Begin function send_msg_handler
.p2align 4, 0x90
_send_msg_handler: ## @send_msg_handler
.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
movl $6120, %eax ## imm = 0x17E8
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.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)
xorps %xmm0, %xmm0
movaps %xmm0, -80(%rbp)
movaps %xmm0, -96(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm0, -128(%rbp)
movaps %xmm0, -144(%rbp)
movaps %xmm0, -160(%rbp)
movq $0, -67(%rbp)
leaq L_.str(%rip), %r12
leaq L_.str.1(%rip), %r14
movq ___stdoutp@GOTPCREL(%rip), %r15
movq ___stdinp@GOTPCREL(%rip), %rbx
leaq -160(%rbp), %r13
.p2align 4, 0x90
LBB5_1: ## =>This Loop Header: Depth=1
## Child Loop BB5_3 Depth 2
movq %r12, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
movq (%r15), %rdi
callq _fflush
movq (%rbx), %rdx
movq %r13, %rdi
movl $101, %esi
callq _fgets
testq %rax, %rax
je LBB5_8
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
xorl %ecx, %ecx
.p2align 4, 0x90
LBB5_3: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $10, -160(%rbp,%rcx)
jne LBB5_5
## %bb.4: ## in Loop: Header=BB5_3 Depth=2
movl %ecx, %eax
movb $0, -160(%rbp,%rax)
jmp LBB5_6
.p2align 4, 0x90
LBB5_5: ## in Loop: Header=BB5_3 Depth=2
incq %rcx
cmpq $101, %rcx
jne LBB5_3
LBB5_6: ## in Loop: Header=BB5_3 Depth=2
cmpb $0, -160(%rbp)
jne LBB5_8
## %bb.7: ## in Loop: Header=BB5_3 Depth=2
movq %r12, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
movq (%r15), %rdi
callq _fflush
movq (%rbx), %rdx
movq %r13, %rdi
movl $101, %esi
callq _fgets
movl $0, %ecx
testq %rax, %rax
jne LBB5_3
LBB5_8: ## in Loop: Header=BB5_1 Depth=1
movl _sockfd(%rip), %edi
movl $101, %edx
movq %r13, %rsi
xorl %ecx, %ecx
callq _send
movl -160(%rbp), %eax
movl $1953069157, %ecx ## imm = 0x74697865
xorl %ecx, %eax
movzbl -156(%rbp), %ecx
orl %eax, %ecx
je LBB5_20
## %bb.9: ## in Loop: Header=BB5_1 Depth=1
cmpl $7562617, -160(%rbp) ## imm = 0x736579
jne LBB5_15
## %bb.10: ## in Loop: Header=BB5_1 Depth=1
movq %r12, %rbx
leaq L_.str.8(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _open
cmpl $-1, %eax
je LBB5_11
## %bb.14: ## in Loop: Header=BB5_1 Depth=1
movl %eax, %r12d
movl $6000, %edx ## imm = 0x1770
movl %eax, %edi
leaq -6160(%rbp), %rsi
callq _read
movl %r12d, %edi
callq _close
movl _sockfd(%rip), %edi
movl $6000, %edx ## imm = 0x1770
leaq -6160(%rbp), %r12
movq %r12, %rsi
xorl %ecx, %ecx
callq _send
movl $6001, %edx ## imm = 0x1771
movl $6000, %ecx ## imm = 0x1770
movq %r12, %rdi
xorl %esi, %esi
callq ___memset_chk
movq %rbx, %r12
movq ___stdinp@GOTPCREL(%rip), %rbx
jmp LBB5_1
.p2align 4, 0x90
LBB5_15: ## in Loop: Header=BB5_1 Depth=1
movq %r13, %rdi
leaq L_.str.10(%rip), %rsi
callq _strstr
testq %rax, %rax
jne LBB5_19
## %bb.16: ## in Loop: Header=BB5_1 Depth=1
movq %r13, %rdi
leaq L_.str.11(%rip), %rsi
callq _strstr
testq %rax, %rax
jne LBB5_19
## %bb.17: ## in Loop: Header=BB5_1 Depth=1
movq %r13, %rdi
leaq L_.str.12(%rip), %rsi
callq _strstr
testq %rax, %rax
jne LBB5_19
## %bb.18: ## in Loop: Header=BB5_1 Depth=1
movq %r13, %rdi
leaq L_.str.13(%rip), %rsi
callq _strstr
testq %rax, %rax
je LBB5_1
LBB5_19:
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB5_20:
movl $1, _flag(%rip)
LBB5_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB5_21
## %bb.13:
addq $6120, %rsp ## imm = 0x17E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB5_11:
callq _send_msg_handler.cold.1
jmp LBB5_12
LBB5_21:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $216, %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 _catch_ctrl_c_and_exit(%rip), %rsi
movl $2, %edi
callq _signal
movl $1, %r13d
movq ___stdinp@GOTPCREL(%rip), %r14
leaq _checkname(%rip), %rbx
leaq -128(%rbp), %r12
leaq -208(%rbp), %r15
jmp LBB6_1
.p2align 4, 0x90
LBB6_92: ## in Loop: Header=BB6_1 Depth=1
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _printf
movl %ebx, %r13d
leaq _checkname(%rip), %rbx
LBB6_1: ## =>This Loop Header: Depth=1
## Child Loop BB6_94 Depth 2
## Child Loop BB6_129 Depth 2
## Child Loop BB6_130 Depth 3
## Child Loop BB6_6 Depth 2
## Child Loop BB6_51 Depth 2
## Child Loop BB6_52 Depth 3
leaq L_str.44(%rip), %rdi
callq _puts
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.18(%rip), %rdi
leaq -228(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -228(%rbp), %eax
cmpl $1, %eax
je LBB6_5
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
cmpl $2, %eax
jne LBB6_3
## %bb.93: ## in Loop: Header=BB6_1 Depth=1
leaq L_str.46(%rip), %rdi
callq _puts
leaq _password(%rip), %r13
.p2align 4, 0x90
LBB6_94: ## Parent Loop BB6_1 Depth=1
## => This Inner Loop Header: Depth=2
leaq _nickname(%rip), %rbx
movq (%r14), %rdx
movq %rbx, %rdi
movl $31, %esi
callq _fgets
cmpb $10, _nickname(%rip)
jne LBB6_97
## %bb.95: ## in Loop: Header=BB6_94 Depth=2
xorl %eax, %eax
jmp LBB6_96
.p2align 4, 0x90
LBB6_97: ## in Loop: Header=BB6_94 Depth=2
movl $1, %eax
cmpb $10, _nickname+1(%rip)
je LBB6_96
## %bb.98: ## in Loop: Header=BB6_94 Depth=2
movl $2, %eax
cmpb $10, _nickname+2(%rip)
je LBB6_96
## %bb.99: ## in Loop: Header=BB6_94 Depth=2
movl $3, %eax
cmpb $10, _nickname+3(%rip)
je LBB6_96
## %bb.100: ## in Loop: Header=BB6_94 Depth=2
movl $4, %eax
cmpb $10, _nickname+4(%rip)
je LBB6_96
## %bb.101: ## in Loop: Header=BB6_94 Depth=2
movl $5, %eax
cmpb $10, _nickname+5(%rip)
je LBB6_96
## %bb.102: ## in Loop: Header=BB6_94 Depth=2
movl $6, %eax
cmpb $10, _nickname+6(%rip)
je LBB6_96
## %bb.103: ## in Loop: Header=BB6_94 Depth=2
movl $7, %eax
cmpb $10, _nickname+7(%rip)
je LBB6_96
## %bb.104: ## in Loop: Header=BB6_94 Depth=2
movl $8, %eax
cmpb $10, _nickname+8(%rip)
je LBB6_96
## %bb.105: ## in Loop: Header=BB6_94 Depth=2
movl $9, %eax
cmpb $10, _nickname+9(%rip)
je LBB6_96
## %bb.106: ## in Loop: Header=BB6_94 Depth=2
movl $10, %eax
cmpb $10, _nickname+10(%rip)
je LBB6_96
## %bb.107: ## in Loop: Header=BB6_94 Depth=2
movl $11, %eax
cmpb $10, _nickname+11(%rip)
je LBB6_96
## %bb.108: ## in Loop: Header=BB6_94 Depth=2
movl $12, %eax
cmpb $10, _nickname+12(%rip)
je LBB6_96
## %bb.109: ## in Loop: Header=BB6_94 Depth=2
movl $13, %eax
cmpb $10, _nickname+13(%rip)
je LBB6_96
## %bb.110: ## in Loop: Header=BB6_94 Depth=2
movl $14, %eax
cmpb $10, _nickname+14(%rip)
je LBB6_96
## %bb.111: ## in Loop: Header=BB6_94 Depth=2
movl $15, %eax
cmpb $10, _nickname+15(%rip)
je LBB6_96
## %bb.112: ## in Loop: Header=BB6_94 Depth=2
movl $16, %eax
cmpb $10, _nickname+16(%rip)
je LBB6_96
## %bb.113: ## in Loop: Header=BB6_94 Depth=2
movl $17, %eax
cmpb $10, _nickname+17(%rip)
je LBB6_96
## %bb.114: ## in Loop: Header=BB6_94 Depth=2
movl $18, %eax
cmpb $10, _nickname+18(%rip)
je LBB6_96
## %bb.115: ## in Loop: Header=BB6_94 Depth=2
movl $19, %eax
cmpb $10, _nickname+19(%rip)
je LBB6_96
## %bb.116: ## in Loop: Header=BB6_94 Depth=2
movl $20, %eax
cmpb $10, _nickname+20(%rip)
je LBB6_96
## %bb.117: ## in Loop: Header=BB6_94 Depth=2
movl $21, %eax
cmpb $10, _nickname+21(%rip)
je LBB6_96
## %bb.118: ## in Loop: Header=BB6_94 Depth=2
movl $22, %eax
cmpb $10, _nickname+22(%rip)
je LBB6_96
## %bb.119: ## in Loop: Header=BB6_94 Depth=2
movl $23, %eax
cmpb $10, _nickname+23(%rip)
je LBB6_96
## %bb.120: ## in Loop: Header=BB6_94 Depth=2
movl $24, %eax
cmpb $10, _nickname+24(%rip)
je LBB6_96
## %bb.121: ## in Loop: Header=BB6_94 Depth=2
movl $25, %eax
cmpb $10, _nickname+25(%rip)
je LBB6_96
## %bb.122: ## in Loop: Header=BB6_94 Depth=2
movl $26, %eax
cmpb $10, _nickname+26(%rip)
je LBB6_96
## %bb.123: ## in Loop: Header=BB6_94 Depth=2
movl $27, %eax
cmpb $10, _nickname+27(%rip)
je LBB6_96
## %bb.124: ## in Loop: Header=BB6_94 Depth=2
movl $28, %eax
cmpb $10, _nickname+28(%rip)
je LBB6_96
## %bb.125: ## in Loop: Header=BB6_94 Depth=2
movl $29, %eax
cmpb $10, _nickname+29(%rip)
je LBB6_96
## %bb.126: ## in Loop: Header=BB6_94 Depth=2
movl $30, %eax
cmpb $10, _nickname+30(%rip)
jne LBB6_127
.p2align 4, 0x90
LBB6_96: ## in Loop: Header=BB6_94 Depth=2
movb $0, (%rax,%rbx)
LBB6_127: ## in Loop: Header=BB6_94 Depth=2
movq %rbx, %rdi
callq _strlen
addq $-30, %rax
cmpq $-28, %rax
jae LBB6_129
## %bb.128: ## in Loop: Header=BB6_94 Depth=2
leaq L_.str.28(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.29(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB6_94
.p2align 4, 0x90
LBB6_165: ## in Loop: Header=BB6_129 Depth=2
leaq L_.str.31(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB6_129: ## Parent Loop BB6_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB6_130 Depth 3
leaq L_.str.30(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r13, %r14
.p2align 4, 0x90
LBB6_130: ## Parent Loop BB6_1 Depth=1
## Parent Loop BB6_129 Depth=2
## => This Inner Loop Header: Depth=3
xorl %edi, %edi
movq %r12, %rsi
callq _tcgetattr
movups -128(%rbp), %xmm0
movups -112(%rbp), %xmm1
movups -96(%rbp), %xmm2
movups -80(%rbp), %xmm3
movaps %xmm1, -192(%rbp)
movaps %xmm0, -208(%rbp)
movaps %xmm2, -176(%rbp)
movaps %xmm3, -160(%rbp)
movq -64(%rbp), %rax
movq %rax, -144(%rbp)
andq $-265, -184(%rbp) ## imm = 0xFEF7
xorl %edi, %edi
xorl %esi, %esi
movq %r15, %rdx
callq _tcsetattr
callq _getchar
movl %eax, %ebx
xorl %edi, %edi
xorl %esi, %esi
movq %r12, %rdx
callq _tcsetattr
movb %bl, (%r14)
cmpl $10, %ebx
je LBB6_131
## %bb.177: ## in Loop: Header=BB6_130 Depth=3
movl $42, %edi
callq _putchar
incq %r14
jmp LBB6_130
.p2align 4, 0x90
LBB6_131: ## in Loop: Header=BB6_129 Depth=2
cmpb $10, _password(%rip)
jne LBB6_134
## %bb.132: ## in Loop: Header=BB6_129 Depth=2
xorl %eax, %eax
movq ___stdinp@GOTPCREL(%rip), %r14
leaq _checkname(%rip), %rbx
jmp LBB6_133
.p2align 4, 0x90
LBB6_134: ## in Loop: Header=BB6_129 Depth=2
movl $1, %eax
cmpb $10, _password+1(%rip)
movq ___stdinp@GOTPCREL(%rip), %r14
leaq _checkname(%rip), %rbx
je LBB6_133
## %bb.135: ## in Loop: Header=BB6_129 Depth=2
movl $2, %eax
cmpb $10, _password+2(%rip)
je LBB6_133
## %bb.136: ## in Loop: Header=BB6_129 Depth=2
movl $3, %eax
cmpb $10, _password+3(%rip)
je LBB6_133
## %bb.137: ## in Loop: Header=BB6_129 Depth=2
movl $4, %eax
cmpb $10, _password+4(%rip)
je LBB6_133
## %bb.138: ## in Loop: Header=BB6_129 Depth=2
movl $5, %eax
cmpb $10, _password+5(%rip)
je LBB6_133
## %bb.139: ## in Loop: Header=BB6_129 Depth=2
movl $6, %eax
cmpb $10, _password+6(%rip)
je LBB6_133
## %bb.140: ## in Loop: Header=BB6_129 Depth=2
movl $7, %eax
cmpb $10, _password+7(%rip)
je LBB6_133
## %bb.141: ## in Loop: Header=BB6_129 Depth=2
movl $8, %eax
cmpb $10, _password+8(%rip)
je LBB6_133
## %bb.142: ## in Loop: Header=BB6_129 Depth=2
movl $9, %eax
cmpb $10, _password+9(%rip)
je LBB6_133
## %bb.143: ## in Loop: Header=BB6_129 Depth=2
movl $10, %eax
cmpb $10, _password+10(%rip)
je LBB6_133
## %bb.144: ## in Loop: Header=BB6_129 Depth=2
movl $11, %eax
cmpb $10, _password+11(%rip)
je LBB6_133
## %bb.145: ## in Loop: Header=BB6_129 Depth=2
movl $12, %eax
cmpb $10, _password+12(%rip)
je LBB6_133
## %bb.146: ## in Loop: Header=BB6_129 Depth=2
movl $13, %eax
cmpb $10, _password+13(%rip)
je LBB6_133
## %bb.147: ## in Loop: Header=BB6_129 Depth=2
movl $14, %eax
cmpb $10, _password+14(%rip)
je LBB6_133
## %bb.148: ## in Loop: Header=BB6_129 Depth=2
movl $15, %eax
cmpb $10, _password+15(%rip)
je LBB6_133
## %bb.149: ## in Loop: Header=BB6_129 Depth=2
movl $16, %eax
cmpb $10, _password+16(%rip)
je LBB6_133
## %bb.150: ## in Loop: Header=BB6_129 Depth=2
movl $17, %eax
cmpb $10, _password+17(%rip)
je LBB6_133
## %bb.151: ## in Loop: Header=BB6_129 Depth=2
movl $18, %eax
cmpb $10, _password+18(%rip)
je LBB6_133
## %bb.152: ## in Loop: Header=BB6_129 Depth=2
movl $19, %eax
cmpb $10, _password+19(%rip)
je LBB6_133
## %bb.153: ## in Loop: Header=BB6_129 Depth=2
movl $20, %eax
cmpb $10, _password+20(%rip)
je LBB6_133
## %bb.154: ## in Loop: Header=BB6_129 Depth=2
movl $21, %eax
cmpb $10, _password+21(%rip)
je LBB6_133
## %bb.155: ## in Loop: Header=BB6_129 Depth=2
movl $22, %eax
cmpb $10, _password+22(%rip)
je LBB6_133
## %bb.156: ## in Loop: Header=BB6_129 Depth=2
movl $23, %eax
cmpb $10, _password+23(%rip)
je LBB6_133
## %bb.157: ## in Loop: Header=BB6_129 Depth=2
movl $24, %eax
cmpb $10, _password+24(%rip)
je LBB6_133
## %bb.158: ## in Loop: Header=BB6_129 Depth=2
movl $25, %eax
cmpb $10, _password+25(%rip)
je LBB6_133
## %bb.159: ## in Loop: Header=BB6_129 Depth=2
movl $26, %eax
cmpb $10, _password+26(%rip)
je LBB6_133
## %bb.160: ## in Loop: Header=BB6_129 Depth=2
movl $27, %eax
cmpb $10, _password+27(%rip)
je LBB6_133
## %bb.161: ## in Loop: Header=BB6_129 Depth=2
movl $28, %eax
cmpb $10, _password+28(%rip)
je LBB6_133
## %bb.162: ## in Loop: Header=BB6_129 Depth=2
movl $29, %eax
cmpb $10, _password+29(%rip)
je LBB6_133
## %bb.163: ## in Loop: Header=BB6_129 Depth=2
movl $30, %eax
cmpb $10, _password+30(%rip)
jne LBB6_164
.p2align 4, 0x90
LBB6_133: ## in Loop: Header=BB6_129 Depth=2
movb $0, (%rax,%r13)
LBB6_164: ## in Loop: Header=BB6_129 Depth=2
movl $10, %edi
callq _putchar
movq %r13, %rdi
callq _strlen
addq $-30, %rax
cmpq $-26, %rax
jb LBB6_165
## %bb.166: ## in Loop: Header=BB6_1 Depth=1
leaq L_str.47(%rip), %rdi
callq _puts
movl $1, %r13d
jmp LBB6_1
.p2align 4, 0x90
LBB6_5: ## in Loop: Header=BB6_1 Depth=1
movq %r13, -216(%rbp) ## 8-byte Spill
leaq L_str.48(%rip), %rdi
callq _puts
xorl %r13d, %r13d
jmp LBB6_6
.p2align 4, 0x90
LBB6_46: ## in Loop: Header=BB6_6 Depth=2
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB6_6: ## Parent Loop BB6_1 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r14), %rdx
movq %rbx, %rdi
movl $31, %esi
callq _fgets
testq %rax, %rax
je LBB6_46
## %bb.7: ## in Loop: Header=BB6_6 Depth=2
cmpb $10, _checkname(%rip)
jne LBB6_10
## %bb.8: ## in Loop: Header=BB6_6 Depth=2
xorl %eax, %eax
jmp LBB6_9
.p2align 4, 0x90
LBB6_10: ## in Loop: Header=BB6_6 Depth=2
movl $1, %eax
cmpb $10, _checkname+1(%rip)
je LBB6_9
## %bb.11: ## in Loop: Header=BB6_6 Depth=2
movl $2, %eax
cmpb $10, _checkname+2(%rip)
je LBB6_9
## %bb.12: ## in Loop: Header=BB6_6 Depth=2
movl $3, %eax
cmpb $10, _checkname+3(%rip)
je LBB6_9
## %bb.13: ## in Loop: Header=BB6_6 Depth=2
movl $4, %eax
cmpb $10, _checkname+4(%rip)
je LBB6_9
## %bb.14: ## in Loop: Header=BB6_6 Depth=2
movl $5, %eax
cmpb $10, _checkname+5(%rip)
je LBB6_9
## %bb.15: ## in Loop: Header=BB6_6 Depth=2
movl $6, %eax
cmpb $10, _checkname+6(%rip)
je LBB6_9
## %bb.16: ## in Loop: Header=BB6_6 Depth=2
movl $7, %eax
cmpb $10, _checkname+7(%rip)
je LBB6_9
## %bb.17: ## in Loop: Header=BB6_6 Depth=2
movl $8, %eax
cmpb $10, _checkname+8(%rip)
je LBB6_9
## %bb.18: ## in Loop: Header=BB6_6 Depth=2
movl $9, %eax
cmpb $10, _checkname+9(%rip)
je LBB6_9
## %bb.19: ## in Loop: Header=BB6_6 Depth=2
movl $10, %eax
cmpb $10, _checkname+10(%rip)
je LBB6_9
## %bb.20: ## in Loop: Header=BB6_6 Depth=2
movl $11, %eax
cmpb $10, _checkname+11(%rip)
je LBB6_9
## %bb.21: ## in Loop: Header=BB6_6 Depth=2
movl $12, %eax
cmpb $10, _checkname+12(%rip)
je LBB6_9
## %bb.22: ## in Loop: Header=BB6_6 Depth=2
movl $13, %eax
cmpb $10, _checkname+13(%rip)
je LBB6_9
## %bb.23: ## in Loop: Header=BB6_6 Depth=2
movl $14, %eax
cmpb $10, _checkname+14(%rip)
je LBB6_9
## %bb.24: ## in Loop: Header=BB6_6 Depth=2
movl $15, %eax
cmpb $10, _checkname+15(%rip)
je LBB6_9
## %bb.25: ## in Loop: Header=BB6_6 Depth=2
movl $16, %eax
cmpb $10, _checkname+16(%rip)
je LBB6_9
## %bb.26: ## in Loop: Header=BB6_6 Depth=2
movl $17, %eax
cmpb $10, _checkname+17(%rip)
je LBB6_9
## %bb.27: ## in Loop: Header=BB6_6 Depth=2
movl $18, %eax
cmpb $10, _checkname+18(%rip)
je LBB6_9
## %bb.28: ## in Loop: Header=BB6_6 Depth=2
movl $19, %eax
cmpb $10, _checkname+19(%rip)
je LBB6_9
## %bb.29: ## in Loop: Header=BB6_6 Depth=2
movl $20, %eax
cmpb $10, _checkname+20(%rip)
je LBB6_9
## %bb.30: ## in Loop: Header=BB6_6 Depth=2
movl $21, %eax
cmpb $10, _checkname+21(%rip)
je LBB6_9
## %bb.31: ## in Loop: Header=BB6_6 Depth=2
movl $22, %eax
cmpb $10, _checkname+22(%rip)
je LBB6_9
## %bb.32: ## in Loop: Header=BB6_6 Depth=2
movl $23, %eax
cmpb $10, _checkname+23(%rip)
je LBB6_9
## %bb.33: ## in Loop: Header=BB6_6 Depth=2
movl $24, %eax
cmpb $10, _checkname+24(%rip)
je LBB6_9
## %bb.34: ## in Loop: Header=BB6_6 Depth=2
movl $25, %eax
cmpb $10, _checkname+25(%rip)
je LBB6_9
## %bb.35: ## in Loop: Header=BB6_6 Depth=2
movl $26, %eax
cmpb $10, _checkname+26(%rip)
je LBB6_9
## %bb.36: ## in Loop: Header=BB6_6 Depth=2
movl $27, %eax
cmpb $10, _checkname+27(%rip)
je LBB6_9
## %bb.37: ## in Loop: Header=BB6_6 Depth=2
movl $28, %eax
cmpb $10, _checkname+28(%rip)
je LBB6_9
## %bb.38: ## in Loop: Header=BB6_6 Depth=2
movl $29, %eax
cmpb $10, _checkname+29(%rip)
je LBB6_9
## %bb.39: ## in Loop: Header=BB6_6 Depth=2
movl $30, %eax
cmpb $10, _checkname+30(%rip)
jne LBB6_40
.p2align 4, 0x90
LBB6_9: ## in Loop: Header=BB6_6 Depth=2
movb $0, (%rax,%rbx)
LBB6_40: ## in Loop: Header=BB6_6 Depth=2
movq %rbx, %rdi
callq _strlen
addq $-30, %rax
cmpq $-29, %rax
ja LBB6_47
## %bb.41: ## in Loop: Header=BB6_6 Depth=2
movq -216(%rbp), %rax ## 8-byte Reload
leal 1(%rax), %ebx
cmpl $1, %eax
jg LBB6_42
## %bb.43: ## in Loop: Header=BB6_6 Depth=2
testl %ebx, %ebx
jne LBB6_44
jmp LBB6_49
.p2align 4, 0x90
LBB6_47: ## in Loop: Header=BB6_6 Depth=2
leaq _nickname(%rip), %rdi
movq %rbx, %rsi
callq _strcmp
movl $1, %ebx
testl %eax, %eax
je LBB6_48
LBB6_42: ## in Loop: Header=BB6_6 Depth=2
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _printf
incl %r13d
testl %ebx, %ebx
je LBB6_49
LBB6_44: ## in Loop: Header=BB6_6 Depth=2
cmpl $3, %r13d
jge LBB6_49
## %bb.45: ## in Loop: Header=BB6_6 Depth=2
movl %ebx, %eax
movq %rax, -216(%rbp) ## 8-byte Spill
leaq _checkname(%rip), %rbx
jmp LBB6_46
LBB6_48: ## in Loop: Header=BB6_1 Depth=1
xorl %ebx, %ebx
LBB6_49: ## in Loop: Header=BB6_1 Depth=1
cmpl $2, %r13d
jg LBB6_92
## %bb.50: ## in Loop: Header=BB6_1 Depth=1
movl %ebx, -216(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB6_51: ## Parent Loop BB6_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB6_52 Depth 3
movl %r13d, %r14d
leaq L_.str.23(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq _checkpassword(%rip), %rbx
.p2align 4, 0x90
LBB6_52: ## Parent Loop BB6_1 Depth=1
## Parent Loop BB6_51 Depth=2
## => This Inner Loop Header: Depth=3
xorl %edi, %edi
movq %r12, %rsi
callq _tcgetattr
movups -128(%rbp), %xmm0
movups -112(%rbp), %xmm1
movups -96(%rbp), %xmm2
movups -80(%rbp), %xmm3
movaps %xmm1, -192(%rbp)
movaps %xmm0, -208(%rbp)
movaps %xmm2, -176(%rbp)
movaps %xmm3, -160(%rbp)
movq -64(%rbp), %rax
movq %rax, -144(%rbp)
andq $-265, -184(%rbp) ## imm = 0xFEF7
xorl %edi, %edi
xorl %esi, %esi
movq %r15, %rdx
callq _tcsetattr
callq _getchar
movl %eax, %r13d
xorl %edi, %edi
xorl %esi, %esi
movq %r12, %rdx
callq _tcsetattr
movb %r13b, (%rbx)
cmpl $10, %r13d
je LBB6_53
## %bb.89: ## in Loop: Header=BB6_52 Depth=3
movl $42, %edi
callq _putchar
incq %rbx
jmp LBB6_52
.p2align 4, 0x90
LBB6_53: ## in Loop: Header=BB6_51 Depth=2
cmpb $10, _checkpassword(%rip)
leaq _password(%rip), %rbx
jne LBB6_56
## %bb.54: ## in Loop: Header=BB6_51 Depth=2
xorl %eax, %eax
jmp LBB6_55
.p2align 4, 0x90
LBB6_56: ## in Loop: Header=BB6_51 Depth=2
movl $1, %eax
cmpb $10, _checkpassword+1(%rip)
je LBB6_55
## %bb.57: ## in Loop: Header=BB6_51 Depth=2
movl $2, %eax
cmpb $10, _checkpassword+2(%rip)
je LBB6_55
## %bb.58: ## in Loop: Header=BB6_51 Depth=2
movl $3, %eax
cmpb $10, _checkpassword+3(%rip)
je LBB6_55
## %bb.59: ## in Loop: Header=BB6_51 Depth=2
movl $4, %eax
cmpb $10, _checkpassword+4(%rip)
je LBB6_55
## %bb.60: ## in Loop: Header=BB6_51 Depth=2
movl $5, %eax
cmpb $10, _checkpassword+5(%rip)
je LBB6_55
## %bb.61: ## in Loop: Header=BB6_51 Depth=2
movl $6, %eax
cmpb $10, _checkpassword+6(%rip)
je LBB6_55
## %bb.62: ## in Loop: Header=BB6_51 Depth=2
movl $7, %eax
cmpb $10, _checkpassword+7(%rip)
je LBB6_55
## %bb.63: ## in Loop: Header=BB6_51 Depth=2
movl $8, %eax
cmpb $10, _checkpassword+8(%rip)
je LBB6_55
## %bb.64: ## in Loop: Header=BB6_51 Depth=2
movl $9, %eax
cmpb $10, _checkpassword+9(%rip)
je LBB6_55
## %bb.65: ## in Loop: Header=BB6_51 Depth=2
movl $10, %eax
cmpb $10, _checkpassword+10(%rip)
je LBB6_55
## %bb.66: ## in Loop: Header=BB6_51 Depth=2
movl $11, %eax
cmpb $10, _checkpassword+11(%rip)
je LBB6_55
## %bb.67: ## in Loop: Header=BB6_51 Depth=2
movl $12, %eax
cmpb $10, _checkpassword+12(%rip)
je LBB6_55
## %bb.68: ## in Loop: Header=BB6_51 Depth=2
movl $13, %eax
cmpb $10, _checkpassword+13(%rip)
je LBB6_55
## %bb.69: ## in Loop: Header=BB6_51 Depth=2
movl $14, %eax
cmpb $10, _checkpassword+14(%rip)
je LBB6_55
## %bb.70: ## in Loop: Header=BB6_51 Depth=2
movl $15, %eax
cmpb $10, _checkpassword+15(%rip)
je LBB6_55
## %bb.71: ## in Loop: Header=BB6_51 Depth=2
movl $16, %eax
cmpb $10, _checkpassword+16(%rip)
je LBB6_55
## %bb.72: ## in Loop: Header=BB6_51 Depth=2
movl $17, %eax
cmpb $10, _checkpassword+17(%rip)
je LBB6_55
## %bb.73: ## in Loop: Header=BB6_51 Depth=2
movl $18, %eax
cmpb $10, _checkpassword+18(%rip)
je LBB6_55
## %bb.74: ## in Loop: Header=BB6_51 Depth=2
movl $19, %eax
cmpb $10, _checkpassword+19(%rip)
je LBB6_55
## %bb.75: ## in Loop: Header=BB6_51 Depth=2
movl $20, %eax
cmpb $10, _checkpassword+20(%rip)
je LBB6_55
## %bb.76: ## in Loop: Header=BB6_51 Depth=2
movl $21, %eax
cmpb $10, _checkpassword+21(%rip)
je LBB6_55
## %bb.77: ## in Loop: Header=BB6_51 Depth=2
movl $22, %eax
cmpb $10, _checkpassword+22(%rip)
je LBB6_55
## %bb.78: ## in Loop: Header=BB6_51 Depth=2
movl $23, %eax
cmpb $10, _checkpassword+23(%rip)
je LBB6_55
## %bb.79: ## in Loop: Header=BB6_51 Depth=2
movl $24, %eax
cmpb $10, _checkpassword+24(%rip)
je LBB6_55
## %bb.80: ## in Loop: Header=BB6_51 Depth=2
movl $25, %eax
cmpb $10, _checkpassword+25(%rip)
je LBB6_55
## %bb.81: ## in Loop: Header=BB6_51 Depth=2
movl $26, %eax
cmpb $10, _checkpassword+26(%rip)
je LBB6_55
## %bb.82: ## in Loop: Header=BB6_51 Depth=2
movl $27, %eax
cmpb $10, _checkpassword+27(%rip)
je LBB6_55
## %bb.83: ## in Loop: Header=BB6_51 Depth=2
movl $28, %eax
cmpb $10, _checkpassword+28(%rip)
je LBB6_55
## %bb.84: ## in Loop: Header=BB6_51 Depth=2
movl $29, %eax
cmpb $10, _checkpassword+29(%rip)
je LBB6_55
## %bb.85: ## in Loop: Header=BB6_51 Depth=2
movl $30, %eax
cmpb $10, _checkpassword+30(%rip)
jne LBB6_86
.p2align 4, 0x90
LBB6_55: ## in Loop: Header=BB6_51 Depth=2
leaq _checkpassword(%rip), %rcx
movb $0, (%rax,%rcx)
LBB6_86: ## in Loop: Header=BB6_51 Depth=2
movl $10, %edi
callq _putchar
movq %rbx, %rdi
leaq _checkpassword(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB6_87
## %bb.90: ## in Loop: Header=BB6_51 Depth=2
leaq L_.str.26(%rip), %rdi
xorl %eax, %eax
callq _printf
movl %r14d, %r13d
incl %r13d
cmpl $3, %r13d
jne LBB6_51
## %bb.91: ## in Loop: Header=BB6_1 Depth=1
movq ___stdinp@GOTPCREL(%rip), %r14
movl -216(%rbp), %ebx ## 4-byte Reload
jmp LBB6_92
LBB6_87:
leaq L_.str.15(%rip), %rdi
leaq _nickname(%rip), %rsi
xorl %eax, %eax
callq _printf
movl $2, %edi
callq _sleep
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, _sockfd(%rip)
cmpl $-1, %eax
je LBB6_88
## %bb.169:
movl $16, -224(%rbp)
movl $16, -220(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -128(%rbp)
movaps %xmm0, -208(%rbp)
movb $2, -127(%rbp)
leaq L_.str.35(%rip), %rdi
callq _inet_addr
movl %eax, -124(%rbp)
movw $-18398, -126(%rbp) ## imm = 0xB822
movl _sockfd(%rip), %edi
leaq -128(%rbp), %rsi
movl $16, %edx
callq _connect
cmpl $-1, %eax
je LBB6_170
## %bb.171:
movl _sockfd(%rip), %edi
leaq -208(%rbp), %rsi
leaq -220(%rbp), %rdx
callq _getsockname
movl _sockfd(%rip), %edi
leaq -128(%rbp), %rsi
leaq -224(%rbp), %rdx
callq _getpeername
movl -124(%rbp), %edi
callq _inet_ntoa
movzwl -126(%rbp), %ecx
rolw $8, %cx
movzwl %cx, %edx
leaq L_.str.37(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
movl -204(%rbp), %edi
callq _inet_ntoa
movzwl -206(%rbp), %ecx
rolw $8, %cx
movzwl %cx, %ecx
leaq L_.str.38(%rip), %rdi
leaq _nickname(%rip), %rbx
movq %rbx, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _printf
leaq L_str.49(%rip), %rdi
callq _puts
leaq L_str.50(%rip), %rdi
callq _puts
leaq L_.str.41(%rip), %rdi
xorl %eax, %eax
callq _printf
movl _sockfd(%rip), %edi
movl $31, %edx
movq %rbx, %rsi
xorl %ecx, %ecx
callq _send
leaq _send_msg_handler(%rip), %rdx
leaq -248(%rbp), %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq _pthread_create
testl %eax, %eax
jne LBB6_172
## %bb.173:
leaq _recv_msg_handler(%rip), %rdx
leaq -240(%rbp), %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq _pthread_create
testl %eax, %eax
jne LBB6_172
.p2align 4, 0x90
LBB6_174: ## =>This Inner Loop Header: Depth=1
cmpl $0, _flag(%rip)
je LBB6_174
## %bb.175:
leaq L_str.51(%rip), %rdi
callq _puts
movl _sockfd(%rip), %edi
callq _close
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB6_178
## %bb.176:
xorl %eax, %eax
addq $216, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB6_3:
cmpl $3, %eax
jne LBB6_167
## %bb.4:
movl $1, %edi
callq _exit
LBB6_167:
leaq L_str.45(%rip), %rdi
jmp LBB6_168
LBB6_172:
leaq L_str.53(%rip), %rdi
jmp LBB6_168
LBB6_88:
leaq L_.str.34(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _exit
LBB6_170:
leaq L_str.54(%rip), %rdi
LBB6_168:
callq _puts
movl $1, %edi
callq _exit
LBB6_178:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function send_msg_handler.cold.1
_send_msg_handler.cold.1: ## @send_msg_handler.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.9(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.globl _flag ## @flag
.zerofill __DATA,__common,_flag,4,2
.globl _sockfd ## @sockfd
.zerofill __DATA,__common,_sockfd,4,2
.globl _nickname ## @nickname
.zerofill __DATA,__common,_nickname,31,4
.globl _checkname ## @checkname
.zerofill __DATA,__common,_checkname,31,4
.globl _password ## @password
.zerofill __DATA,__common,_password,31,4
.globl _checkpassword ## @checkpassword
.zerofill __DATA,__common,_checkpassword,31,4
.section __DATA,__data
.globl _req_acc ## @req_acc
_req_acc:
.asciz "REQACCESS "
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\r%s"
L_.str.1: ## @.str.1
.asciz "> "
L_.str.2: ## @.str.2
.asciz "\r%s\n"
.comm _found,8,3 ## @found
L_.str.3: ## @.str.3
.asciz "%s > test.txt"
L_.str.4: ## @.str.4
.asciz "Requesting access from '%d' Command: '%s'\n"
L_.str.6: ## @.str.6
.asciz "exit"
L_.str.8: ## @.str.8
.asciz "test.txt"
L_.str.9: ## @.str.9
.asciz "Error in opening file"
L_.str.10: ## @.str.10
.asciz "fuck"
L_.str.11: ## @.str.11
.asciz "shit"
L_.str.12: ## @.str.12
.asciz "asshole"
L_.str.13: ## @.str.13
.asciz "pussy"
L_.str.14: ## @.str.14
.asciz "Abusive/swear word has been detected! You have been kicked out!"
L_.str.15: ## @.str.15
.asciz "\033[32;1m\t> %s is successfully logged-in.\n \tConnecting to the server...\n\033[0m"
L_.str.17: ## @.str.17
.asciz "\t* 1. Log-in\t\t\t *\n\t* 2. Sign-up\t\t\t *\n\t* 3. Exit \t\t\t *\n\t\033[33;1m***********************************\033[31;1m\n\t>\033[0m"
L_.str.18: ## @.str.18
.asciz "%d"
L_.str.20: ## @.str.20
.asciz "\033[31;1m\tIncorrect username!\n\033[0m"
L_.str.21: ## @.str.21
.asciz "\tUsername:"
L_.str.22: ## @.str.22
.asciz "\033[31;1m\tIncorrect log-in limit (3) is exceeded!\n\033[0m"
L_.str.23: ## @.str.23
.asciz "\tPassword:"
L_.str.26: ## @.str.26
.asciz "\033[31;1m\t*Incorrect password!\n\033[0m"
L_.str.28: ## @.str.28
.asciz "\033[31;1m\t\n*Username must be more than one and less than thirty characters.\n\033[0m"
L_.str.29: ## @.str.29
.asciz "Please enter your username: "
L_.str.30: ## @.str.30
.asciz "Please enter your password: "
L_.str.31: ## @.str.31
.asciz "\033[31;1m\t\n*Password must be more than four and less than thirty characters.\n\033[0m"
L_.str.34: ## @.str.34
.asciz "Fail to create a socket."
L_.str.35: ## @.str.35
.asciz "127.0.0.1"
L_.str.37: ## @.str.37
.asciz "Connected to Server: %s Port:%d\n"
L_.str.38: ## @.str.38
.asciz "Current user: %s %s:%d\n"
L_.str.41: ## @.str.41
.asciz "2:Use this pattern for requesting access to different client!\n REQACCESS username command\n\033[0m"
L_str: ## @str
.asciz "Would you like to proceed with the certain request(Y/N)?"
L_str.44: ## @str.44
.asciz "\033[33;1m\n\n\t************* \033[32;1mLINK_US\033[33;1m *************\033[0m\n\t*\t\tMENU\t\t *"
L_str.45: ## @str.45
.asciz "Incorrect option!"
L_str.46: ## @str.46
.asciz "\t\t*** Sign-up ***"
L_str.47: ## @str.47
.asciz "Account is successfully created. Log-in to connect to the server"
L_str.48: ## @str.48
.asciz "\t\t*** Log-in ***\n"
L_str.49: ## @str.49
.asciz "\033[32;1mThere are two rules you need to abide by:"
L_str.50: ## @str.50
.asciz "\033[31;1m1: Don't use abusive language!"
L_str.51: ## @str.51
.asciz "\nBye"
L_str.53: ## @str.53
.asciz "Create pthread error!"
L_str.54: ## @str.54
.asciz "Connection to Server error!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _str_trim_lf ; -- Begin function str_trim_lf
.p2align 2
_str_trim_lf: ; @str_trim_lf
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB0_4
; %bb.1:
mov w8, w1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x0]
cmp w9, #10
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x0, x0, #1
subs x8, x8, #1
b.ne LBB0_2
LBB0_4:
ret
LBB0_5:
strb wzr, [x0]
ret
.cfi_endproc
; -- End function
.globl _getch ; -- Begin function getch
.p2align 2
_getch: ; @getch
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
add x1, sp, #80
mov w0, #0
bl _tcgetattr
ldp q0, q1, [sp, #112]
stp q0, q1, [sp, #32]
ldr x8, [sp, #144]
str x8, [sp, #64]
ldp q1, q0, [sp, #80]
stp q1, q0, [sp]
ldr x8, [sp, #24]
mov x9, #-265
and x8, x8, x9
str x8, [sp, #24]
mov x2, sp
mov w0, #0
mov w1, #0
bl _tcsetattr
bl _getchar
mov x19, x0
add x2, sp, #80
mov w0, #0
mov w1, #0
bl _tcsetattr
ldur x8, [x29, #-24]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_2
; %bb.1:
mov x0, x19
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB1_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.globl _str_overwrite_stdout ; -- Begin function str_overwrite_stdout
.p2align 2
_str_overwrite_stdout: ; @str_overwrite_stdout
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh6:
adrp x8, l_.str.1@PAGE
Lloh7:
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp]
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh10:
adrp x8, ___stdoutp@GOTPAGE
Lloh11:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh12:
ldr x0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _fflush
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _catch_ctrl_c_and_exit ; -- Begin function catch_ctrl_c_and_exit
.p2align 2
_catch_ctrl_c_and_exit: ; @catch_ctrl_c_and_exit
.cfi_startproc
; %bb.0:
mov w8, #1
adrp x9, _flag@PAGE
str w8, [x9, _flag@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _recv_msg_handler ; -- Begin function recv_msg_handler
.p2align 2
_recv_msg_handler: ; @recv_msg_handler
.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, #944
Lloh13:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
stur x8, [x29, #-96]
movi.2d v0, #0000000000000000
add x8, sp, #170
stur q0, [x8, #255]
stp q0, q0, [sp, #400]
stp q0, q0, [sp, #368]
stp q0, q0, [sp, #336]
stp q0, q0, [sp, #304]
stp q0, q0, [sp, #272]
stp q0, q0, [sp, #240]
stur q0, [sp, #217]
stp q0, q0, [sp, #192]
add x26, sp, #32
add x9, x26, #32
stp q0, q0, [sp, #160]
add x8, sp, #656
add x8, x8, #32
stp x8, x9, [sp, #16] ; 16-byte Folded Spill
adrp x27, _sockfd@PAGE
stp q0, q0, [sp, #128]
Lloh16:
adrp x19, l_.str.2@PAGE
Lloh17:
add x19, x19, l_.str.2@PAGEOFF
Lloh18:
adrp x20, _req_acc@PAGE
Lloh19:
add x20, x20, _req_acc@PAGEOFF
stp q0, q0, [sp, #96]
Lloh20:
adrp x21, l_.str@PAGE
Lloh21:
add x21, x21, l_.str@PAGEOFF
stp q0, q0, [sp, #64]
add x23, sp, #240
stp q0, q0, [sp, #32]
Lloh22:
adrp x24, ___stdoutp@GOTPAGE
Lloh23:
ldr x24, [x24, ___stdoutp@GOTPAGEOFF]
b LBB4_2
LBB4_1: ; in Loop: Header=BB4_2 Depth=1
cbz w25, LBB4_23
LBB4_2: ; =>This Loop Header: Depth=1
; Child Loop BB4_5 Depth 2
; Child Loop BB4_12 Depth 2
; Child Loop BB4_16 Depth 2
; Child Loop BB4_20 Depth 2
ldr w0, [x27, _sockfd@PAGEOFF]
add x1, sp, #240
mov w2, #201
mov w3, #0
bl _recv
mov x25, x0
add x0, sp, #32
add x1, sp, #240
mov w2, #201
bl ___strcpy_chk
cmp w25, #1
b.lt LBB4_1
; %bb.3: ; in Loop: Header=BB4_2 Depth=1
str x23, [sp]
mov x0, x19
bl _printf
add x0, sp, #32
mov x1, x20
bl _strstr
cbz x0, LBB4_22
; %bb.4: ; in Loop: Header=BB4_2 Depth=1
Lloh24:
adrp x8, _found@GOTPAGE
Lloh25:
ldr x8, [x8, _found@GOTPAGEOFF]
Lloh26:
str x0, [x8]
sub x25, x0, x26
mov x0, x20
bl _strlen
add x25, x25, x0
sub w8, w25, #1
add x9, x26, w25, sxtw
mov x10, x25
LBB4_5: ; Parent Loop BB4_2 Depth=1
; => This Inner Loop Header: Depth=2
mov x28, x10
ldrb w11, [x9], #1
add w8, w8, #1
add w10, w10, #1
cmp w11, #32
b.ne LBB4_5
; %bb.6: ; in Loop: Header=BB4_2 Depth=1
cmp w8, w25
csel w22, w8, w25, gt
add x0, sp, #32
bl _strlen
add w8, w22, #1
sxtw x8, w8
subs x9, x0, x8
b.ls LBB4_21
; %bb.7: ; in Loop: Header=BB4_2 Depth=1
cmp x9, #8
b.hs LBB4_9
; %bb.8: ; in Loop: Header=BB4_2 Depth=1
mov x10, #0
b LBB4_19
LBB4_9: ; in Loop: Header=BB4_2 Depth=1
cmp x9, #64
b.hs LBB4_11
; %bb.10: ; in Loop: Header=BB4_2 Depth=1
mov x10, #0
b LBB4_15
LBB4_11: ; in Loop: Header=BB4_2 Depth=1
and x10, x9, #0xffffffffffffffc0
cmp w28, w25
csel w11, w28, w25, gt
add w11, w11, #1
sxtw x12, w11
ldp x13, x11, [sp, #16] ; 16-byte Folded Reload
add x11, x11, x12
sub x12, x0, x12
and x12, x12, #0xffffffffffffffc0
LBB4_12: ; Parent Loop BB4_2 Depth=1
; => This Inner Loop Header: Depth=2
ldp q0, q1, [x11, #-32]
ldp q2, q3, [x11], #64
stp q0, q1, [x13, #-32]
stp q2, q3, [x13], #64
subs x12, x12, #64
b.ne LBB4_12
; %bb.13: ; in Loop: Header=BB4_2 Depth=1
cmp x9, x10
b.eq LBB4_21
; %bb.14: ; in Loop: Header=BB4_2 Depth=1
tst x9, #0x38
b.eq LBB4_18
LBB4_15: ; in Loop: Header=BB4_2 Depth=1
mov x13, x10
add x10, sp, #656
add x11, x10, x13
cmp w28, w25
csel w10, w28, w25, gt
add w10, w10, #1
sxtw x14, w10
sub x10, x0, x14
and x10, x10, #0xfffffffffffffff8
sub x12, x13, x10
and x10, x9, #0xfffffffffffffff8
add x8, x10, x8
add x13, x26, x13
add x13, x13, x14
LBB4_16: ; Parent Loop BB4_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr d0, [x13], #8
str d0, [x11], #8
adds x12, x12, #8
b.ne LBB4_16
; %bb.17: ; in Loop: Header=BB4_2 Depth=1
cmp x9, x10
b.ne LBB4_19
b LBB4_21
LBB4_18: ; in Loop: Header=BB4_2 Depth=1
add x8, x10, x8
LBB4_19: ; in Loop: Header=BB4_2 Depth=1
add x9, sp, #656
add x9, x9, x10
LBB4_20: ; Parent Loop BB4_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w10, [x26, x8]
strb w10, [x9], #1
add x8, x8, #1
cmp x0, x8
b.hi LBB4_20
LBB4_21: ; in Loop: Header=BB4_2 Depth=1
sturh wzr, [x29, #-112]
movi.2d v0, #0000000000000000
stp q0, q0, [x29, #-144]
stur q0, [x29, #-160]
stp q0, q0, [sp, #448]
str q0, [sp, #480]
strh wzr, [sp, #496]
add x8, sp, #656
str x8, [sp]
add x0, sp, #448
mov w1, #0
mov w2, #201
Lloh27:
adrp x3, l_.str.3@PAGE
Lloh28:
add x3, x3, l_.str.3@PAGEOFF
bl ___sprintf_chk
ldr w8, [x27, _sockfd@PAGEOFF]
add x9, sp, #448
stp x8, x9, [sp]
Lloh29:
adrp x0, l_.str.4@PAGE
Lloh30:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
Lloh31:
adrp x0, l_str@PAGE
Lloh32:
add x0, x0, l_str@PAGEOFF
bl _puts
sub x0, x29, #160
add x1, sp, #448
mov w2, #50
bl ___strcpy_chk
sub x0, x29, #160
bl _system
movi.2d v0, #0000000000000000
stp q0, q0, [x29, #-160]
stur q0, [x29, #-128]
sturh wzr, [x29, #-112]
stp q0, q0, [sp, #448]
str q0, [sp, #480]
strh wzr, [sp, #496]
stp q0, q0, [sp, #656]
str q0, [sp, #688]
strh wzr, [sp, #704]
LBB4_22: ; in Loop: Header=BB4_2 Depth=1
Lloh33:
adrp x8, l_.str.1@PAGE
Lloh34:
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp]
mov x0, x21
bl _printf
ldr x0, [x24]
bl _fflush
b LBB4_2
LBB4_23:
ldur x8, [x29, #-96]
Lloh35:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh36:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
ldr x9, [x9]
cmp x9, x8
b.ne LBB4_25
; %bb.24:
add sp, sp, #944
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
LBB4_25:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotStr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.cfi_endproc
; -- End function
.globl _send_msg_handler ; -- Begin function send_msg_handler
.p2align 2
_send_msg_handler: ; @send_msg_handler
.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 w9, #6144
Lloh38:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh39:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #2048
sub x26, x29, #208
Lloh40:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh41:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
ldr x8, [x8]
stur x8, [x29, #-104]
stur xzr, [x26, #93]
Lloh43:
adrp x27, l_.str.1@PAGE
Lloh44:
add x27, x27, l_.str.1@PAGEOFF
Lloh45:
adrp x19, l_.str@PAGE
Lloh46:
add x19, x19, l_.str@PAGEOFF
movi.2d v0, #0000000000000000
Lloh47:
adrp x28, ___stdoutp@GOTPAGE
Lloh48:
ldr x28, [x28, ___stdoutp@GOTPAGEOFF]
Lloh49:
adrp x20, ___stdinp@GOTPAGE
Lloh50:
ldr x20, [x20, ___stdinp@GOTPAGEOFF]
adrp x24, _sockfd@PAGE
stp q0, q0, [x29, #-144]
mov w23, #30821
movk w23, #29801, lsl #16
mov w22, #25977
movk w22, #115, lsl #16
stp q0, q0, [x29, #-176]
stp q0, q0, [x29, #-208]
Lloh51:
adrp x21, l_.str.10@PAGE
Lloh52:
add x21, x21, l_.str.10@PAGEOFF
LBB5_1: ; =>This Loop Header: Depth=1
; Child Loop BB5_3 Depth 2
str x27, [sp]
mov x0, x19
bl _printf
ldr x0, [x28]
bl _fflush
ldr x2, [x20]
sub x0, x29, #208
mov w1, #101
bl _fgets
cbz x0, LBB5_8
; %bb.2: ; in Loop: Header=BB5_1 Depth=1
mov x8, #0
LBB5_3: ; Parent Loop BB5_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w9, [x26, x8]
cmp w9, #10
b.ne LBB5_5
; %bb.4: ; in Loop: Header=BB5_3 Depth=2
strb wzr, [x26, w8, uxtw]
b LBB5_6
LBB5_5: ; in Loop: Header=BB5_3 Depth=2
add x8, x8, #1
cmp x8, #101
b.ne LBB5_3
LBB5_6: ; in Loop: Header=BB5_3 Depth=2
ldrb w8, [x26]
cbnz w8, LBB5_8
; %bb.7: ; in Loop: Header=BB5_3 Depth=2
str x27, [sp]
mov x0, x19
bl _printf
ldr x0, [x28]
bl _fflush
ldr x2, [x20]
sub x0, x29, #208
mov w1, #101
bl _fgets
mov x8, #0
cbnz x0, LBB5_3
LBB5_8: ; in Loop: Header=BB5_1 Depth=1
ldr w0, [x24, _sockfd@PAGEOFF]
sub x1, x29, #208
mov w2, #101
mov w3, #0
bl _send
ldur w8, [x29, #-208]
eor w8, w8, w23
ldrb w9, [x26, #4]
orr w8, w8, w9
cbz w8, LBB5_17
; %bb.9: ; in Loop: Header=BB5_1 Depth=1
ldur w8, [x29, #-208]
cmp w8, w22
b.eq LBB5_14
; %bb.10: ; in Loop: Header=BB5_1 Depth=1
sub x0, x29, #208
mov x1, x21
bl _strstr
cbnz x0, LBB5_16
; %bb.11: ; in Loop: Header=BB5_1 Depth=1
sub x0, x29, #208
Lloh53:
adrp x1, l_.str.11@PAGE
Lloh54:
add x1, x1, l_.str.11@PAGEOFF
bl _strstr
cbnz x0, LBB5_16
; %bb.12: ; in Loop: Header=BB5_1 Depth=1
sub x0, x29, #208
Lloh55:
adrp x1, l_.str.12@PAGE
Lloh56:
add x1, x1, l_.str.12@PAGEOFF
bl _strstr
cbnz x0, LBB5_16
; %bb.13: ; in Loop: Header=BB5_1 Depth=1
sub x0, x29, #208
Lloh57:
adrp x1, l_.str.13@PAGE
Lloh58:
add x1, x1, l_.str.13@PAGEOFF
bl _strstr
cbz x0, LBB5_1
b LBB5_16
LBB5_14: ; in Loop: Header=BB5_1 Depth=1
Lloh59:
adrp x0, l_.str.8@PAGE
Lloh60:
add x0, x0, l_.str.8@PAGEOFF
mov w1, #0
bl _open
cmn w0, #1
b.eq LBB5_19
; %bb.15: ; in Loop: Header=BB5_1 Depth=1
mov x25, x0
add x1, sp, #16
mov w2, #6000
bl _read
mov x0, x25
bl _close
ldr w0, [x24, _sockfd@PAGEOFF]
add x1, sp, #16
mov w2, #6000
mov w3, #0
bl _send
add x0, sp, #16
mov w1, #0
mov w2, #6001
mov w3, #6000
bl ___memset_chk
b LBB5_1
LBB5_16:
Lloh61:
adrp x0, l_.str.14@PAGE
Lloh62:
add x0, x0, l_.str.14@PAGEOFF
bl _printf
LBB5_17:
mov w8, #1
Lloh63:
adrp x9, _flag@PAGE
str w8, [x9, _flag@PAGEOFF]
ldur x8, [x29, #-104]
Lloh64:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh65:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh66:
ldr x9, [x9]
cmp x9, x8
b.ne LBB5_20
; %bb.18:
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #2048
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
LBB5_19:
bl _send_msg_handler.cold.1
LBB5_20:
bl ___stack_chk_fail
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpLdrGot Lloh49, Lloh50
.loh AdrpLdrGot Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpAdrp Lloh63, Lloh64
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #320
.cfi_def_cfa_offset 320
stp x28, x27, [sp, #224] ; 16-byte Folded Spill
stp x26, x25, [sp, #240] ; 16-byte Folded Spill
stp x24, x23, [sp, #256] ; 16-byte Folded Spill
stp x22, x21, [sp, #272] ; 16-byte Folded Spill
stp x20, x19, [sp, #288] ; 16-byte Folded Spill
stp x29, x30, [sp, #304] ; 16-byte Folded Spill
add x29, sp, #304
.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
Lloh67:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh68:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh69:
ldr x8, [x8]
stur x8, [x29, #-96]
Lloh70:
adrp x1, _catch_ctrl_c_and_exit@PAGE
Lloh71:
add x1, x1, _catch_ctrl_c_and_exit@PAGEOFF
mov w0, #2
bl _signal
mov w26, #1
Lloh72:
adrp x27, l_str.44@PAGE
Lloh73:
add x27, x27, l_str.44@PAGEOFF
Lloh74:
adrp x28, l_.str.17@PAGE
Lloh75:
add x28, x28, l_.str.17@PAGEOFF
Lloh76:
adrp x21, ___stdinp@GOTPAGE
Lloh77:
ldr x21, [x21, ___stdinp@GOTPAGEOFF]
Lloh78:
adrp x24, _checkname@PAGE
Lloh79:
add x24, x24, _checkname@PAGEOFF
Lloh80:
adrp x25, _checkpassword@PAGE
Lloh81:
add x25, x25, _checkpassword@PAGEOFF
mov x22, #-265
Lloh82:
adrp x23, _password@PAGE
Lloh83:
add x23, x23, _password@PAGEOFF
Lloh84:
adrp x19, _nickname@PAGE
Lloh85:
add x19, x19, _nickname@PAGEOFF
b LBB6_2
LBB6_1: ; in Loop: Header=BB6_2 Depth=1
Lloh86:
adrp x0, l_.str.22@PAGE
Lloh87:
add x0, x0, l_.str.22@PAGEOFF
bl _printf
mov x26, x20
Lloh88:
adrp x28, l_.str.17@PAGE
Lloh89:
add x28, x28, l_.str.17@PAGEOFF
LBB6_2: ; =>This Loop Header: Depth=1
; Child Loop BB6_5 Depth 2
; Child Loop BB6_6 Depth 3
; Child Loop BB6_12 Depth 2
; Child Loop BB6_13 Depth 3
; Child Loop BB6_16 Depth 3
; Child Loop BB6_24 Depth 2
; Child Loop BB6_26 Depth 3
; Child Loop BB6_38 Depth 2
; Child Loop BB6_39 Depth 3
; Child Loop BB6_42 Depth 3
mov x0, x27
bl _puts
mov x0, x28
bl _printf
add x8, sp, #60
str x8, [sp]
Lloh90:
adrp x0, l_.str.18@PAGE
Lloh91:
add x0, x0, l_.str.18@PAGEOFF
bl _scanf
ldr w8, [sp, #60]
cmp w8, #1
b.eq LBB6_21
; %bb.3: ; in Loop: Header=BB6_2 Depth=1
cmp w8, #2
b.ne LBB6_56
; %bb.4: ; in Loop: Header=BB6_2 Depth=1
Lloh92:
adrp x0, l_str.46@PAGE
Lloh93:
add x0, x0, l_str.46@PAGEOFF
bl _puts
LBB6_5: ; Parent Loop BB6_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB6_6 Depth 3
ldr x2, [x21]
mov x0, x19
mov w1, #31
bl _fgets
mov x8, #0
LBB6_6: ; Parent Loop BB6_2 Depth=1
; Parent Loop BB6_5 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w9, [x19, x8]
cmp w9, #10
b.eq LBB6_8
; %bb.7: ; in Loop: Header=BB6_6 Depth=3
add x8, x8, #1
cmp x8, #31
b.ne LBB6_6
b LBB6_9
LBB6_8: ; in Loop: Header=BB6_5 Depth=2
strb wzr, [x19, x8]
LBB6_9: ; in Loop: Header=BB6_5 Depth=2
mov x0, x19
bl _strlen
sub x8, x0, #30
cmn x8, #28
b.hs LBB6_12
; %bb.10: ; in Loop: Header=BB6_5 Depth=2
Lloh94:
adrp x0, l_.str.28@PAGE
Lloh95:
add x0, x0, l_.str.28@PAGEOFF
bl _printf
Lloh96:
adrp x0, l_.str.29@PAGE
Lloh97:
add x0, x0, l_.str.29@PAGEOFF
bl _printf
b LBB6_5
LBB6_11: ; in Loop: Header=BB6_12 Depth=2
Lloh98:
adrp x0, l_.str.31@PAGE
Lloh99:
add x0, x0, l_.str.31@PAGEOFF
bl _printf
LBB6_12: ; Parent Loop BB6_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB6_13 Depth 3
; Child Loop BB6_16 Depth 3
Lloh100:
adrp x0, l_.str.30@PAGE
Lloh101:
add x0, x0, l_.str.30@PAGEOFF
bl _printf
mov x20, x23
LBB6_13: ; Parent Loop BB6_2 Depth=1
; Parent Loop BB6_12 Depth=2
; => This Inner Loop Header: Depth=3
add x1, sp, #136
mov w0, #0
bl _tcgetattr
ldur q0, [sp, #168]
ldur q1, [sp, #184]
stp q0, q1, [sp, #96]
ldr x8, [sp, #200]
str x8, [sp, #128]
ldur q0, [sp, #152]
ldur q1, [sp, #136]
stp q1, q0, [sp, #64]
ldr x8, [sp, #88]
and x8, x8, x22
str x8, [sp, #88]
add x2, sp, #64
mov w0, #0
mov w1, #0
bl _tcsetattr
bl _getchar
mov x26, x0
add x2, sp, #136
mov w0, #0
mov w1, #0
bl _tcsetattr
strb w26, [x20]
cmp w26, #10
b.eq LBB6_15
; %bb.14: ; in Loop: Header=BB6_13 Depth=3
mov w0, #42
bl _putchar
add x20, x20, #1
b LBB6_13
LBB6_15: ; in Loop: Header=BB6_12 Depth=2
mov x8, #0
LBB6_16: ; Parent Loop BB6_2 Depth=1
; Parent Loop BB6_12 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w9, [x23, x8]
cmp w9, #10
b.eq LBB6_18
; %bb.17: ; in Loop: Header=BB6_16 Depth=3
add x8, x8, #1
cmp x8, #31
b.ne LBB6_16
b LBB6_19
LBB6_18: ; in Loop: Header=BB6_12 Depth=2
strb wzr, [x23, x8]
LBB6_19: ; in Loop: Header=BB6_12 Depth=2
mov w0, #10
bl _putchar
mov x0, x23
bl _strlen
sub x8, x0, #30
cmn x8, #26
b.lo LBB6_11
; %bb.20: ; in Loop: Header=BB6_2 Depth=1
Lloh102:
adrp x0, l_str.47@PAGE
Lloh103:
add x0, x0, l_str.47@PAGEOFF
bl _puts
mov w26, #1
b LBB6_2
LBB6_21: ; in Loop: Header=BB6_2 Depth=1
Lloh104:
adrp x0, l_str.48@PAGE
Lloh105:
add x0, x0, l_str.48@PAGEOFF
bl _puts
mov w28, #0
b LBB6_24
LBB6_22: ; in Loop: Header=BB6_24 Depth=2
mov x26, x20
LBB6_23: ; in Loop: Header=BB6_24 Depth=2
Lloh106:
adrp x0, l_.str.21@PAGE
Lloh107:
add x0, x0, l_.str.21@PAGEOFF
bl _printf
LBB6_24: ; Parent Loop BB6_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB6_26 Depth 3
ldr x2, [x21]
mov x0, x24
mov w1, #31
bl _fgets
cbz x0, LBB6_23
; %bb.25: ; in Loop: Header=BB6_24 Depth=2
mov x8, #0
LBB6_26: ; Parent Loop BB6_2 Depth=1
; Parent Loop BB6_24 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w9, [x24, x8]
cmp w9, #10
b.eq LBB6_28
; %bb.27: ; in Loop: Header=BB6_26 Depth=3
add x8, x8, #1
cmp x8, #31
b.ne LBB6_26
b LBB6_29
LBB6_28: ; in Loop: Header=BB6_24 Depth=2
strb wzr, [x24, x8]
LBB6_29: ; in Loop: Header=BB6_24 Depth=2
mov x0, x24
bl _strlen
sub x8, x0, #30
cmn x8, #29
b.hi LBB6_32
; %bb.30: ; in Loop: Header=BB6_24 Depth=2
add w20, w26, #1
cmp w26, #1
b.gt LBB6_34
; %bb.31: ; in Loop: Header=BB6_24 Depth=2
cbnz w20, LBB6_35
b LBB6_36
LBB6_32: ; in Loop: Header=BB6_24 Depth=2
mov x0, x19
mov x1, x24
bl _strcmp
cbz w0, LBB6_37
; %bb.33: ; in Loop: Header=BB6_24 Depth=2
mov w20, #1
LBB6_34: ; in Loop: Header=BB6_24 Depth=2
Lloh108:
adrp x0, l_.str.20@PAGE
Lloh109:
add x0, x0, l_.str.20@PAGEOFF
bl _printf
add w28, w28, #1
cbz w20, LBB6_36
LBB6_35: ; in Loop: Header=BB6_24 Depth=2
cmp w28, #3
b.lt LBB6_22
LBB6_36: ; in Loop: Header=BB6_2 Depth=1
cmp w28, #2
b.le LBB6_38
b LBB6_1
LBB6_37: ; in Loop: Header=BB6_2 Depth=1
mov w20, #0
cmp w28, #2
b.gt LBB6_1
LBB6_38: ; Parent Loop BB6_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB6_39 Depth 3
; Child Loop BB6_42 Depth 3
Lloh110:
adrp x0, l_.str.23@PAGE
Lloh111:
add x0, x0, l_.str.23@PAGEOFF
bl _printf
mov x27, x25
LBB6_39: ; Parent Loop BB6_2 Depth=1
; Parent Loop BB6_38 Depth=2
; => This Inner Loop Header: Depth=3
add x1, sp, #136
mov w0, #0
bl _tcgetattr
ldur q0, [sp, #168]
ldur q1, [sp, #184]
stp q0, q1, [sp, #96]
ldr x8, [sp, #200]
str x8, [sp, #128]
ldur q0, [sp, #152]
ldur q1, [sp, #136]
stp q1, q0, [sp, #64]
ldr x8, [sp, #88]
and x8, x8, x22
str x8, [sp, #88]
add x2, sp, #64
mov w0, #0
mov w1, #0
bl _tcsetattr
bl _getchar
mov x26, x0
add x2, sp, #136
mov w0, #0
mov w1, #0
bl _tcsetattr
strb w26, [x27]
cmp w26, #10
b.eq LBB6_41
; %bb.40: ; in Loop: Header=BB6_39 Depth=3
mov w0, #42
bl _putchar
add x27, x27, #1
b LBB6_39
LBB6_41: ; in Loop: Header=BB6_38 Depth=2
mov x8, #0
LBB6_42: ; Parent Loop BB6_2 Depth=1
; Parent Loop BB6_38 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w9, [x25, x8]
cmp w9, #10
b.eq LBB6_44
; %bb.43: ; in Loop: Header=BB6_42 Depth=3
add x8, x8, #1
cmp x8, #31
b.ne LBB6_42
b LBB6_45
LBB6_44: ; in Loop: Header=BB6_38 Depth=2
strb wzr, [x25, x8]
LBB6_45: ; in Loop: Header=BB6_38 Depth=2
mov w0, #10
bl _putchar
mov x0, x23
mov x1, x25
bl _strcmp
cbz w0, LBB6_48
; %bb.46: ; in Loop: Header=BB6_38 Depth=2
Lloh112:
adrp x0, l_.str.26@PAGE
Lloh113:
add x0, x0, l_.str.26@PAGEOFF
bl _printf
add w28, w28, #1
cmp w28, #3
b.ne LBB6_38
; %bb.47: ; in Loop: Header=BB6_2 Depth=1
Lloh114:
adrp x27, l_str.44@PAGE
Lloh115:
add x27, x27, l_str.44@PAGEOFF
b LBB6_1
LBB6_48:
str x19, [sp]
Lloh116:
adrp x0, l_.str.15@PAGE
Lloh117:
add x0, x0, l_.str.15@PAGEOFF
bl _printf
mov w21, #2
mov w0, #2
bl _sleep
mov w0, #2
mov w1, #1
mov w2, #0
bl _socket
adrp x20, _sockfd@PAGE
str w0, [x20, _sockfd@PAGEOFF]
cmn w0, #1
b.eq LBB6_60
; %bb.49:
mov w8, #16
stp w8, w8, [sp, #52]
stp xzr, xzr, [sp, #136]
stp xzr, xzr, [sp, #64]
strb w21, [sp, #137]
Lloh118:
adrp x0, l_.str.35@PAGE
Lloh119:
add x0, x0, l_.str.35@PAGEOFF
bl _inet_addr
str w0, [sp, #140]
mov w8, #47138
strh w8, [sp, #138]
ldr w0, [x20, _sockfd@PAGEOFF]
add x1, sp, #136
mov w2, #16
bl _connect
cmn w0, #1
b.eq LBB6_61
; %bb.50:
ldr w0, [x20, _sockfd@PAGEOFF]
add x1, sp, #64
add x2, sp, #52
bl _getsockname
ldr w0, [x20, _sockfd@PAGEOFF]
add x1, sp, #136
add x2, sp, #56
bl _getpeername
ldr w0, [sp, #140]
bl _inet_ntoa
ldrh w8, [sp, #138]
rev w8, w8
lsr w8, w8, #16
stp x0, x8, [sp]
Lloh120:
adrp x0, l_.str.37@PAGE
Lloh121:
add x0, x0, l_.str.37@PAGEOFF
bl _printf
ldr w0, [sp, #68]
bl _inet_ntoa
ldrh w8, [sp, #66]
rev w8, w8
lsr w8, w8, #16
stp x19, x0, [sp]
str x8, [sp, #16]
Lloh122:
adrp x0, l_.str.38@PAGE
Lloh123:
add x0, x0, l_.str.38@PAGEOFF
bl _printf
Lloh124:
adrp x0, l_str.49@PAGE
Lloh125:
add x0, x0, l_str.49@PAGEOFF
bl _puts
Lloh126:
adrp x0, l_str.50@PAGE
Lloh127:
add x0, x0, l_str.50@PAGEOFF
bl _puts
Lloh128:
adrp x0, l_.str.41@PAGE
Lloh129:
add x0, x0, l_.str.41@PAGEOFF
bl _printf
ldr w0, [x20, _sockfd@PAGEOFF]
mov x1, x19
mov w2, #31
mov w3, #0
bl _send
Lloh130:
adrp x2, _send_msg_handler@PAGE
Lloh131:
add x2, x2, _send_msg_handler@PAGEOFF
add x0, sp, #40
mov x1, #0
mov x3, #0
bl _pthread_create
cbnz w0, LBB6_59
; %bb.51:
Lloh132:
adrp x2, _recv_msg_handler@PAGE
Lloh133:
add x2, x2, _recv_msg_handler@PAGEOFF
add x0, sp, #32
mov x1, #0
mov x3, #0
bl _pthread_create
cbnz w0, LBB6_59
; %bb.52:
adrp x8, _flag@PAGE
LBB6_53: ; =>This Inner Loop Header: Depth=1
ldr w9, [x8, _flag@PAGEOFF]
cbz w9, LBB6_53
; %bb.54:
Lloh134:
adrp x0, l_str.51@PAGE
Lloh135:
add x0, x0, l_str.51@PAGEOFF
bl _puts
ldr w0, [x20, _sockfd@PAGEOFF]
bl _close
ldur x8, [x29, #-96]
Lloh136:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh137:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh138:
ldr x9, [x9]
cmp x9, x8
b.ne LBB6_63
; %bb.55:
mov w0, #0
ldp x29, x30, [sp, #304] ; 16-byte Folded Reload
ldp x20, x19, [sp, #288] ; 16-byte Folded Reload
ldp x22, x21, [sp, #272] ; 16-byte Folded Reload
ldp x24, x23, [sp, #256] ; 16-byte Folded Reload
ldp x26, x25, [sp, #240] ; 16-byte Folded Reload
ldp x28, x27, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #320
ret
LBB6_56:
cmp w8, #3
b.ne LBB6_58
; %bb.57:
mov w0, #1
bl _exit
LBB6_58:
Lloh139:
adrp x0, l_str.45@PAGE
Lloh140:
add x0, x0, l_str.45@PAGEOFF
b LBB6_62
LBB6_59:
Lloh141:
adrp x0, l_str.53@PAGE
Lloh142:
add x0, x0, l_str.53@PAGEOFF
b LBB6_62
LBB6_60:
Lloh143:
adrp x0, l_.str.34@PAGE
Lloh144:
add x0, x0, l_.str.34@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB6_61:
Lloh145:
adrp x0, l_str.54@PAGE
Lloh146:
add x0, x0, l_str.54@PAGEOFF
LBB6_62:
bl _puts
mov w0, #1
bl _exit
LBB6_63:
bl ___stack_chk_fail
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpLdrGot Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh116, Lloh117
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpAdd Lloh126, Lloh127
.loh AdrpAdd Lloh124, Lloh125
.loh AdrpAdd Lloh122, Lloh123
.loh AdrpAdd Lloh120, Lloh121
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpLdrGotLdr Lloh136, Lloh137, Lloh138
.loh AdrpAdd Lloh134, Lloh135
.loh AdrpAdd Lloh139, Lloh140
.loh AdrpAdd Lloh141, Lloh142
.loh AdrpAdd Lloh143, Lloh144
.loh AdrpAdd Lloh145, Lloh146
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function send_msg_handler.cold.1
_send_msg_handler.cold.1: ; @send_msg_handler.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh147:
adrp x0, l_.str.9@PAGE
Lloh148:
add x0, x0, l_.str.9@PAGEOFF
bl _perror
mov w0, #1
bl _exit
.loh AdrpAdd Lloh147, Lloh148
.cfi_endproc
; -- End function
.globl _flag ; @flag
.zerofill __DATA,__common,_flag,4,2
.globl _sockfd ; @sockfd
.zerofill __DATA,__common,_sockfd,4,2
.globl _nickname ; @nickname
.zerofill __DATA,__common,_nickname,31,0
.globl _checkname ; @checkname
.zerofill __DATA,__common,_checkname,31,0
.globl _password ; @password
.zerofill __DATA,__common,_password,31,0
.globl _checkpassword ; @checkpassword
.zerofill __DATA,__common,_checkpassword,31,0
.section __DATA,__data
.globl _req_acc ; @req_acc
_req_acc:
.asciz "REQACCESS "
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\r%s"
l_.str.1: ; @.str.1
.asciz "> "
l_.str.2: ; @.str.2
.asciz "\r%s\n"
.comm _found,8,3 ; @found
l_.str.3: ; @.str.3
.asciz "%s > test.txt"
l_.str.4: ; @.str.4
.asciz "Requesting access from '%d' Command: '%s'\n"
l_.str.6: ; @.str.6
.asciz "exit"
l_.str.7: ; @.str.7
.asciz "yes"
l_.str.8: ; @.str.8
.asciz "test.txt"
l_.str.9: ; @.str.9
.asciz "Error in opening file"
l_.str.10: ; @.str.10
.asciz "fuck"
l_.str.11: ; @.str.11
.asciz "shit"
l_.str.12: ; @.str.12
.asciz "asshole"
l_.str.13: ; @.str.13
.asciz "pussy"
l_.str.14: ; @.str.14
.asciz "Abusive/swear word has been detected! You have been kicked out!"
l_.str.15: ; @.str.15
.asciz "\033[32;1m\t> %s is successfully logged-in.\n \tConnecting to the server...\n\033[0m"
l_.str.17: ; @.str.17
.asciz "\t* 1. Log-in\t\t\t *\n\t* 2. Sign-up\t\t\t *\n\t* 3. Exit \t\t\t *\n\t\033[33;1m***********************************\033[31;1m\n\t>\033[0m"
l_.str.18: ; @.str.18
.asciz "%d"
l_.str.20: ; @.str.20
.asciz "\033[31;1m\tIncorrect username!\n\033[0m"
l_.str.21: ; @.str.21
.asciz "\tUsername:"
l_.str.22: ; @.str.22
.asciz "\033[31;1m\tIncorrect log-in limit (3) is exceeded!\n\033[0m"
l_.str.23: ; @.str.23
.asciz "\tPassword:"
l_.str.26: ; @.str.26
.asciz "\033[31;1m\t*Incorrect password!\n\033[0m"
l_.str.28: ; @.str.28
.asciz "\033[31;1m\t\n*Username must be more than one and less than thirty characters.\n\033[0m"
l_.str.29: ; @.str.29
.asciz "Please enter your username: "
l_.str.30: ; @.str.30
.asciz "Please enter your password: "
l_.str.31: ; @.str.31
.asciz "\033[31;1m\t\n*Password must be more than four and less than thirty characters.\n\033[0m"
l_.str.34: ; @.str.34
.asciz "Fail to create a socket."
l_.str.35: ; @.str.35
.asciz "127.0.0.1"
l_.str.37: ; @.str.37
.asciz "Connected to Server: %s Port:%d\n"
l_.str.38: ; @.str.38
.asciz "Current user: %s %s:%d\n"
l_.str.41: ; @.str.41
.asciz "2:Use this pattern for requesting access to different client!\n REQACCESS username command\n\033[0m"
l_str: ; @str
.asciz "Would you like to proceed with the certain request(Y/N)?"
l_str.44: ; @str.44
.asciz "\033[33;1m\n\n\t************* \033[32;1mLINK_US\033[33;1m *************\033[0m\n\t*\t\tMENU\t\t *"
l_str.45: ; @str.45
.asciz "Incorrect option!"
l_str.46: ; @str.46
.asciz "\t\t*** Sign-up ***"
l_str.47: ; @str.47
.asciz "Account is successfully created. Log-in to connect to the server"
l_str.48: ; @str.48
.asciz "\t\t*** Log-in ***\n"
l_str.49: ; @str.49
.asciz "\033[32;1mThere are two rules you need to abide by:"
l_str.50: ; @str.50
.asciz "\033[31;1m1: Don't use abusive language!"
l_str.51: ; @str.51
.asciz "\nBye"
l_str.53: ; @str.53
.asciz "Create pthread error!"
l_str.54: ; @str.54
.asciz "Connection to Server error!"
.subsections_via_symbols
| the_stack_data/165767051.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function archinfo
_archinfo: ## @archinfo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $4, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _archinfo
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function archinfo
_archinfo: ; @archinfo
.cfi_startproc
; %bb.0:
mov w0, #4
ret
.cfi_endproc
; -- End function
.no_dead_strip _archinfo
.subsections_via_symbols
| AnghaBench/radare2/libr/anal/p/extr_anal_sparc_gnu.c_archinfo.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ijkmp_set_weak_thiz ## -- Begin function ijkmp_set_weak_thiz
.p2align 4, 0x90
_ijkmp_set_weak_thiz: ## @ijkmp_set_weak_thiz
.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
movq %rsi, (%rdi)
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 _ijkmp_set_weak_thiz ; -- Begin function ijkmp_set_weak_thiz
.p2align 2
_ijkmp_set_weak_thiz: ; @ijkmp_set_weak_thiz
.cfi_startproc
; %bb.0:
ldr x8, [x0]
str x1, [x0]
mov x0, x8
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ijkplayer.c_ijkmp_set_weak_thiz.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function setJoinExpr
_setJoinExpr: ## @setJoinExpr
.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
testq %rdi, %rdi
je LBB0_8
## %bb.1:
movl %esi, %r14d
movq %rdi, %rbx
movslq %esi, %r15
movq _TK_FUNCTION@GOTPCREL(%rip), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movq 16(%rbx), %rdi
movl %r14d, %esi
callq _setJoinExpr
movq 8(%rbx), %rbx
testq %rbx, %rbx
je LBB0_8
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq _EP_FromJoin@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _ExprSetProperty
movq _EP_Reduced@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _EP_TokenOnly@GOTPCREL(%rip), %rax
orl (%rax), %esi
movq %rbx, %rdi
callq _ExprHasProperty
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _assert
movq _EP_NoReduce@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _ExprSetVVAProperty
movq %r15, 32(%rbx)
movq (%rbx), %rax
cmpq (%r12), %rax
jne LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq 24(%rbx), %rax
testq %rax, %rax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, (%rax)
jle LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%rax), %rax
movq (%rax,%r13,8), %rdi
movl %r14d, %esi
callq _setJoinExpr
incq %r13
movq 24(%rbx), %rax
movslq (%rax), %rcx
cmpq %rcx, %r13
jl LBB0_6
jmp LBB0_7
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EP_FromJoin,4,2 ## @EP_FromJoin
.comm _EP_TokenOnly,4,2 ## @EP_TokenOnly
.comm _EP_Reduced,4,2 ## @EP_Reduced
.comm _EP_NoReduce,4,2 ## @EP_NoReduce
.comm _TK_FUNCTION,8,3 ## @TK_FUNCTION
.no_dead_strip _setJoinExpr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function setJoinExpr
_setJoinExpr: ; @setJoinExpr
.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
cbz x0, LBB0_8
; %bb.1:
mov x19, x1
mov x20, x0
sxtw x21, w19
Lloh0:
adrp x22, _EP_FromJoin@GOTPAGE
Lloh1:
ldr x22, [x22, _EP_FromJoin@GOTPAGEOFF]
Lloh2:
adrp x23, _EP_TokenOnly@GOTPAGE
Lloh3:
ldr x23, [x23, _EP_TokenOnly@GOTPAGEOFF]
Lloh4:
adrp x24, _EP_Reduced@GOTPAGE
Lloh5:
ldr x24, [x24, _EP_Reduced@GOTPAGEOFF]
Lloh6:
adrp x25, _EP_NoReduce@GOTPAGE
Lloh7:
ldr x25, [x25, _EP_NoReduce@GOTPAGEOFF]
Lloh8:
adrp x26, _TK_FUNCTION@GOTPAGE
Lloh9:
ldr x26, [x26, _TK_FUNCTION@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x20, #16]
mov x1, x19
bl _setJoinExpr
ldr x20, [x20, #8]
cbz x20, LBB0_8
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w1, [x22]
mov x0, x20
bl _ExprSetProperty
ldr w8, [x23]
ldr w9, [x24]
orr w1, w9, w8
mov x0, x20
bl _ExprHasProperty
cmp w0, #0
cset w0, eq
bl _assert
ldr w1, [x25]
mov x0, x20
bl _ExprSetVVAProperty
str x21, [x20, #32]
ldr x8, [x20]
ldr x9, [x26]
cmp x8, x9
b.ne LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x20, #24]
cbz x8, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [x8]
cmp w9, #1
b.lt LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x27, #0
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x8, #8]
ldr x0, [x8, x27, lsl #3]
mov x1, x19
bl _setJoinExpr
add x27, x27, #1
ldr x8, [x20, #24]
ldrsw x9, [x8]
cmp x27, x9
b.lt LBB0_7
b LBB0_2
LBB0_8:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _EP_FromJoin,4,2 ; @EP_FromJoin
.comm _EP_TokenOnly,4,2 ; @EP_TokenOnly
.comm _EP_Reduced,4,2 ; @EP_Reduced
.comm _EP_NoReduce,4,2 ; @EP_NoReduce
.comm _TK_FUNCTION,8,3 ; @TK_FUNCTION
.no_dead_strip _setJoinExpr
.subsections_via_symbols
| AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_setJoinExpr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _igc_clear_hw_cntrs_base ## -- Begin function igc_clear_hw_cntrs_base
.p2align 4, 0x90
_igc_clear_hw_cntrs_base: ## @igc_clear_hw_cntrs_base
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _IGC_CRCERRS@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_SYMERRS@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_MPC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_SCC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_ECOL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_MCC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_LATECOL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_COLC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_DC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_SEC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_RLEC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_XONRXC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_XONTXC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_XOFFRXC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_XOFFTXC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_FCRUC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_GPRC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_BPRC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_MPRC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_GPTC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_GORCL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_GORCH@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_GOTCL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_GOTCH@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_RNBC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_RUC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_RFC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_ROC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_RJC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_TORL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_TORH@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_TOTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_TOTH@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_TPR@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_TPT@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_MPTC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_BPTC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PRC64@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PRC127@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PRC255@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PRC511@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PRC1023@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PRC1522@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PTC64@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PTC127@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PTC255@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PTC511@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PTC1023@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_PTC1522@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_ALGNERRC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_RXERRC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_TNCRS@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_CEXTERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_TSCTC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_TSCTFC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_MGTPRC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_MGTPDC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_MGTPTC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_IAC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_ICRXOC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_ICRXPTC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_ICRXATC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_ICTXPTC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_ICTXATC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_ICTXQEC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_ICTXQMTC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_ICRXDMTC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_CBTMPC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_HTDPMC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_CBRMPC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_RPTHC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_HGPTC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_HTCBDPC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_HGORCL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_HGORCH@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_HGOTCL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_HGOTCH@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _rd32
movq _IGC_LENERRS@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _rd32 ## TAILCALL
.cfi_endproc
## -- End function
.comm _IGC_CRCERRS,4,2 ## @IGC_CRCERRS
.comm _IGC_SYMERRS,4,2 ## @IGC_SYMERRS
.comm _IGC_MPC,4,2 ## @IGC_MPC
.comm _IGC_SCC,4,2 ## @IGC_SCC
.comm _IGC_ECOL,4,2 ## @IGC_ECOL
.comm _IGC_MCC,4,2 ## @IGC_MCC
.comm _IGC_LATECOL,4,2 ## @IGC_LATECOL
.comm _IGC_COLC,4,2 ## @IGC_COLC
.comm _IGC_DC,4,2 ## @IGC_DC
.comm _IGC_SEC,4,2 ## @IGC_SEC
.comm _IGC_RLEC,4,2 ## @IGC_RLEC
.comm _IGC_XONRXC,4,2 ## @IGC_XONRXC
.comm _IGC_XONTXC,4,2 ## @IGC_XONTXC
.comm _IGC_XOFFRXC,4,2 ## @IGC_XOFFRXC
.comm _IGC_XOFFTXC,4,2 ## @IGC_XOFFTXC
.comm _IGC_FCRUC,4,2 ## @IGC_FCRUC
.comm _IGC_GPRC,4,2 ## @IGC_GPRC
.comm _IGC_BPRC,4,2 ## @IGC_BPRC
.comm _IGC_MPRC,4,2 ## @IGC_MPRC
.comm _IGC_GPTC,4,2 ## @IGC_GPTC
.comm _IGC_GORCL,4,2 ## @IGC_GORCL
.comm _IGC_GORCH,4,2 ## @IGC_GORCH
.comm _IGC_GOTCL,4,2 ## @IGC_GOTCL
.comm _IGC_GOTCH,4,2 ## @IGC_GOTCH
.comm _IGC_RNBC,4,2 ## @IGC_RNBC
.comm _IGC_RUC,4,2 ## @IGC_RUC
.comm _IGC_RFC,4,2 ## @IGC_RFC
.comm _IGC_ROC,4,2 ## @IGC_ROC
.comm _IGC_RJC,4,2 ## @IGC_RJC
.comm _IGC_TORL,4,2 ## @IGC_TORL
.comm _IGC_TORH,4,2 ## @IGC_TORH
.comm _IGC_TOTL,4,2 ## @IGC_TOTL
.comm _IGC_TOTH,4,2 ## @IGC_TOTH
.comm _IGC_TPR,4,2 ## @IGC_TPR
.comm _IGC_TPT,4,2 ## @IGC_TPT
.comm _IGC_MPTC,4,2 ## @IGC_MPTC
.comm _IGC_BPTC,4,2 ## @IGC_BPTC
.comm _IGC_PRC64,4,2 ## @IGC_PRC64
.comm _IGC_PRC127,4,2 ## @IGC_PRC127
.comm _IGC_PRC255,4,2 ## @IGC_PRC255
.comm _IGC_PRC511,4,2 ## @IGC_PRC511
.comm _IGC_PRC1023,4,2 ## @IGC_PRC1023
.comm _IGC_PRC1522,4,2 ## @IGC_PRC1522
.comm _IGC_PTC64,4,2 ## @IGC_PTC64
.comm _IGC_PTC127,4,2 ## @IGC_PTC127
.comm _IGC_PTC255,4,2 ## @IGC_PTC255
.comm _IGC_PTC511,4,2 ## @IGC_PTC511
.comm _IGC_PTC1023,4,2 ## @IGC_PTC1023
.comm _IGC_PTC1522,4,2 ## @IGC_PTC1522
.comm _IGC_ALGNERRC,4,2 ## @IGC_ALGNERRC
.comm _IGC_RXERRC,4,2 ## @IGC_RXERRC
.comm _IGC_TNCRS,4,2 ## @IGC_TNCRS
.comm _IGC_CEXTERR,4,2 ## @IGC_CEXTERR
.comm _IGC_TSCTC,4,2 ## @IGC_TSCTC
.comm _IGC_TSCTFC,4,2 ## @IGC_TSCTFC
.comm _IGC_MGTPRC,4,2 ## @IGC_MGTPRC
.comm _IGC_MGTPDC,4,2 ## @IGC_MGTPDC
.comm _IGC_MGTPTC,4,2 ## @IGC_MGTPTC
.comm _IGC_IAC,4,2 ## @IGC_IAC
.comm _IGC_ICRXOC,4,2 ## @IGC_ICRXOC
.comm _IGC_ICRXPTC,4,2 ## @IGC_ICRXPTC
.comm _IGC_ICRXATC,4,2 ## @IGC_ICRXATC
.comm _IGC_ICTXPTC,4,2 ## @IGC_ICTXPTC
.comm _IGC_ICTXATC,4,2 ## @IGC_ICTXATC
.comm _IGC_ICTXQEC,4,2 ## @IGC_ICTXQEC
.comm _IGC_ICTXQMTC,4,2 ## @IGC_ICTXQMTC
.comm _IGC_ICRXDMTC,4,2 ## @IGC_ICRXDMTC
.comm _IGC_CBTMPC,4,2 ## @IGC_CBTMPC
.comm _IGC_HTDPMC,4,2 ## @IGC_HTDPMC
.comm _IGC_CBRMPC,4,2 ## @IGC_CBRMPC
.comm _IGC_RPTHC,4,2 ## @IGC_RPTHC
.comm _IGC_HGPTC,4,2 ## @IGC_HGPTC
.comm _IGC_HTCBDPC,4,2 ## @IGC_HTCBDPC
.comm _IGC_HGORCL,4,2 ## @IGC_HGORCL
.comm _IGC_HGORCH,4,2 ## @IGC_HGORCH
.comm _IGC_HGOTCL,4,2 ## @IGC_HGOTCL
.comm _IGC_HGOTCH,4,2 ## @IGC_HGOTCH
.comm _IGC_LENERRS,4,2 ## @IGC_LENERRS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _igc_clear_hw_cntrs_base ; -- Begin function igc_clear_hw_cntrs_base
.p2align 2
_igc_clear_hw_cntrs_base: ; @igc_clear_hw_cntrs_base
.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 x8, _IGC_CRCERRS@GOTPAGE
Lloh1:
ldr x8, [x8, _IGC_CRCERRS@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _rd32
Lloh3:
adrp x8, _IGC_SYMERRS@GOTPAGE
Lloh4:
ldr x8, [x8, _IGC_SYMERRS@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _rd32
Lloh6:
adrp x8, _IGC_MPC@GOTPAGE
Lloh7:
ldr x8, [x8, _IGC_MPC@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
bl _rd32
Lloh9:
adrp x8, _IGC_SCC@GOTPAGE
Lloh10:
ldr x8, [x8, _IGC_SCC@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
bl _rd32
Lloh12:
adrp x8, _IGC_ECOL@GOTPAGE
Lloh13:
ldr x8, [x8, _IGC_ECOL@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
bl _rd32
Lloh15:
adrp x8, _IGC_MCC@GOTPAGE
Lloh16:
ldr x8, [x8, _IGC_MCC@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
bl _rd32
Lloh18:
adrp x8, _IGC_LATECOL@GOTPAGE
Lloh19:
ldr x8, [x8, _IGC_LATECOL@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
bl _rd32
Lloh21:
adrp x8, _IGC_COLC@GOTPAGE
Lloh22:
ldr x8, [x8, _IGC_COLC@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
bl _rd32
Lloh24:
adrp x8, _IGC_DC@GOTPAGE
Lloh25:
ldr x8, [x8, _IGC_DC@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
bl _rd32
Lloh27:
adrp x8, _IGC_SEC@GOTPAGE
Lloh28:
ldr x8, [x8, _IGC_SEC@GOTPAGEOFF]
Lloh29:
ldr w0, [x8]
bl _rd32
Lloh30:
adrp x8, _IGC_RLEC@GOTPAGE
Lloh31:
ldr x8, [x8, _IGC_RLEC@GOTPAGEOFF]
Lloh32:
ldr w0, [x8]
bl _rd32
Lloh33:
adrp x8, _IGC_XONRXC@GOTPAGE
Lloh34:
ldr x8, [x8, _IGC_XONRXC@GOTPAGEOFF]
Lloh35:
ldr w0, [x8]
bl _rd32
Lloh36:
adrp x8, _IGC_XONTXC@GOTPAGE
Lloh37:
ldr x8, [x8, _IGC_XONTXC@GOTPAGEOFF]
Lloh38:
ldr w0, [x8]
bl _rd32
Lloh39:
adrp x8, _IGC_XOFFRXC@GOTPAGE
Lloh40:
ldr x8, [x8, _IGC_XOFFRXC@GOTPAGEOFF]
Lloh41:
ldr w0, [x8]
bl _rd32
Lloh42:
adrp x8, _IGC_XOFFTXC@GOTPAGE
Lloh43:
ldr x8, [x8, _IGC_XOFFTXC@GOTPAGEOFF]
Lloh44:
ldr w0, [x8]
bl _rd32
Lloh45:
adrp x8, _IGC_FCRUC@GOTPAGE
Lloh46:
ldr x8, [x8, _IGC_FCRUC@GOTPAGEOFF]
Lloh47:
ldr w0, [x8]
bl _rd32
Lloh48:
adrp x8, _IGC_GPRC@GOTPAGE
Lloh49:
ldr x8, [x8, _IGC_GPRC@GOTPAGEOFF]
Lloh50:
ldr w0, [x8]
bl _rd32
Lloh51:
adrp x8, _IGC_BPRC@GOTPAGE
Lloh52:
ldr x8, [x8, _IGC_BPRC@GOTPAGEOFF]
Lloh53:
ldr w0, [x8]
bl _rd32
Lloh54:
adrp x8, _IGC_MPRC@GOTPAGE
Lloh55:
ldr x8, [x8, _IGC_MPRC@GOTPAGEOFF]
Lloh56:
ldr w0, [x8]
bl _rd32
Lloh57:
adrp x8, _IGC_GPTC@GOTPAGE
Lloh58:
ldr x8, [x8, _IGC_GPTC@GOTPAGEOFF]
Lloh59:
ldr w0, [x8]
bl _rd32
Lloh60:
adrp x8, _IGC_GORCL@GOTPAGE
Lloh61:
ldr x8, [x8, _IGC_GORCL@GOTPAGEOFF]
Lloh62:
ldr w0, [x8]
bl _rd32
Lloh63:
adrp x8, _IGC_GORCH@GOTPAGE
Lloh64:
ldr x8, [x8, _IGC_GORCH@GOTPAGEOFF]
Lloh65:
ldr w0, [x8]
bl _rd32
Lloh66:
adrp x8, _IGC_GOTCL@GOTPAGE
Lloh67:
ldr x8, [x8, _IGC_GOTCL@GOTPAGEOFF]
Lloh68:
ldr w0, [x8]
bl _rd32
Lloh69:
adrp x8, _IGC_GOTCH@GOTPAGE
Lloh70:
ldr x8, [x8, _IGC_GOTCH@GOTPAGEOFF]
Lloh71:
ldr w0, [x8]
bl _rd32
Lloh72:
adrp x8, _IGC_RNBC@GOTPAGE
Lloh73:
ldr x8, [x8, _IGC_RNBC@GOTPAGEOFF]
Lloh74:
ldr w0, [x8]
bl _rd32
Lloh75:
adrp x8, _IGC_RUC@GOTPAGE
Lloh76:
ldr x8, [x8, _IGC_RUC@GOTPAGEOFF]
Lloh77:
ldr w0, [x8]
bl _rd32
Lloh78:
adrp x8, _IGC_RFC@GOTPAGE
Lloh79:
ldr x8, [x8, _IGC_RFC@GOTPAGEOFF]
Lloh80:
ldr w0, [x8]
bl _rd32
Lloh81:
adrp x8, _IGC_ROC@GOTPAGE
Lloh82:
ldr x8, [x8, _IGC_ROC@GOTPAGEOFF]
Lloh83:
ldr w0, [x8]
bl _rd32
Lloh84:
adrp x8, _IGC_RJC@GOTPAGE
Lloh85:
ldr x8, [x8, _IGC_RJC@GOTPAGEOFF]
Lloh86:
ldr w0, [x8]
bl _rd32
Lloh87:
adrp x8, _IGC_TORL@GOTPAGE
Lloh88:
ldr x8, [x8, _IGC_TORL@GOTPAGEOFF]
Lloh89:
ldr w0, [x8]
bl _rd32
Lloh90:
adrp x8, _IGC_TORH@GOTPAGE
Lloh91:
ldr x8, [x8, _IGC_TORH@GOTPAGEOFF]
Lloh92:
ldr w0, [x8]
bl _rd32
Lloh93:
adrp x8, _IGC_TOTL@GOTPAGE
Lloh94:
ldr x8, [x8, _IGC_TOTL@GOTPAGEOFF]
Lloh95:
ldr w0, [x8]
bl _rd32
Lloh96:
adrp x8, _IGC_TOTH@GOTPAGE
Lloh97:
ldr x8, [x8, _IGC_TOTH@GOTPAGEOFF]
Lloh98:
ldr w0, [x8]
bl _rd32
Lloh99:
adrp x8, _IGC_TPR@GOTPAGE
Lloh100:
ldr x8, [x8, _IGC_TPR@GOTPAGEOFF]
Lloh101:
ldr w0, [x8]
bl _rd32
Lloh102:
adrp x8, _IGC_TPT@GOTPAGE
Lloh103:
ldr x8, [x8, _IGC_TPT@GOTPAGEOFF]
Lloh104:
ldr w0, [x8]
bl _rd32
Lloh105:
adrp x8, _IGC_MPTC@GOTPAGE
Lloh106:
ldr x8, [x8, _IGC_MPTC@GOTPAGEOFF]
Lloh107:
ldr w0, [x8]
bl _rd32
Lloh108:
adrp x8, _IGC_BPTC@GOTPAGE
Lloh109:
ldr x8, [x8, _IGC_BPTC@GOTPAGEOFF]
Lloh110:
ldr w0, [x8]
bl _rd32
Lloh111:
adrp x8, _IGC_PRC64@GOTPAGE
Lloh112:
ldr x8, [x8, _IGC_PRC64@GOTPAGEOFF]
Lloh113:
ldr w0, [x8]
bl _rd32
Lloh114:
adrp x8, _IGC_PRC127@GOTPAGE
Lloh115:
ldr x8, [x8, _IGC_PRC127@GOTPAGEOFF]
Lloh116:
ldr w0, [x8]
bl _rd32
Lloh117:
adrp x8, _IGC_PRC255@GOTPAGE
Lloh118:
ldr x8, [x8, _IGC_PRC255@GOTPAGEOFF]
Lloh119:
ldr w0, [x8]
bl _rd32
Lloh120:
adrp x8, _IGC_PRC511@GOTPAGE
Lloh121:
ldr x8, [x8, _IGC_PRC511@GOTPAGEOFF]
Lloh122:
ldr w0, [x8]
bl _rd32
Lloh123:
adrp x8, _IGC_PRC1023@GOTPAGE
Lloh124:
ldr x8, [x8, _IGC_PRC1023@GOTPAGEOFF]
Lloh125:
ldr w0, [x8]
bl _rd32
Lloh126:
adrp x8, _IGC_PRC1522@GOTPAGE
Lloh127:
ldr x8, [x8, _IGC_PRC1522@GOTPAGEOFF]
Lloh128:
ldr w0, [x8]
bl _rd32
Lloh129:
adrp x8, _IGC_PTC64@GOTPAGE
Lloh130:
ldr x8, [x8, _IGC_PTC64@GOTPAGEOFF]
Lloh131:
ldr w0, [x8]
bl _rd32
Lloh132:
adrp x8, _IGC_PTC127@GOTPAGE
Lloh133:
ldr x8, [x8, _IGC_PTC127@GOTPAGEOFF]
Lloh134:
ldr w0, [x8]
bl _rd32
Lloh135:
adrp x8, _IGC_PTC255@GOTPAGE
Lloh136:
ldr x8, [x8, _IGC_PTC255@GOTPAGEOFF]
Lloh137:
ldr w0, [x8]
bl _rd32
Lloh138:
adrp x8, _IGC_PTC511@GOTPAGE
Lloh139:
ldr x8, [x8, _IGC_PTC511@GOTPAGEOFF]
Lloh140:
ldr w0, [x8]
bl _rd32
Lloh141:
adrp x8, _IGC_PTC1023@GOTPAGE
Lloh142:
ldr x8, [x8, _IGC_PTC1023@GOTPAGEOFF]
Lloh143:
ldr w0, [x8]
bl _rd32
Lloh144:
adrp x8, _IGC_PTC1522@GOTPAGE
Lloh145:
ldr x8, [x8, _IGC_PTC1522@GOTPAGEOFF]
Lloh146:
ldr w0, [x8]
bl _rd32
Lloh147:
adrp x8, _IGC_ALGNERRC@GOTPAGE
Lloh148:
ldr x8, [x8, _IGC_ALGNERRC@GOTPAGEOFF]
Lloh149:
ldr w0, [x8]
bl _rd32
Lloh150:
adrp x8, _IGC_RXERRC@GOTPAGE
Lloh151:
ldr x8, [x8, _IGC_RXERRC@GOTPAGEOFF]
Lloh152:
ldr w0, [x8]
bl _rd32
Lloh153:
adrp x8, _IGC_TNCRS@GOTPAGE
Lloh154:
ldr x8, [x8, _IGC_TNCRS@GOTPAGEOFF]
Lloh155:
ldr w0, [x8]
bl _rd32
Lloh156:
adrp x8, _IGC_CEXTERR@GOTPAGE
Lloh157:
ldr x8, [x8, _IGC_CEXTERR@GOTPAGEOFF]
Lloh158:
ldr w0, [x8]
bl _rd32
Lloh159:
adrp x8, _IGC_TSCTC@GOTPAGE
Lloh160:
ldr x8, [x8, _IGC_TSCTC@GOTPAGEOFF]
Lloh161:
ldr w0, [x8]
bl _rd32
Lloh162:
adrp x8, _IGC_TSCTFC@GOTPAGE
Lloh163:
ldr x8, [x8, _IGC_TSCTFC@GOTPAGEOFF]
Lloh164:
ldr w0, [x8]
bl _rd32
Lloh165:
adrp x8, _IGC_MGTPRC@GOTPAGE
Lloh166:
ldr x8, [x8, _IGC_MGTPRC@GOTPAGEOFF]
Lloh167:
ldr w0, [x8]
bl _rd32
Lloh168:
adrp x8, _IGC_MGTPDC@GOTPAGE
Lloh169:
ldr x8, [x8, _IGC_MGTPDC@GOTPAGEOFF]
Lloh170:
ldr w0, [x8]
bl _rd32
Lloh171:
adrp x8, _IGC_MGTPTC@GOTPAGE
Lloh172:
ldr x8, [x8, _IGC_MGTPTC@GOTPAGEOFF]
Lloh173:
ldr w0, [x8]
bl _rd32
Lloh174:
adrp x8, _IGC_IAC@GOTPAGE
Lloh175:
ldr x8, [x8, _IGC_IAC@GOTPAGEOFF]
Lloh176:
ldr w0, [x8]
bl _rd32
Lloh177:
adrp x8, _IGC_ICRXOC@GOTPAGE
Lloh178:
ldr x8, [x8, _IGC_ICRXOC@GOTPAGEOFF]
Lloh179:
ldr w0, [x8]
bl _rd32
Lloh180:
adrp x8, _IGC_ICRXPTC@GOTPAGE
Lloh181:
ldr x8, [x8, _IGC_ICRXPTC@GOTPAGEOFF]
Lloh182:
ldr w0, [x8]
bl _rd32
Lloh183:
adrp x8, _IGC_ICRXATC@GOTPAGE
Lloh184:
ldr x8, [x8, _IGC_ICRXATC@GOTPAGEOFF]
Lloh185:
ldr w0, [x8]
bl _rd32
Lloh186:
adrp x8, _IGC_ICTXPTC@GOTPAGE
Lloh187:
ldr x8, [x8, _IGC_ICTXPTC@GOTPAGEOFF]
Lloh188:
ldr w0, [x8]
bl _rd32
Lloh189:
adrp x8, _IGC_ICTXATC@GOTPAGE
Lloh190:
ldr x8, [x8, _IGC_ICTXATC@GOTPAGEOFF]
Lloh191:
ldr w0, [x8]
bl _rd32
Lloh192:
adrp x8, _IGC_ICTXQEC@GOTPAGE
Lloh193:
ldr x8, [x8, _IGC_ICTXQEC@GOTPAGEOFF]
Lloh194:
ldr w0, [x8]
bl _rd32
Lloh195:
adrp x8, _IGC_ICTXQMTC@GOTPAGE
Lloh196:
ldr x8, [x8, _IGC_ICTXQMTC@GOTPAGEOFF]
Lloh197:
ldr w0, [x8]
bl _rd32
Lloh198:
adrp x8, _IGC_ICRXDMTC@GOTPAGE
Lloh199:
ldr x8, [x8, _IGC_ICRXDMTC@GOTPAGEOFF]
Lloh200:
ldr w0, [x8]
bl _rd32
Lloh201:
adrp x8, _IGC_CBTMPC@GOTPAGE
Lloh202:
ldr x8, [x8, _IGC_CBTMPC@GOTPAGEOFF]
Lloh203:
ldr w0, [x8]
bl _rd32
Lloh204:
adrp x8, _IGC_HTDPMC@GOTPAGE
Lloh205:
ldr x8, [x8, _IGC_HTDPMC@GOTPAGEOFF]
Lloh206:
ldr w0, [x8]
bl _rd32
Lloh207:
adrp x8, _IGC_CBRMPC@GOTPAGE
Lloh208:
ldr x8, [x8, _IGC_CBRMPC@GOTPAGEOFF]
Lloh209:
ldr w0, [x8]
bl _rd32
Lloh210:
adrp x8, _IGC_RPTHC@GOTPAGE
Lloh211:
ldr x8, [x8, _IGC_RPTHC@GOTPAGEOFF]
Lloh212:
ldr w0, [x8]
bl _rd32
Lloh213:
adrp x8, _IGC_HGPTC@GOTPAGE
Lloh214:
ldr x8, [x8, _IGC_HGPTC@GOTPAGEOFF]
Lloh215:
ldr w0, [x8]
bl _rd32
Lloh216:
adrp x8, _IGC_HTCBDPC@GOTPAGE
Lloh217:
ldr x8, [x8, _IGC_HTCBDPC@GOTPAGEOFF]
Lloh218:
ldr w0, [x8]
bl _rd32
Lloh219:
adrp x8, _IGC_HGORCL@GOTPAGE
Lloh220:
ldr x8, [x8, _IGC_HGORCL@GOTPAGEOFF]
Lloh221:
ldr w0, [x8]
bl _rd32
Lloh222:
adrp x8, _IGC_HGORCH@GOTPAGE
Lloh223:
ldr x8, [x8, _IGC_HGORCH@GOTPAGEOFF]
Lloh224:
ldr w0, [x8]
bl _rd32
Lloh225:
adrp x8, _IGC_HGOTCL@GOTPAGE
Lloh226:
ldr x8, [x8, _IGC_HGOTCL@GOTPAGEOFF]
Lloh227:
ldr w0, [x8]
bl _rd32
Lloh228:
adrp x8, _IGC_HGOTCH@GOTPAGE
Lloh229:
ldr x8, [x8, _IGC_HGOTCH@GOTPAGEOFF]
Lloh230:
ldr w0, [x8]
bl _rd32
Lloh231:
adrp x8, _IGC_LENERRS@GOTPAGE
Lloh232:
ldr x8, [x8, _IGC_LENERRS@GOTPAGEOFF]
Lloh233:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _rd32
.loh AdrpLdrGotLdr Lloh231, Lloh232, Lloh233
.loh AdrpLdrGotLdr Lloh228, Lloh229, Lloh230
.loh AdrpLdrGotLdr Lloh225, Lloh226, Lloh227
.loh AdrpLdrGotLdr Lloh222, Lloh223, Lloh224
.loh AdrpLdrGotLdr Lloh219, Lloh220, Lloh221
.loh AdrpLdrGotLdr Lloh216, Lloh217, Lloh218
.loh AdrpLdrGotLdr Lloh213, Lloh214, Lloh215
.loh AdrpLdrGotLdr Lloh210, Lloh211, Lloh212
.loh AdrpLdrGotLdr Lloh207, Lloh208, Lloh209
.loh AdrpLdrGotLdr Lloh204, Lloh205, Lloh206
.loh AdrpLdrGotLdr Lloh201, Lloh202, Lloh203
.loh AdrpLdrGotLdr Lloh198, Lloh199, Lloh200
.loh AdrpLdrGotLdr Lloh195, Lloh196, Lloh197
.loh AdrpLdrGotLdr Lloh192, Lloh193, Lloh194
.loh AdrpLdrGotLdr Lloh189, Lloh190, Lloh191
.loh AdrpLdrGotLdr Lloh186, Lloh187, Lloh188
.loh AdrpLdrGotLdr Lloh183, Lloh184, Lloh185
.loh AdrpLdrGotLdr Lloh180, Lloh181, Lloh182
.loh AdrpLdrGotLdr Lloh177, Lloh178, Lloh179
.loh AdrpLdrGotLdr Lloh174, Lloh175, Lloh176
.loh AdrpLdrGotLdr Lloh171, Lloh172, Lloh173
.loh AdrpLdrGotLdr Lloh168, Lloh169, Lloh170
.loh AdrpLdrGotLdr Lloh165, Lloh166, Lloh167
.loh AdrpLdrGotLdr Lloh162, Lloh163, Lloh164
.loh AdrpLdrGotLdr Lloh159, Lloh160, Lloh161
.loh AdrpLdrGotLdr Lloh156, Lloh157, Lloh158
.loh AdrpLdrGotLdr Lloh153, Lloh154, Lloh155
.loh AdrpLdrGotLdr Lloh150, Lloh151, Lloh152
.loh AdrpLdrGotLdr Lloh147, Lloh148, Lloh149
.loh AdrpLdrGotLdr Lloh144, Lloh145, Lloh146
.loh AdrpLdrGotLdr Lloh141, Lloh142, Lloh143
.loh AdrpLdrGotLdr Lloh138, Lloh139, Lloh140
.loh AdrpLdrGotLdr Lloh135, Lloh136, Lloh137
.loh AdrpLdrGotLdr Lloh132, Lloh133, Lloh134
.loh AdrpLdrGotLdr Lloh129, Lloh130, Lloh131
.loh AdrpLdrGotLdr Lloh126, Lloh127, Lloh128
.loh AdrpLdrGotLdr Lloh123, Lloh124, Lloh125
.loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122
.loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119
.loh AdrpLdrGotLdr Lloh114, Lloh115, Lloh116
.loh AdrpLdrGotLdr Lloh111, Lloh112, Lloh113
.loh AdrpLdrGotLdr Lloh108, Lloh109, Lloh110
.loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh107
.loh AdrpLdrGotLdr Lloh102, Lloh103, Lloh104
.loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101
.loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98
.loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95
.loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh92
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86
.loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83
.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
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IGC_CRCERRS,4,2 ; @IGC_CRCERRS
.comm _IGC_SYMERRS,4,2 ; @IGC_SYMERRS
.comm _IGC_MPC,4,2 ; @IGC_MPC
.comm _IGC_SCC,4,2 ; @IGC_SCC
.comm _IGC_ECOL,4,2 ; @IGC_ECOL
.comm _IGC_MCC,4,2 ; @IGC_MCC
.comm _IGC_LATECOL,4,2 ; @IGC_LATECOL
.comm _IGC_COLC,4,2 ; @IGC_COLC
.comm _IGC_DC,4,2 ; @IGC_DC
.comm _IGC_SEC,4,2 ; @IGC_SEC
.comm _IGC_RLEC,4,2 ; @IGC_RLEC
.comm _IGC_XONRXC,4,2 ; @IGC_XONRXC
.comm _IGC_XONTXC,4,2 ; @IGC_XONTXC
.comm _IGC_XOFFRXC,4,2 ; @IGC_XOFFRXC
.comm _IGC_XOFFTXC,4,2 ; @IGC_XOFFTXC
.comm _IGC_FCRUC,4,2 ; @IGC_FCRUC
.comm _IGC_GPRC,4,2 ; @IGC_GPRC
.comm _IGC_BPRC,4,2 ; @IGC_BPRC
.comm _IGC_MPRC,4,2 ; @IGC_MPRC
.comm _IGC_GPTC,4,2 ; @IGC_GPTC
.comm _IGC_GORCL,4,2 ; @IGC_GORCL
.comm _IGC_GORCH,4,2 ; @IGC_GORCH
.comm _IGC_GOTCL,4,2 ; @IGC_GOTCL
.comm _IGC_GOTCH,4,2 ; @IGC_GOTCH
.comm _IGC_RNBC,4,2 ; @IGC_RNBC
.comm _IGC_RUC,4,2 ; @IGC_RUC
.comm _IGC_RFC,4,2 ; @IGC_RFC
.comm _IGC_ROC,4,2 ; @IGC_ROC
.comm _IGC_RJC,4,2 ; @IGC_RJC
.comm _IGC_TORL,4,2 ; @IGC_TORL
.comm _IGC_TORH,4,2 ; @IGC_TORH
.comm _IGC_TOTL,4,2 ; @IGC_TOTL
.comm _IGC_TOTH,4,2 ; @IGC_TOTH
.comm _IGC_TPR,4,2 ; @IGC_TPR
.comm _IGC_TPT,4,2 ; @IGC_TPT
.comm _IGC_MPTC,4,2 ; @IGC_MPTC
.comm _IGC_BPTC,4,2 ; @IGC_BPTC
.comm _IGC_PRC64,4,2 ; @IGC_PRC64
.comm _IGC_PRC127,4,2 ; @IGC_PRC127
.comm _IGC_PRC255,4,2 ; @IGC_PRC255
.comm _IGC_PRC511,4,2 ; @IGC_PRC511
.comm _IGC_PRC1023,4,2 ; @IGC_PRC1023
.comm _IGC_PRC1522,4,2 ; @IGC_PRC1522
.comm _IGC_PTC64,4,2 ; @IGC_PTC64
.comm _IGC_PTC127,4,2 ; @IGC_PTC127
.comm _IGC_PTC255,4,2 ; @IGC_PTC255
.comm _IGC_PTC511,4,2 ; @IGC_PTC511
.comm _IGC_PTC1023,4,2 ; @IGC_PTC1023
.comm _IGC_PTC1522,4,2 ; @IGC_PTC1522
.comm _IGC_ALGNERRC,4,2 ; @IGC_ALGNERRC
.comm _IGC_RXERRC,4,2 ; @IGC_RXERRC
.comm _IGC_TNCRS,4,2 ; @IGC_TNCRS
.comm _IGC_CEXTERR,4,2 ; @IGC_CEXTERR
.comm _IGC_TSCTC,4,2 ; @IGC_TSCTC
.comm _IGC_TSCTFC,4,2 ; @IGC_TSCTFC
.comm _IGC_MGTPRC,4,2 ; @IGC_MGTPRC
.comm _IGC_MGTPDC,4,2 ; @IGC_MGTPDC
.comm _IGC_MGTPTC,4,2 ; @IGC_MGTPTC
.comm _IGC_IAC,4,2 ; @IGC_IAC
.comm _IGC_ICRXOC,4,2 ; @IGC_ICRXOC
.comm _IGC_ICRXPTC,4,2 ; @IGC_ICRXPTC
.comm _IGC_ICRXATC,4,2 ; @IGC_ICRXATC
.comm _IGC_ICTXPTC,4,2 ; @IGC_ICTXPTC
.comm _IGC_ICTXATC,4,2 ; @IGC_ICTXATC
.comm _IGC_ICTXQEC,4,2 ; @IGC_ICTXQEC
.comm _IGC_ICTXQMTC,4,2 ; @IGC_ICTXQMTC
.comm _IGC_ICRXDMTC,4,2 ; @IGC_ICRXDMTC
.comm _IGC_CBTMPC,4,2 ; @IGC_CBTMPC
.comm _IGC_HTDPMC,4,2 ; @IGC_HTDPMC
.comm _IGC_CBRMPC,4,2 ; @IGC_CBRMPC
.comm _IGC_RPTHC,4,2 ; @IGC_RPTHC
.comm _IGC_HGPTC,4,2 ; @IGC_HGPTC
.comm _IGC_HTCBDPC,4,2 ; @IGC_HTCBDPC
.comm _IGC_HGORCL,4,2 ; @IGC_HGORCL
.comm _IGC_HGORCH,4,2 ; @IGC_HGORCH
.comm _IGC_HGOTCL,4,2 ; @IGC_HGOTCL
.comm _IGC_HGOTCH,4,2 ; @IGC_HGOTCH
.comm _IGC_LENERRS,4,2 ; @IGC_LENERRS
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/intel/igc/extr_igc_mac.c_igc_clear_hw_cntrs_base.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function at91_usart_spi_rx
_at91_usart_spi_rx: ## @at91_usart_spi_rx
.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
movslq (%rdi), %r14
testq %r14, %r14
je LBB0_2
## %bb.1:
movq %rdi, %rbx
movq 8(%rdi), %rax
movq 8(%rax), %r15
movslq (%rax), %r12
movq _RHR@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _at91_usart_spi_readb
subq %r14, %r12
movl %eax, (%r15,%r12,4)
decl (%rbx)
LBB0_2:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RHR,4,2 ## @RHR
.no_dead_strip _at91_usart_spi_rx
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function at91_usart_spi_rx
_at91_usart_spi_rx: ; @at91_usart_spi_rx
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr w20, [x0]
cbz w20, LBB0_2
; %bb.1:
mov x19, x0
ldr x8, [x0, #8]
ldr x21, [x8, #8]
ldr w22, [x8]
Lloh0:
adrp x8, _RHR@GOTPAGE
Lloh1:
ldr x8, [x8, _RHR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _at91_usart_spi_readb
sub w8, w22, w20
str w0, [x21, w8, sxtw #2]
ldr w8, [x19]
sub w8, w8, #1
str w8, [x19]
LBB0_2:
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 _RHR,4,2 ; @RHR
.no_dead_strip _at91_usart_spi_rx
.subsections_via_symbols
| AnghaBench/linux/drivers/spi/extr_spi-at91-usart.c_at91_usart_spi_rx.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function menu_display_gl_core_get_default_vertices
_menu_display_gl_core_get_default_vertices: ## @menu_display_gl_core_get_default_vertices
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _gl_core_vertexes@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gl_core_vertexes,8,3 ## @gl_core_vertexes
.no_dead_strip _menu_display_gl_core_get_default_vertices
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function menu_display_gl_core_get_default_vertices
_menu_display_gl_core_get_default_vertices: ; @menu_display_gl_core_get_default_vertices
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _gl_core_vertexes@GOTPAGE
Lloh1:
ldr x8, [x8, _gl_core_vertexes@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _gl_core_vertexes,8,3 ; @gl_core_vertexes
.no_dead_strip _menu_display_gl_core_get_default_vertices
.subsections_via_symbols
| AnghaBench/RetroArch/menu/drivers_display/extr_menu_display_gl_core.c_menu_display_gl_core_get_default_vertices.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function expire_queues
_expire_queues: ## @expire_queues
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl (%rdi), %r14d
leaq -48(%rbp), %rdi
callq _getmicrotime
movq -48(%rbp), %rcx
xorl %eax, %eax
cmpq %rcx, 8(%rbx)
je LBB0_8
## %bb.1:
movq %rcx, 8(%rbx)
movl 16(%rbx), %eax
testl %eax, %eax
js LBB0_7
## %bb.2:
xorl %r12d, %r12d
movq _M_DUMMYNET@GOTPCREL(%rip), %r15
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
leaq 1(%r12), %rcx
movslq %eax, %rdx
cmpq %rdx, %r12
movq %rcx, %r12
jge LBB0_7
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movq 24(%rbx), %rcx
cmpq $0, (%rcx,%r12,8)
jne LBB0_6
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq 16, %r13
movq 24(%rbx), %rax
movq %r13, (%rax,%r12,8)
decl (%rbx)
movl (%r15), %esi
xorl %edi, %edi
callq _FREE
testq %r13, %r13
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl 16(%rbx), %eax
jmp LBB0_6
LBB0_7:
subl (%rbx), %r14d
movl %r14d, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _M_DUMMYNET,4,2 ## @M_DUMMYNET
.no_dead_strip _expire_queues
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function expire_queues
_expire_queues: ; @expire_queues
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x19, x0
ldr w20, [x0]
add x0, sp, #8
bl _getmicrotime
ldr x9, [x19, #8]
ldr x8, [sp, #8]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
mov w0, #0 ; =0x0
b LBB0_9
LBB0_2:
str x8, [x19, #8]
ldr w8, [x19, #16]
tbnz w8, #31, LBB0_8
; %bb.3:
mov x21, #0 ; =0x0
mov w22, #16 ; =0x10
Lloh0:
adrp x23, _M_DUMMYNET@GOTPAGE
Lloh1:
ldr x23, [x23, _M_DUMMYNET@GOTPAGEOFF]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
cmp x21, w8, sxtw
add x21, x21, #1
b.ge LBB0_8
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
ldr x9, [x19, #24]
ldr x9, [x9, x21, lsl #3]
cbnz x9, LBB0_4
LBB0_6: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x24, [x22]
ldr x8, [x19, #24]
str x24, [x8, x21, lsl #3]
ldr w8, [x19]
sub w8, w8, #1
str w8, [x19]
ldr w1, [x23]
mov x0, #0 ; =0x0
bl _FREE
cbz x24, LBB0_6
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x19, #16]
b LBB0_4
LBB0_8:
ldr w8, [x19]
sub w0, w20, w8
LBB0_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _M_DUMMYNET,4,2 ; @M_DUMMYNET
.no_dead_strip _expire_queues
.subsections_via_symbols
| assembly_file_89818.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _en50221_Poll ## -- Begin function en50221_Poll
.p2align 4, 0x90
_en50221_Poll: ## @en50221_Poll
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl (%rdi), %eax
cmpl $129, %eax
je LBB0_3
## %bb.1:
movq %rdi, %rbx
cmpl $128, %eax
jne LBB0_5
## %bb.2:
xorl %eax, %eax
callq _vlc_tick_now
cmpq 8(%rbx), %rax
jle LBB0_3
## %bb.6:
cmpl $0, 16(%rbx)
jne LBB0_7
jmp LBB0_10
LBB0_5:
xorl %eax, %eax
callq _vlc_assert_unreachable
cmpl $0, 16(%rbx)
je LBB0_10
LBB0_7:
movl $0, -72(%rbp)
movl 80(%rbx), %edi
movq _CA_GET_SLOT_INFO@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -72(%rbp), %rdx
xorl %eax, %eax
callq _ioctl
testq %rax, %rax
je LBB0_17
## %bb.8:
movl 64(%rbx), %edi
leaq L_.str(%rip), %rsi
LBB0_9:
xorl %edx, %edx
xorl %eax, %eax
callq _msg_Err
LBB0_10:
movq _MAX_SESSIONS@GOTPCREL(%rip), %r14
movl (%r14), %eax
testl %eax, %eax
je LBB0_16
## %bb.11:
movl $16, %r15d
xorl %r12d, %r12d
jmp LBB0_12
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_12 Depth=1
movl %eax, %ecx
incq %r12
addq $32, %r15
cmpq %rcx, %r12
jae LBB0_16
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq 56(%rbx), %rcx
cmpq $0, (%rcx,%r15)
je LBB0_15
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movq -8(%rcx,%r15), %rcx
testq %rcx, %rcx
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
leal 1(%r12), %esi
movq %rbx, %rdi
callq *%rcx
movl (%r14), %eax
jmp LBB0_15
LBB0_16:
xorl %eax, %eax
callq _vlc_tick_now
subq 48(%rbx), %rax
movq %rax, 8(%rbx)
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_47
## %bb.4:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
movq _CA_CI_MODULE_READY@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -68(%rbp), %eax
movq 24(%rbx), %rax
movl (%rax), %eax
je LBB0_18
## %bb.25:
testl %eax, %eax
jne LBB0_30
## %bb.26:
movq %rbx, %rdi
xorl %esi, %esi
callq _InitSlot
movq 24(%rbx), %rax
cmpl $0, (%rax)
movl 64(%rbx), %edi
je LBB0_27
## %bb.29:
leaq L_.str.4(%rip), %rsi
xorl %edx, %edx
callq _msg_Dbg
LBB0_30:
movq 72(%rbx), %rax
cmpq $0, (%rax)
je LBB0_31
LBB0_36:
movq _T_RCV@GOTPCREL(%rip), %r15
movq _VLC_SUCCESS@GOTPCREL(%rip), %r12
jmp LBB0_37
.p2align 4, 0x90
LBB0_38: ## in Loop: Header=BB0_37 Depth=1
movl 64(%rbx), %edi
leaq L_.str.5(%rip), %rsi
LBB0_39: ## in Loop: Header=BB0_37 Depth=1
xorl %edx, %edx
xorl %eax, %eax
callq _msg_Err
LBB0_46: ## in Loop: Header=BB0_37 Depth=1
movq %r14, %rsp
movq 72(%rbx), %rax
cmpq $0, (%rax)
je LBB0_10
LBB0_37: ## =>This Inner Loop Header: Depth=1
movq %rsp, %r14
movq _MAX_TPDU_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
movq (%r15), %rdx
movq %rbx, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _TPDUSend
cmpq (%r12), %rax
jne LBB0_38
## %bb.40: ## in Loop: Header=BB0_37 Depth=1
movq %rbx, %rdi
xorl %esi, %esi
leaq -64(%rbp), %rdx
movq %r13, %rcx
leaq -76(%rbp), %r8
callq _TPDURecv
cmpq (%r12), %rax
jne LBB0_41
## %bb.42: ## in Loop: Header=BB0_37 Depth=1
addq $24, %r13
movq %r13, %rdi
leaq -52(%rbp), %rsi
callq _GetLength
movl -52(%rbp), %ecx
cmpl $2, %ecx
jl LBB0_46
## %bb.43: ## in Loop: Header=BB0_37 Depth=1
decl %ecx
movl %ecx, -52(%rbp)
movq -64(%rbp), %rdx
movq _T_DATA_LAST@GOTPCREL(%rip), %rsi
cmpq (%rsi), %rdx
jne LBB0_44
## %bb.45: ## in Loop: Header=BB0_37 Depth=1
addq $8, %rax
movq %rbx, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq _SPDUHandle
jmp LBB0_46
.p2align 4, 0x90
LBB0_41: ## in Loop: Header=BB0_37 Depth=1
movl 64(%rbx), %edi
leaq L_.str.6(%rip), %rsi
jmp LBB0_39
LBB0_18:
testl %eax, %eax
je LBB0_10
## %bb.19:
movl 64(%rbx), %edi
leaq L_.str.1(%rip), %rsi
xorl %edx, %edx
callq _msg_Dbg
movq 24(%rbx), %rax
movl $0, (%rax)
movq 32(%rbx), %rax
movl $0, (%rax)
movq 40(%rbx), %rax
movl $0, (%rax)
movq _MAX_SESSIONS@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
je LBB0_10
## %bb.20:
movq 56(%rbx), %rcx
movl $1, %edx
jmp LBB0_21
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_21 Depth=1
incl %edx
cmpl %eax, %edx
ja LBB0_10
LBB0_21: ## =>This Inner Loop Header: Depth=1
leal -1(%rdx), %esi
shlq $5, %rsi
cmpq $0, 16(%rcx,%rsi)
je LBB0_24
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
leaq (%rcx,%rsi), %rdi
cmpl $0, (%rdi)
jne LBB0_24
## %bb.23: ## in Loop: Header=BB0_21 Depth=1
movq $0, 16(%rcx,%rsi)
jmp LBB0_24
LBB0_31:
movq _T_DATA_LAST@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %rbx, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _TPDUSend
movq _VLC_SUCCESS@GOTPCREL(%rip), %r14
cmpq (%r14), %rax
jne LBB0_32
## %bb.33:
leaq -64(%rbp), %rdx
movq %rbx, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _TPDURecv
cmpq (%r14), %rax
jne LBB0_34
## %bb.35:
movq 72(%rbx), %rax
cmpq $0, (%rax)
jne LBB0_36
jmp LBB0_10
LBB0_32:
movl 64(%rbx), %edi
leaq L_.str.5(%rip), %rsi
jmp LBB0_9
LBB0_27:
leaq L_.str.2(%rip), %rsi
xorl %edx, %edx
callq _msg_Dbg
movl 80(%rbx), %edi
movq _CA_RESET@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edx
xorl %eax, %eax
callq _ioctl
testq %rax, %rax
je LBB0_10
## %bb.28:
movl 64(%rbx), %edi
leaq L_.str.3(%rip), %rsi
jmp LBB0_9
LBB0_34:
movl 64(%rbx), %edi
leaq L_.str.6(%rip), %rsi
jmp LBB0_9
LBB0_44:
movl 64(%rbx), %edi
leaq L_.str.7(%rip), %rsi
xorl %eax, %eax
callq _msg_Err
movq %r14, %rsp
jmp LBB0_10
LBB0_47:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _CA_GET_SLOT_INFO,4,2 ## @CA_GET_SLOT_INFO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "en50221_Poll: couldn't get info on slot %d"
.comm _CA_CI_MODULE_READY,4,2 ## @CA_CI_MODULE_READY
L_.str.1: ## @.str.1
.asciz "en50221_Poll: slot %d has been removed"
.comm _MAX_SESSIONS,4,2 ## @MAX_SESSIONS
L_.str.2: ## @.str.2
.asciz "en50221_Poll: resetting slot %d"
.comm _CA_RESET,4,2 ## @CA_RESET
L_.str.3: ## @.str.3
.asciz "en50221_Poll: couldn't reset slot %d"
L_.str.4: ## @.str.4
.asciz "en50221_Poll: slot %d is active"
.comm _T_DATA_LAST,8,3 ## @T_DATA_LAST
.comm _VLC_SUCCESS,8,3 ## @VLC_SUCCESS
L_.str.5: ## @.str.5
.asciz "en50221_Poll: couldn't send TPDU on slot %d"
L_.str.6: ## @.str.6
.asciz "en50221_Poll: couldn't recv TPDU on slot %d"
.comm _MAX_TPDU_SIZE,4,2 ## @MAX_TPDU_SIZE
.comm _T_RCV,8,3 ## @T_RCV
L_.str.7: ## @.str.7
.asciz "en50221_Poll: fragmented TPDU not supported"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _en50221_Poll ; -- Begin function en50221_Poll
.p2align 2
_en50221_Poll: ; @en50221_Poll
.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
sub sp, 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
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
ldr w8, [x0]
cmp w8, #129
b.eq LBB0_15
; %bb.1:
mov x19, x0
cmp w8, #128
b.ne LBB0_3
; %bb.2:
bl _vlc_tick_now
ldr x8, [x19, #8]
cmp x0, x8
b.gt LBB0_4
b LBB0_15
LBB0_3:
bl _vlc_assert_unreachable
LBB0_4:
ldr w8, [x19, #16]
Lloh3:
adrp x23, _MAX_SESSIONS@GOTPAGE
Lloh4:
ldr x23, [x23, _MAX_SESSIONS@GOTPAGEOFF]
cbz w8, LBB0_8
; %bb.5:
stur wzr, [x29, #-104]
ldr w0, [x19, #80]
Lloh5:
adrp x8, _CA_GET_SLOT_INFO@GOTPAGE
Lloh6:
ldr x8, [x8, _CA_GET_SLOT_INFO@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
sub x8, x29, #104
str x8, [sp, #-16]!
bl _ioctl
add sp, sp, #16
cbz x0, LBB0_17
; %bb.6:
ldr w0, [x19, #64]
str xzr, [sp, #-16]!
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
LBB0_7:
bl _msg_Err
add sp, sp, #16
LBB0_8:
ldr w8, [x23]
cbz w8, LBB0_14
; %bb.9:
mov x20, #0 ; =0x0
mov x21, #0 ; =0x0
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x21, x21, #1
add x20, x20, #32
cmp x21, x8
b.hs LBB0_14
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #56]
add x9, x9, x20
ldr x10, [x9, #16]
cbz x10, LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr x9, [x9, #8]
cbz x9, LBB0_10
; %bb.13: ; in Loop: Header=BB0_11 Depth=1
add w1, w21, #1
mov x0, x19
blr x9
ldr w8, [x23]
b LBB0_10
LBB0_14:
bl _vlc_tick_now
ldr x8, [x19, #48]
sub x8, x0, x8
str x8, [x19, #8]
LBB0_15:
ldur x8, [x29, #-88]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_47
; %bb.16:
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_17:
ldur w9, [x29, #-100]
Lloh13:
adrp x8, _CA_CI_MODULE_READY@GOTPAGE
Lloh14:
ldr x8, [x8, _CA_CI_MODULE_READY@GOTPAGEOFF]
Lloh15:
ldr w10, [x8]
ldr x8, [x19, #24]
ldr w8, [x8]
orr w9, w10, w9
cbz w9, LBB0_32
; %bb.18:
cbnz w8, LBB0_21
; %bb.19:
mov x0, x19
mov w1, #0 ; =0x0
bl _InitSlot
ldr x8, [x19, #24]
ldr w8, [x8]
ldr w0, [x19, #64]
cbz w8, LBB0_43
; %bb.20:
Lloh16:
adrp x1, l_.str.4@PAGE
Lloh17:
add x1, x1, l_.str.4@PAGEOFF
mov w2, #0 ; =0x0
bl _msg_Dbg
LBB0_21:
ldr x8, [x19, #72]
ldr x8, [x8]
Lloh18:
adrp x24, _T_DATA_LAST@GOTPAGE
Lloh19:
ldr x24, [x24, _T_DATA_LAST@GOTPAGEOFF]
Lloh20:
adrp x25, _VLC_SUCCESS@GOTPAGE
Lloh21:
ldr x25, [x25, _VLC_SUCCESS@GOTPAGEOFF]
cbz x8, LBB0_39
LBB0_22:
Lloh22:
adrp x26, _MAX_TPDU_SIZE@GOTPAGE
Lloh23:
ldr x26, [x26, _MAX_TPDU_SIZE@GOTPAGEOFF]
Lloh24:
adrp x27, _T_RCV@GOTPAGE
Lloh25:
ldr x27, [x27, _T_RCV@GOTPAGEOFF]
Lloh26:
adrp x20, l_.str.6@PAGE
Lloh27:
add x20, x20, l_.str.6@PAGEOFF
Lloh28:
adrp x21, l_.str.5@PAGE
Lloh29:
add x21, x21, l_.str.5@PAGEOFF
b LBB0_26
LBB0_23: ; in Loop: Header=BB0_26 Depth=1
ldr w0, [x19, #64]
str xzr, [sp, #-16]!
mov x1, x21
LBB0_24: ; in Loop: Header=BB0_26 Depth=1
bl _msg_Err
add sp, sp, #16
LBB0_25: ; in Loop: Header=BB0_26 Depth=1
mov sp, x28
ldr x8, [x19, #72]
ldr x8, [x8]
cbz x8, LBB0_8
LBB0_26: ; =>This Inner Loop Header: Depth=1
mov x28, sp
ldr w8, [x26]
lsl x8, x8, #3
mov x9, x8
Lloh30:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh31:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x22, x9, x8
mov sp, x22
ldr x2, [x27]
mov x0, x19
mov w1, #0 ; =0x0
mov x3, #0 ; =0x0
mov w4, #0 ; =0x0
bl _TPDUSend
ldr x8, [x25]
cmp x0, x8
b.ne LBB0_23
; %bb.27: ; in Loop: Header=BB0_26 Depth=1
sub x2, x29, #96
sub x4, x29, #108
mov x0, x19
mov w1, #0 ; =0x0
mov x3, x22
bl _TPDURecv
ldr x8, [x25]
cmp x0, x8
b.ne LBB0_31
; %bb.28: ; in Loop: Header=BB0_26 Depth=1
add x0, x22, #24
sub x1, x29, #112
bl _GetLength
ldur w8, [x29, #-112]
cmp w8, #2
b.lt LBB0_25
; %bb.29: ; in Loop: Header=BB0_26 Depth=1
sub w3, w8, #1
stur w3, [x29, #-112]
ldur x8, [x29, #-96]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_46
; %bb.30: ; in Loop: Header=BB0_26 Depth=1
add x2, x0, #8
mov x0, x19
mov w1, #0 ; =0x0
bl _SPDUHandle
b LBB0_25
LBB0_31: ; in Loop: Header=BB0_26 Depth=1
ldr w0, [x19, #64]
str xzr, [sp, #-16]!
mov x1, x20
b LBB0_24
LBB0_32:
cbz w8, LBB0_8
; %bb.33:
ldr w0, [x19, #64]
Lloh32:
adrp x1, l_.str.1@PAGE
Lloh33:
add x1, x1, l_.str.1@PAGEOFF
mov w2, #0 ; =0x0
bl _msg_Dbg
ldp x8, x9, [x19, #24]
str wzr, [x8]
str wzr, [x9]
ldr x8, [x19, #40]
str wzr, [x8]
ldr w8, [x23]
cbz w8, LBB0_8
; %bb.34:
ldr x9, [x19, #56]
mov w10, #1 ; =0x1
b LBB0_36
LBB0_35: ; in Loop: Header=BB0_36 Depth=1
add w10, w10, #1
cmp w10, w8
b.hi LBB0_8
LBB0_36: ; =>This Inner Loop Header: Depth=1
sub w11, w10, #1
add x11, x9, x11, lsl #5
ldr x12, [x11, #16]
cbz x12, LBB0_35
; %bb.37: ; in Loop: Header=BB0_36 Depth=1
ldr w12, [x11]
cbnz w12, LBB0_35
; %bb.38: ; in Loop: Header=BB0_36 Depth=1
str xzr, [x11, #16]
b LBB0_35
LBB0_39:
ldr x2, [x24]
mov x0, x19
mov w1, #0 ; =0x0
mov x3, #0 ; =0x0
mov w4, #0 ; =0x0
bl _TPDUSend
ldr x8, [x25]
cmp x0, x8
b.ne LBB0_42
; %bb.40:
sub x2, x29, #96
mov x0, x19
mov w1, #0 ; =0x0
mov x3, #0 ; =0x0
mov x4, #0 ; =0x0
bl _TPDURecv
ldr x8, [x25]
cmp x0, x8
b.ne LBB0_45
; %bb.41:
ldr x8, [x19, #72]
ldr x8, [x8]
cbnz x8, LBB0_22
b LBB0_8
LBB0_42:
ldr w0, [x19, #64]
str xzr, [sp, #-16]!
Lloh34:
adrp x1, l_.str.5@PAGE
Lloh35:
add x1, x1, l_.str.5@PAGEOFF
b LBB0_7
LBB0_43:
Lloh36:
adrp x1, l_.str.2@PAGE
Lloh37:
add x1, x1, l_.str.2@PAGEOFF
mov w2, #0 ; =0x0
bl _msg_Dbg
ldr w0, [x19, #80]
Lloh38:
adrp x8, _CA_RESET@GOTPAGE
Lloh39:
ldr x8, [x8, _CA_RESET@GOTPAGEOFF]
Lloh40:
ldr w1, [x8]
mov w8, #1 ; =0x1
str x8, [sp, #-16]!
bl _ioctl
add sp, sp, #16
cbz x0, LBB0_8
; %bb.44:
ldr w0, [x19, #64]
str xzr, [sp, #-16]!
Lloh41:
adrp x1, l_.str.3@PAGE
Lloh42:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_7
LBB0_45:
ldr w0, [x19, #64]
str xzr, [sp, #-16]!
Lloh43:
adrp x1, l_.str.6@PAGE
Lloh44:
add x1, x1, l_.str.6@PAGEOFF
b LBB0_7
LBB0_46:
ldr w0, [x19, #64]
Lloh45:
adrp x1, l_.str.7@PAGE
Lloh46:
add x1, x1, l_.str.7@PAGEOFF
bl _msg_Err
mov sp, x28
b LBB0_8
LBB0_47:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpLdrGot Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _CA_GET_SLOT_INFO,4,2 ; @CA_GET_SLOT_INFO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "en50221_Poll: couldn't get info on slot %d"
.comm _CA_CI_MODULE_READY,4,2 ; @CA_CI_MODULE_READY
l_.str.1: ; @.str.1
.asciz "en50221_Poll: slot %d has been removed"
.comm _MAX_SESSIONS,4,2 ; @MAX_SESSIONS
l_.str.2: ; @.str.2
.asciz "en50221_Poll: resetting slot %d"
.comm _CA_RESET,4,2 ; @CA_RESET
l_.str.3: ; @.str.3
.asciz "en50221_Poll: couldn't reset slot %d"
l_.str.4: ; @.str.4
.asciz "en50221_Poll: slot %d is active"
.comm _T_DATA_LAST,8,3 ; @T_DATA_LAST
.comm _VLC_SUCCESS,8,3 ; @VLC_SUCCESS
l_.str.5: ; @.str.5
.asciz "en50221_Poll: couldn't send TPDU on slot %d"
l_.str.6: ; @.str.6
.asciz "en50221_Poll: couldn't recv TPDU on slot %d"
.comm _MAX_TPDU_SIZE,4,2 ; @MAX_TPDU_SIZE
.comm _T_RCV,8,3 ; @T_RCV
l_.str.7: ; @.str.7
.asciz "en50221_Poll: fragmented TPDU not supported"
.subsections_via_symbols
| assembly_file_140977.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function free_dpio
_free_dpio: ## @free_dpio
.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 $0, (%rdi)
jle LBB0_3
## %bb.1:
movq %rdi, %r15
movq 16(%rdi), %rax
movq (%rax), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
movq (%rax,%rbx,8), %r12
movl 4(%r12), %edi
movq %r12, %rsi
movq %r14, %rdx
callq _dpaa2_io_service_deregister
movq %r15, %rdi
movq %r12, %rsi
callq _free_channel
incq %rbx
movslq (%r15), %rax
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _free_dpio
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function free_dpio
_free_dpio: ; @free_dpio
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x19, x0
mov x22, #0
ldr x8, [x0, #16]
ldr x20, [x8]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr x21, [x8, x22, lsl #3]
ldr w0, [x21, #4]
mov x1, x21
mov x2, x20
bl _dpaa2_io_service_deregister
mov x0, x19
mov x1, x21
bl _free_channel
add x22, x22, #1
ldrsw x8, [x19]
cmp x22, x8
b.lt 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
.no_dead_strip _free_dpio
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpaa2-eth.c_free_dpio.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function order_unstr
_order_unstr: ## @order_unstr
.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, %r14
movq %rsp, -64(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _BUFSIZ@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq %r15, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
cmpq $0, (%r14)
jle LBB0_9
## %bb.1:
xorl %r12d, %r12d
jmp LBB0_2
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
incq %r12
cmpq (%r14), %r12
jge LBB0_9
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq _Dataf@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -52(%rbp), %rdi
movl $1, %esi
movl $4, %edx
callq _fread
movq _Inf@GOTPCREL(%rip), %rax
movl (%rax), %r13d
movl -52(%rbp), %edi
callq _be64toh
movq _SEEK_SET@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %r13d, %edi
movl %eax, %esi
callq _fseeko
testq %r12, %r12
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq _Delimch@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
callq _printf
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq _Inf@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl %r15d, %esi
callq _fgets
testq %rax, %rax
je LBB0_8
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r13
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r14), %rsi
movq %r13, %rdi
callq _STR_ENDSTRING
testq %rax, %rax
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movq _stdout@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r13, %rdi
callq _fputs
movq _Inf@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl %r15d, %esi
callq _fgets
movq %rax, %r13
testq %rax, %rax
jne LBB0_6
jmp LBB0_8
LBB0_9:
movq -64(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_11
## %bb.10:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _BUFSIZ,4,2 ## @BUFSIZ
.comm _Dataf,4,2 ## @Dataf
.comm _Inf,4,2 ## @Inf
.comm _SEEK_SET,4,2 ## @SEEK_SET
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c\n"
.comm _Delimch,4,2 ## @Delimch
.comm _stdout,4,2 ## @stdout
.no_dead_strip _order_unstr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function order_unstr
_order_unstr: ; @order_unstr
.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
mov x19, x0
mov x8, sp
stur x8, [x29, #-104] ; 8-byte Folded Spill
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, _BUFSIZ@GOTPAGE
Lloh4:
ldr x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh5:
ldr w20, [x8]
mov x9, x20
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x20, #15
and x9, x9, #0x1fffffff0
sub x21, x8, x9
mov sp, x21
ldr x8, [x0]
cmp x8, #1
b.lt LBB0_9
; %bb.1:
mov x25, #0
Lloh8:
adrp x26, _Dataf@GOTPAGE
Lloh9:
ldr x26, [x26, _Dataf@GOTPAGEOFF]
Lloh10:
adrp x27, _Inf@GOTPAGE
Lloh11:
ldr x27, [x27, _Inf@GOTPAGEOFF]
Lloh12:
adrp x28, _SEEK_SET@GOTPAGE
Lloh13:
ldr x28, [x28, _SEEK_SET@GOTPAGEOFF]
Lloh14:
adrp x24, _stdout@GOTPAGE
Lloh15:
ldr x24, [x24, _stdout@GOTPAGEOFF]
Lloh16:
adrp x22, l_.str@PAGE
Lloh17:
add x22, x22, l_.str@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x25, x25, #1
ldr x8, [x19]
cmp x25, x8
b.ge LBB0_9
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w3, [x26]
sub x0, x29, #92
mov w1, #1
mov w2, #4
bl _fread
ldr w23, [x27]
ldur w0, [x29, #-92]
bl _be64toh
mov x1, x0
ldr w2, [x28]
mov x0, x23
bl _fseeko
cbz x25, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
Lloh18:
adrp x8, _Delimch@GOTPAGE
Lloh19:
ldr x8, [x8, _Delimch@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
mov x0, x22
bl _printf
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w2, [x27]
mov x0, x21
mov x1, x20
bl _fgets
cbz x0, LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x23, x0
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x1, [x19]
mov x0, x23
bl _STR_ENDSTRING
cbnz x0, LBB0_2
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
ldr w1, [x24]
mov x0, x23
bl _fputs
ldr w2, [x27]
mov x0, x21
mov x1, x20
bl _fgets
mov x23, x0
cbnz x0, LBB0_7
b LBB0_2
LBB0_9:
ldur x8, [x29, #-104] ; 8-byte Folded Reload
mov sp, x8
ldur x8, [x29, #-88]
Lloh21:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh22:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_11
; %bb.10:
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_11:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _BUFSIZ,4,2 ; @BUFSIZ
.comm _Dataf,4,2 ; @Dataf
.comm _Inf,4,2 ; @Inf
.comm _SEEK_SET,4,2 ; @SEEK_SET
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c\n"
.comm _Delimch,4,2 ; @Delimch
.comm _stdout,4,2 ; @stdout
.no_dead_strip _order_unstr
.subsections_via_symbols
| AnghaBench/freebsd/usr.bin/fortune/unstr/extr_unstr.c_order_unstr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _rb_alloc ## -- Begin function rb_alloc
.p2align 4, 0x90
_rb_alloc: ## @rb_alloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r15d
movl %edx, %r14d
movq %rsi, %r12
movl %edi, %r13d
movslq %edi, %rax
leaq 24(,%rax,8), %rbx
movq %rbx, %rdi
callq _order_base_2
movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx
movq _MAX_ORDER@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
addq (%rcx), %rdx
cmpq %rdx, %rax
jge LBB0_11
## %bb.1:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _kzalloc
testq %rax, %rax
je LBB0_11
## %bb.2:
movq %rax, %rbx
movl %r14d, %edi
callq _perf_mmap_alloc_page
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_10
## %bb.3:
testl %r13d, %r13d
jle LBB0_14
## %bb.4:
movl %r14d, %edi
callq _perf_mmap_alloc_page
movq 16(%rbx), %rcx
movq %rax, (%rcx)
movq 16(%rbx), %rax
cmpq $0, (%rax)
je LBB0_5
## %bb.12:
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq %r15, %r12
decq %r15
movl %r14d, %edi
callq _perf_mmap_alloc_page
movq 16(%rbx), %rcx
movq %rax, -8(%rcx,%r12,8)
movq 16(%rbx), %rax
cmpq $0, -8(%rax,%r12,8)
jne LBB0_13
## %bb.6:
leaq 1(%r15), %rcx
cmpq $2, %rcx
setge %dl
movl %r15d, %ecx
testb %dl, %dl
je LBB0_9
LBB0_8:
movq -8(%rax,%rcx,8), %rdi
callq _free_page
LBB0_9:
movq 8(%rbx), %rdi
callq _free_page
LBB0_10:
movq %rbx, %rdi
callq _kfree
LBB0_11:
xorl %ebx, %ebx
LBB0_15:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
movl %r13d, (%rbx)
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq _ring_buffer_init
jmp LBB0_15
LBB0_5:
xorl %ecx, %ecx
xorl %edx, %edx
testb %dl, %dl
jne LBB0_8
jmp LBB0_9
.cfi_endproc
## -- End function
.comm _PAGE_SHIFT,8,3 ## @PAGE_SHIFT
.comm _MAX_ORDER,8,3 ## @MAX_ORDER
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _rb_alloc ; -- Begin function rb_alloc
.p2align 2
_rb_alloc: ; @rb_alloc
.cfi_startproc
; %bb.0:
stp x24, x23, [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 w23, -56
.cfi_offset w24, -64
mov x21, x3
mov x20, x2
mov x22, x1
mov x23, x0
sbfiz x19, x23, #3, #32
add x0, x19, #24
bl _order_base_2
Lloh0:
adrp x8, _PAGE_SHIFT@GOTPAGE
Lloh1:
ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _MAX_ORDER@GOTPAGE
Lloh4:
ldr x9, [x9, _MAX_ORDER@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
add x8, x9, x8
cmp x0, x8
b.ge LBB0_11
; %bb.1:
Lloh6:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh7:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
add x0, x19, #24
bl _kzalloc
mov x19, x0
cbz x0, LBB0_12
; %bb.2:
mov x0, x20
bl _perf_mmap_alloc_page
str x0, [x19, #8]
cbz x0, LBB0_10
; %bb.3:
cmp w23, #1
b.lt LBB0_13
; %bb.4:
mov x0, x20
bl _perf_mmap_alloc_page
ldr x8, [x19, #16]
str x0, [x8]
ldr x8, [x19, #16]
ldr x9, [x8]
cbz x9, LBB0_14
; %bb.5:
mov x21, #-1 ; =0xffffffffffffffff
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _perf_mmap_alloc_page
ldr x8, [x19, #16]
str x0, [x8, x21, lsl #3]
ldr x8, [x19, #16]
ldr x9, [x8, x21, lsl #3]
sub x21, x21, #1
cbnz x9, LBB0_6
; %bb.7:
add x9, x21, #2
cmp x9, #1
cset w10, gt
add w9, w21, #1
tbz w10, #0, LBB0_9
LBB0_8:
add x8, x8, x9, lsl #3
ldur x0, [x8, #-8]
bl _free_page
LBB0_9:
ldr x0, [x19, #8]
bl _free_page
LBB0_10:
mov x0, x19
bl _kfree
LBB0_11:
mov x19, #0 ; =0x0
LBB0_12:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_13:
str w23, [x19]
mov x0, x19
mov x1, x22
mov x2, x21
bl _ring_buffer_init
b LBB0_12
LBB0_14:
mov w10, #0 ; =0x0
tbnz w10, #0, LBB0_8
b LBB0_9
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _PAGE_SHIFT,8,3 ; @PAGE_SHIFT
.comm _MAX_ORDER,8,3 ; @MAX_ORDER
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.subsections_via_symbols
| assembly_file_153874.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function selinux_inode_setsecctx
_selinux_inode_setsecctx: ## @selinux_inode_setsecctx
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, %ecx
movq %rsi, %rdx
movq _XATTR_NAME_SELINUX@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %r8d, %r8d
popq %rbp
jmp ___vfs_setxattr_noperm ## TAILCALL
.cfi_endproc
## -- End function
.comm _XATTR_NAME_SELINUX,4,2 ## @XATTR_NAME_SELINUX
.no_dead_strip _selinux_inode_setsecctx
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function selinux_inode_setsecctx
_selinux_inode_setsecctx: ; @selinux_inode_setsecctx
.cfi_startproc
; %bb.0:
mov x3, x2
mov x2, x1
Lloh0:
adrp x8, _XATTR_NAME_SELINUX@GOTPAGE
Lloh1:
ldr x8, [x8, _XATTR_NAME_SELINUX@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w4, #0
b ___vfs_setxattr_noperm
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _XATTR_NAME_SELINUX,4,2 ; @XATTR_NAME_SELINUX
.no_dead_strip _selinux_inode_setsecctx
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_inode_setsecctx.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SuperTraceGetNumberOfChannels ## -- Begin function SuperTraceGetNumberOfChannels
.p2align 4, 0x90
_SuperTraceGetNumberOfChannels: ## @SuperTraceGetNumberOfChannels
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SuperTraceGetNumberOfChannels ; -- Begin function SuperTraceGetNumberOfChannels
.p2align 2
_SuperTraceGetNumberOfChannels: ; @SuperTraceGetNumberOfChannels
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
ldr w0, [x0]
LBB0_2:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_debug.c_SuperTraceGetNumberOfChannels.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function port_w16
_port_w16: ## @port_w16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %ecx, %ebx
movl %esi, %edi
callq _PORT_CTRL_ADDR
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _writew ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _port_w16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function port_w16
_port_w16: ; @port_w16
.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, x3
mov x0, x1
bl _PORT_CTRL_ADDR
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _writew
.cfi_endproc
; -- End function
.no_dead_strip _port_w16
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/micrel/extr_ksz884x.c_port_w16.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bufferevent_free ## -- Begin function bufferevent_free
.p2align 4, 0x90
_bufferevent_free: ## @bufferevent_free
.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
addq $12, %rdi
callq _event_del
leaq 8(%rbx), %rdi
callq _event_del
movl 4(%rbx), %edi
callq _evbuffer_free
movl (%rbx), %edi
callq _evbuffer_free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bufferevent_free ; -- Begin function bufferevent_free
.p2align 2
_bufferevent_free: ; @bufferevent_free
.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
add x0, x0, #12
bl _event_del
add x0, x19, #8
bl _event_del
ldr w0, [x19, #4]
bl _evbuffer_free
ldr w0, [x19]
bl _evbuffer_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/pf/libevent/extr_evbuffer.c_bufferevent_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function manager_trans_key_type_store
_manager_trans_key_type_store: ## @manager_trans_key_type_store
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rdi, %r15
movq _trans_key_type_str@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _sysfs_match_string
movl %eax, %ebx
testl %eax, %eax
js LBB0_3
## %bb.1:
leaq -40(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq *16(%r15)
movl %ebx, -40(%rbp)
movq %r15, %rdi
movq %r12, %rsi
callq *(%r15)
movl %eax, %ebx
testl %eax, %eax
jne LBB0_3
## %bb.2:
movq %r15, %rdi
callq *8(%r15)
testl %eax, %eax
cmovnel %eax, %r14d
movl %r14d, %ebx
LBB0_3:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _trans_key_type_str,4,2 ## @trans_key_type_str
.no_dead_strip _manager_trans_key_type_store
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function manager_trans_key_type_store
_manager_trans_key_type_store: ; @manager_trans_key_type_store
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x0
Lloh0:
adrp x8, _trans_key_type_str@GOTPAGE
Lloh1:
ldr x8, [x8, _trans_key_type_str@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _sysfs_match_string
mov x21, x0
tbnz w0, #31, LBB0_3
; %bb.1:
ldr x8, [x20, #16]
add x1, sp, #8
mov x0, x20
blr x8
str w21, [sp, #8]
ldr x8, [x20]
add x1, sp, #8
mov x0, x20
blr x8
mov x21, x0
cbnz w0, LBB0_3
; %bb.2:
ldr x8, [x20, #8]
mov x0, x20
blr x8
cmp w0, #0
csel w21, w19, w0, eq
LBB0_3:
mov x0, x21
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 Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _trans_key_type_str,4,2 ; @trans_key_type_str
.no_dead_strip _manager_trans_key_type_store
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_manager-sysfs.c_manager_trans_key_type_store.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mesh_state_cleanup ## -- Begin function mesh_state_cleanup
.p2align 4, 0x90
_mesh_state_cleanup: ## @mesh_state_cleanup
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_11
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq 8(%rdi), %rax
movq 8(%rax), %r15
cmpl $0, 48(%rdi)
jne LBB0_7
## %bb.2:
movq 40(%r14), %rbx
movq $0, 40(%r14)
testq %rbx, %rbx
je LBB0_4
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _comm_point_drop_reply
decl 16(%r15)
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB0_12
LBB0_4:
movq 32(%r14), %rbx
testq %rbx, %rbx
je LBB0_7
## %bb.5:
movq _LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %r12
movq _sec_status_unchecked@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
movq %rax, 32(%r14)
movq 8(%rbx), %rdi
callq _fptr_whitelist_mesh_cb
movl %eax, %edi
callq _fptr_ok
movl (%rbx), %edi
movl (%r12), %esi
movl (%r13), %ecx
xorl %edx, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq *8(%rbx)
decl 16(%r15)
movq 32(%r14), %rbx
testq %rbx, %rbx
jne LBB0_6
LBB0_7:
cmpl $0, (%r15)
jle LBB0_10
## %bb.8:
xorl %ebx, %ebx
movq _module_finished@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
movq (%rax,%rbx,8), %rax
movq (%rax), %rdi
callq _fptr_whitelist_mod_clear
movl %eax, %edi
callq _fptr_ok
movq 8(%r15), %rax
movq (%rax,%rbx,8), %rax
movq %r14, %rdi
movl %ebx, %esi
callq *(%rax)
movq 24(%r14), %rax
movq $0, (%rax,%rbx,8)
movl (%r12), %eax
movq 16(%r14), %rcx
movl %eax, (%rcx,%rbx,4)
incq %rbx
movslq (%r15), %rax
cmpq %rax, %rbx
jl LBB0_9
LBB0_10:
movq 8(%r14), %rax
movl (%rax), %edi
movl (%r14), %esi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _alloc_reg_release ## TAILCALL
LBB0_11:
retq
.cfi_endproc
## -- End function
.comm _LDNS_RCODE_SERVFAIL,4,2 ## @LDNS_RCODE_SERVFAIL
.comm _sec_status_unchecked,4,2 ## @sec_status_unchecked
.comm _module_finished,4,2 ## @module_finished
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mesh_state_cleanup ; -- Begin function mesh_state_cleanup
.p2align 2
_mesh_state_cleanup: ; @mesh_state_cleanup
.cfi_startproc
; %bb.0:
cbz x0, LBB0_11
; %bb.1:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x8, [x0, #8]
ldr x21, [x8, #8]
ldr w8, [x0, #48]
cbnz w8, LBB0_7
; %bb.2:
ldr x20, [x19, #40]
str xzr, [x19, #40]
cbz x20, LBB0_4
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _comm_point_drop_reply
ldr w8, [x21, #16]
sub w8, w8, #1
str w8, [x21, #16]
ldr x20, [x20, #8]
cbnz x20, LBB0_3
LBB0_4:
ldr x23, [x19, #32]
cbz x23, LBB0_7
; %bb.5:
Lloh0:
adrp x20, _LDNS_RCODE_SERVFAIL@GOTPAGE
Lloh1:
ldr x20, [x20, _LDNS_RCODE_SERVFAIL@GOTPAGEOFF]
Lloh2:
adrp x22, _sec_status_unchecked@GOTPAGE
Lloh3:
ldr x22, [x22, _sec_status_unchecked@GOTPAGEOFF]
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldp x0, x8, [x23, #8]
str x8, [x19, #32]
bl _fptr_whitelist_mesh_cb
bl _fptr_ok
ldr x8, [x23, #8]
ldr w0, [x23]
ldr w1, [x20]
ldr w3, [x22]
mov x2, #0
mov x4, #0
mov w5, #0
blr x8
ldr w8, [x21, #16]
sub w8, w8, #1
str w8, [x21, #16]
ldr x23, [x19, #32]
cbnz x23, LBB0_6
LBB0_7:
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_10
; %bb.8:
mov x20, #0
Lloh4:
adrp x22, _module_finished@GOTPAGE
Lloh5:
ldr x22, [x22, _module_finished@GOTPAGEOFF]
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #8]
lsl x23, x20, #3
ldr x8, [x8, x23]
ldr x0, [x8]
bl _fptr_whitelist_mod_clear
bl _fptr_ok
ldr x8, [x21, #8]
ldr x8, [x8, x23]
ldr x8, [x8]
mov x0, x19
mov x1, x20
blr x8
ldr x8, [x19, #24]
str xzr, [x8, x23]
ldr w8, [x22]
ldr x9, [x19, #16]
str w8, [x9, x20, lsl #2]
add x20, x20, #1
ldrsw x8, [x21]
cmp x20, x8
b.lt LBB0_9
LBB0_10:
ldr x8, [x19, #8]
ldr w0, [x8]
ldr w1, [x19]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _alloc_reg_release
LBB0_11:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
.cfi_same_value w21
.cfi_same_value w22
.cfi_same_value w23
.cfi_same_value w24
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _LDNS_RCODE_SERVFAIL,4,2 ; @LDNS_RCODE_SERVFAIL
.comm _sec_status_unchecked,4,2 ; @sec_status_unchecked
.comm _module_finished,4,2 ; @module_finished
.subsections_via_symbols
| AnghaBench/freebsd/contrib/unbound/services/extr_mesh.c_mesh_state_cleanup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cpufreq_debug_enable_ratelimit
_cpufreq_debug_enable_ratelimit: ## @cpufreq_debug_enable_ratelimit
.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
.no_dead_strip _cpufreq_debug_enable_ratelimit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cpufreq_debug_enable_ratelimit
_cpufreq_debug_enable_ratelimit: ; @cpufreq_debug_enable_ratelimit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _cpufreq_debug_enable_ratelimit
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/cpufreq/extr_cpufreq.c_cpufreq_debug_enable_ratelimit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _VP8IteratorStartI4 ## -- Begin function VP8IteratorStartI4
.p2align 4, 0x90
_VP8IteratorStartI4: ## @VP8IteratorStartI4
.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 8(%rdi), %rax
movq 24(%rdi), %rcx
movq _VP8TopLeftI4@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movslq (%rdx), %rdx
leaq (%rax,%rdx,4), %rdx
movq %rdx, 32(%rdi)
addq $60, %rcx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%rcx), %edx
movl %edx, (%rax)
addq $4, %rcx
addq $-4, %rax
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _VP8TopLeftI4,8,3 ## @VP8TopLeftI4
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _VP8IteratorStartI4 ; -- Begin function VP8IteratorStartI4
.p2align 2
_VP8IteratorStartI4: ; @VP8IteratorStartI4
.cfi_startproc
; %bb.0:
ldr x8, [x0, #8]
Lloh0:
adrp x9, _VP8TopLeftI4@GOTPAGE
Lloh1:
ldr x9, [x9, _VP8TopLeftI4@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
ldrsw x9, [x9]
add x9, x8, x9, lsl #2
stp x9, xzr, [x0, #32]
ldr x9, [x0, #24]
add x9, x9, #60
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w10, [x9], #4
str w10, [x8], #-4
b LBB0_1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _VP8TopLeftI4,8,3 ; @VP8TopLeftI4
.subsections_via_symbols
| assembly_file_54940.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __ath9k_hw_usb_ar9287_fill_eeprom
___ath9k_hw_usb_ar9287_fill_eeprom: ## @__ath9k_hw_usb_ar9287_fill_eeprom
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _AR9287_HTC_EEP_START_LOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _SIZE_EEPROM_AR9287@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rdi, %rsi
callq _ath9k_hw_usb_gen_fill_eeprom
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AR9287_HTC_EEP_START_LOC,4,2 ## @AR9287_HTC_EEP_START_LOC
.comm _SIZE_EEPROM_AR9287,4,2 ## @SIZE_EEPROM_AR9287
.no_dead_strip ___ath9k_hw_usb_ar9287_fill_eeprom
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __ath9k_hw_usb_ar9287_fill_eeprom
___ath9k_hw_usb_ar9287_fill_eeprom: ; @__ath9k_hw_usb_ar9287_fill_eeprom
.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 x8, _AR9287_HTC_EEP_START_LOC@GOTPAGE
Lloh1:
ldr x8, [x8, _AR9287_HTC_EEP_START_LOC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x8, _SIZE_EEPROM_AR9287@GOTPAGE
Lloh4:
ldr x8, [x8, _SIZE_EEPROM_AR9287@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
mov x1, x0
bl _ath9k_hw_usb_gen_fill_eeprom
mov w0, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AR9287_HTC_EEP_START_LOC,4,2 ; @AR9287_HTC_EEP_START_LOC
.comm _SIZE_EEPROM_AR9287,4,2 ; @SIZE_EEPROM_AR9287
.no_dead_strip ___ath9k_hw_usb_ar9287_fill_eeprom
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_eeprom_9287.c___ath9k_hw_usb_ar9287_fill_eeprom.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sts_initialize ## -- Begin function sts_initialize
.p2align 4, 0x90
_sts_initialize: ## @sts_initialize
.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 %r9, -56(%rbp) ## 8-byte Spill
movl %r8d, %r14d
movq %rcx, %r13
movl %esi, %r12d
movq %rdi, %rbx
movq 16(%rbp), %r15
xorl %edi, %edi
movl %edx, -44(%rbp) ## 4-byte Spill
cmpl %esi, %edx
setle %dil
callq _Assert
movl %r12d, (%rbx)
movq %r13, 8(%rbx)
movl %r14d, 16(%rbx)
movq %r15, %rdi
callq _strlen
cmpl $4, %eax
jb LBB0_2
## %bb.1:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _elog
LBB0_2:
movl 32(%rbx), %edi
movq %r15, %rsi
callq _strcpy
addq $4, %r13
movq _STS_CHUNK_DATA_SIZE@GOTPCREL(%rip), %rax
cmpq (%rax), %r13
jb LBB0_4
## %bb.3:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
callq _elog
LBB0_4:
testl %r12d, %r12d
jle LBB0_7
## %bb.5:
movq 24(%rbx), %rdi
movl $16, %r14d
movq _LWTRANCHE_SHARED_TUPLESTORE@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
addq %r14, %rdi
movl (%r15), %esi
callq _LWLockInitialize
movq 24(%rbx), %rdi
movq $0, -8(%rdi,%r14)
movl $0, -16(%rdi,%r14)
addq $-24, %r14
jmp LBB0_6
LBB0_7:
movl $24, %edi
callq _palloc0
movl -44(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
movq %rbx, 16(%rax)
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rcx, 8(%rax)
movq _CurrentMemoryContext@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%rax)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ERROR,4,2 ## @ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SharedTuplestore name too long"
.comm _STS_CHUNK_DATA_SIZE,8,3 ## @STS_CHUNK_DATA_SIZE
L_.str.1: ## @.str.1
.asciz "meta-data too long"
.comm _LWTRANCHE_SHARED_TUPLESTORE,4,2 ## @LWTRANCHE_SHARED_TUPLESTORE
.comm _CurrentMemoryContext,4,2 ## @CurrentMemoryContext
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sts_initialize ; -- Begin function sts_initialize
.p2align 2
_sts_initialize: ; @sts_initialize
.cfi_startproc
; %bb.0:
stp x26, x25, [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
.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 x24, x6
mov x20, x5
mov x25, x4
mov x23, x3
mov x21, x2
mov x22, x1
mov x19, x0
cmp w2, w1
cset w0, le
bl _Assert
str w22, [x19]
str x23, [x19, #8]
str w25, [x19, #16]
mov x0, x24
bl _strlen
Lloh0:
adrp x25, _ERROR@GOTPAGE
Lloh1:
ldr x25, [x25, _ERROR@GOTPAGEOFF]
cmp w0, #4
b.lo LBB0_2
; %bb.1:
ldr w0, [x25]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _elog
LBB0_2:
ldr w0, [x19, #32]
mov x1, x24
bl _strcpy
add x8, x23, #4
Lloh4:
adrp x9, _STS_CHUNK_DATA_SIZE@GOTPAGE
Lloh5:
ldr x9, [x9, _STS_CHUNK_DATA_SIZE@GOTPAGEOFF]
Lloh6:
ldr x9, [x9]
cmp x8, x9
b.lo LBB0_4
; %bb.3:
ldr w0, [x25]
Lloh7:
adrp x1, l_.str.1@PAGE
Lloh8:
add x1, x1, l_.str.1@PAGEOFF
bl _elog
LBB0_4:
cmp w22, #1
b.lt LBB0_7
; %bb.5:
mov x20, #0 ; =0x0
ldr x8, [x19, #24]
Lloh9:
adrp x21, _LWTRANCHE_SHARED_TUPLESTORE@GOTPAGE
Lloh10:
ldr x21, [x21, _LWTRANCHE_SHARED_TUPLESTORE@GOTPAGEOFF]
LBB0_6: ; =>This Inner Loop Header: Depth=1
add x8, x8, x20
ldr w1, [x21]
add x0, x8, #16
bl _LWLockInitialize
ldr x8, [x19, #24]
add x9, x8, x20
str xzr, [x9, #8]
str wzr, [x9]
sub x20, x20, #24
b LBB0_6
LBB0_7:
mov w0, #24 ; =0x18
bl _palloc0
str w21, [x0]
stp x20, x19, [x0, #8]
Lloh11:
adrp x8, _CurrentMemoryContext@GOTPAGE
Lloh12:
ldr x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
str w8, [x0, #4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _ERROR,4,2 ; @ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "SharedTuplestore name too long"
.comm _STS_CHUNK_DATA_SIZE,8,3 ; @STS_CHUNK_DATA_SIZE
l_.str.1: ; @.str.1
.asciz "meta-data too long"
.comm _LWTRANCHE_SHARED_TUPLESTORE,4,2 ; @LWTRANCHE_SHARED_TUPLESTORE
.comm _CurrentMemoryContext,4,2 ; @CurrentMemoryContext
.subsections_via_symbols
| assembly_file_30835.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function readFields
_readFields: ## @readFields
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, -48(%rbp) ## 8-byte Spill
movq %rdx, %rdi
callq _String_trim
movq %rax, %r12
leaq -60(%rbp), %rdx
movq %rax, %rdi
movl $32, %esi
callq _String_split
movq %rax, %r14
movq %r12, %rdi
callq _free
movq %rbx, -56(%rbp) ## 8-byte Spill
movl $0, (%rbx)
movq _Platform_numberOfFields@GOTPCREL(%rip), %rax
movl (%rax), %r15d
xorl %r12d, %r12d
testl %r15d, %r15d
jle LBB0_9
## %bb.1:
movq _Process_fields@GOTPCREL(%rip), %rax
movq (%rax), %r13
movl $1, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movslq %r15d, %rax
decq %rbx
cmpq %rax, %rbx
jg LBB0_8
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq -8(%r14,%rbx,8), %rdi
testq %rdi, %rdi
je LBB0_8
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
callq _atoi
cmpl $2, %eax
jl LBB0_7
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl %r15d, %eax
jg LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
decl %eax
movl %eax, %ecx
shlq $4, %rcx
cmpq $0, 8(%r13,%rcx)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movslq %r12d, %r12
movq -48(%rbp), %rdx ## 8-byte Reload
movl %eax, (%rdx,%r12,4)
movl (%r13,%rcx), %eax
movq -56(%rbp), %rcx ## 8-byte Reload
orl %eax, (%rcx)
incl %r12d
movq _Platform_numberOfFields@GOTPCREL(%rip), %rax
movl (%rax), %r15d
jmp LBB0_7
LBB0_8:
movslq %r12d, %r12
LBB0_9:
movq _NULL_PROCESSFIELD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx,%r12,4)
movq %r14, %rdi
callq _String_freeArray
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _Platform_numberOfFields,4,2 ## @Platform_numberOfFields
.comm _Process_fields,8,3 ## @Process_fields
.comm _NULL_PROCESSFIELD,4,2 ## @NULL_PROCESSFIELD
.no_dead_strip _readFields
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function readFields
_readFields: ; @readFields
.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 x21, x1
mov x19, x0
mov x0, x2
bl _String_trim
mov x22, x0
add x2, sp, #12
mov w1, #32 ; =0x20
bl _String_split
mov x20, x0
mov x0, x22
bl _free
str wzr, [x21]
Lloh0:
adrp x23, _Platform_numberOfFields@GOTPAGE
Lloh1:
ldr x23, [x23, _Platform_numberOfFields@GOTPAGEOFF]
ldr w26, [x23]
cmp w26, #1
b.lt LBB0_8
; %bb.1:
mov w22, #0 ; =0x0
Lloh2:
adrp x8, _Process_fields@GOTPAGE
Lloh3:
ldr x8, [x8, _Process_fields@GOTPAGEOFF]
Lloh4:
ldr x24, [x8]
mov w25, #1 ; =0x1
mov x27, x20
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub x25, x25, #1
sub x27, x27, #8
cmp x25, w26, sxtw
b.gt LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [x27]
cbz x0, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
bl _atoi
cmp w0, #2
b.lt LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
sub w8, w0, #1
add x9, x24, w8, uxtw #4
ldr x9, [x9, #8]
cmp w0, w26
ccmp x9, #0, #4, le
b.eq LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
str w8, [x19, w22, sxtw #2]
lsl x8, x8, #4
ldr w8, [x24, x8]
ldr w9, [x21]
orr w8, w9, w8
str w8, [x21]
add w22, w22, #1
ldr w26, [x23]
b LBB0_2
LBB0_7:
sxtw x8, w22
b LBB0_9
LBB0_8:
mov x8, #0 ; =0x0
LBB0_9:
Lloh5:
adrp x9, _NULL_PROCESSFIELD@GOTPAGE
Lloh6:
ldr x9, [x9, _NULL_PROCESSFIELD@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
str w9, [x19, x8, lsl #2]
mov x0, x20
bl _String_freeArray
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _Platform_numberOfFields,4,2 ; @Platform_numberOfFields
.comm _Process_fields,8,3 ; @Process_fields
.comm _NULL_PROCESSFIELD,4,2 ; @NULL_PROCESSFIELD
.no_dead_strip _readFields
.subsections_via_symbols
| assembly_file_159684.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/104732.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uctrl_interrupt
_uctrl_interrupt: ## @uctrl_interrupt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _IRQ_HANDLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED
.no_dead_strip _uctrl_interrupt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uctrl_interrupt
_uctrl_interrupt: ; @uctrl_interrupt
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED
.no_dead_strip _uctrl_interrupt
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/sbus/char/extr_uctrl.c_uctrl_interrupt.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.