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 _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -24(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movq -16(%rbp), %rsi
movq -24(%rbp), %r8
movq %rsi, %r9
subq %r8, %r9
testq %r9, %r9
jle LBB0_1
## %bb.2:
notq %r8
addq %rsi, %r8
movl %r9d, %r11d
andl $7, %r11d
cmpq $7, %r8
jae LBB0_12
## %bb.3:
movl $1, %eax
xorl %edx, %edx
testq %r11, %r11
jne LBB0_6
jmp LBB0_8
LBB0_1:
movl $1, %eax
movl $1, %esi
jmp LBB0_19
LBB0_12:
movq %r9, %r10
andq $-8, %r10
negq %r10
movl $1, %eax
xorl %edx, %edx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
leaq (%rsi,%rdx), %rcx
imulq %rax, %rcx
leaq (%rsi,%rdx), %rax
decq %rax
leaq (%rsi,%rdx), %rdi
addq $-2, %rdi
imulq %rax, %rdi
imulq %rcx, %rdi
leaq (%rsi,%rdx), %rax
addq $-3, %rax
leaq (%rsi,%rdx), %rcx
addq $-4, %rcx
imulq %rax, %rcx
leaq (%rsi,%rdx), %rbx
addq $-5, %rbx
imulq %rcx, %rbx
imulq %rdi, %rbx
leaq (%rsi,%rdx), %rcx
addq $-6, %rcx
leaq (%rsi,%rdx), %rax
addq $-7, %rax
imulq %rcx, %rax
imulq %rbx, %rax
addq $-8, %rdx
cmpq %rdx, %r10
jne LBB0_13
## %bb.4:
negq %rdx
testq %r11, %r11
je LBB0_8
LBB0_6:
subq %rdx, %rsi
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
imulq %rsi, %rax
decq %rsi
decq %r11
jne LBB0_7
LBB0_8:
testq %r9, %r9
jle LBB0_9
## %bb.10:
movl %r9d, %edi
andl $7, %edi
cmpq $7, %r8
jae LBB0_14
## %bb.11:
movl $1, %edx
movl $1, %esi
testq %rdi, %rdi
jne LBB0_18
jmp LBB0_19
LBB0_9:
movl $1, %esi
jmp LBB0_19
LBB0_14:
andq $-8, %r9
negq %r9
movl $1, %esi
movl $8, %edx
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
leaq -7(%rdx), %rcx
imulq %rsi, %rcx
leaq -6(%rdx), %rsi
leaq -5(%rdx), %rbx
imulq %rbx, %rsi
imulq %rcx, %rsi
leaq -4(%rdx), %rcx
leaq -3(%rdx), %rbx
imulq %rbx, %rcx
leaq -2(%rdx), %rbx
imulq %rcx, %rbx
imulq %rsi, %rbx
leaq -1(%rdx), %rsi
imulq %rdx, %rsi
imulq %rbx, %rsi
leaq (%r9,%rdx), %rcx
addq $8, %rcx
addq $8, %rdx
cmpq $8, %rcx
jne LBB0_15
## %bb.16:
addq $-7, %rdx
testq %rdi, %rdi
je LBB0_19
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
imulq %rdx, %rsi
incq %rdx
decq %rdi
jne LBB0_18
LBB0_19:
movq %rax, %rcx
orq %rsi, %rcx
shrq $32, %rcx
je LBB0_20
## %bb.21:
cqto
idivq %rsi
jmp LBB0_22
LBB0_20:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %esi
## kill: def $eax killed $eax def $rax
LBB0_22:
leaq L_.str.1(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%ld%ld"
L_.str.1: ## @.str.1
.asciz "%ld"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x8, x29, #8
add x9, sp, #16
stp x9, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr x11, [sp, #16]
ldur x10, [x29, #-8]
sub x8, x11, x10
cmp x8, #1
b.lt LBB0_3
; %bb.1:
cmp x8, #4
b.hs LBB0_4
; %bb.2:
mov x12, #0
mov w9, #1
b LBB0_7
LBB0_3:
mov w9, #1
mov w12, #1
b LBB0_18
LBB0_4:
and x12, x8, #0xfffffffffffffffc
mov w9, #1
mov x13, x12
mov x14, x11
mov w15, #1
mov w16, #1
mov w17, #1
LBB0_5: ; =>This Inner Loop Header: Depth=1
sub x0, x14, #1
sub x1, x14, #2
sub x2, x14, #3
mul x9, x14, x9
mul x15, x0, x15
mul x16, x1, x16
sub x14, x14, #4
mul x17, x2, x17
subs x13, x13, #4
b.ne LBB0_5
; %bb.6:
mul x9, x15, x9
mul x9, x16, x9
mul x9, x17, x9
cmp x8, x12
b.eq LBB0_9
LBB0_7:
sub x11, x11, x12
LBB0_8: ; =>This Inner Loop Header: Depth=1
mul x9, x11, x9
sub x11, x11, #1
cmp x10, x11
b.ne LBB0_8
LBB0_9:
cmp x8, #1
b.lt LBB0_12
; %bb.10:
cmp x8, #4
b.hs LBB0_13
; %bb.11:
mov w10, #1
mov w12, #1
b LBB0_16
LBB0_12:
mov w12, #1
b LBB0_18
LBB0_13:
mov x16, #0
and x11, x8, #0xfffffffffffffffc
orr x10, x11, #0x1
mov w12, #1
mov w13, #1
mov w14, #1
mov w15, #1
LBB0_14: ; =>This Inner Loop Header: Depth=1
add x17, x16, #2
add x0, x16, #3
madd x12, x12, x16, x12
add x1, x16, #4
mul x13, x17, x13
mul x15, x1, x15
mov x16, x1
mul x14, x0, x14
cmp x11, x1
b.ne LBB0_14
; %bb.15:
mul x12, x13, x12
mul x12, x14, x12
mul x12, x15, x12
cmp x8, x11
b.eq LBB0_18
LBB0_16:
add x8, x8, #1
LBB0_17: ; =>This Inner Loop Header: Depth=1
mul x12, x10, x12
add x10, x10, #1
cmp x8, x10
b.ne LBB0_17
LBB0_18:
sdiv x8, x9, x12
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 "%ld%ld"
l_.str.1: ; @.str.1
.asciz "%ld"
.subsections_via_symbols
| the_stack_data/405114.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _realloc ## -- Begin function realloc
.p2align 4, 0x90
_realloc: ## @realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
testq %rdi, %rdi
je LBB0_7
## %bb.1:
movq %rdi, %r12
testq %r15, %r15
je LBB0_8
## %bb.2:
movq ___sdcc_heap_free@GOTPCREL(%rip), %rcx
xorl %eax, %eax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %r14
movq %rax, %r13
movq %rcx, %rax
movq (%rcx), %rbx
testq %rbx, %rbx
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq 8(%rbx), %rcx
cmpq %r12, %rbx
jb LBB0_3
LBB0_5:
cmpq $-9, %r15
ja LBB0_26
## %bb.9:
cmpq $9, %r15
movl $8, %r8d
cmovaeq %r15, %r8
leaq -8(%r12), %rsi
movq -8(%r12), %rcx
movq %rcx, %rdi
subq %rsi, %rdi
movq %rdi, %r9
testq %r14, %r14
je LBB0_12
## %bb.10:
movq %rdi, %r9
cmpq %rsi, (%r14)
jne LBB0_12
## %bb.11:
movq %rsi, %r9
subq %r14, %r9
addq %rdi, %r9
LBB0_12:
leaq 8(%r8), %r10
cmpq %rcx, %rbx
jne LBB0_14
## %bb.13:
subq %rbx, %r9
addq (%rbx), %r9
LBB0_14:
movq %rdi, -48(%rbp) ## 8-byte Spill
cmpq %r9, %r10
jbe LBB0_17
## %bb.15:
movq %r15, %rdi
callq _malloc
testq %rax, %rax
je LBB0_26
## %bb.16:
movq -48(%rbp), %rdx ## 8-byte Reload
addq $-8, %rdx
cmpq %r15, %rdx
cmovaeq %r15, %rdx
movq %rax, %rdi
movq %rax, %rbx
movq %r12, %rsi
callq _memcpy
movq %r12, %rdi
callq _free
movq %rbx, %rsi
jmp LBB0_27
LBB0_7:
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _malloc ## TAILCALL
LBB0_8:
movq %r12, %rdi
callq _free
LBB0_26:
xorl %esi, %esi
LBB0_27:
movq %rsi, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
testq %r14, %r14
je LBB0_20
## %bb.18:
cmpq %rsi, (%r14)
jne LBB0_20
## %bb.19:
movq -48(%rbp), %rdx ## 8-byte Reload
cmpq %rdx, %r10
cmovbq %r10, %rdx
movq %r9, -48(%rbp) ## 8-byte Spill
movq %r14, %rdi
movq %r8, %r15
movq %r10, %r12
callq _memmove
movq %r12, %r10
movq -48(%rbp), %r9 ## 8-byte Reload
movq %r15, %r8
movq %rbx, (%r13)
movq %r13, %rax
movq %r14, %rsi
LBB0_20:
testq %rbx, %rbx
je LBB0_23
## %bb.21:
cmpq (%rsi), %rbx
jne LBB0_23
## %bb.22:
movq (%rbx), %rcx
movq %rcx, (%rsi)
movq 8(%rbx), %rcx
movq %rcx, (%rax)
LBB0_23:
addq $24, %r8
cmpq %r8, %r9
jb LBB0_25
## %bb.24:
leaq (%rsi,%r10), %rcx
movq (%rsi), %rdx
movq %rdx, (%rsi,%r10)
movq (%rax), %rdx
movq %rdx, 8(%rsi,%r10)
movq %rcx, (%rax)
movq %rcx, (%rsi)
LBB0_25:
addq $8, %rsi
jmp LBB0_27
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _realloc ; -- Begin function realloc
.p2align 2
_realloc: ; @realloc
.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 x20, x1
cbz x0, LBB0_6
; %bb.1:
mov x19, x0
cbz x20, LBB0_7
; %bb.2:
mov x8, #0
mov x22, #0
Lloh0:
adrp x9, ___sdcc_heap_free@GOTPAGE
Lloh1:
ldr x9, [x9, ___sdcc_heap_free@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x21, x22
mov x24, x8
mov x8, x9
ldr x22, [x9]
add x9, x22, #8
cmp x22, #0
ccmp x22, x19, #2, ne
b.lo LBB0_3
; %bb.4:
cmn x20, #9
b.ls LBB0_8
; %bb.5:
mov x21, #0
b LBB0_25
LBB0_6:
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _malloc
LBB0_7:
mov x0, x19
bl _free
mov x21, #0
b LBB0_25
LBB0_8:
mov w9, #8
cmp x20, #8
csel x23, x20, x9, hi
mov x1, x19
ldr x9, [x1, #-8]!
sub x27, x9, x1
cbz x21, LBB0_10
; %bb.9:
ldr x10, [x21]
sub x11, x1, x21
add x11, x11, x27
cmp x10, x1
csel x25, x27, x11, ne
b LBB0_11
LBB0_10:
mov x25, x27
LBB0_11:
add x26, x23, #8
cmp x22, x9
b.eq LBB0_15
; %bb.12:
cmp x26, x25
b.ls LBB0_16
LBB0_13:
mov x0, x20
bl _malloc
mov x21, x0
cbz x0, LBB0_25
; %bb.14:
sub x8, x27, #8
cmp x8, x20
csel x2, x8, x20, lo
mov x0, x21
mov x1, x19
bl _memcpy
mov x0, x19
bl _free
b LBB0_25
LBB0_15:
ldr x9, [x22]
sub x10, x25, x22
add x25, x10, x9
cmp x26, x25
b.hi LBB0_13
LBB0_16:
cbz x21, LBB0_19
; %bb.17:
ldr x9, [x21]
cmp x9, x1
b.ne LBB0_19
; %bb.18:
cmp x26, x27
csel x2, x26, x27, lo
mov x0, x21
bl _memmove
str x22, [x24]
mov x8, x24
mov x1, x21
LBB0_19:
cbz x22, LBB0_22
; %bb.20:
ldr x9, [x1]
cmp x22, x9
b.ne LBB0_22
; %bb.21:
ldp x9, x10, [x22]
str x9, [x1]
str x10, [x8]
LBB0_22:
add x9, x23, #24
cmp x25, x9
b.lo LBB0_24
; %bb.23:
add x9, x1, x26
ldr x10, [x1]
str x10, [x9]
ldr x10, [x8]
str x10, [x9, #8]
str x9, [x8]
str x9, [x1]
LBB0_24:
add x21, x1, #8
LBB0_25:
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 AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/37340.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _login ## -- Begin function login
.p2align 4, 0x90
_login: ## @login
.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 $1032, %rsp ## imm = 0x408
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movq %rsi, %r15
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq _fzz_recv
leaq L_.str(%rip), %r14
movq %r14, %rdi
movq %rax, %rsi
callq _printf
leaq L_.str.1(%rip), %rsi
leaq -1072(%rbp), %r13
movq %r13, %rdi
movq %r15, %rdx
callq _sprintf
movq %r13, %rdi
callq _strlen
xorl %r15d, %r15d
movl %ebx, %edi
movq %r13, %rsi
movl %eax, %edx
xorl %ecx, %ecx
callq _send
movl %ebx, %edi
callq _fzz_recv
movq %r14, %rdi
movq %rax, %rsi
callq _printf
leaq L_.str.2(%rip), %rsi
movq %r13, %rdi
movq %r12, %rdx
callq _sprintf
movq %r13, %rdi
callq _strlen
movl %ebx, %edi
movq %r13, %rsi
movl %eax, %edx
xorl %ecx, %ecx
callq _send
movl %ebx, %edi
callq _fzz_recv
movq %rax, %rbx
movq %r14, %rdi
movq %rax, %rsi
callq _printf
leaq L_.str.3(%rip), %rdi
movq %rbx, %rsi
callq _strcmp
cmpq $1, %rax
sbbl %r15d, %r15d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_2
## %bb.1:
movl %r15d, %eax
addq $1032, %rsp ## imm = 0x408
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 "recv: %s\n"
L_.str.1: ## @.str.1
.asciz "USER %s\r\n"
L_.str.2: ## @.str.2
.asciz "PASS %s\r\n"
L_.str.3: ## @.str.3
.asciz "230"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _login ; -- Begin function login
.p2align 2
_login: ; @login
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w27, -56
.cfi_offset w28, -64
sub sp, sp, #1040
mov x21, x2
mov x22, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
bl _fzz_recv
mov x1, x0
Lloh3:
adrp x20, l_.str@PAGE
Lloh4:
add x20, x20, l_.str@PAGEOFF
mov x0, x20
bl _printf
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
add x0, sp, #8
mov x2, x22
bl _sprintf
add x0, sp, #8
bl _strlen
mov x2, x0
add x1, sp, #8
mov x0, x19
mov w3, #0
bl _send
mov x0, x19
bl _fzz_recv
mov x1, x0
mov x0, x20
bl _printf
Lloh7:
adrp x1, l_.str.2@PAGE
Lloh8:
add x1, x1, l_.str.2@PAGEOFF
add x0, sp, #8
mov x2, x21
bl _sprintf
add x0, sp, #8
bl _strlen
mov x2, x0
add x1, sp, #8
mov x0, x19
mov w3, #0
bl _send
mov x0, x19
bl _fzz_recv
mov x19, x0
mov x0, x20
mov x1, x19
bl _printf
Lloh9:
adrp x0, l_.str.3@PAGE
Lloh10:
add x0, x0, l_.str.3@PAGEOFF
mov x1, x19
bl _strcmp
cmp x0, #0
csetm w0, eq
ldur x8, [x29, #-56]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
add sp, sp, #1040
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.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 "recv: %s\n"
l_.str.1: ; @.str.1
.asciz "USER %s\r\n"
l_.str.2: ; @.str.2
.asciz "PASS %s\r\n"
l_.str.3: ; @.str.3
.asciz "230"
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/windows/remote/extr_1028.c_login.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mn88443x_t_is_valid_clk
_mn88443x_t_is_valid_clk: ## @mn88443x_t_is_valid_clk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _DIRECT_IF_57MHZ@GOTPCREL(%rip), %rax
cmpq %rsi, (%rax)
jne LBB0_5
## %bb.1:
movl $1, %eax
cmpq $21000000, %rdi ## imm = 0x1406F40
jg LBB0_3
## %bb.2:
movq _CLK_DIRECT@GOTPCREL(%rip), %rcx
cmpq %rdi, (%rcx)
jg LBB0_3
LBB0_13:
popq %rbp
retq
LBB0_5:
movq _DIRECT_IF_44MHZ@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rsi, %rax
jne LBB0_7
## %bb.6:
cmpq $25000000, %rdi ## imm = 0x17D7840
jge LBB0_10
jmp LBB0_12
LBB0_3:
cmpq $25300000, %rdi ## imm = 0x1820C20
jl LBB0_12
## %bb.4:
movq _CLK_MAX@GOTPCREL(%rip), %rcx
cmpq %rdi, (%rcx)
jge LBB0_13
jmp LBB0_12
LBB0_7:
movq _LOW_IF_4MHZ@GOTPCREL(%rip), %rcx
cmpq %rsi, (%rcx)
jg LBB0_12
## %bb.8:
cmpq %rsi, %rax
jle LBB0_12
## %bb.9:
movq _CLK_DIRECT@GOTPCREL(%rip), %rax
cmpq %rdi, (%rax)
jg LBB0_12
LBB0_10:
movq _CLK_MAX@GOTPCREL(%rip), %rcx
movl $1, %eax
cmpq %rdi, (%rcx)
jge LBB0_13
LBB0_12:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DIRECT_IF_57MHZ,8,3 ## @DIRECT_IF_57MHZ
.comm _CLK_DIRECT,8,3 ## @CLK_DIRECT
.comm _CLK_MAX,8,3 ## @CLK_MAX
.comm _DIRECT_IF_44MHZ,8,3 ## @DIRECT_IF_44MHZ
.comm _LOW_IF_4MHZ,8,3 ## @LOW_IF_4MHZ
.no_dead_strip _mn88443x_t_is_valid_clk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mn88443x_t_is_valid_clk
_mn88443x_t_is_valid_clk: ; @mn88443x_t_is_valid_clk
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _DIRECT_IF_57MHZ@GOTPAGE
Lloh1:
ldr x8, [x8, _DIRECT_IF_57MHZ@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x1
b.ne LBB0_4
; %bb.1:
mov w8, #28480
movk w8, #320, lsl #16
cmp x0, x8
b.gt LBB0_3
; %bb.2:
Lloh3:
adrp x8, _CLK_DIRECT@GOTPAGE
Lloh4:
ldr x8, [x8, _CLK_DIRECT@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x8, x0
b.le LBB0_7
LBB0_3:
mov w8, #3104
movk w8, #386, lsl #16
cmp x0, x8
b.ge LBB0_6
b LBB0_9
LBB0_4:
Lloh6:
adrp x8, _DIRECT_IF_44MHZ@GOTPAGE
Lloh7:
ldr x8, [x8, _DIRECT_IF_44MHZ@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x8, x1
b.ne LBB0_8
; %bb.5:
mov w8, #30784
movk w8, #381, lsl #16
cmp x0, x8
b.lt LBB0_9
LBB0_6:
Lloh9:
adrp x8, _CLK_MAX@GOTPAGE
Lloh10:
ldr x8, [x8, _CLK_MAX@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cmp x8, x0
b.lt LBB0_9
LBB0_7:
mov w0, #1
ret
LBB0_8:
Lloh12:
adrp x9, _LOW_IF_4MHZ@GOTPAGE
Lloh13:
ldr x9, [x9, _LOW_IF_4MHZ@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
Lloh15:
adrp x10, _CLK_DIRECT@GOTPAGE
Lloh16:
ldr x10, [x10, _CLK_DIRECT@GOTPAGEOFF]
Lloh17:
adrp x11, _CLK_MAX@GOTPAGE
Lloh18:
ldr x11, [x11, _CLK_MAX@GOTPAGEOFF]
Lloh19:
ldr x10, [x10]
Lloh20:
ldr x11, [x11]
cmp x9, x1
ccmp x8, x1, #4, le
ccmp x10, x0, #0, gt
ccmp x11, x0, #8, le
b.ge LBB0_7
LBB0_9:
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh19
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _DIRECT_IF_57MHZ,8,3 ; @DIRECT_IF_57MHZ
.comm _CLK_DIRECT,8,3 ; @CLK_DIRECT
.comm _CLK_MAX,8,3 ; @CLK_MAX
.comm _DIRECT_IF_44MHZ,8,3 ; @DIRECT_IF_44MHZ
.comm _LOW_IF_4MHZ,8,3 ; @LOW_IF_4MHZ
.no_dead_strip _mn88443x_t_is_valid_clk
.subsections_via_symbols
| AnghaBench/linux/drivers/media/dvb-frontends/extr_mn88443x.c_mn88443x_t_is_valid_clk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rb4xx_nand_dev_ready
_rb4xx_nand_dev_ready: ## @rb4xx_nand_dev_ready
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _RB4XX_NAND_GPIO_READY@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _gpio_get_value_cansleep ## TAILCALL
.cfi_endproc
## -- End function
.comm _RB4XX_NAND_GPIO_READY,4,2 ## @RB4XX_NAND_GPIO_READY
.no_dead_strip _rb4xx_nand_dev_ready
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rb4xx_nand_dev_ready
_rb4xx_nand_dev_ready: ; @rb4xx_nand_dev_ready
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _RB4XX_NAND_GPIO_READY@GOTPAGE
Lloh1:
ldr x8, [x8, _RB4XX_NAND_GPIO_READY@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b _gpio_get_value_cansleep
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RB4XX_NAND_GPIO_READY,4,2 ; @RB4XX_NAND_GPIO_READY
.no_dead_strip _rb4xx_nand_dev_ready
.subsections_via_symbols
| AnghaBench/lede/target/linux/ar71xx/files/drivers/mtd/nand/extr_rb4xx_nand.c_rb4xx_nand_dev_ready.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI0_0:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
LCPI0_3:
.quad 0x7ff8000000000000 ## double NaN
.quad 0x7ff8000000000000 ## double NaN
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_1:
.quad 0x7ff0000000000000 ## double +Inf
LCPI0_2:
.quad 0x7ff8000000000000 ## double NaN
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $712, %rsp ## imm = 0x2C8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq $0, -224(%rbp)
movq $0, -216(%rbp)
cmpl $1, %edi
jle LBB0_150
## %bb.1:
movq %rsi, %rbx
movq 8(%rsi), %r14
cmpl $2, %edi
movq %r14, -168(%rbp) ## 8-byte Spill
jne LBB0_10
## %bb.2:
movl $4, %eax
movq %rax, -128(%rbp) ## 8-byte Spill
movl $3, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
movl $2, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
movl $1, %ebx
movl $0, -116(%rbp) ## 4-byte Folded Spill
jmp LBB0_3
LBB0_10:
movl %edi, %r12d
movl $0, -116(%rbp) ## 4-byte Folded Spill
movl $1, %eax
movq %rax, -80(%rbp) ## 8-byte Spill
movl $2, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
movl $3, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
movl $4, %eax
movq %rax, -128(%rbp) ## 8-byte Spill
movl $2, %r15d
jmp LBB0_11
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_11 Depth=1
movq %r15, %r14
LBB0_27: ## in Loop: Header=BB0_11 Depth=1
incq %r14
movq %r14, %r15
cmpq %r12, %r14
jge LBB0_28
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq (%rbx,%r15,8), %r13
cmpb $45, (%r13)
jne LBB0_12
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
leaq 1(%r15), %r14
cmpq %r12, %r14
jge LBB0_14
## %bb.17: ## in Loop: Header=BB0_11 Depth=1
movq %r13, %rdi
leaq L_.str.32(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_18
## %bb.19: ## in Loop: Header=BB0_11 Depth=1
movq %r13, %rdi
leaq L_.str.33(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_20
## %bb.21: ## in Loop: Header=BB0_11 Depth=1
movq %r13, %rdi
leaq L_.str.34(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_22
## %bb.23: ## in Loop: Header=BB0_11 Depth=1
movq %r13, %rdi
leaq L_.str.35(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_24
## %bb.25: ## in Loop: Header=BB0_11 Depth=1
movq %r13, %rdi
leaq L_.str.36(%rip), %rsi
callq _strcmp
testl %eax, %eax
jne LBB0_151
## %bb.26: ## in Loop: Header=BB0_11 Depth=1
movq 8(%rbx,%r15,8), %rdi
callq _atoi
movl %eax, -116(%rbp) ## 4-byte Spill
jmp LBB0_27
LBB0_18: ## in Loop: Header=BB0_11 Depth=1
movq 8(%rbx,%r15,8), %rdi
callq _atol
movq %rax, -80(%rbp) ## 8-byte Spill
jmp LBB0_27
LBB0_20: ## in Loop: Header=BB0_11 Depth=1
movq 8(%rbx,%r15,8), %rdi
callq _atol
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB0_27
LBB0_22: ## in Loop: Header=BB0_11 Depth=1
movq 8(%rbx,%r15,8), %rdi
callq _atol
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB0_27
LBB0_24: ## in Loop: Header=BB0_11 Depth=1
movq 8(%rbx,%r15,8), %rdi
callq _atol
movq %rax, -128(%rbp) ## 8-byte Spill
jmp LBB0_27
LBB0_28:
movq -80(%rbp), %rbx ## 8-byte Reload
testq %rbx, %rbx
jle LBB0_29
## %bb.30:
cmpq $0, -48(%rbp) ## 8-byte Folded Reload
movq -168(%rbp), %r14 ## 8-byte Reload
jle LBB0_31
## %bb.32:
cmpq $0, -72(%rbp) ## 8-byte Folded Reload
jle LBB0_33
## %bb.34:
cmpq $0, -128(%rbp) ## 8-byte Folded Reload
jle LBB0_35
LBB0_3:
leaq L_.str.42(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_4
## %bb.36:
leaq L_.str.43(%rip), %rsi
movq %r14, %rdi
callq _fopen
movq %rax, %r12
testq %rax, %rax
jne LBB0_5
## %bb.37:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.44(%rip), %rsi
leaq L_.str.9(%rip), %rdx
movq -168(%rbp), %rcx ## 8-byte Reload
jmp LBB0_16
LBB0_4:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %r12
LBB0_5:
leaq -1(%rbx), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax ## 8-byte Reload
decq %rax
movq %rax, -152(%rbp) ## 8-byte Spill
movq -72(%rbp), %rax ## 8-byte Reload
leaq -1(%rax), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
movq -128(%rbp), %rax ## 8-byte Reload
decq %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movabsq $9221120237041090560, %rax ## imm = 0x7FF8000000000000
movq %rax, -160(%rbp)
movq %rax, -200(%rbp)
movq %rax, -192(%rbp)
movq %rax, -184(%rbp)
movq $-1, -208(%rbp) ## 8-byte Folded Spill
leaq -224(%rbp), %r14
xorl %eax, %eax
movq %rax, -88(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -104(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -136(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -144(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
xorl %eax, %eax
movq %rax, -112(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq _xf_lineread1
testq %rax, %rax
je LBB0_65
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
cmpq $-1, -224(%rbp)
je LBB0_8
## %bb.38: ## in Loop: Header=BB0_6 Depth=1
movq %rax, %r15
cmpb $35, (%rax)
je LBB0_6
## %bb.39: ## in Loop: Header=BB0_6 Depth=1
movq %r15, %rdi
leaq L_.str.46(%rip), %rsi
leaq -216(%rbp), %rdx
callq _xf_lineparse2
movq %rax, %r13
movq -216(%rbp), %rax
testq %rax, %rax
js LBB0_40
## %bb.41: ## in Loop: Header=BB0_6 Depth=1
cmpq -80(%rbp), %rax ## 8-byte Folded Reload
jl LBB0_6
## %bb.42: ## in Loop: Header=BB0_6 Depth=1
cmpq -64(%rbp), %rax ## 8-byte Folded Reload
jl LBB0_6
## %bb.43: ## in Loop: Header=BB0_6 Depth=1
cmpq -152(%rbp), %rax ## 8-byte Folded Reload
jl LBB0_6
## %bb.44: ## in Loop: Header=BB0_6 Depth=1
cmpq -96(%rbp), %rax ## 8-byte Folded Reload
jl LBB0_6
## %bb.45: ## in Loop: Header=BB0_6 Depth=1
movq -8(%r13,%rbx,8), %rdi
addq %r15, %rdi
leaq L_.str.48(%rip), %rsi
leaq -200(%rbp), %rdx
xorl %eax, %eax
callq _sscanf
cmpl $1, %eax
jne LBB0_6
## %bb.46: ## in Loop: Header=BB0_6 Depth=1
movsd -200(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm0, %xmm0
jp LBB0_6
## %bb.47: ## in Loop: Header=BB0_6 Depth=1
andpd LCPI0_0(%rip), %xmm0
ucomisd LCPI0_1(%rip), %xmm0
jae LBB0_6
## %bb.48: ## in Loop: Header=BB0_6 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movq -8(%r13,%rax,8), %rdi
addq %r15, %rdi
leaq L_.str.48(%rip), %rsi
leaq -192(%rbp), %rdx
xorl %eax, %eax
callq _sscanf
cmpl $1, %eax
jne LBB0_6
## %bb.49: ## in Loop: Header=BB0_6 Depth=1
movsd -192(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm0, %xmm0
jp LBB0_6
## %bb.50: ## in Loop: Header=BB0_6 Depth=1
andpd LCPI0_0(%rip), %xmm0
ucomisd LCPI0_1(%rip), %xmm0
jae LBB0_6
## %bb.51: ## in Loop: Header=BB0_6 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movq -8(%r13,%rax,8), %rdi
addq %r15, %rdi
leaq L_.str.48(%rip), %rsi
leaq -184(%rbp), %rdx
xorl %eax, %eax
callq _sscanf
cmpl $1, %eax
jne LBB0_6
## %bb.52: ## in Loop: Header=BB0_6 Depth=1
movsd -184(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm0, %xmm0
jp LBB0_6
## %bb.53: ## in Loop: Header=BB0_6 Depth=1
andpd LCPI0_0(%rip), %xmm0
ucomisd LCPI0_1(%rip), %xmm0
jae LBB0_6
## %bb.54: ## in Loop: Header=BB0_6 Depth=1
movq -128(%rbp), %rax ## 8-byte Reload
movq -8(%r13,%rax,8), %rdi
addq %r15, %rdi
leaq L_.str.48(%rip), %rsi
leaq -160(%rbp), %rdx
xorl %eax, %eax
callq _sscanf
cmpl $1, %eax
movq %r13, -176(%rbp) ## 8-byte Spill
jne LBB0_55
## %bb.56: ## in Loop: Header=BB0_6 Depth=1
movsd -160(%rbp), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm1
movq -112(%rbp), %rdi ## 8-byte Reload
jp LBB0_58
## %bb.57: ## in Loop: Header=BB0_6 Depth=1
movapd %xmm1, %xmm0
andpd LCPI0_0(%rip), %xmm0
ucomisd LCPI0_1(%rip), %xmm0
jb LBB0_59
LBB0_58: ## in Loop: Header=BB0_6 Depth=1
movabsq $9221120237041090560, %rax ## imm = 0x7FF8000000000000
movq %rax, -160(%rbp)
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
jmp LBB0_59
LBB0_55: ## in Loop: Header=BB0_6 Depth=1
movabsq $9221120237041090560, %rax ## imm = 0x7FF8000000000000
movq %rax, -160(%rbp)
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
movq -112(%rbp), %rdi ## 8-byte Reload
LBB0_59: ## in Loop: Header=BB0_6 Depth=1
movapd %xmm1, -240(%rbp) ## 16-byte Spill
movq -88(%rbp), %rax ## 8-byte Reload
leaq 8(,%rax,8), %r13
movq %r13, -56(%rbp) ## 8-byte Spill
movq %r13, %rsi
callq _realloc
movq %rax, -112(%rbp) ## 8-byte Spill
movq -104(%rbp), %rdi ## 8-byte Reload
movq %r13, %rsi
callq _realloc
movq %rax, -104(%rbp) ## 8-byte Spill
movq -136(%rbp), %rdi ## 8-byte Reload
movq %r13, %rsi
callq _realloc
movq %rax, %r13
movq -144(%rbp), %rdi ## 8-byte Reload
movq -56(%rbp), %rsi ## 8-byte Reload
callq _realloc
movq -104(%rbp), %rsi ## 8-byte Reload
movq -112(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB0_63
## %bb.60: ## in Loop: Header=BB0_6 Depth=1
testq %rsi, %rsi
je LBB0_63
## %bb.61: ## in Loop: Header=BB0_6 Depth=1
testq %r13, %r13
je LBB0_63
## %bb.62: ## in Loop: Header=BB0_6 Depth=1
movq %rax, %r8
testq %rax, %rax
je LBB0_63
## %bb.64: ## in Loop: Header=BB0_6 Depth=1
movq -88(%rbp), %rcx ## 8-byte Reload
movaps -240(%rbp), %xmm0 ## 16-byte Reload
movsd %xmm0, (%rdi,%rcx,8)
movsd -200(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rsi,%rcx,8)
movsd -192(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %r13, %rax
movq %r13, -136(%rbp) ## 8-byte Spill
movsd %xmm0, (%r13,%rcx,8)
movsd -184(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %r8, %rax
movq %r8, -144(%rbp) ## 8-byte Spill
movsd %xmm0, (%r8,%rcx,8)
leaq 1(%rcx), %rax
incq -208(%rbp) ## 8-byte Folded Spill
movq %rax, -88(%rbp) ## 8-byte Spill
movq -176(%rbp), %r13 ## 8-byte Reload
jmp LBB0_6
LBB0_65:
leaq L_.str.42(%rip), %rsi
movq -168(%rbp), %rdi ## 8-byte Reload
callq _strcmp
testl %eax, %eax
je LBB0_67
## %bb.66:
movq %r12, %rdi
callq _fclose
LBB0_67:
movq -88(%rbp), %rbx ## 8-byte Reload
leaq 8(,%rbx,8), %r15
movq %r15, %rdi
callq _malloc
movq %rax, -96(%rbp) ## 8-byte Spill
movq %r15, %rdi
callq _malloc
movq %rax, %r12
movq %r15, %rdi
callq _malloc
movq %rax, %r14
movq %r15, %rdi
callq _malloc
movq -96(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB0_63
## %bb.68:
testq %r12, %r12
je LBB0_63
## %bb.69:
testq %r14, %r14
je LBB0_63
## %bb.70:
movq %r12, -48(%rbp) ## 8-byte Spill
movq %rax, -72(%rbp) ## 8-byte Spill
testq %rbx, %rbx
movq %r13, -176(%rbp) ## 8-byte Spill
movq %r14, -80(%rbp) ## 8-byte Spill
jne LBB0_72
## %bb.71:
movq _xf_compare1_d@GOTPCREL(%rip), %r15
movl $8, %edx
movq %rbx, %rsi
movq %r15, %rcx
callq _qsort
xorl %r12d, %r12d
movl $8, %edx
movq -48(%rbp), %rdi ## 8-byte Reload
xorl %esi, %esi
movq %r15, %rcx
callq _qsort
movl $8, %edx
movq %r14, %rdi
xorl %esi, %esi
movq %r15, %rcx
callq _qsort
movl $1, %r15d
movl $1, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movl $1, %eax
LBB0_111:
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_112
LBB0_8:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.45(%rip), %rsi
jmp LBB0_9
LBB0_63:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.49(%rip), %rsi
LBB0_9:
leaq L_.str.9(%rip), %rdx
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_72:
leaq (,%rbx,8), %rdx
movq -104(%rbp), %rsi ## 8-byte Reload
movq %rdi, %r14
callq _memcpy
movq _xf_compare1_d@GOTPCREL(%rip), %rcx
movl $8, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq _qsort
movl $1, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rbx, %rax
movl $1, %ebx
movl $1, %r15d
cmpq $1, %rax
movq -48(%rbp), %r14 ## 8-byte Reload
je LBB0_85
## %bb.73:
leaq -1(%rax), %r8
cmpq $2, %rax
jne LBB0_75
## %bb.74:
movl $1, %ecx
movl $1, %ebx
movq -96(%rbp), %rax ## 8-byte Reload
movq %rax, %rdx
LBB0_81:
testb $1, %r8b
je LBB0_84
## %bb.82:
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
ucomisd (%rdx), %xmm0
jne LBB0_83
jnp LBB0_84
LBB0_83:
movsd %xmm0, (%rax,%rbx,8)
incq %rbx
LBB0_84:
movq -88(%rbp), %r15 ## 8-byte Reload
LBB0_85:
leaq (,%r15,8), %rdx
movq %r14, %rdi
movq -136(%rbp), %rsi ## 8-byte Reload
callq _memcpy
movq _xf_compare1_d@GOTPCREL(%rip), %rcx
movl $8, %edx
movq %r14, %rdi
movq %r15, %rsi
callq _qsort
movl $1, %r12d
cmpq $2, %r15
movq -80(%rbp), %r14 ## 8-byte Reload
jb LBB0_98
## %bb.86:
leaq -1(%r15), %r8
cmpq $2, %r15
jne LBB0_88
## %bb.87:
movl $1, %ecx
movl $1, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, %rdx
LBB0_94:
testb $1, %r8b
je LBB0_97
## %bb.95:
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
ucomisd (%rdx), %xmm0
jne LBB0_96
jnp LBB0_97
LBB0_96:
movq -56(%rbp), %rcx ## 8-byte Reload
movsd %xmm0, (%rax,%rcx,8)
incq %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
LBB0_97:
movq %r15, %r12
LBB0_98:
leaq (,%r12,8), %rdx
movq %r14, %rdi
movq -144(%rbp), %rsi ## 8-byte Reload
callq _memcpy
movq _xf_compare1_d@GOTPCREL(%rip), %rcx
movl $8, %edx
movq %r14, %rdi
movq %r12, %rsi
callq _qsort
movl $1, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
cmpq $2, %r12
jb LBB0_99
## %bb.100:
leaq -1(%r12), %rax
cmpq $2, %r12
movq %rbx, %r15
jne LBB0_102
## %bb.101:
movl $1, %ecx
movl $1, %edx
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %r14, %rdx
LBB0_108:
testb $1, %al
je LBB0_112
## %bb.109:
movsd (%r14,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
ucomisd (%rdx), %xmm0
jne LBB0_110
jnp LBB0_112
LBB0_110:
movq -64(%rbp), %rax ## 8-byte Reload
movsd %xmm0, (%r14,%rax,8)
incq %rax
jmp LBB0_111
LBB0_99:
movl $1, %r12d
movq %rbx, %r15
LBB0_112:
leaq L_.str.50(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.51(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.52(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str(%rip), %rdi
callq _puts
testq %r15, %r15
movq -112(%rbp), %r11 ## 8-byte Reload
movq -144(%rbp), %r9 ## 8-byte Reload
movabsq $9221120237041090560, %r10 ## imm = 0x7FF8000000000000
movq -136(%rbp), %rsi ## 8-byte Reload
movq -104(%rbp), %rdi ## 8-byte Reload
movapd LCPI0_0(%rip), %xmm3 ## xmm3 = [NaN,NaN]
movsd LCPI0_1(%rip), %xmm4 ## xmm4 = mem[0],zero
movq -72(%rbp), %rdx ## 8-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
jle LBB0_137
## %bb.113:
movaps LCPI0_3(%rip), %xmm5 ## xmm5 = [NaN,NaN]
xorl %eax, %eax
movq %rax, -152(%rbp) ## 8-byte Spill
movq %r15, -88(%rbp) ## 8-byte Spill
jmp LBB0_114
.p2align 4, 0x90
LBB0_136: ## in Loop: Header=BB0_114 Depth=1
movq -152(%rbp), %rbx ## 8-byte Reload
incq %rbx
movq -88(%rbp), %r15 ## 8-byte Reload
movq %rbx, %rax
movq %rbx, -152(%rbp) ## 8-byte Spill
cmpq %r15, %rbx
je LBB0_137
LBB0_114: ## =>This Loop Header: Depth=1
## Child Loop BB0_116 Depth 2
## Child Loop BB0_118 Depth 3
## Child Loop BB0_120 Depth 4
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
jle LBB0_136
## %bb.115: ## in Loop: Header=BB0_114 Depth=1
xorl %r14d, %r14d
jmp LBB0_116
.p2align 4, 0x90
LBB0_135: ## in Loop: Header=BB0_116 Depth=2
incq %r14
cmpq -56(%rbp), %r14 ## 8-byte Folded Reload
je LBB0_136
LBB0_116: ## Parent Loop BB0_114 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_118 Depth 3
## Child Loop BB0_120 Depth 4
cmpq $0, -64(%rbp) ## 8-byte Folded Reload
jle LBB0_135
## %bb.117: ## in Loop: Header=BB0_116 Depth=2
xorl %ebx, %ebx
jmp LBB0_118
LBB0_131: ## in Loop: Header=BB0_118 Depth=3
leaq L_.str.54(%rip), %rdi
movb $1, %al
callq _printf
movq -48(%rbp), %rax ## 8-byte Reload
movsd (%rax,%r14,8), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.54(%rip), %rdi
movb $1, %al
callq _printf
movq -80(%rbp), %rax ## 8-byte Reload
movsd (%rax,%rbx,8), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.54(%rip), %rdi
movb $1, %al
callq _printf
LBB0_133: ## in Loop: Header=BB0_118 Depth=3
movsd -752(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -736(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -728(%rbp), %xmm2 ## xmm2 = mem[0],zero
leaq L_.str.55(%rip), %rdi
movq %r13, %rsi
movq %r15, %rdx
movb $3, %al
callq _printf
movq -112(%rbp), %r11 ## 8-byte Reload
movq -144(%rbp), %r9 ## 8-byte Reload
movabsq $9221120237041090560, %r10 ## imm = 0x7FF8000000000000
movq -136(%rbp), %rsi ## 8-byte Reload
movq -104(%rbp), %rdi ## 8-byte Reload
movapd LCPI0_0(%rip), %xmm3 ## xmm3 = [NaN,NaN]
movsd LCPI0_1(%rip), %xmm4 ## xmm4 = mem[0],zero
movq -72(%rbp), %rdx ## 8-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
movaps LCPI0_3(%rip), %xmm5 ## xmm5 = [NaN,NaN]
LBB0_134: ## in Loop: Header=BB0_118 Depth=3
incq %rbx
cmpq -64(%rbp), %rbx ## 8-byte Folded Reload
je LBB0_135
LBB0_118: ## Parent Loop BB0_114 Depth=1
## Parent Loop BB0_116 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_120 Depth 4
movaps %xmm5, -736(%rbp)
movq %r10, -752(%rbp)
testq %r12, %r12
je LBB0_134
## %bb.119: ## in Loop: Header=BB0_118 Depth=3
movq -152(%rbp), %rax ## 8-byte Reload
movq %rdx, %r8
movq -96(%rbp), %rdx ## 8-byte Reload
movsd (%rdx,%rax,8), %xmm0 ## xmm0 = mem[0],zero
movq %r8, %rdx
xorl %r15d, %r15d
xorl %r13d, %r13d
xorl %eax, %eax
jmp LBB0_120
.p2align 4, 0x90
LBB0_126: ## in Loop: Header=BB0_120 Depth=4
incq %rax
cmpq %rax, %r12
je LBB0_127
LBB0_120: ## Parent Loop BB0_114 Depth=1
## Parent Loop BB0_116 Depth=2
## Parent Loop BB0_118 Depth=3
## => This Inner Loop Header: Depth=4
movsd (%rdi,%rax,8), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jne LBB0_126
jp LBB0_126
## %bb.121: ## in Loop: Header=BB0_120 Depth=4
movsd (%rsi,%rax,8), %xmm1 ## xmm1 = mem[0],zero
ucomisd (%rcx,%r14,8), %xmm1
jne LBB0_126
jp LBB0_126
## %bb.122: ## in Loop: Header=BB0_120 Depth=4
movsd (%r9,%rax,8), %xmm1 ## xmm1 = mem[0],zero
movq -80(%rbp), %r8 ## 8-byte Reload
ucomisd (%r8,%rbx,8), %xmm1
jne LBB0_126
jp LBB0_126
## %bb.123: ## in Loop: Header=BB0_120 Depth=4
incq %r15
movsd (%r11,%rax,8), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm1
jp LBB0_126
## %bb.124: ## in Loop: Header=BB0_120 Depth=4
movapd %xmm1, %xmm2
andpd %xmm3, %xmm2
ucomisd %xmm4, %xmm2
jae LBB0_126
## %bb.125: ## in Loop: Header=BB0_120 Depth=4
movsd %xmm1, (%rdx,%r13,8)
incq %r13
jmp LBB0_126
.p2align 4, 0x90
LBB0_127: ## in Loop: Header=BB0_118 Depth=3
testq %r15, %r15
jle LBB0_134
## %bb.128: ## in Loop: Header=BB0_118 Depth=3
testq %r13, %r13
jle LBB0_130
## %bb.129: ## in Loop: Header=BB0_118 Depth=3
movq %rdx, %rdi
movq %r13, %rsi
movl $2, %edx
leaq -752(%rbp), %rcx
callq _xf_stats2_d
LBB0_130: ## in Loop: Header=BB0_118 Depth=3
movq -152(%rbp), %rax ## 8-byte Reload
movq -96(%rbp), %rcx ## 8-byte Reload
movsd (%rcx,%rax,8), %xmm0 ## xmm0 = mem[0],zero
cmpl $0, -116(%rbp) ## 4-byte Folded Reload
je LBB0_131
## %bb.132: ## in Loop: Header=BB0_118 Depth=3
cvttsd2si %xmm0, %rsi
leaq L_.str.56(%rip), %rdi
xorl %eax, %eax
callq _printf
movq -48(%rbp), %rax ## 8-byte Reload
cvttsd2si (%rax,%r14,8), %rsi
leaq L_.str.56(%rip), %rdi
xorl %eax, %eax
callq _printf
movq -80(%rbp), %rax ## 8-byte Reload
cvttsd2si (%rax,%rbx,8), %rsi
leaq L_.str.56(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_133
LBB0_137:
movq -176(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_139
## %bb.138:
movq %rax, %rdi
callq _free
movq -104(%rbp), %rdi ## 8-byte Reload
LBB0_139:
testq %rdi, %rdi
movq -80(%rbp), %rbx ## 8-byte Reload
je LBB0_141
## %bb.140:
callq _free
LBB0_141:
movq -136(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB0_143
## %bb.142:
callq _free
LBB0_143:
movq -144(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB0_145
## %bb.144:
callq _free
LBB0_145:
movq -96(%rbp), %rdi ## 8-byte Reload
callq _free
movq -48(%rbp), %rdi ## 8-byte Reload
callq _free
movq %rbx, %rdi
callq _free
movq -112(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB0_147
## %bb.146:
callq _free
LBB0_147:
movq -72(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB0_149
## %bb.148:
callq _free
LBB0_149:
xorl %edi, %edi
callq _exit
LBB0_75:
movq -208(%rbp), %r9 ## 8-byte Reload
andq $-2, %r9
negq %r9
movl $1, %ecx
movq -96(%rbp), %rax ## 8-byte Reload
movq %rax, %rdx
movl $1, %ebx
jmp LBB0_76
.p2align 4, 0x90
LBB0_80: ## in Loop: Header=BB0_76 Depth=1
addq $16, %rdx
leaq (%r9,%rcx), %rsi
addq $2, %rsi
addq $2, %rcx
cmpq $1, %rsi
je LBB0_81
LBB0_76: ## =>This Inner Loop Header: Depth=1
movsd 8(%rdx), %xmm0 ## xmm0 = mem[0],zero
ucomisd (%rdx), %xmm0
jne LBB0_77
jnp LBB0_78
LBB0_77: ## in Loop: Header=BB0_76 Depth=1
movsd %xmm0, (%rax,%rbx,8)
incq %rbx
LBB0_78: ## in Loop: Header=BB0_76 Depth=1
movsd 16(%rdx), %xmm0 ## xmm0 = mem[0],zero
ucomisd 8(%rdx), %xmm0
jne LBB0_79
jnp LBB0_80
LBB0_79: ## in Loop: Header=BB0_76 Depth=1
movsd %xmm0, (%rax,%rbx,8)
incq %rbx
jmp LBB0_80
LBB0_88:
movq %r8, %rsi
andq $-2, %rsi
negq %rsi
movl $1, %ecx
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, %rdx
movl $1, %edi
movq %rdi, -56(%rbp) ## 8-byte Spill
jmp LBB0_89
.p2align 4, 0x90
LBB0_93: ## in Loop: Header=BB0_89 Depth=1
addq $16, %rdx
leaq (%rsi,%rcx), %rdi
addq $2, %rdi
addq $2, %rcx
cmpq $1, %rdi
je LBB0_94
LBB0_89: ## =>This Inner Loop Header: Depth=1
movsd 8(%rdx), %xmm0 ## xmm0 = mem[0],zero
ucomisd (%rdx), %xmm0
jne LBB0_90
jnp LBB0_91
LBB0_90: ## in Loop: Header=BB0_89 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
movsd %xmm0, (%rax,%rdi,8)
incq %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
LBB0_91: ## in Loop: Header=BB0_89 Depth=1
movsd 16(%rdx), %xmm0 ## xmm0 = mem[0],zero
ucomisd 8(%rdx), %xmm0
jne LBB0_92
jnp LBB0_93
LBB0_92: ## in Loop: Header=BB0_89 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
movsd %xmm0, (%rax,%rdi,8)
incq %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
jmp LBB0_93
LBB0_102:
movq %rax, %rsi
andq $-2, %rsi
negq %rsi
movl $1, %ecx
movq %r14, %rdx
movl $1, %edi
movq %rdi, -64(%rbp) ## 8-byte Spill
jmp LBB0_103
.p2align 4, 0x90
LBB0_107: ## in Loop: Header=BB0_103 Depth=1
addq $16, %rdx
leaq (%rsi,%rcx), %rdi
addq $2, %rdi
addq $2, %rcx
cmpq $1, %rdi
je LBB0_108
LBB0_103: ## =>This Inner Loop Header: Depth=1
movsd 8(%rdx), %xmm0 ## xmm0 = mem[0],zero
ucomisd (%rdx), %xmm0
jne LBB0_104
jnp LBB0_105
LBB0_104: ## in Loop: Header=BB0_103 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
movsd %xmm0, (%r14,%rdi,8)
incq %rdi
movq %rdi, -64(%rbp) ## 8-byte Spill
LBB0_105: ## in Loop: Header=BB0_103 Depth=1
movsd 16(%rdx), %xmm0 ## xmm0 = mem[0],zero
ucomisd 8(%rdx), %xmm0
jne LBB0_106
jnp LBB0_107
LBB0_106: ## in Loop: Header=BB0_103 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
movsd %xmm0, (%r14,%rdi,8)
incq %rdi
movq %rdi, -64(%rbp) ## 8-byte Spill
jmp LBB0_107
LBB0_40:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.47(%rip), %rsi
jmp LBB0_9
LBB0_14:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.31(%rip), %rsi
LBB0_15:
leaq L_.str.9(%rip), %rdx
movq %r13, %rcx
LBB0_16:
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_151:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.37(%rip), %rsi
jmp LBB0_15
LBB0_150:
movq ___stderrp@GOTPCREL(%rip), %rbx
movq (%rbx), %rsi
movl $10, %edi
callq _fputc
movq (%rbx), %rcx
leaq L_.str.1(%rip), %r14
movl $71, %esi
movl $1, %edx
movq %r14, %rdi
callq _fwrite
movq (%rbx), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.3(%rip), %rdx
xorl %eax, %eax
callq _fprintf
movq (%rbx), %rcx
movl $71, %esi
movl $1, %edx
movq %r14, %rdi
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.4(%rip), %rdi
movl $56, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.5(%rip), %rdi
movl $30, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.6(%rip), %rdi
movl $61, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.7(%rip), %rdi
movl $65, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rsi
movl $10, %edi
callq _fputc
movq (%rbx), %rdi
leaq L_.str.8(%rip), %rsi
leaq L_.str.9(%rip), %r15
movq %r15, %rdx
xorl %eax, %eax
callq _fprintf
movq (%rbx), %rcx
leaq L_.str.10(%rip), %rdi
movl $31, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.11(%rip), %rdi
movl $15, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rdi
leaq L_.str.12(%rip), %rsi
movl $1, %edx
xorl %eax, %eax
callq _fprintf
movq (%rbx), %rdi
leaq L_.str.13(%rip), %rsi
movl $2, %edx
xorl %eax, %eax
callq _fprintf
movq (%rbx), %rdi
leaq L_.str.14(%rip), %rsi
movl $3, %edx
xorl %eax, %eax
callq _fprintf
movq (%rbx), %rdi
leaq L_.str.15(%rip), %rsi
movl $4, %edx
xorl %eax, %eax
callq _fprintf
movq (%rbx), %rdi
leaq L_.str.16(%rip), %rsi
xorl %edx, %edx
xorl %eax, %eax
callq _fprintf
movq (%rbx), %rcx
leaq L_.str.17(%rip), %rdi
movl $10, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rdi
leaq L_.str.18(%rip), %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _fprintf
movq (%rbx), %rcx
leaq L_.str.19(%rip), %rdi
movl $7, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.20(%rip), %rdi
movl $7, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.21(%rip), %rdi
movl $7, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rsi
movl $10, %edi
callq _fputc
movq (%rbx), %rdi
leaq L_.str.22(%rip), %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _fprintf
movq (%rbx), %rcx
leaq L_.str.23(%rip), %rdi
movl $8, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.24(%rip), %rdi
movl $5, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.25(%rip), %rdi
movl $5, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.26(%rip), %rdi
movl $5, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.27(%rip), %rdi
movl $20, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rsi
movl $10, %edi
callq _fputc
movq (%rbx), %rcx
leaq L_.str.28(%rip), %rdi
movl $7, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.29(%rip), %rdi
movl $55, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.30(%rip), %rdi
movl $54, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
movl $71, %esi
movl $1, %edx
movq %r14, %rdi
callq _fwrite
movq (%rbx), %rsi
movl $10, %edi
callq _fputc
xorl %edi, %edi
callq _exit
LBB0_29:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.38(%rip), %rsi
leaq L_.str.9(%rip), %rdx
movq %rbx, %rcx
jmp LBB0_16
LBB0_31:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.39(%rip), %rsi
leaq L_.str.9(%rip), %rdx
movq -48(%rbp), %rcx ## 8-byte Reload
jmp LBB0_16
LBB0_33:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.40(%rip), %rsi
leaq L_.str.9(%rip), %rdx
movq -72(%rbp), %rcx ## 8-byte Reload
jmp LBB0_16
LBB0_35:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.41(%rip), %rsi
leaq L_.str.9(%rip), %rdx
movq -128(%rbp), %rcx ## 8-byte Reload
jmp LBB0_16
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "----------------------------------------------------------------------\n"
L_.str.2: ## @.str.2
.asciz "%s\n"
L_.str.3: ## @.str.3
.asciz "xe-statsgrp3 v 9: 29.April.2019 [JRH]"
L_.str.4: ## @.str.4
.asciz "Calculate stats on a data-column using grouping-columns\n"
L_.str.5: ## @.str.5
.asciz "- input must be tab-delimited\n"
L_.str.6: ## @.str.6
.asciz "- grouping-variables must be numeric (can be floating-point)\n"
L_.str.7: ## @.str.7
.asciz "- non-numeric data-values will be ignored for stats calculations\n"
L_.str.8: ## @.str.8
.asciz "USAGE: %s [input] [options]\n"
L_.str.9: ## @.str.9
.asciz "xe-statsgrp3"
L_.str.10: ## @.str.10
.asciz "\t[input]: file name or \"stdin\"\n"
L_.str.11: ## @.str.11
.asciz "VALID OPTIONS:\n"
L_.str.12: ## @.str.12
.asciz "\t-cg1: column defining grouping-variable 1 [%ld]\n"
L_.str.13: ## @.str.13
.asciz "\t-cg2: column defining grouping-variable 2 [%ld]\n"
L_.str.14: ## @.str.14
.asciz "\t-cg3: column defining grouping-variable 3 [%ld]\n"
L_.str.15: ## @.str.15
.asciz "\t-cy: column containing dependent variable [%ld]\n"
L_.str.16: ## @.str.16
.asciz "\t-gint: output groups as integers? (0=NO 1=YES) [%d]\n"
L_.str.17: ## @.str.17
.asciz "EXAMPLES:\n"
L_.str.18: ## @.str.18
.asciz "\t%s data.txt"
L_.str.19: ## @.str.19
.asciz " -cg1 5"
L_.str.20: ## @.str.20
.asciz " -cg2 7"
L_.str.21: ## @.str.21
.asciz " -cg3 9"
L_.str.22: ## @.str.22
.asciz "\tcat temp.txt | %s stdin -gint 1\n"
L_.str.23: ## @.str.23
.asciz "OUTPUT:\n"
L_.str.24: ## @.str.24
.asciz "\tgrp1"
L_.str.25: ## @.str.25
.asciz "\tgrp2"
L_.str.26: ## @.str.26
.asciz "\tgrp3"
L_.str.27: ## @.str.27
.asciz "\tn\tmean\tsd\tsem\tntot\n"
L_.str.28: ## @.str.28
.asciz "\tNOTE:\n"
L_.str.29: ## @.str.29
.asciz "\t\tntot= total datapoints for a given group-combination\n"
L_.str.30: ## @.str.30
.asciz "\t\tn= valid numbers contributing to statistical result\n"
L_.str.31: ## @.str.31
.asciz "\n--- Error [%s]: missing value for argument \"%s\"\n\n"
L_.str.32: ## @.str.32
.asciz "-cg1"
L_.str.33: ## @.str.33
.asciz "-cg2"
L_.str.34: ## @.str.34
.asciz "-cg3"
L_.str.35: ## @.str.35
.asciz "-cy"
L_.str.36: ## @.str.36
.asciz "-gint"
L_.str.37: ## @.str.37
.asciz "\n--- Error [%s]: invalid command line argument \"%s\"\n"
L_.str.38: ## @.str.38
.asciz "\n--- Error [%s]: invalid group column (-cg1 %ld) - must be >0\n"
L_.str.39: ## @.str.39
.asciz "\n--- Error [%s]: invalid group column (-cg2 %ld) - must be >0\n"
L_.str.40: ## @.str.40
.asciz "\n--- Error [%s]: invalid group column (-cg3 %ld) - must be >0\n"
L_.str.41: ## @.str.41
.asciz "\n--- Error [%s]: invalid data column (-cy %ld) - must be >0\n"
L_.str.42: ## @.str.42
.asciz "stdin"
L_.str.43: ## @.str.43
.asciz "r"
L_.str.44: ## @.str.44
.asciz "\n--- Error [%s]: file \"%s\" not found\n\n"
L_.str.45: ## @.str.45
.asciz "\n--- Error [%s]: readline function encountered insufficient memory\n\n"
L_.str.46: ## @.str.46
.asciz "\t"
L_.str.47: ## @.str.47
.asciz "\n--- Error [%s]: lineparse function encountered insufficient memory\n\n"
L_.str.48: ## @.str.48
.asciz "%lf"
L_.str.49: ## @.str.49
.asciz "\n--- Error [%s]: insufficient memory\n\n"
L_.str.50: ## @.str.50
.asciz "grp1\t"
L_.str.51: ## @.str.51
.asciz "grp2\t"
L_.str.52: ## @.str.52
.asciz "grp3\t"
L_.str.54: ## @.str.54
.asciz "%g\t"
L_.str.55: ## @.str.55
.asciz "%ld\t%g\t%g\t%g\t%ld\n"
L_.str.56: ## @.str.56
.asciz "%ld\t"
L_str: ## @str
.asciz "n\tmean\tsd\tsem\tntot"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill
.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
.cfi_offset b8, -104
.cfi_offset b9, -112
sub sp, sp, #736
stur xzr, [x29, #-112]
str xzr, [sp, #168]
cmp w0, #1
b.le LBB0_122
; %bb.1:
mov x19, x1
ldr x20, [x1, #8]
cmp w0, #2
str x20, [sp, #80] ; 8-byte Folded Spill
b.ne LBB0_3
; %bb.2:
str wzr, [sp, #108] ; 4-byte Folded Spill
mov w19, #4
mov w23, #3
mov w28, #2
mov w26, #1
b LBB0_21
LBB0_3:
str wzr, [sp, #108] ; 4-byte Folded Spill
mov w27, w0
mov w26, #1
mov w28, #2
mov w23, #3
Lloh0:
adrp x20, l_.str.32@PAGE
Lloh1:
add x20, x20, l_.str.32@PAGEOFF
Lloh2:
adrp x21, l_.str.33@PAGE
Lloh3:
add x21, x21, l_.str.33@PAGEOFF
Lloh4:
adrp x22, l_.str.34@PAGE
Lloh5:
add x22, x22, l_.str.34@PAGEOFF
mov w8, #4
str x8, [sp, #160] ; 8-byte Folded Spill
mov w24, #2
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [x19, x24, lsl #3]
bl _atol
mov x26, x0
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x24, x24, #1
cmp x24, x27
b.ge LBB0_17
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x25, [x19, x24, lsl #3]
ldrb w8, [x25]
cmp w8, #45
b.ne LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add x24, x24, #1
cmp x24, x27
b.ge LBB0_120
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov x0, x25
mov x1, x20
bl _strcmp
cbz w0, LBB0_4
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
mov x0, x25
mov x1, x21
bl _strcmp
cbz w0, LBB0_14
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
mov x0, x25
mov x1, x22
bl _strcmp
cbz w0, LBB0_15
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
mov x0, x25
Lloh6:
adrp x1, l_.str.35@PAGE
Lloh7:
add x1, x1, l_.str.35@PAGEOFF
bl _strcmp
cbz w0, LBB0_16
; %bb.12: ; in Loop: Header=BB0_6 Depth=1
mov x0, x25
Lloh8:
adrp x1, l_.str.36@PAGE
Lloh9:
add x1, x1, l_.str.36@PAGEOFF
bl _strcmp
cbnz w0, LBB0_121
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [x19, x24, lsl #3]
bl _atoi
str w0, [sp, #108] ; 4-byte Folded Spill
b LBB0_5
LBB0_14: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [x19, x24, lsl #3]
bl _atol
mov x28, x0
b LBB0_5
LBB0_15: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [x19, x24, lsl #3]
bl _atol
mov x23, x0
b LBB0_5
LBB0_16: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [x19, x24, lsl #3]
bl _atol
str x0, [sp, #160] ; 8-byte Folded Spill
b LBB0_5
LBB0_17:
cmp x26, #0
b.le LBB0_123
; %bb.18:
cmp x28, #0
ldr x20, [sp, #80] ; 8-byte Folded Reload
ldr x19, [sp, #160] ; 8-byte Folded Reload
b.le LBB0_124
; %bb.19:
cmp x23, #0
b.le LBB0_125
; %bb.20:
cmp x19, #0
b.le LBB0_126
LBB0_21:
Lloh10:
adrp x1, l_.str.42@PAGE
Lloh11:
add x1, x1, l_.str.42@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB0_24
; %bb.22:
Lloh12:
adrp x1, l_.str.43@PAGE
Lloh13:
add x1, x1, l_.str.43@PAGEOFF
mov x0, x20
bl _fopen
mov x24, x0
cbnz x0, LBB0_25
; %bb.23:
Lloh14:
adrp x8, ___stderrp@GOTPAGE
Lloh15:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh16:
ldr x0, [x8]
Lloh17:
adrp x8, l_.str.9@PAGE
Lloh18:
add x8, x8, l_.str.9@PAGEOFF
ldr x9, [sp, #80] ; 8-byte Folded Reload
stp x8, x9, [sp]
Lloh19:
adrp x1, l_.str.44@PAGE
Lloh20:
add x1, x1, l_.str.44@PAGEOFF
b LBB0_62
LBB0_24:
Lloh21:
adrp x8, ___stdinp@GOTPAGE
Lloh22:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh23:
ldr x24, [x8]
LBB0_25:
stp xzr, xzr, [sp, #136] ; 16-byte Folded Spill
stp xzr, xzr, [sp, #120] ; 16-byte Folded Spill
str xzr, [sp, #112] ; 8-byte Folded Spill
mov x25, #0
mov x27, #0
sub x20, x26, #1
sub x21, x28, #1
sub x22, x23, #1
sub x23, x19, #1
mov x8, #9221120237041090560
stur x8, [x29, #-120]
stp x8, x8, [sp, #184]
str x8, [sp, #176]
Lloh24:
adrp x28, l_.str.46@PAGE
Lloh25:
add x28, x28, l_.str.46@PAGEOFF
add x19, sp, #192
Lloh26:
adrp x26, l_.str.48@PAGE
Lloh27:
add x26, x26, l_.str.48@PAGEOFF
LBB0_26: ; =>This Inner Loop Header: Depth=1
sub x1, x29, #112
mov x0, x27
mov x2, x24
bl _xf_lineread1
cbz x0, LBB0_53
; %bb.27: ; in Loop: Header=BB0_26 Depth=1
ldur x8, [x29, #-112]
cmn x8, #1
b.eq LBB0_60
; %bb.28: ; in Loop: Header=BB0_26 Depth=1
mov x27, x0
ldrb w8, [x0]
cmp w8, #35
b.eq LBB0_26
; %bb.29: ; in Loop: Header=BB0_26 Depth=1
add x2, sp, #168
mov x0, x27
mov x1, x28
bl _xf_lineparse2
ldr x8, [sp, #168]
tbnz x8, #63, LBB0_119
; %bb.30: ; in Loop: Header=BB0_26 Depth=1
mov x25, x0
cmp x8, x23
b.lt LBB0_26
; %bb.31: ; in Loop: Header=BB0_26 Depth=1
cmp x8, x20
b.lt LBB0_26
; %bb.32: ; in Loop: Header=BB0_26 Depth=1
cmp x8, x21
b.lt LBB0_26
; %bb.33: ; in Loop: Header=BB0_26 Depth=1
cmp x8, x22
b.lt LBB0_26
; %bb.34: ; in Loop: Header=BB0_26 Depth=1
ldr x8, [x25, x20, lsl #3]
add x0, x27, x8
str x19, [sp]
mov x1, x26
bl _sscanf
cmp w0, #1
b.ne LBB0_26
; %bb.35: ; in Loop: Header=BB0_26 Depth=1
ldr d0, [sp, #192]
fcmp d0, d0
b.vs LBB0_26
; %bb.36: ; in Loop: Header=BB0_26 Depth=1
fabs d0, d0
mov x8, #9218868437227405312
fmov d1, x8
fcmp d0, d1
b.eq LBB0_26
; %bb.37: ; in Loop: Header=BB0_26 Depth=1
ldr x8, [x25, x21, lsl #3]
add x0, x27, x8
add x8, sp, #184
str x8, [sp]
mov x1, x26
bl _sscanf
cmp w0, #1
b.ne LBB0_26
; %bb.38: ; in Loop: Header=BB0_26 Depth=1
ldr d0, [sp, #184]
fcmp d0, d0
b.vs LBB0_26
; %bb.39: ; in Loop: Header=BB0_26 Depth=1
fabs d0, d0
mov x8, #9218868437227405312
fmov d1, x8
fcmp d0, d1
b.eq LBB0_26
; %bb.40: ; in Loop: Header=BB0_26 Depth=1
ldr x8, [x25, x22, lsl #3]
add x0, x27, x8
add x8, sp, #176
str x8, [sp]
mov x1, x26
bl _sscanf
cmp w0, #1
b.ne LBB0_26
; %bb.41: ; in Loop: Header=BB0_26 Depth=1
ldr d0, [sp, #176]
fcmp d0, d0
b.vs LBB0_26
; %bb.42: ; in Loop: Header=BB0_26 Depth=1
fabs d0, d0
mov x8, #9218868437227405312
fmov d1, x8
fcmp d0, d1
b.eq LBB0_26
; %bb.43: ; in Loop: Header=BB0_26 Depth=1
ldr x8, [x25, x23, lsl #3]
add x0, x27, x8
sub x8, x29, #120
str x8, [sp]
mov x1, x26
bl _sscanf
cmp w0, #1
str x25, [sp, #48] ; 8-byte Folded Spill
b.ne LBB0_47
; %bb.44: ; in Loop: Header=BB0_26 Depth=1
ldur d8, [x29, #-120]
fcmp d8, d8
ldp x0, x9, [sp, #136] ; 16-byte Folded Reload
b.vs LBB0_46
; %bb.45: ; in Loop: Header=BB0_26 Depth=1
fabs d0, d8
mov x8, #9218868437227405312
fmov d1, x8
fcmp d0, d1
b.ne LBB0_48
LBB0_46: ; in Loop: Header=BB0_26 Depth=1
mov x8, #9221120237041090560
stur x8, [x29, #-120]
fmov d8, x8
b LBB0_48
LBB0_47: ; in Loop: Header=BB0_26 Depth=1
mov x8, #9221120237041090560
stur x8, [x29, #-120]
fmov d8, x8
ldp x0, x9, [sp, #136] ; 16-byte Folded Reload
LBB0_48: ; in Loop: Header=BB0_26 Depth=1
add x8, x9, #1
lsl x25, x8, #3
stp x8, x25, [sp, #152] ; 16-byte Folded Spill
mov x1, x25
bl _realloc
str x0, [sp, #136] ; 8-byte Folded Spill
ldr x0, [sp, #128] ; 8-byte Folded Reload
mov x1, x25
bl _realloc
str x0, [sp, #128] ; 8-byte Folded Spill
ldr x0, [sp, #112] ; 8-byte Folded Reload
mov x1, x25
bl _realloc
mov x25, x0
ldr x0, [sp, #120] ; 8-byte Folded Reload
ldr x1, [sp, #160] ; 8-byte Folded Reload
bl _realloc
ldp x10, x9, [sp, #128] ; 16-byte Folded Reload
cbz x9, LBB0_61
; %bb.49: ; in Loop: Header=BB0_26 Depth=1
cbz x10, LBB0_61
; %bb.50: ; in Loop: Header=BB0_26 Depth=1
cbz x25, LBB0_61
; %bb.51: ; in Loop: Header=BB0_26 Depth=1
cbz x0, LBB0_61
; %bb.52: ; in Loop: Header=BB0_26 Depth=1
ldr x8, [sp, #144] ; 8-byte Folded Reload
lsl x8, x8, #3
str d8, [x9, x8]
ldr d0, [sp, #192]
str d0, [x10, x8]
ldr d0, [sp, #184]
stp x25, x0, [sp, #112] ; 16-byte Folded Spill
str d0, [x25, x8]
ldr d0, [sp, #176]
str d0, [x0, x8]
ldr x8, [sp, #152] ; 8-byte Folded Reload
str x8, [sp, #144] ; 8-byte Folded Spill
ldr x25, [sp, #48] ; 8-byte Folded Reload
b LBB0_26
LBB0_53:
Lloh28:
adrp x1, l_.str.42@PAGE
Lloh29:
add x1, x1, l_.str.42@PAGEOFF
ldr x0, [sp, #80] ; 8-byte Folded Reload
bl _strcmp
cbz w0, LBB0_55
; %bb.54:
mov x0, x24
bl _fclose
LBB0_55:
ldr x8, [sp, #144] ; 8-byte Folded Reload
lsl x19, x8, #3
add x20, x19, #8
mov x0, x20
bl _malloc
mov x21, x0
mov x0, x20
bl _malloc
mov x28, x0
mov x0, x20
bl _malloc
mov x24, x0
mov x0, x20
bl _malloc
cbz x21, LBB0_61
; %bb.56:
cbz x28, LBB0_61
; %bb.57:
cbz x24, LBB0_61
; %bb.58:
mov x26, x0
ldr x1, [sp, #144] ; 8-byte Folded Reload
str x21, [sp, #152] ; 8-byte Folded Spill
str x25, [sp, #48] ; 8-byte Folded Spill
cbnz x1, LBB0_63
; %bb.59:
Lloh30:
adrp x19, _xf_compare1_d@GOTPAGE
Lloh31:
ldr x19, [x19, _xf_compare1_d@GOTPAGEOFF]
mov x0, x21
mov w2, #8
mov x3, x19
bl _qsort
mov x0, x28
mov x1, #0
mov w2, #8
mov x3, x19
bl _qsort
mov x0, x24
mov x1, #0
mov w2, #8
mov x3, x19
bl _qsort
str xzr, [sp, #144] ; 8-byte Folded Spill
mov w22, #1
mov w8, #1
str x8, [sp, #64] ; 8-byte Folded Spill
b LBB0_81
LBB0_60:
Lloh32:
adrp x8, ___stderrp@GOTPAGE
Lloh33:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh34:
ldr x0, [x8]
Lloh35:
adrp x8, l_.str.9@PAGE
Lloh36:
add x8, x8, l_.str.9@PAGEOFF
str x8, [sp]
Lloh37:
adrp x1, l_.str.45@PAGE
Lloh38:
add x1, x1, l_.str.45@PAGEOFF
b LBB0_62
LBB0_61:
Lloh39:
adrp x8, ___stderrp@GOTPAGE
Lloh40:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh41:
ldr x0, [x8]
Lloh42:
adrp x8, l_.str.9@PAGE
Lloh43:
add x8, x8, l_.str.9@PAGEOFF
str x8, [sp]
Lloh44:
adrp x1, l_.str.49@PAGE
Lloh45:
add x1, x1, l_.str.49@PAGEOFF
LBB0_62:
bl _fprintf
mov w0, #1
bl _exit
LBB0_63:
mov x0, x21
ldr x1, [sp, #128] ; 8-byte Folded Reload
mov x2, x19
bl _memcpy
Lloh46:
adrp x3, _xf_compare1_d@GOTPAGE
Lloh47:
ldr x3, [x3, _xf_compare1_d@GOTPAGEOFF]
mov x0, x21
ldr x1, [sp, #144] ; 8-byte Folded Reload
mov w2, #8
bl _qsort
ldr x19, [sp, #144] ; 8-byte Folded Reload
subs x8, x19, #1
b.ne LBB0_70
; %bb.64:
mov w22, #1
ldr x1, [sp, #112] ; 8-byte Folded Reload
LBB0_65:
lsl x2, x19, #3
mov x0, x28
bl _memcpy
Lloh48:
adrp x3, _xf_compare1_d@GOTPAGE
Lloh49:
ldr x3, [x3, _xf_compare1_d@GOTPAGEOFF]
mov x0, x28
mov x1, x19
mov w2, #8
bl _qsort
cmp x19, #2
b.lo LBB0_74
; %bb.66:
sub x8, x19, #1
add x9, x28, #8
mov w10, #1
str x10, [sp, #64] ; 8-byte Folded Spill
ldr x1, [sp, #120] ; 8-byte Folded Reload
b LBB0_68
LBB0_67: ; in Loop: Header=BB0_68 Depth=1
add x9, x9, #8
subs x8, x8, #1
b.eq LBB0_75
LBB0_68: ; =>This Inner Loop Header: Depth=1
ldp d1, d0, [x9, #-8]
fcmp d0, d1
b.eq LBB0_67
; %bb.69: ; in Loop: Header=BB0_68 Depth=1
ldr x10, [sp, #64] ; 8-byte Folded Reload
str d0, [x28, x10, lsl #3]
add x10, x10, #1
str x10, [sp, #64] ; 8-byte Folded Spill
b LBB0_67
LBB0_70:
mov x9, #0
mov w22, #1
ldr x1, [sp, #112] ; 8-byte Folded Reload
ldr x11, [sp, #152] ; 8-byte Folded Reload
b LBB0_72
LBB0_71: ; in Loop: Header=BB0_72 Depth=1
add x9, x9, #1
cmp x8, x9
b.eq LBB0_65
LBB0_72: ; =>This Inner Loop Header: Depth=1
add x10, x11, x9, lsl #3
ldp d1, d0, [x10]
fcmp d0, d1
b.eq LBB0_71
; %bb.73: ; in Loop: Header=BB0_72 Depth=1
str d0, [x11, x22, lsl #3]
add x22, x22, #1
b LBB0_71
LBB0_74:
mov w8, #1
str x8, [sp, #64] ; 8-byte Folded Spill
mov w19, #1
ldr x1, [sp, #120] ; 8-byte Folded Reload
LBB0_75:
str x19, [sp, #144] ; 8-byte Folded Spill
lsl x2, x19, #3
mov x0, x24
bl _memcpy
Lloh50:
adrp x3, _xf_compare1_d@GOTPAGE
Lloh51:
ldr x3, [x3, _xf_compare1_d@GOTPAGEOFF]
mov x0, x24
ldr x1, [sp, #144] ; 8-byte Folded Reload
mov w2, #8
bl _qsort
ldr x8, [sp, #144] ; 8-byte Folded Reload
cmp x8, #2
b.lo LBB0_80
; %bb.76:
sub x8, x8, #1
add x9, x24, #8
mov w10, #1
str x10, [sp, #160] ; 8-byte Folded Spill
b LBB0_78
LBB0_77: ; in Loop: Header=BB0_78 Depth=1
add x9, x9, #8
subs x8, x8, #1
b.eq LBB0_82
LBB0_78: ; =>This Inner Loop Header: Depth=1
ldp d1, d0, [x9, #-8]
fcmp d0, d1
b.eq LBB0_77
; %bb.79: ; in Loop: Header=BB0_78 Depth=1
ldr x10, [sp, #160] ; 8-byte Folded Reload
str d0, [x24, x10, lsl #3]
add x23, x10, #1
str x23, [sp, #160] ; 8-byte Folded Spill
b LBB0_77
LBB0_80:
mov w8, #1
str x8, [sp, #144] ; 8-byte Folded Spill
LBB0_81:
mov w8, #1
str x8, [sp, #160] ; 8-byte Folded Spill
LBB0_82:
Lloh52:
adrp x0, l_.str.50@PAGE
Lloh53:
add x0, x0, l_.str.50@PAGEOFF
bl _printf
Lloh54:
adrp x0, l_.str.51@PAGE
Lloh55:
add x0, x0, l_.str.51@PAGEOFF
bl _printf
Lloh56:
adrp x0, l_.str.52@PAGE
Lloh57:
add x0, x0, l_.str.52@PAGEOFF
bl _printf
Lloh58:
adrp x0, l_str@PAGE
Lloh59:
add x0, x0, l_str@PAGEOFF
bl _puts
cmp x22, #1
ldp x0, x13, [sp, #128] ; 16-byte Folded Reload
ldp x15, x14, [sp, #112] ; 16-byte Folded Reload
ldp x16, x17, [sp, #144] ; 16-byte Folded Reload
b.lt LBB0_106
; %bb.83:
mov x23, #0
mov x1, #9221120237041090560
dup.2d v4, x1
mov x21, #9218868437227405312
str x22, [sp, #56] ; 8-byte Folded Spill
str q4, [sp, #80] ; 16-byte Folded Spill
str x26, [sp, #72] ; 8-byte Folded Spill
b LBB0_85
LBB0_84: ; in Loop: Header=BB0_85 Depth=1
add x23, x23, #1
ldr x22, [sp, #56] ; 8-byte Folded Reload
cmp x23, x22
b.eq LBB0_106
LBB0_85: ; =>This Loop Header: Depth=1
; Child Loop BB0_88 Depth 2
; Child Loop BB0_93 Depth 3
; Child Loop BB0_96 Depth 4
ldr x8, [sp, #64] ; 8-byte Folded Reload
cmp x8, #1
b.lt LBB0_84
; %bb.86: ; in Loop: Header=BB0_85 Depth=1
mov x27, #0
b LBB0_88
LBB0_87: ; in Loop: Header=BB0_88 Depth=2
add x27, x27, #1
ldr x8, [sp, #64] ; 8-byte Folded Reload
cmp x27, x8
b.eq LBB0_84
LBB0_88: ; Parent Loop BB0_85 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_93 Depth 3
; Child Loop BB0_96 Depth 4
ldr x8, [sp, #160] ; 8-byte Folded Reload
cmp x8, #1
b.lt LBB0_87
; %bb.89: ; in Loop: Header=BB0_88 Depth=2
mov x25, #0
b LBB0_93
LBB0_90: ; in Loop: Header=BB0_93 Depth=3
str d0, [sp]
mov x26, x23
Lloh60:
adrp x20, l_.str.54@PAGE
Lloh61:
add x20, x20, l_.str.54@PAGEOFF
mov x0, x20
bl _printf
ldr d0, [x28, x27, lsl #3]
str d0, [sp]
mov x0, x20
bl _printf
ldr d0, [x24, x25, lsl #3]
str d0, [sp]
mov x0, x20
ldr x26, [sp, #72] ; 8-byte Folded Reload
LBB0_91: ; in Loop: Header=BB0_93 Depth=3
bl _printf
ldr d0, [sp, #200]
ldp d1, d2, [sp, #216]
str x19, [sp, #32]
stp d1, d2, [sp, #16]
str d0, [sp, #8]
str x22, [sp]
Lloh62:
adrp x0, l_.str.55@PAGE
Lloh63:
add x0, x0, l_.str.55@PAGEOFF
bl _printf
ldp x0, x13, [sp, #128] ; 16-byte Folded Reload
ldp x15, x14, [sp, #112] ; 16-byte Folded Reload
ldp x16, x17, [sp, #144] ; 16-byte Folded Reload
mov x1, #9221120237041090560
ldr q4, [sp, #80] ; 16-byte Folded Reload
LBB0_92: ; in Loop: Header=BB0_93 Depth=3
add x25, x25, #1
ldr x8, [sp, #160] ; 8-byte Folded Reload
cmp x25, x8
b.eq LBB0_87
LBB0_93: ; Parent Loop BB0_85 Depth=1
; Parent Loop BB0_88 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_96 Depth 4
stur q4, [sp, #216]
str x1, [sp, #200]
cbz x16, LBB0_92
; %bb.94: ; in Loop: Header=BB0_93 Depth=3
mov x19, #0
mov x22, #0
ldr d0, [x17, x23, lsl #3]
mov x8, x0
mov x9, x15
mov x10, x14
mov x11, x13
mov x12, x16
b LBB0_96
LBB0_95: ; in Loop: Header=BB0_96 Depth=4
add x11, x11, #8
add x10, x10, #8
add x9, x9, #8
add x8, x8, #8
subs x12, x12, #1
b.eq LBB0_101
LBB0_96: ; Parent Loop BB0_85 Depth=1
; Parent Loop BB0_88 Depth=2
; Parent Loop BB0_93 Depth=3
; => This Inner Loop Header: Depth=4
ldr d1, [x8]
fcmp d1, d0
b.ne LBB0_95
; %bb.97: ; in Loop: Header=BB0_96 Depth=4
ldr d1, [x9]
ldr d2, [x28, x27, lsl #3]
fcmp d1, d2
b.ne LBB0_95
; %bb.98: ; in Loop: Header=BB0_96 Depth=4
ldr d1, [x10]
ldr d2, [x24, x25, lsl #3]
fcmp d1, d2
b.ne LBB0_95
; %bb.99: ; in Loop: Header=BB0_96 Depth=4
add x19, x19, #1
ldr d1, [x11]
fabs d2, d1
fcmp d1, d1
fmov d3, x21
fccmp d2, d3, #4, vc
b.eq LBB0_95
; %bb.100: ; in Loop: Header=BB0_96 Depth=4
str d1, [x26, x22, lsl #3]
add x22, x22, #1
b LBB0_95
LBB0_101: ; in Loop: Header=BB0_93 Depth=3
cmp x19, #1
b.lt LBB0_92
; %bb.102: ; in Loop: Header=BB0_93 Depth=3
cmp x22, #1
b.lt LBB0_104
; %bb.103: ; in Loop: Header=BB0_93 Depth=3
add x3, sp, #200
mov x0, x26
mov x1, x22
mov w2, #2
bl _xf_stats2_d
ldr x17, [sp, #152] ; 8-byte Folded Reload
LBB0_104: ; in Loop: Header=BB0_93 Depth=3
ldr d0, [x17, x23, lsl #3]
ldr w8, [sp, #108] ; 4-byte Folded Reload
cbz w8, LBB0_90
; %bb.105: ; in Loop: Header=BB0_93 Depth=3
fcvtzs x8, d0
str x8, [sp]
Lloh64:
adrp x20, l_.str.56@PAGE
Lloh65:
add x20, x20, l_.str.56@PAGEOFF
mov x0, x20
bl _printf
ldr d0, [x28, x27, lsl #3]
fcvtzs x8, d0
str x8, [sp]
mov x0, x20
bl _printf
ldr d0, [x24, x25, lsl #3]
fcvtzs x8, d0
str x8, [sp]
mov x0, x20
b LBB0_91
LBB0_106:
ldr x8, [sp, #48] ; 8-byte Folded Reload
cbnz x8, LBB0_114
; %bb.107:
cbnz x0, LBB0_115
LBB0_108:
ldr x0, [sp, #112] ; 8-byte Folded Reload
cbnz x0, LBB0_116
LBB0_109:
ldr x0, [sp, #120] ; 8-byte Folded Reload
cbz x0, LBB0_111
LBB0_110:
bl _free
LBB0_111:
ldr x0, [sp, #152] ; 8-byte Folded Reload
bl _free
mov x0, x28
bl _free
mov x0, x24
bl _free
ldr x0, [sp, #136] ; 8-byte Folded Reload
cbnz x0, LBB0_117
; %bb.112:
cbnz x26, LBB0_118
LBB0_113:
mov w0, #0
bl _exit
LBB0_114:
mov x0, x8
bl _free
ldr x0, [sp, #128] ; 8-byte Folded Reload
cbz x0, LBB0_108
LBB0_115:
bl _free
ldr x0, [sp, #112] ; 8-byte Folded Reload
cbz x0, LBB0_109
LBB0_116:
bl _free
ldr x0, [sp, #120] ; 8-byte Folded Reload
cbnz x0, LBB0_110
b LBB0_111
LBB0_117:
bl _free
cbz x26, LBB0_113
LBB0_118:
mov x0, x26
bl _free
mov w0, #0
bl _exit
LBB0_119:
Lloh66:
adrp x8, ___stderrp@GOTPAGE
Lloh67:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh68:
ldr x0, [x8]
Lloh69:
adrp x8, l_.str.9@PAGE
Lloh70:
add x8, x8, l_.str.9@PAGEOFF
str x8, [sp]
Lloh71:
adrp x1, l_.str.47@PAGE
Lloh72:
add x1, x1, l_.str.47@PAGEOFF
b LBB0_62
LBB0_120:
Lloh73:
adrp x8, ___stderrp@GOTPAGE
Lloh74:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh75:
ldr x0, [x8]
Lloh76:
adrp x8, l_.str.9@PAGE
Lloh77:
add x8, x8, l_.str.9@PAGEOFF
stp x8, x25, [sp]
Lloh78:
adrp x1, l_.str.31@PAGE
Lloh79:
add x1, x1, l_.str.31@PAGEOFF
b LBB0_62
LBB0_121:
Lloh80:
adrp x8, ___stderrp@GOTPAGE
Lloh81:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh82:
ldr x0, [x8]
Lloh83:
adrp x8, l_.str.9@PAGE
Lloh84:
add x8, x8, l_.str.9@PAGEOFF
stp x8, x25, [sp]
Lloh85:
adrp x1, l_.str.37@PAGE
Lloh86:
add x1, x1, l_.str.37@PAGEOFF
b LBB0_62
LBB0_122:
Lloh87:
adrp x20, ___stderrp@GOTPAGE
Lloh88:
ldr x20, [x20, ___stderrp@GOTPAGEOFF]
ldr x1, [x20]
mov w0, #10
bl _fputc
ldr x3, [x20]
Lloh89:
adrp x19, l_.str.1@PAGE
Lloh90:
add x19, x19, l_.str.1@PAGEOFF
mov w22, #1
mov x0, x19
mov w1, #71
mov w2, #1
bl _fwrite
ldr x0, [x20]
Lloh91:
adrp x8, l_.str.3@PAGE
Lloh92:
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp]
Lloh93:
adrp x1, l_.str.2@PAGE
Lloh94:
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldr x3, [x20]
mov x0, x19
mov w1, #71
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh95:
adrp x0, l_.str.4@PAGE
Lloh96:
add x0, x0, l_.str.4@PAGEOFF
mov w1, #56
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh97:
adrp x0, l_.str.5@PAGE
Lloh98:
add x0, x0, l_.str.5@PAGEOFF
mov w1, #30
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh99:
adrp x0, l_.str.6@PAGE
Lloh100:
add x0, x0, l_.str.6@PAGEOFF
mov w1, #61
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh101:
adrp x0, l_.str.7@PAGE
Lloh102:
add x0, x0, l_.str.7@PAGEOFF
mov w1, #65
mov w2, #1
bl _fwrite
ldr x1, [x20]
mov w0, #10
bl _fputc
ldr x0, [x20]
Lloh103:
adrp x21, l_.str.9@PAGE
Lloh104:
add x21, x21, l_.str.9@PAGEOFF
str x21, [sp]
Lloh105:
adrp x1, l_.str.8@PAGE
Lloh106:
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
ldr x3, [x20]
Lloh107:
adrp x0, l_.str.10@PAGE
Lloh108:
add x0, x0, l_.str.10@PAGEOFF
mov w1, #31
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh109:
adrp x0, l_.str.11@PAGE
Lloh110:
add x0, x0, l_.str.11@PAGEOFF
mov w1, #15
mov w2, #1
bl _fwrite
ldr x0, [x20]
str x22, [sp]
Lloh111:
adrp x1, l_.str.12@PAGE
Lloh112:
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
ldr x0, [x20]
mov w8, #2
str x8, [sp]
Lloh113:
adrp x1, l_.str.13@PAGE
Lloh114:
add x1, x1, l_.str.13@PAGEOFF
bl _fprintf
ldr x0, [x20]
mov w8, #3
str x8, [sp]
Lloh115:
adrp x1, l_.str.14@PAGE
Lloh116:
add x1, x1, l_.str.14@PAGEOFF
bl _fprintf
ldr x0, [x20]
mov w8, #4
str x8, [sp]
Lloh117:
adrp x1, l_.str.15@PAGE
Lloh118:
add x1, x1, l_.str.15@PAGEOFF
bl _fprintf
ldr x0, [x20]
str xzr, [sp]
Lloh119:
adrp x1, l_.str.16@PAGE
Lloh120:
add x1, x1, l_.str.16@PAGEOFF
bl _fprintf
ldr x3, [x20]
Lloh121:
adrp x0, l_.str.17@PAGE
Lloh122:
add x0, x0, l_.str.17@PAGEOFF
mov w1, #10
mov w2, #1
bl _fwrite
ldr x0, [x20]
str x21, [sp]
Lloh123:
adrp x1, l_.str.18@PAGE
Lloh124:
add x1, x1, l_.str.18@PAGEOFF
bl _fprintf
ldr x3, [x20]
Lloh125:
adrp x0, l_.str.19@PAGE
Lloh126:
add x0, x0, l_.str.19@PAGEOFF
mov w1, #7
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh127:
adrp x0, l_.str.20@PAGE
Lloh128:
add x0, x0, l_.str.20@PAGEOFF
mov w1, #7
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh129:
adrp x0, l_.str.21@PAGE
Lloh130:
add x0, x0, l_.str.21@PAGEOFF
mov w1, #7
mov w2, #1
bl _fwrite
ldr x1, [x20]
mov w0, #10
bl _fputc
ldr x0, [x20]
str x21, [sp]
Lloh131:
adrp x1, l_.str.22@PAGE
Lloh132:
add x1, x1, l_.str.22@PAGEOFF
bl _fprintf
ldr x3, [x20]
Lloh133:
adrp x0, l_.str.23@PAGE
Lloh134:
add x0, x0, l_.str.23@PAGEOFF
mov w1, #8
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh135:
adrp x0, l_.str.24@PAGE
Lloh136:
add x0, x0, l_.str.24@PAGEOFF
mov w1, #5
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh137:
adrp x0, l_.str.25@PAGE
Lloh138:
add x0, x0, l_.str.25@PAGEOFF
mov w1, #5
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh139:
adrp x0, l_.str.26@PAGE
Lloh140:
add x0, x0, l_.str.26@PAGEOFF
mov w1, #5
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh141:
adrp x0, l_.str.27@PAGE
Lloh142:
add x0, x0, l_.str.27@PAGEOFF
mov w1, #20
mov w2, #1
bl _fwrite
ldr x1, [x20]
mov w0, #10
bl _fputc
ldr x3, [x20]
Lloh143:
adrp x0, l_.str.28@PAGE
Lloh144:
add x0, x0, l_.str.28@PAGEOFF
mov w1, #7
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh145:
adrp x0, l_.str.29@PAGE
Lloh146:
add x0, x0, l_.str.29@PAGEOFF
mov w1, #55
mov w2, #1
bl _fwrite
ldr x3, [x20]
Lloh147:
adrp x0, l_.str.30@PAGE
Lloh148:
add x0, x0, l_.str.30@PAGEOFF
mov w1, #54
mov w2, #1
bl _fwrite
ldr x3, [x20]
mov x0, x19
mov w1, #71
mov w2, #1
bl _fwrite
ldr x1, [x20]
mov w0, #10
bl _fputc
mov w0, #0
bl _exit
LBB0_123:
Lloh149:
adrp x8, ___stderrp@GOTPAGE
Lloh150:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh151:
ldr x0, [x8]
Lloh152:
adrp x8, l_.str.9@PAGE
Lloh153:
add x8, x8, l_.str.9@PAGEOFF
stp x8, x26, [sp]
Lloh154:
adrp x1, l_.str.38@PAGE
Lloh155:
add x1, x1, l_.str.38@PAGEOFF
b LBB0_62
LBB0_124:
Lloh156:
adrp x8, ___stderrp@GOTPAGE
Lloh157:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh158:
ldr x0, [x8]
Lloh159:
adrp x8, l_.str.9@PAGE
Lloh160:
add x8, x8, l_.str.9@PAGEOFF
stp x8, x28, [sp]
Lloh161:
adrp x1, l_.str.39@PAGE
Lloh162:
add x1, x1, l_.str.39@PAGEOFF
b LBB0_62
LBB0_125:
Lloh163:
adrp x8, ___stderrp@GOTPAGE
Lloh164:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh165:
ldr x0, [x8]
Lloh166:
adrp x8, l_.str.9@PAGE
Lloh167:
add x8, x8, l_.str.9@PAGEOFF
stp x8, x23, [sp]
Lloh168:
adrp x1, l_.str.40@PAGE
Lloh169:
add x1, x1, l_.str.40@PAGEOFF
b LBB0_62
LBB0_126:
Lloh170:
adrp x8, ___stderrp@GOTPAGE
Lloh171:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh172:
ldr x0, [x8]
Lloh173:
adrp x8, l_.str.9@PAGE
Lloh174:
add x8, x8, l_.str.9@PAGEOFF
stp x8, x19, [sp]
Lloh175:
adrp x1, l_.str.41@PAGE
Lloh176:
add x1, x1, l_.str.41@PAGEOFF
b LBB0_62
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGot Lloh46, Lloh47
.loh AdrpLdrGot Lloh48, Lloh49
.loh AdrpLdrGot Lloh50, Lloh51
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75
.loh AdrpAdd Lloh85, Lloh86
.loh AdrpAdd Lloh83, Lloh84
.loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82
.loh AdrpAdd Lloh147, Lloh148
.loh AdrpAdd Lloh145, Lloh146
.loh AdrpAdd Lloh143, Lloh144
.loh AdrpAdd Lloh141, Lloh142
.loh AdrpAdd Lloh139, Lloh140
.loh AdrpAdd Lloh137, Lloh138
.loh AdrpAdd Lloh135, Lloh136
.loh AdrpAdd Lloh133, Lloh134
.loh AdrpAdd Lloh131, Lloh132
.loh AdrpAdd Lloh129, Lloh130
.loh AdrpAdd Lloh127, Lloh128
.loh AdrpAdd Lloh125, Lloh126
.loh AdrpAdd Lloh123, Lloh124
.loh AdrpAdd Lloh121, Lloh122
.loh AdrpAdd Lloh119, Lloh120
.loh AdrpAdd Lloh117, Lloh118
.loh AdrpAdd Lloh115, Lloh116
.loh AdrpAdd Lloh113, Lloh114
.loh AdrpAdd Lloh111, Lloh112
.loh AdrpAdd Lloh109, Lloh110
.loh AdrpAdd Lloh107, Lloh108
.loh AdrpAdd Lloh105, Lloh106
.loh AdrpAdd Lloh103, Lloh104
.loh AdrpAdd Lloh101, Lloh102
.loh AdrpAdd Lloh99, Lloh100
.loh AdrpAdd Lloh97, Lloh98
.loh AdrpAdd Lloh95, Lloh96
.loh AdrpAdd Lloh93, Lloh94
.loh AdrpAdd Lloh91, Lloh92
.loh AdrpAdd Lloh89, Lloh90
.loh AdrpLdrGot Lloh87, Lloh88
.loh AdrpAdd Lloh154, Lloh155
.loh AdrpAdd Lloh152, Lloh153
.loh AdrpLdrGotLdr Lloh149, Lloh150, Lloh151
.loh AdrpAdd Lloh161, Lloh162
.loh AdrpAdd Lloh159, Lloh160
.loh AdrpLdrGotLdr Lloh156, Lloh157, Lloh158
.loh AdrpAdd Lloh168, Lloh169
.loh AdrpAdd Lloh166, Lloh167
.loh AdrpLdrGotLdr Lloh163, Lloh164, Lloh165
.loh AdrpAdd Lloh175, Lloh176
.loh AdrpAdd Lloh173, Lloh174
.loh AdrpLdrGotLdr Lloh170, Lloh171, Lloh172
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "----------------------------------------------------------------------\n"
l_.str.2: ; @.str.2
.asciz "%s\n"
l_.str.3: ; @.str.3
.asciz "xe-statsgrp3 v 9: 29.April.2019 [JRH]"
l_.str.4: ; @.str.4
.asciz "Calculate stats on a data-column using grouping-columns\n"
l_.str.5: ; @.str.5
.asciz "- input must be tab-delimited\n"
l_.str.6: ; @.str.6
.asciz "- grouping-variables must be numeric (can be floating-point)\n"
l_.str.7: ; @.str.7
.asciz "- non-numeric data-values will be ignored for stats calculations\n"
l_.str.8: ; @.str.8
.asciz "USAGE: %s [input] [options]\n"
l_.str.9: ; @.str.9
.asciz "xe-statsgrp3"
l_.str.10: ; @.str.10
.asciz "\t[input]: file name or \"stdin\"\n"
l_.str.11: ; @.str.11
.asciz "VALID OPTIONS:\n"
l_.str.12: ; @.str.12
.asciz "\t-cg1: column defining grouping-variable 1 [%ld]\n"
l_.str.13: ; @.str.13
.asciz "\t-cg2: column defining grouping-variable 2 [%ld]\n"
l_.str.14: ; @.str.14
.asciz "\t-cg3: column defining grouping-variable 3 [%ld]\n"
l_.str.15: ; @.str.15
.asciz "\t-cy: column containing dependent variable [%ld]\n"
l_.str.16: ; @.str.16
.asciz "\t-gint: output groups as integers? (0=NO 1=YES) [%d]\n"
l_.str.17: ; @.str.17
.asciz "EXAMPLES:\n"
l_.str.18: ; @.str.18
.asciz "\t%s data.txt"
l_.str.19: ; @.str.19
.asciz " -cg1 5"
l_.str.20: ; @.str.20
.asciz " -cg2 7"
l_.str.21: ; @.str.21
.asciz " -cg3 9"
l_.str.22: ; @.str.22
.asciz "\tcat temp.txt | %s stdin -gint 1\n"
l_.str.23: ; @.str.23
.asciz "OUTPUT:\n"
l_.str.24: ; @.str.24
.asciz "\tgrp1"
l_.str.25: ; @.str.25
.asciz "\tgrp2"
l_.str.26: ; @.str.26
.asciz "\tgrp3"
l_.str.27: ; @.str.27
.asciz "\tn\tmean\tsd\tsem\tntot\n"
l_.str.28: ; @.str.28
.asciz "\tNOTE:\n"
l_.str.29: ; @.str.29
.asciz "\t\tntot= total datapoints for a given group-combination\n"
l_.str.30: ; @.str.30
.asciz "\t\tn= valid numbers contributing to statistical result\n"
l_.str.31: ; @.str.31
.asciz "\n--- Error [%s]: missing value for argument \"%s\"\n\n"
l_.str.32: ; @.str.32
.asciz "-cg1"
l_.str.33: ; @.str.33
.asciz "-cg2"
l_.str.34: ; @.str.34
.asciz "-cg3"
l_.str.35: ; @.str.35
.asciz "-cy"
l_.str.36: ; @.str.36
.asciz "-gint"
l_.str.37: ; @.str.37
.asciz "\n--- Error [%s]: invalid command line argument \"%s\"\n"
l_.str.38: ; @.str.38
.asciz "\n--- Error [%s]: invalid group column (-cg1 %ld) - must be >0\n"
l_.str.39: ; @.str.39
.asciz "\n--- Error [%s]: invalid group column (-cg2 %ld) - must be >0\n"
l_.str.40: ; @.str.40
.asciz "\n--- Error [%s]: invalid group column (-cg3 %ld) - must be >0\n"
l_.str.41: ; @.str.41
.asciz "\n--- Error [%s]: invalid data column (-cy %ld) - must be >0\n"
l_.str.42: ; @.str.42
.asciz "stdin"
l_.str.43: ; @.str.43
.asciz "r"
l_.str.44: ; @.str.44
.asciz "\n--- Error [%s]: file \"%s\" not found\n\n"
l_.str.45: ; @.str.45
.asciz "\n--- Error [%s]: readline function encountered insufficient memory\n\n"
l_.str.46: ; @.str.46
.asciz "\t"
l_.str.47: ; @.str.47
.asciz "\n--- Error [%s]: lineparse function encountered insufficient memory\n\n"
l_.str.48: ; @.str.48
.asciz "%lf"
l_.str.49: ; @.str.49
.asciz "\n--- Error [%s]: insufficient memory\n\n"
l_.str.50: ; @.str.50
.asciz "grp1\t"
l_.str.51: ; @.str.51
.asciz "grp2\t"
l_.str.52: ; @.str.52
.asciz "grp3\t"
l_.str.54: ; @.str.54
.asciz "%g\t"
l_.str.55: ; @.str.55
.asciz "%ld\t%g\t%g\t%g\t%ld\n"
l_.str.56: ; @.str.56
.asciz "%ld\t"
l_str: ; @str
.asciz "n\tmean\tsd\tsem\tntot"
.subsections_via_symbols
| the_stack_data/87416.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_editor_ev1
_get_editor_ev1: ## @get_editor_ev1
.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 %r8, %r13
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r12
movq %r8, %rdi
callq _svn_delta_default_editor
movq _set_target_revision@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 28(%rax)
movq _open_root@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 24(%rax)
movq _add_directory@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 20(%rax)
movq _add_file@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 16(%rax)
movq _apply_textdelta@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 12(%rax)
movq _close_file@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 8(%rax)
movq _change_file_prop@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%rax)
movq _change_dir_prop@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, (%rax)
movl (%rbx), %esi
movl 4(%rbx), %edi
movq %r13, (%rsp)
movq %rax, %rdx
movq %r15, %rcx
movq %r12, %r8
movq %r14, %r9
callq _svn_delta_get_cancellation_editor
movl %eax, %edi
callq _SVN_ERR
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _set_target_revision,4,2 ## @set_target_revision
.comm _open_root,4,2 ## @open_root
.comm _add_directory,4,2 ## @add_directory
.comm _add_file,4,2 ## @add_file
.comm _apply_textdelta,4,2 ## @apply_textdelta
.comm _close_file,4,2 ## @close_file
.comm _change_file_prop,4,2 ## @change_file_prop
.comm _change_dir_prop,4,2 ## @change_dir_prop
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.no_dead_strip _get_editor_ev1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_editor_ev1
_get_editor_ev1: ; @get_editor_ev1
.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, x4
mov x20, x3
mov x21, x2
mov x22, x1
mov x23, x0
mov x0, x4
bl _svn_delta_default_editor
mov x2, x0
Lloh0:
adrp x8, _set_target_revision@GOTPAGE
Lloh1:
ldr x8, [x8, _set_target_revision@GOTPAGEOFF]
Lloh2:
adrp x9, _open_root@GOTPAGE
Lloh3:
ldr x9, [x9, _open_root@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
ldr w9, [x9]
stp w9, w8, [x0, #24]
Lloh6:
adrp x8, _add_directory@GOTPAGE
Lloh7:
ldr x8, [x8, _add_directory@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _add_file@GOTPAGE
Lloh10:
ldr x9, [x9, _add_file@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
stp w9, w8, [x0, #16]
Lloh12:
adrp x8, _apply_textdelta@GOTPAGE
Lloh13:
ldr x8, [x8, _apply_textdelta@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
Lloh15:
adrp x9, _close_file@GOTPAGE
Lloh16:
ldr x9, [x9, _close_file@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
stp w9, w8, [x0, #8]
Lloh18:
adrp x8, _change_file_prop@GOTPAGE
Lloh19:
ldr x8, [x8, _change_file_prop@GOTPAGEOFF]
Lloh20:
adrp x9, _change_dir_prop@GOTPAGE
Lloh21:
ldr x9, [x9, _change_dir_prop@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
Lloh23:
ldr w9, [x9]
stp w9, w8, [x0]
ldp w1, w0, [x20]
mov x3, x21
mov x4, x23
mov x5, x22
mov x6, x19
bl _svn_delta_get_cancellation_editor
bl _SVN_ERR
Lloh24:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh25:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh26:
ldr x0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh22
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _set_target_revision,4,2 ; @set_target_revision
.comm _open_root,4,2 ; @open_root
.comm _add_directory,4,2 ; @add_directory
.comm _add_file,4,2 ; @add_file
.comm _apply_textdelta,4,2 ; @apply_textdelta
.comm _close_file,4,2 ; @close_file
.comm _change_file_prop,4,2 ; @change_file_prop
.comm _change_dir_prop,4,2 ; @change_dir_prop
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.no_dead_strip _get_editor_ev1
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_export.c_get_editor_ev1.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function trim_last_path_component
_trim_last_path_component: ## @trim_last_path_component
.cfi_startproc
## %bb.0:
movslq (%rdi), %rcx
xorl %esi, %esi
testq %rcx, %rcx
je _strbuf_setlen ## TAILCALL
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdi), %rdx
movq %rcx, %rax
shlq $32, %rax
movabsq $-4294967296, %r8 ## imm = 0xFFFFFFFF00000000
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpb $47, 1(%rdx,%rcx)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
addq %r8, %rax
decq %rcx
jne LBB0_2
LBB0_8:
popq %rbp
jmp _strbuf_setlen ## TAILCALL
LBB0_4:
testq %rcx, %rcx
je LBB0_8
## %bb.5:
movq 8(%rdi), %rcx
sarq $32, %rax
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpb $47, -1(%rcx,%rax)
je LBB0_7
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
decq %rax
jne LBB0_6
jmp LBB0_8
LBB0_7:
movl %eax, %esi
popq %rbp
jmp _strbuf_setlen ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _trim_last_path_component
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function trim_last_path_component
_trim_last_path_component: ; @trim_last_path_component
.cfi_startproc
; %bb.0:
ldrsw x8, [x0]
cbz w8, LBB0_9
; %bb.1:
ldr x9, [x0, #8]
add x10, x9, #1
lsl x9, x8, #32
mov x11, #-4294967296 ; =0xffffffff00000000
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x10, x8]
cmp w12, #47
b.ne LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x9, x9, x11
subs x8, x8, #1
b.ne LBB0_2
b LBB0_9
LBB0_4:
cbz x8, LBB0_9
; %bb.5:
ldr x8, [x0, #8]
sub x8, x8, #1
asr x1, x9, #32
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8, x1]
cmp w9, #47
b.eq LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
subs x1, x1, #1
b.ne LBB0_6
LBB0_8:
; kill: def $w1 killed $w1 killed $x1
b _strbuf_setlen
LBB0_9:
mov w1, #0 ; =0x0
; kill: def $w1 killed $w1 killed $x1
b _strbuf_setlen
.cfi_endproc
; -- End function
.no_dead_strip _trim_last_path_component
.subsections_via_symbols
| assembly_file_151921.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ingenic_drm_crtc_atomic_flush
_ingenic_drm_crtc_atomic_flush: ## @ingenic_drm_crtc_atomic_flush
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
callq _drm_crtc_get_priv
movq %rax, %r12
movq 8(%r15), %rax
movq 16(%r15), %rbx
movq (%rbx), %r14
movq (%rax), %rax
movq (%rax), %r13
movq %rbx, %rdi
callq _drm_atomic_crtc_needs_modeset
testq %rax, %rax
je LBB0_2
## %bb.1:
movq (%r13), %rax
movl (%rax), %edi
callq _drm_format_info
movq %rax, %r13
leaq 12(%rbx), %rsi
movq %r12, %rdi
callq _ingenic_drm_crtc_update_timings
movq %r12, %rdi
movq %r13, %rsi
callq _ingenic_drm_crtc_update_ctrl
movl 12(%r12), %edi
imull $1000, 8(%rbx), %esi ## imm = 0x3E8
callq _clk_set_rate
movl 8(%r12), %edi
movq _JZ_REG_LCD_DA0@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq (%r12), %rax
movl (%rax), %edx
callq _regmap_write
LBB0_2:
testq %r14, %r14
je LBB0_7
## %bb.3:
movq $0, (%rbx)
movq (%r15), %rdi
callq _spin_lock_irq
movq %r15, %rdi
callq _drm_crtc_vblank_get
movq %r15, %rdi
movq %r14, %rsi
testq %rax, %rax
je LBB0_4
## %bb.5:
callq _drm_crtc_send_vblank_event
jmp LBB0_6
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
callq _drm_crtc_arm_vblank_event
LBB0_6:
movq (%r15), %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock_irq ## TAILCALL
.cfi_endproc
## -- End function
.comm _JZ_REG_LCD_DA0,4,2 ## @JZ_REG_LCD_DA0
.no_dead_strip _ingenic_drm_crtc_atomic_flush
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ingenic_drm_crtc_atomic_flush
_ingenic_drm_crtc_atomic_flush: ; @ingenic_drm_crtc_atomic_flush
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
bl _drm_crtc_get_priv
mov x22, x0
ldp x8, x21, [x19, #8]
ldr x20, [x21]
ldr x8, [x8]
ldr x23, [x8]
mov x0, x21
bl _drm_atomic_crtc_needs_modeset
cbz x0, LBB0_2
; %bb.1:
ldr x8, [x23]
ldr w0, [x8]
bl _drm_format_info
mov x23, x0
add x1, x21, #12
mov x0, x22
bl _ingenic_drm_crtc_update_timings
mov x0, x22
mov x1, x23
bl _ingenic_drm_crtc_update_ctrl
ldr w0, [x22, #12]
ldr w8, [x21, #8]
mov w9, #1000
mul w1, w8, w9
bl _clk_set_rate
ldr w0, [x22, #8]
Lloh0:
adrp x8, _JZ_REG_LCD_DA0@GOTPAGE
Lloh1:
ldr x8, [x8, _JZ_REG_LCD_DA0@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldr x8, [x22]
ldr w2, [x8]
bl _regmap_write
LBB0_2:
cbz x20, LBB0_5
; %bb.3:
str xzr, [x21]
ldr x0, [x19]
bl _spin_lock_irq
mov x0, x19
bl _drm_crtc_vblank_get
cbz x0, LBB0_6
; %bb.4:
mov x0, x19
mov x1, x20
bl _drm_crtc_send_vblank_event
b LBB0_7
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_6:
mov x0, x19
mov x1, x20
bl _drm_crtc_arm_vblank_event
LBB0_7:
ldr 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
b _spin_unlock_irq
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _JZ_REG_LCD_DA0,4,2 ; @JZ_REG_LCD_DA0
.no_dead_strip _ingenic_drm_crtc_atomic_flush
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/ingenic/extr_ingenic-drm.c_ingenic_drm_crtc_atomic_flush.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nfp_app_repr_open
_nfp_app_repr_open: ## @nfp_app_repr_open
.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
testq %rax, %rax
je LBB0_1
## %bb.2:
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_1:
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 _nfp_app_repr_open
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nfp_app_repr_open
_nfp_app_repr_open: ; @nfp_app_repr_open
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x2, [x8]
cbz x2, LBB0_2
; %bb.1:
br x2
LBB0_2:
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 _nfp_app_repr_open
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/netronome/nfp/flower/extr_..nfp_app.h_nfp_app_repr_open.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function affs_intl_compare_dentry
_affs_intl_compare_dentry: ## @affs_intl_compare_dentry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r15
movl %esi, %ebx
movq _affs_intl_toupper@GOTPCREL(%rip), %rax
movl (%rax), %r12d
callq _affs_nofilenametruncate
movl %ebx, %edi
movq %r15, %rsi
movq %r14, %rdx
movl %r12d, %ecx
movl %eax, %r8d
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp ___affs_compare_dentry ## TAILCALL
.cfi_endproc
## -- End function
.comm _affs_intl_toupper,4,2 ## @affs_intl_toupper
.no_dead_strip _affs_intl_compare_dentry
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function affs_intl_compare_dentry
_affs_intl_compare_dentry: ; @affs_intl_compare_dentry
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x21, x1
Lloh0:
adrp x8, _affs_intl_toupper@GOTPAGE
Lloh1:
ldr x8, [x8, _affs_intl_toupper@GOTPAGEOFF]
Lloh2:
ldr w22, [x8]
bl _affs_nofilenametruncate
mov x4, x0
mov x0, x21
mov x1, x20
mov x2, x19
mov x3, x22
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b ___affs_compare_dentry
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _affs_intl_toupper,4,2 ; @affs_intl_toupper
.no_dead_strip _affs_intl_compare_dentry
.subsections_via_symbols
| AnghaBench/linux/fs/affs/extr_namei.c_affs_intl_compare_dentry.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _usage ## -- Begin function usage
.p2align 4, 0x90
_usage: ## @usage
.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, %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
decl %edi
cmpl $2, %edi
jb LBB1_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rsi), %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
popq %rbp
LBB1_2:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: ./%s <optional path>\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _usage ; -- Begin function usage
.p2align 2
_usage: ; @usage
.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 x0, [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 _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub w8, w0, #1
cmp w8, #2
b.lo LBB1_2
; %bb.1:
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 x8, [x1]
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
LBB1_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
mov w0, #0
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage: ./%s <optional path>\n"
.subsections_via_symbols
| the_stack_data/342821.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dpp_auth_success
_dpp_auth_success: ## @dpp_auth_success
.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 _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _wpa_printf
movl 56(%rbx), %edi
xorl %esi, %esi
movl $4, %edx
callq _os_memset
movq $0, 48(%rbx)
movl 40(%rbx), %edi
xorl %esi, %esi
movl $4, %edx
callq _os_memset
movq $0, 32(%rbx)
movl 24(%rbx), %edi
xorl %esi, %esi
movl $4, %edx
callq _os_memset
movq $0, 16(%rbx)
movl 8(%rbx), %edi
xorl %esi, %esi
movl $4, %edx
callq _os_memset
movl 4(%rbx), %edi
xorl %esi, %esi
movl $4, %edx
callq _os_memset
movl $1, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MSG_DEBUG,4,2 ## @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DPP: Authentication success - clear temporary keys"
.no_dead_strip _dpp_auth_success
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dpp_auth_success
_dpp_auth_success: ; @dpp_auth_success
.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, _MSG_DEBUG@GOTPAGE
Lloh1:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _wpa_printf
ldr w0, [x19, #56]
mov w1, #0
mov w2, #4
bl _os_memset
str xzr, [x19, #48]
ldr w0, [x19, #40]
mov w1, #0
mov w2, #4
bl _os_memset
str xzr, [x19, #32]
ldr w0, [x19, #24]
mov w1, #0
mov w2, #4
bl _os_memset
str xzr, [x19, #16]
ldr w0, [x19, #8]
mov w1, #0
mov w2, #4
bl _os_memset
ldr w0, [x19, #4]
mov w1, #0
mov w2, #4
bl _os_memset
mov w8, #1
str w8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MSG_DEBUG,4,2 ; @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DPP: Authentication success - clear temporary keys"
.no_dead_strip _dpp_auth_success
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_auth_success.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/151349.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ternarySearch ## -- Begin function ternarySearch
.p2align 4, 0x90
_ternarySearch: ## @ternarySearch
.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
## kill: def $edi killed $edi def $rdi
movl $-1, %eax
cmpl %edi, %esi
jl LBB0_8
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %esi, %r8d
subl %edi, %r8d
movslq %r8d, %rbx
imulq $1431655766, %rbx, %r10 ## imm = 0x55555556
movq %r10, %rbx
shrq $63, %rbx
shrq $32, %r10
addl %ebx, %r10d
leal (%r10,%rdi), %r9d
movslq %r9d, %rbx
movl (%rcx,%rbx,4), %r14d
cmpl %edx, %r14d
je LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl %esi, %r11d
subl %r10d, %r11d
movslq %r11d, %rbx
movl (%rcx,%rbx,4), %r10d
cmpl %edx, %r10d
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
cmpl %edx, %r14d
jle LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
decl %r9d
movl %r9d, %esi
cmpl $2, %r8d
jg LBB0_1
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
leal -1(%r11), %edi
cmpl %edx, %r10d
cmovll %r11d, %r9d
cmovgel %edi, %esi
leal 1(%r9), %edi
cmpl %r9d, %esi
jg LBB0_1
jmp LBB0_8
LBB0_2:
movl %r9d, %eax
jmp LBB0_8
LBB0_4:
movl %r11d, %eax
LBB0_8:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
xorl %r8d, %r8d
movl $9, %r9d
movl $4, %edx
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl %r9d, %esi
subl %r8d, %esi
movslq %esi, %rax
imulq $1431655766, %rax, %rax ## imm = 0x55555556
movq %rax, %rcx
shrq $63, %rcx
shrq $32, %rax
addl %ecx, %eax
leal (%rax,%r8), %edi
cmpl $4, %edi
je LBB1_7
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl %r9d, %ecx
subl %eax, %ecx
cmpl $4, %ecx
je LBB1_7
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movslq %edi, %rax
addq $-5, %rax
cmpq $4, %rax
ja LBB1_5
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
decl %edi
movl %edi, %r9d
cmpl $2, %esi
jg LBB1_1
jmp LBB1_6
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
leal -1(%rcx), %eax
cmpl $4, %ecx
cmovbl %ecx, %edi
cmovael %eax, %r9d
leal 1(%rdi), %r8d
cmpl %edi, %r9d
jg LBB1_1
LBB1_6:
movl $-1, %edx
LBB1_7:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movl $5, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movl $50, %esi
movl $-1, %edx
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Index of %d is %d\n"
L_.str.1: ## @.str.1
.asciz "Index of %d is %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ternarySearch ; -- Begin function ternarySearch
.p2align 2
_ternarySearch: ; @ternarySearch
.cfi_startproc
; %bb.0:
cmp w1, w0
b.ge LBB0_2
LBB0_1:
mov w0, #-1
ret
LBB0_2:
mov w9, #21846
movk w9, #21845, lsl #16
LBB0_3: ; =>This Inner Loop Header: Depth=1
sub w10, w1, w0
smull x8, w10, w9
lsr x11, x8, #63
lsr x8, x8, #32
add w8, w8, w11
add w11, w8, w0
ldr w12, [x3, w11, sxtw #2]
cmp w12, w2
b.eq LBB0_9
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sub w8, w1, w8
ldr w13, [x3, w8, sxtw #2]
cmp w13, w2
b.eq LBB0_8
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cmp w12, w2
b.le LBB0_7
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
sub w1, w11, #1
cmp w10, #2
b.gt LBB0_3
b LBB0_1
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
sub w10, w8, #1
cmp w13, w2
csel w11, w8, w11, lt
add w0, w11, #1
csel w1, w1, w10, lt
mov w8, #-1
cmp w1, w11
b.gt LBB0_3
LBB0_8:
mov x0, x8
ret
LBB0_9:
mov x0, x11
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w9, #0
mov w8, #9
mov w10, #21846
movk w10, #21845, lsl #16
LBB1_1: ; =>This Inner Loop Header: Depth=1
sub w11, w8, w9
smull x12, w11, w10
lsr x13, x12, #63
lsr x12, x12, #32
add w13, w12, w13
add w12, w13, w9
sub w13, w8, w13
cmp w12, #4
ccmp w13, #4, #4, ne
b.eq LBB1_6
; %bb.2: ; in Loop: Header=BB1_1 Depth=1
sxtw x14, w12
sub x14, x14, #5
cmp x14, #4
b.hi LBB1_4
; %bb.3: ; in Loop: Header=BB1_1 Depth=1
sub w8, w12, #1
cmp w11, #2
b.gt LBB1_1
b LBB1_5
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
sub w11, w13, #1
cmp w13, #4
csel w12, w13, w12, lo
add w9, w12, #1
csel w8, w8, w11, lo
cmp w8, w12
b.gt LBB1_1
LBB1_5:
mov w8, #-1
b LBB1_7
LBB1_6:
mov w8, #4
LBB1_7:
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
mov w9, #5
stp x9, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #-1
mov w9, #50
stp x9, 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, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Index of %d is %d\n"
l_.str.1: ; @.str.1
.asciz "Index of %d is %d"
.subsections_via_symbols
| the_stack_data/66923.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function c_escape
_c_escape: ## @c_escape
.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 _CURL_ZERO_TERMINATED@GOTPCREL(%rip), %rax
cmpq %rsi, (%rax)
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _strlen
movq %rax, %rsi
LBB0_2:
movq %rsi, %rax
shrq $62, %rax
jne LBB0_19
## %bb.4:
leal -1(,%rsi,4), %edi
callq _malloc
testq %rax, %rax
je LBB0_19
## %bb.5:
leaq LJTI0_0(%rip), %r15
leaq L_.str.4(%rip), %r14
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rax, %r12
jmp LBB0_8
LBB0_6: ## in Loop: Header=BB0_8 Depth=1
movq %r12, %rdi
movq %r14, %rsi
LBB0_7: ## in Loop: Header=BB0_8 Depth=1
callq _strcpy
addq $2, %r12
incq %rbx
LBB0_8: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx), %r13d
cmpq $34, %r13
ja LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movslq (%r15,%r13,4), %rax
addq %r15, %rax
jmpq *%rax
LBB0_10: ## in Loop: Header=BB0_8 Depth=1
movq %r12, %rdi
leaq L_.str.2(%rip), %rsi
jmp LBB0_7
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
cmpl $92, %r13d
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_8 Depth=1
movq %r12, %rdi
leaq L_.str.3(%rip), %rsi
jmp LBB0_7
LBB0_13: ## in Loop: Header=BB0_8 Depth=1
movzbl %r13b, %edi
callq _isprint
testl %eax, %eax
je LBB0_17
## %bb.14: ## in Loop: Header=BB0_8 Depth=1
movb %r13b, (%r12)
incq %r12
incq %rbx
jmp LBB0_8
LBB0_15: ## in Loop: Header=BB0_8 Depth=1
movq %r12, %rdi
leaq L_.str(%rip), %rsi
jmp LBB0_7
LBB0_16: ## in Loop: Header=BB0_8 Depth=1
movq %r12, %rdi
leaq L_.str.1(%rip), %rsi
jmp LBB0_7
LBB0_17: ## in Loop: Header=BB0_8 Depth=1
movq %r12, %rdi
movl $5, %esi
leaq L_.str.5(%rip), %rdx
movl %r13d, %ecx
callq _msnprintf
addq $4, %r12
incq %rbx
jmp LBB0_8
LBB0_19:
xorl %eax, %eax
jmp LBB0_20
LBB0_18:
movb $0, (%r12)
movq -48(%rbp), %rax ## 8-byte Reload
LBB0_20:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
.long L0_0_set_18
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_10
.long L0_0_set_15
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_16
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_6
.end_data_region
## -- End function
.comm _CURL_ZERO_TERMINATED,8,3 ## @CURL_ZERO_TERMINATED
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\\n"
L_.str.1: ## @.str.1
.asciz "\\r"
L_.str.2: ## @.str.2
.asciz "\\t"
L_.str.3: ## @.str.3
.asciz "\\\\"
L_.str.4: ## @.str.4
.asciz "\\\""
L_.str.5: ## @.str.5
.asciz "\\%03o"
.no_dead_strip _c_escape
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function c_escape
_c_escape: ; @c_escape
.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
Lloh0:
adrp x8, _CURL_ZERO_TERMINATED@GOTPAGE
Lloh1:
ldr x8, [x8, _CURL_ZERO_TERMINATED@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x1
b.ne LBB0_2
; %bb.1:
mov x0, x19
bl _strlen
mov x1, x0
LBB0_2:
lsr x8, x1, #62
cbz x8, LBB0_4
; %bb.3:
mov x20, #0 ; =0x0
b LBB0_23
LBB0_4:
lsl w8, w1, #2
sub w0, w8, #1
bl _malloc
mov x20, x0
cbz x0, LBB0_23
; %bb.5:
Lloh3:
adrp x21, l_.str.2@PAGE
Lloh4:
add x21, x21, l_.str.2@PAGEOFF
Lloh5:
adrp x22, l_.str@PAGE
Lloh6:
add x22, x22, l_.str@PAGEOFF
Lloh7:
adrp x23, l_.str.5@PAGE
Lloh8:
add x23, x23, l_.str.5@PAGEOFF
Lloh9:
adrp x24, l_.str.1@PAGE
Lloh10:
add x24, x24, l_.str.1@PAGEOFF
Lloh11:
adrp x25, l_.str.4@PAGE
Lloh12:
add x25, x25, l_.str.4@PAGEOFF
mov x26, x20
Lloh13:
adrp x27, l_.str.3@PAGE
Lloh14:
add x27, x27, l_.str.3@PAGEOFF
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
mov x0, x26
mov x1, x24
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
bl _strcpy
add x26, x26, #2
add x19, x19, #1
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldrb w28, [x19]
cmp w28, #12
b.le LBB0_13
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
cmp w28, #13
b.eq LBB0_6
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
cmp w28, #34
b.eq LBB0_16
; %bb.11: ; in Loop: Header=BB0_8 Depth=1
cmp w28, #92
b.ne LBB0_19
; %bb.12: ; in Loop: Header=BB0_8 Depth=1
mov x0, x26
mov x1, x27
b LBB0_7
LBB0_13: ; in Loop: Header=BB0_8 Depth=1
cmp w28, #9
b.eq LBB0_17
; %bb.14: ; in Loop: Header=BB0_8 Depth=1
cmp w28, #10
b.ne LBB0_18
; %bb.15: ; in Loop: Header=BB0_8 Depth=1
mov x0, x26
mov x1, x22
b LBB0_7
LBB0_16: ; in Loop: Header=BB0_8 Depth=1
mov x0, x26
mov x1, x25
b LBB0_7
LBB0_17: ; in Loop: Header=BB0_8 Depth=1
mov x0, x26
mov x1, x21
b LBB0_7
LBB0_18: ; in Loop: Header=BB0_8 Depth=1
cbz w28, LBB0_22
LBB0_19: ; in Loop: Header=BB0_8 Depth=1
mov x0, x28
bl _isprint
cbz w0, LBB0_21
; %bb.20: ; in Loop: Header=BB0_8 Depth=1
strb w28, [x26], #1
add x19, x19, #1
b LBB0_8
LBB0_21: ; in Loop: Header=BB0_8 Depth=1
mov x0, x26
mov w1, #5 ; =0x5
mov x2, x23
mov x3, x28
bl _msnprintf
add x26, x26, #4
add x19, x19, #1
b LBB0_8
LBB0_22:
strb wzr, [x26]
LBB0_23:
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _CURL_ZERO_TERMINATED,8,3 ; @CURL_ZERO_TERMINATED
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\\n"
l_.str.1: ; @.str.1
.asciz "\\r"
l_.str.2: ; @.str.2
.asciz "\\t"
l_.str.3: ; @.str.3
.asciz "\\\\"
l_.str.4: ; @.str.4
.asciz "\\\""
l_.str.5: ; @.str.5
.asciz "\\%03o"
.no_dead_strip _c_escape
.subsections_via_symbols
| assembly_file_17283.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
leaq -52(%rbp), %r13
leaq -44(%rbp), %rdx
leaq -48(%rbp), %r12
movq %r13, %rsi
movq %r12, %rcx
xorl %eax, %eax
callq _scanf
movl -52(%rbp), %eax
movl -44(%rbp), %ecx
imull $3600, %eax, %r14d ## imm = 0xE10
testl %eax, %eax
cmovlel %ebx, %r14d
imull $60, %ecx, %r15d
testl %ecx, %ecx
cmovlel %ebx, %r15d
addl -48(%rbp), %r14d
leaq L_.str(%rip), %rdi
movq %r13, %rsi
leaq -44(%rbp), %rdx
movq %r12, %rcx
xorl %eax, %eax
callq _scanf
movl -52(%rbp), %eax
movl -44(%rbp), %ecx
imull $-3600, %eax, %edx ## imm = 0xF1F0
testl %eax, %eax
cmovlel %ebx, %edx
imull $-60, %ecx, %eax
testl %ecx, %ecx
cmovlel %ebx, %eax
addl %r15d, %r14d
addl %edx, %r14d
subl -48(%rbp), %r14d
addl %eax, %r14d
movl %r14d, %esi
negl %esi
cmovsl %r14d, %esi
movl $2443359173, %r14d ## imm = 0x91A2B3C5
imulq %rsi, %r14
shrq $43, %r14
imull $-3600, %r14d, %eax ## imm = 0xF1F0
addl %esi, %eax
cltq
imulq $-2004318071, %rax, %rbx ## imm = 0x88888889
shrq $32, %rbx
addl %eax, %ebx
movl %ebx, %ecx
shrl $31, %ecx
sarl $5, %ebx
addl %ecx, %ebx
imull $-60, %ebx, %r15d
addl %eax, %r15d
leaq L_.str.1(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
movl %r14d, %esi
movl %ebx, %edx
movl %r15d, %ecx
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _aikaSekunneiksi ## -- Begin function aikaSekunneiksi
.p2align 4, 0x90
_aikaSekunneiksi: ## @aikaSekunneiksi
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
imull $3600, %edi, %ecx ## imm = 0xE10
xorl %r8d, %r8d
testl %edi, %edi
cmovlel %r8d, %ecx
imull $60, %esi, %eax
testl %esi, %esi
cmovlel %r8d, %eax
addl %ecx, %eax
addl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d %d"
L_.str.1: ## @.str.1
.asciz "Aikaero on: %d sekuntia\n"
L_.str.2: ## @.str.2
.asciz "Aika on %d tuntia %d minuuttia %d sekuntia\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, #128
.cfi_def_cfa_offset 128
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
add x20, sp, #36
add x21, sp, #40
add x22, sp, #44
stp x21, x20, [sp, #8]
str x22, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _scanf
ldp w9, w8, [sp, #40]
ldr w23, [sp, #36]
mov w10, #3600
mul w10, w8, w10
cmp w8, #0
csel w24, w10, wzr, gt
mov w8, #60
mul w8, w9, w8
cmp w9, #0
csel w25, w8, wzr, gt
stp x21, x20, [sp, #8]
str x22, [sp]
mov x0, x19
bl _scanf
ldp w9, w8, [sp, #40]
ldr w10, [sp, #36]
mov w11, #-3600
mul w12, w8, w11
cmp w8, #0
csel w8, w12, wzr, gt
mov w12, #-60
mul w13, w9, w12
cmp w9, #0
csel w9, w13, wzr, gt
add w13, w23, w24
add w13, w13, w25
add w8, w13, w8
sub w8, w8, w10
adds w8, w8, w9
cneg w8, w8, mi
mov w9, #46021
movk w9, #37282, lsl #16
umull x9, w8, w9
lsr x19, x9, #43
madd w9, w19, w11, w8
mov w10, #34953
movk w10, #34952, lsl #16
smull x10, w9, w10
lsr x10, x10, #32
add w10, w10, w9
asr w11, w10, #5
add w20, w11, w10, lsr #31
madd w21, w20, w12, w9
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stp x19, x20, [sp]
str x21, [sp, #16]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _aikaSekunneiksi ; -- Begin function aikaSekunneiksi
.p2align 2
_aikaSekunneiksi: ; @aikaSekunneiksi
.cfi_startproc
; %bb.0:
mov w8, #3600
mul w8, w0, w8
cmp w0, #0
csel w8, w8, wzr, gt
mov w9, #60
mul w9, w1, w9
cmp w1, #0
csel w9, w9, wzr, gt
add w8, w8, w9
add w0, w8, w2
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d %d"
l_.str.1: ; @.str.1
.asciz "Aikaero on: %d sekuntia\n"
l_.str.2: ; @.str.2
.asciz "Aika on %d tuntia %d minuuttia %d sekuntia\n"
.subsections_via_symbols
| the_stack_data/31387387.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/40622.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nat_SetTarget ## -- Begin function nat_SetTarget
.p2align 4, 0x90
_nat_SetTarget: ## @nat_SetTarget
.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 (%rdi), %edx
movslq 4(%rdi), %rcx
cmpl %ecx, %edx
jne LBB0_2
LBB0_1:
movq _INADDR_ANY@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _la@GOTPCREL(%rip), %rax
movl (%rax), %edi
LBB0_7:
callq _LibAliasSetTarget
xorl %eax, %eax
jmp LBB0_8
LBB0_2:
leal 1(%rcx), %esi
movl $-1, %eax
cmpl %esi, %edx
jne LBB0_8
## %bb.3:
movq %rdi, %rbx
movq 8(%rdi), %rax
movl (%rax,%rcx,4), %edi
leaq L_.str(%rip), %rsi
callq _strcasecmp
testl %eax, %eax
je LBB0_1
## %bb.4:
movq 8(%rbx), %rax
movslq 4(%rbx), %rcx
movl (%rax,%rcx,4), %edi
callq _GetIpAddr
movq _INADDR_NONE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_6
## %bb.5:
movq _LogWARN@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq 8(%rbx), %rax
movslq 4(%rbx), %rcx
movl (%rax,%rcx,4), %edx
leaq L_.str.1(%rip), %rsi
callq _log_Printf
movl $1, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_6:
movq _la@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movq %rax, %rsi
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _INADDR_ANY,8,3 ## @INADDR_ANY
.comm _la,4,2 ## @la
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "MYADDR"
.comm _INADDR_NONE,8,3 ## @INADDR_NONE
.comm _LogWARN,4,2 ## @LogWARN
L_.str.1: ## @.str.1
.asciz "%s: invalid address\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nat_SetTarget ; -- Begin function nat_SetTarget
.p2align 2
_nat_SetTarget: ; @nat_SetTarget
.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
ldp w9, w8, [x0]
; kill: def $w8 killed $w8 def $x8
sxtw x8, w8
cmp w9, w8
b.ne LBB0_3
LBB0_1:
Lloh0:
adrp x8, _INADDR_ANY@GOTPAGE
Lloh1:
ldr x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh2:
ldr x1, [x8]
LBB0_2:
Lloh3:
adrp x8, _la@GOTPAGE
Lloh4:
ldr x8, [x8, _la@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _LibAliasSetTarget
mov w0, #0
b LBB0_8
LBB0_3:
add w10, w8, #1
cmp w9, w10
b.ne LBB0_7
; %bb.4:
mov x19, x0
ldr x9, [x0, #8]
ldr w0, [x9, x8, lsl #2]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _strcasecmp
cbz w0, LBB0_1
; %bb.5:
ldr x8, [x19, #8]
ldrsw x9, [x19, #4]
ldr w0, [x8, x9, lsl #2]
bl _GetIpAddr
Lloh8:
adrp x8, _INADDR_NONE@GOTPAGE
Lloh9:
ldr x8, [x8, _INADDR_NONE@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_9
; %bb.6:
Lloh11:
adrp x8, _LogWARN@GOTPAGE
Lloh12:
ldr x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
ldr x8, [x19, #8]
ldrsw x9, [x19, #4]
ldr w2, [x8, x9, lsl #2]
Lloh14:
adrp x1, l_.str.1@PAGE
Lloh15:
add x1, x1, l_.str.1@PAGEOFF
bl _log_Printf
mov w0, #1
b LBB0_8
LBB0_7:
mov w0, #-1
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_9:
mov x1, x0
b LBB0_2
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _INADDR_ANY,8,3 ; @INADDR_ANY
.comm _la,4,2 ; @la
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "MYADDR"
.comm _INADDR_NONE,8,3 ; @INADDR_NONE
.comm _LogWARN,4,2 ; @LogWARN
l_.str.1: ; @.str.1
.asciz "%s: invalid address\n"
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/ppp/extr_nat_cmd.c_nat_SetTarget.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function snd_azf3328_pcm
_snd_azf3328_pcm: ## @snd_azf3328_pcm
.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 16(%rdi), %rdi
leaq L_.str(%rip), %rsi
leaq -48(%rbp), %r9
xorl %edx, %edx
movl $1, %ecx
movl $1, %r8d
callq _snd_pcm_new
testl %eax, %eax
jle LBB0_3
## %bb.1:
movq -48(%rbp), %rdi
movq _SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq _snd_azf3328_playback_ops@GOTPCREL(%rip), %rdx
callq _snd_pcm_set_ops
movq -48(%rbp), %rdi
movq _SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _snd_azf3328_capture_ops@GOTPCREL(%rip), %rdx
callq _snd_pcm_set_ops
movq -48(%rbp), %rax
movq %rbx, 16(%rax)
movq $0, 8(%rax)
movl (%rax), %edi
movq 16(%rbx), %rax
movl (%rax), %esi
callq _strcpy
movq -48(%rbp), %rax
movq 8(%rbx), %rcx
movq _AZF_CODEC_PLAYBACK@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq 8(%rbx), %rcx
movq _AZF_CODEC_CAPTURE@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq -48(%rbp), %r14
movq _SNDRV_DMA_TYPE_DEV@GOTPCREL(%rip), %r13
movl (%r13), %r15d
movl (%rbx), %edi
callq _snd_dma_pci_data
movq %r14, %rdi
movl %r15d, %esi
movl %eax, %edx
movl $65536, %ecx ## imm = 0x10000
movl $65536, %r8d ## imm = 0x10000
callq _snd_pcm_lib_preallocate_pages_for_all
movq 16(%rbx), %rdi
leaq L_.str.1(%rip), %rsi
leaq -48(%rbp), %r9
movl $1, %edx
movl $1, %ecx
xorl %r8d, %r8d
callq _snd_pcm_new
testl %eax, %eax
js LBB0_3
## %bb.2:
movq -48(%rbp), %rdi
movl (%r12), %esi
movq _snd_azf3328_i2s_out_ops@GOTPCREL(%rip), %rdx
callq _snd_pcm_set_ops
movq -48(%rbp), %rax
movq %rbx, 16(%rax)
movq $0, 8(%rax)
movl (%rax), %edi
movq 16(%rbx), %rax
movl (%rax), %esi
callq _strcpy
movq -48(%rbp), %r14
movq 8(%rbx), %rax
movq _AZF_CODEC_I2S_OUT@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %r14, (%rax,%rcx,8)
movl (%r13), %r15d
movl (%rbx), %edi
callq _snd_dma_pci_data
movq %r14, %rdi
movl %r15d, %esi
movl %eax, %edx
movl $65536, %ecx ## imm = 0x10000
movl $65536, %r8d ## imm = 0x10000
callq _snd_pcm_lib_preallocate_pages_for_all
xorl %eax, %eax
LBB0_3:
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 "AZF3328 DSP"
.comm _SNDRV_PCM_STREAM_PLAYBACK,4,2 ## @SNDRV_PCM_STREAM_PLAYBACK
.comm _snd_azf3328_playback_ops,4,2 ## @snd_azf3328_playback_ops
.comm _SNDRV_PCM_STREAM_CAPTURE,4,2 ## @SNDRV_PCM_STREAM_CAPTURE
.comm _snd_azf3328_capture_ops,4,2 ## @snd_azf3328_capture_ops
.comm _AZF_CODEC_PLAYBACK,8,3 ## @AZF_CODEC_PLAYBACK
.comm _AZF_CODEC_CAPTURE,8,3 ## @AZF_CODEC_CAPTURE
.comm _SNDRV_DMA_TYPE_DEV,4,2 ## @SNDRV_DMA_TYPE_DEV
L_.str.1: ## @.str.1
.asciz "AZF3328 I2S OUT"
.comm _snd_azf3328_i2s_out_ops,4,2 ## @snd_azf3328_i2s_out_ops
.comm _AZF_CODEC_I2S_OUT,8,3 ## @AZF_CODEC_I2S_OUT
.no_dead_strip _snd_azf3328_pcm
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function snd_azf3328_pcm
_snd_azf3328_pcm: ; @snd_azf3328_pcm
.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 x0, [x0, #16]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x5, sp, #8
mov w2, #0 ; =0x0
mov w3, #1 ; =0x1
mov w4, #1 ; =0x1
bl _snd_pcm_new
cmp w0, #1
b.lt LBB0_3
; %bb.1:
ldr x0, [sp, #8]
Lloh2:
adrp x22, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh3:
ldr x22, [x22, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
ldr w1, [x22]
Lloh4:
adrp x2, _snd_azf3328_playback_ops@GOTPAGE
Lloh5:
ldr x2, [x2, _snd_azf3328_playback_ops@GOTPAGEOFF]
bl _snd_pcm_set_ops
ldr x0, [sp, #8]
Lloh6:
adrp x8, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh7:
ldr x8, [x8, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x2, _snd_azf3328_capture_ops@GOTPAGE
Lloh10:
ldr x2, [x2, _snd_azf3328_capture_ops@GOTPAGEOFF]
bl _snd_pcm_set_ops
ldr x8, [sp, #8]
stp xzr, x19, [x8, #8]
ldr w0, [x8]
ldr x8, [x19, #16]
ldr w1, [x8]
bl _strcpy
ldr x8, [sp, #8]
ldr x9, [x19, #8]
Lloh11:
adrp x10, _AZF_CODEC_PLAYBACK@GOTPAGE
Lloh12:
ldr x10, [x10, _AZF_CODEC_PLAYBACK@GOTPAGEOFF]
Lloh13:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
ldr x9, [x19, #8]
Lloh14:
adrp x10, _AZF_CODEC_CAPTURE@GOTPAGE
Lloh15:
ldr x10, [x10, _AZF_CODEC_CAPTURE@GOTPAGEOFF]
Lloh16:
ldr x10, [x10]
str x8, [x9, x10, lsl #3]
ldr x20, [sp, #8]
Lloh17:
adrp x23, _SNDRV_DMA_TYPE_DEV@GOTPAGE
Lloh18:
ldr x23, [x23, _SNDRV_DMA_TYPE_DEV@GOTPAGEOFF]
ldr w21, [x23]
ldr w0, [x19]
bl _snd_dma_pci_data
mov x2, x0
mov x0, x20
mov x1, x21
mov w3, #65536 ; =0x10000
mov w4, #65536 ; =0x10000
bl _snd_pcm_lib_preallocate_pages_for_all
ldr x0, [x19, #16]
Lloh19:
adrp x1, l_.str.1@PAGE
Lloh20:
add x1, x1, l_.str.1@PAGEOFF
add x5, sp, #8
mov w2, #1 ; =0x1
mov w3, #1 ; =0x1
mov w4, #0 ; =0x0
bl _snd_pcm_new
tbnz w0, #31, LBB0_3
; %bb.2:
ldr x0, [sp, #8]
ldr w1, [x22]
Lloh21:
adrp x2, _snd_azf3328_i2s_out_ops@GOTPAGE
Lloh22:
ldr x2, [x2, _snd_azf3328_i2s_out_ops@GOTPAGEOFF]
bl _snd_pcm_set_ops
ldr x8, [sp, #8]
stp xzr, x19, [x8, #8]
ldr w0, [x8]
ldr x8, [x19, #16]
ldr w1, [x8]
bl _strcpy
ldr x20, [sp, #8]
Lloh23:
adrp x8, _AZF_CODEC_I2S_OUT@GOTPAGE
Lloh24:
ldr x8, [x8, _AZF_CODEC_I2S_OUT@GOTPAGEOFF]
ldr x9, [x19, #8]
Lloh25:
ldr x8, [x8]
str x20, [x9, x8, lsl #3]
ldr w21, [x23]
ldr w0, [x19]
bl _snd_dma_pci_data
mov x2, x0
mov x0, x20
mov x1, x21
mov w3, #65536 ; =0x10000
mov w4, #65536 ; =0x10000
bl _snd_pcm_lib_preallocate_pages_for_all
mov w0, #0 ; =0x0
LBB0_3:
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 AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGot Lloh21, Lloh22
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "AZF3328 DSP"
.comm _SNDRV_PCM_STREAM_PLAYBACK,4,2 ; @SNDRV_PCM_STREAM_PLAYBACK
.comm _snd_azf3328_playback_ops,4,2 ; @snd_azf3328_playback_ops
.comm _SNDRV_PCM_STREAM_CAPTURE,4,2 ; @SNDRV_PCM_STREAM_CAPTURE
.comm _snd_azf3328_capture_ops,4,2 ; @snd_azf3328_capture_ops
.comm _AZF_CODEC_PLAYBACK,8,3 ; @AZF_CODEC_PLAYBACK
.comm _AZF_CODEC_CAPTURE,8,3 ; @AZF_CODEC_CAPTURE
.comm _SNDRV_DMA_TYPE_DEV,4,2 ; @SNDRV_DMA_TYPE_DEV
l_.str.1: ; @.str.1
.asciz "AZF3328 I2S OUT"
.comm _snd_azf3328_i2s_out_ops,4,2 ; @snd_azf3328_i2s_out_ops
.comm _AZF_CODEC_I2S_OUT,8,3 ; @AZF_CODEC_I2S_OUT
.no_dead_strip _snd_azf3328_pcm
.subsections_via_symbols
| assembly_file_80902.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_gf1_pcm_new ## -- Begin function snd_gf1_pcm_new
.p2align 4, 0x90
_snd_gf1_pcm_new: ## @snd_gf1_pcm_new
.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 %rcx, %r15
movl %edx, %ebx
movl %esi, %edx
movq %rdi, %r13
testq %rcx, %rcx
je LBB0_2
## %bb.1:
movq $0, (%r15)
LBB0_2:
movq 56(%r13), %r14
cmpq $0, 24(%r13)
je LBB0_4
## %bb.3:
leaq L_.str(%rip), %rsi
xorl %r12d, %r12d
jmp LBB0_7
LBB0_4:
leaq L_.str.1(%rip), %rsi
cmpl $0, 48(%r13)
je LBB0_6
## %bb.5:
xorl %r12d, %r12d
jmp LBB0_7
LBB0_6:
cmpl $0, 44(%r13)
sete %r12b
LBB0_7:
movzbl %r12b, %r8d
movl 32(%r13), %eax
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
sarl %ecx
leaq -48(%rbp), %r9
movq %r14, %rdi
callq _snd_pcm_new
testl %eax, %eax
js LBB0_25
## %bb.8:
movl %ebx, -52(%rbp) ## 4-byte Spill
movq -48(%rbp), %rdi
movq %r13, 32(%rdi)
movq _SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rbx
movq (%rbx), %rsi
movq _snd_gf1_pcm_playback_ops@GOTPCREL(%rip), %rdx
callq _snd_pcm_set_ops
movq -48(%rbp), %rdi
movq 16(%rdi), %rax
movq (%rbx), %rcx
movq (%rax,%rcx,8), %rbx
testq %rbx, %rbx
je LBB0_12
## %bb.9:
movq %r14, -64(%rbp) ## 8-byte Spill
movq %r15, -72(%rbp) ## 8-byte Spill
movq _SNDRV_DMA_TYPE_DEV@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl (%r15), %r14d
xorl %eax, %eax
callq _snd_dma_isa_data
xorl %r8d, %r8d
cmpl $4, 36(%r13)
setge %r8b
shll $16, %r8d
addl $65536, %r8d ## imm = 0x10000
movq %rbx, %rdi
movl %r14d, %esi
movl %eax, %edx
movl $65536, %ecx ## imm = 0x10000
callq _snd_pcm_lib_preallocate_pages
movq (%rbx), %rbx
testq %rbx, %rbx
jne LBB0_10
## %bb.11:
movq -48(%rbp), %rdi
movq -72(%rbp), %r15 ## 8-byte Reload
movq -64(%rbp), %r14 ## 8-byte Reload
LBB0_12:
movl $0, 24(%rdi)
movq _SNDRV_PCM_SUBCLASS_GENERIC_MIX@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 28(%rdi)
testb %r12b, %r12b
je LBB0_17
## %bb.13:
movq _SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rbx
movq (%rbx), %rsi
movq _snd_gf1_pcm_capture_ops@GOTPCREL(%rip), %rdx
callq _snd_pcm_set_ops
movl 40(%r13), %eax
cmpl 36(%r13), %eax
jne LBB0_14
## %bb.15:
movq %r14, %r12
movq _SNDRV_PCM_INFO_HALF_DUPLEX@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -48(%rbp), %rax
orl %ecx, 24(%rax)
jmp LBB0_16
LBB0_14:
movq %r14, %r12
movq -48(%rbp), %rax
LBB0_16:
movq 16(%rax), %rax
movq (%rbx), %rcx
movq (%rax,%rcx,8), %r14
movq _SNDRV_DMA_TYPE_DEV@GOTPCREL(%rip), %rax
movl (%rax), %ebx
xorl %eax, %eax
callq _snd_dma_isa_data
xorl %r8d, %r8d
cmpl $4, 40(%r13)
setge %r8b
shll $16, %r8d
addl $65536, %r8d ## imm = 0x10000
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
movl $65536, %ecx ## imm = 0x10000
callq _snd_pcm_lib_preallocate_pages
movq -48(%rbp), %rdi
movq %r12, %r14
LBB0_17:
movq (%rdi), %rax
movl 8(%rdi), %esi
movq %rax, %rdi
callq _strcpy
cmpq $0, 24(%r13)
je LBB0_19
## %bb.18:
movq -48(%rbp), %rax
movq (%rax), %rbx
movq %rbx, %rdi
callq _strlen
addq %rax, %rbx
movl (%r13), %edx
addl $65, %edx
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _sprintf
LBB0_19:
movq -48(%rbp), %rax
movq (%rax), %rdi
leaq L_.str.3(%rip), %rsi
callq _strcat
movq -48(%rbp), %rax
movq %rax, 16(%r13)
cmpq $0, 8(%r13)
jne LBB0_20
## %bb.21:
movq _snd_gf1_pcm_volume_control@GOTPCREL(%rip), %rdi
jmp LBB0_22
LBB0_20:
movq _snd_gf1_pcm_volume_control1@GOTPCREL(%rip), %rdi
LBB0_22:
movq %r13, %rsi
callq _snd_ctl_new1
movq %rax, %rbx
movq %r14, %rdi
movq %rax, %rsi
callq _snd_ctl_add
testl %eax, %eax
js LBB0_25
## %bb.23:
xorl %eax, %eax
movl -52(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rbx)
testq %r15, %r15
je LBB0_25
## %bb.24:
movq -48(%rbp), %rcx
movq %rcx, (%r15)
LBB0_25:
addq $40, %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 "AMD InterWave"
L_.str.1: ## @.str.1
.asciz "GF1"
.comm _SNDRV_PCM_STREAM_PLAYBACK,8,3 ## @SNDRV_PCM_STREAM_PLAYBACK
.comm _snd_gf1_pcm_playback_ops,4,2 ## @snd_gf1_pcm_playback_ops
.comm _SNDRV_DMA_TYPE_DEV,4,2 ## @SNDRV_DMA_TYPE_DEV
.comm _SNDRV_PCM_SUBCLASS_GENERIC_MIX,4,2 ## @SNDRV_PCM_SUBCLASS_GENERIC_MIX
.comm _SNDRV_PCM_STREAM_CAPTURE,8,3 ## @SNDRV_PCM_STREAM_CAPTURE
.comm _snd_gf1_pcm_capture_ops,4,2 ## @snd_gf1_pcm_capture_ops
.comm _SNDRV_PCM_INFO_HALF_DUPLEX,4,2 ## @SNDRV_PCM_INFO_HALF_DUPLEX
L_.str.2: ## @.str.2
.asciz " rev %c"
L_.str.3: ## @.str.3
.asciz " (synth)"
.comm _snd_gf1_pcm_volume_control1,4,2 ## @snd_gf1_pcm_volume_control1
.comm _snd_gf1_pcm_volume_control,4,2 ## @snd_gf1_pcm_volume_control
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_gf1_pcm_new ; -- Begin function snd_gf1_pcm_new
.p2align 2
_snd_gf1_pcm_new: ; @snd_gf1_pcm_new
.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, x3
mov x20, x2
mov x2, x1
mov x21, x0
cbz x3, LBB0_2
; %bb.1:
str xzr, [x19]
LBB0_2:
ldr x22, [x21, #56]
ldr x8, [x21, #24]
cbz x8, LBB0_4
; %bb.3:
mov w23, #0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
b LBB0_8
LBB0_4:
ldr w8, [x21, #48]
cbz w8, LBB0_6
; %bb.5:
mov w23, #0
b LBB0_7
LBB0_6:
ldr w8, [x21, #44]
cmp w8, #0
cset w23, eq
LBB0_7:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
LBB0_8:
ldr w8, [x21, #32]
cmp w8, #0
cinc w8, w8, lt
asr w3, w8, #1
add x5, sp, #8
mov x0, x22
mov x4, x23
bl _snd_pcm_new
tbnz w0, #31, LBB0_23
; %bb.9:
ldr x0, [sp, #8]
str x21, [x0, #32]
Lloh4:
adrp x24, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh5:
ldr x24, [x24, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
ldr x1, [x24]
Lloh6:
adrp x2, _snd_gf1_pcm_playback_ops@GOTPAGE
Lloh7:
ldr x2, [x2, _snd_gf1_pcm_playback_ops@GOTPAGEOFF]
bl _snd_pcm_set_ops
ldr x0, [sp, #8]
ldr x8, [x0, #16]
ldr x9, [x24]
ldr x24, [x8, x9, lsl #3]
Lloh8:
adrp x26, _SNDRV_DMA_TYPE_DEV@GOTPAGE
Lloh9:
ldr x26, [x26, _SNDRV_DMA_TYPE_DEV@GOTPAGEOFF]
cbz x24, LBB0_13
; %bb.10:
mov w27, #65536
mov w28, #131072
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w25, [x26]
bl _snd_dma_isa_data
mov x2, x0
ldr w8, [x21, #36]
cmp w8, #3
csel w4, w28, w27, gt
mov x0, x24
mov x1, x25
mov w3, #65536
bl _snd_pcm_lib_preallocate_pages
ldr x24, [x24]
cbnz x24, LBB0_11
; %bb.12:
ldr x0, [sp, #8]
LBB0_13:
Lloh10:
adrp x8, _SNDRV_PCM_SUBCLASS_GENERIC_MIX@GOTPAGE
Lloh11:
ldr x8, [x8, _SNDRV_PCM_SUBCLASS_GENERIC_MIX@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
stp wzr, w8, [x0, #24]
cbz w23, LBB0_18
; %bb.14:
Lloh13:
adrp x23, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh14:
ldr x23, [x23, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
ldr x1, [x23]
Lloh15:
adrp x2, _snd_gf1_pcm_capture_ops@GOTPAGE
Lloh16:
ldr x2, [x2, _snd_gf1_pcm_capture_ops@GOTPAGEOFF]
bl _snd_pcm_set_ops
ldp w9, w8, [x21, #36]
cmp w8, w9
b.ne LBB0_16
; %bb.15:
Lloh17:
adrp x8, _SNDRV_PCM_INFO_HALF_DUPLEX@GOTPAGE
Lloh18:
ldr x8, [x8, _SNDRV_PCM_INFO_HALF_DUPLEX@GOTPAGEOFF]
Lloh19:
ldr w9, [x8]
ldr x8, [sp, #8]
ldr w10, [x8, #24]
orr w9, w10, w9
str w9, [x8, #24]
b LBB0_17
LBB0_16:
ldr x8, [sp, #8]
LBB0_17:
ldr x8, [x8, #16]
ldr x9, [x23]
ldr x23, [x8, x9, lsl #3]
ldr w24, [x26]
bl _snd_dma_isa_data
mov x2, x0
ldr w8, [x21, #40]
mov w9, #65536
mov w10, #131072
cmp w8, #3
csel w4, w10, w9, gt
mov x0, x23
mov x1, x24
mov w3, #65536
bl _snd_pcm_lib_preallocate_pages
ldr x0, [sp, #8]
LBB0_18:
ldr x8, [x0]
ldr w1, [x0, #8]
mov x0, x8
bl _strcpy
ldr x8, [x21, #24]
cbz x8, LBB0_20
; %bb.19:
ldr x8, [sp, #8]
ldr x23, [x8]
mov x0, x23
bl _strlen
add x0, x0, x23
ldr w8, [x21]
add w2, w8, #65
Lloh20:
adrp x1, l_.str.2@PAGE
Lloh21:
add x1, x1, l_.str.2@PAGEOFF
bl _sprintf
LBB0_20:
ldr x8, [sp, #8]
ldr x0, [x8]
Lloh22:
adrp x1, l_.str.3@PAGE
Lloh23:
add x1, x1, l_.str.3@PAGEOFF
bl _strcat
ldr x8, [sp, #8]
str x8, [x21, #16]
ldr x8, [x21, #8]
Lloh24:
adrp x9, _snd_gf1_pcm_volume_control1@GOTPAGE
Lloh25:
ldr x9, [x9, _snd_gf1_pcm_volume_control1@GOTPAGEOFF]
Lloh26:
adrp x10, _snd_gf1_pcm_volume_control@GOTPAGE
Lloh27:
ldr x10, [x10, _snd_gf1_pcm_volume_control@GOTPAGEOFF]
cmp x8, #0
csel x0, x10, x9, eq
mov x1, x21
bl _snd_ctl_new1
mov x21, x0
mov x0, x22
mov x1, x21
bl _snd_ctl_add
tbnz w0, #31, LBB0_23
; %bb.21:
str w20, [x21]
mov w0, #0
cbz x19, LBB0_23
; %bb.22:
ldr x8, [sp, #8]
str x8, [x19]
LBB0_23:
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 AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "AMD InterWave"
l_.str.1: ; @.str.1
.asciz "GF1"
.comm _SNDRV_PCM_STREAM_PLAYBACK,8,3 ; @SNDRV_PCM_STREAM_PLAYBACK
.comm _snd_gf1_pcm_playback_ops,4,2 ; @snd_gf1_pcm_playback_ops
.comm _SNDRV_DMA_TYPE_DEV,4,2 ; @SNDRV_DMA_TYPE_DEV
.comm _SNDRV_PCM_SUBCLASS_GENERIC_MIX,4,2 ; @SNDRV_PCM_SUBCLASS_GENERIC_MIX
.comm _SNDRV_PCM_STREAM_CAPTURE,8,3 ; @SNDRV_PCM_STREAM_CAPTURE
.comm _snd_gf1_pcm_capture_ops,4,2 ; @snd_gf1_pcm_capture_ops
.comm _SNDRV_PCM_INFO_HALF_DUPLEX,4,2 ; @SNDRV_PCM_INFO_HALF_DUPLEX
l_.str.2: ; @.str.2
.asciz " rev %c"
l_.str.3: ; @.str.3
.asciz " (synth)"
.comm _snd_gf1_pcm_volume_control1,4,2 ; @snd_gf1_pcm_volume_control1
.comm _snd_gf1_pcm_volume_control,4,2 ; @snd_gf1_pcm_volume_control
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/isa/gus/extr_gus_pcm.c_snd_gf1_pcm_new.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _be_tls_get_peer_issuer_name ## -- Begin function be_tls_get_peer_issuer_name
.p2align 4, 0x90
_be_tls_get_peer_issuer_name: ## @be_tls_get_peer_issuer_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rdx, %r14
callq _X509_get_issuer_name
movl %eax, %edi
callq _X509_NAME_to_cstring
movq %rbx, %rdi
movl %eax, %esi
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
jmp _strlcpy ## TAILCALL
LBB0_1:
movb $0, (%rbx)
popq %rbx
popq %r14
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 _be_tls_get_peer_issuer_name ; -- Begin function be_tls_get_peer_issuer_name
.p2align 2
_be_tls_get_peer_issuer_name: ; @be_tls_get_peer_issuer_name
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
ldr x0, [x0]
cbz x0, LBB0_2
; %bb.1:
mov x19, x2
bl _X509_get_issuer_name
bl _X509_NAME_to_cstring
mov x1, x0
mov x0, x20
mov x2, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _strlcpy
LBB0_2:
strb wzr, [x20]
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/postgres/src/backend/libpq/extr_be-secure-openssl.c_be_tls_get_peer_issuer_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function write_maxconn
_write_maxconn: ## @write_maxconn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rsi, %r14
movq %rsi, -40(%rbp)
callq _netns
movq _nfsd_net_id@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
callq _net_generic
movl (%rax), %ecx
movl %ecx, -28(%rbp)
testq %r15, %r15
je LBB0_3
## %bb.1:
movq %rax, %rbx
leaq -40(%rbp), %rdi
leaq -28(%rbp), %rsi
callq _get_uint
testl %eax, %eax
jne LBB0_4
## %bb.2:
movl -28(%rbp), %eax
movl %eax, (%rbx)
movl -28(%rbp), %ecx
LBB0_3:
movq _SIMPLE_TRANSACTION_LIMIT@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r14, %rdi
callq _scnprintf
LBB0_4:
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _nfsd_net_id,4,2 ## @nfsd_net_id
.comm _SIMPLE_TRANSACTION_LIMIT,4,2 ## @SIMPLE_TRANSACTION_LIMIT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u\n"
.no_dead_strip _write_maxconn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function write_maxconn
_write_maxconn: ; @write_maxconn
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x19, x1
str x1, [sp, #8]
bl _netns
Lloh0:
adrp x8, _nfsd_net_id@GOTPAGE
Lloh1:
ldr x8, [x8, _nfsd_net_id@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _net_generic
ldr w3, [x0]
str w3, [sp, #4]
cbz x21, LBB0_3
; %bb.1:
mov x20, x0
add x0, sp, #8
add x1, sp, #4
bl _get_uint
cbnz w0, LBB0_4
; %bb.2:
ldr w8, [sp, #4]
str w8, [x20]
ldr w3, [sp, #4]
LBB0_3:
Lloh3:
adrp x8, _SIMPLE_TRANSACTION_LIMIT@GOTPAGE
Lloh4:
ldr x8, [x8, _SIMPLE_TRANSACTION_LIMIT@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _scnprintf
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
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _nfsd_net_id,4,2 ; @nfsd_net_id
.comm _SIMPLE_TRANSACTION_LIMIT,4,2 ; @SIMPLE_TRANSACTION_LIMIT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u\n"
.no_dead_strip _write_maxconn
.subsections_via_symbols
| AnghaBench/linux/fs/nfsd/extr_nfsctl.c_write_maxconn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _i2c_pca_add_bus ## -- Begin function i2c_pca_add_bus
.p2align 4, 0x90
_i2c_pca_add_bus: ## @i2c_pca_add_bus
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _pca_init
testl %eax, %eax
je LBB0_2
## %bb.1:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _i2c_add_adapter ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _i2c_pca_add_bus ; -- Begin function i2c_pca_add_bus
.p2align 2
_i2c_pca_add_bus: ; @i2c_pca_add_bus
.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 _pca_init
cbz w0, LBB0_2
; %bb.1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _i2c_add_adapter
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/i2c/algos/extr_i2c-algo-pca.c_i2c_pca_add_bus.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dispc_runtime_put ## -- Begin function dispc_runtime_put
.p2align 4, 0x90
_dispc_runtime_put: ## @dispc_runtime_put
.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
callq _DSSDBG
movq _dispc@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _pm_runtime_put_sync
testl %eax, %eax
sets %cl
movq _ENOSYS@GOTPCREL(%rip), %rdx
addl (%rdx), %eax
setne %al
andb %cl, %al
movzbl %al, %edi
popq %rbp
jmp _WARN_ON ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dispc_runtime_put\n"
.comm _dispc,8,3 ## @dispc
.comm _ENOSYS,4,2 ## @ENOSYS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dispc_runtime_put ; -- Begin function dispc_runtime_put
.p2align 2
_dispc_runtime_put: ; @dispc_runtime_put
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _DSSDBG
Lloh2:
adrp x8, _dispc@GOTPAGE
Lloh3:
ldr x8, [x8, _dispc@GOTPAGEOFF]
Lloh4:
ldr x0, [x8]
bl _pm_runtime_put_sync
Lloh5:
adrp x8, _ENOSYS@GOTPAGE
Lloh6:
ldr x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
cmn w0, w8
ccmp w0, #0, #0, ne
cset w0, lt
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _WARN_ON
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dispc_runtime_put\n"
.comm _dispc,8,3 ; @dispc
.comm _ENOSYS,4,2 ; @ENOSYS
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_dispc.c_dispc_runtime_put.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __GX_SetSUTexRegs
___GX_SetSUTexRegs: ## @__GX_SetSUTexRegs
.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 ___gx@GOTPCREL(%rip), %r14
movq (%r14), %rax
movl (%rax), %edi
movl $10, %esi
movl $4, %edx
callq __SHIFTR
## kill: def $eax killed $eax def $rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq (%r14), %rax
movl (%rax), %edi
movl $16, %esi
movl $3, %edx
callq __SHIFTR
testl %eax, %eax
jle LBB0_4
## %bb.1:
movl %eax, %r15d
xorl %r13d, %r13d
jmp LBB0_2
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
incl %r13d
cmpl %r13d, %r15d
je LBB0_4
LBB0_2: ## =>This Inner Loop Header: Depth=1
leal -128(%r13), %eax
movl $0, %r12d
movl $0, %ebx
cmpl $3, %eax
ja LBB0_17
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
movq (%r14), %rax
movq 8(%rax), %rax
movl 8(%rax), %edi
movl $18, %esi
movl $3, %edx
callq __SHIFTR
movl %eax, %r12d
movq (%r14), %rax
movq 8(%rax), %rax
movl 8(%rax), %edi
movl $21, %esi
jmp LBB0_16
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movq (%r14), %rax
movq 8(%rax), %rax
movl 8(%rax), %edi
movl $12, %esi
movl $3, %edx
callq __SHIFTR
movl %eax, %r12d
movq (%r14), %rax
movq 8(%rax), %rax
movl 8(%rax), %edi
movl $15, %esi
jmp LBB0_16
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movq (%r14), %rax
movq 8(%rax), %rax
movl 8(%rax), %edi
movl $6, %esi
movl $3, %edx
callq __SHIFTR
movl %eax, %r12d
movq (%r14), %rax
movq 8(%rax), %rax
movl 8(%rax), %edi
movl $9, %esi
jmp LBB0_16
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movq (%r14), %rax
movq 8(%rax), %rax
movl 8(%rax), %edi
movl %edi, %r12d
andl $7, %r12d
movl $3, %esi
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
movl $3, %edx
callq __SHIFTR
movl %eax, %ebx
LBB0_17: ## in Loop: Header=BB0_2 Depth=1
movl $1, %edi
movl %ebx, %esi
movl $1, %edx
callq __SHIFTL
movq (%r14), %rcx
testl %eax, 16(%rcx)
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, %edi
movl %ebx, %esi
callq ___SetSURegs
jmp LBB0_19
LBB0_4:
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
js LBB0_11
## %bb.5:
movq -48(%rbp), %rax ## 8-byte Reload
incl %eax
movq %rax, -48(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
jmp LBB0_6
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
incq %rbx
cmpq %rbx, -48(%rbp) ## 8-byte Folded Reload
je LBB0_11
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
movl $1, %esi
movl $3, %edx
callq __SHIFTR
movq (%r14), %rcx
movq 8(%rcx), %rdx
movq 24(%rcx), %rcx
movzbl (%rcx,%rbx,4), %r15d
testb $1, %bl
cltq
movl 12(%rdx,%rax,4), %edi
movl $15, %esi
movl $3, %eax
cmovel %eax, %esi
movl $3, %edx
callq __SHIFTR
movl %eax, %r12d
movl $1, %edi
movl %ebx, %esi
movl $1, %edx
callq __SHIFTL
movl %eax, %r13d
movl $1, %edi
movl %r12d, %esi
movl $1, %edx
callq __SHIFTL
cmpl $255, %r15d
je LBB0_10
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq (%r14), %rcx
testl %r13d, 32(%rcx)
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
testl %eax, 16(%rcx)
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
movl %r15d, %edi
movl %r12d, %esi
callq ___SetSURegs
jmp LBB0_10
LBB0_11:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
.long L0_0_set_15
.long L0_0_set_14
.long L0_0_set_13
.long L0_0_set_12
.end_data_region
## -- End function
.comm ___gx,8,3 ## @__gx
.no_dead_strip ___GX_SetSUTexRegs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __GX_SetSUTexRegs
___GX_SetSUTexRegs: ; @__GX_SetSUTexRegs
.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
Lloh0:
adrp x23, ___gx@GOTPAGE
Lloh1:
ldr x23, [x23, ___gx@GOTPAGEOFF]
ldr x8, [x23]
ldr w0, [x8]
mov w1, #10
mov w2, #4
bl __SHIFTR
mov x19, x0
ldr x8, [x23]
ldr w0, [x8]
mov w1, #16
mov w2, #3
bl __SHIFTR
cmp w0, #1
b.lt LBB0_13
; %bb.1:
mov x20, x0
mov w24, #0
Lloh2:
adrp x25, lJTI0_0@PAGE
Lloh3:
add x25, x25, lJTI0_0@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w24, w24, #1
cmp w20, w24
b.eq LBB0_13
LBB0_3: ; =>This Inner Loop Header: Depth=1
sub w8, w24, #128
cmp w8, #3
b.hi LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
adr x9, LBB0_5
ldrb w10, [x25, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x23]
ldr x8, [x8, #8]
ldr w0, [x8, #8]
mov w1, #18
mov w2, #3
bl __SHIFTR
mov x21, x0
ldr x8, [x23]
ldr x8, [x8, #8]
ldr w0, [x8, #8]
mov w1, #21
b LBB0_10
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
mov w21, #0
mov w22, #0
b LBB0_11
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x23]
ldr x8, [x8, #8]
ldr w0, [x8, #8]
mov w1, #12
mov w2, #3
bl __SHIFTR
mov x21, x0
ldr x8, [x23]
ldr x8, [x8, #8]
ldr w0, [x8, #8]
mov w1, #15
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x23]
ldr x8, [x8, #8]
ldr w0, [x8, #8]
mov w1, #6
mov w2, #3
bl __SHIFTR
mov x21, x0
ldr x8, [x23]
ldr x8, [x8, #8]
ldr w0, [x8, #8]
mov w1, #9
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x23]
ldr x8, [x8, #8]
ldr w0, [x8, #8]
and w21, w0, #0x7
mov w1, #3
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
mov w2, #3
bl __SHIFTR
mov x22, x0
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
mov w0, #1
mov x1, x22
mov w2, #1
bl __SHIFTL
ldr x8, [x23]
ldr w8, [x8, #16]
tst w8, w0
b.ne LBB0_2
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
mov x1, x22
bl ___SetSURegs
b LBB0_2
LBB0_13:
tbnz w19, #31, LBB0_20
; %bb.14:
mov x20, #0
add w24, w19, #1
mov w25, #3
mov w26, #15
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
add x20, x20, #1
cmp x24, x20
b.eq LBB0_20
LBB0_16: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov w1, #1
mov w2, #3
bl __SHIFTR
ldr x8, [x23]
ldr x9, [x8, #24]
lsl x10, x20, #2
ldrb w19, [x9, x10]
add w9, w0, #3
ldr x8, [x8, #8]
ldr w0, [x8, w9, sxtw #2]
tst w20, #0x1
csel w1, w25, w26, eq
mov w2, #3
bl __SHIFTR
mov x21, x0
mov w0, #1
mov x1, x20
mov w2, #1
bl __SHIFTL
mov x22, x0
mov w0, #1
mov x1, x21
mov w2, #1
bl __SHIFTL
cmp w19, #255
b.eq LBB0_15
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
ldr x8, [x23]
ldr w9, [x8, #32]
tst w9, w22
b.eq LBB0_15
; %bb.18: ; in Loop: Header=BB0_16 Depth=1
ldr w8, [x8, #16]
tst w8, w0
b.ne LBB0_15
; %bb.19: ; in Loop: Header=BB0_16 Depth=1
mov x0, x19
mov x1, x21
bl ___SetSURegs
b LBB0_15
LBB0_20:
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
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_5-LBB0_5)>>2
.byte (LBB0_7-LBB0_5)>>2
.byte (LBB0_8-LBB0_5)>>2
.byte (LBB0_9-LBB0_5)>>2
; -- End function
.comm ___gx,8,3 ; @__gx
.no_dead_strip ___GX_SetSUTexRegs
.subsections_via_symbols
| AnghaBench/RetroArch/wii/libogc/libogc/extr_gx.c___GX_SetSUTexRegs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mpc885_fixup_clocks ## -- Begin function mpc885_fixup_clocks
.p2align 4, 0x90
_mpc885_fixup_clocks: ## @mpc885_fixup_clocks
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _mpc885_get_clock
testl %eax, %eax
je LBB0_1
## %bb.2:
movl %eax, %edi
callq _mpc8xx_set_clocks
movl $1, %eax
popq %rbp
retq
LBB0_1:
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 _mpc885_fixup_clocks ; -- Begin function mpc885_fixup_clocks
.p2align 2
_mpc885_fixup_clocks: ; @mpc885_fixup_clocks
.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 _mpc885_get_clock
cbz w0, LBB0_2
; %bb.1:
bl _mpc8xx_set_clocks
mov w0, #1
LBB0_2:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/powerpc/boot/extr_mpc8xx.c_mpc885_fixup_clocks.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _obs_source_show_preloaded_video ## -- Begin function obs_source_show_preloaded_video
.p2align 4, 0x90
_obs_source_show_preloaded_video: ## @obs_source_show_preloaded_video
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
callq _obs_source_valid
testl %eax, %eax
je LBB0_4
## %bb.1:
movl $1, (%rbx)
leaq 16(%rbx), %r14
movq %r14, %rdi
callq _pthread_mutex_lock
movq 8(%rbx), %rax
movq _OBS_MONITORING_TYPE_MONITOR_ONLY@GOTPCREL(%rip), %rcx
xorl %r15d, %r15d
cmpq (%rcx), %rax
je LBB0_3
## %bb.2:
xorl %eax, %eax
callq _os_gettime_ns
movl %eax, %r15d
LBB0_3:
movl 20(%rbx), %esi
movq %rbx, %rdi
movl %r15d, %edx
callq _reset_audio_timing
movq %rbx, %rdi
movl %r15d, %esi
callq _reset_audio_data
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _pthread_mutex_unlock ## TAILCALL
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "obs_source_show_preloaded_video"
.comm _OBS_MONITORING_TYPE_MONITOR_ONLY,8,3 ## @OBS_MONITORING_TYPE_MONITOR_ONLY
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _obs_source_show_preloaded_video ; -- Begin function obs_source_show_preloaded_video
.p2align 2
_obs_source_show_preloaded_video: ; @obs_source_show_preloaded_video
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _obs_source_valid
cbz w0, LBB0_3
; %bb.1:
mov w8, #1
str w8, [x19]
add x20, x19, #16
mov x0, x20
bl _pthread_mutex_lock
ldr x8, [x19, #8]
Lloh2:
adrp x9, _OBS_MONITORING_TYPE_MONITOR_ONLY@GOTPAGE
Lloh3:
ldr x9, [x9, _OBS_MONITORING_TYPE_MONITOR_ONLY@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.2:
mov w21, #0
b LBB0_5
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
LBB0_4:
bl _os_gettime_ns
mov x21, x0
LBB0_5:
ldr w1, [x19, #20]
mov x0, x19
mov x2, x21
bl _reset_audio_timing
mov x0, x19
mov x1, x21
bl _reset_audio_data
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
b _pthread_mutex_unlock
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "obs_source_show_preloaded_video"
.comm _OBS_MONITORING_TYPE_MONITOR_ONLY,8,3 ; @OBS_MONITORING_TYPE_MONITOR_ONLY
.subsections_via_symbols
| AnghaBench/obs-studio/libobs/extr_obs-source.c_obs_source_show_preloaded_video.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nr_ctxid_cmp_show
_nr_ctxid_cmp_show: ## @nr_ctxid_cmp_show
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdx, %rbx
movl (%rdi), %edi
callq _dev_get_drvdata
movq (%rax), %rdx
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 "%#lx\n"
.no_dead_strip _nr_ctxid_cmp_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nr_ctxid_cmp_show
_nr_ctxid_cmp_show: ; @nr_ctxid_cmp_show
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
ldr w0, [x0]
bl _dev_get_drvdata
ldr x2, [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 "%#lx\n"
.no_dead_strip _nr_ctxid_cmp_show
.subsections_via_symbols
| AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-etm3x-sysfs.c_nr_ctxid_cmp_show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $2, %edi
jl LBB0_49
## %bb.1:
movq %rsi, %r15
movl %edi, %r12d
movl $1352, %edi ## imm = 0x548
callq _malloc
testq %rax, %rax
jne LBB0_3
## %bb.2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.130(%rip), %rsi
leaq L_.str.16(%rip), %rdx
xorl %eax, %eax
callq _fprintf
jmp LBB0_49
LBB0_3:
movq %rax, %r13
movq $0, 64(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
leaq L_.str.34(%rip), %rax
movq %rax, 16(%r13)
movq %rax, 56(%r13)
movl $0, 24(%r13)
movq %rax, 32(%r13)
movabsq $4294967296, %rax ## imm = 0x100000000
movq %rax, 40(%r13)
movl $0, 48(%r13)
leaq L_.str.131(%rip), %rax
movq %rax, 72(%r13)
movq $0, 80(%r13)
movq 8(%r15), %rbx
leaq L_.str.122(%rip), %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
jne LBB0_5
## %bb.4:
leaq _systable(%rip), %rax
jmp LBB0_9
LBB0_5:
leaq L_.str.125(%rip), %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
jne LBB0_7
## %bb.6:
leaq _systable+48(%rip), %rax
jmp LBB0_9
LBB0_7:
leaq L_.str.127(%rip), %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
jne LBB0_10
## %bb.8:
leaq _systable+96(%rip), %rax
LBB0_9:
movq %r13, %rcx
addq $16, %rcx
movups (%rax), %xmm0
movups 16(%rax), %xmm1
movups 32(%rax), %xmm2
movups %xmm2, 32(%rcx)
movups %xmm1, 16(%rcx)
movups %xmm0, (%rcx)
cmpl $0, 24(%r13)
jne LBB0_13
LBB0_10:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.132(%rip), %rsi
LBB0_11:
leaq L_.str.16(%rip), %rdx
movq %rbx, %rcx
LBB0_12:
xorl %eax, %eax
callq _fprintf
jmp LBB0_47
LBB0_13:
movl $2, %r14d
xorl %eax, %eax
cmpl $3, %r12d
jb LBB0_44
## %bb.14:
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r13, -48(%rbp) ## 8-byte Spill
jmp LBB0_17
LBB0_15: ## in Loop: Header=BB0_17 Depth=1
movl $1, 68(%r13)
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_17 Depth=1
incl %r14d
cmpl %r12d, %r14d
jge LBB0_45
LBB0_17: ## =>This Inner Loop Header: Depth=1
movslq %r14d, %rax
movq (%r15,%rax,8), %rbx
cmpb $45, (%rbx)
jne LBB0_45
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
leaq L_.str.107(%rip), %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_24
## %bb.19: ## in Loop: Header=BB0_17 Depth=1
leaq L_.str.109(%rip), %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_25
## %bb.20: ## in Loop: Header=BB0_17 Depth=1
leaq L_.str.111(%rip), %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_26
## %bb.21: ## in Loop: Header=BB0_17 Depth=1
leaq L_.str.114(%rip), %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_27
## %bb.22: ## in Loop: Header=BB0_17 Depth=1
leaq L_.str.117(%rip), %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_28
## %bb.23: ## in Loop: Header=BB0_17 Depth=1
leaq L_.str.120(%rip), %rdi
movq %rbx, %rsi
callq _strcmp
movl $5, %ecx
testl %eax, %eax
je LBB0_29
jmp LBB0_63
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_17 Depth=1
xorl %ecx, %ecx
jmp LBB0_29
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_17 Depth=1
movl $1, %ecx
jmp LBB0_29
LBB0_26: ## in Loop: Header=BB0_17 Depth=1
movl $2, %ecx
jmp LBB0_29
LBB0_27: ## in Loop: Header=BB0_17 Depth=1
movl $3, %ecx
jmp LBB0_29
LBB0_28: ## in Loop: Header=BB0_17 Depth=1
movl $4, %ecx
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_17 Depth=1
shlq $5, %rcx
leaq _options(%rip), %rax
movl (%rcx,%rax), %eax
decl %eax
cmpl $5, %eax
ja LBB0_63
## %bb.30: ## in Loop: Header=BB0_17 Depth=1
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_31: ## in Loop: Header=BB0_17 Depth=1
movl $1, 64(%r13)
movl $1, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_16
LBB0_32: ## in Loop: Header=BB0_17 Depth=1
incl %r14d
cmpl %r12d, %r14d
jge LBB0_53
## %bb.33: ## in Loop: Header=BB0_17 Depth=1
movslq %r14d, %rax
movq (%r15,%rax,8), %rax
movq %rax, 32(%r13)
jmp LBB0_16
LBB0_34: ## in Loop: Header=BB0_17 Depth=1
incl %r14d
cmpl %r12d, %r14d
jge LBB0_53
## %bb.35: ## in Loop: Header=BB0_17 Depth=1
movslq %r14d, %rax
movq (%r15,%rax,8), %r13
movq %r13, %rdi
leaq L_.str.96(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_43
## %bb.36: ## in Loop: Header=BB0_17 Depth=1
movq %r13, %rdi
leaq L_.str.95(%rip), %rsi
callq _strcmp
testl %eax, %eax
jne LBB0_64
## %bb.37: ## in Loop: Header=BB0_17 Depth=1
movq -48(%rbp), %r13 ## 8-byte Reload
movl $1, 40(%r13)
jmp LBB0_16
LBB0_38: ## in Loop: Header=BB0_17 Depth=1
incl %r14d
cmpl %r12d, %r14d
jge LBB0_53
## %bb.39: ## in Loop: Header=BB0_17 Depth=1
movslq %r14d, %rax
movq (%r15,%rax,8), %rdi
leaq -64(%rbp), %rsi
xorl %edx, %edx
callq _strtol
movl %eax, 48(%r13)
jmp LBB0_42
LBB0_40: ## in Loop: Header=BB0_17 Depth=1
incl %r14d
cmpl %r12d, %r14d
jge LBB0_53
## %bb.41: ## in Loop: Header=BB0_17 Depth=1
movslq %r14d, %rax
movq (%r15,%rax,8), %rdi
leaq -64(%rbp), %rsi
xorl %edx, %edx
callq _strtol
movl %eax, 44(%r13)
LBB0_42: ## in Loop: Header=BB0_17 Depth=1
movq -64(%rbp), %rax
cmpb $0, (%rax)
je LBB0_16
jmp LBB0_62
LBB0_43: ## in Loop: Header=BB0_17 Depth=1
movq -48(%rbp), %r13 ## 8-byte Reload
movl $0, 40(%r13)
jmp LBB0_16
LBB0_44:
movq %rax, -56(%rbp) ## 8-byte Spill
LBB0_45:
movslq %r14d, %rax
leaq (%r15,%rax,8), %rbx
movq %rbx, (%r13)
movl $560, %edi ## imm = 0x230
callq _malloc
testq %rax, %rax
jne LBB0_50
## %bb.46:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.130(%rip), %rsi
leaq L_.str.16(%rip), %rdx
xorl %eax, %eax
callq _fprintf
movq $0, 8(%r13)
LBB0_47:
movq %r13, %rdi
LBB0_48:
callq _del_PGbind
LBB0_49:
callq _usage
movl $1, %edi
callq _exit
LBB0_50:
movb $0, (%rax)
movq %rax, %rcx
addq $256, %rcx ## imm = 0x100
movb $0, 256(%rax)
movq %rax, 520(%rax)
movq %rax, 512(%rax)
movq %rcx, 528(%rax)
movq ___stdinp@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, 544(%rax)
leaq L_.str.14(%rip), %rcx
movq %rcx, 536(%rax)
movq %rax, 8(%r13)
cmpl $0, -56(%rbp) ## 4-byte Folded Reload
je LBB0_55
## %bb.51:
leaq L_.str.131(%rip), %rdi
leaq L_.str.52(%rip), %rsi
callq _fopen
movq %rax, 80(%r13)
testq %rax, %rax
jne LBB0_54
## %bb.52:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.137(%rip), %rsi
leaq L_.str.16(%rip), %rdx
leaq L_.str.131(%rip), %rcx
jmp LBB0_12
LBB0_53:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.133(%rip), %rsi
jmp LBB0_11
LBB0_54:
leaq L_.str.138(%rip), %rdi
movl $37, %esi
movl $1, %edx
movq %rax, %rcx
callq _fwrite
movq 80(%r13), %rcx
leaq L_.str.139(%rip), %rdi
movl $19, %esi
movl $1, %edx
callq _fwrite
movq 80(%r13), %rcx
leaq L_.str.140(%rip), %rdi
movl $13, %esi
movl $1, %edx
callq _fwrite
movq 80(%r13), %rcx
leaq L_.str.141(%rip), %rdi
movl $8, %esi
movl $1, %edx
callq _fwrite
movq 80(%r13), %rcx
leaq L_.str.142(%rip), %rdi
movl $22, %esi
movl $1, %edx
callq _fwrite
movq (%r13), %rbx
LBB0_55:
movq (%rbx), %rsi
testq %rsi, %rsi
jne LBB0_58
## %bb.56:
movq %r13, %rdi
xorl %esi, %esi
callq _parse_file
LBB0_57:
movl %eax, %ebx
jmp LBB0_61
.p2align 4, 0x90
LBB0_58: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
callq _parse_file
testl %eax, %eax
jne LBB0_57
## %bb.59: ## in Loop: Header=BB0_58 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq 8(%rax), %rsi
testq %rsi, %rsi
jne LBB0_58
## %bb.60:
xorl %ebx, %ebx
LBB0_61:
movq %r13, %rdi
callq _del_PGbind
xorl %edi, %edi
testl %ebx, %ebx
setne %dil
callq _exit
LBB0_62:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.135(%rip), %rsi
jmp LBB0_11
LBB0_63:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.136(%rip), %rsi
jmp LBB0_11
LBB0_64:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.134(%rip), %rsi
leaq L_.str.16(%rip), %rdx
movq %rbx, %rcx
movq %r13, %r8
xorl %eax, %eax
callq _fprintf
movq -48(%rbp), %rdi ## 8-byte Reload
jmp LBB0_48
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
LJTI0_0:
.long L0_0_set_15
.long L0_0_set_31
.long L0_0_set_32
.long L0_0_set_34
.long L0_0_set_38
.long L0_0_set_40
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function usage
_usage: ## @usage
.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 ___stderrp@GOTPCREL(%rip), %r13
movq (%r13), %rdi
leaq L_.str.87(%rip), %rsi
leaq L_.str.16(%rip), %rdx
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.88(%rip), %r15
leaq L_.str.107(%rip), %rdx
leaq L_.str.34(%rip), %r14
movq %r15, %rsi
movq %r14, %rcx
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.109(%rip), %rdx
movq %r15, %rsi
movq %r14, %rcx
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.111(%rip), %rdx
leaq L_.str.112(%rip), %rcx
movq %r15, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.114(%rip), %rdx
leaq L_.str.115(%rip), %rcx
movq %r15, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.117(%rip), %rdx
leaq L_.str.118(%rip), %r14
movq %r15, %rsi
movq %r14, %rcx
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.120(%rip), %rdx
movq %r15, %rsi
movq %r14, %rcx
xorl %eax, %eax
callq _fprintf
movq (%r13), %rcx
leaq L_.str.89(%rip), %rdi
movl $9, %esi
movl $1, %edx
callq _fwrite
movq (%r13), %rcx
leaq L_.str.90(%rip), %rdi
movl $33, %esi
movl $1, %edx
callq _fwrite
leaq L_.str.25(%rip), %r12
xorl %r14d, %r14d
jmp LBB1_1
.p2align 4, 0x90
LBB1_16: ## in Loop: Header=BB1_1 Depth=1
movq %r15, %r13
movq (%r15), %rsi
movl $10, %edi
callq _fputc
movq -56(%rbp), %r14 ## 8-byte Reload
incq %r14
cmpq $3, %r14
leaq L_.str.25(%rip), %r12
je LBB1_17
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_4 Depth 2
## Child Loop BB1_7 Depth 2
movq (%r13), %rdi
leaq (%r14,%r14,2), %rcx
shlq $4, %rcx
leaq _systable(%rip), %rax
movq (%rcx,%rax), %rdx
movq %rcx, -48(%rbp) ## 8-byte Spill
movq 40(%rcx,%rax), %r15
leaq L_.str.91(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl %eax, %ebx
movq (%r13), %rdi
movq %r15, %rsi
movl %eax, %edx
movl %eax, %ecx
callq _wrap_line
movq (%r13), %rsi
movl $10, %edi
callq _putc
movq %r13, %r15
movq (%r13), %r13
testl %ebx, %ebx
movq %r14, -56(%rbp) ## 8-byte Spill
jle LBB1_2
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.24(%rip), %r14
.p2align 4, 0x90
LBB1_4: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r13, %rdi
movq %r14, %rsi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq _fprintf
subl %eax, %ebx
jg LBB1_4
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movq (%r15), %r13
leaq _options(%rip), %rbx
movq -56(%rbp), %r14 ## 8-byte Reload
jmp LBB1_6
.p2align 4, 0x90
LBB1_2: ## in Loop: Header=BB1_1 Depth=1
leaq _options(%rip), %rbx
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movq -48(%rbp), %r12 ## 8-byte Reload
movl $17, %esi
movl $1, %edx
leaq L_.str.92(%rip), %rdi
movq %r13, %rcx
callq _fwrite
leaq _systable(%rip), %rax
addq %rax, %r12
addq $16, %r12
cmpq $1, %r14
leaq L_.str.95(%rip), %r13
leaq L_.str.96(%rip), %rax
cmoveq %rax, %r13
movl $8, %r14d
jmp LBB1_7
.p2align 4, 0x90
LBB1_13: ## in Loop: Header=BB1_7 Depth=2
movq (%r15), %rdi
movl 12(%r12), %ecx
LBB1_14: ## in Loop: Header=BB1_7 Depth=2
leaq L_.str.97(%rip), %rsi
xorl %eax, %eax
callq _fprintf
LBB1_15: ## in Loop: Header=BB1_7 Depth=2
addq $32, %r14
cmpq $200, %r14
je LBB1_16
LBB1_7: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -8(%r14,%rbx), %eax
addl $-3, %eax
cmpl $3, %eax
ja LBB1_15
## %bb.8: ## in Loop: Header=BB1_7 Depth=2
movq (%r14,%rbx), %rdx
leaq LJTI1_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB1_9: ## in Loop: Header=BB1_7 Depth=2
movq (%r15), %rdi
movq (%r12), %rcx
leaq L_.str.93(%rip), %rsi
jmp LBB1_11
.p2align 4, 0x90
LBB1_10: ## in Loop: Header=BB1_7 Depth=2
movq (%r15), %rdi
leaq L_.str.94(%rip), %rsi
movq %r13, %rcx
LBB1_11: ## in Loop: Header=BB1_7 Depth=2
xorl %eax, %eax
callq _fprintf
jmp LBB1_15
.p2align 4, 0x90
LBB1_12: ## in Loop: Header=BB1_7 Depth=2
movq (%r15), %rdi
movl 16(%r12), %ecx
jmp LBB1_14
LBB1_17:
movq (%r13), %rcx
leaq L_.str.99(%rip), %rdi
movl $11, %esi
movl $1, %edx
callq _fwrite
movq (%r13), %rdi
leaq L_.str.100(%rip), %r14
leaq L_.str.107(%rip), %rdx
leaq L_.str.34(%rip), %r15
movq %r14, %rsi
movq %r15, %rcx
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.108(%rip), %rsi
movl %eax, %edx
movl %eax, %ecx
callq _wrap_line
movq (%r13), %rsi
movl $10, %edi
callq _putc
movq (%r13), %rdi
leaq L_.str.109(%rip), %rdx
movq %r14, %rsi
movq %r15, %rcx
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.110(%rip), %rsi
movl %eax, %edx
movl %eax, %ecx
callq _wrap_line
movq (%r13), %rsi
movl $10, %edi
callq _putc
movq (%r13), %rdi
leaq L_.str.111(%rip), %rdx
leaq L_.str.112(%rip), %rcx
movq %r14, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.113(%rip), %rsi
movl %eax, %edx
movl %eax, %ecx
callq _wrap_line
movq (%r13), %rsi
movl $10, %edi
callq _putc
movq (%r13), %rdi
leaq L_.str.114(%rip), %rdx
leaq L_.str.115(%rip), %rcx
movq %r14, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.116(%rip), %rsi
movl %eax, %edx
movl %eax, %ecx
callq _wrap_line
movq (%r13), %rsi
movl $10, %edi
callq _putc
movq (%r13), %rdi
leaq L_.str.117(%rip), %rdx
leaq L_.str.118(%rip), %r15
movq %r14, %rsi
movq %r15, %rcx
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.119(%rip), %rsi
movl %eax, %edx
movl %eax, %ecx
callq _wrap_line
movq (%r13), %rsi
movl $10, %edi
callq _putc
movq (%r13), %rdi
leaq L_.str.120(%rip), %rdx
movq %r14, %rsi
movq %r15, %rcx
xorl %eax, %eax
callq _fprintf
movq (%r13), %rdi
leaq L_.str.121(%rip), %rsi
movl %eax, %edx
movl %eax, %ecx
callq _wrap_line
movq (%r13), %rsi
movl $10, %edi
callq _putc
movq (%r13), %rcx
leaq L_.str.101(%rip), %rdi
movl $24, %esi
movl $1, %edx
callq _fwrite
movq (%r13), %rdi
leaq L_.str.102(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl %eax, %r14d
movq (%r13), %rdi
leaq L_.str.103(%rip), %rsi
movl %eax, %edx
movl %eax, %ecx
callq _wrap_line
movq (%r13), %rdi
leaq L_.str.104(%rip), %rsi
movl %eax, %edx
movl %r14d, %ecx
callq _wrap_line
movq (%r13), %rdi
leaq L_.str.105(%rip), %rsi
movl %eax, %edx
movl %r14d, %ecx
callq _wrap_line
movq (%r13), %rdi
leaq L_.str.106(%rip), %rsi
movl %eax, %edx
movl %r14d, %ecx
callq _wrap_line
movq (%r13), %rsi
movl $10, %edi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _putc ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_9, LBB1_9-LJTI1_0
.set L1_0_set_10, LBB1_10-LJTI1_0
.set L1_0_set_12, LBB1_12-LJTI1_0
.set L1_0_set_13, LBB1_13-LJTI1_0
LJTI1_0:
.long L1_0_set_9
.long L1_0_set_10
.long L1_0_set_12
.long L1_0_set_13
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function parse_file
_parse_file: ## @parse_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r13
movq 8(%rdi), %r15
testq %rsi, %rsi
je LBB2_2
## %bb.1:
movq %rsi, %rbx
leaq L_.str.13(%rip), %rsi
movq %rbx, %rdi
callq _fopen
movq %rax, %r14
testq %r14, %r14
je LBB2_4
LBB2_5:
movq 544(%r15), %rdi
testq %rdi, %rdi
je LBB2_8
## %bb.6:
movq ___stdinp@GOTPCREL(%rip), %rax
cmpq (%rax), %rdi
je LBB2_8
## %bb.7:
callq _fclose
LBB2_8:
movq %r14, 544(%r15)
movq %rbx, 536(%r15)
movl $0, 552(%r15)
leaq 104(%r13), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
leaq 128(%r13), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
leaq 120(%r13), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
leaq 144(%r13), %rax
movq %rax, -104(%rbp) ## 8-byte Spill
leaq 136(%r13), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
leaq L_.str.17(%rip), %rbx
movq %r13, -48(%rbp) ## 8-byte Spill
LBB2_9: ## =>This Loop Header: Depth=1
## Child Loop BB2_10 Depth 2
## Child Loop BB2_15 Depth 2
## Child Loop BB2_18 Depth 3
## Child Loop BB2_25 Depth 3
## Child Loop BB2_30 Depth 3
## Child Loop BB2_52 Depth 2
## Child Loop BB2_58 Depth 2
## Child Loop BB2_68 Depth 3
## Child Loop BB2_75 Depth 3
## Child Loop BB2_100 Depth 3
## Child Loop BB2_109 Depth 2
## Child Loop BB2_110 Depth 3
## Child Loop BB2_124 Depth 2
## Child Loop BB2_130 Depth 3
## Child Loop BB2_151 Depth 2
## Child Loop BB2_168 Depth 2
## Child Loop BB2_187 Depth 2
## Child Loop BB2_204 Depth 2
## Child Loop BB2_217 Depth 2
## Child Loop BB2_244 Depth 2
## Child Loop BB2_250 Depth 2
## Child Loop BB2_270 Depth 2
## Child Loop BB2_276 Depth 2
## Child Loop BB2_282 Depth 2
movq 8(%r13), %r13
movb $0, (%r13)
leaq 256(%r13), %r12
movb $0, 256(%r13)
movq %r13, 520(%r13)
movq %r13, 512(%r13)
movq %r12, 528(%r13)
.p2align 4, 0x90
LBB2_10: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
movq %r13, %rdi
callq _lex_line
testq %rax, %rax
je LBB2_12
## %bb.11: ## in Loop: Header=BB2_10 Depth=2
movl $2, %edx
movq %r12, %rdi
movq %rbx, %rsi
callq _strncmp
testl %eax, %eax
jne LBB2_10
LBB2_12: ## in Loop: Header=BB2_9 Depth=1
movq 544(%r13), %rdi
callq _feof
xorl %r15d, %r15d
testl %eax, %eax
jne LBB2_310
## %bb.13: ## in Loop: Header=BB2_9 Depth=1
movq 544(%r13), %rdi
callq _ferror
testl %eax, %eax
jne LBB2_310
## %bb.14: ## in Loop: Header=BB2_9 Depth=1
leaq 258(%r13), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
leaq 259(%r13), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
movq %r12, -80(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB2_15: ## Parent Loop BB2_9 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_18 Depth 3
## Child Loop BB2_25 Depth 3
## Child Loop BB2_30 Depth 3
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, 528(%r13)
movb 258(%r13), %al
testb %al, %al
je LBB2_311
## %bb.16: ## in Loop: Header=BB2_15 Depth=2
movq -72(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB2_18: ## Parent Loop BB2_9 Depth=1
## Parent Loop BB2_15 Depth=2
## => This Inner Loop Header: Depth=3
movsbl %al, %edi
testb %dil, %dil
js LBB2_20
## %bb.19: ## in Loop: Header=BB2_18 Depth=3
movl %edi, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
testl %eax, %eax
jne LBB2_17
jmp LBB2_22
.p2align 4, 0x90
LBB2_20: ## in Loop: Header=BB2_18 Depth=3
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
testl %eax, %eax
je LBB2_22
LBB2_17: ## in Loop: Header=BB2_18 Depth=3
movq %rbx, 528(%r13)
movzbl (%rbx), %eax
incq %rbx
testb %al, %al
jne LBB2_18
LBB2_311: ## in Loop: Header=BB2_15 Depth=2
cmpl $255, %r14d
jge LBB2_40
LBB2_29: ## in Loop: Header=BB2_15 Depth=2
leal -1(%r14), %r15d
movq %r13, %rcx
movl %r14d, %edx
jmp LBB2_30
.p2align 4, 0x90
LBB2_33: ## in Loop: Header=BB2_30 Depth=3
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
LBB2_34: ## in Loop: Header=BB2_30 Depth=3
leal -1(%rbx), %edx
leaq -1(%r12), %rcx
testl %eax, %eax
je LBB2_35
LBB2_30: ## Parent Loop BB2_9 Depth=1
## Parent Loop BB2_15 Depth=2
## => This Inner Loop Header: Depth=3
movl %edx, %ebx
movq %rcx, %r12
cmpl $2, %edx
jl LBB2_35
## %bb.31: ## in Loop: Header=BB2_30 Depth=3
movsbl (%r12,%r15), %edi
testl %edi, %edi
js LBB2_33
## %bb.32: ## in Loop: Header=BB2_30 Depth=3
movl %edi, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
jmp LBB2_34
.p2align 4, 0x90
LBB2_35: ## in Loop: Header=BB2_15 Depth=2
movslq %r15d, %rax
cmpb $92, (%r12,%rax)
movq -80(%rbp), %r12 ## 8-byte Reload
jne LBB2_39
## %bb.36: ## in Loop: Header=BB2_15 Depth=2
movq %r13, %rdi
callq _lex_line
testq %rax, %rax
je LBB2_38
## %bb.37: ## in Loop: Header=BB2_15 Depth=2
leal -1(%rbx), %r14d
movl $2, %edx
movq %r12, %rdi
leaq L_.str.17(%rip), %rsi
callq _strncmp
testl %eax, %eax
je LBB2_15
jmp LBB2_38
.p2align 4, 0x90
LBB2_22: ## in Loop: Header=BB2_15 Depth=2
movq 528(%r13), %rax
cmpb $0, (%rax)
je LBB2_28
## %bb.23: ## in Loop: Header=BB2_15 Depth=2
cmpl $254, %r14d
jg LBB2_28
## %bb.24: ## in Loop: Header=BB2_15 Depth=2
movslq %r14d, %r14
.p2align 4, 0x90
LBB2_25: ## Parent Loop BB2_9 Depth=1
## Parent Loop BB2_15 Depth=2
## => This Inner Loop Header: Depth=3
movq %r14, %rcx
leaq 1(%rax), %rdx
movq %rdx, 528(%r13)
movzbl (%rax), %eax
incq %r14
movb %al, (%r13,%rcx)
movq 528(%r13), %rax
cmpb $0, (%rax)
je LBB2_27
## %bb.26: ## in Loop: Header=BB2_25 Depth=3
cmpq $254, %rcx
jl LBB2_25
LBB2_27: ## in Loop: Header=BB2_15 Depth=2
cmpq $254, %rcx
jl LBB2_29
jmp LBB2_40
LBB2_28: ## in Loop: Header=BB2_15 Depth=2
cmpl $254, %r14d
jle LBB2_29
jmp LBB2_40
.p2align 4, 0x90
LBB2_38: ## in Loop: Header=BB2_9 Depth=1
decl %ebx
movl %ebx, %r14d
LBB2_39: ## in Loop: Header=BB2_9 Depth=1
cmpl $255, %r14d
jge LBB2_40
## %bb.41: ## in Loop: Header=BB2_9 Depth=1
movslq %r14d, %rax
movb $0, (%r13,%rax)
movq %r13, 512(%r13)
movq %r13, 520(%r13)
movq %r12, 528(%r13)
movb $0, 256(%r13)
movq -48(%rbp), %r13 ## 8-byte Reload
movq 8(%r13), %r12
movq %r12, %rdi
callq _read_type
movl %eax, 96(%r13)
testl %eax, %eax
je LBB2_42
## %bb.44: ## in Loop: Header=BB2_9 Depth=1
movq 520(%r12), %rax
cmpb $42, (%rax)
je LBB2_45
## %bb.47: ## in Loop: Header=BB2_9 Depth=1
movq %r12, %rdi
callq _read_name
movq %rax, 88(%r13)
testq %rax, %rax
je LBB2_48
## %bb.49: ## in Loop: Header=BB2_9 Depth=1
movq 520(%r12), %rbx
cmpb $40, (%rbx)
jne LBB2_50
## %bb.51: ## in Loop: Header=BB2_9 Depth=1
movq %rbx, 512(%r12)
incq %rbx
jmp LBB2_52
.p2align 4, 0x90
LBB2_55: ## in Loop: Header=BB2_52 Depth=2
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
LBB2_56: ## in Loop: Header=BB2_52 Depth=2
incq %rbx
testl %eax, %eax
je LBB2_57
LBB2_52: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, 520(%r12)
movsbl (%rbx), %edi
testl %edi, %edi
je LBB2_57
## %bb.53: ## in Loop: Header=BB2_52 Depth=2
testb %dil, %dil
js LBB2_55
## %bb.54: ## in Loop: Header=BB2_52 Depth=2
movl %edi, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
jmp LBB2_56
.p2align 4, 0x90
LBB2_57: ## in Loop: Header=BB2_9 Depth=1
xorl %r15d, %r15d
LBB2_58: ## Parent Loop BB2_9 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_68 Depth 3
## Child Loop BB2_75 Depth 3
## Child Loop BB2_100 Depth 3
movq 520(%r12), %rbx
cmpb $41, (%rbx)
je LBB2_109
## %bb.59: ## in Loop: Header=BB2_58 Depth=2
leaq (%r15,%r15,4), %r14
leaq 128(,%r14,8), %rbx
addq %r13, %rbx
movl $0, 128(%r13,%r14,8)
movl $0, 120(%r13,%r14,8)
xorl %eax, %eax
testl %eax, %eax
je LBB2_68
jmp LBB2_61
.p2align 4, 0x90
LBB2_312: ## in Loop: Header=BB2_68 Depth=3
movl $1, (%rbx)
movl -8(%rbx), %eax
testl %eax, %eax
jne LBB2_61
LBB2_68: ## Parent Loop BB2_9 Depth=1
## Parent Loop BB2_58 Depth=2
## => This Inner Loop Header: Depth=3
movq %r12, %rdi
callq _read_type
cmpl $7, %eax
je LBB2_312
## %bb.69: ## in Loop: Header=BB2_68 Depth=3
testl %eax, %eax
je LBB2_71
## %bb.70: ## in Loop: Header=BB2_68 Depth=3
movl %eax, -8(%rbx)
testl %eax, %eax
je LBB2_68
LBB2_61: ## in Loop: Header=BB2_58 Depth=2
cmpl $1, %eax
je LBB2_62
## %bb.73: ## in Loop: Header=BB2_58 Depth=2
movq %r13, %rax
movq 520(%r12), %r13
cmpb $42, (%r13)
leaq 124(%rax,%r14,8), %rax
jne LBB2_82
## %bb.74: ## in Loop: Header=BB2_58 Depth=2
movq %rax, -56(%rbp) ## 8-byte Spill
movl $1, (%rax)
movq %r13, 512(%r12)
incq %r13
jmp LBB2_75
.p2align 4, 0x90
LBB2_78: ## in Loop: Header=BB2_75 Depth=3
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
LBB2_79: ## in Loop: Header=BB2_75 Depth=3
incq %r13
testl %eax, %eax
je LBB2_80
LBB2_75: ## Parent Loop BB2_9 Depth=1
## Parent Loop BB2_58 Depth=2
## => This Inner Loop Header: Depth=3
movq %r13, 520(%r12)
movsbl (%r13), %edi
testl %edi, %edi
je LBB2_84
## %bb.76: ## in Loop: Header=BB2_75 Depth=3
testb %dil, %dil
js LBB2_78
## %bb.77: ## in Loop: Header=BB2_75 Depth=3
movl %edi, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
jmp LBB2_79
LBB2_82: ## in Loop: Header=BB2_58 Depth=2
movl $0, (%rax)
cmpl $0, (%rbx)
leaq L_.str.34(%rip), %rax
movq -48(%rbp), %r13 ## 8-byte Reload
je LBB2_96
jmp LBB2_83
LBB2_80: ## in Loop: Header=BB2_58 Depth=2
movq 520(%r12), %rax
cmpb $42, (%rax)
je LBB2_81
LBB2_84: ## in Loop: Header=BB2_58 Depth=2
movq -56(%rbp), %rax ## 8-byte Reload
cmpl $0, (%rax)
leaq L_.str.34(%rip), %rax
movq -48(%rbp), %r13 ## 8-byte Reload
je LBB2_96
## %bb.85: ## in Loop: Header=BB2_58 Depth=2
cmpl $0, (%rbx)
leaq L_.str.34(%rip), %rax
je LBB2_96
## %bb.86: ## in Loop: Header=BB2_58 Depth=2
movl -8(%rbx), %eax
cmpl %eax, _datatypes(%rip)
jne LBB2_89
## %bb.87: ## in Loop: Header=BB2_58 Depth=2
xorl %ecx, %ecx
jmp LBB2_88
LBB2_89: ## in Loop: Header=BB2_58 Depth=2
movl $1, %ecx
cmpl %eax, _datatypes+24(%rip)
je LBB2_88
## %bb.90: ## in Loop: Header=BB2_58 Depth=2
movl $2, %ecx
cmpl %eax, _datatypes+48(%rip)
je LBB2_88
## %bb.91: ## in Loop: Header=BB2_58 Depth=2
movl $3, %ecx
cmpl %eax, _datatypes+72(%rip)
je LBB2_88
## %bb.92: ## in Loop: Header=BB2_58 Depth=2
movl $4, %ecx
cmpl %eax, _datatypes+96(%rip)
je LBB2_88
## %bb.93: ## in Loop: Header=BB2_58 Depth=2
movl $5, %ecx
cmpl %eax, _datatypes+120(%rip)
je LBB2_88
## %bb.94: ## in Loop: Header=BB2_58 Depth=2
movl $6, %ecx
cmpl %eax, _datatypes+144(%rip)
jne LBB2_95
LBB2_88: ## in Loop: Header=BB2_58 Depth=2
leaq (%rcx,%rcx,2), %rax
leaq _datatypes(%rip), %rcx
movq 16(%rcx,%rax,8), %rax
.p2align 4, 0x90
LBB2_96: ## in Loop: Header=BB2_58 Depth=2
movq %rax, 112(%r13,%r14,8)
movq %r12, %rdi
callq _read_name
movq %rax, 104(%r13,%r14,8)
testq %rax, %rax
je LBB2_97
## %bb.98: ## in Loop: Header=BB2_58 Depth=2
movq 520(%r12), %rbx
cmpb $44, (%rbx)
jne LBB2_106
## %bb.99: ## in Loop: Header=BB2_58 Depth=2
movq %rbx, 512(%r12)
incq %rbx
jmp LBB2_100
.p2align 4, 0x90
LBB2_103: ## in Loop: Header=BB2_100 Depth=3
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
LBB2_104: ## in Loop: Header=BB2_100 Depth=3
incq %rbx
testl %eax, %eax
je LBB2_105
LBB2_100: ## Parent Loop BB2_9 Depth=1
## Parent Loop BB2_58 Depth=2
## => This Inner Loop Header: Depth=3
movq %rbx, 520(%r12)
movsbl (%rbx), %edi
testl %edi, %edi
je LBB2_105
## %bb.101: ## in Loop: Header=BB2_100 Depth=3
testb %dil, %dil
js LBB2_103
## %bb.102: ## in Loop: Header=BB2_100 Depth=3
movl %edi, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
jmp LBB2_104
.p2align 4, 0x90
LBB2_105: ## in Loop: Header=BB2_58 Depth=2
incq %r15
cmpq $31, %r15
jne LBB2_58
jmp LBB2_107
LBB2_95: ## in Loop: Header=BB2_58 Depth=2
xorl %eax, %eax
jmp LBB2_96
.p2align 4, 0x90
LBB2_62: ## in Loop: Header=BB2_9 Depth=1
testl %r15d, %r15d
jne LBB2_72
## %bb.63: ## in Loop: Header=BB2_9 Depth=1
movq 520(%r12), %rbx
cmpb $41, (%rbx)
jne LBB2_72
## %bb.64: ## in Loop: Header=BB2_9 Depth=1
movl $0, 1344(%r13)
LBB2_65: ## in Loop: Header=BB2_9 Depth=1
movb (%rbx), %al
cmpb $41, %al
jne LBB2_66
LBB2_109: ## Parent Loop BB2_9 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_110 Depth 3
movq %rbx, 512(%r12)
incq %rbx
jmp LBB2_110
.p2align 4, 0x90
LBB2_113: ## in Loop: Header=BB2_110 Depth=3
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
LBB2_114: ## in Loop: Header=BB2_110 Depth=3
incq %rbx
testl %eax, %eax
je LBB2_115
LBB2_110: ## Parent Loop BB2_9 Depth=1
## Parent Loop BB2_109 Depth=2
## => This Inner Loop Header: Depth=3
movq %rbx, 520(%r12)
movsbl (%rbx), %edi
testl %edi, %edi
je LBB2_122
## %bb.111: ## in Loop: Header=BB2_110 Depth=3
testb %dil, %dil
js LBB2_113
## %bb.112: ## in Loop: Header=BB2_110 Depth=3
movl %edi, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
jmp LBB2_114
.p2align 4, 0x90
LBB2_115: ## in Loop: Header=BB2_109 Depth=2
movq 520(%r12), %rbx
movsbl (%rbx), %r15d
testl %r15d, %r15d
je LBB2_122
## %bb.116: ## in Loop: Header=BB2_109 Depth=2
testb %r15b, %r15b
js LBB2_118
## %bb.117: ## in Loop: Header=BB2_109 Depth=2
movl %r15d, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
testl %eax, %eax
je LBB2_120
jmp LBB2_109
LBB2_118: ## in Loop: Header=BB2_109 Depth=2
movl $16384, %esi ## imm = 0x4000
movl %r15d, %edi
callq ___maskrune
movq 520(%r12), %rbx
testl %eax, %eax
jne LBB2_109
LBB2_120: ## in Loop: Header=BB2_109 Depth=2
cmpb $59, %r15b
je LBB2_109
## %bb.121: ## in Loop: Header=BB2_9 Depth=1
cmpb $0, (%rbx)
jne LBB2_313
.p2align 4, 0x90
LBB2_122: ## in Loop: Header=BB2_9 Depth=1
movl 1344(%r13), %eax
movq %rax, -56(%rbp) ## 8-byte Spill
testl %eax, %eax
jle LBB2_136
## %bb.123: ## in Loop: Header=BB2_9 Depth=1
xorl %r13d, %r13d
jmp LBB2_124
.p2align 4, 0x90
LBB2_128: ## in Loop: Header=BB2_124 Depth=2
movq -48(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rbx,8), %rax
addq $132, %rax
movl $1, (%rax)
LBB2_135: ## in Loop: Header=BB2_124 Depth=2
incq %r13
cmpq -56(%rbp), %r13 ## 8-byte Folded Reload
je LBB2_136
LBB2_124: ## Parent Loop BB2_9 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_130 Depth 3
leaq (,%r13,4), %rbx
addq %r13, %rbx
movq -48(%rbp), %rax ## 8-byte Reload
movabsq $-4294967296, %rcx ## imm = 0xFFFFFFFF00000000
movq %rcx, 132(%rax,%rbx,8)
cmpl $5, 120(%rax,%rbx,8)
jne LBB2_135
## %bb.125: ## in Loop: Header=BB2_124 Depth=2
movq -48(%rbp), %r15 ## 8-byte Reload
movq 104(%r15,%rbx,8), %r12
movq %r12, %rdi
movl $95, %esi
callq _strrchr
movq %rax, %r14
movq %r12, -80(%rbp) ## 8-byte Spill
movq %r12, %rdi
callq _strlen
cmpl $0, 124(%r15,%rbx,8)
je LBB2_128
## %bb.126: ## in Loop: Header=BB2_124 Depth=2
movq %rax, %r12
testq %r14, %r14
je LBB2_129
## %bb.127: ## in Loop: Header=BB2_124 Depth=2
movq %r14, %rdi
leaq L_.str.40(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB2_128
LBB2_129: ## in Loop: Header=BB2_124 Depth=2
movq -48(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rbx,8), %rax
addq $136, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movslq %r12d, %r12
movq -64(%rbp), %r14 ## 8-byte Reload
xorl %r15d, %r15d
jmp LBB2_130
.p2align 4, 0x90
LBB2_134: ## in Loop: Header=BB2_130 Depth=3
incq %r15
addq $40, %r14
cmpq %r15, -56(%rbp) ## 8-byte Folded Reload
je LBB2_135
LBB2_130: ## Parent Loop BB2_9 Depth=1
## Parent Loop BB2_124 Depth=2
## => This Inner Loop Header: Depth=3
cmpq %r15, %r13
je LBB2_134
## %bb.131: ## in Loop: Header=BB2_130 Depth=3
movq (%r14), %rbx
movq %rbx, %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
movq %r12, %rdx
callq _strncmp
testl %eax, %eax
jne LBB2_134
## %bb.132: ## in Loop: Header=BB2_130 Depth=3
addq %r12, %rbx
movq %rbx, %rdi
leaq L_.str.41(%rip), %rsi
callq _strcmp
testl %eax, %eax
jne LBB2_134
## %bb.133: ## in Loop: Header=BB2_124 Depth=2
movq -72(%rbp), %rax ## 8-byte Reload
movl %r15d, (%rax)
jmp LBB2_135
.p2align 4, 0x90
LBB2_136: ## in Loop: Header=BB2_9 Depth=1
movq -48(%rbp), %r13 ## 8-byte Reload
cmpl $0, 64(%r13)
je LBB2_163
## %bb.137: ## in Loop: Header=BB2_9 Depth=1
movq 80(%r13), %r14
testq %r14, %r14
je LBB2_163
## %bb.138: ## in Loop: Header=BB2_9 Depth=1
movl 96(%r13), %eax
cmpl %eax, _datatypes(%rip)
leaq _datatypes(%rip), %rdx
jne LBB2_141
## %bb.139: ## in Loop: Header=BB2_9 Depth=1
xorl %ecx, %ecx
jmp LBB2_140
LBB2_141: ## in Loop: Header=BB2_9 Depth=1
movl $1, %ecx
cmpl %eax, _datatypes+24(%rip)
je LBB2_140
## %bb.142: ## in Loop: Header=BB2_9 Depth=1
movl $2, %ecx
cmpl %eax, _datatypes+48(%rip)
je LBB2_140
## %bb.143: ## in Loop: Header=BB2_9 Depth=1
movl $3, %ecx
cmpl %eax, _datatypes+72(%rip)
je LBB2_140
## %bb.144: ## in Loop: Header=BB2_9 Depth=1
movl $4, %ecx
cmpl %eax, _datatypes+96(%rip)
je LBB2_140
## %bb.145: ## in Loop: Header=BB2_9 Depth=1
movl $5, %ecx
cmpl %eax, _datatypes+120(%rip)
je LBB2_140
## %bb.146: ## in Loop: Header=BB2_9 Depth=1
movl $6, %ecx
cmpl %eax, _datatypes+144(%rip)
jne LBB2_147
LBB2_140: ## in Loop: Header=BB2_9 Depth=1
leaq (%rcx,%rcx,2), %rax
movq 8(%rdx,%rax,8), %rdx
LBB2_148: ## in Loop: Header=BB2_9 Depth=1
movq 88(%r13), %rcx
movq %r14, %rdi
leaq L_.str.42(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl 1344(%r13), %eax
testl %eax, %eax
je LBB2_314
## %bb.149: ## in Loop: Header=BB2_9 Depth=1
jle LBB2_162
## %bb.150: ## in Loop: Header=BB2_9 Depth=1
movq -88(%rbp), %rbx ## 8-byte Reload
xorl %r15d, %r15d
.p2align 4, 0x90
LBB2_151: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, (%rbx)
leaq L_.str.45(%rip), %rdx
leaq L_.str.34(%rip), %rcx
cmoveq %rcx, %rdx
movl -8(%rbx), %ecx
cmpl %ecx, _datatypes(%rip)
jne LBB2_154
## %bb.152: ## in Loop: Header=BB2_151 Depth=2
xorl %esi, %esi
jmp LBB2_153
.p2align 4, 0x90
LBB2_154: ## in Loop: Header=BB2_151 Depth=2
movl $1, %esi
cmpl %ecx, _datatypes+24(%rip)
je LBB2_153
## %bb.155: ## in Loop: Header=BB2_151 Depth=2
movl $2, %esi
cmpl %ecx, _datatypes+48(%rip)
je LBB2_153
## %bb.156: ## in Loop: Header=BB2_151 Depth=2
movl $3, %esi
cmpl %ecx, _datatypes+72(%rip)
je LBB2_153
## %bb.157: ## in Loop: Header=BB2_151 Depth=2
movl $4, %esi
cmpl %ecx, _datatypes+96(%rip)
je LBB2_153
## %bb.158: ## in Loop: Header=BB2_151 Depth=2
movl $5, %esi
cmpl %ecx, _datatypes+120(%rip)
je LBB2_153
## %bb.159: ## in Loop: Header=BB2_151 Depth=2
movl $6, %esi
cmpl %ecx, _datatypes+144(%rip)
jne LBB2_160
.p2align 4, 0x90
LBB2_153: ## in Loop: Header=BB2_151 Depth=2
leaq (%rsi,%rsi,2), %rcx
leaq _datatypes(%rip), %rsi
movq 8(%rsi,%rcx,8), %rcx
LBB2_161: ## in Loop: Header=BB2_151 Depth=2
cmpl $0, -4(%rbx)
leaq L_.str.46(%rip), %r8
leaq L_.str.47(%rip), %rsi
cmoveq %rsi, %r8
movq -24(%rbx), %r9
decl %eax
cltq
cmpq %rax, %r15
leaq L_.str.49(%rip), %rax
leaq L_.str.48(%rip), %rsi
cmovlq %rsi, %rax
movq %rax, (%rsp)
movq %r14, %rdi
leaq L_.str.44(%rip), %rsi
xorl %eax, %eax
callq _fprintf
incq %r15
movslq 1344(%r13), %rax
addq $40, %rbx
cmpq %rax, %r15
jl LBB2_151
jmp LBB2_162
LBB2_160: ## in Loop: Header=BB2_151 Depth=2
xorl %ecx, %ecx
jmp LBB2_161
LBB2_314: ## in Loop: Header=BB2_9 Depth=1
movl $5, %esi
movl $1, %edx
leaq L_.str.43(%rip), %rdi
movq %r14, %rcx
callq _fwrite
LBB2_162: ## in Loop: Header=BB2_9 Depth=1
movl $2, %esi
movl $1, %edx
leaq L_.str.50(%rip), %rdi
movq %r14, %rcx
callq _fwrite
LBB2_163: ## in Loop: Header=BB2_9 Depth=1
cmpl $0, 68(%r13)
leaq L_.str.17(%rip), %rbx
leaq _datatypes(%rip), %r15
je LBB2_9
## %bb.164: ## in Loop: Header=BB2_9 Depth=1
movq 88(%r13), %r8
movl $256, %edx ## imm = 0x100
leaq _write_wrapper.buffer(%rip), %rbx
movq %rbx, %rdi
xorl %esi, %esi
leaq L_.str.51(%rip), %rcx
xorl %eax, %eax
callq ___sprintf_chk
movq %rbx, %rdi
leaq L_.str.52(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB2_165
## %bb.166: ## in Loop: Header=BB2_9 Depth=1
movq %rax, %r12
movl $21, %esi
movl $1, %edx
leaq L_.str.54(%rip), %rdi
movq %rax, %rcx
callq _fwrite
movl 1344(%r13), %eax
testl %eax, %eax
jle LBB2_175
## %bb.167: ## in Loop: Header=BB2_9 Depth=1
movl $1, %ecx
movq -96(%rbp), %rdx ## 8-byte Reload
.p2align 4, 0x90
LBB2_168: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rdx), %esi
cmpq %rax, %rcx
jae LBB2_170
## %bb.169: ## in Loop: Header=BB2_168 Depth=2
addq $40, %rdx
incq %rcx
cmpl $5, %esi
jne LBB2_168
LBB2_170: ## in Loop: Header=BB2_9 Depth=1
cmpl $5, %esi
jne LBB2_175
## %bb.171: ## in Loop: Header=BB2_9 Depth=1
movl $20, %esi
movl $1, %edx
leaq L_.str.55(%rip), %rdi
movq %r12, %rcx
callq _fwrite
movl 24(%r13), %eax
leaq L_.str.56(%rip), %rdi
cmpl $2, %eax
je LBB2_174
## %bb.172: ## in Loop: Header=BB2_9 Depth=1
cmpl $3, %eax
jne LBB2_175
## %bb.173: ## in Loop: Header=BB2_9 Depth=1
leaq L_.str.57(%rip), %rdi
LBB2_174: ## in Loop: Header=BB2_9 Depth=1
movl $21, %esi
movl $1, %edx
movq %r12, %rcx
callq _fwrite
LBB2_175: ## in Loop: Header=BB2_9 Depth=1
movl 96(%r13), %eax
cmpl %eax, _datatypes(%rip)
jne LBB2_178
## %bb.176: ## in Loop: Header=BB2_9 Depth=1
xorl %ecx, %ecx
jmp LBB2_177
LBB2_178: ## in Loop: Header=BB2_9 Depth=1
movl $1, %ecx
cmpl %eax, _datatypes+24(%rip)
je LBB2_177
## %bb.179: ## in Loop: Header=BB2_9 Depth=1
movl $2, %ecx
cmpl %eax, _datatypes+48(%rip)
je LBB2_177
## %bb.180: ## in Loop: Header=BB2_9 Depth=1
movl $3, %ecx
cmpl %eax, _datatypes+72(%rip)
je LBB2_177
## %bb.181: ## in Loop: Header=BB2_9 Depth=1
movl $4, %ecx
cmpl %eax, _datatypes+96(%rip)
je LBB2_177
## %bb.182: ## in Loop: Header=BB2_9 Depth=1
movl $5, %ecx
cmpl %eax, _datatypes+120(%rip)
je LBB2_177
## %bb.183: ## in Loop: Header=BB2_9 Depth=1
movl $6, %ecx
cmpl %eax, _datatypes+144(%rip)
jne LBB2_184
LBB2_177: ## in Loop: Header=BB2_9 Depth=1
leaq (%rcx,%rcx,2), %rax
movq 8(%r15,%rax,8), %rdx
LBB2_185: ## in Loop: Header=BB2_9 Depth=1
movq %r12, %rdi
leaq L_.str.58(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movq 88(%r13), %rbx
movb 1(%rbx), %al
testb %al, %al
je LBB2_191
## %bb.186: ## in Loop: Header=BB2_9 Depth=1
addq $2, %rbx
jmp LBB2_187
.p2align 4, 0x90
LBB2_189: ## in Loop: Header=BB2_187 Depth=2
callq ___toupper
LBB2_190: ## in Loop: Header=BB2_187 Depth=2
movl %eax, %edi
movq %r12, %rsi
callq _putc
movzbl (%rbx), %eax
incq %rbx
testb %al, %al
je LBB2_191
LBB2_187: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
movsbl %al, %edi
cmpl $0, 40(%r13)
je LBB2_189
## %bb.188: ## in Loop: Header=BB2_187 Depth=2
callq ___tolower
jmp LBB2_190
LBB2_191: ## in Loop: Header=BB2_9 Depth=1
movq 32(%r13), %rdi
movq %r12, %rsi
callq _fputs
movl $4, %esi
movl $1, %edx
leaq L_.str.59(%rip), %rdi
movq %r12, %rcx
callq _fwrite
movl 96(%r13), %eax
cmpl %eax, _datatypes(%rip)
jne LBB2_194
## %bb.192: ## in Loop: Header=BB2_9 Depth=1
xorl %ecx, %ecx
jmp LBB2_193
LBB2_194: ## in Loop: Header=BB2_9 Depth=1
movl $1, %ecx
cmpl %eax, _datatypes+24(%rip)
je LBB2_193
## %bb.195: ## in Loop: Header=BB2_9 Depth=1
movl $2, %ecx
cmpl %eax, _datatypes+48(%rip)
je LBB2_193
## %bb.196: ## in Loop: Header=BB2_9 Depth=1
movl $3, %ecx
cmpl %eax, _datatypes+72(%rip)
je LBB2_193
## %bb.197: ## in Loop: Header=BB2_9 Depth=1
movl $4, %ecx
cmpl %eax, _datatypes+96(%rip)
je LBB2_193
## %bb.198: ## in Loop: Header=BB2_9 Depth=1
movl $5, %ecx
cmpl %eax, _datatypes+120(%rip)
je LBB2_193
## %bb.199: ## in Loop: Header=BB2_9 Depth=1
movl $6, %ecx
cmpl %eax, _datatypes+144(%rip)
jne LBB2_200
LBB2_193: ## in Loop: Header=BB2_9 Depth=1
leaq (%rcx,%rcx,2), %rax
movq 8(%r15,%rax,8), %rdx
LBB2_201: ## in Loop: Header=BB2_9 Depth=1
movq 88(%r13), %rcx
movq %r12, %rdi
leaq L_.str.60(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl 1344(%r13), %eax
testl %eax, %eax
je LBB2_315
## %bb.202: ## in Loop: Header=BB2_9 Depth=1
jle LBB2_215
## %bb.203: ## in Loop: Header=BB2_9 Depth=1
movq -88(%rbp), %rbx ## 8-byte Reload
xorl %r14d, %r14d
.p2align 4, 0x90
LBB2_204: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, (%rbx)
leaq L_.str.45(%rip), %rdx
leaq L_.str.34(%rip), %rcx
cmoveq %rcx, %rdx
movl -8(%rbx), %ecx
cmpl %ecx, _datatypes(%rip)
jne LBB2_207
## %bb.205: ## in Loop: Header=BB2_204 Depth=2
xorl %esi, %esi
jmp LBB2_206
.p2align 4, 0x90
LBB2_207: ## in Loop: Header=BB2_204 Depth=2
movl $1, %esi
cmpl %ecx, _datatypes+24(%rip)
je LBB2_206
## %bb.208: ## in Loop: Header=BB2_204 Depth=2
movl $2, %esi
cmpl %ecx, _datatypes+48(%rip)
je LBB2_206
## %bb.209: ## in Loop: Header=BB2_204 Depth=2
movl $3, %esi
cmpl %ecx, _datatypes+72(%rip)
je LBB2_206
## %bb.210: ## in Loop: Header=BB2_204 Depth=2
movl $4, %esi
cmpl %ecx, _datatypes+96(%rip)
je LBB2_206
## %bb.211: ## in Loop: Header=BB2_204 Depth=2
movl $5, %esi
cmpl %ecx, _datatypes+120(%rip)
je LBB2_206
## %bb.212: ## in Loop: Header=BB2_204 Depth=2
movl $6, %esi
cmpl %ecx, _datatypes+144(%rip)
jne LBB2_213
.p2align 4, 0x90
LBB2_206: ## in Loop: Header=BB2_204 Depth=2
leaq (%rsi,%rsi,2), %rcx
movq 8(%r15,%rcx,8), %rcx
LBB2_214: ## in Loop: Header=BB2_204 Depth=2
cmpl $0, -4(%rbx)
leaq L_.str.46(%rip), %r8
leaq L_.str.47(%rip), %rsi
cmoveq %rsi, %r8
movq -24(%rbx), %r9
decl %eax
cltq
cmpq %rax, %r14
leaq L_.str.49(%rip), %rax
leaq L_.str.48(%rip), %rsi
cmovlq %rsi, %rax
movq %rax, (%rsp)
movq %r12, %rdi
leaq L_.str.44(%rip), %rsi
xorl %eax, %eax
callq _fprintf
incq %r14
movslq 1344(%r13), %rax
addq $40, %rbx
cmpq %rax, %r14
jl LBB2_204
jmp LBB2_215
LBB2_213: ## in Loop: Header=BB2_204 Depth=2
xorl %ecx, %ecx
jmp LBB2_214
LBB2_315: ## in Loop: Header=BB2_9 Depth=1
movl $5, %esi
movl $1, %edx
leaq L_.str.43(%rip), %rdi
movq %r12, %rcx
callq _fwrite
LBB2_215: ## in Loop: Header=BB2_9 Depth=1
movl $3, %esi
movl $1, %edx
leaq L_.str.61(%rip), %rdi
movq %r12, %rcx
callq _fwrite
movl 1344(%r13), %eax
testl %eax, %eax
jle LBB2_230
## %bb.216: ## in Loop: Header=BB2_9 Depth=1
movq -64(%rbp), %rbx ## 8-byte Reload
xorl %r14d, %r14d
jmp LBB2_217
.p2align 4, 0x90
LBB2_229: ## in Loop: Header=BB2_217 Depth=2
incq %r14
movslq 1344(%r13), %rax
addq $40, %rbx
cmpq %rax, %r14
jge LBB2_230
LBB2_217: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rbx), %eax
cmpl $5, %eax
je LBB2_220
## %bb.218: ## in Loop: Header=BB2_217 Depth=2
cmpl $6, %eax
jne LBB2_229
## %bb.219: ## in Loop: Header=BB2_217 Depth=2
movq (%rbx), %rcx
movl 44(%r13), %r8d
movl 48(%r13), %r9d
movq %r12, %rdi
leaq L_.str.62(%rip), %rsi
movq %rcx, %rdx
xorl %eax, %eax
callq _fprintf
jmp LBB2_229
.p2align 4, 0x90
LBB2_220: ## in Loop: Header=BB2_217 Depth=2
movq (%rbx), %rdx
movq %r12, %rdi
leaq L_.str.63(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl 32(%rbx), %eax
testl %eax, %eax
js LBB2_221
## %bb.224: ## in Loop: Header=BB2_217 Depth=2
leaq (%rax,%rax,4), %rax
cmpl $0, 124(%r13,%rax,8)
leaq L_.str.34(%rip), %rdx
je LBB2_226
## %bb.225: ## in Loop: Header=BB2_217 Depth=2
leaq L_.str.67(%rip), %rdx
LBB2_226: ## in Loop: Header=BB2_217 Depth=2
movq (%rbx), %rcx
movq %r12, %rdi
leaq L_.str.66(%rip), %rsi
xorl %eax, %eax
callq _fprintf
cmpl $3, 24(%r13)
jne LBB2_229
jmp LBB2_228
LBB2_221: ## in Loop: Header=BB2_217 Depth=2
cmpl $0, 28(%rbx)
je LBB2_223
## %bb.222: ## in Loop: Header=BB2_217 Depth=2
movl $3, %esi
movl $1, %edx
leaq L_.str.64(%rip), %rdi
movq %r12, %rcx
callq _fwrite
cmpl $3, 24(%r13)
jne LBB2_229
jmp LBB2_228
LBB2_223: ## in Loop: Header=BB2_217 Depth=2
movq (%rbx), %rdx
movq %r12, %rdi
leaq L_.str.65(%rip), %rsi
xorl %eax, %eax
callq _fprintf
cmpl $3, 24(%r13)
jne LBB2_229
LBB2_228: ## in Loop: Header=BB2_217 Depth=2
movq (%rbx), %rdx
movq %r12, %rdi
leaq L_.str.68(%rip), %rsi
xorl %eax, %eax
callq _fprintf
jmp LBB2_229
LBB2_230: ## in Loop: Header=BB2_9 Depth=1
movl 96(%r13), %ecx
cmpl $1, %ecx
je LBB2_242
## %bb.231: ## in Loop: Header=BB2_9 Depth=1
cmpl %ecx, _datatypes(%rip)
jne LBB2_234
## %bb.232: ## in Loop: Header=BB2_9 Depth=1
xorl %eax, %eax
jmp LBB2_233
LBB2_234: ## in Loop: Header=BB2_9 Depth=1
movl $1, %eax
cmpl %ecx, _datatypes+24(%rip)
je LBB2_233
## %bb.235: ## in Loop: Header=BB2_9 Depth=1
movl $2, %eax
cmpl %ecx, _datatypes+48(%rip)
je LBB2_233
## %bb.236: ## in Loop: Header=BB2_9 Depth=1
movl $3, %eax
cmpl %ecx, _datatypes+72(%rip)
je LBB2_233
## %bb.237: ## in Loop: Header=BB2_9 Depth=1
movl $4, %eax
cmpl %ecx, _datatypes+96(%rip)
je LBB2_233
## %bb.238: ## in Loop: Header=BB2_9 Depth=1
movl $5, %eax
cmpl %ecx, _datatypes+120(%rip)
je LBB2_233
## %bb.239: ## in Loop: Header=BB2_9 Depth=1
movl $6, %eax
cmpl %ecx, _datatypes+144(%rip)
jne LBB2_240
LBB2_233: ## in Loop: Header=BB2_9 Depth=1
leaq (%rax,%rax,2), %rax
movq 8(%r15,%rax,8), %rdx
LBB2_241: ## in Loop: Header=BB2_9 Depth=1
movq %r12, %rdi
leaq L_.str.69(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl 1344(%r13), %eax
LBB2_242: ## in Loop: Header=BB2_9 Depth=1
testl %eax, %eax
leaq L_.str.70(%rip), %r15
jle LBB2_248
## %bb.243: ## in Loop: Header=BB2_9 Depth=1
movq -64(%rbp), %rbx ## 8-byte Reload
xorl %r14d, %r14d
jmp LBB2_244
.p2align 4, 0x90
LBB2_247: ## in Loop: Header=BB2_244 Depth=2
incq %r14
movslq %eax, %rcx
addq $40, %rbx
cmpq %rcx, %r14
jge LBB2_248
LBB2_244: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $5, 16(%rbx)
jne LBB2_247
## %bb.245: ## in Loop: Header=BB2_244 Depth=2
cmpl $3, 24(%r13)
jne LBB2_247
## %bb.246: ## in Loop: Header=BB2_244 Depth=2
movq (%rbx), %rdx
movq 8(%rbx), %rcx
movq %r12, %rdi
movq %r15, %rsi
movq %rdx, %r8
xorl %eax, %eax
callq _fprintf
movq (%rbx), %rcx
movq %r12, %rdi
leaq L_.str.71(%rip), %rsi
movq %rcx, %rdx
xorl %eax, %eax
callq _fprintf
movl 1344(%r13), %eax
jmp LBB2_247
LBB2_248: ## in Loop: Header=BB2_9 Depth=1
cmpl $1, 96(%r13)
leaq L_.str.73(%rip), %rdx
leaq L_.str.34(%rip), %rax
cmoveq %rax, %rdx
movq %r12, %rdi
leaq L_.str.72(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movq 88(%r13), %rbx
movb 1(%rbx), %al
testb %al, %al
leaq L_.str.74(%rip), %r15
je LBB2_254
## %bb.249: ## in Loop: Header=BB2_9 Depth=1
addq $2, %rbx
jmp LBB2_250
.p2align 4, 0x90
LBB2_252: ## in Loop: Header=BB2_250 Depth=2
callq ___toupper
LBB2_253: ## in Loop: Header=BB2_250 Depth=2
movl %eax, %edi
movq %r12, %rsi
callq _putc
movzbl (%rbx), %eax
incq %rbx
testb %al, %al
je LBB2_254
LBB2_250: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
movsbl %al, %edi
cmpl $0, 40(%r13)
je LBB2_252
## %bb.251: ## in Loop: Header=BB2_250 Depth=2
callq ___tolower
jmp LBB2_253
LBB2_254: ## in Loop: Header=BB2_9 Depth=1
movq 32(%r13), %rdi
movq %r12, %rsi
callq _fputs
movl $40, %edi
movq %r12, %rsi
callq _putc
cmpl $0, 1344(%r13)
jle LBB2_280
## %bb.255: ## in Loop: Header=BB2_9 Depth=1
movl 120(%r13), %eax
cmpl $6, %eax
je LBB2_264
## %bb.256: ## in Loop: Header=BB2_9 Depth=1
cmpl $5, %eax
jne LBB2_265
## %bb.257: ## in Loop: Header=BB2_9 Depth=1
movl 24(%r13), %eax
cmpl $2, %eax
je LBB2_261
## %bb.258: ## in Loop: Header=BB2_9 Depth=1
cmpl $3, %eax
jne LBB2_265
## %bb.259: ## in Loop: Header=BB2_9 Depth=1
movq 104(%r13), %rdx
movq %r12, %rdi
leaq L_.str.77(%rip), %rsi
jmp LBB2_260
LBB2_265: ## in Loop: Header=BB2_9 Depth=1
cmpl $0, 124(%r13)
leaq L_.str.76(%rip), %rdx
je LBB2_267
## %bb.266: ## in Loop: Header=BB2_9 Depth=1
movq 112(%r13), %rdx
LBB2_267: ## in Loop: Header=BB2_9 Depth=1
movq 104(%r13), %rcx
movq %r12, %rdi
leaq L_.str.78(%rip), %rsi
xorl %eax, %eax
callq _fprintf
jmp LBB2_268
LBB2_264: ## in Loop: Header=BB2_9 Depth=1
movq 104(%r13), %rdx
movq %r12, %rdi
movq %r15, %rsi
LBB2_260: ## in Loop: Header=BB2_9 Depth=1
xorl %eax, %eax
callq _fprintf
jmp LBB2_268
LBB2_261: ## in Loop: Header=BB2_9 Depth=1
cmpl $0, 124(%r13)
leaq L_.str.76(%rip), %rdx
je LBB2_263
## %bb.262: ## in Loop: Header=BB2_9 Depth=1
movq 112(%r13), %rdx
LBB2_263: ## in Loop: Header=BB2_9 Depth=1
movq 104(%r13), %rcx
movq %r12, %rdi
leaq L_.str.75(%rip), %rsi
movq %rcx, %r8
xorl %eax, %eax
callq _fprintf
LBB2_268: ## in Loop: Header=BB2_9 Depth=1
movl 1344(%r13), %eax
cmpl $2, %eax
jl LBB2_274
## %bb.269: ## in Loop: Header=BB2_9 Depth=1
movl $1, %r14d
movq -104(%rbp), %rbx ## 8-byte Reload
jmp LBB2_270
.p2align 4, 0x90
LBB2_298: ## in Loop: Header=BB2_270 Depth=2
movq (%rbx), %rcx
movq %r12, %rdi
leaq L_.str.78(%rip), %rsi
xorl %eax, %eax
callq _fprintf
LBB2_299: ## in Loop: Header=BB2_270 Depth=2
incq %r14
movslq 1344(%r13), %rax
addq $40, %rbx
cmpq %rax, %r14
jge LBB2_274
LBB2_270: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
movl $2, %esi
movl $1, %edx
leaq L_.str.48(%rip), %rdi
movq %r12, %rcx
callq _fwrite
movl 16(%rbx), %eax
cmpl $5, %eax
je LBB2_290
## %bb.271: ## in Loop: Header=BB2_270 Depth=2
cmpl $6, %eax
jne LBB2_296
## %bb.272: ## in Loop: Header=BB2_270 Depth=2
movq (%rbx), %rdx
movq %r12, %rdi
movq %r15, %rsi
jmp LBB2_273
.p2align 4, 0x90
LBB2_290: ## in Loop: Header=BB2_270 Depth=2
movl 24(%r13), %eax
cmpl $3, %eax
je LBB2_295
## %bb.291: ## in Loop: Header=BB2_270 Depth=2
cmpl $2, %eax
jne LBB2_296
## %bb.292: ## in Loop: Header=BB2_270 Depth=2
cmpl $0, 20(%rbx)
leaq L_.str.76(%rip), %rdx
je LBB2_294
## %bb.293: ## in Loop: Header=BB2_270 Depth=2
movq 8(%rbx), %rdx
LBB2_294: ## in Loop: Header=BB2_270 Depth=2
movq (%rbx), %rcx
movq %r12, %rdi
leaq L_.str.75(%rip), %rsi
movq %rcx, %r8
xorl %eax, %eax
callq _fprintf
jmp LBB2_299
.p2align 4, 0x90
LBB2_296: ## in Loop: Header=BB2_270 Depth=2
cmpl $0, 20(%rbx)
leaq L_.str.76(%rip), %rdx
je LBB2_298
## %bb.297: ## in Loop: Header=BB2_270 Depth=2
movq 8(%rbx), %rdx
jmp LBB2_298
LBB2_295: ## in Loop: Header=BB2_270 Depth=2
movq (%rbx), %rdx
movq %r12, %rdi
leaq L_.str.77(%rip), %rsi
LBB2_273: ## in Loop: Header=BB2_270 Depth=2
xorl %eax, %eax
callq _fprintf
jmp LBB2_299
LBB2_274: ## in Loop: Header=BB2_9 Depth=1
testl %eax, %eax
jle LBB2_280
## %bb.275: ## in Loop: Header=BB2_9 Depth=1
movq -96(%rbp), %rbx ## 8-byte Reload
xorl %r14d, %r14d
jmp LBB2_276
.p2align 4, 0x90
LBB2_279: ## in Loop: Header=BB2_276 Depth=2
incq %r14
movslq %eax, %rcx
addq $40, %rbx
cmpq %rcx, %r14
jge LBB2_280
LBB2_276: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $5, (%rbx)
jne LBB2_279
## %bb.277: ## in Loop: Header=BB2_276 Depth=2
movl 24(%r13), %ecx
andl $-2, %ecx
cmpl $2, %ecx
je LBB2_279
## %bb.278: ## in Loop: Header=BB2_276 Depth=2
movq -16(%rbx), %rdx
movq %r12, %rdi
leaq L_.str.79(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl 1344(%r13), %eax
jmp LBB2_279
LBB2_280: ## in Loop: Header=BB2_9 Depth=1
movl $3, %esi
movl $1, %edx
leaq L_.str.80(%rip), %rdi
movq %r12, %rcx
callq _fwrite
cmpl $0, 1344(%r13)
leaq L_.str.81(%rip), %r15
jle LBB2_304
## %bb.281: ## in Loop: Header=BB2_9 Depth=1
movq -112(%rbp), %rbx ## 8-byte Reload
xorl %r14d, %r14d
jmp LBB2_282
.p2align 4, 0x90
LBB2_289: ## in Loop: Header=BB2_282 Depth=2
movq -32(%rbx), %rcx
movq %r12, %rdi
movq %r15, %rsi
movq %rcx, %r9
xorl %eax, %eax
callq _fprintf
LBB2_303: ## in Loop: Header=BB2_282 Depth=2
incq %r14
movslq 1344(%r13), %rax
addq $40, %rbx
cmpq %rax, %r14
jge LBB2_304
LBB2_282: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbx), %eax
cmpl $6, %eax
je LBB2_300
## %bb.283: ## in Loop: Header=BB2_282 Depth=2
cmpl $5, %eax
jne LBB2_303
## %bb.284: ## in Loop: Header=BB2_282 Depth=2
movl (%rbx), %eax
testl %eax, %eax
js LBB2_303
## %bb.285: ## in Loop: Header=BB2_282 Depth=2
cmpl $0, -12(%rbx)
leaq L_.str.76(%rip), %rdx
je LBB2_287
## %bb.286: ## in Loop: Header=BB2_282 Depth=2
leaq L_.str.34(%rip), %rdx
LBB2_287: ## in Loop: Header=BB2_282 Depth=2
leaq (%rax,%rax,4), %rax
cmpl $0, 124(%r13,%rax,8)
leaq L_.str.34(%rip), %r8
je LBB2_289
## %bb.288: ## in Loop: Header=BB2_282 Depth=2
leaq L_.str.67(%rip), %r8
jmp LBB2_289
.p2align 4, 0x90
LBB2_300: ## in Loop: Header=BB2_282 Depth=2
cmpl $0, -12(%rbx)
je LBB2_303
## %bb.301: ## in Loop: Header=BB2_282 Depth=2
cmpl $0, -8(%rbx)
jne LBB2_303
## %bb.302: ## in Loop: Header=BB2_282 Depth=2
movq -32(%rbx), %rcx
movl 44(%r13), %r8d
movq %r12, %rdi
leaq L_.str.82(%rip), %rsi
movq %rcx, %rdx
xorl %eax, %eax
callq _fprintf
jmp LBB2_303
LBB2_304: ## in Loop: Header=BB2_9 Depth=1
cmpl $1, 96(%r13)
je LBB2_306
## %bb.305: ## in Loop: Header=BB2_9 Depth=1
movl $18, %esi
movl $1, %edx
leaq L_.str.83(%rip), %rdi
movq %r12, %rcx
callq _fwrite
LBB2_306: ## in Loop: Header=BB2_9 Depth=1
movl $2, %esi
movl $1, %edx
leaq L_.str.84(%rip), %rdi
movq %r12, %rcx
callq _fwrite
movq %r12, %rdi
callq _fclose
testl %eax, %eax
leaq L_.str.17(%rip), %rbx
je LBB2_9
jmp LBB2_307
LBB2_106: ## in Loop: Header=BB2_9 Depth=1
leal 1(%r15), %eax
movl %eax, 1344(%r13)
cmpl $31, %r15d
jb LBB2_65
jmp LBB2_107
LBB2_184: ## in Loop: Header=BB2_9 Depth=1
xorl %edx, %edx
jmp LBB2_185
LBB2_200: ## in Loop: Header=BB2_9 Depth=1
xorl %edx, %edx
jmp LBB2_201
LBB2_147: ## in Loop: Header=BB2_9 Depth=1
xorl %edx, %edx
jmp LBB2_148
LBB2_240: ## in Loop: Header=BB2_9 Depth=1
xorl %edx, %edx
jmp LBB2_241
LBB2_2:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %r14
leaq L_.str.14(%rip), %rbx
testq %r14, %r14
jne LBB2_5
LBB2_4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.15(%rip), %rsi
leaq L_.str.16(%rip), %rdx
movq %rbx, %rcx
LBB2_308:
xorl %eax, %eax
callq _fprintf
jmp LBB2_309
LBB2_40:
leaq L_.str.18(%rip), %rsi
xorl %r15d, %r15d
movq %r13, %rdi
xorl %edx, %edx
callq _lex_error
jmp LBB2_310
LBB2_71:
leaq L_.str.30(%rip), %rsi
LBB2_43:
movq %r12, %rdi
xorl %edx, %edx
callq _lex_error
LBB2_309:
movl $1, %r15d
LBB2_310:
movl %r15d, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_72:
leaq L_.str.31(%rip), %rsi
jmp LBB2_43
LBB2_42:
leaq L_.str.26(%rip), %rsi
jmp LBB2_43
LBB2_66:
testb %al, %al
jne LBB2_108
## %bb.67:
leaq L_.str.37(%rip), %rsi
jmp LBB2_46
LBB2_45:
leaq L_.str.27(%rip), %rsi
jmp LBB2_46
LBB2_48:
leaq L_.str.28(%rip), %rsi
jmp LBB2_43
LBB2_50:
leaq L_.str.29(%rip), %rsi
jmp LBB2_46
LBB2_97:
leaq L_.str.35(%rip), %rsi
jmp LBB2_43
LBB2_107:
leaq L_.str.36(%rip), %rsi
jmp LBB2_46
LBB2_108:
leaq L_.str.38(%rip), %rsi
jmp LBB2_46
LBB2_165:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.53(%rip), %rsi
leaq L_.str.16(%rip), %rdx
leaq _write_wrapper.buffer(%rip), %rcx
jmp LBB2_308
LBB2_307:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq 88(%r13), %rcx
leaq L_.str.85(%rip), %rsi
leaq L_.str.16(%rip), %rdx
jmp LBB2_308
LBB2_83:
leaq L_.str.33(%rip), %rsi
jmp LBB2_46
LBB2_81:
leaq L_.str.32(%rip), %rsi
LBB2_46:
movl $1, %r15d
movq %r12, %rdi
movl $1, %edx
callq _lex_error
jmp LBB2_310
LBB2_313:
leaq L_.str.39(%rip), %rsi
jmp LBB2_46
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function del_PGbind
_del_PGbind: ## @del_PGbind
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB3_8
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq 80(%rdi), %rcx
testq %rcx, %rcx
je LBB3_4
## %bb.2:
leaq L_.str.143(%rip), %rdi
movl $20, %esi
movl $1, %edx
callq _fwrite
movq 80(%rbx), %rcx
leaq L_.str.84(%rip), %rdi
movl $2, %esi
movl $1, %edx
callq _fwrite
movq 80(%rbx), %rcx
leaq L_.str.144(%rip), %rdi
movl $7, %esi
movl $1, %edx
callq _fwrite
movq 80(%rbx), %rcx
leaq L_.str.145(%rip), %rdi
movl $8, %esi
movl $1, %edx
callq _fwrite
movq 80(%rbx), %rdi
callq _fclose
testl %eax, %eax
je LBB3_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.146(%rip), %rsi
leaq L_.str.16(%rip), %rdx
xorl %eax, %eax
callq _fprintf
LBB3_4:
movq 8(%rbx), %rax
testq %rax, %rax
je LBB3_7
## %bb.5:
movq 544(%rax), %rdi
testq %rdi, %rdi
je LBB3_7
## %bb.6:
callq _fclose
LBB3_7:
movq $0, 8(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
LBB3_8:
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function lex_line
_lex_line: ## @lex_line
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
addq $256, %rdi ## imm = 0x100
movq 544(%rbx), %rdx
movl $256, %esi ## imm = 0x100
callq _fgets
testq %rax, %rax
je LBB4_6
## %bb.1:
movq %rax, %r14
movl 552(%rbx), %r15d
incl %r15d
movl %r15d, 552(%rbx)
movq %rax, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB4_3
## %bb.2:
movb $0, (%rax)
jmp LBB4_7
LBB4_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq 536(%rbx), %r8
leaq L_.str.19(%rip), %rsi
leaq L_.str.16(%rip), %rdx
movl %r15d, %ecx
xorl %eax, %eax
callq _fprintf
.p2align 4, 0x90
LBB4_4: ## =>This Inner Loop Header: Depth=1
movq 544(%rbx), %rdi
callq _getc
cmpl $10, %eax
je LBB4_6
## %bb.5: ## in Loop: Header=BB4_4 Depth=1
cmpl $-1, %eax
jne LBB4_4
LBB4_6:
xorl %r14d, %r14d
LBB4_7:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function lex_error
_lex_error: ## @lex_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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, %r13
xorl %eax, %eax
testl %edx, %edx
setne %al
movq 512(%rdi,%rax,8), %r12
movq %r12, %rax
subq %rdi, %rax
leaq -10(%r12), %r15
cmpq $11, %rax
cmovlq %rdi, %r15
subl %r15d, %r12d
movq ___stderrp@GOTPCREL(%rip), %r14
movq (%r14), %rax
movl 552(%rdi), %ecx
movq 536(%rdi), %r8
leaq L_.str.20(%rip), %rsi
leaq L_.str.16(%rip), %rbx
movq %rax, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq _fprintf
movq (%r14), %rdi
leaq L_.str.21(%rip), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _fprintf
movl %eax, %ebx
movq (%r14), %rdi
leaq L_.str.22(%rip), %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _fprintf
movq (%r14), %r15
addl %r12d, %ebx
testl %ebx, %ebx
jle LBB5_4
## %bb.1:
movq %r13, -48(%rbp) ## 8-byte Spill
leaq L_.str.24(%rip), %r12
leaq L_.str.25(%rip), %r13
.p2align 4, 0x90
LBB5_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r12, %rsi
movl %ebx, %edx
movq %r13, %rcx
xorl %eax, %eax
callq _fprintf
subl %eax, %ebx
jg LBB5_2
## %bb.3:
movq (%r14), %r15
movq -48(%rbp), %r13 ## 8-byte Reload
LBB5_4:
movl $94, %edi
movq %r15, %rsi
callq _putc
movq (%r14), %rdi
leaq L_.str.23(%rip), %rsi
movq %r13, %rdx
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _fprintf ## TAILCALL
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function read_type
_read_type: ## @read_type
.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, %r13
movq 520(%rdi), %rbx
movb (%rbx), %al
testb %al, %al
je LBB6_9
## %bb.1:
incq %rbx
movq __DefaultRuneLocale@GOTPCREL(%rip), %r14
movl $16384, %r15d ## imm = 0x4000
.p2align 4, 0x90
LBB6_2: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edi
testb %dil, %dil
js LBB6_4
## %bb.3: ## in Loop: Header=BB6_2 Depth=1
movl %edi, %eax
movl 60(%r14,%rax,4), %eax
andl %r15d, %eax
testl %eax, %eax
jne LBB6_7
jmp LBB6_6
.p2align 4, 0x90
LBB6_4: ## in Loop: Header=BB6_2 Depth=1
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
testl %eax, %eax
je LBB6_6
LBB6_7: ## in Loop: Header=BB6_2 Depth=1
movq %rbx, 520(%r13)
movzbl (%rbx), %eax
incq %rbx
testb %al, %al
jne LBB6_2
## %bb.8:
decq %rbx
jmp LBB6_9
LBB6_6:
movq 520(%r13), %rbx
LBB6_9:
movq %rbx, 512(%r13)
movb (%rbx), %r14b
movq %rbx, %r15
testb %r14b, %r14b
je LBB6_19
## %bb.10:
movq __DefaultRuneLocale@GOTPCREL(%rip), %rbx
movl $1280, %r12d ## imm = 0x500
jmp LBB6_11
.p2align 4, 0x90
LBB6_17: ## in Loop: Header=BB6_11 Depth=1
leaq 1(%rcx), %r15
movq %r15, 520(%r13)
movzbl 1(%rcx), %r14d
testb %r14b, %r14b
je LBB6_18
LBB6_11: ## =>This Inner Loop Header: Depth=1
movsbl %r14b, %edi
testb %dil, %dil
js LBB6_13
## %bb.12: ## in Loop: Header=BB6_11 Depth=1
movl %edi, %eax
movl 60(%rbx,%rax,4), %eax
andl %r12d, %eax
jmp LBB6_14
.p2align 4, 0x90
LBB6_13: ## in Loop: Header=BB6_11 Depth=1
movl $1280, %esi ## imm = 0x500
callq ___maskrune
LBB6_14: ## in Loop: Header=BB6_11 Depth=1
movq 520(%r13), %rcx
testl %eax, %eax
jne LBB6_17
## %bb.15: ## in Loop: Header=BB6_11 Depth=1
cmpb $95, %r14b
je LBB6_17
## %bb.16:
movq %rcx, %r15
LBB6_18:
movq 512(%r13), %rbx
LBB6_19:
movq %r13, -56(%rbp) ## 8-byte Spill
movl %r15d, %eax
movq %rbx, -64(%rbp) ## 8-byte Spill
subl %ebx, %eax
cltq
movq %rax, -48(%rbp) ## 8-byte Spill
leaq _datatypes+8(%rip), %r12
xorl %r14d, %r14d
.p2align 4, 0x90
LBB6_20: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rbx
movq %rbx, %rdi
callq _strlen
movl $0, %r13d
cmpq %rax, -48(%rbp) ## 8-byte Folded Reload
jne LBB6_23
## %bb.21: ## in Loop: Header=BB6_20 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
movq -48(%rbp), %rdx ## 8-byte Reload
callq _strncmp
movl $0, %r13d
testl %eax, %eax
jne LBB6_23
## %bb.22: ## in Loop: Header=BB6_20 Depth=1
movl -8(%r12), %r13d
.p2align 4, 0x90
LBB6_23: ## in Loop: Header=BB6_20 Depth=1
testl %r13d, %r13d
jne LBB6_24
## %bb.32: ## in Loop: Header=BB6_20 Depth=1
leaq 1(%r14), %rax
addq $24, %r12
cmpq $6, %r14
movq %rax, %r14
jb LBB6_20
LBB6_24:
movb (%r15), %al
testb %al, %al
je LBB6_31
## %bb.25:
incq %r15
movq __DefaultRuneLocale@GOTPCREL(%rip), %r14
movl $16384, %ebx ## imm = 0x4000
.p2align 4, 0x90
LBB6_26: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edi
testb %dil, %dil
js LBB6_28
## %bb.27: ## in Loop: Header=BB6_26 Depth=1
movl %edi, %eax
movl 60(%r14,%rax,4), %eax
andl %ebx, %eax
testl %eax, %eax
jne LBB6_30
jmp LBB6_31
.p2align 4, 0x90
LBB6_28: ## in Loop: Header=BB6_26 Depth=1
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
testl %eax, %eax
je LBB6_31
LBB6_30: ## in Loop: Header=BB6_26 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq %r15, 520(%rax)
movzbl (%r15), %eax
incq %r15
testb %al, %al
jne LBB6_26
LBB6_31:
movl %r13d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function read_name
_read_name: ## @read_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq 520(%rdi), %rbx
movb (%rbx), %al
testb %al, %al
je LBB7_9
## %bb.1:
incq %rbx
movq __DefaultRuneLocale@GOTPCREL(%rip), %r14
movl $16384, %r12d ## imm = 0x4000
.p2align 4, 0x90
LBB7_2: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edi
testb %dil, %dil
js LBB7_4
## %bb.3: ## in Loop: Header=BB7_2 Depth=1
movl %edi, %eax
movl 60(%r14,%rax,4), %eax
andl %r12d, %eax
testl %eax, %eax
jne LBB7_7
jmp LBB7_6
.p2align 4, 0x90
LBB7_4: ## in Loop: Header=BB7_2 Depth=1
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
testl %eax, %eax
je LBB7_6
LBB7_7: ## in Loop: Header=BB7_2 Depth=1
movq %rbx, 520(%r15)
movzbl (%rbx), %eax
incq %rbx
testb %al, %al
jne LBB7_2
## %bb.8:
decq %rbx
jmp LBB7_9
LBB7_6:
movq 520(%r15), %rbx
LBB7_9:
movq %rbx, 512(%r15)
movq 528(%r15), %r14
movb (%rbx), %bl
movq %r14, %rax
testb %bl, %bl
je LBB7_18
## %bb.10:
movq __DefaultRuneLocale@GOTPCREL(%rip), %r12
movl $1280, %r13d ## imm = 0x500
jmp LBB7_11
.p2align 4, 0x90
LBB7_16: ## in Loop: Header=BB7_11 Depth=1
movq 520(%r15), %rax
movq 528(%r15), %rcx
leaq 1(%rax), %rdx
movq %rdx, 520(%r15)
movzbl (%rax), %eax
leaq 1(%rcx), %rdx
movq %rdx, 528(%r15)
movb %al, (%rcx)
movq 520(%r15), %rax
movzbl (%rax), %ebx
testb %bl, %bl
je LBB7_17
LBB7_11: ## =>This Inner Loop Header: Depth=1
movsbl %bl, %edi
testb %dil, %dil
js LBB7_13
## %bb.12: ## in Loop: Header=BB7_11 Depth=1
movl %edi, %eax
movl 60(%r12,%rax,4), %eax
andl %r13d, %eax
testl %eax, %eax
je LBB7_15
jmp LBB7_16
.p2align 4, 0x90
LBB7_13: ## in Loop: Header=BB7_11 Depth=1
movl $1280, %esi ## imm = 0x500
callq ___maskrune
testl %eax, %eax
jne LBB7_16
LBB7_15: ## in Loop: Header=BB7_11 Depth=1
cmpb $95, %bl
je LBB7_16
LBB7_17:
movq 528(%r15), %rax
LBB7_18:
leaq 1(%rax), %rcx
movq %rcx, 528(%r15)
movb $0, (%rax)
movq 520(%r15), %rbx
movb (%rbx), %al
testb %al, %al
je LBB7_25
## %bb.19:
incq %rbx
movq __DefaultRuneLocale@GOTPCREL(%rip), %r12
movl $16384, %r13d ## imm = 0x4000
.p2align 4, 0x90
LBB7_20: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edi
testb %dil, %dil
js LBB7_22
## %bb.21: ## in Loop: Header=BB7_20 Depth=1
movl %edi, %eax
movl 60(%r12,%rax,4), %eax
andl %r13d, %eax
testl %eax, %eax
jne LBB7_24
jmp LBB7_25
.p2align 4, 0x90
LBB7_22: ## in Loop: Header=BB7_20 Depth=1
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
testl %eax, %eax
je LBB7_25
LBB7_24: ## in Loop: Header=BB7_20 Depth=1
movq %rbx, 520(%r15)
movzbl (%rbx), %eax
incq %rbx
testb %al, %al
jne LBB7_20
LBB7_25:
xorl %eax, %eax
cmpb $0, (%r14)
cmovneq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function wrap_line
_wrap_line: ## @wrap_line
.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 %edx, %r15d
movq %rdi, -56(%rbp) ## 8-byte Spill
cmpl $76, %ecx
movl $7, %ebx
cmovll %ecx, %ebx
cmpb $0, (%rsi)
je LBB8_29
## %bb.1:
movq %rsi, %r14
leaq L_.str.24(%rip), %r13
movl %ebx, -44(%rbp) ## 4-byte Spill
jmp LBB8_2
.p2align 4, 0x90
LBB8_26: ## in Loop: Header=BB8_2 Depth=1
movq %rbx, %rdi
callq _strlen
movq %rax, %rdx
LBB8_27: ## in Loop: Header=BB8_2 Depth=1
movslq %edx, %r13
leaq (%rbx,%r13), %r14
cmpb $0, (%rbx,%r13)
leaq L_.str.98(%rip), %r8
leaq L_.str.34(%rip), %rax
cmoveq %rax, %r8
xorl %r15d, %r15d
movq -56(%rbp), %rdi ## 8-byte Reload
leaq L_.str.129(%rip), %rsi
movq %rdx, %r12
movl %r13d, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq _fprintf
cmpb $0, (%rbx,%r13)
movl -44(%rbp), %ebx ## 4-byte Reload
leaq L_.str.24(%rip), %r13
je LBB8_28
LBB8_2: ## =>This Loop Header: Depth=1
## Child Loop BB8_7 Depth 2
## Child Loop BB8_10 Depth 2
## Child Loop BB8_16 Depth 2
testl %ebx, %ebx
jle LBB8_3
## %bb.4: ## in Loop: Header=BB8_2 Depth=1
movl %r15d, %eax
subl %r15d, %ebx
jle LBB8_9
## %bb.5: ## in Loop: Header=BB8_2 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
jle LBB8_9
## %bb.6: ## in Loop: Header=BB8_2 Depth=1
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %r15
leaq L_.str.25(%rip), %r12
.p2align 4, 0x90
LBB8_7: ## Parent Loop BB8_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
movq %r13, %rsi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq _fprintf
subl %eax, %ebx
jg LBB8_7
## %bb.8: ## in Loop: Header=BB8_2 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
jmp LBB8_9
.p2align 4, 0x90
LBB8_3: ## in Loop: Header=BB8_2 Depth=1
movl %r15d, %eax
LBB8_9: ## in Loop: Header=BB8_2 Depth=1
movl %eax, -48(%rbp) ## 4-byte Spill
leaq -1(%r14), %rbx
incq %r14
movq __DefaultRuneLocale@GOTPCREL(%rip), %r12
movl $16384, %r13d ## imm = 0x4000
jmp LBB8_10
.p2align 4, 0x90
LBB8_12: ## in Loop: Header=BB8_10 Depth=2
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
LBB8_13: ## in Loop: Header=BB8_10 Depth=2
incq %rbx
leaq 1(%r15), %r14
testl %eax, %eax
je LBB8_14
LBB8_10: ## Parent Loop BB8_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %r15
movsbl 1(%rbx), %edi
testl %edi, %edi
js LBB8_12
## %bb.11: ## in Loop: Header=BB8_10 Depth=2
movl %edi, %eax
movl 60(%r12,%rax,4), %eax
andl %r13d, %eax
jmp LBB8_13
.p2align 4, 0x90
LBB8_14: ## in Loop: Header=BB8_2 Depth=1
movb (%rbx), %r12b
testb %r12b, %r12b
je LBB8_26
## %bb.15: ## in Loop: Header=BB8_2 Depth=1
movl $75, %eax
subl -48(%rbp), %eax ## 4-byte Folded Reload
movslq %eax, %rsi
movl $-1, %edx
xorl %r14d, %r14d
movq %rsi, -64(%rbp) ## 8-byte Spill
jmp LBB8_16
.p2align 4, 0x90
LBB8_23: ## in Loop: Header=BB8_16 Depth=2
incq %r14
movzbl (%r15), %r12d
incq %r15
testb %r12b, %r12b
je LBB8_24
LBB8_16: ## Parent Loop BB8_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rsi, %r14
jl LBB8_18
## %bb.17: ## in Loop: Header=BB8_16 Depth=2
testl %edx, %edx
jns LBB8_25
LBB8_18: ## in Loop: Header=BB8_16 Depth=2
movsbl %r12b, %edi
testb %dil, %dil
js LBB8_20
## %bb.19: ## in Loop: Header=BB8_16 Depth=2
movl %edi, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
testl %eax, %eax
jne LBB8_22
jmp LBB8_23
.p2align 4, 0x90
LBB8_20: ## in Loop: Header=BB8_16 Depth=2
movl $16384, %esi ## imm = 0x4000
movq %rdx, %r13
callq ___maskrune
movq -64(%rbp), %rsi ## 8-byte Reload
movq %r13, %rdx
testl %eax, %eax
je LBB8_23
LBB8_22: ## in Loop: Header=BB8_16 Depth=2
movl %r14d, %edx
cmpb $10, %r12b
jne LBB8_23
jmp LBB8_25
.p2align 4, 0x90
LBB8_24: ## in Loop: Header=BB8_2 Depth=1
testl %edx, %edx
js LBB8_26
LBB8_25: ## in Loop: Header=BB8_2 Depth=1
movl %r14d, %eax
cmpb $0, (%rbx,%rax)
jne LBB8_27
jmp LBB8_26
LBB8_28:
addl -48(%rbp), %r12d ## 4-byte Folded Reload
movl %r12d, %r15d
LBB8_29:
movl %r15d, %eax
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 "void"
L_.str.1: ## @.str.1
.asciz "(void *)"
L_.str.2: ## @.str.2
.asciz "int"
L_.str.3: ## @.str.3
.asciz "(int *)"
L_.str.4: ## @.str.4
.asciz "float"
L_.str.5: ## @.str.5
.asciz "(float *)"
L_.str.6: ## @.str.6
.asciz "double"
L_.str.7: ## @.str.7
.asciz "(double *)"
L_.str.8: ## @.str.8
.asciz "char"
L_.str.9: ## @.str.9
.asciz "(char *)"
L_.str.10: ## @.str.10
.asciz "Logical"
L_.str.11: ## @.str.11
.asciz "(Logical *)"
L_.str.12: ## @.str.12
.asciz "const"
.section __DATA,__data
.globl _datatypes ## @datatypes
.p2align 4
_datatypes:
.long 1 ## 0x1
.space 4
.quad L_.str
.quad L_.str.1
.long 2 ## 0x2
.space 4
.quad L_.str.2
.quad L_.str.3
.long 3 ## 0x3
.space 4
.quad L_.str.4
.quad L_.str.5
.long 4 ## 0x4
.space 4
.quad L_.str.6
.quad L_.str.7
.long 5 ## 0x5
.space 4
.quad L_.str.8
.quad L_.str.9
.long 6 ## 0x6
.space 4
.quad L_.str.10
.quad L_.str.11
.long 7 ## 0x7
.space 4
.quad L_.str.12
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.13: ## @.str.13
.asciz "r"
L_.str.14: ## @.str.14
.asciz "(stdin)"
L_.str.15: ## @.str.15
.asciz "%s: Error opening: %s\n"
L_.str.16: ## @.str.16
.asciz "pgbind"
L_.str.17: ## @.str.17
.asciz "C%"
L_.str.18: ## @.str.18
.asciz "Prototype too long"
L_.str.19: ## @.str.19
.asciz "%s: Line %d of file %s is too long.\n"
L_.str.20: ## @.str.20
.asciz "%s: Error on line %d of file: %s\n"
L_.str.21: ## @.str.21
.asciz "%s: "
L_.str.22: ## @.str.22
.asciz "%.20s...\n"
L_.str.23: ## @.str.23
.asciz "%s.\n"
L_.str.24: ## @.str.24
.asciz "%.*s"
L_.str.25: ## @.str.25
.asciz " "
L_.str.26: ## @.str.26
.asciz "Bad function return type"
L_.str.27: ## @.str.27
.asciz "Pointer return types not allowed"
L_.str.28: ## @.str.28
.asciz "Bad function name"
L_.str.29: ## @.str.29
.asciz "Expected '(' here"
L_.str.30: ## @.str.30
.asciz "Unrecognised data-type"
L_.str.31: ## @.str.31
.asciz "void data-type illegal in this context"
L_.str.32: ## @.str.32
.asciz "Pointer to pointer not allowed"
L_.str.33: ## @.str.33
.asciz "Pointless const qualifier to pass-by-value argument.\n"
L_.str.34: ## @.str.34
.space 1
L_.str.35: ## @.str.35
.asciz "Bad argument name"
L_.str.36: ## @.str.36
.asciz "Too many arguments"
L_.str.37: ## @.str.37
.asciz "Incomplete argument list"
L_.str.38: ## @.str.38
.asciz "Unexpected character"
L_.str.39: ## @.str.39
.asciz "Unexpected character follows prototype"
L_.str.40: ## @.str.40
.asciz "_scalar"
L_.str.41: ## @.str.41
.asciz "_length"
L_.str.42: ## @.str.42
.asciz "%s %s("
L_.str.43: ## @.str.43
.asciz "void)"
L_.str.44: ## @.str.44
.asciz "%s%s%s%s%s"
L_.str.45: ## @.str.45
.asciz "const "
L_.str.46: ## @.str.46
.asciz " *"
L_.str.47: ## @.str.47
.asciz " "
L_.str.48: ## @.str.48
.asciz ", "
L_.str.49: ## @.str.49
.asciz ")"
L_.str.50: ## @.str.50
.asciz ";\n"
.zerofill __DATA,__bss,_write_wrapper.buffer,256,4 ## @write_wrapper.buffer
L_.str.51: ## @.str.51
.asciz "%s.c"
L_.str.52: ## @.str.52
.asciz "w"
L_.str.53: ## @.str.53
.asciz "%s: Can't open output wrapper file: %s\n"
L_.str.54: ## @.str.54
.asciz "#include \"cpgplot.h\"\n"
L_.str.55: ## @.str.55
.asciz "#include <string.h>\n"
L_.str.56: ## @.str.56
.asciz "#include <fortran.h>\n"
L_.str.57: ## @.str.57
.asciz "#include <descrip.h>\n"
L_.str.58: ## @.str.58
.asciz "%s "
L_.str.59: ## @.str.59
.asciz "();\n"
L_.str.60: ## @.str.60
.asciz "\n%s %s("
L_.str.61: ## @.str.61
.asciz "\n{\n"
L_.str.62: ## @.str.62
.asciz " int l_%s = %s ? %d:%d;\n"
L_.str.63: ## @.str.63
.asciz " int len_%s = "
L_.str.64: ## @.str.64
.asciz "1;\n"
L_.str.65: ## @.str.65
.asciz "strlen(%s);\n"
L_.str.66: ## @.str.66
.asciz "--(%s%s_length);\n"
L_.str.67: ## @.str.67
.asciz "*"
L_.str.68: ## @.str.68
.asciz " struct dsc$descriptor_s dsc_%s = {0, DSC$K_DTYPE_T, DSC$K_CLASS_S, 0};\n"
L_.str.69: ## @.str.69
.asciz " %s r_value;\n"
L_.str.70: ## @.str.70
.asciz " dsc_%s.dsc$a_pointer = %s%s;\n"
L_.str.71: ## @.str.71
.asciz " dsc_%s.dsc$w_length = len_%s;\n"
L_.str.72: ## @.str.72
.asciz " %s"
L_.str.73: ## @.str.73
.asciz "r_value = "
L_.str.74: ## @.str.74
.asciz "&l_%s"
L_.str.75: ## @.str.75
.asciz "_cptofcd(%s%s, len_%s)"
L_.str.76: ## @.str.76
.asciz "&"
L_.str.77: ## @.str.77
.asciz "&dsc_%s"
L_.str.78: ## @.str.78
.asciz "%s%s"
L_.str.79: ## @.str.79
.asciz ", len_%s"
L_.str.80: ## @.str.80
.asciz ");\n"
L_.str.81: ## @.str.81
.asciz " %s%s[%s%s_length] = '\\0';\n"
L_.str.82: ## @.str.82
.asciz " *%s = l_%s==%d ? 1:0;"
L_.str.83: ## @.str.83
.asciz " return r_value;\n"
L_.str.84: ## @.str.84
.asciz "}\n"
L_.str.85: ## @.str.85
.asciz "%s: Error closing wrapper file: %s.c\n"
L_.str.87: ## @.str.87
.asciz "Usage: %s template"
L_.str.88: ## @.str.88
.asciz " [%s %s]"
.section __DATA,__const
.p2align 4 ## @options
_options:
.long 1 ## 0x1
.space 4
.quad L_.str.107
.quad L_.str.34
.quad L_.str.108
.long 2 ## 0x2
.space 4
.quad L_.str.109
.quad L_.str.34
.quad L_.str.110
.long 3 ## 0x3
.space 4
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.long 4 ## 0x4
.space 4
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.long 5 ## 0x5
.space 4
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.long 6 ## 0x6
.space 4
.quad L_.str.120
.quad L_.str.118
.quad L_.str.121
.section __TEXT,__cstring,cstring_literals
L_.str.89: ## @.str.89
.asciz " [files]\n"
L_.str.90: ## @.str.90
.asciz "\n Where template must be one of:\n"
.section __DATA,__const
.p2align 4 ## @systable
_systable:
.quad L_.str.122
.long 1 ## 0x1
.space 4
.quad L_.str.123
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.space 4
.quad L_.str.124
.quad L_.str.125
.long 2 ## 0x2
.space 4
.quad L_.str.34
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.space 4
.quad L_.str.126
.quad L_.str.127
.long 3 ## 0x3
.space 4
.quad L_.str.34
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.long 0 ## 0x0
.space 4
.quad L_.str.128
.section __TEXT,__cstring,cstring_literals
L_.str.91: ## @.str.91
.asciz " %-10s "
L_.str.92: ## @.str.92
.asciz "Default options: "
L_.str.93: ## @.str.93
.asciz " %s \"%s\""
L_.str.94: ## @.str.94
.asciz " %s %s"
L_.str.95: ## @.str.95
.asciz "lower"
L_.str.96: ## @.str.96
.asciz "upper"
L_.str.97: ## @.str.97
.asciz " %s %d"
L_.str.98: ## @.str.98
.asciz "\n"
L_.str.99: ## @.str.99
.asciz "\n Options:\n"
L_.str.100: ## @.str.100
.asciz " %-8s %-12s "
L_.str.101: ## @.str.101
.asciz "\nPrototype input files:\n"
L_.str.102: ## @.str.102
.asciz " files "
L_.str.103: ## @.str.103
.asciz "Each file can contain zero or more C prototypes. "
L_.str.104: ## @.str.104
.asciz "Each prototype consists of one or more lines, each line marked with C% in columns 1-2. "
L_.str.105: ## @.str.105
.asciz "Continuation lines are heralded by a '\\' character at the end of the line being continued.\n"
L_.str.106: ## @.str.106
.asciz "If no files are specified, standard input is read."
L_.str.107: ## @.str.107
.asciz "-w"
L_.str.108: ## @.str.108
.asciz "Write wrapper files."
L_.str.109: ## @.str.109
.asciz "-h"
L_.str.110: ## @.str.110
.asciz "Write a new wrapper-library header file."
L_.str.111: ## @.str.111
.asciz "-suffix"
L_.str.112: ## @.str.112
.asciz "string"
L_.str.113: ## @.str.113
.asciz "The suffix appended to FORTRAN symbols by the linker."
L_.str.114: ## @.str.114
.asciz "-case"
L_.str.115: ## @.str.115
.asciz "upper|lower"
L_.str.116: ## @.str.116
.asciz "The typographical case given to FORTRAN symbols by the linker."
L_.str.117: ## @.str.117
.asciz "-false"
L_.str.118: ## @.str.118
.asciz "integer"
L_.str.119: ## @.str.119
.asciz "The numerical value of FORTRAN .FALSE."
L_.str.120: ## @.str.120
.asciz "-true"
L_.str.121: ## @.str.121
.asciz "The numerical value of FORTRAN .TRUE."
L_.str.122: ## @.str.122
.asciz "bsd"
L_.str.123: ## @.str.123
.asciz "_"
L_.str.124: ## @.str.124
.asciz "BSD f77 template. C string pointers are passed directly, but the length of each string is appended as an extra argument to the FORTRAN procedure call."
L_.str.125: ## @.str.125
.asciz "cray2"
L_.str.126: ## @.str.126
.asciz "Cray-2 FORTRAN template. C string pointers and lengths are combined into a single argument with the Cray fortran.h _cptofcd(pointer,length) macro."
L_.str.127: ## @.str.127
.asciz "vms"
L_.str.128: ## @.str.128
.asciz "VMS FORTRAN template. C strings are passed via FORTRAN string descriptors."
L_.str.129: ## @.str.129
.asciz "%.*s%s"
L_.str.130: ## @.str.130
.asciz "%s: Insufficient memory.\n"
L_.str.131: ## @.str.131
.asciz "cpgplot.h"
L_.str.132: ## @.str.132
.asciz "%s: Unrecognised template name: %s\n"
L_.str.133: ## @.str.133
.asciz "%s: Missing argument to the %s option.\n"
L_.str.134: ## @.str.134
.asciz "%s: Invalid combination: \"%s %s\"\n"
L_.str.135: ## @.str.135
.asciz "%s: The argument of %s must be a number.\n"
L_.str.136: ## @.str.136
.asciz "%s: Unrecognised \"%s\" option.\n"
L_.str.137: ## @.str.137
.asciz "%s: Unable to open header file: %s\n"
L_.str.138: ## @.str.138
.asciz "#ifndef cpgplot_h\n#define cpgplot_h\n\n"
L_.str.139: ## @.str.139
.asciz "#ifdef __cplusplus\n"
L_.str.140: ## @.str.140
.asciz "extern \"C\" {\n"
L_.str.141: ## @.str.141
.asciz "#endif\n\n"
L_.str.142: ## @.str.142
.asciz "typedef int Logical;\n\n"
L_.str.143: ## @.str.143
.asciz "\n#ifdef __cplusplus\n"
L_.str.144: ## @.str.144
.asciz "#endif\n"
L_.str.145: ## @.str.145
.asciz "\n#endif\n"
L_.str.146: ## @.str.146
.asciz "%s: Error closing header file.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI0_0:
.long 0 ; 0x0
.long 1 ; 0x1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
cmp w0, #2
b.lt LBB0_51
; %bb.1:
mov x20, x1
mov x21, x0
mov w0, #1352
bl _malloc
cbnz x0, LBB0_3
; %bb.2:
Lloh0:
adrp x8, ___stderrp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
Lloh3:
adrp x8, l_.str.16@PAGE
Lloh4:
add x8, x8, l_.str.16@PAGEOFF
str x8, [sp]
Lloh5:
adrp x1, l_.str.130@PAGE
Lloh6:
add x1, x1, l_.str.130@PAGEOFF
bl _fprintf
b LBB0_51
LBB0_3:
mov x19, x0
Lloh7:
adrp x8, l_.str.34@PAGE
Lloh8:
add x8, x8, l_.str.34@PAGEOFF
stp x8, xzr, [x0, #56]
mov x23, x0
str x8, [x23, #16]!
stp xzr, xzr, [x0]
str wzr, [x0, #24]
str x8, [x0, #32]
Lloh9:
adrp x8, lCPI0_0@PAGE
Lloh10:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [x0, #40]
str wzr, [x0, #48]
Lloh11:
adrp x8, l_.str.131@PAGE
Lloh12:
add x8, x8, l_.str.131@PAGEOFF
stp x8, xzr, [x0, #72]
ldr x22, [x20, #8]
Lloh13:
adrp x0, l_.str.122@PAGE
Lloh14:
add x0, x0, l_.str.122@PAGEOFF
mov x1, x22
bl _strcmp
cbnz w0, LBB0_5
; %bb.4:
Lloh15:
adrp x8, _systable@PAGE
Lloh16:
add x8, x8, _systable@PAGEOFF
b LBB0_9
LBB0_5:
Lloh17:
adrp x0, l_.str.125@PAGE
Lloh18:
add x0, x0, l_.str.125@PAGEOFF
mov x1, x22
bl _strcmp
cbnz w0, LBB0_7
; %bb.6:
Lloh19:
adrp x8, _systable@PAGE+48
Lloh20:
add x8, x8, _systable@PAGEOFF+48
b LBB0_9
LBB0_7:
Lloh21:
adrp x0, l_.str.127@PAGE
Lloh22:
add x0, x0, l_.str.127@PAGEOFF
mov x1, x22
bl _strcmp
cbnz w0, LBB0_10
; %bb.8:
Lloh23:
adrp x8, _systable@PAGE+96
Lloh24:
add x8, x8, _systable@PAGEOFF+96
LBB0_9:
ldp q0, q1, [x8]
stp q0, q1, [x23]
ldr q0, [x8, #32]
str q0, [x23, #32]
ldr w8, [x19, #24]
cbnz w8, LBB0_12
LBB0_10:
Lloh25:
adrp x8, ___stderrp@GOTPAGE
Lloh26:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh27:
ldr x0, [x8]
Lloh28:
adrp x8, l_.str.16@PAGE
Lloh29:
add x8, x8, l_.str.16@PAGEOFF
stp x8, x22, [sp]
Lloh30:
adrp x1, l_.str.132@PAGE
Lloh31:
add x1, x1, l_.str.132@PAGEOFF
LBB0_11:
bl _fprintf
b LBB0_49
LBB0_12:
cmp w21, #3
b.lo LBB0_46
; %bb.13:
stp w21, wzr, [sp, #32] ; 8-byte Folded Spill
mov w28, #2
Lloh32:
adrp x22, l_.str.107@PAGE
Lloh33:
add x22, x22, l_.str.107@PAGEOFF
Lloh34:
adrp x27, _options@PAGE
Lloh35:
add x27, x27, _options@PAGEOFF
Lloh36:
adrp x26, lJTI0_0@PAGE
Lloh37:
add x26, x26, lJTI0_0@PAGEOFF
Lloh38:
adrp x25, l_.str.109@PAGE
Lloh39:
add x25, x25, l_.str.109@PAGEOFF
Lloh40:
adrp x23, l_.str.111@PAGE
Lloh41:
add x23, x23, l_.str.111@PAGEOFF
; kill: def $w28 killed $w28 killed $x28 def $x28
b LBB0_16
LBB0_14: ; in Loop: Header=BB0_16 Depth=1
mov w8, #1
str w8, [x19, #68]
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
add w28, w28, #1
cmp w28, w21
b.ge LBB0_47
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr x24, [x20, w28, sxtw #3]
ldrb w8, [x24]
cmp w8, #45
b.ne LBB0_47
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
mov x0, x22
mov x1, x24
bl _strcmp
cbz w0, LBB0_24
; %bb.18: ; in Loop: Header=BB0_16 Depth=1
mov x0, x25
mov x1, x24
bl _strcmp
cbz w0, LBB0_25
; %bb.19: ; in Loop: Header=BB0_16 Depth=1
mov x0, x23
mov x1, x24
bl _strcmp
cbz w0, LBB0_26
; %bb.20: ; in Loop: Header=BB0_16 Depth=1
Lloh42:
adrp x0, l_.str.114@PAGE
Lloh43:
add x0, x0, l_.str.114@PAGEOFF
mov x1, x24
bl _strcmp
cbz w0, LBB0_27
; %bb.21: ; in Loop: Header=BB0_16 Depth=1
Lloh44:
adrp x0, l_.str.117@PAGE
Lloh45:
add x0, x0, l_.str.117@PAGEOFF
mov x1, x24
bl _strcmp
cbz w0, LBB0_28
; %bb.22: ; in Loop: Header=BB0_16 Depth=1
Lloh46:
adrp x0, l_.str.120@PAGE
Lloh47:
add x0, x0, l_.str.120@PAGEOFF
mov x1, x24
bl _strcmp
cbnz w0, LBB0_65
; %bb.23: ; in Loop: Header=BB0_16 Depth=1
mov w8, #5
b LBB0_29
LBB0_24: ; in Loop: Header=BB0_16 Depth=1
mov x8, #0
b LBB0_29
LBB0_25: ; in Loop: Header=BB0_16 Depth=1
mov w8, #1
b LBB0_29
LBB0_26: ; in Loop: Header=BB0_16 Depth=1
mov w8, #2
b LBB0_29
LBB0_27: ; in Loop: Header=BB0_16 Depth=1
mov w8, #3
b LBB0_29
LBB0_28: ; in Loop: Header=BB0_16 Depth=1
mov w8, #4
LBB0_29: ; in Loop: Header=BB0_16 Depth=1
lsl x8, x8, #5
ldr w8, [x27, x8]
sub w9, w8, #1
cmp w9, #5
b.hi LBB0_65
; %bb.30: ; in Loop: Header=BB0_16 Depth=1
mov x8, x28
sxtw x8, w8
adr x10, LBB0_14
ldrb w11, [x26, x9]
add x10, x10, x11, lsl #2
br x10
LBB0_31: ; in Loop: Header=BB0_16 Depth=1
mov w9, #1
mov w8, #1
str w8, [sp, #36] ; 4-byte Folded Spill
str w9, [x19, #64]
b LBB0_15
LBB0_32: ; in Loop: Header=BB0_16 Depth=1
add x28, x8, #1
cmp w28, w21
b.ge LBB0_55
; %bb.33: ; in Loop: Header=BB0_16 Depth=1
ldr x8, [x20, x28, lsl #3]
str x8, [x19, #32]
b LBB0_15
LBB0_34: ; in Loop: Header=BB0_16 Depth=1
add x28, x8, #1
cmp w28, w21
b.ge LBB0_55
; %bb.35: ; in Loop: Header=BB0_16 Depth=1
mov x8, x20
mov x20, x19
mov x19, x26
mov x26, x27
mov x27, x25
mov x25, x23
mov x21, x8
ldr x23, [x8, x28, lsl #3]
mov x0, x23
Lloh48:
adrp x1, l_.str.96@PAGE
Lloh49:
add x1, x1, l_.str.96@PAGEOFF
bl _strcmp
cbz w0, LBB0_44
; %bb.36: ; in Loop: Header=BB0_16 Depth=1
mov x0, x23
Lloh50:
adrp x1, l_.str.95@PAGE
Lloh51:
add x1, x1, l_.str.95@PAGEOFF
bl _strcmp
cbnz w0, LBB0_66
; %bb.37: ; in Loop: Header=BB0_16 Depth=1
mov w8, #1
str w8, [x20, #40]
b LBB0_45
LBB0_38: ; in Loop: Header=BB0_16 Depth=1
add x28, x8, #1
cmp w28, w21
b.ge LBB0_55
; %bb.39: ; in Loop: Header=BB0_16 Depth=1
ldr x0, [x20, x28, lsl #3]
add x1, sp, #40
mov w2, #0
bl _strtol
str w0, [x19, #48]
b LBB0_42
LBB0_40: ; in Loop: Header=BB0_16 Depth=1
add x28, x8, #1
cmp w28, w21
b.ge LBB0_55
; %bb.41: ; in Loop: Header=BB0_16 Depth=1
ldr x0, [x20, x28, lsl #3]
add x1, sp, #40
mov w2, #0
bl _strtol
str w0, [x19, #44]
LBB0_42: ; in Loop: Header=BB0_16 Depth=1
ldr x8, [sp, #40]
ldrb w8, [x8]
cbnz w8, LBB0_64
; %bb.43: ; in Loop: Header=BB0_16 Depth=1
; kill: def $w28 killed $w28 killed $x28 def $x28
b LBB0_15
LBB0_44: ; in Loop: Header=BB0_16 Depth=1
str wzr, [x20, #40]
LBB0_45: ; in Loop: Header=BB0_16 Depth=1
; kill: def $w28 killed $w28 killed $x28 def $x28
mov x23, x25
mov x25, x27
mov x27, x26
mov x26, x19
mov x19, x20
mov x20, x21
ldr w21, [sp, #32] ; 4-byte Folded Reload
b LBB0_15
LBB0_46:
str wzr, [sp, #36] ; 4-byte Folded Spill
mov w28, #2
LBB0_47:
add x20, x20, w28, sxtw #3
str x20, [x19]
mov w0, #560
bl _malloc
cbnz x0, LBB0_52
; %bb.48:
Lloh52:
adrp x8, ___stderrp@GOTPAGE
Lloh53:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh54:
ldr x0, [x8]
Lloh55:
adrp x8, l_.str.16@PAGE
Lloh56:
add x8, x8, l_.str.16@PAGEOFF
str x8, [sp]
Lloh57:
adrp x1, l_.str.130@PAGE
Lloh58:
add x1, x1, l_.str.130@PAGEOFF
bl _fprintf
str xzr, [x19, #8]
LBB0_49:
mov x0, x19
LBB0_50:
bl _del_PGbind
LBB0_51:
bl _usage
mov w0, #1
bl _exit
LBB0_52:
strb wzr, [x0]
add x8, x0, #256
strb wzr, [x0, #256]
str x0, [x0, #520]
str x0, [x0, #512]
str x8, [x0, #528]
Lloh59:
adrp x8, ___stdinp@GOTPAGE
Lloh60:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh61:
ldr x8, [x8]
str x8, [x0, #544]
Lloh62:
adrp x8, l_.str.14@PAGE
Lloh63:
add x8, x8, l_.str.14@PAGEOFF
str x8, [x0, #536]
str x0, [x19, #8]
ldr w8, [sp, #36] ; 4-byte Folded Reload
cbz w8, LBB0_57
; %bb.53:
Lloh64:
adrp x20, l_.str.131@PAGE
Lloh65:
add x20, x20, l_.str.131@PAGEOFF
Lloh66:
adrp x1, l_.str.52@PAGE
Lloh67:
add x1, x1, l_.str.52@PAGEOFF
mov x0, x20
bl _fopen
str x0, [x19, #80]
cbnz x0, LBB0_56
; %bb.54:
Lloh68:
adrp x8, ___stderrp@GOTPAGE
Lloh69:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh70:
ldr x0, [x8]
Lloh71:
adrp x8, l_.str.16@PAGE
Lloh72:
add x8, x8, l_.str.16@PAGEOFF
stp x8, x20, [sp]
Lloh73:
adrp x1, l_.str.137@PAGE
Lloh74:
add x1, x1, l_.str.137@PAGEOFF
b LBB0_11
LBB0_55:
Lloh75:
adrp x8, ___stderrp@GOTPAGE
Lloh76:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh77:
ldr x0, [x8]
Lloh78:
adrp x8, l_.str.16@PAGE
Lloh79:
add x8, x8, l_.str.16@PAGEOFF
stp x8, x24, [sp]
Lloh80:
adrp x1, l_.str.133@PAGE
Lloh81:
add x1, x1, l_.str.133@PAGEOFF
b LBB0_11
LBB0_56:
mov x3, x0
Lloh82:
adrp x0, l_.str.138@PAGE
Lloh83:
add x0, x0, l_.str.138@PAGEOFF
mov w1, #37
mov w2, #1
bl _fwrite
ldr x3, [x19, #80]
Lloh84:
adrp x0, l_.str.139@PAGE
Lloh85:
add x0, x0, l_.str.139@PAGEOFF
mov w1, #19
mov w2, #1
bl _fwrite
ldr x3, [x19, #80]
Lloh86:
adrp x0, l_.str.140@PAGE
Lloh87:
add x0, x0, l_.str.140@PAGEOFF
mov w1, #13
mov w2, #1
bl _fwrite
ldr x3, [x19, #80]
Lloh88:
adrp x0, l_.str.141@PAGE
Lloh89:
add x0, x0, l_.str.141@PAGEOFF
mov w1, #8
mov w2, #1
bl _fwrite
ldr x3, [x19, #80]
Lloh90:
adrp x0, l_.str.142@PAGE
Lloh91:
add x0, x0, l_.str.142@PAGEOFF
mov w1, #22
mov w2, #1
bl _fwrite
ldr x20, [x19]
LBB0_57:
ldr x1, [x20]
cbnz x1, LBB0_60
; %bb.58:
mov x0, x19
bl _parse_file
LBB0_59:
mov x20, x0
b LBB0_63
LBB0_60: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _parse_file
cbnz w0, LBB0_59
; %bb.61: ; in Loop: Header=BB0_60 Depth=1
ldr x8, [x19]
add x9, x8, #8
str x9, [x19]
ldr x1, [x8, #8]
cbnz x1, LBB0_60
; %bb.62:
mov w20, #0
LBB0_63:
mov x0, x19
bl _del_PGbind
cmp w20, #0
cset w0, ne
bl _exit
LBB0_64:
Lloh92:
adrp x8, ___stderrp@GOTPAGE
Lloh93:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh94:
ldr x0, [x8]
Lloh95:
adrp x8, l_.str.16@PAGE
Lloh96:
add x8, x8, l_.str.16@PAGEOFF
stp x8, x24, [sp]
Lloh97:
adrp x1, l_.str.135@PAGE
Lloh98:
add x1, x1, l_.str.135@PAGEOFF
b LBB0_11
LBB0_65:
Lloh99:
adrp x8, ___stderrp@GOTPAGE
Lloh100:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh101:
ldr x0, [x8]
Lloh102:
adrp x8, l_.str.16@PAGE
Lloh103:
add x8, x8, l_.str.16@PAGEOFF
stp x8, x24, [sp]
Lloh104:
adrp x1, l_.str.136@PAGE
Lloh105:
add x1, x1, l_.str.136@PAGEOFF
b LBB0_11
LBB0_66:
Lloh106:
adrp x8, ___stderrp@GOTPAGE
Lloh107:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh108:
ldr x0, [x8]
stp x24, x23, [sp, #8]
Lloh109:
adrp x8, l_.str.16@PAGE
Lloh110:
add x8, x8, l_.str.16@PAGEOFF
str x8, [sp]
Lloh111:
adrp x1, l_.str.134@PAGE
Lloh112:
add x1, x1, l_.str.134@PAGEOFF
bl _fprintf
mov x0, x20
b LBB0_50
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdrp Lloh9, Lloh11
.loh AdrpLdr Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh97, Lloh98
.loh AdrpAdd Lloh95, Lloh96
.loh AdrpLdrGotLdr Lloh92, Lloh93, Lloh94
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101
.loh AdrpAdd Lloh111, Lloh112
.loh AdrpAdd Lloh109, Lloh110
.loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_14-LBB0_14)>>2
.byte (LBB0_31-LBB0_14)>>2
.byte (LBB0_32-LBB0_14)>>2
.byte (LBB0_34-LBB0_14)>>2
.byte (LBB0_38-LBB0_14)>>2
.byte (LBB0_40-LBB0_14)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.p2align 2 ; -- Begin function usage
_usage: ; @usage
.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
Lloh113:
adrp x24, ___stderrp@GOTPAGE
Lloh114:
ldr x24, [x24, ___stderrp@GOTPAGEOFF]
ldr x0, [x24]
Lloh115:
adrp x8, l_.str.16@PAGE
Lloh116:
add x8, x8, l_.str.16@PAGEOFF
str x8, [sp]
Lloh117:
adrp x1, l_.str.87@PAGE
Lloh118:
add x1, x1, l_.str.87@PAGEOFF
bl _fprintf
ldr x0, [x24]
Lloh119:
adrp x20, l_.str.34@PAGE
Lloh120:
add x20, x20, l_.str.34@PAGEOFF
Lloh121:
adrp x8, l_.str.107@PAGE
Lloh122:
add x8, x8, l_.str.107@PAGEOFF
stp x8, x20, [sp]
Lloh123:
adrp x19, l_.str.88@PAGE
Lloh124:
add x19, x19, l_.str.88@PAGEOFF
mov x1, x19
bl _fprintf
ldr x0, [x24]
Lloh125:
adrp x8, l_.str.109@PAGE
Lloh126:
add x8, x8, l_.str.109@PAGEOFF
stp x8, x20, [sp]
mov x1, x19
bl _fprintf
ldr x0, [x24]
Lloh127:
adrp x8, l_.str.112@PAGE
Lloh128:
add x8, x8, l_.str.112@PAGEOFF
Lloh129:
adrp x9, l_.str.111@PAGE
Lloh130:
add x9, x9, l_.str.111@PAGEOFF
stp x9, x8, [sp]
mov x1, x19
bl _fprintf
ldr x0, [x24]
Lloh131:
adrp x8, l_.str.115@PAGE
Lloh132:
add x8, x8, l_.str.115@PAGEOFF
Lloh133:
adrp x9, l_.str.114@PAGE
Lloh134:
add x9, x9, l_.str.114@PAGEOFF
stp x9, x8, [sp]
mov x1, x19
bl _fprintf
ldr x0, [x24]
Lloh135:
adrp x20, l_.str.118@PAGE
Lloh136:
add x20, x20, l_.str.118@PAGEOFF
Lloh137:
adrp x8, l_.str.117@PAGE
Lloh138:
add x8, x8, l_.str.117@PAGEOFF
stp x8, x20, [sp]
mov x1, x19
bl _fprintf
ldr x0, [x24]
Lloh139:
adrp x8, l_.str.120@PAGE
Lloh140:
add x8, x8, l_.str.120@PAGEOFF
stp x8, x20, [sp]
mov x1, x19
bl _fprintf
ldr x3, [x24]
Lloh141:
adrp x0, l_.str.89@PAGE
Lloh142:
add x0, x0, l_.str.89@PAGEOFF
mov w1, #9
mov w2, #1
bl _fwrite
ldr x3, [x24]
Lloh143:
adrp x0, l_.str.90@PAGE
Lloh144:
add x0, x0, l_.str.90@PAGEOFF
mov w1, #33
mov w2, #1
bl _fwrite
mov x27, #0
Lloh145:
adrp x19, l_.str.25@PAGE
Lloh146:
add x19, x19, l_.str.25@PAGEOFF
Lloh147:
adrp x20, l_.str.24@PAGE
Lloh148:
add x20, x20, l_.str.24@PAGEOFF
Lloh149:
adrp x21, _options@PAGE
Lloh150:
add x21, x21, _options@PAGEOFF
Lloh151:
adrp x22, lJTI1_0@PAGE
Lloh152:
add x22, x22, lJTI1_0@PAGEOFF
mov x28, x24
b LBB1_2
LBB1_1: ; in Loop: Header=BB1_2 Depth=1
mov x24, x28
ldr x1, [x28]
mov w0, #10
bl _fputc
ldr x27, [sp, #24] ; 8-byte Folded Reload
add x27, x27, #1
cmp x27, #3
b.eq LBB1_15
LBB1_2: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
; Child Loop BB1_10 Depth 2
ldr x0, [x24]
mov w8, #48
Lloh153:
adrp x9, _systable@PAGE
Lloh154:
add x9, x9, _systable@PAGEOFF
madd x23, x27, x8, x9
ldr x8, [x23]
str x8, [sp]
Lloh155:
adrp x1, l_.str.91@PAGE
Lloh156:
add x1, x1, l_.str.91@PAGEOFF
bl _fprintf
mov x25, x0
ldr x0, [x24]
ldr x1, [x23, #40]
mov x2, x25
mov x3, x25
bl _wrap_line
ldr x1, [x24]
mov w0, #10
bl _putc
ldr x26, [x24]
cmp w25, #1
b.lt LBB1_5
LBB1_3: ; Parent Loop BB1_2 Depth=1
; => This Inner Loop Header: Depth=2
stp x25, x19, [sp]
mov x0, x26
mov x1, x20
bl _fprintf
sub w25, w25, w0
cmp w25, #0
b.gt LBB1_3
; %bb.4: ; in Loop: Header=BB1_2 Depth=1
ldr x26, [x24]
LBB1_5: ; in Loop: Header=BB1_2 Depth=1
Lloh157:
adrp x0, l_.str.92@PAGE
Lloh158:
add x0, x0, l_.str.92@PAGEOFF
mov w1, #17
mov w2, #1
mov x3, x26
bl _fwrite
mov x25, #0
mov w8, #48
Lloh159:
adrp x9, _systable@PAGE
Lloh160:
add x9, x9, _systable@PAGEOFF
madd x8, x27, x8, x9
add x26, x8, #16
str x27, [sp, #24] ; 8-byte Folded Spill
cmp x27, #1
Lloh161:
adrp x9, l_.str.95@PAGE
Lloh162:
add x9, x9, l_.str.95@PAGEOFF
Lloh163:
adrp x10, l_.str.96@PAGE
Lloh164:
add x10, x10, l_.str.96@PAGEOFF
csel x23, x10, x9, eq
add x27, x8, #32
add x24, x8, #28
b LBB1_10
LBB1_6: ; in Loop: Header=BB1_10 Depth=2
ldr x0, [x28]
ldr w9, [x24]
LBB1_7: ; in Loop: Header=BB1_10 Depth=2
stp x8, x9, [sp]
Lloh165:
adrp x1, l_.str.97@PAGE
Lloh166:
add x1, x1, l_.str.97@PAGEOFF
LBB1_8: ; in Loop: Header=BB1_10 Depth=2
bl _fprintf
LBB1_9: ; in Loop: Header=BB1_10 Depth=2
add x25, x25, #32
cmp x25, #192
b.eq LBB1_1
LBB1_10: ; Parent Loop BB1_2 Depth=1
; => This Inner Loop Header: Depth=2
add x8, x21, x25
ldr w9, [x8]
sub w9, w9, #3
cmp w9, #3
b.hi LBB1_9
; %bb.11: ; in Loop: Header=BB1_10 Depth=2
ldr x8, [x8, #8]
adr x10, LBB1_6
ldrb w11, [x22, x9]
add x10, x10, x11, lsl #2
br x10
LBB1_12: ; in Loop: Header=BB1_10 Depth=2
ldr x0, [x28]
ldr x9, [x26]
stp x8, x9, [sp]
Lloh167:
adrp x1, l_.str.93@PAGE
Lloh168:
add x1, x1, l_.str.93@PAGEOFF
b LBB1_8
LBB1_13: ; in Loop: Header=BB1_10 Depth=2
ldr x0, [x28]
stp x8, x23, [sp]
Lloh169:
adrp x1, l_.str.94@PAGE
Lloh170:
add x1, x1, l_.str.94@PAGEOFF
b LBB1_8
LBB1_14: ; in Loop: Header=BB1_10 Depth=2
ldr x0, [x28]
ldr w9, [x27]
b LBB1_7
LBB1_15:
ldr x3, [x24]
Lloh171:
adrp x0, l_.str.99@PAGE
Lloh172:
add x0, x0, l_.str.99@PAGEOFF
mov w1, #11
mov w2, #1
bl _fwrite
ldr x0, [x24]
Lloh173:
adrp x20, l_.str.34@PAGE
Lloh174:
add x20, x20, l_.str.34@PAGEOFF
Lloh175:
adrp x8, l_.str.107@PAGE
Lloh176:
add x8, x8, l_.str.107@PAGEOFF
stp x8, x20, [sp]
Lloh177:
adrp x19, l_.str.100@PAGE
Lloh178:
add x19, x19, l_.str.100@PAGEOFF
mov x1, x19
bl _fprintf
mov x2, x0
ldr x0, [x24]
Lloh179:
adrp x1, l_.str.108@PAGE
Lloh180:
add x1, x1, l_.str.108@PAGEOFF
mov x3, x2
bl _wrap_line
ldr x1, [x24]
mov w0, #10
bl _putc
ldr x0, [x24]
Lloh181:
adrp x8, l_.str.109@PAGE
Lloh182:
add x8, x8, l_.str.109@PAGEOFF
stp x8, x20, [sp]
mov x1, x19
bl _fprintf
mov x2, x0
ldr x0, [x24]
Lloh183:
adrp x1, l_.str.110@PAGE
Lloh184:
add x1, x1, l_.str.110@PAGEOFF
mov x3, x2
bl _wrap_line
ldr x1, [x24]
mov w0, #10
bl _putc
ldr x0, [x24]
Lloh185:
adrp x8, l_.str.112@PAGE
Lloh186:
add x9, x8, l_.str.112@PAGEOFF
Lloh187:
adrp x8, l_.str.111@PAGE
Lloh188:
add x8, x8, l_.str.111@PAGEOFF
stp x8, x9, [sp]
mov x1, x19
bl _fprintf
mov x2, x0
ldr x0, [x24]
Lloh189:
adrp x1, l_.str.113@PAGE
Lloh190:
add x1, x1, l_.str.113@PAGEOFF
mov x3, x2
bl _wrap_line
ldr x1, [x24]
mov w0, #10
bl _putc
ldr x0, [x24]
Lloh191:
adrp x8, l_.str.115@PAGE
Lloh192:
add x9, x8, l_.str.115@PAGEOFF
Lloh193:
adrp x8, l_.str.114@PAGE
Lloh194:
add x8, x8, l_.str.114@PAGEOFF
stp x8, x9, [sp]
mov x1, x19
bl _fprintf
mov x2, x0
ldr x0, [x24]
Lloh195:
adrp x1, l_.str.116@PAGE
Lloh196:
add x1, x1, l_.str.116@PAGEOFF
mov x3, x2
bl _wrap_line
ldr x1, [x24]
mov w0, #10
bl _putc
ldr x0, [x24]
Lloh197:
adrp x20, l_.str.118@PAGE
Lloh198:
add x20, x20, l_.str.118@PAGEOFF
Lloh199:
adrp x8, l_.str.117@PAGE
Lloh200:
add x8, x8, l_.str.117@PAGEOFF
stp x8, x20, [sp]
mov x1, x19
bl _fprintf
mov x2, x0
ldr x0, [x24]
Lloh201:
adrp x1, l_.str.119@PAGE
Lloh202:
add x1, x1, l_.str.119@PAGEOFF
mov x3, x2
bl _wrap_line
ldr x1, [x24]
mov w0, #10
bl _putc
ldr x0, [x24]
Lloh203:
adrp x8, l_.str.120@PAGE
Lloh204:
add x8, x8, l_.str.120@PAGEOFF
stp x8, x20, [sp]
mov x1, x19
bl _fprintf
mov x2, x0
ldr x0, [x24]
Lloh205:
adrp x1, l_.str.121@PAGE
Lloh206:
add x1, x1, l_.str.121@PAGEOFF
mov x3, x2
bl _wrap_line
ldr x1, [x24]
mov w0, #10
bl _putc
ldr x3, [x24]
Lloh207:
adrp x0, l_.str.101@PAGE
Lloh208:
add x0, x0, l_.str.101@PAGEOFF
mov w1, #24
mov w2, #1
bl _fwrite
ldr x0, [x24]
Lloh209:
adrp x1, l_.str.102@PAGE
Lloh210:
add x1, x1, l_.str.102@PAGEOFF
bl _fprintf
mov x19, x0
ldr x0, [x24]
Lloh211:
adrp x1, l_.str.103@PAGE
Lloh212:
add x1, x1, l_.str.103@PAGEOFF
mov x2, x19
mov x3, x19
bl _wrap_line
mov x2, x0
ldr x0, [x24]
Lloh213:
adrp x1, l_.str.104@PAGE
Lloh214:
add x1, x1, l_.str.104@PAGEOFF
mov x3, x19
bl _wrap_line
mov x2, x0
ldr x0, [x24]
Lloh215:
adrp x1, l_.str.105@PAGE
Lloh216:
add x1, x1, l_.str.105@PAGEOFF
mov x3, x19
bl _wrap_line
mov x2, x0
ldr x0, [x24]
Lloh217:
adrp x1, l_.str.106@PAGE
Lloh218:
add x1, x1, l_.str.106@PAGEOFF
mov x3, x19
bl _wrap_line
ldr x1, [x24]
mov w0, #10
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
b _putc
.loh AdrpAdd Lloh151, Lloh152
.loh AdrpAdd Lloh149, Lloh150
.loh AdrpAdd Lloh147, Lloh148
.loh AdrpAdd Lloh145, Lloh146
.loh AdrpAdd Lloh143, Lloh144
.loh AdrpAdd Lloh141, Lloh142
.loh AdrpAdd Lloh139, Lloh140
.loh AdrpAdd Lloh137, Lloh138
.loh AdrpAdd Lloh135, Lloh136
.loh AdrpAdd Lloh133, Lloh134
.loh AdrpAdd Lloh131, Lloh132
.loh AdrpAdd Lloh129, Lloh130
.loh AdrpAdd Lloh127, Lloh128
.loh AdrpAdd Lloh125, Lloh126
.loh AdrpAdd Lloh123, Lloh124
.loh AdrpAdd Lloh121, Lloh122
.loh AdrpAdd Lloh119, Lloh120
.loh AdrpAdd Lloh117, Lloh118
.loh AdrpAdd Lloh115, Lloh116
.loh AdrpLdrGot Lloh113, Lloh114
.loh AdrpAdd Lloh155, Lloh156
.loh AdrpAdd Lloh153, Lloh154
.loh AdrpAdd Lloh163, Lloh164
.loh AdrpAdd Lloh161, Lloh162
.loh AdrpAdd Lloh159, Lloh160
.loh AdrpAdd Lloh157, Lloh158
.loh AdrpAdd Lloh165, Lloh166
.loh AdrpAdd Lloh167, Lloh168
.loh AdrpAdd Lloh169, Lloh170
.loh AdrpAdd Lloh217, Lloh218
.loh AdrpAdd Lloh215, Lloh216
.loh AdrpAdd Lloh213, Lloh214
.loh AdrpAdd Lloh211, Lloh212
.loh AdrpAdd Lloh209, Lloh210
.loh AdrpAdd Lloh207, Lloh208
.loh AdrpAdd Lloh205, Lloh206
.loh AdrpAdd Lloh203, Lloh204
.loh AdrpAdd Lloh201, Lloh202
.loh AdrpAdd Lloh199, Lloh200
.loh AdrpAdd Lloh197, Lloh198
.loh AdrpAdd Lloh195, Lloh196
.loh AdrpAdd Lloh193, Lloh194
.loh AdrpAdrp Lloh191, Lloh193
.loh AdrpAdd Lloh191, Lloh192
.loh AdrpAdd Lloh189, Lloh190
.loh AdrpAdd Lloh187, Lloh188
.loh AdrpAdrp Lloh185, Lloh187
.loh AdrpAdd Lloh185, Lloh186
.loh AdrpAdd Lloh183, Lloh184
.loh AdrpAdd Lloh181, Lloh182
.loh AdrpAdd Lloh179, Lloh180
.loh AdrpAdd Lloh177, Lloh178
.loh AdrpAdd Lloh175, Lloh176
.loh AdrpAdd Lloh173, Lloh174
.loh AdrpAdd Lloh171, Lloh172
.cfi_endproc
.section __TEXT,__const
lJTI1_0:
.byte (LBB1_12-LBB1_6)>>2
.byte (LBB1_13-LBB1_6)>>2
.byte (LBB1_14-LBB1_6)>>2
.byte (LBB1_6-LBB1_6)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.p2align 2 ; -- Begin function parse_file
_parse_file: ; @parse_file
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp d9, d8, [sp, #80] ; 16-byte Folded Spill
stp x28, x27, [sp, #96] ; 16-byte Folded Spill
stp x26, x25, [sp, #112] ; 16-byte Folded Spill
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x19, x0
ldr x22, [x0, #8]
cbz x1, LBB2_325
; %bb.1:
mov x20, x1
Lloh219:
adrp x1, l_.str.13@PAGE
Lloh220:
add x1, x1, l_.str.13@PAGEOFF
mov x0, x20
bl _fopen
mov x21, x0
cbz x21, LBB2_326
LBB2_2:
ldr x0, [x22, #544]
Lloh221:
adrp x8, ___stdinp@GOTPAGE
Lloh222:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh223:
ldr x8, [x8]
cmp x0, #0
ccmp x0, x8, #4, ne
b.eq LBB2_4
; %bb.3:
bl _fclose
LBB2_4:
add x9, x19, #104
add x10, x19, #128
str x21, [x22, #544]
add x8, x19, #120
stp x8, x9, [sp, #64] ; 16-byte Folded Spill
add x8, x19, #144
str x8, [sp, #40] ; 8-byte Folded Spill
add x8, x19, #136
stp x8, x10, [sp, #48] ; 16-byte Folded Spill
Lloh224:
adrp x28, __DefaultRuneLocale@GOTPAGE
Lloh225:
ldr x28, [x28, __DefaultRuneLocale@GOTPAGEOFF]
str x20, [x22, #536]
Lloh226:
adrp x20, l_.str.17@PAGE
Lloh227:
add x20, x20, l_.str.17@PAGEOFF
str wzr, [x22, #552]
movi d8, #0xffffffff00000000
LBB2_5: ; =>This Loop Header: Depth=1
; Child Loop BB2_6 Depth 2
; Child Loop BB2_11 Depth 2
; Child Loop BB2_15 Depth 3
; Child Loop BB2_20 Depth 3
; Child Loop BB2_27 Depth 3
; Child Loop BB2_41 Depth 2
; Child Loop BB2_45 Depth 2
; Child Loop BB2_48 Depth 3
; Child Loop BB2_55 Depth 3
; Child Loop BB2_82 Depth 3
; Child Loop BB2_91 Depth 2
; Child Loop BB2_93 Depth 3
; Child Loop BB2_106 Depth 2
; Child Loop BB2_112 Depth 3
; Child Loop BB2_137 Depth 2
; Child Loop BB2_160 Depth 2
; Child Loop BB2_187 Depth 2
; Child Loop BB2_207 Depth 2
; Child Loop BB2_229 Depth 2
; Child Loop BB2_262 Depth 2
; Child Loop BB2_269 Depth 2
; Child Loop BB2_290 Depth 2
; Child Loop BB2_306 Depth 2
; Child Loop BB2_313 Depth 2
ldr x24, [x19, #8]
strb wzr, [x24]
add x21, x24, #256
strb wzr, [x24, #256]
str x24, [x24, #520]
str x24, [x24, #512]
str x21, [x24, #528]
LBB2_6: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x24
bl _lex_line
cbz x0, LBB2_8
; %bb.7: ; in Loop: Header=BB2_6 Depth=2
mov x0, x21
mov x1, x20
mov w2, #2
bl _strncmp
cbnz w0, LBB2_6
LBB2_8: ; in Loop: Header=BB2_5 Depth=1
ldr x0, [x24, #544]
bl _feof
cbnz w0, LBB2_333
; %bb.9: ; in Loop: Header=BB2_5 Depth=1
ldr x0, [x24, #544]
bl _ferror
cbnz w0, LBB2_333
; %bb.10: ; in Loop: Header=BB2_5 Depth=1
mov w23, #0
add x27, x24, #258
add x26, x24, #259
LBB2_11: ; Parent Loop BB2_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_15 Depth 3
; Child Loop BB2_20 Depth 3
; Child Loop BB2_27 Depth 3
str x27, [x24, #528]
ldrb w8, [x24, #258]
cbz w8, LBB2_23
; %bb.12: ; in Loop: Header=BB2_11 Depth=2
mov x20, x26
b LBB2_15
LBB2_13: ; in Loop: Header=BB2_15 Depth=3
mov w1, #16384
bl ___maskrune
cbz w0, LBB2_17
LBB2_14: ; in Loop: Header=BB2_15 Depth=3
str x20, [x24, #528]
ldrb w8, [x20], #1
cbz w8, LBB2_23
LBB2_15: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_11 Depth=2
; => This Inner Loop Header: Depth=3
sxtb w0, w8
tbnz w8, #7, LBB2_13
; %bb.16: ; in Loop: Header=BB2_15 Depth=3
add x8, x28, w0, uxtw #2
ldr w8, [x8, #60]
tbnz w8, #14, LBB2_14
LBB2_17: ; in Loop: Header=BB2_11 Depth=2
ldr x8, [x24, #528]
ldrb w9, [x8]
cbz w9, LBB2_33
; %bb.18: ; in Loop: Header=BB2_11 Depth=2
cmp w23, #254
b.gt LBB2_33
; %bb.19: ; in Loop: Header=BB2_11 Depth=2
; kill: def $w23 killed $w23 killed $x23 def $x23
sxtw x23, w23
LBB2_20: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_11 Depth=2
; => This Inner Loop Header: Depth=3
mov x9, x23
add x10, x8, #1
str x10, [x24, #528]
ldrb w8, [x8]
add x23, x23, #1
strb w8, [x24, x9]
ldr x8, [x24, #528]
ldrb w10, [x8]
cbz w10, LBB2_22
; %bb.21: ; in Loop: Header=BB2_20 Depth=3
cmp x9, #254
b.lt LBB2_20
LBB2_22: ; in Loop: Header=BB2_11 Depth=2
cmp x9, #254
b.lt LBB2_24
b LBB2_328
LBB2_23: ; in Loop: Header=BB2_11 Depth=2
cmp w23, #255
b.ge LBB2_328
LBB2_24: ; in Loop: Header=BB2_11 Depth=2
sub w22, w23, #1
mov x8, x22
sxtw x8, w8
mov x9, x23
b LBB2_27
LBB2_25: ; in Loop: Header=BB2_27 Depth=3
mov w1, #16384
bl ___maskrune
LBB2_26: ; in Loop: Header=BB2_27 Depth=3
sub w9, w25, #1
sub x8, x20, #1
sub x22, x22, #1
cbz w0, LBB2_30
LBB2_27: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_11 Depth=2
; => This Inner Loop Header: Depth=3
mov x25, x9
mov x20, x8
cmp w9, #2
b.lt LBB2_30
; %bb.28: ; in Loop: Header=BB2_27 Depth=3
ldrsb w0, [x24, x22]
tbnz w0, #31, LBB2_25
; %bb.29: ; in Loop: Header=BB2_27 Depth=3
add x8, x28, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
b LBB2_26
LBB2_30: ; in Loop: Header=BB2_11 Depth=2
ldrb w8, [x24, x20]
cmp w8, #92
b.ne LBB2_34
; %bb.31: ; in Loop: Header=BB2_11 Depth=2
sub w23, w25, #1
mov x0, x24
bl _lex_line
cbz x0, LBB2_34
; %bb.32: ; in Loop: Header=BB2_11 Depth=2
mov x0, x21
Lloh228:
adrp x1, l_.str.17@PAGE
Lloh229:
add x1, x1, l_.str.17@PAGEOFF
mov w2, #2
bl _strncmp
cbz w0, LBB2_11
b LBB2_34
LBB2_33: ; in Loop: Header=BB2_11 Depth=2
cmp w23, #254
b.le LBB2_24
b LBB2_328
LBB2_34: ; in Loop: Header=BB2_5 Depth=1
cmp w23, #255
b.ge LBB2_328
; %bb.35: ; in Loop: Header=BB2_5 Depth=1
strb wzr, [x24, w23, sxtw]
str x24, [x24, #512]
str x24, [x24, #520]
str x21, [x24, #528]
strb wzr, [x24, #256]
ldr x24, [x19, #8]
mov x0, x24
bl _read_type
str w0, [x19, #96]
cbz w0, LBB2_335
; %bb.36: ; in Loop: Header=BB2_5 Depth=1
ldr x8, [x24, #520]
ldrb w8, [x8]
cmp w8, #42
b.eq LBB2_338
; %bb.37: ; in Loop: Header=BB2_5 Depth=1
mov x0, x24
bl _read_name
str x0, [x19, #88]
cbz x0, LBB2_339
; %bb.38: ; in Loop: Header=BB2_5 Depth=1
ldr x8, [x24, #520]
ldrb w9, [x8]
cmp w9, #40
b.ne LBB2_340
; %bb.39: ; in Loop: Header=BB2_5 Depth=1
str x8, [x24, #512]
add x20, x8, #1
b LBB2_41
LBB2_40: ; in Loop: Header=BB2_41 Depth=2
mov w1, #16384
bl ___maskrune
add x20, x20, #1
cbz w0, LBB2_44
LBB2_41: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
str x20, [x24, #520]
ldrsb w0, [x20]
cbz w0, LBB2_44
; %bb.42: ; in Loop: Header=BB2_41 Depth=2
tbnz w0, #31, LBB2_40
; %bb.43: ; in Loop: Header=BB2_41 Depth=2
add x8, x28, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
add x20, x20, #1
cbnz w0, LBB2_41
LBB2_44: ; in Loop: Header=BB2_5 Depth=1
mov x21, #0
mov w20, #1
LBB2_45: ; Parent Loop BB2_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_48 Depth 3
; Child Loop BB2_55 Depth 3
; Child Loop BB2_82 Depth 3
ldr x8, [x24, #520]
ldrb w9, [x8]
cmp w9, #41
b.eq LBB2_91
; %bb.46: ; in Loop: Header=BB2_45 Depth=2
mov w0, #0
mov w8, #40
madd x23, x21, x8, x19
str wzr, [x23, #120]!
mov x26, x23
str wzr, [x26, #8]!
cbz w0, LBB2_48
b LBB2_51
LBB2_47: ; in Loop: Header=BB2_48 Depth=3
str w20, [x26]
ldr w0, [x23]
cbnz w0, LBB2_51
LBB2_48: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_45 Depth=2
; => This Inner Loop Header: Depth=3
mov x0, x24
bl _read_type
cmp w0, #7
b.eq LBB2_47
; %bb.49: ; in Loop: Header=BB2_48 Depth=3
cbz w0, LBB2_329
; %bb.50: ; in Loop: Header=BB2_48 Depth=3
str w0, [x23]
cbz w0, LBB2_48
LBB2_51: ; in Loop: Header=BB2_45 Depth=2
cmp w0, #1
b.eq LBB2_87
; %bb.52: ; in Loop: Header=BB2_45 Depth=2
ldr x8, [x24, #520]
ldrb w9, [x8]
mov w10, #40
madd x10, x21, x10, x19
add x27, x10, #124
cmp w9, #42
b.ne LBB2_63
; %bb.53: ; in Loop: Header=BB2_45 Depth=2
str w20, [x27]
str x8, [x24, #512]
add x20, x8, #1
b LBB2_55
LBB2_54: ; in Loop: Header=BB2_55 Depth=3
mov w1, #16384
bl ___maskrune
add x20, x20, #1
cbz w0, LBB2_58
LBB2_55: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_45 Depth=2
; => This Inner Loop Header: Depth=3
str x20, [x24, #520]
ldrsb w0, [x20]
cbz w0, LBB2_59
; %bb.56: ; in Loop: Header=BB2_55 Depth=3
tbnz w0, #31, LBB2_54
; %bb.57: ; in Loop: Header=BB2_55 Depth=3
add x8, x28, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
add x20, x20, #1
cbnz w0, LBB2_55
LBB2_58: ; in Loop: Header=BB2_45 Depth=2
ldr x8, [x24, #520]
ldrb w8, [x8]
cmp w8, #42
b.eq LBB2_347
LBB2_59: ; in Loop: Header=BB2_45 Depth=2
ldr w8, [x27]
cbz w8, LBB2_64
; %bb.60: ; in Loop: Header=BB2_45 Depth=2
ldr w8, [x26]
mov w10, #24
Lloh230:
adrp x11, _datatypes@PAGE
Lloh231:
add x11, x11, _datatypes@PAGEOFF
cbz w8, LBB2_64
; %bb.61: ; in Loop: Header=BB2_45 Depth=2
ldr w8, [x23]
Lloh232:
adrp x9, _datatypes@PAGE
Lloh233:
ldr w9, [x9, _datatypes@PAGEOFF]
cmp w9, w8
b.ne LBB2_65
; %bb.62: ; in Loop: Header=BB2_45 Depth=2
mov x8, #0
b LBB2_77
LBB2_63: ; in Loop: Header=BB2_45 Depth=2
str wzr, [x27]
ldr w9, [x26]
Lloh234:
adrp x8, l_.str.34@PAGE
Lloh235:
add x8, x8, l_.str.34@PAGEOFF
cbz w9, LBB2_78
b LBB2_346
LBB2_64: ; in Loop: Header=BB2_45 Depth=2
Lloh236:
adrp x8, l_.str.34@PAGE
Lloh237:
add x8, x8, l_.str.34@PAGEOFF
b LBB2_78
LBB2_65: ; in Loop: Header=BB2_45 Depth=2
Lloh238:
adrp x9, _datatypes@PAGE+24
Lloh239:
ldr w9, [x9, _datatypes@PAGEOFF+24]
cmp w9, w8
b.ne LBB2_67
; %bb.66: ; in Loop: Header=BB2_45 Depth=2
mov w8, #1
b LBB2_77
LBB2_67: ; in Loop: Header=BB2_45 Depth=2
Lloh240:
adrp x9, _datatypes@PAGE+48
Lloh241:
ldr w9, [x9, _datatypes@PAGEOFF+48]
cmp w9, w8
b.ne LBB2_69
; %bb.68: ; in Loop: Header=BB2_45 Depth=2
mov w8, #2
b LBB2_77
LBB2_69: ; in Loop: Header=BB2_45 Depth=2
Lloh242:
adrp x9, _datatypes@PAGE+72
Lloh243:
ldr w9, [x9, _datatypes@PAGEOFF+72]
cmp w9, w8
b.ne LBB2_71
; %bb.70: ; in Loop: Header=BB2_45 Depth=2
mov w8, #3
b LBB2_77
LBB2_71: ; in Loop: Header=BB2_45 Depth=2
Lloh244:
adrp x9, _datatypes@PAGE+96
Lloh245:
ldr w9, [x9, _datatypes@PAGEOFF+96]
cmp w9, w8
b.ne LBB2_73
; %bb.72: ; in Loop: Header=BB2_45 Depth=2
mov w8, #4
b LBB2_77
LBB2_73: ; in Loop: Header=BB2_45 Depth=2
Lloh246:
adrp x9, _datatypes@PAGE+120
Lloh247:
ldr w9, [x9, _datatypes@PAGEOFF+120]
cmp w9, w8
b.ne LBB2_75
; %bb.74: ; in Loop: Header=BB2_45 Depth=2
mov w8, #5
b LBB2_77
LBB2_75: ; in Loop: Header=BB2_45 Depth=2
Lloh248:
adrp x9, _datatypes@PAGE+144
Lloh249:
ldr w9, [x9, _datatypes@PAGEOFF+144]
cmp w9, w8
b.ne LBB2_86
; %bb.76: ; in Loop: Header=BB2_45 Depth=2
mov w8, #6
LBB2_77: ; in Loop: Header=BB2_45 Depth=2
madd x8, x8, x10, x11
ldr x8, [x8, #16]
LBB2_78: ; in Loop: Header=BB2_45 Depth=2
mov w9, #40
madd x20, x21, x9, x19
str x8, [x20, #112]
mov x0, x24
bl _read_name
str x0, [x20, #104]
cbz x0, LBB2_341
; %bb.79: ; in Loop: Header=BB2_45 Depth=2
ldr x8, [x24, #520]
ldrb w9, [x8]
cmp w9, #44
b.ne LBB2_126
; %bb.80: ; in Loop: Header=BB2_45 Depth=2
str x8, [x24, #512]
add x20, x8, #1
b LBB2_82
LBB2_81: ; in Loop: Header=BB2_82 Depth=3
mov w1, #16384
bl ___maskrune
add x20, x20, #1
cbz w0, LBB2_85
LBB2_82: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_45 Depth=2
; => This Inner Loop Header: Depth=3
str x20, [x24, #520]
ldrsb w0, [x20]
cbz w0, LBB2_85
; %bb.83: ; in Loop: Header=BB2_82 Depth=3
tbnz w0, #31, LBB2_81
; %bb.84: ; in Loop: Header=BB2_82 Depth=3
add x8, x28, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
add x20, x20, #1
cbnz w0, LBB2_82
LBB2_85: ; in Loop: Header=BB2_45 Depth=2
add x21, x21, #1
cmp x21, #31
mov w20, #1
b.ne LBB2_45
b LBB2_342
LBB2_86: ; in Loop: Header=BB2_45 Depth=2
mov x8, #0
b LBB2_78
LBB2_87: ; in Loop: Header=BB2_5 Depth=1
cbnz w21, LBB2_334
; %bb.88: ; in Loop: Header=BB2_5 Depth=1
ldr x8, [x24, #520]
ldrb w9, [x8]
cmp w9, #41
b.ne LBB2_334
; %bb.89: ; in Loop: Header=BB2_5 Depth=1
str wzr, [x19, #1344]
LBB2_90: ; in Loop: Header=BB2_5 Depth=1
ldrb w9, [x8]
cmp w9, #41
b.ne LBB2_336
LBB2_91: ; Parent Loop BB2_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_93 Depth 3
str x8, [x24, #512]
add x20, x8, #1
b LBB2_93
LBB2_92: ; in Loop: Header=BB2_93 Depth=3
mov w1, #16384
bl ___maskrune
add x20, x20, #1
cbz w0, LBB2_96
LBB2_93: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_91 Depth=2
; => This Inner Loop Header: Depth=3
str x20, [x24, #520]
ldrsb w0, [x20]
cbz w0, LBB2_102
; %bb.94: ; in Loop: Header=BB2_93 Depth=3
tbnz w0, #31, LBB2_92
; %bb.95: ; in Loop: Header=BB2_93 Depth=3
add x8, x28, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
add x20, x20, #1
cbnz w0, LBB2_93
LBB2_96: ; in Loop: Header=BB2_91 Depth=2
ldr x8, [x24, #520]
ldrsb w21, [x8]
cbz w21, LBB2_102
; %bb.97: ; in Loop: Header=BB2_91 Depth=2
tbnz w21, #31, LBB2_99
; %bb.98: ; in Loop: Header=BB2_91 Depth=2
add x9, x28, w21, uxtw #2
ldr w9, [x9, #60]
and w0, w9, #0x4000
cbz w0, LBB2_100
b LBB2_91
LBB2_99: ; in Loop: Header=BB2_91 Depth=2
mov x0, x21
mov w1, #16384
bl ___maskrune
ldr x8, [x24, #520]
cbnz w0, LBB2_91
LBB2_100: ; in Loop: Header=BB2_91 Depth=2
cmp w21, #59
b.eq LBB2_91
; %bb.101: ; in Loop: Header=BB2_5 Depth=1
ldrb w8, [x8]
cbnz w8, LBB2_349
LBB2_102: ; in Loop: Header=BB2_5 Depth=1
ldr w26, [x19, #1344]
cmp w26, #1
b.lt LBB2_116
; %bb.103: ; in Loop: Header=BB2_5 Depth=1
mov x27, #0
b LBB2_106
LBB2_104: ; in Loop: Header=BB2_106 Depth=2
mov w8, #1
str w8, [x25]
LBB2_105: ; in Loop: Header=BB2_106 Depth=2
add x27, x27, #1
cmp x27, x26
b.eq LBB2_116
LBB2_106: ; Parent Loop BB2_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_112 Depth 3
mov w8, #40
madd x25, x27, x8, x19
str d8, [x25, #132]!
ldur w8, [x25, #-12]
cmp w8, #5
b.ne LBB2_105
; %bb.107: ; in Loop: Header=BB2_106 Depth=2
mov w8, #40
madd x20, x27, x8, x19
ldr x21, [x20, #104]
mov x0, x21
mov w1, #95
bl _strrchr
mov x23, x0
mov x0, x21
bl _strlen
ldr w8, [x20, #124]
cbz w8, LBB2_104
; %bb.108: ; in Loop: Header=BB2_106 Depth=2
mov x24, x0
cbz x23, LBB2_110
; %bb.109: ; in Loop: Header=BB2_106 Depth=2
mov x0, x23
Lloh250:
adrp x1, l_.str.40@PAGE
Lloh251:
add x1, x1, l_.str.40@PAGEOFF
bl _strcmp
cbz w0, LBB2_104
LBB2_110: ; in Loop: Header=BB2_106 Depth=2
mov x22, #0
add x25, x25, #4
sxtw x24, w24
ldr x20, [sp, #72] ; 8-byte Folded Reload
b LBB2_112
LBB2_111: ; in Loop: Header=BB2_112 Depth=3
add x22, x22, #1
add x20, x20, #40
cmp x26, x22
b.eq LBB2_105
LBB2_112: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_106 Depth=2
; => This Inner Loop Header: Depth=3
cmp x27, x22
b.eq LBB2_111
; %bb.113: ; in Loop: Header=BB2_112 Depth=3
ldr x23, [x20]
mov x0, x23
mov x1, x21
mov x2, x24
bl _strncmp
cbnz w0, LBB2_111
; %bb.114: ; in Loop: Header=BB2_112 Depth=3
add x0, x23, x24
Lloh252:
adrp x1, l_.str.41@PAGE
Lloh253:
add x1, x1, l_.str.41@PAGEOFF
bl _strcmp
cbnz w0, LBB2_111
; %bb.115: ; in Loop: Header=BB2_106 Depth=2
str w22, [x25]
b LBB2_105
LBB2_116: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [x19, #64]
Lloh254:
adrp x20, l_.str.17@PAGE
Lloh255:
add x20, x20, l_.str.17@PAGEOFF
adrp x22, _datatypes@PAGE
mov w25, #24
Lloh256:
adrp x26, _datatypes@PAGE
Lloh257:
add x26, x26, _datatypes@PAGEOFF
Lloh258:
adrp x27, l_.str.63@PAGE
Lloh259:
add x27, x27, l_.str.63@PAGEOFF
cbz w8, LBB2_156
; %bb.117: ; in Loop: Header=BB2_5 Depth=1
ldr x21, [x19, #80]
cbz x21, LBB2_156
; %bb.118: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [x19, #96]
ldr w9, [x22, _datatypes@PAGEOFF]
cmp w9, w8
b.ne LBB2_120
; %bb.119: ; in Loop: Header=BB2_5 Depth=1
mov x8, #0
b LBB2_133
LBB2_120: ; in Loop: Header=BB2_5 Depth=1
Lloh260:
adrp x9, _datatypes@PAGE+24
Lloh261:
ldr w9, [x9, _datatypes@PAGEOFF+24]
cmp w9, w8
b.ne LBB2_122
; %bb.121: ; in Loop: Header=BB2_5 Depth=1
mov w8, #1
b LBB2_133
LBB2_122: ; in Loop: Header=BB2_5 Depth=1
Lloh262:
adrp x9, _datatypes@PAGE+48
Lloh263:
ldr w9, [x9, _datatypes@PAGEOFF+48]
cmp w9, w8
b.ne LBB2_124
; %bb.123: ; in Loop: Header=BB2_5 Depth=1
mov w8, #2
b LBB2_133
LBB2_124: ; in Loop: Header=BB2_5 Depth=1
Lloh264:
adrp x9, _datatypes@PAGE+72
Lloh265:
ldr w9, [x9, _datatypes@PAGEOFF+72]
cmp w9, w8
b.ne LBB2_127
; %bb.125: ; in Loop: Header=BB2_5 Depth=1
mov w8, #3
b LBB2_133
LBB2_126: ; in Loop: Header=BB2_5 Depth=1
add w9, w21, #1
str w9, [x19, #1344]
cmp w21, #31
b.lo LBB2_90
b LBB2_342
LBB2_127: ; in Loop: Header=BB2_5 Depth=1
Lloh266:
adrp x9, _datatypes@PAGE+96
Lloh267:
ldr w9, [x9, _datatypes@PAGEOFF+96]
cmp w9, w8
b.ne LBB2_129
; %bb.128: ; in Loop: Header=BB2_5 Depth=1
mov w8, #4
b LBB2_133
LBB2_129: ; in Loop: Header=BB2_5 Depth=1
Lloh268:
adrp x9, _datatypes@PAGE+120
Lloh269:
ldr w9, [x9, _datatypes@PAGEOFF+120]
cmp w9, w8
b.ne LBB2_131
; %bb.130: ; in Loop: Header=BB2_5 Depth=1
mov w8, #5
b LBB2_133
LBB2_131: ; in Loop: Header=BB2_5 Depth=1
Lloh270:
adrp x9, _datatypes@PAGE+144
Lloh271:
ldr w9, [x9, _datatypes@PAGEOFF+144]
cmp w9, w8
b.ne LBB2_323
; %bb.132: ; in Loop: Header=BB2_5 Depth=1
mov w8, #6
LBB2_133: ; in Loop: Header=BB2_5 Depth=1
madd x8, x8, x25, x26
ldr x8, [x8, #8]
LBB2_134: ; in Loop: Header=BB2_5 Depth=1
ldr x9, [x19, #88]
stp x8, x9, [sp]
mov x0, x21
Lloh272:
adrp x1, l_.str.42@PAGE
Lloh273:
add x1, x1, l_.str.42@PAGEOFF
bl _fprintf
ldr w8, [x19, #1344]
cbz w8, LBB2_154
; %bb.135: ; in Loop: Header=BB2_5 Depth=1
cmp w8, #1
b.lt LBB2_155
; %bb.136: ; in Loop: Header=BB2_5 Depth=1
mov x23, #0
ldr x24, [sp, #56] ; 8-byte Folded Reload
LBB2_137: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x24]
cmp w9, #0
Lloh274:
adrp x9, l_.str.34@PAGE
Lloh275:
add x9, x9, l_.str.34@PAGEOFF
Lloh276:
adrp x10, l_.str.45@PAGE
Lloh277:
add x10, x10, l_.str.45@PAGEOFF
csel x9, x9, x10, eq
ldur w10, [x24, #-8]
ldr w11, [x22, _datatypes@PAGEOFF]
cmp w11, w10
b.ne LBB2_139
; %bb.138: ; in Loop: Header=BB2_137 Depth=2
mov x10, #0
b LBB2_151
LBB2_139: ; in Loop: Header=BB2_137 Depth=2
Lloh278:
adrp x11, _datatypes@PAGE+24
Lloh279:
ldr w11, [x11, _datatypes@PAGEOFF+24]
cmp w11, w10
b.ne LBB2_141
; %bb.140: ; in Loop: Header=BB2_137 Depth=2
mov w10, #1
b LBB2_151
LBB2_141: ; in Loop: Header=BB2_137 Depth=2
Lloh280:
adrp x11, _datatypes@PAGE+48
Lloh281:
ldr w11, [x11, _datatypes@PAGEOFF+48]
cmp w11, w10
b.ne LBB2_143
; %bb.142: ; in Loop: Header=BB2_137 Depth=2
mov w10, #2
b LBB2_151
LBB2_143: ; in Loop: Header=BB2_137 Depth=2
Lloh282:
adrp x11, _datatypes@PAGE+72
Lloh283:
ldr w11, [x11, _datatypes@PAGEOFF+72]
cmp w11, w10
b.ne LBB2_145
; %bb.144: ; in Loop: Header=BB2_137 Depth=2
mov w10, #3
b LBB2_151
LBB2_145: ; in Loop: Header=BB2_137 Depth=2
Lloh284:
adrp x11, _datatypes@PAGE+96
Lloh285:
ldr w11, [x11, _datatypes@PAGEOFF+96]
cmp w11, w10
b.ne LBB2_147
; %bb.146: ; in Loop: Header=BB2_137 Depth=2
mov w10, #4
b LBB2_151
LBB2_147: ; in Loop: Header=BB2_137 Depth=2
Lloh286:
adrp x11, _datatypes@PAGE+120
Lloh287:
ldr w11, [x11, _datatypes@PAGEOFF+120]
cmp w11, w10
b.ne LBB2_149
; %bb.148: ; in Loop: Header=BB2_137 Depth=2
mov w10, #5
b LBB2_151
LBB2_149: ; in Loop: Header=BB2_137 Depth=2
Lloh288:
adrp x11, _datatypes@PAGE+144
Lloh289:
ldr w11, [x11, _datatypes@PAGEOFF+144]
cmp w11, w10
b.ne LBB2_153
; %bb.150: ; in Loop: Header=BB2_137 Depth=2
mov w10, #6
LBB2_151: ; in Loop: Header=BB2_137 Depth=2
madd x10, x10, x25, x26
ldr x10, [x10, #8]
LBB2_152: ; in Loop: Header=BB2_137 Depth=2
ldur w11, [x24, #-4]
cmp w11, #0
Lloh290:
adrp x11, l_.str.46@PAGE
Lloh291:
add x11, x11, l_.str.46@PAGEOFF
Lloh292:
adrp x12, l_.str.47@PAGE
Lloh293:
add x12, x12, l_.str.47@PAGEOFF
csel x11, x12, x11, eq
ldur x12, [x24, #-24]
sub w8, w8, #1
cmp x23, w8, sxtw
Lloh294:
adrp x8, l_.str.48@PAGE
Lloh295:
add x8, x8, l_.str.48@PAGEOFF
Lloh296:
adrp x13, l_.str.49@PAGE
Lloh297:
add x13, x13, l_.str.49@PAGEOFF
csel x8, x8, x13, lt
stp x12, x8, [sp, #24]
stp x10, x11, [sp, #8]
str x9, [sp]
mov x0, x21
Lloh298:
adrp x1, l_.str.44@PAGE
Lloh299:
add x1, x1, l_.str.44@PAGEOFF
bl _fprintf
add x23, x23, #1
ldrsw x8, [x19, #1344]
add x24, x24, #40
cmp x23, x8
b.lt LBB2_137
b LBB2_155
LBB2_153: ; in Loop: Header=BB2_137 Depth=2
mov x10, #0
b LBB2_152
LBB2_154: ; in Loop: Header=BB2_5 Depth=1
Lloh300:
adrp x0, l_.str.43@PAGE
Lloh301:
add x0, x0, l_.str.43@PAGEOFF
mov w1, #5
mov w2, #1
mov x3, x21
bl _fwrite
LBB2_155: ; in Loop: Header=BB2_5 Depth=1
Lloh302:
adrp x0, l_.str.50@PAGE
Lloh303:
add x0, x0, l_.str.50@PAGEOFF
mov w1, #2
mov w2, #1
mov x3, x21
bl _fwrite
LBB2_156: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [x19, #68]
cbz w8, LBB2_5
; %bb.157: ; in Loop: Header=BB2_5 Depth=1
ldr x8, [x19, #88]
str x8, [sp]
Lloh304:
adrp x21, _write_wrapper.buffer@PAGE
Lloh305:
add x21, x21, _write_wrapper.buffer@PAGEOFF
mov x0, x21
mov w1, #0
mov w2, #256
Lloh306:
adrp x3, l_.str.51@PAGE
Lloh307:
add x3, x3, l_.str.51@PAGEOFF
bl ___sprintf_chk
mov x0, x21
Lloh308:
adrp x1, l_.str.52@PAGE
Lloh309:
add x1, x1, l_.str.52@PAGEOFF
bl _fopen
cbz x0, LBB2_344
; %bb.158: ; in Loop: Header=BB2_5 Depth=1
mov x24, x0
Lloh310:
adrp x0, l_.str.54@PAGE
Lloh311:
add x0, x0, l_.str.54@PAGEOFF
mov w1, #21
mov w2, #1
mov x3, x24
bl _fwrite
ldr w8, [x19, #1344]
cmp w8, #1
b.lt LBB2_168
; %bb.159: ; in Loop: Header=BB2_5 Depth=1
mov w9, #1
ldr x10, [sp, #64] ; 8-byte Folded Reload
LBB2_160: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w11, [x10], #40
cmp x9, x8
b.hs LBB2_162
; %bb.161: ; in Loop: Header=BB2_160 Depth=2
add x9, x9, #1
cmp w11, #5
b.ne LBB2_160
LBB2_162: ; in Loop: Header=BB2_5 Depth=1
cmp w11, #5
b.ne LBB2_168
; %bb.163: ; in Loop: Header=BB2_5 Depth=1
Lloh312:
adrp x0, l_.str.55@PAGE
Lloh313:
add x0, x0, l_.str.55@PAGEOFF
mov w1, #20
mov w2, #1
mov x3, x24
bl _fwrite
ldr w8, [x19, #24]
cmp w8, #2
b.eq LBB2_166
; %bb.164: ; in Loop: Header=BB2_5 Depth=1
cmp w8, #3
b.ne LBB2_168
; %bb.165: ; in Loop: Header=BB2_5 Depth=1
Lloh314:
adrp x0, l_.str.57@PAGE
Lloh315:
add x0, x0, l_.str.57@PAGEOFF
b LBB2_167
LBB2_166: ; in Loop: Header=BB2_5 Depth=1
Lloh316:
adrp x0, l_.str.56@PAGE
Lloh317:
add x0, x0, l_.str.56@PAGEOFF
LBB2_167: ; in Loop: Header=BB2_5 Depth=1
mov w1, #21
mov w2, #1
mov x3, x24
bl _fwrite
LBB2_168: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [x19, #96]
ldr w9, [x22, _datatypes@PAGEOFF]
cmp w9, w8
b.ne LBB2_170
; %bb.169: ; in Loop: Header=BB2_5 Depth=1
mov x8, #0
b LBB2_182
LBB2_170: ; in Loop: Header=BB2_5 Depth=1
Lloh318:
adrp x9, _datatypes@PAGE+24
Lloh319:
ldr w9, [x9, _datatypes@PAGEOFF+24]
cmp w9, w8
b.ne LBB2_172
; %bb.171: ; in Loop: Header=BB2_5 Depth=1
mov w8, #1
b LBB2_182
LBB2_172: ; in Loop: Header=BB2_5 Depth=1
Lloh320:
adrp x9, _datatypes@PAGE+48
Lloh321:
ldr w9, [x9, _datatypes@PAGEOFF+48]
cmp w9, w8
b.ne LBB2_174
; %bb.173: ; in Loop: Header=BB2_5 Depth=1
mov w8, #2
b LBB2_182
LBB2_174: ; in Loop: Header=BB2_5 Depth=1
Lloh322:
adrp x9, _datatypes@PAGE+72
Lloh323:
ldr w9, [x9, _datatypes@PAGEOFF+72]
cmp w9, w8
b.ne LBB2_176
; %bb.175: ; in Loop: Header=BB2_5 Depth=1
mov w8, #3
b LBB2_182
LBB2_176: ; in Loop: Header=BB2_5 Depth=1
Lloh324:
adrp x9, _datatypes@PAGE+96
Lloh325:
ldr w9, [x9, _datatypes@PAGEOFF+96]
cmp w9, w8
b.ne LBB2_178
; %bb.177: ; in Loop: Header=BB2_5 Depth=1
mov w8, #4
b LBB2_182
LBB2_178: ; in Loop: Header=BB2_5 Depth=1
Lloh326:
adrp x9, _datatypes@PAGE+120
Lloh327:
ldr w9, [x9, _datatypes@PAGEOFF+120]
cmp w9, w8
b.ne LBB2_180
; %bb.179: ; in Loop: Header=BB2_5 Depth=1
mov w8, #5
b LBB2_182
LBB2_180: ; in Loop: Header=BB2_5 Depth=1
Lloh328:
adrp x9, _datatypes@PAGE+144
Lloh329:
ldr w9, [x9, _datatypes@PAGEOFF+144]
cmp w9, w8
b.ne LBB2_253
; %bb.181: ; in Loop: Header=BB2_5 Depth=1
mov w8, #6
LBB2_182: ; in Loop: Header=BB2_5 Depth=1
madd x8, x8, x25, x26
ldr x8, [x8, #8]
LBB2_183: ; in Loop: Header=BB2_5 Depth=1
str x8, [sp]
mov x0, x24
Lloh330:
adrp x1, l_.str.58@PAGE
Lloh331:
add x1, x1, l_.str.58@PAGEOFF
bl _fprintf
ldr x9, [x19, #88]
ldrb w8, [x9, #1]
cbz w8, LBB2_189
; %bb.184: ; in Loop: Header=BB2_5 Depth=1
add x21, x9, #2
b LBB2_187
LBB2_185: ; in Loop: Header=BB2_187 Depth=2
bl ___toupper
LBB2_186: ; in Loop: Header=BB2_187 Depth=2
mov x1, x24
bl _putc
ldrb w8, [x21], #1
cbz w8, LBB2_189
LBB2_187: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
sxtb w0, w8
ldr w8, [x19, #40]
cbz w8, LBB2_185
; %bb.188: ; in Loop: Header=BB2_187 Depth=2
bl ___tolower
b LBB2_186
LBB2_189: ; in Loop: Header=BB2_5 Depth=1
ldr x0, [x19, #32]
mov x1, x24
bl _fputs
Lloh332:
adrp x0, l_.str.59@PAGE
Lloh333:
add x0, x0, l_.str.59@PAGEOFF
mov w1, #4
mov w2, #1
mov x3, x24
bl _fwrite
ldr w8, [x19, #96]
ldr w9, [x22, _datatypes@PAGEOFF]
cmp w9, w8
b.ne LBB2_191
; %bb.190: ; in Loop: Header=BB2_5 Depth=1
mov x8, #0
b LBB2_203
LBB2_191: ; in Loop: Header=BB2_5 Depth=1
Lloh334:
adrp x9, _datatypes@PAGE+24
Lloh335:
ldr w9, [x9, _datatypes@PAGEOFF+24]
cmp w9, w8
b.ne LBB2_193
; %bb.192: ; in Loop: Header=BB2_5 Depth=1
mov w8, #1
b LBB2_203
LBB2_193: ; in Loop: Header=BB2_5 Depth=1
Lloh336:
adrp x9, _datatypes@PAGE+48
Lloh337:
ldr w9, [x9, _datatypes@PAGEOFF+48]
cmp w9, w8
b.ne LBB2_195
; %bb.194: ; in Loop: Header=BB2_5 Depth=1
mov w8, #2
b LBB2_203
LBB2_195: ; in Loop: Header=BB2_5 Depth=1
Lloh338:
adrp x9, _datatypes@PAGE+72
Lloh339:
ldr w9, [x9, _datatypes@PAGEOFF+72]
cmp w9, w8
b.ne LBB2_197
; %bb.196: ; in Loop: Header=BB2_5 Depth=1
mov w8, #3
b LBB2_203
LBB2_197: ; in Loop: Header=BB2_5 Depth=1
Lloh340:
adrp x9, _datatypes@PAGE+96
Lloh341:
ldr w9, [x9, _datatypes@PAGEOFF+96]
cmp w9, w8
b.ne LBB2_199
; %bb.198: ; in Loop: Header=BB2_5 Depth=1
mov w8, #4
b LBB2_203
LBB2_199: ; in Loop: Header=BB2_5 Depth=1
Lloh342:
adrp x9, _datatypes@PAGE+120
Lloh343:
ldr w9, [x9, _datatypes@PAGEOFF+120]
cmp w9, w8
b.ne LBB2_201
; %bb.200: ; in Loop: Header=BB2_5 Depth=1
mov w8, #5
b LBB2_203
LBB2_201: ; in Loop: Header=BB2_5 Depth=1
Lloh344:
adrp x9, _datatypes@PAGE+144
Lloh345:
ldr w9, [x9, _datatypes@PAGEOFF+144]
cmp w9, w8
b.ne LBB2_254
; %bb.202: ; in Loop: Header=BB2_5 Depth=1
mov w8, #6
LBB2_203: ; in Loop: Header=BB2_5 Depth=1
madd x8, x8, x25, x26
ldr x8, [x8, #8]
LBB2_204: ; in Loop: Header=BB2_5 Depth=1
ldr x9, [x19, #88]
stp x8, x9, [sp]
mov x0, x24
Lloh346:
adrp x1, l_.str.60@PAGE
Lloh347:
add x1, x1, l_.str.60@PAGEOFF
bl _fprintf
ldr w8, [x19, #1344]
cbz w8, LBB2_224
; %bb.205: ; in Loop: Header=BB2_5 Depth=1
cmp w8, #1
b.lt LBB2_225
; %bb.206: ; in Loop: Header=BB2_5 Depth=1
mov x21, #0
ldr x23, [sp, #56] ; 8-byte Folded Reload
LBB2_207: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x23]
cmp w9, #0
Lloh348:
adrp x9, l_.str.34@PAGE
Lloh349:
add x9, x9, l_.str.34@PAGEOFF
Lloh350:
adrp x10, l_.str.45@PAGE
Lloh351:
add x10, x10, l_.str.45@PAGEOFF
csel x9, x9, x10, eq
ldur w10, [x23, #-8]
ldr w11, [x22, _datatypes@PAGEOFF]
cmp w11, w10
b.ne LBB2_209
; %bb.208: ; in Loop: Header=BB2_207 Depth=2
mov x10, #0
b LBB2_221
LBB2_209: ; in Loop: Header=BB2_207 Depth=2
Lloh352:
adrp x11, _datatypes@PAGE+24
Lloh353:
ldr w11, [x11, _datatypes@PAGEOFF+24]
cmp w11, w10
b.ne LBB2_211
; %bb.210: ; in Loop: Header=BB2_207 Depth=2
mov w10, #1
b LBB2_221
LBB2_211: ; in Loop: Header=BB2_207 Depth=2
Lloh354:
adrp x11, _datatypes@PAGE+48
Lloh355:
ldr w11, [x11, _datatypes@PAGEOFF+48]
cmp w11, w10
b.ne LBB2_213
; %bb.212: ; in Loop: Header=BB2_207 Depth=2
mov w10, #2
b LBB2_221
LBB2_213: ; in Loop: Header=BB2_207 Depth=2
Lloh356:
adrp x11, _datatypes@PAGE+72
Lloh357:
ldr w11, [x11, _datatypes@PAGEOFF+72]
cmp w11, w10
b.ne LBB2_215
; %bb.214: ; in Loop: Header=BB2_207 Depth=2
mov w10, #3
b LBB2_221
LBB2_215: ; in Loop: Header=BB2_207 Depth=2
Lloh358:
adrp x11, _datatypes@PAGE+96
Lloh359:
ldr w11, [x11, _datatypes@PAGEOFF+96]
cmp w11, w10
b.ne LBB2_217
; %bb.216: ; in Loop: Header=BB2_207 Depth=2
mov w10, #4
b LBB2_221
LBB2_217: ; in Loop: Header=BB2_207 Depth=2
Lloh360:
adrp x11, _datatypes@PAGE+120
Lloh361:
ldr w11, [x11, _datatypes@PAGEOFF+120]
cmp w11, w10
b.ne LBB2_219
; %bb.218: ; in Loop: Header=BB2_207 Depth=2
mov w10, #5
b LBB2_221
LBB2_219: ; in Loop: Header=BB2_207 Depth=2
Lloh362:
adrp x11, _datatypes@PAGE+144
Lloh363:
ldr w11, [x11, _datatypes@PAGEOFF+144]
cmp w11, w10
b.ne LBB2_223
; %bb.220: ; in Loop: Header=BB2_207 Depth=2
mov w10, #6
LBB2_221: ; in Loop: Header=BB2_207 Depth=2
madd x10, x10, x25, x26
ldr x10, [x10, #8]
LBB2_222: ; in Loop: Header=BB2_207 Depth=2
ldur w11, [x23, #-4]
cmp w11, #0
Lloh364:
adrp x11, l_.str.46@PAGE
Lloh365:
add x11, x11, l_.str.46@PAGEOFF
Lloh366:
adrp x12, l_.str.47@PAGE
Lloh367:
add x12, x12, l_.str.47@PAGEOFF
csel x11, x12, x11, eq
ldur x12, [x23, #-24]
sub w8, w8, #1
cmp x21, w8, sxtw
Lloh368:
adrp x8, l_.str.48@PAGE
Lloh369:
add x8, x8, l_.str.48@PAGEOFF
Lloh370:
adrp x13, l_.str.49@PAGE
Lloh371:
add x13, x13, l_.str.49@PAGEOFF
csel x8, x8, x13, lt
stp x12, x8, [sp, #24]
stp x10, x11, [sp, #8]
str x9, [sp]
mov x0, x24
Lloh372:
adrp x1, l_.str.44@PAGE
Lloh373:
add x1, x1, l_.str.44@PAGEOFF
bl _fprintf
add x21, x21, #1
ldrsw x8, [x19, #1344]
add x23, x23, #40
cmp x21, x8
b.lt LBB2_207
b LBB2_225
LBB2_223: ; in Loop: Header=BB2_207 Depth=2
mov x10, #0
b LBB2_222
LBB2_224: ; in Loop: Header=BB2_5 Depth=1
Lloh374:
adrp x0, l_.str.43@PAGE
Lloh375:
add x0, x0, l_.str.43@PAGEOFF
mov w1, #5
mov w2, #1
mov x3, x24
bl _fwrite
LBB2_225: ; in Loop: Header=BB2_5 Depth=1
Lloh376:
adrp x0, l_.str.61@PAGE
Lloh377:
add x0, x0, l_.str.61@PAGEOFF
mov w1, #3
mov w2, #1
mov x3, x24
bl _fwrite
ldr w8, [x19, #1344]
cmp w8, #1
b.lt LBB2_240
; %bb.226: ; in Loop: Header=BB2_5 Depth=1
mov x21, #0
ldr x23, [sp, #72] ; 8-byte Folded Reload
b LBB2_229
LBB2_227: ; in Loop: Header=BB2_229 Depth=2
bl _fprintf
LBB2_228: ; in Loop: Header=BB2_229 Depth=2
add x21, x21, #1
ldrsw x8, [x19, #1344]
add x23, x23, #40
cmp x21, x8
b.ge LBB2_240
LBB2_229: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x23, #16]
cmp w8, #5
b.eq LBB2_232
; %bb.230: ; in Loop: Header=BB2_229 Depth=2
cmp w8, #6
b.ne LBB2_228
; %bb.231: ; in Loop: Header=BB2_229 Depth=2
ldr x8, [x23]
ldp w9, w10, [x19, #44]
stp x9, x10, [sp, #16]
stp x8, x8, [sp]
mov x0, x24
Lloh378:
adrp x1, l_.str.62@PAGE
Lloh379:
add x1, x1, l_.str.62@PAGEOFF
b LBB2_227
LBB2_232: ; in Loop: Header=BB2_229 Depth=2
ldr x8, [x23]
str x8, [sp]
mov x0, x24
mov x1, x27
bl _fprintf
ldr w8, [x23, #32]
tbnz w8, #31, LBB2_235
; %bb.233: ; in Loop: Header=BB2_229 Depth=2
mov w9, #40
madd x8, x8, x9, x19
ldr w8, [x8, #124]
cmp w8, #0
Lloh380:
adrp x8, l_.str.67@PAGE
Lloh381:
add x8, x8, l_.str.67@PAGEOFF
Lloh382:
adrp x9, l_.str.34@PAGE
Lloh383:
add x9, x9, l_.str.34@PAGEOFF
csel x8, x9, x8, eq
ldr x9, [x23]
stp x8, x9, [sp]
mov x0, x24
Lloh384:
adrp x1, l_.str.66@PAGE
Lloh385:
add x1, x1, l_.str.66@PAGEOFF
LBB2_234: ; in Loop: Header=BB2_229 Depth=2
bl _fprintf
b LBB2_237
LBB2_235: ; in Loop: Header=BB2_229 Depth=2
ldr w8, [x23, #28]
cbz w8, LBB2_239
; %bb.236: ; in Loop: Header=BB2_229 Depth=2
Lloh386:
adrp x0, l_.str.64@PAGE
Lloh387:
add x0, x0, l_.str.64@PAGEOFF
mov w1, #3
mov w2, #1
mov x3, x24
bl _fwrite
LBB2_237: ; in Loop: Header=BB2_229 Depth=2
ldr w8, [x19, #24]
cmp w8, #3
b.ne LBB2_228
; %bb.238: ; in Loop: Header=BB2_229 Depth=2
ldr x8, [x23]
str x8, [sp]
mov x0, x24
Lloh388:
adrp x1, l_.str.68@PAGE
Lloh389:
add x1, x1, l_.str.68@PAGEOFF
b LBB2_227
LBB2_239: ; in Loop: Header=BB2_229 Depth=2
ldr x8, [x23]
str x8, [sp]
mov x0, x24
Lloh390:
adrp x1, l_.str.65@PAGE
Lloh391:
add x1, x1, l_.str.65@PAGEOFF
b LBB2_234
LBB2_240: ; in Loop: Header=BB2_5 Depth=1
ldr w9, [x19, #96]
cmp w9, #1
Lloh392:
adrp x27, l_.str.79@PAGE
Lloh393:
add x27, x27, l_.str.79@PAGEOFF
b.eq LBB2_259
; %bb.241: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [x22, _datatypes@PAGEOFF]
cmp w8, w9
b.ne LBB2_243
; %bb.242: ; in Loop: Header=BB2_5 Depth=1
mov x8, #0
b LBB2_257
LBB2_243: ; in Loop: Header=BB2_5 Depth=1
Lloh394:
adrp x8, _datatypes@PAGE+24
Lloh395:
ldr w8, [x8, _datatypes@PAGEOFF+24]
cmp w8, w9
b.ne LBB2_245
; %bb.244: ; in Loop: Header=BB2_5 Depth=1
mov w8, #1
b LBB2_257
LBB2_245: ; in Loop: Header=BB2_5 Depth=1
Lloh396:
adrp x8, _datatypes@PAGE+48
Lloh397:
ldr w8, [x8, _datatypes@PAGEOFF+48]
cmp w8, w9
b.ne LBB2_247
; %bb.246: ; in Loop: Header=BB2_5 Depth=1
mov w8, #2
b LBB2_257
LBB2_247: ; in Loop: Header=BB2_5 Depth=1
Lloh398:
adrp x8, _datatypes@PAGE+72
Lloh399:
ldr w8, [x8, _datatypes@PAGEOFF+72]
cmp w8, w9
b.ne LBB2_249
; %bb.248: ; in Loop: Header=BB2_5 Depth=1
mov w8, #3
b LBB2_257
LBB2_249: ; in Loop: Header=BB2_5 Depth=1
Lloh400:
adrp x8, _datatypes@PAGE+96
Lloh401:
ldr w8, [x8, _datatypes@PAGEOFF+96]
cmp w8, w9
b.ne LBB2_251
; %bb.250: ; in Loop: Header=BB2_5 Depth=1
mov w8, #4
b LBB2_257
LBB2_251: ; in Loop: Header=BB2_5 Depth=1
Lloh402:
adrp x8, _datatypes@PAGE+120
Lloh403:
ldr w8, [x8, _datatypes@PAGEOFF+120]
cmp w8, w9
b.ne LBB2_255
; %bb.252: ; in Loop: Header=BB2_5 Depth=1
mov w8, #5
b LBB2_257
LBB2_253: ; in Loop: Header=BB2_5 Depth=1
mov x8, #0
b LBB2_183
LBB2_254: ; in Loop: Header=BB2_5 Depth=1
mov x8, #0
b LBB2_204
LBB2_255: ; in Loop: Header=BB2_5 Depth=1
Lloh404:
adrp x8, _datatypes@PAGE+144
Lloh405:
ldr w8, [x8, _datatypes@PAGEOFF+144]
cmp w8, w9
b.ne LBB2_324
; %bb.256: ; in Loop: Header=BB2_5 Depth=1
mov w8, #6
LBB2_257: ; in Loop: Header=BB2_5 Depth=1
madd x8, x8, x25, x26
ldr x8, [x8, #8]
LBB2_258: ; in Loop: Header=BB2_5 Depth=1
str x8, [sp]
mov x0, x24
Lloh406:
adrp x1, l_.str.69@PAGE
Lloh407:
add x1, x1, l_.str.69@PAGEOFF
bl _fprintf
ldr w8, [x19, #1344]
LBB2_259: ; in Loop: Header=BB2_5 Depth=1
cmp w8, #1
Lloh408:
adrp x22, l_.str.70@PAGE
Lloh409:
add x22, x22, l_.str.70@PAGEOFF
Lloh410:
adrp x25, l_.str.71@PAGE
Lloh411:
add x25, x25, l_.str.71@PAGEOFF
Lloh412:
adrp x26, l_.str.78@PAGE
Lloh413:
add x26, x26, l_.str.78@PAGEOFF
b.lt LBB2_265
; %bb.260: ; in Loop: Header=BB2_5 Depth=1
mov x21, #0
ldr x23, [sp, #72] ; 8-byte Folded Reload
b LBB2_262
LBB2_261: ; in Loop: Header=BB2_262 Depth=2
add x21, x21, #1
add x23, x23, #40
cmp x21, w8, sxtw
b.ge LBB2_265
LBB2_262: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x23, #16]
cmp w9, #5
b.ne LBB2_261
; %bb.263: ; in Loop: Header=BB2_262 Depth=2
ldr w9, [x19, #24]
cmp w9, #3
b.ne LBB2_261
; %bb.264: ; in Loop: Header=BB2_262 Depth=2
ldp x8, x9, [x23]
stp x9, x8, [sp, #8]
str x8, [sp]
mov x0, x24
mov x1, x22
bl _fprintf
ldr x8, [x23]
stp x8, x8, [sp]
mov x0, x24
mov x1, x25
bl _fprintf
ldr w8, [x19, #1344]
b LBB2_261
LBB2_265: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [x19, #96]
cmp w8, #1
Lloh414:
adrp x8, l_.str.34@PAGE
Lloh415:
add x8, x8, l_.str.34@PAGEOFF
Lloh416:
adrp x9, l_.str.73@PAGE
Lloh417:
add x9, x9, l_.str.73@PAGEOFF
csel x8, x8, x9, eq
str x8, [sp]
mov x0, x24
Lloh418:
adrp x1, l_.str.72@PAGE
Lloh419:
add x1, x1, l_.str.72@PAGEOFF
bl _fprintf
ldr x9, [x19, #88]
ldrb w8, [x9, #1]
Lloh420:
adrp x25, l_.str.76@PAGE
Lloh421:
add x25, x25, l_.str.76@PAGEOFF
cbz w8, LBB2_271
; %bb.266: ; in Loop: Header=BB2_5 Depth=1
add x21, x9, #2
b LBB2_269
LBB2_267: ; in Loop: Header=BB2_269 Depth=2
bl ___toupper
LBB2_268: ; in Loop: Header=BB2_269 Depth=2
mov x1, x24
bl _putc
ldrb w8, [x21], #1
cbz w8, LBB2_271
LBB2_269: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
sxtb w0, w8
ldr w8, [x19, #40]
cbz w8, LBB2_267
; %bb.270: ; in Loop: Header=BB2_269 Depth=2
bl ___tolower
b LBB2_268
LBB2_271: ; in Loop: Header=BB2_5 Depth=1
ldr x0, [x19, #32]
mov x1, x24
bl _fputs
mov w0, #40
mov x1, x24
bl _putc
ldr w8, [x19, #1344]
cmp w8, #1
b.lt LBB2_309
; %bb.272: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [x19, #120]
cmp w8, #6
b.eq LBB2_279
; %bb.273: ; in Loop: Header=BB2_5 Depth=1
cmp w8, #5
Lloh422:
adrp x22, l_.str.74@PAGE
Lloh423:
add x22, x22, l_.str.74@PAGEOFF
b.ne LBB2_277
; %bb.274: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [x19, #24]
cmp w8, #2
b.eq LBB2_282
; %bb.275: ; in Loop: Header=BB2_5 Depth=1
cmp w8, #3
b.ne LBB2_277
; %bb.276: ; in Loop: Header=BB2_5 Depth=1
ldr x8, [x19, #104]
str x8, [sp]
mov x0, x24
Lloh424:
adrp x1, l_.str.77@PAGE
Lloh425:
add x1, x1, l_.str.77@PAGEOFF
b LBB2_286
LBB2_277: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [x19, #124]
cbz w8, LBB2_280
; %bb.278: ; in Loop: Header=BB2_5 Depth=1
ldr x8, [x19, #112]
b LBB2_281
LBB2_279: ; in Loop: Header=BB2_5 Depth=1
ldr x8, [x19, #104]
str x8, [sp]
mov x0, x24
Lloh426:
adrp x22, l_.str.74@PAGE
Lloh427:
add x22, x22, l_.str.74@PAGEOFF
mov x1, x22
b LBB2_286
LBB2_280: ; in Loop: Header=BB2_5 Depth=1
mov x8, x25
LBB2_281: ; in Loop: Header=BB2_5 Depth=1
ldr x9, [x19, #104]
stp x8, x9, [sp]
mov x0, x24
mov x1, x26
b LBB2_286
LBB2_282: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [x19, #124]
cbz w8, LBB2_284
; %bb.283: ; in Loop: Header=BB2_5 Depth=1
ldr x8, [x19, #112]
b LBB2_285
LBB2_284: ; in Loop: Header=BB2_5 Depth=1
mov x8, x25
LBB2_285: ; in Loop: Header=BB2_5 Depth=1
ldr x9, [x19, #104]
stp x9, x9, [sp, #8]
str x8, [sp]
mov x0, x24
Lloh428:
adrp x1, l_.str.75@PAGE
Lloh429:
add x1, x1, l_.str.75@PAGEOFF
LBB2_286: ; in Loop: Header=BB2_5 Depth=1
bl _fprintf
ldr w8, [x19, #1344]
cmp w8, #1
b.le LBB2_303
; %bb.287: ; in Loop: Header=BB2_5 Depth=1
ldr x21, [sp, #40] ; 8-byte Folded Reload
mov w23, #1
b LBB2_290
LBB2_288: ; in Loop: Header=BB2_290 Depth=2
ldr x8, [x21]
str x8, [sp]
mov x0, x24
mov x1, x22
LBB2_289: ; in Loop: Header=BB2_290 Depth=2
bl _fprintf
add x23, x23, #1
ldrsw x8, [x19, #1344]
add x21, x21, #40
cmp x23, x8
b.ge LBB2_303
LBB2_290: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
Lloh430:
adrp x0, l_.str.48@PAGE
Lloh431:
add x0, x0, l_.str.48@PAGEOFF
mov w1, #2
mov w2, #1
mov x3, x24
bl _fwrite
ldr w8, [x21, #16]
cmp w8, #5
b.eq LBB2_292
; %bb.291: ; in Loop: Header=BB2_290 Depth=2
cmp w8, #6
b.eq LBB2_288
b LBB2_296
LBB2_292: ; in Loop: Header=BB2_290 Depth=2
ldr w8, [x19, #24]
cmp w8, #3
b.eq LBB2_300
; %bb.293: ; in Loop: Header=BB2_290 Depth=2
cmp w8, #2
b.ne LBB2_296
; %bb.294: ; in Loop: Header=BB2_290 Depth=2
ldr w8, [x21, #20]
cbz w8, LBB2_301
; %bb.295: ; in Loop: Header=BB2_290 Depth=2
ldr x8, [x21, #8]
b LBB2_302
LBB2_296: ; in Loop: Header=BB2_290 Depth=2
ldr w8, [x21, #20]
cbz w8, LBB2_298
; %bb.297: ; in Loop: Header=BB2_290 Depth=2
ldr x8, [x21, #8]
b LBB2_299
LBB2_298: ; in Loop: Header=BB2_290 Depth=2
mov x8, x25
LBB2_299: ; in Loop: Header=BB2_290 Depth=2
ldr x9, [x21]
stp x8, x9, [sp]
mov x0, x24
mov x1, x26
b LBB2_289
LBB2_300: ; in Loop: Header=BB2_290 Depth=2
ldr x8, [x21]
str x8, [sp]
mov x0, x24
Lloh432:
adrp x1, l_.str.77@PAGE
Lloh433:
add x1, x1, l_.str.77@PAGEOFF
b LBB2_289
LBB2_301: ; in Loop: Header=BB2_290 Depth=2
mov x8, x25
LBB2_302: ; in Loop: Header=BB2_290 Depth=2
ldr x9, [x21]
stp x9, x9, [sp, #8]
str x8, [sp]
mov x0, x24
Lloh434:
adrp x1, l_.str.75@PAGE
Lloh435:
add x1, x1, l_.str.75@PAGEOFF
b LBB2_289
LBB2_303: ; in Loop: Header=BB2_5 Depth=1
cmp w8, #1
b.lt LBB2_309
; %bb.304: ; in Loop: Header=BB2_5 Depth=1
mov x21, #0
ldr x22, [sp, #64] ; 8-byte Folded Reload
b LBB2_306
LBB2_305: ; in Loop: Header=BB2_306 Depth=2
add x21, x21, #1
add x22, x22, #40
cmp x21, w8, sxtw
b.ge LBB2_309
LBB2_306: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x22]
cmp w9, #5
b.ne LBB2_305
; %bb.307: ; in Loop: Header=BB2_306 Depth=2
ldr w9, [x19, #24]
and w9, w9, #0xfffffffe
cmp w9, #2
b.eq LBB2_305
; %bb.308: ; in Loop: Header=BB2_306 Depth=2
ldur x8, [x22, #-16]
str x8, [sp]
mov x0, x24
mov x1, x27
bl _fprintf
ldr w8, [x19, #1344]
b LBB2_305
LBB2_309: ; in Loop: Header=BB2_5 Depth=1
Lloh436:
adrp x0, l_.str.80@PAGE
Lloh437:
add x0, x0, l_.str.80@PAGEOFF
mov w1, #3
mov w2, #1
mov x3, x24
bl _fwrite
ldr w8, [x19, #1344]
cmp w8, #1
Lloh438:
adrp x22, l_.str.81@PAGE
Lloh439:
add x22, x22, l_.str.81@PAGEOFF
b.lt LBB2_320
; %bb.310: ; in Loop: Header=BB2_5 Depth=1
mov x21, #0
ldr x23, [sp, #48] ; 8-byte Folded Reload
b LBB2_313
LBB2_311: ; in Loop: Header=BB2_313 Depth=2
bl _fprintf
LBB2_312: ; in Loop: Header=BB2_313 Depth=2
add x21, x21, #1
ldrsw x8, [x19, #1344]
add x23, x23, #40
cmp x21, x8
b.ge LBB2_320
LBB2_313: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x23, #-16]
cmp w8, #6
b.eq LBB2_317
; %bb.314: ; in Loop: Header=BB2_313 Depth=2
cmp w8, #5
b.ne LBB2_312
; %bb.315: ; in Loop: Header=BB2_313 Depth=2
ldr w8, [x23]
tbnz w8, #31, LBB2_312
; %bb.316: ; in Loop: Header=BB2_313 Depth=2
ldur w9, [x23, #-12]
cmp w9, #0
Lloh440:
adrp x12, l_.str.34@PAGE
Lloh441:
add x12, x12, l_.str.34@PAGEOFF
csel x9, x25, x12, eq
ldur x10, [x23, #-32]
mov w11, #40
madd x8, x8, x11, x19
ldr w8, [x8, #124]
cmp w8, #0
Lloh442:
adrp x8, l_.str.67@PAGE
Lloh443:
add x8, x8, l_.str.67@PAGEOFF
csel x8, x12, x8, eq
stp x8, x10, [sp, #16]
stp x9, x10, [sp]
mov x0, x24
mov x1, x22
b LBB2_311
LBB2_317: ; in Loop: Header=BB2_313 Depth=2
ldur w8, [x23, #-12]
cbz w8, LBB2_312
; %bb.318: ; in Loop: Header=BB2_313 Depth=2
ldur w8, [x23, #-8]
cbnz w8, LBB2_312
; %bb.319: ; in Loop: Header=BB2_313 Depth=2
ldur x8, [x23, #-32]
ldr w9, [x19, #44]
stp x8, x9, [sp, #8]
str x8, [sp]
mov x0, x24
Lloh444:
adrp x1, l_.str.82@PAGE
Lloh445:
add x1, x1, l_.str.82@PAGEOFF
b LBB2_311
LBB2_320: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [x19, #96]
cmp w8, #1
b.eq LBB2_322
; %bb.321: ; in Loop: Header=BB2_5 Depth=1
Lloh446:
adrp x0, l_.str.83@PAGE
Lloh447:
add x0, x0, l_.str.83@PAGEOFF
mov w1, #18
mov w2, #1
mov x3, x24
bl _fwrite
LBB2_322: ; in Loop: Header=BB2_5 Depth=1
Lloh448:
adrp x0, l_.str.84@PAGE
Lloh449:
add x0, x0, l_.str.84@PAGEOFF
mov w1, #2
mov w2, #1
mov x3, x24
bl _fwrite
mov x0, x24
bl _fclose
cbz w0, LBB2_5
b LBB2_345
LBB2_323: ; in Loop: Header=BB2_5 Depth=1
mov x8, #0
b LBB2_134
LBB2_324: ; in Loop: Header=BB2_5 Depth=1
mov x8, #0
b LBB2_258
LBB2_325:
Lloh450:
adrp x8, ___stdinp@GOTPAGE
Lloh451:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh452:
ldr x21, [x8]
Lloh453:
adrp x20, l_.str.14@PAGE
Lloh454:
add x20, x20, l_.str.14@PAGEOFF
cbnz x21, LBB2_2
LBB2_326:
Lloh455:
adrp x8, ___stderrp@GOTPAGE
Lloh456:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh457:
ldr x0, [x8]
Lloh458:
adrp x8, l_.str.16@PAGE
Lloh459:
add x8, x8, l_.str.16@PAGEOFF
stp x8, x20, [sp]
Lloh460:
adrp x1, l_.str.15@PAGE
Lloh461:
add x1, x1, l_.str.15@PAGEOFF
LBB2_327:
bl _fprintf
b LBB2_331
LBB2_328:
Lloh462:
adrp x1, l_.str.18@PAGE
Lloh463:
add x1, x1, l_.str.18@PAGEOFF
mov x0, x24
mov w2, #0
bl _lex_error
mov w19, #0
b LBB2_332
LBB2_329:
Lloh464:
adrp x1, l_.str.30@PAGE
Lloh465:
add x1, x1, l_.str.30@PAGEOFF
LBB2_330:
mov x0, x24
mov w2, #0
bl _lex_error
LBB2_331:
mov w19, #1
LBB2_332:
mov x0, x19
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
ldp x26, x25, [sp, #112] ; 16-byte Folded Reload
ldp x28, x27, [sp, #96] ; 16-byte Folded Reload
ldp d9, d8, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB2_333:
mov w19, #0
b LBB2_332
LBB2_334:
Lloh466:
adrp x1, l_.str.31@PAGE
Lloh467:
add x1, x1, l_.str.31@PAGEOFF
b LBB2_330
LBB2_335:
Lloh468:
adrp x1, l_.str.26@PAGE
Lloh469:
add x1, x1, l_.str.26@PAGEOFF
b LBB2_330
LBB2_336:
cbnz w9, LBB2_343
; %bb.337:
Lloh470:
adrp x1, l_.str.37@PAGE
Lloh471:
add x1, x1, l_.str.37@PAGEOFF
b LBB2_348
LBB2_338:
Lloh472:
adrp x1, l_.str.27@PAGE
Lloh473:
add x1, x1, l_.str.27@PAGEOFF
b LBB2_348
LBB2_339:
Lloh474:
adrp x1, l_.str.28@PAGE
Lloh475:
add x1, x1, l_.str.28@PAGEOFF
b LBB2_330
LBB2_340:
Lloh476:
adrp x1, l_.str.29@PAGE
Lloh477:
add x1, x1, l_.str.29@PAGEOFF
b LBB2_348
LBB2_341:
Lloh478:
adrp x1, l_.str.35@PAGE
Lloh479:
add x1, x1, l_.str.35@PAGEOFF
b LBB2_330
LBB2_342:
Lloh480:
adrp x1, l_.str.36@PAGE
Lloh481:
add x1, x1, l_.str.36@PAGEOFF
b LBB2_348
LBB2_343:
Lloh482:
adrp x1, l_.str.38@PAGE
Lloh483:
add x1, x1, l_.str.38@PAGEOFF
b LBB2_348
LBB2_344:
Lloh484:
adrp x8, ___stderrp@GOTPAGE
Lloh485:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh486:
ldr x0, [x8]
Lloh487:
adrp x8, l_.str.16@PAGE
Lloh488:
add x8, x8, l_.str.16@PAGEOFF
Lloh489:
adrp x9, _write_wrapper.buffer@PAGE
Lloh490:
add x9, x9, _write_wrapper.buffer@PAGEOFF
stp x8, x9, [sp]
Lloh491:
adrp x1, l_.str.53@PAGE
Lloh492:
add x1, x1, l_.str.53@PAGEOFF
b LBB2_327
LBB2_345:
Lloh493:
adrp x8, ___stderrp@GOTPAGE
Lloh494:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh495:
ldr x0, [x8]
ldr x8, [x19, #88]
Lloh496:
adrp x9, l_.str.16@PAGE
Lloh497:
add x9, x9, l_.str.16@PAGEOFF
stp x9, x8, [sp]
Lloh498:
adrp x1, l_.str.85@PAGE
Lloh499:
add x1, x1, l_.str.85@PAGEOFF
b LBB2_327
LBB2_346:
Lloh500:
adrp x1, l_.str.33@PAGE
Lloh501:
add x1, x1, l_.str.33@PAGEOFF
b LBB2_348
LBB2_347:
Lloh502:
adrp x1, l_.str.32@PAGE
Lloh503:
add x1, x1, l_.str.32@PAGEOFF
LBB2_348:
mov w19, #1
mov x0, x24
mov w2, #1
bl _lex_error
b LBB2_332
LBB2_349:
Lloh504:
adrp x1, l_.str.39@PAGE
Lloh505:
add x1, x1, l_.str.39@PAGEOFF
b LBB2_348
.loh AdrpAdd Lloh219, Lloh220
.loh AdrpLdrGotLdr Lloh221, Lloh222, Lloh223
.loh AdrpAdd Lloh226, Lloh227
.loh AdrpLdrGot Lloh224, Lloh225
.loh AdrpAdd Lloh228, Lloh229
.loh AdrpAdd Lloh230, Lloh231
.loh AdrpLdr Lloh232, Lloh233
.loh AdrpAdd Lloh234, Lloh235
.loh AdrpAdd Lloh236, Lloh237
.loh AdrpLdr Lloh238, Lloh239
.loh AdrpLdr Lloh240, Lloh241
.loh AdrpLdr Lloh242, Lloh243
.loh AdrpLdr Lloh244, Lloh245
.loh AdrpLdr Lloh246, Lloh247
.loh AdrpLdr Lloh248, Lloh249
.loh AdrpAdd Lloh250, Lloh251
.loh AdrpAdd Lloh252, Lloh253
.loh AdrpAdd Lloh258, Lloh259
.loh AdrpAdd Lloh256, Lloh257
.loh AdrpAdd Lloh254, Lloh255
.loh AdrpLdr Lloh260, Lloh261
.loh AdrpLdr Lloh262, Lloh263
.loh AdrpLdr Lloh264, Lloh265
.loh AdrpLdr Lloh266, Lloh267
.loh AdrpLdr Lloh268, Lloh269
.loh AdrpLdr Lloh270, Lloh271
.loh AdrpAdd Lloh272, Lloh273
.loh AdrpAdd Lloh276, Lloh277
.loh AdrpAdd Lloh274, Lloh275
.loh AdrpLdr Lloh278, Lloh279
.loh AdrpLdr Lloh280, Lloh281
.loh AdrpLdr Lloh282, Lloh283
.loh AdrpLdr Lloh284, Lloh285
.loh AdrpLdr Lloh286, Lloh287
.loh AdrpLdr Lloh288, Lloh289
.loh AdrpAdd Lloh298, Lloh299
.loh AdrpAdd Lloh296, Lloh297
.loh AdrpAdd Lloh294, Lloh295
.loh AdrpAdd Lloh292, Lloh293
.loh AdrpAdd Lloh290, Lloh291
.loh AdrpAdd Lloh300, Lloh301
.loh AdrpAdd Lloh302, Lloh303
.loh AdrpAdd Lloh308, Lloh309
.loh AdrpAdd Lloh306, Lloh307
.loh AdrpAdd Lloh304, Lloh305
.loh AdrpAdd Lloh310, Lloh311
.loh AdrpAdd Lloh312, Lloh313
.loh AdrpAdd Lloh314, Lloh315
.loh AdrpAdd Lloh316, Lloh317
.loh AdrpLdr Lloh318, Lloh319
.loh AdrpLdr Lloh320, Lloh321
.loh AdrpLdr Lloh322, Lloh323
.loh AdrpLdr Lloh324, Lloh325
.loh AdrpLdr Lloh326, Lloh327
.loh AdrpLdr Lloh328, Lloh329
.loh AdrpAdd Lloh330, Lloh331
.loh AdrpAdd Lloh332, Lloh333
.loh AdrpLdr Lloh334, Lloh335
.loh AdrpLdr Lloh336, Lloh337
.loh AdrpLdr Lloh338, Lloh339
.loh AdrpLdr Lloh340, Lloh341
.loh AdrpLdr Lloh342, Lloh343
.loh AdrpLdr Lloh344, Lloh345
.loh AdrpAdd Lloh346, Lloh347
.loh AdrpAdd Lloh350, Lloh351
.loh AdrpAdd Lloh348, Lloh349
.loh AdrpLdr Lloh352, Lloh353
.loh AdrpLdr Lloh354, Lloh355
.loh AdrpLdr Lloh356, Lloh357
.loh AdrpLdr Lloh358, Lloh359
.loh AdrpLdr Lloh360, Lloh361
.loh AdrpLdr Lloh362, Lloh363
.loh AdrpAdd Lloh372, Lloh373
.loh AdrpAdd Lloh370, Lloh371
.loh AdrpAdd Lloh368, Lloh369
.loh AdrpAdd Lloh366, Lloh367
.loh AdrpAdd Lloh364, Lloh365
.loh AdrpAdd Lloh374, Lloh375
.loh AdrpAdd Lloh376, Lloh377
.loh AdrpAdd Lloh378, Lloh379
.loh AdrpAdd Lloh384, Lloh385
.loh AdrpAdd Lloh382, Lloh383
.loh AdrpAdd Lloh380, Lloh381
.loh AdrpAdd Lloh386, Lloh387
.loh AdrpAdd Lloh388, Lloh389
.loh AdrpAdd Lloh390, Lloh391
.loh AdrpAdd Lloh392, Lloh393
.loh AdrpLdr Lloh394, Lloh395
.loh AdrpLdr Lloh396, Lloh397
.loh AdrpLdr Lloh398, Lloh399
.loh AdrpLdr Lloh400, Lloh401
.loh AdrpLdr Lloh402, Lloh403
.loh AdrpLdr Lloh404, Lloh405
.loh AdrpAdd Lloh406, Lloh407
.loh AdrpAdd Lloh412, Lloh413
.loh AdrpAdd Lloh410, Lloh411
.loh AdrpAdd Lloh408, Lloh409
.loh AdrpAdd Lloh420, Lloh421
.loh AdrpAdd Lloh418, Lloh419
.loh AdrpAdd Lloh416, Lloh417
.loh AdrpAdd Lloh414, Lloh415
.loh AdrpAdd Lloh422, Lloh423
.loh AdrpAdd Lloh424, Lloh425
.loh AdrpAdd Lloh426, Lloh427
.loh AdrpAdd Lloh428, Lloh429
.loh AdrpAdd Lloh430, Lloh431
.loh AdrpAdd Lloh432, Lloh433
.loh AdrpAdd Lloh434, Lloh435
.loh AdrpAdd Lloh438, Lloh439
.loh AdrpAdd Lloh436, Lloh437
.loh AdrpAdd Lloh442, Lloh443
.loh AdrpAdd Lloh440, Lloh441
.loh AdrpAdd Lloh444, Lloh445
.loh AdrpAdd Lloh446, Lloh447
.loh AdrpAdd Lloh448, Lloh449
.loh AdrpAdd Lloh453, Lloh454
.loh AdrpLdrGotLdr Lloh450, Lloh451, Lloh452
.loh AdrpAdd Lloh460, Lloh461
.loh AdrpAdd Lloh458, Lloh459
.loh AdrpLdrGotLdr Lloh455, Lloh456, Lloh457
.loh AdrpAdd Lloh462, Lloh463
.loh AdrpAdd Lloh464, Lloh465
.loh AdrpAdd Lloh466, Lloh467
.loh AdrpAdd Lloh468, Lloh469
.loh AdrpAdd Lloh470, Lloh471
.loh AdrpAdd Lloh472, Lloh473
.loh AdrpAdd Lloh474, Lloh475
.loh AdrpAdd Lloh476, Lloh477
.loh AdrpAdd Lloh478, Lloh479
.loh AdrpAdd Lloh480, Lloh481
.loh AdrpAdd Lloh482, Lloh483
.loh AdrpAdd Lloh491, Lloh492
.loh AdrpAdd Lloh489, Lloh490
.loh AdrpAdd Lloh487, Lloh488
.loh AdrpLdrGotLdr Lloh484, Lloh485, Lloh486
.loh AdrpAdd Lloh498, Lloh499
.loh AdrpAdd Lloh496, Lloh497
.loh AdrpLdrGotLdr Lloh493, Lloh494, Lloh495
.loh AdrpAdd Lloh500, Lloh501
.loh AdrpAdd Lloh502, Lloh503
.loh AdrpAdd Lloh504, Lloh505
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function del_PGbind
_del_PGbind: ; @del_PGbind
.cfi_startproc
; %bb.0:
cbz x0, LBB3_8
; %bb.1:
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
ldr x3, [x0, #80]
cbz x3, LBB3_4
; %bb.2:
Lloh506:
adrp x0, l_.str.143@PAGE
Lloh507:
add x0, x0, l_.str.143@PAGEOFF
mov w1, #20
mov w2, #1
bl _fwrite
ldr x3, [x19, #80]
Lloh508:
adrp x0, l_.str.84@PAGE
Lloh509:
add x0, x0, l_.str.84@PAGEOFF
mov w1, #2
mov w2, #1
bl _fwrite
ldr x3, [x19, #80]
Lloh510:
adrp x0, l_.str.144@PAGE
Lloh511:
add x0, x0, l_.str.144@PAGEOFF
mov w1, #7
mov w2, #1
bl _fwrite
ldr x3, [x19, #80]
Lloh512:
adrp x0, l_.str.145@PAGE
Lloh513:
add x0, x0, l_.str.145@PAGEOFF
mov w1, #8
mov w2, #1
bl _fwrite
ldr x0, [x19, #80]
bl _fclose
cbz w0, LBB3_4
; %bb.3:
Lloh514:
adrp x8, ___stderrp@GOTPAGE
Lloh515:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh516:
ldr x0, [x8]
Lloh517:
adrp x8, l_.str.16@PAGE
Lloh518:
add x8, x8, l_.str.16@PAGEOFF
str x8, [sp]
Lloh519:
adrp x1, l_.str.146@PAGE
Lloh520:
add x1, x1, l_.str.146@PAGEOFF
bl _fprintf
LBB3_4:
ldr x8, [x19, #8]
cbz x8, LBB3_7
; %bb.5:
ldr x0, [x8, #544]
cbz x0, LBB3_7
; %bb.6:
bl _fclose
LBB3_7:
str xzr, [x19, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
LBB3_8:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpAdd Lloh512, Lloh513
.loh AdrpAdd Lloh510, Lloh511
.loh AdrpAdd Lloh508, Lloh509
.loh AdrpAdd Lloh506, Lloh507
.loh AdrpAdd Lloh519, Lloh520
.loh AdrpAdd Lloh517, Lloh518
.loh AdrpLdrGotLdr Lloh514, Lloh515, Lloh516
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function lex_line
_lex_line: ; @lex_line
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
add x0, x0, #256
ldr x2, [x19, #544]
mov w1, #256
bl _fgets
mov x20, x0
cbz x0, LBB4_6
; %bb.1:
ldr w8, [x19, #552]
add w21, w8, #1
str w21, [x19, #552]
mov x0, x20
mov w1, #10
bl _strchr
cbz x0, LBB4_3
; %bb.2:
strb wzr, [x0]
b LBB4_6
LBB4_3:
Lloh521:
adrp x8, ___stderrp@GOTPAGE
Lloh522:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh523:
ldr x0, [x8]
ldr x8, [x19, #536]
stp x21, x8, [sp, #8]
Lloh524:
adrp x8, l_.str.16@PAGE
Lloh525:
add x8, x8, l_.str.16@PAGEOFF
str x8, [sp]
Lloh526:
adrp x1, l_.str.19@PAGE
Lloh527:
add x1, x1, l_.str.19@PAGEOFF
bl _fprintf
LBB4_4: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, #544]
bl _getc
cmp w0, #10
ccmn w0, #1, #4, ne
b.ne LBB4_4
; %bb.5:
mov x20, #0
LBB4_6:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh526, Lloh527
.loh AdrpAdd Lloh524, Lloh525
.loh AdrpLdrGotLdr Lloh521, Lloh522, Lloh523
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function lex_error
_lex_error: ; @lex_error
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
cmp w2, #0
mov w8, #520
mov w9, #512
csel x8, x9, x8, eq
ldr x8, [x0, x8]
sub x9, x8, x0
sub x10, x8, #10
cmp x9, #10
csel x20, x10, x0, gt
sub w23, w8, w20
Lloh528:
adrp x22, ___stderrp@GOTPAGE
Lloh529:
ldr x22, [x22, ___stderrp@GOTPAGEOFF]
ldr x8, [x22]
ldr x9, [x0, #536]
ldr w10, [x0, #552]
stp x10, x9, [sp, #8]
Lloh530:
adrp x21, l_.str.16@PAGE
Lloh531:
add x21, x21, l_.str.16@PAGEOFF
str x21, [sp]
Lloh532:
adrp x1, l_.str.20@PAGE
Lloh533:
add x1, x1, l_.str.20@PAGEOFF
mov x0, x8
bl _fprintf
ldr x0, [x22]
str x21, [sp]
Lloh534:
adrp x1, l_.str.21@PAGE
Lloh535:
add x1, x1, l_.str.21@PAGEOFF
bl _fprintf
mov x21, x0
ldr x0, [x22]
str x20, [sp]
Lloh536:
adrp x1, l_.str.22@PAGE
Lloh537:
add x1, x1, l_.str.22@PAGEOFF
bl _fprintf
ldr x20, [x22]
add w23, w21, w23
cmp w23, #1
b.lt LBB5_4
; %bb.1:
Lloh538:
adrp x24, l_.str.25@PAGE
Lloh539:
add x24, x24, l_.str.25@PAGEOFF
Lloh540:
adrp x21, l_.str.24@PAGE
Lloh541:
add x21, x21, l_.str.24@PAGEOFF
LBB5_2: ; =>This Inner Loop Header: Depth=1
stp x23, x24, [sp]
mov x0, x20
mov x1, x21
bl _fprintf
sub w23, w23, w0
cmp w23, #0
b.gt LBB5_2
; %bb.3:
ldr x20, [x22]
LBB5_4:
mov w0, #94
mov x1, x20
bl _putc
ldr x0, [x22]
str x19, [sp]
Lloh542:
adrp x1, l_.str.23@PAGE
Lloh543:
add x1, x1, l_.str.23@PAGEOFF
bl _fprintf
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 Lloh536, Lloh537
.loh AdrpAdd Lloh534, Lloh535
.loh AdrpAdd Lloh532, Lloh533
.loh AdrpAdd Lloh530, Lloh531
.loh AdrpLdrGot Lloh528, Lloh529
.loh AdrpAdd Lloh540, Lloh541
.loh AdrpAdd Lloh538, Lloh539
.loh AdrpAdd Lloh542, Lloh543
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function read_type
_read_type: ; @read_type
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x20, [x0, #520]
ldrb w8, [x20]
Lloh544:
adrp x23, __DefaultRuneLocale@GOTPAGE
Lloh545:
ldr x23, [x23, __DefaultRuneLocale@GOTPAGEOFF]
cbz w8, LBB6_8
; %bb.1:
add x20, x20, #1
LBB6_2: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
tbnz w8, #7, LBB6_4
; %bb.3: ; in Loop: Header=BB6_2 Depth=1
add x8, x23, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbnz w0, LBB6_5
b LBB6_7
LBB6_4: ; in Loop: Header=BB6_2 Depth=1
mov w1, #16384
bl ___maskrune
cbz w0, LBB6_7
LBB6_5: ; in Loop: Header=BB6_2 Depth=1
str x20, [x19, #520]
ldrb w8, [x20], #1
cbnz w8, LBB6_2
; %bb.6:
sub x20, x20, #1
b LBB6_8
LBB6_7:
ldr x20, [x19, #520]
LBB6_8:
str x20, [x19, #512]
ldrb w8, [x20]
mov x24, x20
cbz w8, LBB6_17
; %bb.9:
mov w21, #1280
b LBB6_11
LBB6_10: ; in Loop: Header=BB6_11 Depth=1
add x9, x24, #1
str x9, [x19, #520]
ldrb w8, [x24, #1]
cbz w8, LBB6_15
LBB6_11: ; =>This Inner Loop Header: Depth=1
sxtb w20, w8
tbnz w8, #7, LBB6_13
; %bb.12: ; in Loop: Header=BB6_11 Depth=1
add x8, x23, w20, uxtw #2
ldr w8, [x8, #60]
and w0, w8, w21
ldr x24, [x19, #520]
cbz w0, LBB6_14
b LBB6_10
LBB6_13: ; in Loop: Header=BB6_11 Depth=1
mov x0, x20
mov w1, #1280
bl ___maskrune
ldr x24, [x19, #520]
cbnz w0, LBB6_10
LBB6_14: ; in Loop: Header=BB6_11 Depth=1
cmp w20, #95
b.eq LBB6_10
b LBB6_16
LBB6_15:
mov x24, x9
LBB6_16:
ldr x20, [x19, #512]
LBB6_17:
sub w8, w24, w20
sxtw x21, w8
Lloh546:
adrp x8, _datatypes@PAGE+8
Lloh547:
ldr x22, [x8, _datatypes@PAGEOFF+8]
mov x0, x22
bl _strlen
cmp x21, x0
b.ne LBB6_19
; %bb.18:
mov x0, x20
mov x1, x22
mov x2, x21
bl _strncmp
Lloh548:
adrp x8, _datatypes@PAGE
Lloh549:
ldr w8, [x8, _datatypes@PAGEOFF]
cmp w0, #0
csel w22, w8, wzr, eq
cbnz w22, LBB6_41
b LBB6_20
LBB6_19:
mov w22, #0
cbnz w22, LBB6_41
LBB6_20:
Lloh550:
adrp x8, _datatypes@PAGE+32
Lloh551:
ldr x22, [x8, _datatypes@PAGEOFF+32]
mov x0, x22
bl _strlen
cmp x21, x0
b.ne LBB6_22
; %bb.21:
mov x0, x20
mov x1, x22
mov x2, x21
bl _strncmp
Lloh552:
adrp x8, _datatypes@PAGE+24
Lloh553:
ldr w8, [x8, _datatypes@PAGEOFF+24]
cmp w0, #0
csel w22, w8, wzr, eq
cbnz w22, LBB6_41
b LBB6_23
LBB6_22:
mov w22, #0
cbnz w22, LBB6_41
LBB6_23:
Lloh554:
adrp x8, _datatypes@PAGE+56
Lloh555:
ldr x22, [x8, _datatypes@PAGEOFF+56]
mov x0, x22
bl _strlen
cmp x21, x0
b.ne LBB6_25
; %bb.24:
mov x0, x20
mov x1, x22
mov x2, x21
bl _strncmp
Lloh556:
adrp x8, _datatypes@PAGE+48
Lloh557:
ldr w8, [x8, _datatypes@PAGEOFF+48]
cmp w0, #0
csel w22, w8, wzr, eq
cbnz w22, LBB6_41
b LBB6_26
LBB6_25:
mov w22, #0
cbnz w22, LBB6_41
LBB6_26:
Lloh558:
adrp x8, _datatypes@PAGE+80
Lloh559:
ldr x22, [x8, _datatypes@PAGEOFF+80]
mov x0, x22
bl _strlen
cmp x21, x0
b.ne LBB6_28
; %bb.27:
mov x0, x20
mov x1, x22
mov x2, x21
bl _strncmp
Lloh560:
adrp x8, _datatypes@PAGE+72
Lloh561:
ldr w8, [x8, _datatypes@PAGEOFF+72]
cmp w0, #0
csel w22, w8, wzr, eq
b LBB6_29
LBB6_28:
mov w22, #0
LBB6_29:
cbnz w22, LBB6_41
; %bb.30:
Lloh562:
adrp x8, _datatypes@PAGE+104
Lloh563:
ldr x22, [x8, _datatypes@PAGEOFF+104]
mov x0, x22
bl _strlen
cmp x21, x0
b.ne LBB6_32
; %bb.31:
mov x0, x20
mov x1, x22
mov x2, x21
bl _strncmp
Lloh564:
adrp x8, _datatypes@PAGE+96
Lloh565:
ldr w8, [x8, _datatypes@PAGEOFF+96]
cmp w0, #0
csel w22, w8, wzr, eq
b LBB6_33
LBB6_32:
mov w22, #0
LBB6_33:
cbnz w22, LBB6_41
; %bb.34:
Lloh566:
adrp x8, _datatypes@PAGE+128
Lloh567:
ldr x22, [x8, _datatypes@PAGEOFF+128]
mov x0, x22
bl _strlen
cmp x21, x0
b.ne LBB6_36
; %bb.35:
mov x0, x20
mov x1, x22
mov x2, x21
bl _strncmp
Lloh568:
adrp x8, _datatypes@PAGE+120
Lloh569:
ldr w8, [x8, _datatypes@PAGEOFF+120]
cmp w0, #0
csel w22, w8, wzr, eq
b LBB6_37
LBB6_36:
mov w22, #0
LBB6_37:
cbnz w22, LBB6_41
; %bb.38:
Lloh570:
adrp x8, _datatypes@PAGE+152
Lloh571:
ldr x22, [x8, _datatypes@PAGEOFF+152]
mov x0, x22
bl _strlen
cmp x21, x0
b.ne LBB6_40
; %bb.39:
mov x0, x20
mov x1, x22
mov x2, x21
bl _strncmp
Lloh572:
adrp x8, _datatypes@PAGE+144
Lloh573:
ldr w8, [x8, _datatypes@PAGEOFF+144]
cmp w0, #0
csel w22, w8, wzr, eq
b LBB6_41
LBB6_40:
mov w22, #0
LBB6_41:
ldrb w8, [x24]
cbz w8, LBB6_47
; %bb.42:
add x20, x24, #1
LBB6_43: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
tbnz w8, #7, LBB6_45
; %bb.44: ; in Loop: Header=BB6_43 Depth=1
add x8, x23, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbnz w0, LBB6_46
b LBB6_47
LBB6_45: ; in Loop: Header=BB6_43 Depth=1
mov w1, #16384
bl ___maskrune
cbz w0, LBB6_47
LBB6_46: ; in Loop: Header=BB6_43 Depth=1
str x20, [x19, #520]
ldrb w8, [x20], #1
cbnz w8, LBB6_43
LBB6_47:
mov x0, x22
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh544, Lloh545
.loh AdrpLdr Lloh546, Lloh547
.loh AdrpLdr Lloh548, Lloh549
.loh AdrpLdr Lloh550, Lloh551
.loh AdrpLdr Lloh552, Lloh553
.loh AdrpLdr Lloh554, Lloh555
.loh AdrpLdr Lloh556, Lloh557
.loh AdrpLdr Lloh558, Lloh559
.loh AdrpLdr Lloh560, Lloh561
.loh AdrpLdr Lloh562, Lloh563
.loh AdrpLdr Lloh564, Lloh565
.loh AdrpLdr Lloh566, Lloh567
.loh AdrpLdr Lloh568, Lloh569
.loh AdrpLdr Lloh570, Lloh571
.loh AdrpLdr Lloh572, Lloh573
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function read_name
_read_name: ; @read_name
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x9, [x0, #520]
ldrb w8, [x9]
Lloh574:
adrp x21, __DefaultRuneLocale@GOTPAGE
Lloh575:
ldr x21, [x21, __DefaultRuneLocale@GOTPAGEOFF]
cbz w8, LBB7_8
; %bb.1:
add x20, x9, #1
LBB7_2: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
tbnz w8, #7, LBB7_4
; %bb.3: ; in Loop: Header=BB7_2 Depth=1
add x8, x21, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbnz w0, LBB7_5
b LBB7_7
LBB7_4: ; in Loop: Header=BB7_2 Depth=1
mov w1, #16384
bl ___maskrune
cbz w0, LBB7_7
LBB7_5: ; in Loop: Header=BB7_2 Depth=1
str x20, [x19, #520]
ldrb w8, [x20], #1
cbnz w8, LBB7_2
; %bb.6:
sub x9, x20, #1
b LBB7_8
LBB7_7:
ldr x9, [x19, #520]
LBB7_8:
str x9, [x19, #512]
ldr x22, [x19, #528]
ldrb w8, [x9]
mov x9, x22
cbz w8, LBB7_16
; %bb.9:
mov w23, #1280
b LBB7_11
LBB7_10: ; in Loop: Header=BB7_11 Depth=1
ldr x8, [x19, #520]
add x9, x8, #1
str x9, [x19, #520]
ldrb w8, [x8]
ldr x9, [x19, #528]
add x10, x9, #1
str x10, [x19, #528]
strb w8, [x9]
ldr x8, [x19, #520]
ldrb w8, [x8]
cbz w8, LBB7_15
LBB7_11: ; =>This Inner Loop Header: Depth=1
sxtb w20, w8
tbnz w8, #7, LBB7_13
; %bb.12: ; in Loop: Header=BB7_11 Depth=1
add x8, x21, w20, uxtw #2
ldr w8, [x8, #60]
and w0, w8, w23
cbz w0, LBB7_14
b LBB7_10
LBB7_13: ; in Loop: Header=BB7_11 Depth=1
mov x0, x20
mov w1, #1280
bl ___maskrune
cbnz w0, LBB7_10
LBB7_14: ; in Loop: Header=BB7_11 Depth=1
cmp w20, #95
b.eq LBB7_10
LBB7_15:
ldr x9, [x19, #528]
LBB7_16:
add x8, x9, #1
str x8, [x19, #528]
strb wzr, [x9]
ldr x9, [x19, #520]
ldrb w8, [x9]
cbz w8, LBB7_22
; %bb.17:
add x20, x9, #1
LBB7_18: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
tbnz w8, #7, LBB7_20
; %bb.19: ; in Loop: Header=BB7_18 Depth=1
add x8, x21, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbnz w0, LBB7_21
b LBB7_22
LBB7_20: ; in Loop: Header=BB7_18 Depth=1
mov w1, #16384
bl ___maskrune
cbz w0, LBB7_22
LBB7_21: ; in Loop: Header=BB7_18 Depth=1
str x20, [x19, #520]
ldrb w8, [x20], #1
cbnz w8, LBB7_18
LBB7_22:
ldrb w8, [x22]
cmp w8, #0
csel x0, xzr, x22, eq
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh574, Lloh575
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function wrap_line
_wrap_line: ; @wrap_line
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x0, [sp, #40] ; 8-byte Folded Spill
mov w8, #7
cmp w3, #75
csel w26, w8, w3, gt
ldrb w8, [x1]
cbz w8, LBB8_29
; %bb.1:
mov x24, x1
Lloh576:
adrp x27, l_.str.25@PAGE
Lloh577:
add x27, x27, l_.str.25@PAGEOFF
Lloh578:
adrp x20, l_.str.24@PAGE
Lloh579:
add x20, x20, l_.str.24@PAGEOFF
Lloh580:
adrp x28, __DefaultRuneLocale@GOTPAGE
Lloh581:
ldr x28, [x28, __DefaultRuneLocale@GOTPAGEOFF]
str w26, [sp, #36] ; 4-byte Folded Spill
b LBB8_4
LBB8_2: ; in Loop: Header=BB8_4 Depth=1
mov x0, x22
bl _strlen
mov x19, x0
LBB8_3: ; in Loop: Header=BB8_4 Depth=1
add x24, x22, w19, sxtw
ldrb w8, [x24]
cmp w8, #0
Lloh582:
adrp x8, l_.str.98@PAGE
Lloh583:
add x8, x8, l_.str.98@PAGEOFF
Lloh584:
adrp x9, l_.str.34@PAGE
Lloh585:
add x9, x9, l_.str.34@PAGEOFF
csel x8, x9, x8, eq
stp x22, x8, [sp, #8]
mov x8, x19
str x8, [sp]
ldr x0, [sp, #40] ; 8-byte Folded Reload
Lloh586:
adrp x1, l_.str.129@PAGE
Lloh587:
add x1, x1, l_.str.129@PAGEOFF
bl _fprintf
mov w2, #0
ldrb w8, [x24]
cbz w8, LBB8_28
LBB8_4: ; =>This Loop Header: Depth=1
; Child Loop BB8_8 Depth 2
; Child Loop BB8_14 Depth 2
; Child Loop BB8_19 Depth 2
cmp w26, #1
b.lt LBB8_10
; %bb.5: ; in Loop: Header=BB8_4 Depth=1
mov x25, x2
subs w19, w26, w2
b.le LBB8_11
; %bb.6: ; in Loop: Header=BB8_4 Depth=1
mov x25, x26
cmp w19, #1
b.lt LBB8_11
; %bb.7: ; in Loop: Header=BB8_4 Depth=1
Lloh588:
adrp x8, ___stderrp@GOTPAGE
Lloh589:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh590:
ldr x22, [x8]
LBB8_8: ; Parent Loop BB8_4 Depth=1
; => This Inner Loop Header: Depth=2
stp x19, x27, [sp]
mov x0, x22
mov x1, x20
bl _fprintf
sub w19, w19, w0
cmp w19, #0
b.gt LBB8_8
; %bb.9: ; in Loop: Header=BB8_4 Depth=1
mov x25, x26
b LBB8_11
LBB8_10: ; in Loop: Header=BB8_4 Depth=1
mov x25, x2
LBB8_11: ; in Loop: Header=BB8_4 Depth=1
sub x22, x24, #1
add x8, x24, #1
b LBB8_14
LBB8_12: ; in Loop: Header=BB8_14 Depth=2
mov w1, #16384
bl ___maskrune
LBB8_13: ; in Loop: Header=BB8_14 Depth=2
add x22, x22, #1
add x8, x21, #1
cbz w0, LBB8_16
LBB8_14: ; Parent Loop BB8_4 Depth=1
; => This Inner Loop Header: Depth=2
mov x21, x8
ldrsb w0, [x22, #1]
tbnz w0, #31, LBB8_12
; %bb.15: ; in Loop: Header=BB8_14 Depth=2
add x8, x28, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
b LBB8_13
LBB8_16: ; in Loop: Header=BB8_4 Depth=1
ldrb w8, [x22]
cbz w8, LBB8_2
; %bb.17: ; in Loop: Header=BB8_4 Depth=1
mov x23, #0
mov w9, #75
sub w9, w9, w25
sxtw x26, w9
mov w19, #-1
b LBB8_19
LBB8_18: ; in Loop: Header=BB8_19 Depth=2
add x23, x23, #1
ldrb w8, [x21], #1
cbz w8, LBB8_26
LBB8_19: ; Parent Loop BB8_4 Depth=1
; => This Inner Loop Header: Depth=2
cmp x23, x26
b.lt LBB8_21
; %bb.20: ; in Loop: Header=BB8_19 Depth=2
tbz w19, #31, LBB8_25
LBB8_21: ; in Loop: Header=BB8_19 Depth=2
sxtb w24, w8
tbnz w24, #31, LBB8_23
; %bb.22: ; in Loop: Header=BB8_19 Depth=2
add x8, x28, w24, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbnz w0, LBB8_24
b LBB8_18
LBB8_23: ; in Loop: Header=BB8_19 Depth=2
mov x0, x24
mov w1, #16384
bl ___maskrune
cbz w0, LBB8_18
LBB8_24: ; in Loop: Header=BB8_19 Depth=2
mov x19, x23
cmp w24, #10
b.ne LBB8_18
LBB8_25: ; in Loop: Header=BB8_4 Depth=1
ldr w26, [sp, #36] ; 4-byte Folded Reload
b LBB8_27
LBB8_26: ; in Loop: Header=BB8_4 Depth=1
ldr w26, [sp, #36] ; 4-byte Folded Reload
tbnz w19, #31, LBB8_2
LBB8_27: ; in Loop: Header=BB8_4 Depth=1
ldrb w8, [x22, w23, uxtw]
cbnz w8, LBB8_3
b LBB8_2
LBB8_28:
add w2, w19, w25
LBB8_29:
mov x0, x2
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGot Lloh580, Lloh581
.loh AdrpAdd Lloh578, Lloh579
.loh AdrpAdd Lloh576, Lloh577
.loh AdrpAdd Lloh586, Lloh587
.loh AdrpAdd Lloh584, Lloh585
.loh AdrpAdd Lloh582, Lloh583
.loh AdrpLdrGotLdr Lloh588, Lloh589, Lloh590
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "void"
l_.str.1: ; @.str.1
.asciz "(void *)"
l_.str.2: ; @.str.2
.asciz "int"
l_.str.3: ; @.str.3
.asciz "(int *)"
l_.str.4: ; @.str.4
.asciz "float"
l_.str.5: ; @.str.5
.asciz "(float *)"
l_.str.6: ; @.str.6
.asciz "double"
l_.str.7: ; @.str.7
.asciz "(double *)"
l_.str.8: ; @.str.8
.asciz "char"
l_.str.9: ; @.str.9
.asciz "(char *)"
l_.str.10: ; @.str.10
.asciz "Logical"
l_.str.11: ; @.str.11
.asciz "(Logical *)"
l_.str.12: ; @.str.12
.asciz "const"
.section __DATA,__data
.globl _datatypes ; @datatypes
.p2align 3
_datatypes:
.long 1 ; 0x1
.space 4
.quad l_.str
.quad l_.str.1
.long 2 ; 0x2
.space 4
.quad l_.str.2
.quad l_.str.3
.long 3 ; 0x3
.space 4
.quad l_.str.4
.quad l_.str.5
.long 4 ; 0x4
.space 4
.quad l_.str.6
.quad l_.str.7
.long 5 ; 0x5
.space 4
.quad l_.str.8
.quad l_.str.9
.long 6 ; 0x6
.space 4
.quad l_.str.10
.quad l_.str.11
.long 7 ; 0x7
.space 4
.quad l_.str.12
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.13: ; @.str.13
.asciz "r"
l_.str.14: ; @.str.14
.asciz "(stdin)"
l_.str.15: ; @.str.15
.asciz "%s: Error opening: %s\n"
l_.str.16: ; @.str.16
.asciz "pgbind"
l_.str.17: ; @.str.17
.asciz "C%"
l_.str.18: ; @.str.18
.asciz "Prototype too long"
l_.str.19: ; @.str.19
.asciz "%s: Line %d of file %s is too long.\n"
l_.str.20: ; @.str.20
.asciz "%s: Error on line %d of file: %s\n"
l_.str.21: ; @.str.21
.asciz "%s: "
l_.str.22: ; @.str.22
.asciz "%.20s...\n"
l_.str.23: ; @.str.23
.asciz "%s.\n"
l_.str.24: ; @.str.24
.asciz "%.*s"
l_.str.25: ; @.str.25
.asciz " "
l_.str.26: ; @.str.26
.asciz "Bad function return type"
l_.str.27: ; @.str.27
.asciz "Pointer return types not allowed"
l_.str.28: ; @.str.28
.asciz "Bad function name"
l_.str.29: ; @.str.29
.asciz "Expected '(' here"
l_.str.30: ; @.str.30
.asciz "Unrecognised data-type"
l_.str.31: ; @.str.31
.asciz "void data-type illegal in this context"
l_.str.32: ; @.str.32
.asciz "Pointer to pointer not allowed"
l_.str.33: ; @.str.33
.asciz "Pointless const qualifier to pass-by-value argument.\n"
l_.str.34: ; @.str.34
.space 1
l_.str.35: ; @.str.35
.asciz "Bad argument name"
l_.str.36: ; @.str.36
.asciz "Too many arguments"
l_.str.37: ; @.str.37
.asciz "Incomplete argument list"
l_.str.38: ; @.str.38
.asciz "Unexpected character"
l_.str.39: ; @.str.39
.asciz "Unexpected character follows prototype"
l_.str.40: ; @.str.40
.asciz "_scalar"
l_.str.41: ; @.str.41
.asciz "_length"
l_.str.42: ; @.str.42
.asciz "%s %s("
l_.str.43: ; @.str.43
.asciz "void)"
l_.str.44: ; @.str.44
.asciz "%s%s%s%s%s"
l_.str.45: ; @.str.45
.asciz "const "
l_.str.46: ; @.str.46
.asciz " *"
l_.str.47: ; @.str.47
.asciz " "
l_.str.48: ; @.str.48
.asciz ", "
l_.str.49: ; @.str.49
.asciz ")"
l_.str.50: ; @.str.50
.asciz ";\n"
.zerofill __DATA,__bss,_write_wrapper.buffer,256,0 ; @write_wrapper.buffer
l_.str.51: ; @.str.51
.asciz "%s.c"
l_.str.52: ; @.str.52
.asciz "w"
l_.str.53: ; @.str.53
.asciz "%s: Can't open output wrapper file: %s\n"
l_.str.54: ; @.str.54
.asciz "#include \"cpgplot.h\"\n"
l_.str.55: ; @.str.55
.asciz "#include <string.h>\n"
l_.str.56: ; @.str.56
.asciz "#include <fortran.h>\n"
l_.str.57: ; @.str.57
.asciz "#include <descrip.h>\n"
l_.str.58: ; @.str.58
.asciz "%s "
l_.str.59: ; @.str.59
.asciz "();\n"
l_.str.60: ; @.str.60
.asciz "\n%s %s("
l_.str.61: ; @.str.61
.asciz "\n{\n"
l_.str.62: ; @.str.62
.asciz " int l_%s = %s ? %d:%d;\n"
l_.str.63: ; @.str.63
.asciz " int len_%s = "
l_.str.64: ; @.str.64
.asciz "1;\n"
l_.str.65: ; @.str.65
.asciz "strlen(%s);\n"
l_.str.66: ; @.str.66
.asciz "--(%s%s_length);\n"
l_.str.67: ; @.str.67
.asciz "*"
l_.str.68: ; @.str.68
.asciz " struct dsc$descriptor_s dsc_%s = {0, DSC$K_DTYPE_T, DSC$K_CLASS_S, 0};\n"
l_.str.69: ; @.str.69
.asciz " %s r_value;\n"
l_.str.70: ; @.str.70
.asciz " dsc_%s.dsc$a_pointer = %s%s;\n"
l_.str.71: ; @.str.71
.asciz " dsc_%s.dsc$w_length = len_%s;\n"
l_.str.72: ; @.str.72
.asciz " %s"
l_.str.73: ; @.str.73
.asciz "r_value = "
l_.str.74: ; @.str.74
.asciz "&l_%s"
l_.str.75: ; @.str.75
.asciz "_cptofcd(%s%s, len_%s)"
l_.str.76: ; @.str.76
.asciz "&"
l_.str.77: ; @.str.77
.asciz "&dsc_%s"
l_.str.78: ; @.str.78
.asciz "%s%s"
l_.str.79: ; @.str.79
.asciz ", len_%s"
l_.str.80: ; @.str.80
.asciz ");\n"
l_.str.81: ; @.str.81
.asciz " %s%s[%s%s_length] = '\\0';\n"
l_.str.82: ; @.str.82
.asciz " *%s = l_%s==%d ? 1:0;"
l_.str.83: ; @.str.83
.asciz " return r_value;\n"
l_.str.84: ; @.str.84
.asciz "}\n"
l_.str.85: ; @.str.85
.asciz "%s: Error closing wrapper file: %s.c\n"
l_.str.87: ; @.str.87
.asciz "Usage: %s template"
l_.str.88: ; @.str.88
.asciz " [%s %s]"
.section __DATA,__const
.p2align 3 ; @options
_options:
.long 1 ; 0x1
.space 4
.quad l_.str.107
.quad l_.str.34
.quad l_.str.108
.long 2 ; 0x2
.space 4
.quad l_.str.109
.quad l_.str.34
.quad l_.str.110
.long 3 ; 0x3
.space 4
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.long 4 ; 0x4
.space 4
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.long 5 ; 0x5
.space 4
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.long 6 ; 0x6
.space 4
.quad l_.str.120
.quad l_.str.118
.quad l_.str.121
.section __TEXT,__cstring,cstring_literals
l_.str.89: ; @.str.89
.asciz " [files]\n"
l_.str.90: ; @.str.90
.asciz "\n Where template must be one of:\n"
.section __DATA,__const
.p2align 3 ; @systable
_systable:
.quad l_.str.122
.long 1 ; 0x1
.space 4
.quad l_.str.123
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.space 4
.quad l_.str.124
.quad l_.str.125
.long 2 ; 0x2
.space 4
.quad l_.str.34
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.space 4
.quad l_.str.126
.quad l_.str.127
.long 3 ; 0x3
.space 4
.quad l_.str.34
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.long 0 ; 0x0
.space 4
.quad l_.str.128
.section __TEXT,__cstring,cstring_literals
l_.str.91: ; @.str.91
.asciz " %-10s "
l_.str.92: ; @.str.92
.asciz "Default options: "
l_.str.93: ; @.str.93
.asciz " %s \"%s\""
l_.str.94: ; @.str.94
.asciz " %s %s"
l_.str.95: ; @.str.95
.asciz "lower"
l_.str.96: ; @.str.96
.asciz "upper"
l_.str.97: ; @.str.97
.asciz " %s %d"
l_.str.98: ; @.str.98
.asciz "\n"
l_.str.99: ; @.str.99
.asciz "\n Options:\n"
l_.str.100: ; @.str.100
.asciz " %-8s %-12s "
l_.str.101: ; @.str.101
.asciz "\nPrototype input files:\n"
l_.str.102: ; @.str.102
.asciz " files "
l_.str.103: ; @.str.103
.asciz "Each file can contain zero or more C prototypes. "
l_.str.104: ; @.str.104
.asciz "Each prototype consists of one or more lines, each line marked with C% in columns 1-2. "
l_.str.105: ; @.str.105
.asciz "Continuation lines are heralded by a '\\' character at the end of the line being continued.\n"
l_.str.106: ; @.str.106
.asciz "If no files are specified, standard input is read."
l_.str.107: ; @.str.107
.asciz "-w"
l_.str.108: ; @.str.108
.asciz "Write wrapper files."
l_.str.109: ; @.str.109
.asciz "-h"
l_.str.110: ; @.str.110
.asciz "Write a new wrapper-library header file."
l_.str.111: ; @.str.111
.asciz "-suffix"
l_.str.112: ; @.str.112
.asciz "string"
l_.str.113: ; @.str.113
.asciz "The suffix appended to FORTRAN symbols by the linker."
l_.str.114: ; @.str.114
.asciz "-case"
l_.str.115: ; @.str.115
.asciz "upper|lower"
l_.str.116: ; @.str.116
.asciz "The typographical case given to FORTRAN symbols by the linker."
l_.str.117: ; @.str.117
.asciz "-false"
l_.str.118: ; @.str.118
.asciz "integer"
l_.str.119: ; @.str.119
.asciz "The numerical value of FORTRAN .FALSE."
l_.str.120: ; @.str.120
.asciz "-true"
l_.str.121: ; @.str.121
.asciz "The numerical value of FORTRAN .TRUE."
l_.str.122: ; @.str.122
.asciz "bsd"
l_.str.123: ; @.str.123
.asciz "_"
l_.str.124: ; @.str.124
.asciz "BSD f77 template. C string pointers are passed directly, but the length of each string is appended as an extra argument to the FORTRAN procedure call."
l_.str.125: ; @.str.125
.asciz "cray2"
l_.str.126: ; @.str.126
.asciz "Cray-2 FORTRAN template. C string pointers and lengths are combined into a single argument with the Cray fortran.h _cptofcd(pointer,length) macro."
l_.str.127: ; @.str.127
.asciz "vms"
l_.str.128: ; @.str.128
.asciz "VMS FORTRAN template. C strings are passed via FORTRAN string descriptors."
l_.str.129: ; @.str.129
.asciz "%.*s%s"
l_.str.130: ; @.str.130
.asciz "%s: Insufficient memory.\n"
l_.str.131: ; @.str.131
.asciz "cpgplot.h"
l_.str.132: ; @.str.132
.asciz "%s: Unrecognised template name: %s\n"
l_.str.133: ; @.str.133
.asciz "%s: Missing argument to the %s option.\n"
l_.str.134: ; @.str.134
.asciz "%s: Invalid combination: \"%s %s\"\n"
l_.str.135: ; @.str.135
.asciz "%s: The argument of %s must be a number.\n"
l_.str.136: ; @.str.136
.asciz "%s: Unrecognised \"%s\" option.\n"
l_.str.137: ; @.str.137
.asciz "%s: Unable to open header file: %s\n"
l_.str.138: ; @.str.138
.asciz "#ifndef cpgplot_h\n#define cpgplot_h\n\n"
l_.str.139: ; @.str.139
.asciz "#ifdef __cplusplus\n"
l_.str.140: ; @.str.140
.asciz "extern \"C\" {\n"
l_.str.141: ; @.str.141
.asciz "#endif\n\n"
l_.str.142: ; @.str.142
.asciz "typedef int Logical;\n\n"
l_.str.143: ; @.str.143
.asciz "\n#ifdef __cplusplus\n"
l_.str.144: ; @.str.144
.asciz "#endif\n"
l_.str.145: ; @.str.145
.asciz "\n#endif\n"
l_.str.146: ; @.str.146
.asciz "%s: Error closing header file.\n"
.subsections_via_symbols
| the_stack_data/90766608.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hv_kvp_detach
_hv_kvp_detach: ## @hv_kvp_detach
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %r14d
callq _device_get_softc
movq %rax, %rbx
movq 8(%rax), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _PROC_LOCK
movq 8(%rbx), %rdi
movq _SIGKILL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kern_psignal
movq 8(%rbx), %rdi
callq _PROC_UNLOCK
LBB0_2:
movl (%rbx), %edi
callq _destroy_dev
movl %r14d, %edi
popq %rbx
popq %r14
popq %rbp
jmp _vmbus_ic_detach ## TAILCALL
.cfi_endproc
## -- End function
.comm _SIGKILL,4,2 ## @SIGKILL
.no_dead_strip _hv_kvp_detach
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hv_kvp_detach
_hv_kvp_detach: ; @hv_kvp_detach
.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 _device_get_softc
mov x20, x0
ldr x0, [x0, #8]
cbz x0, LBB0_2
; %bb.1:
bl _PROC_LOCK
ldr x0, [x20, #8]
Lloh0:
adrp x8, _SIGKILL@GOTPAGE
Lloh1:
ldr x8, [x8, _SIGKILL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _kern_psignal
ldr x0, [x20, #8]
bl _PROC_UNLOCK
LBB0_2:
ldr w0, [x20]
bl _destroy_dev
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _vmbus_ic_detach
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SIGKILL,4,2 ; @SIGKILL
.no_dead_strip _hv_kvp_detach
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/hyperv/utilities/extr_hv_kvp.c_hv_kvp_detach.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _COM_DefaultExtension ## -- Begin function COM_DefaultExtension
.p2align 4, 0x90
_COM_DefaultExtension: ## @COM_DefaultExtension
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movl %esi, %r14d
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_QPATH@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq %r12, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
movq %r15, %rdi
callq _strlen
cltq
notq %rax
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl (%r15,%rax), %ecx
cmpb $47, %cl
sete %dl
testq %rax, %rax
sete %sil
testb %sil, %dl
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
decq %rax
cmpb $46, %cl
jne LBB0_1
jmp LBB0_4
LBB0_3:
movq %r13, %rdi
movq %r15, %rsi
movl %r12d, %edx
callq _Q_strncpyz
leaq L_.str(%rip), %rdx
movq %r15, %rdi
movl %r14d, %esi
movq %r13, %rcx
movq %rbx, %r8
callq _Com_sprintf
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_6
## %bb.5:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_QPATH,4,2 ## @MAX_QPATH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _COM_DefaultExtension ; -- Begin function COM_DefaultExtension
.p2align 2
_COM_DefaultExtension: ; @COM_DefaultExtension
.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
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x8, _MAX_QPATH@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_QPATH@GOTPAGEOFF]
Lloh5:
ldr w22, [x8]
mov x9, x22
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x22, #15
and x9, x9, #0x1fffffff0
sub x23, x8, x9
mov sp, x23
bl _strlen
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
mvn x8, x8
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x21, x8]
cmp w9, #47
ccmp x8, #0, #0, eq
b.eq LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
sub x8, x8, #1
cmp w9, #46
b.ne LBB0_1
b LBB0_4
LBB0_3:
mov x0, x23
mov x1, x21
mov x2, x22
bl _Q_strncpyz
Lloh8:
adrp x2, l_.str@PAGE
Lloh9:
add x2, x2, l_.str@PAGEOFF
mov x0, x21
mov x1, x20
mov x3, x23
mov x4, x19
bl _Com_sprintf
LBB0_4:
ldur x8, [x29, #-56]
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_6
; %bb.5:
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_6:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MAX_QPATH,4,2 ; @MAX_QPATH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s%s"
.subsections_via_symbols
| assembly_file_141538.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %rdi
leaq -20(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -20(%rbp)
jle LBB0_3
## %bb.1:
leaq L_.str.1(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
incl %ebx
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
cmpl -20(%rbp), %ebx
jl LBB0_2
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp 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
add x8, sp, #12
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov w20, #0
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
add w20, w20, #1
str x20, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #12]
cmp w20, w8
b.lt LBB0_2
LBB0_3:
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 Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/91208.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _variable,4,2 ## @variable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _variable,4,2 ; @variable
.subsections_via_symbols
| the_stack_data/69838.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function cobra_read_packet
_cobra_read_packet: ## @cobra_read_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _COBRA_MAX_STROBE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _gameport_time
ud2
.cfi_endproc
## -- End function
.comm _COBRA_MAX_STROBE,4,2 ## @COBRA_MAX_STROBE
.comm _COBRA_LENGTH,4,2 ## @COBRA_LENGTH
.no_dead_strip _cobra_read_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function cobra_read_packet
_cobra_read_packet: ; @cobra_read_packet
.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
Lloh0:
adrp x8, _COBRA_MAX_STROBE@GOTPAGE
Lloh1:
ldr x8, [x8, _COBRA_MAX_STROBE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _gameport_time
brk #0x1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _COBRA_MAX_STROBE,4,2 ; @COBRA_MAX_STROBE
.comm _COBRA_LENGTH,4,2 ; @COBRA_LENGTH
.no_dead_strip _cobra_read_packet
.subsections_via_symbols
| assembly_file_35761.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function AliasHandleDummy
_AliasHandleDummy: ## @AliasHandleDummy
.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 _AliasHandleDummy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function AliasHandleDummy
_AliasHandleDummy: ; @AliasHandleDummy
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _AliasHandleDummy
.subsections_via_symbols
| AnghaBench/freebsd/sys/netinet/libalias/extr_alias_dummy.c_AliasHandleDummy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qib_map_phys_fmr ## -- Begin function qib_map_phys_fmr
.p2align 4, 0x90
_qib_map_phys_fmr: ## @qib_map_phys_fmr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r13
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %r14
callq _to_ifmr
movq %rax, %rbx
leaq 40(%rax), %rdi
callq _atomic_read
cmpl $3, %eax
jl LBB0_3
## %bb.1:
movq _EBUSY@GOTPCREL(%rip), %rcx
jmp LBB0_2
LBB0_3:
cmpl %r15d, (%rbx)
jge LBB0_5
## %bb.4:
movq _EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_9
LBB0_5:
movl (%r14), %edi
callq _to_idev
movq %rax, %r14
movq %rax, %rdi
callq _spin_lock_irqsave
movq %r13, 32(%rbx)
movq %r13, 24(%rbx)
movb 4(%rbx), %cl
movl $1, %r10d
shll %cl, %r10d
movl %r15d, %edx
shll %cl, %edx
movl %edx, 8(%rbx)
testl %r15d, %r15d
jle LBB0_8
## %bb.6:
movq 16(%rbx), %r13
movl %r15d, %r11d
xorl %r8d, %r8d
movq _QIB_SEGSZ@GOTPCREL(%rip), %r9
xorl %ebx, %ebx
xorl %esi, %esi
xorl %edi, %edi
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq (%r12,%rbx,8), %r15
movl %edi, %edx
movq (%r13,%rdx,8), %rcx
movq (%rcx), %rcx
movslq %esi, %rsi
movq %rsi, %rax
shlq $4, %rax
movq %r15, 8(%rcx,%rax)
movq (%r13,%rdx,8), %rcx
movq (%rcx), %rcx
movl %r10d, (%rcx,%rax)
incl %esi
xorl %eax, %eax
cmpl (%r9), %esi
cmovel %r8d, %esi
sete %al
addl %eax, %edi
incq %rbx
cmpq %rbx, %r11
jne LBB0_7
LBB0_8:
movq %r14, %rdi
callq _spin_unlock_irqrestore
xorl %eax, %eax
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EBUSY,4,2 ## @EBUSY
.comm _EINVAL,4,2 ## @EINVAL
.comm _QIB_SEGSZ,4,2 ## @QIB_SEGSZ
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qib_map_phys_fmr ; -- Begin function qib_map_phys_fmr
.p2align 2
_qib_map_phys_fmr: ; @qib_map_phys_fmr
.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 x23, x3
mov x21, x2
mov x19, x1
mov x20, x0
bl _to_ifmr
mov x22, x0
add x0, x0, #40
bl _atomic_read
cmp w0, #3
b.lt LBB0_2
; %bb.1:
Lloh0:
adrp x8, _EBUSY@GOTPAGE
Lloh1:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
b LBB0_4
LBB0_2:
ldr w8, [x22]
cmp w8, w21
b.ge LBB0_5
; %bb.3:
Lloh2:
adrp x8, _EINVAL@GOTPAGE
Lloh3:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
ldr w8, [x8]
neg w0, w8
b LBB0_9
LBB0_5:
ldr w0, [x20]
bl _to_idev
mov x20, x0
bl _spin_lock_irqsave
stp x23, x23, [x22, #24]
ldr w10, [x22, #4]
lsl w8, w21, w10
str w8, [x22, #8]
cmp w21, #1
b.lt LBB0_8
; %bb.6:
mov w8, #0
mov w9, #0
mov w11, #1
lsl w10, w11, w10
ldr x11, [x22, #16]
mov w12, w21
Lloh4:
adrp x13, _QIB_SEGSZ@GOTPAGE
Lloh5:
ldr x13, [x13, _QIB_SEGSZ@GOTPAGEOFF]
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x14, [x19], #8
mov w15, w9
lsl x15, x15, #3
ldr x16, [x11, x15]
ldr x16, [x16]
sbfiz x17, x8, #4, #32
add x16, x16, x17
str x14, [x16, #8]
ldr x14, [x11, x15]
ldr x14, [x14]
str w10, [x14, x17]
add w14, w8, #1
ldr w15, [x13]
cmp w14, w15
cinc w9, w9, eq
csinc w8, wzr, w8, eq
subs x12, x12, #1
b.ne LBB0_7
LBB0_8:
mov x0, x20
bl _spin_unlock_irqrestore
mov w0, #0
LBB0_9:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EBUSY,4,2 ; @EBUSY
.comm _EINVAL,4,2 ; @EINVAL
.comm _QIB_SEGSZ,4,2 ; @QIB_SEGSZ
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_mr.c_qib_map_phys_fmr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_neon_swp
_do_neon_swp: ## @do_neon_swp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _NS_DD@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _NS_QQ@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _NS_NULL@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _neon_select_shape
movl %eax, %edi
callq _neon_quad
movl %eax, %edi
movl $1, %esi
movl $-1, %edx
popq %rbp
jmp _neon_two_same ## TAILCALL
.cfi_endproc
## -- End function
.comm _NS_DD,4,2 ## @NS_DD
.comm _NS_QQ,4,2 ## @NS_QQ
.comm _NS_NULL,4,2 ## @NS_NULL
.no_dead_strip _do_neon_swp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_neon_swp
_do_neon_swp: ; @do_neon_swp
.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, _NS_DD@GOTPAGE
Lloh1:
ldr x8, [x8, _NS_DD@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _NS_QQ@GOTPAGE
Lloh4:
ldr x8, [x8, _NS_QQ@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x8, _NS_NULL@GOTPAGE
Lloh7:
ldr x8, [x8, _NS_NULL@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
bl _neon_select_shape
bl _neon_quad
mov w1, #1
mov w2, #-1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _neon_two_same
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NS_DD,4,2 ; @NS_DD
.comm _NS_QQ,4,2 ; @NS_QQ
.comm _NS_NULL,4,2 ; @NS_NULL
.no_dead_strip _do_neon_swp
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arm.c_do_neon_swp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _enum08 ## -- Begin function enum08
.p2align 4, 0x90
_enum08: ## @enum08
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _enum08 ; -- Begin function enum08
.p2align 2
_enum08: ; @enum08
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/198581527.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function readadv
_readadv: ## @readadv
.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 _wptr@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _rptr@GOTPCREL(%rip), %r14
subq (%r14), %rax
movq %rdi, %rbx
xorl %edi, %edi
cmpq %rbx, %rax
setae %dil
callq _assert
movq (%r14), %rdi
movq _idx_crc32c_complement@GOTPCREL(%rip), %r15
movl (%r15), %edx
movq %rbx, %rsi
callq _crc32c_partial
movl %eax, (%r15)
addq %rbx, (%r14)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _wptr,8,3 ## @wptr
.comm _rptr,8,3 ## @rptr
.comm _idx_crc32c_complement,4,2 ## @idx_crc32c_complement
.no_dead_strip _readadv
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function readadv
_readadv: ; @readadv
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _wptr@GOTPAGE
Lloh1:
ldr x8, [x8, _wptr@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x20, _rptr@GOTPAGE
Lloh4:
ldr x20, [x20, _rptr@GOTPAGEOFF]
ldr x9, [x20]
sub x8, x8, x9
cmp x8, x0
cset w0, hs
bl _assert
ldr x0, [x20]
Lloh5:
adrp x21, _idx_crc32c_complement@GOTPAGE
Lloh6:
ldr x21, [x21, _idx_crc32c_complement@GOTPAGEOFF]
ldr w2, [x21]
mov x1, x19
bl _crc32c_partial
str w0, [x21]
ldr x8, [x20]
add x8, x8, x19
str x8, [x20]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _wptr,8,3 ; @wptr
.comm _rptr,8,3 ; @rptr
.comm _idx_crc32c_complement,4,2 ; @idx_crc32c_complement
.no_dead_strip _readadv
.subsections_via_symbols
| AnghaBench/kphp-kdb/weights/extr_weights-data.c_readadv.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _u8_textprep_str ## -- Begin function u8_textprep_str
.p2align 4, 0x90
_u8_textprep_str: ## @u8_textprep_str
.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 $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r13
movl %r8d, %r14d
movq %rcx, -120(%rbp) ## 8-byte Spill
movq %rdx, -96(%rbp) ## 8-byte Spill
movq %rsi, %r12
movq %rdi, %rbx
movq 16(%rbp), %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _U8_STREAM_SAFE_TEXT_MAX@GOTPCREL(%rip), %rax
movl (%rax), %eax
decl %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rsi
movq _U8_UNICODE_LATEST@GOTPCREL(%rip), %rax
movq %r13, -136(%rbp) ## 8-byte Spill
cmpq %r13, (%rax)
jae LBB0_2
## %bb.1:
movq _ERANGE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r15)
jmp LBB0_10
LBB0_2:
movq %r12, -112(%rbp) ## 8-byte Spill
movq _U8_TEXTPREP_TOUPPER@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _U8_TEXTPREP_TOLOWER@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %edx, %eax
orl %r8d, %eax
movl %eax, %r12d
andl %r14d, %r12d
cmpl %eax, %r12d
je LBB0_8
## %bb.3:
movq _U8_CANON_DECOMP@GOTPCREL(%rip), %rax
movq _U8_COMPAT_DECOMP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _U8_CANON_COMP@GOTPCREL(%rip), %rax
orl (%rax), %ecx
testl %r14d, %ecx
jne LBB0_8
## %bb.4:
movq _U8_TEXTPREP_NFD@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_13
## %bb.5:
movq _U8_TEXTPREP_NFC@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_13
## %bb.6:
movq _U8_TEXTPREP_NFKD@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_13
## %bb.7:
movq _U8_TEXTPREP_NFKC@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_13
LBB0_8:
movq _EBADF@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %eax
movq 16(%rbp), %rcx
movl %eax, (%rcx)
LBB0_10:
movq $-1, %rbx
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_93
## %bb.12:
movq %rbx, %rax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
testq %rbx, %rbx
je LBB0_82
## %bb.14:
movq -112(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
testq %rax, %rax
je LBB0_82
## %bb.15:
movq -96(%rbp), %r9 ## 8-byte Reload
testq %r9, %r9
je LBB0_83
## %bb.16:
movq %rbx, %r11
movl %edx, -100(%rbp) ## 4-byte Spill
leaq (%rbx,%rax), %r13
movq -120(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %r15
addq %r9, %r15
testq %rax, %rax
jle LBB0_84
## %bb.17:
movq _U8_TEXTPREP_IGNORE_NULL@GOTPCREL(%rip), %rax
movq _U8_TEXTPREP_IGNORE_INVALID@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, -76(%rbp) ## 4-byte Spill
andl %r14d, %r8d
leaq 7(%rsi), %rcx
movq %rcx, -128(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
movl (%rax), %eax
andl %r14d, %eax
movl %eax, -104(%rbp) ## 4-byte Spill
movq %r11, %rdx
movq %rsi, -88(%rbp) ## 8-byte Spill
movl %r8d, -52(%rbp) ## 4-byte Spill
movl %r14d, -80(%rbp) ## 4-byte Spill
movq %r13, -64(%rbp) ## 8-byte Spill
movq %r15, -72(%rbp) ## 8-byte Spill
jmp LBB0_23
LBB0_82:
xorl %ebx, %ebx
jmp LBB0_11
LBB0_18: ## in Loop: Header=BB0_23 Depth=1
movsbl %al, %edi
movq %r15, %r13
movq %r9, %r15
movq %rdx, %r14
callq _U8_ASCII_TOUPPER
LBB0_19: ## in Loop: Header=BB0_23 Depth=1
movq %r14, %rdx
movq %r15, %r9
movq %r13, %r15
movq -64(%rbp), %r13 ## 8-byte Reload
movl -80(%rbp), %r14d ## 4-byte Reload
movl -52(%rbp), %r8d ## 4-byte Reload
movq -88(%rbp), %rsi ## 8-byte Reload
## kill: def $al killed $al def $rax
LBB0_20: ## in Loop: Header=BB0_23 Depth=1
movb %al, (%r9)
incq %rdx
incq %r9
LBB0_21: ## in Loop: Header=BB0_23 Depth=1
movq %rdx, %r11
LBB0_22: ## in Loop: Header=BB0_23 Depth=1
movq %r11, %rdx
cmpq %r13, %r11
jae LBB0_92
LBB0_23: ## =>This Loop Header: Depth=1
## Child Loop BB0_49 Depth 2
## Child Loop BB0_64 Depth 2
## Child Loop BB0_67 Depth 2
## Child Loop BB0_56 Depth 2
## Child Loop BB0_73 Depth 2
## Child Loop BB0_78 Depth 2
## Child Loop BB0_41 Depth 2
## Child Loop BB0_60 Depth 2
movsbq (%rdx), %rax
testq %rax, %rax
jne LBB0_25
## %bb.24: ## in Loop: Header=BB0_23 Depth=1
cmpl $0, -104(%rbp) ## 4-byte Folded Reload
je LBB0_80
LBB0_25: ## in Loop: Header=BB0_23 Depth=1
movq _u8_number_of_bytes@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq (%rcx,%rax,4), %rcx
testq %rcx, %rcx
js LBB0_28
## %bb.26: ## in Loop: Header=BB0_23 Depth=1
cmpl $1, %ecx
jne LBB0_34
## %bb.27: ## in Loop: Header=BB0_23 Depth=1
movq 16(%rbp), %rcx
jmp LBB0_30
LBB0_28: ## in Loop: Header=BB0_23 Depth=1
testl %r14d, -76(%rbp) ## 4-byte Folded Reload
movq 16(%rbp), %rcx
je LBB0_86
## %bb.29: ## in Loop: Header=BB0_23 Depth=1
decq %rbx
LBB0_30: ## in Loop: Header=BB0_23 Depth=1
cmpq %r15, %r9
jae LBB0_85
## %bb.31: ## in Loop: Header=BB0_23 Depth=1
testl %r8d, %r8d
jne LBB0_18
## %bb.32: ## in Loop: Header=BB0_23 Depth=1
testl %r14d, -100(%rbp) ## 4-byte Folded Reload
je LBB0_20
## %bb.33: ## in Loop: Header=BB0_23 Depth=1
movsbl %al, %edi
movq %r15, %r13
movq %r9, %r15
movq %rdx, %r14
callq _U8_ASCII_TOLOWER
jmp LBB0_19
LBB0_34: ## in Loop: Header=BB0_23 Depth=1
leaq (%rdx,%rcx), %r15
cmpq %r13, %r15
jbe LBB0_43
## %bb.35: ## in Loop: Header=BB0_23 Depth=1
testl %r14d, -76(%rbp) ## 4-byte Folded Reload
je LBB0_88
## %bb.36: ## in Loop: Header=BB0_23 Depth=1
movq -72(%rbp), %r15 ## 8-byte Reload
movq %r15, %rcx
subq %r9, %rcx
movq -64(%rbp), %r13 ## 8-byte Reload
movq %r13, %rax
subq %rdx, %rax
cmpq %rax, %rcx
movq 16(%rbp), %rcx
jl LBB0_85
## %bb.37: ## in Loop: Header=BB0_23 Depth=1
incq %rbx
cmpq %r13, %rdx
jae LBB0_21
## %bb.38: ## in Loop: Header=BB0_23 Depth=1
cmpq $32, %rax
jb LBB0_58
## %bb.39: ## in Loop: Header=BB0_23 Depth=1
movq %r9, %rcx
subq %rdx, %rcx
cmpq $32, %rcx
jb LBB0_58
## %bb.40: ## in Loop: Header=BB0_23 Depth=1
movq %rax, %r10
andq $-32, %r10
leaq (%r9,%r10), %rcx
leaq (%rdx,%r10), %r11
xorl %edi, %edi
LBB0_41: ## Parent Loop BB0_23 Depth=1
## => This Inner Loop Header: Depth=2
movups (%rdx,%rdi), %xmm0
movups 16(%rdx,%rdi), %xmm1
movups %xmm0, (%r9,%rdi)
movups %xmm1, 16(%r9,%rdi)
addq $32, %rdi
cmpq %rdi, %r10
jne LBB0_41
## %bb.42: ## in Loop: Header=BB0_23 Depth=1
cmpq %r10, %rax
jne LBB0_59
jmp LBB0_69
LBB0_43: ## in Loop: Header=BB0_23 Depth=1
testl %r12d, %r12d
je LBB0_51
## %bb.44: ## in Loop: Header=BB0_23 Depth=1
movq -136(%rbp), %rdi ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx
movq %r9, -96(%rbp) ## 8-byte Spill
movq %rdx, %r13
callq _do_case_conv
movq -96(%rbp), %r9 ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
subq %r9, %rcx
cmpq %rax, %rcx
jb LBB0_89
## %bb.45: ## in Loop: Header=BB0_23 Depth=1
testq %rax, %rax
movq %r15, %r11
je LBB0_61
## %bb.46: ## in Loop: Header=BB0_23 Depth=1
cmpq $32, %rax
movq -88(%rbp), %rsi ## 8-byte Reload
jb LBB0_62
## %bb.47: ## in Loop: Header=BB0_23 Depth=1
movq %r9, %rcx
subq %rsi, %rcx
cmpq $31, %rcx
jbe LBB0_62
## %bb.48: ## in Loop: Header=BB0_23 Depth=1
movq %rax, %rdx
andq $-32, %rdx
leaq (%r9,%rdx), %rcx
xorl %edi, %edi
movl -52(%rbp), %r8d ## 4-byte Reload
movq -72(%rbp), %r15 ## 8-byte Reload
LBB0_49: ## Parent Loop BB0_23 Depth=1
## => This Inner Loop Header: Depth=2
movaps (%rsi,%rdi), %xmm0
movaps 16(%rsi,%rdi), %xmm1
movups %xmm0, (%r9,%rdi)
movups %xmm1, 16(%r9,%rdi)
addq $32, %rdi
cmpq %rdi, %rdx
jne LBB0_49
## %bb.50: ## in Loop: Header=BB0_23 Depth=1
cmpq %rdx, %rax
movq -64(%rbp), %r13 ## 8-byte Reload
jne LBB0_63
jmp LBB0_69
LBB0_51: ## in Loop: Header=BB0_23 Depth=1
movq -72(%rbp), %r15 ## 8-byte Reload
movq %r15, %rax
subq %r9, %rax
cmpq %rcx, %rax
jl LBB0_90
## %bb.52: ## in Loop: Header=BB0_23 Depth=1
testl %ecx, %ecx
movq -64(%rbp), %r13 ## 8-byte Reload
je LBB0_21
## %bb.53: ## in Loop: Header=BB0_23 Depth=1
cmpl $32, %ecx
jb LBB0_70
## %bb.54: ## in Loop: Header=BB0_23 Depth=1
movq %r9, %rax
subq %rdx, %rax
cmpq $31, %rax
jbe LBB0_70
## %bb.55: ## in Loop: Header=BB0_23 Depth=1
movl %ecx, %r10d
andl $2147483616, %r10d ## imm = 0x7FFFFFE0
leaq (%r9,%r10), %rax
leaq (%rdx,%r10), %r11
xorl %edi, %edi
LBB0_56: ## Parent Loop BB0_23 Depth=1
## => This Inner Loop Header: Depth=2
movups (%rdx,%rdi), %xmm0
movups 16(%rdx,%rdi), %xmm1
movups %xmm0, (%r9,%rdi)
movups %xmm1, 16(%r9,%rdi)
addq $32, %rdi
cmpq %rdi, %r10
jne LBB0_56
## %bb.57: ## in Loop: Header=BB0_23 Depth=1
cmpq %rcx, %r10
jne LBB0_71
jmp LBB0_79
LBB0_58: ## in Loop: Header=BB0_23 Depth=1
movq %r9, %rcx
movq %rdx, %r11
LBB0_59: ## in Loop: Header=BB0_23 Depth=1
movq %rcx, %r9
LBB0_60: ## Parent Loop BB0_23 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r11), %eax
incq %r11
movb %al, (%r9)
incq %r9
cmpq %r13, %r11
jb LBB0_60
jmp LBB0_22
LBB0_61: ## in Loop: Header=BB0_23 Depth=1
movq -88(%rbp), %rsi ## 8-byte Reload
movl -52(%rbp), %r8d ## 4-byte Reload
movq -72(%rbp), %r15 ## 8-byte Reload
movq -64(%rbp), %r13 ## 8-byte Reload
jmp LBB0_22
LBB0_62: ## in Loop: Header=BB0_23 Depth=1
xorl %edx, %edx
movq %r9, %rcx
movl -52(%rbp), %r8d ## 4-byte Reload
movq -72(%rbp), %r15 ## 8-byte Reload
movq -64(%rbp), %r13 ## 8-byte Reload
LBB0_63: ## in Loop: Header=BB0_23 Depth=1
movq %rax, %rdi
movq %rdx, %r9
andq $7, %rdi
je LBB0_65
LBB0_64: ## Parent Loop BB0_23 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rsi,%r9), %r10d
movb %r10b, (%rcx)
incq %rcx
incq %r9
decq %rdi
jne LBB0_64
LBB0_65: ## in Loop: Header=BB0_23 Depth=1
subq %rax, %rdx
cmpq $-8, %rdx
ja LBB0_69
## %bb.66: ## in Loop: Header=BB0_23 Depth=1
movq -128(%rbp), %rdx ## 8-byte Reload
addq %r9, %rdx
subq %r9, %rax
xorl %r9d, %r9d
LBB0_67: ## Parent Loop BB0_23 Depth=1
## => This Inner Loop Header: Depth=2
movzbl -7(%rdx,%r9), %edi
movb %dil, (%rcx,%r9)
movzbl -6(%rdx,%r9), %edi
movb %dil, 1(%rcx,%r9)
movzbl -5(%rdx,%r9), %edi
movb %dil, 2(%rcx,%r9)
movzbl -4(%rdx,%r9), %edi
movb %dil, 3(%rcx,%r9)
movzbl -3(%rdx,%r9), %edi
movb %dil, 4(%rcx,%r9)
movzbl -2(%rdx,%r9), %edi
movb %dil, 5(%rcx,%r9)
movzbl -1(%rdx,%r9), %edi
movb %dil, 6(%rcx,%r9)
movzbl (%rdx,%r9), %edi
movb %dil, 7(%rcx,%r9)
addq $8, %r9
cmpq %r9, %rax
jne LBB0_67
## %bb.68: ## in Loop: Header=BB0_23 Depth=1
addq %r9, %rcx
LBB0_69: ## in Loop: Header=BB0_23 Depth=1
movq %rcx, %r9
jmp LBB0_22
LBB0_70: ## in Loop: Header=BB0_23 Depth=1
xorl %r10d, %r10d
movq %r9, %rax
movq %rdx, %r11
LBB0_71: ## in Loop: Header=BB0_23 Depth=1
movq %rcx, %r9
andq $7, %r9
je LBB0_75
## %bb.72: ## in Loop: Header=BB0_23 Depth=1
movq %r10, %rdx
negq %r9
xorl %edi, %edi
LBB0_73: ## Parent Loop BB0_23 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r11), %r10d
incq %r11
movb %r10b, (%rax)
incq %rax
decq %rdi
cmpq %rdi, %r9
jne LBB0_73
## %bb.74: ## in Loop: Header=BB0_23 Depth=1
movq %rdx, %r10
movq %rdx, %r9
subq %rdi, %r9
jmp LBB0_76
LBB0_75: ## in Loop: Header=BB0_23 Depth=1
movq %r10, %r9
LBB0_76: ## in Loop: Header=BB0_23 Depth=1
subq %rcx, %r10
cmpq $-8, %r10
ja LBB0_79
## %bb.77: ## in Loop: Header=BB0_23 Depth=1
subq %r9, %rcx
LBB0_78: ## Parent Loop BB0_23 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r11), %edx
movb %dl, (%rax)
movzbl 1(%r11), %edx
movb %dl, 1(%rax)
movzbl 2(%r11), %edx
movb %dl, 2(%rax)
movzbl 3(%r11), %edx
movb %dl, 3(%rax)
movzbl 4(%r11), %edx
movb %dl, 4(%rax)
movzbl 5(%r11), %edx
movb %dl, 5(%rax)
movzbl 6(%r11), %edx
movb %dl, 6(%rax)
movzbl 7(%r11), %edx
addq $8, %r11
movb %dl, 7(%rax)
addq $8, %rax
addq $-8, %rcx
jne LBB0_78
LBB0_79: ## in Loop: Header=BB0_23 Depth=1
movq %rax, %r9
jmp LBB0_22
.p2align 4, 0x90
LBB0_80: ## =>This Inner Loop Header: Depth=1
jmp LBB0_80
LBB0_83:
movq _E2BIG@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_84:
xorl %ebx, %ebx
jmp LBB0_92
LBB0_85:
movq _E2BIG@GOTPCREL(%rip), %rax
jmp LBB0_87
LBB0_86:
movq _EILSEQ@GOTPCREL(%rip), %rax
LBB0_87:
movl (%rax), %eax
movl %eax, (%rcx)
movq $-1, %rbx
movq %rdx, %r11
jmp LBB0_92
LBB0_88:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 16(%rbp), %rcx
movl %eax, (%rcx)
movq $-1, %rbx
movq %rdx, %r11
movq -72(%rbp), %r15 ## 8-byte Reload
jmp LBB0_91
LBB0_89:
movq _E2BIG@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 16(%rbp), %rcx
movl %eax, (%rcx)
movq $-1, %rbx
movq %r13, %r11
movq -72(%rbp), %r15 ## 8-byte Reload
jmp LBB0_91
LBB0_90:
movq _E2BIG@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 16(%rbp), %rcx
movl %eax, (%rcx)
movq $-1, %rbx
movq %rdx, %r11
LBB0_91:
movq -64(%rbp), %r13 ## 8-byte Reload
LBB0_92:
subq %r11, %r13
movq -112(%rbp), %rax ## 8-byte Reload
movq %r13, (%rax)
subq %r9, %r15
movq -120(%rbp), %rax ## 8-byte Reload
movq %r15, (%rax)
jmp LBB0_11
LBB0_93:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _U8_STREAM_SAFE_TEXT_MAX,4,2 ## @U8_STREAM_SAFE_TEXT_MAX
.comm _U8_UNICODE_LATEST,8,3 ## @U8_UNICODE_LATEST
.comm _ERANGE,4,2 ## @ERANGE
.comm _U8_TEXTPREP_TOUPPER,4,2 ## @U8_TEXTPREP_TOUPPER
.comm _U8_TEXTPREP_TOLOWER,4,2 ## @U8_TEXTPREP_TOLOWER
.comm _EBADF,4,2 ## @EBADF
.comm _U8_CANON_DECOMP,4,2 ## @U8_CANON_DECOMP
.comm _U8_COMPAT_DECOMP,4,2 ## @U8_COMPAT_DECOMP
.comm _U8_CANON_COMP,4,2 ## @U8_CANON_COMP
.comm _U8_TEXTPREP_NFD,4,2 ## @U8_TEXTPREP_NFD
.comm _U8_TEXTPREP_NFC,4,2 ## @U8_TEXTPREP_NFC
.comm _U8_TEXTPREP_NFKD,4,2 ## @U8_TEXTPREP_NFKD
.comm _U8_TEXTPREP_NFKC,4,2 ## @U8_TEXTPREP_NFKC
.comm _E2BIG,4,2 ## @E2BIG
.comm _U8_TEXTPREP_IGNORE_NULL,4,2 ## @U8_TEXTPREP_IGNORE_NULL
.comm _U8_TEXTPREP_IGNORE_INVALID,4,2 ## @U8_TEXTPREP_IGNORE_INVALID
.comm _u8_number_of_bytes,8,3 ## @u8_number_of_bytes
.comm _EILSEQ,4,2 ## @EILSEQ
.comm _EINVAL,4,2 ## @EINVAL
.comm _U8_STATE_START,4,2 ## @U8_STATE_START
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _u8_textprep_str ; -- Begin function u8_textprep_str
.p2align 2
_u8_textprep_str: ; @u8_textprep_str
.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, #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
.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]
Lloh3:
adrp x8, _U8_STREAM_SAFE_TEXT_MAX@GOTPAGE
Lloh4:
ldr x8, [x8, _U8_STREAM_SAFE_TEXT_MAX@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
sub w8, w8, #1
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x19, x9, x8
mov sp, x19
Lloh8:
adrp x8, _U8_UNICODE_LATEST@GOTPAGE
Lloh9:
ldr x8, [x8, _U8_UNICODE_LATEST@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
cmp x8, x5
b.hs LBB0_2
; %bb.1:
Lloh11:
adrp x8, _ERANGE@GOTPAGE
Lloh12:
ldr x8, [x8, _ERANGE@GOTPAGEOFF]
b LBB0_9
LBB0_2:
Lloh13:
adrp x8, _U8_TEXTPREP_TOUPPER@GOTPAGE
Lloh14:
ldr x8, [x8, _U8_TEXTPREP_TOUPPER@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
Lloh16:
adrp x9, _U8_TEXTPREP_TOLOWER@GOTPAGE
Lloh17:
ldr x9, [x9, _U8_TEXTPREP_TOLOWER@GOTPAGEOFF]
Lloh18:
ldr w9, [x9]
orr w10, w9, w8
and w24, w10, w4
cmp w24, w10
b.eq LBB0_8
; %bb.3:
Lloh19:
adrp x10, _U8_CANON_DECOMP@GOTPAGE
Lloh20:
ldr x10, [x10, _U8_CANON_DECOMP@GOTPAGEOFF]
Lloh21:
ldr w10, [x10]
Lloh22:
adrp x11, _U8_COMPAT_DECOMP@GOTPAGE
Lloh23:
ldr x11, [x11, _U8_COMPAT_DECOMP@GOTPAGEOFF]
Lloh24:
ldr w11, [x11]
orr w10, w11, w10
Lloh25:
adrp x11, _U8_CANON_COMP@GOTPAGE
Lloh26:
ldr x11, [x11, _U8_CANON_COMP@GOTPAGEOFF]
Lloh27:
ldr w11, [x11]
orr w10, w10, w11
tst w10, w4
b.ne LBB0_8
; %bb.4:
Lloh28:
adrp x10, _U8_TEXTPREP_NFD@GOTPAGE
Lloh29:
ldr x10, [x10, _U8_TEXTPREP_NFD@GOTPAGEOFF]
Lloh30:
ldr w10, [x10]
cbz w10, LBB0_12
; %bb.5:
Lloh31:
adrp x10, _U8_TEXTPREP_NFC@GOTPAGE
Lloh32:
ldr x10, [x10, _U8_TEXTPREP_NFC@GOTPAGEOFF]
Lloh33:
ldr w10, [x10]
cbz w10, LBB0_12
; %bb.6:
Lloh34:
adrp x10, _U8_TEXTPREP_NFKD@GOTPAGE
Lloh35:
ldr x10, [x10, _U8_TEXTPREP_NFKD@GOTPAGEOFF]
Lloh36:
ldr w10, [x10]
cbz w10, LBB0_12
; %bb.7:
Lloh37:
adrp x10, _U8_TEXTPREP_NFKC@GOTPAGE
Lloh38:
ldr x10, [x10, _U8_TEXTPREP_NFKC@GOTPAGEOFF]
Lloh39:
ldr w10, [x10]
cbz w10, LBB0_12
LBB0_8:
Lloh40:
adrp x8, _EBADF@GOTPAGE
Lloh41:
ldr x8, [x8, _EBADF@GOTPAGEOFF]
LBB0_9:
ldr w8, [x8]
str w8, [x6]
mov x0, #-1 ; =0xffffffffffffffff
LBB0_10:
ldur x8, [x29, #-88]
Lloh42:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh43:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_80
; %bb.11:
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_12:
cbz x0, LBB0_10
; %bb.13:
ldr x10, [x1]
cbz x10, LBB0_17
; %bb.14:
cbz x2, LBB0_18
; %bb.15:
mov x22, x0
add x28, x0, x10
ldr x11, [x3]
add x23, x2, x11
cmp x10, #0
b.le LBB0_73
; %bb.16:
mov x0, #0 ; =0x0
Lloh45:
adrp x10, _U8_TEXTPREP_IGNORE_NULL@GOTPAGE
Lloh46:
ldr x10, [x10, _U8_TEXTPREP_IGNORE_NULL@GOTPAGEOFF]
Lloh47:
ldr w10, [x10]
and w25, w10, w4
Lloh48:
adrp x10, _U8_TEXTPREP_IGNORE_INVALID@GOTPAGE
Lloh49:
ldr x10, [x10, _U8_TEXTPREP_IGNORE_INVALID@GOTPAGEOFF]
Lloh50:
ldr w10, [x10]
and w27, w10, w4
and w20, w8, w4
and w8, w9, w4
stur w8, [x29, #-124] ; 4-byte Folded Spill
add x8, x19, #32
stur x8, [x29, #-136] ; 8-byte Folded Spill
mov x21, x22
stp x3, x1, [x29, #-104] ; 16-byte Folded Spill
stp x5, x6, [x29, #-120] ; 16-byte Folded Spill
b LBB0_21
LBB0_17:
mov x0, #0 ; =0x0
b LBB0_10
LBB0_18:
Lloh51:
adrp x8, _E2BIG@GOTPAGE
Lloh52:
ldr x8, [x8, _E2BIG@GOTPAGEOFF]
b LBB0_9
LBB0_19: ; in Loop: Header=BB0_21 Depth=1
mov x22, x21
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
mov x21, x22
cmp x22, x28
b.hs LBB0_78
LBB0_21: ; =>This Loop Header: Depth=1
; Child Loop BB0_49 Depth 2
; Child Loop BB0_68 Depth 2
; Child Loop BB0_57 Depth 2
; Child Loop BB0_71 Depth 2
; Child Loop BB0_31 Depth 2
; Child Loop BB0_62 Depth 2
ldrsb x9, [x21]
cmp x9, #0
ccmp w25, #0, #0, eq
b.eq LBB0_72
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
Lloh53:
adrp x8, _u8_number_of_bytes@GOTPAGE
Lloh54:
ldr x8, [x8, _u8_number_of_bytes@GOTPAGEOFF]
Lloh55:
ldr x8, [x8]
ldr w8, [x8, x9, lsl #2]
tbnz w8, #31, LBB0_34
; %bb.23: ; in Loop: Header=BB0_21 Depth=1
cmp w8, #1
b.eq LBB0_36
; %bb.24: ; in Loop: Header=BB0_21 Depth=1
add x9, x21, x8
cmp x9, x28
b.ls LBB0_43
; %bb.25: ; in Loop: Header=BB0_21 Depth=1
cbz w27, LBB0_76
; %bb.26: ; in Loop: Header=BB0_21 Depth=1
sub x8, x23, x2
sub x9, x28, x21
cmp x8, x9
b.lt LBB0_74
; %bb.27: ; in Loop: Header=BB0_21 Depth=1
add x0, x0, #1
cmp x21, x28
b.hs LBB0_19
; %bb.28: ; in Loop: Header=BB0_21 Depth=1
cmp x9, #64
b.lo LBB0_60
; %bb.29: ; in Loop: Header=BB0_21 Depth=1
sub x8, x2, x21
cmp x8, #64
b.lo LBB0_60
; %bb.30: ; in Loop: Header=BB0_21 Depth=1
and x11, x9, #0xffffffffffffffc0
add x10, x2, x11
add x8, x21, x11
add x12, x2, #32
add x13, x21, #32
mov x14, x11
LBB0_31: ; Parent Loop BB0_21 Depth=1
; => This Inner Loop Header: Depth=2
ldp q0, q1, [x13, #-32]
ldp q2, q3, [x13], #64
stp q0, q1, [x12, #-32]
stp q2, q3, [x12], #64
subs x14, x14, #64
b.ne LBB0_31
; %bb.32: ; in Loop: Header=BB0_21 Depth=1
cmp x9, x11
b.ne LBB0_61
; %bb.33: ; in Loop: Header=BB0_21 Depth=1
mov x22, x28
b LBB0_59
LBB0_34: ; in Loop: Header=BB0_21 Depth=1
cbz w27, LBB0_75
; %bb.35: ; in Loop: Header=BB0_21 Depth=1
sub x0, x0, #1
LBB0_36: ; in Loop: Header=BB0_21 Depth=1
cmp x2, x23
b.hs LBB0_74
; %bb.37: ; in Loop: Header=BB0_21 Depth=1
cbz w20, LBB0_39
; %bb.38: ; in Loop: Header=BB0_21 Depth=1
mov x22, x0
mov x0, x9
mov x26, x2
bl _U8_ASCII_TOUPPER
b LBB0_41
LBB0_39: ; in Loop: Header=BB0_21 Depth=1
ldur w8, [x29, #-124] ; 4-byte Folded Reload
cbz w8, LBB0_42
; %bb.40: ; in Loop: Header=BB0_21 Depth=1
mov x22, x0
mov x0, x9
mov x26, x2
bl _U8_ASCII_TOLOWER
LBB0_41: ; in Loop: Header=BB0_21 Depth=1
mov x2, x26
ldp x5, x6, [x29, #-120] ; 16-byte Folded Reload
ldp x3, x1, [x29, #-104] ; 16-byte Folded Reload
mov x9, x0
mov x0, x22
LBB0_42: ; in Loop: Header=BB0_21 Depth=1
strb w9, [x2], #1
add x22, x21, #1
b LBB0_20
LBB0_43: ; in Loop: Header=BB0_21 Depth=1
cbz w24, LBB0_52
; %bb.44: ; in Loop: Header=BB0_21 Depth=1
mov x22, x9
stur w25, [x29, #-128] ; 4-byte Folded Spill
mov x4, x20
mov x20, x27
mov x26, x0
mov x0, x5
mov x1, x19
mov x27, x2
mov x2, x21
mov x3, x8
mov x25, x4
bl _do_case_conv
mov x2, x27
mov x14, x23
sub x9, x23, x27
cmp x9, x0
b.lo LBB0_79
; %bb.45: ; in Loop: Header=BB0_21 Depth=1
mov x8, x0
ldur x6, [x29, #-112] ; 8-byte Folded Reload
cbz x0, LBB0_64
; %bb.46: ; in Loop: Header=BB0_21 Depth=1
mov x9, #0 ; =0x0
cmp x8, #64
ldp x3, x1, [x29, #-104] ; 16-byte Folded Reload
mov x0, x26
b.lo LBB0_66
; %bb.47: ; in Loop: Header=BB0_21 Depth=1
sub x10, x2, x19
cmp x10, #63
b.ls LBB0_66
; %bb.48: ; in Loop: Header=BB0_21 Depth=1
and x9, x8, #0xffffffffffffffc0
add x10, x2, x9
add x11, x2, #32
ldur x12, [x29, #-136] ; 8-byte Folded Reload
mov x13, x9
ldur x5, [x29, #-120] ; 8-byte Folded Reload
mov x27, x20
LBB0_49: ; Parent Loop BB0_21 Depth=1
; => This Inner Loop Header: Depth=2
ldp q0, q1, [x12, #-32]
ldp q2, q3, [x12], #64
stp q0, q1, [x11, #-32]
stp q2, q3, [x11], #64
subs x13, x13, #64
b.ne LBB0_49
; %bb.50: ; in Loop: Header=BB0_21 Depth=1
cmp x8, x9
mov x20, x25
b.ne LBB0_67
; %bb.51: ; in Loop: Header=BB0_21 Depth=1
mov x2, x10
b LBB0_65
LBB0_52: ; in Loop: Header=BB0_21 Depth=1
sub x9, x23, x2
cmp x9, x8
b.lt LBB0_74
; %bb.53: ; in Loop: Header=BB0_21 Depth=1
cbz w8, LBB0_19
; %bb.54: ; in Loop: Header=BB0_21 Depth=1
mov x9, #0 ; =0x0
cmp w8, #64
b.lo LBB0_69
; %bb.55: ; in Loop: Header=BB0_21 Depth=1
sub x10, x2, x21
cmp x10, #63
b.ls LBB0_69
; %bb.56: ; in Loop: Header=BB0_21 Depth=1
and x9, x8, #0x7fffffc0
add x10, x2, x9
add x22, x21, x9
add x11, x2, #32
add x12, x21, #32
mov x13, x9
LBB0_57: ; Parent Loop BB0_21 Depth=1
; => This Inner Loop Header: Depth=2
ldp q0, q1, [x12, #-32]
ldp q2, q3, [x12], #64
stp q0, q1, [x11, #-32]
stp q2, q3, [x11], #64
subs x13, x13, #64
b.ne LBB0_57
; %bb.58: ; in Loop: Header=BB0_21 Depth=1
cmp x9, x8
b.ne LBB0_70
LBB0_59: ; in Loop: Header=BB0_21 Depth=1
mov x2, x10
b LBB0_20
LBB0_60: ; in Loop: Header=BB0_21 Depth=1
mov x10, x2
mov x8, x21
LBB0_61: ; in Loop: Header=BB0_21 Depth=1
mov x2, x10
LBB0_62: ; Parent Loop BB0_21 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w9, [x8], #1
strb w9, [x2], #1
cmp x8, x28
b.ne LBB0_62
; %bb.63: ; in Loop: Header=BB0_21 Depth=1
mov x22, x28
b LBB0_20
LBB0_64: ; in Loop: Header=BB0_21 Depth=1
ldp x3, x1, [x29, #-104] ; 16-byte Folded Reload
ldur x5, [x29, #-120] ; 8-byte Folded Reload
mov x0, x26
mov x27, x20
mov x20, x25
LBB0_65: ; in Loop: Header=BB0_21 Depth=1
mov x23, x14
ldur w25, [x29, #-128] ; 4-byte Folded Reload
b LBB0_20
LBB0_66: ; in Loop: Header=BB0_21 Depth=1
mov x10, x2
ldur x5, [x29, #-120] ; 8-byte Folded Reload
mov x27, x20
mov x20, x25
LBB0_67: ; in Loop: Header=BB0_21 Depth=1
add x11, x19, x9
sub x8, x8, x9
mov x2, x10
mov x23, x14
ldur w25, [x29, #-128] ; 4-byte Folded Reload
LBB0_68: ; Parent Loop BB0_21 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w9, [x11], #1
strb w9, [x2], #1
subs x8, x8, #1
b.ne LBB0_68
b LBB0_20
LBB0_69: ; in Loop: Header=BB0_21 Depth=1
mov x10, x2
mov x22, x21
LBB0_70: ; in Loop: Header=BB0_21 Depth=1
sub x8, x8, x9
mov x2, x10
LBB0_71: ; Parent Loop BB0_21 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w9, [x22], #1
strb w9, [x2], #1
subs x8, x8, #1
b.ne LBB0_71
b LBB0_20
LBB0_72: ; =>This Inner Loop Header: Depth=1
b LBB0_72
LBB0_73:
mov x0, #0 ; =0x0
b LBB0_78
LBB0_74:
Lloh56:
adrp x8, _E2BIG@GOTPAGE
Lloh57:
ldr x8, [x8, _E2BIG@GOTPAGEOFF]
b LBB0_77
LBB0_75:
Lloh58:
adrp x8, _EILSEQ@GOTPAGE
Lloh59:
ldr x8, [x8, _EILSEQ@GOTPAGEOFF]
b LBB0_77
LBB0_76:
Lloh60:
adrp x8, _EINVAL@GOTPAGE
Lloh61:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_77:
ldr w8, [x8]
str w8, [x6]
mov x0, #-1 ; =0xffffffffffffffff
mov x22, x21
LBB0_78:
sub x8, x28, x22
str x8, [x1]
sub x8, x23, x2
str x8, [x3]
b LBB0_10
LBB0_79:
Lloh62:
adrp x8, _E2BIG@GOTPAGE
Lloh63:
ldr x8, [x8, _E2BIG@GOTPAGEOFF]
Lloh64:
ldr w9, [x8]
ldp x8, x3, [x29, #-112] ; 16-byte Folded Reload
str w9, [x8]
mov x0, #-1 ; =0xffffffffffffffff
mov x22, x21
ldur x1, [x29, #-96] ; 8-byte Folded Reload
mov x23, x14
b LBB0_78
LBB0_80:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGot Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGot Lloh56, Lloh57
.loh AdrpLdrGot Lloh58, Lloh59
.loh AdrpLdrGot Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _U8_STREAM_SAFE_TEXT_MAX,4,2 ; @U8_STREAM_SAFE_TEXT_MAX
.comm _U8_UNICODE_LATEST,8,3 ; @U8_UNICODE_LATEST
.comm _ERANGE,4,2 ; @ERANGE
.comm _U8_TEXTPREP_TOUPPER,4,2 ; @U8_TEXTPREP_TOUPPER
.comm _U8_TEXTPREP_TOLOWER,4,2 ; @U8_TEXTPREP_TOLOWER
.comm _EBADF,4,2 ; @EBADF
.comm _U8_CANON_DECOMP,4,2 ; @U8_CANON_DECOMP
.comm _U8_COMPAT_DECOMP,4,2 ; @U8_COMPAT_DECOMP
.comm _U8_CANON_COMP,4,2 ; @U8_CANON_COMP
.comm _U8_TEXTPREP_NFD,4,2 ; @U8_TEXTPREP_NFD
.comm _U8_TEXTPREP_NFC,4,2 ; @U8_TEXTPREP_NFC
.comm _U8_TEXTPREP_NFKD,4,2 ; @U8_TEXTPREP_NFKD
.comm _U8_TEXTPREP_NFKC,4,2 ; @U8_TEXTPREP_NFKC
.comm _E2BIG,4,2 ; @E2BIG
.comm _U8_TEXTPREP_IGNORE_NULL,4,2 ; @U8_TEXTPREP_IGNORE_NULL
.comm _U8_TEXTPREP_IGNORE_INVALID,4,2 ; @U8_TEXTPREP_IGNORE_INVALID
.comm _u8_number_of_bytes,8,3 ; @u8_number_of_bytes
.comm _EILSEQ,4,2 ; @EILSEQ
.comm _EINVAL,4,2 ; @EINVAL
.comm _U8_STATE_START,4,2 ; @U8_STATE_START
.subsections_via_symbols
| assembly_file_10791.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ahd_assert_atn
_ahd_assert_atn: ## @ahd_assert_atn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _SCSISIGO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ATNO@GOTPCREL(%rip), %rax
movl (%rax), %edx
popq %rbp
jmp _ahd_outb ## TAILCALL
.cfi_endproc
## -- End function
.comm _SCSISIGO,4,2 ## @SCSISIGO
.comm _ATNO,4,2 ## @ATNO
.no_dead_strip _ahd_assert_atn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ahd_assert_atn
_ahd_assert_atn: ; @ahd_assert_atn
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _SCSISIGO@GOTPAGE
Lloh1:
ldr x8, [x8, _SCSISIGO@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _ATNO@GOTPAGE
Lloh4:
ldr x8, [x8, _ATNO@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
b _ahd_outb
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SCSISIGO,4,2 ; @SCSISIGO
.comm _ATNO,4,2 ; @ATNO
.no_dead_strip _ahd_assert_atn
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx.c_ahd_assert_atn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function stac927x_fixup_ref_no_jd
_stac927x_fixup_ref_no_jd: ## @stac927x_fixup_ref_no_jd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _HDA_FIXUP_ACT_PRE_PROBE@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_2
## %bb.1:
movl $1, (%rdi)
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HDA_FIXUP_ACT_PRE_PROBE,4,2 ## @HDA_FIXUP_ACT_PRE_PROBE
.no_dead_strip _stac927x_fixup_ref_no_jd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function stac927x_fixup_ref_no_jd
_stac927x_fixup_ref_no_jd: ; @stac927x_fixup_ref_no_jd
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGE
Lloh1:
ldr x8, [x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_2
; %bb.1:
mov w8, #1
str w8, [x0]
LBB0_2:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _HDA_FIXUP_ACT_PRE_PROBE,4,2 ; @HDA_FIXUP_ACT_PRE_PROBE
.no_dead_strip _stac927x_fixup_ref_no_jd
.subsections_via_symbols
| AnghaBench/linux/sound/pci/hda/extr_patch_sigmatel.c_stac927x_fixup_ref_no_jd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -4(%rbp), %esi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the number"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "The number is %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the number"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "The number is %d"
.subsections_via_symbols
| the_stack_data/89199108.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _process_record_user ## -- Begin function process_record_user
.p2align 4, 0x90
_process_record_user: ## @process_record_user
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $129, %edi
je LBB0_4
## %bb.1:
cmpl $128, %edi
jne LBB0_7
## %bb.2:
cmpl $0, (%rsi)
je LBB0_7
## %bb.3:
leaq L_.str(%rip), %rdi
jmp LBB0_6
LBB0_4:
cmpl $0, (%rsi)
je LBB0_7
## %bb.5:
leaq L_.str.1(%rip), %rdi
LBB0_6:
callq _SEND_STRING
LBB0_7:
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "=>"
L_.str.1: ## @.str.1
.asciz ":="
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _process_record_user ; -- Begin function process_record_user
.p2align 2
_process_record_user: ; @process_record_user
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
cmp w0, #129
b.eq LBB0_4
; %bb.1:
cmp w0, #128
b.ne LBB0_7
; %bb.2:
ldr w8, [x1]
cbz w8, LBB0_7
; %bb.3:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
b LBB0_6
LBB0_4:
ldr w8, [x1]
cbz w8, LBB0_7
; %bb.5:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
LBB0_6:
bl _SEND_STRING
LBB0_7:
mov w0, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "=>"
l_.str.1: ; @.str.1
.asciz ":="
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/dz60/keymaps/muzfuz/extr_keymap.c_process_record_user.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
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %r12d, %r12d
xorl %edi, %edi
callq _malloc
movq %rax, %r14
leaq L_.str(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -44(%rbp)
js LBB0_3
## %bb.1:
movq $-1, %rbx
leaq L_.str(%rip), %r15
xorl %r13d, %r13d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
leaq (%r14,%r13), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _scanf
addl 4(%r14,%rbx,4), %r12d
movslq -44(%rbp), %rax
incq %rbx
addq $4, %r13
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
leaq L_.str(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %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 "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp 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 x0, #0
bl _malloc
mov x19, x0
add x8, sp, #12
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
tbnz w8, #31, LBB0_3
; %bb.1:
mov w21, #0
mov x22, #-1
Lloh2:
adrp x20, l_.str@PAGE
Lloh3:
add x20, x20, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x19, [sp]
mov x0, x20
bl _scanf
ldr w8, [x19], #4
add w21, w8, w21
ldrsw x8, [sp, #12]
add x22, x22, #1
cmp x22, x8
b.lt LBB0_2
b LBB0_4
LBB0_3:
mov w21, #0
LBB0_4:
str x21, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/82949626.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _safe_realloc ## -- Begin function safe_realloc
.p2align 4, 0x90
_safe_realloc: ## @safe_realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
callq _realloc
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq _EX_OSERR@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
leaq L_.str(%rip), %rsi
movq %rax, %rbx
callq _err
movq %rbx, %rax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EX_OSERR,4,2 ## @EX_OSERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _safe_realloc ; -- Begin function safe_realloc
.p2align 2
_safe_realloc: ; @safe_realloc
.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
bl _realloc
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _EX_OSERR@GOTPAGE
Lloh1:
ldr x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x19, x0
mov x0, x8
bl _err
mov x0, x19
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EX_OSERR,4,2 ; @EX_OSERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "realloc"
.subsections_via_symbols
| assembly_file_167301.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _freq_range_list_parse ## -- Begin function freq_range_list_parse
.p2align 4, 0x90
_freq_range_list_parse: ## @freq_range_list_parse
.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, -48(%rbp) ## 8-byte Spill
movl $0, %r15d
testq %rsi, %rsi
je LBB0_5
## %bb.1:
movq %rsi, %r12
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
leal 1(%r13), %r15d
xorl %edi, %edi
movl %r15d, %esi
movl $16, %edx
callq _os_realloc_array
testq %rax, %rax
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
callq _atoi
movl %r13d, %r14d
shlq $4, %r14
movq %r12, %rdi
movl $45, %esi
callq _os_strchr
movq %rax, %r13
movq %r12, %rdi
movl $44, %esi
callq _os_strchr
movq %rax, %rbx
decq %r13
movq %r13, %rdi
callq _atoi
leaq 1(%rbx), %r12
movq %rax, 8(%r14)
movl %r15d, %r13d
testq %rbx, %rbx
jne LBB0_2
LBB0_5:
movq -48(%rbp), %rbx ## 8-byte Reload
movq 8(%rbx), %rdi
callq _os_free
movq $0, 8(%rbx)
movl %r15d, (%rbx)
xorl %eax, %eax
jmp LBB0_6
LBB0_3:
xorl %edi, %edi
callq _os_free
movl $-1, %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _freq_range_list_parse ; -- Begin function freq_range_list_parse
.p2align 2
_freq_range_list_parse: ; @freq_range_list_parse
.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 x19, x0
cbz x1, LBB0_4
; %bb.1:
mov x21, x1
mov w22, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
add w20, w22, #1
mov x0, #0 ; =0x0
mov x1, x20
mov w2, #16 ; =0x10
bl _os_realloc_array
cbnz x0, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x21
bl _atoi
ubfiz x24, x22, #4, #32
mov x0, x21
mov w1, #45 ; =0x2d
bl _os_strchr
mov x22, x0
mov x0, x21
mov w1, #44 ; =0x2c
bl _os_strchr
mov x23, x0
sub x0, x22, #1
bl _atoi
str x0, [x24, #8]
add x21, x23, #1
mov x22, x20
cbnz x23, LBB0_2
b LBB0_5
LBB0_4:
mov w20, #0 ; =0x0
LBB0_5:
ldr x0, [x19, #8]
bl _os_free
mov w0, #0 ; =0x0
str xzr, [x19, #8]
str w20, [x19]
b LBB0_7
LBB0_6:
mov x0, #0 ; =0x0
bl _os_free
mov w0, #-1 ; =0xffffffff
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_82671.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nf_flow_nat_ip_tcp
_nf_flow_nat_ip_tcp: ## @nf_flow_nat_ip_tcp
.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, -44(%rbp) ## 4-byte Spill
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %rbx
leal 4(%r12), %r14d
movl %r14d, %esi
callq _pskb_may_pull
movl $-1, %r13d
testl %eax, %eax
je LBB0_3
## %bb.1:
movq %rbx, %rdi
movl %r14d, %esi
callq _skb_try_make_writable
testq %rax, %rax
jne LBB0_3
## %bb.2:
movl %r12d, %r14d
movq %rbx, %rdi
callq _skb_network_header
addq %rax, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %r15d, %edx
movl -44(%rbp), %ecx ## 4-byte Reload
movl $1, %r8d
callq _inet_proto_csum_replace4
xorl %r13d, %r13d
LBB0_3:
movl %r13d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _nf_flow_nat_ip_tcp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nf_flow_nat_ip_tcp
_nf_flow_nat_ip_tcp: ; @nf_flow_nat_ip_tcp
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x20, x2
mov x22, x1
mov x21, x0
add w23, w1, #4
mov x1, x23
bl _pskb_may_pull
cbz w0, LBB0_2
; %bb.1:
mov x0, x21
mov x1, x23
bl _skb_try_make_writable
cbz x0, LBB0_3
LBB0_2:
mov w0, #-1
b LBB0_4
LBB0_3:
mov w22, w22
mov x0, x21
bl _skb_network_header
add x0, x0, x22
mov x1, x21
mov x2, x20
mov x3, x19
mov w4, #1
bl _inet_proto_csum_replace4
mov w0, #0
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
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _nf_flow_nat_ip_tcp
.subsections_via_symbols
| AnghaBench/linux/net/netfilter/extr_nf_flow_table_ip.c_nf_flow_nat_ip_tcp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strncpy ## -- Begin function ft_strncpy
.p2align 4, 0x90
_ft_strncpy: ## @ft_strncpy
.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
testl %edx, %edx
je LBB0_1
## %bb.4:
movq %rsi, %rax
movl %edx, %ecx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movzbl (%rax,%rsi), %ebx
testb %bl, %bl
je LBB0_2
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movb %bl, (%r14,%rsi)
incq %rsi
cmpq %rsi, %rcx
jne LBB0_5
jmp LBB0_7
LBB0_1:
xorl %esi, %esi
LBB0_2:
cmpl %edx, %esi
jae LBB0_7
## %bb.3:
movl %esi, %edi
addq %r14, %rdi
notl %esi
addl %edx, %esi
incq %rsi
callq ___bzero
LBB0_7:
movq %r14, %rax
popq %rbx
popq %r14
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 _ft_strncpy ; -- Begin function ft_strncpy
.p2align 2
_ft_strncpy: ; @ft_strncpy
.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
cbz w2, LBB0_4
; %bb.1:
mov x8, #0
mov w9, w2
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x1, x8]
cbz w10, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
strb w10, [x19, x8]
add x8, x8, #1
cmp x9, x8
b.ne LBB0_2
b LBB0_7
LBB0_4:
mov w8, #0
LBB0_5:
cmp w8, w2
b.hs LBB0_7
; %bb.6:
add x0, x19, w8, uxtw
mvn w8, w8
add w8, w8, w2
add x1, x8, #1
bl _bzero
LBB0_7:
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
.subsections_via_symbols
| the_stack_data/156394240.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function chroma_smooth_init
_chroma_smooth_init: ## @chroma_smooth_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl $4, %edi
movl $1, %esi
callq _calloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_3
## %bb.1:
movq (%rax), %rax
addq $4, %rax
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq $-1, -4(%rax)
addq $-32, %rax
jmp LBB0_2
LBB0_3:
leaq L_.str(%rip), %rdi
callq _hb_error
movl $-1, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Chroma Smooth calloc failed"
.comm _CHROMA_SMOOTH_STRENGTH_DEFAULT,4,2 ## @CHROMA_SMOOTH_STRENGTH_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_DEFAULT,4,2 ## @CHROMA_SMOOTH_SIZE_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_MIN,4,2 ## @CHROMA_SMOOTH_SIZE_MIN
.comm _CHROMA_SMOOTH_SIZE_MAX,4,2 ## @CHROMA_SMOOTH_SIZE_MAX
.no_dead_strip _chroma_smooth_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function chroma_smooth_init
_chroma_smooth_init: ; @chroma_smooth_init
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #4 ; =0x4
mov w1, #1 ; =0x1
bl _calloc
str x0, [x19, #8]
cbz x0, LBB0_3
; %bb.1:
ldr x8, [x0]
movi.2d v0, #0xffffffffffffffff
LBB0_2: ; =>This Inner Loop Header: Depth=1
str d0, [x8], #-32
b LBB0_2
LBB0_3:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _hb_error
mov w0, #-1 ; =0xffffffff
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Chroma Smooth calloc failed"
.comm _CHROMA_SMOOTH_STRENGTH_DEFAULT,4,2 ; @CHROMA_SMOOTH_STRENGTH_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_DEFAULT,4,2 ; @CHROMA_SMOOTH_SIZE_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_MIN,4,2 ; @CHROMA_SMOOTH_SIZE_MIN
.comm _CHROMA_SMOOTH_SIZE_MAX,4,2 ; @CHROMA_SMOOTH_SIZE_MAX
.no_dead_strip _chroma_smooth_init
.subsections_via_symbols
| assembly_file_47721.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _force_static_fun
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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 _force_static_fun
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/243894443.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function unselect_rows
_unselect_rows: ## @unselect_rows
.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 _MATRIX_ROWS@GOTPCREL(%rip), %r14
cmpq $0, (%r14)
jle LBB0_3
## %bb.1:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _unselect_row
incq %rbx
cmpq (%r14), %rbx
jl LBB0_2
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MATRIX_ROWS,8,3 ## @MATRIX_ROWS
.no_dead_strip _unselect_rows
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function unselect_rows
_unselect_rows: ; @unselect_rows
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x20, _MATRIX_ROWS@GOTPAGE
Lloh1:
ldr x20, [x20, _MATRIX_ROWS@GOTPAGEOFF]
ldr x8, [x20]
cmp x8, #1
b.lt LBB0_3
; %bb.1:
mov x19, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _unselect_row
add x19, x19, #1
ldr x8, [x20]
cmp x19, x8
b.lt LBB0_2
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MATRIX_ROWS,8,3 ; @MATRIX_ROWS
.no_dead_strip _unselect_rows
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/handwired/dactyl/extr_matrix.c_unselect_rows.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ext4_xattr_rehash
_ext4_xattr_rehash: ## @ext4_xattr_rehash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
addq $4, %rdi
callq _ENTRY
movq %rax, %r15
movq %rax, %rdi
callq _IS_LAST_ENTRY
xorl %ebx, %ebx
testl %eax, %eax
jne LBB0_5
## %bb.1:
movq _BLOCK_HASH_SHIFT@GOTPCREL(%rip), %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%r15), %edi
testl %edi, %edi
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movzbl (%r12), %ecx
movl %ebx, %r13d
shll %cl, %r13d
negb %cl
sarl %cl, %ebx
callq _le32_to_cpu
xorl %r13d, %eax
xorl %eax, %ebx
movq %r15, %rdi
callq _EXT4_XATTR_NEXT
movq %rax, %r15
movq %rax, %rdi
callq _IS_LAST_ENTRY
testl %eax, %eax
je LBB0_2
jmp LBB0_5
LBB0_3:
xorl %ebx, %ebx
LBB0_5:
movl %ebx, %edi
callq _cpu_to_le32
movl %eax, (%r14)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BLOCK_HASH_SHIFT,4,2 ## @BLOCK_HASH_SHIFT
.no_dead_strip _ext4_xattr_rehash
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ext4_xattr_rehash
_ext4_xattr_rehash: ; @ext4_xattr_rehash
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
add x0, x0, #4
bl _ENTRY
mov x20, x0
bl _IS_LAST_ENTRY
mov w21, #0
cbnz w0, LBB0_5
; %bb.1:
Lloh0:
adrp x22, _BLOCK_HASH_SHIFT@GOTPAGE
Lloh1:
ldr x22, [x22, _BLOCK_HASH_SHIFT@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20]
cbz w0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x22]
lsl w23, w21, w8
neg w8, w8
asr w21, w21, w8
bl _le32_to_cpu
eor w8, w0, w23
eor w21, w8, w21
mov x0, x20
bl _EXT4_XATTR_NEXT
mov x20, x0
bl _IS_LAST_ENTRY
cbz w0, LBB0_2
b LBB0_5
LBB0_4:
mov w21, #0
LBB0_5:
mov x0, x21
bl _cpu_to_le32
str w0, [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 AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _BLOCK_HASH_SHIFT,4,2 ; @BLOCK_HASH_SHIFT
.no_dead_strip _ext4_xattr_rehash
.subsections_via_symbols
| AnghaBench/linux/fs/ext4/extr_xattr.c_ext4_xattr_rehash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _hex_value ## @hex_value
.p2align 4
_hex_value:
.ascii "************************************************\000\001\002\003\004\005\006\007\b\t*******\n\013\f\r\016\017**************************\n\013\f\r\016\017*********************************************************************************************************************************************************"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _hex_value ; @hex_value
_hex_value:
.ascii "************************************************\000\001\002\003\004\005\006\007\b\t*******\n\013\f\r\016\017**************************\n\013\f\r\016\017*********************************************************************************************************************************************************"
.subsections_via_symbols
| the_stack_data/72859.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function is_qla8032
_is_qla8032: ## @is_qla8032
.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), %rcx
movq _PCI_DEVICE_ID_QLOGIC_ISP8324@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PCI_DEVICE_ID_QLOGIC_ISP8324,8,3 ## @PCI_DEVICE_ID_QLOGIC_ISP8324
.no_dead_strip _is_qla8032
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function is_qla8032
_is_qla8032: ; @is_qla8032
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x8, [x8]
Lloh0:
adrp x9, _PCI_DEVICE_ID_QLOGIC_ISP8324@GOTPAGE
Lloh1:
ldr x9, [x9, _PCI_DEVICE_ID_QLOGIC_ISP8324@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PCI_DEVICE_ID_QLOGIC_ISP8324,8,3 ; @PCI_DEVICE_ID_QLOGIC_ISP8324
.no_dead_strip _is_qla8032
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_def.h_is_qla8032.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _return_test ## -- Begin function return_test
.p2align 4, 0x90
_return_test: ## @return_test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss (%rdi), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm0, %xmm1
movss %xmm1, (%rsi)
movss 4(%rdi), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm0, %xmm1
movss %xmm1, 4(%rsi)
movss 8(%rdi), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm0, %xmm1
movss %xmm1, 8(%rsi)
mulss 12(%rdi), %xmm0
movss %xmm0, 12(%rsi)
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 _return_test ; -- Begin function return_test
.p2align 2
_return_test: ; @return_test
.cfi_startproc
; %bb.0:
ldr s1, [x0]
fmul s1, s1, s0
str s1, [x1]
ldr s1, [x0, #4]
fmul s1, s1, s0
str s1, [x1, #4]
ldr s1, [x0, #8]
fmul s1, s1, s0
str s1, [x1, #8]
ldr s1, [x0, #12]
fmul s0, s1, s0
str s0, [x1, #12]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/888361.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function parseModifier
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
.quad 0xbfe0000000000000 ## double -0.5
LCPI0_1:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
LCPI0_2:
.quad 0x401c000000000000 ## double 7
LCPI0_3:
.quad 0x408f400000000000 ## double 1000
LCPI0_4:
.quad 0xc2e7f907ca644000 ## double -2.1086676E+14
LCPI0_5:
.quad 0x42fa6401072fe000 ## double 4.642690608E+14
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_parseModifier: ## @parseModifier
.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 $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movl $1, -44(%rbp)
movq _sqlite3UpperToLower@GOTPCREL(%rip), %r13
movq (%r13), %rax
movsbq (%rsi), %rcx
movl (%rax,%rcx,4), %eax
addl $-43, %eax
cmpl $76, %eax
ja LBB0_65
## %bb.1:
movq %rsi, %r14
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_33:
movl $1, %r12d
movq %r14, %r15
.p2align 4, 0x90
LBB0_34: ## =>This Inner Loop Header: Depth=1
movzbl 1(%r15), %eax
testl %eax, %eax
je LBB0_38
## %bb.35: ## in Loop: Header=BB0_34 Depth=1
cmpl $58, %eax
je LBB0_38
## %bb.36: ## in Loop: Header=BB0_34 Depth=1
movsbl %al, %edi
callq _sqlite3Isspace
testl %eax, %eax
jne LBB0_38
## %bb.37: ## in Loop: Header=BB0_34 Depth=1
decq %r15
decl %r12d
jmp LBB0_34
LBB0_38:
movq _SQLITE_UTF8@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -56(%rbp), %rsi
movq %r14, %rdi
movl %r12d, %edx
callq _sqlite3AtoF
testl %eax, %eax
je LBB0_39
## %bb.40:
cmpb $58, 1(%r15)
jne LBB0_45
## %bb.41:
movsbl (%r14), %edi
callq _sqlite3Isdigit
cmpl $1, %eax
movq %r14, %r15
adcq $0, %r15
leaq -136(%rbp), %r12
movq %r12, %rdi
xorl %esi, %esi
movl $64, %edx
callq _memset
movq %r15, %rdi
movq %r12, %rsi
callq _parseHhMmSs
testl %eax, %eax
jne LBB0_65
## %bb.42:
leaq -136(%rbp), %rdi
callq _computeJD
movl -136(%rbp), %eax
addl $-43200000, %eax ## imm = 0xFD6CD200
cltq
imulq $833999931, %rax, %rcx ## imm = 0x31B5D43B
movq %rcx, %rdx
shrq $63, %rdx
sarq $56, %rcx
addl %edx, %ecx
imull $86400000, %ecx, %ecx ## imm = 0x5265C00
subl %ecx, %eax
movl %eax, -136(%rbp)
cmpb $45, (%r14)
jne LBB0_44
## %bb.43:
negl %eax
movl %eax, -136(%rbp)
LBB0_44:
movq %rbx, %rdi
callq _computeJD
movq %rbx, %rdi
callq _clearYMD_HMS_TZ
movl -136(%rbp), %eax
addl %eax, (%rbx)
movl $0, -44(%rbp)
jmp LBB0_65
.p2align 4, 0x90
LBB0_45: ## =>This Inner Loop Header: Depth=1
movsbl 1(%r15), %edi
incq %r15
callq _sqlite3Isspace
testl %eax, %eax
jne LBB0_45
## %bb.46:
movq %r15, %rdi
callq _sqlite3Strlen30
movl %eax, %r14d
leal -11(%r14), %eax
cmpl $-8, %eax
jb LBB0_65
## %bb.47:
movq (%r13), %rax
leal -1(%r14), %ecx
movsbq (%r15,%rcx), %rdx
cmpl $115, (%rax,%rdx,4)
cmovel %ecx, %r14d
movq %rbx, -64(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _computeJD
movl $1, -44(%rbp)
xorpd %xmm0, %xmm0
xorl %ebx, %ebx
ucomisd -56(%rbp), %xmm0
seta %r13b
movq _aXformType@GOTPCREL(%rip), %r12
movq (%r12), %rdi
callq _ArraySize
testl %eax, %eax
js LBB0_63
## %bb.48:
movb %r13b, %bl
leaq LCPI0_0(%rip), %rax
movsd (%rax,%rbx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -72(%rbp) ## 8-byte Spill
movq $-1, %rbx
xorl %r13d, %r13d
jmp LBB0_49
.p2align 4, 0x90
LBB0_62: ## in Loop: Header=BB0_49 Depth=1
callq _ArraySize
cltq
addq $40, %r13
incq %rbx
cmpq %rax, %rbx
jge LBB0_63
LBB0_49: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rdi
cmpl %r14d, (%rdi,%r13)
jne LBB0_62
## %bb.50: ## in Loop: Header=BB0_49 Depth=1
movq 8(%rdi,%r13), %rdi
movq %r15, %rsi
movl %r14d, %edx
callq _sqlite3_strnicmp
movq (%r12), %rdi
testl %eax, %eax
jne LBB0_62
## %bb.51: ## in Loop: Header=BB0_49 Depth=1
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd 16(%rdi,%r13), %xmm1 ## xmm1 = mem[0],zero
movapd %xmm1, %xmm2
xorpd LCPI0_1(%rip), %xmm2
ucomisd %xmm2, %xmm0
jbe LBB0_62
## %bb.52: ## in Loop: Header=BB0_49 Depth=1
ucomisd %xmm0, %xmm1
jbe LBB0_62
## %bb.53:
movl 32(%rdi,%r13), %eax
cmpl $2, %eax
je LBB0_59
## %bb.54:
cmpl $1, %eax
movq -64(%rbp), %r14 ## 8-byte Reload
jne LBB0_61
## %bb.55:
movq %r14, %rdi
callq _computeYMD_HMS
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvttsd2si %xmm0, %eax
movl 32(%r14), %ecx
addl %eax, %ecx
jle LBB0_57
## %bb.56:
leal -1(%rcx), %esi
movl $2863311531, %edx ## imm = 0xAAAAAAAB
imulq %rsi, %rdx
shrq $35, %rdx
jmp LBB0_58
LBB0_39:
movl $1, -44(%rbp)
jmp LBB0_65
LBB0_23:
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
movl $9, %edx
callq _sqlite3_strnicmp
testl %eax, %eax
jne LBB0_65
## %bb.24:
cmpl $0, 16(%rbx)
jne LBB0_27
## %bb.25:
cmpl $0, 56(%rbx)
jne LBB0_27
## %bb.26:
cmpl $0, 24(%rbx)
je LBB0_65
LBB0_27:
addq $9, %r14
movq %rbx, %rdi
callq _computeYMD
movl $1, 24(%rbx)
movq $0, 8(%rbx)
movl $0, 16(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, 40(%rbx)
leaq L_.str.5(%rip), %rsi
movq %r14, %rdi
callq _sqlite3_stricmp
testl %eax, %eax
je LBB0_28
## %bb.29:
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
callq _sqlite3_stricmp
testl %eax, %eax
je LBB0_30
## %bb.31:
leaq L_.str.7(%rip), %rsi
movq %r14, %rdi
callq _sqlite3_stricmp
testl %eax, %eax
jne LBB0_65
## %bb.32:
movl $0, -44(%rbp)
jmp LBB0_65
LBB0_2:
leaq L_.str(%rip), %rsi
movq %rdi, %r15
movq %r14, %rdi
callq _sqlite3_stricmp
movq %r15, %r14
testl %eax, %eax
je LBB0_4
## %bb.3:
movq %r15, %rdi
callq _sqlite3NotPureFunc
movq %r15, %r14
testl %eax, %eax
je LBB0_65
LBB0_4:
movq %rbx, %rdi
callq _computeJD
leaq -44(%rbp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq _localtimeOffset
addl %eax, (%rbx)
movq %rbx, %rdi
jmp LBB0_64
LBB0_5:
movq %rdi, %r15
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
callq _sqlite3_stricmp
testl %eax, %eax
je LBB0_6
LBB0_10:
leaq L_.str.2(%rip), %rsi
movq %r14, %rdi
callq _sqlite3_stricmp
testl %eax, %eax
jne LBB0_65
## %bb.11:
movq %r15, %rdi
callq _sqlite3NotPureFunc
testl %eax, %eax
je LBB0_65
## %bb.12:
cmpl $0, 20(%rbx)
je LBB0_13
## %bb.16:
movq _SQLITE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp)
jmp LBB0_65
LBB0_17:
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
movl $8, %edx
callq _sqlite3_strnicmp
testl %eax, %eax
jne LBB0_65
## %bb.18:
addq $8, %r14
movq %r14, %rdi
callq _sqlite3Strlen30
movq _SQLITE_UTF8@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
leaq -56(%rbp), %rsi
movq %r14, %rdi
movl %eax, %edx
callq _sqlite3AtoF
testl %eax, %eax
je LBB0_65
## %bb.19:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = [7.0E+0,0.0E+0]
ucomisd %xmm0, %xmm1
jbe LBB0_65
## %bb.20:
cvttsd2si %xmm0, %r14d
testl %r14d, %r14d
js LBB0_65
## %bb.21:
cvttpd2dq %xmm0, %xmm1
cvtdq2pd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_65
jp LBB0_65
## %bb.22:
movq %rbx, %rdi
callq _computeYMD_HMS
movl $0, 40(%rbx)
movl $0, 16(%rbx)
movq %rbx, %rdi
callq _computeJD
movl (%rbx), %eax
leal 129600000(%rax), %ecx
movslq %ecx, %rcx
imulq $833999931, %rcx, %rcx ## imm = 0x31B5D43B
movq %rcx, %rdx
shrq $63, %rdx
sarq $56, %rcx
addl %edx, %ecx
imull $-109, %ecx, %edx
shrl $8, %edx
addb %cl, %dl
movl %edx, %esi
shrb $7, %sil
sarb $2, %dl
addb %sil, %dl
movzbl %dl, %edx
leal (,%rdx,8), %esi
subl %edx, %esi
subb %sil, %cl
movsbl %cl, %ecx
leal -7(%rcx), %edx
cmpl %r14d, %ecx
cmovlel %ecx, %edx
subl %edx, %r14d
imull $86400000, %r14d, %ecx ## imm = 0x5265C00
addl %eax, %ecx
movl %ecx, (%rbx)
movq %rbx, %rdi
callq _clearYMD_HMS_TZ
movl $0, -44(%rbp)
jmp LBB0_65
LBB0_6:
cmpl $0, 44(%rbx)
je LBB0_10
## %bb.7:
movsd 8(%rbx), %xmm1 ## xmm1 = mem[0],zero
mulsd LCPI0_3(%rip), %xmm1
addsd LCPI0_4(%rip), %xmm1
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jb LBB0_65
## %bb.8:
movsd LCPI0_5(%rip), %xmm0 ## xmm0 = [4.642690608E+14,0.0E+0]
ucomisd %xmm1, %xmm0
jbe LBB0_65
## %bb.9:
movq %rbx, %rdi
movsd %xmm1, -64(%rbp) ## 8-byte Spill
callq _clearYMD_HMS_TZ
cvttsd2si -64(%rbp), %eax ## 8-byte Folded Reload
movl %eax, (%rbx)
movl $1, 16(%rbx)
movl $0, 44(%rbx)
movl $0, -44(%rbp)
jmp LBB0_65
LBB0_28:
movl $1, 28(%rbx)
movl $0, -44(%rbp)
jmp LBB0_65
LBB0_30:
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, 28(%rbx)
movl $0, -44(%rbp)
jmp LBB0_65
LBB0_13:
movq %rbx, %rdi
callq _computeJD
leaq -44(%rbp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq _localtimeOffset
movl -44(%rbp), %ecx
movq _SQLITE_OK@GOTPCREL(%rip), %rdx
cmpl (%rdx), %ecx
jne LBB0_15
## %bb.14:
subl %eax, (%rbx)
movq %rbx, %rdi
movq %rbx, %r14
movl %eax, %ebx
callq _clearYMD_HMS_TZ
leaq -44(%rbp), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq _localtimeOffset
subl %eax, %ebx
addl %ebx, (%r14)
movq %r14, %rbx
LBB0_15:
movl $1, 20(%rbx)
jmp LBB0_65
LBB0_59:
cvttsd2si %xmm0, %ebx
movq -64(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
callq _computeYMD_HMS
addl %ebx, 36(%r14)
movl $0, 16(%r14)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvttpd2dq %xmm0, %xmm1
cvtdq2pd %xmm1, %xmm1
jmp LBB0_60
LBB0_57:
movl $12, %esi
subl %ecx, %esi
movl $2863311531, %edx ## imm = 0xAAAAAAAB
imulq %rsi, %rdx
shrq $35, %rdx
negl %edx
LBB0_58:
addl %edx, 36(%r14)
shll $2, %edx
leal (%rdx,%rdx,2), %edx
subl %edx, %ecx
movl %ecx, 32(%r14)
movl $0, 16(%r14)
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
LBB0_60:
subsd %xmm1, %xmm0
movsd %xmm0, -56(%rbp)
LBB0_61:
movq %r14, %rdi
callq _computeJD
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq (%r12), %rax
mulsd 24(%rax,%r13), %xmm0
addsd -72(%rbp), %xmm0 ## 8-byte Folded Reload
cvttsd2si %xmm0, %eax
addl %eax, (%r14)
movl $0, -44(%rbp)
LBB0_63:
movq -64(%rbp), %rdi ## 8-byte Reload
LBB0_64:
callq _clearYMD_HMS_TZ
LBB0_65:
movl -44(%rbp), %eax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_65, LBB0_65-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
.long L0_0_set_33
.long L0_0_set_65
.long L0_0_set_33
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_33
.long L0_0_set_33
.long L0_0_set_33
.long L0_0_set_33
.long L0_0_set_33
.long L0_0_set_33
.long L0_0_set_33
.long L0_0_set_33
.long L0_0_set_33
.long L0_0_set_33
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_2
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_65
.long L0_0_set_23
.long L0_0_set_65
.long L0_0_set_5
.long L0_0_set_65
.long L0_0_set_17
.end_data_region
## -- End function
.comm _sqlite3UpperToLower,8,3 ## @sqlite3UpperToLower
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "localtime"
L_.str.1: ## @.str.1
.asciz "unixepoch"
L_.str.2: ## @.str.2
.asciz "utc"
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
L_.str.3: ## @.str.3
.asciz "weekday "
.comm _SQLITE_UTF8,4,2 ## @SQLITE_UTF8
L_.str.4: ## @.str.4
.asciz "start of "
L_.str.5: ## @.str.5
.asciz "month"
L_.str.6: ## @.str.6
.asciz "year"
L_.str.7: ## @.str.7
.asciz "day"
.comm _aXformType,8,3 ## @aXformType
.no_dead_strip _parseModifier
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parseModifier
_parseModifier: ; @parseModifier
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
mov x19, x3
mov x20, x1
mov w8, #1 ; =0x1
Lloh0:
adrp x22, _sqlite3UpperToLower@GOTPAGE
Lloh1:
ldr x22, [x22, _sqlite3UpperToLower@GOTPAGEOFF]
stur w8, [x29, #-68]
ldr x8, [x22]
ldrsb x9, [x1]
ldr w8, [x8, x9, lsl #2]
cmp w8, #107
b.gt LBB0_24
; %bb.1:
sub w9, w8, #48
cmp w9, #10
b.hs LBB0_36
LBB0_2:
mov x23, #0 ; =0x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x21, x20, x23
ldrb w8, [x21, #1]
cbz w8, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #58
b.eq LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
sxtb w0, w8
bl _sqlite3Isspace
cbnz w0, LBB0_7
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
sub x23, x23, #1
b LBB0_3
LBB0_7:
Lloh2:
adrp x8, _SQLITE_UTF8@GOTPAGE
Lloh3:
ldr x8, [x8, _SQLITE_UTF8@GOTPAGEOFF]
Lloh4:
ldr w3, [x8]
add x1, sp, #64
add w2, w23, #1
mov x0, x20
bl _sqlite3AtoF
cbz w0, LBB0_35
; %bb.8:
ldrb w8, [x21, #1]
cmp w8, #58
b.ne LBB0_13
; %bb.9:
mov x21, x20
ldrsb w0, [x21], #1
bl _sqlite3Isdigit
cmp w0, #0
csel x21, x20, x21, ne
mov x0, sp
mov w1, #0 ; =0x0
mov w2, #64 ; =0x40
bl _memset
mov x1, sp
mov x0, x21
bl _parseHhMmSs
cbnz w0, LBB0_50
; %bb.10:
mov x0, sp
bl _computeJD
ldr w8, [sp]
mov w9, #53760 ; =0xd200
movk w9, #64876, lsl #16
add w8, w8, w9
mov w9, #54331 ; =0xd43b
movk w9, #12725, lsl #16
smull x9, w8, w9
lsr x10, x9, #63
asr x9, x9, #56
add w9, w9, w10
mov w10, #23552 ; =0x5c00
movk w10, #1318, lsl #16
msub w8, w9, w10, w8
str w8, [sp]
ldrb w9, [x20]
cmp w9, #45
b.ne LBB0_12
; %bb.11:
neg w8, w8
str w8, [sp]
LBB0_12:
mov x0, x19
bl _computeJD
mov x0, x19
bl _clearYMD_HMS_TZ
ldr w8, [sp]
ldr w9, [x19]
add w8, w9, w8
str w8, [x19]
stur wzr, [x29, #-68]
b LBB0_50
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x21, #1]!
bl _sqlite3Isspace
cbnz w0, LBB0_13
; %bb.14:
mov x0, x21
bl _sqlite3Strlen30
sub w8, w0, #11
cmn w8, #8
b.lo LBB0_50
; %bb.15:
ldr x8, [x22]
sub w9, w0, #1
ldrsb x10, [x21, w9, uxtw]
ldr w8, [x8, x10, lsl #2]
cmp w8, #115
csel w20, w9, w0, eq
mov x0, x19
bl _computeJD
mov w8, #1 ; =0x1
stur w8, [x29, #-68]
ldr d0, [sp, #64]
fcmp d0, #0.0
fmov d0, #0.50000000
fmov d1, #-0.50000000
fcsel d8, d1, d0, mi
Lloh5:
adrp x22, _aXformType@GOTPAGE
Lloh6:
ldr x22, [x22, _aXformType@GOTPAGEOFF]
ldr x0, [x22]
bl _ArraySize
tbnz w0, #31, LBB0_49
; %bb.16:
mov x23, #0 ; =0x0
mov x24, #-1 ; =0xffffffffffffffff
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_18 Depth=1
bl _ArraySize
add x23, x23, #40
add x24, x24, #1
cmp x24, w0, sxtw
b.ge LBB0_49
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr x0, [x22]
ldr w8, [x0, x23]
cmp w8, w20
b.ne LBB0_17
; %bb.19: ; in Loop: Header=BB0_18 Depth=1
add x8, x0, x23
ldr x0, [x8, #8]
mov x1, x21
mov x2, x20
bl _sqlite3_strnicmp
mov x8, x0
ldr x0, [x22]
cbnz w8, LBB0_17
; %bb.20: ; in Loop: Header=BB0_18 Depth=1
ldr d0, [sp, #64]
add x8, x0, x23
ldr d1, [x8, #16]
fneg d2, d1
fcmp d0, d2
fccmp d0, d1, #0, gt
b.pl LBB0_17
; %bb.21:
ldr w8, [x8, #32]
cmp w8, #2
b.eq LBB0_64
; %bb.22:
cmp w8, #1
b.ne LBB0_66
; %bb.23:
mov x0, x19
bl _computeYMD_HMS
ldr d0, [sp, #64]
fcvtzs w8, d0
mov w9, #12 ; =0xc
ldp w10, w11, [x19, #32]
add w10, w10, w8
sub w9, w9, w10
mov w12, #43691 ; =0xaaab
movk w12, #43690, lsl #16
umull x9, w9, w12
subs w13, w10, #1
umull x12, w13, w12
lsr x9, x9, #35
lsr x12, x12, #35
csneg w9, w12, w9, ge
add w11, w11, w9
mov w12, #-12 ; =0xfffffff4
madd w9, w9, w12, w10
stp w9, w11, [x19, #32]
str wzr, [x19, #16]
b LBB0_65
LBB0_24:
cmp w8, #116
b.gt LBB0_38
; %bb.25:
cmp w8, #108
b.eq LBB0_46
; %bb.26:
cmp w8, #115
b.ne LBB0_50
; %bb.27:
Lloh7:
adrp x1, l_.str.4@PAGE
Lloh8:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
mov w2, #9 ; =0x9
bl _sqlite3_strnicmp
cbnz w0, LBB0_50
; %bb.28:
ldr w8, [x19, #16]
cbnz w8, LBB0_31
; %bb.29:
ldr w8, [x19, #56]
cbnz w8, LBB0_31
; %bb.30:
ldr w8, [x19, #24]
cbz w8, LBB0_50
LBB0_31:
mov x0, x19
bl _computeYMD
mov w21, #1 ; =0x1
str w21, [x19, #24]
str xzr, [x19, #8]
str wzr, [x19, #16]
stp xzr, xzr, [x19, #40]
Lloh9:
adrp x1, l_.str.5@PAGE
Lloh10:
add x1, x1, l_.str.5@PAGEOFF
add x0, x20, #9
bl _sqlite3_stricmp
cbz w0, LBB0_59
; %bb.32:
Lloh11:
adrp x1, l_.str.6@PAGE
Lloh12:
add x1, x1, l_.str.6@PAGEOFF
add x0, x20, #9
bl _sqlite3_stricmp
cbz w0, LBB0_60
; %bb.33:
Lloh13:
adrp x1, l_.str.7@PAGE
Lloh14:
add x1, x1, l_.str.7@PAGEOFF
add x0, x20, #9
bl _sqlite3_stricmp
cbnz w0, LBB0_50
; %bb.34:
stur wzr, [x29, #-68]
b LBB0_50
LBB0_35:
mov w8, #1 ; =0x1
stur w8, [x29, #-68]
b LBB0_50
LBB0_36:
cmp w8, #43
b.eq LBB0_2
; %bb.37:
cmp w8, #45
b.eq LBB0_2
b LBB0_50
LBB0_38:
cmp w8, #117
b.eq LBB0_51
; %bb.39:
cmp w8, #119
b.ne LBB0_50
; %bb.40:
Lloh15:
adrp x1, l_.str.3@PAGE
Lloh16:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
mov w2, #8 ; =0x8
bl _sqlite3_strnicmp
cbnz w0, LBB0_50
; %bb.41:
add x0, x20, #8
bl _sqlite3Strlen30
mov x2, x0
Lloh17:
adrp x8, _SQLITE_UTF8@GOTPAGE
Lloh18:
ldr x8, [x8, _SQLITE_UTF8@GOTPAGEOFF]
Lloh19:
ldr w3, [x8]
add x0, x20, #8
add x1, sp, #64
bl _sqlite3AtoF
cbz w0, LBB0_50
; %bb.42:
ldr d0, [sp, #64]
fmov d1, #7.00000000
fcmp d0, d1
b.pl LBB0_50
; %bb.43:
fcvtzs w20, d0
tbnz w20, #31, LBB0_50
; %bb.44:
scvtf d1, w20
fcmp d0, d1
b.ne LBB0_50
; %bb.45:
mov x0, x19
bl _computeYMD_HMS
str wzr, [x19, #40]
str wzr, [x19, #16]
mov x0, x19
bl _computeJD
ldr w8, [x19]
mov w9, #35328 ; =0x8a00
movk w9, #1977, lsl #16
add w9, w8, w9
mov w10, #54331 ; =0xd43b
movk w10, #12725, lsl #16
smull x9, w9, w10
lsr x10, x9, #63
asr x9, x9, #56
mov w11, #-109 ; =0xffffff93
add w9, w9, w10
mul w10, w9, w11
add w10, w9, w10, lsr #8
and w11, w10, #0x80
sxtb w10, w10
lsr w10, w10, #2
add w10, w10, w11, lsr #7
sub w10, w10, w10, lsl #3
add w9, w9, w10
sxtb w9, w9
sub w10, w9, #7
cmp w9, w20
csel w9, w10, w9, gt
sub w9, w20, w9
mov w10, #23552 ; =0x5c00
movk w10, #1318, lsl #16
madd w8, w9, w10, w8
str w8, [x19]
mov x0, x19
bl _clearYMD_HMS_TZ
stur wzr, [x29, #-68]
b LBB0_50
LBB0_46:
mov x21, x0
Lloh20:
adrp x1, l_.str@PAGE
Lloh21:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _sqlite3_stricmp
cbz w0, LBB0_48
; %bb.47:
mov x0, x21
bl _sqlite3NotPureFunc
cbz w0, LBB0_50
LBB0_48:
mov x0, x19
bl _computeJD
sub x2, x29, #68
mov x0, x19
mov x1, x21
bl _localtimeOffset
ldr w8, [x19]
add w8, w8, w0
str w8, [x19]
LBB0_49:
mov x0, x19
bl _clearYMD_HMS_TZ
LBB0_50:
ldur w0, [x29, #-68]
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 d9, d8, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_51:
mov x21, x0
Lloh22:
adrp x1, l_.str.1@PAGE
Lloh23:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _sqlite3_stricmp
cbz w0, LBB0_56
LBB0_52:
Lloh24:
adrp x1, l_.str.2@PAGE
Lloh25:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
bl _sqlite3_stricmp
cbnz w0, LBB0_50
; %bb.53:
mov x0, x21
bl _sqlite3NotPureFunc
cbz w0, LBB0_50
; %bb.54:
ldr w8, [x19, #20]
cbz w8, LBB0_61
; %bb.55:
Lloh26:
adrp x8, _SQLITE_OK@GOTPAGE
Lloh27:
ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh28:
ldr w8, [x8]
stur w8, [x29, #-68]
b LBB0_50
LBB0_56:
ldr w8, [x19, #44]
cbz w8, LBB0_52
; %bb.57:
ldr d0, [x19, #8]
mov x8, #16384 ; =0x4000
movk x8, #51812, lsl #16
movk x8, #63751, lsl #32
movk x8, #49895, lsl #48
fmov d1, x8
mov x8, #70368744177664 ; =0x400000000000
movk x8, #16527, lsl #48
fmov d2, x8
fmadd d8, d0, d2, d1
fcmp d8, #0.0
mov x8, #57344 ; =0xe000
movk x8, #1839, lsl #16
movk x8, #25601, lsl #32
movk x8, #17146, lsl #48
fmov d0, x8
fccmp d8, d0, #0, ge
b.pl LBB0_50
; %bb.58:
mov x0, x19
bl _clearYMD_HMS_TZ
fcvtzs w8, d8
str w8, [x19]
mov w8, #1 ; =0x1
str w8, [x19, #16]
str wzr, [x19, #44]
stur wzr, [x29, #-68]
b LBB0_50
LBB0_59:
str w21, [x19, #28]
stur wzr, [x29, #-68]
b LBB0_50
LBB0_60:
movi.2s v0, #1
stur d0, [x19, #28]
stur wzr, [x29, #-68]
b LBB0_50
LBB0_61:
mov x0, x19
bl _computeJD
sub x2, x29, #68
mov x0, x19
mov x1, x21
bl _localtimeOffset
ldur w8, [x29, #-68]
Lloh29:
adrp x9, _SQLITE_OK@GOTPAGE
Lloh30:
ldr x9, [x9, _SQLITE_OK@GOTPAGEOFF]
Lloh31:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_63
; %bb.62:
ldr w8, [x19]
sub w8, w8, w0
str w8, [x19]
mov x20, x0
mov x0, x19
bl _clearYMD_HMS_TZ
sub x2, x29, #68
mov x0, x19
mov x1, x21
bl _localtimeOffset
ldr w8, [x19]
sub w9, w20, w0
add w8, w9, w8
str w8, [x19]
LBB0_63:
mov w8, #1 ; =0x1
str w8, [x19, #20]
b LBB0_50
LBB0_64:
fcvtzs w20, d0
mov x0, x19
bl _computeYMD_HMS
ldr w8, [x19, #36]
add w8, w8, w20
str w8, [x19, #36]
str wzr, [x19, #16]
ldr d0, [sp, #64]
fcvtzs w8, d0
LBB0_65:
scvtf d1, w8
fsub d0, d0, d1
str d0, [sp, #64]
LBB0_66:
mov x0, x19
bl _computeJD
ldr d0, [sp, #64]
ldr x8, [x22]
add x8, x8, x23
ldr d1, [x8, #24]
fmadd d0, d0, d1, d8
fcvtzs w8, d0
ldr w9, [x19]
add w8, w9, w8
str w8, [x19]
stur wzr, [x29, #-68]
b LBB0_49
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _sqlite3UpperToLower,8,3 ; @sqlite3UpperToLower
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "localtime"
l_.str.1: ; @.str.1
.asciz "unixepoch"
l_.str.2: ; @.str.2
.asciz "utc"
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
l_.str.3: ; @.str.3
.asciz "weekday "
.comm _SQLITE_UTF8,4,2 ; @SQLITE_UTF8
l_.str.4: ; @.str.4
.asciz "start of "
l_.str.5: ; @.str.5
.asciz "month"
l_.str.6: ; @.str.6
.asciz "year"
l_.str.7: ; @.str.7
.asciz "day"
.comm _aXformType,8,3 ; @aXformType
.no_dead_strip _parseModifier
.subsections_via_symbols
| assembly_file_185984.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -4(%rbp), %edi
testl %edi, %edi
jle LBB0_2
## %bb.1:
callq _findPattern
jmp LBB0_3
LBB0_2:
leaq L_str(%rip), %rdi
callq _puts
LBB0_3:
movl $10, %edi
callq _putchar
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _findPattern ## -- Begin function findPattern
.p2align 4, 0x90
_findPattern: ## @findPattern
.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
cmpl $1, %edi
je LBB1_3
## %bb.1:
movl %edi, %ebx
decl %ebx
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
leal 1(%rbx), %r15d
movl %ebx, %edi
callq _findPattern
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _printf
decl %ebx
jne LBB1_2
LBB1_3:
leaq L_.str.1(%rip), %rdi
movl $1, %esi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter number: "
L_.str.1: ## @.str.1
.asciz "%d"
L_str: ## @str
.asciz "Enter a positive number"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w0, [x29, #-4]
cmp w0, #1
b.lt LBB0_2
; %bb.1:
bl _findPattern
b LBB0_3
LBB0_2:
Lloh4:
adrp x0, l_str@PAGE
Lloh5:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB0_3:
mov w0, #10
bl _putchar
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _findPattern ; -- Begin function findPattern
.p2align 2
_findPattern: ; @findPattern
.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
subs w19, w0, #1
b.eq LBB1_3
; %bb.1:
Lloh6:
adrp x20, l_.str.1@PAGE
Lloh7:
add x20, x20, l_.str.1@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
add w21, w19, #1
mov x0, x19
bl _findPattern
str x21, [sp]
mov x0, x20
bl _printf
subs w19, w19, #1
b.ne LBB1_2
LBB1_3:
mov w8, #1
str x8, [sp]
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
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 Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter number: "
l_.str.1: ; @.str.1
.asciz "%d"
l_str: ; @str
.asciz "Enter a positive number"
.subsections_via_symbols
| the_stack_data/31388059.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kadm5_c_init_with_creds ## -- Begin function kadm5_c_init_with_creds
.p2align 4, 0x90
_kadm5_c_init_with_creds: ## @kadm5_c_init_with_creds
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %r9, %rax
movq %r8, %r10
movq %rcx, %r11
movq %rdx, %r9
movl %esi, %r8d
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
pushq 16(%rbp)
pushq %rax
pushq %r10
pushq %r11
callq _init_context
addq $32, %rsp
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 _kadm5_c_init_with_creds ; -- Begin function kadm5_c_init_with_creds
.p2align 2
_kadm5_c_init_with_creds: ; @kadm5_c_init_with_creds
.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
mov x7, x4
mov x8, x3
mov x9, x2
mov x4, x1
stp x5, x6, [sp]
mov x1, #0
mov x2, #0
mov x3, #0
mov x5, x9
mov x6, x8
bl _init_context
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/lib/kadm5/extr_init_c.c_kadm5_c_init_with_creds.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _s5c73m3_unregister_spi_driver ## -- Begin function s5c73m3_unregister_spi_driver
.p2align 4, 0x90
_s5c73m3_unregister_spi_driver: ## @s5c73m3_unregister_spi_driver
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _spi_unregister_driver ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _s5c73m3_unregister_spi_driver ; -- Begin function s5c73m3_unregister_spi_driver
.p2align 2
_s5c73m3_unregister_spi_driver: ; @s5c73m3_unregister_spi_driver
.cfi_startproc
; %bb.0:
b _spi_unregister_driver
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/media/i2c/s5c73m3/extr_s5c73m3-spi.c_s5c73m3_unregister_spi_driver.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function cfg80211_chandef_valid
LCPI0_0:
.long 70 ## 0x46
.long 50 ## 0x32
.long 30 ## 0x1e
.long 10 ## 0xa
LCPI0_1:
.long 4294967286 ## 0xfffffff6
.long 4294967266 ## 0xffffffe2
.long 4294967246 ## 0xffffffce
.long 4294967226 ## 0xffffffba
LCPI0_2:
.long 30 ## 0x1e
.long 10 ## 0xa
.long 4294967286 ## 0xfffffff6
.long 4294967266 ## 0xffffffe2
.section __TEXT,__text,regular,pure_instructions
.globl _cfg80211_chandef_valid
.p2align 4, 0x90
_cfg80211_chandef_valid: ## @cfg80211_chandef_valid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 16(%rdi), %rcx
xorl %eax, %eax
testq %rcx, %rcx
je LBB0_14
## %bb.1:
movl (%rdi), %esi
addl $-128, %esi
cmpl $5, %esi
ja LBB0_14
## %bb.2:
movl (%rcx), %edx
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rsi,4), %rsi
addq %rcx, %rsi
jmpq *%rsi
LBB0_3:
cmpl %edx, 4(%rdi)
je LBB0_12
LBB0_14:
popq %rbp
retq
LBB0_6:
movl 4(%rdi), %ecx
movd %edx, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
paddd LCPI0_2(%rip), %xmm0
movd %ecx, %xmm1
pshufd $0, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,0,0]
pcmpeqd %xmm0, %xmm1
pslld $31, %xmm1
movmskps %xmm1, %edx
testl %edx, %edx
je LBB0_14
## %bb.7:
movl 8(%rdi), %edx
testl %edx, %edx
je LBB0_14
## %bb.8:
movl %ecx, %esi
subl %edx, %esi
cmpl $80, %esi
je LBB0_14
## %bb.9:
subl %ecx, %edx
cmpl $80, %edx
jne LBB0_13
jmp LBB0_14
LBB0_10:
movd %edx, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
paddd LCPI0_2(%rip), %xmm0
movd 4(%rdi), %xmm1 ## xmm1 = mem[0],zero,zero,zero
pshufd $0, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,0,0]
pcmpeqd %xmm0, %xmm1
pslld $31, %xmm1
movmskps %xmm1, %ecx
testl %ecx, %ecx
jne LBB0_12
jmp LBB0_14
LBB0_4:
movl 4(%rdi), %ecx
leal 10(%rdx), %esi
cmpl %esi, %ecx
je LBB0_12
## %bb.5:
addl $-10, %edx
cmpl %edx, %ecx
jne LBB0_14
jmp LBB0_12
LBB0_11:
movd %edx, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
movdqa LCPI0_0(%rip), %xmm1 ## xmm1 = [70,50,30,10]
paddd %xmm0, %xmm1
paddd LCPI0_1(%rip), %xmm0
movd 4(%rdi), %xmm2 ## xmm2 = mem[0],zero,zero,zero
pshufd $0, %xmm2, %xmm2 ## xmm2 = xmm2[0,0,0,0]
pcmpeqd %xmm2, %xmm0
pcmpeqd %xmm2, %xmm1
packssdw %xmm0, %xmm1
psllw $15, %xmm1
pmovmskb %xmm1, %ecx
testl $43690, %ecx ## imm = 0xAAAA
je LBB0_14
LBB0_12:
cmpl $0, 8(%rdi)
jne LBB0_14
LBB0_13:
movl $1, %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_10
.long L0_0_set_4
.long L0_0_set_3
.long L0_0_set_3
.long L0_0_set_11
.end_data_region
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function cfg80211_chandef_valid
lCPI0_0:
.long 70 ; 0x46
.long 50 ; 0x32
.long 30 ; 0x1e
.long 10 ; 0xa
lCPI0_1:
.long 4294967286 ; 0xfffffff6
.long 4294967266 ; 0xffffffe2
.long 4294967246 ; 0xffffffce
.long 4294967226 ; 0xffffffba
lCPI0_2:
.long 30 ; 0x1e
.long 10 ; 0xa
.long 4294967286 ; 0xfffffff6
.long 4294967266 ; 0xffffffe2
.section __TEXT,__text,regular,pure_instructions
.globl _cfg80211_chandef_valid
.p2align 2
_cfg80211_chandef_valid: ; @cfg80211_chandef_valid
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr x8, [x0, #16]
cbz x8, LBB0_12
; %bb.1:
ldr w9, [x0]
sub w10, w9, #128
cmp w10, #5
b.hi LBB0_12
; %bb.2:
ldr w9, [x8]
Lloh0:
adrp x8, lJTI0_0@PAGE
Lloh1:
add x8, x8, lJTI0_0@PAGEOFF
adr x11, LBB0_3
ldrb w12, [x8, x10]
add x11, x11, x12, lsl #2
br x11
LBB0_3:
ldr w8, [x0, #4]
cmp w8, w9
b.eq LBB0_11
b LBB0_12
LBB0_4:
ldr w8, [x0, #4]
dup.4s v0, w9
Lloh2:
adrp x9, lCPI0_2@PAGE
Lloh3:
ldr q1, [x9, lCPI0_2@PAGEOFF]
add.4s v0, v0, v1
dup.4s v1, w8
cmeq.4s v0, v1, v0
xtn.4h v0, v0
umov.h w9, v0[0]
umov.h w10, v0[1]
and w10, w10, #0x1
bfi w9, w10, #1, #1
umov.h w10, v0[2]
and w10, w10, #0x1
bfi w9, w10, #2, #1
umov.h w10, v0[3]
bfi w9, w10, #3, #29
tst w9, #0xf
b.eq LBB0_12
; %bb.5:
ldr w9, [x0, #8]
cbz w9, LBB0_12
; %bb.6:
mov w0, #0
sub w10, w8, w9
cmp w10, #80
b.eq LBB0_13
; %bb.7:
sub w8, w9, w8
cmp w8, #80
b.ne LBB0_14
b LBB0_13
LBB0_8:
add x8, x0, #4
dup.4s v0, w9
Lloh4:
adrp x9, lCPI0_2@PAGE
Lloh5:
ldr q1, [x9, lCPI0_2@PAGEOFF]
add.4s v0, v0, v1
ld1r.4s { v1 }, [x8]
cmeq.4s v0, v1, v0
xtn.4h v0, v0
umov.h w8, v0[0]
umov.h w9, v0[1]
and w9, w9, #0x1
bfi w8, w9, #1, #1
umov.h w9, v0[2]
and w9, w9, #0x1
bfi w8, w9, #2, #1
umov.h w9, v0[3]
bfi w8, w9, #3, #29
tst w8, #0xf
b.ne LBB0_11
b LBB0_12
LBB0_9:
ldr w8, [x0, #4]
add w10, w9, #10
sub w9, w9, #10
cmp w8, w10
ccmp w8, w9, #4, ne
b.eq LBB0_11
b LBB0_12
LBB0_10:
add x8, x0, #4
dup.4s v0, w9
Lloh6:
adrp x9, lCPI0_0@PAGE
Lloh7:
ldr q1, [x9, lCPI0_0@PAGEOFF]
add.4s v1, v0, v1
Lloh8:
adrp x9, lCPI0_1@PAGE
Lloh9:
ldr q2, [x9, lCPI0_1@PAGEOFF]
add.4s v0, v0, v2
ld1r.4s { v2 }, [x8]
cmeq.4s v0, v2, v0
cmeq.4s v1, v2, v1
uzp1.8h v0, v1, v0
xtn.8b v0, v0
umov.b w8, v0[1]
and w8, w8, #0x1
umov.b w9, v0[0]
and w9, w9, #0x1
bfi w9, w8, #1, #1
umov.b w8, v0[2]
and w8, w8, #0x1
bfi w9, w8, #2, #1
umov.b w8, v0[3]
and w8, w8, #0x1
bfi w9, w8, #3, #1
umov.b w8, v0[4]
and w8, w8, #0x1
bfi w9, w8, #4, #1
umov.b w8, v0[5]
and w8, w8, #0x1
bfi w9, w8, #5, #1
umov.b w8, v0[6]
and w8, w8, #0x1
orr w8, w9, w8, lsl #6
umov.b w9, v0[7]
orr w8, w8, w9, lsl #7
tst w8, #0xff
b.eq LBB0_12
LBB0_11:
ldr w8, [x0, #8]
cbz w8, LBB0_14
LBB0_12:
mov w0, #0
LBB0_13:
add sp, sp, #16
ret
LBB0_14:
mov w0, #1
add sp, sp, #16
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpLdr Lloh4, Lloh5
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpAdrp Lloh6, Lloh8
.loh AdrpLdr Lloh6, Lloh7
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_4-LBB0_3)>>2
.byte (LBB0_8-LBB0_3)>>2
.byte (LBB0_9-LBB0_3)>>2
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_10-LBB0_3)>>2
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/wireless/extr_chan.c_cfg80211_chandef_valid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _frame_find_by_id ## -- Begin function frame_find_by_id
.p2align 4, 0x90
_frame_find_by_id: ## @frame_find_by_id
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
callq _frame_id_p
testl %eax, %eax
je LBB0_6
## %bb.1:
xorl %r15d, %r15d
xorl %eax, %eax
callq _get_current_frame
testq %rax, %rax
je LBB0_7
## %bb.2:
movq %rax, %r15
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _get_frame_id
movl %eax, %ebx
movl %r14d, %edi
movl %eax, %esi
callq _frame_id_eq
testq %rax, %rax
jne LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl %r14d, %edi
movl %ebx, %esi
callq _frame_id_inner
testq %rax, %rax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
callq _get_prev_frame
movq %rax, %r15
testq %rax, %rax
jne LBB0_3
LBB0_6:
xorl %r15d, %r15d
LBB0_7:
movq %r15, %rax
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 _frame_find_by_id ; -- Begin function frame_find_by_id
.p2align 2
_frame_find_by_id: ; @frame_find_by_id
.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
and x19, x0, #0xffffffff
mov x0, x19
bl _frame_id_p
cbz w0, LBB0_5
; %bb.1:
bl _get_current_frame
mov x20, x0
cbz x0, LBB0_6
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _get_frame_id
mov w21, w0
mov x0, x19
mov x1, x21
bl _frame_id_eq
cbnz x0, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x19
mov x1, x21
bl _frame_id_inner
cbnz x0, LBB0_5
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
bl _get_prev_frame
mov x20, x0
cbnz x0, LBB0_2
b LBB0_6
LBB0_5:
mov x20, #0
LBB0_6:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_frame.c_frame_find_by_id.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nci_hci_send_data
_nci_hci_send_data: ## @nci_hci_send_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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 %r8, -48(%rbp) ## 8-byte Spill
movq %rcx, -72(%rbp) ## 8-byte Spill
movq (%rdi), %rax
movq (%rax), %r12
testq %r12, %r12
je LBB0_1
## %bb.3:
movl %esi, %r13d
movq %rdi, %rbx
movl %edx, -52(%rbp) ## 4-byte Spill
movslq (%r12), %rsi
movq _NCI_DATA_HDR_SIZE@GOTPCREL(%rip), %r15
addq (%r15), %rsi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _nci_skb_alloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %r14
movq %rbx, -64(%rbp) ## 8-byte Spill
movq (%r15), %rsi
addq $2, %rsi
movq %rax, %rdi
callq _skb_reserve
movq %r14, %rdi
movl $1, %esi
callq _skb_push
movl -52(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl (%r14), %r15d
notl %r15d
addl (%r12), %r15d
leal (%r15,%rbx), %eax
movslq %eax, %rcx
movl $0, %eax
cmpq -48(%rbp), %rcx ## 8-byte Folded Reload
jb LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq -48(%rbp), %r15 ## 8-byte Reload
## kill: def $r15d killed $r15d killed $r15 def $r15
subl %ebx, %r15d
movq _NCI_HFP_NO_CHAINING@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
orl %eax, %r13d
movq %r14, %rdi
movl $1, %esi
callq _skb_push
movl %r13d, (%rax)
testl %r15d, %r15d
jle LBB0_10
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
movslq %ebx, %rax
movq -72(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rsi
movq %r14, %rdi
movl %r15d, %edx
callq _skb_put_data
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
movl 4(%r12), %esi
movq -64(%rbp), %rdi ## 8-byte Reload
movq %r14, %rdx
callq _nci_send_data
testl %eax, %eax
js LBB0_11
## %bb.13: ## in Loop: Header=BB0_6 Depth=1
addl %r15d, %ebx
movslq %ebx, %rax
cmpq -48(%rbp), %rax ## 8-byte Folded Reload
jae LBB0_12
## %bb.14: ## in Loop: Header=BB0_6 Depth=1
movslq (%r12), %rsi
movq _NCI_DATA_HDR_SIZE@GOTPCREL(%rip), %r15
addq (%r15), %rsi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -64(%rbp), %rdi ## 8-byte Reload
callq _nci_skb_alloc
testq %rax, %rax
je LBB0_4
## %bb.15: ## in Loop: Header=BB0_6 Depth=1
movq %rax, %r14
movq (%r15), %rsi
incq %rsi
movq %rax, %rdi
callq _skb_reserve
jmp LBB0_6
LBB0_1:
movq _EPROTO@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_4:
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_12:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
movl %eax, %ebx
jmp LBB0_12
.cfi_endproc
## -- End function
.comm _EPROTO,4,2 ## @EPROTO
.comm _NCI_DATA_HDR_SIZE,8,3 ## @NCI_DATA_HDR_SIZE
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _NCI_HFP_NO_CHAINING,4,2 ## @NCI_HFP_NO_CHAINING
.no_dead_strip _nci_hci_send_data
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nci_hci_send_data
_nci_hci_send_data: ; @nci_hci_send_data
.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
ldr x8, [x0]
ldr x26, [x8]
cbz x26, LBB0_9
; %bb.1:
mov x19, x4
mov x20, x3
mov x25, x2
mov x21, x1
mov x22, x0
Lloh0:
adrp x27, _NCI_DATA_HDR_SIZE@GOTPAGE
Lloh1:
ldr x27, [x27, _NCI_DATA_HDR_SIZE@GOTPAGEOFF]
ldrsw x8, [x26]
ldr x9, [x27]
add x1, x9, x8
Lloh2:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh3:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
ldr w2, [x8]
bl _nci_skb_alloc
cbz x0, LBB0_10
; %bb.2:
mov x24, x0
ldr x8, [x27]
add x1, x8, #2
bl _skb_reserve
mov x0, x24
mov w1, #1
bl _skb_push
mov w23, #0
str w25, [x0]
Lloh5:
adrp x28, _NCI_HFP_NO_CHAINING@GOTPAGE
Lloh6:
ldr x28, [x28, _NCI_HFP_NO_CHAINING@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [x26]
ldr w9, [x24]
mvn w9, w9
add w8, w8, w9
add w9, w8, w23
sxtw x9, w9
ldr w10, [x28]
sub w11, w19, w23
cmp x9, x19
csel w25, w8, w11, lo
csel w8, wzr, w10, lo
orr w21, w8, w21
mov x0, x24
mov w1, #1
bl _skb_push
str w21, [x0]
cmp w25, #1
b.lt LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x1, x20, w23, sxtw #2
mov x0, x24
mov x2, x25
bl _skb_put_data
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w1, [x26, #4]
mov x0, x22
mov x2, x24
bl _nci_send_data
tbnz w0, #31, LBB0_13
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
add w23, w25, w23
sxtw x8, w23
cmp x8, x19
b.hs LBB0_12
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldrsw x8, [x26]
ldr x9, [x27]
add x1, x9, x8
Lloh7:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh8:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
ldr w2, [x8]
mov x0, x22
bl _nci_skb_alloc
cbz x0, LBB0_10
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
mov x24, x0
ldr x8, [x27]
add x1, x8, #1
bl _skb_reserve
b LBB0_3
LBB0_9:
Lloh10:
adrp x8, _EPROTO@GOTPAGE
Lloh11:
ldr x8, [x8, _EPROTO@GOTPAGEOFF]
b LBB0_11
LBB0_10:
Lloh12:
adrp x8, _ENOMEM@GOTPAGE
Lloh13:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_11:
ldr w8, [x8]
neg w23, w8
LBB0_12:
mov x0, x23
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_13:
mov x23, x0
b LBB0_12
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _EPROTO,4,2 ; @EPROTO
.comm _NCI_DATA_HDR_SIZE,8,3 ; @NCI_DATA_HDR_SIZE
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _NCI_HFP_NO_CHAINING,4,2 ; @NCI_HFP_NO_CHAINING
.no_dead_strip _nci_hci_send_data
.subsections_via_symbols
| AnghaBench/linux/net/nfc/nci/extr_hci.c_nci_hci_send_data.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function csio_hw_get_vpd_keyword_val
_csio_hw_get_vpd_keyword_val: ## @csio_hw_get_vpd_keyword_val
.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 24(%rdi), %eax
shll $8, %eax
addl 16(%rdi), %eax
cltq
leaq 16(%rax), %r15
movq _VPD_LEN@GOTPCREL(%rip), %rcx
cmpq (%rcx), %r15
ja LBB0_6
## %bb.1:
movq _VPD_INFO_FLD_HDR_SIZE@GOTPCREL(%rip), %r12
cmpq %rax, (%r12)
jg LBB0_6
## %bb.2:
movq %rsi, %r14
movq %rdi, %r13
movl $16, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq (,%rbx,8), %rdi
addq %r13, %rdi
movq %r14, %rsi
movl $2, %edx
callq _memcmp
movq %rax, %rcx
movq (%r12), %rax
testq %rcx, %rcx
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
leaq (%rax,%rbx), %rcx
addq 16(%r13,%rbx,8), %rcx
addq %rcx, %rax
movq %rcx, %rbx
cmpq %r15, %rax
jle LBB0_3
LBB0_6:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_7:
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
addl %ebx, %eax
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _VPD_LEN,8,3 ## @VPD_LEN
.comm _EINVAL,4,2 ## @EINVAL
.comm _VPD_INFO_FLD_HDR_SIZE,8,3 ## @VPD_INFO_FLD_HDR_SIZE
.no_dead_strip _csio_hw_get_vpd_keyword_val
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function csio_hw_get_vpd_keyword_val
_csio_hw_get_vpd_keyword_val: ; @csio_hw_get_vpd_keyword_val
.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
ldr w8, [x0, #16]
ldr w9, [x0, #24]
add w8, w8, w9, lsl #8
sxtw x8, w8
add x22, x8, #16
Lloh0:
adrp x9, _VPD_LEN@GOTPAGE
Lloh1:
ldr x9, [x9, _VPD_LEN@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x22, x9
b.hi LBB0_5
; %bb.1:
Lloh3:
adrp x23, _VPD_INFO_FLD_HDR_SIZE@GOTPAGE
Lloh4:
ldr x23, [x23, _VPD_INFO_FLD_HDR_SIZE@GOTPAGEOFF]
ldr x9, [x23]
cmp x9, x8
b.gt LBB0_5
; %bb.2:
mov x19, x1
mov x20, x0
mov w24, #16
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x21, x20, x24, lsl #3
mov x0, x21
mov x1, x19
mov w2, #2
bl _memcmp
ldr x8, [x23]
cbz x0, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x9, [x21, #16]
add x10, x8, x24
add x24, x10, x9
add x8, x8, x24
cmp x8, x22
b.le LBB0_3
LBB0_5:
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w0, w8
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_7:
add w0, w8, w24
b LBB0_6
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _VPD_LEN,8,3 ; @VPD_LEN
.comm _EINVAL,4,2 ; @EINVAL
.comm _VPD_INFO_FLD_HDR_SIZE,8,3 ; @VPD_INFO_FLD_HDR_SIZE
.no_dead_strip _csio_hw_get_vpd_keyword_val
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/csiostor/extr_csio_hw.c_csio_hw_get_vpd_keyword_val.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sumStep
_sumStep: ## @sumStep
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
xorl %edi, %edi
cmpl $1, %esi
sete %dil
callq _assert
movl %ebx, %edi
callq _UNUSED_PARAMETER
movq %r15, %rdi
movl $20, %esi
callq _sqlite3_aggregate_context
movq %rax, %rbx
movq (%r14), %rdi
callq _sqlite3_value_numeric_type
testq %rbx, %rbx
je LBB0_8
## %bb.1:
movq _SQLITE_NULL@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_8
## %bb.2:
incl 16(%rbx)
movq _SQLITE_INTEGER@GOTPCREL(%rip), %rcx
movq (%r14), %rdi
cmpl (%rcx), %eax
jne LBB0_6
## %bb.3:
callq _sqlite3_value_int64
addl %eax, 8(%rbx)
movl 4(%rbx), %ecx
orl (%rbx), %ecx
jne LBB0_8
## %bb.4:
leaq 12(%rbx), %rdi
movq %rax, %rsi
callq _sqlite3AddInt64
testq %rax, %rax
je LBB0_8
## %bb.5:
addq $4, %rbx
jmp LBB0_7
LBB0_6:
callq _sqlite3_value_double
addl %eax, 8(%rbx)
LBB0_7:
movl $1, (%rbx)
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_NULL,4,2 ## @SQLITE_NULL
.comm _SQLITE_INTEGER,4,2 ## @SQLITE_INTEGER
.no_dead_strip _sumStep
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sumStep
_sumStep: ; @sumStep
.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 x19, x1
mov x21, x0
cmp w1, #1
cset w0, eq
bl _assert
mov x0, x19
bl _UNUSED_PARAMETER
mov x0, x21
mov w1, #20
bl _sqlite3_aggregate_context
mov x19, x0
ldr x0, [x20]
bl _sqlite3_value_numeric_type
cbz x19, LBB0_7
; %bb.1:
Lloh0:
adrp x8, _SQLITE_NULL@GOTPAGE
Lloh1:
ldr x8, [x8, _SQLITE_NULL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w0, w8
b.eq LBB0_7
; %bb.2:
ldr w8, [x19, #16]
add w8, w8, #1
str w8, [x19, #16]
Lloh3:
adrp x8, _SQLITE_INTEGER@GOTPAGE
Lloh4:
ldr x8, [x8, _SQLITE_INTEGER@GOTPAGEOFF]
Lloh5:
ldr w9, [x8]
ldr x8, [x20]
cmp w0, w9
b.ne LBB0_5
; %bb.3:
mov x0, x8
bl _sqlite3_value_int64
mov x1, x0
ldr w8, [x19, #8]
add w8, w8, w1
str w8, [x19, #8]
ldr w8, [x19]
mov x20, x19
ldr w9, [x20, #4]!
orr w8, w9, w8
cbnz w8, LBB0_7
; %bb.4:
add x0, x19, #12
bl _sqlite3AddInt64
cbnz x0, LBB0_6
b LBB0_7
LBB0_5:
mov x0, x8
bl _sqlite3_value_double
ldr w8, [x19, #8]
add w8, w8, w0
str w8, [x19, #8]
mov x20, x19
LBB0_6:
mov w8, #1
str w8, [x20]
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _SQLITE_NULL,4,2 ; @SQLITE_NULL
.comm _SQLITE_INTEGER,4,2 ; @SQLITE_INTEGER
.no_dead_strip _sumStep
.subsections_via_symbols
| AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_sumStep.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function MatchText
_MatchText: ## @MatchText
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %ebx
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %r12
cmpl $1, %ecx
jne LBB0_2
## %bb.1:
cmpb $37, (%r14)
je LBB0_8
LBB0_2:
xorl %eax, %eax
callq _check_stack_depth
testl %r15d, %r15d
setle %al
testl %ebx, %ebx
setle %cl
orb %al, %cl
je LBB0_11
## %bb.3:
testl %r15d, %r15d
jle LBB0_4
LBB0_15:
movq _LIKE_FALSE@GOTPCREL(%rip), %rax
jmp LBB0_24
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_11 Depth=1
movq %r12, %rdi
movl %r15d, %esi
callq _NextChar
LBB0_10: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
movl %ebx, %esi
callq _NextByte
LBB0_11: ## =>This Inner Loop Header: Depth=1
movzbl (%r14), %eax
cmpl $92, %eax
je LBB0_16
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
cmpl $95, %eax
je LBB0_9
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
cmpl $37, %eax
je LBB0_20
## %bb.14: ## in Loop: Header=BB0_11 Depth=1
movsbl %al, %edi
jmp LBB0_17
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
movl %ebx, %esi
callq _NextByte
movsbl (%r14), %edi
LBB0_17: ## in Loop: Header=BB0_11 Depth=1
callq _GETCHAR
movl %eax, %r13d
movsbl (%r12), %edi
callq _GETCHAR
cmpb %al, %r13b
jne LBB0_15
## %bb.18: ## in Loop: Header=BB0_11 Depth=1
movq %r12, %rdi
movl %r15d, %esi
callq _NextByte
jmp LBB0_10
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_20 Depth=1
movq %r12, %rdi
movl %r15d, %esi
callq _NextChar
LBB0_20: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl %ebx, %esi
callq _NextByte
movzbl (%r14), %eax
cmpl $37, %eax
je LBB0_20
## %bb.21: ## in Loop: Header=BB0_20 Depth=1
cmpl $95, %eax
je LBB0_19
.p2align 4, 0x90
LBB0_22: ## =>This Inner Loop Header: Depth=1
jmp LBB0_22
LBB0_4:
testl %ebx, %ebx
jle LBB0_7
.p2align 4, 0x90
## %bb.5:
cmpb $37, (%r14)
jne LBB0_7
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl %ebx, %esi
callq _NextByte
cmpb $37, (%r14)
je LBB0_6
LBB0_7:
testl %ebx, %ebx
jg LBB0_23
LBB0_8:
movq _LIKE_TRUE@GOTPCREL(%rip), %rax
LBB0_24:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_23:
movq _LIKE_ABORT@GOTPCREL(%rip), %rax
jmp LBB0_24
.cfi_endproc
## -- End function
.comm _LIKE_TRUE,4,2 ## @LIKE_TRUE
.comm _ERROR,4,2 ## @ERROR
.comm _ERRCODE_INVALID_ESCAPE_SEQUENCE,4,2 ## @ERRCODE_INVALID_ESCAPE_SEQUENCE
.comm _LIKE_FALSE,4,2 ## @LIKE_FALSE
.comm _LIKE_ABORT,4,2 ## @LIKE_ABORT
.no_dead_strip _MatchText
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function MatchText
_MatchText: ; @MatchText
.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 x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
cmp w3, #1
b.ne LBB0_3
; %bb.1:
ldrb w8, [x20]
cmp w8, #37
b.ne LBB0_3
; %bb.2:
Lloh0:
adrp x24, _LIKE_TRUE@GOTPAGE
Lloh1:
ldr x24, [x24, _LIKE_TRUE@GOTPAGEOFF]
b LBB0_25
LBB0_3:
bl _check_stack_depth
cmp w21, #1
b.lt LBB0_19
; %bb.4:
cmp w19, #1
b.lt LBB0_19
; %bb.5:
Lloh2:
adrp x24, _LIKE_FALSE@GOTPAGE
Lloh3:
ldr x24, [x24, _LIKE_FALSE@GOTPAGEOFF]
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
mov x0, x22
mov x1, x21
bl _NextChar
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
mov x0, x20
mov x1, x19
bl _NextByte
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x20]
cmp w8, #92
b.eq LBB0_12
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
cmp w8, #95
b.eq LBB0_6
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
cmp w8, #37
b.eq LBB0_16
; %bb.11: ; in Loop: Header=BB0_8 Depth=1
sxtb w0, w8
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_8 Depth=1
mov x0, x20
mov x1, x19
bl _NextByte
ldrsb w0, [x20]
LBB0_13: ; in Loop: Header=BB0_8 Depth=1
bl _GETCHAR
mov x23, x0
ldrsb w0, [x22]
bl _GETCHAR
cmp w23, w0
b.ne LBB0_25
; %bb.14: ; in Loop: Header=BB0_8 Depth=1
mov x0, x22
mov x1, x21
bl _NextByte
b LBB0_7
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
mov x0, x22
mov x1, x21
bl _NextChar
LBB0_16: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
bl _NextByte
ldrb w8, [x20]
cmp w8, #37
b.eq LBB0_16
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
cmp w8, #95
b.eq LBB0_15
LBB0_18: ; =>This Inner Loop Header: Depth=1
b LBB0_18
LBB0_19:
cmp w21, #0
b.le LBB0_21
; %bb.20:
Lloh4:
adrp x24, _LIKE_FALSE@GOTPAGE
Lloh5:
ldr x24, [x24, _LIKE_FALSE@GOTPAGEOFF]
b LBB0_25
LBB0_21:
cmp w19, #1
b.lt LBB0_24
LBB0_22: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x20]
cmp w8, #37
b.ne LBB0_24
; %bb.23: ; in Loop: Header=BB0_22 Depth=1
mov x0, x20
mov x1, x19
bl _NextByte
b LBB0_22
LBB0_24:
Lloh6:
adrp x8, _LIKE_ABORT@GOTPAGE
Lloh7:
ldr x8, [x8, _LIKE_ABORT@GOTPAGEOFF]
Lloh8:
adrp x9, _LIKE_TRUE@GOTPAGE
Lloh9:
ldr x9, [x9, _LIKE_TRUE@GOTPAGEOFF]
cmp w19, #1
csel x24, x9, x8, lt
LBB0_25:
ldr w0, [x24]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _LIKE_TRUE,4,2 ; @LIKE_TRUE
.comm _ERROR,4,2 ; @ERROR
.comm _ERRCODE_INVALID_ESCAPE_SEQUENCE,4,2 ; @ERRCODE_INVALID_ESCAPE_SEQUENCE
.comm _LIKE_FALSE,4,2 ; @LIKE_FALSE
.comm _LIKE_ABORT,4,2 ; @LIKE_ABORT
.no_dead_strip _MatchText
.subsections_via_symbols
| assembly_file_159000.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bufzoneinit
_bufzoneinit: ## @bufzoneinit
.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 _meta_zones@GOTPCREL(%rip), %r14
movq (%r14), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.1:
xorl %ebx, %ebx
movq _PAGE_SIZE@GOTPCREL(%rip), %r15
movq _Z_CALLERACCT@GOTPCREL(%rip), %r12
movq _FALSE@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl 8(%rax,%rbx), %esi
movl (%r15), %edx
movq 16(%rax,%rbx), %rcx
## kill: def $edi killed $edi killed $rdi
callq _zinit
movq (%r14), %rcx
movq %rax, 24(%rcx,%rbx)
movq (%r14), %rax
movq 24(%rax,%rbx), %rdi
movl (%r12), %esi
movl (%r13), %edx
callq _zone_change
movq (%r14), %rax
movq 32(%rax,%rbx), %rdi
addq $32, %rbx
testq %rdi, %rdi
jne LBB0_2
LBB0_3:
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rcx
movl $4, %edi
movl $32, %esi
callq _zinit
movq _buf_hdr_zone@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _Z_CALLERACCT@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq _FALSE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq %rax, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _zone_change ## TAILCALL
.cfi_endproc
## -- End function
.comm _meta_zones,8,3 ## @meta_zones
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _Z_CALLERACCT,4,2 ## @Z_CALLERACCT
.comm _FALSE,4,2 ## @FALSE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "buf headers"
.comm _buf_hdr_zone,8,3 ## @buf_hdr_zone
.no_dead_strip _bufzoneinit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bufzoneinit
_bufzoneinit: ; @bufzoneinit
.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
Lloh0:
adrp x21, _meta_zones@GOTPAGE
Lloh1:
ldr x21, [x21, _meta_zones@GOTPAGEOFF]
ldr x8, [x21]
ldr x0, [x8]
Lloh2:
adrp x22, _PAGE_SIZE@GOTPAGE
Lloh3:
ldr x22, [x22, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
adrp x19, _Z_CALLERACCT@GOTPAGE
Lloh5:
ldr x19, [x19, _Z_CALLERACCT@GOTPAGEOFF]
Lloh6:
adrp x20, _FALSE@GOTPAGE
Lloh7:
ldr x20, [x20, _FALSE@GOTPAGEOFF]
cbz x0, LBB0_3
; %bb.1:
mov x23, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
add x8, x8, x23
ldr w1, [x8, #8]
ldr w2, [x22]
ldr x3, [x8, #16]
; kill: def $w0 killed $w0 killed $x0
bl _zinit
ldr x8, [x21]
add x8, x8, x23
str x0, [x8, #24]
ldr x8, [x21]
add x8, x8, x23
ldr x0, [x8, #24]
ldr w1, [x19]
ldr w2, [x20]
bl _zone_change
ldr x8, [x21]
add x9, x8, x23
ldr x0, [x9, #32]
add x23, x23, #32
cbnz x0, LBB0_2
LBB0_3:
ldr w2, [x22]
Lloh8:
adrp x3, l_.str@PAGE
Lloh9:
add x3, x3, l_.str@PAGEOFF
mov w0, #4
mov w1, #32
bl _zinit
Lloh10:
adrp x8, _buf_hdr_zone@GOTPAGE
Lloh11:
ldr x8, [x8, _buf_hdr_zone@GOTPAGEOFF]
Lloh12:
str x0, [x8]
ldr w1, [x19]
ldr w2, [x20]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _zone_change
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _meta_zones,8,3 ; @meta_zones
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _Z_CALLERACCT,4,2 ; @Z_CALLERACCT
.comm _FALSE,4,2 ; @FALSE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "buf headers"
.comm _buf_hdr_zone,8,3 ; @buf_hdr_zone
.no_dead_strip _bufzoneinit
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_bio.c_bufzoneinit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_connect ## -- Begin function proxy_connect
.p2align 4, 0x90
_proxy_connect: ## @proxy_connect
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r12
movq _AF_INET@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movq _SOCK_STREAM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IPPROTO_TCP@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _socket
movl %eax, %r14d
movl (%rbx), %eax
movl %eax, -40(%rbp)
movl %r15d, %edi
callq _htons
movl %eax, -44(%rbp)
leaq L_.str(%rip), %rdi
movq %r12, %rsi
movl %r15d, %edx
xorl %eax, %eax
callq _printf
movq %r12, %rdi
callq _inet_addr
movl %eax, -48(%rbp)
testl %eax, %eax
je LBB0_4
## %bb.1:
movq %r12, %rdi
callq _gethostbyname
movq %rax, %rbx
testq %rax, %rax
jne LBB0_3
## %bb.2:
leaq L_.str.1(%rip), %rdi
movl $1, %esi
callq _printe
LBB0_3:
movq (%rbx), %rsi
leaq -48(%rbp), %rdi
movl $4, %edx
callq _memcpy
LBB0_4:
movq _SIGALRM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _sig_alarm@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _signal
movq _TIMEOUT@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _alarm
leaq -48(%rbp), %rsi
movl %r14d, %edi
movl $12, %edx
callq _connect
testq %rax, %rax
je LBB0_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
movl $1, %esi
callq _printe
LBB0_6:
xorl %edi, %edi
callq _alarm
leaq L_.str.3(%rip), %rdi
movq %r12, %rsi
movl %r15d, %edx
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _sleep
leaq L_str(%rip), %rdi
callq _puts
movq _tbl@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq 8(%rax), %rdi
callq _getbuf
movq _BUFSIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %r14d, %edi
movl %eax, %esi
callq _write
movl $1, %edi
callq _sleep
leaq L_str.6(%rip), %rdi
callq _puts
movl %r14d, %edi
callq _close
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AF_INET,4,2 ## @AF_INET
.comm _SOCK_STREAM,4,2 ## @SOCK_STREAM
.comm _IPPROTO_TCP,4,2 ## @IPPROTO_TCP
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "[*] attempting to connect: %s:%d.\n"
L_.str.1: ## @.str.1
.asciz "couldn't resolve hostname."
.comm _SIGALRM,4,2 ## @SIGALRM
.comm _sig_alarm,4,2 ## @sig_alarm
.comm _TIMEOUT,4,2 ## @TIMEOUT
L_.str.2: ## @.str.2
.asciz "3proxy connection failed."
L_.str.3: ## @.str.3
.asciz "[*] successfully connected: %s:%d.\n"
.comm _tbl,16,3 ## @tbl
.comm _BUFSIZE,4,2 ## @BUFSIZE
L_str: ## @str
.asciz "[*] sending string: \"GET /[NOPS][SHELLCODE][RETADDR]\\nHost: [FILLER]\\n\\n\""
L_str.6: ## @str.6
.asciz "[*] closing connection.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_connect ; -- Begin function proxy_connect
.p2align 2
_proxy_connect: ; @proxy_connect
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x20, x0
Lloh0:
adrp x22, _AF_INET@GOTPAGE
Lloh1:
ldr x22, [x22, _AF_INET@GOTPAGEOFF]
ldr w0, [x22]
Lloh2:
adrp x8, _SOCK_STREAM@GOTPAGE
Lloh3:
ldr x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
Lloh5:
adrp x8, _IPPROTO_TCP@GOTPAGE
Lloh6:
ldr x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
bl _socket
mov x19, x0
ldr w8, [x22]
str w8, [sp, #24]
mov x0, x21
bl _htons
str w0, [sp, #20]
mov w8, w21
stp x20, x8, [sp]
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x0, x20
bl _inet_addr
str w0, [sp, #16]
cbz w0, LBB0_4
; %bb.1:
mov x0, x20
bl _gethostbyname
mov x22, x0
cbnz x0, LBB0_3
; %bb.2:
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
mov w1, #1
bl _printe
LBB0_3:
ldr x1, [x22]
add x0, sp, #16
mov w2, #4
bl _memcpy
LBB0_4:
Lloh12:
adrp x8, _SIGALRM@GOTPAGE
Lloh13:
ldr x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
Lloh15:
adrp x8, _sig_alarm@GOTPAGE
Lloh16:
ldr x8, [x8, _sig_alarm@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
bl _signal
Lloh18:
adrp x8, _TIMEOUT@GOTPAGE
Lloh19:
ldr x8, [x8, _TIMEOUT@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
bl _alarm
add x1, sp, #16
mov x0, x19
mov w2, #12
bl _connect
cbz x0, LBB0_6
; %bb.5:
Lloh21:
adrp x0, l_.str.2@PAGE
Lloh22:
add x0, x0, l_.str.2@PAGEOFF
mov w1, #1
bl _printe
LBB0_6:
mov w0, #0
bl _alarm
stp x20, x21, [sp]
Lloh23:
adrp x0, l_.str.3@PAGE
Lloh24:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #1
bl _sleep
Lloh25:
adrp x0, l_str@PAGE
Lloh26:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh27:
adrp x8, _tbl@GOTPAGE
Lloh28:
ldr x8, [x8, _tbl@GOTPAGEOFF]
ldp x8, x9, [x8]
add x0, x8, x9
bl _getbuf
mov x1, x0
Lloh29:
adrp x8, _BUFSIZE@GOTPAGE
Lloh30:
ldr x8, [x8, _BUFSIZE@GOTPAGEOFF]
Lloh31:
ldr w2, [x8]
mov x0, x19
bl _write
mov w0, #1
bl _sleep
Lloh32:
adrp x0, l_str.6@PAGE
Lloh33:
add x0, x0, l_str.6@PAGEOFF
bl _puts
mov x0, x19
bl _close
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _AF_INET,4,2 ; @AF_INET
.comm _SOCK_STREAM,4,2 ; @SOCK_STREAM
.comm _IPPROTO_TCP,4,2 ; @IPPROTO_TCP
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "[*] attempting to connect: %s:%d.\n"
l_.str.1: ; @.str.1
.asciz "couldn't resolve hostname."
.comm _SIGALRM,4,2 ; @SIGALRM
.comm _sig_alarm,4,2 ; @sig_alarm
.comm _TIMEOUT,4,2 ; @TIMEOUT
l_.str.2: ; @.str.2
.asciz "3proxy connection failed."
l_.str.3: ; @.str.3
.asciz "[*] successfully connected: %s:%d.\n"
.comm _tbl,16,3 ; @tbl
.comm _BUFSIZE,4,2 ; @BUFSIZE
l_str: ; @str
.asciz "[*] sending string: \"GET /[NOPS][SHELLCODE][RETADDR]\\nHost: [FILLER]\\n\\n\""
l_str.6: ; @str.6
.asciz "[*] closing connection.\n"
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/linux/remote/extr_3821.c_proxy_connect.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rp_do_poll
_rp_do_poll: ## @rp_do_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq 32(%rdi), %r14
movq _MA_OWNED@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _tty_lock_assert
movq 24(%rbx), %r15
movq %r15, %rdi
callq *(%r15)
movzbl %al, %eax
movl (%rbx), %esi
btl %esi, %eax
jae LBB0_3
## %bb.1:
movq %r15, %rdi
callq _sGetAiopIntStatus
movzbl %al, %eax
movl 4(%rbx), %ecx
btl %ecx, %eax
jae LBB0_3
## %bb.2:
movq %rbx, %rdi
callq _rp_handle_port
LBB0_3:
leaq 16(%rbx), %rdi
callq _sGetTxCnt
testl %eax, %eax
js LBB0_6
## %bb.4:
cmpl 8(%rbx), %eax
jg LBB0_6
## %bb.5:
movq %r14, %rdi
callq _rpstart
LBB0_6:
addq $12, %rbx
movq _POLL_INTERVAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _callout_schedule ## TAILCALL
.cfi_endproc
## -- End function
.comm _MA_OWNED,4,2 ## @MA_OWNED
.comm _POLL_INTERVAL,4,2 ## @POLL_INTERVAL
.no_dead_strip _rp_do_poll
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rp_do_poll
_rp_do_poll: ; @rp_do_poll
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr x20, [x0, #32]
Lloh0:
adrp x8, _MA_OWNED@GOTPAGE
Lloh1:
ldr x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
bl _tty_lock_assert
ldr x21, [x19, #24]
ldr x8, [x21]
mov x0, x21
blr x8
ldr w1, [x19]
lsr w8, w0, w1
tbz w8, #0, LBB0_3
; %bb.1:
mov x0, x21
; kill: def $w1 killed $w1 killed $x1
bl _sGetAiopIntStatus
ldr w8, [x19, #4]
lsr w8, w0, w8
tbz w8, #0, LBB0_3
; %bb.2:
mov x0, x19
bl _rp_handle_port
LBB0_3:
add x0, x19, #16
bl _sGetTxCnt
tbnz w0, #31, LBB0_6
; %bb.4:
ldr w8, [x19, #8]
cmp w0, w8
b.gt LBB0_6
; %bb.5:
mov x0, x20
bl _rpstart
LBB0_6:
add x0, x19, #12
Lloh3:
adrp x8, _POLL_INTERVAL@GOTPAGE
Lloh4:
ldr x8, [x8, _POLL_INTERVAL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _callout_schedule
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _MA_OWNED,4,2 ; @MA_OWNED
.comm _POLL_INTERVAL,4,2 ; @POLL_INTERVAL
.no_dead_strip _rp_do_poll
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/rp/extr_rp.c_rp_do_poll.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_chan ## -- Begin function set_chan
.p2align 4, 0x90
_set_chan: ## @set_chan
.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 _chaninfo@GOTPCREL(%rip), %r14
cmpl %edi, (%r14)
je LBB0_4
## %bb.1:
movl %edi, %ebx
movl %edi, 4(%r14)
leaq 4(%r14), %rdx
movl 8(%r14), %edi
movq _SIOCS80211@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _ioctl
cmpl $-1, %eax
je LBB0_2
## %bb.3:
movl %ebx, (%r14)
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
callq _set_chan.cold.1
jmp LBB0_4
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function set_chan.cold.1
_set_chan.cold.1: ## @set_chan.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(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.comm _chaninfo,12,2 ## @chaninfo
.comm _SIOCS80211,4,2 ## @SIOCS80211
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ioctl(SIOCS80211) [chan]"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_chan ; -- Begin function set_chan
.p2align 2
_set_chan: ; @set_chan
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x20, _chaninfo@GOTPAGE
Lloh1:
ldr x20, [x20, _chaninfo@GOTPAGEOFF]
ldr w8, [x20]
cmp w8, w0
b.eq LBB0_3
; %bb.1:
mov x19, x0
mov x2, x20
str w0, [x2, #4]!
ldr w0, [x2, #4]
Lloh2:
adrp x8, _SIOCS80211@GOTPAGE
Lloh3:
ldr x8, [x8, _SIOCS80211@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
bl _ioctl
cmn w0, #1
b.eq LBB0_4
; %bb.2:
str w19, [x20]
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
bl _set_chan.cold.1
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function set_chan.cold.1
_set_chan.cold.1: ; @set_chan.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
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _chaninfo,12,2 ; @chaninfo
.comm _SIOCS80211,4,2 ; @SIOCS80211
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ioctl(SIOCS80211) [chan]"
.subsections_via_symbols
| AnghaBench/freebsd/tools/tools/net80211/wesside/wesside/extr_wesside.c_set_chan.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mask_irq ## -- Begin function mask_irq
.p2align 4, 0x90
_mask_irq: ## @mask_irq
.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 _NR_CPUS@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_3
## %bb.1:
movl %edi, %r14d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
movl %ebx, %esi
callq _block_irq
incl %ebx
cmpl (%r15), %ebx
jl LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NR_CPUS,4,2 ## @NR_CPUS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mask_irq ; -- Begin function mask_irq
.p2align 2
_mask_irq: ; @mask_irq
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x21, _NR_CPUS@GOTPAGE
Lloh1:
ldr x21, [x21, _NR_CPUS@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x19, x0
mov w20, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
bl _block_irq
add w20, w20, #1
ldr w8, [x21]
cmp w20, w8
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
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _NR_CPUS,4,2 ; @NR_CPUS
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/cris/arch-v32/kernel/extr_irq.c_mask_irq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _regs_dump ## -- Begin function regs_dump
.p2align 4, 0x90
_regs_dump: ## @regs_dump
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movl 68(%rsi), %r8d
movl 64(%rsi), %r9d
movl 56(%rsi), %r10d
movl 60(%rsi), %r11d
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %r12
movq %r12, %rcx
xorl %eax, %eax
pushq %r10
pushq %r11
callq _fprintf
addq $16, %rsp
movl 52(%rbx), %r8d
movl 48(%rbx), %r9d
movl 40(%rbx), %r10d
movl 44(%rbx), %r11d
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %r12, %rcx
xorl %eax, %eax
pushq %r10
pushq %r11
callq _fprintf
addq $16, %rsp
movl 36(%rbx), %r8d
movl 32(%rbx), %r9d
movl 24(%rbx), %r10d
movl 28(%rbx), %r11d
leaq L_.str.3(%rip), %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %r12, %rcx
xorl %eax, %eax
pushq %r10
pushq %r11
callq _fprintf
addq $16, %rsp
movl 20(%rbx), %r8d
movl 16(%rbx), %r9d
movl 8(%rbx), %r10d
movl 12(%rbx), %r11d
leaq L_.str.4(%rip), %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %r12, %rcx
xorl %eax, %eax
pushq %r10
pushq %r11
callq _fprintf
addq $16, %rsp
movl (%rbx), %r9d
movl 4(%rbx), %r8d
leaq L_.str.5(%rip), %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %r12, %rcx
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _fprintf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%*srax: 0x%.16llx rbx: 0x%.16llx rcx: 0x%.16llx rdx: 0x%.16llx\n"
L_.str.1: ## @.str.1
.space 1
L_.str.2: ## @.str.2
.asciz "%*srsi: 0x%.16llx rdi: 0x%.16llx rsp: 0x%.16llx rbp: 0x%.16llx\n"
L_.str.3: ## @.str.3
.asciz "%*sr8: 0x%.16llx r9: 0x%.16llx r10: 0x%.16llx r11: 0x%.16llx\n"
L_.str.4: ## @.str.4
.asciz "%*sr12: 0x%.16llx r13: 0x%.16llx r14: 0x%.16llx r15: 0x%.16llx\n"
L_.str.5: ## @.str.5
.asciz "%*srip: 0x%.16llx rfl: 0x%.16llx\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _regs_dump ; -- Begin function regs_dump
.p2align 2
_regs_dump: ; @regs_dump
.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 x21, x1
mov x20, x0
ldp w5, w4, [x1, #64]
ldp w9, w8, [x1, #56]
stp x8, x9, [sp]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
Lloh2:
adrp x22, l_.str.1@PAGE
Lloh3:
add x22, x22, l_.str.1@PAGEOFF
mov x3, x22
bl _fprintf
ldp w5, w4, [x21, #48]
ldp w9, w8, [x21, #40]
stp x8, x9, [sp]
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
mov x2, x19
mov x3, x22
bl _fprintf
ldp w5, w4, [x21, #32]
ldp w9, w8, [x21, #24]
stp x8, x9, [sp]
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
mov x2, x19
mov x3, x22
bl _fprintf
ldp w5, w4, [x21, #16]
ldp w9, w8, [x21, #8]
stp x8, x9, [sp]
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
mov x2, x19
mov x3, x22
bl _fprintf
ldp w5, w4, [x21]
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x20
mov x2, x19
mov x3, x22
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _fprintf
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%*srax: 0x%.16llx rbx: 0x%.16llx rcx: 0x%.16llx rdx: 0x%.16llx\n"
l_.str.1: ; @.str.1
.space 1
l_.str.2: ; @.str.2
.asciz "%*srsi: 0x%.16llx rdi: 0x%.16llx rsp: 0x%.16llx rbp: 0x%.16llx\n"
l_.str.3: ; @.str.3
.asciz "%*sr8: 0x%.16llx r9: 0x%.16llx r10: 0x%.16llx r11: 0x%.16llx\n"
l_.str.4: ; @.str.4
.asciz "%*sr12: 0x%.16llx r13: 0x%.16llx r14: 0x%.16llx r15: 0x%.16llx\n"
l_.str.5: ; @.str.5
.asciz "%*srip: 0x%.16llx rfl: 0x%.16llx\n"
.subsections_via_symbols
| AnghaBench/linux/tools/testing/selftests/kvm/lib/x86_64/extr_processor.c_regs_dump.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iblock_complete_cmd
_iblock_complete_cmd: ## @iblock_complete_cmd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq (%rdi), %rbx
leaq 4(%rbx), %rdi
callq _atomic_dec_and_test
testl %eax, %eax
je LBB0_5
## %bb.1:
movq %rbx, %rdi
callq _atomic_read
testq %rax, %rax
jne LBB0_2
## %bb.3:
movq _SAM_STAT_GOOD@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
movq _SAM_STAT_CHECK_CONDITION@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %esi
movq %r14, %rdi
callq _target_complete_cmd
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.comm _SAM_STAT_CHECK_CONDITION,4,2 ## @SAM_STAT_CHECK_CONDITION
.comm _SAM_STAT_GOOD,4,2 ## @SAM_STAT_GOOD
.no_dead_strip _iblock_complete_cmd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iblock_complete_cmd
_iblock_complete_cmd: ; @iblock_complete_cmd
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
ldr x19, [x0]
add x0, x19, #4
bl _atomic_dec_and_test
cbz w0, LBB0_2
; %bb.1:
mov x0, x19
bl _atomic_read
Lloh0:
adrp x8, _SAM_STAT_GOOD@GOTPAGE
Lloh1:
ldr x8, [x8, _SAM_STAT_GOOD@GOTPAGEOFF]
Lloh2:
adrp x9, _SAM_STAT_CHECK_CONDITION@GOTPAGE
Lloh3:
ldr x9, [x9, _SAM_STAT_CHECK_CONDITION@GOTPAGEOFF]
cmp x0, #0
csel x8, x8, x9, eq
ldr w1, [x8]
mov x0, x20
bl _target_complete_cmd
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kfree
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _SAM_STAT_CHECK_CONDITION,4,2 ; @SAM_STAT_CHECK_CONDITION
.comm _SAM_STAT_GOOD,4,2 ; @SAM_STAT_GOOD
.no_dead_strip _iblock_complete_cmd
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_iblock.c_iblock_complete_cmd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function CreatePallet
_CreatePallet: ## @CreatePallet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl $0, -28(%rbp)
movq $0, -40(%rbp)
leaq -40(%rbp), %rax
leaq -28(%rbp), %rcx
movl %esi, %edi
movl %edx, %esi
movq %rax, %rdx
callq _png_get_PLTE
movq _PNG_INFO_PLTE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.2:
movl 8(%rbx), %edi
movl -28(%rbp), %eax
leal (%rax,%rax,2), %esi
callq _HPDF_GetMem
testq %rax, %rax
je LBB0_11
## %bb.3:
movq %rax, %r14
cmpl $0, -28(%rbp)
jle LBB0_7
## %bb.4:
xorl %ecx, %ecx
movq -40(%rbp), %rax
movq %r14, %rdx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl 8(%rax), %esi
movl %esi, (%rdx)
movl 4(%rax), %esi
movl %esi, 4(%rdx)
movl (%rax), %esi
movl %esi, 8(%rdx)
incl %ecx
addq $12, %rax
addq $12, %rdx
cmpl -28(%rbp), %ecx
jl LBB0_5
## %bb.6:
movq %rax, -40(%rbp)
LBB0_7:
movl 8(%rbx), %edi
callq _HPDF_Array_New
testq %rax, %rax
je LBB0_10
## %bb.8:
movq %rax, %r15
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq _HPDF_Dict_Add
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
callq _HPDF_Array_AddName
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
callq _HPDF_Array_AddName
movl -28(%rbp), %esi
decl %esi
movq %r15, %rdi
callq _HPDF_Array_AddNumber
movl 8(%rbx), %edi
movl -28(%rbp), %eax
leal (%rax,%rax,2), %edx
movq %r14, %rsi
callq _HPDF_Binary_New
testq %rax, %rax
je LBB0_10
## %bb.9:
movq %r15, %rdi
movq %rax, %rsi
callq _HPDF_Array_Add
LBB0_10:
movl 8(%rbx), %edi
movq %r14, %rsi
callq _HPDF_FreeMem
LBB0_11:
movq (%rbx), %rax
movl (%rax), %eax
jmp LBB0_12
LBB0_1:
movq (%rbx), %rdi
movq _HPDF_LIBPNG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _HPDF_CANNOT_GET_PALLET@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _HPDF_SetError
LBB0_12:
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PNG_INFO_PLTE,8,3 ## @PNG_INFO_PLTE
.comm _HPDF_LIBPNG_ERROR,4,2 ## @HPDF_LIBPNG_ERROR
.comm _HPDF_CANNOT_GET_PALLET,4,2 ## @HPDF_CANNOT_GET_PALLET
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ColorSpace"
L_.str.1: ## @.str.1
.asciz "Indexed"
L_.str.2: ## @.str.2
.asciz "DeviceRGB"
.no_dead_strip _CreatePallet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function CreatePallet
_CreatePallet: ; @CreatePallet
.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 x8, x2
mov x19, x0
str wzr, [sp, #12]
str xzr, [sp]
mov x2, sp
add x3, sp, #12
mov x0, x1
mov x1, x8
bl _png_get_PLTE
Lloh0:
adrp x8, _PNG_INFO_PLTE@GOTPAGE
Lloh1:
ldr x8, [x8, _PNG_INFO_PLTE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_11
; %bb.1:
ldr w0, [x19, #8]
ldr w8, [sp, #12]
add w1, w8, w8, lsl #1
bl _HPDF_GetMem
cbz x0, LBB0_10
; %bb.2:
mov x20, x0
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_6
; %bb.3:
mov w8, #0
ldr x9, [sp]
mov x10, x20
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w11, [x9, #8]
str w11, [x10]
ldr w11, [x9, #4]
str w11, [x10, #4]
ldr w11, [x9], #12
str w11, [x10, #8]
add w8, w8, #1
ldr w11, [sp, #12]
add x10, x10, #12
cmp w8, w11
b.lt LBB0_4
; %bb.5:
str x9, [sp]
LBB0_6:
ldr w0, [x19, #8]
bl _HPDF_Array_New
cbz x0, LBB0_9
; %bb.7:
mov x21, x0
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
mov x2, x21
bl _HPDF_Dict_Add
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x21
bl _HPDF_Array_AddName
Lloh7:
adrp x1, l_.str.2@PAGE
Lloh8:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x21
bl _HPDF_Array_AddName
ldr w8, [sp, #12]
sub w1, w8, #1
mov x0, x21
bl _HPDF_Array_AddNumber
ldr w0, [x19, #8]
ldr w8, [sp, #12]
add w2, w8, w8, lsl #1
mov x1, x20
bl _HPDF_Binary_New
cbz x0, LBB0_9
; %bb.8:
mov x1, x0
mov x0, x21
bl _HPDF_Array_Add
LBB0_9:
ldr w0, [x19, #8]
mov x1, x20
bl _HPDF_FreeMem
LBB0_10:
ldr x8, [x19]
ldr w0, [x8]
b LBB0_12
LBB0_11:
ldr x0, [x19]
Lloh9:
adrp x8, _HPDF_LIBPNG_ERROR@GOTPAGE
Lloh10:
ldr x8, [x8, _HPDF_LIBPNG_ERROR@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
Lloh12:
adrp x8, _HPDF_CANNOT_GET_PALLET@GOTPAGE
Lloh13:
ldr x8, [x8, _HPDF_CANNOT_GET_PALLET@GOTPAGEOFF]
Lloh14:
ldr w2, [x8]
bl _HPDF_SetError
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
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _PNG_INFO_PLTE,8,3 ; @PNG_INFO_PLTE
.comm _HPDF_LIBPNG_ERROR,4,2 ; @HPDF_LIBPNG_ERROR
.comm _HPDF_CANNOT_GET_PALLET,4,2 ; @HPDF_CANNOT_GET_PALLET
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ColorSpace"
l_.str.1: ; @.str.1
.asciz "Indexed"
l_.str.2: ; @.str.2
.asciz "DeviceRGB"
.no_dead_strip _CreatePallet
.subsections_via_symbols
| AnghaBench/poco/PDF/src/extr_hpdf_image_png.c_CreatePallet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mpi_assign_limb_space ## -- Begin function mpi_assign_limb_space
.p2align 4, 0x90
_mpi_assign_limb_space: ## @mpi_assign_limb_space
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
movl 4(%rdi), %edi
callq _mpi_free_limb_space
movl %r15d, 4(%rbx)
movl %r14d, (%rbx)
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 _mpi_assign_limb_space ; -- Begin function mpi_assign_limb_space
.p2align 2
_mpi_assign_limb_space: ; @mpi_assign_limb_space
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
ldr w0, [x0, #4]
bl _mpi_free_limb_space
stp w19, w20, [x21]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/crypto/mpi/extr_mpiutil.c_mpi_assign_limb_space.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _decNumberReduce ## -- Begin function decNumberReduce
.p2align 4, 0x90
_decNumberReduce: ## @decNumberReduce
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq $0, -48(%rbp)
movl $0, -52(%rbp)
movq %rsi, %rdi
callq _decNumberIsNaN
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq -48(%rbp), %r8
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movq %r14, %rcx
callq _decNaNs
jmp LBB0_3
LBB0_2:
leaq -52(%rbp), %r12
leaq -48(%rbp), %r13
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %r12, %rcx
movq %r13, %r8
callq _decCopyFit
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %r13, %rcx
callq _decFinish
leaq -56(%rbp), %r8
movq %r15, %rdi
movq %r14, %rsi
movl $1, %edx
xorl %ecx, %ecx
callq _decTrim
LBB0_3:
movq -48(%rbp), %rsi
testq %rsi, %rsi
je LBB0_5
## %bb.4:
movq %r15, %rdi
movq %r14, %rdx
callq _decStatus
LBB0_5:
movq %r15, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DECUNUSED,4,2 ## @DECUNUSED
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _decNumberReduce ; -- Begin function decNumberReduce
.p2align 2
_decNumberReduce: ; @decNumberReduce
.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, x2
mov x21, x1
mov x19, x0
str xzr, [sp, #8]
str wzr, [sp, #4]
mov x0, x1
bl _decNumberIsNaN
cbz x0, LBB0_4
; %bb.1:
add x4, sp, #8
mov x0, x19
mov x1, x21
mov x2, #0
mov x3, x20
bl _decNaNs
ldr x1, [sp, #8]
cbz x1, LBB0_3
LBB0_2:
mov x0, x19
mov x2, x20
bl _decStatus
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_4:
add x3, sp, #4
add x4, sp, #8
mov x0, x19
mov x1, x21
mov x2, x20
bl _decCopyFit
add x2, sp, #4
add x3, sp, #8
mov x0, x19
mov x1, x20
bl _decFinish
mov x4, sp
mov x0, x19
mov x1, x20
mov w2, #1
mov w3, #0
bl _decTrim
ldr x1, [sp, #8]
cbnz x1, LBB0_2
b LBB0_3
.cfi_endproc
; -- End function
.comm _DECUNUSED,4,2 ; @DECUNUSED
.subsections_via_symbols
| AnghaBench/jq/src/decNumber/extr_decNumber.c_decNumberReduce.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _bpf_prog1 ## -- Begin function bpf_prog1
.p2align 4, 0x90
_bpf_prog1: ## @bpf_prog1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $200, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movaps L___const.bpf_prog1.time_fmt1+16(%rip), %xmm0
movaps %xmm0, -64(%rbp)
movaps L___const.bpf_prog1.time_fmt1(%rip), %xmm0
movaps %xmm0, -80(%rbp)
movabsq $33051784010283623, %rax ## imm = 0x756C6C25203A67
movq %rax, -49(%rbp)
movups L___const.bpf_prog1.time_fmt2+13(%rip), %xmm0
movups %xmm0, -99(%rbp)
movaps L___const.bpf_prog1.time_fmt2(%rip), %xmm0
movaps %xmm0, -112(%rbp)
movaps L___const.bpf_prog1.addr_fmt+16(%rip), %xmm0
movaps %xmm0, -128(%rbp)
movaps L___const.bpf_prog1.addr_fmt(%rip), %xmm0
movaps %xmm0, -144(%rbp)
movups L___const.bpf_prog1.fmt+11(%rip), %xmm0
movups %xmm0, -165(%rbp)
movaps L___const.bpf_prog1.fmt(%rip), %xmm0
movaps %xmm0, -176(%rbp)
xorl %eax, %eax
callq _bpf_get_smp_processor_id
movl $1, -180(%rbp)
cmpl $10000, (%rbx) ## imm = 0x2710
jl LBB0_11
## %bb.1:
movl %eax, %r14d
leaq -200(%rbp), %rdi
movl $4, %esi
callq _bpf_get_current_comm
movq _KERN_STACKID_FLAGS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _stackmap@GOTPCREL(%rip), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq _bpf_get_stackid
movq %rax, -208(%rbp)
movq _USER_STACKID_FLAGS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _bpf_get_stackid
movq %rax, -216(%rbp)
orl -208(%rbp), %eax
testl $-2147483648, %eax ## imm = 0x80000000
jne LBB0_2
## %bb.3:
leaq -188(%rbp), %rsi
movq %rbx, %rdi
movl $8, %edx
callq _bpf_perf_prog_read_value
testl %eax, %eax
je LBB0_4
## %bb.5:
leaq -112(%rbp), %rdi
movl $29, %esi
movl %eax, %edx
xorl %eax, %eax
callq _bpf_trace_printk
jmp LBB0_6
LBB0_2:
movl (%rbx), %r15d
addq $8, %rbx
movq %rbx, %rdi
callq _PT_REGS_IP
leaq -176(%rbp), %rdi
movl $27, %esi
movl %r14d, %edx
movl %r15d, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq _bpf_trace_printk
jmp LBB0_11
LBB0_4:
movl -188(%rbp), %ecx
movl -184(%rbp), %edx
leaq -80(%rbp), %rdi
movl $39, %esi
xorl %eax, %eax
callq _bpf_trace_printk
LBB0_6:
movl 4(%rbx), %edx
testl %edx, %edx
je LBB0_8
## %bb.7:
leaq -144(%rbp), %rdi
movl $32, %esi
xorl %eax, %eax
callq _bpf_trace_printk
LBB0_8:
movq _counts@GOTPCREL(%rip), %rdi
leaq -216(%rbp), %rsi
callq _bpf_map_lookup_elem
testq %rax, %rax
je LBB0_10
## %bb.9:
decl (%rax)
jmp LBB0_11
LBB0_10:
movq _BPF_NOEXIST@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _counts@GOTPCREL(%rip), %rdi
leaq -216(%rbp), %rsi
leaq -180(%rbp), %rdx
callq _bpf_map_update_elem
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_13
## %bb.12:
xorl %eax, %eax
addq $200, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
.p2align 4, 0x0 ## @__const.bpf_prog1.time_fmt1
L___const.bpf_prog1.time_fmt1:
.asciz "Time Enabled: %llu, Time Running: %llu"
.p2align 4, 0x0 ## @__const.bpf_prog1.time_fmt2
L___const.bpf_prog1.time_fmt2:
.asciz "Get Time Failed, ErrCode: %d"
.p2align 4, 0x0 ## @__const.bpf_prog1.addr_fmt
L___const.bpf_prog1.addr_fmt:
.asciz "Address recorded on event: %llx"
.p2align 4, 0x0 ## @__const.bpf_prog1.fmt
L___const.bpf_prog1.fmt:
.asciz "CPU-%d period %lld ip %llx"
.comm _stackmap,4,2 ## @stackmap
.comm _KERN_STACKID_FLAGS,4,2 ## @KERN_STACKID_FLAGS
.comm _USER_STACKID_FLAGS,4,2 ## @USER_STACKID_FLAGS
.comm _counts,4,2 ## @counts
.comm _BPF_NOEXIST,4,2 ## @BPF_NOEXIST
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _bpf_prog1 ; -- Begin function bpf_prog1
.p2align 2
_bpf_prog1: ; @bpf_prog1
.cfi_startproc
; %bb.0:
sub sp, sp, #256
stp x22, x21, [sp, #208] ; 16-byte Folded Spill
stp x20, x19, [sp, #224] ; 16-byte Folded Spill
stp x29, x30, [sp, #240] ; 16-byte Folded Spill
add x29, sp, #240
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
sub x8, x29, #80
Lloh3:
adrp x9, l___const.bpf_prog1.time_fmt1@PAGE
Lloh4:
add x9, x9, l___const.bpf_prog1.time_fmt1@PAGEOFF
ldp q0, q1, [x9]
stp q0, q1, [x8]
ldur x9, [x9, #31]
stur x9, [x8, #31]
Lloh5:
adrp x8, l___const.bpf_prog1.time_fmt2@PAGE
Lloh6:
add x8, x8, l___const.bpf_prog1.time_fmt2@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-112]
ldur q0, [x8, #13]
stur q0, [x29, #-99]
Lloh7:
adrp x8, l___const.bpf_prog1.addr_fmt@PAGE
Lloh8:
add x8, x8, l___const.bpf_prog1.addr_fmt@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [sp, #96]
Lloh9:
adrp x8, l___const.bpf_prog1.fmt@PAGE
Lloh10:
add x8, x8, l___const.bpf_prog1.fmt@PAGEOFF
ldr q0, [x8]
str q0, [sp, #64]
ldur q0, [x8, #11]
stur q0, [sp, #75]
bl _bpf_get_smp_processor_id
mov w8, #1 ; =0x1
str w8, [sp, #28]
ldr w8, [x19]
mov w9, #10000 ; =0x2710
cmp w8, w9
b.lt LBB0_11
; %bb.1:
mov x20, x0
add x8, sp, #32
add x0, x8, #16
mov w1, #4 ; =0x4
bl _bpf_get_current_comm
Lloh11:
adrp x8, _KERN_STACKID_FLAGS@GOTPAGE
Lloh12:
ldr x8, [x8, _KERN_STACKID_FLAGS@GOTPAGEOFF]
Lloh13:
ldr w2, [x8]
Lloh14:
adrp x21, _stackmap@GOTPAGE
Lloh15:
ldr x21, [x21, _stackmap@GOTPAGEOFF]
mov x0, x19
mov x1, x21
bl _bpf_get_stackid
str x0, [sp, #40]
Lloh16:
adrp x8, _USER_STACKID_FLAGS@GOTPAGE
Lloh17:
ldr x8, [x8, _USER_STACKID_FLAGS@GOTPAGEOFF]
Lloh18:
ldr w2, [x8]
mov x0, x19
mov x1, x21
bl _bpf_get_stackid
str x0, [sp, #32]
ldr w8, [sp, #40]
orr w8, w8, w0
tbnz w8, #31, LBB0_4
; %bb.2:
add x1, sp, #56
mov x0, x19
mov w2, #8 ; =0x8
bl _bpf_perf_prog_read_value
cbz w0, LBB0_5
; %bb.3:
mov x2, x0
sub x0, x29, #112
mov w1, #29 ; =0x1d
b LBB0_6
LBB0_4:
ldr w21, [x19], #8
mov x0, x19
bl _PT_REGS_IP
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp]
add x0, sp, #64
mov w1, #27 ; =0x1b
mov x2, x20
bl _bpf_trace_printk
b LBB0_11
LBB0_5:
ldp w8, w2, [sp, #56]
str x8, [sp]
sub x0, x29, #80
mov w1, #39 ; =0x27
LBB0_6:
bl _bpf_trace_printk
ldr w2, [x19, #4]
cbz w2, LBB0_8
; %bb.7:
add x0, sp, #96
mov w1, #32 ; =0x20
bl _bpf_trace_printk
LBB0_8:
Lloh19:
adrp x0, _counts@GOTPAGE
Lloh20:
ldr x0, [x0, _counts@GOTPAGEOFF]
add x1, sp, #32
bl _bpf_map_lookup_elem
cbz x0, LBB0_10
; %bb.9:
ldr w8, [x0]
sub w8, w8, #1
str w8, [x0]
b LBB0_11
LBB0_10:
Lloh21:
adrp x8, _BPF_NOEXIST@GOTPAGE
Lloh22:
ldr x8, [x8, _BPF_NOEXIST@GOTPAGEOFF]
Lloh23:
ldr w3, [x8]
Lloh24:
adrp x0, _counts@GOTPAGE
Lloh25:
ldr x0, [x0, _counts@GOTPAGEOFF]
add x1, sp, #32
add x2, sp, #28
bl _bpf_map_update_elem
LBB0_11:
ldur x8, [x29, #-40]
Lloh26:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh27:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_13
; %bb.12:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #240] ; 16-byte Folded Reload
ldp x20, x19, [sp, #224] ; 16-byte Folded Reload
ldp x22, x21, [sp, #208] ; 16-byte Folded Reload
add sp, sp, #256
ret
LBB0_13:
bl ___stack_chk_fail
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.bpf_prog1.time_fmt1: ; @__const.bpf_prog1.time_fmt1
.asciz "Time Enabled: %llu, Time Running: %llu"
l___const.bpf_prog1.time_fmt2: ; @__const.bpf_prog1.time_fmt2
.asciz "Get Time Failed, ErrCode: %d"
l___const.bpf_prog1.addr_fmt: ; @__const.bpf_prog1.addr_fmt
.asciz "Address recorded on event: %llx"
l___const.bpf_prog1.fmt: ; @__const.bpf_prog1.fmt
.asciz "CPU-%d period %lld ip %llx"
.comm _stackmap,4,2 ; @stackmap
.comm _KERN_STACKID_FLAGS,4,2 ; @KERN_STACKID_FLAGS
.comm _USER_STACKID_FLAGS,4,2 ; @USER_STACKID_FLAGS
.comm _counts,4,2 ; @counts
.comm _BPF_NOEXIST,4,2 ; @BPF_NOEXIST
.subsections_via_symbols
| assembly_file_87355.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ocelot_get_function_groups
_ocelot_get_function_groups: ## @ocelot_get_function_groups
.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, %r15
movl %esi, %ebx
callq _pinctrl_dev_get_drvdata
movq (%rax), %rcx
movl %ebx, %edx
shlq $4, %rdx
movq (%rcx,%rdx), %rcx
movq %rcx, (%r15)
movq (%rax), %rax
movl 8(%rax,%rdx), %eax
movl %eax, (%r14)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ocelot_get_function_groups
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ocelot_get_function_groups
_ocelot_get_function_groups: ; @ocelot_get_function_groups
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x21, x1
bl _pinctrl_dev_get_drvdata
ldr x8, [x0]
mov w9, w21
lsl x9, x9, #4
ldr x8, [x8, x9]
str x8, [x20]
ldr x8, [x0]
add x8, x8, x9
ldr w8, [x8, #8]
str w8, [x19]
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _ocelot_get_function_groups
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/extr_pinctrl-ocelot.c_ocelot_get_function_groups.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ipmi_get_info_from_resources
_ipmi_get_info_from_resources: ## @ipmi_get_info_from_resources
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
movq _IORESOURCE_IO@GOTPCREL(%rip), %r12
movl (%r12), %esi
xorl %edx, %edx
callq _platform_get_resource
movq %rax, %rbx
movq _IPMI_IO_ADDR_SPACE@GOTPCREL(%rip), %r13
movq %r13, %rax
testq %rbx, %rbx
jne LBB0_3
## %bb.1:
movq _IORESOURCE_MEM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
xorl %edx, %edx
callq _platform_get_resource
testq %rax, %rax
je LBB0_9
## %bb.2:
movq %rax, %rbx
movq _IPMI_MEM_ADDR_SPACE@GOTPCREL(%rip), %rax
LBB0_3:
movq (%rax), %rax
movq %rax, (%r14)
movq (%rbx), %rcx
movq %rcx, 8(%r14)
movq _DEFAULT_REGSPACING@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, 16(%r14)
cmpq (%r13), %rax
je LBB0_5
## %bb.4:
movq _IORESOURCE_MEM@GOTPCREL(%rip), %r12
LBB0_5:
movl (%r12), %esi
movq %r15, %rdi
movl $1, %edx
callq _platform_get_resource
testq %rax, %rax
je LBB0_8
## %bb.6:
movq (%rax), %rax
subq 8(%r14), %rax
jle LBB0_8
## %bb.7:
movq %rax, 16(%r14)
jmp LBB0_8
LBB0_9:
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _dev_err
xorl %ebx, %ebx
LBB0_8:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IORESOURCE_IO,4,2 ## @IORESOURCE_IO
.comm _IPMI_IO_ADDR_SPACE,8,3 ## @IPMI_IO_ADDR_SPACE
.comm _IORESOURCE_MEM,4,2 ## @IORESOURCE_MEM
.comm _IPMI_MEM_ADDR_SPACE,8,3 ## @IPMI_MEM_ADDR_SPACE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "no I/O or memory address\n"
.comm _DEFAULT_REGSPACING,8,3 ## @DEFAULT_REGSPACING
.no_dead_strip _ipmi_get_info_from_resources
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ipmi_get_info_from_resources
_ipmi_get_info_from_resources: ; @ipmi_get_info_from_resources
.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
mov x21, x0
Lloh0:
adrp x22, _IORESOURCE_IO@GOTPAGE
Lloh1:
ldr x22, [x22, _IORESOURCE_IO@GOTPAGEOFF]
ldr w1, [x22]
mov w2, #0
bl _platform_get_resource
Lloh2:
adrp x24, _IPMI_IO_ADDR_SPACE@GOTPAGE
Lloh3:
ldr x24, [x24, _IPMI_IO_ADDR_SPACE@GOTPAGEOFF]
Lloh4:
adrp x23, _IORESOURCE_MEM@GOTPAGE
Lloh5:
ldr x23, [x23, _IORESOURCE_MEM@GOTPAGEOFF]
cbz x0, LBB0_2
; %bb.1:
mov x20, x0
mov x8, x24
b LBB0_4
LBB0_2:
ldr w1, [x23]
mov x0, x21
mov w2, #0
bl _platform_get_resource
mov x20, x0
cbz x0, LBB0_7
; %bb.3:
Lloh6:
adrp x8, _IPMI_MEM_ADDR_SPACE@GOTPAGE
Lloh7:
ldr x8, [x8, _IPMI_MEM_ADDR_SPACE@GOTPAGEOFF]
LBB0_4:
ldr x8, [x8]
ldr x9, [x20]
stp x8, x9, [x19]
Lloh8:
adrp x9, _DEFAULT_REGSPACING@GOTPAGE
Lloh9:
ldr x9, [x9, _DEFAULT_REGSPACING@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
str x9, [x19, #16]
ldr x9, [x24]
cmp x8, x9
csel x8, x22, x23, eq
ldr w1, [x8]
mov x0, x21
mov w2, #1
bl _platform_get_resource
cbz x0, LBB0_8
; %bb.5:
ldr x8, [x0]
ldr x9, [x19, #8]
subs x8, x8, x9
b.le LBB0_8
; %bb.6:
str x8, [x19, #16]
b LBB0_8
LBB0_7:
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
bl _dev_err
LBB0_8:
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 AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _IORESOURCE_IO,4,2 ; @IORESOURCE_IO
.comm _IPMI_IO_ADDR_SPACE,8,3 ; @IPMI_IO_ADDR_SPACE
.comm _IORESOURCE_MEM,4,2 ; @IORESOURCE_MEM
.comm _IPMI_MEM_ADDR_SPACE,8,3 ; @IPMI_MEM_ADDR_SPACE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "no I/O or memory address\n"
.comm _DEFAULT_REGSPACING,8,3 ; @DEFAULT_REGSPACING
.no_dead_strip _ipmi_get_info_from_resources
.subsections_via_symbols
| AnghaBench/linux/drivers/char/ipmi/extr_ipmi_si_platform.c_ipmi_get_info_from_resources.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _atomic_add_unless ## -- Begin function atomic_add_unless
.p2align 4, 0x90
_atomic_add_unless: ## @atomic_add_unless
.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
movl %esi, %r15d
movq %rdi, %r12
callq _ATOMIC_HASH
movl %eax, %edi
callq _spin_lock_irqsave
movl (%r12), %eax
cmpl %r14d, %eax
je LBB0_2
## %bb.1:
addl %eax, %r15d
movl %r15d, (%r12)
LBB0_2:
xorl %ebx, %ebx
cmpl %r14d, %eax
setne %bl
movq %r12, %rdi
callq _ATOMIC_HASH
movl %eax, %edi
callq _spin_unlock_irqrestore
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _atomic_add_unless ; -- Begin function atomic_add_unless
.p2align 2
_atomic_add_unless: ; @atomic_add_unless
.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
bl _ATOMIC_HASH
bl _spin_lock_irqsave
ldr w8, [x19]
cmp w8, w20
b.eq LBB0_2
; %bb.1:
add w9, w8, w21
str w9, [x19]
LBB0_2:
cmp w8, w20
cset w20, ne
mov x0, x19
bl _ATOMIC_HASH
bl _spin_unlock_irqrestore
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/sparc/lib/extr_atomic32.c_atomic_add_unless.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ess_stop
_ess_stop: ## @ess_stop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq (%rdi), %r15
movq 16(%rdi), %r14
movq _PCMDIR_PLAY@GOTPCREL(%rip), %rax
movq (%rax), %r12
movq %r14, %rdi
callq _ess_lock
movl $1, 8(%rbx)
cmpl $1, 12(%rbx)
jne LBB0_2
## %bb.1:
movq %r14, %rdi
movl $184, %esi
callq _ess_read
andl $-5, %eax
movq %r14, %rdi
movl $184, %esi
movl %eax, %edx
callq _ess_write
cmpq %r12, %r15
je LBB0_4
jmp LBB0_5
LBB0_2:
movq %r14, %rdi
movl $120, %esi
callq _ess_getmixer
andl $-17, %eax
movq %r14, %rdi
movl $120, %esi
movl %eax, %edx
callq _ess_setmixer
cmpq %r12, %r15
jne LBB0_5
LBB0_4:
movq _DSP_CMD_SPKOFF@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _ess_cmd
LBB0_5:
movq %r14, %rdi
callq _ess_unlock
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PCMDIR_PLAY,8,3 ## @PCMDIR_PLAY
.comm _DSP_CMD_SPKOFF,4,2 ## @DSP_CMD_SPKOFF
.no_dead_strip _ess_stop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ess_stop
_ess_stop: ; @ess_stop
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
ldr x19, [x0, #16]
ldr x21, [x0]
Lloh0:
adrp x8, _PCMDIR_PLAY@GOTPAGE
Lloh1:
ldr x8, [x8, _PCMDIR_PLAY@GOTPAGEOFF]
Lloh2:
ldr x22, [x8]
mov x0, x19
bl _ess_lock
mov w8, #1
str w8, [x20, #8]
ldr w8, [x20, #12]
mov x0, x19
cmp w8, #1
b.ne LBB0_2
; %bb.1:
mov w1, #184
bl _ess_read
and w2, w0, #0xfffffffb
mov x0, x19
mov w1, #184
bl _ess_write
cmp x21, x22
b.eq LBB0_3
b LBB0_4
LBB0_2:
mov w1, #120
bl _ess_getmixer
and w2, w0, #0xffffffef
mov x0, x19
mov w1, #120
bl _ess_setmixer
cmp x21, x22
b.ne LBB0_4
LBB0_3:
Lloh3:
adrp x8, _DSP_CMD_SPKOFF@GOTPAGE
Lloh4:
ldr x8, [x8, _DSP_CMD_SPKOFF@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
bl _ess_cmd
LBB0_4:
mov x0, x19
bl _ess_unlock
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _PCMDIR_PLAY,8,3 ; @PCMDIR_PLAY
.comm _DSP_CMD_SPKOFF,4,2 ; @DSP_CMD_SPKOFF
.no_dead_strip _ess_stop
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/sound/isa/extr_ess.c_ess_stop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function getCommand
_getCommand: ## @getCommand
.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 _sd@GOTPCREL(%rip), %r15
movl (%r15), %edi
leaq -39(%rbp), %rsi
movl $6, %edx
xorl %eax, %eax
callq _read
testl %eax, %eax
je LBB0_8
## %bb.1:
cmpl $6, %eax
jne LBB0_9
## %bb.2:
movb $0, -33(%rbp)
leaq -39(%rbp), %rdi
callq _atoi
movl %eax, %ebx
movl _getCommand.cbsize(%rip), %eax
leal -1(%rbx), %ecx
cmpl %ecx, %eax
jge LBB0_6
## %bb.3:
leal 256(%rbx), %r14d
movq _CMDBUFSIZ@GOTPCREL(%rip), %r12
movl (%r12), %esi
movl %r14d, %edi
callq _MAX
xorl %edi, %edi
movl %eax, %esi
callq _realloc
testq %rax, %rax
je LBB0_5
## %bb.4:
movl _getCommand.cbsize(%rip), %eax
LBB0_6:
cmpl %ebx, %eax
jl LBB0_9
LBB0_7:
movl (%r15), %edi
xorl %esi, %esi
movl %ebx, %edx
xorl %eax, %eax
callq _read
jmp LBB0_9
LBB0_8:
xorl %eax, %eax
callq _workshop_connection_closed
LBB0_9:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movl (%r12), %esi
movl %r14d, %edi
callq _MAX
movl %eax, _getCommand.cbsize(%rip)
cmpl %ebx, %eax
jge LBB0_7
jmp LBB0_9
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_getCommand.cbsize,4,2 ## @getCommand.cbsize
.comm _sd,4,2 ## @sd
.comm _CMDBUFSIZ,4,2 ## @CMDBUFSIZ
.no_dead_strip _getCommand
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function getCommand
_getCommand: ; @getCommand
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x20, _sd@GOTPAGE
Lloh1:
ldr x20, [x20, _sd@GOTPAGEOFF]
ldr w0, [x20]
mov w8, #6 ; =0x6
add x9, sp, #25
stp x9, x8, [sp]
bl _read
cbz w0, LBB0_7
; %bb.1:
cmp w0, #6
b.ne LBB0_8
; %bb.2:
strb wzr, [sp, #31]
add x0, sp, #25
bl _atoi
mov x19, x0
adrp x21, _getCommand.cbsize@PAGE
ldr w0, [x21, _getCommand.cbsize@PAGEOFF]
sub w8, w19, #1
cmp w0, w8
b.ge LBB0_5
; %bb.3:
Lloh2:
adrp x22, _CMDBUFSIZ@GOTPAGE
Lloh3:
ldr x22, [x22, _CMDBUFSIZ@GOTPAGEOFF]
ldr w1, [x22]
add w0, w19, #256
bl _MAX
mov x1, x0
mov x0, #0 ; =0x0
bl _realloc
cbz x0, LBB0_9
; %bb.4:
ldr w0, [x21, _getCommand.cbsize@PAGEOFF]
LBB0_5:
cmp w0, w19
b.lt LBB0_8
LBB0_6:
ldr w0, [x20]
stp xzr, x19, [sp]
bl _read
b LBB0_8
LBB0_7:
bl _workshop_connection_closed
LBB0_8:
mov x0, #0 ; =0x0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_9:
ldr w1, [x22]
add w0, w19, #256
bl _MAX
str w0, [x21, _getCommand.cbsize@PAGEOFF]
cmp w0, w19
b.ge LBB0_6
b LBB0_8
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_getCommand.cbsize,4,2 ; @getCommand.cbsize
.comm _sd,4,2 ; @sd
.comm _CMDBUFSIZ,4,2 ; @CMDBUFSIZ
.no_dead_strip _getCommand
.subsections_via_symbols
| assembly_file_124819.c | assembly_dataset |
.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 my_progress_func
LCPI0_0:
.quad 0x4059000000000000 ## double 100
.section __TEXT,__text,regular,pure_instructions
.globl _my_progress_func
.p2align 4, 0x90
_my_progress_func: ## @my_progress_func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
movsd %xmm1, -16(%rbp) ## 8-byte Spill
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movq %rdi, %rbx
xorl %eax, %eax
callq _gdk_threads_enter
movq %rbx, %rdi
callq _GTK_PROGRESS
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd LCPI0_0(%rip), %xmm0
divsd -24(%rbp), %xmm0 ## 8-byte Folded Reload
movl %eax, %edi
callq _gtk_progress_set_value
xorl %eax, %eax
callq _gdk_threads_leave
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_5307 ## @g_aug_volatile_5307
.p2align 2, 0x0
_g_aug_volatile_5307:
.long 5 ## 0x5
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _my_progress_func ; -- Begin function my_progress_func
.p2align 2
_my_progress_func: ; @my_progress_func
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
fmov d8, d1
fmov d9, d0
mov x19, x0
bl _gdk_threads_enter
mov x0, x19
bl _GTK_PROGRESS
mov x8, #4636737291354636288 ; =0x4059000000000000
fmov d0, x8
fmul d0, d8, d0
fdiv d0, d0, d9
bl _gtk_progress_set_value
bl _gdk_threads_leave
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_5307 ; @g_aug_volatile_5307
.p2align 2, 0x0
_g_aug_volatile_5307:
.long 5 ; 0x5
.subsections_via_symbols
| assembly_file_166233.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _allocateMemory ## -- Begin function allocateMemory
.p2align 4, 0x90
_allocateMemory: ## @allocateMemory
.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 %edi, %ebx
movl $24, %edi
callq _malloc
movl %ebx, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert ## -- Begin function insert
.p2align 4, 0x90
_insert: ## @insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
movl $24, %edi
callq _malloc
movl %r14d, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
testq %rbx, %rbx
je LBB1_1
## %bb.2:
leaq 8(%rbx), %rcx
movq 8(%rbx), %rdx
movq %rbx, 16(%rax)
movq %rdx, 8(%rax)
movq %rax, 16(%rdx)
jmp LBB1_3
LBB1_1:
movq %rax, 8(%rax)
movq %rax, %rcx
addq $16, %rcx
movq %rax, %rbx
LBB1_3:
movq %rax, (%rcx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _displayVerbose ## -- Begin function displayVerbose
.p2align 4, 0x90
_displayVerbose: ## @displayVerbose
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB2_4
## %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 %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
leaq L_str.17(%rip), %rdi
callq _puts
leaq L_.str.2(%rip), %r14
leaq L_.str.3(%rip), %r15
movq %r12, %rbx
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movq 8(%rbx), %rsi
movl (%rbx), %edx
movq 16(%rbx), %rcx
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movq 16(%rbx), %rbx
cmpq %r12, %rbx
jne LBB2_2
## %bb.3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB2_4:
leaq L_str.18(%rip), %rdi
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _display ## -- Begin function display
.p2align 4, 0x90
_display: ## @display
.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 LBB3_1
## %bb.2:
movq %rdi, %r13
leaq L_.str.4(%rip), %r15
leaq L_str.19(%rip), %r14
leaq L_.str.5(%rip), %r12
movq %rdi, %rbx
.p2align 4, 0x90
LBB3_3: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movq 16(%rbx), %rbx
cmpq %r13, %rbx
je LBB3_5
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movq %r12, %rdi
xorl %eax, %eax
callq _printf
testl %eax, %eax
jne LBB3_3
jmp LBB3_5
LBB3_1:
leaq L_str.18(%rip), %r14
LBB3_5:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _deallocateMemory ## -- Begin function deallocateMemory
.p2align 4, 0x90
_deallocateMemory: ## @deallocateMemory
.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
testq %rdi, %rdi
je LBB4_2
## %bb.1:
movq %rdi, %rbx
cmpq %rdi, %rsi
jne LBB4_2
## %bb.3:
movq 16(%rbx), %rsi
movq %rbx, %rdi
callq _deallocateMemory
movl (%rbx), %esi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
LBB4_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isPresent ## -- Begin function isPresent
.p2align 4, 0x90
_isPresent: ## @isPresent
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
testq %rdi, %rdi
je LBB5_5
## %bb.1:
movq %rdi, %rcx
.p2align 4, 0x90
LBB5_2: ## =>This Inner Loop Header: Depth=1
cmpl %esi, (%rcx)
je LBB5_3
## %bb.4: ## in Loop: Header=BB5_2 Depth=1
movq 16(%rcx), %rcx
cmpq %rdi, %rcx
jne LBB5_2
LBB5_5:
popq %rbp
retq
LBB5_3:
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function removeDuplicates
LCPI6_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _removeDuplicates
.p2align 4, 0x90
_removeDuplicates: ## @removeDuplicates
.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 LBB6_1
## %bb.2:
movq %rdi, %r14
xorl %r12d, %r12d
movq %rdi, %r15
jmp LBB6_3
.p2align 4, 0x90
LBB6_7: ## in Loop: Header=BB6_3 Depth=1
movl $24, %edi
callq _malloc
movl %ebx, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
testq %r12, %r12
je LBB6_8
## %bb.9: ## in Loop: Header=BB6_3 Depth=1
leaq 8(%r12), %rcx
movq 8(%r12), %rdx
movq %r12, 16(%rax)
movq %rdx, 8(%rax)
movq %rax, 16(%rdx)
LBB6_10: ## in Loop: Header=BB6_3 Depth=1
movq %rax, (%rcx)
LBB6_11: ## in Loop: Header=BB6_3 Depth=1
movq 16(%r15), %r15
cmpq %r14, %r15
je LBB6_12
LBB6_3: ## =>This Loop Header: Depth=1
## Child Loop BB6_5 Depth 2
movl (%r15), %ebx
testq %r12, %r12
je LBB6_7
## %bb.4: ## in Loop: Header=BB6_3 Depth=1
movq %r12, %rax
.p2align 4, 0x90
LBB6_5: ## Parent Loop BB6_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpl %ebx, (%rax)
je LBB6_11
## %bb.6: ## in Loop: Header=BB6_5 Depth=2
movq 16(%rax), %rax
cmpq %r12, %rax
jne LBB6_5
jmp LBB6_7
.p2align 4, 0x90
LBB6_8: ## in Loop: Header=BB6_3 Depth=1
movq %rax, 8(%rax)
movq %rax, %rcx
addq $16, %rcx
movq %rax, %r12
jmp LBB6_10
LBB6_12:
movq %r14, %rdi
.p2align 4, 0x90
LBB6_13: ## =>This Inner Loop Header: Depth=1
movq 16(%rdi), %rbx
callq _free
movq %rbx, %rdi
cmpq %r14, %rbx
jne LBB6_13
jmp LBB6_14
LBB6_1:
xorl %r12d, %r12d
LBB6_14:
movq %r12, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI7_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -56(%rbp) ## 8-byte Spill
leaq L_str.20(%rip), %r14
leaq L_str.21(%rip), %r15
leaq L_str.22(%rip), %rbx
leaq L_.str.4(%rip), %r12
xorl %r13d, %r13d
jmp LBB7_1
LBB7_6: ## in Loop: Header=BB7_1 Depth=1
leaq 8(%r13), %rcx
movq 8(%r13), %rdx
movq %r13, 16(%rax)
movq %rdx, 8(%rax)
movq %rax, 16(%rdx)
movq %rax, (%rcx)
LBB7_28: ## in Loop: Header=BB7_1 Depth=1
leaq L_str.22(%rip), %rbx
LBB7_29: ## in Loop: Header=BB7_1 Depth=1
movl -44(%rbp), %eax
LBB7_30: ## in Loop: Header=BB7_1 Depth=1
testl %eax, %eax
je LBB7_31
LBB7_1: ## =>This Loop Header: Depth=1
## Child Loop BB7_9 Depth 2
## Child Loop BB7_16 Depth 2
## Child Loop BB7_18 Depth 3
## Child Loop BB7_26 Depth 2
movq %r14, %rdi
callq _puts
movq %r15, %rdi
callq _puts
movq %rbx, %rdi
callq _puts
leaq L_str.23(%rip), %rdi
callq _puts
leaq L_str.24(%rip), %rdi
callq _puts
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %eax
cmpl $3, %eax
je LBB7_13
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
cmpl $2, %eax
je LBB7_7
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
cmpl $1, %eax
jne LBB7_30
## %bb.4: ## in Loop: Header=BB7_1 Depth=1
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
leaq -48(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -48(%rbp), %ebx
movl $24, %edi
callq _malloc
movl %ebx, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
testq %r13, %r13
jne LBB7_6
## %bb.5: ## in Loop: Header=BB7_1 Depth=1
movq %rax, 8(%rax)
movq %rax, %rcx
addq $16, %rcx
movq %rax, (%rcx)
movq %rax, %r13
jmp LBB7_28
.p2align 4, 0x90
LBB7_7: ## in Loop: Header=BB7_1 Depth=1
leaq L_str.26(%rip), %rdi
callq _puts
leaq L_str.18(%rip), %rdi
testq %r13, %r13
je LBB7_12
## %bb.8: ## in Loop: Header=BB7_1 Depth=1
movq %r13, %rbx
.p2align 4, 0x90
LBB7_9: ## Parent Loop BB7_1 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rbx), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _printf
movq 16(%rbx), %rbx
cmpq %r13, %rbx
je LBB7_11
## %bb.10: ## in Loop: Header=BB7_9 Depth=2
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
testl %eax, %eax
jne LBB7_9
LBB7_11: ## in Loop: Header=BB7_1 Depth=1
leaq L_str.19(%rip), %rdi
leaq L_str.22(%rip), %rbx
LBB7_12: ## in Loop: Header=BB7_1 Depth=1
callq _puts
jmp LBB7_29
.p2align 4, 0x90
LBB7_13: ## in Loop: Header=BB7_1 Depth=1
testq %r13, %r13
jne LBB7_15
## %bb.14: ## in Loop: Header=BB7_1 Depth=1
movl $3, %eax
xorl %r13d, %r13d
jmp LBB7_30
LBB7_15: ## in Loop: Header=BB7_1 Depth=1
movq %r13, %r15
xorl %r14d, %r14d
jmp LBB7_16
.p2align 4, 0x90
LBB7_20: ## in Loop: Header=BB7_16 Depth=2
movl $24, %edi
callq _malloc
movl %ebx, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
testq %r14, %r14
je LBB7_21
## %bb.22: ## in Loop: Header=BB7_16 Depth=2
leaq 8(%r14), %rcx
movq 8(%r14), %rdx
movq %r14, 16(%rax)
movq %rdx, 8(%rax)
movq %rax, 16(%rdx)
LBB7_23: ## in Loop: Header=BB7_16 Depth=2
movq %rax, (%rcx)
LBB7_24: ## in Loop: Header=BB7_16 Depth=2
movq 16(%r15), %r15
cmpq %r13, %r15
je LBB7_25
LBB7_16: ## Parent Loop BB7_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB7_18 Depth 3
movl (%r15), %ebx
testq %r14, %r14
je LBB7_20
## %bb.17: ## in Loop: Header=BB7_16 Depth=2
movq %r14, %rax
.p2align 4, 0x90
LBB7_18: ## Parent Loop BB7_1 Depth=1
## Parent Loop BB7_16 Depth=2
## => This Inner Loop Header: Depth=3
cmpl %ebx, (%rax)
je LBB7_24
## %bb.19: ## in Loop: Header=BB7_18 Depth=3
movq 16(%rax), %rax
cmpq %r14, %rax
jne LBB7_18
jmp LBB7_20
.p2align 4, 0x90
LBB7_21: ## in Loop: Header=BB7_16 Depth=2
movq %rax, 8(%rax)
movq %rax, %rcx
addq $16, %rcx
movq %rax, %r14
jmp LBB7_23
LBB7_25: ## in Loop: Header=BB7_1 Depth=1
movq %r13, %rdi
.p2align 4, 0x90
LBB7_26: ## Parent Loop BB7_1 Depth=1
## => This Inner Loop Header: Depth=2
movq 16(%rdi), %rbx
callq _free
movq %rbx, %rdi
cmpq %r13, %rbx
jne LBB7_26
## %bb.27: ## in Loop: Header=BB7_1 Depth=1
movq %r14, %r13
leaq L_str.20(%rip), %r14
leaq L_str.21(%rip), %r15
jmp LBB7_28
LBB7_31:
movq 16(%r13), %rsi
movq %r13, %rdi
callq _deallocateMemory
leaq L_str.25(%rip), %rdi
callq _puts
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
callq _remove
xorl %eax, %eax
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.2: ## @.str.2
.asciz "Its address: { %p }\n"
L_.str.3: ## @.str.3
.asciz "| %p | %d | %p |\n\n"
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz " <-> "
L_.str.7: ## @.str.7
.asciz "DELETION of key{%d}\n"
L_.str.13: ## @.str.13
.asciz "> "
L_.str.14: ## @.str.14
.asciz "Enter the key to insert: "
L_str.17: ## @str.17
.asciz "| prev | data | next |"
L_str.18: ## @str.18
.asciz "Empty!"
L_str.19: ## @str.19
.asciz "\n"
L_str.20: ## @str.20
.asciz "Your choices"
L_str.21: ## @str.21
.asciz "[ 1 ] insertion"
L_str.22: ## @str.22
.asciz "[ 2 ] display"
L_str.23: ## @str.23
.asciz "[ 3 ] remove duplicates"
L_str.24: ## @str.24
.asciz "[ 0 ] EXIT"
L_str.25: ## @str.25
.asciz "\342\234\205"
L_str.26: ## @str.26
.asciz "DISPLAY"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _allocateMemory ; -- Begin function allocateMemory
.p2align 2
_allocateMemory: ; @allocateMemory
.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 w0, #24
bl _malloc
str w19, [x0]
stp xzr, xzr, [x0, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _insert ; -- Begin function insert
.p2align 2
_insert: ; @insert
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
mov w0, #24
bl _malloc
str w20, [x0]
stp xzr, xzr, [x0, #8]
cbz x19, LBB1_2
; %bb.1:
mov x8, x19
ldr x9, [x8, #8]!
stp x9, x19, [x0, #8]
str x0, [x9, #16]
b LBB1_3
LBB1_2:
str x0, [x0, #8]
add x8, x0, #16
mov x19, x0
LBB1_3:
str x0, [x8]
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
.globl _displayVerbose ; -- Begin function displayVerbose
.p2align 2
_displayVerbose: ; @displayVerbose
.cfi_startproc
; %bb.0:
cbz x0, LBB2_4
; %bb.1:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x0, l_str.17@PAGE
Lloh1:
add x0, x0, l_str.17@PAGEOFF
bl _puts
Lloh2:
adrp x20, l_.str.2@PAGE
Lloh3:
add x20, x20, l_.str.2@PAGEOFF
mov x22, x19
Lloh4:
adrp x21, l_.str.3@PAGE
Lloh5:
add x21, x21, l_.str.3@PAGEOFF
LBB2_2: ; =>This Inner Loop Header: Depth=1
str x22, [sp]
mov x0, x20
bl _printf
ldp x8, x9, [x22, #8]
ldr w10, [x22]
stp x10, x9, [sp, #8]
str x8, [sp]
mov x0, x21
bl _printf
ldr x22, [x22, #16]
cmp x22, x19
b.ne LBB2_2
; %bb.3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB2_4:
.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
Lloh6:
adrp x0, l_str.18@PAGE
Lloh7:
add x0, x0, l_str.18@PAGEOFF
b _puts
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _display ; -- Begin function display
.p2align 2
_display: ; @display
.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
cbz x0, LBB3_4
; %bb.1:
mov x20, x0
Lloh8:
adrp x21, l_.str.4@PAGE
Lloh9:
add x21, x21, l_.str.4@PAGEOFF
Lloh10:
adrp x19, l_str.19@PAGE
Lloh11:
add x19, x19, l_str.19@PAGEOFF
mov x23, x0
Lloh12:
adrp x22, l_.str.5@PAGE
Lloh13:
add x22, x22, l_.str.5@PAGEOFF
LBB3_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23]
str x8, [sp]
mov x0, x21
bl _printf
ldr x23, [x23, #16]
cmp x23, x20
b.eq LBB3_5
; %bb.3: ; in Loop: Header=BB3_2 Depth=1
mov x0, x22
bl _printf
cbnz w0, LBB3_2
b LBB3_5
LBB3_4:
Lloh14:
adrp x19, l_str.18@PAGE
Lloh15:
add x19, x19, l_str.18@PAGEOFF
LBB3_5:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _puts
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.globl _deallocateMemory ; -- Begin function deallocateMemory
.p2align 2
_deallocateMemory: ; @deallocateMemory
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB4_3
; %bb.1:
mov x19, x0
cmp x1, x0
b.ne LBB4_3
; %bb.2:
ldr x1, [x19, #16]
mov x0, x19
bl _deallocateMemory
ldr w8, [x19]
str x8, [sp]
Lloh16:
adrp x0, l_.str.7@PAGE
Lloh17:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
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
b _free
LBB4_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.globl _isPresent ; -- Begin function isPresent
.p2align 2
_isPresent: ; @isPresent
.cfi_startproc
; %bb.0:
cbz x0, LBB5_5
; %bb.1:
mov x8, x0
LBB5_2: ; =>This Inner Loop Header: Depth=1
ldr w9, [x8]
cmp w9, w1
b.eq LBB5_6
; %bb.3: ; in Loop: Header=BB5_2 Depth=1
ldr x8, [x8, #16]
cmp x8, x0
b.ne LBB5_2
; %bb.4:
mov w0, #0
LBB5_5:
ret
LBB5_6:
mov w0, #1
ret
.cfi_endproc
; -- End function
.globl _removeDuplicates ; -- Begin function removeDuplicates
.p2align 2
_removeDuplicates: ; @removeDuplicates
.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, LBB6_13
; %bb.1:
mov x19, x0
mov x20, #0
mov x21, x0
b LBB6_6
LBB6_2: ; in Loop: Header=BB6_6 Depth=1
mov w0, #24
bl _malloc
str w22, [x0]
stp xzr, xzr, [x0, #8]
cbz x20, LBB6_10
; %bb.3: ; in Loop: Header=BB6_6 Depth=1
mov x8, x20
ldr x9, [x8, #8]!
stp x9, x20, [x0, #8]
str x0, [x9, #16]
LBB6_4: ; in Loop: Header=BB6_6 Depth=1
str x0, [x8]
LBB6_5: ; in Loop: Header=BB6_6 Depth=1
ldr x21, [x21, #16]
cmp x21, x19
b.eq LBB6_11
LBB6_6: ; =>This Loop Header: Depth=1
; Child Loop BB6_8 Depth 2
ldr w22, [x21]
cbz x20, LBB6_2
; %bb.7: ; in Loop: Header=BB6_6 Depth=1
mov x8, x20
LBB6_8: ; Parent Loop BB6_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x8]
cmp w9, w22
b.eq LBB6_5
; %bb.9: ; in Loop: Header=BB6_8 Depth=2
ldr x8, [x8, #16]
cmp x8, x20
b.ne LBB6_8
b LBB6_2
LBB6_10: ; in Loop: Header=BB6_6 Depth=1
str x0, [x0, #8]
add x8, x0, #16
mov x20, x0
b LBB6_4
LBB6_11:
mov x0, x19
LBB6_12: ; =>This Inner Loop Header: Depth=1
ldr x21, [x0, #16]
bl _free
mov x0, x21
cmp x21, x19
b.ne LBB6_12
b LBB6_14
LBB6_13:
mov x20, #0
LBB6_14:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.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
str x1, [sp, #16] ; 8-byte Folded Spill
mov x21, #0
Lloh18:
adrp x22, l_str.20@PAGE
Lloh19:
add x22, x22, l_str.20@PAGEOFF
Lloh20:
adrp x23, l_str.21@PAGE
Lloh21:
add x23, x23, l_str.21@PAGEOFF
Lloh22:
adrp x20, l_str.22@PAGE
Lloh23:
add x20, x20, l_str.22@PAGEOFF
Lloh24:
adrp x24, l_str.23@PAGE
Lloh25:
add x24, x24, l_str.23@PAGEOFF
Lloh26:
adrp x25, l_str.24@PAGE
Lloh27:
add x25, x25, l_str.24@PAGEOFF
Lloh28:
adrp x26, l_.str.13@PAGE
Lloh29:
add x26, x26, l_.str.13@PAGEOFF
Lloh30:
adrp x27, l_.str.4@PAGE
Lloh31:
add x27, x27, l_.str.4@PAGEOFF
add x28, sp, #28
Lloh32:
adrp x19, l_.str.5@PAGE
Lloh33:
add x19, x19, l_.str.5@PAGEOFF
b LBB7_5
LBB7_1: ; in Loop: Header=BB7_5 Depth=1
mov x8, x21
ldr x9, [x8, #8]!
stp x9, x21, [x0, #8]
str x0, [x9, #16]
str x0, [x8]
LBB7_2: ; in Loop: Header=BB7_5 Depth=1
Lloh34:
adrp x20, l_str.22@PAGE
Lloh35:
add x20, x20, l_str.22@PAGEOFF
LBB7_3: ; in Loop: Header=BB7_5 Depth=1
ldr w8, [sp, #28]
LBB7_4: ; in Loop: Header=BB7_5 Depth=1
cbz w8, LBB7_31
LBB7_5: ; =>This Loop Header: Depth=1
; Child Loop BB7_12 Depth 2
; Child Loop BB7_23 Depth 2
; Child Loop BB7_25 Depth 3
; Child Loop BB7_29 Depth 2
mov x0, x22
bl _puts
mov x0, x23
bl _puts
mov x0, x20
bl _puts
mov x0, x24
bl _puts
mov x0, x25
bl _puts
mov x0, x26
bl _printf
str x28, [sp]
mov x0, x27
bl _scanf
ldr w8, [sp, #28]
cmp w8, #3
b.eq LBB7_15
; %bb.6: ; in Loop: Header=BB7_5 Depth=1
cmp w8, #2
b.eq LBB7_10
; %bb.7: ; in Loop: Header=BB7_5 Depth=1
cmp w8, #1
b.ne LBB7_4
; %bb.8: ; in Loop: Header=BB7_5 Depth=1
Lloh36:
adrp x0, l_.str.14@PAGE
Lloh37:
add x0, x0, l_.str.14@PAGEOFF
bl _printf
add x8, sp, #24
str x8, [sp]
mov x0, x27
bl _scanf
ldr w20, [sp, #24]
mov w0, #24
bl _malloc
str w20, [x0]
stp xzr, xzr, [x0, #8]
cbnz x21, LBB7_1
; %bb.9: ; in Loop: Header=BB7_5 Depth=1
str x0, [x0, #8]
add x8, x0, #16
str x0, [x8]
mov x21, x0
b LBB7_2
LBB7_10: ; in Loop: Header=BB7_5 Depth=1
Lloh38:
adrp x0, l_str.26@PAGE
Lloh39:
add x0, x0, l_str.26@PAGEOFF
bl _puts
cbz x21, LBB7_17
; %bb.11: ; in Loop: Header=BB7_5 Depth=1
mov x20, x21
LBB7_12: ; Parent Loop BB7_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x20]
str x8, [sp]
mov x0, x27
bl _printf
ldr x20, [x20, #16]
cmp x20, x21
b.eq LBB7_14
; %bb.13: ; in Loop: Header=BB7_12 Depth=2
mov x0, x19
bl _printf
cbnz w0, LBB7_12
LBB7_14: ; in Loop: Header=BB7_5 Depth=1
Lloh40:
adrp x0, l_str.19@PAGE
Lloh41:
add x0, x0, l_str.19@PAGEOFF
Lloh42:
adrp x20, l_str.22@PAGE
Lloh43:
add x20, x20, l_str.22@PAGEOFF
bl _puts
b LBB7_3
LBB7_15: ; in Loop: Header=BB7_5 Depth=1
cbnz x21, LBB7_18
; %bb.16: ; in Loop: Header=BB7_5 Depth=1
mov w8, #3
b LBB7_4
LBB7_17: ; in Loop: Header=BB7_5 Depth=1
Lloh44:
adrp x0, l_str.18@PAGE
Lloh45:
add x0, x0, l_str.18@PAGEOFF
bl _puts
b LBB7_3
LBB7_18: ; in Loop: Header=BB7_5 Depth=1
mov x23, #0
mov x20, x21
b LBB7_23
LBB7_19: ; in Loop: Header=BB7_23 Depth=2
mov w0, #24
bl _malloc
str w22, [x0]
stp xzr, xzr, [x0, #8]
cbz x23, LBB7_27
; %bb.20: ; in Loop: Header=BB7_23 Depth=2
mov x8, x23
ldr x9, [x8, #8]!
stp x9, x23, [x0, #8]
str x0, [x9, #16]
LBB7_21: ; in Loop: Header=BB7_23 Depth=2
str x0, [x8]
LBB7_22: ; in Loop: Header=BB7_23 Depth=2
ldr x20, [x20, #16]
cmp x20, x21
b.eq LBB7_28
LBB7_23: ; Parent Loop BB7_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB7_25 Depth 3
ldr w22, [x20]
cbz x23, LBB7_19
; %bb.24: ; in Loop: Header=BB7_23 Depth=2
mov x8, x23
LBB7_25: ; Parent Loop BB7_5 Depth=1
; Parent Loop BB7_23 Depth=2
; => This Inner Loop Header: Depth=3
ldr w9, [x8]
cmp w9, w22
b.eq LBB7_22
; %bb.26: ; in Loop: Header=BB7_25 Depth=3
ldr x8, [x8, #16]
cmp x8, x23
b.ne LBB7_25
b LBB7_19
LBB7_27: ; in Loop: Header=BB7_23 Depth=2
str x0, [x0, #8]
add x8, x0, #16
mov x23, x0
b LBB7_21
LBB7_28: ; in Loop: Header=BB7_5 Depth=1
mov x0, x21
LBB7_29: ; Parent Loop BB7_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x20, [x0, #16]
bl _free
mov x0, x20
cmp x20, x21
b.ne LBB7_29
; %bb.30: ; in Loop: Header=BB7_5 Depth=1
mov x21, x23
Lloh46:
adrp x22, l_str.20@PAGE
Lloh47:
add x22, x22, l_str.20@PAGEOFF
Lloh48:
adrp x23, l_str.21@PAGE
Lloh49:
add x23, x23, l_str.21@PAGEOFF
b LBB7_2
LBB7_31:
ldr x1, [x21, #16]
mov x0, x21
bl _deallocateMemory
Lloh50:
adrp x0, l_str.25@PAGE
Lloh51:
add x0, x0, l_str.25@PAGEOFF
bl _puts
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _remove
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
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh50, Lloh51
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "Its address: { %p }\n"
l_.str.3: ; @.str.3
.asciz "| %p | %d | %p |\n\n"
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz " <-> "
l_.str.7: ; @.str.7
.asciz "DELETION of key{%d}\n"
l_.str.13: ; @.str.13
.asciz "> "
l_.str.14: ; @.str.14
.asciz "Enter the key to insert: "
l_str.17: ; @str.17
.asciz "| prev | data | next |"
l_str.18: ; @str.18
.asciz "Empty!"
l_str.19: ; @str.19
.asciz "\n"
l_str.20: ; @str.20
.asciz "Your choices"
l_str.21: ; @str.21
.asciz "[ 1 ] insertion"
l_str.22: ; @str.22
.asciz "[ 2 ] display"
l_str.23: ; @str.23
.asciz "[ 3 ] remove duplicates"
l_str.24: ; @str.24
.asciz "[ 0 ] EXIT"
l_str.25: ; @str.25
.asciz "\342\234\205"
l_str.26: ; @str.26
.asciz "DISPLAY"
.subsections_via_symbols
| the_stack_data/201024.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function chat_expect
_chat_expect: ## @chat_expect
.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 %rdi, %r12
movq _chat_debug@GOTPCREL(%rip), %r15
movq _CHATDEBUG_EXPECT@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
testl %eax, (%r15)
je LBB0_2
## %bb.1:
movq _LOG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %r12, %rdi
callq _strlen
movq %r12, %rdi
movl %eax, %esi
callq _cleanstr
leaq L_.str(%rip), %rsi
movl %r14d, %edi
movl %eax, %edx
xorl %eax, %eax
callq _syslog
LBB0_2:
movq %r12, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
testl %eax, %eax
jle LBB0_28
## %bb.3:
movq %rax, -56(%rbp) ## 8-byte Spill
leal 1(%rax), %r14d
movl %r14d, %edi
callq _malloc
testq %rax, %rax
je LBB0_29
## %bb.4:
movq %rax, -64(%rbp) ## 8-byte Spill
movq %rax, %rdi
xorl %esi, %esi
movl %r14d, %edx
callq _memset
movq _chat_alarm@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _alarm
movq _alarmed@GOTPCREL(%rip), %rcx
movq $0, (%rcx)
xorl %eax, %eax
xorl %r14d, %r14d
xorl %r13d, %r13d
movq %r12, -72(%rbp) ## 8-byte Spill
movq -56(%rbp), %rbx ## 8-byte Reload
jmp LBB0_6
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_6 Depth=1
cmpl %ebx, %r13d
jge LBB0_27
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
movq (%rcx), %rax
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_16 Depth 2
testq %rax, %rax
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movl $3, %r14d
testl %r14d, %r14d
jne LBB0_22
jmp LBB0_5
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movq _STDIN_FILENO@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -41(%rbp), %rsi
movl $1, %edx
callq _read
cmpl $1, %eax
jne LBB0_13
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
movq _CHATDEBUG_RECEIVE@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r15)
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_6 Depth=1
movq _LOG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movzbl -41(%rbp), %esi
xorl %edi, %edi
callq _cleanchr
movl %r12d, %edi
movq -72(%rbp), %r12 ## 8-byte Reload
leaq L_.str.1(%rip), %rsi
movl %eax, %edx
movl %r13d, %ecx
xorl %eax, %eax
callq _syslog
LBB0_11: ## in Loop: Header=BB0_6 Depth=1
movzbl -41(%rbp), %eax
movslq %r13d, %rbx
movsbl (%r12,%rbx), %ecx
cmpl %ecx, %eax
jne LBB0_14
## %bb.12: ## in Loop: Header=BB0_6 Depth=1
decl %r13d
movq -64(%rbp), %rcx ## 8-byte Reload
movb %al, (%rcx,%rbx)
jmp LBB0_19
LBB0_13: ## in Loop: Header=BB0_6 Depth=1
movq _alarmed@GOTPCREL(%rip), %rcx
cmpq $1, (%rcx)
movl $3, %r14d
sbbl $0, %r14d
movl %r13d, %eax
jmp LBB0_21
LBB0_14: ## in Loop: Header=BB0_6 Depth=1
testl %r13d, %r13d
jle LBB0_19
## %bb.15: ## in Loop: Header=BB0_6 Depth=1
leal 1(%r13), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
negq %rbx
leal -1(%r13), %r12d
movl $1, %r15d
.p2align 4, 0x90
LBB0_16: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r15), %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
movl %r12d, %edx
callq _memcmp
testq %rax, %rax
je LBB0_23
## %bb.17: ## in Loop: Header=BB0_16 Depth=2
leaq (%rbx,%r15), %rax
incq %rax
incq %r15
decl %r12d
cmpq $1, %rax
jne LBB0_16
## %bb.18: ## in Loop: Header=BB0_6 Depth=1
movl -76(%rbp), %ecx ## 4-byte Reload
jmp LBB0_24
LBB0_19: ## in Loop: Header=BB0_6 Depth=1
movl %r13d, %eax
movq -56(%rbp), %rbx ## 8-byte Reload
LBB0_20: ## in Loop: Header=BB0_6 Depth=1
movq _alarmed@GOTPCREL(%rip), %rcx
LBB0_21: ## in Loop: Header=BB0_6 Depth=1
movl %eax, %r13d
testl %r14d, %r14d
jne LBB0_22
jmp LBB0_5
LBB0_23: ## in Loop: Header=BB0_6 Depth=1
movl %r15d, %ecx
LBB0_24: ## in Loop: Header=BB0_6 Depth=1
movl %r13d, %eax
subl %ecx, %eax
movq _chat_debug@GOTPCREL(%rip), %r15
movq -72(%rbp), %r12 ## 8-byte Reload
movq -56(%rbp), %rbx ## 8-byte Reload
jle LBB0_20
## %bb.25: ## in Loop: Header=BB0_6 Depth=1
movl %ecx, %esi
movq -64(%rbp), %rdi ## 8-byte Reload
addq %rdi, %rsi
subl %ecx, %r13d
movl %r13d, %edx
callq _memcpy
movl %r13d, %eax
jmp LBB0_20
LBB0_27:
xorl %edi, %edi
movq %rcx, %rbx
callq _alarm
xorl %eax, %eax
callq _chat_unalarm
movq $0, (%rbx)
movq -64(%rbp), %rdi ## 8-byte Reload
callq _free
movq _CHATDEBUG_EXPECT@GOTPCREL(%rip), %rbx
jmp LBB0_30
LBB0_28:
xorl %r14d, %r14d
jmp LBB0_30
LBB0_29:
movl $1, %r14d
LBB0_30:
movl (%rbx), %eax
testl %eax, (%r15)
je LBB0_32
## %bb.31:
movq _LOG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %r14d, %edi
callq _result
leaq L_.str.2(%rip), %rsi
movl %ebx, %edi
movl %eax, %edx
xorl %eax, %eax
callq _syslog
LBB0_32:
movl %r14d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _chat_debug,4,2 ## @chat_debug
.comm _CHATDEBUG_EXPECT,4,2 ## @CHATDEBUG_EXPECT
.comm _LOG_DEBUG,4,2 ## @LOG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "chat_expect '%s'"
.comm _chat_alarm,4,2 ## @chat_alarm
.comm _alarmed,8,3 ## @alarmed
.comm _STDIN_FILENO,4,2 ## @STDIN_FILENO
.comm _CHATDEBUG_RECEIVE,4,2 ## @CHATDEBUG_RECEIVE
L_.str.1: ## @.str.1
.asciz "chat_recv '%s' m=%d"
L_.str.2: ## @.str.2
.asciz "chat_expect %s"
.no_dead_strip _chat_expect
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function chat_expect
_chat_expect: ; @chat_expect
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x28, _chat_debug@GOTPAGE
Lloh1:
ldr x28, [x28, _chat_debug@GOTPAGEOFF]
ldr w8, [x28]
Lloh2:
adrp x23, _CHATDEBUG_EXPECT@GOTPAGE
Lloh3:
ldr x23, [x23, _CHATDEBUG_EXPECT@GOTPAGEOFF]
ldr w9, [x23]
Lloh4:
adrp x26, _LOG_DEBUG@GOTPAGE
Lloh5:
ldr x26, [x26, _LOG_DEBUG@GOTPAGEOFF]
tst w9, w8
b.eq LBB0_2
; %bb.1:
ldr w20, [x26]
mov x0, x19
bl _strlen
mov x1, x0
mov x0, x19
bl _cleanstr
mov x2, x0
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _syslog
LBB0_2:
mov x0, x19
bl _strlen
cmp w0, #1
b.lt LBB0_26
; %bb.3:
mov x22, x0
add w0, w0, #1
bl _malloc
cbz x0, LBB0_27
; %bb.4:
mov x21, x0
add w2, w22, #1
mov w1, #0 ; =0x0
bl _memset
Lloh8:
adrp x8, _chat_alarm@GOTPAGE
Lloh9:
ldr x8, [x8, _chat_alarm@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
bl _alarm
mov x8, #0 ; =0x0
mov w20, #0 ; =0x0
mov w23, #0 ; =0x0
Lloh11:
adrp x24, _alarmed@GOTPAGE
Lloh12:
ldr x24, [x24, _alarmed@GOTPAGEOFF]
Lloh13:
adrp x25, _STDIN_FILENO@GOTPAGE
Lloh14:
ldr x25, [x25, _STDIN_FILENO@GOTPAGEOFF]
str xzr, [x24]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x24]
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_16 Depth 2
cbz x8, LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov w20, #3 ; =0x3
cbnz w20, LBB0_24
b LBB0_5
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [x25]
add x1, sp, #15
mov w2, #1 ; =0x1
bl _read
cmp w0, #1
b.ne LBB0_13
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
mov x27, x25
ldr w8, [x28]
Lloh15:
adrp x9, _CHATDEBUG_RECEIVE@GOTPAGE
Lloh16:
ldr x9, [x9, _CHATDEBUG_RECEIVE@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_11
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
ldr w25, [x26]
ldrb w1, [sp, #15]
mov x0, #0 ; =0x0
bl _cleanchr
mov x2, x0
mov x8, x23
str x8, [sp]
mov x0, x25
Lloh18:
adrp x1, l_.str.1@PAGE
Lloh19:
add x1, x1, l_.str.1@PAGEOFF
bl _syslog
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
mov x10, x26
ldrb w8, [sp, #15]
sxtw x26, w23
ldrsb w9, [x19, x26]
cmp w8, w9
b.ne LBB0_14
; %bb.12: ; in Loop: Header=BB0_6 Depth=1
sub w23, w23, #1
strb w8, [x21, x26]
b LBB0_19
LBB0_13: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x24]
cmp x8, #0
mov w8, #2 ; =0x2
cinc w20, w8, ne
cbnz w20, LBB0_24
b LBB0_5
LBB0_14: ; in Loop: Header=BB0_6 Depth=1
subs w25, w23, #1
b.lt LBB0_19
; %bb.15: ; in Loop: Header=BB0_6 Depth=1
add w8, w23, #1
str w8, [sp, #8] ; 4-byte Folded Spill
mov w28, #1 ; =0x1
LBB0_16: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
add x0, x21, x28
mov x1, x19
mov x2, x25
bl _memcmp
cbz x0, LBB0_20
; %bb.17: ; in Loop: Header=BB0_16 Depth=2
add x28, x28, #1
sub w25, w25, #1
sub x26, x26, #1
cbnz x26, LBB0_16
; %bb.18: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
b LBB0_21
LBB0_19: ; in Loop: Header=BB0_6 Depth=1
mov x25, x27
mov x26, x10
cbnz w20, LBB0_24
b LBB0_5
LBB0_20: ; in Loop: Header=BB0_6 Depth=1
mov x8, x28
LBB0_21: ; in Loop: Header=BB0_6 Depth=1
subs w23, w23, w8
Lloh20:
adrp x28, _chat_debug@GOTPAGE
Lloh21:
ldr x28, [x28, _chat_debug@GOTPAGEOFF]
mov x25, x27
b.le LBB0_23
; %bb.22: ; in Loop: Header=BB0_6 Depth=1
add x1, x21, w8, uxtw
mov x0, x21
mov x2, x23
bl _memcpy
LBB0_23: ; in Loop: Header=BB0_6 Depth=1
Lloh22:
adrp x26, _LOG_DEBUG@GOTPAGE
Lloh23:
ldr x26, [x26, _LOG_DEBUG@GOTPAGEOFF]
cbz w20, LBB0_5
LBB0_24: ; in Loop: Header=BB0_6 Depth=1
cmp w23, w22
b.lt LBB0_5
; %bb.25:
mov w0, #0 ; =0x0
bl _alarm
bl _chat_unalarm
str xzr, [x24]
mov x0, x21
bl _free
Lloh24:
adrp x23, _CHATDEBUG_EXPECT@GOTPAGE
Lloh25:
ldr x23, [x23, _CHATDEBUG_EXPECT@GOTPAGEOFF]
b LBB0_28
LBB0_26:
mov w20, #0 ; =0x0
b LBB0_28
LBB0_27:
mov w20, #1 ; =0x1
LBB0_28:
ldr w8, [x28]
ldr w9, [x23]
tst w9, w8
b.eq LBB0_30
; %bb.29:
ldr w19, [x26]
mov x0, x20
bl _result
mov x2, x0
Lloh26:
adrp x1, l_.str.2@PAGE
Lloh27:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _syslog
LBB0_30:
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 AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _chat_debug,4,2 ; @chat_debug
.comm _CHATDEBUG_EXPECT,4,2 ; @CHATDEBUG_EXPECT
.comm _LOG_DEBUG,4,2 ; @LOG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "chat_expect '%s'"
.comm _chat_alarm,4,2 ; @chat_alarm
.comm _alarmed,8,3 ; @alarmed
.comm _STDIN_FILENO,4,2 ; @STDIN_FILENO
.comm _CHATDEBUG_RECEIVE,4,2 ; @CHATDEBUG_RECEIVE
l_.str.1: ; @.str.1
.asciz "chat_recv '%s' m=%d"
l_.str.2: ; @.str.2
.asciz "chat_expect %s"
.no_dead_strip _chat_expect
.subsections_via_symbols
| assembly_file_185262.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pch_tx_timestamp
_pch_tx_timestamp: ## @pch_tx_timestamp
.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, %r14
movq %rsi, %rdi
callq _skb_shinfo
movq %rax, %r15
movq _SKBTX_HW_TSTAMP@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r15)
je LBB0_1
## %bb.2:
xorl %edi, %edi
cmpq $0, 8(%r14)
sete %dil
jmp LBB0_3
LBB0_1:
movl $1, %edi
LBB0_3:
callq _likely
testq %rax, %rax
jne LBB0_11
## %bb.4:
movq %rbx, -56(%rbp) ## 8-byte Spill
movq _SKBTX_IN_PROGRESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r15)
movq (%r14), %r12
movl $100, %r14d
movq _TX_SNAPSHOT_LOCKED@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
callq _pch_ch_event_read
movl %eax, %ebx
movl (%r13), %eax
testl %ebx, %eax
jne LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl $1, %edi
callq _udelay
decl %r14d
jne LBB0_5
## %bb.7:
movl (%r13), %eax
LBB0_8:
testl %ebx, %eax
je LBB0_9
## %bb.10:
movq %r12, %rdi
callq _pch_tx_snap_read
movl %eax, %ebx
leaq -48(%rbp), %r15
movq %r15, %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
movl %ebx, %edi
callq _ns_to_ktime
movl %eax, -48(%rbp)
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
callq _skb_tstamp_tx
movl (%r13), %esi
movq %r12, %rdi
callq _pch_ch_event_write
jmp LBB0_11
LBB0_9:
movq _SKBTX_IN_PROGRESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, (%r15)
LBB0_11:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SKBTX_HW_TSTAMP,4,2 ## @SKBTX_HW_TSTAMP
.comm _SKBTX_IN_PROGRESS,4,2 ## @SKBTX_IN_PROGRESS
.comm _TX_SNAPSHOT_LOCKED,4,2 ## @TX_SNAPSHOT_LOCKED
.no_dead_strip _pch_tx_timestamp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pch_tx_timestamp
_pch_tx_timestamp: ; @pch_tx_timestamp
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x21, x0
mov x0, x1
bl _skb_shinfo
mov x20, x0
ldr w8, [x0]
Lloh0:
adrp x9, _SKBTX_HW_TSTAMP@GOTPAGE
Lloh1:
ldr x9, [x9, _SKBTX_HW_TSTAMP@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
ldr x8, [x21, #8]
cmp x8, #0
cset w0, eq
bl _likely
cbnz x0, LBB0_10
b LBB0_3
LBB0_2:
mov w0, #1
bl _likely
cbnz x0, LBB0_10
LBB0_3:
Lloh3:
adrp x24, _SKBTX_IN_PROGRESS@GOTPAGE
Lloh4:
ldr x24, [x24, _SKBTX_IN_PROGRESS@GOTPAGEOFF]
ldr w8, [x24]
ldr w9, [x20]
orr w8, w9, w8
str w8, [x20]
ldr x21, [x21]
mov w25, #100
Lloh5:
adrp x23, _TX_SNAPSHOT_LOCKED@GOTPAGE
Lloh6:
ldr x23, [x23, _TX_SNAPSHOT_LOCKED@GOTPAGEOFF]
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _pch_ch_event_read
mov x22, x0
ldr w8, [x23]
tst w8, w0
b.ne LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w0, #1
bl _udelay
subs w25, w25, #1
b.ne LBB0_4
; %bb.6:
ldr w8, [x23]
LBB0_7:
tst w8, w22
b.eq LBB0_9
; %bb.8:
mov x0, x21
bl _pch_tx_snap_read
mov x20, x0
add x0, sp, #8
mov w1, #0
mov w2, #4
bl _memset
mov x0, x20
bl _ns_to_ktime
str w0, [sp, #8]
add x1, sp, #8
mov x0, x19
bl _skb_tstamp_tx
ldr w1, [x23]
mov x0, x21
bl _pch_ch_event_write
b LBB0_10
LBB0_9:
ldr w8, [x24]
ldr w9, [x20]
bic w8, w9, w8
str w8, [x20]
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
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _SKBTX_HW_TSTAMP,4,2 ; @SKBTX_HW_TSTAMP
.comm _SKBTX_IN_PROGRESS,4,2 ; @SKBTX_IN_PROGRESS
.comm _TX_SNAPSHOT_LOCKED,4,2 ; @TX_SNAPSHOT_LOCKED
.no_dead_strip _pch_tx_timestamp
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/oki-semi/pch_gbe/extr_pch_gbe_main.c_pch_tx_timestamp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mmalplay_connection_cb
_mmalplay_connection_cb: ## @mmalplay_connection_cb
.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 _vcos_semaphore_post ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _mmalplay_connection_cb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mmalplay_connection_cb
_mmalplay_connection_cb: ; @mmalplay_connection_cb
.cfi_startproc
; %bb.0:
ldr x0, [x0]
b _vcos_semaphore_post
.cfi_endproc
; -- End function
.no_dead_strip _mmalplay_connection_cb
.subsections_via_symbols
| AnghaBench/RetroArch/gfx/include/userland/host_applications/vmcs/test_apps/mmalplay/extr_playback.c_mmalplay_connection_cb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dcl ## -- Begin function dcl
.p2align 4, 0x90
_dcl: ## @dcl
.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
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _gettoken
incl %ebx
cmpl $42, %eax
je LBB0_1
## %bb.2:
callq _dirdcl
cmpl $1, %ebx
je LBB0_5
## %bb.3:
movq _out@GOTPCREL(%rip), %r14
movabsq $2338042707301724016, %r15 ## imm = 0x207265746E696F70
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _strlen
movq %r15, (%r14,%rax)
movl $7304224, 7(%r14,%rax) ## imm = 0x6F7420
decl %ebx
cmpl $1, %ebx
jg LBB0_4
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gettoken ## -- Begin function gettoken
.p2align 4, 0x90
_gettoken: ## @gettoken
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $1, _prevtoken(%rip)
jne LBB1_1
## %bb.44:
movl $0, _prevtoken(%rip)
movq _tokentype@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB1_43
LBB1_1:
movq _buf@GOTPCREL(%rip), %r14
jmp LBB1_2
.p2align 4, 0x90
LBB1_6: ## in Loop: Header=BB1_2 Depth=1
cmpl $9, %ebx
jne LBB1_7
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl _bufp(%rip), %eax
testl %eax, %eax
jle LBB1_4
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
decl %eax
movl %eax, _bufp(%rip)
movsbl (%r14,%rax), %ebx
cmpl $31, %ebx
jg LBB1_9
jmp LBB1_6
.p2align 4, 0x90
LBB1_4: ## in Loop: Header=BB1_2 Depth=1
callq _getchar
movl %eax, %ebx
cmpl $31, %ebx
jle LBB1_6
LBB1_9: ## in Loop: Header=BB1_2 Depth=1
cmpl $32, %ebx
je LBB1_2
## %bb.10:
cmpl $91, %ebx
je LBB1_21
## %bb.11:
cmpl $40, %ebx
jne LBB1_7
## %bb.12:
movl _bufp(%rip), %eax
testl %eax, %eax
jle LBB1_14
## %bb.13:
decl %eax
movl %eax, _bufp(%rip)
movsbl (%r14,%rax), %eax
cmpl $41, %eax
jne LBB1_17
LBB1_16:
movq _token@GOTPCREL(%rip), %rax
movb $0, 2(%rax)
movw $10536, (%rax) ## imm = 0x2928
movq _tokentype@GOTPCREL(%rip), %rax
movl $1, (%rax)
movl $1, %ebx
jmp LBB1_43
LBB1_21:
movq _token@GOTPCREL(%rip), %rbx
movb $91, (%rbx)
incq %rbx
jmp LBB1_22
.p2align 4, 0x90
LBB1_24: ## in Loop: Header=BB1_22 Depth=1
callq _getchar
LBB1_25: ## in Loop: Header=BB1_22 Depth=1
movb %al, (%rbx)
incq %rbx
cmpb $93, %al
je LBB1_26
LBB1_22: ## =>This Inner Loop Header: Depth=1
movl _bufp(%rip), %eax
testl %eax, %eax
jle LBB1_24
## %bb.23: ## in Loop: Header=BB1_22 Depth=1
decl %eax
movl %eax, _bufp(%rip)
movzbl (%r14,%rax), %eax
jmp LBB1_25
LBB1_7:
cmpl $127, %ebx
ja LBB1_27
## %bb.8:
movl %ebx, %ecx
movq __DefaultRuneLocale@GOTPCREL(%rip), %rdx
movl $256, %eax ## imm = 0x100
andl 60(%rdx,%rcx,4), %eax
testl %eax, %eax
je LBB1_42
LBB1_29:
movq _token@GOTPCREL(%rip), %r15
movb %bl, (%r15)
incq %r15
movq __DefaultRuneLocale@GOTPCREL(%rip), %r12
movl $1280, %r13d ## imm = 0x500
.p2align 4, 0x90
LBB1_30: ## =>This Inner Loop Header: Depth=1
movl _bufp(%rip), %eax
testl %eax, %eax
jle LBB1_32
## %bb.31: ## in Loop: Header=BB1_30 Depth=1
decl %eax
movl %eax, _bufp(%rip)
movsbl (%r14,%rax), %ebx
cmpl $127, %ebx
ja LBB1_35
LBB1_34: ## in Loop: Header=BB1_30 Depth=1
movl %ebx, %eax
movl 60(%r12,%rax,4), %eax
andl %r13d, %eax
testl %eax, %eax
jne LBB1_37
jmp LBB1_38
.p2align 4, 0x90
LBB1_32: ## in Loop: Header=BB1_30 Depth=1
callq _getchar
movl %eax, %ebx
cmpl $127, %ebx
jbe LBB1_34
LBB1_35: ## in Loop: Header=BB1_30 Depth=1
movl $1280, %esi ## imm = 0x500
movl %ebx, %edi
callq ___maskrune
testl %eax, %eax
je LBB1_38
LBB1_37: ## in Loop: Header=BB1_30 Depth=1
movb %bl, (%r15)
incq %r15
jmp LBB1_30
LBB1_26:
movb $0, (%rbx)
movq _tokentype@GOTPCREL(%rip), %rax
movl $2, (%rax)
movl $2, %ebx
jmp LBB1_43
LBB1_38:
movb $0, (%r15)
movslq _bufp(%rip), %rax
cmpq $100, %rax
jl LBB1_40
## %bb.39:
leaq L_str(%rip), %rdi
callq _puts
jmp LBB1_41
LBB1_27:
movl $256, %esi ## imm = 0x100
movl %ebx, %edi
callq ___maskrune
testl %eax, %eax
jne LBB1_29
LBB1_42:
movq _tokentype@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
jmp LBB1_43
LBB1_14:
callq _getchar
cmpl $41, %eax
je LBB1_16
LBB1_17:
movslq _bufp(%rip), %rcx
cmpq $100, %rcx
jl LBB1_19
## %bb.18:
leaq L_str(%rip), %rdi
callq _puts
jmp LBB1_20
LBB1_40:
leal 1(%rax), %ecx
movl %ecx, _bufp(%rip)
movb %bl, (%r14,%rax)
LBB1_41:
movq _tokentype@GOTPCREL(%rip), %rax
movl $0, (%rax)
xorl %ebx, %ebx
jmp LBB1_43
LBB1_19:
leal 1(%rcx), %edx
movl %edx, _bufp(%rip)
movb %al, (%r14,%rcx)
LBB1_20:
movq _tokentype@GOTPCREL(%rip), %rax
movl $40, (%rax)
movl $40, %ebx
LBB1_43:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dirdcl ## -- Begin function dirdcl
.p2align 4, 0x90
_dirdcl: ## @dirdcl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _tokentype@GOTPCREL(%rip), %r14
movl (%r14), %eax
testl %eax, %eax
je LBB2_9
## %bb.1:
cmpl $40, %eax
jne LBB2_10
## %bb.2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB2_3: ## =>This Inner Loop Header: Depth=1
callq _gettoken
incl %ebx
cmpl $42, %eax
je LBB2_3
## %bb.4:
callq _dirdcl
cmpl $1, %ebx
je LBB2_7
## %bb.5:
movq _out@GOTPCREL(%rip), %r15
movabsq $2338042707301724016, %r12 ## imm = 0x207265746E696F70
.p2align 4, 0x90
LBB2_6: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _strlen
movq %r12, (%r15,%rax)
movl $7304224, 7(%r15,%rax) ## imm = 0x6F7420
decl %ebx
cmpl $1, %ebx
jg LBB2_6
LBB2_7:
cmpl $41, (%r14)
je LBB2_12
## %bb.8:
leaq L_str.9(%rip), %rdi
jmp LBB2_11
LBB2_9:
movq _name@GOTPCREL(%rip), %rdi
movq _token@GOTPCREL(%rip), %rsi
callq _strcpy
jmp LBB2_12
LBB2_10:
leaq L_str.10(%rip), %rdi
LBB2_11:
callq _puts
movl $1, _prevtoken(%rip)
LBB2_12:
callq _gettoken
## kill: def $eax killed $eax def $rax
leal -1(%rax), %ecx
cmpl $1, %ecx
ja LBB2_17
## %bb.13:
leaq L_.str.3(%rip), %r15
movq _out@GOTPCREL(%rip), %rbx
movq _token@GOTPCREL(%rip), %r14
leaq L_.str.5(%rip), %r12
jmp LBB2_14
.p2align 4, 0x90
LBB2_16: ## in Loop: Header=BB2_14 Depth=1
movq %rbx, %rdi
callq _strcat
callq _gettoken
## kill: def $eax killed $eax def $rax
movl %eax, %ecx
decl %ecx
cmpl $2, %ecx
jae LBB2_17
LBB2_14: ## =>This Inner Loop Header: Depth=1
movq %r15, %rsi
cmpl $1, %eax
je LBB2_16
## %bb.15: ## in Loop: Header=BB2_14 Depth=1
movq %rbx, %rdi
callq _strlen
movl $1634890337, (%rbx,%rax) ## imm = 0x61727261
movw $121, 4(%rbx,%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq _strcat
movq %r12, %rsi
jmp LBB2_16
LBB2_17:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _errmsg ## -- Begin function errmsg
.p2align 4, 0x90
_errmsg: ## @errmsg
.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, %rsi
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $1, _prevtoken(%rip)
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
movl _bufp(%rip), %eax
testl %eax, %eax
jle LBB4_2
## %bb.1:
decl %eax
movl %eax, _bufp(%rip)
movq _buf@GOTPCREL(%rip), %rcx
movsbl (%rcx,%rax), %eax
popq %rbp
retq
LBB4_2:
popq %rbp
jmp _getchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _ungetch ## -- Begin function ungetch
.p2align 4, 0x90
_ungetch: ## @ungetch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq _bufp(%rip), %rax
cmpq $100, %rax
jl LBB5_1
## %bb.2:
leaq L_str(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
LBB5_1:
leal 1(%rax), %ecx
movl %ecx, _bufp(%rip)
movq _buf@GOTPCREL(%rip), %rcx
movb %dil, (%rcx,%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "pointer to"
L_.str.3: ## @.str.3
.asciz "function returning"
L_.str.4: ## @.str.4
.asciz "array"
L_.str.5: ## @.str.5
.asciz "of"
L_.str.6: ## @.str.6
.asciz "%s"
.globl _prevtoken ## @prevtoken
.zerofill __DATA,__common,_prevtoken,4,2
L_.str.7: ## @.str.7
.asciz "()"
.globl _bufp ## @bufp
.zerofill __DATA,__common,_bufp,4,2
.comm _buf,100,4 ## @buf
L_str: ## @str
.asciz "ungetch: too many characters "
L_str.9: ## @str.9
.asciz "error: missing ) "
L_str.10: ## @str.10
.asciz "error: expected name or (dcl) "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dcl ; -- Begin function dcl
.p2align 2
_dcl: ; @dcl
.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 w20, #0
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _gettoken
add w20, w20, #1
cmp w0, #42
b.eq LBB0_1
; %bb.2:
bl _dirdcl
cmp w20, #1
b.eq LBB0_5
; %bb.3:
Lloh0:
adrp x19, _out@GOTPAGE
Lloh1:
ldr x19, [x19, _out@GOTPAGEOFF]
mov w21, #29728
movk w21, #111, lsl #16
Lloh2:
adrp x8, l_.str@PAGE
Lloh3:
add x8, x8, l_.str@PAGEOFF
Lloh4:
ldr x22, [x8]
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _strlen
add x8, x19, x0
stur w21, [x8, #7]
str x22, [x8]
sub w20, w20, #1
cmp w20, #1
b.gt LBB0_4
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAddLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _gettoken ; -- Begin function gettoken
.p2align 2
_gettoken: ; @gettoken
.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
adrp x8, _prevtoken@PAGE
ldr w9, [x8, _prevtoken@PAGEOFF]
cmp w9, #1
b.ne LBB1_2
; %bb.1:
str wzr, [x8, _prevtoken@PAGEOFF]
Lloh5:
adrp x8, _tokentype@GOTPAGE
Lloh6:
ldr x8, [x8, _tokentype@GOTPAGEOFF]
Lloh7:
ldr w19, [x8]
b LBB1_40
LBB1_2:
adrp x21, _bufp@PAGE
Lloh8:
adrp x20, _buf@GOTPAGE
Lloh9:
ldr x20, [x20, _buf@GOTPAGEOFF]
b LBB1_4
LBB1_3: ; in Loop: Header=BB1_4 Depth=1
cmp w19, #9
b.ne LBB1_18
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21, _bufp@PAGEOFF]
subs w8, w8, #1
b.lt LBB1_6
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
str w8, [x21, _bufp@PAGEOFF]
ldrsb w19, [x20, w8, uxtw]
cmp w19, #31
b.gt LBB1_7
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
bl _getchar
mov x19, x0
cmp w19, #31
b.le LBB1_3
LBB1_7: ; in Loop: Header=BB1_4 Depth=1
cmp w19, #32
b.eq LBB1_4
; %bb.8:
cmp w19, #91
b.eq LBB1_13
; %bb.9:
cmp w19, #40
b.ne LBB1_18
; %bb.10:
ldr w8, [x21, _bufp@PAGEOFF]
subs w8, w8, #1
b.lt LBB1_32
; %bb.11:
str w8, [x21, _bufp@PAGEOFF]
ldrsb w0, [x20, w8, uxtw]
cmp w0, #41
b.ne LBB1_33
LBB1_12:
Lloh10:
adrp x8, _token@GOTPAGE
Lloh11:
ldr x8, [x8, _token@GOTPAGEOFF]
strb wzr, [x8, #2]
mov w9, #10536
strh w9, [x8]
Lloh12:
adrp x8, _tokentype@GOTPAGE
Lloh13:
ldr x8, [x8, _tokentype@GOTPAGEOFF]
mov w19, #1
b LBB1_39
LBB1_13:
Lloh14:
adrp x19, _token@GOTPAGE
Lloh15:
ldr x19, [x19, _token@GOTPAGEOFF]
mov w8, #91
strb w8, [x19], #1
b LBB1_16
LBB1_14: ; in Loop: Header=BB1_16 Depth=1
bl _getchar
LBB1_15: ; in Loop: Header=BB1_16 Depth=1
strb w0, [x19], #1
and w8, w0, #0xff
cmp w8, #93
b.eq LBB1_27
LBB1_16: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21, _bufp@PAGEOFF]
subs w8, w8, #1
b.lt LBB1_14
; %bb.17: ; in Loop: Header=BB1_16 Depth=1
str w8, [x21, _bufp@PAGEOFF]
ldrb w0, [x20, w8, uxtw]
b LBB1_15
LBB1_18:
Lloh16:
adrp x22, __DefaultRuneLocale@GOTPAGE
Lloh17:
ldr x22, [x22, __DefaultRuneLocale@GOTPAGEOFF]
cmp w19, #127
b.hi LBB1_30
; %bb.19:
add x8, x22, w19, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x100
cbz w0, LBB1_31
LBB1_20:
Lloh18:
adrp x23, _token@GOTPAGE
Lloh19:
ldr x23, [x23, _token@GOTPAGEOFF]
strb w19, [x23], #1
mov w24, #1280
LBB1_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21, _bufp@PAGEOFF]
subs w8, w8, #1
b.lt LBB1_24
; %bb.22: ; in Loop: Header=BB1_21 Depth=1
str w8, [x21, _bufp@PAGEOFF]
ldrsb w19, [x20, w8, uxtw]
cmp w19, #127
b.hi LBB1_25
LBB1_23: ; in Loop: Header=BB1_21 Depth=1
add x8, x22, w19, uxtw #2
ldr w8, [x8, #60]
and w0, w8, w24
cbnz w0, LBB1_26
b LBB1_28
LBB1_24: ; in Loop: Header=BB1_21 Depth=1
bl _getchar
mov x19, x0
cmp w19, #127
b.ls LBB1_23
LBB1_25: ; in Loop: Header=BB1_21 Depth=1
mov x0, x19
mov w1, #1280
bl ___maskrune
cbz w0, LBB1_28
LBB1_26: ; in Loop: Header=BB1_21 Depth=1
strb w19, [x23], #1
b LBB1_21
LBB1_27:
strb wzr, [x19]
Lloh20:
adrp x8, _tokentype@GOTPAGE
Lloh21:
ldr x8, [x8, _tokentype@GOTPAGEOFF]
mov w19, #2
b LBB1_39
LBB1_28:
strb wzr, [x23]
ldrsw x8, [x21, _bufp@PAGEOFF]
cmp w8, #100
b.lt LBB1_35
; %bb.29:
Lloh22:
adrp x0, l_str@PAGE
Lloh23:
add x0, x0, l_str@PAGEOFF
bl _puts
b LBB1_36
LBB1_30:
mov x0, x19
mov w1, #256
bl ___maskrune
cbnz w0, LBB1_20
LBB1_31:
Lloh24:
adrp x8, _tokentype@GOTPAGE
Lloh25:
ldr x8, [x8, _tokentype@GOTPAGEOFF]
b LBB1_39
LBB1_32:
bl _getchar
cmp w0, #41
b.eq LBB1_12
LBB1_33:
ldrsw x8, [x21, _bufp@PAGEOFF]
cmp w8, #100
b.lt LBB1_37
; %bb.34:
Lloh26:
adrp x0, l_str@PAGE
Lloh27:
add x0, x0, l_str@PAGEOFF
bl _puts
b LBB1_38
LBB1_35:
add w9, w8, #1
str w9, [x21, _bufp@PAGEOFF]
strb w19, [x20, x8]
LBB1_36:
mov w19, #0
Lloh28:
adrp x8, _tokentype@GOTPAGE
Lloh29:
ldr x8, [x8, _tokentype@GOTPAGEOFF]
Lloh30:
str wzr, [x8]
b LBB1_40
LBB1_37:
add w9, w8, #1
str w9, [x21, _bufp@PAGEOFF]
strb w0, [x20, x8]
LBB1_38:
Lloh31:
adrp x8, _tokentype@GOTPAGE
Lloh32:
ldr x8, [x8, _tokentype@GOTPAGEOFF]
mov w19, #40
LBB1_39:
str w19, [x8]
LBB1_40:
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 AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotStr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGot Lloh31, Lloh32
.cfi_endproc
; -- End function
.globl _dirdcl ; -- Begin function dirdcl
.p2align 2
_dirdcl: ; @dirdcl
.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
Lloh33:
adrp x20, _tokentype@GOTPAGE
Lloh34:
ldr x20, [x20, _tokentype@GOTPAGEOFF]
ldr w8, [x20]
cbz w8, LBB2_9
; %bb.1:
cmp w8, #40
b.ne LBB2_10
; %bb.2:
mov w21, #0
LBB2_3: ; =>This Inner Loop Header: Depth=1
bl _gettoken
add w21, w21, #1
cmp w0, #42
b.eq LBB2_3
; %bb.4:
bl _dirdcl
cmp w21, #1
b.eq LBB2_7
; %bb.5:
Lloh35:
adrp x19, _out@GOTPAGE
Lloh36:
ldr x19, [x19, _out@GOTPAGEOFF]
mov w22, #29728
movk w22, #111, lsl #16
Lloh37:
adrp x8, l_.str@PAGE
Lloh38:
add x8, x8, l_.str@PAGEOFF
Lloh39:
ldr x23, [x8]
LBB2_6: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _strlen
add x8, x19, x0
stur w22, [x8, #7]
str x23, [x8]
sub w21, w21, #1
cmp w21, #1
b.gt LBB2_6
LBB2_7:
ldr w8, [x20]
cmp w8, #41
b.eq LBB2_12
; %bb.8:
Lloh40:
adrp x0, l_str.9@PAGE
Lloh41:
add x0, x0, l_str.9@PAGEOFF
b LBB2_11
LBB2_9:
Lloh42:
adrp x0, _name@GOTPAGE
Lloh43:
ldr x0, [x0, _name@GOTPAGEOFF]
Lloh44:
adrp x1, _token@GOTPAGE
Lloh45:
ldr x1, [x1, _token@GOTPAGEOFF]
bl _strcpy
b LBB2_12
LBB2_10:
Lloh46:
adrp x0, l_str.10@PAGE
Lloh47:
add x0, x0, l_str.10@PAGEOFF
LBB2_11:
bl _puts
mov w8, #1
adrp x9, _prevtoken@PAGE
str w8, [x9, _prevtoken@PAGEOFF]
LBB2_12:
bl _gettoken
sub w8, w0, #1
cmp w8, #1
b.hi LBB2_17
; %bb.13:
Lloh48:
adrp x21, l_.str.3@PAGE
Lloh49:
add x21, x21, l_.str.3@PAGEOFF
Lloh50:
adrp x19, _out@GOTPAGE
Lloh51:
ldr x19, [x19, _out@GOTPAGEOFF]
mov w22, #29281
movk w22, #24946, lsl #16
mov w23, #121
Lloh52:
adrp x20, _token@GOTPAGE
Lloh53:
ldr x20, [x20, _token@GOTPAGEOFF]
Lloh54:
adrp x24, l_.str.5@PAGE
Lloh55:
add x24, x24, l_.str.5@PAGEOFF
b LBB2_15
LBB2_14: ; in Loop: Header=BB2_15 Depth=1
mov x0, x19
bl _strcat
bl _gettoken
sub w8, w0, #1
cmp w8, #2
b.hs LBB2_17
LBB2_15: ; =>This Inner Loop Header: Depth=1
mov x1, x21
cmp w0, #1
b.eq LBB2_14
; %bb.16: ; in Loop: Header=BB2_15 Depth=1
mov x0, x19
bl _strlen
add x8, x19, x0
str w22, [x8]
strh w23, [x8, #4]
mov x0, x19
mov x1, x20
bl _strcat
mov x1, x24
b LBB2_14
LBB2_17:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpAddLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpLdrGot Lloh44, Lloh45
.loh AdrpLdrGot Lloh42, Lloh43
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpLdrGot Lloh52, Lloh53
.loh AdrpLdrGot Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.cfi_endproc
; -- End function
.globl _errmsg ; -- Begin function errmsg
.p2align 2
_errmsg: ; @errmsg
.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 x0, [sp]
Lloh56:
adrp x0, l_.str.6@PAGE
Lloh57:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w8, #1
adrp x9, _prevtoken@PAGE
str w8, [x9, _prevtoken@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh56, Lloh57
.cfi_endproc
; -- End function
.globl _getch ; -- Begin function getch
.p2align 2
_getch: ; @getch
.cfi_startproc
; %bb.0:
adrp x8, _bufp@PAGE
ldr w9, [x8, _bufp@PAGEOFF]
subs w9, w9, #1
b.lt LBB4_2
; %bb.1:
str w9, [x8, _bufp@PAGEOFF]
Lloh58:
adrp x8, _buf@GOTPAGE
Lloh59:
ldr x8, [x8, _buf@GOTPAGEOFF]
ldrsb w0, [x8, w9, uxtw]
ret
LBB4_2:
b _getchar
.loh AdrpLdrGot Lloh58, Lloh59
.cfi_endproc
; -- End function
.globl _ungetch ; -- Begin function ungetch
.p2align 2
_ungetch: ; @ungetch
.cfi_startproc
; %bb.0:
adrp x9, _bufp@PAGE
ldrsw x8, [x9, _bufp@PAGEOFF]
cmp w8, #100
b.lt LBB5_2
; %bb.1:
Lloh60:
adrp x0, l_str@PAGE
Lloh61:
add x0, x0, l_str@PAGEOFF
b _puts
LBB5_2:
add w10, w8, #1
str w10, [x9, _bufp@PAGEOFF]
Lloh62:
adrp x9, _buf@GOTPAGE
Lloh63:
ldr x9, [x9, _buf@GOTPAGEOFF]
strb w0, [x9, x8]
ret
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpLdrGot Lloh62, Lloh63
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "pointer to"
l_.str.3: ; @.str.3
.asciz "function returning"
l_.str.4: ; @.str.4
.asciz "array"
l_.str.5: ; @.str.5
.asciz "of"
l_.str.6: ; @.str.6
.asciz "%s"
.globl _prevtoken ; @prevtoken
.zerofill __DATA,__common,_prevtoken,4,2
l_.str.7: ; @.str.7
.asciz "()"
.globl _bufp ; @bufp
.zerofill __DATA,__common,_bufp,4,2
.comm _buf,100,0 ; @buf
l_str: ; @str
.asciz "ungetch: too many characters "
l_str.9: ; @str.9
.asciz "error: missing ) "
l_str.10: ; @str.10
.asciz "error: expected name or (dcl) "
.subsections_via_symbols
| the_stack_data/142742.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _led_set_kb ## -- Begin function led_set_kb
.p2align 4, 0x90
_led_set_kb: ## @led_set_kb
.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 %edi, %ebx
movq _USB_LED_NUM_LOCK@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _IS_LED_ON
movq _F4@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
testq %rax, %rax
je LBB0_2
## %bb.1:
callq _writePinHigh
jmp LBB0_3
LBB0_2:
callq _writePinLow
LBB0_3:
movq _USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %edi
callq _IS_LED_ON
movq _F1@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
testq %rax, %rax
je LBB0_5
## %bb.4:
callq _writePinHigh
jmp LBB0_6
LBB0_5:
callq _writePinLow
LBB0_6:
movq _USB_LED_SCROLL_LOCK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %edi
callq _IS_LED_ON
movq _F5@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
testq %rax, %rax
je LBB0_8
## %bb.7:
callq _writePinHigh
jmp LBB0_9
LBB0_8:
callq _writePinLow
LBB0_9:
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _led_set_user ## TAILCALL
.cfi_endproc
## -- End function
.comm _USB_LED_NUM_LOCK,4,2 ## @USB_LED_NUM_LOCK
.comm _F4,4,2 ## @F4
.comm _USB_LED_CAPS_LOCK,4,2 ## @USB_LED_CAPS_LOCK
.comm _F1,4,2 ## @F1
.comm _USB_LED_SCROLL_LOCK,4,2 ## @USB_LED_SCROLL_LOCK
.comm _F5,4,2 ## @F5
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _led_set_kb ; -- Begin function led_set_kb
.p2align 2
_led_set_kb: ; @led_set_kb
.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, _USB_LED_NUM_LOCK@GOTPAGE
Lloh1:
ldr x8, [x8, _USB_LED_NUM_LOCK@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _IS_LED_ON
mov x8, x0
Lloh3:
adrp x9, _F4@GOTPAGE
Lloh4:
ldr x9, [x9, _F4@GOTPAGEOFF]
Lloh5:
ldr w0, [x9]
cbz x8, LBB0_2
; %bb.1:
bl _writePinHigh
b LBB0_3
LBB0_2:
bl _writePinLow
LBB0_3:
Lloh6:
adrp x8, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh7:
ldr x8, [x8, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x19
bl _IS_LED_ON
mov x8, x0
Lloh9:
adrp x9, _F1@GOTPAGE
Lloh10:
ldr x9, [x9, _F1@GOTPAGEOFF]
Lloh11:
ldr w0, [x9]
cbz x8, LBB0_5
; %bb.4:
bl _writePinHigh
b LBB0_6
LBB0_5:
bl _writePinLow
LBB0_6:
Lloh12:
adrp x8, _USB_LED_SCROLL_LOCK@GOTPAGE
Lloh13:
ldr x8, [x8, _USB_LED_SCROLL_LOCK@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x19
bl _IS_LED_ON
mov x8, x0
Lloh15:
adrp x9, _F5@GOTPAGE
Lloh16:
ldr x9, [x9, _F5@GOTPAGEOFF]
Lloh17:
ldr w0, [x9]
cbz x8, LBB0_8
; %bb.7:
bl _writePinHigh
b LBB0_9
LBB0_8:
bl _writePinLow
LBB0_9:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _led_set_user
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _USB_LED_NUM_LOCK,4,2 ; @USB_LED_NUM_LOCK
.comm _F4,4,2 ; @F4
.comm _USB_LED_CAPS_LOCK,4,2 ; @USB_LED_CAPS_LOCK
.comm _F1,4,2 ; @F1
.comm _USB_LED_SCROLL_LOCK,4,2 ; @USB_LED_SCROLL_LOCK
.comm _F5,4,2 ; @F5
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/westfoxtrot/cypher/extr_cypher.c_led_set_kb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insertNode ## -- Begin function insertNode
.p2align 4, 0x90
_insertNode: ## @insertNode
.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, %ebx
movl %edi, %r14d
movl $24, %edi
callq _malloc
movl %ebx, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
movq _head(%rip), %rcx
testq %rcx, %rcx
je LBB0_1
## %bb.2:
testl %r14d, %r14d
je LBB0_7
## %bb.3:
leal -1(%r14), %esi
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rdx
movq 16(%rcx), %rcx
addl $-1, %esi
setb %bl
testq %rcx, %rcx
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
testb %bl, %bl
jne LBB0_4
LBB0_6:
testl %r14d, %r14d
je LBB0_7
## %bb.8:
movq %rax, 16(%rdx)
movq %rdx, 8(%rax)
testq %rcx, %rcx
jne LBB0_9
jmp LBB0_11
LBB0_1:
leaq _head(%rip), %rcx
jmp LBB0_10
LBB0_7:
movq %rax, _head(%rip)
LBB0_9:
movq %rcx, 16(%rax)
addq $8, %rcx
LBB0_10:
movq %rax, (%rcx)
LBB0_11:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addAtBeginning ## -- Begin function addAtBeginning
.p2align 4, 0x90
_addAtBeginning: ## @addAtBeginning
.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 %edi, %ebx
movl $24, %edi
callq _malloc
movl %ebx, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
movq _head(%rip), %rcx
testq %rcx, %rcx
je LBB1_1
## %bb.2:
movq %rax, _head(%rip)
movq %rcx, 16(%rax)
addq $8, %rcx
jmp LBB1_3
LBB1_1:
leaq _head(%rip), %rcx
LBB1_3:
movq %rax, (%rcx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addAtEnd ## -- Begin function addAtEnd
.p2align 4, 0x90
_addAtEnd: ## @addAtEnd
.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 %edi, %ebx
movl $24, %edi
callq _malloc
movl %ebx, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
movq _head(%rip), %rcx
testq %rcx, %rcx
je LBB2_3
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rdx
movq 16(%rcx), %rcx
testq %rcx, %rcx
jne LBB2_1
## %bb.2:
movq %rax, 16(%rdx)
movq %rdx, 8(%rax)
jmp LBB2_4
LBB2_3:
movq %rax, _head(%rip)
LBB2_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _removeNode ## -- Begin function removeNode
.p2align 4, 0x90
_removeNode: ## @removeNode
.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, %eax
movq _head(%rip), %rdi
testq %rdi, %rdi
je LBB3_3
.p2align 4, 0x90
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpl %eax, (%rdi)
je LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq 16(%rdi), %rdi
testq %rdi, %rdi
jne LBB3_1
LBB3_3:
popq %rbp
retq
LBB3_4:
movq 8(%rdi), %rcx
movq 16(%rdi), %rax
testq %rcx, %rcx
je LBB3_7
## %bb.5:
testq %rax, %rax
je LBB3_9
## %bb.6:
movq %rax, 16(%rcx)
movq 16(%rdi), %rax
movq %rcx, 8(%rax)
popq %rbp
jmp _free ## TAILCALL
LBB3_7:
testq %rax, %rax
je LBB3_10
## %bb.8:
movq %rax, _head(%rip)
addq $8, %rax
jmp LBB3_11
LBB3_9:
movq $0, 16(%rcx)
popq %rbp
jmp _free ## TAILCALL
LBB3_10:
leaq _head(%rip), %rax
LBB3_11:
movq $0, (%rax)
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.globl _printList ## -- Begin function printList
.p2align 4, 0x90
_printList: ## @printList
.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 _head(%rip), %rbx
leaq L_str(%rip), %rdi
callq _puts
testq %rbx, %rbx
je LBB4_3
## %bb.1:
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB4_2: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 16(%rbx), %rbx
testq %rbx, %rbx
jne LBB4_2
LBB4_3:
leaq L_str.7(%rip), %rdi
popq %rbx
popq %r14
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _printListReverse ## -- Begin function printListReverse
.p2align 4, 0x90
_printListReverse: ## @printListReverse
.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 _head(%rip), %rax
.p2align 4, 0x90
LBB5_1: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
movq 16(%rax), %rax
testq %rax, %rax
jne LBB5_1
## %bb.2:
leaq L_str.8(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB5_3: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB5_3
## %bb.4:
leaq L_str.9(%rip), %rdi
popq %rbx
popq %r14
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI6_0:
.space 16
.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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $24, %edi
callq _malloc
movl $2, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
movq _head(%rip), %r14
testq %r14, %r14
je LBB6_4
## %bb.1:
movq %r14, %rdx
.p2align 4, 0x90
LBB6_2: ## =>This Inner Loop Header: Depth=1
movq %rdx, %rcx
movq 16(%rdx), %rdx
testq %rdx, %rdx
jne LBB6_2
## %bb.3:
movq %rax, 16(%rcx)
movq %rcx, 8(%rax)
jmp LBB6_5
LBB6_4:
movq %rax, _head(%rip)
movq %rax, %r14
LBB6_5:
movl $24, %edi
callq _malloc
movl $3, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
testq %r14, %r14
je LBB6_9
## %bb.6:
movq %r14, %rdx
.p2align 4, 0x90
LBB6_7: ## =>This Inner Loop Header: Depth=1
movq %rdx, %rcx
movq 16(%rdx), %rdx
testq %rdx, %rdx
jne LBB6_7
## %bb.8:
movq %rax, 16(%rcx)
movq %rcx, 8(%rax)
jmp LBB6_10
LBB6_9:
movq %rax, _head(%rip)
movq %rax, %r14
LBB6_10:
movl $24, %edi
callq _malloc
movl $5, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
testq %r14, %r14
je LBB6_14
## %bb.11:
movq %r14, %rdx
.p2align 4, 0x90
LBB6_12: ## =>This Inner Loop Header: Depth=1
movq %rdx, %rcx
movq 16(%rdx), %rdx
testq %rdx, %rdx
jne LBB6_12
## %bb.13:
movq %rax, 16(%rcx)
movq %rcx, 8(%rax)
jmp LBB6_15
LBB6_14:
movq %rax, _head(%rip)
movq %rax, %r14
LBB6_15:
movl $24, %edi
callq _malloc
movl $1, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
leaq _head(%rip), %rbx
movq %rbx, %rcx
testq %r14, %r14
je LBB6_17
## %bb.16:
movq %rax, _head(%rip)
movq %r14, 16(%rax)
addq $8, %r14
movq %r14, %rcx
LBB6_17:
movq %rax, (%rcx)
movl $24, %edi
callq _malloc
movl $4, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
movq _head(%rip), %rcx
testq %rcx, %rcx
je LBB6_23
## %bb.18:
movq 16(%rcx), %rbx
testq %rbx, %rbx
je LBB6_20
## %bb.19:
leaq 16(%rbx), %rdx
movq %rbx, %rcx
movq 16(%rbx), %rbx
jmp LBB6_21
LBB6_20:
leaq 16(%rcx), %rdx
LBB6_21:
movq %rax, (%rdx)
movq %rcx, 8(%rax)
testq %rbx, %rbx
je LBB6_24
## %bb.22:
movq %rbx, 16(%rax)
addq $8, %rbx
LBB6_23:
movq %rax, (%rbx)
LBB6_24:
leaq L_str.10(%rip), %rdi
callq _puts
movq _head(%rip), %rbx
leaq L_str(%rip), %rdi
callq _puts
testq %rbx, %rbx
je LBB6_27
## %bb.25:
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB6_26: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 16(%rbx), %rbx
testq %rbx, %rbx
jne LBB6_26
LBB6_27:
leaq L_str.7(%rip), %rdi
callq _puts
movq _head(%rip), %rdi
testq %rdi, %rdi
je LBB6_65
## %bb.28:
movq %rdi, %rax
.p2align 4, 0x90
LBB6_29: ## =>This Inner Loop Header: Depth=1
cmpl $1, (%rax)
je LBB6_32
## %bb.30: ## in Loop: Header=BB6_29 Depth=1
movq 16(%rax), %rax
testq %rax, %rax
jne LBB6_29
## %bb.31:
testq %rdi, %rdi
jne LBB6_41
jmp LBB6_65
LBB6_32:
movq 8(%rax), %rdx
movq 16(%rax), %rcx
testq %rdx, %rdx
je LBB6_35
## %bb.33:
testq %rcx, %rcx
je LBB6_37
## %bb.34:
movq %rcx, 16(%rdx)
movq 16(%rax), %rcx
movq %rdx, 8(%rcx)
jmp LBB6_40
LBB6_35:
testq %rcx, %rcx
je LBB6_38
## %bb.36:
movq %rcx, _head(%rip)
addq $8, %rcx
jmp LBB6_39
LBB6_37:
movq $0, 16(%rdx)
jmp LBB6_40
LBB6_38:
leaq _head(%rip), %rcx
LBB6_39:
movq $0, (%rcx)
LBB6_40:
movq %rax, %rdi
callq _free
movq _head(%rip), %rdi
testq %rdi, %rdi
je LBB6_65
LBB6_41:
movq %rdi, %rax
.p2align 4, 0x90
LBB6_42: ## =>This Inner Loop Header: Depth=1
cmpl $3, (%rax)
je LBB6_44
## %bb.43: ## in Loop: Header=BB6_42 Depth=1
movq 16(%rax), %rax
testq %rax, %rax
jne LBB6_42
jmp LBB6_55
LBB6_44:
movq 8(%rax), %rdx
movq 16(%rax), %rcx
testq %rdx, %rdx
je LBB6_47
## %bb.45:
testq %rcx, %rcx
je LBB6_49
## %bb.46:
movq %rcx, 16(%rdx)
movq 16(%rax), %rcx
movq %rdx, 8(%rcx)
jmp LBB6_52
LBB6_47:
testq %rcx, %rcx
je LBB6_50
## %bb.48:
movq %rcx, _head(%rip)
addq $8, %rcx
jmp LBB6_51
LBB6_49:
movq $0, 16(%rdx)
jmp LBB6_52
LBB6_50:
leaq _head(%rip), %rcx
LBB6_51:
movq $0, (%rcx)
LBB6_52:
movq %rax, %rdi
callq _free
movq _head(%rip), %rdi
jmp LBB6_55
.p2align 4, 0x90
LBB6_53: ## in Loop: Header=BB6_55 Depth=1
cmpl $5, (%rdi)
je LBB6_56
## %bb.54: ## in Loop: Header=BB6_55 Depth=1
movq 16(%rdi), %rdi
LBB6_55: ## =>This Inner Loop Header: Depth=1
testq %rdi, %rdi
jne LBB6_53
jmp LBB6_65
LBB6_56:
movq 8(%rdi), %rcx
movq 16(%rdi), %rax
testq %rcx, %rcx
je LBB6_59
## %bb.57:
testq %rax, %rax
je LBB6_61
## %bb.58:
movq %rax, 16(%rcx)
movq 16(%rdi), %rax
movq %rcx, 8(%rax)
jmp LBB6_64
LBB6_59:
testq %rax, %rax
je LBB6_62
## %bb.60:
movq %rax, _head(%rip)
addq $8, %rax
jmp LBB6_63
LBB6_61:
movq $0, 16(%rcx)
jmp LBB6_64
LBB6_62:
leaq _head(%rip), %rax
LBB6_63:
movq $0, (%rax)
LBB6_64:
callq _free
LBB6_65:
leaq L_str.11(%rip), %rdi
callq _puts
movq _head(%rip), %rax
.p2align 4, 0x90
LBB6_66: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
movq 16(%rax), %rax
testq %rax, %rax
jne LBB6_66
## %bb.67:
leaq L_str.8(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB6_68: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB6_68
## %bb.69:
leaq L_str.9(%rip), %rdi
callq _puts
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _head ## @head
.zerofill __DATA,__common,_head,8,3
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "\tdata: %d\n"
L_str: ## @str
.asciz " --------- list --------"
L_str.7: ## @str.7
.asciz " -----------------------"
L_str.8: ## @str.8
.asciz " -------- reverse list -------"
L_str.9: ## @str.9
.asciz " -----------------------------"
L_str.10: ## @str.10
.asciz "Forward :"
L_str.11: ## @str.11
.asciz "Reverse:"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insertNode ; -- Begin function insertNode
.p2align 2
_insertNode: ; @insertNode
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
mov w0, #24
bl _malloc
str w20, [x0]
stp xzr, xzr, [x0, #8]
Lloh0:
adrp x9, _head@PAGE
Lloh1:
add x9, x9, _head@PAGEOFF
ldr x8, [x9]
cbz x8, LBB0_9
; %bb.1:
cbz w19, LBB0_7
; %bb.2:
sub w9, w19, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x10, x8
ldr x8, [x8, #16]
subs w9, w9, #1
cset w11, hs
cbz x8, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
tbnz w11, #0, LBB0_3
LBB0_5:
cbz w19, LBB0_7
; %bb.6:
str x0, [x10, #16]
str x10, [x0, #8]
cbnz x8, LBB0_8
b LBB0_10
LBB0_7:
adrp x9, _head@PAGE
str x0, [x9, _head@PAGEOFF]
LBB0_8:
str x8, [x0, #16]
add x9, x8, #8
LBB0_9:
str x0, [x9]
LBB0_10:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _addAtBeginning ; -- Begin function addAtBeginning
.p2align 2
_addAtBeginning: ; @addAtBeginning
.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 w0, #24
bl _malloc
str w19, [x0]
stp xzr, xzr, [x0, #8]
Lloh2:
adrp x8, _head@PAGE
Lloh3:
add x8, x8, _head@PAGEOFF
ldr x9, [x8]
cbz x9, LBB1_2
; %bb.1:
adrp x8, _head@PAGE
str x0, [x8, _head@PAGEOFF]
str x9, [x0, #16]
add x8, x9, #8
LBB1_2:
str x0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _addAtEnd ; -- Begin function addAtEnd
.p2align 2
_addAtEnd: ; @addAtEnd
.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 w0, #24
bl _malloc
str w19, [x0]
stp xzr, xzr, [x0, #8]
adrp x9, _head@PAGE
ldr x8, [x9, _head@PAGEOFF]
cbz x8, LBB2_3
LBB2_1: ; =>This Inner Loop Header: Depth=1
mov x9, x8
ldr x8, [x8, #16]
cbnz x8, LBB2_1
; %bb.2:
str x0, [x9, #16]
str x9, [x0, #8]
b LBB2_4
LBB2_3:
str x0, [x9, _head@PAGEOFF]
LBB2_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _removeNode ; -- Begin function removeNode
.p2align 2
_removeNode: ; @removeNode
.cfi_startproc
; %bb.0:
mov x8, x0
adrp x9, _head@PAGE
ldr x0, [x9, _head@PAGEOFF]
cbz x0, LBB3_3
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w10, [x0]
cmp w10, w8
b.eq LBB3_4
; %bb.2: ; in Loop: Header=BB3_1 Depth=1
ldr x0, [x0, #16]
cbnz x0, LBB3_1
LBB3_3:
ret
LBB3_4:
ldp x8, x10, [x0, #8]
cbz x8, LBB3_7
; %bb.5:
cbz x10, LBB3_9
; %bb.6:
str x10, [x8, #16]
ldr x9, [x0, #16]
str x8, [x9, #8]
b _free
LBB3_7:
cbz x10, LBB3_10
; %bb.8:
str x10, [x9, _head@PAGEOFF]
add x8, x10, #8
str xzr, [x8]
b _free
LBB3_9:
str xzr, [x8, #16]
b _free
LBB3_10:
Lloh4:
adrp x8, _head@PAGE
Lloh5:
add x8, x8, _head@PAGEOFF
Lloh6:
str xzr, [x8]
b _free
.loh AdrpAddStr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.globl _printList ; -- Begin function printList
.p2align 2
_printList: ; @printList
.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
Lloh7:
adrp x8, _head@PAGE
Lloh8:
ldr x20, [x8, _head@PAGEOFF]
Lloh9:
adrp x0, l_str@PAGE
Lloh10:
add x0, x0, l_str@PAGEOFF
bl _puts
cbz x20, LBB4_3
; %bb.1:
Lloh11:
adrp x19, l_.str.1@PAGE
Lloh12:
add x19, x19, l_.str.1@PAGEOFF
LBB4_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20]
str x8, [sp]
mov x0, x19
bl _printf
ldr x20, [x20, #16]
cbnz x20, LBB4_2
LBB4_3:
Lloh13:
adrp x0, l_str.7@PAGE
Lloh14:
add x0, x0, l_str.7@PAGEOFF
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _puts
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdr Lloh7, Lloh8
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.globl _printListReverse ; -- Begin function printListReverse
.p2align 2
_printListReverse: ; @printListReverse
.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
Lloh15:
adrp x8, _head@PAGE
Lloh16:
ldr x8, [x8, _head@PAGEOFF]
LBB5_1: ; =>This Inner Loop Header: Depth=1
mov x20, x8
ldr x8, [x8, #16]
cbnz x8, LBB5_1
; %bb.2:
Lloh17:
adrp x0, l_str.8@PAGE
Lloh18:
add x0, x0, l_str.8@PAGEOFF
bl _puts
Lloh19:
adrp x19, l_.str.1@PAGE
Lloh20:
add x19, x19, l_.str.1@PAGEOFF
LBB5_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20]
str x8, [sp]
mov x0, x19
bl _printf
ldr x20, [x20, #8]
cbnz x20, LBB5_3
; %bb.4:
Lloh21:
adrp x0, l_str.9@PAGE
Lloh22:
add x0, x0, l_str.9@PAGEOFF
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _puts
.loh AdrpLdr Lloh15, Lloh16
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh21, Lloh22
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp 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 w0, #24
bl _malloc
mov w8, #2
str w8, [x0]
stp xzr, xzr, [x0, #8]
adrp x20, _head@PAGE
ldr x19, [x20, _head@PAGEOFF]
cbz x19, LBB6_4
; %bb.1:
mov x9, x19
LBB6_2: ; =>This Inner Loop Header: Depth=1
mov x8, x9
ldr x9, [x9, #16]
cbnz x9, LBB6_2
; %bb.3:
str x0, [x8, #16]
str x8, [x0, #8]
b LBB6_5
LBB6_4:
str x0, [x20, _head@PAGEOFF]
mov x19, x0
LBB6_5:
mov w0, #24
bl _malloc
mov w8, #3
str w8, [x0]
stp xzr, xzr, [x0, #8]
cbz x19, LBB6_9
; %bb.6:
mov x9, x19
LBB6_7: ; =>This Inner Loop Header: Depth=1
mov x8, x9
ldr x9, [x9, #16]
cbnz x9, LBB6_7
; %bb.8:
str x0, [x8, #16]
str x8, [x0, #8]
b LBB6_10
LBB6_9:
str x0, [x20, _head@PAGEOFF]
mov x19, x0
LBB6_10:
mov w0, #24
bl _malloc
mov w8, #5
str w8, [x0]
stp xzr, xzr, [x0, #8]
cbz x19, LBB6_14
; %bb.11:
mov x9, x19
LBB6_12: ; =>This Inner Loop Header: Depth=1
mov x8, x9
ldr x9, [x9, #16]
cbnz x9, LBB6_12
; %bb.13:
str x0, [x8, #16]
str x8, [x0, #8]
b LBB6_15
LBB6_14:
str x0, [x20, _head@PAGEOFF]
mov x19, x0
LBB6_15:
mov w0, #24
bl _malloc
mov w8, #1
str w8, [x0]
stp xzr, xzr, [x0, #8]
Lloh23:
adrp x21, _head@PAGE
Lloh24:
add x21, x21, _head@PAGEOFF
cbz x19, LBB6_17
; %bb.16:
str x0, [x20, _head@PAGEOFF]
str x19, [x0, #16]
add x8, x19, #8
b LBB6_18
LBB6_17:
mov x8, x21
LBB6_18:
str x0, [x8]
mov w0, #24
bl _malloc
mov w8, #4
str w8, [x0]
stp xzr, xzr, [x0, #8]
ldr x9, [x21]
cbz x9, LBB6_23
; %bb.19:
mov x10, x9
ldr x8, [x10, #16]!
cbz x8, LBB6_21
; %bb.20:
mov x10, x8
mov x9, x8
ldr x8, [x10, #16]!
LBB6_21:
str x0, [x10]
str x9, [x0, #8]
cbz x8, LBB6_24
; %bb.22:
str x8, [x0, #16]
add x21, x8, #8
LBB6_23:
str x0, [x21]
LBB6_24:
Lloh25:
adrp x0, l_str.10@PAGE
Lloh26:
add x0, x0, l_str.10@PAGEOFF
bl _puts
ldr x21, [x20, _head@PAGEOFF]
Lloh27:
adrp x0, l_str@PAGE
Lloh28:
add x0, x0, l_str@PAGEOFF
bl _puts
cbz x21, LBB6_27
; %bb.25:
Lloh29:
adrp x19, l_.str.1@PAGE
Lloh30:
add x19, x19, l_.str.1@PAGEOFF
LBB6_26: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21]
str x8, [sp]
mov x0, x19
bl _printf
ldr x21, [x21, #16]
cbnz x21, LBB6_26
LBB6_27:
Lloh31:
adrp x0, l_str.7@PAGE
Lloh32:
add x0, x0, l_str.7@PAGEOFF
bl _puts
ldr x0, [x20, _head@PAGEOFF]
cbz x0, LBB6_65
; %bb.28:
mov x8, x0
LBB6_29: ; =>This Inner Loop Header: Depth=1
ldr w9, [x8]
cmp w9, #1
b.eq LBB6_32
; %bb.30: ; in Loop: Header=BB6_29 Depth=1
ldr x8, [x8, #16]
cbnz x8, LBB6_29
; %bb.31:
cbnz x0, LBB6_41
b LBB6_65
LBB6_32:
ldp x9, x10, [x8, #8]
cbz x9, LBB6_35
; %bb.33:
cbz x10, LBB6_37
; %bb.34:
str x10, [x9, #16]
ldr x10, [x8, #16]
str x9, [x10, #8]
b LBB6_40
LBB6_35:
cbz x10, LBB6_38
; %bb.36:
str x10, [x20, _head@PAGEOFF]
add x9, x10, #8
b LBB6_39
LBB6_37:
str xzr, [x9, #16]
b LBB6_40
LBB6_38:
Lloh33:
adrp x9, _head@PAGE
Lloh34:
add x9, x9, _head@PAGEOFF
LBB6_39:
str xzr, [x9]
LBB6_40:
mov x0, x8
bl _free
ldr x0, [x20, _head@PAGEOFF]
cbz x0, LBB6_65
LBB6_41:
mov x8, x0
LBB6_42: ; =>This Inner Loop Header: Depth=1
ldr w9, [x8]
cmp w9, #3
b.eq LBB6_45
; %bb.43: ; in Loop: Header=BB6_42 Depth=1
ldr x8, [x8, #16]
cbnz x8, LBB6_42
; %bb.44:
cbnz x0, LBB6_54
b LBB6_65
LBB6_45:
ldp x9, x10, [x8, #8]
cbz x9, LBB6_48
; %bb.46:
cbz x10, LBB6_50
; %bb.47:
str x10, [x9, #16]
ldr x10, [x8, #16]
str x9, [x10, #8]
b LBB6_53
LBB6_48:
cbz x10, LBB6_51
; %bb.49:
str x10, [x20, _head@PAGEOFF]
add x9, x10, #8
b LBB6_52
LBB6_50:
str xzr, [x9, #16]
b LBB6_53
LBB6_51:
Lloh35:
adrp x9, _head@PAGE
Lloh36:
add x9, x9, _head@PAGEOFF
LBB6_52:
str xzr, [x9]
LBB6_53:
mov x0, x8
bl _free
ldr x0, [x20, _head@PAGEOFF]
cbz x0, LBB6_65
LBB6_54: ; =>This Inner Loop Header: Depth=1
ldr w8, [x0]
cmp w8, #5
b.eq LBB6_56
; %bb.55: ; in Loop: Header=BB6_54 Depth=1
ldr x0, [x0, #16]
cbnz x0, LBB6_54
b LBB6_65
LBB6_56:
ldp x8, x9, [x0, #8]
cbz x8, LBB6_59
; %bb.57:
cbz x9, LBB6_61
; %bb.58:
str x9, [x8, #16]
ldr x9, [x0, #16]
str x8, [x9, #8]
b LBB6_64
LBB6_59:
cbz x9, LBB6_62
; %bb.60:
str x9, [x20, _head@PAGEOFF]
add x8, x9, #8
b LBB6_63
LBB6_61:
str xzr, [x8, #16]
b LBB6_64
LBB6_62:
Lloh37:
adrp x8, _head@PAGE
Lloh38:
add x8, x8, _head@PAGEOFF
LBB6_63:
str xzr, [x8]
LBB6_64:
bl _free
LBB6_65:
Lloh39:
adrp x0, l_str.11@PAGE
Lloh40:
add x0, x0, l_str.11@PAGEOFF
bl _puts
ldr x8, [x20, _head@PAGEOFF]
LBB6_66: ; =>This Inner Loop Header: Depth=1
mov x20, x8
ldr x8, [x8, #16]
cbnz x8, LBB6_66
; %bb.67:
Lloh41:
adrp x0, l_str.8@PAGE
Lloh42:
add x0, x0, l_str.8@PAGEOFF
bl _puts
Lloh43:
adrp x19, l_.str.1@PAGE
Lloh44:
add x19, x19, l_.str.1@PAGEOFF
LBB6_68: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20]
str x8, [sp]
mov x0, x19
bl _printf
ldr x20, [x20, #8]
cbnz x20, LBB6_68
; %bb.69:
Lloh45:
adrp x0, l_str.9@PAGE
Lloh46:
add x0, x0, l_str.9@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh45, Lloh46
.cfi_endproc
; -- End function
.globl _head ; @head
.zerofill __DATA,__common,_head,8,3
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "\tdata: %d\n"
l_str: ; @str
.asciz " --------- list --------"
l_str.7: ; @str.7
.asciz " -----------------------"
l_str.8: ; @str.8
.asciz " -------- reverse list -------"
l_str.9: ; @str.9
.asciz " -----------------------------"
l_str.10: ; @str.10
.asciz "Forward :"
l_str.11: ; @str.11
.asciz "Reverse:"
.subsections_via_symbols
| the_stack_data/187642140.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ensure_deleted
_ensure_deleted: ## @ensure_deleted
.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
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _printf
movq _R_OK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _access
cmpl $-1, %eax
je LBB0_3
## %bb.1:
movq %rbx, %rdi
callq _unlink
movq _in_child@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_2
## %bb.4:
movq _EXIT_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _errx ## TAILCALL
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_2:
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _atf_tc_fail ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Ensuring pidfile %s does not exist any more\n"
.comm _R_OK,4,2 ## @R_OK
.comm _in_child,8,3 ## @in_child
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
L_.str.1: ## @.str.1
.asciz "The pidfile %s was not deleted"
.no_dead_strip _ensure_deleted
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ensure_deleted
_ensure_deleted: ; @ensure_deleted
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _printf
Lloh2:
adrp x8, _R_OK@GOTPAGE
Lloh3:
ldr x8, [x8, _R_OK@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov x0, x19
bl _access
cmn w0, #1
b.eq LBB0_3
; %bb.1:
mov x0, x19
bl _unlink
Lloh5:
adrp x8, _in_child@GOTPAGE
Lloh6:
ldr x8, [x8, _in_child@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
cbz x8, LBB0_4
; %bb.2:
Lloh8:
adrp x8, _EXIT_FAILURE@GOTPAGE
Lloh9:
ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
Lloh11:
adrp x1, l_.str.1@PAGE
Lloh12:
add x1, x1, l_.str.1@PAGEOFF
mov x2, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _errx
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _atf_tc_fail
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Ensuring pidfile %s does not exist any more\n"
.comm _R_OK,4,2 ; @R_OK
.comm _in_child,8,3 ; @in_child
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
l_.str.1: ; @.str.1
.asciz "The pidfile %s was not deleted"
.no_dead_strip _ensure_deleted
.subsections_via_symbols
| AnghaBench/freebsd/contrib/netbsd-tests/lib/libutil/extr_t_pidfile.c_ensure_deleted.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function igc_get_ringparam
_igc_get_ringparam: ## @igc_get_ringparam
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
callq _netdev_priv
movq _IGC_MAX_RXD@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 12(%rbx)
movq _IGC_MAX_TXD@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 8(%rbx)
movl 4(%rax), %ecx
movl %ecx, 4(%rbx)
movl (%rax), %eax
movl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IGC_MAX_RXD,4,2 ## @IGC_MAX_RXD
.comm _IGC_MAX_TXD,4,2 ## @IGC_MAX_TXD
.no_dead_strip _igc_get_ringparam
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function igc_get_ringparam
_igc_get_ringparam: ; @igc_get_ringparam
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _netdev_priv
Lloh0:
adrp x8, _IGC_MAX_RXD@GOTPAGE
Lloh1:
ldr x8, [x8, _IGC_MAX_RXD@GOTPAGEOFF]
Lloh2:
adrp x9, _IGC_MAX_TXD@GOTPAGE
Lloh3:
ldr x9, [x9, _IGC_MAX_TXD@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
ldr w9, [x9]
stp w9, w8, [x19, #8]
ldr d0, [x0]
str d0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _IGC_MAX_RXD,4,2 ; @IGC_MAX_RXD
.comm _IGC_MAX_TXD,4,2 ; @IGC_MAX_TXD
.no_dead_strip _igc_get_ringparam
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/intel/igc/extr_igc_ethtool.c_igc_get_ringparam.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sis_malloc ## -- Begin function sis_malloc
.p2align 4, 0x90
_sis_malloc: ## @sis_malloc
.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, %rsi
movq _sisfb_heap@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rdi
cmpq %rax, %rdi
je LBB0_2
## %bb.1:
xorps %xmm0, %xmm0
movups %xmm0, (%rsi)
popq %rbp
retq
LBB0_2:
popq %rbp
jmp _sis_int_malloc ## TAILCALL
.cfi_endproc
## -- End function
.comm _sisfb_heap,8,3 ## @sisfb_heap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sis_malloc ; -- Begin function sis_malloc
.p2align 2
_sis_malloc: ; @sis_malloc
.cfi_startproc
; %bb.0:
mov x1, x0
Lloh0:
adrp x8, _sisfb_heap@GOTPAGE
Lloh1:
ldr x8, [x8, _sisfb_heap@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x0, [x8]
cmp x0, x8
b.eq LBB0_2
; %bb.1:
stp xzr, xzr, [x1]
ret
LBB0_2:
b _sis_int_malloc
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _sisfb_heap,8,3 ; @sisfb_heap
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/sis/extr_sis_main.c_sis_malloc.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/230408.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ahc_seq_flags2_print ## -- Begin function ahc_seq_flags2_print
.p2align 4, 0x90
_ahc_seq_flags2_print: ## @ahc_seq_flags2_print
.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 %rsi, %r9
movl %edi, %r8d
movq _SEQ_FLAGS2_parse_table@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edx, (%rsp)
leaq L_.str(%rip), %rdx
movl $2, %esi
movl $87, %ecx
callq _ahc_print_register
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SEQ_FLAGS2_parse_table,4,2 ## @SEQ_FLAGS2_parse_table
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SEQ_FLAGS2"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ahc_seq_flags2_print ; -- Begin function ahc_seq_flags2_print
.p2align 2
_ahc_seq_flags2_print: ; @ahc_seq_flags2_print
.cfi_startproc
; %bb.0:
mov x6, x2
mov x5, x1
mov x4, x0
Lloh0:
adrp x8, _SEQ_FLAGS2_parse_table@GOTPAGE
Lloh1:
ldr x8, [x8, _SEQ_FLAGS2_parse_table@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
mov w1, #2
mov w3, #87
b _ahc_print_register
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SEQ_FLAGS2_parse_table,4,2 ; @SEQ_FLAGS2_parse_table
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "SEQ_FLAGS2"
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx_reg_print.c_ahc_seq_flags2_print.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rds_ib_ack_send_complete ## -- Begin function rds_ib_ack_send_complete
.p2align 4, 0x90
_rds_ib_ack_send_complete: ## @rds_ib_ack_send_complete
.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 _IB_ACK_IN_FLIGHT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %rbx, %rsi
callq _clear_bit
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _rds_ib_attempt_ack ## TAILCALL
.cfi_endproc
## -- End function
.comm _IB_ACK_IN_FLIGHT,4,2 ## @IB_ACK_IN_FLIGHT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rds_ib_ack_send_complete ; -- Begin function rds_ib_ack_send_complete
.p2align 2
_rds_ib_ack_send_complete: ; @rds_ib_ack_send_complete
.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, _IB_ACK_IN_FLIGHT@GOTPAGE
Lloh1:
ldr x8, [x8, _IB_ACK_IN_FLIGHT@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov x1, x19
bl _clear_bit
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _rds_ib_attempt_ack
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IB_ACK_IN_FLIGHT,4,2 ; @IB_ACK_IN_FLIGHT
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/rds/extr_ib_recv.c_rds_ib_ack_send_complete.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _FindFirstSets ## -- Begin function FindFirstSets
.p2align 4, 0x90
_FindFirstSets: ## @FindFirstSets
.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, %r12
movl (%rdi), %eax
testl %eax, %eax
js LBB0_8
## %bb.1:
movq _LEMON_FALSE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq 16(%r12), %rsi
leaq 1(%rax), %rdi
movl %edi, %edx
andl $7, %edx
cmpl $7, %eax
jae LBB0_3
## %bb.2:
xorl %r8d, %r8d
jmp LBB0_5
LBB0_3:
andl $-8, %edi
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%rsi,%r8,8), %r9
movq %rcx, 8(%r9)
movq 8(%rsi,%r8,8), %r9
movq %rcx, 8(%r9)
movq 16(%rsi,%r8,8), %r9
movq %rcx, 8(%r9)
movq 24(%rsi,%r8,8), %r9
movq %rcx, 8(%r9)
movq 32(%rsi,%r8,8), %r9
movq %rcx, 8(%r9)
movq 40(%rsi,%r8,8), %r9
movq %rcx, 8(%r9)
movq 48(%rsi,%r8,8), %r9
movq %rcx, 8(%r9)
movq 56(%rsi,%r8,8), %r9
movq %rcx, 8(%r9)
addq $8, %r8
cmpq %r8, %rdi
jne LBB0_4
LBB0_5:
testq %rdx, %rdx
je LBB0_8
## %bb.6:
leaq (%rsi,%r8,8), %rsi
xorl %edi, %edi
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq (%rsi,%rdi,8), %r8
movq %rcx, 8(%r8)
incq %rdi
cmpq %rdi, %rdx
jne LBB0_7
LBB0_8:
movslq 4(%r12), %rbx
cmpl %eax, %ebx
jge LBB0_10
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _SetNew
movq 16(%r12), %rcx
movq (%rcx,%rbx,8), %rcx
movl %eax, (%rcx)
incq %rbx
movslq (%r12), %rax
cmpq %rax, %rbx
jl LBB0_9
jmp LBB0_10
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_10 Depth=1
testl %r14d, %r14d
je LBB0_21
LBB0_10: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
## Child Loop BB0_14 Depth 3
movq 8(%r12), %rbx
testq %rbx, %rbx
je LBB0_21
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
xorl %r14d, %r14d
jmp LBB0_12
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_12 Depth=2
movq 24(%rbx), %rbx
testq %rbx, %rbx
je LBB0_20
LBB0_12: ## Parent Loop BB0_10 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_14 Depth 3
movq 16(%rbx), %rax
cmpq $0, (%rax)
jne LBB0_19
## %bb.13: ## in Loop: Header=BB0_12 Depth=2
movl (%rbx), %eax
xorl %r15d, %r15d
testl %eax, %eax
jg LBB0_14
LBB0_17: ## in Loop: Header=BB0_12 Depth=2
cmpl %eax, %r15d
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_12 Depth=2
movq _LEMON_TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 16(%rbx), %rcx
movq %rax, (%rcx)
movl $1, %r14d
jmp LBB0_19
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_14 Depth=3
movzbl %cl, %edi
callq _assert
incq %r15
movslq (%rbx), %rax
cmpq %rax, %r15
jge LBB0_17
LBB0_14: ## Parent Loop BB0_10 Depth=1
## Parent Loop BB0_12 Depth=2
## => This Inner Loop Header: Depth=3
movq 8(%rbx), %rax
movq (%rax,%r15,8), %rax
movq 8(%rax), %rdx
movq _NONTERMINAL@GOTPCREL(%rip), %rsi
movb $1, %cl
cmpq (%rsi), %rdx
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=3
movq (%rax), %rax
movq _LEMON_FALSE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %cl
jmp LBB0_16
LBB0_21:
movq %r12, -48(%rbp) ## 8-byte Spill
jmp LBB0_22
.p2align 4, 0x90
LBB0_38: ## in Loop: Header=BB0_22 Depth=1
testl %ebx, %ebx
movq -48(%rbp), %r12 ## 8-byte Reload
je LBB0_39
LBB0_22: ## =>This Loop Header: Depth=1
## Child Loop BB0_24 Depth 2
## Child Loop BB0_26 Depth 3
## Child Loop BB0_31 Depth 3
movq 8(%r12), %r13
testq %r13, %r13
je LBB0_39
## %bb.23: ## in Loop: Header=BB0_22 Depth=1
xorl %ebx, %ebx
jmp LBB0_24
LBB0_27: ## in Loop: Header=BB0_24 Depth=2
movl 20(%r14), %edi
movl 32(%r15), %esi
callq _SetAdd
addl %eax, %ebx
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_24 Depth=2
movq 24(%r13), %r13
testq %r13, %r13
je LBB0_38
LBB0_24: ## Parent Loop BB0_22 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_26 Depth 3
## Child Loop BB0_31 Depth 3
movl (%r13), %eax
testl %eax, %eax
jle LBB0_37
## %bb.25: ## in Loop: Header=BB0_24 Depth=2
movq 16(%r13), %r14
movq _TERMINAL@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
xorl %r12d, %r12d
jmp LBB0_26
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_26 Depth=3
movq (%r14), %rdx
movq _LEMON_FALSE@GOTPCREL(%rip), %rsi
cmpq (%rsi), %rdx
je LBB0_37
LBB0_36: ## in Loop: Header=BB0_26 Depth=3
incq %r12
movslq %eax, %rdx
cmpq %rdx, %r12
jge LBB0_37
LBB0_26: ## Parent Loop BB0_22 Depth=1
## Parent Loop BB0_24 Depth=2
## => This Inner Loop Header: Depth=3
movq 8(%r13), %rdx
movq (%rdx,%r12,8), %r15
movq 8(%r15), %rdx
cmpq %rcx, %rdx
je LBB0_27
## %bb.28: ## in Loop: Header=BB0_26 Depth=3
movq _MULTITERMINAL@GOTPCREL(%rip), %rsi
cmpq (%rsi), %rdx
je LBB0_29
## %bb.32: ## in Loop: Header=BB0_26 Depth=3
cmpq %r15, %r14
je LBB0_33
## %bb.34: ## in Loop: Header=BB0_26 Depth=3
movl 20(%r14), %edi
movl 20(%r15), %esi
callq _SetUnion
addl %eax, %ebx
movq (%r15), %rax
movq _LEMON_FALSE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_37
## %bb.35: ## in Loop: Header=BB0_26 Depth=3
movq _TERMINAL@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl (%r13), %eax
jmp LBB0_36
LBB0_29: ## in Loop: Header=BB0_24 Depth=2
cmpl $0, 16(%r15)
jle LBB0_37
## %bb.30: ## in Loop: Header=BB0_24 Depth=2
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_31: ## Parent Loop BB0_22 Depth=1
## Parent Loop BB0_24 Depth=2
## => This Inner Loop Header: Depth=3
movl 20(%r14), %edi
movq 24(%r15), %rax
movq (%rax,%r12,8), %rax
movl (%rax), %esi
callq _SetAdd
addl %eax, %ebx
incq %r12
movslq 16(%r15), %rax
cmpq %rax, %r12
jl LBB0_31
jmp LBB0_37
LBB0_39:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LEMON_FALSE,8,3 ## @LEMON_FALSE
.comm _NONTERMINAL,8,3 ## @NONTERMINAL
.comm _LEMON_TRUE,8,3 ## @LEMON_TRUE
.comm _TERMINAL,8,3 ## @TERMINAL
.comm _MULTITERMINAL,8,3 ## @MULTITERMINAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _FindFirstSets ; -- Begin function FindFirstSets
.p2align 2
_FindFirstSets: ; @FindFirstSets
.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
ldr w8, [x0]
Lloh0:
adrp x20, _LEMON_FALSE@GOTPAGE
Lloh1:
ldr x20, [x20, _LEMON_FALSE@GOTPAGEOFF]
tbnz w8, #31, LBB0_8
; %bb.1:
ldr x9, [x20]
ldr x11, [x19, #16]
add x10, x8, #1
cmp w8, #3
b.hs LBB0_3
; %bb.2:
mov x12, #0 ; =0x0
b LBB0_6
LBB0_3:
and x12, x10, #0xfffffffc
add x13, x11, #16
mov x14, x12
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldp x15, x16, [x13, #-16]
ldp x17, x0, [x13], #32
str x9, [x15, #8]
str x9, [x16, #8]
str x9, [x17, #8]
str x9, [x0, #8]
subs x14, x14, #4
b.ne LBB0_4
; %bb.5:
cmp x12, x10
b.eq LBB0_8
LBB0_6:
add x11, x11, x12, lsl #3
sub x10, x10, x12
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x12, [x11], #8
str x9, [x12, #8]
subs x10, x10, #1
b.ne LBB0_7
LBB0_8:
ldrsw x21, [x19, #4]
cmp w21, w8
b.ge LBB0_11
LBB0_9: ; =>This Inner Loop Header: Depth=1
bl _SetNew
ldr x8, [x19, #16]
ldr x8, [x8, x21, lsl #3]
str w0, [x8]
add x21, x21, #1
ldrsw x8, [x19]
cmp x21, x8
b.lt LBB0_9
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
cbz w22, LBB0_24
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_19 Depth 3
ldr x21, [x19, #8]
cbz x21, LBB0_24
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
mov w22, #0 ; =0x0
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=2
ldr x21, [x21, #24]
cbz x21, LBB0_10
LBB0_14: ; Parent Loop BB0_11 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_19 Depth 3
ldr x8, [x21, #16]
ldr x8, [x8]
cbnz x8, LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=2
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_21
; %bb.16: ; in Loop: Header=BB0_14 Depth=2
mov x23, #0 ; =0x0
b LBB0_19
LBB0_17: ; in Loop: Header=BB0_19 Depth=3
ldr x8, [x8]
ldr x9, [x20]
cmp x8, x9
cset w0, eq
LBB0_18: ; in Loop: Header=BB0_19 Depth=3
bl _assert
add x23, x23, #1
ldrsw x8, [x21]
cmp x23, x8
b.ge LBB0_22
LBB0_19: ; Parent Loop BB0_11 Depth=1
; Parent Loop BB0_14 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [x21, #8]
ldr x8, [x8, x23, lsl #3]
ldr x9, [x8, #8]
Lloh2:
adrp x10, _NONTERMINAL@GOTPAGE
Lloh3:
ldr x10, [x10, _NONTERMINAL@GOTPAGEOFF]
Lloh4:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_17
; %bb.20: ; in Loop: Header=BB0_19 Depth=3
mov w0, #1 ; =0x1
b LBB0_18
LBB0_21: ; in Loop: Header=BB0_14 Depth=2
mov w23, #0 ; =0x0
LBB0_22: ; in Loop: Header=BB0_14 Depth=2
cmp w23, w8
b.ne LBB0_13
; %bb.23: ; in Loop: Header=BB0_14 Depth=2
Lloh5:
adrp x8, _LEMON_TRUE@GOTPAGE
Lloh6:
ldr x8, [x8, _LEMON_TRUE@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
ldr x9, [x21, #16]
str x8, [x9]
mov w22, #1 ; =0x1
b LBB0_13
LBB0_24:
Lloh8:
adrp x21, _TERMINAL@GOTPAGE
Lloh9:
ldr x21, [x21, _TERMINAL@GOTPAGEOFF]
Lloh10:
adrp x22, _MULTITERMINAL@GOTPAGE
Lloh11:
ldr x22, [x22, _MULTITERMINAL@GOTPAGEOFF]
b LBB0_26
LBB0_25: ; in Loop: Header=BB0_26 Depth=1
cbz w24, LBB0_42
LBB0_26: ; =>This Loop Header: Depth=1
; Child Loop BB0_30 Depth 2
; Child Loop BB0_34 Depth 3
; Child Loop BB0_41 Depth 3
ldr x23, [x19, #8]
cbz x23, LBB0_42
; %bb.27: ; in Loop: Header=BB0_26 Depth=1
mov w24, #0 ; =0x0
b LBB0_30
LBB0_28: ; in Loop: Header=BB0_30 Depth=2
ldr w0, [x25, #20]
ldr w1, [x27, #32]
bl _SetAdd
add w24, w24, w0
LBB0_29: ; in Loop: Header=BB0_30 Depth=2
ldr x23, [x23, #24]
cbz x23, LBB0_25
LBB0_30: ; Parent Loop BB0_26 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_34 Depth 3
; Child Loop BB0_41 Depth 3
ldr w8, [x23]
cmp w8, #1
b.lt LBB0_29
; %bb.31: ; in Loop: Header=BB0_30 Depth=2
mov x26, #0 ; =0x0
ldr x25, [x23, #16]
ldr x9, [x21]
b LBB0_34
LBB0_32: ; in Loop: Header=BB0_34 Depth=3
ldr x10, [x25]
ldr x11, [x20]
cmp x10, x11
b.eq LBB0_29
LBB0_33: ; in Loop: Header=BB0_34 Depth=3
add x26, x26, #1
cmp x26, w8, sxtw
b.ge LBB0_29
LBB0_34: ; Parent Loop BB0_26 Depth=1
; Parent Loop BB0_30 Depth=2
; => This Inner Loop Header: Depth=3
ldr x10, [x23, #8]
ldr x27, [x10, x26, lsl #3]
ldr x10, [x27, #8]
cmp x10, x9
b.eq LBB0_28
; %bb.35: ; in Loop: Header=BB0_34 Depth=3
ldr x11, [x22]
cmp x10, x11
b.eq LBB0_39
; %bb.36: ; in Loop: Header=BB0_34 Depth=3
cmp x25, x27
b.eq LBB0_32
; %bb.37: ; in Loop: Header=BB0_34 Depth=3
ldr w0, [x25, #20]
ldr w1, [x27, #20]
bl _SetUnion
add w24, w24, w0
ldr x8, [x27]
ldr x9, [x20]
cmp x8, x9
b.eq LBB0_29
; %bb.38: ; in Loop: Header=BB0_34 Depth=3
ldr x9, [x21]
ldr w8, [x23]
b LBB0_33
LBB0_39: ; in Loop: Header=BB0_30 Depth=2
ldr w8, [x27, #16]
cmp w8, #1
b.lt LBB0_29
; %bb.40: ; in Loop: Header=BB0_30 Depth=2
mov x26, #0 ; =0x0
LBB0_41: ; Parent Loop BB0_26 Depth=1
; Parent Loop BB0_30 Depth=2
; => This Inner Loop Header: Depth=3
ldr w0, [x25, #20]
ldr x8, [x27, #24]
ldr x8, [x8, x26, lsl #3]
ldr w1, [x8]
bl _SetAdd
add w24, w24, w0
add x26, x26, #1
ldrsw x8, [x27, #16]
cmp x26, x8
b.lt LBB0_41
b LBB0_29
LBB0_42:
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 Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _LEMON_FALSE,8,3 ; @LEMON_FALSE
.comm _NONTERMINAL,8,3 ; @NONTERMINAL
.comm _LEMON_TRUE,8,3 ; @LEMON_TRUE
.comm _TERMINAL,8,3 ; @TERMINAL
.comm _MULTITERMINAL,8,3 ; @MULTITERMINAL
.subsections_via_symbols
| assembly_file_54941.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _process_record_user ## -- Begin function process_record_user
.p2align 4, 0x90
_process_record_user: ## @process_record_user
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %eax
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 _process_record_user ; -- Begin function process_record_user
.p2align 2
_process_record_user: ; @process_record_user
.cfi_startproc
; %bb.0:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/melody96/keymaps/default/extr_keymap.c_process_record_user.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $0, -28(%rbp)
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
leaq -28(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -28(%rbp)
jle LBB0_3
## %bb.1:
leaq L_.str.1(%rip), %r14
leaq -40(%rbp), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq $0, -40(%rbp)
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
addq -40(%rbp), %rbx
movl -28(%rbp), %eax
leal -1(%rax), %ecx
movl %ecx, -28(%rbp)
cmpl $1, %eax
jg LBB0_2
LBB0_3:
leaq L_.str.2(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%lld"
L_.str.2: ## @.str.2
.asciz "%lld\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
str wzr, [sp, #28]
add x8, sp, #28
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #28]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x20, #0
add x21, sp, #16
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str xzr, [sp, #16]
str x21, [sp]
mov x0, x19
bl _scanf
ldr x8, [sp, #16]
add x20, x8, x20
ldr w8, [sp, #28]
subs w8, w8, #1
str w8, [sp, #28]
b.gt LBB0_2
b LBB0_4
LBB0_3:
mov x20, #0
LBB0_4:
str x20, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%lld"
l_.str.2: ; @.str.2
.asciz "%lld\n"
.subsections_via_symbols
| the_stack_data/175142939.c | stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.