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 .p2align 4, 0x90 ## -- Begin function rseq_cmpeqv_trystorev_storev_release _rseq_cmpeqv_trystorev_storev_release: ## @rseq_cmpeqv_trystorev_storev_release .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 _rseq_cmpeqv_trystorev_storev ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _rseq_cmpeqv_trystorev_storev_release .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rseq_cmpeqv_trystorev_storev_release _rseq_cmpeqv_trystorev_storev_release: ; @rseq_cmpeqv_trystorev_storev_release .cfi_startproc ; %bb.0: b _rseq_cmpeqv_trystorev_storev .cfi_endproc ; -- End function .no_dead_strip _rseq_cmpeqv_trystorev_storev_release .subsections_via_symbols
AnghaBench/linux/tools/testing/selftests/rseq/extr_rseq-x86.h_rseq_cmpeqv_trystorev_storev_release.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fhci_add_td_to_frame ## -- Begin function fhci_add_td_to_frame .p2align 4, 0x90 _fhci_add_td_to_frame: ## @fhci_add_td_to_frame .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rax movq %rsi, %rdi movq %rax, %rsi popq %rbp jmp _list_add_tail ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fhci_add_td_to_frame ; -- Begin function fhci_add_td_to_frame .p2align 2 _fhci_add_td_to_frame: ; @fhci_add_td_to_frame .cfi_startproc ; %bb.0: mov x8, x0 mov x0, x1 mov x1, x8 b _list_add_tail .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/usb/host/extr_fhci-q.c_fhci_add_td_to_frame.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qnx_handle_screen_event _qnx_handle_screen_event: ## @qnx_handle_screen_event .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq %rsi, %rdi callq _screen_event_get_event movl %eax, %ebx movq _SCREEN_PROPERTY_TYPE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -20(%rbp), %rdx movl %ebx, %edi callq _screen_get_event_property_iv movl -20(%rbp), %edx leal -128(%rdx), %eax cmpl $3, %eax jae LBB0_1 ## %bb.4: movq %r14, %rdi movl %ebx, %esi ## kill: def $edx killed $edx killed $rdx callq _qnx_process_touch_event jmp LBB0_3 LBB0_1: cmpl $131, %edx jne LBB0_3 ## %bb.2: movq %r14, %rdi movl %ebx, %esi movl $131, %edx callq _qnx_process_keyboard_event LBB0_3: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _SCREEN_PROPERTY_TYPE,4,2 ## @SCREEN_PROPERTY_TYPE .comm _DEFAULT_MAX_PADS,4,2 ## @DEFAULT_MAX_PADS .comm _SCREEN_PROPERTY_ATTACHED,4,2 ## @SCREEN_PROPERTY_ATTACHED .comm _SCREEN_PROPERTY_DEVICE,4,2 ## @SCREEN_PROPERTY_DEVICE .no_dead_strip _qnx_handle_screen_event .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qnx_handle_screen_event _qnx_handle_screen_event: ; @qnx_handle_screen_event .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 mov x0, x1 bl _screen_event_get_event mov x20, x0 Lloh0: adrp x8, _SCREEN_PROPERTY_TYPE@GOTPAGE Lloh1: ldr x8, [x8, _SCREEN_PROPERTY_TYPE@GOTPAGEOFF] Lloh2: ldr w1, [x8] add x2, sp, #12 bl _screen_get_event_property_iv ldr w2, [sp, #12] sub w8, w2, #128 cmp w8, #3 b.hs LBB0_2 ; %bb.1: mov x0, x19 mov x1, x20 bl _qnx_process_touch_event b LBB0_4 LBB0_2: cmp w2, #131 b.ne LBB0_4 ; %bb.3: mov x0, x19 mov x1, x20 bl _qnx_process_keyboard_event 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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SCREEN_PROPERTY_TYPE,4,2 ; @SCREEN_PROPERTY_TYPE .comm _DEFAULT_MAX_PADS,4,2 ; @DEFAULT_MAX_PADS .comm _SCREEN_PROPERTY_ATTACHED,4,2 ; @SCREEN_PROPERTY_ATTACHED .comm _SCREEN_PROPERTY_DEVICE,4,2 ; @SCREEN_PROPERTY_DEVICE .no_dead_strip _qnx_handle_screen_event .subsections_via_symbols
AnghaBench/RetroArch/input/drivers/extr_qnx_input.c_qnx_handle_screen_event.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function audio_format_alloc_init _audio_format_alloc_init: ## @audio_format_alloc_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 %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, %r12d movl %r8d, %r13d movl %ecx, %r14d movl %edx, -44(%rbp) ## 4-byte Spill movq %rsi, %r15 movq %rdi, -56(%rbp) ## 8-byte Spill movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $44, %edi callq _kzalloc movq %rax, %rbx testq %rax, %rax je LBB0_4 ## %bb.1: movl %r14d, (%rbx) movl %r12d, 4(%rbx) movl %r13d, 8(%rbx) movq %r15, %rdi xorl %esi, %esi callq _get_endpoint movl 8(%rax), %eax movl %eax, 40(%rbx) movq %r15, %rdi xorl %esi, %esi callq _get_endpoint movl 4(%rax), %eax movl %eax, 36(%rbx) movq -56(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi movq %r15, %rsi callq _snd_usb_parse_datainterval movl %eax, 32(%rbx) movl -44(%rbp), %eax ## 4-byte Reload movl %eax, 12(%rbx) movq %r15, %rdi xorl %esi, %esi callq _get_endpoint movl (%rax), %edi callq _le16_to_cpu movl %eax, 16(%rbx) movl 16(%rbp), %eax movl %eax, 20(%rbx) movl (%r14), %edi callq _snd_usb_get_speed movq _USB_SPEED_HIGH@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_3 ## %bb.2: movl 16(%rbx), %eax movl %eax, %ecx shrl $11, %ecx andl $3, %ecx incl %ecx andl $2047, %eax ## imm = 0x7FF imull %ecx, %eax movl %eax, 16(%rbx) LBB0_3: movl 24(%rbp), %eax movl %eax, 24(%rbx) movq %rbx, %rdi addq $28, %rdi callq _INIT_LIST_HEAD LBB0_4: movq %rbx, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _USB_SPEED_HIGH,8,3 ## @USB_SPEED_HIGH .no_dead_strip _audio_format_alloc_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function audio_format_alloc_init _audio_format_alloc_init: ; @audio_format_alloc_init .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x7 mov x21, x6 mov x26, x5 mov x25, x4 mov x27, x3 mov x24, x2 mov x23, x1 mov x22, x0 Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #44 bl _kzalloc mov x20, x0 cbz x0, LBB0_4 ; %bb.1: stp w27, w26, [x20] str w25, [x20, #8] mov x0, x23 mov w1, #0 bl _get_endpoint ldr w8, [x0, #8] str w8, [x20, #40] mov x0, x23 mov w1, #0 bl _get_endpoint ldr w8, [x0, #4] str w8, [x20, #36] mov x0, x22 mov x1, x23 bl _snd_usb_parse_datainterval str w0, [x20, #32] str w24, [x20, #12] mov x0, x23 mov w1, #0 bl _get_endpoint ldr w0, [x0] bl _le16_to_cpu stp w0, w21, [x20, #16] ldr w0, [x22] bl _snd_usb_get_speed Lloh3: adrp x8, _USB_SPEED_HIGH@GOTPAGE Lloh4: ldr x8, [x8, _USB_SPEED_HIGH@GOTPAGEOFF] Lloh5: ldr x8, [x8] cmp x0, x8 b.ne LBB0_3 ; %bb.2: ldr w8, [x20, #16] ubfx w9, w8, #11, #2 and w8, w8, #0x7ff madd w8, w8, w9, w8 str w8, [x20, #16] LBB0_3: str w19, [x20, #24] add x0, x20, #28 bl _INIT_LIST_HEAD LBB0_4: mov x0, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _USB_SPEED_HIGH,8,3 ; @USB_SPEED_HIGH .no_dead_strip _audio_format_alloc_init .subsections_via_symbols
AnghaBench/linux/sound/usb/extr_stream.c_audio_format_alloc_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dn_neigh_hash _dn_neigh_hash: ## @dn_neigh_hash .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 movl (%rdx), %edx xorl %esi, %esi popq %rbp jmp _jhash_2words ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _dn_neigh_hash .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dn_neigh_hash _dn_neigh_hash: ; @dn_neigh_hash .cfi_startproc ; %bb.0: ldr w0, [x0] ldr w2, [x2] mov w1, #0 b _jhash_2words .cfi_endproc ; -- End function .no_dead_strip _dn_neigh_hash .subsections_via_symbols
AnghaBench/linux/net/decnet/extr_dn_neigh.c_dn_neigh_hash.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Opcode_mul16s_Slot_xt_flix64_slot1_encode _Opcode_mul16s_Slot_xt_flix64_slot1_encode: ## @Opcode_mul16s_Slot_xt_flix64_slot1_encode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $638976, (%rdi) ## imm = 0x9C000 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _Opcode_mul16s_Slot_xt_flix64_slot1_encode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Opcode_mul16s_Slot_xt_flix64_slot1_encode _Opcode_mul16s_Slot_xt_flix64_slot1_encode: ; @Opcode_mul16s_Slot_xt_flix64_slot1_encode .cfi_startproc ; %bb.0: mov w8, #49152 movk w8, #9, lsl #16 str w8, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _Opcode_mul16s_Slot_xt_flix64_slot1_encode .subsections_via_symbols
AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_mul16s_Slot_xt_flix64_slot1_encode.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 fact LCPI0_0: .long 0 ## 0x0 .long 4294967295 ## 0xffffffff .long 4294967294 ## 0xfffffffe .long 4294967293 ## 0xfffffffd LCPI0_1: .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 LCPI0_2: .long 4294967292 ## 0xfffffffc .long 4294967292 ## 0xfffffffc .long 4294967292 ## 0xfffffffc .long 4294967292 ## 0xfffffffc LCPI0_3: .long 4294967288 ## 0xfffffff8 .long 4294967288 ## 0xfffffff8 .long 4294967288 ## 0xfffffff8 .long 4294967288 ## 0xfffffff8 LCPI0_4: .long 4294967284 ## 0xfffffff4 .long 4294967284 ## 0xfffffff4 .long 4294967284 ## 0xfffffff4 .long 4294967284 ## 0xfffffff4 LCPI0_5: .long 4294967280 ## 0xfffffff0 .long 4294967280 ## 0xfffffff0 .long 4294967280 ## 0xfffffff0 .long 4294967280 ## 0xfffffff0 LCPI0_6: .long 4294967276 ## 0xffffffec .long 4294967276 ## 0xffffffec .long 4294967276 ## 0xffffffec .long 4294967276 ## 0xffffffec LCPI0_7: .long 4294967272 ## 0xffffffe8 .long 4294967272 ## 0xffffffe8 .long 4294967272 ## 0xffffffe8 .long 4294967272 ## 0xffffffe8 LCPI0_8: .long 4294967268 ## 0xffffffe4 .long 4294967268 ## 0xffffffe4 .long 4294967268 ## 0xffffffe4 .long 4294967268 ## 0xffffffe4 LCPI0_9: .long 4294967264 ## 0xffffffe0 .long 4294967264 ## 0xffffffe0 .long 4294967264 ## 0xffffffe0 .long 4294967264 ## 0xffffffe0 .section __TEXT,__text,regular,pure_instructions .globl _fact .p2align 4, 0x90 _fact: ## @fact .cfi_startproc ## %bb.0: ## kill: def $edi killed $edi def $rdi movl $1, %eax cmpl $1, %edi je LBB0_12 ## %bb.1: leal -1(%rdi), %ecx movl $1, %eax cmpl $8, %ecx jb LBB0_11 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %ecx, %r8d andl $-8, %r8d movd %edi, %xmm0 pshufd $0, %xmm0, %xmm6 ## xmm6 = xmm0[0,0,0,0] paddd LCPI0_0(%rip), %xmm6 leal -8(%r8), %edx movl %edx, %esi shrl $3, %esi incl %esi movl %esi, %eax andl $3, %eax cmpl $24, %edx jae LBB0_4 ## %bb.3: movdqa LCPI0_1(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa %xmm1, %xmm2 jmp LBB0_6 LBB0_4: andl $-4, %esi movdqa LCPI0_1(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa LCPI0_2(%rip), %xmm8 ## xmm8 = [4294967292,4294967292,4294967292,4294967292] movdqa LCPI0_3(%rip), %xmm9 ## xmm9 = [4294967288,4294967288,4294967288,4294967288] movdqa LCPI0_4(%rip), %xmm10 ## xmm10 = [4294967284,4294967284,4294967284,4294967284] movdqa LCPI0_5(%rip), %xmm11 ## xmm11 = [4294967280,4294967280,4294967280,4294967280] movdqa LCPI0_6(%rip), %xmm12 ## xmm12 = [4294967276,4294967276,4294967276,4294967276] movdqa LCPI0_7(%rip), %xmm13 ## xmm13 = [4294967272,4294967272,4294967272,4294967272] movdqa LCPI0_8(%rip), %xmm4 ## xmm4 = [4294967268,4294967268,4294967268,4294967268] movdqa LCPI0_9(%rip), %xmm5 ## xmm5 = [4294967264,4294967264,4294967264,4294967264] movdqa %xmm1, %xmm2 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movdqa %xmm6, %xmm3 paddd %xmm8, %xmm3 pmulld %xmm2, %xmm3 pmulld %xmm6, %xmm1 movdqa %xmm6, %xmm2 paddd %xmm9, %xmm2 pmulld %xmm1, %xmm2 movdqa %xmm6, %xmm1 paddd %xmm10, %xmm1 movdqa %xmm6, %xmm7 paddd %xmm11, %xmm7 movdqa %xmm6, %xmm0 paddd %xmm12, %xmm0 pmulld %xmm1, %xmm0 pmulld %xmm3, %xmm0 movdqa %xmm6, %xmm1 paddd %xmm13, %xmm1 pmulld %xmm7, %xmm1 pmulld %xmm2, %xmm1 movdqa %xmm6, %xmm2 paddd %xmm4, %xmm2 pmulld %xmm0, %xmm2 paddd %xmm5, %xmm6 addl $-4, %esi jne LBB0_5 LBB0_6: testl %eax, %eax je LBB0_9 ## %bb.7: movdqa LCPI0_2(%rip), %xmm3 ## xmm3 = [4294967292,4294967292,4294967292,4294967292] movdqa LCPI0_3(%rip), %xmm4 ## xmm4 = [4294967288,4294967288,4294967288,4294967288] .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movdqa %xmm6, %xmm0 paddd %xmm3, %xmm0 pmulld %xmm0, %xmm2 pmulld %xmm6, %xmm1 paddd %xmm4, %xmm6 decl %eax jne LBB0_8 LBB0_9: 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 %r8d, %ecx popq %rbp je LBB0_12 ## %bb.10: subl %r8d, %edi .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 imull %edi, %eax decl %edi cmpl $1, %edi jne LBB0_11 LBB0_12: retq .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function main LCPI1_0: .quad 0xbfb5555555555555 ## double -0.083333333333333329 .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 leaq L_.str(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movl -4(%rbp), %edx testl %edx, %edx js LBB1_1 ## %bb.2: leal 1(%rdx), %ecx movl %ecx, %eax andl $7, %eax cmpl $7, %edx jae LBB1_8 ## %bb.3: xorpd %xmm0, %xmm0 jmp LBB1_4 LBB1_1: xorpd %xmm0, %xmm0 jmp LBB1_7 LBB1_8: andl $-8, %ecx xorpd %xmm0, %xmm0 movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero .p2align 4, 0x90 LBB1_9: ## =>This Inner Loop Header: Depth=1 addsd %xmm1, %xmm0 addsd %xmm1, %xmm0 addsd %xmm1, %xmm0 addsd %xmm1, %xmm0 addsd %xmm1, %xmm0 addsd %xmm1, %xmm0 addsd %xmm1, %xmm0 addsd %xmm1, %xmm0 addl $-8, %ecx jne LBB1_9 LBB1_4: testl %eax, %eax je LBB1_7 ## %bb.5: movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero .p2align 4, 0x90 LBB1_6: ## =>This Inner Loop Header: Depth=1 addsd %xmm1, %xmm0 decl %eax jne LBB1_6 LBB1_7: leaq L_.str.1(%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 "%d" L_.str.1: ## @.str.1 .asciz "%lf" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function fact lCPI0_0: .long 0 ; 0x0 .long 4294967295 ; 0xffffffff .long 4294967294 ; 0xfffffffe .long 4294967293 ; 0xfffffffd .section __TEXT,__text,regular,pure_instructions .globl _fact .p2align 2 _fact: ; @fact .cfi_startproc ; %bb.0: subs w9, w0, #1 b.eq LBB0_7 ; %bb.1: mov x8, x0 cmp w9, #16 b.hs LBB0_3 ; %bb.2: mov w0, #1 b LBB0_6 LBB0_3: dup.4s v0, w8 Lloh0: adrp x10, lCPI0_0@PAGE Lloh1: ldr q1, [x10, lCPI0_0@PAGEOFF] add.4s v1, v0, v1 movi.4s v0, #1 mvni.4s v2, #3 and w10, w9, #0xfffffff0 sub w8, w8, w10 mvni.4s v3, #7 mvni.4s v4, #11 mvni.4s v5, #15 mov x11, x10 movi.4s v6, #1 movi.4s v7, #1 movi.4s v16, #1 LBB0_4: ; =>This Inner Loop Header: Depth=1 add.4s v17, v1, v2 add.4s v18, v1, v3 add.4s v19, v1, v4 mul.4s v0, v1, v0 mul.4s v6, v17, v6 mul.4s v7, v18, v7 mul.4s v16, v19, v16 add.4s v1, v1, v5 subs w11, w11, #16 b.ne LBB0_4 ; %bb.5: mul.4s v0, v6, v0 mul.4s v0, v7, v0 mul.4s v0, v16, v0 ext.16b v1, v0, v0, #8 mul.2s v0, v0, v1 fmov w11, s0 mov.s w12, v0[1] mul w0, w11, w12 cmp w9, w10 b.eq LBB0_7 LBB0_6: ; =>This Inner Loop Header: Depth=1 mul w0, w8, w0 sub w9, w8, #1 mov x8, x9 cmp w9, #1 b.ne LBB0_6 LBB0_7: ret .loh AdrpLdr Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 sub x8, x29, #4 str x8, [sp] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _scanf ldur w8, [x29, #-4] tbnz w8, #31, LBB1_3 ; %bb.1: add w10, w8, #1 cmp w10, #4 b.hs LBB1_4 ; %bb.2: mov w9, #0 movi d0, #0000000000000000 b LBB1_7 LBB1_3: movi d0, #0000000000000000 b LBB1_9 LBB1_4: and w9, w10, #0xfffffffc movi d0, #0000000000000000 mov x11, #6148914691236517205 movk x11, #49077, lsl #48 mov x12, x9 LBB1_5: ; =>This Inner Loop Header: Depth=1 fmov d1, x11 fadd d0, d0, d1 fadd d0, d0, d1 fadd d0, d0, d1 fadd d0, d0, d1 subs w12, w12, #4 b.ne LBB1_5 ; %bb.6: cmp w10, w9 b.eq LBB1_9 LBB1_7: sub w8, w8, w9 add w8, w8, #1 mov x9, #6148914691236517205 movk x9, #49077, lsl #48 LBB1_8: ; =>This Inner Loop Header: Depth=1 fmov d1, x9 fadd d0, d0, d1 subs w8, w8, #1 b.ne LBB1_8 LBB1_9: str d0, [sp] Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "%lf" .subsections_via_symbols
the_stack_data/917274.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function der_cmp _der_cmp: ## @der_cmp .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 movq %rdi, %rbx movl (%rdi), %eax movl 4(%rdi), %edi movl (%rsi), %edx movl 4(%rsi), %esi cmpl %edx, %eax cmovll %eax, %edx callq _memcmp testl %eax, %eax jne LBB0_2 ## %bb.1: movl (%rbx), %eax subl (%r14), %eax LBB0_2: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _der_cmp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function der_cmp _der_cmp: ; @der_cmp .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 ldp w8, w0, [x0] ldp w9, w1, [x1] cmp w8, w9 csel w2, w8, w9, lt bl _memcmp cbnz w0, LBB0_2 ; %bb.1: ldr w8, [x20] ldr w9, [x19] sub w0, w8, w9 LBB0_2: 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 _der_cmp .subsections_via_symbols
AnghaBench/openssl/crypto/asn1/extr_tasn_enc.c_der_cmp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vlclua_io_readdir _vlclua_io_readdir: ## @vlclua_io_readdir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 callq _lua_gettop testl %eax, %eax jle LBB0_8 ## %bb.1: movq %r15, %rdi movl $1, %esi callq _luaL_checkstring movq %rax, %rdi callq _vlc_opendir testq %rax, %rax je LBB0_2 ## %bb.3: movq %rax, %r14 movq %r15, %rdi callq _lua_newtable movq %r14, %rdi callq _vlc_readdir testq %rax, %rax je LBB0_6 ## %bb.4: movl $1, %ebx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movq %rax, %rsi callq _lua_pushstring movq %r15, %rdi movl $-2, %esi movl %ebx, %edx callq _lua_rawseti incl %ebx movq %r14, %rdi callq _vlc_readdir testq %rax, %rax jne LBB0_5 LBB0_6: movq %r14, %rdi callq _closedir movl $1, %eax jmp LBB0_7 LBB0_8: leaq L_.str(%rip), %rsi movq %r15, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _luaL_error ## TAILCALL LBB0_2: xorl %eax, %eax LBB0_7: 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 "Usage: vlc.io.readdir(name)" .no_dead_strip _vlclua_io_readdir .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vlclua_io_readdir _vlclua_io_readdir: ; @vlclua_io_readdir .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 _lua_gettop cmp w0, #0 b.le LBB0_7 ; %bb.1: mov x0, x19 mov w1, #1 bl _luaL_checkstring bl _vlc_opendir cbz x0, LBB0_6 ; %bb.2: mov x20, x0 mov x0, x19 bl _lua_newtable mov x0, x20 bl _vlc_readdir cbz x0, LBB0_5 ; %bb.3: mov x1, x0 mov w21, #1 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _lua_pushstring mov x0, x19 mov w1, #-2 mov x2, x21 bl _lua_rawseti add w21, w21, #1 mov x0, x20 bl _vlc_readdir mov x1, x0 cbnz x0, LBB0_4 LBB0_5: mov x0, x20 bl _closedir mov w0, #1 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_7: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF 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 _luaL_error .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Usage: vlc.io.readdir(name)" .no_dead_strip _vlclua_io_readdir .subsections_via_symbols
AnghaBench/vlc/modules/lua/libs/extr_io.c_vlclua_io_readdir.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 line_split LCPI0_0: .byte 10 ## 0xa .byte 10 ## 0xa .byte 10 ## 0xa .byte 10 ## 0xa .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 LCPI0_1: .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _line_split: ## @line_split .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, -48(%rbp) ## 8-byte Spill movl %esi, %r15d movq %rdi, %rbx xorl %r13d, %r13d movl $0, %r14d testl %esi, %esi jle LBB0_11 ## %bb.1: movl %r15d, %eax cmpl $8, %r15d jae LBB0_3 ## %bb.2: xorl %ecx, %ecx xorl %r14d, %r14d jmp LBB0_10 LBB0_3: movl %eax, %ecx andl $-8, %ecx leaq -8(%rcx), %rsi movq %rsi, %rdx shrq $3, %rdx incq %rdx testq %rsi, %rsi je LBB0_4 ## %bb.5: movq %rdx, %rdi andq $-2, %rdi pxor %xmm0, %xmm0 xorl %esi, %esi movdqa LCPI0_0(%rip), %xmm2 ## xmm2 = <10,10,10,10,u,u,u,u,u,u,u,u,u,u,u,u> movdqa LCPI0_1(%rip), %xmm3 ## xmm3 = [1,1,1,1] pxor %xmm1, %xmm1 .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movd (%rbx,%rsi), %xmm4 ## xmm4 = mem[0],zero,zero,zero movd 4(%rbx,%rsi), %xmm5 ## xmm5 = mem[0],zero,zero,zero pcmpeqb %xmm2, %xmm4 pmovzxbd %xmm4, %xmm4 ## xmm4 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero pand %xmm3, %xmm4 paddd %xmm0, %xmm4 pcmpeqb %xmm2, %xmm5 pmovzxbd %xmm5, %xmm5 ## xmm5 = xmm5[0],zero,zero,zero,xmm5[1],zero,zero,zero,xmm5[2],zero,zero,zero,xmm5[3],zero,zero,zero pand %xmm3, %xmm5 paddd %xmm1, %xmm5 movd 8(%rbx,%rsi), %xmm0 ## xmm0 = mem[0],zero,zero,zero movd 12(%rbx,%rsi), %xmm1 ## xmm1 = mem[0],zero,zero,zero pcmpeqb %xmm2, %xmm0 pmovzxbd %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero pand %xmm3, %xmm0 paddd %xmm4, %xmm0 pcmpeqb %xmm2, %xmm1 pmovzxbd %xmm1, %xmm1 ## xmm1 = xmm1[0],zero,zero,zero,xmm1[1],zero,zero,zero,xmm1[2],zero,zero,zero,xmm1[3],zero,zero,zero pand %xmm3, %xmm1 paddd %xmm5, %xmm1 addq $16, %rsi addq $-2, %rdi jne LBB0_6 ## %bb.7: testb $1, %dl je LBB0_9 LBB0_8: movd (%rbx,%rsi), %xmm2 ## xmm2 = mem[0],zero,zero,zero movd 4(%rbx,%rsi), %xmm3 ## xmm3 = mem[0],zero,zero,zero movdqa LCPI0_0(%rip), %xmm4 ## xmm4 = <10,10,10,10,u,u,u,u,u,u,u,u,u,u,u,u> pcmpeqb %xmm4, %xmm2 pmovzxbd %xmm2, %xmm2 ## xmm2 = xmm2[0],zero,zero,zero,xmm2[1],zero,zero,zero,xmm2[2],zero,zero,zero,xmm2[3],zero,zero,zero movdqa LCPI0_1(%rip), %xmm5 ## xmm5 = [1,1,1,1] pand %xmm5, %xmm2 paddd %xmm2, %xmm0 pcmpeqb %xmm4, %xmm3 pmovzxbd %xmm3, %xmm2 ## xmm2 = xmm3[0],zero,zero,zero,xmm3[1],zero,zero,zero,xmm3[2],zero,zero,zero,xmm3[3],zero,zero,zero pand %xmm5, %xmm2 paddd %xmm2, %xmm1 LBB0_9: paddd %xmm1, %xmm0 pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3] paddd %xmm0, %xmm1 pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1] paddd %xmm1, %xmm0 movd %xmm0, %r14d cmpq %rax, %rcx je LBB0_11 .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 xorl %edx, %edx cmpb $10, (%rbx,%rcx) sete %dl addl %edx, %r14d incq %rcx cmpq %rcx, %rax jne LBB0_10 LBB0_11: leal 8(,%r14,8), %edi callq _zmalloc movq %rax, %r12 movl $0, %eax cmpl $2, %r15d jl LBB0_17 ## %bb.12: leal -1(%r15), %ecx xorl %edx, %edx xorl %eax, %eax xorl %r13d, %r13d jmp LBB0_13 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_13 Depth=1 cltq movl %r13d, (%r12,%rax,8) incq %rdx movl %edx, %esi subl %r13d, %esi movl %esi, 4(%r12,%rax,8) incl %eax movl %edx, %r13d cmpq %rcx, %rdx je LBB0_17 LBB0_13: ## =>This Inner Loop Header: Depth=1 cmpb $10, (%rbx,%rdx) je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 incq %rdx cmpq %rcx, %rdx jne LBB0_13 LBB0_17: cltq movl %r13d, (%r12,%rax,8) subl %r13d, %r15d movl %r15d, 4(%r12,%rax,8) leal 1(%rax), %ebx xorl %edi, %edi cmpl %r14d, %eax setle %dil callq _assert movq -48(%rbp), %rax ## 8-byte Reload movq %r12, (%rax) movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: pxor %xmm0, %xmm0 xorl %esi, %esi pxor %xmm1, %xmm1 testb $1, %dl jne LBB0_8 jmp LBB0_9 .cfi_endproc ## -- End function .no_dead_strip _line_split .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function line_split _line_split: ; @line_split .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 cmp w1, #1 b.lt LBB0_3 ; %bb.1: mov w8, w20 cmp w20, #8 b.hs LBB0_4 ; %bb.2: mov x9, #0 mov w23, #0 b LBB0_13 LBB0_3: mov w23, #0 b LBB0_15 LBB0_4: cmp w20, #32 b.hs LBB0_6 ; %bb.5: mov w23, #0 mov x9, #0 b LBB0_10 LBB0_6: movi.2d v0, #0000000000000000 and x9, x8, #0xffffffe0 movi.16b v1, #10 add x10, x21, #16 movi.4s v2, #1 mov x11, x9 movi.2d v4, #0000000000000000 movi.2d v3, #0000000000000000 movi.2d v5, #0000000000000000 movi.2d v6, #0000000000000000 movi.2d v16, #0000000000000000 movi.2d v7, #0000000000000000 movi.2d v17, #0000000000000000 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldp q18, q19, [x10, #-16] cmeq.16b v18, v18, v1 ushll.8h v20, v18, #0 ushll.4s v21, v20, #0 and.16b v21, v21, v2 ushll2.4s v20, v20, #0 and.16b v20, v20, v2 ushll2.8h v18, v18, #0 ushll.4s v22, v18, #0 and.16b v22, v22, v2 ushll2.4s v18, v18, #0 and.16b v18, v18, v2 cmeq.16b v19, v19, v1 ushll.8h v23, v19, #0 ushll.4s v24, v23, #0 and.16b v24, v24, v2 ushll2.4s v23, v23, #0 and.16b v23, v23, v2 ushll2.8h v19, v19, #0 ushll.4s v25, v19, #0 and.16b v25, v25, v2 ushll2.4s v19, v19, #0 and.16b v19, v19, v2 add.4s v5, v5, v18 add.4s v3, v3, v22 add.4s v4, v4, v20 add.4s v0, v0, v21 add.4s v17, v17, v19 add.4s v7, v7, v25 add.4s v16, v16, v23 add.4s v6, v6, v24 add x10, x10, #32 subs x11, x11, #32 b.ne LBB0_7 ; %bb.8: add.4s v1, v16, v4 add.4s v2, v17, v5 add.4s v0, v6, v0 add.4s v3, v7, v3 add.4s v0, v0, v3 add.4s v1, v1, v2 add.4s v0, v0, v1 addv.4s s0, v0 fmov w23, s0 cmp x9, x8 b.eq LBB0_15 ; %bb.9: tst x8, #0x18 b.eq LBB0_13 LBB0_10: mov x11, x9 and x9, x8, #0xfffffff8 movi.2d v0, #0000000000000000 movi.2d v1, #0000000000000000 mov.s v1[0], w23 add x10, x21, x11 sub x11, x11, x9 movi.8b v2, #10 movi.4s v3, #1 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr d4, [x10], #8 cmeq.8b v4, v4, v2 ushll.8h v4, v4, #0 ushll.4s v5, v4, #0 and.16b v5, v5, v3 ushll2.4s v4, v4, #0 and.16b v4, v4, v3 add.4s v0, v0, v4 add.4s v1, v1, v5 adds x11, x11, #8 b.ne LBB0_11 ; %bb.12: add.4s v0, v1, v0 addv.4s s0, v0 fmov w23, s0 cmp x9, x8 b.eq LBB0_15 LBB0_13: add x10, x21, x9 sub x8, x8, x9 LBB0_14: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x10], #1 cmp w9, #10 cinc w23, w23, eq subs x8, x8, #1 b.ne LBB0_14 LBB0_15: lsl w8, w23, #3 add w0, w8, #8 bl _zmalloc mov x22, x0 subs w9, w20, #1 b.le LBB0_20 ; %bb.16: mov x11, #0 mov w8, #0 mov w10, #0 b LBB0_18 LBB0_17: ; in Loop: Header=BB0_18 Depth=1 add x12, x22, w8, sxtw #3 add x11, x11, #1 sub w13, w11, w10 stp w10, w13, [x12] add w8, w8, #1 mov x10, x11 cmp x11, x9 b.eq LBB0_21 LBB0_18: ; =>This Inner Loop Header: Depth=1 ldrb w12, [x21, x11] cmp w12, #10 b.eq LBB0_17 ; %bb.19: ; in Loop: Header=BB0_18 Depth=1 add x11, x11, #1 cmp x11, x9 b.ne LBB0_18 b LBB0_21 LBB0_20: mov w10, #0 mov w8, #0 LBB0_21: add x9, x22, w8, sxtw #3 sub w11, w20, w10 stp w10, w11, [x9] add w20, w8, #1 cmp w8, w23 cset w0, le bl _assert str x22, [x19] 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 .cfi_endproc ; -- End function .no_dead_strip _line_split .subsections_via_symbols
AnghaBench/kphp-kdb/common/extr_diff-patch.c_line_split.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 mul8_382 LCPI0_0: .short 512 ## 0x200 .short 256 ## 0x100 .short 1024 ## 0x400 .short 2048 ## 0x800 .short 4096 ## 0x1000 .short 8192 ## 0x2000 .short 16384 ## 0x4000 .short 32768 ## 0x8000 .section __TEXT,__text,regular,pure_instructions .globl _mul8_382 .p2align 4, 0x90 _mul8_382: ## @mul8_382 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, -56(%rbp) ## 4-byte Spill movl %edi, %eax shrb $3, %al movb %al, -47(%rbp) ## 1-byte Spill movl %edi, %eax shrb $4, %al movb %al, -43(%rbp) ## 1-byte Spill movl %edi, %eax shrb $5, %al movl %edi, %ecx shrb $6, %cl movl %edi, %r12d shrb $7, %r12b movl %esi, %r9d andb %al, %r9b movl %eax, %edi movb %al, -44(%rbp) ## 1-byte Spill movl %esi, %edx shrb %dl movl %edx, %ebx andb $1, %bl movl %esi, %r15d movl %esi, -60(%rbp) ## 4-byte Spill shrb $2, %r15b movl %r15d, %eax andb $1, %al movl %esi, %r13d shrb $3, %r13b movl %r13d, %r8d andb $1, %r8b andb $1, %r9b movb %dl, -41(%rbp) ## 1-byte Spill movl %ebx, %esi andb %dil, %sil andb %cl, %bl andb %r12b, %dl movl %ebx, %r11d xorb %r9b, %r11b andb %r9b, %bl xorb %bl, %dl movl %ebx, %r14d andb %r12b, %r14b movl %eax, %r10d andb %dil, %r10b orb %r11b, %r10b movb %cl, -46(%rbp) ## 1-byte Spill andb %cl, %al movb %r12b, -42(%rbp) ## 1-byte Spill andb %r12b, %r15b movl %edx, %r9d xorb %al, %r9b andb %dl, %al movl %r14d, %edx xorb %r15b, %dl xorb %al, %dl andb %bl, %r15b movl %eax, %ecx andb %r12b, %cl orb %r15b, %cl andb %r14b, %al orb %cl, %al movl %r8d, %ebx movb -47(%rbp), %r12b ## 1-byte Reload andb %r12b, %bl xorb %sil, %bl movl %r8d, %r11d andb -43(%rbp), %r11b ## 1-byte Folded Reload movl %ebx, %esi xorb %r11b, %sil movl %r10d, %ecx orb %bl, %cl andb %r11b, %cl movl %r8d, %r11d andb -44(%rbp), %r11b ## 1-byte Folded Reload xorb %r10b, %sil andb %r10b, %bl orb %cl, %bl movl %r9d, %r15d xorb %r11b, %r15b movl %ebx, %ecx orb %r9b, %cl andb %r11b, %cl movl -60(%rbp), %edi ## 4-byte Reload movl %edi, %r11d shrb $4, %r11b andb -46(%rbp), %r8b ## 1-byte Folded Reload xorb %bl, %r15b andb %r9b, %bl orb %cl, %bl movl %edx, %r9d xorb %r8b, %r9b movl %ebx, %ecx orb %dl, %cl andb %r8b, %cl movl %r11d, %r10d andb $1, %r10b andb -42(%rbp), %r13b ## 1-byte Folded Reload xorb %bl, %r9b andb %dl, %bl orb %cl, %bl movl %eax, %r14d xorb %r13b, %r14b xorb %bl, %r14b movl %ebx, %ecx orb %al, %cl andb %r13b, %cl andb %al, %bl orb %cl, %bl movl %r10d, %edx andb %r12b, %dl movl %r12d, %r13d movl %r10d, %eax movb -43(%rbp), %dil ## 1-byte Reload andb %dil, %al movl %esi, %r8d xorb %dl, %r8b andb %sil, %dl movl %r15d, %ecx xorb %al, %cl movl %ecx, %r12d xorb %dl, %r12b andb %r15b, %al andb %dl, %r15b andb %dil, %dl orb %al, %dl orb %r15b, %dl movl %r10d, %r15d andb -44(%rbp), %r15b ## 1-byte Folded Reload movl %r9d, %edi xorb %r15b, %dil movl %r9d, %eax orb %dl, %al andb %r15b, %al xorb %dl, %dil andb %r9b, %dl andb -46(%rbp), %r10b ## 1-byte Folded Reload orb %al, %dl movl %r14d, %r9d xorb %r10b, %r9b movl %r14d, %eax orb %dl, %al andb %r10b, %al andb -42(%rbp), %r11b ## 1-byte Folded Reload xorb %dl, %r9b andb %r14b, %dl orb %al, %dl movl %ebx, %r10d xorb %r11b, %r10b movl %edx, %eax orb %bl, %al andb %r11b, %al movl -56(%rbp), %r11d ## 4-byte Reload movl %r11d, %r14d shrb %r14b movb %r14b, -48(%rbp) ## 1-byte Spill xorb %dl, %r10b andb %bl, %dl movl -60(%rbp), %esi ## 4-byte Reload ## kill: def $sil killed $sil killed $esi shrb $5, %sil movb -41(%rbp), %bl ## 1-byte Reload andb %r14b, %bl orb %al, %dl movl %esi, %eax andb %r11b, %al orb %bl, %al movb %al, -52(%rbp) ## 1-byte Spill movl %r11d, %eax shrb $2, %al movb %al, -41(%rbp) ## 1-byte Spill movl %esi, %r14d andb $1, %r14b movl %r14d, %r15d andb %al, %r15b movl %r8d, %eax xorb %r15b, %al movb %al, -45(%rbp) ## 1-byte Spill andb %r8b, %r15b movl %r14d, %ebx movl %r13d, %r8d andb %r13b, %bl movl %r12d, %eax xorb %bl, %al andb %r12b, %bl movl %eax, %r13d xorb %r15b, %r13b orb %r8b, %cl andb %r15b, %cl orb %bl, %cl movl %r14d, %r8d andb -43(%rbp), %r8b ## 1-byte Folded Reload movl %edi, %ebx orb %cl, %bl andb %r8b, %bl xorb %cl, %r8b xorb %dil, %r8b andb %dil, %cl orb %bl, %cl movl %r14d, %edi andb -44(%rbp), %dil ## 1-byte Folded Reload movl %r9d, %r11d xorb %dil, %r11b movl %r9d, %ebx orb %cl, %bl andb %dil, %bl xorb %cl, %r11b andb %r9b, %cl orb %bl, %cl andb -46(%rbp), %r14b ## 1-byte Folded Reload movl %r10d, %edi xorb %r14b, %dil movl %ecx, %ebx orb %r10b, %bl andb %r14b, %bl xorb %cl, %dil andb %r10b, %cl orb %bl, %cl movl %esi, %r9d andb -42(%rbp), %sil ## 1-byte Folded Reload movl %edx, %r10d xorb %sil, %r10b movl %ecx, %ebx orb %dl, %bl andb %sil, %bl xorb %cl, %r10b andb %dl, %cl orb %bl, %cl movl -60(%rbp), %edx ## 4-byte Reload movl %edx, %r14d shrb $6, %r14b movb -48(%rbp), %dl ## 1-byte Reload andb %dl, %r9b movl %r14d, %ebx andb -56(%rbp), %bl ## 1-byte Folded Reload orb %r9b, %bl movb %bl, -51(%rbp) ## 1-byte Spill movl %r14d, %r9d andb $1, %r9b movl %r9d, %esi andb %dl, %sil movb -45(%rbp), %bl ## 1-byte Reload movl %ebx, %edx xorb %sil, %dl movb %dl, -49(%rbp) ## 1-byte Spill andb %bl, %sil movl %r9d, %ebx movb -41(%rbp), %r15b ## 1-byte Reload andb %r15b, %bl movl %r13d, %r12d xorb %bl, %r12b andb %r13b, %bl movl %r12d, %edx xorb %sil, %dl movb %dl, -45(%rbp) ## 1-byte Spill orb %r15b, %al andb %sil, %al orb %bl, %al movl %r9d, %esi andb -47(%rbp), %sil ## 1-byte Folded Reload movl %r8d, %edx xorb %sil, %dl movl %r8d, %ebx orb %al, %bl andb %sil, %bl xorb %al, %dl movb %dl, -50(%rbp) ## 1-byte Spill andb %r8b, %al orb %bl, %al movl %r9d, %r13d andb -43(%rbp), %r13b ## 1-byte Folded Reload movl %r11d, %ebx orb %al, %bl andb %r13b, %bl xorb %al, %r13b xorb %r11b, %r13b andb %r11b, %al orb %bl, %al movl %r9d, %r8d movb -44(%rbp), %r11b ## 1-byte Reload andb %r11b, %r8b movl %edi, %esi xorb %r8b, %sil movl %eax, %ebx orb %dil, %bl andb %r8b, %bl xorb %al, %sil andb %dil, %al orb %bl, %al movb -46(%rbp), %dl ## 1-byte Reload andb %dl, %r9b movl %r10d, %edi xorb %r9b, %dil movl %eax, %ebx orb %r10b, %bl andb %r9b, %bl xorb %al, %dil andb %r10b, %al orb %bl, %al movb -42(%rbp), %r15b ## 1-byte Reload andb %r15b, %r14b movl %ecx, %r8d xorb %r14b, %r8b movl %eax, %ebx orb %cl, %bl andb %r14b, %bl xorb %al, %r8b andb %cl, %al orb %bl, %al movl -60(%rbp), %r14d ## 4-byte Reload shrb $7, %r14b movl -56(%rbp), %ecx ## 4-byte Reload andb %r14b, %cl movl %ecx, -56(%rbp) ## 4-byte Spill movb -41(%rbp), %r10b ## 1-byte Reload andb %r14b, %r10b movb %r10b, -41(%rbp) ## 1-byte Spill movb -47(%rbp), %r9b ## 1-byte Reload andb %r14b, %r9b andb %r14b, -43(%rbp) ## 1-byte Folded Spill andb %r14b, %r11b movb %r11b, -44(%rbp) ## 1-byte Spill andb %r14b, %dl movl %r14d, %ebx andb %r15b, %r14b movb -48(%rbp), %r11b ## 1-byte Reload andb %r11b, %bl movb %bl, -42(%rbp) ## 1-byte Spill orb %r11b, %r12b movb -49(%rbp), %r11b ## 1-byte Reload andb %cl, %r11b movb -45(%rbp), %cl ## 1-byte Reload andb %bl, %cl andb %r11b, %r12b orb %cl, %r12b movb -50(%rbp), %r15b ## 1-byte Reload movl %r15d, %ebx orb %r12b, %bl andb %r10b, %bl movl %r15d, %ecx andb %r12b, %cl orb %bl, %cl movl %r13d, %r10d xorb %r9b, %r10b movl %r13d, %ebx orb %cl, %bl andb %r9b, %bl xorb %cl, %r10b andb %r13b, %cl orb %bl, %cl movl %esi, %r9d movb -43(%rbp), %r13b ## 1-byte Reload xorb %r13b, %r9b movl %ecx, %ebx orb %sil, %bl andb %r13b, %bl xorb %cl, %r9b andb %sil, %cl orb %bl, %cl movl %edi, %esi movb -44(%rbp), %r13b ## 1-byte Reload xorb %r13b, %sil xorb %cl, %sil movl %ecx, %ebx orb %dil, %bl andb %dil, %cl andb %r13b, %bl orb %bl, %cl movl %r8d, %edi xorb %dl, %dil movl %ecx, %ebx orb %r8b, %bl andb %dl, %bl xorb %cl, %dil andb %r8b, %cl orb %bl, %cl movl %eax, %r8d xorb %r14b, %r8b xorb %cl, %r8b movl %ecx, %ebx orb %al, %bl andb %al, %cl andb %r14b, %bl orb %bl, %cl movb -52(%rbp), %al ## 1-byte Reload shlb $5, %al andb $32, %al orb %r13b, %al movb -51(%rbp), %bl ## 1-byte Reload shlb $6, %bl andb $64, %bl orb %al, %bl movl -56(%rbp), %r14d ## 4-byte Reload xorb -49(%rbp), %r14b ## 1-byte Folded Reload xorb -42(%rbp), %r11b ## 1-byte Folded Reload movb -45(%rbp), %al ## 1-byte Reload andb $1, %al xorb %al, %r11b xorb -41(%rbp), %r12b ## 1-byte Folded Reload andb $1, %r15b xorb %r15b, %r12b movzbl %r12b, %eax movzbl %r11b, %edx movd %eax, %xmm0 pinsrb $2, %edx, %xmm0 andb $1, %r10b movzbl %r10b, %eax pinsrb $4, %eax, %xmm0 andb $1, %r9b movzbl %r9b, %eax pinsrb $6, %eax, %xmm0 andb $1, %sil movzbl %sil, %eax pinsrb $8, %eax, %xmm0 andb $1, %dil movzbl %dil, %eax pinsrb $10, %eax, %xmm0 andb $1, %r8b movzbl %r8b, %eax pinsrb $12, %eax, %xmm0 movl %r14d, %eax shlb $7, %al orb %bl, %al movl %eax, %edx movzbl %cl, %eax pinsrb $14, %eax, %xmm0 movzbl %dl, %eax pmullw LCPI0_0(%rip), %xmm0 pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3] por %xmm0, %xmm1 pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1] por %xmm1, %xmm0 movdqa %xmm0, %xmm1 psrld $16, %xmm1 por %xmm0, %xmm1 movd %xmm1, %ecx orl %eax, %ecx movzwl %cx, %eax 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 _mul8_382 ; -- Begin function mul8_382 .p2align 2 _mul8_382: ; @mul8_382 .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 .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 lsr w8, w0, #7 and w5, w8, w1, lsr #2 lsr w9, w0, #1 lsr w14, w0, #2 lsr w13, w0, #3 lsr w12, w0, #4 lsr w11, w0, #5 lsr w10, w0, #6 and w4, w1, w11 lsr w6, w1, #1 ubfx w7, w1, #1, #1 ubfx w19, w1, #2, #1 ubfx w20, w1, #3, #1 ubfx w21, w1, #4, #1 lsr w16, w1, #5 ubfx w3, w1, #5, #1 lsr w17, w1, #6 ubfx w2, w1, #6, #1 lsr w15, w1, #7 and w22, w4, #0x1 and w4, w6, w9 and w23, w7, w11 and w7, w7, w10 and w6, w6, w8 eor w24, w7, w22 and w7, w7, w22 eor w6, w7, w6 and w22, w7, w8 and w25, w19, w11 and w19, w19, w10 orr w24, w24, w25 eor w25, w6, w19 and w6, w6, w19 eor w19, w22, w5 eor w19, w19, w6 and w5, w7, w5 and w7, w6, w8 orr w5, w7, w5 and w6, w6, w22 orr w5, w5, w6 and w6, w20, w13 and w7, w20, w12 and w22, w20, w11 and w20, w20, w10 and w26, w8, w1, lsr #3 eor w6, w23, w6 eor w23, w6, w7 eor w23, w23, w24 orr w27, w24, w6 and w7, w27, w7 and w6, w24, w6 orr w6, w7, w6 eor w7, w25, w22 eor w7, w7, w6 orr w24, w6, w25 and w22, w24, w22 and w6, w6, w25 orr w6, w22, w6 eor w22, w19, w20 eor w22, w22, w6 orr w24, w6, w19 and w20, w24, w20 and w6, w6, w19 orr w6, w20, w6 eor w19, w5, w26 eor w19, w19, w6 orr w20, w6, w5 and w20, w20, w26 and w5, w6, w5 orr w5, w20, w5 and w6, w21, w13 and w20, w21, w12 and w24, w21, w11 and w21, w21, w10 and w1, w8, w1, lsr #4 eor w25, w23, w6 and w6, w23, w6 eor w23, w7, w20 eor w26, w23, w6 and w20, w7, w20 and w27, w6, w12 orr w20, w20, w27 and w6, w7, w6 orr w6, w20, w6 eor w7, w22, w24 eor w7, w7, w6 orr w20, w22, w6 and w20, w20, w24 and w6, w22, w6 orr w6, w20, w6 eor w20, w19, w21 eor w20, w20, w6 orr w22, w19, w6 and w21, w22, w21 and w6, w19, w6 orr w6, w21, w6 eor w19, w5, w1 eor w19, w19, w6 orr w21, w6, w5 and w1, w21, w1 and w5, w6, w5 orr w1, w1, w5 and w5, w16, w0 and w6, w16, w9 and w21, w3, w14 and w22, w3, w13 and w24, w3, w12 and w27, w3, w11 and w3, w3, w10 and w28, w16, w8 orr w16, w4, w5 eor w4, w25, w21 and w5, w25, w21 eor w21, w26, w22 eor w25, w21, w5 and w22, w26, w22 orr w23, w23, w13 and w5, w23, w5 orr w5, w5, w22 eor w22, w7, w24 eor w22, w22, w5 orr w23, w7, w5 and w23, w23, w24 and w5, w7, w5 orr w5, w23, w5 eor w7, w20, w27 eor w7, w7, w5 orr w23, w20, w5 and w23, w23, w27 and w5, w20, w5 orr w5, w23, w5 eor w20, w19, w3 eor w20, w20, w5 orr w23, w5, w19 and w3, w23, w3 and w5, w5, w19 orr w3, w3, w5 eor w5, w1, w28 eor w5, w5, w3 orr w19, w3, w1 and w19, w19, w28 and w1, w3, w1 orr w19, w19, w1 and w1, w17, w0 and w3, w2, w9 and w23, w2, w14 and w24, w2, w13 and w26, w2, w12 and w27, w2, w11 and w28, w2, w10 and w30, w17, w8 orr w17, w6, w1 eor w1, w4, w3 and w3, w4, w3 eor w4, w25, w23 eor w2, w4, w3 and w6, w25, w23 orr w21, w21, w14 and w3, w21, w3 orr w6, w3, w6 eor w3, w22, w24 eor w3, w3, w6 orr w21, w22, w6 and w21, w21, w24 and w6, w22, w6 orr w6, w21, w6 eor w21, w7, w26 eor w21, w21, w6 orr w22, w7, w6 and w22, w22, w26 and w6, w7, w6 orr w6, w22, w6 eor w7, w20, w27 eor w7, w7, w6 orr w22, w6, w20 and w22, w22, w27 and w6, w6, w20 orr w6, w22, w6 eor w20, w5, w28 eor w20, w20, w6 orr w22, w6, w5 and w22, w22, w28 and w5, w6, w5 orr w5, w22, w5 eor w6, w19, w30 eor w6, w6, w5 orr w22, w5, w19 and w22, w22, w30 and w5, w5, w19 orr w5, w22, w5 and w0, w15, w0 and w19, w15, w9 and w14, w15, w14 and w13, w15, w13 and w12, w15, w12 and w11, w15, w11 and w10, w15, w10 and w8, w15, w8 and w15, w1, w0 and w22, w2, w19 orr w9, w4, w9 and w9, w9, w15 orr w9, w9, w22 orr w4, w3, w9 and w4, w4, w14 and w22, w3, w9 orr w4, w4, w22 eor w22, w21, w13 eor w22, w22, w4 orr w23, w21, w4 and w13, w23, w13 and w4, w21, w4 orr w13, w13, w4 eor w4, w7, w12 eor w4, w4, w13 orr w21, w13, w7 and w12, w21, w12 and w13, w13, w7 orr w12, w12, w13 eor w13, w20, w11 eor w13, w13, w12 orr w7, w12, w20 and w7, w7, w11 and w12, w12, w20 orr w12, w7, w12 eor w7, w6, w10 eor w7, w7, w12 orr w20, w12, w6 and w10, w20, w10 and w12, w12, w6 orr w10, w10, w12 eor w12, w5, w8 eor w12, w12, w10 orr w6, w10, w5 and w8, w6, w8 and w10, w10, w5 bfi w11, w16, #5, #1 bfi w11, w17, #6, #1 eor w16, w1, w0 bfi w11, w16, #7, #25 and w16, w2, #0x1 eor w15, w15, w19 eor w15, w15, w16 and w11, w11, #0xff and w16, w3, #0x1 eor w9, w9, w14 eor w9, w9, w16 and w14, w22, #0x1 and w16, w4, #0x1 and w13, w13, #0x1 and w17, w7, #0x1 and w12, w12, #0x1 orr w8, w8, w10 orr w10, w11, w15, lsl #8 orr w9, w10, w9, lsl #9 orr w9, w9, w14, lsl #10 orr w9, w9, w16, lsl #11 orr w9, w9, w13, lsl #12 orr w9, w9, w17, lsl #13 orr w9, w9, w12, lsl #14 orr w8, w9, w8, lsl #15 and w0, w8, #0xffff 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 .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/1096066.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 %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -12(%rbp), %rsi xorl %eax, %eax callq _scanf movl $31, %eax movl -12(%rbp), %ecx btl %eax, %ecx jb LBB0_11 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 decl %eax btl %eax, %ecx jb LBB0_9 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 decl %eax btl %eax, %ecx jb LBB0_8 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 cmpl $28, %ebx je LBB0_5 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 decl %eax btl %eax, %ecx jb LBB0_10 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 addl $4, %ebx decl %eax btl %eax, %ecx jae LBB0_2 jmp LBB0_11 LBB0_9: incl %ebx testl %ebx, %ebx jne LBB0_12 jmp LBB0_13 LBB0_8: addl $2, %ebx LBB0_11: testl %ebx, %ebx jne LBB0_12 jmp LBB0_13 LBB0_5: movl $31, %ebx jmp LBB0_12 LBB0_10: addl $3, %ebx testl %ebx, %ebx je LBB0_13 LBB0_12: leaq L_.str.2(%rip), %rdi movl $4, %edx movl %ebx, %esi xorl %eax, %eax callq _printf LBB0_13: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\nEnter any number: " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "Output leading zeros: %d (using %d byte signed integer).\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp 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 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 mov w8, #0 ldur w9, [x29, #-4] LBB0_1: ; =>This Inner Loop Header: Depth=1 add w10, w8, #31 lsr w10, w9, w10 tbnz w10, #0, LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 sub w8, w8, #1 cmn w8, #31 b.ne LBB0_1 ; %bb.3: mov w8, #31 b LBB0_6 LBB0_4: cbz w8, LBB0_7 ; %bb.5: neg w8, w8 LBB0_6: mov w9, #4 stp x8, x9, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf LBB0_7: mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\nEnter any number: " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Output leading zeros: %d (using %d byte signed integer).\n" .subsections_via_symbols
the_stack_data/61076643.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mg_start _mg_start: ## @mg_start .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx callq _background_work_begin testl %eax, %eax je LBB0_4 ## %bb.1: movq %rbx, %rdi callq _alloc_migration movq %rax, %r12 movq %r14, 8(%rax) movq %r15, (%rax) testq %r15, %r15 jne LBB0_3 ## %bb.2: movq %rbx, %rdi callq _inc_io_migrations LBB0_3: movq %r12, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _mg_lock_writes ## TAILCALL LBB0_4: movl (%rbx), %edi xorl %ebx, %ebx movq %r14, %rsi xorl %edx, %edx callq _policy_complete_background_work movq _EPERM@GOTPCREL(%rip), %rax subl (%rax), %ebx movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EPERM,4,2 ## @EPERM .no_dead_strip _mg_start .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mg_start _mg_start: ; @mg_start .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x2 mov x20, x1 mov x19, x0 bl _background_work_begin cbz w0, LBB0_4 ; %bb.1: mov x0, x19 bl _alloc_migration mov x22, x0 stp x21, x20, [x0] cbnz x21, LBB0_3 ; %bb.2: mov x0, x19 bl _inc_io_migrations LBB0_3: mov x0, x22 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _mg_lock_writes LBB0_4: ldr w0, [x19] mov x1, x20 mov w2, #0 bl _policy_complete_background_work Lloh0: adrp x8, _EPERM@GOTPAGE Lloh1: ldr x8, [x8, _EPERM@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EPERM,4,2 ; @EPERM .no_dead_strip _mg_start .subsections_via_symbols
AnghaBench/linux/drivers/md/extr_dm-cache-target.c_mg_start.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function write_header_bmp _write_header_bmp: ## @write_header_bmp .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 $224, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) leaq -240(%rbp), %r14 movq %r14, %rdi callq _form_bmp_header movq %rbx, %rdi movq %r14, %rsi movl $216, %edx callq _filestream_write movl %eax, %ecx xorl %eax, %eax cmpl $216, %ecx sete %cl movq ___stack_chk_guard@GOTPCREL(%rip), %rdx movq (%rdx), %rdx cmpq -24(%rbp), %rdx jne LBB0_2 ## %bb.1: movb %cl, %al addq $224, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .no_dead_strip _write_header_bmp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function write_header_bmp _write_header_bmp: ; @write_header_bmp .cfi_startproc ; %bb.0: sub sp, sp, #256 .cfi_def_cfa_offset 256 stp x20, x19, [sp, #224] ; 16-byte Folded Spill stp x29, x30, [sp, #240] ; 16-byte Folded Spill add x29, sp, #240 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 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, #-24] mov x0, sp bl _form_bmp_header mov x1, sp mov x0, x19 mov w2, #216 bl _filestream_write cmp w0, #216 cset w0, eq ldur x8, [x29, #-24] Lloh3: adrp x9, ___stack_chk_guard@GOTPAGE Lloh4: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: ldp x29, x30, [sp, #240] ; 16-byte Folded Reload ldp x20, x19, [sp, #224] ; 16-byte Folded Reload add sp, sp, #256 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .no_dead_strip _write_header_bmp .subsections_via_symbols
AnghaBench/RetroArch/griffin/extr_..libretro-commonformatsbmprbmp_encode.c_write_header_bmp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vmm_handle_fpu_swa ## -- Begin function vmm_handle_fpu_swa .p2align 4, 0x90 _vmm_handle_fpu_swa: ## @vmm_handle_fpu_swa .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 %rsi, %r12 movl %edi, %r14d movq %rdx, -48(%rbp) movq _current_vcpu@GOTPCREL(%rip), %rax movq (%rax), %r15 movq (%rsi), %rbx testl %edi, %edi jne LBB0_2 ## %bb.1: movq %r12, %rdi callq _ia64_psr leaq -16(%rbx), %rcx cmpq $0, (%rax) cmoveq %rcx, %rbx LBB0_2: leaq -40(%rbp), %rdx movq %r15, %rdi movq %rbx, %rsi callq _fetch_code testq %rax, %rax je LBB0_5 ## %bb.3: movq _EAGAIN@GOTPCREL(%rip), %rcx LBB0_4: xorl %eax, %eax subq (%rcx), %rax jmp LBB0_9 LBB0_5: movq -40(%rbp), %rax cmpl $0, (%rax) jne LBB0_8 ## %bb.6: cmpl $0, 4(%rax) je LBB0_7 LBB0_8: leaq 20(%r12), %rdx leaq 16(%r12), %rcx leaq 12(%r12), %r9 leaq -40(%rbp), %rsi leaq -48(%rbp), %r8 movl %r14d, %edi pushq %r12 addq $8, %r12 pushq %r12 callq _vmm_fp_emulate addq $16, %rsp LBB0_9: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq _EACCES@GOTPCREL(%rip), %rcx jmp LBB0_4 .cfi_endproc ## -- End function .comm _current_vcpu,8,3 ## @current_vcpu .comm _EAGAIN,8,3 ## @EAGAIN .comm _EACCES,8,3 ## @EACCES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vmm_handle_fpu_swa ; -- Begin function vmm_handle_fpu_swa .p2align 2 _vmm_handle_fpu_swa: ; @vmm_handle_fpu_swa .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, x1 mov x20, x0 str x2, [sp, #8] Lloh0: adrp x8, _current_vcpu@GOTPAGE Lloh1: ldr x8, [x8, _current_vcpu@GOTPAGEOFF] Lloh2: ldr x21, [x8] ldr x22, [x1] cbnz w0, LBB0_2 ; %bb.1: mov x0, x19 bl _ia64_psr ldr x8, [x0] sub x9, x22, #16 cmp x8, #0 csel x22, x9, x22, eq LBB0_2: mov x2, sp mov x0, x21 mov x1, x22 bl _fetch_code cbz x0, LBB0_5 ; %bb.3: Lloh3: adrp x8, _EAGAIN@GOTPAGE Lloh4: ldr x8, [x8, _EAGAIN@GOTPAGEOFF] LBB0_4: ldr x8, [x8] neg x0, x8 b LBB0_8 LBB0_5: ldr x8, [sp] ldr w9, [x8] cbnz w9, LBB0_7 ; %bb.6: ldr w8, [x8, #4] cbz w8, LBB0_9 LBB0_7: add x2, x19, #20 add x3, x19, #16 add x5, x19, #12 add x6, x19, #8 mov x1, sp add x4, sp, #8 mov x0, x20 mov x7, x19 bl _vmm_fp_emulate LBB0_8: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_9: Lloh5: adrp x8, _EACCES@GOTPAGE Lloh6: ldr x8, [x8, _EACCES@GOTPAGEOFF] b LBB0_4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _current_vcpu,8,3 ; @current_vcpu .comm _EAGAIN,8,3 ; @EAGAIN .comm _EACCES,8,3 ; @EACCES .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/ia64/kvm/extr_process.c_vmm_handle_fpu_swa.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function default_set_fc_callback _default_set_fc_callback: ## @default_set_fc_callback .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _default_set_fc_callback_data@GOTPCREL(%rip), %rax movl %edi, (%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _default_set_fc_callback_data,4,2 ## @default_set_fc_callback_data .no_dead_strip _default_set_fc_callback .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function default_set_fc_callback _default_set_fc_callback: ; @default_set_fc_callback .cfi_startproc ; %bb.0: Lloh0: adrp x8, _default_set_fc_callback_data@GOTPAGE Lloh1: ldr x8, [x8, _default_set_fc_callback_data@GOTPAGEOFF] Lloh2: str w0, [x8] ret .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _default_set_fc_callback_data,4,2 ; @default_set_fc_callback_data .no_dead_strip _default_set_fc_callback .subsections_via_symbols
AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kcpu.c_default_set_fc_callback.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ipoib_cm_enabled _ipoib_cm_enabled: ## @ipoib_cm_enabled .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 _ipoib_cm_enabled .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ipoib_cm_enabled _ipoib_cm_enabled: ; @ipoib_cm_enabled .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _ipoib_cm_enabled .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/ipoib/extr_ipoib.h_ipoib_cm_enabled.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function api_order _api_order: ## @api_order .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, (%rsi) movq _P256_N@GOTPCREL(%rip), %rax movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .comm _P256_N,8,3 ## @P256_N .no_dead_strip _api_order .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function api_order _api_order: ; @api_order .cfi_startproc ; %bb.0: mov w8, #8 str x8, [x1] Lloh0: adrp x8, _P256_N@GOTPAGE Lloh1: ldr x8, [x8, _P256_N@GOTPAGEOFF] Lloh2: ldr x0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _P256_N,8,3 ; @P256_N .no_dead_strip _api_order .subsections_via_symbols
AnghaBench/freebsd/contrib/bearssl/src/ec/extr_ec_p256_m15.c_api_order.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function init_wr_hdr _init_wr_hdr: ## @init_wr_hdr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edx, %eax movq %rax, 32(%rdi) movq %rcx, 24(%rdi) movl %esi, 16(%rdi) movq 8(%rdi), %rax movq $0, (%rax) movq 8(%rdi), %rax movq $0, 8(%rax) movq 8(%rdi), %rax movq $0, 16(%rax) movq %r8, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _init_wr_hdr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function init_wr_hdr _init_wr_hdr: ; @init_wr_hdr .cfi_startproc ; %bb.0: mov w8, w2 stp x3, x8, [x0, #24] str w1, [x0, #16] ldr x8, [x0, #8] str xzr, [x8] ldr x8, [x0, #8] str xzr, [x8, #8] ldr x8, [x0, #8] str xzr, [x8, #16] str x4, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _init_wr_hdr .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/infiniband/hw/cxgb4/extr_t4.h_init_wr_hdr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ebus_setup_intr _ebus_setup_intr: ## @ebus_setup_intr .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 %r9, -72(%rbp) ## 8-byte Spill movq %r8, -64(%rbp) ## 8-byte Spill movl %ecx, %r13d movq %rdx, %rbx movl %esi, %r14d movl %edi, %r12d callq _device_get_softc movq %rax, %r15 movq _EBUS_PCI@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r15) je LBB0_1 LBB0_6: movl %r12d, %edi movl %r14d, %esi movq %rbx, %rdx movl %r13d, %ecx movq -64(%rbp), %r8 ## 8-byte Reload movq -72(%rbp), %r9 ## 8-byte Reload addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _bus_generic_setup_intr ## TAILCALL LBB0_1: movl %r12d, -44(%rbp) ## 4-byte Spill movq %rbx, -56(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _rman_get_start movq %rax, %rbx movq %rax, %rdi callq _INTIGN cmpq 8(%r15), %rax jne LBB0_2 ## %bb.3: movq _intr_vectors@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rbx, %rdx cmpq $0, (%rax,%rbx,8) movq -56(%rbp), %rbx ## 8-byte Reload movl -44(%rbp), %r12d ## 4-byte Reload jne LBB0_6 ## %bb.4: leaq L_.str.1(%rip), %rsi movl %r12d, %edi jmp LBB0_5 LBB0_2: leaq L_.str(%rip), %rsi movl -44(%rbp), %edi ## 4-byte Reload movq %rbx, %rdx LBB0_5: callq _device_printf movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EBUS_PCI,4,2 ## @EBUS_PCI .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "invalid interrupt vector 0x%lx\n" .comm _EINVAL,4,2 ## @EINVAL .comm _intr_vectors,8,3 ## @intr_vectors L_.str.1: ## @.str.1 .asciz "invalid interrupt controller for vector 0x%lx\n" .no_dead_strip _ebus_setup_intr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ebus_setup_intr _ebus_setup_intr: ; @ebus_setup_intr .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x7 mov x20, x6 mov x21, x5 mov x22, x4 mov x24, x3 mov x25, x2 mov x26, x1 mov x23, x0 bl _device_get_softc ldr w8, [x0] Lloh0: adrp x9, _EBUS_PCI@GOTPAGE Lloh1: ldr x9, [x9, _EBUS_PCI@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_2 LBB0_1: mov x0, x23 mov x1, x26 mov x2, x25 mov x3, x24 mov x4, x22 mov x5, x21 mov x6, x20 mov x7, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _bus_generic_setup_intr LBB0_2: mov x28, x0 mov x0, x25 bl _rman_get_start mov x27, x0 bl _INTIGN ldr x8, [x28, #8] cmp x0, x8 b.ne LBB0_5 ; %bb.3: Lloh3: adrp x8, _intr_vectors@GOTPAGE Lloh4: ldr x8, [x8, _intr_vectors@GOTPAGEOFF] Lloh5: ldr x8, [x8] ldr x8, [x8, x27, lsl #3] cbnz x8, LBB0_1 ; %bb.4: Lloh6: adrp x1, l_.str.1@PAGE Lloh7: add x1, x1, l_.str.1@PAGEOFF b LBB0_6 LBB0_5: Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF LBB0_6: mov x0, x23 mov x2, x27 bl _device_printf Lloh10: adrp x8, _EINVAL@GOTPAGE Lloh11: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh12: ldr w0, [x8] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _EBUS_PCI,4,2 ; @EBUS_PCI .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "invalid interrupt vector 0x%lx\n" .comm _EINVAL,4,2 ; @EINVAL .comm _intr_vectors,8,3 ; @intr_vectors l_.str.1: ; @.str.1 .asciz "invalid interrupt controller for vector 0x%lx\n" .no_dead_strip _ebus_setup_intr .subsections_via_symbols
AnghaBench/freebsd/sys/sparc64/ebus/extr_ebus.c_ebus_setup_intr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/247017028.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipvlan_link_new ## -- Begin function ipvlan_link_new .p2align 4, 0x90 _ipvlan_link_new: ## @ipvlan_link_new .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %rbx movq %rcx, -72(%rbp) ## 8-byte Spill movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r13 movq %rsi, %rdi callq _netdev_priv movq %rax, %r14 movq _IFLA_LINK@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%r15,%rax,8), %rdi testq %rdi, %rdi je LBB0_1 ## %bb.3: movq %rbx, -64(%rbp) ## 8-byte Spill movq _IPVLAN_MODE_L3@GOTPCREL(%rip), %rax movq (%rax), %rbx callq _nla_get_u32 movq %r13, %rdi movl %eax, %esi callq ___dev_get_by_index testq %rax, %rax je LBB0_4 ## %bb.5: movq %rax, %r13 movq %rax, %rdi callq _netif_is_ipvlan testq %rax, %rax je LBB0_8 ## %bb.6: movq %r13, %rdi callq _netdev_priv movq 40(%rax), %r13 movq %r13, %rdi callq _dev_net movl (%rax), %edi movq _CAP_NET_ADMIN@GOTPCREL(%rip), %rax movl (%rax), %esi callq _ns_capable testl %eax, %eax jne LBB0_14 ## %bb.7: movq _EPERM@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_4: movq _ENODEV@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_8: movq %r13, %rdi callq _netif_is_ipvlan_port testl %eax, %eax je LBB0_9 LBB0_14: movq %rbx, -56(%rbp) ## 8-byte Spill movq %r13, 40(%r14) movq %r12, 32(%r14) movq _IPVLAN_FEATURES@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%r14) movq _IFLA_MTU@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq $0, (%r15,%rax,8) jne LBB0_16 ## %bb.15: movq %r14, %rdi movq %r13, %rsi callq _ipvlan_adjust_mtu LBB0_16: leaq 20(%r14), %rdi callq _INIT_LIST_HEAD movq %r14, %rdi addq $16, %rdi callq _spin_lock_init movl 20(%r12), %edi movl 20(%r13), %esi movq _ETH_ALEN@GOTPCREL(%rip), %rax movl (%rax), %edx callq _memcpy movq _IFF_NO_RX_HANDLER@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 16(%r12) movq %r12, %rdi callq _register_netdevice testl %eax, %eax js LBB0_17 ## %bb.18: movq %r13, %rdi callq _ipvlan_port_get_rtnl movq %rax, %r15 movq %rax, 8(%r14) movl (%rax), %esi cmpl $65534, %esi ## imm = 0xFFFE jne LBB0_20 ## %bb.19: movl $1, (%r15) movl $1, %esi LBB0_20: leaq 4(%r15), %rdi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rdi, -48(%rbp) ## 8-byte Spill movl $65534, %edx ## imm = 0xFFFE callq _ida_simple_get movl %eax, %ebx testl %eax, %eax jns LBB0_22 ## %bb.21: movl (%r15), %edx movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rdi ## 8-byte Reload movl $1, %esi callq _ida_simple_get movl %eax, %ebx testl %eax, %eax js LBB0_33 LBB0_22: movl %ebx, 12(%r12) incl %ebx movl %ebx, (%r15) movq %r13, %rdi movq %r12, %rsi movq -64(%rbp), %rdx ## 8-byte Reload callq _netdev_upper_dev_link movl %eax, %ebx testl %eax, %eax movq -48(%rbp), %rdi ## 8-byte Reload jne LBB0_32 ## %bb.23: movq -72(%rbp), %rbx ## 8-byte Reload testq %rbx, %rbx je LBB0_24 ## %bb.25: movq _IFLA_IPVLAN_FLAGS@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rbx,%rax,8), %rdi testq %rdi, %rdi je LBB0_27 ## %bb.26: callq _nla_get_u16 movq %rax, 16(%r15) LBB0_27: movq _IFLA_IPVLAN_MODE@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rbx,%rax,8), %rdi testq %rdi, %rdi movq -56(%rbp), %rsi ## 8-byte Reload je LBB0_29 ## %bb.28: callq _nla_get_u16 movq %rax, %rsi jmp LBB0_29 LBB0_17: movl %eax, %ebx jmp LBB0_34 LBB0_9: movq (%r13), %rax movq _ARPHRD_ETHER@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_11 ## %bb.10: movq _IFF_LOOPBACK@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, 8(%r13) je LBB0_12 LBB0_11: leaq L_.str(%rip), %rsi movq %r13, %rdi callq _netdev_err LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rax LBB0_2: xorl %ebx, %ebx subl (%rax), %ebx LBB0_34: movl %ebx, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_24: movq -56(%rbp), %rsi ## 8-byte Reload LBB0_29: movq %r15, %rdi movq -64(%rbp), %rdx ## 8-byte Reload callq _ipvlan_set_port_mode testl %eax, %eax je LBB0_30 ## %bb.31: movl %eax, %ebx movq %r13, %rdi movq %r12, %rsi callq _netdev_upper_dev_unlink movq -48(%rbp), %rdi ## 8-byte Reload LBB0_32: movl 12(%r12), %esi callq _ida_simple_remove LBB0_33: movq %r12, %rdi callq _unregister_netdevice jmp LBB0_34 LBB0_30: addq $8, %r15 movq %r14, %rdi movq %r15, %rsi callq _list_add_tail_rcu movq %r13, %rdi movq %r12, %rsi callq _netif_stacked_transfer_operstate xorl %ebx, %ebx jmp LBB0_34 LBB0_12: movq %r13, %rdi callq _netdev_is_rx_handler_busy testq %rax, %rax je LBB0_14 ## %bb.13: leaq L_.str.1(%rip), %rsi movq %r13, %rdi callq _netdev_err movq _EBUSY@GOTPCREL(%rip), %rax jmp LBB0_2 .cfi_endproc ## -- End function .comm _IPVLAN_MODE_L3,8,3 ## @IPVLAN_MODE_L3 .comm _IFLA_LINK,8,3 ## @IFLA_LINK .comm _EINVAL,4,2 ## @EINVAL .comm _ENODEV,4,2 ## @ENODEV .comm _CAP_NET_ADMIN,4,2 ## @CAP_NET_ADMIN .comm _EPERM,4,2 ## @EPERM .comm _ARPHRD_ETHER,8,3 ## @ARPHRD_ETHER .comm _IFF_LOOPBACK,4,2 ## @IFF_LOOPBACK .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Master is either lo or non-ether device\n" L_.str.1: ## @.str.1 .asciz "Device is already in use.\n" .comm _EBUSY,4,2 ## @EBUSY .comm _IPVLAN_FEATURES,4,2 ## @IPVLAN_FEATURES .comm _IFLA_MTU,8,3 ## @IFLA_MTU .comm _ETH_ALEN,4,2 ## @ETH_ALEN .comm _IFF_NO_RX_HANDLER,4,2 ## @IFF_NO_RX_HANDLER .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _IFLA_IPVLAN_FLAGS,8,3 ## @IFLA_IPVLAN_FLAGS .comm _IFLA_IPVLAN_MODE,8,3 ## @IFLA_IPVLAN_MODE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipvlan_link_new ; -- Begin function ipvlan_link_new .p2align 2 _ipvlan_link_new: ; @ipvlan_link_new .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x4 mov x23, x3 mov x25, x2 mov x19, x1 mov x22, x0 mov x0, x1 bl _netdev_priv mov x21, x0 Lloh0: adrp x8, _IFLA_LINK@GOTPAGE Lloh1: ldr x8, [x8, _IFLA_LINK@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x0, [x25, x8, lsl #3] cbz x0, LBB0_28 ; %bb.1: Lloh3: adrp x8, _IPVLAN_MODE_L3@GOTPAGE Lloh4: ldr x8, [x8, _IPVLAN_MODE_L3@GOTPAGEOFF] Lloh5: ldr x24, [x8] bl _nla_get_u32 mov x1, x0 mov x0, x22 bl ___dev_get_by_index cbz x0, LBB0_5 ; %bb.2: mov x22, x0 bl _netif_is_ipvlan cbz x0, LBB0_6 ; %bb.3: mov x0, x22 bl _netdev_priv ldr x22, [x0, #40] mov x0, x22 bl _dev_net ldr w0, [x0] Lloh6: adrp x8, _CAP_NET_ADMIN@GOTPAGE Lloh7: ldr x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF] Lloh8: ldr w1, [x8] bl _ns_capable cbnz w0, LBB0_7 ; %bb.4: Lloh9: adrp x8, _EPERM@GOTPAGE Lloh10: ldr x8, [x8, _EPERM@GOTPAGEOFF] b LBB0_29 LBB0_5: Lloh11: adrp x8, _ENODEV@GOTPAGE Lloh12: ldr x8, [x8, _ENODEV@GOTPAGEOFF] b LBB0_29 LBB0_6: mov x0, x22 bl _netif_is_ipvlan_port cbz w0, LBB0_25 LBB0_7: stp x19, x22, [x21, #32] Lloh13: adrp x8, _IPVLAN_FEATURES@GOTPAGE Lloh14: ldr x8, [x8, _IPVLAN_FEATURES@GOTPAGEOFF] Lloh15: ldr w8, [x8] str w8, [x21, #24] Lloh16: adrp x8, _IFLA_MTU@GOTPAGE Lloh17: ldr x8, [x8, _IFLA_MTU@GOTPAGEOFF] Lloh18: ldr x8, [x8] ldr x8, [x25, x8, lsl #3] cbnz x8, LBB0_9 ; %bb.8: mov x0, x21 mov x1, x22 bl _ipvlan_adjust_mtu LBB0_9: add x0, x21, #20 bl _INIT_LIST_HEAD add x0, x21, #16 bl _spin_lock_init ldr w0, [x19, #20] ldr w1, [x22, #20] Lloh19: adrp x8, _ETH_ALEN@GOTPAGE Lloh20: ldr x8, [x8, _ETH_ALEN@GOTPAGEOFF] Lloh21: ldr w2, [x8] bl _memcpy Lloh22: adrp x8, _IFF_NO_RX_HANDLER@GOTPAGE Lloh23: ldr x8, [x8, _IFF_NO_RX_HANDLER@GOTPAGEOFF] Lloh24: ldr w8, [x8] ldr w9, [x19, #16] orr w8, w9, w8 str w8, [x19, #16] mov x0, x19 bl _register_netdevice tbnz w0, #31, LBB0_24 ; %bb.10: mov x0, x22 bl _ipvlan_port_get_rtnl mov x25, x0 str x0, [x21, #8] ldr w1, [x0] mov w8, #65534 cmp w1, w8 b.ne LBB0_12 ; %bb.11: mov w1, #1 str w1, [x25] LBB0_12: add x26, x25, #4 Lloh25: adrp x28, _GFP_KERNEL@GOTPAGE Lloh26: ldr x28, [x28, _GFP_KERNEL@GOTPAGEOFF] ldr w3, [x28] mov x0, x26 mov w2, #65534 bl _ida_simple_get mov x27, x0 tbz w0, #31, LBB0_14 ; %bb.13: ldr w2, [x25] ldr w3, [x28] mov x0, x26 mov w1, #1 bl _ida_simple_get mov x27, x0 tbnz w0, #31, LBB0_23 LBB0_14: str w27, [x19, #12] add w8, w27, #1 str w8, [x25] mov x0, x22 mov x1, x19 mov x2, x20 bl _netdev_upper_dev_link mov x27, x0 cbnz w0, LBB0_22 ; %bb.15: cbz x23, LBB0_20 ; %bb.16: Lloh27: adrp x8, _IFLA_IPVLAN_FLAGS@GOTPAGE Lloh28: ldr x8, [x8, _IFLA_IPVLAN_FLAGS@GOTPAGEOFF] Lloh29: ldr x8, [x8] ldr x0, [x23, x8, lsl #3] cbz x0, LBB0_18 ; %bb.17: bl _nla_get_u16 str x0, [x25, #16] LBB0_18: Lloh30: adrp x8, _IFLA_IPVLAN_MODE@GOTPAGE Lloh31: ldr x8, [x8, _IFLA_IPVLAN_MODE@GOTPAGEOFF] Lloh32: ldr x8, [x8] ldr x0, [x23, x8, lsl #3] cbz x0, LBB0_20 ; %bb.19: bl _nla_get_u16 mov x24, x0 LBB0_20: mov x0, x25 mov x1, x24 mov x2, x20 bl _ipvlan_set_port_mode mov x27, x0 cbz w0, LBB0_31 ; %bb.21: mov x0, x22 mov x1, x19 bl _netdev_upper_dev_unlink LBB0_22: ldr w1, [x19, #12] mov x0, x26 bl _ida_simple_remove LBB0_23: mov x0, x19 bl _unregister_netdevice b LBB0_30 LBB0_24: mov x27, x0 b LBB0_30 LBB0_25: ldr x8, [x22] Lloh33: adrp x9, _ARPHRD_ETHER@GOTPAGE Lloh34: ldr x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF] Lloh35: ldr x9, [x9] cmp x8, x9 b.ne LBB0_27 ; %bb.26: ldr w8, [x22, #8] Lloh36: adrp x9, _IFF_LOOPBACK@GOTPAGE Lloh37: ldr x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF] Lloh38: ldr w9, [x9] tst w9, w8 b.eq LBB0_32 LBB0_27: Lloh39: adrp x1, l_.str@PAGE Lloh40: add x1, x1, l_.str@PAGEOFF mov x0, x22 bl _netdev_err LBB0_28: Lloh41: adrp x8, _EINVAL@GOTPAGE Lloh42: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_29: ldr w8, [x8] neg w27, w8 LBB0_30: mov x0, x27 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_31: add x1, x25, #8 mov x0, x21 bl _list_add_tail_rcu mov x0, x22 mov x1, x19 bl _netif_stacked_transfer_operstate b LBB0_30 LBB0_32: mov x0, x22 bl _netdev_is_rx_handler_busy cbz x0, LBB0_7 ; %bb.33: Lloh43: adrp x1, l_.str.1@PAGE Lloh44: add x1, x1, l_.str.1@PAGEOFF mov x0, x22 bl _netdev_err Lloh45: adrp x8, _EBUSY@GOTPAGE Lloh46: ldr x8, [x8, _EBUSY@GOTPAGEOFF] b LBB0_29 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpLdrGot Lloh41, Lloh42 .loh AdrpLdrGot Lloh45, Lloh46 .loh AdrpAdd Lloh43, Lloh44 .cfi_endproc ; -- End function .comm _IPVLAN_MODE_L3,8,3 ; @IPVLAN_MODE_L3 .comm _IFLA_LINK,8,3 ; @IFLA_LINK .comm _EINVAL,4,2 ; @EINVAL .comm _ENODEV,4,2 ; @ENODEV .comm _CAP_NET_ADMIN,4,2 ; @CAP_NET_ADMIN .comm _EPERM,4,2 ; @EPERM .comm _ARPHRD_ETHER,8,3 ; @ARPHRD_ETHER .comm _IFF_LOOPBACK,4,2 ; @IFF_LOOPBACK .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Master is either lo or non-ether device\n" l_.str.1: ; @.str.1 .asciz "Device is already in use.\n" .comm _EBUSY,4,2 ; @EBUSY .comm _IPVLAN_FEATURES,4,2 ; @IPVLAN_FEATURES .comm _IFLA_MTU,8,3 ; @IFLA_MTU .comm _ETH_ALEN,4,2 ; @ETH_ALEN .comm _IFF_NO_RX_HANDLER,4,2 ; @IFF_NO_RX_HANDLER .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _IFLA_IPVLAN_FLAGS,8,3 ; @IFLA_IPVLAN_FLAGS .comm _IFLA_IPVLAN_MODE,8,3 ; @IFLA_IPVLAN_MODE .subsections_via_symbols
AnghaBench/linux/drivers/net/ipvlan/extr_ipvlan_main.c_ipvlan_link_new.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _extractFloat64Sign ## -- Begin function extractFloat64Sign .p2align 4, 0x90 _extractFloat64Sign: ## @extractFloat64Sign .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 _extractFloat64Sign ; -- Begin function extractFloat64Sign .p2align 2 _extractFloat64Sign: ; @extractFloat64Sign .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/arch/sh/kernel/cpu/sh4/extr_softfloat.c_extractFloat64Sign.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function m68k_op_addq_8_pi _m68k_op_addq_8_pi: ## @m68k_op_addq_8_pi .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 _REG_IR@GOTPCREL(%rip), %rax movl (%rax), %ebx shrl $9, %ebx decl %ebx andl $7, %ebx leal 1(%rbx), %r14d xorl %eax, %eax callq _EA_AY_PI_8 movl %eax, %r15d movl %eax, %edi callq _m68ki_read_8 movl %eax, %r12d addl %r12d, %ebx incl %ebx movl %ebx, %edi callq _NFLAG_8 movq _FLAG_N@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl %r14d, %edi movl %r12d, %esi movl %ebx, %edx callq _VFLAG_ADD_8 movq _FLAG_V@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl %ebx, %edi callq _CFLAG_8 movq _FLAG_C@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _FLAG_X@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl %ebx, %edi callq _MASK_OUT_ABOVE_8 movq _FLAG_Z@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl %r15d, %edi movl %eax, %esi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _m68ki_write_8 ## TAILCALL .cfi_endproc ## -- End function .comm _REG_IR,4,2 ## @REG_IR .comm _FLAG_N,4,2 ## @FLAG_N .comm _FLAG_V,4,2 ## @FLAG_V .comm _FLAG_C,4,2 ## @FLAG_C .comm _FLAG_X,4,2 ## @FLAG_X .comm _FLAG_Z,4,2 ## @FLAG_Z .no_dead_strip _m68k_op_addq_8_pi .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function m68k_op_addq_8_pi _m68k_op_addq_8_pi: ; @m68k_op_addq_8_pi .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, _REG_IR@GOTPAGE Lloh1: ldr x8, [x8, _REG_IR@GOTPAGEOFF] Lloh2: ldr w8, [x8] lsr w8, w8, #9 sub w8, w8, #1 and w8, w8, #0x7 add w19, w8, #1 bl _EA_AY_PI_8 mov x20, x0 bl _m68ki_read_8 mov x21, x0 add w22, w19, w0 mov x0, x22 bl _NFLAG_8 Lloh3: adrp x8, _FLAG_N@GOTPAGE Lloh4: ldr x8, [x8, _FLAG_N@GOTPAGEOFF] Lloh5: str w0, [x8] mov x0, x19 mov x1, x21 mov x2, x22 bl _VFLAG_ADD_8 Lloh6: adrp x8, _FLAG_V@GOTPAGE Lloh7: ldr x8, [x8, _FLAG_V@GOTPAGEOFF] Lloh8: str w0, [x8] mov x0, x22 bl _CFLAG_8 Lloh9: adrp x8, _FLAG_C@GOTPAGE Lloh10: ldr x8, [x8, _FLAG_C@GOTPAGEOFF] Lloh11: str w0, [x8] Lloh12: adrp x8, _FLAG_X@GOTPAGE Lloh13: ldr x8, [x8, _FLAG_X@GOTPAGEOFF] Lloh14: str w0, [x8] mov x0, x22 bl _MASK_OUT_ABOVE_8 mov x1, x0 Lloh15: adrp x8, _FLAG_Z@GOTPAGE Lloh16: ldr x8, [x8, _FLAG_Z@GOTPAGEOFF] Lloh17: str w0, [x8] mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _m68ki_write_8 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _REG_IR,4,2 ; @REG_IR .comm _FLAG_N,4,2 ; @FLAG_N .comm _FLAG_V,4,2 ; @FLAG_V .comm _FLAG_C,4,2 ; @FLAG_C .comm _FLAG_X,4,2 ; @FLAG_X .comm _FLAG_Z,4,2 ; @FLAG_Z .no_dead_strip _m68k_op_addq_8_pi .subsections_via_symbols
AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_addq_8_pi.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _event_get_ordering ## -- Begin function event_get_ordering .p2align 4, 0x90 _event_get_ordering: ## @event_get_ordering .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $-1, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _event_get_ordering ; -- Begin function event_get_ordering .p2align 2 _event_get_ordering: ; @event_get_ordering .cfi_startproc ; %bb.0: mov w0, #-1 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/kphp-kdb/photo/extr_photo-data.c_event_get_ordering.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 $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax testl %eax, %eax jle LBB0_9 ## %bb.1: movl $1, %r14d jmp LBB0_2 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movl $10, %edi callq _putchar leal 1(%r14), %ecx movl -20(%rbp), %eax cmpl %eax, %r14d movl %ecx, %r14d jge LBB0_9 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_7 Depth 2 cmpl %r14d, %eax jle LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl $32, %edi callq _putchar movl -20(%rbp), %eax movl %eax, %ecx subl %r14d, %ecx incl %ebx cmpl %ecx, %ebx jl LBB0_4 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 testl %eax, %eax jle LBB0_8 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_7: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl $42, %edi callq _putchar incl %ebx cmpl -20(%rbp), %ebx jl LBB0_7 jmp LBB0_8 LBB0_9: xorl %eax, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter rows: " L_.str.1: ## @.str.1 .asciz "%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf add x8, sp, #12 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldr w8, [sp, #12] cmp w8, #1 b.lt LBB0_9 ; %bb.1: mov w19, #1 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov w0, #10 bl _putchar add w9, w19, #1 ldr w8, [sp, #12] cmp w19, w8 mov x19, x9 b.ge LBB0_9 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ; Child Loop BB0_8 Depth 2 cmp w8, w19 b.le LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov w20, #0 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 mov w0, #32 bl _putchar ldr w8, [sp, #12] add w20, w20, #1 sub w9, w8, w19 cmp w20, w9 b.lt LBB0_5 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 cmp w8, #1 b.lt LBB0_2 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 mov w20, #0 LBB0_8: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 mov w0, #42 bl _putchar ldr w8, [sp, #12] add w20, w20, #1 cmp w20, w8 b.lt LBB0_8 b LBB0_2 LBB0_9: 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 Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter rows: " l_.str.1: ; @.str.1 .asciz "%d" .subsections_via_symbols
the_stack_data/60790.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function g_mirror_done _g_mirror_done: ## @g_mirror_done .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 8(%rdi), %rax movq (%rax), %rax movq (%rax), %rbx movq _G_MIRROR_BIO_FLAG_REGULAR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rdi) movq %rbx, %rdi callq _mtx_lock leaq 4(%rbx), %rdi movq _bio_queue@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rsi callq _TAILQ_INSERT_TAIL movq %rbx, %rdi callq _mtx_unlock movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _wakeup ## TAILCALL .cfi_endproc ## -- End function .comm _G_MIRROR_BIO_FLAG_REGULAR,4,2 ## @G_MIRROR_BIO_FLAG_REGULAR .comm _bio_queue,4,2 ## @bio_queue .no_dead_strip _g_mirror_done .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function g_mirror_done _g_mirror_done: ; @g_mirror_done .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0, #8] ldr x8, [x8] ldr x20, [x8] Lloh0: adrp x8, _G_MIRROR_BIO_FLAG_REGULAR@GOTPAGE Lloh1: ldr x8, [x8, _G_MIRROR_BIO_FLAG_REGULAR@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x0] mov x0, x20 bl _mtx_lock add x0, x20, #4 Lloh3: adrp x8, _bio_queue@GOTPAGE Lloh4: ldr x8, [x8, _bio_queue@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov x1, x19 bl _TAILQ_INSERT_TAIL mov x0, x20 bl _mtx_unlock mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _wakeup .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _G_MIRROR_BIO_FLAG_REGULAR,4,2 ; @G_MIRROR_BIO_FLAG_REGULAR .comm _bio_queue,4,2 ; @bio_queue .no_dead_strip _g_mirror_done .subsections_via_symbols
AnghaBench/freebsd/sys/geom/mirror/extr_g_mirror.c_g_mirror_done.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function special_format _special_format: ## @special_format .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movl $42, %esi callq _strchr movl $1, %r14d testq %rax, %rax jne LBB0_4 ## %bb.1: movq %rbx, %rdi movl $86, %esi callq _strchr testq %rax, %rax jne LBB0_4 ## %bb.2: movq %rbx, %rdi movl $83, %esi callq _strchr testq %rax, %rax jne LBB0_4 ## %bb.3: movq %rbx, %rdi movl $110, %esi callq _strchr xorl %r14d, %r14d testq %rax, %rax setne %r14b LBB0_4: movl %r14d, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _special_format .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function special_format _special_format: ; @special_format .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w1, #42 bl _strchr cbnz x0, LBB0_3 ; %bb.1: mov x0, x19 mov w1, #86 bl _strchr cbnz x0, LBB0_3 ; %bb.2: mov x0, x19 mov w1, #83 bl _strchr cbz x0, LBB0_5 LBB0_3: mov w0, #1 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_5: mov x0, x19 mov w1, #110 bl _strchr cmp x0, #0 cset w0, ne b LBB0_4 .cfi_endproc ; -- End function .no_dead_strip _special_format .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_gengenrtl.c_special_format.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uncompress ## -- Begin function uncompress .p2align 4, 0x90 _uncompress: ## @uncompress .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 $112, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdx, -128(%rbp) movl %ecx, -120(%rbp) shrq $32, %rcx movl $-5, %eax jne LBB0_6 ## %bb.1: movq %rsi, %rbx movq %rdi, -104(%rbp) movq (%rsi), %rcx movl %ecx, -96(%rbp) shrq $32, %rcx jne LBB0_6 ## %bb.2: xorps %xmm0, %xmm0 movups %xmm0, -64(%rbp) leaq L_.str(%rip), %rsi leaq -128(%rbp), %rdi movl $112, %edx callq _inflateInit_ testl %eax, %eax jne LBB0_6 ## %bb.3: leaq -128(%rbp), %rdi movl $4, %esi callq _inflate cmpl $1, %eax jne LBB0_4 ## %bb.5: movq -88(%rbp), %rax movq %rax, (%rbx) leaq -128(%rbp), %rdi callq _inflateEnd jmp LBB0_6 LBB0_4: movl %eax, %r14d leaq -128(%rbp), %rdi callq _inflateEnd testl %r14d, %r14d movl $-5, %eax cmovnel %r14d, %eax LBB0_6: addq $112, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "1.2.11" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uncompress ; -- Begin function uncompress .p2align 2 _uncompress: ; @uncompress .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 str x2, [sp] str w3, [sp, #8] lsr x8, x3, #32 cbnz x8, LBB0_5 ; %bb.1: mov x19, x1 str x0, [sp, #24] ldr x8, [x1] str w8, [sp, #32] lsr x8, x8, #32 cbnz x8, LBB0_5 ; %bb.2: stp xzr, xzr, [sp, #64] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, sp mov w2, #112 bl _inflateInit_ cbnz w0, LBB0_6 ; %bb.3: mov x0, sp mov w1, #4 bl _inflate cmp w0, #1 b.ne LBB0_7 ; %bb.4: ldr x8, [sp, #40] str x8, [x19] mov x0, sp bl _inflateEnd b LBB0_6 LBB0_5: mov w0, #-5 LBB0_6: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_7: mov x20, x0 mov x0, sp bl _inflateEnd mov w8, #-5 cmp w20, #0 csel w0, w8, w20, eq b LBB0_6 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "1.2.11" .subsections_via_symbols
the_stack_data/53361.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function check_fwstate _check_fwstate: ## @check_fwstate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax testl %esi, (%rdi) setne %al popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _check_fwstate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function check_fwstate _check_fwstate: ; @check_fwstate .cfi_startproc ; %bb.0: ldr w8, [x0] tst w8, w1 cset w0, ne ret .cfi_endproc ; -- End function .no_dead_strip _check_fwstate .subsections_via_symbols
AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_mlme.h_check_fwstate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _h2o_qpack_lookup_keep_alive ## -- Begin function h2o_qpack_lookup_keep_alive .p2align 4, 0x90 _h2o_qpack_lookup_keep_alive: ## @h2o_qpack_lookup_keep_alive .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $0, (%rsi) movl $-1, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _h2o_qpack_lookup_keep_alive ; -- Begin function h2o_qpack_lookup_keep_alive .p2align 2 _h2o_qpack_lookup_keep_alive: ; @h2o_qpack_lookup_keep_alive .cfi_startproc ; %bb.0: str wzr, [x1] mov w0, #-1 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/h2o/lib/common/extr_token_table.h_h2o_qpack_lookup_keep_alive.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function m_hash _m_hash: ## @m_hash .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rax movq _L1_CACHE_BYTES@GOTPCREL(%rip), %rcx movq (%rcx), %rdi movq %rax, %rcx orq %rdi, %rcx shrq $32, %rcx je LBB0_1 ## %bb.2: xorl %edx, %edx divq %rdi movq %rax, %rcx jmp LBB0_3 LBB0_1: ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %edi movl %eax, %ecx LBB0_3: movq %rsi, %rax orq %rdi, %rax shrq $32, %rax je LBB0_4 ## %bb.5: movq %rsi, %rax xorl %edx, %edx divq %rdi jmp LBB0_6 LBB0_4: movl %esi, %eax xorl %edx, %edx divl %edi ## kill: def $eax killed $eax def $rax LBB0_6: addq %rcx, %rax movq _m_hash_shift@GOTPCREL(%rip), %rcx movb (%rcx), %cl movq %rax, %rdx shrq %cl, %rdx addq %rax, %rdx movq _m_hash_mask@GOTPCREL(%rip), %rax andq (%rax), %rdx movq _mount_hashtable@GOTPCREL(%rip), %rax shlq $2, %rdx addq (%rax), %rdx movq %rdx, %rax popq %rbp retq .cfi_endproc ## -- End function .comm _L1_CACHE_BYTES,8,3 ## @L1_CACHE_BYTES .comm _m_hash_shift,8,3 ## @m_hash_shift .comm _mount_hashtable,8,3 ## @mount_hashtable .comm _m_hash_mask,8,3 ## @m_hash_mask .no_dead_strip _m_hash .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function m_hash _m_hash: ; @m_hash .cfi_startproc ; %bb.0: Lloh0: adrp x8, _L1_CACHE_BYTES@GOTPAGE Lloh1: ldr x8, [x8, _L1_CACHE_BYTES@GOTPAGEOFF] Lloh2: ldr x8, [x8] udiv x9, x0, x8 udiv x8, x1, x8 Lloh3: adrp x10, _m_hash_shift@GOTPAGE Lloh4: ldr x10, [x10, _m_hash_shift@GOTPAGEOFF] Lloh5: ldr x10, [x10] add x8, x8, x9 lsr x9, x8, x10 add x8, x9, x8 Lloh6: adrp x9, _mount_hashtable@GOTPAGE Lloh7: ldr x9, [x9, _mount_hashtable@GOTPAGEOFF] Lloh8: ldr x9, [x9] Lloh9: adrp x10, _m_hash_mask@GOTPAGE Lloh10: ldr x10, [x10, _m_hash_mask@GOTPAGEOFF] Lloh11: ldr x10, [x10] and x8, x8, x10 add x0, x9, x8, lsl #2 ret .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 _L1_CACHE_BYTES,8,3 ; @L1_CACHE_BYTES .comm _m_hash_shift,8,3 ; @m_hash_shift .comm _mount_hashtable,8,3 ; @mount_hashtable .comm _m_hash_mask,8,3 ; @m_hash_mask .no_dead_strip _m_hash .subsections_via_symbols
AnghaBench/linux/fs/extr_namespace.c_m_hash.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _createNode ## -- Begin function createNode .p2align 4, 0x90 _createNode: ## @createNode .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 movl $64, %edi callq _malloc movl %ebx, 4(%rax) movl $1, 20(%rax) movq _root@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rcx, 24(%rax) movq %r14, 32(%rax) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _addValToNode ## -- Begin function addValToNode .p2align 4, 0x90 _addValToNode: ## @addValToNode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 20(%rdx), %eax movl %eax, %r10d subl %esi, %r10d jle LBB1_5 ## %bb.1: movslq %eax, %r8 movslq %esi, %r11 movq %r11, %r9 notq %r9 movq %r8, %rax testb $1, %r10b je LBB1_3 ## %bb.2: movl (%rdx,%r8,4), %eax movl %eax, 4(%rdx,%r8,4) movq 24(%rdx,%r8,8), %rax movq %rax, 32(%rdx,%r8,8) leaq -1(%r8), %rax LBB1_3: addq %r8, %r9 je LBB1_5 .p2align 4, 0x90 LBB1_4: ## =>This Inner Loop Header: Depth=1 movl (%rdx,%rax,4), %esi movl %esi, 4(%rdx,%rax,4) movq 24(%rdx,%rax,8), %rsi movq %rsi, 32(%rdx,%rax,8) movl -4(%rdx,%rax,4), %esi movl %esi, (%rdx,%rax,4) movq 16(%rdx,%rax,8), %rsi movq %rsi, 24(%rdx,%rax,8) addq $-2, %rax cmpq %r11, %rax jg LBB1_4 LBB1_5: cltq movl %edi, 4(%rdx,%rax,4) movq %rcx, 32(%rdx,%rax,8) incl 20(%rdx) popq %rbp retq .cfi_endproc ## -- End function .globl _splitNode ## -- Begin function splitNode .p2align 4, 0x90 _splitNode: ## @splitNode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, %r14 movq %r8, -56(%rbp) ## 8-byte Spill movq %rcx, %rbx movl %edx, %r15d movq %rsi, %r13 movl %edi, -44(%rbp) ## 4-byte Spill xorl %r12d, %r12d cmpl $3, %edx setge %r12b orl $2, %r12d movl $64, %edi callq _malloc movq %rax, (%r14) leaq 1(%r12), %rcx movl 4(%rbx,%r12,4), %edx movl %edx, 4(%rax) movq 32(%rbx,%r12,8), %rdx movq %rdx, 32(%rax) cmpq $4, %rcx je LBB2_6 ## %bb.1: testb $1, %r12b jne LBB2_3 ## %bb.2: movq (%r14), %rax leaq 2(%r12), %rcx movl 8(%rbx,%r12,4), %edx movl %edx, 8(%rax) movq 40(%rbx,%r12,8), %rdx movq %rdx, 40(%rax) LBB2_3: cmpl $3, %r15d jl LBB2_6 ## %bb.4: addq $-4, %rcx leaq (,%r12,8), %r8 negq %r8 leaq (,%r12,4), %rdx negq %rdx .p2align 4, 0x90 LBB2_5: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rsi movl 20(%rbx,%rcx,4), %edi leaq (%rsi,%rdx), %rax addq $32, %rax movl %edi, -12(%rax,%rcx,4) movq 64(%rbx,%rcx,8), %rax leaq 32(%rsi,%r8), %rsi movq %rax, 32(%rsi,%rcx,8) movq (%r14), %rax movl 24(%rbx,%rcx,4), %esi leaq 40(%rax,%rdx), %rdi movl %esi, -16(%rdi,%rcx,4) movq 72(%rbx,%rcx,8), %rsi addq %r8, %rax addq $40, %rax movq %rsi, 32(%rax,%rcx,8) addq $2, %rcx jne LBB2_5 LBB2_6: movl %r12d, 20(%rbx) movl $4, %ecx subl %r12d, %ecx movq (%r14), %rax movl %ecx, 20(%rax) cmpl $2, %r15d jg LBB2_14 ## %bb.7: movl 20(%rbx), %eax movl %eax, %edi subl %r15d, %edi jle LBB2_8 ## %bb.9: movslq %eax, %rdx movslq %r15d, %rcx movq %rcx, %rsi notq %rsi movq %rdx, %rax testb $1, %dil je LBB2_11 ## %bb.10: movl (%rbx,%rdx,4), %eax movl %eax, 4(%rbx,%rdx,4) movq 24(%rbx,%rdx,8), %rax movq %rax, 32(%rbx,%rdx,8) leaq -1(%rdx), %rax LBB2_11: addq %rdx, %rsi movq -56(%rbp), %rsi ## 8-byte Reload movl -44(%rbp), %edi ## 4-byte Reload je LBB2_13 .p2align 4, 0x90 LBB2_12: ## =>This Inner Loop Header: Depth=1 movl (%rbx,%rax,4), %edx movl %edx, 4(%rbx,%rax,4) movq 24(%rbx,%rax,8), %rdx movq %rdx, 32(%rbx,%rax,8) movl -4(%rbx,%rax,4), %edx movl %edx, (%rbx,%rax,4) movq 16(%rbx,%rax,8), %rdx movq %rdx, 24(%rbx,%rax,8) addq $-2, %rax cmpq %rcx, %rax jg LBB2_12 jmp LBB2_13 LBB2_14: cmpl $3, %r15d jne LBB2_17 ## %bb.15: movl %ecx, %edx xorl $3, %r12d movl (%rax,%rdx,4), %ecx movl %ecx, 4(%rax,%rdx,4) movq 24(%rax,%rdx,8), %rcx movq %rcx, 32(%rax,%rdx,8) leaq -1(%rdx), %rcx cmpq %r12, %rcx jle LBB2_17 ## %bb.16: movl -4(%rax,%rdx,4), %ecx movl %ecx, (%rax,%rdx,4) movq 16(%rax,%rdx,8), %rcx movq %rcx, 24(%rax,%rdx,8) addq $-2, %rdx movq %rdx, %rcx LBB2_17: movq -56(%rbp), %rdx ## 8-byte Reload movl -44(%rbp), %esi ## 4-byte Reload movslq %ecx, %rcx movl %esi, 4(%rax,%rcx,4) movq %rdx, 32(%rax,%rcx,8) incl 20(%rax) movl 20(%rbx), %eax jmp LBB2_18 LBB2_8: movq -56(%rbp), %rsi ## 8-byte Reload movl -44(%rbp), %edi ## 4-byte Reload LBB2_13: cltq movl %edi, 4(%rbx,%rax,4) movq %rsi, 32(%rbx,%rax,8) movl 20(%rbx), %eax incl %eax movl %eax, 20(%rbx) LBB2_18: cltq movl (%rbx,%rax,4), %eax movl %eax, (%r13) movslq 20(%rbx), %rax movq 24(%rbx,%rax,8), %rcx movq (%r14), %rdx movq %rcx, 24(%rdx) decl %eax movl %eax, 20(%rbx) addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _setValueInNode ## -- Begin function setValueInNode .p2align 4, 0x90 _setValueInNode: ## @setValueInNode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rsi, %r12 testq %rdx, %rdx je LBB3_1 ## %bb.2: movq %rdx, %r13 movl $0, %ebx cmpl %edi, 4(%rdx) jg LBB3_8 ## %bb.3: movslq 20(%r13), %rax leal 1(%rax), %ebx .p2align 4, 0x90 LBB3_4: ## =>This Inner Loop Header: Depth=1 movl (%r13,%rax,4), %ecx decl %ebx cmpl %edi, %ecx jle LBB3_6 ## %bb.5: ## in Loop: Header=BB3_4 Depth=1 leaq -1(%rax), %rdx cmpq $1, %rax movq %rdx, %rax jg LBB3_4 LBB3_6: cmpl %edi, %ecx jne LBB3_8 ## %bb.7: leaq L_str(%rip), %rdi callq _puts xorl %eax, %eax jmp LBB3_20 LBB3_8: movslq %ebx, %r14 movq 24(%r13,%r14,8), %rdx movq %r12, %rsi movq %r15, %rcx callq _setValueInNode testl %eax, %eax je LBB3_9 ## %bb.10: movslq 20(%r13), %rax movl (%r12), %edi movq (%r15), %r8 cmpq $3, %rax jg LBB3_18 ## %bb.11: cmpl %ebx, %eax jle LBB3_17 ## %bb.12: movl %eax, %esi subl %ebx, %esi movq %r14, %rdx notq %rdx movq %rax, %rcx testb $1, %sil je LBB3_14 ## %bb.13: movl (%r13,%rax,4), %ecx movl %ecx, 4(%r13,%rax,4) movq 24(%r13,%rax,8), %rcx movq %rcx, 32(%r13,%rax,8) leaq -1(%rax), %rcx LBB3_14: addq %rax, %rdx je LBB3_16 .p2align 4, 0x90 LBB3_15: ## =>This Inner Loop Header: Depth=1 movl (%r13,%rcx,4), %eax movl %eax, 4(%r13,%rcx,4) movq 24(%r13,%rcx,8), %rax movq %rax, 32(%r13,%rcx,8) movl -4(%r13,%rcx,4), %eax movl %eax, (%r13,%rcx,4) movq 16(%r13,%rcx,8), %rax movq %rax, 24(%r13,%rcx,8) addq $-2, %rcx cmpq %r14, %rcx jg LBB3_15 LBB3_16: movl %ecx, %eax LBB3_17: cltq movl %edi, 4(%r13,%rax,4) movq %r8, 32(%r13,%rax,8) incl 20(%r13) xorl %eax, %eax jmp LBB3_20 LBB3_1: movl %edi, (%r12) movq $0, (%r15) jmp LBB3_19 LBB3_9: xorl %eax, %eax jmp LBB3_20 LBB3_18: movq %r12, %rsi movl %ebx, %edx movq %r13, %rcx movq %r15, %r9 callq _splitNode LBB3_19: movl $1, %eax LBB3_20: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _insertion ## -- Begin function insertion .p2align 4, 0x90 _insertion: ## @insertion .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 _root@GOTPCREL(%rip), %r14 movq (%r14), %rdx leaq -28(%rbp), %rsi leaq -40(%rbp), %rcx callq _setValueInNode testl %eax, %eax je LBB4_2 ## %bb.1: movl -28(%rbp), %ebx movq -40(%rbp), %r15 movl $64, %edi callq _malloc movl %ebx, 4(%rax) movl $1, 20(%rax) movq (%r14), %rcx movq %rcx, 24(%rax) movq %r15, 32(%rax) movq %rax, (%r14) LBB4_2: addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _copySuccessor ## -- Begin function copySuccessor .p2align 4, 0x90 _copySuccessor: ## @copySuccessor .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %esi, %rax movq 24(%rdi,%rax,8), %rcx .p2align 4, 0x90 LBB5_1: ## =>This Inner Loop Header: Depth=1 movq %rcx, %rdx movq 24(%rcx), %rcx testq %rcx, %rcx jne LBB5_1 ## %bb.2: movl 4(%rdx), %ecx movl %ecx, (%rdi,%rax,4) popq %rbp retq .cfi_endproc ## -- End function .globl _removeVal ## -- Begin function removeVal .p2align 4, 0x90 _removeVal: ## @removeVal .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 20(%rdi), %eax cmpl %esi, %eax jle LBB6_3 ## %bb.1: movslq %esi, %rcx .p2align 4, 0x90 LBB6_2: ## =>This Inner Loop Header: Depth=1 movl 4(%rdi,%rcx,4), %eax movl %eax, (%rdi,%rcx,4) movq 32(%rdi,%rcx,8), %rax movq %rax, 24(%rdi,%rcx,8) leaq 1(%rcx), %rdx movslq 20(%rdi), %rax movq %rdx, %rcx cmpq %rax, %rdx jl LBB6_2 LBB6_3: decl %eax movl %eax, 20(%rdi) popq %rbp retq .cfi_endproc ## -- End function .globl _doRightShift ## -- Begin function doRightShift .p2align 4, 0x90 _doRightShift: ## @doRightShift .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %esi, %rax movq 24(%rdi,%rax,8), %rcx movl 20(%rcx), %edx testl %edx, %edx jle LBB7_2 ## %bb.1: movl (%rcx,%rdx,4), %esi movq 24(%rcx,%rdx,8), %r8 movl %esi, 4(%rcx,%rdx,4) movq %r8, 32(%rcx,%rdx,8) movl 20(%rcx), %edx LBB7_2: movl (%rdi,%rax,4), %esi movl %esi, 4(%rcx) movq 24(%rcx), %rsi movq %rsi, 32(%rcx) incl %edx movl %edx, 20(%rcx) movq 16(%rdi,%rax,8), %rcx movslq 20(%rcx), %rdx movl (%rcx,%rdx,4), %edx movl %edx, (%rdi,%rax,4) movslq 20(%rcx), %rdx movq 24(%rcx,%rdx,8), %rsi movq %rsi, 24(%rdi,%rax,8) leal -1(%rdx), %eax movl %eax, 20(%rcx) popq %rbp retq .cfi_endproc ## -- End function .globl _doLeftShift ## -- Begin function doLeftShift .p2align 4, 0x90 _doLeftShift: ## @doLeftShift .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %esi, %rcx movq 16(%rdi,%rcx,8), %rax movslq 20(%rax), %rdx leaq 1(%rdx), %rsi movl %esi, 20(%rax) movl (%rdi,%rcx,4), %esi movl %esi, 4(%rax,%rdx,4) movq 24(%rdi,%rcx,8), %rdx movq 24(%rdx), %rdx movslq 20(%rax), %rsi movq %rdx, 24(%rax,%rsi,8) movq 24(%rdi,%rcx,8), %rax movl 4(%rax), %edx movl %edx, (%rdi,%rcx,4) movq 32(%rax), %rcx movq %rcx, 24(%rax) movl 20(%rax), %ecx leal -1(%rcx), %edx movl %edx, 20(%rax) cmpl $2, %ecx jl LBB8_3 ## %bb.1: xorl %ecx, %ecx .p2align 4, 0x90 LBB8_2: ## =>This Inner Loop Header: Depth=1 movl 8(%rax,%rcx,4), %edx movl %edx, 4(%rax,%rcx,4) movq 40(%rax,%rcx,8), %rdx movq %rdx, 32(%rax,%rcx,8) movslq 20(%rax), %rdx incq %rcx cmpq %rdx, %rcx jl LBB8_2 LBB8_3: popq %rbp retq .cfi_endproc ## -- End function .globl _mergeNodes ## -- Begin function mergeNodes .p2align 4, 0x90 _mergeNodes: ## @mergeNodes .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %esi, %r10 movq 16(%rdi,%r10,8), %r9 movq 24(%rdi,%r10,8), %r8 movslq 20(%r9), %rax leaq 1(%rax), %rdx movl %edx, 20(%r9) movl (%rdi,%r10,4), %edx movl %edx, 4(%r9,%rax,4) movq 24(%rdi), %rdx movslq 20(%r9), %rax movq %rdx, 24(%r9,%rax,8) cmpl $0, 20(%r8) jle LBB9_3 ## %bb.1: xorl %edx, %edx .p2align 4, 0x90 LBB9_2: ## =>This Inner Loop Header: Depth=1 leal 1(%rax), %ecx movl %ecx, 20(%r9) movl 4(%r8,%rdx,4), %ecx cltq movl %ecx, 4(%r9,%rax,4) movq 32(%r8,%rdx,8), %rcx movslq 20(%r9), %rax movq %rcx, 24(%r9,%rax,8) movslq 20(%r8), %rcx incq %rdx cmpq %rcx, %rdx jl LBB9_2 LBB9_3: movl 20(%rdi), %eax cmpl %esi, %eax jle LBB9_5 .p2align 4, 0x90 LBB9_4: ## =>This Inner Loop Header: Depth=1 movl 4(%rdi,%r10,4), %eax movl %eax, (%rdi,%r10,4) movq 32(%rdi,%r10,8), %rax movq %rax, 24(%rdi,%r10,8) leaq 1(%r10), %rcx movslq 20(%rdi), %rax movq %rcx, %r10 cmpq %rax, %rcx jl LBB9_4 LBB9_5: decl %eax movl %eax, 20(%rdi) movq %r8, %rdi popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .globl _adjustNode ## -- Begin function adjustNode .p2align 4, 0x90 _adjustNode: ## @adjustNode .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 .cfi_offset %rbx, -24 testl %esi, %esi je LBB10_1 ## %bb.14: movslq %esi, %r10 leaq -1(%r10), %r8 movq 16(%rdi,%r10,8), %r11 movslq 20(%r11), %r9 cmpl %esi, 20(%rdi) jne LBB10_15 ## %bb.30: movslq %esi, %rbx movq 24(%rdi,%rbx,8), %r10 cmpl $3, %r9d jl LBB10_34 ## %bb.31: movl 20(%r10), %eax testl %eax, %eax jle LBB10_33 ## %bb.32: movl (%r10,%rax,4), %ecx movq 24(%r10,%rax,8), %rsi movl %ecx, 4(%r10,%rax,4) movq %rsi, 32(%r10,%rax,8) movl 20(%r10), %eax LBB10_33: movl (%rdi,%rbx,4), %ecx movl %ecx, 4(%r10) movq 24(%r10), %rcx movq %rcx, 32(%r10) incl %eax movl %eax, 20(%r10) movq 24(%rdi,%r8,8), %rax movslq 20(%rax), %rcx movl (%rax,%rcx,4), %ecx movl %ecx, (%rdi,%rbx,4) movslq 20(%rax), %rcx movq 24(%rax,%rcx,8), %rsi movq %rsi, 24(%rdi,%rbx,8) decl %ecx movl %ecx, 20(%rax) jmp LBB10_23 LBB10_1: movq 24(%rdi), %rcx movq 32(%rdi), %r8 movslq 20(%rcx), %rdx cmpl $3, 20(%r8) leaq 1(%rdx), %rsi movl %esi, 20(%rcx) movl 4(%rdi), %esi movl %esi, 4(%rcx,%rdx,4) jl LBB10_5 ## %bb.2: movq 24(%r8), %rax movslq 20(%rcx), %rdx movq %rax, 24(%rcx,%rdx,8) movq 32(%rdi), %rax movl 4(%rax), %ecx movl %ecx, 4(%rdi) movq 32(%rax), %rcx movq %rcx, 24(%rax) movl 20(%rax), %ecx leal -1(%rcx), %edx movl %edx, 20(%rax) cmpl $2, %ecx jl LBB10_23 ## %bb.3: xorl %ecx, %ecx .p2align 4, 0x90 LBB10_4: ## =>This Inner Loop Header: Depth=1 movl 8(%rax,%rcx,4), %edx movl %edx, 4(%rax,%rcx,4) movq 40(%rax,%rcx,8), %rdx movq %rdx, 32(%rax,%rcx,8) movslq 20(%rax), %rdx incq %rcx cmpq %rdx, %rcx jl LBB10_4 jmp LBB10_23 LBB10_15: cmpl $3, %r9d jl LBB10_19 ## %bb.16: movslq %esi, %rax movq 24(%rdi,%rax,8), %rcx movl 20(%rcx), %edx testl %edx, %edx jle LBB10_18 ## %bb.17: movl (%rcx,%rdx,4), %esi movq 24(%rcx,%rdx,8), %r9 movl %esi, 4(%rcx,%rdx,4) movq %r9, 32(%rcx,%rdx,8) movl 20(%rcx), %edx LBB10_18: movl (%rdi,%rax,4), %esi movl %esi, 4(%rcx) movq 24(%rcx), %rsi movq %rsi, 32(%rcx) incl %edx movl %edx, 20(%rcx) movq 24(%rdi,%r8,8), %rcx movslq 20(%rcx), %rdx movl (%rcx,%rdx,4), %edx movl %edx, (%rdi,%rax,4) movslq 20(%rcx), %rdx movq 24(%rcx,%rdx,8), %rsi movq %rsi, 24(%rdi,%rax,8) leal -1(%rdx), %eax movl %eax, 20(%rcx) LBB10_23: popq %rbx popq %rbp retq LBB10_5: movslq 20(%rcx), %rdx movq %rcx, 24(%rcx,%rdx,8) cmpl $0, 20(%r8) jle LBB10_8 ## %bb.6: xorl %esi, %esi .p2align 4, 0x90 LBB10_7: ## =>This Inner Loop Header: Depth=1 leal 1(%rdx), %eax movl %eax, 20(%rcx) movl 4(%r8,%rsi,4), %eax movslq %edx, %rdx movl %eax, 4(%rcx,%rdx,4) movq 32(%r8,%rsi,8), %rax movslq 20(%rcx), %rdx movq %rax, 24(%rcx,%rdx,8) movslq 20(%r8), %rax incq %rsi cmpq %rax, %rsi jl LBB10_7 LBB10_8: movl 20(%rdi), %ecx cmpl $2, %ecx jl LBB10_11 ## %bb.9: movl $5, %edx .p2align 4, 0x90 LBB10_10: ## =>This Inner Loop Header: Depth=1 movl -12(%rdi,%rdx,4), %eax movl %eax, -16(%rdi,%rdx,4) movq (%rdi,%rdx,8), %rax movq %rax, -8(%rdi,%rdx,8) movslq 20(%rdi), %rcx leaq 1(%rdx), %rax addq $-3, %rdx cmpq %rcx, %rdx movq %rax, %rdx jl LBB10_10 LBB10_11: decl %ecx movl %ecx, 20(%rdi) jmp LBB10_12 LBB10_34: leaq 1(%r9), %rax movl %eax, 20(%r11) movl (%rdi,%rbx,4), %eax movl %eax, 4(%r11,%r9,4) movq 24(%rdi), %rcx movslq 20(%r11), %rax movq %rcx, 24(%r11,%rax,8) cmpl $0, 20(%r10) jle LBB10_37 ## %bb.35: xorl %ecx, %ecx .p2align 4, 0x90 LBB10_36: ## =>This Inner Loop Header: Depth=1 leal 1(%rax), %edx movl %edx, 20(%r11) movl 4(%r10,%rcx,4), %edx cltq movl %edx, 4(%r11,%rax,4) movq 32(%r10,%rcx,8), %rdx movslq 20(%r11), %rax movq %rdx, 24(%r11,%rax,8) movslq 20(%r10), %rdx incq %rcx cmpq %rdx, %rcx jl LBB10_36 LBB10_37: movl 20(%rdi), %eax cmpl %esi, %eax jle LBB10_39 .p2align 4, 0x90 LBB10_38: ## =>This Inner Loop Header: Depth=1 movl 4(%rdi,%rbx,4), %eax movl %eax, (%rdi,%rbx,4) movq 32(%rdi,%rbx,8), %rax movq %rax, 24(%rdi,%rbx,8) leaq 1(%rbx), %rcx movslq 20(%rdi), %rax movq %rcx, %rbx cmpq %rax, %rcx jl LBB10_38 LBB10_39: decl %eax movl %eax, 20(%rdi) movq %r10, %rdi jmp LBB10_13 LBB10_19: movq 24(%rdi,%r10,8), %r8 movq 32(%rdi,%r10,8), %rax cmpl $3, 20(%rax) jl LBB10_24 ## %bb.20: incq %r10 movslq 20(%r8), %rcx leaq 1(%rcx), %rdx movl %edx, 20(%r8) movl (%rdi,%r10,4), %edx movl %edx, 4(%r8,%rcx,4) movq 24(%rax), %rax movslq 20(%r8), %rcx movq %rax, 24(%r8,%rcx,8) movq 24(%rdi,%r10,8), %rax movl 4(%rax), %ecx movl %ecx, (%rdi,%r10,4) movq 32(%rax), %rcx movq %rcx, 24(%rax) movl 20(%rax), %ecx leal -1(%rcx), %edx movl %edx, 20(%rax) cmpl $2, %ecx jl LBB10_23 ## %bb.21: xorl %ecx, %ecx .p2align 4, 0x90 LBB10_22: ## =>This Inner Loop Header: Depth=1 movl 8(%rax,%rcx,4), %edx movl %edx, 4(%rax,%rcx,4) movq 40(%rax,%rcx,8), %rdx movq %rdx, 32(%rax,%rcx,8) movslq 20(%rax), %rdx incq %rcx cmpq %rdx, %rcx jl LBB10_22 jmp LBB10_23 LBB10_24: movq %r9, %rax incq %rax movl %eax, 20(%r11) movl (%rdi,%r10,4), %eax movl %eax, 4(%r11,%r9,4) movq 24(%rdi), %rcx movslq 20(%r11), %rax movq %rcx, 24(%r11,%rax,8) cmpl $0, 20(%r8) jle LBB10_27 ## %bb.25: xorl %edx, %edx .p2align 4, 0x90 LBB10_26: ## =>This Inner Loop Header: Depth=1 leal 1(%rax), %ecx movl %ecx, 20(%r11) movl 4(%r8,%rdx,4), %ecx cltq movl %ecx, 4(%r11,%rax,4) movq 32(%r8,%rdx,8), %rcx movslq 20(%r11), %rax movq %rcx, 24(%r11,%rax,8) movslq 20(%r8), %rcx incq %rdx cmpq %rcx, %rdx jl LBB10_26 LBB10_27: movl 20(%rdi), %eax cmpl %esi, %eax jle LBB10_29 .p2align 4, 0x90 LBB10_28: ## =>This Inner Loop Header: Depth=1 movl 4(%rdi,%r10,4), %eax movl %eax, (%rdi,%r10,4) movq 32(%rdi,%r10,8), %rax movq %rax, 24(%rdi,%r10,8) leaq 1(%r10), %rcx movslq 20(%rdi), %rax movq %rcx, %r10 cmpq %rax, %rcx jl LBB10_28 LBB10_29: decl %eax movl %eax, 20(%rdi) LBB10_12: movq %r8, %rdi LBB10_13: popq %rbx popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .globl _delValFromNode ## -- Begin function delValFromNode .p2align 4, 0x90 _delValFromNode: ## @delValFromNode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testq %rsi, %rsi je LBB11_1 ## %bb.2: movq %rsi, %r14 xorl %ebx, %ebx cmpl %edi, 4(%rsi) jg LBB11_17 ## %bb.3: movl 20(%r14), %r8d movslq %r8d, %rdx movq %rdx, %rcx shlq $32, %rcx leal 1(%rdx), %ebx movabsq $-4294967296, %r9 ## imm = 0xFFFFFFFF00000000 .p2align 4, 0x90 LBB11_4: ## =>This Inner Loop Header: Depth=1 addq %r9, %rcx movl (%r14,%rdx,4), %eax decl %ebx cmpl %edi, %eax jle LBB11_6 ## %bb.5: ## in Loop: Header=BB11_4 Depth=1 leaq -1(%rdx), %rsi cmpq $1, %rdx movq %rsi, %rdx jg LBB11_4 LBB11_6: cmpl %edi, %eax jne LBB11_17 ## %bb.7: movabsq $4294967296, %r12 ## imm = 0x100000000 addq %rcx, %r12 sarq $29, %rcx cmpq $0, 24(%r14,%rcx) je LBB11_13 ## %bb.8: movq %r12, %r13 sarq $32, %r13 sarq $29, %r12 movq 24(%r14,%r12), %rsi movq %rsi, %rcx .p2align 4, 0x90 LBB11_9: ## =>This Inner Loop Header: Depth=1 movq %rcx, %rax movq 24(%rcx), %rcx testq %rcx, %rcx jne LBB11_9 ## %bb.10: movl 4(%rax), %edi movl %edi, (%r14,%r13,4) callq _delValFromNode testl %eax, %eax je LBB11_12 ## %bb.11: movl %eax, %r15d movq %r13, %r12 jmp LBB11_18 LBB11_17: movslq %ebx, %r12 movq 24(%r14,%r12,8), %rsi callq _delValFromNode movl %eax, %r15d LBB11_18: movq 24(%r14,%r12,8), %rax testq %rax, %rax je LBB11_21 ## %bb.19: cmpl $1, 20(%rax) jg LBB11_21 ## %bb.20: movq %r14, %rdi movl %ebx, %esi callq _adjustNode jmp LBB11_21 LBB11_1: xorl %r15d, %r15d LBB11_21: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB11_13: sarq $32, %r12 cmpl %ebx, %r8d jle LBB11_16 ## %bb.14: movq %r12, %rax .p2align 4, 0x90 LBB11_15: ## =>This Inner Loop Header: Depth=1 movl 4(%r14,%rax,4), %ecx movl %ecx, (%r14,%rax,4) movq 32(%r14,%rax,8), %rcx movq %rcx, 24(%r14,%rax,8) leaq 1(%rax), %rcx movslq 20(%r14), %r8 movq %rcx, %rax cmpq %r8, %rcx jl LBB11_15 LBB11_16: decl %r8d movl %r8d, 20(%r14) movl $1, %r15d jmp LBB11_18 LBB11_12: leaq L_str.14(%rip), %rdi callq _puts xorl %r15d, %r15d movq %r13, %r12 jmp LBB11_18 .cfi_endproc ## -- End function .globl _deletion ## -- Begin function deletion .p2align 4, 0x90 _deletion: ## @deletion .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx callq _delValFromNode testl %eax, %eax je LBB12_4 ## %bb.1: cmpl $0, 20(%rbx) jne LBB12_3 ## %bb.2: movq 24(%rbx), %r14 movq %rbx, %rdi callq _free movq %r14, %rbx LBB12_3: movq _root@GOTPCREL(%rip), %rax movq %rbx, (%rax) popq %rbx popq %r14 popq %rbp retq LBB12_4: leaq L_str.15(%rip), %rdi popq %rbx popq %r14 popq %rbp jmp _puts ## TAILCALL .cfi_endproc ## -- End function .globl _searching ## -- Begin function searching .p2align 4, 0x90 _searching: ## @searching .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testq %rdx, %rdx je LBB13_10 ## %bb.1: movl %edi, %r8d jmp LBB13_2 .p2align 4, 0x90 LBB13_3: ## in Loop: Header=BB13_2 Depth=1 movl $0, (%rsi) xorl %ecx, %ecx LBB13_9: ## in Loop: Header=BB13_2 Depth=1 movslq %ecx, %rax movq 24(%rdx,%rax,8), %rdx testq %rdx, %rdx je LBB13_10 LBB13_2: ## =>This Loop Header: Depth=1 ## Child Loop BB13_5 Depth 2 cmpl %r8d, 4(%rdx) jg LBB13_3 ## %bb.4: ## in Loop: Header=BB13_2 Depth=1 movslq 20(%rdx), %rdi .p2align 4, 0x90 LBB13_5: ## Parent Loop BB13_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl %edi, (%rsi) movl (%rdx,%rdi,4), %eax leaq -1(%rdi), %rcx cmpl %r8d, %eax jle LBB13_7 ## %bb.6: ## in Loop: Header=BB13_5 Depth=2 cmpq $1, %rdi movq %rcx, %rdi jg LBB13_5 LBB13_7: ## in Loop: Header=BB13_2 Depth=1 cmpl %r8d, %eax je LBB13_11 ## %bb.8: ## in Loop: Header=BB13_2 Depth=1 incq %rcx jmp LBB13_9 LBB13_10: popq %rbp retq LBB13_11: leaq L_.str.3(%rip), %rdi movl %r8d, %esi xorl %eax, %eax popq %rbp jmp _printf ## TAILCALL .cfi_endproc ## -- End function .globl _traversal ## -- Begin function traversal .p2align 4, 0x90 _traversal: ## @traversal .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 testq %rdi, %rdi je LBB14_7 ## %bb.1: movq %rdi, %r15 leaq L_.str.4(%rip), %r14 jmp LBB14_2 .p2align 4, 0x90 LBB14_3: ## in Loop: Header=BB14_2 Depth=1 xorl %ebx, %ebx LBB14_6: ## in Loop: Header=BB14_2 Depth=1 movl %ebx, %eax movq 24(%r15,%rax,8), %r15 testq %r15, %r15 je LBB14_7 LBB14_2: ## =>This Loop Header: Depth=1 ## Child Loop BB14_5 Depth 2 cmpl $0, 20(%r15) jle LBB14_3 ## %bb.4: ## in Loop: Header=BB14_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB14_5: ## Parent Loop BB14_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq 24(%r15,%rbx,8), %rdi callq _traversal movl 4(%r15,%rbx,4), %esi incq %rbx movq %r14, %rdi xorl %eax, %eax callq _printf movslq 20(%r15), %rax cmpq %rax, %rbx jl LBB14_5 jmp LBB14_6 LBB14_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_str.17(%rip), %rbx leaq L_.str.7(%rip), %r14 leaq L_.str.8(%rip), %r13 leaq LJTI15_0(%rip), %r12 jmp LBB15_1 LBB15_22: ## in Loop: Header=BB15_1 Depth=1 movq _root@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _traversal LBB15_25: ## in Loop: Header=BB15_1 Depth=1 movl $10, %edi callq _putchar LBB15_1: ## =>This Loop Header: Depth=1 ## Child Loop BB15_14 Depth 2 ## Child Loop BB15_17 Depth 3 leaq L_str.16(%rip), %rdi callq _puts movq %rbx, %rdi callq _puts movq %r14, %rdi xorl %eax, %eax callq _printf movq %r13, %rdi leaq -48(%rbp), %rsi xorl %eax, %eax callq _scanf movl -48(%rbp), %eax decl %eax cmpl $4, %eax ja LBB15_24 ## %bb.2: ## in Loop: Header=BB15_1 Depth=1 movslq (%r12,%rax,4), %rax addq %r12, %rax jmpq *%rax LBB15_3: ## in Loop: Header=BB15_1 Depth=1 leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _printf movq %r13, %r15 movq %r13, %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf movl -44(%rbp), %edi movq _root@GOTPCREL(%rip), %r13 movq (%r13), %rdx leaq -52(%rbp), %rsi leaq -64(%rbp), %rcx callq _setValueInNode testl %eax, %eax je LBB15_5 ## %bb.4: ## in Loop: Header=BB15_1 Depth=1 movl -52(%rbp), %ebx movq -64(%rbp), %r14 movl $64, %edi callq _malloc movl %ebx, 4(%rax) movl $1, 20(%rax) movq (%r13), %rcx movq %rcx, 24(%rax) movq %r14, 32(%rax) leaq L_.str.7(%rip), %r14 leaq L_str.17(%rip), %rbx movq %rax, (%r13) LBB15_5: ## in Loop: Header=BB15_1 Depth=1 movq %r15, %r13 jmp LBB15_25 LBB15_12: ## in Loop: Header=BB15_1 Depth=1 leaq L_.str.11(%rip), %rdi xorl %eax, %eax callq _printf movq %r13, %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf movq _root@GOTPCREL(%rip), %rax movq (%rax), %rax testq %rax, %rax je LBB15_25 ## %bb.13: ## in Loop: Header=BB15_1 Depth=1 movl -44(%rbp), %esi jmp LBB15_14 .p2align 4, 0x90 LBB15_15: ## in Loop: Header=BB15_14 Depth=2 movl $0, -48(%rbp) xorl %ecx, %ecx LBB15_21: ## in Loop: Header=BB15_14 Depth=2 movslq %ecx, %rcx movq 24(%rax,%rcx,8), %rax testq %rax, %rax je LBB15_25 LBB15_14: ## Parent Loop BB15_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB15_17 Depth 3 cmpl %esi, 4(%rax) jg LBB15_15 ## %bb.16: ## in Loop: Header=BB15_14 Depth=2 movslq 20(%rax), %rdx .p2align 4, 0x90 LBB15_17: ## Parent Loop BB15_1 Depth=1 ## Parent Loop BB15_14 Depth=2 ## => This Inner Loop Header: Depth=3 movl %edx, -48(%rbp) movl (%rax,%rdx,4), %edi leaq -1(%rdx), %rcx cmpl %esi, %edi jle LBB15_19 ## %bb.18: ## in Loop: Header=BB15_17 Depth=3 cmpq $1, %rdx movq %rcx, %rdx jg LBB15_17 LBB15_19: ## in Loop: Header=BB15_14 Depth=2 cmpl %esi, %edi je LBB15_26 ## %bb.20: ## in Loop: Header=BB15_14 Depth=2 incq %rcx jmp LBB15_21 LBB15_24: ## in Loop: Header=BB15_1 Depth=1 leaq L_str.18(%rip), %rdi callq _puts jmp LBB15_25 LBB15_6: ## in Loop: Header=BB15_1 Depth=1 leaq L_.str.10(%rip), %rdi xorl %eax, %eax callq _printf movq %r13, %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf movl -44(%rbp), %edi movq _root@GOTPCREL(%rip), %rbx movq (%rbx), %r14 movq %r14, %rsi callq _delValFromNode testl %eax, %eax je LBB15_7 ## %bb.8: ## in Loop: Header=BB15_1 Depth=1 cmpl $0, 20(%r14) jne LBB15_10 ## %bb.9: ## in Loop: Header=BB15_1 Depth=1 movq 24(%r14), %rbx movq %r14, %rdi callq _free movq %rbx, %r14 movq _root@GOTPCREL(%rip), %rbx LBB15_10: ## in Loop: Header=BB15_1 Depth=1 movq %r14, (%rbx) jmp LBB15_11 LBB15_7: ## in Loop: Header=BB15_1 Depth=1 leaq L_str.15(%rip), %rdi callq _puts LBB15_11: ## in Loop: Header=BB15_1 Depth=1 leaq L_str.17(%rip), %rbx leaq L_.str.7(%rip), %r14 jmp LBB15_25 LBB15_26: ## in Loop: Header=BB15_1 Depth=1 leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB15_25 LBB15_23: xorl %edi, %edi callq _exit .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L15_0_set_3, LBB15_3-LJTI15_0 .set L15_0_set_6, LBB15_6-LJTI15_0 .set L15_0_set_12, LBB15_12-LJTI15_0 .set L15_0_set_22, LBB15_22-LJTI15_0 .set L15_0_set_23, LBB15_23-LJTI15_0 LJTI15_0: .long L15_0_set_3 .long L15_0_set_6 .long L15_0_set_12 .long L15_0_set_22 .long L15_0_set_23 .end_data_region ## -- End function .comm _root,8,3 ## @root .section __TEXT,__cstring,cstring_literals L_.str.3: ## @.str.3 .asciz "Given data %d is present in B-Tree" L_.str.4: ## @.str.4 .asciz "%d " L_.str.7: ## @.str.7 .asciz "5. Exit\nEnter your choice:" L_.str.8: ## @.str.8 .asciz "%d" L_.str.9: ## @.str.9 .asciz "Enter your input:" L_.str.10: ## @.str.10 .asciz "Enter the element to delete:" L_.str.11: ## @.str.11 .asciz "Enter the element to search:" L_str: ## @str .asciz "Duplicates not allowed" L_str.14: ## @str.14 .asciz "Given data is not present in B-Tree" L_str.15: ## @str.15 .asciz "Given value is not present in B-Tree" L_str.16: ## @str.16 .asciz "1. Insertion\t2. Deletion" L_str.17: ## @str.17 .asciz "3. Searching\t4. Traversal" L_str.18: ## @str.18 .asciz "U have entered wrong option!!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _createNode ; -- Begin function createNode .p2align 2 _createNode: ; @createNode .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 mov w0, #64 bl _malloc str w20, [x0, #4] mov w8, #1 str w8, [x0, #20] Lloh0: adrp x8, _root@GOTPAGE Lloh1: ldr x8, [x8, _root@GOTPAGEOFF] Lloh2: ldr x8, [x8] stp x8, x19, [x0, #24] 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 .globl _addValToNode ; -- Begin function addValToNode .p2align 2 _addValToNode: ; @addValToNode .cfi_startproc ; %bb.0: ; kill: def $w1 killed $w1 def $x1 ldr w8, [x2, #20] cmp w8, w1 b.le LBB1_4 ; %bb.1: sxtw x8, w8 sxtw x9, w1 add x10, x2, x8, lsl #2 add x12, x10, #4 add x10, x2, x8, lsl #3 add x13, x10, #32 mov x10, x12 mov x11, x13 LBB1_2: ; =>This Inner Loop Header: Depth=1 ldr w14, [x10, #-4]! ldr x15, [x11, #-8]! str w14, [x12] str x15, [x13] sub x8, x8, #1 mov x13, x11 mov x12, x10 cmp x8, x9 b.gt LBB1_2 ; %bb.3: ; kill: def $w8 killed $w8 killed $x8 def $x8 LBB1_4: ; kill: def $w8 killed $w8 killed $x8 def $x8 sxtw x8, w8 add x8, x8, #1 str w0, [x2, x8, lsl #2] add x8, x2, x8, lsl #3 str x3, [x8, #24] ldr w8, [x2, #20] add w8, w8, #1 str w8, [x2, #20] ret .cfi_endproc ; -- End function .globl _splitNode ; -- Begin function splitNode .p2align 2 _splitNode: ; @splitNode .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 x20, x5 mov x22, x4 mov x19, x3 mov x24, x2 mov x21, x1 mov x23, x0 cmp w2, #2 mov w8, #2 cinc w25, w8, gt mov w0, #64 bl _malloc add x8, x25, #1 ldr w9, [x19, x8, lsl #2] str x0, [x20] str w9, [x0, #4] add x9, x19, x8, lsl #3 ldr x9, [x9, #24] str x9, [x0, #32] cmp x8, #4 b.eq LBB2_3 ; %bb.1: mov x8, #0 add x9, x19, #40 mov x10, x25 LBB2_2: ; =>This Inner Loop Header: Depth=1 ldr x11, [x20] add x12, x9, x10, lsl #2 ldur w12, [x12, #-32] add x13, x11, x8, lsl #2 ldr x14, [x9, x10, lsl #3] str w12, [x13, #8] add x11, x11, x8, lsl #3 str x14, [x11, #40] add x10, x10, #1 add x8, x8, #1 cmp x10, #3 b.ne LBB2_2 LBB2_3: str w25, [x19, #20] mov w8, #4 sub w9, w8, w25 ldr x8, [x20] str w9, [x8, #20] cmp w24, #2 b.gt LBB2_9 ; %bb.4: ldr w8, [x19, #20] cmp w8, w24 b.le LBB2_8 ; %bb.5: ; kill: def $w8 killed $w8 killed $x8 def $x8 sxtw x8, w8 sxtw x9, w24 add x10, x19, x8, lsl #2 add x11, x19, x8, lsl #3 add x12, x11, #32 mov x11, x12 LBB2_6: ; =>This Inner Loop Header: Depth=1 ldr w13, [x10] ldr x14, [x11, #-8]! str w13, [x10, #4] str x14, [x12] sub x8, x8, #1 sub x10, x10, #4 mov x12, x11 cmp x8, x9 b.gt LBB2_6 ; %bb.7: ; kill: def $w8 killed $w8 killed $x8 def $x8 LBB2_8: sxtw x8, w8 add x8, x8, #1 str w23, [x19, x8, lsl #2] add x8, x19, x8, lsl #3 str x22, [x8, #24] ldr w8, [x19, #20] add w8, w8, #1 str w8, [x19, #20] b LBB2_14 LBB2_9: cmp w24, #3 b.ne LBB2_13 ; %bb.10: eor w12, w25, #0x3 ldr w10, [x8, w9, uxtw #2] add x13, x9, #1 str w10, [x8, x13, lsl #2] add x11, x8, #24 ldr x10, [x11, w9, uxtw #3] str x10, [x11, x13, lsl #3] sub x10, x9, #1 cmp x10, x12 b.le LBB2_12 ; %bb.11: ldr w12, [x8, x10, lsl #2] str w12, [x8, x9, lsl #2] ldr x10, [x11, x10, lsl #3] str x10, [x11, x9, lsl #3] sub x10, x9, #2 LBB2_12: mov x9, x10 LBB2_13: ; kill: def $w9 killed $w9 killed $x9 def $x9 sxtw x9, w9 add x9, x9, #1 str w23, [x8, x9, lsl #2] add x9, x8, x9, lsl #3 str x22, [x9, #24] ldr w9, [x8, #20] add w9, w9, #1 str w9, [x8, #20] ldr w8, [x19, #20] LBB2_14: ldr w8, [x19, w8, sxtw #2] str w8, [x21] ldrsw x8, [x19, #20] add x9, x19, x8, lsl #3 ldr x9, [x9, #24] ldr x10, [x20] str x9, [x10, #24] sub w8, w8, #1 str w8, [x19, #20] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _setValueInNode ; -- Begin function setValueInNode .p2align 2 _setValueInNode: ; @setValueInNode .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, x3 mov x21, x1 cbz x2, LBB3_3 ; %bb.1: mov x19, x2 ldr w8, [x2, #4] cmp w8, w0 b.le LBB3_4 ; %bb.2: mov w22, #0 b LBB3_8 LBB3_3: str w0, [x21] str xzr, [x20] b LBB3_17 LBB3_4: ldrsw x8, [x19, #20] add w22, w8, #1 LBB3_5: ; =>This Inner Loop Header: Depth=1 ldr w9, [x19, x8, lsl #2] cmp w9, w0 ccmp x8, #1, #4, gt sub x8, x8, #1 sub w22, w22, #1 b.gt LBB3_5 ; %bb.6: cmp w9, w0 b.ne LBB3_8 ; %bb.7: Lloh3: adrp x0, l_str@PAGE Lloh4: add x0, x0, l_str@PAGEOFF bl _puts mov w8, #0 b LBB3_18 LBB3_8: add x8, x19, w22, sxtw #3 ldr x2, [x8, #24] mov x1, x21 mov x3, x20 bl _setValueInNode cbz w0, LBB3_15 ; %bb.9: sxtw x2, w22 ldr w9, [x19, #20] ldr w0, [x21] ldr x4, [x20] cmp w9, #3 b.gt LBB3_16 ; %bb.10: cmp w9, w2 b.le LBB3_14 ; %bb.11: ; kill: def $w9 killed $w9 killed $x9 def $x9 sxtw x8, w9 add x9, x19, x8, lsl #2 add x10, x19, x8, lsl #3 add x11, x10, #32 mov x10, x11 LBB3_12: ; =>This Inner Loop Header: Depth=1 ldr w12, [x9] ldr x13, [x10, #-8]! str w12, [x9, #4] str x13, [x11] sub x8, x8, #1 sub x9, x9, #4 mov x11, x10 cmp x8, x2 b.gt LBB3_12 ; %bb.13: mov x9, x8 LBB3_14: mov w8, #0 sxtw x9, w9 add x9, x9, #1 str w0, [x19, x9, lsl #2] add x9, x19, x9, lsl #3 str x4, [x9, #24] ldr w9, [x19, #20] add w9, w9, #1 str w9, [x19, #20] b LBB3_18 LBB3_15: mov w8, #0 b LBB3_18 LBB3_16: mov x1, x21 ; kill: def $w2 killed $w2 killed $x2 mov x3, x19 mov x5, x20 bl _splitNode LBB3_17: mov w8, #1 LBB3_18: mov x0, x8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .globl _insertion ; -- Begin function insertion .p2align 2 _insertion: ; @insertion .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 Lloh5: adrp x19, _root@GOTPAGE Lloh6: ldr x19, [x19, _root@GOTPAGEOFF] ldr x2, [x19] add x1, sp, #12 mov x3, sp bl _setValueInNode cbz w0, LBB4_2 ; %bb.1: ldr w20, [sp, #12] ldr x21, [sp] mov w0, #64 bl _malloc str w20, [x0, #4] mov w8, #1 str w8, [x0, #20] ldr x8, [x19] stp x8, x21, [x0, #24] str x0, [x19] LBB4_2: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .globl _copySuccessor ; -- Begin function copySuccessor .p2align 2 _copySuccessor: ; @copySuccessor .cfi_startproc ; %bb.0: ; kill: def $w1 killed $w1 def $x1 sxtw x8, w1 add x9, x0, w1, sxtw #3 ldr x9, [x9, #24] LBB5_1: ; =>This Inner Loop Header: Depth=1 mov x10, x9 ldr x9, [x9, #24] cbnz x9, LBB5_1 ; %bb.2: ldr w9, [x10, #4] str w9, [x0, x8, lsl #2] ret .cfi_endproc ; -- End function .globl _removeVal ; -- Begin function removeVal .p2align 2 _removeVal: ; @removeVal .cfi_startproc ; %bb.0: ; kill: def $w1 killed $w1 def $x1 ldr w11, [x0, #20] cmp w11, w1 b.le LBB6_3 ; %bb.1: sxtw x8, w1 add x9, x0, w1, sxtw #2 add x9, x9, #4 add x10, x0, w1, sxtw #3 add x10, x10, #32 LBB6_2: ; =>This Inner Loop Header: Depth=1 add x8, x8, #1 ldr w11, [x9] stur w11, [x9, #-4] ldr x11, [x10] stur x11, [x10, #-8] ldrsw x11, [x0, #20] add x9, x9, #4 add x10, x10, #8 cmp x8, x11 b.lt LBB6_2 LBB6_3: sub w8, w11, #1 str w8, [x0, #20] ret .cfi_endproc ; -- End function .globl _doRightShift ; -- Begin function doRightShift .p2align 2 _doRightShift: ; @doRightShift .cfi_startproc ; %bb.0: ; kill: def $w1 killed $w1 def $x1 sxtw x9, w1 add x8, x0, w1, sxtw #3 ldr x10, [x8, #24]! ldr w11, [x10, #20] cmp w11, #1 b.lt LBB7_2 ; %bb.1: add x12, x10, #24 ldr w13, [x10, x11, lsl #2] ldr x14, [x12, x11, lsl #3] add x11, x11, #1 str w13, [x10, x11, lsl #2] str x14, [x12, x11, lsl #3] ldr w11, [x10, #20] LBB7_2: lsl x12, x9, #2 ldr w13, [x0, x12] str w13, [x10, #4] ldr x13, [x10, #24] str x13, [x10, #32] add w11, w11, #1 str w11, [x10, #20] add x9, x0, x9, lsl #3 ldr x9, [x9, #16] ldrsw x10, [x9, #20] ldr w10, [x9, x10, lsl #2] str w10, [x0, x12] ldrsw x10, [x9, #20] add x11, x9, x10, lsl #3 ldr x11, [x11, #24] str x11, [x8] sub w8, w10, #1 str w8, [x9, #20] ret .cfi_endproc ; -- End function .globl _doLeftShift ; -- Begin function doLeftShift .p2align 2 _doLeftShift: ; @doLeftShift .cfi_startproc ; %bb.0: ; kill: def $w1 killed $w1 def $x1 add x8, x0, w1, sxtw #3 ldp x9, x10, [x8, #16] ldrsw x11, [x9, #20] add x11, x11, #1 str w11, [x9, #20] sbfiz x12, x1, #2, #32 ldr w13, [x0, x12] str w13, [x9, x11, lsl #2] ldr x10, [x10, #24] ldrsw x11, [x9, #20] add x9, x9, x11, lsl #3 str x10, [x9, #24] ldr x8, [x8, #24] ldr w9, [x8, #4] str w9, [x0, x12] ldr x9, [x8, #32] str x9, [x8, #24] ldr w9, [x8, #20] sub w10, w9, #1 str w10, [x8, #20] cmp w9, #2 b.lt LBB8_3 ; %bb.1: mov x9, #0 LBB8_2: ; =>This Inner Loop Header: Depth=1 add x10, x8, x9, lsl #2 ldr w11, [x10, #8] str w11, [x10, #4] add x10, x8, x9, lsl #3 ldr x11, [x10, #40] str x11, [x10, #32] ldrsw x10, [x8, #20] add x9, x9, #1 cmp x9, x10 b.lt LBB8_2 LBB8_3: ret .cfi_endproc ; -- End function .globl _mergeNodes ; -- Begin function mergeNodes .p2align 2 _mergeNodes: ; @mergeNodes .cfi_startproc ; %bb.0: ; kill: def $w1 killed $w1 def $x1 mov x8, x0 ldr x10, [x8, #24]! add x8, x8, w1, sxtw #3 ldur x9, [x8, #-8] ldrsw x11, [x9, #20] add x11, x11, #1 str w11, [x9, #20] ldr w12, [x0, w1, sxtw #2] str w12, [x9, x11, lsl #2] ldr x8, [x8] ldrsw x12, [x9, #20] add x11, x9, x12, lsl #3 str x10, [x11, #24] ldr w10, [x8, #20] cmp w10, #1 b.lt LBB9_3 ; %bb.1: mov x10, #0 add x11, x8, #32 ; kill: def $w12 killed $w12 killed $x12 def $x12 LBB9_2: ; =>This Inner Loop Header: Depth=1 sxtw x12, w12 add x12, x12, #1 str w12, [x9, #20] add x13, x11, x10, lsl #2 ldur w13, [x13, #-28] str w13, [x9, x12, lsl #2] ldr x12, [x11, x10, lsl #3] ldrsw x13, [x9, #20] add x14, x9, x13, lsl #3 str x12, [x14, #24] ldrsw x14, [x8, #20] add x10, x10, #1 mov x12, x13 cmp x10, x14 b.lt LBB9_2 LBB9_3: ldr w12, [x0, #20] cmp w12, w1 b.le LBB9_6 ; %bb.4: sxtw x9, w1 add x10, x0, x9, lsl #2 add x10, x10, #4 add x11, x0, x9, lsl #3 add x11, x11, #32 LBB9_5: ; =>This Inner Loop Header: Depth=1 add x9, x9, #1 ldr w12, [x10] stur w12, [x10, #-4] ldr x12, [x11] stur x12, [x11, #-8] ldrsw x12, [x0, #20] add x10, x10, #4 add x11, x11, #8 cmp x9, x12 b.lt LBB9_5 LBB9_6: sub w9, w12, #1 str w9, [x0, #20] mov x0, x8 b _free .cfi_endproc ; -- End function .globl _adjustNode ; -- Begin function adjustNode .p2align 2 _adjustNode: ; @adjustNode .cfi_startproc ; %bb.0: ; kill: def $w1 killed $w1 def $x1 cbz w1, LBB10_3 ; %bb.1: ldr w11, [x0, #20] sxtw x9, w1 add x8, x0, w1, sxtw #3 ldr x10, [x8, #16]! ldr w10, [x10, #20] cmp w11, w1 b.ne LBB10_7 ; %bb.2: cmp w10, #3 b.ge LBB10_8 b LBB10_23 LBB10_3: ldp x9, x8, [x0, #24] ldr w10, [x8, #20] ldrsw x11, [x9, #20] add x11, x11, #1 str w11, [x9, #20] ldr w12, [x0, #4] str w12, [x9, x11, lsl #2] cmp w10, #3 b.lt LBB10_11 ; %bb.4: ldr x8, [x8, #24] ldrsw x10, [x9, #20] add x9, x9, x10, lsl #3 str x8, [x9, #24] ldr x8, [x0, #32] ldr w9, [x8, #4] str w9, [x0, #4] ldr x9, [x8, #32] str x9, [x8, #24] ldr w9, [x8, #20] sub w10, w9, #1 str w10, [x8, #20] cmp w9, #2 b.lt LBB10_22 ; %bb.5: mov x9, #0 LBB10_6: ; =>This Inner Loop Header: Depth=1 add x10, x8, x9, lsl #2 ldr w11, [x10, #8] str w11, [x10, #4] add x10, x8, x9, lsl #3 ldr x11, [x10, #40] str x11, [x10, #32] ldrsw x10, [x8, #20] add x9, x9, #1 cmp x9, x10 b.lt LBB10_6 b LBB10_22 LBB10_7: cmp w10, #3 b.lt LBB10_18 LBB10_8: add x10, x0, x9, lsl #3 ldr x11, [x10, #24]! ldr w12, [x11, #20] cmp w12, #1 b.lt LBB10_10 ; %bb.9: add x13, x11, #24 ldr w14, [x11, x12, lsl #2] ldr x15, [x13, x12, lsl #3] add x12, x12, #1 str w14, [x11, x12, lsl #2] str x15, [x13, x12, lsl #3] ldr w12, [x11, #20] LBB10_10: lsl x9, x9, #2 ldr w13, [x0, x9] str w13, [x11, #4] ldr x13, [x11, #24] str x13, [x11, #32] add w12, w12, #1 str w12, [x11, #20] ldr x8, [x8] ldrsw x11, [x8, #20] ldr w11, [x8, x11, lsl #2] str w11, [x0, x9] ldrsw x9, [x8, #20] add x11, x8, x9, lsl #3 ldr x11, [x11, #24] str x11, [x10] sub w9, w9, #1 str w9, [x8, #20] ret LBB10_11: ldrsw x12, [x9, #20] add x10, x9, x12, lsl #3 str x9, [x10, #24] ldr w10, [x8, #20] cmp w10, #1 b.lt LBB10_14 ; %bb.12: mov x10, #0 add x11, x8, #32 ; kill: def $w12 killed $w12 killed $x12 def $x12 LBB10_13: ; =>This Inner Loop Header: Depth=1 sxtw x12, w12 add x12, x12, #1 str w12, [x9, #20] add x13, x11, x10, lsl #2 ldur w13, [x13, #-28] str w13, [x9, x12, lsl #2] ldr x12, [x11, x10, lsl #3] ldrsw x13, [x9, #20] add x14, x9, x13, lsl #3 str x12, [x14, #24] ldrsw x14, [x8, #20] add x10, x10, #1 mov x12, x13 cmp x10, x14 b.lt LBB10_13 LBB10_14: ldr w12, [x0, #20] cmp w12, #1 b.le LBB10_17 ; %bb.15: add x9, x0, #40 add x10, x0, #8 mov w11, #1 LBB10_16: ; =>This Inner Loop Header: Depth=1 add x11, x11, #1 ldr w12, [x10] stur w12, [x10, #-4] ldr x12, [x9] stur x12, [x9, #-8] ldrsw x12, [x0, #20] add x9, x9, #8 add x10, x10, #4 cmp x11, x12 b.lt LBB10_16 LBB10_17: sub w9, w12, #1 str w9, [x0, #20] mov x0, x8 b _free LBB10_18: add x11, x9, #1 add x8, x0, x11, lsl #3 ldr x10, [x8, #24]! ldr w12, [x10, #20] cmp w12, #3 b.lt LBB10_23 ; %bb.19: add x9, x0, x9, lsl #3 ldr x9, [x9, #24] ldrsw x12, [x9, #20] add x12, x12, #1 str w12, [x9, #20] lsl x11, x11, #2 ldr w13, [x0, x11] str w13, [x9, x12, lsl #2] ldr x10, [x10, #24] ldrsw x12, [x9, #20] add x9, x9, x12, lsl #3 str x10, [x9, #24] ldr x8, [x8] ldr w9, [x8, #4] str w9, [x0, x11] ldr x9, [x8, #32] str x9, [x8, #24] ldr w9, [x8, #20] sub w10, w9, #1 str w10, [x8, #20] cmp w9, #2 b.lt LBB10_22 ; %bb.20: mov x9, #0 LBB10_21: ; =>This Inner Loop Header: Depth=1 add x10, x8, x9, lsl #2 ldr w11, [x10, #8] str w11, [x10, #4] add x10, x8, x9, lsl #3 ldr x11, [x10, #40] str x11, [x10, #32] ldrsw x10, [x8, #20] add x9, x9, #1 cmp x9, x10 b.lt LBB10_21 LBB10_22: ret LBB10_23: ; kill: def $w1 killed $w1 killed $x1 b _mergeNodes .cfi_endproc ; -- End function .globl _delValFromNode ; -- Begin function delValFromNode .p2align 2 _delValFromNode: ; @delValFromNode .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz x1, LBB11_3 ; %bb.1: mov x19, x1 ldr w8, [x1, #4] cmp w8, w0 b.le LBB11_4 ; %bb.2: mov w20, #0 b LBB11_13 LBB11_3: mov w21, #0 b LBB11_17 LBB11_4: mov x9, #0 ldrsw x10, [x19, #20] and x8, x10, #0xffffffff lsl x11, x10, #32 add x12, x19, x10, lsl #2 mov x13, #-4294967296 LBB11_5: ; =>This Inner Loop Header: Depth=1 add x15, x10, x9 ldr w14, [x12, x9, lsl #2] sub x9, x9, #1 add x11, x11, x13 cmp w14, w0 ccmp x15, #1, #4, gt b.gt LBB11_5 ; %bb.6: cmp w14, w0 b.ne LBB11_12 ; %bb.7: add x10, x8, x9 add x20, x10, #1 mov x10, #4294967296 add x10, x11, x10 add x11, x19, x11, asr #29 ldr x11, [x11, #24] cbz x11, LBB11_18 ; %bb.8: asr x22, x10, #32 add x8, x19, x10, asr #29 ldr x1, [x8, #24] mov x9, x1 LBB11_9: ; =>This Inner Loop Header: Depth=1 mov x8, x9 ldr x9, [x9, #24] cbnz x9, LBB11_9 ; %bb.10: ldr w0, [x8, #4] str w0, [x19, x22, lsl #2] bl _delValFromNode mov x21, x0 cbnz w0, LBB11_14 ; %bb.11: Lloh7: adrp x0, l_str.14@PAGE Lloh8: add x0, x0, l_str.14@PAGEOFF bl _puts b LBB11_14 LBB11_12: add x8, x9, w10, uxtw add x20, x8, #1 ; kill: def $w20 killed $w20 killed $x20 def $x20 LBB11_13: sxtw x22, w20 add x8, x19, w20, sxtw #3 ldr x1, [x8, #24] bl _delValFromNode mov x21, x0 ; kill: def $w20 killed $w20 killed $x20 def $x20 LBB11_14: add x8, x19, x22, lsl #3 ldr x8, [x8, #24] cbz x8, LBB11_17 ; %bb.15: ldr w8, [x8, #20] cmp w8, #1 b.gt LBB11_17 ; %bb.16: mov x0, x19 mov x1, x20 bl _adjustNode LBB11_17: mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB11_18: asr x22, x10, #32 cmp w8, w20 b.le LBB11_22 ; %bb.19: add w8, w8, w9 add w9, w8, #1 add x8, x19, w9, sxtw #3 add x8, x8, #32 add x9, x19, w9, sxtw #2 add x9, x9, #4 mov x10, x22 LBB11_20: ; =>This Inner Loop Header: Depth=1 add x10, x10, #1 ldr w11, [x9] stur w11, [x9, #-4] ldr x11, [x8] stur x11, [x8, #-8] ldrsw x11, [x19, #20] add x8, x8, #8 add x9, x9, #4 cmp x10, x11 b.lt LBB11_20 ; %bb.21: mov x8, x11 LBB11_22: sub w8, w8, #1 str w8, [x19, #20] mov w21, #1 b LBB11_14 .loh AdrpAdd Lloh7, Lloh8 .cfi_endproc ; -- End function .globl _deletion ; -- Begin function deletion .p2align 2 _deletion: ; @deletion .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 _delValFromNode cbz w0, LBB12_4 ; %bb.1: ldr w8, [x19, #20] cbnz w8, LBB12_3 ; %bb.2: ldr x20, [x19, #24] mov x0, x19 bl _free mov x19, x20 LBB12_3: Lloh9: adrp x8, _root@GOTPAGE Lloh10: ldr x8, [x8, _root@GOTPAGEOFF] Lloh11: str x19, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB12_4: Lloh12: adrp x0, l_str.15@PAGE Lloh13: add x0, x0, l_str.15@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _puts .loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .globl _searching ; -- Begin function searching .p2align 2 _searching: ; @searching .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ; kill: def $w0 killed $w0 def $x0 cbnz x2, LBB13_3 b LBB13_9 LBB13_1: ; in Loop: Header=BB13_3 Depth=1 mov x8, #0 str wzr, [x1] LBB13_2: ; in Loop: Header=BB13_3 Depth=1 lsl x8, x8, #32 add x8, x2, x8, asr #29 ldr x2, [x8, #24] cbz x2, LBB13_9 LBB13_3: ; =>This Loop Header: Depth=1 ; Child Loop BB13_5 Depth 2 ldr w8, [x2, #4] cmp w8, w0 b.gt LBB13_1 ; %bb.4: ; in Loop: Header=BB13_3 Depth=1 ldrsw x8, [x2, #20] LBB13_5: ; Parent Loop BB13_3 Depth=1 ; => This Inner Loop Header: Depth=2 str w8, [x1] ldr w10, [x2, x8, lsl #2] sub x9, x8, #1 cmp w10, w0 ccmp x8, #1, #4, gt mov x8, x9 b.gt LBB13_5 ; %bb.6: ; in Loop: Header=BB13_3 Depth=1 cmp w10, w0 b.eq LBB13_8 ; %bb.7: ; in Loop: Header=BB13_3 Depth=1 add x8, x9, #1 b LBB13_2 LBB13_8: str x0, [sp] Lloh14: adrp x0, l_.str.3@PAGE Lloh15: add x0, x0, l_.str.3@PAGEOFF bl _printf LBB13_9: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .globl _traversal ; -- Begin function traversal .p2align 2 _traversal: ; @traversal .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 cbz x0, LBB14_7 ; %bb.1: mov x19, x0 Lloh16: adrp x20, l_.str.4@PAGE Lloh17: add x20, x20, l_.str.4@PAGEOFF b LBB14_4 LBB14_2: ; in Loop: Header=BB14_4 Depth=1 mov x22, #0 LBB14_3: ; in Loop: Header=BB14_4 Depth=1 add x8, x19, w22, uxtw #3 ldr x19, [x8, #24] cbz x19, LBB14_7 LBB14_4: ; =>This Loop Header: Depth=1 ; Child Loop BB14_6 Depth 2 ldr w8, [x19, #20] cmp w8, #1 b.lt LBB14_2 ; %bb.5: ; in Loop: Header=BB14_4 Depth=1 mov x23, #0 add x21, x19, #24 LBB14_6: ; Parent Loop BB14_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x0, [x21, x23, lsl #3] bl _traversal add x22, x23, #1 add x8, x21, x23, lsl #2 ldur w8, [x8, #-20] str x8, [sp] mov x0, x20 bl _printf ldrsw x8, [x19, #20] mov x23, x22 cmp x22, x8 b.lt LBB14_6 b LBB14_3 LBB14_7: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh18: adrp x19, l_str.16@PAGE Lloh19: add x19, x19, l_str.16@PAGEOFF Lloh20: adrp x20, l_str.17@PAGE Lloh21: add x20, x20, l_str.17@PAGEOFF Lloh22: adrp x21, l_.str.7@PAGE Lloh23: add x21, x21, l_.str.7@PAGEOFF add x26, sp, #8 Lloh24: adrp x22, l_.str.8@PAGE Lloh25: add x22, x22, l_.str.8@PAGEOFF Lloh26: adrp x23, lJTI15_0@PAGE Lloh27: add x23, x23, lJTI15_0@PAGEOFF add x24, sp, #12 Lloh28: adrp x25, _root@GOTPAGE Lloh29: ldr x25, [x25, _root@GOTPAGEOFF] b LBB15_3 LBB15_1: ; in Loop: Header=BB15_3 Depth=1 ldr x0, [x25] bl _traversal LBB15_2: ; in Loop: Header=BB15_3 Depth=1 mov w0, #10 bl _putchar LBB15_3: ; =>This Loop Header: Depth=1 ; Child Loop BB15_11 Depth 2 ; Child Loop BB15_13 Depth 3 mov x0, x19 bl _puts mov x0, x20 bl _puts mov x0, x21 bl _printf str x26, [sp] mov x0, x22 bl _scanf ldr w8, [sp, #8] sub w8, w8, #1 cmp w8, #4 b.hi LBB15_16 ; %bb.4: ; in Loop: Header=BB15_3 Depth=1 adr x9, LBB15_1 ldrb w10, [x23, x8] add x9, x9, x10, lsl #2 br x9 LBB15_5: ; in Loop: Header=BB15_3 Depth=1 Lloh30: adrp x0, l_.str.9@PAGE Lloh31: add x0, x0, l_.str.9@PAGEOFF bl _printf str x24, [sp] mov x0, x22 bl _scanf ldr w0, [sp, #12] ldr x2, [x25] add x1, sp, #28 add x3, sp, #16 bl _setValueInNode cbz w0, LBB15_2 ; %bb.6: ; in Loop: Header=BB15_3 Depth=1 ldr w28, [sp, #28] ldr x27, [sp, #16] mov w0, #64 bl _malloc str w28, [x0, #4] mov w8, #1 str w8, [x0, #20] ldr x8, [x25] stp x8, x27, [x0, #24] str x0, [x25] b LBB15_2 LBB15_7: ; in Loop: Header=BB15_3 Depth=1 Lloh32: adrp x0, l_.str.11@PAGE Lloh33: add x0, x0, l_.str.11@PAGEOFF bl _printf str x24, [sp] mov x0, x22 bl _scanf ldr x9, [x25] cbz x9, LBB15_2 ; %bb.8: ; in Loop: Header=BB15_3 Depth=1 ldr w8, [sp, #12] b LBB15_11 LBB15_9: ; in Loop: Header=BB15_11 Depth=2 mov x10, #0 str wzr, [sp, #8] LBB15_10: ; in Loop: Header=BB15_11 Depth=2 lsl x10, x10, #32 add x9, x9, x10, asr #29 ldr x9, [x9, #24] cbz x9, LBB15_2 LBB15_11: ; Parent Loop BB15_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB15_13 Depth 3 ldr w10, [x9, #4] cmp w10, w8 b.gt LBB15_9 ; %bb.12: ; in Loop: Header=BB15_11 Depth=2 ldrsw x10, [x9, #20] LBB15_13: ; Parent Loop BB15_3 Depth=1 ; Parent Loop BB15_11 Depth=2 ; => This Inner Loop Header: Depth=3 str w10, [sp, #8] ldr w12, [x9, x10, lsl #2] sub x11, x10, #1 cmp w12, w8 ccmp x10, #1, #4, gt mov x10, x11 b.gt LBB15_13 ; %bb.14: ; in Loop: Header=BB15_11 Depth=2 cmp w12, w8 b.eq LBB15_23 ; %bb.15: ; in Loop: Header=BB15_11 Depth=2 add x10, x11, #1 b LBB15_10 LBB15_16: ; in Loop: Header=BB15_3 Depth=1 Lloh34: adrp x0, l_str.18@PAGE Lloh35: add x0, x0, l_str.18@PAGEOFF b LBB15_22 LBB15_17: ; in Loop: Header=BB15_3 Depth=1 Lloh36: adrp x0, l_.str.10@PAGE Lloh37: add x0, x0, l_.str.10@PAGEOFF bl _printf str x24, [sp] mov x0, x22 bl _scanf ldr w0, [sp, #12] ldr x28, [x25] mov x1, x28 bl _delValFromNode cbz w0, LBB15_21 ; %bb.18: ; in Loop: Header=BB15_3 Depth=1 ldr w8, [x28, #20] cbnz w8, LBB15_20 ; %bb.19: ; in Loop: Header=BB15_3 Depth=1 ldr x27, [x28, #24] mov x0, x28 bl _free mov x28, x27 LBB15_20: ; in Loop: Header=BB15_3 Depth=1 str x28, [x25] b LBB15_2 LBB15_21: ; in Loop: Header=BB15_3 Depth=1 Lloh38: adrp x0, l_str.15@PAGE Lloh39: add x0, x0, l_str.15@PAGEOFF LBB15_22: ; in Loop: Header=BB15_3 Depth=1 bl _puts b LBB15_2 LBB15_23: ; in Loop: Header=BB15_3 Depth=1 str x8, [sp] Lloh40: adrp x0, l_.str.3@PAGE Lloh41: add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB15_2 LBB15_24: mov w0, #0 bl _exit .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh40, Lloh41 .cfi_endproc .section __TEXT,__const lJTI15_0: .byte (LBB15_5-LBB15_1)>>2 .byte (LBB15_17-LBB15_1)>>2 .byte (LBB15_7-LBB15_1)>>2 .byte (LBB15_1-LBB15_1)>>2 .byte (LBB15_24-LBB15_1)>>2 ; -- End function .comm _root,8,3 ; @root .section __TEXT,__cstring,cstring_literals l_.str.3: ; @.str.3 .asciz "Given data %d is present in B-Tree" l_.str.4: ; @.str.4 .asciz "%d " l_.str.7: ; @.str.7 .asciz "5. Exit\nEnter your choice:" l_.str.8: ; @.str.8 .asciz "%d" l_.str.9: ; @.str.9 .asciz "Enter your input:" l_.str.10: ; @.str.10 .asciz "Enter the element to delete:" l_.str.11: ; @.str.11 .asciz "Enter the element to search:" l_str: ; @str .asciz "Duplicates not allowed" l_str.14: ; @str.14 .asciz "Given data is not present in B-Tree" l_str.15: ; @str.15 .asciz "Given value is not present in B-Tree" l_str.16: ; @str.16 .asciz "1. Insertion\t2. Deletion" l_str.17: ; @str.17 .asciz "3. Searching\t4. Traversal" l_str.18: ; @str.18 .asciz "U have entered wrong option!!" .subsections_via_symbols
the_stack_data/68888379.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function xfs_dir3_free_max_bests _xfs_dir3_free_max_bests: ## @xfs_dir3_free_max_bests .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq (%rdi), %rcx movabsq $17179869180, %rax ## imm = 0x3FFFFFFFC addq %rcx, %rax shrq $2, %rax ## kill: def $eax killed $eax killed $rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _xfs_dir3_free_max_bests .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function xfs_dir3_free_max_bests _xfs_dir3_free_max_bests: ; @xfs_dir3_free_max_bests .cfi_startproc ; %bb.0: ldrsw x8, [x0] mov x9, #17179869180 add x8, x8, x9 lsr x0, x8, #2 ; kill: def $w0 killed $w0 killed $x0 ret .cfi_endproc ; -- End function .no_dead_strip _xfs_dir3_free_max_bests .subsections_via_symbols
AnghaBench/linux/fs/xfs/libxfs/extr_xfs_da_format.c_xfs_dir3_free_max_bests.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rtllib_send_probe_requests _rtllib_send_probe_requests: ## @rtllib_send_probe_requests .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 cmpq $0, 8(%rdi) je LBB0_2 ## %bb.1: movq %rdi, %rbx movq _IEEE_SOFTMAC_PROBERQ@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rdi) je LBB0_2 ## %bb.3: movq %rbx, %rdi xorl %esi, %esi callq _rtllib_send_probe movq %rbx, %rdi xorl %esi, %esi addq $8, %rsp popq %rbx popq %rbp jmp _rtllib_send_probe ## TAILCALL LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _IEEE_SOFTMAC_PROBERQ,4,2 ## @IEEE_SOFTMAC_PROBERQ .no_dead_strip _rtllib_send_probe_requests .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rtllib_send_probe_requests _rtllib_send_probe_requests: ; @rtllib_send_probe_requests .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0, #8] cbz x8, LBB0_3 ; %bb.1: mov x19, x0 ldr w8, [x0] Lloh0: adrp x9, _IEEE_SOFTMAC_PROBERQ@GOTPAGE Lloh1: ldr x9, [x9, _IEEE_SOFTMAC_PROBERQ@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_3 ; %bb.2: mov x0, x19 mov w1, #0 bl _rtllib_send_probe mov x0, x19 mov w1, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _rtllib_send_probe 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 .cfi_endproc ; -- End function .comm _IEEE_SOFTMAC_PROBERQ,4,2 ; @IEEE_SOFTMAC_PROBERQ .no_dead_strip _rtllib_send_probe_requests .subsections_via_symbols
AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_softmac.c_rtllib_send_probe_requests.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _shellcode@GOTPCREL(%rip), %rax movq (%rax), %rbx movq %rbx, %rdi callq _strlen leaq L_.str(%rip), %rdi movl %eax, %esi callq _printf xorl %eax, %eax callq *%rbx xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _shellcode,8,3 ## @shellcode .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Length: %u\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: 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 x8, _shellcode@GOTPAGE Lloh1: ldr x8, [x8, _shellcode@GOTPAGEOFF] Lloh2: ldr x19, [x8] mov x0, x19 bl _strlen mov x1, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf blr x19 mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _shellcode,8,3 ; @shellcode .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Length: %u\n" .subsections_via_symbols
AnghaBench/exploitdb/shellcodes/linux_x86/extr_13372.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _req_act_vno ## @req_act_vno .p2align 2 _req_act_vno: .long 4 ## 0x4 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _req_act_vno ; @req_act_vno .p2align 2 _req_act_vno: .long 4 ; 0x4 .subsections_via_symbols
the_stack_data/162642186.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mvneta_bm_port_mbus_init _mvneta_bm_port_mbus_init: ## @mvneta_bm_port_mbus_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 %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq 8(%rdi), %rax movl (%rax), %edi leaq -28(%rbp), %rsi leaq -24(%rbp), %rdx leaq -20(%rbp), %rcx callq _mvebu_mbus_get_io_win_info testl %eax, %eax js LBB0_3 ## %bb.1: movl $-1, (%rbx) movq 8(%rbx), %rax movl (%rax), %esi movl -28(%rbp), %edx movl -24(%rbp), %ecx movl -20(%rbp), %r8d movq %rbx, %rdi callq _mvneta_mbus_io_win_set movl %eax, %r14d xorl %eax, %eax testl %r14d, %r14d jns LBB0_3 ## %bb.2: movl 4(%rbx), %edi leaq L_.str(%rip), %rsi callq _netdev_info movl %r14d, %eax LBB0_3: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "fail to configure mbus window to BM\n" .no_dead_strip _mvneta_bm_port_mbus_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mvneta_bm_port_mbus_init _mvneta_bm_port_mbus_init: ; @mvneta_bm_port_mbus_init .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 ldr x8, [x0, #8] ldr w0, [x8] add x1, sp, #12 add x2, sp, #8 add x3, sp, #4 bl _mvebu_mbus_get_io_win_info tbnz w0, #31, LBB0_3 ; %bb.1: mov w8, #-1 str w8, [x19] ldr x8, [x19, #8] ldr w1, [x8] ldp w3, w2, [sp, #8] ldr w4, [sp, #4] mov x0, x19 bl _mvneta_mbus_io_win_set tbnz w0, #31, LBB0_4 ; %bb.2: mov w20, #0 b LBB0_5 LBB0_3: mov x20, x0 b LBB0_5 LBB0_4: mov x20, x0 ldr w0, [x19, #4] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _netdev_info LBB0_5: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "fail to configure mbus window to BM\n" .no_dead_strip _mvneta_bm_port_mbus_init .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/marvell/extr_mvneta.c_mvneta_bm_port_mbus_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ngx_http_postpone_filter_add _ngx_http_postpone_filter_add: ## @ngx_http_postpone_filter_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 movq 8(%rdi), %rax testq %rax, %rax je LBB0_1 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %rax, %rbx movq 8(%rax), %rax testq %rax, %rax jne LBB0_2 ## %bb.3: cmpq $0, 16(%rbx) je LBB0_7 ## %bb.4: addq $8, %rbx jmp LBB0_5 LBB0_1: leaq 8(%r15), %rbx LBB0_5: movl (%r15), %edi movl $24, %esi callq _ngx_palloc testq %rax, %rax je LBB0_8 ## %bb.6: movq %rax, (%rbx) xorps %xmm0, %xmm0 movups %xmm0, (%rax) movq $0, 16(%rax) movq %rax, %rbx LBB0_7: movl (%r15), %edi movq %rbx, %rsi movq %r14, %rdx callq _ngx_chain_add_copy movq %rax, %rcx movq _NGX_OK@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq %rax, %rcx je LBB0_9 LBB0_8: movq _NGX_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax LBB0_9: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _NGX_ERROR,8,3 ## @NGX_ERROR .comm _NGX_OK,8,3 ## @NGX_OK .no_dead_strip _ngx_http_postpone_filter_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ngx_http_postpone_filter_add _ngx_http_postpone_filter_add: ; @ngx_http_postpone_filter_add .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 mov x21, x0 ldr x8, [x21, #8]! cbz x8, LBB0_4 LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x1, x8 ldr x8, [x8, #8] cbnz x8, LBB0_1 ; %bb.2: ldr x8, [x1, #16] cbz x8, LBB0_6 ; %bb.3: add x21, x1, #8 LBB0_4: ldr w0, [x20] mov w1, #24 bl _ngx_palloc cbz x0, LBB0_7 ; %bb.5: mov x1, x0 str x0, [x21] stp xzr, xzr, [x0] str xzr, [x0, #16] LBB0_6: ldr w0, [x20] mov x2, x19 bl _ngx_chain_add_copy Lloh0: adrp x8, _NGX_OK@GOTPAGE Lloh1: ldr x8, [x8, _NGX_OK@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _NGX_ERROR@GOTPAGE Lloh4: ldr x9, [x9, _NGX_ERROR@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x0, x8 csel x0, x8, x9, eq b LBB0_8 LBB0_7: Lloh6: adrp x8, _NGX_ERROR@GOTPAGE Lloh7: ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF] Lloh8: ldr x0, [x8] LBB0_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _NGX_ERROR,8,3 ; @NGX_ERROR .comm _NGX_OK,8,3 ; @NGX_OK .no_dead_strip _ngx_http_postpone_filter_add .subsections_via_symbols
AnghaBench/tengine/src/http/extr_ngx_http_postpone_filter_module.c_ngx_http_postpone_filter_add.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function int_stat_clear _int_stat_clear: ## @int_stat_clear .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 movl %esi, %ebx callq _spu_pdata movl (%rax), %edi movl %ebx, %esi movl %r14d, %edx xorl %ecx, %ecx popq %rbx popq %r14 popq %rbp jmp _lv1_clear_spe_interrupt_status ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _int_stat_clear .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function int_stat_clear _int_stat_clear: ; @int_stat_clear .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, x1 bl _spu_pdata ldr w0, [x0] mov x1, x20 mov x2, x19 mov w3, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _lv1_clear_spe_interrupt_status .cfi_endproc ; -- End function .no_dead_strip _int_stat_clear .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/powerpc/platforms/ps3/extr_spu.c_int_stat_clear.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function flv_same_audio_codec _flv_same_audio_codec: ## @flv_same_audio_codec .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _FLV_AUDIO_SAMPLESIZE_MASK@GOTPCREL(%rip), %rax movl (%rax), %r9d xorl %eax, %eax testl %esi, %r9d setne %cl movq _FLV_AUDIO_CODECID_MASK@GOTPCREL(%rip), %rdx movl (%rdx), %edx andl %esi, %edx movl (%rdi), %r8d testl %r8d, %r8d jne LBB0_2 ## %bb.1: cmpl $0, 4(%rdi) je LBB0_6 LBB0_2: movb %cl, %al leal 8(,%rax,8), %eax cmpl %eax, 8(%rdi) jne LBB0_24 ## %bb.3: leal -128(%rdx), %eax cmpl $10, %eax ja LBB0_17 ## %bb.4: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_5: movq _AV_CODEC_ID_NELLYMOSER@GOTPCREL(%rip), %rax jmp LBB0_21 LBB0_6: movb $1, %al jmp LBB0_23 LBB0_7: testl %esi, %r9d jne LBB0_8 ## %bb.13: movq _AV_CODEC_ID_PCM_U8@GOTPCREL(%rip), %rax jmp LBB0_9 LBB0_10: cmpl $8000, 12(%rdi) ## imm = 0x1F40 jne LBB0_24 ## %bb.11: movq _AV_CODEC_ID_PCM_ALAW@GOTPCREL(%rip), %rax jmp LBB0_21 LBB0_14: movq _AV_CODEC_ID_MP3@GOTPCREL(%rip), %rax jmp LBB0_21 LBB0_15: movq _AV_CODEC_ID_ADPCM_SWF@GOTPCREL(%rip), %rax jmp LBB0_21 LBB0_16: movq _AV_CODEC_ID_AAC@GOTPCREL(%rip), %rax jmp LBB0_21 LBB0_8: movq _AV_CODEC_ID_PCM_S16LE@GOTPCREL(%rip), %rax LBB0_9: cmpl %r8d, (%rax) jmp LBB0_22 LBB0_17: movq _FLV_AUDIO_CODECID_OFFSET@GOTPCREL(%rip), %rax movb (%rax), %cl sarl %cl, %edx cmpl %edx, 4(%rdi) jmp LBB0_22 LBB0_18: movq _AV_CODEC_ID_SPEEX@GOTPCREL(%rip), %rax jmp LBB0_21 LBB0_19: cmpl $8000, 12(%rdi) ## imm = 0x1F40 jne LBB0_24 ## %bb.20: movq _AV_CODEC_ID_PCM_MULAW@GOTPCREL(%rip), %rax LBB0_21: cmpl (%rax), %r8d LBB0_22: sete %al jmp LBB0_23 LBB0_24: xorl %eax, %eax LBB0_23: movzbl %al, %eax popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_18, LBB0_18-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 LJTI0_0: .long L0_0_set_18 .long L0_0_set_19 .long L0_0_set_7 .long L0_0_set_10 .long L0_0_set_7 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_14 .long L0_0_set_15 .long L0_0_set_16 .end_data_region ## -- End function .comm _FLV_AUDIO_SAMPLESIZE_MASK,4,2 ## @FLV_AUDIO_SAMPLESIZE_MASK .comm _FLV_AUDIO_CODECID_MASK,4,2 ## @FLV_AUDIO_CODECID_MASK .comm _AV_CODEC_ID_PCM_U8,4,2 ## @AV_CODEC_ID_PCM_U8 .comm _AV_CODEC_ID_PCM_S16LE,4,2 ## @AV_CODEC_ID_PCM_S16LE .comm _AV_CODEC_ID_AAC,4,2 ## @AV_CODEC_ID_AAC .comm _AV_CODEC_ID_ADPCM_SWF,4,2 ## @AV_CODEC_ID_ADPCM_SWF .comm _AV_CODEC_ID_SPEEX,4,2 ## @AV_CODEC_ID_SPEEX .comm _AV_CODEC_ID_MP3,4,2 ## @AV_CODEC_ID_MP3 .comm _AV_CODEC_ID_NELLYMOSER,4,2 ## @AV_CODEC_ID_NELLYMOSER .comm _AV_CODEC_ID_PCM_MULAW,4,2 ## @AV_CODEC_ID_PCM_MULAW .comm _AV_CODEC_ID_PCM_ALAW,4,2 ## @AV_CODEC_ID_PCM_ALAW .comm _FLV_AUDIO_CODECID_OFFSET,4,2 ## @FLV_AUDIO_CODECID_OFFSET .comm _AV_CODEC_ID_PCM_S16BE,4,2 ## @AV_CODEC_ID_PCM_S16BE .no_dead_strip _flv_same_audio_codec .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function flv_same_audio_codec _flv_same_audio_codec: ; @flv_same_audio_codec .cfi_startproc ; %bb.0: Lloh0: adrp x8, _FLV_AUDIO_SAMPLESIZE_MASK@GOTPAGE Lloh1: ldr x8, [x8, _FLV_AUDIO_SAMPLESIZE_MASK@GOTPAGEOFF] Lloh2: ldr w8, [x8] ands w9, w8, w1 mov w8, #16 mov w10, #8 csel w11, w10, w8, eq Lloh3: adrp x8, _FLV_AUDIO_CODECID_MASK@GOTPAGE Lloh4: ldr x8, [x8, _FLV_AUDIO_CODECID_MASK@GOTPAGEOFF] Lloh5: ldr w10, [x8] ldr w8, [x0] cbnz w8, LBB0_2 ; %bb.1: ldr w12, [x0, #4] cbz w12, LBB0_6 LBB0_2: ldr w12, [x0, #8] cmp w12, w11 b.ne LBB0_15 ; %bb.3: and w10, w10, w1 sub w11, w10, #128 cmp w11, #10 b.hi LBB0_12 ; %bb.4: Lloh6: adrp x10, lJTI0_0@PAGE Lloh7: add x10, x10, lJTI0_0@PAGEOFF adr x12, LBB0_5 ldrb w13, [x10, x11] add x12, x12, x13, lsl #2 br x12 LBB0_5: Lloh8: adrp x9, _AV_CODEC_ID_NELLYMOSER@GOTPAGE Lloh9: ldr x9, [x9, _AV_CODEC_ID_NELLYMOSER@GOTPAGEOFF] b LBB0_18 LBB0_6: mov w0, #1 ret LBB0_7: Lloh10: adrp x10, _AV_CODEC_ID_PCM_U8@GOTPAGE Lloh11: ldr x10, [x10, _AV_CODEC_ID_PCM_U8@GOTPAGEOFF] Lloh12: adrp x11, _AV_CODEC_ID_PCM_S16LE@GOTPAGE Lloh13: ldr x11, [x11, _AV_CODEC_ID_PCM_S16LE@GOTPAGEOFF] cmp w9, #0 csel x9, x10, x11, eq ldr w9, [x9] cmp w9, w8 cset w0, eq ret LBB0_8: Lloh14: adrp x9, _AV_CODEC_ID_SPEEX@GOTPAGE Lloh15: ldr x9, [x9, _AV_CODEC_ID_SPEEX@GOTPAGEOFF] b LBB0_18 LBB0_9: ldr w9, [x0, #12] mov w10, #8000 cmp w9, w10 b.ne LBB0_15 ; %bb.10: Lloh16: adrp x9, _AV_CODEC_ID_PCM_ALAW@GOTPAGE Lloh17: ldr x9, [x9, _AV_CODEC_ID_PCM_ALAW@GOTPAGEOFF] b LBB0_18 LBB0_11: Lloh18: adrp x9, _AV_CODEC_ID_ADPCM_SWF@GOTPAGE Lloh19: ldr x9, [x9, _AV_CODEC_ID_ADPCM_SWF@GOTPAGEOFF] b LBB0_18 LBB0_12: ldr w8, [x0, #4] Lloh20: adrp x9, _FLV_AUDIO_CODECID_OFFSET@GOTPAGE Lloh21: ldr x9, [x9, _FLV_AUDIO_CODECID_OFFSET@GOTPAGEOFF] Lloh22: ldr w9, [x9] asr w9, w10, w9 b LBB0_19 LBB0_13: ldr w9, [x0, #12] mov w10, #8000 cmp w9, w10 b.ne LBB0_15 ; %bb.14: Lloh23: adrp x9, _AV_CODEC_ID_PCM_MULAW@GOTPAGE Lloh24: ldr x9, [x9, _AV_CODEC_ID_PCM_MULAW@GOTPAGEOFF] b LBB0_18 LBB0_15: mov w0, #0 ret LBB0_16: Lloh25: adrp x9, _AV_CODEC_ID_MP3@GOTPAGE Lloh26: ldr x9, [x9, _AV_CODEC_ID_MP3@GOTPAGEOFF] b LBB0_18 LBB0_17: Lloh27: adrp x9, _AV_CODEC_ID_AAC@GOTPAGE Lloh28: ldr x9, [x9, _AV_CODEC_ID_AAC@GOTPAGEOFF] LBB0_18: ldr w9, [x9] LBB0_19: cmp w8, w9 cset w0, eq ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGot Lloh27, Lloh28 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_8-LBB0_5)>>2 .byte (LBB0_13-LBB0_5)>>2 .byte (LBB0_7-LBB0_5)>>2 .byte (LBB0_9-LBB0_5)>>2 .byte (LBB0_7-LBB0_5)>>2 .byte (LBB0_5-LBB0_5)>>2 .byte (LBB0_5-LBB0_5)>>2 .byte (LBB0_5-LBB0_5)>>2 .byte (LBB0_16-LBB0_5)>>2 .byte (LBB0_11-LBB0_5)>>2 .byte (LBB0_17-LBB0_5)>>2 ; -- End function .comm _FLV_AUDIO_SAMPLESIZE_MASK,4,2 ; @FLV_AUDIO_SAMPLESIZE_MASK .comm _FLV_AUDIO_CODECID_MASK,4,2 ; @FLV_AUDIO_CODECID_MASK .comm _AV_CODEC_ID_PCM_U8,4,2 ; @AV_CODEC_ID_PCM_U8 .comm _AV_CODEC_ID_PCM_S16LE,4,2 ; @AV_CODEC_ID_PCM_S16LE .comm _AV_CODEC_ID_AAC,4,2 ; @AV_CODEC_ID_AAC .comm _AV_CODEC_ID_ADPCM_SWF,4,2 ; @AV_CODEC_ID_ADPCM_SWF .comm _AV_CODEC_ID_SPEEX,4,2 ; @AV_CODEC_ID_SPEEX .comm _AV_CODEC_ID_MP3,4,2 ; @AV_CODEC_ID_MP3 .comm _AV_CODEC_ID_NELLYMOSER,4,2 ; @AV_CODEC_ID_NELLYMOSER .comm _AV_CODEC_ID_PCM_MULAW,4,2 ; @AV_CODEC_ID_PCM_MULAW .comm _AV_CODEC_ID_PCM_ALAW,4,2 ; @AV_CODEC_ID_PCM_ALAW .comm _FLV_AUDIO_CODECID_OFFSET,4,2 ; @FLV_AUDIO_CODECID_OFFSET .comm _AV_CODEC_ID_PCM_S16BE,4,2 ; @AV_CODEC_ID_PCM_S16BE .no_dead_strip _flv_same_audio_codec .subsections_via_symbols
AnghaBench/FFmpeg/libavformat/extr_flvdec.c_flv_same_audio_codec.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nilfs_btnode_prepare_change_key ## -- Begin function nilfs_btnode_prepare_change_key .p2align 4, 0x90 _nilfs_btnode_prepare_change_key: ## @nilfs_btnode_prepare_change_key .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r15 callq _NILFS_BTNC_I movq (%rbx), %rcx movq %rbx, -48(%rbp) ## 8-byte Spill movq 8(%rbx), %r12 xorl %r14d, %r14d movq %rcx, -72(%rbp) ## 8-byte Spill cmpq %r12, %rcx je LBB0_14 ## %bb.1: movq -48(%rbp), %rcx ## 8-byte Reload movq 24(%rcx), %r14 movq $0, 16(%rcx) movq (%rax), %rax movq _PAGE_CACHE_SHIFT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_12 ## %bb.2: movq (%r14), %rdi callq _lock_page leaq 4(%r15), %rax movq %rax, -64(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq ___GFP_HIGHMEM@GOTPCREL(%rip), %rax movl (%rax), %edi notl %edi movq _GFP_NOFS@GOTPCREL(%rip), %rax andl (%rax), %edi callq _radix_tree_preload testl %eax, %eax jne LBB0_4 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movq (%r14), %rax xorl %edi, %edi movq -72(%rbp), %rbx ## 8-byte Reload cmpq (%rax), %rbx setne %dil callq _unlikely testq %rax, %rax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 movq (%r14), %rdi leaq L_.str(%rip), %rsi movq %rbx, %rdx movq %r12, %rcx callq _NILFS_PAGE_BUG LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movq %r15, %rdi callq _spin_lock_irq movq %r14, %rbx movq (%r14), %rdx movq -64(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi callq _radix_tree_insert movl %eax, %r13d movq %r15, %rdi callq _spin_unlock_irq xorl %r14d, %r14d xorl %eax, %eax callq _radix_tree_preload_end testl %r13d, %r13d je LBB0_14 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 movq _EEXIST@GOTPCREL(%rip), %rax movl (%rax), %eax addl %r13d, %eax movq %rbx, %r14 jne LBB0_5 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 movq %r15, %rdi movq %r12, %rsi movq %r12, %rdx callq _invalidate_inode_pages2_range testl %eax, %eax je LBB0_3 ## %bb.11: movq (%r14), %rdi callq _unlock_page LBB0_12: movq %r14, %rbx leaq -56(%rbp), %rcx movq %r15, %rdi movq %r12, %rsi xorl %edx, %edx movl $1, %r8d callq _nilfs_btnode_get movl %eax, %r14d xorl %edi, %edi testl %eax, %eax sete %dil callq _likely testq %rax, %rax je LBB0_14 ## %bb.13: xorl %edi, %edi cmpq %rbx, -56(%rbp) sete %dil callq _BUG_ON movq -56(%rbp), %rax movq -48(%rbp), %rcx ## 8-byte Reload movq %rax, 16(%rcx) jmp LBB0_14 LBB0_4: movl %eax, %r13d LBB0_5: movq (%r14), %rdi callq _unlock_page movl %r13d, %r14d LBB0_14: movl %r14d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PAGE_CACHE_SHIFT,8,3 ## @PAGE_CACHE_SHIFT .comm _GFP_NOFS,4,2 ## @GFP_NOFS .comm ___GFP_HIGHMEM,4,2 ## @__GFP_HIGHMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "invalid oldkey %lld (newkey=%lld)" .comm _EEXIST,4,2 ## @EEXIST .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nilfs_btnode_prepare_change_key ; -- Begin function nilfs_btnode_prepare_change_key .p2align 2 _nilfs_btnode_prepare_change_key: ; @nilfs_btnode_prepare_change_key .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 bl _NILFS_BTNC_I ldp x22, x21, [x19] cmp x22, x21 b.ne LBB0_2 ; %bb.1: mov w25, #0 b LBB0_15 LBB0_2: ldr x26, [x19, #24] str xzr, [x19, #16] ldr x8, [x0] Lloh0: adrp x9, _PAGE_CACHE_SHIFT@GOTPAGE Lloh1: ldr x9, [x9, _PAGE_CACHE_SHIFT@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_11 ; %bb.3: ldr x0, [x26] bl _lock_page add x23, x20, #4 Lloh3: adrp x27, _GFP_NOFS@GOTPAGE Lloh4: ldr x27, [x27, _GFP_NOFS@GOTPAGEOFF] Lloh5: adrp x28, ___GFP_HIGHMEM@GOTPAGE Lloh6: ldr x28, [x28, ___GFP_HIGHMEM@GOTPAGEOFF] Lloh7: adrp x24, _EEXIST@GOTPAGE Lloh8: ldr x24, [x24, _EEXIST@GOTPAGEOFF] LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w8, [x27] ldr w9, [x28] bic w0, w8, w9 bl _radix_tree_preload cbnz w0, LBB0_13 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x26] ldr x8, [x8] cmp x22, x8 cset w0, ne bl _unlikely cbz x0, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr x0, [x26] Lloh9: adrp x1, l_.str@PAGE Lloh10: add x1, x1, l_.str@PAGEOFF mov x2, x22 mov x3, x21 bl _NILFS_PAGE_BUG LBB0_7: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 bl _spin_lock_irq ldr x2, [x26] mov x0, x23 mov x1, x21 bl _radix_tree_insert mov x25, x0 mov x0, x20 bl _spin_unlock_irq bl _radix_tree_preload_end cbz w25, LBB0_15 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x24] cmn w25, w8 b.ne LBB0_14 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 mov x1, x21 mov x2, x21 bl _invalidate_inode_pages2_range cbz w0, LBB0_4 ; %bb.10: ldr x0, [x26] bl _unlock_page LBB0_11: add x3, sp, #8 mov x0, x20 mov x1, x21 mov w2, #0 mov w4, #1 bl _nilfs_btnode_get mov x25, x0 cmp w0, #0 cset w0, eq bl _likely cbz x0, LBB0_15 ; %bb.12: ldr x8, [sp, #8] cmp x8, x26 cset w0, eq bl _BUG_ON ldr x8, [sp, #8] str x8, [x19, #16] b LBB0_15 LBB0_13: mov x25, x0 LBB0_14: ldr x0, [x26] bl _unlock_page LBB0_15: mov x0, x25 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 AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _PAGE_CACHE_SHIFT,8,3 ; @PAGE_CACHE_SHIFT .comm _GFP_NOFS,4,2 ; @GFP_NOFS .comm ___GFP_HIGHMEM,4,2 ; @__GFP_HIGHMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "invalid oldkey %lld (newkey=%lld)" .comm _EEXIST,4,2 ; @EEXIST .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/nilfs2/extr_btnode.c_nilfs_btnode_prepare_change_key.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bh1750_change_int_time _bh1750_change_int_time: ## @bh1750_change_int_time .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, %eax movq 8(%rdi), %rbx cltd idivl (%rbx) testl %edx, %edx jne LBB0_1 ## %bb.2: movl %eax, %r14d cmpl 4(%rbx), %eax jl LBB0_1 ## %bb.3: cmpl 8(%rbx), %r14d jle LBB0_4 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_8: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_4: movq %rdi, %r15 movl 4(%rdi), %edi movq _BH1750_POWER_DOWN@GOTPCREL(%rip), %rax movl (%rax), %esi callq _i2c_smbus_write_byte testl %eax, %eax js LBB0_8 ## %bb.5: movl 12(%rbx), %esi andl %r14d, %esi sarl $5, %esi movl 4(%r15), %edi movq _BH1750_CHANGE_INT_TIME_H_BIT@GOTPCREL(%rip), %rax orl (%rax), %esi callq _i2c_smbus_write_byte testl %eax, %eax js LBB0_8 ## %bb.6: movl 16(%rbx), %esi andl %r14d, %esi movl 4(%r15), %edi movq _BH1750_CHANGE_INT_TIME_L_BIT@GOTPCREL(%rip), %rax orl (%rax), %esi callq _i2c_smbus_write_byte testl %eax, %eax js LBB0_8 ## %bb.7: movl %r14d, (%r15) xorl %eax, %eax jmp LBB0_8 .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _BH1750_POWER_DOWN,4,2 ## @BH1750_POWER_DOWN .comm _BH1750_CHANGE_INT_TIME_H_BIT,4,2 ## @BH1750_CHANGE_INT_TIME_H_BIT .comm _BH1750_CHANGE_INT_TIME_L_BIT,4,2 ## @BH1750_CHANGE_INT_TIME_L_BIT .no_dead_strip _bh1750_change_int_time .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bh1750_change_int_time _bh1750_change_int_time: ; @bh1750_change_int_time .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr x21, [x0, #8] ldr w8, [x21] sdiv w20, w1, w8 msub w8, w20, w8, w1 cbnz w8, LBB0_3 ; %bb.1: ldr w8, [x21, #4] cmp w20, w8 b.lt LBB0_3 ; %bb.2: ldr w8, [x21, #8] cmp w20, w8 b.le LBB0_5 LBB0_3: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 LBB0_4: ldp x29, x30, [sp, #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_5: mov x19, x0 ldr w0, [x0, #4] Lloh3: adrp x8, _BH1750_POWER_DOWN@GOTPAGE Lloh4: ldr x8, [x8, _BH1750_POWER_DOWN@GOTPAGEOFF] Lloh5: ldr w1, [x8] bl _i2c_smbus_write_byte tbnz w0, #31, LBB0_4 ; %bb.6: ldr w8, [x21, #12] and w8, w8, w20 ldr w0, [x19, #4] Lloh6: adrp x9, _BH1750_CHANGE_INT_TIME_H_BIT@GOTPAGE Lloh7: ldr x9, [x9, _BH1750_CHANGE_INT_TIME_H_BIT@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w1, w9, w8, asr #5 bl _i2c_smbus_write_byte tbnz w0, #31, LBB0_4 ; %bb.7: ldr w8, [x21, #16] and w8, w8, w20 ldr w0, [x19, #4] Lloh9: adrp x9, _BH1750_CHANGE_INT_TIME_L_BIT@GOTPAGE Lloh10: ldr x9, [x9, _BH1750_CHANGE_INT_TIME_L_BIT@GOTPAGEOFF] Lloh11: ldr w9, [x9] orr w1, w9, w8 bl _i2c_smbus_write_byte tbnz w0, #31, LBB0_4 ; %bb.8: mov w0, #0 str w20, [x19] b LBB0_4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _BH1750_POWER_DOWN,4,2 ; @BH1750_POWER_DOWN .comm _BH1750_CHANGE_INT_TIME_H_BIT,4,2 ; @BH1750_CHANGE_INT_TIME_H_BIT .comm _BH1750_CHANGE_INT_TIME_L_BIT,4,2 ; @BH1750_CHANGE_INT_TIME_L_BIT .no_dead_strip _bh1750_change_int_time .subsections_via_symbols
AnghaBench/linux/drivers/iio/light/extr_bh1750.c_bh1750_change_int_time.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_iterators _test_iterators: ## @test_iterators .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, -104(%rbp) ## 8-byte Spill movq %rdx, -96(%rbp) ## 8-byte Spill movq %rsi, %r15 movq %rdi, %r12 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf testq %r15, %r15 je LBB0_3 ## %bb.1: leaq L_.str.1(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r12,%rbx,4), %esi movq %r14, %rdi xorl %eax, %eax callq _printf incq %rbx cmpq %rbx, %r15 jne LBB0_2 LBB0_3: movq %r12, -80(%rbp) ## 8-byte Spill movq %r15, -88(%rbp) ## 8-byte Spill movl $10, %edi callq _putchar leaq L_.str.1(%rip), %r14 xorl %ecx, %ecx jmp LBB0_4 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_4 Depth=1 movl $10, %edi callq _putchar movq -112(%rbp), %rcx ## 8-byte Reload incq %rcx cmpq $3, %rcx je LBB0_14 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 ## Child Loop BB0_11 Depth 3 movq -96(%rbp), %rax ## 8-byte Reload movq (%rax,%rcx,8), %r15 movq -104(%rbp), %rax ## 8-byte Reload movq (%rax,%rcx,8), %r12 movl $1, %r13d movq %rcx, -112(%rbp) ## 8-byte Spill ## kill: def $cl killed $cl killed $rcx shll %cl, %r13d leaq L_.str.3(%rip), %rdi movl %r13d, %esi xorl %eax, %eax callq _printf leaq -64(%rbp), %rdi movq -80(%rbp), %rsi ## 8-byte Reload movq -88(%rbp), %rdx ## 8-byte Reload xorl %ecx, %ecx callq _hxxx_iterator_init leaq -60(%rbp), %rdi movq %r15, %rsi movq %r12, %rdx movl %r13d, %ecx callq _hxxx_iterator_init xorl %r15d, %r15d jmp LBB0_5 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_5 Depth=2 incl %r15d movl $10, %edi callq _putchar LBB0_5: ## Parent Loop BB0_4 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_11 Depth 3 movq $0, -56(%rbp) movq $0, -72(%rbp) leaq -64(%rbp), %rdi leaq -56(%rbp), %rsi leaq -48(%rbp), %rdx callq _hxxx_annexb_iterate_next movl %eax, %r13d leaq -60(%rbp), %rdi leaq -72(%rbp), %rsi leaq -120(%rbp), %rdx callq _hxxx_iterate_next movl %eax, %r12d leaq L_.str.4(%rip), %rdi movl %r15d, %esi xorl %eax, %eax callq _printf cmpl %r12d, %r13d je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 leaq L_.str.5(%rip), %rdi movl %r13d, %esi movl %r12d, %edx xorl %eax, %eax callq _printf LBB0_7: ## in Loop: Header=BB0_5 Depth=2 xorl %edi, %edi cmpl %r12d, %r13d sete %dil callq _assert testl %r13d, %r13d je LBB0_13 ## %bb.8: ## in Loop: Header=BB0_5 Depth=2 testl %r12d, %r12d je LBB0_13 ## %bb.9: ## in Loop: Header=BB0_5 Depth=2 movq -48(%rbp), %rax xorl %edi, %edi cmpq -120(%rbp), %rax sete %dil callq _assert movq -56(%rbp), %rdi movq -72(%rbp), %rsi movq -48(%rbp), %rdx callq _memcmp xorl %edi, %edi testq %rax, %rax sete %dil callq _assert cmpq $0, -48(%rbp) je LBB0_12 ## %bb.10: ## in Loop: Header=BB0_5 Depth=2 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_11: ## Parent Loop BB0_4 Depth=1 ## Parent Loop BB0_5 Depth=2 ## => This Inner Loop Header: Depth=3 movq -56(%rbp), %rax movl (%rax,%rbx,4), %esi movq %r14, %rdi xorl %eax, %eax callq _printf incq %rbx cmpq -48(%rbp), %rbx jb LBB0_11 jmp LBB0_12 LBB0_14: addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "INPUT SET : " L_.str.1: ## @.str.1 .asciz "0x%.2x, " L_.str.3: ## @.str.3 .asciz "Test with prefix len %d:\n" L_.str.4: ## @.str.4 .asciz "NAL %d " L_.str.5: ## @.str.5 .asciz ", returns %d != %d\n" .no_dead_strip _test_iterators .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_iterators _test_iterators: ; @test_iterators .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x28, x27, [sp, #64] ; 16-byte Folded Spill stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str x3, [sp, #16] ; 8-byte Folded Spill mov x20, x2 mov x21, x1 mov x22, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf cbz x21, LBB0_3 ; %bb.1: Lloh2: adrp x23, l_.str.1@PAGE Lloh3: add x23, x23, l_.str.1@PAGEOFF mov x19, x22 mov x24, x21 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19], #4 str x8, [sp] mov x0, x23 bl _printf subs x24, x24, #1 b.ne LBB0_2 LBB0_3: mov w0, #10 bl _putchar mov x19, #0 Lloh4: adrp x24, l_.str.4@PAGE Lloh5: add x24, x24, l_.str.4@PAGEOFF Lloh6: adrp x25, l_.str.1@PAGE Lloh7: add x25, x25, l_.str.1@PAGEOFF Lloh8: adrp x26, l_.str.5@PAGE Lloh9: add x26, x26, l_.str.5@PAGEOFF b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 mov w0, #10 bl _putchar add x19, x19, #1 cmp x19, #3 b.eq LBB0_14 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ; Child Loop BB0_13 Depth 3 lsl x8, x19, #3 ldr x27, [x20, x8] ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x28, [x9, x8] mov w8, #1 lsl w23, w8, w19 str x23, [sp] Lloh10: adrp x0, l_.str.3@PAGE Lloh11: add x0, x0, l_.str.3@PAGEOFF bl _printf add x0, sp, #60 mov x1, x22 mov x2, x21 mov w3, #0 bl _hxxx_iterator_init add x0, sp, #56 mov x1, x27 mov x2, x28 mov x3, x23 bl _hxxx_iterator_init mov w23, #0 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=2 add w23, w23, #1 mov w0, #10 bl _putchar LBB0_7: ; Parent Loop BB0_5 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_13 Depth 3 str xzr, [sp, #48] str xzr, [sp, #32] add x0, sp, #60 add x1, sp, #48 add x2, sp, #40 bl _hxxx_annexb_iterate_next mov x27, x0 add x0, sp, #56 add x1, sp, #32 add x2, sp, #24 bl _hxxx_iterate_next mov x28, x0 str x23, [sp] mov x0, x24 bl _printf cmp w27, w28 b.eq LBB0_9 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 stp x27, x28, [sp] mov x0, x26 bl _printf LBB0_9: ; in Loop: Header=BB0_7 Depth=2 cmp w27, w28 cset w0, eq bl _assert cbz w27, LBB0_4 ; %bb.10: ; in Loop: Header=BB0_7 Depth=2 cbz w28, LBB0_4 ; %bb.11: ; in Loop: Header=BB0_7 Depth=2 ldr x8, [sp, #40] ldr x9, [sp, #24] cmp x8, x9 cset w0, eq bl _assert ldp x2, x0, [sp, #40] ldr x1, [sp, #32] bl _memcmp cmp x0, #0 cset w0, eq bl _assert ldr x8, [sp, #40] cbz x8, LBB0_6 ; %bb.12: ; in Loop: Header=BB0_7 Depth=2 mov x27, #0 LBB0_13: ; Parent Loop BB0_5 Depth=1 ; Parent Loop BB0_7 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x8, [sp, #48] ldr w8, [x8, x27, lsl #2] str x8, [sp] mov x0, x25 bl _printf add x27, x27, #1 ldr x8, [sp, #40] cmp x27, x8 b.lo LBB0_13 b LBB0_6 LBB0_14: ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload ldp x22, x21, [sp, #112] ; 16-byte Folded Reload ldp x24, x23, [sp, #96] ; 16-byte Folded Reload ldp x26, x25, [sp, #80] ; 16-byte Folded Reload ldp x28, x27, [sp, #64] ; 16-byte Folded Reload add sp, sp, #160 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "INPUT SET : " l_.str.1: ; @.str.1 .asciz "0x%.2x, " l_.str.3: ; @.str.3 .asciz "Test with prefix len %d:\n" l_.str.4: ; @.str.4 .asciz "NAL %d " l_.str.5: ; @.str.5 .asciz ", returns %d != %d\n" .no_dead_strip _test_iterators .subsections_via_symbols
AnghaBench/vlc/test/modules/packetizer/extr_hxxx.c_test_iterators.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function print _print: ## @print .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 (%rdi), %eax addl $-128, %eax cmpl $10, %eax ja LBB0_31 ## %bb.1: movq %rsi, %r14 movq %rdi, %rbx leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_27: movl 16(%rbx), %eax decl %eax cmpl $7, %eax ja LBB0_31 ## %bb.28: leaq LJTI0_1(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_26: movq %rbx, %rdi movq %r14, %rsi addq $32, %rsp popq %rbx popq %r14 popq %rbp jmp _conv_u ## TAILCALL LBB0_25: movq 8(%rbx), %rsi leaq L_.str.1(%rip), %rdi jmp LBB0_4 LBB0_24: movq 8(%rbx), %rdi movq %r14, %rsi jmp LBB0_4 LBB0_19: movq 8(%rbx), %rbx movsbl (%r14), %edi callq _isprint testl %eax, %eax je LBB0_20 ## %bb.21: movsbl (%r14), %esi jmp LBB0_22 LBB0_17: movl 16(%rbx), %eax decl %eax cmpl $7, %eax ja LBB0_31 ## %bb.18: leaq LJTI0_2(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_30: leaq -32(%rbp), %rsi movl $8, %edx movq %r14, %rdi xorl %eax, %eax callq _bcopy movq 8(%rbx), %rdi movq -32(%rbp), %rsi xorl %eax, %eax callq _printf jmp LBB0_31 LBB0_10: movl 16(%rbx), %eax cmpl $16, %eax je LBB0_16 ## %bb.11: cmpl $8, %eax je LBB0_14 ## %bb.12: cmpl $4, %eax jne LBB0_31 ## %bb.13: leaq -32(%rbp), %rsi movl $4, %edx movq %r14, %rdi xorl %eax, %eax callq _bcopy movq 8(%rbx), %rdi movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 jmp LBB0_15 LBB0_9: movq 8(%rbx), %rdi movsbl (%r14), %esi jmp LBB0_23 LBB0_5: movq _eaddress@GOTPCREL(%rip), %rax movl (%rax), %ecx testl %ecx, %ecx je LBB0_7 ## %bb.6: movq _address@GOTPCREL(%rip), %rax subl (%rax), %ecx jmp LBB0_8 LBB0_3: movq 8(%rbx), %rdi leaq L_.str(%rip), %rsi jmp LBB0_4 LBB0_2: movq 8(%rbx), %rdi movq _address@GOTPCREL(%rip), %rax movslq (%rax), %rsi jmp LBB0_4 LBB0_20: movl $46, %esi LBB0_22: movq %rbx, %rdi LBB0_23: xorl %eax, %eax addq $32, %rsp popq %rbx popq %r14 popq %rbp jmp _printf ## TAILCALL LBB0_29: movq 8(%rbx), %rdi movsbq (%r14), %rsi LBB0_4: xorl %eax, %eax addq $32, %rsp popq %rbx popq %r14 popq %rbp jmp _printf ## TAILCALL LBB0_7: movq _blocksize@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _address@GOTPCREL(%rip), %rax movl (%rax), %eax cltd idivl %ecx subl %edx, %ecx LBB0_8: movq %rbx, %rdi movq %r14, %rsi movl %ecx, %edx addq $32, %rsp popq %rbx popq %r14 popq %rbp jmp _conv_c ## TAILCALL LBB0_16: leaq -32(%rbp), %rsi movl $16, %edx movq %r14, %rdi xorl %eax, %eax callq _bcopy movq 8(%rbx), %rdi fldt -32(%rbp) fstpt (%rsp) xorl %eax, %eax callq _printf jmp LBB0_31 LBB0_14: leaq -32(%rbp), %rsi movl $8, %edx movq %r14, %rdi xorl %eax, %eax callq _bcopy movq 8(%rbx), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero LBB0_15: movb $1, %al callq _printf LBB0_31: addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_27, LBB0_27-LJTI0_0 .set L0_0_set_26, LBB0_26-LJTI0_0 .set L0_0_set_25, LBB0_25-LJTI0_0 .set L0_0_set_24, LBB0_24-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 LJTI0_0: .long L0_0_set_27 .long L0_0_set_26 .long L0_0_set_25 .long L0_0_set_24 .long L0_0_set_19 .long L0_0_set_17 .long L0_0_set_10 .long L0_0_set_9 .long L0_0_set_5 .long L0_0_set_3 .long L0_0_set_2 .set L0_1_set_29, LBB0_29-LJTI0_1 .set L0_1_set_30, LBB0_30-LJTI0_1 .set L0_1_set_31, LBB0_31-LJTI0_1 LJTI0_1: .long L0_1_set_29 .long L0_1_set_30 .long L0_1_set_31 .long L0_1_set_30 .long L0_1_set_31 .long L0_1_set_31 .long L0_1_set_31 .long L0_1_set_30 .set L0_2_set_29, LBB0_29-LJTI0_2 .set L0_2_set_30, LBB0_30-LJTI0_2 .set L0_2_set_31, LBB0_31-LJTI0_2 LJTI0_2: .long L0_2_set_29 .long L0_2_set_30 .long L0_2_set_31 .long L0_2_set_30 .long L0_2_set_31 .long L0_2_set_31 .long L0_2_set_31 .long L0_2_set_30 .end_data_region ## -- End function .comm _address,4,2 ## @address .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 .comm _eaddress,4,2 ## @eaddress .comm _blocksize,4,2 ## @blocksize L_.str.1: ## @.str.1 .asciz "%s" .no_dead_strip _print .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function print _print: ; @print .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 ldr w8, [x0] sub w8, w8, #128 cmp w8, #10 b.hi LBB0_22 ; %bb.1: mov x20, x1 mov x19, x0 Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: ldr w8, [x19, #16] sub w8, w8, #1 cmp w8, #7 b.hi LBB0_22 ; %bb.3: Lloh2: adrp x9, lJTI0_1@PAGE Lloh3: add x9, x9, lJTI0_1@PAGEOFF adr x10, LBB0_12 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_4: mov x0, x19 mov x1, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 b _conv_u LBB0_5: ldr x0, [x19, #8] str x20, [sp] b LBB0_21 LBB0_6: ldr x0, [x19, #8] Lloh4: adrp x8, l_.str@PAGE Lloh5: add x8, x8, l_.str@PAGEOFF b LBB0_20 LBB0_7: ldr x8, [x19, #8] str x8, [sp] Lloh6: adrp x0, l_.str.1@PAGE Lloh7: add x0, x0, l_.str.1@PAGEOFF b LBB0_21 LBB0_8: ldr x19, [x19, #8] ldrsb w0, [x20] bl _isprint cbz w0, LBB0_23 ; %bb.9: ldrsb w8, [x20] b LBB0_24 LBB0_10: ldr w8, [x19, #16] sub w8, w8, #1 cmp w8, #7 b.hi LBB0_22 ; %bb.11: Lloh8: adrp x9, lJTI0_2@PAGE Lloh9: add x9, x9, lJTI0_2@PAGEOFF adr x10, LBB0_12 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_12: mov w8, #8 add x9, sp, #24 stp x9, x8, [sp] mov x0, x20 bl _bcopy ldr x0, [x19, #8] ldr x8, [sp, #24] b LBB0_20 LBB0_13: ldr x0, [x19, #8] ldrsb x8, [x20] b LBB0_20 LBB0_14: ldr w8, [x19, #16] cmp w8, #8 b.eq LBB0_27 ; %bb.15: cmp w8, #4 b.ne LBB0_22 ; %bb.16: mov w8, #4 add x9, sp, #24 stp x9, x8, [sp] mov x0, x20 bl _bcopy ldr x0, [x19, #8] ldr s0, [sp, #24] fcvt d0, s0 str d0, [sp] b LBB0_21 LBB0_17: Lloh10: adrp x8, _eaddress@GOTPAGE Lloh11: ldr x8, [x8, _eaddress@GOTPAGEOFF] Lloh12: ldr w8, [x8] cbz w8, LBB0_25 ; %bb.18: Lloh13: adrp x9, _address@GOTPAGE Lloh14: ldr x9, [x9, _address@GOTPAGEOFF] Lloh15: ldr w9, [x9] sub w2, w8, w9 b LBB0_26 LBB0_19: ldr x0, [x19, #8] Lloh16: adrp x8, _address@GOTPAGE Lloh17: ldr x8, [x8, _address@GOTPAGEOFF] Lloh18: ldrsw x8, [x8] LBB0_20: str x8, [sp] LBB0_21: bl _printf LBB0_22: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_23: mov w8, #46 LBB0_24: str x8, [sp] mov x0, x19 b LBB0_21 LBB0_25: Lloh19: adrp x8, _blocksize@GOTPAGE Lloh20: ldr x8, [x8, _blocksize@GOTPAGEOFF] Lloh21: adrp x9, _address@GOTPAGE Lloh22: ldr x9, [x9, _address@GOTPAGEOFF] Lloh23: ldr w8, [x8] Lloh24: ldr w9, [x9] sdiv w10, w9, w8 neg w9, w9 madd w9, w10, w8, w9 add w2, w8, w9 LBB0_26: mov x0, x19 mov x1, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 b _conv_c LBB0_27: mov w8, #8 add x9, sp, #24 stp x9, x8, [sp] mov x0, x20 bl _bcopy ldr x0, [x19, #8] ldr d0, [sp, #24] str d0, [sp] b LBB0_21 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh23 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_8-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 .byte (LBB0_14-LBB0_2)>>2 .byte (LBB0_13-LBB0_2)>>2 .byte (LBB0_17-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_19-LBB0_2)>>2 lJTI0_1: .byte (LBB0_13-LBB0_12)>>2 .byte (LBB0_12-LBB0_12)>>2 .byte (LBB0_22-LBB0_12)>>2 .byte (LBB0_12-LBB0_12)>>2 .byte (LBB0_22-LBB0_12)>>2 .byte (LBB0_22-LBB0_12)>>2 .byte (LBB0_22-LBB0_12)>>2 .byte (LBB0_12-LBB0_12)>>2 lJTI0_2: .byte (LBB0_13-LBB0_12)>>2 .byte (LBB0_12-LBB0_12)>>2 .byte (LBB0_22-LBB0_12)>>2 .byte (LBB0_12-LBB0_12)>>2 .byte (LBB0_22-LBB0_12)>>2 .byte (LBB0_22-LBB0_12)>>2 .byte (LBB0_22-LBB0_12)>>2 .byte (LBB0_12-LBB0_12)>>2 ; -- End function .comm _address,4,2 ; @address .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 .comm _eaddress,4,2 ; @eaddress .comm _blocksize,4,2 ; @blocksize l_.str.1: ; @.str.1 .asciz "%s" .no_dead_strip _print .subsections_via_symbols
AnghaBench/freebsd/usr.bin/hexdump/extr_display.c_print.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ieee80211_mps_sta_status_update ## -- Begin function ieee80211_mps_sta_status_update .p2align 4, 0x90 _ieee80211_mps_sta_status_update: ## @ieee80211_mps_sta_status_update .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq (%rdi), %rax movq _NL80211_PLINK_ESTAB@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movq 8(%r15), %r12 movq _NL80211_MESH_POWER_UNKNOWN@GOTPCREL(%rip), %rax cmpq (%rax), %r12 jne LBB0_3 LBB0_2: movl 16(%r15), %r12d LBB0_3: movq _NL80211_MESH_POWER_ACTIVE@GOTPCREL(%rip), %rax movl (%rax), %ebx xorl %r14d, %r14d cmpl %ebx, %r12d setne %r14b movq _WLAN_STA_PS_STA@GOTPCREL(%rip), %r13 movl (%r13), %esi movq %r15, %rdi callq _test_sta_flag cmpl %r14d, %eax je LBB0_10 ## %bb.4: cmpl %ebx, %r12d je LBB0_7 ## %bb.5: movl (%r13), %esi movq %r15, %rdi callq _set_sta_flag movq 24(%r15), %rdi callq _atomic_inc movq 24(%r15), %rdi movl 20(%r15), %edx leaq L_.str(%rip), %rsi callq _mps_dbg movq (%r15), %rax movq _NL80211_PLINK_ESTAB@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_6 LBB0_10: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq %r15, %rdi callq _ieee80211_sta_ps_deliver_wakeup movq (%r15), %rax movq _NL80211_PLINK_ESTAB@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_6 ## %bb.8: movq _WLAN_STA_MPSP_OWNER@GOTPCREL(%rip), %rax jmp LBB0_9 LBB0_6: movq _WLAN_STA_MPSP_OWNER@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _clear_sta_flag movq _WLAN_STA_MPSP_RECIPIENT@GOTPCREL(%rip), %rax LBB0_9: movl (%rax), %esi movq %r15, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _clear_sta_flag ## TAILCALL .cfi_endproc ## -- End function .comm _NL80211_PLINK_ESTAB,8,3 ## @NL80211_PLINK_ESTAB .comm _NL80211_MESH_POWER_UNKNOWN,8,3 ## @NL80211_MESH_POWER_UNKNOWN .comm _NL80211_MESH_POWER_ACTIVE,4,2 ## @NL80211_MESH_POWER_ACTIVE .comm _WLAN_STA_PS_STA,4,2 ## @WLAN_STA_PS_STA .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "start PS buffering frames towards %pM\n" .comm _WLAN_STA_MPSP_OWNER,4,2 ## @WLAN_STA_MPSP_OWNER .comm _WLAN_STA_MPSP_RECIPIENT,4,2 ## @WLAN_STA_MPSP_RECIPIENT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ieee80211_mps_sta_status_update ; -- Begin function ieee80211_mps_sta_status_update .p2align 2 _ieee80211_mps_sta_status_update: ; @ieee80211_mps_sta_status_update .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x8, [x0] Lloh0: adrp x20, _NL80211_PLINK_ESTAB@GOTPAGE Lloh1: ldr x20, [x20, _NL80211_PLINK_ESTAB@GOTPAGEOFF] ldr x9, [x20] cmp x8, x9 b.ne LBB0_2 ; %bb.1: ldr x21, [x19, #8] Lloh2: adrp x8, _NL80211_MESH_POWER_UNKNOWN@GOTPAGE Lloh3: ldr x8, [x8, _NL80211_MESH_POWER_UNKNOWN@GOTPAGEOFF] Lloh4: ldr x8, [x8] cmp x21, x8 b.ne LBB0_3 LBB0_2: ldr w21, [x19, #16] LBB0_3: Lloh5: adrp x8, _NL80211_MESH_POWER_ACTIVE@GOTPAGE Lloh6: ldr x8, [x8, _NL80211_MESH_POWER_ACTIVE@GOTPAGEOFF] Lloh7: ldr w23, [x8] cmp w21, w23 cset w24, ne Lloh8: adrp x22, _WLAN_STA_PS_STA@GOTPAGE Lloh9: ldr x22, [x22, _WLAN_STA_PS_STA@GOTPAGEOFF] ldr w1, [x22] mov x0, x19 bl _test_sta_flag cmp w0, w24 b.eq LBB0_6 ; %bb.4: cmp w21, w23 b.eq LBB0_7 ; %bb.5: ldr w1, [x22] mov x0, x19 bl _set_sta_flag ldr x0, [x19, #24] bl _atomic_inc ldr x0, [x19, #24] ldr w2, [x19, #20] Lloh10: adrp x1, l_.str@PAGE Lloh11: add x1, x1, l_.str@PAGEOFF bl _mps_dbg ldr x8, [x19] ldr x9, [x20] cmp x8, x9 b.ne LBB0_9 LBB0_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_7: mov x0, x19 bl _ieee80211_sta_ps_deliver_wakeup ldr x8, [x19] ldr x9, [x20] cmp x8, x9 b.ne LBB0_9 ; %bb.8: Lloh12: adrp x8, _WLAN_STA_MPSP_OWNER@GOTPAGE Lloh13: ldr x8, [x8, _WLAN_STA_MPSP_OWNER@GOTPAGEOFF] b LBB0_10 LBB0_9: Lloh14: adrp x8, _WLAN_STA_MPSP_OWNER@GOTPAGE Lloh15: ldr x8, [x8, _WLAN_STA_MPSP_OWNER@GOTPAGEOFF] Lloh16: ldr w1, [x8] mov x0, x19 bl _clear_sta_flag Lloh17: adrp x8, _WLAN_STA_MPSP_RECIPIENT@GOTPAGE Lloh18: ldr x8, [x8, _WLAN_STA_MPSP_RECIPIENT@GOTPAGEOFF] LBB0_10: ldr w1, [x8] mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _clear_sta_flag .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _NL80211_PLINK_ESTAB,8,3 ; @NL80211_PLINK_ESTAB .comm _NL80211_MESH_POWER_UNKNOWN,8,3 ; @NL80211_MESH_POWER_UNKNOWN .comm _NL80211_MESH_POWER_ACTIVE,4,2 ; @NL80211_MESH_POWER_ACTIVE .comm _WLAN_STA_PS_STA,4,2 ; @WLAN_STA_PS_STA .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "start PS buffering frames towards %pM\n" .comm _WLAN_STA_MPSP_OWNER,4,2 ; @WLAN_STA_MPSP_OWNER .comm _WLAN_STA_MPSP_RECIPIENT,4,2 ; @WLAN_STA_MPSP_RECIPIENT .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_ps.c_ieee80211_mps_sta_status_update.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function atkbd_set_extra _atkbd_set_extra: ## @atkbd_set_extra .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $0, 24(%rdi) je LBB0_1 ## %bb.3: movq %rdx, %rbx movq %rdi, %r14 leaq -64(%rbp), %rdx movq %rsi, %rdi movl $10, %esi callq _strict_strtoul testq %rax, %rax jne LBB0_5 ## %bb.4: movq -64(%rbp), %rax cmpq $2, %rax jae LBB0_5 ## %bb.6: movq (%r14), %r15 cmpq %rax, %r15 je LBB0_12 ## %bb.7: movq 16(%r14), %rax movq %rax, -56(%rbp) ## 8-byte Spill movb 8(%r14), %al movb %al, -41(%rbp) ## 1-byte Spill xorl %r13d, %r13d xorl %eax, %eax callq _input_allocate_device testq %rax, %rax je LBB0_8 ## %bb.9: movq %rax, %r12 movq %rax, 16(%r14) movzbl 8(%r14), %esi movzbl -64(%rbp), %edx movq %r14, %rdi callq _atkbd_select_set movb %al, 8(%r14) movq %r14, %rdi callq _atkbd_reset_state movq %r14, %rdi callq _atkbd_activate movq %r14, %rdi callq _atkbd_set_keycode_table movq %r14, %rdi callq _atkbd_set_device_attrs movq 16(%r14), %rdi callq _input_register_device testl %eax, %eax je LBB0_11 ## %bb.10: movl %eax, %r13d movq %r12, %rdi callq _input_free_device movq -56(%rbp), %rax ## 8-byte Reload movq %rax, 16(%r14) movzbl -41(%rbp), %esi ## 1-byte Folded Reload movzbl %r15b, %edx movq %r14, %rdi callq _atkbd_select_set movb %al, 8(%r14) movq %r14, %rdi callq _atkbd_set_keycode_table movq %r14, %rdi callq _atkbd_set_device_attrs movl %r13d, %ebx jmp LBB0_12 LBB0_1: movq _EIO@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_5: movq _EINVAL@GOTPCREL(%rip), %rax LBB0_2: xorl %ebx, %ebx subl (%rax), %ebx LBB0_12: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: movq _ENOMEM@GOTPCREL(%rip), %rax subl (%rax), %r13d movl %r13d, %ebx jmp LBB0_12 LBB0_11: movq -56(%rbp), %rdi ## 8-byte Reload callq _input_unregister_device jmp LBB0_12 .cfi_endproc ## -- End function .comm _EIO,4,2 ## @EIO .comm _EINVAL,4,2 ## @EINVAL .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _atkbd_set_extra .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function atkbd_set_extra _atkbd_set_extra: ; @atkbd_set_extra .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 ldr w8, [x0, #24] cbz w8, LBB0_7 ; %bb.1: mov x19, x2 mov x20, x0 add x2, sp, #8 mov x0, x1 mov w1, #10 bl _strict_strtoul cbnz x0, LBB0_8 ; %bb.2: ldr x8, [sp, #8] cmp x8, #2 b.hs LBB0_8 ; %bb.3: ldr x25, [x20] cmp x25, x8 b.eq LBB0_10 ; %bb.4: ldr x22, [x20, #16] ldrb w21, [x20, #8] bl _input_allocate_device cbz x0, LBB0_11 ; %bb.5: mov x23, x0 str x0, [x20, #16] ldrb w1, [x20, #8] ldrb w2, [sp, #8] mov x0, x20 bl _atkbd_select_set strb w0, [x20, #8] mov x0, x20 bl _atkbd_reset_state mov x0, x20 bl _atkbd_activate mov x0, x20 bl _atkbd_set_keycode_table mov x0, x20 bl _atkbd_set_device_attrs ldr x0, [x20, #16] bl _input_register_device cbz w0, LBB0_12 ; %bb.6: mov x24, x0 mov x0, x23 bl _input_free_device str x22, [x20, #16] and w2, w25, #0xff mov x0, x20 mov x1, x21 bl _atkbd_select_set strb w0, [x20, #8] mov x0, x20 bl _atkbd_set_keycode_table mov x0, x20 bl _atkbd_set_device_attrs mov x19, x24 b LBB0_10 LBB0_7: Lloh0: adrp x8, _EIO@GOTPAGE Lloh1: ldr x8, [x8, _EIO@GOTPAGEOFF] b LBB0_9 LBB0_8: Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_9: ldr w8, [x8] neg w19, w8 LBB0_10: mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_11: Lloh4: adrp x8, _ENOMEM@GOTPAGE Lloh5: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_9 LBB0_12: mov x0, x22 bl _input_unregister_device b LBB0_10 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _EIO,4,2 ; @EIO .comm _EINVAL,4,2 ; @EINVAL .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _atkbd_set_extra .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/input/keyboard/extr_atkbd.c_atkbd_set_extra.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fold_builtin_stxcpy_chk ## -- Begin function fold_builtin_stxcpy_chk .p2align 4, 0x90 _fold_builtin_stxcpy_chk: ## @fold_builtin_stxcpy_chk .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 %r8d, -44(%rbp) ## 4-byte Spill movl %ecx, -60(%rbp) ## 4-byte Spill movq %rdx, %rbx movq %rsi, %r12 movq %rdi, -80(%rbp) ## 8-byte Spill movq _POINTER_TYPE@GOTPCREL(%rip), %rax movl (%rax), %edx movq _INTEGER_TYPE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _VOID_TYPE@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rsi, %rdi movl %edx, %esi callq _validate_arglist testl %eax, %eax je LBB0_27 ## %bb.1: movq %r12, %rdi callq _TREE_VALUE movq %rax, %r14 movq %r12, %rdi callq _TREE_CHAIN movq %rax, %rdi callq _TREE_VALUE movq %rax, %r15 movq %r12, %rdi callq _TREE_CHAIN movq %rax, %rdi callq _TREE_CHAIN movq %rax, %rdi callq _TREE_VALUE movq %rax, %r13 movq _BUILT_IN_STRCPY_CHK@GOTPCREL(%rip), %rcx movl -44(%rbp), %eax ## 4-byte Reload cmpl %eax, (%rcx) jne LBB0_5 ## %bb.2: movq %r15, %rdi movq %r14, %rsi xorl %edx, %edx callq _operand_equal_p testq %rax, %rax je LBB0_5 ## %bb.3: movq -80(%rbp), %rdi ## 8-byte Reload callq _TREE_TYPE movq %rax, %rdi callq _TREE_TYPE movq %rax, %rdi movq %r14, %rsi LBB0_4: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _fold_convert ## TAILCALL LBB0_5: movq %r15, -56(%rbp) ## 8-byte Spill movq %r14, -72(%rbp) ## 8-byte Spill movq %r13, %r15 movq %r13, %rdi movl $1, %esi callq _host_integerp testl %eax, %eax je LBB0_27 ## %bb.6: movq %rbx, %r14 movq %r15, %rdi callq _integer_all_onesp testl %eax, %eax je LBB0_7 LBB0_11: movq _NULL_TREE@GOTPCREL(%rip), %rbx movq (%rbx), %rdi movq -56(%rbp), %rsi ## 8-byte Reload callq _build_tree_list movq (%rbx), %rdi movq -72(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx callq _tree_cons movq _built_in_decls@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _BUILT_IN_STPCPY_CHK@GOTPCREL(%rip), %rdx movl -44(%rbp), %esi ## 4-byte Reload cmpl %esi, (%rdx) jne LBB0_12 ## %bb.24: movq _BUILT_IN_STPCPY@GOTPCREL(%rip), %rdx jmp LBB0_25 LBB0_12: movq _BUILT_IN_STRCPY@GOTPCREL(%rip), %rdx LBB0_25: movq (%rdx), %rdx movq (%rcx,%rdx,8), %rdi testq %rdi, %rdi je LBB0_27 ## %bb.26: movq %rax, %rsi LBB0_19: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _build_function_call_expr ## TAILCALL LBB0_7: movq -56(%rbp), %rdi ## 8-byte Reload movl $1, %esi callq _c_strlen movq %rax, %rbx testq %rax, %rax je LBB0_13 ## %bb.8: movq %rbx, %rdi movl $1, %esi callq _host_integerp testl %eax, %eax je LBB0_13 ## %bb.9: movq %rbx, %r14 jmp LBB0_10 LBB0_13: movq _NULL_TREE@GOTPCREL(%rip), %r13 cmpq %r14, (%r13) je LBB0_15 ## %bb.14: movq %r14, %rdi movl $1, %esi callq _host_integerp testl %eax, %eax je LBB0_15 LBB0_10: movq %r14, %rdi movq %r15, %rsi callq _tree_int_cst_lt testl %eax, %eax jne LBB0_11 jmp LBB0_27 LBB0_15: movq _BUILT_IN_STPCPY_CHK@GOTPCREL(%rip), %rax movl -44(%rbp), %ecx ## 4-byte Reload cmpl %ecx, (%rax) jne LBB0_20 ## %bb.16: cmpl $0, -60(%rbp) ## 4-byte Folded Reload je LBB0_27 ## %bb.17: movq _built_in_decls@GOTPCREL(%rip), %rax movq (%rax), %rax movq _BUILT_IN_STRCPY_CHK@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx movq (%rax,%rcx,8), %rdi testq %rdi, %rdi je LBB0_27 ## %bb.18: movq %r12, %rsi jmp LBB0_19 LBB0_20: testq %rbx, %rbx je LBB0_27 ## %bb.21: movq %rbx, %rdi callq _TREE_SIDE_EFFECTS testq %rax, %rax je LBB0_22 LBB0_27: xorl %eax, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_22: movq _built_in_decls@GOTPCREL(%rip), %rax movq (%rax), %rax movq _BUILT_IN_MEMCPY_CHK@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %r14 testq %r14, %r14 je LBB0_27 ## %bb.23: movq _PLUS_EXPR@GOTPCREL(%rip), %rax movq %r15, %r12 movl (%rax), %r15d movl $1, %edi callq _ssize_int movl %r15d, %edi movq %rbx, %rsi movl %eax, %edx callq _size_binop movq %rax, %r15 movq (%r13), %rdi movq %r12, %rsi callq _build_tree_list movq (%r13), %rdi movq %r15, %rsi movq %rax, %rdx callq _tree_cons movq (%r13), %rdi movq -56(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx callq _tree_cons movq (%r13), %rdi movq -72(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx callq _tree_cons movq %rax, %r15 movq -80(%rbp), %rdi ## 8-byte Reload callq _TREE_TYPE movq %rax, %rdi callq _TREE_TYPE movq %rax, %rbx movq %r14, %rdi movq %r15, %rsi callq _build_function_call_expr movq %rbx, %rdi movq %rax, %rsi jmp LBB0_4 .cfi_endproc ## -- End function .comm _POINTER_TYPE,4,2 ## @POINTER_TYPE .comm _INTEGER_TYPE,4,2 ## @INTEGER_TYPE .comm _VOID_TYPE,4,2 ## @VOID_TYPE .comm _BUILT_IN_STRCPY_CHK,4,2 ## @BUILT_IN_STRCPY_CHK .comm _NULL_TREE,8,3 ## @NULL_TREE .comm _BUILT_IN_STPCPY_CHK,4,2 ## @BUILT_IN_STPCPY_CHK .comm _built_in_decls,8,3 ## @built_in_decls .comm _BUILT_IN_MEMCPY_CHK,8,3 ## @BUILT_IN_MEMCPY_CHK .comm _PLUS_EXPR,4,2 ## @PLUS_EXPR .comm _BUILT_IN_STPCPY,8,3 ## @BUILT_IN_STPCPY .comm _BUILT_IN_STRCPY,8,3 ## @BUILT_IN_STRCPY .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fold_builtin_stxcpy_chk ; -- Begin function fold_builtin_stxcpy_chk .p2align 2 _fold_builtin_stxcpy_chk: ; @fold_builtin_stxcpy_chk .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x22, x4 mov x24, x3 mov x25, x2 mov x23, x1 mov x20, x0 Lloh0: adrp x8, _POINTER_TYPE@GOTPAGE Lloh1: ldr x8, [x8, _POINTER_TYPE@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _INTEGER_TYPE@GOTPAGE Lloh4: ldr x8, [x8, _INTEGER_TYPE@GOTPAGEOFF] Lloh5: ldr w3, [x8] Lloh6: adrp x8, _VOID_TYPE@GOTPAGE Lloh7: ldr x8, [x8, _VOID_TYPE@GOTPAGEOFF] Lloh8: ldr w4, [x8] mov x0, x23 mov x2, x1 bl _validate_arglist cbz w0, LBB0_21 ; %bb.1: mov x0, x23 bl _TREE_VALUE mov x19, x0 mov x0, x23 bl _TREE_CHAIN bl _TREE_VALUE mov x21, x0 mov x0, x23 bl _TREE_CHAIN bl _TREE_CHAIN bl _TREE_VALUE mov x26, x0 Lloh9: adrp x28, _BUILT_IN_STRCPY_CHK@GOTPAGE Lloh10: ldr x28, [x28, _BUILT_IN_STRCPY_CHK@GOTPAGEOFF] ldr w8, [x28] cmp w8, w22 b.ne LBB0_5 ; %bb.2: mov x0, x21 mov x1, x19 mov w2, #0 bl _operand_equal_p cbz x0, LBB0_5 ; %bb.3: mov x0, x20 bl _TREE_TYPE bl _TREE_TYPE mov x1, x19 LBB0_4: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _fold_convert LBB0_5: mov x0, x26 mov w1, #1 bl _host_integerp cbz w0, LBB0_21 ; %bb.6: mov x0, x26 bl _integer_all_onesp cbz w0, LBB0_9 LBB0_7: Lloh11: adrp x20, _NULL_TREE@GOTPAGE Lloh12: ldr x20, [x20, _NULL_TREE@GOTPAGEOFF] ldr x0, [x20] mov x1, x21 bl _build_tree_list mov x2, x0 ldr x0, [x20] mov x1, x19 bl _tree_cons mov x1, x0 Lloh13: adrp x8, _built_in_decls@GOTPAGE Lloh14: ldr x8, [x8, _built_in_decls@GOTPAGEOFF] Lloh15: ldr x8, [x8] Lloh16: adrp x9, _BUILT_IN_STPCPY_CHK@GOTPAGE Lloh17: ldr x9, [x9, _BUILT_IN_STPCPY_CHK@GOTPAGEOFF] Lloh18: adrp x10, _BUILT_IN_STPCPY@GOTPAGE Lloh19: ldr x10, [x10, _BUILT_IN_STPCPY@GOTPAGEOFF] Lloh20: adrp x11, _BUILT_IN_STRCPY@GOTPAGE Lloh21: ldr x11, [x11, _BUILT_IN_STRCPY@GOTPAGEOFF] Lloh22: ldr w9, [x9] cmp w9, w22 csel x9, x10, x11, eq ldr x9, [x9] ldr x0, [x8, x9, lsl #3] cbz x0, LBB0_21 LBB0_8: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _build_function_call_expr LBB0_9: mov x0, x21 mov w1, #1 bl _c_strlen mov x27, x0 cbz x0, LBB0_12 ; %bb.10: mov x0, x27 mov w1, #1 bl _host_integerp cbz w0, LBB0_12 ; %bb.11: mov x25, x27 b LBB0_14 LBB0_12: Lloh23: adrp x8, _NULL_TREE@GOTPAGE Lloh24: ldr x8, [x8, _NULL_TREE@GOTPAGEOFF] Lloh25: ldr x8, [x8] cmp x8, x25 b.eq LBB0_15 ; %bb.13: mov x0, x25 mov w1, #1 bl _host_integerp cbz w0, LBB0_15 LBB0_14: mov x0, x25 mov x1, x26 bl _tree_int_cst_lt cbnz w0, LBB0_7 b LBB0_21 LBB0_15: Lloh26: adrp x8, _BUILT_IN_STPCPY_CHK@GOTPAGE Lloh27: ldr x8, [x8, _BUILT_IN_STPCPY_CHK@GOTPAGEOFF] Lloh28: ldr w8, [x8] cmp w8, w22 b.ne LBB0_19 ; %bb.16: cbz w24, LBB0_21 ; %bb.17: Lloh29: adrp x8, _built_in_decls@GOTPAGE Lloh30: ldr x8, [x8, _built_in_decls@GOTPAGEOFF] Lloh31: ldr x8, [x8] ldrsw x9, [x28] ldr x0, [x8, x9, lsl #3] cbz x0, LBB0_21 ; %bb.18: mov x1, x23 b LBB0_8 LBB0_19: cbz x27, LBB0_21 ; %bb.20: mov x0, x27 bl _TREE_SIDE_EFFECTS cbz x0, LBB0_22 LBB0_21: mov x0, #0 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_22: Lloh32: adrp x8, _built_in_decls@GOTPAGE Lloh33: ldr x8, [x8, _built_in_decls@GOTPAGEOFF] Lloh34: ldr x8, [x8] Lloh35: adrp x9, _BUILT_IN_MEMCPY_CHK@GOTPAGE Lloh36: ldr x9, [x9, _BUILT_IN_MEMCPY_CHK@GOTPAGEOFF] Lloh37: ldr x9, [x9] ldr x22, [x8, x9, lsl #3] cbz x22, LBB0_21 ; %bb.23: Lloh38: adrp x8, _PLUS_EXPR@GOTPAGE Lloh39: ldr x8, [x8, _PLUS_EXPR@GOTPAGEOFF] Lloh40: ldr w23, [x8] mov w0, #1 bl _ssize_int mov x2, x0 mov x0, x23 mov x1, x27 bl _size_binop mov x23, x0 Lloh41: adrp x24, _NULL_TREE@GOTPAGE Lloh42: ldr x24, [x24, _NULL_TREE@GOTPAGEOFF] ldr x0, [x24] mov x1, x26 bl _build_tree_list mov x2, x0 ldr x0, [x24] mov x1, x23 bl _tree_cons mov x2, x0 ldr x0, [x24] mov x1, x21 bl _tree_cons mov x2, x0 ldr x0, [x24] mov x1, x19 bl _tree_cons mov x19, x0 mov x0, x20 bl _TREE_TYPE bl _TREE_TYPE mov x20, x0 mov x0, x22 mov x1, x19 bl _build_function_call_expr mov x1, x0 mov x0, x20 b LBB0_4 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh22 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGot Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .cfi_endproc ; -- End function .comm _POINTER_TYPE,4,2 ; @POINTER_TYPE .comm _INTEGER_TYPE,4,2 ; @INTEGER_TYPE .comm _VOID_TYPE,4,2 ; @VOID_TYPE .comm _BUILT_IN_STRCPY_CHK,4,2 ; @BUILT_IN_STRCPY_CHK .comm _NULL_TREE,8,3 ; @NULL_TREE .comm _BUILT_IN_STPCPY_CHK,4,2 ; @BUILT_IN_STPCPY_CHK .comm _built_in_decls,8,3 ; @built_in_decls .comm _BUILT_IN_MEMCPY_CHK,8,3 ; @BUILT_IN_MEMCPY_CHK .comm _PLUS_EXPR,4,2 ; @PLUS_EXPR .comm _BUILT_IN_STPCPY,8,3 ; @BUILT_IN_STPCPY .comm _BUILT_IN_STRCPY,8,3 ; @BUILT_IN_STRCPY .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_builtins.c_fold_builtin_stxcpy_chk.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ui_select ## -- Begin function ui_select .p2align 4, 0x90 _ui_select: ## @ui_select .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _False@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -64(%rbp) movq _True@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_1 ## %bb.2: movl %esi, %r14d movq %rdi, %rbx leaq -72(%rbp), %r12 leaq -68(%rbp), %r13 leaq -88(%rbp), %r15 xorl %eax, %eax movq %rax, -56(%rbp) ## 8-byte Spill jmp LBB0_3 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 movq _False@GOTPCREL(%rip), %rax movq (%rax), %rcx movq %rbx, %rdi movq %r12, %rsi movq %r13, %rdx callq _rdpdr_check_fds movl %r14d, %edi movq %r12, %rsi callq _FD_ISSET testq %rax, %rax jne LBB0_13 LBB0_11: ## in Loop: Header=BB0_3 Depth=1 movq _True@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_15 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl 16(%rbx), %eax cmpl %r14d, %eax cmovlel %r14d, %eax movl %eax, -44(%rbp) movq %rbx, %rdi callq _xwin_process_events testl %eax, %eax je LBB0_15 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, 24(%rbx) je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, %rdi callq _sw_check_timers LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movq %r12, %rdi callq _FD_ZERO movq %r13, %rdi callq _FD_ZERO movl %r14d, %edi movq %r12, %rsi callq _FD_SET movl 16(%rbx), %edi movq %r12, %rsi callq _FD_SET movl $60, -88(%rbp) movq $0, -80(%rbp) movq %rbx, %rdi leaq -44(%rbp), %rsi movq %r12, %rdx movq %r13, %rcx movq %r15, %r8 leaq -64(%rbp), %r9 callq _rdpdr_add_fds movq %rbx, %rdi movq %r15, %rsi callq _seamless_select_timeout movl -44(%rbp), %edi incl %edi movl %edi, -44(%rbp) movq %r12, %rsi movq %r13, %rdx xorl %ecx, %ecx movq %r15, %r8 callq _select testl %eax, %eax je LBB0_9 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 cmpl $-1, %eax jne LBB0_12 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str(%rip), %rdi movl %eax, %esi callq _error LBB0_9: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, -64(%rbp) je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 movq _True@GOTPCREL(%rip), %rax movq (%rax), %rcx movq %rbx, %rdi movq %r12, %rsi movq %r13, %rdx callq _rdpdr_check_fds jmp LBB0_11 LBB0_1: ## implicit-def: $eax jmp LBB0_14 LBB0_13: movl $1, %eax LBB0_14: movq %rax, -56(%rbp) ## 8-byte Spill LBB0_15: movq -56(%rbp), %rax ## 8-byte Reload ## kill: def $eax killed $eax killed $rax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _False,8,3 ## @False .comm _True,8,3 ## @True .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "select: %s\n" .comm _errno,4,2 ## @errno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ui_select ; -- Begin function ui_select .p2align 2 _ui_select: ; @ui_select .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 Lloh0: adrp x22, _False@GOTPAGE Lloh1: ldr x22, [x22, _False@GOTPAGEOFF] ldr x8, [x22] str x8, [sp, #8] Lloh2: adrp x23, _True@GOTPAGE Lloh3: ldr x23, [x23, _True@GOTPAGEOFF] ldr x8, [x23] cbz x8, LBB0_12 ; %bb.1: mov x19, x1 mov x20, x0 mov w24, #60 Lloh4: adrp x25, _errno@GOTPAGE Lloh5: ldr x25, [x25, _errno@GOTPAGEOFF] Lloh6: adrp x21, l_.str@PAGE Lloh7: add x21, x21, l_.str@PAGEOFF b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr x3, [x22] add x1, sp, #40 add x2, sp, #36 mov x0, x20 bl _rdpdr_check_fds add x1, sp, #40 mov x0, x19 bl _FD_ISSET cbnz x0, LBB0_13 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x23] ; implicit-def: $w0 cbz x8, LBB0_14 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20, #16] cmp w8, w19 csel w8, w8, w19, gt str w8, [sp, #44] mov x0, x20 bl _xwin_process_events cbz w0, LBB0_14 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x20, #24] cbz x8, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 bl _sw_check_timers LBB0_7: ; in Loop: Header=BB0_4 Depth=1 add x0, sp, #40 bl _FD_ZERO add x0, sp, #36 bl _FD_ZERO add x1, sp, #40 mov x0, x19 bl _FD_SET ldr w0, [x20, #16] add x1, sp, #40 bl _FD_SET str w24, [sp, #16] str xzr, [sp, #24] add x1, sp, #44 add x2, sp, #40 add x3, sp, #36 add x4, sp, #16 add x5, sp, #8 mov x0, x20 bl _rdpdr_add_fds add x1, sp, #16 mov x0, x20 bl _seamless_select_timeout ldr w8, [sp, #44] add w0, w8, #1 str w0, [sp, #44] add x1, sp, #40 add x2, sp, #36 add x4, sp, #16 mov x3, #0 bl _select cbz w0, LBB0_10 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 cmn w0, #1 b.ne LBB0_2 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x25] bl _strerror mov x1, x0 mov x0, x21 bl _error LBB0_10: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [sp, #8] cbz x8, LBB0_3 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 ldr x3, [x23] add x1, sp, #40 add x2, sp, #36 mov x0, x20 bl _rdpdr_check_fds b LBB0_3 LBB0_12: ; implicit-def: $w0 b LBB0_14 LBB0_13: mov w0, #1 LBB0_14: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _False,8,3 ; @False .comm _True,8,3 ; @True .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "select: %s\n" .comm _errno,4,2 ; @errno .subsections_via_symbols
AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xwin.c_ui_select.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _l2tp_tunnel_create ## -- Begin function l2tp_tunnel_create .p2align 4, 0x90 _l2tp_tunnel_create: ## @l2tp_tunnel_create .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 %r9, %r15 movl %r8d, %r13d movl %ecx, %r12d movl %edx, %r14d movl %esi, -48(%rbp) ## 4-byte Spill movq %r9, %rax testq %r9, %r9 jne LBB0_2 ## %bb.1: movq _L2TP_ENCAPTYPE_UDP@GOTPCREL(%rip), %rax LBB0_2: movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $64, %edi callq _kzalloc movq %rax, %rbx testq %rax, %rax je LBB0_3 ## %bb.4: movl %r14d, (%rbx) movl %r12d, 4(%rbx) movl %r13d, 8(%rbx) movq _L2TP_DEFAULT_DEBUG_FLAGS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 36(%rbx) movq _L2TP_TUNNEL_MAGIC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 56(%rbx) movq 48(%rbx), %rdi leaq L_.str(%rip), %rsi movl %r12d, %edx callq _sprintf leaq 40(%rbx), %rdi callq _rwlock_init movl $1, 12(%rbx) testq %r15, %r15 je LBB0_6 ## %bb.5: movl 4(%r15), %eax movl %eax, 36(%rbx) LBB0_6: movl -44(%rbp), %eax ## 4-byte Reload movl %eax, 16(%rbx) leaq 32(%rbx), %rdi movl $1, %esi callq _refcount_set movl -48(%rbp), %eax ## 4-byte Reload movl %eax, 20(%rbx) leaq 28(%rbx), %rdi movq _l2tp_tunnel_del_work@GOTPCREL(%rip), %rax movl (%rax), %esi callq _INIT_WORK movq %rbx, %rdi addq $24, %rdi callq _INIT_LIST_HEAD xorl %eax, %eax jmp LBB0_7 LBB0_3: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_7: movq 16(%rbp), %rcx testq %rcx, %rcx je LBB0_9 ## %bb.8: movq %rbx, (%rcx) LBB0_9: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _L2TP_ENCAPTYPE_UDP,4,2 ## @L2TP_ENCAPTYPE_UDP .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _L2TP_DEFAULT_DEBUG_FLAGS,4,2 ## @L2TP_DEFAULT_DEBUG_FLAGS .comm _L2TP_TUNNEL_MAGIC,4,2 ## @L2TP_TUNNEL_MAGIC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "tunl %u" .comm _l2tp_tunnel_del_work,4,2 ## @l2tp_tunnel_del_work .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _l2tp_tunnel_create ; -- Begin function l2tp_tunnel_create .p2align 2 _l2tp_tunnel_create: ; @l2tp_tunnel_create .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, x6 mov x22, x5 mov x24, x4 mov x23, x3 mov x25, x2 mov x21, x1 Lloh0: adrp x8, _L2TP_ENCAPTYPE_UDP@GOTPAGE Lloh1: ldr x8, [x8, _L2TP_ENCAPTYPE_UDP@GOTPAGEOFF] cmp x5, #0 csel x8, x8, x5, eq ldr w26, [x8] Lloh2: adrp x8, _GFP_KERNEL@GOTPAGE Lloh3: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh4: ldr w1, [x8] mov w0, #64 bl _kzalloc mov x20, x0 cbz x0, LBB0_6 ; %bb.1: stp w25, w23, [x20] str w24, [x20, #8] Lloh5: adrp x8, _L2TP_DEFAULT_DEBUG_FLAGS@GOTPAGE Lloh6: ldr x8, [x8, _L2TP_DEFAULT_DEBUG_FLAGS@GOTPAGEOFF] Lloh7: ldr w8, [x8] str w8, [x20, #36] Lloh8: adrp x8, _L2TP_TUNNEL_MAGIC@GOTPAGE Lloh9: ldr x8, [x8, _L2TP_TUNNEL_MAGIC@GOTPAGEOFF] Lloh10: ldr w8, [x8] str w8, [x20, #56] ldr x0, [x20, #48] Lloh11: adrp x1, l_.str@PAGE Lloh12: add x1, x1, l_.str@PAGEOFF mov x2, x23 bl _sprintf add x0, x20, #40 bl _rwlock_init mov w8, #1 str w8, [x20, #12] cbz x22, LBB0_3 ; %bb.2: ldr w8, [x22, #4] str w8, [x20, #36] LBB0_3: str w26, [x20, #16] add x0, x20, #32 mov w1, #1 bl _refcount_set str w21, [x20, #20] add x0, x20, #28 Lloh13: adrp x8, _l2tp_tunnel_del_work@GOTPAGE Lloh14: ldr x8, [x8, _l2tp_tunnel_del_work@GOTPAGEOFF] Lloh15: ldr w1, [x8] bl _INIT_WORK add x0, x20, #24 bl _INIT_LIST_HEAD mov w0, #0 cbz x19, LBB0_5 LBB0_4: str x20, [x19] 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 ret LBB0_6: Lloh16: adrp x8, _ENOMEM@GOTPAGE Lloh17: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh18: ldr w8, [x8] neg w0, w8 cbnz x19, LBB0_4 b LBB0_5 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _L2TP_ENCAPTYPE_UDP,4,2 ; @L2TP_ENCAPTYPE_UDP .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _L2TP_DEFAULT_DEBUG_FLAGS,4,2 ; @L2TP_DEFAULT_DEBUG_FLAGS .comm _L2TP_TUNNEL_MAGIC,4,2 ; @L2TP_TUNNEL_MAGIC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "tunl %u" .comm _l2tp_tunnel_del_work,4,2 ; @l2tp_tunnel_del_work .subsections_via_symbols
AnghaBench/linux/net/l2tp/extr_l2tp_core.c_l2tp_tunnel_create.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function snd_usbtv_pointer _snd_usbtv_pointer: ## @snd_usbtv_pointer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _snd_pcm_substream_chip movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _snd_usbtv_pointer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function snd_usbtv_pointer _snd_usbtv_pointer: ; @snd_usbtv_pointer .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 _snd_pcm_substream_chip ldr w0, [x0] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _snd_usbtv_pointer .subsections_via_symbols
AnghaBench/linux/drivers/media/usb/usbtv/extr_usbtv-audio.c_snd_usbtv_pointer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mode_list ## -- Begin function mode_list .p2align 4, 0x90 _mode_list: ## @mode_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 %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 ## kill: def $r9d killed $r9d def $r9 movq %r9, -72(%rbp) ## 8-byte Spill movl %r8d, %r14d movl %ecx, %ebx movl %edx, -56(%rbp) ## 4-byte Spill movq %rdi, %r13 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl %esi, -52(%rbp) movq _MAX_DATA_SIZE@GOTPCREL(%rip), %rax movl (%rax), %r12d leaq (,%r12,4), %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -64(%rbp) ## 8-byte Spill leaq L_.str(%rip), %rdi callq _getenv movq %rax, %r15 testq %rax, %rax jne LBB0_2 ## %bb.1: movq _DEFAULT_SCSI_MODE_DB@GOTPCREL(%rip), %rax movq (%rax), %r15 LBB0_2: movq %r15, %rdi xorl %esi, %esi xorl %edx, %edx callq _load_format testq %rax, %rax je LBB0_6 ## %bb.3: movq _verbose@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_6 ## %bb.4: movq _errno@GOTPCREL(%rip), %rax movq (%rax), %rax movq _ENOENT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_6 ## %bb.5: leaq L_.str.1(%rip), %rdi movq %r15, %rsi callq _warn LBB0_6: movl 24(%rbp), %eax movl 16(%rbp), %r10d movq _SMS_ALL_PAGES_PAGE@GOTPCREL(%rip), %rcx movl (%rcx), %r9d testl %r14d, %r14d je LBB0_8 ## %bb.7: movq _SMS_SUBPAGE_ALL@GOTPCREL(%rip), %rcx movl (%rcx), %r14d LBB0_8: shll $2, %r12d leaq -52(%rbp), %rsi movq %r13, %rdi movl -56(%rbp), %edx ## 4-byte Reload xorl %ecx, %ecx movl %ebx, %r8d pushq %r12 movq -64(%rbp), %rbx ## 8-byte Reload pushq %rbx pushq %rax pushq %r10 pushq -72(%rbp) ## 8-byte Folded Reload pushq %r14 callq _mode_sense addq $48, %rsp cmpl $6, -52(%rbp) jne LBB0_10 ## %bb.9: movl (%rbx), %r14d movl 4(%rbx), %r13d jmp LBB0_11 LBB0_10: movl 4(%rbx), %edi callq _scsi_2btoul movl %eax, %r14d movl (%rbx), %edi callq _scsi_2btoul movl %eax, %r13d LBB0_11: addl $8, %r13d cmpl %r14d, %r13d jl LBB0_13 LBB0_22: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_24 ## %bb.23: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_13 Depth=1 leaq L_.str.2(%rip), %rdi movl %r12d, %esi xorl %eax, %eax callq _printf cmpl %r14d, %r13d jge LBB0_22 LBB0_13: ## =>This Inner Loop Header: Depth=1 movslq %r13d, %rbx movq -64(%rbp), %rcx ## 8-byte Reload movl (%rcx,%rbx,4), %eax movq _SMS_PAGE_CODE@GOTPCREL(%rip), %rdx movl (%rdx), %r12d andl %eax, %r12d movq _SMPH_SPF@GOTPCREL(%rip), %rdx testl %eax, (%rdx) je LBB0_14 ## %bb.15: ## in Loop: Header=BB0_13 Depth=1 movl 4(%rcx,%rbx,4), %r15d movl 8(%rcx,%rbx,4), %edi callq _scsi_2btoul ## kill: def $eax killed $eax def $rax leal (%rbx,%rax), %r13d addl $12, %r13d movl %r12d, %edi movl %r15d, %esi callq _nameentry_lookup testl %r15d, %r15d je LBB0_16 ## %bb.19: ## in Loop: Header=BB0_13 Depth=1 leaq L_.str.3(%rip), %rcx testq %rax, %rax je LBB0_21 ## %bb.20: ## in Loop: Header=BB0_13 Depth=1 movq (%rax), %rcx LBB0_21: ## in Loop: Header=BB0_13 Depth=1 leaq L_.str.4(%rip), %rdi movl %r12d, %esi movl %r15d, %edx xorl %eax, %eax callq _printf cmpl %r14d, %r13d jl LBB0_13 jmp LBB0_22 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_13 Depth=1 movl 8(%rcx,%rbx,4), %eax leal (%rbx,%rax), %r13d addl $16, %r13d movl %r12d, %edi xorl %esi, %esi callq _nameentry_lookup LBB0_16: ## in Loop: Header=BB0_13 Depth=1 leaq L_.str.3(%rip), %rdx testq %rax, %rax je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_13 Depth=1 movq (%rax), %rdx jmp LBB0_18 LBB0_24: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAX_DATA_SIZE,4,2 ## @MAX_DATA_SIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "SCSI_MODES" .comm _DEFAULT_SCSI_MODE_DB,8,3 ## @DEFAULT_SCSI_MODE_DB .comm _verbose,8,3 ## @verbose .comm _errno,8,3 ## @errno .comm _ENOENT,8,3 ## @ENOENT L_.str.1: ## @.str.1 .asciz "cannot open modepage database \"%s\"" .comm _SMS_ALL_PAGES_PAGE,4,2 ## @SMS_ALL_PAGES_PAGE .comm _SMS_SUBPAGE_ALL,4,2 ## @SMS_SUBPAGE_ALL .comm _SMPH_SPF,4,2 ## @SMPH_SPF .comm _SMS_PAGE_CODE,4,2 ## @SMS_PAGE_CODE L_.str.2: ## @.str.2 .asciz "0x%02x\t%s\n" L_.str.3: ## @.str.3 .space 1 L_.str.4: ## @.str.4 .asciz "0x%02x,0x%02x\t%s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mode_list ; -- Begin function mode_list .p2align 2 _mode_list: ; @mode_list .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, #16 mov x20, x7 mov x21, x6 mov x19, x5 mov x25, x4 mov x22, x3 mov x23, x2 mov x24, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] stur w1, [x29, #-92] Lloh3: adrp x8, _MAX_DATA_SIZE@GOTPAGE Lloh4: ldr x8, [x8, _MAX_DATA_SIZE@GOTPAGEOFF] Lloh5: ldr w28, [x8] lsl x8, x28, #2 mov x9, x8 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x27, x9, x8 mov sp, x27 Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF bl _getenv Lloh10: adrp x8, _DEFAULT_SCSI_MODE_DB@GOTPAGE Lloh11: ldr x8, [x8, _DEFAULT_SCSI_MODE_DB@GOTPAGEOFF] Lloh12: ldr x8, [x8] cmp x0, #0 csel x26, x8, x0, eq mov x0, x26 mov w1, #0 mov w2, #0 bl _load_format Lloh13: adrp x8, _verbose@GOTPAGE Lloh14: ldr x8, [x8, _verbose@GOTPAGEOFF] Lloh15: ldr x8, [x8] cmp x0, #0 ccmp x8, #0, #4, ne b.eq LBB0_3 ; %bb.1: Lloh16: adrp x8, _errno@GOTPAGE Lloh17: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh18: ldr x8, [x8] Lloh19: adrp x9, _ENOENT@GOTPAGE Lloh20: ldr x9, [x9, _ENOENT@GOTPAGEOFF] Lloh21: ldr x9, [x9] cmp x8, x9 b.ne LBB0_3 ; %bb.2: Lloh22: adrp x0, l_.str.1@PAGE Lloh23: add x0, x0, l_.str.1@PAGEOFF mov x1, x26 bl _warn LBB0_3: Lloh24: adrp x8, _SMS_ALL_PAGES_PAGE@GOTPAGE Lloh25: ldr x8, [x8, _SMS_ALL_PAGES_PAGE@GOTPAGEOFF] Lloh26: ldr w5, [x8] Lloh27: adrp x8, _SMS_SUBPAGE_ALL@GOTPAGE Lloh28: ldr x8, [x8, _SMS_SUBPAGE_ALL@GOTPAGEOFF] Lloh29: ldr w8, [x8] cmp w25, #0 csel w6, wzr, w8, eq lsl w8, w28, #2 sub sp, sp, #32 str w8, [sp, #16] str x27, [sp, #8] sub x1, x29, #92 stp w21, w20, [sp] mov x0, x24 mov x2, x23 mov w3, #0 mov x4, x22 mov x7, x19 bl _mode_sense add sp, sp, #32 ldur w8, [x29, #-92] cmp w8, #6 b.ne LBB0_5 ; %bb.4: ldp w19, w0, [x27] b LBB0_6 LBB0_5: ldr w0, [x27, #4] bl _scsi_2btoul mov x19, x0 ldr w0, [x27] bl _scsi_2btoul LBB0_6: add w24, w0, #8 cmp w24, w19 b.ge LBB0_20 ; %bb.7: Lloh30: adrp x25, _SMPH_SPF@GOTPAGE Lloh31: ldr x25, [x25, _SMPH_SPF@GOTPAGEOFF] Lloh32: adrp x26, _SMS_PAGE_CODE@GOTPAGE Lloh33: ldr x26, [x26, _SMS_PAGE_CODE@GOTPAGEOFF] Lloh34: adrp x28, l_.str.3@PAGE Lloh35: add x28, x28, l_.str.3@PAGEOFF Lloh36: adrp x20, l_.str.2@PAGE Lloh37: add x20, x20, l_.str.2@PAGEOFF Lloh38: adrp x21, l_.str.4@PAGE Lloh39: add x21, x21, l_.str.4@PAGEOFF b LBB0_11 LBB0_8: ; in Loop: Header=BB0_11 Depth=1 ldr x8, [x0] LBB0_9: ; in Loop: Header=BB0_11 Depth=1 str x8, [sp, #-16]! mov x0, x20 LBB0_10: ; in Loop: Header=BB0_11 Depth=1 mov x1, x22 bl _printf add sp, sp, #16 cmp w24, w19 b.ge LBB0_20 LBB0_11: ; =>This Inner Loop Header: Depth=1 add x8, x27, w24, sxtw #2 ldr w9, [x8] ldr w10, [x25] ldr w11, [x26] and w22, w11, w9 tst w10, w9 b.eq LBB0_15 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 ldp w23, w0, [x8, #4] bl _scsi_2btoul add w8, w24, w0 add w24, w8, #12 mov x0, x22 mov x1, x23 bl _nameentry_lookup cbz w23, LBB0_16 ; %bb.13: ; in Loop: Header=BB0_11 Depth=1 cbz x0, LBB0_18 ; %bb.14: ; in Loop: Header=BB0_11 Depth=1 ldr x8, [x0] b LBB0_19 LBB0_15: ; in Loop: Header=BB0_11 Depth=1 ldr w8, [x8, #8] add w8, w24, w8 add w24, w8, #16 mov x0, x22 mov w1, #0 bl _nameentry_lookup LBB0_16: ; in Loop: Header=BB0_11 Depth=1 cbnz x0, LBB0_8 ; %bb.17: ; in Loop: Header=BB0_11 Depth=1 mov x8, x28 b LBB0_9 LBB0_18: ; in Loop: Header=BB0_11 Depth=1 mov x8, x28 LBB0_19: ; in Loop: Header=BB0_11 Depth=1 stp x23, x8, [sp, #-16]! mov x0, x21 b LBB0_10 LBB0_20: ldur x8, [x29, #-88] Lloh40: adrp x9, ___stack_chk_guard@GOTPAGE Lloh41: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh42: ldr x9, [x9] cmp x9, x8 b.ne LBB0_22 ; %bb.21: 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_22: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpLdrGot Lloh32, Lloh33 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .cfi_endproc ; -- End function .comm _MAX_DATA_SIZE,4,2 ; @MAX_DATA_SIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "SCSI_MODES" .comm _DEFAULT_SCSI_MODE_DB,8,3 ; @DEFAULT_SCSI_MODE_DB .comm _verbose,8,3 ; @verbose .comm _errno,8,3 ; @errno .comm _ENOENT,8,3 ; @ENOENT l_.str.1: ; @.str.1 .asciz "cannot open modepage database \"%s\"" .comm _SMS_ALL_PAGES_PAGE,4,2 ; @SMS_ALL_PAGES_PAGE .comm _SMS_SUBPAGE_ALL,4,2 ; @SMS_SUBPAGE_ALL .comm _SMPH_SPF,4,2 ; @SMPH_SPF .comm _SMS_PAGE_CODE,4,2 ; @SMS_PAGE_CODE l_.str.2: ; @.str.2 .asciz "0x%02x\t%s\n" l_.str.3: ; @.str.3 .space 1 l_.str.4: ; @.str.4 .asciz "0x%02x,0x%02x\t%s\n" .subsections_via_symbols
AnghaBench/freebsd/sbin/camcontrol/extr_modeedit.c_mode_list.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pass ## -- Begin function pass .p2align 4, 0x90 _pass: ## @pass .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 $2064, %rsp ## imm = 0x810 .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) leaq -1056(%rbp), %rdi movl $1024, %esi ## imm = 0x400 callq ___bzero leaq -2080(%rbp), %rdi movl $1024, %esi ## imm = 0x400 callq ___bzero movb (%rbx), %cl xorl %eax, %eax testb %cl, %cl je LBB0_4 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movsbq (%r14,%rax), %rdx testq %rdx, %rdx je LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movsbq %cl, %rcx incl -1056(%rbp,%rcx,4) incl -2080(%rbp,%rdx,4) movzbl 1(%rbx,%rax), %ecx incq %rax testb %cl, %cl jne LBB0_1 ## %bb.3: movl %eax, %eax LBB0_4: cmpb $0, (%r14,%rax) je LBB0_5 LBB0_6: xorl %ecx, %ecx movb $1, %al jmp LBB0_7 LBB0_5: movl $1, %ecx xorl %eax, %eax LBB0_7: movd %ecx, %xmm0 pshufd $0, %xmm0, %xmm1 ## xmm1 = xmm0[0,0,0,0] xorl %ecx, %ecx movdqa %xmm1, %xmm2 .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movdqa -1056(%rbp,%rcx,4), %xmm3 movdqa -1040(%rbp,%rcx,4), %xmm4 movdqa -1024(%rbp,%rcx,4), %xmm5 movdqa -1008(%rbp,%rcx,4), %xmm6 pcmpeqd -2080(%rbp,%rcx,4), %xmm3 pcmpeqd -2064(%rbp,%rcx,4), %xmm4 pcmpeqd -2048(%rbp,%rcx,4), %xmm5 pand %xmm3, %xmm5 pand %xmm5, %xmm1 pcmpeqd -2032(%rbp,%rcx,4), %xmm6 pand %xmm4, %xmm6 pand %xmm6, %xmm2 addq $16, %rcx cmpq $256, %rcx ## imm = 0x100 jne LBB0_8 ## %bb.9: pshufd $0, %xmm0, %xmm3 ## xmm3 = xmm0[0,0,0,0] movdqa %xmm1, %xmm0 pcmpeqd %xmm3, %xmm0 blendvps %xmm0, %xmm2, %xmm1 psubd %xmm3, %xmm1 leaq L_.str.1(%rip), %rcx leaq L_.str(%rip), %rdi testb %al, %al cmovneq %rcx, %rdi ptest %xmm1, %xmm1 cmovneq %rcx, %rdi movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_10 ## %bb.11: xorl %eax, %eax addq $2064, %rsp ## imm = 0x810 popq %rbx popq %r14 popq %rbp jmp _printf ## TAILCALL LBB0_10: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $2288, %rsp ## imm = 0x8F0 .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.2(%rip), %rdi xorl %r14d, %r14d xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %rbx leaq -2192(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf leaq -2304(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -1056(%rbp), %rdi movl $1024, %esi ## imm = 0x400 callq ___bzero leaq -2080(%rbp), %rdi movl $1024, %esi ## imm = 0x400 callq ___bzero movb -2192(%rbp), %cl testb %cl, %cl je LBB1_5 ## %bb.1: xorl %eax, %eax .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 movsbq -2304(%rbp,%rax), %rdx testq %rdx, %rdx je LBB1_7 ## %bb.3: ## in Loop: Header=BB1_2 Depth=1 movsbq %cl, %rcx incl -1056(%rbp,%rcx,4) incl -2080(%rbp,%rdx,4) movzbl -2191(%rbp,%rax), %ecx incq %rax testb %cl, %cl jne LBB1_2 ## %bb.4: movl %eax, %r14d LBB1_5: cmpb $0, -2304(%rbp,%r14) je LBB1_6 LBB1_7: xorl %ecx, %ecx movb $1, %al jmp LBB1_8 LBB1_6: movl $1, %ecx xorl %eax, %eax LBB1_8: movd %ecx, %xmm0 pshufd $0, %xmm0, %xmm1 ## xmm1 = xmm0[0,0,0,0] xorl %ecx, %ecx movdqa %xmm1, %xmm2 .p2align 4, 0x90 LBB1_9: ## =>This Inner Loop Header: Depth=1 movdqa -1056(%rbp,%rcx,4), %xmm3 movdqa -1040(%rbp,%rcx,4), %xmm4 movdqa -1024(%rbp,%rcx,4), %xmm5 movdqa -1008(%rbp,%rcx,4), %xmm6 pcmpeqd -2080(%rbp,%rcx,4), %xmm3 pcmpeqd -2064(%rbp,%rcx,4), %xmm4 pcmpeqd -2048(%rbp,%rcx,4), %xmm5 pand %xmm3, %xmm5 pand %xmm5, %xmm1 pcmpeqd -2032(%rbp,%rcx,4), %xmm6 pand %xmm4, %xmm6 pand %xmm6, %xmm2 addq $16, %rcx cmpq $256, %rcx ## imm = 0x100 jne LBB1_9 ## %bb.10: pshufd $0, %xmm0, %xmm3 ## xmm3 = xmm0[0,0,0,0] movdqa %xmm1, %xmm0 pcmpeqd %xmm3, %xmm0 blendvps %xmm0, %xmm2, %xmm1 psubd %xmm3, %xmm1 leaq L_.str.1(%rip), %rcx leaq L_.str(%rip), %rdi testb %al, %al cmovneq %rcx, %rdi ptest %xmm1, %xmm1 cmovneq %rcx, %rdi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB1_12 ## %bb.11: xorl %eax, %eax addq $2288, %rsp ## imm = 0x8F0 popq %rbx popq %r14 popq %rbp retq LBB1_12: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\nmatched password.." L_.str.1: ## @.str.1 .asciz "\n not matched.." L_.str.2: ## @.str.2 .asciz "\n enter valid password:" L_.str.3: ## @.str.3 .asciz "%s" L_.str.4: ## @.str.4 .asciz "\n enter password to check:" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pass ; -- Begin function pass .p2align 2 _pass: ; @pass .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w27, -56 .cfi_offset w28, -64 sub sp, sp, #2064 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] add x21, sp, #1032 add x0, sp, #1032 mov w1, #1024 bl _bzero add x22, sp, #8 add x0, sp, #8 mov w1, #1024 bl _bzero ldrb w10, [x20] cbz w10, LBB0_6 ; %bb.1: mov x9, #0 add x8, x20, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrsb x11, [x19, x9] cbz x11, LBB0_7 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sbfiz x10, x10, #2, #8 ldr w12, [x21, x10] add w12, w12, #1 str w12, [x21, x10] lsl x10, x11, #2 ldr w11, [x22, x10] add w11, w11, #1 str w11, [x22, x10] add x11, x9, #1 ldrb w10, [x8, x9] mov x9, x11 cbnz w10, LBB0_2 ; %bb.4: and x8, x11, #0xffffffff ldrb w8, [x19, x8] cbnz w8, LBB0_7 LBB0_5: mov w9, #1 b LBB0_8 LBB0_6: mov x8, #0 ldrb w8, [x19, x8] cbz w8, LBB0_5 LBB0_7: mov w9, #0 mov w8, #1 LBB0_8: mov x10, #0 add x11, sp, #1032 add x12, x11, #32 dup.4s v0, w9 add x13, sp, #8 mov.16b v3, v0 mov.16b v2, v0 mov.16b v1, v0 LBB0_9: ; =>This Inner Loop Header: Depth=1 add x14, x12, x10 ldr q4, [x11, x10] ldp q5, q6, [x14, #-16] ldr q7, [x14, #16] add x14, x13, x10 ldp q16, q17, [x14] ldp q18, q19, [x14, #32] cmeq.4s v4, v4, v16 cmeq.4s v5, v5, v17 cmeq.4s v6, v6, v18 cmeq.4s v7, v7, v19 and.16b v0, v0, v4 and.16b v3, v3, v5 and.16b v2, v2, v6 and.16b v1, v1, v7 add x10, x10, #64 cmp x10, #1024 b.ne LBB0_9 ; %bb.10: dup.4s v4, w9 cmeq.4s v5, v0, v4 bit.16b v0, v3, v5 cmeq.4s v3, v0, v4 bit.16b v0, v2, v3 cmeq.4s v2, v0, v4 bit.16b v0, v1, v2 cmeq.4s v0, v0, v4 mvn.16b v0, v0 xtn.4h v0, v0 umov.h w9, v0[0] umov.h w10, v0[1] and w10, w10, #0x1 umov.h w11, v0[2] bfi w9, w10, #1, #1 and w10, w11, #0x1 bfi w9, w10, #2, #1 umov.h w10, v0[3] bfi w9, w10, #3, #29 tst w9, #0xf cset w9, ne Lloh3: adrp x10, l_.str@PAGE Lloh4: add x10, x10, l_.str@PAGEOFF Lloh5: adrp x11, l_.str.1@PAGE Lloh6: add x11, x11, l_.str.1@PAGEOFF orr w8, w9, w8 cmp w8, #0 csel x0, x11, x10, ne ldur x8, [x29, #-56] 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_12 ; %bb.11: add sp, sp, #2064 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #64 ; 16-byte Folded Reload b _printf LBB0_12: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w27, -56 .cfi_offset w28, -64 sub sp, sp, #2272 Lloh10: adrp x8, ___stack_chk_guard@GOTPAGE Lloh11: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh12: ldr x8, [x8] stur x8, [x29, #-56] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF bl _printf add x22, sp, #116 str x22, [sp] Lloh15: adrp x19, l_.str.3@PAGE Lloh16: add x19, x19, l_.str.3@PAGEOFF mov x0, x19 bl _scanf Lloh17: adrp x0, l_.str.4@PAGE Lloh18: add x0, x0, l_.str.4@PAGEOFF bl _printf add x20, sp, #16 str x20, [sp] mov x0, x19 bl _scanf add x19, sp, #1240 add x0, sp, #1240 mov w1, #1024 bl _bzero add x21, sp, #216 add x0, sp, #216 mov w1, #1024 bl _bzero ldrb w10, [sp, #116] cbz w10, LBB1_6 ; %bb.1: mov x9, #0 add x8, x22, #1 LBB1_2: ; =>This Inner Loop Header: Depth=1 ldrsb x11, [x20, x9] cbz x11, LBB1_7 ; %bb.3: ; in Loop: Header=BB1_2 Depth=1 sbfiz x10, x10, #2, #8 ldr w12, [x19, x10] add w12, w12, #1 str w12, [x19, x10] lsl x10, x11, #2 ldr w11, [x21, x10] add w11, w11, #1 str w11, [x21, x10] add x11, x9, #1 ldrb w10, [x8, x9] mov x9, x11 cbnz w10, LBB1_2 ; %bb.4: and x8, x11, #0xffffffff ldrb w8, [x20, x8] cbnz w8, LBB1_7 LBB1_5: mov w9, #1 b LBB1_8 LBB1_6: mov x8, #0 ldrb w8, [x20, x8] cbz w8, LBB1_5 LBB1_7: mov w9, #0 mov w8, #1 LBB1_8: mov x10, #0 add x11, sp, #1240 add x12, x11, #32 dup.4s v0, w9 add x13, sp, #216 mov.16b v3, v0 mov.16b v2, v0 mov.16b v1, v0 LBB1_9: ; =>This Inner Loop Header: Depth=1 add x14, x12, x10 ldr q4, [x11, x10] ldp q5, q6, [x14, #-16] ldr q7, [x14, #16] add x14, x13, x10 ldp q16, q17, [x14] ldp q18, q19, [x14, #32] cmeq.4s v4, v4, v16 cmeq.4s v5, v5, v17 cmeq.4s v6, v6, v18 cmeq.4s v7, v7, v19 and.16b v0, v0, v4 and.16b v3, v3, v5 and.16b v2, v2, v6 and.16b v1, v1, v7 add x10, x10, #64 cmp x10, #1024 b.ne LBB1_9 ; %bb.10: dup.4s v4, w9 cmeq.4s v5, v0, v4 bit.16b v0, v3, v5 cmeq.4s v3, v0, v4 bit.16b v0, v2, v3 cmeq.4s v2, v0, v4 bit.16b v0, v1, v2 cmeq.4s v0, v0, v4 mvn.16b v0, v0 xtn.4h v0, v0 umov.h w9, v0[0] umov.h w10, v0[1] and w10, w10, #0x1 bfi w9, w10, #1, #1 umov.h w10, v0[2] and w10, w10, #0x1 bfi w9, w10, #2, #1 umov.h w10, v0[3] bfi w9, w10, #3, #29 tst w9, #0xf cset w9, ne orr w8, w9, w8 Lloh19: adrp x9, l_.str@PAGE Lloh20: add x9, x9, l_.str@PAGEOFF Lloh21: adrp x10, l_.str.1@PAGE Lloh22: add x10, x10, l_.str.1@PAGEOFF cmp w8, #0 csel x0, x10, x9, ne bl _printf ldur x8, [x29, #-56] Lloh23: adrp x9, ___stack_chk_guard@GOTPAGE Lloh24: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh25: ldr x9, [x9] cmp x9, x8 b.ne LBB1_12 ; %bb.11: mov w0, #0 add sp, sp, #2272 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #64 ; 16-byte Folded Reload ret LBB1_12: bl ___stack_chk_fail .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\nmatched password.." l_.str.1: ; @.str.1 .asciz "\n not matched.." l_.str.2: ; @.str.2 .asciz "\n enter valid password:" l_.str.3: ; @.str.3 .asciz "%s" l_.str.4: ; @.str.4 .asciz "\n enter password to check:" .subsections_via_symbols
the_stack_data/165766217.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _binsearch ## -- Begin function binsearch .p2align 4, 0x90 _binsearch: ## @binsearch .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 $edx killed $edx def $rdx movl $-1, %eax testl %edx, %edx jle LBB0_8 ## %bb.1: decl %edx xorl %r8d, %r8d jmp LBB0_2 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_2 Depth=1 decl %r10d movl %r10d, %edx cmpl %edx, %r8d jg LBB0_8 LBB0_2: ## =>This Inner Loop Header: Depth=1 leal (%rdx,%r8), %r9d movl %r9d, %r10d shrl $31, %r10d addl %r9d, %r10d sarl %r10d movslq %r10d, %rcx cmpl %edi, (%rsi,%rcx,4) jg LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 jge LBB0_5 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 incl %r10d movl %r10d, %r8d cmpl %edx, %r8d jle LBB0_2 LBB0_8: popq %rbp retq LBB0_5: movl %r10d, %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 _binsearch ; -- Begin function binsearch .p2align 2 _binsearch: ; @binsearch .cfi_startproc ; %bb.0: subs w9, w2, #1 b.lt LBB0_6 ; %bb.1: mov w10, #0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 sub w9, w8, #1 cmp w10, w9 b.gt LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 add w8, w9, w10 cmp w8, #0 cinc w8, w8, lt asr w8, w8, #1 ldr w11, [x1, w8, sxtw #2] cmp w11, w0 b.gt LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 b.ge LBB0_7 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 add w10, w8, #1 cmp w10, w9 b.le LBB0_3 LBB0_6: mov w8, #-1 LBB0_7: mov x0, x8 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/34513590.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qede_get_cls_rule_entry ## -- Begin function qede_get_cls_rule_entry .p2align 4, 0x90 _qede_get_cls_rule_entry: ## @qede_get_cls_rule_entry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movq _QEDE_RFS_MAX_FLTR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rsi) callq ___qede_lock cmpl $0, (%r14) je LBB0_1 ## %bb.2: xorl %ebx, %ebx movq %r14, %rdi xorl %esi, %esi callq _QEDE_ARFS_BUCKET_HEAD movl 44(%r15), %esi movl %eax, %edi callq _qede_get_arfs_fltr_by_loc testq %rax, %rax je LBB0_3 ## %bb.4: movq %rax, %r12 movq 24(%rax), %rbx movq _ETH_P_IP@GOTPCREL(%rip), %rax movl (%rax), %edi callq _htons movq 32(%r12), %rcx movq _IPPROTO_TCP@GOTPCREL(%rip), %rdx movq (%rdx), %rdx cmpq %rax, %rbx jne LBB0_9 ## %bb.5: cmpq %rdx, %rcx jne LBB0_6 ## %bb.7: movq _TCP_V4_FLOW@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_1: movq _EPERM@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx jmp LBB0_17 LBB0_3: movl 44(%r15), %edx leaq L_.str(%rip), %rsi movq %r14, %rdi callq _DP_NOTICE movq _EINVAL@GOTPCREL(%rip), %rax subl (%rax), %ebx jmp LBB0_17 LBB0_9: cmpq %rdx, %rcx jne LBB0_10 ## %bb.11: movq _TCP_V6_FLOW@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_6: movq _UDP_V4_FLOW@GOTPCREL(%rip), %rax LBB0_8: movl (%rax), %eax movl %eax, 40(%r15) movdqu 48(%r12), %xmm0 pshufd $78, %xmm0, %xmm0 ## xmm0 = xmm0[2,3,0,1] movdqu %xmm0, 24(%r15) jmp LBB0_13 LBB0_10: movq _UDP_V6_FLOW@GOTPCREL(%rip), %rax LBB0_12: movl (%rax), %eax movl %eax, 40(%r15) movl 52(%r12), %eax leaq 8(%r15), %rbx movl %eax, 20(%r15) movl 48(%r12), %eax movl %eax, 16(%r15) leaq 12(%r15), %rdi leaq 44(%r12), %rsi movl $4, %edx callq _memcpy movq %r12, %rsi addq $40, %rsi movq %rbx, %rdi movl $4, %edx callq _memcpy LBB0_13: movl (%r12), %eax movl %eax, 4(%r15) movq 16(%r12), %rdx testq %rdx, %rdx je LBB0_15 ## %bb.14: movq _ETHTOOL_RX_FLOW_SPEC_RING_VF_OFF@GOTPCREL(%rip), %rcx movb (%rcx), %cl shll %cl, %edx orl %eax, %edx movl %edx, 4(%r15) LBB0_15: xorl %ebx, %ebx cmpq $0, 8(%r12) je LBB0_17 ## %bb.16: movq _RX_CLS_FLOW_DISC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%r15) LBB0_17: movq %r14, %rdi callq ___qede_unlock movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _QEDE_RFS_MAX_FLTR,4,2 ## @QEDE_RFS_MAX_FLTR .comm _EPERM,4,2 ## @EPERM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Rule not found - location=0x%x\n" .comm _EINVAL,4,2 ## @EINVAL .comm _ETH_P_IP,4,2 ## @ETH_P_IP .comm _IPPROTO_TCP,8,3 ## @IPPROTO_TCP .comm _TCP_V4_FLOW,4,2 ## @TCP_V4_FLOW .comm _UDP_V4_FLOW,4,2 ## @UDP_V4_FLOW .comm _TCP_V6_FLOW,4,2 ## @TCP_V6_FLOW .comm _UDP_V6_FLOW,4,2 ## @UDP_V6_FLOW .comm _ETHTOOL_RX_FLOW_SPEC_RING_VF_OFF,4,2 ## @ETHTOOL_RX_FLOW_SPEC_RING_VF_OFF .comm _RX_CLS_FLOW_DISC,4,2 ## @RX_CLS_FLOW_DISC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qede_get_cls_rule_entry ; -- Begin function qede_get_cls_rule_entry .p2align 2 _qede_get_cls_rule_entry: ; @qede_get_cls_rule_entry .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 Lloh0: adrp x8, _QEDE_RFS_MAX_FLTR@GOTPAGE Lloh1: ldr x8, [x8, _QEDE_RFS_MAX_FLTR@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x1] bl ___qede_lock ldr w8, [x19] cbz w8, LBB0_4 ; %bb.1: mov x0, x19 mov w1, #0 bl _QEDE_ARFS_BUCKET_HEAD ldr w1, [x20, #44] bl _qede_get_arfs_fltr_by_loc cbz x0, LBB0_5 ; %bb.2: mov x21, x0 ldr x22, [x0, #24] Lloh3: adrp x8, _ETH_P_IP@GOTPAGE Lloh4: ldr x8, [x8, _ETH_P_IP@GOTPAGEOFF] Lloh5: ldr w0, [x8] bl _htons ldr x8, [x21, #32] Lloh6: adrp x9, _IPPROTO_TCP@GOTPAGE Lloh7: ldr x9, [x9, _IPPROTO_TCP@GOTPAGEOFF] Lloh8: ldr x9, [x9] cmp x22, x0 b.ne LBB0_7 ; %bb.3: Lloh9: adrp x10, _TCP_V4_FLOW@GOTPAGE Lloh10: ldr x10, [x10, _TCP_V4_FLOW@GOTPAGEOFF] Lloh11: adrp x11, _UDP_V4_FLOW@GOTPAGE Lloh12: ldr x11, [x11, _UDP_V4_FLOW@GOTPAGEOFF] cmp x8, x9 csel x8, x10, x11, eq ldr w8, [x8] str w8, [x20, #40] ldr q0, [x21, #48] ext.16b v0, v0, v0, #8 stur q0, [x20, #24] b LBB0_8 LBB0_4: Lloh13: adrp x8, _EPERM@GOTPAGE Lloh14: ldr x8, [x8, _EPERM@GOTPAGEOFF] b LBB0_6 LBB0_5: ldr w2, [x20, #44] Lloh15: adrp x1, l_.str@PAGE Lloh16: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _DP_NOTICE Lloh17: adrp x8, _EINVAL@GOTPAGE Lloh18: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_6: ldr w8, [x8] neg w21, w8 b LBB0_13 LBB0_7: Lloh19: adrp x10, _TCP_V6_FLOW@GOTPAGE Lloh20: ldr x10, [x10, _TCP_V6_FLOW@GOTPAGEOFF] Lloh21: adrp x11, _UDP_V6_FLOW@GOTPAGE Lloh22: ldr x11, [x11, _UDP_V6_FLOW@GOTPAGEOFF] cmp x8, x9 csel x8, x10, x11, eq ldr w8, [x8] str w8, [x20, #40] add x22, x20, #8 ldr d0, [x21, #48] str d0, [x20, #16] add x0, x20, #12 add x1, x21, #44 mov w2, #4 bl _memcpy add x1, x21, #40 mov x0, x22 mov w2, #4 bl _memcpy LBB0_8: ldr w8, [x21] str w8, [x20, #4] ldr x9, [x21, #16] cbz x9, LBB0_10 ; %bb.9: Lloh23: adrp x10, _ETHTOOL_RX_FLOW_SPEC_RING_VF_OFF@GOTPAGE Lloh24: ldr x10, [x10, _ETHTOOL_RX_FLOW_SPEC_RING_VF_OFF@GOTPAGEOFF] Lloh25: ldr w10, [x10] lsl w9, w9, w10 orr w8, w9, w8 str w8, [x20, #4] LBB0_10: ldr x8, [x21, #8] cbz x8, LBB0_12 ; %bb.11: mov w21, #0 Lloh26: adrp x8, _RX_CLS_FLOW_DISC@GOTPAGE Lloh27: ldr x8, [x8, _RX_CLS_FLOW_DISC@GOTPAGEOFF] Lloh28: ldr w8, [x8] str w8, [x20, #4] b LBB0_13 LBB0_12: mov w21, #0 LBB0_13: mov x0, x19 bl ___qede_unlock mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .cfi_endproc ; -- End function .comm _QEDE_RFS_MAX_FLTR,4,2 ; @QEDE_RFS_MAX_FLTR .comm _EPERM,4,2 ; @EPERM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Rule not found - location=0x%x\n" .comm _EINVAL,4,2 ; @EINVAL .comm _ETH_P_IP,4,2 ; @ETH_P_IP .comm _IPPROTO_TCP,8,3 ; @IPPROTO_TCP .comm _TCP_V4_FLOW,4,2 ; @TCP_V4_FLOW .comm _UDP_V4_FLOW,4,2 ; @UDP_V4_FLOW .comm _TCP_V6_FLOW,4,2 ; @TCP_V6_FLOW .comm _UDP_V6_FLOW,4,2 ; @UDP_V6_FLOW .comm _ETHTOOL_RX_FLOW_SPEC_RING_VF_OFF,4,2 ; @ETHTOOL_RX_FLOW_SPEC_RING_VF_OFF .comm _RX_CLS_FLOW_DISC,4,2 ; @RX_CLS_FLOW_DISC .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/qlogic/qede/extr_qede_filter.c_qede_get_cls_rule_entry.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cfg80211_rx_spurious_frame ## -- Begin function cfg80211_rx_spurious_frame .p2align 4, 0x90 _cfg80211_rx_spurious_frame: ## @cfg80211_rx_spurious_frame .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rsi, %r15 movq %rdi, %r12 movq (%rdi), %rbx callq _trace_cfg80211_rx_spurious_frame movq (%rbx), %rax movq _NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax setne %cl movq _NL80211_IFTYPE_P2P_GO@GOTPCREL(%rip), %rdx cmpq (%rdx), %rax setne %al andb %cl, %al movzbl %al, %edi callq _WARN_ON xorl %ebx, %ebx testq %rax, %rax jne LBB0_2 ## %bb.1: movq _NL80211_CMD_UNEXPECTED_FRAME@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi movq %r15, %rdx movl %r14d, %ecx callq ___nl80211_unexpected_frame movl %eax, %ebx LBB0_2: movl %ebx, %edi callq _trace_cfg80211_return_bool movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _NL80211_IFTYPE_AP,8,3 ## @NL80211_IFTYPE_AP .comm _NL80211_IFTYPE_P2P_GO,8,3 ## @NL80211_IFTYPE_P2P_GO .comm _NL80211_CMD_UNEXPECTED_FRAME,4,2 ## @NL80211_CMD_UNEXPECTED_FRAME .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cfg80211_rx_spurious_frame ; -- Begin function cfg80211_rx_spurious_frame .p2align 2 _cfg80211_rx_spurious_frame: ; @cfg80211_rx_spurious_frame .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 ldr x22, [x0] bl _trace_cfg80211_rx_spurious_frame ldr x8, [x22] Lloh0: adrp x9, _NL80211_IFTYPE_AP@GOTPAGE Lloh1: ldr x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 Lloh3: adrp x9, _NL80211_IFTYPE_P2P_GO@GOTPAGE Lloh4: ldr x9, [x9, _NL80211_IFTYPE_P2P_GO@GOTPAGEOFF] Lloh5: ldr x9, [x9] ccmp x8, x9, #4, ne cset w0, ne bl _WARN_ON cbz x0, LBB0_2 ; %bb.1: mov w19, #0 b LBB0_3 LBB0_2: Lloh6: adrp x8, _NL80211_CMD_UNEXPECTED_FRAME@GOTPAGE Lloh7: ldr x8, [x8, _NL80211_CMD_UNEXPECTED_FRAME@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x0, x21 mov x2, x20 mov x3, x19 bl ___nl80211_unexpected_frame mov x19, x0 LBB0_3: mov x0, x19 bl _trace_cfg80211_return_bool mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _NL80211_IFTYPE_AP,8,3 ; @NL80211_IFTYPE_AP .comm _NL80211_IFTYPE_P2P_GO,8,3 ; @NL80211_IFTYPE_P2P_GO .comm _NL80211_CMD_UNEXPECTED_FRAME,4,2 ; @NL80211_CMD_UNEXPECTED_FRAME .subsections_via_symbols
AnghaBench/linux/net/wireless/extr_nl80211.c_cfg80211_rx_spurious_frame.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _HariMain ## -- Begin function HariMain .p2align 4, 0x90 _HariMain: ## @HariMain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $72, %edi callq _api_putchar movl $101, %edi callq _api_putchar movl $108, %edi callq _api_putchar movl $108, %edi callq _api_putchar movl $111, %edi callq _api_putchar popq %rbp jmp _api_end ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _HariMain ; -- Begin function HariMain .p2align 2 _HariMain: ; @HariMain .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, #72 bl _api_putchar mov w0, #101 bl _api_putchar mov w0, #108 bl _api_putchar mov w0, #108 bl _api_putchar mov w0, #111 bl _api_putchar ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _api_end .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/1060951.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ft_print_reverse_alphabet ## -- Begin function ft_print_reverse_alphabet .p2align 4, 0x90 _ft_print_reverse_alphabet: ## @ft_print_reverse_alphabet .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 movb $122, -9(%rbp) leaq -9(%rbp), %rbx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl $1, %edx movl $1, %edi movq %rbx, %rsi callq _write movzbl -9(%rbp), %eax decb %al movb %al, -9(%rbp) cmpb $96, %al jg LBB0_1 ## %bb.2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ft_print_reverse_alphabet ; -- Begin function ft_print_reverse_alphabet .p2align 2 _ft_print_reverse_alphabet: ; @ft_print_reverse_alphabet .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, #122 sturb w8, [x29, #-1] LBB0_1: ; =>This Inner Loop Header: Depth=1 sub x1, x29, #1 mov w0, #1 mov w2, #1 bl _write ldurb w8, [x29, #-1] sub w8, w8, #1 sxtb w9, w8 sturb w8, [x29, #-1] cmp w9, #96 b.gt LBB0_1 ; %bb.2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/25138385.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function prologue_relocate _prologue_relocate: ## @prologue_relocate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %rbx callq _check_pos testq %rax, %rax je LBB0_3 ## %bb.1: movq _BPF_LOADER_ERRNO__PROLOGUE2BIG@GOTPCREL(%rip), %rax LBB0_2: xorl %r13d, %r13d subl (%rax), %r13d jmp LBB0_14 LBB0_3: movq %r14, -64(%rbp) ## 8-byte Spill movq 8(%rbx), %r14 xorl %r13d, %r13d cmpq (%rbx), %r14 jae LBB0_14 ## %bb.4: movq %r12, -56(%rbp) ## 8-byte Spill movq %r15, -48(%rbp) ## 8-byte Spill movq $-8, %r15 subq %r14, %r15 movq _BPF_JMP@GOTPCREL(%rip), %r12 jmp LBB0_5 LBB0_11: ## in Loop: Header=BB0_5 Depth=1 movq -48(%rbp), %rax ## 8-byte Reload LBB0_12: ## in Loop: Header=BB0_5 Depth=1 addq %r15, %rax shrq $3, %rax movl %eax, (%r14) LBB0_13: ## in Loop: Header=BB0_5 Depth=1 addq $8, %r14 addq $-8, %r15 cmpq (%rbx), %r14 jae LBB0_14 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl 4(%r14), %edi callq _BPF_CLASS cmpq (%r12), %rax jne LBB0_13 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movl 4(%r14), %edi callq _BPF_OP movq _BPF_CALL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_13 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movl (%r14), %ecx cmpl $128, %ecx je LBB0_11 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload cmpl $130, %ecx je LBB0_12 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload cmpl $129, %ecx je LBB0_12 ## %bb.10: leaq L_.str(%rip), %rdi callq _pr_err movq _BPF_LOADER_ERRNO__PROLOGUE@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_14: movl %r13d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _BPF_LOADER_ERRNO__PROLOGUE2BIG,4,2 ## @BPF_LOADER_ERRNO__PROLOGUE2BIG .comm _BPF_JMP,8,3 ## @BPF_JMP .comm _BPF_CALL,8,3 ## @BPF_CALL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "bpf prologue: internal error: relocation failed\n" .comm _BPF_LOADER_ERRNO__PROLOGUE,4,2 ## @BPF_LOADER_ERRNO__PROLOGUE .no_dead_strip _prologue_relocate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function prologue_relocate _prologue_relocate: ; @prologue_relocate .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, x3 mov x20, x2 mov x21, x1 mov x22, x0 bl _check_pos cbz x0, LBB0_3 ; %bb.1: Lloh0: adrp x8, _BPF_LOADER_ERRNO__PROLOGUE2BIG@GOTPAGE Lloh1: ldr x8, [x8, _BPF_LOADER_ERRNO__PROLOGUE2BIG@GOTPAGEOFF] LBB0_2: ldr w8, [x8] neg w0, w8 b LBB0_15 LBB0_3: ldp x8, x23, [x22] cmp x23, x8 b.hs LBB0_14 ; %bb.4: mov x8, #-8 sub x24, x8, x23 Lloh2: adrp x25, _BPF_JMP@GOTPAGE Lloh3: ldr x25, [x25, _BPF_JMP@GOTPAGEOFF] Lloh4: adrp x26, _BPF_CALL@GOTPAGE Lloh5: ldr x26, [x26, _BPF_CALL@GOTPAGEOFF] b LBB0_8 LBB0_5: ; in Loop: Header=BB0_8 Depth=1 mov x9, x19 LBB0_6: ; in Loop: Header=BB0_8 Depth=1 add x8, x24, x9 lsr x8, x8, #3 str w8, [x23] LBB0_7: ; in Loop: Header=BB0_8 Depth=1 add x23, x23, #8 ldr x8, [x22] sub x24, x24, #8 cmp x23, x8 b.hs LBB0_14 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w0, [x23, #4] bl _BPF_CLASS ldr x8, [x25] cmp x0, x8 b.ne LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 ldr w0, [x23, #4] bl _BPF_OP ldr x8, [x26] cmp x0, x8 b.eq LBB0_7 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x23] cmp w8, #128 b.eq LBB0_5 ; %bb.11: ; in Loop: Header=BB0_8 Depth=1 mov x9, x21 cmp w8, #130 b.eq LBB0_6 ; %bb.12: ; in Loop: Header=BB0_8 Depth=1 mov x9, x20 cmp w8, #129 b.eq LBB0_6 ; %bb.13: Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF bl _pr_err Lloh8: adrp x8, _BPF_LOADER_ERRNO__PROLOGUE@GOTPAGE Lloh9: ldr x8, [x8, _BPF_LOADER_ERRNO__PROLOGUE@GOTPAGEOFF] b LBB0_2 LBB0_14: mov w0, #0 LBB0_15: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _BPF_LOADER_ERRNO__PROLOGUE2BIG,4,2 ; @BPF_LOADER_ERRNO__PROLOGUE2BIG .comm _BPF_JMP,8,3 ; @BPF_JMP .comm _BPF_CALL,8,3 ; @BPF_CALL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "bpf prologue: internal error: relocation failed\n" .comm _BPF_LOADER_ERRNO__PROLOGUE,4,2 ; @BPF_LOADER_ERRNO__PROLOGUE .no_dead_strip _prologue_relocate .subsections_via_symbols
AnghaBench/linux/tools/perf/util/extr_bpf-prologue.c_prologue_relocate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strtoul ## -- Begin function strtoul .p2align 4, 0x90 _strtoul: ## @strtoul .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r12d movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill leaq -1(%rdi), %r13 movq __DefaultRuneLocale@GOTPCREL(%rip), %r14 movl $16384, %r15d ## imm = 0x4000 jmp LBB0_1 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movl $16384, %esi ## imm = 0x4000 movl %ebx, %edi callq ___maskrune LBB0_4: ## in Loop: Header=BB0_1 Depth=1 incq %r13 testl %eax, %eax je LBB0_5 LBB0_1: ## =>This Inner Loop Header: Depth=1 movsbl 1(%r13), %ebx testl %ebx, %ebx js LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl %ebx, %eax movl 60(%r14,%rax,4), %eax andl %r15d, %eax jmp LBB0_4 LBB0_5: movl %r12d, %eax rorl %eax leaq 1(%r13), %rcx cmpl $8, %eax ja LBB0_21 ## %bb.6: leaq LJTI0_0(%rip), %rdx movslq (%rdx,%rax,4), %rax addq %rdx, %rax jmpq *%rax LBB0_7: cmpb $48, %bl jne LBB0_16 ## %bb.8: movl $1, %edx cmpb $120, (%rcx) jne LBB0_19 ## %bb.9: addq $2, %r13 jmp LBB0_12 LBB0_16: movsbl (%r13), %ecx addl $-48, %ecx cmpl $9, %ecx ja LBB0_17 ## %bb.27: xorl %eax, %eax movq -48(%rbp), %r8 ## 8-byte Reload .p2align 4, 0x90 LBB0_28: ## =>This Inner Loop Header: Depth=1 leaq (%rax,%rax,4), %rax movl %ecx, %ecx leaq (%rcx,%rax,2), %rax movsbl 1(%r13), %ecx incq %r13 addl $-48, %ecx cmpl $9, %ecx jbe LBB0_28 ## %bb.29: movl $1, %edx jmp LBB0_34 LBB0_18: xorl %edx, %edx movq %r13, %rcx LBB0_19: movsbl (%rcx), %esi addl $-48, %esi xorl %eax, %eax cmpl $7, %esi jbe LBB0_24 ## %bb.20: movq %rcx, %r13 movq -48(%rbp), %r8 ## 8-byte Reload jmp LBB0_34 LBB0_10: cmpb $48, %bl jne LBB0_12 ## %bb.11: xorl %eax, %eax cmpb $120, 1(%r13) sete %al leaq (%r13,%rax,2), %r13 LBB0_12: movq -48(%rbp), %r8 ## 8-byte Reload movsbl (%r13), %eax addl $-48, %eax cmpl $74, %eax ja LBB0_13 ## %bb.14: movl %eax, %eax leaq _cvtIn(%rip), %rcx movb (%rax,%rcx), %bl cmpb $15, %bl jbe LBB0_15 LBB0_13: xorl %eax, %eax xorl %edx, %edx jmp LBB0_34 LBB0_21: movsbl (%r13), %eax addl $-48, %eax cmpl $74, %eax ja LBB0_17 ## %bb.22: movl %eax, %eax leaq _cvtIn(%rip), %rsi movsbl (%rax,%rsi), %ebx cmpl %r12d, %ebx jae LBB0_17 ## %bb.23: movslq %r12d, %rdi xorl %eax, %eax movq -48(%rbp), %r8 ## 8-byte Reload movl $1, %edx .p2align 4, 0x90 LBB0_33: ## =>This Inner Loop Header: Depth=1 movq %rcx, %r13 movq %rax, %rcx imulq %rdi, %rcx movl %ebx, %eax addq %rcx, %rax movsbl (%r13), %ecx addl $-48, %ecx cmpl $75, %ecx jae LBB0_34 ## %bb.32: ## in Loop: Header=BB0_33 Depth=1 movl %ecx, %ecx movsbl (%rcx,%rsi), %ebx leaq 1(%r13), %rcx cmpl %r12d, %ebx jb LBB0_33 jmp LBB0_34 LBB0_17: xorl %eax, %eax xorl %edx, %edx movq -48(%rbp), %r8 ## 8-byte Reload jmp LBB0_34 LBB0_24: movq -48(%rbp), %r8 ## 8-byte Reload .p2align 4, 0x90 LBB0_25: ## =>This Inner Loop Header: Depth=1 movl %esi, %edx leaq (%rdx,%rax,8), %rax movsbl 1(%rcx), %esi incq %rcx addl $-48, %esi cmpl $7, %esi jbe LBB0_25 ## %bb.26: movl $1, %edx movq %rcx, %r13 LBB0_34: testq %r8, %r8 je LBB0_36 ## %bb.35: testl %edx, %edx cmoveq -56(%rbp), %r13 ## 8-byte Folded Reload movq %r13, (%r8) LBB0_36: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_15: incq %r13 xorl %eax, %eax movq %r13, %rsi .p2align 4, 0x90 LBB0_31: ## =>This Inner Loop Header: Depth=1 movq %rsi, %r13 movzbl %bl, %edx shlq $4, %rax addq %rdx, %rax movsbl (%rsi), %esi addl $-48, %esi movl $1, %edx cmpl $74, %esi ja LBB0_34 ## %bb.30: ## in Loop: Header=BB0_31 Depth=1 movl %esi, %esi movzbl (%rsi,%rcx), %ebx leaq 1(%r13), %rsi cmpb $15, %bl jbe LBB0_31 jmp LBB0_34 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_21, LBB0_21-LJTI0_0 .set L0_0_set_18, LBB0_18-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 LJTI0_0: .long L0_0_set_7 .long L0_0_set_21 .long L0_0_set_21 .long L0_0_set_21 .long L0_0_set_18 .long L0_0_set_16 .long L0_0_set_21 .long L0_0_set_21 .long L0_0_set_10 .end_data_region ## -- End function .section __TEXT,__const .p2align 4 ## @cvtIn _cvtIn: .ascii "\000\001\002\003\004\005\006\007\b\tddddddd\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 !\"#dddddd\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 !\"#" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strtoul ; -- Begin function strtoul .p2align 2 _strtoul: ; @strtoul .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 sub x23, x0, #1 Lloh0: adrp x24, __DefaultRuneLocale@GOTPAGE Lloh1: ldr x24, [x24, __DefaultRuneLocale@GOTPAGEOFF] b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 mov x0, x22 mov w1, #16384 bl ___maskrune add x23, x23, #1 cbz w0, LBB0_4 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrsb w22, [x23, #1] tbnz w22, #31, LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x8, x24, w22, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x4000 add x23, x23, #1 cbnz w0, LBB0_2 LBB0_4: ror w8, w21, #1 add x9, x23, #1 cmp w8, #8 b.hi LBB0_20 ; %bb.5: Lloh2: adrp x10, lJTI0_0@PAGE Lloh3: add x10, x10, lJTI0_0@PAGEOFF adr x11, LBB0_6 ldrb w12, [x10, x8] add x11, x11, x12, lsl #2 br x11 LBB0_6: cmp w22, #48 b.ne LBB0_9 ; %bb.7: ldrb w8, [x9] cmp w8, #120 b.ne LBB0_26 ; %bb.8: add x23, x23, #2 b LBB0_15 LBB0_9: ldrsb w8, [x23] sub w8, w8, #48 cmp w8, #9 b.hi LBB0_25 ; %bb.10: mov x0, #0 mov w9, #10 LBB0_11: ; =>This Inner Loop Header: Depth=1 mul x10, x0, x9 add x0, x10, w8, uxtw ldrsb w8, [x23, #1]! sub w8, w8, #48 cmp w8, #9 b.ls LBB0_11 b LBB0_31 LBB0_12: mov w8, #0 b LBB0_27 LBB0_13: cmp w22, #48 b.ne LBB0_15 ; %bb.14: ldrb w8, [x23, #1] cmp w8, #120 cset w8, eq add x23, x23, w8, uxtw #1 LBB0_15: ldrsb w8, [x23] sub w9, w8, #48 cmp w9, #74 b.hi LBB0_25 ; %bb.16: Lloh4: adrp x8, _cvtIn@PAGE Lloh5: add x8, x8, _cvtIn@PAGEOFF ldrb w9, [x8, w9, uxtw] cmp w9, #15 b.hi LBB0_25 ; %bb.17: mov x0, #0 add x10, x23, #1 LBB0_18: ; =>This Inner Loop Header: Depth=1 mov x23, x10 lsl x10, x0, #4 add x0, x10, w9, uxtb ldrsb w9, [x23] sub w9, w9, #48 cmp w9, #74 b.hi LBB0_31 ; %bb.19: ; in Loop: Header=BB0_18 Depth=1 ldrb w9, [x8, w9, uxtw] add x10, x23, #1 cmp w9, #15 b.ls LBB0_18 b LBB0_31 LBB0_20: ldrsb w8, [x23] sub w8, w8, #48 cmp w8, #74 b.hi LBB0_25 ; %bb.21: Lloh6: adrp x10, _cvtIn@PAGE Lloh7: add x10, x10, _cvtIn@PAGEOFF ldrsb w12, [x10, w8, uxtw] cmp w12, w21 b.hs LBB0_25 ; %bb.22: mov x0, #0 sxtw x11, w21 LBB0_23: ; =>This Inner Loop Header: Depth=1 mov x23, x9 mul x8, x0, x11 add x0, x8, w12, uxtw ldrsb w8, [x9] sub w8, w8, #48 cmp w8, #75 b.hs LBB0_31 ; %bb.24: ; in Loop: Header=BB0_23 Depth=1 ldrsb w12, [x10, w8, uxtw] add x9, x23, #1 mov w8, #1 cmp w12, w21 b.lo LBB0_23 b LBB0_32 LBB0_25: mov x0, #0 mov w8, #0 b LBB0_32 LBB0_26: mov w8, #1 mov x23, x9 LBB0_27: ldrsb w9, [x23] sub w9, w9, #48 cmp w9, #7 b.ls LBB0_29 ; %bb.28: mov x0, #0 b LBB0_32 LBB0_29: mov x0, #0 LBB0_30: ; =>This Inner Loop Header: Depth=1 lsl x8, x0, #3 add x0, x8, w9, uxtw ldrsb w8, [x23, #1]! sub w9, w8, #48 cmp w9, #7 b.ls LBB0_30 LBB0_31: mov w8, #1 LBB0_32: cbz x19, LBB0_34 ; %bb.33: cmp w8, #0 csel x8, x20, x23, eq str x8, [x19] LBB0_34: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_6-LBB0_6)>>2 .byte (LBB0_20-LBB0_6)>>2 .byte (LBB0_20-LBB0_6)>>2 .byte (LBB0_20-LBB0_6)>>2 .byte (LBB0_12-LBB0_6)>>2 .byte (LBB0_9-LBB0_6)>>2 .byte (LBB0_20-LBB0_6)>>2 .byte (LBB0_20-LBB0_6)>>2 .byte (LBB0_13-LBB0_6)>>2 ; -- End function _cvtIn: ; @cvtIn .ascii "\000\001\002\003\004\005\006\007\b\tddddddd\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 !\"#dddddd\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 !\"#" .subsections_via_symbols
the_stack_data/24153.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function asn1_bio_ctrl _asn1_bio_ctrl: ## @asn1_bio_ctrl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %r14 movl %esi, %r13d movq %rdi, %r12 callq _BIO_get_data testq %rax, %rax je LBB0_24 ## %bb.1: movq %rax, %rbx movq %r12, %rdi callq _BIO_next movq %rax, %rdi leal -128(%r13), %eax cmpl $6, %eax ja LBB0_4 ## %bb.2: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_3: movl 4(%r15), %eax movl %eax, 8(%rbx) movl (%r15), %eax movl %eax, 4(%rbx) jmp LBB0_11 LBB0_4: testq %rdi, %rdi je LBB0_24 ## %bb.5: movl %r13d, %esi jmp LBB0_22 LBB0_6: movl 4(%r15), %eax movl %eax, 28(%rbx) movl (%r15), %eax movl %eax, 24(%rbx) jmp LBB0_11 LBB0_7: movq %r15, 16(%rbx) jmp LBB0_11 LBB0_8: movl 8(%rbx), %eax movl %eax, 4(%r15) movl 4(%rbx), %eax movl %eax, (%r15) jmp LBB0_11 LBB0_9: movl 28(%rbx), %eax movl %eax, 4(%r15) movl 24(%rbx), %eax movl %eax, (%r15) jmp LBB0_11 LBB0_10: movq 16(%rbx), %rax movq %rax, (%r15) LBB0_11: movl $1, %eax jmp LBB0_12 LBB0_13: testq %rdi, %rdi je LBB0_24 ## %bb.14: movl (%rbx), %eax movq _ASN1_STATE_HEADER@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_17 ## %bb.15: movq %rdi, %r13 movl 8(%rbx), %edx movq _ASN1_STATE_POST_COPY@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _ASN1_STATE_DONE@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %r12, %rdi movq %rbx, %rsi callq _asn1_bio_setup_ex testl %eax, %eax je LBB0_24 ## %bb.16: movl (%rbx), %eax movq %r13, %rdi LBB0_17: movq _ASN1_STATE_POST_COPY@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_20 ## %bb.18: movq %rdi, %r13 movl 4(%rbx), %edx movq _ASN1_STATE_DONE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r12, %rdi movq %rbx, %rsi callq _asn1_bio_flush_ex testq %rax, %rax jle LBB0_12 ## %bb.19: movl (%rbx), %eax movq %r13, %rdi LBB0_20: movq _ASN1_STATE_DONE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_23 ## %bb.21: movl $134, %esi LBB0_22: movq %r14, %rdx movq %r15, %rcx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _BIO_ctrl ## TAILCALL LBB0_23: movq %r12, %rdi callq _BIO_clear_retry_flags LBB0_24: xorl %eax, %eax LBB0_12: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 LJTI0_0: .long L0_0_set_3 .long L0_0_set_6 .long L0_0_set_7 .long L0_0_set_8 .long L0_0_set_9 .long L0_0_set_10 .long L0_0_set_13 .end_data_region ## -- End function .comm _ASN1_STATE_HEADER,4,2 ## @ASN1_STATE_HEADER .comm _ASN1_STATE_POST_COPY,4,2 ## @ASN1_STATE_POST_COPY .comm _ASN1_STATE_DONE,4,2 ## @ASN1_STATE_DONE .no_dead_strip _asn1_bio_ctrl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function asn1_bio_ctrl _asn1_bio_ctrl: ; @asn1_bio_ctrl .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, x3 mov x20, x2 mov x24, x1 mov x21, x0 bl _BIO_get_data cbz x0, LBB0_12 ; %bb.1: mov x22, x0 mov x0, x21 bl _BIO_next mov x23, x0 sub w8, w24, #128 cmp w8, #6 b.hi LBB0_4 ; %bb.2: Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_3 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_3: ldr d0, [x19] stur d0, [x22, #4] b LBB0_11 LBB0_4: cbz x23, LBB0_24 ; %bb.5: mov x0, x23 mov x1, x24 b LBB0_22 LBB0_6: ldr d0, [x19] str d0, [x22, #24] b LBB0_11 LBB0_7: str x19, [x22, #16] b LBB0_11 LBB0_8: ldur d0, [x22, #4] str d0, [x19] b LBB0_11 LBB0_9: ldr d0, [x22, #24] str d0, [x19] b LBB0_11 LBB0_10: ldr x8, [x22, #16] str x8, [x19] LBB0_11: mov w0, #1 LBB0_12: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_13: cbz x23, LBB0_24 ; %bb.14: ldr w8, [x22] Lloh2: adrp x9, _ASN1_STATE_HEADER@GOTPAGE Lloh3: ldr x9, [x9, _ASN1_STATE_HEADER@GOTPAGEOFF] Lloh4: ldr w9, [x9] Lloh5: adrp x25, _ASN1_STATE_POST_COPY@GOTPAGE Lloh6: ldr x25, [x25, _ASN1_STATE_POST_COPY@GOTPAGEOFF] Lloh7: adrp x24, _ASN1_STATE_DONE@GOTPAGE Lloh8: ldr x24, [x24, _ASN1_STATE_DONE@GOTPAGEOFF] cmp w8, w9 b.ne LBB0_17 ; %bb.15: ldr w2, [x22, #8] ldr w3, [x25] ldr w4, [x24] mov x0, x21 mov x1, x22 bl _asn1_bio_setup_ex cbz w0, LBB0_24 ; %bb.16: ldr w8, [x22] LBB0_17: ldr w9, [x25] cmp w8, w9 b.ne LBB0_20 ; %bb.18: ldr w2, [x22, #4] ldr w3, [x24] mov x0, x21 mov x1, x22 bl _asn1_bio_flush_ex cmp x0, #1 b.lt LBB0_12 ; %bb.19: ldr w8, [x22] LBB0_20: ldr w9, [x24] cmp w8, w9 b.ne LBB0_23 ; %bb.21: mov x0, x23 mov w1, #134 LBB0_22: mov x2, x20 mov x3, 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 ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _BIO_ctrl LBB0_23: mov x0, x21 bl _BIO_clear_retry_flags LBB0_24: mov x0, #0 b LBB0_12 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_3-LBB0_3)>>2 .byte (LBB0_6-LBB0_3)>>2 .byte (LBB0_7-LBB0_3)>>2 .byte (LBB0_8-LBB0_3)>>2 .byte (LBB0_9-LBB0_3)>>2 .byte (LBB0_10-LBB0_3)>>2 .byte (LBB0_13-LBB0_3)>>2 ; -- End function .comm _ASN1_STATE_HEADER,4,2 ; @ASN1_STATE_HEADER .comm _ASN1_STATE_POST_COPY,4,2 ; @ASN1_STATE_POST_COPY .comm _ASN1_STATE_DONE,4,2 ; @ASN1_STATE_DONE .no_dead_strip _asn1_bio_ctrl .subsections_via_symbols
AnghaBench/openssl/crypto/asn1/extr_bio_asn1.c_asn1_bio_ctrl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function xgbe_i2c_enable_interrupts _xgbe_i2c_enable_interrupts: ## @xgbe_i2c_enable_interrupts .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _IC_INTR_MASK@GOTPCREL(%rip), %rax movl (%rax), %esi movq _XGBE_DEFAULT_INT_MASK@GOTPCREL(%rip), %rax movl (%rax), %edx popq %rbp jmp _XI2C_IOWRITE ## TAILCALL .cfi_endproc ## -- End function .comm _IC_INTR_MASK,4,2 ## @IC_INTR_MASK .comm _XGBE_DEFAULT_INT_MASK,4,2 ## @XGBE_DEFAULT_INT_MASK .no_dead_strip _xgbe_i2c_enable_interrupts .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function xgbe_i2c_enable_interrupts _xgbe_i2c_enable_interrupts: ; @xgbe_i2c_enable_interrupts .cfi_startproc ; %bb.0: Lloh0: adrp x8, _IC_INTR_MASK@GOTPAGE Lloh1: ldr x8, [x8, _IC_INTR_MASK@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _XGBE_DEFAULT_INT_MASK@GOTPAGE Lloh4: ldr x8, [x8, _XGBE_DEFAULT_INT_MASK@GOTPAGEOFF] Lloh5: ldr w2, [x8] b _XI2C_IOWRITE .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _IC_INTR_MASK,4,2 ; @IC_INTR_MASK .comm _XGBE_DEFAULT_INT_MASK,4,2 ; @XGBE_DEFAULT_INT_MASK .no_dead_strip _xgbe_i2c_enable_interrupts .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-i2c.c_xgbe_i2c_enable_interrupts.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI0_0: .space 16 .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 %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _root(%rip), %rax leaq L_str(%rip), %r14 leaq _root(%rip), %r15 jmp LBB0_1 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq 16(%rbx), %rax testq %rax, %rax je LBB0_6 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %rax, %rbx movl $24, %edi callq _malloc movq %rax, %r12 testq %rax, %rax jne LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq %r14, %rdi callq _puts LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movl $4, (%r12) xorps %xmm0, %xmm0 movups %xmm0, 8(%r12) testq %rbx, %rbx je LBB0_11 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movl (%rbx), %eax cmpl $3, %eax jle LBB0_5 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 cmpl $4, %eax je LBB0_12 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 movq 8(%rbx), %rax testq %rax, %rax jne LBB0_1 ## %bb.9: addq $8, %rbx jmp LBB0_10 LBB0_6: addq $16, %rbx LBB0_10: movq %rbx, %r15 LBB0_11: movq %r12, (%r15) LBB0_12: movq _root(%rip), %rax leaq L_str(%rip), %r14 leaq _root(%rip), %r15 jmp LBB0_13 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_13 Depth=1 movq 16(%rbx), %rax testq %rax, %rax je LBB0_18 LBB0_13: ## =>This Inner Loop Header: Depth=1 movq %rax, %rbx movl $24, %edi callq _malloc movq %rax, %r12 testq %rax, %rax jne LBB0_15 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movq %r14, %rdi callq _puts LBB0_15: ## in Loop: Header=BB0_13 Depth=1 movl $2, (%r12) xorps %xmm0, %xmm0 movups %xmm0, 8(%r12) testq %rbx, %rbx je LBB0_23 ## %bb.16: ## in Loop: Header=BB0_13 Depth=1 movl (%rbx), %eax cmpl $1, %eax jle LBB0_17 ## %bb.19: ## in Loop: Header=BB0_13 Depth=1 cmpl $2, %eax je LBB0_24 ## %bb.20: ## in Loop: Header=BB0_13 Depth=1 movq 8(%rbx), %rax testq %rax, %rax jne LBB0_13 ## %bb.21: addq $8, %rbx jmp LBB0_22 LBB0_18: addq $16, %rbx LBB0_22: movq %rbx, %r15 LBB0_23: movq %r12, (%r15) LBB0_24: movq _root(%rip), %rax leaq L_str(%rip), %r14 leaq _root(%rip), %r15 jmp LBB0_25 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_25 Depth=1 movq 16(%rbx), %rax testq %rax, %rax je LBB0_30 LBB0_25: ## =>This Inner Loop Header: Depth=1 movq %rax, %rbx movl $24, %edi callq _malloc movq %rax, %r12 testq %rax, %rax jne LBB0_27 ## %bb.26: ## in Loop: Header=BB0_25 Depth=1 movq %r14, %rdi callq _puts LBB0_27: ## in Loop: Header=BB0_25 Depth=1 movl $7, (%r12) xorps %xmm0, %xmm0 movups %xmm0, 8(%r12) testq %rbx, %rbx je LBB0_35 ## %bb.28: ## in Loop: Header=BB0_25 Depth=1 movl (%rbx), %eax cmpl $6, %eax jle LBB0_29 ## %bb.31: ## in Loop: Header=BB0_25 Depth=1 cmpl $7, %eax je LBB0_36 ## %bb.32: ## in Loop: Header=BB0_25 Depth=1 movq 8(%rbx), %rax testq %rax, %rax jne LBB0_25 ## %bb.33: addq $8, %rbx jmp LBB0_34 LBB0_30: addq $16, %rbx LBB0_34: movq %rbx, %r15 LBB0_35: movq %r12, (%r15) LBB0_36: movq _root(%rip), %rax leaq L_str(%rip), %r14 leaq _root(%rip), %r15 jmp LBB0_37 .p2align 4, 0x90 LBB0_41: ## in Loop: Header=BB0_37 Depth=1 movq 16(%rbx), %rax testq %rax, %rax je LBB0_42 LBB0_37: ## =>This Inner Loop Header: Depth=1 movq %rax, %rbx movl $24, %edi callq _malloc movq %rax, %r12 testq %rax, %rax jne LBB0_39 ## %bb.38: ## in Loop: Header=BB0_37 Depth=1 movq %r14, %rdi callq _puts LBB0_39: ## in Loop: Header=BB0_37 Depth=1 movl $1, (%r12) xorps %xmm0, %xmm0 movups %xmm0, 8(%r12) testq %rbx, %rbx je LBB0_47 ## %bb.40: ## in Loop: Header=BB0_37 Depth=1 movl (%rbx), %eax testl %eax, %eax jle LBB0_41 ## %bb.43: ## in Loop: Header=BB0_37 Depth=1 cmpl $1, %eax je LBB0_48 ## %bb.44: ## in Loop: Header=BB0_37 Depth=1 movq 8(%rbx), %rax testq %rax, %rax jne LBB0_37 ## %bb.45: addq $8, %rbx jmp LBB0_46 LBB0_42: addq $16, %rbx LBB0_46: movq %rbx, %r15 LBB0_47: movq %r12, (%r15) LBB0_48: movq _root(%rip), %rax leaq L_str(%rip), %r14 leaq _root(%rip), %r15 jmp LBB0_49 .p2align 4, 0x90 LBB0_53: ## in Loop: Header=BB0_49 Depth=1 movq 16(%rbx), %rax testq %rax, %rax je LBB0_54 LBB0_49: ## =>This Inner Loop Header: Depth=1 movq %rax, %rbx movl $24, %edi callq _malloc movq %rax, %r12 testq %rax, %rax jne LBB0_51 ## %bb.50: ## in Loop: Header=BB0_49 Depth=1 movq %r14, %rdi callq _puts LBB0_51: ## in Loop: Header=BB0_49 Depth=1 movl $3, (%r12) xorps %xmm0, %xmm0 movups %xmm0, 8(%r12) testq %rbx, %rbx je LBB0_59 ## %bb.52: ## in Loop: Header=BB0_49 Depth=1 movl (%rbx), %eax cmpl $2, %eax jle LBB0_53 ## %bb.55: ## in Loop: Header=BB0_49 Depth=1 cmpl $3, %eax je LBB0_60 ## %bb.56: ## in Loop: Header=BB0_49 Depth=1 movq 8(%rbx), %rax testq %rax, %rax jne LBB0_49 ## %bb.57: addq $8, %rbx jmp LBB0_58 LBB0_54: addq $16, %rbx LBB0_58: movq %rbx, %r15 LBB0_59: movq %r12, (%r15) LBB0_60: movq _root(%rip), %rax leaq L_str(%rip), %r14 leaq _root(%rip), %r15 jmp LBB0_61 .p2align 4, 0x90 LBB0_65: ## in Loop: Header=BB0_61 Depth=1 movq 16(%rbx), %rax testq %rax, %rax je LBB0_66 LBB0_61: ## =>This Inner Loop Header: Depth=1 movq %rax, %rbx movl $24, %edi callq _malloc movq %rax, %r12 testq %rax, %rax jne LBB0_63 ## %bb.62: ## in Loop: Header=BB0_61 Depth=1 movq %r14, %rdi callq _puts LBB0_63: ## in Loop: Header=BB0_61 Depth=1 movl $6, (%r12) xorps %xmm0, %xmm0 movups %xmm0, 8(%r12) testq %rbx, %rbx je LBB0_71 ## %bb.64: ## in Loop: Header=BB0_61 Depth=1 movl (%rbx), %eax cmpl $5, %eax jle LBB0_65 ## %bb.67: ## in Loop: Header=BB0_61 Depth=1 cmpl $6, %eax je LBB0_72 ## %bb.68: ## in Loop: Header=BB0_61 Depth=1 movq 8(%rbx), %rax testq %rax, %rax jne LBB0_61 ## %bb.69: addq $8, %rbx jmp LBB0_70 LBB0_66: addq $16, %rbx LBB0_70: movq %rbx, %r15 LBB0_71: movq %r12, (%r15) LBB0_72: movq _root(%rip), %rax leaq L_str(%rip), %r14 leaq _root(%rip), %r15 jmp LBB0_73 .p2align 4, 0x90 LBB0_77: ## in Loop: Header=BB0_73 Depth=1 movq 16(%rbx), %rax testq %rax, %rax je LBB0_78 LBB0_73: ## =>This Inner Loop Header: Depth=1 movq %rax, %rbx movl $24, %edi callq _malloc movq %rax, %r12 testq %rax, %rax jne LBB0_75 ## %bb.74: ## in Loop: Header=BB0_73 Depth=1 movq %r14, %rdi callq _puts LBB0_75: ## in Loop: Header=BB0_73 Depth=1 movl $9, (%r12) xorps %xmm0, %xmm0 movups %xmm0, 8(%r12) testq %rbx, %rbx je LBB0_83 ## %bb.76: ## in Loop: Header=BB0_73 Depth=1 movl (%rbx), %eax cmpl $8, %eax jle LBB0_77 ## %bb.79: ## in Loop: Header=BB0_73 Depth=1 cmpl $9, %eax je LBB0_84 ## %bb.80: ## in Loop: Header=BB0_73 Depth=1 movq 8(%rbx), %rax testq %rax, %rax jne LBB0_73 ## %bb.81: addq $8, %rbx jmp LBB0_82 LBB0_78: addq $16, %rbx LBB0_82: movq %rbx, %r15 LBB0_83: movq %r12, (%r15) LBB0_84: leaq L_str.10(%rip), %rdi callq _puts movq _root(%rip), %rdi xorl %esi, %esi movl $84, %edx callq _disp_node movq _root(%rip), %rdi callq _invert_tree leaq L_str.11(%rip), %rdi callq _puts movq _root(%rip), %rdi xorl %esi, %esi movl $84, %edx callq _disp_node xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function tr_add LCPI1_0: .space 16 .section __TEXT,__text,regular,pure_instructions .globl _tr_add .p2align 4, 0x90 _tr_add: ## @tr_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d leaq L_str(%rip), %r15 leaq _root(%rip), %r12 jmp LBB1_1 .p2align 4, 0x90 LBB1_5: ## in Loop: Header=BB1_1 Depth=1 movq 16(%rbx), %rdi testq %rdi, %rdi je LBB1_6 LBB1_1: ## =>This Inner Loop Header: Depth=1 movq %rdi, %rbx movl $24, %edi callq _malloc movq %rax, %r13 testq %rax, %rax jne LBB1_3 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movq %r15, %rdi callq _puts LBB1_3: ## in Loop: Header=BB1_1 Depth=1 movl %r14d, (%r13) xorps %xmm0, %xmm0 movups %xmm0, 8(%r13) testq %rbx, %rbx je LBB1_11 ## %bb.4: ## in Loop: Header=BB1_1 Depth=1 cmpl %r14d, (%rbx) jl LBB1_5 ## %bb.7: ## in Loop: Header=BB1_1 Depth=1 jle LBB1_12 ## %bb.8: ## in Loop: Header=BB1_1 Depth=1 movq 8(%rbx), %rdi testq %rdi, %rdi jne LBB1_1 ## %bb.9: addq $8, %rbx jmp LBB1_10 LBB1_6: addq $16, %rbx LBB1_10: movq %rbx, %r12 LBB1_11: movq %r13, (%r12) LBB1_12: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _disp_tree ## -- Begin function disp_tree .p2align 4, 0x90 _disp_tree: ## @disp_tree .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rsi leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movq _root(%rip), %rdi xorl %esi, %esi movl $84, %edx popq %rbp jmp _disp_node ## TAILCALL .cfi_endproc ## -- End function .globl _invert_tree ## -- Begin function invert_tree .p2align 4, 0x90 _invert_tree: ## @invert_tree .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 8(%rdi), %rdi testq %rdi, %rdi je LBB3_2 ## %bb.1: callq _invert_tree LBB3_2: movq 16(%rbx), %rdi testq %rdi, %rdi je LBB3_3 ## %bb.4: callq _invert_tree movq 16(%rbx), %rax jmp LBB3_5 LBB3_3: xorl %eax, %eax LBB3_5: movq 8(%rbx), %rcx movq %rax, 8(%rbx) movq %rcx, 16(%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _nd_malloc ## -- Begin function nd_malloc .p2align 4, 0x90 _nd_malloc: ## @nd_malloc .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 movl $24, %edi callq _malloc movq %rax, %rbx testq %rax, %rax jne LBB4_2 ## %bb.1: leaq L_str(%rip), %rdi callq _puts LBB4_2: movl %r14d, (%rbx) xorps %xmm0, %xmm0 movups %xmm0, 8(%rbx) movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _disp_node ## -- Begin function disp_node .p2align 4, 0x90 _disp_node: ## @disp_node .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testq %rdi, %rdi je LBB5_11 ## %bb.1: movl %edx, %ebx movl %esi, %r14d movq %rdi, %r15 movq 16(%rdi), %rdi leal 1(%r14), %esi movl $82, %edx callq _disp_node cmpl $84, %ebx je LBB5_5 ## %bb.2: cmpl $82, %ebx je LBB5_6 ## %bb.3: cmpl $76, %ebx jne LBB5_8 ## %bb.4: leal (%r14,%r14), %eax leal (%rax,%rax,2), %esi leaq L_.str.4(%rip), %rdi leaq L_.str.5(%rip), %rdx leaq L_.str.8(%rip), %rcx jmp LBB5_7 LBB5_5: leaq L_.str.7(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB5_8 LBB5_6: leal (%r14,%r14), %eax leal (%rax,%rax,2), %esi leaq L_.str.4(%rip), %rdi leaq L_.str.5(%rip), %rdx leaq L_.str.6(%rip), %rcx LBB5_7: xorl %eax, %eax callq _printf LBB5_8: movl (%r15), %esi leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _printf movq 8(%r15), %r12 testq %r12, %r12 je LBB5_11 ## %bb.9: movl %r14d, %r15d addl $2, %r15d leal (%r14,%r14,2), %eax leal (%rax,%rax), %ebx addl $6, %ebx leaq L_.str.8(%rip), %r13 leaq L_.str.9(%rip), %r14 .p2align 4, 0x90 LBB5_10: ## =>This Inner Loop Header: Depth=1 movq 16(%r12), %rdi movl %r15d, %esi movl $82, %edx callq _disp_node leaq L_.str.4(%rip), %rdi movl %ebx, %esi leaq L_.str.5(%rip), %rdx movq %r13, %rcx xorl %eax, %eax callq _printf movl (%r12), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 8(%r12), %r12 incl %r15d addl $6, %ebx testq %r12, %r12 jne LBB5_10 LBB5_11: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _root ## @root .zerofill __DATA,__common,_root,8,3 .section __TEXT,__cstring,cstring_literals L_.str.3: ## @.str.3 .asciz "%s" L_.str.4: ## @.str.4 .asciz "%*s%s" L_.str.5: ## @.str.5 .space 1 L_.str.6: ## @.str.6 .asciz "/---" L_.str.7: ## @.str.7 .asciz " " L_.str.8: ## @.str.8 .asciz "\\---" L_.str.9: ## @.str.9 .asciz "%d\n" L_str: ## @str .asciz "Uable to allocate memory" L_str.10: ## @str.10 .asciz "Before" L_str.11: ## @str.11 .asciz "After" .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 x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 adrp x21, _root@PAGE ldr x8, [x21, _root@PAGEOFF] Lloh0: adrp x20, l_str@PAGE Lloh1: add x20, x20, l_str@PAGEOFF mov w23, #4 Lloh2: adrp x22, _root@PAGE Lloh3: add x22, x22, _root@PAGEOFF b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [x24, #16] cbz x8, LBB0_9 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x24, x8 mov w0, #24 bl _malloc mov x19, x0 cbnz x0, LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x0, x20 bl _puts LBB0_4: ; in Loop: Header=BB0_2 Depth=1 str w23, [x19] stp xzr, xzr, [x19, #8] cbz x24, LBB0_10 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x24] cmp w8, #3 b.le LBB0_1 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 cmp w8, #4 b.eq LBB0_11 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [x24, #8] cbnz x8, LBB0_2 ; %bb.8: add x22, x24, #8 b LBB0_10 LBB0_9: add x22, x24, #16 LBB0_10: str x19, [x22] LBB0_11: ldr x8, [x21, _root@PAGEOFF] Lloh4: adrp x20, l_str@PAGE Lloh5: add x20, x20, l_str@PAGEOFF mov w23, #2 Lloh6: adrp x22, _root@PAGE Lloh7: add x22, x22, _root@PAGEOFF b LBB0_13 LBB0_12: ; in Loop: Header=BB0_13 Depth=1 ldr x8, [x24, #16] cbz x8, LBB0_20 LBB0_13: ; =>This Inner Loop Header: Depth=1 mov x24, x8 mov w0, #24 bl _malloc mov x19, x0 cbnz x0, LBB0_15 ; %bb.14: ; in Loop: Header=BB0_13 Depth=1 mov x0, x20 bl _puts LBB0_15: ; in Loop: Header=BB0_13 Depth=1 str w23, [x19] stp xzr, xzr, [x19, #8] cbz x24, LBB0_21 ; %bb.16: ; in Loop: Header=BB0_13 Depth=1 ldr w8, [x24] cmp w8, #1 b.le LBB0_12 ; %bb.17: ; in Loop: Header=BB0_13 Depth=1 cmp w8, #2 b.eq LBB0_22 ; %bb.18: ; in Loop: Header=BB0_13 Depth=1 ldr x8, [x24, #8] cbnz x8, LBB0_13 ; %bb.19: add x22, x24, #8 b LBB0_21 LBB0_20: add x22, x24, #16 LBB0_21: str x19, [x22] LBB0_22: ldr x8, [x21, _root@PAGEOFF] Lloh8: adrp x20, l_str@PAGE Lloh9: add x20, x20, l_str@PAGEOFF mov w23, #7 Lloh10: adrp x22, _root@PAGE Lloh11: add x22, x22, _root@PAGEOFF b LBB0_24 LBB0_23: ; in Loop: Header=BB0_24 Depth=1 ldr x8, [x24, #16] cbz x8, LBB0_31 LBB0_24: ; =>This Inner Loop Header: Depth=1 mov x24, x8 mov w0, #24 bl _malloc mov x19, x0 cbnz x0, LBB0_26 ; %bb.25: ; in Loop: Header=BB0_24 Depth=1 mov x0, x20 bl _puts LBB0_26: ; in Loop: Header=BB0_24 Depth=1 str w23, [x19] stp xzr, xzr, [x19, #8] cbz x24, LBB0_32 ; %bb.27: ; in Loop: Header=BB0_24 Depth=1 ldr w8, [x24] cmp w8, #6 b.le LBB0_23 ; %bb.28: ; in Loop: Header=BB0_24 Depth=1 cmp w8, #7 b.eq LBB0_33 ; %bb.29: ; in Loop: Header=BB0_24 Depth=1 ldr x8, [x24, #8] cbnz x8, LBB0_24 ; %bb.30: add x22, x24, #8 b LBB0_32 LBB0_31: add x22, x24, #16 LBB0_32: str x19, [x22] LBB0_33: ldr x8, [x21, _root@PAGEOFF] Lloh12: adrp x20, l_str@PAGE Lloh13: add x20, x20, l_str@PAGEOFF mov w23, #1 Lloh14: adrp x22, _root@PAGE Lloh15: add x22, x22, _root@PAGEOFF b LBB0_35 LBB0_34: ; in Loop: Header=BB0_35 Depth=1 ldr x8, [x24, #16] cbz x8, LBB0_42 LBB0_35: ; =>This Inner Loop Header: Depth=1 mov x24, x8 mov w0, #24 bl _malloc mov x19, x0 cbnz x0, LBB0_37 ; %bb.36: ; in Loop: Header=BB0_35 Depth=1 mov x0, x20 bl _puts LBB0_37: ; in Loop: Header=BB0_35 Depth=1 str w23, [x19] stp xzr, xzr, [x19, #8] cbz x24, LBB0_43 ; %bb.38: ; in Loop: Header=BB0_35 Depth=1 ldr w8, [x24] cmp w8, #0 b.le LBB0_34 ; %bb.39: ; in Loop: Header=BB0_35 Depth=1 cmp w8, #1 b.eq LBB0_44 ; %bb.40: ; in Loop: Header=BB0_35 Depth=1 ldr x8, [x24, #8] cbnz x8, LBB0_35 ; %bb.41: add x22, x24, #8 b LBB0_43 LBB0_42: add x22, x24, #16 LBB0_43: str x19, [x22] LBB0_44: ldr x8, [x21, _root@PAGEOFF] Lloh16: adrp x20, l_str@PAGE Lloh17: add x20, x20, l_str@PAGEOFF mov w23, #3 Lloh18: adrp x22, _root@PAGE Lloh19: add x22, x22, _root@PAGEOFF b LBB0_46 LBB0_45: ; in Loop: Header=BB0_46 Depth=1 ldr x8, [x24, #16] cbz x8, LBB0_53 LBB0_46: ; =>This Inner Loop Header: Depth=1 mov x24, x8 mov w0, #24 bl _malloc mov x19, x0 cbnz x0, LBB0_48 ; %bb.47: ; in Loop: Header=BB0_46 Depth=1 mov x0, x20 bl _puts LBB0_48: ; in Loop: Header=BB0_46 Depth=1 str w23, [x19] stp xzr, xzr, [x19, #8] cbz x24, LBB0_54 ; %bb.49: ; in Loop: Header=BB0_46 Depth=1 ldr w8, [x24] cmp w8, #2 b.le LBB0_45 ; %bb.50: ; in Loop: Header=BB0_46 Depth=1 cmp w8, #3 b.eq LBB0_55 ; %bb.51: ; in Loop: Header=BB0_46 Depth=1 ldr x8, [x24, #8] cbnz x8, LBB0_46 ; %bb.52: add x22, x24, #8 b LBB0_54 LBB0_53: add x22, x24, #16 LBB0_54: str x19, [x22] LBB0_55: ldr x8, [x21, _root@PAGEOFF] Lloh20: adrp x20, l_str@PAGE Lloh21: add x20, x20, l_str@PAGEOFF mov w23, #6 Lloh22: adrp x22, _root@PAGE Lloh23: add x22, x22, _root@PAGEOFF b LBB0_57 LBB0_56: ; in Loop: Header=BB0_57 Depth=1 ldr x8, [x24, #16] cbz x8, LBB0_64 LBB0_57: ; =>This Inner Loop Header: Depth=1 mov x24, x8 mov w0, #24 bl _malloc mov x19, x0 cbnz x0, LBB0_59 ; %bb.58: ; in Loop: Header=BB0_57 Depth=1 mov x0, x20 bl _puts LBB0_59: ; in Loop: Header=BB0_57 Depth=1 str w23, [x19] stp xzr, xzr, [x19, #8] cbz x24, LBB0_65 ; %bb.60: ; in Loop: Header=BB0_57 Depth=1 ldr w8, [x24] cmp w8, #5 b.le LBB0_56 ; %bb.61: ; in Loop: Header=BB0_57 Depth=1 cmp w8, #6 b.eq LBB0_66 ; %bb.62: ; in Loop: Header=BB0_57 Depth=1 ldr x8, [x24, #8] cbnz x8, LBB0_57 ; %bb.63: add x22, x24, #8 b LBB0_65 LBB0_64: add x22, x24, #16 LBB0_65: str x19, [x22] LBB0_66: ldr x8, [x21, _root@PAGEOFF] Lloh24: adrp x20, l_str@PAGE Lloh25: add x20, x20, l_str@PAGEOFF mov w23, #9 Lloh26: adrp x22, _root@PAGE Lloh27: add x22, x22, _root@PAGEOFF b LBB0_68 LBB0_67: ; in Loop: Header=BB0_68 Depth=1 ldr x8, [x24, #16] cbz x8, LBB0_75 LBB0_68: ; =>This Inner Loop Header: Depth=1 mov x24, x8 mov w0, #24 bl _malloc mov x19, x0 cbnz x0, LBB0_70 ; %bb.69: ; in Loop: Header=BB0_68 Depth=1 mov x0, x20 bl _puts LBB0_70: ; in Loop: Header=BB0_68 Depth=1 str w23, [x19] stp xzr, xzr, [x19, #8] cbz x24, LBB0_76 ; %bb.71: ; in Loop: Header=BB0_68 Depth=1 ldr w8, [x24] cmp w8, #8 b.le LBB0_67 ; %bb.72: ; in Loop: Header=BB0_68 Depth=1 cmp w8, #9 b.eq LBB0_77 ; %bb.73: ; in Loop: Header=BB0_68 Depth=1 ldr x8, [x24, #8] cbnz x8, LBB0_68 ; %bb.74: add x22, x24, #8 b LBB0_76 LBB0_75: add x22, x24, #16 LBB0_76: str x19, [x22] LBB0_77: Lloh28: adrp x0, l_str.10@PAGE Lloh29: add x0, x0, l_str.10@PAGEOFF bl _puts ldr x0, [x21, _root@PAGEOFF] mov w1, #0 mov w2, #84 bl _disp_node ldr x0, [x21, _root@PAGEOFF] bl _invert_tree Lloh30: adrp x0, l_str.11@PAGE Lloh31: add x0, x0, l_str.11@PAGEOFF bl _puts ldr x0, [x21, _root@PAGEOFF] mov w1, #0 mov w2, #84 bl _disp_node 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 Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .cfi_endproc ; -- End function .globl _tr_add ; -- Begin function tr_add .p2align 2 _tr_add: ; @tr_add .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x1 Lloh32: adrp x21, l_str@PAGE Lloh33: add x21, x21, l_str@PAGEOFF Lloh34: adrp x22, _root@PAGE Lloh35: add x22, x22, _root@PAGEOFF b LBB1_2 LBB1_1: ; in Loop: Header=BB1_2 Depth=1 ldr x0, [x23, #16] cbz x0, LBB1_9 LBB1_2: ; =>This Inner Loop Header: Depth=1 mov x23, x0 mov w0, #24 bl _malloc mov x19, x0 cbnz x0, LBB1_4 ; %bb.3: ; in Loop: Header=BB1_2 Depth=1 mov x0, x21 bl _puts LBB1_4: ; in Loop: Header=BB1_2 Depth=1 str w20, [x19] stp xzr, xzr, [x19, #8] cbz x23, LBB1_10 ; %bb.5: ; in Loop: Header=BB1_2 Depth=1 ldr w8, [x23] cmp w8, w20 b.lt LBB1_1 ; %bb.6: ; in Loop: Header=BB1_2 Depth=1 b.le LBB1_11 ; %bb.7: ; in Loop: Header=BB1_2 Depth=1 ldr x0, [x23, #8] cbnz x0, LBB1_2 ; %bb.8: add x22, x23, #8 b LBB1_10 LBB1_9: add x22, x23, #16 LBB1_10: str x19, [x22] LBB1_11: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .cfi_endproc ; -- End function .globl _disp_tree ; -- Begin function disp_tree .p2align 2 _disp_tree: ; @disp_tree .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp] Lloh36: adrp x0, l_.str.3@PAGE Lloh37: add x0, x0, l_.str.3@PAGEOFF bl _printf Lloh38: adrp x8, _root@PAGE Lloh39: ldr x0, [x8, _root@PAGEOFF] mov w1, #0 mov w2, #84 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 b _disp_node .loh AdrpLdr Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .cfi_endproc ; -- End function .globl _invert_tree ; -- Begin function invert_tree .p2align 2 _invert_tree: ; @invert_tree .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #8] cbz x0, LBB3_2 ; %bb.1: bl _invert_tree LBB3_2: ldr x0, [x19, #16] cbz x0, LBB3_4 ; %bb.3: bl _invert_tree ldr x8, [x19, #16] b LBB3_5 LBB3_4: mov x8, #0 LBB3_5: ldr x9, [x19, #8] stp x8, x9, [x19, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _nd_malloc ; -- Begin function nd_malloc .p2align 2 _nd_malloc: ; @nd_malloc .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w0, #24 bl _malloc mov x20, x0 cbnz x0, LBB4_2 ; %bb.1: Lloh40: adrp x0, l_str@PAGE Lloh41: add x0, x0, l_str@PAGEOFF bl _puts LBB4_2: str w19, [x20] stp xzr, xzr, [x20, #8] mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh40, Lloh41 .cfi_endproc ; -- End function .globl _disp_node ; -- Begin function disp_node .p2align 2 _disp_node: ; @disp_node .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 cbz x0, LBB5_12 ; %bb.1: mov x21, x2 mov x19, x1 mov x20, x0 ldr x0, [x0, #16] add w1, w1, #1 mov w2, #82 bl _disp_node cmp w21, #84 b.eq LBB5_5 ; %bb.2: cmp w21, #82 b.eq LBB5_6 ; %bb.3: cmp w21, #76 b.ne LBB5_9 ; %bb.4: add w8, w19, w19, lsl #1 lsl w8, w8, #1 Lloh42: adrp x9, l_.str.8@PAGE Lloh43: add x9, x9, l_.str.8@PAGEOFF b LBB5_7 LBB5_5: Lloh44: adrp x0, l_.str.7@PAGE Lloh45: add x0, x0, l_.str.7@PAGEOFF b LBB5_8 LBB5_6: add w8, w19, w19, lsl #1 lsl w8, w8, #1 Lloh46: adrp x9, l_.str.6@PAGE Lloh47: add x9, x9, l_.str.6@PAGEOFF LBB5_7: Lloh48: adrp x10, l_.str.5@PAGE Lloh49: add x10, x10, l_.str.5@PAGEOFF stp x10, x9, [sp, #8] str x8, [sp] Lloh50: adrp x0, l_.str.4@PAGE Lloh51: add x0, x0, l_.str.4@PAGEOFF LBB5_8: bl _printf LBB5_9: ldr w8, [x20] str x8, [sp] Lloh52: adrp x0, l_.str.9@PAGE Lloh53: add x0, x0, l_.str.9@PAGEOFF bl _printf ldr x22, [x20, #8] cbz x22, LBB5_12 ; %bb.10: add w20, w19, #2 mov w8, #6 orr w9, wzr, #0x6 madd w23, w19, w8, w9 Lloh54: adrp x24, l_.str.8@PAGE Lloh55: add x24, x24, l_.str.8@PAGEOFF Lloh56: adrp x25, l_.str.5@PAGE Lloh57: add x25, x25, l_.str.5@PAGEOFF Lloh58: adrp x19, l_.str.4@PAGE Lloh59: add x19, x19, l_.str.4@PAGEOFF Lloh60: adrp x21, l_.str.9@PAGE Lloh61: add x21, x21, l_.str.9@PAGEOFF LBB5_11: ; =>This Inner Loop Header: Depth=1 ldr x0, [x22, #16] mov x1, x20 mov w2, #82 bl _disp_node stp x25, x24, [sp, #8] str x23, [sp] mov x0, x19 bl _printf ldr w8, [x22] str x8, [sp] mov x0, x21 bl _printf ldr x22, [x22, #8] add w20, w20, #1 add w23, w23, #6 cbnz x22, LBB5_11 LBB5_12: 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 Lloh42, Lloh43 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh54, Lloh55 .cfi_endproc ; -- End function .globl _root ; @root .zerofill __DATA,__common,_root,8,3 .section __TEXT,__cstring,cstring_literals l_.str.3: ; @.str.3 .asciz "%s" l_.str.4: ; @.str.4 .asciz "%*s%s" l_.str.5: ; @.str.5 .space 1 l_.str.6: ; @.str.6 .asciz "/---" l_.str.7: ; @.str.7 .asciz " " l_.str.8: ; @.str.8 .asciz "\\---" l_.str.9: ; @.str.9 .asciz "%d\n" l_str: ; @str .asciz "Uable to allocate memory" l_str.10: ; @str.10 .asciz "Before" l_str.11: ; @str.11 .asciz "After" .subsections_via_symbols
the_stack_data/1009552.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ext4_getfsmap_format _ext4_getfsmap_format: ## @ext4_getfsmap_format .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 movl 16(%rsi), %edi movq %r14, %rsi callq _trace_ext4_getfsmap_mapping movl (%r14), %eax movl %eax, 20(%rbx) movl 16(%rbx), %edi leaq -32(%rbp), %r15 movq %r15, %rsi movq %r14, %rdx callq _ext4_fsmap_from_internal movq 8(%rbx), %rax movslq (%rbx), %rdi leal 1(%rdi), %ecx shlq $2, %rdi addq (%rax), %rdi movl %ecx, (%rbx) movq %r15, %rsi movl $4, %edx callq _copy_to_user movq _EFAULT@GOTPCREL(%rip), %rdx xorl %ecx, %ecx subl (%rdx), %ecx xorl %edx, %edx testq %rax, %rax cmovel %edx, %ecx movl %ecx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EFAULT,4,2 ## @EFAULT .no_dead_strip _ext4_getfsmap_format .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ext4_getfsmap_format _ext4_getfsmap_format: ; @ext4_getfsmap_format .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 mov x20, x0 ldr w0, [x1, #16] mov x1, x20 bl _trace_ext4_getfsmap_mapping ldr w8, [x20] str w8, [x19, #20] ldr w0, [x19, #16] add x1, sp, #8 mov x2, x20 bl _ext4_fsmap_from_internal ldr x8, [x19, #8] ldr x8, [x8] ldrsw x9, [x19] add w10, w9, #1 str w10, [x19] add x0, x8, x9, lsl #2 add x1, sp, #8 mov w2, #4 bl _copy_to_user Lloh0: adrp x8, _EFAULT@GOTPAGE Lloh1: ldr x8, [x8, _EFAULT@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp x0, #0 csneg w0, wzr, w8, eq 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 _EFAULT,4,2 ; @EFAULT .no_dead_strip _ext4_getfsmap_format .subsections_via_symbols
AnghaBench/linux/fs/ext4/extr_ioctl.c_ext4_getfsmap_format.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function perf_hpp__prepend_sort_field _perf_hpp__prepend_sort_field: ## @perf_hpp__prepend_sort_field .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rsi movq _perf_hpp_list@GOTPCREL(%rip), %rdi popq %rbp jmp _perf_hpp_list__prepend_sort_field ## TAILCALL .cfi_endproc ## -- End function .comm _perf_hpp_list,4,2 ## @perf_hpp_list .no_dead_strip _perf_hpp__prepend_sort_field .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function perf_hpp__prepend_sort_field _perf_hpp__prepend_sort_field: ; @perf_hpp__prepend_sort_field .cfi_startproc ; %bb.0: mov x1, x0 Lloh0: adrp x0, _perf_hpp_list@GOTPAGE Lloh1: ldr x0, [x0, _perf_hpp_list@GOTPAGEOFF] b _perf_hpp_list__prepend_sort_field .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _perf_hpp_list,4,2 ; @perf_hpp_list .no_dead_strip _perf_hpp__prepend_sort_field .subsections_via_symbols
AnghaBench/linux/tools/perf/ui/browsers/extr_....utilhist.h_perf_hpp__prepend_sort_field.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xen_ptep_modify_prot_commit ## -- Begin function xen_ptep_modify_prot_commit .p2align 4, 0x90 _xen_ptep_modify_prot_commit: ## @xen_ptep_modify_prot_commit .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 movl %ecx, %r14d movq %rdx, %rbx xorl %eax, %eax callq _xen_mc_batch movq %rbx, %rdi callq _arbitrary_virt_to_machine movq _MMU_PT_UPDATE_PRESERVE_AD@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, -24(%rbp) movl %r14d, %edi callq _pte_val_ma movl %eax, -20(%rbp) leaq -24(%rbp), %rdi callq _xen_extend_mmu_update movq _prot_commit@GOTPCREL(%rip), %rax movl (%rax), %edi movl $1, %esi callq _ADD_STATS movq _prot_commit_batched@GOTPCREL(%rip), %rax movl (%rax), %ebx xorl %eax, %eax callq _paravirt_get_lazy_mode movq _PARAVIRT_LAZY_MMU@GOTPCREL(%rip), %r14 xorl %esi, %esi cmpq (%r14), %rax sete %sil movl %ebx, %edi callq _ADD_STATS movq (%r14), %rdi callq _xen_mc_issue addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _MMU_PT_UPDATE_PRESERVE_AD,4,2 ## @MMU_PT_UPDATE_PRESERVE_AD .comm _prot_commit,4,2 ## @prot_commit .comm _prot_commit_batched,4,2 ## @prot_commit_batched .comm _PARAVIRT_LAZY_MMU,8,3 ## @PARAVIRT_LAZY_MMU .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xen_ptep_modify_prot_commit ; -- Begin function xen_ptep_modify_prot_commit .p2align 2 _xen_ptep_modify_prot_commit: ; @xen_ptep_modify_prot_commit .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, x3 mov x20, x2 bl _xen_mc_batch mov x0, x20 bl _arbitrary_virt_to_machine Lloh0: adrp x8, _MMU_PT_UPDATE_PRESERVE_AD@GOTPAGE Lloh1: ldr x8, [x8, _MMU_PT_UPDATE_PRESERVE_AD@GOTPAGEOFF] Lloh2: ldr w8, [x8] orr w8, w8, w0 str w8, [sp, #8] mov x0, x19 bl _pte_val_ma str w0, [sp, #12] add x0, sp, #8 bl _xen_extend_mmu_update Lloh3: adrp x8, _prot_commit@GOTPAGE Lloh4: ldr x8, [x8, _prot_commit@GOTPAGEOFF] Lloh5: ldr w0, [x8] mov w1, #1 bl _ADD_STATS Lloh6: adrp x8, _prot_commit_batched@GOTPAGE Lloh7: ldr x8, [x8, _prot_commit_batched@GOTPAGEOFF] Lloh8: ldr w19, [x8] bl _paravirt_get_lazy_mode Lloh9: adrp x20, _PARAVIRT_LAZY_MMU@GOTPAGE Lloh10: ldr x20, [x20, _PARAVIRT_LAZY_MMU@GOTPAGEOFF] ldr x8, [x20] cmp x0, x8 cset w1, eq mov x0, x19 bl _ADD_STATS ldr x0, [x20] bl _xen_mc_issue 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 Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MMU_PT_UPDATE_PRESERVE_AD,4,2 ; @MMU_PT_UPDATE_PRESERVE_AD .comm _prot_commit,4,2 ; @prot_commit .comm _prot_commit_batched,4,2 ; @prot_commit_batched .comm _PARAVIRT_LAZY_MMU,8,3 ; @PARAVIRT_LAZY_MMU .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/x86/xen/extr_mmu.c_xen_ptep_modify_prot_commit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function puts _puts: ## @puts .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 movb (%rdi), %al testb %al, %al je LBB0_3 ## %bb.1: movq %rdi, %rbx incq %rbx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi callq _putchar movzbl (%rbx), %eax incq %rbx testb %al, %al jne LBB0_2 LBB0_3: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _puts .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function puts _puts: ; @puts .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 ldrb w8, [x0] cbz w8, LBB0_3 ; %bb.1: add x19, x0, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 bl _putchar ldrb w8, [x19], #1 cbnz w8, LBB0_2 LBB0_3: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _puts .subsections_via_symbols
AnghaBench/linux/arch/nios2/boot/compressed/extr_console.c_puts.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _analogix_dp_init_analog_func ## -- Begin function analogix_dp_init_analog_func .p2align 4, 0x90 _analogix_dp_init_analog_func: ## @analogix_dp_init_analog_func .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 movq _POWER_ALL@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %r14d, %r14d xorl %edx, %edx callq _analogix_dp_set_analog_power_down movq _PLL_LOCK_CHG@GOTPCREL(%rip), %rax movl (%rax), %edi movq _ANALOGIX_DP_COMMON_INT_STA_1@GOTPCREL(%rip), %rax movq (%rax), %rsi addq (%r12), %rsi callq _writel movq _ANALOGIX_DP_DEBUG_CTL@GOTPCREL(%rip), %rbx movq (%rbx), %rdi addq (%r12), %rdi callq _readl movq _F_PLL_LOCK@GOTPCREL(%rip), %rcx movq _PLL_LOCK_CTRL@GOTPCREL(%rip), %rdx movl (%rdx), %edi orl (%rcx), %edi notl %edi andl %eax, %edi movq (%rbx), %rsi addq (%r12), %rsi callq _writel movq %r12, %rdi callq _analogix_dp_get_pll_lock_status movq _PLL_UNLOCKED@GOTPCREL(%rip), %r15 cmpq (%r15), %rax jne LBB0_6 ## %bb.1: movq %r12, %rdi xorl %esi, %esi callq _analogix_dp_set_pll_power_down movq %r12, %rdi callq _analogix_dp_get_pll_lock_status cmpq (%r15), %rax jne LBB0_6 ## %bb.2: movl $-1, %ebx movq _DP_TIMEOUT_LOOP_COUNT@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 incl %ebx cmpl %ebx, (%r13) jle LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl $10, %edi movl $20, %esi callq _usleep_range movq %r12, %rdi callq _analogix_dp_get_pll_lock_status cmpq (%r15), %rax je LBB0_3 LBB0_6: movq _ANALOGIX_DP_FUNC_EN_2@GOTPCREL(%rip), %rbx movq (%rbx), %rdi addq (%r12), %rdi callq _readl movq _SERDES_FIFO_FUNC_EN_N@GOTPCREL(%rip), %rcx movq _LS_CLK_DOMAIN_FUNC_EN_N@GOTPCREL(%rip), %rdx movl (%rdx), %edi orl (%rcx), %edi movq _AUX_FUNC_EN_N@GOTPCREL(%rip), %rcx orl (%rcx), %edi notl %edi andl %eax, %edi movq (%rbx), %rsi addq (%r12), %rsi callq _writel LBB0_7: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: movl 8(%r12), %edi leaq L_.str(%rip), %rsi callq _dev_err movq _ETIMEDOUT@GOTPCREL(%rip), %rax xorl %r14d, %r14d subl (%rax), %r14d jmp LBB0_7 .cfi_endproc ## -- End function .comm _POWER_ALL,4,2 ## @POWER_ALL .comm _PLL_LOCK_CHG,4,2 ## @PLL_LOCK_CHG .comm _ANALOGIX_DP_COMMON_INT_STA_1,8,3 ## @ANALOGIX_DP_COMMON_INT_STA_1 .comm _ANALOGIX_DP_DEBUG_CTL,8,3 ## @ANALOGIX_DP_DEBUG_CTL .comm _F_PLL_LOCK,4,2 ## @F_PLL_LOCK .comm _PLL_LOCK_CTRL,4,2 ## @PLL_LOCK_CTRL .comm _PLL_UNLOCKED,8,3 ## @PLL_UNLOCKED .comm _DP_TIMEOUT_LOOP_COUNT,4,2 ## @DP_TIMEOUT_LOOP_COUNT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "failed to get pll lock status\n" .comm _ETIMEDOUT,4,2 ## @ETIMEDOUT .comm _ANALOGIX_DP_FUNC_EN_2,8,3 ## @ANALOGIX_DP_FUNC_EN_2 .comm _SERDES_FIFO_FUNC_EN_N,4,2 ## @SERDES_FIFO_FUNC_EN_N .comm _LS_CLK_DOMAIN_FUNC_EN_N,4,2 ## @LS_CLK_DOMAIN_FUNC_EN_N .comm _AUX_FUNC_EN_N,4,2 ## @AUX_FUNC_EN_N .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _analogix_dp_init_analog_func ; -- Begin function analogix_dp_init_analog_func .p2align 2 _analogix_dp_init_analog_func: ; @analogix_dp_init_analog_func .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x8, _POWER_ALL@GOTPAGE Lloh1: ldr x8, [x8, _POWER_ALL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w2, #0 bl _analogix_dp_set_analog_power_down Lloh3: adrp x8, _PLL_LOCK_CHG@GOTPAGE Lloh4: ldr x8, [x8, _PLL_LOCK_CHG@GOTPAGEOFF] Lloh5: ldr w0, [x8] ldr x8, [x19] Lloh6: adrp x9, _ANALOGIX_DP_COMMON_INT_STA_1@GOTPAGE Lloh7: ldr x9, [x9, _ANALOGIX_DP_COMMON_INT_STA_1@GOTPAGEOFF] Lloh8: ldr x9, [x9] add x1, x9, x8 bl _writel ldr x8, [x19] Lloh9: adrp x20, _ANALOGIX_DP_DEBUG_CTL@GOTPAGE Lloh10: ldr x20, [x20, _ANALOGIX_DP_DEBUG_CTL@GOTPAGEOFF] ldr x9, [x20] add x0, x9, x8 bl _readl Lloh11: adrp x8, _F_PLL_LOCK@GOTPAGE Lloh12: ldr x8, [x8, _F_PLL_LOCK@GOTPAGEOFF] Lloh13: ldr w8, [x8] Lloh14: adrp x9, _PLL_LOCK_CTRL@GOTPAGE Lloh15: ldr x9, [x9, _PLL_LOCK_CTRL@GOTPAGEOFF] Lloh16: ldr w9, [x9] orr w8, w9, w8 bic w0, w0, w8 ldr x8, [x19] ldr x9, [x20] add x1, x9, x8 bl _writel mov x0, x19 bl _analogix_dp_get_pll_lock_status Lloh17: adrp x20, _PLL_UNLOCKED@GOTPAGE Lloh18: ldr x20, [x20, _PLL_UNLOCKED@GOTPAGEOFF] ldr x8, [x20] cmp x0, x8 b.ne LBB0_5 ; %bb.1: mov x0, x19 mov w1, #0 bl _analogix_dp_set_pll_power_down mov x0, x19 bl _analogix_dp_get_pll_lock_status ldr x8, [x20] cmp x0, x8 b.ne LBB0_5 ; %bb.2: mov w21, #-1 Lloh19: adrp x22, _DP_TIMEOUT_LOOP_COUNT@GOTPAGE Lloh20: ldr x22, [x22, _DP_TIMEOUT_LOOP_COUNT@GOTPAGEOFF] LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [x22] add w21, w21, #1 cmp w8, w21 b.le LBB0_7 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov w0, #10 mov w1, #20 bl _usleep_range mov x0, x19 bl _analogix_dp_get_pll_lock_status ldr x8, [x20] cmp x0, x8 b.eq LBB0_3 LBB0_5: ldr x8, [x19] Lloh21: adrp x20, _ANALOGIX_DP_FUNC_EN_2@GOTPAGE Lloh22: ldr x20, [x20, _ANALOGIX_DP_FUNC_EN_2@GOTPAGEOFF] ldr x9, [x20] add x0, x9, x8 bl _readl Lloh23: adrp x8, _SERDES_FIFO_FUNC_EN_N@GOTPAGE Lloh24: ldr x8, [x8, _SERDES_FIFO_FUNC_EN_N@GOTPAGEOFF] Lloh25: ldr w8, [x8] Lloh26: adrp x9, _LS_CLK_DOMAIN_FUNC_EN_N@GOTPAGE Lloh27: ldr x9, [x9, _LS_CLK_DOMAIN_FUNC_EN_N@GOTPAGEOFF] Lloh28: ldr w9, [x9] orr w8, w9, w8 Lloh29: adrp x9, _AUX_FUNC_EN_N@GOTPAGE Lloh30: ldr x9, [x9, _AUX_FUNC_EN_N@GOTPAGEOFF] Lloh31: ldr w9, [x9] orr w8, w8, w9 bic w0, w0, w8 ldr x8, [x19] ldr x9, [x20] add x1, x9, x8 bl _writel mov w0, #0 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_7: ldr w0, [x19, #8] Lloh32: adrp x1, l_.str@PAGE Lloh33: add x1, x1, l_.str@PAGEOFF bl _dev_err Lloh34: adrp x8, _ETIMEDOUT@GOTPAGE Lloh35: ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF] Lloh36: ldr w8, [x8] neg w0, w8 b LBB0_6 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpAdd Lloh32, Lloh33 .cfi_endproc ; -- End function .comm _POWER_ALL,4,2 ; @POWER_ALL .comm _PLL_LOCK_CHG,4,2 ; @PLL_LOCK_CHG .comm _ANALOGIX_DP_COMMON_INT_STA_1,8,3 ; @ANALOGIX_DP_COMMON_INT_STA_1 .comm _ANALOGIX_DP_DEBUG_CTL,8,3 ; @ANALOGIX_DP_DEBUG_CTL .comm _F_PLL_LOCK,4,2 ; @F_PLL_LOCK .comm _PLL_LOCK_CTRL,4,2 ; @PLL_LOCK_CTRL .comm _PLL_UNLOCKED,8,3 ; @PLL_UNLOCKED .comm _DP_TIMEOUT_LOOP_COUNT,4,2 ; @DP_TIMEOUT_LOOP_COUNT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "failed to get pll lock status\n" .comm _ETIMEDOUT,4,2 ; @ETIMEDOUT .comm _ANALOGIX_DP_FUNC_EN_2,8,3 ; @ANALOGIX_DP_FUNC_EN_2 .comm _SERDES_FIFO_FUNC_EN_N,4,2 ; @SERDES_FIFO_FUNC_EN_N .comm _LS_CLK_DOMAIN_FUNC_EN_N,4,2 ; @LS_CLK_DOMAIN_FUNC_EN_N .comm _AUX_FUNC_EN_N,4,2 ; @AUX_FUNC_EN_N .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/bridge/analogix/extr_analogix_dp_reg.c_analogix_dp_init_analog_func.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ldns_dnssec_chain_nsec3_list ## -- Begin function ldns_dnssec_chain_nsec3_list .p2align 4, 0x90 _ldns_dnssec_chain_nsec3_list: ## @ldns_dnssec_chain_nsec3_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 %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq _LDNS_STATUS_OK@GOTPCREL(%rip), %rax movl (%rax), %r13d callq _ldns_rr_list_rr_count testl %eax, %eax je LBB0_10 ## %bb.1: xorl %r12d, %r12d movq %r15, -56(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 leaq -48(%rbp), %rdi movq %r13, %rsi callq _ldns_str2rdf_b32_ext movl %eax, %r15d movq %r14, %rdi callq _ldns_rdf_deep_free movq %r13, %rdi movl %r15d, %r13d callq _LDNS_FREE movq -56(%rbp), %r15 ## 8-byte Reload movq %r15, %rdi movq %r12, %rsi callq _ldns_rr_list_rr movq -48(%rbp), %rsi movl %eax, %edi movl $4, %edx callq _ldns_rr_set_rdf movq %rbx, %r12 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi callq _ldns_rr_list_rr_count cltq cmpq %rax, %rbx jae LBB0_10 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _ldns_rr_list_rr_count decl %eax cltq cmpq %rax, %r12 jne LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi xorl %esi, %esi callq _ldns_rr_list_rr movl %eax, %edi callq _ldns_rr_owner movl %eax, %edi xorl %esi, %esi callq _ldns_dname_label movq %rax, %rbx movq %rax, %rdi callq _ldns_rdf2str movq %rax, %r14 movq %rax, %rdi callq _strlen cltq cmpb $46, -1(%rax,%r14) jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi callq _strlen cltq movb $0, -1(%rax,%r14) LBB0_5: ## in Loop: Header=BB0_2 Depth=1 leaq -48(%rbp), %rdi movq %r14, %rsi callq _ldns_str2rdf_b32_ext movl %eax, %r13d movq %r15, %rdi movq %r12, %rsi callq _ldns_rr_list_rr movq -48(%rbp), %rsi movl %eax, %edi movl $4, %edx callq _ldns_rr_set_rdf movq %rbx, %rdi callq _ldns_rdf_deep_free movq %r14, %rdi callq _LDNS_FREE incq %r12 movq %r12, %rbx jmp LBB0_9 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 leaq 1(%r12), %rbx movq %r15, %rdi movq %rbx, %rsi callq _ldns_rr_list_rr movl %eax, %edi callq _ldns_rr_owner movl %eax, %edi xorl %esi, %esi callq _ldns_dname_label movq %rax, %r14 movq %rax, %rdi callq _ldns_rdf2str movq %rax, %r13 movq %rax, %rdi callq _strlen cltq cmpb $46, -1(%rax,%r13) jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movq %r13, %rdi callq _strlen cltq movb $0, -1(%rax,%r13) jmp LBB0_8 LBB0_10: movl %r13d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LDNS_STATUS_OK,4,2 ## @LDNS_STATUS_OK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ldns_dnssec_chain_nsec3_list ; -- Begin function ldns_dnssec_chain_nsec3_list .p2align 2 _ldns_dnssec_chain_nsec3_list: ; @ldns_dnssec_chain_nsec3_list .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, x0 Lloh0: adrp x8, _LDNS_STATUS_OK@GOTPAGE Lloh1: ldr x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF] Lloh2: ldr w21, [x8] bl _ldns_rr_list_rr_count cbz w0, LBB0_10 ; %bb.1: mov x20, #0 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add x0, sp, #8 mov x1, x24 bl _ldns_str2rdf_b32_ext mov x21, x0 mov x0, x23 bl _ldns_rdf_deep_free mov x0, x24 bl _LDNS_FREE mov x0, x19 mov x1, x20 bl _ldns_rr_list_rr ldr x1, [sp, #8] mov w2, #4 bl _ldns_rr_set_rdf mov x20, x22 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 bl _ldns_rr_list_rr_count cmp x20, w0, sxtw b.hs LBB0_10 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _ldns_rr_list_rr_count sub w8, w0, #1 cmp x20, w8, sxtw b.ne LBB0_8 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 mov x1, #0 bl _ldns_rr_list_rr bl _ldns_rr_owner mov w1, #0 bl _ldns_dname_label mov x22, x0 bl _ldns_rdf2str mov x23, x0 bl _strlen add x8, x23, w0, sxtw ldurb w8, [x8, #-1] cmp w8, #46 b.ne LBB0_7 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 mov x0, x23 bl _strlen add x8, x23, w0, sxtw sturb wzr, [x8, #-1] LBB0_7: ; in Loop: Header=BB0_4 Depth=1 add x0, sp, #8 mov x1, x23 bl _ldns_str2rdf_b32_ext mov x21, x0 mov x0, x19 mov x1, x20 bl _ldns_rr_list_rr ldr x1, [sp, #8] mov w2, #4 bl _ldns_rr_set_rdf mov x0, x22 bl _ldns_rdf_deep_free mov x0, x23 bl _LDNS_FREE add x20, x20, #1 b LBB0_3 LBB0_8: ; in Loop: Header=BB0_4 Depth=1 add x22, x20, #1 mov x0, x19 mov x1, x22 bl _ldns_rr_list_rr bl _ldns_rr_owner mov w1, #0 bl _ldns_dname_label mov x23, x0 bl _ldns_rdf2str mov x24, x0 bl _strlen add x8, x24, w0, sxtw ldurb w8, [x8, #-1] cmp w8, #46 b.ne LBB0_2 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 mov x0, x24 bl _strlen add x8, x24, w0, sxtw sturb wzr, [x8, #-1] b LBB0_2 LBB0_10: mov x0, x21 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _LDNS_STATUS_OK,4,2 ; @LDNS_STATUS_OK .subsections_via_symbols
AnghaBench/freebsd/contrib/ldns/extr_dnssec.c_ldns_dnssec_chain_nsec3_list.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mesh_peer_tbtt_adjusting _mesh_peer_tbtt_adjusting: ## @mesh_peer_tbtt_adjusting .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 _IEEE80211_MESHCONF_CAPAB_TBTT_ADJUSTING@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %eax, %eax testl %edx, (%rcx) setne %al popq %rbp retq .cfi_endproc ## -- End function .comm _IEEE80211_MESHCONF_CAPAB_TBTT_ADJUSTING,4,2 ## @IEEE80211_MESHCONF_CAPAB_TBTT_ADJUSTING .no_dead_strip _mesh_peer_tbtt_adjusting .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mesh_peer_tbtt_adjusting _mesh_peer_tbtt_adjusting: ; @mesh_peer_tbtt_adjusting .cfi_startproc ; %bb.0: ldr x8, [x0] ldr w8, [x8] Lloh0: adrp x9, _IEEE80211_MESHCONF_CAPAB_TBTT_ADJUSTING@GOTPAGE Lloh1: ldr x9, [x9, _IEEE80211_MESHCONF_CAPAB_TBTT_ADJUSTING@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 cset w0, ne ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _IEEE80211_MESHCONF_CAPAB_TBTT_ADJUSTING,4,2 ; @IEEE80211_MESHCONF_CAPAB_TBTT_ADJUSTING .no_dead_strip _mesh_peer_tbtt_adjusting .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_sync.c_mesh_peer_tbtt_adjusting.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ac_reconfigure_encoder ## -- Begin function ac_reconfigure_encoder .p2align 4, 0x90 _ac_reconfigure_encoder: ## @ac_reconfigure_encoder .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, %r9 addq $12, %rdi leaq 8(%r9), %r8 movq %r9, (%rsp) addq $4, %r9 callq _reconfigure_audio_encoder movl %eax, %ecx xorl %eax, %eax cmpl $1, %ecx sbbl %eax, %eax addq $16, %rsp popq %rbp retq LBB0_1: movl $-1, %eax retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ac_reconfigure_encoder ; -- Begin function ac_reconfigure_encoder .p2align 2 _ac_reconfigure_encoder: ; @ac_reconfigure_encoder .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x6, x0 add x0, x0, #12 add x4, x6, #8 add x5, x6, #4 bl _reconfigure_audio_encoder cmp w0, #0 csetm w0, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 mov w0, #-1 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/toxcore/toxav/extr_audio.c_ac_reconfigure_encoder.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function create_tracking_cursor _create_tracking_cursor: ## @create_tracking_cursor .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $4144, %eax ## imm = 0x1030 callq ____chkstk_darwin subq %rax, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movabsq $137438953504, %rax ## imm = 0x2000000020 movq %rax, -4136(%rbp) leaq -4112(%rbp), %rax movq %rax, -4128(%rbp) movq $0, -4120(%rbp) leaq -4136(%rbp), %rdi movl $7, %esi movl $7, %edx callq _glfwCreateCursor movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -8(%rbp), %rcx jne LBB0_2 ## %bb.1: addq $4144, %rsp ## imm = 0x1030 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .no_dead_strip _create_tracking_cursor .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function create_tracking_cursor _create_tracking_cursor: ; @create_tracking_cursor .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 mov w9, #4128 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #1, lsl #12 ; =4096 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-24] movi.2s v0, #32 str d0, [sp, #-32]! add x8, sp, #24 stp x8, xzr, [sp, #8] mov x0, sp mov w1, #7 mov w2, #7 bl _glfwCreateCursor ldur x8, [x29, #-24] Lloh5: adrp x9, ___stack_chk_guard@GOTPAGE Lloh6: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: add sp, sp, #1, lsl #12 ; =4096 add sp, sp, #32 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .no_dead_strip _create_tracking_cursor .subsections_via_symbols
AnghaBench/glfw/tests/extr_cursor.c_create_tracking_cursor.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function auth_print _auth_print: ## @auth_print .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, %r12 movq %rdi, %r15 movq 16(%rsi), %rdi callq _ND_TCHECK movq _bfd_v1_authentication_values@GOTPCREL(%rip), %rax movl (%rax), %edi movl 16(%r12), %edx leaq L_.str.1(%rip), %rsi callq _tok2str movslq 20(%r12), %rdi callq _ND_PRINT movslq 24(%r12), %rdi callq _ND_PRINT movl 16(%r12), %eax xorl %r14d, %r14d addl $-128, %eax cmpl $4, %eax ja LBB0_17 ## %bb.1: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_2: movslq 20(%r12), %rdi movq _AUTH_SHA1_FIELD_LEN@GOTPCREL(%rip), %rax cmpl (%rax), %edi jne LBB0_16 ## %bb.3: leaq 32(%r12), %r15 movl 32(%r12), %edi movl $4, %esi callq _ND_TCHECK2 movq %r15, %rdi callq _EXTRACT_32BITS movslq %eax, %rdi callq _ND_PRINT movl 48(%r12), %edi movq _AUTH_SHA1_HASH_LEN@GOTPCREL(%rip), %r15 movl (%r15), %esi callq _ND_TCHECK2 leaq L_.str.8(%rip), %rdi callq _ND_PRINT cmpl $0, (%r15) jle LBB0_17 ## %bb.4: xorl %r14d, %r14d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movslq 48(%r12,%rbx,4), %rdi callq _ND_PRINT incq %rbx movslq (%r15), %rax cmpq %rax, %rbx jl LBB0_5 jmp LBB0_17 LBB0_6: movslq 20(%r12), %rdi movq _AUTH_MD5_FIELD_LEN@GOTPCREL(%rip), %rax cmpl (%rax), %edi jne LBB0_16 ## %bb.7: leaq 32(%r12), %r15 movl 32(%r12), %edi movl $4, %esi callq _ND_TCHECK2 movq %r15, %rdi callq _EXTRACT_32BITS movslq %eax, %rdi callq _ND_PRINT movl 48(%r12), %edi movq _AUTH_MD5_HASH_LEN@GOTPCREL(%rip), %r15 movl (%r15), %esi callq _ND_TCHECK2 leaq L_.str.6(%rip), %rdi callq _ND_PRINT cmpl $0, (%r15) jle LBB0_17 ## %bb.8: xorl %r14d, %r14d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movslq 48(%r12,%rbx,4), %rdi callq _ND_PRINT incq %rbx movslq (%r15), %rax cmpq %rax, %rbx jl LBB0_9 jmp LBB0_17 LBB0_10: movl 20(%r12), %eax movq _AUTH_PASSWORD_FIELD_MIN_LEN@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jl LBB0_15 ## %bb.11: movq _AUTH_PASSWORD_FIELD_MAX_LEN@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jg LBB0_15 ## %bb.12: leaq 28(%r12), %r14 leaq L_.str.4(%rip), %rdi callq _ND_PRINT movl 20(%r12), %edx addl $-3, %edx movl (%r15), %ecx movq %r15, %rdi movq %r14, %rsi callq _fn_printn xorl %r14d, %r14d testl %eax, %eax setne %r14b jmp LBB0_17 LBB0_15: movslq %eax, %rdi LBB0_16: callq _ND_PRINT LBB0_17: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 LJTI0_0: .long L0_0_set_2 .long L0_0_set_10 .long L0_0_set_2 .long L0_0_set_6 .long L0_0_set_6 .end_data_region ## -- End function .comm _bfd_v1_authentication_values,4,2 ## @bfd_v1_authentication_values .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "Unknown" .comm _AUTH_PASSWORD_FIELD_MIN_LEN,4,2 ## @AUTH_PASSWORD_FIELD_MIN_LEN .comm _AUTH_PASSWORD_FIELD_MAX_LEN,4,2 ## @AUTH_PASSWORD_FIELD_MAX_LEN L_.str.4: ## @.str.4 .asciz ", Password: " .comm _AUTH_MD5_FIELD_LEN,4,2 ## @AUTH_MD5_FIELD_LEN .comm _AUTH_MD5_HASH_LEN,4,2 ## @AUTH_MD5_HASH_LEN L_.str.6: ## @.str.6 .asciz "\n\t Digest: " .comm _AUTH_SHA1_FIELD_LEN,4,2 ## @AUTH_SHA1_FIELD_LEN .comm _AUTH_SHA1_HASH_LEN,4,2 ## @AUTH_SHA1_HASH_LEN L_.str.8: ## @.str.8 .asciz "\n\t Hash: " .no_dead_strip _auth_print .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function auth_print _auth_print: ; @auth_print .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 ldr x0, [x1, #16] bl _ND_TCHECK Lloh0: adrp x8, _bfd_v1_authentication_values@GOTPAGE Lloh1: ldr x8, [x8, _bfd_v1_authentication_values@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldr w2, [x19, #16] Lloh3: adrp x1, l_.str.1@PAGE Lloh4: add x1, x1, l_.str.1@PAGEOFF bl _tok2str ldrsw x0, [x19, #20] bl _ND_PRINT ldrsw x0, [x19, #24] bl _ND_PRINT ldr w8, [x19, #16] sub w8, w8, #128 cmp w8, #4 b.hi LBB0_13 ; %bb.1: Lloh5: adrp x9, lJTI0_0@PAGE Lloh6: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: ldrsw x0, [x19, #20] Lloh7: adrp x8, _AUTH_SHA1_FIELD_LEN@GOTPAGE Lloh8: ldr x8, [x8, _AUTH_SHA1_FIELD_LEN@GOTPAGEOFF] Lloh9: ldr w8, [x8] cmp w0, w8 b.ne LBB0_12 ; %bb.3: mov x20, x19 ldr w0, [x20, #32]! mov w1, #4 bl _ND_TCHECK2 mov x0, x20 bl _EXTRACT_32BITS ; kill: def $w0 killed $w0 def $x0 sxtw x0, w0 bl _ND_PRINT ldr w0, [x19, #48]! Lloh10: adrp x20, _AUTH_SHA1_HASH_LEN@GOTPAGE Lloh11: ldr x20, [x20, _AUTH_SHA1_HASH_LEN@GOTPAGEOFF] ldr w1, [x20] bl _ND_TCHECK2 Lloh12: adrp x0, l_.str.8@PAGE Lloh13: add x0, x0, l_.str.8@PAGEOFF bl _ND_PRINT ldr w8, [x20] cmp w8, #1 b.lt LBB0_13 ; %bb.4: mov x21, #0 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldrsw x0, [x19, x21, lsl #2] bl _ND_PRINT add x21, x21, #1 ldrsw x8, [x20] cmp x21, x8 b.lt LBB0_5 b LBB0_13 LBB0_6: ldrsw x0, [x19, #20] Lloh14: adrp x8, _AUTH_MD5_FIELD_LEN@GOTPAGE Lloh15: ldr x8, [x8, _AUTH_MD5_FIELD_LEN@GOTPAGEOFF] Lloh16: ldr w8, [x8] cmp w0, w8 b.ne LBB0_12 ; %bb.7: mov x20, x19 ldr w0, [x20, #32]! mov w1, #4 bl _ND_TCHECK2 mov x0, x20 bl _EXTRACT_32BITS ; kill: def $w0 killed $w0 def $x0 sxtw x0, w0 bl _ND_PRINT ldr w0, [x19, #48]! Lloh17: adrp x20, _AUTH_MD5_HASH_LEN@GOTPAGE Lloh18: ldr x20, [x20, _AUTH_MD5_HASH_LEN@GOTPAGEOFF] ldr w1, [x20] bl _ND_TCHECK2 Lloh19: adrp x0, l_.str.6@PAGE Lloh20: add x0, x0, l_.str.6@PAGEOFF bl _ND_PRINT ldr w8, [x20] cmp w8, #1 b.lt LBB0_13 ; %bb.8: mov x21, #0 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldrsw x0, [x19, x21, lsl #2] bl _ND_PRINT add x21, x21, #1 ldrsw x8, [x20] cmp x21, x8 b.lt LBB0_9 b LBB0_13 LBB0_10: ldr w8, [x19, #20] Lloh21: adrp x9, _AUTH_PASSWORD_FIELD_MIN_LEN@GOTPAGE Lloh22: ldr x9, [x9, _AUTH_PASSWORD_FIELD_MIN_LEN@GOTPAGEOFF] Lloh23: ldr w9, [x9] Lloh24: adrp x10, _AUTH_PASSWORD_FIELD_MAX_LEN@GOTPAGE Lloh25: ldr x10, [x10, _AUTH_PASSWORD_FIELD_MAX_LEN@GOTPAGEOFF] Lloh26: ldr w10, [x10] cmp w8, w9 ccmp w8, w10, #0, ge b.le LBB0_15 ; %bb.11: sxtw x0, w8 LBB0_12: bl _ND_PRINT LBB0_13: mov w0, #0 LBB0_14: 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_15: add x21, x19, #28 Lloh27: adrp x0, l_.str.4@PAGE Lloh28: add x0, x0, l_.str.4@PAGEOFF bl _ND_PRINT ldr w8, [x19, #20] sub w2, w8, #3 ldr w3, [x20] mov x0, x20 mov x1, x21 bl _fn_printn cmp w0, #0 cset w0, ne b LBB0_14 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpAdd Lloh27, Lloh28 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 ; -- End function .comm _bfd_v1_authentication_values,4,2 ; @bfd_v1_authentication_values .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "Unknown" .comm _AUTH_PASSWORD_FIELD_MIN_LEN,4,2 ; @AUTH_PASSWORD_FIELD_MIN_LEN .comm _AUTH_PASSWORD_FIELD_MAX_LEN,4,2 ; @AUTH_PASSWORD_FIELD_MAX_LEN l_.str.4: ; @.str.4 .asciz ", Password: " .comm _AUTH_MD5_FIELD_LEN,4,2 ; @AUTH_MD5_FIELD_LEN .comm _AUTH_MD5_HASH_LEN,4,2 ; @AUTH_MD5_HASH_LEN l_.str.6: ; @.str.6 .asciz "\n\t Digest: " .comm _AUTH_SHA1_FIELD_LEN,4,2 ; @AUTH_SHA1_FIELD_LEN .comm _AUTH_SHA1_HASH_LEN,4,2 ; @AUTH_SHA1_HASH_LEN l_.str.8: ; @.str.8 .asciz "\n\t Hash: " .no_dead_strip _auth_print .subsections_via_symbols
AnghaBench/freebsd/contrib/tcpdump/extr_print-bfd.c_auth_print.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bitset_empty ## -- Begin function bitset_empty .p2align 4, 0x90 _bitset_empty: ## @bitset_empty .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 .globl _bitset_size ## -- Begin function bitset_size .p2align 4, 0x90 _bitset_size: ## @bitset_size .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 shrl %eax andl $1431655765, %eax ## imm = 0x55555555 subl %eax, %edi movl %edi, %eax andl $858993459, %eax ## imm = 0x33333333 shrl $2, %edi andl $858993459, %edi ## imm = 0x33333333 addl %eax, %edi movl %edi, %eax shrl $4, %eax addl %edi, %eax andl $252645135, %eax ## imm = 0xF0F0F0F imull $16843009, %eax, %eax ## imm = 0x1010101 shrl $24, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _bitset_add ## -- Begin function bitset_add .p2align 4, 0x90 _bitset_add: ## @bitset_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %esi, %ecx movl $1, %edx shll %cl, %edx xorl %eax, %eax cmpl $16, %esi cmovbl %edx, %eax orl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _bitset_contains ## -- Begin function bitset_contains .p2align 4, 0x90 _bitset_contains: ## @bitset_contains .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 btl %esi, %edi setb %al popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bitset_empty ; -- Begin function bitset_empty .p2align 2 _bitset_empty: ; @bitset_empty .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .globl _bitset_size ; -- Begin function bitset_size .p2align 2 _bitset_size: ; @bitset_size .cfi_startproc ; %bb.0: lsr w8, w0, #1 and w8, w8, #0x55555555 sub w8, w0, w8 and w9, w8, #0x33333333 lsr w8, w8, #2 and w8, w8, #0x33333333 add w8, w8, w9 add w8, w8, w8, lsr #4 and w8, w8, #0xf0f0f0f mov w9, #16843009 mul w8, w8, w9 lsr w0, w8, #24 ret .cfi_endproc ; -- End function .globl _bitset_add ; -- Begin function bitset_add .p2align 2 _bitset_add: ; @bitset_add .cfi_startproc ; %bb.0: mov w8, #1 lsl w8, w8, w1 cmp w1, #15 csel w8, wzr, w8, hi orr w0, w8, w0 ret .cfi_endproc ; -- End function .globl _bitset_contains ; -- Begin function bitset_contains .p2align 2 _bitset_contains: ; @bitset_contains .cfi_startproc ; %bb.0: lsr w8, w0, w1 and w0, w8, #0x1 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/71891.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ixgbe_del_sanmac_netdev _ixgbe_del_sanmac_netdev: ## @ixgbe_del_sanmac_netdev .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 _netdev_priv movq %rax, %rbx movl (%rax), %edi callq _is_valid_ether_addr testq %rax, %rax je LBB0_2 ## %bb.1: xorl %eax, %eax callq _rtnl_lock movl (%rbx), %esi movq _NETDEV_HW_ADDR_T_SAN@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi callq _dev_addr_del movl %eax, %ebx xorl %eax, %eax callq _rtnl_unlock movl %ebx, %eax jmp LBB0_3 LBB0_2: xorl %eax, %eax LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _NETDEV_HW_ADDR_T_SAN,4,2 ## @NETDEV_HW_ADDR_T_SAN .no_dead_strip _ixgbe_del_sanmac_netdev .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ixgbe_del_sanmac_netdev _ixgbe_del_sanmac_netdev: ; @ixgbe_del_sanmac_netdev .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 _netdev_priv mov x20, x0 ldr w0, [x0] bl _is_valid_ether_addr cbz x0, LBB0_2 ; %bb.1: bl _rtnl_lock ldr w1, [x20] Lloh0: adrp x8, _NETDEV_HW_ADDR_T_SAN@GOTPAGE Lloh1: ldr x8, [x8, _NETDEV_HW_ADDR_T_SAN@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x0, x19 bl _dev_addr_del mov x19, x0 bl _rtnl_unlock mov x0, x19 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _NETDEV_HW_ADDR_T_SAN,4,2 ; @NETDEV_HW_ADDR_T_SAN .no_dead_strip _ixgbe_del_sanmac_netdev .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_main.c_ixgbe_del_sanmac_netdev.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mv88e6xxx_g2_scratch_get_bit _mv88e6xxx_g2_scratch_get_bit: ## @mv88e6xxx_g2_scratch_get_bit .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 %rcx, %r14 movl %edx, %ebx movl %edx, %eax shrl $3, %eax addl %eax, %esi leaq -20(%rbp), %rdx callq _mv88e6xxx_g2_scratch_read testl %eax, %eax jne LBB0_2 ## %bb.1: movl -20(%rbp), %ecx andb $7, %bl movzbl %bl, %edx xorl %esi, %esi btl %edx, %ecx setb %sil movl %esi, (%r14) LBB0_2: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mv88e6xxx_g2_scratch_get_bit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mv88e6xxx_g2_scratch_get_bit _mv88e6xxx_g2_scratch_get_bit: ; @mv88e6xxx_g2_scratch_get_bit .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, x3 mov x20, x2 add w1, w1, w2, lsr #3 add x2, sp, #12 bl _mv88e6xxx_g2_scratch_read cbnz w0, LBB0_2 ; %bb.1: and w8, w20, #0x7 ldr w9, [sp, #12] lsr w8, w9, w8 and w8, w8, #0x1 str w8, [x19] LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _mv88e6xxx_g2_scratch_get_bit .subsections_via_symbols
AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_global2_scratch.c_mv88e6xxx_g2_scratch_get_bit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rebase_ensure_not_dirty _rebase_ensure_not_dirty: ## @rebase_ensure_not_dirty .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 $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movl %edx, %r12d movq %rdi, %r15 movq $0, -64(%rbp) movq $0, -48(%rbp) movq $0, -40(%rbp) testl %esi, %esi je LBB0_6 ## %bb.1: leaq -64(%rbp), %rdi movq %r15, %rsi callq _git_repository_head_tree testl %eax, %eax js LBB0_12 ## %bb.2: leaq -48(%rbp), %rdi movq %r15, %rsi callq _git_repository_index testl %eax, %eax js LBB0_12 ## %bb.3: movq -64(%rbp), %rdx movq -48(%rbp), %rcx leaq -40(%rbp), %rdi movq %r15, %rsi xorl %r8d, %r8d callq _git_diff_tree_to_index movl %eax, %ebx testl %eax, %eax js LBB0_13 ## %bb.4: movq -40(%rbp), %rdi callq _git_diff_num_deltas testq %rax, %rax jle LBB0_14 ## %bb.5: movq _GIT_ERROR_REBASE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi jmp LBB0_10 LBB0_6: xorl %ebx, %ebx testl %r12d, %r12d je LBB0_13 LBB0_7: movq _GIT_SUBMODULE_IGNORE_UNTRACKED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -56(%rbp) movq -48(%rbp), %rdx leaq -40(%rbp), %rdi leaq -56(%rbp), %rcx movq %r15, %rsi callq _git_diff_index_to_workdir movl %eax, %ebx testl %eax, %eax js LBB0_13 ## %bb.8: movq -40(%rbp), %rdi callq _git_diff_num_deltas testq %rax, %rax jle LBB0_13 ## %bb.9: movq _GIT_ERROR_REBASE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi LBB0_10: callq _git_error_set movl %r14d, %ebx jmp LBB0_13 LBB0_12: movl %eax, %ebx LBB0_13: movq -40(%rbp), %rdi callq _git_diff_free movq -48(%rbp), %rdi callq _git_index_free movq -64(%rbp), %rdi callq _git_tree_free movl %ebx, %eax addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_14: movq -40(%rbp), %rdi callq _git_diff_free movq $0, -40(%rbp) testl %r12d, %r12d jne LBB0_7 jmp LBB0_13 .cfi_endproc ## -- End function .comm _GIT_ERROR_REBASE,4,2 ## @GIT_ERROR_REBASE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "uncommitted changes exist in index" .comm _GIT_DIFF_OPTIONS_INIT,4,2 ## @GIT_DIFF_OPTIONS_INIT .comm _GIT_SUBMODULE_IGNORE_UNTRACKED,4,2 ## @GIT_SUBMODULE_IGNORE_UNTRACKED L_.str.1: ## @.str.1 .asciz "unstaged changes exist in workdir" .no_dead_strip _rebase_ensure_not_dirty .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rebase_ensure_not_dirty _rebase_ensure_not_dirty: ; @rebase_ensure_not_dirty .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, x3 mov x22, x2 mov x21, x0 stp xzr, xzr, [sp, #16] str xzr, [sp, #8] cbz w1, LBB0_6 ; %bb.1: add x0, sp, #24 mov x1, x21 bl _git_repository_head_tree tbnz w0, #31, LBB0_11 ; %bb.2: add x0, sp, #16 mov x1, x21 bl _git_repository_index tbnz w0, #31, LBB0_11 ; %bb.3: ldp x3, x2, [sp, #16] add x0, sp, #8 mov x1, x21 mov x4, #0 bl _git_diff_tree_to_index mov x20, x0 tbnz w0, #31, LBB0_12 ; %bb.4: ldr x0, [sp, #8] bl _git_diff_num_deltas cmp x0, #1 b.lt LBB0_13 ; %bb.5: Lloh0: adrp x8, _GIT_ERROR_REBASE@GOTPAGE Lloh1: ldr x8, [x8, _GIT_ERROR_REBASE@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF b LBB0_10 LBB0_6: mov w20, #0 cbz w22, LBB0_12 LBB0_7: Lloh5: adrp x8, _GIT_SUBMODULE_IGNORE_UNTRACKED@GOTPAGE Lloh6: ldr x8, [x8, _GIT_SUBMODULE_IGNORE_UNTRACKED@GOTPAGEOFF] Lloh7: ldr w8, [x8] str w8, [sp] ldr x2, [sp, #16] add x0, sp, #8 mov x3, sp mov x1, x21 bl _git_diff_index_to_workdir mov x20, x0 tbnz w0, #31, LBB0_12 ; %bb.8: ldr x0, [sp, #8] bl _git_diff_num_deltas cmp x0, #1 b.lt LBB0_12 ; %bb.9: Lloh8: adrp x8, _GIT_ERROR_REBASE@GOTPAGE Lloh9: ldr x8, [x8, _GIT_ERROR_REBASE@GOTPAGEOFF] Lloh10: ldr w0, [x8] Lloh11: adrp x1, l_.str.1@PAGE Lloh12: add x1, x1, l_.str.1@PAGEOFF LBB0_10: bl _git_error_set mov x20, x19 b LBB0_12 LBB0_11: mov x20, x0 LBB0_12: ldr x0, [sp, #8] bl _git_diff_free ldr x0, [sp, #16] bl _git_index_free ldr x0, [sp, #24] bl _git_tree_free mov x0, x20 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_13: ldr x0, [sp, #8] bl _git_diff_free str xzr, [sp, #8] cbnz w22, LBB0_7 b LBB0_12 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _GIT_ERROR_REBASE,4,2 ; @GIT_ERROR_REBASE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "uncommitted changes exist in index" .comm _GIT_DIFF_OPTIONS_INIT,4,2 ; @GIT_DIFF_OPTIONS_INIT .comm _GIT_SUBMODULE_IGNORE_UNTRACKED,4,2 ; @GIT_SUBMODULE_IGNORE_UNTRACKED l_.str.1: ; @.str.1 .asciz "unstaged changes exist in workdir" .no_dead_strip _rebase_ensure_not_dirty .subsections_via_symbols
AnghaBench/libgit2/src/extr_rebase.c_rebase_ensure_not_dirty.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _b43_radio_wait_value ## -- Begin function b43_radio_wait_value .p2align 4, 0x90 _b43_radio_wait_value: ## @b43_radio_wait_value .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, -48(%rbp) ## 4-byte Spill movl %edx, -44(%rbp) ## 4-byte Spill testl %r9d, %r9d jle LBB0_5 ## %bb.1: movl %r9d, %r14d movl %r8d, %ebx movl %esi, %r13d movq %rdi, %r15 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movl %r13d, %esi callq _b43_radio_read andl -44(%rbp), %eax ## 4-byte Folded Reload cmpl -48(%rbp), %eax ## 4-byte Folded Reload je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl %ebx, %edi callq _udelay addl %ebx, %r12d cmpl %r14d, %r12d jl LBB0_2 LBB0_5: xorl %eax, %eax jmp LBB0_6 LBB0_3: movl $1, %eax LBB0_6: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _b43_radio_wait_value ; -- Begin function b43_radio_wait_value .p2align 2 _b43_radio_wait_value: ; @b43_radio_wait_value .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 cmp w5, #1 b.lt LBB0_4 ; %bb.1: mov x19, x5 mov x20, x4 mov x21, x3 mov x22, x2 mov x23, x1 mov x24, x0 mov w25, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x24 mov x1, x23 bl _b43_radio_read and w8, w0, w22 cmp w8, w21 b.eq LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x0, x20 bl _udelay add w25, w25, w20 cmp w25, w19 b.lt LBB0_2 LBB0_4: mov w0, #0 b LBB0_6 LBB0_5: mov w0, #1 LBB0_6: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_common.c_b43_radio_wait_value.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sprd_rtc_set_time _sprd_rtc_set_time: ## @sprd_rtc_set_time .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx callq _dev_get_drvdata movq %rax, %r14 movq %rbx, %rdi callq _rtc_tm_to_time64 movq _SPRD_RTC_TIME@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq %r14, %rdi movl %eax, %edx callq _sprd_rtc_set_secs testl %eax, %eax jne LBB0_5 ## %bb.1: xorl %eax, %eax cmpl $0, (%r14) jne LBB0_5 ## %bb.2: movl 16(%r14), %edi movq _SPRD_RTC_PWR_CTRL@GOTPCREL(%rip), %rbx movq (%rbx), %rsi addq 8(%r14), %rsi movq _SPRD_RTC_POWER_STS_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %edx callq _regmap_write testl %eax, %eax jne LBB0_5 ## %bb.3: movl 16(%r14), %edi movq (%rbx), %rsi addq 8(%r14), %rsi movq _SPRD_RTC_POWER_STS_VALID@GOTPCREL(%rip), %rax movl (%rax), %edx callq _regmap_write testl %eax, %eax jne LBB0_5 ## %bb.4: movl $1, (%r14) xorl %eax, %eax LBB0_5: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _SPRD_RTC_TIME,4,2 ## @SPRD_RTC_TIME .comm _SPRD_RTC_PWR_CTRL,8,3 ## @SPRD_RTC_PWR_CTRL .comm _SPRD_RTC_POWER_STS_CLEAR,4,2 ## @SPRD_RTC_POWER_STS_CLEAR .comm _SPRD_RTC_POWER_STS_VALID,4,2 ## @SPRD_RTC_POWER_STS_VALID .no_dead_strip _sprd_rtc_set_time .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sprd_rtc_set_time _sprd_rtc_set_time: ; @sprd_rtc_set_time .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 bl _dev_get_drvdata mov x19, x0 mov x0, x20 bl _rtc_tm_to_time64 mov x2, x0 Lloh0: adrp x8, _SPRD_RTC_TIME@GOTPAGE Lloh1: ldr x8, [x8, _SPRD_RTC_TIME@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x19 bl _sprd_rtc_set_secs cbnz w0, LBB0_6 ; %bb.1: ldr w8, [x19] cbz w8, LBB0_3 ; %bb.2: mov w0, #0 b LBB0_6 LBB0_3: ldr w0, [x19, #16] Lloh3: adrp x20, _SPRD_RTC_PWR_CTRL@GOTPAGE Lloh4: ldr x20, [x20, _SPRD_RTC_PWR_CTRL@GOTPAGEOFF] ldr x8, [x19, #8] ldr x9, [x20] add x1, x9, x8 Lloh5: adrp x8, _SPRD_RTC_POWER_STS_CLEAR@GOTPAGE Lloh6: ldr x8, [x8, _SPRD_RTC_POWER_STS_CLEAR@GOTPAGEOFF] Lloh7: ldr w2, [x8] bl _regmap_write cbnz w0, LBB0_6 ; %bb.4: ldr w0, [x19, #16] ldr x8, [x19, #8] ldr x9, [x20] add x1, x9, x8 Lloh8: adrp x8, _SPRD_RTC_POWER_STS_VALID@GOTPAGE Lloh9: ldr x8, [x8, _SPRD_RTC_POWER_STS_VALID@GOTPAGEOFF] Lloh10: ldr w2, [x8] bl _regmap_write cbnz w0, LBB0_6 ; %bb.5: mov w8, #1 str w8, [x19] LBB0_6: 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 AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _SPRD_RTC_TIME,4,2 ; @SPRD_RTC_TIME .comm _SPRD_RTC_PWR_CTRL,8,3 ; @SPRD_RTC_PWR_CTRL .comm _SPRD_RTC_POWER_STS_CLEAR,4,2 ; @SPRD_RTC_POWER_STS_CLEAR .comm _SPRD_RTC_POWER_STS_VALID,4,2 ; @SPRD_RTC_POWER_STS_VALID .no_dead_strip _sprd_rtc_set_time .subsections_via_symbols
AnghaBench/linux/drivers/rtc/extr_rtc-sc27xx.c_sprd_rtc_set_time.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _spu2_rx_status_len ## -- Begin function spu2_rx_status_len .p2align 4, 0x90 _spu2_rx_status_len: ## @spu2_rx_status_len .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _SPU2_RX_STATUS_LEN@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _SPU2_RX_STATUS_LEN,4,2 ## @SPU2_RX_STATUS_LEN .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _spu2_rx_status_len ; -- Begin function spu2_rx_status_len .p2align 2 _spu2_rx_status_len: ; @spu2_rx_status_len .cfi_startproc ; %bb.0: Lloh0: adrp x8, _SPU2_RX_STATUS_LEN@GOTPAGE Lloh1: ldr x8, [x8, _SPU2_RX_STATUS_LEN@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SPU2_RX_STATUS_LEN,4,2 ; @SPU2_RX_STATUS_LEN .subsections_via_symbols
AnghaBench/linux/drivers/crypto/bcm/extr_spu2.c_spu2_rx_status_len.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $216, %rsp .cfi_offset %rbx, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -16(%rbp) movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq -224(%rbp), %rbx movq %rbx, %rdi movl $200, %esi callq _fgets xorl %edx, %edx movl $1173, %eax ## imm = 0x495 xorl %esi, %esi jmp LBB0_1 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 incl %edx incq %rbx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movsbl (%rbx), %ecx cmpl $10, %ecx je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 testb %cl, %cl je LBB0_3 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 addl $-97, %ecx rorl %ecx cmpl $10, %ecx ja LBB0_8 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 btl %ecx, %eax jae LBB0_8 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 incl %esi incq %rbx jmp LBB0_1 LBB0_3: leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -16(%rbp), %rax jne LBB0_9 ## %bb.4: xorl %eax, %eax addq $216, %rsp popq %rbx popq %rbp retq LBB0_9: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Vogal: %d\nConsoante: %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #256 .cfi_def_cfa_offset 256 stp x20, x19, [sp, #224] ; 16-byte Folded Spill stp x29, x30, [sp, #240] ; 16-byte Folded Spill add x29, sp, #240 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] Lloh3: adrp x8, ___stdinp@GOTPAGE Lloh4: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh5: ldr x2, [x8] add x19, sp, #16 add x0, sp, #16 mov w1, #200 bl _fgets mov w9, #0 mov w8, #0 mov w10, #1 mov w11, #1173 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add w8, w8, #1 add x19, x19, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w12, [x19] cmp w12, #10 ccmp w12, #0, #4, ne b.eq LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sxtb w12, w12 sub w12, w12, #97 ror w12, w12, #1 cmp w12, #10 lsl w12, w10, w12 and w12, w12, w11 ccmp w12, #0, #4, ls b.ne LBB0_1 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 add w9, w9, #1 add x19, x19, #1 b LBB0_2 LBB0_5: stp x8, x9, [sp] Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF bl _printf ldur x8, [x29, #-24] Lloh8: adrp x9, ___stack_chk_guard@GOTPAGE Lloh9: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh10: ldr x9, [x9] cmp x9, x8 b.ne LBB0_7 ; %bb.6: mov w0, #0 ldp x29, x30, [sp, #240] ; 16-byte Folded Reload ldp x20, x19, [sp, #224] ; 16-byte Folded Reload add sp, sp, #256 ret LBB0_7: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Vogal: %d\nConsoante: %d\n" .subsections_via_symbols
the_stack_data/165769073.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function adf_configure_tx_ring _adf_configure_tx_ring: ## @adf_configure_tx_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 %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl 16(%rdi), %edi callq _BUILD_RING_CONFIG movq 8(%rbx), %rcx movl (%rcx), %esi movl 4(%rcx), %edi movl (%rbx), %edx movl %eax, %ecx addq $8, %rsp popq %rbx popq %rbp jmp _WRITE_CSR_RING_CONFIG ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _adf_configure_tx_ring .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function adf_configure_tx_ring _adf_configure_tx_ring: ; @adf_configure_tx_ring .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0, #16] bl _BUILD_RING_CONFIG mov x3, x0 ldr x8, [x19, #8] ldp w1, w0, [x8] ldr w2, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _WRITE_CSR_RING_CONFIG .cfi_endproc ; -- End function .no_dead_strip _adf_configure_tx_ring .subsections_via_symbols
AnghaBench/linux/drivers/crypto/qat/qat_common/extr_adf_transport.c_adf_configure_tx_ring.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cxgb3_alloc_stid ## -- Begin function cxgb3_alloc_stid .p2align 4, 0x90 _cxgb3_alloc_stid: ## @cxgb3_alloc_stid .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %r14 callq _T3C_DATA movq %rax, %r13 leaq 4(%rax), %r12 movq %r12, %rdi callq _spin_lock_bh movq 16(%r13), %rax testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx subq 24(%r13), %rbx shrq $4, %rbx addl (%r13), %ebx movq (%rax), %rcx movq %rcx, 16(%r13) movq %r15, 8(%rax) movq %r14, (%rax) incl 8(%r13) jmp LBB0_3 LBB0_1: movl $-1, %ebx LBB0_3: movq %r12, %rdi callq _spin_unlock_bh movl %ebx, %eax 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 _cxgb3_alloc_stid ; -- Begin function cxgb3_alloc_stid .p2align 2 _cxgb3_alloc_stid: ; @cxgb3_alloc_stid .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 x20, x1 bl _T3C_DATA mov x22, x0 add x19, x0, #4 mov x0, x19 bl _spin_lock_bh ldr x8, [x22, #16] cbz x8, LBB0_2 ; %bb.1: ldr x9, [x22, #24] sub x9, x8, x9 lsr x9, x9, #4 ldr w10, [x22] add w23, w10, w9 ldr x9, [x8] str x9, [x22, #16] stp x20, x21, [x8] ldr w8, [x22, #8] add w8, w8, #1 str w8, [x22, #8] b LBB0_3 LBB0_2: mov w23, #-1 LBB0_3: mov x0, x19 bl _spin_unlock_bh mov x0, x23 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/chelsio/cxgb3/extr_cxgb3_offload.c_cxgb3_alloc_stid.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _describeTableDetails ## -- Begin function describeTableDetails .p2align 4, 0x90 _describeTableDetails: ## @describeTableDetails .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movl %esi, %r14d movq %rdi, %r12 leaq -48(%rbp), %r15 movq %r15, %rdi callq _initPQExpBuffer leaq L_.str(%rip), %rsi movq %r15, %rdi callq _printfPQExpBuffer testl %ebx, %ebx setne %al testq %r12, %r12 setne %bl orb %al, %bl jne LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rsi leaq -48(%rbp), %rdi callq _appendPQExpBufferStr LBB0_2: movq _pset@GOTPCREL(%rip), %r15 movl 4(%r15), %edi xorb $1, %bl movzbl %bl, %ecx subq $8, %rsp leaq L_.str.4(%rip), %rax leaq L_.str.3(%rip), %r10 leaq L_.str.2(%rip), %r9 leaq -48(%rbp), %rbx movq %rbx, %rsi movq %r12, %rdx xorl %r8d, %r8d pushq %rax pushq $0 pushq %r10 callq _processSQLNamePattern addq $32, %rsp leaq L_.str.5(%rip), %rsi movq %rbx, %rdi callq _appendPQExpBufferStr movl -48(%rbp), %edi callq _PSQLexec movq %rax, %r13 movq %rbx, %rdi xorl %ebx, %ebx callq _termPQExpBuffer testq %r13, %r13 je LBB0_17 ## %bb.3: movq %r13, %rdi callq _PQntuples testl %eax, %eax je LBB0_10 ## %bb.4: movq %r13, %rdi callq _PQntuples testl %eax, %eax jle LBB0_13 ## %bb.5: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq %r13, %rdi movl %ebx, %esi xorl %edx, %edx callq _PQgetvalue movq %rax, %r12 movq %r13, %rdi movl %ebx, %esi movl $1, %edx callq _PQgetvalue movq %rax, %r15 movq %r13, %rdi movl %ebx, %esi movl $2, %edx callq _PQgetvalue movq %r15, %rdi movq %rax, %rsi movq %r12, %rdx movl %r14d, %ecx callq _describeOneTableDetails testl %eax, %eax je LBB0_14 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movq _cancel_pressed@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB0_14 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 incl %ebx movq %r13, %rdi callq _PQntuples cmpl %eax, %ebx jl LBB0_6 LBB0_13: movl $1, %ebx jmp LBB0_16 LBB0_10: xorl %ebx, %ebx cmpl $0, (%r15) jne LBB0_16 ## %bb.11: testq %r12, %r12 je LBB0_15 ## %bb.12: leaq L_.str.6(%rip), %rdi xorl %ebx, %ebx movq %r12, %rsi xorl %eax, %eax callq _pg_log_error jmp LBB0_16 LBB0_14: xorl %ebx, %ebx jmp LBB0_16 LBB0_15: leaq L_.str.7(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _pg_log_error LBB0_16: movq %r13, %rdi callq _PQclear LBB0_17: movl %ebx, %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 c.oid,\n n.nspname,\n c.relname\nFROM pg_catalog.pg_class c\n LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace\n" L_.str.1: ## @.str.1 .asciz "WHERE n.nspname <> 'pg_catalog'\n AND n.nspname <> 'information_schema'\n" .comm _pset,8,2 ## @pset L_.str.2: ## @.str.2 .asciz "n.nspname" L_.str.3: ## @.str.3 .asciz "c.relname" L_.str.4: ## @.str.4 .asciz "pg_catalog.pg_table_is_visible(c.oid)" L_.str.5: ## @.str.5 .asciz "ORDER BY 2, 3;" L_.str.6: ## @.str.6 .asciz "Did not find any relation named \"%s\"." L_.str.7: ## @.str.7 .asciz "Did not find any relations." .comm _cancel_pressed,8,3 ## @cancel_pressed .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _describeTableDetails ; -- Begin function describeTableDetails .p2align 2 _describeTableDetails: ; @describeTableDetails .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 x20, x2 mov x19, x1 mov x21, x0 add x0, sp, #8 bl _initPQExpBuffer Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF add x0, sp, #8 bl _printfPQExpBuffer cmp x21, #0 ccmp w20, #0, #0, eq cset w20, ne b.ne LBB0_2 ; %bb.1: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF add x0, sp, #8 bl _appendPQExpBufferStr LBB0_2: Lloh4: adrp x22, _pset@GOTPAGE Lloh5: ldr x22, [x22, _pset@GOTPAGEOFF] ldr w0, [x22, #4] eor w3, w20, #0x1 Lloh6: adrp x8, l_.str.4@PAGE Lloh7: add x8, x8, l_.str.4@PAGEOFF str x8, [sp] Lloh8: adrp x5, l_.str.2@PAGE Lloh9: add x5, x5, l_.str.2@PAGEOFF Lloh10: adrp x6, l_.str.3@PAGE Lloh11: add x6, x6, l_.str.3@PAGEOFF add x1, sp, #8 mov x2, x21 mov w4, #0 mov x7, #0 bl _processSQLNamePattern Lloh12: adrp x1, l_.str.5@PAGE Lloh13: add x1, x1, l_.str.5@PAGEOFF add x0, sp, #8 bl _appendPQExpBufferStr ldr w0, [sp, #8] bl _PSQLexec mov x20, x0 add x0, sp, #8 bl _termPQExpBuffer cbz x20, LBB0_10 ; %bb.3: mov x0, x20 bl _PQntuples cbz w0, LBB0_11 ; %bb.4: mov x0, x20 bl _PQntuples cmp w0, #1 b.lt LBB0_9 ; %bb.5: mov w21, #0 Lloh14: adrp x24, _cancel_pressed@GOTPAGE Lloh15: ldr x24, [x24, _cancel_pressed@GOTPAGEOFF] LBB0_6: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x21 mov w2, #0 bl _PQgetvalue mov x22, x0 mov x0, x20 mov x1, x21 mov w2, #1 bl _PQgetvalue mov x23, x0 mov x0, x20 mov x1, x21 mov w2, #2 bl _PQgetvalue mov x1, x0 mov x0, x23 mov x2, x22 mov x3, x19 bl _describeOneTableDetails mov w22, #0 cbz w0, LBB0_17 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x24] cbnz x8, LBB0_17 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 add w21, w21, #1 mov x0, x20 bl _PQntuples cmp w21, w0 b.lt LBB0_6 LBB0_9: mov w22, #1 b LBB0_17 LBB0_10: mov w22, #0 b LBB0_18 LBB0_11: ldr w8, [x22] cbnz w8, LBB0_16 ; %bb.12: cbz x21, LBB0_14 ; %bb.13: str x21, [sp] Lloh16: adrp x0, l_.str.6@PAGE Lloh17: add x0, x0, l_.str.6@PAGEOFF b LBB0_15 LBB0_14: Lloh18: adrp x0, l_.str.7@PAGE Lloh19: add x0, x0, l_.str.7@PAGEOFF LBB0_15: bl _pg_log_error LBB0_16: mov w22, #0 LBB0_17: mov x0, x20 bl _PQclear LBB0_18: mov x0, x22 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "SELECT c.oid,\n n.nspname,\n c.relname\nFROM pg_catalog.pg_class c\n LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace\n" l_.str.1: ; @.str.1 .asciz "WHERE n.nspname <> 'pg_catalog'\n AND n.nspname <> 'information_schema'\n" .comm _pset,8,2 ; @pset l_.str.2: ; @.str.2 .asciz "n.nspname" l_.str.3: ; @.str.3 .asciz "c.relname" l_.str.4: ; @.str.4 .asciz "pg_catalog.pg_table_is_visible(c.oid)" l_.str.5: ; @.str.5 .asciz "ORDER BY 2, 3;" l_.str.6: ; @.str.6 .asciz "Did not find any relation named \"%s\"." l_.str.7: ; @.str.7 .asciz "Did not find any relations." .comm _cancel_pressed,8,3 ; @cancel_pressed .subsections_via_symbols
AnghaBench/postgres/src/bin/psql/extr_describe.c_describeTableDetails.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function path_shall_revert _path_shall_revert: ## @path_shall_revert .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 movq %rdi, %rbx callq _assert movq %r14, %rdi callq _assert movq %rbx, %rdi movq %r14, %rsi movl $1, %edx callq _path_is_config testl %eax, %eax jne LBB0_2 ## %bb.1: movq %rbx, %rdi movq %r14, %rsi callq _path_is_control testl %eax, %eax je LBB0_3 LBB0_2: popq %rbx popq %r14 popq %rbp retq LBB0_3: movq %rbx, %rdi movq %r14, %rsi popq %rbx popq %r14 popq %rbp jmp _path_is_transient ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _path_shall_revert .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function path_shall_revert _path_shall_revert: ; @path_shall_revert .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 _assert mov x0, x19 bl _assert mov x0, x20 mov x1, x19 mov w2, #1 bl _path_is_config cbnz w0, LBB0_2 ; %bb.1: mov x0, x20 mov x1, x19 bl _path_is_control cbz w0, LBB0_3 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _path_is_transient .cfi_endproc ; -- End function .no_dead_strip _path_shall_revert .subsections_via_symbols
AnghaBench/systemd/src/shared/extr_install.c_path_shall_revert.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sca3000_write_ctrl_reg _sca3000_write_ctrl_reg: ## @sca3000_write_ctrl_reg .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 _sca3000_reg_lock_on testl %eax, %eax js LBB0_4 ## %bb.1: je LBB0_3 ## %bb.2: movq %rbx, %rdi callq ___sca3000_unlock_reg_lock testl %eax, %eax jne LBB0_4 LBB0_3: movq _SCA3000_REG_CTRL_SEL_ADDR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _sca3000_write_reg testl %eax, %eax je LBB0_5 LBB0_4: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_5: movq _SCA3000_REG_CTRL_DATA_ADDR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _sca3000_write_reg ## TAILCALL .cfi_endproc ## -- End function .comm _SCA3000_REG_CTRL_SEL_ADDR,4,2 ## @SCA3000_REG_CTRL_SEL_ADDR .comm _SCA3000_REG_CTRL_DATA_ADDR,4,2 ## @SCA3000_REG_CTRL_DATA_ADDR .no_dead_strip _sca3000_write_ctrl_reg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sca3000_write_ctrl_reg _sca3000_write_ctrl_reg: ; @sca3000_write_ctrl_reg .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x21, x1 mov x20, x0 bl _sca3000_reg_lock_on tbnz w0, #31, LBB0_4 ; %bb.1: cbz w0, LBB0_3 ; %bb.2: mov x0, x20 bl ___sca3000_unlock_reg_lock cbnz w0, LBB0_4 LBB0_3: Lloh0: adrp x8, _SCA3000_REG_CTRL_SEL_ADDR@GOTPAGE Lloh1: ldr x8, [x8, _SCA3000_REG_CTRL_SEL_ADDR@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x20 mov x2, x21 bl _sca3000_write_reg cbz w0, LBB0_5 LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_5: Lloh3: adrp x8, _SCA3000_REG_CTRL_DATA_ADDR@GOTPAGE Lloh4: ldr x8, [x8, _SCA3000_REG_CTRL_DATA_ADDR@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x20 mov x2, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _sca3000_write_reg .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _SCA3000_REG_CTRL_SEL_ADDR,4,2 ; @SCA3000_REG_CTRL_SEL_ADDR .comm _SCA3000_REG_CTRL_DATA_ADDR,4,2 ; @SCA3000_REG_CTRL_DATA_ADDR .no_dead_strip _sca3000_write_ctrl_reg .subsections_via_symbols
AnghaBench/linux/drivers/iio/accel/extr_sca3000.c_sca3000_write_ctrl_reg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str(%rip), %r14 movq %r14, %rdi xorl %esi, %esi movl $10, %edx xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %r15 movq %r15, %rdi xorl %esi, %esi movl $10, %edx xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %r12 movq %r12, %rdi xorl %esi, %esi movl $10, %edx xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %rbx movq %rbx, %rdi xorl %esi, %esi movl $10, %edx xorl %eax, %eax callq _printf movq %r14, %rdi movl $1, %esi movl $20, %edx xorl %eax, %eax callq _printf movq %r15, %rdi movl $1, %esi movl $20, %edx xorl %eax, %eax callq _printf movq %r12, %rdi movl $1, %esi movl $20, %edx xorl %eax, %eax callq _printf movq %rbx, %rdi movl $1, %esi movl $20, %edx xorl %eax, %eax callq _printf movq %r14, %rdi movl $2, %esi movl $30, %edx xorl %eax, %eax callq _printf movq %r15, %rdi movl $2, %esi movl $30, %edx xorl %eax, %eax callq _printf movq %r12, %rdi movl $2, %esi movl $30, %edx xorl %eax, %eax callq _printf movq %rbx, %rdi movl $2, %esi movl $30, %edx xorl %eax, %eax callq _printf movq %r14, %rdi movl $3, %esi movl $40, %edx xorl %eax, %eax callq _printf movq %r15, %rdi movl $3, %esi movl $40, %edx xorl %eax, %eax callq _printf movq %r12, %rdi movl $3, %esi movl $40, %edx xorl %eax, %eax callq _printf movq %rbx, %rdi movl $3, %esi movl $40, %edx xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "b[%d] = %d\n" L_.str.1: ## @.str.1 .asciz "*(b+%d) = %d\n" L_.str.2: ## @.str.2 .asciz "bPtr[%d] = %d\n" L_.str.3: ## @.str.3 .asciz "*(bPtr+%d) = %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #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 w22, #10 stp xzr, x22, [sp] Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf stp xzr, x22, [sp] Lloh2: adrp x20, l_.str.1@PAGE Lloh3: add x20, x20, l_.str.1@PAGEOFF mov x0, x20 bl _printf stp xzr, x22, [sp] Lloh4: adrp x21, l_.str.2@PAGE Lloh5: add x21, x21, l_.str.2@PAGEOFF mov x0, x21 bl _printf stp xzr, x22, [sp] Lloh6: adrp x22, l_.str.3@PAGE Lloh7: add x22, x22, l_.str.3@PAGEOFF mov x0, x22 bl _printf mov w23, #20 mov w24, #1 stp x24, x23, [sp] mov x0, x19 bl _printf stp x24, x23, [sp] mov x0, x20 bl _printf stp x24, x23, [sp] mov x0, x21 bl _printf stp x24, x23, [sp] mov x0, x22 bl _printf mov w23, #30 mov w24, #2 stp x24, x23, [sp] mov x0, x19 bl _printf stp x24, x23, [sp] mov x0, x20 bl _printf stp x24, x23, [sp] mov x0, x21 bl _printf stp x24, x23, [sp] mov x0, x22 bl _printf mov w23, #40 mov w24, #3 stp x24, x23, [sp] mov x0, x19 bl _printf stp x24, x23, [sp] mov x0, x20 bl _printf stp x24, x23, [sp] mov x0, x21 bl _printf stp x24, x23, [sp] mov x0, x22 bl _printf mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "b[%d] = %d\n" l_.str.1: ; @.str.1 .asciz "*(b+%d) = %d\n" l_.str.2: ; @.str.2 .asciz "bPtr[%d] = %d\n" l_.str.3: ; @.str.3 .asciz "*(bPtr+%d) = %d\n" .subsections_via_symbols
the_stack_data/193892789.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __iio_request_ring_buffer_event_chrdev ___iio_request_ring_buffer_event_chrdev: ## @__iio_request_ring_buffer_event_chrdev .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %r12 movq %rdi, %r14 movq _iio_ring_event_idr@GOTPCREL(%rip), %rdi callq _iio_get_new_idr_val movl %eax, %ebx testl %eax, %eax js LBB0_4 ## %bb.1: movl %ebx, (%r14) movl 4(%r14), %edi leaq L_.str(%rip), %rdx movl $20, %esi movl %ebx, %ecx callq _snprintf movl 4(%r14), %esi movq %r14, %rdi movq %r12, %rdx movq %r15, %rcx callq _iio_setup_ev_int testl %eax, %eax je LBB0_2 ## %bb.3: movl %eax, %ebx movl (%r14), %esi movq _iio_ring_event_idr@GOTPCREL(%rip), %rdi callq _iio_free_idr_val jmp LBB0_4 LBB0_2: xorl %ebx, %ebx LBB0_4: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _iio_ring_event_idr,4,2 ## @iio_ring_event_idr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ring_event_line%d" .no_dead_strip ___iio_request_ring_buffer_event_chrdev .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __iio_request_ring_buffer_event_chrdev ___iio_request_ring_buffer_event_chrdev: ; @__iio_request_ring_buffer_event_chrdev .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x3 mov x22, x2 mov x19, x0 Lloh0: adrp x0, _iio_ring_event_idr@GOTPAGE Lloh1: ldr x0, [x0, _iio_ring_event_idr@GOTPAGEOFF] bl _iio_get_new_idr_val mov x20, x0 tbnz w0, #31, LBB0_3 ; %bb.1: str w20, [x19] ldr w0, [x19, #4] Lloh2: adrp x2, l_.str@PAGE Lloh3: add x2, x2, l_.str@PAGEOFF mov w1, #20 mov x3, x20 bl _snprintf ldr w1, [x19, #4] mov x0, x19 mov x2, x22 mov x3, x21 bl _iio_setup_ev_int mov x20, x0 cbz w0, LBB0_3 ; %bb.2: ldr w1, [x19] Lloh4: adrp x0, _iio_ring_event_idr@GOTPAGE Lloh5: ldr x0, [x0, _iio_ring_event_idr@GOTPAGEOFF] bl _iio_free_idr_val LBB0_3: 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 AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _iio_ring_event_idr,4,2 ; @iio_ring_event_idr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ring_event_line%d" .no_dead_strip ___iio_request_ring_buffer_event_chrdev .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-ring.c___iio_request_ring_buffer_event_chrdev.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_acpi_fpdt _test_acpi_fpdt: ## @test_acpi_fpdt .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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _FORMAT_TIMESPAN_MAX@GOTPCREL(%rip), %rax movl (%rax), %ebx movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r13 movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 leaq -64(%rbp), %rdi leaq -56(%rbp), %rsi callq _acpi_get_boot_usec testl %eax, %eax js LBB0_1 ## %bb.7: movq -64(%rbp), %rdx movq %r15, %r14 movq _USEC_PER_MSEC@GOTPCREL(%rip), %r15 movl (%r15), %ecx movq %r13, %rdi movl %ebx, %esi callq _format_timespan movl %eax, %r13d movq -56(%rbp), %rdx movl (%r15), %ecx movq %r12, %rdi movl %ebx, %esi callq _format_timespan movl %eax, %r12d movq -56(%rbp), %rdx subq -64(%rbp), %rdx movl (%r15), %ecx movq %r14, %rdi movl %ebx, %esi callq _format_timespan leaq L_.str.1(%rip), %rdi movl %r13d, %esi movl %r12d, %edx movl %eax, %ecx callq _log_info movl $1, %r14d jmp LBB0_8 LBB0_1: movl %eax, %r14d movq _ENOENT@GOTPCREL(%rip), %rax movl (%rax), %eax addl %r14d, %eax je LBB0_6 ## %bb.2: xorl %eax, %eax callq _getuid testq %rax, %rax je LBB0_4 ## %bb.3: movq _EACCES@GOTPCREL(%rip), %rax movl (%rax), %eax addl %r14d, %eax je LBB0_6 LBB0_4: movq _ENODATA@GOTPCREL(%rip), %rax movl (%rax), %eax addl %r14d, %eax jne LBB0_5 LBB0_6: movq _LOG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rdx movl %r14d, %esi callq _log_full_errno xorl %r14d, %r14d LBB0_8: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_10 ## %bb.9: movl %r14d, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq _LOG_ERR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rdx movl %r14d, %esi callq _log_full_errno jmp LBB0_8 LBB0_10: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _FORMAT_TIMESPAN_MAX,4,2 ## @FORMAT_TIMESPAN_MAX .comm _ENOENT,4,2 ## @ENOENT .comm _EACCES,4,2 ## @EACCES .comm _ENODATA,4,2 ## @ENODATA .comm _LOG_DEBUG,4,2 ## @LOG_DEBUG .comm _LOG_ERR,4,2 ## @LOG_ERR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Failed to read ACPI FPDT: %m" L_.str.1: ## @.str.1 .asciz "ACPI FPDT: loader start=%s exit=%s duration=%s" .comm _USEC_PER_MSEC,4,2 ## @USEC_PER_MSEC .no_dead_strip _test_acpi_fpdt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_acpi_fpdt _test_acpi_fpdt: ; @test_acpi_fpdt .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 sub sp, sp, #32 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] Lloh3: adrp x8, _FORMAT_TIMESPAN_MAX@GOTPAGE Lloh4: ldr x8, [x8, _FORMAT_TIMESPAN_MAX@GOTPAGEOFF] Lloh5: ldr w19, [x8] mov x9, x19 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x19, #15 and x12, x9, #0x1fffffff0 sub x23, x8, x12 mov sp, x23 mov x9, x19 Lloh8: adrp x16, ___chkstk_darwin@GOTPAGE Lloh9: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp sub x22, x8, x12 mov sp, x22 mov x9, x19 Lloh10: adrp x16, ___chkstk_darwin@GOTPAGE Lloh11: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp sub x21, x8, x12 mov sp, x21 sub x0, x29, #64 sub x1, x29, #72 bl _acpi_get_boot_usec tbnz w0, #31, LBB0_2 ; %bb.1: ldur x2, [x29, #-64] Lloh12: adrp x24, _USEC_PER_MSEC@GOTPAGE Lloh13: ldr x24, [x24, _USEC_PER_MSEC@GOTPAGEOFF] ldr w3, [x24] mov x0, x23 mov x1, x19 bl _format_timespan mov x20, x0 ldur x2, [x29, #-72] ldr w3, [x24] mov x0, x22 mov x1, x19 bl _format_timespan mov x22, x0 ldp x8, x9, [x29, #-72] sub x2, x8, x9 ldr w3, [x24] mov x0, x21 mov x1, x19 bl _format_timespan mov x3, x0 Lloh14: adrp x0, l_.str.1@PAGE Lloh15: add x0, x0, l_.str.1@PAGEOFF mov x1, x20 mov x2, x22 bl _log_info mov w20, #1 b LBB0_7 LBB0_2: mov x20, x0 Lloh16: adrp x8, _ENOENT@GOTPAGE Lloh17: ldr x8, [x8, _ENOENT@GOTPAGEOFF] Lloh18: ldr w8, [x8] cmn w0, w8 b.eq LBB0_6 ; %bb.3: bl _getuid cbz x0, LBB0_5 ; %bb.4: Lloh19: adrp x8, _EACCES@GOTPAGE Lloh20: ldr x8, [x8, _EACCES@GOTPAGEOFF] Lloh21: ldr w8, [x8] cmn w20, w8 b.eq LBB0_6 LBB0_5: Lloh22: adrp x8, _ENODATA@GOTPAGE Lloh23: ldr x8, [x8, _ENODATA@GOTPAGEOFF] Lloh24: ldr w8, [x8] cmn w20, w8 b.ne LBB0_9 LBB0_6: Lloh25: adrp x8, _LOG_DEBUG@GOTPAGE Lloh26: ldr x8, [x8, _LOG_DEBUG@GOTPAGEOFF] Lloh27: ldr w0, [x8] Lloh28: adrp x2, l_.str@PAGE Lloh29: add x2, x2, l_.str@PAGEOFF mov x1, x20 bl _log_full_errno mov w20, #0 LBB0_7: ldur x8, [x29, #-56] Lloh30: adrp x9, ___stack_chk_guard@GOTPAGE Lloh31: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh32: ldr x9, [x9] cmp x9, x8 b.ne LBB0_10 ; %bb.8: mov x0, x20 sub sp, x29, #48 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_9: Lloh33: adrp x8, _LOG_ERR@GOTPAGE Lloh34: ldr x8, [x8, _LOG_ERR@GOTPAGEOFF] Lloh35: ldr w0, [x8] Lloh36: adrp x2, l_.str@PAGE Lloh37: add x2, x2, l_.str@PAGEOFF mov x1, x20 bl _log_full_errno b LBB0_7 LBB0_10: bl ___stack_chk_fail .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .cfi_endproc ; -- End function .comm _FORMAT_TIMESPAN_MAX,4,2 ; @FORMAT_TIMESPAN_MAX .comm _ENOENT,4,2 ; @ENOENT .comm _EACCES,4,2 ; @EACCES .comm _ENODATA,4,2 ; @ENODATA .comm _LOG_DEBUG,4,2 ; @LOG_DEBUG .comm _LOG_ERR,4,2 ; @LOG_ERR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Failed to read ACPI FPDT: %m" l_.str.1: ; @.str.1 .asciz "ACPI FPDT: loader start=%s exit=%s duration=%s" .comm _USEC_PER_MSEC,4,2 ; @USEC_PER_MSEC .no_dead_strip _test_acpi_fpdt .subsections_via_symbols
AnghaBench/systemd/src/test/extr_test-boot-timestamps.c_test_acpi_fpdt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PBI_MIO_WriteConfig ## -- Begin function PBI_MIO_WriteConfig .p2align 4, 0x90 _PBI_MIO_WriteConfig: ## @PBI_MIO_WriteConfig .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 _mio_rom_filename@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str(%rip), %rsi callq _fprintf movq _mio_scsi_disk_filename@GOTPCREL(%rip), %r14 movq (%r14), %rdi callq _Util_filenamenotset testl %eax, %eax je LBB0_2 ## %bb.1: popq %rbx popq %r14 popq %rbp retq LBB0_2: movq (%r14), %rdx leaq L_.str.1(%rip), %rsi movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _fprintf ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "MIO_ROM=%s\n" .comm _mio_rom_filename,8,3 ## @mio_rom_filename .comm _mio_scsi_disk_filename,8,3 ## @mio_scsi_disk_filename L_.str.1: ## @.str.1 .asciz "MIO_SCSI_DISK=%s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PBI_MIO_WriteConfig ; -- Begin function PBI_MIO_WriteConfig .p2align 2 _PBI_MIO_WriteConfig: ; @PBI_MIO_WriteConfig .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _mio_rom_filename@GOTPAGE Lloh1: ldr x8, [x8, _mio_rom_filename@GOTPAGEOFF] Lloh2: ldr x2, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _fprintf Lloh5: adrp x20, _mio_scsi_disk_filename@GOTPAGE Lloh6: ldr x20, [x20, _mio_scsi_disk_filename@GOTPAGEOFF] ldr x0, [x20] bl _Util_filenamenotset cbz w0, LBB0_2 ; %bb.1: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: ldr x2, [x20] Lloh7: adrp x1, l_.str.1@PAGE Lloh8: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _fprintf .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "MIO_ROM=%s\n" .comm _mio_rom_filename,8,3 ; @mio_rom_filename .comm _mio_scsi_disk_filename,8,3 ; @mio_scsi_disk_filename l_.str.1: ; @.str.1 .asciz "MIO_SCSI_DISK=%s\n" .subsections_via_symbols
AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_pbi_mio.c_PBI_MIO_WriteConfig.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _iavf_disable_queues ## -- Begin function iavf_disable_queues .p2align 4, 0x90 _iavf_disable_queues: ## @iavf_disable_queues .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 8(%rdi), %rax movl (%rax), %eax movl %eax, -8(%rbp) movb (%rdi), %cl movl $-1, %eax shll %cl, %eax notl %eax movl %eax, -16(%rbp) movl %eax, -12(%rbp) movq _VIRTCHNL_OP_DISABLE_QUEUES@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -16(%rbp), %rdx movl $12, %ecx callq _iavf_send_pf_msg xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _VIRTCHNL_OP_DISABLE_QUEUES,4,2 ## @VIRTCHNL_OP_DISABLE_QUEUES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _iavf_disable_queues ; -- Begin function iavf_disable_queues .p2align 2 _iavf_disable_queues: ; @iavf_disable_queues .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, #8] ldr w10, [x8] ldr w8, [x0] mov w9, #-1 lsl w8, w9, w8 mvn w8, w8 str w8, [sp] stp w8, w10, [sp, #4] Lloh0: adrp x8, _VIRTCHNL_OP_DISABLE_QUEUES@GOTPAGE Lloh1: ldr x8, [x8, _VIRTCHNL_OP_DISABLE_QUEUES@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x2, sp mov w3, #12 bl _iavf_send_pf_msg mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _VIRTCHNL_OP_DISABLE_QUEUES,4,2 ; @VIRTCHNL_OP_DISABLE_QUEUES .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ixl/extr_iavf_vc.c_iavf_disable_queues.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sub ## -- Begin function sub .p2align 4, 0x90 _sub: ## @sub .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 leal 1(%rdi), %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $21, %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 _sub ; -- Begin function sub .p2align 2 _sub: ; @sub .cfi_startproc ; %bb.0: add w0, w0, #1 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #21 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/97259.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function crypto_tmpl_get _crypto_tmpl_get: ## @crypto_tmpl_get .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 _try_module_get ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _crypto_tmpl_get .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function crypto_tmpl_get _crypto_tmpl_get: ; @crypto_tmpl_get .cfi_startproc ; %bb.0: ldr w0, [x0] b _try_module_get .cfi_endproc ; -- End function .no_dead_strip _crypto_tmpl_get .subsections_via_symbols
AnghaBench/linux/crypto/extr_internal.h_crypto_tmpl_get.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _RouterRemoveRoutesForInterface ## -- Begin function RouterRemoveRoutesForInterface .p2align 4, 0x90 _RouterRemoveRoutesForInterface: ## @RouterRemoveRoutesForInterface .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 _FIBLock@GOTPCREL(%rip), %rdi leaq -44(%rbp), %rsi callq _TcpipAcquireSpinLock movq _FIBListHead@GOTPCREL(%rip), %r14 movq (%r14), %rbx cmpq %r14, %rbx je LBB0_5 ## %bb.1: movq _FIB_ENTRY@GOTPCREL(%rip), %r12 movq _ListEntry@GOTPCREL(%rip), %r13 jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 cmpq %r14, %rbx je LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi movq (%rbx), %rbx movl (%r12), %esi movl (%r13), %edx callq _CONTAINING_RECORD movq (%rax), %rcx cmpq %r15, (%rcx) jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %rdi callq _DestroyFIBE jmp LBB0_4 LBB0_5: movl -44(%rbp), %esi movq _FIBLock@GOTPCREL(%rip), %rdi callq _TcpipReleaseSpinLock addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FIBLock,4,2 ## @FIBLock .comm _FIBListHead,8,3 ## @FIBListHead .comm _FIB_ENTRY,4,2 ## @FIB_ENTRY .comm _ListEntry,4,2 ## @ListEntry .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _RouterRemoveRoutesForInterface ; -- Begin function RouterRemoveRoutesForInterface .p2align 2 _RouterRemoveRoutesForInterface: ; @RouterRemoveRoutesForInterface .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, x0 Lloh0: adrp x0, _FIBLock@GOTPAGE Lloh1: ldr x0, [x0, _FIBLock@GOTPAGEOFF] add x1, sp, #12 bl _TcpipAcquireSpinLock Lloh2: adrp x20, _FIBListHead@GOTPAGE Lloh3: ldr x20, [x20, _FIBListHead@GOTPAGEOFF] ldr x0, [x20] cmp x0, x20 b.eq LBB0_5 ; %bb.1: Lloh4: adrp x21, _FIB_ENTRY@GOTPAGE Lloh5: ldr x21, [x21, _FIB_ENTRY@GOTPAGEOFF] Lloh6: adrp x22, _ListEntry@GOTPAGE Lloh7: ldr x22, [x22, _ListEntry@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov x0, x23 cmp x23, x20 b.eq LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x23, [x0] ldr w1, [x21] ldr w2, [x22] bl _CONTAINING_RECORD ldr x8, [x0] ldr x8, [x8] cmp x8, x19 b.ne LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 bl _DestroyFIBE b LBB0_2 LBB0_5: ldr w1, [sp, #12] Lloh8: adrp x0, _FIBLock@GOTPAGE Lloh9: ldr x0, [x0, _FIBLock@GOTPAGEOFF] bl _TcpipReleaseSpinLock ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _FIBLock,4,2 ; @FIBLock .comm _FIBListHead,8,3 ; @FIBListHead .comm _FIB_ENTRY,4,2 ; @FIB_ENTRY .comm _ListEntry,4,2 ; @ListEntry .subsections_via_symbols
AnghaBench/reactos/sdk/lib/drivers/ip/network/extr_router.c_RouterRemoveRoutesForInterface.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ft_isdigit ## -- Begin function ft_isdigit .p2align 4, 0x90 _ft_isdigit: ## @ft_isdigit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp addl $-48, %edi xorl %eax, %eax cmpl $10, %edi setb %al popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ft_isdigit ; -- Begin function ft_isdigit .p2align 2 _ft_isdigit: ; @ft_isdigit .cfi_startproc ; %bb.0: sub w8, w0, #48 cmp w8, #10 cset w0, lo ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/159514798.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 leaq L_.str(%rip), %rdi movl $5, %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 "%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #5 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 "%d" .subsections_via_symbols
the_stack_data/104762.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _machine__resolve ## -- Begin function machine__resolve .p2align 4, 0x90 _machine__resolve: ## @machine__resolve .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r12 movq %rsi, %r15 movq %rdi, %r14 movl 16(%rdx), %edx movl 20(%r12), %esi callq _machine__findnew_thread testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movq %rax, %rdi callq _thread__comm_str movslq %eax, %rsi movl (%rbx), %edx leaq L_.str(%rip), %rdi xorl %eax, %eax callq _dump_printf movl 8(%r12), %edx movl 12(%r12), %esi movq %rbx, %rdi movq %r15, %rcx callq _thread__find_map movq 40(%r15), %rax testq %rax, %rax je LBB0_4 ## %bb.3: movq (%rax), %rax movq (%rax), %rsi jmp LBB0_5 LBB0_1: movl $-1, %ebx jmp LBB0_24 LBB0_4: cmpb $72, (%r15) leaq L_.str.2(%rip), %rax leaq L_.str.3(%rip), %rsi cmoveq %rax, %rsi LBB0_5: leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _dump_printf movq %rbx, %rdi callq _thread__is_filtered testq %rax, %rax je LBB0_7 ## %bb.6: movq _HIST_FILTER__THREAD@GOTPCREL(%rip), %rax movb (%rax), %cl movl $1, %eax shll %cl, %eax orl %eax, 4(%r15) LBB0_7: movq $0, 24(%r15) movq (%r12), %rax movq %rax, 8(%r15) movl $-1, 16(%r15) movq $0, 48(%r15) testq %rax, %rax js LBB0_11 ## %bb.8: movq (%r14), %rcx testq %rcx, %rcx je LBB0_11 ## %bb.9: movq (%rcx), %rcx testq %rcx, %rcx je LBB0_11 ## %bb.10: movl (%rcx,%rax,4), %eax movl %eax, 16(%r15) LBB0_11: movq 40(%r15), %rax testq %rax, %rax je LBB0_21 ## %bb.12: movq _symbol_conf@GOTPCREL(%rip), %r14 movq 8(%r14), %rdi testq %rdi, %rdi je LBB0_18 ## %bb.13: movq (%rax), %rbx testq %rbx, %rbx je LBB0_17 ## %bb.14: movq 8(%rbx), %rsi callq _strlist__has_entry testq %rax, %rax jne LBB0_18 ## %bb.15: movq (%rbx), %rsi cmpq 8(%rbx), %rsi je LBB0_17 ## %bb.16: movq 8(%r14), %rdi callq _strlist__has_entry testq %rax, %rax jne LBB0_18 LBB0_17: movq _HIST_FILTER__DSO@GOTPCREL(%rip), %rax movb (%rax), %cl movl $1, %eax shll %cl, %eax orl %eax, 4(%r15) LBB0_18: movq 40(%r15), %rdi movl 32(%r15), %esi callq _map__find_symbol movq %rax, 24(%r15) movq (%r14), %rdi xorl %ebx, %ebx testq %rdi, %rdi je LBB0_24 ## %bb.19: testq %rax, %rax je LBB0_22 ## %bb.20: movq (%rax), %rsi callq _strlist__has_entry testq %rax, %rax jne LBB0_24 jmp LBB0_22 LBB0_21: movq _symbol_conf@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_23 LBB0_22: movq _HIST_FILTER__SYMBOL@GOTPCREL(%rip), %rax movb (%rax), %cl movl $1, %eax shll %cl, %eax orl %eax, 4(%r15) LBB0_23: xorl %ebx, %ebx LBB0_24: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " ... thread: %s:%d\n" L_.str.1: ## @.str.1 .asciz " ...... dso: %s\n" L_.str.2: ## @.str.2 .asciz "[hypervisor]" L_.str.3: ## @.str.3 .asciz "<not found>" .comm _HIST_FILTER__THREAD,4,2 ## @HIST_FILTER__THREAD .comm _symbol_conf,16,3 ## @symbol_conf .comm _HIST_FILTER__DSO,4,2 ## @HIST_FILTER__DSO .comm _HIST_FILTER__SYMBOL,4,2 ## @HIST_FILTER__SYMBOL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _machine__resolve ; -- Begin function machine__resolve .p2align 2 _machine__resolve: ; @machine__resolve .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x2 mov x19, x1 mov x20, x0 ldp w2, w1, [x2, #16] bl _machine__findnew_thread cbz x0, LBB0_3 ; %bb.1: mov x22, x0 bl _thread__comm_str ; kill: def $w0 killed $w0 def $x0 sxtw x1, w0 ldr w8, [x22] str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _dump_printf ldp w2, w1, [x21, #8] mov x0, x22 mov x3, x19 bl _thread__find_map ldr x8, [x19, #40] cbz x8, LBB0_4 ; %bb.2: ldr x8, [x8] ldr x1, [x8] b LBB0_5 LBB0_3: mov w0, #-1 b LBB0_24 LBB0_4: ldrb w8, [x19] Lloh2: adrp x9, l_.str.3@PAGE Lloh3: add x9, x9, l_.str.3@PAGEOFF Lloh4: adrp x10, l_.str.2@PAGE Lloh5: add x10, x10, l_.str.2@PAGEOFF cmp w8, #72 csel x1, x10, x9, eq LBB0_5: Lloh6: adrp x0, l_.str.1@PAGE Lloh7: add x0, x0, l_.str.1@PAGEOFF bl _dump_printf mov x0, x22 bl _thread__is_filtered cbz x0, LBB0_7 ; %bb.6: Lloh8: adrp x8, _HIST_FILTER__THREAD@GOTPAGE Lloh9: ldr x8, [x8, _HIST_FILTER__THREAD@GOTPAGEOFF] Lloh10: ldr w8, [x8] mov w9, #1 lsl w8, w9, w8 ldr w9, [x19, #4] orr w8, w9, w8 str w8, [x19, #4] LBB0_7: str xzr, [x19, #24] ldr x8, [x21] str x8, [x19, #8] mov w9, #-1 str w9, [x19, #16] str xzr, [x19, #48] tbnz x8, #63, LBB0_11 ; %bb.8: ldr x9, [x20] cbz x9, LBB0_11 ; %bb.9: ldr x9, [x9] cbz x9, LBB0_11 ; %bb.10: ldr w8, [x9, x8, lsl #2] str w8, [x19, #16] LBB0_11: ldr x8, [x19, #40] cbz x8, LBB0_22 ; %bb.12: Lloh11: adrp x20, _symbol_conf@GOTPAGE Lloh12: ldr x20, [x20, _symbol_conf@GOTPAGEOFF] ldr x0, [x20, #8] cbz x0, LBB0_18 ; %bb.13: ldr x21, [x8] cbz x21, LBB0_17 ; %bb.14: ldr x1, [x21, #8] bl _strlist__has_entry cbnz x0, LBB0_18 ; %bb.15: ldp x1, x8, [x21] cmp x1, x8 b.eq LBB0_17 ; %bb.16: ldr x0, [x20, #8] bl _strlist__has_entry cbnz x0, LBB0_18 LBB0_17: Lloh13: adrp x8, _HIST_FILTER__DSO@GOTPAGE Lloh14: ldr x8, [x8, _HIST_FILTER__DSO@GOTPAGEOFF] Lloh15: ldr w8, [x8] mov w9, #1 lsl w8, w9, w8 ldr w9, [x19, #4] orr w8, w9, w8 str w8, [x19, #4] LBB0_18: ldr x0, [x19, #40] ldr w1, [x19, #32] bl _map__find_symbol str x0, [x19, #24] ldr x8, [x20] cbz x8, LBB0_21 ; %bb.19: cbz x0, LBB0_23 ; %bb.20: ldr x1, [x0] mov x0, x8 bl _strlist__has_entry cbz x0, LBB0_23 LBB0_21: mov w0, #0 b LBB0_24 LBB0_22: Lloh16: adrp x8, _symbol_conf@GOTPAGE Lloh17: ldr x8, [x8, _symbol_conf@GOTPAGEOFF] Lloh18: ldr x8, [x8] cbz x8, LBB0_21 LBB0_23: mov w0, #0 Lloh19: adrp x8, _HIST_FILTER__SYMBOL@GOTPAGE Lloh20: ldr x8, [x8, _HIST_FILTER__SYMBOL@GOTPAGEOFF] Lloh21: ldr w8, [x8] mov w9, #1 lsl w8, w9, w8 ldr w9, [x19, #4] orr w8, w9, w8 str w8, [x19, #4] LBB0_24: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " ... thread: %s:%d\n" l_.str.1: ; @.str.1 .asciz " ...... dso: %s\n" l_.str.2: ; @.str.2 .asciz "[hypervisor]" l_.str.3: ; @.str.3 .asciz "<not found>" .comm _HIST_FILTER__THREAD,4,2 ; @HIST_FILTER__THREAD .comm _symbol_conf,16,3 ; @symbol_conf .comm _HIST_FILTER__DSO,4,2 ; @HIST_FILTER__DSO .comm _HIST_FILTER__SYMBOL,4,2 ; @HIST_FILTER__SYMBOL .subsections_via_symbols
AnghaBench/linux/tools/perf/util/extr_event.c_machine__resolve.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function CopyBrushSidesLump _CopyBrushSidesLump: ## @CopyBrushSidesLump .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 _LUMP_BRUSHSIDES@GOTPCREL(%rip), %r15 movl (%r15), %esi movl $8, %edx callq _GetLumpElements movq _numBSPBrushSides@GOTPCREL(%rip), %rbx movl %eax, (%rbx) movl (%r15), %esi movq %r14, %rdi callq _GetLump cmpl $0, (%rbx) jle LBB0_3 ## %bb.1: movq _bspBrushSides@GOTPCREL(%rip), %rcx movq (%rcx), %rcx addq $8, %rcx xorl %edx, %edx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl 4(%rax,%rdx,8), %esi movl %esi, (%rcx) movl (%rax,%rdx,8), %esi movl %esi, -4(%rcx) movl $-1, -8(%rcx) addq $12, %rcx incq %rdx cmpl (%rbx), %edx jl LBB0_2 LBB0_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LUMP_BRUSHSIDES,4,2 ## @LUMP_BRUSHSIDES .comm _numBSPBrushSides,4,2 ## @numBSPBrushSides .comm _bspBrushSides,8,3 ## @bspBrushSides .no_dead_strip _CopyBrushSidesLump .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function CopyBrushSidesLump _CopyBrushSidesLump: ; @CopyBrushSidesLump .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x21, _LUMP_BRUSHSIDES@GOTPAGE Lloh1: ldr x21, [x21, _LUMP_BRUSHSIDES@GOTPAGEOFF] ldr w1, [x21] mov w2, #8 bl _GetLumpElements Lloh2: adrp x20, _numBSPBrushSides@GOTPAGE Lloh3: ldr x20, [x20, _numBSPBrushSides@GOTPAGEOFF] str w0, [x20] ldr w1, [x21] mov x0, x19 bl _GetLump ldr w8, [x20] cmp w8, #1 b.lt LBB0_3 ; %bb.1: mov x8, #0 Lloh4: adrp x9, _bspBrushSides@GOTPAGE Lloh5: ldr x9, [x9, _bspBrushSides@GOTPAGEOFF] Lloh6: ldr x9, [x9] add x9, x9, #4 mov w10, #-1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr d0, [x0, x8, lsl #3] str d0, [x9] stur w10, [x9, #-4] ldr w11, [x20] add x9, x9, #12 add x8, x8, #1 cmp w8, w11 b.lt LBB0_2 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _LUMP_BRUSHSIDES,4,2 ; @LUMP_BRUSHSIDES .comm _numBSPBrushSides,4,2 ; @numBSPBrushSides .comm _bspBrushSides,8,3 ; @bspBrushSides .no_dead_strip _CopyBrushSidesLump .subsections_via_symbols
AnghaBench/lab/q3map2/q3map2/extr_bspfile_ibsp.c_CopyBrushSidesLump.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _generic_bs_rm_1 ## -- Begin function generic_bs_rm_1 .p2align 4, 0x90 _generic_bs_rm_1: ## @generic_bs_rm_1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testq %r8, %r8 je LBB0_3 ## %bb.1: movq %r8, %r15 movq %rcx, %r14 movq %rdx, %r12 addq %rsi, %r12 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi callq _rd8 movl %eax, (%r14,%rbx,4) incq %rbx cmpq %rbx, %r15 jne LBB0_2 LBB0_3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _generic_bs_rm_1 ; -- Begin function generic_bs_rm_1 .p2align 2 _generic_bs_rm_1: ; @generic_bs_rm_1 .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz x4, LBB0_3 ; %bb.1: mov x19, x4 mov x20, x3 add x21, x2, x1 LBB0_2: ; =>This Inner Loop Header: Depth=1 sub x19, x19, #1 mov x0, x21 bl _rd8 str w0, [x20], #4 cbnz x19, LBB0_2 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/sys/mips/mips/extr_bus_space_generic.c_generic_bs_rm_1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _func ## -- Begin function func .p2align 4, 0x90 _func: ## @func .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movsbl %dil, %eax andl $16777215, %edi ## imm = 0xFFFFFF movl %edi, %ecx shrl $8, %ecx shrl $16, %edi movsbl %cl, %ecx addl %eax, %ecx movsbl %dil, %eax addl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $18, %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 _func ; -- Begin function func .p2align 2 _func: ; @func .cfi_startproc ; %bb.0: sbfx w8, w0, #8, #8 add w8, w8, w0, sxtb lsl w9, w0, #8 add w0, w8, w9, asr #24 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #18 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/1148773.c
stack