x86 stringlengths 122 9.39M | arm stringlengths 122 9.33M | file stringlengths 19 200 | source stringclasses 2
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PageGetFreeSpaceForMultipleTuples ## -- Begin function PageGetFreeSpaceForMultipleTuples
.p2align 4, 0x90
_PageGetFreeSpaceForMultipleTuples: ## @PageGetFreeSpaceForMultipleTuples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 8(%rdi), %eax
subl (%rdi), %eax
shll $2, %esi
xorl %ecx, %ecx
subl %esi, %eax
cmovll %ecx, %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 _PageGetFreeSpaceForMultipleTuples ; -- Begin function PageGetFreeSpaceForMultipleTuples
.p2align 2
_PageGetFreeSpaceForMultipleTuples: ; @PageGetFreeSpaceForMultipleTuples
.cfi_startproc
; %bb.0:
ldr w8, [x0, #8]
ldr w9, [x0]
lsl w10, w1, #2
sub w8, w8, w9
subs w8, w8, w10
csel w0, wzr, w8, lt
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/postgres/src/backend/storage/page/extr_bufpage.c_PageGetFreeSpaceForMultipleTuples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _css_task_iter_end ## -- Begin function css_task_iter_end
.p2align 4, 0x90
_css_task_iter_end: ## @css_task_iter_end
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
cmpq $0, 16(%rdi)
je LBB0_2
## %bb.1:
movq _css_set_lock@GOTPCREL(%rip), %r14
movq %r14, %rdi
callq _spin_lock_irq
leaq 24(%rbx), %rdi
callq _list_del
movq 16(%rbx), %rdi
callq _put_css_set_locked
movq %r14, %rdi
callq _spin_unlock_irq
LBB0_2:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.3:
callq _put_css_set
LBB0_4:
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_5
## %bb.6:
popq %rbx
popq %r14
popq %rbp
jmp _put_task_struct ## TAILCALL
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _css_set_lock,4,2 ## @css_set_lock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _css_task_iter_end ; -- Begin function css_task_iter_end
.p2align 2
_css_task_iter_end: ; @css_task_iter_end
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0, #16]
cbz x8, LBB0_2
; %bb.1:
Lloh0:
adrp x20, _css_set_lock@GOTPAGE
Lloh1:
ldr x20, [x20, _css_set_lock@GOTPAGEOFF]
mov x0, x20
bl _spin_lock_irq
add x0, x19, #24
bl _list_del
ldr x0, [x19, #16]
bl _put_css_set_locked
mov x0, x20
bl _spin_unlock_irq
LBB0_2:
ldr x0, [x19, #8]
cbz x0, LBB0_4
; %bb.3:
bl _put_css_set
LBB0_4:
ldr x0, [x19]
cbz x0, LBB0_6
; %bb.5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _put_task_struct
LBB0_6:
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 _css_set_lock,4,2 ; @css_set_lock
.subsections_via_symbols
| AnghaBench/linux/kernel/cgroup/extr_cgroup.c_css_task_iter_end.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _h2o_url_normalize_path ## -- Begin function h2o_url_normalize_path
.p2align 4, 0x90
_h2o_url_normalize_path: ## @h2o_url_normalize_path
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _SIZE_MAX@GOTPCREL(%rip), %r13
movq (%r13), %rax
movq %rax, (%rcx)
movq $0, (%r8)
testq %rdx, %rdx
je LBB0_19
## %bb.1:
movq %rdx, %r15
movq %rsi, %r14
cmpb $47, (%rsi)
jne LBB0_12
## %bb.2:
leaq (%r14,%r15), %rax
movq %r14, %rbx
cmpq $2, %r15
jl LBB0_11
## %bb.3:
leaq 1(%r14), %rbx
movb $47, %dl
cmpb $47, %dl
je LBB0_6
.p2align 4, 0x90
LBB0_4:
cmpb $37, %dl
je LBB0_12
## %bb.5:
cmpb $63, %dl
jne LBB0_7
jmp LBB0_20
.p2align 4, 0x90
LBB0_6:
cmpb $46, (%rbx)
je LBB0_12
LBB0_7:
leaq 1(%rbx), %rsi
cmpq %rax, %rsi
jae LBB0_11
## %bb.8:
movb (%rbx), %dl
movq %rsi, %rbx
cmpb $47, %dl
jne LBB0_4
jmp LBB0_6
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_11 Depth=1
cmpb $63, (%rbx)
je LBB0_21
## %bb.10: ## in Loop: Header=BB0_11 Depth=1
incq %rbx
LBB0_11: ## =>This Inner Loop Header: Depth=1
cmpq %rax, %rbx
jb LBB0_9
jmp LBB0_22
LBB0_12:
movq %r14, %rsi
movq %r15, %rdx
callq _rebuild_path
movq %rax, %r12
movl %edx, %ebx
testl %edx, %edx
je LBB0_18
## %bb.13:
cmpb $47, (%r12)
jne LBB0_18
## %bb.14:
leaq L_.str.1(%rip), %rdi
callq _H2O_STRLIT
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _h2o_strstr
cmpq (%r13), %rax
jne LBB0_18
## %bb.15:
cmpl $3, %ebx
jl LBB0_24
## %bb.16:
movl %ebx, %eax
leaq (%r12,%rax), %rdi
addq $-3, %rdi
leaq L_.str.2(%rip), %rsi
movl $3, %edx
callq _memcmp
testq %rax, %rax
je LBB0_18
LBB0_24:
movq %r12, %r14
jmp LBB0_23
LBB0_18:
leaq L_.str.3(%rip), %rdi
movl %r15d, %esi
movq %r14, %rdx
movl %ebx, %ecx
movq %r12, %r8
callq _h2o_error_printf
LBB0_19:
leaq L_.str(%rip), %rdi
movl $1, %esi
callq _h2o_iovec_init
movq %rax, %r14
movl %edx, %ebx
jmp LBB0_23
LBB0_20:
decq %rbx
LBB0_21:
movq %rbx, %rax
subq %r14, %rax
movq %rax, (%rcx)
LBB0_22:
subl %r14d, %ebx
LBB0_23:
movq %r14, %rax
movl %ebx, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SIZE_MAX,8,3 ## @SIZE_MAX
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/"
L_.str.1: ## @.str.1
.asciz "/../"
L_.str.2: ## @.str.2
.asciz "/.."
L_.str.3: ## @.str.3
.asciz "failed to normalize path: `%.*s` => `%.*s`\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _h2o_url_normalize_path ; -- Begin function h2o_url_normalize_path
.p2align 2
_h2o_url_normalize_path: ; @h2o_url_normalize_path
.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
str xzr, [x4]
Lloh0:
adrp x23, _SIZE_MAX@GOTPAGE
Lloh1:
ldr x23, [x23, _SIZE_MAX@GOTPAGEOFF]
ldr x8, [x23]
str x8, [x3]
cbz x2, LBB0_16
; %bb.1:
mov x20, x2
mov x19, x1
ldrb w8, [x1]
cmp w8, #47
b.ne LBB0_10
; %bb.2:
add x9, x19, x20
mov x8, x19
cmp x20, #2
b.lt LBB0_18
; %bb.3:
mov x10, #0
mov w11, #47
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x8, x19, x10
and w11, w11, #0xff
cmp w11, #47
b.eq LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w11, #37
b.eq LBB0_10
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cmp w11, #63
b.ne LBB0_8
b LBB0_24
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldrb w11, [x8, #1]
cmp w11, #46
b.eq LBB0_10
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
add x11, x19, x10
add x12, x11, #2
cmp x12, x9
b.hs LBB0_17
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldrb w11, [x8, #1]
add x10, x10, #1
b LBB0_4
LBB0_10:
mov x1, x19
mov x2, x20
bl _rebuild_path
mov x21, x0
mov x22, x1
cbz w22, LBB0_15
; %bb.11:
ldrb w8, [x21]
cmp w8, #47
b.ne LBB0_15
; %bb.12:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _H2O_STRLIT
mov x2, x0
mov x0, x21
mov x1, x22
bl _h2o_strstr
ldr x8, [x23]
cmp x0, x8
b.ne LBB0_15
; %bb.13:
and x23, x22, #0xffffffff00000000
cmp w22, #3
b.lt LBB0_26
; %bb.14:
add x8, x21, w22, sxtw
sub x0, x8, #3
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov w2, #3
bl _memcmp
cbnz x0, LBB0_26
LBB0_15:
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
mov x1, x20
mov x2, x19
mov x3, x22
mov x4, x21
bl _h2o_error_printf
LBB0_16:
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
mov w1, #1
bl _h2o_iovec_init
mov x21, x0
mov x22, x1
and x23, x1, #0xffffffff00000000
b LBB0_26
LBB0_17:
add x8, x11, #1
LBB0_18:
cmp x8, x9
b.hs LBB0_25
; %bb.19:
add x9, x19, x20
sub x9, x9, x8
add x9, x8, x9
neg x10, x8
neg x11, x19
sub x12, x20, x8
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldrb w13, [x8]
cmp w13, #63
b.eq LBB0_23
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
add x8, x8, #1
sub x10, x10, #1
sub x12, x12, #1
cmp x11, x12
b.ne LBB0_20
; %bb.22:
mov x8, x9
b LBB0_25
LBB0_23:
neg x8, x10
add x9, x19, x10
neg x9, x9
str x9, [x3]
b LBB0_25
LBB0_24:
add x8, x19, x10
str x10, [x3]
LBB0_25:
mov x23, #0
sub x22, x8, x19
mov x21, x19
LBB0_26:
and x8, x22, #0xffffffff
orr x1, x23, x8
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _SIZE_MAX,8,3 ; @SIZE_MAX
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/"
l_.str.1: ; @.str.1
.asciz "/../"
l_.str.2: ; @.str.2
.asciz "/.."
l_.str.3: ; @.str.3
.asciz "failed to normalize path: `%.*s` => `%.*s`\n"
.subsections_via_symbols
| AnghaBench/h2o/t/00unit/lib/common/extr_........libcommonurl.c_h2o_url_normalize_path.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function parse_element_magic
_parse_element_magic: ## @parse_element_magic
.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, %rbx
cmpb $58, (%rcx)
jne LBB0_4
## %bb.1:
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
xorl %eax, %eax
callq _get_literal_global
testq %rax, %rax
je LBB0_2
LBB0_4:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
cmpb $40, 1(%rbx)
jne LBB0_3
## %bb.5:
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _parse_long_magic ## TAILCALL
LBB0_3:
movq %r12, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _parse_short_magic ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _parse_element_magic
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function parse_element_magic
_parse_element_magic: ; @parse_element_magic
.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
ldrb w8, [x3]
cmp w8, #58
b.ne LBB0_2
; %bb.1:
mov x20, x2
mov x21, x1
mov x22, x0
bl _get_literal_global
cbz x0, LBB0_3
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_3:
ldrb w8, [x19, #1]
mov x0, x22
cmp w8, #40
b.ne LBB0_5
; %bb.4:
mov x1, x21
mov x2, x20
mov x3, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _parse_long_magic
LBB0_5:
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _parse_short_magic
.cfi_endproc
; -- End function
.no_dead_strip _parse_element_magic
.subsections_via_symbols
| AnghaBench/git/extr_pathspec.c_parse_element_magic.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wil_rx_status_get_seq
_wil_rx_status_get_seq: ## @wil_rx_status_get_seq
.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
cmpq $0, (%rdi)
je LBB0_1
## %bb.2:
popq %rbp
retq
LBB0_1:
movl (%rsi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _wil_rx_status_get_seq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wil_rx_status_get_seq
_wil_rx_status_get_seq: ; @wil_rx_status_get_seq
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cbz x8, LBB0_2
; %bb.1:
mov w0, #0
ret
LBB0_2:
ldr w0, [x1]
ret
.cfi_endproc
; -- End function
.no_dead_strip _wil_rx_status_get_seq
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_txrx_edma.h_wil_rx_status_get_seq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strsep ## -- Begin function strsep
.p2align 4, 0x90
_strsep: ## @strsep
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq (%rdi), %rbx
testq %rbx, %rbx
je LBB0_5
## %bb.1:
movq %rdi, %r14
movq %rbx, %rdi
callq _strpbrk
testq %rax, %rax
je LBB0_2
## %bb.3:
movq %rax, %rcx
incq %rcx
movb $0, (%rax)
jmp LBB0_4
LBB0_2:
xorl %ecx, %ecx
LBB0_4:
movq %rcx, (%r14)
LBB0_5:
movq %rbx, %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 _strsep ; -- Begin function strsep
.p2align 2
_strsep: ; @strsep
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x19, [x0]
cbz x19, LBB0_4
; %bb.1:
mov x20, x0
mov x0, x19
bl _strpbrk
cbz x0, LBB0_3
; %bb.2:
strb wzr, [x0], #1
LBB0_3:
str x0, [x20]
LBB0_4:
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
| AnghaBench/fastsocket/kernel/lib/extr_string.c_strsep.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function ex0
LCPI0_0:
.quad 0xc000000000000000 ## double -2
LCPI0_1:
.quad 0xc039000000000000 ## double -25
LCPI0_2:
.quad 0xbff0000000000000 ## double -1
LCPI0_3:
.quad 0xc010000000000000 ## double -4
.section __TEXT,__text,regular,pure_instructions
.globl _ex0
.p2align 4, 0x90
_ex0: ## @ex0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd LCPI0_0(%rip), %xmm6 ## xmm6 = mem[0],zero
addsd %xmm6, %xmm0
mulsd %xmm0, %xmm0
addsd %xmm6, %xmm1
mulsd LCPI0_1(%rip), %xmm0
mulsd %xmm1, %xmm1
subsd %xmm1, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm2
mulsd %xmm2, %xmm2
subsd %xmm2, %xmm0
movsd LCPI0_3(%rip), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm2, %xmm3
mulsd %xmm3, %xmm3
subsd %xmm3, %xmm0
addsd %xmm1, %xmm4
mulsd %xmm4, %xmm4
subsd %xmm4, %xmm0
addsd %xmm2, %xmm5
mulsd %xmm5, %xmm5
subsd %xmm5, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0xc000000000000000 ## double -2
LCPI1_1:
.quad 0xc039000000000000 ## double -25
LCPI1_2:
.quad 0x3ff0000000000000 ## double 1
LCPI1_3:
.quad 0xbff0000000000000 ## double -1
LCPI1_4:
.quad 0xc010000000000000 ## double -4
LCPI1_5:
.quad 0x3fd3333333333333 ## double 0.29999999999999999
LCPI1_6:
.quad 0x4024051eb851eb85 ## double 10.01
LCPI1_7:
.quad 0x40180a3d70a3d70a ## double 6.0099999999999998
LCPI1_8:
.quad 0x40140a3d70a3d70a ## double 5.0099999999999998
.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
subq $96, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, %rbx
xorpd %xmm0, %xmm0
movsd LCPI1_4(%rip), %xmm2 ## xmm2 = mem[0],zero
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_2 Depth 2
## Child Loop BB1_3 Depth 3
## Child Loop BB1_4 Depth 4
## Child Loop BB1_5 Depth 5
## Child Loop BB1_6 Depth 6
movsd %xmm0, -32(%rbp) ## 8-byte Spill
addsd LCPI1_0(%rip), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, -40(%rbp) ## 8-byte Spill
xorpd %xmm3, %xmm3
.p2align 4, 0x90
LBB1_2: ## Parent Loop BB1_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_3 Depth 3
## Child Loop BB1_4 Depth 4
## Child Loop BB1_5 Depth 5
## Child Loop BB1_6 Depth 6
movsd %xmm3, -48(%rbp) ## 8-byte Spill
movapd %xmm3, %xmm0
addsd LCPI1_0(%rip), %xmm0
mulsd %xmm0, %xmm0
movsd -40(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd LCPI1_1(%rip), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, -56(%rbp) ## 8-byte Spill
movsd LCPI1_2(%rip), %xmm3 ## xmm3 = mem[0],zero
.p2align 4, 0x90
LBB1_3: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_2 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB1_4 Depth 4
## Child Loop BB1_5 Depth 5
## Child Loop BB1_6 Depth 6
movsd %xmm3, -64(%rbp) ## 8-byte Spill
movapd %xmm3, %xmm0
addsd LCPI1_3(%rip), %xmm0
mulsd %xmm0, %xmm0
movsd -56(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
subsd %xmm0, %xmm1
movsd %xmm1, -72(%rbp) ## 8-byte Spill
xorpd %xmm3, %xmm3
.p2align 4, 0x90
LBB1_4: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_2 Depth=2
## Parent Loop BB1_3 Depth=3
## => This Loop Header: Depth=4
## Child Loop BB1_5 Depth 5
## Child Loop BB1_6 Depth 6
movsd %xmm3, -80(%rbp) ## 8-byte Spill
movapd %xmm3, %xmm0
addsd %xmm2, %xmm0
mulsd %xmm0, %xmm0
movsd -72(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
subsd %xmm0, %xmm1
movsd %xmm1, -88(%rbp) ## 8-byte Spill
xorpd %xmm3, %xmm3
.p2align 4, 0x90
LBB1_5: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_2 Depth=2
## Parent Loop BB1_3 Depth=3
## Parent Loop BB1_4 Depth=4
## => This Loop Header: Depth=5
## Child Loop BB1_6 Depth 6
movsd %xmm3, -96(%rbp) ## 8-byte Spill
movapd %xmm3, %xmm0
addsd LCPI1_3(%rip), %xmm0
mulsd %xmm0, %xmm0
movsd -88(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
subsd %xmm0, %xmm1
movsd %xmm1, -104(%rbp) ## 8-byte Spill
xorpd %xmm0, %xmm0
.p2align 4, 0x90
LBB1_6: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_2 Depth=2
## Parent Loop BB1_3 Depth=3
## Parent Loop BB1_4 Depth=4
## Parent Loop BB1_5 Depth=5
## => This Inner Loop Header: Depth=6
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movapd %xmm0, %xmm1
addsd %xmm2, %xmm1
mulsd %xmm1, %xmm1
movsd -104(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
subsd %xmm1, %xmm0
movq %rbx, %rdi
movq %r14, %rsi
movb $1, %al
callq _fprintf
movsd LCPI1_6(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI1_5(%rip), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI1_4(%rip), %xmm2 ## xmm2 = mem[0],zero
movsd -24(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
addsd %xmm1, %xmm3
movsd %xmm3, -24(%rbp) ## 8-byte Spill
ucomisd -24(%rbp), %xmm0 ## 8-byte Folded Reload
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
jae LBB1_6
## %bb.7: ## in Loop: Header=BB1_5 Depth=5
movsd -96(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
addsd %xmm1, %xmm3
movsd LCPI1_7(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm3, %xmm0
jae LBB1_5
## %bb.8: ## in Loop: Header=BB1_4 Depth=4
movsd -80(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
addsd %xmm1, %xmm3
movsd LCPI1_7(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm3, %xmm0
jae LBB1_4
## %bb.9: ## in Loop: Header=BB1_3 Depth=3
movsd -64(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
addsd %xmm1, %xmm3
movsd LCPI1_8(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm3, %xmm0
jae LBB1_3
## %bb.10: ## in Loop: Header=BB1_2 Depth=2
movsd -48(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
addsd %xmm1, %xmm3
movsd LCPI1_7(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm3, %xmm0
jae LBB1_2
## %bb.11: ## in Loop: Header=BB1_1 Depth=1
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd LCPI1_7(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jae LBB1_1
## %bb.12:
movq %rbx, %rdi
callq _fclose
xorl %eax, %eax
addq $96, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "floudas1_posit.txt"
L_.str.1: ## @.str.1
.asciz "w+"
L_.str.2: ## @.str.2
.asciz "%.20g\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ex0 ; -- Begin function ex0
.p2align 2
_ex0: ; @ex0
.cfi_startproc
; %bb.0:
fmov d6, #-2.00000000
fadd d0, d0, d6
fmul d0, d0, d0
fadd d1, d1, d6
fneg d6, d1
fmul d1, d1, d6
fmov d6, #-25.00000000
fmadd d0, d0, d6, d1
fmov d1, #-1.00000000
fadd d2, d2, d1
fmsub d0, d2, d2, d0
fmov d2, #-4.00000000
fadd d3, d3, d2
fmsub d0, d3, d3, d0
fadd d1, d4, d1
fmsub d0, d1, d1, d0
fadd d1, d5, d2
fmsub d0, d1, d1, d0
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp d15, d14, [sp, #48] ; 16-byte Folded Spill
stp d13, d12, [sp, #64] ; 16-byte Folded Spill
stp d11, d10, [sp, #80] ; 16-byte Folded Spill
stp d9, d8, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset b8, -72
.cfi_offset b9, -80
.cfi_offset b10, -88
.cfi_offset b11, -96
.cfi_offset b12, -104
.cfi_offset b13, -112
.cfi_offset b14, -120
.cfi_offset b15, -128
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x19, x0
movi d1, #0000000000000000
Lloh4:
adrp x20, l_.str.2@PAGE
Lloh5:
add x20, x20, l_.str.2@PAGEOFF
fmov d11, #-1.00000000
mov x21, #3689348814741910323
movk x21, #16339, lsl #48
fmov d12, #-4.00000000
mov x22, #60293
movk x22, #47185, lsl #16
movk x22, #1310, lsl #32
movk x22, #16420, lsl #48
mov x23, #55050
movk x23, #28835, lsl #16
movk x23, #2621, lsl #32
movk x23, #16408, lsl #48
mov x24, #55050
movk x24, #28835, lsl #16
movk x24, #2621, lsl #32
movk x24, #16404, lsl #48
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_2 Depth 2
; Child Loop BB1_3 Depth 3
; Child Loop BB1_4 Depth 4
; Child Loop BB1_5 Depth 5
; Child Loop BB1_6 Depth 6
fmov d0, #-2.00000000
fadd d0, d1, d0
fmul d0, d0, d0
stp d1, d0, [sp, #8] ; 16-byte Folded Spill
movi d1, #0000000000000000
LBB1_2: ; Parent Loop BB1_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_3 Depth 3
; Child Loop BB1_4 Depth 4
; Child Loop BB1_5 Depth 5
; Child Loop BB1_6 Depth 6
fmov d0, #-2.00000000
str d1, [sp, #24] ; 8-byte Folded Spill
fadd d0, d1, d0
fneg d1, d0
fmul d0, d0, d1
fmov d1, #-25.00000000
ldr d2, [sp, #16] ; 8-byte Folded Reload
fmadd d0, d2, d1, d0
str d0, [sp, #32] ; 8-byte Folded Spill
fmov d1, #1.00000000
LBB1_3: ; Parent Loop BB1_1 Depth=1
; Parent Loop BB1_2 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB1_4 Depth 4
; Child Loop BB1_5 Depth 5
; Child Loop BB1_6 Depth 6
str d1, [sp, #40] ; 8-byte Folded Spill
fadd d0, d1, d11
ldr d1, [sp, #32] ; 8-byte Folded Reload
fmsub d10, d0, d0, d1
movi d9, #0000000000000000
LBB1_4: ; Parent Loop BB1_1 Depth=1
; Parent Loop BB1_2 Depth=2
; Parent Loop BB1_3 Depth=3
; => This Loop Header: Depth=4
; Child Loop BB1_5 Depth 5
; Child Loop BB1_6 Depth 6
fadd d0, d9, d12
fmsub d13, d0, d0, d10
movi d14, #0000000000000000
LBB1_5: ; Parent Loop BB1_1 Depth=1
; Parent Loop BB1_2 Depth=2
; Parent Loop BB1_3 Depth=3
; Parent Loop BB1_4 Depth=4
; => This Loop Header: Depth=5
; Child Loop BB1_6 Depth 6
fadd d0, d14, d11
fmsub d15, d0, d0, d13
movi d8, #0000000000000000
LBB1_6: ; Parent Loop BB1_1 Depth=1
; Parent Loop BB1_2 Depth=2
; Parent Loop BB1_3 Depth=3
; Parent Loop BB1_4 Depth=4
; Parent Loop BB1_5 Depth=5
; => This Inner Loop Header: Depth=6
fadd d0, d8, d12
fmsub d0, d0, d0, d15
str d0, [sp]
mov x0, x19
mov x1, x20
bl _fprintf
fmov d0, x21
fadd d8, d8, d0
fmov d0, x22
fcmp d8, d0
b.ls LBB1_6
; %bb.7: ; in Loop: Header=BB1_5 Depth=5
fmov d0, x21
fadd d14, d14, d0
fmov d0, x23
fcmp d14, d0
b.ls LBB1_5
; %bb.8: ; in Loop: Header=BB1_4 Depth=4
fmov d0, x21
fadd d9, d9, d0
fmov d0, x23
fcmp d9, d0
b.ls LBB1_4
; %bb.9: ; in Loop: Header=BB1_3 Depth=3
fmov d0, x21
ldr d1, [sp, #40] ; 8-byte Folded Reload
fadd d1, d1, d0
fmov d0, x24
fcmp d1, d0
b.ls LBB1_3
; %bb.10: ; in Loop: Header=BB1_2 Depth=2
fmov d0, x21
ldr d1, [sp, #24] ; 8-byte Folded Reload
fadd d1, d1, d0
fmov d0, x23
fcmp d1, d0
b.ls LBB1_2
; %bb.11: ; in Loop: Header=BB1_1 Depth=1
fmov d0, x21
ldr d1, [sp, #8] ; 8-byte Folded Reload
fadd d1, d1, d0
fmov d0, x23
fcmp d1, d0
b.ls LBB1_1
; %bb.12:
mov x0, x19
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp d9, d8, [sp, #96] ; 16-byte Folded Reload
ldp d11, d10, [sp, #80] ; 16-byte Folded Reload
ldp d13, d12, [sp, #64] ; 16-byte Folded Reload
ldp d15, d14, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #176
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 "floudas1_posit.txt"
l_.str.1: ; @.str.1
.asciz "w+"
l_.str.2: ; @.str.2
.asciz "%.20g\n"
.subsections_via_symbols
| the_stack_data/154007.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function fz_gridfit_matrix
LCPI0_0:
.long 0x3f000000 ## float 0.5
LCPI0_1:
.long 0x3f800000 ## float 1
LCPI0_2:
.long 0xbf800000 ## float -1
.section __TEXT,__text,regular,pure_instructions
.globl _fz_gridfit_matrix
.p2align 4, 0x90
_fz_gridfit_matrix: ## @fz_gridfit_matrix
.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, %r12d
movq %rdi, %r14
leaq 16(%rbp), %r15
movss 16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps %xmm0, -48(%rbp) ## 16-byte Spill
callq _fabsf
movq _FLT_EPSILON@GOTPCREL(%rip), %rbx
cmpq (%rbx), %rax
jge LBB0_12
## %bb.1:
movss 4(%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _fabsf
cmpq (%rbx), %rax
jge LBB0_12
## %bb.2:
testl %r12d, %r12d
je LBB0_3
## %bb.26:
movss 8(%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss 16(%r15), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movaps %xmm0, %xmm3
addss %xmm2, %xmm3
cvttps2dq %xmm3, %xmm3
cvtdq2ps %xmm3, %xmm3
subss %xmm3, %xmm0
addss 12(%r15), %xmm0
addss %xmm2, %xmm0
cvttps2dq %xmm0, %xmm0
cvtdq2ps %xmm0, %xmm0
unpcklps %xmm0, %xmm3 ## xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
movaps %xmm1, %xmm0
addss %xmm2, %xmm0
cvttps2dq %xmm0, %xmm0
cvtdq2ps %xmm0, %xmm0
movlhps %xmm0, %xmm3 ## xmm3 = xmm3[0],xmm0[0]
subss %xmm0, %xmm1
addss 20(%r15), %xmm1
addss %xmm2, %xmm1
cvttps2dq %xmm1, %xmm0
cvtdq2ps %xmm0, %xmm0
insertps $48, %xmm0, %xmm3 ## xmm3 = xmm3[0,1,2],xmm0[0]
movups %xmm3, 8(%r15)
jmp LBB0_25
LBB0_12:
movss 12(%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _fabsf
cmpq (%rbx), %rax
jge LBB0_25
## %bb.13:
movss 20(%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _fabsf
cmpq (%rbx), %rax
jge LBB0_25
## %bb.14:
testl %r12d, %r12d
je LBB0_15
## %bb.27:
movss 8(%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss 16(%r15), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movaps %xmm0, %xmm3
addss %xmm2, %xmm3
cvttps2dq %xmm3, %xmm3
cvtdq2ps %xmm3, %xmm3
subss %xmm3, %xmm0
movaps -48(%rbp), %xmm4 ## 16-byte Reload
addss %xmm0, %xmm4
movss %xmm3, 8(%r15)
addss %xmm2, %xmm4
cvttps2dq %xmm4, %xmm0
cvtdq2ps %xmm0, %xmm0
movss %xmm0, (%r15)
movaps %xmm1, %xmm0
addss %xmm2, %xmm0
cvttps2dq %xmm0, %xmm0
cvtdq2ps %xmm0, %xmm0
subss %xmm0, %xmm1
addss 4(%r15), %xmm1
movss %xmm0, 16(%r15)
addss %xmm2, %xmm1
cvttps2dq %xmm1, %xmm0
cvtdq2ps %xmm0, %xmm0
movss %xmm0, 4(%r15)
jmp LBB0_25
LBB0_3:
movss 12(%r15), %xmm1 ## xmm1 = mem[0],zero,zero,zero
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm1
jbe LBB0_5
## %bb.4:
movss 8(%r15), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvttps2dq %xmm2, %xmm0
cvtdq2ps %xmm0, %xmm3
movaps %xmm3, %xmm4
subss %xmm2, %xmm4
movq _MY_EPSILON@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_2(%rip), %xmm5 ## xmm5 = mem[0],zero,zero,zero
addss %xmm3, %xmm5
movaps %xmm0, %xmm6
cmpltss %xmm4, %xmm6
andps %xmm6, %xmm5
andnps %xmm3, %xmm6
orps %xmm5, %xmm6
subss %xmm6, %xmm2
addss %xmm2, %xmm1
movss %xmm6, 8(%r15)
cvttps2dq %xmm1, %xmm2
cvtdq2ps %xmm2, %xmm2
subss %xmm2, %xmm1
movss LCPI0_1(%rip), %xmm3 ## xmm3 = mem[0],zero,zero,zero
addss %xmm2, %xmm3
cmpltss %xmm1, %xmm0
andps %xmm0, %xmm3
andnps %xmm2, %xmm0
orps %xmm3, %xmm0
jmp LBB0_7
LBB0_15:
xorps %xmm0, %xmm0
movaps -48(%rbp), %xmm6 ## 16-byte Reload
ucomiss %xmm0, %xmm6
jbe LBB0_17
## %bb.16:
movss 16(%r15), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvttps2dq %xmm1, %xmm0
cvtdq2ps %xmm0, %xmm2
movaps %xmm2, %xmm3
subss %xmm1, %xmm3
movq _MY_EPSILON@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_2(%rip), %xmm4 ## xmm4 = mem[0],zero,zero,zero
addss %xmm2, %xmm4
movaps %xmm0, %xmm5
cmpltss %xmm3, %xmm5
andps %xmm5, %xmm4
andnps %xmm2, %xmm5
orps %xmm4, %xmm5
subss %xmm5, %xmm1
addss %xmm1, %xmm6
movss %xmm5, 16(%r15)
cvttps2dq %xmm6, %xmm1
cvtdq2ps %xmm1, %xmm1
subss %xmm1, %xmm6
movss LCPI0_1(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
addss %xmm1, %xmm2
cmpltss %xmm6, %xmm0
andps %xmm0, %xmm2
andnps %xmm1, %xmm0
orps %xmm2, %xmm0
jmp LBB0_19
LBB0_5:
ucomiss %xmm1, %xmm0
jbe LBB0_8
## %bb.6:
movss 8(%r15), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvttps2dq %xmm2, %xmm0
cvtdq2ps %xmm0, %xmm3
movaps %xmm2, %xmm4
subss %xmm3, %xmm4
movq _MY_EPSILON@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_1(%rip), %xmm5 ## xmm5 = mem[0],zero,zero,zero
addss %xmm3, %xmm5
movaps %xmm0, %xmm6
cmpltss %xmm4, %xmm6
andps %xmm6, %xmm5
andnps %xmm3, %xmm6
orps %xmm5, %xmm6
subss %xmm6, %xmm2
addss %xmm2, %xmm1
movss %xmm6, 8(%r15)
cvttps2dq %xmm1, %xmm2
cvtdq2ps %xmm2, %xmm2
movaps %xmm2, %xmm3
subss %xmm1, %xmm3
movss LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss %xmm2, %xmm1
cmpltss %xmm3, %xmm0
andps %xmm0, %xmm1
andnps %xmm2, %xmm0
orps %xmm1, %xmm0
LBB0_7:
movss %xmm0, 12(%r15)
LBB0_8:
movss 20(%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe LBB0_10
## %bb.9:
movss 16(%r15), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvttps2dq %xmm2, %xmm1
cvtdq2ps %xmm1, %xmm3
movaps %xmm3, %xmm4
subss %xmm2, %xmm4
movq _MY_EPSILON@GOTPCREL(%rip), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss LCPI0_2(%rip), %xmm5 ## xmm5 = mem[0],zero,zero,zero
addss %xmm3, %xmm5
movaps %xmm1, %xmm6
cmpltss %xmm4, %xmm6
andps %xmm6, %xmm5
andnps %xmm3, %xmm6
orps %xmm5, %xmm6
subss %xmm6, %xmm2
addss %xmm2, %xmm0
movss %xmm6, 16(%r15)
cvttps2dq %xmm0, %xmm2
cvtdq2ps %xmm2, %xmm2
subss %xmm2, %xmm0
movss LCPI0_1(%rip), %xmm3 ## xmm3 = mem[0],zero,zero,zero
addss %xmm2, %xmm3
cmpltss %xmm0, %xmm1
andps %xmm1, %xmm3
andnps %xmm2, %xmm1
orps %xmm3, %xmm1
movss %xmm1, 20(%r15)
jmp LBB0_25
LBB0_10:
ucomiss %xmm0, %xmm1
jbe LBB0_25
## %bb.11:
movss 16(%r15), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvttps2dq %xmm2, %xmm1
cvtdq2ps %xmm1, %xmm3
movaps %xmm2, %xmm4
subss %xmm3, %xmm4
movq _MY_EPSILON@GOTPCREL(%rip), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss LCPI0_1(%rip), %xmm5 ## xmm5 = mem[0],zero,zero,zero
addss %xmm3, %xmm5
movaps %xmm1, %xmm6
cmpltss %xmm4, %xmm6
andps %xmm6, %xmm5
andnps %xmm3, %xmm6
orps %xmm5, %xmm6
subss %xmm6, %xmm2
addss %xmm2, %xmm0
movss %xmm6, 16(%r15)
cvttps2dq %xmm0, %xmm2
cvtdq2ps %xmm2, %xmm2
movaps %xmm2, %xmm3
subss %xmm0, %xmm3
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss %xmm2, %xmm0
cmpltss %xmm3, %xmm1
andps %xmm1, %xmm0
andnps %xmm2, %xmm1
orps %xmm0, %xmm1
movss %xmm1, 20(%r15)
jmp LBB0_25
LBB0_17:
ucomiss %xmm6, %xmm0
jbe LBB0_20
## %bb.18:
movss 16(%r15), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvttps2dq %xmm1, %xmm0
cvtdq2ps %xmm0, %xmm2
movaps %xmm1, %xmm3
subss %xmm2, %xmm3
movq _MY_EPSILON@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_1(%rip), %xmm4 ## xmm4 = mem[0],zero,zero,zero
addss %xmm2, %xmm4
movaps %xmm0, %xmm5
cmpltss %xmm3, %xmm5
andps %xmm5, %xmm4
andnps %xmm2, %xmm5
orps %xmm4, %xmm5
subss %xmm5, %xmm1
addss %xmm1, %xmm6
movss %xmm5, 16(%r15)
cvttps2dq %xmm6, %xmm1
cvtdq2ps %xmm1, %xmm1
movaps %xmm1, %xmm2
subss %xmm6, %xmm2
movss LCPI0_2(%rip), %xmm3 ## xmm3 = mem[0],zero,zero,zero
addss %xmm1, %xmm3
cmpltss %xmm2, %xmm0
andps %xmm0, %xmm3
andnps %xmm1, %xmm0
orps %xmm3, %xmm0
LBB0_19:
movss %xmm0, (%r15)
LBB0_20:
movss 4(%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe LBB0_22
## %bb.21:
movss 8(%r15), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvttps2dq %xmm2, %xmm1
cvtdq2ps %xmm1, %xmm3
movaps %xmm3, %xmm4
subss %xmm2, %xmm4
movq _MY_EPSILON@GOTPCREL(%rip), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss LCPI0_2(%rip), %xmm5 ## xmm5 = mem[0],zero,zero,zero
addss %xmm3, %xmm5
movaps %xmm1, %xmm6
cmpltss %xmm4, %xmm6
andps %xmm6, %xmm5
andnps %xmm3, %xmm6
orps %xmm5, %xmm6
subss %xmm6, %xmm2
addss %xmm2, %xmm0
movss %xmm6, 8(%r15)
cvttps2dq %xmm0, %xmm2
cvtdq2ps %xmm2, %xmm2
subss %xmm2, %xmm0
movss LCPI0_1(%rip), %xmm3 ## xmm3 = mem[0],zero,zero,zero
addss %xmm2, %xmm3
cmpltss %xmm0, %xmm1
andps %xmm1, %xmm3
andnps %xmm2, %xmm1
orps %xmm3, %xmm1
jmp LBB0_24
LBB0_22:
ucomiss %xmm0, %xmm1
jbe LBB0_25
## %bb.23:
movss 8(%r15), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvttps2dq %xmm2, %xmm1
cvtdq2ps %xmm1, %xmm3
movaps %xmm2, %xmm4
subss %xmm3, %xmm4
movq _MY_EPSILON@GOTPCREL(%rip), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss LCPI0_1(%rip), %xmm5 ## xmm5 = mem[0],zero,zero,zero
addss %xmm3, %xmm5
movaps %xmm1, %xmm6
cmpltss %xmm4, %xmm6
andps %xmm6, %xmm5
andnps %xmm3, %xmm6
orps %xmm5, %xmm6
subss %xmm6, %xmm2
addss %xmm2, %xmm0
movss %xmm6, 8(%r15)
cvttps2dq %xmm0, %xmm2
cvtdq2ps %xmm2, %xmm2
movaps %xmm2, %xmm3
subss %xmm0, %xmm3
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss %xmm2, %xmm0
cmpltss %xmm3, %xmm1
andps %xmm1, %xmm0
andnps %xmm2, %xmm1
orps %xmm0, %xmm1
LBB0_24:
movss %xmm1, 4(%r15)
LBB0_25:
movq 16(%r15), %rax
movq %rax, 16(%r14)
movups (%r15), %xmm0
movups %xmm0, (%r14)
movq %r14, %rax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FLT_EPSILON,8,3 ## @FLT_EPSILON
.comm _MY_EPSILON,4,2 ## @MY_EPSILON
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fz_gridfit_matrix ; -- Begin function fz_gridfit_matrix
.p2align 2
_fz_gridfit_matrix: ; @fz_gridfit_matrix
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
mov x20, x8
ldr s0, [x1]
bl _fabsf
Lloh0:
adrp x22, _FLT_EPSILON@GOTPAGE
Lloh1:
ldr x22, [x22, _FLT_EPSILON@GOTPAGEOFF]
ldr x8, [x22]
cmp x0, x8
b.ge LBB0_4
; %bb.1:
ldr s0, [x19, #4]
bl _fabsf
ldr x8, [x22]
cmp x0, x8
b.ge LBB0_4
; %bb.2:
cbz w21, LBB0_8
; %bb.3:
fmov s0, #0.50000000
ldp s1, s2, [x19, #8]
fadd s3, s1, s0
fcvtzs s3, s3
scvtf s3, s3
fsub s1, s1, s3
fadd s1, s2, s1
str s3, [x19, #8]
fadd s1, s1, s0
fcvtzs s1, s1
scvtf s1, s1
str s1, [x19, #12]
ldp s1, s2, [x19, #16]
fadd s3, s1, s0
fcvtzs s3, s3
scvtf s3, s3
fsub s1, s1, s3
fadd s1, s2, s1
str s3, [x19, #16]
fadd s0, s1, s0
fcvtzs s0, s0
scvtf s0, s0
str s0, [x19, #20]
b LBB0_28
LBB0_4:
ldr s0, [x19, #12]
bl _fabsf
ldr x8, [x22]
cmp x0, x8
b.ge LBB0_28
; %bb.5:
ldr s0, [x19, #20]
bl _fabsf
ldr x8, [x22]
cmp x0, x8
b.ge LBB0_28
; %bb.6:
cbz w21, LBB0_10
; %bb.7:
add x8, x19, #16
ldr s0, [x19, #8]
ld1.s { v0 }[1], [x8]
movi.2s v1, #63, lsl #24
fadd.2s v2, v0, v1
fcvtzs.2s v2, v2
scvtf.2s v2, v2
str s2, [x19, #8]
fsub.2s v0, v0, v2
ldr d3, [x19]
fadd.2s v0, v3, v0
st1.s { v2 }[1], [x8]
fadd.2s v0, v0, v1
fcvtzs.2s v0, v0
scvtf.2s v0, v0
str d0, [x19]
b LBB0_28
LBB0_8:
ldr s0, [x19, #12]
fcmp s0, #0.0
b.le LBB0_12
; %bb.9:
ldr s1, [x19, #8]
fcvtzs s2, s1
scvtf s2, s2
fsub s3, s2, s1
Lloh2:
adrp x8, _MY_EPSILON@GOTPAGE
Lloh3:
ldr x8, [x8, _MY_EPSILON@GOTPAGEOFF]
Lloh4:
ldr s4, [x8]
fmov s5, #-1.00000000
fadd s5, s2, s5
fcmp s3, s4
fcsel s2, s5, s2, gt
fsub s1, s1, s2
fadd s0, s0, s1
str s2, [x19, #8]
fcvtzs s1, s0
scvtf s1, s1
fsub s0, s0, s1
fmov s2, #1.00000000
b LBB0_14
LBB0_10:
ldr s0, [x19]
fcmp s0, #0.0
b.le LBB0_20
; %bb.11:
ldr s1, [x19, #16]
fcvtzs s2, s1
scvtf s2, s2
Lloh5:
adrp x8, _MY_EPSILON@GOTPAGE
Lloh6:
ldr x8, [x8, _MY_EPSILON@GOTPAGEOFF]
fsub s3, s2, s1
ldr s4, [x8]
fmov s5, #-1.00000000
fadd s5, s2, s5
fcmp s3, s4
fcsel s2, s5, s2, gt
fsub s1, s1, s2
fadd s0, s0, s1
str s0, [x19]
str s2, [x19, #16]
fcvtzs s1, s0
scvtf s1, s1
fsub s0, s0, s1
ldr s2, [x8]
fmov s3, #1.00000000
b LBB0_22
LBB0_12:
b.pl LBB0_15
; %bb.13:
ldr s1, [x19, #8]
fcvtzs s2, s1
scvtf s2, s2
fsub s3, s1, s2
Lloh7:
adrp x8, _MY_EPSILON@GOTPAGE
Lloh8:
ldr x8, [x8, _MY_EPSILON@GOTPAGEOFF]
Lloh9:
ldr s4, [x8]
fmov s5, #1.00000000
fadd s5, s2, s5
fcmp s3, s4
fcsel s2, s5, s2, gt
fsub s1, s1, s2
fadd s0, s0, s1
str s2, [x19, #8]
fcvtzs s1, s0
scvtf s1, s1
fsub s0, s1, s0
fmov s2, #-1.00000000
LBB0_14:
fadd s2, s1, s2
fcmp s0, s4
fcsel s0, s2, s1, gt
str s0, [x19, #12]
LBB0_15:
ldr s0, [x19, #20]
fcmp s0, #0.0
b.le LBB0_17
; %bb.16:
ldr s1, [x19, #16]
fcvtzs s2, s1
scvtf s2, s2
fsub s3, s2, s1
Lloh10:
adrp x8, _MY_EPSILON@GOTPAGE
Lloh11:
ldr x8, [x8, _MY_EPSILON@GOTPAGEOFF]
Lloh12:
ldr s4, [x8]
fmov s5, #-1.00000000
fadd s5, s2, s5
fcmp s3, s4
fcsel s2, s5, s2, gt
fsub s1, s1, s2
fadd s0, s0, s1
fcvtzs s1, s0
scvtf s1, s1
fsub s0, s0, s1
fmov s3, #1.00000000
b LBB0_19
LBB0_17:
b.pl LBB0_28
; %bb.18:
ldr s1, [x19, #16]
fcvtzs s2, s1
scvtf s2, s2
fsub s3, s1, s2
Lloh13:
adrp x8, _MY_EPSILON@GOTPAGE
Lloh14:
ldr x8, [x8, _MY_EPSILON@GOTPAGEOFF]
Lloh15:
ldr s4, [x8]
fmov s5, #1.00000000
fadd s5, s2, s5
fcmp s3, s4
fcsel s2, s5, s2, gt
fsub s1, s1, s2
fadd s0, s0, s1
fcvtzs s1, s0
scvtf s1, s1
fsub s0, s1, s0
fmov s3, #-1.00000000
LBB0_19:
fadd s3, s1, s3
fcmp s0, s4
fcsel s0, s3, s1, gt
stp s2, s0, [x19, #16]
b LBB0_28
LBB0_20:
b.pl LBB0_23
; %bb.21:
ldr s1, [x19, #16]
fcvtzs s2, s1
scvtf s2, s2
Lloh16:
adrp x8, _MY_EPSILON@GOTPAGE
Lloh17:
ldr x8, [x8, _MY_EPSILON@GOTPAGEOFF]
fsub s3, s1, s2
ldr s4, [x8]
fmov s5, #1.00000000
fadd s5, s2, s5
fcmp s3, s4
fcsel s2, s5, s2, gt
fsub s1, s1, s2
fadd s0, s0, s1
str s0, [x19]
str s2, [x19, #16]
fcvtzs s1, s0
scvtf s1, s1
fsub s0, s1, s0
ldr s2, [x8]
fmov s3, #-1.00000000
LBB0_22:
fadd s3, s1, s3
fcmp s0, s2
fcsel s0, s3, s1, gt
str s0, [x19]
LBB0_23:
ldr s0, [x19, #4]
fcmp s0, #0.0
b.le LBB0_25
; %bb.24:
ldr s1, [x19, #8]
fcvtzs s2, s1
scvtf s2, s2
fsub s3, s2, s1
Lloh18:
adrp x8, _MY_EPSILON@GOTPAGE
Lloh19:
ldr x8, [x8, _MY_EPSILON@GOTPAGEOFF]
Lloh20:
ldr s4, [x8]
fmov s5, #-1.00000000
fadd s5, s2, s5
fcmp s3, s4
fcsel s2, s5, s2, gt
fsub s1, s1, s2
fadd s0, s0, s1
fcvtzs s1, s0
scvtf s1, s1
fsub s0, s0, s1
fmov s3, #1.00000000
b LBB0_27
LBB0_25:
b.pl LBB0_28
; %bb.26:
ldr s1, [x19, #8]
fcvtzs s2, s1
scvtf s2, s2
fsub s3, s1, s2
Lloh21:
adrp x8, _MY_EPSILON@GOTPAGE
Lloh22:
ldr x8, [x8, _MY_EPSILON@GOTPAGEOFF]
Lloh23:
ldr s4, [x8]
fmov s5, #1.00000000
fadd s5, s2, s5
fcmp s3, s4
fcsel s2, s5, s2, gt
fsub s1, s1, s2
fadd s0, s0, s1
fcvtzs s1, s0
scvtf s1, s1
fsub s0, s1, s0
fmov s3, #-1.00000000
LBB0_27:
fadd s3, s1, s3
fcmp s0, s4
fcsel s0, s3, s1, gt
stp s0, s2, [x19, #4]
LBB0_28:
ldr q0, [x19]
str q0, [x20]
ldr x8, [x19, #16]
str x8, [x20, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _FLT_EPSILON,8,3 ; @FLT_EPSILON
.comm _MY_EPSILON,4,2 ; @MY_EPSILON
.subsections_via_symbols
| AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-affine.c_fz_gridfit_matrix.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hpfs_compare_dentry
_hpfs_compare_dentry: ## @hpfs_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
movl %esi, -32(%rbp)
movl (%rcx), %eax
movl %eax, -28(%rbp)
leaq -32(%rbp), %rsi
movq %rdx, %rdi
callq _hpfs_adjust_length
movl 4(%rbx), %edi
leaq -28(%rbp), %rsi
callq _hpfs_chk_name
movq %rax, %rcx
movl $1, %eax
testq %rcx, %rcx
jne LBB0_2
## %bb.1:
movl (%r15), %edi
movl -32(%rbp), %edx
movl 4(%rbx), %ecx
movl -28(%rbp), %r8d
movq %r14, %rsi
xorl %r9d, %r9d
callq _hpfs_compare_names
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
setne %al
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _hpfs_compare_dentry
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hpfs_compare_dentry
_hpfs_compare_dentry: ; @hpfs_compare_dentry
.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, x3
mov x19, x2
mov x21, x0
ldr w8, [x3]
stp w8, w1, [sp, #8]
add x1, sp, #12
mov x0, x2
bl _hpfs_adjust_length
ldr w0, [x20, #4]
add x1, sp, #8
bl _hpfs_chk_name
cbz x0, LBB0_2
; %bb.1:
mov w0, #1
b LBB0_3
LBB0_2:
ldr w0, [x21]
ldp w4, w2, [sp, #8]
ldr w3, [x20, #4]
mov x1, x19
mov w5, #0
bl _hpfs_compare_names
cmp x0, #0
cset w0, ne
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.no_dead_strip _hpfs_compare_dentry
.subsections_via_symbols
| AnghaBench/linux/fs/hpfs/extr_dentry.c_hpfs_compare_dentry.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gen8_gtt_test_pse
_gen8_gtt_test_pse: ## @gen8_gtt_test_pse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq __PAGE_PSE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %eax, %eax
testl %ecx, (%rdi)
setne %al
popq %rbp
retq
.cfi_endproc
## -- End function
.comm __PAGE_PSE,4,2 ## @_PAGE_PSE
.no_dead_strip _gen8_gtt_test_pse
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gen8_gtt_test_pse
_gen8_gtt_test_pse: ; @gen8_gtt_test_pse
.cfi_startproc
; %bb.0:
ldr w8, [x0]
Lloh0:
adrp x9, __PAGE_PSE@GOTPAGE
Lloh1:
ldr x9, [x9, __PAGE_PSE@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
cset w0, ne
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm __PAGE_PSE,4,2 ; @_PAGE_PSE
.no_dead_strip _gen8_gtt_test_pse
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gtt.c_gen8_gtt_test_pse.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sa1100_destroy_subdev
_sa1100_destroy_subdev: ## @sa1100_destroy_subdev
.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 16(%rdi), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _map_destroy
LBB0_2:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.3:
callq _iounmap
LBB0_4:
movl (%rbx), %esi
movl 4(%rbx), %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _release_mem_region ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _sa1100_destroy_subdev
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sa1100_destroy_subdev
_sa1100_destroy_subdev: ; @sa1100_destroy_subdev
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #16]
cbz x0, LBB0_2
; %bb.1:
bl _map_destroy
LBB0_2:
ldr x0, [x19, #8]
cbz x0, LBB0_4
; %bb.3:
bl _iounmap
LBB0_4:
ldp w1, w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _release_mem_region
.cfi_endproc
; -- End function
.no_dead_strip _sa1100_destroy_subdev
.subsections_via_symbols
| AnghaBench/linux/drivers/mtd/maps/extr_sa1100-flash.c_sa1100_destroy_subdev.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtl92ce_read_eeprom_info ## -- Begin function rtl92ce_read_eeprom_info
.p2align 4, 0x90
_rtl92ce_read_eeprom_info: ## @rtl92ce_read_eeprom_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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
callq _rtl_priv
movq %rax, %r12
movq %r14, %rdi
callq _rtl_priv
movq %rax, %rdi
callq _rtl_efuse
movq %rax, -48(%rbp) ## 8-byte Spill
leaq 8(%r12), %r13
movq %r14, %rdi
callq _rtl_priv
movq %rax, %rdi
callq _rtl_hal
movq %rax, %rbx
movq %r14, %rdi
callq __rtl92ce_read_chip_version
movl %eax, (%rbx)
movq %r13, %rdi
callq _get_rf_type
movq _RF_1T1R@GOTPCREL(%rip), %rdx
movq (%r12), %rcx
cmpq (%rdx), %rax
je LBB0_2
## %bb.1:
movl $1, 4(%rcx)
LBB0_2:
movl $1, (%rcx)
movq _COMP_INIT@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl (%rbx), %r8d
leaq L_.str(%rip), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _RT_TRACE
movq _REG_9346CR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _rtl_read_byte
movl %eax, %r13d
movl $4, %edi
callq _BIT
movl (%r15), %esi
movq _DBG_DMESG@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
testl %r13d, %eax
leaq L_.str.2(%rip), %rax
leaq L_.str.1(%rip), %rcx
cmoveq %rax, %rcx
movq _EEPROM_93C46@GOTPCREL(%rip), %r15
cmoveq _EEPROM_BOOT_EFUSE@GOTPCREL(%rip), %r15
movq %r12, %rdi
xorl %eax, %eax
callq _RT_TRACE
movl (%r15), %eax
movq -48(%rbp), %rbx ## 8-byte Reload
movl %eax, 4(%rbx)
movl $5, %edi
callq _BIT
testl %r13d, %eax
je LBB0_4
## %bb.3:
movq _COMP_INIT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.3(%rip), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _RT_TRACE
movl $0, (%rbx)
movq %r14, %rdi
callq __rtl92ce_read_adapter_info
jmp LBB0_5
LBB0_4:
leaq L_.str.4(%rip), %rdi
callq _pr_err
LBB0_5:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp __rtl92ce_hal_customized_behavior ## TAILCALL
.cfi_endproc
## -- End function
.comm _RF_1T1R,8,3 ## @RF_1T1R
.comm _COMP_INIT,4,2 ## @COMP_INIT
.comm _DBG_LOUD,4,2 ## @DBG_LOUD
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "VersionID = 0x%4x\n"
.comm _REG_9346CR,4,2 ## @REG_9346CR
.comm _DBG_DMESG,4,2 ## @DBG_DMESG
L_.str.1: ## @.str.1
.asciz "Boot from EEPROM\n"
.comm _EEPROM_93C46,4,2 ## @EEPROM_93C46
L_.str.2: ## @.str.2
.asciz "Boot from EFUSE\n"
.comm _EEPROM_BOOT_EFUSE,4,2 ## @EEPROM_BOOT_EFUSE
L_.str.3: ## @.str.3
.asciz "Autoload OK\n"
L_.str.4: ## @.str.4
.asciz "Autoload ERR!!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtl92ce_read_eeprom_info ; -- Begin function rtl92ce_read_eeprom_info
.p2align 2
_rtl92ce_read_eeprom_info: ; @rtl92ce_read_eeprom_info
.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, x0
bl _rtl_priv
mov x20, x0
mov x0, x19
bl _rtl_priv
bl _rtl_efuse
mov x21, x0
add x23, x20, #8
mov x0, x19
bl _rtl_priv
bl _rtl_hal
mov x22, x0
mov x0, x19
bl __rtl92ce_read_chip_version
str w0, [x22]
mov x0, x23
bl _get_rf_type
Lloh0:
adrp x8, _RF_1T1R@GOTPAGE
Lloh1:
ldr x8, [x8, _RF_1T1R@GOTPAGEOFF]
Lloh2:
ldr x9, [x8]
ldr x8, [x20]
cmp x0, x9
b.eq LBB0_2
; %bb.1:
mov w9, #1
str w9, [x8, #4]
LBB0_2:
mov w9, #1
Lloh3:
adrp x23, _COMP_INIT@GOTPAGE
Lloh4:
ldr x23, [x23, _COMP_INIT@GOTPAGEOFF]
str w9, [x8]
ldr w1, [x23]
Lloh5:
adrp x24, _DBG_LOUD@GOTPAGE
Lloh6:
ldr x24, [x24, _DBG_LOUD@GOTPAGEOFF]
ldr w2, [x24]
ldr w8, [x22]
str x8, [sp]
Lloh7:
adrp x3, l_.str@PAGE
Lloh8:
add x3, x3, l_.str@PAGEOFF
mov x0, x20
bl _RT_TRACE
Lloh9:
adrp x8, _REG_9346CR@GOTPAGE
Lloh10:
ldr x8, [x8, _REG_9346CR@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x20
bl _rtl_read_byte
mov x22, x0
mov w0, #4
bl _BIT
Lloh12:
adrp x8, l_.str.1@PAGE
Lloh13:
add x8, x8, l_.str.1@PAGEOFF
Lloh14:
adrp x9, l_.str.2@PAGE
Lloh15:
add x9, x9, l_.str.2@PAGEOFF
tst w0, w22
csel x3, x9, x8, eq
ldr w1, [x23]
Lloh16:
adrp x8, _DBG_DMESG@GOTPAGE
Lloh17:
ldr x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh18:
ldr w2, [x8]
Lloh19:
adrp x8, _EEPROM_BOOT_EFUSE@GOTPAGE
Lloh20:
ldr x8, [x8, _EEPROM_BOOT_EFUSE@GOTPAGEOFF]
Lloh21:
adrp x9, _EEPROM_93C46@GOTPAGE
Lloh22:
ldr x9, [x9, _EEPROM_93C46@GOTPAGEOFF]
csel x25, x8, x9, eq
mov x0, x20
bl _RT_TRACE
ldr w8, [x25]
str w8, [x21, #4]
mov w0, #5
bl _BIT
tst w0, w22
b.eq LBB0_4
; %bb.3:
ldr w1, [x23]
ldr w2, [x24]
Lloh23:
adrp x3, l_.str.3@PAGE
Lloh24:
add x3, x3, l_.str.3@PAGEOFF
mov x0, x20
bl _RT_TRACE
str wzr, [x21]
mov x0, x19
bl __rtl92ce_read_adapter_info
b LBB0_5
LBB0_4:
Lloh25:
adrp x0, l_.str.4@PAGE
Lloh26:
add x0, x0, l_.str.4@PAGEOFF
bl _pr_err
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
b __rtl92ce_hal_customized_behavior
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.cfi_endproc
; -- End function
.comm _RF_1T1R,8,3 ; @RF_1T1R
.comm _COMP_INIT,4,2 ; @COMP_INIT
.comm _DBG_LOUD,4,2 ; @DBG_LOUD
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "VersionID = 0x%4x\n"
.comm _REG_9346CR,4,2 ; @REG_9346CR
.comm _DBG_DMESG,4,2 ; @DBG_DMESG
l_.str.1: ; @.str.1
.asciz "Boot from EEPROM\n"
.comm _EEPROM_93C46,4,2 ; @EEPROM_93C46
l_.str.2: ; @.str.2
.asciz "Boot from EFUSE\n"
.comm _EEPROM_BOOT_EFUSE,4,2 ; @EEPROM_BOOT_EFUSE
l_.str.3: ; @.str.3
.asciz "Autoload OK\n"
l_.str.4: ; @.str.4
.asciz "Autoload ERR!!\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/extr_hw.c_rtl92ce_read_eeprom_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AES_wrap_key ## -- Begin function AES_wrap_key
.p2align 4, 0x90
_AES_wrap_key: ## @AES_wrap_key
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _AES_encrypt@GOTPCREL(%rip), %rax
movl (%rax), %r9d
popq %rbp
jmp _CRYPTO_128_wrap ## TAILCALL
.cfi_endproc
## -- End function
.comm _AES_encrypt,8,3 ## @AES_encrypt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AES_wrap_key ; -- Begin function AES_wrap_key
.p2align 2
_AES_wrap_key: ; @AES_wrap_key
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _AES_encrypt@GOTPAGE
Lloh1:
ldr x8, [x8, _AES_encrypt@GOTPAGEOFF]
Lloh2:
ldr w5, [x8]
b _CRYPTO_128_wrap
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AES_encrypt,8,3 ; @AES_encrypt
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/aes/extr_aes_wrap.c_AES_wrap_key.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _drm_sched_fini ## -- Begin function drm_sched_fini
.p2align 4, 0x90
_drm_sched_fini: ## @drm_sched_fini
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq 8(%rdi), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _kthread_stop
LBB0_2:
movl $0, (%rbx)
addq $8, %rsp
popq %rbx
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 _drm_sched_fini ; -- Begin function drm_sched_fini
.p2align 2
_drm_sched_fini: ; @drm_sched_fini
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #8]
cbz x0, LBB0_2
; %bb.1:
bl _kthread_stop
LBB0_2:
str wzr, [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
| AnghaBench/linux/drivers/gpu/drm/scheduler/extr_sched_main.c_drm_sched_fini.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function LZ4_getPositionOnHash
_LZ4_getPositionOnHash: ## @LZ4_getPositionOnHash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _byPtr@GOTPCREL(%rip), %rax
cmpq %rdx, (%rax)
jne LBB0_2
## %bb.1:
movq (%rsi,%rdi,8), %rax
popq %rbp
retq
LBB0_2:
movq _byU32@GOTPCREL(%rip), %rax
cmpq %rdx, (%rax)
jne LBB0_4
## %bb.3:
movq (%rsi,%rdi,8), %rax
jmp LBB0_5
LBB0_4:
movslq (%rsi,%rdi,4), %rax
LBB0_5:
leaq (%rcx,%rax,4), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _byPtr,8,3 ## @byPtr
.comm _byU32,8,3 ## @byU32
.no_dead_strip _LZ4_getPositionOnHash
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function LZ4_getPositionOnHash
_LZ4_getPositionOnHash: ; @LZ4_getPositionOnHash
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _byPtr@GOTPAGE
Lloh1:
ldr x8, [x8, _byPtr@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x2
b.ne LBB0_2
; %bb.1:
ldr x0, [x1, x0, lsl #3]
ret
LBB0_2:
Lloh3:
adrp x8, _byU32@GOTPAGE
Lloh4:
ldr x8, [x8, _byU32@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x8, x2
b.ne LBB0_4
; %bb.3:
ldr x8, [x1, x0, lsl #3]
add x0, x3, x8, lsl #2
ret
LBB0_4:
ldrsw x8, [x1, x0, lsl #2]
add x0, x3, x8, lsl #2
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _byPtr,8,3 ; @byPtr
.comm _byU32,8,3 ; @byU32
.no_dead_strip _LZ4_getPositionOnHash
.subsections_via_symbols
| AnghaBench/borg/src/borg/algorithms/lz4/lib/extr_lz4.c_LZ4_getPositionOnHash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gatt_cmd_dequeue ## -- Begin function gatt_cmd_dequeue
.p2align 4, 0x90
_gatt_cmd_dequeue: ## @gatt_cmd_dequeue
.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
cmpq 8(%rdi), %rax
jne LBB0_2
## %bb.1:
xorl %ecx, %ecx
jmp LBB0_6
LBB0_2:
movq 16(%rdi), %r9
movq _gatt_cb@GOTPCREL(%rip), %r8
movq %rax, %rdx
shlq $4, %rdx
movq (%r9,%rdx), %rcx
shlq $2, %rcx
addq (%r8), %rcx
movl 8(%r9,%rdx), %edx
movl %edx, (%rsi)
incq %rax
movq %rax, (%rdi)
movq _GATT_CL_MAX_LCB@GOTPCREL(%rip), %rdx
movq (%rdx), %rsi
movq %rax, %rdx
orq %rsi, %rdx
shrq $32, %rdx
je LBB0_3
## %bb.4:
xorl %edx, %edx
divq %rsi
jmp LBB0_5
LBB0_3:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %esi
## kill: def $edx killed $edx def $rdx
LBB0_5:
movq %rdx, (%rdi)
LBB0_6:
movq %rcx, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gatt_cb,8,3 ## @gatt_cb
.comm _GATT_CL_MAX_LCB,8,3 ## @GATT_CL_MAX_LCB
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gatt_cmd_dequeue ; -- Begin function gatt_cmd_dequeue
.p2align 2
_gatt_cmd_dequeue: ; @gatt_cmd_dequeue
.cfi_startproc
; %bb.0:
ldp x9, x8, [x0]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
mov x0, #0
ret
LBB0_2:
ldr x8, [x0, #16]
Lloh0:
adrp x10, _gatt_cb@GOTPAGE
Lloh1:
ldr x10, [x10, _gatt_cb@GOTPAGEOFF]
Lloh2:
ldr x10, [x10]
add x11, x8, x9, lsl #4
ldr x8, [x11]
add x8, x10, x8, lsl #2
ldr w10, [x11, #8]
str w10, [x1]
add x9, x9, #1
str x9, [x0]
Lloh3:
adrp x10, _GATT_CL_MAX_LCB@GOTPAGE
Lloh4:
ldr x10, [x10, _GATT_CL_MAX_LCB@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
udiv x11, x9, x10
msub x9, x11, x10, x9
str x9, [x0]
mov x0, x8
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _gatt_cb,8,3 ; @gatt_cb
.comm _GATT_CL_MAX_LCB,8,3 ; @GATT_CL_MAX_LCB
.subsections_via_symbols
| AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_utils.c_gatt_cmd_dequeue.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function omap_dmic_dai_trigger
_omap_dmic_dai_trigger: ## @omap_dmic_dai_trigger
.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, %rdi
movl %esi, %ebx
callq _snd_soc_dai_get_drvdata
cmpl $128, %ebx
je LBB0_3
## %bb.1:
cmpl $129, %ebx
jne LBB0_4
## %bb.2:
movq %rax, %rdi
callq _omap_dmic_start
jmp LBB0_4
LBB0_3:
movq %rax, %rdi
callq _omap_dmic_stop
LBB0_4:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _omap_dmic_dai_trigger
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function omap_dmic_dai_trigger
_omap_dmic_dai_trigger: ; @omap_dmic_dai_trigger
.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 x0, x2
mov x19, x1
bl _snd_soc_dai_get_drvdata
cmp w19, #128
b.eq LBB0_3
; %bb.1:
cmp w19, #129
b.ne LBB0_4
; %bb.2:
bl _omap_dmic_start
b LBB0_4
LBB0_3:
bl _omap_dmic_stop
LBB0_4:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _omap_dmic_dai_trigger
.subsections_via_symbols
| AnghaBench/linux/sound/soc/ti/extr_omap-dmic.c_omap_dmic_dai_trigger.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 finite
LCPI0_0:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_1:
.quad 0x7ff0000000000000 ## double +Inf
.section __TEXT,__text,regular,pure_instructions
.globl _finite
.p2align 4, 0x90
_finite: ## @finite
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movapd LCPI0_0(%rip), %xmm1 ## xmm1 = [NaN,NaN]
andpd %xmm0, %xmm1
xorpd %xmm2, %xmm2
cmpordpd %xmm0, %xmm2
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
cmpneqpd %xmm1, %xmm0
andpd %xmm2, %xmm0
movd %xmm0, %eax
andl $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 _finite ; -- Begin function finite
.p2align 2
_finite: ; @finite
.cfi_startproc
; %bb.0:
fcmp d0, d0
cset w8, vc
fabs d0, d0
mov x9, #9218868437227405312
fmov d1, x9
fcmp d0, d1
cset w9, ne
and w0, w8, w9
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/111078640.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_AT_name
_get_AT_name: ## @get_AT_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
leaq -128(%rdi), %rax
cmpq $93, %rax
jae LBB0_1
## %bb.2:
leaq l_reltable.get_AT_name(%rip), %rcx
movslq (%rcx,%rax,4), %rbx
addq %rcx, %rbx
jmp LBB0_3
LBB0_1:
movq %rdi, %r14
leaq L_.str.93(%rip), %rdi
callq __
leaq _get_AT_name.buffer(%rip), %rbx
movq %rbx, %rdi
movl $100, %esi
movq %rax, %rdx
movq %r14, %rcx
callq _snprintf
LBB0_3:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DW_AT_sibling"
L_.str.1: ## @.str.1
.asciz "DW_AT_location"
L_.str.2: ## @.str.2
.asciz "DW_AT_name"
L_.str.3: ## @.str.3
.asciz "DW_AT_ordering"
L_.str.4: ## @.str.4
.asciz "DW_AT_subscr_data"
L_.str.5: ## @.str.5
.asciz "DW_AT_byte_size"
L_.str.6: ## @.str.6
.asciz "DW_AT_bit_offset"
L_.str.7: ## @.str.7
.asciz "DW_AT_bit_size"
L_.str.8: ## @.str.8
.asciz "DW_AT_element_list"
L_.str.9: ## @.str.9
.asciz "DW_AT_stmt_list"
L_.str.10: ## @.str.10
.asciz "DW_AT_low_pc"
L_.str.11: ## @.str.11
.asciz "DW_AT_high_pc"
L_.str.12: ## @.str.12
.asciz "DW_AT_language"
L_.str.13: ## @.str.13
.asciz "DW_AT_member"
L_.str.14: ## @.str.14
.asciz "DW_AT_discr"
L_.str.15: ## @.str.15
.asciz "DW_AT_discr_value"
L_.str.16: ## @.str.16
.asciz "DW_AT_visibility"
L_.str.17: ## @.str.17
.asciz "DW_AT_import"
L_.str.18: ## @.str.18
.asciz "DW_AT_string_length"
L_.str.19: ## @.str.19
.asciz "DW_AT_common_reference"
L_.str.20: ## @.str.20
.asciz "DW_AT_comp_dir"
L_.str.21: ## @.str.21
.asciz "DW_AT_const_value"
L_.str.22: ## @.str.22
.asciz "DW_AT_containing_type"
L_.str.23: ## @.str.23
.asciz "DW_AT_default_value"
L_.str.24: ## @.str.24
.asciz "DW_AT_inline"
L_.str.25: ## @.str.25
.asciz "DW_AT_is_optional"
L_.str.26: ## @.str.26
.asciz "DW_AT_lower_bound"
L_.str.27: ## @.str.27
.asciz "DW_AT_producer"
L_.str.28: ## @.str.28
.asciz "DW_AT_prototyped"
L_.str.29: ## @.str.29
.asciz "DW_AT_return_addr"
L_.str.30: ## @.str.30
.asciz "DW_AT_start_scope"
L_.str.31: ## @.str.31
.asciz "DW_AT_stride_size"
L_.str.32: ## @.str.32
.asciz "DW_AT_upper_bound"
L_.str.33: ## @.str.33
.asciz "DW_AT_abstract_origin"
L_.str.34: ## @.str.34
.asciz "DW_AT_accessibility"
L_.str.35: ## @.str.35
.asciz "DW_AT_address_class"
L_.str.36: ## @.str.36
.asciz "DW_AT_artificial"
L_.str.37: ## @.str.37
.asciz "DW_AT_base_types"
L_.str.38: ## @.str.38
.asciz "DW_AT_calling_convention"
L_.str.39: ## @.str.39
.asciz "DW_AT_count"
L_.str.40: ## @.str.40
.asciz "DW_AT_data_member_location"
L_.str.41: ## @.str.41
.asciz "DW_AT_decl_column"
L_.str.42: ## @.str.42
.asciz "DW_AT_decl_file"
L_.str.43: ## @.str.43
.asciz "DW_AT_decl_line"
L_.str.44: ## @.str.44
.asciz "DW_AT_declaration"
L_.str.45: ## @.str.45
.asciz "DW_AT_discr_list"
L_.str.46: ## @.str.46
.asciz "DW_AT_encoding"
L_.str.47: ## @.str.47
.asciz "DW_AT_external"
L_.str.48: ## @.str.48
.asciz "DW_AT_frame_base"
L_.str.49: ## @.str.49
.asciz "DW_AT_friend"
L_.str.50: ## @.str.50
.asciz "DW_AT_identifier_case"
L_.str.51: ## @.str.51
.asciz "DW_AT_macro_info"
L_.str.52: ## @.str.52
.asciz "DW_AT_namelist_items"
L_.str.53: ## @.str.53
.asciz "DW_AT_priority"
L_.str.54: ## @.str.54
.asciz "DW_AT_segment"
L_.str.55: ## @.str.55
.asciz "DW_AT_specification"
L_.str.56: ## @.str.56
.asciz "DW_AT_static_link"
L_.str.57: ## @.str.57
.asciz "DW_AT_type"
L_.str.58: ## @.str.58
.asciz "DW_AT_use_location"
L_.str.59: ## @.str.59
.asciz "DW_AT_variable_parameter"
L_.str.60: ## @.str.60
.asciz "DW_AT_virtuality"
L_.str.61: ## @.str.61
.asciz "DW_AT_vtable_elem_location"
L_.str.62: ## @.str.62
.asciz "DW_AT_allocated"
L_.str.63: ## @.str.63
.asciz "DW_AT_associated"
L_.str.64: ## @.str.64
.asciz "DW_AT_data_location"
L_.str.65: ## @.str.65
.asciz "DW_AT_stride"
L_.str.66: ## @.str.66
.asciz "DW_AT_entry_pc"
L_.str.67: ## @.str.67
.asciz "DW_AT_use_UTF8"
L_.str.68: ## @.str.68
.asciz "DW_AT_extension"
L_.str.69: ## @.str.69
.asciz "DW_AT_ranges"
L_.str.70: ## @.str.70
.asciz "DW_AT_trampoline"
L_.str.71: ## @.str.71
.asciz "DW_AT_call_column"
L_.str.72: ## @.str.72
.asciz "DW_AT_call_file"
L_.str.73: ## @.str.73
.asciz "DW_AT_call_line"
L_.str.74: ## @.str.74
.asciz "DW_AT_MIPS_fde"
L_.str.75: ## @.str.75
.asciz "DW_AT_MIPS_loop_begin"
L_.str.76: ## @.str.76
.asciz "DW_AT_MIPS_tail_loop_begin"
L_.str.77: ## @.str.77
.asciz "DW_AT_MIPS_epilog_begin"
L_.str.78: ## @.str.78
.asciz "DW_AT_MIPS_loop_unroll_factor"
L_.str.79: ## @.str.79
.asciz "DW_AT_MIPS_software_pipeline_depth"
L_.str.80: ## @.str.80
.asciz "DW_AT_MIPS_linkage_name"
L_.str.81: ## @.str.81
.asciz "DW_AT_MIPS_stride"
L_.str.82: ## @.str.82
.asciz "DW_AT_MIPS_abstract_name"
L_.str.83: ## @.str.83
.asciz "DW_AT_MIPS_clone_origin"
L_.str.84: ## @.str.84
.asciz "DW_AT_MIPS_has_inlines"
L_.str.85: ## @.str.85
.asciz "DW_AT_sf_names"
L_.str.86: ## @.str.86
.asciz "DW_AT_src_info"
L_.str.87: ## @.str.87
.asciz "DW_AT_mac_info"
L_.str.88: ## @.str.88
.asciz "DW_AT_src_coords"
L_.str.89: ## @.str.89
.asciz "DW_AT_body_begin"
L_.str.90: ## @.str.90
.asciz "DW_AT_body_end"
L_.str.91: ## @.str.91
.asciz "DW_AT_GNU_vector"
L_.str.92: ## @.str.92
.asciz "DW_AT_upc_threads_scaled"
.zerofill __DATA,__bss,_get_AT_name.buffer,100,4 ## @get_AT_name.buffer
L_.str.93: ## @.str.93
.asciz "Unknown AT value: %lx"
.no_dead_strip _get_AT_name
.section __TEXT,__const
.p2align 2 ## @reltable.get_AT_name
l_reltable.get_AT_name:
.long L_.str.61-l_reltable.get_AT_name
.long L_.str.16-l_reltable.get_AT_name
.long L_.str.60-l_reltable.get_AT_name
.long L_.str.59-l_reltable.get_AT_name
.long L_.str.58-l_reltable.get_AT_name
.long L_.str.67-l_reltable.get_AT_name
.long L_.str.32-l_reltable.get_AT_name
.long L_.str.92-l_reltable.get_AT_name
.long L_.str.57-l_reltable.get_AT_name
.long L_.str.70-l_reltable.get_AT_name
.long L_.str.4-l_reltable.get_AT_name
.long L_.str.18-l_reltable.get_AT_name
.long L_.str.31-l_reltable.get_AT_name
.long L_.str.65-l_reltable.get_AT_name
.long L_.str.9-l_reltable.get_AT_name
.long L_.str.56-l_reltable.get_AT_name
.long L_.str.30-l_reltable.get_AT_name
.long L_.str.86-l_reltable.get_AT_name
.long L_.str.88-l_reltable.get_AT_name
.long L_.str.55-l_reltable.get_AT_name
.long L_.str-l_reltable.get_AT_name
.long L_.str.85-l_reltable.get_AT_name
.long L_.str.54-l_reltable.get_AT_name
.long L_.str.29-l_reltable.get_AT_name
.long L_.str.69-l_reltable.get_AT_name
.long L_.str.28-l_reltable.get_AT_name
.long L_.str.27-l_reltable.get_AT_name
.long L_.str.53-l_reltable.get_AT_name
.long L_.str.3-l_reltable.get_AT_name
.long L_.str.52-l_reltable.get_AT_name
.long L_.str.2-l_reltable.get_AT_name
.long L_.str.13-l_reltable.get_AT_name
.long L_.str.51-l_reltable.get_AT_name
.long L_.str.87-l_reltable.get_AT_name
.long L_.str.26-l_reltable.get_AT_name
.long L_.str.10-l_reltable.get_AT_name
.long L_.str.1-l_reltable.get_AT_name
.long L_.str.12-l_reltable.get_AT_name
.long L_.str.25-l_reltable.get_AT_name
.long L_.str.24-l_reltable.get_AT_name
.long L_.str.17-l_reltable.get_AT_name
.long L_.str.50-l_reltable.get_AT_name
.long L_.str.11-l_reltable.get_AT_name
.long L_.str.49-l_reltable.get_AT_name
.long L_.str.48-l_reltable.get_AT_name
.long L_.str.47-l_reltable.get_AT_name
.long L_.str.68-l_reltable.get_AT_name
.long L_.str.66-l_reltable.get_AT_name
.long L_.str.46-l_reltable.get_AT_name
.long L_.str.8-l_reltable.get_AT_name
.long L_.str.15-l_reltable.get_AT_name
.long L_.str.45-l_reltable.get_AT_name
.long L_.str.14-l_reltable.get_AT_name
.long L_.str.23-l_reltable.get_AT_name
.long L_.str.44-l_reltable.get_AT_name
.long L_.str.43-l_reltable.get_AT_name
.long L_.str.42-l_reltable.get_AT_name
.long L_.str.41-l_reltable.get_AT_name
.long L_.str.40-l_reltable.get_AT_name
.long L_.str.64-l_reltable.get_AT_name
.long L_.str.39-l_reltable.get_AT_name
.long L_.str.22-l_reltable.get_AT_name
.long L_.str.21-l_reltable.get_AT_name
.long L_.str.20-l_reltable.get_AT_name
.long L_.str.19-l_reltable.get_AT_name
.long L_.str.38-l_reltable.get_AT_name
.long L_.str.73-l_reltable.get_AT_name
.long L_.str.72-l_reltable.get_AT_name
.long L_.str.71-l_reltable.get_AT_name
.long L_.str.5-l_reltable.get_AT_name
.long L_.str.90-l_reltable.get_AT_name
.long L_.str.89-l_reltable.get_AT_name
.long L_.str.7-l_reltable.get_AT_name
.long L_.str.6-l_reltable.get_AT_name
.long L_.str.37-l_reltable.get_AT_name
.long L_.str.63-l_reltable.get_AT_name
.long L_.str.36-l_reltable.get_AT_name
.long L_.str.62-l_reltable.get_AT_name
.long L_.str.35-l_reltable.get_AT_name
.long L_.str.34-l_reltable.get_AT_name
.long L_.str.33-l_reltable.get_AT_name
.long L_.str.76-l_reltable.get_AT_name
.long L_.str.81-l_reltable.get_AT_name
.long L_.str.79-l_reltable.get_AT_name
.long L_.str.78-l_reltable.get_AT_name
.long L_.str.75-l_reltable.get_AT_name
.long L_.str.80-l_reltable.get_AT_name
.long L_.str.84-l_reltable.get_AT_name
.long L_.str.74-l_reltable.get_AT_name
.long L_.str.77-l_reltable.get_AT_name
.long L_.str.83-l_reltable.get_AT_name
.long L_.str.82-l_reltable.get_AT_name
.long L_.str.91-l_reltable.get_AT_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_AT_name
_get_AT_name: ; @get_AT_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
sub x8, x0, #128
cmp x8, #93
b.hs LBB0_2
; %bb.1:
Lloh0:
adrp x9, l_switch.table.get_AT_name@PAGE
Lloh1:
add x9, x9, l_switch.table.get_AT_name@PAGEOFF
ldr x20, [x9, x8, lsl #3]
b LBB0_3
LBB0_2:
mov x19, x0
Lloh2:
adrp x0, l_.str.93@PAGE
Lloh3:
add x0, x0, l_.str.93@PAGEOFF
bl __
mov x2, x0
Lloh4:
adrp x20, _get_AT_name.buffer@PAGE
Lloh5:
add x20, x20, _get_AT_name.buffer@PAGEOFF
mov x0, x20
mov w1, #100
mov x3, x19
bl _snprintf
LBB0_3:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DW_AT_sibling"
l_.str.1: ; @.str.1
.asciz "DW_AT_location"
l_.str.2: ; @.str.2
.asciz "DW_AT_name"
l_.str.3: ; @.str.3
.asciz "DW_AT_ordering"
l_.str.4: ; @.str.4
.asciz "DW_AT_subscr_data"
l_.str.5: ; @.str.5
.asciz "DW_AT_byte_size"
l_.str.6: ; @.str.6
.asciz "DW_AT_bit_offset"
l_.str.7: ; @.str.7
.asciz "DW_AT_bit_size"
l_.str.8: ; @.str.8
.asciz "DW_AT_element_list"
l_.str.9: ; @.str.9
.asciz "DW_AT_stmt_list"
l_.str.10: ; @.str.10
.asciz "DW_AT_low_pc"
l_.str.11: ; @.str.11
.asciz "DW_AT_high_pc"
l_.str.12: ; @.str.12
.asciz "DW_AT_language"
l_.str.13: ; @.str.13
.asciz "DW_AT_member"
l_.str.14: ; @.str.14
.asciz "DW_AT_discr"
l_.str.15: ; @.str.15
.asciz "DW_AT_discr_value"
l_.str.16: ; @.str.16
.asciz "DW_AT_visibility"
l_.str.17: ; @.str.17
.asciz "DW_AT_import"
l_.str.18: ; @.str.18
.asciz "DW_AT_string_length"
l_.str.19: ; @.str.19
.asciz "DW_AT_common_reference"
l_.str.20: ; @.str.20
.asciz "DW_AT_comp_dir"
l_.str.21: ; @.str.21
.asciz "DW_AT_const_value"
l_.str.22: ; @.str.22
.asciz "DW_AT_containing_type"
l_.str.23: ; @.str.23
.asciz "DW_AT_default_value"
l_.str.24: ; @.str.24
.asciz "DW_AT_inline"
l_.str.25: ; @.str.25
.asciz "DW_AT_is_optional"
l_.str.26: ; @.str.26
.asciz "DW_AT_lower_bound"
l_.str.27: ; @.str.27
.asciz "DW_AT_producer"
l_.str.28: ; @.str.28
.asciz "DW_AT_prototyped"
l_.str.29: ; @.str.29
.asciz "DW_AT_return_addr"
l_.str.30: ; @.str.30
.asciz "DW_AT_start_scope"
l_.str.31: ; @.str.31
.asciz "DW_AT_stride_size"
l_.str.32: ; @.str.32
.asciz "DW_AT_upper_bound"
l_.str.33: ; @.str.33
.asciz "DW_AT_abstract_origin"
l_.str.34: ; @.str.34
.asciz "DW_AT_accessibility"
l_.str.35: ; @.str.35
.asciz "DW_AT_address_class"
l_.str.36: ; @.str.36
.asciz "DW_AT_artificial"
l_.str.37: ; @.str.37
.asciz "DW_AT_base_types"
l_.str.38: ; @.str.38
.asciz "DW_AT_calling_convention"
l_.str.39: ; @.str.39
.asciz "DW_AT_count"
l_.str.40: ; @.str.40
.asciz "DW_AT_data_member_location"
l_.str.41: ; @.str.41
.asciz "DW_AT_decl_column"
l_.str.42: ; @.str.42
.asciz "DW_AT_decl_file"
l_.str.43: ; @.str.43
.asciz "DW_AT_decl_line"
l_.str.44: ; @.str.44
.asciz "DW_AT_declaration"
l_.str.45: ; @.str.45
.asciz "DW_AT_discr_list"
l_.str.46: ; @.str.46
.asciz "DW_AT_encoding"
l_.str.47: ; @.str.47
.asciz "DW_AT_external"
l_.str.48: ; @.str.48
.asciz "DW_AT_frame_base"
l_.str.49: ; @.str.49
.asciz "DW_AT_friend"
l_.str.50: ; @.str.50
.asciz "DW_AT_identifier_case"
l_.str.51: ; @.str.51
.asciz "DW_AT_macro_info"
l_.str.52: ; @.str.52
.asciz "DW_AT_namelist_items"
l_.str.53: ; @.str.53
.asciz "DW_AT_priority"
l_.str.54: ; @.str.54
.asciz "DW_AT_segment"
l_.str.55: ; @.str.55
.asciz "DW_AT_specification"
l_.str.56: ; @.str.56
.asciz "DW_AT_static_link"
l_.str.57: ; @.str.57
.asciz "DW_AT_type"
l_.str.58: ; @.str.58
.asciz "DW_AT_use_location"
l_.str.59: ; @.str.59
.asciz "DW_AT_variable_parameter"
l_.str.60: ; @.str.60
.asciz "DW_AT_virtuality"
l_.str.61: ; @.str.61
.asciz "DW_AT_vtable_elem_location"
l_.str.62: ; @.str.62
.asciz "DW_AT_allocated"
l_.str.63: ; @.str.63
.asciz "DW_AT_associated"
l_.str.64: ; @.str.64
.asciz "DW_AT_data_location"
l_.str.65: ; @.str.65
.asciz "DW_AT_stride"
l_.str.66: ; @.str.66
.asciz "DW_AT_entry_pc"
l_.str.67: ; @.str.67
.asciz "DW_AT_use_UTF8"
l_.str.68: ; @.str.68
.asciz "DW_AT_extension"
l_.str.69: ; @.str.69
.asciz "DW_AT_ranges"
l_.str.70: ; @.str.70
.asciz "DW_AT_trampoline"
l_.str.71: ; @.str.71
.asciz "DW_AT_call_column"
l_.str.72: ; @.str.72
.asciz "DW_AT_call_file"
l_.str.73: ; @.str.73
.asciz "DW_AT_call_line"
l_.str.74: ; @.str.74
.asciz "DW_AT_MIPS_fde"
l_.str.75: ; @.str.75
.asciz "DW_AT_MIPS_loop_begin"
l_.str.76: ; @.str.76
.asciz "DW_AT_MIPS_tail_loop_begin"
l_.str.77: ; @.str.77
.asciz "DW_AT_MIPS_epilog_begin"
l_.str.78: ; @.str.78
.asciz "DW_AT_MIPS_loop_unroll_factor"
l_.str.79: ; @.str.79
.asciz "DW_AT_MIPS_software_pipeline_depth"
l_.str.80: ; @.str.80
.asciz "DW_AT_MIPS_linkage_name"
l_.str.81: ; @.str.81
.asciz "DW_AT_MIPS_stride"
l_.str.82: ; @.str.82
.asciz "DW_AT_MIPS_abstract_name"
l_.str.83: ; @.str.83
.asciz "DW_AT_MIPS_clone_origin"
l_.str.84: ; @.str.84
.asciz "DW_AT_MIPS_has_inlines"
l_.str.85: ; @.str.85
.asciz "DW_AT_sf_names"
l_.str.86: ; @.str.86
.asciz "DW_AT_src_info"
l_.str.87: ; @.str.87
.asciz "DW_AT_mac_info"
l_.str.88: ; @.str.88
.asciz "DW_AT_src_coords"
l_.str.89: ; @.str.89
.asciz "DW_AT_body_begin"
l_.str.90: ; @.str.90
.asciz "DW_AT_body_end"
l_.str.91: ; @.str.91
.asciz "DW_AT_GNU_vector"
l_.str.92: ; @.str.92
.asciz "DW_AT_upc_threads_scaled"
.zerofill __DATA,__bss,_get_AT_name.buffer,100,0 ; @get_AT_name.buffer
l_.str.93: ; @.str.93
.asciz "Unknown AT value: %lx"
.no_dead_strip _get_AT_name
.section __DATA,__const
.p2align 3 ; @switch.table.get_AT_name
l_switch.table.get_AT_name:
.quad l_.str.61
.quad l_.str.16
.quad l_.str.60
.quad l_.str.59
.quad l_.str.58
.quad l_.str.67
.quad l_.str.32
.quad l_.str.92
.quad l_.str.57
.quad l_.str.70
.quad l_.str.4
.quad l_.str.18
.quad l_.str.31
.quad l_.str.65
.quad l_.str.9
.quad l_.str.56
.quad l_.str.30
.quad l_.str.86
.quad l_.str.88
.quad l_.str.55
.quad l_.str
.quad l_.str.85
.quad l_.str.54
.quad l_.str.29
.quad l_.str.69
.quad l_.str.28
.quad l_.str.27
.quad l_.str.53
.quad l_.str.3
.quad l_.str.52
.quad l_.str.2
.quad l_.str.13
.quad l_.str.51
.quad l_.str.87
.quad l_.str.26
.quad l_.str.10
.quad l_.str.1
.quad l_.str.12
.quad l_.str.25
.quad l_.str.24
.quad l_.str.17
.quad l_.str.50
.quad l_.str.11
.quad l_.str.49
.quad l_.str.48
.quad l_.str.47
.quad l_.str.68
.quad l_.str.66
.quad l_.str.46
.quad l_.str.8
.quad l_.str.15
.quad l_.str.45
.quad l_.str.14
.quad l_.str.23
.quad l_.str.44
.quad l_.str.43
.quad l_.str.42
.quad l_.str.41
.quad l_.str.40
.quad l_.str.64
.quad l_.str.39
.quad l_.str.22
.quad l_.str.21
.quad l_.str.20
.quad l_.str.19
.quad l_.str.38
.quad l_.str.73
.quad l_.str.72
.quad l_.str.71
.quad l_.str.5
.quad l_.str.90
.quad l_.str.89
.quad l_.str.7
.quad l_.str.6
.quad l_.str.37
.quad l_.str.63
.quad l_.str.36
.quad l_.str.62
.quad l_.str.35
.quad l_.str.34
.quad l_.str.33
.quad l_.str.76
.quad l_.str.81
.quad l_.str.79
.quad l_.str.78
.quad l_.str.75
.quad l_.str.80
.quad l_.str.84
.quad l_.str.74
.quad l_.str.77
.quad l_.str.83
.quad l_.str.82
.quad l_.str.91
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/binutils/extr_dwarf.c_get_AT_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl __fltused ## @_fltused
.p2align 2
__fltused:
.long 1 ## 0x1
.globl ___sse2_available ## @__sse2_available
.zerofill __DATA,__common,___sse2_available,4,2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl __fltused ; @_fltused
.p2align 2
__fltused:
.long 1 ; 0x1
.globl ___sse2_available ; @__sse2_available
.zerofill __DATA,__common,___sse2_available,4,2
.subsections_via_symbols
| the_stack_data/1225309.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function decode_nul
_decode_nul: ## @decode_nul
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _TAB_SIZE@GOTPCREL(%rip), %rax
imull (%rax), %ecx
movl (%rsi), %eax
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rdx
movl %ecx, %esi
movl %eax, %ecx
callq _PRINT
movq _H323_ERROR_NONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%*.s%s\n"
.comm _TAB_SIZE,4,2 ## @TAB_SIZE
L_.str.1: ## @.str.1
.asciz " "
.comm _H323_ERROR_NONE,4,2 ## @H323_ERROR_NONE
.no_dead_strip _decode_nul
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function decode_nul
_decode_nul: ; @decode_nul
.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, _TAB_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _TAB_SIZE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
mul w8, w8, w3
ldr w3, [x1]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
Lloh5:
adrp x2, l_.str.1@PAGE
Lloh6:
add x2, x2, l_.str.1@PAGEOFF
mov x1, x8
bl _PRINT
Lloh7:
adrp x8, _H323_ERROR_NONE@GOTPAGE
Lloh8:
ldr x8, [x8, _H323_ERROR_NONE@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.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 "%*.s%s\n"
.comm _TAB_SIZE,4,2 ; @TAB_SIZE
l_.str.1: ; @.str.1
.asciz " "
.comm _H323_ERROR_NONE,4,2 ; @H323_ERROR_NONE
.no_dead_strip _decode_nul
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_h323_asn1.c_decode_nul.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ksft_test_num
_ksft_test_num: ## @ksft_test_num
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ksft_cnt@GOTPCREL(%rip), %rcx
movdqu (%rcx), %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %eax
addl 16(%rcx), %eax
addl 20(%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ksft_cnt,24,2 ## @ksft_cnt
.no_dead_strip _ksft_test_num
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ksft_test_num
_ksft_test_num: ; @ksft_test_num
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ksft_cnt@GOTPAGE
Lloh1:
ldr x8, [x8, _ksft_cnt@GOTPAGEOFF]
ldr q0, [x8]
ldp w9, w8, [x8, #16]
addv.4s s0, v0
fmov w10, s0
add w9, w10, w9
add w0, w9, w8
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _ksft_cnt,24,2 ; @ksft_cnt
.no_dead_strip _ksft_test_num
.subsections_via_symbols
| AnghaBench/linux/tools/testing/selftests/media_tests/extr_..kselftest.h_ksft_test_num.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function closeCursorsInFrame
_closeCursorsInFrame: ## @closeCursorsInFrame
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq 8(%rdi), %rcx
testq %rcx, %rcx
je LBB0_7
## %bb.1:
movq %rdi, %r14
movl (%rdi), %eax
testl %eax, %eax
jle LBB0_7
## %bb.2:
movl $1, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -8(%rcx,%rbx,8), %rsi
testq %rsi, %rsi
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
callq _sqlite3VdbeFreeCursor
movq 8(%r14), %rax
movq $0, -8(%rax,%rbx,8)
movl (%r14), %eax
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movslq %eax, %rcx
cmpq %rcx, %rbx
jge LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq 8(%r14), %rcx
incq %rbx
jmp LBB0_3
LBB0_7:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _closeCursorsInFrame
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function closeCursorsInFrame
_closeCursorsInFrame: ; @closeCursorsInFrame
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x9, [x0, #8]
cbz x9, LBB0_6
; %bb.1:
mov x19, x0
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_6
; %bb.2:
mov x20, #0
ldr x1, [x9, x20, lsl #3]
cbz x1, LBB0_4
LBB0_3:
mov x0, x19
bl _sqlite3VdbeFreeCursor
ldr x8, [x19, #8]
str xzr, [x8, x20, lsl #3]
ldr w8, [x19]
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x20, x20, #1
cmp x20, w8, sxtw
b.ge LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x19, #8]
ldr x1, [x9, x20, lsl #3]
cbnz x1, LBB0_3
b LBB0_4
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _closeCursorsInFrame
.subsections_via_symbols
| AnghaBench/sqlcipher/src/extr_vdbeaux.c_closeCursorsInFrame.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function intset_binsrch_leaf
_intset_binsrch_leaf: ## @intset_binsrch_leaf
.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
testl %edx, %edx
jg LBB0_1
jmp LBB0_7
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl %r8d, %edx
cmpl %eax, %edx
jle LBB0_7
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %edx, %r9d
subl %eax, %r9d
movl %r9d, %r8d
shrl $31, %r8d
addl %r9d, %r8d
sarl %r8d
addl %eax, %r8d
movslq %r8d, %r9
movq (%rsi,%r9,8), %r9
testl %ecx, %ecx
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpq %rdi, %r9
jg LBB0_5
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cmpq %rdi, %r9
jge LBB0_5
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
incl %r8d
movl %r8d, %eax
cmpl %eax, %edx
jg LBB0_1
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _intset_binsrch_leaf
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function intset_binsrch_leaf
_intset_binsrch_leaf: ; @intset_binsrch_leaf
.cfi_startproc
; %bb.0:
cmp w2, #1
b.lt LBB0_4
; %bb.1:
mov w8, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
sub w9, w2, w8
cmp w9, #0
cinc w9, w9, lt
add w9, w8, w9, asr #1
ldr x10, [x1, w9, sxtw #3]
cmp x10, x0
csel w10, w2, w9, lt
csinc w11, w8, w9, ge
csel w12, w9, w2, gt
csinc w8, w8, w9, gt
cmp w3, #0
csel w2, w10, w12, eq
csel w8, w11, w8, eq
cmp w2, w8
b.gt LBB0_2
; %bb.3:
mov x0, x8
ret
LBB0_4:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _intset_binsrch_leaf
.subsections_via_symbols
| AnghaBench/postgres/src/backend/lib/extr_integerset.c_intset_binsrch_leaf.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _fseek
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
movq %rax, %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _fgetc
cmpl $-1, %eax
je LBB0_3
## %bb.1: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %edi
movq %rbx, %rsi
callq _fputc
jmp LBB0_2
LBB0_3:
movq %r14, %rdi
callq _fclose
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _fclose ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "a"
L_.str.1: ## @.str.1
.asciz "rb"
L_.str.2: ## @.str.2
.asciz "b"
L_.str.3: ## @.str.3
.asciz "wb"
.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 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 x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x19, x0
mov x1, #0
mov w2, #0
bl _fseek
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
mov x20, x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _fgetc
cmn w0, #1
b.eq LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
mov x1, x20
bl _fputc
b LBB0_1
LBB0_3:
mov x0, x19
bl _fclose
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _fclose
.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 "a"
l_.str.1: ; @.str.1
.asciz "rb"
l_.str.2: ; @.str.2
.asciz "b"
l_.str.3: ; @.str.3
.asciz "wb"
.subsections_via_symbols
| the_stack_data/962667.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _EVP_Cipher ## -- Begin function EVP_Cipher
.p2align 4, 0x90
_EVP_Cipher: ## @EVP_Cipher
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rax
cmpq $0, 32(%rax)
je LBB0_8
## %bb.1:
movq $0, -40(%rbp)
movq %rbx, %rdi
callq _EVP_CIPHER_CTX_block_size
movq (%rbx), %r10
movq 24(%r10), %r11
testq %r11, %r11
je LBB0_3
## %bb.2:
movl 8(%rbx), %edi
movl %r12d, %r9d
xorl %ebx, %ebx
cmpq $1, %rax
cmovel %ebx, %eax
addl %r12d, %eax
leaq -40(%rbp), %rdx
movq %r14, %rsi
movl %eax, %ecx
movq %r15, %r8
callq *%r11
cmpq $1, %rax
sbbl %ebx, %ebx
orl -40(%rbp), %ebx
jmp LBB0_7
LBB0_8:
movq 16(%rax), %rax
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movl %r12d, %ecx
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_3:
testq %r15, %r15
je LBB0_5
## %bb.4:
movl 8(%rbx), %edi
movl %r12d, %r9d
xorl %ecx, %ecx
cmpq $1, %rax
cmovnel %eax, %ecx
addl %r12d, %ecx
leaq -40(%rbp), %rdx
movq %r14, %rsi
movq %r15, %r8
callq *(%r10)
jmp LBB0_6
LBB0_5:
movl 8(%rbx), %edi
xorl %ecx, %ecx
cmpq $1, %rax
cmovneq %rax, %rcx
leaq -40(%rbp), %rdx
movq %r14, %rsi
callq *8(%r10)
LBB0_6:
movl %eax, %ebx
LBB0_7:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _EVP_Cipher ; -- Begin function EVP_Cipher
.p2align 2
_EVP_Cipher: ; @EVP_Cipher
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x3
mov x20, x2
mov x19, x1
mov x22, x0
ldr x8, [x0]
ldr x9, [x8, #32]
cbz x9, LBB0_3
; %bb.1:
str xzr, [sp, #8]
mov x0, x22
bl _EVP_CIPHER_CTX_block_size
ldr x8, [x22]
ldr x9, [x8, #24]
cbz x9, LBB0_4
; %bb.2:
ldr w8, [x22, #8]
mov w5, w21
cmp x0, #1
csel w10, wzr, w0, eq
add w3, w10, w21
add x2, sp, #8
mov x0, x8
mov x1, x19
mov x4, x20
blr x9
ldr w8, [sp, #8]
cmp x0, #0
csinv w0, w8, wzr, ne
b LBB0_7
LBB0_3:
ldr x4, [x8, #16]
mov x0, x22
mov x1, x19
mov x2, x20
mov x3, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
br x4
LBB0_4:
cbz x20, LBB0_6
; %bb.5:
ldr x9, [x8]
ldr w8, [x22, #8]
mov w5, w21
cmp x0, #1
csel w10, wzr, w0, eq
add w3, w10, w21
add x2, sp, #8
mov x0, x8
mov x1, x19
mov x4, x20
blr x9
b LBB0_7
LBB0_6:
ldr x9, [x8, #8]
ldr w8, [x22, #8]
cmp x0, #1
csel x3, xzr, x0, eq
add x2, sp, #8
mov x0, x8
mov x1, x19
blr x9
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
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/openssl/crypto/evp/extr_evp_lib.c_EVP_Cipher.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _amdgpu_vm_ioctl ## -- Begin function amdgpu_vm_ioctl
.p2align 4, 0x90
_amdgpu_vm_ioctl: ## @amdgpu_vm_ioctl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rax
movq (%rdi), %rdi
movq (%rdx), %rsi
movl (%rax), %eax
cmpl $128, %eax
je LBB0_4
## %bb.1:
cmpl $129, %eax
jne LBB0_3
## %bb.2:
movq _AMDGPU_GFXHUB_0@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _amdgpu_vmid_alloc_reserved
testl %eax, %eax
je LBB0_5
## %bb.6:
popq %rbp
retq
LBB0_4:
movq _AMDGPU_GFXHUB_0@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _amdgpu_vmid_free_reserved
LBB0_5:
xorl %eax, %eax
popq %rbp
retq
LBB0_3:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AMDGPU_GFXHUB_0,4,2 ## @AMDGPU_GFXHUB_0
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _amdgpu_vm_ioctl ; -- Begin function amdgpu_vm_ioctl
.p2align 2
_amdgpu_vm_ioctl: ; @amdgpu_vm_ioctl
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, x1
ldr x0, [x0]
ldr x1, [x2]
ldr w8, [x8]
cmp w8, #128
b.eq LBB0_4
; %bb.1:
cmp w8, #129
b.ne LBB0_6
; %bb.2:
Lloh0:
adrp x8, _AMDGPU_GFXHUB_0@GOTPAGE
Lloh1:
ldr x8, [x8, _AMDGPU_GFXHUB_0@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
bl _amdgpu_vmid_alloc_reserved
cbz w0, LBB0_5
; %bb.3:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_4:
Lloh3:
adrp x8, _AMDGPU_GFXHUB_0@GOTPAGE
Lloh4:
ldr x8, [x8, _AMDGPU_GFXHUB_0@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
bl _amdgpu_vmid_free_reserved
LBB0_5:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_6:
Lloh6:
adrp x8, _EINVAL@GOTPAGE
Lloh7:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _AMDGPU_GFXHUB_0,4,2 ; @AMDGPU_GFXHUB_0
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_vm.c_amdgpu_vm_ioctl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function at_context_flush
_at_context_flush: ## @at_context_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
leaq 4(%rdi), %r14
movq %r14, %rdi
callq _tasklet_disable
movl $1, (%rbx)
movq %rbx, %rdi
callq _context_tasklet
movl $0, (%rbx)
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _tasklet_enable ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _at_context_flush
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function at_context_flush
_at_context_flush: ; @at_context_flush
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x20, x0, #4
mov x0, x20
bl _tasklet_disable
mov w8, #1
str w8, [x19]
mov x0, x19
bl _context_tasklet
str wzr, [x19]
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _tasklet_enable
.cfi_endproc
; -- End function
.no_dead_strip _at_context_flush
.subsections_via_symbols
| AnghaBench/linux/drivers/firewire/extr_ohci.c_at_context_flush.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_client_conflict_text_get_contents ## -- Begin function svn_client_conflict_text_get_contents
.p2align 4, 0x90
_svn_client_conflict_text_get_contents: ## @svn_client_conflict_text_get_contents
.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, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
movq 16(%rbp), %rsi
movq %r8, %rdi
callq _assert_text_conflict
movl %eax, %edi
callq _SVN_ERR
testq %r13, %r13
je LBB0_5
## %bb.1:
movq %rbx, %rdi
callq _svn_client_conflict_get_operation
movq _svn_wc_operation_merge@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.2:
xorl %eax, %eax
jmp LBB0_4
LBB0_3:
movq %rbx, %rdi
callq _get_conflict_desc2_t
movq (%rax), %rax
LBB0_4:
movq %rax, (%r13)
LBB0_5:
testq %r12, %r12
je LBB0_7
## %bb.6:
movq %rbx, %rdi
callq _get_conflict_desc2_t
movq 8(%rax), %rax
movq %rax, (%r12)
LBB0_7:
testq %r15, %r15
je LBB0_9
## %bb.8:
movq %rbx, %rdi
callq _get_conflict_desc2_t
movq (%rax), %rax
movq %rax, (%r15)
LBB0_9:
testq %r14, %r14
je LBB0_11
## %bb.10:
movq %rbx, %rdi
callq _get_conflict_desc2_t
movq 16(%rax), %rax
movq %rax, (%r14)
LBB0_11:
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 _svn_wc_operation_merge,8,3 ## @svn_wc_operation_merge
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_client_conflict_text_get_contents ; -- Begin function svn_client_conflict_text_get_contents
.p2align 2
_svn_client_conflict_text_get_contents: ; @svn_client_conflict_text_get_contents
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x4
mov x19, x3
mov x21, x2
mov x22, x1
mov x23, x0
mov x0, x4
mov x1, x6
bl _assert_text_conflict
bl _SVN_ERR
cbz x23, LBB0_5
; %bb.1:
mov x0, x20
bl _svn_client_conflict_get_operation
Lloh0:
adrp x8, _svn_wc_operation_merge@GOTPAGE
Lloh1:
ldr x8, [x8, _svn_wc_operation_merge@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_3
; %bb.2:
mov x8, #0
b LBB0_4
LBB0_3:
mov x0, x20
bl _get_conflict_desc2_t
ldr x8, [x0]
LBB0_4:
str x8, [x23]
LBB0_5:
cbz x22, LBB0_7
; %bb.6:
mov x0, x20
bl _get_conflict_desc2_t
ldr x8, [x0, #8]
str x8, [x22]
LBB0_7:
cbz x21, LBB0_9
; %bb.8:
mov x0, x20
bl _get_conflict_desc2_t
ldr x8, [x0]
str x8, [x21]
LBB0_9:
cbz x19, LBB0_11
; %bb.10:
mov x0, x20
bl _get_conflict_desc2_t
ldr x8, [x0, #16]
str x8, [x19]
LBB0_11:
Lloh3:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _svn_wc_operation_merge,8,3 ; @svn_wc_operation_merge
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_conflicts.c_svn_client_conflict_text_get_contents.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $40024, %eax ## imm = 0x9C58
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq L_.str(%rip), %rdi
leaq -40036(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -40036(%rbp)
js LBB0_6
## %bb.1:
movq $-1, %r15
leaq -40032(%rbp), %rbx
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movslq -40036(%rbp), %rax
incq %r15
addq $4, %rbx
cmpq %rax, %r15
jl LBB0_2
## %bb.3:
movl %eax, %ebx
testl %ebx, %ebx
js LBB0_6
## %bb.4:
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -40032(%rbp,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
addq $-1, %rbx
jb LBB0_5
LBB0_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_8
## %bb.7:
xorl %eax, %eax
addq $40024, %rsp ## imm = 0x9C58
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.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:
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 w9, #40032
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #9, lsl #12 ; =36864
sub sp, sp, #3168
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-40]
add x8, sp, #20
str x8, [sp]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #20]
tbnz w8, #31, LBB0_6
; %bb.1:
mov x20, #-1
add x21, sp, #24
Lloh7:
adrp x19, l_.str@PAGE
Lloh8:
add x19, x19, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x21, [sp]
mov x0, x19
bl _scanf
ldrsw x8, [sp, #20]
add x20, x20, #1
add x21, x21, #4
cmp x20, x8
b.lt LBB0_2
; %bb.3:
and x8, x8, #0xffffffff
tbnz w8, #31, LBB0_6
; %bb.4:
lsl x20, x8, #2
add x21, sp, #24
Lloh9:
adrp x19, l_.str.1@PAGE
Lloh10:
add x19, x19, l_.str.1@PAGEOFF
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21, x20]
str x8, [sp]
mov x0, x19
bl _printf
sub x20, x20, #4
cmn x20, #4
b.ne LBB0_5
LBB0_6:
ldur x8, [x29, #-40]
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_8
; %bb.7:
mov w0, #0
add sp, sp, #9, lsl #12 ; =36864
add sp, sp, #3168
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_8:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d "
.subsections_via_symbols
| the_stack_data/161081838.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isPrime ## -- Begin function isPrime
.p2align 4, 0x90
_isPrime: ## @isPrime
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $2, %edi
jae LBB0_2
## %bb.1:
xorl %eax, %eax
LBB0_7:
## kill: def $al killed $al killed $eax
popq %rbp
retq
LBB0_2:
movb $1, %al
cmpl $4, %edi
jb LBB0_7
## %bb.3:
movl $2, %ecx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl %edi, %eax
xorl %edx, %edx
divl %ecx
testl %edx, %edx
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
incl %ecx
movl %ecx, %eax
imull %ecx, %eax
cmpl %edi, %eax
jbe LBB0_4
LBB0_6:
testl %edx, %edx
setne %al
## kill: def $al killed $al killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
xorl %ecx, %ecx
xorl %esi, %esi
jmp LBB1_1
.p2align 4, 0x90
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movslq %esi, %rsi
movl %ecx, -64(%rbp,%rsi,4)
incl %esi
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
leal 2(%rcx), %eax
cmpl $18, %ecx
movl %eax, %ecx
jae LBB1_8
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_5 Depth 2
testl %ecx, %ecx
je LBB1_7
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
cmpl $4, %ecx
jb LBB1_6
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl $3, %edi
.p2align 4, 0x90
LBB1_5: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
leal -1(%rdi), %ebx
movl %ecx, %eax
xorl %edx, %edx
divl %ebx
testl %edx, %edx
je LBB1_7
## %bb.4: ## in Loop: Header=BB1_5 Depth=2
movl %edi, %eax
imull %edi, %eax
incl %edi
cmpl %ecx, %eax
jbe LBB1_5
jmp LBB1_6
LBB1_8:
movl -64(%rbp), %esi
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl -60(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl -56(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl -52(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl -48(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl -44(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl -40(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl -36(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl -32(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl -28(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB1_10
## %bb.9:
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %rbp
retq
LBB1_10:
callq ___stack_chk_fail
.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 _isPrime ; -- Begin function isPrime
.p2align 2
_isPrime: ; @isPrime
.cfi_startproc
; %bb.0:
cmp w0, #2
b.hs LBB0_2
; %bb.1:
mov w0, #0
ret
LBB0_2:
cmp w0, #4
b.hs LBB0_4
; %bb.3:
mov w0, #1
ret
LBB0_4:
mov w8, #2
LBB0_5: ; =>This Inner Loop Header: Depth=1
udiv w9, w0, w8
msub w9, w9, w8, w0
cmp w9, #0
add w8, w8, #1
mul w10, w8, w8
ccmp w10, w0, #2, ne
b.ls LBB0_5
; %bb.6:
cmp w9, #0
cset w0, ne
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w9, #0
mov w8, #0
Lloh0:
adrp x10, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x10, [x10]
stur x10, [x29, #-24]
add x10, sp, #20
b LBB1_3
LBB1_1: ; in Loop: Header=BB1_3 Depth=1
str w9, [x10, w8, sxtw #2]
add w8, w8, #1
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
add w11, w9, #2
cmp w9, #18
mov x9, x11
b.hs LBB1_8
LBB1_3: ; =>This Loop Header: Depth=1
; Child Loop BB1_6 Depth 2
cbz w9, LBB1_2
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
cmp w9, #4
b.lo LBB1_1
; %bb.5: ; in Loop: Header=BB1_3 Depth=1
mov w11, #3
LBB1_6: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
sub w12, w11, #1
udiv w13, w9, w12
msub w12, w13, w12, w9
cbz w12, LBB1_2
; %bb.7: ; in Loop: Header=BB1_6 Depth=2
mul w12, w11, w11
add w11, w11, #1
cmp w12, w9
b.ls LBB1_6
b LBB1_1
LBB1_8:
ldr w8, [sp, #20]
str x8, [sp]
Lloh3:
adrp x19, l_.str@PAGE
Lloh4:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
ldr w8, [sp, #24]
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
ldr w8, [sp, #28]
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
ldr w8, [sp, #32]
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
ldr w8, [sp, #36]
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
ldr w8, [sp, #40]
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
ldr w8, [sp, #44]
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
ldr w8, [sp, #48]
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
ldr w8, [sp, #52]
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
ldr w8, [sp, #56]
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
ldur x8, [x29, #-24]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_10
; %bb.9:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB1_10:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
.subsections_via_symbols
| the_stack_data/150144087.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_champ_i2d2d2i2i0i2s0_ ## -- Begin function scilab_rt_champ_i2d2d2i2i0i2s0_
.p2align 4, 0x90
_scilab_rt_champ_i2d2d2i2i0i2s0_: ## @scilab_rt_champ_i2d2d2i2i0i2s0_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -64(%rbp) ## 8-byte Spill
movl %r8d, -56(%rbp) ## 4-byte Spill
movl %ecx, -72(%rbp) ## 4-byte Spill
movabsq $4611686018427387900, %rax ## imm = 0x3FFFFFFFFFFFFFFC
testl %edi, %edi
jle LBB0_1
## %bb.2:
movl %esi, %ecx
movl %edi, %r14d
movl %ecx, %r11d
andl $-8, %r11d
leaq -8(%r11), %r8
movq %r8, %r9
shrq $3, %r9
incq %r9
movl %r9d, %r10d
andl $3, %r10d
andq %rax, %r9
leaq 112(%rdx), %rbx
leaq (,%rcx,4), %r15
movq %r10, %r12
shlq $5, %r12
xorl %r13d, %r13d
xorl %eax, %eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
incq %r13
addq %r15, %rbx
addq %r15, %rdx
cmpq %r14, %r13
je LBB0_16
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
## Child Loop BB0_12 Depth 2
## Child Loop BB0_14 Depth 2
testl %esi, %esi
jle LBB0_15
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpl $8, %esi
jae LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
jmp LBB0_14
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movd %eax, %xmm0
pxor %xmm1, %xmm1
cmpq $24, %r8
jae LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
jmp LBB0_10
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movq %r9, %rdi
xorl %eax, %eax
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movdqu -112(%rbx,%rax,4), %xmm2
paddd %xmm0, %xmm2
movdqu -96(%rbx,%rax,4), %xmm0
paddd %xmm1, %xmm0
movdqu -80(%rbx,%rax,4), %xmm1
movdqu -64(%rbx,%rax,4), %xmm3
movdqu -48(%rbx,%rax,4), %xmm4
paddd %xmm1, %xmm4
paddd %xmm2, %xmm4
movdqu -32(%rbx,%rax,4), %xmm2
paddd %xmm3, %xmm2
paddd %xmm0, %xmm2
movdqu -16(%rbx,%rax,4), %xmm0
paddd %xmm4, %xmm0
movdqu (%rbx,%rax,4), %xmm1
paddd %xmm2, %xmm1
addq $32, %rax
addq $-4, %rdi
jne LBB0_9
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
testq %r10, %r10
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
leaq (%rdx,%rax,4), %rax
xorl %edi, %edi
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movdqu (%rax,%rdi), %xmm2
paddd %xmm2, %xmm0
movdqu 16(%rax,%rdi), %xmm2
paddd %xmm2, %xmm1
addq $32, %rdi
cmpq %rdi, %r12
jne LBB0_12
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
paddd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %eax
movq %r11, %rdi
cmpq %rcx, %r11
je LBB0_15
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
addl (%rdx,%rdi,4), %eax
incq %rdi
cmpq %rdi, %rcx
jne LBB0_14
jmp LBB0_15
LBB0_1:
xorl %eax, %eax
LBB0_16:
movl 80(%rbp), %r14d
movl 48(%rbp), %r13d
movl 24(%rbp), %ecx
movq %rcx, -96(%rbp) ## 8-byte Spill
movq 96(%rbp), %rcx
movq %rcx, -104(%rbp) ## 8-byte Spill
movq 88(%rbp), %r15
movl 72(%rbp), %ecx
movl %ecx, -84(%rbp) ## 4-byte Spill
movl 64(%rbp), %ecx
movl %ecx, -80(%rbp) ## 4-byte Spill
movq 56(%rbp), %r12
movl 40(%rbp), %ecx
movl %ecx, -76(%rbp) ## 4-byte Spill
movq 32(%rbp), %rcx
movq %rcx, -48(%rbp) ## 8-byte Spill
movl 16(%rbp), %ecx
movl %ecx, -68(%rbp) ## 4-byte Spill
leaq L_.str(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
pxor %xmm0, %xmm0
movl -72(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
movq -64(%rbp), %r11 ## 8-byte Reload
jle LBB0_25
## %bb.17:
movl -56(%rbp), %r10d ## 4-byte Reload
movl %eax, %r9d
leaq -1(%r10), %r8
movl %r10d, %esi
andl $7, %esi
movl %r10d, %edi
andl $-8, %edi
leaq 56(%r11), %rdx
shlq $3, %r10
pxor %xmm0, %xmm0
xorl %ecx, %ecx
jmp LBB0_18
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_18 Depth=1
incq %rcx
addq %r10, %rdx
addq %r10, %r11
cmpq %r9, %rcx
je LBB0_25
LBB0_18: ## =>This Loop Header: Depth=1
## Child Loop BB0_20 Depth 2
## Child Loop BB0_23 Depth 2
cmpl $0, -56(%rbp) ## 4-byte Folded Reload
jle LBB0_24
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
xorl %eax, %eax
cmpq $7, %r8
jb LBB0_21
.p2align 4, 0x90
LBB0_20: ## Parent Loop BB0_18 Depth=1
## => This Inner Loop Header: Depth=2
addsd -56(%rdx,%rax,8), %xmm0
addsd -48(%rdx,%rax,8), %xmm0
addsd -40(%rdx,%rax,8), %xmm0
addsd -32(%rdx,%rax,8), %xmm0
addsd -24(%rdx,%rax,8), %xmm0
addsd -16(%rdx,%rax,8), %xmm0
addsd -8(%rdx,%rax,8), %xmm0
addsd (%rdx,%rax,8), %xmm0
addq $8, %rax
cmpq %rax, %rdi
jne LBB0_20
LBB0_21: ## in Loop: Header=BB0_18 Depth=1
testq %rsi, %rsi
je LBB0_24
## %bb.22: ## in Loop: Header=BB0_18 Depth=1
leaq (%r11,%rax,8), %rax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_23: ## Parent Loop BB0_18 Depth=1
## => This Inner Loop Header: Depth=2
addsd (%rax,%rbx,8), %xmm0
incq %rbx
cmpq %rbx, %rsi
jne LBB0_23
jmp LBB0_24
LBB0_25:
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
movl -68(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
movq -96(%rbp), %r11 ## 8-byte Reload
pxor %xmm0, %xmm0
jle LBB0_34
## %bb.26:
movl %eax, %r9d
leaq -1(%r11), %r8
movl %r11d, %edx
andl $7, %edx
movl %r11d, %esi
andl $-8, %esi
movq -48(%rbp), %rax ## 8-byte Reload
leaq 56(%rax), %rdi
leaq (,%r11,8), %r10
pxor %xmm0, %xmm0
xorl %eax, %eax
jmp LBB0_27
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_27 Depth=1
incq %rax
addq %r10, %rdi
addq %r10, -48(%rbp) ## 8-byte Folded Spill
cmpq %r9, %rax
je LBB0_34
LBB0_27: ## =>This Loop Header: Depth=1
## Child Loop BB0_29 Depth 2
## Child Loop BB0_32 Depth 2
testl %r11d, %r11d
jle LBB0_33
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
xorl %ecx, %ecx
cmpq $7, %r8
jb LBB0_30
.p2align 4, 0x90
LBB0_29: ## Parent Loop BB0_27 Depth=1
## => This Inner Loop Header: Depth=2
addsd -56(%rdi,%rcx,8), %xmm0
addsd -48(%rdi,%rcx,8), %xmm0
addsd -40(%rdi,%rcx,8), %xmm0
addsd -32(%rdi,%rcx,8), %xmm0
addsd -24(%rdi,%rcx,8), %xmm0
addsd -16(%rdi,%rcx,8), %xmm0
addsd -8(%rdi,%rcx,8), %xmm0
addsd (%rdi,%rcx,8), %xmm0
addq $8, %rcx
cmpq %rcx, %rsi
jne LBB0_29
LBB0_30: ## in Loop: Header=BB0_27 Depth=1
testq %rdx, %rdx
je LBB0_33
## %bb.31: ## in Loop: Header=BB0_27 Depth=1
movq -48(%rbp), %rbx ## 8-byte Reload
leaq (%rbx,%rcx,8), %rcx
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_32: ## Parent Loop BB0_27 Depth=1
## => This Inner Loop Header: Depth=2
addsd (%rcx,%rbx,8), %xmm0
incq %rbx
cmpq %rbx, %rdx
jne LBB0_32
jmp LBB0_33
LBB0_34:
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
xorl %ebx, %ebx
movl $0, %esi
movl -76(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
jle LBB0_49
## %bb.35:
movl %eax, %r10d
movl %r13d, %r11d
andl $-8, %r11d
leaq -8(%r11), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rax, %rcx
shrq $3, %rcx
incq %rcx
movl %ecx, %esi
andl $3, %esi
movabsq $4611686018427387900, %rax ## imm = 0x3FFFFFFFFFFFFFFC
andq %rax, %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
leaq 112(%r12), %rdx
leaq (,%r13,4), %rdi
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rsi, %rcx
shlq $5, %rcx
xorl %r8d, %r8d
xorl %esi, %esi
jmp LBB0_36
.p2align 4, 0x90
LBB0_48: ## in Loop: Header=BB0_36 Depth=1
incq %r8
addq %rdi, %rdx
addq %rdi, %r12
cmpq %r10, %r8
je LBB0_49
LBB0_36: ## =>This Loop Header: Depth=1
## Child Loop BB0_42 Depth 2
## Child Loop BB0_45 Depth 2
## Child Loop BB0_47 Depth 2
testl %r13d, %r13d
jle LBB0_48
## %bb.37: ## in Loop: Header=BB0_36 Depth=1
cmpl $8, %r13d
jae LBB0_39
## %bb.38: ## in Loop: Header=BB0_36 Depth=1
xorl %eax, %eax
jmp LBB0_47
.p2align 4, 0x90
LBB0_39: ## in Loop: Header=BB0_36 Depth=1
movd %esi, %xmm0
cmpq $24, -48(%rbp) ## 8-byte Folded Reload
jae LBB0_41
## %bb.40: ## in Loop: Header=BB0_36 Depth=1
pxor %xmm1, %xmm1
xorl %esi, %esi
jmp LBB0_43
LBB0_41: ## in Loop: Header=BB0_36 Depth=1
pxor %xmm1, %xmm1
movq -64(%rbp), %r9 ## 8-byte Reload
xorl %esi, %esi
.p2align 4, 0x90
LBB0_42: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
movdqu -112(%rdx,%rsi,4), %xmm2
paddd %xmm0, %xmm2
movdqu -96(%rdx,%rsi,4), %xmm0
paddd %xmm1, %xmm0
movdqu -80(%rdx,%rsi,4), %xmm1
movdqu -64(%rdx,%rsi,4), %xmm3
movdqu -48(%rdx,%rsi,4), %xmm4
paddd %xmm1, %xmm4
paddd %xmm2, %xmm4
movdqu -32(%rdx,%rsi,4), %xmm2
paddd %xmm3, %xmm2
paddd %xmm0, %xmm2
movdqu -16(%rdx,%rsi,4), %xmm0
paddd %xmm4, %xmm0
movdqu (%rdx,%rsi,4), %xmm1
paddd %xmm2, %xmm1
addq $32, %rsi
addq $-4, %r9
jne LBB0_42
LBB0_43: ## in Loop: Header=BB0_36 Depth=1
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
je LBB0_46
## %bb.44: ## in Loop: Header=BB0_36 Depth=1
leaq (%r12,%rsi,4), %rax
xorl %esi, %esi
.p2align 4, 0x90
LBB0_45: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
movdqu (%rax,%rsi), %xmm2
paddd %xmm2, %xmm0
movdqu 16(%rax,%rsi), %xmm2
paddd %xmm2, %xmm1
addq $32, %rsi
cmpq %rsi, %rcx
jne LBB0_45
LBB0_46: ## in Loop: Header=BB0_36 Depth=1
paddd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %esi
movq %r11, %rax
cmpq %r13, %r11
je LBB0_48
.p2align 4, 0x90
LBB0_47: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
addl (%r12,%rax,4), %esi
incq %rax
cmpq %rax, %r13
jne LBB0_47
jmp LBB0_48
LBB0_49:
leaq L_.str(%rip), %r12
movq %r12, %rdi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
movl -80(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _printf
movl -84(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
jle LBB0_64
## %bb.50:
movl %eax, %r12d
movl %r14d, %r11d
andl $-8, %r11d
leaq -8(%r11), %r8
movq %r8, %r9
shrq $3, %r9
incq %r9
movl %r9d, %r10d
andl $3, %r10d
movabsq $4611686018427387900, %rax ## imm = 0x3FFFFFFFFFFFFFFC
andq %rax, %r9
leaq 112(%r15), %rdx
leaq (,%r14,4), %rsi
movq %r10, %rdi
shlq $5, %rdi
xorl %ecx, %ecx
xorl %ebx, %ebx
jmp LBB0_51
.p2align 4, 0x90
LBB0_63: ## in Loop: Header=BB0_51 Depth=1
incq %rcx
addq %rsi, %rdx
addq %rsi, %r15
cmpq %r12, %rcx
je LBB0_64
LBB0_51: ## =>This Loop Header: Depth=1
## Child Loop BB0_57 Depth 2
## Child Loop BB0_60 Depth 2
## Child Loop BB0_62 Depth 2
testl %r14d, %r14d
jle LBB0_63
## %bb.52: ## in Loop: Header=BB0_51 Depth=1
cmpl $8, %r14d
jae LBB0_54
## %bb.53: ## in Loop: Header=BB0_51 Depth=1
xorl %eax, %eax
jmp LBB0_62
.p2align 4, 0x90
LBB0_54: ## in Loop: Header=BB0_51 Depth=1
movd %ebx, %xmm0
pxor %xmm1, %xmm1
cmpq $24, %r8
jae LBB0_56
## %bb.55: ## in Loop: Header=BB0_51 Depth=1
xorl %ebx, %ebx
jmp LBB0_58
LBB0_56: ## in Loop: Header=BB0_51 Depth=1
movq %r9, %rax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_57: ## Parent Loop BB0_51 Depth=1
## => This Inner Loop Header: Depth=2
movdqu -112(%rdx,%rbx,4), %xmm2
paddd %xmm0, %xmm2
movdqu -96(%rdx,%rbx,4), %xmm0
paddd %xmm1, %xmm0
movdqu -80(%rdx,%rbx,4), %xmm1
movdqu -64(%rdx,%rbx,4), %xmm3
movdqu -48(%rdx,%rbx,4), %xmm4
paddd %xmm1, %xmm4
paddd %xmm2, %xmm4
movdqu -32(%rdx,%rbx,4), %xmm2
paddd %xmm3, %xmm2
paddd %xmm0, %xmm2
movdqu -16(%rdx,%rbx,4), %xmm0
paddd %xmm4, %xmm0
movdqu (%rdx,%rbx,4), %xmm1
paddd %xmm2, %xmm1
addq $32, %rbx
addq $-4, %rax
jne LBB0_57
LBB0_58: ## in Loop: Header=BB0_51 Depth=1
testq %r10, %r10
je LBB0_61
## %bb.59: ## in Loop: Header=BB0_51 Depth=1
leaq (%r15,%rbx,4), %rax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_60: ## Parent Loop BB0_51 Depth=1
## => This Inner Loop Header: Depth=2
movdqu (%rax,%rbx), %xmm2
paddd %xmm2, %xmm0
movdqu 16(%rax,%rbx), %xmm2
paddd %xmm2, %xmm1
addq $32, %rbx
cmpq %rbx, %rdi
jne LBB0_60
LBB0_61: ## in Loop: Header=BB0_51 Depth=1
paddd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %ebx
movq %r11, %rax
cmpq %r14, %r11
je LBB0_63
.p2align 4, 0x90
LBB0_62: ## Parent Loop BB0_51 Depth=1
## => This Inner Loop Header: Depth=2
addl (%r15,%rax,4), %ebx
incq %rax
cmpq %rax, %r14
jne LBB0_62
jmp LBB0_63
LBB0_64:
leaq L_.str(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
movq -104(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_champ_i2d2d2i2i0i2s0_ ; -- Begin function scilab_rt_champ_i2d2d2i2i0i2s0_
.p2align 2
_scilab_rt_champ_i2d2d2i2i0i2s0_: ; @scilab_rt_champ_i2d2d2i2i0i2s0_
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
mov x19, x7
mov x20, x6
mov x21, x5
mov x22, x4
mov x23, x3
cmp w0, #1
b.lt LBB0_11
; %bb.1:
mov x8, #0
mov w14, #0
mov w9, w1
mov w10, w0
and x11, x9, #0xfffffff0
add x12, x2, #32
lsl x13, x9, #2
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x8, x8, #1
add x12, x12, x13
add x2, x2, x13
cmp x8, x10
b.eq LBB0_12
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_10 Depth 2
cmp w1, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w1, #16
b.hs LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x16, #0
b LBB0_9
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
movi.2d v0, #0000000000000000
mov.s v0[0], w14
movi.2d v1, #0000000000000000
mov x14, x11
mov x15, x12
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q5, [x15, #-32]
ldp q6, q7, [x15], #64
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x14, x14, #16
b.ne LBB0_7
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w14, s0
mov x16, x11
cmp x11, x9
b.eq LBB0_2
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
add x15, x2, x16, lsl #2
sub x16, x9, x16
LBB0_10: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x15], #4
add w14, w17, w14
subs x16, x16, #1
b.ne LBB0_10
b LBB0_2
LBB0_11:
mov w14, #0
LBB0_12:
str x14, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
movi d8, #0000000000000000
movi d0, #0000000000000000
cmp w23, #1
b.lt LBB0_18
; %bb.13:
mov x8, #0
mov w9, w22
mov w10, w23
lsl x11, x9, #3
movi d0, #0000000000000000
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
add x8, x8, #1
add x21, x21, x11
cmp x8, x10
b.eq LBB0_18
LBB0_15: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
cmp w22, #1
b.lt LBB0_14
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
mov x12, x9
mov x13, x21
LBB0_17: ; Parent Loop BB0_15 Depth=1
; => This Inner Loop Header: Depth=2
ldr d1, [x13], #8
fadd d0, d0, d1
subs x12, x12, #1
b.ne LBB0_17
b LBB0_14
LBB0_18:
ldr w21, [x29, #24]
str d0, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
cmp w20, #1
b.lt LBB0_24
; %bb.19:
mov x8, #0
ldr x9, [x29, #16]
mov w10, w19
mov w11, w20
lsl x12, x10, #3
movi d8, #0000000000000000
b LBB0_21
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
add x8, x8, #1
add x9, x9, x12
cmp x8, x11
b.eq LBB0_24
LBB0_21: ; =>This Loop Header: Depth=1
; Child Loop BB0_23 Depth 2
cmp w19, #1
b.lt LBB0_20
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
mov x13, x10
mov x14, x9
LBB0_23: ; Parent Loop BB0_21 Depth=1
; => This Inner Loop Header: Depth=2
ldr d0, [x14], #8
fadd d8, d8, d0
subs x13, x13, #1
b.ne LBB0_23
b LBB0_20
LBB0_24:
ldp w22, w20, [x29, #40]
str d8, [sp]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
cmp w21, #1
b.lt LBB0_35
; %bb.25:
mov x8, #0
mov w14, #0
ldr x9, [x29, #32]
ldr w10, [x29, #28]
and x11, x10, #0xfffffff0
add x12, x9, #32
lsl x13, x10, #2
b LBB0_27
LBB0_26: ; in Loop: Header=BB0_27 Depth=1
add x8, x8, #1
add x12, x12, x13
add x9, x9, x13
cmp x8, x21
b.eq LBB0_36
LBB0_27: ; =>This Loop Header: Depth=1
; Child Loop BB0_31 Depth 2
; Child Loop BB0_34 Depth 2
cmp w10, #1
b.lt LBB0_26
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
cmp w10, #16
b.hs LBB0_30
; %bb.29: ; in Loop: Header=BB0_27 Depth=1
mov x16, #0
b LBB0_33
LBB0_30: ; in Loop: Header=BB0_27 Depth=1
movi.2d v0, #0000000000000000
mov.s v0[0], w14
movi.2d v1, #0000000000000000
mov x14, x11
mov x15, x12
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_31: ; Parent Loop BB0_27 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q5, [x15, #-32]
ldp q6, q7, [x15], #64
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x14, x14, #16
b.ne LBB0_31
; %bb.32: ; in Loop: Header=BB0_27 Depth=1
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w14, s0
mov x16, x11
cmp x11, x10
b.eq LBB0_26
LBB0_33: ; in Loop: Header=BB0_27 Depth=1
add x15, x9, x16, lsl #2
sub x16, x10, x16
LBB0_34: ; Parent Loop BB0_27 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x15], #4
add w14, w17, w14
subs x16, x16, #1
b.ne LBB0_34
b LBB0_26
LBB0_35:
mov w14, #0
LBB0_36:
ldr x21, [x29, #64]
str x14, [sp]
Lloh6:
adrp x19, l_.str@PAGE
Lloh7:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
str x22, [sp]
mov x0, x19
bl _printf
cmp w20, #1
b.lt LBB0_47
; %bb.37:
mov x8, #0
mov w14, #0
ldr x9, [x29, #56]
ldr w10, [x29, #48]
and x11, x10, #0xfffffff0
add x12, x9, #32
lsl x13, x10, #2
b LBB0_39
LBB0_38: ; in Loop: Header=BB0_39 Depth=1
add x8, x8, #1
add x12, x12, x13
add x9, x9, x13
cmp x8, x20
b.eq LBB0_48
LBB0_39: ; =>This Loop Header: Depth=1
; Child Loop BB0_43 Depth 2
; Child Loop BB0_46 Depth 2
cmp w10, #1
b.lt LBB0_38
; %bb.40: ; in Loop: Header=BB0_39 Depth=1
cmp w10, #16
b.hs LBB0_42
; %bb.41: ; in Loop: Header=BB0_39 Depth=1
mov x16, #0
b LBB0_45
LBB0_42: ; in Loop: Header=BB0_39 Depth=1
movi.2d v0, #0000000000000000
mov.s v0[0], w14
movi.2d v1, #0000000000000000
mov x14, x11
mov x15, x12
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_43: ; Parent Loop BB0_39 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q5, [x15, #-32]
ldp q6, q7, [x15], #64
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x14, x14, #16
b.ne LBB0_43
; %bb.44: ; in Loop: Header=BB0_39 Depth=1
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w14, s0
mov x16, x11
cmp x11, x10
b.eq LBB0_38
LBB0_45: ; in Loop: Header=BB0_39 Depth=1
add x15, x9, x16, lsl #2
sub x16, x10, x16
LBB0_46: ; Parent Loop BB0_39 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x15], #4
add w14, w17, w14
subs x16, x16, #1
b.ne LBB0_46
b LBB0_38
LBB0_47:
mov w14, #0
LBB0_48:
str x14, [sp]
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _printf
str x21, [sp]
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
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 d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "%s"
.subsections_via_symbols
| the_stack_data/134884.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dlopen4029 ## -- Begin function dlopen4029
.p2align 4, 0x90
_dlopen4029: ## @dlopen4029
.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 _dlopen ## TAILCALL
.cfi_endproc
## -- End function
.globl _dlsym4029 ## -- Begin function dlsym4029
.p2align 4, 0x90
_dlsym4029: ## @dlsym4029
.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 _dlsym ## TAILCALL
.cfi_endproc
## -- End function
.globl _dlclose4029 ## -- Begin function dlclose4029
.p2align 4, 0x90
_dlclose4029: ## @dlclose4029
.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 _dlclose ## TAILCALL
.cfi_endproc
## -- End function
.globl _call4029 ## -- Begin function call4029
.p2align 4, 0x90
_call4029: ## @call4029
.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
jmpq *%rdi ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dlopen4029 ; -- Begin function dlopen4029
.p2align 2
_dlopen4029: ; @dlopen4029
.cfi_startproc
; %bb.0:
b _dlopen
.cfi_endproc
; -- End function
.globl _dlsym4029 ; -- Begin function dlsym4029
.p2align 2
_dlsym4029: ; @dlsym4029
.cfi_startproc
; %bb.0:
b _dlsym
.cfi_endproc
; -- End function
.globl _dlclose4029 ; -- Begin function dlclose4029
.p2align 2
_dlclose4029: ; @dlclose4029
.cfi_startproc
; %bb.0:
b _dlclose
.cfi_endproc
; -- End function
.globl _call4029 ; -- Begin function call4029
.p2align 2
_call4029: ; @call4029
.cfi_startproc
; %bb.0:
br x0
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/187642592.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cdf_check_stream
_cdf_check_stream: ## @cdf_check_stream
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rax
cmpq (%rsi), %rax
jge LBB0_2
## %bb.1:
movq %rsi, %rdi
callq _CDF_SHORT_SEC_SIZE
jmp LBB0_3
LBB0_2:
movq %rsi, %rdi
callq _CDF_SEC_SIZE
LBB0_3:
xorl %edi, %edi
cmpq 8(%rbx), %rax
sete %dil
callq _assert
movq 8(%rbx), %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _cdf_check_stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cdf_check_stream
_cdf_check_stream: ; @cdf_check_stream
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0]
ldr x9, [x1]
mov x0, x1
cmp x8, x9
b.ge LBB0_2
; %bb.1:
bl _CDF_SHORT_SEC_SIZE
b LBB0_3
LBB0_2:
bl _CDF_SEC_SIZE
LBB0_3:
ldr x8, [x19, #8]
cmp x0, x8
cset w0, eq
bl _assert
ldr x0, [x19, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _cdf_check_stream
.subsections_via_symbols
| AnghaBench/freebsd/contrib/file/src/extr_cdf.c_cdf_check_stream.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ngx_ssl_free_buffer ## -- Begin function ngx_ssl_free_buffer
.p2align 4, 0x90
_ngx_ssl_free_buffer: ## @ngx_ssl_free_buffer
.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), %rax
movq (%rax), %rax
testq %rax, %rax
je LBB0_4
## %bb.1:
movq (%rax), %rsi
testq %rsi, %rsi
je LBB0_4
## %bb.2:
movq %rdi, %rbx
movl 8(%rdi), %edi
callq _ngx_pfree
movq _NGX_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.3:
movq (%rbx), %rax
movq (%rax), %rax
movq $0, (%rax)
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NGX_OK,8,3 ## @NGX_OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ngx_ssl_free_buffer ; -- Begin function ngx_ssl_free_buffer
.p2align 2
_ngx_ssl_free_buffer: ; @ngx_ssl_free_buffer
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x0]
ldr x8, [x8]
cbz x8, LBB0_4
; %bb.1:
ldr x1, [x8]
cbz x1, LBB0_4
; %bb.2:
mov x19, x0
ldr w0, [x0, #8]
bl _ngx_pfree
Lloh0:
adrp x8, _NGX_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_4
; %bb.3:
ldr x8, [x19]
ldr x8, [x8]
str xzr, [x8]
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NGX_OK,8,3 ; @NGX_OK
.subsections_via_symbols
| AnghaBench/nginx/src/event/extr_ngx_event_openssl.c_ngx_ssl_free_buffer.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
movq %rsi, %r14
movl %edi, %r12d
decl %r12d
je LBB0_1
## %bb.2:
movl %edi, %r15d
movslq %edi, %rdi
movl $4, %esi
callq _calloc
movq %rax, %rbx
movq 8(%r14), %rdi
testq %rdi, %rdi
je LBB0_5
## %bb.3:
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
callq _atoi
movl %eax, (%rbx,%r13)
movq 16(%r14,%r13,2), %rdi
addq $4, %r13
testq %rdi, %rdi
jne LBB0_4
LBB0_5:
cmpl $2, %r15d
jl LBB0_16
## %bb.6:
movl %r12d, %r11d
movl $1, %r9d
xorl %r10d, %r10d
jmp LBB0_7
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_7 Depth=1
incq %r9
movq %r8, %r10
cmpq %r11, %r8
je LBB0_16
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
leaq 1(%r10), %r8
cmpq %r11, %r8
jae LBB0_8
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq %r9, %rcx
movl %r10d, %edi
jmp LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_10 Depth=2
incq %rcx
movl %esi, %edi
cmpq %rcx, %r11
je LBB0_13
LBB0_10: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rbx,%rcx,4), %edx
movslq %edi, %rax
movl %ecx, %esi
cmpl (%rbx,%rax,4), %edx
jl LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movl %edi, %esi
jmp LBB0_12
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_7 Depth=1
movl %r10d, %esi
LBB0_13: ## in Loop: Header=BB0_7 Depth=1
movl %esi, %eax
cmpq %rax, %r10
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_7 Depth=1
movl (%rbx,%r10,4), %eax
movslq %esi, %rcx
movl (%rbx,%rcx,4), %edx
movl %edx, (%rbx,%r10,4)
movl %eax, (%rbx,%rcx,4)
jmp LBB0_15
LBB0_16:
movl (%rbx), %esi
testl %esi, %esi
je LBB0_19
## %bb.17:
movq %rbx, %r15
addq $4, %r15
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl (%r15), %esi
addq $4, %r15
testl %esi, %esi
jne LBB0_18
LBB0_19:
movl $10, %edi
callq _putchar
movq %rbx, %rdi
callq _free
xorl %eax, %eax
jmp LBB0_20
LBB0_1:
movq (%r14), %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $-1, %eax
LBB0_20:
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 "Usage: %s [NUMBERS.... ]\n"
L_.str.1: ## @.str.1
.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, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x1
subs w22, w0, #1
b.eq LBB0_17
; %bb.1:
mov x20, x0
sxtw x0, w20
mov w1, #4
bl _calloc
mov x19, x0
ldr x0, [x21, #8]
cbz x0, LBB0_4
; %bb.2:
add x21, x21, #16
mov x23, x19
LBB0_3: ; =>This Inner Loop Header: Depth=1
bl _atoi
str w0, [x23], #4
ldr x0, [x21], #8
cbnz x0, LBB0_3
LBB0_4:
cmp w20, #2
b.lt LBB0_13
; %bb.5:
mov x9, #0
mov w8, #1
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add x8, x8, #1
mov x9, x10
cmp x10, x22
b.eq LBB0_13
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
add x10, x9, #1
cmp x10, x22
b.hs LBB0_11
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mov x12, x8
mov x11, x9
LBB0_9: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr w13, [x19, x12, lsl #2]
ldr w14, [x19, w11, sxtw #2]
cmp w13, w14
csel w11, w12, w11, lt
add x12, x12, #1
cmp x22, x12
b.ne LBB0_9
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
cmp x9, w11, uxtw
b.eq LBB0_6
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
mov x11, x9
cmp x9, w11, uxtw
b.eq LBB0_6
LBB0_12: ; in Loop: Header=BB0_7 Depth=1
lsl x9, x9, #2
ldr w12, [x19, x9]
sbfiz x11, x11, #2, #32
ldr w13, [x19, x11]
str w13, [x19, x9]
str w12, [x19, x11]
b LBB0_6
LBB0_13:
ldr w8, [x19]
cbz w8, LBB0_16
; %bb.14:
add x21, x19, #4
Lloh0:
adrp x20, l_.str.1@PAGE
Lloh1:
add x20, x20, l_.str.1@PAGEOFF
LBB0_15: ; =>This Inner Loop Header: Depth=1
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x21], #4
cbnz w8, LBB0_15
LBB0_16:
mov w0, #10
bl _putchar
mov x0, x19
bl _free
mov w0, #0
b LBB0_18
LBB0_17:
ldr x8, [x21]
str x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
LBB0_18:
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 Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage: %s [NUMBERS.... ]\n"
l_.str.1: ; @.str.1
.asciz " %d "
.subsections_via_symbols
| the_stack_data/1189782.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _resettitle ## -- Begin function resettitle
.p2align 4, 0x90
_resettitle: ## @resettitle
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _lasttitle@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _lasticon@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _mch_settitle ## TAILCALL
.cfi_endproc
## -- End function
.comm _lasttitle,4,2 ## @lasttitle
.comm _lasticon,4,2 ## @lasticon
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _resettitle ; -- Begin function resettitle
.p2align 2
_resettitle: ; @resettitle
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _lasttitle@GOTPAGE
Lloh1:
ldr x8, [x8, _lasttitle@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _lasticon@GOTPAGE
Lloh4:
ldr x8, [x8, _lasticon@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
b _mch_settitle
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _lasttitle,4,2 ; @lasttitle
.comm _lasticon,4,2 ; @lasticon
.subsections_via_symbols
| AnghaBench/macvim/src/extr_buffer.c_resettitle.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/95449721.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_ena_eth_io_tx_desc_tso_en
_set_ena_eth_io_tx_desc_tso_en: ## @set_ena_eth_io_tx_desc_tso_en
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ENA_ETH_IO_TX_DESC_TSO_EN_SHIFT@GOTPCREL(%rip), %rax
movb (%rax), %cl
shll %cl, %esi
movq _ENA_ETH_IO_TX_DESC_TSO_EN_MASK@GOTPCREL(%rip), %rax
andl (%rax), %esi
orl %esi, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENA_ETH_IO_TX_DESC_TSO_EN_SHIFT,4,2 ## @ENA_ETH_IO_TX_DESC_TSO_EN_SHIFT
.comm _ENA_ETH_IO_TX_DESC_TSO_EN_MASK,4,2 ## @ENA_ETH_IO_TX_DESC_TSO_EN_MASK
.no_dead_strip _set_ena_eth_io_tx_desc_tso_en
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_ena_eth_io_tx_desc_tso_en
_set_ena_eth_io_tx_desc_tso_en: ; @set_ena_eth_io_tx_desc_tso_en
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ENA_ETH_IO_TX_DESC_TSO_EN_SHIFT@GOTPAGE
Lloh1:
ldr x8, [x8, _ENA_ETH_IO_TX_DESC_TSO_EN_SHIFT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _ENA_ETH_IO_TX_DESC_TSO_EN_MASK@GOTPAGE
Lloh4:
ldr x9, [x9, _ENA_ETH_IO_TX_DESC_TSO_EN_MASK@GOTPAGEOFF]
lsl w8, w1, w8
Lloh5:
ldr w9, [x9]
and w8, w8, w9
ldr w9, [x0]
orr w8, w9, w8
str w8, [x0]
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENA_ETH_IO_TX_DESC_TSO_EN_SHIFT,4,2 ; @ENA_ETH_IO_TX_DESC_TSO_EN_SHIFT
.comm _ENA_ETH_IO_TX_DESC_TSO_EN_MASK,4,2 ; @ENA_ETH_IO_TX_DESC_TSO_EN_MASK
.no_dead_strip _set_ena_eth_io_tx_desc_tso_en
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_defsena_eth_io_defs.h_set_ena_eth_io_tx_desc_tso_en.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nlm4_test_res_4 ## -- Begin function nlm4_test_res_4
.p2align 4, 0x90
_nlm4_test_res_4: ## @nlm4_test_res_4
.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 %r8d, %r10d
movq %rdx, %rbx
movq %rsi, %r11
movq %rdi, %r8
movq _NLM4_TEST_RES@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _xdr_nlm4_testres@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _xdr_void@GOTPCREL(%rip), %rsi
movl (%rsi), %r9d
movq %rbx, %rdi
movq %rcx, %rsi
movl %eax, %ecx
## kill: def $r8d killed $r8d killed $r8
pushq %r10
pushq %r11
callq _CLNT_CALL_EXT
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NLM4_TEST_RES,4,2 ## @NLM4_TEST_RES
.comm _xdr_nlm4_testres,8,3 ## @xdr_nlm4_testres
.comm _xdr_void,8,3 ## @xdr_void
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nlm4_test_res_4 ; -- Begin function nlm4_test_res_4
.p2align 2
_nlm4_test_res_4: ; @nlm4_test_res_4
.cfi_startproc
; %bb.0:
mov x10, x3
mov x9, x2
mov x6, x1
mov x8, x0
and x7, x4, #0xffffffff
Lloh0:
adrp x11, _NLM4_TEST_RES@GOTPAGE
Lloh1:
ldr x11, [x11, _NLM4_TEST_RES@GOTPAGEOFF]
Lloh2:
ldr w2, [x11]
Lloh3:
adrp x11, _xdr_nlm4_testres@GOTPAGE
Lloh4:
ldr x11, [x11, _xdr_nlm4_testres@GOTPAGEOFF]
Lloh5:
ldr w3, [x11]
Lloh6:
adrp x11, _xdr_void@GOTPAGE
Lloh7:
ldr x11, [x11, _xdr_void@GOTPAGEOFF]
Lloh8:
ldr w5, [x11]
mov x0, x9
mov x1, x10
mov x4, x8
; kill: def $w6 killed $w6 killed $x6
b _CLNT_CALL_EXT
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NLM4_TEST_RES,4,2 ; @NLM4_TEST_RES
.comm _xdr_nlm4_testres,8,3 ; @xdr_nlm4_testres
.comm _xdr_void,8,3 ; @xdr_void
.subsections_via_symbols
| AnghaBench/freebsd/sys/nlm/extr_nlm_prot_clnt.c_nlm4_test_res_4.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pinctrl_put ## -- Begin function pinctrl_put
.p2align 4, 0x90
_pinctrl_put: ## @pinctrl_put
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _pinctrl_release@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _kref_put ## TAILCALL
.cfi_endproc
## -- End function
.comm _pinctrl_release,4,2 ## @pinctrl_release
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pinctrl_put ; -- Begin function pinctrl_put
.p2align 2
_pinctrl_put: ; @pinctrl_put
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _pinctrl_release@GOTPAGE
Lloh1:
ldr x8, [x8, _pinctrl_release@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _kref_put
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _pinctrl_release,4,2 ; @pinctrl_release
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/extr_core.c_pinctrl_put.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gmc_v10_0_gart_enable
_gmc_v10_0_gart_enable: ## @gmc_v10_0_gart_enable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
cmpq $0, 8(%rdi)
je LBB0_1
## %bb.2:
movq %r14, %rdi
callq _amdgpu_gart_table_vram_pin
movl %eax, %ebx
testl %eax, %eax
jne LBB0_6
## %bb.3:
movq %r14, %rdi
callq _gfxhub_v2_0_gart_enable
movl %eax, %ebx
testl %eax, %eax
jne LBB0_6
## %bb.4:
movq %r14, %rdi
callq _mmhub_v2_0_gart_enable
movl %eax, %ebx
testl %eax, %eax
jne LBB0_6
## %bb.5:
movq _HDP@GOTPCREL(%rip), %r15
movl (%r15), %edi
movq _mmHDP_MISC_CNTL@GOTPCREL(%rip), %r12
movl (%r12), %edx
xorl %ebx, %ebx
xorl %esi, %esi
callq _RREG32_SOC15
movq _HDP_MISC_CNTL__FLUSH_INVALIDATE_CACHE_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl (%r15), %edi
movl (%r12), %edx
xorl %esi, %esi
movl %eax, %ecx
callq _WREG32_SOC15
movl (%r15), %edi
movq _mmHDP_HOST_PATH_CNTL@GOTPCREL(%rip), %r12
movl (%r12), %edx
xorl %esi, %esi
callq _RREG32_SOC15
movl (%r15), %edi
movl (%r12), %edx
xorl %esi, %esi
movl %eax, %ecx
callq _WREG32_SOC15
movq 24(%r14), %rax
movq %r14, %rdi
xorl %esi, %esi
callq *(%rax)
movq _amdgpu_vm_fault_stop@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _AMDGPU_VM_FAULT_STOP_ALWAYS@GOTPCREL(%rip), %rcx
xorl %r15d, %r15d
cmpq (%rcx), %rax
setne %r15b
movq %r14, %rdi
movl %r15d, %esi
callq _gfxhub_v2_0_set_fault_enable_default
movq %r14, %rdi
movl %r15d, %esi
callq _mmhub_v2_0_set_fault_enable_default
movq _AMDGPU_MMHUB_0@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq _gmc_v10_0_flush_gpu_tlb
movq _AMDGPU_GFXHUB_0@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq _gmc_v10_0_flush_gpu_tlb
movl 16(%r14), %r15d
sarl $20, %r15d
movq 8(%r14), %rdi
callq _amdgpu_bo_gpu_offset
leaq L_.str.1(%rip), %rdi
movl %r15d, %esi
movq %rax, %rdx
callq _DRM_INFO
movl $1, (%r14)
jmp LBB0_6
LBB0_1:
movl 32(%r14), %edi
leaq L_.str(%rip), %rsi
callq _dev_err
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_6:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "No VRAM object for PCIE GART.\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _HDP,4,2 ## @HDP
.comm _mmHDP_MISC_CNTL,4,2 ## @mmHDP_MISC_CNTL
.comm _HDP_MISC_CNTL__FLUSH_INVALIDATE_CACHE_MASK,4,2 ## @HDP_MISC_CNTL__FLUSH_INVALIDATE_CACHE_MASK
.comm _mmHDP_HOST_PATH_CNTL,4,2 ## @mmHDP_HOST_PATH_CNTL
.comm _amdgpu_vm_fault_stop,8,3 ## @amdgpu_vm_fault_stop
.comm _AMDGPU_VM_FAULT_STOP_ALWAYS,8,3 ## @AMDGPU_VM_FAULT_STOP_ALWAYS
.comm _AMDGPU_MMHUB_0,4,2 ## @AMDGPU_MMHUB_0
.comm _AMDGPU_GFXHUB_0,4,2 ## @AMDGPU_GFXHUB_0
L_.str.1: ## @.str.1
.asciz "PCIE GART of %uM enabled (table at 0x%016llX).\n"
.no_dead_strip _gmc_v10_0_gart_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gmc_v10_0_gart_enable
_gmc_v10_0_gart_enable: ; @gmc_v10_0_gart_enable
.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 x8, [x0, #8]
cbz x8, LBB0_5
; %bb.1:
mov x0, x19
bl _amdgpu_gart_table_vram_pin
cbnz w0, LBB0_6
; %bb.2:
mov x0, x19
bl _gfxhub_v2_0_gart_enable
cbnz w0, LBB0_6
; %bb.3:
mov x0, x19
bl _mmhub_v2_0_gart_enable
cbnz w0, LBB0_6
; %bb.4:
Lloh0:
adrp x20, _HDP@GOTPAGE
Lloh1:
ldr x20, [x20, _HDP@GOTPAGEOFF]
ldr w0, [x20]
Lloh2:
adrp x21, _mmHDP_MISC_CNTL@GOTPAGE
Lloh3:
ldr x21, [x21, _mmHDP_MISC_CNTL@GOTPAGEOFF]
ldr w2, [x21]
mov w1, #0
bl _RREG32_SOC15
Lloh4:
adrp x8, _HDP_MISC_CNTL__FLUSH_INVALIDATE_CACHE_MASK@GOTPAGE
Lloh5:
ldr x8, [x8, _HDP_MISC_CNTL__FLUSH_INVALIDATE_CACHE_MASK@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
orr w3, w8, w0
ldr w0, [x20]
ldr w2, [x21]
mov w1, #0
bl _WREG32_SOC15
ldr w0, [x20]
Lloh7:
adrp x21, _mmHDP_HOST_PATH_CNTL@GOTPAGE
Lloh8:
ldr x21, [x21, _mmHDP_HOST_PATH_CNTL@GOTPAGEOFF]
ldr w2, [x21]
mov w1, #0
bl _RREG32_SOC15
mov x3, x0
ldr w0, [x20]
ldr w2, [x21]
mov w1, #0
bl _WREG32_SOC15
ldr x8, [x19, #24]
ldr x8, [x8]
mov x0, x19
mov x1, #0
blr x8
Lloh9:
adrp x8, _amdgpu_vm_fault_stop@GOTPAGE
Lloh10:
ldr x8, [x8, _amdgpu_vm_fault_stop@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
Lloh12:
adrp x9, _AMDGPU_VM_FAULT_STOP_ALWAYS@GOTPAGE
Lloh13:
ldr x9, [x9, _AMDGPU_VM_FAULT_STOP_ALWAYS@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x8, x9
cset w20, ne
mov x0, x19
mov x1, x20
bl _gfxhub_v2_0_set_fault_enable_default
mov x0, x19
mov x1, x20
bl _mmhub_v2_0_set_fault_enable_default
Lloh15:
adrp x8, _AMDGPU_MMHUB_0@GOTPAGE
Lloh16:
ldr x8, [x8, _AMDGPU_MMHUB_0@GOTPAGEOFF]
Lloh17:
ldr w2, [x8]
mov x0, x19
mov w1, #0
mov w3, #0
bl _gmc_v10_0_flush_gpu_tlb
Lloh18:
adrp x8, _AMDGPU_GFXHUB_0@GOTPAGE
Lloh19:
ldr x8, [x8, _AMDGPU_GFXHUB_0@GOTPAGEOFF]
Lloh20:
ldr w2, [x8]
mov x0, x19
mov w1, #0
mov w3, #0
bl _gmc_v10_0_flush_gpu_tlb
ldr w8, [x19, #16]
asr w20, w8, #20
ldr x0, [x19, #8]
bl _amdgpu_bo_gpu_offset
mov x2, x0
Lloh21:
adrp x0, l_.str.1@PAGE
Lloh22:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x20
bl _DRM_INFO
mov w0, #0
mov w8, #1
str w8, [x19]
b LBB0_6
LBB0_5:
ldr w0, [x19, #32]
Lloh23:
adrp x1, l_.str@PAGE
Lloh24:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
Lloh25:
adrp x8, _EINVAL@GOTPAGE
Lloh26:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
neg w0, w8
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh23, Lloh24
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "No VRAM object for PCIE GART.\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _HDP,4,2 ; @HDP
.comm _mmHDP_MISC_CNTL,4,2 ; @mmHDP_MISC_CNTL
.comm _HDP_MISC_CNTL__FLUSH_INVALIDATE_CACHE_MASK,4,2 ; @HDP_MISC_CNTL__FLUSH_INVALIDATE_CACHE_MASK
.comm _mmHDP_HOST_PATH_CNTL,4,2 ; @mmHDP_HOST_PATH_CNTL
.comm _amdgpu_vm_fault_stop,8,3 ; @amdgpu_vm_fault_stop
.comm _AMDGPU_VM_FAULT_STOP_ALWAYS,8,3 ; @AMDGPU_VM_FAULT_STOP_ALWAYS
.comm _AMDGPU_MMHUB_0,4,2 ; @AMDGPU_MMHUB_0
.comm _AMDGPU_GFXHUB_0,4,2 ; @AMDGPU_GFXHUB_0
l_.str.1: ; @.str.1
.asciz "PCIE GART of %uM enabled (table at 0x%016llX).\n"
.no_dead_strip _gmc_v10_0_gart_enable
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gmc_v10_0.c_gmc_v10_0_gart_enable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function devlink_nl_sb_tc_pool_bind_fill
_devlink_nl_sb_tc_pool_bind_fill: ## @devlink_nl_sb_tc_pool_bind_fill
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, %eax
movl %r8d, %ebx
movq %rcx, %r13
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, -104(%rbp) ## 8-byte Spill
movq (%rsi), %r15
movl (%rcx), %esi
leaq -64(%rbp), %r8
leaq -60(%rbp), %r9
movq %rdx, %rdi
movl %ebx, %edx
movl %eax, -48(%rbp) ## 4-byte Spill
movl %eax, %ecx
callq *(%r15)
testl %eax, %eax
jne LBB0_17
## %bb.1:
movq %r14, -96(%rbp) ## 8-byte Spill
movq %r15, -88(%rbp) ## 8-byte Spill
movq %r12, -72(%rbp) ## 8-byte Spill
movl %ebx, -44(%rbp) ## 4-byte Spill
movl 40(%rbp), %r8d
movl 32(%rbp), %edx
movl 24(%rbp), %esi
movl 16(%rbp), %r9d
movq _devlink_nl_family@GOTPCREL(%rip), %rcx
movq -104(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _genlmsg_put
testq %rax, %rax
je LBB0_16
## %bb.2:
movq %rax, -80(%rbp) ## 8-byte Spill
movq %r15, %rdi
movq -96(%rbp), %rsi ## 8-byte Reload
callq _devlink_nl_put_handle
testq %rax, %rax
jne LBB0_15
## %bb.3:
movq _DEVLINK_ATTR_PORT_INDEX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -72(%rbp), %rax ## 8-byte Reload
movl (%rax), %edx
movq %r15, %rdi
callq _nla_put_u32
testq %rax, %rax
jne LBB0_15
## %bb.4:
movq _DEVLINK_ATTR_SB_INDEX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r13), %edx
movq %r15, %rdi
callq _nla_put_u32
testq %rax, %rax
jne LBB0_15
## %bb.5:
movq _DEVLINK_ATTR_SB_TC_INDEX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
movl -44(%rbp), %edx ## 4-byte Reload
callq _nla_put_u16
testq %rax, %rax
jne LBB0_15
## %bb.6:
movq _DEVLINK_ATTR_SB_POOL_TYPE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
movl -48(%rbp), %edx ## 4-byte Reload
callq _nla_put_u8
testq %rax, %rax
jne LBB0_15
## %bb.7:
movq _DEVLINK_ATTR_SB_POOL_INDEX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -64(%rbp), %edx
movq %r15, %rdi
callq _nla_put_u16
testq %rax, %rax
jne LBB0_15
## %bb.8:
movq _DEVLINK_ATTR_SB_THRESHOLD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -60(%rbp), %edx
movq %r15, %rdi
callq _nla_put_u32
testq %rax, %rax
je LBB0_9
LBB0_15:
movq %r15, %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
callq _genlmsg_cancel
LBB0_16:
movq _EMSGSIZE@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_17:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movq -88(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
testq %rax, %rax
je LBB0_14
## %bb.10:
movl (%r13), %esi
leaq -56(%rbp), %r8
leaq -52(%rbp), %r9
movq -72(%rbp), %rdi ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
movl -48(%rbp), %ecx ## 4-byte Reload
callq *%rax
testl %eax, %eax
je LBB0_12
## %bb.11:
movq _EOPNOTSUPP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
addl %eax, %ecx
jne LBB0_17
LBB0_14:
movq %r15, %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
callq _genlmsg_end
xorl %eax, %eax
jmp LBB0_17
LBB0_12:
movq _DEVLINK_ATTR_SB_OCC_CUR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -56(%rbp), %edx
movq %r15, %rdi
callq _nla_put_u32
testq %rax, %rax
jne LBB0_15
## %bb.13:
movq _DEVLINK_ATTR_SB_OCC_MAX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -52(%rbp), %edx
movq %r15, %rdi
callq _nla_put_u32
testq %rax, %rax
jne LBB0_15
jmp LBB0_14
.cfi_endproc
## -- End function
.comm _devlink_nl_family,4,2 ## @devlink_nl_family
.comm _EMSGSIZE,4,2 ## @EMSGSIZE
.comm _DEVLINK_ATTR_PORT_INDEX,4,2 ## @DEVLINK_ATTR_PORT_INDEX
.comm _DEVLINK_ATTR_SB_INDEX,4,2 ## @DEVLINK_ATTR_SB_INDEX
.comm _DEVLINK_ATTR_SB_TC_INDEX,4,2 ## @DEVLINK_ATTR_SB_TC_INDEX
.comm _DEVLINK_ATTR_SB_POOL_TYPE,4,2 ## @DEVLINK_ATTR_SB_POOL_TYPE
.comm _DEVLINK_ATTR_SB_POOL_INDEX,4,2 ## @DEVLINK_ATTR_SB_POOL_INDEX
.comm _DEVLINK_ATTR_SB_THRESHOLD,4,2 ## @DEVLINK_ATTR_SB_THRESHOLD
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.comm _DEVLINK_ATTR_SB_OCC_CUR,4,2 ## @DEVLINK_ATTR_SB_OCC_CUR
.comm _DEVLINK_ATTR_SB_OCC_MAX,4,2 ## @DEVLINK_ATTR_SB_OCC_MAX
.no_dead_strip _devlink_nl_sb_tc_pool_bind_fill
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function devlink_nl_sb_tc_pool_bind_fill
_devlink_nl_sb_tc_pool_bind_fill: ; @devlink_nl_sb_tc_pool_bind_fill
.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 x26, x7
mov x20, x6
mov x21, x5
mov x22, x4
mov x24, x3
mov x23, x2
mov x25, x1
mov x19, x0
ldr x27, [x1]
ldr x8, [x27]
ldr w1, [x3]
add x4, sp, #12
add x5, sp, #8
mov x0, x2
mov x2, x22
mov x3, x21
blr x8
cbnz w0, LBB0_11
; %bb.1:
ldp w2, w4, [x29, #16]
Lloh0:
adrp x3, _devlink_nl_family@GOTPAGE
Lloh1:
ldr x3, [x3, _devlink_nl_family@GOTPAGEOFF]
mov x0, x19
mov x1, x26
mov x5, x20
bl _genlmsg_put
cbz x0, LBB0_10
; %bb.2:
mov x20, x0
mov x0, x19
mov x1, x25
bl _devlink_nl_put_handle
cbnz x0, LBB0_9
; %bb.3:
Lloh2:
adrp x8, _DEVLINK_ATTR_PORT_INDEX@GOTPAGE
Lloh3:
ldr x8, [x8, _DEVLINK_ATTR_PORT_INDEX@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
ldr w2, [x23]
mov x0, x19
bl _nla_put_u32
cbnz x0, LBB0_9
; %bb.4:
Lloh5:
adrp x8, _DEVLINK_ATTR_SB_INDEX@GOTPAGE
Lloh6:
ldr x8, [x8, _DEVLINK_ATTR_SB_INDEX@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
ldr w2, [x24]
mov x0, x19
bl _nla_put_u32
cbnz x0, LBB0_9
; %bb.5:
Lloh8:
adrp x8, _DEVLINK_ATTR_SB_TC_INDEX@GOTPAGE
Lloh9:
ldr x8, [x8, _DEVLINK_ATTR_SB_TC_INDEX@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
mov x2, x22
bl _nla_put_u16
cbnz x0, LBB0_9
; %bb.6:
Lloh11:
adrp x8, _DEVLINK_ATTR_SB_POOL_TYPE@GOTPAGE
Lloh12:
ldr x8, [x8, _DEVLINK_ATTR_SB_POOL_TYPE@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
mov x2, x21
bl _nla_put_u8
cbnz x0, LBB0_9
; %bb.7:
Lloh14:
adrp x8, _DEVLINK_ATTR_SB_POOL_INDEX@GOTPAGE
Lloh15:
ldr x8, [x8, _DEVLINK_ATTR_SB_POOL_INDEX@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
ldr w2, [sp, #12]
mov x0, x19
bl _nla_put_u16
cbnz x0, LBB0_9
; %bb.8:
Lloh17:
adrp x8, _DEVLINK_ATTR_SB_THRESHOLD@GOTPAGE
Lloh18:
ldr x8, [x8, _DEVLINK_ATTR_SB_THRESHOLD@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
ldr w2, [sp, #8]
mov x0, x19
bl _nla_put_u32
cbz x0, LBB0_12
LBB0_9:
mov x0, x19
mov x1, x20
bl _genlmsg_cancel
LBB0_10:
Lloh20:
adrp x8, _EMSGSIZE@GOTPAGE
Lloh21:
ldr x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
neg w0, w8
LBB0_11:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_12:
ldr x8, [x27, #8]
cbz x8, LBB0_15
; %bb.13:
ldr w1, [x24]
add x4, sp, #4
mov x5, sp
mov x0, x23
mov x2, x22
mov x3, x21
blr x8
cbz w0, LBB0_16
; %bb.14:
Lloh23:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh24:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh25:
ldr w8, [x8]
cmn w0, w8
b.ne LBB0_11
LBB0_15:
mov x0, x19
mov x1, x20
bl _genlmsg_end
mov w0, #0
b LBB0_11
LBB0_16:
Lloh26:
adrp x8, _DEVLINK_ATTR_SB_OCC_CUR@GOTPAGE
Lloh27:
ldr x8, [x8, _DEVLINK_ATTR_SB_OCC_CUR@GOTPAGEOFF]
Lloh28:
ldr w1, [x8]
ldr w2, [sp, #4]
mov x0, x19
bl _nla_put_u32
cbnz x0, LBB0_9
; %bb.17:
Lloh29:
adrp x8, _DEVLINK_ATTR_SB_OCC_MAX@GOTPAGE
Lloh30:
ldr x8, [x8, _DEVLINK_ATTR_SB_OCC_MAX@GOTPAGEOFF]
Lloh31:
ldr w1, [x8]
ldr w2, [sp]
mov x0, x19
bl _nla_put_u32
cbnz x0, LBB0_9
b LBB0_15
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _devlink_nl_family,4,2 ; @devlink_nl_family
.comm _EMSGSIZE,4,2 ; @EMSGSIZE
.comm _DEVLINK_ATTR_PORT_INDEX,4,2 ; @DEVLINK_ATTR_PORT_INDEX
.comm _DEVLINK_ATTR_SB_INDEX,4,2 ; @DEVLINK_ATTR_SB_INDEX
.comm _DEVLINK_ATTR_SB_TC_INDEX,4,2 ; @DEVLINK_ATTR_SB_TC_INDEX
.comm _DEVLINK_ATTR_SB_POOL_TYPE,4,2 ; @DEVLINK_ATTR_SB_POOL_TYPE
.comm _DEVLINK_ATTR_SB_POOL_INDEX,4,2 ; @DEVLINK_ATTR_SB_POOL_INDEX
.comm _DEVLINK_ATTR_SB_THRESHOLD,4,2 ; @DEVLINK_ATTR_SB_THRESHOLD
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.comm _DEVLINK_ATTR_SB_OCC_CUR,4,2 ; @DEVLINK_ATTR_SB_OCC_CUR
.comm _DEVLINK_ATTR_SB_OCC_MAX,4,2 ; @DEVLINK_ATTR_SB_OCC_MAX
.no_dead_strip _devlink_nl_sb_tc_pool_bind_fill
.subsections_via_symbols
| AnghaBench/linux/net/core/extr_devlink.c_devlink_nl_sb_tc_pool_bind_fill.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SymlinkCmd ## -- Begin function SymlinkCmd
.p2align 4, 0x90
_SymlinkCmd: ## @SymlinkCmd
.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
movq _gUnusedArg@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ARGSUSED
movq 8(%rbx), %rsi
movq 16(%rbx), %rdx
movq _gConn@GOTPCREL(%rip), %rdi
callq _FTPSymlink
testl %eax, %eax
jns LBB0_2
## %bb.1:
movq _kErrSYMLINKFailed@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq 8(%rbx), %r8
movq _gConn@GOTPCREL(%rip), %rdi
leaq L_.str(%rip), %rcx
movl %eax, %esi
callq _FTPPerror
LBB0_2:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmp _FlushLsCache ## TAILCALL
.cfi_endproc
## -- End function
.comm _gUnusedArg,4,2 ## @gUnusedArg
.comm _gConn,4,2 ## @gConn
.comm _kErrSYMLINKFailed,4,2 ## @kErrSYMLINKFailed
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "symlink"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SymlinkCmd ; -- Begin function SymlinkCmd
.p2align 2
_SymlinkCmd: ; @SymlinkCmd
.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
Lloh0:
adrp x8, _gUnusedArg@GOTPAGE
Lloh1:
ldr x8, [x8, _gUnusedArg@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _ARGSUSED
ldp x1, x2, [x19, #8]
Lloh3:
adrp x0, _gConn@GOTPAGE
Lloh4:
ldr x0, [x0, _gConn@GOTPAGEOFF]
bl _FTPSymlink
tbz w0, #31, LBB0_2
; %bb.1:
mov x1, x0
Lloh5:
adrp x8, _kErrSYMLINKFailed@GOTPAGE
Lloh6:
ldr x8, [x8, _kErrSYMLINKFailed@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
ldr x4, [x19, #8]
Lloh8:
adrp x0, _gConn@GOTPAGE
Lloh9:
ldr x0, [x0, _gConn@GOTPAGEOFF]
Lloh10:
adrp x3, l_.str@PAGE
Lloh11:
add x3, x3, l_.str@PAGEOFF
bl _FTPPerror
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _FlushLsCache
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _gUnusedArg,4,2 ; @gUnusedArg
.comm _gConn,4,2 ; @gConn
.comm _kErrSYMLINKFailed,4,2 ; @kErrSYMLINKFailed
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "symlink"
.subsections_via_symbols
| AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_cmds.c_SymlinkCmd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "$Revision: 1.1.1.1 $"
.section __DATA,__data
.globl _version ## @version
.p2align 3
_version:
.quad L_.str
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "$Revision: 1.1.1.1 $"
.section __DATA,__data
.globl _version ; @version
.p2align 3
_version:
.quad l_.str
.subsections_via_symbols
| the_stack_data/159515573.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function isp116x_raw_read_data16
_isp116x_raw_read_data16: ## @isp116x_raw_read_data16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq ___raw_readw
movl %eax, %r14d
movq %rbx, %rdi
movl $150, %esi
callq _isp116x_delay
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _isp116x_raw_read_data16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function isp116x_raw_read_data16
_isp116x_raw_read_data16: ; @isp116x_raw_read_data16
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
bl ___raw_readw
mov x20, x0
mov x0, x19
mov w1, #150
bl _isp116x_delay
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _isp116x_raw_read_data16
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/usb/host/extr_isp116x.h_isp116x_raw_read_data16.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _authencrypt ## -- Begin function authencrypt
.p2align 4, 0x90
_authencrypt: ## @authencrypt
.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, %r15d
movq %rsi, %r14
movq %rdi, %rbx
movq _authencryptions@GOTPCREL(%rip), %rax
incl (%rax)
callq _htonl
leal 3(%r15), %ecx
testl %r15d, %r15d
cmovnsl %r15d, %ecx
sarl $2, %ecx
movslq %ecx, %rcx
movl %eax, (%r14,%rcx,4)
testq %rbx, %rbx
je LBB0_1
## %bb.2:
movq %rbx, %rdi
callq _authhavekey
testl %eax, %eax
je LBB0_3
## %bb.5:
movq _cache_type@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _cache_key@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdx
movl %r15d, %ecx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _MD5authencrypt ## TAILCALL
LBB0_1:
movl $4, %eax
jmp LBB0_4
LBB0_3:
xorl %eax, %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _authencryptions,4,2 ## @authencryptions
.comm _cache_type,4,2 ## @cache_type
.comm _cache_key,4,2 ## @cache_key
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _authencrypt ; -- Begin function authencrypt
.p2align 2
_authencrypt: ; @authencrypt
.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
Lloh0:
adrp x8, _authencryptions@GOTPAGE
Lloh1:
ldr x8, [x8, _authencryptions@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
bl _htonl
add w8, w19, #3
cmp w19, #0
csel w8, w8, w19, lt
asr w8, w8, #2
str w0, [x20, w8, sxtw #2]
cbz x21, LBB0_3
; %bb.1:
mov x0, x21
bl _authhavekey
cbz w0, LBB0_4
; %bb.2:
Lloh2:
adrp x8, _cache_type@GOTPAGE
Lloh3:
ldr x8, [x8, _cache_type@GOTPAGEOFF]
Lloh4:
adrp x9, _cache_key@GOTPAGE
Lloh5:
ldr x9, [x9, _cache_key@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
Lloh7:
ldr w1, [x9]
mov x2, x20
mov x3, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _MD5authencrypt
LBB0_3:
mov w0, #4
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh6
.cfi_endproc
; -- End function
.comm _authencryptions,4,2 ; @authencryptions
.comm _cache_type,4,2 ; @cache_type
.comm _cache_key,4,2 ; @cache_key
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/linux/dos/extr_39445.c_authencrypt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ccid3_first_li
_ccid3_first_li: ## @ccid3_first_li
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
callq _ccid3_hc_rx_sk
movq %rax, %rbx
cmpq $0, (%rax)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _DCCP_WARN
movq _DCCP_FALLBACK_RTT@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rbx)
LBB0_2:
xorl %eax, %eax
callq _ktime_get
movl 28(%rbx), %esi
movl %eax, %edi
callq _ktime_us_delta
testl %eax, %eax
movl $1, %esi
cmovnel %eax, %esi
movl 8(%rbx), %edi
callq _scaled_div32
movq %rax, %r15
testl %r15d, %r15d
jne LBB0_5
## %bb.3:
leaq L_.str.1(%rip), %rdi
callq _DCCP_WARN
movq 16(%rbx), %r15
testq %r15, %r15
je LBB0_4
LBB0_5:
movl (%rbx), %esi
movl 24(%rbx), %edi
callq _scaled_div
movl %eax, %edi
movl %r15d, %esi
callq _scaled_div32
movl %eax, %edi
callq _tfrc_calc_x_reverse_lookup
movl %eax, %ebx
movq %r14, %rdi
callq _dccp_role
leaq L_.str.3(%rip), %rdi
movl %eax, %esi
movq %r14, %rdx
movl %r15d, %ecx
movl %ebx, %r8d
callq _ccid3_pr_debug
testl %ebx, %ebx
je LBB0_6
## %bb.7:
movl $1, %edi
movl %ebx, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _scaled_div ## TAILCALL
LBB0_4:
leaq L_.str.2(%rip), %rdi
callq _DCCP_BUG
LBB0_6:
movl $-1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "No RTT estimate available, using fallback RTT\n"
.comm _DCCP_FALLBACK_RTT,8,3 ## @DCCP_FALLBACK_RTT
L_.str.1: ## @.str.1
.asciz "X_recv==0\n"
L_.str.2: ## @.str.2
.asciz "stored value of X_recv is zero"
L_.str.3: ## @.str.3
.asciz "%s(%p), receive rate=%u bytes/s, implied loss rate=%u\n"
.no_dead_strip _ccid3_first_li
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ccid3_first_li
_ccid3_first_li: ; @ccid3_first_li
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _ccid3_hc_rx_sk
mov x20, x0
ldr x8, [x0]
cbnz x8, LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _DCCP_WARN
Lloh2:
adrp x8, _DCCP_FALLBACK_RTT@GOTPAGE
Lloh3:
ldr x8, [x8, _DCCP_FALLBACK_RTT@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
str x8, [x20]
LBB0_2:
bl _ktime_get
ldr w1, [x20, #28]
bl _ktime_us_delta
cmp w0, #0
csinc w1, w0, wzr, ne
ldr w0, [x20, #8]
bl _scaled_div32
mov x21, x0
cbnz w21, LBB0_5
; %bb.3:
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _DCCP_WARN
ldr x21, [x20, #16]
cbz x21, LBB0_7
; %bb.4:
; kill: def $w21 killed $w21 killed $x21 def $x21
LBB0_5:
ldr w0, [x20, #24]
ldr w1, [x20]
bl _scaled_div
mov x1, x21
bl _scaled_div32
; kill: def $w0 killed $w0 killed $x0
bl _tfrc_calc_x_reverse_lookup
mov x20, x0
mov x0, x19
bl _dccp_role
mov x1, x0
Lloh7:
adrp x0, l_.str.3@PAGE
Lloh8:
add x0, x0, l_.str.3@PAGEOFF
mov x2, x19
mov x3, x21
mov x4, x20
bl _ccid3_pr_debug
cbz w20, LBB0_8
; %bb.6:
mov w0, #1
mov x1, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _scaled_div
LBB0_7:
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
bl _DCCP_BUG
LBB0_8:
mov w0, #-1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "No RTT estimate available, using fallback RTT\n"
.comm _DCCP_FALLBACK_RTT,8,3 ; @DCCP_FALLBACK_RTT
l_.str.1: ; @.str.1
.asciz "X_recv==0\n"
l_.str.2: ; @.str.2
.asciz "stored value of X_recv is zero"
l_.str.3: ; @.str.3
.asciz "%s(%p), receive rate=%u bytes/s, implied loss rate=%u\n"
.no_dead_strip _ccid3_first_li
.subsections_via_symbols
| AnghaBench/linux/net/dccp/ccids/extr_ccid3.c_ccid3_first_li.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/51699615.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gettoken
_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 %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq $0, (%rsi)
movl (%rdi), %esi
xorl %edi, %edi
leaq LJTI0_0(%rip), %r8
xorl %edx, %edx
jmp LBB0_1
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_1 Depth=1
movl $130, (%rbx)
movzbl (%rax), %ecx
movb %cl, -48(%rbp)
movl $1, %edx
LBB0_28: ## in Loop: Header=BB0_1 Depth=1
movl $130, %esi
LBB0_29: ## in Loop: Header=BB0_1 Depth=1
incq %rax
movq %rax, 8(%rbx)
movl %edx, %edi
cmpl $15, %edx
ja LBB0_30
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $128, %esi
je LBB0_16
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $130, %esi
je LBB0_10
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $129, %esi
jne LBB0_30
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq 8(%rbx), %rax
movzbl (%rax), %ecx
leal -48(%rcx), %edx
cmpb $10, %dl
jb LBB0_27
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
addb $-32, %cl
cmpb $13, %cl
ja LBB0_30
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
xorl %edx, %edx
movl $129, %esi
movzbl %cl, %ecx
movslq (%r8,%rcx,4), %rcx
addq %r8, %rcx
jmpq *%rcx
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movq 8(%rbx), %rax
movzbl (%rax), %ecx
movl $128, %esi
cmpb $32, %cl
je LBB0_29
jmp LBB0_17
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movq 8(%rbx), %rax
movzbl (%rax), %ecx
leal -48(%rcx), %esi
cmpb $9, %sil
ja LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
incl %edx
movb %cl, -48(%rbp,%rdi)
jmp LBB0_28
LBB0_17:
cmpb $40, %cl
jg LBB0_20
## %bb.18:
testb %cl, %cl
je LBB0_25
## %bb.19:
cmpb $38, %cl
je LBB0_22
jmp LBB0_30
LBB0_20:
cmpb $41, %cl
je LBB0_23
## %bb.21:
cmpb $124, %cl
jne LBB0_30
LBB0_22:
movl $129, (%rbx)
movsbq (%rax), %rcx
movq %rcx, (%r14)
incq %rax
movq %rax, 8(%rbx)
movq _OPR@GOTPCREL(%rip), %rax
jmp LBB0_31
LBB0_12:
movl %edx, %eax
movb $0, -48(%rbp,%rax)
movq _errno@GOTPCREL(%rip), %r15
movl $0, (%r15)
leaq -48(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _strtol
movq %rax, (%r14)
movq _ERR@GOTPCREL(%rip), %rax
cmpl $0, (%r15)
jne LBB0_31
## %bb.13:
movl $128, (%rbx)
cmpl $0, 16(%rbx)
je LBB0_15
## %bb.14:
movq 8(%rbx), %rcx
cmpb $0, (%rcx)
je LBB0_31
LBB0_15:
movq _VAL@GOTPCREL(%rip), %rax
jmp LBB0_31
LBB0_25:
cmpl $0, 16(%rbx)
jne LBB0_30
## %bb.26:
movq _END@GOTPCREL(%rip), %rax
jmp LBB0_31
LBB0_23:
incq %rax
movq %rax, 8(%rbx)
movl 16(%rbx), %eax
leal -1(%rax), %ecx
movl %ecx, 16(%rbx)
testl %eax, %eax
jg LBB0_24
LBB0_30:
movq _ERR@GOTPCREL(%rip), %rax
LBB0_31:
movq (%rax), %rax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -32(%rbp), %rcx
jne LBB0_33
## %bb.32:
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_24:
movq _CLOSE@GOTPCREL(%rip), %rax
jmp LBB0_31
LBB0_7:
incq %rax
movq %rax, 8(%rbx)
movq $33, (%r14)
movq _OPR@GOTPCREL(%rip), %rax
jmp LBB0_31
LBB0_9:
incl 16(%rbx)
incq %rax
movq %rax, 8(%rbx)
movq _OPEN@GOTPCREL(%rip), %rax
jmp LBB0_31
LBB0_33:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
LJTI0_0:
.long L0_0_set_29
.long L0_0_set_7
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_9
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_27
.end_data_region
## -- End function
.comm _ERR,8,3 ## @ERR
.comm _OPR,8,3 ## @OPR
.comm _OPEN,8,3 ## @OPEN
.comm _errno,4,2 ## @errno
.comm _VAL,8,3 ## @VAL
.comm _CLOSE,8,3 ## @CLOSE
.comm _END,8,3 ## @END
.no_dead_strip _gettoken
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gettoken
_gettoken: ; @gettoken
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
mov x13, #0
mov w11, #0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
str xzr, [x1]
ldr w12, [x0]
add x8, sp, #8
Lloh3:
adrp x9, lJTI0_0@PAGE
Lloh4:
add x9, x9, lJTI0_0@PAGEOFF
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov w12, #130
str w12, [x19]
ldrb w11, [x10]
strb w11, [sp, #8]
mov w11, #1
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x10, x10, #1
str x10, [x19, #8]
mov w13, w11
cmp w11, #15
b.hi LBB0_21
LBB0_3: ; =>This Inner Loop Header: Depth=1
cmp w12, #128
b.eq LBB0_9
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w12, #130
b.eq LBB0_11
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cmp w12, #129
b.ne LBB0_21
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x10, [x19, #8]
ldrb w11, [x10]
sub w12, w11, #48
cmp w12, #10
b.lo LBB0_1
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
sub w13, w11, #32
cmp w13, #13
b.hi LBB0_21
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
mov w11, #0
mov w12, #129
adr x14, LBB0_1
ldrb w15, [x9, x13]
add x14, x14, x15, lsl #2
br x14
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldr x10, [x19, #8]
ldrb w12, [x10]
cmp w12, #32
b.ne LBB0_13
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
mov w12, #128
b LBB0_2
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
ldr x10, [x19, #8]
ldrb w12, [x10]
sub w14, w12, #48
cmp w14, #9
b.hi LBB0_20
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
add w11, w11, #1
strb w12, [x8, x13]
mov w12, #130
b LBB0_2
LBB0_13:
cmp w12, #40
b.gt LBB0_16
; %bb.14:
cbz w12, LBB0_24
; %bb.15:
cmp w12, #38
b.eq LBB0_18
b LBB0_21
LBB0_16:
cmp w12, #41
b.eq LBB0_25
; %bb.17:
cmp w12, #124
b.ne LBB0_21
LBB0_18:
mov w8, #129
str w8, [x19]
ldrsb x8, [x10], #1
str x8, [x20]
str x10, [x19, #8]
LBB0_19:
Lloh5:
adrp x8, _OPR@GOTPAGE
Lloh6:
ldr x8, [x8, _OPR@GOTPAGEOFF]
b LBB0_22
LBB0_20:
add x8, sp, #8
strb wzr, [x8, w11, uxtw]
Lloh7:
adrp x21, _errno@GOTPAGE
Lloh8:
ldr x21, [x21, _errno@GOTPAGEOFF]
str wzr, [x21]
add x0, sp, #8
mov x1, #0
mov w2, #0
bl _strtol
str x0, [x20]
ldr w8, [x21]
cbz w8, LBB0_26
LBB0_21:
Lloh9:
adrp x8, _ERR@GOTPAGE
Lloh10:
ldr x8, [x8, _ERR@GOTPAGEOFF]
LBB0_22:
ldr x0, [x8]
ldr x8, [sp, #24]
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_31
; %bb.23:
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_24:
Lloh14:
adrp x8, _ERR@GOTPAGE
Lloh15:
ldr x8, [x8, _ERR@GOTPAGEOFF]
ldr w9, [x19, #16]
Lloh16:
adrp x10, _END@GOTPAGE
Lloh17:
ldr x10, [x10, _END@GOTPAGEOFF]
cmp w9, #0
csel x8, x10, x8, eq
b LBB0_22
LBB0_25:
add x8, x10, #1
str x8, [x19, #8]
ldr w8, [x19, #16]
subs w8, w8, #1
str w8, [x19, #16]
Lloh18:
adrp x8, _ERR@GOTPAGE
Lloh19:
ldr x8, [x8, _ERR@GOTPAGEOFF]
Lloh20:
adrp x9, _CLOSE@GOTPAGE
Lloh21:
ldr x9, [x9, _CLOSE@GOTPAGEOFF]
csel x8, x8, x9, lt
b LBB0_22
LBB0_26:
mov w8, #128
str w8, [x19]
ldr w8, [x19, #16]
cbz w8, LBB0_28
; %bb.27:
ldr x8, [x19, #8]
ldrb w8, [x8]
cbz w8, LBB0_21
LBB0_28:
Lloh22:
adrp x8, _VAL@GOTPAGE
Lloh23:
ldr x8, [x8, _VAL@GOTPAGEOFF]
b LBB0_22
LBB0_29:
add x8, x10, #1
str x8, [x19, #8]
mov w8, #33
str x8, [x20]
b LBB0_19
LBB0_30:
ldr w8, [x19, #16]
add w8, w8, #1
str w8, [x19, #16]
add x8, x10, #1
str x8, [x19, #8]
Lloh24:
adrp x8, _OPEN@GOTPAGE
Lloh25:
ldr x8, [x8, _OPEN@GOTPAGEOFF]
b LBB0_22
LBB0_31:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_29-LBB0_1)>>2
.byte (LBB0_21-LBB0_1)>>2
.byte (LBB0_21-LBB0_1)>>2
.byte (LBB0_21-LBB0_1)>>2
.byte (LBB0_21-LBB0_1)>>2
.byte (LBB0_21-LBB0_1)>>2
.byte (LBB0_21-LBB0_1)>>2
.byte (LBB0_30-LBB0_1)>>2
.byte (LBB0_21-LBB0_1)>>2
.byte (LBB0_21-LBB0_1)>>2
.byte (LBB0_21-LBB0_1)>>2
.byte (LBB0_21-LBB0_1)>>2
.byte (LBB0_1-LBB0_1)>>2
; -- End function
.comm _ERR,8,3 ; @ERR
.comm _OPR,8,3 ; @OPR
.comm _OPEN,8,3 ; @OPEN
.comm _errno,4,2 ; @errno
.comm _VAL,8,3 ; @VAL
.comm _CLOSE,8,3 ; @CLOSE
.comm _END,8,3 ; @END
.no_dead_strip _gettoken
.subsections_via_symbols
| AnghaBench/postgres/contrib/intarray/extr__int_bool.c_gettoken.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function af9013_write_reg_bits
_af9013_write_reg_bits: ## @af9013_write_reg_bits
.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 %r8d, %ebx
movl %ecx, %r13d
movl %edx, %r12d
movl %esi, %r14d
movq %rdi, %r15
leaq -44(%rbp), %rdx
callq _af9013_read_reg
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq _regmask@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %r13d, %rcx
movl -4(%rax,%rcx,4), %eax
movl %r12d, %ecx
shll %cl, %eax
movl -44(%rbp), %edx
shll %cl, %ebx
xorl %edx, %ebx
andl %eax, %ebx
xorl %edx, %ebx
movl %ebx, -44(%rbp)
movq %r15, %rdi
movl %r14d, %esi
movl %ebx, %edx
callq _af9013_write_reg
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _regmask,8,3 ## @regmask
.no_dead_strip _af9013_write_reg_bits
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function af9013_write_reg_bits
_af9013_write_reg_bits: ; @af9013_write_reg_bits
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x4
mov x23, x3
mov x22, x2
mov x19, x1
mov x20, x0
add x2, sp, #12
bl _af9013_read_reg
cbnz w0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _regmask@GOTPAGE
Lloh1:
ldr x8, [x8, _regmask@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
sub w9, w23, #1
ldr w8, [x8, w9, sxtw #2]
lsl w8, w8, w22
ldr w9, [sp, #12]
bic w9, w9, w8
lsl w10, w21, w22
and w8, w8, w10
orr w2, w9, w8
str w2, [sp, #12]
mov x0, x20
mov x1, x19
bl _af9013_write_reg
LBB0_2:
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _regmask,8,3 ; @regmask
.no_dead_strip _af9013_write_reg_bits
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_af9013.c_af9013_write_reg_bits.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cvmx_pip_config_vlan_qos
_cvmx_pip_config_vlan_qos: ## @cvmx_pip_config_vlan_qos
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
callq _CVMX_PIP_QOS_VLANX
movl %ebx, %esi
movl %eax, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _cvmx_write_csr ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _cvmx_pip_config_vlan_qos
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cvmx_pip_config_vlan_qos
_cvmx_pip_config_vlan_qos: ; @cvmx_pip_config_vlan_qos
.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 _CVMX_PIP_QOS_VLANX
mov w1, w19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _cvmx_write_csr
.cfi_endproc
; -- End function
.no_dead_strip _cvmx_pip_config_vlan_qos
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-pip.h_cvmx_pip_config_vlan_qos.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function op32_get_current_rxslot
_op32_get_current_rxslot: ## @op32_get_current_rxslot
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _B43legacy_DMA32_RXSTATUS@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _b43legacy_dma_read
movq _B43legacy_DMA32_RXDPTR@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
sarl $2, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _B43legacy_DMA32_RXSTATUS,4,2 ## @B43legacy_DMA32_RXSTATUS
.comm _B43legacy_DMA32_RXDPTR,4,2 ## @B43legacy_DMA32_RXDPTR
.no_dead_strip _op32_get_current_rxslot
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function op32_get_current_rxslot
_op32_get_current_rxslot: ; @op32_get_current_rxslot
.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, _B43legacy_DMA32_RXSTATUS@GOTPAGE
Lloh1:
ldr x8, [x8, _B43legacy_DMA32_RXSTATUS@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _b43legacy_dma_read
Lloh3:
adrp x8, _B43legacy_DMA32_RXDPTR@GOTPAGE
Lloh4:
ldr x8, [x8, _B43legacy_DMA32_RXDPTR@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
and w8, w8, w0
asr w0, w8, #2
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _B43legacy_DMA32_RXSTATUS,4,2 ; @B43legacy_DMA32_RXSTATUS
.comm _B43legacy_DMA32_RXDPTR,4,2 ; @B43legacy_DMA32_RXDPTR
.no_dead_strip _op32_get_current_rxslot
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_dma.c_op32_get_current_rxslot.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _ChartsVersionString ## @ChartsVersionString
.p2align 4
_ChartsVersionString:
.asciz "@(#)PROGRAM:Charts PROJECT:Charts-1\n"
.globl _ChartsVersionNumber ## @ChartsVersionNumber
.p2align 3
_ChartsVersionNumber:
.quad 0x3ff0000000000000 ## double 1
.no_dead_strip _ChartsVersionNumber
.no_dead_strip _ChartsVersionString
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _ChartsVersionString ; @ChartsVersionString
_ChartsVersionString:
.asciz "@(#)PROGRAM:Charts PROJECT:Charts-1\n"
.globl _ChartsVersionNumber ; @ChartsVersionNumber
.p2align 3
_ChartsVersionNumber:
.quad 0x3ff0000000000000 ; double 1
.no_dead_strip _ChartsVersionNumber
.no_dead_strip _ChartsVersionString
.subsections_via_symbols
| the_stack_data/568706.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function roll
_roll: ## @roll
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq _stackPop
xorl %esi, %esi
testl %eax, %eax
cmovgl %eax, %esi
movl (%rbx), %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _stackRoll ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _roll
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function roll
_roll: ; @roll
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
bl _stackPop
cmp w0, #0
csel w1, w0, wzr, gt
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _stackRoll
.cfi_endproc
; -- End function
.no_dead_strip _roll
.subsections_via_symbols
| AnghaBench/freebsd/stand/ficl/extr_words.c_roll.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pack_immed
_pack_immed: ## @pack_immed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $65536, %edi ## imm = 0x10000
jae LBB0_2
## %bb.1:
movq _IMMED_SHIFT_0B@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_2:
testl $-16776961, %edi ## imm = 0xFF0000FF
je LBB0_3
## %bb.4:
xorl %eax, %eax
testw %di, %di
je LBB0_5
## %bb.7:
popq %rbp
retq
LBB0_3:
shrl $8, %edi
movq _IMMED_SHIFT_1B@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
sarl $16, %edi
movq _IMMED_SHIFT_2B@GOTPCREL(%rip), %rax
LBB0_6:
movl %edi, (%rsi)
movl (%rax), %eax
movl %eax, (%rdx)
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IMMED_SHIFT_0B,4,2 ## @IMMED_SHIFT_0B
.comm _IMMED_SHIFT_1B,4,2 ## @IMMED_SHIFT_1B
.comm _IMMED_SHIFT_2B,4,2 ## @IMMED_SHIFT_2B
.no_dead_strip _pack_immed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pack_immed
_pack_immed: ; @pack_immed
.cfi_startproc
; %bb.0:
cmp w0, #16, lsl #12 ; =65536
b.hs LBB0_2
; %bb.1:
Lloh0:
adrp x8, _IMMED_SHIFT_0B@GOTPAGE
Lloh1:
ldr x8, [x8, _IMMED_SHIFT_0B@GOTPAGEOFF]
b LBB0_7
LBB0_2:
tst w0, #0xff0000ff
b.eq LBB0_5
; %bb.3:
tst w0, #0xffff
b.eq LBB0_6
; %bb.4:
mov w0, #0
ret
LBB0_5:
lsr w0, w0, #8
Lloh2:
adrp x8, _IMMED_SHIFT_1B@GOTPAGE
Lloh3:
ldr x8, [x8, _IMMED_SHIFT_1B@GOTPAGEOFF]
b LBB0_7
LBB0_6:
asr w0, w0, #16
Lloh4:
adrp x8, _IMMED_SHIFT_2B@GOTPAGE
Lloh5:
ldr x8, [x8, _IMMED_SHIFT_2B@GOTPAGEOFF]
LBB0_7:
str w0, [x1]
ldr w8, [x8]
str w8, [x2]
mov w0, #1
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _IMMED_SHIFT_0B,4,2 ; @IMMED_SHIFT_0B
.comm _IMMED_SHIFT_1B,4,2 ; @IMMED_SHIFT_1B
.comm _IMMED_SHIFT_2B,4,2 ; @IMMED_SHIFT_2B
.no_dead_strip _pack_immed
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_jit.c_pack_immed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cm_lap_get_flow_label
_cm_lap_get_flow_label: ## @cm_lap_get_flow_label
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
callq _be32_to_cpu
sarl $12, %eax
movl %eax, %edi
popq %rbp
jmp _cpu_to_be32 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _cm_lap_get_flow_label
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cm_lap_get_flow_label
_cm_lap_get_flow_label: ; @cm_lap_get_flow_label
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr w0, [x0]
bl _be32_to_cpu
asr w0, w0, #12
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _cpu_to_be32
.cfi_endproc
; -- End function
.no_dead_strip _cm_lap_get_flow_label
.subsections_via_symbols
| AnghaBench/freebsd/sys/ofed/drivers/infiniband/core/extr_cm_msgs.h_cm_lap_get_flow_label.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function esre_create_sysfs_entry
_esre_create_sysfs_entry: ## @esre_create_sysfs_entry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $16, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r12
movq _esrt_kset@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%r12)
movq _esrt@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpl $1, (%rax)
jne LBB0_5
## %bb.3:
movq %r12, %rdi
addq $4, %rdi
movq %r15, 8(%r12)
movq _esre1_ktype@GOTPCREL(%rip), %rsi
leaq L_.str(%rip), %rcx
xorl %edx, %edx
movl %r14d, %r8d
callq _kobject_init_and_add
testl %eax, %eax
je LBB0_5
## %bb.4:
movl %eax, %ebx
movq %r12, %rdi
callq _kfree
jmp LBB0_6
LBB0_5:
movq _entry_list@GOTPCREL(%rip), %rsi
movq %r12, %rdi
callq _list_add_tail
xorl %ebx, %ebx
jmp LBB0_6
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_6:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _esrt_kset,4,2 ## @esrt_kset
.comm _esrt,8,3 ## @esrt
.comm _esre1_ktype,4,2 ## @esre1_ktype
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "entry%d"
.comm _entry_list,4,2 ## @entry_list
.no_dead_strip _esre_create_sysfs_entry
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function esre_create_sysfs_entry
_esre_create_sysfs_entry: ; @esre_create_sysfs_entry
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #16
bl _kzalloc
cbz x0, LBB0_5
; %bb.1:
mov x19, x0
Lloh3:
adrp x8, _esrt_kset@GOTPAGE
Lloh4:
ldr x8, [x8, _esrt_kset@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x0, #4]!
Lloh6:
adrp x8, _esrt@GOTPAGE
Lloh7:
ldr x8, [x8, _esrt@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
ldr w8, [x8]
cmp w8, #1
b.ne LBB0_4
; %bb.2:
str x21, [x19, #8]
Lloh9:
adrp x1, _esre1_ktype@GOTPAGE
Lloh10:
ldr x1, [x1, _esre1_ktype@GOTPAGEOFF]
Lloh11:
adrp x3, l_.str@PAGE
Lloh12:
add x3, x3, l_.str@PAGEOFF
mov x2, #0
mov x4, x20
bl _kobject_init_and_add
cbz w0, LBB0_4
; %bb.3:
mov x20, x0
mov x0, x19
bl _kfree
b LBB0_6
LBB0_4:
Lloh13:
adrp x1, _entry_list@GOTPAGE
Lloh14:
ldr x1, [x1, _entry_list@GOTPAGEOFF]
mov x0, x19
bl _list_add_tail
mov w20, #0
b LBB0_6
LBB0_5:
Lloh15:
adrp x8, _ENOMEM@GOTPAGE
Lloh16:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
neg w20, w8
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
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _esrt_kset,4,2 ; @esrt_kset
.comm _esrt,8,3 ; @esrt
.comm _esre1_ktype,4,2 ; @esre1_ktype
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "entry%d"
.comm _entry_list,4,2 ; @entry_list
.no_dead_strip _esre_create_sysfs_entry
.subsections_via_symbols
| AnghaBench/linux/drivers/firmware/efi/extr_esrt.c_esre_create_sysfs_entry.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rds_ib_ring_oldest ## -- Begin function rds_ib_ring_oldest
.p2align 4, 0x90
_rds_ib_ring_oldest: ## @rds_ib_ring_oldest
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
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 _rds_ib_ring_oldest ; -- Begin function rds_ib_ring_oldest
.p2align 2
_rds_ib_ring_oldest: ; @rds_ib_ring_oldest
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/rds/extr_ib_ring.c_rds_ib_ring_oldest.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ArchitectureSpecificCopyHooks ## -- Begin function ArchitectureSpecificCopyHooks
.p2align 4, 0x90
_ArchitectureSpecificCopyHooks: ## @ArchitectureSpecificCopyHooks
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OMX_COLOR_FormatYUV420SemiPlanar,4,2 ## @OMX_COLOR_FormatYUV420SemiPlanar
.comm _VLC_CODEC_YV12,4,2 ## @VLC_CODEC_YV12
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ArchitectureSpecificCopyHooks ; -- Begin function ArchitectureSpecificCopyHooks
.p2align 2
_ArchitectureSpecificCopyHooks: ; @ArchitectureSpecificCopyHooks
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.comm _OMX_COLOR_FormatYUV420SemiPlanar,4,2 ; @OMX_COLOR_FormatYUV420SemiPlanar
.comm _VLC_CODEC_YV12,4,2 ; @VLC_CODEC_YV12
.subsections_via_symbols
| AnghaBench/vlc/modules/codec/omxil/extr_utils.c_ArchitectureSpecificCopyHooks.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _storbuf ## -- Begin function storbuf
.p2align 4, 0x90
_storbuf: ## @storbuf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %rbx
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _printf
movq _cmdbuf@GOTPCREL(%rip), %r13
movl (%r13), %edi
movq _SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %esi, %esi
callq _memset
movl (%r13), %edi
movq _storstr@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str.1(%rip), %rsi
movq %rbx, %rcx
callq _sprintf
movq _sockfd@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movl (%r13), %esi
movl %eax, %edx
callq _sendbuf
movq %r12, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq _storfile
movl (%rbx), %esi
movq _srvbuf@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
movq _SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %edi, %edi
callq _readbuf
movl (%rbx), %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _checkstatus ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "[+] STOR file %s\n"
.comm _cmdbuf,4,2 ## @cmdbuf
.comm _SIZE,4,2 ## @SIZE
L_.str.1: ## @.str.1
.asciz "%s %s\r\n"
.comm _storstr,8,3 ## @storstr
.comm _sockfd,4,2 ## @sockfd
.comm _srvbuf,4,2 ## @srvbuf
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _storbuf ; -- Begin function storbuf
.p2align 2
_storbuf: ; @storbuf
.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 x21, x1
mov x22, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x22
bl _printf
Lloh2:
adrp x23, _cmdbuf@GOTPAGE
Lloh3:
ldr x23, [x23, _cmdbuf@GOTPAGEOFF]
ldr w0, [x23]
Lloh4:
adrp x24, _SIZE@GOTPAGE
Lloh5:
ldr x24, [x24, _SIZE@GOTPAGEOFF]
ldr w2, [x24]
mov w1, #0
bl _memset
ldr w0, [x23]
Lloh6:
adrp x8, _storstr@GOTPAGE
Lloh7:
ldr x8, [x8, _storstr@GOTPAGEOFF]
Lloh8:
ldr x2, [x8]
Lloh9:
adrp x1, l_.str.1@PAGE
Lloh10:
add x1, x1, l_.str.1@PAGEOFF
mov x3, x22
bl _sprintf
mov x2, x0
Lloh11:
adrp x22, _sockfd@GOTPAGE
Lloh12:
ldr x22, [x22, _sockfd@GOTPAGEOFF]
ldr w0, [x22]
ldr w1, [x23]
bl _sendbuf
mov x0, x21
mov x1, x20
mov x2, x19
bl _storfile
ldr w1, [x22]
Lloh13:
adrp x19, _srvbuf@GOTPAGE
Lloh14:
ldr x19, [x19, _srvbuf@GOTPAGEOFF]
ldr w2, [x19]
ldr w3, [x24]
mov x0, #0
bl _readbuf
ldr 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
b _checkstatus
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "[+] STOR file %s\n"
.comm _cmdbuf,4,2 ; @cmdbuf
.comm _SIZE,4,2 ; @SIZE
l_.str.1: ; @.str.1
.asciz "%s %s\r\n"
.comm _storstr,8,3 ; @storstr
.comm _sockfd,4,2 ; @sockfd
.comm _srvbuf,4,2 ; @srvbuf
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/linux/remote/extr_107.c_storbuf.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proc_pgrpid ## -- Begin function proc_pgrpid
.p2align 4, 0x90
_proc_pgrpid: ## @proc_pgrpid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
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 _proc_pgrpid ; -- Begin function proc_pgrpid
.p2align 2
_proc_pgrpid: ; @proc_pgrpid
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/kern/extr_kern_proc.c_proc_pgrpid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _MarkInvalidateForeignKeyGraph ## -- Begin function MarkInvalidateForeignKeyGraph
.p2align 4, 0x90
_MarkInvalidateForeignKeyGraph: ## @MarkInvalidateForeignKeyGraph
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _shouldInvalidateForeignKeyGraph@GOTPCREL(%rip), %rax
movl $1, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _shouldInvalidateForeignKeyGraph,4,2 ## @shouldInvalidateForeignKeyGraph
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _MarkInvalidateForeignKeyGraph ; -- Begin function MarkInvalidateForeignKeyGraph
.p2align 2
_MarkInvalidateForeignKeyGraph: ; @MarkInvalidateForeignKeyGraph
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _shouldInvalidateForeignKeyGraph@GOTPAGE
Lloh1:
ldr x8, [x8, _shouldInvalidateForeignKeyGraph@GOTPAGEOFF]
mov w9, #1
Lloh2:
str w9, [x8]
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _shouldInvalidateForeignKeyGraph,4,2 ; @shouldInvalidateForeignKeyGraph
.subsections_via_symbols
| AnghaBench/citus/src/backend/distributed/commands/extr_utility_hook.c_MarkInvalidateForeignKeyGraph.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function raid10_resize
_raid10_resize: ## @raid10_resize
.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), %rax
movq _MaxSector@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.3:
movq %rsi, %r14
movq %rdi, %rbx
movq 64(%rdi), %r15
cmpl $2, 8(%r15)
jl LBB0_6
## %bb.4:
cmpl $0, 12(%r15)
je LBB0_5
LBB0_6:
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _raid10_size
movq %rax, %r13
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq _raid10_size
movq %rax, %r12
cmpq $0, 56(%rbx)
je LBB0_8
## %bb.7:
cmpq %r12, 8(%rbx)
jle LBB0_8
LBB0_5:
movq _EINVAL@GOTPCREL(%rip), %rcx
jmp LBB0_2
LBB0_1:
movq _EBUSY@GOTPCREL(%rip), %rcx
LBB0_2:
xorl %eax, %eax
subl (%rcx), %eax
LBB0_14:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movq 48(%rbx), %rdi
testq %rdi, %rdi
je LBB0_10
## %bb.9:
movq %r12, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq _md_bitmap_resize
testl %eax, %eax
jne LBB0_14
LBB0_10:
movq %rbx, %rdi
movq %r12, %rsi
callq _md_set_array_sectors
cmpq %r14, 16(%rbx)
jge LBB0_13
## %bb.11:
cmpq %r13, 24(%rbx)
jle LBB0_13
## %bb.12:
movq %r13, 24(%rbx)
movq _MD_RECOVERY_NEEDED@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 40(%rbx), %rsi
callq _set_bit
LBB0_13:
movq %r15, %rdi
movq %r14, %rsi
callq _calc_sectors
movq (%r15), %rax
movq %rax, 16(%rbx)
movq %r12, 32(%rbx)
xorl %eax, %eax
jmp LBB0_14
.cfi_endproc
## -- End function
.comm _MaxSector,8,3 ## @MaxSector
.comm _EBUSY,4,2 ## @EBUSY
.comm _EINVAL,4,2 ## @EINVAL
.comm _MD_RECOVERY_NEEDED,4,2 ## @MD_RECOVERY_NEEDED
.no_dead_strip _raid10_resize
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function raid10_resize
_raid10_resize: ; @raid10_resize
.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 x8, [x0]
Lloh0:
adrp x9, _MaxSector@GOTPAGE
Lloh1:
ldr x9, [x9, _MaxSector@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_6
; %bb.1:
mov x20, x1
mov x19, x0
ldr x21, [x0, #64]
ldr w8, [x21, #8]
cmp w8, #2
b.lt LBB0_3
; %bb.2:
ldr w8, [x21, #12]
cbz w8, LBB0_5
LBB0_3:
mov x0, x19
mov x1, #0
mov w2, #0
bl _raid10_size
mov x23, x0
mov x0, x19
mov x1, x20
mov w2, #0
bl _raid10_size
mov x22, x0
ldr x8, [x19, #56]
cbz x8, LBB0_9
; %bb.4:
ldr x8, [x19, #8]
cmp x8, x22
b.le LBB0_9
LBB0_5:
Lloh3:
adrp x8, _EINVAL@GOTPAGE
Lloh4:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_7
LBB0_6:
Lloh5:
adrp x8, _EBUSY@GOTPAGE
Lloh6:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_7:
ldr w8, [x8]
neg w0, w8
LBB0_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_9:
ldr x0, [x19, #48]
cbz x0, LBB0_11
; %bb.10:
mov x1, x22
mov w2, #0
mov w3, #0
bl _md_bitmap_resize
cbnz w0, LBB0_8
LBB0_11:
mov x0, x19
mov x1, x22
bl _md_set_array_sectors
ldr x8, [x19, #16]
cmp x8, x20
b.ge LBB0_14
; %bb.12:
ldr x8, [x19, #24]
cmp x8, x23
b.le LBB0_14
; %bb.13:
str x23, [x19, #24]
Lloh7:
adrp x8, _MD_RECOVERY_NEEDED@GOTPAGE
Lloh8:
ldr x8, [x8, _MD_RECOVERY_NEEDED@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
add x1, x19, #40
bl _set_bit
LBB0_14:
mov x0, x21
mov x1, x20
bl _calc_sectors
mov w0, #0
ldr x8, [x21]
str x8, [x19, #16]
str x22, [x19, #32]
b LBB0_8
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _MaxSector,8,3 ; @MaxSector
.comm _EBUSY,4,2 ; @EBUSY
.comm _EINVAL,4,2 ; @EINVAL
.comm _MD_RECOVERY_NEEDED,4,2 ; @MD_RECOVERY_NEEDED
.no_dead_strip _raid10_resize
.subsections_via_symbols
| AnghaBench/linux/drivers/md/extr_raid10.c_raid10_resize.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vendor_string_show
_vendor_string_show: ## @vendor_string_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
callq _to_gb_control
movq _PAGE_SIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl (%rax), %ecx
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _scnprintf ## TAILCALL
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
.no_dead_strip _vendor_string_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vendor_string_show
_vendor_string_show: ; @vendor_string_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
bl _to_gb_control
Lloh0:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldr w3, [x0]
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, 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 _scnprintf
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
.no_dead_strip _vendor_string_show
.subsections_via_symbols
| AnghaBench/linux/drivers/greybus/extr_control.c_vendor_string_show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function il3945_setup_handlers
_il3945_setup_handlers: ## @il3945_setup_handlers
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq _il3945_hdl_alive@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq (%rdi), %rax
movq _N_ALIVE@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %ecx, (%rax,%rdx,4)
movq _il3945_hdl_add_sta@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _C_ADD_STA@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %ecx, (%rax,%rdx,4)
movq _il_hdl_error@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _N_ERROR@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %ecx, (%rax,%rdx,4)
movq _il_hdl_csa@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _N_CHANNEL_SWITCH@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %ecx, (%rax,%rdx,4)
movq _il_hdl_spectrum_measurement@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _N_SPECTRUM_MEASUREMENT@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %ecx, (%rax,%rdx,4)
movq _il_hdl_pm_sleep@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _N_PM_SLEEP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %ecx, (%rax,%rdx,4)
movq _il_hdl_pm_debug_stats@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _N_PM_DEBUG_STATS@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %ecx, (%rax,%rdx,4)
movq _il3945_hdl_beacon@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _N_BEACON@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %ecx, (%rax,%rdx,4)
movq _il3945_hdl_c_stats@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _C_STATS@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %ecx, (%rax,%rdx,4)
movq _il3945_hdl_stats@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _N_STATS@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %ecx, (%rax,%rdx,4)
callq _il_setup_rx_scan_handlers
movq _il3945_hdl_card_state@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq (%rbx), %rcx
movq _N_CARD_STATE@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %eax, (%rcx,%rdx,4)
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _il3945_hw_handler_setup ## TAILCALL
.cfi_endproc
## -- End function
.comm _il3945_hdl_alive,4,2 ## @il3945_hdl_alive
.comm _N_ALIVE,8,3 ## @N_ALIVE
.comm _il3945_hdl_add_sta,4,2 ## @il3945_hdl_add_sta
.comm _C_ADD_STA,8,3 ## @C_ADD_STA
.comm _il_hdl_error,4,2 ## @il_hdl_error
.comm _N_ERROR,8,3 ## @N_ERROR
.comm _il_hdl_csa,4,2 ## @il_hdl_csa
.comm _N_CHANNEL_SWITCH,8,3 ## @N_CHANNEL_SWITCH
.comm _il_hdl_spectrum_measurement,4,2 ## @il_hdl_spectrum_measurement
.comm _N_SPECTRUM_MEASUREMENT,8,3 ## @N_SPECTRUM_MEASUREMENT
.comm _il_hdl_pm_sleep,4,2 ## @il_hdl_pm_sleep
.comm _N_PM_SLEEP,8,3 ## @N_PM_SLEEP
.comm _il_hdl_pm_debug_stats,4,2 ## @il_hdl_pm_debug_stats
.comm _N_PM_DEBUG_STATS,8,3 ## @N_PM_DEBUG_STATS
.comm _il3945_hdl_beacon,4,2 ## @il3945_hdl_beacon
.comm _N_BEACON,8,3 ## @N_BEACON
.comm _il3945_hdl_c_stats,4,2 ## @il3945_hdl_c_stats
.comm _C_STATS,8,3 ## @C_STATS
.comm _il3945_hdl_stats,4,2 ## @il3945_hdl_stats
.comm _N_STATS,8,3 ## @N_STATS
.comm _il3945_hdl_card_state,4,2 ## @il3945_hdl_card_state
.comm _N_CARD_STATE,8,3 ## @N_CARD_STATE
.no_dead_strip _il3945_setup_handlers
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function il3945_setup_handlers
_il3945_setup_handlers: ; @il3945_setup_handlers
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _il3945_hdl_alive@GOTPAGE
Lloh1:
ldr x8, [x8, _il3945_hdl_alive@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr x9, [x0]
Lloh3:
adrp x10, _N_ALIVE@GOTPAGE
Lloh4:
ldr x10, [x10, _N_ALIVE@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
str w8, [x9, x10, lsl #2]
Lloh6:
adrp x8, _il3945_hdl_add_sta@GOTPAGE
Lloh7:
ldr x8, [x8, _il3945_hdl_add_sta@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x10, _C_ADD_STA@GOTPAGE
Lloh10:
ldr x10, [x10, _C_ADD_STA@GOTPAGEOFF]
Lloh11:
ldr x10, [x10]
str w8, [x9, x10, lsl #2]
Lloh12:
adrp x8, _il_hdl_error@GOTPAGE
Lloh13:
ldr x8, [x8, _il_hdl_error@GOTPAGEOFF]
Lloh14:
adrp x10, _N_ERROR@GOTPAGE
Lloh15:
ldr x10, [x10, _N_ERROR@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
Lloh17:
ldr x10, [x10]
str w8, [x9, x10, lsl #2]
Lloh18:
adrp x8, _il_hdl_csa@GOTPAGE
Lloh19:
ldr x8, [x8, _il_hdl_csa@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
Lloh21:
adrp x10, _N_CHANNEL_SWITCH@GOTPAGE
Lloh22:
ldr x10, [x10, _N_CHANNEL_SWITCH@GOTPAGEOFF]
Lloh23:
ldr x10, [x10]
str w8, [x9, x10, lsl #2]
Lloh24:
adrp x8, _il_hdl_spectrum_measurement@GOTPAGE
Lloh25:
ldr x8, [x8, _il_hdl_spectrum_measurement@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
Lloh27:
adrp x10, _N_SPECTRUM_MEASUREMENT@GOTPAGE
Lloh28:
ldr x10, [x10, _N_SPECTRUM_MEASUREMENT@GOTPAGEOFF]
Lloh29:
ldr x10, [x10]
str w8, [x9, x10, lsl #2]
Lloh30:
adrp x8, _il_hdl_pm_sleep@GOTPAGE
Lloh31:
ldr x8, [x8, _il_hdl_pm_sleep@GOTPAGEOFF]
Lloh32:
adrp x10, _N_PM_SLEEP@GOTPAGE
Lloh33:
ldr x10, [x10, _N_PM_SLEEP@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
Lloh35:
ldr x10, [x10]
str w8, [x9, x10, lsl #2]
Lloh36:
adrp x8, _il_hdl_pm_debug_stats@GOTPAGE
Lloh37:
ldr x8, [x8, _il_hdl_pm_debug_stats@GOTPAGEOFF]
Lloh38:
ldr w8, [x8]
Lloh39:
adrp x10, _N_PM_DEBUG_STATS@GOTPAGE
Lloh40:
ldr x10, [x10, _N_PM_DEBUG_STATS@GOTPAGEOFF]
Lloh41:
ldr x10, [x10]
str w8, [x9, x10, lsl #2]
Lloh42:
adrp x8, _il3945_hdl_beacon@GOTPAGE
Lloh43:
ldr x8, [x8, _il3945_hdl_beacon@GOTPAGEOFF]
Lloh44:
ldr w8, [x8]
Lloh45:
adrp x10, _N_BEACON@GOTPAGE
Lloh46:
ldr x10, [x10, _N_BEACON@GOTPAGEOFF]
Lloh47:
ldr x10, [x10]
str w8, [x9, x10, lsl #2]
Lloh48:
adrp x8, _il3945_hdl_c_stats@GOTPAGE
Lloh49:
ldr x8, [x8, _il3945_hdl_c_stats@GOTPAGEOFF]
Lloh50:
adrp x10, _C_STATS@GOTPAGE
Lloh51:
ldr x10, [x10, _C_STATS@GOTPAGEOFF]
Lloh52:
ldr w8, [x8]
Lloh53:
ldr x10, [x10]
str w8, [x9, x10, lsl #2]
Lloh54:
adrp x8, _il3945_hdl_stats@GOTPAGE
Lloh55:
ldr x8, [x8, _il3945_hdl_stats@GOTPAGEOFF]
Lloh56:
ldr w8, [x8]
Lloh57:
adrp x10, _N_STATS@GOTPAGE
Lloh58:
ldr x10, [x10, _N_STATS@GOTPAGEOFF]
Lloh59:
ldr x10, [x10]
str w8, [x9, x10, lsl #2]
bl _il_setup_rx_scan_handlers
Lloh60:
adrp x8, _il3945_hdl_card_state@GOTPAGE
Lloh61:
ldr x8, [x8, _il3945_hdl_card_state@GOTPAGEOFF]
Lloh62:
ldr w8, [x8]
ldr x9, [x19]
Lloh63:
adrp x10, _N_CARD_STATE@GOTPAGE
Lloh64:
ldr x10, [x10, _N_CARD_STATE@GOTPAGEOFF]
Lloh65:
ldr x10, [x10]
str w8, [x9, x10, lsl #2]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _il3945_hw_handler_setup
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh53
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh52
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh34
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh16
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _il3945_hdl_alive,4,2 ; @il3945_hdl_alive
.comm _N_ALIVE,8,3 ; @N_ALIVE
.comm _il3945_hdl_add_sta,4,2 ; @il3945_hdl_add_sta
.comm _C_ADD_STA,8,3 ; @C_ADD_STA
.comm _il_hdl_error,4,2 ; @il_hdl_error
.comm _N_ERROR,8,3 ; @N_ERROR
.comm _il_hdl_csa,4,2 ; @il_hdl_csa
.comm _N_CHANNEL_SWITCH,8,3 ; @N_CHANNEL_SWITCH
.comm _il_hdl_spectrum_measurement,4,2 ; @il_hdl_spectrum_measurement
.comm _N_SPECTRUM_MEASUREMENT,8,3 ; @N_SPECTRUM_MEASUREMENT
.comm _il_hdl_pm_sleep,4,2 ; @il_hdl_pm_sleep
.comm _N_PM_SLEEP,8,3 ; @N_PM_SLEEP
.comm _il_hdl_pm_debug_stats,4,2 ; @il_hdl_pm_debug_stats
.comm _N_PM_DEBUG_STATS,8,3 ; @N_PM_DEBUG_STATS
.comm _il3945_hdl_beacon,4,2 ; @il3945_hdl_beacon
.comm _N_BEACON,8,3 ; @N_BEACON
.comm _il3945_hdl_c_stats,4,2 ; @il3945_hdl_c_stats
.comm _C_STATS,8,3 ; @C_STATS
.comm _il3945_hdl_stats,4,2 ; @il3945_hdl_stats
.comm _N_STATS,8,3 ; @N_STATS
.comm _il3945_hdl_card_state,4,2 ; @il3945_hdl_card_state
.comm _N_CARD_STATE,8,3 ; @N_CARD_STATE
.no_dead_strip _il3945_setup_handlers
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945-mac.c_il3945_setup_handlers.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ai_get_boardvendor
_ai_get_boardvendor: ## @ai_get_boardvendor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ai_get_boardvendor
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ai_get_boardvendor
_ai_get_boardvendor: ; @ai_get_boardvendor
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _ai_get_boardvendor
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_aiutils.h_ai_get_boardvendor.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ata_lpm_schedule ## -- Begin function ata_lpm_schedule
.p2align 4, 0x90
_ata_lpm_schedule: ## @ata_lpm_schedule
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, (%rdi)
movq _ATA_EH_LPM@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 8(%rdi)
movq _ATA_EHI_NO_AUTOPSY@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 4(%rdi)
popq %rbp
jmp _ata_port_schedule_eh ## TAILCALL
.cfi_endproc
## -- End function
.comm _ATA_EH_LPM,4,2 ## @ATA_EH_LPM
.comm _ATA_EHI_NO_AUTOPSY,4,2 ## @ATA_EHI_NO_AUTOPSY
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ata_lpm_schedule ; -- Begin function ata_lpm_schedule
.p2align 2
_ata_lpm_schedule: ; @ata_lpm_schedule
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ATA_EH_LPM@GOTPAGE
Lloh1:
ldr x8, [x8, _ATA_EH_LPM@GOTPAGEOFF]
str w1, [x0]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _ATA_EHI_NO_AUTOPSY@GOTPAGE
Lloh4:
ldr x9, [x9, _ATA_EHI_NO_AUTOPSY@GOTPAGEOFF]
ldp w11, w10, [x0, #4]
orr w8, w10, w8
Lloh5:
ldr w9, [x9]
orr w9, w11, w9
stp w9, w8, [x0, #4]
b _ata_port_schedule_eh
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ATA_EH_LPM,4,2 ; @ATA_EH_LPM
.comm _ATA_EHI_NO_AUTOPSY,4,2 ; @ATA_EHI_NO_AUTOPSY
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_ata_lpm_schedule.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function powern
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _powern
.p2align 4, 0x90
_powern: ## @powern
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
testl %edi, %edi
je LBB0_1
## %bb.2:
leal -1(%rdi), %ecx
movl %edi, %eax
andl $7, %eax
cmpl $7, %ecx
jae LBB0_4
## %bb.3:
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
jmp LBB0_6
LBB0_1:
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
jmp LBB0_8
LBB0_4:
andl $-8, %edi
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
addl $-8, %edi
jne LBB0_5
LBB0_6:
testl %eax, %eax
je LBB0_8
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
mulsd %xmm0, %xmm1
decl %eax
jne LBB0_7
LBB0_8:
movapd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0x3ff0000000000000 ## double 1
.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
xorpd %xmm0, %xmm0
movl $1, %eax
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
xorl %edx, %edx
movl $3435973837, %r8d ## imm = 0xCCCCCCCD
movapd %xmm1, %xmm2
jmp LBB1_1
.p2align 4, 0x90
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
addsd %xmm3, %xmm0
addsd %xmm1, %xmm2
incl %eax
cmpl $100000000, %eax ## imm = 0x5F5E100
je LBB1_9
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_4 Depth 2
## Child Loop BB1_7 Depth 2
movl %edx, %edi
leal 1(%rdi), %edx
imull $-858993459, %eax, %esi ## imm = 0xCCCCCCCD
movapd %xmm1, %xmm3
cmpl $858993460, %esi ## imm = 0x33333334
jb LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq %rdx, %rsi
imulq %r8, %rsi
shrq $34, %rsi
leal (%rsi,%rsi,4), %ecx
movl %edx, %esi
subl %ecx, %esi
movl %esi, %ecx
subl %edx, %ecx
addl %edi, %ecx
movapd %xmm1, %xmm3
cmpl $7, %ecx
jb LBB1_5
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
xorl %edi, %edi
movapd %xmm1, %xmm3
.p2align 4, 0x90
LBB1_4: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
mulsd %xmm2, %xmm3
mulsd %xmm2, %xmm3
mulsd %xmm2, %xmm3
mulsd %xmm2, %xmm3
mulsd %xmm2, %xmm3
mulsd %xmm2, %xmm3
mulsd %xmm2, %xmm3
mulsd %xmm2, %xmm3
addl $-8, %edi
jne LBB1_4
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
testl %esi, %esi
je LBB1_8
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movl %eax, %ecx
imulq %r8, %rcx
shrq $34, %rcx
leal (%rcx,%rcx,4), %esi
.p2align 4, 0x90
LBB1_7: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
mulsd %xmm2, %xmm3
incl %esi
cmpl %esi, %eax
jne LBB1_7
jmp LBB1_8
LBB1_9:
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sum = %g\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _powern ; -- Begin function powern
.p2align 2
_powern: ; @powern
.cfi_startproc
; %bb.0:
cbz w0, LBB0_4
; %bb.1:
fmov d1, d0
fmov d0, #1.00000000
LBB0_2: ; =>This Inner Loop Header: Depth=1
fmul d0, d0, d1
subs w0, w0, #1
b.ne LBB0_2
; %bb.3:
ret
LBB0_4:
fmov d0, #1.00000000
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
movi d0, #0000000000000000
mov w8, #1
fmov d1, #1.00000000
mov w9, #52429
movk w9, #52428, lsl #16
mov w10, #13108
movk w10, #13107, lsl #16
mov w11, #57600
movk w11, #1525, lsl #16
fmov d2, #1.00000000
b LBB1_2
LBB1_1: ; in Loop: Header=BB1_2 Depth=1
fadd d0, d0, d3
fadd d2, d2, d1
add w8, w8, #1
cmp w8, w11
b.eq LBB1_5
LBB1_2: ; =>This Loop Header: Depth=1
; Child Loop BB1_4 Depth 2
mul w12, w8, w9
fmov d3, #1.00000000
cmp w12, w10
b.lo LBB1_1
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
umull x12, w8, w9
lsr x12, x12, #34
add w12, w12, w12, lsl #2
fmov d3, #1.00000000
LBB1_4: ; Parent Loop BB1_2 Depth=1
; => This Inner Loop Header: Depth=2
fmul d3, d3, d2
add w12, w12, #1
cmp w8, w12
b.ne LBB1_4
b LBB1_1
LBB1_5:
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 d0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sum = %g\n"
.subsections_via_symbols
| the_stack_data/118889208.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vtscsi_modevent
_vtscsi_modevent: ## @vtscsi_modevent
.cfi_startproc
## %bb.0:
andl $-4, %esi
xorl %eax, %eax
cmpl $128, %esi
je LBB0_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _EOPNOTSUPP@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
LBB0_2:
retq
.cfi_endproc
## -- End function
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.no_dead_strip _vtscsi_modevent
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vtscsi_modevent
_vtscsi_modevent: ; @vtscsi_modevent
.cfi_startproc
; %bb.0:
and w8, w1, #0xfffffffc
Lloh0:
adrp x9, _EOPNOTSUPP@GOTPAGE
Lloh1:
ldr x9, [x9, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
cmp w8, #128
csel w0, wzr, w9, eq
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.no_dead_strip _vtscsi_modevent
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/virtio/scsi/extr_virtio_scsi.c_vtscsi_modevent.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _EVP_KDF_CTX_dup ## -- Begin function EVP_KDF_CTX_dup
.p2align 4, 0x90
_EVP_KDF_CTX_dup: ## @EVP_KDF_CTX_dup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testq %rdi, %rdi
je LBB0_9
## %bb.1:
movq %rdi, %rbx
cmpq $0, (%rdi)
je LBB0_9
## %bb.2:
movq 8(%rbx), %rax
cmpq $0, (%rax)
je LBB0_9
## %bb.3:
movl $16, %edi
callq _OPENSSL_malloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
movl $16, %edx
callq _memcpy
movq 8(%r14), %rdi
callq _EVP_KDF_up_ref
testl %eax, %eax
je LBB0_6
## %bb.7:
movq (%rbx), %rdi
movq 8(%rbx), %rax
callq *(%rax)
movq %rax, (%r14)
testq %rax, %rax
jne LBB0_10
## %bb.8:
movq %r14, %rdi
callq _EVP_KDF_CTX_free
jmp LBB0_9
LBB0_4:
movq _EVP_F_EVP_KDF_CTX_DUP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _EVPerr
jmp LBB0_9
LBB0_6:
movq _EVP_F_EVP_KDF_CTX_DUP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _EVPerr
movq %r14, %rdi
callq _OPENSSL_free
LBB0_9:
xorl %r14d, %r14d
LBB0_10:
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EVP_F_EVP_KDF_CTX_DUP,4,2 ## @EVP_F_EVP_KDF_CTX_DUP
.comm _ERR_R_MALLOC_FAILURE,4,2 ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _EVP_KDF_CTX_dup ; -- Begin function EVP_KDF_CTX_dup
.p2align 2
_EVP_KDF_CTX_dup: ; @EVP_KDF_CTX_dup
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB0_9
; %bb.1:
mov x20, x0
ldr x8, [x0]
cbz x8, LBB0_9
; %bb.2:
ldr x8, [x20, #8]
ldr x8, [x8]
cbz x8, LBB0_9
; %bb.3:
mov w0, #16
bl _OPENSSL_malloc
mov x19, x0
cbz x0, LBB0_7
; %bb.4:
mov x0, x19
mov x1, x20
mov w2, #16
bl _memcpy
ldr x0, [x19, #8]
bl _EVP_KDF_up_ref
cbz w0, LBB0_8
; %bb.5:
ldp x0, x8, [x20]
ldr x8, [x8]
blr x8
str x0, [x19]
cbnz x0, LBB0_10
; %bb.6:
mov x0, x19
bl _EVP_KDF_CTX_free
b LBB0_9
LBB0_7:
Lloh0:
adrp x8, _EVP_F_EVP_KDF_CTX_DUP@GOTPAGE
Lloh1:
ldr x8, [x8, _EVP_F_EVP_KDF_CTX_DUP@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh4:
ldr x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _EVPerr
b LBB0_10
LBB0_8:
Lloh6:
adrp x8, _EVP_F_EVP_KDF_CTX_DUP@GOTPAGE
Lloh7:
ldr x8, [x8, _EVP_F_EVP_KDF_CTX_DUP@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
Lloh9:
adrp x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh10:
ldr x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
bl _EVPerr
mov x0, x19
bl _OPENSSL_free
LBB0_9:
mov x19, #0
LBB0_10:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _EVP_F_EVP_KDF_CTX_DUP,4,2 ; @EVP_F_EVP_KDF_CTX_DUP
.comm _ERR_R_MALLOC_FAILURE,4,2 ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
| AnghaBench/openssl/crypto/evp/extr_kdf_lib.c_EVP_KDF_CTX_dup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function eqn_box
_eqn_box: ## @eqn_box
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rsi, %rsi
je LBB0_85
## %bb.1:
movq %rsi, %r13
movq %rdi, %r15
movq _EQN_MATRIX@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq (%rsi), %rax
jne LBB0_6
## %bb.2:
movq 72(%r13), %rsi
testq %rsi, %rsi
je LBB0_13
## %bb.3:
movq (%rsi), %rax
movq _EQN_LIST@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_5
## %bb.4:
cmpl $1, 8(%rsi)
jne LBB0_56
LBB0_5:
movq %r15, %rdi
callq _eqn_box
xorl %r14d, %r14d
cmpq $0, 24(%r13)
jne LBB0_79
jmp LBB0_80
LBB0_6:
movl 12(%r13), %eax
addl $-128, %eax
cmpl $7, %eax
ja LBB0_8
## %bb.7:
cltq
leaq l_switch.table.eqn_box(%rip), %rcx
movq (%rcx,%rax,8), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _print_otag
movq %rax, %r14
cmpq $0, 16(%r13)
jne LBB0_10
jmp LBB0_9
LBB0_8:
xorl %r14d, %r14d
cmpq $0, 16(%r13)
jne LBB0_10
LBB0_9:
cmpq $0, 24(%r13)
je LBB0_18
LBB0_10:
xorl %edi, %edi
testq %r14, %r14
sete %dil
callq _assert
cmpq $0, 16(%r13)
movq 24(%r13), %rax
je LBB0_14
## %bb.11:
testq %rax, %rax
jne LBB0_16
## %bb.12:
movq _TAG_MOVER@GOTPCREL(%rip), %rax
jmp LBB0_17
LBB0_14:
testq %rax, %rax
je LBB0_18
## %bb.15:
movq _TAG_MUNDER@GOTPCREL(%rip), %rax
jmp LBB0_17
LBB0_16:
movq _TAG_MUNDEROVER@GOTPCREL(%rip), %rax
LBB0_17:
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _print_otag
movq %rax, %r14
LBB0_18:
movq _EQN_PILE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%r13), %rcx
cmpq %rcx, %rax
jne LBB0_23
## %bb.19:
xorl %edi, %edi
testq %r14, %r14
sete %dil
callq _assert
movq 72(%r13), %rax
testq %rax, %rax
je LBB0_28
## %bb.20:
movq (%rax), %rcx
movq _EQN_LIST@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_28
## %bb.21:
cmpl $2, 8(%rax)
jl LBB0_28
## %bb.22:
movq _TAG_MTABLE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _print_otag
movq %rax, %r14
jmp LBB0_28
LBB0_23:
movq _EQN_LIST@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_28
## %bb.24:
cmpl $2, 8(%r13)
jl LBB0_28
## %bb.25:
movq 80(%r13), %rcx
testq %rcx, %rcx
je LBB0_28
## %bb.26:
cmpq %rax, (%rcx)
jne LBB0_28
## %bb.27:
xorl %edi, %edi
testq %r14, %r14
sete %dil
callq _assert
movq _TAG_MTR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %r12
movq %r15, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq _print_otag
movq %rax, %r14
movq _TAG_MTD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq _print_otag
LBB0_28:
cmpq $0, 32(%r13)
je LBB0_35
## %bb.29:
xorl %edi, %edi
testq %r14, %r14
sete %dil
callq _assert
movq _TAG_MI@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %r13, %r12
movq 32(%r13), %rbx
movq %rbx, -48(%rbp)
movzbl (%rbx), %edi
callq _isdigit
testq %rax, %rax
je LBB0_41
LBB0_30:
movq _TAG_MN@GOTPCREL(%rip), %rax
movl (%rax), %r14d
.p2align 4, 0x90
LBB0_31: ## =>This Inner Loop Header: Depth=1
incq %rbx
movq %rbx, -48(%rbp)
movzbl (%rbx), %eax
cmpb $46, %al
je LBB0_31
## %bb.32: ## in Loop: Header=BB0_31 Depth=1
testb %al, %al
je LBB0_46
## %bb.33: ## in Loop: Header=BB0_31 Depth=1
movzbl %al, %edi
callq _isdigit
testq %rax, %rax
jne LBB0_31
LBB0_34:
movq _TAG_MI@GOTPCREL(%rip), %rax
movl (%rax), %r14d
jmp LBB0_46
LBB0_35:
testq %r14, %r14
jne LBB0_77
## %bb.36:
movq 48(%r13), %r8
movq 56(%r13), %rax
testq %r8, %r8
jne LBB0_39
## %bb.37:
testq %rax, %rax
je LBB0_86
## %bb.38:
leaq L_.str(%rip), %r8
LBB0_39:
movq _TAG_MFENCED@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
testq %rax, %rax
leaq L_.str(%rip), %rcx
cmovneq %rax, %rcx
movq %rcx, (%rsp)
leaq L_.str.7(%rip), %rdx
leaq L_.str.8(%rip), %rcx
leaq L_.str.9(%rip), %r9
movq %r15, %rdi
xorl %eax, %eax
callq _print_otag
testq %rax, %rax
je LBB0_86
## %bb.40:
movq %rax, %r14
movq _TAG_MROW@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _print_otag
jmp LBB0_77
LBB0_41:
movb (%rbx), %al
cmpb $46, %al
jne LBB0_44
## %bb.42:
movzbl 1(%rbx), %edi
callq _isdigit
testq %rax, %rax
jne LBB0_30
## %bb.43:
movb (%rbx), %al
LBB0_44:
testb %al, %al
je LBB0_46
## %bb.45:
movzbl %al, %edi
callq _isalpha
testq %rax, %rax
je LBB0_88
LBB0_46:
movq %r12, %r13
movl 40(%r12), %eax
movq 32(%r12), %rcx
cmpb $0, (%rcx)
je LBB0_52
## %bb.47:
movq _TAG_MN@GOTPCREL(%rip), %rdx
cmpl (%rdx), %r14d
je LBB0_49
## %bb.48:
movq _TAG_MO@GOTPCREL(%rip), %rdx
cmpl (%rdx), %r14d
jne LBB0_50
LBB0_49:
cmpl $136, %eax
je LBB0_55
LBB0_50:
movq _TAG_MI@GOTPCREL(%rip), %rdx
cmpl (%rdx), %r14d
jne LBB0_52
## %bb.51:
xorl %edx, %edx
cmpb $0, 1(%rcx)
sete %dl
leal (%rdx,%rdx), %ecx
addl $136, %ecx
cmpl %ecx, %eax
je LBB0_55
LBB0_52:
addl $-136, %eax
cmpl $4, %eax
ja LBB0_97
## %bb.53:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_54:
leaq L_.str.1(%rip), %rdx
leaq L_.str.4(%rip), %rcx
leaq L_.str.5(%rip), %r8
jmp LBB0_75
LBB0_55:
leaq L_.str(%rip), %rdx
movq %r15, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _print_otag
jmp LBB0_76
LBB0_56:
movq 72(%rsi), %rax
testq %rax, %rax
je LBB0_13
## %bb.57:
movq 72(%rax), %rax
testq %rax, %rax
je LBB0_13
## %bb.58:
movl $1, %ebx
.p2align 4, 0x90
LBB0_59: ## =>This Inner Loop Header: Depth=1
movq 64(%rax), %rax
decq %rbx
testq %rax, %rax
jne LBB0_59
## %bb.60:
movq _TAG_MTABLE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _print_otag
movq %rax, %r14
cmpq $1, %rbx
je LBB0_78
## %bb.61:
movq %r14, -56(%rbp) ## 8-byte Spill
negq %rbx
xorl %r14d, %r14d
movq %r13, -72(%rbp) ## 8-byte Spill
movq %rbx, -64(%rbp) ## 8-byte Spill
jmp LBB0_63
.p2align 4, 0x90
LBB0_62: ## in Loop: Header=BB0_63 Depth=1
movq %r15, %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
callq _print_tagq
leaq 1(%r14), %rax
movq -64(%rbp), %rbx ## 8-byte Reload
cmpq %r14, %rbx
movq %rax, %r14
movq -72(%rbp), %r13 ## 8-byte Reload
je LBB0_96
LBB0_63: ## =>This Loop Header: Depth=1
## Child Loop BB0_65 Depth 2
## Child Loop BB0_69 Depth 3
movq 72(%r13), %rax
movq 72(%rax), %rbx
movq _TAG_MTR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
leaq L_.str(%rip), %rdx
xorl %eax, %eax
callq _print_otag
movq %rax, -80(%rbp) ## 8-byte Spill
jmp LBB0_65
.p2align 4, 0x90
LBB0_64: ## in Loop: Header=BB0_65 Depth=2
movq %r15, %rdi
movq %rax, %rsi
callq _print_tagq
movq 64(%rbx), %rbx
LBB0_65: ## Parent Loop BB0_63 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_69 Depth 3
testq %rbx, %rbx
je LBB0_62
## %bb.66: ## in Loop: Header=BB0_65 Depth=2
movq %r15, %r13
movq 72(%rbx), %r12
testq %r12, %r12
sete %r15b
testq %r14, %r14
je LBB0_71
## %bb.67: ## in Loop: Header=BB0_65 Depth=2
testq %r12, %r12
je LBB0_71
## %bb.68: ## in Loop: Header=BB0_65 Depth=2
movl $1, %eax
.p2align 4, 0x90
LBB0_69: ## Parent Loop BB0_63 Depth=1
## Parent Loop BB0_65 Depth=2
## => This Inner Loop Header: Depth=3
movq 64(%r12), %r12
testq %r12, %r12
sete %r15b
cmpq %r14, %rax
jae LBB0_71
## %bb.70: ## in Loop: Header=BB0_69 Depth=3
incq %rax
testq %r12, %r12
jne LBB0_69
LBB0_71: ## in Loop: Header=BB0_65 Depth=2
movq _TAG_MTD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r13, %rdi
leaq L_.str(%rip), %rdx
xorl %eax, %eax
callq _print_otag
testb %r15b, %r15b
movq %r13, %r15
jne LBB0_64
## %bb.72: ## in Loop: Header=BB0_65 Depth=2
movq 72(%r12), %rsi
movq %r15, %rdi
movq %rax, %r12
callq _eqn_box
movq %r12, %rax
jmp LBB0_64
LBB0_13:
xorl %r14d, %r14d
cmpq $0, 24(%r13)
jne LBB0_79
jmp LBB0_80
LBB0_73:
leaq L_.str.1(%rip), %rdx
leaq L_.str.2(%rip), %rcx
leaq L_.str.3(%rip), %r8
jmp LBB0_75
LBB0_74:
leaq L_.str.1(%rip), %rdx
leaq L_.str.2(%rip), %rcx
leaq L_.str.6(%rip), %r8
LBB0_75:
movq %r15, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _print_otag
LBB0_76:
movq %rax, %r14
movq 32(%r13), %rsi
movq %r15, %rdi
callq _print_text
LBB0_77:
movq 72(%r13), %rsi
movq %r15, %rdi
callq _eqn_box
LBB0_78:
cmpq $0, 24(%r13)
je LBB0_80
LBB0_79:
movq _TAG_MO@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _print_otag
movq %rax, %r12
movq 24(%r13), %rsi
movq %r15, %rdi
callq _print_text
movq %r15, %rdi
movq %r12, %rsi
callq _print_tagq
LBB0_80:
cmpq $0, 16(%r13)
je LBB0_82
## %bb.81:
movq _TAG_MO@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _print_otag
movq %rax, %r12
movq 16(%r13), %rsi
movq %r15, %rdi
callq _print_text
movq %r15, %rdi
movq %r12, %rsi
callq _print_tagq
LBB0_82:
testq %r14, %r14
je LBB0_84
## %bb.83:
movq %r15, %rdi
movq %r14, %rsi
callq _print_tagq
LBB0_84:
movq 64(%r13), %rsi
movq %r15, %rdi
callq _eqn_box
LBB0_85:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_86:
movq _TAG_MROW@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _print_otag
movq %rax, %r14
jmp LBB0_77
LBB0_88:
movq _TAG_MO@GOTPCREL(%rip), %rax
movl (%rax), %r14d
leaq -48(%rbp), %r13
jmp LBB0_91
LBB0_89: ## in Loop: Header=BB0_91 Depth=1
cmpb $0, 1(%rbx)
je LBB0_93
## %bb.90: ## in Loop: Header=BB0_91 Depth=1
incq %rbx
movq %rbx, -48(%rbp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _mandoc_escape
movq -48(%rbp), %rbx
LBB0_91: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx), %eax
cmpb $92, %al
je LBB0_89
## %bb.92: ## in Loop: Header=BB0_91 Depth=1
testb %al, %al
je LBB0_46
LBB0_93: ## in Loop: Header=BB0_91 Depth=1
movzbl %al, %edi
callq _isalnum
testq %rax, %rax
jne LBB0_34
## %bb.94: ## in Loop: Header=BB0_91 Depth=1
movq -48(%rbp), %rbx
incq %rbx
movq %rbx, -48(%rbp)
jmp LBB0_91
LBB0_96:
movq -56(%rbp), %r14 ## 8-byte Reload
cmpq $0, 24(%r13)
jne LBB0_79
jmp LBB0_80
LBB0_97:
xorl %eax, %eax
callq _abort
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_73, LBB0_73-LJTI0_0
.set L0_0_set_55, LBB0_55-LJTI0_0
.set L0_0_set_74, LBB0_74-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
LJTI0_0:
.long L0_0_set_73
.long L0_0_set_55
.long L0_0_set_74
.long L0_0_set_54
.long L0_0_set_54
.end_data_region
## -- End function
.comm _EQN_MATRIX,8,3 ## @EQN_MATRIX
.comm _EQN_LIST,8,3 ## @EQN_LIST
.comm _TAG_MTABLE,4,2 ## @TAG_MTABLE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.comm _TAG_MTR,4,2 ## @TAG_MTR
.comm _TAG_MTD,4,2 ## @TAG_MTD
.comm _TAG_MOVER,4,2 ## @TAG_MOVER
.comm _TAG_MSUP,4,2 ## @TAG_MSUP
.comm _TAG_MUNDER,4,2 ## @TAG_MUNDER
.comm _TAG_MSUB,4,2 ## @TAG_MSUB
.comm _TAG_MFRAC,4,2 ## @TAG_MFRAC
.comm _TAG_MUNDEROVER,4,2 ## @TAG_MUNDEROVER
.comm _TAG_MSUBSUP,4,2 ## @TAG_MSUBSUP
.comm _TAG_MSQRT,4,2 ## @TAG_MSQRT
.comm _EQN_PILE,8,3 ## @EQN_PILE
.comm _TAG_MI,4,2 ## @TAG_MI
.comm _TAG_MN,4,2 ## @TAG_MN
.comm _TAG_MO,4,2 ## @TAG_MO
L_.str.1: ## @.str.1
.asciz "?"
L_.str.2: ## @.str.2
.asciz "fontstyle"
L_.str.3: ## @.str.3
.asciz "normal"
L_.str.4: ## @.str.4
.asciz "fontweight"
L_.str.5: ## @.str.5
.asciz "bold"
L_.str.6: ## @.str.6
.asciz "italic"
.comm _TAG_MFENCED,4,2 ## @TAG_MFENCED
L_.str.7: ## @.str.7
.asciz "??"
L_.str.8: ## @.str.8
.asciz "open"
L_.str.9: ## @.str.9
.asciz "close"
.comm _TAG_MROW,4,2 ## @TAG_MROW
.no_dead_strip _eqn_box
.section __DATA,__const
.p2align 3 ## @switch.table.eqn_box
l_switch.table.eqn_box:
.quad _TAG_MOVER
.quad _TAG_MSUP
.quad _TAG_MSUBSUP
.quad _TAG_MSUB
.quad _TAG_MSQRT
.quad _TAG_MFRAC
.quad _TAG_MUNDEROVER
.quad _TAG_MUNDER
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function eqn_box
_eqn_box: ; @eqn_box
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
cbz x1, LBB0_83
; %bb.1:
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _EQN_MATRIX@GOTPAGE
Lloh1:
ldr x8, [x8, _EQN_MATRIX@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x9, [x1]
cmp x8, x9
b.ne LBB0_6
; %bb.2:
ldr x1, [x20, #72]
cbz x1, LBB0_69
; %bb.3:
ldr x8, [x1]
Lloh3:
adrp x9, _EQN_LIST@GOTPAGE
Lloh4:
ldr x9, [x9, _EQN_LIST@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
; %bb.4:
ldr w8, [x1, #8]
cmp w8, #1
b.ne LBB0_53
LBB0_5:
mov x0, x19
bl _eqn_box
mov x21, #0
b LBB0_76
LBB0_6:
ldr w8, [x20, #12]
sub w8, w8, #128
cmp w8, #7
b.hi LBB0_8
; %bb.7:
Lloh6:
adrp x9, l_switch.table.eqn_box@PAGE
Lloh7:
add x9, x9, l_switch.table.eqn_box@PAGEOFF
ldr x8, [x9, w8, sxtw #3]
ldr w1, [x8]
Lloh8:
adrp x2, l_.str@PAGE
Lloh9:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _print_otag
mov x21, x0
ldr x8, [x20, #16]
cbnz x8, LBB0_10
b LBB0_9
LBB0_8:
mov x21, #0
ldr x8, [x20, #16]
cbnz x8, LBB0_10
LBB0_9:
ldr x8, [x20, #24]
cbz x8, LBB0_15
LBB0_10:
cmp x21, #0
cset w0, eq
bl _assert
ldp x9, x8, [x20, #16]
cbz x9, LBB0_12
; %bb.11:
Lloh10:
adrp x9, _TAG_MUNDEROVER@GOTPAGE
Lloh11:
ldr x9, [x9, _TAG_MUNDEROVER@GOTPAGEOFF]
Lloh12:
adrp x10, _TAG_MOVER@GOTPAGE
Lloh13:
ldr x10, [x10, _TAG_MOVER@GOTPAGEOFF]
cmp x8, #0
csel x8, x10, x9, eq
b LBB0_14
LBB0_12:
cbz x8, LBB0_15
; %bb.13:
Lloh14:
adrp x8, _TAG_MUNDER@GOTPAGE
Lloh15:
ldr x8, [x8, _TAG_MUNDER@GOTPAGEOFF]
LBB0_14:
ldr w1, [x8]
Lloh16:
adrp x2, l_.str@PAGE
Lloh17:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _print_otag
mov x21, x0
LBB0_15:
Lloh18:
adrp x8, _EQN_PILE@GOTPAGE
Lloh19:
ldr x8, [x8, _EQN_PILE@GOTPAGEOFF]
Lloh20:
ldr x8, [x8]
ldr x9, [x20]
cmp x8, x9
b.ne LBB0_20
; %bb.16:
cmp x21, #0
cset w0, eq
bl _assert
ldr x8, [x20, #72]
cbz x8, LBB0_25
; %bb.17:
ldr x9, [x8]
Lloh21:
adrp x10, _EQN_LIST@GOTPAGE
Lloh22:
ldr x10, [x10, _EQN_LIST@GOTPAGEOFF]
Lloh23:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_25
; %bb.18:
ldr w8, [x8, #8]
cmp w8, #2
b.lt LBB0_25
; %bb.19:
Lloh24:
adrp x8, _TAG_MTABLE@GOTPAGE
Lloh25:
ldr x8, [x8, _TAG_MTABLE@GOTPAGEOFF]
Lloh26:
ldr w1, [x8]
Lloh27:
adrp x2, l_.str@PAGE
Lloh28:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _print_otag
mov x21, x0
b LBB0_25
LBB0_20:
Lloh29:
adrp x10, _EQN_LIST@GOTPAGE
Lloh30:
ldr x10, [x10, _EQN_LIST@GOTPAGEOFF]
Lloh31:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_25
; %bb.21:
ldr w9, [x20, #8]
cmp w9, #2
b.lt LBB0_25
; %bb.22:
ldr x9, [x20, #80]
cbz x9, LBB0_25
; %bb.23:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_25
; %bb.24:
cmp x21, #0
cset w0, eq
bl _assert
Lloh32:
adrp x8, _TAG_MTR@GOTPAGE
Lloh33:
ldr x8, [x8, _TAG_MTR@GOTPAGEOFF]
Lloh34:
ldr w1, [x8]
Lloh35:
adrp x22, l_.str@PAGE
Lloh36:
add x22, x22, l_.str@PAGEOFF
mov x0, x19
mov x2, x22
bl _print_otag
mov x21, x0
Lloh37:
adrp x8, _TAG_MTD@GOTPAGE
Lloh38:
ldr x8, [x8, _TAG_MTD@GOTPAGEOFF]
Lloh39:
ldr w1, [x8]
mov x0, x19
mov x2, x22
bl _print_otag
LBB0_25:
ldr x8, [x20, #32]
cbz x8, LBB0_32
; %bb.26:
cmp x21, #0
cset w0, eq
bl _assert
Lloh40:
adrp x22, _TAG_MI@GOTPAGE
Lloh41:
ldr x22, [x22, _TAG_MI@GOTPAGEOFF]
ldr w21, [x22]
ldr x24, [x20, #32]
str x24, [sp, #56]
ldrb w0, [x24]
bl _isdigit
Lloh42:
adrp x23, _TAG_MN@GOTPAGE
Lloh43:
ldr x23, [x23, _TAG_MN@GOTPAGEOFF]
cbz x0, LBB0_38
LBB0_27:
ldr w21, [x23]
LBB0_28: ; =>This Inner Loop Header: Depth=1
add x24, x24, #1
str x24, [sp, #56]
ldrb w0, [x24]
cmp w0, #46
b.eq LBB0_28
; %bb.29: ; in Loop: Header=BB0_28 Depth=1
cbz w0, LBB0_43
; %bb.30: ; in Loop: Header=BB0_28 Depth=1
bl _isdigit
cbnz x0, LBB0_28
LBB0_31:
ldr w21, [x22]
b LBB0_43
LBB0_32:
cbnz x21, LBB0_75
; %bb.33:
ldp x8, x9, [x20, #48]
cbnz x8, LBB0_36
; %bb.34:
cbz x9, LBB0_84
; %bb.35:
Lloh44:
adrp x8, l_.str@PAGE
Lloh45:
add x8, x8, l_.str@PAGEOFF
LBB0_36:
Lloh46:
adrp x10, _TAG_MFENCED@GOTPAGE
Lloh47:
ldr x10, [x10, _TAG_MFENCED@GOTPAGEOFF]
Lloh48:
ldr w1, [x10]
Lloh49:
adrp x10, l_.str@PAGE
Lloh50:
add x10, x10, l_.str@PAGEOFF
cmp x9, #0
csel x9, x10, x9, eq
Lloh51:
adrp x10, l_.str.9@PAGE
Lloh52:
add x10, x10, l_.str.9@PAGEOFF
stp x10, x9, [sp, #16]
Lloh53:
adrp x9, l_.str.8@PAGE
Lloh54:
add x9, x9, l_.str.8@PAGEOFF
stp x9, x8, [sp]
Lloh55:
adrp x2, l_.str.7@PAGE
Lloh56:
add x2, x2, l_.str.7@PAGEOFF
mov x0, x19
bl _print_otag
cbz x0, LBB0_84
; %bb.37:
mov x21, x0
Lloh57:
adrp x8, _TAG_MROW@GOTPAGE
Lloh58:
ldr x8, [x8, _TAG_MROW@GOTPAGEOFF]
Lloh59:
ldr w1, [x8]
Lloh60:
adrp x2, l_.str@PAGE
Lloh61:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _print_otag
b LBB0_75
LBB0_38:
ldrb w0, [x24]
cmp w0, #46
b.ne LBB0_41
; %bb.39:
ldrb w0, [x24, #1]
bl _isdigit
cbnz x0, LBB0_27
; %bb.40:
ldrb w0, [x24]
LBB0_41:
cbz w0, LBB0_43
; %bb.42:
bl _isalpha
cbz x0, LBB0_85
LBB0_43:
ldr w8, [x20, #40]
ldr x9, [x20, #32]
ldrb w10, [x9]
cbz w10, LBB0_49
; %bb.44:
ldr w10, [x23]
cmp w21, w10
b.eq LBB0_46
; %bb.45:
Lloh62:
adrp x10, _TAG_MO@GOTPAGE
Lloh63:
ldr x10, [x10, _TAG_MO@GOTPAGEOFF]
Lloh64:
ldr w10, [x10]
cmp w21, w10
b.ne LBB0_47
LBB0_46:
cmp w8, #136
b.eq LBB0_52
LBB0_47:
ldr w10, [x22]
cmp w21, w10
b.ne LBB0_49
; %bb.48:
ldrb w9, [x9, #1]
mov w10, #136
mov w11, #138
cmp w9, #0
csel w9, w11, w10, eq
cmp w8, w9
b.eq LBB0_52
LBB0_49:
sub w8, w8, #136
cmp w8, #4
b.hi LBB0_92
; %bb.50:
Lloh65:
adrp x9, lJTI0_0@PAGE
Lloh66:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_51
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_51:
Lloh67:
adrp x8, l_.str.5@PAGE
Lloh68:
add x8, x8, l_.str.5@PAGEOFF
Lloh69:
adrp x9, l_.str.4@PAGE
Lloh70:
add x9, x9, l_.str.4@PAGEOFF
b LBB0_73
LBB0_52:
Lloh71:
adrp x2, l_.str@PAGE
Lloh72:
add x2, x2, l_.str@PAGEOFF
b LBB0_74
LBB0_53:
ldr x8, [x1, #72]
cbz x8, LBB0_69
; %bb.54:
ldr x8, [x8, #72]
cbz x8, LBB0_69
; %bb.55:
mov w22, #1
LBB0_56: ; =>This Inner Loop Header: Depth=1
ldr x8, [x8, #64]
sub x22, x22, #1
cbnz x8, LBB0_56
; %bb.57:
Lloh73:
adrp x8, _TAG_MTABLE@GOTPAGE
Lloh74:
ldr x8, [x8, _TAG_MTABLE@GOTPAGEOFF]
Lloh75:
ldr w1, [x8]
Lloh76:
adrp x2, l_.str@PAGE
Lloh77:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _print_otag
mov x21, x0
cmp x22, #1
b.eq LBB0_76
; %bb.58:
mov x25, #0
neg x8, x22
str x8, [sp, #40] ; 8-byte Folded Spill
Lloh78:
adrp x28, _TAG_MTD@GOTPAGE
Lloh79:
ldr x28, [x28, _TAG_MTD@GOTPAGEOFF]
Lloh80:
adrp x22, l_.str@PAGE
Lloh81:
add x22, x22, l_.str@PAGEOFF
b LBB0_60
LBB0_59: ; in Loop: Header=BB0_60 Depth=1
mov x0, x19
ldr x1, [sp, #48] ; 8-byte Folded Reload
bl _print_tagq
add x8, x25, #1
ldr x9, [sp, #40] ; 8-byte Folded Reload
cmp x9, x25
mov x25, x8
b.eq LBB0_76
LBB0_60: ; =>This Loop Header: Depth=1
; Child Loop BB0_62 Depth 2
; Child Loop BB0_65 Depth 3
ldr x8, [x20, #72]
ldr x27, [x8, #72]
Lloh82:
adrp x8, _TAG_MTR@GOTPAGE
Lloh83:
ldr x8, [x8, _TAG_MTR@GOTPAGEOFF]
Lloh84:
ldr w1, [x8]
mov x0, x19
mov x2, x22
bl _print_otag
str x0, [sp, #48] ; 8-byte Folded Spill
cbnz x27, LBB0_62
b LBB0_59
LBB0_61: ; in Loop: Header=BB0_62 Depth=2
mov x0, x19
mov x1, x24
bl _print_tagq
ldr x27, [x27, #64]
cbz x27, LBB0_59
LBB0_62: ; Parent Loop BB0_60 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_65 Depth 3
ldr x26, [x27, #72]
cmp x26, #0
cset w23, eq
cbz x25, LBB0_67
; %bb.63: ; in Loop: Header=BB0_62 Depth=2
cbz x26, LBB0_67
; %bb.64: ; in Loop: Header=BB0_62 Depth=2
mov w8, #1
LBB0_65: ; Parent Loop BB0_60 Depth=1
; Parent Loop BB0_62 Depth=2
; => This Inner Loop Header: Depth=3
ldr x26, [x26, #64]
cmp x26, #0
cset w23, eq
cmp x8, x25
b.hs LBB0_67
; %bb.66: ; in Loop: Header=BB0_65 Depth=3
add x8, x8, #1
cbnz x26, LBB0_65
LBB0_67: ; in Loop: Header=BB0_62 Depth=2
ldr w1, [x28]
mov x0, x19
mov x2, x22
bl _print_otag
mov x24, x0
tbnz w23, #0, LBB0_61
; %bb.68: ; in Loop: Header=BB0_62 Depth=2
ldr x1, [x26, #72]
mov x0, x19
bl _eqn_box
b LBB0_61
LBB0_69:
mov x21, #0
b LBB0_76
LBB0_70:
Lloh85:
adrp x8, l_.str.3@PAGE
Lloh86:
add x8, x8, l_.str.3@PAGEOFF
b LBB0_72
LBB0_71:
Lloh87:
adrp x8, l_.str.6@PAGE
Lloh88:
add x8, x8, l_.str.6@PAGEOFF
LBB0_72:
Lloh89:
adrp x9, l_.str.2@PAGE
Lloh90:
add x9, x9, l_.str.2@PAGEOFF
LBB0_73:
stp x9, x8, [sp]
Lloh91:
adrp x2, l_.str.1@PAGE
Lloh92:
add x2, x2, l_.str.1@PAGEOFF
LBB0_74:
mov x0, x19
mov x1, x21
bl _print_otag
mov x21, x0
ldr x1, [x20, #32]
mov x0, x19
bl _print_text
LBB0_75:
ldr x1, [x20, #72]
mov x0, x19
bl _eqn_box
LBB0_76:
ldr x8, [x20, #24]
cbz x8, LBB0_78
; %bb.77:
Lloh93:
adrp x8, _TAG_MO@GOTPAGE
Lloh94:
ldr x8, [x8, _TAG_MO@GOTPAGEOFF]
Lloh95:
ldr w1, [x8]
Lloh96:
adrp x2, l_.str@PAGE
Lloh97:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _print_otag
mov x22, x0
ldr x1, [x20, #24]
mov x0, x19
bl _print_text
mov x0, x19
mov x1, x22
bl _print_tagq
LBB0_78:
ldr x8, [x20, #16]
cbz x8, LBB0_80
; %bb.79:
Lloh98:
adrp x8, _TAG_MO@GOTPAGE
Lloh99:
ldr x8, [x8, _TAG_MO@GOTPAGEOFF]
Lloh100:
ldr w1, [x8]
Lloh101:
adrp x2, l_.str@PAGE
Lloh102:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _print_otag
mov x22, x0
ldr x1, [x20, #16]
mov x0, x19
bl _print_text
mov x0, x19
mov x1, x22
bl _print_tagq
LBB0_80:
cbz x21, LBB0_82
; %bb.81:
mov x0, x19
mov x1, x21
bl _print_tagq
LBB0_82:
ldr x1, [x20, #64]
mov x0, x19
bl _eqn_box
LBB0_83:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_84:
Lloh103:
adrp x8, _TAG_MROW@GOTPAGE
Lloh104:
ldr x8, [x8, _TAG_MROW@GOTPAGEOFF]
Lloh105:
ldr w1, [x8]
Lloh106:
adrp x2, l_.str@PAGE
Lloh107:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _print_otag
mov x21, x0
b LBB0_75
LBB0_85:
Lloh108:
adrp x8, _TAG_MO@GOTPAGE
Lloh109:
ldr x8, [x8, _TAG_MO@GOTPAGEOFF]
Lloh110:
ldr w21, [x8]
b LBB0_88
LBB0_86: ; in Loop: Header=BB0_88 Depth=1
ldrb w8, [x24, #1]!
cbz w8, LBB0_90
; %bb.87: ; in Loop: Header=BB0_88 Depth=1
str x24, [sp, #56]
add x0, sp, #56
mov x1, #0
mov x2, #0
bl _mandoc_escape
ldr x24, [sp, #56]
LBB0_88: ; =>This Inner Loop Header: Depth=1
ldrb w0, [x24]
cmp w0, #92
b.eq LBB0_86
; %bb.89: ; in Loop: Header=BB0_88 Depth=1
cbz w0, LBB0_43
LBB0_90: ; in Loop: Header=BB0_88 Depth=1
bl _isalnum
cbnz x0, LBB0_31
; %bb.91: ; in Loop: Header=BB0_88 Depth=1
ldr x8, [sp, #56]
add x24, x8, #1
str x24, [sp, #56]
b LBB0_88
LBB0_92:
bl _abort
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGot Lloh42, Lloh43
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpLdrGot Lloh78, Lloh79
.loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84
.loh AdrpAdd Lloh85, Lloh86
.loh AdrpAdd Lloh87, Lloh88
.loh AdrpAdd Lloh89, Lloh90
.loh AdrpAdd Lloh91, Lloh92
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95
.loh AdrpAdd Lloh101, Lloh102
.loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpLdrGotLdr Lloh103, Lloh104, Lloh105
.loh AdrpLdrGotLdr Lloh108, Lloh109, Lloh110
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_70-LBB0_51)>>2
.byte (LBB0_52-LBB0_51)>>2
.byte (LBB0_71-LBB0_51)>>2
.byte (LBB0_51-LBB0_51)>>2
.byte (LBB0_51-LBB0_51)>>2
; -- End function
.comm _EQN_MATRIX,8,3 ; @EQN_MATRIX
.comm _EQN_LIST,8,3 ; @EQN_LIST
.comm _TAG_MTABLE,4,2 ; @TAG_MTABLE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.comm _TAG_MTR,4,2 ; @TAG_MTR
.comm _TAG_MTD,4,2 ; @TAG_MTD
.comm _TAG_MOVER,4,2 ; @TAG_MOVER
.comm _TAG_MSUP,4,2 ; @TAG_MSUP
.comm _TAG_MUNDER,4,2 ; @TAG_MUNDER
.comm _TAG_MSUB,4,2 ; @TAG_MSUB
.comm _TAG_MFRAC,4,2 ; @TAG_MFRAC
.comm _TAG_MUNDEROVER,4,2 ; @TAG_MUNDEROVER
.comm _TAG_MSUBSUP,4,2 ; @TAG_MSUBSUP
.comm _TAG_MSQRT,4,2 ; @TAG_MSQRT
.comm _EQN_PILE,8,3 ; @EQN_PILE
.comm _TAG_MI,4,2 ; @TAG_MI
.comm _TAG_MN,4,2 ; @TAG_MN
.comm _TAG_MO,4,2 ; @TAG_MO
l_.str.1: ; @.str.1
.asciz "?"
l_.str.2: ; @.str.2
.asciz "fontstyle"
l_.str.3: ; @.str.3
.asciz "normal"
l_.str.4: ; @.str.4
.asciz "fontweight"
l_.str.5: ; @.str.5
.asciz "bold"
l_.str.6: ; @.str.6
.asciz "italic"
.comm _TAG_MFENCED,4,2 ; @TAG_MFENCED
l_.str.7: ; @.str.7
.asciz "??"
l_.str.8: ; @.str.8
.asciz "open"
l_.str.9: ; @.str.9
.asciz "close"
.comm _TAG_MROW,4,2 ; @TAG_MROW
.no_dead_strip _eqn_box
.section __DATA,__const
.p2align 3 ; @switch.table.eqn_box
l_switch.table.eqn_box:
.quad _TAG_MOVER
.quad _TAG_MSUP
.quad _TAG_MSUBSUP
.quad _TAG_MSUB
.quad _TAG_MSQRT
.quad _TAG_MFRAC
.quad _TAG_MUNDEROVER
.quad _TAG_MUNDER
.subsections_via_symbols
| AnghaBench/freebsd/contrib/mandoc/extr_eqn_html.c_eqn_box.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _VS_SetPortalSphere ## -- Begin function VS_SetPortalSphere
.p2align 4, 0x90
_VS_SetPortalSphere: ## @VS_SetPortalSphere
.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 16(%rdi), %r14
movq _vec3_origin@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _VectorCopy
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movl (%rax,%rbx,4), %esi
callq _VectorAdd
incq %rbx
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _vec3_origin,8,3 ## @vec3_origin
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _VS_SetPortalSphere ; -- Begin function VS_SetPortalSphere
.p2align 2
_VS_SetPortalSphere: ; @VS_SetPortalSphere
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x19, [x0, #16]
Lloh0:
adrp x8, _vec3_origin@GOTPAGE
Lloh1:
ldr x8, [x8, _vec3_origin@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
bl _VectorCopy
mov x20, #0
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr w1, [x8, x20, lsl #2]
bl _VectorAdd
add x20, x20, #1
b LBB0_1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _vec3_origin,8,3 ; @vec3_origin
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/q3map/extr_soundv.c_VS_SetPortalSphere.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:
.space 16,61
LCPI0_1:
.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 $392, %rsp ## imm = 0x188
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movl %edi, %r14d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
leaq _pkgname(%rip), %rsi
leaq _copyright(%rip), %rdx
xorl %eax, %eax
callq _printf
leaq L_.str.20(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.21(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.22(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.23(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.24(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.25(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.26(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.27(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.28(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.29(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.30(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.31(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.32(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.33(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.34(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.35(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.36(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.37(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.38(%rip), %rdi
callq _parse_mimetype_line
leaq L_.str.39(%rip), %rdi
callq _parse_mimetype_line
cmpl $2, %r14d
jl LBB0_297
## %bb.1:
jne LBB0_3
## %bb.2:
movq 8(%rbx), %rdi
leaq L_.str.44(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_297
LBB0_3:
movl %r14d, -340(%rbp) ## 4-byte Spill
callq _getuid
testl %eax, %eax
jne LBB0_5
## %bb.4:
movw $80, _bindport(%rip)
LBB0_5:
movq %rbx, -352(%rbp) ## 8-byte Spill
movq 8(%rbx), %r15
movq %r15, %rdi
callq _strlen
movq %rax, %r14
incq %r14
movq %r14, %rdi
callq _malloc
testq %rax, %rax
je LBB0_299
## %bb.6:
movq %rax, %rbx
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq _memcpy
movq %rbx, _wwwroot(%rip)
movq %rbx, %rdi
callq _strlen
testq %rax, %rax
je LBB0_9
## %bb.7:
cmpb $47, -1(%rax,%rbx)
jne LBB0_9
## %bb.8:
movb $0, -1(%rbx,%rax)
LBB0_9:
movl -340(%rbp), %ebx ## 4-byte Reload
cmpl $3, %ebx
movq -352(%rbp), %r15 ## 8-byte Reload
jb LBB0_134
## %bb.10:
movl $2, %r12d
leaq L_.str.45(%rip), %r14
jmp LBB0_13
LBB0_11: ## in Loop: Header=BB0_13 Depth=1
movb $1, _want_chroot(%rip)
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_134
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_98 Depth 2
## Child Loop BB0_125 Depth 2
## Child Loop BB0_128 Depth 2
## Child Loop BB0_132 Depth 2
## Child Loop BB0_108 Depth 2
## Child Loop BB0_112 Depth 2
## Child Loop BB0_53 Depth 2
## Child Loop BB0_55 Depth 3
movslq %r12d, %rax
movq (%r15,%rax,8), %r13
movq %r13, %rdi
movq %r14, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_38
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.47(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_40
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.49(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_42
## %bb.16: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.51(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_44
## %bb.17: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.53(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_11
## %bb.18: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.54(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_46
## %bb.19: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.55(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_47
## %bb.20: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.57(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_49
## %bb.21: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.58(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_50
## %bb.22: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.60(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_68
## %bb.23: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.62(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_70
## %bb.24: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.65(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_74
## %bb.25: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.68(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_78
## %bb.26: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.70(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_80
## %bb.27: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.71(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_81
## %bb.28: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.72(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_82
## %bb.29: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.73(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_83
## %bb.30: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.76(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_87
## %bb.31: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.78(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_89
## %bb.32: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.79(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_90
## %bb.33: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.81(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_92
## %bb.34: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.84(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_102
## %bb.35: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.85(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_115
## %bb.36: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
leaq L_.str.87(%rip), %rsi
callq _strcmp
testl %eax, %eax
jne LBB0_369
## %bb.37: ## in Loop: Header=BB0_13 Depth=1
movb $1, _inet6(%rip)
jmp LBB0_12
.p2align 4, 0x90
LBB0_38: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_288
## %bb.39: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %rdi
callq _xstr_to_num
movw %ax, _bindport(%rip)
jmp LBB0_12
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_292
## %bb.41: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %rax
movq %rax, _bindaddr(%rip)
jmp LBB0_12
LBB0_42: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_296
## %bb.43: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %rdi
callq _xstr_to_num
movl %eax, _max_connections(%rip)
jmp LBB0_12
LBB0_44: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_298
## %bb.45: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %rax
movq %rax, _logfile_name(%rip)
jmp LBB0_12
LBB0_46: ## in Loop: Header=BB0_13 Depth=1
movb $1, _want_daemon(%rip)
jmp LBB0_12
LBB0_47: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_339
## %bb.48: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %rax
movq %rax, _index_name(%rip)
jmp LBB0_12
LBB0_49: ## in Loop: Header=BB0_13 Depth=1
movb $1, _no_listing(%rip)
jmp LBB0_12
LBB0_50: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_347
## %bb.51: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %rbx
movq %rbx, %rdi
leaq L_.str.114(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_348
## %bb.52: ## in Loop: Header=BB0_13 Depth=1
movq %rax, %r13
movq %rax, %rdi
callq _ftell
movq %rax, -360(%rbp) ## 8-byte Spill
cmpq $-1, %rax
movq %r12, -408(%rbp) ## 8-byte Spill
je LBB0_285
.p2align 4, 0x90
LBB0_53: ## Parent Loop BB0_13 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_55 Depth 3
xorl %r15d, %r15d
jmp LBB0_55
.p2align 4, 0x90
LBB0_54: ## in Loop: Header=BB0_55 Depth=3
incq %r15
LBB0_55: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_53 Depth=2
## => This Inner Loop Header: Depth=3
movq %r13, %rdi
callq _fgetc
movl %eax, %ebx
leal 1(%rbx), %eax
cmpl $14, %eax
ja LBB0_54
## %bb.56: ## in Loop: Header=BB0_55 Depth=3
movl $18433, %ecx ## imm = 0x4801
btl %eax, %ecx
jae LBB0_54
## %bb.57: ## in Loop: Header=BB0_53 Depth=2
testq %r15, %r15
jne LBB0_59
## %bb.58: ## in Loop: Header=BB0_53 Depth=2
cmpl $-1, %ebx
je LBB0_67
LBB0_59: ## in Loop: Header=BB0_53 Depth=2
movq %r13, %rdi
callq _ftell
cmpq $-1, %rax
je LBB0_285
## %bb.60: ## in Loop: Header=BB0_53 Depth=2
movq %rax, %r14
cmpl $13, %ebx
jne LBB0_62
## %bb.61: ## in Loop: Header=BB0_53 Depth=2
movq %r13, %rdi
callq _fgetc
xorl %ecx, %ecx
cmpl $10, %eax
sete %cl
addq %rcx, %r14
LBB0_62: ## in Loop: Header=BB0_53 Depth=2
leaq 1(%r15), %rbx
movq %rbx, %rdi
callq _malloc
testq %rax, %rax
je LBB0_290
## %bb.63: ## in Loop: Header=BB0_53 Depth=2
movq %rax, %r12
movq %r13, %rdi
movq -360(%rbp), %rsi ## 8-byte Reload
xorl %edx, %edx
callq _fseek
cmpl $-1, %eax
je LBB0_286
## %bb.64: ## in Loop: Header=BB0_53 Depth=2
movl $1, %esi
movq %r12, %rdi
movq %r15, %rdx
movq %r13, %rcx
callq _fread
cmpq %r15, %rax
jne LBB0_289
## %bb.65: ## in Loop: Header=BB0_53 Depth=2
movb $0, (%r12,%r15)
movq %r13, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq _fseek
cmpl $-1, %eax
je LBB0_286
## %bb.66: ## in Loop: Header=BB0_53 Depth=2
movq %r12, %rdi
callq _parse_mimetype_line
movq %r12, %rdi
callq _free
movq %r13, %rdi
callq _ftell
movq %rax, -360(%rbp) ## 8-byte Spill
cmpq $-1, %rax
movq -408(%rbp), %r12 ## 8-byte Reload
leaq L_.str.45(%rip), %r14
jne LBB0_53
jmp LBB0_285
LBB0_67: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
callq _fclose
movq -352(%rbp), %r15 ## 8-byte Reload
movl -340(%rbp), %ebx ## 4-byte Reload
jmp LBB0_12
LBB0_68: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_351
## %bb.69: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %rax
movq %rax, _default_mimetype(%rip)
jmp LBB0_12
LBB0_70: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_357
## %bb.71: ## in Loop: Header=BB0_13 Depth=1
movq %r14, %r13
movslq %r12d, %r14
movq (%r15,%r14,8), %rdi
callq _getpwnam
testq %rax, %rax
jne LBB0_73
## %bb.72: ## in Loop: Header=BB0_13 Depth=1
movq (%r15,%r14,8), %rdi
callq _xstr_to_num
movl %eax, %edi
callq _getpwuid
testq %rax, %rax
je LBB0_360
LBB0_73: ## in Loop: Header=BB0_13 Depth=1
movl 16(%rax), %eax
movl %eax, _drop_uid(%rip)
movq %r13, %r14
jmp LBB0_12
LBB0_74: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_358
## %bb.75: ## in Loop: Header=BB0_13 Depth=1
movq %r14, %r13
movslq %r12d, %r14
movq (%r15,%r14,8), %rdi
callq _getgrnam
testq %rax, %rax
jne LBB0_77
## %bb.76: ## in Loop: Header=BB0_13 Depth=1
movq (%r15,%r14,8), %rdi
callq _xstr_to_num
movl %eax, %edi
callq _getgrgid
testq %rax, %rax
je LBB0_362
LBB0_77: ## in Loop: Header=BB0_13 Depth=1
movl 16(%rax), %eax
movl %eax, _drop_gid(%rip)
movq %r13, %r14
jmp LBB0_12
LBB0_78: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_359
## %bb.79: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %rax
movq %rax, _pidfile_name(%rip)
jmp LBB0_12
LBB0_80: ## in Loop: Header=BB0_13 Depth=1
movb $1, _want_keepalive(%rip)
jmp LBB0_12
LBB0_81: ## in Loop: Header=BB0_13 Depth=1
movb $1, _want_accf(%rip)
jmp LBB0_12
LBB0_82: ## in Loop: Header=BB0_13 Depth=1
movb $1, _syslog_enabled(%rip)
jmp LBB0_12
LBB0_83: ## in Loop: Header=BB0_13 Depth=1
leal 1(%r12), %eax
cmpl %ebx, %eax
jge LBB0_363
## %bb.84: ## in Loop: Header=BB0_13 Depth=1
addl $2, %r12d
cmpl %ebx, %r12d
jge LBB0_364
## %bb.85: ## in Loop: Header=BB0_13 Depth=1
cltq
movq (%r15,%rax,8), %r14
movq %r12, %r13
movslq %r12d, %rax
movq %r15, %rbx
movq (%r15,%rax,8), %r15
movq _forward_map_size(%rip), %r12
leaq 1(%r12), %rbx
movq %rbx, _forward_map_size(%rip)
movq _forward_map(%rip), %rdi
shlq $4, %rbx
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB0_365
## %bb.86: ## in Loop: Header=BB0_13 Depth=1
movq %rax, _forward_map(%rip)
shlq $4, %r12
movq %r14, (%rax,%r12)
movq %r15, 8(%rax,%r12)
movq -352(%rbp), %r15 ## 8-byte Reload
movl -340(%rbp), %ebx ## 4-byte Reload
movq %r13, %r12
leaq L_.str.45(%rip), %r14
jmp LBB0_12
LBB0_87: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_366
## %bb.88: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %rax
movq %rax, _forward_all_url(%rip)
jmp LBB0_12
LBB0_89: ## in Loop: Header=BB0_13 Depth=1
movb $1, _want_server_id(%rip)
jmp LBB0_12
LBB0_90: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_367
## %bb.91: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %rdi
callq _xstr_to_num
movl %eax, _timeout_secs(%rip)
jmp LBB0_12
LBB0_92: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_368
## %bb.93: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %r13
movq %r13, %rdi
movl $58, %esi
callq _strchr
testq %rax, %rax
je LBB0_368
## %bb.94: ## in Loop: Header=BB0_13 Depth=1
movq %r13, %rdi
callq _strlen
movq %rax, %r15
addl $2, %eax
cltq
imulq $1431655766, %rax, %rax ## imm = 0x55555556
movq %rax, %rcx
shrq $63, %rcx
shrq $32, %rax
addl %ecx, %eax
movslq %eax, %r14
shlq $2, %r14
leal 1(%r14), %eax
movslq %eax, %rdi
callq _malloc
movq %rax, %r10
testq %rax, %rax
je LBB0_114
## %bb.95: ## in Loop: Header=BB0_13 Depth=1
testl %r15d, %r15d
jle LBB0_103
## %bb.96: ## in Loop: Header=BB0_13 Depth=1
leaq 3(%r10), %rax
xorl %esi, %esi
jmp LBB0_98
LBB0_97: ## in Loop: Header=BB0_98 Depth=2
movzbl (%r13,%rdi), %ebx
movl %ebx, %edi
shll $16, %edi
shll $8, %edx
orl %edx, %edi
orl %r8d, %edx
shrq $2, %rbx
leaq l___const.base64_encode.base64_table(%rip), %rsi
movzbl (%rbx,%rsi), %ebx
movb %bl, -3(%rax)
shrl $12, %edi
andl $63, %edi
movzbl (%rdi,%rsi), %ebx
movb %bl, -2(%rax)
shrl $6, %edx
andl $63, %edx
movzbl (%rdx,%rsi), %edx
movb %dl, -1(%rax)
andl $63, %r8d
movzbl (%r8,%rsi), %edx
movb %dl, (%rax)
addq $4, %rax
movl %ecx, %esi
cmpl %r15d, %ecx
jge LBB0_103
LBB0_98: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movslq %esi, %rdi
leaq 1(%rdi), %rcx
movl $0, %edx
cmpl %r15d, %ecx
jge LBB0_100
## %bb.99: ## in Loop: Header=BB0_98 Depth=2
addl $2, %esi
movzbl (%r13,%rcx), %edx
movl %esi, %ecx
LBB0_100: ## in Loop: Header=BB0_98 Depth=2
xorl %r8d, %r8d
cmpl %r15d, %ecx
jge LBB0_97
## %bb.101: ## in Loop: Header=BB0_98 Depth=2
movslq %ecx, %rsi
incl %ecx
movzbl (%r13,%rsi), %r8d
jmp LBB0_97
LBB0_102: ## in Loop: Header=BB0_13 Depth=1
movb $1, _forward_to_https(%rip)
jmp LBB0_12
LBB0_103: ## in Loop: Header=BB0_13 Depth=1
movslq %r15d, %rax
imulq $1431655766, %rax, %rax ## imm = 0x55555556
movq %rax, %rcx
shrq $63, %rcx
shrq $32, %rax
addl %ecx, %eax
leal (%rax,%rax,2), %eax
movl %eax, %ecx
negl %ecx
addl %r15d, %ecx
decl %ecx
cmpl $1, %ecx
ja LBB0_113
## %bb.104: ## in Loop: Header=BB0_13 Depth=1
subl %eax, %r15d
movl %r15d, %eax
leaq l___const.base64_encode.mod_table(%rip), %rcx
movl (%rcx,%rax,4), %r8d
cmpl $2, %r8d
movl $1, %eax
cmovll %eax, %r8d
cmpl $8, %r8d
jae LBB0_117
LBB0_105: ## in Loop: Header=BB0_13 Depth=1
xorl %r9d, %r9d
LBB0_106: ## in Loop: Header=BB0_13 Depth=1
movq %r9, %rdx
notq %rdx
addq %r8, %rdx
movq %r8, %rsi
andq $3, %rsi
je LBB0_110
## %bb.107: ## in Loop: Header=BB0_13 Depth=1
movl %r14d, %ecx
subl %r9d, %ecx
addl $-4, %ecx
movslq %ecx, %rcx
leaq (%r10,%rcx), %rdi
addq $3, %rdi
negq %rsi
xorl %ebx, %ebx
LBB0_108: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movb $61, (%rdi,%rbx)
decq %rbx
cmpq %rbx, %rsi
jne LBB0_108
## %bb.109: ## in Loop: Header=BB0_13 Depth=1
subq %rbx, %r9
LBB0_110: ## in Loop: Header=BB0_13 Depth=1
cmpq $3, %rdx
jb LBB0_113
## %bb.111: ## in Loop: Header=BB0_13 Depth=1
movl %r9d, %edx
movl %r14d, %esi
subl %r9d, %esi
leal -4(%rsi), %edi
leal -3(%rsi), %ebx
addl $-2, %esi
subq %r8, %r9
notl %edx
addl %r14d, %edx
xorl %ecx, %ecx
LBB0_112: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
leal (%rdx,%rcx), %eax
cltq
movb $61, (%r10,%rax)
leal (%rsi,%rcx), %eax
cltq
movb $61, (%r10,%rax)
leal (%rbx,%rcx), %eax
cltq
movb $61, (%r10,%rax)
leal (%rdi,%rcx), %eax
cltq
movb $61, (%r10,%rax)
addq $-4, %rcx
cmpq %rcx, %r9
jne LBB0_112
LBB0_113: ## in Loop: Header=BB0_13 Depth=1
movb $0, (%r10,%r14)
LBB0_114: ## in Loop: Header=BB0_13 Depth=1
leaq _auth_key(%rip), %rdi
leaq L_.str.83(%rip), %rsi
movq %r10, %rdx
xorl %eax, %eax
movq %r10, %rbx
callq _xasprintf
movq %rbx, %rdi
callq _free
movq -352(%rbp), %r15 ## 8-byte Reload
movl -340(%rbp), %ebx ## 4-byte Reload
leaq L_.str.45(%rip), %r14
jmp LBB0_12
LBB0_115: ## in Loop: Header=BB0_13 Depth=1
incl %r12d
cmpl %ebx, %r12d
jge LBB0_370
## %bb.116: ## in Loop: Header=BB0_13 Depth=1
movslq %r12d, %rax
movq (%r15,%rax,8), %rax
movq %rax, __additional_header(%rip)
jmp LBB0_12
LBB0_117: ## in Loop: Header=BB0_13 Depth=1
leaq -1(%r8), %rax
leal -1(%r14), %esi
movl %esi, %edx
subl %eax, %edx
cmpl %esi, %edx
jg LBB0_105
## %bb.118: ## in Loop: Header=BB0_13 Depth=1
shrq $32, %rax
movl $0, %r9d
jne LBB0_106
## %bb.119: ## in Loop: Header=BB0_13 Depth=1
movq %r12, %rax
cmpl $32, %r8d
jae LBB0_122
## %bb.120: ## in Loop: Header=BB0_13 Depth=1
xorl %r9d, %r9d
jmp LBB0_131
LBB0_122: ## in Loop: Header=BB0_13 Depth=1
movl %r8d, %r9d
andl $2147483616, %r9d ## imm = 0x7FFFFFE0
leaq -32(%r9), %rdi
movq %rdi, %rdx
shrq $5, %rdx
incq %rdx
movl %edx, %ebx
andl $3, %ebx
cmpq $96, %rdi
jae LBB0_124
## %bb.123: ## in Loop: Header=BB0_13 Depth=1
xorl %edi, %edi
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61]
jmp LBB0_126
LBB0_124: ## in Loop: Header=BB0_13 Depth=1
andq $-4, %rdx
xorl %edi, %edi
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61]
LBB0_125: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movslq %esi, %rsi
movups %xmm0, -15(%r10,%rsi)
movups %xmm0, -31(%r10,%rsi)
movl %edi, %ecx
xorl $-33, %ecx
addl %r14d, %ecx
movslq %ecx, %rcx
movups %xmm0, -15(%r10,%rcx)
movups %xmm0, -31(%r10,%rcx)
movl %edi, %ecx
xorl $-65, %ecx
addl %r14d, %ecx
movslq %ecx, %rcx
movups %xmm0, -15(%r10,%rcx)
movups %xmm0, -31(%r10,%rcx)
movl %edi, %ecx
xorl $-97, %ecx
addl %r14d, %ecx
movslq %ecx, %rcx
movups %xmm0, -15(%r10,%rcx)
movups %xmm0, -31(%r10,%rcx)
subq $-128, %rdi
addl $-128, %esi
addq $-4, %rdx
jne LBB0_125
LBB0_126: ## in Loop: Header=BB0_13 Depth=1
testq %rbx, %rbx
je LBB0_129
## %bb.127: ## in Loop: Header=BB0_13 Depth=1
notl %edi
addl %r14d, %edi
LBB0_128: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movslq %edi, %rdi
movups %xmm0, -15(%r10,%rdi)
movups %xmm0, -31(%r10,%rdi)
addl $-32, %edi
decq %rbx
jne LBB0_128
LBB0_129: ## in Loop: Header=BB0_13 Depth=1
cmpq %r8, %r9
movq %rax, %r12
je LBB0_113
## %bb.130: ## in Loop: Header=BB0_13 Depth=1
testb $24, %r8b
je LBB0_106
LBB0_131: ## in Loop: Header=BB0_13 Depth=1
movq %r9, %rdx
movl %r8d, %r9d
andl $2147483640, %r9d ## imm = 0x7FFFFFF8
movq %rdx, %rsi
subq %r9, %rsi
notl %edx
addl %r14d, %edx
movabsq $4412750543122677053, %rcx ## imm = 0x3D3D3D3D3D3D3D3D
LBB0_132: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movslq %edx, %rdx
movq %rcx, -7(%r10,%rdx)
addl $-8, %edx
addq $8, %rsi
jne LBB0_132
## %bb.133: ## in Loop: Header=BB0_13 Depth=1
cmpq %r8, %r9
movq %rax, %r12
jne LBB0_106
jmp LBB0_113
LBB0_134:
movq _mime_map(%rip), %rdi
movq _mime_map_size(%rip), %rsi
leaq _mime_mapping_cmp(%rip), %rcx
movl $16, %edx
callq _qsort
movl _timeout_secs(%rip), %edx
leaq _keep_alive_field(%rip), %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _xasprintf
cmpb $0, _want_server_id(%rip)
je LBB0_140
## %bb.135:
movl $1, %edi
callq _malloc
testq %rax, %rax
je LBB0_326
## %bb.136:
movb $0, (%rax)
movq %rax, _server_hdr(%rip)
cmpb $1, _inet6(%rip)
je LBB0_141
LBB0_137:
xorps %xmm0, %xmm0
movaps %xmm0, -192(%rbp)
movq _bindaddr(%rip), %rdi
testq %rdi, %rdi
je LBB0_139
## %bb.138:
callq _inet_addr
movl %eax, -188(%rbp)
cmpl $-1, %eax
je LBB0_312
LBB0_139:
movl $2, %edi
jmp LBB0_143
LBB0_140:
leaq _server_hdr(%rip), %rdi
leaq L_.str.2(%rip), %rsi
leaq _pkgname(%rip), %rdx
xorl %eax, %eax
callq _xasprintf
cmpb $1, _inet6(%rip)
jne LBB0_137
LBB0_141:
xorps %xmm0, %xmm0
movups %xmm0, -324(%rbp)
movaps %xmm0, -336(%rbp)
movq _bindaddr(%rip), %rax
testq %rax, %rax
leaq L_.str.120(%rip), %rsi
cmovneq %rax, %rsi
leaq -328(%rbp), %rdx
movl $30, %edi
callq _inet_pton
cmpl $-1, %eax
je LBB0_312
## %bb.142:
movl $30, %edi
LBB0_143:
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, _sockin(%rip)
cmpl $-1, %eax
je LBB0_300
## %bb.144:
movl $1, -64(%rbp)
leaq -64(%rbp), %rcx
movl %eax, %edi
movl $65535, %esi ## imm = 0xFFFF
movl $4, %edx
movl $4, %r8d
callq _setsockopt
cmpl $-1, %eax
je LBB0_301
## %bb.145:
movl $1, -64(%rbp)
movl _sockin(%rip), %edi
leaq -64(%rbp), %rcx
movl $6, %esi
movl $1, %edx
movl $4, %r8d
callq _setsockopt
cmpl $-1, %eax
je LBB0_302
## %bb.146:
cmpb $1, _inet6(%rip)
jne LBB0_151
## %bb.147:
movb $30, -335(%rbp)
movzwl _bindport(%rip), %eax
rolw $8, %ax
movw %ax, -334(%rbp)
movl _sockin(%rip), %edi
leaq -336(%rbp), %rsi
movl $28, %edx
callq _bind
cmpl $-1, %eax
je LBB0_303
## %bb.148:
movl $28, -400(%rbp)
movl _sockin(%rip), %edi
leaq -336(%rbp), %rsi
leaq -400(%rbp), %rdx
callq _getsockname
cmpl $-1, %eax
je LBB0_304
## %bb.149:
cmpb $1, _inet6(%rip)
jne LBB0_155
## %bb.150:
leaq -328(%rbp), %rsi
leaq _get_address_text.text_addr(%rip), %rbx
movl $30, %edi
movq %rbx, %rdx
movl $46, %ecx
callq _inet_ntop
jmp LBB0_156
LBB0_151:
movb $2, -191(%rbp)
movzwl _bindport(%rip), %eax
rolw $8, %ax
movw %ax, -190(%rbp)
movl _sockin(%rip), %edi
leaq -192(%rbp), %rsi
movl $16, %edx
callq _bind
cmpl $-1, %eax
je LBB0_303
## %bb.152:
movl $16, -400(%rbp)
movl _sockin(%rip), %edi
leaq -192(%rbp), %rsi
leaq -400(%rbp), %rdx
callq _getsockname
cmpl $-1, %eax
je LBB0_304
## %bb.153:
cmpb $1, _inet6(%rip)
jne LBB0_157
## %bb.154:
leaq -188(%rbp), %rsi
leaq _get_address_text.text_addr(%rip), %rbx
movl $30, %edi
movq %rbx, %rdx
movl $46, %ecx
callq _inet_ntop
jmp LBB0_158
LBB0_155:
movl -328(%rbp), %edi
callq _inet_ntoa
movq %rax, %rbx
LBB0_156:
movzwl _bindport(%rip), %edx
leaq L_.str.127(%rip), %rdi
jmp LBB0_159
LBB0_157:
movl -188(%rbp), %edi
callq _inet_ntoa
movq %rax, %rbx
LBB0_158:
movzwl _bindport(%rip), %edx
leaq L_.str.128(%rip), %rdi
LBB0_159:
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movl _sockin(%rip), %edi
movl _max_connections(%rip), %esi
callq _listen
cmpl $-1, %eax
je LBB0_305
## %bb.160:
cmpb $1, _want_accf(%rip)
jne LBB0_162
## %bb.161:
leaq L_str(%rip), %rdi
callq _puts
LBB0_162:
movq _logfile_name(%rip), %rdi
testq %rdi, %rdi
je LBB0_165
## %bb.163:
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, _logfile(%rip)
testq %rax, %rax
je LBB0_313
## %bb.164:
cmpb $1, _want_daemon(%rip)
je LBB0_166
jmp LBB0_169
LBB0_165:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _logfile(%rip)
cmpb $1, _want_daemon(%rip)
jne LBB0_169
LBB0_166:
leaq _lifeline(%rip), %rdi
callq _pipe
cmpl $-1, %eax
je LBB0_327
## %bb.167:
leaq L_.str.133(%rip), %rdi
movl $2, %esi
xorl %edx, %edx
xorl %eax, %eax
callq _open
movl %eax, _fd_null(%rip)
cmpl $-1, %eax
je LBB0_328
## %bb.168:
callq _fork
testl %eax, %eax
jne LBB0_306
LBB0_169:
movl $1, %esi
movl $13, %edi
callq _signal
cmpq $-1, %rax
je LBB0_308
## %bb.170:
leaq _stop_running(%rip), %rsi
movl $2, %edi
callq _signal
cmpq $-1, %rax
je LBB0_309
## %bb.171:
leaq _stop_running(%rip), %rsi
movl $15, %edi
callq _signal
cmpq $-1, %rax
je LBB0_310
## %bb.172:
cmpb $1, _want_chroot(%rip)
jne LBB0_176
## %bb.173:
callq _tzset
movq _wwwroot(%rip), %rdi
callq _chdir
movq _wwwroot(%rip), %rdi
cmpl $-1, %eax
je LBB0_329
## %bb.174:
callq _chroot
movq _wwwroot(%rip), %rdx
cmpl $-1, %eax
je LBB0_330
## %bb.175:
leaq L_.str.11(%rip), %rdi
movq %rdx, %rsi
xorl %eax, %eax
callq _printf
movq _wwwroot(%rip), %rax
movb $0, (%rax)
LBB0_176:
movl _drop_gid(%rip), %eax
cmpl $-1, %eax
je LBB0_180
## %bb.177:
movl %eax, -336(%rbp)
leaq -336(%rbp), %rsi
movl $1, %edi
callq _setgroups
movl _drop_gid(%rip), %edi
cmpl $-1, %eax
je LBB0_314
## %bb.178:
callq _setgid
movl _drop_gid(%rip), %edx
cmpl $-1, %eax
je LBB0_315
## %bb.179:
leaq L_.str.14(%rip), %rdi
movl %edx, %esi
xorl %eax, %eax
callq _printf
LBB0_180:
movl _drop_uid(%rip), %edi
cmpl $-1, %edi
je LBB0_183
## %bb.181:
callq _setuid
movl _drop_uid(%rip), %edx
cmpl $-1, %eax
je LBB0_316
## %bb.182:
leaq L_.str.16(%rip), %rdi
movl %edx, %esi
xorl %eax, %eax
callq _printf
LBB0_183:
movq _pidfile_name(%rip), %rdi
testq %rdi, %rdi
je LBB0_187
## %bb.184:
movl $1573, %esi ## imm = 0x625
movl $384, %edx ## imm = 0x180
xorl %eax, %eax
callq _open
cmpl $-1, %eax
je LBB0_317
## %bb.185:
movl %eax, %ebx
movl %eax, _pidfile_fd(%rip)
movl %eax, %edi
xorl %esi, %esi
callq _ftruncate
cmpl $-1, %eax
je LBB0_321
## %bb.186:
callq _getpid
leaq L_.str.143(%rip), %rdx
leaq -336(%rbp), %r14
movl $16, %esi
movq %r14, %rdi
movl %eax, %ecx
xorl %eax, %eax
callq _snprintf
movq %r14, %rdi
callq _strlen
movl %ebx, %edi
movq %r14, %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq _pwrite
movq %rax, %rbx
movq %r14, %rdi
callq _strlen
cmpq %rax, %rbx
jne LBB0_324
LBB0_187:
cmpb $1, _want_daemon(%rip)
jne LBB0_202
## %bb.188:
cmpl $-1, _fd_null(%rip)
je LBB0_202
## %bb.189:
callq _setsid
cmpl $-1, %eax
je LBB0_331
## %bb.190:
movl _lifeline(%rip), %edi
callq _close
cmpl $-1, %eax
jne LBB0_192
## %bb.191:
leaq L_.str.149(%rip), %rdi
xorl %eax, %eax
callq _warn
LBB0_192:
movl _lifeline+4(%rip), %edi
callq _close
cmpl $-1, %eax
jne LBB0_194
## %bb.193:
leaq L_.str.150(%rip), %rdi
xorl %eax, %eax
callq _warn
LBB0_194:
movl _fd_null(%rip), %edi
xorl %esi, %esi
callq _dup2
cmpl $-1, %eax
jne LBB0_196
## %bb.195:
leaq L_.str.151(%rip), %rdi
xorl %eax, %eax
callq _warn
LBB0_196:
movl _fd_null(%rip), %edi
movl $1, %esi
callq _dup2
cmpl $-1, %eax
jne LBB0_198
## %bb.197:
leaq L_.str.152(%rip), %rdi
xorl %eax, %eax
callq _warn
LBB0_198:
movl _fd_null(%rip), %edi
movl $2, %esi
callq _dup2
cmpl $-1, %eax
jne LBB0_200
## %bb.199:
leaq L_.str.153(%rip), %rdi
xorl %eax, %eax
callq _warn
LBB0_200:
movl _fd_null(%rip), %edi
cmpl $3, %edi
jl LBB0_202
## %bb.201:
callq _close
LBB0_202:
cmpl $0, _running(%rip)
je LBB0_264
## %bb.203:
leaq -192(%rbp), %r13
jmp LBB0_206
.p2align 4, 0x90
LBB0_204: ## in Loop: Header=BB0_206 Depth=1
callq ___error
cmpl $4, (%rax)
jne LBB0_287
LBB0_205: ## in Loop: Header=BB0_206 Depth=1
cmpl $0, _running(%rip)
je LBB0_264
LBB0_206: ## =>This Loop Header: Depth=1
## Child Loop BB0_220 Depth 2
## Child Loop BB0_242 Depth 2
movslq _timeout_secs(%rip), %rax
movq %rax, -424(%rbp)
movl $0, -416(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -336(%rbp)
movaps %xmm0, -320(%rbp)
movaps %xmm0, -304(%rbp)
movaps %xmm0, -288(%rbp)
movaps %xmm0, -272(%rbp)
movaps %xmm0, -256(%rbp)
movaps %xmm0, -240(%rbp)
movaps %xmm0, -224(%rbp)
movaps %xmm0, -192(%rbp)
movaps %xmm0, -176(%rbp)
movaps %xmm0, -160(%rbp)
movaps %xmm0, -144(%rbp)
movaps %xmm0, -128(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm0, -96(%rbp)
movaps %xmm0, -80(%rbp)
cmpb $0, _accepting(%rip)
movl $0, %r14d
jne LBB0_210
## %bb.207: ## in Loop: Header=BB0_206 Depth=1
movl _sockin(%rip), %ebx
movl %ebx, %edi
leaq -336(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
testl %eax, %eax
je LBB0_209
## %bb.208: ## in Loop: Header=BB0_206 Depth=1
movslq %ebx, %rcx
movl $1, %eax
shll %cl, %eax
shrq $5, %rcx
orl %eax, -336(%rbp,%rcx,4)
LBB0_209: ## in Loop: Header=BB0_206 Depth=1
movl _sockin(%rip), %r14d
testl %r14d, %r14d
movl $0, %eax
cmovlel %eax, %r14d
LBB0_210: ## in Loop: Header=BB0_206 Depth=1
movq _connlist(%rip), %rbx
xorl %eax, %eax
testq %rbx, %rbx
jne LBB0_220
LBB0_211: ## in Loop: Header=BB0_206 Depth=1
cmpl $0, _timeout_secs(%rip)
setne %cl
incl %r14d
testl %eax, %eax
setne %bl
andb %cl, %bl
movl $0, %r8d
leaq -424(%rbp), %rax
cmovneq %rax, %r8
movl %r14d, %edi
leaq -336(%rbp), %rsi
movq %r13, %rdx
xorl %ecx, %ecx
callq _select$1050
testl %eax, %eax
jne LBB0_213
## %bb.212: ## in Loop: Header=BB0_206 Depth=1
testb %bl, %bl
je LBB0_284
LBB0_213: ## in Loop: Header=BB0_206 Depth=1
cmpl $-1, %eax
movabsq $-4294967296, %r15 ## imm = 0xFFFFFFFF00000000
je LBB0_204
## %bb.214: ## in Loop: Header=BB0_206 Depth=1
xorl %edi, %edi
callq _time
movq %rax, _now(%rip)
movl _sockin(%rip), %ebx
movl %ebx, %edi
leaq -336(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
testl %eax, %eax
je LBB0_240
## %bb.215: ## in Loop: Header=BB0_206 Depth=1
movslq %ebx, %rax
shrq $5, %rax
movl -336(%rbp,%rax,4), %eax
btl %ebx, %eax
jae LBB0_240
## %bb.216: ## in Loop: Header=BB0_206 Depth=1
cmpb $1, _inet6(%rip)
jne LBB0_225
## %bb.217: ## in Loop: Header=BB0_206 Depth=1
movl $28, -344(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -400(%rbp)
movups %xmm0, -388(%rbp)
leaq -400(%rbp), %rsi
jmp LBB0_226
.p2align 4, 0x90
LBB0_221: ## in Loop: Header=BB0_220 Depth=2
movl 16(%rbx), %r12d
addq $16, %rbx
movl %r12d, %edi
movq %r13, %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movq %r13, %rdx
testl %eax, %eax
je LBB0_218
LBB0_224: ## in Loop: Header=BB0_220 Depth=2
movslq %r12d, %rcx
movl $1, %eax
shll %cl, %eax
shrq $5, %rcx
orl %eax, (%rdx,%rcx,4)
LBB0_218: ## in Loop: Header=BB0_220 Depth=2
movl (%rbx), %eax
cmpl %eax, %r14d
cmovlel %eax, %r14d
movl $1, %eax
LBB0_219: ## in Loop: Header=BB0_220 Depth=2
movq %r15, %rbx
testq %r15, %r15
je LBB0_211
LBB0_220: ## Parent Loop BB0_206 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rbx), %r15
movl 48(%rbx), %ecx
leal -1(%rcx), %edx
cmpl $2, %edx
jb LBB0_221
## %bb.222: ## in Loop: Header=BB0_220 Depth=2
testl %ecx, %ecx
jne LBB0_219
## %bb.223: ## in Loop: Header=BB0_220 Depth=2
movl 16(%rbx), %r12d
addq $16, %rbx
movl %r12d, %edi
leaq -336(%rbp), %r13
movq %r13, %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movq %r13, %rdx
leaq -192(%rbp), %r13
testl %eax, %eax
jne LBB0_224
jmp LBB0_218
LBB0_225: ## in Loop: Header=BB0_206 Depth=1
movl $16, -344(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -64(%rbp)
leaq -64(%rbp), %rsi
LBB0_226: ## in Loop: Header=BB0_206 Depth=1
movl _sockin(%rip), %edi
leaq -344(%rbp), %rdx
callq _accept
cmpl $-1, %eax
je LBB0_232
## %bb.227: ## in Loop: Header=BB0_206 Depth=1
movl %eax, %r14d
movl $240, %edi
callq _malloc
testq %rax, %rax
je LBB0_293
## %bb.228: ## in Loop: Header=BB0_206 Depth=1
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 20(%rax)
movq _now(%rip), %rax
movq %rax, 40(%rbx)
movups %xmm0, 56(%rbx)
movups %xmm0, 72(%rbx)
movups %xmm0, 88(%rbx)
movups %xmm0, 104(%rbx)
movups %xmm0, 120(%rbx)
movups %xmm0, 136(%rbx)
movups %xmm0, 152(%rbx)
movups %xmm0, 164(%rbx)
movl $1, 180(%rbx)
movq $0, 192(%rbx)
movq %r15, 200(%rbx)
movups %xmm0, 208(%rbx)
movups %xmm0, 224(%rbx)
movl $3, 48(%rbx)
movl %r14d, 16(%rbx)
movl %r14d, %edi
movl $3, %esi
xorl %eax, %eax
callq _fcntl
cmpl $-1, %eax
je LBB0_294
## %bb.229: ## in Loop: Header=BB0_206 Depth=1
orl $4, %eax
movl %r14d, %edi
movl $4, %esi
movl %eax, %edx
xorl %eax, %eax
callq _fcntl
cmpl $-1, %eax
je LBB0_295
## %bb.230: ## in Loop: Header=BB0_206 Depth=1
movl $0, 48(%rbx)
cmpb $1, _inet6(%rip)
jne LBB0_236
## %bb.231: ## in Loop: Header=BB0_206 Depth=1
leaq -392(%rbp), %rax
movups (%rax), %xmm0
movups %xmm0, 20(%rbx)
jmp LBB0_237
LBB0_232: ## in Loop: Header=BB0_206 Depth=1
callq ___error
cmpl $24, (%rax)
je LBB0_234
## %bb.233: ## in Loop: Header=BB0_206 Depth=1
callq ___error
cmpl $23, (%rax)
jne LBB0_235
LBB0_234: ## in Loop: Header=BB0_206 Depth=1
movb $1, _accepting(%rip)
LBB0_235: ## in Loop: Header=BB0_206 Depth=1
leaq L_.str.156(%rip), %rdi
xorl %eax, %eax
callq _warn
jmp LBB0_240
LBB0_236: ## in Loop: Header=BB0_206 Depth=1
movl -60(%rbp), %eax
movl %eax, 20(%rbx)
LBB0_237: ## in Loop: Header=BB0_206 Depth=1
movq _connlist(%rip), %rax
movq %rax, (%rbx)
testq %rax, %rax
je LBB0_239
## %bb.238: ## in Loop: Header=BB0_206 Depth=1
movq %rbx, 8(%rax)
LBB0_239: ## in Loop: Header=BB0_206 Depth=1
movq %rbx, _connlist(%rip)
leaq _connlist(%rip), %rax
movq %rax, 8(%rbx)
movq %rbx, %rdi
callq _poll_recv_request
LBB0_240: ## in Loop: Header=BB0_206 Depth=1
movq _connlist(%rip), %r12
jmp LBB0_242
LBB0_241: ## in Loop: Header=BB0_242 Depth=2
movl 16(%r14), %ebx
movl $-1, 16(%r14)
movq %r14, %rdi
callq _free_connection
movl %ebx, 16(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 56(%r14)
movups %xmm0, 72(%r14)
movups %xmm0, 88(%r14)
movups %xmm0, 104(%r14)
movups %xmm0, 120(%r14)
movups %xmm0, 136(%r14)
movups %xmm0, 152(%r14)
movups %xmm0, 164(%r14)
movl $1, 180(%r14)
movq $0, 192(%r14)
movq %r15, 200(%r14)
movl $0, 48(%r14)
movups %xmm0, 208(%r14)
movups %xmm0, 224(%r14)
.p2align 4, 0x90
LBB0_242: ## Parent Loop BB0_206 Depth=1
## => This Inner Loop Header: Depth=2
testq %r12, %r12
je LBB0_205
## %bb.243: ## in Loop: Header=BB0_242 Depth=2
movq %r12, %r14
movl _timeout_secs(%rip), %eax
testl %eax, %eax
jle LBB0_246
## %bb.244: ## in Loop: Header=BB0_242 Depth=2
movq _now(%rip), %rcx
subq 40(%r14), %rcx
cmpq %rax, %rcx
jl LBB0_246
## %bb.245: ## in Loop: Header=BB0_242 Depth=2
movl $1, 180(%r14)
movl $3, 48(%r14)
LBB0_246: ## in Loop: Header=BB0_242 Depth=2
movq (%r14), %r12
movl 48(%r14), %eax
cmpl $2, %eax
je LBB0_253
## %bb.247: ## in Loop: Header=BB0_242 Depth=2
cmpl $1, %eax
je LBB0_250
## %bb.248: ## in Loop: Header=BB0_242 Depth=2
testl %eax, %eax
jne LBB0_249
## %bb.256: ## in Loop: Header=BB0_242 Depth=2
movl 16(%r14), %ebx
movl %ebx, %edi
leaq -336(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
testl %eax, %eax
je LBB0_259
## %bb.257: ## in Loop: Header=BB0_242 Depth=2
movslq %ebx, %rax
shrq $5, %rax
movl -336(%rbp,%rax,4), %eax
btl %ebx, %eax
jae LBB0_259
## %bb.258: ## in Loop: Header=BB0_242 Depth=2
movq %r14, %rdi
callq _poll_recv_request
jmp LBB0_259
.p2align 4, 0x90
LBB0_249: ## in Loop: Header=BB0_242 Depth=2
cmpl $3, %eax
jne LBB0_242
jmp LBB0_260
.p2align 4, 0x90
LBB0_250: ## in Loop: Header=BB0_242 Depth=2
movl 16(%r14), %ebx
movl %ebx, %edi
movq %r13, %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
testl %eax, %eax
je LBB0_259
## %bb.251: ## in Loop: Header=BB0_242 Depth=2
movslq %ebx, %rax
shrq $5, %rax
movl -192(%rbp,%rax,4), %eax
btl %ebx, %eax
jae LBB0_259
## %bb.252: ## in Loop: Header=BB0_242 Depth=2
movq %r14, %rdi
callq _poll_send_header
jmp LBB0_259
.p2align 4, 0x90
LBB0_253: ## in Loop: Header=BB0_242 Depth=2
movl 16(%r14), %ebx
movl %ebx, %edi
movq %r13, %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
testl %eax, %eax
je LBB0_259
## %bb.254: ## in Loop: Header=BB0_242 Depth=2
movslq %ebx, %rax
shrq $5, %rax
movl -192(%rbp,%rax,4), %eax
btl %ebx, %eax
jae LBB0_259
## %bb.255: ## in Loop: Header=BB0_242 Depth=2
movq %r14, %rdi
callq _poll_send_reply
.p2align 4, 0x90
LBB0_259: ## in Loop: Header=BB0_242 Depth=2
movl 48(%r14), %eax
cmpl $3, %eax
jne LBB0_242
LBB0_260: ## in Loop: Header=BB0_242 Depth=2
cmpl $0, 180(%r14)
je LBB0_241
## %bb.261: ## in Loop: Header=BB0_242 Depth=2
movq (%r14), %rax
testq %rax, %rax
je LBB0_263
## %bb.262: ## in Loop: Header=BB0_242 Depth=2
movq 8(%r14), %rcx
movq %rcx, 8(%rax)
LBB0_263: ## in Loop: Header=BB0_242 Depth=2
movq 8(%r14), %rcx
movq %rax, (%rcx)
movq %r14, %rdi
callq _free_connection
movq %r14, %rdi
callq _free
jmp LBB0_242
LBB0_264:
movl _sockin(%rip), %edi
callq _close
cmpl $-1, %eax
je LBB0_350
## %bb.265:
movq _logfile(%rip), %rdi
testq %rdi, %rdi
je LBB0_267
## %bb.266:
callq _fclose
LBB0_267:
movq _pidfile_name(%rip), %rdi
testq %rdi, %rdi
je LBB0_271
## %bb.268:
callq _unlink
cmpl $-1, %eax
je LBB0_325
## %bb.269:
movl _pidfile_fd(%rip), %edi
callq _close
cmpl $-1, %eax
je LBB0_350
## %bb.270:
movl $-1, _pidfile_fd(%rip)
LBB0_271:
movq _connlist(%rip), %r14
testq %r14, %r14
je LBB0_276
## %bb.272:
movq (%r14), %rcx
movq 8(%r14), %rax
testq %rcx, %rcx
je LBB0_274
.p2align 4, 0x90
LBB0_273: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rbx
movq %rax, 8(%rcx)
movq 8(%r14), %rax
movq %rcx, (%rax)
movq %r14, %rdi
callq _free_connection
movq %r14, %rdi
callq _free
movq (%rbx), %rcx
movq 8(%rbx), %rax
movq %rbx, %r14
testq %rcx, %rcx
jne LBB0_273
jmp LBB0_275
LBB0_274:
movq %r14, %rbx
LBB0_275:
movq %rcx, (%rax)
movq %rbx, %rdi
callq _free_connection
movq %rbx, %rdi
callq _free
LBB0_276:
movq _mime_map_size(%rip), %r15
testq %r15, %r15
je LBB0_279
## %bb.277:
movq _mime_map(%rip), %r14
leaq 8(%r14), %rbx
.p2align 4, 0x90
LBB0_278: ## =>This Inner Loop Header: Depth=1
movq -8(%rbx), %rdi
callq _free
movq (%rbx), %rdi
callq _free
addq $16, %rbx
decq %r15
jne LBB0_278
jmp LBB0_280
LBB0_279:
movq _mime_map(%rip), %r14
LBB0_280:
movq %r14, %rdi
callq _free
movq _forward_map(%rip), %rdi
testq %rdi, %rdi
je LBB0_282
## %bb.281:
callq _free
LBB0_282:
movq _keep_alive_field(%rip), %rdi
callq _free
movq _wwwroot(%rip), %rdi
callq _free
movq _server_hdr(%rip), %rdi
callq _free
movq _auth_key(%rip), %rdi
callq _free
leaq -336(%rbp), %rsi
xorl %edi, %edi
callq _getrusage
movslq -328(%rbp), %rax
imulq $1759218605, %rax, %rdx ## imm = 0x68DB8BAD
movq %rdx, %rax
shrq $63, %rax
sarq $44, %rdx
addl %eax, %edx
movl -336(%rbp), %esi
movl -320(%rbp), %ecx
movslq -312(%rbp), %rax
imulq $1759218605, %rax, %r8 ## imm = 0x68DB8BAD
movq %r8, %rax
shrq $63, %rax
sarq $44, %r8
addl %eax, %r8d
leaq L_.str.17(%rip), %rdi
## kill: def $edx killed $edx killed $rdx
## kill: def $r8d killed $r8d killed $r8
xorl %eax, %eax
callq _printf
movq _num_requests(%rip), %rsi
leaq L_.str.18(%rip), %rdi
xorl %eax, %eax
callq _printf
movq _total_in(%rip), %rsi
movq _total_out(%rip), %rdx
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_311
## %bb.283:
xorl %eax, %eax
addq $392, %rsp ## imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_284:
leaq L_.str.154(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_285:
leaq L_.str.116(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_286:
leaq L_.str.117(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_287:
leaq L_.str.155(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_288:
leaq L_.str.46(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_289:
leaq L_.str.118(%rip), %rsi
movq %rax, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq _errx
LBB0_290:
leaq L_.str.40(%rip), %rsi
LBB0_291:
movq %rbx, %rdx
xorl %eax, %eax
callq _errx
LBB0_292:
leaq L_.str.48(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_293:
leaq L_.str.40(%rip), %rsi
movl $240, %edx
xorl %eax, %eax
callq _errx
LBB0_294:
leaq L_.str.157(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_295:
leaq L_.str.158(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_296:
leaq L_.str.50(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_297:
movq (%rbx), %rdi
callq _usage
xorl %edi, %edi
callq _exit
LBB0_298:
leaq L_.str.52(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_299:
leaq L_.str.40(%rip), %rsi
movq %r14, %rdx
xorl %eax, %eax
callq _errx
LBB0_300:
leaq L_.str.122(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_301:
leaq L_.str.123(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_302:
leaq L_.str.124(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_303:
movzwl _bindport(%rip), %edx
leaq L_.str.125(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_304:
leaq L_.str.126(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_305:
leaq L_.str.129(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_306:
movl %eax, %ebx
cmpl $-1, %eax
jne LBB0_332
## %bb.307:
leaq L_.str.135(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_308:
leaq L_.str.6(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_309:
leaq L_.str.7(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_310:
leaq L_.str.8(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_311:
callq ___stack_chk_fail
LBB0_312:
leaq L_.str.121(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_313:
movq _logfile_name(%rip), %rdx
leaq L_.str.5(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_314:
leaq L_.str.12(%rip), %rsi
movl %edi, %edx
xorl %eax, %eax
callq _err
LBB0_315:
leaq L_.str.13(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_316:
leaq L_.str.15(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_317:
callq ___error
cmpl $35, (%rax)
je LBB0_319
## %bb.318:
callq ___error
cmpl $17, (%rax)
jne LBB0_346
LBB0_319:
movq _pidfile_name(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _open
cmpl $-1, %eax
jne LBB0_342
## %bb.320:
leaq L_.str.145(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_321:
callq ___error
movl (%rax), %ebx
movq _pidfile_name(%rip), %rdi
callq _unlink
cmpl $-1, %eax
je LBB0_325
## %bb.322:
movl _pidfile_fd(%rip), %edi
callq _close
cmpl $-1, %eax
je LBB0_350
## %bb.323:
movl $-1, _pidfile_fd(%rip)
callq ___error
movl %ebx, (%rax)
leaq L_.str.142(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_324:
callq ___error
movl (%rax), %ebx
movq _pidfile_name(%rip), %rdi
callq _unlink
cmpl $-1, %eax
jne LBB0_340
LBB0_325:
leaq L_.str.235(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_326:
leaq L_.str.40(%rip), %rsi
movl $1, %edx
xorl %eax, %eax
callq _errx
LBB0_327:
leaq L_.str.132(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_328:
leaq L_.str.134(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_329:
leaq L_.str.9(%rip), %rsi
movq %rdi, %rdx
xorl %eax, %eax
callq _err
LBB0_330:
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_331:
leaq L_.str.148(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_332:
movl _lifeline+4(%rip), %edi
callq _close
cmpl $-1, %eax
jne LBB0_334
## %bb.333:
leaq L_.str.136(%rip), %rdi
xorl %eax, %eax
callq _warn
LBB0_334:
movl _lifeline(%rip), %edi
leaq -192(%rbp), %rsi
movl $1, %edx
callq _read
cmpq $-1, %rax
jne LBB0_336
## %bb.335:
leaq L_.str.137(%rip), %rdi
xorl %eax, %eax
callq _warn
LBB0_336:
leaq -336(%rbp), %rsi
movl %ebx, %edi
movl $1, %edx
callq _waitpid
testl %eax, %eax
je LBB0_344
## %bb.337:
cmpl $-1, %eax
jne LBB0_345
## %bb.338:
leaq L_.str.138(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_339:
leaq L_.str.56(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_340:
movl _pidfile_fd(%rip), %edi
callq _close
cmpl $-1, %eax
je LBB0_350
## %bb.341:
movl $-1, _pidfile_fd(%rip)
callq ___error
movl %ebx, (%rax)
leaq L_.str.144(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_342:
movl %eax, %ebx
leaq -336(%rbp), %rsi
movl $15, %edx
movl %eax, %edi
callq _read
movq %rax, %r14
cmpl $-1, %r14d
jne LBB0_349
## %bb.343:
leaq L_.str.146(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_344:
xorl %edi, %edi
callq _exit
LBB0_345:
movzbl -335(%rbp), %edi
callq _exit
LBB0_346:
movq _pidfile_name(%rip), %rdx
leaq L_.str.141(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_347:
leaq L_.str.59(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_348:
leaq L_.str.115(%rip), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _err
LBB0_349:
movl %ebx, %edi
callq _close
cmpl $-1, %eax
jne LBB0_352
LBB0_350:
leaq L_.str.234(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_351:
leaq L_.str.61(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_352:
movslq %r14d, %rax
movb $0, -336(%rbp,%rax)
callq ___error
movl $0, (%rax)
leaq -336(%rbp), %rdi
leaq -192(%rbp), %rsi
movl $10, %edx
callq _strtoll
movq %rax, %rbx
movq -192(%rbp), %rax
cmpb $0, (%rax)
jne LBB0_356
## %bb.353:
movabsq $9223372036854775807, %rax ## imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, %rbx
je LBB0_355
## %bb.354:
movabsq $-9223372036854775808, %rax ## imm = 0x8000000000000000
cmpq %rax, %rbx
jne LBB0_361
LBB0_355:
callq ___error
cmpl $34, (%rax)
jne LBB0_361
LBB0_356:
leaq L_.str.147(%rip), %rsi
leaq -336(%rbp), %rdx
xorl %eax, %eax
callq _err
LBB0_357:
leaq L_.str.63(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_358:
leaq L_.str.66(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_359:
leaq L_.str.69(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_360:
movq (%r15,%r14,8), %rdx
leaq L_.str.64(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_361:
leaq L_.str.140(%rip), %rsi
movl %ebx, %edx
xorl %eax, %eax
callq _errx
LBB0_362:
movq (%r15,%r14,8), %rdx
leaq L_.str.67(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_363:
leaq L_.str.74(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_364:
leaq L_.str.75(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_365:
leaq L_.str.43(%rip), %rsi
jmp LBB0_291
LBB0_366:
leaq L_.str.77(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_367:
leaq L_.str.80(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_368:
leaq L_.str.82(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB0_369:
leaq L_.str.88(%rip), %rsi
movq %r13, %rdx
xorl %eax, %eax
callq _errx
LBB0_370:
leaq L_.str.86(%rip), %rsi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function xasprintf
_xasprintf: ## @xasprintf
.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 $216, %rsp
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq %rdx, -208(%rbp)
movq %rcx, -200(%rbp)
movq %r8, -192(%rbp)
movq %r9, -184(%rbp)
testb %al, %al
je LBB1_7
## %bb.6:
movaps %xmm0, -176(%rbp)
movaps %xmm1, -160(%rbp)
movaps %xmm2, -144(%rbp)
movaps %xmm3, -128(%rbp)
movaps %xmm4, -112(%rbp)
movaps %xmm5, -96(%rbp)
movaps %xmm6, -80(%rbp)
movaps %xmm7, -64(%rbp)
LBB1_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
leaq -224(%rbp), %rax
movq %rax, -32(%rbp)
leaq 16(%rbp), %rax
movq %rax, -40(%rbp)
movabsq $206158430224, %rax ## imm = 0x3000000010
movq %rax, -48(%rbp)
leaq -48(%rbp), %rdx
callq _vasprintf
testq %rbx, %rbx
je LBB1_4
## %bb.1:
cmpl $-1, %eax
je LBB1_4
## %bb.2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -16(%rbp), %rcx
jne LBB1_5
## %bb.3:
addq $216, %rsp
popq %rbx
popq %rbp
retq
LBB1_4:
leaq L_.str.119(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB1_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function err
_err: ## @err
.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 $208, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdx, -208(%rbp)
movq %rcx, -200(%rbp)
movq %r8, -192(%rbp)
movq %r9, -184(%rbp)
testb %al, %al
je LBB2_2
## %bb.1:
movaps %xmm0, -176(%rbp)
movaps %xmm1, -160(%rbp)
movaps %xmm2, -144(%rbp)
movaps %xmm3, -128(%rbp)
movaps %xmm4, -112(%rbp)
movaps %xmm5, -96(%rbp)
movaps %xmm6, -80(%rbp)
movaps %xmm7, -64(%rbp)
LBB2_2:
leaq -224(%rbp), %rax
movq %rax, -32(%rbp)
leaq 16(%rbp), %rax
movq %rax, -40(%rbp)
movabsq $206158430224, %rax ## imm = 0x3000000010
movq %rax, -48(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
leaq L_.str.41(%rip), %rdi
movl $7, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rdi
leaq -48(%rbp), %rdx
movq %r14, %rsi
callq _vfprintf
movq (%rbx), %rbx
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.131(%rip), %rsi
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function stop_running
_stop_running: ## @stop_running
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, _running(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function free_connection
_free_connection: ## @free_connection
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _logfile(%rip), %r13
testq %r13, %r13
je LBB4_61
## %bb.1:
cmpl $0, 176(%r12)
je LBB4_61
## %bb.2:
movq 72(%r12), %rbx
testq %rbx, %rbx
je LBB4_61
## %bb.3:
movq %rbx, %rdi
callq _strlen
leaq (%rax,%rax,2), %r15
incq %r15
movq %r15, %rdi
callq _malloc
testq %rax, %rax
je LBB4_85
## %bb.4:
movq %rax, %r14
movb (%rbx), %dl
xorl %eax, %eax
testb %dl, %dl
je LBB4_11
## %bb.5:
leaq _logencode.hex(%rip), %rdi
jmp LBB4_6
.p2align 4, 0x90
LBB4_8: ## in Loop: Header=BB4_6 Depth=1
movslq %eax, %rdx
movb $37, (%r14,%rdx)
movzbl (%rbx), %eax
shrq $4, %rax
movzbl (%rax,%rdi), %ecx
leal 2(%rdx), %eax
movb %cl, 1(%r14,%rdx)
movzbl (%rbx), %ecx
andl $15, %ecx
movzbl (%rcx,%rdi), %edx
LBB4_9: ## in Loop: Header=BB4_6 Depth=1
cltq
movb %dl, (%r14,%rax)
incl %eax
movzbl 1(%rbx), %edx
incq %rbx
testb %dl, %dl
je LBB4_10
LBB4_6: ## =>This Inner Loop Header: Depth=1
cmpb $34, %dl
je LBB4_8
## %bb.7: ## in Loop: Header=BB4_6 Depth=1
leal -32(%rdx), %esi
cmpb $95, %sil
jb LBB4_9
jmp LBB4_8
LBB4_10:
cltq
LBB4_11:
movb $0, (%r14,%rax)
movq 80(%r12), %rbx
testq %rbx, %rbx
je LBB4_12
## %bb.13:
movq %rbx, %rdi
callq _strlen
leaq (%rax,%rax,2), %r15
incq %r15
movq %r15, %rdi
callq _malloc
testq %rax, %rax
je LBB4_85
## %bb.14:
movb (%rbx), %dl
xorl %edi, %edi
testb %dl, %dl
je LBB4_21
## %bb.15:
leaq _logencode.hex(%rip), %r8
jmp LBB4_16
.p2align 4, 0x90
LBB4_18: ## in Loop: Header=BB4_16 Depth=1
movslq %edi, %rdx
movb $37, (%rax,%rdx)
movzbl (%rbx), %ecx
shrq $4, %rcx
movzbl (%rcx,%r8), %ecx
leal 2(%rdx), %edi
movb %cl, 1(%rax,%rdx)
movzbl (%rbx), %ecx
andl $15, %ecx
movzbl (%rcx,%r8), %edx
LBB4_19: ## in Loop: Header=BB4_16 Depth=1
movslq %edi, %rdi
movb %dl, (%rax,%rdi)
incl %edi
movzbl 1(%rbx), %edx
incq %rbx
testb %dl, %dl
je LBB4_20
LBB4_16: ## =>This Inner Loop Header: Depth=1
cmpb $34, %dl
je LBB4_18
## %bb.17: ## in Loop: Header=BB4_16 Depth=1
leal -32(%rdx), %esi
cmpb $95, %sil
jb LBB4_19
jmp LBB4_18
LBB4_20:
movslq %edi, %rdi
LBB4_21:
movb $0, (%rax,%rdi)
jmp LBB4_22
LBB4_12:
xorl %eax, %eax
LBB4_22:
movq %rax, -104(%rbp) ## 8-byte Spill
movq %r13, -96(%rbp) ## 8-byte Spill
movq 88(%r12), %rbx
testq %rbx, %rbx
je LBB4_23
## %bb.24:
movq %rbx, %rdi
callq _strlen
leaq (%rax,%rax,2), %r15
incq %r15
movq %r15, %rdi
callq _malloc
testq %rax, %rax
je LBB4_85
## %bb.25:
movq %rax, %r13
movb (%rbx), %dl
xorl %eax, %eax
testb %dl, %dl
je LBB4_32
## %bb.26:
leaq _logencode.hex(%rip), %rdi
jmp LBB4_27
.p2align 4, 0x90
LBB4_29: ## in Loop: Header=BB4_27 Depth=1
movslq %eax, %rdx
movb $37, (%r13,%rdx)
movzbl (%rbx), %eax
shrq $4, %rax
movzbl (%rax,%rdi), %ecx
leal 2(%rdx), %eax
movb %cl, 1(%r13,%rdx)
movzbl (%rbx), %ecx
andl $15, %ecx
movzbl (%rcx,%rdi), %edx
LBB4_30: ## in Loop: Header=BB4_27 Depth=1
cltq
movb %dl, (%r13,%rax)
incl %eax
movzbl 1(%rbx), %edx
incq %rbx
testb %dl, %dl
je LBB4_31
LBB4_27: ## =>This Inner Loop Header: Depth=1
cmpb $34, %dl
je LBB4_29
## %bb.28: ## in Loop: Header=BB4_27 Depth=1
leal -32(%rdx), %esi
cmpb $95, %sil
jb LBB4_30
jmp LBB4_29
LBB4_31:
cltq
LBB4_32:
movb $0, (%r13,%rax)
jmp LBB4_33
LBB4_23:
xorl %r13d, %r13d
LBB4_33:
movq 96(%r12), %rbx
testq %rbx, %rbx
je LBB4_34
## %bb.35:
movq %rbx, %rdi
callq _strlen
leaq (%rax,%rax,2), %rdi
incq %rdi
movq %rdi, -88(%rbp) ## 8-byte Spill
callq _malloc
testq %rax, %rax
je LBB4_86
## %bb.36:
movq %rax, %r15
movb (%rbx), %dl
xorl %eax, %eax
testb %dl, %dl
je LBB4_43
## %bb.37:
leaq _logencode.hex(%rip), %rdi
jmp LBB4_38
.p2align 4, 0x90
LBB4_40: ## in Loop: Header=BB4_38 Depth=1
movslq %eax, %rdx
movb $37, (%r15,%rdx)
movzbl (%rbx), %eax
shrq $4, %rax
movzbl (%rax,%rdi), %ecx
leal 2(%rdx), %eax
movb %cl, 1(%r15,%rdx)
movzbl (%rbx), %ecx
andl $15, %ecx
movzbl (%rcx,%rdi), %edx
LBB4_41: ## in Loop: Header=BB4_38 Depth=1
cltq
movb %dl, (%r15,%rax)
incl %eax
movzbl 1(%rbx), %edx
incq %rbx
testb %dl, %dl
je LBB4_42
LBB4_38: ## =>This Inner Loop Header: Depth=1
cmpb $34, %dl
je LBB4_40
## %bb.39: ## in Loop: Header=BB4_38 Depth=1
leal -32(%rdx), %esi
cmpb $95, %sil
jb LBB4_41
jmp LBB4_40
LBB4_42:
cltq
LBB4_43:
movb $0, (%r15,%rax)
jmp LBB4_44
LBB4_34:
xorl %r15d, %r15d
LBB4_44:
leaq 20(%r12), %rsi
movb _inet6(%rip), %al
cmpb $1, _syslog_enabled(%rip)
jne LBB4_50
## %bb.45:
testb $1, %al
je LBB4_47
## %bb.46:
leaq _get_address_text.text_addr(%rip), %rdx
movl $30, %edi
movq %rdx, -96(%rbp) ## 8-byte Spill
movl $46, %ecx
callq _inet_ntop
jmp LBB4_48
LBB4_50:
testb $1, %al
je LBB4_52
## %bb.51:
leaq _get_address_text.text_addr(%rip), %rdx
movl $30, %edi
movq %rdx, -88(%rbp) ## 8-byte Spill
movl $46, %ecx
callq _inet_ntop
jmp LBB4_53
LBB4_47:
movl (%rsi), %edi
callq _inet_ntoa
movq %rax, -96(%rbp) ## 8-byte Spill
LBB4_48:
movq _now(%rip), %rax
movq %rax, -112(%rbp)
leaq -112(%rbp), %rdi
callq _localtime
leaq L_.str.237(%rip), %rdx
leaq -80(%rbp), %rdi
movl $29, %esi
movq %rax, %rcx
callq _strftime
testq %rax, %rax
je LBB4_87
## %bb.49:
movq -104(%rbp), %r9 ## 8-byte Reload
testq %r9, %r9
leaq L_.str.3(%rip), %rbx
cmoveq %rbx, %r9
testq %r13, %r13
movq %r13, %r10
cmoveq %rbx, %r10
movl 176(%r12), %r11d
testq %r15, %r15
cmovneq %r15, %rbx
leaq L_.str.236(%rip), %rsi
leaq -80(%rbp), %rcx
movl $6, %edi
movq -96(%rbp), %rdx ## 8-byte Reload
movq %r14, %r8
xorl %eax, %eax
pushq %rbx
pushq %r10
pushq 232(%r12)
pushq %r11
callq _syslog$DARWIN_EXTSN
addq $32, %rsp
jmp LBB4_55
LBB4_52:
movl (%rsi), %edi
callq _inet_ntoa
movq %rax, -88(%rbp) ## 8-byte Spill
LBB4_53:
movq _now(%rip), %rax
movq %rax, -112(%rbp)
leaq -112(%rbp), %rdi
callq _localtime
leaq L_.str.237(%rip), %rdx
leaq -80(%rbp), %rdi
movl $29, %esi
movq %rax, %rcx
callq _strftime
testq %rax, %rax
je LBB4_87
## %bb.54:
movq -104(%rbp), %r9 ## 8-byte Reload
testq %r9, %r9
leaq L_.str.3(%rip), %rbx
cmoveq %rbx, %r9
testq %r13, %r13
movq %r13, %r10
cmoveq %rbx, %r10
movl 176(%r12), %r11d
testq %r15, %r15
cmovneq %r15, %rbx
leaq L_.str.236(%rip), %rsi
leaq -80(%rbp), %rcx
movq -96(%rbp), %rdi ## 8-byte Reload
movq -88(%rbp), %rdx ## 8-byte Reload
movq %r14, %r8
xorl %eax, %eax
pushq %rbx
pushq %r10
pushq 232(%r12)
pushq %r11
callq _fprintf
addq $32, %rsp
movq _logfile(%rip), %rdi
callq _fflush
LBB4_55:
movq %r14, %rdi
callq _free
movq -104(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB4_57
## %bb.56:
callq _free
LBB4_57:
testq %r13, %r13
je LBB4_59
## %bb.58:
movq %r13, %rdi
callq _free
LBB4_59:
testq %r15, %r15
je LBB4_61
## %bb.60:
movq %r15, %rdi
callq _free
LBB4_61:
movl 16(%r12), %edi
cmpl $-1, %edi
je LBB4_63
## %bb.62:
callq _close
cmpl $-1, %eax
je LBB4_88
LBB4_63:
movq 56(%r12), %rdi
testq %rdi, %rdi
je LBB4_65
## %bb.64:
callq _free
LBB4_65:
movq 72(%r12), %rdi
testq %rdi, %rdi
je LBB4_67
## %bb.66:
callq _free
LBB4_67:
movq 80(%r12), %rdi
testq %rdi, %rdi
je LBB4_69
## %bb.68:
callq _free
LBB4_69:
movq 88(%r12), %rdi
testq %rdi, %rdi
je LBB4_71
## %bb.70:
callq _free
LBB4_71:
movq 96(%r12), %rdi
testq %rdi, %rdi
je LBB4_73
## %bb.72:
callq _free
LBB4_73:
movq 104(%r12), %rdi
testq %rdi, %rdi
je LBB4_75
## %bb.74:
callq _free
LBB4_75:
movq 144(%r12), %rdi
testq %rdi, %rdi
je LBB4_78
## %bb.76:
cmpl $0, 168(%r12)
jne LBB4_78
## %bb.77:
callq _free
LBB4_78:
movq 192(%r12), %rdi
testq %rdi, %rdi
je LBB4_81
## %bb.79:
cmpl $0, 200(%r12)
jne LBB4_81
## %bb.80:
callq _free
LBB4_81:
movl 204(%r12), %edi
cmpl $-1, %edi
je LBB4_83
## %bb.82:
callq _close
cmpl $-1, %eax
je LBB4_88
LBB4_83:
movb $0, _accepting(%rip)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB4_89
## %bb.84:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB4_88:
leaq L_.str.234(%rip), %rsi
xorl %eax, %eax
callq _err
LBB4_89:
callq ___stack_chk_fail
LBB4_85:
leaq L_.str.40(%rip), %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _errx
LBB4_87:
leaq L_.str.188(%rip), %rsi
leaq -80(%rbp), %rdx
xorl %eax, %eax
callq _errx
LBB4_86:
leaq L_.str.40(%rip), %rsi
movq -88(%rbp), %rdx ## 8-byte Reload
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function parse_mimetype_line
_parse_mimetype_line: ## @parse_mimetype_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 $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
xorl %r12d, %r12d
leaq LJTI5_0(%rip), %rcx
.p2align 4, 0x90
LBB5_1: ## =>This Inner Loop Header: Depth=1
movl %r12d, %eax
movzbl (%r13,%rax), %edx
cmpq $35, %rdx
ja LBB5_4
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movslq (%rcx,%rdx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
LBB5_3: ## in Loop: Header=BB5_1 Depth=1
incl %r12d
jmp LBB5_1
LBB5_4:
leaq (%rax,%r13), %rcx
movq %rcx, -112(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB5_5: ## =>This Inner Loop Header: Depth=1
incl %r12d
movzbl (%r13,%r12), %ecx
testb %cl, %cl
je LBB5_40
## %bb.6: ## in Loop: Header=BB5_5 Depth=1
cmpb $32, %cl
je LBB5_8
## %bb.7: ## in Loop: Header=BB5_5 Depth=1
cmpb $9, %cl
jne LBB5_5
LBB5_8:
movl %r12d, %ecx
subq %rax, %rcx
movq %rcx, -104(%rbp) ## 8-byte Spill
leaq 1(%rcx), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq _longest_ext(%rip), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq _mime_map_size(%rip), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movabsq $4294967809, %rcx ## imm = 0x100000201
movq %r13, -96(%rbp) ## 8-byte Spill
jmp LBB5_9
.p2align 4, 0x90
LBB5_34: ## in Loop: Header=BB5_9 Depth=1
movq %rax, %r13
movq %rax, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movq %rbx, %rdx
callq _memcpy
movq -56(%rbp), %rax ## 8-byte Reload
movq %r13, 8(%rax,%r15)
movq -120(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp) ## 8-byte Spill
LBB5_35: ## in Loop: Header=BB5_9 Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
callq _free
movq %r14, %rdi
callq _free
movq -96(%rbp), %r13 ## 8-byte Reload
movq -88(%rbp), %rax ## 8-byte Reload
cmpb $0, (%r13,%rax)
movabsq $4294967809, %rcx ## imm = 0x100000201
je LBB5_40
LBB5_36: ## in Loop: Header=BB5_9 Depth=1
incl %r12d
LBB5_9: ## =>This Loop Header: Depth=1
## Child Loop BB5_13 Depth 2
## Child Loop BB5_23 Depth 2
movl %r12d, %r14d
movb (%r13,%r14), %al
cmpb $9, %al
je LBB5_36
## %bb.10: ## in Loop: Header=BB5_9 Depth=1
cmpb $32, %al
je LBB5_36
## %bb.11: ## in Loop: Header=BB5_9 Depth=1
testb %al, %al
je LBB5_40
## %bb.12: ## in Loop: Header=BB5_9 Depth=1
leaq (%r14,%r13), %rdx
movq %rdx, -56(%rbp) ## 8-byte Spill
jmp LBB5_13
.p2align 4, 0x90
LBB5_15: ## in Loop: Header=BB5_13 Depth=2
incl %r12d
movzbl (%r13,%r12), %eax
LBB5_13: ## Parent Loop BB5_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $32, %al
ja LBB5_15
## %bb.14: ## in Loop: Header=BB5_13 Depth=2
movzbl %al, %eax
btq %rax, %rcx
jae LBB5_15
## %bb.16: ## in Loop: Header=BB5_9 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
callq _malloc
testq %rax, %rax
je LBB5_37
## %bb.17: ## in Loop: Header=BB5_9 Depth=1
movl %r12d, %ecx
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %rax, %rdi
movq -112(%rbp), %rsi ## 8-byte Reload
movq -104(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdx
movq %rax, %r15
callq _memcpy
movq %r15, -48(%rbp) ## 8-byte Spill
movb $0, (%r15,%rbx)
movq -88(%rbp), %rbx ## 8-byte Reload
subq %r14, %rbx
leaq 1(%rbx), %r15
movq %r15, %rdi
callq _malloc
testq %rax, %rax
je LBB5_38
## %bb.18: ## in Loop: Header=BB5_9 Depth=1
movq %rax, %r14
movq %rax, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq %rbx, %rdx
callq _memcpy
movb $0, (%r14,%rbx)
movq %r14, %rdi
callq _strlen
cmpq -80(%rbp), %rax ## 8-byte Folded Reload
jbe LBB5_20
## %bb.19: ## in Loop: Header=BB5_9 Depth=1
movq %rax, _longest_ext(%rip)
movq %rax, -80(%rbp) ## 8-byte Spill
LBB5_20: ## in Loop: Header=BB5_9 Depth=1
movq -64(%rbp), %rbx ## 8-byte Reload
testq %rbx, %rbx
je LBB5_21
## %bb.22: ## in Loop: Header=BB5_9 Depth=1
movq _mime_map(%rip), %r13
leaq 8(%r13), %r15
.p2align 4, 0x90
LBB5_23: ## Parent Loop BB5_9 Depth=1
## => This Inner Loop Header: Depth=2
movq -8(%r15), %rdi
movq %r14, %rsi
callq _strcmp
testl %eax, %eax
je LBB5_24
## %bb.26: ## in Loop: Header=BB5_23 Depth=2
addq $16, %r15
decq %rbx
jne LBB5_23
## %bb.27: ## in Loop: Header=BB5_9 Depth=1
movq -64(%rbp), %rbx ## 8-byte Reload
jmp LBB5_28
LBB5_21: ## in Loop: Header=BB5_9 Depth=1
movq _mime_map(%rip), %r13
LBB5_28: ## in Loop: Header=BB5_9 Depth=1
leaq 1(%rbx), %r15
movq %r15, _mime_map_size(%rip)
movq %r15, %rbx
shlq $4, %rbx
movq %r13, %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB5_29
## %bb.31: ## in Loop: Header=BB5_9 Depth=1
movq %r15, -120(%rbp) ## 8-byte Spill
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rax, _mime_map(%rip)
movq %r14, %rdi
callq _strlen
movq %rax, %rbx
incq %rbx
movq %rbx, %rdi
callq _malloc
testq %rax, %rax
je LBB5_32
## %bb.33: ## in Loop: Header=BB5_9 Depth=1
movq %rax, %r13
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq _memcpy
movq -64(%rbp), %r15 ## 8-byte Reload
shlq $4, %r15
movq -56(%rbp), %rax ## 8-byte Reload
movq %r13, (%rax,%r15)
movq -48(%rbp), %rdi ## 8-byte Reload
callq _strlen
movq %rax, %rbx
incq %rbx
movq %rbx, %rdi
callq _malloc
testq %rax, %rax
jne LBB5_34
jmp LBB5_32
LBB5_24: ## in Loop: Header=BB5_9 Depth=1
movq (%r15), %rdi
callq _free
movq -48(%rbp), %rdi ## 8-byte Reload
callq _strlen
movq %rax, %r13
incq %r13
movq %r13, %rdi
callq _malloc
testq %rax, %rax
je LBB5_39
## %bb.25: ## in Loop: Header=BB5_9 Depth=1
movq %rax, %rbx
movq %rax, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movq %r13, %rdx
callq _memcpy
movq %rbx, (%r15)
jmp LBB5_35
LBB5_40:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB5_32:
leaq L_.str.40(%rip), %rsi
jmp LBB5_30
LBB5_37:
leaq L_.str.40(%rip), %rsi
movq -72(%rbp), %rdx ## 8-byte Reload
xorl %eax, %eax
callq _errx
LBB5_38:
leaq L_.str.40(%rip), %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _errx
LBB5_29:
leaq L_.str.43(%rip), %rsi
LBB5_30:
movq %rbx, %rdx
xorl %eax, %eax
callq _errx
LBB5_39:
leaq L_.str.40(%rip), %rsi
movq %r13, %rdx
xorl %eax, %eax
callq _errx
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L5_0_set_40, LBB5_40-LJTI5_0
.set L5_0_set_4, LBB5_4-LJTI5_0
.set L5_0_set_3, LBB5_3-LJTI5_0
LJTI5_0:
.long L5_0_set_40
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_3
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_3
.long L5_0_set_4
.long L5_0_set_4
.long L5_0_set_40
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function errx
_errx: ## @errx
.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 $208, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdx, -208(%rbp)
movq %rcx, -200(%rbp)
movq %r8, -192(%rbp)
movq %r9, -184(%rbp)
testb %al, %al
je LBB6_2
## %bb.1:
movaps %xmm0, -176(%rbp)
movaps %xmm1, -160(%rbp)
movaps %xmm2, -144(%rbp)
movaps %xmm3, -128(%rbp)
movaps %xmm4, -112(%rbp)
movaps %xmm5, -96(%rbp)
movaps %xmm6, -80(%rbp)
movaps %xmm7, -64(%rbp)
LBB6_2:
leaq -224(%rbp), %rax
movq %rax, -32(%rbp)
leaq 16(%rbp), %rax
movq %rax, -40(%rbp)
movabsq $206158430224, %rax ## imm = 0x3000000010
movq %rax, -48(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
leaq L_.str.41(%rip), %rdi
movl $7, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rdi
leaq -48(%rbp), %rdx
movq %r14, %rsi
callq _vfprintf
movq (%rbx), %rsi
movl $10, %edi
callq _fputc
movl $1, %edi
callq _exit
.cfi_endproc
## -- 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
movq %rdi, %rsi
leaq L_.str.89(%rip), %rdi
xorl %eax, %eax
callq _printf
movzwl _bindport(%rip), %esi
leaq L_.str.90(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str.238(%rip), %rdi
callq _puts
leaq L_str.239(%rip), %rdi
callq _puts
leaq L_str.240(%rip), %rdi
callq _puts
leaq L_str.241(%rip), %rdi
callq _puts
leaq L_str.242(%rip), %rdi
callq _puts
leaq L_str.243(%rip), %rdi
callq _puts
movq _index_name(%rip), %rsi
leaq L_.str.97(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str.244(%rip), %rdi
callq _puts
leaq L_str.245(%rip), %rdi
callq _puts
leaq L_.str.100(%rip), %rdi
leaq _octet_stream(%rip), %rsi
xorl %eax, %eax
callq _printf
leaq L_str.246(%rip), %rdi
callq _puts
leaq L_str.247(%rip), %rdi
callq _puts
leaq L_str.248(%rip), %rdi
callq _puts
leaq L_str.249(%rip), %rdi
callq _puts
leaq L_str.250(%rip), %rdi
callq _puts
leaq L_str.251(%rip), %rdi
callq _puts
movl _timeout_secs(%rip), %esi
leaq L_.str.107(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str.252(%rip), %rdi
callq _puts
leaq L_str.253(%rip), %rdi
callq _puts
leaq L_str.254(%rip), %rdi
callq _puts
leaq L_str.255(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function xstr_to_num
_xstr_to_num: ## @xstr_to_num
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
callq ___error
movl $0, (%rax)
leaq -24(%rbp), %rsi
movq %r14, %rdi
movl $10, %edx
callq _strtoll
movq %rax, %rbx
movq -24(%rbp), %rax
cmpb $0, (%rax)
jne LBB8_5
## %bb.1:
movabsq $9223372036854775807, %rax ## imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, %rbx
je LBB8_3
## %bb.2:
movabsq $-9223372036854775808, %rax ## imm = 0x8000000000000000
cmpq %rax, %rbx
jne LBB8_4
LBB8_3:
callq ___error
cmpl $34, (%rax)
je LBB8_5
LBB8_4:
movq %rbx, %rax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB8_5:
leaq L_.str.112(%rip), %rsi
movq %r14, %rdx
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mime_mapping_cmp
_mime_mapping_cmp: ## @mime_mapping_cmp
.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
movq (%rsi), %rsi
popq %rbp
jmp _strcmp ## TAILCALL
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function warn
_warn: ## @warn
.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 $208, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq %rsi, -216(%rbp)
movq %rdx, -208(%rbp)
movq %rcx, -200(%rbp)
movq %r8, -192(%rbp)
movq %r9, -184(%rbp)
testb %al, %al
je LBB10_4
## %bb.3:
movaps %xmm0, -176(%rbp)
movaps %xmm1, -160(%rbp)
movaps %xmm2, -144(%rbp)
movaps %xmm3, -128(%rbp)
movaps %xmm4, -112(%rbp)
movaps %xmm5, -96(%rbp)
movaps %xmm6, -80(%rbp)
movaps %xmm7, -64(%rbp)
LBB10_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
leaq -224(%rbp), %rax
movq %rax, -32(%rbp)
leaq 16(%rbp), %rax
movq %rax, -40(%rbp)
movabsq $206158430216, %rax ## imm = 0x3000000008
movq %rax, -48(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
leaq L_.str.139(%rip), %rdi
movl $9, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rdi
leaq -48(%rbp), %rdx
movq %r14, %rsi
callq _vfprintf
movq (%rbx), %rbx
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.131(%rip), %rsi
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _fprintf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB10_2
## %bb.1:
addq $208, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB10_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function poll_recv_request
_poll_recv_request: ## @poll_recv_request
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $32776, %eax ## imm = 0x8008
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl 16(%rdi), %edi
leaq -32816(%rbp), %rsi
movl $32768, %edx ## imm = 0x8000
xorl %ecx, %ecx
callq _recv
movq %rax, %r13
testq %rax, %rax
jle LBB11_1
## %bb.4:
movq _now(%rip), %rax
movq %rax, 40(%r14)
movq 56(%r14), %rdi
movq 64(%r14), %rax
leaq (%rax,%r13), %r12
incq %r12
movq %r12, %rsi
callq _realloc
testq %rax, %rax
je LBB11_16
## %bb.5:
movq %rax, %r15
movq %rax, 56(%r14)
movq 64(%r14), %rbx
movq %rax, %rdi
addq %rbx, %rdi
leaq -32816(%rbp), %rsi
movq %r13, %rdx
callq _memcpy
addq %r13, %rbx
movq %rbx, 64(%r14)
movb $0, (%r15,%rbx)
addq %r13, _total_in(%rip)
cmpq $3, %rbx
jb LBB11_10
## %bb.6:
movzwl -2(%r15,%rbx), %eax
cmpl $2570, %eax ## imm = 0xA0A
je LBB11_9
## %bb.7:
cmpq $5, %rbx
jb LBB11_10
## %bb.8:
cmpl $168626701, -4(%r15,%rbx) ## imm = 0xA0D0A0D
je LBB11_9
LBB11_10:
cmpq $4001, 64(%r14) ## imm = 0xFA1
jb LBB11_12
LBB11_11:
leaq L_.str.161(%rip), %rdx
leaq L_.str.162(%rip), %rcx
movq %r14, %rdi
movl $413, %esi ## imm = 0x19D
xorl %eax, %eax
callq _default_reply
movl $1, 48(%r14)
jmp LBB11_13
LBB11_1:
cmpq $-1, %r13
jne LBB11_3
## %bb.2:
callq ___error
cmpl $35, (%rax)
je LBB11_14
LBB11_3:
movl $1, 180(%r14)
movl $3, 48(%r14)
jmp LBB11_14
LBB11_9:
movq %r14, %rdi
callq _process_request
cmpq $4001, 64(%r14) ## imm = 0xFA1
jae LBB11_11
LBB11_12:
cmpl $1, 48(%r14)
jne LBB11_14
LBB11_13:
movq %r14, %rdi
callq _poll_send_header
LBB11_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB11_17
## %bb.15:
addq $32776, %rsp ## imm = 0x8008
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB11_17:
callq ___stack_chk_fail
LBB11_16:
leaq L_.str.43(%rip), %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function poll_send_header
_poll_send_header: ## @poll_send_header
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl 16(%rdi), %edi
movq 160(%rbx), %rax
movq 144(%rbx), %rsi
addq %rax, %rsi
movq 152(%rbx), %rdx
subq %rax, %rdx
xorl %ecx, %ecx
callq _send
movq _now(%rip), %rcx
movq %rcx, 40(%rbx)
testq %rax, %rax
jle LBB12_1
## %bb.4:
movq 160(%rbx), %rcx
addq %rax, %rcx
movq %rcx, 160(%rbx)
addq %rax, 232(%rbx)
addq %rax, _total_out(%rip)
cmpq 152(%rbx), %rcx
jne LBB12_7
## %bb.5:
cmpl $0, 172(%rbx)
jne LBB12_6
## %bb.8:
movl $2, 48(%rbx)
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _poll_send_reply ## TAILCALL
LBB12_1:
cmpq $-1, %rax
jne LBB12_3
## %bb.2:
callq ___error
cmpl $35, (%rax)
je LBB12_7
LBB12_3:
movl $1, 180(%rbx)
LBB12_6:
movl $3, 48(%rbx)
LBB12_7:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function poll_send_reply
_poll_send_reply: ## @poll_send_reply
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $32792, %eax ## imm = 0x8018
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 216(%rdi), %rbx
movq 224(%rdi), %rax
subq %rax, %rbx
cmpl $0, 184(%rdi)
je LBB13_1
## %bb.2:
callq ___error
movl $0, (%rax)
movl 16(%r13), %eax
movl %eax, -32820(%rbp) ## 4-byte Spill
movl 204(%r13), %r14d
movq 224(%r13), %r12
addq 208(%r13), %r12
cmpq $32768, %rbx ## imm = 0x8000
movl $32768, %r15d ## imm = 0x8000
cmovbq %rbx, %r15
movl %r14d, %edi
movq %r12, %rsi
xorl %edx, %edx
callq _lseek
cmpq $-1, %rax
je LBB13_19
## %bb.3:
leaq -32816(%rbp), %rsi
movl %r14d, %edi
movq %r15, %rdx
callq _read
cmpq $-1, %rax
je LBB13_6
## %bb.4:
testq %rax, %rax
jne LBB13_7
## %bb.5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.231(%rip), %rsi
movl %r14d, %edx
xorl %eax, %eax
callq _fprintf
movq $-1, %rax
jmp LBB13_11
LBB13_1:
movl 16(%r13), %edi
movq 192(%r13), %rsi
addq 208(%r13), %rsi
addq %rax, %rsi
movq %rbx, %rdx
jmp LBB13_10
LBB13_6:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rbx
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.232(%rip), %rsi
movq %rbx, %rdi
movl %r14d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq _fprintf
movq $-1, %rax
jmp LBB13_11
LBB13_7:
cmpq %r15, %rax
jne LBB13_8
## %bb.9:
leaq -32816(%rbp), %rsi
movl -32820(%rbp), %edi ## 4-byte Reload
movq %r15, %rdx
LBB13_10:
xorl %ecx, %ecx
callq _send
LBB13_11:
movq _now(%rip), %rcx
movq %rcx, 40(%r13)
testq %rax, %rax
jle LBB13_12
## %bb.15:
movdqu 224(%r13), %xmm0
movq %rax, %xmm1
pshufd $68, %xmm1, %xmm1 ## xmm1 = xmm1[0,1,0,1]
paddq %xmm0, %xmm1
movdqu %xmm1, 224(%r13)
addq %rax, _total_out(%rip)
movq %xmm1, %rax
cmpq 216(%r13), %rax
je LBB13_16
jmp LBB13_17
LBB13_12:
cmpq $-1, %rax
jne LBB13_14
## %bb.13:
callq ___error
cmpl $35, (%rax)
je LBB13_17
LBB13_14:
movl $1, 180(%r13)
LBB13_16:
movl $3, 48(%r13)
LBB13_17:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB13_20
## %bb.18:
addq $32792, %rsp ## imm = 0x8018
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB13_8:
movq ___stderrp@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
leaq L_.str.233(%rip), %rsi
movq %rax, %rdx
movq %r15, %rcx
movl %r14d, %r8d
xorl %eax, %eax
callq _fprintf
movq $-1, %rax
jmp LBB13_11
LBB13_20:
callq ___stack_chk_fail
LBB13_19:
leaq L_.str.230(%rip), %rsi
movl %r12d, %edx
xorl %eax, %eax
callq _err
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function process_request
_process_request: ## @process_request
.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
incq _num_requests(%rip)
movq 56(%rdi), %r15
movq %rdi, -48(%rbp) ## 8-byte Spill
movq 64(%rdi), %r13
xorl %r14d, %r14d
testq %r13, %r13
je LBB14_4
.p2align 4, 0x90
LBB14_1: ## =>This Inner Loop Header: Depth=1
cmpb $32, (%r15,%r14)
je LBB14_4
## %bb.2: ## in Loop: Header=BB14_1 Depth=1
incq %r14
cmpq %r14, %r13
jne LBB14_1
## %bb.3:
movq %r13, %r14
LBB14_4:
leaq 1(%r14), %rbx
movq %rbx, %rdi
callq _malloc
testq %rax, %rax
je LBB14_86
## %bb.5:
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq _memcpy
movb $0, (%r12,%r14)
movq -48(%rbp), %r15 ## 8-byte Reload
movq %r12, 72(%r15)
testq %r14, %r14
je LBB14_9
## %bb.6:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB14_7: ## =>This Inner Loop Header: Depth=1
movsbl (%r12,%rbx), %edi
callq ___toupper
movb %al, (%r12,%rbx)
incq %rbx
cmpq %rbx, %r14
jne LBB14_7
## %bb.8:
movq 64(%r15), %r13
LBB14_9:
cmpq %r13, %r14
jae LBB14_14
## %bb.10:
movq 56(%r15), %rax
.p2align 4, 0x90
LBB14_11: ## =>This Inner Loop Header: Depth=1
cmpb $32, (%rax,%r14)
jne LBB14_14
## %bb.12: ## in Loop: Header=BB14_11 Depth=1
incq %r14
cmpq %r14, %r13
jne LBB14_11
jmp LBB14_13
LBB14_14:
cmpq %r13, %r14
jne LBB14_15
LBB14_13:
leaq L_.str.163(%rip), %rdx
leaq L_.str.164(%rip), %rcx
movq %r15, %rdi
movl $400, %esi ## imm = 0x190
LBB14_84:
xorl %eax, %eax
callq _default_reply
LBB14_85:
movl $1, 48(%r15)
movq 56(%r15), %rdi
callq _free
movq $0, 56(%r15)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB14_15:
leaq 1(%r14), %rax
cmpq %rax, %r13
cmovaq %r13, %rax
movq 56(%r15), %r15
movabsq $4294976512, %rcx ## imm = 0x100002400
movq %r14, %rdx
.p2align 4, 0x90
LBB14_16: ## =>This Inner Loop Header: Depth=1
leaq 1(%rdx), %r12
cmpq %r13, %r12
jae LBB14_17
## %bb.18: ## in Loop: Header=BB14_16 Depth=1
movzbl 1(%r15,%rdx), %esi
movq %r12, %rdx
cmpq $32, %rsi
ja LBB14_16
## %bb.19: ## in Loop: Header=BB14_16 Depth=1
btq %rsi, %rcx
movq %r12, %rdx
jae LBB14_16
jmp LBB14_20
LBB14_17:
movq %rax, %r12
LBB14_20:
movq %r12, %rbx
subq %r14, %rbx
leaq 1(%rbx), %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _malloc
testq %rax, %rax
je LBB14_87
## %bb.21:
addq %r15, %r14
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movq %rax, %r14
callq _memcpy
movb $0, (%r14,%rbx)
movq -48(%rbp), %rax ## 8-byte Reload
movq %r14, 80(%rax)
cmpb $32, (%r15,%r12)
jne LBB14_37
## %bb.22:
cmpq %r13, %r12
jae LBB14_23
## %bb.24:
leaq -1(%r13), %rax
.p2align 4, 0x90
LBB14_25: ## =>This Inner Loop Header: Depth=1
cmpq %r12, %rax
je LBB14_26
## %bb.27: ## in Loop: Header=BB14_25 Depth=1
leaq 1(%r12), %r14
cmpb $32, 1(%r15,%r12)
movq %r14, %r12
je LBB14_25
jmp LBB14_28
LBB14_23:
movq %r12, %r14
jmp LBB14_28
LBB14_26:
movq %r13, %r14
LBB14_28:
leaq 1(%r14), %rax
cmpq %rax, %r13
cmovaq %r13, %rax
movq %r14, %rcx
.p2align 4, 0x90
LBB14_29: ## =>This Inner Loop Header: Depth=1
leaq 1(%rcx), %rbx
cmpq %r13, %rbx
jae LBB14_30
## %bb.31: ## in Loop: Header=BB14_29 Depth=1
movzbl 1(%r15,%rcx), %edx
cmpb $32, %dl
je LBB14_33
## %bb.32: ## in Loop: Header=BB14_29 Depth=1
movq %rbx, %rcx
cmpb $13, %dl
jne LBB14_29
jmp LBB14_33
LBB14_30:
movq %rax, %rbx
LBB14_33:
subq %r14, %rbx
leaq 1(%rbx), %r13
movq %r13, %rdi
callq _malloc
testq %rax, %rax
je LBB14_88
## %bb.34:
movq %rax, %r12
addq %r14, %r15
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq _memcpy
movb $0, (%r12,%rbx)
leaq L_.str.171(%rip), %rsi
movq %r12, %rdi
callq _strcasecmp
testl %eax, %eax
jne LBB14_36
## %bb.35:
movq -48(%rbp), %rax ## 8-byte Reload
movl $0, 180(%rax)
LBB14_36:
movq %r12, %rdi
callq _free
LBB14_37:
leaq L_.str.172(%rip), %rsi
movq -48(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _parse_field
testq %rax, %rax
je LBB14_44
## %bb.38:
movq %rax, %r14
leaq L_.str.173(%rip), %rsi
movq %rax, %rdi
callq _strcasecmp
testl %eax, %eax
je LBB14_39
## %bb.40:
leaq L_.str.174(%rip), %rsi
movq %r14, %rdi
callq _strcasecmp
testl %eax, %eax
jne LBB14_43
## %bb.41:
xorl %eax, %eax
jmp LBB14_42
LBB14_39:
movl $1, %eax
LBB14_42:
movl %eax, 180(%rbx)
LBB14_43:
movq %r14, %rdi
callq _free
LBB14_44:
cmpb $1, _want_keepalive(%rip)
jne LBB14_46
## %bb.45:
movl $1, 180(%rbx)
LBB14_46:
leaq L_.str.175(%rip), %rsi
movq %rbx, %rdi
callq _parse_field
movq %rax, 88(%rbx)
leaq L_.str.176(%rip), %rsi
movq %rbx, %rdi
callq _parse_field
movq %rax, 96(%rbx)
leaq L_.str.177(%rip), %rsi
movq %rbx, %rdi
callq _parse_field
movq %rax, 104(%rbx)
leaq L_.str.178(%rip), %rsi
movq %rbx, %rdi
callq _parse_field
testq %rax, %rax
je LBB14_64
## %bb.47:
movq %rax, %r15
movq %rax, %rdi
callq _strlen
movq %rax, %r14
xorl %ebx, %ebx
testq %rax, %rax
je LBB14_48
.p2align 4, 0x90
LBB14_57: ## =>This Inner Loop Header: Depth=1
movsbl (%r15,%rbx), %eax
addl $-48, %eax
cmpl $9, %eax
ja LBB14_48
## %bb.58: ## in Loop: Header=BB14_57 Depth=1
incq %rbx
cmpq %rbx, %r14
jne LBB14_57
jmp LBB14_63
LBB14_48:
cmpq %r14, %rbx
je LBB14_63
## %bb.49:
cmpb $45, (%r15,%rbx)
jne LBB14_63
## %bb.50:
testq %rbx, %rbx
je LBB14_52
## %bb.51:
movq -48(%rbp), %r12 ## 8-byte Reload
movq $1, 128(%r12)
movq %r15, %rdi
xorl %esi, %esi
movl $10, %edx
callq _strtoll
movq %rax, 112(%r12)
LBB14_52:
incq %rbx
movq %rbx, %rax
cmpq %r14, %rbx
jae LBB14_59
## %bb.53:
movq %rbx, %rax
.p2align 4, 0x90
LBB14_54: ## =>This Inner Loop Header: Depth=1
movsbl (%r15,%rax), %ecx
addl $-48, %ecx
cmpl $9, %ecx
ja LBB14_59
## %bb.55: ## in Loop: Header=BB14_54 Depth=1
incq %rax
cmpq %rax, %r14
jne LBB14_54
jmp LBB14_56
LBB14_59:
cmpq %r14, %rax
jne LBB14_60
LBB14_56:
cmpq %r14, %rbx
jne LBB14_62
jmp LBB14_63
LBB14_60:
cmpb $44, (%r15,%rax)
jne LBB14_63
## %bb.61:
cmpq %rax, %rbx
je LBB14_63
LBB14_62:
movq -48(%rbp), %r14 ## 8-byte Reload
movq $1, 136(%r14)
movq %r15, %rdi
addq %rbx, %rdi
xorl %esi, %esi
movl $10, %edx
callq _strtoll
movq %rax, 120(%r14)
LBB14_63:
movq %r15, %rdi
callq _free
LBB14_64:
cmpb $1, _forward_to_https(%rip)
movq -48(%rbp), %r15 ## 8-byte Reload
jne LBB14_68
## %bb.65:
leaq L_.str.179(%rip), %rsi
movq %r15, %rdi
callq _parse_field
movq %rax, %rbx
testq %rax, %rax
je LBB14_67
## %bb.66:
leaq L_.str.180(%rip), %rsi
movq %rbx, %rdi
callq _strcasecmp
testl %eax, %eax
je LBB14_67
## %bb.72:
movq %rbx, %rdi
callq _free
movq 80(%r15), %rdi
callq _urldecode
movq %r15, %r14
movq %rax, %r15
movq %rax, %rdi
callq _make_safe_url
testq %rax, %rax
je LBB14_73
## %bb.75:
leaq L_.str.182(%rip), %rsi
movq %r14, %rdi
callq _parse_field
testq %rax, %rax
je LBB14_76
## %bb.77:
movq %rax, %rbx
leaq L_.str.184(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq _redirect
movq %rbx, %rdi
callq _free
jmp LBB14_78
LBB14_67:
movq %rbx, %rdi
callq _free
LBB14_68:
movq _auth_key(%rip), %rsi
testq %rsi, %rsi
je LBB14_79
## %bb.69:
movq 104(%r15), %rdi
testq %rdi, %rdi
je LBB14_71
## %bb.70:
callq _strcmp
testl %eax, %eax
je LBB14_79
LBB14_71:
leaq L_.str.165(%rip), %rdx
leaq L_.str.166(%rip), %rcx
movq %r15, %rdi
movl $401, %esi ## imm = 0x191
jmp LBB14_84
LBB14_79:
movq 72(%r15), %rbx
leaq L_.str.167(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB14_80
## %bb.81:
leaq L_.str.168(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB14_82
## %bb.83:
leaq L_.str.169(%rip), %rdx
leaq L_.str.170(%rip), %rcx
movq %r15, %rdi
movl $501, %esi ## imm = 0x1F5
jmp LBB14_84
LBB14_80:
movq %r15, %rdi
callq _process_get
jmp LBB14_85
LBB14_82:
movq %r15, %rdi
callq _process_get
movl $1, 172(%r15)
jmp LBB14_85
LBB14_73:
leaq L_.str.163(%rip), %rdx
leaq L_.str.181(%rip), %rcx
jmp LBB14_74
LBB14_76:
leaq L_.str.163(%rip), %rdx
leaq L_.str.183(%rip), %rcx
LBB14_74:
movq %r14, %rdi
movl $400, %esi ## imm = 0x190
xorl %eax, %eax
callq _default_reply
LBB14_78:
movq %r15, %rdi
callq _free
movq -48(%rbp), %r15 ## 8-byte Reload
jmp LBB14_85
LBB14_86:
leaq L_.str.40(%rip), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _errx
LBB14_87:
leaq L_.str.40(%rip), %rsi
movq -56(%rbp), %rdx ## 8-byte Reload
xorl %eax, %eax
callq _errx
LBB14_88:
leaq L_.str.40(%rip), %rsi
movq %r13, %rdx
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function default_reply
_default_reply: ## @default_reply
.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 $328, %rsp ## imm = 0x148
.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, -180(%rbp) ## 4-byte Spill
movq %rdi, %r15
movq %r8, -336(%rbp)
movq %r9, -328(%rbp)
testb %al, %al
je LBB15_14
## %bb.13:
movaps %xmm0, -320(%rbp)
movaps %xmm1, -304(%rbp)
movaps %xmm2, -288(%rbp)
movaps %xmm3, -272(%rbp)
movaps %xmm4, -256(%rbp)
movaps %xmm5, -240(%rbp)
movaps %xmm6, -224(%rbp)
movaps %xmm7, -208(%rbp)
LBB15_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -368(%rbp), %rax
movq %rax, -96(%rbp)
leaq 16(%rbp), %rax
movq %rax, -104(%rbp)
movabsq $206158430240, %rax ## imm = 0x3000000020
movq %rax, -112(%rbp)
leaq -192(%rbp), %rdi
leaq -112(%rbp), %rdx
movq %rcx, %rsi
callq _vasprintf
cmpl $-1, %eax
je LBB15_10
## %bb.1:
movq _now(%rip), %rax
movq %rax, -176(%rbp)
leaq -176(%rbp), %r12
movq %r12, %rdi
callq _gmtime
leaq L_.str.187(%rip), %rdx
leaq -80(%rbp), %rdi
movl $30, %esi
movq %rax, %rcx
callq _strftime
testq %rax, %rax
je LBB15_11
## %bb.2:
movq -192(%rbp), %r13
cmpb $0, _want_server_id(%rip)
je LBB15_4
## %bb.3:
leaq L_.str.3(%rip), %r14
jmp LBB15_5
LBB15_4:
leaq __generated_on_buf(%rip), %r14
leaq L_.str.189(%rip), %rdx
leaq _pkgname(%rip), %rcx
leaq -80(%rbp), %r8
movl $72, %esi
movq %r14, %rdi
xorl %eax, %eax
callq _snprintf
LBB15_5:
leaq 192(%r15), %rdi
subq $8, %rsp
leaq L_.str.228(%rip), %rsi
movl -180(%rbp), %edx ## 4-byte Reload
movq %rbx, %rcx
movq %rbx, %r8
movq %r13, %r9
xorl %eax, %eax
pushq %r14
callq _xasprintf
addq $16, %rsp
movl %eax, %eax
movq %rax, 216(%r15)
movq -192(%rbp), %rdi
callq _free
movaps L___const.default_reply.auth_header+32(%rip), %xmm0
movaps %xmm0, -144(%rbp)
movaps L___const.default_reply.auth_header+16(%rip), %xmm0
movaps %xmm0, -160(%rbp)
movaps L___const.default_reply.auth_header(%rip), %xmm0
movaps %xmm0, -176(%rbp)
movabsq $2829191282975077, %rax ## imm = 0xA0D226D6C6165
movq %rax, -131(%rbp)
leaq 144(%r15), %rdi
movq _server_hdr(%rip), %r9
cmpl $0, 180(%r15)
jne LBB15_6
## %bb.7:
movq %rbx, %rcx
movq _keep_alive_field(%rip), %r10
jmp LBB15_8
LBB15_6:
movq %rbx, %rcx
leaq L_.str.190(%rip), %r10
LBB15_8:
cmpq $0, _auth_key(%rip)
leaq L_.str.3(%rip), %rax
cmoveq %rax, %r12
subq $8, %rsp
leaq L_.str.229(%rip), %rsi
leaq -80(%rbp), %r8
movl -180(%rbp), %ebx ## 4-byte Reload
movl %ebx, %edx
xorl %eax, %eax
pushq %r12
pushq 216(%r15)
pushq %r10
callq _xasprintf
addq $32, %rsp
movl %eax, %eax
movq %rax, 152(%r15)
movl $0, 184(%r15)
movl %ebx, 176(%r15)
movq $0, 208(%r15)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB15_12
## %bb.9:
addq $328, %rsp ## imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB15_10:
leaq L_.str.119(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB15_11:
leaq L_.str.188(%rip), %rsi
leaq -80(%rbp), %rdx
xorl %eax, %eax
callq _errx
LBB15_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function process_get
LCPI16_0:
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 16 ## 0x10
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_process_get: ## @process_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $904, %rsp ## imm = 0x388
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 80(%rdi), %rbx
movq %rbx, %rdi
movl $63, %esi
callq _strchr
testq %rax, %rax
je LBB16_2
## %bb.1:
movb $0, (%rax)
movq 80(%r14), %rbx
LBB16_2:
movq %rbx, %rdi
callq _urldecode
movq %rax, %r15
movq %rax, %rdi
callq _make_safe_url
testq %rax, %rax
je LBB16_9
## %bb.3:
cmpq $0, _forward_map(%rip)
je LBB16_10
## %bb.4:
movq %r15, -904(%rbp) ## 8-byte Spill
leaq L_.str.182(%rip), %rsi
movq %r14, %r15
movq %r14, %rdi
callq _parse_field
testq %rax, %rax
je LBB16_11
## %bb.5:
movq %rax, %r14
movq _forward_map_size(%rip), %r13
testq %r13, %r13
je LBB16_12
## %bb.6:
movq _forward_map(%rip), %rbx
addq $8, %rbx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB16_7: ## =>This Inner Loop Header: Depth=1
movq -8(%rbx), %rdi
movq %r14, %rsi
callq _strcasecmp
testl %eax, %eax
je LBB16_13
## %bb.8: ## in Loop: Header=BB16_7 Depth=1
addq $16, %rbx
decq %r13
jne LBB16_7
jmp LBB16_14
LBB16_9:
leaq L_.str.163(%rip), %rdx
leaq L_.str.181(%rip), %rcx
movq %r14, %rdi
movl $400, %esi ## imm = 0x190
xorl %eax, %eax
callq _default_reply
jmp LBB16_19
LBB16_10:
xorl %r12d, %r12d
testq %r12, %r12
je LBB16_16
jmp LBB16_17
LBB16_11:
xorl %r12d, %r12d
jmp LBB16_15
LBB16_12:
xorl %r12d, %r12d
jmp LBB16_14
LBB16_13:
movq (%rbx), %r12
LBB16_14:
movq %r14, %rdi
callq _free
LBB16_15:
movq %r15, %r14
movq -904(%rbp), %r15 ## 8-byte Reload
testq %r12, %r12
jne LBB16_17
LBB16_16:
movq _forward_all_url(%rip), %r12
LBB16_17:
testq %r12, %r12
je LBB16_21
## %bb.18:
leaq L_.str.191(%rip), %rsi
movq %r14, %rdi
movq %r12, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq _redirect
LBB16_19:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB16_189
## %bb.20:
movq %r15, %rdi
addq $904, %rsp ## imm = 0x388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _free ## TAILCALL
LBB16_21:
movq %r15, %rdi
callq _strlen
cmpb $47, -1(%rax,%r15)
movq _wwwroot(%rip), %rdx
jne LBB16_26
## %bb.22:
movq _index_name(%rip), %r8
leaq L_.str.192(%rip), %rsi
leaq -896(%rbp), %rdi
movq %r15, %rcx
xorl %eax, %eax
callq _xasprintf
movq -896(%rbp), %rdi
leaq -816(%rbp), %rsi
callq _stat$INODE64
cmpl $-1, %eax
jne LBB16_30
## %bb.23:
callq ___error
cmpl $2, (%rax)
jne LBB16_30
## %bb.24:
movq -896(%rbp), %rdi
callq _free
cmpb $1, _no_listing(%rip)
jne LBB16_68
## %bb.25:
movq %r15, %rdi
callq _free
leaq L_.str.193(%rip), %rdx
leaq L_.str.194(%rip), %rcx
movq %r14, %rdi
jmp LBB16_54
LBB16_26:
movq %r14, %r13
leaq L_.str.191(%rip), %rsi
xorl %r14d, %r14d
leaq -896(%rbp), %rdi
movq %r15, %rcx
xorl %eax, %eax
callq _xasprintf
movq %r15, %rdi
callq _strlen
movslq _longest_ext(%rip), %rdx
movl %eax, %ecx
leaq (%rcx,%r15), %rsi
decq %rsi
xorl %edi, %edi
.p2align 4, 0x90
LBB16_27: ## =>This Inner Loop Header: Depth=1
movq %rdi, %rcx
addl %eax, %edi
cmpl $2, %edi
jl LBB16_34
## %bb.28: ## in Loop: Header=BB16_27 Depth=1
cmpb $46, (%rsi,%rcx)
je LBB16_35
## %bb.29: ## in Loop: Header=BB16_27 Depth=1
leaq -1(%rcx), %rdi
leaq 1(%r14), %rbx
cmpq %rdx, %r14
movq %rbx, %r14
jle LBB16_27
jmp LBB16_35
LBB16_30:
movq _index_name(%rip), %r12
movq %r12, %rdi
callq _strlen
movslq _longest_ext(%rip), %r8
movl %eax, %ecx
leaq (%rcx,%r12), %rsi
decq %rsi
xorl %edi, %edi
xorl %ecx, %ecx
.p2align 4, 0x90
LBB16_31: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rbx
addl %eax, %ecx
cmpl $2, %ecx
jl LBB16_37
## %bb.32: ## in Loop: Header=BB16_31 Depth=1
cmpb $46, (%rsi,%rbx)
je LBB16_38
## %bb.33: ## in Loop: Header=BB16_31 Depth=1
leaq -1(%rbx), %rcx
leaq 1(%rdi), %rdx
cmpq %r8, %rdi
movq %rdx, %rdi
jle LBB16_31
jmp LBB16_38
LBB16_34:
movl $1, %edx
subl %eax, %edx
cmpl %ecx, %edx
jne LBB16_43
LBB16_35:
leal -1(%rax), %edx
addq %r15, %rdx
leaq _default_mimetype(%rip), %r14
cmpb $46, (%rcx,%rdx)
jne LBB16_44
## %bb.36:
decl %eax
movq %r15, %rdx
addq %rax, %rdx
leaq (%rcx,%rdx), %rdi
incq %rdi
jmp LBB16_40
LBB16_37:
movl $1, %ecx
subl %eax, %ecx
cmpl %ebx, %ecx
jne LBB16_42
LBB16_38:
movq %r14, %r13
leal -1(%rax), %ecx
addq %r12, %rcx
leaq _default_mimetype(%rip), %r14
cmpb $46, (%rbx,%rcx)
jne LBB16_44
## %bb.39:
decl %eax
addq %rax, %r12
leaq (%rbx,%r12), %rdi
incq %rdi
LBB16_40:
movq _mime_map(%rip), %rsi
movq _mime_map_size(%rip), %rdx
leaq _mime_mapping_cmp_str(%rip), %r8
movl $16, %ecx
callq _bsearch
testq %rax, %rax
je LBB16_44
## %bb.41:
addq $8, %rax
movq %rax, %r14
jmp LBB16_44
LBB16_42:
movq %r14, %r13
LBB16_43:
leaq _default_mimetype(%rip), %r14
LBB16_44:
movq (%r14), %r14
movq %r15, %rdi
callq _free
movq -896(%rbp), %rdi
movl $4, %esi
xorl %eax, %eax
callq _open
movq %r13, %rbx
movl %eax, 204(%r13)
movq -896(%rbp), %rdi
callq _free
movl 204(%r13), %edi
cmpl $-1, %edi
je LBB16_49
## %bb.45:
leaq -816(%rbp), %rsi
callq _fstat$INODE64
cmpl $-1, %eax
je LBB16_51
## %bb.46:
movzwl -812(%rbp), %eax
andl $61440, %eax ## imm = 0xF000
cmpl $32768, %eax ## imm = 0x8000
je LBB16_55
## %bb.47:
movzwl %ax, %eax
cmpl $16384, %eax ## imm = 0x4000
jne LBB16_61
## %bb.48:
movq 80(%rbx), %rdx
leaq L_.str.200(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _redirect
jmp LBB16_66
LBB16_49:
callq ___error
cmpl $13, (%rax)
jne LBB16_52
## %bb.50:
leaq L_.str.195(%rip), %rdx
leaq L_.str.196(%rip), %rcx
jmp LBB16_62
LBB16_51:
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.197(%rip), %rdx
leaq L_.str.199(%rip), %rcx
jmp LBB16_65
LBB16_52:
callq ___error
cmpl $2, (%rax)
jne LBB16_64
## %bb.53:
leaq L_.str.193(%rip), %rdx
leaq L_.str.194(%rip), %rcx
movq %rbx, %rdi
LBB16_54:
movl $404, %esi ## imm = 0x194
jmp LBB16_63
LBB16_55:
movl $1, 184(%rbx)
movq -768(%rbp), %rax
movq %rax, -848(%rbp)
leaq -848(%rbp), %rdi
callq _gmtime
leaq L_.str.187(%rip), %rdx
leaq -880(%rbp), %r15
movl $30, %esi
movq %r15, %rdi
movq %rax, %rcx
callq _strftime
testq %rax, %rax
je LBB16_194
## %bb.56:
leaq L_.str.202(%rip), %rsi
movq %rbx, %rdi
callq _parse_field
movq %rax, %r12
testq %rax, %rax
je LBB16_58
## %bb.57:
leaq -880(%rbp), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
je LBB16_87
LBB16_58:
movq %r12, %rdi
callq _free
cmpq $0, 128(%rbx)
movq 136(%rbx), %rcx
je LBB16_85
## %bb.59:
movq 112(%rbx), %r13
testq %rcx, %rcx
je LBB16_89
## %bb.60:
movq %rbx, %rdi
movq 120(%rbx), %rcx
movq -720(%rbp), %rax
leaq -1(%rax), %r12
cmpq %rax, %rcx
cmovlq %rcx, %r12
jmp LBB16_90
LBB16_61:
leaq L_.str.195(%rip), %rdx
leaq L_.str.201(%rip), %rcx
LBB16_62:
movq %rbx, %rdi
movl $403, %esi ## imm = 0x193
LBB16_63:
xorl %eax, %eax
callq _default_reply
jmp LBB16_66
LBB16_64:
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.197(%rip), %rdx
leaq L_.str.198(%rip), %rcx
LBB16_65:
movq %rbx, %rdi
movl $500, %esi ## imm = 0x1F4
movq %rax, %r8
xorl %eax, %eax
callq _default_reply
LBB16_66:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB16_189
## %bb.67:
addq $904, %rsp ## imm = 0x388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB16_68:
movq _wwwroot(%rip), %rdx
leaq L_.str.191(%rip), %rsi
leaq -896(%rbp), %rdi
movq %r15, %rcx
xorl %eax, %eax
callq _xasprintf
movq -896(%rbp), %r12
movq %r12, %rdi
callq _opendir$INODE64
testq %rax, %rax
je LBB16_110
## %bb.69:
movq %rax, %rbx
movq %r12, -928(%rbp) ## 8-byte Spill
movq %r12, %rdi
callq _strlen
movq %rax, %r12
addq $256, %r12 ## imm = 0x100
movq %r12, %rdi
callq _malloc
movq %rax, -936(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB16_195
## %bb.70:
movq %r14, -944(%rbp) ## 8-byte Spill
movl $1024, %edi ## imm = 0x400
callq _malloc
movq %rax, -888(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB16_196
## %bb.71:
movq %rbx, %rdi
callq _readdir$INODE64
testq %rax, %rax
movq %r15, -904(%rbp) ## 8-byte Spill
je LBB16_100
## %bb.72:
movq %rax, %r14
movl $128, %eax
movq %rax, -920(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movq %rbx, -912(%rbp) ## 8-byte Spill
jmp LBB16_76
LBB16_73: ## in Loop: Header=BB16_76 Depth=1
movq %r13, %r12
LBB16_74: ## in Loop: Header=BB16_76 Depth=1
movq -912(%rbp), %rbx ## 8-byte Reload
LBB16_75: ## in Loop: Header=BB16_76 Depth=1
movq %rbx, %rdi
callq _readdir$INODE64
movq %rax, %r14
testq %rax, %rax
je LBB16_101
LBB16_76: ## =>This Inner Loop Header: Depth=1
cmpb $46, 21(%r14)
jne LBB16_78
## %bb.77: ## in Loop: Header=BB16_76 Depth=1
cmpb $0, 22(%r14)
je LBB16_75
LBB16_78: ## in Loop: Header=BB16_76 Depth=1
movq %r12, %r13
addq $21, %r14
movq -936(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
leaq L_.str.191(%rip), %rsi
movq -928(%rbp), %rdx ## 8-byte Reload
movq %r14, %rcx
xorl %eax, %eax
callq _sprintf
movq %r12, %rdi
leaq -816(%rbp), %rsi
callq _stat$INODE64
cmpl $-1, %eax
je LBB16_73
## %bb.79: ## in Loop: Header=BB16_76 Depth=1
movq %r13, %r15
movq -920(%rbp), %r12 ## 8-byte Reload
cmpq %r12, %r13
jne LBB16_82
## %bb.80: ## in Loop: Header=BB16_76 Depth=1
movq %r12, %rbx
shlq $4, %rbx
movq -888(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
callq _realloc
movq %rax, -888(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB16_190
## %bb.81: ## in Loop: Header=BB16_76 Depth=1
addq %r12, %r12
LBB16_82: ## in Loop: Header=BB16_76 Depth=1
movq %r12, -920(%rbp) ## 8-byte Spill
movl $24, %edi
callq _malloc
testq %rax, %rax
je LBB16_191
## %bb.83: ## in Loop: Header=BB16_76 Depth=1
movq -888(%rbp), %r13 ## 8-byte Reload
movq %rax, (%r13,%r15,8)
movq %r14, %rdi
callq _strlen
movq %rax, %rbx
incq %rbx
movq %rbx, %rdi
callq _malloc
testq %rax, %rax
je LBB16_192
## %bb.84: ## in Loop: Header=BB16_76 Depth=1
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq _memcpy
movq (%r13,%r15,8), %rax
movq %r12, (%rax)
movzwl -812(%rbp), %eax
andl $61440, %eax ## imm = 0xF000
xorl %ecx, %ecx
cmpl $16384, %eax ## imm = 0x4000
sete %cl
movq (%r13,%r15,8), %rax
movl %ecx, 8(%rax)
movq -720(%rbp), %rcx
movq %rcx, 16(%rax)
incq %r15
movq %r15, %r12
movq -904(%rbp), %r15 ## 8-byte Reload
jmp LBB16_74
LBB16_85:
movq -720(%rbp), %rax
testq %rcx, %rcx
je LBB16_98
## %bb.86:
leaq -1(%rax), %r12
movq %r12, %rcx
movq %rbx, %rdi
subq 120(%rbx), %rcx
movq $-1, %r13
cmovnsq %rcx, %r13
incq %r13
jmp LBB16_90
LBB16_87:
movl $304, 176(%rbx) ## imm = 0x130
leaq 144(%rbx), %r14
movq _now(%rip), %rsi
leaq -848(%rbp), %r15
movq %r15, %rdi
callq _rfc1123_date
movq _server_hdr(%rip), %rcx
movq %rbx, %r13
cmpl $0, 180(%rbx)
jne LBB16_96
## %bb.88:
movq _keep_alive_field(%rip), %r8
jmp LBB16_97
LBB16_89:
movq %rbx, %rdi
movq -720(%rbp), %rax
leaq -1(%rax), %r12
LBB16_90:
cmpq %rax, %r13
jge LBB16_93
## %bb.91:
movq %r12, %rax
subq %r13, %rax
jge LBB16_94
## %bb.92:
leaq L_.str.205(%rip), %rdx
leaq L_.str.207(%rip), %rcx
movl $416, %esi ## imm = 0x1A0
jmp LBB16_63
LBB16_93:
leaq L_.str.205(%rip), %rdx
leaq L_.str.206(%rip), %rcx
movl $416, %esi ## imm = 0x1A0
jmp LBB16_63
LBB16_94:
movq %rdi, %r15
movq %r13, 208(%rdi)
incq %rax
movq %rax, 216(%rdi)
leaq 144(%rdi), %rbx
movq _now(%rip), %rsi
leaq -848(%rbp), %rdi
callq _rfc1123_date
movq _server_hdr(%rip), %rcx
movq %r15, %rax
cmpl $0, 180(%r15)
jne LBB16_111
## %bb.95:
movq _keep_alive_field(%rip), %r8
jmp LBB16_112
LBB16_96:
leaq L_.str.190(%rip), %r8
LBB16_97:
leaq L_.str.203(%rip), %rsi
movq %r14, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq _xasprintf
movl %eax, %eax
movq %rax, 152(%r13)
movq $0, 216(%r13)
movl $0, 184(%r13)
movl $1, 172(%r13)
movq %r12, %rdi
callq _free
jmp LBB16_66
LBB16_98:
movq %rax, 216(%rbx)
leaq 144(%rbx), %rax
movq %rax, -904(%rbp) ## 8-byte Spill
movq _now(%rip), %rsi
leaq -848(%rbp), %rdi
callq _rfc1123_date
movq _server_hdr(%rip), %rax
movq %rax, -888(%rbp) ## 8-byte Spill
movq %rbx, %rax
cmpl $0, 180(%rbx)
jne LBB16_187
## %bb.99:
movq _keep_alive_field(%rip), %r13
jmp LBB16_188
LBB16_100:
xorl %r12d, %r12d
LBB16_101:
movq %rbx, %rdi
callq _closedir
movq -936(%rbp), %rdi ## 8-byte Reload
callq _free
leaq _dlent_cmp(%rip), %rcx
movl $8, %edx
movq -888(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
movq %r12, %rsi
callq _qsort
cmpq $-1, %r12
movq -944(%rbp), %r14 ## 8-byte Reload
je LBB16_110
## %bb.102:
movl $2, %r14d
testq %r12, %r12
jle LBB16_105
## %bb.103:
xorl %ebx, %ebx
LBB16_104: ## =>This Inner Loop Header: Depth=1
movq (%r13,%rbx,8), %rax
movq (%rax), %rdi
callq _strlen
cmpq %rax, %r14
cmovbeq %rax, %r14
incq %rbx
cmpq %rbx, %r12
jne LBB16_104
LBB16_105:
movq %r14, -928(%rbp) ## 8-byte Spill
movl $24, %edi
callq _malloc
testq %rax, %rax
je LBB16_191
## %bb.106:
movq %rax, %r14
movaps LCPI16_0(%rip), %xmm0 ## xmm0 = [0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0]
movups %xmm0, (%rax)
movl $4096, %edi ## imm = 0x1000
callq _malloc
testq %rax, %rax
je LBB16_197
## %bb.107:
movq %rax, 16(%r14)
movabsq $4496119050240539658, %rcx ## imm = 0x3E656C7469743C0A
movq %rcx, 13(%rax)
movups L_.str.211(%rip), %xmm0
movups %xmm0, (%rax)
movq $21, (%r14)
movq %r14, %rdi
movq %r15, %rsi
callq _append_escaped
movq (%r14), %rcx
movq 8(%r14), %rax
leaq 97(%rcx), %rdx
cmpq %rdx, %rax
jae LBB16_113
## %bb.108:
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rdx,%rax), %rbx
addq $4096, %rbx ## imm = 0x1000
movq %rbx, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB16_190
## %bb.109:
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB16_114
LBB16_110:
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.197(%rip), %rdx
leaq L_.str.210(%rip), %rcx
movq %r14, %rdi
movl $500, %esi ## imm = 0x1F4
movq %rax, %r8
xorl %eax, %eax
callq _default_reply
jmp LBB16_186
LBB16_111:
leaq L_.str.190(%rip), %r8
LBB16_112:
movq %rax, %r15
movq 216(%rax), %r9
subq $8, %rsp
leaq L_.str.208(%rip), %rsi
movq %rbx, %rdi
leaq -848(%rbp), %rdx
xorl %eax, %eax
leaq -880(%rbp), %rbx
pushq %rbx
pushq %r14
pushq -720(%rbp)
pushq %r12
pushq %r13
callq _xasprintf
addq $48, %rsp
movl %eax, %eax
movq %rax, 152(%r15)
movl $206, 176(%r15)
jmp LBB16_66
LBB16_113:
movq 16(%r14), %rax
LBB16_114:
movups L_.str.212+80(%rip), %xmm0
movups %xmm0, 80(%rax,%rcx)
movups L_.str.212+64(%rip), %xmm0
movups %xmm0, 64(%rax,%rcx)
movups L_.str.212+48(%rip), %xmm0
movups %xmm0, 48(%rax,%rcx)
movups L_.str.212+32(%rip), %xmm0
movups %xmm0, 32(%rax,%rcx)
movups L_.str.212+16(%rip), %xmm0
movups %xmm0, 16(%rax,%rcx)
movups L_.str.212(%rip), %xmm0
movups %xmm0, (%rax,%rcx)
movb $62, 96(%rax,%rcx)
addq $97, (%r14)
movq %r14, %rdi
movq %r15, %rsi
callq _append_escaped
movq (%r14), %rcx
movq 8(%r14), %rax
leaq 16(%rcx), %rdx
cmpq %rdx, %rax
jae LBB16_117
## %bb.115:
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rdx,%rax), %rbx
addq $4096, %rbx ## imm = 0x1000
movq %rbx, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB16_190
## %bb.116:
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB16_118
LBB16_117:
movq 16(%r14), %rax
LBB16_118:
movups L_.str.213(%rip), %xmm0
movups %xmm0, (%rax,%rcx)
addq $16, (%r14)
movq -928(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _malloc
testq %rax, %rax
je LBB16_192
## %bb.119:
movq %rax, -912(%rbp) ## 8-byte Spill
movq %rax, %rdi
movl $32, %esi
movq %rbx, %rdx
callq _memset
testq %r12, %r12
jle LBB16_165
## %bb.120:
xorl %r9d, %r9d
movq %r12, -936(%rbp) ## 8-byte Spill
jmp LBB16_124
LBB16_121: ## in Loop: Header=BB16_124 Depth=1
movq 16(%r14), %rax
LBB16_122: ## in Loop: Header=BB16_124 Depth=1
movw $2607, (%rax,%r12) ## imm = 0xA2F
addq $2, (%r14)
LBB16_123: ## in Loop: Header=BB16_124 Depth=1
incq %r15
movq %r15, %r9
movq -936(%rbp), %r15 ## 8-byte Reload
cmpq %r15, %r9
je LBB16_163
LBB16_124: ## =>This Loop Header: Depth=1
## Child Loop BB16_128 Depth 2
movq (%r13,%r9,8), %rax
movq (%rax), %rax
movb (%rax), %dl
movl $0, %ecx
testb %dl, %dl
leaq _logencode.hex(%rip), %r8
je LBB16_138
## %bb.125: ## in Loop: Header=BB16_124 Depth=1
incq %rax
xorl %ecx, %ecx
jmp LBB16_128
.p2align 4, 0x90
LBB16_126: ## in Loop: Header=BB16_128 Depth=2
movl %ecx, %edi
LBB16_127: ## in Loop: Header=BB16_128 Depth=2
addl %esi, %ecx
movslq %edi, %rsi
movb %dl, -816(%rbp,%rsi)
movzbl (%rax), %edx
incq %rax
testb %dl, %dl
je LBB16_138
LBB16_128: ## Parent Loop BB16_124 Depth=1
## => This Inner Loop Header: Depth=2
leal -48(%rdx), %edi
movl $1, %esi
cmpb $10, %dil
jb LBB16_126
## %bb.129: ## in Loop: Header=BB16_128 Depth=2
movl %edx, %ebx
andb $-33, %bl
addb $-65, %bl
cmpb $26, %bl
jb LBB16_126
## %bb.130: ## in Loop: Header=BB16_128 Depth=2
leal -45(%rdx), %edi
cmpb $2, %dil
jb LBB16_126
## %bb.131: ## in Loop: Header=BB16_128 Depth=2
cmpb $95, %dl
je LBB16_126
## %bb.132: ## in Loop: Header=BB16_128 Depth=2
cmpb $126, %dl
je LBB16_126
## %bb.137: ## in Loop: Header=BB16_128 Depth=2
movl %ecx, %esi
movb $37, -816(%rbp,%rsi)
movzbl %dl, %edx
movq %rdx, %rdi
shrq $4, %rdi
movzbl (%rdi,%r8), %ebx
leal 2(%rcx), %edi
movb %bl, -815(%rbp,%rsi)
andl $15, %edx
movzbl (%rdx,%r8), %edx
movl $3, %esi
jmp LBB16_127
LBB16_138: ## in Loop: Header=BB16_124 Depth=1
movq %r9, -920(%rbp) ## 8-byte Spill
movslq %ecx, %rax
movb $0, -816(%rbp,%rax)
movq (%r14), %rcx
movq 8(%r14), %rax
leaq 9(%rcx), %rdx
cmpq %rdx, %rax
jae LBB16_141
## %bb.139: ## in Loop: Header=BB16_124 Depth=1
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rdx,%rax), %rbx
addq $4096, %rbx ## imm = 0x1000
movq %rbx, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
leaq -816(%rbp), %r15
je LBB16_190
## %bb.140: ## in Loop: Header=BB16_124 Depth=1
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB16_142
LBB16_141: ## in Loop: Header=BB16_124 Depth=1
movq 16(%r14), %rax
leaq -816(%rbp), %r15
LBB16_142: ## in Loop: Header=BB16_124 Depth=1
movabsq $4424335225985720636, %rdx ## imm = 0x3D6665726820613C
movq %rdx, (%rax,%rcx)
movb $34, 8(%rax,%rcx)
movq (%r14), %r12
leaq 9(%r12), %rbx
movq %rbx, (%r14)
movq %r15, %rdi
callq _strlen
movq %rax, %r13
leaq (%rax,%r12), %rcx
addq $9, %rcx
movq 8(%r14), %rax
cmpq %rcx, %rax
jae LBB16_145
## %bb.143: ## in Loop: Header=BB16_124 Depth=1
leaq 4096(%rax), %rdx
cmpq %rdx, %rcx
cmovaq %rcx, %rdx
movq %rax, %rcx
notq %rcx
addq %rdx, %rcx
andq $-4096, %rcx ## imm = 0xF000
leaq (%rcx,%rax), %rbx
addq $4096, %rbx ## imm = 0x1000
movq %rbx, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB16_190
## %bb.144: ## in Loop: Header=BB16_124 Depth=1
movq %rax, 16(%r14)
movq (%r14), %rbx
jmp LBB16_146
LBB16_145: ## in Loop: Header=BB16_124 Depth=1
movq 16(%r14), %rax
LBB16_146: ## in Loop: Header=BB16_124 Depth=1
addq %rax, %rbx
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq _memcpy
movq (%r14), %rdx
movq 8(%r14), %rax
leaq (%rdx,%r13), %rcx
movq %rcx, (%r14)
addq %r13, %rdx
addq $2, %rdx
cmpq %rdx, %rax
jae LBB16_149
## %bb.147: ## in Loop: Header=BB16_124 Depth=1
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rdx,%rax), %rbx
addq $4096, %rbx ## imm = 0x1000
movq %rbx, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
movq -888(%rbp), %r13 ## 8-byte Reload
movq -920(%rbp), %r15 ## 8-byte Reload
je LBB16_190
## %bb.148: ## in Loop: Header=BB16_124 Depth=1
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB16_150
LBB16_149: ## in Loop: Header=BB16_124 Depth=1
movq 16(%r14), %rax
movq -888(%rbp), %r13 ## 8-byte Reload
movq -920(%rbp), %r15 ## 8-byte Reload
LBB16_150: ## in Loop: Header=BB16_124 Depth=1
movw $15906, (%rax,%rcx) ## imm = 0x3E22
addq $2, (%r14)
movq (%r13,%r15,8), %rax
movq (%rax), %rsi
movq %r14, %rdi
callq _append_escaped
movq (%r14), %rcx
movq 8(%r14), %rax
leaq 4(%rcx), %rdx
cmpq %rdx, %rax
jae LBB16_153
## %bb.151: ## in Loop: Header=BB16_124 Depth=1
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rdx,%rax), %rbx
addq $4096, %rbx ## imm = 0x1000
movq %rbx, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB16_190
## %bb.152: ## in Loop: Header=BB16_124 Depth=1
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB16_154
LBB16_153: ## in Loop: Header=BB16_124 Depth=1
movq 16(%r14), %rax
LBB16_154: ## in Loop: Header=BB16_124 Depth=1
movl $1046556476, (%rax,%rcx) ## imm = 0x3E612F3C
movq (%r14), %rax
leaq 4(%rax), %r12
movq %r12, (%r14)
movq (%r13,%r15,8), %rcx
cmpl $0, 8(%rcx)
je LBB16_158
## %bb.155: ## in Loop: Header=BB16_124 Depth=1
addq $6, %rax
movq 8(%r14), %rcx
cmpq %rax, %rcx
jae LBB16_121
## %bb.156: ## in Loop: Header=BB16_124 Depth=1
leaq 4096(%rcx), %rdx
cmpq %rdx, %rax
cmovaq %rax, %rdx
movq %rcx, %rax
notq %rax
addq %rdx, %rax
andq $-4096, %rax ## imm = 0xF000
leaq (%rax,%rcx), %rbx
addq $4096, %rbx ## imm = 0x1000
movq %rbx, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB16_190
## %bb.157: ## in Loop: Header=BB16_124 Depth=1
movq %rax, 16(%r14)
movq (%r14), %r12
jmp LBB16_122
LBB16_158: ## in Loop: Header=BB16_124 Depth=1
movq (%rcx), %rdi
callq _strlen
movq -928(%rbp), %r13 ## 8-byte Reload
subq %rax, %r13
leaq (%r12,%r13), %rcx
movq 8(%r14), %rax
cmpq %rcx, %rax
jae LBB16_161
## %bb.159: ## in Loop: Header=BB16_124 Depth=1
leaq 4096(%rax), %rdx
cmpq %rdx, %rcx
cmovaq %rcx, %rdx
movq %rax, %rcx
notq %rcx
addq %rdx, %rcx
andq $-4096, %rcx ## imm = 0xF000
leaq (%rcx,%rax), %rbx
addq $4096, %rbx ## imm = 0x1000
movq %rbx, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB16_190
## %bb.160: ## in Loop: Header=BB16_124 Depth=1
movq %rax, 16(%r14)
movq (%r14), %r12
jmp LBB16_162
LBB16_161: ## in Loop: Header=BB16_124 Depth=1
movq 16(%r14), %rax
LBB16_162: ## in Loop: Header=BB16_124 Depth=1
movq -912(%rbp), %rsi ## 8-byte Reload
addq %rax, %r12
movq %r12, %rdi
movq %r13, %rdx
callq _memcpy
addq %r13, (%r14)
movq -888(%rbp), %r13 ## 8-byte Reload
movq (%r13,%r15,8), %rax
movq 16(%rax), %rdx
movq %r14, %rdi
xorl %eax, %eax
callq _appendf
jmp LBB16_123
LBB16_163:
xorl %ebx, %ebx
LBB16_164: ## =>This Inner Loop Header: Depth=1
movq (%r13,%rbx,8), %rax
movq (%rax), %rdi
callq _free
movq (%r13,%rbx,8), %rdi
callq _free
incq %rbx
cmpq %rbx, %r15
jne LBB16_164
LBB16_165:
movq %r13, %rdi
callq _free
movq -912(%rbp), %rdi ## 8-byte Reload
callq _free
movq (%r14), %rcx
movq 8(%r14), %rax
leaq 17(%rcx), %rdx
cmpq %rdx, %rax
jae LBB16_168
## %bb.166:
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rdx,%rax), %rbx
addq $4096, %rbx ## imm = 0x1000
movq %rbx, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB16_190
## %bb.167:
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB16_169
LBB16_168:
movq 16(%r14), %rax
LBB16_169:
movups L_.str.219(%rip), %xmm0
movups %xmm0, (%rax,%rcx)
movb $10, 16(%rax,%rcx)
addq $17, (%r14)
movq _now(%rip), %rax
movq %rax, -848(%rbp)
leaq -848(%rbp), %rdi
callq _gmtime
leaq L_.str.187(%rip), %rdx
leaq -816(%rbp), %rdi
movl $30, %esi
movq %rax, %rcx
callq _strftime
testq %rax, %rax
je LBB16_198
## %bb.170:
leaq L_.str.3(%rip), %r13
cmpb $0, _want_server_id(%rip)
movq -904(%rbp), %r15 ## 8-byte Reload
je LBB16_172
## %bb.171:
movq %r13, %r12
jmp LBB16_174
LBB16_172:
leaq __generated_on_buf(%rip), %r12
leaq L_.str.189(%rip), %rdx
leaq _pkgname(%rip), %rcx
leaq -816(%rbp), %r8
movl $72, %esi
movq %r12, %rdi
xorl %eax, %eax
callq _snprintf
cmpb $0, _want_server_id(%rip)
jne LBB16_174
## %bb.173:
leaq __generated_on_buf(%rip), %r12
leaq L_.str.189(%rip), %rdx
leaq _pkgname(%rip), %rcx
leaq -816(%rbp), %r8
movl $72, %esi
movq %r12, %rdi
xorl %eax, %eax
callq _snprintf
movq %r12, %r13
LBB16_174:
movq %r13, %rdi
callq _strlen
movq %rax, %r13
movq (%r14), %rdi
movq 8(%r14), %rax
leaq (%rdi,%r13), %rcx
cmpq %rcx, %rax
jae LBB16_177
## %bb.175:
leaq 4096(%rax), %rdx
cmpq %rdx, %rcx
cmovaq %rcx, %rdx
movq %rax, %rcx
notq %rcx
addq %rdx, %rcx
andq $-4096, %rcx ## imm = 0xF000
leaq (%rcx,%rax), %rbx
addq $4096, %rbx ## imm = 0x1000
movq %rbx, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB16_190
## %bb.176:
movq %rax, 16(%r14)
movq (%r14), %rdi
jmp LBB16_178
LBB16_177:
movq 16(%r14), %rax
LBB16_178:
addq %rax, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq _memcpy
movq (%r14), %rdx
movq 8(%r14), %rax
leaq (%rdx,%r13), %rcx
movq %rcx, (%r14)
addq %r13, %rdx
addq $16, %rdx
cmpq %rdx, %rax
jae LBB16_181
## %bb.179:
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rdx,%rax), %rbx
addq $4096, %rbx ## imm = 0x1000
movq %rbx, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB16_190
## %bb.180:
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB16_182
LBB16_181:
movq 16(%r14), %rax
LBB16_182:
movups L_.str.220(%rip), %xmm0
movups %xmm0, (%rax,%rcx)
movq (%r14), %r12
movq 16(%r14), %rax
addq $16, %r12
movq -944(%rbp), %rbx ## 8-byte Reload
movq %rax, 192(%rbx)
movq %r12, 216(%rbx)
movq %r14, %rdi
callq _free
leaq 144(%rbx), %rdi
movq _server_hdr(%rip), %rcx
cmpl $0, 180(%rbx)
jne LBB16_184
## %bb.183:
movq _keep_alive_field(%rip), %r8
jmp LBB16_185
LBB16_184:
leaq L_.str.190(%rip), %r8
LBB16_185:
leaq L_.str.221(%rip), %rsi
leaq -816(%rbp), %rdx
movq %r12, %r9
xorl %eax, %eax
callq _xasprintf
movl %eax, %eax
movq %rax, 152(%rbx)
movl $0, 184(%rbx)
movl $200, 176(%rbx)
LBB16_186:
movq -896(%rbp), %rdi
callq _free
movq %r15, %rdi
callq _free
jmp LBB16_66
LBB16_187:
leaq L_.str.190(%rip), %r13
LBB16_188:
movq %rax, %rbx
movq 216(%rax), %r12
callq _additional_header
movq %rax, %r10
subq $8, %rsp
leaq L_.str.209(%rip), %rsi
movq -904(%rbp), %rdi ## 8-byte Reload
leaq -848(%rbp), %rdx
movq -888(%rbp), %rcx ## 8-byte Reload
movq %r13, %r8
movq %r12, %r9
xorl %eax, %eax
pushq %r10
pushq %r15
pushq %r14
callq _xasprintf
addq $32, %rsp
movl %eax, %eax
movq %rax, 152(%rbx)
movl $200, 176(%rbx)
jmp LBB16_66
LBB16_189:
callq ___stack_chk_fail
LBB16_190:
leaq L_.str.43(%rip), %rsi
jmp LBB16_193
LBB16_191:
leaq L_.str.40(%rip), %rsi
movl $24, %edx
xorl %eax, %eax
callq _errx
LBB16_192:
leaq L_.str.40(%rip), %rsi
LBB16_193:
movq %rbx, %rdx
xorl %eax, %eax
callq _errx
LBB16_194:
leaq L_.str.188(%rip), %rsi
leaq -880(%rbp), %rdx
xorl %eax, %eax
callq _errx
LBB16_195:
leaq L_.str.40(%rip), %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _errx
LBB16_196:
leaq L_.str.40(%rip), %rsi
movl $1024, %edx ## imm = 0x400
xorl %eax, %eax
callq _errx
LBB16_197:
leaq L_.str.40(%rip), %rsi
movl $4096, %edx ## imm = 0x1000
xorl %eax, %eax
callq _errx
LBB16_198:
leaq L_.str.188(%rip), %rsi
leaq -816(%rbp), %rdx
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function parse_field
_parse_field: ## @parse_field
.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, %r12
movq 56(%rdi), %r15
movq %r15, %rdi
callq _strstr
testq %rax, %rax
je LBB17_1
## %bb.2:
movq %rax, %rbx
subq %r15, %rbx
movq %r14, %rdi
callq _strlen
movq %rax, %r14
addq %rbx, %r14
movq 64(%r12), %rax
movq %r14, %rbx
cmpq %rax, %r14
jae LBB17_8
## %bb.3:
movq %r14, %rbx
.p2align 4, 0x90
LBB17_4: ## =>This Inner Loop Header: Depth=1
movzbl (%r15,%rbx), %ecx
cmpb $10, %cl
je LBB17_8
## %bb.5: ## in Loop: Header=BB17_4 Depth=1
cmpb $13, %cl
je LBB17_8
## %bb.6: ## in Loop: Header=BB17_4 Depth=1
incq %rbx
cmpq %rax, %rbx
jb LBB17_4
## %bb.7:
movq %rax, %rbx
LBB17_8:
subq %r14, %rbx
leaq 1(%rbx), %r13
movq %r13, %rdi
callq _malloc
testq %rax, %rax
je LBB17_11
## %bb.9:
movq %rax, %r12
addq %r14, %r15
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq _memcpy
movb $0, (%r12,%rbx)
jmp LBB17_10
LBB17_1:
xorl %r12d, %r12d
LBB17_10:
movq %r12, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB17_11:
leaq L_.str.40(%rip), %rsi
movq %r13, %rdx
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function urldecode
_urldecode: ## @urldecode
.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
callq _strlen
movq %rax, %r12
leaq 1(%rax), %r15
movq %r15, %rdi
callq _malloc
testq %rax, %rax
je LBB18_3
## %bb.1:
testq %r12, %r12
je LBB18_2
## %bb.4:
xorl %edi, %edi
movq __DefaultRuneLocale@GOTPCREL(%rip), %r11
movl $9, %r8d
movl $169, %r9d
movl $201, %r10d
xorl %edx, %edx
jmp LBB18_5
.p2align 4, 0x90
LBB18_12: ## in Loop: Header=BB18_5 Depth=1
movb %cl, (%rax,%rdx)
incq %rdx
incq %rdi
cmpq %r12, %rdi
jae LBB18_13
LBB18_5: ## =>This Inner Loop Header: Depth=1
movzbl (%r14,%rdi), %ecx
cmpb $37, %cl
jne LBB18_12
## %bb.6: ## in Loop: Header=BB18_5 Depth=1
leaq 2(%rdi), %rsi
cmpq %r12, %rsi
jae LBB18_12
## %bb.7: ## in Loop: Header=BB18_5 Depth=1
movzbl 1(%rdi,%r14), %ebx
testb %bl, %bl
js LBB18_12
## %bb.8: ## in Loop: Header=BB18_5 Depth=1
testb $1, 62(%r11,%rbx,4)
je LBB18_12
## %bb.9: ## in Loop: Header=BB18_5 Depth=1
movzbl (%r14,%rsi), %r15d
testb %r15b, %r15b
js LBB18_12
## %bb.10: ## in Loop: Header=BB18_5 Depth=1
testb $1, 62(%r11,%r15,4)
je LBB18_12
## %bb.11: ## in Loop: Header=BB18_5 Depth=1
leal -65(%rbx), %r13d
leal -97(%rbx), %edi
xorl %ecx, %ecx
cmpb $6, %dil
setb %cl
cmpb $6, %r13b
leal (%rcx,%rcx,8), %edi
cmovbl %r8d, %edi
addb %bl, %dil
shlb $4, %dil
leal -65(%r15), %ebx
leal -97(%r15), %ecx
cmpb $6, %cl
movl $208, %ecx
cmovbl %r9d, %ecx
cmpb $6, %bl
cmovbl %r10d, %ecx
addb %r15b, %cl
addb %dil, %cl
movq %rsi, %rdi
jmp LBB18_12
LBB18_2:
xorl %edx, %edx
LBB18_13:
movb $0, (%rax,%rdx)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB18_3:
leaq L_.str.40(%rip), %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function make_safe_url
_make_safe_url: ## @make_safe_url
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $47, (%rdi)
jne LBB19_33
## %bb.1:
movq %rdi, %rax
movb $47, %r10b
movq %rdi, %rcx
jmp LBB19_5
.p2align 4, 0x90
LBB19_2: ## in Loop: Header=BB19_5 Depth=1
movzbl 1(%rcx), %esi
cmpb $46, %sil
je LBB19_8
## %bb.3: ## in Loop: Header=BB19_5 Depth=1
cmpb $47, %sil
je LBB19_13
LBB19_4: ## in Loop: Header=BB19_5 Depth=1
incq %rcx
movl %esi, %r10d
LBB19_5: ## =>This Inner Loop Header: Depth=1
cmpb $47, %r10b
je LBB19_2
## %bb.6: ## in Loop: Header=BB19_5 Depth=1
testb %r10b, %r10b
je LBB19_13
## %bb.7: ## in Loop: Header=BB19_5 Depth=1
movzbl 1(%rcx), %esi
jmp LBB19_4
.p2align 4, 0x90
LBB19_8: ## in Loop: Header=BB19_5 Depth=1
movzbl 2(%rcx), %edi
movb $46, %sil
cmpb $46, %dil
je LBB19_11
## %bb.9: ## in Loop: Header=BB19_5 Depth=1
testb %dil, %dil
je LBB19_13
## %bb.10: ## in Loop: Header=BB19_5 Depth=1
cmpb $47, %dil
jne LBB19_4
jmp LBB19_13
LBB19_11: ## in Loop: Header=BB19_5 Depth=1
movzbl 3(%rcx), %edx
testb %dl, %dl
je LBB19_13
## %bb.12: ## in Loop: Header=BB19_5 Depth=1
cmpb $47, %dl
jne LBB19_4
LBB19_13:
movq %rcx, %rsi
jmp LBB19_17
.p2align 4, 0x90
LBB19_14: ## in Loop: Header=BB19_17 Depth=1
testb %r10b, %r10b
je LBB19_34
## %bb.15: ## in Loop: Header=BB19_17 Depth=1
incq %rcx
movq %rcx, %rdi
LBB19_16: ## in Loop: Header=BB19_17 Depth=1
movb %r10b, (%rsi)
incq %rsi
movq %rdi, %rcx
movb (%rdi), %r10b
LBB19_17: ## =>This Loop Header: Depth=1
## Child Loop BB19_27 Depth 2
cmpb $47, %r10b
jne LBB19_14
## %bb.18: ## in Loop: Header=BB19_17 Depth=1
leaq 1(%rcx), %rdi
movb 1(%rcx), %dl
cmpb $47, %dl
je LBB19_30
## %bb.19: ## in Loop: Header=BB19_17 Depth=1
movb $47, %r10b
cmpb $46, %dl
jne LBB19_16
## %bb.20: ## in Loop: Header=BB19_17 Depth=1
leaq 2(%rcx), %r8
movb 2(%rcx), %r9b
testb %r9b, %r9b
je LBB19_31
## %bb.21: ## in Loop: Header=BB19_17 Depth=1
cmpb $47, %r9b
je LBB19_32
## %bb.22: ## in Loop: Header=BB19_17 Depth=1
cmpb $46, %r9b
jne LBB19_16
## %bb.23: ## in Loop: Header=BB19_17 Depth=1
movb 3(%rcx), %dl
cmpb $47, %dl
je LBB19_25
## %bb.24: ## in Loop: Header=BB19_17 Depth=1
testb %dl, %dl
jne LBB19_16
LBB19_25: ## in Loop: Header=BB19_17 Depth=1
cmpq %rax, %rsi
je LBB19_33
## %bb.26: ## in Loop: Header=BB19_17 Depth=1
addq $3, %rcx
decq %rsi
movq %rsi, %rdx
.p2align 4, 0x90
LBB19_27: ## Parent Loop BB19_17 Depth=1
## => This Inner Loop Header: Depth=2
leaq -1(%rdx), %rsi
cmpb $47, (%rdx)
je LBB19_29
## %bb.28: ## in Loop: Header=BB19_27 Depth=2
cmpq %rax, %rdx
movq %rsi, %rdx
ja LBB19_27
LBB19_29: ## in Loop: Header=BB19_17 Depth=1
incq %rsi
movb (%rcx), %r10b
jmp LBB19_17
LBB19_30: ## in Loop: Header=BB19_17 Depth=1
movq %rdi, %rcx
movb (%rdi), %r10b
jmp LBB19_17
LBB19_31: ## in Loop: Header=BB19_17 Depth=1
movq %r8, %rcx
movb (%r8), %r10b
jmp LBB19_17
LBB19_32: ## in Loop: Header=BB19_17 Depth=1
movq %r8, %rcx
movb (%r8), %r10b
jmp LBB19_17
LBB19_33:
xorl %eax, %eax
popq %rbp
retq
LBB19_34:
xorl %ecx, %ecx
cmpq %rax, %rsi
sete %cl
movb $0, (%rsi,%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function redirect
_redirect: ## @redirect
.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 $280, %rsp ## imm = 0x118
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq %rdx, -272(%rbp)
movq %rcx, -264(%rbp)
movq %r8, -256(%rbp)
movq %r9, -248(%rbp)
testb %al, %al
je LBB20_14
## %bb.13:
movaps %xmm0, -240(%rbp)
movaps %xmm1, -224(%rbp)
movaps %xmm2, -208(%rbp)
movaps %xmm3, -192(%rbp)
movaps %xmm4, -176(%rbp)
movaps %xmm5, -160(%rbp)
movaps %xmm6, -144(%rbp)
movaps %xmm7, -128(%rbp)
LBB20_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq -288(%rbp), %rax
movq %rax, -80(%rbp)
leaq 16(%rbp), %rax
movq %rax, -88(%rbp)
movabsq $206158430224, %rax ## imm = 0x3000000010
movq %rax, -96(%rbp)
leaq -104(%rbp), %rdi
leaq -96(%rbp), %rdx
callq _vasprintf
cmpl $-1, %eax
je LBB20_10
## %bb.1:
movq _now(%rip), %rax
movq %rax, -112(%rbp)
leaq -112(%rbp), %rdi
callq _gmtime
leaq L_.str.187(%rip), %rdx
leaq -64(%rbp), %rdi
movl $30, %esi
movq %rax, %rcx
callq _strftime
testq %rax, %rax
je LBB20_11
## %bb.2:
movq -104(%rbp), %r14
cmpb $0, _want_server_id(%rip)
je LBB20_4
## %bb.3:
leaq L_.str.3(%rip), %r15
jmp LBB20_5
LBB20_4:
leaq __generated_on_buf(%rip), %r15
leaq L_.str.189(%rip), %rdx
leaq _pkgname(%rip), %rcx
leaq -64(%rbp), %r8
movl $72, %esi
movq %r15, %rdi
xorl %eax, %eax
callq _snprintf
LBB20_5:
leaq 192(%rbx), %rdi
leaq L_.str.185(%rip), %rsi
movq %r14, %rdx
movq %r14, %rcx
movq %r15, %r8
xorl %eax, %eax
callq _xasprintf
movl %eax, %eax
movq %rax, 216(%rbx)
leaq 144(%rbx), %rdi
movq _server_hdr(%rip), %rcx
movq -104(%rbp), %r8
cmpl $0, 180(%rbx)
jne LBB20_6
## %bb.7:
movq _keep_alive_field(%rip), %r9
jmp LBB20_8
LBB20_6:
leaq L_.str.190(%rip), %r9
LBB20_8:
movq %rax, (%rsp)
leaq L_.str.186(%rip), %rsi
leaq -64(%rbp), %rdx
xorl %eax, %eax
callq _xasprintf
movl %eax, %eax
movq %rax, 152(%rbx)
movq -104(%rbp), %rdi
callq _free
movl $0, 184(%rbx)
movl $301, 176(%rbx) ## imm = 0x12D
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB20_12
## %bb.9:
addq $280, %rsp ## imm = 0x118
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB20_10:
leaq L_.str.119(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB20_11:
leaq L_.str.188(%rip), %rsi
leaq -64(%rbp), %rdx
xorl %eax, %eax
callq _errx
LBB20_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function rfc1123_date
_rfc1123_date: ## @rfc1123_date
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq %rsi, -16(%rbp)
leaq -16(%rbp), %rdi
callq _gmtime
leaq L_.str.187(%rip), %rdx
movl $30, %esi
movq %rbx, %rdi
movq %rax, %rcx
callq _strftime
testq %rax, %rax
je LBB21_2
## %bb.1:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB21_2:
leaq L_.str.188(%rip), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function append_escaped
_append_escaped: ## @append_escaped
.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
movb (%rsi), %al
testb %al, %al
je LBB22_35
## %bb.1:
movq %rsi, %rbx
movq %rdi, %r14
incq %rbx
leaq LJTI22_0(%rip), %r12
jmp LBB22_2
LBB22_30: ## in Loop: Header=BB22_2 Depth=1
movq 16(%r14), %rax
LBB22_33: ## in Loop: Header=BB22_2 Depth=1
movzbl -1(%rbx), %edx
movb %dl, (%rax,%rcx)
movl $1, %eax
.p2align 4, 0x90
LBB22_34: ## in Loop: Header=BB22_2 Depth=1
addq %rax, (%r14)
movzbl (%rbx), %eax
incq %rbx
testb %al, %al
je LBB22_35
LBB22_2: ## =>This Inner Loop Header: Depth=1
movsbl %al, %eax
addl $-34, %eax
cmpl $28, %eax
ja LBB22_29
## %bb.3: ## in Loop: Header=BB22_2 Depth=1
movslq (%r12,%rax,4), %rax
addq %r12, %rax
jmpq *%rax
LBB22_24: ## in Loop: Header=BB22_2 Depth=1
movq (%r14), %rcx
movq 8(%r14), %rax
leaq 6(%rcx), %rdx
cmpq %rdx, %rax
jae LBB22_25
## %bb.26: ## in Loop: Header=BB22_2 Depth=1
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rax,%rdx), %r15
addq $4096, %r15 ## imm = 0x1000
movq %r15, 8(%r14)
movq 16(%r14), %rdi
movq %r15, %rsi
callq _realloc
testq %rax, %rax
je LBB22_36
## %bb.27: ## in Loop: Header=BB22_2 Depth=1
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB22_28
LBB22_29: ## in Loop: Header=BB22_2 Depth=1
movq (%r14), %rcx
movq 8(%r14), %rax
leaq 1(%rcx), %rdx
cmpq %rdx, %rax
jae LBB22_30
## %bb.31: ## in Loop: Header=BB22_2 Depth=1
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rax,%rdx), %r15
addq $4096, %r15 ## imm = 0x1000
movq %r15, 8(%r14)
movq 16(%r14), %rdi
movq %r15, %rsi
callq _realloc
testq %rax, %rax
je LBB22_36
## %bb.32: ## in Loop: Header=BB22_2 Depth=1
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB22_33
LBB22_14: ## in Loop: Header=BB22_2 Depth=1
movq (%r14), %rcx
movq 8(%r14), %rax
leaq 5(%rcx), %rdx
cmpq %rdx, %rax
jae LBB22_15
## %bb.16: ## in Loop: Header=BB22_2 Depth=1
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rax,%rdx), %r15
addq $4096, %r15 ## imm = 0x1000
movq %r15, 8(%r14)
movq 16(%r14), %rdi
movq %r15, %rsi
callq _realloc
testq %rax, %rax
je LBB22_36
## %bb.17: ## in Loop: Header=BB22_2 Depth=1
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB22_18
LBB22_19: ## in Loop: Header=BB22_2 Depth=1
movq (%r14), %rcx
movq 8(%r14), %rax
leaq 6(%rcx), %rdx
cmpq %rdx, %rax
jae LBB22_20
## %bb.21: ## in Loop: Header=BB22_2 Depth=1
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rax,%rdx), %r15
addq $4096, %r15 ## imm = 0x1000
movq %r15, 8(%r14)
movq 16(%r14), %rdi
movq %r15, %rsi
callq _realloc
testq %rax, %rax
je LBB22_36
## %bb.22: ## in Loop: Header=BB22_2 Depth=1
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB22_23
LBB22_4: ## in Loop: Header=BB22_2 Depth=1
movq (%r14), %rcx
movq 8(%r14), %rax
leaq 4(%rcx), %rdx
cmpq %rdx, %rax
jae LBB22_5
## %bb.6: ## in Loop: Header=BB22_2 Depth=1
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rax,%rdx), %r15
addq $4096, %r15 ## imm = 0x1000
movq %r15, 8(%r14)
movq 16(%r14), %rdi
movq %r15, %rsi
callq _realloc
testq %rax, %rax
je LBB22_36
## %bb.7: ## in Loop: Header=BB22_2 Depth=1
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB22_8
LBB22_9: ## in Loop: Header=BB22_2 Depth=1
movq (%r14), %rcx
movq 8(%r14), %rax
leaq 4(%rcx), %rdx
cmpq %rdx, %rax
jae LBB22_10
## %bb.11: ## in Loop: Header=BB22_2 Depth=1
leaq 4096(%rax), %rcx
cmpq %rcx, %rdx
cmovaq %rdx, %rcx
movq %rax, %rdx
notq %rdx
addq %rcx, %rdx
andq $-4096, %rdx ## imm = 0xF000
leaq (%rax,%rdx), %r15
addq $4096, %r15 ## imm = 0x1000
movq %r15, 8(%r14)
movq 16(%r14), %rdi
movq %r15, %rsi
callq _realloc
testq %rax, %rax
je LBB22_36
## %bb.12: ## in Loop: Header=BB22_2 Depth=1
movq %rax, 16(%r14)
movq (%r14), %rcx
jmp LBB22_13
LBB22_25: ## in Loop: Header=BB22_2 Depth=1
movq 16(%r14), %rax
LBB22_28: ## in Loop: Header=BB22_2 Depth=1
movw $15220, 4(%rax,%rcx) ## imm = 0x3B74
movl $1869967654, (%rax,%rcx) ## imm = 0x6F757126
movl $6, %eax
jmp LBB22_34
LBB22_15: ## in Loop: Header=BB22_2 Depth=1
movq 16(%r14), %rax
LBB22_18: ## in Loop: Header=BB22_2 Depth=1
movb $59, 4(%rax,%rcx)
movl $1886216486, (%rax,%rcx) ## imm = 0x706D6126
movl $5, %eax
jmp LBB22_34
LBB22_20: ## in Loop: Header=BB22_2 Depth=1
movq 16(%r14), %rax
LBB22_23: ## in Loop: Header=BB22_2 Depth=1
movw $15219, 4(%rax,%rcx) ## imm = 0x3B73
movl $1869635878, (%rax,%rcx) ## imm = 0x6F706126
movl $6, %eax
jmp LBB22_34
LBB22_5: ## in Loop: Header=BB22_2 Depth=1
movq 16(%r14), %rax
LBB22_8: ## in Loop: Header=BB22_2 Depth=1
movl $997485606, (%rax,%rcx) ## imm = 0x3B746C26
movl $4, %eax
jmp LBB22_34
LBB22_10: ## in Loop: Header=BB22_2 Depth=1
movq 16(%r14), %rax
LBB22_13: ## in Loop: Header=BB22_2 Depth=1
movl $997484326, (%rax,%rcx) ## imm = 0x3B746726
movl $4, %eax
jmp LBB22_34
LBB22_35:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB22_36:
leaq L_.str.43(%rip), %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _errx
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L22_0_set_24, LBB22_24-LJTI22_0
.set L22_0_set_29, LBB22_29-LJTI22_0
.set L22_0_set_14, LBB22_14-LJTI22_0
.set L22_0_set_19, LBB22_19-LJTI22_0
.set L22_0_set_4, LBB22_4-LJTI22_0
.set L22_0_set_9, LBB22_9-LJTI22_0
LJTI22_0:
.long L22_0_set_24
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_14
.long L22_0_set_19
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_29
.long L22_0_set_4
.long L22_0_set_29
.long L22_0_set_9
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function appendf
_appendf: ## @appendf
.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 $224, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq %rdx, -240(%rbp)
movq %rcx, -232(%rbp)
movq %r8, -224(%rbp)
movq %r9, -216(%rbp)
testb %al, %al
je LBB23_11
## %bb.10:
movaps %xmm0, -208(%rbp)
movaps %xmm1, -192(%rbp)
movaps %xmm2, -176(%rbp)
movaps %xmm3, -160(%rbp)
movaps %xmm4, -144(%rbp)
movaps %xmm5, -128(%rbp)
movaps %xmm6, -112(%rbp)
movaps %xmm7, -96(%rbp)
LBB23_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
leaq -256(%rbp), %rax
movq %rax, -48(%rbp)
leaq 16(%rbp), %rax
movq %rax, -56(%rbp)
movabsq $206158430224, %rax ## imm = 0x3000000010
movq %rax, -64(%rbp)
leaq L_.str.218(%rip), %rsi
leaq -72(%rbp), %rdi
leaq -64(%rbp), %rdx
callq _vasprintf
cmpl $-1, %eax
je LBB23_7
## %bb.1:
movl %eax, %r14d
movq -72(%rbp), %r15
movq (%rbx), %rdi
movq 8(%rbx), %rax
leaq (%rdi,%r14), %rcx
cmpq %rcx, %rax
jae LBB23_2
## %bb.3:
leaq 4096(%rax), %rdx
cmpq %rdx, %rcx
cmovaq %rcx, %rdx
movq %rax, %rcx
notq %rcx
addq %rdx, %rcx
andq $-4096, %rcx ## imm = 0xF000
leaq (%rax,%rcx), %r12
addq $4096, %r12 ## imm = 0x1000
movq %r12, 8(%rbx)
movq 16(%rbx), %rdi
movq %r12, %rsi
callq _realloc
testq %rax, %rax
je LBB23_8
## %bb.4:
movq %rax, 16(%rbx)
movq (%rbx), %rdi
jmp LBB23_5
LBB23_2:
movq 16(%rbx), %rax
LBB23_5:
addq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq _memcpy
addq %r14, (%rbx)
movq -72(%rbp), %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB23_9
## %bb.6:
addq $224, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB23_7:
leaq L_.str.119(%rip), %rsi
xorl %eax, %eax
callq _errx
LBB23_9:
callq ___stack_chk_fail
LBB23_8:
leaq L_.str.43(%rip), %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function dlent_cmp
_dlent_cmp: ## @dlent_cmp
.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), %rdi
movq (%rsi), %rax
movq (%rax), %rsi
popq %rbp
jmp _strcmp ## TAILCALL
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mime_mapping_cmp_str
_mime_mapping_cmp_str: ## @mime_mapping_cmp_str
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rsi), %rsi
popq %rbp
jmp _strcmp ## TAILCALL
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function additional_header
_additional_header: ## @additional_header
.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 __additional_header(%rip), %r14
movq %r14, %rdi
callq _strlen
testq %rax, %rax
je LBB26_1
## %bb.2:
addq $64, %rax
movq %rax, %rdi
callq _malloc
movq %rax, %rbx
leaq L_.str.227(%rip), %rsi
movq %rax, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq _sprintf
jmp LBB26_3
LBB26_1:
leaq L_.str.3(%rip), %rbx
LBB26_3:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s, %s.\n"
.section __TEXT,__const
.p2align 4 ## @pkgname
_pkgname:
.asciz "darkhttpd/1.13.from.git"
.p2align 4 ## @copyright
_copyright:
.asciz "copyright (c) 2003-2021 Emil Mikulic"
.zerofill __DATA,__bss,_keep_alive_field,8,3 ## @keep_alive_field
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Keep-Alive: timeout=%d\r\n"
.section __DATA,__data
.p2align 2 ## @timeout_secs
_timeout_secs:
.long 30 ## 0x1e
.zerofill __DATA,__bss,_want_server_id,1,2 ## @want_server_id
.zerofill __DATA,__bss,_server_hdr,8,3 ## @server_hdr
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "Server: %s\r\n"
L_.str.3: ## @.str.3
.space 1
.zerofill __DATA,__bss,_logfile_name,8,3 ## @logfile_name
.zerofill __DATA,__bss,_logfile,8,3 ## @logfile
L_.str.4: ## @.str.4
.asciz "ab"
L_.str.5: ## @.str.5
.asciz "opening logfile: fopen(\"%s\")"
.zerofill __DATA,__bss,_want_daemon,1,2 ## @want_daemon
L_.str.6: ## @.str.6
.asciz "signal(ignore SIGPIPE)"
L_.str.7: ## @.str.7
.asciz "signal(SIGINT)"
L_.str.8: ## @.str.8
.asciz "signal(SIGTERM)"
.zerofill __DATA,__bss,_want_chroot,1,2 ## @want_chroot
.zerofill __DATA,__bss,_wwwroot,8,3 ## @wwwroot
L_.str.9: ## @.str.9
.asciz "chdir(%s)"
L_.str.10: ## @.str.10
.asciz "chroot(%s)"
L_.str.11: ## @.str.11
.asciz "chrooted to `%s'\n"
.section __DATA,__data
.p2align 2 ## @drop_gid
_drop_gid:
.long 4294967295 ## 0xffffffff
.section __TEXT,__cstring,cstring_literals
L_.str.12: ## @.str.12
.asciz "setgroups([%d])"
L_.str.13: ## @.str.13
.asciz "setgid(%d)"
L_.str.14: ## @.str.14
.asciz "set gid to %d\n"
.section __DATA,__data
.p2align 2 ## @drop_uid
_drop_uid:
.long 4294967295 ## 0xffffffff
.section __TEXT,__cstring,cstring_literals
L_.str.15: ## @.str.15
.asciz "setuid(%d)"
L_.str.16: ## @.str.16
.asciz "set uid to %d\n"
.zerofill __DATA,__bss,_pidfile_name,8,3 ## @pidfile_name
.section __DATA,__data
.p2align 2 ## @running
_running:
.long 1 ## 0x1
.p2align 2 ## @sockin
_sockin:
.long 4294967295 ## 0xffffffff
.zerofill __DATA,__bss,_connlist,8,3 ## @connlist
.zerofill __DATA,__bss,_mime_map_size,8,3 ## @mime_map_size
.zerofill __DATA,__bss,_mime_map,8,3 ## @mime_map
.zerofill __DATA,__bss,_forward_map,8,3 ## @forward_map
.zerofill __DATA,__bss,_auth_key,8,3 ## @auth_key
.section __TEXT,__cstring,cstring_literals
L_.str.17: ## @.str.17
.asciz "CPU time used: %u.%02u user, %u.%02u system\n"
L_.str.18: ## @.str.18
.asciz "Requests: %llu\n"
.zerofill __DATA,__bss,_num_requests,8,3 ## @num_requests
L_.str.19: ## @.str.19
.asciz "Bytes: %llu in, %llu out\n"
.zerofill __DATA,__bss,_total_in,8,3 ## @total_in
.zerofill __DATA,__bss,_total_out,8,3 ## @total_out
L_.str.20: ## @.str.20
.asciz "application/ogg ogg"
L_.str.21: ## @.str.21
.asciz "application/pdf pdf"
L_.str.22: ## @.str.22
.asciz "application/wasm wasm"
L_.str.23: ## @.str.23
.asciz "application/xml xsl xml"
L_.str.24: ## @.str.24
.asciz "application/xml-dtd dtd"
L_.str.25: ## @.str.25
.asciz "application/xslt+xml xslt"
L_.str.26: ## @.str.26
.asciz "application/zip zip"
L_.str.27: ## @.str.27
.asciz "audio/mpeg mp2 mp3 mpga"
L_.str.28: ## @.str.28
.asciz "image/gif gif"
L_.str.29: ## @.str.29
.asciz "image/jpeg jpeg jpe jpg"
L_.str.30: ## @.str.30
.asciz "image/png png"
L_.str.31: ## @.str.31
.asciz "image/svg+xml svg"
L_.str.32: ## @.str.32
.asciz "text/css css"
L_.str.33: ## @.str.33
.asciz "text/html html htm"
L_.str.34: ## @.str.34
.asciz "text/javascript js"
L_.str.35: ## @.str.35
.asciz "text/plain txt asc"
L_.str.36: ## @.str.36
.asciz "video/mpeg mpeg mpe mpg"
L_.str.37: ## @.str.37
.asciz "video/quicktime qt mov"
L_.str.38: ## @.str.38
.asciz "video/x-msvideo avi"
L_.str.39: ## @.str.39
.asciz "video/mp4 mp4"
L_.str.40: ## @.str.40
.asciz "can't allocate %zu bytes"
L_.str.41: ## @.str.41
.asciz "error: "
.zerofill __DATA,__bss,_longest_ext,8,3 ## @longest_ext
L_.str.43: ## @.str.43
.asciz "can't reallocate %zu bytes"
L_.str.44: ## @.str.44
.asciz "--help"
.section __DATA,__data
.p2align 1 ## @bindport
_bindport:
.short 8080 ## 0x1f90
.section __TEXT,__cstring,cstring_literals
L_.str.45: ## @.str.45
.asciz "--port"
L_.str.46: ## @.str.46
.asciz "missing number after --port"
L_.str.47: ## @.str.47
.asciz "--addr"
L_.str.48: ## @.str.48
.asciz "missing ip after --addr"
.zerofill __DATA,__bss,_bindaddr,8,3 ## @bindaddr
L_.str.49: ## @.str.49
.asciz "--maxconn"
L_.str.50: ## @.str.50
.asciz "missing number after --maxconn"
.section __DATA,__data
.p2align 2 ## @max_connections
_max_connections:
.long 4294967295 ## 0xffffffff
.section __TEXT,__cstring,cstring_literals
L_.str.51: ## @.str.51
.asciz "--log"
L_.str.52: ## @.str.52
.asciz "missing filename after --log"
L_.str.53: ## @.str.53
.asciz "--chroot"
L_.str.54: ## @.str.54
.asciz "--daemon"
L_.str.55: ## @.str.55
.asciz "--index"
L_.str.56: ## @.str.56
.asciz "missing filename after --index"
.section __DATA,__data
.p2align 3 ## @index_name
_index_name:
.quad L_.str.113
.section __TEXT,__cstring,cstring_literals
L_.str.57: ## @.str.57
.asciz "--no-listing"
.zerofill __DATA,__bss,_no_listing,1,2 ## @no_listing
L_.str.58: ## @.str.58
.asciz "--mimetypes"
L_.str.59: ## @.str.59
.asciz "missing filename after --mimetypes"
L_.str.60: ## @.str.60
.asciz "--default-mimetype"
L_.str.61: ## @.str.61
.asciz "missing string after --default-mimetype"
.section __DATA,__data
.p2align 3 ## @default_mimetype
_default_mimetype:
.quad _octet_stream
.section __TEXT,__cstring,cstring_literals
L_.str.62: ## @.str.62
.asciz "--uid"
L_.str.63: ## @.str.63
.asciz "missing uid after --uid"
L_.str.64: ## @.str.64
.asciz "no such uid: `%s'"
L_.str.65: ## @.str.65
.asciz "--gid"
L_.str.66: ## @.str.66
.asciz "missing gid after --gid"
L_.str.67: ## @.str.67
.asciz "no such gid: `%s'"
L_.str.68: ## @.str.68
.asciz "--pidfile"
L_.str.69: ## @.str.69
.asciz "missing filename after --pidfile"
L_.str.70: ## @.str.70
.asciz "--no-keepalive"
.zerofill __DATA,__bss,_want_keepalive,1,2 ## @want_keepalive
L_.str.71: ## @.str.71
.asciz "--accf"
.zerofill __DATA,__bss,_want_accf,1,2 ## @want_accf
L_.str.72: ## @.str.72
.asciz "--syslog"
.zerofill __DATA,__bss,_syslog_enabled,1,2 ## @syslog_enabled
L_.str.73: ## @.str.73
.asciz "--forward"
L_.str.74: ## @.str.74
.asciz "missing host after --forward"
L_.str.75: ## @.str.75
.asciz "missing url after --forward"
L_.str.76: ## @.str.76
.asciz "--forward-all"
L_.str.77: ## @.str.77
.asciz "missing url after --forward-all"
.zerofill __DATA,__bss,_forward_all_url,8,3 ## @forward_all_url
L_.str.78: ## @.str.78
.asciz "--no-server-id"
L_.str.79: ## @.str.79
.asciz "--timeout"
L_.str.80: ## @.str.80
.asciz "missing number after --timeout"
L_.str.81: ## @.str.81
.asciz "--auth"
L_.str.82: ## @.str.82
.asciz "missing 'user:pass' after --auth"
L_.str.83: ## @.str.83
.asciz "Basic %s"
L_.str.84: ## @.str.84
.asciz "--forward-https"
.zerofill __DATA,__bss,_forward_to_https,1,2 ## @forward_to_https
L_.str.85: ## @.str.85
.asciz "--additional-header"
L_.str.86: ## @.str.86
.asciz "missing filename after --additional-header"
.section __DATA,__data
.p2align 3 ## @_additional_header
__additional_header:
.quad L_.str.3
.section __TEXT,__cstring,cstring_literals
L_.str.87: ## @.str.87
.asciz "--ipv6"
.zerofill __DATA,__bss,_inet6,1,2 ## @inet6
L_.str.88: ## @.str.88
.asciz "unknown argument `%s'"
L_.str.89: ## @.str.89
.asciz "usage:\t%s /path/to/wwwroot [flags]\n\n"
L_.str.90: ## @.str.90
.asciz "flags:\t--port number (default: %u, or 80 if running as root)\n\t\tSpecifies which port to listen on for connections.\n\t\tPass 0 to let the system choose any free port for you.\n\n"
L_.str.97: ## @.str.97
.asciz "\t--index filename (default: %s)\n\t\tDefault file to serve when a directory is requested.\n\n"
L_.str.100: ## @.str.100
.asciz "\t--default-mimetype string (optional, default: %s)\n\t\tFiles with unknown extensions are served as this mimetype.\n\n"
.section __TEXT,__const
.p2align 4 ## @octet_stream
_octet_stream:
.asciz "application/octet-stream"
.section __TEXT,__cstring,cstring_literals
L_.str.107: ## @.str.107
.asciz "\t--timeout secs (default: %d)\n\t\tIf a connection is idle for more than this many seconds,\n\t\tit will be closed. Set to zero to disable timeouts.\n\n"
L_.str.112: ## @.str.112
.asciz "number \"%s\" is invalid"
L_.str.113: ## @.str.113
.asciz "index.html"
L_.str.114: ## @.str.114
.asciz "rb"
L_.str.115: ## @.str.115
.asciz "fopen(\"%s\")"
L_.str.116: ## @.str.116
.asciz "ftell()"
L_.str.117: ## @.str.117
.asciz "fseek()"
L_.str.118: ## @.str.118
.asciz "fread() %zu bytes, expecting %zu bytes"
.zerofill __DATA,__bss,_forward_map_size,8,3 ## @forward_map_size
.section __TEXT,__const
.p2align 4 ## @__const.base64_encode.base64_table
l___const.base64_encode.base64_table:
.ascii "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
.p2align 2 ## @__const.base64_encode.mod_table
l___const.base64_encode.mod_table:
.long 0 ## 0x0
.long 2 ## 0x2
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str.119: ## @.str.119
.asciz "out of memory in vasprintf()"
L_.str.120: ## @.str.120
.asciz "::"
L_.str.121: ## @.str.121
.asciz "malformed --addr argument"
L_.str.122: ## @.str.122
.asciz "socket()"
L_.str.123: ## @.str.123
.asciz "setsockopt(SO_REUSEADDR)"
L_.str.124: ## @.str.124
.asciz "setsockopt(TCP_NODELAY)"
L_.str.125: ## @.str.125
.asciz "bind(port %u)"
L_.str.126: ## @.str.126
.asciz "getsockname()"
L_.str.127: ## @.str.127
.asciz "listening on: http://[%s]:%u/\n"
L_.str.128: ## @.str.128
.asciz "listening on: http://%s:%u/\n"
L_.str.129: ## @.str.129
.asciz "listen()"
.zerofill __DATA,__bss,_get_address_text.text_addr,46,4 ## @get_address_text.text_addr
L_.str.131: ## @.str.131
.asciz ": %s\n"
.section __DATA,__data
.p2align 2 ## @lifeline
_lifeline:
.space 8,255
.section __TEXT,__cstring,cstring_literals
L_.str.132: ## @.str.132
.asciz "pipe(lifeline)"
L_.str.133: ## @.str.133
.asciz "/dev/null"
.section __DATA,__data
.p2align 2 ## @fd_null
_fd_null:
.long 4294967295 ## 0xffffffff
.section __TEXT,__cstring,cstring_literals
L_.str.134: ## @.str.134
.asciz "open(/dev/null)"
L_.str.135: ## @.str.135
.asciz "fork"
L_.str.136: ## @.str.136
.asciz "close lifeline in parent"
L_.str.137: ## @.str.137
.asciz "read lifeline in parent"
L_.str.138: ## @.str.138
.asciz "waitpid"
L_.str.139: ## @.str.139
.asciz "warning: "
L_.str.140: ## @.str.140
.asciz "daemon already running with PID %d"
L_.str.141: ## @.str.141
.asciz "can't create pidfile %s"
.section __DATA,__data
.p2align 2 ## @pidfile_fd
_pidfile_fd:
.long 4294967295 ## 0xffffffff
.section __TEXT,__cstring,cstring_literals
L_.str.142: ## @.str.142
.asciz "ftruncate() failed"
L_.str.143: ## @.str.143
.asciz "%d"
L_.str.144: ## @.str.144
.asciz "pwrite() failed"
L_.str.145: ## @.str.145
.asciz " after create failed"
L_.str.146: ## @.str.146
.asciz "read from pidfile failed"
L_.str.147: ## @.str.147
.asciz "invalid pidfile contents: \"%s\""
L_.str.148: ## @.str.148
.asciz "setsid"
L_.str.149: ## @.str.149
.asciz "close read end of lifeline in child"
L_.str.150: ## @.str.150
.asciz "couldn't cut the lifeline"
L_.str.151: ## @.str.151
.asciz "dup2(stdin)"
L_.str.152: ## @.str.152
.asciz "dup2(stdout)"
L_.str.153: ## @.str.153
.asciz "dup2(stderr)"
.zerofill __DATA,__bss,_accepting,1,2 ## @accepting
L_.str.154: ## @.str.154
.asciz "select() timed out"
L_.str.155: ## @.str.155
.asciz "select() failed"
.zerofill __DATA,__bss,_now,8,3 ## @now
L_.str.156: ## @.str.156
.asciz "accept()"
L_.str.157: ## @.str.157
.asciz "fcntl(F_GETFL)"
L_.str.158: ## @.str.158
.asciz "fcntl() to set O_NONBLOCK"
L_.str.159: ## @.str.159
.asciz "\n\n"
L_.str.160: ## @.str.160
.asciz "\r\n\r\n"
L_.str.161: ## @.str.161
.asciz "Request Entity Too Large"
L_.str.162: ## @.str.162
.asciz "Your request was dropped because it was too long."
L_.str.163: ## @.str.163
.asciz "Bad Request"
L_.str.164: ## @.str.164
.asciz "You sent a request that the server couldn't understand."
L_.str.165: ## @.str.165
.asciz "Unauthorized"
L_.str.166: ## @.str.166
.asciz "Access denied due to invalid credentials."
L_.str.167: ## @.str.167
.asciz "GET"
L_.str.168: ## @.str.168
.asciz "HEAD"
L_.str.169: ## @.str.169
.asciz "Not Implemented"
L_.str.170: ## @.str.170
.asciz "The method you specified is not implemented."
L_.str.171: ## @.str.171
.asciz "HTTP/1.1"
L_.str.172: ## @.str.172
.asciz "Connection: "
L_.str.173: ## @.str.173
.asciz "close"
L_.str.174: ## @.str.174
.asciz "keep-alive"
L_.str.175: ## @.str.175
.asciz "Referer: "
L_.str.176: ## @.str.176
.asciz "User-Agent: "
L_.str.177: ## @.str.177
.asciz "Authorization: "
L_.str.178: ## @.str.178
.asciz "Range: bytes="
L_.str.179: ## @.str.179
.asciz "X-Forwarded-Proto: "
L_.str.180: ## @.str.180
.asciz "https"
L_.str.181: ## @.str.181
.asciz "You requested an invalid URL."
L_.str.182: ## @.str.182
.asciz "Host: "
L_.str.183: ## @.str.183
.asciz "Missing 'Host' header."
L_.str.184: ## @.str.184
.asciz "https://%s%s"
L_.str.185: ## @.str.185
.asciz "<html><head><title>301 Moved Permanently</title></head><body>\n<h1>Moved Permanently</h1>\nMoved to: <a href=\"%s\">%s</a>\n<hr>\n%s</body></html>\n"
L_.str.186: ## @.str.186
.asciz "HTTP/1.1 301 Moved Permanently\r\nDate: %s\r\n%sLocation: %s\r\n%sContent-Length: %llu\r\nContent-Type: text/html; charset=UTF-8\r\n\r\n"
L_.str.187: ## @.str.187
.asciz "%a, %d %b %Y %H:%M:%S GMT"
L_.str.188: ## @.str.188
.asciz "strftime() failed [%s]"
.zerofill __DATA,__bss,__generated_on_buf,72,4 ## @_generated_on_buf
L_.str.189: ## @.str.189
.asciz "Generated by %s on %s\n"
L_.str.190: ## @.str.190
.asciz "Connection: close\r\n"
L_.str.191: ## @.str.191
.asciz "%s%s"
L_.str.192: ## @.str.192
.asciz "%s%s%s"
L_.str.193: ## @.str.193
.asciz "Not Found"
L_.str.194: ## @.str.194
.asciz "The URL you requested was not found."
L_.str.195: ## @.str.195
.asciz "Forbidden"
L_.str.196: ## @.str.196
.asciz "You don't have permission to access this URL."
L_.str.197: ## @.str.197
.asciz "Internal Server Error"
L_.str.198: ## @.str.198
.asciz "The URL you requested cannot be returned: %s."
L_.str.199: ## @.str.199
.asciz "fstat() failed: %s."
L_.str.200: ## @.str.200
.asciz "%s/"
L_.str.201: ## @.str.201
.asciz "Not a regular file."
L_.str.202: ## @.str.202
.asciz "If-Modified-Since: "
L_.str.203: ## @.str.203
.asciz "HTTP/1.1 304 Not Modified\r\nDate: %s\r\n%sAccept-Ranges: bytes\r\n%s\r\n"
L_.str.205: ## @.str.205
.asciz "Requested Range Not Satisfiable"
L_.str.206: ## @.str.206
.asciz "You requested a range outside of the file."
L_.str.207: ## @.str.207
.asciz "You requested a backward range."
L_.str.208: ## @.str.208
.asciz "HTTP/1.1 206 Partial Content\r\nDate: %s\r\n%sAccept-Ranges: bytes\r\n%sContent-Length: %llu\r\nContent-Range: bytes %llu-%llu/%llu\r\nContent-Type: %s\r\nLast-Modified: %s\r\n\r\n"
L_.str.209: ## @.str.209
.asciz "HTTP/1.1 200 OK\r\nDate: %s\r\n%sAccept-Ranges: bytes\r\n%sContent-Length: %llu\r\nContent-Type: %s\r\nLast-Modified: %s\r\n%s\r\n"
L_.str.210: ## @.str.210
.asciz "Couldn't list directory: %s"
L_.str.211: ## @.str.211
.asciz "<html>\n<head>\n<title>"
L_.str.212: ## @.str.212
.asciz "</title>\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n</head>\n<body>\n<h1>"
L_.str.213: ## @.str.213
.asciz "</h1>\n<tt><pre>\n"
L_.str.214: ## @.str.214
.asciz "<a href=\""
L_.str.218: ## @.str.218
.asciz "%10llu\n"
L_.str.219: ## @.str.219
.asciz "</pre></tt>\n<hr>\n"
L_.str.220: ## @.str.220
.asciz "</body>\n</html>\n"
L_.str.221: ## @.str.221
.asciz "HTTP/1.1 200 OK\r\nDate: %s\r\n%sAccept-Ranges: bytes\r\n%sContent-Length: %llu\r\nContent-Type: text/html; charset=UTF-8\r\n\r\n"
L_.str.224: ## @.str.224
.asciz "&"
L_.str.225: ## @.str.225
.asciz "'"
L_.str.226: ## @.str.226
.asciz """
L_.str.227: ## @.str.227
.asciz "%s \r\n"
L_.str.228: ## @.str.228
.asciz "<html><head><title>%d %s</title></head><body>\n<h1>%s</h1>\n%s\n<hr>\n%s</body></html>\n"
.p2align 4 ## @__const.default_reply.auth_header
L___const.default_reply.auth_header:
.asciz "WWW-Authenticate: Basic realm=\"User Visible Realm\"\r\n"
L_.str.229: ## @.str.229
.asciz "HTTP/1.1 %d %s\r\nDate: %s\r\n%sAccept-Ranges: bytes\r\n%sContent-Length: %llu\r\nContent-Type: text/html; charset=UTF-8\r\n%s\r\n"
L_.str.230: ## @.str.230
.asciz "fseek(%d)"
L_.str.231: ## @.str.231
.asciz "premature eof on fd %d\n"
L_.str.232: ## @.str.232
.asciz "error reading on fd %d: %s"
L_.str.233: ## @.str.233
.asciz "read %zd bytes, expecting %zu bytes on fd %d\n"
L_.str.234: ## @.str.234
.asciz "close()"
L_.str.235: ## @.str.235
.asciz "unlink(pidfile) failed"
L_.str.236: ## @.str.236
.asciz "%s - - %s \"%s %s HTTP/1.1\" %d %llu \"%s\" \"%s\"\n"
.p2align 4 ## @logencode.hex
_logencode.hex:
.asciz "0123456789ABCDEF"
L_.str.237: ## @.str.237
.asciz "[%d/%b/%Y:%H:%M:%S %z]"
L_str: ## @str
.asciz "this platform doesn't support acceptfilter"
L_str.238: ## @str.238
.asciz "\t--addr ip (default: all)\n\t\tIf multiple interfaces are present, specifies\n\t\twhich one to bind the listening port to.\n"
L_str.239: ## @str.239
.asciz "\t--maxconn number (default: system maximum)\n\t\tSpecifies how many concurrent connections to accept.\n"
L_str.240: ## @str.240
.asciz "\t--log filename (default: stdout)\n\t\tSpecifies which file to append the request log to.\n"
L_str.241: ## @str.241
.asciz "\t--syslog\n\t\tUse syslog for request log.\n"
L_str.242: ## @str.242
.asciz "\t--chroot (default: don't chroot)\n\t\tLocks server into wwwroot directory for added security.\n"
L_str.243: ## @str.243
.asciz "\t--daemon (default: don't daemonize)\n\t\tDetach from the controlling terminal and run in the background.\n"
L_str.244: ## @str.244
.asciz "\t--no-listing\n\t\tDo not serve listing if directory is requested.\n"
L_str.245: ## @str.245
.asciz "\t--mimetypes filename (optional)\n\t\tParses specified file for extension-MIME associations.\n"
L_str.246: ## @str.246
.asciz "\t--uid uid/uname, --gid gid/gname (default: don't privdrop)\n\t\tDrops privileges to given uid:gid after initialization.\n"
L_str.247: ## @str.247
.asciz "\t--pidfile filename (default: no pidfile)\n\t\tWrite PID to the specified file. Note that if you are\n\t\tusing --chroot, then the pidfile must be relative to,\n\t\tand inside the wwwroot.\n"
L_str.248: ## @str.248
.asciz "\t--no-keepalive\n\t\tDisables HTTP Keep-Alive functionality.\n"
L_str.249: ## @str.249
.asciz "\t--forward host url (default: don't forward)\n\t\tWeb forward (301 redirect).\n\t\tRequests to the host are redirected to the corresponding url.\n\t\tThe option may be specified multiple times, in which case\n\t\tthe host is matched in order of appearance.\n"
L_str.250: ## @str.250
.asciz "\t--forward-all url (default: don't forward)\n\t\tWeb forward (301 redirect).\n\t\tAll requests are redirected to the corresponding url.\n"
L_str.251: ## @str.251
.asciz "\t--no-server-id\n\t\tDon't identify the server type in headers\n\t\tor directory listings.\n"
L_str.252: ## @str.252
.asciz "\t--auth username:password\n\t\tEnable basic authentication.\n"
L_str.253: ## @str.253
.asciz "\t--forward-https\n\t\tIf the client requested HTTP, forward to HTTPS.\n\t\tThis is useful if darkhttpd is behind a reverse proxy\n\t\tthat supports SSL.\n"
L_str.254: ## @str.254
.asciz "\t--additional-header\n\t\tAdditional HTTP headers in the response.\n"
L_str.255: ## @str.255
.asciz "\t--ipv6\n\t\tListen on IPv6 address.\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:
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, #416
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-120]
Lloh3:
adrp x8, _copyright@PAGE
Lloh4:
add x8, x8, _copyright@PAGEOFF
Lloh5:
adrp x9, _pkgname@PAGE
Lloh6:
add x9, x9, _pkgname@PAGEOFF
stp x9, x8, [sp]
Lloh7:
adrp x0, l_.str@PAGE
Lloh8:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh9:
adrp x0, l_.str.20@PAGE
Lloh10:
add x0, x0, l_.str.20@PAGEOFF
bl _parse_mimetype_line
Lloh11:
adrp x0, l_.str.21@PAGE
Lloh12:
add x0, x0, l_.str.21@PAGEOFF
bl _parse_mimetype_line
Lloh13:
adrp x0, l_.str.22@PAGE
Lloh14:
add x0, x0, l_.str.22@PAGEOFF
bl _parse_mimetype_line
Lloh15:
adrp x0, l_.str.23@PAGE
Lloh16:
add x0, x0, l_.str.23@PAGEOFF
bl _parse_mimetype_line
Lloh17:
adrp x0, l_.str.24@PAGE
Lloh18:
add x0, x0, l_.str.24@PAGEOFF
bl _parse_mimetype_line
Lloh19:
adrp x0, l_.str.25@PAGE
Lloh20:
add x0, x0, l_.str.25@PAGEOFF
bl _parse_mimetype_line
Lloh21:
adrp x0, l_.str.26@PAGE
Lloh22:
add x0, x0, l_.str.26@PAGEOFF
bl _parse_mimetype_line
Lloh23:
adrp x0, l_.str.27@PAGE
Lloh24:
add x0, x0, l_.str.27@PAGEOFF
bl _parse_mimetype_line
Lloh25:
adrp x0, l_.str.28@PAGE
Lloh26:
add x0, x0, l_.str.28@PAGEOFF
bl _parse_mimetype_line
Lloh27:
adrp x0, l_.str.29@PAGE
Lloh28:
add x0, x0, l_.str.29@PAGEOFF
bl _parse_mimetype_line
Lloh29:
adrp x0, l_.str.30@PAGE
Lloh30:
add x0, x0, l_.str.30@PAGEOFF
bl _parse_mimetype_line
Lloh31:
adrp x0, l_.str.31@PAGE
Lloh32:
add x0, x0, l_.str.31@PAGEOFF
bl _parse_mimetype_line
Lloh33:
adrp x0, l_.str.32@PAGE
Lloh34:
add x0, x0, l_.str.32@PAGEOFF
bl _parse_mimetype_line
Lloh35:
adrp x0, l_.str.33@PAGE
Lloh36:
add x0, x0, l_.str.33@PAGEOFF
bl _parse_mimetype_line
Lloh37:
adrp x0, l_.str.34@PAGE
Lloh38:
add x0, x0, l_.str.34@PAGEOFF
bl _parse_mimetype_line
Lloh39:
adrp x0, l_.str.35@PAGE
Lloh40:
add x0, x0, l_.str.35@PAGEOFF
bl _parse_mimetype_line
Lloh41:
adrp x0, l_.str.36@PAGE
Lloh42:
add x0, x0, l_.str.36@PAGEOFF
bl _parse_mimetype_line
Lloh43:
adrp x0, l_.str.37@PAGE
Lloh44:
add x0, x0, l_.str.37@PAGEOFF
bl _parse_mimetype_line
Lloh45:
adrp x0, l_.str.38@PAGE
Lloh46:
add x0, x0, l_.str.38@PAGEOFF
bl _parse_mimetype_line
Lloh47:
adrp x0, l_.str.39@PAGE
Lloh48:
add x0, x0, l_.str.39@PAGEOFF
bl _parse_mimetype_line
cmp w20, #2
b.lt LBB0_288
; %bb.1:
b.ne LBB0_3
; %bb.2:
ldr x0, [x19, #8]
Lloh49:
adrp x1, l_.str.44@PAGE
Lloh50:
add x1, x1, l_.str.44@PAGEOFF
bl _strcmp
cbz w0, LBB0_288
LBB0_3:
bl _getuid
cbnz w0, LBB0_5
; %bb.4:
mov w8, #80
adrp x9, _bindport@PAGE
strh w8, [x9, _bindport@PAGEOFF]
LBB0_5:
ldr x22, [x19, #8]
mov x0, x22
bl _strlen
add x23, x0, #1
mov x0, x23
bl _malloc
cbz x0, LBB0_279
; %bb.6:
mov x21, x0
mov x1, x22
mov x2, x23
bl _memcpy
adrp x22, _wwwroot@PAGE
str x21, [x22, _wwwroot@PAGEOFF]
mov x0, x21
bl _strlen
cbz x0, LBB0_9
; %bb.7:
sub x8, x0, #1
ldrb w9, [x21, x8]
cmp w9, #47
b.ne LBB0_9
; %bb.8:
strb wzr, [x21, x8]
LBB0_9:
adrp x26, _want_daemon@PAGE
adrp x25, _pidfile_name@PAGE
adrp x27, _timeout_secs@PAGE
cmp w20, #3
b.lo LBB0_119
; %bb.10:
mov w23, #2
mov w21, #1
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _want_chroot@PAGE
strb w21, [x8, _want_chroot@PAGEOFF]
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
add w23, w23, #1
cmp w23, w20
b.ge LBB0_119
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_99 Depth 2
; Child Loop BB0_113 Depth 2
; Child Loop BB0_116 Depth 2
; Child Loop BB0_53 Depth 2
; Child Loop BB0_54 Depth 3
mov x8, x23
sxtw x24, w8
ldr x28, [x19, w23, sxtw #3]
mov x0, x28
Lloh51:
adrp x1, l_.str.45@PAGE
Lloh52:
add x1, x1, l_.str.45@PAGEOFF
bl _strcmp
cbz w0, LBB0_38
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh53:
adrp x1, l_.str.47@PAGE
Lloh54:
add x1, x1, l_.str.47@PAGEOFF
bl _strcmp
cbz w0, LBB0_40
; %bb.15: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh55:
adrp x1, l_.str.49@PAGE
Lloh56:
add x1, x1, l_.str.49@PAGEOFF
bl _strcmp
cbz w0, LBB0_42
; %bb.16: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh57:
adrp x1, l_.str.51@PAGE
Lloh58:
add x1, x1, l_.str.51@PAGEOFF
bl _strcmp
cbz w0, LBB0_44
; %bb.17: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh59:
adrp x1, l_.str.53@PAGE
Lloh60:
add x1, x1, l_.str.53@PAGEOFF
bl _strcmp
cbz w0, LBB0_11
; %bb.18: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh61:
adrp x1, l_.str.54@PAGE
Lloh62:
add x1, x1, l_.str.54@PAGEOFF
bl _strcmp
cbz w0, LBB0_46
; %bb.19: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh63:
adrp x1, l_.str.55@PAGE
Lloh64:
add x1, x1, l_.str.55@PAGEOFF
bl _strcmp
cbz w0, LBB0_47
; %bb.20: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh65:
adrp x1, l_.str.57@PAGE
Lloh66:
add x1, x1, l_.str.57@PAGEOFF
bl _strcmp
cbz w0, LBB0_49
; %bb.21: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh67:
adrp x1, l_.str.58@PAGE
Lloh68:
add x1, x1, l_.str.58@PAGEOFF
bl _strcmp
cbz w0, LBB0_50
; %bb.22: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh69:
adrp x1, l_.str.60@PAGE
Lloh70:
add x1, x1, l_.str.60@PAGEOFF
bl _strcmp
cbz w0, LBB0_68
; %bb.23: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh71:
adrp x1, l_.str.62@PAGE
Lloh72:
add x1, x1, l_.str.62@PAGEOFF
bl _strcmp
cbz w0, LBB0_70
; %bb.24: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh73:
adrp x1, l_.str.65@PAGE
Lloh74:
add x1, x1, l_.str.65@PAGEOFF
bl _strcmp
cbz w0, LBB0_74
; %bb.25: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh75:
adrp x1, l_.str.68@PAGE
Lloh76:
add x1, x1, l_.str.68@PAGEOFF
bl _strcmp
cbz w0, LBB0_78
; %bb.26: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh77:
adrp x1, l_.str.70@PAGE
Lloh78:
add x1, x1, l_.str.70@PAGEOFF
bl _strcmp
cbz w0, LBB0_80
; %bb.27: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh79:
adrp x1, l_.str.71@PAGE
Lloh80:
add x1, x1, l_.str.71@PAGEOFF
bl _strcmp
cbz w0, LBB0_81
; %bb.28: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh81:
adrp x1, l_.str.72@PAGE
Lloh82:
add x1, x1, l_.str.72@PAGEOFF
bl _strcmp
cbz w0, LBB0_82
; %bb.29: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh83:
adrp x1, l_.str.73@PAGE
Lloh84:
add x1, x1, l_.str.73@PAGEOFF
bl _strcmp
cbz w0, LBB0_83
; %bb.30: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh85:
adrp x1, l_.str.76@PAGE
Lloh86:
add x1, x1, l_.str.76@PAGEOFF
bl _strcmp
cbz w0, LBB0_87
; %bb.31: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh87:
adrp x1, l_.str.78@PAGE
Lloh88:
add x1, x1, l_.str.78@PAGEOFF
bl _strcmp
cbz w0, LBB0_89
; %bb.32: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh89:
adrp x1, l_.str.79@PAGE
Lloh90:
add x1, x1, l_.str.79@PAGEOFF
bl _strcmp
cbz w0, LBB0_90
; %bb.33: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh91:
adrp x1, l_.str.81@PAGE
Lloh92:
add x1, x1, l_.str.81@PAGEOFF
bl _strcmp
cbz w0, LBB0_92
; %bb.34: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh93:
adrp x1, l_.str.84@PAGE
Lloh94:
add x1, x1, l_.str.84@PAGEOFF
bl _strcmp
cbz w0, LBB0_104
; %bb.35: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh95:
adrp x1, l_.str.85@PAGE
Lloh96:
add x1, x1, l_.str.85@PAGEOFF
bl _strcmp
cbz w0, LBB0_108
; %bb.36: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
Lloh97:
adrp x1, l_.str.87@PAGE
Lloh98:
add x1, x1, l_.str.87@PAGEOFF
bl _strcmp
cbnz w0, LBB0_358
; %bb.37: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _inet6@PAGE
strb w21, [x8, _inet6@PAGEOFF]
b LBB0_12
LBB0_38: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_278
; %bb.39: ; in Loop: Header=BB0_13 Depth=1
ldr x0, [x19, x23, lsl #3]
bl _xstr_to_num
adrp x8, _bindport@PAGE
strh w0, [x8, _bindport@PAGEOFF]
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_40: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_281
; %bb.41: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [x19, x23, lsl #3]
adrp x9, _bindaddr@PAGE
str x8, [x9, _bindaddr@PAGEOFF]
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_42: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_287
; %bb.43: ; in Loop: Header=BB0_13 Depth=1
ldr x0, [x19, x23, lsl #3]
bl _xstr_to_num
adrp x8, _max_connections@PAGE
str w0, [x8, _max_connections@PAGEOFF]
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_44: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_289
; %bb.45: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [x19, x23, lsl #3]
adrp x9, _logfile_name@PAGE
str x8, [x9, _logfile_name@PAGEOFF]
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_46: ; in Loop: Header=BB0_13 Depth=1
strb w21, [x26, _want_daemon@PAGEOFF]
b LBB0_12
LBB0_47: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_328
; %bb.48: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [x19, x23, lsl #3]
adrp x9, _index_name@PAGE
str x8, [x9, _index_name@PAGEOFF]
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_49: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _no_listing@PAGE
strb w21, [x8, _no_listing@PAGEOFF]
b LBB0_12
LBB0_50: ; in Loop: Header=BB0_13 Depth=1
add x22, x24, #1
cmp w22, w20
b.ge LBB0_336
; %bb.51: ; in Loop: Header=BB0_13 Depth=1
ldr x24, [x19, x22, lsl #3]
mov x0, x24
Lloh99:
adrp x1, l_.str.114@PAGE
Lloh100:
add x1, x1, l_.str.114@PAGEOFF
bl _fopen
mov w23, #18433
cbz x0, LBB0_337
; %bb.52: ; in Loop: Header=BB0_13 Depth=1
mov x28, x0
bl _ftell
mov x26, x0
cmn x0, #1
b.eq LBB0_275
LBB0_53: ; Parent Loop BB0_13 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_54 Depth 3
mov x27, #0
LBB0_54: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_53 Depth=2
; => This Inner Loop Header: Depth=3
mov x0, x28
bl _fgetc
add w8, w0, #1
cmp w8, #14
lsl w8, w21, w8
and w8, w8, w23
ccmp w8, #0, #4, ls
b.ne LBB0_56
; %bb.55: ; in Loop: Header=BB0_54 Depth=3
add x27, x27, #1
b LBB0_54
LBB0_56: ; in Loop: Header=BB0_53 Depth=2
mov x24, x0
cbnz x27, LBB0_58
; %bb.57: ; in Loop: Header=BB0_53 Depth=2
cmn w24, #1
b.eq LBB0_66
LBB0_58: ; in Loop: Header=BB0_53 Depth=2
mov x0, x28
bl _ftell
cmn x0, #1
b.eq LBB0_275
; %bb.59: ; in Loop: Header=BB0_53 Depth=2
mov x25, x0
cmp w24, #13
b.ne LBB0_61
; %bb.60: ; in Loop: Header=BB0_53 Depth=2
mov x0, x28
bl _fgetc
cmp w0, #10
cinc x25, x25, eq
LBB0_61: ; in Loop: Header=BB0_53 Depth=2
add x23, x27, #1
mov x0, x23
bl _malloc
cbz x0, LBB0_279
; %bb.62: ; in Loop: Header=BB0_53 Depth=2
mov x24, x0
mov x0, x28
mov x1, x26
mov w2, #0
bl _fseek
cmn w0, #1
b.eq LBB0_276
; %bb.63: ; in Loop: Header=BB0_53 Depth=2
mov x0, x24
mov w1, #1
mov x2, x27
mov x3, x28
bl _fread
cmp x0, x27
b.ne LBB0_280
; %bb.64: ; in Loop: Header=BB0_53 Depth=2
strb wzr, [x24, x27]
mov x0, x28
mov x1, x25
mov w2, #0
bl _fseek
cmn w0, #1
b.eq LBB0_276
; %bb.65: ; in Loop: Header=BB0_53 Depth=2
mov x0, x24
bl _parse_mimetype_line
mov x0, x24
bl _free
mov x0, x28
bl _ftell
mov x26, x0
cmn x0, #1
mov w23, #18433
b.ne LBB0_53
b LBB0_275
LBB0_66: ; in Loop: Header=BB0_13 Depth=1
mov x0, x28
bl _fclose
mov x23, x22
adrp x22, _wwwroot@PAGE
LBB0_67: ; in Loop: Header=BB0_13 Depth=1
adrp x25, _pidfile_name@PAGE
adrp x27, _timeout_secs@PAGE
adrp x26, _want_daemon@PAGE
b LBB0_12
LBB0_68: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_340
; %bb.69: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [x19, x23, lsl #3]
adrp x9, _default_mimetype@PAGE
str x8, [x9, _default_mimetype@PAGEOFF]
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_70: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_346
; %bb.71: ; in Loop: Header=BB0_13 Depth=1
ldr x0, [x19, x23, lsl #3]
bl _getpwnam
cbnz x0, LBB0_73
; %bb.72: ; in Loop: Header=BB0_13 Depth=1
ldr x0, [x19, x23, lsl #3]
bl _xstr_to_num
; kill: def $w0 killed $w0 killed $x0
bl _getpwuid
cbz x0, LBB0_349
LBB0_73: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [x0, #16]
adrp x9, _drop_uid@PAGE
str w8, [x9, _drop_uid@PAGEOFF]
b LBB0_12
LBB0_74: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_347
; %bb.75: ; in Loop: Header=BB0_13 Depth=1
ldr x0, [x19, x23, lsl #3]
bl _getgrnam
cbnz x0, LBB0_77
; %bb.76: ; in Loop: Header=BB0_13 Depth=1
ldr x0, [x19, x23, lsl #3]
bl _xstr_to_num
; kill: def $w0 killed $w0 killed $x0
bl _getgrgid
cbz x0, LBB0_351
LBB0_77: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [x0, #16]
adrp x9, _drop_gid@PAGE
str w8, [x9, _drop_gid@PAGEOFF]
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_78: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_348
; %bb.79: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [x19, x23, lsl #3]
str x8, [x25, _pidfile_name@PAGEOFF]
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_80: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _want_keepalive@PAGE
strb w21, [x8, _want_keepalive@PAGEOFF]
b LBB0_12
LBB0_81: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _want_accf@PAGE
strb w21, [x8, _want_accf@PAGEOFF]
b LBB0_12
LBB0_82: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _syslog_enabled@PAGE
strb w21, [x8, _syslog_enabled@PAGEOFF]
b LBB0_12
LBB0_83: ; in Loop: Header=BB0_13 Depth=1
add x8, x24, #1
cmp w8, w20
b.ge LBB0_352
; %bb.84: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #2
cmp w23, w20
adrp x28, _forward_map@PAGE
b.ge LBB0_353
; %bb.85: ; in Loop: Header=BB0_13 Depth=1
mov x27, x22
ldr x22, [x19, x8, lsl #3]
ldr x25, [x19, x23, lsl #3]
adrp x9, _forward_map_size@PAGE
ldr x26, [x9, _forward_map_size@PAGEOFF]
add x8, x26, #1
str x8, [x9, _forward_map_size@PAGEOFF]
ldr x0, [x28, _forward_map@PAGEOFF]
lsl x24, x8, #4
mov x1, x24
bl _realloc
cbz x0, LBB0_354
; %bb.86: ; in Loop: Header=BB0_13 Depth=1
str x0, [x28, _forward_map@PAGEOFF]
add x8, x0, x26, lsl #4
stp x22, x25, [x8]
; kill: def $w23 killed $w23 killed $x23 def $x23
mov x22, x27
b LBB0_67
LBB0_87: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_355
; %bb.88: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [x19, x23, lsl #3]
adrp x9, _forward_all_url@PAGE
str x8, [x9, _forward_all_url@PAGEOFF]
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_89: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _want_server_id@PAGE
strb w21, [x8, _want_server_id@PAGEOFF]
b LBB0_12
LBB0_90: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_356
; %bb.91: ; in Loop: Header=BB0_13 Depth=1
ldr x0, [x19, x23, lsl #3]
bl _xstr_to_num
str w0, [x27, _timeout_secs@PAGEOFF]
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_92: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_357
; %bb.93: ; in Loop: Header=BB0_13 Depth=1
ldr x24, [x19, x23, lsl #3]
mov x0, x24
mov w1, #58
bl _strchr
cbz x0, LBB0_357
; %bb.94: ; in Loop: Header=BB0_13 Depth=1
str x23, [sp, #32] ; 8-byte Folded Spill
mov x23, x24
mov x0, x24
bl _strlen
mov x28, x0
add w8, w28, #2
mov w9, #21846
movk w9, #21845, lsl #16
smull x8, w8, w9
lsr x9, x8, #63
lsr x8, x8, #32
add w8, w8, w9
sbfiz x24, x8, #2, #32
orr w8, w24, #0x1
sxtw x0, w8
bl _malloc
cbz x0, LBB0_118
; %bb.95: ; in Loop: Header=BB0_13 Depth=1
cmp w28, #1
b.lt LBB0_105
; %bb.96: ; in Loop: Header=BB0_13 Depth=1
mov w12, #0
add x8, x0, #3
b LBB0_99
LBB0_97: ; in Loop: Header=BB0_99 Depth=2
ldrb w12, [x23, w9, sxtw]
add w9, w9, #1
; kill: def $w9 killed $w9 def $x9
LBB0_98: ; in Loop: Header=BB0_99 Depth=2
ldrb w10, [x23, x10]
lsl w13, w11, #8
bfi w13, w10, #16, #8
mov x14, x12
bfi w14, w11, #8, #8
lsr x10, x10, #2
Lloh101:
adrp x11, l___const.base64_encode.base64_table@PAGE
Lloh102:
add x11, x11, l___const.base64_encode.base64_table@PAGEOFF
ldrb w10, [x11, x10]
sturb w10, [x8, #-3]
ubfx x10, x13, #12, #6
ldrb w10, [x11, x10]
sturb w10, [x8, #-2]
ubfx x10, x14, #6, #6
ldrb w10, [x11, x10]
sturb w10, [x8, #-1]
and x10, x12, #0x3f
ldrb w10, [x11, x10]
strb w10, [x8], #4
mov x12, x9
cmp w9, w28
b.ge LBB0_105
LBB0_99: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
sxtw x10, w12
add x9, x10, #1
cmp w9, w28
b.ge LBB0_101
; %bb.100: ; in Loop: Header=BB0_99 Depth=2
ldrb w11, [x23, x9]
add w9, w12, #2
; kill: def $w9 killed $w9 def $x9
b LBB0_102
LBB0_101: ; in Loop: Header=BB0_99 Depth=2
mov w11, #0
LBB0_102: ; in Loop: Header=BB0_99 Depth=2
cmp w9, w28
b.lt LBB0_97
; %bb.103: ; in Loop: Header=BB0_99 Depth=2
mov w12, #0
b LBB0_98
LBB0_104: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _forward_to_https@PAGE
strb w21, [x8, _forward_to_https@PAGEOFF]
b LBB0_12
LBB0_105: ; in Loop: Header=BB0_13 Depth=1
mov w8, #21846
movk w8, #21845, lsl #16
smull x8, w28, w8
lsr x9, x8, #63
lsr x8, x8, #32
add w8, w8, w9
add w8, w8, w8, lsl #1
sub w8, w28, w8
sub w9, w8, #1
cmp w9, #1
mov w10, #61
b.hi LBB0_117
; %bb.106: ; in Loop: Header=BB0_13 Depth=1
Lloh103:
adrp x9, l___const.base64_encode.mod_table@PAGE
Lloh104:
add x9, x9, l___const.base64_encode.mod_table@PAGEOFF
ldr w8, [x9, w8, uxtw #2]
cmp w8, #1
csinc w8, w8, wzr, gt
cmp w8, #8
b.hs LBB0_110
; %bb.107: ; in Loop: Header=BB0_13 Depth=1
mov x9, #0
b LBB0_115
LBB0_108: ; in Loop: Header=BB0_13 Depth=1
add x23, x24, #1
cmp w23, w20
b.ge LBB0_359
; %bb.109: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [x19, x23, lsl #3]
adrp x9, __additional_header@PAGE
str x8, [x9, __additional_header@PAGEOFF]
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_110: ; in Loop: Header=BB0_13 Depth=1
sub x9, x8, #1
sub w10, w24, #1
sub w11, w10, w9
cmp w11, w10
lsr x9, x9, #32
ccmp x9, #0, #0, le
b.eq LBB0_112
; %bb.111: ; in Loop: Header=BB0_13 Depth=1
mov x9, #0
mov w10, #61
b LBB0_115
LBB0_112: ; in Loop: Header=BB0_13 Depth=1
and x9, x8, #0x7ffffff8
mov x11, x9
mov x13, #15677
movk x13, #15677, lsl #16
movk x13, #15677, lsl #32
movk x13, #15677, lsl #48
LBB0_113: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
add x12, x0, w10, sxtw
stur x13, [x12, #-7]
sub w10, w10, #8
sub x11, x11, #8
cbnz x11, LBB0_113
; %bb.114: ; in Loop: Header=BB0_13 Depth=1
cmp x9, x8
mov w10, #61
b.eq LBB0_117
LBB0_115: ; in Loop: Header=BB0_13 Depth=1
sub x8, x8, x9
mvn w9, w9
add w9, w9, w24
LBB0_116: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
strb w10, [x0, w9, sxtw]
sub w9, w9, #1
sub x8, x8, #1
cbnz x8, LBB0_116
LBB0_117: ; in Loop: Header=BB0_13 Depth=1
strb wzr, [x0, x24]
LBB0_118: ; in Loop: Header=BB0_13 Depth=1
str x0, [sp]
mov x24, x0
Lloh105:
adrp x0, _auth_key@PAGE
Lloh106:
add x0, x0, _auth_key@PAGEOFF
Lloh107:
adrp x1, l_.str.83@PAGE
Lloh108:
add x1, x1, l_.str.83@PAGEOFF
bl _xasprintf
mov x0, x24
bl _free
ldr x23, [sp, #32] ; 8-byte Folded Reload
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_12
LBB0_119:
Lloh109:
adrp x8, _mime_map@PAGE
Lloh110:
ldr x0, [x8, _mime_map@PAGEOFF]
Lloh111:
adrp x8, _mime_map_size@PAGE
Lloh112:
ldr x1, [x8, _mime_map_size@PAGEOFF]
Lloh113:
adrp x3, _mime_mapping_cmp@PAGE
Lloh114:
add x3, x3, _mime_mapping_cmp@PAGEOFF
mov w2, #16
bl _qsort
ldr w8, [x27, _timeout_secs@PAGEOFF]
str x8, [sp]
Lloh115:
adrp x0, _keep_alive_field@PAGE
Lloh116:
add x0, x0, _keep_alive_field@PAGEOFF
Lloh117:
adrp x1, l_.str.1@PAGE
Lloh118:
add x1, x1, l_.str.1@PAGEOFF
bl _xasprintf
adrp x8, _want_server_id@PAGE
ldrb w8, [x8, _want_server_id@PAGEOFF]
adrp x19, _server_hdr@PAGE
tbz w8, #0, LBB0_122
; %bb.120:
mov w0, #1
bl _malloc
cbz x0, LBB0_315
; %bb.121:
strb wzr, [x0]
str x0, [x19, _server_hdr@PAGEOFF]
b LBB0_123
LBB0_122:
Lloh119:
adrp x8, _pkgname@PAGE
Lloh120:
add x8, x8, _pkgname@PAGEOFF
str x8, [sp]
Lloh121:
adrp x0, _server_hdr@PAGE
Lloh122:
add x0, x0, _server_hdr@PAGEOFF
Lloh123:
adrp x1, l_.str.2@PAGE
Lloh124:
add x1, x1, l_.str.2@PAGEOFF
bl _xasprintf
LBB0_123:
adrp x8, _inet6@PAGE
ldrb w8, [x8, _inet6@PAGEOFF]
cmp w8, #1
b.ne LBB0_126
; %bb.124:
stp xzr, xzr, [sp, #96]
str wzr, [sp, #120]
str xzr, [sp, #112]
add x8, sp, #96
add x2, x8, #8
Lloh125:
adrp x8, _bindaddr@PAGE
Lloh126:
ldr x8, [x8, _bindaddr@PAGEOFF]
Lloh127:
adrp x9, l_.str.120@PAGE
Lloh128:
add x9, x9, l_.str.120@PAGEOFF
cmp x8, #0
csel x1, x9, x8, eq
mov w0, #30
bl _inet_pton
cmn w0, #1
b.eq LBB0_302
; %bb.125:
mov w0, #30
b LBB0_129
LBB0_126:
stp xzr, xzr, [sp, #240]
Lloh129:
adrp x8, _bindaddr@PAGE
Lloh130:
ldr x0, [x8, _bindaddr@PAGEOFF]
cbz x0, LBB0_128
; %bb.127:
bl _inet_addr
str w0, [sp, #244]
cmn w0, #1
b.eq LBB0_302
LBB0_128:
mov w0, #2
LBB0_129:
mov w1, #1
mov w2, #0
bl _socket
adrp x8, _sockin@PAGE
str w0, [x8, _sockin@PAGEOFF]
cmn w0, #1
b.eq LBB0_290
; %bb.130:
mov w19, #1
stur w19, [x29, #-136]
sub x3, x29, #136
mov w1, #65535
mov w2, #4
mov w4, #4
bl _setsockopt
cmn w0, #1
b.eq LBB0_291
; %bb.131:
stur w19, [x29, #-136]
adrp x19, _sockin@PAGE
ldr w0, [x19, _sockin@PAGEOFF]
sub x3, x29, #136
mov w1, #6
mov w2, #1
mov w4, #4
bl _setsockopt
cmn w0, #1
b.eq LBB0_292
; %bb.132:
adrp x8, _inet6@PAGE
ldrb w8, [x8, _inet6@PAGEOFF]
cmp w8, #1
b.ne LBB0_137
; %bb.133:
mov w8, #30
strb w8, [sp, #97]
adrp x20, _bindport@PAGE
ldrh w8, [x20, _bindport@PAGEOFF]
rev w8, w8
lsr w8, w8, #16
strh w8, [sp, #98]
ldr w0, [x19, _sockin@PAGEOFF]
mov x21, x19
mov w19, #28
add x1, sp, #96
mov w2, #28
bl _bind
cmn w0, #1
b.eq LBB0_293
; %bb.134:
str w19, [sp, #64]
ldr w0, [x21, _sockin@PAGEOFF]
add x19, sp, #96
add x1, sp, #96
add x2, sp, #64
bl _getsockname
cmn w0, #1
b.eq LBB0_294
; %bb.135:
adrp x8, _inet6@PAGE
ldrb w8, [x8, _inet6@PAGEOFF]
cmp w8, #1
b.ne LBB0_141
; %bb.136:
add x1, x19, #8
Lloh131:
adrp x19, _get_address_text.text_addr@PAGE
Lloh132:
add x19, x19, _get_address_text.text_addr@PAGEOFF
mov w0, #30
mov x2, x19
mov w3, #46
bl _inet_ntop
b LBB0_142
LBB0_137:
mov w8, #2
strb w8, [sp, #241]
adrp x20, _bindport@PAGE
ldrh w8, [x20, _bindport@PAGEOFF]
rev w8, w8
lsr w8, w8, #16
strh w8, [sp, #242]
ldr w0, [x19, _sockin@PAGEOFF]
mov x21, x19
mov w19, #16
add x1, sp, #240
mov w2, #16
bl _bind
cmn w0, #1
b.eq LBB0_293
; %bb.138:
str w19, [sp, #64]
ldr w0, [x21, _sockin@PAGEOFF]
add x19, sp, #240
add x1, sp, #240
add x2, sp, #64
bl _getsockname
cmn w0, #1
b.eq LBB0_294
; %bb.139:
adrp x8, _inet6@PAGE
ldrb w8, [x8, _inet6@PAGEOFF]
cmp w8, #1
b.ne LBB0_143
; %bb.140:
orr x1, x19, #0x4
Lloh133:
adrp x19, _get_address_text.text_addr@PAGE
Lloh134:
add x19, x19, _get_address_text.text_addr@PAGEOFF
mov w0, #30
mov x2, x19
mov w3, #46
bl _inet_ntop
b LBB0_144
LBB0_141:
ldr w0, [sp, #104]
bl _inet_ntoa
mov x19, x0
LBB0_142:
ldrh w8, [x20, _bindport@PAGEOFF]
stp x19, x8, [sp]
Lloh135:
adrp x0, l_.str.127@PAGE
Lloh136:
add x0, x0, l_.str.127@PAGEOFF
b LBB0_145
LBB0_143:
ldr w0, [sp, #244]
bl _inet_ntoa
mov x19, x0
LBB0_144:
ldrh w8, [x20, _bindport@PAGEOFF]
stp x19, x8, [sp]
Lloh137:
adrp x0, l_.str.128@PAGE
Lloh138:
add x0, x0, l_.str.128@PAGEOFF
LBB0_145:
bl _printf
Lloh139:
adrp x8, _sockin@PAGE
Lloh140:
ldr w0, [x8, _sockin@PAGEOFF]
Lloh141:
adrp x8, _max_connections@PAGE
Lloh142:
ldr w1, [x8, _max_connections@PAGEOFF]
bl _listen
cmn w0, #1
b.eq LBB0_295
; %bb.146:
adrp x8, _want_accf@PAGE
ldrb w8, [x8, _want_accf@PAGEOFF]
cmp w8, #1
b.ne LBB0_148
; %bb.147:
Lloh143:
adrp x0, l_str@PAGE
Lloh144:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB0_148:
Lloh145:
adrp x8, _logfile_name@PAGE
Lloh146:
ldr x0, [x8, _logfile_name@PAGEOFF]
adrp x19, _logfile@PAGE
cbz x0, LBB0_151
; %bb.149:
Lloh147:
adrp x1, l_.str.4@PAGE
Lloh148:
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
str x0, [x19, _logfile@PAGEOFF]
cbnz x0, LBB0_152
; %bb.150:
Lloh149:
adrp x8, _logfile_name@PAGE
Lloh150:
ldr x8, [x8, _logfile_name@PAGEOFF]
str x8, [sp]
Lloh151:
adrp x1, l_.str.5@PAGE
Lloh152:
add x1, x1, l_.str.5@PAGEOFF
bl _err
LBB0_151:
Lloh153:
adrp x8, ___stdoutp@GOTPAGE
Lloh154:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh155:
ldr x8, [x8]
str x8, [x19, _logfile@PAGEOFF]
LBB0_152:
ldrb w8, [x26, _want_daemon@PAGEOFF]
adrp x20, _fd_null@PAGE
cmp w8, #1
b.ne LBB0_156
; %bb.153:
Lloh156:
adrp x0, _lifeline@PAGE
Lloh157:
add x0, x0, _lifeline@PAGEOFF
bl _pipe
cmn w0, #1
b.eq LBB0_316
; %bb.154:
str xzr, [sp]
Lloh158:
adrp x0, l_.str.133@PAGE
Lloh159:
add x0, x0, l_.str.133@PAGEOFF
mov w1, #2
bl _open
str w0, [x20, _fd_null@PAGEOFF]
cmn w0, #1
b.eq LBB0_317
; %bb.155:
bl _fork
cbnz w0, LBB0_296
LBB0_156:
mov w0, #13
mov w1, #1
bl _signal
cmn x0, #1
b.eq LBB0_298
; %bb.157:
Lloh160:
adrp x1, _stop_running@PAGE
Lloh161:
add x1, x1, _stop_running@PAGEOFF
mov w0, #2
bl _signal
cmn x0, #1
b.eq LBB0_299
; %bb.158:
Lloh162:
adrp x1, _stop_running@PAGE
Lloh163:
add x1, x1, _stop_running@PAGEOFF
mov w0, #15
bl _signal
cmn x0, #1
b.eq LBB0_300
; %bb.159:
adrp x8, _want_chroot@PAGE
ldrb w8, [x8, _want_chroot@PAGEOFF]
cmp w8, #1
b.ne LBB0_163
; %bb.160:
bl _tzset
ldr x0, [x22, _wwwroot@PAGEOFF]
bl _chdir
mov x8, x0
ldr x0, [x22, _wwwroot@PAGEOFF]
cmn w8, #1
b.eq LBB0_318
; %bb.161:
bl _chroot
ldr x8, [x22, _wwwroot@PAGEOFF]
cmn w0, #1
b.eq LBB0_319
; %bb.162:
str x8, [sp]
Lloh164:
adrp x0, l_.str.11@PAGE
Lloh165:
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldr x8, [x22, _wwwroot@PAGEOFF]
strb wzr, [x8]
LBB0_163:
adrp x21, _drop_gid@PAGE
ldr w8, [x21, _drop_gid@PAGEOFF]
cmn w8, #1
adrp x19, _drop_uid@PAGE
b.eq LBB0_167
; %bb.164:
str w8, [sp, #96]
add x1, sp, #96
mov w0, #1
bl _setgroups
mov x8, x0
ldr w0, [x21, _drop_gid@PAGEOFF]
cmn w8, #1
b.eq LBB0_303
; %bb.165:
; kill: def $w0 killed $w0 killed $x0
bl _setgid
ldr w8, [x21, _drop_gid@PAGEOFF]
cmn w0, #1
b.eq LBB0_304
; %bb.166:
str x8, [sp]
Lloh166:
adrp x0, l_.str.14@PAGE
Lloh167:
add x0, x0, l_.str.14@PAGEOFF
bl _printf
LBB0_167:
ldr w0, [x19, _drop_uid@PAGEOFF]
cmn w0, #1
b.eq LBB0_170
; %bb.168:
bl _setuid
ldr w8, [x19, _drop_uid@PAGEOFF]
cmn w0, #1
b.eq LBB0_305
; %bb.169:
str x8, [sp]
Lloh168:
adrp x0, l_.str.16@PAGE
Lloh169:
add x0, x0, l_.str.16@PAGEOFF
bl _printf
LBB0_170:
ldr x0, [x25, _pidfile_name@PAGEOFF]
adrp x21, _pidfile_fd@PAGE
cbz x0, LBB0_174
; %bb.171:
mov w8, #384
str x8, [sp]
mov w1, #1573
bl _open
cmn w0, #1
b.eq LBB0_306
; %bb.172:
mov x19, x0
str w0, [x21, _pidfile_fd@PAGEOFF]
mov x1, #0
bl _ftruncate
cmn w0, #1
b.eq LBB0_310
; %bb.173:
bl _getpid
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh170:
adrp x2, l_.str.143@PAGE
Lloh171:
add x2, x2, l_.str.143@PAGEOFF
add x0, sp, #96
mov w1, #16
bl _snprintf
add x0, sp, #96
bl _strlen
mov x2, x0
add x1, sp, #96
mov x0, x19
mov x3, #0
bl _pwrite
mov x19, x0
add x0, sp, #96
bl _strlen
cmp x19, x0
b.ne LBB0_313
LBB0_174:
ldrb w8, [x26, _want_daemon@PAGEOFF]
cmp w8, #1
adrp x19, _sockin@PAGE
b.ne LBB0_189
; %bb.175:
ldr w8, [x20, _fd_null@PAGEOFF]
cmn w8, #1
b.eq LBB0_189
; %bb.176:
bl _setsid
cmn w0, #1
b.eq LBB0_320
; %bb.177:
Lloh172:
adrp x8, _lifeline@PAGE
Lloh173:
ldr w0, [x8, _lifeline@PAGEOFF]
bl _close
cmn w0, #1
b.ne LBB0_179
; %bb.178:
Lloh174:
adrp x0, l_.str.149@PAGE
Lloh175:
add x0, x0, l_.str.149@PAGEOFF
bl _warn
LBB0_179:
Lloh176:
adrp x8, _lifeline@PAGE+4
Lloh177:
ldr w0, [x8, _lifeline@PAGEOFF+4]
bl _close
cmn w0, #1
b.ne LBB0_181
; %bb.180:
Lloh178:
adrp x0, l_.str.150@PAGE
Lloh179:
add x0, x0, l_.str.150@PAGEOFF
bl _warn
LBB0_181:
ldr w0, [x20, _fd_null@PAGEOFF]
mov w1, #0
bl _dup2
cmn w0, #1
b.ne LBB0_183
; %bb.182:
Lloh180:
adrp x0, l_.str.151@PAGE
Lloh181:
add x0, x0, l_.str.151@PAGEOFF
bl _warn
LBB0_183:
ldr w0, [x20, _fd_null@PAGEOFF]
mov w1, #1
bl _dup2
cmn w0, #1
b.ne LBB0_185
; %bb.184:
Lloh182:
adrp x0, l_.str.152@PAGE
Lloh183:
add x0, x0, l_.str.152@PAGEOFF
bl _warn
LBB0_185:
ldr w0, [x20, _fd_null@PAGEOFF]
mov w1, #2
bl _dup2
cmn w0, #1
b.ne LBB0_187
; %bb.186:
Lloh184:
adrp x0, l_.str.153@PAGE
Lloh185:
add x0, x0, l_.str.153@PAGEOFF
bl _warn
LBB0_187:
ldr w0, [x20, _fd_null@PAGEOFF]
cmp w0, #3
b.lt LBB0_189
; %bb.188:
bl _close
LBB0_189:
Lloh186:
adrp x8, _running@PAGE
Lloh187:
ldr w8, [x8, _running@PAGEOFF]
cbz w8, LBB0_254
; %bb.190:
add x25, sp, #96
add x8, sp, #64
add x8, x8, #8
str x8, [sp, #32] ; 8-byte Folded Spill
add x28, sp, #96
adrp x24, _now@PAGE
mov w26, #1
movi d8, #0xffffffff00000000
b LBB0_193
LBB0_191: ; in Loop: Header=BB0_193 Depth=1
bl ___error
ldr w8, [x0]
cmp w8, #4
b.ne LBB0_277
LBB0_192: ; in Loop: Header=BB0_193 Depth=1
Lloh188:
adrp x8, _running@PAGE
Lloh189:
ldr w8, [x8, _running@PAGEOFF]
cbz w8, LBB0_254
LBB0_193: ; =>This Loop Header: Depth=1
; Child Loop BB0_201 Depth 2
; Child Loop BB0_233 Depth 2
mov w21, #0
ldrsw x8, [x27, _timeout_secs@PAGEOFF]
str x8, [sp, #40]
str wzr, [sp, #48]
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #96]
stp q0, q0, [sp, #128]
str q0, [sp, #160]
stp q0, q0, [x25, #80]
str q0, [x25, #112]
stp q0, q0, [x25, #144]
stp q0, q0, [x25, #176]
stp q0, q0, [x25, #208]
stp q0, q0, [x25, #240]
adrp x8, _accepting@PAGE
ldrb w8, [x8, _accepting@PAGEOFF]
tbnz w8, #0, LBB0_197
; %bb.194: ; in Loop: Header=BB0_193 Depth=1
ldr w20, [x19, _sockin@PAGEOFF]
add x1, sp, #96
mov x0, x20
mov w2, #0
bl ___darwin_check_fd_set_overflow
cbz w0, LBB0_196
; %bb.195: ; in Loop: Header=BB0_193 Depth=1
sxtw x8, w20
lsl w9, w26, w8
lsr x8, x8, #3
and x8, x8, #0x1ffffffffffffffc
add x11, sp, #96
ldr w10, [x11, x8]
orr w9, w10, w9
add x28, sp, #96
str w9, [x11, x8]
LBB0_196: ; in Loop: Header=BB0_193 Depth=1
ldr w8, [x19, _sockin@PAGEOFF]
cmp w8, #0
csel w21, w8, wzr, gt
LBB0_197: ; in Loop: Header=BB0_193 Depth=1
mov x19, x27
Lloh190:
adrp x8, _connlist@PAGE
Lloh191:
ldr x23, [x8, _connlist@PAGEOFF]
cbz x23, LBB0_207
; %bb.198: ; in Loop: Header=BB0_193 Depth=1
mov w8, #0
b LBB0_201
LBB0_199: ; in Loop: Header=BB0_201 Depth=2
ldr w8, [x23]
cmp w21, w8
csel w21, w21, w8, gt
mov w8, #1
LBB0_200: ; in Loop: Header=BB0_201 Depth=2
mov x23, x27
cbz x27, LBB0_208
LBB0_201: ; Parent Loop BB0_193 Depth=1
; => This Inner Loop Header: Depth=2
ldr x27, [x23]
ldr w9, [x23, #48]
sub w10, w9, #1
cmp w10, #2
b.hs LBB0_203
; %bb.202: ; in Loop: Header=BB0_201 Depth=2
ldr w20, [x23, #16]!
add x22, sp, #240
add x1, sp, #240
b LBB0_205
LBB0_203: ; in Loop: Header=BB0_201 Depth=2
cbnz w9, LBB0_200
; %bb.204: ; in Loop: Header=BB0_201 Depth=2
ldr w20, [x23, #16]!
add x22, sp, #96
add x1, sp, #96
LBB0_205: ; in Loop: Header=BB0_201 Depth=2
mov x0, x20
mov w2, #0
bl ___darwin_check_fd_set_overflow
cbz w0, LBB0_199
; %bb.206: ; in Loop: Header=BB0_201 Depth=2
sxtw x8, w20
lsl w9, w26, w20
lsr x8, x8, #3
and x8, x8, #0x1ffffffffffffffc
ldr w10, [x22, x8]
orr w9, w10, w9
str w9, [x22, x8]
b LBB0_199
LBB0_207: ; in Loop: Header=BB0_193 Depth=1
mov w8, #0
LBB0_208: ; in Loop: Header=BB0_193 Depth=1
mov x27, x19
ldr w9, [x19, _timeout_secs@PAGEOFF]
cmp w9, #0
cset w9, ne
add w0, w21, #1
cmp w8, #0
cset w8, ne
ands w20, w9, w8
add x8, sp, #40
csel x4, x8, xzr, ne
add x1, sp, #96
add x2, sp, #240
mov x3, #0
bl _select
cbnz w0, LBB0_210
; %bb.209: ; in Loop: Header=BB0_193 Depth=1
tbz w20, #0, LBB0_274
LBB0_210: ; in Loop: Header=BB0_193 Depth=1
cmn w0, #1
adrp x19, _sockin@PAGE
b.eq LBB0_191
; %bb.211: ; in Loop: Header=BB0_193 Depth=1
mov x0, #0
bl _time
str x0, [x24, _now@PAGEOFF]
ldr w20, [x19, _sockin@PAGEOFF]
add x1, sp, #96
mov x0, x20
mov w2, #0
bl ___darwin_check_fd_set_overflow
cbz w0, LBB0_230
; %bb.212: ; in Loop: Header=BB0_193 Depth=1
sxtw x8, w20
lsr x9, x8, #3
and x9, x9, #0x1ffffffffffffffc
ldr w9, [x28, x9]
lsr w8, w9, w8
tbz w8, #0, LBB0_230
; %bb.213: ; in Loop: Header=BB0_193 Depth=1
adrp x8, _inet6@PAGE
ldrb w8, [x8, _inet6@PAGEOFF]
cmp w8, #1
b.ne LBB0_215
; %bb.214: ; in Loop: Header=BB0_193 Depth=1
add x1, sp, #64
mov w8, #28
str w8, [sp, #60]
stp xzr, xzr, [sp, #72]
str xzr, [sp, #64]
str wzr, [sp, #88]
b LBB0_216
LBB0_215: ; in Loop: Header=BB0_193 Depth=1
sub x1, x29, #136
mov w8, #16
str w8, [sp, #60]
stp xzr, xzr, [x29, #-136]
LBB0_216: ; in Loop: Header=BB0_193 Depth=1
ldr w0, [x19, _sockin@PAGEOFF]
add x2, sp, #60
bl _accept
cmn w0, #1
b.eq LBB0_222
; %bb.217: ; in Loop: Header=BB0_193 Depth=1
mov x21, x0
mov w0, #240
bl _malloc
cbz x0, LBB0_282
; %bb.218: ; in Loop: Header=BB0_193 Depth=1
mov x20, x0
stur xzr, [x0, #28]
stur xzr, [x0, #20]
ldr x8, [x24, _now@PAGEOFF]
str x8, [x0, #40]
movi.2d v0, #0000000000000000
stur q0, [x0, #56]
stur q0, [x0, #72]
stur q0, [x0, #88]
stur q0, [x0, #104]
stur q0, [x0, #120]
stur q0, [x0, #136]
stur q0, [x0, #152]
stur q0, [x0, #164]
str w26, [x0, #180]
str xzr, [x0, #192]
str d8, [x0, #200]
stp q0, q0, [x0, #208]
mov w8, #3
str w8, [x0, #48]
str w21, [x0, #16]
mov x0, x21
mov w1, #3
bl _fcntl
cmn w0, #1
b.eq LBB0_285
; %bb.219: ; in Loop: Header=BB0_193 Depth=1
orr w8, w0, #0x4
str x8, [sp]
mov x0, x21
mov w1, #4
bl _fcntl
cmn w0, #1
b.eq LBB0_286
; %bb.220: ; in Loop: Header=BB0_193 Depth=1
str wzr, [x20, #48]
adrp x8, _inet6@PAGE
ldrb w8, [x8, _inet6@PAGEOFF]
cmp w8, #1
b.ne LBB0_226
; %bb.221: ; in Loop: Header=BB0_193 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr q0, [x8]
stur q0, [x20, #20]
b LBB0_227
LBB0_222: ; in Loop: Header=BB0_193 Depth=1
bl ___error
ldr w8, [x0]
cmp w8, #24
b.eq LBB0_224
; %bb.223: ; in Loop: Header=BB0_193 Depth=1
bl ___error
ldr w8, [x0]
cmp w8, #23
b.ne LBB0_225
LBB0_224: ; in Loop: Header=BB0_193 Depth=1
adrp x8, _accepting@PAGE
strb w26, [x8, _accepting@PAGEOFF]
LBB0_225: ; in Loop: Header=BB0_193 Depth=1
Lloh192:
adrp x0, l_.str.156@PAGE
Lloh193:
add x0, x0, l_.str.156@PAGEOFF
bl _warn
b LBB0_230
LBB0_226: ; in Loop: Header=BB0_193 Depth=1
ldur w8, [x29, #-132]
str w8, [x20, #20]
LBB0_227: ; in Loop: Header=BB0_193 Depth=1
Lloh194:
adrp x8, _connlist@PAGE
Lloh195:
ldr x8, [x8, _connlist@PAGEOFF]
str x8, [x20]
cbz x8, LBB0_229
; %bb.228: ; in Loop: Header=BB0_193 Depth=1
str x20, [x8, #8]
LBB0_229: ; in Loop: Header=BB0_193 Depth=1
Lloh196:
adrp x8, _connlist@PAGE
Lloh197:
add x8, x8, _connlist@PAGEOFF
str x20, [x8]
str x8, [x20, #8]
mov x0, x20
bl _poll_recv_request
LBB0_230: ; in Loop: Header=BB0_193 Depth=1
Lloh198:
adrp x8, _connlist@PAGE
Lloh199:
ldr x23, [x8, _connlist@PAGEOFF]
cbnz x23, LBB0_233
b LBB0_192
LBB0_231: ; in Loop: Header=BB0_233 Depth=2
ldr w21, [x20, #16]
mov w8, #-1
str w8, [x20, #16]
mov x0, x20
bl _free_connection
str w21, [x20, #16]
movi.2d v0, #0000000000000000
stur q0, [x20, #56]
stur q0, [x20, #72]
stur q0, [x20, #88]
stur q0, [x20, #104]
stur q0, [x20, #120]
stur q0, [x20, #136]
stur q0, [x20, #152]
stur q0, [x20, #164]
str w26, [x20, #180]
str xzr, [x20, #192]
str d8, [x20, #200]
str wzr, [x20, #48]
stp q0, q0, [x20, #208]
LBB0_232: ; in Loop: Header=BB0_233 Depth=2
cbz x23, LBB0_192
LBB0_233: ; Parent Loop BB0_193 Depth=1
; => This Inner Loop Header: Depth=2
mov x20, x23
ldr w8, [x27, _timeout_secs@PAGEOFF]
cmp w8, #1
b.lt LBB0_236
; %bb.234: ; in Loop: Header=BB0_233 Depth=2
ldr x9, [x24, _now@PAGEOFF]
ldr x10, [x20, #40]
sub x9, x9, x10
cmp x9, x8
b.lt LBB0_236
; %bb.235: ; in Loop: Header=BB0_233 Depth=2
str w26, [x20, #180]
mov w8, #3
str w8, [x20, #48]
LBB0_236: ; in Loop: Header=BB0_233 Depth=2
ldr x23, [x20]
ldr w8, [x20, #48]
cmp w8, #2
b.eq LBB0_246
; %bb.237: ; in Loop: Header=BB0_233 Depth=2
cmp w8, #1
b.eq LBB0_243
; %bb.238: ; in Loop: Header=BB0_233 Depth=2
cbnz w8, LBB0_242
; %bb.239: ; in Loop: Header=BB0_233 Depth=2
ldr w21, [x20, #16]
add x1, sp, #96
mov x0, x21
mov w2, #0
bl ___darwin_check_fd_set_overflow
cbz w0, LBB0_249
; %bb.240: ; in Loop: Header=BB0_233 Depth=2
sxtw x8, w21
lsr x9, x8, #3
and x9, x9, #0x1ffffffffffffffc
ldr w9, [x28, x9]
lsr w8, w9, w8
tbz w8, #0, LBB0_249
; %bb.241: ; in Loop: Header=BB0_233 Depth=2
mov x0, x20
bl _poll_recv_request
b LBB0_249
LBB0_242: ; in Loop: Header=BB0_233 Depth=2
cmp w8, #3
b.ne LBB0_232
b LBB0_250
LBB0_243: ; in Loop: Header=BB0_233 Depth=2
ldr w21, [x20, #16]
add x1, sp, #240
mov x0, x21
mov w2, #0
bl ___darwin_check_fd_set_overflow
cbz w0, LBB0_249
; %bb.244: ; in Loop: Header=BB0_233 Depth=2
sxtw x8, w21
lsr x9, x8, #3
and x9, x9, #0x1ffffffffffffffc
add x10, sp, #240
ldr w9, [x10, x9]
lsr w8, w9, w8
tbz w8, #0, LBB0_249
; %bb.245: ; in Loop: Header=BB0_233 Depth=2
mov x0, x20
bl _poll_send_header
b LBB0_249
LBB0_246: ; in Loop: Header=BB0_233 Depth=2
ldr w21, [x20, #16]
add x1, sp, #240
mov x0, x21
mov w2, #0
bl ___darwin_check_fd_set_overflow
cbz w0, LBB0_249
; %bb.247: ; in Loop: Header=BB0_233 Depth=2
sxtw x8, w21
lsr x9, x8, #3
and x9, x9, #0x1ffffffffffffffc
add x10, sp, #240
ldr w9, [x10, x9]
lsr w8, w9, w8
tbz w8, #0, LBB0_249
; %bb.248: ; in Loop: Header=BB0_233 Depth=2
mov x0, x20
bl _poll_send_reply
LBB0_249: ; in Loop: Header=BB0_233 Depth=2
ldr w8, [x20, #48]
cmp w8, #3
b.ne LBB0_232
LBB0_250: ; in Loop: Header=BB0_233 Depth=2
ldr w8, [x20, #180]
cbz w8, LBB0_231
; %bb.251: ; in Loop: Header=BB0_233 Depth=2
ldr x8, [x20]
cbz x8, LBB0_253
; %bb.252: ; in Loop: Header=BB0_233 Depth=2
ldr x9, [x20, #8]
str x9, [x8, #8]
LBB0_253: ; in Loop: Header=BB0_233 Depth=2
ldr x9, [x20, #8]
str x8, [x9]
mov x0, x20
bl _free_connection
mov x0, x20
bl _free
b LBB0_232
LBB0_254:
ldr w0, [x19, _sockin@PAGEOFF]
bl _close
cmn w0, #1
b.eq LBB0_339
; %bb.255:
Lloh200:
adrp x8, _logfile@PAGE
Lloh201:
ldr x0, [x8, _logfile@PAGEOFF]
adrp x22, _wwwroot@PAGE
adrp x19, _pidfile_name@PAGE
adrp x23, _server_hdr@PAGE
adrp x21, _mime_map@PAGE
adrp x24, _mime_map_size@PAGE
adrp x20, _pidfile_fd@PAGE
cbz x0, LBB0_257
; %bb.256:
bl _fclose
LBB0_257:
ldr x0, [x19, _pidfile_name@PAGEOFF]
cbz x0, LBB0_261
; %bb.258:
bl _unlink
cmn w0, #1
b.eq LBB0_314
; %bb.259:
ldr w0, [x20, _pidfile_fd@PAGEOFF]
bl _close
cmn w0, #1
b.eq LBB0_339
; %bb.260:
mov w8, #-1
str w8, [x20, _pidfile_fd@PAGEOFF]
LBB0_261:
Lloh202:
adrp x8, _connlist@PAGE
Lloh203:
ldr x20, [x8, _connlist@PAGEOFF]
cbz x20, LBB0_266
; %bb.262:
ldp x8, x9, [x20]
cbz x8, LBB0_264
LBB0_263: ; =>This Inner Loop Header: Depth=1
mov x19, x8
str x9, [x8, #8]
ldr x8, [x20, #8]
str x19, [x8]
mov x0, x20
bl _free_connection
mov x0, x20
bl _free
ldp x8, x9, [x19]
mov x20, x19
cbnz x8, LBB0_263
b LBB0_265
LBB0_264:
mov x19, x20
LBB0_265:
str x8, [x9]
mov x0, x19
bl _free_connection
mov x0, x19
bl _free
LBB0_266:
ldr x20, [x24, _mime_map_size@PAGEOFF]
cbz x20, LBB0_269
; %bb.267:
ldr x19, [x21, _mime_map@PAGEOFF]
add x21, x19, #8
LBB0_268: ; =>This Inner Loop Header: Depth=1
ldur x0, [x21, #-8]
bl _free
ldr x0, [x21], #16
bl _free
subs x20, x20, #1
b.ne LBB0_268
b LBB0_270
LBB0_269:
ldr x19, [x21, _mime_map@PAGEOFF]
LBB0_270:
mov x0, x19
bl _free
Lloh204:
adrp x8, _forward_map@PAGE
Lloh205:
ldr x0, [x8, _forward_map@PAGEOFF]
cbz x0, LBB0_272
; %bb.271:
bl _free
LBB0_272:
Lloh206:
adrp x8, _keep_alive_field@PAGE
Lloh207:
ldr x0, [x8, _keep_alive_field@PAGEOFF]
bl _free
ldr x0, [x22, _wwwroot@PAGEOFF]
bl _free
ldr x0, [x23, _server_hdr@PAGEOFF]
bl _free
Lloh208:
adrp x8, _auth_key@PAGE
Lloh209:
ldr x0, [x8, _auth_key@PAGEOFF]
bl _free
add x1, sp, #96
mov w0, #0
bl _getrusage
ldr x8, [sp, #96]
ldrsw x9, [sp, #104]
mov w10, #35757
movk w10, #26843, lsl #16
mul x9, x9, x10
lsr x11, x9, #63
asr x9, x9, #44
add w9, w9, w11
ldr x11, [sp, #112]
ldrsw x12, [sp, #120]
mul x10, x12, x10
lsr x12, x10, #63
asr x10, x10, #44
add w10, w10, w12
stp x11, x10, [sp, #16]
stp x8, x9, [sp]
Lloh210:
adrp x0, l_.str.17@PAGE
Lloh211:
add x0, x0, l_.str.17@PAGEOFF
bl _printf
Lloh212:
adrp x8, _num_requests@PAGE
Lloh213:
ldr x8, [x8, _num_requests@PAGEOFF]
str x8, [sp]
Lloh214:
adrp x0, l_.str.18@PAGE
Lloh215:
add x0, x0, l_.str.18@PAGEOFF
bl _printf
Lloh216:
adrp x8, _total_in@PAGE
Lloh217:
ldr x8, [x8, _total_in@PAGEOFF]
Lloh218:
adrp x9, _total_out@PAGE
Lloh219:
ldr x9, [x9, _total_out@PAGEOFF]
stp x8, x9, [sp]
Lloh220:
adrp x0, l_.str.19@PAGE
Lloh221:
add x0, x0, l_.str.19@PAGEOFF
bl _printf
ldur x8, [x29, #-120]
Lloh222:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh223:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh224:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_301
; %bb.273:
mov w0, #0
add sp, sp, #416
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
ldp d9, d8, [sp], #112 ; 16-byte Folded Reload
ret
LBB0_274:
Lloh225:
adrp x1, l_.str.154@PAGE
Lloh226:
add x1, x1, l_.str.154@PAGEOFF
bl _errx
LBB0_275:
Lloh227:
adrp x1, l_.str.116@PAGE
Lloh228:
add x1, x1, l_.str.116@PAGEOFF
bl _err
LBB0_276:
Lloh229:
adrp x1, l_.str.117@PAGE
Lloh230:
add x1, x1, l_.str.117@PAGEOFF
bl _err
LBB0_277:
Lloh231:
adrp x1, l_.str.155@PAGE
Lloh232:
add x1, x1, l_.str.155@PAGEOFF
bl _err
LBB0_278:
Lloh233:
adrp x1, l_.str.46@PAGE
Lloh234:
add x1, x1, l_.str.46@PAGEOFF
bl _errx
LBB0_279:
str x23, [sp]
b LBB0_284
LBB0_280:
stp x0, x27, [sp]
Lloh235:
adrp x1, l_.str.118@PAGE
Lloh236:
add x1, x1, l_.str.118@PAGEOFF
bl _errx
LBB0_281:
Lloh237:
adrp x1, l_.str.48@PAGE
Lloh238:
add x1, x1, l_.str.48@PAGEOFF
bl _errx
LBB0_282:
mov w8, #240
LBB0_283:
str x8, [sp]
LBB0_284:
Lloh239:
adrp x1, l_.str.40@PAGE
Lloh240:
add x1, x1, l_.str.40@PAGEOFF
bl _errx
LBB0_285:
Lloh241:
adrp x1, l_.str.157@PAGE
Lloh242:
add x1, x1, l_.str.157@PAGEOFF
bl _err
LBB0_286:
Lloh243:
adrp x1, l_.str.158@PAGE
Lloh244:
add x1, x1, l_.str.158@PAGEOFF
bl _err
LBB0_287:
Lloh245:
adrp x1, l_.str.50@PAGE
Lloh246:
add x1, x1, l_.str.50@PAGEOFF
bl _errx
LBB0_288:
ldr x0, [x19]
bl _usage
mov w0, #0
bl _exit
LBB0_289:
Lloh247:
adrp x1, l_.str.52@PAGE
Lloh248:
add x1, x1, l_.str.52@PAGEOFF
bl _errx
LBB0_290:
Lloh249:
adrp x1, l_.str.122@PAGE
Lloh250:
add x1, x1, l_.str.122@PAGEOFF
bl _err
LBB0_291:
Lloh251:
adrp x1, l_.str.123@PAGE
Lloh252:
add x1, x1, l_.str.123@PAGEOFF
bl _err
LBB0_292:
Lloh253:
adrp x1, l_.str.124@PAGE
Lloh254:
add x1, x1, l_.str.124@PAGEOFF
bl _err
LBB0_293:
ldrh w8, [x20, _bindport@PAGEOFF]
str x8, [sp]
Lloh255:
adrp x1, l_.str.125@PAGE
Lloh256:
add x1, x1, l_.str.125@PAGEOFF
bl _err
LBB0_294:
Lloh257:
adrp x1, l_.str.126@PAGE
Lloh258:
add x1, x1, l_.str.126@PAGEOFF
bl _err
LBB0_295:
Lloh259:
adrp x1, l_.str.129@PAGE
Lloh260:
add x1, x1, l_.str.129@PAGEOFF
bl _err
LBB0_296:
mov x19, x0
cmn w0, #1
b.ne LBB0_321
; %bb.297:
Lloh261:
adrp x1, l_.str.135@PAGE
Lloh262:
add x1, x1, l_.str.135@PAGEOFF
bl _err
LBB0_298:
Lloh263:
adrp x1, l_.str.6@PAGE
Lloh264:
add x1, x1, l_.str.6@PAGEOFF
bl _err
LBB0_299:
Lloh265:
adrp x1, l_.str.7@PAGE
Lloh266:
add x1, x1, l_.str.7@PAGEOFF
bl _err
LBB0_300:
Lloh267:
adrp x1, l_.str.8@PAGE
Lloh268:
add x1, x1, l_.str.8@PAGEOFF
bl _err
LBB0_301:
bl ___stack_chk_fail
LBB0_302:
Lloh269:
adrp x1, l_.str.121@PAGE
Lloh270:
add x1, x1, l_.str.121@PAGEOFF
bl _errx
LBB0_303:
str x0, [sp]
Lloh271:
adrp x1, l_.str.12@PAGE
Lloh272:
add x1, x1, l_.str.12@PAGEOFF
bl _err
LBB0_304:
; kill: def $w8 killed $w8 killed $x8 def $x8
str x8, [sp]
Lloh273:
adrp x1, l_.str.13@PAGE
Lloh274:
add x1, x1, l_.str.13@PAGEOFF
bl _err
LBB0_305:
; kill: def $w8 killed $w8 killed $x8 def $x8
str x8, [sp]
Lloh275:
adrp x1, l_.str.15@PAGE
Lloh276:
add x1, x1, l_.str.15@PAGEOFF
bl _err
LBB0_306:
bl ___error
ldr w8, [x0]
cmp w8, #35
b.eq LBB0_308
; %bb.307:
bl ___error
ldr w8, [x0]
cmp w8, #17
b.ne LBB0_335
LBB0_308:
ldr x0, [x25, _pidfile_name@PAGEOFF]
mov w1, #0
bl _open
cmn w0, #1
b.ne LBB0_331
; %bb.309:
Lloh277:
adrp x1, l_.str.145@PAGE
Lloh278:
add x1, x1, l_.str.145@PAGEOFF
bl _err
LBB0_310:
bl ___error
ldr w19, [x0]
ldr x0, [x25, _pidfile_name@PAGEOFF]
bl _unlink
cmn w0, #1
b.eq LBB0_314
; %bb.311:
ldr w0, [x21, _pidfile_fd@PAGEOFF]
bl _close
cmn w0, #1
b.eq LBB0_339
; %bb.312:
mov w8, #-1
str w8, [x21, _pidfile_fd@PAGEOFF]
bl ___error
str w19, [x0]
Lloh279:
adrp x1, l_.str.142@PAGE
Lloh280:
add x1, x1, l_.str.142@PAGEOFF
bl _err
LBB0_313:
bl ___error
ldr w19, [x0]
ldr x0, [x25, _pidfile_name@PAGEOFF]
bl _unlink
cmn w0, #1
b.ne LBB0_329
LBB0_314:
Lloh281:
adrp x1, l_.str.235@PAGE
Lloh282:
add x1, x1, l_.str.235@PAGEOFF
bl _err
LBB0_315:
mov w8, #1
b LBB0_283
LBB0_316:
Lloh283:
adrp x1, l_.str.132@PAGE
Lloh284:
add x1, x1, l_.str.132@PAGEOFF
bl _err
LBB0_317:
Lloh285:
adrp x1, l_.str.134@PAGE
Lloh286:
add x1, x1, l_.str.134@PAGEOFF
bl _err
LBB0_318:
str x0, [sp]
Lloh287:
adrp x1, l_.str.9@PAGE
Lloh288:
add x1, x1, l_.str.9@PAGEOFF
bl _err
LBB0_319:
str x8, [sp]
Lloh289:
adrp x1, l_.str.10@PAGE
Lloh290:
add x1, x1, l_.str.10@PAGEOFF
bl _err
LBB0_320:
Lloh291:
adrp x1, l_.str.148@PAGE
Lloh292:
add x1, x1, l_.str.148@PAGEOFF
bl _err
LBB0_321:
Lloh293:
adrp x8, _lifeline@PAGE+4
Lloh294:
ldr w0, [x8, _lifeline@PAGEOFF+4]
bl _close
cmn w0, #1
b.ne LBB0_323
; %bb.322:
Lloh295:
adrp x0, l_.str.136@PAGE
Lloh296:
add x0, x0, l_.str.136@PAGEOFF
bl _warn
LBB0_323:
Lloh297:
adrp x8, _lifeline@PAGE
Lloh298:
ldr w0, [x8, _lifeline@PAGEOFF]
add x1, sp, #240
mov w2, #1
bl _read
cmn x0, #1
b.ne LBB0_325
; %bb.324:
Lloh299:
adrp x0, l_.str.137@PAGE
Lloh300:
add x0, x0, l_.str.137@PAGEOFF
bl _warn
LBB0_325:
add x1, sp, #96
mov x0, x19
mov w2, #1
bl _waitpid
cbz w0, LBB0_333
; %bb.326:
cmn w0, #1
b.ne LBB0_334
; %bb.327:
Lloh301:
adrp x1, l_.str.138@PAGE
Lloh302:
add x1, x1, l_.str.138@PAGEOFF
bl _err
LBB0_328:
Lloh303:
adrp x1, l_.str.56@PAGE
Lloh304:
add x1, x1, l_.str.56@PAGEOFF
bl _errx
LBB0_329:
ldr w0, [x21, _pidfile_fd@PAGEOFF]
bl _close
cmn w0, #1
b.eq LBB0_339
; %bb.330:
mov w8, #-1
str w8, [x21, _pidfile_fd@PAGEOFF]
bl ___error
str w19, [x0]
Lloh305:
adrp x1, l_.str.144@PAGE
Lloh306:
add x1, x1, l_.str.144@PAGEOFF
bl _err
LBB0_331:
mov x19, x0
add x1, sp, #96
mov w2, #15
bl _read
mov x20, x0
cmn w20, #1
b.ne LBB0_338
; %bb.332:
Lloh307:
adrp x1, l_.str.146@PAGE
Lloh308:
add x1, x1, l_.str.146@PAGEOFF
bl _err
LBB0_333:
bl _exit
LBB0_334:
ldrb w0, [sp, #97]
bl _exit
LBB0_335:
ldr x8, [x25, _pidfile_name@PAGEOFF]
str x8, [sp]
Lloh309:
adrp x1, l_.str.141@PAGE
Lloh310:
add x1, x1, l_.str.141@PAGEOFF
bl _err
LBB0_336:
Lloh311:
adrp x1, l_.str.59@PAGE
Lloh312:
add x1, x1, l_.str.59@PAGEOFF
bl _errx
LBB0_337:
str x24, [sp]
Lloh313:
adrp x1, l_.str.115@PAGE
Lloh314:
add x1, x1, l_.str.115@PAGEOFF
bl _err
LBB0_338:
mov x0, x19
bl _close
cmn w0, #1
b.ne LBB0_341
LBB0_339:
Lloh315:
adrp x1, l_.str.234@PAGE
Lloh316:
add x1, x1, l_.str.234@PAGEOFF
bl _err
LBB0_340:
Lloh317:
adrp x1, l_.str.61@PAGE
Lloh318:
add x1, x1, l_.str.61@PAGEOFF
bl _errx
LBB0_341:
add x21, sp, #96
strb wzr, [x21, w20, sxtw]
bl ___error
str wzr, [x0]
add x0, sp, #96
add x1, sp, #240
mov w2, #10
bl _strtoll
ldr x8, [sp, #240]
ldrb w8, [x8]
cbnz w8, LBB0_345
; %bb.342:
mov x19, x0
mov x8, #9223372036854775807
cmp x0, x8
b.eq LBB0_344
; %bb.343:
mov x8, #-9223372036854775808
cmp x19, x8
b.ne LBB0_350
LBB0_344:
bl ___error
ldr w8, [x0]
cmp w8, #34
b.ne LBB0_350
LBB0_345:
str x21, [sp]
Lloh319:
adrp x1, l_.str.147@PAGE
Lloh320:
add x1, x1, l_.str.147@PAGEOFF
bl _err
LBB0_346:
Lloh321:
adrp x1, l_.str.63@PAGE
Lloh322:
add x1, x1, l_.str.63@PAGEOFF
bl _errx
LBB0_347:
Lloh323:
adrp x1, l_.str.66@PAGE
Lloh324:
add x1, x1, l_.str.66@PAGEOFF
bl _errx
LBB0_348:
Lloh325:
adrp x1, l_.str.69@PAGE
Lloh326:
add x1, x1, l_.str.69@PAGEOFF
bl _errx
LBB0_349:
ldr x8, [x19, x23, lsl #3]
str x8, [sp]
Lloh327:
adrp x1, l_.str.64@PAGE
Lloh328:
add x1, x1, l_.str.64@PAGEOFF
bl _errx
LBB0_350:
str x19, [sp]
Lloh329:
adrp x1, l_.str.140@PAGE
Lloh330:
add x1, x1, l_.str.140@PAGEOFF
bl _errx
LBB0_351:
ldr x8, [x19, x23, lsl #3]
str x8, [sp]
Lloh331:
adrp x1, l_.str.67@PAGE
Lloh332:
add x1, x1, l_.str.67@PAGEOFF
bl _errx
LBB0_352:
Lloh333:
adrp x1, l_.str.74@PAGE
Lloh334:
add x1, x1, l_.str.74@PAGEOFF
bl _errx
LBB0_353:
Lloh335:
adrp x1, l_.str.75@PAGE
Lloh336:
add x1, x1, l_.str.75@PAGEOFF
bl _errx
LBB0_354:
str x24, [sp]
Lloh337:
adrp x1, l_.str.43@PAGE
Lloh338:
add x1, x1, l_.str.43@PAGEOFF
bl _errx
LBB0_355:
Lloh339:
adrp x1, l_.str.77@PAGE
Lloh340:
add x1, x1, l_.str.77@PAGEOFF
bl _errx
LBB0_356:
Lloh341:
adrp x1, l_.str.80@PAGE
Lloh342:
add x1, x1, l_.str.80@PAGEOFF
bl _errx
LBB0_357:
Lloh343:
adrp x1, l_.str.82@PAGE
Lloh344:
add x1, x1, l_.str.82@PAGEOFF
bl _errx
LBB0_358:
str x28, [sp]
Lloh345:
adrp x1, l_.str.88@PAGE
Lloh346:
add x1, x1, l_.str.88@PAGEOFF
bl _errx
LBB0_359:
Lloh347:
adrp x1, l_.str.86@PAGE
Lloh348:
add x1, x1, l_.str.86@PAGEOFF
bl _errx
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpAdd Lloh75, Lloh76
.loh AdrpAdd Lloh77, Lloh78
.loh AdrpAdd Lloh79, Lloh80
.loh AdrpAdd Lloh81, Lloh82
.loh AdrpAdd Lloh83, Lloh84
.loh AdrpAdd Lloh85, Lloh86
.loh AdrpAdd Lloh87, Lloh88
.loh AdrpAdd Lloh89, Lloh90
.loh AdrpAdd Lloh91, Lloh92
.loh AdrpAdd Lloh93, Lloh94
.loh AdrpAdd Lloh95, Lloh96
.loh AdrpAdd Lloh97, Lloh98
.loh AdrpAdd Lloh99, Lloh100
.loh AdrpAdd Lloh101, Lloh102
.loh AdrpAdd Lloh103, Lloh104
.loh AdrpAdd Lloh107, Lloh108
.loh AdrpAdd Lloh105, Lloh106
.loh AdrpAdd Lloh117, Lloh118
.loh AdrpAdd Lloh115, Lloh116
.loh AdrpAdd Lloh113, Lloh114
.loh AdrpLdr Lloh111, Lloh112
.loh AdrpAdrp Lloh109, Lloh111
.loh AdrpLdr Lloh109, Lloh110
.loh AdrpAdd Lloh123, Lloh124
.loh AdrpAdd Lloh121, Lloh122
.loh AdrpAdd Lloh119, Lloh120
.loh AdrpAdd Lloh127, Lloh128
.loh AdrpLdr Lloh125, Lloh126
.loh AdrpLdr Lloh129, Lloh130
.loh AdrpAdd Lloh131, Lloh132
.loh AdrpAdd Lloh133, Lloh134
.loh AdrpAdd Lloh135, Lloh136
.loh AdrpAdd Lloh137, Lloh138
.loh AdrpLdr Lloh141, Lloh142
.loh AdrpAdrp Lloh139, Lloh141
.loh AdrpLdr Lloh139, Lloh140
.loh AdrpAdd Lloh143, Lloh144
.loh AdrpLdr Lloh145, Lloh146
.loh AdrpAdd Lloh147, Lloh148
.loh AdrpAdd Lloh151, Lloh152
.loh AdrpLdr Lloh149, Lloh150
.loh AdrpLdrGotLdr Lloh153, Lloh154, Lloh155
.loh AdrpAdd Lloh156, Lloh157
.loh AdrpAdd Lloh158, Lloh159
.loh AdrpAdd Lloh160, Lloh161
.loh AdrpAdd Lloh162, Lloh163
.loh AdrpAdd Lloh164, Lloh165
.loh AdrpAdd Lloh166, Lloh167
.loh AdrpAdd Lloh168, Lloh169
.loh AdrpAdd Lloh170, Lloh171
.loh AdrpLdr Lloh172, Lloh173
.loh AdrpAdd Lloh174, Lloh175
.loh AdrpLdr Lloh176, Lloh177
.loh AdrpAdd Lloh178, Lloh179
.loh AdrpAdd Lloh180, Lloh181
.loh AdrpAdd Lloh182, Lloh183
.loh AdrpAdd Lloh184, Lloh185
.loh AdrpLdr Lloh186, Lloh187
.loh AdrpLdr Lloh188, Lloh189
.loh AdrpLdr Lloh190, Lloh191
.loh AdrpAdd Lloh192, Lloh193
.loh AdrpLdr Lloh194, Lloh195
.loh AdrpAdd Lloh196, Lloh197
.loh AdrpLdr Lloh198, Lloh199
.loh AdrpLdr Lloh200, Lloh201
.loh AdrpLdr Lloh202, Lloh203
.loh AdrpLdr Lloh204, Lloh205
.loh AdrpLdrGotLdr Lloh222, Lloh223, Lloh224
.loh AdrpAdd Lloh220, Lloh221
.loh AdrpLdr Lloh218, Lloh219
.loh AdrpLdr Lloh216, Lloh217
.loh AdrpAdd Lloh214, Lloh215
.loh AdrpLdr Lloh212, Lloh213
.loh AdrpAdd Lloh210, Lloh211
.loh AdrpLdr Lloh208, Lloh209
.loh AdrpLdr Lloh206, Lloh207
.loh AdrpAdd Lloh225, Lloh226
.loh AdrpAdd Lloh227, Lloh228
.loh AdrpAdd Lloh229, Lloh230
.loh AdrpAdd Lloh231, Lloh232
.loh AdrpAdd Lloh233, Lloh234
.loh AdrpAdd Lloh235, Lloh236
.loh AdrpAdd Lloh237, Lloh238
.loh AdrpAdd Lloh239, Lloh240
.loh AdrpAdd Lloh241, Lloh242
.loh AdrpAdd Lloh243, Lloh244
.loh AdrpAdd Lloh245, Lloh246
.loh AdrpAdd Lloh247, Lloh248
.loh AdrpAdd Lloh249, Lloh250
.loh AdrpAdd Lloh251, Lloh252
.loh AdrpAdd Lloh253, Lloh254
.loh AdrpAdd Lloh255, Lloh256
.loh AdrpAdd Lloh257, Lloh258
.loh AdrpAdd Lloh259, Lloh260
.loh AdrpAdd Lloh261, Lloh262
.loh AdrpAdd Lloh263, Lloh264
.loh AdrpAdd Lloh265, Lloh266
.loh AdrpAdd Lloh267, Lloh268
.loh AdrpAdd Lloh269, Lloh270
.loh AdrpAdd Lloh271, Lloh272
.loh AdrpAdd Lloh273, Lloh274
.loh AdrpAdd Lloh275, Lloh276
.loh AdrpAdd Lloh277, Lloh278
.loh AdrpAdd Lloh279, Lloh280
.loh AdrpAdd Lloh281, Lloh282
.loh AdrpAdd Lloh283, Lloh284
.loh AdrpAdd Lloh285, Lloh286
.loh AdrpAdd Lloh287, Lloh288
.loh AdrpAdd Lloh289, Lloh290
.loh AdrpAdd Lloh291, Lloh292
.loh AdrpLdr Lloh293, Lloh294
.loh AdrpAdd Lloh295, Lloh296
.loh AdrpLdr Lloh297, Lloh298
.loh AdrpAdd Lloh299, Lloh300
.loh AdrpAdd Lloh301, Lloh302
.loh AdrpAdd Lloh303, Lloh304
.loh AdrpAdd Lloh305, Lloh306
.loh AdrpAdd Lloh307, Lloh308
.loh AdrpAdd Lloh309, Lloh310
.loh AdrpAdd Lloh311, Lloh312
.loh AdrpAdd Lloh313, Lloh314
.loh AdrpAdd Lloh315, Lloh316
.loh AdrpAdd Lloh317, Lloh318
.loh AdrpAdd Lloh319, Lloh320
.loh AdrpAdd Lloh321, Lloh322
.loh AdrpAdd Lloh323, Lloh324
.loh AdrpAdd Lloh325, Lloh326
.loh AdrpAdd Lloh327, Lloh328
.loh AdrpAdd Lloh329, Lloh330
.loh AdrpAdd Lloh331, Lloh332
.loh AdrpAdd Lloh333, Lloh334
.loh AdrpAdd Lloh335, Lloh336
.loh AdrpAdd Lloh337, Lloh338
.loh AdrpAdd Lloh339, Lloh340
.loh AdrpAdd Lloh341, Lloh342
.loh AdrpAdd Lloh343, Lloh344
.loh AdrpAdd Lloh345, Lloh346
.loh AdrpAdd Lloh347, Lloh348
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function xasprintf
_xasprintf: ; @xasprintf
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x8, x29, #16
str x8, [sp, #8]
add x2, x29, #16
bl _vasprintf
cbz x19, LBB1_3
; %bb.1:
cmn w0, #1
b.eq LBB1_3
; %bb.2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB1_3:
Lloh349:
adrp x1, l_.str.119@PAGE
Lloh350:
add x1, x1, l_.str.119@PAGEOFF
bl _errx
.loh AdrpAdd Lloh349, Lloh350
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function err
_err: ; @err
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
add x8, x29, #16
str x8, [sp, #8]
Lloh351:
adrp x20, ___stderrp@GOTPAGE
Lloh352:
ldr x20, [x20, ___stderrp@GOTPAGEOFF]
ldr x3, [x20]
Lloh353:
adrp x0, l_.str.41@PAGE
Lloh354:
add x0, x0, l_.str.41@PAGEOFF
mov w1, #7
mov w2, #1
bl _fwrite
ldr x0, [x20]
ldr x2, [sp, #8]
mov x1, x19
bl _vfprintf
ldr x19, [x20]
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh355:
adrp x1, l_.str.131@PAGE
Lloh356:
add x1, x1, l_.str.131@PAGEOFF
mov x0, x19
bl _fprintf
mov w0, #1
bl _exit
.loh AdrpAdd Lloh355, Lloh356
.loh AdrpAdd Lloh353, Lloh354
.loh AdrpLdrGot Lloh351, Lloh352
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function stop_running
_stop_running: ; @stop_running
.cfi_startproc
; %bb.0:
adrp x8, _running@PAGE
str wzr, [x8, _running@PAGEOFF]
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function free_connection
_free_connection: ; @free_connection
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x28, x27, [sp, #112] ; 16-byte Folded Spill
stp x26, x25, [sp, #128] ; 16-byte Folded Spill
stp x24, x23, [sp, #144] ; 16-byte Folded Spill
stp x22, x21, [sp, #160] ; 16-byte Folded Spill
stp x20, x19, [sp, #176] ; 16-byte Folded Spill
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh357:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh358:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh359:
ldr x8, [x8]
stur x8, [x29, #-88]
adrp x27, _logfile@PAGE
ldr x21, [x27, _logfile@PAGEOFF]
cbz x21, LBB4_63
; %bb.1:
ldr w8, [x19, #176]
cbz w8, LBB4_63
; %bb.2:
ldr x22, [x19, #72]
cbz x22, LBB4_63
; %bb.3:
mov x0, x22
bl _strlen
add x8, x0, x0, lsl #1
add x23, x8, #1
mov x0, x23
bl _malloc
cbz x0, LBB4_89
; %bb.4:
mov x20, x0
ldrb w10, [x22]
Lloh360:
adrp x28, _logencode.hex@PAGE
Lloh361:
add x28, x28, _logencode.hex@PAGEOFF
cbz w10, LBB4_11
; %bb.5:
mov w8, #0
mov w9, #37
b LBB4_8
LBB4_6: ; in Loop: Header=BB4_8 Depth=1
add x10, x20, w8, sxtw
strb w9, [x10]
ldrb w11, [x22]
lsr x11, x11, #4
ldrb w11, [x28, x11]
add w8, w8, #2
strb w11, [x10, #1]
ldrb w10, [x22]
and x10, x10, #0xf
ldrb w10, [x28, x10]
LBB4_7: ; in Loop: Header=BB4_8 Depth=1
strb w10, [x20, w8, sxtw]
add w8, w8, #1
ldrb w10, [x22, #1]!
cbz w10, LBB4_10
LBB4_8: ; =>This Inner Loop Header: Depth=1
cmp w10, #34
b.eq LBB4_6
; %bb.9: ; in Loop: Header=BB4_8 Depth=1
sub w11, w10, #32
cmp w11, #95
b.lo LBB4_7
b LBB4_6
LBB4_10:
sxtw x8, w8
b LBB4_12
LBB4_11:
mov x8, #0
LBB4_12:
strb wzr, [x20, x8]
ldr x23, [x19, #80]
cbz x23, LBB4_21
; %bb.13:
mov x0, x23
bl _strlen
add x8, x0, x0, lsl #1
add x24, x8, #1
mov x0, x24
bl _malloc
cbz x0, LBB4_90
; %bb.14:
mov x22, x0
ldrb w10, [x23]
cbz w10, LBB4_24
; %bb.15:
mov w8, #0
mov w9, #37
b LBB4_18
LBB4_16: ; in Loop: Header=BB4_18 Depth=1
add x10, x22, w8, sxtw
strb w9, [x10]
ldrb w11, [x23]
lsr x11, x11, #4
ldrb w11, [x28, x11]
add w8, w8, #2
strb w11, [x10, #1]
ldrb w10, [x23]
and x10, x10, #0xf
ldrb w10, [x28, x10]
LBB4_17: ; in Loop: Header=BB4_18 Depth=1
strb w10, [x22, w8, sxtw]
add w8, w8, #1
ldrb w10, [x23, #1]!
cbz w10, LBB4_20
LBB4_18: ; =>This Inner Loop Header: Depth=1
cmp w10, #34
b.eq LBB4_16
; %bb.19: ; in Loop: Header=BB4_18 Depth=1
sub w11, w10, #32
cmp w11, #95
b.lo LBB4_17
b LBB4_16
LBB4_20:
sxtw x8, w8
b LBB4_25
LBB4_21:
mov x22, #0
ldr x24, [x19, #88]
cbnz x24, LBB4_26
LBB4_22:
mov x23, #0
ldr x25, [x19, #96]
cbnz x25, LBB4_36
LBB4_23:
mov x24, #0
b LBB4_46
LBB4_24:
mov x8, #0
LBB4_25:
strb wzr, [x22, x8]
ldr x24, [x19, #88]
cbz x24, LBB4_22
LBB4_26:
mov x0, x24
bl _strlen
add x8, x0, x0, lsl #1
add x25, x8, #1
mov x0, x25
bl _malloc
cbz x0, LBB4_91
; %bb.27:
mov x23, x0
ldrb w10, [x24]
cbz w10, LBB4_34
; %bb.28:
mov w8, #0
mov w9, #37
b LBB4_31
LBB4_29: ; in Loop: Header=BB4_31 Depth=1
add x10, x23, w8, sxtw
strb w9, [x10]
ldrb w11, [x24]
lsr x11, x11, #4
ldrb w11, [x28, x11]
add w8, w8, #2
strb w11, [x10, #1]
ldrb w10, [x24]
and x10, x10, #0xf
ldrb w10, [x28, x10]
LBB4_30: ; in Loop: Header=BB4_31 Depth=1
strb w10, [x23, w8, sxtw]
add w8, w8, #1
ldrb w10, [x24, #1]!
cbz w10, LBB4_33
LBB4_31: ; =>This Inner Loop Header: Depth=1
cmp w10, #34
b.eq LBB4_29
; %bb.32: ; in Loop: Header=BB4_31 Depth=1
sub w11, w10, #32
cmp w11, #95
b.lo LBB4_30
b LBB4_29
LBB4_33:
sxtw x8, w8
b LBB4_35
LBB4_34:
mov x8, #0
LBB4_35:
strb wzr, [x23, x8]
ldr x25, [x19, #96]
cbz x25, LBB4_23
LBB4_36:
mov x0, x25
bl _strlen
add x8, x0, x0, lsl #1
add x26, x8, #1
mov x0, x26
bl _malloc
cbz x0, LBB4_92
; %bb.37:
mov x24, x0
ldrb w10, [x25]
cbz w10, LBB4_44
; %bb.38:
mov w8, #0
mov w9, #37
b LBB4_41
LBB4_39: ; in Loop: Header=BB4_41 Depth=1
add x10, x24, w8, sxtw
strb w9, [x10]
ldrb w11, [x25]
lsr x11, x11, #4
ldrb w11, [x28, x11]
add w8, w8, #2
strb w11, [x10, #1]
ldrb w10, [x25]
and x10, x10, #0xf
ldrb w10, [x28, x10]
LBB4_40: ; in Loop: Header=BB4_41 Depth=1
strb w10, [x24, w8, sxtw]
add w8, w8, #1
ldrb w10, [x25, #1]!
cbz w10, LBB4_43
LBB4_41: ; =>This Inner Loop Header: Depth=1
cmp w10, #34
b.eq LBB4_39
; %bb.42: ; in Loop: Header=BB4_41 Depth=1
sub w11, w10, #32
cmp w11, #95
b.lo LBB4_40
b LBB4_39
LBB4_43:
sxtw x8, w8
b LBB4_45
LBB4_44:
mov x8, #0
LBB4_45:
strb wzr, [x24, x8]
LBB4_46:
Lloh362:
adrp x8, _syslog_enabled@PAGE
ldrb w9, [x8, _syslog_enabled@PAGEOFF]
add x1, x19, #20
Lloh363:
adrp x8, _inet6@PAGE
ldrb w8, [x8, _inet6@PAGEOFF]
cmp w9, #1
b.ne LBB4_49
; %bb.47:
cbz w8, LBB4_51
; %bb.48:
Lloh364:
adrp x21, _get_address_text.text_addr@PAGE
Lloh365:
add x21, x21, _get_address_text.text_addr@PAGEOFF
mov w0, #30
mov x2, x21
mov w3, #46
bl _inet_ntop
b LBB4_52
LBB4_49:
cbz w8, LBB4_54
; %bb.50:
Lloh366:
adrp x25, _get_address_text.text_addr@PAGE
Lloh367:
add x25, x25, _get_address_text.text_addr@PAGEOFF
mov w0, #30
mov x2, x25
mov w3, #46
bl _inet_ntop
b LBB4_55
LBB4_51:
ldr w0, [x1]
bl _inet_ntoa
mov x21, x0
LBB4_52:
Lloh368:
adrp x8, _now@PAGE
Lloh369:
ldr x8, [x8, _now@PAGEOFF]
str x8, [sp, #64]
add x0, sp, #64
bl _localtime
mov x3, x0
Lloh370:
adrp x2, l_.str.237@PAGE
Lloh371:
add x2, x2, l_.str.237@PAGEOFF
add x25, sp, #75
add x0, sp, #75
mov w1, #29
bl _strftime
cbz x0, LBB4_94
; %bb.53:
Lloh372:
adrp x8, l_.str.3@PAGE
Lloh373:
add x8, x8, l_.str.3@PAGEOFF
cmp x22, #0
csel x9, x8, x22, eq
ldr x10, [x19, #232]
cmp x23, #0
csel x11, x8, x23, eq
cmp x24, #0
csel x8, x8, x24, eq
ldr w12, [x19, #176]
stp x11, x8, [sp, #48]
stp x12, x10, [sp, #32]
stp x20, x9, [sp, #16]
Lloh374:
adrp x1, l_.str.236@PAGE
Lloh375:
add x1, x1, l_.str.236@PAGEOFF
stp x21, x25, [sp]
mov w0, #6
bl _syslog$DARWIN_EXTSN
b LBB4_57
LBB4_54:
ldr w0, [x1]
bl _inet_ntoa
mov x25, x0
LBB4_55:
Lloh376:
adrp x8, _now@PAGE
Lloh377:
ldr x8, [x8, _now@PAGEOFF]
str x8, [sp, #64]
add x0, sp, #64
bl _localtime
mov x3, x0
Lloh378:
adrp x2, l_.str.237@PAGE
Lloh379:
add x2, x2, l_.str.237@PAGEOFF
add x26, sp, #75
add x0, sp, #75
mov w1, #29
bl _strftime
cbz x0, LBB4_95
; %bb.56:
Lloh380:
adrp x8, l_.str.3@PAGE
Lloh381:
add x8, x8, l_.str.3@PAGEOFF
cmp x22, #0
csel x9, x8, x22, eq
ldr x10, [x19, #232]
cmp x23, #0
csel x11, x8, x23, eq
cmp x24, #0
csel x8, x8, x24, eq
ldr w12, [x19, #176]
stp x11, x8, [sp, #48]
stp x12, x10, [sp, #32]
stp x20, x9, [sp, #16]
Lloh382:
adrp x1, l_.str.236@PAGE
Lloh383:
add x1, x1, l_.str.236@PAGEOFF
stp x25, x26, [sp]
mov x0, x21
bl _fprintf
ldr x0, [x27, _logfile@PAGEOFF]
bl _fflush
LBB4_57:
mov x0, x20
bl _free
cbz x22, LBB4_59
; %bb.58:
mov x0, x22
bl _free
LBB4_59:
cbz x23, LBB4_61
; %bb.60:
mov x0, x23
bl _free
LBB4_61:
cbz x24, LBB4_63
; %bb.62:
mov x0, x24
bl _free
LBB4_63:
ldr w0, [x19, #16]
cmn w0, #1
b.eq LBB4_65
; %bb.64:
bl _close
cmn w0, #1
b.eq LBB4_87
LBB4_65:
ldr x0, [x19, #56]
cbz x0, LBB4_67
; %bb.66:
bl _free
LBB4_67:
ldr x0, [x19, #72]
cbz x0, LBB4_69
; %bb.68:
bl _free
LBB4_69:
ldr x0, [x19, #80]
cbz x0, LBB4_71
; %bb.70:
bl _free
LBB4_71:
ldr x0, [x19, #88]
cbz x0, LBB4_73
; %bb.72:
bl _free
LBB4_73:
ldr x0, [x19, #96]
cbz x0, LBB4_75
; %bb.74:
bl _free
LBB4_75:
ldr x0, [x19, #104]
cbz x0, LBB4_77
; %bb.76:
bl _free
LBB4_77:
ldr x0, [x19, #144]
cbz x0, LBB4_80
; %bb.78:
ldr w8, [x19, #168]
cbnz w8, LBB4_80
; %bb.79:
bl _free
LBB4_80:
ldr x0, [x19, #192]
cbz x0, LBB4_83
; %bb.81:
ldr w8, [x19, #200]
cbnz w8, LBB4_83
; %bb.82:
bl _free
LBB4_83:
ldr w0, [x19, #204]
cmn w0, #1
b.eq LBB4_85
; %bb.84:
bl _close
cmn w0, #1
b.eq LBB4_87
LBB4_85:
adrp x8, _accepting@PAGE
strb wzr, [x8, _accepting@PAGEOFF]
ldur x8, [x29, #-88]
Lloh384:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh385:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh386:
ldr x9, [x9]
cmp x9, x8
b.ne LBB4_88
; %bb.86:
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
ldp x20, x19, [sp, #176] ; 16-byte Folded Reload
ldp x22, x21, [sp, #160] ; 16-byte Folded Reload
ldp x24, x23, [sp, #144] ; 16-byte Folded Reload
ldp x26, x25, [sp, #128] ; 16-byte Folded Reload
ldp x28, x27, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #208
ret
LBB4_87:
Lloh387:
adrp x1, l_.str.234@PAGE
Lloh388:
add x1, x1, l_.str.234@PAGEOFF
bl _err
LBB4_88:
bl ___stack_chk_fail
LBB4_89:
str x23, [sp]
b LBB4_93
LBB4_90:
str x24, [sp]
b LBB4_93
LBB4_91:
str x25, [sp]
b LBB4_93
LBB4_92:
str x26, [sp]
LBB4_93:
Lloh389:
adrp x1, l_.str.40@PAGE
Lloh390:
add x1, x1, l_.str.40@PAGEOFF
bl _errx
LBB4_94:
str x25, [sp]
b LBB4_96
LBB4_95:
str x26, [sp]
LBB4_96:
Lloh391:
adrp x1, l_.str.188@PAGE
Lloh392:
add x1, x1, l_.str.188@PAGEOFF
bl _errx
.loh AdrpLdrGotLdr Lloh357, Lloh358, Lloh359
.loh AdrpAdd Lloh360, Lloh361
.loh AdrpAdrp Lloh362, Lloh363
.loh AdrpAdd Lloh364, Lloh365
.loh AdrpAdd Lloh366, Lloh367
.loh AdrpAdd Lloh370, Lloh371
.loh AdrpLdr Lloh368, Lloh369
.loh AdrpAdd Lloh374, Lloh375
.loh AdrpAdd Lloh372, Lloh373
.loh AdrpAdd Lloh378, Lloh379
.loh AdrpLdr Lloh376, Lloh377
.loh AdrpAdd Lloh382, Lloh383
.loh AdrpAdd Lloh380, Lloh381
.loh AdrpLdrGotLdr Lloh384, Lloh385, Lloh386
.loh AdrpAdd Lloh387, Lloh388
.loh AdrpAdd Lloh389, Lloh390
.loh AdrpAdd Lloh391, Lloh392
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function parse_mimetype_line
_parse_mimetype_line: ; @parse_mimetype_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
mov x19, x0
mov w28, #0
Lloh393:
adrp x8, lJTI5_0@PAGE
Lloh394:
add x8, x8, lJTI5_0@PAGEOFF
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x19, w28, uxtw]
cmp w9, #35
b.hi LBB5_4
; %bb.2: ; in Loop: Header=BB5_1 Depth=1
adr x10, LBB5_3
ldrb w11, [x8, x9]
add x10, x10, x11, lsl #2
br x10
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
add w28, w28, #1
b LBB5_1
LBB5_4:
mov w8, w28
add x9, x19, x8
str x9, [sp, #32] ; 8-byte Folded Spill
LBB5_5: ; =>This Inner Loop Header: Depth=1
add w28, w28, #1
ldrb w9, [x19, w28, uxtw]
cbz w9, LBB5_31
; %bb.6: ; in Loop: Header=BB5_5 Depth=1
cmp w9, #32
ccmp w9, #9, #4, ne
b.ne LBB5_5
; %bb.7:
sub x8, x28, x8
str x8, [sp, #16] ; 8-byte Folded Spill
add x8, x8, #1
str x8, [sp, #24] ; 8-byte Folded Spill
Lloh395:
adrp x8, _longest_ext@PAGE
Lloh396:
ldr x8, [x8, _longest_ext@PAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
Lloh397:
adrp x8, _mime_map_size@PAGE
Lloh398:
ldr x22, [x8, _mime_map_size@PAGEOFF]
mov w10, #1
mov x11, #513
movk x11, #1, lsl #32
b LBB5_11
LBB5_8: ; in Loop: Header=BB5_11 Depth=1
mov x27, x0
mov x1, x23
mov x2, x26
bl _memcpy
add x8, x25, x22, lsl #4
str x27, [x8, #8]
mov x22, x21
LBB5_9: ; in Loop: Header=BB5_11 Depth=1
mov x0, x23
bl _free
mov x0, x24
bl _free
ldrb w8, [x19, x20]
mov w10, #1
mov x11, #513
movk x11, #1, lsl #32
cbz w8, LBB5_31
LBB5_10: ; in Loop: Header=BB5_11 Depth=1
add w28, w28, #1
LBB5_11: ; =>This Loop Header: Depth=1
; Child Loop BB5_15 Depth 2
; Child Loop BB5_23 Depth 2
mov w21, w28
add x25, x19, x21
ldrb w8, [x25]
cmp w8, #9
b.eq LBB5_10
; %bb.12: ; in Loop: Header=BB5_11 Depth=1
cmp w8, #32
b.eq LBB5_10
; %bb.13: ; in Loop: Header=BB5_11 Depth=1
cbnz w8, LBB5_15
b LBB5_31
LBB5_14: ; in Loop: Header=BB5_15 Depth=2
add w28, w28, #1
ldrb w8, [x19, w28, uxtw]
LBB5_15: ; Parent Loop BB5_11 Depth=1
; => This Inner Loop Header: Depth=2
and w9, w8, #0xff
cmp w9, #32
b.hi LBB5_14
; %bb.16: ; in Loop: Header=BB5_15 Depth=2
and x8, x8, #0xff
lsl x8, x10, x8
tst x8, x11
b.eq LBB5_14
; %bb.17: ; in Loop: Header=BB5_11 Depth=1
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _malloc
cbz x0, LBB5_33
; %bb.18: ; in Loop: Header=BB5_11 Depth=1
mov x23, x0
mov w20, w28
ldr x1, [sp, #32] ; 8-byte Folded Reload
ldr x24, [sp, #16] ; 8-byte Folded Reload
mov x2, x24
bl _memcpy
strb wzr, [x23, x24]
sub x26, x20, x21
add x27, x26, #1
mov x0, x27
bl _malloc
cbz x0, LBB5_34
; %bb.19: ; in Loop: Header=BB5_11 Depth=1
mov x24, x0
mov x1, x25
mov x2, x26
bl _memcpy
strb wzr, [x24, x26]
mov x0, x24
bl _strlen
ldr x8, [sp, #40] ; 8-byte Folded Reload
cmp x0, x8
b.ls LBB5_21
; %bb.20: ; in Loop: Header=BB5_11 Depth=1
adrp x8, _longest_ext@PAGE
str x0, [x8, _longest_ext@PAGEOFF]
str x0, [sp, #40] ; 8-byte Folded Spill
LBB5_21: ; in Loop: Header=BB5_11 Depth=1
adrp x8, _mime_map@PAGE
cbz x22, LBB5_25
; %bb.22: ; in Loop: Header=BB5_11 Depth=1
ldr x25, [x8, _mime_map@PAGEOFF]
add x21, x25, #8
mov x26, x22
LBB5_23: ; Parent Loop BB5_11 Depth=1
; => This Inner Loop Header: Depth=2
ldur x0, [x21, #-8]
mov x1, x24
bl _strcmp
cbz w0, LBB5_29
; %bb.24: ; in Loop: Header=BB5_23 Depth=2
add x21, x21, #16
subs x26, x26, #1
b.ne LBB5_23
b LBB5_26
LBB5_25: ; in Loop: Header=BB5_11 Depth=1
ldr x25, [x8, _mime_map@PAGEOFF]
LBB5_26: ; in Loop: Header=BB5_11 Depth=1
add x21, x22, #1
adrp x8, _mime_map_size@PAGE
str x21, [x8, _mime_map_size@PAGEOFF]
lsl x26, x21, #4
mov x0, x25
mov x1, x26
bl _realloc
cbz x0, LBB5_35
; %bb.27: ; in Loop: Header=BB5_11 Depth=1
mov x25, x0
adrp x8, _mime_map@PAGE
str x0, [x8, _mime_map@PAGEOFF]
mov x0, x24
bl _strlen
add x26, x0, #1
mov x0, x26
bl _malloc
cbz x0, LBB5_32
; %bb.28: ; in Loop: Header=BB5_11 Depth=1
mov x27, x0
mov x1, x24
mov x2, x26
bl _memcpy
lsl x8, x22, #4
str x27, [x25, x8]
mov x0, x23
bl _strlen
add x26, x0, #1
mov x0, x26
bl _malloc
cbnz x0, LBB5_8
b LBB5_32
LBB5_29: ; in Loop: Header=BB5_11 Depth=1
ldr x0, [x21]
bl _free
mov x0, x23
bl _strlen
add x25, x0, #1
mov x0, x25
bl _malloc
cbz x0, LBB5_36
; %bb.30: ; in Loop: Header=BB5_11 Depth=1
mov x26, x0
mov x1, x23
mov x2, x25
bl _memcpy
str x26, [x21]
b LBB5_9
LBB5_31:
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
LBB5_32:
str x26, [sp]
b LBB5_37
LBB5_33:
ldr x8, [sp, #24] ; 8-byte Folded Reload
str x8, [sp]
b LBB5_37
LBB5_34:
str x27, [sp]
b LBB5_37
LBB5_35:
str x26, [sp]
Lloh399:
adrp x1, l_.str.43@PAGE
Lloh400:
add x1, x1, l_.str.43@PAGEOFF
bl _errx
LBB5_36:
str x25, [sp]
LBB5_37:
Lloh401:
adrp x1, l_.str.40@PAGE
Lloh402:
add x1, x1, l_.str.40@PAGEOFF
bl _errx
.loh AdrpAdd Lloh393, Lloh394
.loh AdrpLdr Lloh397, Lloh398
.loh AdrpLdr Lloh395, Lloh396
.loh AdrpAdd Lloh399, Lloh400
.loh AdrpAdd Lloh401, Lloh402
.cfi_endproc
.section __TEXT,__const
lJTI5_0:
.byte (LBB5_31-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_3-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_3-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_4-LBB5_3)>>2
.byte (LBB5_31-LBB5_3)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.p2align 2 ; -- Begin function errx
_errx: ; @errx
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
add x8, x29, #16
str x8, [sp, #8]
Lloh403:
adrp x20, ___stderrp@GOTPAGE
Lloh404:
ldr x20, [x20, ___stderrp@GOTPAGEOFF]
ldr x3, [x20]
Lloh405:
adrp x0, l_.str.41@PAGE
Lloh406:
add x0, x0, l_.str.41@PAGEOFF
mov w1, #7
mov w2, #1
bl _fwrite
ldr x0, [x20]
ldr x2, [sp, #8]
mov x1, x19
bl _vfprintf
ldr x1, [x20]
mov w0, #10
bl _fputc
mov w0, #1
bl _exit
.loh AdrpAdd Lloh405, Lloh406
.loh AdrpLdrGot Lloh403, Lloh404
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function usage
_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]
Lloh407:
adrp x0, l_.str.89@PAGE
Lloh408:
add x0, x0, l_.str.89@PAGEOFF
bl _printf
adrp x8, _bindport@PAGE
ldrh w8, [x8, _bindport@PAGEOFF]
str x8, [sp]
Lloh409:
adrp x0, l_.str.90@PAGE
Lloh410:
add x0, x0, l_.str.90@PAGEOFF
bl _printf
Lloh411:
adrp x0, l_str.238@PAGE
Lloh412:
add x0, x0, l_str.238@PAGEOFF
bl _puts
Lloh413:
adrp x0, l_str.239@PAGE
Lloh414:
add x0, x0, l_str.239@PAGEOFF
bl _puts
Lloh415:
adrp x0, l_str.240@PAGE
Lloh416:
add x0, x0, l_str.240@PAGEOFF
bl _puts
Lloh417:
adrp x0, l_str.241@PAGE
Lloh418:
add x0, x0, l_str.241@PAGEOFF
bl _puts
Lloh419:
adrp x0, l_str.242@PAGE
Lloh420:
add x0, x0, l_str.242@PAGEOFF
bl _puts
Lloh421:
adrp x0, l_str.243@PAGE
Lloh422:
add x0, x0, l_str.243@PAGEOFF
bl _puts
Lloh423:
adrp x8, _index_name@PAGE
Lloh424:
ldr x8, [x8, _index_name@PAGEOFF]
str x8, [sp]
Lloh425:
adrp x0, l_.str.97@PAGE
Lloh426:
add x0, x0, l_.str.97@PAGEOFF
bl _printf
Lloh427:
adrp x0, l_str.244@PAGE
Lloh428:
add x0, x0, l_str.244@PAGEOFF
bl _puts
Lloh429:
adrp x0, l_str.245@PAGE
Lloh430:
add x0, x0, l_str.245@PAGEOFF
bl _puts
Lloh431:
adrp x8, _octet_stream@PAGE
Lloh432:
add x8, x8, _octet_stream@PAGEOFF
str x8, [sp]
Lloh433:
adrp x0, l_.str.100@PAGE
Lloh434:
add x0, x0, l_.str.100@PAGEOFF
bl _printf
Lloh435:
adrp x0, l_str.246@PAGE
Lloh436:
add x0, x0, l_str.246@PAGEOFF
bl _puts
Lloh437:
adrp x0, l_str.247@PAGE
Lloh438:
add x0, x0, l_str.247@PAGEOFF
bl _puts
Lloh439:
adrp x0, l_str.248@PAGE
Lloh440:
add x0, x0, l_str.248@PAGEOFF
bl _puts
Lloh441:
adrp x0, l_str.249@PAGE
Lloh442:
add x0, x0, l_str.249@PAGEOFF
bl _puts
Lloh443:
adrp x0, l_str.250@PAGE
Lloh444:
add x0, x0, l_str.250@PAGEOFF
bl _puts
Lloh445:
adrp x0, l_str.251@PAGE
Lloh446:
add x0, x0, l_str.251@PAGEOFF
bl _puts
Lloh447:
adrp x8, _timeout_secs@PAGE
Lloh448:
ldr w8, [x8, _timeout_secs@PAGEOFF]
str x8, [sp]
Lloh449:
adrp x0, l_.str.107@PAGE
Lloh450:
add x0, x0, l_.str.107@PAGEOFF
bl _printf
Lloh451:
adrp x0, l_str.252@PAGE
Lloh452:
add x0, x0, l_str.252@PAGEOFF
bl _puts
Lloh453:
adrp x0, l_str.253@PAGE
Lloh454:
add x0, x0, l_str.253@PAGEOFF
bl _puts
Lloh455:
adrp x0, l_str.254@PAGE
Lloh456:
add x0, x0, l_str.254@PAGEOFF
bl _puts
Lloh457:
adrp x0, l_str.255@PAGE
Lloh458:
add x0, x0, l_str.255@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _puts
.loh AdrpAdd Lloh457, Lloh458
.loh AdrpAdd Lloh455, Lloh456
.loh AdrpAdd Lloh453, Lloh454
.loh AdrpAdd Lloh451, Lloh452
.loh AdrpAdd Lloh449, Lloh450
.loh AdrpLdr Lloh447, Lloh448
.loh AdrpAdd Lloh445, Lloh446
.loh AdrpAdd Lloh443, Lloh444
.loh AdrpAdd Lloh441, Lloh442
.loh AdrpAdd Lloh439, Lloh440
.loh AdrpAdd Lloh437, Lloh438
.loh AdrpAdd Lloh435, Lloh436
.loh AdrpAdd Lloh433, Lloh434
.loh AdrpAdd Lloh431, Lloh432
.loh AdrpAdd Lloh429, Lloh430
.loh AdrpAdd Lloh427, Lloh428
.loh AdrpAdd Lloh425, Lloh426
.loh AdrpLdr Lloh423, Lloh424
.loh AdrpAdd Lloh421, Lloh422
.loh AdrpAdd Lloh419, Lloh420
.loh AdrpAdd Lloh417, Lloh418
.loh AdrpAdd Lloh415, Lloh416
.loh AdrpAdd Lloh413, Lloh414
.loh AdrpAdd Lloh411, Lloh412
.loh AdrpAdd Lloh409, Lloh410
.loh AdrpAdd Lloh407, Lloh408
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function xstr_to_num
_xstr_to_num: ; @xstr_to_num
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl ___error
str wzr, [x0]
add x1, sp, #8
mov x0, x19
mov w2, #10
bl _strtoll
ldr x8, [sp, #8]
ldrb w8, [x8]
cbnz w8, LBB8_5
; %bb.1:
mov x20, x0
mov x8, #9223372036854775807
cmp x0, x8
b.eq LBB8_3
; %bb.2:
mov x8, #-9223372036854775808
cmp x20, x8
b.ne LBB8_4
LBB8_3:
bl ___error
ldr w8, [x0]
cmp w8, #34
b.eq LBB8_5
LBB8_4:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB8_5:
str x19, [sp]
Lloh459:
adrp x1, l_.str.112@PAGE
Lloh460:
add x1, x1, l_.str.112@PAGEOFF
bl _errx
.loh AdrpAdd Lloh459, Lloh460
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mime_mapping_cmp
_mime_mapping_cmp: ; @mime_mapping_cmp
.cfi_startproc
; %bb.0:
ldr x0, [x0]
ldr x1, [x1]
b _strcmp
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function warn
_warn: ; @warn
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x8, x29, #16
str x8, [sp, #8]
Lloh461:
adrp x20, ___stderrp@GOTPAGE
Lloh462:
ldr x20, [x20, ___stderrp@GOTPAGEOFF]
ldr x3, [x20]
Lloh463:
adrp x0, l_.str.139@PAGE
Lloh464:
add x0, x0, l_.str.139@PAGEOFF
mov w1, #9
mov w2, #1
bl _fwrite
ldr x0, [x20]
ldr x2, [sp, #8]
mov x1, x19
bl _vfprintf
ldr x19, [x20]
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh465:
adrp x1, l_.str.131@PAGE
Lloh466:
add x1, x1, l_.str.131@PAGEOFF
mov x0, x19
bl _fprintf
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 Lloh465, Lloh466
.loh AdrpAdd Lloh463, Lloh464
.loh AdrpLdrGot Lloh461, Lloh462
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function poll_recv_request
_poll_recv_request: ; @poll_recv_request
.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
mov w9, #32784
Lloh467:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh468:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #8, lsl #12 ; =32768
sub sp, sp, #16
mov x19, x0
Lloh469:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh470:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh471:
ldr x8, [x8]
stur x8, [x29, #-56]
ldr w0, [x0, #16]
add x1, sp, #8
mov w2, #32768
mov w3, #0
bl _recv
mov x20, x0
cmp x0, #0
b.le LBB11_9
; %bb.1:
Lloh472:
adrp x8, _now@PAGE
Lloh473:
ldr x8, [x8, _now@PAGEOFF]
str x8, [x19, #40]
ldp x0, x8, [x19, #56]
add x8, x20, x8
add x22, x8, #1
mov x1, x22
bl _realloc
cbz x0, LBB11_17
; %bb.2:
mov x21, x0
str x0, [x19, #56]
ldr x22, [x19, #64]
add x0, x0, x22
add x1, sp, #8
mov x2, x20
bl _memcpy
add x9, x22, x20
add x8, x21, x9
str x9, [x19, #64]
strb wzr, [x8]
adrp x10, _total_in@PAGE
ldr x11, [x10, _total_in@PAGEOFF]
add x11, x11, x20
str x11, [x10, _total_in@PAGEOFF]
cmp x9, #3
b.lo LBB11_7
; %bb.3:
ldurh w10, [x8, #-2]
cmp w10, #2570
b.eq LBB11_6
; %bb.4:
cmp x9, #5
b.lo LBB11_7
; %bb.5:
ldur w8, [x8, #-4]
mov w9, #2573
movk w9, #2573, lsl #16
cmp w8, w9
b.ne LBB11_7
LBB11_6:
mov x0, x19
bl _process_request
LBB11_7:
ldr x8, [x19, #64]
cmp x8, #4001
b.lo LBB11_12
; %bb.8:
Lloh474:
adrp x2, l_.str.161@PAGE
Lloh475:
add x2, x2, l_.str.161@PAGEOFF
Lloh476:
adrp x3, l_.str.162@PAGE
Lloh477:
add x3, x3, l_.str.162@PAGEOFF
mov x0, x19
mov w1, #413
bl _default_reply
mov w8, #1
str w8, [x19, #48]
b LBB11_13
LBB11_9:
cmn x20, #1
b.ne LBB11_11
; %bb.10:
bl ___error
ldr w8, [x0]
cmp w8, #35
b.eq LBB11_14
LBB11_11:
mov w8, #1
str w8, [x19, #180]
mov w8, #3
str w8, [x19, #48]
b LBB11_14
LBB11_12:
ldr w8, [x19, #48]
cmp w8, #1
b.ne LBB11_14
LBB11_13:
mov x0, x19
bl _poll_send_header
LBB11_14:
ldur x8, [x29, #-56]
Lloh478:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh479:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh480:
ldr x9, [x9]
cmp x9, x8
b.ne LBB11_16
; %bb.15:
add sp, sp, #8, lsl #12 ; =32768
add sp, sp, #16
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
LBB11_16:
bl ___stack_chk_fail
LBB11_17:
str x22, [sp]
Lloh481:
adrp x1, l_.str.43@PAGE
Lloh482:
add x1, x1, l_.str.43@PAGEOFF
bl _errx
.loh AdrpLdrGotLdr Lloh469, Lloh470, Lloh471
.loh AdrpLdrGot Lloh467, Lloh468
.loh AdrpLdr Lloh472, Lloh473
.loh AdrpAdd Lloh476, Lloh477
.loh AdrpAdd Lloh474, Lloh475
.loh AdrpLdrGotLdr Lloh478, Lloh479, Lloh480
.loh AdrpAdd Lloh481, Lloh482
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function poll_send_header
_poll_send_header: ; @poll_send_header
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0, #16]
ldp x10, x8, [x19, #152]
ldr x9, [x19, #144]
add x1, x9, x8
sub x2, x10, x8
mov w3, #0
bl _send
Lloh483:
adrp x8, _now@PAGE
Lloh484:
ldr x8, [x8, _now@PAGEOFF]
str x8, [x19, #40]
cmp x0, #0
b.le LBB12_4
; %bb.1:
ldp x9, x8, [x19, #152]
add x8, x8, x0
cmp x8, x9
str x8, [x19, #160]
ldr x8, [x19, #232]
add x8, x8, x0
str x8, [x19, #232]
adrp x8, _total_out@PAGE
ldr x9, [x8, _total_out@PAGEOFF]
add x9, x9, x0
str x9, [x8, _total_out@PAGEOFF]
b.ne LBB12_8
; %bb.2:
ldr w8, [x19, #172]
cbnz w8, LBB12_7
; %bb.3:
mov w8, #2
str w8, [x19, #48]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _poll_send_reply
LBB12_4:
cmn x0, #1
b.ne LBB12_6
; %bb.5:
bl ___error
ldr w8, [x0]
cmp w8, #35
b.eq LBB12_8
LBB12_6:
mov w8, #1
str w8, [x19, #180]
LBB12_7:
mov w8, #3
str w8, [x19, #48]
LBB12_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdr Lloh483, Lloh484
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function poll_send_reply
_poll_send_reply: ; @poll_send_reply
.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 w9, #32800
Lloh485:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh486:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #8, lsl #12 ; =32768
sub sp, sp, #32
mov x19, x0
Lloh487:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh488:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh489:
ldr x8, [x8]
stur x8, [x29, #-56]
ldp x9, x8, [x0, #216]
sub x22, x9, x8
ldr w9, [x0, #184]
cbz w9, LBB13_5
; %bb.1:
bl ___error
str wzr, [x0]
ldr w21, [x19, #16]
ldr w20, [x19, #204]
ldr x8, [x19, #208]
ldr x9, [x19, #224]
add x23, x9, x8
mov w8, #32768
cmp x22, #8, lsl #12 ; =32768
csel x22, x22, x8, lo
mov x0, x20
mov x1, x23
mov w2, #0
bl _lseek
cmn x0, #1
b.eq LBB13_21
; %bb.2:
add x1, sp, #24
mov x0, x20
mov x2, x22
bl _read
cmn x0, #1
b.eq LBB13_6
; %bb.3:
cbnz x0, LBB13_7
; %bb.4:
Lloh490:
adrp x8, ___stderrp@GOTPAGE
Lloh491:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh492:
ldr x0, [x8]
str x20, [sp]
Lloh493:
adrp x1, l_.str.231@PAGE
Lloh494:
add x1, x1, l_.str.231@PAGEOFF
b LBB13_11
LBB13_5:
ldr w0, [x19, #16]
ldr x9, [x19, #192]
ldr x10, [x19, #208]
add x9, x9, x10
add x1, x9, x8
b LBB13_9
LBB13_6:
Lloh495:
adrp x8, ___stderrp@GOTPAGE
Lloh496:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh497:
ldr x21, [x8]
bl ___error
ldr w0, [x0]
bl _strerror
; kill: def $w20 killed $w20 killed $x20 def $x20
stp x20, x0, [sp]
Lloh498:
adrp x1, l_.str.232@PAGE
Lloh499:
add x1, x1, l_.str.232@PAGEOFF
mov x0, x21
b LBB13_11
LBB13_7:
cmp x0, x22
b.ne LBB13_10
; %bb.8:
add x1, sp, #24
mov x0, x21
LBB13_9:
mov x2, x22
mov w3, #0
bl _send
b LBB13_12
LBB13_10:
Lloh500:
adrp x8, ___stderrp@GOTPAGE
Lloh501:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh502:
ldr x8, [x8]
; kill: def $w20 killed $w20 killed $x20 def $x20
stp x22, x20, [sp, #8]
str x0, [sp]
Lloh503:
adrp x1, l_.str.233@PAGE
Lloh504:
add x1, x1, l_.str.233@PAGEOFF
mov x0, x8
LBB13_11:
bl _fprintf
mov x0, #-1
LBB13_12:
Lloh505:
adrp x8, _now@PAGE
Lloh506:
ldr x8, [x8, _now@PAGEOFF]
str x8, [x19, #40]
cmp x0, #0
b.le LBB13_14
; %bb.13:
ldr q0, [x19, #224]
dup.2d v1, x0
add.2d v0, v0, v1
str q0, [x19, #224]
adrp x8, _total_out@PAGE
ldr x9, [x8, _total_out@PAGEOFF]
add x9, x9, x0
str x9, [x8, _total_out@PAGEOFF]
ldr x8, [x19, #216]
fmov x9, d0
cmp x9, x8
b.eq LBB13_17
b LBB13_18
LBB13_14:
cmn x0, #1
b.ne LBB13_16
; %bb.15:
bl ___error
ldr w8, [x0]
cmp w8, #35
b.eq LBB13_18
LBB13_16:
mov w8, #1
str w8, [x19, #180]
LBB13_17:
mov w8, #3
str w8, [x19, #48]
LBB13_18:
ldur x8, [x29, #-56]
Lloh507:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh508:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh509:
ldr x9, [x9]
cmp x9, x8
b.ne LBB13_20
; %bb.19:
add sp, sp, #8, lsl #12 ; =32768
add sp, sp, #32
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
LBB13_20:
bl ___stack_chk_fail
LBB13_21:
str x23, [sp]
Lloh510:
adrp x1, l_.str.230@PAGE
Lloh511:
add x1, x1, l_.str.230@PAGEOFF
bl _err
.loh AdrpLdrGotLdr Lloh487, Lloh488, Lloh489
.loh AdrpLdrGot Lloh485, Lloh486
.loh AdrpAdd Lloh493, Lloh494
.loh AdrpLdrGotLdr Lloh490, Lloh491, Lloh492
.loh AdrpAdd Lloh498, Lloh499
.loh AdrpLdrGotLdr Lloh495, Lloh496, Lloh497
.loh AdrpAdd Lloh503, Lloh504
.loh AdrpLdrGotLdr Lloh500, Lloh501, Lloh502
.loh AdrpLdr Lloh505, Lloh506
.loh AdrpLdrGotLdr Lloh507, Lloh508, Lloh509
.loh AdrpAdd Lloh510, Lloh511
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function process_request
_process_request: ; @process_request
.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, x0
adrp x8, _num_requests@PAGE
ldr x9, [x8, _num_requests@PAGEOFF]
add x9, x9, #1
str x9, [x8, _num_requests@PAGEOFF]
ldp x21, x24, [x0, #56]
mov x20, #0
cbz x24, LBB14_4
LBB14_1: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x21, x20]
cmp w8, #32
b.eq LBB14_4
; %bb.2: ; in Loop: Header=BB14_1 Depth=1
add x20, x20, #1
cmp x24, x20
b.ne LBB14_1
; %bb.3:
mov x20, x24
LBB14_4:
add x23, x20, #1
mov x0, x23
bl _malloc
cbz x0, LBB14_81
; %bb.5:
mov x22, x0
mov x1, x21
mov x2, x20
bl _memcpy
strb wzr, [x22, x20]
str x22, [x19, #72]
cbz x20, LBB14_9
; %bb.6:
mov x21, x20
LBB14_7: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x22]
bl ___toupper
strb w0, [x22], #1
subs x21, x21, #1
b.ne LBB14_7
; %bb.8:
ldr x24, [x19, #64]
LBB14_9:
cmp x20, x24
b.hs LBB14_13
; %bb.10:
ldr x8, [x19, #56]
LBB14_11: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8, x20]
cmp w9, #32
b.ne LBB14_13
; %bb.12: ; in Loop: Header=BB14_11 Depth=1
add x20, x20, #1
cmp x24, x20
b.ne LBB14_11
b LBB14_14
LBB14_13:
cmp x20, x24
b.ne LBB14_17
LBB14_14:
Lloh512:
adrp x2, l_.str.163@PAGE
Lloh513:
add x2, x2, l_.str.163@PAGEOFF
Lloh514:
adrp x3, l_.str.164@PAGE
Lloh515:
add x3, x3, l_.str.164@PAGEOFF
mov x0, x19
mov w1, #400
LBB14_15:
bl _default_reply
LBB14_16:
mov w8, #1
str w8, [x19, #48]
ldr x0, [x19, #56]
bl _free
str xzr, [x19, #56]
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
LBB14_17:
add x8, x20, #1
cmp x24, x8
csinc x8, x24, x20, hi
ldr x25, [x19, #56]
add x9, x25, #1
mov w10, #1
mov x11, #9216
movk x11, #1, lsl #32
mov x12, x20
LBB14_18: ; =>This Inner Loop Header: Depth=1
add x26, x12, #1
cmp x26, x24
b.hs LBB14_20
; %bb.19: ; in Loop: Header=BB14_18 Depth=1
ldrb w12, [x9, x12]
cmp w12, #32
lsl x12, x10, x12
and x12, x12, x11
ccmp x12, #0, #4, ls
mov x12, x26
b.eq LBB14_18
b LBB14_21
LBB14_20:
mov x26, x8
LBB14_21:
sub x21, x26, x20
add x23, x21, #1
mov x0, x23
bl _malloc
cbz x0, LBB14_81
; %bb.22:
mov x22, x0
add x1, x25, x20
mov x2, x21
bl _memcpy
strb wzr, [x22, x21]
str x22, [x19, #80]
ldrb w8, [x25, x26]
cmp w8, #32
b.ne LBB14_36
; %bb.23:
cmp x26, x24
b.hs LBB14_28
; %bb.24:
add x8, x25, #1
sub x9, x24, #1
LBB14_25: ; =>This Inner Loop Header: Depth=1
cmp x9, x26
b.eq LBB14_27
; %bb.26: ; in Loop: Header=BB14_25 Depth=1
ldrb w10, [x8, x26]
add x26, x26, #1
cmp w10, #32
b.eq LBB14_25
b LBB14_28
LBB14_27:
mov x26, x24
LBB14_28:
add x8, x26, #1
cmp x24, x8
csinc x8, x24, x26, hi
add x10, x25, #1
mov x11, x26
LBB14_29: ; =>This Inner Loop Header: Depth=1
add x9, x11, #1
cmp x9, x24
b.hs LBB14_31
; %bb.30: ; in Loop: Header=BB14_29 Depth=1
ldrb w11, [x10, x11]
cmp w11, #32
ccmp w11, #13, #4, ne
mov x11, x9
b.ne LBB14_29
b LBB14_32
LBB14_31:
mov x9, x8
LBB14_32:
sub x21, x9, x26
add x22, x21, #1
mov x0, x22
bl _malloc
cbz x0, LBB14_83
; %bb.33:
mov x20, x0
add x1, x25, x26
mov x2, x21
bl _memcpy
strb wzr, [x20, x21]
Lloh516:
adrp x1, l_.str.171@PAGE
Lloh517:
add x1, x1, l_.str.171@PAGEOFF
mov x0, x20
bl _strcasecmp
cbnz w0, LBB14_35
; %bb.34:
str wzr, [x19, #180]
LBB14_35:
mov x0, x20
bl _free
LBB14_36:
Lloh518:
adrp x1, l_.str.172@PAGE
Lloh519:
add x1, x1, l_.str.172@PAGEOFF
mov x0, x19
bl _parse_field
cbz x0, LBB14_43
; %bb.37:
mov x20, x0
Lloh520:
adrp x1, l_.str.173@PAGE
Lloh521:
add x1, x1, l_.str.173@PAGEOFF
bl _strcasecmp
cbz w0, LBB14_40
; %bb.38:
Lloh522:
adrp x1, l_.str.174@PAGE
Lloh523:
add x1, x1, l_.str.174@PAGEOFF
mov x0, x20
bl _strcasecmp
cbnz w0, LBB14_42
; %bb.39:
mov w8, #0
b LBB14_41
LBB14_40:
mov w8, #1
LBB14_41:
str w8, [x19, #180]
LBB14_42:
mov x0, x20
bl _free
LBB14_43:
adrp x8, _want_keepalive@PAGE
ldrb w8, [x8, _want_keepalive@PAGEOFF]
cmp w8, #1
b.ne LBB14_45
; %bb.44:
str w8, [x19, #180]
LBB14_45:
Lloh524:
adrp x1, l_.str.175@PAGE
Lloh525:
add x1, x1, l_.str.175@PAGEOFF
mov x0, x19
bl _parse_field
str x0, [x19, #88]
Lloh526:
adrp x1, l_.str.176@PAGE
Lloh527:
add x1, x1, l_.str.176@PAGEOFF
mov x0, x19
bl _parse_field
str x0, [x19, #96]
Lloh528:
adrp x1, l_.str.177@PAGE
Lloh529:
add x1, x1, l_.str.177@PAGEOFF
mov x0, x19
bl _parse_field
str x0, [x19, #104]
Lloh530:
adrp x1, l_.str.178@PAGE
Lloh531:
add x1, x1, l_.str.178@PAGEOFF
mov x0, x19
bl _parse_field
cbz x0, LBB14_60
; %bb.46:
mov x20, x0
bl _strlen
mov x21, x0
mov x22, #0
cbz x0, LBB14_49
LBB14_47: ; =>This Inner Loop Header: Depth=1
ldrsb w8, [x20, x22]
sub w8, w8, #48
cmp w8, #9
b.hi LBB14_49
; %bb.48: ; in Loop: Header=BB14_47 Depth=1
add x22, x22, #1
cmp x21, x22
b.ne LBB14_47
b LBB14_59
LBB14_49:
cmp x22, x21
b.eq LBB14_59
; %bb.50:
ldrb w8, [x20, x22]
cmp w8, #45
b.ne LBB14_59
; %bb.51:
cbz x22, LBB14_53
; %bb.52:
mov w8, #1
str x8, [x19, #128]
mov x0, x20
mov x1, #0
mov w2, #10
bl _strtoll
str x0, [x19, #112]
LBB14_53:
add x8, x22, #1
mov x9, x8
cmp x8, x21
b.hs LBB14_56
LBB14_54: ; =>This Inner Loop Header: Depth=1
ldrsb w10, [x20, x9]
sub w10, w10, #48
cmp w10, #9
b.hi LBB14_56
; %bb.55: ; in Loop: Header=BB14_54 Depth=1
add x9, x9, #1
cmp x21, x9
b.ne LBB14_54
b LBB14_57
LBB14_56:
cmp x9, x21
b.ne LBB14_80
LBB14_57:
cmp x8, x21
b.eq LBB14_59
LBB14_58:
mov w9, #1
str x9, [x19, #136]
add x0, x20, x8
mov x1, #0
mov w2, #10
bl _strtoll
str x0, [x19, #120]
LBB14_59:
mov x0, x20
bl _free
LBB14_60:
adrp x8, _forward_to_https@PAGE
ldrb w8, [x8, _forward_to_https@PAGEOFF]
cmp w8, #1
b.ne LBB14_67
; %bb.61:
Lloh532:
adrp x1, l_.str.179@PAGE
Lloh533:
add x1, x1, l_.str.179@PAGEOFF
mov x0, x19
bl _parse_field
mov x20, x0
cbz x0, LBB14_66
; %bb.62:
Lloh534:
adrp x1, l_.str.180@PAGE
Lloh535:
add x1, x1, l_.str.180@PAGEOFF
mov x0, x20
bl _strcasecmp
cbz w0, LBB14_66
; %bb.63:
mov x0, x20
bl _free
ldr x0, [x19, #80]
bl _urldecode
mov x20, x0
bl _make_safe_url
cbz x0, LBB14_76
; %bb.64:
Lloh536:
adrp x1, l_.str.182@PAGE
Lloh537:
add x1, x1, l_.str.182@PAGEOFF
mov x0, x19
bl _parse_field
cbz x0, LBB14_77
; %bb.65:
mov x21, x0
stp x0, x20, [sp]
Lloh538:
adrp x1, l_.str.184@PAGE
Lloh539:
add x1, x1, l_.str.184@PAGEOFF
mov x0, x19
bl _redirect
mov x0, x21
bl _free
b LBB14_79
LBB14_66:
mov x0, x20
bl _free
LBB14_67:
Lloh540:
adrp x8, _auth_key@PAGE
Lloh541:
ldr x1, [x8, _auth_key@PAGEOFF]
cbz x1, LBB14_71
; %bb.68:
ldr x0, [x19, #104]
cbz x0, LBB14_70
; %bb.69:
bl _strcmp
cbz w0, LBB14_71
LBB14_70:
Lloh542:
adrp x2, l_.str.165@PAGE
Lloh543:
add x2, x2, l_.str.165@PAGEOFF
Lloh544:
adrp x3, l_.str.166@PAGE
Lloh545:
add x3, x3, l_.str.166@PAGEOFF
mov x0, x19
mov w1, #401
b LBB14_15
LBB14_71:
ldr x20, [x19, #72]
Lloh546:
adrp x1, l_.str.167@PAGE
Lloh547:
add x1, x1, l_.str.167@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB14_74
; %bb.72:
Lloh548:
adrp x1, l_.str.168@PAGE
Lloh549:
add x1, x1, l_.str.168@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB14_75
; %bb.73:
Lloh550:
adrp x2, l_.str.169@PAGE
Lloh551:
add x2, x2, l_.str.169@PAGEOFF
Lloh552:
adrp x3, l_.str.170@PAGE
Lloh553:
add x3, x3, l_.str.170@PAGEOFF
mov x0, x19
mov w1, #501
b LBB14_15
LBB14_74:
mov x0, x19
bl _process_get
b LBB14_16
LBB14_75:
mov x0, x19
bl _process_get
mov w8, #1
str w8, [x19, #172]
b LBB14_16
LBB14_76:
Lloh554:
adrp x2, l_.str.163@PAGE
Lloh555:
add x2, x2, l_.str.163@PAGEOFF
Lloh556:
adrp x3, l_.str.181@PAGE
Lloh557:
add x3, x3, l_.str.181@PAGEOFF
b LBB14_78
LBB14_77:
Lloh558:
adrp x2, l_.str.163@PAGE
Lloh559:
add x2, x2, l_.str.163@PAGEOFF
Lloh560:
adrp x3, l_.str.183@PAGE
Lloh561:
add x3, x3, l_.str.183@PAGEOFF
LBB14_78:
mov x0, x19
mov w1, #400
bl _default_reply
LBB14_79:
mov x0, x20
bl _free
b LBB14_16
LBB14_80:
ldrb w10, [x20, x9]
cmp w10, #44
ccmp x8, x9, #4, eq
b.ne LBB14_58
b LBB14_59
LBB14_81:
str x23, [sp]
LBB14_82:
Lloh562:
adrp x1, l_.str.40@PAGE
Lloh563:
add x1, x1, l_.str.40@PAGEOFF
bl _errx
LBB14_83:
str x22, [sp]
b LBB14_82
.loh AdrpAdd Lloh514, Lloh515
.loh AdrpAdd Lloh512, Lloh513
.loh AdrpAdd Lloh516, Lloh517
.loh AdrpAdd Lloh518, Lloh519
.loh AdrpAdd Lloh520, Lloh521
.loh AdrpAdd Lloh522, Lloh523
.loh AdrpAdd Lloh530, Lloh531
.loh AdrpAdd Lloh528, Lloh529
.loh AdrpAdd Lloh526, Lloh527
.loh AdrpAdd Lloh524, Lloh525
.loh AdrpAdd Lloh532, Lloh533
.loh AdrpAdd Lloh534, Lloh535
.loh AdrpAdd Lloh536, Lloh537
.loh AdrpAdd Lloh538, Lloh539
.loh AdrpLdr Lloh540, Lloh541
.loh AdrpAdd Lloh544, Lloh545
.loh AdrpAdd Lloh542, Lloh543
.loh AdrpAdd Lloh546, Lloh547
.loh AdrpAdd Lloh548, Lloh549
.loh AdrpAdd Lloh552, Lloh553
.loh AdrpAdd Lloh550, Lloh551
.loh AdrpAdd Lloh556, Lloh557
.loh AdrpAdd Lloh554, Lloh555
.loh AdrpAdd Lloh560, Lloh561
.loh AdrpAdd Lloh558, Lloh559
.loh AdrpAdd Lloh562, Lloh563
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function default_reply
_default_reply: ; @default_reply
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x24, x23, [sp, #176] ; 16-byte Folded Spill
stp x22, x21, [sp, #192] ; 16-byte Folded Spill
stp x20, x19, [sp, #208] ; 16-byte Folded Spill
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x2
mov x20, x1
mov x19, x0
Lloh564:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh565:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh566:
ldr x8, [x8]
stur x8, [x29, #-56]
add x8, x29, #16
str x8, [sp, #64]
add x0, sp, #72
add x2, x29, #16
mov x1, x3
bl _vasprintf
cmn w0, #1
b.eq LBB15_6
; %bb.1:
Lloh567:
adrp x8, _now@PAGE
Lloh568:
ldr x8, [x8, _now@PAGEOFF]
str x8, [sp, #80]
add x0, sp, #80
bl _gmtime
mov x3, x0
Lloh569:
adrp x2, l_.str.187@PAGE
Lloh570:
add x2, x2, l_.str.187@PAGEOFF
sub x22, x29, #86
sub x0, x29, #86
mov w1, #30
bl _strftime
cbz x0, LBB15_7
; %bb.2:
ldr x24, [sp, #72]
adrp x8, _want_server_id@PAGE
ldrb w8, [x8, _want_server_id@PAGEOFF]
Lloh571:
adrp x23, l_.str.3@PAGE
Lloh572:
add x23, x23, l_.str.3@PAGEOFF
mov x22, x23
tbnz w8, #0, LBB15_4
; %bb.3:
sub x8, x29, #86
Lloh573:
adrp x9, _pkgname@PAGE
Lloh574:
add x9, x9, _pkgname@PAGEOFF
Lloh575:
adrp x22, __generated_on_buf@PAGE
Lloh576:
add x22, x22, __generated_on_buf@PAGEOFF
stp x9, x8, [sp]
Lloh577:
adrp x2, l_.str.189@PAGE
Lloh578:
add x2, x2, l_.str.189@PAGEOFF
mov x0, x22
mov w1, #72
bl _snprintf
LBB15_4:
add x0, x19, #192
stp x24, x22, [sp, #24]
stp x21, x21, [sp, #8]
str x20, [sp]
Lloh579:
adrp x1, l_.str.228@PAGE
Lloh580:
add x1, x1, l_.str.228@PAGEOFF
bl _xasprintf
mov w8, w0
str x8, [x19, #216]
ldr x0, [sp, #72]
bl _free
Lloh581:
adrp x8, l___const.default_reply.auth_header@PAGE
Lloh582:
add x8, x8, l___const.default_reply.auth_header@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [sp, #80]
ldr q0, [x8, #32]
str q0, [sp, #112]
ldur x8, [x8, #45]
stur x8, [sp, #125]
add x0, x19, #144
Lloh583:
adrp x8, _server_hdr@PAGE
Lloh584:
ldr x8, [x8, _server_hdr@PAGEOFF]
ldr w9, [x19, #180]
Lloh585:
adrp x10, _keep_alive_field@PAGE
Lloh586:
ldr x10, [x10, _keep_alive_field@PAGEOFF]
Lloh587:
adrp x11, l_.str.190@PAGE
Lloh588:
add x11, x11, l_.str.190@PAGEOFF
cmp w9, #0
csel x9, x10, x11, eq
ldr x10, [x19, #216]
Lloh589:
adrp x11, _auth_key@PAGE
Lloh590:
ldr x11, [x11, _auth_key@PAGEOFF]
add x12, sp, #80
cmp x11, #0
csel x11, x23, x12, eq
stp x10, x11, [sp, #40]
stp x8, x9, [sp, #24]
sub x9, x29, #86
stp x21, x9, [sp, #8]
Lloh591:
adrp x1, l_.str.229@PAGE
Lloh592:
add x1, x1, l_.str.229@PAGEOFF
str x20, [sp]
bl _xasprintf
mov w8, w0
str x8, [x19, #152]
str wzr, [x19, #184]
str w20, [x19, #176]
str xzr, [x19, #208]
ldur x8, [x29, #-56]
Lloh593:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh594:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh595:
ldr x9, [x9]
cmp x9, x8
b.ne LBB15_8
; %bb.5:
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
ldp x20, x19, [sp, #208] ; 16-byte Folded Reload
ldp x22, x21, [sp, #192] ; 16-byte Folded Reload
ldp x24, x23, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #240
ret
LBB15_6:
Lloh596:
adrp x1, l_.str.119@PAGE
Lloh597:
add x1, x1, l_.str.119@PAGEOFF
bl _errx
LBB15_7:
str x22, [sp]
Lloh598:
adrp x1, l_.str.188@PAGE
Lloh599:
add x1, x1, l_.str.188@PAGEOFF
bl _errx
LBB15_8:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh564, Lloh565, Lloh566
.loh AdrpAdd Lloh569, Lloh570
.loh AdrpLdr Lloh567, Lloh568
.loh AdrpAdd Lloh571, Lloh572
.loh AdrpAdd Lloh577, Lloh578
.loh AdrpAdd Lloh575, Lloh576
.loh AdrpAdd Lloh573, Lloh574
.loh AdrpLdrGotLdr Lloh593, Lloh594, Lloh595
.loh AdrpAdd Lloh591, Lloh592
.loh AdrpLdr Lloh589, Lloh590
.loh AdrpAdd Lloh587, Lloh588
.loh AdrpLdr Lloh585, Lloh586
.loh AdrpLdr Lloh583, Lloh584
.loh AdrpAdd Lloh581, Lloh582
.loh AdrpAdd Lloh579, Lloh580
.loh AdrpAdd Lloh596, Lloh597
.loh AdrpAdd Lloh598, Lloh599
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function process_get
lCPI16_0:
.quad 0 ; 0x0
.quad 4096 ; 0x1000
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_process_get: ; @process_get
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #944
mov x19, x0
Lloh600:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh601:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh602:
ldr x8, [x8]
stur x8, [x29, #-96]
ldr x20, [x0, #80]
mov x0, x20
mov w1, #63
bl _strchr
cbz x0, LBB16_2
; %bb.1:
strb wzr, [x0]
ldr x20, [x19, #80]
LBB16_2:
mov x0, x20
bl _urldecode
mov x20, x0
bl _make_safe_url
cbz x0, LBB16_10
; %bb.3:
adrp x23, _forward_map@PAGE
ldr x8, [x23, _forward_map@PAGEOFF]
cbz x8, LBB16_9
; %bb.4:
Lloh603:
adrp x1, l_.str.182@PAGE
Lloh604:
add x1, x1, l_.str.182@PAGEOFF
mov x0, x19
bl _parse_field
cbz x0, LBB16_9
; %bb.5:
mov x21, x0
Lloh605:
adrp x8, _forward_map_size@PAGE
Lloh606:
ldr x22, [x8, _forward_map_size@PAGEOFF]
cbz x22, LBB16_12
; %bb.6:
ldr x8, [x23, _forward_map@PAGEOFF]
add x23, x8, #8
LBB16_7: ; =>This Inner Loop Header: Depth=1
ldur x0, [x23, #-8]
mov x1, x21
bl _strcasecmp
cbz w0, LBB16_11
; %bb.8: ; in Loop: Header=BB16_7 Depth=1
add x23, x23, #16
subs x22, x22, #1
b.ne LBB16_7
b LBB16_12
LBB16_9:
mov x22, #0
b LBB16_13
LBB16_10:
Lloh607:
adrp x2, l_.str.163@PAGE
Lloh608:
add x2, x2, l_.str.163@PAGEOFF
Lloh609:
adrp x3, l_.str.181@PAGE
Lloh610:
add x3, x3, l_.str.181@PAGEOFF
mov x0, x19
mov w1, #400
bl _default_reply
b LBB16_15
LBB16_11:
ldr x22, [x23]
LBB16_12:
mov x0, x21
bl _free
LBB16_13:
Lloh611:
adrp x8, _forward_all_url@PAGE
Lloh612:
ldr x8, [x8, _forward_all_url@PAGEOFF]
cmp x22, #0
csel x8, x8, x22, eq
cbz x8, LBB16_17
; %bb.14:
stp x8, x20, [sp]
Lloh613:
adrp x1, l_.str.191@PAGE
Lloh614:
add x1, x1, l_.str.191@PAGEOFF
mov x0, x19
bl _redirect
LBB16_15:
ldur x8, [x29, #-96]
Lloh615:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh616:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh617:
ldr x9, [x9]
cmp x9, x8
b.ne LBB16_167
; %bb.16:
mov x0, x20
add sp, sp, #944
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _free
LBB16_17:
mov x0, x20
bl _strlen
add x8, x0, x20
ldurb w9, [x8, #-1]
adrp x21, _wwwroot@PAGE
ldr x8, [x21, _wwwroot@PAGEOFF]
cmp w9, #47
b.ne LBB16_22
; %bb.18:
adrp x22, _index_name@PAGE
ldr x9, [x22, _index_name@PAGEOFF]
stp x20, x9, [sp, #8]
str x8, [sp]
Lloh618:
adrp x1, l_.str.192@PAGE
Lloh619:
add x1, x1, l_.str.192@PAGEOFF
add x0, sp, #88
bl _xasprintf
ldr x0, [sp, #88]
add x1, sp, #160
bl _stat
cmn w0, #1
b.ne LBB16_25
; %bb.19:
bl ___error
ldr w8, [x0]
cmp w8, #2
b.ne LBB16_25
; %bb.20:
ldr x0, [sp, #88]
bl _free
adrp x8, _no_listing@PAGE
ldrb w8, [x8, _no_listing@PAGEOFF]
cmp w8, #1
b.ne LBB16_56
; %bb.21:
mov x0, x20
bl _free
b LBB16_45
LBB16_22:
stp x8, x20, [sp]
Lloh620:
adrp x1, l_.str.191@PAGE
Lloh621:
add x1, x1, l_.str.191@PAGEOFF
add x0, sp, #88
bl _xasprintf
mov x0, x20
bl _strlen
mov x9, #0
mov x12, #0
Lloh622:
adrp x8, _longest_ext@PAGE
Lloh623:
ldrsw x10, [x8, _longest_ext@PAGEOFF]
add x8, x20, w0, uxtw
sub x11, x8, #1
LBB16_23: ; =>This Inner Loop Header: Depth=1
mov x8, x12
add w12, w0, w8
cmp w12, #2
b.lt LBB16_28
; %bb.24: ; in Loop: Header=BB16_23 Depth=1
ldrb w13, [x11, x8]
sub x12, x8, #1
cmp w13, #46
ccmp x9, x10, #0, ne
add x9, x9, #1
b.le LBB16_23
b LBB16_29
LBB16_25:
ldr x21, [x22, _index_name@PAGEOFF]
mov x0, x21
bl _strlen
mov x9, #0
mov x12, #0
Lloh624:
adrp x8, _longest_ext@PAGE
Lloh625:
ldrsw x10, [x8, _longest_ext@PAGEOFF]
add x8, x21, w0, uxtw
sub x11, x8, #1
LBB16_26: ; =>This Inner Loop Header: Depth=1
mov x8, x12
add w12, w0, w8
cmp w12, #2
b.lt LBB16_31
; %bb.27: ; in Loop: Header=BB16_26 Depth=1
ldrb w13, [x11, x8]
sub x12, x8, #1
cmp w13, #46
ccmp x9, x10, #0, ne
add x9, x9, #1
b.le LBB16_26
b LBB16_32
LBB16_28:
mov w9, #1
sub w9, w9, w0
cmp w9, w8
b.ne LBB16_35
LBB16_29:
sub w9, w0, #1
add x9, x20, x9
ldrb w9, [x9, x8]
cmp w9, #46
b.ne LBB16_35
; %bb.30:
sub w9, w0, #1
add x9, x20, x9
b LBB16_34
LBB16_31:
mov w9, #1
sub w9, w9, w0
cmp w9, w8
b.ne LBB16_35
LBB16_32:
sub w9, w0, #1
add x9, x21, x9
ldrb w9, [x9, x8]
cmp w9, #46
b.ne LBB16_35
; %bb.33:
sub w9, w0, #1
add x9, x21, x9
LBB16_34:
add x8, x9, x8
add x0, x8, #1
Lloh626:
adrp x8, _mime_map@PAGE
Lloh627:
ldr x1, [x8, _mime_map@PAGEOFF]
Lloh628:
adrp x8, _mime_map_size@PAGE
Lloh629:
ldr x2, [x8, _mime_map_size@PAGEOFF]
Lloh630:
adrp x4, _mime_mapping_cmp_str@PAGE
Lloh631:
add x4, x4, _mime_mapping_cmp_str@PAGEOFF
mov w3, #16
bl _bsearch
Lloh632:
adrp x8, _default_mimetype@PAGE
Lloh633:
add x8, x8, _default_mimetype@PAGEOFF
add x9, x0, #8
cmp x0, #0
csel x8, x8, x9, eq
b LBB16_36
LBB16_35:
Lloh634:
adrp x8, _default_mimetype@PAGE
Lloh635:
add x8, x8, _default_mimetype@PAGEOFF
LBB16_36:
ldr x21, [x8]
mov x0, x20
bl _free
ldr x0, [sp, #88]
mov w1, #4
bl _open
str w0, [x19, #204]
ldr x0, [sp, #88]
bl _free
ldr w0, [x19, #204]
cmn w0, #1
b.eq LBB16_41
; %bb.37:
add x1, sp, #160
bl _fstat
cmn w0, #1
b.eq LBB16_43
; %bb.38:
ldrh w8, [sp, #164]
and w8, w8, #0xf000
cmp w8, #8, lsl #12 ; =32768
b.eq LBB16_46
; %bb.39:
cmp w8, #4, lsl #12 ; =16384
b.ne LBB16_52
; %bb.40:
ldr x8, [x19, #80]
str x8, [sp]
Lloh636:
adrp x1, l_.str.200@PAGE
Lloh637:
add x1, x1, l_.str.200@PAGEOFF
mov x0, x19
bl _redirect
b LBB16_165
LBB16_41:
bl ___error
ldr w8, [x0]
cmp w8, #13
b.ne LBB16_44
; %bb.42:
Lloh638:
adrp x2, l_.str.195@PAGE
Lloh639:
add x2, x2, l_.str.195@PAGEOFF
Lloh640:
adrp x3, l_.str.196@PAGE
Lloh641:
add x3, x3, l_.str.196@PAGEOFF
b LBB16_53
LBB16_43:
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh642:
adrp x2, l_.str.197@PAGE
Lloh643:
add x2, x2, l_.str.197@PAGEOFF
Lloh644:
adrp x3, l_.str.199@PAGE
Lloh645:
add x3, x3, l_.str.199@PAGEOFF
b LBB16_55
LBB16_44:
bl ___error
ldr w8, [x0]
cmp w8, #2
b.ne LBB16_54
LBB16_45:
Lloh646:
adrp x2, l_.str.193@PAGE
Lloh647:
add x2, x2, l_.str.193@PAGEOFF
Lloh648:
adrp x3, l_.str.194@PAGE
Lloh649:
add x3, x3, l_.str.194@PAGEOFF
mov x0, x19
mov w1, #404
bl _default_reply
b LBB16_165
LBB16_46:
mov w8, #1
str w8, [x19, #184]
ldr x8, [sp, #208]
str x8, [sp, #128]
add x0, sp, #128
bl _gmtime
mov x3, x0
Lloh650:
adrp x2, l_.str.187@PAGE
Lloh651:
add x2, x2, l_.str.187@PAGEOFF
add x20, sp, #98
add x0, sp, #98
mov w1, #30
bl _strftime
cbz x0, LBB16_175
; %bb.47:
Lloh652:
adrp x1, l_.str.202@PAGE
Lloh653:
add x1, x1, l_.str.202@PAGEOFF
mov x0, x19
bl _parse_field
mov x20, x0
cbz x0, LBB16_49
; %bb.48:
add x1, sp, #98
mov x0, x20
bl _strcmp
cbz w0, LBB16_84
LBB16_49:
mov x0, x20
bl _free
ldp x8, x9, [x19, #128]
cbz x8, LBB16_72
; %bb.50:
ldr x22, [x19, #112]
cbz x9, LBB16_85
; %bb.51:
ldr x9, [x19, #120]
ldr x8, [sp, #256]
sub x10, x8, #1
cmp x9, x8
csel x23, x9, x10, lt
b LBB16_86
LBB16_52:
Lloh654:
adrp x2, l_.str.195@PAGE
Lloh655:
add x2, x2, l_.str.195@PAGEOFF
Lloh656:
adrp x3, l_.str.201@PAGE
Lloh657:
add x3, x3, l_.str.201@PAGEOFF
LBB16_53:
mov x0, x19
mov w1, #403
bl _default_reply
b LBB16_165
LBB16_54:
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh658:
adrp x2, l_.str.197@PAGE
Lloh659:
add x2, x2, l_.str.197@PAGEOFF
Lloh660:
adrp x3, l_.str.198@PAGE
Lloh661:
add x3, x3, l_.str.198@PAGEOFF
LBB16_55:
mov x0, x19
mov w1, #500
bl _default_reply
b LBB16_165
LBB16_56:
ldr x8, [x21, _wwwroot@PAGEOFF]
stp x8, x20, [sp]
Lloh662:
adrp x1, l_.str.191@PAGE
Lloh663:
add x1, x1, l_.str.191@PAGEOFF
add x0, sp, #88
bl _xasprintf
ldr x24, [sp, #88]
mov x0, x24
bl _opendir
cbz x0, LBB16_83
; %bb.57:
mov x21, x0
mov x0, x24
bl _strlen
add x22, x0, #256
mov x0, x22
bl _malloc
cbz x0, LBB16_177
; %bb.58:
mov x25, x0
mov w0, #1024
bl _malloc
cbz x0, LBB16_178
; %bb.59:
mov x26, x0
mov x0, x21
bl _readdir
mov x23, #0
cbz x0, LBB16_74
; %bb.60:
mov w22, #128
str x21, [sp, #80] ; 8-byte Folded Spill
b LBB16_63
LBB16_61: ; in Loop: Header=BB16_63 Depth=1
mov x24, x26
mov x26, x0
mov x1, x27
mov x2, x28
bl _memcpy
lsl x8, x23, #3
ldr x9, [x24, x8]
str x26, [x9]
ldrh w9, [sp, #164]
and w9, w9, #0xf000
cmp w9, #4, lsl #12 ; =16384
cset w9, eq
ldr x8, [x24, x8]
str w9, [x8, #8]
ldr x9, [sp, #256]
str x9, [x8, #16]
add x23, x23, #1
mov x26, x24
mov x24, x21
ldr x21, [sp, #80] ; 8-byte Folded Reload
LBB16_62: ; in Loop: Header=BB16_63 Depth=1
mov x0, x21
bl _readdir
cbz x0, LBB16_74
LBB16_63: ; =>This Inner Loop Header: Depth=1
mov x27, x0
ldrb w8, [x27, #21]!
cmp w8, #46
b.ne LBB16_65
; %bb.64: ; in Loop: Header=BB16_63 Depth=1
ldrb w8, [x0, #22]
cbz w8, LBB16_62
LBB16_65: ; in Loop: Header=BB16_63 Depth=1
stp x24, x27, [sp]
mov x0, x25
Lloh664:
adrp x1, l_.str.191@PAGE
Lloh665:
add x1, x1, l_.str.191@PAGEOFF
bl _sprintf
add x1, sp, #160
mov x0, x25
bl _stat
cmn w0, #1
b.eq LBB16_62
; %bb.66: ; in Loop: Header=BB16_63 Depth=1
cmp x23, x22
b.ne LBB16_69
; %bb.67: ; in Loop: Header=BB16_63 Depth=1
lsl x28, x22, #4
mov x0, x26
mov x1, x28
bl _realloc
cbz x0, LBB16_173
; %bb.68: ; in Loop: Header=BB16_63 Depth=1
mov x26, x0
lsl x22, x22, #1
LBB16_69: ; in Loop: Header=BB16_63 Depth=1
mov x21, x24
mov w0, #24
bl _malloc
cbz x0, LBB16_169
; %bb.70: ; in Loop: Header=BB16_63 Depth=1
str x0, [x26, x23, lsl #3]
mov x0, x27
bl _strlen
add x28, x0, #1
mov x0, x28
bl _malloc
cbnz x0, LBB16_61
; %bb.71:
str x28, [sp]
b LBB16_171
LBB16_72:
ldr x8, [sp, #256]
cbz x9, LBB16_92
; %bb.73:
sub x23, x8, #1
ldr x9, [x19, #120]
sub x9, x23, x9
cmp x9, #0
csinv x9, x9, xzr, ge
add x22, x9, #1
b LBB16_86
LBB16_74:
mov x0, x21
bl _closedir
mov x0, x25
bl _free
Lloh666:
adrp x3, _dlent_cmp@PAGE
Lloh667:
add x3, x3, _dlent_cmp@PAGEOFF
mov x0, x26
mov x1, x23
mov w2, #8
bl _qsort
cmn x23, #1
b.eq LBB16_83
; %bb.75:
mov w24, #2
cmp x23, #1
b.lt LBB16_78
; %bb.76:
mov x21, x26
mov x22, x23
LBB16_77: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21], #8
ldr x0, [x8]
bl _strlen
cmp x24, x0
csel x24, x24, x0, hi
subs x22, x22, #1
b.ne LBB16_77
LBB16_78:
mov w0, #24
bl _malloc
cbz x0, LBB16_169
; %bb.79:
mov x21, x0
Lloh668:
adrp x8, lCPI16_0@PAGE
Lloh669:
ldr q0, [x8, lCPI16_0@PAGEOFF]
str q0, [x0]
mov w0, #4096
bl _malloc
cbz x0, LBB16_179
; %bb.80:
str x0, [x21, #16]
Lloh670:
adrp x8, l_.str.211@PAGE
Lloh671:
add x8, x8, l_.str.211@PAGEOFF
ldr q0, [x8]
str q0, [x0]
ldur x8, [x8, #13]
stur x8, [x0, #13]
mov w8, #21
str x8, [x21]
mov x0, x21
mov x1, x20
bl _append_escaped
ldp x8, x9, [x21]
add x10, x8, #97
cmp x9, x10
b.hs LBB16_94
; %bb.81:
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x25, x9, x8
str x25, [x21, #8]
ldr x0, [x21, #16]
mov x1, x25
bl _realloc
cbz x0, LBB16_180
; %bb.82:
str x0, [x21, #16]
ldr x8, [x21]
b LBB16_95
LBB16_83:
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh672:
adrp x2, l_.str.197@PAGE
Lloh673:
add x2, x2, l_.str.197@PAGEOFF
Lloh674:
adrp x3, l_.str.210@PAGE
Lloh675:
add x3, x3, l_.str.210@PAGEOFF
mov x0, x19
mov w1, #500
bl _default_reply
b LBB16_163
LBB16_84:
mov w8, #304
str w8, [x19, #176]
add x21, x19, #144
Lloh676:
adrp x8, _now@PAGE
Lloh677:
ldr x1, [x8, _now@PAGEOFF]
add x22, sp, #128
add x0, sp, #128
bl _rfc1123_date
Lloh678:
adrp x8, _server_hdr@PAGE
Lloh679:
ldr x8, [x8, _server_hdr@PAGEOFF]
ldr w9, [x19, #180]
Lloh680:
adrp x10, _keep_alive_field@PAGE
Lloh681:
ldr x10, [x10, _keep_alive_field@PAGEOFF]
Lloh682:
adrp x11, l_.str.190@PAGE
Lloh683:
add x11, x11, l_.str.190@PAGEOFF
cmp w9, #0
csel x9, x10, x11, eq
stp x8, x9, [sp, #8]
str x22, [sp]
Lloh684:
adrp x1, l_.str.203@PAGE
Lloh685:
add x1, x1, l_.str.203@PAGEOFF
mov x0, x21
bl _xasprintf
mov w8, w0
str x8, [x19, #152]
str xzr, [x19, #216]
str wzr, [x19, #184]
mov w8, #1
str w8, [x19, #172]
b LBB16_164
LBB16_85:
ldr x8, [sp, #256]
sub x23, x8, #1
LBB16_86:
cmp x22, x8
b.ge LBB16_89
; %bb.87:
subs x8, x23, x22
b.ge LBB16_91
; %bb.88:
Lloh686:
adrp x2, l_.str.205@PAGE
Lloh687:
add x2, x2, l_.str.205@PAGEOFF
Lloh688:
adrp x3, l_.str.207@PAGE
Lloh689:
add x3, x3, l_.str.207@PAGEOFF
b LBB16_90
LBB16_89:
Lloh690:
adrp x2, l_.str.205@PAGE
Lloh691:
add x2, x2, l_.str.205@PAGEOFF
Lloh692:
adrp x3, l_.str.206@PAGE
Lloh693:
add x3, x3, l_.str.206@PAGEOFF
LBB16_90:
mov x0, x19
mov w1, #416
bl _default_reply
b LBB16_165
LBB16_91:
add x8, x8, #1
stp x22, x8, [x19, #208]
add x20, x19, #144
Lloh694:
adrp x8, _now@PAGE
Lloh695:
ldr x1, [x8, _now@PAGEOFF]
add x24, sp, #128
add x0, sp, #128
bl _rfc1123_date
Lloh696:
adrp x8, _server_hdr@PAGE
Lloh697:
ldr x8, [x8, _server_hdr@PAGEOFF]
ldr w9, [x19, #180]
Lloh698:
adrp x10, _keep_alive_field@PAGE
Lloh699:
ldr x10, [x10, _keep_alive_field@PAGEOFF]
Lloh700:
adrp x11, l_.str.190@PAGE
Lloh701:
add x11, x11, l_.str.190@PAGEOFF
cmp w9, #0
csel x9, x10, x11, eq
ldr x10, [x19, #216]
ldr x11, [sp, #256]
add x12, sp, #98
stp x21, x12, [sp, #56]
stp x23, x11, [sp, #40]
stp x10, x22, [sp, #24]
stp x8, x9, [sp, #8]
Lloh702:
adrp x1, l_.str.208@PAGE
Lloh703:
add x1, x1, l_.str.208@PAGEOFF
str x24, [sp]
mov x0, x20
bl _xasprintf
mov w8, w0
str x8, [x19, #152]
mov w8, #206
b LBB16_93
LBB16_92:
str x8, [x19, #216]
add x20, x19, #144
Lloh704:
adrp x8, _now@PAGE
Lloh705:
ldr x1, [x8, _now@PAGEOFF]
add x22, sp, #128
add x0, sp, #128
bl _rfc1123_date
Lloh706:
adrp x8, _server_hdr@PAGE
Lloh707:
ldr x23, [x8, _server_hdr@PAGEOFF]
ldr w8, [x19, #180]
Lloh708:
adrp x9, _keep_alive_field@PAGE
Lloh709:
ldr x9, [x9, _keep_alive_field@PAGEOFF]
Lloh710:
adrp x10, l_.str.190@PAGE
Lloh711:
add x10, x10, l_.str.190@PAGEOFF
cmp w8, #0
csel x24, x9, x10, eq
ldr x25, [x19, #216]
bl _additional_header
add x8, sp, #98
stp x8, x0, [sp, #40]
stp x25, x21, [sp, #24]
stp x23, x24, [sp, #8]
Lloh712:
adrp x1, l_.str.209@PAGE
Lloh713:
add x1, x1, l_.str.209@PAGEOFF
str x22, [sp]
mov x0, x20
bl _xasprintf
mov w8, w0
str x8, [x19, #152]
mov w8, #200
LBB16_93:
str w8, [x19, #176]
b LBB16_165
LBB16_94:
ldr x0, [x21, #16]
LBB16_95:
Lloh714:
adrp x9, l_.str.212@PAGE
Lloh715:
add x9, x9, l_.str.212@PAGEOFF
add x8, x0, x8
ldp q1, q0, [x9]
stp q1, q0, [x8]
ldp q0, q1, [x9, #32]
ldp q2, q3, [x9, #64]
stp q2, q3, [x8, #64]
stp q0, q1, [x8, #32]
mov w9, #62
strb w9, [x8, #96]
ldr x8, [x21]
add x8, x8, #97
str x8, [x21]
mov x0, x21
mov x1, x20
bl _append_escaped
ldp x8, x9, [x21]
add x10, x8, #16
cmp x9, x10
b.hs LBB16_98
; %bb.96:
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x25, x9, x8
str x25, [x21, #8]
ldr x0, [x21, #16]
mov x1, x25
bl _realloc
cbz x0, LBB16_180
; %bb.97:
str x0, [x21, #16]
ldr x8, [x21]
b LBB16_99
LBB16_98:
ldr x0, [x21, #16]
LBB16_99:
Lloh716:
adrp x9, l_.str.213@PAGE
Lloh717:
add x9, x9, l_.str.213@PAGEOFF
Lloh718:
ldr q0, [x9]
str q0, [x0, x8]
ldr x8, [x21]
add x8, x8, #16
str x8, [x21]
mov x0, x24
bl _malloc
cbz x0, LBB16_181
; %bb.100:
mov x25, x0
mov w1, #32
mov x2, x24
bl _memset
cmp x23, #1
b.lt LBB16_143
; %bb.101:
stp x25, x26, [sp, #72] ; 16-byte Folded Spill
mov x28, #0
add x25, sp, #160
mov w22, #223
mov w14, #37
Lloh719:
adrp x15, _logencode.hex@PAGE
Lloh720:
add x15, x15, _logencode.hex@PAGEOFF
b LBB16_105
LBB16_102: ; in Loop: Header=BB16_105 Depth=1
ldr x0, [x21, #16]
LBB16_103: ; in Loop: Header=BB16_105 Depth=1
mov w8, #2607
strh w8, [x0, x27]
ldr x8, [x21]
add x8, x8, #2
str x8, [x21]
LBB16_104: ; in Loop: Header=BB16_105 Depth=1
add x28, x28, #1
cmp x28, x23
mov w14, #37
Lloh721:
adrp x15, _logencode.hex@PAGE
Lloh722:
add x15, x15, _logencode.hex@PAGEOFF
b.eq LBB16_141
LBB16_105: ; =>This Loop Header: Depth=1
; Child Loop BB16_109 Depth 2
ldr x8, [x26, x28, lsl #3]
ldr x10, [x8]
ldrb w9, [x10]
cbz w9, LBB16_115
; %bb.106: ; in Loop: Header=BB16_105 Depth=1
mov w8, #0
add x10, x10, #1
b LBB16_109
LBB16_107: ; in Loop: Header=BB16_109 Depth=2
mov x12, x8
LBB16_108: ; in Loop: Header=BB16_109 Depth=2
add w8, w11, w8
strb w9, [x25, w12, sxtw]
ldrb w9, [x10], #1
cbz w9, LBB16_116
LBB16_109: ; Parent Loop BB16_105 Depth=1
; => This Inner Loop Header: Depth=2
sub w12, w9, #48
mov w11, #1
cmp w12, #10
b.lo LBB16_107
; %bb.110: ; in Loop: Header=BB16_109 Depth=2
and w12, w9, w22
sub w12, w12, #65
cmp w12, #26
b.lo LBB16_107
; %bb.111: ; in Loop: Header=BB16_109 Depth=2
mov w11, #1
sub w12, w9, #45
cmp w12, #2
b.lo LBB16_107
; %bb.112: ; in Loop: Header=BB16_109 Depth=2
cmp w9, #95
b.eq LBB16_107
; %bb.113: ; in Loop: Header=BB16_109 Depth=2
cmp w9, #126
b.eq LBB16_107
; %bb.114: ; in Loop: Header=BB16_109 Depth=2
add x11, x25, w8, uxtw
strb w14, [x11]
ubfx x12, x9, #4, #8
ldrb w13, [x15, x12]
add w12, w8, #2
strb w13, [x11, #1]
and w9, w9, #0xf
ldrb w9, [x15, w9, uxtw]
mov w11, #3
b LBB16_108
LBB16_115: ; in Loop: Header=BB16_105 Depth=1
mov w8, #0
LBB16_116: ; in Loop: Header=BB16_105 Depth=1
strb wzr, [x25, w8, sxtw]
ldp x8, x9, [x21]
add x10, x8, #9
cmp x9, x10
b.hs LBB16_119
; %bb.117: ; in Loop: Header=BB16_105 Depth=1
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x26, x9, x8
str x26, [x21, #8]
ldr x0, [x21, #16]
mov x1, x26
bl _realloc
cbz x0, LBB16_168
; %bb.118: ; in Loop: Header=BB16_105 Depth=1
str x0, [x21, #16]
ldr x8, [x21]
b LBB16_120
LBB16_119: ; in Loop: Header=BB16_105 Depth=1
ldr x0, [x21, #16]
LBB16_120: ; in Loop: Header=BB16_105 Depth=1
add x8, x0, x8
Lloh723:
adrp x9, l_.str.214@PAGE
Lloh724:
add x9, x9, l_.str.214@PAGEOFF
Lloh725:
ldr x9, [x9]
str x9, [x8]
mov w9, #34
strb w9, [x8, #8]
ldr x8, [x21]
add x27, x8, #9
str x27, [x21]
add x0, sp, #160
bl _strlen
mov x26, x0
ldr x8, [x21, #8]
add x9, x0, x27
cmp x8, x9
b.hs LBB16_123
; %bb.121: ; in Loop: Header=BB16_105 Depth=1
add x10, x8, #1, lsl #12 ; =4096
cmp x9, x10
csel x9, x9, x10, hi
mvn x8, x8
add x8, x9, x8
and x8, x8, #0xfffffffffffff000
add x27, x8, x10
str x27, [x21, #8]
ldr x0, [x21, #16]
mov x1, x27
bl _realloc
cbz x0, LBB16_172
; %bb.122: ; in Loop: Header=BB16_105 Depth=1
str x0, [x21, #16]
ldr x27, [x21]
b LBB16_124
LBB16_123: ; in Loop: Header=BB16_105 Depth=1
ldr x0, [x21, #16]
LBB16_124: ; in Loop: Header=BB16_105 Depth=1
add x0, x0, x27
add x1, sp, #160
mov x2, x26
bl _memcpy
ldp x8, x9, [x21]
add x8, x8, x26
str x8, [x21]
add x10, x8, #2
cmp x9, x10
b.hs LBB16_127
; %bb.125: ; in Loop: Header=BB16_105 Depth=1
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x26, x9, x8
str x26, [x21, #8]
ldr x0, [x21, #16]
mov x1, x26
bl _realloc
cbz x0, LBB16_168
; %bb.126: ; in Loop: Header=BB16_105 Depth=1
str x0, [x21, #16]
ldr x8, [x21]
b LBB16_128
LBB16_127: ; in Loop: Header=BB16_105 Depth=1
ldr x0, [x21, #16]
LBB16_128: ; in Loop: Header=BB16_105 Depth=1
mov w9, #15906
strh w9, [x0, x8]
ldr x8, [x21]
add x8, x8, #2
str x8, [x21]
ldr x26, [sp, #80] ; 8-byte Folded Reload
ldr x8, [x26, x28, lsl #3]
ldr x1, [x8]
mov x0, x21
bl _append_escaped
ldp x8, x9, [x21]
add x10, x8, #4
cmp x9, x10
b.hs LBB16_131
; %bb.129: ; in Loop: Header=BB16_105 Depth=1
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x26, x9, x8
str x26, [x21, #8]
ldr x0, [x21, #16]
mov x1, x26
bl _realloc
cbz x0, LBB16_168
; %bb.130: ; in Loop: Header=BB16_105 Depth=1
str x0, [x21, #16]
ldr x8, [x21]
ldr x26, [sp, #80] ; 8-byte Folded Reload
b LBB16_132
LBB16_131: ; in Loop: Header=BB16_105 Depth=1
ldr x0, [x21, #16]
LBB16_132: ; in Loop: Header=BB16_105 Depth=1
mov w9, #12092
movk w9, #15969, lsl #16
str w9, [x0, x8]
ldr x8, [x21]
add x27, x8, #4
str x27, [x21]
ldr x9, [x26, x28, lsl #3]
ldr w10, [x9, #8]
cbz w10, LBB16_136
; %bb.133: ; in Loop: Header=BB16_105 Depth=1
add x8, x8, #6
ldr x9, [x21, #8]
cmp x9, x8
b.hs LBB16_102
; %bb.134: ; in Loop: Header=BB16_105 Depth=1
add x10, x9, #1, lsl #12 ; =4096
cmp x8, x10
csel x8, x8, x10, hi
mvn x9, x9
add x8, x8, x9
and x8, x8, #0xfffffffffffff000
add x26, x8, x10
str x26, [x21, #8]
ldr x0, [x21, #16]
mov x1, x26
bl _realloc
cbz x0, LBB16_168
; %bb.135: ; in Loop: Header=BB16_105 Depth=1
str x0, [x21, #16]
ldr x27, [x21]
ldr x26, [sp, #80] ; 8-byte Folded Reload
b LBB16_103
LBB16_136: ; in Loop: Header=BB16_105 Depth=1
ldr x0, [x9]
bl _strlen
sub x26, x24, x0
add x8, x26, x27
ldr x9, [x21, #8]
cmp x9, x8
b.hs LBB16_139
; %bb.137: ; in Loop: Header=BB16_105 Depth=1
add x10, x9, #1, lsl #12 ; =4096
cmp x8, x10
csel x8, x8, x10, hi
mvn x9, x9
add x8, x8, x9
and x8, x8, #0xfffffffffffff000
add x27, x8, x10
str x27, [x21, #8]
ldr x0, [x21, #16]
mov x1, x27
bl _realloc
cbz x0, LBB16_172
; %bb.138: ; in Loop: Header=BB16_105 Depth=1
str x0, [x21, #16]
ldr x27, [x21]
b LBB16_140
LBB16_139: ; in Loop: Header=BB16_105 Depth=1
ldr x0, [x21, #16]
LBB16_140: ; in Loop: Header=BB16_105 Depth=1
add x0, x0, x27
ldr x1, [sp, #72] ; 8-byte Folded Reload
mov x2, x26
bl _memcpy
ldr x8, [x21]
add x8, x8, x26
str x8, [x21]
ldr x26, [sp, #80] ; 8-byte Folded Reload
ldr x8, [x26, x28, lsl #3]
ldr x8, [x8, #16]
str x8, [sp]
mov x0, x21
bl _appendf
b LBB16_104
LBB16_141:
mov x22, x26
ldr x25, [sp, #72] ; 8-byte Folded Reload
LBB16_142: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
ldr x0, [x8]
bl _free
ldr x0, [x22], #8
bl _free
subs x23, x23, #1
b.ne LBB16_142
LBB16_143:
mov x0, x26
bl _free
mov x0, x25
bl _free
ldp x8, x9, [x21]
add x10, x8, #17
cmp x9, x10
b.hs LBB16_146
; %bb.144:
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x22, x9, x8
str x22, [x21, #8]
ldr x0, [x21, #16]
mov x1, x22
bl _realloc
cbz x0, LBB16_183
; %bb.145:
str x0, [x21, #16]
ldr x8, [x21]
b LBB16_147
LBB16_146:
ldr x0, [x21, #16]
LBB16_147:
add x8, x0, x8
Lloh726:
adrp x9, l_.str.219@PAGE
Lloh727:
add x9, x9, l_.str.219@PAGEOFF
Lloh728:
ldr q0, [x9]
str q0, [x8]
mov w9, #10
strb w9, [x8, #16]
ldr x8, [x21]
add x8, x8, #17
str x8, [x21]
Lloh729:
adrp x8, _now@PAGE
Lloh730:
ldr x8, [x8, _now@PAGEOFF]
str x8, [sp, #128]
add x0, sp, #128
bl _gmtime
mov x3, x0
Lloh731:
adrp x2, l_.str.187@PAGE
Lloh732:
add x2, x2, l_.str.187@PAGEOFF
add x22, sp, #160
add x0, sp, #160
mov w1, #30
bl _strftime
cbz x0, LBB16_182
; %bb.148:
adrp x24, _want_server_id@PAGE
ldrb w8, [x24, _want_server_id@PAGEOFF]
tbz w8, #0, LBB16_150
; %bb.149:
Lloh733:
adrp x22, l_.str.3@PAGE
Lloh734:
add x22, x22, l_.str.3@PAGEOFF
b LBB16_153
LBB16_150:
add x23, sp, #160
Lloh735:
adrp x25, _pkgname@PAGE
Lloh736:
add x25, x25, _pkgname@PAGEOFF
Lloh737:
adrp x22, __generated_on_buf@PAGE
Lloh738:
add x22, x22, __generated_on_buf@PAGEOFF
stp x25, x23, [sp]
Lloh739:
adrp x2, l_.str.189@PAGE
Lloh740:
add x2, x2, l_.str.189@PAGEOFF
mov x0, x22
mov w1, #72
bl _snprintf
ldrb w8, [x24, _want_server_id@PAGEOFF]
tbz w8, #0, LBB16_152
; %bb.151:
Lloh741:
adrp x0, l_.str.3@PAGE
Lloh742:
add x0, x0, l_.str.3@PAGEOFF
b LBB16_154
LBB16_152:
Lloh743:
adrp x22, __generated_on_buf@PAGE
Lloh744:
add x22, x22, __generated_on_buf@PAGEOFF
stp x25, x23, [sp]
Lloh745:
adrp x2, l_.str.189@PAGE
Lloh746:
add x2, x2, l_.str.189@PAGEOFF
mov x0, x22
mov w1, #72
bl _snprintf
LBB16_153:
mov x0, x22
LBB16_154:
bl _strlen
mov x23, x0
ldp x8, x9, [x21]
add x10, x8, x0
cmp x9, x10
b.hs LBB16_157
; %bb.155:
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x24, x9, x8
str x24, [x21, #8]
ldr x0, [x21, #16]
mov x1, x24
bl _realloc
cbz x0, LBB16_184
; %bb.156:
str x0, [x21, #16]
ldr x8, [x21]
b LBB16_158
LBB16_157:
ldr x0, [x21, #16]
LBB16_158:
add x0, x0, x8
mov x1, x22
mov x2, x23
bl _memcpy
ldp x8, x9, [x21]
add x8, x8, x23
str x8, [x21]
add x10, x8, #16
cmp x9, x10
b.hs LBB16_161
; %bb.159:
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x22, x9, x8
str x22, [x21, #8]
ldr x0, [x21, #16]
mov x1, x22
bl _realloc
cbz x0, LBB16_183
; %bb.160:
str x0, [x21, #16]
ldr x8, [x21]
b LBB16_162
LBB16_161:
ldr x0, [x21, #16]
LBB16_162:
Lloh747:
adrp x9, l_.str.220@PAGE
Lloh748:
add x9, x9, l_.str.220@PAGEOFF
Lloh749:
ldr q0, [x9]
str q0, [x0, x8]
ldr x8, [x21]
add x22, x8, #16
ldr x8, [x21, #16]
str x8, [x19, #192]
str x22, [x19, #216]
mov x0, x21
bl _free
add x0, x19, #144
Lloh750:
adrp x8, _server_hdr@PAGE
Lloh751:
ldr x8, [x8, _server_hdr@PAGEOFF]
ldr w9, [x19, #180]
Lloh752:
adrp x10, _keep_alive_field@PAGE
Lloh753:
ldr x10, [x10, _keep_alive_field@PAGEOFF]
Lloh754:
adrp x11, l_.str.190@PAGE
Lloh755:
add x11, x11, l_.str.190@PAGEOFF
cmp w9, #0
csel x9, x10, x11, eq
stp x9, x22, [sp, #16]
add x9, sp, #160
stp x9, x8, [sp]
Lloh756:
adrp x1, l_.str.221@PAGE
Lloh757:
add x1, x1, l_.str.221@PAGEOFF
bl _xasprintf
mov w8, w0
str x8, [x19, #152]
str wzr, [x19, #184]
mov w8, #200
str w8, [x19, #176]
LBB16_163:
ldr x0, [sp, #88]
bl _free
LBB16_164:
mov x0, x20
bl _free
LBB16_165:
ldur x8, [x29, #-96]
Lloh758:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh759:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh760:
ldr x9, [x9]
cmp x9, x8
b.ne LBB16_167
; %bb.166:
add sp, sp, #944
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB16_167:
bl ___stack_chk_fail
LBB16_168:
str x26, [sp]
b LBB16_174
LBB16_169:
mov w8, #24
LBB16_170:
str x8, [sp]
LBB16_171:
Lloh761:
adrp x1, l_.str.40@PAGE
Lloh762:
add x1, x1, l_.str.40@PAGEOFF
bl _errx
LBB16_172:
str x27, [sp]
b LBB16_174
LBB16_173:
str x28, [sp]
LBB16_174:
Lloh763:
adrp x1, l_.str.43@PAGE
Lloh764:
add x1, x1, l_.str.43@PAGEOFF
bl _errx
LBB16_175:
str x20, [sp]
LBB16_176:
Lloh765:
adrp x1, l_.str.188@PAGE
Lloh766:
add x1, x1, l_.str.188@PAGEOFF
bl _errx
LBB16_177:
str x22, [sp]
b LBB16_171
LBB16_178:
mov w8, #1024
b LBB16_170
LBB16_179:
mov w8, #4096
b LBB16_170
LBB16_180:
str x25, [sp]
b LBB16_174
LBB16_181:
str x24, [sp]
b LBB16_171
LBB16_182:
str x22, [sp]
b LBB16_176
LBB16_183:
str x22, [sp]
b LBB16_174
LBB16_184:
str x24, [sp]
b LBB16_174
.loh AdrpLdrGotLdr Lloh600, Lloh601, Lloh602
.loh AdrpAdd Lloh603, Lloh604
.loh AdrpLdr Lloh605, Lloh606
.loh AdrpAdd Lloh609, Lloh610
.loh AdrpAdd Lloh607, Lloh608
.loh AdrpLdr Lloh611, Lloh612
.loh AdrpAdd Lloh613, Lloh614
.loh AdrpLdrGotLdr Lloh615, Lloh616, Lloh617
.loh AdrpAdd Lloh618, Lloh619
.loh AdrpLdr Lloh622, Lloh623
.loh AdrpAdd Lloh620, Lloh621
.loh AdrpLdr Lloh624, Lloh625
.loh AdrpAdd Lloh632, Lloh633
.loh AdrpAdd Lloh630, Lloh631
.loh AdrpLdr Lloh628, Lloh629
.loh AdrpAdrp Lloh626, Lloh628
.loh AdrpLdr Lloh626, Lloh627
.loh AdrpAdd Lloh634, Lloh635
.loh AdrpAdd Lloh636, Lloh637
.loh AdrpAdd Lloh640, Lloh641
.loh AdrpAdd Lloh638, Lloh639
.loh AdrpAdd Lloh644, Lloh645
.loh AdrpAdd Lloh642, Lloh643
.loh AdrpAdd Lloh648, Lloh649
.loh AdrpAdd Lloh646, Lloh647
.loh AdrpAdd Lloh650, Lloh651
.loh AdrpAdd Lloh652, Lloh653
.loh AdrpAdd Lloh656, Lloh657
.loh AdrpAdd Lloh654, Lloh655
.loh AdrpAdd Lloh660, Lloh661
.loh AdrpAdd Lloh658, Lloh659
.loh AdrpAdd Lloh662, Lloh663
.loh AdrpAdd Lloh664, Lloh665
.loh AdrpAdd Lloh666, Lloh667
.loh AdrpLdr Lloh668, Lloh669
.loh AdrpAdd Lloh670, Lloh671
.loh AdrpAdd Lloh674, Lloh675
.loh AdrpAdd Lloh672, Lloh673
.loh AdrpAdd Lloh684, Lloh685
.loh AdrpAdd Lloh682, Lloh683
.loh AdrpLdr Lloh680, Lloh681
.loh AdrpLdr Lloh678, Lloh679
.loh AdrpLdr Lloh676, Lloh677
.loh AdrpAdd Lloh688, Lloh689
.loh AdrpAdd Lloh686, Lloh687
.loh AdrpAdd Lloh692, Lloh693
.loh AdrpAdd Lloh690, Lloh691
.loh AdrpAdd Lloh702, Lloh703
.loh AdrpAdd Lloh700, Lloh701
.loh AdrpLdr Lloh698, Lloh699
.loh AdrpLdr Lloh696, Lloh697
.loh AdrpLdr Lloh694, Lloh695
.loh AdrpAdd Lloh712, Lloh713
.loh AdrpAdd Lloh710, Lloh711
.loh AdrpLdr Lloh708, Lloh709
.loh AdrpLdr Lloh706, Lloh707
.loh AdrpLdr Lloh704, Lloh705
.loh AdrpAdd Lloh714, Lloh715
.loh AdrpAddLdr Lloh716, Lloh717, Lloh718
.loh AdrpAdd Lloh719, Lloh720
.loh AdrpAdd Lloh721, Lloh722
.loh AdrpAddLdr Lloh723, Lloh724, Lloh725
.loh AdrpAdd Lloh731, Lloh732
.loh AdrpLdr Lloh729, Lloh730
.loh AdrpAddLdr Lloh726, Lloh727, Lloh728
.loh AdrpAdd Lloh733, Lloh734
.loh AdrpAdd Lloh739, Lloh740
.loh AdrpAdd Lloh737, Lloh738
.loh AdrpAdd Lloh735, Lloh736
.loh AdrpAdd Lloh741, Lloh742
.loh AdrpAdd Lloh745, Lloh746
.loh AdrpAdd Lloh743, Lloh744
.loh AdrpAdd Lloh756, Lloh757
.loh AdrpAdd Lloh754, Lloh755
.loh AdrpLdr Lloh752, Lloh753
.loh AdrpLdr Lloh750, Lloh751
.loh AdrpAddLdr Lloh747, Lloh748, Lloh749
.loh AdrpLdrGotLdr Lloh758, Lloh759, Lloh760
.loh AdrpAdd Lloh761, Lloh762
.loh AdrpAdd Lloh763, Lloh764
.loh AdrpAdd Lloh765, Lloh766
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function parse_field
_parse_field: ; @parse_field
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x1
mov x20, x0
ldr x19, [x0, #56]
mov x0, x19
bl _strstr
cbz x0, LBB17_7
; %bb.1:
sub x22, x0, x19
mov x0, x21
bl _strlen
ldr x9, [x20, #64]
add x23, x0, x22
mov x8, x23
cmp x23, x9
b.hs LBB17_5
LBB17_2: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x19, x8]
cmp w10, #10
ccmp w10, #13, #4, ne
b.eq LBB17_5
; %bb.3: ; in Loop: Header=BB17_2 Depth=1
add x8, x8, #1
cmp x8, x9
b.lo LBB17_2
; %bb.4:
mov x8, x9
LBB17_5:
sub x20, x8, x23
add x22, x20, #1
mov x0, x22
bl _malloc
cbz x0, LBB17_9
; %bb.6:
mov x21, x0
add x1, x19, x23
mov x2, x20
bl _memcpy
strb wzr, [x21, x20]
b LBB17_8
LBB17_7:
mov x21, #0
LBB17_8:
mov x0, x21
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
LBB17_9:
str x22, [sp]
Lloh767:
adrp x1, l_.str.40@PAGE
Lloh768:
add x1, x1, l_.str.40@PAGEOFF
bl _errx
.loh AdrpAdd Lloh767, Lloh768
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function urldecode
_urldecode: ; @urldecode
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _strlen
mov x20, x0
add x21, x0, #1
mov x0, x21
bl _malloc
cbz x0, LBB18_12
; %bb.1:
cbz x20, LBB18_10
; %bb.2:
mov x14, #0
mov x8, #0
Lloh769:
adrp x9, __DefaultRuneLocale@GOTPAGE
Lloh770:
ldr x9, [x9, __DefaultRuneLocale@GOTPAGEOFF]
mov w10, #9
mov w11, #-48
mov w12, #-87
mov w13, #-55
b LBB18_4
LBB18_3: ; in Loop: Header=BB18_4 Depth=1
strb w16, [x0, x8]
add x8, x8, #1
add x14, x14, #1
cmp x14, x20
b.hs LBB18_11
LBB18_4: ; =>This Inner Loop Header: Depth=1
ldrb w16, [x19, x14]
cmp w16, #37
add x15, x14, #2
ccmp x15, x20, #2, eq
b.hs LBB18_3
; %bb.5: ; in Loop: Header=BB18_4 Depth=1
add x17, x14, x19
ldrsb w17, [x17, #1]
tbnz w17, #31, LBB18_3
; %bb.6: ; in Loop: Header=BB18_4 Depth=1
and x17, x17, #0xff
add x1, x9, x17, lsl #2
ldr w1, [x1, #60]
tbz w1, #16, LBB18_3
; %bb.7: ; in Loop: Header=BB18_4 Depth=1
ldrsb w1, [x19, x15]
tbnz w1, #31, LBB18_3
; %bb.8: ; in Loop: Header=BB18_4 Depth=1
and x1, x1, #0xff
add x2, x9, x1, lsl #2
ldr w2, [x2, #60]
tbz w2, #16, LBB18_3
; %bb.9: ; in Loop: Header=BB18_4 Depth=1
sub w14, w17, #65
and w14, w14, #0xff
sub w16, w17, #97
and w16, w16, #0xff
cmp w16, #6
ccmp w14, #6, #0, hs
csel w14, w10, wzr, lo
add w14, w17, w14
sub w16, w1, #65
and w16, w16, #0xff
sub w17, w1, #97
and w17, w17, #0xff
cmp w17, #6
csel w17, w12, w11, lo
cmp w16, #6
csel w16, w13, w17, lo
add w16, w1, w16
add w16, w16, w14, lsl #4
mov x14, x15
b LBB18_3
LBB18_10:
mov x8, #0
LBB18_11:
strb wzr, [x0, x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB18_12:
str x21, [sp]
Lloh771:
adrp x1, l_.str.40@PAGE
Lloh772:
add x1, x1, l_.str.40@PAGEOFF
bl _errx
.loh AdrpLdrGot Lloh769, Lloh770
.loh AdrpAdd Lloh771, Lloh772
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function make_safe_url
_make_safe_url: ; @make_safe_url
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
cmp w8, #47
b.ne LBB19_33
; %bb.1:
mov w10, #47
mov x8, x0
b LBB19_5
LBB19_2: ; in Loop: Header=BB19_5 Depth=1
ldrb w9, [x8, #1]
cmp w9, #46
b.eq LBB19_8
; %bb.3: ; in Loop: Header=BB19_5 Depth=1
cmp w9, #47
b.eq LBB19_13
LBB19_4: ; in Loop: Header=BB19_5 Depth=1
add x8, x8, #1
mov x10, x9
LBB19_5: ; =>This Inner Loop Header: Depth=1
and w9, w10, #0xff
cmp w9, #47
b.eq LBB19_2
; %bb.6: ; in Loop: Header=BB19_5 Depth=1
cbz w9, LBB19_13
; %bb.7: ; in Loop: Header=BB19_5 Depth=1
ldrb w9, [x8, #1]
b LBB19_4
LBB19_8: ; in Loop: Header=BB19_5 Depth=1
ldrb w9, [x8, #2]
cmp w9, #46
b.eq LBB19_10
; %bb.9: ; in Loop: Header=BB19_5 Depth=1
cbnz w9, LBB19_11
b LBB19_13
LBB19_10: ; in Loop: Header=BB19_5 Depth=1
ldrb w9, [x8, #3]
cbz w9, LBB19_13
LBB19_11: ; in Loop: Header=BB19_5 Depth=1
cmp w9, #47
b.eq LBB19_13
; %bb.12: ; in Loop: Header=BB19_5 Depth=1
mov w9, #46
b LBB19_4
LBB19_13:
mov x9, x8
b LBB19_16
LBB19_14: ; in Loop: Header=BB19_16 Depth=1
mov w10, #47
LBB19_15: ; in Loop: Header=BB19_16 Depth=1
strb w10, [x9], #1
mov x8, x11
ldrb w10, [x11]
LBB19_16: ; =>This Loop Header: Depth=1
; Child Loop BB19_28 Depth 2
and w11, w10, #0xff
cmp w11, #47
b.eq LBB19_19
; %bb.17: ; in Loop: Header=BB19_16 Depth=1
cbz w11, LBB19_34
; %bb.18: ; in Loop: Header=BB19_16 Depth=1
add x11, x8, #1
b LBB19_15
LBB19_19: ; in Loop: Header=BB19_16 Depth=1
mov x11, x8
ldrb w10, [x11, #1]!
cmp w10, #47
b.eq LBB19_30
; %bb.20: ; in Loop: Header=BB19_16 Depth=1
cmp w10, #46
b.ne LBB19_14
; %bb.21: ; in Loop: Header=BB19_16 Depth=1
mov x10, x8
ldrb w12, [x10, #2]!
cbz w12, LBB19_31
; %bb.22: ; in Loop: Header=BB19_16 Depth=1
cmp w12, #47
b.eq LBB19_32
; %bb.23: ; in Loop: Header=BB19_16 Depth=1
cmp w12, #46
b.ne LBB19_14
; %bb.24: ; in Loop: Header=BB19_16 Depth=1
ldrb w10, [x8, #3]!
cmp w10, #47
b.eq LBB19_26
; %bb.25: ; in Loop: Header=BB19_16 Depth=1
cbnz w10, LBB19_14
LBB19_26: ; in Loop: Header=BB19_16 Depth=1
cmp x9, x0
b.eq LBB19_33
; %bb.27: ; in Loop: Header=BB19_16 Depth=1
sub x10, x9, #1
mov x9, x10
LBB19_28: ; Parent Loop BB19_16 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w11, [x9], #-1
cmp w11, #47
ccmp x10, x0, #0, ne
mov x10, x9
b.hi LBB19_28
; %bb.29: ; in Loop: Header=BB19_16 Depth=1
add x9, x9, #1
ldrb w10, [x8]
b LBB19_16
LBB19_30: ; in Loop: Header=BB19_16 Depth=1
mov x8, x11
ldrb w10, [x11]
b LBB19_16
LBB19_31: ; in Loop: Header=BB19_16 Depth=1
mov x8, x10
ldrb w10, [x10]
b LBB19_16
LBB19_32: ; in Loop: Header=BB19_16 Depth=1
mov x8, x10
ldrb w10, [x10]
b LBB19_16
LBB19_33:
mov x0, #0
ret
LBB19_34:
cmp x9, x0
cinc x8, x9, eq
strb wzr, [x8]
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function redirect
_redirect: ; @redirect
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
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
mov x19, x0
Lloh773:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh774:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh775:
ldr x8, [x8]
stur x8, [x29, #-40]
add x8, x29, #16
str x8, [sp, #48]
add x0, sp, #56
add x2, x29, #16
bl _vasprintf
cmn w0, #1
b.eq LBB20_7
; %bb.1:
Lloh776:
adrp x8, _now@PAGE
Lloh777:
ldr x8, [x8, _now@PAGEOFF]
str x8, [sp, #64]
add x0, sp, #64
bl _gmtime
mov x3, x0
Lloh778:
adrp x2, l_.str.187@PAGE
Lloh779:
add x2, x2, l_.str.187@PAGEOFF
sub x20, x29, #70
sub x0, x29, #70
mov w1, #30
bl _strftime
cbz x0, LBB20_8
; %bb.2:
ldr x21, [sp, #56]
adrp x8, _want_server_id@PAGE
ldrb w8, [x8, _want_server_id@PAGEOFF]
tbz w8, #0, LBB20_4
; %bb.3:
Lloh780:
adrp x20, l_.str.3@PAGE
Lloh781:
add x20, x20, l_.str.3@PAGEOFF
b LBB20_5
LBB20_4:
sub x8, x29, #70
Lloh782:
adrp x9, _pkgname@PAGE
Lloh783:
add x9, x9, _pkgname@PAGEOFF
Lloh784:
adrp x20, __generated_on_buf@PAGE
Lloh785:
add x20, x20, __generated_on_buf@PAGEOFF
stp x9, x8, [sp]
Lloh786:
adrp x2, l_.str.189@PAGE
Lloh787:
add x2, x2, l_.str.189@PAGEOFF
mov x0, x20
mov w1, #72
bl _snprintf
LBB20_5:
add x0, x19, #192
stp x21, x20, [sp, #8]
str x21, [sp]
Lloh788:
adrp x1, l_.str.185@PAGE
Lloh789:
add x1, x1, l_.str.185@PAGEOFF
bl _xasprintf
mov w8, w0
str x8, [x19, #216]
add x0, x19, #144
Lloh790:
adrp x9, _server_hdr@PAGE
Lloh791:
ldr x9, [x9, _server_hdr@PAGEOFF]
ldr x10, [sp, #56]
ldr w11, [x19, #180]
Lloh792:
adrp x12, _keep_alive_field@PAGE
Lloh793:
ldr x12, [x12, _keep_alive_field@PAGEOFF]
Lloh794:
adrp x13, l_.str.190@PAGE
Lloh795:
add x13, x13, l_.str.190@PAGEOFF
cmp w11, #0
csel x11, x12, x13, eq
stp x11, x8, [sp, #24]
stp x9, x10, [sp, #8]
sub x8, x29, #70
str x8, [sp]
Lloh796:
adrp x1, l_.str.186@PAGE
Lloh797:
add x1, x1, l_.str.186@PAGEOFF
bl _xasprintf
mov w8, w0
str x8, [x19, #152]
ldr x0, [sp, #56]
bl _free
str wzr, [x19, #184]
mov w8, #301
str w8, [x19, #176]
ldur x8, [x29, #-40]
Lloh798:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh799:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh800:
ldr x9, [x9]
cmp x9, x8
b.ne LBB20_9
; %bb.6:
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
add sp, sp, #160
ret
LBB20_7:
Lloh801:
adrp x1, l_.str.119@PAGE
Lloh802:
add x1, x1, l_.str.119@PAGEOFF
bl _errx
LBB20_8:
str x20, [sp]
Lloh803:
adrp x1, l_.str.188@PAGE
Lloh804:
add x1, x1, l_.str.188@PAGEOFF
bl _errx
LBB20_9:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh773, Lloh774, Lloh775
.loh AdrpAdd Lloh778, Lloh779
.loh AdrpLdr Lloh776, Lloh777
.loh AdrpAdd Lloh780, Lloh781
.loh AdrpAdd Lloh786, Lloh787
.loh AdrpAdd Lloh784, Lloh785
.loh AdrpAdd Lloh782, Lloh783
.loh AdrpLdrGotLdr Lloh798, Lloh799, Lloh800
.loh AdrpAdd Lloh796, Lloh797
.loh AdrpAdd Lloh794, Lloh795
.loh AdrpLdr Lloh792, Lloh793
.loh AdrpLdr Lloh790, Lloh791
.loh AdrpAdd Lloh788, Lloh789
.loh AdrpAdd Lloh801, Lloh802
.loh AdrpAdd Lloh803, Lloh804
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function rfc1123_date
_rfc1123_date: ; @rfc1123_date
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
str x1, [sp, #8]
add x0, sp, #8
bl _gmtime
mov x3, x0
Lloh805:
adrp x2, l_.str.187@PAGE
Lloh806:
add x2, x2, l_.str.187@PAGEOFF
mov x0, x19
mov w1, #30
bl _strftime
cbz x0, LBB21_2
; %bb.1:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB21_2:
str x19, [sp]
Lloh807:
adrp x1, l_.str.188@PAGE
Lloh808:
add x1, x1, l_.str.188@PAGEOFF
bl _errx
.loh AdrpAdd Lloh805, Lloh806
.loh AdrpAdd Lloh807, Lloh808
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function append_escaped
_append_escaped: ; @append_escaped
.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
ldrb w8, [x1]
cbz w8, LBB22_35
; %bb.1:
mov x19, x0
mov w21, #26406
movk w21, #15220, lsl #16
add x22, x1, #1
mov w24, #28966
movk w24, #28533, lsl #16
mov w25, #59
mov w26, #24870
movk w26, #28781, lsl #16
mov w27, #15219
mov w28, #24870
movk w28, #28528, lsl #16
Lloh809:
adrp x23, lJTI22_0@PAGE
Lloh810:
add x23, x23, lJTI22_0@PAGEOFF
b LBB22_5
LBB22_2: ; in Loop: Header=BB22_5 Depth=1
ldr x0, [x19, #16]
LBB22_3: ; in Loop: Header=BB22_5 Depth=1
ldurb w9, [x22, #-1]
strb w9, [x0, x8]
mov w8, #1
LBB22_4: ; in Loop: Header=BB22_5 Depth=1
ldr x9, [x19]
add x8, x9, x8
str x8, [x19]
ldrb w8, [x22], #1
cbz w8, LBB22_35
LBB22_5: ; =>This Inner Loop Header: Depth=1
sxtb w8, w8
sub w8, w8, #34
cmp w8, #28
b.hi LBB22_10
; %bb.6: ; in Loop: Header=BB22_5 Depth=1
adr x9, LBB22_7
ldrb w10, [x23, x8]
add x9, x9, x10, lsl #2
br x9
LBB22_7: ; in Loop: Header=BB22_5 Depth=1
ldp x8, x9, [x19]
add x10, x8, #6
cmp x9, x10
b.hs LBB22_25
; %bb.8: ; in Loop: Header=BB22_5 Depth=1
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x20, x8, x9
str x20, [x19, #8]
ldr x0, [x19, #16]
mov x1, x20
bl _realloc
cbz x0, LBB22_36
; %bb.9: ; in Loop: Header=BB22_5 Depth=1
str x0, [x19, #16]
ldr x8, [x19]
b LBB22_26
LBB22_10: ; in Loop: Header=BB22_5 Depth=1
ldp x8, x9, [x19]
add x10, x8, #1
cmp x9, x10
b.hs LBB22_2
; %bb.11: ; in Loop: Header=BB22_5 Depth=1
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x20, x8, x9
str x20, [x19, #8]
ldr x0, [x19, #16]
mov x1, x20
bl _realloc
cbz x0, LBB22_36
; %bb.12: ; in Loop: Header=BB22_5 Depth=1
str x0, [x19, #16]
ldr x8, [x19]
b LBB22_3
LBB22_13: ; in Loop: Header=BB22_5 Depth=1
ldp x8, x9, [x19]
add x10, x8, #5
cmp x9, x10
b.hs LBB22_27
; %bb.14: ; in Loop: Header=BB22_5 Depth=1
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x20, x8, x9
str x20, [x19, #8]
ldr x0, [x19, #16]
mov x1, x20
bl _realloc
cbz x0, LBB22_36
; %bb.15: ; in Loop: Header=BB22_5 Depth=1
str x0, [x19, #16]
ldr x8, [x19]
b LBB22_28
LBB22_16: ; in Loop: Header=BB22_5 Depth=1
ldp x8, x9, [x19]
add x10, x8, #6
cmp x9, x10
b.hs LBB22_29
; %bb.17: ; in Loop: Header=BB22_5 Depth=1
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x20, x8, x9
str x20, [x19, #8]
ldr x0, [x19, #16]
mov x1, x20
bl _realloc
cbz x0, LBB22_36
; %bb.18: ; in Loop: Header=BB22_5 Depth=1
str x0, [x19, #16]
ldr x8, [x19]
b LBB22_30
LBB22_19: ; in Loop: Header=BB22_5 Depth=1
ldp x8, x9, [x19]
add x10, x8, #4
cmp x9, x10
b.hs LBB22_31
; %bb.20: ; in Loop: Header=BB22_5 Depth=1
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x20, x8, x9
str x20, [x19, #8]
ldr x0, [x19, #16]
mov x1, x20
bl _realloc
cbz x0, LBB22_36
; %bb.21: ; in Loop: Header=BB22_5 Depth=1
str x0, [x19, #16]
ldr x8, [x19]
b LBB22_32
LBB22_22: ; in Loop: Header=BB22_5 Depth=1
ldp x8, x9, [x19]
add x10, x8, #4
cmp x9, x10
b.hs LBB22_33
; %bb.23: ; in Loop: Header=BB22_5 Depth=1
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x20, x8, x9
str x20, [x19, #8]
ldr x0, [x19, #16]
mov x1, x20
bl _realloc
cbz x0, LBB22_36
; %bb.24: ; in Loop: Header=BB22_5 Depth=1
str x0, [x19, #16]
ldr x8, [x19]
b LBB22_34
LBB22_25: ; in Loop: Header=BB22_5 Depth=1
ldr x0, [x19, #16]
LBB22_26: ; in Loop: Header=BB22_5 Depth=1
add x8, x0, x8
mov w9, #15220
strh w9, [x8, #4]
str w24, [x8]
mov w8, #6
b LBB22_4
LBB22_27: ; in Loop: Header=BB22_5 Depth=1
ldr x0, [x19, #16]
LBB22_28: ; in Loop: Header=BB22_5 Depth=1
add x8, x0, x8
strb w25, [x8, #4]
str w26, [x8]
mov w8, #5
b LBB22_4
LBB22_29: ; in Loop: Header=BB22_5 Depth=1
ldr x0, [x19, #16]
LBB22_30: ; in Loop: Header=BB22_5 Depth=1
add x8, x0, x8
strh w27, [x8, #4]
str w28, [x8]
mov w8, #6
b LBB22_4
LBB22_31: ; in Loop: Header=BB22_5 Depth=1
ldr x0, [x19, #16]
LBB22_32: ; in Loop: Header=BB22_5 Depth=1
add w9, w21, #1280
str w9, [x0, x8]
mov w8, #4
b LBB22_4
LBB22_33: ; in Loop: Header=BB22_5 Depth=1
ldr x0, [x19, #16]
LBB22_34: ; in Loop: Header=BB22_5 Depth=1
str w21, [x0, x8]
mov w8, #4
b LBB22_4
LBB22_35:
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
LBB22_36:
str x20, [sp]
Lloh811:
adrp x1, l_.str.43@PAGE
Lloh812:
add x1, x1, l_.str.43@PAGEOFF
bl _errx
.loh AdrpAdd Lloh809, Lloh810
.loh AdrpAdd Lloh811, Lloh812
.cfi_endproc
.section __TEXT,__const
lJTI22_0:
.byte (LBB22_7-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_13-LBB22_7)>>2
.byte (LBB22_16-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_19-LBB22_7)>>2
.byte (LBB22_10-LBB22_7)>>2
.byte (LBB22_22-LBB22_7)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.p2align 2 ; -- Begin function appendf
_appendf: ; @appendf
.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 x8, x29, #16
str x8, [sp, #16]
Lloh813:
adrp x1, l_.str.218@PAGE
Lloh814:
add x1, x1, l_.str.218@PAGEOFF
add x0, sp, #24
add x2, x29, #16
bl _vasprintf
cmn w0, #1
b.eq LBB23_6
; %bb.1:
mov w20, w0
ldr x21, [sp, #24]
ldp x8, x9, [x19]
add x10, x8, x20
cmp x9, x10
b.hs LBB23_4
; %bb.2:
add x8, x9, #1, lsl #12 ; =4096
cmp x10, x8
csel x10, x10, x8, hi
mvn x9, x9
add x9, x10, x9
and x9, x9, #0xfffffffffffff000
add x22, x8, x9
str x22, [x19, #8]
ldr x0, [x19, #16]
mov x1, x22
bl _realloc
cbz x0, LBB23_7
; %bb.3:
str x0, [x19, #16]
ldr x8, [x19]
b LBB23_5
LBB23_4:
ldr x0, [x19, #16]
LBB23_5:
add x0, x0, x8
mov x1, x21
mov x2, x20
bl _memcpy
ldr x8, [x19]
add x8, x8, x20
str x8, [x19]
ldr x0, [sp, #24]
bl _free
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
LBB23_6:
Lloh815:
adrp x1, l_.str.119@PAGE
Lloh816:
add x1, x1, l_.str.119@PAGEOFF
bl _errx
LBB23_7:
str x22, [sp]
Lloh817:
adrp x1, l_.str.43@PAGE
Lloh818:
add x1, x1, l_.str.43@PAGEOFF
bl _errx
.loh AdrpAdd Lloh813, Lloh814
.loh AdrpAdd Lloh815, Lloh816
.loh AdrpAdd Lloh817, Lloh818
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function dlent_cmp
_dlent_cmp: ; @dlent_cmp
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x0, [x8]
ldr x8, [x1]
ldr x1, [x8]
b _strcmp
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mime_mapping_cmp_str
_mime_mapping_cmp_str: ; @mime_mapping_cmp_str
.cfi_startproc
; %bb.0:
ldr x1, [x1]
b _strcmp
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function additional_header
_additional_header: ; @additional_header
.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
Lloh819:
adrp x8, __additional_header@PAGE
Lloh820:
ldr x19, [x8, __additional_header@PAGEOFF]
mov x0, x19
bl _strlen
cbz x0, LBB26_2
; %bb.1:
add x0, x0, #64
bl _malloc
mov x20, x0
str x19, [sp]
Lloh821:
adrp x1, l_.str.227@PAGE
Lloh822:
add x1, x1, l_.str.227@PAGEOFF
bl _sprintf
b LBB26_3
LBB26_2:
Lloh823:
adrp x20, l_.str.3@PAGE
Lloh824:
add x20, x20, l_.str.3@PAGEOFF
LBB26_3:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdr Lloh819, Lloh820
.loh AdrpAdd Lloh821, Lloh822
.loh AdrpAdd Lloh823, Lloh824
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s, %s.\n"
.section __TEXT,__const
_pkgname: ; @pkgname
.asciz "darkhttpd/1.13.from.git"
_copyright: ; @copyright
.asciz "copyright (c) 2003-2021 Emil Mikulic"
.zerofill __DATA,__bss,_keep_alive_field,8,3 ; @keep_alive_field
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Keep-Alive: timeout=%d\r\n"
.section __DATA,__data
.p2align 2 ; @timeout_secs
_timeout_secs:
.long 30 ; 0x1e
.zerofill __DATA,__bss,_want_server_id,1,2 ; @want_server_id
.zerofill __DATA,__bss,_server_hdr,8,3 ; @server_hdr
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "Server: %s\r\n"
l_.str.3: ; @.str.3
.space 1
.zerofill __DATA,__bss,_logfile_name,8,3 ; @logfile_name
.zerofill __DATA,__bss,_logfile,8,3 ; @logfile
l_.str.4: ; @.str.4
.asciz "ab"
l_.str.5: ; @.str.5
.asciz "opening logfile: fopen(\"%s\")"
.zerofill __DATA,__bss,_want_daemon,1,2 ; @want_daemon
l_.str.6: ; @.str.6
.asciz "signal(ignore SIGPIPE)"
l_.str.7: ; @.str.7
.asciz "signal(SIGINT)"
l_.str.8: ; @.str.8
.asciz "signal(SIGTERM)"
.zerofill __DATA,__bss,_want_chroot,1,2 ; @want_chroot
.zerofill __DATA,__bss,_wwwroot,8,3 ; @wwwroot
l_.str.9: ; @.str.9
.asciz "chdir(%s)"
l_.str.10: ; @.str.10
.asciz "chroot(%s)"
l_.str.11: ; @.str.11
.asciz "chrooted to `%s'\n"
.section __DATA,__data
.p2align 2 ; @drop_gid
_drop_gid:
.long 4294967295 ; 0xffffffff
.section __TEXT,__cstring,cstring_literals
l_.str.12: ; @.str.12
.asciz "setgroups([%d])"
l_.str.13: ; @.str.13
.asciz "setgid(%d)"
l_.str.14: ; @.str.14
.asciz "set gid to %d\n"
.section __DATA,__data
.p2align 2 ; @drop_uid
_drop_uid:
.long 4294967295 ; 0xffffffff
.section __TEXT,__cstring,cstring_literals
l_.str.15: ; @.str.15
.asciz "setuid(%d)"
l_.str.16: ; @.str.16
.asciz "set uid to %d\n"
.zerofill __DATA,__bss,_pidfile_name,8,3 ; @pidfile_name
.section __DATA,__data
.p2align 2 ; @running
_running:
.long 1 ; 0x1
.p2align 2 ; @sockin
_sockin:
.long 4294967295 ; 0xffffffff
.zerofill __DATA,__bss,_connlist,8,3 ; @connlist
.zerofill __DATA,__bss,_mime_map_size,8,3 ; @mime_map_size
.zerofill __DATA,__bss,_mime_map,8,3 ; @mime_map
.zerofill __DATA,__bss,_forward_map,8,3 ; @forward_map
.zerofill __DATA,__bss,_auth_key,8,3 ; @auth_key
.section __TEXT,__cstring,cstring_literals
l_.str.17: ; @.str.17
.asciz "CPU time used: %u.%02u user, %u.%02u system\n"
l_.str.18: ; @.str.18
.asciz "Requests: %llu\n"
.zerofill __DATA,__bss,_num_requests,8,3 ; @num_requests
l_.str.19: ; @.str.19
.asciz "Bytes: %llu in, %llu out\n"
.zerofill __DATA,__bss,_total_in,8,3 ; @total_in
.zerofill __DATA,__bss,_total_out,8,3 ; @total_out
l_.str.20: ; @.str.20
.asciz "application/ogg ogg"
l_.str.21: ; @.str.21
.asciz "application/pdf pdf"
l_.str.22: ; @.str.22
.asciz "application/wasm wasm"
l_.str.23: ; @.str.23
.asciz "application/xml xsl xml"
l_.str.24: ; @.str.24
.asciz "application/xml-dtd dtd"
l_.str.25: ; @.str.25
.asciz "application/xslt+xml xslt"
l_.str.26: ; @.str.26
.asciz "application/zip zip"
l_.str.27: ; @.str.27
.asciz "audio/mpeg mp2 mp3 mpga"
l_.str.28: ; @.str.28
.asciz "image/gif gif"
l_.str.29: ; @.str.29
.asciz "image/jpeg jpeg jpe jpg"
l_.str.30: ; @.str.30
.asciz "image/png png"
l_.str.31: ; @.str.31
.asciz "image/svg+xml svg"
l_.str.32: ; @.str.32
.asciz "text/css css"
l_.str.33: ; @.str.33
.asciz "text/html html htm"
l_.str.34: ; @.str.34
.asciz "text/javascript js"
l_.str.35: ; @.str.35
.asciz "text/plain txt asc"
l_.str.36: ; @.str.36
.asciz "video/mpeg mpeg mpe mpg"
l_.str.37: ; @.str.37
.asciz "video/quicktime qt mov"
l_.str.38: ; @.str.38
.asciz "video/x-msvideo avi"
l_.str.39: ; @.str.39
.asciz "video/mp4 mp4"
l_.str.40: ; @.str.40
.asciz "can't allocate %zu bytes"
l_.str.41: ; @.str.41
.asciz "error: "
.zerofill __DATA,__bss,_longest_ext,8,3 ; @longest_ext
l_.str.43: ; @.str.43
.asciz "can't reallocate %zu bytes"
l_.str.44: ; @.str.44
.asciz "--help"
.section __DATA,__data
.p2align 1 ; @bindport
_bindport:
.short 8080 ; 0x1f90
.section __TEXT,__cstring,cstring_literals
l_.str.45: ; @.str.45
.asciz "--port"
l_.str.46: ; @.str.46
.asciz "missing number after --port"
l_.str.47: ; @.str.47
.asciz "--addr"
l_.str.48: ; @.str.48
.asciz "missing ip after --addr"
.zerofill __DATA,__bss,_bindaddr,8,3 ; @bindaddr
l_.str.49: ; @.str.49
.asciz "--maxconn"
l_.str.50: ; @.str.50
.asciz "missing number after --maxconn"
.section __DATA,__data
.p2align 2 ; @max_connections
_max_connections:
.long 4294967295 ; 0xffffffff
.section __TEXT,__cstring,cstring_literals
l_.str.51: ; @.str.51
.asciz "--log"
l_.str.52: ; @.str.52
.asciz "missing filename after --log"
l_.str.53: ; @.str.53
.asciz "--chroot"
l_.str.54: ; @.str.54
.asciz "--daemon"
l_.str.55: ; @.str.55
.asciz "--index"
l_.str.56: ; @.str.56
.asciz "missing filename after --index"
.section __DATA,__data
.p2align 3 ; @index_name
_index_name:
.quad l_.str.113
.section __TEXT,__cstring,cstring_literals
l_.str.57: ; @.str.57
.asciz "--no-listing"
.zerofill __DATA,__bss,_no_listing,1,2 ; @no_listing
l_.str.58: ; @.str.58
.asciz "--mimetypes"
l_.str.59: ; @.str.59
.asciz "missing filename after --mimetypes"
l_.str.60: ; @.str.60
.asciz "--default-mimetype"
l_.str.61: ; @.str.61
.asciz "missing string after --default-mimetype"
.section __DATA,__data
.p2align 3 ; @default_mimetype
_default_mimetype:
.quad _octet_stream
.section __TEXT,__cstring,cstring_literals
l_.str.62: ; @.str.62
.asciz "--uid"
l_.str.63: ; @.str.63
.asciz "missing uid after --uid"
l_.str.64: ; @.str.64
.asciz "no such uid: `%s'"
l_.str.65: ; @.str.65
.asciz "--gid"
l_.str.66: ; @.str.66
.asciz "missing gid after --gid"
l_.str.67: ; @.str.67
.asciz "no such gid: `%s'"
l_.str.68: ; @.str.68
.asciz "--pidfile"
l_.str.69: ; @.str.69
.asciz "missing filename after --pidfile"
l_.str.70: ; @.str.70
.asciz "--no-keepalive"
.zerofill __DATA,__bss,_want_keepalive,1,2 ; @want_keepalive
l_.str.71: ; @.str.71
.asciz "--accf"
.zerofill __DATA,__bss,_want_accf,1,2 ; @want_accf
l_.str.72: ; @.str.72
.asciz "--syslog"
.zerofill __DATA,__bss,_syslog_enabled,1,2 ; @syslog_enabled
l_.str.73: ; @.str.73
.asciz "--forward"
l_.str.74: ; @.str.74
.asciz "missing host after --forward"
l_.str.75: ; @.str.75
.asciz "missing url after --forward"
l_.str.76: ; @.str.76
.asciz "--forward-all"
l_.str.77: ; @.str.77
.asciz "missing url after --forward-all"
.zerofill __DATA,__bss,_forward_all_url,8,3 ; @forward_all_url
l_.str.78: ; @.str.78
.asciz "--no-server-id"
l_.str.79: ; @.str.79
.asciz "--timeout"
l_.str.80: ; @.str.80
.asciz "missing number after --timeout"
l_.str.81: ; @.str.81
.asciz "--auth"
l_.str.82: ; @.str.82
.asciz "missing 'user:pass' after --auth"
l_.str.83: ; @.str.83
.asciz "Basic %s"
l_.str.84: ; @.str.84
.asciz "--forward-https"
.zerofill __DATA,__bss,_forward_to_https,1,2 ; @forward_to_https
l_.str.85: ; @.str.85
.asciz "--additional-header"
l_.str.86: ; @.str.86
.asciz "missing filename after --additional-header"
.section __DATA,__data
.p2align 3 ; @_additional_header
__additional_header:
.quad l_.str.3
.section __TEXT,__cstring,cstring_literals
l_.str.87: ; @.str.87
.asciz "--ipv6"
.zerofill __DATA,__bss,_inet6,1,2 ; @inet6
l_.str.88: ; @.str.88
.asciz "unknown argument `%s'"
l_.str.89: ; @.str.89
.asciz "usage:\t%s /path/to/wwwroot [flags]\n\n"
l_.str.90: ; @.str.90
.asciz "flags:\t--port number (default: %u, or 80 if running as root)\n\t\tSpecifies which port to listen on for connections.\n\t\tPass 0 to let the system choose any free port for you.\n\n"
l_.str.97: ; @.str.97
.asciz "\t--index filename (default: %s)\n\t\tDefault file to serve when a directory is requested.\n\n"
l_.str.100: ; @.str.100
.asciz "\t--default-mimetype string (optional, default: %s)\n\t\tFiles with unknown extensions are served as this mimetype.\n\n"
.section __TEXT,__const
_octet_stream: ; @octet_stream
.asciz "application/octet-stream"
.section __TEXT,__cstring,cstring_literals
l_.str.107: ; @.str.107
.asciz "\t--timeout secs (default: %d)\n\t\tIf a connection is idle for more than this many seconds,\n\t\tit will be closed. Set to zero to disable timeouts.\n\n"
l_.str.112: ; @.str.112
.asciz "number \"%s\" is invalid"
l_.str.113: ; @.str.113
.asciz "index.html"
l_.str.114: ; @.str.114
.asciz "rb"
l_.str.115: ; @.str.115
.asciz "fopen(\"%s\")"
l_.str.116: ; @.str.116
.asciz "ftell()"
l_.str.117: ; @.str.117
.asciz "fseek()"
l_.str.118: ; @.str.118
.asciz "fread() %zu bytes, expecting %zu bytes"
.zerofill __DATA,__bss,_forward_map_size,8,3 ; @forward_map_size
.section __TEXT,__const
l___const.base64_encode.base64_table: ; @__const.base64_encode.base64_table
.ascii "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
.p2align 2 ; @__const.base64_encode.mod_table
l___const.base64_encode.mod_table:
.long 0 ; 0x0
.long 2 ; 0x2
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str.119: ; @.str.119
.asciz "out of memory in vasprintf()"
l_.str.120: ; @.str.120
.asciz "::"
l_.str.121: ; @.str.121
.asciz "malformed --addr argument"
l_.str.122: ; @.str.122
.asciz "socket()"
l_.str.123: ; @.str.123
.asciz "setsockopt(SO_REUSEADDR)"
l_.str.124: ; @.str.124
.asciz "setsockopt(TCP_NODELAY)"
l_.str.125: ; @.str.125
.asciz "bind(port %u)"
l_.str.126: ; @.str.126
.asciz "getsockname()"
l_.str.127: ; @.str.127
.asciz "listening on: http://[%s]:%u/\n"
l_.str.128: ; @.str.128
.asciz "listening on: http://%s:%u/\n"
l_.str.129: ; @.str.129
.asciz "listen()"
.zerofill __DATA,__bss,_get_address_text.text_addr,46,0 ; @get_address_text.text_addr
l_.str.131: ; @.str.131
.asciz ": %s\n"
.section __DATA,__data
.p2align 2 ; @lifeline
_lifeline:
.space 8,255
.section __TEXT,__cstring,cstring_literals
l_.str.132: ; @.str.132
.asciz "pipe(lifeline)"
l_.str.133: ; @.str.133
.asciz "/dev/null"
.section __DATA,__data
.p2align 2 ; @fd_null
_fd_null:
.long 4294967295 ; 0xffffffff
.section __TEXT,__cstring,cstring_literals
l_.str.134: ; @.str.134
.asciz "open(/dev/null)"
l_.str.135: ; @.str.135
.asciz "fork"
l_.str.136: ; @.str.136
.asciz "close lifeline in parent"
l_.str.137: ; @.str.137
.asciz "read lifeline in parent"
l_.str.138: ; @.str.138
.asciz "waitpid"
l_.str.139: ; @.str.139
.asciz "warning: "
l_.str.140: ; @.str.140
.asciz "daemon already running with PID %d"
l_.str.141: ; @.str.141
.asciz "can't create pidfile %s"
.section __DATA,__data
.p2align 2 ; @pidfile_fd
_pidfile_fd:
.long 4294967295 ; 0xffffffff
.section __TEXT,__cstring,cstring_literals
l_.str.142: ; @.str.142
.asciz "ftruncate() failed"
l_.str.143: ; @.str.143
.asciz "%d"
l_.str.144: ; @.str.144
.asciz "pwrite() failed"
l_.str.145: ; @.str.145
.asciz " after create failed"
l_.str.146: ; @.str.146
.asciz "read from pidfile failed"
l_.str.147: ; @.str.147
.asciz "invalid pidfile contents: \"%s\""
l_.str.148: ; @.str.148
.asciz "setsid"
l_.str.149: ; @.str.149
.asciz "close read end of lifeline in child"
l_.str.150: ; @.str.150
.asciz "couldn't cut the lifeline"
l_.str.151: ; @.str.151
.asciz "dup2(stdin)"
l_.str.152: ; @.str.152
.asciz "dup2(stdout)"
l_.str.153: ; @.str.153
.asciz "dup2(stderr)"
.zerofill __DATA,__bss,_accepting,1,2 ; @accepting
l_.str.154: ; @.str.154
.asciz "select() timed out"
l_.str.155: ; @.str.155
.asciz "select() failed"
.zerofill __DATA,__bss,_now,8,3 ; @now
l_.str.156: ; @.str.156
.asciz "accept()"
l_.str.157: ; @.str.157
.asciz "fcntl(F_GETFL)"
l_.str.158: ; @.str.158
.asciz "fcntl() to set O_NONBLOCK"
l_.str.159: ; @.str.159
.asciz "\n\n"
l_.str.160: ; @.str.160
.asciz "\r\n\r\n"
l_.str.161: ; @.str.161
.asciz "Request Entity Too Large"
l_.str.162: ; @.str.162
.asciz "Your request was dropped because it was too long."
l_.str.163: ; @.str.163
.asciz "Bad Request"
l_.str.164: ; @.str.164
.asciz "You sent a request that the server couldn't understand."
l_.str.165: ; @.str.165
.asciz "Unauthorized"
l_.str.166: ; @.str.166
.asciz "Access denied due to invalid credentials."
l_.str.167: ; @.str.167
.asciz "GET"
l_.str.168: ; @.str.168
.asciz "HEAD"
l_.str.169: ; @.str.169
.asciz "Not Implemented"
l_.str.170: ; @.str.170
.asciz "The method you specified is not implemented."
l_.str.171: ; @.str.171
.asciz "HTTP/1.1"
l_.str.172: ; @.str.172
.asciz "Connection: "
l_.str.173: ; @.str.173
.asciz "close"
l_.str.174: ; @.str.174
.asciz "keep-alive"
l_.str.175: ; @.str.175
.asciz "Referer: "
l_.str.176: ; @.str.176
.asciz "User-Agent: "
l_.str.177: ; @.str.177
.asciz "Authorization: "
l_.str.178: ; @.str.178
.asciz "Range: bytes="
l_.str.179: ; @.str.179
.asciz "X-Forwarded-Proto: "
l_.str.180: ; @.str.180
.asciz "https"
l_.str.181: ; @.str.181
.asciz "You requested an invalid URL."
l_.str.182: ; @.str.182
.asciz "Host: "
l_.str.183: ; @.str.183
.asciz "Missing 'Host' header."
l_.str.184: ; @.str.184
.asciz "https://%s%s"
l_.str.185: ; @.str.185
.asciz "<html><head><title>301 Moved Permanently</title></head><body>\n<h1>Moved Permanently</h1>\nMoved to: <a href=\"%s\">%s</a>\n<hr>\n%s</body></html>\n"
l_.str.186: ; @.str.186
.asciz "HTTP/1.1 301 Moved Permanently\r\nDate: %s\r\n%sLocation: %s\r\n%sContent-Length: %llu\r\nContent-Type: text/html; charset=UTF-8\r\n\r\n"
l_.str.187: ; @.str.187
.asciz "%a, %d %b %Y %H:%M:%S GMT"
l_.str.188: ; @.str.188
.asciz "strftime() failed [%s]"
.zerofill __DATA,__bss,__generated_on_buf,72,0 ; @_generated_on_buf
l_.str.189: ; @.str.189
.asciz "Generated by %s on %s\n"
l_.str.190: ; @.str.190
.asciz "Connection: close\r\n"
l_.str.191: ; @.str.191
.asciz "%s%s"
l_.str.192: ; @.str.192
.asciz "%s%s%s"
l_.str.193: ; @.str.193
.asciz "Not Found"
l_.str.194: ; @.str.194
.asciz "The URL you requested was not found."
l_.str.195: ; @.str.195
.asciz "Forbidden"
l_.str.196: ; @.str.196
.asciz "You don't have permission to access this URL."
l_.str.197: ; @.str.197
.asciz "Internal Server Error"
l_.str.198: ; @.str.198
.asciz "The URL you requested cannot be returned: %s."
l_.str.199: ; @.str.199
.asciz "fstat() failed: %s."
l_.str.200: ; @.str.200
.asciz "%s/"
l_.str.201: ; @.str.201
.asciz "Not a regular file."
l_.str.202: ; @.str.202
.asciz "If-Modified-Since: "
l_.str.203: ; @.str.203
.asciz "HTTP/1.1 304 Not Modified\r\nDate: %s\r\n%sAccept-Ranges: bytes\r\n%s\r\n"
l_.str.205: ; @.str.205
.asciz "Requested Range Not Satisfiable"
l_.str.206: ; @.str.206
.asciz "You requested a range outside of the file."
l_.str.207: ; @.str.207
.asciz "You requested a backward range."
l_.str.208: ; @.str.208
.asciz "HTTP/1.1 206 Partial Content\r\nDate: %s\r\n%sAccept-Ranges: bytes\r\n%sContent-Length: %llu\r\nContent-Range: bytes %llu-%llu/%llu\r\nContent-Type: %s\r\nLast-Modified: %s\r\n\r\n"
l_.str.209: ; @.str.209
.asciz "HTTP/1.1 200 OK\r\nDate: %s\r\n%sAccept-Ranges: bytes\r\n%sContent-Length: %llu\r\nContent-Type: %s\r\nLast-Modified: %s\r\n%s\r\n"
l_.str.210: ; @.str.210
.asciz "Couldn't list directory: %s"
l_.str.211: ; @.str.211
.asciz "<html>\n<head>\n<title>"
l_.str.212: ; @.str.212
.asciz "</title>\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n</head>\n<body>\n<h1>"
l_.str.213: ; @.str.213
.asciz "</h1>\n<tt><pre>\n"
l_.str.214: ; @.str.214
.asciz "<a href=\""
l_.str.218: ; @.str.218
.asciz "%10llu\n"
l_.str.219: ; @.str.219
.asciz "</pre></tt>\n<hr>\n"
l_.str.220: ; @.str.220
.asciz "</body>\n</html>\n"
l_.str.221: ; @.str.221
.asciz "HTTP/1.1 200 OK\r\nDate: %s\r\n%sAccept-Ranges: bytes\r\n%sContent-Length: %llu\r\nContent-Type: text/html; charset=UTF-8\r\n\r\n"
l_.str.224: ; @.str.224
.asciz "&"
l_.str.225: ; @.str.225
.asciz "'"
l_.str.226: ; @.str.226
.asciz """
l_.str.227: ; @.str.227
.asciz "%s \r\n"
l_.str.228: ; @.str.228
.asciz "<html><head><title>%d %s</title></head><body>\n<h1>%s</h1>\n%s\n<hr>\n%s</body></html>\n"
l___const.default_reply.auth_header: ; @__const.default_reply.auth_header
.asciz "WWW-Authenticate: Basic realm=\"User Visible Realm\"\r\n"
l_.str.229: ; @.str.229
.asciz "HTTP/1.1 %d %s\r\nDate: %s\r\n%sAccept-Ranges: bytes\r\n%sContent-Length: %llu\r\nContent-Type: text/html; charset=UTF-8\r\n%s\r\n"
l_.str.230: ; @.str.230
.asciz "fseek(%d)"
l_.str.231: ; @.str.231
.asciz "premature eof on fd %d\n"
l_.str.232: ; @.str.232
.asciz "error reading on fd %d: %s"
l_.str.233: ; @.str.233
.asciz "read %zd bytes, expecting %zu bytes on fd %d\n"
l_.str.234: ; @.str.234
.asciz "close()"
l_.str.235: ; @.str.235
.asciz "unlink(pidfile) failed"
l_.str.236: ; @.str.236
.asciz "%s - - %s \"%s %s HTTP/1.1\" %d %llu \"%s\" \"%s\"\n"
_logencode.hex: ; @logencode.hex
.asciz "0123456789ABCDEF"
l_.str.237: ; @.str.237
.asciz "[%d/%b/%Y:%H:%M:%S %z]"
l_str: ; @str
.asciz "this platform doesn't support acceptfilter"
l_str.238: ; @str.238
.asciz "\t--addr ip (default: all)\n\t\tIf multiple interfaces are present, specifies\n\t\twhich one to bind the listening port to.\n"
l_str.239: ; @str.239
.asciz "\t--maxconn number (default: system maximum)\n\t\tSpecifies how many concurrent connections to accept.\n"
l_str.240: ; @str.240
.asciz "\t--log filename (default: stdout)\n\t\tSpecifies which file to append the request log to.\n"
l_str.241: ; @str.241
.asciz "\t--syslog\n\t\tUse syslog for request log.\n"
l_str.242: ; @str.242
.asciz "\t--chroot (default: don't chroot)\n\t\tLocks server into wwwroot directory for added security.\n"
l_str.243: ; @str.243
.asciz "\t--daemon (default: don't daemonize)\n\t\tDetach from the controlling terminal and run in the background.\n"
l_str.244: ; @str.244
.asciz "\t--no-listing\n\t\tDo not serve listing if directory is requested.\n"
l_str.245: ; @str.245
.asciz "\t--mimetypes filename (optional)\n\t\tParses specified file for extension-MIME associations.\n"
l_str.246: ; @str.246
.asciz "\t--uid uid/uname, --gid gid/gname (default: don't privdrop)\n\t\tDrops privileges to given uid:gid after initialization.\n"
l_str.247: ; @str.247
.asciz "\t--pidfile filename (default: no pidfile)\n\t\tWrite PID to the specified file. Note that if you are\n\t\tusing --chroot, then the pidfile must be relative to,\n\t\tand inside the wwwroot.\n"
l_str.248: ; @str.248
.asciz "\t--no-keepalive\n\t\tDisables HTTP Keep-Alive functionality.\n"
l_str.249: ; @str.249
.asciz "\t--forward host url (default: don't forward)\n\t\tWeb forward (301 redirect).\n\t\tRequests to the host are redirected to the corresponding url.\n\t\tThe option may be specified multiple times, in which case\n\t\tthe host is matched in order of appearance.\n"
l_str.250: ; @str.250
.asciz "\t--forward-all url (default: don't forward)\n\t\tWeb forward (301 redirect).\n\t\tAll requests are redirected to the corresponding url.\n"
l_str.251: ; @str.251
.asciz "\t--no-server-id\n\t\tDon't identify the server type in headers\n\t\tor directory listings.\n"
l_str.252: ; @str.252
.asciz "\t--auth username:password\n\t\tEnable basic authentication.\n"
l_str.253: ; @str.253
.asciz "\t--forward-https\n\t\tIf the client requested HTTP, forward to HTTPS.\n\t\tThis is useful if darkhttpd is behind a reverse proxy\n\t\tthat supports SSL.\n"
l_str.254: ; @str.254
.asciz "\t--additional-header\n\t\tAdditional HTTP headers in the response.\n"
l_str.255: ; @str.255
.asciz "\t--ipv6\n\t\tListen on IPv6 address.\n"
.subsections_via_symbols
| the_stack_data/67326316.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function svcauth_null_release
_svcauth_null_release: ## @svcauth_null_release
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq 8(%rdi), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _auth_domain_put
LBB0_2:
movq $0, 8(%rbx)
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.3:
callq _put_group_info
LBB0_4:
movq $0, (%rbx)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _svcauth_null_release
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function svcauth_null_release
_svcauth_null_release: ; @svcauth_null_release
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #8]
cbz x0, LBB0_2
; %bb.1:
bl _auth_domain_put
LBB0_2:
str xzr, [x19, #8]
ldr x0, [x19]
cbz x0, LBB0_4
; %bb.3:
bl _put_group_info
LBB0_4:
str xzr, [x19]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _svcauth_null_release
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/sunrpc/extr_svcauth_unix.c_svcauth_null_release.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bfa_tskim_iodone ## -- Begin function bfa_tskim_iodone
.p2align 4, 0x90
_bfa_tskim_iodone: ## @bfa_tskim_iodone
.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 _bfa_wc_down ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bfa_tskim_iodone ; -- Begin function bfa_tskim_iodone
.p2align 2
_bfa_tskim_iodone: ; @bfa_tskim_iodone
.cfi_startproc
; %bb.0:
b _bfa_wc_down
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_tskim_iodone.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _acpi_ds_create_buffer_field ## -- Begin function acpi_ds_create_buffer_field
.p2align 4, 0x90
_acpi_ds_create_buffer_field: ## @acpi_ds_create_buffer_field
.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 %rsi, %rbx
movq %rdi, %r14
movq _ds_create_buffer_field@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ACPI_FUNCTION_TRACE
movq (%r14), %rax
movq _AML_CREATE_FIELD_OP@GOTPCREL(%rip), %rcx
xorl %esi, %esi
cmpq (%rcx), %rax
sete %sil
orl $2, %esi
movq %r14, %rdi
callq _acpi_ps_get_arg
movq %rax, %r15
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq _AE_AML_NO_OPERAND@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _return_ACPI_STATUS
LBB0_2:
movq 16(%rbx), %rax
testq %rax, %rax
je LBB0_4
## %bb.3:
movq %rax, -32(%rbp)
jmp LBB0_11
LBB0_4:
movq _ACPI_PARSE_EXECUTE@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
jne LBB0_6
## %bb.5:
movq _AE_AML_INTERNAL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _return_ACPI_STATUS
LBB0_6:
movq _ACPI_NS_NO_UPSEARCH@GOTPCREL(%rip), %rax
movq _ACPI_NS_DONT_OPEN_SCOPE@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
orl (%rax), %r8d
movq _ACPI_NS_ERROR_IF_FOUND@GOTPCREL(%rip), %rax
orl (%rax), %r8d
cmpq $0, 8(%rbx)
je LBB0_9
## %bb.7:
movq _ACPI_PARSE_MODULE_LEVEL@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
jne LBB0_9
## %bb.8:
movq _ACPI_NS_TEMPORARY@GOTPCREL(%rip), %rax
orl (%rax), %r8d
LBB0_9:
movl 4(%rbx), %edi
movl 16(%r15), %esi
movq _ACPI_TYPE_ANY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ACPI_IMODE_LOAD_PASS1@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -32(%rbp), %rax
movq %rax, (%rsp)
movq %rbx, %r9
callq _acpi_ns_lookup
movl %eax, %ebx
movl %eax, %edi
callq _ACPI_FAILURE
testq %rax, %rax
je LBB0_11
## %bb.10:
movl 16(%r15), %edi
movl %ebx, %esi
callq _ACPI_ERROR_NAMESPACE
movl %ebx, %edi
callq _return_ACPI_STATUS
LBB0_11:
movq -32(%rbp), %rdi
movq %rdi, 8(%r14)
callq _acpi_ns_get_attached_object
testq %rax, %rax
je LBB0_13
## %bb.12:
movq _AE_OK@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _return_ACPI_STATUS
LBB0_13:
movq _ACPI_TYPE_BUFFER_FIELD@GOTPCREL(%rip), %r15
movl (%r15), %edi
callq _acpi_ut_create_internal_object
movq %rax, %rbx
testq %rax, %rax
je LBB0_14
## %bb.15:
movq (%rbx), %rax
movl 4(%r14), %ecx
movl %ecx, 4(%rax)
movl (%r14), %ecx
movl %ecx, (%rax)
movq -32(%rbp), %rax
movq %rax, (%rbx)
movq -32(%rbp), %rdi
movl (%r15), %edx
movq %rbx, %rsi
callq _acpi_ns_attach_object
movl %eax, %r14d
movl %eax, %edi
callq _ACPI_FAILURE
jmp LBB0_16
LBB0_14:
movq _AE_NO_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %r14d
LBB0_16:
movq %rbx, %rdi
callq _acpi_ut_remove_reference
movl %r14d, %edi
callq _return_ACPI_STATUS
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ds_create_buffer_field,4,2 ## @ds_create_buffer_field
.comm _AML_CREATE_FIELD_OP,8,3 ## @AML_CREATE_FIELD_OP
.comm _AE_AML_NO_OPERAND,4,2 ## @AE_AML_NO_OPERAND
.comm _AE_OK,4,2 ## @AE_OK
.comm _ACPI_PARSE_EXECUTE,4,2 ## @ACPI_PARSE_EXECUTE
.comm _AE_AML_INTERNAL,4,2 ## @AE_AML_INTERNAL
.comm _ACPI_NS_NO_UPSEARCH,4,2 ## @ACPI_NS_NO_UPSEARCH
.comm _ACPI_NS_DONT_OPEN_SCOPE,4,2 ## @ACPI_NS_DONT_OPEN_SCOPE
.comm _ACPI_NS_ERROR_IF_FOUND,4,2 ## @ACPI_NS_ERROR_IF_FOUND
.comm _ACPI_PARSE_MODULE_LEVEL,4,2 ## @ACPI_PARSE_MODULE_LEVEL
.comm _ACPI_NS_TEMPORARY,4,2 ## @ACPI_NS_TEMPORARY
.comm _ACPI_TYPE_ANY,4,2 ## @ACPI_TYPE_ANY
.comm _ACPI_IMODE_LOAD_PASS1,4,2 ## @ACPI_IMODE_LOAD_PASS1
.comm _ACPI_TYPE_BUFFER_FIELD,4,2 ## @ACPI_TYPE_BUFFER_FIELD
.comm _AE_NO_MEMORY,4,2 ## @AE_NO_MEMORY
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _acpi_ds_create_buffer_field ; -- Begin function acpi_ds_create_buffer_field
.p2align 2
_acpi_ds_create_buffer_field: ; @acpi_ds_create_buffer_field
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _ds_create_buffer_field@GOTPAGE
Lloh1:
ldr x8, [x8, _ds_create_buffer_field@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _ACPI_FUNCTION_TRACE
ldr x8, [x19]
Lloh3:
adrp x9, _AML_CREATE_FIELD_OP@GOTPAGE
Lloh4:
ldr x9, [x9, _AML_CREATE_FIELD_OP@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
mov w8, #2
cinc w1, w8, eq
mov x0, x19
bl _acpi_ps_get_arg
mov x21, x0
cbz x0, LBB0_3
; %bb.1:
ldr x8, [x20, #16]
cbz x8, LBB0_4
LBB0_2:
str x8, [sp, #8]
b LBB0_11
LBB0_3:
Lloh6:
adrp x8, _AE_AML_NO_OPERAND@GOTPAGE
Lloh7:
ldr x8, [x8, _AE_AML_NO_OPERAND@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
bl _return_ACPI_STATUS
ldr x8, [x20, #16]
cbnz x8, LBB0_2
LBB0_4:
ldr w8, [x20]
Lloh9:
adrp x9, _ACPI_PARSE_EXECUTE@GOTPAGE
Lloh10:
ldr x9, [x9, _ACPI_PARSE_EXECUTE@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_6
; %bb.5:
Lloh12:
adrp x8, _AE_AML_INTERNAL@GOTPAGE
Lloh13:
ldr x8, [x8, _AE_AML_INTERNAL@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
bl _return_ACPI_STATUS
LBB0_6:
Lloh15:
adrp x8, _ACPI_NS_NO_UPSEARCH@GOTPAGE
Lloh16:
ldr x8, [x8, _ACPI_NS_NO_UPSEARCH@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
Lloh18:
adrp x9, _ACPI_NS_DONT_OPEN_SCOPE@GOTPAGE
Lloh19:
ldr x9, [x9, _ACPI_NS_DONT_OPEN_SCOPE@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
orr w8, w9, w8
Lloh21:
adrp x9, _ACPI_NS_ERROR_IF_FOUND@GOTPAGE
Lloh22:
ldr x9, [x9, _ACPI_NS_ERROR_IF_FOUND@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
orr w4, w8, w9
ldr x8, [x20, #8]
cbz x8, LBB0_9
; %bb.7:
ldr w8, [x20]
Lloh24:
adrp x9, _ACPI_PARSE_MODULE_LEVEL@GOTPAGE
Lloh25:
ldr x9, [x9, _ACPI_PARSE_MODULE_LEVEL@GOTPAGEOFF]
Lloh26:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_9
; %bb.8:
Lloh27:
adrp x8, _ACPI_NS_TEMPORARY@GOTPAGE
Lloh28:
ldr x8, [x8, _ACPI_NS_TEMPORARY@GOTPAGEOFF]
Lloh29:
ldr w8, [x8]
orr w4, w8, w4
LBB0_9:
ldr w0, [x20, #4]
ldr w1, [x21, #16]
Lloh30:
adrp x8, _ACPI_TYPE_ANY@GOTPAGE
Lloh31:
ldr x8, [x8, _ACPI_TYPE_ANY@GOTPAGEOFF]
Lloh32:
ldr w2, [x8]
Lloh33:
adrp x8, _ACPI_IMODE_LOAD_PASS1@GOTPAGE
Lloh34:
ldr x8, [x8, _ACPI_IMODE_LOAD_PASS1@GOTPAGEOFF]
Lloh35:
ldr w3, [x8]
add x6, sp, #8
mov x5, x20
bl _acpi_ns_lookup
mov x20, x0
bl _ACPI_FAILURE
cbz x0, LBB0_11
; %bb.10:
ldr w0, [x21, #16]
mov x1, x20
bl _ACPI_ERROR_NAMESPACE
mov x0, x20
bl _return_ACPI_STATUS
LBB0_11:
ldr x0, [sp, #8]
str x0, [x19, #8]
bl _acpi_ns_get_attached_object
cbz x0, LBB0_13
; %bb.12:
Lloh36:
adrp x8, _AE_OK@GOTPAGE
Lloh37:
ldr x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh38:
ldr w0, [x8]
bl _return_ACPI_STATUS
LBB0_13:
Lloh39:
adrp x21, _ACPI_TYPE_BUFFER_FIELD@GOTPAGE
Lloh40:
ldr x21, [x21, _ACPI_TYPE_BUFFER_FIELD@GOTPAGEOFF]
ldr w0, [x21]
bl _acpi_ut_create_internal_object
mov x20, x0
cbz x0, LBB0_15
; %bb.14:
ldr x8, [x20]
ldr w9, [x19, #4]
str w9, [x8, #4]
ldr w9, [x19]
str w9, [x8]
ldr x8, [sp, #8]
str x8, [x20]
ldr x0, [sp, #8]
ldr w2, [x21]
mov x1, x20
bl _acpi_ns_attach_object
mov x19, x0
bl _ACPI_FAILURE
b LBB0_16
LBB0_15:
Lloh41:
adrp x8, _AE_NO_MEMORY@GOTPAGE
Lloh42:
ldr x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh43:
ldr w19, [x8]
LBB0_16:
mov x0, x20
bl _acpi_ut_remove_reference
mov x0, x19
bl _return_ACPI_STATUS
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 Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.cfi_endproc
; -- End function
.comm _ds_create_buffer_field,4,2 ; @ds_create_buffer_field
.comm _AML_CREATE_FIELD_OP,8,3 ; @AML_CREATE_FIELD_OP
.comm _AE_AML_NO_OPERAND,4,2 ; @AE_AML_NO_OPERAND
.comm _AE_OK,4,2 ; @AE_OK
.comm _ACPI_PARSE_EXECUTE,4,2 ; @ACPI_PARSE_EXECUTE
.comm _AE_AML_INTERNAL,4,2 ; @AE_AML_INTERNAL
.comm _ACPI_NS_NO_UPSEARCH,4,2 ; @ACPI_NS_NO_UPSEARCH
.comm _ACPI_NS_DONT_OPEN_SCOPE,4,2 ; @ACPI_NS_DONT_OPEN_SCOPE
.comm _ACPI_NS_ERROR_IF_FOUND,4,2 ; @ACPI_NS_ERROR_IF_FOUND
.comm _ACPI_PARSE_MODULE_LEVEL,4,2 ; @ACPI_PARSE_MODULE_LEVEL
.comm _ACPI_NS_TEMPORARY,4,2 ; @ACPI_NS_TEMPORARY
.comm _ACPI_TYPE_ANY,4,2 ; @ACPI_TYPE_ANY
.comm _ACPI_IMODE_LOAD_PASS1,4,2 ; @ACPI_IMODE_LOAD_PASS1
.comm _ACPI_TYPE_BUFFER_FIELD,4,2 ; @ACPI_TYPE_BUFFER_FIELD
.comm _AE_NO_MEMORY,4,2 ; @AE_NO_MEMORY
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/acpi/acpica/extr_dsfield.c_acpi_ds_create_buffer_field.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function usb_dump_interface_descriptor
_usb_dump_interface_descriptor: ## @usb_dump_interface_descriptor
.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, %rbx
cmpq %rsi, %rdi
ja LBB0_8
## %bb.1:
movq (%rdx), %r12
movslq %r8d, %rax
leaq (%rax,%rax,2), %r14
leaq (%r12,%r14,8), %rdx
testq %rcx, %rcx
movq %rdx, -80(%rbp) ## 8-byte Spill
je LBB0_2
## %bb.3:
movq 8(%rcx), %rax
testq %rax, %rax
je LBB0_4
## %bb.5:
movq (%rax), %rax
jmp LBB0_6
LBB0_2:
movb $32, %r15b
leaq L_.str(%rip), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_7
LBB0_4:
leaq L_.str.1(%rip), %rax
LBB0_6:
movq %rax, -64(%rbp) ## 8-byte Spill
cmpq (%rcx), %rdx
movl $42, %eax
movl $32, %r15d
cmovel %eax, %r15d
LBB0_7:
movq _format_iface@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movl 20(%r12,%r14,8), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movl 16(%r12,%r14,8), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl 8(%r12,%r14,8), %r13d
movl 12(%r12,%r14,8), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl %r13d, %edi
callq _class_decode
## kill: def $eax killed $eax def $rax
movl 4(%r12,%r14,8), %r10d
movq -80(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %r11d
subq $8, %rsp
movzbl %r15b, %edx
movq %rbx, %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
movl -52(%rbp), %ecx ## 4-byte Reload
movl -48(%rbp), %r8d ## 4-byte Reload
movl -44(%rbp), %r9d ## 4-byte Reload
pushq -64(%rbp) ## 8-byte Folded Reload
pushq %r11
pushq %r10
pushq %rax
pushq %r13
callq _sprintf
addq $48, %rsp
cltq
addq %rax, %rbx
LBB0_8:
movq %rbx, %rax
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
.space 1
L_.str.1: ## @.str.1
.asciz "(none)"
.comm _format_iface,8,3 ## @format_iface
.no_dead_strip _usb_dump_interface_descriptor
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function usb_dump_interface_descriptor
_usb_dump_interface_descriptor: ; @usb_dump_interface_descriptor
.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
; kill: def $w4 killed $w4 def $x4
mov x19, x0
cmp x0, x1
b.hi LBB0_8
; %bb.1:
ldr x8, [x2]
sxtw x9, w4
mov w10, #24
smaddl x26, w4, w10, x8
cbz x3, LBB0_4
; %bb.2:
ldr x10, [x3, #8]
cbz x10, LBB0_5
; %bb.3:
ldr x27, [x10]
b LBB0_6
LBB0_4:
mov w20, #32
Lloh0:
adrp x27, l_.str@PAGE
Lloh1:
add x27, x27, l_.str@PAGEOFF
b LBB0_7
LBB0_5:
Lloh2:
adrp x27, l_.str.1@PAGE
Lloh3:
add x27, x27, l_.str.1@PAGEOFF
LBB0_6:
ldr x10, [x3]
cmp x26, x10
mov w10, #32
mov w11, #42
csel w20, w11, w10, eq
LBB0_7:
Lloh4:
adrp x10, _format_iface@GOTPAGE
Lloh5:
ldr x10, [x10, _format_iface@GOTPAGEOFF]
Lloh6:
ldr x21, [x10]
mov w10, #24
madd x28, x9, x10, x8
ldp w23, w22, [x28, #16]
ldp w25, w24, [x28, #8]
mov x0, x25
bl _class_decode
mov x7, x0
ldr w8, [x28, #4]
ldr w9, [x26]
str x27, [sp, #8]
stp w8, w9, [sp]
mov x0, x19
mov x1, x21
mov x2, x20
mov x3, x22
mov x4, x23
mov x5, x24
mov x6, x25
bl _sprintf
add x19, x19, w0, sxtw
LBB0_8:
mov x0, x19
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 AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz "(none)"
.comm _format_iface,8,3 ; @format_iface
.no_dead_strip _usb_dump_interface_descriptor
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/usb/core/extr_devices.c_usb_dump_interface_descriptor.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
popq %rbp
jmp _foo ## TAILCALL
.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:
b _foo
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/120346.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function kasan_check_enabled
_kasan_check_enabled: ## @kasan_check_enabled
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _kasan_enabled@GOTPCREL(%rip), %rcx
xorl %eax, %eax
cmpq $0, (%rcx)
je LBB0_3
## %bb.1:
movq _enabled_checks@GOTPCREL(%rip), %rcx
testl %edi, (%rcx)
je LBB0_3
## %bb.2:
callq _kasan_is_blacklisted
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
sete %al
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _kasan_enabled,8,3 ## @kasan_enabled
.comm _enabled_checks,4,2 ## @enabled_checks
.no_dead_strip _kasan_check_enabled
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function kasan_check_enabled
_kasan_check_enabled: ; @kasan_check_enabled
.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, _kasan_enabled@GOTPAGE
Lloh1:
ldr x8, [x8, _kasan_enabled@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_3
; %bb.1:
Lloh3:
adrp x8, _enabled_checks@GOTPAGE
Lloh4:
ldr x8, [x8, _enabled_checks@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_3
; %bb.2:
bl _kasan_is_blacklisted
cmp w0, #0
cset w0, eq
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_3:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _kasan_enabled,8,3 ; @kasan_enabled
.comm _enabled_checks,4,2 ; @enabled_checks
.no_dead_strip _kasan_check_enabled
.subsections_via_symbols
| AnghaBench/darwin-xnu/san/extr_kasan.c_kasan_check_enabled.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x419dcd6500000000 ## double 1.25E+8
LCPI0_1:
.quad 0x41d0000000000000 ## double 1073741824
LCPI0_2:
.quad 0x3fe0000000000000 ## double 0.5
.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
pushq %rax
movl $65592, %eax ## imm = 0x10038
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $1, -65612(%rbp)
leaq L_.str(%rip), %rdi
movl $2, %esi
xorl %eax, %eax
callq _open
testl %eax, %eax
jns LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
jmp LBB0_30
LBB0_2:
movl %eax, %r14d
movl $29, %edi
callq _sysconf
movl $1073741824, %r9d ## imm = 0x40000000
xorl %edi, %edi
movq %rax, %rsi
movl $3, %edx
movl $1, %ecx
movl %r14d, %r8d
callq _mmap
movq %rax, %r15
movl $29, %edi
callq _sysconf
movl $1073745920, %r9d ## imm = 0x40001000
xorl %edi, %edi
movq %rax, %rsi
movl $3, %edx
movl $1, %ecx
movl %r14d, %r8d
callq _mmap
movq %rax, %r12
movl $29, %edi
callq _sysconf
shlq $4, %rax
movl $1073807360, %r9d ## imm = 0x40010000
xorl %edi, %edi
movq %rax, %rsi
movl $3, %edx
movl $1, %ecx
movl %r14d, %r8d
callq _mmap
movq %rax, %rbx
movl $29, %edi
callq _sysconf
leaq (%rax,%rax), %rsi
movl $1073750016, %r9d ## imm = 0x40002000
xorl %edi, %edi
movl $3, %edx
movl $1, %ecx
movl %r14d, %r8d
callq _mmap
orb $1, (%r12)
andb $-3, (%r12)
movq %rax, -65632(%rbp) ## 8-byte Spill
orb $1, 1(%r12)
movl $163208757, 4(%r12) ## imm = 0x9BA5E35
movw $250, 8(%r12)
movl $163208757, 12(%r12) ## imm = 0x9BA5E35
movw $16382, 16(%r12) ## imm = 0x3FFE
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
testl %eax, %eax
jns LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
jmp LBB0_30
LBB0_4:
movl %eax, %r14d
leaq -65612(%rbp), %rcx
movl %eax, %edi
movl $65535, %esi ## imm = 0xFFFF
movl $4, %edx
movl $4, %r8d
callq _setsockopt
xorpd %xmm0, %xmm0
movapd %xmm0, -64(%rbp)
movb $2, -63(%rbp)
movw $-5885, -62(%rbp) ## imm = 0xE903
leaq -64(%rbp), %rsi
movl %r14d, %edi
movl $16, %edx
callq _bind
testl %eax, %eax
jns LBB0_6
## %bb.5:
leaq L_.str.3(%rip), %rdi
jmp LBB0_30
LBB0_6:
movl %r14d, %edi
movl $1024, %esi ## imm = 0x400
callq _listen
movl %r14d, -65608(%rbp) ## 4-byte Spill
movl %r14d, %edi
xorl %esi, %esi
xorl %edx, %edx
callq _accept
testl %eax, %eax
jns LBB0_7
LBB0_29:
leaq L_.str.4(%rip), %rdi
LBB0_30:
callq _perror
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_32
## %bb.31:
movl $1, %eax
addq $65592, %rsp ## imm = 0x10038
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movl %eax, %r13d
leaq -65600(%rbp), %r14
movq %r12, -65624(%rbp) ## 8-byte Spill
jmp LBB0_8
LBB0_20: ## in Loop: Header=BB0_8 Depth=1
orb $1, 1(%r12)
andb $-2, 1(%r12)
movq -65632(%rbp), %rax ## 8-byte Reload
movl $0, (%rax)
movl $98, (%rax)
movl $49, (%rax)
movl $0, (%rax)
movl $268435456, (%rax) ## imm = 0x10000000
movl $148, (%rax)
movl $74, (%rax)
movl $0, (%rax)
movl $536870912, (%rax) ## imm = 0x20000000
movl $98, (%rax)
movl $49, (%rax)
movl $0, (%rax)
.p2align 4, 0x90
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_22 Depth 2
## Child Loop BB0_23 Depth 3
## Child Loop BB0_25 Depth 3
movl $4, %edx
movl %r13d, %edi
leaq -65604(%rbp), %rsi
movl $64, %ecx
callq _recv
testq %rax, %rax
jle LBB0_28
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl -65604(%rbp), %eax
movl %eax, %ecx
shrl $28, %ecx
cmpl $3, %ecx
ja LBB0_8
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
leaq LJTI0_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
andl $268435455, %eax ## imm = 0xFFFFFFF
cmpl $60000000, %eax ## imm = 0x3938700
ja LBB0_8
## %bb.12: ## in Loop: Header=BB0_8 Depth=1
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd LCPI0_0(%rip), %xmm0
mulsd LCPI0_1(%rip), %xmm0
addsd LCPI0_2(%rip), %xmm0
roundsd $9, %xmm0, %xmm0
cvttsd2si %xmm0, %rax
movl %eax, 4(%r12)
movl %eax, 12(%r12)
jmp LBB0_8
LBB0_13: ## in Loop: Header=BB0_8 Depth=1
andl $7, %eax
cmpl $4, %eax
ja LBB0_8
## %bb.14: ## in Loop: Header=BB0_8 Depth=1
leaq LJTI0_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_15: ## in Loop: Header=BB0_8 Depth=1
movw $2500, 8(%r12) ## imm = 0x9C4
jmp LBB0_8
LBB0_21: ## in Loop: Header=BB0_8 Depth=1
orb $1, (%r12)
andb $-2, (%r12)
andb $-3, (%r12)
orb $2, (%r12)
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_22: ## Parent Loop BB0_8 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_23 Depth 3
## Child Loop BB0_25 Depth 3
movzwl 12(%r15), %eax
cmpl $9999, %eax ## imm = 0x270F
ja LBB0_24
.p2align 4, 0x90
LBB0_23: ## Parent Loop BB0_8 Depth=1
## Parent Loop BB0_22 Depth=2
## => This Inner Loop Header: Depth=3
movl $500, %edi ## imm = 0x1F4
callq _usleep
movzwl 12(%r15), %eax
cmpl $10000, %eax ## imm = 0x2710
jb LBB0_23
LBB0_24: ## in Loop: Header=BB0_22 Depth=2
movl $4, %eax
.p2align 4, 0x90
LBB0_25: ## Parent Loop BB0_8 Depth=1
## Parent Loop BB0_22 Depth=2
## => This Inner Loop Header: Depth=3
movq (%rbx), %rcx
movq %rcx, -65632(%rbp,%rax,8)
movq (%rbx), %rcx
movq %rcx, -65624(%rbp,%rax,8)
movq (%rbx), %rcx
movq %rcx, -65616(%rbp,%rax,8)
movq (%rbx), %rcx
movq %rcx, -65608(%rbp,%rax,8)
movq (%rbx), %rcx
movq %rcx, -65600(%rbp,%rax,8)
addq $5, %rax
cmpq $5004, %rax ## imm = 0x138C
jne LBB0_25
## %bb.26: ## in Loop: Header=BB0_22 Depth=2
movl $40000, %edx ## imm = 0x9C40
movl %r13d, %edi
movq %r14, %rsi
movl $524288, %ecx ## imm = 0x80000
callq _send
incl %r12d
cmpl $10, %r12d
jne LBB0_22
## %bb.27: ## in Loop: Header=BB0_8 Depth=1
movq -65624(%rbp), %r12 ## 8-byte Reload
orb $1, (%r12)
andb $-3, (%r12)
orb $1, 1(%r12)
jmp LBB0_8
LBB0_28: ## in Loop: Header=BB0_8 Depth=1
movl %r13d, %edi
callq _close
movl -65608(%rbp), %edi ## 4-byte Reload
xorl %esi, %esi
xorl %edx, %edx
callq _accept
movl %eax, %r13d
testl %eax, %eax
jns LBB0_8
jmp LBB0_29
LBB0_19: ## in Loop: Header=BB0_8 Depth=1
movw $25, 8(%r12)
jmp LBB0_8
LBB0_16: ## in Loop: Header=BB0_8 Depth=1
movw $1250, 8(%r12) ## imm = 0x4E2
jmp LBB0_8
LBB0_17: ## in Loop: Header=BB0_8 Depth=1
movw $250, 8(%r12)
jmp LBB0_8
LBB0_18: ## in Loop: Header=BB0_8 Depth=1
movw $125, 8(%r12)
jmp LBB0_8
LBB0_32:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
.long L0_0_set_11
.long L0_0_set_13
.long L0_0_set_20
.long L0_0_set_21
.set L0_1_set_15, LBB0_15-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_17, LBB0_17-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
LJTI0_1:
.long L0_1_set_15
.long L0_1_set_16
.long L0_1_set_17
.long L0_1_set_18
.long L0_1_set_19
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/dev/mem"
L_.str.1: ## @.str.1
.asciz "open"
L_.str.2: ## @.str.2
.asciz "socket"
L_.str.3: ## @.str.3
.asciz "bind"
L_.str.4: ## @.str.4
.asciz "accept"
.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
mov w9, #48
movk w9, #1, lsl #16
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #16, lsl #12 ; =65536
sub sp, sp, #48
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-112]
mov w8, #1
str w8, [sp, #8]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
mov w1, #2
bl _open
tbz w0, #31, LBB0_2
; %bb.1:
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_8
LBB0_2:
mov x22, x0
mov w0, #29
bl _sysconf
mov x1, x0
mov x0, #0
mov w2, #3
mov w3, #1
mov x4, x22
mov w5, #1073741824
bl _mmap
mov x19, x0
mov w0, #29
bl _sysconf
mov x1, x0
mov w23, #4096
movk w23, #16384, lsl #16
mov x0, #0
mov w2, #3
mov w3, #1
mov x4, x22
mov w5, #4096
movk w5, #16384, lsl #16
bl _mmap
mov x20, x0
mov w0, #29
bl _sysconf
lsl x1, x0, #4
mov x0, #0
mov w2, #3
mov w3, #1
mov x4, x22
mov w5, #1073807360
bl _mmap
mov x21, x0
mov w0, #29
bl _sysconf
lsl x1, x0, #1
add x5, x23, #1, lsl #12 ; =4096
mov x0, #0
mov w2, #3
mov w3, #1
mov x4, x22
bl _mmap
mov x22, x0
ldrb w8, [x20]
orr w8, w8, #0x1
strb w8, [x20]
ldrb w8, [x20]
and w8, w8, #0xfffffffd
strb w8, [x20]
ldrb w8, [x20, #1]
orr w8, w8, #0x1
strb w8, [x20, #1]
mov w8, #24117
movk w8, #2490, lsl #16
str w8, [x20, #4]
mov w9, #250
strh w9, [x20, #8]
str w8, [x20, #12]
mov w8, #16382
strh w8, [x20, #16]
mov w23, #2
mov w0, #2
mov w1, #1
mov w2, #0
bl _socket
tbz w0, #31, LBB0_4
; %bb.3:
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_8
LBB0_4:
mov x25, x0
sub x24, x29, #128
add x3, sp, #8
mov w1, #65535
mov w2, #4
mov w4, #4
bl _setsockopt
stp xzr, xzr, [x24]
strb w23, [x24, #1]
mov w8, #59651
strh w8, [x24, #2]
sub x1, x29, #128
mov x0, x25
mov w2, #16
bl _bind
tbz w0, #31, LBB0_6
; %bb.5:
Lloh11:
adrp x0, l_.str.3@PAGE
Lloh12:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_8
LBB0_6:
mov x0, x25
mov w1, #1024
bl _listen
str w25, [sp, #4] ; 4-byte Folded Spill
mov x0, x25
mov x1, #0
mov x2, #0
bl _accept
tbz w0, #31, LBB0_10
LBB0_7:
Lloh13:
adrp x0, l_.str.4@PAGE
Lloh14:
add x0, x0, l_.str.4@PAGEOFF
LBB0_8:
bl _perror
ldur x8, [x29, #-112]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_33
; %bb.9:
mov w0, #1
add sp, sp, #16, lsl #12 ; =65536
add sp, sp, #48
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
ldp d9, d8, [sp], #112 ; 16-byte Folded Reload
ret
LBB0_10:
mov x24, x0
Lloh18:
adrp x25, lJTI0_0@PAGE
Lloh19:
add x25, x25, lJTI0_0@PAGEOFF
fmov d8, #0.50000000
mov w23, #98
mov w27, #49
mov w26, #536870912
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
mov x0, x24
bl _close
ldr w0, [sp, #4] ; 4-byte Folded Reload
mov x1, #0
mov x2, #0
bl _accept
mov x24, x0
tbnz w0, #31, LBB0_7
LBB0_12: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
; Child Loop BB0_20 Depth 3
; Child Loop BB0_21 Depth 4
; Child Loop BB0_23 Depth 4
add x1, sp, #12
mov x0, x24
mov w2, #4
mov w3, #64
bl _recv
cmp x0, #1
b.ge LBB0_15
b LBB0_11
LBB0_13: ; in Loop: Header=BB0_15 Depth=2
ldrb w8, [x20, #1]
orr w8, w8, #0x1
strb w8, [x20, #1]
ldrb w8, [x20, #1]
and w8, w8, #0xfe
strb w8, [x20, #1]
str wzr, [x22]
str w23, [x22]
str w27, [x22]
str wzr, [x22]
mov w8, #268435456
str w8, [x22]
mov w8, #148
str w8, [x22]
mov w8, #74
str w8, [x22]
str wzr, [x22]
str w26, [x22]
str w23, [x22]
str w27, [x22]
str wzr, [x22]
LBB0_14: ; in Loop: Header=BB0_15 Depth=2
add x1, sp, #12
mov x0, x24
mov w2, #4
mov w3, #64
bl _recv
cmp x0, #0
b.le LBB0_11
LBB0_15: ; Parent Loop BB0_12 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_20 Depth 3
; Child Loop BB0_21 Depth 4
; Child Loop BB0_23 Depth 4
ldr w8, [sp, #12]
lsr w9, w8, #28
cmp w9, #3
b.hi LBB0_14
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
adr x10, LBB0_13
ldrb w11, [x25, x9]
add x10, x10, x11, lsl #2
br x10
LBB0_17: ; in Loop: Header=BB0_15 Depth=2
and w8, w8, #0xfffffff
mov w9, #34560
movk w9, #915, lsl #16
cmp w8, w9
b.hi LBB0_14
; %bb.18: ; in Loop: Header=BB0_15 Depth=2
ucvtf d0, w8
mov x8, #225833675390976
movk x8, #16797, lsl #48
fmov d1, x8
fdiv d0, d0, d1
mov x8, #4742290407621132288
fmov d1, x8
fmadd d0, d0, d1, d8
fcvtmu w8, d0
str w8, [x20, #4]
str w8, [x20, #12]
b LBB0_14
LBB0_19: ; in Loop: Header=BB0_15 Depth=2
mov w28, #0
ldrb w8, [x20]
orr w8, w8, #0x1
strb w8, [x20]
ldrb w8, [x20]
and w8, w8, #0xfe
strb w8, [x20]
ldrb w8, [x20]
and w8, w8, #0xfffffffd
strb w8, [x20]
ldrb w8, [x20]
orr w8, w8, #0x2
strb w8, [x20]
LBB0_20: ; Parent Loop BB0_12 Depth=1
; Parent Loop BB0_15 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_21 Depth 4
; Child Loop BB0_23 Depth 4
ldrh w8, [x19, #12]
lsr w8, w8, #4
cmp w8, #624
b.hi LBB0_22
LBB0_21: ; Parent Loop BB0_12 Depth=1
; Parent Loop BB0_15 Depth=2
; Parent Loop BB0_20 Depth=3
; => This Inner Loop Header: Depth=4
mov w0, #500
bl _usleep
ldrh w8, [x19, #12]
lsr w8, w8, #4
cmp w8, #625
b.lo LBB0_21
LBB0_22: ; in Loop: Header=BB0_20 Depth=3
add x8, sp, #16
mov w9, #5000
LBB0_23: ; Parent Loop BB0_12 Depth=1
; Parent Loop BB0_15 Depth=2
; Parent Loop BB0_20 Depth=3
; => This Inner Loop Header: Depth=4
ldr x10, [x21]
str x10, [x8], #8
subs x9, x9, #1
b.ne LBB0_23
; %bb.24: ; in Loop: Header=BB0_20 Depth=3
add x1, sp, #16
mov x0, x24
mov w2, #40000
mov w3, #524288
bl _send
add w28, w28, #1
cmp w28, #10
b.ne LBB0_20
; %bb.25: ; in Loop: Header=BB0_15 Depth=2
ldrb w8, [x20]
orr w8, w8, #0x1
strb w8, [x20]
ldrb w8, [x20]
and w8, w8, #0xfffffffd
strb w8, [x20]
ldrb w8, [x20, #1]
orr w8, w8, #0x1
strb w8, [x20, #1]
b LBB0_14
LBB0_26: ; in Loop: Header=BB0_15 Depth=2
and w8, w8, #0x7
cmp w8, #4
b.hi LBB0_14
; %bb.27: ; in Loop: Header=BB0_15 Depth=2
Lloh20:
adrp x11, lJTI0_1@PAGE
Lloh21:
add x11, x11, lJTI0_1@PAGEOFF
adr x9, LBB0_28
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_28: ; in Loop: Header=BB0_15 Depth=2
mov w8, #2500
strh w8, [x20, #8]
b LBB0_14
LBB0_29: ; in Loop: Header=BB0_15 Depth=2
mov w8, #250
strh w8, [x20, #8]
b LBB0_14
LBB0_30: ; in Loop: Header=BB0_15 Depth=2
mov w8, #25
strh w8, [x20, #8]
b LBB0_14
LBB0_31: ; in Loop: Header=BB0_15 Depth=2
mov w8, #1250
strh w8, [x20, #8]
b LBB0_14
LBB0_32: ; in Loop: Header=BB0_15 Depth=2
mov w8, #125
strh w8, [x20, #8]
b LBB0_14
LBB0_33:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_17-LBB0_13)>>2
.byte (LBB0_26-LBB0_13)>>2
.byte (LBB0_13-LBB0_13)>>2
.byte (LBB0_19-LBB0_13)>>2
lJTI0_1:
.byte (LBB0_28-LBB0_28)>>2
.byte (LBB0_31-LBB0_28)>>2
.byte (LBB0_29-LBB0_28)>>2
.byte (LBB0_32-LBB0_28)>>2
.byte (LBB0_30-LBB0_28)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/dev/mem"
l_.str.1: ; @.str.1
.asciz "open"
l_.str.2: ; @.str.2
.asciz "socket"
l_.str.3: ; @.str.3
.asciz "bind"
l_.str.4: ; @.str.4
.asciz "accept"
.subsections_via_symbols
| the_stack_data/52733.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wait_for_tasks
_wait_for_tasks: ## @wait_for_tasks
.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
xorl %eax, %eax
callq _get_nsecs
movl %eax, 48(%r12)
movl $0, (%r12)
leaq 44(%r12), %r14
movq %r14, %rdi
callq _pthread_mutex_unlock
cmpq $0, 8(%r12)
je LBB0_3
## %bb.1:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 32(%r12), %rax
movq (%rax,%rbx,8), %r15
addq $28, %r15
movq %r15, %rdi
callq _sem_wait
movq %rax, %rdi
callq _BUG_ON
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _sem_init
incq %rbx
cmpq 8(%r12), %rbx
jb LBB0_2
LBB0_3:
movq %r14, %rdi
callq _pthread_mutex_lock
movq %rax, %rdi
callq _BUG_ON
xorl %eax, %eax
callq _get_cpu_usage_nsec_parent
movl %eax, -44(%rbp) ## 4-byte Spill
leaq 40(%r12), %r14
movq %r14, %rdi
callq _pthread_mutex_unlock
cmpq $0, 8(%r12)
je LBB0_6
## %bb.4:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 32(%r12), %rax
movq (%rax,%rbx,8), %r15
leaq 24(%r15), %r13
movq %r13, %rdi
callq _sem_wait
movq %rax, %rdi
callq _BUG_ON
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _sem_init
movl 16(%r15), %eax
addl %eax, (%r12)
movq $0, 16(%r15)
incq %rbx
cmpq 8(%r12), %rbx
jb LBB0_5
LBB0_6:
xorl %eax, %eax
callq _get_cpu_usage_nsec_parent
movl (%r12), %ecx
movl 16(%r12), %edx
testl %edx, %edx
cmovel %ecx, %edx
leal (%rdx,%rdx,8), %edx
addl %ecx, %edx
movslq %edx, %rcx
imulq $1717986919, %rcx, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $34, %rcx
addl %edx, %ecx
movl %ecx, 16(%r12)
subl -44(%rbp), %eax ## 4-byte Folded Reload
movl %eax, 20(%r12)
movl 24(%r12), %ecx
testl %ecx, %ecx
cmovel %eax, %ecx
leal (%rcx,%rcx,8), %ecx
addl %eax, %ecx
movslq %ecx, %rax
imulq $1717986919, %rax, %rax ## imm = 0x66666667
movq %rax, %rcx
shrq $63, %rcx
sarq $34, %rax
addl %ecx, %eax
movl %eax, 24(%r12)
movq %r14, %rdi
callq _pthread_mutex_lock
movq %rax, %rdi
callq _BUG_ON
cmpq $0, 8(%r12)
je LBB0_9
## %bb.7:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq 32(%r12), %rax
movq (%rax,%rbx,8), %r14
leaq 8(%r14), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _sem_init
movq $0, (%r14)
incq %rbx
cmpq 8(%r12), %rbx
jb LBB0_8
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _wait_for_tasks
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wait_for_tasks
_wait_for_tasks: ; @wait_for_tasks
.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 _get_nsecs
str w0, [x19, #48]
str wzr, [x19]
add x20, x19, #44
mov x0, x20
bl _pthread_mutex_unlock
ldr x8, [x19, #8]
cbz x8, LBB0_3
; %bb.1:
mov x22, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #32]
ldr x8, [x8, x22, lsl #3]
add x21, x8, #28
mov x0, x21
bl _sem_wait
bl _BUG_ON
mov x0, x21
mov w1, #0
mov w2, #0
bl _sem_init
add x22, x22, #1
ldr x8, [x19, #8]
cmp x22, x8
b.lo LBB0_2
LBB0_3:
mov x0, x20
bl _pthread_mutex_lock
bl _BUG_ON
bl _get_cpu_usage_nsec_parent
mov x21, x0
add x20, x19, #40
mov x0, x20
bl _pthread_mutex_unlock
ldr x8, [x19, #8]
cbz x8, LBB0_6
; %bb.4:
mov x23, #0
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #32]
ldr x24, [x8, x23, lsl #3]
add x22, x24, #24
mov x0, x22
bl _sem_wait
bl _BUG_ON
mov x0, x22
mov w1, #0
mov w2, #0
bl _sem_init
ldr w8, [x24, #16]
ldr w9, [x19]
add w8, w9, w8
str w8, [x19]
str xzr, [x24, #16]
add x23, x23, #1
ldr x8, [x19, #8]
cmp x23, x8
b.lo LBB0_5
LBB0_6:
bl _get_cpu_usage_nsec_parent
ldr w8, [x19, #16]
ldr w9, [x19]
cmp w8, #0
csel w8, w9, w8, eq
add w8, w8, w8, lsl #3
add w8, w8, w9
mov w9, #26215
movk w9, #26214, lsl #16
smull x8, w8, w9
lsr x10, x8, #63
asr x8, x8, #34
add w8, w8, w10
sub w10, w0, w21
ldr w11, [x19, #24]
cmp w11, #0
csel w11, w10, w11, eq
add w11, w11, w11, lsl #3
add w11, w11, w10
stp w8, w10, [x19, #16]
smull x8, w11, w9
lsr x9, x8, #63
asr x8, x8, #34
add w8, w8, w9
str w8, [x19, #24]
mov x0, x20
bl _pthread_mutex_lock
bl _BUG_ON
ldr x8, [x19, #8]
cbz x8, LBB0_9
; %bb.7:
mov x20, #0
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #32]
ldr x21, [x8, x20, lsl #3]
add x0, x21, #8
mov w1, #0
mov w2, #0
bl _sem_init
str xzr, [x21]
add x20, x20, #1
ldr x8, [x19, #8]
cmp x20, x8
b.lo LBB0_8
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
.cfi_endproc
; -- End function
.no_dead_strip _wait_for_tasks
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-sched.c_wait_for_tasks.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _entry@GOTPCREL(%rip), %r15
movl $10000, %esi ## imm = 0x2710
movq %r15, %rdi
callq ___bzero
movq _check@GOTPCREL(%rip), %rdi
movl $10000, %esi ## imm = 0x2710
callq ___bzero
movq _prime@GOTPCREL(%rip), %rbx
movl $10001, %edx ## imm = 0x2711
movq %rbx, %rdi
movl $1, %esi
callq _memset
movw $0, (%rbx)
movl $2, %eax
movb $1, %cl
testb %cl, %cl
je LBB0_5
.p2align 4, 0x90
LBB0_2:
cmpq $5000, %rax ## imm = 0x1388
ja LBB0_5
## %bb.3:
leal (%rax,%rax), %ecx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl %ecx, %edx
movb $0, (%rbx,%rdx)
imull %eax, %ecx
cmpl $10001, %ecx ## imm = 0x2711
jb LBB0_4
LBB0_5: ## =>This Inner Loop Header: Depth=1
incq %rax
cmpq $10000, %rax ## imm = 0x2710
je LBB0_6
## %bb.19: ## in Loop: Header=BB0_5 Depth=1
movzbl (%rbx,%rax), %ecx
testb %cl, %cl
jne LBB0_2
jmp LBB0_5
LBB0_6:
leaq L_.str(%rip), %rdi
leaq -48(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -48(%rbp)
jle LBB0_10
## %bb.7:
leaq L_.str(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movslq -44(%rbp), %rax
movb $1, (%r15,%rax)
cmpl $2, -48(%rbp)
jl LBB0_10
## %bb.8:
movl $1, %r14d
leaq L_.str(%rip), %r12
leaq -44(%rbp), %r13
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
cmpb $0, 1(%rbx,%r14)
sete %al
movslq -44(%rbp), %rcx
orb $2, %al
movb %al, (%r15,%rcx)
movslq -48(%rbp), %rax
incq %r14
cmpq %rax, %r14
jl LBB0_9
LBB0_10:
leaq L_.str(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
subl $1, -44(%rbp)
jae LBB0_11
LBB0_18:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
leaq L_.str(%rip), %r12
leaq -52(%rbp), %r13
leaq L_.str.1(%rip), %rbx
leaq L_.str.2(%rip), %r14
jmp LBB0_12
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_12 Depth=1
callq _puts
LBB0_17: ## in Loop: Header=BB0_12 Depth=1
subl $1, -44(%rbp)
jb LBB0_18
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
movl -52(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movslq -52(%rbp), %rcx
movsbq (%r15,%rcx), %rax
movq %r14, %rdi
testq %rax, %rax
je LBB0_16
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movq _check@GOTPCREL(%rip), %rdx
cmpb $0, (%rdx,%rcx)
leaq L_.str.3(%rip), %rdi
jne LBB0_16
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movq _check@GOTPCREL(%rip), %rdx
movb $1, (%rdx,%rcx)
decq %rax
cmpl $2, %eax
ja LBB0_17
## %bb.15: ## in Loop: Header=BB0_12 Depth=1
leaq l_reltable.main(%rip), %rcx
movslq (%rcx,%rax,4), %rdi
addq %rcx, %rdi
jmp LBB0_16
.cfi_endproc
## -- End function
.comm _entry,10000,4 ## @entry
.comm _check,10000,4 ## @check
.comm _prime,10001,4 ## @prime
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%04d: "
L_.str.2: ## @.str.2
.asciz "Are you kidding?"
L_.str.3: ## @.str.3
.asciz "Checked"
L_.str.4: ## @.str.4
.asciz "Mystery Award"
L_.str.5: ## @.str.5
.asciz "Minion"
L_.str.6: ## @.str.6
.asciz "Chocolate"
.section __TEXT,__const
.p2align 2 ## @reltable.main
l_reltable.main:
.long L_.str.4-l_reltable.main
.long L_.str.5-l_reltable.main
.long L_.str.6-l_reltable.main
.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 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
Lloh0:
adrp x19, _entry@GOTPAGE
Lloh1:
ldr x19, [x19, _entry@GOTPAGEOFF]
mov w21, #10000
mov x0, x19
mov w1, #10000
bl _bzero
Lloh2:
adrp x20, _check@GOTPAGE
Lloh3:
ldr x20, [x20, _check@GOTPAGEOFF]
mov x0, x20
mov w1, #10000
bl _bzero
Lloh4:
adrp x22, _prime@GOTPAGE
Lloh5:
ldr x22, [x22, _prime@GOTPAGEOFF]
add x0, x22, #2
mov w23, #1
mov w1, #1
mov w2, #9999
bl _memset
strh wzr, [x22]
mov w8, #2
mov w9, #5000
mov w10, #10001
cbz w23, LBB0_4
LBB0_1:
cmp x8, x9
b.hi LBB0_4
; %bb.2:
lsl w11, w8, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
strb wzr, [x22, w11, uxtw]
mul w11, w11, w8
cmp w11, w10
b.lo LBB0_3
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x8, x8, #1
cmp x8, x21
b.eq LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldrb w23, [x22, x8]
cbnz w23, LBB0_1
b LBB0_4
LBB0_6:
add x8, sp, #28
str x8, [sp]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #28]
cmp w8, #1
b.lt LBB0_10
; %bb.7:
add x23, sp, #24
str x23, [sp]
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldrsw x8, [sp, #24]
mov w9, #1
strb w9, [x19, x8]
ldr w8, [sp, #28]
cmp w8, #2
b.lt LBB0_10
; %bb.8:
mov w24, #2
Lloh10:
adrp x21, l_.str@PAGE
Lloh11:
add x21, x21, l_.str@PAGEOFF
mov w25, #2
LBB0_9: ; =>This Inner Loop Header: Depth=1
str x23, [sp]
mov x0, x21
bl _scanf
ldrb w8, [x22, x25]
ldrsw x9, [sp, #24]
cmp w8, #0
cinc w8, w24, eq
strb w8, [x19, x9]
add x8, x25, #1
ldrsw x9, [sp, #28]
cmp x25, x9
mov x25, x8
b.lt LBB0_9
LBB0_10:
add x8, sp, #24
str x8, [sp]
Lloh12:
adrp x0, l_.str@PAGE
Lloh13:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #24]
sub w9, w8, #1
str w9, [sp, #24]
cbz w8, LBB0_19
; %bb.11:
Lloh14:
adrp x21, l_.str@PAGE
Lloh15:
add x21, x21, l_.str@PAGEOFF
Lloh16:
adrp x22, l_.str.1@PAGE
Lloh17:
add x22, x22, l_.str.1@PAGEOFF
Lloh18:
adrp x23, l_.str.2@PAGE
Lloh19:
add x23, x23, l_.str.2@PAGEOFF
add x24, sp, #20
Lloh20:
adrp x25, l_.str.3@PAGE
Lloh21:
add x25, x25, l_.str.3@PAGEOFF
mov w26, #1
Lloh22:
adrp x27, l_switch.table.main@PAGE
Lloh23:
add x27, x27, l_switch.table.main@PAGEOFF
b LBB0_15
LBB0_12: ; in Loop: Header=BB0_15 Depth=1
mov x0, x23
LBB0_13: ; in Loop: Header=BB0_15 Depth=1
bl _puts
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
ldr w8, [sp, #24]
sub w9, w8, #1
str w9, [sp, #24]
cbz w8, LBB0_19
LBB0_15: ; =>This Inner Loop Header: Depth=1
str x24, [sp]
mov x0, x21
bl _scanf
ldr w8, [sp, #20]
str x8, [sp]
mov x0, x22
bl _printf
ldrsw x8, [sp, #20]
ldrsb w9, [x19, x8]
cbz w9, LBB0_12
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
ldrb w10, [x20, x8]
mov x0, x25
cbnz w10, LBB0_13
; %bb.17: ; in Loop: Header=BB0_15 Depth=1
strb w26, [x20, x8]
sub w8, w9, #1
cmp w8, #2
b.hi LBB0_14
; %bb.18: ; in Loop: Header=BB0_15 Depth=1
ldr x0, [x27, w8, sxtw #3]
b LBB0_13
LBB0_19:
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 AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _entry,10000,0 ; @entry
.comm _check,10000,0 ; @check
.comm _prime,10001,0 ; @prime
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%04d: "
l_.str.2: ; @.str.2
.asciz "Are you kidding?"
l_.str.3: ; @.str.3
.asciz "Checked"
l_.str.4: ; @.str.4
.asciz "Mystery Award"
l_.str.5: ; @.str.5
.asciz "Minion"
l_.str.6: ; @.str.6
.asciz "Chocolate"
.section __DATA,__const
.p2align 3 ; @switch.table.main
l_switch.table.main:
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.subsections_via_symbols
| the_stack_data/86076565.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ravb_rx
_ravb_rx: ## @ravb_rx
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, -88(%rbp) ## 8-byte Spill
callq _netdev_priv
movq %rax, %rbx
movslq %r15d, %r12
movq (%rax), %rax
movq 8(%rbx), %rdx
movl (%rax,%r12,4), %ecx
movl (%rdx,%r12,4), %edi
movl %ecx, %eax
cltd
idivl %edi
movl %edx, %r15d
movq 16(%rbx), %rax
subl %ecx, %edi
addl (%rax,%r12,4), %edi
movq 64(%rbx), %r13
movq %r14, -120(%rbp) ## 8-byte Spill
movl (%r14), %esi
callq _min
movq %rbx, -72(%rbp) ## 8-byte Spill
movq 48(%rbx), %rdx
movl %r15d, -56(%rbp) ## 4-byte Spill
movslq %r15d, %rcx
leaq (%rcx,%rcx,4), %r15
shlq $3, %r15
addq (%rdx,%r12,8), %r15
movq %r12, -64(%rbp) ## 8-byte Spill
movq %r12, %rcx
shlq $5, %rcx
leaq (%rcx,%r13), %rdx
addq $28, %rdx
movq %rdx, -80(%rbp) ## 8-byte Spill
leaq (%r13,%rcx), %rdx
movq %rdx, -96(%rbp) ## 8-byte Spill
leaq 8(%r13,%rcx), %rcx
movq %rcx, -104(%rbp) ## 8-byte Spill
movq _DT_FEMPTY@GOTPCREL(%rip), %r14
movl %eax, -112(%rbp) ## 4-byte Spill
movl %eax, %r13d
movl %eax, %edi
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %edi, -44(%rbp) ## 4-byte Spill
movq (%r15), %rax
cmpq (%r14), %rax
je LBB0_22
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
callq _dma_rmb
movl 8(%r15), %ebx
movq 16(%r15), %rdi
callq _le16_to_cpu
movl -44(%rbp), %edi ## 4-byte Reload
testl %edi, %edi
jle LBB0_21
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl %eax, %r12d
decl %edi
movq _RX_DS@GOTPCREL(%rip), %rax
andl (%rax), %r12d
je LBB0_1
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq _MSC_MC@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
incl (%rax)
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq _MSC_RFE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _MSC_CRC@GOTPCREL(%rip), %rdx
orl (%rdx), %eax
movq _MSC_RTSF@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _MSC_RTLF@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _MSC_CEEF@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
testl %ebx, %eax
je LBB0_14
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %rcx ## 8-byte Reload
incl -4(%rcx)
testl %ebx, (%rdx)
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
incl -8(%rcx)
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movq _MSC_RFE@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
movq -64(%rbp), %rsi ## 8-byte Reload
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
incl -12(%rcx)
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movq _MSC_RTSF@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _MSC_RTLF@GOTPCREL(%rip), %rdx
orl (%rdx), %eax
testl %ebx, %eax
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
incl -16(%rcx)
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movl $1, %r12d
movq -104(%rbp), %rax ## 8-byte Reload
movq _MSC_CEEF@GOTPCREL(%rip), %rcx
testl %ebx, (%rcx)
movq -72(%rbp), %rbx ## 8-byte Reload
jne LBB0_19
jmp LBB0_20
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movl %edi, -44(%rbp) ## 4-byte Spill
movq _RAVB_RXTSTAMP_TYPE@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq -72(%rbp), %rbx ## 8-byte Reload
andl 24(%rbx), %r14d
movq 32(%rbx), %rax
movq -64(%rbp), %r13 ## 8-byte Reload
movq (%rax,%r13,8), %rax
movslq -56(%rbp), %rcx ## 4-byte Folded Reload
movq (%rax,%rcx,8), %rdx
movq %rdx, -56(%rbp) ## 8-byte Spill
movq $0, (%rax,%rcx,8)
movq -88(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %eax
movl %eax, -108(%rbp) ## 4-byte Spill
movl 12(%r15), %edi
callq _le32_to_cpu
movq 40(%rbx), %rdx
movq _DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl -108(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _dma_unmap_single
xorl %eax, %eax
movq _RAVB_NC@GOTPCREL(%rip), %rcx
cmpl %r13d, (%rcx)
movq -56(%rbp), %r13 ## 8-byte Reload
setne %al
negl %eax
movq _RAVB_RXTSTAMP_TYPE_V2_L2_EVENT@GOTPCREL(%rip), %rcx
xorl (%rcx), %eax
testl %eax, %r14d
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
movq %r13, %rdi
callq _skb_hwtstamps
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
movq 32(%r15), %rdi
callq _le16_to_cpu
movl 28(%r15), %edi
callq _le32_to_cpu
movl 24(%r15), %edi
callq _le32_to_cpu
callq _timespec64_to_ktime
movl %eax, (%rbx)
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movq %r13, %rdi
movl %r12d, %esi
callq _skb_put
movq %r13, %rdi
movq -88(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rsi
callq _eth_type_trans
movl %eax, 4(%r13)
movq _NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
movq _DT_FEMPTY@GOTPCREL(%rip), %r14
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movq %r13, %rdi
callq _ravb_rx_csum
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %r15 ## 8-byte Reload
leaq (,%r15,4), %rdi
movq -72(%rbp), %rbx ## 8-byte Reload
addq 56(%rbx), %rdi
movq %r13, %rsi
callq _napi_gro_receive
movq %r15, %rsi
movq -80(%rbp), %rax ## 8-byte Reload
incl -24(%rax)
movq -96(%rbp), %rax ## 8-byte Reload
movl -44(%rbp), %edi ## 4-byte Reload
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
addl %r12d, (%rax)
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
movq (%rbx), %rcx
movl (%rcx,%rsi,4), %eax
incl %eax
movl %eax, (%rcx,%rsi,4)
movq 8(%rbx), %rcx
movq 48(%rbx), %rbx
cltd
idivl (%rcx,%rsi,4)
movl %edx, -56(%rbp) ## 4-byte Spill
movslq %edx, %rax
leaq (%rax,%rax,4), %r15
shlq $3, %r15
addq (%rbx,%rsi,8), %r15
movl %edi, %r13d
jmp LBB0_1
LBB0_21:
movl %r13d, %eax
sarl $31, %eax
andl %r13d, %eax
decl %eax
movl %eax, -44(%rbp) ## 4-byte Spill
LBB0_22:
movq -72(%rbp), %rbx ## 8-byte Reload
movq (%rbx), %rcx
movq 16(%rbx), %rax
movq -64(%rbp), %r14 ## 8-byte Reload
movl (%rax,%r14,4), %eax
jmp LBB0_23
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_23 Depth=1
movl %r15d, %edi
callq _cpu_to_le32
movl %eax, 12(%r12,%r13,8)
movq -72(%rbp), %rcx ## 8-byte Reload
movq 32(%rcx), %rax
movq -64(%rbp), %r14 ## 8-byte Reload
movq (%rax,%r14,8), %rax
movq -80(%rbp), %rdx ## 8-byte Reload
movq %rbx, (%rax,%rdx,8)
movq %rcx, %rbx
LBB0_29: ## in Loop: Header=BB0_23 Depth=1
xorl %eax, %eax
callq _dma_wmb
movq _DT_FEMPTY@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r12,%r13,8)
movq 16(%rbx), %rcx
movl (%rcx,%r14,4), %eax
incl %eax
movl %eax, (%rcx,%r14,4)
movq (%rbx), %rcx
LBB0_23: ## =>This Inner Loop Header: Depth=1
cmpl %eax, (%rcx,%r14,4)
jle LBB0_30
## %bb.24: ## in Loop: Header=BB0_23 Depth=1
movq 8(%rbx), %rcx
movq 40(%rbx), %rdi
cltd
idivl (%rcx,%r14,4)
movq 48(%rbx), %rax
movq (%rax,%r14,8), %r15
movslq %edx, %r12
callq _cpu_to_le16
leaq (%r12,%r12,4), %r13
movq %rax, 16(%r15,%r13,8)
movq 32(%rbx), %rax
movq (%rax,%r14,8), %rax
cmpq $0, (%rax,%r12,8)
movq %r12, %rax
movq %r15, %r12
jne LBB0_29
## %bb.25: ## in Loop: Header=BB0_23 Depth=1
movq %rax, -80(%rbp) ## 8-byte Spill
movq 40(%rbx), %rax
movq _RAVB_ALIGN@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leaq (%rax,%rcx), %rsi
decq %rsi
movq -88(%rbp), %rdi ## 8-byte Reload
callq _netdev_alloc_skb
testq %rax, %rax
je LBB0_30
## %bb.26: ## in Loop: Header=BB0_23 Depth=1
movq %rax, %rbx
leaq (%r12,%r13,8), %r15
addq $16, %r15
movq %rax, %rdi
callq _ravb_set_buffer_align
movq -88(%rbp), %r14 ## 8-byte Reload
movl 4(%r14), %ecx
movl %ecx, -56(%rbp) ## 4-byte Spill
movl (%rbx), %eax
movl %eax, -104(%rbp) ## 4-byte Spill
movq %r15, -96(%rbp) ## 8-byte Spill
movq (%r15), %rdi
callq _le16_to_cpu
movq _DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl -56(%rbp), %edi ## 4-byte Reload
movl -104(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
callq _dma_map_single
movl %eax, %r15d
movq %rbx, %rdi
callq _skb_checksum_none_assert
movl 4(%r14), %edi
movl %r15d, %esi
callq _dma_mapping_error
testq %rax, %rax
je LBB0_28
## %bb.27: ## in Loop: Header=BB0_23 Depth=1
xorl %edi, %edi
callq _cpu_to_le16
movq -96(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
jmp LBB0_28
LBB0_30:
movq -120(%rbp), %rdx ## 8-byte Reload
movl (%rdx), %esi
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, %ecx
subl -112(%rbp), %ecx ## 4-byte Folded Reload
addl %esi, %ecx
incl %ecx
movl %ecx, (%rdx)
shrl $31, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DT_FEMPTY,8,3 ## @DT_FEMPTY
.comm _RX_DS,4,2 ## @RX_DS
.comm _MSC_MC,4,2 ## @MSC_MC
.comm _MSC_CRC,4,2 ## @MSC_CRC
.comm _MSC_RFE,4,2 ## @MSC_RFE
.comm _MSC_RTSF,4,2 ## @MSC_RTSF
.comm _MSC_RTLF,4,2 ## @MSC_RTLF
.comm _MSC_CEEF,4,2 ## @MSC_CEEF
.comm _RAVB_RXTSTAMP_TYPE,4,2 ## @RAVB_RXTSTAMP_TYPE
.comm _DMA_FROM_DEVICE,4,2 ## @DMA_FROM_DEVICE
.comm _RAVB_NC,4,2 ## @RAVB_NC
.comm _RAVB_RXTSTAMP_TYPE_V2_L2_EVENT,4,2 ## @RAVB_RXTSTAMP_TYPE_V2_L2_EVENT
.comm _NETIF_F_RXCSUM,4,2 ## @NETIF_F_RXCSUM
.comm _RAVB_ALIGN,8,3 ## @RAVB_ALIGN
.no_dead_strip _ravb_rx
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ravb_rx
_ravb_rx: ; @ravb_rx
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x28, x27, [sp, #96] ; 16-byte Folded Spill
stp x26, x25, [sp, #112] ; 16-byte Folded Spill
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x24, x2
mov x19, x1
str x0, [sp, #88] ; 8-byte Folded Spill
bl _netdev_priv
mov x21, x0
sbfiz x8, x24, #2, #32
ldp x9, x10, [x0]
ldr w9, [x9, x8]
sxtw x22, w24
ldr w10, [x10, x8]
sdiv w11, w9, w10
msub w23, w11, w10, w9
ldr x11, [x0, #16]
ldr w8, [x11, x8]
sub w9, w10, w9
add w0, w9, w8
ldr x20, [x21, #64]
str x19, [sp, #64] ; 8-byte Folded Spill
ldr w1, [x19]
bl _min
ldr x8, [x21, #48]
str x24, [sp, #8] ; 8-byte Folded Spill
ldr x8, [x8, w24, sxtw #3]
mov w9, #40
smaddl x26, w23, w9, x8
Lloh0:
adrp x28, _DT_FEMPTY@GOTPAGE
Lloh1:
ldr x28, [x28, _DT_FEMPTY@GOTPAGEOFF]
Lloh2:
adrp x19, _RX_DS@GOTPAGE
Lloh3:
ldr x19, [x19, _RX_DS@GOTPAGEOFF]
add x25, x20, x22, lsl #5
add x8, x25, #28
stp x8, x22, [sp, #72] ; 16-byte Folded Spill
add x9, x25, #24
add x8, x25, #20
stp x8, x9, [sp, #40] ; 16-byte Folded Spill
add x9, x25, #16
add x8, x25, #12
stp x8, x9, [sp, #24] ; 16-byte Folded Spill
add x8, x25, #8
str x8, [sp, #16] ; 8-byte Folded Spill
add x8, x25, #4
str x8, [sp] ; 8-byte Folded Spill
str w0, [sp, #60] ; 4-byte Folded Spill
mov x27, x0
mov x22, x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x26]
ldr x9, [x28]
cmp x8, x9
b.eq LBB0_23
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
bl _dma_rmb
ldr w20, [x26, #8]
ldr x0, [x26, #16]
bl _le16_to_cpu
subs w22, w22, #1
b.lt LBB0_22
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x19]
ands w24, w8, w0
b.eq LBB0_1
; %bb.4: ; in Loop: Header=BB0_1 Depth=1
Lloh4:
adrp x8, _MSC_MC@GOTPAGE
Lloh5:
ldr x8, [x8, _MSC_MC@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
tst w8, w20
b.eq LBB0_6
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
Lloh7:
adrp x10, _MSC_CRC@GOTPAGE
Lloh8:
ldr x10, [x10, _MSC_CRC@GOTPAGEOFF]
ldr w8, [x10]
Lloh9:
adrp x9, _MSC_RFE@GOTPAGE
Lloh10:
ldr x9, [x9, _MSC_RFE@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
orr w8, w9, w8
Lloh12:
adrp x9, _MSC_RTSF@GOTPAGE
Lloh13:
ldr x9, [x9, _MSC_RTSF@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
orr w8, w8, w9
Lloh15:
adrp x9, _MSC_RTLF@GOTPAGE
Lloh16:
ldr x9, [x9, _MSC_RTLF@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
orr w8, w8, w9
Lloh18:
adrp x9, _MSC_CEEF@GOTPAGE
Lloh19:
ldr x9, [x9, _MSC_CEEF@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
orr w8, w8, w9
tst w8, w20
b.eq LBB0_15
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldr w8, [x10]
tst w8, w20
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
Lloh21:
adrp x8, _MSC_RFE@GOTPAGE
Lloh22:
ldr x8, [x8, _MSC_RFE@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
tst w8, w20
ldr x26, [sp, #80] ; 8-byte Folded Reload
b.eq LBB0_11
; %bb.10: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
Lloh24:
adrp x8, _MSC_RTLF@GOTPAGE
Lloh25:
ldr x8, [x8, _MSC_RTLF@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
Lloh27:
adrp x9, _MSC_RTSF@GOTPAGE
Lloh28:
ldr x9, [x9, _MSC_RTSF@GOTPAGEOFF]
Lloh29:
ldr w9, [x9]
orr w8, w9, w8
tst w8, w20
b.eq LBB0_13
; %bb.12: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
Lloh30:
adrp x8, _MSC_CEEF@GOTPAGE
Lloh31:
ldr x8, [x8, _MSC_CEEF@GOTPAGEOFF]
Lloh32:
ldr w8, [x8]
tst w8, w20
b.eq LBB0_21
; %bb.14: ; in Loop: Header=BB0_1 Depth=1
mov w24, #1
ldr x8, [sp, #16] ; 8-byte Folded Reload
b LBB0_20
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x21, #24]
Lloh33:
adrp x9, _RAVB_RXTSTAMP_TYPE@GOTPAGE
Lloh34:
ldr x9, [x9, _RAVB_RXTSTAMP_TYPE@GOTPAGEOFF]
Lloh35:
ldr w9, [x9]
and w20, w9, w8
ldr x8, [x21, #32]
ldr x9, [sp, #80] ; 8-byte Folded Reload
ldr x8, [x8, x9, lsl #3]
sbfiz x9, x23, #3, #32
ldr x23, [x8, x9]
str xzr, [x8, x9]
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr w27, [x8, #4]
ldr w0, [x26, #12]
bl _le32_to_cpu
mov x1, x0
ldr x2, [x21, #40]
Lloh36:
adrp x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh37:
ldr x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh38:
ldr w3, [x8]
mov x0, x27
bl _dma_unmap_single
Lloh39:
adrp x8, _RAVB_NC@GOTPAGE
Lloh40:
ldr x8, [x8, _RAVB_NC@GOTPAGEOFF]
Lloh41:
ldr w8, [x8]
Lloh42:
adrp x9, _RAVB_RXTSTAMP_TYPE_V2_L2_EVENT@GOTPAGE
Lloh43:
ldr x9, [x9, _RAVB_RXTSTAMP_TYPE_V2_L2_EVENT@GOTPAGEOFF]
Lloh44:
ldr w9, [x9]
ldr x10, [sp, #8] ; 8-byte Folded Reload
cmp w8, w10
cinv w8, w9, ne
tst w20, w8
b.eq LBB0_17
; %bb.16: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
bl _skb_hwtstamps
mov x20, x0
mov w1, #0
mov w2, #4
bl _memset
ldr x0, [x26, #32]
bl _le16_to_cpu
ldr w0, [x26, #28]
bl _le32_to_cpu
ldr w0, [x26, #24]
bl _le32_to_cpu
bl _timespec64_to_ktime
str w0, [x20]
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
mov x1, x24
bl _skb_put
mov x0, x23
ldr x20, [sp, #88] ; 8-byte Folded Reload
mov x1, x20
bl _eth_type_trans
str w0, [x23, #4]
ldr w8, [x20]
Lloh45:
adrp x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh46:
ldr x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh47:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_19
; %bb.18: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
bl _ravb_rx_csum
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x21, #56]
ldr x26, [sp, #80] ; 8-byte Folded Reload
add x0, x8, x26, lsl #2
mov x1, x23
bl _napi_gro_receive
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
mov x8, x25
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [x8]
add w9, w9, w24
str w9, [x8]
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
lsl x8, x26, #2
ldp x9, x10, [x21]
ldr w11, [x9, x8]
add w11, w11, #1
str w11, [x9, x8]
ldr w8, [x10, x8]
sdiv w9, w11, w8
msub w23, w9, w8, w11
ldr x8, [x21, #48]
ldr x8, [x8, x26, lsl #3]
mov w9, #40
smaddl x26, w23, w9, x8
mov x27, x22
b LBB0_1
LBB0_22:
cmp w27, #0
csel w8, w27, wzr, lt
sub w22, w8, #1
LBB0_23:
ldr x8, [x21]
ldr x24, [sp, #80] ; 8-byte Folded Reload
lsl x19, x24, #2
ldr w9, [x8, x19]
ldr x8, [x21, #16]
ldr w8, [x8, x19]
cmp w9, w8
b.le LBB0_31
; %bb.24:
lsl x25, x24, #3
mov w26, #40
str x25, [sp, #72] ; 8-byte Folded Spill
b LBB0_27
LBB0_25: ; in Loop: Header=BB0_27 Depth=1
mov x0, x24
bl _cpu_to_le32
mov w26, #40
madd x8, x27, x26, x28
str w0, [x8, #12]
ldr x8, [x21, #32]
ldp x25, x24, [sp, #72] ; 16-byte Folded Reload
ldr x8, [x8, x24, lsl #3]
str x23, [x8, x27, lsl #3]
LBB0_26: ; in Loop: Header=BB0_27 Depth=1
bl _dma_wmb
Lloh48:
adrp x8, _DT_FEMPTY@GOTPAGE
Lloh49:
ldr x8, [x8, _DT_FEMPTY@GOTPAGEOFF]
Lloh50:
ldr x8, [x8]
mul x9, x27, x26
str x8, [x28, x9]
ldr x9, [x21, #16]
ldr w8, [x9, x19]
add w8, w8, #1
str w8, [x9, x19]
ldr x9, [x21]
ldr w9, [x9, x19]
cmp w9, w8
b.le LBB0_31
LBB0_27: ; =>This Inner Loop Header: Depth=1
ldr x9, [x21, #8]
ldr w9, [x9, x24, lsl #2]
sdiv w10, w8, w9
msub w23, w10, w9, w8
ldp x0, x8, [x21, #40]
ldr x28, [x8, x25]
sxtw x27, w23
bl _cpu_to_le16
smaddl x20, w23, w26, x28
str x0, [x20, #16]!
ldr x8, [x21, #32]
ldr x8, [x8, x25]
ldr x8, [x8, w23, sxtw #3]
cbnz x8, LBB0_26
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
ldr x8, [x21, #40]
Lloh51:
adrp x9, _RAVB_ALIGN@GOTPAGE
Lloh52:
ldr x9, [x9, _RAVB_ALIGN@GOTPAGEOFF]
Lloh53:
ldr x9, [x9]
add x8, x8, x9
sub x1, x8, #1
ldr x0, [sp, #88] ; 8-byte Folded Reload
bl _netdev_alloc_skb
cbz x0, LBB0_31
; %bb.29: ; in Loop: Header=BB0_27 Depth=1
mov x23, x0
bl _ravb_set_buffer_align
ldr x26, [sp, #88] ; 8-byte Folded Reload
ldr w24, [x26, #4]
ldr w25, [x23]
ldr x0, [x20]
bl _le16_to_cpu
mov x2, x0
Lloh54:
adrp x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh55:
ldr x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh56:
ldr w3, [x8]
mov x0, x24
mov x1, x25
bl _dma_map_single
mov x24, x0
mov x0, x23
bl _skb_checksum_none_assert
ldr w0, [x26, #4]
mov x1, x24
bl _dma_mapping_error
cbz x0, LBB0_25
; %bb.30: ; in Loop: Header=BB0_27 Depth=1
mov x0, #0
bl _cpu_to_le16
str x0, [x20]
b LBB0_25
LBB0_31:
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldr w8, [x10]
ldr w9, [sp, #60] ; 4-byte Folded Reload
sub w9, w22, w9
add w8, w9, w8
add w8, w8, #1
str w8, [x10]
lsr w0, w22, #31
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
ldp x26, x25, [sp, #112] ; 16-byte Folded Reload
ldp x28, x27, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #192
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.cfi_endproc
; -- End function
.comm _DT_FEMPTY,8,3 ; @DT_FEMPTY
.comm _RX_DS,4,2 ; @RX_DS
.comm _MSC_MC,4,2 ; @MSC_MC
.comm _MSC_CRC,4,2 ; @MSC_CRC
.comm _MSC_RFE,4,2 ; @MSC_RFE
.comm _MSC_RTSF,4,2 ; @MSC_RTSF
.comm _MSC_RTLF,4,2 ; @MSC_RTLF
.comm _MSC_CEEF,4,2 ; @MSC_CEEF
.comm _RAVB_RXTSTAMP_TYPE,4,2 ; @RAVB_RXTSTAMP_TYPE
.comm _DMA_FROM_DEVICE,4,2 ; @DMA_FROM_DEVICE
.comm _RAVB_NC,4,2 ; @RAVB_NC
.comm _RAVB_RXTSTAMP_TYPE_V2_L2_EVENT,4,2 ; @RAVB_RXTSTAMP_TYPE_V2_L2_EVENT
.comm _NETIF_F_RXCSUM,4,2 ; @NETIF_F_RXCSUM
.comm _RAVB_ALIGN,8,3 ; @RAVB_ALIGN
.no_dead_strip _ravb_rx
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_rx.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ZSTD_copyCCtx_internal
_ZSTD_copyCCtx_internal: ## @ZSTD_copyCCtx_internal
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r15d
movl %ecx, %r12d
movl %edx, %ebx
movq %rsi, %r13
movq %rdi, %r14
leaq L_.str(%rip), %rsi
movl $5, %edi
callq _DEBUGLOG
movq (%r13), %rax
movq _ZSTDcs_init@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_5
## %bb.1:
leaq 144(%r14), %rdi
leaq 144(%r13), %rsi
movl $4, %edx
callq _memcpy
movq 104(%r14), %rax
movq %rax, -80(%rbp)
movups 72(%r13), %xmm0
movups 88(%r13), %xmm1
movups %xmm0, -72(%rbp)
movups %xmm1, -56(%rbp)
movl %ebx, -80(%rbp)
movq _ZSTDcrp_noMemset@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -48(%rbp), %rax
movq %rax, 32(%rsp)
movups -80(%rbp), %xmm0
movups -64(%rbp), %xmm1
movups %xmm1, 16(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
movl %r12d, %esi
movl %r15d, %ecx
callq _ZSTD_resetCCtx_internal
movq 72(%r14), %rax
xorl %edi, %edi
cmpq 72(%r13), %rax
sete %dil
callq _assert
movq 80(%r14), %rax
xorl %edi, %edi
cmpq 80(%r13), %rax
sete %dil
callq _assert
movq 88(%r14), %rax
xorl %edi, %edi
cmpq 88(%r13), %rax
sete %dil
callq _assert
movq 96(%r14), %rax
xorl %edi, %edi
cmpq 96(%r13), %rax
sete %dil
callq _assert
movq 16(%r14), %rax
xorl %edi, %edi
cmpq 16(%r13), %rax
sete %dil
callq _assert
movq 80(%r13), %rax
movq _ZSTD_fast@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.2:
xorl %r15d, %r15d
jmp LBB0_4
LBB0_5:
movq _stage_wrong@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERROR ## TAILCALL
LBB0_3:
movb 96(%r13), %cl
movl $1, %r15d
shlq %cl, %r15
LBB0_4:
movb 16(%r13), %al
movb 88(%r13), %cl
movl $1, %edx
shlq %cl, %rdx
movl $1, %ebx
movl %eax, %ecx
shlq %cl, %rbx
addq %rdx, %rbx
addq %r15, %rbx
shlq $2, %rbx
shlq $2, %rdx
addq 40(%r14), %rdx
xorl %edi, %edi
cmpq 48(%r14), %rdx
sete %dil
callq _assert
shlq $2, %r15
addq 48(%r14), %r15
xorl %edi, %edi
cmpq 56(%r14), %r15
sete %dil
callq _assert
movq 40(%r14), %rdi
movq 40(%r13), %rsi
movq %rbx, %rdx
callq _memcpy
movups 24(%r13), %xmm0
movups %xmm0, 24(%r14)
movl 64(%r13), %eax
movl %eax, 64(%r14)
movq 8(%r14), %rdi
movq 8(%r13), %rsi
movl $4, %edx
callq _memcpy
xorl %eax, %eax
addq $88, %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 "ZSTD_copyCCtx_internal"
.comm _ZSTDcs_init,8,3 ## @ZSTDcs_init
.comm _stage_wrong,4,2 ## @stage_wrong
.comm _ZSTDcrp_noMemset,4,2 ## @ZSTDcrp_noMemset
.comm _ZSTD_fast,8,3 ## @ZSTD_fast
.no_dead_strip _ZSTD_copyCCtx_internal
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ZSTD_copyCCtx_internal
_ZSTD_copyCCtx_internal: ; @ZSTD_copyCCtx_internal
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
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
mov x21, x4
mov x22, x3
mov x23, x2
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov w0, #5
bl _DEBUGLOG
ldr x8, [x19]
Lloh5:
adrp x9, _ZSTDcs_init@GOTPAGE
Lloh6:
ldr x9, [x9, _ZSTDcs_init@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.1:
add x0, x20, #144
add x1, x19, #144
mov w2, #4
bl _memcpy
ldr w8, [x20, #108]
str w8, [sp, #52]
ldur q0, [x19, #88]
stur q0, [sp, #72]
ldur q0, [x19, #72]
stur q0, [sp, #56]
Lloh8:
adrp x8, _ZSTDcrp_noMemset@GOTPAGE
Lloh9:
ldr x8, [x8, _ZSTDcrp_noMemset@GOTPAGEOFF]
ldur q0, [sp, #52]
ldur q1, [sp, #68]
stur q0, [sp, #12]
Lloh10:
ldr w3, [x8]
str w23, [sp, #8]
stur q1, [sp, #28]
ldr w8, [sp, #84]
str w8, [sp, #44]
add x1, sp, #8
mov x0, x20
mov x2, x22
mov x4, x21
bl _ZSTD_resetCCtx_internal
ldr x8, [x20, #72]
ldr x9, [x19, #72]
cmp x8, x9
cset w0, eq
bl _assert
ldr x8, [x20, #80]
ldr x9, [x19, #80]
cmp x8, x9
cset w0, eq
bl _assert
ldr x8, [x20, #88]
ldr x9, [x19, #88]
cmp x8, x9
cset w0, eq
bl _assert
ldr x8, [x20, #96]
ldr x9, [x19, #96]
cmp x8, x9
cset w0, eq
bl _assert
ldr x8, [x20, #16]
ldr x9, [x19, #16]
cmp x8, x9
cset w0, eq
bl _assert
ldr x8, [x19, #80]
Lloh11:
adrp x9, _ZSTD_fast@GOTPAGE
Lloh12:
ldr x9, [x9, _ZSTD_fast@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
; %bb.2:
mov x22, #0
b LBB0_6
LBB0_3:
Lloh14:
adrp x8, _stage_wrong@GOTPAGE
Lloh15:
ldr x8, [x8, _stage_wrong@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
ldur x8, [x29, #-56]
Lloh17:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_8
; %bb.4:
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
add sp, sp, #160
b _ERROR
LBB0_5:
ldr x8, [x19, #96]
mov w9, #1
lsl x22, x9, x8
LBB0_6:
ldr x8, [x19, #88]
mov w9, #1
lsl x8, x9, x8
ldr x10, [x19, #16]
lsl x9, x9, x10
add x10, x8, x22
add x9, x10, x9
lsl x21, x9, #2
ldp x10, x9, [x20, #40]
add x8, x10, x8, lsl #2
cmp x8, x9
cset w0, eq
bl _assert
ldp x9, x8, [x20, #48]
add x9, x9, x22, lsl #2
cmp x9, x8
cset w0, eq
bl _assert
ldr x0, [x20, #40]
ldr x1, [x19, #40]
mov x2, x21
bl _memcpy
ldur q0, [x19, #24]
stur q0, [x20, #24]
ldr w8, [x19, #64]
str w8, [x20, #64]
ldr x0, [x20, #8]
ldr x1, [x19, #8]
mov w2, #4
bl _memcpy
ldur x8, [x29, #-56]
Lloh20:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh21:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_8
; %bb.7:
mov x0, #0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_8:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ZSTD_copyCCtx_internal"
.comm _ZSTDcs_init,8,3 ; @ZSTDcs_init
.comm _stage_wrong,4,2 ; @stage_wrong
.comm _ZSTDcrp_noMemset,4,2 ; @ZSTDcrp_noMemset
.comm _ZSTD_fast,8,3 ; @ZSTD_fast
.no_dead_strip _ZSTD_copyCCtx_internal
.subsections_via_symbols
| AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_zstd_compress.c_ZSTD_copyCCtx_internal.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_pcm_default_page_ops
_snd_pcm_default_page_ops: ## @snd_pcm_default_page_ops
.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
addq (%rax), %rsi
movq %rsi, %rdi
popq %rbp
jmp _virt_to_page ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _snd_pcm_default_page_ops
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_pcm_default_page_ops
_snd_pcm_default_page_ops: ; @snd_pcm_default_page_ops
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x8, [x8]
add x0, x8, x1
b _virt_to_page
.cfi_endproc
; -- End function
.no_dead_strip _snd_pcm_default_page_ops
.subsections_via_symbols
| AnghaBench/linux/sound/core/extr_pcm_native.c_snd_pcm_default_page_ops.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gcov_info_is_compatible ## -- Begin function gcov_info_is_compatible
.p2align 4, 0x90
_gcov_info_is_compatible: ## @gcov_info_is_compatible
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rcx
xorl %eax, %eax
cmpq (%rsi), %rcx
sete %al
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 _gcov_info_is_compatible ; -- Begin function gcov_info_is_compatible
.p2align 2
_gcov_info_is_compatible: ; @gcov_info_is_compatible
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x9, [x1]
cmp x8, x9
cset w0, eq
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/gnu/gcov/extr_gcc_4_7.c_gcov_info_is_compatible.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mrb_proc_new ## -- Begin function mrb_proc_new
.p2align 4, 0x90
_mrb_proc_new: ## @mrb_proc_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 %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq 8(%rdi), %rax
movq (%rax), %r12
movq _MRB_TT_PROC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%rdi), %edx
callq _mrb_obj_alloc
movq %rax, %r15
testq %r12, %r12
je LBB0_5
## %bb.1:
movq (%r12), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.2:
callq _MRB_PROC_TARGET_CLASS
testq %rax, %rax
jne LBB0_4
LBB0_3:
movq 8(%r12), %rax
LBB0_4:
movq (%r12), %rcx
movq %rcx, 16(%r15)
movq %rax, 8(%r15)
LBB0_5:
movq %r14, (%r15)
movq %rbx, %rdi
movq %r14, %rsi
callq _mrb_irep_incref
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MRB_TT_PROC,4,2 ## @MRB_TT_PROC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mrb_proc_new ; -- Begin function mrb_proc_new
.p2align 2
_mrb_proc_new: ; @mrb_proc_new
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldr x8, [x0, #8]
ldr x22, [x8]
Lloh0:
adrp x8, _MRB_TT_PROC@GOTPAGE
Lloh1:
ldr x8, [x8, _MRB_TT_PROC@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldr w2, [x0]
bl _mrb_obj_alloc
mov x21, x0
cbz x22, LBB0_5
; %bb.1:
ldr x0, [x22]
cbz x0, LBB0_3
; %bb.2:
bl _MRB_PROC_TARGET_CLASS
cbnz x0, LBB0_4
LBB0_3:
ldr x0, [x22, #8]
LBB0_4:
ldr x8, [x22]
stp x0, x8, [x21, #8]
LBB0_5:
str x19, [x21]
mov x0, x20
mov x1, x19
bl _mrb_irep_incref
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MRB_TT_PROC,4,2 ; @MRB_TT_PROC
.subsections_via_symbols
| AnghaBench/mruby/src/extr_proc.c_mrb_proc_new.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rbx
leaq -16(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -12(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl -16(%rbp), %eax
movl -12(%rbp), %esi
cmpl %esi, %eax
cmovll %eax, %esi
leaq L_.str.3(%rip), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -16(%rbp), %eax
movl -12(%rbp), %esi
cmpl %esi, %eax
cmovgl %eax, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -12(%rbp), %esi
imull -16(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _minimum ## -- Begin function minimum
.p2align 4, 0x90
_minimum: ## @minimum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
cmpl %esi, %edi
cmovll %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _maximum ## -- Begin function maximum
.p2align 4, 0x90
_maximum: ## @maximum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
cmpl %esi, %edi
cmovgl %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _multiply ## -- Begin function multiply
.p2align 4, 0x90
_multiply: ## @multiply
.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
imull %esi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a value for no 1 : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter a value for no 2 : "
L_.str.3: ## @.str.3
.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, #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
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x8, sp, #8
str x8, [sp]
mov x0, x19
bl _scanf
ldp w9, w8, [sp, #8]
cmp w8, w9
csel w8, w8, w9, lt
str x8, [sp]
Lloh6:
adrp x19, l_.str.3@PAGE
Lloh7:
add x19, x19, l_.str.3@PAGEOFF
mov x0, x19
bl _printf
ldp w9, w8, [sp, #8]
cmp w8, w9
csel w8, w8, w9, gt
str x8, [sp]
mov x0, x19
bl _printf
ldp w9, w8, [sp, #8]
mul w8, w9, w8
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _minimum ; -- Begin function minimum
.p2align 2
_minimum: ; @minimum
.cfi_startproc
; %bb.0:
cmp w0, w1
csel w0, w0, w1, lt
ret
.cfi_endproc
; -- End function
.globl _maximum ; -- Begin function maximum
.p2align 2
_maximum: ; @maximum
.cfi_startproc
; %bb.0:
cmp w0, w1
csel w0, w0, w1, gt
ret
.cfi_endproc
; -- End function
.globl _multiply ; -- Begin function multiply
.p2align 2
_multiply: ; @multiply
.cfi_startproc
; %bb.0:
mul w0, w1, w0
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a value for no 1 : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter a value for no 2 : "
l_.str.3: ; @.str.3
.asciz "%d "
.subsections_via_symbols
| the_stack_data/161081430.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function EEPROM_write_do
_EEPROM_write_do: ## @EEPROM_write_do
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _Pico@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movl 4(%rax), %ecx
movq %rcx, -80(%rbp) ## 8-byte Spill
movl 8(%rax), %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
movl 12(%rax), %eax
movq %rax, -64(%rbp) ## 8-byte Spill
movq _EL_EEPROM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
movl %r14d, -52(%rbp) ## 4-byte Spill
movl %r14d, %r12d
shrl %r12d
andl $1, %r12d
andl $1, %r14d
movl %edi, %ebx
andl $2, %ebx
movl %ebx, %r15d
shrl %r15d
movl %edi, -48(%rbp) ## 4-byte Spill
movl %edi, %r13d
andl $1, %r13d
xorl %eax, %eax
callq _SekCyclesDone
movq _last_write@GOTPCREL(%rip), %rcx
subq (%rcx), %rax
movq %rax, (%rsp)
leaq L_.str(%rip), %rsi
movl -68(%rbp), %edi ## 4-byte Reload
movl %r12d, %edx
movl %r14d, %ecx
movl %r15d, %r8d
movl %r13d, %r9d
xorl %eax, %eax
callq _elprintf
movq -80(%rbp), %r8 ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
movl %r8d, %r12d
andl $8191, %r12d ## imm = 0x1FFF
testl %esi, %ebx
je LBB0_4
## %bb.1:
testl %r13d, %r13d
jne LBB0_10
## %bb.2:
testl %r14d, %r14d
je LBB0_10
## %bb.3:
movq _EL_EEPROM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %esi, %ebx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _elprintf
xorl %edi, %edi
movl %ebx, %esi
orl $8, %esi
movq _Pico@GOTPCREL(%rip), %r15
movl -48(%rbp), %ebx ## 4-byte Reload
movq -64(%rbp), %r13 ## 8-byte Reload
jmp LBB0_41
LBB0_4:
movl %esi, %eax
andl $10, %eax
testl %ebx, %ebx
je LBB0_13
## %bb.5:
cmpl $8, %eax
jne LBB0_13
## %bb.6:
movl -44(%rbp), %ecx ## 4-byte Reload
incl %ecx
movq _SRam@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
movq -64(%rbp), %r13 ## 8-byte Reload
je LBB0_29
## %bb.7:
testb $1, %r13b
movq _Pico@GOTPCREL(%rip), %r15
movl -48(%rbp), %ebx ## 4-byte Reload
je LBB0_32
## %bb.8:
cmpl $18, %ecx
jne LBB0_32
## %bb.9:
incl %r8d
andl $8191, %r8d ## imm = 0x1FFF
movl $9, %r14d
movl %r8d, %r12d
jmp LBB0_39
LBB0_10:
testl %r13d, %r13d
movq _Pico@GOTPCREL(%rip), %r15
movl -48(%rbp), %ebx ## 4-byte Reload
movq -64(%rbp), %r13 ## 8-byte Reload
je LBB0_28
## %bb.11:
testl %r14d, %r14d
jne LBB0_28
## %bb.12:
movq _EL_EEPROM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %esi, %r14d
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _elprintf
movl %r14d, %esi
andl $-9, %esi
movl -44(%rbp), %edi ## 4-byte Reload
jmp LBB0_41
LBB0_13:
movq %r13, %r9
testl %ebx, %ebx
movq -64(%rbp), %r13 ## 8-byte Reload
movl -44(%rbp), %edi ## 4-byte Reload
jne LBB0_35
## %bb.14:
cmpl $10, %eax
movq _Pico@GOTPCREL(%rip), %r15
movl -48(%rbp), %ebx ## 4-byte Reload
jne LBB0_41
## %bb.15:
movq _SRam@GOTPCREL(%rip), %r14
movl (%r14), %eax
testl %eax, %eax
je LBB0_36
## %bb.16:
cmpl $27, %edi
ja LBB0_18
## %bb.17:
movl $134480384, %ecx ## imm = 0x8040200
btl %edi, %ecx
jb LBB0_41
LBB0_18:
cmpl $3, %eax
jne LBB0_20
## %bb.19:
cmpl $27, %edi
ja LBB0_22
LBB0_20:
cmpl $2, %eax
jne LBB0_49
## %bb.21:
cmpl $19, %edi
jb LBB0_49
LBB0_22:
testb $1, %r13b
jne LBB0_41
## %bb.23:
movq 8(%r14), %rax
movb (%rax,%r12), %cl
addb %cl, %cl
orb %cl, %r9b
movq %r9, %rcx
movb %r9b, (%rax,%r12)
cmpl $35, %edi
je LBB0_25
## %bb.24:
cmpl $26, %edi
jne LBB0_27
LBB0_25:
movl %r8d, %eax
andl $8176, %eax ## imm = 0x1FF0
incl %r8d
andl $15, %r8d
orl %eax, %r8d
movq _EL_EEPROM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movzbl %cl, %ecx
leaq L_.str.4(%rip), %rsi
movl %r8d, %edx
jmp LBB0_26
LBB0_28:
movl -44(%rbp), %edi ## 4-byte Reload
jmp LBB0_41
LBB0_29:
cmpl $18, %ecx
movq _Pico@GOTPCREL(%rip), %r15
movl -48(%rbp), %ebx ## 4-byte Reload
jne LBB0_38
## %bb.30:
movl $9, %r14d
testb $1, %r8b
je LBB0_39
## %bb.31:
addl $2, %r8d
movzbl %r8b, %r12d
jmp LBB0_39
LBB0_32:
cmpl $2, %eax
jne LBB0_34
## %bb.33:
movl $18, %r14d
cmpl $27, %ecx
je LBB0_39
LBB0_34:
cmpl $36, %ecx
movl $27, %r14d
cmovnel %ecx, %r14d
jmp LBB0_39
LBB0_35:
movq _Pico@GOTPCREL(%rip), %r15
movl -48(%rbp), %ebx ## 4-byte Reload
jmp LBB0_41
LBB0_36:
cmpl $9, %edi
jne LBB0_42
## %bb.37:
movl $9, %edi
jmp LBB0_41
LBB0_38:
movl %ecx, %r14d
LBB0_39:
movq _EL_EEPROM@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.3(%rip), %rsi
movl %r14d, %edx
xorl %eax, %eax
callq _elprintf
movl %r14d, %edi
LBB0_40:
movl -52(%rbp), %esi ## 4-byte Reload
LBB0_41:
andl $252, %esi
andl $3, %ebx
orl %esi, %ebx
movl %ebx, (%r15)
movzbl %dil, %eax
movl %eax, 8(%r15)
movzbl %r13b, %eax
movl %eax, 12(%r15)
movl %r12d, 4(%r15)
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_42:
jbe LBB0_46
## %bb.43:
testb $1, %r8b
jne LBB0_41
## %bb.44:
movq 8(%r14), %rax
movl %r12d, %ecx
shrq %rcx
movb (%rax,%rcx), %dl
addb %dl, %dl
orb %dl, %r9b
movb %r9b, (%rax,%rcx)
cmpl $17, %edi
jne LBB0_27
## %bb.45:
movl %r8d, %eax
andl $249, %eax
addl $2, %r8d
andl $6, %r8d
orl %eax, %r8d
movq _EL_EEPROM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %r8d, %edx
shrl %edx
movzbl %r9b, %ecx
leaq L_.str.4(%rip), %rsi
LBB0_26:
xorl %eax, %eax
movq %r8, %r12
callq _elprintf
movl -44(%rbp), %edi ## 4-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
## kill: def $r12d killed $r12d killed $r12 def $r12
LBB0_27:
movl $1, 16(%r14)
jmp LBB0_41
LBB0_46:
leal (%r12,%r12), %eax
movzbl %al, %edx
movq %r9, %r12
orl %edx, %r12d
cmpl $8, %edi
jne LBB0_48
## %bb.47:
movq _EL_EEPROM@GOTPCREL(%rip), %rax
movl (%rax), %edi
shrl %edx
movl %esi, %r14d
leaq L_.str.7(%rip), %rsi
xorl %eax, %eax
callq _elprintf
movl %r14d, %esi
movl $8, %edi
LBB0_48:
## kill: def $r12d killed $r12d killed $r12 def $r12
jmp LBB0_41
LBB0_49:
cmpl $10, %edi
jb LBB0_56
## %bb.50:
testb $1, %r13b
jne LBB0_41
## %bb.51:
leal (%r12,%r12), %ecx
cmpl $2, %eax
movl $254, %eax
movl $8190, %r12d ## imm = 0x1FFE
cmovel %eax, %r12d
andl %ecx, %r12d
orl %r9d, %r12d
cmpl $26, %edi
je LBB0_53
## %bb.52:
cmpl $17, %edi
jne LBB0_41
LBB0_53:
movq _EL_EEPROM@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.5(%rip), %rsi
movl %r12d, %edx
xorl %eax, %eax
callq _elprintf
movl -44(%rbp), %edi ## 4-byte Reload
cmpl $17, %edi
jne LBB0_40
## %bb.54:
cmpl $2, (%r14)
movl -52(%rbp), %esi ## 4-byte Reload
jne LBB0_41
## %bb.55:
movzbl %r12b, %eax
movl %r13d, %r12d
andl $14, %r12d
shll $7, %r12d
orl %eax, %r12d
movl $17, %edi
jmp LBB0_41
LBB0_56:
leal (%r9,%r13,2), %r13d
cmpl $8, %edi
jne LBB0_41
## %bb.57:
movq _EL_EEPROM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %esi, %r14d
leaq L_.str.6(%rip), %rsi
movl %r13d, %edx
xorl %eax, %eax
callq _elprintf
movl %r14d, %esi
movl $8, %edi
jmp LBB0_41
.cfi_endproc
## -- End function
.comm _Pico,16,2 ## @Pico
.comm _EL_EEPROM,4,2 ## @EL_EEPROM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "eeprom: scl/sda: %i/%i -> %i/%i, newtime=%i"
.comm _last_write,8,3 ## @last_write
L_.str.1: ## @.str.1
.asciz "eeprom: -start-"
L_.str.2: ## @.str.2
.asciz "eeprom: -stop-"
.comm _SRam,24,3 ## @SRam
L_.str.3: ## @.str.3
.asciz "eeprom: scyc: %i"
L_.str.4: ## @.str.4
.asciz "eeprom: write done, addr inc to: %x, last byte=%02x"
L_.str.5: ## @.str.5
.asciz "eeprom: addr reg done: %x"
L_.str.6: ## @.str.6
.asciz "eeprom: slave done: %x"
L_.str.7: ## @.str.7
.asciz "eeprom: addr done: %x"
.no_dead_strip _EEPROM_write_do
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function EEPROM_write_do
_EEPROM_write_do: ; @EEPROM_write_do
.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
Lloh0:
adrp x8, _Pico@GOTPAGE
Lloh1:
ldr x8, [x8, _Pico@GOTPAGEOFF]
ldp w22, w27, [x8]
ldp w19, w21, [x8, #8]
Lloh2:
adrp x8, _EL_EEPROM@GOTPAGE
Lloh3:
ldr x8, [x8, _EL_EEPROM@GOTPAGEOFF]
ubfx w25, w22, #1, #1
Lloh4:
ldr w20, [x8]
and w23, w22, #0x1
and w28, w0, #0x2
ubfx w24, w0, #1, #1
str w0, [sp, #44] ; 4-byte Folded Spill
and w26, w0, #0x1
bl _SekCyclesDone
Lloh5:
adrp x8, _last_write@GOTPAGE
Lloh6:
ldr x8, [x8, _last_write@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
sub x8, x0, x8
str x8, [sp, #32]
mov x8, x26
stp x24, x8, [sp, #16]
stp x25, x23, [sp]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _elprintf
and x20, x27, #0x1fff
tst w28, w22
b.eq LBB0_4
; %bb.1:
cbnz w26, LBB0_10
; %bb.2:
cbz w23, LBB0_10
; %bb.3:
Lloh10:
adrp x8, _EL_EEPROM@GOTPAGE
Lloh11:
ldr x8, [x8, _EL_EEPROM@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
Lloh13:
adrp x1, l_.str.1@PAGE
Lloh14:
add x1, x1, l_.str.1@PAGEOFF
bl _elprintf
mov w24, #0
orr w22, w22, #0x8
b LBB0_13
LBB0_4:
mov w8, #10
and w8, w22, w8
cbz w28, LBB0_17
; %bb.5:
cmp w8, #8
b.ne LBB0_17
; %bb.6:
mov x24, x19
add w8, w24, #1
Lloh15:
adrp x9, _SRam@GOTPAGE
Lloh16:
ldr x9, [x9, _SRam@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
mov x23, x21
cbz w9, LBB0_30
; %bb.7:
Lloh18:
adrp x21, _Pico@GOTPAGE
Lloh19:
ldr x21, [x21, _Pico@GOTPAGEOFF]
ldr w19, [sp, #44] ; 4-byte Folded Reload
tbz w23, #0, LBB0_31
; %bb.8:
cmp w8, #18
b.ne LBB0_31
; %bb.9:
add w8, w27, #1
and w20, w8, #0x1fff
mov w24, #9
b LBB0_32
LBB0_10:
cbz w26, LBB0_29
; %bb.11:
mov x24, x19
cbnz w23, LBB0_13
; %bb.12:
Lloh20:
adrp x8, _EL_EEPROM@GOTPAGE
Lloh21:
ldr x8, [x8, _EL_EEPROM@GOTPAGEOFF]
Lloh22:
ldr w0, [x8]
Lloh23:
adrp x1, l_.str.2@PAGE
Lloh24:
add x1, x1, l_.str.2@PAGEOFF
bl _elprintf
and w22, w22, #0xfffffff7
LBB0_13:
mov x23, x21
LBB0_14:
Lloh25:
adrp x21, _Pico@GOTPAGE
Lloh26:
ldr x21, [x21, _Pico@GOTPAGEOFF]
LBB0_15:
ldr w19, [sp, #44] ; 4-byte Folded Reload
LBB0_16:
and w8, w22, #0xfc
and w9, w24, #0xff
and w10, w23, #0xff
stp w9, w10, [x21, #8]
bfxil w8, w19, #0, #2
stp w8, w20, [x21]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_17:
mov x23, x21
mov x24, x19
cbnz w28, LBB0_14
; %bb.18:
cmp w8, #10
b.ne LBB0_14
; %bb.19:
Lloh27:
adrp x28, _SRam@GOTPAGE
Lloh28:
ldr x28, [x28, _SRam@GOTPAGEOFF]
ldr w8, [x28]
cbz w8, LBB0_33
; %bb.20:
cmp w24, #27
mov w9, #1
lsl w9, w9, w24
mov w10, #512
movk w10, #2052, lsl #16
and w9, w9, w10
ccmp w9, #0, #4, ls
b.ne LBB0_14
; %bb.21:
cmp w8, #3
b.ne LBB0_23
; %bb.22:
cmp w24, #27
b.hi LBB0_25
LBB0_23:
cmp w8, #2
b.ne LBB0_43
; %bb.24:
cmp w24, #19
b.lo LBB0_43
LBB0_25:
tbnz w23, #0, LBB0_14
; %bb.26:
ldr x8, [x28, #8]
ldrb w9, [x8, x20]
bfi w26, w9, #1, #31
strb w26, [x8, x20]
cmp w24, #35
b.eq LBB0_28
; %bb.27:
cmp w24, #26
b.ne LBB0_39
LBB0_28:
and w20, w27, #0x1ff0
add w8, w27, #1
bfxil w20, w8, #0, #4
Lloh29:
adrp x8, _EL_EEPROM@GOTPAGE
Lloh30:
ldr x8, [x8, _EL_EEPROM@GOTPAGEOFF]
Lloh31:
ldr w0, [x8]
and x8, x26, #0xff
stp x20, x8, [sp]
Lloh32:
adrp x1, l_.str.4@PAGE
Lloh33:
add x1, x1, l_.str.4@PAGEOFF
bl _elprintf
; kill: def $w20 killed $w20 killed $x20 def $x20
b LBB0_39
LBB0_29:
mov x23, x21
Lloh34:
adrp x21, _Pico@GOTPAGE
Lloh35:
ldr x21, [x21, _Pico@GOTPAGEOFF]
mov x24, x19
b LBB0_15
LBB0_30:
mov w9, #9
add w10, w27, #2
and w10, w10, #0xff
mov w11, #9
tst w27, #0x1
csel w9, w9, w11, eq
csel w10, w20, w10, eq
cmp w8, #18
csel w20, w20, w10, ne
csinc w24, w9, w24, eq
Lloh36:
adrp x21, _Pico@GOTPAGE
Lloh37:
ldr x21, [x21, _Pico@GOTPAGEOFF]
ldr w19, [sp, #44] ; 4-byte Folded Reload
b LBB0_32
LBB0_31:
mov w10, #18
mov w11, #27
cmp w8, #36
csel w11, w11, w8, eq
cmp w9, #2
ccmp w8, #27, #0, eq
csel w24, w10, w11, eq
LBB0_32:
Lloh38:
adrp x8, _EL_EEPROM@GOTPAGE
Lloh39:
ldr x8, [x8, _EL_EEPROM@GOTPAGEOFF]
Lloh40:
ldr w0, [x8]
str x24, [sp]
Lloh41:
adrp x1, l_.str.3@PAGE
Lloh42:
add x1, x1, l_.str.3@PAGEOFF
bl _elprintf
b LBB0_16
LBB0_33:
cmp w24, #9
b.ne LBB0_35
; %bb.34:
mov w24, #9
b LBB0_14
LBB0_35:
cmp w24, #10
b.lo LBB0_40
; %bb.36:
tbnz w27, #0, LBB0_14
; %bb.37:
ldr x8, [x28, #8]
mov w9, w20
lsr x9, x9, #1
ldrb w10, [x8, x9]
bfi w26, w10, #1, #31
strb w26, [x8, x9]
cmp w24, #17
b.ne LBB0_39
; %bb.38:
mov w8, #249
and w8, w27, w8
add w9, w27, #2
and w9, w9, #0x6
orr w20, w9, w8
Lloh43:
adrp x8, _EL_EEPROM@GOTPAGE
Lloh44:
ldr x8, [x8, _EL_EEPROM@GOTPAGEOFF]
Lloh45:
ldr w0, [x8]
lsr w8, w20, #1
; kill: def $w26 killed $w26 killed $x26 def $x26
and x9, x26, #0xff
stp x8, x9, [sp]
Lloh46:
adrp x1, l_.str.4@PAGE
Lloh47:
add x1, x1, l_.str.4@PAGEOFF
bl _elprintf
LBB0_39:
mov w8, #1
str w8, [x28, #16]
b LBB0_14
LBB0_40:
bfi w26, w20, #1, #7
cmp w24, #8
b.ne LBB0_42
; %bb.41:
ubfiz w8, w20, #1, #7
Lloh48:
adrp x9, _EL_EEPROM@GOTPAGE
Lloh49:
ldr x9, [x9, _EL_EEPROM@GOTPAGEOFF]
Lloh50:
ldr w0, [x9]
lsr w8, w8, #1
str x8, [sp]
Lloh51:
adrp x1, l_.str.7@PAGE
Lloh52:
add x1, x1, l_.str.7@PAGEOFF
bl _elprintf
mov w24, #8
LBB0_42:
mov x20, x26
b LBB0_14
LBB0_43:
cmp w24, #10
b.lo LBB0_48
; %bb.44:
tbnz w23, #0, LBB0_14
; %bb.45:
mov w9, #8190
mov w10, #254
cmp w8, #2
csel w8, w10, w9, eq
and w8, w8, w20, lsl #1
orr w20, w8, w26
cmp w24, #26
b.eq LBB0_47
; %bb.46:
cmp w24, #17
b.ne LBB0_14
LBB0_47:
Lloh53:
adrp x8, _EL_EEPROM@GOTPAGE
Lloh54:
ldr x8, [x8, _EL_EEPROM@GOTPAGEOFF]
Lloh55:
ldr w0, [x8]
mov x8, x20
str x8, [sp]
Lloh56:
adrp x1, l_.str.5@PAGE
Lloh57:
add x1, x1, l_.str.5@PAGEOFF
bl _elprintf
ldr w8, [x28]
lsl w9, w23, #7
and w9, w9, #0x700
bfxil w9, w20, #0, #8
mov w10, #17
cmp w8, #2
csel w8, w24, w10, ne
csel w9, w20, w9, ne
cmp w24, #17
csel w24, w24, w8, ne
csel w20, w20, w9, ne
b LBB0_14
LBB0_48:
bfi w26, w23, #1, #31
cmp w24, #8
b.ne LBB0_50
; %bb.49:
Lloh58:
adrp x8, _EL_EEPROM@GOTPAGE
Lloh59:
ldr x8, [x8, _EL_EEPROM@GOTPAGEOFF]
Lloh60:
ldr w0, [x8]
mov x8, x26
str x8, [sp]
Lloh61:
adrp x1, l_.str.6@PAGE
Lloh62:
add x1, x1, l_.str.6@PAGEOFF
bl _elprintf
mov w24, #8
LBB0_50:
mov x23, x26
b LBB0_14
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.cfi_endproc
; -- End function
.comm _Pico,16,2 ; @Pico
.comm _EL_EEPROM,4,2 ; @EL_EEPROM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "eeprom: scl/sda: %i/%i -> %i/%i, newtime=%i"
.comm _last_write,8,3 ; @last_write
l_.str.1: ; @.str.1
.asciz "eeprom: -start-"
l_.str.2: ; @.str.2
.asciz "eeprom: -stop-"
.comm _SRam,24,3 ; @SRam
l_.str.3: ; @.str.3
.asciz "eeprom: scyc: %i"
l_.str.4: ; @.str.4
.asciz "eeprom: write done, addr inc to: %x, last byte=%02x"
l_.str.5: ; @.str.5
.asciz "eeprom: addr reg done: %x"
l_.str.6: ; @.str.6
.asciz "eeprom: slave done: %x"
l_.str.7: ; @.str.7
.asciz "eeprom: addr done: %x"
.no_dead_strip _EEPROM_write_do
.subsections_via_symbols
| AnghaBench/Provenance/Cores/PicoDrive/pico/extr_eeprom.c_EEPROM_write_do.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _esp_clk_slowclk_cal_get ## -- Begin function esp_clk_slowclk_cal_get
.p2align 4, 0x90
_esp_clk_slowclk_cal_get: ## @esp_clk_slowclk_cal_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _RTC_SLOW_CLK_CAL_REG@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _REG_READ ## TAILCALL
.cfi_endproc
## -- End function
.comm _RTC_SLOW_CLK_CAL_REG,4,2 ## @RTC_SLOW_CLK_CAL_REG
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _esp_clk_slowclk_cal_get ; -- Begin function esp_clk_slowclk_cal_get
.p2align 2
_esp_clk_slowclk_cal_get: ; @esp_clk_slowclk_cal_get
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _RTC_SLOW_CLK_CAL_REG@GOTPAGE
Lloh1:
ldr x8, [x8, _RTC_SLOW_CLK_CAL_REG@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b _REG_READ
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RTC_SLOW_CLK_CAL_REG,4,2 ; @RTC_SLOW_CLK_CAL_REG
.subsections_via_symbols
| AnghaBench/esp-idf/components/newlib/extr_time.c_esp_clk_slowclk_cal_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function plwAdd
_plwAdd: ## @plwAdd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %ebx
movl %ecx, -56(%rbp) ## 4-byte Spill
movl %edx, %r13d
movl %esi, %r15d
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _VARINT_MAX@GOTPCREL(%rip), %rax
movl (%rax), %eax
leal (%rax,%rax,4), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
xorl %edi, %edi
cmpl $-1, (%r12)
setne %dil
callq _assert
movq 16(%r12), %rax
movq (%rax), %rax
movq _DL_DOCIDS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_7
## %bb.1:
cmpl %r15d, 4(%r12)
movl %ebx, -52(%rbp) ## 4-byte Spill
jne LBB0_3
## %bb.2:
movl (%r12), %eax
xorl %r15d, %r15d
jmp LBB0_4
LBB0_3:
movq _POS_COLUMN@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _putVarint
movslq %eax, %rbx
leaq (%r14,%rbx), %rdi
movl %r15d, %esi
callq _putVarint
addl %eax, %ebx
movl %r15d, 4(%r12)
movl $0, (%r12)
movl $0, 8(%r12)
movslq %ebx, %r15
xorl %eax, %eax
LBB0_4:
xorl %edi, %edi
cmpl %r13d, %eax
setle %dil
callq _assert
leaq (%r14,%r15), %rdi
movq _POS_BASE@GOTPCREL(%rip), %rax
movl (%rax), %esi
addl %r13d, %esi
subl (%r12), %esi
callq _putVarint
movq %rax, %rbx
addq %r15, %rbx
movl %r13d, (%r12)
movq 16(%r12), %rax
movq (%rax), %rcx
movq _DL_POSITIONS_OFFSETS@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_6
## %bb.5:
xorl %edi, %edi
movl -56(%rbp), %r13d ## 4-byte Reload
cmpl %r13d, 8(%r12)
setle %dil
callq _assert
movslq %ebx, %rdi
addq %r14, %rdi
movl %r13d, %esi
subl 8(%r12), %esi
callq _putVarint
movq %rax, %r15
addq %rbx, %r15
movl %r13d, 8(%r12)
xorl %edi, %edi
movl -52(%rbp), %ebx ## 4-byte Reload
subl %r13d, %ebx
setge %dil
callq _assert
movslq %r15d, %rdi
addq %r14, %rdi
movl %ebx, %esi
callq _putVarint
movq %rax, %rbx
addq %r15, %rbx
movq 16(%r12), %rax
LBB0_6:
movl 8(%rax), %edi
movq %r14, %rsi
movl %ebx, %edx
callq _dataBufferAppend
LBB0_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_9
## %bb.8:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _VARINT_MAX,4,2 ## @VARINT_MAX
.comm _DL_DOCIDS,8,3 ## @DL_DOCIDS
.comm _POS_COLUMN,4,2 ## @POS_COLUMN
.comm _POS_BASE,4,2 ## @POS_BASE
.comm _DL_POSITIONS_OFFSETS,8,3 ## @DL_POSITIONS_OFFSETS
.no_dead_strip _plwAdd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function plwAdd
_plwAdd: ; @plwAdd
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
sub sp, sp, #16
mov x21, x4
mov x22, x3
mov x23, x2
mov x24, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh3:
adrp x8, _VARINT_MAX@GOTPAGE
Lloh4:
ldr x8, [x8, _VARINT_MAX@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
add w8, w8, w8, lsl #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x19, x9, x8
mov sp, x19
ldr w8, [x0]
cmn w8, #1
cset w0, ne
bl _assert
ldr x8, [x20, #16]
ldr x8, [x8]
Lloh8:
adrp x9, _DL_DOCIDS@GOTPAGE
Lloh9:
ldr x9, [x9, _DL_DOCIDS@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_7
; %bb.1:
ldr w8, [x20, #4]
cmp w8, w24
b.ne LBB0_3
; %bb.2:
mov x24, #0
ldr w8, [x20]
b LBB0_4
LBB0_3:
Lloh11:
adrp x8, _POS_COLUMN@GOTPAGE
Lloh12:
ldr x8, [x8, _POS_COLUMN@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
bl _putVarint
mov x25, x0
add x0, x19, w25, sxtw
mov x1, x24
bl _putVarint
mov w8, #0
add w9, w0, w25
stp wzr, w24, [x20]
str wzr, [x20, #8]
sxtw x24, w9
LBB0_4:
cmp w8, w23
cset w0, le
bl _assert
add x0, x19, x24
Lloh14:
adrp x8, _POS_BASE@GOTPAGE
Lloh15:
ldr x8, [x8, _POS_BASE@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
ldr w9, [x20]
add w8, w8, w23
sub w1, w8, w9
bl _putVarint
add x24, x0, x24
str w23, [x20]
ldr x8, [x20, #16]
ldr x9, [x8]
Lloh17:
adrp x10, _DL_POSITIONS_OFFSETS@GOTPAGE
Lloh18:
ldr x10, [x10, _DL_POSITIONS_OFFSETS@GOTPAGEOFF]
Lloh19:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_6
; %bb.5:
ldr w8, [x20, #8]
cmp w8, w22
cset w0, le
bl _assert
add x0, x19, w24, sxtw
ldr w8, [x20, #8]
sub w1, w22, w8
bl _putVarint
add x23, x0, x24
str w22, [x20, #8]
subs w21, w21, w22
cset w0, ge
bl _assert
add x0, x19, w23, sxtw
mov x1, x21
bl _putVarint
add x24, x0, x23
ldr x8, [x20, #16]
LBB0_6:
ldr w0, [x8, #8]
mov x1, x19
mov x2, x24
bl _dataBufferAppend
LBB0_7:
ldur x8, [x29, #-72]
Lloh20:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh21:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_9
; %bb.8:
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_9:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _VARINT_MAX,4,2 ; @VARINT_MAX
.comm _DL_DOCIDS,8,3 ; @DL_DOCIDS
.comm _POS_COLUMN,4,2 ; @POS_COLUMN
.comm _POS_BASE,4,2 ; @POS_BASE
.comm _DL_POSITIONS_OFFSETS,8,3 ; @DL_POSITIONS_OFFSETS
.no_dead_strip _plwAdd
.subsections_via_symbols
| AnghaBench/sqlcipher/ext/fts2/extr_fts2.c_plwAdd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_ali_free_channel_pcm
_snd_ali_free_channel_pcm: ## @snd_ali_free_channel_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movq %rdi, %r14
movq 8(%rdi), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movl %ebx, %edx
callq _dev_dbg
testl %ebx, %ebx
js LBB0_4
## %bb.1:
movq _ALI_CHANNELS@GOTPCREL(%rip), %rax
cmpl %ebx, (%rax)
jle LBB0_4
## %bb.2:
movl (%r14), %eax
movl $1, %edx
movl %ebx, %ecx
shll %cl, %edx
btl %ebx, %eax
jae LBB0_5
## %bb.3:
notl %edx
andl %edx, %eax
movl %eax, (%r14)
decl 4(%r14)
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_5:
movq 8(%r14), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
movl %ebx, %edx
popq %rbx
popq %r14
popq %rbp
jmp _dev_err ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "free_channel_pcm channel=%d\n"
.comm _ALI_CHANNELS,4,2 ## @ALI_CHANNELS
L_.str.1: ## @.str.1
.asciz "ali_free_channel_pcm: channel %d is not in use.\n"
.no_dead_strip _snd_ali_free_channel_pcm
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_ali_free_channel_pcm
_snd_ali_free_channel_pcm: ; @snd_ali_free_channel_pcm
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
ldr x8, [x0, #8]
ldr w0, [x8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x2, x19
bl _dev_dbg
tbnz w19, #31, LBB0_4
; %bb.1:
Lloh2:
adrp x8, _ALI_CHANNELS@GOTPAGE
Lloh3:
ldr x8, [x8, _ALI_CHANNELS@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
cmp w8, w19
b.le LBB0_4
; %bb.2:
ldr w8, [x20]
mov w9, #1
lsl w9, w9, w19
tst w8, w9
b.eq LBB0_5
; %bb.3:
bic w8, w8, w9
ldr w9, [x20, #4]
sub w9, w9, #1
stp w8, w9, [x20]
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_5:
ldr x8, [x20, #8]
ldr w0, [x8]
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
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 _dev_err
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "free_channel_pcm channel=%d\n"
.comm _ALI_CHANNELS,4,2 ; @ALI_CHANNELS
l_.str.1: ; @.str.1
.asciz "ali_free_channel_pcm: channel %d is not in use.\n"
.no_dead_strip _snd_ali_free_channel_pcm
.subsections_via_symbols
| AnghaBench/linux/sound/pci/ali5451/extr_ali5451.c_snd_ali_free_channel_pcm.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function PicoWrite16_sram
_PicoWrite16_sram: ## @PicoWrite16_sram
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq _SRam@GOTPCREL(%rip), %r15
cmpq %rdi, (%r15)
jl LBB0_7
## %bb.1:
cmpq %rbx, 8(%r15)
jg LBB0_7
## %bb.2:
movq _Pico@GOTPCREL(%rip), %rax
movq _SRR_MAPPED@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_7
## %bb.3:
movq _EL_SRAMIO@GOTPCREL(%rip), %rax
movl (%rax), %edi
movzwl %r14w, %ecx
movq _SekPc@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq L_.str(%rip), %rsi
movq %rbx, %rdx
callq _elprintf
movq _SRF_EEPROM@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 16(%r15)
je LBB0_4
## %bb.8:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _EEPROM_write16 ## TAILCALL
LBB0_7:
movq %rbx, %rdi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _m68k_unmapped_write16 ## TAILCALL
LBB0_4:
addq 24(%r15), %rbx
subq 8(%r15), %rbx
cmpq %r14, (%rbx)
je LBB0_6
## %bb.5:
movl $1, 32(%r15)
movq %r14, (%rbx)
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SRam,40,3 ## @SRam
.comm _Pico,4,2 ## @Pico
.comm _SRR_MAPPED,4,2 ## @SRR_MAPPED
.comm _EL_SRAMIO,4,2 ## @EL_SRAMIO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sram w16 [%06x] %04x @ %06x"
.comm _SekPc,4,2 ## @SekPc
.comm _SRF_EEPROM,4,2 ## @SRF_EEPROM
.no_dead_strip _PicoWrite16_sram
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function PicoWrite16_sram
_PicoWrite16_sram: ; @PicoWrite16_sram
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x21, _SRam@GOTPAGE
Lloh1:
ldr x21, [x21, _SRam@GOTPAGEOFF]
ldp x8, x9, [x21]
cmp x8, x0
ccmp x9, x0, #0, ge
b.gt LBB0_4
; %bb.1:
Lloh2:
adrp x8, _Pico@GOTPAGE
Lloh3:
ldr x8, [x8, _Pico@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
adrp x9, _SRR_MAPPED@GOTPAGE
Lloh6:
ldr x9, [x9, _SRR_MAPPED@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_4
; %bb.2:
Lloh8:
adrp x8, _EL_SRAMIO@GOTPAGE
Lloh9:
ldr x8, [x8, _EL_SRAMIO@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
and x3, x19, #0xffff
Lloh11:
adrp x8, _SekPc@GOTPAGE
Lloh12:
ldr x8, [x8, _SekPc@GOTPAGEOFF]
Lloh13:
ldr w4, [x8]
Lloh14:
adrp x1, l_.str@PAGE
Lloh15:
add x1, x1, l_.str@PAGEOFF
mov x2, x20
bl _elprintf
ldr w8, [x21, #16]
Lloh16:
adrp x9, _SRF_EEPROM@GOTPAGE
Lloh17:
ldr x9, [x9, _SRF_EEPROM@GOTPAGEOFF]
Lloh18:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_5
; %bb.3:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _EEPROM_write16
LBB0_4:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _m68k_unmapped_write16
LBB0_5:
ldr x8, [x21, #24]
ldr x9, [x21, #8]
add x8, x8, x20
sub x8, x8, x9
ldr x9, [x8]
cmp x9, x19
b.eq LBB0_7
; %bb.6:
mov w9, #1
str w9, [x21, #32]
str x19, [x8]
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _SRam,40,3 ; @SRam
.comm _Pico,4,2 ; @Pico
.comm _SRR_MAPPED,4,2 ; @SRR_MAPPED
.comm _EL_SRAMIO,4,2 ; @EL_SRAMIO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sram w16 [%06x] %04x @ %06x"
.comm _SekPc,4,2 ; @SekPc
.comm _SRF_EEPROM,4,2 ; @SRF_EEPROM
.no_dead_strip _PicoWrite16_sram
.subsections_via_symbols
| AnghaBench/Provenance/Cores/PicoDrive/pico/extr_memory.c_PicoWrite16_sram.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mfd_fail_new
_mfd_fail_new: ## @mfd_fail_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
callq _sys_memfd_create
testl %eax, %eax
jns LBB0_2
## %bb.1:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movl %eax, %ebx
leaq L_.str(%rip), %rdi
movq %r15, %rsi
movl %r14d, %edx
callq _printf
movl %ebx, %edi
callq _close
xorl %eax, %eax
callq _abort
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "memfd_create(\"%s\", %u) succeeded, but failure expected\n"
.no_dead_strip _mfd_fail_new
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mfd_fail_new
_mfd_fail_new: ; @mfd_fail_new
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl _sys_memfd_create
tbz w0, #31, LBB0_2
; %bb.1:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
mov x21, x0
mov x0, x8
mov x1, x20
mov x2, x19
bl _printf
mov x0, x21
bl _close
bl _abort
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "memfd_create(\"%s\", %u) succeeded, but failure expected\n"
.no_dead_strip _mfd_fail_new
.subsections_via_symbols
| AnghaBench/linux/tools/testing/selftests/memfd/extr_memfd_test.c_mfd_fail_new.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/122015921.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function AddSingleSubGreen
_AddSingleSubGreen: ## @AddSingleSubGreen
.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
sarl $8, %eax
movl %edi, %ecx
shrl $16, %ecx
subl %eax, %ecx
movzbl %cl, %ecx
incl (%rsi,%rcx,4)
subl %eax, %edi
movzbl %dil, %eax
incl (%rdx,%rax,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _AddSingleSubGreen
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function AddSingleSubGreen
_AddSingleSubGreen: ; @AddSingleSubGreen
.cfi_startproc
; %bb.0:
asr w8, w0, #8
lsr w9, w0, #16
sub w9, w9, w8
and w9, w9, #0xff
lsl x9, x9, #2
ldr w10, [x1, x9]
add w10, w10, #1
str w10, [x1, x9]
sub w8, w0, w8
and w8, w8, #0xff
lsl x8, x8, #2
ldr w9, [x2, x8]
add w9, w9, #1
str w9, [x2, x8]
ret
.cfi_endproc
; -- End function
.no_dead_strip _AddSingleSubGreen
.subsections_via_symbols
| AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_vp8l_enc.c_AddSingleSubGreen.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
cmpl $2, %edi
jne LBB0_2
## %bb.1:
movq 8(%rsi), %rdi
xorl %esi, %esi
movl $10, %edx
callq _strtoul
leaq L_.str.2(%rip), %rdi
movl $255, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
leaq L_.str(%rip), %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movl $-1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _megaInit ## -- Begin function megaInit
.p2align 4, 0x90
_megaInit: ## @megaInit
.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
.globl _RandomFunc ## -- Begin function RandomFunc
.p2align 4, 0x90
_RandomFunc: ## @RandomFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb $-1, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Call this program with %i arguments\n"
L_.str.2: ## @.str.2
.asciz "%u\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, #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
cmp w0, #2
b.ne LBB0_2
; %bb.1:
ldr x0, [x1, #8]
mov x1, #0
mov w2, #10
bl _strtoul
mov w8, #255
str x8, [sp]
Lloh0:
adrp x0, l_.str.2@PAGE
Lloh1:
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
LBB0_2:
mov w8, #1
str x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _megaInit ; -- Begin function megaInit
.p2align 2
_megaInit: ; @megaInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _RandomFunc ; -- Begin function RandomFunc
.p2align 2
_RandomFunc: ; @RandomFunc
.cfi_startproc
; %bb.0:
mov w8, #255
strb w8, [x1]
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Call this program with %i arguments\n"
l_.str.2: ; @.str.2
.asciz "%u\n"
.subsections_via_symbols
| the_stack_data/30818.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _crypto_shash_update ## -- Begin function crypto_shash_update
.p2align 4, 0x90
_crypto_shash_update: ## @crypto_shash_update
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %r13
movq (%rdi), %rbx
movq %rbx, %rdi
callq _crypto_shash_alg
movq %rax, %r12
movq %rbx, %rdi
callq _crypto_shash_alignmask
testq %r15, %rax
je LBB0_2
## %bb.1:
movq %r13, %rdi
movq %r15, %rsi
movl %r14d, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _shash_update_unaligned ## TAILCALL
LBB0_2:
movq (%r12), %rax
movq %r13, %rdi
movq %r15, %rsi
movl %r14d, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _crypto_shash_update ; -- Begin function crypto_shash_update
.p2align 2
_crypto_shash_update: ; @crypto_shash_update
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
mov x21, x0
ldr x23, [x0]
mov x0, x23
bl _crypto_shash_alg
mov x22, x0
mov x0, x23
bl _crypto_shash_alignmask
tst x0, x20
b.eq LBB0_2
; %bb.1:
mov x0, x21
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _shash_update_unaligned
LBB0_2:
ldr x3, [x22]
mov x0, x21
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
br x3
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/crypto/extr_shash.c_crypto_shash_update.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sata_pmp_scr_write
_sata_pmp_scr_write: ## @sata_pmp_scr_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _sata_pmp_scr_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sata_pmp_scr_write
_sata_pmp_scr_write: ; @sata_pmp_scr_write
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _sata_pmp_scr_write
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/ata/extr_libata.h_sata_pmp_scr_write.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.