x86
stringlengths
122
9.39M
arm
stringlengths
122
9.33M
file
stringlengths
19
200
source
stringclasses
2 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _os_get_vbus_seq ## -- Begin function os_get_vbus_seq .p2align 4, 0x90 _os_get_vbus_seq: ## @os_get_vbus_seq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movl (%rax), %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 _os_get_vbus_seq ; -- Begin function os_get_vbus_seq .p2align 2 _os_get_vbus_seq: ; @os_get_vbus_seq .cfi_startproc ; %bb.0: ldr x8, [x0] ldr w0, [x8] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/sys/dev/hptnr/extr_hptnr_os_bsd.c_os_get_vbus_seq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function max1363_set_scan_mode _max1363_set_scan_mode: ## @max1363_set_scan_mode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _MAX1363_CHANNEL_SEL_MASK@GOTPCREL(%rip), %rax movq _MAX1363_SCAN_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %edx orl (%rax), %edx movq _MAX1363_SE_DE_MASK@GOTPCREL(%rip), %rax orl (%rax), %edx notl %edx andl (%rdi), %edx movq 16(%rdi), %rax orl (%rax), %edx movl %edx, (%rdi) movl 4(%rdi), %esi movl 8(%rdi), %edi popq %rbp jmp _max1363_write_basic_config ## TAILCALL .cfi_endproc ## -- End function .comm _MAX1363_CHANNEL_SEL_MASK,4,2 ## @MAX1363_CHANNEL_SEL_MASK .comm _MAX1363_SCAN_MASK,4,2 ## @MAX1363_SCAN_MASK .comm _MAX1363_SE_DE_MASK,4,2 ## @MAX1363_SE_DE_MASK .no_dead_strip _max1363_set_scan_mode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function max1363_set_scan_mode _max1363_set_scan_mode: ; @max1363_set_scan_mode .cfi_startproc ; %bb.0: Lloh0: adrp x8, _MAX1363_CHANNEL_SEL_MASK@GOTPAGE Lloh1: ldr x8, [x8, _MAX1363_CHANNEL_SEL_MASK@GOTPAGEOFF] Lloh2: adrp x9, _MAX1363_SCAN_MASK@GOTPAGE Lloh3: ldr x9, [x9, _MAX1363_SCAN_MASK@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: ldr w9, [x9] orr w8, w9, w8 Lloh6: adrp x9, _MAX1363_SE_DE_MASK@GOTPAGE Lloh7: ldr x9, [x9, _MAX1363_SE_DE_MASK@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w8, w8, w9 ldp w9, w1, [x0] bic w8, w9, w8 ldr x9, [x0, #16] ldr w9, [x9] orr w2, w9, w8 str w2, [x0] ldr w0, [x0, #8] b _max1363_write_basic_config .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .cfi_endproc ; -- End function .comm _MAX1363_CHANNEL_SEL_MASK,4,2 ; @MAX1363_CHANNEL_SEL_MASK .comm _MAX1363_SCAN_MASK,4,2 ; @MAX1363_SCAN_MASK .comm _MAX1363_SE_DE_MASK,4,2 ; @MAX1363_SE_DE_MASK .no_dead_strip _max1363_set_scan_mode .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/iio/adc/extr_max1363_core.c_max1363_set_scan_mode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _usbip_op_common_status_string ## -- Begin function usbip_op_common_status_string .p2align 4, 0x90 _usbip_op_common_status_string: ## @usbip_op_common_status_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _op_common_status_strings@GOTPCREL(%rip), %rax movq (%rax), %rdx movq (%rdx), %rax leaq L_.str(%rip), %rcx testq %rax, %rax je LBB0_7 ## %bb.1: cmpl %edi, 8(%rdx) je LBB0_5 ## %bb.2: addq $24, %rdx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq -8(%rdx), %rax testq %rax, %rax je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 leaq 16(%rdx), %rsi cmpl %edi, (%rdx) movq %rsi, %rdx jne LBB0_3 LBB0_5: popq %rbp retq LBB0_7: movq %rcx, %rax popq %rbp retq .cfi_endproc ## -- End function .comm _op_common_status_strings,8,3 ## @op_common_status_strings .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unknown Op Common Status" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _usbip_op_common_status_string ; -- Begin function usbip_op_common_status_string .p2align 2 _usbip_op_common_status_string: ; @usbip_op_common_status_string .cfi_startproc ; %bb.0: mov x8, x0 Lloh0: adrp x9, _op_common_status_strings@GOTPAGE Lloh1: ldr x9, [x9, _op_common_status_strings@GOTPAGEOFF] Lloh2: ldr x9, [x9] ldr x0, [x9] cbz x0, LBB0_7 ; %bb.1: ldr w10, [x9, #8] cmp w10, w8 b.eq LBB0_6 ; %bb.2: add x9, x9, #24 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 ldur x10, [x9, #-8] cbz x10, LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w11, [x9], #16 cmp w11, w8 b.ne LBB0_3 ; %bb.5: mov x0, x10 LBB0_6: ret LBB0_7: Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _op_common_status_strings,8,3 ; @op_common_status_strings .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unknown Op Common Status" .subsections_via_symbols
AnghaBench/linux/tools/usb/usbip/libsrc/extr_usbip_common.c_usbip_op_common_status_string.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) movl l___const.main.x+8(%rip), %eax movl %eax, -32(%rbp) movq l___const.main.x(%rip), %rax movq %rax, -40(%rbp) leaq -32(%rbp), %r14 leaq L_.str(%rip), %rbx leaq -40(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _printf leaq -36(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi movq %r14, %rsi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $32, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__const .p2align 2 ## @__const.main.x l___const.main.x: .long 1 ## 0x1 .long 2 ## 0x2 .long 3 ## 0x3 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%p \n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] Lloh3: adrp x8, l___const.main.x@PAGE Lloh4: add x8, x8, l___const.main.x@PAGEOFF ldr x9, [x8] ldr w8, [x8, #8] str w8, [sp, #16] add x20, sp, #8 add x21, x20, #8 stp x20, x9, [sp] Lloh5: adrp x19, l_.str@PAGE Lloh6: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf orr x8, x20, #0x4 str x8, [sp] mov x0, x19 bl _printf str x21, [sp] mov x0, x19 bl _printf ldr x8, [sp, #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 LBB0_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__const .p2align 2 ; @__const.main.x l___const.main.x: .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%p \n" .subsections_via_symbols
the_stack_data/6388507.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/151705676.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tick_setup_oneshot ## -- Begin function tick_setup_oneshot .p2align 4, 0x90 _tick_setup_oneshot: ## @tick_setup_oneshot .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 %edx, %r14d movq %rdi, %rbx movq %rsi, (%rdi) movq _CLOCK_EVT_MODE_ONESHOT@GOTPCREL(%rip), %rax movl (%rax), %esi callq _clockevents_set_mode movq %rbx, %rdi movl %r14d, %esi movl $1, %edx popq %rbx popq %r14 popq %rbp jmp _tick_dev_program_event ## TAILCALL .cfi_endproc ## -- End function .comm _CLOCK_EVT_MODE_ONESHOT,4,2 ## @CLOCK_EVT_MODE_ONESHOT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tick_setup_oneshot ; -- Begin function tick_setup_oneshot .p2align 2 _tick_setup_oneshot: ; @tick_setup_oneshot .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 mov x20, x0 str x1, [x0] Lloh0: adrp x8, _CLOCK_EVT_MODE_ONESHOT@GOTPAGE Lloh1: ldr x8, [x8, _CLOCK_EVT_MODE_ONESHOT@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _clockevents_set_mode mov x0, x20 mov x1, x19 mov w2, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _tick_dev_program_event .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CLOCK_EVT_MODE_ONESHOT,4,2 ; @CLOCK_EVT_MODE_ONESHOT .subsections_via_symbols
AnghaBench/fastsocket/kernel/kernel/time/extr_tick-oneshot.c_tick_setup_oneshot.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sys_eventfd2 ## -- Begin function sys_eventfd2 .p2align 4, 0x90 _sys_eventfd2: ## @sys_eventfd2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movl %edi, %r14d leaq L_.str(%rip), %rdi movl %r14d, %esi movl %ebx, %edx callq _STRACE movq _O_CLOEXEC_@GOTPCREL(%rip), %rax movq _O_NONBLOCK_@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx notl %ecx testl %ebx, %ecx je LBB0_2 ## %bb.1: movq __EINVAL@GOTPCREL(%rip), %rax LBB0_4: movl (%rax), %eax popq %rbx popq %r14 popq %rbp retq LBB0_2: movq _eventfd_ops@GOTPCREL(%rip), %rdi callq _adhoc_fd_create testq %rax, %rax je LBB0_3 ## %bb.5: movl %r14d, (%rax) movq %rax, %rdi movl %ebx, %esi popq %rbx popq %r14 popq %rbp jmp _f_install ## TAILCALL LBB0_3: movq __ENOMEM@GOTPCREL(%rip), %rax jmp LBB0_4 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "eventfd(%d, %#x)" .comm _O_CLOEXEC_,4,2 ## @O_CLOEXEC_ .comm _O_NONBLOCK_,4,2 ## @O_NONBLOCK_ .comm __EINVAL,4,2 ## @_EINVAL .comm _eventfd_ops,4,2 ## @eventfd_ops .comm __ENOMEM,4,2 ## @_ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sys_eventfd2 ; -- Begin function sys_eventfd2 .p2align 2 _sys_eventfd2: ; @sys_eventfd2 .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 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x20 mov x2, x19 bl _STRACE Lloh2: adrp x8, _O_CLOEXEC_@GOTPAGE Lloh3: ldr x8, [x8, _O_CLOEXEC_@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: adrp x9, _O_NONBLOCK_@GOTPAGE Lloh6: ldr x9, [x9, _O_NONBLOCK_@GOTPAGEOFF] Lloh7: ldr w9, [x9] orr w8, w9, w8 bics wzr, w19, w8 b.eq LBB0_3 ; %bb.1: Lloh8: adrp x8, __EINVAL@GOTPAGE Lloh9: ldr x8, [x8, __EINVAL@GOTPAGEOFF] LBB0_2: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: Lloh10: adrp x0, _eventfd_ops@GOTPAGE Lloh11: ldr x0, [x0, _eventfd_ops@GOTPAGEOFF] bl _adhoc_fd_create cbz x0, LBB0_5 ; %bb.4: str w20, [x0] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _f_install LBB0_5: Lloh12: adrp x8, __ENOMEM@GOTPAGE Lloh13: ldr x8, [x8, __ENOMEM@GOTPAGEOFF] b LBB0_2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "eventfd(%d, %#x)" .comm _O_CLOEXEC_,4,2 ; @O_CLOEXEC_ .comm _O_NONBLOCK_,4,2 ; @O_NONBLOCK_ .comm __EINVAL,4,2 ; @_EINVAL .comm _eventfd_ops,4,2 ; @eventfd_ops .comm __ENOMEM,4,2 ; @_ENOMEM .subsections_via_symbols
AnghaBench/ish/kernel/extr_eventfd.c_sys_eventfd2.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function main LCPI0_0: .long 0x4085f92d ## float 4.18666697 .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 subq $16, %rsp movl $0, -4(%rbp) leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf cvtsi2ssl -4(%rbp), %xmm0 movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero mulss %xmm0, %xmm1 mulss %xmm0, %xmm1 mulss %xmm0, %xmm1 xorps %xmm0, %xmm0 cvtss2sd %xmm1, %xmm0 leaq L_.str.2(%rip), %rdi movb $1, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter radius: " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "\nSphere volume: %.2f cubic meters\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 stur wzr, [x29, #-4] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #4 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur s0, [x29, #-4] scvtf s0, s0 mov w8, #63789 movk w8, #16517, lsl #16 fmov s1, w8 fmul s1, s0, s1 fmul s1, s1, s0 fmul s0, s1, s0 fcvt d0, s0 str d0, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter radius: " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "\nSphere volume: %.2f cubic meters\n" .subsections_via_symbols
the_stack_data/455685.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _WPACKET_init ## -- Begin function WPACKET_init .p2align 4, 0x90 _WPACKET_init: ## @WPACKET_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edx, %edx popq %rbp jmp _WPACKET_init_len ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _WPACKET_init ; -- Begin function WPACKET_init .p2align 2 _WPACKET_init: ; @WPACKET_init .cfi_startproc ; %bb.0: mov w2, #0 b _WPACKET_init_len .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/ssl/extr_packet.c_WPACKET_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ASN1_PCTX_get_nm_flags ## -- Begin function ASN1_PCTX_get_nm_flags .p2align 4, 0x90 _ASN1_PCTX_get_nm_flags: ## @ASN1_PCTX_get_nm_flags .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 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 _ASN1_PCTX_get_nm_flags ; -- Begin function ASN1_PCTX_get_nm_flags .p2align 2 _ASN1_PCTX_get_nm_flags: ; @ASN1_PCTX_get_nm_flags .cfi_startproc ; %bb.0: ldr x0, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/openssl/crypto/asn1/extr_tasn_prn.c_ASN1_PCTX_get_nm_flags.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function quicc_fdt_probe _quicc_fdt_probe: ## @quicc_fdt_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx callq _ofw_bus_status_okay testl %eax, %eax je LBB0_1 ## %bb.2: leaq L_.str(%rip), %rsi movl %ebx, %edi callq _ofw_bus_is_compatible testl %eax, %eax je LBB0_1 ## %bb.3: movl %ebx, %edi callq _ofw_bus_get_node movl %eax, %edi callq _OF_parent leaq L_.str.1(%rip), %rsi leaq -16(%rbp), %rdx movl %eax, %edi movl $8, %ecx callq _OF_getprop testq %rax, %rax jle LBB0_5 ## %bb.4: movq -16(%rbp), %rsi jmp LBB0_6 LBB0_1: movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_7 LBB0_5: movq $0, -16(%rbp) xorl %esi, %esi LBB0_6: movl %ebx, %edi callq _quicc_bfe_probe LBB0_7: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _ENXIO,4,2 ## @ENXIO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "fsl,cpm2" L_.str.1: ## @.str.1 .asciz "bus-frequency" .no_dead_strip _quicc_fdt_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function quicc_fdt_probe _quicc_fdt_probe: ; @quicc_fdt_probe .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _ofw_bus_status_okay cbz w0, LBB0_4 ; %bb.1: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _ofw_bus_is_compatible cbz w0, LBB0_4 ; %bb.2: mov x0, x19 bl _ofw_bus_get_node bl _OF_parent Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF add x2, sp, #8 mov w3, #8 bl _OF_getprop cmp x0, #1 b.lt LBB0_5 ; %bb.3: ldr x1, [sp, #8] b LBB0_6 LBB0_4: Lloh4: adrp x8, _ENXIO@GOTPAGE Lloh5: ldr x8, [x8, _ENXIO@GOTPAGEOFF] Lloh6: ldr w0, [x8] b LBB0_7 LBB0_5: mov x1, #0 str xzr, [sp, #8] LBB0_6: mov x0, x19 bl _quicc_bfe_probe LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _ENXIO,4,2 ; @ENXIO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "fsl,cpm2" l_.str.1: ; @.str.1 .asciz "bus-frequency" .no_dead_strip _quicc_fdt_probe .subsections_via_symbols
AnghaBench/freebsd/sys/dev/quicc/extr_quicc_bfe_fdt.c_quicc_fdt_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_geoip_resource ## -- Begin function is_geoip_resource .p2align 4, 0x90 _is_geoip_resource: ## @is_geoip_resource .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _geo_location_data@GOTPCREL(%rip), %rcx xorl %eax, %eax cmpq $0, (%rcx) setne %al popq %rbp retq .cfi_endproc ## -- End function .comm _geo_location_data,8,3 ## @geo_location_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_geoip_resource ; -- Begin function is_geoip_resource .p2align 2 _is_geoip_resource: ; @is_geoip_resource .cfi_startproc ; %bb.0: Lloh0: adrp x8, _geo_location_data@GOTPAGE Lloh1: ldr x8, [x8, _geo_location_data@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, #0 cset w0, ne ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _geo_location_data,8,3 ; @geo_location_data .subsections_via_symbols
AnghaBench/goaccess/src/extr_geoip1.c_is_geoip_resource.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mzap_upgrade _mzap_upgrade: ## @mzap_upgrade .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r13d movq %rdx, %r12 movq %rsi, -80(%rbp) ## 8-byte Spill movq %rdi, %r14 movq (%rdi), %r15 leaq 24(%r15), %rdi callq _RW_WRITE_HELD movl %eax, %edi callq _ASSERT movq 16(%r15), %rax movl (%rax), %ebx movq _KM_SLEEP@GOTPCREL(%rip), %rax movl (%rax), %esi movl %ebx, %edi callq _vmem_alloc movq %rax, %rsi movq 16(%r15), %rax movl 4(%rax), %edi movq %rsi, -56(%rbp) ## 8-byte Spill movl %ebx, -44(%rbp) ## 4-byte Spill movl %ebx, %edx movl %r13d, %ebx callq _bcopy movl 12(%r15), %r13d testl %ebx, %ebx je LBB0_1 LBB0_3: movq (%r15), %rsi leaq L_.str(%rip), %rdi movl %r13d, %edx callq _dprintf movq %r15, %rdi callq _mze_destroy movq %r15, %rdi movq %r12, %rsi movl %ebx, %edx callq _fzap_upgrade testl %r13d, %r13d movq %r14, -64(%rbp) ## 8-byte Spill jle LBB0_9 ## %bb.4: shlq $4, %r13 xorl %ebx, %ebx movq %r13, -72(%rbp) ## 8-byte Spill jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movq %r15, %r13 leaq (%r12,%rbx), %r15 addq $8, %r15 movl 8(%r12,%rbx), %edx leaq L_.str.1(%rip), %rdi callq _dprintf movq (%r12,%rbx), %rsi movq %r13, %rdi xorl %edx, %edx callq _zap_name_alloc movq %rax, %r13 movl 12(%r12,%rbx), %r8d movq %r14, %r12 movq %r14, (%rsp) movq %rax, %rdi movl $8, %esi movl $1, %edx movq %r15, %rcx movq -80(%rbp), %r9 ## 8-byte Reload callq _fzap_add_cd movl %eax, %edi callq _VERIFY0 movq (%r13), %r15 movq %r13, %rdi movq -72(%rbp), %r13 ## 8-byte Reload callq _zap_name_free LBB0_8: ## in Loop: Header=BB0_5 Depth=1 addq $16, %rbx cmpq %rbx, %r13 je LBB0_9 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq %r12, %r14 movq -56(%rbp), %rax ## 8-byte Reload movq (%rax), %r12 movq (%r12,%rbx), %rsi cmpq $0, (%rsi) jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq %r14, %r12 jmp LBB0_8 LBB0_9: movq -56(%rbp), %rdi ## 8-byte Reload movl -44(%rbp), %esi ## 4-byte Reload callq _vmem_free movq -64(%rbp), %rax ## 8-byte Reload movq %r15, (%rax) xorl %eax, %eax jmp LBB0_10 LBB0_1: movl 8(%r15), %edi movq (%r15), %rsi movq _fzap_default_block_shift@GOTPCREL(%rip), %rax movb (%rax), %cl movl $1, %edx shlq %cl, %rdx xorl %ecx, %ecx movq %r12, %r8 callq _dmu_object_set_blocksize testl %eax, %eax je LBB0_3 ## %bb.2: movq -56(%rbp), %rdi ## 8-byte Reload movl -44(%rbp), %esi ## 4-byte Reload movl %eax, %ebx callq _vmem_free movl %ebx, %eax LBB0_10: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _KM_SLEEP,4,2 ## @KM_SLEEP .comm _fzap_default_block_shift,8,3 ## @fzap_default_block_shift .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "upgrading obj=%llu with %u chunks\n" L_.str.1: ## @.str.1 .asciz "adding %s=%llu\n" .no_dead_strip _mzap_upgrade .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mzap_upgrade _mzap_upgrade: ; @mzap_upgrade .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 x25, x3 mov x20, x2 mov x21, x1 mov x19, x0 ldr x23, [x0] add x0, x23, #24 bl _RW_WRITE_HELD bl _ASSERT ldr x8, [x23, #16] ldr w22, [x8] Lloh0: adrp x8, _KM_SLEEP@GOTPAGE Lloh1: ldr x8, [x8, _KM_SLEEP@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x22 bl _vmem_alloc mov x24, x0 ldr x8, [x23, #16] ldr w0, [x8, #4] mov x1, x24 mov x2, x22 bl _bcopy ldr w26, [x23, #12] cbz w25, LBB0_7 LBB0_1: ldr x1, [x23] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF mov x2, x26 bl _dprintf mov x0, x23 bl _mze_destroy mov x0, x23 mov x1, x20 mov x2, x25 bl _fzap_upgrade cmp w26, #1 str x19, [sp, #8] ; 8-byte Folded Spill str w22, [sp, #4] ; 4-byte Folded Spill b.lt LBB0_6 ; %bb.2: mov x28, #0 lsl x19, x26, #4 Lloh5: adrp x25, l_.str.1@PAGE Lloh6: add x25, x25, l_.str.1@PAGEOFF b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x28, x28, #16 cmp x19, x28 b.eq LBB0_6 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x24] ldr x1, [x8, x28] ldr x9, [x1] cbz x9, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 add x26, x8, x28 mov x22, x26 ldr w2, [x22, #8]! mov x0, x25 bl _dprintf ldr x1, [x26] mov x0, x23 mov w2, #0 bl _zap_name_alloc mov x27, x0 ldr w4, [x26, #12] mov w1, #8 mov w2, #1 mov x3, x22 mov x5, x21 mov x6, x20 bl _fzap_add_cd bl _VERIFY0 ldr x23, [x27] mov x0, x27 bl _zap_name_free b LBB0_3 LBB0_6: mov x0, x24 ldr w1, [sp, #4] ; 4-byte Folded Reload bl _vmem_free mov w27, #0 ldr x8, [sp, #8] ; 8-byte Folded Reload str x23, [x8] b LBB0_9 LBB0_7: ldr w0, [x23, #8] ldr x1, [x23] Lloh7: adrp x8, _fzap_default_block_shift@GOTPAGE Lloh8: ldr x8, [x8, _fzap_default_block_shift@GOTPAGEOFF] Lloh9: ldr x8, [x8] mov w9, #1 lsl x2, x9, x8 mov w3, #0 mov x4, x20 bl _dmu_object_set_blocksize cbz w0, LBB0_1 ; %bb.8: mov x27, x0 mov x0, x24 mov x1, x22 bl _vmem_free LBB0_9: mov x0, x27 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _KM_SLEEP,4,2 ; @KM_SLEEP .comm _fzap_default_block_shift,8,3 ; @fzap_default_block_shift .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "upgrading obj=%llu with %u chunks\n" l_.str.1: ; @.str.1 .asciz "adding %s=%llu\n" .no_dead_strip _mzap_upgrade .subsections_via_symbols
AnghaBench/zfs/module/zfs/extr_zap_micro.c_mzap_upgrade.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function velocity_get_ip _velocity_get_ip: ## @velocity_get_ip .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 8(%rdi), %rax movq (%rax), %rax testq %rax, %rax je LBB0_3 ## %bb.1: movq (%rax), %rsi testq %rsi, %rsi je LBB0_3 ## %bb.2: movl (%rdi), %edi movl $4, %edx callq _memcpy xorl %eax, %eax popq %rbp retq LBB0_3: movq _ENOENT@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ENOENT,4,2 ## @ENOENT .no_dead_strip _velocity_get_ip .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function velocity_get_ip _velocity_get_ip: ; @velocity_get_ip .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, #8] ldr x8, [x8] cbz x8, LBB0_3 ; %bb.1: ldr x1, [x8] cbz x1, LBB0_3 ; %bb.2: ldr w0, [x0] mov w2, #4 bl _memcpy mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_3: Lloh0: adrp x8, _ENOENT@GOTPAGE Lloh1: ldr x8, [x8, _ENOENT@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENOENT,4,2 ; @ENOENT .no_dead_strip _velocity_get_ip .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/extr_via-velocity.h_velocity_get_ip.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tqmx86_gpio_direction_input _tqmx86_gpio_direction_input: ## @tqmx86_gpio_direction_input .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, %edi callq _BIT movq _TQMX86_DIR_INPUT_MASK@GOTPCREL(%rip), %rdx movq _EINVAL@GOTPCREL(%rip), %rsi xorl %edi, %edi xorl %ecx, %ecx subl (%rsi), %ecx testl %eax, (%rdx) cmovnel %edi, %ecx movl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _TQMX86_DIR_INPUT_MASK,4,2 ## @TQMX86_DIR_INPUT_MASK .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _tqmx86_gpio_direction_input .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tqmx86_gpio_direction_input _tqmx86_gpio_direction_input: ; @tqmx86_gpio_direction_input .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 _BIT Lloh0: adrp x8, _TQMX86_DIR_INPUT_MASK@GOTPAGE Lloh1: ldr x8, [x8, _TQMX86_DIR_INPUT_MASK@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _EINVAL@GOTPAGE Lloh4: ldr x9, [x9, _EINVAL@GOTPAGEOFF] Lloh5: ldr w9, [x9] tst w8, w0 csneg w0, wzr, w9, ne ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TQMX86_DIR_INPUT_MASK,4,2 ; @TQMX86_DIR_INPUT_MASK .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _tqmx86_gpio_direction_input .subsections_via_symbols
AnghaBench/linux/drivers/gpio/extr_gpio-tqmx86.c_tqmx86_gpio_direction_input.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cpum_cf_setup _cpum_cf_setup: ## @cpum_cf_setup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %esi, -4(%rbp) xorl %eax, %eax callq _local_irq_disable leaq -4(%rbp), %rdi callq _cpum_cf_setup_cpu xorl %eax, %eax callq _local_irq_enable xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _cpum_cf_setup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cpum_cf_setup _cpum_cf_setup: ; @cpum_cf_setup .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w1, [x29, #-4] bl _local_irq_disable sub x0, x29, #4 bl _cpum_cf_setup_cpu bl _local_irq_enable mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _cpum_cf_setup .subsections_via_symbols
AnghaBench/linux/arch/s390/kernel/extr_perf_cpum_cf_common.c_cpum_cf_setup.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 leaq L_str(%rip), %rdi callq _puts leaq L_str.4(%rip), %rdi callq _puts leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str.5(%rip), %rdi callq _puts xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "Jason" L_str: ## @str .asciz "Jason Oh" L_str.4: ## @str.4 .asciz "Jason\nOh" L_str.5: ## @str.5 .asciz " Oh" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x0, l_str.4@PAGE Lloh3: add x0, x0, l_str.4@PAGEOFF bl _puts Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf Lloh6: adrp x0, l_str.5@PAGE Lloh7: add x0, x0, l_str.5@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload 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.2: ; @.str.2 .asciz "Jason" l_str: ; @str .asciz "Jason Oh" l_str.4: ; @str.4 .asciz "Jason\nOh" l_str.5: ; @str.5 .asciz " Oh" .subsections_via_symbols
the_stack_data/90764976.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dln2_suspend _dln2_suspend: ## @dln2_suspend .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _usb_get_intfdata movq %rax, %rdi callq _dln2_stop xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _dln2_suspend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dln2_suspend _dln2_suspend: ; @dln2_suspend .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 _usb_get_intfdata bl _dln2_stop mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _dln2_suspend .subsections_via_symbols
AnghaBench/linux/drivers/mfd/extr_dln2.c_dln2_suspend.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __rh_alloc ___rh_alloc: ## @__rh_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r12d movq %rdi, %r14 leaq 12(%rdi), %r15 movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _mempool_alloc movq %rax, %rbx xorl %edi, %edi testq %rax, %rax sete %dil callq _unlikely testq %rax, %rax je LBB0_2 ## %bb.1: movq _GFP_NOIO@GOTPCREL(%rip), %rax movq ___GFP_NOFAIL@GOTPCREL(%rip), %rcx movl (%rcx), %esi orl (%rax), %esi movl $32, %edi callq _kmalloc movq %rax, %rbx LBB0_2: movq 16(%r14), %rdi movq (%rdi), %rax movl %r12d, %esi movl $1, %edx callq *(%rax) testq %rax, %rax jne LBB0_3 ## %bb.4: movq _DM_RH_NOSYNC@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_3: movq _DM_RH_CLEAN@GOTPCREL(%rip), %rax LBB0_5: movq (%rax), %rax movq %rax, (%rbx) movq %r14, 24(%rbx) movl %r12d, 20(%rbx) leaq 8(%rbx), %r13 movq %r13, %rdi callq _INIT_LIST_HEAD leaq 16(%rbx), %rdi xorl %esi, %esi callq _atomic_set leaq 12(%rbx), %rdi callq _bio_list_init movq %r14, %rdi callq _write_lock_irq movq %r14, %rdi movl %r12d, %esi callq ___rh_lookup testq %rax, %rax je LBB0_7 ## %bb.6: movq %rax, %r12 movq %rbx, %rdi movq %r15, %rsi callq _mempool_free movq %r12, %rbx jmp LBB0_9 LBB0_7: movq %r14, %rdi movq %rbx, %rsi callq ___rh_insert movq (%rbx), %rax movq _DM_RH_CLEAN@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_9 ## %bb.8: leaq 4(%r14), %r15 movq %r15, %rdi callq _spin_lock leaq 8(%r14), %rsi movq %r13, %rdi callq _list_add movq %r15, %rdi callq _spin_unlock LBB0_9: movq %r14, %rdi callq _write_unlock_irq 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_ATOMIC,4,2 ## @GFP_ATOMIC .comm _GFP_NOIO,4,2 ## @GFP_NOIO .comm ___GFP_NOFAIL,4,2 ## @__GFP_NOFAIL .comm _DM_RH_CLEAN,8,3 ## @DM_RH_CLEAN .comm _DM_RH_NOSYNC,8,3 ## @DM_RH_NOSYNC .no_dead_strip ___rh_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __rh_alloc ___rh_alloc: ; @__rh_alloc .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 add x21, x0, #12 Lloh0: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh1: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x21 bl _mempool_alloc mov x20, x0 cmp x0, #0 cset w0, eq bl _unlikely cbz x0, LBB0_2 ; %bb.1: Lloh3: adrp x8, _GFP_NOIO@GOTPAGE Lloh4: ldr x8, [x8, _GFP_NOIO@GOTPAGEOFF] Lloh5: ldr w8, [x8] Lloh6: adrp x9, ___GFP_NOFAIL@GOTPAGE Lloh7: ldr x9, [x9, ___GFP_NOFAIL@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w1, w9, w8 mov w0, #32 bl _kmalloc mov x20, x0 LBB0_2: ldr x0, [x19, #16] ldr x8, [x0] ldr x8, [x8] mov x1, x22 mov w2, #1 blr x8 Lloh9: adrp x24, _DM_RH_CLEAN@GOTPAGE Lloh10: ldr x24, [x24, _DM_RH_CLEAN@GOTPAGEOFF] Lloh11: adrp x8, _DM_RH_NOSYNC@GOTPAGE Lloh12: ldr x8, [x8, _DM_RH_NOSYNC@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x24, eq ldr x8, [x8] str x8, [x20] str x19, [x20, #24] str w22, [x20, #20] add x23, x20, #8 mov x0, x23 bl _INIT_LIST_HEAD add x0, x20, #16 mov w1, #0 bl _atomic_set add x0, x20, #12 bl _bio_list_init mov x0, x19 bl _write_lock_irq mov x0, x19 mov x1, x22 bl ___rh_lookup cbz x0, LBB0_4 ; %bb.3: mov x22, x0 mov x0, x20 mov x1, x21 bl _mempool_free mov x20, x22 b LBB0_6 LBB0_4: mov x0, x19 mov x1, x20 bl ___rh_insert ldr x8, [x20] ldr x9, [x24] cmp x8, x9 b.ne LBB0_6 ; %bb.5: add x21, x19, #4 mov x0, x21 bl _spin_lock add x1, x19, #8 mov x0, x23 bl _list_add mov x0, x21 bl _spin_unlock LBB0_6: mov x0, x19 bl _write_unlock_irq mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .comm _GFP_NOIO,4,2 ; @GFP_NOIO .comm ___GFP_NOFAIL,4,2 ; @__GFP_NOFAIL .comm _DM_RH_CLEAN,8,3 ; @DM_RH_CLEAN .comm _DM_RH_NOSYNC,8,3 ; @DM_RH_NOSYNC .no_dead_strip ___rh_alloc .subsections_via_symbols
AnghaBench/linux/drivers/md/extr_dm-region-hash.c___rh_alloc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pulse_get_sink_info_list ## -- Begin function pulse_get_sink_info_list .p2align 4, 0x90 _pulse_get_sink_info_list: ## @pulse_get_sink_info_list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movl %edi, %ebx xorl %eax, %eax callq _pulse_context_ready testq %rax, %rax js LBB0_1 ## %bb.2: xorl %eax, %eax callq _pulse_lock movq _pulse_context@GOTPCREL(%rip), %rax movl (%rax), %edi movl %ebx, %esi movq %r14, %rdx callq _pa_context_get_sink_info_list testq %rax, %rax je LBB0_3 ## %bb.4: movq %rax, %rbx movq %rax, %rdi callq _pa_operation_get_state movq _PA_OPERATION_RUNNING@GOTPCREL(%rip), %r14 cmpq (%r14), %rax jne LBB0_7 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax callq _pulse_wait movq %rbx, %rdi callq _pa_operation_get_state cmpq (%r14), %rax je LBB0_5 LBB0_7: movq %rbx, %rdi callq _pa_operation_unref xorl %ebx, %ebx jmp LBB0_8 LBB0_1: movl $-1, %ebx jmp LBB0_9 LBB0_3: movl $-1, %ebx LBB0_8: xorl %eax, %eax callq _pulse_unlock LBB0_9: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _pulse_context,4,2 ## @pulse_context .comm _PA_OPERATION_RUNNING,8,3 ## @PA_OPERATION_RUNNING .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pulse_get_sink_info_list ; -- Begin function pulse_get_sink_info_list .p2align 2 _pulse_get_sink_info_list: ; @pulse_get_sink_info_list .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _pulse_context_ready tbnz x0, #63, LBB0_6 ; %bb.1: bl _pulse_lock Lloh0: adrp x8, _pulse_context@GOTPAGE Lloh1: ldr x8, [x8, _pulse_context@GOTPAGEOFF] Lloh2: ldr w0, [x8] mov x1, x20 mov x2, x19 bl _pa_context_get_sink_info_list cbz x0, LBB0_7 ; %bb.2: mov x19, x0 bl _pa_operation_get_state Lloh3: adrp x20, _PA_OPERATION_RUNNING@GOTPAGE Lloh4: ldr x20, [x20, _PA_OPERATION_RUNNING@GOTPAGEOFF] LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20] cmp x0, x8 b.ne LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 bl _pulse_wait mov x0, x19 bl _pa_operation_get_state b LBB0_3 LBB0_5: mov x0, x19 bl _pa_operation_unref mov w19, #0 b LBB0_8 LBB0_6: mov w19, #-1 b LBB0_9 LBB0_7: mov w19, #-1 LBB0_8: bl _pulse_unlock LBB0_9: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _pulse_context,4,2 ; @pulse_context .comm _PA_OPERATION_RUNNING,8,3 ; @PA_OPERATION_RUNNING .subsections_via_symbols
AnghaBench/obs-studio/plugins/linux-pulseaudio/extr_pulse-wrapper.c_pulse_get_sink_info_list.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cluster_init ## -- Begin function cluster_init .p2align 4, 0x90 _cluster_init: ## @cluster_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %eax, %eax callq _lck_grp_attr_alloc_init movq _cl_mtx_grp_attr@GOTPCREL(%rip), %rcx movl %eax, (%rcx) leaq L_.str(%rip), %rdi movl %eax, %esi callq _lck_grp_alloc_init movq _cl_mtx_grp@GOTPCREL(%rip), %rbx movl %eax, (%rbx) xorl %eax, %eax callq _lck_attr_alloc_init movq _cl_mtx_attr@GOTPCREL(%rip), %r14 movl %eax, (%r14) movl (%rbx), %edi movl %eax, %esi callq _lck_mtx_alloc_init movq _cl_transaction_mtxp@GOTPCREL(%rip), %rcx movq %rax, (%rcx) testq %rax, %rax jne LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rdi callq _panic LBB0_2: movl (%rbx), %esi movl (%r14), %edx movq _cl_direct_read_spin_lock@GOTPCREL(%rip), %rdi callq _lck_spin_init movq _CL_DIRECT_READ_LOCK_BUCKETS@GOTPCREL(%rip), %r14 cmpl $0, (%r14) jle LBB0_5 ## %bb.3: xorl %r12d, %r12d movq _cl_direct_read_locks@GOTPCREL(%rip), %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rdi addq %r12, %rdi callq _LIST_INIT incq %rbx movslq (%r14), %rax addq $4, %r12 cmpq %rax, %rbx jl LBB0_4 LBB0_5: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _cl_mtx_grp_attr,4,2 ## @cl_mtx_grp_attr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "cluster I/O" .comm _cl_mtx_grp,4,2 ## @cl_mtx_grp .comm _cl_mtx_attr,4,2 ## @cl_mtx_attr .comm _cl_transaction_mtxp,8,3 ## @cl_transaction_mtxp L_.str.1: ## @.str.1 .asciz "cluster_init: failed to allocate cl_transaction_mtxp" .comm _cl_direct_read_spin_lock,4,2 ## @cl_direct_read_spin_lock .comm _CL_DIRECT_READ_LOCK_BUCKETS,4,2 ## @CL_DIRECT_READ_LOCK_BUCKETS .comm _cl_direct_read_locks,8,3 ## @cl_direct_read_locks .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cluster_init ; -- Begin function cluster_init .p2align 2 _cluster_init: ; @cluster_init .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 bl _lck_grp_attr_alloc_init mov x1, x0 Lloh0: adrp x8, _cl_mtx_grp_attr@GOTPAGE Lloh1: ldr x8, [x8, _cl_mtx_grp_attr@GOTPAGEOFF] Lloh2: str w0, [x8] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _lck_grp_alloc_init Lloh5: adrp x19, _cl_mtx_grp@GOTPAGE Lloh6: ldr x19, [x19, _cl_mtx_grp@GOTPAGEOFF] str w0, [x19] bl _lck_attr_alloc_init mov x1, x0 Lloh7: adrp x20, _cl_mtx_attr@GOTPAGE Lloh8: ldr x20, [x20, _cl_mtx_attr@GOTPAGEOFF] str w0, [x20] ldr w0, [x19] bl _lck_mtx_alloc_init Lloh9: adrp x8, _cl_transaction_mtxp@GOTPAGE Lloh10: ldr x8, [x8, _cl_transaction_mtxp@GOTPAGEOFF] Lloh11: str x0, [x8] cbnz x0, LBB0_2 ; %bb.1: Lloh12: adrp x0, l_.str.1@PAGE Lloh13: add x0, x0, l_.str.1@PAGEOFF bl _panic LBB0_2: ldr w1, [x19] ldr w2, [x20] Lloh14: adrp x0, _cl_direct_read_spin_lock@GOTPAGE Lloh15: ldr x0, [x0, _cl_direct_read_spin_lock@GOTPAGEOFF] bl _lck_spin_init Lloh16: adrp x19, _CL_DIRECT_READ_LOCK_BUCKETS@GOTPAGE Lloh17: ldr x19, [x19, _CL_DIRECT_READ_LOCK_BUCKETS@GOTPAGEOFF] ldr w8, [x19] cmp w8, #1 b.lt LBB0_5 ; %bb.3: mov x20, #0 mov x21, #0 Lloh18: adrp x22, _cl_direct_read_locks@GOTPAGE Lloh19: ldr x22, [x22, _cl_direct_read_locks@GOTPAGEOFF] LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22] add x0, x8, x20 bl _LIST_INIT add x21, x21, #1 ldrsw x8, [x19] add x20, x20, #4 cmp x21, x8 b.lt LBB0_4 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _cl_mtx_grp_attr,4,2 ; @cl_mtx_grp_attr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "cluster I/O" .comm _cl_mtx_grp,4,2 ; @cl_mtx_grp .comm _cl_mtx_attr,4,2 ; @cl_mtx_attr .comm _cl_transaction_mtxp,8,3 ; @cl_transaction_mtxp l_.str.1: ; @.str.1 .asciz "cluster_init: failed to allocate cl_transaction_mtxp" .comm _cl_direct_read_spin_lock,4,2 ; @cl_direct_read_spin_lock .comm _CL_DIRECT_READ_LOCK_BUCKETS,4,2 ; @CL_DIRECT_READ_LOCK_BUCKETS .comm _cl_direct_read_locks,8,3 ; @cl_direct_read_locks .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_cluster.c_cluster_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function hns3_nic_reset_all_ring LCPI0_0: .space 16 .section __TEXT,__text,regular,pure_instructions .globl _hns3_nic_reset_all_ring .p2align 4, 0x90 _hns3_nic_reset_all_ring: ## @hns3_nic_reset_all_ring .cfi_startproc ## %bb.0: 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 8(%rdi), %rdi callq _netdev_priv movq %rax, %r14 cmpl $0, (%r15) jle LBB0_8 ## %bb.1: xorl %r12d, %r12d jmp LBB0_2 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 incq %r12 xorps %xmm0, %xmm0 movups %xmm0, 8(%r13) movslq (%r15), %rax cmpq %rax, %r12 jge LBB0_8 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 movq 16(%r15), %rax movq (%rax), %rax movq %r15, %rdi movl %r12d, %esi callq *(%rax) testl %eax, %eax jne LBB0_9 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq (%r14), %rax movq (%rax,%r12,8), %rdi callq _hns3_init_ring_hw movq (%r14), %rax movq (%rax,%r12,8), %rdi callq _hns3_clear_tx_ring movq (%r14), %rax movq (%rax,%r12,8), %rcx xorps %xmm0, %xmm0 movups %xmm0, 8(%rcx) movslq (%r15), %rcx movslq %r12d, %rdx addq %rcx, %rdx movq (%rax,%rdx,8), %r13 movq %r13, %rdi callq _hns3_init_ring_hw movq %r13, %rdi callq _hns3_clear_rx_ring testl %eax, %eax jne LBB0_9 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 cmpl $0, (%r13) jle LBB0_7 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r13, %rdi movl %ebx, %esi callq _hns3_reuse_buffer incl %ebx cmpl (%r13), %ebx jl LBB0_6 jmp LBB0_7 LBB0_8: movq %r14, %rdi callq _hns3_init_tx_ring_tc xorl %eax, %eax LBB0_9: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hns3_nic_reset_all_ring ; -- Begin function hns3_nic_reset_all_ring .p2align 2 _hns3_nic_reset_all_ring: ; @hns3_nic_reset_all_ring .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x0, [x0, #8] bl _netdev_priv mov x20, x0 ldr w8, [x19] cmp w8, #1 b.lt LBB0_8 ; %bb.1: mov x21, #0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, #1 stp xzr, xzr, [x22, #8] ldrsw x8, [x19] cmp x21, x8 b.ge LBB0_8 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ldr x8, [x19, #16] ldr x8, [x8] ldr x8, [x8] mov x0, x19 mov x1, x21 blr x8 cbnz w0, LBB0_9 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x20] lsl x22, x21, #3 ldr x0, [x8, x22] bl _hns3_init_ring_hw ldr x8, [x20] ldr x0, [x8, x22] bl _hns3_clear_tx_ring ldr x8, [x20] ldr x9, [x8, x22] stp xzr, xzr, [x9, #8] ldr w9, [x19] add w9, w9, w21 ldr x22, [x8, w9, sxtw #3] mov x0, x22 bl _hns3_init_ring_hw mov x0, x22 bl _hns3_clear_rx_ring cbnz w0, LBB0_9 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x22] cmp w8, #1 b.lt LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 mov w23, #0 LBB0_7: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x22 mov x1, x23 bl _hns3_reuse_buffer add w23, w23, #1 ldr w8, [x22] cmp w23, w8 b.lt LBB0_7 b LBB0_2 LBB0_8: mov x0, x20 bl _hns3_init_tx_ring_tc mov w0, #0 LBB0_9: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/extr_hns3_enet.c_hns3_nic_reset_all_ring.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cmd_wget_wstr ## -- Begin function cmd_wget_wstr .p2align 4, 0x90 _cmd_wget_wstr: ## @cmd_wget_wstr .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 callq _check_arg_count cmpl $1, %eax jne LBB0_2 ## %bb.1: popq %rbp retq LBB0_2: movl $1, %edi callq _report_count leaq L_.str(%rip), %rdi popq %rbp jmp _report_error ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "UNSUPPORTED" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cmd_wget_wstr ; -- Begin function cmd_wget_wstr .p2align 2 _cmd_wget_wstr: ; @cmd_wget_wstr .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 w1, #1 bl _check_arg_count cmp w0, #1 b.ne LBB0_2 ; %bb.1: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: mov w0, #1 bl _report_count Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _report_error .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "UNSUPPORTED" .subsections_via_symbols
AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_wget_wstr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _S_StartLocalSound ## -- Begin function S_StartLocalSound .p2align 4, 0x90 _S_StartLocalSound: ## @S_StartLocalSound .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _S_StartLocalSound ; -- Begin function S_StartLocalSound .p2align 2 _S_StartLocalSound: ; @S_StartLocalSound .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/null/extr_null_snddma.c_S_StartLocalSound.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function layout_find_bottomright _layout_find_bottomright: ## @layout_find_bottomright .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, %rax movq (%rdi), %rcx movq _LAYOUT_WINDOWPANE@GOTPCREL(%rip), %rbx cmpq (%rbx), %rcx je LBB0_3 ## %bb.1: movq _layout_cells@GOTPCREL(%rip), %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 addq $8, %rax movl (%r14), %esi movq %rax, %rdi callq _TAILQ_LAST movq (%rax), %rcx cmpq (%rbx), %rcx jne LBB0_2 LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _LAYOUT_WINDOWPANE,8,3 ## @LAYOUT_WINDOWPANE .comm _layout_cells,4,2 ## @layout_cells .no_dead_strip _layout_find_bottomright .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function layout_find_bottomright _layout_find_bottomright: ; @layout_find_bottomright .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0] Lloh0: adrp x19, _LAYOUT_WINDOWPANE@GOTPAGE Lloh1: ldr x19, [x19, _LAYOUT_WINDOWPANE@GOTPAGEOFF] ldr x9, [x19] cmp x8, x9 b.eq LBB0_3 ; %bb.1: Lloh2: adrp x20, _layout_cells@GOTPAGE Lloh3: ldr x20, [x20, _layout_cells@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 add x0, x0, #8 ldr w1, [x20] bl _TAILQ_LAST ldr x8, [x0] ldr x9, [x19] cmp x8, x9 b.ne LBB0_2 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _LAYOUT_WINDOWPANE,8,3 ; @LAYOUT_WINDOWPANE .comm _layout_cells,4,2 ; @layout_cells .no_dead_strip _layout_find_bottomright .subsections_via_symbols
AnghaBench/tmux/extr_layout-custom.c_layout_find_bottomright.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lkdtm_debugfs_open _lkdtm_debugfs_open: ## @lkdtm_debugfs_open .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 _lkdtm_debugfs_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lkdtm_debugfs_open _lkdtm_debugfs_open: ; @lkdtm_debugfs_open .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _lkdtm_debugfs_open .subsections_via_symbols
AnghaBench/linux/drivers/misc/lkdtm/extr_core.c_lkdtm_debugfs_open.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mpol_rebind_task ## -- Begin function mpol_rebind_task .p2align 4, 0x90 _mpol_rebind_task: ## @mpol_rebind_task .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi popq %rbp jmp _mpol_rebind_policy ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mpol_rebind_task ; -- Begin function mpol_rebind_task .p2align 2 _mpol_rebind_task: ; @mpol_rebind_task .cfi_startproc ; %bb.0: ldr w0, [x0] b _mpol_rebind_policy .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/mm/extr_mempolicy.c_mpol_rebind_task.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function usb_stv680_remove_disconnected _usb_stv680_remove_disconnected: ## @usb_stv680_remove_disconnected .cfi_startproc ## %bb.0: 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 movq $0, 56(%rdi) movq _FRAME_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rcx movq 48(%rdi), %rdx movq %rcx, (%rdx) movq (%rax), %rax movq %rax, 8(%rdx) movq $0, 40(%rdi) addq $32, %rdi callq _wake_up_interruptible movq _STV680_NUMSBUF@GOTPCREL(%rip), %r14 movl (%r14), %eax testl %eax, %eax jle LBB0_5 ## %bb.1: xorl %ebx, %ebx jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 incq %rbx movslq %eax, %rcx cmpq %rcx, %rbx jge LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 24(%r15), %rcx movq (%rcx,%rbx,8), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 callq _usb_kill_urb movq 24(%r15), %rax movq (%rax,%rbx,8), %rdi callq _usb_free_urb movq 24(%r15), %rax movq $0, (%rax,%rbx,8) movq 16(%r15), %rax movq (%rax,%rbx,8), %rdi callq _kfree movl (%r14), %eax jmp LBB0_4 LBB0_5: movq _STV680_NUMSCRATCH@GOTPCREL(%rip), %r14 cmpl $0, (%r14) jle LBB0_8 ## %bb.6: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq 8(%r15), %rax movq (%rax,%rbx,8), %rdi callq _kfree incq %rbx movslq (%r14), %rax cmpq %rax, %rbx jl LBB0_7 LBB0_8: movl (%r15), %edx leaq L_.str(%rip), %rsi xorl %edi, %edi callq _PDEBUG movq %r15, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _kfree ## TAILCALL .cfi_endproc ## -- End function .comm _FRAME_ERROR,8,3 ## @FRAME_ERROR .comm _STV680_NUMSBUF,4,2 ## @STV680_NUMSBUF .comm _STV680_NUMSCRATCH,4,2 ## @STV680_NUMSCRATCH .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "STV(i): %s disconnected" .no_dead_strip _usb_stv680_remove_disconnected .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function usb_stv680_remove_disconnected _usb_stv680_remove_disconnected: ; @usb_stv680_remove_disconnected .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 str xzr, [x0, #56] Lloh0: adrp x8, _FRAME_ERROR@GOTPAGE Lloh1: ldr x8, [x8, _FRAME_ERROR@GOTPAGEOFF] ldr x9, [x8] ldr x10, [x0, #48] str x9, [x10] ldr x8, [x8] str x8, [x10, #8] str xzr, [x0, #40] add x0, x0, #32 bl _wake_up_interruptible Lloh2: adrp x20, _STV680_NUMSBUF@GOTPAGE Lloh3: ldr x20, [x20, _STV680_NUMSBUF@GOTPAGEOFF] ldr w8, [x20] cmp w8, #1 b.lt LBB0_5 ; %bb.1: mov x21, #0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, #1 cmp x21, w8, sxtw b.ge LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x9, [x19, #24] ldr x0, [x9, x21, lsl #3] cbz x0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 bl _usb_kill_urb ldr x8, [x19, #24] lsl x22, x21, #3 ldr x0, [x8, x22] bl _usb_free_urb ldr x8, [x19, #24] str xzr, [x8, x22] ldr x8, [x19, #16] ldr x0, [x8, x22] bl _kfree ldr w8, [x20] b LBB0_2 LBB0_5: Lloh4: adrp x20, _STV680_NUMSCRATCH@GOTPAGE Lloh5: ldr x20, [x20, _STV680_NUMSCRATCH@GOTPAGEOFF] ldr w8, [x20] cmp w8, #1 b.lt LBB0_8 ; %bb.6: mov x21, #0 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] ldr x0, [x8, x21, lsl #3] bl _kfree add x21, x21, #1 ldrsw x8, [x20] cmp x21, x8 b.lt LBB0_7 LBB0_8: ldr w2, [x19] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF mov w0, #0 bl _PDEBUG 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 _kfree .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _FRAME_ERROR,8,3 ; @FRAME_ERROR .comm _STV680_NUMSBUF,4,2 ; @STV680_NUMSBUF .comm _STV680_NUMSCRATCH,4,2 ; @STV680_NUMSCRATCH .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "STV(i): %s disconnected" .no_dead_strip _usb_stv680_remove_disconnected .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/extr_stv680.c_usb_stv680_remove_disconnected.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _write_link_extension ## -- Begin function write_link_extension .p2align 4, 0x90 _write_link_extension: ## @write_link_extension .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq (%rsi), %rbx movl 8(%rbx), %esi movq _the_hash_algo@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax), %edx callq _strbuf_add movl 4(%rbx), %edi testl %edi, %edi jne LBB0_2 ## %bb.1: cmpl $0, (%rbx) je LBB0_3 LBB0_2: movq %r14, %rsi callq _ewah_serialize_strbuf movl (%rbx), %edi movq %r14, %rsi callq _ewah_serialize_strbuf LBB0_3: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _the_hash_algo,8,3 ## @the_hash_algo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _write_link_extension ; -- Begin function write_link_extension .p2align 2 _write_link_extension: ; @write_link_extension .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x20, [x1] ldr w1, [x20, #8] Lloh0: adrp x8, _the_hash_algo@GOTPAGE Lloh1: ldr x8, [x8, _the_hash_algo@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w2, [x8] bl _strbuf_add ldr w0, [x20, #4] cbnz w0, LBB0_2 ; %bb.1: ldr w8, [x20] cbz w8, LBB0_3 LBB0_2: mov x1, x19 bl _ewah_serialize_strbuf ldr w0, [x20] mov x1, x19 bl _ewah_serialize_strbuf LBB0_3: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _the_hash_algo,8,3 ; @the_hash_algo .subsections_via_symbols
AnghaBench/git/extr_split-index.c_write_link_extension.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _add ## -- Begin function add .p2align 4, 0x90 _add: ## @add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq (%rax), %rax movl $0, (%rax) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _add ; -- Begin function add .p2align 2 _add: ; @add .cfi_startproc ; %bb.0: ldr x8, [x0] ldr x8, [x8] str wzr, [x8] mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/136892.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function handlerMouseCrossed _handlerMouseCrossed: ## @handlerMouseCrossed .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 _handlerMouseCrossed .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function handlerMouseCrossed _handlerMouseCrossed: ; @handlerMouseCrossed .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _handlerMouseCrossed .subsections_via_symbols
AnghaBench/libui/test/extr_page9.c_handlerMouseCrossed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pp_post_recv _pp_post_recv: ## @pp_post_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 $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movslq 20(%rdi), %rax movq %rax, -56(%rbp) movq 8(%rdi), %rax movl (%rax), %eax movl %eax, -48(%rbp) movl 16(%rdi), %eax movl %eax, -44(%rbp) movl $1, -80(%rbp) leaq -56(%rbp), %rax movq %rax, -72(%rbp) movq _PINGPONG_RECV_WRID@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -64(%rbp) testl %esi, %esi jle LBB0_1 ## %bb.2: movl %esi, %r14d movq %rdi, %r15 xorl %ebx, %ebx leaq -80(%rbp), %r12 leaq -88(%rbp), %r13 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl (%r15), %edi movq %r12, %rsi movq %r13, %rdx callq _ibv_post_srq_recv testq %rax, %rax jne LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 incl %ebx cmpl %ebx, %r14d jne LBB0_3 ## %bb.5: movl %r14d, %ebx jmp LBB0_6 LBB0_1: xorl %ebx, %ebx LBB0_6: movl %ebx, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PINGPONG_RECV_WRID,4,2 ## @PINGPONG_RECV_WRID .no_dead_strip _pp_post_recv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pp_post_recv _pp_post_recv: ; @pp_post_recv .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 ldp w9, w8, [x0, #16] ; kill: def $w8 killed $w8 def $x8 sxtw x8, w8 str x8, [sp, #32] ldr x8, [x0, #8] ldr w8, [x8] stp w8, w9, [sp, #40] mov w8, #1 str w8, [sp, #8] add x8, sp, #32 str x8, [sp, #16] Lloh0: adrp x8, _PINGPONG_RECV_WRID@GOTPAGE Lloh1: ldr x8, [x8, _PINGPONG_RECV_WRID@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [sp, #24] cmp w1, #1 b.lt LBB0_5 ; %bb.1: mov x19, x1 mov x20, x0 mov w21, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w0, [x20] add x1, sp, #8 mov x2, sp bl _ibv_post_srq_recv cbnz x0, LBB0_6 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add w21, w21, #1 cmp w19, w21 b.ne LBB0_2 ; %bb.4: mov x21, x19 b LBB0_6 LBB0_5: mov w21, #0 LBB0_6: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PINGPONG_RECV_WRID,4,2 ; @PINGPONG_RECV_WRID .no_dead_strip _pp_post_recv .subsections_via_symbols
AnghaBench/freebsd/contrib/ofed/libibverbs/examples/extr_srq_pingpong.c_pp_post_recv.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smic_write_next _smic_write_next: ## @smic_write_next .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx callq _smic_wait_for_tx_okay movq _SMIC_CTL_STS@GOTPCREL(%rip), %r12 movl (%r12), %esi movq _SMIC_CC_SMS_WR_NEXT@GOTPCREL(%rip), %rax movq (%rax), %rdx movq %rbx, %rdi callq _OUTB movq _SMIC_DATA@GOTPCREL(%rip), %r15 movl (%r15), %esi movq %rbx, %rdi movq %r14, %rdx callq _OUTB movq %rbx, %rdi callq _smic_set_busy movq %rbx, %rdi callq _smic_wait_for_not_busy movl (%r12), %esi movq %rbx, %rdi callq _INB movq %rax, %rcx movq _SMIC_SC_SMS_WR_NEXT@GOTPCREL(%rip), %rdx movl $1, %eax cmpq (%rdx), %rcx je LBB0_2 ## %bb.1: movl (%r15), %esi movq %rbx, %rdi callq _INB movl (%rbx), %edi leaq L_.str(%rip), %rsi movq %rax, %rdx callq _device_printf xorl %eax, %eax LBB0_2: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SMIC_CTL_STS,4,2 ## @SMIC_CTL_STS .comm _SMIC_CC_SMS_WR_NEXT,8,3 ## @SMIC_CC_SMS_WR_NEXT .comm _SMIC_DATA,4,2 ## @SMIC_DATA .comm _SMIC_SC_SMS_WR_NEXT,8,3 ## @SMIC_SC_SMS_WR_NEXT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "SMIC: Write did not next %02x\n" .no_dead_strip _smic_write_next .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function smic_write_next _smic_write_next: ; @smic_write_next .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 _smic_wait_for_tx_okay Lloh0: adrp x22, _SMIC_CTL_STS@GOTPAGE Lloh1: ldr x22, [x22, _SMIC_CTL_STS@GOTPAGEOFF] ldr w1, [x22] Lloh2: adrp x8, _SMIC_CC_SMS_WR_NEXT@GOTPAGE Lloh3: ldr x8, [x8, _SMIC_CC_SMS_WR_NEXT@GOTPAGEOFF] Lloh4: ldr x2, [x8] mov x0, x19 bl _OUTB Lloh5: adrp x21, _SMIC_DATA@GOTPAGE Lloh6: ldr x21, [x21, _SMIC_DATA@GOTPAGEOFF] ldr w1, [x21] mov x0, x19 mov x2, x20 bl _OUTB mov x0, x19 bl _smic_set_busy mov x0, x19 bl _smic_wait_for_not_busy ldr w1, [x22] mov x0, x19 bl _INB Lloh7: adrp x8, _SMIC_SC_SMS_WR_NEXT@GOTPAGE Lloh8: ldr x8, [x8, _SMIC_SC_SMS_WR_NEXT@GOTPAGEOFF] Lloh9: ldr x8, [x8] cmp x0, x8 b.ne LBB0_2 ; %bb.1: mov w0, #1 b LBB0_3 LBB0_2: ldr w1, [x21] mov x0, x19 bl _INB mov x2, x0 ldr w0, [x19] Lloh10: adrp x1, l_.str@PAGE Lloh11: add x1, x1, l_.str@PAGEOFF bl _device_printf mov w0, #0 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 AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _SMIC_CTL_STS,4,2 ; @SMIC_CTL_STS .comm _SMIC_CC_SMS_WR_NEXT,8,3 ; @SMIC_CC_SMS_WR_NEXT .comm _SMIC_DATA,4,2 ; @SMIC_DATA .comm _SMIC_SC_SMS_WR_NEXT,8,3 ; @SMIC_SC_SMS_WR_NEXT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "SMIC: Write did not next %02x\n" .no_dead_strip _smic_write_next .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ipmi/extr_ipmi_smic.c_smic_write_next.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vfe_reset _vfe_reset: ## @vfe_reset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx leaq 8(%rdi), %r14 movq %r14, %rdi callq _reinit_completion movq 16(%rbx), %rax movq %rbx, %rdi callq *(%rax) movq _VFE_RESET_TIMEOUT_MS@GOTPCREL(%rip), %rax movl (%rax), %edi callq _msecs_to_jiffies movq %r14, %rdi movl %eax, %esi callq _wait_for_completion_timeout movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx jne LBB0_2 ## %bb.1: movq (%rbx), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _dev_err movq _EIO@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_2: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _VFE_RESET_TIMEOUT_MS,4,2 ## @VFE_RESET_TIMEOUT_MS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "VFE reset timeout\n" .comm _EIO,4,2 ## @EIO .no_dead_strip _vfe_reset .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vfe_reset _vfe_reset: ; @vfe_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 add x20, x0, #8 mov x0, x20 bl _reinit_completion ldr x8, [x19, #16] ldr x8, [x8] mov x0, x19 blr x8 Lloh0: adrp x8, _VFE_RESET_TIMEOUT_MS@GOTPAGE Lloh1: ldr x8, [x8, _VFE_RESET_TIMEOUT_MS@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _msecs_to_jiffies mov x1, x0 mov x0, x20 bl _wait_for_completion_timeout cbz x0, LBB0_2 ; %bb.1: mov w0, #0 b LBB0_3 LBB0_2: ldr x8, [x19] ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _dev_err Lloh5: adrp x8, _EIO@GOTPAGE Lloh6: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w0, w8 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _VFE_RESET_TIMEOUT_MS,4,2 ; @VFE_RESET_TIMEOUT_MS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "VFE reset timeout\n" .comm _EIO,4,2 ; @EIO .no_dead_strip _vfe_reset .subsections_via_symbols
AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe.c_vfe_reset.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _palindromo ## -- Begin function palindromo .p2align 4, 0x90 _palindromo: ## @palindromo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %ecx, %eax testl %esi, %esi jle LBB0_5 ## %bb.1: movl %esi, %ecx movslq %edx, %r8 addq %rdi, %r8 incq %rcx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 leal -2(%rcx), %esi movzbl (%rdi,%rsi), %edx cmpb (%r8), %dl jne LBB0_4 ## %bb.2: ## in Loop: Header=BB0_3 Depth=1 incq %r8 decq %rcx cmpq $2, %rcx jae LBB0_3 LBB0_5: popq %rbp retq LBB0_4: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _minuscula ## -- Begin function minuscula .p2align 4, 0x90 _minuscula: ## @minuscula .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %eax movq %rdi, %rbx movslq %esi, %rsi movb -1(%rdi,%rsi), %cl decq %rsi leal -65(%rcx), %edx cmpb $25, %dl ja LBB1_2 ## %bb.1: addb $32, %cl movb %cl, (%rbx,%rsi) LBB1_2: cmpl $2, %eax jl LBB1_4 ## %bb.3: movq %rbx, %rdi ## kill: def $esi killed $esi killed $rsi callq _minuscula LBB1_4: movl %ebx, %eax addq $8, %rsp popq %rbx 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 %r14 pushq %rbx subq $96, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) leaq L_.str(%rip), %rdi leaq -112(%rbp), %rbx movq %rbx, %rsi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _strlen movq %rax, %r14 movq %rbx, %rdi movl %r14d, %esi callq _minuscula testl %r14d, %r14d jle LBB2_7 ## %bb.1: movl %r14d, %eax decq %rax .p2align 4, 0x90 LBB2_3: ## =>This Inner Loop Header: Depth=1 movl %eax, %ecx movzbl -112(%rbp,%rcx), %ecx cmpb (%rbx), %cl jne LBB2_4 ## %bb.2: ## in Loop: Header=BB2_3 Depth=1 incq %rbx addq $-1, %rax jb LBB2_3 LBB2_7: leaq L_.str.1(%rip), %rdi leaq -112(%rbp), %rsi xorl %eax, %eax callq _printf jmp LBB2_5 LBB2_4: leaq L_str(%rip), %rdi callq _puts LBB2_5: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB2_8 ## %bb.6: xorl %eax, %eax addq $96, %rsp popq %rbx popq %r14 popq %rbp retq LBB2_8: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" L_.str.1: ## @.str.1 .asciz "\n%s eh palindromo\n" L_str: ## @str .asciz "\nNao palindromo" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _palindromo ; -- Begin function palindromo .p2align 2 _palindromo: ; @palindromo .cfi_startproc ; %bb.0: cmp w1, #1 b.lt LBB0_4 ; %bb.1: mov w9, w1 add x8, x0, w2, sxtw add x9, x9, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 sub w10, w9, #2 ldrb w10, [x0, w10, uxtw] ldrb w11, [x8] cmp w10, w11 b.ne LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x8, x8, #1 sub x9, x9, #1 cmp x9, #2 b.hs LBB0_2 LBB0_4: mov x0, x3 ret LBB0_5: mov w3, #0 mov x0, x3 ret .cfi_endproc ; -- End function .globl _minuscula ; -- Begin function minuscula .p2align 2 _minuscula: ; @minuscula .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 x8, x1 mov x19, x0 sxtw x9, w8 sub x1, x9, #1 ldrb w9, [x0, x1] sub w10, w9, #65 cmp w10, #25 b.hi LBB1_2 ; %bb.1: add w9, w9, #32 strb w9, [x19, x1] LBB1_2: cmp w8, #2 b.lt LBB1_4 ; %bb.3: mov x0, x19 ; kill: def $w1 killed $w1 killed $x1 bl _minuscula LBB1_4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] add x20, sp, #8 str x20, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _scanf add x0, sp, #8 bl _strlen mov x19, x0 add x0, sp, #8 mov x1, x19 bl _minuscula cmp w19, #1 b.lt LBB2_4 ; %bb.1: and x8, x19, #0xffffffff sub x8, x8, #1 add x9, sp, #8 LBB2_2: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x20, w8, uxtw] ldrb w11, [x9] cmp w10, w11 b.ne LBB2_5 ; %bb.3: ; in Loop: Header=BB2_2 Depth=1 add x9, x9, #1 sub x8, x8, #1 cmn x8, #1 b.ne LBB2_2 LBB2_4: str x20, [sp] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB2_6 LBB2_5: Lloh7: adrp x0, l_str@PAGE Lloh8: add x0, x0, l_str@PAGEOFF bl _puts LBB2_6: ldur x8, [x29, #-24] Lloh9: adrp x9, ___stack_chk_guard@GOTPAGE Lloh10: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x9, x8 b.ne LBB2_8 ; %bb.7: 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 LBB2_8: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" l_.str.1: ; @.str.1 .asciz "\n%s eh palindromo\n" l_str: ; @str .asciz "\nNao palindromo" .subsections_via_symbols
the_stack_data/115766476.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _WCDBVersionString ## @WCDBVersionString .p2align 4 _WCDBVersionString: .asciz "@(#)PROGRAM:WCDB PROJECT:Pods-1\n" .globl _WCDBVersionNumber ## @WCDBVersionNumber .p2align 3 _WCDBVersionNumber: .quad 0x3ff0000000000000 ## double 1 .no_dead_strip _WCDBVersionNumber .no_dead_strip _WCDBVersionString .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _WCDBVersionString ; @WCDBVersionString _WCDBVersionString: .asciz "@(#)PROGRAM:WCDB PROJECT:Pods-1\n" .globl _WCDBVersionNumber ; @WCDBVersionNumber .p2align 3 _WCDBVersionNumber: .quad 0x3ff0000000000000 ; double 1 .no_dead_strip _WCDBVersionNumber .no_dead_strip _WCDBVersionString .subsections_via_symbols
the_stack_data/816866.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function do_abort_bulks _do_abort_bulks: ## @do_abort_bulks .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx leaq 8(%rdi), %r14 movq %r14, %rdi callq _mutex_lock_killable xorl %ecx, %ecx testq %rax, %rax jne LBB0_4 ## %bb.1: leaq 4(%rbx), %r15 movq %rbx, %rdi movq %r15, %rsi callq _abort_outstanding_bulks movq %rbx, %rdi movq %rbx, %rsi callq _abort_outstanding_bulks movq %r14, %rdi callq _mutex_unlock movq %rbx, %rdi movq %r15, %rsi xorl %edx, %edx callq _notify_bulks movq _VCHIQ_SUCCESS@GOTPCREL(%rip), %r14 movq (%r14), %rdx cmpq %rdx, %rax jne LBB0_3 ## %bb.2: movq %rbx, %rdi movq %rbx, %rsi xorl %edx, %edx callq _notify_bulks movq (%r14), %rdx LBB0_3: xorl %ecx, %ecx cmpq %rdx, %rax sete %cl LBB0_4: movl %ecx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _VCHIQ_SUCCESS,8,3 ## @VCHIQ_SUCCESS .no_dead_strip _do_abort_bulks .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function do_abort_bulks _do_abort_bulks: ; @do_abort_bulks .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 add x20, x0, #8 mov x0, x20 bl _mutex_lock_killable cbz x0, LBB0_2 ; %bb.1: mov w0, #0 b LBB0_5 LBB0_2: add x21, x19, #4 mov x0, x19 mov x1, x21 bl _abort_outstanding_bulks mov x0, x19 mov x1, x19 bl _abort_outstanding_bulks mov x0, x20 bl _mutex_unlock mov x0, x19 mov x1, x21 mov w2, #0 bl _notify_bulks Lloh0: adrp x20, _VCHIQ_SUCCESS@GOTPAGE Lloh1: ldr x20, [x20, _VCHIQ_SUCCESS@GOTPAGEOFF] ldr x8, [x20] cmp x0, x8 b.ne LBB0_4 ; %bb.3: mov x0, x19 mov x1, x19 mov w2, #0 bl _notify_bulks ldr x8, [x20] LBB0_4: cmp x0, x8 cset w0, eq LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _VCHIQ_SUCCESS,8,3 ; @VCHIQ_SUCCESS .no_dead_strip _do_abort_bulks .subsections_via_symbols
AnghaBench/linux/drivers/staging/vc04_services/interface/vchiq_arm/extr_vchiq_core.c_do_abort_bulks.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hpfs_get_sector ## -- Begin function hpfs_get_sector .p2align 4, 0x90 _hpfs_get_sector: ## @hpfs_get_sector .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movl %esi, %r15d movq %rdi, %rbx xorl %eax, %eax callq _cond_resched movq %rbx, %rdi movl %r15d, %esi callq _sb_getblk movq %rax, (%r14) testq %rax, %rax je LBB0_4 ## %bb.1: movq %rax, %rbx movq %rax, %rdi callq _buffer_uptodate testl %eax, %eax jne LBB0_3 ## %bb.2: movq %rbx, %rdi callq _wait_on_buffer LBB0_3: movq %rbx, %rdi callq _set_buffer_uptodate movq (%rbx), %rax jmp LBB0_5 LBB0_4: leaq L_.str(%rip), %rdi callq _printk xorl %eax, %eax LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "HPFS: hpfs_get_sector: getblk failed\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hpfs_get_sector ; -- Begin function hpfs_get_sector .p2align 2 _hpfs_get_sector: ; @hpfs_get_sector .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x19, x1 mov x21, x0 bl _cond_resched mov x0, x21 mov x1, x19 bl _sb_getblk str x0, [x20] cbz x0, LBB0_4 ; %bb.1: mov x19, x0 bl _buffer_uptodate cbnz w0, LBB0_3 ; %bb.2: mov x0, x19 bl _wait_on_buffer LBB0_3: mov x0, x19 bl _set_buffer_uptodate ldr x0, [x19] b LBB0_5 LBB0_4: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printk mov x0, #0 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "HPFS: hpfs_get_sector: getblk failed\n" .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/hpfs/extr_buffer.c_hpfs_get_sector.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bfa_iocfc_sm_disabling _bfa_iocfc_sm_disabling: ## @bfa_iocfc_sm_disabling .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 (%rdi), %edi callq _bfa_trc leal -130(%rbx), %eax cmpl $2, %eax jb LBB0_4 ## %bb.1: cmpl $128, %ebx je LBB0_4 ## %bb.2: cmpl $129, %ebx jne LBB0_3 ## %bb.5: movq _bfa_iocfc_sm_disabled@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _bfa_fsm_set_state ## TAILCALL LBB0_4: popq %rbx popq %r14 popq %rbp retq LBB0_3: movl (%r14), %edi movl %ebx, %esi popq %rbx popq %r14 popq %rbp jmp _bfa_sm_fault ## TAILCALL .cfi_endproc ## -- End function .comm _bfa_iocfc_sm_disabled,4,2 ## @bfa_iocfc_sm_disabled .no_dead_strip _bfa_iocfc_sm_disabling .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bfa_iocfc_sm_disabling _bfa_iocfc_sm_disabling: ; @bfa_iocfc_sm_disabling .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 ldr w0, [x0] bl _bfa_trc sub w8, w20, #130 cmp w8, #2 b.lo LBB0_4 ; %bb.1: cmp w20, #128 b.eq LBB0_4 ; %bb.2: cmp w20, #129 b.ne LBB0_5 ; %bb.3: Lloh0: adrp x8, _bfa_iocfc_sm_disabled@GOTPAGE Lloh1: ldr x8, [x8, _bfa_iocfc_sm_disabled@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _bfa_fsm_set_state LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_5: ldr w0, [x19] mov x1, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _bfa_sm_fault .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _bfa_iocfc_sm_disabled,4,2 ; @bfa_iocfc_sm_disabled .no_dead_strip _bfa_iocfc_sm_disabling .subsections_via_symbols
AnghaBench/linux/drivers/scsi/bfa/extr_bfa_core.c_bfa_iocfc_sm_disabling.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _keyboard_pre_init_user ## -- Begin function keyboard_pre_init_user .p2align 4, 0x90 _keyboard_pre_init_user: ## @keyboard_pre_init_user .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _D5@GOTPCREL(%rip), %rax movl (%rax), %edi callq _setPinOutput movq _D3@GOTPCREL(%rip), %rax movl (%rax), %edi callq _setPinOutput movq _D2@GOTPCREL(%rip), %rax movl (%rax), %edi callq _setPinOutput movq _D1@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _setPinOutput ## TAILCALL .cfi_endproc ## -- End function .comm _D5,4,2 ## @D5 .comm _D3,4,2 ## @D3 .comm _D2,4,2 ## @D2 .comm _D1,4,2 ## @D1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _keyboard_pre_init_user ; -- Begin function keyboard_pre_init_user .p2align 2 _keyboard_pre_init_user: ; @keyboard_pre_init_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 Lloh0: adrp x8, _D5@GOTPAGE Lloh1: ldr x8, [x8, _D5@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _setPinOutput Lloh3: adrp x8, _D3@GOTPAGE Lloh4: ldr x8, [x8, _D3@GOTPAGEOFF] Lloh5: ldr w0, [x8] bl _setPinOutput Lloh6: adrp x8, _D2@GOTPAGE Lloh7: ldr x8, [x8, _D2@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _setPinOutput Lloh9: adrp x8, _D1@GOTPAGE Lloh10: ldr x8, [x8, _D1@GOTPAGEOFF] Lloh11: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _setPinOutput .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _D5,4,2 ; @D5 .comm _D3,4,2 ; @D3 .comm _D2,4,2 ; @D2 .comm _D1,4,2 ; @D1 .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/aeboards/ext65/keymaps/via/extr_keymap.c_keyboard_pre_init_user.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI0_0: .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .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 %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl $0, -28(%rbp) leaq L_.str.3(%rip), %r14 leaq L_.str(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _printf leaq L_.str.4(%rip), %r15 leaq -28(%rbp), %rsi movq %r15, %rdi xorl %eax, %eax callq _scanf movl -28(%rbp), %ebx movl $0, -32(%rbp) leaq L_.str.1(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _printf leaq -32(%rbp), %rsi movq %r15, %rdi xorl %eax, %eax callq _scanf movl -32(%rbp), %edx movl $1, %ecx testl %edx, %edx je LBB0_11 ## %bb.1: movl %edx, %eax cmpl $8, %edx jb LBB0_10 ## %bb.2: movl %edx, %eax andl $-8, %eax movd %ebx, %xmm0 pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0] leal -8(%rax), %edi movl %edi, %esi shrl $3, %esi incl %esi movl %esi, %ecx andl $7, %ecx cmpl $56, %edi jae LBB0_4 ## %bb.3: movdqa LCPI0_0(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa %xmm1, %xmm2 jmp LBB0_6 LBB0_4: andl $-8, %esi movdqa LCPI0_0(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa %xmm1, %xmm2 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 addl $-8, %esi jne LBB0_5 LBB0_6: testl %ecx, %ecx je LBB0_8 .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 decl %ecx jne LBB0_7 LBB0_8: pmulld %xmm2, %xmm1 pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3] pmulld %xmm1, %xmm0 pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1] pmulld %xmm0, %xmm1 movd %xmm1, %ecx cmpl %eax, %edx je LBB0_11 ## %bb.9: movl %edx, %eax andl $7, %eax .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 imull %ebx, %ecx decl %eax jne LBB0_10 LBB0_11: leaq L_.str.2(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _getInt ## -- Begin function getInt .p2align 4, 0x90 _getInt: ## @getInt .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, %rsi movl $0, -4(%rbp) leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.4(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function recursive_pow LCPI2_0: .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .section __TEXT,__text,regular,pure_instructions .globl _recursive_pow .p2align 4, 0x90 _recursive_pow: ## @recursive_pow .cfi_startproc ## %bb.0: movl $1, %eax testl %esi, %esi je LBB2_11 ## %bb.1: cmpl $8, %esi jb LBB2_10 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %esi, %r8d andl $-8, %r8d movd %edi, %xmm0 pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0] leal -8(%r8), %ecx movl %ecx, %edx shrl $3, %edx incl %edx movl %edx, %eax andl $7, %eax cmpl $56, %ecx jae LBB2_4 ## %bb.3: movdqa LCPI2_0(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa %xmm1, %xmm2 jmp LBB2_6 LBB2_4: andl $-8, %edx movdqa LCPI2_0(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa %xmm1, %xmm2 .p2align 4, 0x90 LBB2_5: ## =>This Inner Loop Header: Depth=1 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 addl $-8, %edx jne LBB2_5 LBB2_6: testl %eax, %eax popq %rbp je LBB2_8 .p2align 4, 0x90 LBB2_7: ## =>This Inner Loop Header: Depth=1 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 decl %eax jne LBB2_7 LBB2_8: pmulld %xmm2, %xmm1 pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3] pmulld %xmm1, %xmm0 pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1] pmulld %xmm0, %xmm1 movd %xmm1, %eax cmpl %esi, %r8d je LBB2_11 ## %bb.9: andl $7, %esi .p2align 4, 0x90 LBB2_10: ## =>This Inner Loop Header: Depth=1 imull %edi, %eax decl %esi jne LBB2_10 LBB2_11: retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Base : " L_.str.1: ## @.str.1 .asciz "Exponent : " L_.str.2: ## @.str.2 .asciz "Base : %d, Exponent : %d, Result : %d\n" L_.str.3: ## @.str.3 .asciz "%s" L_.str.4: ## @.str.4 .asciz "%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 str wzr, [sp, #24] Lloh0: adrp x8, l_.str@PAGE Lloh1: add x8, x8, l_.str@PAGEOFF str x8, [sp] Lloh2: adrp x19, l_.str.3@PAGE Lloh3: add x19, x19, l_.str.3@PAGEOFF mov x0, x19 bl _printf add x8, sp, #24 str x8, [sp] Lloh4: adrp x20, l_.str.4@PAGE Lloh5: add x20, x20, l_.str.4@PAGEOFF mov x0, x20 bl _scanf ldr w21, [sp, #24] str wzr, [sp, #28] Lloh6: adrp x8, l_.str.1@PAGE Lloh7: add x8, x8, l_.str.1@PAGEOFF str x8, [sp] mov x0, x19 bl _printf add x8, sp, #28 str x8, [sp] mov x0, x20 bl _scanf ldr w8, [sp, #28] cbz w8, LBB0_3 ; %bb.1: cmp w8, #16 b.hs LBB0_4 ; %bb.2: mov w11, #1 mov x9, x8 b LBB0_7 LBB0_3: mov w11, #1 b LBB0_8 LBB0_4: and w10, w8, #0xfffffff0 dup.4s v1, w21 and w9, w8, #0xf movi.4s v0, #1 mov x11, x10 movi.4s v2, #1 movi.4s v3, #1 movi.4s v4, #1 LBB0_5: ; =>This Inner Loop Header: Depth=1 mul.4s v0, v0, v1 mul.4s v2, v2, v1 mul.4s v3, v3, v1 mul.4s v4, v4, v1 subs w11, w11, #16 b.ne LBB0_5 ; %bb.6: mul.4s v0, v2, v0 mul.4s v0, v3, v0 mul.4s v0, v4, v0 ext.16b v1, v0, v0, #8 mul.2s v0, v0, v1 fmov w11, s0 mov.s w12, v0[1] mul w11, w11, w12 cmp w8, w10 b.eq LBB0_8 LBB0_7: ; =>This Inner Loop Header: Depth=1 mul w11, w11, w21 subs w9, w9, #1 b.ne LBB0_7 LBB0_8: stp x8, x11, [sp, #8] str x21, [sp] Lloh8: adrp x0, l_.str.2@PAGE Lloh9: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .globl _getInt ; -- Begin function getInt .p2align 2 _getInt: ; @getInt .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] str x0, [sp] Lloh10: adrp x0, l_.str.3@PAGE Lloh11: add x0, x0, l_.str.3@PAGEOFF bl _printf sub x8, x29, #4 str x8, [sp] Lloh12: adrp x0, l_.str.4@PAGE Lloh13: add x0, x0, l_.str.4@PAGEOFF bl _scanf ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .globl _recursive_pow ; -- Begin function recursive_pow .p2align 2 _recursive_pow: ; @recursive_pow .cfi_startproc ; %bb.0: cbz w1, LBB2_3 ; %bb.1: cmp w1, #16 b.hs LBB2_4 ; %bb.2: mov w8, #1 mov x9, x1 b LBB2_7 LBB2_3: mov w0, #1 ret LBB2_4: and w10, w1, #0xfffffff0 dup.4s v1, w0 and w9, w1, #0xf movi.4s v0, #1 mov x8, x10 movi.4s v2, #1 movi.4s v3, #1 movi.4s v4, #1 LBB2_5: ; =>This Inner Loop Header: Depth=1 mul.4s v0, v0, v1 mul.4s v2, v2, v1 mul.4s v3, v3, v1 mul.4s v4, v4, v1 subs w8, w8, #16 b.ne LBB2_5 ; %bb.6: mul.4s v0, v2, v0 mul.4s v0, v3, v0 mul.4s v0, v4, v0 ext.16b v1, v0, v0, #8 mul.2s v0, v0, v1 fmov w8, s0 mov.s w11, v0[1] mul w8, w8, w11 cmp w10, w1 b.eq LBB2_8 LBB2_7: ; =>This Inner Loop Header: Depth=1 mul w8, w8, w0 subs w9, w9, #1 b.ne LBB2_7 LBB2_8: mov x0, x8 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Base : " l_.str.1: ; @.str.1 .asciz "Exponent : " l_.str.2: ; @.str.2 .asciz "Base : %d, Exponent : %d, Result : %d\n" l_.str.3: ; @.str.3 .asciz "%s" l_.str.4: ; @.str.4 .asciz "%d" .subsections_via_symbols
the_stack_data/48724.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rockchip_usb_phy_init _rockchip_usb_phy_init: ## @rockchip_usb_phy_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $64, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movl (%rdi), %edi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movl $72, %esi callq _devm_kzalloc testq %rax, %rax je LBB0_3 ## %bb.1: movq %rax, %r12 movq %r14, 64(%rax) movq %r15, 56(%rax) leaq L_.str(%rip), %rsi leaq -36(%rbp), %rdx movq %r15, %rdi callq _of_property_read_u32 testq %rax, %rax je LBB0_4 ## %bb.2: movl (%r14), %edi leaq L_.str.1(%rip), %rsi xorl %ebx, %ebx movq %r15, %rdx xorl %eax, %eax callq _dev_err jmp LBB0_13 LBB0_3: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ebx, %ebx jmp LBB0_14 LBB0_4: leaq L_.str.2(%rip), %rsi movq %r15, %rdi callq _of_reset_control_get movq %rax, 48(%r12) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_6 ## %bb.5: movq $0, 48(%r12) LBB0_6: movl -36(%rbp), %eax movl %eax, (%r12) leaq L_.str.3(%rip), %rsi movq %r15, %rdi callq _of_clk_get_by_name movq %rax, 8(%r12) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_8 ## %bb.7: movq $0, 8(%r12) LBB0_8: movq 8(%r14), %rax movq 8(%rax), %rcx movl (%rcx), %ebx testl %ebx, %ebx je LBB0_12 ## %bb.9: movl -36(%rbp), %esi leaq 16(%rcx), %rdi xorl %edx, %edx .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 cmpl %esi, %ebx je LBB0_15 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 incq %rdx movl (%rdi), %ebx addq $16, %rdi testl %ebx, %ebx jne LBB0_10 jmp LBB0_12 LBB0_15: movl %edx, %esi shlq $4, %rsi movq 8(%rcx,%rsi), %rcx movq %rcx, -56(%rbp) testq %rcx, %rcx je LBB0_12 ## %bb.16: movq _enable_usb_uart@GOTPCREL(%rip), %rcx cmpq $0, (%rcx) je LBB0_19 ## %bb.17: cmpl %edx, (%rax) jne LBB0_19 ## %bb.18: movl (%r14), %edi leaq L_.str.5(%rip), %rsi ## kill: def $edx killed $edx killed $rdx callq _dev_dbg movl $1, 4(%r12) jmp LBB0_27 LBB0_12: movl (%r14), %edi leaq L_.str.4(%rip), %rsi xorl %ebx, %ebx xorl %eax, %eax callq _dev_err LBB0_13: movq _EINVAL@GOTPCREL(%rip), %rax LBB0_14: subl (%rax), %ebx LBB0_40: movl %ebx, %eax addq $64, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_19: movq 8(%r12), %rdi testq %rdi, %rdi je LBB0_21 ## %bb.20: callq ___clk_get_name movq %rax, -48(%rbp) movl $1, %ecx leaq -48(%rbp), %rax jmp LBB0_22 LBB0_21: xorl %eax, %eax xorl %ecx, %ecx LBB0_22: movq $0, -64(%rbp) movq %rax, -88(%rbp) movl %ecx, -80(%rbp) movq _rockchip_usb_phy480m_ops@GOTPCREL(%rip), %rax movq %rax, -72(%rbp) movq %r12, %rsi addq $40, %rsi leaq -88(%rbp), %rax movq %rax, 40(%r12) movl (%r14), %edi callq _clk_register movq %rax, 16(%r12) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_26 ## %bb.23: movq 16(%r12), %rdi callq _PTR_ERR movl %eax, %ebx LBB0_24: movq 8(%r12), %rdi testq %rdi, %rdi je LBB0_40 ## %bb.25: callq _clk_put jmp LBB0_40 LBB0_26: movq _of_clk_src_simple_get@GOTPCREL(%rip), %rax movl (%rax), %esi movq 16(%r12), %rdx movq %r15, %rdi callq _of_clk_add_provider testl %eax, %eax js LBB0_31 LBB0_27: movl (%r14), %edi movq _rockchip_usb_phy_action@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdx callq _devm_add_action_or_reset movl %eax, %ebx testl %eax, %eax jne LBB0_40 ## %bb.28: movl (%r14), %edi movq _ops@GOTPCREL(%rip), %rdx movq %r15, %rsi callq _devm_phy_create movq %rax, 32(%r12) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_33 ## %bb.29: movl (%r14), %edi leaq L_.str.6(%rip), %rsi xorl %eax, %eax callq _dev_err movq 32(%r12), %rdi LBB0_30: callq _PTR_ERR LBB0_39: movl %eax, %ebx jmp LBB0_40 LBB0_31: movl %eax, %ebx cmpl $0, 4(%r12) jne LBB0_24 ## %bb.32: movq 16(%r12), %rdi callq _clk_unregister jmp LBB0_24 LBB0_33: movq 32(%r12), %rdi movq %r12, %rsi callq _phy_set_drvdata movq 32(%r12), %rdi leaq L_.str.7(%rip), %rsi callq _devm_regulator_get_optional movq %rax, 24(%r12) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_37 ## %bb.34: movq 24(%r12), %rdi callq _PTR_ERR movq _EPROBE_DEFER@GOTPCREL(%rip), %rcx addl (%rcx), %eax jne LBB0_36 ## %bb.35: movq 24(%r12), %rdi jmp LBB0_30 LBB0_36: movq $0, 24(%r12) LBB0_37: cmpl $0, 4(%r12) je LBB0_41 ## %bb.38: movq 8(%r12), %rdi callq _clk_prepare_enable jmp LBB0_39 LBB0_41: movq %r12, %rdi movl $1, %esi callq _rockchip_usb_phy_power jmp LBB0_39 .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "reg" L_.str.1: ## @.str.1 .asciz "missing reg property in node %pOFn\n" .comm _EINVAL,4,2 ## @EINVAL L_.str.2: ## @.str.2 .asciz "phy-reset" L_.str.3: ## @.str.3 .asciz "phyclk" L_.str.4: ## @.str.4 .asciz "phy data not found\n" .comm _enable_usb_uart,8,3 ## @enable_usb_uart L_.str.5: ## @.str.5 .asciz "phy%d used as uart output\n" .comm _rockchip_usb_phy480m_ops,4,2 ## @rockchip_usb_phy480m_ops .comm _of_clk_src_simple_get,4,2 ## @of_clk_src_simple_get .comm _rockchip_usb_phy_action,4,2 ## @rockchip_usb_phy_action .comm _ops,4,2 ## @ops L_.str.6: ## @.str.6 .asciz "failed to create PHY\n" L_.str.7: ## @.str.7 .asciz "vbus" .comm _EPROBE_DEFER,4,2 ## @EPROBE_DEFER .no_dead_strip _rockchip_usb_phy_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rockchip_usb_phy_init _rockchip_usb_phy_init: ; @rockchip_usb_phy_init .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 mov x21, x1 mov x20, x0 ldr w0, [x0] Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov w1, #72 bl _devm_kzalloc cbz x0, LBB0_3 ; %bb.1: mov x19, x0 stp x21, x20, [x0, #56] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF sub x2, x29, #36 mov x0, x21 bl _of_property_read_u32 cbz x0, LBB0_4 ; %bb.2: ldr w0, [x20] str x21, [sp] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF b LBB0_17 LBB0_3: Lloh7: adrp x8, _ENOMEM@GOTPAGE Lloh8: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_18 LBB0_4: Lloh9: adrp x1, l_.str.2@PAGE Lloh10: add x1, x1, l_.str.2@PAGEOFF mov x0, x21 bl _of_reset_control_get str x0, [x19, #48] bl _IS_ERR cbz x0, LBB0_6 ; %bb.5: str xzr, [x19, #48] LBB0_6: ldur w8, [x29, #-36] str w8, [x19] Lloh11: adrp x1, l_.str.3@PAGE Lloh12: add x1, x1, l_.str.3@PAGEOFF mov x0, x21 bl _of_clk_get_by_name str x0, [x19, #8] bl _IS_ERR cbz x0, LBB0_8 ; %bb.7: str xzr, [x19, #8] LBB0_8: ldr x8, [x20, #8] ldr x9, [x8, #8] ldr w12, [x9] cbz w12, LBB0_16 ; %bb.9: mov x2, #0 ldur w10, [x29, #-36] add x11, x9, #16 LBB0_10: ; =>This Inner Loop Header: Depth=1 cmp w12, w10 b.eq LBB0_12 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 add x2, x2, #1 ldr w12, [x11], #16 cbnz w12, LBB0_10 b LBB0_16 LBB0_12: add x9, x9, w2, uxtw #4 ldr x9, [x9, #8] str x9, [sp, #40] cbz x9, LBB0_16 ; %bb.13: Lloh13: adrp x9, _enable_usb_uart@GOTPAGE Lloh14: ldr x9, [x9, _enable_usb_uart@GOTPAGEOFF] Lloh15: ldr x9, [x9] cbz x9, LBB0_20 ; %bb.14: ldr w8, [x8] cmp w8, w2 b.ne LBB0_20 ; %bb.15: ldr w0, [x20] Lloh16: adrp x1, l_.str.5@PAGE Lloh17: add x1, x1, l_.str.5@PAGEOFF ; kill: def $w2 killed $w2 killed $x2 bl _dev_dbg mov w8, #1 str w8, [x19, #4] b LBB0_28 LBB0_16: ldr w0, [x20] Lloh18: adrp x1, l_.str.4@PAGE Lloh19: add x1, x1, l_.str.4@PAGEOFF LBB0_17: bl _dev_err Lloh20: adrp x8, _EINVAL@GOTPAGE Lloh21: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_18: ldr w8, [x8] neg w22, w8 LBB0_19: mov x0, x22 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 add sp, sp, #112 ret LBB0_20: ldr x0, [x19, #8] cbz x0, LBB0_22 ; %bb.21: bl ___clk_get_name str x0, [sp, #48] mov w8, #1 add x9, sp, #48 b LBB0_23 LBB0_22: mov x9, #0 mov w8, #0 LBB0_23: str x9, [sp, #8] str w8, [sp, #16] Lloh22: adrp x8, _rockchip_usb_phy480m_ops@GOTPAGE Lloh23: ldr x8, [x8, _rockchip_usb_phy480m_ops@GOTPAGEOFF] stp x8, xzr, [sp, #24] add x8, sp, #8 mov x22, x19 str x8, [x22, #40]! ldr w0, [x20] mov x1, x22 bl _clk_register stur x0, [x22, #-24] bl _IS_ERR cbz x0, LBB0_27 ; %bb.24: ldr x0, [x19, #16] bl _PTR_ERR mov x22, x0 LBB0_25: ldr x0, [x19, #8] cbz x0, LBB0_19 ; %bb.26: bl _clk_put b LBB0_19 LBB0_27: Lloh24: adrp x8, _of_clk_src_simple_get@GOTPAGE Lloh25: ldr x8, [x8, _of_clk_src_simple_get@GOTPAGEOFF] Lloh26: ldr w1, [x8] ldr x2, [x19, #16] mov x0, x21 bl _of_clk_add_provider tbnz w0, #31, LBB0_32 LBB0_28: ldr w0, [x20] Lloh27: adrp x8, _rockchip_usb_phy_action@GOTPAGE Lloh28: ldr x8, [x8, _rockchip_usb_phy_action@GOTPAGEOFF] Lloh29: ldr w1, [x8] mov x2, x19 bl _devm_add_action_or_reset mov x22, x0 cbnz w0, LBB0_19 ; %bb.29: ldr w0, [x20] Lloh30: adrp x2, _ops@GOTPAGE Lloh31: ldr x2, [x2, _ops@GOTPAGEOFF] mov x1, x21 bl _devm_phy_create str x0, [x19, #32] bl _IS_ERR cbz x0, LBB0_34 ; %bb.30: ldr w0, [x20] Lloh32: adrp x1, l_.str.6@PAGE Lloh33: add x1, x1, l_.str.6@PAGEOFF bl _dev_err ldr x0, [x19, #32] LBB0_31: bl _PTR_ERR mov x22, x0 b LBB0_19 LBB0_32: mov x22, x0 ldr w8, [x19, #4] cbnz w8, LBB0_25 ; %bb.33: ldr x0, [x19, #16] bl _clk_unregister b LBB0_25 LBB0_34: ldr x0, [x19, #32] mov x1, x19 bl _phy_set_drvdata ldr x0, [x19, #32] Lloh34: adrp x1, l_.str.7@PAGE Lloh35: add x1, x1, l_.str.7@PAGEOFF bl _devm_regulator_get_optional str x0, [x19, #24] bl _IS_ERR cbz x0, LBB0_38 ; %bb.35: ldr x0, [x19, #24] bl _PTR_ERR Lloh36: adrp x8, _EPROBE_DEFER@GOTPAGE Lloh37: ldr x8, [x8, _EPROBE_DEFER@GOTPAGEOFF] Lloh38: ldr w8, [x8] cmn w0, w8 b.ne LBB0_37 ; %bb.36: ldr x0, [x19, #24] b LBB0_31 LBB0_37: str xzr, [x19, #24] LBB0_38: ldr w8, [x19, #4] cbz w8, LBB0_40 ; %bb.39: ldr x0, [x19, #8] bl _clk_prepare_enable mov x22, x0 b LBB0_19 LBB0_40: mov x0, x19 mov w1, #1 bl _rockchip_usb_phy_power mov x22, x0 b LBB0_19 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "reg" l_.str.1: ; @.str.1 .asciz "missing reg property in node %pOFn\n" .comm _EINVAL,4,2 ; @EINVAL l_.str.2: ; @.str.2 .asciz "phy-reset" l_.str.3: ; @.str.3 .asciz "phyclk" l_.str.4: ; @.str.4 .asciz "phy data not found\n" .comm _enable_usb_uart,8,3 ; @enable_usb_uart l_.str.5: ; @.str.5 .asciz "phy%d used as uart output\n" .comm _rockchip_usb_phy480m_ops,4,2 ; @rockchip_usb_phy480m_ops .comm _of_clk_src_simple_get,4,2 ; @of_clk_src_simple_get .comm _rockchip_usb_phy_action,4,2 ; @rockchip_usb_phy_action .comm _ops,4,2 ; @ops l_.str.6: ; @.str.6 .asciz "failed to create PHY\n" l_.str.7: ; @.str.7 .asciz "vbus" .comm _EPROBE_DEFER,4,2 ; @EPROBE_DEFER .no_dead_strip _rockchip_usb_phy_init .subsections_via_symbols
AnghaBench/linux/drivers/phy/rockchip/extr_phy-rockchip-usb.c_rockchip_usb_phy_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $128, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) leaq -128(%rbp), %rbx movq %rbx, %rdi callq _pthread_attr_init leaq -132(%rbp), %rsi movq %rbx, %rdi callq _pthread_attr_getschedpolicy testl %eax, %eax je LBB0_2 ## %bb.1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str(%rip), %rdi movl $23, %esi movl $1, %edx callq _fwrite jmp LBB0_9 LBB0_2: movl -132(%rbp), %eax cmpl $4, %eax je LBB0_7 ## %bb.3: cmpl $2, %eax je LBB0_6 ## %bb.4: cmpl $1, %eax jne LBB0_9 ## %bb.5: leaq L_str.6(%rip), %rdi jmp LBB0_8 LBB0_7: leaq L_str(%rip), %rdi jmp LBB0_8 LBB0_6: leaq L_str.5(%rip), %rdi LBB0_8: callq _puts LBB0_9: leaq -128(%rbp), %rdi movl $4, %esi callq _pthread_attr_setschedpolicy testl %eax, %eax je LBB0_11 ## %bb.10: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str(%rip), %rdi movl $23, %esi movl $1, %edx callq _fwrite LBB0_11: leaq _runner(%rip), %r14 leaq -64(%rbp), %rdi leaq -128(%rbp), %rbx movq %rbx, %rsi movq %r14, %rdx xorl %ecx, %ecx callq _pthread_create leaq -56(%rbp), %rdi movq %rbx, %rsi movq %r14, %rdx xorl %ecx, %ecx callq _pthread_create leaq -48(%rbp), %rdi movq %rbx, %rsi movq %r14, %rdx xorl %ecx, %ecx callq _pthread_create leaq -40(%rbp), %rdi movq %rbx, %rsi movq %r14, %rdx xorl %ecx, %ecx callq _pthread_create leaq -32(%rbp), %rdi movq %rbx, %rsi movq %r14, %rdx xorl %ecx, %ecx callq _pthread_create movq -64(%rbp), %rdi xorl %esi, %esi callq _pthread_join movq -56(%rbp), %rdi xorl %esi, %esi callq _pthread_join movq -48(%rbp), %rdi xorl %esi, %esi callq _pthread_join movq -40(%rbp), %rdi xorl %esi, %esi callq _pthread_join movq -32(%rbp), %rdi xorl %esi, %esi callq _pthread_join movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_13 ## %bb.12: xorl %eax, %eax addq $128, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_13: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _runner ## -- Begin function runner .p2align 4, 0x90 _runner: ## @runner .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), %rdi callq _puts xorl %edi, %edi callq _pthread_exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unable to get policy. \n" L_str: ## @str .asciz "SCHED_FIFO" L_str.5: ## @str.5 .asciz "SCHED_RR" L_str.6: ## @str.6 .asciz "SCHED_OTHER" L_str.7: ## @str.7 .asciz "Do some work..." .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, #160 .cfi_def_cfa_offset 160 stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] add x0, sp, #16 bl _pthread_attr_init add x0, sp, #16 add x1, sp, #12 bl _pthread_attr_getschedpolicy Lloh3: adrp x19, ___stderrp@GOTPAGE Lloh4: ldr x19, [x19, ___stderrp@GOTPAGEOFF] cbz w0, LBB0_2 ; %bb.1: ldr x3, [x19] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF mov w1, #23 mov w2, #1 bl _fwrite b LBB0_9 LBB0_2: ldr w8, [sp, #12] cmp w8, #4 b.eq LBB0_6 ; %bb.3: cmp w8, #2 b.eq LBB0_7 ; %bb.4: cmp w8, #1 b.ne LBB0_9 ; %bb.5: Lloh7: adrp x0, l_str.6@PAGE Lloh8: add x0, x0, l_str.6@PAGEOFF b LBB0_8 LBB0_6: Lloh9: adrp x0, l_str@PAGE Lloh10: add x0, x0, l_str@PAGEOFF b LBB0_8 LBB0_7: Lloh11: adrp x0, l_str.5@PAGE Lloh12: add x0, x0, l_str.5@PAGEOFF LBB0_8: bl _puts LBB0_9: add x0, sp, #16 mov w1, #4 bl _pthread_attr_setschedpolicy cbz w0, LBB0_11 ; %bb.10: ldr x3, [x19] Lloh13: adrp x0, l_.str@PAGE Lloh14: add x0, x0, l_.str@PAGEOFF mov w1, #23 mov w2, #1 bl _fwrite LBB0_11: Lloh15: adrp x19, _runner@PAGE Lloh16: add x19, x19, _runner@PAGEOFF sub x20, x29, #64 sub x0, x29, #64 add x1, sp, #16 mov x2, x19 mov x3, #0 bl _pthread_create add x0, x20, #8 add x1, sp, #16 mov x2, x19 mov x3, #0 bl _pthread_create add x0, x20, #16 add x1, sp, #16 mov x2, x19 mov x3, #0 bl _pthread_create add x0, x20, #24 add x1, sp, #16 mov x2, x19 mov x3, #0 bl _pthread_create add x0, x20, #32 add x1, sp, #16 mov x2, x19 mov x3, #0 bl _pthread_create ldur x0, [x29, #-64] mov x1, #0 bl _pthread_join ldur x0, [x29, #-56] mov x1, #0 bl _pthread_join ldur x0, [x29, #-48] mov x1, #0 bl _pthread_join ldur x0, [x29, #-40] mov x1, #0 bl _pthread_join ldur x0, [x29, #-32] mov x1, #0 bl _pthread_join ldur x8, [x29, #-24] Lloh17: adrp x9, ___stack_chk_guard@GOTPAGE Lloh18: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x9, x8 b.ne LBB0_13 ; %bb.12: mov w0, #0 ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload add sp, sp, #160 ret LBB0_13: bl ___stack_chk_fail .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh15, Lloh16 .cfi_endproc ; -- End function .globl _runner ; -- Begin function runner .p2align 2 _runner: ; @runner .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 x0, l_str.7@PAGE Lloh21: add x0, x0, l_str.7@PAGEOFF bl _puts mov x0, #0 bl _pthread_exit .loh AdrpAdd Lloh20, Lloh21 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unable to get policy. \n" l_str: ; @str .asciz "SCHED_FIFO" l_str.5: ; @str.5 .asciz "SCHED_RR" l_str.6: ; @str.6 .asciz "SCHED_OTHER" l_str.7: ; @str.7 .asciz "Do some work..." .subsections_via_symbols
the_stack_data/107954233.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gl861_i2c_ctrlmsg_data _gl861_i2c_ctrlmsg_data: ## @gl861_i2c_ctrlmsg_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movq %rdx, %rbx movl %esi, -52(%rbp) ## 4-byte Spill movq %rdi, -64(%rbp) ## 8-byte Spill movl (%rdx), %r15d movl 4(%rdx), %esi testq %r8, %r8 sete %r12b testq %r9, %r9 sete -48(%rbp) ## 1-byte Folded Spill decq %rcx leaq L_.str(%rip), %rdi xorl %r13d, %r13d movl %r15d, %edx movq %rcx, -72(%rbp) ## 8-byte Spill xorl %eax, %eax callq _deb_xfer cmpq $2, %r14 jl LBB0_3 ## %bb.1: orb -48(%rbp), %r12b ## 1-byte Folded Reload je LBB0_3 ## %bb.2: movslq %r15d, %rax movq %rax, -48(%rbp) ## 8-byte Spill addq $4, %rbx movl -52(%rbp), %eax ## 4-byte Reload shll $9, %eax movslq %eax, %r14 movq _GL861_REQ_I2C_DATA_CTRL_WRITE@GOTPCREL(%rip), %rax movl (%rax), %r15d movq _GL861_WRITE@GOTPCREL(%rip), %rax movl (%rax), %r12d movl $20, %edi callq _udelay movq -64(%rbp), %rax ## 8-byte Reload movl (%rax), %r13d movl %r13d, %edi xorl %esi, %esi callq _usb_sndctrlpipe subq $8, %rsp movl %r13d, %edi movl %eax, %esi movl %r15d, %edx movl %r12d, %ecx movq %r14, %r8 movq -48(%rbp), %r9 ## 8-byte Reload pushq $2000 ## imm = 0x7D0 pushq -72(%rbp) ## 8-byte Folded Reload pushq %rbx callq _usb_control_msg addq $72, %rsp jmp LBB0_4 LBB0_3: leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _deb_xfer movq _EINVAL@GOTPCREL(%rip), %rax subl (%rax), %r13d movl %r13d, %eax addq $40, %rsp LBB0_4: 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 "write to PLL:0x%02x via FE reg:0x%02x, len:%d\n" .comm _GL861_REQ_I2C_DATA_CTRL_WRITE,4,2 ## @GL861_REQ_I2C_DATA_CTRL_WRITE .comm _GL861_WRITE,4,2 ## @GL861_WRITE L_.str.1: ## @.str.1 .asciz "not supported ctrl-msg, aborting." .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _gl861_i2c_ctrlmsg_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gl861_i2c_ctrlmsg_data _gl861_i2c_ctrlmsg_data: ; @gl861_i2c_ctrlmsg_data .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 x24, x3 mov x19, x2 mov x23, x1 mov x22, x0 ldrsw x20, [x2] cmp x4, #0 ccmp x5, #0, #4, ne cset w25, eq ldr w8, [x19, #4]! sub x21, x3, #1 stp x20, x21, [sp, #8] str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _deb_xfer cmp x24, #2 b.lt LBB0_3 ; %bb.1: cbz w25, LBB0_3 ; %bb.2: lsl w8, w23, #9 sxtw x23, w8 Lloh2: adrp x8, _GL861_REQ_I2C_DATA_CTRL_WRITE@GOTPAGE Lloh3: ldr x8, [x8, _GL861_REQ_I2C_DATA_CTRL_WRITE@GOTPAGEOFF] Lloh4: ldr w24, [x8] Lloh5: adrp x8, _GL861_WRITE@GOTPAGE Lloh6: ldr x8, [x8, _GL861_WRITE@GOTPAGEOFF] Lloh7: ldr w25, [x8] mov w0, #20 bl _udelay ldr w22, [x22] mov x0, x22 mov w1, #0 bl _usb_sndctrlpipe mov x1, x0 mov w8, #2000 str w8, [sp] mov x0, x22 mov x2, x24 mov x3, x25 mov x4, x23 mov x5, x20 mov x6, x19 mov x7, x21 bl _usb_control_msg b LBB0_4 LBB0_3: Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF bl _deb_xfer Lloh10: adrp x8, _EINVAL@GOTPAGE Lloh11: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh12: ldr w8, [x8] neg w0, w8 LBB0_4: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "write to PLL:0x%02x via FE reg:0x%02x, len:%d\n" .comm _GL861_REQ_I2C_DATA_CTRL_WRITE,4,2 ; @GL861_REQ_I2C_DATA_CTRL_WRITE .comm _GL861_WRITE,4,2 ; @GL861_WRITE l_.str.1: ; @.str.1 .asciz "not supported ctrl-msg, aborting." .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _gl861_i2c_ctrlmsg_data .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_friio.c_gl861_i2c_ctrlmsg_data.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _LBAToOffset ## -- Begin function LBAToOffset .p2align 4, 0x90 _LBAToOffset: ## @LBAToOffset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _BPB_RsvdSecCnt@GOTPCREL(%rip), %rax movswl (%rax), %eax addl %edi, %eax movq _BPB_BytesPerSec@GOTPCREL(%rip), %rcx movswl (%rcx), %ecx movq _BPB_NumFATs@GOTPCREL(%rip), %rdx movsbl (%rdx), %edx movq _BPB_FATSz32@GOTPCREL(%rip), %rsi imull (%rsi), %edx addl %edx, %eax addl $-2, %eax imull %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _NextLB ## -- Begin function NextLB .p2align 4, 0x90 _NextLB: ## @NextLB .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 ## kill: def $edi killed $edi def $rdi movq _BPB_BytesPerSec@GOTPCREL(%rip), %rax movswl (%rax), %eax movq _BPB_RsvdSecCnt@GOTPCREL(%rip), %rcx movswl (%rcx), %ecx imull %eax, %ecx leal (%rcx,%rdi,4), %esi movq _fp@GOTPCREL(%rip), %rbx movq (%rbx), %rdi xorl %edx, %edx callq _fseek movq (%rbx), %rcx leaq -10(%rbp), %rdi movl $2, %esi movl $1, %edx callq _fread movswl -10(%rbp), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _compare ## -- Begin function compare .p2align 4, 0x90 _compare: ## @compare .cfi_startproc ## %bb.0: 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 $56, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) leaq L_.str(%rip), %rdi movl $2, %edx movq %rbx, %rsi callq _strncmp testl %eax, %eax je LBB2_1 ## %bb.2: leaq -44(%rbp), %rdi movl $11, %edx movq %r14, %rsi callq _strncpy movb $0, -33(%rbp) movl $0, -49(%rbp) movq $0, -56(%rbp) movq %rbx, %rdi callq _strlen leaq -56(%rbp), %r14 movl $11, %ecx movq %r14, %rdi movq %rbx, %rsi movq %rax, %rdx callq ___strncpy_chk movabsq $2314885530818453536, %rax ## imm = 0x2020202020202020 movq %rax, -72(%rbp) movl $538976288, -64(%rbp) ## imm = 0x20202020 leaq L_.str.1(%rip), %r15 movq %r14, %rdi movq %r15, %rsi callq _strtok movq %rax, %rbx movq %rax, %rdi callq _strlen leaq -72(%rbp), %rdi movl $12, %ecx movq %rbx, %rsi movq %rax, %rdx callq ___strncpy_chk xorl %edi, %edi movq %r15, %rsi callq _strtok testq %rax, %rax je LBB2_4 ## %bb.3: movq %rax, %rbx leaq -64(%rbp), %r14 movq %rax, %rdi callq _strlen movl $4, %ecx movq %r14, %rdi movq %rbx, %rsi movq %rax, %rdx callq ___strncpy_chk LBB2_4: movb $0, -61(%rbp) movsbl -72(%rbp), %edi callq ___toupper movb %al, -72(%rbp) movsbl -71(%rbp), %edi callq ___toupper movb %al, -71(%rbp) movsbl -70(%rbp), %edi callq ___toupper movb %al, -70(%rbp) movsbl -69(%rbp), %edi callq ___toupper movb %al, -69(%rbp) movsbl -68(%rbp), %edi callq ___toupper movb %al, -68(%rbp) movsbl -67(%rbp), %edi callq ___toupper movb %al, -67(%rbp) movsbl -66(%rbp), %edi callq ___toupper movb %al, -66(%rbp) movsbl -65(%rbp), %edi callq ___toupper movb %al, -65(%rbp) movsbl -64(%rbp), %edi callq ___toupper movb %al, -64(%rbp) movsbl -63(%rbp), %edi callq ___toupper movb %al, -63(%rbp) movsbl -62(%rbp), %edi callq ___toupper movb %al, -62(%rbp) leaq -72(%rbp), %rdi leaq -44(%rbp), %rsi movl $11, %edx jmp LBB2_5 LBB2_1: movl $2, %edx movq %rbx, %rdi movq %r14, %rsi LBB2_5: callq _strncmp movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx sete %cl movq ___stack_chk_guard@GOTPCREL(%rip), %rdx movq (%rdx), %rdx cmpq -32(%rbp), %rdx jne LBB2_7 ## %bb.6: movb %cl, %al addq $56, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB2_7: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _info ## -- Begin function info .p2align 4, 0x90 _info: ## @info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _BPB_BytesPerSec@GOTPCREL(%rip), %rax movswl (%rax), %edx leaq L_.str.2(%rip), %rdi movl %edx, %esi xorl %eax, %eax callq _printf movq _BPB_SecPerClus@GOTPCREL(%rip), %rax movsbl (%rax), %esi movq _BPB_FATSz32@GOTPCREL(%rip), %rbx movl (%rbx), %edx leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movq _BPB_RsvdSecCnt@GOTPCREL(%rip), %rax movswl (%rax), %esi movl (%rbx), %edx leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf movq _BPB_NumFATs@GOTPCREL(%rip), %rax movsbl (%rax), %esi movl (%rbx), %edx leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf movl (%rbx), %edx leaq L_.str.6(%rip), %rdi movl %edx, %esi xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _ls ## -- Begin function ls .p2align 4, 0x90 _ls: ## @ls .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) xorl %ebx, %ebx movq _dir@GOTPCREL(%rip), %r15 leaq -44(%rbp), %r14 jmp LBB4_1 .p2align 4, 0x90 LBB4_6: ## in Loop: Header=BB4_1 Depth=1 addq $32, %rbx cmpq $512, %rbx ## imm = 0x200 je LBB4_7 LBB4_1: ## =>This Inner Loop Header: Depth=1 leaq (%r15,%rbx), %rsi movl $11, %edx movq %r14, %rdi callq _strncpy movzbl 11(%r15,%rbx), %eax cmpb $1, %al je LBB4_4 ## %bb.2: ## in Loop: Header=BB4_1 Depth=1 cmpb $16, %al je LBB4_4 ## %bb.3: ## in Loop: Header=BB4_1 Depth=1 cmpb $32, %al jne LBB4_6 LBB4_4: ## in Loop: Header=BB4_1 Depth=1 cmpb $-27, -44(%rbp) je LBB4_6 ## %bb.5: ## in Loop: Header=BB4_1 Depth=1 movq %r14, %rdi callq _puts jmp LBB4_6 LBB4_7: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB4_9 ## %bb.8: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB4_9: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _readfile ## -- Begin function readfile .p2align 4, 0x90 _readfile: ## @readfile .cfi_startproc ## %bb.0: 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 %edx, %ebx movl %esi, %r14d movq %rdi, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) testl %esi, %esi jns LBB5_2 ## %bb.1: leaq L_.str.8(%rip), %rdi xorl %eax, %eax callq _printf LBB5_2: movb $1, %r12b movq _dir@GOTPCREL(%rip), %rax xorl %r13d, %r13d LBB5_3: ## =>This Loop Header: Depth=1 ## Child Loop BB5_4 Depth 2 ## Child Loop BB5_8 Depth 2 ## Child Loop BB5_12 Depth 2 ## Child Loop BB5_16 Depth 2 ## Child Loop BB5_18 Depth 3 ## Child Loop BB5_23 Depth 2 movl %ebx, -52(%rbp) ## 4-byte Spill movslq %r13d, %rbx decl %r13d shlq $5, %rbx addq %rax, %rbx .p2align 4, 0x90 LBB5_4: ## Parent Loop BB5_3 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rdi movq %rbx, %rsi callq _compare testl %eax, %eax jne LBB5_5 ## %bb.26: ## in Loop: Header=BB5_4 Depth=2 incl %r13d addq $32, %rbx cmpl $15, %r13d jl LBB5_4 jmp LBB5_27 .p2align 4, 0x90 LBB5_5: ## in Loop: Header=BB5_3 Depth=1 movq %r15, -88(%rbp) ## 8-byte Spill movzwl 26(%rbx), %edi movq _BPB_BytesPerSec@GOTPCREL(%rip), %rax movswl (%rax), %ecx cmpl %r14d, %ecx movl %r14d, -64(%rbp) ## 4-byte Spill jle LBB5_7 ## %bb.6: ## in Loop: Header=BB5_3 Depth=1 movq _BPB_RsvdSecCnt@GOTPCREL(%rip), %r13 movq _fp@GOTPCREL(%rip), %r15 jmp LBB5_10 .p2align 4, 0x90 LBB5_7: ## in Loop: Header=BB5_3 Depth=1 movl %r14d, %ebx movq _BPB_RsvdSecCnt@GOTPCREL(%rip), %r13 movq _fp@GOTPCREL(%rip), %r15 movq _BPB_BytesPerSec@GOTPCREL(%rip), %r14 leaq -54(%rbp), %r12 .p2align 4, 0x90 LBB5_8: ## Parent Loop BB5_3 Depth=1 ## => This Inner Loop Header: Depth=2 movswl (%r13), %eax imull %ecx, %eax leal (%rax,%rdi,4), %esi movq (%r15), %rdi xorl %edx, %edx callq _fseek movq (%r15), %rcx movl $2, %esi movl $1, %edx movq %r12, %rdi callq _fread movswl -54(%rbp), %edi movswl (%r14), %ecx subl %ecx, %ebx cmpl %ecx, %ebx jge LBB5_8 ## %bb.9: ## in Loop: Header=BB5_3 Depth=1 movl -64(%rbp), %r14d ## 4-byte Reload LBB5_10: ## in Loop: Header=BB5_3 Depth=1 movswl (%r13), %eax movq _BPB_NumFATs@GOTPCREL(%rip), %rdx movsbl (%rdx), %edx movq _BPB_FATSz32@GOTPCREL(%rip), %rsi imull (%rsi), %edx movq %rdi, -72(%rbp) ## 8-byte Spill addl %edi, %eax leal (%rdx,%rax), %esi addl $-2, %esi imull %ecx, %esi movl %r14d, %eax cltd idivl %ecx movq (%r15), %rdi addl %esi, %edx movslq %edx, %rsi movl %r14d, %ebx xorl %r12d, %r12d xorl %edx, %edx callq _fseek movq %rsp, -80(%rbp) ## 8-byte Spill movq _BPB_BytesPerSec@GOTPCREL(%rip), %r14 movzwl (%r14), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r13 movswq (%r14), %rdx movslq %ebx, %rax subq %rax, %rdx movq (%r15), %rcx movq %rdx, %r15 movl $1, %esi movq %r13, %rdi callq _fread testl %r15d, %r15d leaq L_.str.9(%rip), %r14 jle LBB5_14 ## %bb.11: ## in Loop: Header=BB5_3 Depth=1 movl %r15d, %r12d xorl %ebx, %ebx .p2align 4, 0x90 LBB5_12: ## Parent Loop BB5_3 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r13,%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf incq %rbx cmpq %rbx, %r12 jne LBB5_12 ## %bb.13: ## in Loop: Header=BB5_3 Depth=1 movl %r15d, %r12d LBB5_14: ## in Loop: Header=BB5_3 Depth=1 movl -52(%rbp), %ebx ## 4-byte Reload subl %r15d, %ebx cmpl $512, %ebx ## imm = 0x200 movq -72(%rbp), %rdx ## 8-byte Reload jl LBB5_20 ## %bb.15: ## in Loop: Header=BB5_3 Depth=1 movq _BPB_BytesPerSec@GOTPCREL(%rip), %rax movzwl (%rax), %eax jmp LBB5_16 .p2align 4, 0x90 LBB5_19: ## in Loop: Header=BB5_16 Depth=2 movswl %ax, %ecx movl -52(%rbp), %ebx ## 4-byte Reload subl %ecx, %ebx cmpl $511, %ebx ## imm = 0x1FF movq -72(%rbp), %rdx ## 8-byte Reload jle LBB5_20 LBB5_16: ## Parent Loop BB5_3 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB5_18 Depth 3 movl %ebx, -52(%rbp) ## 4-byte Spill cwtl movq _BPB_RsvdSecCnt@GOTPCREL(%rip), %r15 movswl (%r15), %ecx imull %eax, %ecx leal (%rcx,%rdx,4), %esi movq _fp@GOTPCREL(%rip), %rax movq (%rax), %rdi xorl %r12d, %r12d xorl %edx, %edx callq _fseek movq _fp@GOTPCREL(%rip), %rax movq (%rax), %rcx movl $2, %esi movl $1, %edx leaq -56(%rbp), %rdi callq _fread movswl -56(%rbp), %edx movswl (%r15), %eax movq _fp@GOTPCREL(%rip), %r15 movq %rdx, -72(%rbp) ## 8-byte Spill addl %edx, %eax movq _BPB_BytesPerSec@GOTPCREL(%rip), %r14 movswl (%r14), %ecx movq _BPB_NumFATs@GOTPCREL(%rip), %rdx movsbl (%rdx), %edx movq _BPB_FATSz32@GOTPCREL(%rip), %rsi imull (%rsi), %edx addl %edx, %eax addl $-2, %eax imull %ecx, %eax movq (%r15), %rdi movslq %eax, %rsi xorl %edx, %edx callq _fseek movswq (%r14), %rdx movq (%r15), %rcx leaq L_.str.9(%rip), %rbx movl $1, %esi movq %r13, %rdi callq _fread movzwl (%r14), %eax testw %ax, %ax jle LBB5_19 ## %bb.17: ## in Loop: Header=BB5_16 Depth=2 xorl %r12d, %r12d .p2align 4, 0x90 LBB5_18: ## Parent Loop BB5_3 Depth=1 ## Parent Loop BB5_16 Depth=2 ## => This Inner Loop Header: Depth=3 movzbl (%r13,%r12), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf incq %r12 movswq (%r14), %rax cmpq %rax, %r12 jl LBB5_18 jmp LBB5_19 .p2align 4, 0x90 LBB5_20: ## in Loop: Header=BB5_3 Depth=1 testl %ebx, %ebx je LBB5_25 ## %bb.21: ## in Loop: Header=BB5_3 Depth=1 movq _BPB_BytesPerSec@GOTPCREL(%rip), %rax movswl (%rax), %eax movq _BPB_RsvdSecCnt@GOTPCREL(%rip), %r14 movswl (%r14), %ecx imull %eax, %ecx leal (%rcx,%rdx,4), %esi movq _fp@GOTPCREL(%rip), %r15 movq (%r15), %rdi xorl %r12d, %r12d xorl %edx, %edx callq _fseek movq (%r15), %rcx movl $2, %esi movl $1, %edx leaq -58(%rbp), %rdi callq _fread movswl -58(%rbp), %eax movswl (%r14), %ecx addl %eax, %ecx movq _BPB_BytesPerSec@GOTPCREL(%rip), %r14 movswl (%r14), %eax movq _BPB_NumFATs@GOTPCREL(%rip), %rdx movsbl (%rdx), %edx movq _BPB_FATSz32@GOTPCREL(%rip), %rsi imull (%rsi), %edx addl %edx, %ecx addl $-2, %ecx imull %eax, %ecx movq (%r15), %rdi movslq %ecx, %rsi xorl %edx, %edx callq _fseek movswq (%r14), %rdx movq (%r15), %rcx movl $1, %esi movq %r13, %rdi callq _fread testl %ebx, %ebx jle LBB5_25 ## %bb.22: ## in Loop: Header=BB5_3 Depth=1 movl %ebx, %r12d movl %ebx, %r15d xorl %ebx, %ebx leaq L_.str.9(%rip), %r14 .p2align 4, 0x90 LBB5_23: ## Parent Loop BB5_3 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r13,%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf incq %rbx cmpq %rbx, %r15 jne LBB5_23 ## %bb.24: ## in Loop: Header=BB5_3 Depth=1 movl %r12d, %ebx LBB5_25: ## in Loop: Header=BB5_3 Depth=1 movl $10, %edi callq _putchar movq -80(%rbp), %rsp ## 8-byte Reload leal 1(%r12), %r13d cmpl $15, %r12d movl $0, %r12d movl -64(%rbp), %r14d ## 4-byte Reload movq -88(%rbp), %r15 ## 8-byte Reload movq _dir@GOTPCREL(%rip), %rax jl LBB5_3 jmp LBB5_29 LBB5_27: testb $1, %r12b movl $0, %r12d je LBB5_29 ## %bb.28: leaq L_str(%rip), %rdi callq _puts movl $-1, %r12d LBB5_29: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB5_31 ## %bb.30: movl %r12d, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB5_31: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _cd ## -- Begin function cd .p2align 4, 0x90 _cd: ## @cd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq _dir@GOTPCREL(%rip), %r15 movq %r15, %rsi callq _compare xorl %r14d, %r14d testl %eax, %eax je LBB6_3 ## %bb.1: xorl %ecx, %ecx jmp LBB6_2 LBB6_3: leaq 32(%r15), %rsi movq %rbx, %rdi callq _compare movl $1, %ecx testl %eax, %eax jne LBB6_2 ## %bb.4: leaq 64(%r15), %rsi movq %rbx, %rdi callq _compare movl $2, %ecx testl %eax, %eax jne LBB6_2 ## %bb.5: leaq 96(%r15), %rsi movq %rbx, %rdi callq _compare movl $3, %ecx testl %eax, %eax jne LBB6_2 ## %bb.6: leaq 128(%r15), %rsi movq %rbx, %rdi callq _compare movl $4, %ecx testl %eax, %eax jne LBB6_2 ## %bb.7: movl $160, %esi addq _dir@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _compare movl $5, %ecx testl %eax, %eax jne LBB6_2 ## %bb.8: movl $192, %esi addq _dir@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _compare movl $6, %ecx testl %eax, %eax jne LBB6_2 ## %bb.9: movl $224, %esi addq _dir@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _compare movl $7, %ecx testl %eax, %eax jne LBB6_2 ## %bb.10: movl $256, %esi ## imm = 0x100 addq _dir@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _compare movl $8, %ecx testl %eax, %eax jne LBB6_2 ## %bb.11: movl $288, %esi ## imm = 0x120 addq _dir@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _compare movl $9, %ecx testl %eax, %eax jne LBB6_2 ## %bb.12: movl $320, %esi ## imm = 0x140 addq _dir@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _compare movl $10, %ecx testl %eax, %eax jne LBB6_2 ## %bb.13: movl $352, %esi ## imm = 0x160 addq _dir@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _compare movl $11, %ecx testl %eax, %eax jne LBB6_2 ## %bb.14: movl $384, %esi ## imm = 0x180 addq _dir@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _compare movl $12, %ecx testl %eax, %eax jne LBB6_2 ## %bb.15: movl $416, %esi ## imm = 0x1A0 addq _dir@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _compare movl $13, %ecx testl %eax, %eax jne LBB6_2 ## %bb.16: movl $448, %esi ## imm = 0x1C0 addq _dir@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _compare movl $14, %ecx testl %eax, %eax jne LBB6_2 ## %bb.17: movl $480, %esi ## imm = 0x1E0 addq _dir@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _compare movl $15, %ecx testl %eax, %eax je LBB6_18 LBB6_2: shlq $5, %rcx movzwl 26(%r15,%rcx), %eax testw %ax, %ax movl $2, %ecx cmovnel %eax, %ecx movzwl %cx, %eax movq _BPB_RsvdSecCnt@GOTPCREL(%rip), %rcx movswl (%rcx), %ecx addl %eax, %ecx movq _BPB_BytesPerSec@GOTPCREL(%rip), %rax movswl (%rax), %eax movq _BPB_NumFATs@GOTPCREL(%rip), %rdx movsbl (%rdx), %edx movq _BPB_FATSz32@GOTPCREL(%rip), %rsi imull (%rsi), %edx addl %edx, %ecx addl $-2, %ecx imull %eax, %ecx movq _fp@GOTPCREL(%rip), %rbx movq (%rbx), %rdi movslq %ecx, %rsi xorl %edx, %edx callq _fseek movq (%rbx), %rcx movl $32, %esi movl $16, %edx movq %r15, %rdi callq _fread LBB6_19: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB6_18: leaq L_str.34(%rip), %rdi callq _puts movl $-1, %r14d jmp LBB6_19 .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 $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl $255, %edi callq _malloc movq %rax, %r15 movq ___stdinp@GOTPCREL(%rip), %rbx leaq L_.str.14(%rip), %r13 leaq L_.str.15(%rip), %r14 jmp LBB7_1 LBB7_11: ## in Loop: Header=BB7_1 Depth=1 cmpl $0, _file_open(%rip) je LBB7_13 ## %bb.12: ## in Loop: Header=BB7_1 Depth=1 leaq L_str.44(%rip), %rdi LBB7_53: ## in Loop: Header=BB7_1 Depth=1 callq _puts LBB7_54: ## in Loop: Header=BB7_1 Depth=1 leaq L_.str.14(%rip), %r13 movq ___stdinp@GOTPCREL(%rip), %rbx LBB7_1: ## =>This Loop Header: Depth=1 ## Child Loop BB7_2 Depth 2 ## Child Loop BB7_5 Depth 2 ## Child Loop BB7_8 Depth 2 ## Child Loop BB7_23 Depth 2 movq %r14, %r12 leaq L_.str.13(%rip), %rdi xorl %eax, %eax callq _printf .p2align 4, 0x90 LBB7_2: ## Parent Loop BB7_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%rbx), %rdx movq %r15, %rdi movl $255, %esi callq _fgets testq %rax, %rax je LBB7_2 ## %bb.3: ## in Loop: Header=BB7_1 Depth=1 movq %r15, %rdi callq _strdup movq %rax, -112(%rbp) ## 8-byte Spill movq %rax, -104(%rbp) leaq -104(%rbp), %rdi movq %r13, %rsi callq _strsep testq %rax, %rax movq %r12, %r14 je LBB7_9 ## %bb.4: ## in Loop: Header=BB7_1 Depth=1 xorl %ecx, %ecx leaq L_.str.14(%rip), %rbx .p2align 4, 0x90 LBB7_5: ## Parent Loop BB7_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq %rcx, %r13 movl $255, %esi movq %rax, %rdi callq _strndup cmpb $0, (%rax) movl $0, %ecx cmovneq %rax, %rcx movq %rcx, -96(%rbp,%r13,8) leaq -104(%rbp), %rdi movq %rbx, %rsi callq _strsep testq %rax, %rax je LBB7_7 ## %bb.6: ## in Loop: Header=BB7_5 Depth=2 leaq 1(%r13), %rcx cmpq $3, %r13 jb LBB7_5 LBB7_7: ## in Loop: Header=BB7_1 Depth=1 incq %r13 xorl %ebx, %ebx movq %r12, %r14 .p2align 4, 0x90 LBB7_8: ## Parent Loop BB7_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq -96(%rbp,%rbx,8), %rdx movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf incq %rbx cmpq %rbx, %r13 jne LBB7_8 LBB7_9: ## in Loop: Header=BB7_1 Depth=1 movq -112(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _free movq -96(%rbp), %r13 movq -88(%rbp), %r12 movq %r13, %rax orq %r12, %rax je LBB7_54 ## %bb.10: ## in Loop: Header=BB7_1 Depth=1 movq %r13, %rdi leaq L_.str.16(%rip), %rsi callq _strcmp testl %eax, %eax je LBB7_11 ## %bb.16: ## in Loop: Header=BB7_1 Depth=1 movq %r13, %rdi leaq L_.str.21(%rip), %rsi callq _strcmp testl %eax, %eax je LBB7_54 ## %bb.17: ## in Loop: Header=BB7_1 Depth=1 movq %r13, %rdi leaq L_.str.22(%rip), %rsi callq _strcmp testl %eax, %eax je LBB7_18 ## %bb.20: ## in Loop: Header=BB7_1 Depth=1 movq %r13, %rdi leaq L_.str.24(%rip), %rsi callq _strcmp testl %eax, %eax je LBB7_21 ## %bb.29: ## in Loop: Header=BB7_1 Depth=1 movq %r13, %rdi leaq L_.str.25(%rip), %rsi callq _strcmp testl %eax, %eax je LBB7_30 ## %bb.32: ## in Loop: Header=BB7_1 Depth=1 movq %r13, %rdi leaq L_.str.26(%rip), %rsi callq _strcmp testl %eax, %eax je LBB7_33 ## %bb.38: ## in Loop: Header=BB7_1 Depth=1 movq %r13, %rdi leaq L_.str.28(%rip), %rsi callq _strcmp testl %eax, %eax je LBB7_39 ## %bb.42: ## in Loop: Header=BB7_1 Depth=1 movq %r13, %rdi leaq L_.str.30(%rip), %rsi callq _strcmp testl %eax, %eax je LBB7_43 ## %bb.45: ## in Loop: Header=BB7_1 Depth=1 movq %r13, %rdi leaq L_.str.31(%rip), %rsi callq _strcmp testl %eax, %eax je LBB7_46 ## %bb.50: ## in Loop: Header=BB7_1 Depth=1 movq _fp@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB7_52 ## %bb.51: ## in Loop: Header=BB7_1 Depth=1 leaq L_str.36(%rip), %rdi jmp LBB7_53 LBB7_18: ## in Loop: Header=BB7_1 Depth=1 cmpl $0, _file_open(%rip) je LBB7_31 ## %bb.19: ## in Loop: Header=BB7_1 Depth=1 movq %r12, %rdi callq _cd jmp LBB7_54 LBB7_13: ## in Loop: Header=BB7_1 Depth=1 movq %r12, %rdi xorl %esi, %esi callq _access testl %eax, %eax je LBB7_14 ## %bb.15: ## in Loop: Header=BB7_1 Depth=1 leaq L_.str.20(%rip), %rdi movq %r12, %rsi xorl %eax, %eax callq _printf jmp LBB7_54 LBB7_21: ## in Loop: Header=BB7_1 Depth=1 movq _fp@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB7_31 ## %bb.22: ## in Loop: Header=BB7_1 Depth=1 xorl %ebx, %ebx jmp LBB7_23 .p2align 4, 0x90 LBB7_28: ## in Loop: Header=BB7_23 Depth=2 addq $32, %rbx cmpq $512, %rbx ## imm = 0x200 je LBB7_54 LBB7_23: ## Parent Loop BB7_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq _dir@GOTPCREL(%rip), %r13 leaq (%rbx,%r13), %rsi movl $11, %edx leaq -60(%rbp), %rdi callq _strncpy movzbl 11(%r13,%rbx), %eax cmpb $1, %al je LBB7_26 ## %bb.24: ## in Loop: Header=BB7_23 Depth=2 cmpb $16, %al je LBB7_26 ## %bb.25: ## in Loop: Header=BB7_23 Depth=2 cmpb $32, %al jne LBB7_28 LBB7_26: ## in Loop: Header=BB7_23 Depth=2 cmpb $-27, -60(%rbp) je LBB7_28 ## %bb.27: ## in Loop: Header=BB7_23 Depth=2 leaq -60(%rbp), %rdi callq _puts jmp LBB7_28 LBB7_30: ## in Loop: Header=BB7_1 Depth=1 cmpl $0, _file_open(%rip) jne LBB7_54 jmp LBB7_31 LBB7_14: ## in Loop: Header=BB7_1 Depth=1 movq %r12, %rdi leaq L_.str.18(%rip), %rsi callq _fopen movq _fp@GOTPCREL(%rip), %rbx movq %rax, (%rbx) movl $1, _file_open(%rip) movl $11, %esi movq %rax, %rdi xorl %edx, %edx callq _fseek movq (%rbx), %rcx movl $2, %esi movl $1, %edx movq _BPB_BytesPerSec@GOTPCREL(%rip), %rdi callq _fread movq (%rbx), %rdi movl $13, %esi xorl %edx, %edx callq _fseek movq (%rbx), %rcx movl $1, %esi movl $1, %edx movq _BPB_SecPerClus@GOTPCREL(%rip), %rdi callq _fread movq (%rbx), %rdi movl $14, %esi xorl %edx, %edx callq _fseek movq (%rbx), %rcx movl $2, %esi movl $1, %edx movq _BPB_RsvdSecCnt@GOTPCREL(%rip), %rdi callq _fread movq (%rbx), %rdi movl $16, %esi xorl %edx, %edx callq _fseek movq (%rbx), %rcx movl $1, %esi movl $1, %edx movq _BPB_NumFATs@GOTPCREL(%rip), %r12 movq %r12, %rdi callq _fread movq (%rbx), %rdi movl $36, %esi xorl %edx, %edx callq _fseek movq (%rbx), %rcx movl $4, %esi movl $1, %edx movq _BPB_FATSz32@GOTPCREL(%rip), %r13 movq %r13, %rdi callq _fread movsbl (%r12), %eax imull (%r13), %eax movq _BPB_BytesPerSec@GOTPCREL(%rip), %rcx movswl (%rcx), %ecx movq _BPB_RsvdSecCnt@GOTPCREL(%rip), %rdx movswl (%rdx), %edx addl %eax, %edx imull %ecx, %edx movl %edx, _RootDirSectors(%rip) movq (%rbx), %rdi movslq %edx, %rsi xorl %edx, %edx callq _fseek movq (%rbx), %rcx movl $16, %esi movl $32, %edx movq _dir@GOTPCREL(%rip), %rdi callq _fread jmp LBB7_54 LBB7_33: ## in Loop: Header=BB7_1 Depth=1 cmpl $0, _file_open(%rip) je LBB7_31 ## %bb.34: ## in Loop: Header=BB7_1 Depth=1 movq -80(%rbp), %rdi testq %rdi, %rdi je LBB7_37 ## %bb.35: ## in Loop: Header=BB7_1 Depth=1 movq -72(%rbp), %rbx testq %rbx, %rbx je LBB7_37 ## %bb.36: ## in Loop: Header=BB7_1 Depth=1 callq _atoi movl %eax, %r13d movq %rbx, %rdi callq _atoi movq %r12, %rdi movl %r13d, %esi movl %eax, %edx callq _readfile jmp LBB7_54 LBB7_39: ## in Loop: Header=BB7_1 Depth=1 cmpl $0, _file_open(%rip) je LBB7_41 ## %bb.40: ## in Loop: Header=BB7_1 Depth=1 movq _fp@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _fclose movl $0, _file_open(%rip) jmp LBB7_54 LBB7_43: ## in Loop: Header=BB7_1 Depth=1 movq _fp@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB7_31 ## %bb.44: ## in Loop: Header=BB7_1 Depth=1 movq _BPB_BytesPerSec@GOTPCREL(%rip), %rax movswl (%rax), %edx leaq L_.str.2(%rip), %rdi movl %edx, %esi xorl %eax, %eax callq _printf movq _BPB_SecPerClus@GOTPCREL(%rip), %rax movsbl (%rax), %esi movq _BPB_FATSz32@GOTPCREL(%rip), %rbx movl (%rbx), %edx leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movq _BPB_RsvdSecCnt@GOTPCREL(%rip), %rax movswl (%rax), %esi movl (%rbx), %edx leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf movq _BPB_NumFATs@GOTPCREL(%rip), %rax movsbl (%rax), %esi movl (%rbx), %edx leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf movl (%rbx), %edx leaq L_.str.6(%rip), %rdi movl %edx, %esi xorl %eax, %eax callq _printf jmp LBB7_54 LBB7_31: ## in Loop: Header=BB7_1 Depth=1 leaq L_str.43(%rip), %rdi jmp LBB7_53 LBB7_37: ## in Loop: Header=BB7_1 Depth=1 leaq L_str.40(%rip), %rdi jmp LBB7_53 LBB7_52: ## in Loop: Header=BB7_1 Depth=1 leaq L_str.35(%rip), %rdi jmp LBB7_53 LBB7_41: ## in Loop: Header=BB7_1 Depth=1 leaq L_str.38(%rip), %rdi jmp LBB7_53 LBB7_46: movq %rbx, %rdi callq _free cmpl $0, _file_open(%rip) je LBB7_48 ## %bb.47: movq _fp@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _fclose LBB7_48: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB7_49 ## %bb.55: xorl %eax, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB7_49: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _RootDirSectors ## @RootDirSectors .zerofill __DATA,__common,_RootDirSectors,4,2 .globl _FirstDataSector ## @FirstDataSector .zerofill __DATA,__common,_FirstDataSector,4,2 .globl _FirstSectorofCluster ## @FirstSectorofCluster .zerofill __DATA,__common,_FirstSectorofCluster,4,2 .globl _file_open ## @file_open .zerofill __DATA,__common,_file_open,4,2 .comm _BPB_BytesPerSec,2,1 ## @BPB_BytesPerSec .comm _BPB_RsvdSecCnt,2,1 ## @BPB_RsvdSecCnt .comm _BPB_NumFATs,1,0 ## @BPB_NumFATs .comm _BPB_FATSz32,4,2 ## @BPB_FATSz32 .comm _fp,8,3 ## @fp .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz ".." L_.str.1: ## @.str.1 .asciz "." L_.str.2: ## @.str.2 .asciz "BPB_BytsPerSec: %d\nBPB_BytsPerSec: %.4x\n" L_.str.3: ## @.str.3 .asciz "BPB_SecPerClus: %d\nBPB_SecPerClus: %.4x\n" .comm _BPB_SecPerClus,1,0 ## @BPB_SecPerClus L_.str.4: ## @.str.4 .asciz "BPB_RsvdSecCnt: %d\nBPB_RsvdSecCnt: %.4x\n" L_.str.5: ## @.str.5 .asciz "BPB_NumFATs: %d\nBPB_NumFATs: %.4x\n" L_.str.6: ## @.str.6 .asciz "BPB_FATSz32: %d\nBPB_FATSz32: %.4x\n" .comm _dir,512,4 ## @dir L_.str.8: ## @.str.8 .asciz "Error: Offset is less than zero" L_.str.9: ## @.str.9 .asciz "%x " L_.str.13: ## @.str.13 .asciz "mfs> " L_.str.14: ## @.str.14 .asciz " \t\n" L_.str.15: ## @.str.15 .asciz "token[%d] = %s\n" L_.str.16: ## @.str.16 .asciz "open" L_.str.18: ## @.str.18 .asciz "r" L_.str.20: ## @.str.20 .asciz "Could not find file image: %s\n" L_.str.21: ## @.str.21 .asciz "stat" L_.str.22: ## @.str.22 .asciz "cd" L_.str.24: ## @.str.24 .asciz "ls" L_.str.25: ## @.str.25 .asciz "get" L_.str.26: ## @.str.26 .asciz "read" L_.str.28: ## @.str.28 .asciz "close" L_.str.30: ## @.str.30 .asciz "bpb" L_.str.31: ## @.str.31 .asciz "quit" .comm _BS_OEMName,8,0 ## @BS_OEMName .comm _BS_VolLab,11,0 ## @BS_VolLab .comm _BPB_RootEntCnt,2,1 ## @BPB_RootEntCnt .comm _BPB_RootClus,4,2 ## @BPB_RootClus L_str: ## @str .asciz "Error: File was not Found" L_str.34: ## @str.34 .asciz "Error Directory Wasn't found" L_str.35: ## @str.35 .asciz "Error: First system image must be opened first" L_str.36: ## @str.36 .asciz "Command not found ! " L_str.38: ## @str.38 .asciz "ERROR: File has not been opened" L_str.40: ## @str.40 .asciz "ERROR: Please use right format <filename> <position> <number of bytes>" L_str.43: ## @str.43 .asciz "ERROR: File Image Not Open" L_str.44: ## @str.44 .asciz "The file is already opened" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _LBAToOffset ; -- Begin function LBAToOffset .p2align 2 _LBAToOffset: ; @LBAToOffset .cfi_startproc ; %bb.0: Lloh0: adrp x8, _BPB_RsvdSecCnt@GOTPAGE Lloh1: ldr x8, [x8, _BPB_RsvdSecCnt@GOTPAGEOFF] Lloh2: ldrsh w8, [x8] Lloh3: adrp x9, _BPB_BytesPerSec@GOTPAGE Lloh4: ldr x9, [x9, _BPB_BytesPerSec@GOTPAGEOFF] add w8, w0, w8 Lloh5: ldrsh w9, [x9] Lloh6: adrp x10, _BPB_NumFATs@GOTPAGE Lloh7: ldr x10, [x10, _BPB_NumFATs@GOTPAGEOFF] Lloh8: adrp x11, _BPB_FATSz32@GOTPAGE Lloh9: ldr x11, [x11, _BPB_FATSz32@GOTPAGEOFF] Lloh10: ldrsb w10, [x10] Lloh11: ldr w11, [x11] madd w8, w11, w10, w8 sub w8, w8, #2 mul w0, w8, w9 ret .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh10 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .globl _NextLB ; -- Begin function NextLB .p2align 2 _NextLB: ; @NextLB .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 Lloh12: adrp x8, _BPB_BytesPerSec@GOTPAGE Lloh13: ldr x8, [x8, _BPB_BytesPerSec@GOTPAGEOFF] Lloh14: ldrsh w8, [x8] Lloh15: adrp x9, _BPB_RsvdSecCnt@GOTPAGE Lloh16: ldr x9, [x9, _BPB_RsvdSecCnt@GOTPAGEOFF] Lloh17: ldrsh w9, [x9] mul w8, w9, w8 add w1, w8, w0, lsl #2 Lloh18: adrp x19, _fp@GOTPAGE Lloh19: ldr x19, [x19, _fp@GOTPAGEOFF] ldr x0, [x19] mov w2, #0 bl _fseek ldr x3, [x19] add x0, sp, #14 mov w1, #2 mov w2, #1 bl _fread ldrsh w0, [sp, #14] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .globl _compare ; -- Begin function compare .p2align 2 _compare: ; @compare .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, x1 mov x19, x0 Lloh20: adrp x8, ___stack_chk_guard@GOTPAGE Lloh21: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh22: ldr x8, [x8] str x8, [sp, #40] Lloh23: adrp x0, l_.str@PAGE Lloh24: add x0, x0, l_.str@PAGEOFF mov x1, x19 mov w2, #2 bl _strncmp cbz w0, LBB2_4 ; %bb.1: add x0, sp, #28 mov x1, x20 mov w2, #11 bl _strncpy strb wzr, [sp, #39] stur wzr, [sp, #23] str xzr, [sp, #16] mov x0, x19 bl _strlen mov x2, x0 add x0, sp, #16 mov x1, x19 mov w3, #11 bl ___strncpy_chk mov x8, #2314885530818453536 str w8, [sp, #8] str x8, [sp] Lloh25: adrp x19, l_.str.1@PAGE Lloh26: add x19, x19, l_.str.1@PAGEOFF add x0, sp, #16 mov x1, x19 bl _strtok mov x20, x0 bl _strlen mov x2, x0 mov x21, sp mov x0, sp mov x1, x20 mov w3, #12 bl ___strncpy_chk mov x0, #0 mov x1, x19 bl _strtok cbz x0, LBB2_3 ; %bb.2: mov x19, x0 add x20, x21, #8 bl _strlen mov x2, x0 mov x0, x20 mov x1, x19 mov w3, #4 bl ___strncpy_chk LBB2_3: strb wzr, [sp, #11] ldrsb w0, [sp] bl ___toupper strb w0, [sp] ldrsb w0, [sp, #1] bl ___toupper strb w0, [sp, #1] ldrsb w0, [sp, #2] bl ___toupper strb w0, [sp, #2] ldrsb w0, [sp, #3] bl ___toupper strb w0, [sp, #3] ldrsb w0, [sp, #4] bl ___toupper strb w0, [sp, #4] ldrsb w0, [sp, #5] bl ___toupper strb w0, [sp, #5] ldrsb w0, [sp, #6] bl ___toupper strb w0, [sp, #6] ldrsb w0, [sp, #7] bl ___toupper strb w0, [sp, #7] ldrsb w0, [sp, #8] bl ___toupper strb w0, [sp, #8] ldrsb w0, [sp, #9] bl ___toupper strb w0, [sp, #9] ldrsb w0, [sp, #10] bl ___toupper strb w0, [sp, #10] mov x0, sp add x1, sp, #28 mov w2, #11 b LBB2_5 LBB2_4: mov x0, x19 mov x1, x20 mov w2, #2 LBB2_5: bl _strncmp cmp w0, #0 cset w0, eq ldr x8, [sp, #40] Lloh27: adrp x9, ___stack_chk_guard@GOTPAGE Lloh28: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh29: ldr x9, [x9] cmp x9, x8 b.ne LBB2_7 ; %bb.6: 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 LBB2_7: bl ___stack_chk_fail .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .cfi_endproc ; -- End function .globl _info ; -- Begin function info .p2align 2 _info: ; @info .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 Lloh30: adrp x8, _BPB_BytesPerSec@GOTPAGE Lloh31: ldr x8, [x8, _BPB_BytesPerSec@GOTPAGEOFF] Lloh32: ldrsh x8, [x8] stp x8, x8, [sp] Lloh33: adrp x0, l_.str.2@PAGE Lloh34: add x0, x0, l_.str.2@PAGEOFF bl _printf Lloh35: adrp x8, _BPB_SecPerClus@GOTPAGE Lloh36: ldr x8, [x8, _BPB_SecPerClus@GOTPAGEOFF] Lloh37: ldrsb x8, [x8] Lloh38: adrp x19, _BPB_FATSz32@GOTPAGE Lloh39: ldr x19, [x19, _BPB_FATSz32@GOTPAGEOFF] ldr w9, [x19] stp x8, x9, [sp] Lloh40: adrp x0, l_.str.3@PAGE Lloh41: add x0, x0, l_.str.3@PAGEOFF bl _printf Lloh42: adrp x8, _BPB_RsvdSecCnt@GOTPAGE Lloh43: ldr x8, [x8, _BPB_RsvdSecCnt@GOTPAGEOFF] Lloh44: ldrsh x8, [x8] ldr w9, [x19] stp x8, x9, [sp] Lloh45: adrp x0, l_.str.4@PAGE Lloh46: add x0, x0, l_.str.4@PAGEOFF bl _printf Lloh47: adrp x8, _BPB_NumFATs@GOTPAGE Lloh48: ldr x8, [x8, _BPB_NumFATs@GOTPAGEOFF] Lloh49: ldrsb x8, [x8] ldr w9, [x19] stp x8, x9, [sp] Lloh50: adrp x0, l_.str.5@PAGE Lloh51: add x0, x0, l_.str.5@PAGEOFF bl _printf ldr w8, [x19] stp x8, x8, [sp] Lloh52: adrp x0, l_.str.6@PAGE Lloh53: add x0, x0, l_.str.6@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .cfi_endproc ; -- End function .globl _ls ; -- Begin function ls .p2align 2 _ls: ; @ls .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, #0 Lloh54: adrp x8, ___stack_chk_guard@GOTPAGE Lloh55: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh56: ldr x8, [x8] str x8, [sp, #24] Lloh57: adrp x21, _dir@GOTPAGE Lloh58: ldr x21, [x21, _dir@GOTPAGEOFF] b LBB4_2 LBB4_1: ; in Loop: Header=BB4_2 Depth=1 add x20, x20, #32 cmp x20, #512 b.eq LBB4_6 LBB4_2: ; =>This Inner Loop Header: Depth=1 add x19, x21, x20 add x0, sp, #12 mov x1, x19 mov w2, #11 bl _strncpy ldrb w8, [x19, #11] cmp w8, #1 ccmp w8, #16, #4, ne b.eq LBB4_4 ; %bb.3: ; in Loop: Header=BB4_2 Depth=1 cmp w8, #32 b.ne LBB4_1 LBB4_4: ; in Loop: Header=BB4_2 Depth=1 ldrb w8, [sp, #12] cmp w8, #229 b.eq LBB4_1 ; %bb.5: ; in Loop: Header=BB4_2 Depth=1 add x0, sp, #12 bl _puts b LBB4_1 LBB4_6: ldr x8, [sp, #24] Lloh59: adrp x9, ___stack_chk_guard@GOTPAGE Lloh60: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh61: ldr x9, [x9] cmp x9, x8 b.ne LBB4_8 ; %bb.7: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret LBB4_8: bl ___stack_chk_fail .loh AdrpLdrGot Lloh57, Lloh58 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61 .cfi_endproc ; -- End function .globl _readfile ; -- Begin function readfile .p2align 2 _readfile: ; @readfile .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #32 mov x19, x2 mov x27, x1 mov x21, x0 Lloh62: adrp x8, ___stack_chk_guard@GOTPAGE Lloh63: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh64: ldr x8, [x8] stur x8, [x29, #-88] tbz w1, #31, LBB5_2 ; %bb.1: Lloh65: adrp x0, l_.str.8@PAGE Lloh66: add x0, x0, l_.str.8@PAGEOFF bl _printf LBB5_2: mov w8, #0 mov w25, #1 Lloh67: adrp x9, _dir@GOTPAGE Lloh68: ldr x9, [x9, _dir@GOTPAGEOFF] Lloh69: adrp x26, _BPB_BytesPerSec@GOTPAGE Lloh70: ldr x26, [x26, _BPB_BytesPerSec@GOTPAGEOFF] Lloh71: adrp x22, l_.str.9@PAGE Lloh72: add x22, x22, l_.str.9@PAGEOFF Lloh73: adrp x20, _fp@GOTPAGE Lloh74: ldr x20, [x20, _fp@GOTPAGEOFF] LBB5_3: ; =>This Loop Header: Depth=1 ; Child Loop BB5_4 Depth 2 ; Child Loop BB5_9 Depth 2 ; Child Loop BB5_12 Depth 2 ; Child Loop BB5_19 Depth 2 ; Child Loop BB5_21 Depth 3 ; Child Loop BB5_27 Depth 2 sub w24, w8, #1 sxtw x8, w8 add x23, x9, x8, lsl #5 LBB5_4: ; Parent Loop BB5_3 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x21 mov x1, x23 bl _compare cbnz w0, LBB5_6 ; %bb.5: ; in Loop: Header=BB5_4 Depth=2 add w24, w24, #1 add x23, x23, #32 cmp w24, #15 b.lt LBB5_4 b LBB5_31 LBB5_6: ; in Loop: Header=BB5_3 Depth=1 ldrh w28, [x23, #26] ldrsh w8, [x26] cmp w8, w27 b.le LBB5_8 ; %bb.7: ; in Loop: Header=BB5_3 Depth=1 Lloh75: adrp x24, _BPB_RsvdSecCnt@GOTPAGE Lloh76: ldr x24, [x24, _BPB_RsvdSecCnt@GOTPAGEOFF] Lloh77: adrp x25, _BPB_NumFATs@GOTPAGE Lloh78: ldr x25, [x25, _BPB_NumFATs@GOTPAGEOFF] b LBB5_10 LBB5_8: ; in Loop: Header=BB5_3 Depth=1 mov x23, x27 Lloh79: adrp x24, _BPB_RsvdSecCnt@GOTPAGE Lloh80: ldr x24, [x24, _BPB_RsvdSecCnt@GOTPAGEOFF] Lloh81: adrp x25, _BPB_NumFATs@GOTPAGE Lloh82: ldr x25, [x25, _BPB_NumFATs@GOTPAGEOFF] LBB5_9: ; Parent Loop BB5_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsh w9, [x24] mul w8, w8, w9 add w1, w8, w28, lsl #2 ldr x0, [x20] mov w2, #0 bl _fseek ldr x3, [x20] sub x0, x29, #94 mov w1, #2 mov w2, #1 bl _fread ldursh w28, [x29, #-94] ldrsh w8, [x26] sub w23, w23, w8 cmp w23, w8 b.ge LBB5_9 LBB5_10: ; in Loop: Header=BB5_3 Depth=1 ldrsh w9, [x24] add w9, w28, w9 ldrsb w10, [x25] Lloh83: adrp x11, _BPB_FATSz32@GOTPAGE Lloh84: ldr x11, [x11, _BPB_FATSz32@GOTPAGEOFF] Lloh85: ldr w11, [x11] madd w9, w11, w10, w9 sub w9, w9, #2 sdiv w10, w27, w8 msub w10, w10, w8, w27 ldr x0, [x20] madd w8, w9, w8, w10 sxtw x1, w8 mov w2, #0 bl _fseek mov x8, sp stur x8, [x29, #-112] ; 8-byte Folded Spill ldrh w9, [x26] add w8, w9, #15 and x8, x8, #0x1fff0 Lloh86: adrp x16, ___chkstk_darwin@GOTPAGE Lloh87: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp mov x10, x27 sub x27, x9, x8 mov sp, x27 ldrsh x8, [x26] stur w10, [x29, #-100] ; 4-byte Folded Spill sub x25, x8, w10, sxtw ldr x3, [x20] mov x0, x27 mov w1, #1 mov x2, x25 bl _fread cmp w25, #1 b.lt LBB5_14 ; %bb.11: ; in Loop: Header=BB5_3 Depth=1 mov w24, w25 mov x23, x27 LBB5_12: ; Parent Loop BB5_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x23], #1 str x8, [sp, #-16]! mov x0, x22 bl _printf add sp, sp, #16 subs x24, x24, #1 b.ne LBB5_12 ; %bb.13: ; in Loop: Header=BB5_3 Depth=1 mov x24, x25 b LBB5_15 LBB5_14: ; in Loop: Header=BB5_3 Depth=1 mov w24, #0 LBB5_15: ; in Loop: Header=BB5_3 Depth=1 sub w19, w19, w25 cmp w19, #512 b.lt LBB5_23 ; %bb.16: ; in Loop: Header=BB5_3 Depth=1 ldrh w8, [x26] Lloh88: adrp x23, _BPB_RsvdSecCnt@GOTPAGE Lloh89: ldr x23, [x23, _BPB_RsvdSecCnt@GOTPAGEOFF] Lloh90: adrp x25, _BPB_NumFATs@GOTPAGE Lloh91: ldr x25, [x25, _BPB_NumFATs@GOTPAGEOFF] b LBB5_19 LBB5_17: ; in Loop: Header=BB5_19 Depth=2 mov w24, #0 LBB5_18: ; in Loop: Header=BB5_19 Depth=2 sub w19, w19, w8, sxth cmp w19, #511 b.le LBB5_24 LBB5_19: ; Parent Loop BB5_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB5_21 Depth 3 sxth w8, w8 ldrsh w9, [x23] mul w8, w9, w8 add w1, w8, w28, lsl #2 ldr x0, [x20] mov w2, #0 bl _fseek ldr x3, [x20] sub x0, x29, #92 mov w1, #2 mov w2, #1 bl _fread ldursh w28, [x29, #-92] ldrsh w8, [x23] add w8, w28, w8 ldrsh w9, [x26] ldrsb w10, [x25] Lloh92: adrp x11, _BPB_FATSz32@GOTPAGE Lloh93: ldr x11, [x11, _BPB_FATSz32@GOTPAGEOFF] Lloh94: ldr w11, [x11] madd w8, w11, w10, w8 sub w8, w8, #2 mul w8, w8, w9 ldr x0, [x20] sxtw x1, w8 mov w2, #0 bl _fseek ldrsh x2, [x26] ldr x3, [x20] mov x0, x27 mov w1, #1 bl _fread ldrsh w8, [x26] cmp w8, #1 b.lt LBB5_17 ; %bb.20: ; in Loop: Header=BB5_19 Depth=2 mov x24, #0 LBB5_21: ; Parent Loop BB5_3 Depth=1 ; Parent Loop BB5_19 Depth=2 ; => This Inner Loop Header: Depth=3 ldrb w8, [x27, x24] str x8, [sp, #-16]! mov x0, x22 bl _printf add sp, sp, #16 add x24, x24, #1 ldrsh x8, [x26] cmp x24, x8 b.lt LBB5_21 ; %bb.22: ; in Loop: Header=BB5_19 Depth=2 and w8, w8, #0xffff b LBB5_18 LBB5_23: ; in Loop: Header=BB5_3 Depth=1 Lloh95: adrp x23, _BPB_RsvdSecCnt@GOTPAGE Lloh96: ldr x23, [x23, _BPB_RsvdSecCnt@GOTPAGEOFF] Lloh97: adrp x25, _BPB_NumFATs@GOTPAGE Lloh98: ldr x25, [x25, _BPB_NumFATs@GOTPAGEOFF] LBB5_24: ; in Loop: Header=BB5_3 Depth=1 cbz w19, LBB5_30 ; %bb.25: ; in Loop: Header=BB5_3 Depth=1 ldrsh w8, [x26] ldrsh w9, [x23] mul w8, w9, w8 add w1, w8, w28, lsl #2 ldr x0, [x20] mov w2, #0 bl _fseek ldr x3, [x20] sub x0, x29, #90 mov w1, #2 mov w2, #1 bl _fread ldursh w8, [x29, #-90] ldrsh w9, [x23] add w8, w8, w9 ldrsh w9, [x26] ldrsb w10, [x25] Lloh99: adrp x11, _BPB_FATSz32@GOTPAGE Lloh100: ldr x11, [x11, _BPB_FATSz32@GOTPAGEOFF] Lloh101: ldr w11, [x11] madd w8, w11, w10, w8 sub w8, w8, #2 mul w8, w8, w9 ldr x0, [x20] sxtw x1, w8 mov w2, #0 bl _fseek ldrsh x2, [x26] ldr x3, [x20] mov x0, x27 mov w1, #1 bl _fread cmp w19, #1 b.lt LBB5_29 ; %bb.26: ; in Loop: Header=BB5_3 Depth=1 mov w24, w19 LBB5_27: ; Parent Loop BB5_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x27], #1 str x8, [sp, #-16]! mov x0, x22 bl _printf add sp, sp, #16 subs x24, x24, #1 b.ne LBB5_27 ; %bb.28: ; in Loop: Header=BB5_3 Depth=1 mov x24, x19 b LBB5_30 LBB5_29: ; in Loop: Header=BB5_3 Depth=1 mov w24, #0 LBB5_30: ; in Loop: Header=BB5_3 Depth=1 mov w0, #10 bl _putchar ldur x8, [x29, #-112] ; 8-byte Folded Reload mov sp, x8 mov w25, #0 add w8, w24, #1 cmp w24, #15 ldur w27, [x29, #-100] ; 4-byte Folded Reload Lloh102: adrp x9, _dir@GOTPAGE Lloh103: ldr x9, [x9, _dir@GOTPAGEOFF] b.lt LBB5_3 b LBB5_33 LBB5_31: tbz w25, #0, LBB5_33 ; %bb.32: Lloh104: adrp x0, l_str@PAGE Lloh105: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #-1 b LBB5_34 LBB5_33: mov w0, #0 LBB5_34: ldur x8, [x29, #-88] Lloh106: adrp x9, ___stack_chk_guard@GOTPAGE Lloh107: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh108: ldr x9, [x9] cmp x9, x8 b.ne LBB5_36 ; %bb.35: 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 LBB5_36: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpLdrGot Lloh73, Lloh74 .loh AdrpAdd Lloh71, Lloh72 .loh AdrpLdrGot Lloh69, Lloh70 .loh AdrpLdrGot Lloh67, Lloh68 .loh AdrpLdrGot Lloh77, Lloh78 .loh AdrpLdrGot Lloh75, Lloh76 .loh AdrpLdrGot Lloh81, Lloh82 .loh AdrpLdrGot Lloh79, Lloh80 .loh AdrpLdrGot Lloh86, Lloh87 .loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85 .loh AdrpLdrGot Lloh90, Lloh91 .loh AdrpLdrGot Lloh88, Lloh89 .loh AdrpLdrGotLdr Lloh92, Lloh93, Lloh94 .loh AdrpLdrGot Lloh97, Lloh98 .loh AdrpLdrGot Lloh95, Lloh96 .loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101 .loh AdrpLdrGot Lloh102, Lloh103 .loh AdrpAdd Lloh104, Lloh105 .loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108 .cfi_endproc ; -- End function .globl _cd ; -- Begin function cd .p2align 2 _cd: ; @cd .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 Lloh109: adrp x19, _dir@GOTPAGE Lloh110: ldr x19, [x19, _dir@GOTPAGEOFF] mov x1, x19 bl _compare cbz w0, LBB6_2 ; %bb.1: mov x8, #0 b LBB6_32 LBB6_2: add x1, x19, #32 mov x0, x20 bl _compare cbz w0, LBB6_4 ; %bb.3: mov w8, #1 b LBB6_32 LBB6_4: add x1, x19, #64 mov x0, x20 bl _compare cbz w0, LBB6_6 ; %bb.5: mov w8, #2 b LBB6_32 LBB6_6: add x1, x19, #96 mov x0, x20 bl _compare cbz w0, LBB6_8 ; %bb.7: mov w8, #3 b LBB6_32 LBB6_8: add x1, x19, #128 mov x0, x20 bl _compare cbz w0, LBB6_10 ; %bb.9: mov w8, #4 b LBB6_32 LBB6_10: add x1, x19, #160 mov x0, x20 bl _compare cbz w0, LBB6_12 ; %bb.11: mov w8, #5 b LBB6_32 LBB6_12: add x1, x19, #192 mov x0, x20 bl _compare cbz w0, LBB6_14 ; %bb.13: mov w8, #6 b LBB6_32 LBB6_14: add x1, x19, #224 mov x0, x20 bl _compare cbz w0, LBB6_16 ; %bb.15: mov w8, #7 b LBB6_32 LBB6_16: add x1, x19, #256 mov x0, x20 bl _compare cbz w0, LBB6_18 ; %bb.17: mov w8, #8 b LBB6_32 LBB6_18: add x1, x19, #288 mov x0, x20 bl _compare cbz w0, LBB6_20 ; %bb.19: mov w8, #9 b LBB6_32 LBB6_20: add x1, x19, #320 mov x0, x20 bl _compare cbz w0, LBB6_22 ; %bb.21: mov w8, #10 b LBB6_32 LBB6_22: add x1, x19, #352 mov x0, x20 bl _compare cbz w0, LBB6_24 ; %bb.23: mov w8, #11 b LBB6_32 LBB6_24: add x1, x19, #384 mov x0, x20 bl _compare cbz w0, LBB6_26 ; %bb.25: mov w8, #12 b LBB6_32 LBB6_26: add x1, x19, #416 mov x0, x20 bl _compare cbz w0, LBB6_28 ; %bb.27: mov w8, #13 b LBB6_32 LBB6_28: add x1, x19, #448 mov x0, x20 bl _compare cbz w0, LBB6_30 ; %bb.29: mov w8, #14 b LBB6_32 LBB6_30: add x1, x19, #480 mov x0, x20 bl _compare cbz w0, LBB6_34 ; %bb.31: mov w8, #15 LBB6_32: add x8, x19, x8, lsl #5 ldrh w8, [x8, #26] mov w9, #2 cmp w8, #0 csel w8, w9, w8, eq Lloh111: adrp x9, _BPB_RsvdSecCnt@GOTPAGE Lloh112: ldr x9, [x9, _BPB_RsvdSecCnt@GOTPAGEOFF] Lloh113: ldrsh w9, [x9] add w8, w8, w9 Lloh114: adrp x9, _BPB_BytesPerSec@GOTPAGE Lloh115: ldr x9, [x9, _BPB_BytesPerSec@GOTPAGEOFF] Lloh116: adrp x10, _BPB_NumFATs@GOTPAGE Lloh117: ldr x10, [x10, _BPB_NumFATs@GOTPAGEOFF] Lloh118: ldrsh w9, [x9] Lloh119: ldrsb w10, [x10] Lloh120: adrp x11, _BPB_FATSz32@GOTPAGE Lloh121: ldr x11, [x11, _BPB_FATSz32@GOTPAGEOFF] Lloh122: ldr w11, [x11] madd w8, w11, w10, w8 sub w8, w8, #2 mul w8, w8, w9 Lloh123: adrp x20, _fp@GOTPAGE Lloh124: ldr x20, [x20, _fp@GOTPAGEOFF] ldr x0, [x20] sxtw x1, w8 mov w2, #0 bl _fseek ldr x3, [x20] mov x0, x19 mov w1, #32 mov w2, #16 bl _fread mov w0, #0 LBB6_33: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB6_34: Lloh125: adrp x0, l_str.34@PAGE Lloh126: add x0, x0, l_str.34@PAGEOFF bl _puts mov w0, #-1 b LBB6_33 .loh AdrpLdrGot Lloh109, Lloh110 .loh AdrpLdrGot Lloh123, Lloh124 .loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122 .loh AdrpLdrGotLdr Lloh116, Lloh117, Lloh119 .loh AdrpLdrGotLdr Lloh114, Lloh115, Lloh118 .loh AdrpLdrGotLdr Lloh111, Lloh112, Lloh113 .loh AdrpAdd Lloh125, Lloh126 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #176 .cfi_def_cfa_offset 176 stp x28, x27, [sp, #80] ; 16-byte Folded Spill stp x26, x25, [sp, #96] ; 16-byte Folded Spill stp x24, x23, [sp, #112] ; 16-byte Folded Spill stp x22, x21, [sp, #128] ; 16-byte Folded Spill stp x20, x19, [sp, #144] ; 16-byte Folded Spill stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh127: adrp x8, ___stack_chk_guard@GOTPAGE Lloh128: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh129: ldr x8, [x8] str x8, [sp, #72] mov w0, #255 bl _malloc mov x19, x0 Lloh130: adrp x20, l_.str.13@PAGE Lloh131: add x20, x20, l_.str.13@PAGEOFF Lloh132: adrp x24, ___stdinp@GOTPAGE Lloh133: ldr x24, [x24, ___stdinp@GOTPAGEOFF] Lloh134: adrp x21, l_.str.14@PAGE Lloh135: add x21, x21, l_.str.14@PAGEOFF Lloh136: adrp x23, _dir@GOTPAGE Lloh137: ldr x23, [x23, _dir@GOTPAGEOFF] Lloh138: adrp x28, l_.str.15@PAGE Lloh139: add x28, x28, l_.str.15@PAGEOFF b LBB7_3 LBB7_1: ; in Loop: Header=BB7_3 Depth=1 adrp x25, _file_open@PAGE ldr w8, [x25, _file_open@PAGEOFF] cbz w8, LBB7_31 ; %bb.2: ; in Loop: Header=BB7_3 Depth=1 Lloh140: adrp x0, l_str.44@PAGE Lloh141: add x0, x0, l_str.44@PAGEOFF bl _puts LBB7_3: ; =>This Loop Header: Depth=1 ; Child Loop BB7_4 Depth 2 ; Child Loop BB7_36 Depth 2 mov x0, x20 bl _printf LBB7_4: ; Parent Loop BB7_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x2, [x24] mov x0, x19 mov w1, #255 bl _fgets cbz x0, LBB7_4 ; %bb.5: ; in Loop: Header=BB7_3 Depth=1 mov x0, x19 bl _strdup mov x25, x0 str x0, [sp, #16] add x0, sp, #16 mov x1, x21 bl _strsep cbz x0, LBB7_17 ; %bb.6: ; in Loop: Header=BB7_3 Depth=1 mov w1, #255 bl _strndup ldrb w8, [x0] cmp w8, #0 csel x8, xzr, x0, eq str x8, [sp, #24] add x0, sp, #16 mov x1, x21 bl _strsep mov x27, x0 cbz x0, LBB7_10 ; %bb.7: ; in Loop: Header=BB7_3 Depth=1 mov x0, x27 mov w1, #255 bl _strndup ldrb w8, [x0] cmp w8, #0 csel x8, xzr, x0, eq str x8, [sp, #32] add x0, sp, #16 mov x1, x21 bl _strsep cbz x0, LBB7_11 ; %bb.8: ; in Loop: Header=BB7_3 Depth=1 mov w1, #255 bl _strndup ldrb w8, [x0] cmp w8, #0 csel x8, xzr, x0, eq str x8, [sp, #40] add x0, sp, #16 mov x1, x21 bl _strsep cbz x0, LBB7_12 ; %bb.9: ; in Loop: Header=BB7_3 Depth=1 mov w1, #255 bl _strndup ldrb w8, [x0] cmp w8, #0 csel x8, xzr, x0, eq str x8, [sp, #48] add x0, sp, #16 mov x1, x21 bl _strsep LBB7_10: ; in Loop: Header=BB7_3 Depth=1 mov w22, #0 mov w26, #0 b LBB7_13 LBB7_11: ; in Loop: Header=BB7_3 Depth=1 mov w26, #0 mov w22, #1 b LBB7_13 LBB7_12: ; in Loop: Header=BB7_3 Depth=1 mov w22, #0 mov w26, #1 LBB7_13: ; in Loop: Header=BB7_3 Depth=1 ldr x8, [sp, #24] stp xzr, x8, [sp] mov x0, x28 bl _printf cbz x27, LBB7_17 ; %bb.14: ; in Loop: Header=BB7_3 Depth=1 ldr x9, [sp, #32] mov w8, #1 stp x8, x9, [sp] mov x0, x28 bl _printf tbnz w22, #0, LBB7_17 ; %bb.15: ; in Loop: Header=BB7_3 Depth=1 ldr x9, [sp, #40] mov w8, #2 stp x8, x9, [sp] mov x0, x28 bl _printf tbnz w26, #0, LBB7_17 ; %bb.16: ; in Loop: Header=BB7_3 Depth=1 ldr x9, [sp, #48] mov w8, #3 stp x8, x9, [sp] mov x0, x28 bl _printf LBB7_17: ; in Loop: Header=BB7_3 Depth=1 mov x0, x25 bl _free ldp x26, x27, [sp, #24] orr x8, x26, x27 cbz x8, LBB7_3 ; %bb.18: ; in Loop: Header=BB7_3 Depth=1 mov x0, x26 Lloh142: adrp x1, l_.str.16@PAGE Lloh143: add x1, x1, l_.str.16@PAGEOFF bl _strcmp cbz w0, LBB7_1 ; %bb.19: ; in Loop: Header=BB7_3 Depth=1 mov x0, x26 Lloh144: adrp x1, l_.str.21@PAGE Lloh145: add x1, x1, l_.str.21@PAGEOFF bl _strcmp cbz w0, LBB7_3 ; %bb.20: ; in Loop: Header=BB7_3 Depth=1 mov x0, x26 Lloh146: adrp x1, l_.str.22@PAGE Lloh147: add x1, x1, l_.str.22@PAGEOFF bl _strcmp cbz w0, LBB7_29 ; %bb.21: ; in Loop: Header=BB7_3 Depth=1 mov x0, x26 Lloh148: adrp x1, l_.str.24@PAGE Lloh149: add x1, x1, l_.str.24@PAGEOFF bl _strcmp cbz w0, LBB7_33 ; %bb.22: ; in Loop: Header=BB7_3 Depth=1 mov x0, x26 Lloh150: adrp x1, l_.str.25@PAGE Lloh151: add x1, x1, l_.str.25@PAGEOFF bl _strcmp cbz w0, LBB7_40 ; %bb.23: ; in Loop: Header=BB7_3 Depth=1 mov x0, x26 Lloh152: adrp x1, l_.str.26@PAGE Lloh153: add x1, x1, l_.str.26@PAGEOFF bl _strcmp cbz w0, LBB7_42 ; %bb.24: ; in Loop: Header=BB7_3 Depth=1 mov x0, x26 Lloh154: adrp x1, l_.str.28@PAGE Lloh155: add x1, x1, l_.str.28@PAGEOFF bl _strcmp cbz w0, LBB7_46 ; %bb.25: ; in Loop: Header=BB7_3 Depth=1 mov x0, x26 Lloh156: adrp x1, l_.str.30@PAGE Lloh157: add x1, x1, l_.str.30@PAGEOFF bl _strcmp cbz w0, LBB7_48 ; %bb.26: ; in Loop: Header=BB7_3 Depth=1 mov x0, x26 Lloh158: adrp x1, l_.str.31@PAGE Lloh159: add x1, x1, l_.str.31@PAGEOFF bl _strcmp cbz w0, LBB7_54 ; %bb.27: ; in Loop: Header=BB7_3 Depth=1 Lloh160: adrp x8, _fp@GOTPAGE Lloh161: ldr x8, [x8, _fp@GOTPAGEOFF] Lloh162: ldr x8, [x8] cbz x8, LBB7_52 ; %bb.28: ; in Loop: Header=BB7_3 Depth=1 Lloh163: adrp x0, l_str.36@PAGE Lloh164: add x0, x0, l_str.36@PAGEOFF bl _puts b LBB7_3 LBB7_29: ; in Loop: Header=BB7_3 Depth=1 Lloh165: adrp x8, _file_open@PAGE Lloh166: ldr w8, [x8, _file_open@PAGEOFF] cbz w8, LBB7_50 ; %bb.30: ; in Loop: Header=BB7_3 Depth=1 mov x0, x27 bl _cd b LBB7_3 LBB7_31: ; in Loop: Header=BB7_3 Depth=1 mov x0, x27 mov w1, #0 bl _access cbz w0, LBB7_41 ; %bb.32: ; in Loop: Header=BB7_3 Depth=1 str x27, [sp] Lloh167: adrp x0, l_.str.20@PAGE Lloh168: add x0, x0, l_.str.20@PAGEOFF bl _printf b LBB7_3 LBB7_33: ; in Loop: Header=BB7_3 Depth=1 Lloh169: adrp x8, _fp@GOTPAGE Lloh170: ldr x8, [x8, _fp@GOTPAGEOFF] Lloh171: ldr x8, [x8] cbz x8, LBB7_50 ; %bb.34: ; in Loop: Header=BB7_3 Depth=1 mov x26, #0 b LBB7_36 LBB7_35: ; in Loop: Header=BB7_36 Depth=2 add x26, x26, #32 cmp x26, #512 b.eq LBB7_3 LBB7_36: ; Parent Loop BB7_3 Depth=1 ; => This Inner Loop Header: Depth=2 add x25, x23, x26 add x0, sp, #60 mov x1, x25 mov w2, #11 bl _strncpy ldrb w8, [x25, #11] cmp w8, #1 ccmp w8, #16, #4, ne b.eq LBB7_38 ; %bb.37: ; in Loop: Header=BB7_36 Depth=2 cmp w8, #32 b.ne LBB7_35 LBB7_38: ; in Loop: Header=BB7_36 Depth=2 ldrb w8, [sp, #60] cmp w8, #229 b.eq LBB7_35 ; %bb.39: ; in Loop: Header=BB7_36 Depth=2 add x0, sp, #60 bl _puts b LBB7_35 LBB7_40: ; in Loop: Header=BB7_3 Depth=1 Lloh172: adrp x8, _file_open@PAGE Lloh173: ldr w8, [x8, _file_open@PAGEOFF] cbnz w8, LBB7_3 b LBB7_50 LBB7_41: ; in Loop: Header=BB7_3 Depth=1 mov x0, x27 Lloh174: adrp x1, l_.str.18@PAGE Lloh175: add x1, x1, l_.str.18@PAGEOFF bl _fopen Lloh176: adrp x22, _fp@GOTPAGE Lloh177: ldr x22, [x22, _fp@GOTPAGEOFF] str x0, [x22] mov w8, #1 str w8, [x25, _file_open@PAGEOFF] mov w1, #11 mov w2, #0 bl _fseek ldr x3, [x22] Lloh178: adrp x0, _BPB_BytesPerSec@GOTPAGE Lloh179: ldr x0, [x0, _BPB_BytesPerSec@GOTPAGEOFF] mov w1, #2 mov w2, #1 bl _fread ldr x0, [x22] mov w1, #13 mov w2, #0 bl _fseek ldr x3, [x22] Lloh180: adrp x0, _BPB_SecPerClus@GOTPAGE Lloh181: ldr x0, [x0, _BPB_SecPerClus@GOTPAGEOFF] mov w1, #1 mov w2, #1 bl _fread ldr x0, [x22] mov w1, #14 mov w2, #0 bl _fseek ldr x3, [x22] Lloh182: adrp x26, _BPB_RsvdSecCnt@GOTPAGE Lloh183: ldr x26, [x26, _BPB_RsvdSecCnt@GOTPAGEOFF] mov x0, x26 mov w1, #2 mov w2, #1 bl _fread ldr x0, [x22] mov w1, #16 mov w2, #0 bl _fseek ldr x3, [x22] Lloh184: adrp x27, _BPB_NumFATs@GOTPAGE Lloh185: ldr x27, [x27, _BPB_NumFATs@GOTPAGEOFF] mov x0, x27 mov w1, #1 mov w2, #1 bl _fread ldr x0, [x22] mov w1, #36 mov w2, #0 bl _fseek ldr x3, [x22] Lloh186: adrp x25, _BPB_FATSz32@GOTPAGE Lloh187: ldr x25, [x25, _BPB_FATSz32@GOTPAGEOFF] mov x0, x25 mov w1, #4 mov w2, #1 bl _fread ldrsb w8, [x27] ldr w9, [x25] Lloh188: adrp x10, _BPB_BytesPerSec@GOTPAGE Lloh189: ldr x10, [x10, _BPB_BytesPerSec@GOTPAGEOFF] Lloh190: ldrsh w10, [x10] ldrsh w11, [x26] madd w8, w9, w8, w11 mul w8, w8, w10 adrp x9, _RootDirSectors@PAGE str w8, [x9, _RootDirSectors@PAGEOFF] ldr x0, [x22] sxtw x1, w8 mov w2, #0 bl _fseek ldr x3, [x22] mov x0, x23 mov w1, #16 mov w2, #32 bl _fread b LBB7_3 LBB7_42: ; in Loop: Header=BB7_3 Depth=1 Lloh191: adrp x8, _file_open@PAGE Lloh192: ldr w8, [x8, _file_open@PAGEOFF] cbz w8, LBB7_50 ; %bb.43: ; in Loop: Header=BB7_3 Depth=1 ldr x0, [sp, #40] cbz x0, LBB7_51 ; %bb.44: ; in Loop: Header=BB7_3 Depth=1 ldr x25, [sp, #48] cbz x25, LBB7_51 ; %bb.45: ; in Loop: Header=BB7_3 Depth=1 bl _atoi mov x26, x0 mov x0, x25 bl _atoi mov x2, x0 mov x0, x27 mov x1, x26 bl _readfile b LBB7_3 LBB7_46: ; in Loop: Header=BB7_3 Depth=1 adrp x22, _file_open@PAGE ldr w8, [x22, _file_open@PAGEOFF] cbz w8, LBB7_53 ; %bb.47: ; in Loop: Header=BB7_3 Depth=1 Lloh193: adrp x8, _fp@GOTPAGE Lloh194: ldr x8, [x8, _fp@GOTPAGEOFF] Lloh195: ldr x0, [x8] bl _fclose str wzr, [x22, _file_open@PAGEOFF] b LBB7_3 LBB7_48: ; in Loop: Header=BB7_3 Depth=1 Lloh196: adrp x8, _fp@GOTPAGE Lloh197: ldr x8, [x8, _fp@GOTPAGEOFF] Lloh198: ldr x8, [x8] cbz x8, LBB7_50 ; %bb.49: ; in Loop: Header=BB7_3 Depth=1 Lloh199: adrp x8, _BPB_BytesPerSec@GOTPAGE Lloh200: ldr x8, [x8, _BPB_BytesPerSec@GOTPAGEOFF] Lloh201: ldrsh x8, [x8] stp x8, x8, [sp] Lloh202: adrp x0, l_.str.2@PAGE Lloh203: add x0, x0, l_.str.2@PAGEOFF bl _printf Lloh204: adrp x8, _BPB_SecPerClus@GOTPAGE Lloh205: ldr x8, [x8, _BPB_SecPerClus@GOTPAGEOFF] Lloh206: ldrsb x8, [x8] Lloh207: adrp x22, _BPB_FATSz32@GOTPAGE Lloh208: ldr x22, [x22, _BPB_FATSz32@GOTPAGEOFF] ldr w9, [x22] stp x8, x9, [sp] Lloh209: adrp x0, l_.str.3@PAGE Lloh210: add x0, x0, l_.str.3@PAGEOFF bl _printf Lloh211: adrp x8, _BPB_RsvdSecCnt@GOTPAGE Lloh212: ldr x8, [x8, _BPB_RsvdSecCnt@GOTPAGEOFF] Lloh213: ldrsh x8, [x8] ldr w9, [x22] stp x8, x9, [sp] Lloh214: adrp x0, l_.str.4@PAGE Lloh215: add x0, x0, l_.str.4@PAGEOFF bl _printf Lloh216: adrp x8, _BPB_NumFATs@GOTPAGE Lloh217: ldr x8, [x8, _BPB_NumFATs@GOTPAGEOFF] Lloh218: ldrsb x8, [x8] ldr w9, [x22] stp x8, x9, [sp] Lloh219: adrp x0, l_.str.5@PAGE Lloh220: add x0, x0, l_.str.5@PAGEOFF bl _printf ldr w8, [x22] stp x8, x8, [sp] Lloh221: adrp x0, l_.str.6@PAGE Lloh222: add x0, x0, l_.str.6@PAGEOFF bl _printf b LBB7_3 LBB7_50: ; in Loop: Header=BB7_3 Depth=1 Lloh223: adrp x0, l_str.43@PAGE Lloh224: add x0, x0, l_str.43@PAGEOFF bl _puts b LBB7_3 LBB7_51: ; in Loop: Header=BB7_3 Depth=1 Lloh225: adrp x0, l_str.40@PAGE Lloh226: add x0, x0, l_str.40@PAGEOFF bl _puts b LBB7_3 LBB7_52: ; in Loop: Header=BB7_3 Depth=1 Lloh227: adrp x0, l_str.35@PAGE Lloh228: add x0, x0, l_str.35@PAGEOFF bl _puts b LBB7_3 LBB7_53: ; in Loop: Header=BB7_3 Depth=1 Lloh229: adrp x0, l_str.38@PAGE Lloh230: add x0, x0, l_str.38@PAGEOFF bl _puts b LBB7_3 LBB7_54: mov x0, x25 bl _free Lloh231: adrp x8, _file_open@PAGE Lloh232: ldr w8, [x8, _file_open@PAGEOFF] cbz w8, LBB7_56 ; %bb.55: Lloh233: adrp x8, _fp@GOTPAGE Lloh234: ldr x8, [x8, _fp@GOTPAGEOFF] Lloh235: ldr x0, [x8] bl _fclose LBB7_56: ldr x8, [sp, #72] Lloh236: adrp x9, ___stack_chk_guard@GOTPAGE Lloh237: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh238: ldr x9, [x9] cmp x9, x8 b.ne LBB7_58 ; %bb.57: mov w0, #0 ldp x29, x30, [sp, #160] ; 16-byte Folded Reload ldp x20, x19, [sp, #144] ; 16-byte Folded Reload ldp x22, x21, [sp, #128] ; 16-byte Folded Reload ldp x24, x23, [sp, #112] ; 16-byte Folded Reload ldp x26, x25, [sp, #96] ; 16-byte Folded Reload ldp x28, x27, [sp, #80] ; 16-byte Folded Reload add sp, sp, #176 ret LBB7_58: bl ___stack_chk_fail .loh AdrpAdd Lloh138, Lloh139 .loh AdrpLdrGot Lloh136, Lloh137 .loh AdrpAdd Lloh134, Lloh135 .loh AdrpLdrGot Lloh132, Lloh133 .loh AdrpAdd Lloh130, Lloh131 .loh AdrpLdrGotLdr Lloh127, Lloh128, Lloh129 .loh AdrpAdd Lloh140, Lloh141 .loh AdrpAdd Lloh142, Lloh143 .loh AdrpAdd Lloh144, Lloh145 .loh AdrpAdd Lloh146, Lloh147 .loh AdrpAdd Lloh148, Lloh149 .loh AdrpAdd Lloh150, Lloh151 .loh AdrpAdd Lloh152, Lloh153 .loh AdrpAdd Lloh154, Lloh155 .loh AdrpAdd Lloh156, Lloh157 .loh AdrpAdd Lloh158, Lloh159 .loh AdrpLdrGotLdr Lloh160, Lloh161, Lloh162 .loh AdrpAdd Lloh163, Lloh164 .loh AdrpLdr Lloh165, Lloh166 .loh AdrpAdd Lloh167, Lloh168 .loh AdrpLdrGotLdr Lloh169, Lloh170, Lloh171 .loh AdrpLdr Lloh172, Lloh173 .loh AdrpLdrGotLdr Lloh188, Lloh189, Lloh190 .loh AdrpLdrGot Lloh186, Lloh187 .loh AdrpLdrGot Lloh184, Lloh185 .loh AdrpLdrGot Lloh182, Lloh183 .loh AdrpLdrGot Lloh180, Lloh181 .loh AdrpLdrGot Lloh178, Lloh179 .loh AdrpLdrGot Lloh176, Lloh177 .loh AdrpAdd Lloh174, Lloh175 .loh AdrpLdr Lloh191, Lloh192 .loh AdrpLdrGotLdr Lloh193, Lloh194, Lloh195 .loh AdrpLdrGotLdr Lloh196, Lloh197, Lloh198 .loh AdrpAdd Lloh221, Lloh222 .loh AdrpAdd Lloh219, Lloh220 .loh AdrpLdrGotLdr Lloh216, Lloh217, Lloh218 .loh AdrpAdd Lloh214, Lloh215 .loh AdrpLdrGotLdr Lloh211, Lloh212, Lloh213 .loh AdrpAdd Lloh209, Lloh210 .loh AdrpLdrGot Lloh207, Lloh208 .loh AdrpLdrGotLdr Lloh204, Lloh205, Lloh206 .loh AdrpAdd Lloh202, Lloh203 .loh AdrpLdrGotLdr Lloh199, Lloh200, Lloh201 .loh AdrpAdd Lloh223, Lloh224 .loh AdrpAdd Lloh225, Lloh226 .loh AdrpAdd Lloh227, Lloh228 .loh AdrpAdd Lloh229, Lloh230 .loh AdrpLdr Lloh231, Lloh232 .loh AdrpLdrGotLdr Lloh233, Lloh234, Lloh235 .loh AdrpLdrGotLdr Lloh236, Lloh237, Lloh238 .cfi_endproc ; -- End function .globl _RootDirSectors ; @RootDirSectors .zerofill __DATA,__common,_RootDirSectors,4,2 .globl _FirstDataSector ; @FirstDataSector .zerofill __DATA,__common,_FirstDataSector,4,2 .globl _FirstSectorofCluster ; @FirstSectorofCluster .zerofill __DATA,__common,_FirstSectorofCluster,4,2 .globl _file_open ; @file_open .zerofill __DATA,__common,_file_open,4,2 .comm _BPB_BytesPerSec,2,1 ; @BPB_BytesPerSec .comm _BPB_RsvdSecCnt,2,1 ; @BPB_RsvdSecCnt .comm _BPB_NumFATs,1,0 ; @BPB_NumFATs .comm _BPB_FATSz32,4,2 ; @BPB_FATSz32 .comm _fp,8,3 ; @fp .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz ".." l_.str.1: ; @.str.1 .asciz "." l_.str.2: ; @.str.2 .asciz "BPB_BytsPerSec: %d\nBPB_BytsPerSec: %.4x\n" l_.str.3: ; @.str.3 .asciz "BPB_SecPerClus: %d\nBPB_SecPerClus: %.4x\n" .comm _BPB_SecPerClus,1,0 ; @BPB_SecPerClus l_.str.4: ; @.str.4 .asciz "BPB_RsvdSecCnt: %d\nBPB_RsvdSecCnt: %.4x\n" l_.str.5: ; @.str.5 .asciz "BPB_NumFATs: %d\nBPB_NumFATs: %.4x\n" l_.str.6: ; @.str.6 .asciz "BPB_FATSz32: %d\nBPB_FATSz32: %.4x\n" .comm _dir,512,2 ; @dir l_.str.8: ; @.str.8 .asciz "Error: Offset is less than zero" l_.str.9: ; @.str.9 .asciz "%x " l_.str.13: ; @.str.13 .asciz "mfs> " l_.str.14: ; @.str.14 .asciz " \t\n" l_.str.15: ; @.str.15 .asciz "token[%d] = %s\n" l_.str.16: ; @.str.16 .asciz "open" l_.str.18: ; @.str.18 .asciz "r" l_.str.20: ; @.str.20 .asciz "Could not find file image: %s\n" l_.str.21: ; @.str.21 .asciz "stat" l_.str.22: ; @.str.22 .asciz "cd" l_.str.24: ; @.str.24 .asciz "ls" l_.str.25: ; @.str.25 .asciz "get" l_.str.26: ; @.str.26 .asciz "read" l_.str.28: ; @.str.28 .asciz "close" l_.str.30: ; @.str.30 .asciz "bpb" l_.str.31: ; @.str.31 .asciz "quit" .comm _BS_OEMName,8,0 ; @BS_OEMName .comm _BS_VolLab,11,0 ; @BS_VolLab .comm _BPB_RootEntCnt,2,1 ; @BPB_RootEntCnt .comm _BPB_RootClus,4,2 ; @BPB_RootClus l_str: ; @str .asciz "Error: File was not Found" l_str.34: ; @str.34 .asciz "Error Directory Wasn't found" l_str.35: ; @str.35 .asciz "Error: First system image must be opened first" l_str.36: ; @str.36 .asciz "Command not found ! " l_str.38: ; @str.38 .asciz "ERROR: File has not been opened" l_str.40: ; @str.40 .asciz "ERROR: Please use right format <filename> <position> <number of bytes>" l_str.43: ; @str.43 .asciz "ERROR: File Image Not Open" l_str.44: ; @str.44 .asciz "The file is already opened" .subsections_via_symbols
the_stack_data/98576171.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _findMaxConsecutiveOnes ## -- Begin function findMaxConsecutiveOnes .p2align 4, 0x90 _findMaxConsecutiveOnes: ## @findMaxConsecutiveOnes .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %esi, %esi jle LBB0_1 ## %bb.2: movl %esi, %r8d cmpl $1, %esi jne LBB0_8 ## %bb.3: movl $1, %edx xorl %esi, %esi xorl %eax, %eax testb $1, %r8b jne LBB0_6 jmp LBB0_7 LBB0_1: xorl %eax, %eax popq %rbp retq LBB0_8: movl %r8d, %ecx andl $-2, %ecx xorl %r9d, %r9d xorl %esi, %esi xorl %eax, %eax xorl %edx, %edx .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 incl %edx cmpl $1, (%rdi,%rsi,4) cmovnel %r9d, %edx cmpl %eax, %edx cmovgl %edx, %eax incl %edx cmpl $1, 4(%rdi,%rsi,4) cmovnel %r9d, %edx cmpl %eax, %edx cmovgl %edx, %eax addq $2, %rsi cmpq %rsi, %rcx jne LBB0_9 ## %bb.4: incl %edx testb $1, %r8b je LBB0_7 LBB0_6: xorl %ecx, %ecx cmpl $1, (%rdi,%rsi,4) cmovel %edx, %ecx cmpl %eax, %ecx cmovlel %eax, %ecx movl %ecx, %eax LBB0_7: 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 _findMaxConsecutiveOnes ; -- Begin function findMaxConsecutiveOnes .p2align 2 _findMaxConsecutiveOnes: ; @findMaxConsecutiveOnes .cfi_startproc ; %bb.0: cmp w1, #1 b.lt LBB0_4 ; %bb.1: mov x8, x0 mov w0, #0 mov w9, #0 mov w10, w1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w11, [x8], #4 cmp w11, #1 csinc w9, wzr, w9, ne cmp w9, w0 csel w0, w9, w0, gt subs x10, x10, #1 b.ne LBB0_2 ; %bb.3: ret LBB0_4: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/1173575.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function init_shift _init_shift: ## @init_shift .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 movl %esi, %ecx sarl %cl, %eax negb %cl shll %cl, %edi cmpl $128, %esi cmovgel %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _init_shift .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function init_shift _init_shift: ; @init_shift .cfi_startproc ; %bb.0: asr w8, w0, w1 neg w9, w1 lsl w9, w0, w9 cmp w1, #128 csel w0, w8, w9, lt ret .cfi_endproc ; -- End function .no_dead_strip _init_shift .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_init.c_init_shift.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mv3310_config_init _mv3310_config_init: ## @mv3310_config_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rcx movq _PHY_INTERFACE_MODE_SGMII@GOTPCREL(%rip), %r8 movq _PHY_INTERFACE_MODE_2500BASEX@GOTPCREL(%rip), %r9 movq _PHY_INTERFACE_MODE_XAUI@GOTPCREL(%rip), %r10 movq _PHY_INTERFACE_MODE_RXAUI@GOTPCREL(%rip), %r11 movq _PHY_INTERFACE_MODE_10GKR@GOTPCREL(%rip), %rsi movq _ENODEV@GOTPCREL(%rip), %rdi xorl %edx, %edx xorl %eax, %eax subl (%rdi), %eax cmpq (%rsi), %rcx cmovel %edx, %eax cmpq (%r11), %rcx cmovel %edx, %eax cmpq (%r10), %rcx cmovel %edx, %eax cmpq (%r9), %rcx cmovel %edx, %eax cmpq (%r8), %rcx cmovel %edx, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _PHY_INTERFACE_MODE_SGMII,8,3 ## @PHY_INTERFACE_MODE_SGMII .comm _PHY_INTERFACE_MODE_2500BASEX,8,3 ## @PHY_INTERFACE_MODE_2500BASEX .comm _PHY_INTERFACE_MODE_XAUI,8,3 ## @PHY_INTERFACE_MODE_XAUI .comm _PHY_INTERFACE_MODE_RXAUI,8,3 ## @PHY_INTERFACE_MODE_RXAUI .comm _PHY_INTERFACE_MODE_10GKR,8,3 ## @PHY_INTERFACE_MODE_10GKR .comm _ENODEV,4,2 ## @ENODEV .no_dead_strip _mv3310_config_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mv3310_config_init _mv3310_config_init: ; @mv3310_config_init .cfi_startproc ; %bb.0: Lloh0: adrp x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGE Lloh1: ldr x8, [x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGEOFF] ldr x9, [x0] Lloh2: ldr x8, [x8] Lloh3: adrp x10, _PHY_INTERFACE_MODE_2500BASEX@GOTPAGE Lloh4: ldr x10, [x10, _PHY_INTERFACE_MODE_2500BASEX@GOTPAGEOFF] Lloh5: adrp x11, _PHY_INTERFACE_MODE_XAUI@GOTPAGE Lloh6: ldr x11, [x11, _PHY_INTERFACE_MODE_XAUI@GOTPAGEOFF] Lloh7: ldr x10, [x10] Lloh8: ldr x11, [x11] Lloh9: adrp x12, _PHY_INTERFACE_MODE_RXAUI@GOTPAGE Lloh10: ldr x12, [x12, _PHY_INTERFACE_MODE_RXAUI@GOTPAGEOFF] Lloh11: adrp x13, _PHY_INTERFACE_MODE_10GKR@GOTPAGE Lloh12: ldr x13, [x13, _PHY_INTERFACE_MODE_10GKR@GOTPAGEOFF] Lloh13: ldr x12, [x12] Lloh14: ldr x13, [x13] cmp x9, x13 ccmp x9, x12, #4, ne ccmp x9, x11, #4, ne ccmp x9, x10, #4, ne ccmp x9, x8, #4, ne Lloh15: adrp x8, _ENODEV@GOTPAGE Lloh16: ldr x8, [x8, _ENODEV@GOTPAGEOFF] Lloh17: ldr w8, [x8] csneg w0, wzr, w8, eq ret .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh13 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PHY_INTERFACE_MODE_SGMII,8,3 ; @PHY_INTERFACE_MODE_SGMII .comm _PHY_INTERFACE_MODE_2500BASEX,8,3 ; @PHY_INTERFACE_MODE_2500BASEX .comm _PHY_INTERFACE_MODE_XAUI,8,3 ; @PHY_INTERFACE_MODE_XAUI .comm _PHY_INTERFACE_MODE_RXAUI,8,3 ; @PHY_INTERFACE_MODE_RXAUI .comm _PHY_INTERFACE_MODE_10GKR,8,3 ; @PHY_INTERFACE_MODE_10GKR .comm _ENODEV,4,2 ; @ENODEV .no_dead_strip _mv3310_config_init .subsections_via_symbols
AnghaBench/linux/drivers/net/phy/extr_marvell10g.c_mv3310_config_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function assert_hdmi_port_disabled _assert_hdmi_port_disabled: ## @assert_hdmi_port_disabled .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 _intel_hdmi_to_dev movq %rax, %rdi callq _to_i915 movq %rax, %rdi callq _HAS_DDI testq %rax, %rax jne LBB0_1 ## %bb.2: movq _SDVO_ENABLE@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _DDI_BUF_CTL_ENABLE@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %ebx movl (%r14), %edi callq _I915_READ andl %eax, %ebx leaq L_.str(%rip), %rsi movl %ebx, %edi popq %rbx popq %r14 popq %rbp jmp _WARN ## TAILCALL .cfi_endproc ## -- End function .comm _DDI_BUF_CTL_ENABLE,4,2 ## @DDI_BUF_CTL_ENABLE .comm _SDVO_ENABLE,4,2 ## @SDVO_ENABLE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "HDMI port enabled, expecting disabled\n" .no_dead_strip _assert_hdmi_port_disabled .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function assert_hdmi_port_disabled _assert_hdmi_port_disabled: ; @assert_hdmi_port_disabled .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_hdmi_to_dev bl _to_i915 bl _HAS_DDI Lloh0: adrp x8, _DDI_BUF_CTL_ENABLE@GOTPAGE Lloh1: ldr x8, [x8, _DDI_BUF_CTL_ENABLE@GOTPAGEOFF] Lloh2: adrp x9, _SDVO_ENABLE@GOTPAGE Lloh3: ldr x9, [x9, _SDVO_ENABLE@GOTPAGEOFF] cmp x0, #0 csel x8, x9, x8, eq ldr w20, [x8] ldr w0, [x19] bl _I915_READ and w0, w0, w20 Lloh4: adrp x1, l_.str@PAGE Lloh5: add x1, x1, l_.str@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _WARN .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _DDI_BUF_CTL_ENABLE,4,2 ; @DDI_BUF_CTL_ENABLE .comm _SDVO_ENABLE,4,2 ; @SDVO_ENABLE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "HDMI port enabled, expecting disabled\n" .no_dead_strip _assert_hdmi_port_disabled .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_assert_hdmi_port_disabled.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function en50221_capmt_Delete _en50221_capmt_Delete: ## @en50221_capmt_Delete .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq 24(%rdi), %rdi callq _free cmpq $0, (%r14) je LBB0_3 ## %bb.1: movl $16, %r15d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rax movq (%rax,%r15), %rdi callq _free incq %rbx addq $32, %r15 cmpq (%r14), %rbx jb LBB0_2 LBB0_3: movq 8(%r14), %rdi callq _free movq %r14, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _en50221_capmt_Delete .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function en50221_capmt_Delete _en50221_capmt_Delete: ; @en50221_capmt_Delete .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 x0, [x0, #24] bl _free ldr x8, [x19] cbz x8, LBB0_3 ; %bb.1: mov x20, #0 mov w21, #16 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] ldr x0, [x8, x21] bl _free add x20, x20, #1 ldr x8, [x19] add x21, x21, #32 cmp x20, x8 b.lo LBB0_2 LBB0_3: ldr x0, [x19, #8] bl _free mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _free .cfi_endproc ; -- End function .no_dead_strip _en50221_capmt_Delete .subsections_via_symbols
AnghaBench/vlc/modules/demux/mpeg/extr_....accessdtven50221_capmt.h_en50221_capmt_Delete.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rpcauth_wrap_req ## -- Begin function rpcauth_wrap_req .p2align 4, 0x90 _rpcauth_wrap_req: ## @rpcauth_wrap_req .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, -48(%rbp) ## 8-byte Spill movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %r13 movq 8(%rdi), %rax movq (%rax), %rbx movl (%rdi), %esi movq (%rbx), %rax movl 8(%rax), %edx leaq L_.str(%rip), %rdi movq %rbx, %rcx callq _dprintk movq (%rbx), %rax movq (%rax), %rax testq %rax, %rax je LBB0_2 ## %bb.1: movq %r13, %rdi movq %r14, %rsi movq %r12, %rdx movq %r15, %rcx movq -48(%rbp), %r8 ## 8-byte Reload addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL LBB0_2: movq %r12, %rdi movq %r15, %rsi movq -48(%rbp), %rdx ## 8-byte Reload movq %r14, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "RPC: %5u using %s cred %p to wrap rpc data\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rpcauth_wrap_req ; -- Begin function rpcauth_wrap_req .p2align 2 _rpcauth_wrap_req: ; @rpcauth_wrap_req .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, x4 mov x20, x3 mov x21, x2 str x1, [sp, #8] ; 8-byte Folded Spill mov x22, x0 ldr x8, [x0, #8] ldr x23, [x8] ldr w1, [x0] ldr x8, [x23] ldr w2, [x8, #8] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x3, x23 bl _dprintk ldr x8, [x23] ldr x5, [x8] cbz x5, LBB0_2 ; %bb.1: mov x0, x22 ldr x1, [sp, #8] ; 8-byte Folded Reload mov x2, x21 mov x3, x20 mov x4, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 br x5 LBB0_2: mov x0, x21 mov x1, x20 mov x2, x19 ldr x3, [sp, #8] ; 8-byte Folded Reload 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 br x3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "RPC: %5u using %s cred %p to wrap rpc data\n" .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/sunrpc/extr_auth.c_rpcauth_wrap_req.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pnx4008_standby _pnx4008_standby: ## @pnx4008_standby .cfi_startproc ## %bb.0: 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 xorl %eax, %eax callq _local_irq_disable xorl %eax, %eax callq _local_fiq_disable movq _pll4_clk@GOTPCREL(%rip), %r14 movl (%r14), %edi callq _clk_disable movq _saved_sram@GOTPCREL(%rip), %r15 movq (%r15), %rdi movq _SRAM_VA@GOTPCREL(%rip), %rbx movq (%rbx), %rsi movq _pnx4008_cpu_standby_sz@GOTPCREL(%rip), %r12 movl (%r12), %edx callq _memcpy xorl %eax, %eax callq _flush_cache_all movq (%rbx), %rdi movq _pnx4008_cpu_standby@GOTPCREL(%rip), %rax movq (%rax), %rsi movl (%r12), %edx callq _memcpy callq *(%rbx) movq (%rbx), %rdi movq (%r15), %rsi movl (%r12), %edx callq _memcpy movl (%r14), %edi callq _clk_enable xorl %eax, %eax callq _local_fiq_enable xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _local_irq_enable ## TAILCALL .cfi_endproc ## -- End function .comm _pll4_clk,4,2 ## @pll4_clk .comm _saved_sram,8,3 ## @saved_sram .comm _SRAM_VA,8,3 ## @SRAM_VA .comm _pnx4008_cpu_standby_sz,4,2 ## @pnx4008_cpu_standby_sz .comm _pnx4008_cpu_standby,8,3 ## @pnx4008_cpu_standby .no_dead_strip _pnx4008_standby .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pnx4008_standby _pnx4008_standby: ; @pnx4008_standby .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 bl _local_irq_disable bl _local_fiq_disable Lloh0: adrp x19, _pll4_clk@GOTPAGE Lloh1: ldr x19, [x19, _pll4_clk@GOTPAGEOFF] ldr w0, [x19] bl _clk_disable Lloh2: adrp x20, _saved_sram@GOTPAGE Lloh3: ldr x20, [x20, _saved_sram@GOTPAGEOFF] ldr x0, [x20] Lloh4: adrp x21, _SRAM_VA@GOTPAGE Lloh5: ldr x21, [x21, _SRAM_VA@GOTPAGEOFF] ldr x1, [x21] Lloh6: adrp x22, _pnx4008_cpu_standby_sz@GOTPAGE Lloh7: ldr x22, [x22, _pnx4008_cpu_standby_sz@GOTPAGEOFF] ldr w2, [x22] bl _memcpy bl _flush_cache_all ldr x0, [x21] Lloh8: adrp x8, _pnx4008_cpu_standby@GOTPAGE Lloh9: ldr x8, [x8, _pnx4008_cpu_standby@GOTPAGEOFF] Lloh10: ldr x1, [x8] ldr w2, [x22] bl _memcpy ldr x8, [x21] blr x8 ldr x0, [x21] ldr x1, [x20] ldr w2, [x22] bl _memcpy ldr w0, [x19] bl _clk_enable bl _local_fiq_enable 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 _local_irq_enable .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _pll4_clk,4,2 ; @pll4_clk .comm _saved_sram,8,3 ; @saved_sram .comm _SRAM_VA,8,3 ; @SRAM_VA .comm _pnx4008_cpu_standby_sz,4,2 ; @pnx4008_cpu_standby_sz .comm _pnx4008_cpu_standby,8,3 ; @pnx4008_cpu_standby .no_dead_strip _pnx4008_standby .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/arm/mach-pnx4008/extr_pm.c_pnx4008_standby.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 leaq L_.str(%rip), %rdi movl $-1, %esi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "EOF:\t%x" .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 mov w8, #-1 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "EOF:\t%x" .subsections_via_symbols
the_stack_data/212642782.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $64, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) cmpl $5, %edi jne LBB0_1 ## %bb.3: movq %rsi, %rbx movq 8(%rsi), %rdi callq _atoi cmpl $6, %eax ja LBB0_7 ## %bb.4: movl %eax, %r14d movq 16(%rbx), %rdi callq _atoi cmpl $5, %eax ja LBB0_7 ## %bb.5: movl %eax, %r12d movq 24(%rbx), %rdi callq _atoi cmpl $6, %eax ja LBB0_7 ## %bb.6: movl %eax, %r15d movq 32(%rbx), %rdi callq _atoi cmpl $6, %eax jae LBB0_7 ## %bb.10: xorps %xmm0, %xmm0 movups %xmm0, -70(%rbp) movaps %xmm0, -80(%rbp) movaps %xmm0, -96(%rbp) movl %r12d, %ecx movl %r14d, %edx leaq (,%rcx,8), %rsi subq %rcx, %rsi leaq (%rsi,%rbp), %rcx addq $-96, %rcx movb $83, (%rdx,%rcx) movl %eax, %eax movl %r15d, %ecx leaq (,%rax,8), %rdx subq %rax, %rdx leaq (%rdx,%rbp), %rax addq $-96, %rax movb $68, (%rcx,%rax) movl $6, %ebx movl $32, %r14d .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movl $124, %edi callq _putchar movzbl -102(%rbp,%rbx), %eax testb %al, %al cmovel %r14d, %eax movsbl %al, %edi callq _putchar movl $124, %edi callq _putchar movzbl -101(%rbp,%rbx), %eax testb %al, %al cmovel %r14d, %eax movsbl %al, %edi callq _putchar movl $124, %edi callq _putchar movzbl -100(%rbp,%rbx), %eax testb %al, %al cmovel %r14d, %eax movsbl %al, %edi callq _putchar movl $124, %edi callq _putchar movzbl -99(%rbp,%rbx), %eax testb %al, %al cmovel %r14d, %eax movsbl %al, %edi callq _putchar movl $124, %edi callq _putchar movzbl -98(%rbp,%rbx), %eax testb %al, %al cmovel %r14d, %eax movsbl %al, %edi callq _putchar movl $124, %edi callq _putchar movzbl -97(%rbp,%rbx), %eax testb %al, %al cmovel %r14d, %eax movsbl %al, %edi callq _putchar movl $124, %edi callq _putchar movzbl -96(%rbp,%rbx), %eax testb %al, %al cmovel %r14d, %eax movsbl %al, %edi callq _putchar movl $124, %edi callq _putchar movl $10, %edi callq _putchar addq $7, %rbx cmpq $48, %rbx jne LBB0_11 ## %bb.8: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_12 ## %bb.9: xorl %eax, %eax addq $64, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.1(%rip), %rdi movl $20, %esi jmp LBB0_2 LBB0_1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str(%rip), %rdi movl $28, %esi LBB0_2: movl $1, %edx callq _fwrite movl $1, %edi callq _exit LBB0_12: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Invalid number of arguments\n" L_.str.1: ## @.str.1 .asciz "Invalid coordinates\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #56] cmp w0, #5 b.ne LBB0_10 ; %bb.1: mov x20, x1 ldr x0, [x1, #8] bl _atoi cmp w0, #6 b.hi LBB0_9 ; %bb.2: mov x19, x0 ldr x0, [x20, #16] bl _atoi cmp w0, #5 b.hi LBB0_9 ; %bb.3: mov x22, x0 ldr x0, [x20, #24] bl _atoi cmp w0, #6 b.hi LBB0_9 ; %bb.4: mov x21, x0 ldr x0, [x20, #32] bl _atoi cmp w0, #6 b.hs LBB0_9 ; %bb.5: mov x20, #0 movi.2d v0, #0000000000000000 stur q0, [sp, #26] stp q0, q0, [sp] mov w8, w22 lsl x9, x8, #3 mov x22, sp sub x8, x9, x8 add x8, x22, x8 mov w9, #83 strb w9, [x8, w19, uxtw] mov w8, w0 lsl x9, x8, #3 sub x8, x9, x8 add x8, x22, x8 mov w9, #68 strb w9, [x8, w21, uxtw] orr x19, x22, #0x3 mov w21, #32 LBB0_6: ; =>This Inner Loop Header: Depth=1 mov w0, #124 bl _putchar ldrb w8, [x22, x20] cmp w8, #0 csel w8, w21, w8, eq sxtb w0, w8 bl _putchar mov w0, #124 bl _putchar add x23, x19, x20 ldurb w8, [x23, #-2] cmp w8, #0 csel w8, w21, w8, eq sxtb w0, w8 bl _putchar mov w0, #124 bl _putchar ldurb w8, [x23, #-1] cmp w8, #0 csel w8, w21, w8, eq sxtb w0, w8 bl _putchar mov w0, #124 bl _putchar ldrb w8, [x23] cmp w8, #0 csel w8, w21, w8, eq sxtb w0, w8 bl _putchar mov w0, #124 bl _putchar ldrb w8, [x23, #1] cmp w8, #0 csel w8, w21, w8, eq sxtb w0, w8 bl _putchar mov w0, #124 bl _putchar ldrb w8, [x23, #2] cmp w8, #0 csel w8, w21, w8, eq sxtb w0, w8 bl _putchar mov w0, #124 bl _putchar ldrb w8, [x23, #3] cmp w8, #0 csel w8, w21, w8, eq sxtb w0, w8 bl _putchar mov w0, #124 bl _putchar mov w0, #10 bl _putchar add x20, x20, #7 cmp x20, #42 b.ne LBB0_6 ; %bb.7: ldr x8, [sp, #56] Lloh3: adrp x9, ___stack_chk_guard@GOTPAGE Lloh4: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x9, x8 b.ne LBB0_12 ; %bb.8: 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 add sp, sp, #128 ret LBB0_9: Lloh6: adrp x8, ___stdoutp@GOTPAGE Lloh7: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh8: ldr x3, [x8] Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF mov w1, #20 b LBB0_11 LBB0_10: Lloh11: adrp x8, ___stderrp@GOTPAGE Lloh12: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh13: ldr x3, [x8] Lloh14: adrp x0, l_.str@PAGE Lloh15: add x0, x0, l_.str@PAGEOFF mov w1, #28 LBB0_11: mov w2, #1 bl _fwrite mov w0, #1 bl _exit LBB0_12: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Invalid number of arguments\n" l_.str.1: ; @.str.1 .asciz "Invalid coordinates\n" .subsections_via_symbols
the_stack_data/32806.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function read_brdctl _read_brdctl: ## @read_brdctl .cfi_startproc ## %bb.0: 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 callq _CLOCK_PULSE movq _AHC_ULTRA2@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rbx) je LBB0_2 ## %bb.1: movq _BRDRW_ULTRA2@GOTPCREL(%rip), %rax movzbl (%rax), %esi movq _BRDCTL@GOTPCREL(%rip), %r14 movl (%r14), %edx movq %rbx, %rdi callq _aic_outb movq %rbx, %rdi callq _CLOCK_PULSE movl (%r14), %esi movq %rbx, %rdi callq _aic_inb movl %eax, %r14d jmp LBB0_6 LBB0_2: movq _BRDRW@GOTPCREL(%rip), %rax movq _AHC_CHIPID_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %ecx andl 4(%rbx), %ecx movb (%rax), %al movq _AHC_AIC7895@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB0_4 ## %bb.3: movq _AHC_CHNLB@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %ecx, 8(%rbx) je LBB0_5 LBB0_4: movq _BRDCS@GOTPCREL(%rip), %rcx orb (%rcx), %al LBB0_5: movq _BRDCTL@GOTPCREL(%rip), %r15 movl (%r15), %edx movzbl %al, %esi movq %rbx, %rdi callq _aic_outb movq %rbx, %rdi callq _CLOCK_PULSE movl (%r15), %esi movq %rbx, %rdi callq _aic_inb movl %eax, %r14d movq %rbx, %rdi callq _CLOCK_PULSE movl (%r15), %edx movq %rbx, %rdi xorl %esi, %esi callq _aic_outb LBB0_6: movq %rbx, %rdi callq _CLOCK_PULSE movzbl %r14b, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AHC_ULTRA2,4,2 ## @AHC_ULTRA2 .comm _BRDRW_ULTRA2,1,0 ## @BRDRW_ULTRA2 .comm _BRDCTL,4,2 ## @BRDCTL .comm _BRDRW,1,0 ## @BRDRW .comm _AHC_CHIPID_MASK,4,2 ## @AHC_CHIPID_MASK .comm _AHC_AIC7895,4,2 ## @AHC_AIC7895 .comm _AHC_CHNLB,4,2 ## @AHC_CHNLB .comm _BRDCS,1,0 ## @BRDCS .no_dead_strip _read_brdctl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function read_brdctl _read_brdctl: ; @read_brdctl .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 _CLOCK_PULSE ldr w8, [x19] Lloh0: adrp x9, _AHC_ULTRA2@GOTPAGE Lloh1: ldr x9, [x9, _AHC_ULTRA2@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_2 ; %bb.1: Lloh3: adrp x8, _BRDRW_ULTRA2@GOTPAGE Lloh4: ldr x8, [x8, _BRDRW_ULTRA2@GOTPAGEOFF] ldrb w1, [x8] Lloh5: adrp x20, _BRDCTL@GOTPAGE Lloh6: ldr x20, [x20, _BRDCTL@GOTPAGEOFF] ldr w2, [x20] mov x0, x19 bl _aic_outb mov x0, x19 bl _CLOCK_PULSE ldr w1, [x20] mov x0, x19 bl _aic_inb mov x20, x0 b LBB0_6 LBB0_2: Lloh7: adrp x8, _BRDRW@GOTPAGE Lloh8: ldr x8, [x8, _BRDRW@GOTPAGEOFF] ldrb w8, [x8] ldr w9, [x19, #4] Lloh9: adrp x10, _AHC_CHIPID_MASK@GOTPAGE Lloh10: ldr x10, [x10, _AHC_CHIPID_MASK@GOTPAGEOFF] Lloh11: ldr w10, [x10] and w9, w10, w9 Lloh12: adrp x10, _AHC_AIC7895@GOTPAGE Lloh13: ldr x10, [x10, _AHC_AIC7895@GOTPAGEOFF] Lloh14: ldr w10, [x10] cmp w9, w10 b.ne LBB0_4 ; %bb.3: ldr w9, [x19, #8] Lloh15: adrp x10, _AHC_CHNLB@GOTPAGE Lloh16: ldr x10, [x10, _AHC_CHNLB@GOTPAGEOFF] Lloh17: ldr w10, [x10] tst w10, w9 b.eq LBB0_5 LBB0_4: Lloh18: adrp x9, _BRDCS@GOTPAGE Lloh19: ldr x9, [x9, _BRDCS@GOTPAGEOFF] ldrb w9, [x9] orr w8, w9, w8 LBB0_5: Lloh20: adrp x21, _BRDCTL@GOTPAGE Lloh21: ldr x21, [x21, _BRDCTL@GOTPAGEOFF] ldr w2, [x21] and w1, w8, #0xff mov x0, x19 bl _aic_outb mov x0, x19 bl _CLOCK_PULSE ldr w1, [x21] mov x0, x19 bl _aic_inb mov x20, x0 mov x0, x19 bl _CLOCK_PULSE ldr w2, [x21] mov x0, x19 mov w1, #0 bl _aic_outb LBB0_6: mov x0, x19 bl _CLOCK_PULSE mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .cfi_endproc ; -- End function .comm _AHC_ULTRA2,4,2 ; @AHC_ULTRA2 .comm _BRDRW_ULTRA2,1,0 ; @BRDRW_ULTRA2 .comm _BRDCTL,4,2 ; @BRDCTL .comm _BRDRW,1,0 ; @BRDRW .comm _AHC_CHIPID_MASK,4,2 ; @AHC_CHIPID_MASK .comm _AHC_AIC7895,4,2 ; @AHC_AIC7895 .comm _AHC_CHNLB,4,2 ; @AHC_CHNLB .comm _BRDCS,1,0 ; @BRDCS .no_dead_strip _read_brdctl .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/extr_aic7xxx_old.c_read_brdctl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function unused_rules _unused_rules: ## @unused_rules .cfi_startproc ## %bb.0: 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 _Value_t@GOTPCREL(%rip), %rax movl (%rax), %edi movq _nrules@GOTPCREL(%rip), %rbx movl (%rbx), %esi callq _TMALLOC movq _rules_used@GOTPCREL(%rip), %r14 movq %rax, (%r14) movq %rax, %rdi callq _NO_SPACE movl (%rbx), %ecx testl %ecx, %ecx jle LBB0_3 ## %bb.1: movq (%r14), %rax xorl %edx, %edx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl $0, (%rax,%rdx,4) incq %rdx movslq (%rbx), %rcx cmpq %rcx, %rdx jl LBB0_2 LBB0_3: movq _nstates@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax jle LBB0_13 ## %bb.4: xorl %r13d, %r13d movq _parser@GOTPCREL(%rip), %r12 movq _REDUCE@GOTPCREL(%rip), %r15 jmp LBB0_5 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_5 Depth=1 movq _nstates@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_11: ## in Loop: Header=BB0_5 Depth=1 incq %r13 movslq %eax, %rcx cmpq %rcx, %r13 jge LBB0_12 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 movq (%r12), %rcx movq (%rcx,%r13,8), %rbx testq %rbx, %rbx jne LBB0_6 jmp LBB0_11 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_6 Depth=2 movq 16(%rbx), %rbx testq %rbx, %rbx je LBB0_10 LBB0_6: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%rbx), %rax cmpq (%r15), %rax jne LBB0_9 ## %bb.7: ## in Loop: Header=BB0_6 Depth=2 movq %rbx, %rdi callq _MaySuppress testq %rax, %rax je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_6 Depth=2 movq (%r14), %rax movq 8(%rbx), %rcx movl $1, (%rax,%rcx,4) jmp LBB0_9 LBB0_12: movq _nrules@GOTPCREL(%rip), %rax movl (%rax), %ecx LBB0_13: movq _nunused@GOTPCREL(%rip), %rax movl $0, (%rax) cmpl $4, %ecx jl LBB0_28 ## %bb.14: movq (%r14), %rdx movl %ecx, %r8d addq $-3, %r8 cmpl $4, %ecx jne LBB0_16 ## %bb.15: movl $3, %edi xorl %ecx, %ecx LBB0_22: testb $1, %r8b je LBB0_25 ## %bb.23: cmpl $0, (%rdx,%rdi,4) je LBB0_24 LBB0_25: testl %ecx, %ecx je LBB0_28 LBB0_26: movq _stderr@GOTPCREL(%rip), %rax cmpl $1, %ecx jne LBB0_27 ## %bb.29: movl (%rax), %edi movq _myname@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str(%rip), %rsi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _fprintf ## TAILCALL LBB0_16: movq %r8, %rsi andq $-2, %rsi negq %rsi movl $3, %edi xorl %ecx, %ecx jmp LBB0_17 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_17 Depth=1 leaq (%rsi,%rdi), %rbx addq $2, %rbx addq $2, %rdi cmpq $3, %rbx je LBB0_22 LBB0_17: ## =>This Inner Loop Header: Depth=1 cmpl $0, (%rdx,%rdi,4) je LBB0_18 ## %bb.19: ## in Loop: Header=BB0_17 Depth=1 cmpl $0, 4(%rdx,%rdi,4) jne LBB0_21 jmp LBB0_20 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_17 Depth=1 incl %ecx movl %ecx, (%rax) cmpl $0, 4(%rdx,%rdi,4) jne LBB0_21 LBB0_20: ## in Loop: Header=BB0_17 Depth=1 incl %ecx movl %ecx, (%rax) jmp LBB0_21 LBB0_27: movl (%rax), %edi movq _myname@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str.1(%rip), %rsi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _fprintf ## TAILCALL LBB0_24: incl %ecx movl %ecx, (%rax) testl %ecx, %ecx jne LBB0_26 LBB0_28: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _Value_t,4,2 ## @Value_t .comm _nrules,4,2 ## @nrules .comm _rules_used,8,3 ## @rules_used .comm _nstates,4,2 ## @nstates .comm _parser,8,3 ## @parser .comm _REDUCE,8,3 ## @REDUCE .comm _nunused,4,2 ## @nunused .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: 1 rule never reduced\n" .comm _myname,8,3 ## @myname L_.str.1: ## @.str.1 .asciz "%s: %d rules never reduced\n" .no_dead_strip _unused_rules .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function unused_rules _unused_rules: ; @unused_rules .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 Lloh0: adrp x8, _Value_t@GOTPAGE Lloh1: ldr x8, [x8, _Value_t@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x21, _nrules@GOTPAGE Lloh4: ldr x21, [x21, _nrules@GOTPAGEOFF] ldr w1, [x21] bl _TMALLOC Lloh5: adrp x20, _rules_used@GOTPAGE Lloh6: ldr x20, [x20, _rules_used@GOTPAGEOFF] str x0, [x20] bl _NO_SPACE ldr w10, [x21] cmp w10, #1 b.lt LBB0_3 ; %bb.1: mov x8, #0 ldr x9, [x20] LBB0_2: ; =>This Inner Loop Header: Depth=1 str wzr, [x9, x8, lsl #2] add x8, x8, #1 ldrsw x10, [x21] cmp x8, x10 b.lt LBB0_2 LBB0_3: Lloh7: adrp x22, _nstates@GOTPAGE Lloh8: ldr x22, [x22, _nstates@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_13 ; %bb.4: mov x23, #0 Lloh9: adrp x24, _parser@GOTPAGE Lloh10: ldr x24, [x24, _parser@GOTPAGEOFF] Lloh11: adrp x25, _REDUCE@GOTPAGE Lloh12: ldr x25, [x25, _REDUCE@GOTPAGEOFF] mov w26, #1 b LBB0_7 LBB0_5: ; in Loop: Header=BB0_7 Depth=1 ldr w8, [x22] LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add x23, x23, #1 cmp x23, w8, sxtw b.ge LBB0_12 LBB0_7: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 ldr x9, [x24] ldr x19, [x9, x23, lsl #3] cbnz x19, LBB0_9 b LBB0_6 LBB0_8: ; in Loop: Header=BB0_9 Depth=2 ldr x19, [x19, #16] cbz x19, LBB0_5 LBB0_9: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x19] ldr x9, [x25] cmp x8, x9 b.ne LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 mov x0, x19 bl _MaySuppress cbz x0, LBB0_8 ; %bb.11: ; in Loop: Header=BB0_9 Depth=2 ldr x8, [x20] ldr x9, [x19, #8] str w26, [x8, x9, lsl #2] b LBB0_8 LBB0_12: ldr w10, [x21] LBB0_13: Lloh13: adrp x9, _nunused@GOTPAGE Lloh14: ldr x9, [x9, _nunused@GOTPAGEOFF] str wzr, [x9] cmp w10, #4 b.lt LBB0_22 ; %bb.14: mov w8, #0 ldr x11, [x20] mov w12, w10 add x10, x11, #12 sub x11, x12, #3 b LBB0_16 LBB0_15: ; in Loop: Header=BB0_16 Depth=1 add x10, x10, #4 subs x11, x11, #1 b.eq LBB0_18 LBB0_16: ; =>This Inner Loop Header: Depth=1 ldr w12, [x10] cbnz w12, LBB0_15 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 add w8, w8, #1 str w8, [x9] b LBB0_15 LBB0_18: cbz w8, LBB0_22 ; %bb.19: cmp w8, #1 b.ne LBB0_21 ; %bb.20: Lloh15: adrp x8, _stderr@GOTPAGE Lloh16: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh17: ldr w0, [x8] Lloh18: adrp x8, _myname@GOTPAGE Lloh19: ldr x8, [x8, _myname@GOTPAGEOFF] Lloh20: ldr x2, [x8] Lloh21: adrp x1, l_.str@PAGE Lloh22: add x1, x1, l_.str@PAGEOFF ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 b _fprintf LBB0_21: Lloh23: adrp x9, _stderr@GOTPAGE Lloh24: ldr x9, [x9, _stderr@GOTPAGEOFF] Lloh25: ldr w0, [x9] Lloh26: adrp x9, _myname@GOTPAGE Lloh27: ldr x9, [x9, _myname@GOTPAGEOFF] Lloh28: ldr x2, [x9] str x8, [sp] Lloh29: adrp x1, l_.str.1@PAGE Lloh30: add x1, x1, l_.str.1@PAGEOFF bl _fprintf LBB0_22: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .cfi_endproc ; -- End function .comm _Value_t,4,2 ; @Value_t .comm _nrules,4,2 ; @nrules .comm _rules_used,8,3 ; @rules_used .comm _nstates,4,2 ; @nstates .comm _parser,8,3 ; @parser .comm _REDUCE,8,3 ; @REDUCE .comm _nunused,4,2 ; @nunused .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: 1 rule never reduced\n" .comm _myname,8,3 ; @myname l_.str.1: ; @.str.1 .asciz "%s: %d rules never reduced\n" .no_dead_strip _unused_rules .subsections_via_symbols
AnghaBench/freebsd/contrib/byacc/extr_mkpar.c_unused_rules.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sfxge_port_fini ## -- Begin function sfxge_port_fini .p2align 4, 0x90 _sfxge_port_fini: ## @sfxge_port_fini .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx leaq 20(%rdi), %r14 movq (%rdi), %rax movq _SFXGE_PORT_INITIALIZED@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax sete %dil leaq L_.str(%rip), %rsi callq _KASSERT movq _SFXGE_PORT_UNINITIALIZED@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, (%rbx) movq _EFX_LINK_UNKNOWN@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 32(%rbx) leaq 28(%rbx), %rdi callq _sfxge_dma_free movl 24(%rbx), %edi movq _M_SFXGE@GOTPCREL(%rip), %r15 movl (%r15), %esi callq _free movq %r14, %rdi callq _sfxge_dma_free movl 16(%rbx), %edi movl (%r15), %esi callq _free movq %rbx, %rdi callq _SFXGE_PORT_LOCK_DESTROY movq $0, 8(%rbx) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SFXGE_PORT_INITIALIZED,8,3 ## @SFXGE_PORT_INITIALIZED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Port not initialized" .comm _SFXGE_PORT_UNINITIALIZED,8,3 ## @SFXGE_PORT_UNINITIALIZED .comm _EFX_LINK_UNKNOWN,4,2 ## @EFX_LINK_UNKNOWN .comm _M_SFXGE,4,2 ## @M_SFXGE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sfxge_port_fini ; -- Begin function sfxge_port_fini .p2align 2 _sfxge_port_fini: ; @sfxge_port_fini .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 add x20, x0, #20 ldr x8, [x0] Lloh0: adrp x9, _SFXGE_PORT_INITIALIZED@GOTPAGE Lloh1: ldr x9, [x9, _SFXGE_PORT_INITIALIZED@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 cset w0, eq Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _KASSERT Lloh5: adrp x8, _SFXGE_PORT_UNINITIALIZED@GOTPAGE Lloh6: ldr x8, [x8, _SFXGE_PORT_UNINITIALIZED@GOTPAGEOFF] Lloh7: ldr x8, [x8] str x8, [x19] Lloh8: adrp x8, _EFX_LINK_UNKNOWN@GOTPAGE Lloh9: ldr x8, [x8, _EFX_LINK_UNKNOWN@GOTPAGEOFF] Lloh10: ldr w8, [x8] str w8, [x19, #32] add x0, x19, #28 bl _sfxge_dma_free ldr w0, [x19, #24] Lloh11: adrp x21, _M_SFXGE@GOTPAGE Lloh12: ldr x21, [x21, _M_SFXGE@GOTPAGEOFF] ldr w1, [x21] bl _free mov x0, x20 bl _sfxge_dma_free ldr w0, [x19, #16] ldr w1, [x21] bl _free mov x0, x19 bl _SFXGE_PORT_LOCK_DESTROY str xzr, [x19, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SFXGE_PORT_INITIALIZED,8,3 ; @SFXGE_PORT_INITIALIZED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Port not initialized" .comm _SFXGE_PORT_UNINITIALIZED,8,3 ; @SFXGE_PORT_UNINITIALIZED .comm _EFX_LINK_UNKNOWN,4,2 ; @EFX_LINK_UNKNOWN .comm _M_SFXGE,4,2 ; @M_SFXGE .subsections_via_symbols
AnghaBench/freebsd/sys/dev/sfxge/extr_sfxge_port.c_sfxge_port_fini.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function c67x00_create_td _c67x00_create_td: ## @c67x00_create_td .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, %r12d movl %r8d, -60(%rbp) ## 4-byte Spill movl %ecx, %r14d movq %rdx, %rbx movq %rsi, %r13 movq %rdi, %r15 movq 8(%rsi), %rax movq %rax, -56(%rbp) ## 8-byte Spill movl (%rsi), %edi callq _usb_pipeisoc movl $1, %ecx testq %rax, %rax jne LBB0_2 ## %bb.1: movl (%r13), %edi callq _usb_pipeint xorl %ecx, %ecx testq %rax, %rax setne %cl LBB0_2: movq %r15, %rdi movq %r13, %rsi movl %r14d, %edx callq _c67x00_claim_frame_bw testq %rax, %rax je LBB0_5 ## %bb.3: movq _EMSGSIZE@GOTPCREL(%rip), %rcx LBB0_4: xorl %eax, %eax subl (%rcx), %eax jmp LBB0_21 LBB0_5: movl %r12d, -48(%rbp) ## 4-byte Spill movq %rbx, -72(%rbp) ## 8-byte Spill movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %esi movl $112, %edi callq _kzalloc testq %rax, %rax je LBB0_6 ## %bb.7: movq %rax, %r12 movl (%r13), %eax movl %eax, 80(%r12) movq -56(%rbp), %rax ## 8-byte Reload movl 4(%rax), %eax movl %eax, 104(%r12) movq %r12, %rdi callq _td_udev movq (%rax), %rax movq _USB_SPEED_LOW@GOTPCREL(%rip), %rcx movl $0, -44(%rbp) ## 4-byte Folded Spill movl $0, %ebx cmpq (%rcx), %rax jne LBB0_10 ## %bb.8: movl (%r15), %eax movq -56(%rbp), %rcx ## 8-byte Reload movl (%rcx), %ecx xorl %ebx, %ebx btl %ecx, %eax jb LBB0_10 ## %bb.9: movq _PREAMBLE_EN@GOTPCREL(%rip), %rax movl (%rax), %ebx LBB0_10: movl 80(%r12), %edi callq _usb_pipetype ## kill: def $eax killed $eax def $rax addl $-128, %eax movq %r15, %rdx cmpl $3, %eax ja LBB0_11 ## %bb.12: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_13: movl %r14d, %r15d movq _TT_ISOCHRONOUS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq _ISO_EN@GOTPCREL(%rip), %rax orl (%rax), %ebx jmp LBB0_18 LBB0_6: movq _ENOMEM@GOTPCREL(%rip), %rcx jmp LBB0_4 LBB0_11: movl %r14d, %r15d jmp LBB0_18 LBB0_16: movl %r14d, %r15d movq _TT_INTERRUPT@GOTPCREL(%rip), %rax jmp LBB0_17 LBB0_14: movl %r14d, %r15d movq _TT_CONTROL@GOTPCREL(%rip), %rax jmp LBB0_17 LBB0_15: movl %r14d, %r15d movq _TT_BULK@GOTPCREL(%rip), %rax LBB0_17: movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill LBB0_18: movl -48(%rbp), %eax ## 4-byte Reload testl %eax, %eax je LBB0_20 ## %bb.19: movq _SEQ_SEL@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_20: orl %ebx, %eax movl %eax, %ecx movq _ARM_EN@GOTPCREL(%rip), %rax orl (%rax), %ecx movl %ecx, -48(%rbp) ## 4-byte Spill movq %rdx, %r14 movl 4(%rdx), %eax movl %eax, (%r12) movq _CY_TD_SIZE@GOTPCREL(%rip), %rcx addl (%rcx), %eax movl %eax, 4(%rdx) movl 8(%rdx), %edi callq ___cpu_to_le16 movq %rax, 96(%r12) movq 16(%r14), %rax movl (%rax), %eax shll $15, %eax movq -56(%rbp), %rcx ## 8-byte Reload movl (%rcx), %ecx shll $14, %ecx movl %r15d, %edi andl $1023, %edi ## imm = 0x3FF orl %eax, %edi orl %ecx, %edi callq ___cpu_to_le16 movq %rax, 88(%r12) movl -60(%rbp), %ebx ## 4-byte Reload andl $15, %ebx movq _TD_PIDEP_OFFSET@GOTPCREL(%rip), %rax movb (%rax), %cl shll %cl, %ebx movl 80(%r12), %edi callq _usb_pipeendpoint andl $15, %eax orl %ebx, %eax movl %eax, 4(%r12) movl 80(%r12), %edi callq _usb_pipedevice andl $127, %eax movl %eax, 8(%r12) movl -48(%rbp), %eax ## 4-byte Reload movl %eax, 12(%r12) movq _TT_OFFSET@GOTPCREL(%rip), %rax movb (%rax), %cl movl -44(%rbp), %eax ## 4-byte Reload shll %cl, %eax orl $17, %eax movl %eax, 16(%r12) xorps %xmm0, %xmm0 movups %xmm0, 64(%r12) movl 4(%r14), %edi callq ___cpu_to_le16 movq %rax, 56(%r12) movq -72(%rbp), %rax ## 8-byte Reload movq %rax, 48(%r12) movq %r13, 40(%r12) movq 16(%rbp), %rax movq %rax, 24(%r12) incl %r15d andl $-2, %r15d addl %r15d, 8(%r14) addq $32, %r12 addq $12, %r14 movq %r12, %rdi movq %r14, %rsi callq _list_add_tail xorl %eax, %eax LBB0_21: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 LJTI0_0: .long L0_0_set_13 .long L0_0_set_16 .long L0_0_set_14 .long L0_0_set_15 .end_data_region ## -- End function .comm _EMSGSIZE,4,2 ## @EMSGSIZE .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .comm _ENOMEM,4,2 ## @ENOMEM .comm _USB_SPEED_LOW,8,3 ## @USB_SPEED_LOW .comm _PREAMBLE_EN,4,2 ## @PREAMBLE_EN .comm _TT_ISOCHRONOUS,4,2 ## @TT_ISOCHRONOUS .comm _ISO_EN,4,2 ## @ISO_EN .comm _TT_CONTROL,4,2 ## @TT_CONTROL .comm _TT_BULK,4,2 ## @TT_BULK .comm _TT_INTERRUPT,4,2 ## @TT_INTERRUPT .comm _SEQ_SEL,4,2 ## @SEQ_SEL .comm _ARM_EN,4,2 ## @ARM_EN .comm _CY_TD_SIZE,4,2 ## @CY_TD_SIZE .comm _TD_PIDEP_OFFSET,4,2 ## @TD_PIDEP_OFFSET .comm _TT_OFFSET,4,2 ## @TT_OFFSET .no_dead_strip _c67x00_create_td .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function c67x00_create_td _c67x00_create_td: ; @c67x00_create_td .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x6 mov x26, x5 mov x24, x4 mov x21, x3 mov x23, x2 mov x22, x1 mov x19, x0 ldr x27, [x1, #8] ldr w0, [x1] bl _usb_pipeisoc cbz x0, LBB0_2 ; %bb.1: mov w3, #1 b LBB0_3 LBB0_2: ldr w0, [x22] bl _usb_pipeint cmp x0, #0 cset w3, ne LBB0_3: mov x0, x19 mov x1, x22 mov x2, x21 bl _c67x00_claim_frame_bw cbz x0, LBB0_6 ; %bb.4: Lloh0: adrp x8, _EMSGSIZE@GOTPAGE Lloh1: ldr x8, [x8, _EMSGSIZE@GOTPAGEOFF] LBB0_5: ldr w8, [x8] neg w0, w8 b LBB0_20 LBB0_6: Lloh2: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh3: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh4: ldr w1, [x8] mov w0, #112 bl _kzalloc cbz x0, LBB0_9 ; %bb.7: mov x25, x0 ldr w8, [x22] str w8, [x0, #80] ldr w8, [x27, #4] str w8, [x0, #104] bl _td_udev ldr x8, [x0] Lloh5: adrp x9, _USB_SPEED_LOW@GOTPAGE Lloh6: ldr x9, [x9, _USB_SPEED_LOW@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x8, x9 b.ne LBB0_10 ; %bb.8: ldr w8, [x19] ldr w9, [x27] Lloh8: adrp x10, _PREAMBLE_EN@GOTPAGE Lloh9: ldr x10, [x10, _PREAMBLE_EN@GOTPAGEOFF] Lloh10: ldr w10, [x10] lsr w8, w8, w9 tst w8, #0x1 csel w28, w10, wzr, eq b LBB0_11 LBB0_9: Lloh11: adrp x8, _ENOMEM@GOTPAGE Lloh12: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_5 LBB0_10: mov w28, #0 LBB0_11: ldr w0, [x25, #80] bl _usb_pipetype sub w8, w0, #128 cmp w8, #3 b.hi LBB0_14 ; %bb.12: Lloh13: adrp x9, lJTI0_0@PAGE Lloh14: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_13 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_13: Lloh15: adrp x8, _TT_ISOCHRONOUS@GOTPAGE Lloh16: ldr x8, [x8, _TT_ISOCHRONOUS@GOTPAGEOFF] Lloh17: ldr w8, [x8] str w8, [sp, #12] ; 4-byte Folded Spill Lloh18: adrp x8, _ISO_EN@GOTPAGE Lloh19: ldr x8, [x8, _ISO_EN@GOTPAGEOFF] Lloh20: ldr w8, [x8] orr w28, w8, w28 b LBB0_19 LBB0_14: str wzr, [sp, #12] ; 4-byte Folded Spill b LBB0_19 LBB0_15: Lloh21: adrp x8, _TT_INTERRUPT@GOTPAGE Lloh22: ldr x8, [x8, _TT_INTERRUPT@GOTPAGEOFF] b LBB0_18 LBB0_16: Lloh23: adrp x8, _TT_CONTROL@GOTPAGE Lloh24: ldr x8, [x8, _TT_CONTROL@GOTPAGEOFF] b LBB0_18 LBB0_17: Lloh25: adrp x8, _TT_BULK@GOTPAGE Lloh26: ldr x8, [x8, _TT_BULK@GOTPAGEOFF] LBB0_18: ldr w8, [x8] str w8, [sp, #12] ; 4-byte Folded Spill LBB0_19: Lloh27: adrp x8, _SEQ_SEL@GOTPAGE Lloh28: ldr x8, [x8, _SEQ_SEL@GOTPAGEOFF] Lloh29: ldr w8, [x8] cmp w26, #0 csel w8, wzr, w8, eq orr w8, w8, w28 Lloh30: adrp x9, _ARM_EN@GOTPAGE Lloh31: ldr x9, [x9, _ARM_EN@GOTPAGEOFF] Lloh32: ldr w9, [x9] orr w26, w8, w9 ldp w8, w0, [x19, #4] str w8, [x25] Lloh33: adrp x9, _CY_TD_SIZE@GOTPAGE Lloh34: ldr x9, [x9, _CY_TD_SIZE@GOTPAGEOFF] Lloh35: ldr w9, [x9] add w8, w9, w8 str w8, [x19, #4] bl ___cpu_to_le16 str x0, [x25, #96] ldr x8, [x19, #16] ldr w8, [x8] ldr w9, [x27] and w10, w21, #0x3ff bfi w10, w8, #15, #17 orr w0, w10, w9, lsl #14 bl ___cpu_to_le16 str x0, [x25, #88] and w8, w24, #0xf Lloh36: adrp x9, _TD_PIDEP_OFFSET@GOTPAGE Lloh37: ldr x9, [x9, _TD_PIDEP_OFFSET@GOTPAGEOFF] Lloh38: ldr w9, [x9] lsl w24, w8, w9 ldr w0, [x25, #80] bl _usb_pipeendpoint and w8, w0, #0xf orr w8, w8, w24 str w8, [x25, #4] ldr w0, [x25, #80] bl _usb_pipedevice and w8, w0, #0x7f stp w8, w26, [x25, #8] Lloh39: adrp x8, _TT_OFFSET@GOTPAGE Lloh40: ldr x8, [x8, _TT_OFFSET@GOTPAGEOFF] Lloh41: ldr w8, [x8] ldr w9, [sp, #12] ; 4-byte Folded Reload lsl w8, w9, w8 mov w9, #17 orr w8, w8, w9 str w8, [x25, #16] stp xzr, xzr, [x25, #64] ldr w0, [x19, #4] bl ___cpu_to_le16 stp x23, x0, [x25, #48] str x22, [x25, #40] str x20, [x25, #24] add w8, w21, #1 and w8, w8, #0xfffffffe ldr w9, [x19, #8] add w8, w9, w8 str w8, [x19, #8] add x0, x25, #32 add x1, x19, #12 bl _list_add_tail mov w0, #0 LBB0_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 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_13-LBB0_13)>>2 .byte (LBB0_15-LBB0_13)>>2 .byte (LBB0_16-LBB0_13)>>2 .byte (LBB0_17-LBB0_13)>>2 ; -- End function .comm _EMSGSIZE,4,2 ; @EMSGSIZE .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .comm _ENOMEM,4,2 ; @ENOMEM .comm _USB_SPEED_LOW,8,3 ; @USB_SPEED_LOW .comm _PREAMBLE_EN,4,2 ; @PREAMBLE_EN .comm _TT_ISOCHRONOUS,4,2 ; @TT_ISOCHRONOUS .comm _ISO_EN,4,2 ; @ISO_EN .comm _TT_CONTROL,4,2 ; @TT_CONTROL .comm _TT_BULK,4,2 ; @TT_BULK .comm _TT_INTERRUPT,4,2 ; @TT_INTERRUPT .comm _SEQ_SEL,4,2 ; @SEQ_SEL .comm _ARM_EN,4,2 ; @ARM_EN .comm _CY_TD_SIZE,4,2 ; @CY_TD_SIZE .comm _TD_PIDEP_OFFSET,4,2 ; @TD_PIDEP_OFFSET .comm _TT_OFFSET,4,2 ; @TT_OFFSET .no_dead_strip _c67x00_create_td .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/usb/c67x00/extr_c67x00-sched.c_c67x00_create_td.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _drm_mode_create_tv_properties ## -- Begin function drm_mode_create_tv_properties .p2align 4, 0x90 _drm_mode_create_tv_properties: ## @drm_mode_create_tv_properties .cfi_startproc ## %bb.0: 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 cmpq $0, 96(%rdi) jne LBB0_6 ## %bb.1: movq %rdx, %r14 movl %esi, %r15d movq %rdi, %r12 movq _drm_tv_select_enum_list@GOTPCREL(%rip), %rax movl (%rax), %ebx movl %ebx, %edi callq _ARRAY_SIZE leaq L_.str(%rip), %rdx movq %r12, %rdi xorl %esi, %esi movl %ebx, %ecx movl %eax, %r8d callq _drm_property_create_enum movq %rax, 96(%r12) movq _DRM_MODE_PROP_IMMUTABLE@GOTPCREL(%rip), %rax movl (%rax), %r13d movq _drm_tv_subconnector_enum_list@GOTPCREL(%rip), %rax movl (%rax), %ebx movl %ebx, %edi callq _ARRAY_SIZE leaq L_.str.1(%rip), %rdx movq %r12, %rdi movl %r13d, %esi movl %ebx, %ecx movl %eax, %r8d callq _drm_property_create_enum movq %rax, 88(%r12) leaq L_.str.2(%rip), %rdx movq %r12, %rdi xorl %esi, %esi xorl %ecx, %ecx movl $100, %r8d callq _drm_property_create_range movq %rax, 80(%r12) leaq L_.str.3(%rip), %rdx movq %r12, %rdi xorl %esi, %esi xorl %ecx, %ecx movl $100, %r8d callq _drm_property_create_range movq %rax, 72(%r12) leaq L_.str.4(%rip), %rdx movq %r12, %rdi xorl %esi, %esi xorl %ecx, %ecx movl $100, %r8d callq _drm_property_create_range movq %rax, 64(%r12) leaq L_.str.5(%rip), %rdx movq %r12, %rdi xorl %esi, %esi xorl %ecx, %ecx movl $100, %r8d callq _drm_property_create_range movq %rax, 56(%r12) movq _DRM_MODE_PROP_ENUM@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.6(%rip), %rdx movq %r12, %rdi movl %r15d, %ecx callq _drm_property_create movl %eax, 48(%r12) testl %r15d, %r15d jle LBB0_5 ## %bb.2: movq (%r14), %rcx movl %eax, %edi xorl %esi, %esi xorl %edx, %edx callq _drm_property_add_enum cmpl $1, %r15d je LBB0_5 ## %bb.3: movl %r15d, %r15d movl $1, %ebx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl 48(%r12), %edi movq (%r14,%rbx,8), %rcx movl %ebx, %esi movl %ebx, %edx callq _drm_property_add_enum incq %rbx cmpq %rbx, %r15 jne LBB0_4 LBB0_5: leaq L_.str.7(%rip), %rdx movq %r12, %rdi xorl %esi, %esi xorl %ecx, %ecx movl $100, %r8d callq _drm_property_create_range movq %rax, 40(%r12) leaq L_.str.8(%rip), %rdx movq %r12, %rdi xorl %esi, %esi xorl %ecx, %ecx movl $100, %r8d callq _drm_property_create_range movq %rax, 32(%r12) leaq L_.str.9(%rip), %rdx movq %r12, %rdi xorl %esi, %esi xorl %ecx, %ecx movl $100, %r8d callq _drm_property_create_range movq %rax, 24(%r12) leaq L_.str.10(%rip), %rdx movq %r12, %rdi xorl %esi, %esi xorl %ecx, %ecx movl $100, %r8d callq _drm_property_create_range movq %rax, 16(%r12) leaq L_.str.11(%rip), %rdx movq %r12, %rdi xorl %esi, %esi xorl %ecx, %ecx movl $100, %r8d callq _drm_property_create_range movq %rax, 8(%r12) leaq L_.str.12(%rip), %rdx movq %r12, %rdi xorl %esi, %esi xorl %ecx, %ecx movl $100, %r8d callq _drm_property_create_range movq %rax, (%r12) LBB0_6: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "select subconnector" .comm _drm_tv_select_enum_list,4,2 ## @drm_tv_select_enum_list .comm _DRM_MODE_PROP_IMMUTABLE,4,2 ## @DRM_MODE_PROP_IMMUTABLE L_.str.1: ## @.str.1 .asciz "subconnector" .comm _drm_tv_subconnector_enum_list,4,2 ## @drm_tv_subconnector_enum_list L_.str.2: ## @.str.2 .asciz "left margin" L_.str.3: ## @.str.3 .asciz "right margin" L_.str.4: ## @.str.4 .asciz "top margin" L_.str.5: ## @.str.5 .asciz "bottom margin" .comm _DRM_MODE_PROP_ENUM,4,2 ## @DRM_MODE_PROP_ENUM L_.str.6: ## @.str.6 .asciz "mode" L_.str.7: ## @.str.7 .asciz "brightness" L_.str.8: ## @.str.8 .asciz "contrast" L_.str.9: ## @.str.9 .asciz "flicker reduction" L_.str.10: ## @.str.10 .asciz "overscan" L_.str.11: ## @.str.11 .asciz "saturation" L_.str.12: ## @.str.12 .asciz "hue" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _drm_mode_create_tv_properties ; -- Begin function drm_mode_create_tv_properties .p2align 2 _drm_mode_create_tv_properties: ; @drm_mode_create_tv_properties .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 ldr x8, [x0, #96] cbnz x8, LBB0_6 ; %bb.1: mov x20, x2 mov x21, x1 mov x19, x0 Lloh0: adrp x8, _drm_tv_select_enum_list@GOTPAGE Lloh1: ldr x8, [x8, _drm_tv_select_enum_list@GOTPAGEOFF] Lloh2: ldr w22, [x8] mov x0, x22 bl _ARRAY_SIZE mov x4, x0 Lloh3: adrp x2, l_.str@PAGE Lloh4: add x2, x2, l_.str@PAGEOFF mov x0, x19 mov w1, #0 mov x3, x22 bl _drm_property_create_enum str x0, [x19, #96] Lloh5: adrp x8, _DRM_MODE_PROP_IMMUTABLE@GOTPAGE Lloh6: ldr x8, [x8, _DRM_MODE_PROP_IMMUTABLE@GOTPAGEOFF] Lloh7: ldr w22, [x8] Lloh8: adrp x8, _drm_tv_subconnector_enum_list@GOTPAGE Lloh9: ldr x8, [x8, _drm_tv_subconnector_enum_list@GOTPAGEOFF] Lloh10: ldr w23, [x8] mov x0, x23 bl _ARRAY_SIZE mov x4, x0 Lloh11: adrp x2, l_.str.1@PAGE Lloh12: add x2, x2, l_.str.1@PAGEOFF mov x0, x19 mov x1, x22 mov x3, x23 bl _drm_property_create_enum str x0, [x19, #88] Lloh13: adrp x2, l_.str.2@PAGE Lloh14: add x2, x2, l_.str.2@PAGEOFF mov x0, x19 mov w1, #0 mov w3, #0 mov w4, #100 bl _drm_property_create_range str x0, [x19, #80] Lloh15: adrp x2, l_.str.3@PAGE Lloh16: add x2, x2, l_.str.3@PAGEOFF mov x0, x19 mov w1, #0 mov w3, #0 mov w4, #100 bl _drm_property_create_range str x0, [x19, #72] Lloh17: adrp x2, l_.str.4@PAGE Lloh18: add x2, x2, l_.str.4@PAGEOFF mov x0, x19 mov w1, #0 mov w3, #0 mov w4, #100 bl _drm_property_create_range str x0, [x19, #64] Lloh19: adrp x2, l_.str.5@PAGE Lloh20: add x2, x2, l_.str.5@PAGEOFF mov x0, x19 mov w1, #0 mov w3, #0 mov w4, #100 bl _drm_property_create_range str x0, [x19, #56] Lloh21: adrp x8, _DRM_MODE_PROP_ENUM@GOTPAGE Lloh22: ldr x8, [x8, _DRM_MODE_PROP_ENUM@GOTPAGEOFF] Lloh23: ldr w1, [x8] Lloh24: adrp x2, l_.str.6@PAGE Lloh25: add x2, x2, l_.str.6@PAGEOFF mov x0, x19 mov x3, x21 bl _drm_property_create str w0, [x19, #48] cmp w21, #1 b.lt LBB0_5 ; %bb.2: ldr x3, [x20] mov w1, #0 mov w2, #0 bl _drm_property_add_enum cmp w21, #1 b.eq LBB0_5 ; %bb.3: mov w22, w21 mov w21, #1 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w0, [x19, #48] ldr x3, [x20, x21, lsl #3] mov x1, x21 mov x2, x21 bl _drm_property_add_enum add x21, x21, #1 cmp x22, x21 b.ne LBB0_4 LBB0_5: Lloh26: adrp x2, l_.str.7@PAGE Lloh27: add x2, x2, l_.str.7@PAGEOFF mov x0, x19 mov w1, #0 mov w3, #0 mov w4, #100 bl _drm_property_create_range str x0, [x19, #40] Lloh28: adrp x2, l_.str.8@PAGE Lloh29: add x2, x2, l_.str.8@PAGEOFF mov x0, x19 mov w1, #0 mov w3, #0 mov w4, #100 bl _drm_property_create_range str x0, [x19, #32] Lloh30: adrp x2, l_.str.9@PAGE Lloh31: add x2, x2, l_.str.9@PAGEOFF mov x0, x19 mov w1, #0 mov w3, #0 mov w4, #100 bl _drm_property_create_range str x0, [x19, #24] Lloh32: adrp x2, l_.str.10@PAGE Lloh33: add x2, x2, l_.str.10@PAGEOFF mov x0, x19 mov w1, #0 mov w3, #0 mov w4, #100 bl _drm_property_create_range str x0, [x19, #16] Lloh34: adrp x2, l_.str.11@PAGE Lloh35: add x2, x2, l_.str.11@PAGEOFF mov x0, x19 mov w1, #0 mov w3, #0 mov w4, #100 bl _drm_property_create_range str x0, [x19, #8] Lloh36: adrp x2, l_.str.12@PAGE Lloh37: add x2, x2, l_.str.12@PAGEOFF mov x0, x19 mov w1, #0 mov w3, #0 mov w4, #100 bl _drm_property_create_range str x0, [x19] LBB0_6: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "select subconnector" .comm _drm_tv_select_enum_list,4,2 ; @drm_tv_select_enum_list .comm _DRM_MODE_PROP_IMMUTABLE,4,2 ; @DRM_MODE_PROP_IMMUTABLE l_.str.1: ; @.str.1 .asciz "subconnector" .comm _drm_tv_subconnector_enum_list,4,2 ; @drm_tv_subconnector_enum_list l_.str.2: ; @.str.2 .asciz "left margin" l_.str.3: ; @.str.3 .asciz "right margin" l_.str.4: ; @.str.4 .asciz "top margin" l_.str.5: ; @.str.5 .asciz "bottom margin" .comm _DRM_MODE_PROP_ENUM,4,2 ; @DRM_MODE_PROP_ENUM l_.str.6: ; @.str.6 .asciz "mode" l_.str.7: ; @.str.7 .asciz "brightness" l_.str.8: ; @.str.8 .asciz "contrast" l_.str.9: ; @.str.9 .asciz "flicker reduction" l_.str.10: ; @.str.10 .asciz "overscan" l_.str.11: ; @.str.11 .asciz "saturation" l_.str.12: ; @.str.12 .asciz "hue" .subsections_via_symbols
AnghaBench/freebsd/sys/dev/drm2/extr_drm_crtc.c_drm_mode_create_tv_properties.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ts_bgw_policy_drop_chunks_delete_row_only_by_job_id ## -- Begin function ts_bgw_policy_drop_chunks_delete_row_only_by_job_id .p2align 4, 0x90 _ts_bgw_policy_drop_chunks_delete_row_only_by_job_id: ## @ts_bgw_policy_drop_chunks_delete_row_only_by_job_id .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _Anum_bgw_policy_drop_chunks_pkey_job_id@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _BTEqualStrategyNumber@GOTPCREL(%rip), %rax movl (%rax), %r15d movq _F_INT4EQ@GOTPCREL(%rip), %rax movl (%rax), %ebx callq _Int32GetDatum leaq -36(%rbp), %r12 movq %r12, %rdi movl %r14d, %esi movl %r15d, %edx movl %ebx, %ecx movl %eax, %r8d callq _ScanKeyInit movq _BGW_POLICY_DROP_CHUNKS@GOTPCREL(%rip), %rax movl (%rax), %edi movq _BGW_POLICY_DROP_CHUNKS_PKEY@GOTPCREL(%rip), %rax movl (%rax), %esi movq _ts_bgw_policy_delete_row_only_tuple_found@GOTPCREL(%rip), %rax movl (%rax), %r8d movq _RowExclusiveLock@GOTPCREL(%rip), %rax movl (%rax), %r9d movq _BGW_POLICY_DROP_CHUNKS_TABLE_NAME@GOTPCREL(%rip), %rax movl (%rax), %eax movq %r12, %rdx movl $1, %ecx pushq $0 pushq %rax callq _ts_catalog_scan_one addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _Anum_bgw_policy_drop_chunks_pkey_job_id,4,2 ## @Anum_bgw_policy_drop_chunks_pkey_job_id .comm _BTEqualStrategyNumber,4,2 ## @BTEqualStrategyNumber .comm _F_INT4EQ,4,2 ## @F_INT4EQ .comm _BGW_POLICY_DROP_CHUNKS,4,2 ## @BGW_POLICY_DROP_CHUNKS .comm _BGW_POLICY_DROP_CHUNKS_PKEY,4,2 ## @BGW_POLICY_DROP_CHUNKS_PKEY .comm _ts_bgw_policy_delete_row_only_tuple_found,4,2 ## @ts_bgw_policy_delete_row_only_tuple_found .comm _RowExclusiveLock,4,2 ## @RowExclusiveLock .comm _BGW_POLICY_DROP_CHUNKS_TABLE_NAME,4,2 ## @BGW_POLICY_DROP_CHUNKS_TABLE_NAME .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ts_bgw_policy_drop_chunks_delete_row_only_by_job_id ; -- Begin function ts_bgw_policy_drop_chunks_delete_row_only_by_job_id .p2align 2 _ts_bgw_policy_drop_chunks_delete_row_only_by_job_id: ; @ts_bgw_policy_drop_chunks_delete_row_only_by_job_id .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 x8, _Anum_bgw_policy_drop_chunks_pkey_job_id@GOTPAGE Lloh1: ldr x8, [x8, _Anum_bgw_policy_drop_chunks_pkey_job_id@GOTPAGEOFF] Lloh2: ldr w19, [x8] Lloh3: adrp x8, _BTEqualStrategyNumber@GOTPAGE Lloh4: ldr x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF] Lloh5: ldr w20, [x8] Lloh6: adrp x8, _F_INT4EQ@GOTPAGE Lloh7: ldr x8, [x8, _F_INT4EQ@GOTPAGEOFF] Lloh8: ldr w21, [x8] bl _Int32GetDatum mov x4, x0 add x0, sp, #12 mov x1, x19 mov x2, x20 mov x3, x21 bl _ScanKeyInit Lloh9: adrp x8, _BGW_POLICY_DROP_CHUNKS@GOTPAGE Lloh10: ldr x8, [x8, _BGW_POLICY_DROP_CHUNKS@GOTPAGEOFF] Lloh11: ldr w0, [x8] Lloh12: adrp x8, _BGW_POLICY_DROP_CHUNKS_PKEY@GOTPAGE Lloh13: ldr x8, [x8, _BGW_POLICY_DROP_CHUNKS_PKEY@GOTPAGEOFF] Lloh14: ldr w1, [x8] Lloh15: adrp x8, _ts_bgw_policy_delete_row_only_tuple_found@GOTPAGE Lloh16: ldr x8, [x8, _ts_bgw_policy_delete_row_only_tuple_found@GOTPAGEOFF] Lloh17: ldr w4, [x8] Lloh18: adrp x8, _RowExclusiveLock@GOTPAGE Lloh19: ldr x8, [x8, _RowExclusiveLock@GOTPAGEOFF] Lloh20: ldr w5, [x8] Lloh21: adrp x8, _BGW_POLICY_DROP_CHUNKS_TABLE_NAME@GOTPAGE Lloh22: ldr x8, [x8, _BGW_POLICY_DROP_CHUNKS_TABLE_NAME@GOTPAGEOFF] Lloh23: ldr w6, [x8] add x2, sp, #12 mov w3, #1 mov x7, #0 bl _ts_catalog_scan_one ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _Anum_bgw_policy_drop_chunks_pkey_job_id,4,2 ; @Anum_bgw_policy_drop_chunks_pkey_job_id .comm _BTEqualStrategyNumber,4,2 ; @BTEqualStrategyNumber .comm _F_INT4EQ,4,2 ; @F_INT4EQ .comm _BGW_POLICY_DROP_CHUNKS,4,2 ; @BGW_POLICY_DROP_CHUNKS .comm _BGW_POLICY_DROP_CHUNKS_PKEY,4,2 ; @BGW_POLICY_DROP_CHUNKS_PKEY .comm _ts_bgw_policy_delete_row_only_tuple_found,4,2 ; @ts_bgw_policy_delete_row_only_tuple_found .comm _RowExclusiveLock,4,2 ; @RowExclusiveLock .comm _BGW_POLICY_DROP_CHUNKS_TABLE_NAME,4,2 ; @BGW_POLICY_DROP_CHUNKS_TABLE_NAME .subsections_via_symbols
AnghaBench/timescaledb/src/bgw_policy/extr_drop_chunks.c_ts_bgw_policy_drop_chunks_delete_row_only_by_job_id.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gcov_rewrite _gcov_rewrite: ## @gcov_rewrite .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 _gcov_var@GOTPCREL(%rip), %rbx xorl %edi, %edi cmpl $0, (%rbx) setg %dil callq _gcc_assert movl $-1, (%rbx) xorps %xmm0, %xmm0 movups %xmm0, 8(%rbx) movl 4(%rbx), %edi movq _SEEK_SET@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi addq $8, %rsp popq %rbx popq %rbp jmp _fseek ## TAILCALL .cfi_endproc ## -- End function .comm _gcov_var,24,3 ## @gcov_var .comm _SEEK_SET,4,2 ## @SEEK_SET .no_dead_strip _gcov_rewrite .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gcov_rewrite _gcov_rewrite: ; @gcov_rewrite .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, _gcov_var@GOTPAGE Lloh1: ldr x19, [x19, _gcov_var@GOTPAGEOFF] ldr w8, [x19] cmp w8, #0 cset w0, gt bl _gcc_assert mov w8, #-1 str w8, [x19] stp xzr, xzr, [x19, #8] ldr w0, [x19, #4] Lloh2: adrp x8, _SEEK_SET@GOTPAGE Lloh3: ldr x8, [x8, _SEEK_SET@GOTPAGEOFF] Lloh4: ldr w2, [x8] mov x1, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _fseek .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _gcov_var,24,3 ; @gcov_var .comm _SEEK_SET,4,2 ; @SEEK_SET .no_dead_strip _gcov_rewrite .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_gcov-io.h___gcov_rewrite.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ascot2e_get_frequency _ascot2e_get_frequency: ## @ascot2e_get_frequency .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 imull $1000, (%rax), %eax ## imm = 0x3E8 movl %eax, (%rsi) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ascot2e_get_frequency .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ascot2e_get_frequency _ascot2e_get_frequency: ; @ascot2e_get_frequency .cfi_startproc ; %bb.0: ldr x8, [x0] ldr w8, [x8] mov w9, #1000 mul w8, w8, w9 str w8, [x1] mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _ascot2e_get_frequency .subsections_via_symbols
AnghaBench/linux/drivers/media/dvb-frontends/extr_ascot2e.c_ascot2e_get_frequency.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function compat_get_latest_revnum _compat_get_latest_revnum: ## @compat_get_latest_revnum .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _VTBL@GOTPCREL(%rip), %rax movq (%rax), %rax popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .comm _VTBL,8,3 ## @VTBL .no_dead_strip _compat_get_latest_revnum .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function compat_get_latest_revnum _compat_get_latest_revnum: ; @compat_get_latest_revnum .cfi_startproc ; %bb.0: Lloh0: adrp x8, _VTBL@GOTPAGE Lloh1: ldr x8, [x8, _VTBL@GOTPAGEOFF] Lloh2: ldr x3, [x8] br x3 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _VTBL,8,3 ; @VTBL .no_dead_strip _compat_get_latest_revnum .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_svn/extr_..libsvn_rawrapper_template.h_compat_get_latest_revnum.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bfa_fcport_sm_disabling _bfa_fcport_sm_disabling: ## @bfa_fcport_sm_disabling .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq _BFA_STRING_32@GOTPCREL(%rip), %rax movl (%rax), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 movq (%r12), %rdi movq 8(%rdi), %r15 movl %ebx, %esi callq _bfa_trc leal -128(%rbx), %eax cmpl $6, %eax ja LBB0_14 ## %bb.1: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_11: movq _bfa_fcport_sm_stopped@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_14: movq (%r12), %rdi movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_13 ## %bb.15: movl %ebx, %esi leaq -32(%rbp), %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _bfa_sm_fault ## TAILCALL LBB0_12: movq _bfa_fcport_sm_iocfail@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_2: movq _bfa_fcport_sm_disabled@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %esi movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_13 ## %bb.4: movq %r12, %rdi leaq -32(%rbp), %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _bfa_sm_set_state ## TAILCALL LBB0_5: movq %r12, %rdi callq _bfa_fcport_send_enable testl %eax, %eax jne LBB0_6 ## %bb.7: movq _bfa_fcport_sm_enabling_qwait@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_6: movq _bfa_fcport_sm_enabling@GOTPCREL(%rip), %rax LBB0_8: movl (%rax), %esi movq %r12, %rdi callq _bfa_sm_set_state movq (%r12), %rax movl (%rax), %edi movq _BFA_PL_MID_HAL@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BFA_PL_EID_PORT_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %r8 xorl %ecx, %ecx callq _bfa_plog_str movl 8(%r12), %esi movq %r14, %rdi callq _wwn2str movq _KERN_INFO@GOTPCREL(%rip), %rax movl (%rax), %edi movq _bfa_log_level@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.1(%rip), %rcx movq %r15, %rsi movq %r14, %r8 callq _BFA_LOG movq _BFA_PORT_AEN_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi callq _bfa_fcport_aen_post LBB0_9: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_13 ## %bb.10: leaq -32(%rbp), %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_13: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_12, LBB0_12-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 LJTI0_0: .long L0_0_set_11 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_12 .long L0_0_set_2 .long L0_0_set_5 .long L0_0_set_9 .end_data_region ## -- End function .comm _BFA_STRING_32,4,2 ## @BFA_STRING_32 .comm _bfa_fcport_sm_disabled,4,2 ## @bfa_fcport_sm_disabled .comm _bfa_fcport_sm_enabling,4,2 ## @bfa_fcport_sm_enabling .comm _bfa_fcport_sm_enabling_qwait,4,2 ## @bfa_fcport_sm_enabling_qwait .comm _BFA_PL_MID_HAL,4,2 ## @BFA_PL_MID_HAL .comm _BFA_PL_EID_PORT_ENABLE,4,2 ## @BFA_PL_EID_PORT_ENABLE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Port Enable" .comm _KERN_INFO,4,2 ## @KERN_INFO .comm _bfa_log_level,4,2 ## @bfa_log_level L_.str.1: ## @.str.1 .asciz "Base port enabled: WWN = %s\n" .comm _BFA_PORT_AEN_ENABLE,4,2 ## @BFA_PORT_AEN_ENABLE .comm _bfa_fcport_sm_stopped,4,2 ## @bfa_fcport_sm_stopped .comm _bfa_fcport_sm_iocfail,4,2 ## @bfa_fcport_sm_iocfail .no_dead_strip _bfa_fcport_sm_disabling .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bfa_fcport_sm_disabling _bfa_fcport_sm_disabling: ; @bfa_fcport_sm_disabling .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 sub sp, sp, #16 mov x22, x1 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] Lloh3: adrp x8, _BFA_STRING_32@GOTPAGE Lloh4: ldr x8, [x8, _BFA_STRING_32@GOTPAGEOFF] Lloh5: ldr w8, [x8] mov x9, x8 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x1fffffff0 sub x20, x9, x8 mov sp, x20 ldr x0, [x0] ldr x21, [x0, #8] bl _bfa_trc sub w8, w22, #128 cmp w8, #6 b.hi LBB0_3 ; %bb.1: Lloh8: adrp x9, lJTI0_0@PAGE Lloh9: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: Lloh10: adrp x8, _bfa_fcport_sm_stopped@GOTPAGE Lloh11: ldr x8, [x8, _bfa_fcport_sm_stopped@GOTPAGEOFF] b LBB0_7 LBB0_3: ldr x0, [x19] ldur x8, [x29, #-40] Lloh12: adrp x9, ___stack_chk_guard@GOTPAGE Lloh13: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh14: ldr x9, [x9] cmp x9, x8 b.ne LBB0_12 ; %bb.4: mov x1, x22 sub sp, x29, #32 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 _bfa_sm_fault LBB0_5: Lloh15: adrp x8, _bfa_fcport_sm_iocfail@GOTPAGE Lloh16: ldr x8, [x8, _bfa_fcport_sm_iocfail@GOTPAGEOFF] b LBB0_7 LBB0_6: Lloh17: adrp x8, _bfa_fcport_sm_disabled@GOTPAGE Lloh18: ldr x8, [x8, _bfa_fcport_sm_disabled@GOTPAGEOFF] LBB0_7: ldr w1, [x8] ldur x8, [x29, #-40] 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_12 ; %bb.8: mov x0, x19 sub sp, x29, #32 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 _bfa_sm_set_state LBB0_9: mov x0, x19 bl _bfa_fcport_send_enable Lloh22: adrp x8, _bfa_fcport_sm_enabling_qwait@GOTPAGE Lloh23: ldr x8, [x8, _bfa_fcport_sm_enabling_qwait@GOTPAGEOFF] Lloh24: adrp x9, _bfa_fcport_sm_enabling@GOTPAGE Lloh25: ldr x9, [x9, _bfa_fcport_sm_enabling@GOTPAGEOFF] cmp w0, #0 csel x8, x8, x9, eq ldr w1, [x8] mov x0, x19 bl _bfa_sm_set_state ldr x8, [x19] ldr w0, [x8] Lloh26: adrp x8, _BFA_PL_MID_HAL@GOTPAGE Lloh27: ldr x8, [x8, _BFA_PL_MID_HAL@GOTPAGEOFF] Lloh28: ldr w1, [x8] Lloh29: adrp x8, _BFA_PL_EID_PORT_ENABLE@GOTPAGE Lloh30: ldr x8, [x8, _BFA_PL_EID_PORT_ENABLE@GOTPAGEOFF] Lloh31: ldr w2, [x8] Lloh32: adrp x4, l_.str@PAGE Lloh33: add x4, x4, l_.str@PAGEOFF mov w3, #0 bl _bfa_plog_str ldr w1, [x19, #8] mov x0, x20 bl _wwn2str Lloh34: adrp x8, _KERN_INFO@GOTPAGE Lloh35: ldr x8, [x8, _KERN_INFO@GOTPAGEOFF] Lloh36: ldr w0, [x8] Lloh37: adrp x8, _bfa_log_level@GOTPAGE Lloh38: ldr x8, [x8, _bfa_log_level@GOTPAGEOFF] Lloh39: ldr w2, [x8] Lloh40: adrp x3, l_.str.1@PAGE Lloh41: add x3, x3, l_.str.1@PAGEOFF mov x1, x21 mov x4, x20 bl _BFA_LOG Lloh42: adrp x8, _BFA_PORT_AEN_ENABLE@GOTPAGE Lloh43: ldr x8, [x8, _BFA_PORT_AEN_ENABLE@GOTPAGEOFF] Lloh44: ldr w1, [x8] mov x0, x19 bl _bfa_fcport_aen_post LBB0_10: ldur x8, [x29, #-40] Lloh45: adrp x9, ___stack_chk_guard@GOTPAGE Lloh46: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh47: ldr x9, [x9] cmp x9, x8 b.ne LBB0_12 ; %bb.11: sub sp, x29, #32 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: bl ___stack_chk_fail .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_9-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 ; -- End function .comm _BFA_STRING_32,4,2 ; @BFA_STRING_32 .comm _bfa_fcport_sm_disabled,4,2 ; @bfa_fcport_sm_disabled .comm _bfa_fcport_sm_enabling,4,2 ; @bfa_fcport_sm_enabling .comm _bfa_fcport_sm_enabling_qwait,4,2 ; @bfa_fcport_sm_enabling_qwait .comm _BFA_PL_MID_HAL,4,2 ; @BFA_PL_MID_HAL .comm _BFA_PL_EID_PORT_ENABLE,4,2 ; @BFA_PL_EID_PORT_ENABLE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Port Enable" .comm _KERN_INFO,4,2 ; @KERN_INFO .comm _bfa_log_level,4,2 ; @bfa_log_level l_.str.1: ; @.str.1 .asciz "Base port enabled: WWN = %s\n" .comm _BFA_PORT_AEN_ENABLE,4,2 ; @BFA_PORT_AEN_ENABLE .comm _bfa_fcport_sm_stopped,4,2 ; @bfa_fcport_sm_stopped .comm _bfa_fcport_sm_iocfail,4,2 ; @bfa_fcport_sm_iocfail .no_dead_strip _bfa_fcport_sm_disabling .subsections_via_symbols
AnghaBench/linux/drivers/scsi/bfa/extr_bfa_svc.c_bfa_fcport_sm_disabling.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function agp_serverworks_remove _agp_serverworks_remove: ## @agp_serverworks_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 callq _pci_get_drvdata movq %rax, %rbx movq (%rax), %rdi callq _pci_dev_put movq %rbx, %rdi callq _agp_remove_bridge movq %rbx, %rdi callq _agp_put_bridge movq _serverworks_private@GOTPCREL(%rip), %rbx movq (%rbx), %rdi callq _pci_dev_put movq $0, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _serverworks_private,8,3 ## @serverworks_private .no_dead_strip _agp_serverworks_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function agp_serverworks_remove _agp_serverworks_remove: ; @agp_serverworks_remove .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _pci_get_drvdata mov x19, x0 ldr x0, [x0] bl _pci_dev_put mov x0, x19 bl _agp_remove_bridge mov x0, x19 bl _agp_put_bridge Lloh0: adrp x19, _serverworks_private@GOTPAGE Lloh1: ldr x19, [x19, _serverworks_private@GOTPAGEOFF] ldr x0, [x19] bl _pci_dev_put str xzr, [x19] 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 _serverworks_private,8,3 ; @serverworks_private .no_dead_strip _agp_serverworks_remove .subsections_via_symbols
AnghaBench/linux/drivers/char/agp/extr_sworks-agp.c_agp_serverworks_remove.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 callq _doit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function doit _doit: ## @doit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $32, %edi callq _malloc xorps %xmm0, %xmm0 movaps %xmm0, (%rax) leaq _force_unwind_stop(%rip), %rsi movq %rax, %rdi xorl %edx, %edx callq __Unwind_ForcedUnwind callq _abort .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function force_unwind_stop _force_unwind_stop: ## @force_unwind_stop .cfi_startproc ## %bb.0: testb $16, %sil jne LBB2_2 ## %bb.1: xorl %eax, %eax retq LBB2_2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _abort .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _doit .cfi_endproc ; -- End function .p2align 2 ; -- Begin function doit _doit: ; @doit .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, #32 bl _malloc stp xzr, xzr, [x0] Lloh0: adrp x1, _force_unwind_stop@PAGE Lloh1: add x1, x1, _force_unwind_stop@PAGEOFF mov x2, #0 bl __Unwind_ForcedUnwind bl _abort .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function force_unwind_stop _force_unwind_stop: ; @force_unwind_stop .cfi_startproc ; %bb.0: tbnz w1, #4, LBB2_2 ; %bb.1: mov w0, #0 ret LBB2_2: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _abort .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/50138636.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ionic_q_has_space _ionic_q_has_space: ## @ionic_q_has_space .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx callq _ionic_q_space_avail xorl %ecx, %ecx cmpl %ebx, %eax setae %cl movl %ecx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ionic_q_has_space .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ionic_q_has_space _ionic_q_has_space: ; @ionic_q_has_space .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 _ionic_q_space_avail cmp w0, w19 cset w0, hs 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 _ionic_q_has_space .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/pensando/ionic/extr_ionic_dev.h_ionic_q_has_space.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function are_miibus_readreg _are_miibus_readreg: ## @are_miibus_readreg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movl %esi, %r15d callq _device_get_softc movq _MIIADDR_PHY_SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl shll %cl, %r15d movq _MIIADDR_REG_SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl shll %cl, %r14d movq %rax, %r12 orl %r15d, %r14d movq _CSR_MIIADDR@GOTPCREL(%rip), %r15 movl (%r15), %esi movq %rax, %rdi movl %r14d, %edx callq _CSR_WRITE_4 movl $99999999, %ebx ## imm = 0x5F5E0FF movq _MIIADDR_BUSY@GOTPCREL(%rip), %r14 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl (%r15), %esi movq %r12, %rdi callq _CSR_READ_4 subl $1, %ebx setb %cl testl %eax, (%r14) je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 testb %cl, %cl je LBB0_1 LBB0_3: movq _CSR_MIIDATA@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi callq _CSR_READ_4 movzwl %ax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MIIADDR_PHY_SHIFT,4,2 ## @MIIADDR_PHY_SHIFT .comm _MIIADDR_REG_SHIFT,4,2 ## @MIIADDR_REG_SHIFT .comm _CSR_MIIADDR,4,2 ## @CSR_MIIADDR .comm _MIIADDR_BUSY,4,2 ## @MIIADDR_BUSY .comm _CSR_MIIDATA,4,2 ## @CSR_MIIDATA .no_dead_strip _are_miibus_readreg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function are_miibus_readreg _are_miibus_readreg: ; @are_miibus_readreg .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x21, x1 bl _device_get_softc mov x19, x0 Lloh0: adrp x8, _MIIADDR_PHY_SHIFT@GOTPAGE Lloh1: ldr x8, [x8, _MIIADDR_PHY_SHIFT@GOTPAGEOFF] Lloh2: ldr w8, [x8] lsl w8, w21, w8 Lloh3: adrp x9, _MIIADDR_REG_SHIFT@GOTPAGE Lloh4: ldr x9, [x9, _MIIADDR_REG_SHIFT@GOTPAGEOFF] Lloh5: ldr w9, [x9] lsl w9, w20, w9 orr w2, w9, w8 Lloh6: adrp x20, _CSR_MIIADDR@GOTPAGE Lloh7: ldr x20, [x20, _CSR_MIIADDR@GOTPAGEOFF] ldr w1, [x20] bl _CSR_WRITE_4 mov w21, #57599 movk w21, #1525, lsl #16 Lloh8: adrp x22, _MIIADDR_BUSY@GOTPAGE Lloh9: ldr x22, [x22, _MIIADDR_BUSY@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w1, [x20] mov x0, x19 bl _CSR_READ_4 ldr w8, [x22] and w8, w8, w0 cmp w8, #0 ccmp w21, #0, #4, ne sub w21, w21, #1 b.ne LBB0_1 ; %bb.2: Lloh10: adrp x8, _CSR_MIIDATA@GOTPAGE Lloh11: ldr x8, [x8, _CSR_MIIDATA@GOTPAGEOFF] Lloh12: ldr w1, [x8] mov x0, x19 bl _CSR_READ_4 and w0, w0, #0xffff 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 Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _MIIADDR_PHY_SHIFT,4,2 ; @MIIADDR_PHY_SHIFT .comm _MIIADDR_REG_SHIFT,4,2 ; @MIIADDR_REG_SHIFT .comm _CSR_MIIADDR,4,2 ; @CSR_MIIADDR .comm _MIIADDR_BUSY,4,2 ; @MIIADDR_BUSY .comm _CSR_MIIDATA,4,2 ; @CSR_MIIDATA .no_dead_strip _are_miibus_readreg .subsections_via_symbols
AnghaBench/freebsd/sys/mips/atheros/ar531x/extr_if_are.c_are_miibus_readreg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function keystone_timer_writel _keystone_timer_writel: ## @keystone_timer_writel .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _timer@GOTPCREL(%rip), %rax addq (%rax), %rsi popq %rbp jmp _writel_relaxed ## TAILCALL .cfi_endproc ## -- End function .comm _timer,8,3 ## @timer .no_dead_strip _keystone_timer_writel .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function keystone_timer_writel _keystone_timer_writel: ; @keystone_timer_writel .cfi_startproc ; %bb.0: Lloh0: adrp x8, _timer@GOTPAGE Lloh1: ldr x8, [x8, _timer@GOTPAGEOFF] Lloh2: ldr x8, [x8] add x1, x8, x1 b _writel_relaxed .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _timer,8,3 ; @timer .no_dead_strip _keystone_timer_writel .subsections_via_symbols
AnghaBench/linux/drivers/clocksource/extr_timer-keystone.c_keystone_timer_writel.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI0_0: .quad 0x8000000000000000 ## double -0 .quad 0x8000000000000000 ## double -0 .section __TEXT,__literal8,8byte_literals .p2align 3 LCPI0_1: .quad 0x41cdcd6500000000 ## double 1.0E+9 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $1, %edi jle LBB0_72 ## %bb.1: movq 8(%rsi), %rdi callq _atoi movl %eax, %ebx movl %eax, %r15d leaq (,%r15,8), %r12 movq %r12, %rdi callq _malloc movq %rax, %r13 testl %ebx, %ebx movq %rax, -64(%rbp) ## 8-byte Spill je LBB0_11 ## %bb.2: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi callq _malloc movq %rax, (%r13,%rbx,8) incq %rbx cmpq %rbx, %r15 jne LBB0_3 ## %bb.4: movq %r12, %rdi callq _malloc movq %rax, %r14 testq %r15, %r15 je LBB0_12 ## %bb.5: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi callq _malloc movq %rax, (%r14,%rbx,8) incq %rbx cmpq %rbx, %r15 jne LBB0_6 ## %bb.7: movq %r12, %rdi callq _malloc movq %rax, %rcx testq %r15, %r15 je LBB0_13 ## %bb.8: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movq %rcx, %r13 callq _malloc movq %r13, %rcx movq %rax, (%r13,%rbx,8) incq %rbx cmpq %rbx, %r15 jne LBB0_9 ## %bb.10: movq -64(%rbp), %r13 ## 8-byte Reload jmp LBB0_13 LBB0_11: movq %r12, %rdi callq _malloc movq %rax, %r14 LBB0_12: movq %r12, %rdi callq _malloc movq %rax, %rcx LBB0_13: testq %r13, %r13 je LBB0_18 ## %bb.14: testq %r14, %r14 je LBB0_18 ## %bb.15: testq %rcx, %rcx je LBB0_18 ## %bb.16: testq %r15, %r15 movq %rcx, -72(%rbp) ## 8-byte Spill je LBB0_17 ## %bb.19: leaq -1(%r15), %rcx leaq -2(%r15), %r8 movq %rcx, %rax movq %rcx, -56(%rbp) ## 8-byte Spill andq $-2, %rcx negq %rcx xorl %edx, %edx movabsq $4607632778762754458, %r9 ## imm = 0x3FF199999999999A movapd LCPI0_0(%rip), %xmm0 ## xmm0 = [-0.0E+0,-0.0E+0] jmp LBB0_20 .p2align 4, 0x90 LBB0_33: ## in Loop: Header=BB0_20 Depth=1 xorpd %xmm0, %xmm1 movlpd %xmm1, (%rdi,%rsi,8) LBB0_34: ## in Loop: Header=BB0_20 Depth=1 incq %rdx cmpq %r15, %rdx je LBB0_35 LBB0_20: ## =>This Loop Header: Depth=1 ## Child Loop BB0_30 Depth 2 ## Child Loop BB0_24 Depth 2 movq (%r13,%rdx,8), %rax movq %r9, (%rax) movq (%r14,%rdx,8), %rdi movq %r9, (%rdi) cmpl $1, %r15d je LBB0_34 ## %bb.21: ## in Loop: Header=BB0_20 Depth=1 leaq (%rdi,%r15,8), %rsi cmpq %rsi, %rax jae LBB0_27 ## %bb.22: ## in Loop: Header=BB0_20 Depth=1 leaq (%rax,%r15,8), %rsi cmpq %rsi, %rdi jae LBB0_27 ## %bb.23: ## in Loop: Header=BB0_20 Depth=1 movl $1, %esi testq %r8, %r8 je LBB0_25 .p2align 4, 0x90 LBB0_24: ## Parent Loop BB0_20 Depth=1 ## => This Inner Loop Header: Depth=2 movsd -8(%rax,%rsi,8), %xmm1 ## xmm1 = mem[0],zero xorpd %xmm0, %xmm1 movlpd %xmm1, (%rax,%rsi,8) movsd -8(%rdi,%rsi,8), %xmm1 ## xmm1 = mem[0],zero xorpd %xmm0, %xmm1 movlpd %xmm1, (%rdi,%rsi,8) movsd (%rax,%rsi,8), %xmm1 ## xmm1 = mem[0],zero xorpd %xmm0, %xmm1 movlpd %xmm1, 8(%rax,%rsi,8) movsd (%rdi,%rsi,8), %xmm1 ## xmm1 = mem[0],zero xorpd %xmm0, %xmm1 movlpd %xmm1, 8(%rdi,%rsi,8) leaq (%rcx,%rsi), %rbx addq $2, %rbx addq $2, %rsi cmpq $1, %rbx jne LBB0_24 LBB0_25: ## in Loop: Header=BB0_20 Depth=1 testb $1, -56(%rbp) ## 1-byte Folded Reload je LBB0_34 ## %bb.26: ## in Loop: Header=BB0_20 Depth=1 movsd -8(%rax,%rsi,8), %xmm1 ## xmm1 = mem[0],zero xorpd %xmm0, %xmm1 movlpd %xmm1, (%rax,%rsi,8) movsd -8(%rdi,%rsi,8), %xmm1 ## xmm1 = mem[0],zero jmp LBB0_33 .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_20 Depth=1 movsd (%rax), %xmm2 ## xmm2 = mem[0],zero movsd (%rdi), %xmm1 ## xmm1 = mem[0],zero testq %r8, %r8 je LBB0_28 ## %bb.29: ## in Loop: Header=BB0_20 Depth=1 movapd %xmm2, %xmm3 xorpd %xmm0, %xmm3 movapd %xmm1, %xmm4 xorpd %xmm0, %xmm4 movl $1, %esi .p2align 4, 0x90 LBB0_30: ## Parent Loop BB0_20 Depth=1 ## => This Inner Loop Header: Depth=2 movsd %xmm3, (%rax,%rsi,8) movsd %xmm4, (%rdi,%rsi,8) movsd %xmm2, 8(%rax,%rsi,8) movsd %xmm1, 8(%rdi,%rsi,8) leaq (%rcx,%rsi), %rbx addq $2, %rbx addq $2, %rsi cmpq $1, %rbx jne LBB0_30 ## %bb.31: ## in Loop: Header=BB0_20 Depth=1 testb $1, -56(%rbp) ## 1-byte Folded Reload je LBB0_34 jmp LBB0_32 LBB0_28: ## in Loop: Header=BB0_20 Depth=1 movl $1, %esi testb $1, -56(%rbp) ## 1-byte Folded Reload je LBB0_34 LBB0_32: ## in Loop: Header=BB0_20 Depth=1 xorpd %xmm0, %xmm2 movlpd %xmm2, (%rax,%rsi,8) jmp LBB0_33 LBB0_35: leaq L_str(%rip), %rdi callq _puts xorl %ecx, %ecx leaq L_.str.3(%rip), %r12 .p2align 4, 0x90 LBB0_36: ## =>This Loop Header: Depth=1 ## Child Loop BB0_37 Depth 2 movq -64(%rbp), %rax ## 8-byte Reload movq %rcx, -48(%rbp) ## 8-byte Spill movq (%rax,%rcx,8), %rbx xorl %r13d, %r13d .p2align 4, 0x90 LBB0_37: ## Parent Loop BB0_36 Depth=1 ## => This Inner Loop Header: Depth=2 movsd (%rbx,%r13,8), %xmm0 ## xmm0 = mem[0],zero movq %r12, %rdi movb $1, %al callq _printf incq %r13 cmpq %r13, %r15 jne LBB0_37 ## %bb.38: ## in Loop: Header=BB0_36 Depth=1 leaq L_str.14(%rip), %rdi callq _puts movq -48(%rbp), %rcx ## 8-byte Reload incq %rcx cmpq %r15, %rcx jne LBB0_36 ## %bb.39: leaq L_str.10(%rip), %rdi callq _puts xorl %eax, %eax leaq L_.str.3(%rip), %r12 .p2align 4, 0x90 LBB0_40: ## =>This Loop Header: Depth=1 ## Child Loop BB0_41 Depth 2 movq %rax, -48(%rbp) ## 8-byte Spill movq (%r14,%rax,8), %rbx xorl %r13d, %r13d .p2align 4, 0x90 LBB0_41: ## Parent Loop BB0_40 Depth=1 ## => This Inner Loop Header: Depth=2 movsd (%rbx,%r13,8), %xmm0 ## xmm0 = mem[0],zero movq %r12, %rdi movb $1, %al callq _printf incq %r13 cmpq %r13, %r15 jne LBB0_41 ## %bb.42: ## in Loop: Header=BB0_40 Depth=1 leaq L_str.14(%rip), %rdi callq _puts movq -48(%rbp), %rax ## 8-byte Reload incq %rax cmpq %r15, %rax jne LBB0_40 ## %bb.43: xorl %r12d, %r12d leaq -88(%rbp), %rsi xorl %edi, %edi callq _clock_gettime movl %r15d, %r10d andl $3, %r10d movl %r15d, %r9d andl $-4, %r9d movq -64(%rbp), %r13 ## 8-byte Reload movq -72(%rbp), %r11 ## 8-byte Reload jmp LBB0_44 .p2align 4, 0x90 LBB0_53: ## in Loop: Header=BB0_44 Depth=1 incq %r12 cmpq %r15, %r12 je LBB0_54 LBB0_44: ## =>This Loop Header: Depth=1 ## Child Loop BB0_45 Depth 2 ## Child Loop BB0_48 Depth 3 ## Child Loop BB0_51 Depth 3 movq (%r13,%r12,8), %rdx movq (%r11,%r12,8), %r8 xorl %edi, %edi jmp LBB0_45 .p2align 4, 0x90 LBB0_52: ## in Loop: Header=BB0_45 Depth=2 movsd %xmm0, (%r8,%rdi,8) incq %rdi cmpq %r15, %rdi je LBB0_53 LBB0_45: ## Parent Loop BB0_44 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_48 Depth 3 ## Child Loop BB0_51 Depth 3 cmpq $3, -56(%rbp) ## 8-byte Folded Reload jae LBB0_47 ## %bb.46: ## in Loop: Header=BB0_45 Depth=2 xorpd %xmm0, %xmm0 xorl %esi, %esi jmp LBB0_49 .p2align 4, 0x90 LBB0_47: ## in Loop: Header=BB0_45 Depth=2 xorpd %xmm0, %xmm0 xorl %esi, %esi .p2align 4, 0x90 LBB0_48: ## Parent Loop BB0_44 Depth=1 ## Parent Loop BB0_45 Depth=2 ## => This Inner Loop Header: Depth=3 movsd (%rdx,%rsi,8), %xmm1 ## xmm1 = mem[0],zero movsd 8(%rdx,%rsi,8), %xmm2 ## xmm2 = mem[0],zero movq (%r14,%rsi,8), %rcx movq 8(%r14,%rsi,8), %rbx mulsd (%rcx,%rdi,8), %xmm1 addsd %xmm0, %xmm1 mulsd (%rbx,%rdi,8), %xmm2 addsd %xmm1, %xmm2 movsd 16(%rdx,%rsi,8), %xmm1 ## xmm1 = mem[0],zero movq 16(%r14,%rsi,8), %rcx mulsd (%rcx,%rdi,8), %xmm1 movsd 24(%rdx,%rsi,8), %xmm0 ## xmm0 = mem[0],zero movq 24(%r14,%rsi,8), %rcx mulsd (%rcx,%rdi,8), %xmm0 addsd %xmm2, %xmm1 addsd %xmm1, %xmm0 addq $4, %rsi cmpq %rsi, %r9 jne LBB0_48 LBB0_49: ## in Loop: Header=BB0_45 Depth=2 testq %r10, %r10 je LBB0_52 ## %bb.50: ## in Loop: Header=BB0_45 Depth=2 leaq (%r14,%rsi,8), %rbx leaq (%rdx,%rsi,8), %rsi xorl %ecx, %ecx .p2align 4, 0x90 LBB0_51: ## Parent Loop BB0_44 Depth=1 ## Parent Loop BB0_45 Depth=2 ## => This Inner Loop Header: Depth=3 movsd (%rsi,%rcx,8), %xmm1 ## xmm1 = mem[0],zero movq (%rbx,%rcx,8), %rax mulsd (%rax,%rdi,8), %xmm1 addsd %xmm1, %xmm0 incq %rcx cmpq %rcx, %r10 jne LBB0_51 jmp LBB0_52 LBB0_17: leaq L_str(%rip), %rdi callq _puts leaq L_str.10(%rip), %rdi callq _puts leaq -88(%rbp), %rsi xorl %edi, %edi callq _clock_gettime LBB0_54: leaq -104(%rbp), %rsi xorl %edi, %edi callq _clock_gettime movq -104(%rbp), %rbx movq -96(%rbp), %r12 subq -88(%rbp), %rbx subq -80(%rbp), %r12 leaq L_str.11(%rip), %rdi callq _puts xorps %xmm0, %xmm0 cvtsi2sd %rbx, %xmm0 xorps %xmm1, %xmm1 cvtsi2sd %r12, %xmm1 divsd LCPI0_1(%rip), %xmm1 addsd %xmm0, %xmm1 testq %r15, %r15 movsd %xmm1, -48(%rbp) ## 8-byte Spill je LBB0_68 ## %bb.55: xorl %ecx, %ecx leaq L_.str.7(%rip), %r12 .p2align 4, 0x90 LBB0_56: ## =>This Loop Header: Depth=1 ## Child Loop BB0_57 Depth 2 movq -72(%rbp), %rax ## 8-byte Reload movq %rcx, -56(%rbp) ## 8-byte Spill movq (%rax,%rcx,8), %r13 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_57: ## Parent Loop BB0_56 Depth=1 ## => This Inner Loop Header: Depth=2 movsd (%r13,%rbx,8), %xmm0 ## xmm0 = mem[0],zero movq %r12, %rdi movb $1, %al callq _printf incq %rbx cmpq %rbx, %r15 jne LBB0_57 ## %bb.58: ## in Loop: Header=BB0_56 Depth=1 leaq L_str.14(%rip), %rdi callq _puts movq -56(%rbp), %rcx ## 8-byte Reload incq %rcx cmpq %r15, %rcx jne LBB0_56 ## %bb.59: movl $10, %edi callq _putchar leaq L_.str.9(%rip), %rdi movsd -48(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero movb $1, %al callq _printf testq %r15, %r15 movq -64(%rbp), %r13 ## 8-byte Reload je LBB0_69 ## %bb.60: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_61: ## =>This Inner Loop Header: Depth=1 movq (%r13,%rbx,8), %rdi callq _free incq %rbx cmpq %rbx, %r15 jne LBB0_61 ## %bb.62: movq %r13, %rdi callq _free testq %r15, %r15 je LBB0_70 ## %bb.63: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_64: ## =>This Inner Loop Header: Depth=1 movq (%r14,%rbx,8), %rdi callq _free incq %rbx cmpq %rbx, %r15 jne LBB0_64 ## %bb.65: movq %r14, %rdi callq _free testq %r15, %r15 movq -72(%rbp), %r14 ## 8-byte Reload je LBB0_71 ## %bb.66: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_67: ## =>This Inner Loop Header: Depth=1 movq (%r14,%rbx,8), %rdi callq _free incq %rbx cmpq %rbx, %r15 jne LBB0_67 jmp LBB0_71 LBB0_68: movl $10, %edi callq _putchar leaq L_.str.9(%rip), %rdi movsd -48(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero movb $1, %al callq _printf LBB0_69: movq %r13, %rdi callq _free LBB0_70: movq %r14, %rdi callq _free movq -72(%rbp), %r14 ## 8-byte Reload LBB0_71: movq %r14, %rdi callq _free xorl %eax, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_72: leaq L_str.16(%rip), %rdi callq _puts movl $-1, %edi callq _exit LBB0_18: leaq L_str.15(%rip), %rdi callq _puts movl $-2, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.3: ## @.str.3 .asciz "\t%0.1f" L_.str.7: ## @.str.7 .asciz "\t%0.2f" L_.str.9: ## @.str.9 .asciz "\n Tiempo de ejecuci\303\263n(s): %11.9f\n" L_str: ## @str .asciz "\n\n Matriz 1: " L_str.10: ## @str.10 .asciz "\n\n Matriz 2: " L_str.11: ## @str.11 .asciz "\n Resultado:" L_str.14: ## @str.14 .asciz "\n" L_str.15: ## @str.15 .asciz "Error en la reserva de espacio para los vectores" L_str.16: ## @str.16 .asciz "Faltan n\302\272 componentes del vector " .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, #176 .cfi_def_cfa_offset 176 stp d9, d8, [sp, #64] ; 16-byte Folded Spill stp x28, x27, [sp, #80] ; 16-byte Folded Spill stp x26, x25, [sp, #96] ; 16-byte Folded Spill stp x24, x23, [sp, #112] ; 16-byte Folded Spill stp x22, x21, [sp, #128] ; 16-byte Folded Spill stp x20, x19, [sp, #144] ; 16-byte Folded Spill stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 cmp w0, #1 b.le LBB0_58 ; %bb.1: ldr x0, [x1, #8] bl _atoi mov x20, x0 mov w19, w0 lsl x21, x19, #3 mov x0, x21 bl _malloc mov x25, x0 cbz w20, LBB0_11 ; %bb.2: mov x20, x19 mov x22, x25 LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _malloc str x0, [x22], #8 subs x20, x20, #1 b.ne LBB0_3 ; %bb.4: mov x0, x21 bl _malloc mov x20, x0 cbz w19, LBB0_12 ; %bb.5: mov x22, #0 LBB0_6: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _malloc str x0, [x20, x22] add x22, x22, #8 cmp x21, x22 b.ne LBB0_6 ; %bb.7: mov x0, x21 bl _malloc mov x26, x0 cbz w19, LBB0_10 ; %bb.8: mov x22, #0 LBB0_9: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _malloc str x0, [x26, x22] add x22, x22, #8 cmp x21, x22 b.ne LBB0_9 LBB0_10: mov x23, x26 mov x24, x20 b LBB0_14 LBB0_11: mov x0, x21 bl _malloc mov x24, x0 mov x20, x0 b LBB0_13 LBB0_12: mov x24, x20 LBB0_13: mov x0, x21 bl _malloc mov x23, x0 mov x26, x0 LBB0_14: cbz x25, LBB0_59 ; %bb.15: cbz x20, LBB0_59 ; %bb.16: cbz x26, LBB0_59 ; %bb.17: stp x26, x20, [sp, #16] ; 16-byte Folded Spill cbz w19, LBB0_40 ; %bb.18: mov x8, #0 sub x9, x19, #1 mov x10, #-7378697629483820647 movk x10, #39322 movk x10, #16369, lsl #48 b LBB0_20 LBB0_19: ; in Loop: Header=BB0_20 Depth=1 add x8, x8, #1 cmp x8, x19 b.eq LBB0_26 LBB0_20: ; =>This Loop Header: Depth=1 ; Child Loop BB0_25 Depth 2 ; Child Loop BB0_23 Depth 2 lsl x12, x8, #3 ldr x11, [x25, x12] str x10, [x11] ldr x12, [x24, x12] str x10, [x12] cmp w19, #1 b.eq LBB0_19 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 add x13, x11, x21 add x14, x12, x21 cmp x11, x14 ccmp x12, x13, #2, lo b.lo LBB0_24 ; %bb.22: ; in Loop: Header=BB0_20 Depth=1 ldr d0, [x11], #8 ldr d1, [x12], #8 mov x13, x9 LBB0_23: ; Parent Loop BB0_20 Depth=1 ; => This Inner Loop Header: Depth=2 fneg d0, d0 str d0, [x11], #8 fneg d1, d1 str d1, [x12], #8 subs x13, x13, #1 b.ne LBB0_23 b LBB0_19 LBB0_24: ; in Loop: Header=BB0_20 Depth=1 add x12, x12, #8 add x11, x11, #8 mov x13, x9 LBB0_25: ; Parent Loop BB0_20 Depth=1 ; => This Inner Loop Header: Depth=2 ldur d0, [x11, #-8] fneg d0, d0 str d0, [x11], #8 ldur d0, [x12, #-8] fneg d0, d0 str d0, [x12], #8 subs x13, x13, #1 b.ne LBB0_25 b LBB0_19 LBB0_26: mov x20, x25 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts mov x28, #0 Lloh2: adrp x25, l_.str.3@PAGE Lloh3: add x25, x25, l_.str.3@PAGEOFF Lloh4: adrp x26, l_str.14@PAGE Lloh5: add x26, x26, l_str.14@PAGEOFF LBB0_27: ; =>This Loop Header: Depth=1 ; Child Loop BB0_28 Depth 2 ldr x22, [x20, x28, lsl #3] mov x27, x19 LBB0_28: ; Parent Loop BB0_27 Depth=1 ; => This Inner Loop Header: Depth=2 ldr d0, [x22], #8 str d0, [sp] mov x0, x25 bl _printf subs x27, x27, #1 b.ne LBB0_28 ; %bb.29: ; in Loop: Header=BB0_27 Depth=1 mov x0, x26 bl _puts add x28, x28, #1 cmp x28, x19 b.ne LBB0_27 ; %bb.30: Lloh6: adrp x0, l_str.10@PAGE Lloh7: add x0, x0, l_str.10@PAGEOFF bl _puts mov x28, #0 Lloh8: adrp x25, l_.str.3@PAGE Lloh9: add x25, x25, l_.str.3@PAGEOFF Lloh10: adrp x26, l_str.14@PAGE Lloh11: add x26, x26, l_str.14@PAGEOFF LBB0_31: ; =>This Loop Header: Depth=1 ; Child Loop BB0_32 Depth 2 ldr x22, [x24, x28, lsl #3] mov x27, x19 LBB0_32: ; Parent Loop BB0_31 Depth=1 ; => This Inner Loop Header: Depth=2 ldr d0, [x22], #8 str d0, [sp] mov x0, x25 bl _printf subs x27, x27, #1 b.ne LBB0_32 ; %bb.33: ; in Loop: Header=BB0_31 Depth=1 mov x0, x26 bl _puts add x28, x28, #1 cmp x28, x19 b.ne LBB0_31 ; %bb.34: add x1, sp, #48 mov w0, #0 bl _clock_gettime mov x8, #0 mov x25, x20 ldp x26, x20, [sp, #16] ; 16-byte Folded Reload LBB0_35: ; =>This Loop Header: Depth=1 ; Child Loop BB0_36 Depth 2 ; Child Loop BB0_37 Depth 3 mov x9, #0 lsl x11, x8, #3 ldr x10, [x25, x11] ldr x11, [x23, x11] LBB0_36: ; Parent Loop BB0_35 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_37 Depth 3 movi d0, #0000000000000000 mov x12, x19 mov x13, x10 mov x14, x24 LBB0_37: ; Parent Loop BB0_35 Depth=1 ; Parent Loop BB0_36 Depth=2 ; => This Inner Loop Header: Depth=3 ldr d1, [x13], #8 ldr x15, [x14], #8 ldr d2, [x15, x9, lsl #3] fmadd d0, d1, d2, d0 subs x12, x12, #1 b.ne LBB0_37 ; %bb.38: ; in Loop: Header=BB0_36 Depth=2 str d0, [x11, x9, lsl #3] add x9, x9, #1 cmp x9, x19 b.ne LBB0_36 ; %bb.39: ; in Loop: Header=BB0_35 Depth=1 add x8, x8, #1 cmp x8, x19 b.ne LBB0_35 b LBB0_41 LBB0_40: Lloh12: adrp x0, l_str@PAGE Lloh13: add x0, x0, l_str@PAGEOFF bl _puts Lloh14: adrp x0, l_str.10@PAGE Lloh15: add x0, x0, l_str.10@PAGEOFF bl _puts add x1, sp, #48 mov w0, #0 bl _clock_gettime LBB0_41: add x1, sp, #32 mov w0, #0 bl _clock_gettime ldp x8, x9, [sp, #32] ldp x10, x11, [sp, #48] sub x8, x8, x10 scvtf d0, x8 sub x8, x9, x11 scvtf d1, x8 mov x8, #225833675390976 movk x8, #16845, lsl #48 fmov d2, x8 fdiv d1, d1, d2 fadd d8, d1, d0 Lloh16: adrp x0, l_str.11@PAGE Lloh17: add x0, x0, l_str.11@PAGEOFF bl _puts cbz w19, LBB0_54 ; %bb.42: mov x20, x25 mov x28, #0 Lloh18: adrp x25, l_.str.7@PAGE Lloh19: add x25, x25, l_.str.7@PAGEOFF Lloh20: adrp x26, l_str.14@PAGE Lloh21: add x26, x26, l_str.14@PAGEOFF LBB0_43: ; =>This Loop Header: Depth=1 ; Child Loop BB0_44 Depth 2 ldr x22, [x23, x28, lsl #3] mov x27, x19 LBB0_44: ; Parent Loop BB0_43 Depth=1 ; => This Inner Loop Header: Depth=2 ldr d0, [x22], #8 str d0, [sp] mov x0, x25 bl _printf subs x27, x27, #1 b.ne LBB0_44 ; %bb.45: ; in Loop: Header=BB0_43 Depth=1 mov x0, x26 bl _puts add x28, x28, #1 cmp x28, x19 b.ne LBB0_43 ; %bb.46: mov w0, #10 bl _putchar str d8, [sp] Lloh22: adrp x0, l_.str.9@PAGE Lloh23: add x0, x0, l_.str.9@PAGEOFF bl _printf mov x25, x20 ldp x26, x20, [sp, #16] ; 16-byte Folded Reload cbz w19, LBB0_55 ; %bb.47: mov x22, #0 LBB0_48: ; =>This Inner Loop Header: Depth=1 ldr x0, [x25, x22] bl _free add x22, x22, #8 cmp x21, x22 b.ne LBB0_48 ; %bb.49: mov x0, x25 bl _free cbz w19, LBB0_56 ; %bb.50: mov x21, x19 LBB0_51: ; =>This Inner Loop Header: Depth=1 ldr x0, [x24], #8 bl _free subs x21, x21, #1 b.ne LBB0_51 ; %bb.52: mov x0, x20 bl _free cbz w19, LBB0_57 LBB0_53: ; =>This Inner Loop Header: Depth=1 ldr x0, [x23], #8 bl _free subs x19, x19, #1 b.ne LBB0_53 b LBB0_57 LBB0_54: mov w0, #10 bl _putchar str d8, [sp] Lloh24: adrp x0, l_.str.9@PAGE Lloh25: add x0, x0, l_.str.9@PAGEOFF bl _printf LBB0_55: mov x0, x25 bl _free LBB0_56: mov x0, x20 bl _free LBB0_57: mov x0, x26 bl _free mov w0, #0 ldp x29, x30, [sp, #160] ; 16-byte Folded Reload ldp x20, x19, [sp, #144] ; 16-byte Folded Reload ldp x22, x21, [sp, #128] ; 16-byte Folded Reload ldp x24, x23, [sp, #112] ; 16-byte Folded Reload ldp x26, x25, [sp, #96] ; 16-byte Folded Reload ldp x28, x27, [sp, #80] ; 16-byte Folded Reload ldp d9, d8, [sp, #64] ; 16-byte Folded Reload add sp, sp, #176 ret LBB0_58: Lloh26: adrp x0, l_str.16@PAGE Lloh27: add x0, x0, l_str.16@PAGEOFF bl _puts mov w0, #-1 bl _exit LBB0_59: Lloh28: adrp x0, l_str.15@PAGE Lloh29: add x0, x0, l_str.15@PAGEOFF bl _puts mov w0, #-2 bl _exit .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh28, Lloh29 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.3: ; @.str.3 .asciz "\t%0.1f" l_.str.7: ; @.str.7 .asciz "\t%0.2f" l_.str.9: ; @.str.9 .asciz "\n Tiempo de ejecuci\303\263n(s): %11.9f\n" l_str: ; @str .asciz "\n\n Matriz 1: " l_str.10: ; @str.10 .asciz "\n\n Matriz 2: " l_str.11: ; @str.11 .asciz "\n Resultado:" l_str.14: ; @str.14 .asciz "\n" l_str.15: ; @str.15 .asciz "Error en la reserva de espacio para los vectores" l_str.16: ; @str.16 .asciz "Faltan n\302\272 componentes del vector " .subsections_via_symbols
the_stack_data/719506.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pdo_sqlite_request_shutdown _pdo_sqlite_request_shutdown: ## @pdo_sqlite_request_shutdown .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 testq %rdi, %rdi je LBB0_1 ## %bb.2: popq %rbp jmp _pdo_sqlite_cleanup_callbacks ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _pdo_sqlite_request_shutdown .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pdo_sqlite_request_shutdown _pdo_sqlite_request_shutdown: ; @pdo_sqlite_request_shutdown .cfi_startproc ; %bb.0: ldr x0, [x0] cbz x0, LBB0_2 ; %bb.1: b _pdo_sqlite_cleanup_callbacks LBB0_2: ret .cfi_endproc ; -- End function .no_dead_strip _pdo_sqlite_request_shutdown .subsections_via_symbols
AnghaBench/php-src/ext/pdo_sqlite/extr_sqlite_driver.c_pdo_sqlite_request_shutdown.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function seterr _seterr: ## @seterr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _EVP_R_CANNOT_SET_PARAMETERS@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edi, %edi popq %rbp jmp _EVPerr ## TAILCALL .cfi_endproc ## -- End function .comm _EVP_R_CANNOT_SET_PARAMETERS,4,2 ## @EVP_R_CANNOT_SET_PARAMETERS .no_dead_strip _seterr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function seterr _seterr: ; @seterr .cfi_startproc ; %bb.0: Lloh0: adrp x8, _EVP_R_CANNOT_SET_PARAMETERS@GOTPAGE Lloh1: ldr x8, [x8, _EVP_R_CANNOT_SET_PARAMETERS@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #0 b _EVPerr .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EVP_R_CANNOT_SET_PARAMETERS,4,2 ; @EVP_R_CANNOT_SET_PARAMETERS .no_dead_strip _seterr .subsections_via_symbols
AnghaBench/openssl/crypto/evp/extr_evp_utils.c_seterr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mpiix_qc_issue _mpiix_qc_issue: ## @mpiix_qc_issue .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq (%rdi), %rsi cmpq $0, (%rsi) je LBB0_3 ## %bb.1: movq 8(%rbx), %rdi cmpq (%rdi), %rsi je LBB0_3 ## %bb.2: callq _mpiix_set_piomode LBB0_3: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _ata_sff_qc_issue ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _mpiix_qc_issue .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mpiix_qc_issue _mpiix_qc_issue: ; @mpiix_qc_issue .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 x1, [x0] ldr x8, [x1] cbz x8, LBB0_3 ; %bb.1: ldr x0, [x19, #8] ldr x8, [x0] cmp x1, x8 b.eq LBB0_3 ; %bb.2: bl _mpiix_set_piomode LBB0_3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ata_sff_qc_issue .cfi_endproc ; -- End function .no_dead_strip _mpiix_qc_issue .subsections_via_symbols
AnghaBench/linux/drivers/ata/extr_pata_mpiix.c_mpiix_qc_issue.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function shader_glsl_generate_vshader _shader_glsl_generate_vshader: ## @shader_glsl_generate_vshader .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %r13 movq %rsi, %r12 leaq 4(%rsi), %rbx movq %rdi, -48(%rbp) ## 8-byte Spill movq (%rdi), %r14 leaq -72(%rbp), %rdi xorl %esi, %esi movl $16, %edx callq _memset movq %r15, -56(%rbp) ## 8-byte Spill movq %r15, -64(%rbp) movq %rbx, -72(%rbp) movq %r12, %rdi movq %r14, %rsi callq _shader_glsl_add_version_declaration movq %r12, %rdi movq %r14, %rsi callq _shader_glsl_enable_extensions movq (%r14), %rax movq _ARB_DRAW_INSTANCED@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq $0, (%rax,%rcx,8) je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline LBB0_2: leaq 24(%r13), %rbx movq %r14, %rdi callq _shader_glsl_use_explicit_attrib_location testq %rax, %rax je LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline LBB0_4: leaq -72(%rbp), %r8 movq -48(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movq %r13, %rdx movq %rbx, -48(%rbp) ## 8-byte Spill movq %rbx, %rcx callq _shader_generate_glsl_declarations cmpl $0, (%r13) je LBB0_7 ## %bb.5: xorl %r15d, %r15d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq 8(%r13), %rdx addq %r15, %rdx movq %r12, %rdi movq %r14, %rsi callq _shader_glsl_declare_generic_vertex_attribute incq %rbx movl (%r13), %eax addq $4, %r15 cmpq %rax, %rbx jb LBB0_6 LBB0_7: movq -56(%rbp), %rbx ## 8-byte Reload cmpq $0, 40(%rbx) je LBB0_10 ## %bb.8: cmpl $0, 32(%rbx) jne LBB0_10 ## %bb.9: leaq L_.str.2(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline leaq L_.str.3(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline leaq L_.str.4(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline leaq L_.str.5(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline leaq L_.str.6(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline LBB0_10: movq %r14, %rdi callq _needs_legacy_glsl_syntax testl %eax, %eax movq -48(%rbp), %r15 ## 8-byte Reload jne LBB0_15 ## %bb.11: cmpq $0, 24(%rbx) je LBB0_13 ## %bb.12: movl 8(%r14), %edx leaq L_.str.7(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline LBB0_13: cmpl $2, (%r15) jg LBB0_15 ## %bb.14: movl 16(%rbx), %edx leaq L_.str.8(%rip), %rcx movq %r14, %rdi movq %r12, %rsi xorl %eax, %eax callq _declare_out_varying movl 16(%rbx), %edx leaq L_.str.9(%rip), %rcx movq %r14, %rdi movq %r12, %rsi xorl %eax, %eax callq _declare_out_varying movq _FALSE@GOTPCREL(%rip), %rbx movl (%rbx), %edx movq _MAX_TEXTURES@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq L_.str.10(%rip), %rcx movq %r14, %rdi movq %r12, %rsi xorl %eax, %eax callq _declare_out_varying movl (%rbx), %edx movq -56(%rbp), %rbx ## 8-byte Reload leaq L_.str.11(%rip), %rcx movq %r14, %rdi movq %r12, %rsi xorl %eax, %eax callq _declare_out_varying LBB0_15: cmpl $3, (%r15) jg LBB0_17 ## %bb.16: movq 16(%r13), %rax movl (%rax), %edx leaq L_.str.12(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline LBB0_17: movq (%rbx), %rax movq _WINED3D_SHADER_TYPE_PIXEL@GOTPCREL(%rip), %r15 cmpq (%r15), %rax jne LBB0_20 ## %bb.18: movq (%r14), %rax movq _ARB_CLIP_CONTROL@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq $0, (%rax,%rcx,8) jne LBB0_20 ## %bb.19: leaq L_.str.13(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline LBB0_20: movq -48(%rbp), %rax ## 8-byte Reload cmpl $4, (%rax) jl LBB0_22 ## %bb.21: movl 12(%rbx), %edx movq (%rbx), %rax xorl %r8d, %r8d cmpq (%r15), %rax sete %r8b movl 8(%rbx), %r9d movq %r12, %rdi movq %r13, %rsi movq %r14, %rcx callq _shader_glsl_generate_sm4_output_setup LBB0_22: leaq L_.str.14(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline cmpq $0, 32(%r13) je LBB0_26 ## %bb.23: movl 28(%r13), %edi callq _wined3d_log2i ## kill: def $eax killed $eax def $rax leal 1(%rax), %edx leaq L_.str.15(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline cmpl $0, (%r13) je LBB0_26 ## %bb.24: leaq L_.str.16(%rip), %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_25: ## =>This Inner Loop Header: Depth=1 movq 8(%r13), %rax movl (%rax,%rbx,4), %ecx movq %r12, %rdi movq %r15, %rsi movl %ecx, %edx xorl %eax, %eax callq _shader_addline incq %rbx movl (%r13), %eax cmpq %rax, %rbx jb LBB0_25 LBB0_26: leaq -72(%rbp), %rcx movq %r13, %rdi movq %r12, %rsi movq -48(%rbp), %r15 ## 8-byte Reload movq %r15, %rdx xorl %r8d, %r8d xorl %r9d, %r9d callq _shader_generate_code movl %eax, %edi callq _FAILED testq %rax, %rax movl $0, %ebx jne LBB0_30 ## %bb.27: cmpl $3, (%r15) jg LBB0_29 ## %bb.28: movq %r14, %rdi movq %r12, %rsi movq %r13, %rdx movq -56(%rbp), %rcx ## 8-byte Reload callq _shader_glsl_generate_vs_epilogue LBB0_29: leaq L_.str.17(%rip), %rsi movq %r12, %rdi xorl %eax, %eax callq _shader_addline movq _GL_VERTEX_SHADER@GOTPCREL(%rip), %rax movl (%rax), %edi callq _glCreateShader movl %eax, %edi callq _GL_EXTCALL movl %eax, %ebx leaq L_.str.18(%rip), %rdi movl %eax, %esi callq _TRACE movl (%r12), %edx movq %r14, %rdi movl %ebx, %esi callq _shader_glsl_compile LBB0_30: movl %ebx, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ARB_DRAW_INSTANCED,8,3 ## @ARB_DRAW_INSTANCED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "#extension GL_ARB_draw_instanced : enable\n" L_.str.1: ## @.str.1 .asciz "#extension GL_ARB_explicit_attrib_location : enable\n" L_.str.2: ## @.str.2 .asciz "uniform struct\n{\n" L_.str.3: ## @.str.3 .asciz " float size;\n" L_.str.4: ## @.str.4 .asciz " float size_min;\n" L_.str.5: ## @.str.5 .asciz " float size_max;\n" L_.str.6: ## @.str.6 .asciz "} ffp_point;\n" L_.str.7: ## @.str.7 .asciz "uniform vec4 clip_planes[%u];\n" L_.str.8: ## @.str.8 .asciz "vec4 ffp_varying_diffuse;\n" L_.str.9: ## @.str.9 .asciz "vec4 ffp_varying_specular;\n" .comm _FALSE,4,2 ## @FALSE L_.str.10: ## @.str.10 .asciz "vec4 ffp_varying_texcoord[%u];\n" .comm _MAX_TEXTURES,4,2 ## @MAX_TEXTURES L_.str.11: ## @.str.11 .asciz "float ffp_varying_fogcoord;\n" L_.str.12: ## @.str.12 .asciz "void setup_vs_output(in vec4[%u]);\n" .comm _WINED3D_SHADER_TYPE_PIXEL,8,3 ## @WINED3D_SHADER_TYPE_PIXEL .comm _ARB_CLIP_CONTROL,8,3 ## @ARB_CLIP_CONTROL L_.str.13: ## @.str.13 .asciz "uniform vec4 pos_fixup;\n" L_.str.14: ## @.str.14 .asciz "void main()\n{\n" L_.str.15: ## @.str.15 .asciz "vec4 vs_in[%u];\n" L_.str.16: ## @.str.16 .asciz "vs_in[%u] = vs_in%u;\n" L_.str.17: ## @.str.17 .asciz "}\n" .comm _GL_VERTEX_SHADER,4,2 ## @GL_VERTEX_SHADER L_.str.18: ## @.str.18 .asciz "Compiling shader object %u.\n" .no_dead_strip _shader_glsl_generate_vshader .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function shader_glsl_generate_vshader _shader_glsl_generate_vshader: ; @shader_glsl_generate_vshader .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x3 mov x22, x2 mov x19, x1 mov x24, x0 add x23, x1, #4 ldr x20, [x0] add x0, sp, #16 mov w1, #0 mov w2, #16 bl _memset stp x23, x21, [sp, #16] mov x0, x19 mov x1, x20 bl _shader_glsl_add_version_declaration mov x0, x19 mov x1, x20 bl _shader_glsl_enable_extensions ldr x8, [x20] Lloh0: adrp x9, _ARB_DRAW_INSTANCED@GOTPAGE Lloh1: ldr x9, [x9, _ARB_DRAW_INSTANCED@GOTPAGEOFF] Lloh2: ldr x9, [x9] ldr x8, [x8, x9, lsl #3] cbz x8, LBB0_2 ; %bb.1: Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _shader_addline LBB0_2: add x23, x22, #24 mov x0, x20 bl _shader_glsl_use_explicit_attrib_location cbz x0, LBB0_4 ; %bb.3: Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _shader_addline LBB0_4: add x4, sp, #16 mov x0, x24 mov x1, x19 mov x2, x22 mov x3, x23 bl _shader_generate_glsl_declarations ldr w8, [x22] cbz w8, LBB0_7 ; %bb.5: mov x24, #0 mov x25, #0 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22, #8] add x2, x8, x24 mov x0, x19 mov x1, x20 bl _shader_glsl_declare_generic_vertex_attribute add x25, x25, #1 ldr w8, [x22] add x24, x24, #4 cmp x25, x8 b.lo LBB0_6 LBB0_7: ldr x8, [x21, #40] cbz x8, LBB0_10 ; %bb.8: ldr w8, [x21, #32] cbnz w8, LBB0_10 ; %bb.9: Lloh7: adrp x1, l_.str.2@PAGE Lloh8: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _shader_addline Lloh9: adrp x1, l_.str.3@PAGE Lloh10: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _shader_addline Lloh11: adrp x1, l_.str.4@PAGE Lloh12: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 bl _shader_addline Lloh13: adrp x1, l_.str.5@PAGE Lloh14: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 bl _shader_addline Lloh15: adrp x1, l_.str.6@PAGE Lloh16: add x1, x1, l_.str.6@PAGEOFF mov x0, x19 bl _shader_addline LBB0_10: mov x0, x20 bl _needs_legacy_glsl_syntax cbnz w0, LBB0_15 ; %bb.11: ldr x8, [x21, #24] cbz x8, LBB0_13 ; %bb.12: ldr w8, [x20, #8] str x8, [sp] Lloh17: adrp x1, l_.str.7@PAGE Lloh18: add x1, x1, l_.str.7@PAGEOFF mov x0, x19 bl _shader_addline LBB0_13: ldr w8, [x23] cmp w8, #3 b.ge LBB0_15 ; %bb.14: ldr w2, [x21, #16] Lloh19: adrp x3, l_.str.8@PAGE Lloh20: add x3, x3, l_.str.8@PAGEOFF mov x0, x20 mov x1, x19 bl _declare_out_varying ldr w2, [x21, #16] Lloh21: adrp x3, l_.str.9@PAGE Lloh22: add x3, x3, l_.str.9@PAGEOFF mov x0, x20 mov x1, x19 bl _declare_out_varying Lloh23: adrp x24, _FALSE@GOTPAGE Lloh24: ldr x24, [x24, _FALSE@GOTPAGEOFF] ldr w2, [x24] Lloh25: adrp x8, _MAX_TEXTURES@GOTPAGE Lloh26: ldr x8, [x8, _MAX_TEXTURES@GOTPAGEOFF] Lloh27: ldr w8, [x8] str x8, [sp] Lloh28: adrp x3, l_.str.10@PAGE Lloh29: add x3, x3, l_.str.10@PAGEOFF mov x0, x20 mov x1, x19 bl _declare_out_varying ldr w2, [x24] Lloh30: adrp x3, l_.str.11@PAGE Lloh31: add x3, x3, l_.str.11@PAGEOFF mov x0, x20 mov x1, x19 bl _declare_out_varying LBB0_15: ldr w8, [x23] cmp w8, #3 b.gt LBB0_17 ; %bb.16: ldr x8, [x22, #16] ldr w8, [x8] str x8, [sp] Lloh32: adrp x1, l_.str.12@PAGE Lloh33: add x1, x1, l_.str.12@PAGEOFF mov x0, x19 bl _shader_addline LBB0_17: ldr x8, [x21] Lloh34: adrp x24, _WINED3D_SHADER_TYPE_PIXEL@GOTPAGE Lloh35: ldr x24, [x24, _WINED3D_SHADER_TYPE_PIXEL@GOTPAGEOFF] ldr x9, [x24] cmp x8, x9 b.ne LBB0_20 ; %bb.18: ldr x8, [x20] Lloh36: adrp x9, _ARB_CLIP_CONTROL@GOTPAGE Lloh37: ldr x9, [x9, _ARB_CLIP_CONTROL@GOTPAGEOFF] Lloh38: ldr x9, [x9] ldr x8, [x8, x9, lsl #3] cbnz x8, LBB0_20 ; %bb.19: Lloh39: adrp x1, l_.str.13@PAGE Lloh40: add x1, x1, l_.str.13@PAGEOFF mov x0, x19 bl _shader_addline LBB0_20: ldr w8, [x23] cmp w8, #4 b.lt LBB0_22 ; %bb.21: ldr x8, [x21] ldr x9, [x24] cmp x8, x9 cset w4, eq ldp w5, w2, [x21, #8] mov x0, x19 mov x1, x22 mov x3, x20 bl _shader_glsl_generate_sm4_output_setup LBB0_22: Lloh41: adrp x1, l_.str.14@PAGE Lloh42: add x1, x1, l_.str.14@PAGEOFF mov x0, x19 bl _shader_addline ldr x8, [x22, #32] cbz x8, LBB0_26 ; %bb.23: ldr w0, [x22, #28] bl _wined3d_log2i add w8, w0, #1 str x8, [sp] Lloh43: adrp x1, l_.str.15@PAGE Lloh44: add x1, x1, l_.str.15@PAGEOFF mov x0, x19 bl _shader_addline ldr w8, [x22] cbz w8, LBB0_26 ; %bb.24: mov x25, #0 Lloh45: adrp x24, l_.str.16@PAGE Lloh46: add x24, x24, l_.str.16@PAGEOFF LBB0_25: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22, #8] ldr w8, [x8, x25, lsl #2] stp x8, x8, [sp] mov x0, x19 mov x1, x24 bl _shader_addline add x25, x25, #1 ldr w8, [x22] cmp x25, x8 b.lo LBB0_25 LBB0_26: add x3, sp, #16 mov x0, x22 mov x1, x19 mov x2, x23 mov x4, #0 mov x5, #0 bl _shader_generate_code bl _FAILED cbz x0, LBB0_28 ; %bb.27: mov w21, #0 b LBB0_31 LBB0_28: ldr w8, [x23] cmp w8, #3 b.gt LBB0_30 ; %bb.29: mov x0, x20 mov x1, x19 mov x2, x22 mov x3, x21 bl _shader_glsl_generate_vs_epilogue LBB0_30: Lloh47: adrp x1, l_.str.17@PAGE Lloh48: add x1, x1, l_.str.17@PAGEOFF mov x0, x19 bl _shader_addline Lloh49: adrp x8, _GL_VERTEX_SHADER@GOTPAGE Lloh50: ldr x8, [x8, _GL_VERTEX_SHADER@GOTPAGEOFF] Lloh51: ldr w0, [x8] bl _glCreateShader bl _GL_EXTCALL mov x21, x0 Lloh52: adrp x0, l_.str.18@PAGE Lloh53: add x0, x0, l_.str.18@PAGEOFF mov x1, x21 bl _TRACE ldr w2, [x19] mov x0, x20 mov x1, x21 bl _shader_glsl_compile LBB0_31: mov x0, x21 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpLdrGot Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpAdd Lloh47, Lloh48 .cfi_endproc ; -- End function .comm _ARB_DRAW_INSTANCED,8,3 ; @ARB_DRAW_INSTANCED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "#extension GL_ARB_draw_instanced : enable\n" l_.str.1: ; @.str.1 .asciz "#extension GL_ARB_explicit_attrib_location : enable\n" l_.str.2: ; @.str.2 .asciz "uniform struct\n{\n" l_.str.3: ; @.str.3 .asciz " float size;\n" l_.str.4: ; @.str.4 .asciz " float size_min;\n" l_.str.5: ; @.str.5 .asciz " float size_max;\n" l_.str.6: ; @.str.6 .asciz "} ffp_point;\n" l_.str.7: ; @.str.7 .asciz "uniform vec4 clip_planes[%u];\n" l_.str.8: ; @.str.8 .asciz "vec4 ffp_varying_diffuse;\n" l_.str.9: ; @.str.9 .asciz "vec4 ffp_varying_specular;\n" .comm _FALSE,4,2 ; @FALSE l_.str.10: ; @.str.10 .asciz "vec4 ffp_varying_texcoord[%u];\n" .comm _MAX_TEXTURES,4,2 ; @MAX_TEXTURES l_.str.11: ; @.str.11 .asciz "float ffp_varying_fogcoord;\n" l_.str.12: ; @.str.12 .asciz "void setup_vs_output(in vec4[%u]);\n" .comm _WINED3D_SHADER_TYPE_PIXEL,8,3 ; @WINED3D_SHADER_TYPE_PIXEL .comm _ARB_CLIP_CONTROL,8,3 ; @ARB_CLIP_CONTROL l_.str.13: ; @.str.13 .asciz "uniform vec4 pos_fixup;\n" l_.str.14: ; @.str.14 .asciz "void main()\n{\n" l_.str.15: ; @.str.15 .asciz "vec4 vs_in[%u];\n" l_.str.16: ; @.str.16 .asciz "vs_in[%u] = vs_in%u;\n" l_.str.17: ; @.str.17 .asciz "}\n" .comm _GL_VERTEX_SHADER,4,2 ; @GL_VERTEX_SHADER l_.str.18: ; @.str.18 .asciz "Compiling shader object %u.\n" .no_dead_strip _shader_glsl_generate_vshader .subsections_via_symbols
AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_shader_glsl_generate_vshader.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function InsertTreeViewItem _InsertTreeViewItem: ## @InsertTreeViewItem .cfi_startproc ## %bb.0: 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 $136, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -88(%rbp) ## 8-byte Spill movq %r8, %r13 movq %rcx, -64(%rbp) ## 8-byte Spill movq %rdx, %r12 movq %rsi, %r14 movq %rdi, -80(%rbp) ## 8-byte Spill movq %rsp, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _MAX_PATH@GOTPCREL(%rip), %rax movl (%rax), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 movq _TVIF_TEXT@GOTPCREL(%rip), %rax movq _TVIF_IMAGE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movq _TVIF_SELECTEDIMAGE@GOTPCREL(%rip), %rax orl (%rax), %ecx movq _TVIF_PARAM@GOTPCREL(%rip), %rax orl (%rax), %ecx xorl %eax, %eax movq %r13, -72(%rbp) ## 8-byte Spill testq %r13, %r13 setne %al movq _TVIF_CHILDREN@GOTPCREL(%rip), %rdx orl (%rdx), %ecx movl %eax, -116(%rbp) movl %ecx, -120(%rbp) movq _SHGDN_NORMAL@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movq %r12, %rsi movq %r15, %rcx callq _GetName testl %eax, %eax je LBB0_1 ## %bb.2: movq %rbx, -56(%rbp) ## 8-byte Spill movl $4, %edi callq _SHAlloc testq %rax, %rax je LBB0_3 ## %bb.4: movq %rax, %r13 movq %r15, -96(%rbp) movq _MAX_PATH@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -112(%rbp) movq %r13, -104(%rbp) movq %r14, %rdi callq _IShellFolder_AddRef movq %r14, 24(%r13) movq %r12, %rdi callq _ILClone movq %rax, 16(%r13) movq -64(%rbp), %rdi ## 8-byte Reload testq %rdi, %rdi je LBB0_6 ## %bb.5: movq %r12, %rsi callq _ILCombine jmp LBB0_7 LBB0_1: xorl %eax, %eax jmp LBB0_9 LBB0_3: xorl %eax, %eax jmp LBB0_8 LBB0_6: movq %r12, %rdi callq _ILClone LBB0_7: movq %rax, (%r13) movq -72(%rbp), %rcx ## 8-byte Reload movq %rcx, 8(%r13) leaq -120(%rbp), %rsi movq %rax, %rdi callq _GetNormalAndSelectedIcons movups -120(%rbp), %xmm0 movups -104(%rbp), %xmm1 movups %xmm0, -152(%rbp) movups %xmm1, -136(%rbp) movq $0, -160(%rbp) movq -88(%rbp), %rax ## 8-byte Reload movq %rax, -168(%rbp) movq -80(%rbp), %rax ## 8-byte Reload movl (%rax), %edi leaq -168(%rbp), %rsi callq _TreeView_InsertItem LBB0_8: movq -56(%rbp), %rbx ## 8-byte Reload LBB0_9: movq %rbx, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_11 ## %bb.10: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_11: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAX_PATH,4,2 ## @MAX_PATH .comm _TVIF_TEXT,4,2 ## @TVIF_TEXT .comm _TVIF_IMAGE,4,2 ## @TVIF_IMAGE .comm _TVIF_SELECTEDIMAGE,4,2 ## @TVIF_SELECTEDIMAGE .comm _TVIF_PARAM,4,2 ## @TVIF_PARAM .comm _TVIF_CHILDREN,4,2 ## @TVIF_CHILDREN .comm _SHGDN_NORMAL,4,2 ## @SHGDN_NORMAL .no_dead_strip _InsertTreeViewItem .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function InsertTreeViewItem _InsertTreeViewItem: ; @InsertTreeViewItem .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #96 mov x19, x5 mov x21, x4 mov x23, x3 mov x22, x2 mov x24, x1 mov x20, x0 mov x27, sp 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 x28, _MAX_PATH@GOTPAGE Lloh4: ldr x28, [x28, _MAX_PATH@GOTPAGEOFF] ldr w8, [x28] lsl x8, x8, #2 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x25, x9, x8 mov sp, x25 Lloh7: adrp x8, _TVIF_TEXT@GOTPAGE Lloh8: ldr x8, [x8, _TVIF_TEXT@GOTPAGEOFF] Lloh9: ldr w8, [x8] Lloh10: adrp x9, _TVIF_IMAGE@GOTPAGE Lloh11: ldr x9, [x9, _TVIF_IMAGE@GOTPAGEOFF] Lloh12: ldr w9, [x9] Lloh13: adrp x10, _TVIF_SELECTEDIMAGE@GOTPAGE Lloh14: ldr x10, [x10, _TVIF_SELECTEDIMAGE@GOTPAGEOFF] orr w8, w9, w8 Lloh15: ldr w9, [x10] orr w8, w8, w9 Lloh16: adrp x9, _TVIF_PARAM@GOTPAGE Lloh17: ldr x9, [x9, _TVIF_PARAM@GOTPAGEOFF] Lloh18: ldr w9, [x9] orr w8, w8, w9 cmp x4, #0 Lloh19: adrp x9, _TVIF_CHILDREN@GOTPAGE Lloh20: ldr x9, [x9, _TVIF_CHILDREN@GOTPAGEOFF] Lloh21: ldr w9, [x9] orr w8, w9, w8 cset w9, ne stp w8, w9, [x29, #-120] Lloh22: adrp x8, _SHGDN_NORMAL@GOTPAGE Lloh23: ldr x8, [x8, _SHGDN_NORMAL@GOTPAGEOFF] Lloh24: ldr w2, [x8] mov x0, x1 mov x1, x22 mov x3, x25 bl _GetName cbz w0, LBB0_4 ; %bb.1: mov w0, #4 bl _SHAlloc cbz x0, LBB0_7 ; %bb.2: mov x26, x0 ldr w8, [x28] stur w8, [x29, #-112] stp x0, x25, [x29, #-104] mov x0, x24 bl _IShellFolder_AddRef str x24, [x26, #24] mov x0, x22 bl _ILClone str x0, [x26, #16] cbz x23, LBB0_5 ; %bb.3: mov x0, x23 mov x1, x22 bl _ILCombine b LBB0_6 LBB0_4: mov x0, #0 b LBB0_7 LBB0_5: mov x0, x22 bl _ILClone LBB0_6: stp x0, x21, [x26] sub x1, x29, #120 bl _GetNormalAndSelectedIcons ldur q0, [x29, #-120] ldur q1, [x29, #-104] stur q0, [x29, #-152] stur q1, [x29, #-136] stp x19, xzr, [x29, #-168] ldr w0, [x20] sub x1, x29, #168 bl _TreeView_InsertItem LBB0_7: mov sp, x27 ldur x8, [x29, #-88] Lloh25: adrp x9, ___stack_chk_guard@GOTPAGE Lloh26: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh27: ldr x9, [x9] cmp x9, x8 b.ne LBB0_9 ; %bb.8: 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_9: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .cfi_endproc ; -- End function .comm _MAX_PATH,4,2 ; @MAX_PATH .comm _TVIF_TEXT,4,2 ; @TVIF_TEXT .comm _TVIF_IMAGE,4,2 ; @TVIF_IMAGE .comm _TVIF_SELECTEDIMAGE,4,2 ; @TVIF_SELECTEDIMAGE .comm _TVIF_PARAM,4,2 ; @TVIF_PARAM .comm _TVIF_CHILDREN,4,2 ; @TVIF_CHILDREN .comm _SHGDN_NORMAL,4,2 ; @SHGDN_NORMAL .no_dead_strip _InsertTreeViewItem .subsections_via_symbols
AnghaBench/reactos/dll/win32/shell32/wine/extr_brsfolder.c_InsertTreeViewItem.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mcache_notify _mcache_notify: ## @mcache_notify .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 8(%rdi), %rax testq %rax, %rax je LBB0_1 ## %bb.2: movl (%rdi), %edi popq %rbp jmpq *%rax ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mcache_notify .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mcache_notify _mcache_notify: ; @mcache_notify .cfi_startproc ; %bb.0: ldr x2, [x0, #8] cbz x2, LBB0_2 ; %bb.1: ldr w0, [x0] br x2 LBB0_2: ret .cfi_endproc ; -- End function .no_dead_strip _mcache_notify .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/kern/extr_mcache.c_mcache_notify.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function id3v1_create_tag _id3v1_create_tag: ## @id3v1_create_tag .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %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 movq %rdi, %r14 movq _ID3v1_TAG_SIZE@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rsi, %rdi xorl %esi, %esi callq _memset movw $16724, (%r12) ## imm = 0x4154 movb $71, 2(%r12) leaq 3(%r12), %rdx leaq L_.str(%rip), %rsi movq %r14, %rdi movl $31, %ecx callq _id3v1_set_string movq %rax, %r15 leaq 33(%r12), %rdx leaq L_.str.1(%rip), %rsi movq %r14, %rdi movl $31, %ecx callq _id3v1_set_string movq %rax, %rbx addl %r15d, %ebx leaq 63(%r12), %rdx leaq L_.str.2(%rip), %rsi movq %r14, %rdi movl $31, %ecx callq _id3v1_set_string movq %rax, %r15 addl %ebx, %r15d leaq 93(%r12), %rdx leaq L_.str.3(%rip), %rsi movq %r14, %rdi movl $5, %ecx callq _id3v1_set_string movq %rax, %rbx addl %r15d, %ebx leaq 97(%r12), %rdx leaq L_.str.4(%rip), %rsi movq %r14, %rdi movl $31, %ecx callq _id3v1_set_string movq %rax, %r15 addl %ebx, %r15d movl (%r14), %edi leaq L_.str.5(%rip), %rsi xorl %edx, %edx xorl %ecx, %ecx callq _av_dict_get testq %rax, %rax je LBB0_2 ## %bb.1: movb $0, 125(%r12) movl (%rax), %edi callq _atoi movb %al, 126(%r12) incl %r15d LBB0_2: movb $-1, 127(%r12) movl (%r14), %edi leaq L_.str.6(%rip), %rsi xorl %edx, %edx xorl %ecx, %ecx callq _av_dict_get testq %rax, %rax je LBB0_9 ## %bb.3: movq _ID3v1_GENRE_MAX@GOTPCREL(%rip), %r14 cmpl $0, (%r14) js LBB0_9 ## %bb.4: movq %rax, %r13 movq %r15, -48(%rbp) ## 8-byte Spill xorl %ebx, %ebx movq _ff_id3v1_genre_str@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl (%r13), %edi movq (%r15), %rax movl (%rax,%rbx,4), %esi callq _av_strcasecmp testl %eax, %eax je LBB0_6 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 leaq 1(%rbx), %rax movslq (%r14), %rcx cmpq %rcx, %rbx movq %rax, %rbx jl LBB0_5 ## %bb.8: movq -48(%rbp), %r15 ## 8-byte Reload jmp LBB0_9 LBB0_6: movb %bl, 127(%r12) movq -48(%rbp), %r15 ## 8-byte Reload incl %r15d LBB0_9: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ID3v1_TAG_SIZE,4,2 ## @ID3v1_TAG_SIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "TIT2" L_.str.1: ## @.str.1 .asciz "TPE1" L_.str.2: ## @.str.2 .asciz "TALB" L_.str.3: ## @.str.3 .asciz "TDRC" L_.str.4: ## @.str.4 .asciz "comment" L_.str.5: ## @.str.5 .asciz "TRCK" L_.str.6: ## @.str.6 .asciz "TCON" .comm _ID3v1_GENRE_MAX,4,2 ## @ID3v1_GENRE_MAX .comm _ff_id3v1_genre_str,8,3 ## @ff_id3v1_genre_str .no_dead_strip _id3v1_create_tag .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function id3v1_create_tag _id3v1_create_tag: ; @id3v1_create_tag .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _ID3v1_TAG_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _ID3v1_TAG_SIZE@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x0, x1 mov w1, #0 bl _memset mov w8, #16724 strh w8, [x19] mov w8, #71 strb w8, [x19, #2] add x2, x19, #3 Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x20 mov w3, #31 bl _id3v1_set_string mov x21, x0 add x2, x19, #33 Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 mov w3, #31 bl _id3v1_set_string add w21, w0, w21 add x2, x19, #63 Lloh7: adrp x1, l_.str.2@PAGE Lloh8: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 mov w3, #31 bl _id3v1_set_string add w21, w21, w0 add x2, x19, #93 Lloh9: adrp x1, l_.str.3@PAGE Lloh10: add x1, x1, l_.str.3@PAGEOFF mov x0, x20 mov w3, #5 bl _id3v1_set_string add w21, w21, w0 add x2, x19, #97 Lloh11: adrp x1, l_.str.4@PAGE Lloh12: add x1, x1, l_.str.4@PAGEOFF mov x0, x20 mov w3, #31 bl _id3v1_set_string add w21, w21, w0 ldr w0, [x20] Lloh13: adrp x1, l_.str.5@PAGE Lloh14: add x1, x1, l_.str.5@PAGEOFF mov x2, #0 mov w3, #0 bl _av_dict_get cbz x0, LBB0_2 ; %bb.1: strb wzr, [x19, #125] ldr w0, [x0] bl _atoi strb w0, [x19, #126] add w21, w21, #1 LBB0_2: mov w8, #255 strb w8, [x19, #127] ldr w0, [x20] Lloh15: adrp x1, l_.str.6@PAGE Lloh16: add x1, x1, l_.str.6@PAGEOFF mov x2, #0 mov w3, #0 bl _av_dict_get cbz x0, LBB0_8 ; %bb.3: Lloh17: adrp x22, _ID3v1_GENRE_MAX@GOTPAGE Lloh18: ldr x22, [x22, _ID3v1_GENRE_MAX@GOTPAGEOFF] ldr w8, [x22] tbnz w8, #31, LBB0_8 ; %bb.4: mov x20, x0 mov x23, #0 Lloh19: adrp x24, _ff_id3v1_genre_str@GOTPAGE Lloh20: ldr x24, [x24, _ff_id3v1_genre_str@GOTPAGEOFF] LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w0, [x20] ldr x8, [x24] ldr w1, [x8, x23, lsl #2] bl _av_strcasecmp cbz w0, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 add x8, x23, #1 ldrsw x9, [x22] cmp x23, x9 mov x23, x8 b.lt LBB0_5 b LBB0_8 LBB0_7: strb w23, [x19, #127] add w21, w21, #1 LBB0_8: 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 AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _ID3v1_TAG_SIZE,4,2 ; @ID3v1_TAG_SIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "TIT2" l_.str.1: ; @.str.1 .asciz "TPE1" l_.str.2: ; @.str.2 .asciz "TALB" l_.str.3: ; @.str.3 .asciz "TDRC" l_.str.4: ; @.str.4 .asciz "comment" l_.str.5: ; @.str.5 .asciz "TRCK" l_.str.6: ; @.str.6 .asciz "TCON" .comm _ID3v1_GENRE_MAX,4,2 ; @ID3v1_GENRE_MAX .comm _ff_id3v1_genre_str,8,3 ; @ff_id3v1_genre_str .no_dead_strip _id3v1_create_tag .subsections_via_symbols
AnghaBench/FFmpeg/libavformat/extr_mp3enc.c_id3v1_create_tag.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function asc_stop_rx _asc_stop_rx: ## @asc_stop_rx .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 _asc_disable_rx_interrupts ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _asc_stop_rx .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function asc_stop_rx _asc_stop_rx: ; @asc_stop_rx .cfi_startproc ; %bb.0: b _asc_disable_rx_interrupts .cfi_endproc ; -- End function .no_dead_strip _asc_stop_rx .subsections_via_symbols
AnghaBench/linux/drivers/tty/serial/extr_st-asc.c_asc_stop_rx.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function armv8pmu_disable_intens _armv8pmu_disable_intens: ## @armv8pmu_disable_intens .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %r14d callq _ARMV8_IDX_TO_COUNTER movl %eax, %ebx movl %eax, %edi callq _BIT movq _pmintenclr_el1@GOTPCREL(%rip), %rcx movl (%rcx), %esi movl %eax, %edi callq _write_sysreg xorl %eax, %eax callq _isb movl %ebx, %edi callq _BIT movq _pmovsclr_el0@GOTPCREL(%rip), %rcx movl (%rcx), %esi movl %eax, %edi callq _write_sysreg xorl %eax, %eax callq _isb movl %r14d, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _pmintenclr_el1,4,2 ## @pmintenclr_el1 .comm _pmovsclr_el0,4,2 ## @pmovsclr_el0 .no_dead_strip _armv8pmu_disable_intens .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function armv8pmu_disable_intens _armv8pmu_disable_intens: ; @armv8pmu_disable_intens .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 _ARMV8_IDX_TO_COUNTER mov x20, x0 bl _BIT Lloh0: adrp x8, _pmintenclr_el1@GOTPAGE Lloh1: ldr x8, [x8, _pmintenclr_el1@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _write_sysreg bl _isb mov x0, x20 bl _BIT Lloh3: adrp x8, _pmovsclr_el0@GOTPAGE Lloh4: ldr x8, [x8, _pmovsclr_el0@GOTPAGEOFF] Lloh5: ldr w1, [x8] bl _write_sysreg bl _isb mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _pmintenclr_el1,4,2 ; @pmintenclr_el1 .comm _pmovsclr_el0,4,2 ; @pmovsclr_el0 .no_dead_strip _armv8pmu_disable_intens .subsections_via_symbols
AnghaBench/linux/arch/arm64/kernel/extr_perf_event.c_armv8pmu_disable_intens.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CONF_imodule_get_value ## -- Begin function CONF_imodule_get_value .p2align 4, 0x90 _CONF_imodule_get_value: ## @CONF_imodule_get_value .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 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 _CONF_imodule_get_value ; -- Begin function CONF_imodule_get_value .p2align 2 _CONF_imodule_get_value: ; @CONF_imodule_get_value .cfi_startproc ; %bb.0: ldr x0, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/crypto/conf/extr_conf_mod.c_CONF_imodule_get_value.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _GX_InvalidateTexRegion ## -- Begin function GX_InvalidateTexRegion .p2align 4, 0x90 _GX_InvalidateTexRegion: ## @GX_InvalidateTexRegion .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movl (%rdi), %edi movl $15, %esi movl $3, %edx callq __SHIFTR movq %rax, %rbx movl (%r14), %edi movl $18, %esi movl $3, %edx callq __SHIFTR movq %rax, %r15 movl 4(%r14), %edi movl $15, %esi movl $3, %edx callq __SHIFTR movq %rax, %r12 movl 4(%r14), %edi movl $18, %esi movl $3, %edx callq __SHIFTR cmpq $2, %rbx movl $1, %ecx cmovlq %rcx, %rbx cmpq $2, %r15 cmovlq %rcx, %r15 cmpq $2, %r12 cmovlq %rcx, %r12 decq %r12 cmpq $2, %rax cmovgeq %rax, %rcx movq 8(%r14), %rdx movq %rbx, -64(%rbp) ## 8-byte Spill leal (%r15,%rbx), %eax addl $-2, %eax movq %rdx, -56(%rbp) ## 8-byte Spill testq %rdx, %rdx leal -1(%rcx,%r12), %ecx movq %rcx, -48(%rbp) ## 8-byte Spill leal -2(%rax,%rcx), %ebx cmovel %eax, %ebx movl $32767, %eax ## imm = 0x7FFF movl (%r14), %edi andl %eax, %edi movl $6, %esi movl $9, %edx callq __SHIFTR movq %rax, -72(%rbp) ## 8-byte Spill movl %ebx, %edi movl $9, %esi movl $4, %edx callq __SHIFTL movq %rax, %rbx movl $102, %edi movl $24, %esi movl $8, %edx callq __SHIFTL movq %rax, %r13 orl -72(%rbp), %r13d ## 4-byte Folded Reload orl %ebx, %r13d testq %r12, %r12 je LBB0_1 ## %bb.2: addl -64(%rbp), %r15d ## 4-byte Folded Reload addl $-4, %r15d xorl %ebx, %ebx cmpq $0, -56(%rbp) ## 8-byte Folded Reload cmovnel %r15d, %ebx addl -48(%rbp), %ebx ## 4-byte Folded Reload movl $32767, %edi ## imm = 0x7FFF andl 4(%r14), %edi movl $6, %esi movl $9, %edx callq __SHIFTR movq %rax, %r14 movl %ebx, %edi movl $9, %esi movl $4, %edx callq __SHIFTL movq %rax, %r15 movl $102, %edi movl $24, %esi movl $8, %edx callq __SHIFTL movq %rax, %rbx orl %r14d, %ebx orl %r15d, %ebx jmp LBB0_3 LBB0_1: xorl %ebx, %ebx LBB0_3: xorl %eax, %eax callq ___GX_FlushTextureState movl %r13d, %edi callq _GX_LOAD_BP_REG testq %r12, %r12 je LBB0_5 ## %bb.4: movl %ebx, %edi callq _GX_LOAD_BP_REG LBB0_5: xorl %eax, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp ___GX_FlushTextureState ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _GX_InvalidateTexRegion ; -- Begin function GX_InvalidateTexRegion .p2align 2 _GX_InvalidateTexRegion: ; @GX_InvalidateTexRegion .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 ldr w0, [x0] mov w1, #15 mov w2, #3 bl __SHIFTR mov x20, x0 ldr w0, [x19] mov w1, #18 mov w2, #3 bl __SHIFTR mov x21, x0 ldr w0, [x19, #4] mov w1, #15 mov w2, #3 bl __SHIFTR mov x22, x0 ldr w0, [x19, #4] mov w1, #18 mov w2, #3 bl __SHIFTR cmp x20, #1 csinc x8, x20, xzr, gt cmp x21, #1 csinc x9, x21, xzr, gt cmp x22, #1 csinc x10, x22, xzr, gt sub x22, x10, #1 cmp x0, #1 csinc x10, x0, xzr, gt add w10, w10, w22 ldr x23, [x19, #8] add w25, w9, w8 sub w8, w25, #2 sub w24, w10, #1 add w9, w8, w24 sub w9, w9, #2 cmp x23, #0 csel w20, w8, w9, eq ldr w8, [x19] and w0, w8, #0x7fff mov w1, #6 mov w2, #9 bl __SHIFTR mov x21, x0 mov x0, x20 mov w1, #9 mov w2, #4 bl __SHIFTL orr w20, w0, w21 mov w0, #102 mov w1, #24 mov w2, #8 bl __SHIFTL orr w20, w20, w0 cbz x22, LBB0_2 ; %bb.1: sub w8, w25, #4 cmp x23, #0 csel w8, wzr, w8, eq add w21, w8, w24 ldr w8, [x19, #4] and w0, w8, #0x7fff mov w1, #6 mov w2, #9 bl __SHIFTR mov x19, x0 mov x0, x21 mov w1, #9 mov w2, #4 bl __SHIFTL orr w19, w0, w19 mov w0, #102 mov w1, #24 mov w2, #8 bl __SHIFTL orr w19, w19, w0 b LBB0_3 LBB0_2: mov w19, #0 LBB0_3: bl ___GX_FlushTextureState mov x0, x20 bl _GX_LOAD_BP_REG cbz x22, LBB0_5 ; %bb.4: mov x0, x19 bl _GX_LOAD_BP_REG LBB0_5: 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 b ___GX_FlushTextureState .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/RetroArch/wii/libogc/libogc/extr_gx.c_GX_InvalidateTexRegion.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _h2o_socket_get_ssl_session_id ## -- Begin function h2o_socket_get_ssl_session_id .p2align 4, 0x90 _h2o_socket_get_ssl_session_id: ## @h2o_socket_get_ssl_session_id .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), %rax testq %rax, %rax je LBB0_6 ## %bb.1: cmpq $0, 16(%rax) je LBB0_2 LBB0_6: xorl %edi, %edi xorl %esi, %esi addq $16, %rsp popq %rbp jmp _h2o_iovec_init ## TAILCALL LBB0_2: movq (%rax), %rdi testq %rdi, %rdi je LBB0_6 ## %bb.3: movq 8(%rax), %rax movq _ASYNC_RESUMPTION_STATE_COMPLETE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_6 ## %bb.4: callq _SSL_get_session testq %rax, %rax je LBB0_6 ## %bb.5: leaq -4(%rbp), %rsi movq %rax, %rdi callq _SSL_SESSION_get_id movl -4(%rbp), %esi movq %rax, %rdi callq _h2o_iovec_init addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ASYNC_RESUMPTION_STATE_COMPLETE,8,3 ## @ASYNC_RESUMPTION_STATE_COMPLETE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _h2o_socket_get_ssl_session_id ; -- Begin function h2o_socket_get_ssl_session_id .p2align 2 _h2o_socket_get_ssl_session_id: ; @h2o_socket_get_ssl_session_id .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] cbz x8, LBB0_2 ; %bb.1: ldr x9, [x8, #16] cbz x9, LBB0_3 LBB0_2: mov x0, #0 mov w1, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 b _h2o_iovec_init LBB0_3: ldr x0, [x8] cbz x0, LBB0_2 ; %bb.4: ldr x8, [x8, #8] Lloh0: adrp x9, _ASYNC_RESUMPTION_STATE_COMPLETE@GOTPAGE Lloh1: ldr x9, [x9, _ASYNC_RESUMPTION_STATE_COMPLETE@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.5: bl _SSL_get_session cbz x0, LBB0_2 ; %bb.6: sub x1, x29, #4 bl _SSL_SESSION_get_id ldur w1, [x29, #-4] bl _h2o_iovec_init ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ASYNC_RESUMPTION_STATE_COMPLETE,8,3 ; @ASYNC_RESUMPTION_STATE_COMPLETE .subsections_via_symbols
AnghaBench/h2o/t/00unit/lib/common/extr_........libcommonsocket.c_h2o_socket_get_ssl_session_id.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _efx_siena_sriov_desc_fetch_err ## -- Begin function efx_siena_sriov_desc_fetch_err .p2align 4, 0x90 _efx_siena_sriov_desc_fetch_err: ## @efx_siena_sriov_desc_fetch_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 %rbx subq $24, %rsp .cfi_offset %rbx, -24 movq %rdi, %rbx leaq -24(%rbp), %rdx leaq -12(%rbp), %rcx callq _map_vi_index testq %rax, %rax jne LBB0_4 ## %bb.1: xorl %eax, %eax callq _net_ratelimit testq %rax, %rax je LBB0_3 ## %bb.2: movq _hw@GOTPCREL(%rip), %rax movl (%rax), %esi movl (%rbx), %edx movq -24(%rbp), %rax movl 4(%rax), %r8d movl -12(%rbp), %r9d leaq L_.str(%rip), %rcx movq %rbx, %rdi callq _netif_err LBB0_3: movq _vfdi_workqueue@GOTPCREL(%rip), %rax movl (%rax), %edi movq -24(%rbp), %rsi callq _queue_work LBB0_4: addq $24, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _hw,4,2 ## @hw .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "VF %d DMA Q %d reports descriptor fetch error.\n" .comm _vfdi_workqueue,4,2 ## @vfdi_workqueue .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _efx_siena_sriov_desc_fetch_err ; -- Begin function efx_siena_sriov_desc_fetch_err .p2align 2 _efx_siena_sriov_desc_fetch_err: ; @efx_siena_sriov_desc_fetch_err .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 add x2, sp, #8 add x3, sp, #4 bl _map_vi_index cbnz x0, LBB0_4 ; %bb.1: bl _net_ratelimit cbz x0, LBB0_3 ; %bb.2: Lloh0: adrp x8, _hw@GOTPAGE Lloh1: ldr x8, [x8, _hw@GOTPAGEOFF] Lloh2: ldr w1, [x8] ldr w2, [x19] ldr x8, [sp, #8] ldr w4, [x8, #4] ldr w5, [sp, #4] Lloh3: adrp x3, l_.str@PAGE Lloh4: add x3, x3, l_.str@PAGEOFF mov x0, x19 bl _netif_err LBB0_3: Lloh5: adrp x8, _vfdi_workqueue@GOTPAGE Lloh6: ldr x8, [x8, _vfdi_workqueue@GOTPAGEOFF] Lloh7: ldr w0, [x8] ldr x1, [sp, #8] bl _queue_work LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _hw,4,2 ; @hw .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "VF %d DMA Q %d reports descriptor fetch error.\n" .comm _vfdi_workqueue,4,2 ; @vfdi_workqueue .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/sfc/extr_siena_sriov.c_efx_siena_sriov_desc_fetch_err.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _scheme_check_part ## -- Begin function scheme_check_part .p2align 4, 0x90 _scheme_check_part: ## @scheme_check_part .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq _scheme@GOTPCREL(%rip), %r14 xorl %edi, %edi cmpq $0, (%r14) setne %dil callq _assert movl 12(%rbx), %edi callq _scheme_parse_alias movq _ALIAS_NONE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx cmpl %ecx, %eax je LBB0_8 ## %bb.1: movq (%r14), %r14 movq 8(%r14), %rdx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%rdx), %esi addq $8, %rdx cmpl %ecx, %esi je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpl %esi, %eax jne LBB0_2 LBB0_4: cmpl %ecx, %esi je LBB0_8 ## %bb.5: movl -4(%rdx), %eax movl %eax, 8(%rbx) movq (%rbx), %rdi testq %rdi, %rdi je LBB0_6 ## %bb.7: callq _strlen movq %rax, %rcx xorl %eax, %eax cmpq (%r14), %rcx jle LBB0_9 LBB0_8: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_9: popq %rbx popq %r14 popq %rbp retq LBB0_6: xorl %eax, %eax jmp LBB0_9 .cfi_endproc ## -- End function .comm _scheme,8,3 ## @scheme .comm _ALIAS_NONE,4,2 ## @ALIAS_NONE .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _scheme_check_part ; -- Begin function scheme_check_part .p2align 2 _scheme_check_part: ; @scheme_check_part .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 x20, _scheme@GOTPAGE Lloh1: ldr x20, [x20, _scheme@GOTPAGEOFF] ldr x8, [x20] cmp x8, #0 cset w0, ne bl _assert ldr w0, [x19, #12] bl _scheme_parse_alias Lloh2: adrp x8, _ALIAS_NONE@GOTPAGE Lloh3: ldr x8, [x8, _ALIAS_NONE@GOTPAGEOFF] Lloh4: ldr w8, [x8] cmp w0, w8 b.eq LBB0_4 ; %bb.1: ldr x20, [x20] ldr x9, [x20, #8] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w10, [x9], #8 cmp w10, w8 ccmp w0, w10, #4, ne b.ne LBB0_2 ; %bb.3: cmp w10, w8 b.ne LBB0_6 LBB0_4: Lloh5: adrp x8, _EINVAL@GOTPAGE Lloh6: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh7: ldr w0, [x8] LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_6: ldur w8, [x9, #-4] str w8, [x19, #8] ldr x0, [x19] cbz x0, LBB0_5 ; %bb.7: bl _strlen ldr x8, [x20] Lloh8: adrp x9, _EINVAL@GOTPAGE Lloh9: ldr x9, [x9, _EINVAL@GOTPAGEOFF] Lloh10: ldr w9, [x9] cmp x0, x8 csel w0, w9, wzr, gt b LBB0_5 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _scheme,8,3 ; @scheme .comm _ALIAS_NONE,4,2 ; @ALIAS_NONE .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
AnghaBench/freebsd/usr.bin/mkimg/extr_scheme.c_scheme_check_part.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_C_locale _test_C_locale: ## @test_C_locale .cfi_startproc ## %bb.0: 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 _LC_ALL@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _setlocale movl $-97, %ebx leaq L_.str.1(%rip), %r14 leaq L_.str.2(%rip), %r15 jmp LBB0_1 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 leal 129(%rbx), %edx xorl %edi, %edi cmpl %eax, %edx sete %dil movq %r14, %rsi movl %eax, %ecx callq _ok movl %r12d, %edi callq _p_towupper movl %eax, %ecx LBB0_3: ## in Loop: Header=BB0_1 Depth=1 xorl %edi, %edi cmpl %ecx, %r12d sete %dil movq %r15, %rsi movl %r12d, %edx LBB0_10: ## in Loop: Header=BB0_1 Depth=1 callq _ok incl %ebx cmpl $65439, %ebx ## imm = 0xFF9F je LBB0_4 LBB0_1: ## =>This Inner Loop Header: Depth=1 leal 97(%rbx), %r12d movl %r12d, %edi callq _p_towlower leal 32(%rbx), %ecx cmpl $25, %ecx jbe LBB0_2 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 xorl %edi, %edi cmpl %eax, %r12d sete %dil movq %r15, %rsi movl %r12d, %edx movl %eax, %ecx callq _ok movl %r12d, %edi callq _p_towupper movl %eax, %ecx cmpl $25, %ebx ja LBB0_3 ## %bb.9: ## in Loop: Header=BB0_1 Depth=1 leal 65(%rbx), %edx xorl %edi, %edi cmpl %ecx, %edx sete %dil movq %r14, %rsi jmp LBB0_10 LBB0_4: leaq _test_C_locale.locales(%rip), %rbx movq %rbx, %rdi callq _ARRAY_SIZE testl %eax, %eax jle LBB0_20 ## %bb.5: xorl %r14d, %r14d leaq L_.str.1(%rip), %r15 leaq L_.str.2(%rip), %r12 jmp LBB0_6 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_6 Depth=1 movq %r13, %rdi callq _p__free_locale movq -48(%rbp), %r14 ## 8-byte Reload incq %r14 leaq _test_C_locale.locales(%rip), %rbx movq %rbx, %rdi callq _ARRAY_SIZE cltq cmpq %rax, %r14 jge LBB0_20 LBB0_6: ## =>This Loop Header: Depth=1 ## Child Loop BB0_13 Depth 2 movq (%rbx,%r14,8), %rsi testq %rsi, %rsi movq %r14, -48(%rbp) ## 8-byte Spill je LBB0_7 ## %bb.11: ## in Loop: Header=BB0_6 Depth=1 movq _LC_ALL@GOTPCREL(%rip), %rax movl (%rax), %edi callq _p__create_locale movq %rax, %r13 jmp LBB0_12 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_6 Depth=1 xorl %r13d, %r13d LBB0_12: ## in Loop: Header=BB0_6 Depth=1 movl $-97, %r14d jmp LBB0_13 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_13 Depth=2 leal 129(%r14), %edx xorl %edi, %edi cmpl %eax, %edx sete %dil movq %r15, %rsi movl %eax, %ecx callq _ok movl %ebx, %edi movq %r13, %rsi callq _p__towupper_l LBB0_15: ## in Loop: Header=BB0_13 Depth=2 xorl %edi, %edi cmpl %eax, %ebx sete %dil movq %r12, %rsi movl %ebx, %edx LBB0_18: ## in Loop: Header=BB0_13 Depth=2 movl %eax, %ecx callq _ok incl %r14d cmpl $65439, %r14d ## imm = 0xFF9F je LBB0_19 LBB0_13: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 leal 97(%r14), %ebx movl %ebx, %edi movq %r13, %rsi callq _p__towlower_l leal 32(%r14), %ecx cmpl $25, %ecx jbe LBB0_14 ## %bb.16: ## in Loop: Header=BB0_13 Depth=2 xorl %edi, %edi cmpl %eax, %ebx sete %dil movq %r12, %rsi movl %ebx, %edx movl %eax, %ecx callq _ok movl %ebx, %edi movq %r13, %rsi callq _p__towupper_l cmpl $25, %r14d ja LBB0_15 ## %bb.17: ## in Loop: Header=BB0_13 Depth=2 leal 65(%r14), %edx xorl %edi, %edi cmpl %eax, %edx sete %dil movq %r15, %rsi jmp LBB0_18 LBB0_20: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .p2align 4 ## @test_C_locale.locales _test_C_locale.locales: .quad 0 .quad L_.str .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "C" .comm _LC_ALL,4,2 ## @LC_ALL L_.str.1: ## @.str.1 .asciz "expected %x, got %x for C locale\n" L_.str.2: ## @.str.2 .asciz "expected self %x, got %x for C locale\n" .no_dead_strip _test_C_locale .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_C_locale _test_C_locale: ; @test_C_locale .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 Lloh0: adrp x24, _LC_ALL@GOTPAGE Lloh1: ldr x24, [x24, _LC_ALL@GOTPAGEOFF] ldr w0, [x24] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF bl _setlocale mov w22, #-97 Lloh4: adrp x19, l_.str.1@PAGE Lloh5: add x19, x19, l_.str.1@PAGEOFF mov w23, #65439 Lloh6: adrp x20, l_.str.2@PAGE Lloh7: add x20, x20, l_.str.2@PAGEOFF b LBB0_4 LBB0_1: ; in Loop: Header=BB0_4 Depth=1 add w2, w22, #129 cmp w2, w3 cset w0, eq mov x1, x19 bl _ok mov x0, x21 bl _p_towupper mov x3, x0 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 cmp w21, w3 cset w0, eq mov x1, x20 mov x2, x21 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 bl _ok add w22, w22, #1 cmp w22, w23 b.eq LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 add w21, w22, #97 mov x0, x21 bl _p_towlower mov x3, x0 add w8, w22, #32 cmp w8, #25 b.ls LBB0_1 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cmp w21, w3 cset w0, eq mov x1, x20 mov x2, x21 bl _ok mov x0, x21 bl _p_towupper mov x3, x0 cmp w22, #25 b.hi LBB0_2 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 add w2, w22, #65 cmp w2, w3 cset w0, eq mov x1, x19 b LBB0_3 LBB0_7: Lloh8: adrp x19, _test_C_locale.locales@PAGE Lloh9: add x19, x19, _test_C_locale.locales@PAGEOFF mov x0, x19 bl _ARRAY_SIZE cmp w0, #1 b.lt LBB0_20 ; %bb.8: mov x25, #0 Lloh10: adrp x20, l_.str.1@PAGE Lloh11: add x20, x20, l_.str.1@PAGEOFF mov w26, #65439 Lloh12: adrp x21, l_.str.2@PAGE Lloh13: add x21, x21, l_.str.2@PAGEOFF b LBB0_10 LBB0_9: ; in Loop: Header=BB0_10 Depth=1 mov x0, x22 bl _p__free_locale add x25, x25, #1 mov x0, x19 bl _ARRAY_SIZE cmp x25, w0, sxtw b.ge LBB0_20 LBB0_10: ; =>This Loop Header: Depth=1 ; Child Loop BB0_17 Depth 2 ldr x1, [x19, x25, lsl #3] cbz x1, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 ldr w0, [x24] bl _p__create_locale mov x22, x0 b LBB0_13 LBB0_12: ; in Loop: Header=BB0_10 Depth=1 mov x22, #0 LBB0_13: ; in Loop: Header=BB0_10 Depth=1 mov w27, #-97 b LBB0_17 LBB0_14: ; in Loop: Header=BB0_17 Depth=2 add w2, w27, #129 cmp w2, w3 cset w0, eq mov x1, x20 bl _ok mov x0, x23 mov x1, x22 bl _p__towupper_l mov x3, x0 LBB0_15: ; in Loop: Header=BB0_17 Depth=2 cmp w23, w3 cset w0, eq mov x1, x21 mov x2, x23 LBB0_16: ; in Loop: Header=BB0_17 Depth=2 bl _ok add w27, w27, #1 cmp w27, w26 b.eq LBB0_9 LBB0_17: ; Parent Loop BB0_10 Depth=1 ; => This Inner Loop Header: Depth=2 add w23, w27, #97 mov x0, x23 mov x1, x22 bl _p__towlower_l mov x3, x0 add w8, w27, #32 cmp w8, #25 b.ls LBB0_14 ; %bb.18: ; in Loop: Header=BB0_17 Depth=2 cmp w23, w3 cset w0, eq mov x1, x21 mov x2, x23 bl _ok mov x0, x23 mov x1, x22 bl _p__towupper_l mov x3, x0 cmp w27, #25 b.hi LBB0_15 ; %bb.19: ; in Loop: Header=BB0_17 Depth=2 add w2, w27, #65 cmp w2, w3 cset w0, eq mov x1, x20 b LBB0_16 LBB0_20: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __DATA,__data .p2align 3 ; @test_C_locale.locales _test_C_locale.locales: .quad 0 .quad l_.str .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "C" .comm _LC_ALL,4,2 ; @LC_ALL l_.str.1: ; @.str.1 .asciz "expected %x, got %x for C locale\n" l_.str.2: ; @.str.2 .asciz "expected self %x, got %x for C locale\n" .no_dead_strip _test_C_locale .subsections_via_symbols
AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_string.c_test_C_locale.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function conv_pos _conv_pos: ## @conv_pos .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _RULE_LAST_REJECTED_SAVED_POS@GOTPCREL(%rip), %rax cmpq %rdi, (%rax) jne LBB0_2 ## %bb.1: movl %esi, %eax popq %rbp retq LBB0_2: popq %rbp jmp _conv_ctoi ## TAILCALL .cfi_endproc ## -- End function .comm _RULE_LAST_REJECTED_SAVED_POS,8,3 ## @RULE_LAST_REJECTED_SAVED_POS .no_dead_strip _conv_pos .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function conv_pos _conv_pos: ; @conv_pos .cfi_startproc ; %bb.0: Lloh0: adrp x8, _RULE_LAST_REJECTED_SAVED_POS@GOTPAGE Lloh1: ldr x8, [x8, _RULE_LAST_REJECTED_SAVED_POS@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, x0 b.ne LBB0_2 ; %bb.1: mov x0, x1 ret LBB0_2: b _conv_ctoi .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _RULE_LAST_REJECTED_SAVED_POS,8,3 ; @RULE_LAST_REJECTED_SAVED_POS .no_dead_strip _conv_pos .subsections_via_symbols
AnghaBench/hashcat/src/extr_rp_cpu.c_conv_pos.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function al_serdes_25g_bist_rx_status _al_serdes_25g_bist_rx_status: ## @al_serdes_25g_bist_rx_status .cfi_startproc ## %bb.0: 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 %r8, %r14 movq %rcx, %r12 movq %rdx, %r13 movl %esi, %r15d movq %rdi, %rbx movq _SERDES_25G_LANE_RX_BIST_STATUS_ADDR@GOTPCREL(%rip), %rax movl (%rax), %edx movq _SERDES_25G_LANE_RX_BIST_STATUS_STATE_MASK@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _SERDES_25G_LANE_RX_BIST_STATUS_STATE_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq -56(%rbp), %r9 callq _al_serdes_25g_reg_masked_read cmpl $3, -56(%rbp) jne LBB0_1 ## %bb.2: movq _AL_TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r13) movq _AL_FALSE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r12) movq _SERDES_25G_LANE_RX_BIST_BER_STATUS0_ADDR@GOTPCREL(%rip), %rax movl (%rax), %edx movq _SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_MASK@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq -52(%rbp), %r9 movq %rbx, %rdi movl %r15d, %esi callq _al_serdes_25g_reg_masked_read movq _SERDES_25G_LANE_RX_BIST_BER_STATUS1_ADDR@GOTPCREL(%rip), %rax movl (%rax), %edx movq _SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_MASK@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq -48(%rbp), %r9 movq %rbx, %rdi movl %r15d, %esi callq _al_serdes_25g_reg_masked_read movq _SERDES_25G_LANE_RX_BIST_BER_STATUS2_ADDR@GOTPCREL(%rip), %rax movl (%rax), %edx movq _SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_MASK@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq -44(%rbp), %r9 movq %rbx, %rdi movl %r15d, %esi callq _al_serdes_25g_reg_masked_read movl -48(%rbp), %eax shll $8, %eax addl -52(%rbp), %eax movl -44(%rbp), %ecx shll $16, %ecx addl %eax, %ecx movl %ecx, (%r14) jmp LBB0_3 LBB0_1: movq _AL_FALSE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r13) LBB0_3: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SERDES_25G_LANE_RX_BIST_STATUS_ADDR,4,2 ## @SERDES_25G_LANE_RX_BIST_STATUS_ADDR .comm _SERDES_25G_LANE_RX_BIST_STATUS_STATE_MASK,4,2 ## @SERDES_25G_LANE_RX_BIST_STATUS_STATE_MASK .comm _SERDES_25G_LANE_RX_BIST_STATUS_STATE_SHIFT,4,2 ## @SERDES_25G_LANE_RX_BIST_STATUS_STATE_SHIFT .comm _AL_FALSE,4,2 ## @AL_FALSE .comm _AL_TRUE,4,2 ## @AL_TRUE .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS0_ADDR,4,2 ## @SERDES_25G_LANE_RX_BIST_BER_STATUS0_ADDR .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_MASK,4,2 ## @SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_MASK .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_SHIFT,4,2 ## @SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_SHIFT .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS1_ADDR,4,2 ## @SERDES_25G_LANE_RX_BIST_BER_STATUS1_ADDR .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_MASK,4,2 ## @SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_MASK .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_SHIFT,4,2 ## @SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_SHIFT .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS2_ADDR,4,2 ## @SERDES_25G_LANE_RX_BIST_BER_STATUS2_ADDR .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_MASK,4,2 ## @SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_MASK .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_SHIFT,4,2 ## @SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_SHIFT .no_dead_strip _al_serdes_25g_bist_rx_status .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function al_serdes_25g_bist_rx_status _al_serdes_25g_bist_rx_status: ; @al_serdes_25g_bist_rx_status .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, x4 mov x23, x3 mov x22, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x8, _SERDES_25G_LANE_RX_BIST_STATUS_ADDR@GOTPAGE Lloh1: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_STATUS_ADDR@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x8, _SERDES_25G_LANE_RX_BIST_STATUS_STATE_MASK@GOTPAGE Lloh4: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_STATUS_STATE_MASK@GOTPAGEOFF] Lloh5: ldr w3, [x8] Lloh6: adrp x8, _SERDES_25G_LANE_RX_BIST_STATUS_STATE_SHIFT@GOTPAGE Lloh7: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_STATUS_STATE_SHIFT@GOTPAGEOFF] Lloh8: ldr w4, [x8] add x5, sp, #12 bl _al_serdes_25g_reg_masked_read ldr w8, [sp, #12] cmp w8, #3 b.ne LBB0_2 ; %bb.1: Lloh9: adrp x8, _AL_TRUE@GOTPAGE Lloh10: ldr x8, [x8, _AL_TRUE@GOTPAGEOFF] Lloh11: ldr w8, [x8] Lloh12: adrp x9, _AL_FALSE@GOTPAGE Lloh13: ldr x9, [x9, _AL_FALSE@GOTPAGEOFF] str w8, [x22] Lloh14: ldr w8, [x9] str w8, [x23] Lloh15: adrp x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS0_ADDR@GOTPAGE Lloh16: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS0_ADDR@GOTPAGEOFF] Lloh17: ldr w2, [x8] Lloh18: adrp x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_MASK@GOTPAGE Lloh19: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_MASK@GOTPAGEOFF] Lloh20: ldr w3, [x8] Lloh21: adrp x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_SHIFT@GOTPAGE Lloh22: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_SHIFT@GOTPAGEOFF] Lloh23: ldr w4, [x8] add x5, sp, #8 mov x0, x21 mov x1, x20 bl _al_serdes_25g_reg_masked_read Lloh24: adrp x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS1_ADDR@GOTPAGE Lloh25: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS1_ADDR@GOTPAGEOFF] Lloh26: ldr w2, [x8] Lloh27: adrp x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_MASK@GOTPAGE Lloh28: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_MASK@GOTPAGEOFF] Lloh29: ldr w3, [x8] Lloh30: adrp x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_SHIFT@GOTPAGE Lloh31: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_SHIFT@GOTPAGEOFF] Lloh32: ldr w4, [x8] add x5, sp, #4 mov x0, x21 mov x1, x20 bl _al_serdes_25g_reg_masked_read Lloh33: adrp x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS2_ADDR@GOTPAGE Lloh34: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS2_ADDR@GOTPAGEOFF] Lloh35: ldr w2, [x8] Lloh36: adrp x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_MASK@GOTPAGE Lloh37: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_MASK@GOTPAGEOFF] Lloh38: ldr w3, [x8] Lloh39: adrp x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_SHIFT@GOTPAGE Lloh40: ldr x8, [x8, _SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_SHIFT@GOTPAGEOFF] Lloh41: ldr w4, [x8] mov x5, sp mov x0, x21 mov x1, x20 bl _al_serdes_25g_reg_masked_read ldp w9, w8, [sp, #4] add w8, w8, w9, lsl #8 ldr w9, [sp] add w8, w8, w9, lsl #16 str w8, [x19] b LBB0_3 LBB0_2: Lloh42: adrp x8, _AL_FALSE@GOTPAGE Lloh43: ldr x8, [x8, _AL_FALSE@GOTPAGEOFF] Lloh44: ldr w8, [x8] str w8, [x22] LBB0_3: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .cfi_endproc ; -- End function .comm _SERDES_25G_LANE_RX_BIST_STATUS_ADDR,4,2 ; @SERDES_25G_LANE_RX_BIST_STATUS_ADDR .comm _SERDES_25G_LANE_RX_BIST_STATUS_STATE_MASK,4,2 ; @SERDES_25G_LANE_RX_BIST_STATUS_STATE_MASK .comm _SERDES_25G_LANE_RX_BIST_STATUS_STATE_SHIFT,4,2 ; @SERDES_25G_LANE_RX_BIST_STATUS_STATE_SHIFT .comm _AL_FALSE,4,2 ; @AL_FALSE .comm _AL_TRUE,4,2 ; @AL_TRUE .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS0_ADDR,4,2 ; @SERDES_25G_LANE_RX_BIST_BER_STATUS0_ADDR .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_MASK,4,2 ; @SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_MASK .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_SHIFT,4,2 ; @SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_SHIFT .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS1_ADDR,4,2 ; @SERDES_25G_LANE_RX_BIST_BER_STATUS1_ADDR .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_MASK,4,2 ; @SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_MASK .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_SHIFT,4,2 ; @SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_SHIFT .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS2_ADDR,4,2 ; @SERDES_25G_LANE_RX_BIST_BER_STATUS2_ADDR .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_MASK,4,2 ; @SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_MASK .comm _SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_SHIFT,4,2 ; @SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_SHIFT .no_dead_strip _al_serdes_25g_bist_rx_status .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/alpine-hal/extr_al_hal_serdes_25g.c_al_serdes_25g_bist_rx_status.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function imxfb_blank _imxfb_blank: ## @imxfb_blank .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx movq (%rsi), %r14 leaq L_.str(%rip), %rdi movl %ebx, %esi callq _pr_debug leal -130(%rbx), %eax cmpl $3, %eax jb LBB0_3 ## %bb.1: cmpl $129, %ebx je LBB0_4 ## %bb.2: cmpl $128, %ebx jne LBB0_5 LBB0_3: movq %r14, %rdi callq _imxfb_disable_controller jmp LBB0_5 LBB0_4: movq %r14, %rdi callq _imxfb_enable_controller LBB0_5: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "imxfb_blank: blank=%d\n" .no_dead_strip _imxfb_blank .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function imxfb_blank _imxfb_blank: ; @imxfb_blank .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 ldr x19, [x1] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x20 bl _pr_debug sub w8, w20, #130 cmp w8, #3 b.lo LBB0_3 ; %bb.1: cmp w20, #129 b.eq LBB0_4 ; %bb.2: cmp w20, #128 b.ne LBB0_5 LBB0_3: mov x0, x19 bl _imxfb_disable_controller b LBB0_5 LBB0_4: mov x0, x19 bl _imxfb_enable_controller LBB0_5: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "imxfb_blank: blank=%d\n" .no_dead_strip _imxfb_blank .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/video/extr_imxfb.c_imxfb_blank.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function linebuf_rem_char _linebuf_rem_char: ## @linebuf_rem_char .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 _linebuf_rem ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _linebuf_rem_char .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function linebuf_rem_char _linebuf_rem_char: ; @linebuf_rem_char .cfi_startproc ; %bb.0: mov w1, #1 b _linebuf_rem .cfi_endproc ; -- End function .no_dead_strip _linebuf_rem_char .subsections_via_symbols
AnghaBench/systemd/src/libsystemd/sd-hwdb/extr_sd-hwdb.c_linebuf_rem_char.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sun4i_gpadc_runtime_resume _sun4i_gpadc_runtime_resume: ## @sun4i_gpadc_runtime_resume .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 callq _dev_get_drvdata movl %eax, %edi callq _iio_priv movq %rax, %r12 movl (%rax), %r14d movq _SUN4I_GPADC_CTRL0@GOTPCREL(%rip), %rax movl (%rax), %r15d movl $2, %edi callq _SUN4I_GPADC_CTRL0_ADC_CLK_DIVIDER movl %eax, %ebx movl $7, %edi callq _SUN4I_GPADC_CTRL0_FS_DIV orl %eax, %ebx movl $63, %edi callq _SUN4I_GPADC_CTRL0_T_ACQ orl %eax, %ebx movl %r14d, %edi movl %r15d, %esi movl %ebx, %edx callq _regmap_write movl (%r12), %edi movq _SUN4I_GPADC_CTRL1@GOTPCREL(%rip), %rax movl (%rax), %esi movq 8(%r12), %rax movl (%rax), %edx callq _regmap_write movl (%r12), %r14d movq _SUN4I_GPADC_CTRL3@GOTPCREL(%rip), %rax movl (%rax), %r15d movq _SUN4I_GPADC_CTRL3_FILTER_EN@GOTPCREL(%rip), %rax movl (%rax), %ebx movl $1, %edi callq _SUN4I_GPADC_CTRL3_FILTER_TYPE orl %eax, %ebx movl %r14d, %edi movl %r15d, %esi movl %ebx, %edx callq _regmap_write movl (%r12), %r14d movq _SUN4I_GPADC_TPR@GOTPCREL(%rip), %rax movl (%rax), %r15d movq _SUN4I_GPADC_TPR_TEMP_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %ebx movl $800, %edi ## imm = 0x320 callq _SUN4I_GPADC_TPR_TEMP_PERIOD orl %eax, %ebx movl %r14d, %edi movl %r15d, %esi movl %ebx, %edx callq _regmap_write xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SUN4I_GPADC_CTRL0,4,2 ## @SUN4I_GPADC_CTRL0 .comm _SUN4I_GPADC_CTRL1,4,2 ## @SUN4I_GPADC_CTRL1 .comm _SUN4I_GPADC_CTRL3,4,2 ## @SUN4I_GPADC_CTRL3 .comm _SUN4I_GPADC_CTRL3_FILTER_EN,4,2 ## @SUN4I_GPADC_CTRL3_FILTER_EN .comm _SUN4I_GPADC_TPR,4,2 ## @SUN4I_GPADC_TPR .comm _SUN4I_GPADC_TPR_TEMP_ENABLE,4,2 ## @SUN4I_GPADC_TPR_TEMP_ENABLE .no_dead_strip _sun4i_gpadc_runtime_resume .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sun4i_gpadc_runtime_resume _sun4i_gpadc_runtime_resume: ; @sun4i_gpadc_runtime_resume .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 bl _dev_get_drvdata bl _iio_priv mov x19, x0 ldr w20, [x0] Lloh0: adrp x8, _SUN4I_GPADC_CTRL0@GOTPAGE Lloh1: ldr x8, [x8, _SUN4I_GPADC_CTRL0@GOTPAGEOFF] Lloh2: ldr w21, [x8] mov w0, #2 bl _SUN4I_GPADC_CTRL0_ADC_CLK_DIVIDER mov x22, x0 mov w0, #7 bl _SUN4I_GPADC_CTRL0_FS_DIV orr w22, w0, w22 mov w0, #63 bl _SUN4I_GPADC_CTRL0_T_ACQ orr w2, w22, w0 mov x0, x20 mov x1, x21 bl _regmap_write ldr w0, [x19] Lloh3: adrp x8, _SUN4I_GPADC_CTRL1@GOTPAGE Lloh4: ldr x8, [x8, _SUN4I_GPADC_CTRL1@GOTPAGEOFF] Lloh5: ldr w1, [x8] ldr x8, [x19, #8] ldr w2, [x8] bl _regmap_write ldr w20, [x19] Lloh6: adrp x8, _SUN4I_GPADC_CTRL3@GOTPAGE Lloh7: ldr x8, [x8, _SUN4I_GPADC_CTRL3@GOTPAGEOFF] Lloh8: ldr w21, [x8] Lloh9: adrp x8, _SUN4I_GPADC_CTRL3_FILTER_EN@GOTPAGE Lloh10: ldr x8, [x8, _SUN4I_GPADC_CTRL3_FILTER_EN@GOTPAGEOFF] Lloh11: ldr w22, [x8] mov w0, #1 bl _SUN4I_GPADC_CTRL3_FILTER_TYPE orr w2, w0, w22 mov x0, x20 mov x1, x21 bl _regmap_write ldr w19, [x19] Lloh12: adrp x8, _SUN4I_GPADC_TPR@GOTPAGE Lloh13: ldr x8, [x8, _SUN4I_GPADC_TPR@GOTPAGEOFF] Lloh14: ldr w20, [x8] Lloh15: adrp x8, _SUN4I_GPADC_TPR_TEMP_ENABLE@GOTPAGE Lloh16: ldr x8, [x8, _SUN4I_GPADC_TPR_TEMP_ENABLE@GOTPAGEOFF] Lloh17: ldr w21, [x8] mov w0, #800 bl _SUN4I_GPADC_TPR_TEMP_PERIOD orr w2, w0, w21 mov x0, x19 mov x1, x20 bl _regmap_write mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SUN4I_GPADC_CTRL0,4,2 ; @SUN4I_GPADC_CTRL0 .comm _SUN4I_GPADC_CTRL1,4,2 ; @SUN4I_GPADC_CTRL1 .comm _SUN4I_GPADC_CTRL3,4,2 ; @SUN4I_GPADC_CTRL3 .comm _SUN4I_GPADC_CTRL3_FILTER_EN,4,2 ; @SUN4I_GPADC_CTRL3_FILTER_EN .comm _SUN4I_GPADC_TPR,4,2 ; @SUN4I_GPADC_TPR .comm _SUN4I_GPADC_TPR_TEMP_ENABLE,4,2 ; @SUN4I_GPADC_TPR_TEMP_ENABLE .no_dead_strip _sun4i_gpadc_runtime_resume .subsections_via_symbols
AnghaBench/linux/drivers/iio/adc/extr_sun4i-gpadc-iio.c_sun4i_gpadc_runtime_resume.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function write_object _write_object: ## @write_object .cfi_startproc ## %bb.0: 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, %r12 movq %rsi, %r15 movq %rdi, %r14 movq _pack_to_stdout@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB0_2 ## %bb.1: movq %r14, %rdi callq _crc32_begin LBB0_2: movq _pack_size_limit@GOTPCREL(%rip), %r13 movq (%r13), %rax movq _nr_written@GOTPCREL(%rip), %rcx movq %rax, %rdx subq %r12, %rdx movl $1, %ebx cmovgq %rdx, %rbx xorl %r12d, %r12d cmpl $0, (%rcx) cmoveq %r12, %rbx testq %rax, %rax cmoveq %rax, %rbx movq %r15, %rdi callq _DELTA testq %rax, %rax je LBB0_3 ## %bb.4: xorl %r12d, %r12d cmpq $0, (%r13) je LBB0_5 ## %bb.6: movq %r15, %rdi callq _DELTA cmpq $-1, (%rax) movb $1, %r13b je LBB0_8 ## %bb.7: movq %r15, %rdi callq _DELTA xorl %r12d, %r12d cmpq $0, (%rax) sete %r13b setne %r12b jmp LBB0_8 LBB0_3: movb $1, %r13b jmp LBB0_8 LBB0_5: movl $1, %r12d xorl %r13d, %r13d LBB0_8: movq _reuse_object@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_16 ## %bb.9: movq %r15, %rdi callq _IN_PACK testl %eax, %eax je LBB0_16 ## %bb.10: movq %r15, %rdi callq _oe_type movq _OBJ_REF_DELTA@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_15 ## %bb.11: movq %r15, %rdi callq _oe_type movq _OBJ_OFS_DELTA@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_12 LBB0_15: testl %r12d, %r12d je LBB0_16 LBB0_14: movq %r14, %rdi movq %r15, %rsi movq %rbx, %rdx movl %r12d, %ecx callq _write_reuse_object jmp LBB0_17 LBB0_12: movq %r15, %rdi callq _oe_type cmpq (%r15), %rax jne LBB0_16 ## %bb.13: movq %r15, %rdi callq _DELTA testq %rax, %rax je LBB0_14 LBB0_16: movq %r14, %rdi movq %r15, %rsi movq %rbx, %rdx movl %r12d, %ecx callq _write_no_reuse_object LBB0_17: movq %rax, %rbx testq %rax, %rax je LBB0_22 ## %bb.18: testb %r13b, %r13b jne LBB0_20 ## %bb.19: movq _written_delta@GOTPCREL(%rip), %rax incl (%rax) LBB0_20: movq _written@GOTPCREL(%rip), %rax incl (%rax) movq _pack_to_stdout@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB0_22 ## %bb.21: movq %r14, %rdi callq _crc32_end movl %eax, 8(%r15) LBB0_22: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _pack_to_stdout,4,2 ## @pack_to_stdout .comm _pack_size_limit,8,3 ## @pack_size_limit .comm _nr_written,4,2 ## @nr_written .comm _reuse_object,4,2 ## @reuse_object .comm _OBJ_REF_DELTA,8,3 ## @OBJ_REF_DELTA .comm _OBJ_OFS_DELTA,8,3 ## @OBJ_OFS_DELTA .comm _written_delta,4,2 ## @written_delta .comm _written,4,2 ## @written .no_dead_strip _write_object .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function write_object _write_object: ; @write_object .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 mov x20, x0 Lloh0: adrp x23, _pack_to_stdout@GOTPAGE Lloh1: ldr x23, [x23, _pack_to_stdout@GOTPAGEOFF] ldr w8, [x23] cbnz w8, LBB0_2 ; %bb.1: mov x0, x20 bl _crc32_begin LBB0_2: Lloh2: adrp x22, _pack_size_limit@GOTPAGE Lloh3: ldr x22, [x22, _pack_size_limit@GOTPAGEOFF] ldr x8, [x22] Lloh4: adrp x9, _nr_written@GOTPAGE Lloh5: ldr x9, [x9, _nr_written@GOTPAGEOFF] Lloh6: ldr w9, [x9] subs x10, x8, x21 csinc x10, x10, xzr, gt cmp w9, #0 ccmp x8, #0, #4, ne csel x21, x10, xzr, ne mov x0, x19 bl _DELTA cbz x0, LBB0_6 ; %bb.3: ldr x8, [x22] cbz x8, LBB0_7 ; %bb.4: mov x0, x19 bl _DELTA ldr x8, [x0] cmn x8, #1 b.eq LBB0_6 ; %bb.5: mov x0, x19 bl _DELTA ldr x8, [x0] cmp x8, #0 cset w24, eq cset w22, ne b LBB0_8 LBB0_6: mov w22, #0 mov w24, #1 b LBB0_8 LBB0_7: mov w24, #0 mov w22, #1 LBB0_8: Lloh7: adrp x8, _reuse_object@GOTPAGE Lloh8: ldr x8, [x8, _reuse_object@GOTPAGEOFF] Lloh9: ldr w8, [x8] cbz w8, LBB0_16 ; %bb.9: mov x0, x19 bl _IN_PACK cbz w0, LBB0_16 ; %bb.10: mov x0, x19 bl _oe_type Lloh10: adrp x8, _OBJ_REF_DELTA@GOTPAGE Lloh11: ldr x8, [x8, _OBJ_REF_DELTA@GOTPAGEOFF] Lloh12: ldr x8, [x8] cmp x0, x8 b.eq LBB0_12 ; %bb.11: mov x0, x19 bl _oe_type Lloh13: adrp x8, _OBJ_OFS_DELTA@GOTPAGE Lloh14: ldr x8, [x8, _OBJ_OFS_DELTA@GOTPAGEOFF] Lloh15: ldr x8, [x8] cmp x0, x8 b.ne LBB0_14 LBB0_12: cbz w22, LBB0_16 LBB0_13: mov x0, x20 mov x1, x19 mov x2, x21 mov x3, x22 bl _write_reuse_object mov x21, x0 cbnz x0, LBB0_17 b LBB0_21 LBB0_14: mov x0, x19 bl _oe_type ldr x8, [x19] cmp x0, x8 b.ne LBB0_16 ; %bb.15: mov x0, x19 bl _DELTA cbz x0, LBB0_13 LBB0_16: mov x0, x20 mov x1, x19 mov x2, x21 mov x3, x22 bl _write_no_reuse_object mov x21, x0 cbz x0, LBB0_21 LBB0_17: tbnz w24, #0, LBB0_19 ; %bb.18: Lloh16: adrp x8, _written_delta@GOTPAGE Lloh17: ldr x8, [x8, _written_delta@GOTPAGEOFF] ldr w9, [x8] add w9, w9, #1 str w9, [x8] LBB0_19: Lloh18: adrp x8, _written@GOTPAGE Lloh19: ldr x8, [x8, _written@GOTPAGEOFF] ldr w9, [x8] add w9, w9, #1 str w9, [x8] ldr w8, [x23] cbnz w8, LBB0_21 ; %bb.20: mov x0, x20 bl _crc32_end str w0, [x19, #8] LBB0_21: 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 Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _pack_to_stdout,4,2 ; @pack_to_stdout .comm _pack_size_limit,8,3 ; @pack_size_limit .comm _nr_written,4,2 ; @nr_written .comm _reuse_object,4,2 ; @reuse_object .comm _OBJ_REF_DELTA,8,3 ; @OBJ_REF_DELTA .comm _OBJ_OFS_DELTA,8,3 ; @OBJ_OFS_DELTA .comm _written_delta,4,2 ; @written_delta .comm _written,4,2 ; @written .no_dead_strip _write_object .subsections_via_symbols
AnghaBench/git/builtin/extr_pack-objects.c_write_object.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _startGame ## -- Begin function startGame .p2align 4, 0x90 _startGame: ## @startGame .cfi_startproc ## %bb.0: ## kill: def $edi killed $edi def $rdi decl %edi cmpl $6, %edi ja LBB0_10 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq LJTI0_0(%rip), %rax movslq (%rax,%rdi,4), %rcx addq %rax, %rcx jmpq *%rcx LBB0_2: movl $1, _kingdomsVisited(%rip) jmp LBB0_9 LBB0_10: retq LBB0_3: movl $1, _kingdomsVisited+4(%rip) jmp LBB0_9 LBB0_4: movl $1, _kingdomsVisited+8(%rip) jmp LBB0_9 LBB0_5: movl $1, _kingdomsVisited+12(%rip) jmp LBB0_9 LBB0_6: movl $1, _kingdomsVisited+16(%rip) jmp LBB0_9 LBB0_7: movl $1, _kingdomsVisited+20(%rip) jmp LBB0_9 LBB0_8: movl $1, _kingdomsVisited+24(%rip) LBB0_9: movl %esi, %edi popq %rbp jmp _visitNext ## TAILCALL .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .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 LJTI0_0: .long L0_0_set_2 .long L0_0_set_3 .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 .end_data_region ## -- End function .globl _visitNext ## -- Begin function visitNext .p2align 4, 0x90 _visitNext: ## @visitNext .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx leaq L_str(%rip), %rdi callq _puts cmpl $0, _kingdomsVisited(%rip) je LBB1_1 ## %bb.2: cmpl $0, _kingdomsVisited+4(%rip) je LBB1_3 LBB1_4: cmpl $0, _kingdomsVisited+8(%rip) je LBB1_5 LBB1_6: cmpl $0, _kingdomsVisited+12(%rip) je LBB1_7 LBB1_8: cmpl $0, _kingdomsVisited+16(%rip) je LBB1_9 LBB1_10: cmpl $0, _kingdomsVisited+20(%rip) je LBB1_11 LBB1_12: cmpl $0, _kingdomsVisited+24(%rip) je LBB1_13 LBB1_14: leaq L_.str.9(%rip), %rdi leaq -12(%rbp), %rsi xorl %eax, %eax callq _scanf movslq -12(%rbp), %rdi leaq _kingdomsVisited(%rip), %rax cmpl $1, -4(%rax,%rdi,4) je LBB1_17 ## %bb.15: cmpl $8, %edi jg LBB1_17 ## %bb.16: testl %edi, %edi jg LBB1_18 LBB1_17: leaq L_str.383(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -12(%rbp), %rsi xorl %eax, %eax callq _scanf movl -12(%rbp), %edi LBB1_18: ## kill: def $edi killed $edi killed $rdi movl %ebx, %esi callq _markCity addq $8, %rsp popq %rbx popq %rbp retq LBB1_1: movq _kingdomsVisitedNames(%rip), %rdx leaq L_.str.8(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _printf cmpl $0, _kingdomsVisited+4(%rip) jne LBB1_4 LBB1_3: movq _kingdomsVisitedNames+8(%rip), %rdx leaq L_.str.8(%rip), %rdi movl $2, %esi xorl %eax, %eax callq _printf cmpl $0, _kingdomsVisited+8(%rip) jne LBB1_6 LBB1_5: movq _kingdomsVisitedNames+16(%rip), %rdx leaq L_.str.8(%rip), %rdi movl $3, %esi xorl %eax, %eax callq _printf cmpl $0, _kingdomsVisited+12(%rip) jne LBB1_8 LBB1_7: movq _kingdomsVisitedNames+24(%rip), %rdx leaq L_.str.8(%rip), %rdi movl $4, %esi xorl %eax, %eax callq _printf cmpl $0, _kingdomsVisited+16(%rip) jne LBB1_10 LBB1_9: movq _kingdomsVisitedNames+32(%rip), %rdx leaq L_.str.8(%rip), %rdi movl $5, %esi xorl %eax, %eax callq _printf cmpl $0, _kingdomsVisited+20(%rip) jne LBB1_12 LBB1_11: movq _kingdomsVisitedNames+40(%rip), %rdx leaq L_.str.8(%rip), %rdi movl $6, %esi xorl %eax, %eax callq _printf cmpl $0, _kingdomsVisited+24(%rip) jne LBB1_14 LBB1_13: movq _kingdomsVisitedNames+48(%rip), %rdx leaq L_.str.8(%rip), %rdi movl $7, %esi xorl %eax, %eax callq _printf jmp LBB1_14 .cfi_endproc ## -- End function .globl _markCity ## -- Begin function markCity .p2align 4, 0x90 _markCity: ## @markCity .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 decl %edi cmpl $1, %esi jne LBB2_10 ## %bb.1: cmpl $6, %edi ja LBB2_19 ## %bb.2: leaq LJTI2_1(%rip), %rax movslq (%rax,%rdi,4), %rcx addq %rax, %rcx jmpq *%rcx LBB2_3: movl $1, _kingdomsVisited(%rip) movl $1, %edi popq %rbp jmp _northQE ## TAILCALL LBB2_10: cmpl $6, %edi ja LBB2_19 ## %bb.11: leaq LJTI2_0(%rip), %rax movslq (%rax,%rdi,4), %rcx addq %rax, %rcx jmpq *%rcx LBB2_12: movl $1, _kingdomsVisited(%rip) movl %esi, %edi popq %rbp jmp _northQH ## TAILCALL LBB2_19: popq %rbp retq LBB2_4: movl $1, _kingdomsVisited+4(%rip) movl $1, %edi popq %rbp jmp _islesQE ## TAILCALL LBB2_5: movl $1, _kingdomsVisited+8(%rip) movl $1, %edi popq %rbp jmp _valeQE ## TAILCALL LBB2_6: movl $1, _kingdomsVisited+12(%rip) movl $1, %edi popq %rbp jmp _rockQE ## TAILCALL LBB2_7: movl $1, _kingdomsVisited+16(%rip) movl $1, %edi popq %rbp jmp _reachQE ## TAILCALL LBB2_8: movl $1, _kingdomsVisited+20(%rip) movl $1, %edi popq %rbp jmp _stormlandsQE ## TAILCALL LBB2_9: movl $1, _kingdomsVisited+24(%rip) movl $1, %edi popq %rbp jmp _dorneQE ## TAILCALL LBB2_13: movl $1, _kingdomsVisited+4(%rip) movl %esi, %edi popq %rbp jmp _islesQH ## TAILCALL LBB2_14: movl $1, _kingdomsVisited+8(%rip) movl %esi, %edi popq %rbp jmp _valeQH ## TAILCALL LBB2_15: movl $1, _kingdomsVisited+12(%rip) movl %esi, %edi popq %rbp jmp _rockQH ## TAILCALL LBB2_16: movl $1, _kingdomsVisited+16(%rip) movl %esi, %edi popq %rbp jmp _reachQH ## TAILCALL LBB2_17: movl $1, _kingdomsVisited+20(%rip) movl %esi, %edi popq %rbp jmp _stormlandsQH ## TAILCALL LBB2_18: movl $1, _kingdomsVisited+24(%rip) movl %esi, %edi popq %rbp jmp _dorneQH ## TAILCALL .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L2_0_set_12, LBB2_12-LJTI2_0 .set L2_0_set_13, LBB2_13-LJTI2_0 .set L2_0_set_14, LBB2_14-LJTI2_0 .set L2_0_set_15, LBB2_15-LJTI2_0 .set L2_0_set_16, LBB2_16-LJTI2_0 .set L2_0_set_17, LBB2_17-LJTI2_0 .set L2_0_set_18, LBB2_18-LJTI2_0 LJTI2_0: .long L2_0_set_12 .long L2_0_set_13 .long L2_0_set_14 .long L2_0_set_15 .long L2_0_set_16 .long L2_0_set_17 .long L2_0_set_18 .set L2_1_set_3, LBB2_3-LJTI2_1 .set L2_1_set_4, LBB2_4-LJTI2_1 .set L2_1_set_5, LBB2_5-LJTI2_1 .set L2_1_set_6, LBB2_6-LJTI2_1 .set L2_1_set_7, LBB2_7-LJTI2_1 .set L2_1_set_8, LBB2_8-LJTI2_1 .set L2_1_set_9, LBB2_9-LJTI2_1 LJTI2_1: .long L2_1_set_3 .long L2_1_set_4 .long L2_1_set_5 .long L2_1_set_6 .long L2_1_set_7 .long L2_1_set_8 .long L2_1_set_9 .end_data_region ## -- End function .globl _northQE ## -- Begin function northQE .p2align 4, 0x90 _northQE: ## @northQE .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 leaq L_str.384(%rip), %rdi callq _puts leaq L_str.385(%rip), %rdi callq _puts leaq L_str.386(%rip), %rdi callq _puts leaq L_str.387(%rip), %rdi callq _puts leaq L_str.388(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB3_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB3_5 LBB3_2: cmpl $1, %eax jne LBB3_4 ## %bb.3: addl $1000, _userTroops(%rip) ## imm = 0x3E8 movl $1, %ebx jmp LBB3_5 LBB3_4: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 xorl %ebx, %ebx LBB3_5: leaq L_str.389(%rip), %rdi callq _puts leaq L_str.390(%rip), %rdi callq _puts leaq L_str.391(%rip), %rdi callq _puts leaq L_str.392(%rip), %rdi callq _puts leaq L_str.393(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB3_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB3_10 LBB3_7: cmpl $3, %eax jne LBB3_9 ## %bb.8: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB3_10 LBB3_9: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB3_10: leaq L_str.394(%rip), %rdi callq _puts leaq L_str.395(%rip), %rdi callq _puts leaq L_str.732(%rip), %rdi callq _puts leaq L_str.397(%rip), %rdi callq _puts leaq L_str.398(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB3_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB3_15 LBB3_12: cmpl $2, %eax jne LBB3_14 ## %bb.13: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB3_15 LBB3_14: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB3_15: leaq L_str.399(%rip), %rdi callq _puts leaq L_str.400(%rip), %rdi callq _puts leaq L_str.401(%rip), %rdi callq _puts leaq L_str.402(%rip), %rdi callq _puts leaq L_str.403(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB3_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB3_20 LBB3_17: cmpl $2, %eax jne LBB3_19 ## %bb.18: addl $3000, _userTroops(%rip) ## imm = 0xBB8 incl %ebx jmp LBB3_20 LBB3_19: addl $3000, _aiTroops(%rip) ## imm = 0xBB8 LBB3_20: leaq L_str.404(%rip), %rdi callq _puts leaq L_str.405(%rip), %rdi callq _puts leaq L_str.406(%rip), %rdi callq _puts leaq L_str.407(%rip), %rdi callq _puts leaq L_str.408(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB3_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB3_25 LBB3_22: cmpl $3, %eax jne LBB3_24 ## %bb.23: addl $5000, _userTroops(%rip) ## imm = 0x1388 incl %ebx jmp LBB3_25 LBB3_24: addl $5000, _aiTroops(%rip) ## imm = 0x1388 LBB3_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB3_28 ## %bb.26: testl %eax, %eax jne LBB3_28 ## %bb.27: movl $-500, %ebx ## imm = 0xFE0C leaq L_str.614(%rip), %rdi jmp LBB3_32 LBB3_28: cmpl $2, %ebx ja LBB3_31 ## %bb.29: testl %eax, %eax jne LBB3_31 ## %bb.30: movl $-1500, %ebx ## imm = 0xFA24 leaq L_str.411(%rip), %rdi jmp LBB3_32 LBB3_31: cmpl $3, %ebx setae %cl cmpl $1, %eax sete %al leaq L_str.612(%rip), %rdx leaq L_str.611(%rip), %rdi testb %al, %cl cmovneq %rdx, %rdi movl $-1000, %eax ## imm = 0xFC18 movl $-3000, %ebx ## imm = 0xF448 cmovnel %eax, %ebx LBB3_32: callq _puts addl %ebx, _userTroops(%rip) movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _islesQE ## -- Begin function islesQE .p2align 4, 0x90 _islesQE: ## @islesQE .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 leaq L_str.413(%rip), %rdi callq _puts leaq L_str.414(%rip), %rdi callq _puts leaq L_str.415(%rip), %rdi callq _puts leaq L_str.416(%rip), %rdi callq _puts leaq L_str.417(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB4_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB4_5 LBB4_2: cmpl $1, %eax jne LBB4_4 ## %bb.3: addl $2000, _userTroops(%rip) ## imm = 0x7D0 movl $1, %ebx jmp LBB4_5 LBB4_4: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 xorl %ebx, %ebx LBB4_5: leaq L_str.418(%rip), %rdi callq _puts leaq L_str.419(%rip), %rdi callq _puts leaq L_str.420(%rip), %rdi callq _puts leaq L_str.421(%rip), %rdi callq _puts leaq L_str.422(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB4_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB4_10 LBB4_7: cmpl $3, %eax jne LBB4_9 ## %bb.8: addl $1000, _userTroops(%rip) ## imm = 0x3E8 incl %ebx jmp LBB4_10 LBB4_9: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 LBB4_10: leaq L_str.423(%rip), %rdi callq _puts leaq L_str.424(%rip), %rdi callq _puts leaq L_str.425(%rip), %rdi callq _puts leaq L_str.426(%rip), %rdi callq _puts leaq L_str.427(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB4_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB4_15 LBB4_12: cmpl $4, %eax jne LBB4_14 ## %bb.13: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB4_15 LBB4_14: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB4_15: leaq L_str.428(%rip), %rdi callq _puts leaq L_str.429(%rip), %rdi callq _puts leaq L_str.430(%rip), %rdi callq _puts leaq L_str.431(%rip), %rdi callq _puts leaq L_str.432(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB4_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB4_20 LBB4_17: cmpl $4, %eax jne LBB4_19 ## %bb.18: addl $1000, _userTroops(%rip) ## imm = 0x3E8 incl %ebx jmp LBB4_20 LBB4_19: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 LBB4_20: leaq L_str.433(%rip), %rdi callq _puts leaq L_str.434(%rip), %rdi callq _puts leaq L_str.435(%rip), %rdi callq _puts leaq L_str.436(%rip), %rdi callq _puts leaq L_str.437(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB4_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB4_25 LBB4_22: cmpl $3, %eax jne LBB4_24 ## %bb.23: addl $5000, _userTroops(%rip) ## imm = 0x1388 incl %ebx jmp LBB4_25 LBB4_24: addl $5000, _aiTroops(%rip) ## imm = 0x1388 LBB4_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB4_28 ## %bb.26: testl %eax, %eax jne LBB4_28 ## %bb.27: leaq L_str.643(%rip), %rdi callq _puts addl $4000, _userTroops(%rip) ## imm = 0xFA0 jmp LBB4_36 LBB4_28: cmpl $2, %ebx ja LBB4_31 ## %bb.29: testl %eax, %eax jne LBB4_31 ## %bb.30: leaq L_str.642(%rip), %rdi callq _puts jmp LBB4_35 LBB4_31: cmpl $3, %ebx jb LBB4_34 ## %bb.32: cmpl $1, %eax jne LBB4_34 ## %bb.33: leaq L_str.641(%rip), %rdi callq _puts jmp LBB4_36 LBB4_34: leaq L_.str.120(%rip), %rdi xorl %eax, %eax callq _printf LBB4_35: addl $-2000, _userTroops(%rip) ## imm = 0xF830 LBB4_36: movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _valeQE ## -- Begin function valeQE .p2align 4, 0x90 _valeQE: ## @valeQE .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 leaq L_str.441(%rip), %rdi callq _puts leaq L_str.442(%rip), %rdi callq _puts leaq L_str.559(%rip), %rdi callq _puts leaq L_str.444(%rip), %rdi callq _puts leaq L_str.445(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB5_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB5_5 LBB5_2: cmpl $3, %eax jne LBB5_4 ## %bb.3: addl $3000, _userTroops(%rip) ## imm = 0xBB8 movl $1, %ebx jmp LBB5_5 LBB5_4: addl $3000, _aiTroops(%rip) ## imm = 0xBB8 xorl %ebx, %ebx LBB5_5: leaq L_str.446(%rip), %rdi callq _puts leaq L_str.447(%rip), %rdi callq _puts leaq L_str.448(%rip), %rdi callq _puts leaq L_str.449(%rip), %rdi callq _puts leaq L_str.450(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB5_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB5_10 LBB5_7: cmpl $3, %eax jne LBB5_9 ## %bb.8: addl $4000, _userTroops(%rip) ## imm = 0xFA0 incl %ebx jmp LBB5_10 LBB5_9: addl $4000, _aiTroops(%rip) ## imm = 0xFA0 LBB5_10: leaq L_str.451(%rip), %rdi callq _puts leaq L_str.452(%rip), %rdi callq _puts leaq L_str.453(%rip), %rdi callq _puts leaq L_str.454(%rip), %rdi callq _puts leaq L_str.455(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB5_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB5_15 LBB5_12: cmpl $3, %eax jne LBB5_14 ## %bb.13: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB5_15 LBB5_14: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB5_15: leaq L_str.456(%rip), %rdi callq _puts leaq L_str.457(%rip), %rdi callq _puts leaq L_str.458(%rip), %rdi callq _puts leaq L_str.459(%rip), %rdi callq _puts leaq L_str.460(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB5_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB5_20 LBB5_17: cmpl $2, %eax jne LBB5_19 ## %bb.18: addl $4000, _userTroops(%rip) ## imm = 0xFA0 incl %ebx jmp LBB5_20 LBB5_19: addl $4000, _aiTroops(%rip) ## imm = 0xFA0 LBB5_20: leaq L_str.461(%rip), %rdi callq _puts leaq L_str.462(%rip), %rdi callq _puts leaq L_str.463(%rip), %rdi callq _puts leaq L_str.464(%rip), %rdi callq _puts leaq L_str.465(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB5_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB5_25 LBB5_22: cmpl $2, %eax jne LBB5_24 ## %bb.23: addl $1000, _userTroops(%rip) ## imm = 0x3E8 incl %ebx jmp LBB5_25 LBB5_24: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 LBB5_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB5_28 ## %bb.26: testl %eax, %eax jne LBB5_28 ## %bb.27: movl $2000, %ebx ## imm = 0x7D0 leaq L_str.670(%rip), %rdi jmp LBB5_32 LBB5_28: cmpl $2, %ebx ja LBB5_31 ## %bb.29: testl %eax, %eax jne LBB5_31 ## %bb.30: movl $-2000, %ebx ## imm = 0xF830 leaq L_str.669(%rip), %rdi jmp LBB5_32 LBB5_31: cmpl $3, %ebx setae %cl cmpl $1, %eax sete %al leaq L_str.668(%rip), %rdx leaq L_str.667(%rip), %rdi testb %al, %cl cmovneq %rdx, %rdi movl $-2000, %eax ## imm = 0xF830 movl $-4000, %ebx ## imm = 0xF060 cmovnel %eax, %ebx LBB5_32: callq _puts addl %ebx, _userTroops(%rip) movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _rockQE ## -- Begin function rockQE .p2align 4, 0x90 _rockQE: ## @rockQE .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 leaq L_str.470(%rip), %rdi callq _puts leaq L_str.471(%rip), %rdi callq _puts leaq L_str.472(%rip), %rdi callq _puts leaq L_str.473(%rip), %rdi callq _puts leaq L_str.474(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB6_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB6_5 LBB6_2: cmpl $1, %eax jne LBB6_4 ## %bb.3: addl $1000, _userTroops(%rip) ## imm = 0x3E8 movl $1, %ebx jmp LBB6_5 LBB6_4: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 xorl %ebx, %ebx LBB6_5: leaq L_str.475(%rip), %rdi callq _puts leaq L_str.476(%rip), %rdi callq _puts leaq L_str.477(%rip), %rdi callq _puts leaq L_str.478(%rip), %rdi callq _puts leaq L_str.479(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB6_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB6_10 LBB6_7: cmpl $4, %eax jne LBB6_9 ## %bb.8: addl $3000, _userTroops(%rip) ## imm = 0xBB8 incl %ebx jmp LBB6_10 LBB6_9: addl $3000, _aiTroops(%rip) ## imm = 0xBB8 LBB6_10: leaq L_str.480(%rip), %rdi callq _puts leaq L_str.481(%rip), %rdi callq _puts leaq L_str.482(%rip), %rdi callq _puts leaq L_str.483(%rip), %rdi callq _puts leaq L_str.765(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB6_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB6_15 LBB6_12: cmpl $2, %eax jne LBB6_14 ## %bb.13: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB6_15 LBB6_14: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB6_15: leaq L_str.485(%rip), %rdi callq _puts leaq L_str.486(%rip), %rdi callq _puts leaq L_str.487(%rip), %rdi callq _puts leaq L_str.488(%rip), %rdi callq _puts leaq L_str.489(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB6_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB6_20 LBB6_17: cmpl $3, %eax jne LBB6_19 ## %bb.18: addl $1000, _userTroops(%rip) ## imm = 0x3E8 incl %ebx jmp LBB6_20 LBB6_19: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 LBB6_20: leaq L_str.490(%rip), %rdi callq _puts leaq L_str.491(%rip), %rdi callq _puts leaq L_str.492(%rip), %rdi callq _puts leaq L_str.493(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -4(%rax), %ecx cmpl $-4, %ecx ja LBB6_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB6_25 LBB6_22: cmpl $1, %eax jne LBB6_24 ## %bb.23: addl $1000, _userTroops(%rip) ## imm = 0x3E8 incl %ebx jmp LBB6_25 LBB6_24: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 LBB6_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB6_30 ## %bb.26: testl %eax, %eax jne LBB6_30 ## %bb.27: movl _userTroops(%rip), %eax cmpl _aiTroops(%rip), %eax jle LBB6_29 ## %bb.28: leaq L_str.700(%rip), %rdi callq _puts addl $-3000, _userTroops(%rip) ## imm = 0xF448 addl $-4000, _aiTroops(%rip) ## imm = 0xF060 jmp LBB6_37 LBB6_30: cmpl $2, %ebx ja LBB6_33 ## %bb.31: testl %eax, %eax jne LBB6_33 ## %bb.32: leaq L_str.698(%rip), %rdi callq _puts addl $-4000, _userTroops(%rip) ## imm = 0xF060 addl $-2000, _aiTroops(%rip) ## imm = 0xF830 jmp LBB6_37 LBB6_33: cmpl $3, %ebx jb LBB6_36 ## %bb.34: cmpl $1, %eax jne LBB6_36 ## %bb.35: leaq L_str.697(%rip), %rdi callq _puts addl $2000, _userTroops(%rip) ## imm = 0x7D0 jmp LBB6_37 LBB6_29: leaq L_str.699(%rip), %rdi callq _puts addl $-3000, _userTroops(%rip) ## imm = 0xF448 addl $-2000, _aiTroops(%rip) ## imm = 0xF830 jmp LBB6_37 LBB6_36: leaq L_str.696(%rip), %rdi callq _puts LBB6_37: movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _reachQE ## -- Begin function reachQE .p2align 4, 0x90 _reachQE: ## @reachQE .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 leaq L_str.499(%rip), %rdi callq _puts leaq L_str.658(%rip), %rdi callq _puts leaq L_str.501(%rip), %rdi callq _puts leaq L_str.502(%rip), %rdi callq _puts leaq L_str.690(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB7_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB7_5 LBB7_2: cmpl $3, %eax jne LBB7_4 ## %bb.3: addl $1000, _userTroops(%rip) ## imm = 0x3E8 movl $1, %ebx jmp LBB7_5 LBB7_4: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 xorl %ebx, %ebx LBB7_5: leaq L_str.504(%rip), %rdi callq _puts leaq L_str.505(%rip), %rdi callq _puts leaq L_str.506(%rip), %rdi callq _puts leaq L_str.507(%rip), %rdi callq _puts leaq L_str.508(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB7_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB7_10 LBB7_7: cmpl $4, %eax jne LBB7_9 ## %bb.8: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB7_10 LBB7_9: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB7_10: leaq L_str.509(%rip), %rdi callq _puts leaq L_str.510(%rip), %rdi callq _puts leaq L_str.511(%rip), %rdi callq _puts leaq L_str.689(%rip), %rdi callq _puts leaq L_str.513(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB7_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB7_15 LBB7_12: cmpl $1, %eax jne LBB7_14 ## %bb.13: addl $3000, _userTroops(%rip) ## imm = 0xBB8 incl %ebx jmp LBB7_15 LBB7_14: addl $3000, _aiTroops(%rip) ## imm = 0xBB8 LBB7_15: leaq L_str.514(%rip), %rdi callq _puts leaq L_str.515(%rip), %rdi callq _puts leaq L_str.516(%rip), %rdi callq _puts leaq L_str.517(%rip), %rdi callq _puts leaq L_str.518(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB7_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB7_20 LBB7_17: cmpl $3, %eax jne LBB7_19 ## %bb.18: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB7_20 LBB7_19: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB7_20: leaq L_str.519(%rip), %rdi callq _puts leaq L_str.520(%rip), %rdi callq _puts leaq L_str.521(%rip), %rdi callq _puts leaq L_str.522(%rip), %rdi callq _puts leaq L_str.523(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB7_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB7_25 LBB7_22: cmpl $2, %eax jne LBB7_24 ## %bb.23: addl $3000, _userTroops(%rip) ## imm = 0xBB8 incl %ebx jmp LBB7_25 LBB7_24: addl $3000, _aiTroops(%rip) ## imm = 0xBB8 LBB7_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB7_28 ## %bb.26: testl %eax, %eax jne LBB7_28 ## %bb.27: leaq L_str.729(%rip), %rdi callq _puts addl $-1000, _userTroops(%rip) ## imm = 0xFC18 addl $-2000, _aiTroops(%rip) ## imm = 0xF830 jmp LBB7_35 LBB7_28: cmpl $2, %ebx ja LBB7_31 ## %bb.29: testl %eax, %eax jne LBB7_31 ## %bb.30: leaq L_str.728(%rip), %rdi callq _puts addl $-2000, _userTroops(%rip) ## imm = 0xF830 jmp LBB7_35 LBB7_31: cmpl $3, %ebx jb LBB7_34 ## %bb.32: cmpl $1, %eax jne LBB7_34 ## %bb.33: leaq L_str.727(%rip), %rdi callq _puts addl $3000, _userTroops(%rip) ## imm = 0xBB8 jmp LBB7_35 LBB7_34: leaq L_str.726(%rip), %rdi callq _puts LBB7_35: movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _stormlandsQE ## -- Begin function stormlandsQE .p2align 4, 0x90 _stormlandsQE: ## @stormlandsQE .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 leaq L_str.528(%rip), %rdi callq _puts leaq L_str.529(%rip), %rdi callq _puts leaq L_str.530(%rip), %rdi callq _puts leaq L_str.531(%rip), %rdi callq _puts leaq L_str.532(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB8_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB8_5 LBB8_2: cmpl $3, %eax jne LBB8_4 ## %bb.3: addl $2000, _userTroops(%rip) ## imm = 0x7D0 movl $1, %ebx jmp LBB8_5 LBB8_4: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 xorl %ebx, %ebx LBB8_5: leaq L_str.533(%rip), %rdi callq _puts leaq L_str.534(%rip), %rdi callq _puts leaq L_str.535(%rip), %rdi callq _puts leaq L_str.536(%rip), %rdi callq _puts leaq L_str.537(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB8_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB8_10 LBB8_7: cmpl $2, %eax jne LBB8_9 ## %bb.8: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB8_10 LBB8_9: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB8_10: leaq L_str.538(%rip), %rdi callq _puts leaq L_str.539(%rip), %rdi callq _puts leaq L_str.540(%rip), %rdi callq _puts leaq L_str.541(%rip), %rdi callq _puts leaq L_str.542(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB8_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB8_15 LBB8_12: cmpl $2, %eax jne LBB8_14 ## %bb.13: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB8_15 LBB8_14: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB8_15: leaq L_str.543(%rip), %rdi callq _puts leaq L_str.544(%rip), %rdi callq _puts leaq L_str.545(%rip), %rdi callq _puts leaq L_str.546(%rip), %rdi callq _puts leaq L_str.547(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB8_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB8_20 LBB8_17: cmpl $4, %eax jne LBB8_19 ## %bb.18: addl $1000, _userTroops(%rip) ## imm = 0x3E8 incl %ebx jmp LBB8_20 LBB8_19: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 LBB8_20: leaq L_str.548(%rip), %rdi callq _puts leaq L_str.549(%rip), %rdi callq _puts leaq L_str.550(%rip), %rdi callq _puts leaq L_str.551(%rip), %rdi callq _puts leaq L_str.552(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB8_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB8_25 LBB8_22: cmpl $4, %eax jne LBB8_24 ## %bb.23: addl $1000, _userTroops(%rip) ## imm = 0x3E8 incl %ebx jmp LBB8_25 LBB8_24: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 LBB8_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB8_28 ## %bb.26: testl %eax, %eax jne LBB8_28 ## %bb.27: movl $-1000, %ebx ## imm = 0xFC18 leaq L_str.755(%rip), %rdi jmp LBB8_32 LBB8_28: cmpl $2, %ebx ja LBB8_31 ## %bb.29: testl %eax, %eax jne LBB8_31 ## %bb.30: movl $-2000, %ebx ## imm = 0xF830 leaq L_str.754(%rip), %rdi jmp LBB8_32 LBB8_31: cmpl $3, %ebx setae %cl cmpl $1, %eax sete %al leaq L_str.753(%rip), %rdx leaq L_str.752(%rip), %rdi testb %al, %cl cmovneq %rdx, %rdi movl $1000, %eax ## imm = 0x3E8 movl $-2000, %ebx ## imm = 0xF830 cmovnel %eax, %ebx LBB8_32: callq _puts addl %ebx, _userTroops(%rip) movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _dorneQE ## -- Begin function dorneQE .p2align 4, 0x90 _dorneQE: ## @dorneQE .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 leaq L_str.557(%rip), %rdi callq _puts leaq L_str.558(%rip), %rdi callq _puts leaq L_str.559(%rip), %rdi callq _puts leaq L_str.560(%rip), %rdi callq _puts leaq L_str.561(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB9_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB9_5 LBB9_2: cmpl $2, %eax jne LBB9_4 ## %bb.3: addl $1000, _userTroops(%rip) ## imm = 0x3E8 movl $1, %ebx jmp LBB9_5 LBB9_4: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 xorl %ebx, %ebx LBB9_5: leaq L_str.562(%rip), %rdi callq _puts leaq L_str.563(%rip), %rdi callq _puts leaq L_str.564(%rip), %rdi callq _puts leaq L_str.565(%rip), %rdi callq _puts leaq L_str.566(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB9_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB9_10 LBB9_7: cmpl $1, %eax jne LBB9_9 ## %bb.8: addl $1000, _userTroops(%rip) ## imm = 0x3E8 incl %ebx jmp LBB9_10 LBB9_9: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 LBB9_10: leaq L_str.567(%rip), %rdi callq _puts leaq L_str.568(%rip), %rdi callq _puts leaq L_str.569(%rip), %rdi callq _puts leaq L_str.570(%rip), %rdi callq _puts leaq L_str.571(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB9_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB9_15 LBB9_12: cmpl $1, %eax jne LBB9_14 ## %bb.13: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB9_15 LBB9_14: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB9_15: leaq L_str.572(%rip), %rdi callq _puts leaq L_str.573(%rip), %rdi callq _puts leaq L_str.574(%rip), %rdi callq _puts leaq L_str.575(%rip), %rdi callq _puts leaq L_str.576(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB9_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB9_20 LBB9_17: cmpl $3, %eax jne LBB9_19 ## %bb.18: addl $1000, _userTroops(%rip) ## imm = 0x3E8 incl %ebx jmp LBB9_20 LBB9_19: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 LBB9_20: leaq L_str.577(%rip), %rdi callq _puts leaq L_str.578(%rip), %rdi callq _puts leaq L_str.579(%rip), %rdi callq _puts leaq L_str.580(%rip), %rdi callq _puts leaq L_str.581(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB9_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB9_25 LBB9_22: cmpl $4, %eax jne LBB9_24 ## %bb.23: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB9_25 LBB9_24: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB9_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB9_28 ## %bb.26: testl %eax, %eax jne LBB9_28 ## %bb.27: movl $1000, %ebx ## imm = 0x3E8 leaq L_str.784(%rip), %rdi jmp LBB9_32 LBB9_28: cmpl $2, %ebx ja LBB9_31 ## %bb.29: testl %eax, %eax jne LBB9_31 ## %bb.30: movl $-2000, %ebx ## imm = 0xF830 leaq L_str.783(%rip), %rdi jmp LBB9_32 LBB9_31: cmpl $3, %ebx setae %cl cmpl $1, %eax sete %al leaq L_str.782(%rip), %rdx leaq L_str.781(%rip), %rdi testb %al, %cl cmovneq %rdx, %rdi movl $-2000, %eax ## imm = 0xF830 movl $-4000, %ebx ## imm = 0xF060 cmovnel %eax, %ebx LBB9_32: callq _puts addl %ebx, _userTroops(%rip) movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _northQH ## -- Begin function northQH .p2align 4, 0x90 _northQH: ## @northQH .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 leaq L_str.586(%rip), %rdi callq _puts leaq L_str.587(%rip), %rdi callq _puts leaq L_str.588(%rip), %rdi callq _puts leaq L_str.589(%rip), %rdi callq _puts leaq L_str.590(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB10_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB10_5 LBB10_2: cmpl $3, %eax jne LBB10_4 ## %bb.3: addl $3000, _userTroops(%rip) ## imm = 0xBB8 movl $1, %ebx jmp LBB10_5 LBB10_4: addl $3000, _aiTroops(%rip) ## imm = 0xBB8 xorl %ebx, %ebx LBB10_5: leaq L_str.591(%rip), %rdi callq _puts leaq L_str.592(%rip), %rdi callq _puts leaq L_str.593(%rip), %rdi callq _puts leaq L_str.594(%rip), %rdi callq _puts leaq L_str.600(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB10_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB10_10 LBB10_7: cmpl $2, %eax jne LBB10_9 ## %bb.8: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB10_10 LBB10_9: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB10_10: leaq L_str.596(%rip), %rdi callq _puts leaq L_str.597(%rip), %rdi callq _puts leaq L_str.598(%rip), %rdi callq _puts leaq L_str.599(%rip), %rdi callq _puts leaq L_str.600(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB10_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB10_15 LBB10_12: cmpl $2, %eax jne LBB10_14 ## %bb.13: addl $4000, _userTroops(%rip) ## imm = 0xFA0 incl %ebx jmp LBB10_15 LBB10_14: addl $4000, _aiTroops(%rip) ## imm = 0xFA0 LBB10_15: leaq L_str.601(%rip), %rdi callq _puts leaq L_str.602(%rip), %rdi callq _puts leaq L_str.603(%rip), %rdi callq _puts leaq L_str.604(%rip), %rdi callq _puts leaq L_str.605(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB10_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB10_20 LBB10_17: cmpl $2, %eax jne LBB10_19 ## %bb.18: addl $4000, _userTroops(%rip) ## imm = 0xFA0 incl %ebx jmp LBB10_20 LBB10_19: addl $4000, _aiTroops(%rip) ## imm = 0xFA0 LBB10_20: leaq L_str.606(%rip), %rdi callq _puts leaq L_str.607(%rip), %rdi callq _puts leaq L_str.608(%rip), %rdi callq _puts leaq L_str.609(%rip), %rdi callq _puts leaq L_str.661(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB10_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB10_25 LBB10_22: cmpl $3, %eax jne LBB10_24 ## %bb.23: addl $5000, _userTroops(%rip) ## imm = 0x1388 incl %ebx jmp LBB10_25 LBB10_24: addl $5000, _aiTroops(%rip) ## imm = 0x1388 LBB10_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB10_28 ## %bb.26: testl %eax, %eax jne LBB10_28 ## %bb.27: movl $-500, %ebx ## imm = 0xFE0C leaq L_str.614(%rip), %rdi jmp LBB10_32 LBB10_28: cmpl $2, %ebx ja LBB10_31 ## %bb.29: testl %eax, %eax jne LBB10_31 ## %bb.30: movl $-1500, %ebx ## imm = 0xFA24 leaq L_str.613(%rip), %rdi jmp LBB10_32 LBB10_31: cmpl $3, %ebx setae %cl cmpl $1, %eax sete %al leaq L_str.612(%rip), %rdx leaq L_str.611(%rip), %rdi testb %al, %cl cmovneq %rdx, %rdi movl $-1000, %eax ## imm = 0xFC18 movl $-3000, %ebx ## imm = 0xF448 cmovnel %eax, %ebx LBB10_32: callq _puts addl %ebx, _userTroops(%rip) movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _islesQH ## -- Begin function islesQH .p2align 4, 0x90 _islesQH: ## @islesQH .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 leaq L_str.615(%rip), %rdi callq _puts leaq L_str.616(%rip), %rdi callq _puts leaq L_str.617(%rip), %rdi callq _puts leaq L_str.618(%rip), %rdi callq _puts leaq L_str.619(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB11_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB11_5 LBB11_2: cmpl $1, %eax jne LBB11_4 ## %bb.3: addl $2000, _userTroops(%rip) ## imm = 0x7D0 movl $1, %ebx jmp LBB11_5 LBB11_4: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 xorl %ebx, %ebx LBB11_5: leaq L_str.620(%rip), %rdi callq _puts leaq L_str.621(%rip), %rdi callq _puts leaq L_str.622(%rip), %rdi callq _puts leaq L_str.623(%rip), %rdi callq _puts leaq L_str.624(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB11_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB11_10 LBB11_7: cmpl $2, %eax jne LBB11_9 ## %bb.8: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB11_10 LBB11_9: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB11_10: leaq L_str.625(%rip), %rdi callq _puts leaq L_str.626(%rip), %rdi callq _puts leaq L_str.627(%rip), %rdi callq _puts leaq L_str.628(%rip), %rdi callq _puts leaq L_str.629(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB11_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB11_15 LBB11_12: cmpl $3, %eax jne LBB11_14 ## %bb.13: addl $3000, _userTroops(%rip) ## imm = 0xBB8 incl %ebx jmp LBB11_15 LBB11_14: addl $3000, _aiTroops(%rip) ## imm = 0xBB8 LBB11_15: leaq L_str.630(%rip), %rdi callq _puts leaq L_str.631(%rip), %rdi callq _puts leaq L_str.632(%rip), %rdi callq _puts leaq L_str.633(%rip), %rdi callq _puts leaq L_str.634(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB11_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB11_20 LBB11_17: cmpl $3, %eax jne LBB11_19 ## %bb.18: addl $5000, _userTroops(%rip) ## imm = 0x1388 incl %ebx jmp LBB11_20 LBB11_19: addl $5000, _aiTroops(%rip) ## imm = 0x1388 LBB11_20: leaq L_str.635(%rip), %rdi callq _puts leaq L_str.636(%rip), %rdi callq _puts leaq L_str.637(%rip), %rdi callq _puts leaq L_str.638(%rip), %rdi callq _puts leaq L_str.639(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB11_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB11_25 LBB11_22: cmpl $4, %eax jne LBB11_24 ## %bb.23: addl $8000, _userTroops(%rip) ## imm = 0x1F40 incl %ebx jmp LBB11_25 LBB11_24: addl $8000, _aiTroops(%rip) ## imm = 0x1F40 LBB11_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB11_28 ## %bb.26: testl %eax, %eax jne LBB11_28 ## %bb.27: leaq L_str.643(%rip), %rdi callq _puts addl $4000, _userTroops(%rip) ## imm = 0xFA0 jmp LBB11_36 LBB11_28: cmpl $2, %ebx ja LBB11_31 ## %bb.29: testl %eax, %eax jne LBB11_31 ## %bb.30: leaq L_str.642(%rip), %rdi jmp LBB11_35 LBB11_31: cmpl $3, %ebx jb LBB11_34 ## %bb.32: cmpl $1, %eax jne LBB11_34 ## %bb.33: leaq L_str.641(%rip), %rdi callq _puts jmp LBB11_36 LBB11_34: leaq L_str.640(%rip), %rdi LBB11_35: callq _puts addl $-2000, _userTroops(%rip) ## imm = 0xF830 LBB11_36: movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _valeQH ## -- Begin function valeQH .p2align 4, 0x90 _valeQH: ## @valeQH .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 leaq L_str.644(%rip), %rdi callq _puts leaq L_str.645(%rip), %rdi callq _puts leaq L_str.646(%rip), %rdi callq _puts leaq L_str.647(%rip), %rdi callq _puts leaq L_str.648(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB12_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB12_5 LBB12_2: cmpl $3, %eax jne LBB12_4 ## %bb.3: addl $4000, _userTroops(%rip) ## imm = 0xFA0 movl $1, %ebx jmp LBB12_5 LBB12_4: addl $4000, _aiTroops(%rip) ## imm = 0xFA0 xorl %ebx, %ebx LBB12_5: leaq L_str.649(%rip), %rdi callq _puts leaq L_str.650(%rip), %rdi callq _puts leaq L_str.651(%rip), %rdi callq _puts leaq L_str.652(%rip), %rdi callq _puts leaq L_str.653(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB12_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB12_10 LBB12_7: cmpl $2, %eax jne LBB12_9 ## %bb.8: addl $5000, _userTroops(%rip) ## imm = 0x1388 incl %ebx jmp LBB12_10 LBB12_9: addl $5000, _aiTroops(%rip) ## imm = 0x1388 LBB12_10: leaq L_str.654(%rip), %rdi callq _puts leaq L_str.736(%rip), %rdi callq _puts leaq L_str.737(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax addl $-3, %eax cmpl $-3, %eax ja LBB12_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB12_13 LBB12_12: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB12_13: leaq L_str.657(%rip), %rdi callq _puts leaq L_str.658(%rip), %rdi callq _puts leaq L_str.659(%rip), %rdi callq _puts leaq L_str.660(%rip), %rdi callq _puts leaq L_str.661(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB12_15 ## %bb.14: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB12_18 LBB12_15: cmpl $4, %eax jne LBB12_17 ## %bb.16: addl $5000, _userTroops(%rip) ## imm = 0x1388 incl %ebx jmp LBB12_18 LBB12_17: addl $5000, _aiTroops(%rip) ## imm = 0x1388 LBB12_18: leaq L_str.662(%rip), %rdi callq _puts leaq L_str.663(%rip), %rdi callq _puts leaq L_str.664(%rip), %rdi callq _puts leaq L_str.665(%rip), %rdi callq _puts leaq L_str.666(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB12_20 ## %bb.19: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB12_23 LBB12_20: cmpl $2, %eax jne LBB12_22 ## %bb.21: addl $10000, _userTroops(%rip) ## imm = 0x2710 incl %ebx jmp LBB12_23 LBB12_22: addl $10000, _aiTroops(%rip) ## imm = 0x2710 LBB12_23: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB12_26 ## %bb.24: testl %eax, %eax jne LBB12_26 ## %bb.25: movl $2000, %ebx ## imm = 0x7D0 leaq L_str.670(%rip), %rdi jmp LBB12_30 LBB12_26: cmpl $2, %ebx ja LBB12_29 ## %bb.27: testl %eax, %eax jne LBB12_29 ## %bb.28: movl $-2000, %ebx ## imm = 0xF830 leaq L_str.669(%rip), %rdi jmp LBB12_30 LBB12_29: cmpl $3, %ebx setae %cl cmpl $1, %eax sete %al leaq L_str.668(%rip), %rdx leaq L_str.667(%rip), %rdi testb %al, %cl cmovneq %rdx, %rdi movl $-2000, %eax ## imm = 0xF830 movl $-4000, %ebx ## imm = 0xF060 cmovnel %eax, %ebx LBB12_30: callq _puts addl %ebx, _userTroops(%rip) movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _rockQH ## -- Begin function rockQH .p2align 4, 0x90 _rockQH: ## @rockQH .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 leaq L_str.671(%rip), %rdi callq _puts leaq L_str.748(%rip), %rdi callq _puts leaq L_str.673(%rip), %rdi callq _puts leaq L_str.750(%rip), %rdi callq _puts leaq L_str.751(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB13_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB13_5 LBB13_2: cmpl $1, %eax jne LBB13_4 ## %bb.3: addl $3000, _userTroops(%rip) ## imm = 0xBB8 movl $1, %ebx jmp LBB13_5 LBB13_4: addl $3000, _aiTroops(%rip) ## imm = 0xBB8 xorl %ebx, %ebx LBB13_5: leaq L_str.676(%rip), %rdi callq _puts leaq L_str.677(%rip), %rdi callq _puts leaq L_str.678(%rip), %rdi callq _puts leaq L_str.679(%rip), %rdi callq _puts leaq L_str.680(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB13_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB13_10 LBB13_7: cmpl $3, %eax jne LBB13_9 ## %bb.8: addl $5000, _userTroops(%rip) ## imm = 0x1388 incl %ebx jmp LBB13_10 LBB13_9: addl $5000, _aiTroops(%rip) ## imm = 0x1388 LBB13_10: leaq L_str.681(%rip), %rdi callq _puts leaq L_str.682(%rip), %rdi callq _puts leaq L_str.683(%rip), %rdi callq _puts leaq L_str.684(%rip), %rdi callq _puts leaq L_str.685(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB13_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB13_15 LBB13_12: cmpl $2, %eax jne LBB13_14 ## %bb.13: addl $5000, _userTroops(%rip) ## imm = 0x1388 incl %ebx jmp LBB13_15 LBB13_14: addl $5000, _aiTroops(%rip) ## imm = 0x1388 LBB13_15: leaq L_str.686(%rip), %rdi callq _puts leaq L_str.687(%rip), %rdi callq _puts leaq L_str.688(%rip), %rdi callq _puts leaq L_str.689(%rip), %rdi callq _puts leaq L_str.690(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB13_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB13_20 LBB13_17: cmpl $3, %eax jne LBB13_19 ## %bb.18: addl $4000, _userTroops(%rip) ## imm = 0xFA0 incl %ebx jmp LBB13_20 LBB13_19: addl $4000, _aiTroops(%rip) ## imm = 0xFA0 LBB13_20: leaq L_str.691(%rip), %rdi callq _puts leaq L_str.692(%rip), %rdi callq _puts leaq L_str.693(%rip), %rdi callq _puts leaq L_str.694(%rip), %rdi callq _puts leaq L_str.695(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -4(%rax), %ecx cmpl $-4, %ecx ja LBB13_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB13_25 LBB13_22: cmpl $2, %eax jne LBB13_24 ## %bb.23: addl $7000, _userTroops(%rip) ## imm = 0x1B58 incl %ebx jmp LBB13_25 LBB13_24: addl $7000, _aiTroops(%rip) ## imm = 0x1B58 LBB13_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB13_30 ## %bb.26: testl %eax, %eax jne LBB13_30 ## %bb.27: movl _userTroops(%rip), %eax cmpl _aiTroops(%rip), %eax jle LBB13_29 ## %bb.28: leaq L_str.700(%rip), %rdi callq _puts addl $-3000, _userTroops(%rip) ## imm = 0xF448 addl $-4000, _aiTroops(%rip) ## imm = 0xF060 jmp LBB13_37 LBB13_30: cmpl $2, %ebx ja LBB13_33 ## %bb.31: testl %eax, %eax jne LBB13_33 ## %bb.32: leaq L_str.698(%rip), %rdi callq _puts addl $-4000, _userTroops(%rip) ## imm = 0xF060 addl $-2000, _aiTroops(%rip) ## imm = 0xF830 jmp LBB13_37 LBB13_33: cmpl $3, %ebx jb LBB13_36 ## %bb.34: cmpl $1, %eax jne LBB13_36 ## %bb.35: leaq L_str.697(%rip), %rdi callq _puts addl $2000, _userTroops(%rip) ## imm = 0x7D0 jmp LBB13_37 LBB13_29: leaq L_str.699(%rip), %rdi callq _puts addl $-3000, _userTroops(%rip) ## imm = 0xF448 addl $-2000, _aiTroops(%rip) ## imm = 0xF830 jmp LBB13_37 LBB13_36: leaq L_str.696(%rip), %rdi callq _puts LBB13_37: movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _reachQH ## -- Begin function reachQH .p2align 4, 0x90 _reachQH: ## @reachQH .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 leaq L_str.701(%rip), %rdi callq _puts leaq L_str.702(%rip), %rdi callq _puts leaq L_str.703(%rip), %rdi callq _puts leaq L_str.704(%rip), %rdi callq _puts leaq L_str.705(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB14_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB14_5 LBB14_2: cmpl $4, %eax jne LBB14_4 ## %bb.3: addl $2000, _userTroops(%rip) ## imm = 0x7D0 movl $1, %ebx jmp LBB14_5 LBB14_4: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 xorl %ebx, %ebx LBB14_5: leaq L_str.706(%rip), %rdi callq _puts leaq L_str.707(%rip), %rdi callq _puts leaq L_str.708(%rip), %rdi callq _puts leaq L_str.709(%rip), %rdi callq _puts leaq L_str.710(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB14_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB14_10 LBB14_7: cmpl $3, %eax jne LBB14_9 ## %bb.8: addl $4000, _userTroops(%rip) ## imm = 0xFA0 incl %ebx jmp LBB14_10 LBB14_9: addl $4000, _aiTroops(%rip) ## imm = 0xFA0 LBB14_10: leaq L_str.711(%rip), %rdi callq _puts leaq L_str.712(%rip), %rdi callq _puts leaq L_str.713(%rip), %rdi callq _puts leaq L_str.714(%rip), %rdi callq _puts leaq L_str.715(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB14_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB14_15 LBB14_12: cmpl $3, %eax jne LBB14_14 ## %bb.13: addl $5000, _userTroops(%rip) ## imm = 0x1388 incl %ebx jmp LBB14_15 LBB14_14: addl $5000, _aiTroops(%rip) ## imm = 0x1388 LBB14_15: leaq L_str.716(%rip), %rdi callq _puts leaq L_str.717(%rip), %rdi callq _puts leaq L_str.718(%rip), %rdi callq _puts leaq L_str.719(%rip), %rdi callq _puts leaq L_str.720(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB14_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB14_20 LBB14_17: cmpl $2, %eax jne LBB14_19 ## %bb.18: addl $3000, _userTroops(%rip) ## imm = 0xBB8 incl %ebx jmp LBB14_20 LBB14_19: addl $3000, _aiTroops(%rip) ## imm = 0xBB8 LBB14_20: leaq L_str.721(%rip), %rdi callq _puts leaq L_str.722(%rip), %rdi callq _puts leaq L_str.723(%rip), %rdi callq _puts leaq L_str.724(%rip), %rdi callq _puts leaq L_str.725(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB14_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB14_25 LBB14_22: cmpl $2, %eax jne LBB14_24 ## %bb.23: addl $5000, _userTroops(%rip) ## imm = 0x1388 incl %ebx jmp LBB14_25 LBB14_24: addl $5000, _aiTroops(%rip) ## imm = 0x1388 LBB14_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB14_28 ## %bb.26: testl %eax, %eax jne LBB14_28 ## %bb.27: leaq L_str.729(%rip), %rdi callq _puts addl $-1000, _userTroops(%rip) ## imm = 0xFC18 addl $-2000, _aiTroops(%rip) ## imm = 0xF830 jmp LBB14_35 LBB14_28: cmpl $2, %ebx ja LBB14_31 ## %bb.29: testl %eax, %eax jne LBB14_31 ## %bb.30: leaq L_str.728(%rip), %rdi callq _puts addl $-2000, _userTroops(%rip) ## imm = 0xF830 jmp LBB14_35 LBB14_31: cmpl $3, %ebx jb LBB14_34 ## %bb.32: cmpl $1, %eax jne LBB14_34 ## %bb.33: leaq L_str.727(%rip), %rdi callq _puts addl $3000, _userTroops(%rip) ## imm = 0xBB8 jmp LBB14_35 LBB14_34: leaq L_str.726(%rip), %rdi callq _puts LBB14_35: movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _stormlandsQH ## -- Begin function stormlandsQH .p2align 4, 0x90 _stormlandsQH: ## @stormlandsQH .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 leaq L_str.730(%rip), %rdi callq _puts leaq L_str.731(%rip), %rdi callq _puts leaq L_str.732(%rip), %rdi callq _puts leaq L_str.733(%rip), %rdi callq _puts leaq L_str.734(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB15_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB15_5 LBB15_2: cmpl $1, %eax jne LBB15_4 ## %bb.3: addl $4000, _userTroops(%rip) ## imm = 0xFA0 movl $1, %ebx jmp LBB15_5 LBB15_4: addl $4000, _aiTroops(%rip) ## imm = 0xFA0 xorl %ebx, %ebx LBB15_5: leaq L_str.735(%rip), %rdi callq _puts leaq L_str.736(%rip), %rdi callq _puts leaq L_str.737(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB15_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB15_10 LBB15_7: cmpl $1, %eax jne LBB15_9 ## %bb.8: addl $2000, _userTroops(%rip) ## imm = 0x7D0 incl %ebx jmp LBB15_10 LBB15_9: addl $2000, _aiTroops(%rip) ## imm = 0x7D0 LBB15_10: leaq L_str.738(%rip), %rdi callq _puts leaq L_str.739(%rip), %rdi callq _puts leaq L_str.740(%rip), %rdi callq _puts leaq L_str.741(%rip), %rdi callq _puts leaq L_str.742(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB15_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB15_15 LBB15_12: cmpl $2, %eax jne LBB15_14 ## %bb.13: addl $6000, _userTroops(%rip) ## imm = 0x1770 incl %ebx jmp LBB15_15 LBB15_14: addl $6000, _aiTroops(%rip) ## imm = 0x1770 LBB15_15: leaq L_str.743(%rip), %rdi callq _puts leaq L_str.744(%rip), %rdi callq _puts leaq L_str.745(%rip), %rdi callq _puts leaq L_str.746(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -4(%rax), %ecx cmpl $-4, %ecx ja LBB15_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB15_20 LBB15_17: cmpl $3, %eax jne LBB15_19 ## %bb.18: addl $4000, _userTroops(%rip) ## imm = 0xFA0 incl %ebx jmp LBB15_20 LBB15_19: addl $4000, _aiTroops(%rip) ## imm = 0xFA0 LBB15_20: leaq L_str.747(%rip), %rdi callq _puts leaq L_str.748(%rip), %rdi callq _puts leaq L_str.749(%rip), %rdi callq _puts leaq L_str.750(%rip), %rdi callq _puts leaq L_str.751(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB15_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB15_25 LBB15_22: cmpl $4, %eax jne LBB15_24 ## %bb.23: addl $1000, _userTroops(%rip) ## imm = 0x3E8 incl %ebx jmp LBB15_25 LBB15_24: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 LBB15_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB15_28 ## %bb.26: testl %eax, %eax jne LBB15_28 ## %bb.27: movl $-1000, %ebx ## imm = 0xFC18 leaq L_str.755(%rip), %rdi jmp LBB15_32 LBB15_28: cmpl $2, %ebx ja LBB15_31 ## %bb.29: testl %eax, %eax jne LBB15_31 ## %bb.30: movl $-2000, %ebx ## imm = 0xF830 leaq L_str.754(%rip), %rdi jmp LBB15_32 LBB15_31: cmpl $3, %ebx setae %cl cmpl $1, %eax sete %al leaq L_str.753(%rip), %rdx leaq L_str.752(%rip), %rdi testb %al, %cl cmovneq %rdx, %rdi movl $1000, %eax ## imm = 0x3E8 movl $-2000, %ebx ## imm = 0xF830 cmovnel %eax, %ebx LBB15_32: callq _puts addl %ebx, _userTroops(%rip) movl %r14d, %edi callq _visitNext addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _dorneQH ## -- Begin function dorneQH .p2align 4, 0x90 _dorneQH: ## @dorneQH .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 leaq L_str.756(%rip), %rdi callq _puts leaq L_str.757(%rip), %rdi callq _puts leaq L_str.758(%rip), %rdi callq _puts leaq L_str.759(%rip), %rdi callq _puts leaq L_str.760(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB16_2 ## %bb.1: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB16_5 LBB16_2: cmpl $2, %eax jne LBB16_4 ## %bb.3: addl $1000, _userTroops(%rip) ## imm = 0x3E8 movl $1, %ebx jmp LBB16_5 LBB16_4: addl $1000, _aiTroops(%rip) ## imm = 0x3E8 xorl %ebx, %ebx LBB16_5: leaq L_str.761(%rip), %rdi callq _puts leaq L_str.762(%rip), %rdi callq _puts leaq L_str.763(%rip), %rdi callq _puts leaq L_str.764(%rip), %rdi callq _puts leaq L_str.765(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf movl -32(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB16_7 ## %bb.6: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -32(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB16_10 LBB16_7: cmpl $2, %eax jne LBB16_9 ## %bb.8: addl $5000, _userTroops(%rip) ## imm = 0x1388 incl %ebx jmp LBB16_10 LBB16_9: addl $5000, _aiTroops(%rip) ## imm = 0x1388 LBB16_10: leaq L_str.766(%rip), %rdi callq _puts leaq L_str.767(%rip), %rdi callq _puts leaq L_str.768(%rip), %rdi callq _puts leaq L_str.769(%rip), %rdi callq _puts leaq L_str.770(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB16_12 ## %bb.11: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB16_15 LBB16_12: cmpl $1, %eax jne LBB16_14 ## %bb.13: addl $3000, _userTroops(%rip) ## imm = 0xBB8 incl %ebx jmp LBB16_15 LBB16_14: addl $3000, _aiTroops(%rip) ## imm = 0xBB8 LBB16_15: leaq L_str.771(%rip), %rdi callq _puts leaq L_str.772(%rip), %rdi callq _puts leaq L_str.773(%rip), %rdi callq _puts leaq L_str.774(%rip), %rdi callq _puts leaq L_str.775(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf movl -24(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB16_17 ## %bb.16: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -24(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB16_20 LBB16_17: cmpl $2, %eax jne LBB16_19 ## %bb.18: addl $3000, _userTroops(%rip) ## imm = 0xBB8 incl %ebx jmp LBB16_20 LBB16_19: addl $3000, _aiTroops(%rip) ## imm = 0xBB8 LBB16_20: leaq L_str.776(%rip), %rdi callq _puts leaq L_str.777(%rip), %rdi callq _puts leaq L_str.778(%rip), %rdi callq _puts leaq L_str.779(%rip), %rdi callq _puts leaq L_str.780(%rip), %rdi callq _puts leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB16_22 ## %bb.21: leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf jmp LBB16_25 LBB16_22: cmpl $4, %eax jne LBB16_24 ## %bb.23: addl $10000, _userTroops(%rip) ## imm = 0x2710 incl %ebx jmp LBB16_25 LBB16_24: addl $10000, _aiTroops(%rip) ## imm = 0x2710 LBB16_25: movq _side@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $3, %ebx jb LBB16_28 ## %bb.26: testl %eax, %eax jne LBB16_28 ## %bb.27: movl $1000, %ebx ## imm = 0x3E8 leaq L_str.784(%rip), %rdi jmp LBB16_32 LBB16_28: cmpl $2, %ebx ja LBB16_31 ## %bb.29: testl %eax, %eax jne LBB16_31 ## %bb.30: movl $-2000, %ebx ## imm = 0xF830 leaq L_str.783(%rip), %rdi jmp LBB16_32 LBB16_31: cmpl $3, %ebx setae %cl cmpl $1, %eax sete %al leaq L_str.782(%rip), %rdx leaq L_str.781(%rip), %rdi testb %al, %cl cmovneq %rdx, %rdi movl $-2000, %eax ## imm = 0xF830 movl $-4000, %ebx ## imm = 0xF060 cmovnel %eax, %ebx LBB16_32: callq _puts addl %ebx, _userTroops(%rip) movl %r14d, %edi callq _visitNext addq $32, %rsp 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 %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str.374(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rbx leaq -16(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_.str.375(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str.785(%rip), %rdi callq _puts leaq L_str.786(%rip), %rdi callq _puts leaq L_str.787(%rip), %rdi callq _puts leaq L_str.788(%rip), %rdi callq _puts leaq L_str.789(%rip), %rdi callq _puts leaq L_str.790(%rip), %rdi callq _puts leaq L_str.791(%rip), %rdi callq _puts leaq -12(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf movl -12(%rbp), %eax cmpl $7, %eax ja LBB17_3 ## %bb.1: movl $206, %ecx btl %eax, %ecx jae LBB17_3 ## %bb.2: movq _side@GOTPCREL(%rip), %rcx movl $0, (%rcx) LBB17_3: movl %eax, %ecx andl $-2, %ecx cmpl $4, %ecx jne LBB17_5 ## %bb.4: movq _side@GOTPCREL(%rip), %rcx movl $1, (%rcx) LBB17_5: decl %eax cmpl $6, %eax ja LBB17_15 ## %bb.6: movl -16(%rbp), %edi leaq LJTI17_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB17_7: movl $1, _kingdomsVisited(%rip) jmp LBB17_14 LBB17_8: movl $1, _kingdomsVisited+4(%rip) jmp LBB17_14 LBB17_9: movl $1, _kingdomsVisited+8(%rip) jmp LBB17_14 LBB17_10: movl $1, _kingdomsVisited+12(%rip) jmp LBB17_14 LBB17_11: movl $1, _kingdomsVisited+16(%rip) jmp LBB17_14 LBB17_12: movl $1, _kingdomsVisited+20(%rip) jmp LBB17_14 LBB17_13: movl $1, _kingdomsVisited+24(%rip) LBB17_14: callq _visitNext LBB17_15: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L17_0_set_7, LBB17_7-LJTI17_0 .set L17_0_set_8, LBB17_8-LJTI17_0 .set L17_0_set_9, LBB17_9-LJTI17_0 .set L17_0_set_10, LBB17_10-LJTI17_0 .set L17_0_set_11, LBB17_11-LJTI17_0 .set L17_0_set_12, LBB17_12-LJTI17_0 .set L17_0_set_13, LBB17_13-LJTI17_0 LJTI17_0: .long L17_0_set_7 .long L17_0_set_8 .long L17_0_set_9 .long L17_0_set_10 .long L17_0_set_11 .long L17_0_set_12 .long L17_0_set_13 .end_data_region ## -- End function .globl _kingdomsVisited ## @kingdomsVisited .zerofill __DATA,__common,_kingdomsVisited,28,4 .globl _userTroops ## @userTroops .zerofill __DATA,__common,_userTroops,4,2 .globl _aiTroops ## @aiTroops .zerofill __DATA,__common,_aiTroops,4,2 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Kingdom of the North" L_.str.1: ## @.str.1 .asciz "Kingdom of the Isles and Rivers" L_.str.2: ## @.str.2 .asciz "Kingdom of Mountains and Vale" L_.str.3: ## @.str.3 .asciz "Kingdom of the Rock" L_.str.4: ## @.str.4 .asciz "Kingdom of the Reach" L_.str.5: ## @.str.5 .asciz "Kingdom of the Stormlands" L_.str.6: ## @.str.6 .asciz "Principality of Dorne" .section __DATA,__data .globl _kingdomsVisitedNames ## @kingdomsVisitedNames .p2align 4 _kingdomsVisitedNames: .quad L_.str .quad L_.str.1 .quad L_.str.2 .quad L_.str.3 .quad L_.str.4 .quad L_.str.5 .quad L_.str.6 .section __TEXT,__cstring,cstring_literals L_.str.8: ## @.str.8 .asciz "%d %s\n" L_.str.9: ## @.str.9 .asciz "%d" L_.str.16: ## @.str.16 .asciz "Please enter a valid answer" .comm _side,4,2 ## @side L_.str.120: ## @.str.120 .asciz "The Iron Born are a proud people and know that your allegance with the Lannisters (and Martells if from the Reach) will result in treachery. Their knowledge of the your devious schemes have resulted in them not only recinding their offer to suport your claim but they also destroy 50 of your ships causing you to lose 2,000 men.\n\n " L_.str.374: ## @.str.374 .asciz "Select Easy(1) or Hard (2)" L_.str.375: ## @.str.375 .asciz "Select your Kingdom:" L_str: ## @str .asciz "Please select the next kingdom to visit: " L_str.383: ## @str.383 .asciz "Please select a valid Kingdom" L_str.384: ## @str.384 .asciz "What family ruled the North while Robert Barratehon was alive?" L_str.385: ## @str.385 .asciz "1. House Stark" L_str.386: ## @str.386 .asciz "2. House Bolton" L_str.387: ## @str.387 .asciz "3. House Arryn" L_str.388: ## @str.388 .asciz "4. House Tully" L_str.389: ## @str.389 .asciz "What is the name of Jon Snow's Direwolf?" L_str.390: ## @str.390 .asciz "1. Grey Wind" L_str.391: ## @str.391 .asciz "2. Grayson" L_str.392: ## @str.392 .asciz "3. Ghost" L_str.393: ## @str.393 .asciz "4. Ghoul" L_str.394: ## @str.394 .asciz "Who was nicknamed the Young Wolf?" L_str.395: ## @str.395 .asciz "1. Jon Snow" L_str.397: ## @str.397 .asciz "3. Bran Stark" L_str.398: ## @str.398 .asciz "4. Ramsey Bolton" L_str.399: ## @str.399 .asciz "Why was Eddard Stark executed?" L_str.400: ## @str.400 .asciz "1. Plotting to kill Cersei" L_str.401: ## @str.401 .asciz "2. Challenging Joffery's claim to the throne" L_str.402: ## @str.402 .asciz "3. Killing King Robert" L_str.403: ## @str.403 .asciz "4. Not allowing Sansa to marry Joffrey" L_str.404: ## @str.404 .asciz "Who was Jon Snow's mother?" L_str.405: ## @str.405 .asciz "1. A whore" L_str.406: ## @str.406 .asciz "2. A bar wench" L_str.407: ## @str.407 .asciz "3. Lyanna Stark" L_str.408: ## @str.408 .asciz "4. Catelyn Stark" L_str.411: ## @str.411 .asciz "While you were crossing over Moat Cailin, you encountered a suprise attack by 1,000 wildlings that escaped over the wall. Although your forces are stronger than the wildlings, your soliders are tired and were defeated by the wildlings, costing you to lose 1,500 men.\n" L_str.413: ## @str.413 .asciz "What do the people of the Iron Islands call themselves?" L_str.414: ## @str.414 .asciz "1. Iron born" L_str.415: ## @str.415 .asciz "2. Rivermen" L_str.416: ## @str.416 .asciz "3. Storm troopers" L_str.417: ## @str.417 .asciz "4. River folk" L_str.418: ## @str.418 .asciz "Who do the people of the Iron Islands pray to?" L_str.419: ## @str.419 .asciz "1. The Old Gods" L_str.420: ## @str.420 .asciz "2. The New Gods" L_str.421: ## @str.421 .asciz "3. The Drowned Gods" L_str.422: ## @str.422 .asciz "4. All of the Gods" L_str.423: ## @str.423 .asciz "How does Theon show his loyalty to Lord Bolton?" L_str.424: ## @str.424 .asciz "1. By killing Bran and Rickon" L_str.425: ## @str.425 .asciz "2. By helping Ramsey" L_str.426: ## @str.426 .asciz "3. By taking Winterfell" L_str.427: ## @str.427 .asciz "4. By confessing what actually happened to Bran and Rickon while shaving Ramsey" L_str.428: ## @str.428 .asciz "What does Ramsey call Theon?" L_str.429: ## @str.429 .asciz "1. Theon" L_str.430: ## @str.430 .asciz "2. Greyjoy" L_str.431: ## @str.431 .asciz "3. Freak" L_str.432: ## @str.432 .asciz "4. Reek" L_str.433: ## @str.433 .asciz "What is on the flag of house Greyjoy?" L_str.434: ## @str.434 .asciz "1. An octopus" L_str.435: ## @str.435 .asciz "2. A kraken " L_str.436: ## @str.436 .asciz "3. A squid " L_str.437: ## @str.437 .asciz "4. A fish" L_str.441: ## @str.441 .asciz "What is the last name bastards are given in the Vale?" L_str.442: ## @str.442 .asciz "1. Rock" L_str.444: ## @str.444 .asciz "3. Sand" L_str.445: ## @str.445 .asciz "4. Andal" L_str.446: ## @str.446 .asciz "What mountains surround and protect the Eyrie?" L_str.447: ## @str.447 .asciz "1. The Fingers" L_str.448: ## @str.448 .asciz "2. The Pebble Mountains" L_str.449: ## @str.449 .asciz "3. The Mountains of the Moon" L_str.450: ## @str.450 .asciz "4. The Stone" L_str.451: ## @str.451 .asciz "Why is Lysa Arryn so mad at Sansa Stark before she dies?" L_str.452: ## @str.452 .asciz "1. Because she believes Sansa is trying to take the Vale" L_str.453: ## @str.453 .asciz "2. Because she always hated her sister, Sansa's mother" L_str.454: ## @str.454 .asciz "3. Because she thinks Sansa is in love with Little Finger" L_str.455: ## @str.455 .asciz "4. Because Sansa won't marry Robyn" L_str.456: ## @str.456 .asciz "What is the sigil of House Arryn?" L_str.457: ## @str.457 .asciz "1. A raven" L_str.458: ## @str.458 .asciz "2. A white falcon and a crescent moon" L_str.459: ## @str.459 .asciz "3. A swallow next to the sun" L_str.460: ## @str.460 .asciz "4. A T-Rex" L_str.461: ## @str.461 .asciz "What is the name of the contraption that criminals are pushed out of in the Eryie?" L_str.462: ## @str.462 .asciz "1. The sky door" L_str.463: ## @str.463 .asciz "2. The moon door " L_str.464: ## @str.464 .asciz "3. The high door " L_str.465: ## @str.465 .asciz "4. The door " L_str.470: ## @str.470 .asciz "What is the sigil of the Lord of the Rock's house?" L_str.471: ## @str.471 .asciz "1. Lion" L_str.472: ## @str.472 .asciz "2. Tiger" L_str.473: ## @str.473 .asciz "3. Bear" L_str.474: ## @str.474 .asciz "4. Stag" L_str.475: ## @str.475 .asciz "What is the name of the poison that killed Joffrey?" L_str.476: ## @str.476 .asciz "1. Milk of the poppy" L_str.477: ## @str.477 .asciz "2. Demon's Dance" L_str.478: ## @str.478 .asciz "3. Nightshade" L_str.479: ## @str.479 .asciz "4. The strangler" L_str.480: ## @str.480 .asciz "What song played at the red wedding while the Stark's were being slaughtered?" L_str.481: ## @str.481 .asciz "1. I am hers, she is mine " L_str.482: ## @str.482 .asciz "2. The Rains of Castamere" L_str.483: ## @str.483 .asciz "3. Dark wings, dark words" L_str.485: ## @str.485 .asciz "What is Sandor Clegane's nickname?" L_str.486: ## @str.486 .asciz "1. The rock" L_str.487: ## @str.487 .asciz "2. The mountain" L_str.488: ## @str.488 .asciz "3. The hound" L_str.489: ## @str.489 .asciz "4. The dog" L_str.490: ## @str.490 .asciz "Which hand does Jamie Lannister lose?" L_str.491: ## @str.491 .asciz "1. Right " L_str.492: ## @str.492 .asciz "2. Left " L_str.493: ## @str.493 .asciz "3. Not sure " L_str.499: ## @str.499 .asciz "Who is the Queen of Thrones?" L_str.501: ## @str.501 .asciz "2. Margaery Tyrell" L_str.502: ## @str.502 .asciz "3. Olena Tyrell" L_str.504: ## @str.504 .asciz "What are the words of House Tyrell?" L_str.505: ## @str.505 .asciz "1. As High as Honor" L_str.506: ## @str.506 .asciz "2. Fire and Blood" L_str.507: ## @str.507 .asciz "3. The Sun of Winter" L_str.508: ## @str.508 .asciz "4. Growing Strong" L_str.509: ## @str.509 .asciz "Who actually killed Joffery?" L_str.510: ## @str.510 .asciz "1. Olenna Tyrell" L_str.511: ## @str.511 .asciz "2. Little Finger" L_str.513: ## @str.513 .asciz "4. Tyrion Lannister" L_str.514: ## @str.514 .asciz "Where can you find the Moon Door?" L_str.515: ## @str.515 .asciz "1. Castamere" L_str.516: ## @str.516 .asciz "2. Horn Hill" L_str.517: ## @str.517 .asciz "3. The Eyrie" L_str.518: ## @str.518 .asciz "4. The Dreadfort" L_str.519: ## @str.519 .asciz "What does Margery give her grandmother to show her she's ok after being released by the High Sparrow?" L_str.520: ## @str.520 .asciz "1. A rose" L_str.521: ## @str.521 .asciz "2. A drawing " L_str.522: ## @str.522 .asciz "3. A needlepointed cloth " L_str.523: ## @str.523 .asciz "4. She whispers during a hug" L_str.528: ## @str.528 .asciz "What is the nickname given to Brynden Tully?" L_str.529: ## @str.529 .asciz "1. Kingslayer" L_str.530: ## @str.530 .asciz "2. Black snake" L_str.531: ## @str.531 .asciz "3. Blackfish" L_str.532: ## @str.532 .asciz "4. Strong fish" L_str.533: ## @str.533 .asciz "What is the name of Brienne of Tarth's sword?" L_str.534: ## @str.534 .asciz "1. Widow's wail" L_str.535: ## @str.535 .asciz "2. Oathkeepr" L_str.536: ## @str.536 .asciz "3. Heartsbane" L_str.537: ## @str.537 .asciz "4. Long claw" L_str.538: ## @str.538 .asciz "Who taught Brienne how to fight?" L_str.539: ## @str.539 .asciz "1. Renly Baratheon" L_str.540: ## @str.540 .asciz "2. Her father" L_str.541: ## @str.541 .asciz "3. Dacey Mormont" L_str.542: ## @str.542 .asciz "4. She taught herself" L_str.543: ## @str.543 .asciz "What was the name of the disease that Shireen has?" L_str.544: ## @str.544 .asciz "1. Greystone" L_str.545: ## @str.545 .asciz "2. Dragonstone" L_str.546: ## @str.546 .asciz "3. Grey death " L_str.547: ## @str.547 .asciz "4. Greyscale" L_str.548: ## @str.548 .asciz "How does Melisandre worship the Lord of Light?" L_str.549: ## @str.549 .asciz "1. Bleeding people out" L_str.550: ## @str.550 .asciz "2. Prayer " L_str.551: ## @str.551 .asciz "3. By converting others " L_str.552: ## @str.552 .asciz "4. Burning people " L_str.557: ## @str.557 .asciz "What is the last name of bastard children born in Dorne?" L_str.558: ## @str.558 .asciz "1. Snow" L_str.559: ## @str.559 .asciz "2. Sand" L_str.560: ## @str.560 .asciz "3. Storm" L_str.561: ## @str.561 .asciz "4. Hill" L_str.562: ## @str.562 .asciz "What are the bastard daughters of Oberyn Martell called?" L_str.563: ## @str.563 .asciz "1. Sand Snakes" L_str.564: ## @str.564 .asciz "2. Stone Snakes" L_str.565: ## @str.565 .asciz "3. Snow Snakes" L_str.566: ## @str.566 .asciz "4. Silly Snakes" L_str.567: ## @str.567 .asciz "What is Oberyn's nickname?" L_str.568: ## @str.568 .asciz "1. Red Viper" L_str.569: ## @str.569 .asciz "2. Viper" L_str.570: ## @str.570 .asciz "3. Sand Snake" L_str.571: ## @str.571 .asciz "4. Red Snake" L_str.572: ## @str.572 .asciz "How did Oberyn Martell die?" L_str.573: ## @str.573 .asciz "1. During battle" L_str.574: ## @str.574 .asciz "2. Poison" L_str.575: ## @str.575 .asciz "3. Trial by combat" L_str.576: ## @str.576 .asciz "4. By the Lannisters" L_str.577: ## @str.577 .asciz "What are the Martell house words?" L_str.578: ## @str.578 .asciz "1. Family, Duty, Honor" L_str.579: ## @str.579 .asciz "2. Ours is the Fury " L_str.580: ## @str.580 .asciz "3. We stand Together " L_str.581: ## @str.581 .asciz "4. Unbowed, Unbent, Unbroken" L_str.586: ## @str.586 .asciz "In the first episode, Robert Baratheon says 'In my dreams, I kill him every night.' Who is the King referring to and why?" L_str.587: ## @str.587 .asciz "1. Rhaegar Targaryen because he married Elia Martell" L_str.588: ## @str.588 .asciz "2. Aerys Targaryen because he killed Robert's brother" L_str.589: ## @str.589 .asciz "3. Rhaegar Targaryen because he kidnapped Lyanna Stark" L_str.590: ## @str.590 .asciz "4. Aerys Targaryen because he got Lyanna Stark pregnant" L_str.591: ## @str.591 .asciz "Who kills Robb Stark?" L_str.592: ## @str.592 .asciz "1. Edmure Tully" L_str.593: ## @str.593 .asciz "2. Roose Bolton" L_str.594: ## @str.594 .asciz "3. Ramsey Bolton" L_str.596: ## @str.596 .asciz "Who kills Catelyn Stark?" L_str.597: ## @str.597 .asciz "1. Roose Bolton" L_str.598: ## @str.598 .asciz "2. Black Walder Rivers" L_str.599: ## @str.599 .asciz "3. Sandor Clegane" L_str.600: ## @str.600 .asciz "4. Walder Frey" L_str.601: ## @str.601 .asciz "Who is not on Arya Stark's list?" L_str.602: ## @str.602 .asciz "1. Ilyn Payne" L_str.603: ## @str.603 .asciz "2. Varys" L_str.604: ## @str.604 .asciz "3. Cersei Lannister" L_str.605: ## @str.605 .asciz "4. Joffery Baratheon" L_str.606: ## @str.606 .asciz "Who helps Arya escape after her father is executed?" L_str.607: ## @str.607 .asciz "1. Robb Stark" L_str.608: ## @str.608 .asciz "2. Sir Meryn Trant" L_str.609: ## @str.609 .asciz "3. Yoren" L_str.611: ## @str.611 .asciz "Crossing into enemy territory can be dangerous, especially when the North is a much different climate than that in the South. Unfortunately, the North are very fierce and were able to coordinate a suprise attack which wiped out 3,000 of your troops.\n" L_str.612: ## @str.612 .asciz "Crossing into enemy territory can be dangerous, especially when the North is a much different climate than that in the South. Unfortunately, your soldiers could not withstand the winter and you lost 1,000 men.\n" L_str.613: ## @str.613 .asciz "While you were crossing over Moat Cailin, you encountered a suprise attack by 1,000 wildlings that escaped over the wall. Although your forces are stronger than the wildlings, your soliders are tired and were defeated by the wildlings, costing you to lose 1,500 men\n" L_str.614: ## @str.614 .asciz "While you were crossing over Moat Cailin, you encountered a suprise attack by 1,000 wildlings that escaped over the wall. Although your forces are stronger than the wildlings, they are tired and you lost 1,000 men. The 500 wildlings that survived are now your prisoners and will fight for you on the front in order to have a chance of surviving the winter.\n" L_str.615: ## @str.615 .asciz "What are the words of house Greyjoy?" L_str.616: ## @str.616 .asciz "1. We Do Not Sow" L_str.617: ## @str.617 .asciz "2. What is Dead May Never Die" L_str.618: ## @str.618 .asciz "3. Fire and Blood" L_str.619: ## @str.619 .asciz "4. Hear Me Roar" L_str.620: ## @str.620 .asciz "Why ws Tehon a ward of Lord Eddard Stark?" L_str.621: ## @str.621 .asciz "1. The Greyjoys gave him to be married to Arya Stark" L_str.622: ## @str.622 .asciz "2. He was taken after the defeat of the Greyjoy Rebellion" L_str.623: ## @str.623 .asciz "3. He was taken when Eddard and Robert usurped the throne" L_str.624: ## @str.624 .asciz "4. No idea" L_str.625: ## @str.625 .asciz "Why does Yara help Daenerys?" L_str.626: ## @str.626 .asciz "1. To claim the Iron Throne" L_str.627: ## @str.627 .asciz "2. To wage war on her enemies" L_str.628: ## @str.628 .asciz "3. To claim the Salt Throne and make the Iron Islands Independent" L_str.629: ## @str.629 .asciz "4. To make alliances when Daenerys takes the Iron Throne" L_str.630: ## @str.630 .asciz "What is the name of Theon's sister?" L_str.631: ## @str.631 .asciz "1. Yara" L_str.632: ## @str.632 .asciz "2. Osha" L_str.633: ## @str.633 .asciz "3. Asha" L_str.634: ## @str.634 .asciz "4. Alannys" L_str.635: ## @str.635 .asciz "Who said it: 'Only a fool humbles himself when the world is so full of men eager to do that job for him'?" L_str.636: ## @str.636 .asciz "1. Asha Greyjoy" L_str.637: ## @str.637 .asciz "2. Robb Stark " L_str.638: ## @str.638 .asciz "3. Catelyn Stark " L_str.639: ## @str.639 .asciz "4. Theon Greyjoy" L_str.640: ## @str.640 .asciz "The Iron Born are a proud people and know that your allegance with the Lannisters (and Martells if from the Reach) will result in treachery. Their knowledge of the your devious schemes have resulted in them not only recinding their offer to suport your claim but they also destroy 50 of your ships causing you to lose 2,000 men.\n" L_str.641: ## @str.641 .asciz "The kingdom of isles and rivers have been striving for their independence and the fight against the North is meaningless to them. They will give the troops as promised but demand that you allow them to be independent after the war is won.\n" L_str.642: ## @str.642 .asciz "The Iron Born are a proud people and do not repsect those who insult them. Due to your lack of knowledge about the Iron Born, they recind 2000 troops.\n" L_str.643: ## @str.643 .asciz "The Iron Islands have very mixed feelings about fighting for the North after what happend to their heir, Theon. Although their hatred for the Lannisters is great, they wish to be free of the seven kingdoms and be their own entity. Therefore, they agree to send you 100 ships (=4,000 troops) if they can gain their independence once the war is over.\n" L_str.644: ## @str.644 .asciz "Why does Sansa slap Robin when she visits the Eyrie?" L_str.645: ## @str.645 .asciz "1. He says something rude about her family being dead" L_str.646: ## @str.646 .asciz "2. He destroys a gift she gave him" L_str.647: ## @str.647 .asciz "3. He ruins the snow castle of Winterfell Sansa made" L_str.648: ## @str.648 .asciz "4. He is incredibly annoying" L_str.649: ## @str.649 .asciz "What is the name Sansa is called while visiting the Eyrie?" L_str.650: ## @str.650 .asciz "1. Petyr's niece" L_str.651: ## @str.651 .asciz "2. Alayne" L_str.652: ## @str.652 .asciz "3. Ally" L_str.653: ## @str.653 .asciz "4. Ariana" L_str.654: ## @str.654 .asciz "Were these Petyr Baelish's last words to Lysa before pushing her through the moon door? 'I will always love Catelyn, never you'?" L_str.657: ## @str.657 .asciz "Who said this 'The Fingers are a lovely place, if you happen to be a stone'?" L_str.658: ## @str.658 .asciz "1. Cersei Lannister" L_str.659: ## @str.659 .asciz "2. Tyrion Lannister" L_str.660: ## @str.660 .asciz "3. Lysa Arryn" L_str.661: ## @str.661 .asciz "4. Petyr Baelish" L_str.662: ## @str.662 .asciz "Who is Mya Stone?" L_str.663: ## @str.663 .asciz "1. A bastard mentioned in the Eyrie" L_str.664: ## @str.664 .asciz "2. A bastard daughter of Robert Baratheon " L_str.665: ## @str.665 .asciz "3. A bastard daughter of Eddard Stark " L_str.666: ## @str.666 .asciz "4. She doesn't exist " L_str.667: ## @str.667 .asciz "Lady Arryn is convinced that the Lannisters killed her husband and therefore has a strong hatred for anyone who supports the Lannisters. Due to your allegance and your poor knowledge of the area, your troops get trapped in the mountains and 4,000 of your men perish. \n" L_str.668: ## @str.668 .asciz "Lady Arryn is convinced that the Lannisters killed her husband and therefore has a strong hatred for anyone who supports the Lannisters. Due to your allegance, she recinds her offer of troops by 2,000 men and lets you leave without any harm.\n" L_str.669: ## @str.669 .asciz "While speaking with Lady Arryn, she was very cautious about signing her troops up for battle since her kingdom is well protected. Unfortunately, she was not to pleased with your offer to defend her family name and recinded 2,000 troops from her original agreement.\n" L_str.670: ## @str.670 .asciz "While speaking with Lady Arryn, she was very cautious about signing her troops up for battle since her kingdom is well protected. Your words enticed her and she agreed to add an additional 2,000 troops to your efforts.\n" L_str.671: ## @str.671 .asciz "What are the words of house Lannister?" L_str.673: ## @str.673 .asciz "2. A Lannister always pays his debts" L_str.676: ## @str.676 .asciz "How many kings did Tywin Lannister serve as the Hand?" L_str.677: ## @str.677 .asciz "1. One" L_str.678: ## @str.678 .asciz "2. Two " L_str.679: ## @str.679 .asciz "3. Three" L_str.680: ## @str.680 .asciz "4. Fear" L_str.681: ## @str.681 .asciz "Why was Podrick Payne Tyrion's Squire?" L_str.682: ## @str.682 .asciz "1. Because he wanted to be a squire " L_str.683: ## @str.683 .asciz "2. Because he was caught stealing a ham" L_str.684: ## @str.684 .asciz "3. Because his father commanded him to be a squire" L_str.685: ## @str.685 .asciz "4. Because the previous knight he served died" L_str.686: ## @str.686 .asciz "Who said this 'There are no heroes. In life, the monsters win'?" L_str.687: ## @str.687 .asciz "1. Margery Tyrell" L_str.688: ## @str.688 .asciz "2. Olena Tyrell" L_str.689: ## @str.689 .asciz "3. Sansa Stark" L_str.690: ## @str.690 .asciz "4. Arya Stark" L_str.691: ## @str.691 .asciz "What is the name of Robb Stark's wife?" L_str.692: ## @str.692 .asciz "1. Talisa Maegyr" L_str.693: ## @str.693 .asciz "2. Jeyne Westerling " L_str.694: ## @str.694 .asciz "3. Oona Chaplin " L_str.695: ## @str.695 .asciz "4. Sybell Spicer" L_str.696: ## @str.696 .asciz "Although you are allies with the Lannisters of Casterly Rock, they are unsure of your ability to defeat the North. They still support your fight but don't provide you with additional men to conquer the North.\n" L_str.697: ## @str.697 .asciz "Your allegence with the Lannisters has been well established through marraige. Although you still are cautious about the secrecy and treachery from the Lannister group, they offer you another 2,000 to support your fight against the North. \n" L_str.698: ## @str.698 .asciz "Daring move entering the land of your enemy. Your army is strong, but your troops are not as strong as the Lannisters. Both sides fought valiently but in the end, they defeated you in battle. Once the battle was over, you lost 4,000 troops but the Lannisters lost 2,000.\n" L_str.699: ## @str.699 .asciz "Daring move entering the land of your enemy. You know the land well and your army is strong, but your troops are not as strong as the Lannisters. Both sides fought valiently but in the end, they defeated you in battle. Once the battle was over, you lost 3,000 troops but the Lannisters lost 2,000.\n" L_str.700: ## @str.700 .asciz "Daring move entering the land of your enemy. You know the land well and The Lannister army is strong, but apparently not as strong as yours. Both sides fought valiently but in the end, you defeated them in battle. Once the battle was over, you lost 3,000 troops but the Lannisters lost 4,000.\n" L_str.701: ## @str.701 .asciz "Why is Margaery impriosioned by the Faith?" L_str.702: ## @str.702 .asciz "1. Adultery" L_str.703: ## @str.703 .asciz "2. Perjury" L_str.704: ## @str.704 .asciz "3. Treason" L_str.705: ## @str.705 .asciz "4. Adultery and Treason" L_str.706: ## @str.706 .asciz "Who is the heir to Highgarden?" L_str.707: ## @str.707 .asciz "1. Loras Tyrell" L_str.708: ## @str.708 .asciz "2. Mace Tyrell" L_str.709: ## @str.709 .asciz "3. Willas Tyrell" L_str.710: ## @str.710 .asciz "4. Margaery Tyrell" L_str.711: ## @str.711 .asciz "How did Willas Tyrell become crippled?" L_str.712: ## @str.712 .asciz "1. He was born that way" L_str.713: ## @str.713 .asciz "2. He was injured in battle" L_str.714: ## @str.714 .asciz "3. He was injured in a tournament" L_str.715: ## @str.715 .asciz "4. He was in an accident" L_str.716: ## @str.716 .asciz "Why is Olena Martell known as the Queen of Thornes?" L_str.717: ## @str.717 .asciz "1. She is from Highgarden, whose sigil is a rose" L_str.718: ## @str.718 .asciz "2. She is cunning and has a sharp tongue" L_str.719: ## @str.719 .asciz "3. She loves roses" L_str.720: ## @str.720 .asciz "4. It is a common knick name for queens of Highgarden" L_str.721: ## @str.721 .asciz "What is the name of Renly's Kingsguard?" L_str.722: ## @str.722 .asciz "1. Kingsguard" L_str.723: ## @str.723 .asciz "2. Rainbow Guard" L_str.724: ## @str.724 .asciz "3. White Cloaks " L_str.725: ## @str.725 .asciz "4. Rainbow Knights" L_str.726: ## @str.726 .asciz "Although your alliance with the Lannisters is strong, they are uncertain of your ability to defeat the North. They will support your war but will not offer any additional troops, in case you fail they will be able to defend themselves.\n" L_str.727: ## @str.727 .asciz "Your allegance to the lannisters has proved fruitful and they have offered to give you an additional 3,000 troops.\n" L_str.728: ## @str.728 .asciz "Due to your lack of knowledge about the Reach, the troops protecting it were able to attack and kill off 2,000 of your men due to their surprise and lack of preparation. They will still support your fight, but want to ensure you understand their strength.\n" L_str.729: ## @str.729 .asciz "On your way to the Reach, you encountered some Lannister forces who were protecting the land of the future queen. The battle between your troops and the Lannisters caused you to lose 1,000 troops and the Lannisters to lose 2,000. \n" L_str.730: ## @str.730 .asciz "At Hoster Tully's funeral, who shot the burning arrow that hit the mark?" L_str.731: ## @str.731 .asciz "1. Brynden Tully" L_str.732: ## @str.732 .asciz "2. Robb Stark" L_str.733: ## @str.733 .asciz "3. Edmure Tully" L_str.734: ## @str.734 .asciz "4. Lord Karstark" L_str.735: ## @str.735 .asciz "Is Robert Baratheon Stannis's older brother?" L_str.736: ## @str.736 .asciz "1. True" L_str.737: ## @str.737 .asciz "2. False" L_str.738: ## @str.738 .asciz "When does Melisandre proclaim Stannis as a prophesied hero?" L_str.739: ## @str.739 .asciz "1. When he converts to the faith of the Lord of Light" L_str.740: ## @str.740 .asciz "2. When she burns the statues of the seven and he draws the flaming sword" L_str.741: ## @str.741 .asciz "3. When she first comes to Dragonstone" L_str.742: ## @str.742 .asciz "4. When she predicts all of his enemies will burn" L_str.743: ## @str.743 .asciz "Who doesn't try to kill Melisandre?" L_str.744: ## @str.744 .asciz "1. Davos" L_str.745: ## @str.745 .asciz "2. Maester Cressen" L_str.746: ## @str.746 .asciz "3. Stannis " L_str.747: ## @str.747 .asciz "What are the words of House Baratheon?" L_str.748: ## @str.748 .asciz "1. Hear Me Roar" L_str.749: ## @str.749 .asciz "2. Winter is Coming" L_str.750: ## @str.750 .asciz "3. None So Fierce" L_str.751: ## @str.751 .asciz "4. Ours is the Fury" L_str.752: ## @str.752 .asciz "On your way to the Stormlands, your men are exhausted and several have major wounds that have become infected. Due to their weakness, many men have become unable to fight and need to be sent home or have died. As a result, 1,000 men have be lost. The Brotherhood without Banners that are in the Stormlands are aware of the situation and have been tracking your progression. The Brotherhood attack your men, resulting in another 2,000 to be lost.\n" L_str.753: ## @str.753 .asciz "On your way to the Stormlands, your men are exhausted and several have major wounds that have become infected. Due to their weakness, many men have become unable to fight and need to be sent home or have died. As a result, 1,000 men have be lost.\n" L_str.754: ## @str.754 .asciz "Your allies in the Stormlands were displeased by your expectation for them to fight for you without any return on their investment. They will support you, but will keep 2,000 of the troops to defend their homeland instead of fighting for you. \n" L_str.755: ## @str.755 .asciz "Your allies in the Stormlands are there to fight alongside you. Unfortunately on your way to Storm's End, your troops are exhausted and many have wounds that have become infected. As a result of illness, 2,000 of your troops perish. Because of this loss, you are given an additional 1,000 in attempts to replace those who perished for the cause. \n" L_str.756: ## @str.756 .asciz "What are the names of the three main Sand Snakes?" L_str.757: ## @str.757 .asciz "1. Obara, Tyene, Nymeria" L_str.758: ## @str.758 .asciz "2. Obara, Elia, Dorea" L_str.759: ## @str.759 .asciz "3. Obella, Sarella, Loreza" L_str.760: ## @str.760 .asciz "4. Sarella, Obella, Tyene" L_str.761: ## @str.761 .asciz "Where did the Sand Snakes get their name?" L_str.762: ## @str.762 .asciz "1. Because their last name is sand" L_str.763: ## @str.763 .asciz "2. From Oberyn's nickname and because they're bastards" L_str.764: ## @str.764 .asciz "3. They came up with it" L_str.765: ## @str.765 .asciz "4. None of the above" L_str.766: ## @str.766 .asciz "What is the name of the poison Ellaria Martell uses to kill Myrcella?" L_str.767: ## @str.767 .asciz "1. The long farewell" L_str.768: ## @str.768 .asciz "2. The strangler" L_str.769: ## @str.769 .asciz "3. Widow's blood" L_str.770: ## @str.770 .asciz "4. Wolfsbane" L_str.771: ## @str.771 .asciz "What are the names of Elia Martell's children?" L_str.772: ## @str.772 .asciz "1. Ellaria and Aegon" L_str.773: ## @str.773 .asciz "2. Daenerys and Viserys" L_str.774: ## @str.774 .asciz "3. Rhaegar and Aerys" L_str.775: ## @str.775 .asciz "4. Raenys and Aegon" L_str.776: ## @str.776 .asciz "Why is there a red sun on the sigil for house Martell?" L_str.777: ## @str.777 .asciz "1. Represents the climate in Dorne" L_str.778: ## @str.778 .asciz "2. Represents the hot tempers ad passion of the Dornish " L_str.779: ## @str.779 .asciz "3. Represents the sun in Sunspear" L_str.780: ## @str.780 .asciz "4. Represents the sigil of Nymeria" L_str.781: ## @str.781 .asciz "The Dornish are very strongly against the Lannisters, however kind they may occasionally come across. Due to Tywin Lannister commanding for Elia Martell and her children's death, the Dornish are waiting to seek their revenge. With your presence and poor knowledge of their people, you have stirred up very strong feelings for revenge and the Dornish have acted out. As a result, 4,000 of your men have been slaughtered by the Dornish. The troops that were promised are still with you but don't mistake this act as a peace offering. Be careful what you wish for.\n" L_str.782: ## @str.782 .asciz "The Dornish are very strongly against the Lannisters, however kind they may occasionally come across. Due to Tywin Lannister commanding for Elia Martell and her children's death, the Dornish are waiting to seek their revenge. With your presence, you have stirred up very strong feelings for revenge and the Dornish have acted out. As a result, 2,000 of your men have been slaughtered by the Dornish. The troops that were promised are still with you but don't mistake this act as a peace offering. Be careful what you wish for.\n" L_str.783: ## @str.783 .asciz "The Dornish are a feisty and passionate people. Unfortunately, you have made a terrible impression and regardless of their allegance with anyone fighting against the Lannisters, you have displeased them and they have poisoned 2,000 of your men. Best to leave quickly without causing any more harm. \n" L_str.784: ## @str.784 .asciz "The Dornish are a fiesty and passionate people who are trained to be fighters since youth. Due to Tywin Lannister commanding for Elia Martell and her children's death, the Dornish are waiting to seek their revenge. Since you are currently in their good graces, they have decided to give you an additional 1,000 troops. Be warned, their allegance is easily tested.\n" L_str.785: ## @str.785 .asciz "1. Kingdom of the North" L_str.786: ## @str.786 .asciz "2. Kingdom of the Isles and Rivers" L_str.787: ## @str.787 .asciz "3. Kingdom of Mountains and Vale" L_str.788: ## @str.788 .asciz "4. Kingdom of the Rock" L_str.789: ## @str.789 .asciz "5. Kingdom of the Reach" L_str.790: ## @str.790 .asciz "6. Kingdom of the Stormlands" L_str.791: ## @str.791 .asciz "7. Principality of Dorne" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _startGame ; -- Begin function startGame .p2align 2 _startGame: ; @startGame .cfi_startproc ; %bb.0: sub w8, w0, #1 cmp w8, #6 b.hi LBB0_2 ; %bb.1: Lloh0: adrp x9, l_switch.table.main@PAGE Lloh1: add x9, x9, l_switch.table.main@PAGEOFF ldr x8, [x9, w8, sxtw #3] mov w9, #1 str w9, [x8] mov x0, x1 b _visitNext LBB0_2: ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _visitNext ; -- Begin function visitNext .p2align 2 _visitNext: ; @visitNext .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 Lloh2: adrp x0, l_str@PAGE Lloh3: add x0, x0, l_str@PAGEOFF bl _puts Lloh4: adrp x8, _kingdomsVisited@PAGE Lloh5: ldr w8, [x8, _kingdomsVisited@PAGEOFF] cbnz w8, LBB1_2 ; %bb.1: Lloh6: adrp x8, _kingdomsVisitedNames@PAGE Lloh7: ldr x8, [x8, _kingdomsVisitedNames@PAGEOFF] mov w9, #1 stp x9, x8, [sp] Lloh8: adrp x0, l_.str.8@PAGE Lloh9: add x0, x0, l_.str.8@PAGEOFF bl _printf LBB1_2: Lloh10: adrp x8, _kingdomsVisited@PAGE+4 Lloh11: ldr w8, [x8, _kingdomsVisited@PAGEOFF+4] cbnz w8, LBB1_4 ; %bb.3: Lloh12: adrp x8, _kingdomsVisitedNames@PAGE+8 Lloh13: ldr x8, [x8, _kingdomsVisitedNames@PAGEOFF+8] mov w9, #2 stp x9, x8, [sp] Lloh14: adrp x0, l_.str.8@PAGE Lloh15: add x0, x0, l_.str.8@PAGEOFF bl _printf LBB1_4: Lloh16: adrp x8, _kingdomsVisited@PAGE+8 Lloh17: ldr w8, [x8, _kingdomsVisited@PAGEOFF+8] cbnz w8, LBB1_6 ; %bb.5: Lloh18: adrp x8, _kingdomsVisitedNames@PAGE+16 Lloh19: ldr x8, [x8, _kingdomsVisitedNames@PAGEOFF+16] mov w9, #3 stp x9, x8, [sp] Lloh20: adrp x0, l_.str.8@PAGE Lloh21: add x0, x0, l_.str.8@PAGEOFF bl _printf LBB1_6: Lloh22: adrp x8, _kingdomsVisited@PAGE+12 Lloh23: ldr w8, [x8, _kingdomsVisited@PAGEOFF+12] cbnz w8, LBB1_8 ; %bb.7: Lloh24: adrp x8, _kingdomsVisitedNames@PAGE+24 Lloh25: ldr x8, [x8, _kingdomsVisitedNames@PAGEOFF+24] mov w9, #4 stp x9, x8, [sp] Lloh26: adrp x0, l_.str.8@PAGE Lloh27: add x0, x0, l_.str.8@PAGEOFF bl _printf LBB1_8: Lloh28: adrp x8, _kingdomsVisited@PAGE+16 Lloh29: ldr w8, [x8, _kingdomsVisited@PAGEOFF+16] cbnz w8, LBB1_10 ; %bb.9: Lloh30: adrp x8, _kingdomsVisitedNames@PAGE+32 Lloh31: ldr x8, [x8, _kingdomsVisitedNames@PAGEOFF+32] mov w9, #5 stp x9, x8, [sp] Lloh32: adrp x0, l_.str.8@PAGE Lloh33: add x0, x0, l_.str.8@PAGEOFF bl _printf LBB1_10: Lloh34: adrp x8, _kingdomsVisited@PAGE+20 Lloh35: ldr w8, [x8, _kingdomsVisited@PAGEOFF+20] cbnz w8, LBB1_12 ; %bb.11: Lloh36: adrp x8, _kingdomsVisitedNames@PAGE+40 Lloh37: ldr x8, [x8, _kingdomsVisitedNames@PAGEOFF+40] mov w9, #6 stp x9, x8, [sp] Lloh38: adrp x0, l_.str.8@PAGE Lloh39: add x0, x0, l_.str.8@PAGEOFF bl _printf LBB1_12: Lloh40: adrp x8, _kingdomsVisited@PAGE+24 Lloh41: ldr w8, [x8, _kingdomsVisited@PAGEOFF+24] cbnz w8, LBB1_14 ; %bb.13: Lloh42: adrp x8, _kingdomsVisitedNames@PAGE+48 Lloh43: ldr x8, [x8, _kingdomsVisitedNames@PAGEOFF+48] mov w9, #7 stp x9, x8, [sp] Lloh44: adrp x0, l_.str.8@PAGE Lloh45: add x0, x0, l_.str.8@PAGEOFF bl _printf LBB1_14: sub x20, x29, #20 str x20, [sp] Lloh46: adrp x0, l_.str.9@PAGE Lloh47: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldur w0, [x29, #-20] Lloh48: adrp x8, _kingdomsVisited@PAGE Lloh49: add x8, x8, _kingdomsVisited@PAGEOFF sub w9, w0, #1 ldr w8, [x8, w9, sxtw #2] cmp w8, #1 ccmp w0, #8, #0, ne ccmp w0, #0, #4, le b.gt LBB1_16 ; %bb.15: Lloh50: adrp x0, l_str.383@PAGE Lloh51: add x0, x0, l_str.383@PAGEOFF bl _puts str x20, [sp] Lloh52: adrp x0, l_.str.9@PAGE Lloh53: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldur w0, [x29, #-20] LBB1_16: mov x1, x19 bl _markCity ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdr Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdr Lloh6, Lloh7 .loh AdrpLdr Lloh10, Lloh11 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdr Lloh12, Lloh13 .loh AdrpLdr Lloh16, Lloh17 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdr Lloh18, Lloh19 .loh AdrpLdr Lloh22, Lloh23 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdr Lloh24, Lloh25 .loh AdrpLdr Lloh28, Lloh29 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpLdr Lloh30, Lloh31 .loh AdrpLdr Lloh34, Lloh35 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdr Lloh36, Lloh37 .loh AdrpLdr Lloh40, Lloh41 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpLdr Lloh42, Lloh43 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .cfi_endproc ; -- End function .globl _markCity ; -- Begin function markCity .p2align 2 _markCity: ; @markCity .cfi_startproc ; %bb.0: sub w8, w0, #1 cmp w1, #1 b.ne LBB2_4 ; %bb.1: cmp w8, #6 b.hi LBB2_7 ; %bb.2: Lloh54: adrp x9, lJTI2_1@PAGE Lloh55: add x9, x9, lJTI2_1@PAGEOFF adr x10, LBB2_3 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB2_3: mov w8, #1 adrp x9, _kingdomsVisited@PAGE str w8, [x9, _kingdomsVisited@PAGEOFF] mov w0, #1 b _northQE LBB2_4: cmp w8, #6 b.hi LBB2_7 ; %bb.5: Lloh56: adrp x9, lJTI2_0@PAGE Lloh57: add x9, x9, lJTI2_0@PAGEOFF adr x10, LBB2_6 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB2_6: mov w8, #1 adrp x9, _kingdomsVisited@PAGE str w8, [x9, _kingdomsVisited@PAGEOFF] mov x0, x1 b _northQH LBB2_7: ret LBB2_8: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+4 str w8, [x9, _kingdomsVisited@PAGEOFF+4] mov w0, #1 b _islesQE LBB2_9: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+8 str w8, [x9, _kingdomsVisited@PAGEOFF+8] mov w0, #1 b _valeQE LBB2_10: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+12 str w8, [x9, _kingdomsVisited@PAGEOFF+12] mov w0, #1 b _rockQE LBB2_11: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+16 str w8, [x9, _kingdomsVisited@PAGEOFF+16] mov w0, #1 b _reachQE LBB2_12: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+20 str w8, [x9, _kingdomsVisited@PAGEOFF+20] mov w0, #1 b _stormlandsQE LBB2_13: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+24 str w8, [x9, _kingdomsVisited@PAGEOFF+24] mov w0, #1 b _dorneQE LBB2_14: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+4 str w8, [x9, _kingdomsVisited@PAGEOFF+4] mov x0, x1 b _islesQH LBB2_15: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+8 str w8, [x9, _kingdomsVisited@PAGEOFF+8] mov x0, x1 b _valeQH LBB2_16: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+12 str w8, [x9, _kingdomsVisited@PAGEOFF+12] mov x0, x1 b _rockQH LBB2_17: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+16 str w8, [x9, _kingdomsVisited@PAGEOFF+16] mov x0, x1 b _reachQH LBB2_18: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+20 str w8, [x9, _kingdomsVisited@PAGEOFF+20] mov x0, x1 b _stormlandsQH LBB2_19: mov w8, #1 adrp x9, _kingdomsVisited@PAGE+24 str w8, [x9, _kingdomsVisited@PAGEOFF+24] mov x0, x1 b _dorneQH .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh56, Lloh57 .cfi_endproc .section __TEXT,__const lJTI2_0: .byte (LBB2_6-LBB2_6)>>2 .byte (LBB2_14-LBB2_6)>>2 .byte (LBB2_15-LBB2_6)>>2 .byte (LBB2_16-LBB2_6)>>2 .byte (LBB2_17-LBB2_6)>>2 .byte (LBB2_18-LBB2_6)>>2 .byte (LBB2_19-LBB2_6)>>2 lJTI2_1: .byte (LBB2_3-LBB2_3)>>2 .byte (LBB2_8-LBB2_3)>>2 .byte (LBB2_9-LBB2_3)>>2 .byte (LBB2_10-LBB2_3)>>2 .byte (LBB2_11-LBB2_3)>>2 .byte (LBB2_12-LBB2_3)>>2 .byte (LBB2_13-LBB2_3)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _northQE ; -- Begin function northQE .p2align 2 _northQE: ; @northQE .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh58: adrp x0, l_str.384@PAGE Lloh59: add x0, x0, l_str.384@PAGEOFF bl _puts Lloh60: adrp x0, l_str.385@PAGE Lloh61: add x0, x0, l_str.385@PAGEOFF bl _puts Lloh62: adrp x0, l_str.386@PAGE Lloh63: add x0, x0, l_str.386@PAGEOFF bl _puts Lloh64: adrp x0, l_str.387@PAGE Lloh65: add x0, x0, l_str.387@PAGEOFF bl _puts Lloh66: adrp x0, l_str.388@PAGE Lloh67: add x0, x0, l_str.388@PAGEOFF bl _puts add x21, sp, #28 str x21, [sp] Lloh68: adrp x0, l_.str.9@PAGE Lloh69: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 adrp x20, _userTroops@PAGE cmn w9, #5 b.hi LBB3_2 ; %bb.1: Lloh70: adrp x0, l_.str.16@PAGE Lloh71: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh72: adrp x0, l_.str.9@PAGE Lloh73: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w21, #0 b LBB3_5 LBB3_2: cmp w8, #1 b.ne LBB3_4 ; %bb.3: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #1000 str w8, [x20, _userTroops@PAGEOFF] mov w21, #1 b LBB3_5 LBB3_4: mov w21, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB3_5: Lloh74: adrp x0, l_str.389@PAGE Lloh75: add x0, x0, l_str.389@PAGEOFF bl _puts Lloh76: adrp x0, l_str.390@PAGE Lloh77: add x0, x0, l_str.390@PAGEOFF bl _puts Lloh78: adrp x0, l_str.391@PAGE Lloh79: add x0, x0, l_str.391@PAGEOFF bl _puts Lloh80: adrp x0, l_str.392@PAGE Lloh81: add x0, x0, l_str.392@PAGEOFF bl _puts Lloh82: adrp x0, l_str.393@PAGE Lloh83: add x0, x0, l_str.393@PAGEOFF bl _puts add x22, sp, #24 str x22, [sp] Lloh84: adrp x0, l_.str.9@PAGE Lloh85: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB3_7 ; %bb.6: Lloh86: adrp x0, l_.str.16@PAGE Lloh87: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh88: adrp x0, l_.str.9@PAGE Lloh89: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB3_10 LBB3_7: cmp w8, #3 b.ne LBB3_9 ; %bb.8: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #2000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB3_10 LBB3_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB3_10: Lloh90: adrp x0, l_str.394@PAGE Lloh91: add x0, x0, l_str.394@PAGEOFF bl _puts Lloh92: adrp x0, l_str.395@PAGE Lloh93: add x0, x0, l_str.395@PAGEOFF bl _puts Lloh94: adrp x0, l_str.732@PAGE Lloh95: add x0, x0, l_str.732@PAGEOFF bl _puts Lloh96: adrp x0, l_str.397@PAGE Lloh97: add x0, x0, l_str.397@PAGEOFF bl _puts Lloh98: adrp x0, l_str.398@PAGE Lloh99: add x0, x0, l_str.398@PAGEOFF bl _puts add x22, sp, #20 str x22, [sp] Lloh100: adrp x0, l_.str.9@PAGE Lloh101: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB3_12 ; %bb.11: Lloh102: adrp x0, l_.str.16@PAGE Lloh103: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh104: adrp x0, l_.str.9@PAGE Lloh105: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB3_15 LBB3_12: cmp w8, #2 b.ne LBB3_14 ; %bb.13: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #2000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB3_15 LBB3_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB3_15: Lloh106: adrp x0, l_str.399@PAGE Lloh107: add x0, x0, l_str.399@PAGEOFF bl _puts Lloh108: adrp x0, l_str.400@PAGE Lloh109: add x0, x0, l_str.400@PAGEOFF bl _puts Lloh110: adrp x0, l_str.401@PAGE Lloh111: add x0, x0, l_str.401@PAGEOFF bl _puts Lloh112: adrp x0, l_str.402@PAGE Lloh113: add x0, x0, l_str.402@PAGEOFF bl _puts Lloh114: adrp x0, l_str.403@PAGE Lloh115: add x0, x0, l_str.403@PAGEOFF bl _puts add x22, sp, #16 str x22, [sp] Lloh116: adrp x0, l_.str.9@PAGE Lloh117: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB3_17 ; %bb.16: Lloh118: adrp x0, l_.str.16@PAGE Lloh119: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh120: adrp x0, l_.str.9@PAGE Lloh121: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB3_20 LBB3_17: cmp w8, #2 b.ne LBB3_19 ; %bb.18: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #3000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB3_20 LBB3_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _aiTroops@PAGEOFF] LBB3_20: Lloh122: adrp x0, l_str.404@PAGE Lloh123: add x0, x0, l_str.404@PAGEOFF bl _puts Lloh124: adrp x0, l_str.405@PAGE Lloh125: add x0, x0, l_str.405@PAGEOFF bl _puts Lloh126: adrp x0, l_str.406@PAGE Lloh127: add x0, x0, l_str.406@PAGEOFF bl _puts Lloh128: adrp x0, l_str.407@PAGE Lloh129: add x0, x0, l_str.407@PAGEOFF bl _puts Lloh130: adrp x0, l_str.408@PAGE Lloh131: add x0, x0, l_str.408@PAGEOFF bl _puts add x22, sp, #12 str x22, [sp] Lloh132: adrp x0, l_.str.9@PAGE Lloh133: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB3_22 ; %bb.21: Lloh134: adrp x0, l_.str.16@PAGE Lloh135: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh136: adrp x0, l_.str.9@PAGE Lloh137: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB3_25 LBB3_22: cmp w8, #3 b.ne LBB3_24 ; %bb.23: ldr w8, [x20, _userTroops@PAGEOFF] mov w9, #5000 add w8, w8, w9 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB3_25 LBB3_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB3_25: Lloh138: adrp x8, _side@GOTPAGE Lloh139: ldr x8, [x8, _side@GOTPAGEOFF] Lloh140: ldr w8, [x8] cmp w21, #3 b.lo LBB3_28 ; %bb.26: cbnz w8, LBB3_28 ; %bb.27: mov w21, #-500 Lloh141: adrp x0, l_str.614@PAGE Lloh142: add x0, x0, l_str.614@PAGEOFF b LBB3_32 LBB3_28: cmp w21, #2 b.hi LBB3_31 ; %bb.29: cbnz w8, LBB3_31 ; %bb.30: mov w21, #-1500 Lloh143: adrp x0, l_str.411@PAGE Lloh144: add x0, x0, l_str.411@PAGEOFF b LBB3_32 LBB3_31: cmp w21, #2 cset w9, hi cmp w8, #1 Lloh145: adrp x8, l_str.611@PAGE Lloh146: add x8, x8, l_str.611@PAGEOFF Lloh147: adrp x10, l_str.612@PAGE Lloh148: add x10, x10, l_str.612@PAGEOFF cset w11, eq tst w9, w11 csel x0, x10, x8, ne mov w8, #-3000 mov w9, #-1000 csel w21, w9, w8, ne LBB3_32: bl _puts ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, w21 str w8, [x20, _userTroops@PAGEOFF] mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh68, Lloh69 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpAdd Lloh84, Lloh85 .loh AdrpAdd Lloh82, Lloh83 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpAdd Lloh76, Lloh77 .loh AdrpAdd Lloh74, Lloh75 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpAdd Lloh86, Lloh87 .loh AdrpAdd Lloh100, Lloh101 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpAdd Lloh94, Lloh95 .loh AdrpAdd Lloh92, Lloh93 .loh AdrpAdd Lloh90, Lloh91 .loh AdrpAdd Lloh104, Lloh105 .loh AdrpAdd Lloh102, Lloh103 .loh AdrpAdd Lloh116, Lloh117 .loh AdrpAdd Lloh114, Lloh115 .loh AdrpAdd Lloh112, Lloh113 .loh AdrpAdd Lloh110, Lloh111 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpAdd Lloh106, Lloh107 .loh AdrpAdd Lloh120, Lloh121 .loh AdrpAdd Lloh118, Lloh119 .loh AdrpAdd Lloh132, Lloh133 .loh AdrpAdd Lloh130, Lloh131 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpAdd Lloh126, Lloh127 .loh AdrpAdd Lloh124, Lloh125 .loh AdrpAdd Lloh122, Lloh123 .loh AdrpAdd Lloh136, Lloh137 .loh AdrpAdd Lloh134, Lloh135 .loh AdrpLdrGotLdr Lloh138, Lloh139, Lloh140 .loh AdrpAdd Lloh141, Lloh142 .loh AdrpAdd Lloh143, Lloh144 .loh AdrpAdd Lloh147, Lloh148 .loh AdrpAdd Lloh145, Lloh146 .cfi_endproc ; -- End function .globl _islesQE ; -- Begin function islesQE .p2align 2 _islesQE: ; @islesQE .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh149: adrp x0, l_str.413@PAGE Lloh150: add x0, x0, l_str.413@PAGEOFF bl _puts Lloh151: adrp x0, l_str.414@PAGE Lloh152: add x0, x0, l_str.414@PAGEOFF bl _puts Lloh153: adrp x0, l_str.415@PAGE Lloh154: add x0, x0, l_str.415@PAGEOFF bl _puts Lloh155: adrp x0, l_str.416@PAGE Lloh156: add x0, x0, l_str.416@PAGEOFF bl _puts Lloh157: adrp x0, l_str.417@PAGE Lloh158: add x0, x0, l_str.417@PAGEOFF bl _puts add x20, sp, #28 str x20, [sp] Lloh159: adrp x0, l_.str.9@PAGE Lloh160: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 cmn w9, #5 b.hi LBB4_2 ; %bb.1: Lloh161: adrp x0, l_.str.16@PAGE Lloh162: add x0, x0, l_.str.16@PAGEOFF bl _printf str x20, [sp] Lloh163: adrp x0, l_.str.9@PAGE Lloh164: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w20, #0 b LBB4_5 LBB4_2: cmp w8, #1 b.ne LBB4_4 ; %bb.3: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] mov w20, #1 b LBB4_5 LBB4_4: mov w20, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB4_5: Lloh165: adrp x0, l_str.418@PAGE Lloh166: add x0, x0, l_str.418@PAGEOFF bl _puts Lloh167: adrp x0, l_str.419@PAGE Lloh168: add x0, x0, l_str.419@PAGEOFF bl _puts Lloh169: adrp x0, l_str.420@PAGE Lloh170: add x0, x0, l_str.420@PAGEOFF bl _puts Lloh171: adrp x0, l_str.421@PAGE Lloh172: add x0, x0, l_str.421@PAGEOFF bl _puts Lloh173: adrp x0, l_str.422@PAGE Lloh174: add x0, x0, l_str.422@PAGEOFF bl _puts add x21, sp, #24 str x21, [sp] Lloh175: adrp x0, l_.str.9@PAGE Lloh176: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB4_7 ; %bb.6: Lloh177: adrp x0, l_.str.16@PAGE Lloh178: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh179: adrp x0, l_.str.9@PAGE Lloh180: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB4_10 LBB4_7: cmp w8, #3 b.ne LBB4_9 ; %bb.8: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB4_10 LBB4_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB4_10: Lloh181: adrp x0, l_str.423@PAGE Lloh182: add x0, x0, l_str.423@PAGEOFF bl _puts Lloh183: adrp x0, l_str.424@PAGE Lloh184: add x0, x0, l_str.424@PAGEOFF bl _puts Lloh185: adrp x0, l_str.425@PAGE Lloh186: add x0, x0, l_str.425@PAGEOFF bl _puts Lloh187: adrp x0, l_str.426@PAGE Lloh188: add x0, x0, l_str.426@PAGEOFF bl _puts Lloh189: adrp x0, l_str.427@PAGE Lloh190: add x0, x0, l_str.427@PAGEOFF bl _puts add x21, sp, #20 str x21, [sp] Lloh191: adrp x0, l_.str.9@PAGE Lloh192: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB4_12 ; %bb.11: Lloh193: adrp x0, l_.str.16@PAGE Lloh194: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh195: adrp x0, l_.str.9@PAGE Lloh196: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB4_15 LBB4_12: cmp w8, #4 b.ne LBB4_14 ; %bb.13: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB4_15 LBB4_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB4_15: Lloh197: adrp x0, l_str.428@PAGE Lloh198: add x0, x0, l_str.428@PAGEOFF bl _puts Lloh199: adrp x0, l_str.429@PAGE Lloh200: add x0, x0, l_str.429@PAGEOFF bl _puts Lloh201: adrp x0, l_str.430@PAGE Lloh202: add x0, x0, l_str.430@PAGEOFF bl _puts Lloh203: adrp x0, l_str.431@PAGE Lloh204: add x0, x0, l_str.431@PAGEOFF bl _puts Lloh205: adrp x0, l_str.432@PAGE Lloh206: add x0, x0, l_str.432@PAGEOFF bl _puts add x21, sp, #16 str x21, [sp] Lloh207: adrp x0, l_.str.9@PAGE Lloh208: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB4_17 ; %bb.16: Lloh209: adrp x0, l_.str.16@PAGE Lloh210: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh211: adrp x0, l_.str.9@PAGE Lloh212: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB4_20 LBB4_17: cmp w8, #4 b.ne LBB4_19 ; %bb.18: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB4_20 LBB4_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB4_20: Lloh213: adrp x0, l_str.433@PAGE Lloh214: add x0, x0, l_str.433@PAGEOFF bl _puts Lloh215: adrp x0, l_str.434@PAGE Lloh216: add x0, x0, l_str.434@PAGEOFF bl _puts Lloh217: adrp x0, l_str.435@PAGE Lloh218: add x0, x0, l_str.435@PAGEOFF bl _puts Lloh219: adrp x0, l_str.436@PAGE Lloh220: add x0, x0, l_str.436@PAGEOFF bl _puts Lloh221: adrp x0, l_str.437@PAGE Lloh222: add x0, x0, l_str.437@PAGEOFF bl _puts add x21, sp, #12 str x21, [sp] Lloh223: adrp x0, l_.str.9@PAGE Lloh224: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB4_22 ; %bb.21: Lloh225: adrp x0, l_.str.16@PAGE Lloh226: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh227: adrp x0, l_.str.9@PAGE Lloh228: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB4_25 LBB4_22: cmp w8, #3 b.ne LBB4_24 ; %bb.23: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB4_25 LBB4_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB4_25: Lloh229: adrp x8, _side@GOTPAGE Lloh230: ldr x8, [x8, _side@GOTPAGEOFF] Lloh231: ldr w8, [x8] cmp w20, #3 b.lo LBB4_28 ; %bb.26: cbnz w8, LBB4_28 ; %bb.27: Lloh232: adrp x0, l_str.643@PAGE Lloh233: add x0, x0, l_str.643@PAGEOFF bl _puts adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #4000 b LBB4_36 LBB4_28: cmp w20, #2 b.hi LBB4_31 ; %bb.29: cbnz w8, LBB4_31 ; %bb.30: Lloh234: adrp x0, l_str.642@PAGE Lloh235: add x0, x0, l_str.642@PAGEOFF bl _puts b LBB4_35 LBB4_31: cmp w20, #3 b.lo LBB4_34 ; %bb.32: cmp w8, #1 b.ne LBB4_34 ; %bb.33: Lloh236: adrp x0, l_str.641@PAGE Lloh237: add x0, x0, l_str.641@PAGEOFF bl _puts b LBB4_37 LBB4_34: Lloh238: adrp x0, l_.str.120@PAGE Lloh239: add x0, x0, l_.str.120@PAGEOFF bl _printf LBB4_35: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] sub w9, w9, #2000 LBB4_36: str w9, [x8, _userTroops@PAGEOFF] LBB4_37: mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh159, Lloh160 .loh AdrpAdd Lloh157, Lloh158 .loh AdrpAdd Lloh155, Lloh156 .loh AdrpAdd Lloh153, Lloh154 .loh AdrpAdd Lloh151, Lloh152 .loh AdrpAdd Lloh149, Lloh150 .loh AdrpAdd Lloh163, Lloh164 .loh AdrpAdd Lloh161, Lloh162 .loh AdrpAdd Lloh175, Lloh176 .loh AdrpAdd Lloh173, Lloh174 .loh AdrpAdd Lloh171, Lloh172 .loh AdrpAdd Lloh169, Lloh170 .loh AdrpAdd Lloh167, Lloh168 .loh AdrpAdd Lloh165, Lloh166 .loh AdrpAdd Lloh179, Lloh180 .loh AdrpAdd Lloh177, Lloh178 .loh AdrpAdd Lloh191, Lloh192 .loh AdrpAdd Lloh189, Lloh190 .loh AdrpAdd Lloh187, Lloh188 .loh AdrpAdd Lloh185, Lloh186 .loh AdrpAdd Lloh183, Lloh184 .loh AdrpAdd Lloh181, Lloh182 .loh AdrpAdd Lloh195, Lloh196 .loh AdrpAdd Lloh193, Lloh194 .loh AdrpAdd Lloh207, Lloh208 .loh AdrpAdd Lloh205, Lloh206 .loh AdrpAdd Lloh203, Lloh204 .loh AdrpAdd Lloh201, Lloh202 .loh AdrpAdd Lloh199, Lloh200 .loh AdrpAdd Lloh197, Lloh198 .loh AdrpAdd Lloh211, Lloh212 .loh AdrpAdd Lloh209, Lloh210 .loh AdrpAdd Lloh223, Lloh224 .loh AdrpAdd Lloh221, Lloh222 .loh AdrpAdd Lloh219, Lloh220 .loh AdrpAdd Lloh217, Lloh218 .loh AdrpAdd Lloh215, Lloh216 .loh AdrpAdd Lloh213, Lloh214 .loh AdrpAdd Lloh227, Lloh228 .loh AdrpAdd Lloh225, Lloh226 .loh AdrpLdrGotLdr Lloh229, Lloh230, Lloh231 .loh AdrpAdd Lloh232, Lloh233 .loh AdrpAdd Lloh234, Lloh235 .loh AdrpAdd Lloh236, Lloh237 .loh AdrpAdd Lloh238, Lloh239 .cfi_endproc ; -- End function .globl _valeQE ; -- Begin function valeQE .p2align 2 _valeQE: ; @valeQE .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh240: adrp x0, l_str.441@PAGE Lloh241: add x0, x0, l_str.441@PAGEOFF bl _puts Lloh242: adrp x0, l_str.442@PAGE Lloh243: add x0, x0, l_str.442@PAGEOFF bl _puts Lloh244: adrp x0, l_str.559@PAGE Lloh245: add x0, x0, l_str.559@PAGEOFF bl _puts Lloh246: adrp x0, l_str.444@PAGE Lloh247: add x0, x0, l_str.444@PAGEOFF bl _puts Lloh248: adrp x0, l_str.445@PAGE Lloh249: add x0, x0, l_str.445@PAGEOFF bl _puts add x21, sp, #28 str x21, [sp] Lloh250: adrp x0, l_.str.9@PAGE Lloh251: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 adrp x20, _userTroops@PAGE cmn w9, #5 b.hi LBB5_2 ; %bb.1: Lloh252: adrp x0, l_.str.16@PAGE Lloh253: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh254: adrp x0, l_.str.9@PAGE Lloh255: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w21, #0 b LBB5_5 LBB5_2: cmp w8, #3 b.ne LBB5_4 ; %bb.3: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #3000 str w8, [x20, _userTroops@PAGEOFF] mov w21, #1 b LBB5_5 LBB5_4: mov w21, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _aiTroops@PAGEOFF] LBB5_5: Lloh256: adrp x0, l_str.446@PAGE Lloh257: add x0, x0, l_str.446@PAGEOFF bl _puts Lloh258: adrp x0, l_str.447@PAGE Lloh259: add x0, x0, l_str.447@PAGEOFF bl _puts Lloh260: adrp x0, l_str.448@PAGE Lloh261: add x0, x0, l_str.448@PAGEOFF bl _puts Lloh262: adrp x0, l_str.449@PAGE Lloh263: add x0, x0, l_str.449@PAGEOFF bl _puts Lloh264: adrp x0, l_str.450@PAGE Lloh265: add x0, x0, l_str.450@PAGEOFF bl _puts add x22, sp, #24 str x22, [sp] Lloh266: adrp x0, l_.str.9@PAGE Lloh267: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB5_7 ; %bb.6: Lloh268: adrp x0, l_.str.16@PAGE Lloh269: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh270: adrp x0, l_.str.9@PAGE Lloh271: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB5_10 LBB5_7: cmp w8, #3 b.ne LBB5_9 ; %bb.8: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #4000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB5_10 LBB5_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #4000 str w9, [x8, _aiTroops@PAGEOFF] LBB5_10: Lloh272: adrp x0, l_str.451@PAGE Lloh273: add x0, x0, l_str.451@PAGEOFF bl _puts Lloh274: adrp x0, l_str.452@PAGE Lloh275: add x0, x0, l_str.452@PAGEOFF bl _puts Lloh276: adrp x0, l_str.453@PAGE Lloh277: add x0, x0, l_str.453@PAGEOFF bl _puts Lloh278: adrp x0, l_str.454@PAGE Lloh279: add x0, x0, l_str.454@PAGEOFF bl _puts Lloh280: adrp x0, l_str.455@PAGE Lloh281: add x0, x0, l_str.455@PAGEOFF bl _puts add x22, sp, #20 str x22, [sp] Lloh282: adrp x0, l_.str.9@PAGE Lloh283: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB5_12 ; %bb.11: Lloh284: adrp x0, l_.str.16@PAGE Lloh285: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh286: adrp x0, l_.str.9@PAGE Lloh287: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB5_15 LBB5_12: cmp w8, #3 b.ne LBB5_14 ; %bb.13: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #2000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB5_15 LBB5_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB5_15: Lloh288: adrp x0, l_str.456@PAGE Lloh289: add x0, x0, l_str.456@PAGEOFF bl _puts Lloh290: adrp x0, l_str.457@PAGE Lloh291: add x0, x0, l_str.457@PAGEOFF bl _puts Lloh292: adrp x0, l_str.458@PAGE Lloh293: add x0, x0, l_str.458@PAGEOFF bl _puts Lloh294: adrp x0, l_str.459@PAGE Lloh295: add x0, x0, l_str.459@PAGEOFF bl _puts Lloh296: adrp x0, l_str.460@PAGE Lloh297: add x0, x0, l_str.460@PAGEOFF bl _puts add x22, sp, #16 str x22, [sp] Lloh298: adrp x0, l_.str.9@PAGE Lloh299: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB5_17 ; %bb.16: Lloh300: adrp x0, l_.str.16@PAGE Lloh301: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh302: adrp x0, l_.str.9@PAGE Lloh303: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB5_20 LBB5_17: cmp w8, #2 b.ne LBB5_19 ; %bb.18: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #4000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB5_20 LBB5_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #4000 str w9, [x8, _aiTroops@PAGEOFF] LBB5_20: Lloh304: adrp x0, l_str.461@PAGE Lloh305: add x0, x0, l_str.461@PAGEOFF bl _puts Lloh306: adrp x0, l_str.462@PAGE Lloh307: add x0, x0, l_str.462@PAGEOFF bl _puts Lloh308: adrp x0, l_str.463@PAGE Lloh309: add x0, x0, l_str.463@PAGEOFF bl _puts Lloh310: adrp x0, l_str.464@PAGE Lloh311: add x0, x0, l_str.464@PAGEOFF bl _puts Lloh312: adrp x0, l_str.465@PAGE Lloh313: add x0, x0, l_str.465@PAGEOFF bl _puts add x22, sp, #12 str x22, [sp] Lloh314: adrp x0, l_.str.9@PAGE Lloh315: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB5_22 ; %bb.21: Lloh316: adrp x0, l_.str.16@PAGE Lloh317: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh318: adrp x0, l_.str.9@PAGE Lloh319: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB5_25 LBB5_22: cmp w8, #2 b.ne LBB5_24 ; %bb.23: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #1000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB5_25 LBB5_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB5_25: Lloh320: adrp x8, _side@GOTPAGE Lloh321: ldr x8, [x8, _side@GOTPAGEOFF] Lloh322: ldr w8, [x8] cmp w21, #3 b.lo LBB5_28 ; %bb.26: cbnz w8, LBB5_28 ; %bb.27: mov w22, #2000 Lloh323: adrp x0, l_str.670@PAGE Lloh324: add x0, x0, l_str.670@PAGEOFF b LBB5_32 LBB5_28: mov w22, #-2000 cmp w21, #2 b.hi LBB5_31 ; %bb.29: cbnz w8, LBB5_31 ; %bb.30: Lloh325: adrp x0, l_str.669@PAGE Lloh326: add x0, x0, l_str.669@PAGEOFF b LBB5_32 LBB5_31: cmp w21, #2 cset w9, hi cmp w8, #1 cset w8, eq Lloh327: adrp x10, l_str.667@PAGE Lloh328: add x10, x10, l_str.667@PAGEOFF Lloh329: adrp x11, l_str.668@PAGE Lloh330: add x11, x11, l_str.668@PAGEOFF tst w9, w8 csel x0, x11, x10, ne mov w8, #-4000 csel w22, w22, w8, ne LBB5_32: bl _puts ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, w22 str w8, [x20, _userTroops@PAGEOFF] mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh250, Lloh251 .loh AdrpAdd Lloh248, Lloh249 .loh AdrpAdd Lloh246, Lloh247 .loh AdrpAdd Lloh244, Lloh245 .loh AdrpAdd Lloh242, Lloh243 .loh AdrpAdd Lloh240, Lloh241 .loh AdrpAdd Lloh254, Lloh255 .loh AdrpAdd Lloh252, Lloh253 .loh AdrpAdd Lloh266, Lloh267 .loh AdrpAdd Lloh264, Lloh265 .loh AdrpAdd Lloh262, Lloh263 .loh AdrpAdd Lloh260, Lloh261 .loh AdrpAdd Lloh258, Lloh259 .loh AdrpAdd Lloh256, Lloh257 .loh AdrpAdd Lloh270, Lloh271 .loh AdrpAdd Lloh268, Lloh269 .loh AdrpAdd Lloh282, Lloh283 .loh AdrpAdd Lloh280, Lloh281 .loh AdrpAdd Lloh278, Lloh279 .loh AdrpAdd Lloh276, Lloh277 .loh AdrpAdd Lloh274, Lloh275 .loh AdrpAdd Lloh272, Lloh273 .loh AdrpAdd Lloh286, Lloh287 .loh AdrpAdd Lloh284, Lloh285 .loh AdrpAdd Lloh298, Lloh299 .loh AdrpAdd Lloh296, Lloh297 .loh AdrpAdd Lloh294, Lloh295 .loh AdrpAdd Lloh292, Lloh293 .loh AdrpAdd Lloh290, Lloh291 .loh AdrpAdd Lloh288, Lloh289 .loh AdrpAdd Lloh302, Lloh303 .loh AdrpAdd Lloh300, Lloh301 .loh AdrpAdd Lloh314, Lloh315 .loh AdrpAdd Lloh312, Lloh313 .loh AdrpAdd Lloh310, Lloh311 .loh AdrpAdd Lloh308, Lloh309 .loh AdrpAdd Lloh306, Lloh307 .loh AdrpAdd Lloh304, Lloh305 .loh AdrpAdd Lloh318, Lloh319 .loh AdrpAdd Lloh316, Lloh317 .loh AdrpLdrGotLdr Lloh320, Lloh321, Lloh322 .loh AdrpAdd Lloh323, Lloh324 .loh AdrpAdd Lloh325, Lloh326 .loh AdrpAdd Lloh329, Lloh330 .loh AdrpAdd Lloh327, Lloh328 .cfi_endproc ; -- End function .globl _rockQE ; -- Begin function rockQE .p2align 2 _rockQE: ; @rockQE .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh331: adrp x0, l_str.470@PAGE Lloh332: add x0, x0, l_str.470@PAGEOFF bl _puts Lloh333: adrp x0, l_str.471@PAGE Lloh334: add x0, x0, l_str.471@PAGEOFF bl _puts Lloh335: adrp x0, l_str.472@PAGE Lloh336: add x0, x0, l_str.472@PAGEOFF bl _puts Lloh337: adrp x0, l_str.473@PAGE Lloh338: add x0, x0, l_str.473@PAGEOFF bl _puts Lloh339: adrp x0, l_str.474@PAGE Lloh340: add x0, x0, l_str.474@PAGEOFF bl _puts add x20, sp, #28 str x20, [sp] Lloh341: adrp x0, l_.str.9@PAGE Lloh342: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 cmn w9, #5 b.hi LBB6_2 ; %bb.1: Lloh343: adrp x0, l_.str.16@PAGE Lloh344: add x0, x0, l_.str.16@PAGEOFF bl _printf str x20, [sp] Lloh345: adrp x0, l_.str.9@PAGE Lloh346: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w20, #0 b LBB6_5 LBB6_2: cmp w8, #1 b.ne LBB6_4 ; %bb.3: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _userTroops@PAGEOFF] mov w20, #1 b LBB6_5 LBB6_4: mov w20, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB6_5: Lloh347: adrp x0, l_str.475@PAGE Lloh348: add x0, x0, l_str.475@PAGEOFF bl _puts Lloh349: adrp x0, l_str.476@PAGE Lloh350: add x0, x0, l_str.476@PAGEOFF bl _puts Lloh351: adrp x0, l_str.477@PAGE Lloh352: add x0, x0, l_str.477@PAGEOFF bl _puts Lloh353: adrp x0, l_str.478@PAGE Lloh354: add x0, x0, l_str.478@PAGEOFF bl _puts Lloh355: adrp x0, l_str.479@PAGE Lloh356: add x0, x0, l_str.479@PAGEOFF bl _puts add x21, sp, #24 str x21, [sp] Lloh357: adrp x0, l_.str.9@PAGE Lloh358: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB6_7 ; %bb.6: Lloh359: adrp x0, l_.str.16@PAGE Lloh360: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh361: adrp x0, l_.str.9@PAGE Lloh362: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB6_10 LBB6_7: cmp w8, #4 b.ne LBB6_9 ; %bb.8: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB6_10 LBB6_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _aiTroops@PAGEOFF] LBB6_10: Lloh363: adrp x0, l_str.480@PAGE Lloh364: add x0, x0, l_str.480@PAGEOFF bl _puts Lloh365: adrp x0, l_str.481@PAGE Lloh366: add x0, x0, l_str.481@PAGEOFF bl _puts Lloh367: adrp x0, l_str.482@PAGE Lloh368: add x0, x0, l_str.482@PAGEOFF bl _puts Lloh369: adrp x0, l_str.483@PAGE Lloh370: add x0, x0, l_str.483@PAGEOFF bl _puts Lloh371: adrp x0, l_str.765@PAGE Lloh372: add x0, x0, l_str.765@PAGEOFF bl _puts add x21, sp, #20 str x21, [sp] Lloh373: adrp x0, l_.str.9@PAGE Lloh374: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB6_12 ; %bb.11: Lloh375: adrp x0, l_.str.16@PAGE Lloh376: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh377: adrp x0, l_.str.9@PAGE Lloh378: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB6_15 LBB6_12: cmp w8, #2 b.ne LBB6_14 ; %bb.13: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB6_15 LBB6_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB6_15: Lloh379: adrp x0, l_str.485@PAGE Lloh380: add x0, x0, l_str.485@PAGEOFF bl _puts Lloh381: adrp x0, l_str.486@PAGE Lloh382: add x0, x0, l_str.486@PAGEOFF bl _puts Lloh383: adrp x0, l_str.487@PAGE Lloh384: add x0, x0, l_str.487@PAGEOFF bl _puts Lloh385: adrp x0, l_str.488@PAGE Lloh386: add x0, x0, l_str.488@PAGEOFF bl _puts Lloh387: adrp x0, l_str.489@PAGE Lloh388: add x0, x0, l_str.489@PAGEOFF bl _puts add x21, sp, #16 str x21, [sp] Lloh389: adrp x0, l_.str.9@PAGE Lloh390: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB6_17 ; %bb.16: Lloh391: adrp x0, l_.str.16@PAGE Lloh392: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh393: adrp x0, l_.str.9@PAGE Lloh394: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB6_20 LBB6_17: cmp w8, #3 b.ne LBB6_19 ; %bb.18: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB6_20 LBB6_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB6_20: Lloh395: adrp x0, l_str.490@PAGE Lloh396: add x0, x0, l_str.490@PAGEOFF bl _puts Lloh397: adrp x0, l_str.491@PAGE Lloh398: add x0, x0, l_str.491@PAGEOFF bl _puts Lloh399: adrp x0, l_str.492@PAGE Lloh400: add x0, x0, l_str.492@PAGEOFF bl _puts Lloh401: adrp x0, l_str.493@PAGE Lloh402: add x0, x0, l_str.493@PAGEOFF bl _puts add x21, sp, #12 str x21, [sp] Lloh403: adrp x0, l_.str.9@PAGE Lloh404: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #4 cmn w9, #4 b.hi LBB6_22 ; %bb.21: Lloh405: adrp x0, l_.str.16@PAGE Lloh406: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh407: adrp x0, l_.str.9@PAGE Lloh408: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB6_25 LBB6_22: cmp w8, #1 b.ne LBB6_24 ; %bb.23: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB6_25 LBB6_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB6_25: Lloh409: adrp x8, _side@GOTPAGE Lloh410: ldr x8, [x8, _side@GOTPAGEOFF] Lloh411: ldr w8, [x8] cmp w20, #3 b.lo LBB6_29 ; %bb.26: cbnz w8, LBB6_29 ; %bb.27: adrp x21, _userTroops@PAGE ldr w8, [x21, _userTroops@PAGEOFF] adrp x20, _aiTroops@PAGE ldr w9, [x20, _aiTroops@PAGEOFF] cmp w8, w9 b.le LBB6_35 ; %bb.28: Lloh412: adrp x0, l_str.700@PAGE Lloh413: add x0, x0, l_str.700@PAGEOFF bl _puts ldr w8, [x21, _userTroops@PAGEOFF] sub w8, w8, #3000 str w8, [x21, _userTroops@PAGEOFF] ldr w8, [x20, _aiTroops@PAGEOFF] sub w8, w8, #4000 str w8, [x20, _aiTroops@PAGEOFF] b LBB6_37 LBB6_29: cmp w20, #2 b.hi LBB6_32 ; %bb.30: cbnz w8, LBB6_32 ; %bb.31: Lloh414: adrp x0, l_str.698@PAGE Lloh415: add x0, x0, l_str.698@PAGEOFF bl _puts Lloh416: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] sub w9, w9, #4000 str w9, [x8, _userTroops@PAGEOFF] Lloh417: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] sub w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] b LBB6_37 LBB6_32: cmp w20, #3 b.lo LBB6_36 ; %bb.33: cmp w8, #1 b.ne LBB6_36 ; %bb.34: Lloh418: adrp x0, l_str.697@PAGE Lloh419: add x0, x0, l_str.697@PAGEOFF bl _puts adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] b LBB6_37 LBB6_35: Lloh420: adrp x0, l_str.699@PAGE Lloh421: add x0, x0, l_str.699@PAGEOFF bl _puts ldr w8, [x21, _userTroops@PAGEOFF] sub w8, w8, #3000 str w8, [x21, _userTroops@PAGEOFF] ldr w8, [x20, _aiTroops@PAGEOFF] sub w8, w8, #2000 str w8, [x20, _aiTroops@PAGEOFF] b LBB6_37 LBB6_36: Lloh422: adrp x0, l_str.696@PAGE Lloh423: add x0, x0, l_str.696@PAGEOFF bl _puts LBB6_37: mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh341, Lloh342 .loh AdrpAdd Lloh339, Lloh340 .loh AdrpAdd Lloh337, Lloh338 .loh AdrpAdd Lloh335, Lloh336 .loh AdrpAdd Lloh333, Lloh334 .loh AdrpAdd Lloh331, Lloh332 .loh AdrpAdd Lloh345, Lloh346 .loh AdrpAdd Lloh343, Lloh344 .loh AdrpAdd Lloh357, Lloh358 .loh AdrpAdd Lloh355, Lloh356 .loh AdrpAdd Lloh353, Lloh354 .loh AdrpAdd Lloh351, Lloh352 .loh AdrpAdd Lloh349, Lloh350 .loh AdrpAdd Lloh347, Lloh348 .loh AdrpAdd Lloh361, Lloh362 .loh AdrpAdd Lloh359, Lloh360 .loh AdrpAdd Lloh373, Lloh374 .loh AdrpAdd Lloh371, Lloh372 .loh AdrpAdd Lloh369, Lloh370 .loh AdrpAdd Lloh367, Lloh368 .loh AdrpAdd Lloh365, Lloh366 .loh AdrpAdd Lloh363, Lloh364 .loh AdrpAdd Lloh377, Lloh378 .loh AdrpAdd Lloh375, Lloh376 .loh AdrpAdd Lloh389, Lloh390 .loh AdrpAdd Lloh387, Lloh388 .loh AdrpAdd Lloh385, Lloh386 .loh AdrpAdd Lloh383, Lloh384 .loh AdrpAdd Lloh381, Lloh382 .loh AdrpAdd Lloh379, Lloh380 .loh AdrpAdd Lloh393, Lloh394 .loh AdrpAdd Lloh391, Lloh392 .loh AdrpAdd Lloh403, Lloh404 .loh AdrpAdd Lloh401, Lloh402 .loh AdrpAdd Lloh399, Lloh400 .loh AdrpAdd Lloh397, Lloh398 .loh AdrpAdd Lloh395, Lloh396 .loh AdrpAdd Lloh407, Lloh408 .loh AdrpAdd Lloh405, Lloh406 .loh AdrpLdrGotLdr Lloh409, Lloh410, Lloh411 .loh AdrpAdd Lloh412, Lloh413 .loh AdrpAdrp Lloh416, Lloh417 .loh AdrpAdd Lloh414, Lloh415 .loh AdrpAdd Lloh418, Lloh419 .loh AdrpAdd Lloh420, Lloh421 .loh AdrpAdd Lloh422, Lloh423 .cfi_endproc ; -- End function .globl _reachQE ; -- Begin function reachQE .p2align 2 _reachQE: ; @reachQE .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh424: adrp x0, l_str.499@PAGE Lloh425: add x0, x0, l_str.499@PAGEOFF bl _puts Lloh426: adrp x0, l_str.658@PAGE Lloh427: add x0, x0, l_str.658@PAGEOFF bl _puts Lloh428: adrp x0, l_str.501@PAGE Lloh429: add x0, x0, l_str.501@PAGEOFF bl _puts Lloh430: adrp x0, l_str.502@PAGE Lloh431: add x0, x0, l_str.502@PAGEOFF bl _puts Lloh432: adrp x0, l_str.690@PAGE Lloh433: add x0, x0, l_str.690@PAGEOFF bl _puts add x20, sp, #28 str x20, [sp] Lloh434: adrp x0, l_.str.9@PAGE Lloh435: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 cmn w9, #5 b.hi LBB7_2 ; %bb.1: Lloh436: adrp x0, l_.str.16@PAGE Lloh437: add x0, x0, l_.str.16@PAGEOFF bl _printf str x20, [sp] Lloh438: adrp x0, l_.str.9@PAGE Lloh439: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w20, #0 b LBB7_5 LBB7_2: cmp w8, #3 b.ne LBB7_4 ; %bb.3: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _userTroops@PAGEOFF] mov w20, #1 b LBB7_5 LBB7_4: mov w20, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB7_5: Lloh440: adrp x0, l_str.504@PAGE Lloh441: add x0, x0, l_str.504@PAGEOFF bl _puts Lloh442: adrp x0, l_str.505@PAGE Lloh443: add x0, x0, l_str.505@PAGEOFF bl _puts Lloh444: adrp x0, l_str.506@PAGE Lloh445: add x0, x0, l_str.506@PAGEOFF bl _puts Lloh446: adrp x0, l_str.507@PAGE Lloh447: add x0, x0, l_str.507@PAGEOFF bl _puts Lloh448: adrp x0, l_str.508@PAGE Lloh449: add x0, x0, l_str.508@PAGEOFF bl _puts add x21, sp, #24 str x21, [sp] Lloh450: adrp x0, l_.str.9@PAGE Lloh451: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB7_7 ; %bb.6: Lloh452: adrp x0, l_.str.16@PAGE Lloh453: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh454: adrp x0, l_.str.9@PAGE Lloh455: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB7_10 LBB7_7: cmp w8, #4 b.ne LBB7_9 ; %bb.8: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB7_10 LBB7_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB7_10: Lloh456: adrp x0, l_str.509@PAGE Lloh457: add x0, x0, l_str.509@PAGEOFF bl _puts Lloh458: adrp x0, l_str.510@PAGE Lloh459: add x0, x0, l_str.510@PAGEOFF bl _puts Lloh460: adrp x0, l_str.511@PAGE Lloh461: add x0, x0, l_str.511@PAGEOFF bl _puts Lloh462: adrp x0, l_str.689@PAGE Lloh463: add x0, x0, l_str.689@PAGEOFF bl _puts Lloh464: adrp x0, l_str.513@PAGE Lloh465: add x0, x0, l_str.513@PAGEOFF bl _puts add x21, sp, #20 str x21, [sp] Lloh466: adrp x0, l_.str.9@PAGE Lloh467: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB7_12 ; %bb.11: Lloh468: adrp x0, l_.str.16@PAGE Lloh469: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh470: adrp x0, l_.str.9@PAGE Lloh471: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB7_15 LBB7_12: cmp w8, #1 b.ne LBB7_14 ; %bb.13: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB7_15 LBB7_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _aiTroops@PAGEOFF] LBB7_15: Lloh472: adrp x0, l_str.514@PAGE Lloh473: add x0, x0, l_str.514@PAGEOFF bl _puts Lloh474: adrp x0, l_str.515@PAGE Lloh475: add x0, x0, l_str.515@PAGEOFF bl _puts Lloh476: adrp x0, l_str.516@PAGE Lloh477: add x0, x0, l_str.516@PAGEOFF bl _puts Lloh478: adrp x0, l_str.517@PAGE Lloh479: add x0, x0, l_str.517@PAGEOFF bl _puts Lloh480: adrp x0, l_str.518@PAGE Lloh481: add x0, x0, l_str.518@PAGEOFF bl _puts add x21, sp, #16 str x21, [sp] Lloh482: adrp x0, l_.str.9@PAGE Lloh483: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB7_17 ; %bb.16: Lloh484: adrp x0, l_.str.16@PAGE Lloh485: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh486: adrp x0, l_.str.9@PAGE Lloh487: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB7_20 LBB7_17: cmp w8, #3 b.ne LBB7_19 ; %bb.18: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB7_20 LBB7_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB7_20: Lloh488: adrp x0, l_str.519@PAGE Lloh489: add x0, x0, l_str.519@PAGEOFF bl _puts Lloh490: adrp x0, l_str.520@PAGE Lloh491: add x0, x0, l_str.520@PAGEOFF bl _puts Lloh492: adrp x0, l_str.521@PAGE Lloh493: add x0, x0, l_str.521@PAGEOFF bl _puts Lloh494: adrp x0, l_str.522@PAGE Lloh495: add x0, x0, l_str.522@PAGEOFF bl _puts Lloh496: adrp x0, l_str.523@PAGE Lloh497: add x0, x0, l_str.523@PAGEOFF bl _puts add x21, sp, #12 str x21, [sp] Lloh498: adrp x0, l_.str.9@PAGE Lloh499: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB7_22 ; %bb.21: Lloh500: adrp x0, l_.str.16@PAGE Lloh501: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh502: adrp x0, l_.str.9@PAGE Lloh503: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB7_25 LBB7_22: cmp w8, #2 b.ne LBB7_24 ; %bb.23: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB7_25 LBB7_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _aiTroops@PAGEOFF] LBB7_25: Lloh504: adrp x8, _side@GOTPAGE Lloh505: ldr x8, [x8, _side@GOTPAGEOFF] Lloh506: ldr w8, [x8] cmp w20, #3 b.lo LBB7_28 ; %bb.26: cbnz w8, LBB7_28 ; %bb.27: Lloh507: adrp x0, l_str.729@PAGE Lloh508: add x0, x0, l_str.729@PAGEOFF bl _puts Lloh509: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] sub w9, w9, #1000 str w9, [x8, _userTroops@PAGEOFF] Lloh510: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] sub w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] b LBB7_35 LBB7_28: cmp w20, #2 b.hi LBB7_31 ; %bb.29: cbnz w8, LBB7_31 ; %bb.30: Lloh511: adrp x0, l_str.728@PAGE Lloh512: add x0, x0, l_str.728@PAGEOFF bl _puts adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] sub w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] b LBB7_35 LBB7_31: cmp w20, #3 b.lo LBB7_34 ; %bb.32: cmp w8, #1 b.ne LBB7_34 ; %bb.33: Lloh513: adrp x0, l_str.727@PAGE Lloh514: add x0, x0, l_str.727@PAGEOFF bl _puts adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _userTroops@PAGEOFF] b LBB7_35 LBB7_34: Lloh515: adrp x0, l_str.726@PAGE Lloh516: add x0, x0, l_str.726@PAGEOFF bl _puts LBB7_35: mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh434, Lloh435 .loh AdrpAdd Lloh432, Lloh433 .loh AdrpAdd Lloh430, Lloh431 .loh AdrpAdd Lloh428, Lloh429 .loh AdrpAdd Lloh426, Lloh427 .loh AdrpAdd Lloh424, Lloh425 .loh AdrpAdd Lloh438, Lloh439 .loh AdrpAdd Lloh436, Lloh437 .loh AdrpAdd Lloh450, Lloh451 .loh AdrpAdd Lloh448, Lloh449 .loh AdrpAdd Lloh446, Lloh447 .loh AdrpAdd Lloh444, Lloh445 .loh AdrpAdd Lloh442, Lloh443 .loh AdrpAdd Lloh440, Lloh441 .loh AdrpAdd Lloh454, Lloh455 .loh AdrpAdd Lloh452, Lloh453 .loh AdrpAdd Lloh466, Lloh467 .loh AdrpAdd Lloh464, Lloh465 .loh AdrpAdd Lloh462, Lloh463 .loh AdrpAdd Lloh460, Lloh461 .loh AdrpAdd Lloh458, Lloh459 .loh AdrpAdd Lloh456, Lloh457 .loh AdrpAdd Lloh470, Lloh471 .loh AdrpAdd Lloh468, Lloh469 .loh AdrpAdd Lloh482, Lloh483 .loh AdrpAdd Lloh480, Lloh481 .loh AdrpAdd Lloh478, Lloh479 .loh AdrpAdd Lloh476, Lloh477 .loh AdrpAdd Lloh474, Lloh475 .loh AdrpAdd Lloh472, Lloh473 .loh AdrpAdd Lloh486, Lloh487 .loh AdrpAdd Lloh484, Lloh485 .loh AdrpAdd Lloh498, Lloh499 .loh AdrpAdd Lloh496, Lloh497 .loh AdrpAdd Lloh494, Lloh495 .loh AdrpAdd Lloh492, Lloh493 .loh AdrpAdd Lloh490, Lloh491 .loh AdrpAdd Lloh488, Lloh489 .loh AdrpAdd Lloh502, Lloh503 .loh AdrpAdd Lloh500, Lloh501 .loh AdrpLdrGotLdr Lloh504, Lloh505, Lloh506 .loh AdrpAdrp Lloh509, Lloh510 .loh AdrpAdd Lloh507, Lloh508 .loh AdrpAdd Lloh511, Lloh512 .loh AdrpAdd Lloh513, Lloh514 .loh AdrpAdd Lloh515, Lloh516 .cfi_endproc ; -- End function .globl _stormlandsQE ; -- Begin function stormlandsQE .p2align 2 _stormlandsQE: ; @stormlandsQE .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh517: adrp x0, l_str.528@PAGE Lloh518: add x0, x0, l_str.528@PAGEOFF bl _puts Lloh519: adrp x0, l_str.529@PAGE Lloh520: add x0, x0, l_str.529@PAGEOFF bl _puts Lloh521: adrp x0, l_str.530@PAGE Lloh522: add x0, x0, l_str.530@PAGEOFF bl _puts Lloh523: adrp x0, l_str.531@PAGE Lloh524: add x0, x0, l_str.531@PAGEOFF bl _puts Lloh525: adrp x0, l_str.532@PAGE Lloh526: add x0, x0, l_str.532@PAGEOFF bl _puts add x21, sp, #28 str x21, [sp] Lloh527: adrp x0, l_.str.9@PAGE Lloh528: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 adrp x20, _userTroops@PAGE cmn w9, #5 b.hi LBB8_2 ; %bb.1: Lloh529: adrp x0, l_.str.16@PAGE Lloh530: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh531: adrp x0, l_.str.9@PAGE Lloh532: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w21, #0 b LBB8_5 LBB8_2: cmp w8, #3 b.ne LBB8_4 ; %bb.3: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #2000 str w8, [x20, _userTroops@PAGEOFF] mov w21, #1 b LBB8_5 LBB8_4: mov w21, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB8_5: Lloh533: adrp x0, l_str.533@PAGE Lloh534: add x0, x0, l_str.533@PAGEOFF bl _puts Lloh535: adrp x0, l_str.534@PAGE Lloh536: add x0, x0, l_str.534@PAGEOFF bl _puts Lloh537: adrp x0, l_str.535@PAGE Lloh538: add x0, x0, l_str.535@PAGEOFF bl _puts Lloh539: adrp x0, l_str.536@PAGE Lloh540: add x0, x0, l_str.536@PAGEOFF bl _puts Lloh541: adrp x0, l_str.537@PAGE Lloh542: add x0, x0, l_str.537@PAGEOFF bl _puts add x22, sp, #24 str x22, [sp] Lloh543: adrp x0, l_.str.9@PAGE Lloh544: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB8_7 ; %bb.6: Lloh545: adrp x0, l_.str.16@PAGE Lloh546: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh547: adrp x0, l_.str.9@PAGE Lloh548: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB8_10 LBB8_7: cmp w8, #2 b.ne LBB8_9 ; %bb.8: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #2000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB8_10 LBB8_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB8_10: Lloh549: adrp x0, l_str.538@PAGE Lloh550: add x0, x0, l_str.538@PAGEOFF bl _puts Lloh551: adrp x0, l_str.539@PAGE Lloh552: add x0, x0, l_str.539@PAGEOFF bl _puts Lloh553: adrp x0, l_str.540@PAGE Lloh554: add x0, x0, l_str.540@PAGEOFF bl _puts Lloh555: adrp x0, l_str.541@PAGE Lloh556: add x0, x0, l_str.541@PAGEOFF bl _puts Lloh557: adrp x0, l_str.542@PAGE Lloh558: add x0, x0, l_str.542@PAGEOFF bl _puts add x22, sp, #20 str x22, [sp] Lloh559: adrp x0, l_.str.9@PAGE Lloh560: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB8_12 ; %bb.11: Lloh561: adrp x0, l_.str.16@PAGE Lloh562: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh563: adrp x0, l_.str.9@PAGE Lloh564: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB8_15 LBB8_12: cmp w8, #2 b.ne LBB8_14 ; %bb.13: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #2000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB8_15 LBB8_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB8_15: Lloh565: adrp x0, l_str.543@PAGE Lloh566: add x0, x0, l_str.543@PAGEOFF bl _puts Lloh567: adrp x0, l_str.544@PAGE Lloh568: add x0, x0, l_str.544@PAGEOFF bl _puts Lloh569: adrp x0, l_str.545@PAGE Lloh570: add x0, x0, l_str.545@PAGEOFF bl _puts Lloh571: adrp x0, l_str.546@PAGE Lloh572: add x0, x0, l_str.546@PAGEOFF bl _puts Lloh573: adrp x0, l_str.547@PAGE Lloh574: add x0, x0, l_str.547@PAGEOFF bl _puts add x22, sp, #16 str x22, [sp] Lloh575: adrp x0, l_.str.9@PAGE Lloh576: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB8_17 ; %bb.16: Lloh577: adrp x0, l_.str.16@PAGE Lloh578: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh579: adrp x0, l_.str.9@PAGE Lloh580: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB8_20 LBB8_17: cmp w8, #4 b.ne LBB8_19 ; %bb.18: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #1000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB8_20 LBB8_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB8_20: Lloh581: adrp x0, l_str.548@PAGE Lloh582: add x0, x0, l_str.548@PAGEOFF bl _puts Lloh583: adrp x0, l_str.549@PAGE Lloh584: add x0, x0, l_str.549@PAGEOFF bl _puts Lloh585: adrp x0, l_str.550@PAGE Lloh586: add x0, x0, l_str.550@PAGEOFF bl _puts Lloh587: adrp x0, l_str.551@PAGE Lloh588: add x0, x0, l_str.551@PAGEOFF bl _puts Lloh589: adrp x0, l_str.552@PAGE Lloh590: add x0, x0, l_str.552@PAGEOFF bl _puts add x22, sp, #12 str x22, [sp] Lloh591: adrp x0, l_.str.9@PAGE Lloh592: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB8_22 ; %bb.21: Lloh593: adrp x0, l_.str.16@PAGE Lloh594: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh595: adrp x0, l_.str.9@PAGE Lloh596: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB8_25 LBB8_22: cmp w8, #4 b.ne LBB8_24 ; %bb.23: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #1000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB8_25 LBB8_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB8_25: Lloh597: adrp x8, _side@GOTPAGE Lloh598: ldr x8, [x8, _side@GOTPAGEOFF] Lloh599: ldr w8, [x8] cmp w21, #3 b.lo LBB8_28 ; %bb.26: cbnz w8, LBB8_28 ; %bb.27: mov w22, #-1000 Lloh600: adrp x0, l_str.755@PAGE Lloh601: add x0, x0, l_str.755@PAGEOFF b LBB8_32 LBB8_28: mov w22, #-2000 cmp w21, #2 b.hi LBB8_31 ; %bb.29: cbnz w8, LBB8_31 ; %bb.30: Lloh602: adrp x0, l_str.754@PAGE Lloh603: add x0, x0, l_str.754@PAGEOFF b LBB8_32 LBB8_31: cmp w21, #2 cset w9, hi cmp w8, #1 cset w8, eq Lloh604: adrp x10, l_str.752@PAGE Lloh605: add x10, x10, l_str.752@PAGEOFF Lloh606: adrp x11, l_str.753@PAGE Lloh607: add x11, x11, l_str.753@PAGEOFF tst w9, w8 csel x0, x11, x10, ne mov w8, #1000 csel w22, w8, w22, ne LBB8_32: bl _puts ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, w22 str w8, [x20, _userTroops@PAGEOFF] mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh527, Lloh528 .loh AdrpAdd Lloh525, Lloh526 .loh AdrpAdd Lloh523, Lloh524 .loh AdrpAdd Lloh521, Lloh522 .loh AdrpAdd Lloh519, Lloh520 .loh AdrpAdd Lloh517, Lloh518 .loh AdrpAdd Lloh531, Lloh532 .loh AdrpAdd Lloh529, Lloh530 .loh AdrpAdd Lloh543, Lloh544 .loh AdrpAdd Lloh541, Lloh542 .loh AdrpAdd Lloh539, Lloh540 .loh AdrpAdd Lloh537, Lloh538 .loh AdrpAdd Lloh535, Lloh536 .loh AdrpAdd Lloh533, Lloh534 .loh AdrpAdd Lloh547, Lloh548 .loh AdrpAdd Lloh545, Lloh546 .loh AdrpAdd Lloh559, Lloh560 .loh AdrpAdd Lloh557, Lloh558 .loh AdrpAdd Lloh555, Lloh556 .loh AdrpAdd Lloh553, Lloh554 .loh AdrpAdd Lloh551, Lloh552 .loh AdrpAdd Lloh549, Lloh550 .loh AdrpAdd Lloh563, Lloh564 .loh AdrpAdd Lloh561, Lloh562 .loh AdrpAdd Lloh575, Lloh576 .loh AdrpAdd Lloh573, Lloh574 .loh AdrpAdd Lloh571, Lloh572 .loh AdrpAdd Lloh569, Lloh570 .loh AdrpAdd Lloh567, Lloh568 .loh AdrpAdd Lloh565, Lloh566 .loh AdrpAdd Lloh579, Lloh580 .loh AdrpAdd Lloh577, Lloh578 .loh AdrpAdd Lloh591, Lloh592 .loh AdrpAdd Lloh589, Lloh590 .loh AdrpAdd Lloh587, Lloh588 .loh AdrpAdd Lloh585, Lloh586 .loh AdrpAdd Lloh583, Lloh584 .loh AdrpAdd Lloh581, Lloh582 .loh AdrpAdd Lloh595, Lloh596 .loh AdrpAdd Lloh593, Lloh594 .loh AdrpLdrGotLdr Lloh597, Lloh598, Lloh599 .loh AdrpAdd Lloh600, Lloh601 .loh AdrpAdd Lloh602, Lloh603 .loh AdrpAdd Lloh606, Lloh607 .loh AdrpAdd Lloh604, Lloh605 .cfi_endproc ; -- End function .globl _dorneQE ; -- Begin function dorneQE .p2align 2 _dorneQE: ; @dorneQE .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh608: adrp x0, l_str.557@PAGE Lloh609: add x0, x0, l_str.557@PAGEOFF bl _puts Lloh610: adrp x0, l_str.558@PAGE Lloh611: add x0, x0, l_str.558@PAGEOFF bl _puts Lloh612: adrp x0, l_str.559@PAGE Lloh613: add x0, x0, l_str.559@PAGEOFF bl _puts Lloh614: adrp x0, l_str.560@PAGE Lloh615: add x0, x0, l_str.560@PAGEOFF bl _puts Lloh616: adrp x0, l_str.561@PAGE Lloh617: add x0, x0, l_str.561@PAGEOFF bl _puts add x21, sp, #28 str x21, [sp] Lloh618: adrp x0, l_.str.9@PAGE Lloh619: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 adrp x20, _userTroops@PAGE cmn w9, #5 b.hi LBB9_2 ; %bb.1: Lloh620: adrp x0, l_.str.16@PAGE Lloh621: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh622: adrp x0, l_.str.9@PAGE Lloh623: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w21, #0 b LBB9_5 LBB9_2: cmp w8, #2 b.ne LBB9_4 ; %bb.3: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #1000 str w8, [x20, _userTroops@PAGEOFF] mov w21, #1 b LBB9_5 LBB9_4: mov w21, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB9_5: Lloh624: adrp x0, l_str.562@PAGE Lloh625: add x0, x0, l_str.562@PAGEOFF bl _puts Lloh626: adrp x0, l_str.563@PAGE Lloh627: add x0, x0, l_str.563@PAGEOFF bl _puts Lloh628: adrp x0, l_str.564@PAGE Lloh629: add x0, x0, l_str.564@PAGEOFF bl _puts Lloh630: adrp x0, l_str.565@PAGE Lloh631: add x0, x0, l_str.565@PAGEOFF bl _puts Lloh632: adrp x0, l_str.566@PAGE Lloh633: add x0, x0, l_str.566@PAGEOFF bl _puts add x22, sp, #24 str x22, [sp] Lloh634: adrp x0, l_.str.9@PAGE Lloh635: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB9_7 ; %bb.6: Lloh636: adrp x0, l_.str.16@PAGE Lloh637: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh638: adrp x0, l_.str.9@PAGE Lloh639: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB9_10 LBB9_7: cmp w8, #1 b.ne LBB9_9 ; %bb.8: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #1000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB9_10 LBB9_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB9_10: Lloh640: adrp x0, l_str.567@PAGE Lloh641: add x0, x0, l_str.567@PAGEOFF bl _puts Lloh642: adrp x0, l_str.568@PAGE Lloh643: add x0, x0, l_str.568@PAGEOFF bl _puts Lloh644: adrp x0, l_str.569@PAGE Lloh645: add x0, x0, l_str.569@PAGEOFF bl _puts Lloh646: adrp x0, l_str.570@PAGE Lloh647: add x0, x0, l_str.570@PAGEOFF bl _puts Lloh648: adrp x0, l_str.571@PAGE Lloh649: add x0, x0, l_str.571@PAGEOFF bl _puts add x22, sp, #20 str x22, [sp] Lloh650: adrp x0, l_.str.9@PAGE Lloh651: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB9_12 ; %bb.11: Lloh652: adrp x0, l_.str.16@PAGE Lloh653: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh654: adrp x0, l_.str.9@PAGE Lloh655: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB9_15 LBB9_12: cmp w8, #1 b.ne LBB9_14 ; %bb.13: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #2000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB9_15 LBB9_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB9_15: Lloh656: adrp x0, l_str.572@PAGE Lloh657: add x0, x0, l_str.572@PAGEOFF bl _puts Lloh658: adrp x0, l_str.573@PAGE Lloh659: add x0, x0, l_str.573@PAGEOFF bl _puts Lloh660: adrp x0, l_str.574@PAGE Lloh661: add x0, x0, l_str.574@PAGEOFF bl _puts Lloh662: adrp x0, l_str.575@PAGE Lloh663: add x0, x0, l_str.575@PAGEOFF bl _puts Lloh664: adrp x0, l_str.576@PAGE Lloh665: add x0, x0, l_str.576@PAGEOFF bl _puts add x22, sp, #16 str x22, [sp] Lloh666: adrp x0, l_.str.9@PAGE Lloh667: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB9_17 ; %bb.16: Lloh668: adrp x0, l_.str.16@PAGE Lloh669: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh670: adrp x0, l_.str.9@PAGE Lloh671: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB9_20 LBB9_17: cmp w8, #3 b.ne LBB9_19 ; %bb.18: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #1000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB9_20 LBB9_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB9_20: Lloh672: adrp x0, l_str.577@PAGE Lloh673: add x0, x0, l_str.577@PAGEOFF bl _puts Lloh674: adrp x0, l_str.578@PAGE Lloh675: add x0, x0, l_str.578@PAGEOFF bl _puts Lloh676: adrp x0, l_str.579@PAGE Lloh677: add x0, x0, l_str.579@PAGEOFF bl _puts Lloh678: adrp x0, l_str.580@PAGE Lloh679: add x0, x0, l_str.580@PAGEOFF bl _puts Lloh680: adrp x0, l_str.581@PAGE Lloh681: add x0, x0, l_str.581@PAGEOFF bl _puts add x22, sp, #12 str x22, [sp] Lloh682: adrp x0, l_.str.9@PAGE Lloh683: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB9_22 ; %bb.21: Lloh684: adrp x0, l_.str.16@PAGE Lloh685: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh686: adrp x0, l_.str.9@PAGE Lloh687: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB9_25 LBB9_22: cmp w8, #4 b.ne LBB9_24 ; %bb.23: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #2000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB9_25 LBB9_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB9_25: Lloh688: adrp x8, _side@GOTPAGE Lloh689: ldr x8, [x8, _side@GOTPAGEOFF] Lloh690: ldr w8, [x8] cmp w21, #3 b.lo LBB9_28 ; %bb.26: cbnz w8, LBB9_28 ; %bb.27: mov w22, #1000 Lloh691: adrp x0, l_str.784@PAGE Lloh692: add x0, x0, l_str.784@PAGEOFF b LBB9_32 LBB9_28: mov w22, #-2000 cmp w21, #2 b.hi LBB9_31 ; %bb.29: cbnz w8, LBB9_31 ; %bb.30: Lloh693: adrp x0, l_str.783@PAGE Lloh694: add x0, x0, l_str.783@PAGEOFF b LBB9_32 LBB9_31: cmp w21, #2 cset w9, hi cmp w8, #1 cset w8, eq Lloh695: adrp x10, l_str.781@PAGE Lloh696: add x10, x10, l_str.781@PAGEOFF Lloh697: adrp x11, l_str.782@PAGE Lloh698: add x11, x11, l_str.782@PAGEOFF tst w9, w8 csel x0, x11, x10, ne mov w8, #-4000 csel w22, w22, w8, ne LBB9_32: bl _puts ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, w22 str w8, [x20, _userTroops@PAGEOFF] mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh618, Lloh619 .loh AdrpAdd Lloh616, Lloh617 .loh AdrpAdd Lloh614, Lloh615 .loh AdrpAdd Lloh612, Lloh613 .loh AdrpAdd Lloh610, Lloh611 .loh AdrpAdd Lloh608, Lloh609 .loh AdrpAdd Lloh622, Lloh623 .loh AdrpAdd Lloh620, Lloh621 .loh AdrpAdd Lloh634, Lloh635 .loh AdrpAdd Lloh632, Lloh633 .loh AdrpAdd Lloh630, Lloh631 .loh AdrpAdd Lloh628, Lloh629 .loh AdrpAdd Lloh626, Lloh627 .loh AdrpAdd Lloh624, Lloh625 .loh AdrpAdd Lloh638, Lloh639 .loh AdrpAdd Lloh636, Lloh637 .loh AdrpAdd Lloh650, Lloh651 .loh AdrpAdd Lloh648, Lloh649 .loh AdrpAdd Lloh646, Lloh647 .loh AdrpAdd Lloh644, Lloh645 .loh AdrpAdd Lloh642, Lloh643 .loh AdrpAdd Lloh640, Lloh641 .loh AdrpAdd Lloh654, Lloh655 .loh AdrpAdd Lloh652, Lloh653 .loh AdrpAdd Lloh666, Lloh667 .loh AdrpAdd Lloh664, Lloh665 .loh AdrpAdd Lloh662, Lloh663 .loh AdrpAdd Lloh660, Lloh661 .loh AdrpAdd Lloh658, Lloh659 .loh AdrpAdd Lloh656, Lloh657 .loh AdrpAdd Lloh670, Lloh671 .loh AdrpAdd Lloh668, Lloh669 .loh AdrpAdd Lloh682, Lloh683 .loh AdrpAdd Lloh680, Lloh681 .loh AdrpAdd Lloh678, Lloh679 .loh AdrpAdd Lloh676, Lloh677 .loh AdrpAdd Lloh674, Lloh675 .loh AdrpAdd Lloh672, Lloh673 .loh AdrpAdd Lloh686, Lloh687 .loh AdrpAdd Lloh684, Lloh685 .loh AdrpLdrGotLdr Lloh688, Lloh689, Lloh690 .loh AdrpAdd Lloh691, Lloh692 .loh AdrpAdd Lloh693, Lloh694 .loh AdrpAdd Lloh697, Lloh698 .loh AdrpAdd Lloh695, Lloh696 .cfi_endproc ; -- End function .globl _northQH ; -- Begin function northQH .p2align 2 _northQH: ; @northQH .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh699: adrp x0, l_str.586@PAGE Lloh700: add x0, x0, l_str.586@PAGEOFF bl _puts Lloh701: adrp x0, l_str.587@PAGE Lloh702: add x0, x0, l_str.587@PAGEOFF bl _puts Lloh703: adrp x0, l_str.588@PAGE Lloh704: add x0, x0, l_str.588@PAGEOFF bl _puts Lloh705: adrp x0, l_str.589@PAGE Lloh706: add x0, x0, l_str.589@PAGEOFF bl _puts Lloh707: adrp x0, l_str.590@PAGE Lloh708: add x0, x0, l_str.590@PAGEOFF bl _puts add x21, sp, #28 str x21, [sp] Lloh709: adrp x0, l_.str.9@PAGE Lloh710: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 adrp x20, _userTroops@PAGE cmn w9, #5 b.hi LBB10_2 ; %bb.1: Lloh711: adrp x0, l_.str.16@PAGE Lloh712: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh713: adrp x0, l_.str.9@PAGE Lloh714: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w21, #0 b LBB10_5 LBB10_2: cmp w8, #3 b.ne LBB10_4 ; %bb.3: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #3000 str w8, [x20, _userTroops@PAGEOFF] mov w21, #1 b LBB10_5 LBB10_4: mov w21, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _aiTroops@PAGEOFF] LBB10_5: Lloh715: adrp x0, l_str.591@PAGE Lloh716: add x0, x0, l_str.591@PAGEOFF bl _puts Lloh717: adrp x0, l_str.592@PAGE Lloh718: add x0, x0, l_str.592@PAGEOFF bl _puts Lloh719: adrp x0, l_str.593@PAGE Lloh720: add x0, x0, l_str.593@PAGEOFF bl _puts Lloh721: adrp x0, l_str.594@PAGE Lloh722: add x0, x0, l_str.594@PAGEOFF bl _puts Lloh723: adrp x0, l_str.600@PAGE Lloh724: add x0, x0, l_str.600@PAGEOFF bl _puts add x22, sp, #24 str x22, [sp] Lloh725: adrp x0, l_.str.9@PAGE Lloh726: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB10_7 ; %bb.6: Lloh727: adrp x0, l_.str.16@PAGE Lloh728: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh729: adrp x0, l_.str.9@PAGE Lloh730: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB10_10 LBB10_7: cmp w8, #2 b.ne LBB10_9 ; %bb.8: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #2000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB10_10 LBB10_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB10_10: Lloh731: adrp x0, l_str.596@PAGE Lloh732: add x0, x0, l_str.596@PAGEOFF bl _puts Lloh733: adrp x0, l_str.597@PAGE Lloh734: add x0, x0, l_str.597@PAGEOFF bl _puts Lloh735: adrp x0, l_str.598@PAGE Lloh736: add x0, x0, l_str.598@PAGEOFF bl _puts Lloh737: adrp x0, l_str.599@PAGE Lloh738: add x0, x0, l_str.599@PAGEOFF bl _puts Lloh739: adrp x0, l_str.600@PAGE Lloh740: add x0, x0, l_str.600@PAGEOFF bl _puts add x22, sp, #20 str x22, [sp] Lloh741: adrp x0, l_.str.9@PAGE Lloh742: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB10_12 ; %bb.11: Lloh743: adrp x0, l_.str.16@PAGE Lloh744: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh745: adrp x0, l_.str.9@PAGE Lloh746: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB10_15 LBB10_12: cmp w8, #2 b.ne LBB10_14 ; %bb.13: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #4000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB10_15 LBB10_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #4000 str w9, [x8, _aiTroops@PAGEOFF] LBB10_15: Lloh747: adrp x0, l_str.601@PAGE Lloh748: add x0, x0, l_str.601@PAGEOFF bl _puts Lloh749: adrp x0, l_str.602@PAGE Lloh750: add x0, x0, l_str.602@PAGEOFF bl _puts Lloh751: adrp x0, l_str.603@PAGE Lloh752: add x0, x0, l_str.603@PAGEOFF bl _puts Lloh753: adrp x0, l_str.604@PAGE Lloh754: add x0, x0, l_str.604@PAGEOFF bl _puts Lloh755: adrp x0, l_str.605@PAGE Lloh756: add x0, x0, l_str.605@PAGEOFF bl _puts add x22, sp, #16 str x22, [sp] Lloh757: adrp x0, l_.str.9@PAGE Lloh758: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB10_17 ; %bb.16: Lloh759: adrp x0, l_.str.16@PAGE Lloh760: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh761: adrp x0, l_.str.9@PAGE Lloh762: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB10_20 LBB10_17: cmp w8, #2 b.ne LBB10_19 ; %bb.18: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #4000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB10_20 LBB10_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #4000 str w9, [x8, _aiTroops@PAGEOFF] LBB10_20: Lloh763: adrp x0, l_str.606@PAGE Lloh764: add x0, x0, l_str.606@PAGEOFF bl _puts Lloh765: adrp x0, l_str.607@PAGE Lloh766: add x0, x0, l_str.607@PAGEOFF bl _puts Lloh767: adrp x0, l_str.608@PAGE Lloh768: add x0, x0, l_str.608@PAGEOFF bl _puts Lloh769: adrp x0, l_str.609@PAGE Lloh770: add x0, x0, l_str.609@PAGEOFF bl _puts Lloh771: adrp x0, l_str.661@PAGE Lloh772: add x0, x0, l_str.661@PAGEOFF bl _puts add x22, sp, #12 str x22, [sp] Lloh773: adrp x0, l_.str.9@PAGE Lloh774: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB10_22 ; %bb.21: Lloh775: adrp x0, l_.str.16@PAGE Lloh776: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh777: adrp x0, l_.str.9@PAGE Lloh778: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB10_25 LBB10_22: cmp w8, #3 b.ne LBB10_24 ; %bb.23: ldr w8, [x20, _userTroops@PAGEOFF] mov w9, #5000 add w8, w8, w9 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB10_25 LBB10_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB10_25: Lloh779: adrp x8, _side@GOTPAGE Lloh780: ldr x8, [x8, _side@GOTPAGEOFF] Lloh781: ldr w8, [x8] cmp w21, #3 b.lo LBB10_28 ; %bb.26: cbnz w8, LBB10_28 ; %bb.27: mov w21, #-500 Lloh782: adrp x0, l_str.614@PAGE Lloh783: add x0, x0, l_str.614@PAGEOFF b LBB10_32 LBB10_28: cmp w21, #2 b.hi LBB10_31 ; %bb.29: cbnz w8, LBB10_31 ; %bb.30: mov w21, #-1500 Lloh784: adrp x0, l_str.613@PAGE Lloh785: add x0, x0, l_str.613@PAGEOFF b LBB10_32 LBB10_31: cmp w21, #2 cset w9, hi cmp w8, #1 Lloh786: adrp x8, l_str.611@PAGE Lloh787: add x8, x8, l_str.611@PAGEOFF Lloh788: adrp x10, l_str.612@PAGE Lloh789: add x10, x10, l_str.612@PAGEOFF cset w11, eq tst w9, w11 csel x0, x10, x8, ne mov w8, #-3000 mov w9, #-1000 csel w21, w9, w8, ne LBB10_32: bl _puts ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, w21 str w8, [x20, _userTroops@PAGEOFF] mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh709, Lloh710 .loh AdrpAdd Lloh707, Lloh708 .loh AdrpAdd Lloh705, Lloh706 .loh AdrpAdd Lloh703, Lloh704 .loh AdrpAdd Lloh701, Lloh702 .loh AdrpAdd Lloh699, Lloh700 .loh AdrpAdd Lloh713, Lloh714 .loh AdrpAdd Lloh711, Lloh712 .loh AdrpAdd Lloh725, Lloh726 .loh AdrpAdd Lloh723, Lloh724 .loh AdrpAdd Lloh721, Lloh722 .loh AdrpAdd Lloh719, Lloh720 .loh AdrpAdd Lloh717, Lloh718 .loh AdrpAdd Lloh715, Lloh716 .loh AdrpAdd Lloh729, Lloh730 .loh AdrpAdd Lloh727, Lloh728 .loh AdrpAdd Lloh741, Lloh742 .loh AdrpAdd Lloh739, Lloh740 .loh AdrpAdd Lloh737, Lloh738 .loh AdrpAdd Lloh735, Lloh736 .loh AdrpAdd Lloh733, Lloh734 .loh AdrpAdd Lloh731, Lloh732 .loh AdrpAdd Lloh745, Lloh746 .loh AdrpAdd Lloh743, Lloh744 .loh AdrpAdd Lloh757, Lloh758 .loh AdrpAdd Lloh755, Lloh756 .loh AdrpAdd Lloh753, Lloh754 .loh AdrpAdd Lloh751, Lloh752 .loh AdrpAdd Lloh749, Lloh750 .loh AdrpAdd Lloh747, Lloh748 .loh AdrpAdd Lloh761, Lloh762 .loh AdrpAdd Lloh759, Lloh760 .loh AdrpAdd Lloh773, Lloh774 .loh AdrpAdd Lloh771, Lloh772 .loh AdrpAdd Lloh769, Lloh770 .loh AdrpAdd Lloh767, Lloh768 .loh AdrpAdd Lloh765, Lloh766 .loh AdrpAdd Lloh763, Lloh764 .loh AdrpAdd Lloh777, Lloh778 .loh AdrpAdd Lloh775, Lloh776 .loh AdrpLdrGotLdr Lloh779, Lloh780, Lloh781 .loh AdrpAdd Lloh782, Lloh783 .loh AdrpAdd Lloh784, Lloh785 .loh AdrpAdd Lloh788, Lloh789 .loh AdrpAdd Lloh786, Lloh787 .cfi_endproc ; -- End function .globl _islesQH ; -- Begin function islesQH .p2align 2 _islesQH: ; @islesQH .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh790: adrp x0, l_str.615@PAGE Lloh791: add x0, x0, l_str.615@PAGEOFF bl _puts Lloh792: adrp x0, l_str.616@PAGE Lloh793: add x0, x0, l_str.616@PAGEOFF bl _puts Lloh794: adrp x0, l_str.617@PAGE Lloh795: add x0, x0, l_str.617@PAGEOFF bl _puts Lloh796: adrp x0, l_str.618@PAGE Lloh797: add x0, x0, l_str.618@PAGEOFF bl _puts Lloh798: adrp x0, l_str.619@PAGE Lloh799: add x0, x0, l_str.619@PAGEOFF bl _puts add x20, sp, #28 str x20, [sp] Lloh800: adrp x0, l_.str.9@PAGE Lloh801: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 cmn w9, #5 b.hi LBB11_2 ; %bb.1: Lloh802: adrp x0, l_.str.16@PAGE Lloh803: add x0, x0, l_.str.16@PAGEOFF bl _printf str x20, [sp] Lloh804: adrp x0, l_.str.9@PAGE Lloh805: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w20, #0 b LBB11_5 LBB11_2: cmp w8, #1 b.ne LBB11_4 ; %bb.3: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] mov w20, #1 b LBB11_5 LBB11_4: mov w20, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB11_5: Lloh806: adrp x0, l_str.620@PAGE Lloh807: add x0, x0, l_str.620@PAGEOFF bl _puts Lloh808: adrp x0, l_str.621@PAGE Lloh809: add x0, x0, l_str.621@PAGEOFF bl _puts Lloh810: adrp x0, l_str.622@PAGE Lloh811: add x0, x0, l_str.622@PAGEOFF bl _puts Lloh812: adrp x0, l_str.623@PAGE Lloh813: add x0, x0, l_str.623@PAGEOFF bl _puts Lloh814: adrp x0, l_str.624@PAGE Lloh815: add x0, x0, l_str.624@PAGEOFF bl _puts add x21, sp, #24 str x21, [sp] Lloh816: adrp x0, l_.str.9@PAGE Lloh817: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB11_7 ; %bb.6: Lloh818: adrp x0, l_.str.16@PAGE Lloh819: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh820: adrp x0, l_.str.9@PAGE Lloh821: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB11_10 LBB11_7: cmp w8, #2 b.ne LBB11_9 ; %bb.8: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB11_10 LBB11_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB11_10: Lloh822: adrp x0, l_str.625@PAGE Lloh823: add x0, x0, l_str.625@PAGEOFF bl _puts Lloh824: adrp x0, l_str.626@PAGE Lloh825: add x0, x0, l_str.626@PAGEOFF bl _puts Lloh826: adrp x0, l_str.627@PAGE Lloh827: add x0, x0, l_str.627@PAGEOFF bl _puts Lloh828: adrp x0, l_str.628@PAGE Lloh829: add x0, x0, l_str.628@PAGEOFF bl _puts Lloh830: adrp x0, l_str.629@PAGE Lloh831: add x0, x0, l_str.629@PAGEOFF bl _puts add x21, sp, #20 str x21, [sp] Lloh832: adrp x0, l_.str.9@PAGE Lloh833: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB11_12 ; %bb.11: Lloh834: adrp x0, l_.str.16@PAGE Lloh835: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh836: adrp x0, l_.str.9@PAGE Lloh837: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB11_15 LBB11_12: cmp w8, #3 b.ne LBB11_14 ; %bb.13: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB11_15 LBB11_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _aiTroops@PAGEOFF] LBB11_15: Lloh838: adrp x0, l_str.630@PAGE Lloh839: add x0, x0, l_str.630@PAGEOFF bl _puts Lloh840: adrp x0, l_str.631@PAGE Lloh841: add x0, x0, l_str.631@PAGEOFF bl _puts Lloh842: adrp x0, l_str.632@PAGE Lloh843: add x0, x0, l_str.632@PAGEOFF bl _puts Lloh844: adrp x0, l_str.633@PAGE Lloh845: add x0, x0, l_str.633@PAGEOFF bl _puts Lloh846: adrp x0, l_str.634@PAGE Lloh847: add x0, x0, l_str.634@PAGEOFF bl _puts add x21, sp, #16 str x21, [sp] Lloh848: adrp x0, l_.str.9@PAGE Lloh849: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB11_17 ; %bb.16: Lloh850: adrp x0, l_.str.16@PAGE Lloh851: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh852: adrp x0, l_.str.9@PAGE Lloh853: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB11_20 LBB11_17: cmp w8, #3 b.ne LBB11_19 ; %bb.18: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB11_20 LBB11_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB11_20: Lloh854: adrp x0, l_str.635@PAGE Lloh855: add x0, x0, l_str.635@PAGEOFF bl _puts Lloh856: adrp x0, l_str.636@PAGE Lloh857: add x0, x0, l_str.636@PAGEOFF bl _puts Lloh858: adrp x0, l_str.637@PAGE Lloh859: add x0, x0, l_str.637@PAGEOFF bl _puts Lloh860: adrp x0, l_str.638@PAGE Lloh861: add x0, x0, l_str.638@PAGEOFF bl _puts Lloh862: adrp x0, l_str.639@PAGE Lloh863: add x0, x0, l_str.639@PAGEOFF bl _puts add x21, sp, #12 str x21, [sp] Lloh864: adrp x0, l_.str.9@PAGE Lloh865: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB11_22 ; %bb.21: Lloh866: adrp x0, l_.str.16@PAGE Lloh867: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh868: adrp x0, l_.str.9@PAGE Lloh869: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB11_25 LBB11_22: cmp w8, #4 b.ne LBB11_24 ; %bb.23: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] mov w10, #8000 add w9, w9, w10 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB11_25 LBB11_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #8000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB11_25: Lloh870: adrp x8, _side@GOTPAGE Lloh871: ldr x8, [x8, _side@GOTPAGEOFF] Lloh872: ldr w8, [x8] cmp w20, #3 b.lo LBB11_28 ; %bb.26: cbnz w8, LBB11_28 ; %bb.27: Lloh873: adrp x0, l_str.643@PAGE Lloh874: add x0, x0, l_str.643@PAGEOFF bl _puts adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #4000 b LBB11_36 LBB11_28: cmp w20, #2 b.hi LBB11_31 ; %bb.29: cbnz w8, LBB11_31 ; %bb.30: Lloh875: adrp x0, l_str.642@PAGE Lloh876: add x0, x0, l_str.642@PAGEOFF b LBB11_35 LBB11_31: cmp w20, #3 b.lo LBB11_34 ; %bb.32: cmp w8, #1 b.ne LBB11_34 ; %bb.33: Lloh877: adrp x0, l_str.641@PAGE Lloh878: add x0, x0, l_str.641@PAGEOFF bl _puts b LBB11_37 LBB11_34: Lloh879: adrp x0, l_str.640@PAGE Lloh880: add x0, x0, l_str.640@PAGEOFF LBB11_35: bl _puts adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] sub w9, w9, #2000 LBB11_36: str w9, [x8, _userTroops@PAGEOFF] LBB11_37: mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh800, Lloh801 .loh AdrpAdd Lloh798, Lloh799 .loh AdrpAdd Lloh796, Lloh797 .loh AdrpAdd Lloh794, Lloh795 .loh AdrpAdd Lloh792, Lloh793 .loh AdrpAdd Lloh790, Lloh791 .loh AdrpAdd Lloh804, Lloh805 .loh AdrpAdd Lloh802, Lloh803 .loh AdrpAdd Lloh816, Lloh817 .loh AdrpAdd Lloh814, Lloh815 .loh AdrpAdd Lloh812, Lloh813 .loh AdrpAdd Lloh810, Lloh811 .loh AdrpAdd Lloh808, Lloh809 .loh AdrpAdd Lloh806, Lloh807 .loh AdrpAdd Lloh820, Lloh821 .loh AdrpAdd Lloh818, Lloh819 .loh AdrpAdd Lloh832, Lloh833 .loh AdrpAdd Lloh830, Lloh831 .loh AdrpAdd Lloh828, Lloh829 .loh AdrpAdd Lloh826, Lloh827 .loh AdrpAdd Lloh824, Lloh825 .loh AdrpAdd Lloh822, Lloh823 .loh AdrpAdd Lloh836, Lloh837 .loh AdrpAdd Lloh834, Lloh835 .loh AdrpAdd Lloh848, Lloh849 .loh AdrpAdd Lloh846, Lloh847 .loh AdrpAdd Lloh844, Lloh845 .loh AdrpAdd Lloh842, Lloh843 .loh AdrpAdd Lloh840, Lloh841 .loh AdrpAdd Lloh838, Lloh839 .loh AdrpAdd Lloh852, Lloh853 .loh AdrpAdd Lloh850, Lloh851 .loh AdrpAdd Lloh864, Lloh865 .loh AdrpAdd Lloh862, Lloh863 .loh AdrpAdd Lloh860, Lloh861 .loh AdrpAdd Lloh858, Lloh859 .loh AdrpAdd Lloh856, Lloh857 .loh AdrpAdd Lloh854, Lloh855 .loh AdrpAdd Lloh868, Lloh869 .loh AdrpAdd Lloh866, Lloh867 .loh AdrpLdrGotLdr Lloh870, Lloh871, Lloh872 .loh AdrpAdd Lloh873, Lloh874 .loh AdrpAdd Lloh875, Lloh876 .loh AdrpAdd Lloh877, Lloh878 .loh AdrpAdd Lloh879, Lloh880 .cfi_endproc ; -- End function .globl _valeQH ; -- Begin function valeQH .p2align 2 _valeQH: ; @valeQH .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh881: adrp x0, l_str.644@PAGE Lloh882: add x0, x0, l_str.644@PAGEOFF bl _puts Lloh883: adrp x0, l_str.645@PAGE Lloh884: add x0, x0, l_str.645@PAGEOFF bl _puts Lloh885: adrp x0, l_str.646@PAGE Lloh886: add x0, x0, l_str.646@PAGEOFF bl _puts Lloh887: adrp x0, l_str.647@PAGE Lloh888: add x0, x0, l_str.647@PAGEOFF bl _puts Lloh889: adrp x0, l_str.648@PAGE Lloh890: add x0, x0, l_str.648@PAGEOFF bl _puts add x21, sp, #28 str x21, [sp] Lloh891: adrp x0, l_.str.9@PAGE Lloh892: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 adrp x20, _userTroops@PAGE cmn w9, #5 b.hi LBB12_2 ; %bb.1: Lloh893: adrp x0, l_.str.16@PAGE Lloh894: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh895: adrp x0, l_.str.9@PAGE Lloh896: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w21, #0 b LBB12_5 LBB12_2: cmp w8, #3 b.ne LBB12_4 ; %bb.3: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #4000 str w8, [x20, _userTroops@PAGEOFF] mov w21, #1 b LBB12_5 LBB12_4: mov w21, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #4000 str w9, [x8, _aiTroops@PAGEOFF] LBB12_5: Lloh897: adrp x0, l_str.649@PAGE Lloh898: add x0, x0, l_str.649@PAGEOFF bl _puts Lloh899: adrp x0, l_str.650@PAGE Lloh900: add x0, x0, l_str.650@PAGEOFF bl _puts Lloh901: adrp x0, l_str.651@PAGE Lloh902: add x0, x0, l_str.651@PAGEOFF bl _puts Lloh903: adrp x0, l_str.652@PAGE Lloh904: add x0, x0, l_str.652@PAGEOFF bl _puts Lloh905: adrp x0, l_str.653@PAGE Lloh906: add x0, x0, l_str.653@PAGEOFF bl _puts add x22, sp, #24 str x22, [sp] Lloh907: adrp x0, l_.str.9@PAGE Lloh908: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB12_7 ; %bb.6: Lloh909: adrp x0, l_.str.16@PAGE Lloh910: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh911: adrp x0, l_.str.9@PAGE Lloh912: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB12_10 LBB12_7: cmp w8, #2 b.ne LBB12_9 ; %bb.8: ldr w8, [x20, _userTroops@PAGEOFF] mov w9, #5000 add w8, w8, w9 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB12_10 LBB12_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB12_10: Lloh913: adrp x0, l_str.654@PAGE Lloh914: add x0, x0, l_str.654@PAGEOFF bl _puts Lloh915: adrp x0, l_str.736@PAGE Lloh916: add x0, x0, l_str.736@PAGEOFF bl _puts Lloh917: adrp x0, l_str.737@PAGE Lloh918: add x0, x0, l_str.737@PAGEOFF bl _puts add x22, sp, #20 str x22, [sp] Lloh919: adrp x0, l_.str.9@PAGE Lloh920: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w8, w8, #3 cmn w8, #3 b.hi LBB12_12 ; %bb.11: Lloh921: adrp x0, l_.str.16@PAGE Lloh922: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh923: adrp x0, l_.str.9@PAGE Lloh924: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB12_13 LBB12_12: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB12_13: Lloh925: adrp x0, l_str.657@PAGE Lloh926: add x0, x0, l_str.657@PAGEOFF bl _puts Lloh927: adrp x0, l_str.658@PAGE Lloh928: add x0, x0, l_str.658@PAGEOFF bl _puts Lloh929: adrp x0, l_str.659@PAGE Lloh930: add x0, x0, l_str.659@PAGEOFF bl _puts Lloh931: adrp x0, l_str.660@PAGE Lloh932: add x0, x0, l_str.660@PAGEOFF bl _puts Lloh933: adrp x0, l_str.661@PAGE Lloh934: add x0, x0, l_str.661@PAGEOFF bl _puts add x22, sp, #16 str x22, [sp] Lloh935: adrp x0, l_.str.9@PAGE Lloh936: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB12_15 ; %bb.14: Lloh937: adrp x0, l_.str.16@PAGE Lloh938: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh939: adrp x0, l_.str.9@PAGE Lloh940: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB12_18 LBB12_15: cmp w8, #4 b.ne LBB12_17 ; %bb.16: ldr w8, [x20, _userTroops@PAGEOFF] mov w9, #5000 add w8, w8, w9 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB12_18 LBB12_17: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB12_18: Lloh941: adrp x0, l_str.662@PAGE Lloh942: add x0, x0, l_str.662@PAGEOFF bl _puts Lloh943: adrp x0, l_str.663@PAGE Lloh944: add x0, x0, l_str.663@PAGEOFF bl _puts Lloh945: adrp x0, l_str.664@PAGE Lloh946: add x0, x0, l_str.664@PAGEOFF bl _puts Lloh947: adrp x0, l_str.665@PAGE Lloh948: add x0, x0, l_str.665@PAGEOFF bl _puts Lloh949: adrp x0, l_str.666@PAGE Lloh950: add x0, x0, l_str.666@PAGEOFF bl _puts add x22, sp, #12 str x22, [sp] Lloh951: adrp x0, l_.str.9@PAGE Lloh952: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB12_20 ; %bb.19: Lloh953: adrp x0, l_.str.16@PAGE Lloh954: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh955: adrp x0, l_.str.9@PAGE Lloh956: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB12_23 LBB12_20: cmp w8, #2 b.ne LBB12_22 ; %bb.21: ldr w8, [x20, _userTroops@PAGEOFF] mov w9, #10000 add w8, w8, w9 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB12_23 LBB12_22: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #10000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB12_23: Lloh957: adrp x8, _side@GOTPAGE Lloh958: ldr x8, [x8, _side@GOTPAGEOFF] Lloh959: ldr w8, [x8] cmp w21, #3 b.lo LBB12_26 ; %bb.24: cbnz w8, LBB12_26 ; %bb.25: mov w22, #2000 Lloh960: adrp x0, l_str.670@PAGE Lloh961: add x0, x0, l_str.670@PAGEOFF b LBB12_30 LBB12_26: mov w22, #-2000 cmp w21, #2 b.hi LBB12_29 ; %bb.27: cbnz w8, LBB12_29 ; %bb.28: Lloh962: adrp x0, l_str.669@PAGE Lloh963: add x0, x0, l_str.669@PAGEOFF b LBB12_30 LBB12_29: cmp w21, #2 cset w9, hi cmp w8, #1 cset w8, eq Lloh964: adrp x10, l_str.667@PAGE Lloh965: add x10, x10, l_str.667@PAGEOFF Lloh966: adrp x11, l_str.668@PAGE Lloh967: add x11, x11, l_str.668@PAGEOFF tst w9, w8 csel x0, x11, x10, ne mov w8, #-4000 csel w22, w22, w8, ne LBB12_30: bl _puts ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, w22 str w8, [x20, _userTroops@PAGEOFF] mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh891, Lloh892 .loh AdrpAdd Lloh889, Lloh890 .loh AdrpAdd Lloh887, Lloh888 .loh AdrpAdd Lloh885, Lloh886 .loh AdrpAdd Lloh883, Lloh884 .loh AdrpAdd Lloh881, Lloh882 .loh AdrpAdd Lloh895, Lloh896 .loh AdrpAdd Lloh893, Lloh894 .loh AdrpAdd Lloh907, Lloh908 .loh AdrpAdd Lloh905, Lloh906 .loh AdrpAdd Lloh903, Lloh904 .loh AdrpAdd Lloh901, Lloh902 .loh AdrpAdd Lloh899, Lloh900 .loh AdrpAdd Lloh897, Lloh898 .loh AdrpAdd Lloh911, Lloh912 .loh AdrpAdd Lloh909, Lloh910 .loh AdrpAdd Lloh919, Lloh920 .loh AdrpAdd Lloh917, Lloh918 .loh AdrpAdd Lloh915, Lloh916 .loh AdrpAdd Lloh913, Lloh914 .loh AdrpAdd Lloh923, Lloh924 .loh AdrpAdd Lloh921, Lloh922 .loh AdrpAdd Lloh935, Lloh936 .loh AdrpAdd Lloh933, Lloh934 .loh AdrpAdd Lloh931, Lloh932 .loh AdrpAdd Lloh929, Lloh930 .loh AdrpAdd Lloh927, Lloh928 .loh AdrpAdd Lloh925, Lloh926 .loh AdrpAdd Lloh939, Lloh940 .loh AdrpAdd Lloh937, Lloh938 .loh AdrpAdd Lloh951, Lloh952 .loh AdrpAdd Lloh949, Lloh950 .loh AdrpAdd Lloh947, Lloh948 .loh AdrpAdd Lloh945, Lloh946 .loh AdrpAdd Lloh943, Lloh944 .loh AdrpAdd Lloh941, Lloh942 .loh AdrpAdd Lloh955, Lloh956 .loh AdrpAdd Lloh953, Lloh954 .loh AdrpLdrGotLdr Lloh957, Lloh958, Lloh959 .loh AdrpAdd Lloh960, Lloh961 .loh AdrpAdd Lloh962, Lloh963 .loh AdrpAdd Lloh966, Lloh967 .loh AdrpAdd Lloh964, Lloh965 .cfi_endproc ; -- End function .globl _rockQH ; -- Begin function rockQH .p2align 2 _rockQH: ; @rockQH .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh968: adrp x0, l_str.671@PAGE Lloh969: add x0, x0, l_str.671@PAGEOFF bl _puts Lloh970: adrp x0, l_str.748@PAGE Lloh971: add x0, x0, l_str.748@PAGEOFF bl _puts Lloh972: adrp x0, l_str.673@PAGE Lloh973: add x0, x0, l_str.673@PAGEOFF bl _puts Lloh974: adrp x0, l_str.750@PAGE Lloh975: add x0, x0, l_str.750@PAGEOFF bl _puts Lloh976: adrp x0, l_str.751@PAGE Lloh977: add x0, x0, l_str.751@PAGEOFF bl _puts add x20, sp, #28 str x20, [sp] Lloh978: adrp x0, l_.str.9@PAGE Lloh979: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 cmn w9, #5 b.hi LBB13_2 ; %bb.1: Lloh980: adrp x0, l_.str.16@PAGE Lloh981: add x0, x0, l_.str.16@PAGEOFF bl _printf str x20, [sp] Lloh982: adrp x0, l_.str.9@PAGE Lloh983: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w20, #0 b LBB13_5 LBB13_2: cmp w8, #1 b.ne LBB13_4 ; %bb.3: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _userTroops@PAGEOFF] mov w20, #1 b LBB13_5 LBB13_4: mov w20, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _aiTroops@PAGEOFF] LBB13_5: Lloh984: adrp x0, l_str.676@PAGE Lloh985: add x0, x0, l_str.676@PAGEOFF bl _puts Lloh986: adrp x0, l_str.677@PAGE Lloh987: add x0, x0, l_str.677@PAGEOFF bl _puts Lloh988: adrp x0, l_str.678@PAGE Lloh989: add x0, x0, l_str.678@PAGEOFF bl _puts Lloh990: adrp x0, l_str.679@PAGE Lloh991: add x0, x0, l_str.679@PAGEOFF bl _puts Lloh992: adrp x0, l_str.680@PAGE Lloh993: add x0, x0, l_str.680@PAGEOFF bl _puts add x21, sp, #24 str x21, [sp] Lloh994: adrp x0, l_.str.9@PAGE Lloh995: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB13_7 ; %bb.6: Lloh996: adrp x0, l_.str.16@PAGE Lloh997: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh998: adrp x0, l_.str.9@PAGE Lloh999: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB13_10 LBB13_7: cmp w8, #3 b.ne LBB13_9 ; %bb.8: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB13_10 LBB13_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB13_10: Lloh1000: adrp x0, l_str.681@PAGE Lloh1001: add x0, x0, l_str.681@PAGEOFF bl _puts Lloh1002: adrp x0, l_str.682@PAGE Lloh1003: add x0, x0, l_str.682@PAGEOFF bl _puts Lloh1004: adrp x0, l_str.683@PAGE Lloh1005: add x0, x0, l_str.683@PAGEOFF bl _puts Lloh1006: adrp x0, l_str.684@PAGE Lloh1007: add x0, x0, l_str.684@PAGEOFF bl _puts Lloh1008: adrp x0, l_str.685@PAGE Lloh1009: add x0, x0, l_str.685@PAGEOFF bl _puts add x21, sp, #20 str x21, [sp] Lloh1010: adrp x0, l_.str.9@PAGE Lloh1011: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB13_12 ; %bb.11: Lloh1012: adrp x0, l_.str.16@PAGE Lloh1013: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh1014: adrp x0, l_.str.9@PAGE Lloh1015: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB13_15 LBB13_12: cmp w8, #2 b.ne LBB13_14 ; %bb.13: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB13_15 LBB13_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB13_15: Lloh1016: adrp x0, l_str.686@PAGE Lloh1017: add x0, x0, l_str.686@PAGEOFF bl _puts Lloh1018: adrp x0, l_str.687@PAGE Lloh1019: add x0, x0, l_str.687@PAGEOFF bl _puts Lloh1020: adrp x0, l_str.688@PAGE Lloh1021: add x0, x0, l_str.688@PAGEOFF bl _puts Lloh1022: adrp x0, l_str.689@PAGE Lloh1023: add x0, x0, l_str.689@PAGEOFF bl _puts Lloh1024: adrp x0, l_str.690@PAGE Lloh1025: add x0, x0, l_str.690@PAGEOFF bl _puts add x21, sp, #16 str x21, [sp] Lloh1026: adrp x0, l_.str.9@PAGE Lloh1027: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB13_17 ; %bb.16: Lloh1028: adrp x0, l_.str.16@PAGE Lloh1029: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh1030: adrp x0, l_.str.9@PAGE Lloh1031: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB13_20 LBB13_17: cmp w8, #3 b.ne LBB13_19 ; %bb.18: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #4000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB13_20 LBB13_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #4000 str w9, [x8, _aiTroops@PAGEOFF] LBB13_20: Lloh1032: adrp x0, l_str.691@PAGE Lloh1033: add x0, x0, l_str.691@PAGEOFF bl _puts Lloh1034: adrp x0, l_str.692@PAGE Lloh1035: add x0, x0, l_str.692@PAGEOFF bl _puts Lloh1036: adrp x0, l_str.693@PAGE Lloh1037: add x0, x0, l_str.693@PAGEOFF bl _puts Lloh1038: adrp x0, l_str.694@PAGE Lloh1039: add x0, x0, l_str.694@PAGEOFF bl _puts Lloh1040: adrp x0, l_str.695@PAGE Lloh1041: add x0, x0, l_str.695@PAGEOFF bl _puts add x21, sp, #12 str x21, [sp] Lloh1042: adrp x0, l_.str.9@PAGE Lloh1043: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #4 cmn w9, #4 b.hi LBB13_22 ; %bb.21: Lloh1044: adrp x0, l_.str.16@PAGE Lloh1045: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh1046: adrp x0, l_.str.9@PAGE Lloh1047: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB13_25 LBB13_22: cmp w8, #2 b.ne LBB13_24 ; %bb.23: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] mov w10, #7000 add w9, w9, w10 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB13_25 LBB13_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #7000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB13_25: Lloh1048: adrp x8, _side@GOTPAGE Lloh1049: ldr x8, [x8, _side@GOTPAGEOFF] Lloh1050: ldr w8, [x8] cmp w20, #3 b.lo LBB13_29 ; %bb.26: cbnz w8, LBB13_29 ; %bb.27: adrp x21, _userTroops@PAGE ldr w8, [x21, _userTroops@PAGEOFF] adrp x20, _aiTroops@PAGE ldr w9, [x20, _aiTroops@PAGEOFF] cmp w8, w9 b.le LBB13_35 ; %bb.28: Lloh1051: adrp x0, l_str.700@PAGE Lloh1052: add x0, x0, l_str.700@PAGEOFF bl _puts ldr w8, [x21, _userTroops@PAGEOFF] sub w8, w8, #3000 str w8, [x21, _userTroops@PAGEOFF] ldr w8, [x20, _aiTroops@PAGEOFF] sub w8, w8, #4000 str w8, [x20, _aiTroops@PAGEOFF] b LBB13_37 LBB13_29: cmp w20, #2 b.hi LBB13_32 ; %bb.30: cbnz w8, LBB13_32 ; %bb.31: Lloh1053: adrp x0, l_str.698@PAGE Lloh1054: add x0, x0, l_str.698@PAGEOFF bl _puts Lloh1055: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] sub w9, w9, #4000 str w9, [x8, _userTroops@PAGEOFF] Lloh1056: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] sub w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] b LBB13_37 LBB13_32: cmp w20, #3 b.lo LBB13_36 ; %bb.33: cmp w8, #1 b.ne LBB13_36 ; %bb.34: Lloh1057: adrp x0, l_str.697@PAGE Lloh1058: add x0, x0, l_str.697@PAGEOFF bl _puts adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] b LBB13_37 LBB13_35: Lloh1059: adrp x0, l_str.699@PAGE Lloh1060: add x0, x0, l_str.699@PAGEOFF bl _puts ldr w8, [x21, _userTroops@PAGEOFF] sub w8, w8, #3000 str w8, [x21, _userTroops@PAGEOFF] ldr w8, [x20, _aiTroops@PAGEOFF] sub w8, w8, #2000 str w8, [x20, _aiTroops@PAGEOFF] b LBB13_37 LBB13_36: Lloh1061: adrp x0, l_str.696@PAGE Lloh1062: add x0, x0, l_str.696@PAGEOFF bl _puts LBB13_37: mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh978, Lloh979 .loh AdrpAdd Lloh976, Lloh977 .loh AdrpAdd Lloh974, Lloh975 .loh AdrpAdd Lloh972, Lloh973 .loh AdrpAdd Lloh970, Lloh971 .loh AdrpAdd Lloh968, Lloh969 .loh AdrpAdd Lloh982, Lloh983 .loh AdrpAdd Lloh980, Lloh981 .loh AdrpAdd Lloh994, Lloh995 .loh AdrpAdd Lloh992, Lloh993 .loh AdrpAdd Lloh990, Lloh991 .loh AdrpAdd Lloh988, Lloh989 .loh AdrpAdd Lloh986, Lloh987 .loh AdrpAdd Lloh984, Lloh985 .loh AdrpAdd Lloh998, Lloh999 .loh AdrpAdd Lloh996, Lloh997 .loh AdrpAdd Lloh1010, Lloh1011 .loh AdrpAdd Lloh1008, Lloh1009 .loh AdrpAdd Lloh1006, Lloh1007 .loh AdrpAdd Lloh1004, Lloh1005 .loh AdrpAdd Lloh1002, Lloh1003 .loh AdrpAdd Lloh1000, Lloh1001 .loh AdrpAdd Lloh1014, Lloh1015 .loh AdrpAdd Lloh1012, Lloh1013 .loh AdrpAdd Lloh1026, Lloh1027 .loh AdrpAdd Lloh1024, Lloh1025 .loh AdrpAdd Lloh1022, Lloh1023 .loh AdrpAdd Lloh1020, Lloh1021 .loh AdrpAdd Lloh1018, Lloh1019 .loh AdrpAdd Lloh1016, Lloh1017 .loh AdrpAdd Lloh1030, Lloh1031 .loh AdrpAdd Lloh1028, Lloh1029 .loh AdrpAdd Lloh1042, Lloh1043 .loh AdrpAdd Lloh1040, Lloh1041 .loh AdrpAdd Lloh1038, Lloh1039 .loh AdrpAdd Lloh1036, Lloh1037 .loh AdrpAdd Lloh1034, Lloh1035 .loh AdrpAdd Lloh1032, Lloh1033 .loh AdrpAdd Lloh1046, Lloh1047 .loh AdrpAdd Lloh1044, Lloh1045 .loh AdrpLdrGotLdr Lloh1048, Lloh1049, Lloh1050 .loh AdrpAdd Lloh1051, Lloh1052 .loh AdrpAdrp Lloh1055, Lloh1056 .loh AdrpAdd Lloh1053, Lloh1054 .loh AdrpAdd Lloh1057, Lloh1058 .loh AdrpAdd Lloh1059, Lloh1060 .loh AdrpAdd Lloh1061, Lloh1062 .cfi_endproc ; -- End function .globl _reachQH ; -- Begin function reachQH .p2align 2 _reachQH: ; @reachQH .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh1063: adrp x0, l_str.701@PAGE Lloh1064: add x0, x0, l_str.701@PAGEOFF bl _puts Lloh1065: adrp x0, l_str.702@PAGE Lloh1066: add x0, x0, l_str.702@PAGEOFF bl _puts Lloh1067: adrp x0, l_str.703@PAGE Lloh1068: add x0, x0, l_str.703@PAGEOFF bl _puts Lloh1069: adrp x0, l_str.704@PAGE Lloh1070: add x0, x0, l_str.704@PAGEOFF bl _puts Lloh1071: adrp x0, l_str.705@PAGE Lloh1072: add x0, x0, l_str.705@PAGEOFF bl _puts add x20, sp, #28 str x20, [sp] Lloh1073: adrp x0, l_.str.9@PAGE Lloh1074: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 cmn w9, #5 b.hi LBB14_2 ; %bb.1: Lloh1075: adrp x0, l_.str.16@PAGE Lloh1076: add x0, x0, l_.str.16@PAGEOFF bl _printf str x20, [sp] Lloh1077: adrp x0, l_.str.9@PAGE Lloh1078: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w20, #0 b LBB14_5 LBB14_2: cmp w8, #4 b.ne LBB14_4 ; %bb.3: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] mov w20, #1 b LBB14_5 LBB14_4: mov w20, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB14_5: Lloh1079: adrp x0, l_str.706@PAGE Lloh1080: add x0, x0, l_str.706@PAGEOFF bl _puts Lloh1081: adrp x0, l_str.707@PAGE Lloh1082: add x0, x0, l_str.707@PAGEOFF bl _puts Lloh1083: adrp x0, l_str.708@PAGE Lloh1084: add x0, x0, l_str.708@PAGEOFF bl _puts Lloh1085: adrp x0, l_str.709@PAGE Lloh1086: add x0, x0, l_str.709@PAGEOFF bl _puts Lloh1087: adrp x0, l_str.710@PAGE Lloh1088: add x0, x0, l_str.710@PAGEOFF bl _puts add x21, sp, #24 str x21, [sp] Lloh1089: adrp x0, l_.str.9@PAGE Lloh1090: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB14_7 ; %bb.6: Lloh1091: adrp x0, l_.str.16@PAGE Lloh1092: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh1093: adrp x0, l_.str.9@PAGE Lloh1094: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB14_10 LBB14_7: cmp w8, #3 b.ne LBB14_9 ; %bb.8: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #4000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB14_10 LBB14_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #4000 str w9, [x8, _aiTroops@PAGEOFF] LBB14_10: Lloh1095: adrp x0, l_str.711@PAGE Lloh1096: add x0, x0, l_str.711@PAGEOFF bl _puts Lloh1097: adrp x0, l_str.712@PAGE Lloh1098: add x0, x0, l_str.712@PAGEOFF bl _puts Lloh1099: adrp x0, l_str.713@PAGE Lloh1100: add x0, x0, l_str.713@PAGEOFF bl _puts Lloh1101: adrp x0, l_str.714@PAGE Lloh1102: add x0, x0, l_str.714@PAGEOFF bl _puts Lloh1103: adrp x0, l_str.715@PAGE Lloh1104: add x0, x0, l_str.715@PAGEOFF bl _puts add x21, sp, #20 str x21, [sp] Lloh1105: adrp x0, l_.str.9@PAGE Lloh1106: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB14_12 ; %bb.11: Lloh1107: adrp x0, l_.str.16@PAGE Lloh1108: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh1109: adrp x0, l_.str.9@PAGE Lloh1110: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB14_15 LBB14_12: cmp w8, #3 b.ne LBB14_14 ; %bb.13: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB14_15 LBB14_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB14_15: Lloh1111: adrp x0, l_str.716@PAGE Lloh1112: add x0, x0, l_str.716@PAGEOFF bl _puts Lloh1113: adrp x0, l_str.717@PAGE Lloh1114: add x0, x0, l_str.717@PAGEOFF bl _puts Lloh1115: adrp x0, l_str.718@PAGE Lloh1116: add x0, x0, l_str.718@PAGEOFF bl _puts Lloh1117: adrp x0, l_str.719@PAGE Lloh1118: add x0, x0, l_str.719@PAGEOFF bl _puts Lloh1119: adrp x0, l_str.720@PAGE Lloh1120: add x0, x0, l_str.720@PAGEOFF bl _puts add x21, sp, #16 str x21, [sp] Lloh1121: adrp x0, l_.str.9@PAGE Lloh1122: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB14_17 ; %bb.16: Lloh1123: adrp x0, l_.str.16@PAGE Lloh1124: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh1125: adrp x0, l_.str.9@PAGE Lloh1126: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB14_20 LBB14_17: cmp w8, #2 b.ne LBB14_19 ; %bb.18: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB14_20 LBB14_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _aiTroops@PAGEOFF] LBB14_20: Lloh1127: adrp x0, l_str.721@PAGE Lloh1128: add x0, x0, l_str.721@PAGEOFF bl _puts Lloh1129: adrp x0, l_str.722@PAGE Lloh1130: add x0, x0, l_str.722@PAGEOFF bl _puts Lloh1131: adrp x0, l_str.723@PAGE Lloh1132: add x0, x0, l_str.723@PAGEOFF bl _puts Lloh1133: adrp x0, l_str.724@PAGE Lloh1134: add x0, x0, l_str.724@PAGEOFF bl _puts Lloh1135: adrp x0, l_str.725@PAGE Lloh1136: add x0, x0, l_str.725@PAGEOFF bl _puts add x21, sp, #12 str x21, [sp] Lloh1137: adrp x0, l_.str.9@PAGE Lloh1138: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB14_22 ; %bb.21: Lloh1139: adrp x0, l_.str.16@PAGE Lloh1140: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh1141: adrp x0, l_.str.9@PAGE Lloh1142: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB14_25 LBB14_22: cmp w8, #2 b.ne LBB14_24 ; %bb.23: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _userTroops@PAGEOFF] add w20, w20, #1 b LBB14_25 LBB14_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB14_25: Lloh1143: adrp x8, _side@GOTPAGE Lloh1144: ldr x8, [x8, _side@GOTPAGEOFF] Lloh1145: ldr w8, [x8] cmp w20, #3 b.lo LBB14_28 ; %bb.26: cbnz w8, LBB14_28 ; %bb.27: Lloh1146: adrp x0, l_str.729@PAGE Lloh1147: add x0, x0, l_str.729@PAGEOFF bl _puts Lloh1148: adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] sub w9, w9, #1000 str w9, [x8, _userTroops@PAGEOFF] Lloh1149: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] sub w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] b LBB14_35 LBB14_28: cmp w20, #2 b.hi LBB14_31 ; %bb.29: cbnz w8, LBB14_31 ; %bb.30: Lloh1150: adrp x0, l_str.728@PAGE Lloh1151: add x0, x0, l_str.728@PAGEOFF bl _puts adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] sub w9, w9, #2000 str w9, [x8, _userTroops@PAGEOFF] b LBB14_35 LBB14_31: cmp w20, #3 b.lo LBB14_34 ; %bb.32: cmp w8, #1 b.ne LBB14_34 ; %bb.33: Lloh1152: adrp x0, l_str.727@PAGE Lloh1153: add x0, x0, l_str.727@PAGEOFF bl _puts adrp x8, _userTroops@PAGE ldr w9, [x8, _userTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _userTroops@PAGEOFF] b LBB14_35 LBB14_34: Lloh1154: adrp x0, l_str.726@PAGE Lloh1155: add x0, x0, l_str.726@PAGEOFF bl _puts LBB14_35: mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh1073, Lloh1074 .loh AdrpAdd Lloh1071, Lloh1072 .loh AdrpAdd Lloh1069, Lloh1070 .loh AdrpAdd Lloh1067, Lloh1068 .loh AdrpAdd Lloh1065, Lloh1066 .loh AdrpAdd Lloh1063, Lloh1064 .loh AdrpAdd Lloh1077, Lloh1078 .loh AdrpAdd Lloh1075, Lloh1076 .loh AdrpAdd Lloh1089, Lloh1090 .loh AdrpAdd Lloh1087, Lloh1088 .loh AdrpAdd Lloh1085, Lloh1086 .loh AdrpAdd Lloh1083, Lloh1084 .loh AdrpAdd Lloh1081, Lloh1082 .loh AdrpAdd Lloh1079, Lloh1080 .loh AdrpAdd Lloh1093, Lloh1094 .loh AdrpAdd Lloh1091, Lloh1092 .loh AdrpAdd Lloh1105, Lloh1106 .loh AdrpAdd Lloh1103, Lloh1104 .loh AdrpAdd Lloh1101, Lloh1102 .loh AdrpAdd Lloh1099, Lloh1100 .loh AdrpAdd Lloh1097, Lloh1098 .loh AdrpAdd Lloh1095, Lloh1096 .loh AdrpAdd Lloh1109, Lloh1110 .loh AdrpAdd Lloh1107, Lloh1108 .loh AdrpAdd Lloh1121, Lloh1122 .loh AdrpAdd Lloh1119, Lloh1120 .loh AdrpAdd Lloh1117, Lloh1118 .loh AdrpAdd Lloh1115, Lloh1116 .loh AdrpAdd Lloh1113, Lloh1114 .loh AdrpAdd Lloh1111, Lloh1112 .loh AdrpAdd Lloh1125, Lloh1126 .loh AdrpAdd Lloh1123, Lloh1124 .loh AdrpAdd Lloh1137, Lloh1138 .loh AdrpAdd Lloh1135, Lloh1136 .loh AdrpAdd Lloh1133, Lloh1134 .loh AdrpAdd Lloh1131, Lloh1132 .loh AdrpAdd Lloh1129, Lloh1130 .loh AdrpAdd Lloh1127, Lloh1128 .loh AdrpAdd Lloh1141, Lloh1142 .loh AdrpAdd Lloh1139, Lloh1140 .loh AdrpLdrGotLdr Lloh1143, Lloh1144, Lloh1145 .loh AdrpAdrp Lloh1148, Lloh1149 .loh AdrpAdd Lloh1146, Lloh1147 .loh AdrpAdd Lloh1150, Lloh1151 .loh AdrpAdd Lloh1152, Lloh1153 .loh AdrpAdd Lloh1154, Lloh1155 .cfi_endproc ; -- End function .globl _stormlandsQH ; -- Begin function stormlandsQH .p2align 2 _stormlandsQH: ; @stormlandsQH .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh1156: adrp x0, l_str.730@PAGE Lloh1157: add x0, x0, l_str.730@PAGEOFF bl _puts Lloh1158: adrp x0, l_str.731@PAGE Lloh1159: add x0, x0, l_str.731@PAGEOFF bl _puts Lloh1160: adrp x0, l_str.732@PAGE Lloh1161: add x0, x0, l_str.732@PAGEOFF bl _puts Lloh1162: adrp x0, l_str.733@PAGE Lloh1163: add x0, x0, l_str.733@PAGEOFF bl _puts Lloh1164: adrp x0, l_str.734@PAGE Lloh1165: add x0, x0, l_str.734@PAGEOFF bl _puts add x21, sp, #28 str x21, [sp] Lloh1166: adrp x0, l_.str.9@PAGE Lloh1167: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 adrp x20, _userTroops@PAGE cmn w9, #5 b.hi LBB15_2 ; %bb.1: Lloh1168: adrp x0, l_.str.16@PAGE Lloh1169: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh1170: adrp x0, l_.str.9@PAGE Lloh1171: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w21, #0 b LBB15_5 LBB15_2: cmp w8, #1 b.ne LBB15_4 ; %bb.3: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #4000 str w8, [x20, _userTroops@PAGEOFF] mov w21, #1 b LBB15_5 LBB15_4: mov w21, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #4000 str w9, [x8, _aiTroops@PAGEOFF] LBB15_5: Lloh1172: adrp x0, l_str.735@PAGE Lloh1173: add x0, x0, l_str.735@PAGEOFF bl _puts Lloh1174: adrp x0, l_str.736@PAGE Lloh1175: add x0, x0, l_str.736@PAGEOFF bl _puts Lloh1176: adrp x0, l_str.737@PAGE Lloh1177: add x0, x0, l_str.737@PAGEOFF bl _puts add x22, sp, #24 str x22, [sp] Lloh1178: adrp x0, l_.str.9@PAGE Lloh1179: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB15_7 ; %bb.6: Lloh1180: adrp x0, l_.str.16@PAGE Lloh1181: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh1182: adrp x0, l_.str.9@PAGE Lloh1183: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB15_10 LBB15_7: cmp w8, #1 b.ne LBB15_9 ; %bb.8: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #2000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB15_10 LBB15_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #2000 str w9, [x8, _aiTroops@PAGEOFF] LBB15_10: Lloh1184: adrp x0, l_str.738@PAGE Lloh1185: add x0, x0, l_str.738@PAGEOFF bl _puts Lloh1186: adrp x0, l_str.739@PAGE Lloh1187: add x0, x0, l_str.739@PAGEOFF bl _puts Lloh1188: adrp x0, l_str.740@PAGE Lloh1189: add x0, x0, l_str.740@PAGEOFF bl _puts Lloh1190: adrp x0, l_str.741@PAGE Lloh1191: add x0, x0, l_str.741@PAGEOFF bl _puts Lloh1192: adrp x0, l_str.742@PAGE Lloh1193: add x0, x0, l_str.742@PAGEOFF bl _puts add x22, sp, #20 str x22, [sp] Lloh1194: adrp x0, l_.str.9@PAGE Lloh1195: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB15_12 ; %bb.11: Lloh1196: adrp x0, l_.str.16@PAGE Lloh1197: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh1198: adrp x0, l_.str.9@PAGE Lloh1199: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB15_15 LBB15_12: cmp w8, #2 b.ne LBB15_14 ; %bb.13: ldr w8, [x20, _userTroops@PAGEOFF] mov w9, #6000 add w8, w8, w9 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB15_15 LBB15_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #6000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB15_15: Lloh1200: adrp x0, l_str.743@PAGE Lloh1201: add x0, x0, l_str.743@PAGEOFF bl _puts Lloh1202: adrp x0, l_str.744@PAGE Lloh1203: add x0, x0, l_str.744@PAGEOFF bl _puts Lloh1204: adrp x0, l_str.745@PAGE Lloh1205: add x0, x0, l_str.745@PAGEOFF bl _puts Lloh1206: adrp x0, l_str.746@PAGE Lloh1207: add x0, x0, l_str.746@PAGEOFF bl _puts add x22, sp, #16 str x22, [sp] Lloh1208: adrp x0, l_.str.9@PAGE Lloh1209: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #4 cmn w9, #4 b.hi LBB15_17 ; %bb.16: Lloh1210: adrp x0, l_.str.16@PAGE Lloh1211: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh1212: adrp x0, l_.str.9@PAGE Lloh1213: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB15_20 LBB15_17: cmp w8, #3 b.ne LBB15_19 ; %bb.18: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #4000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB15_20 LBB15_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #4000 str w9, [x8, _aiTroops@PAGEOFF] LBB15_20: Lloh1214: adrp x0, l_str.747@PAGE Lloh1215: add x0, x0, l_str.747@PAGEOFF bl _puts Lloh1216: adrp x0, l_str.748@PAGE Lloh1217: add x0, x0, l_str.748@PAGEOFF bl _puts Lloh1218: adrp x0, l_str.749@PAGE Lloh1219: add x0, x0, l_str.749@PAGEOFF bl _puts Lloh1220: adrp x0, l_str.750@PAGE Lloh1221: add x0, x0, l_str.750@PAGEOFF bl _puts Lloh1222: adrp x0, l_str.751@PAGE Lloh1223: add x0, x0, l_str.751@PAGEOFF bl _puts add x22, sp, #12 str x22, [sp] Lloh1224: adrp x0, l_.str.9@PAGE Lloh1225: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB15_22 ; %bb.21: Lloh1226: adrp x0, l_.str.16@PAGE Lloh1227: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh1228: adrp x0, l_.str.9@PAGE Lloh1229: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB15_25 LBB15_22: cmp w8, #4 b.ne LBB15_24 ; %bb.23: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #1000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB15_25 LBB15_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB15_25: Lloh1230: adrp x8, _side@GOTPAGE Lloh1231: ldr x8, [x8, _side@GOTPAGEOFF] Lloh1232: ldr w8, [x8] cmp w21, #3 b.lo LBB15_28 ; %bb.26: cbnz w8, LBB15_28 ; %bb.27: mov w22, #-1000 Lloh1233: adrp x0, l_str.755@PAGE Lloh1234: add x0, x0, l_str.755@PAGEOFF b LBB15_32 LBB15_28: mov w22, #-2000 cmp w21, #2 b.hi LBB15_31 ; %bb.29: cbnz w8, LBB15_31 ; %bb.30: Lloh1235: adrp x0, l_str.754@PAGE Lloh1236: add x0, x0, l_str.754@PAGEOFF b LBB15_32 LBB15_31: cmp w21, #2 cset w9, hi cmp w8, #1 cset w8, eq Lloh1237: adrp x10, l_str.752@PAGE Lloh1238: add x10, x10, l_str.752@PAGEOFF Lloh1239: adrp x11, l_str.753@PAGE Lloh1240: add x11, x11, l_str.753@PAGEOFF tst w9, w8 csel x0, x11, x10, ne mov w8, #1000 csel w22, w8, w22, ne LBB15_32: bl _puts ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, w22 str w8, [x20, _userTroops@PAGEOFF] mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh1166, Lloh1167 .loh AdrpAdd Lloh1164, Lloh1165 .loh AdrpAdd Lloh1162, Lloh1163 .loh AdrpAdd Lloh1160, Lloh1161 .loh AdrpAdd Lloh1158, Lloh1159 .loh AdrpAdd Lloh1156, Lloh1157 .loh AdrpAdd Lloh1170, Lloh1171 .loh AdrpAdd Lloh1168, Lloh1169 .loh AdrpAdd Lloh1178, Lloh1179 .loh AdrpAdd Lloh1176, Lloh1177 .loh AdrpAdd Lloh1174, Lloh1175 .loh AdrpAdd Lloh1172, Lloh1173 .loh AdrpAdd Lloh1182, Lloh1183 .loh AdrpAdd Lloh1180, Lloh1181 .loh AdrpAdd Lloh1194, Lloh1195 .loh AdrpAdd Lloh1192, Lloh1193 .loh AdrpAdd Lloh1190, Lloh1191 .loh AdrpAdd Lloh1188, Lloh1189 .loh AdrpAdd Lloh1186, Lloh1187 .loh AdrpAdd Lloh1184, Lloh1185 .loh AdrpAdd Lloh1198, Lloh1199 .loh AdrpAdd Lloh1196, Lloh1197 .loh AdrpAdd Lloh1208, Lloh1209 .loh AdrpAdd Lloh1206, Lloh1207 .loh AdrpAdd Lloh1204, Lloh1205 .loh AdrpAdd Lloh1202, Lloh1203 .loh AdrpAdd Lloh1200, Lloh1201 .loh AdrpAdd Lloh1212, Lloh1213 .loh AdrpAdd Lloh1210, Lloh1211 .loh AdrpAdd Lloh1224, Lloh1225 .loh AdrpAdd Lloh1222, Lloh1223 .loh AdrpAdd Lloh1220, Lloh1221 .loh AdrpAdd Lloh1218, Lloh1219 .loh AdrpAdd Lloh1216, Lloh1217 .loh AdrpAdd Lloh1214, Lloh1215 .loh AdrpAdd Lloh1228, Lloh1229 .loh AdrpAdd Lloh1226, Lloh1227 .loh AdrpLdrGotLdr Lloh1230, Lloh1231, Lloh1232 .loh AdrpAdd Lloh1233, Lloh1234 .loh AdrpAdd Lloh1235, Lloh1236 .loh AdrpAdd Lloh1239, Lloh1240 .loh AdrpAdd Lloh1237, Lloh1238 .cfi_endproc ; -- End function .globl _dorneQH ; -- Begin function dorneQH .p2align 2 _dorneQH: ; @dorneQH .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh1241: adrp x0, l_str.756@PAGE Lloh1242: add x0, x0, l_str.756@PAGEOFF bl _puts Lloh1243: adrp x0, l_str.757@PAGE Lloh1244: add x0, x0, l_str.757@PAGEOFF bl _puts Lloh1245: adrp x0, l_str.758@PAGE Lloh1246: add x0, x0, l_str.758@PAGEOFF bl _puts Lloh1247: adrp x0, l_str.759@PAGE Lloh1248: add x0, x0, l_str.759@PAGEOFF bl _puts Lloh1249: adrp x0, l_str.760@PAGE Lloh1250: add x0, x0, l_str.760@PAGEOFF bl _puts add x21, sp, #28 str x21, [sp] Lloh1251: adrp x0, l_.str.9@PAGE Lloh1252: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #5 adrp x20, _userTroops@PAGE cmn w9, #5 b.hi LBB16_2 ; %bb.1: Lloh1253: adrp x0, l_.str.16@PAGE Lloh1254: add x0, x0, l_.str.16@PAGEOFF bl _printf str x21, [sp] Lloh1255: adrp x0, l_.str.9@PAGE Lloh1256: add x0, x0, l_.str.9@PAGEOFF bl _scanf mov w21, #0 b LBB16_5 LBB16_2: cmp w8, #2 b.ne LBB16_4 ; %bb.3: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #1000 str w8, [x20, _userTroops@PAGEOFF] mov w21, #1 b LBB16_5 LBB16_4: mov w21, #0 adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #1000 str w9, [x8, _aiTroops@PAGEOFF] LBB16_5: Lloh1257: adrp x0, l_str.761@PAGE Lloh1258: add x0, x0, l_str.761@PAGEOFF bl _puts Lloh1259: adrp x0, l_str.762@PAGE Lloh1260: add x0, x0, l_str.762@PAGEOFF bl _puts Lloh1261: adrp x0, l_str.763@PAGE Lloh1262: add x0, x0, l_str.763@PAGEOFF bl _puts Lloh1263: adrp x0, l_str.764@PAGE Lloh1264: add x0, x0, l_str.764@PAGEOFF bl _puts Lloh1265: adrp x0, l_str.765@PAGE Lloh1266: add x0, x0, l_str.765@PAGEOFF bl _puts add x22, sp, #24 str x22, [sp] Lloh1267: adrp x0, l_.str.9@PAGE Lloh1268: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #24] sub w9, w8, #5 cmn w9, #5 b.hi LBB16_7 ; %bb.6: Lloh1269: adrp x0, l_.str.16@PAGE Lloh1270: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh1271: adrp x0, l_.str.9@PAGE Lloh1272: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB16_10 LBB16_7: cmp w8, #2 b.ne LBB16_9 ; %bb.8: ldr w8, [x20, _userTroops@PAGEOFF] mov w9, #5000 add w8, w8, w9 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB16_10 LBB16_9: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #5000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB16_10: Lloh1273: adrp x0, l_str.766@PAGE Lloh1274: add x0, x0, l_str.766@PAGEOFF bl _puts Lloh1275: adrp x0, l_str.767@PAGE Lloh1276: add x0, x0, l_str.767@PAGEOFF bl _puts Lloh1277: adrp x0, l_str.768@PAGE Lloh1278: add x0, x0, l_str.768@PAGEOFF bl _puts Lloh1279: adrp x0, l_str.769@PAGE Lloh1280: add x0, x0, l_str.769@PAGEOFF bl _puts Lloh1281: adrp x0, l_str.770@PAGE Lloh1282: add x0, x0, l_str.770@PAGEOFF bl _puts add x22, sp, #20 str x22, [sp] Lloh1283: adrp x0, l_.str.9@PAGE Lloh1284: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #20] sub w9, w8, #5 cmn w9, #5 b.hi LBB16_12 ; %bb.11: Lloh1285: adrp x0, l_.str.16@PAGE Lloh1286: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh1287: adrp x0, l_.str.9@PAGE Lloh1288: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB16_15 LBB16_12: cmp w8, #1 b.ne LBB16_14 ; %bb.13: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #3000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB16_15 LBB16_14: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _aiTroops@PAGEOFF] LBB16_15: Lloh1289: adrp x0, l_str.771@PAGE Lloh1290: add x0, x0, l_str.771@PAGEOFF bl _puts Lloh1291: adrp x0, l_str.772@PAGE Lloh1292: add x0, x0, l_str.772@PAGEOFF bl _puts Lloh1293: adrp x0, l_str.773@PAGE Lloh1294: add x0, x0, l_str.773@PAGEOFF bl _puts Lloh1295: adrp x0, l_str.774@PAGE Lloh1296: add x0, x0, l_str.774@PAGEOFF bl _puts Lloh1297: adrp x0, l_str.775@PAGE Lloh1298: add x0, x0, l_str.775@PAGEOFF bl _puts add x22, sp, #16 str x22, [sp] Lloh1299: adrp x0, l_.str.9@PAGE Lloh1300: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #16] sub w9, w8, #5 cmn w9, #5 b.hi LBB16_17 ; %bb.16: Lloh1301: adrp x0, l_.str.16@PAGE Lloh1302: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh1303: adrp x0, l_.str.9@PAGE Lloh1304: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB16_20 LBB16_17: cmp w8, #2 b.ne LBB16_19 ; %bb.18: ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, #3000 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB16_20 LBB16_19: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] add w9, w9, #3000 str w9, [x8, _aiTroops@PAGEOFF] LBB16_20: Lloh1305: adrp x0, l_str.776@PAGE Lloh1306: add x0, x0, l_str.776@PAGEOFF bl _puts Lloh1307: adrp x0, l_str.777@PAGE Lloh1308: add x0, x0, l_str.777@PAGEOFF bl _puts Lloh1309: adrp x0, l_str.778@PAGE Lloh1310: add x0, x0, l_str.778@PAGEOFF bl _puts Lloh1311: adrp x0, l_str.779@PAGE Lloh1312: add x0, x0, l_str.779@PAGEOFF bl _puts Lloh1313: adrp x0, l_str.780@PAGE Lloh1314: add x0, x0, l_str.780@PAGEOFF bl _puts add x22, sp, #12 str x22, [sp] Lloh1315: adrp x0, l_.str.9@PAGE Lloh1316: add x0, x0, l_.str.9@PAGEOFF bl _scanf ldr w8, [sp, #12] sub w9, w8, #5 cmn w9, #5 b.hi LBB16_22 ; %bb.21: Lloh1317: adrp x0, l_.str.16@PAGE Lloh1318: add x0, x0, l_.str.16@PAGEOFF bl _printf str x22, [sp] Lloh1319: adrp x0, l_.str.9@PAGE Lloh1320: add x0, x0, l_.str.9@PAGEOFF bl _scanf b LBB16_25 LBB16_22: cmp w8, #4 b.ne LBB16_24 ; %bb.23: ldr w8, [x20, _userTroops@PAGEOFF] mov w9, #10000 add w8, w8, w9 str w8, [x20, _userTroops@PAGEOFF] add w21, w21, #1 b LBB16_25 LBB16_24: adrp x8, _aiTroops@PAGE ldr w9, [x8, _aiTroops@PAGEOFF] mov w10, #10000 add w9, w9, w10 str w9, [x8, _aiTroops@PAGEOFF] LBB16_25: Lloh1321: adrp x8, _side@GOTPAGE Lloh1322: ldr x8, [x8, _side@GOTPAGEOFF] Lloh1323: ldr w8, [x8] cmp w21, #3 b.lo LBB16_28 ; %bb.26: cbnz w8, LBB16_28 ; %bb.27: mov w22, #1000 Lloh1324: adrp x0, l_str.784@PAGE Lloh1325: add x0, x0, l_str.784@PAGEOFF b LBB16_32 LBB16_28: mov w22, #-2000 cmp w21, #2 b.hi LBB16_31 ; %bb.29: cbnz w8, LBB16_31 ; %bb.30: Lloh1326: adrp x0, l_str.783@PAGE Lloh1327: add x0, x0, l_str.783@PAGEOFF b LBB16_32 LBB16_31: cmp w21, #2 cset w9, hi cmp w8, #1 cset w8, eq Lloh1328: adrp x10, l_str.781@PAGE Lloh1329: add x10, x10, l_str.781@PAGEOFF Lloh1330: adrp x11, l_str.782@PAGE Lloh1331: add x11, x11, l_str.782@PAGEOFF tst w9, w8 csel x0, x11, x10, ne mov w8, #-4000 csel w22, w22, w8, ne LBB16_32: bl _puts ldr w8, [x20, _userTroops@PAGEOFF] add w8, w8, w22 str w8, [x20, _userTroops@PAGEOFF] mov x0, x19 bl _visitNext ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh1251, Lloh1252 .loh AdrpAdd Lloh1249, Lloh1250 .loh AdrpAdd Lloh1247, Lloh1248 .loh AdrpAdd Lloh1245, Lloh1246 .loh AdrpAdd Lloh1243, Lloh1244 .loh AdrpAdd Lloh1241, Lloh1242 .loh AdrpAdd Lloh1255, Lloh1256 .loh AdrpAdd Lloh1253, Lloh1254 .loh AdrpAdd Lloh1267, Lloh1268 .loh AdrpAdd Lloh1265, Lloh1266 .loh AdrpAdd Lloh1263, Lloh1264 .loh AdrpAdd Lloh1261, Lloh1262 .loh AdrpAdd Lloh1259, Lloh1260 .loh AdrpAdd Lloh1257, Lloh1258 .loh AdrpAdd Lloh1271, Lloh1272 .loh AdrpAdd Lloh1269, Lloh1270 .loh AdrpAdd Lloh1283, Lloh1284 .loh AdrpAdd Lloh1281, Lloh1282 .loh AdrpAdd Lloh1279, Lloh1280 .loh AdrpAdd Lloh1277, Lloh1278 .loh AdrpAdd Lloh1275, Lloh1276 .loh AdrpAdd Lloh1273, Lloh1274 .loh AdrpAdd Lloh1287, Lloh1288 .loh AdrpAdd Lloh1285, Lloh1286 .loh AdrpAdd Lloh1299, Lloh1300 .loh AdrpAdd Lloh1297, Lloh1298 .loh AdrpAdd Lloh1295, Lloh1296 .loh AdrpAdd Lloh1293, Lloh1294 .loh AdrpAdd Lloh1291, Lloh1292 .loh AdrpAdd Lloh1289, Lloh1290 .loh AdrpAdd Lloh1303, Lloh1304 .loh AdrpAdd Lloh1301, Lloh1302 .loh AdrpAdd Lloh1315, Lloh1316 .loh AdrpAdd Lloh1313, Lloh1314 .loh AdrpAdd Lloh1311, Lloh1312 .loh AdrpAdd Lloh1309, Lloh1310 .loh AdrpAdd Lloh1307, Lloh1308 .loh AdrpAdd Lloh1305, Lloh1306 .loh AdrpAdd Lloh1319, Lloh1320 .loh AdrpAdd Lloh1317, Lloh1318 .loh AdrpLdrGotLdr Lloh1321, Lloh1322, Lloh1323 .loh AdrpAdd Lloh1324, Lloh1325 .loh AdrpAdd Lloh1326, Lloh1327 .loh AdrpAdd Lloh1330, Lloh1331 .loh AdrpAdd Lloh1328, Lloh1329 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh1332: adrp x0, l_.str.374@PAGE Lloh1333: add x0, x0, l_.str.374@PAGEOFF bl _printf add x8, sp, #12 str x8, [sp] Lloh1334: adrp x19, l_.str.9@PAGE Lloh1335: add x19, x19, l_.str.9@PAGEOFF mov x0, x19 bl _scanf Lloh1336: adrp x0, l_.str.375@PAGE Lloh1337: add x0, x0, l_.str.375@PAGEOFF bl _printf Lloh1338: adrp x0, l_str.785@PAGE Lloh1339: add x0, x0, l_str.785@PAGEOFF bl _puts Lloh1340: adrp x0, l_str.786@PAGE Lloh1341: add x0, x0, l_str.786@PAGEOFF bl _puts Lloh1342: adrp x0, l_str.787@PAGE Lloh1343: add x0, x0, l_str.787@PAGEOFF bl _puts Lloh1344: adrp x0, l_str.788@PAGE Lloh1345: add x0, x0, l_str.788@PAGEOFF bl _puts Lloh1346: adrp x0, l_str.789@PAGE Lloh1347: add x0, x0, l_str.789@PAGEOFF bl _puts Lloh1348: adrp x0, l_str.790@PAGE Lloh1349: add x0, x0, l_str.790@PAGEOFF bl _puts Lloh1350: adrp x0, l_str.791@PAGE Lloh1351: add x0, x0, l_str.791@PAGEOFF bl _puts add x8, sp, #8 str x8, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #8] Lloh1352: adrp x9, _side@GOTPAGE Lloh1353: ldr x9, [x9, _side@GOTPAGEOFF] cmp w8, #7 b.hi LBB17_3 ; %bb.1: mov w10, #1 lsl w10, w10, w8 mov w11, #206 tst w10, w11 b.eq LBB17_3 ; %bb.2: str wzr, [x9] LBB17_3: and w10, w8, #0xfffffffe cmp w10, #4 b.ne LBB17_5 ; %bb.4: mov w10, #1 str w10, [x9] LBB17_5: sub w8, w8, #1 cmp w8, #6 b.hi LBB17_7 ; %bb.6: ldr w0, [sp, #12] Lloh1354: adrp x9, l_switch.table.main@PAGE Lloh1355: add x9, x9, l_switch.table.main@PAGEOFF ldr x8, [x9, w8, sxtw #3] mov w9, #1 str w9, [x8] bl _visitNext LBB17_7: 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 AdrpLdrGot Lloh1352, Lloh1353 .loh AdrpAdd Lloh1350, Lloh1351 .loh AdrpAdd Lloh1348, Lloh1349 .loh AdrpAdd Lloh1346, Lloh1347 .loh AdrpAdd Lloh1344, Lloh1345 .loh AdrpAdd Lloh1342, Lloh1343 .loh AdrpAdd Lloh1340, Lloh1341 .loh AdrpAdd Lloh1338, Lloh1339 .loh AdrpAdd Lloh1336, Lloh1337 .loh AdrpAdd Lloh1334, Lloh1335 .loh AdrpAdd Lloh1332, Lloh1333 .loh AdrpAdd Lloh1354, Lloh1355 .cfi_endproc ; -- End function .globl _kingdomsVisited ; @kingdomsVisited .zerofill __DATA,__common,_kingdomsVisited,28,2 .globl _userTroops ; @userTroops .zerofill __DATA,__common,_userTroops,4,2 .globl _aiTroops ; @aiTroops .zerofill __DATA,__common,_aiTroops,4,2 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Kingdom of the North" l_.str.1: ; @.str.1 .asciz "Kingdom of the Isles and Rivers" l_.str.2: ; @.str.2 .asciz "Kingdom of Mountains and Vale" l_.str.3: ; @.str.3 .asciz "Kingdom of the Rock" l_.str.4: ; @.str.4 .asciz "Kingdom of the Reach" l_.str.5: ; @.str.5 .asciz "Kingdom of the Stormlands" l_.str.6: ; @.str.6 .asciz "Principality of Dorne" .section __DATA,__data .globl _kingdomsVisitedNames ; @kingdomsVisitedNames .p2align 3 _kingdomsVisitedNames: .quad l_.str .quad l_.str.1 .quad l_.str.2 .quad l_.str.3 .quad l_.str.4 .quad l_.str.5 .quad l_.str.6 .section __TEXT,__cstring,cstring_literals l_.str.8: ; @.str.8 .asciz "%d %s\n" l_.str.9: ; @.str.9 .asciz "%d" l_.str.16: ; @.str.16 .asciz "Please enter a valid answer" .comm _side,4,2 ; @side l_.str.120: ; @.str.120 .asciz "The Iron Born are a proud people and know that your allegance with the Lannisters (and Martells if from the Reach) will result in treachery. Their knowledge of the your devious schemes have resulted in them not only recinding their offer to suport your claim but they also destroy 50 of your ships causing you to lose 2,000 men.\n\n " l_.str.374: ; @.str.374 .asciz "Select Easy(1) or Hard (2)" l_.str.375: ; @.str.375 .asciz "Select your Kingdom:" l_str: ; @str .asciz "Please select the next kingdom to visit: " l_str.383: ; @str.383 .asciz "Please select a valid Kingdom" l_str.384: ; @str.384 .asciz "What family ruled the North while Robert Barratehon was alive?" l_str.385: ; @str.385 .asciz "1. House Stark" l_str.386: ; @str.386 .asciz "2. House Bolton" l_str.387: ; @str.387 .asciz "3. House Arryn" l_str.388: ; @str.388 .asciz "4. House Tully" l_str.389: ; @str.389 .asciz "What is the name of Jon Snow's Direwolf?" l_str.390: ; @str.390 .asciz "1. Grey Wind" l_str.391: ; @str.391 .asciz "2. Grayson" l_str.392: ; @str.392 .asciz "3. Ghost" l_str.393: ; @str.393 .asciz "4. Ghoul" l_str.394: ; @str.394 .asciz "Who was nicknamed the Young Wolf?" l_str.395: ; @str.395 .asciz "1. Jon Snow" l_str.397: ; @str.397 .asciz "3. Bran Stark" l_str.398: ; @str.398 .asciz "4. Ramsey Bolton" l_str.399: ; @str.399 .asciz "Why was Eddard Stark executed?" l_str.400: ; @str.400 .asciz "1. Plotting to kill Cersei" l_str.401: ; @str.401 .asciz "2. Challenging Joffery's claim to the throne" l_str.402: ; @str.402 .asciz "3. Killing King Robert" l_str.403: ; @str.403 .asciz "4. Not allowing Sansa to marry Joffrey" l_str.404: ; @str.404 .asciz "Who was Jon Snow's mother?" l_str.405: ; @str.405 .asciz "1. A whore" l_str.406: ; @str.406 .asciz "2. A bar wench" l_str.407: ; @str.407 .asciz "3. Lyanna Stark" l_str.408: ; @str.408 .asciz "4. Catelyn Stark" l_str.411: ; @str.411 .asciz "While you were crossing over Moat Cailin, you encountered a suprise attack by 1,000 wildlings that escaped over the wall. Although your forces are stronger than the wildlings, your soliders are tired and were defeated by the wildlings, costing you to lose 1,500 men.\n" l_str.413: ; @str.413 .asciz "What do the people of the Iron Islands call themselves?" l_str.414: ; @str.414 .asciz "1. Iron born" l_str.415: ; @str.415 .asciz "2. Rivermen" l_str.416: ; @str.416 .asciz "3. Storm troopers" l_str.417: ; @str.417 .asciz "4. River folk" l_str.418: ; @str.418 .asciz "Who do the people of the Iron Islands pray to?" l_str.419: ; @str.419 .asciz "1. The Old Gods" l_str.420: ; @str.420 .asciz "2. The New Gods" l_str.421: ; @str.421 .asciz "3. The Drowned Gods" l_str.422: ; @str.422 .asciz "4. All of the Gods" l_str.423: ; @str.423 .asciz "How does Theon show his loyalty to Lord Bolton?" l_str.424: ; @str.424 .asciz "1. By killing Bran and Rickon" l_str.425: ; @str.425 .asciz "2. By helping Ramsey" l_str.426: ; @str.426 .asciz "3. By taking Winterfell" l_str.427: ; @str.427 .asciz "4. By confessing what actually happened to Bran and Rickon while shaving Ramsey" l_str.428: ; @str.428 .asciz "What does Ramsey call Theon?" l_str.429: ; @str.429 .asciz "1. Theon" l_str.430: ; @str.430 .asciz "2. Greyjoy" l_str.431: ; @str.431 .asciz "3. Freak" l_str.432: ; @str.432 .asciz "4. Reek" l_str.433: ; @str.433 .asciz "What is on the flag of house Greyjoy?" l_str.434: ; @str.434 .asciz "1. An octopus" l_str.435: ; @str.435 .asciz "2. A kraken " l_str.436: ; @str.436 .asciz "3. A squid " l_str.437: ; @str.437 .asciz "4. A fish" l_str.441: ; @str.441 .asciz "What is the last name bastards are given in the Vale?" l_str.442: ; @str.442 .asciz "1. Rock" l_str.444: ; @str.444 .asciz "3. Sand" l_str.445: ; @str.445 .asciz "4. Andal" l_str.446: ; @str.446 .asciz "What mountains surround and protect the Eyrie?" l_str.447: ; @str.447 .asciz "1. The Fingers" l_str.448: ; @str.448 .asciz "2. The Pebble Mountains" l_str.449: ; @str.449 .asciz "3. The Mountains of the Moon" l_str.450: ; @str.450 .asciz "4. The Stone" l_str.451: ; @str.451 .asciz "Why is Lysa Arryn so mad at Sansa Stark before she dies?" l_str.452: ; @str.452 .asciz "1. Because she believes Sansa is trying to take the Vale" l_str.453: ; @str.453 .asciz "2. Because she always hated her sister, Sansa's mother" l_str.454: ; @str.454 .asciz "3. Because she thinks Sansa is in love with Little Finger" l_str.455: ; @str.455 .asciz "4. Because Sansa won't marry Robyn" l_str.456: ; @str.456 .asciz "What is the sigil of House Arryn?" l_str.457: ; @str.457 .asciz "1. A raven" l_str.458: ; @str.458 .asciz "2. A white falcon and a crescent moon" l_str.459: ; @str.459 .asciz "3. A swallow next to the sun" l_str.460: ; @str.460 .asciz "4. A T-Rex" l_str.461: ; @str.461 .asciz "What is the name of the contraption that criminals are pushed out of in the Eryie?" l_str.462: ; @str.462 .asciz "1. The sky door" l_str.463: ; @str.463 .asciz "2. The moon door " l_str.464: ; @str.464 .asciz "3. The high door " l_str.465: ; @str.465 .asciz "4. The door " l_str.470: ; @str.470 .asciz "What is the sigil of the Lord of the Rock's house?" l_str.471: ; @str.471 .asciz "1. Lion" l_str.472: ; @str.472 .asciz "2. Tiger" l_str.473: ; @str.473 .asciz "3. Bear" l_str.474: ; @str.474 .asciz "4. Stag" l_str.475: ; @str.475 .asciz "What is the name of the poison that killed Joffrey?" l_str.476: ; @str.476 .asciz "1. Milk of the poppy" l_str.477: ; @str.477 .asciz "2. Demon's Dance" l_str.478: ; @str.478 .asciz "3. Nightshade" l_str.479: ; @str.479 .asciz "4. The strangler" l_str.480: ; @str.480 .asciz "What song played at the red wedding while the Stark's were being slaughtered?" l_str.481: ; @str.481 .asciz "1. I am hers, she is mine " l_str.482: ; @str.482 .asciz "2. The Rains of Castamere" l_str.483: ; @str.483 .asciz "3. Dark wings, dark words" l_str.485: ; @str.485 .asciz "What is Sandor Clegane's nickname?" l_str.486: ; @str.486 .asciz "1. The rock" l_str.487: ; @str.487 .asciz "2. The mountain" l_str.488: ; @str.488 .asciz "3. The hound" l_str.489: ; @str.489 .asciz "4. The dog" l_str.490: ; @str.490 .asciz "Which hand does Jamie Lannister lose?" l_str.491: ; @str.491 .asciz "1. Right " l_str.492: ; @str.492 .asciz "2. Left " l_str.493: ; @str.493 .asciz "3. Not sure " l_str.499: ; @str.499 .asciz "Who is the Queen of Thrones?" l_str.501: ; @str.501 .asciz "2. Margaery Tyrell" l_str.502: ; @str.502 .asciz "3. Olena Tyrell" l_str.504: ; @str.504 .asciz "What are the words of House Tyrell?" l_str.505: ; @str.505 .asciz "1. As High as Honor" l_str.506: ; @str.506 .asciz "2. Fire and Blood" l_str.507: ; @str.507 .asciz "3. The Sun of Winter" l_str.508: ; @str.508 .asciz "4. Growing Strong" l_str.509: ; @str.509 .asciz "Who actually killed Joffery?" l_str.510: ; @str.510 .asciz "1. Olenna Tyrell" l_str.511: ; @str.511 .asciz "2. Little Finger" l_str.513: ; @str.513 .asciz "4. Tyrion Lannister" l_str.514: ; @str.514 .asciz "Where can you find the Moon Door?" l_str.515: ; @str.515 .asciz "1. Castamere" l_str.516: ; @str.516 .asciz "2. Horn Hill" l_str.517: ; @str.517 .asciz "3. The Eyrie" l_str.518: ; @str.518 .asciz "4. The Dreadfort" l_str.519: ; @str.519 .asciz "What does Margery give her grandmother to show her she's ok after being released by the High Sparrow?" l_str.520: ; @str.520 .asciz "1. A rose" l_str.521: ; @str.521 .asciz "2. A drawing " l_str.522: ; @str.522 .asciz "3. A needlepointed cloth " l_str.523: ; @str.523 .asciz "4. She whispers during a hug" l_str.528: ; @str.528 .asciz "What is the nickname given to Brynden Tully?" l_str.529: ; @str.529 .asciz "1. Kingslayer" l_str.530: ; @str.530 .asciz "2. Black snake" l_str.531: ; @str.531 .asciz "3. Blackfish" l_str.532: ; @str.532 .asciz "4. Strong fish" l_str.533: ; @str.533 .asciz "What is the name of Brienne of Tarth's sword?" l_str.534: ; @str.534 .asciz "1. Widow's wail" l_str.535: ; @str.535 .asciz "2. Oathkeepr" l_str.536: ; @str.536 .asciz "3. Heartsbane" l_str.537: ; @str.537 .asciz "4. Long claw" l_str.538: ; @str.538 .asciz "Who taught Brienne how to fight?" l_str.539: ; @str.539 .asciz "1. Renly Baratheon" l_str.540: ; @str.540 .asciz "2. Her father" l_str.541: ; @str.541 .asciz "3. Dacey Mormont" l_str.542: ; @str.542 .asciz "4. She taught herself" l_str.543: ; @str.543 .asciz "What was the name of the disease that Shireen has?" l_str.544: ; @str.544 .asciz "1. Greystone" l_str.545: ; @str.545 .asciz "2. Dragonstone" l_str.546: ; @str.546 .asciz "3. Grey death " l_str.547: ; @str.547 .asciz "4. Greyscale" l_str.548: ; @str.548 .asciz "How does Melisandre worship the Lord of Light?" l_str.549: ; @str.549 .asciz "1. Bleeding people out" l_str.550: ; @str.550 .asciz "2. Prayer " l_str.551: ; @str.551 .asciz "3. By converting others " l_str.552: ; @str.552 .asciz "4. Burning people " l_str.557: ; @str.557 .asciz "What is the last name of bastard children born in Dorne?" l_str.558: ; @str.558 .asciz "1. Snow" l_str.559: ; @str.559 .asciz "2. Sand" l_str.560: ; @str.560 .asciz "3. Storm" l_str.561: ; @str.561 .asciz "4. Hill" l_str.562: ; @str.562 .asciz "What are the bastard daughters of Oberyn Martell called?" l_str.563: ; @str.563 .asciz "1. Sand Snakes" l_str.564: ; @str.564 .asciz "2. Stone Snakes" l_str.565: ; @str.565 .asciz "3. Snow Snakes" l_str.566: ; @str.566 .asciz "4. Silly Snakes" l_str.567: ; @str.567 .asciz "What is Oberyn's nickname?" l_str.568: ; @str.568 .asciz "1. Red Viper" l_str.569: ; @str.569 .asciz "2. Viper" l_str.570: ; @str.570 .asciz "3. Sand Snake" l_str.571: ; @str.571 .asciz "4. Red Snake" l_str.572: ; @str.572 .asciz "How did Oberyn Martell die?" l_str.573: ; @str.573 .asciz "1. During battle" l_str.574: ; @str.574 .asciz "2. Poison" l_str.575: ; @str.575 .asciz "3. Trial by combat" l_str.576: ; @str.576 .asciz "4. By the Lannisters" l_str.577: ; @str.577 .asciz "What are the Martell house words?" l_str.578: ; @str.578 .asciz "1. Family, Duty, Honor" l_str.579: ; @str.579 .asciz "2. Ours is the Fury " l_str.580: ; @str.580 .asciz "3. We stand Together " l_str.581: ; @str.581 .asciz "4. Unbowed, Unbent, Unbroken" l_str.586: ; @str.586 .asciz "In the first episode, Robert Baratheon says 'In my dreams, I kill him every night.' Who is the King referring to and why?" l_str.587: ; @str.587 .asciz "1. Rhaegar Targaryen because he married Elia Martell" l_str.588: ; @str.588 .asciz "2. Aerys Targaryen because he killed Robert's brother" l_str.589: ; @str.589 .asciz "3. Rhaegar Targaryen because he kidnapped Lyanna Stark" l_str.590: ; @str.590 .asciz "4. Aerys Targaryen because he got Lyanna Stark pregnant" l_str.591: ; @str.591 .asciz "Who kills Robb Stark?" l_str.592: ; @str.592 .asciz "1. Edmure Tully" l_str.593: ; @str.593 .asciz "2. Roose Bolton" l_str.594: ; @str.594 .asciz "3. Ramsey Bolton" l_str.596: ; @str.596 .asciz "Who kills Catelyn Stark?" l_str.597: ; @str.597 .asciz "1. Roose Bolton" l_str.598: ; @str.598 .asciz "2. Black Walder Rivers" l_str.599: ; @str.599 .asciz "3. Sandor Clegane" l_str.600: ; @str.600 .asciz "4. Walder Frey" l_str.601: ; @str.601 .asciz "Who is not on Arya Stark's list?" l_str.602: ; @str.602 .asciz "1. Ilyn Payne" l_str.603: ; @str.603 .asciz "2. Varys" l_str.604: ; @str.604 .asciz "3. Cersei Lannister" l_str.605: ; @str.605 .asciz "4. Joffery Baratheon" l_str.606: ; @str.606 .asciz "Who helps Arya escape after her father is executed?" l_str.607: ; @str.607 .asciz "1. Robb Stark" l_str.608: ; @str.608 .asciz "2. Sir Meryn Trant" l_str.609: ; @str.609 .asciz "3. Yoren" l_str.611: ; @str.611 .asciz "Crossing into enemy territory can be dangerous, especially when the North is a much different climate than that in the South. Unfortunately, the North are very fierce and were able to coordinate a suprise attack which wiped out 3,000 of your troops.\n" l_str.612: ; @str.612 .asciz "Crossing into enemy territory can be dangerous, especially when the North is a much different climate than that in the South. Unfortunately, your soldiers could not withstand the winter and you lost 1,000 men.\n" l_str.613: ; @str.613 .asciz "While you were crossing over Moat Cailin, you encountered a suprise attack by 1,000 wildlings that escaped over the wall. Although your forces are stronger than the wildlings, your soliders are tired and were defeated by the wildlings, costing you to lose 1,500 men\n" l_str.614: ; @str.614 .asciz "While you were crossing over Moat Cailin, you encountered a suprise attack by 1,000 wildlings that escaped over the wall. Although your forces are stronger than the wildlings, they are tired and you lost 1,000 men. The 500 wildlings that survived are now your prisoners and will fight for you on the front in order to have a chance of surviving the winter.\n" l_str.615: ; @str.615 .asciz "What are the words of house Greyjoy?" l_str.616: ; @str.616 .asciz "1. We Do Not Sow" l_str.617: ; @str.617 .asciz "2. What is Dead May Never Die" l_str.618: ; @str.618 .asciz "3. Fire and Blood" l_str.619: ; @str.619 .asciz "4. Hear Me Roar" l_str.620: ; @str.620 .asciz "Why ws Tehon a ward of Lord Eddard Stark?" l_str.621: ; @str.621 .asciz "1. The Greyjoys gave him to be married to Arya Stark" l_str.622: ; @str.622 .asciz "2. He was taken after the defeat of the Greyjoy Rebellion" l_str.623: ; @str.623 .asciz "3. He was taken when Eddard and Robert usurped the throne" l_str.624: ; @str.624 .asciz "4. No idea" l_str.625: ; @str.625 .asciz "Why does Yara help Daenerys?" l_str.626: ; @str.626 .asciz "1. To claim the Iron Throne" l_str.627: ; @str.627 .asciz "2. To wage war on her enemies" l_str.628: ; @str.628 .asciz "3. To claim the Salt Throne and make the Iron Islands Independent" l_str.629: ; @str.629 .asciz "4. To make alliances when Daenerys takes the Iron Throne" l_str.630: ; @str.630 .asciz "What is the name of Theon's sister?" l_str.631: ; @str.631 .asciz "1. Yara" l_str.632: ; @str.632 .asciz "2. Osha" l_str.633: ; @str.633 .asciz "3. Asha" l_str.634: ; @str.634 .asciz "4. Alannys" l_str.635: ; @str.635 .asciz "Who said it: 'Only a fool humbles himself when the world is so full of men eager to do that job for him'?" l_str.636: ; @str.636 .asciz "1. Asha Greyjoy" l_str.637: ; @str.637 .asciz "2. Robb Stark " l_str.638: ; @str.638 .asciz "3. Catelyn Stark " l_str.639: ; @str.639 .asciz "4. Theon Greyjoy" l_str.640: ; @str.640 .asciz "The Iron Born are a proud people and know that your allegance with the Lannisters (and Martells if from the Reach) will result in treachery. Their knowledge of the your devious schemes have resulted in them not only recinding their offer to suport your claim but they also destroy 50 of your ships causing you to lose 2,000 men.\n" l_str.641: ; @str.641 .asciz "The kingdom of isles and rivers have been striving for their independence and the fight against the North is meaningless to them. They will give the troops as promised but demand that you allow them to be independent after the war is won.\n" l_str.642: ; @str.642 .asciz "The Iron Born are a proud people and do not repsect those who insult them. Due to your lack of knowledge about the Iron Born, they recind 2000 troops.\n" l_str.643: ; @str.643 .asciz "The Iron Islands have very mixed feelings about fighting for the North after what happend to their heir, Theon. Although their hatred for the Lannisters is great, they wish to be free of the seven kingdoms and be their own entity. Therefore, they agree to send you 100 ships (=4,000 troops) if they can gain their independence once the war is over.\n" l_str.644: ; @str.644 .asciz "Why does Sansa slap Robin when she visits the Eyrie?" l_str.645: ; @str.645 .asciz "1. He says something rude about her family being dead" l_str.646: ; @str.646 .asciz "2. He destroys a gift she gave him" l_str.647: ; @str.647 .asciz "3. He ruins the snow castle of Winterfell Sansa made" l_str.648: ; @str.648 .asciz "4. He is incredibly annoying" l_str.649: ; @str.649 .asciz "What is the name Sansa is called while visiting the Eyrie?" l_str.650: ; @str.650 .asciz "1. Petyr's niece" l_str.651: ; @str.651 .asciz "2. Alayne" l_str.652: ; @str.652 .asciz "3. Ally" l_str.653: ; @str.653 .asciz "4. Ariana" l_str.654: ; @str.654 .asciz "Were these Petyr Baelish's last words to Lysa before pushing her through the moon door? 'I will always love Catelyn, never you'?" l_str.657: ; @str.657 .asciz "Who said this 'The Fingers are a lovely place, if you happen to be a stone'?" l_str.658: ; @str.658 .asciz "1. Cersei Lannister" l_str.659: ; @str.659 .asciz "2. Tyrion Lannister" l_str.660: ; @str.660 .asciz "3. Lysa Arryn" l_str.661: ; @str.661 .asciz "4. Petyr Baelish" l_str.662: ; @str.662 .asciz "Who is Mya Stone?" l_str.663: ; @str.663 .asciz "1. A bastard mentioned in the Eyrie" l_str.664: ; @str.664 .asciz "2. A bastard daughter of Robert Baratheon " l_str.665: ; @str.665 .asciz "3. A bastard daughter of Eddard Stark " l_str.666: ; @str.666 .asciz "4. She doesn't exist " l_str.667: ; @str.667 .asciz "Lady Arryn is convinced that the Lannisters killed her husband and therefore has a strong hatred for anyone who supports the Lannisters. Due to your allegance and your poor knowledge of the area, your troops get trapped in the mountains and 4,000 of your men perish. \n" l_str.668: ; @str.668 .asciz "Lady Arryn is convinced that the Lannisters killed her husband and therefore has a strong hatred for anyone who supports the Lannisters. Due to your allegance, she recinds her offer of troops by 2,000 men and lets you leave without any harm.\n" l_str.669: ; @str.669 .asciz "While speaking with Lady Arryn, she was very cautious about signing her troops up for battle since her kingdom is well protected. Unfortunately, she was not to pleased with your offer to defend her family name and recinded 2,000 troops from her original agreement.\n" l_str.670: ; @str.670 .asciz "While speaking with Lady Arryn, she was very cautious about signing her troops up for battle since her kingdom is well protected. Your words enticed her and she agreed to add an additional 2,000 troops to your efforts.\n" l_str.671: ; @str.671 .asciz "What are the words of house Lannister?" l_str.673: ; @str.673 .asciz "2. A Lannister always pays his debts" l_str.676: ; @str.676 .asciz "How many kings did Tywin Lannister serve as the Hand?" l_str.677: ; @str.677 .asciz "1. One" l_str.678: ; @str.678 .asciz "2. Two " l_str.679: ; @str.679 .asciz "3. Three" l_str.680: ; @str.680 .asciz "4. Fear" l_str.681: ; @str.681 .asciz "Why was Podrick Payne Tyrion's Squire?" l_str.682: ; @str.682 .asciz "1. Because he wanted to be a squire " l_str.683: ; @str.683 .asciz "2. Because he was caught stealing a ham" l_str.684: ; @str.684 .asciz "3. Because his father commanded him to be a squire" l_str.685: ; @str.685 .asciz "4. Because the previous knight he served died" l_str.686: ; @str.686 .asciz "Who said this 'There are no heroes. In life, the monsters win'?" l_str.687: ; @str.687 .asciz "1. Margery Tyrell" l_str.688: ; @str.688 .asciz "2. Olena Tyrell" l_str.689: ; @str.689 .asciz "3. Sansa Stark" l_str.690: ; @str.690 .asciz "4. Arya Stark" l_str.691: ; @str.691 .asciz "What is the name of Robb Stark's wife?" l_str.692: ; @str.692 .asciz "1. Talisa Maegyr" l_str.693: ; @str.693 .asciz "2. Jeyne Westerling " l_str.694: ; @str.694 .asciz "3. Oona Chaplin " l_str.695: ; @str.695 .asciz "4. Sybell Spicer" l_str.696: ; @str.696 .asciz "Although you are allies with the Lannisters of Casterly Rock, they are unsure of your ability to defeat the North. They still support your fight but don't provide you with additional men to conquer the North.\n" l_str.697: ; @str.697 .asciz "Your allegence with the Lannisters has been well established through marraige. Although you still are cautious about the secrecy and treachery from the Lannister group, they offer you another 2,000 to support your fight against the North. \n" l_str.698: ; @str.698 .asciz "Daring move entering the land of your enemy. Your army is strong, but your troops are not as strong as the Lannisters. Both sides fought valiently but in the end, they defeated you in battle. Once the battle was over, you lost 4,000 troops but the Lannisters lost 2,000.\n" l_str.699: ; @str.699 .asciz "Daring move entering the land of your enemy. You know the land well and your army is strong, but your troops are not as strong as the Lannisters. Both sides fought valiently but in the end, they defeated you in battle. Once the battle was over, you lost 3,000 troops but the Lannisters lost 2,000.\n" l_str.700: ; @str.700 .asciz "Daring move entering the land of your enemy. You know the land well and The Lannister army is strong, but apparently not as strong as yours. Both sides fought valiently but in the end, you defeated them in battle. Once the battle was over, you lost 3,000 troops but the Lannisters lost 4,000.\n" l_str.701: ; @str.701 .asciz "Why is Margaery impriosioned by the Faith?" l_str.702: ; @str.702 .asciz "1. Adultery" l_str.703: ; @str.703 .asciz "2. Perjury" l_str.704: ; @str.704 .asciz "3. Treason" l_str.705: ; @str.705 .asciz "4. Adultery and Treason" l_str.706: ; @str.706 .asciz "Who is the heir to Highgarden?" l_str.707: ; @str.707 .asciz "1. Loras Tyrell" l_str.708: ; @str.708 .asciz "2. Mace Tyrell" l_str.709: ; @str.709 .asciz "3. Willas Tyrell" l_str.710: ; @str.710 .asciz "4. Margaery Tyrell" l_str.711: ; @str.711 .asciz "How did Willas Tyrell become crippled?" l_str.712: ; @str.712 .asciz "1. He was born that way" l_str.713: ; @str.713 .asciz "2. He was injured in battle" l_str.714: ; @str.714 .asciz "3. He was injured in a tournament" l_str.715: ; @str.715 .asciz "4. He was in an accident" l_str.716: ; @str.716 .asciz "Why is Olena Martell known as the Queen of Thornes?" l_str.717: ; @str.717 .asciz "1. She is from Highgarden, whose sigil is a rose" l_str.718: ; @str.718 .asciz "2. She is cunning and has a sharp tongue" l_str.719: ; @str.719 .asciz "3. She loves roses" l_str.720: ; @str.720 .asciz "4. It is a common knick name for queens of Highgarden" l_str.721: ; @str.721 .asciz "What is the name of Renly's Kingsguard?" l_str.722: ; @str.722 .asciz "1. Kingsguard" l_str.723: ; @str.723 .asciz "2. Rainbow Guard" l_str.724: ; @str.724 .asciz "3. White Cloaks " l_str.725: ; @str.725 .asciz "4. Rainbow Knights" l_str.726: ; @str.726 .asciz "Although your alliance with the Lannisters is strong, they are uncertain of your ability to defeat the North. They will support your war but will not offer any additional troops, in case you fail they will be able to defend themselves.\n" l_str.727: ; @str.727 .asciz "Your allegance to the lannisters has proved fruitful and they have offered to give you an additional 3,000 troops.\n" l_str.728: ; @str.728 .asciz "Due to your lack of knowledge about the Reach, the troops protecting it were able to attack and kill off 2,000 of your men due to their surprise and lack of preparation. They will still support your fight, but want to ensure you understand their strength.\n" l_str.729: ; @str.729 .asciz "On your way to the Reach, you encountered some Lannister forces who were protecting the land of the future queen. The battle between your troops and the Lannisters caused you to lose 1,000 troops and the Lannisters to lose 2,000. \n" l_str.730: ; @str.730 .asciz "At Hoster Tully's funeral, who shot the burning arrow that hit the mark?" l_str.731: ; @str.731 .asciz "1. Brynden Tully" l_str.732: ; @str.732 .asciz "2. Robb Stark" l_str.733: ; @str.733 .asciz "3. Edmure Tully" l_str.734: ; @str.734 .asciz "4. Lord Karstark" l_str.735: ; @str.735 .asciz "Is Robert Baratheon Stannis's older brother?" l_str.736: ; @str.736 .asciz "1. True" l_str.737: ; @str.737 .asciz "2. False" l_str.738: ; @str.738 .asciz "When does Melisandre proclaim Stannis as a prophesied hero?" l_str.739: ; @str.739 .asciz "1. When he converts to the faith of the Lord of Light" l_str.740: ; @str.740 .asciz "2. When she burns the statues of the seven and he draws the flaming sword" l_str.741: ; @str.741 .asciz "3. When she first comes to Dragonstone" l_str.742: ; @str.742 .asciz "4. When she predicts all of his enemies will burn" l_str.743: ; @str.743 .asciz "Who doesn't try to kill Melisandre?" l_str.744: ; @str.744 .asciz "1. Davos" l_str.745: ; @str.745 .asciz "2. Maester Cressen" l_str.746: ; @str.746 .asciz "3. Stannis " l_str.747: ; @str.747 .asciz "What are the words of House Baratheon?" l_str.748: ; @str.748 .asciz "1. Hear Me Roar" l_str.749: ; @str.749 .asciz "2. Winter is Coming" l_str.750: ; @str.750 .asciz "3. None So Fierce" l_str.751: ; @str.751 .asciz "4. Ours is the Fury" l_str.752: ; @str.752 .asciz "On your way to the Stormlands, your men are exhausted and several have major wounds that have become infected. Due to their weakness, many men have become unable to fight and need to be sent home or have died. As a result, 1,000 men have be lost. The Brotherhood without Banners that are in the Stormlands are aware of the situation and have been tracking your progression. The Brotherhood attack your men, resulting in another 2,000 to be lost.\n" l_str.753: ; @str.753 .asciz "On your way to the Stormlands, your men are exhausted and several have major wounds that have become infected. Due to their weakness, many men have become unable to fight and need to be sent home or have died. As a result, 1,000 men have be lost.\n" l_str.754: ; @str.754 .asciz "Your allies in the Stormlands were displeased by your expectation for them to fight for you without any return on their investment. They will support you, but will keep 2,000 of the troops to defend their homeland instead of fighting for you. \n" l_str.755: ; @str.755 .asciz "Your allies in the Stormlands are there to fight alongside you. Unfortunately on your way to Storm's End, your troops are exhausted and many have wounds that have become infected. As a result of illness, 2,000 of your troops perish. Because of this loss, you are given an additional 1,000 in attempts to replace those who perished for the cause. \n" l_str.756: ; @str.756 .asciz "What are the names of the three main Sand Snakes?" l_str.757: ; @str.757 .asciz "1. Obara, Tyene, Nymeria" l_str.758: ; @str.758 .asciz "2. Obara, Elia, Dorea" l_str.759: ; @str.759 .asciz "3. Obella, Sarella, Loreza" l_str.760: ; @str.760 .asciz "4. Sarella, Obella, Tyene" l_str.761: ; @str.761 .asciz "Where did the Sand Snakes get their name?" l_str.762: ; @str.762 .asciz "1. Because their last name is sand" l_str.763: ; @str.763 .asciz "2. From Oberyn's nickname and because they're bastards" l_str.764: ; @str.764 .asciz "3. They came up with it" l_str.765: ; @str.765 .asciz "4. None of the above" l_str.766: ; @str.766 .asciz "What is the name of the poison Ellaria Martell uses to kill Myrcella?" l_str.767: ; @str.767 .asciz "1. The long farewell" l_str.768: ; @str.768 .asciz "2. The strangler" l_str.769: ; @str.769 .asciz "3. Widow's blood" l_str.770: ; @str.770 .asciz "4. Wolfsbane" l_str.771: ; @str.771 .asciz "What are the names of Elia Martell's children?" l_str.772: ; @str.772 .asciz "1. Ellaria and Aegon" l_str.773: ; @str.773 .asciz "2. Daenerys and Viserys" l_str.774: ; @str.774 .asciz "3. Rhaegar and Aerys" l_str.775: ; @str.775 .asciz "4. Raenys and Aegon" l_str.776: ; @str.776 .asciz "Why is there a red sun on the sigil for house Martell?" l_str.777: ; @str.777 .asciz "1. Represents the climate in Dorne" l_str.778: ; @str.778 .asciz "2. Represents the hot tempers ad passion of the Dornish " l_str.779: ; @str.779 .asciz "3. Represents the sun in Sunspear" l_str.780: ; @str.780 .asciz "4. Represents the sigil of Nymeria" l_str.781: ; @str.781 .asciz "The Dornish are very strongly against the Lannisters, however kind they may occasionally come across. Due to Tywin Lannister commanding for Elia Martell and her children's death, the Dornish are waiting to seek their revenge. With your presence and poor knowledge of their people, you have stirred up very strong feelings for revenge and the Dornish have acted out. As a result, 4,000 of your men have been slaughtered by the Dornish. The troops that were promised are still with you but don't mistake this act as a peace offering. Be careful what you wish for.\n" l_str.782: ; @str.782 .asciz "The Dornish are very strongly against the Lannisters, however kind they may occasionally come across. Due to Tywin Lannister commanding for Elia Martell and her children's death, the Dornish are waiting to seek their revenge. With your presence, you have stirred up very strong feelings for revenge and the Dornish have acted out. As a result, 2,000 of your men have been slaughtered by the Dornish. The troops that were promised are still with you but don't mistake this act as a peace offering. Be careful what you wish for.\n" l_str.783: ; @str.783 .asciz "The Dornish are a feisty and passionate people. Unfortunately, you have made a terrible impression and regardless of their allegance with anyone fighting against the Lannisters, you have displeased them and they have poisoned 2,000 of your men. Best to leave quickly without causing any more harm. \n" l_str.784: ; @str.784 .asciz "The Dornish are a fiesty and passionate people who are trained to be fighters since youth. Due to Tywin Lannister commanding for Elia Martell and her children's death, the Dornish are waiting to seek their revenge. Since you are currently in their good graces, they have decided to give you an additional 1,000 troops. Be warned, their allegance is easily tested.\n" l_str.785: ; @str.785 .asciz "1. Kingdom of the North" l_str.786: ; @str.786 .asciz "2. Kingdom of the Isles and Rivers" l_str.787: ; @str.787 .asciz "3. Kingdom of Mountains and Vale" l_str.788: ; @str.788 .asciz "4. Kingdom of the Rock" l_str.789: ; @str.789 .asciz "5. Kingdom of the Reach" l_str.790: ; @str.790 .asciz "6. Kingdom of the Stormlands" l_str.791: ; @str.791 .asciz "7. Principality of Dorne" .section __DATA,__const .p2align 3 ; @switch.table.main l_switch.table.main: .quad _kingdomsVisited .quad _kingdomsVisited+4 .quad _kingdomsVisited+8 .quad _kingdomsVisited+12 .quad _kingdomsVisited+16 .quad _kingdomsVisited+20 .quad _kingdomsVisited+24 .subsections_via_symbols
the_stack_data/57951551.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function asmparser_tex _asmparser_tex: ## @asmparser_tex .cfi_startproc ## %bb.0: 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 %rcx, %rbx movl %edx, %r14d movl %esi, %r15d movq %rdi, %r12 movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rcx, %rdi callq _map_oldps_register movl %eax, -40(%rbp) leaq -40(%rbp), %r8 movq %r12, %rdi movl %r15d, %esi movl %r14d, %edx movq %rbx, %rcx callq _asmparser_texhelper addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .no_dead_strip _asmparser_tex .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function asmparser_tex _asmparser_tex: ; @asmparser_tex .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 Lloh0: adrp x8, _TRUE@GOTPAGE Lloh1: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x3 bl _map_oldps_register str w0, [sp, #8] add x4, sp, #8 mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 bl _asmparser_texhelper ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .no_dead_strip _asmparser_tex .subsections_via_symbols
AnghaBench/reactos/dll/directx/wine/d3dcompiler_43/extr_asmparser.c_asmparser_tex.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _os_rename ## -- Begin function os_rename .p2align 4, 0x90 _os_rename: ## @os_rename .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq $0, -32(%rbp) movq $0, -24(%rbp) leaq -32(%rbp), %rdx xorl %esi, %esi callq _os_utf8_to_wcs_ptr testl %eax, %eax je LBB0_1 ## %bb.2: xorl %ebx, %ebx leaq -24(%rbp), %rdx movq %r14, %rdi xorl %esi, %esi callq _os_utf8_to_wcs_ptr testl %eax, %eax je LBB0_3 ## %bb.4: movq -32(%rbp), %rdi movq -24(%rbp), %rsi movq _MOVEFILE_REPLACE_EXISTING@GOTPCREL(%rip), %rax movl (%rax), %edx callq _MoveFileExW cmpq $1, %rax sbbl %ebx, %ebx jmp LBB0_5 LBB0_1: movl $-1, %ebx jmp LBB0_6 LBB0_3: movl $-1, %ebx LBB0_5: movq -32(%rbp), %rdi callq _bfree movq -24(%rbp), %rdi callq _bfree LBB0_6: movl %ebx, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _MOVEFILE_REPLACE_EXISTING,4,2 ## @MOVEFILE_REPLACE_EXISTING .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _os_rename ; -- Begin function os_rename .p2align 2 _os_rename: ; @os_rename .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 stp xzr, xzr, [sp] add x2, sp, #8 mov w1, #0 bl _os_utf8_to_wcs_ptr cbz w0, LBB0_3 ; %bb.1: mov x2, sp mov x0, x19 mov w1, #0 bl _os_utf8_to_wcs_ptr cbz w0, LBB0_4 ; %bb.2: ldp x1, x0, [sp] Lloh0: adrp x8, _MOVEFILE_REPLACE_EXISTING@GOTPAGE Lloh1: ldr x8, [x8, _MOVEFILE_REPLACE_EXISTING@GOTPAGEOFF] Lloh2: ldr w2, [x8] bl _MoveFileExW cmp x0, #0 csetm w19, eq b LBB0_5 LBB0_3: mov w19, #-1 b LBB0_6 LBB0_4: mov w19, #-1 LBB0_5: ldr x0, [sp, #8] bl _bfree ldr x0, [sp] bl _bfree LBB0_6: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MOVEFILE_REPLACE_EXISTING,4,2 ; @MOVEFILE_REPLACE_EXISTING .subsections_via_symbols
AnghaBench/obs-studio/libobs/util/extr_platform-windows.c_os_rename.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _string ## -- Begin function string .p2align 4, 0x90 _string: ## @string .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 _Atom_string ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _string ; -- Begin function string .p2align 2 _string: ; @string .cfi_startproc ; %bb.0: b _Atom_string .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Quake-III-Arena/lcc/src/extr_asdl.c_string.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function deparse_type_name _deparse_type_name: ## @deparse_type_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 %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movl %edi, %ebx movq _FORMAT_TYPE_TYPEMOD_GIVEN@GOTPCREL(%rip), %rax movl (%rax), %r15d callq _is_builtin xorl %edx, %edx testl %eax, %eax jne LBB0_2 ## %bb.1: movq _FORMAT_TYPE_FORCE_QUALIFY@GOTPCREL(%rip), %rax movl (%rax), %edx LBB0_2: orl %r15d, %edx movl %ebx, %edi movl %r14d, %esi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _format_type_extended ## TAILCALL .cfi_endproc ## -- End function .comm _FORMAT_TYPE_TYPEMOD_GIVEN,4,2 ## @FORMAT_TYPE_TYPEMOD_GIVEN .comm _FORMAT_TYPE_FORCE_QUALIFY,4,2 ## @FORMAT_TYPE_FORCE_QUALIFY .no_dead_strip _deparse_type_name .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function deparse_type_name _deparse_type_name: ; @deparse_type_name .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _FORMAT_TYPE_TYPEMOD_GIVEN@GOTPAGE Lloh1: ldr x8, [x8, _FORMAT_TYPE_TYPEMOD_GIVEN@GOTPAGEOFF] Lloh2: ldr w21, [x8] bl _is_builtin Lloh3: adrp x8, _FORMAT_TYPE_FORCE_QUALIFY@GOTPAGE Lloh4: ldr x8, [x8, _FORMAT_TYPE_FORCE_QUALIFY@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmp w0, #0 csel w8, w8, wzr, eq orr w2, w8, w21 mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _format_type_extended .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FORMAT_TYPE_TYPEMOD_GIVEN,4,2 ; @FORMAT_TYPE_TYPEMOD_GIVEN .comm _FORMAT_TYPE_FORCE_QUALIFY,4,2 ; @FORMAT_TYPE_FORCE_QUALIFY .no_dead_strip _deparse_type_name .subsections_via_symbols
AnghaBench/postgres/contrib/postgres_fdw/extr_deparse.c_deparse_type_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _aout_DecChangePause ## -- Begin function aout_DecChangePause .p2align 4, 0x90 _aout_DecChangePause: ## @aout_DecChangePause .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movl %esi, %r15d movq %rdi, %rbx callq _aout_owner cmpq $0, (%rax) je LBB0_3 ## %bb.1: movq 8(%rbx), %rax testq %rax, %rax je LBB0_2 ## %bb.4: movq %rbx, %rdi movl %r15d, %esi movl %r14d, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL LBB0_2: testl %r15d, %r15d je LBB0_3 ## %bb.5: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmpq *(%rdi) ## TAILCALL LBB0_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _aout_DecChangePause ; -- Begin function aout_DecChangePause .p2align 2 _aout_DecChangePause: ; @aout_DecChangePause .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x21, x1 mov x19, x0 bl _aout_owner ldr x8, [x0] cbz x8, LBB0_5 ; %bb.1: ldr x3, [x19, #8] cbz x3, LBB0_3 ; %bb.2: mov x0, x19 mov x1, x21 mov x2, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload br x3 LBB0_3: cbz w21, LBB0_5 ; %bb.4: ldr x1, [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 br x1 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/vlc/src/audio_output/extr_dec.c_aout_DecChangePause.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _git_config_lookup_map_enum ## -- Begin function git_config_lookup_map_enum .p2align 4, 0x90 _git_config_lookup_map_enum: ## @git_config_lookup_map_enum .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testq %rcx, %rcx je LBB0_5 ## %bb.1: addq $16, %rdx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpl %r8d, -16(%rdx) je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 addq $24, %rdx decq %rcx jne LBB0_2 LBB0_5: movq _GIT_ERROR_CONFIG@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _git_error_set movq _GIT_ENOTFOUND@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq LBB0_3: movl (%rdx), %eax movl %eax, (%rdi) movq -8(%rdx), %rax movq %rax, (%rsi) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _GIT_ERROR_CONFIG,4,2 ## @GIT_ERROR_CONFIG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "invalid enum value" .comm _GIT_ENOTFOUND,4,2 ## @GIT_ENOTFOUND .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _git_config_lookup_map_enum ; -- Begin function git_config_lookup_map_enum .p2align 2 _git_config_lookup_map_enum: ; @git_config_lookup_map_enum .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 cbz x3, LBB0_4 ; %bb.1: add x9, x2, #8 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldur w8, [x9, #-8] cmp w8, w4 b.eq LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x9, x9, #24 subs x3, x3, #1 b.ne LBB0_2 LBB0_4: Lloh0: adrp x8, _GIT_ERROR_CONFIG@GOTPAGE Lloh1: ldr x8, [x8, _GIT_ERROR_CONFIG@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _git_error_set Lloh5: adrp x8, _GIT_ENOTFOUND@GOTPAGE Lloh6: ldr x8, [x8, _GIT_ENOTFOUND@GOTPAGEOFF] Lloh7: ldr w8, [x8] b LBB0_6 LBB0_5: mov w8, #0 ldr w10, [x9, #8] str w10, [x0] ldr x9, [x9] str x9, [x1] LBB0_6: mov x0, x8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _GIT_ERROR_CONFIG,4,2 ; @GIT_ERROR_CONFIG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "invalid enum value" .comm _GIT_ENOTFOUND,4,2 ; @GIT_ENOTFOUND .subsections_via_symbols
AnghaBench/libgit2/src/extr_config.c_git_config_lookup_map_enum.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function expand_builtin_next_arg _expand_builtin_next_arg: ## @expand_builtin_next_arg .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 _Pmode@GOTPCREL(%rip), %rax movl (%rax), %edi movq _add_optab@GOTPCREL(%rip), %rax movl (%rax), %esi movq _current_function_internal_arg_pointer@GOTPCREL(%rip), %rax movl (%rax), %edx movq _current_function_arg_offset_rtx@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _NULL_RTX@GOTPCREL(%rip), %rax movl (%rax), %r8d movq _OPTAB_LIB_WIDEN@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rsp) xorl %r9d, %r9d callq _expand_binop addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _Pmode,4,2 ## @Pmode .comm _add_optab,4,2 ## @add_optab .comm _current_function_internal_arg_pointer,4,2 ## @current_function_internal_arg_pointer .comm _current_function_arg_offset_rtx,4,2 ## @current_function_arg_offset_rtx .comm _NULL_RTX,4,2 ## @NULL_RTX .comm _OPTAB_LIB_WIDEN,4,2 ## @OPTAB_LIB_WIDEN .no_dead_strip _expand_builtin_next_arg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function expand_builtin_next_arg _expand_builtin_next_arg: ; @expand_builtin_next_arg .cfi_startproc ; %bb.0: Lloh0: adrp x8, _Pmode@GOTPAGE Lloh1: ldr x8, [x8, _Pmode@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x8, _add_optab@GOTPAGE Lloh4: ldr x8, [x8, _add_optab@GOTPAGEOFF] Lloh5: adrp x9, _current_function_internal_arg_pointer@GOTPAGE Lloh6: ldr x9, [x9, _current_function_internal_arg_pointer@GOTPAGEOFF] Lloh7: ldr w1, [x8] Lloh8: ldr w2, [x9] Lloh9: adrp x8, _current_function_arg_offset_rtx@GOTPAGE Lloh10: ldr x8, [x8, _current_function_arg_offset_rtx@GOTPAGEOFF] Lloh11: adrp x9, _NULL_RTX@GOTPAGE Lloh12: ldr x9, [x9, _NULL_RTX@GOTPAGEOFF] Lloh13: ldr w3, [x8] Lloh14: ldr w4, [x9] Lloh15: adrp x8, _OPTAB_LIB_WIDEN@GOTPAGE Lloh16: ldr x8, [x8, _OPTAB_LIB_WIDEN@GOTPAGEOFF] Lloh17: ldr w6, [x8] mov w5, #0 b _expand_binop .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh13 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _Pmode,4,2 ; @Pmode .comm _add_optab,4,2 ; @add_optab .comm _current_function_internal_arg_pointer,4,2 ; @current_function_internal_arg_pointer .comm _current_function_arg_offset_rtx,4,2 ; @current_function_arg_offset_rtx .comm _NULL_RTX,4,2 ; @NULL_RTX .comm _OPTAB_LIB_WIDEN,4,2 ; @OPTAB_LIB_WIDEN .no_dead_strip _expand_builtin_next_arg .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_builtins.c_expand_builtin_next_arg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function isdnloop_atimeout1 _isdnloop_atimeout1: ## @isdnloop_atimeout1 .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 _isdnloop_atimeout ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _isdnloop_atimeout1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function isdnloop_atimeout1 _isdnloop_atimeout1: ; @isdnloop_atimeout1 .cfi_startproc ; %bb.0: mov w1, #1 b _isdnloop_atimeout .cfi_endproc ; -- End function .no_dead_strip _isdnloop_atimeout1 .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/isdn/isdnloop/extr_isdnloop.c_isdnloop_atimeout1.c
anghabench