x86
stringlengths
122
5.97M
arm
stringlengths
122
5.84M
file
stringlengths
18
195
source
stringclasses
3 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function heathrow_mb_setup_bus _heathrow_mb_setup_bus: ## @heathrow_mb_setup_bus .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 ## kill: def $esi killed $esi def $rsi movq %rdi, %rbx leal -129(%rsi), %eax cmpl $2, %eax jb LBB0_8 ## %bb.1: cmpl $128, %esi je LBB0_4 ## %bb.2: cmpl $131, %esi jne LBB0_6 ## %bb.3: movq _HEATHROW_FCR@GOTPCREL(%rip), %r14 movl (%r14), %esi movq _HRW_IDE1_RESET_N@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi callq _MB_BIC movl (%r14), %esi movq _HRW_BAY_IDE_ENABLE@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_8: movq _HEATHROW_FCR@GOTPCREL(%rip), %r14 movl (%r14), %esi movq _HRW_BAY_FLOPPY_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi callq _MB_BIS movl (%r14), %esi movq _HRW_SWIM_ENABLE@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_4: movq _HEATHROW_FCR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _HRW_BAY_PCI_ENABLE@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %edx movq %rbx, %rdi callq _MB_BIS xorl %eax, %eax jmp LBB0_7 LBB0_6: movq _ENODEV@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_7: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _HEATHROW_FCR,4,2 ## @HEATHROW_FCR .comm _HRW_BAY_FLOPPY_ENABLE,4,2 ## @HRW_BAY_FLOPPY_ENABLE .comm _HRW_SWIM_ENABLE,4,2 ## @HRW_SWIM_ENABLE .comm _HRW_IDE1_RESET_N,4,2 ## @HRW_IDE1_RESET_N .comm _HRW_BAY_IDE_ENABLE,4,2 ## @HRW_BAY_IDE_ENABLE .comm _HRW_BAY_PCI_ENABLE,4,2 ## @HRW_BAY_PCI_ENABLE .comm _ENODEV,4,2 ## @ENODEV .no_dead_strip _heathrow_mb_setup_bus .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function heathrow_mb_setup_bus _heathrow_mb_setup_bus: ; @heathrow_mb_setup_bus .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 sub w8, w1, #129 cmp w8, #2 b.lo LBB0_4 ; %bb.1: cmp w1, #128 b.eq LBB0_5 ; %bb.2: cmp w1, #131 b.ne LBB0_7 ; %bb.3: Lloh0: adrp x20, _HEATHROW_FCR@GOTPAGE Lloh1: ldr x20, [x20, _HEATHROW_FCR@GOTPAGEOFF] ldr w1, [x20] Lloh2: adrp x8, _HRW_IDE1_RESET_N@GOTPAGE Lloh3: ldr x8, [x8, _HRW_IDE1_RESET_N@GOTPAGEOFF] Lloh4: ldr w2, [x8] mov x0, x19 bl _MB_BIC ldr w1, [x20] Lloh5: adrp x8, _HRW_BAY_IDE_ENABLE@GOTPAGE Lloh6: ldr x8, [x8, _HRW_BAY_IDE_ENABLE@GOTPAGEOFF] b LBB0_6 LBB0_4: Lloh7: adrp x20, _HEATHROW_FCR@GOTPAGE Lloh8: ldr x20, [x20, _HEATHROW_FCR@GOTPAGEOFF] ldr w1, [x20] Lloh9: adrp x8, _HRW_BAY_FLOPPY_ENABLE@GOTPAGE Lloh10: ldr x8, [x8, _HRW_BAY_FLOPPY_ENABLE@GOTPAGEOFF] Lloh11: ldr w2, [x8] mov x0, x19 bl _MB_BIS ldr w1, [x20] Lloh12: adrp x8, _HRW_SWIM_ENABLE@GOTPAGE Lloh13: ldr x8, [x8, _HRW_SWIM_ENABLE@GOTPAGEOFF] b LBB0_6 LBB0_5: Lloh14: adrp x8, _HEATHROW_FCR@GOTPAGE Lloh15: ldr x8, [x8, _HEATHROW_FCR@GOTPAGEOFF] Lloh16: ldr w1, [x8] Lloh17: adrp x8, _HRW_BAY_PCI_ENABLE@GOTPAGE Lloh18: ldr x8, [x8, _HRW_BAY_PCI_ENABLE@GOTPAGEOFF] LBB0_6: ldr w2, [x8] mov x0, x19 bl _MB_BIS mov w0, #0 b LBB0_8 LBB0_7: Lloh19: adrp x8, _ENODEV@GOTPAGE Lloh20: ldr x8, [x8, _ENODEV@GOTPAGEOFF] Lloh21: ldr w8, [x8] neg w0, w8 LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .comm _HEATHROW_FCR,4,2 ; @HEATHROW_FCR .comm _HRW_BAY_FLOPPY_ENABLE,4,2 ; @HRW_BAY_FLOPPY_ENABLE .comm _HRW_SWIM_ENABLE,4,2 ; @HRW_SWIM_ENABLE .comm _HRW_IDE1_RESET_N,4,2 ; @HRW_IDE1_RESET_N .comm _HRW_BAY_IDE_ENABLE,4,2 ; @HRW_BAY_IDE_ENABLE .comm _HRW_BAY_PCI_ENABLE,4,2 ; @HRW_BAY_PCI_ENABLE .comm _ENODEV,4,2 ; @ENODEV .no_dead_strip _heathrow_mb_setup_bus .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/macintosh/extr_mediabay.c_heathrow_mb_setup_bus.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gs_shader_destroy ## -- Begin function gs_shader_destroy .p2align 4, 0x90 _gs_shader_destroy: ## @gs_shader_destroy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq _thread_graphics@GOTPCREL(%rip), %rax movq (%rax), %r14 leaq L_.str(%rip), %rdi callq _gs_valid testq %rbx, %rbx je LBB0_2 ## %bb.1: testl %eax, %eax je LBB0_2 ## %bb.3: movq %rbx, %rdi movq %r14, %rax popq %rbx popq %r14 popq %rbp jmpq *(%rax) ## TAILCALL LBB0_2: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _thread_graphics,8,3 ## @thread_graphics .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "gs_shader_destroy" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gs_shader_destroy ; -- Begin function gs_shader_destroy .p2align 2 _gs_shader_destroy: ; @gs_shader_destroy .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, _thread_graphics@GOTPAGE Lloh1: ldr x8, [x8, _thread_graphics@GOTPAGEOFF] Lloh2: ldr x20, [x8] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _gs_valid cbz x19, LBB0_3 ; %bb.1: cbz w0, LBB0_3 ; %bb.2: ldr x1, [x20] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload br x1 LBB0_3: 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 _thread_graphics,8,3 ; @thread_graphics .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "gs_shader_destroy" .subsections_via_symbols
AnghaBench/obs-studio/libobs/graphics/extr_graphics.c_gs_shader_destroy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rt2x00_has_cap_control_filters _rt2x00_has_cap_control_filters: ## @rt2x00_has_cap_control_filters .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _CAPABILITY_CONTROL_FILTERS@GOTPCREL(%rip), %rax movl (%rax), %esi popq %rbp jmp _rt2x00_has_cap_flag ## TAILCALL .cfi_endproc ## -- End function .comm _CAPABILITY_CONTROL_FILTERS,4,2 ## @CAPABILITY_CONTROL_FILTERS .no_dead_strip _rt2x00_has_cap_control_filters .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rt2x00_has_cap_control_filters _rt2x00_has_cap_control_filters: ; @rt2x00_has_cap_control_filters .cfi_startproc ; %bb.0: Lloh0: adrp x8, _CAPABILITY_CONTROL_FILTERS@GOTPAGE Lloh1: ldr x8, [x8, _CAPABILITY_CONTROL_FILTERS@GOTPAGEOFF] Lloh2: ldr w1, [x8] b _rt2x00_has_cap_flag .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CAPABILITY_CONTROL_FILTERS,4,2 ; @CAPABILITY_CONTROL_FILTERS .no_dead_strip _rt2x00_has_cap_control_filters .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00.h_rt2x00_has_cap_control_filters.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function grub_hfsplus_read_symlink _grub_hfsplus_read_symlink: ## @grub_hfsplus_read_symlink .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 movl (%rdi), %edi incl %edi callq _grub_malloc testq %rax, %rax je LBB0_5 ## %bb.1: movq %rax, %rbx movl (%r14), %r9d movq %rax, (%rsp) movq %r14, %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d callq _grub_hfsplus_read_file movslq (%r14), %rcx cmpq %rcx, %rax jne LBB0_4 ## %bb.2: movb $0, (%rbx,%rax) jmp LBB0_6 LBB0_4: movq %rbx, %rdi callq _grub_free LBB0_5: xorl %ebx, %ebx LBB0_6: movq %rbx, %rax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _grub_hfsplus_read_symlink .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function grub_hfsplus_read_symlink _grub_hfsplus_read_symlink: ; @grub_hfsplus_read_symlink .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 ldr w8, [x0] add w0, w8, #1 bl _grub_malloc mov x19, x0 cbz x0, LBB0_4 ; %bb.1: ldr w5, [x20] mov x0, x20 mov w1, #0 mov w2, #0 mov w3, #0 mov w4, #0 mov x6, x19 bl _grub_hfsplus_read_file ldrsw x8, [x20] cmp x0, x8 b.ne LBB0_3 ; %bb.2: strb wzr, [x19, x0] b LBB0_4 LBB0_3: mov x0, x19 bl _grub_free mov x19, #0 LBB0_4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _grub_hfsplus_read_symlink .subsections_via_symbols
AnghaBench/radare2/shlr/grub/fs/extr_hfsplus.c_grub_hfsplus_read_symlink.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _acl_create_entry ## -- Begin function acl_create_entry .p2align 4, 0x90 _acl_create_entry: ## @acl_create_entry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testq %rdi, %rdi je LBB0_1 ## %bb.2: movq (%rdi), %rcx movq 8(%rcx), %rax leaq 1(%rax), %r8 movq _ACL_MAX_ENTRIES@GOTPCREL(%rip), %rdx cmpq (%rdx), %r8 jge LBB0_1 ## %bb.3: movq 16(%rcx), %rdx movq %r8, 8(%rcx) shlq $5, %rax leaq (%rdx,%rax), %rcx movq %rcx, (%rsi) movq _ACL_UNDEFINED_TAG@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 24(%rdx,%rax) movq _ACL_UNDEFINED_ID@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 20(%rdx,%rax) movq _ACL_PERM_NONE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 16(%rdx,%rax) xorps %xmm0, %xmm0 movups %xmm0, (%rdx,%rax) movq (%rdi), %rax movq $0, (%rax) xorl %eax, %eax popq %rbp retq LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl $-1, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _errno,4,2 ## @errno .comm _ACL_MAX_ENTRIES,8,3 ## @ACL_MAX_ENTRIES .comm _ACL_UNDEFINED_TAG,4,2 ## @ACL_UNDEFINED_TAG .comm _ACL_UNDEFINED_ID,4,2 ## @ACL_UNDEFINED_ID .comm _ACL_PERM_NONE,4,2 ## @ACL_PERM_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _acl_create_entry ; -- Begin function acl_create_entry .p2align 2 _acl_create_entry: ; @acl_create_entry .cfi_startproc ; %bb.0: cbz x0, LBB0_3 ; %bb.1: mov x8, x0 ldr x9, [x0] ldr x10, [x9, #8] add x11, x10, #1 Lloh0: adrp x12, _ACL_MAX_ENTRIES@GOTPAGE Lloh1: ldr x12, [x12, _ACL_MAX_ENTRIES@GOTPAGEOFF] Lloh2: ldr x12, [x12] cmp x11, x12 b.ge LBB0_3 ; %bb.2: mov w0, #0 str x11, [x9, #8] ldr x9, [x9, #16] add x9, x9, x10, lsl #5 str x9, [x1] Lloh3: adrp x10, _ACL_UNDEFINED_TAG@GOTPAGE Lloh4: ldr x10, [x10, _ACL_UNDEFINED_TAG@GOTPAGEOFF] Lloh5: ldr w10, [x10] str w10, [x9, #24] Lloh6: adrp x10, _ACL_UNDEFINED_ID@GOTPAGE Lloh7: ldr x10, [x10, _ACL_UNDEFINED_ID@GOTPAGEOFF] Lloh8: ldr w10, [x10] str w10, [x9, #20] Lloh9: adrp x10, _ACL_PERM_NONE@GOTPAGE Lloh10: ldr x10, [x10, _ACL_PERM_NONE@GOTPAGEOFF] Lloh11: ldr w10, [x10] str w10, [x9, #16] stp xzr, xzr, [x9] ldr x8, [x8] str xzr, [x8] ret LBB0_3: Lloh12: adrp x8, _EINVAL@GOTPAGE Lloh13: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh14: ldr w8, [x8] Lloh15: adrp x9, _errno@GOTPAGE Lloh16: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh17: str w8, [x9] mov w0, #-1 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _errno,4,2 ; @errno .comm _ACL_MAX_ENTRIES,8,3 ; @ACL_MAX_ENTRIES .comm _ACL_UNDEFINED_TAG,4,2 ; @ACL_UNDEFINED_TAG .comm _ACL_UNDEFINED_ID,4,2 ; @ACL_UNDEFINED_ID .comm _ACL_PERM_NONE,4,2 ; @ACL_PERM_NONE .subsections_via_symbols
AnghaBench/freebsd/lib/libc/posix1e/extr_acl_entry.c_acl_create_entry.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI0_0: .long 0 ## 0x0 .long 1 ## 0x1 .space 4 .space 4 LCPI0_1: .long 100000 ## 0x186a0 .long 100000 ## 0x186a0 .space 4 .space 4 LCPI0_2: .quad 0x3ff0000000000000 ## double 1 .quad 0x3ff0000000000000 ## double 1 LCPI0_3: .long 99998 ## 0x1869e .long 99998 ## 0x1869e .space 4 .space 4 LCPI0_4: .long 4 ## 0x4 .long 4 ## 0x4 .space 4 .space 4 .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 movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = <0,1,u,u> movl $2, %edx movdqa LCPI0_1(%rip), %xmm1 ## xmm1 = <100000,100000,u,u> movapd LCPI0_2(%rip), %xmm2 ## xmm2 = [1.0E+0,1.0E+0] movq _a@GOTPCREL(%rip), %rax movq _b@GOTPCREL(%rip), %rcx movdqa LCPI0_3(%rip), %xmm3 ## xmm3 = <99998,99998,u,u> movdqa LCPI0_4(%rip), %xmm4 ## xmm4 = <4,4,u,u> .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movdqa %xmm1, %xmm5 psubd %xmm0, %xmm5 cvtdq2pd %xmm5, %xmm5 movapd %xmm2, %xmm6 divpd %xmm5, %xmm6 movapd %xmm6, -16(%rax,%rdx,8) mulpd %xmm6, %xmm6 movdqa %xmm3, %xmm5 psubd %xmm0, %xmm5 cvtdq2pd %xmm5, %xmm5 movapd %xmm6, -16(%rcx,%rdx,8) movapd %xmm2, %xmm6 divpd %xmm5, %xmm6 movapd %xmm6, (%rax,%rdx,8) mulpd %xmm6, %xmm6 movapd %xmm6, (%rcx,%rdx,8) paddd %xmm4, %xmm0 addq $4, %rdx cmpq $100002, %rdx ## imm = 0x186A2 jne LBB0_1 ## %bb.2: pxor %xmm0, %xmm0 movl $1, %edx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movsd -8(%rax,%rdx,8), %xmm1 ## xmm1 = mem[0],zero movsd (%rax,%rdx,8), %xmm2 ## xmm2 = mem[0],zero mulsd -8(%rcx,%rdx,8), %xmm1 mulsd (%rcx,%rdx,8), %xmm2 addsd %xmm0, %xmm1 movapd %xmm2, %xmm0 addsd %xmm1, %xmm0 addq $2, %rdx cmpq $100001, %rdx ## imm = 0x186A1 jne LBB0_3 ## %bb.4: leaq L_.str(%rip), %rdi movb $1, %al callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _a,800000,4 ## @a .comm _b,800000,4 ## @b .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Dot is %18.16f\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function main lCPI0_0: .long 0 ; 0x0 .long 1 ; 0x1 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, lCPI0_0@PAGE Lloh1: ldr d0, [x8, lCPI0_0@PAGEOFF] Lloh2: adrp x8, _b@GOTPAGE Lloh3: ldr x8, [x8, _b@GOTPAGEOFF] add x9, x8, #32 Lloh4: adrp x8, _a@GOTPAGE Lloh5: ldr x8, [x8, _a@GOTPAGEOFF] add x10, x8, #32 mov w8, #34464 movk w8, #1, lsl #16 dup.2s v1, w8 mov w11, #34462 movk w11, #1, lsl #16 dup.2s v2, w11 mov w11, #34460 movk w11, #1, lsl #16 dup.2s v3, w11 mov w11, #34458 movk w11, #1, lsl #16 dup.2s v4, w11 fmov.2d v5, #1.00000000 movi.2s v6, #8 mov w11, #34464 movk w11, #1, lsl #16 LBB0_1: ; =>This Inner Loop Header: Depth=1 sub.2s v7, v1, v0 sub.2s v16, v2, v0 sub.2s v17, v3, v0 sub.2s v18, v4, v0 sshll.2d v7, v7, #0 scvtf.2d v7, v7 sshll.2d v16, v16, #0 scvtf.2d v16, v16 sshll.2d v17, v17, #0 scvtf.2d v17, v17 sshll.2d v18, v18, #0 scvtf.2d v18, v18 fdiv.2d v7, v5, v7 fdiv.2d v16, v5, v16 fdiv.2d v17, v5, v17 fdiv.2d v18, v5, v18 stp q7, q16, [x10, #-32] stp q17, q18, [x10], #64 fmul.2d v7, v7, v7 fmul.2d v16, v16, v16 fmul.2d v17, v17, v17 fmul.2d v18, v18, v18 stp q7, q16, [x9, #-32] stp q17, q18, [x9], #64 add.2s v0, v0, v6 subs x11, x11, #8 b.ne LBB0_1 ; %bb.2: movi d0, #0000000000000000 Lloh6: adrp x9, _b@GOTPAGE Lloh7: ldr x9, [x9, _b@GOTPAGEOFF] Lloh8: adrp x10, _a@GOTPAGE Lloh9: ldr x10, [x10, _a@GOTPAGEOFF] LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr d1, [x10] ldr d2, [x10, #24] ldr d3, [x9] ldr d4, [x9, #24] fmul d1, d1, d3 ldur q3, [x10, #8] ldur q5, [x9, #8] fmul.2d v3, v3, v5 fmul d2, d2, d4 fadd d0, d0, d1 fadd d0, d0, d3 mov d1, v3[1] fadd d0, d0, d1 fadd d0, d0, d2 add x9, x9, #32 add x10, x10, #32 subs x8, x8, #4 b.ne LBB0_3 ; %bb.4: str d0, [sp] Lloh10: adrp x0, l_.str@PAGE Lloh11: 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 AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdrp Lloh0, Lloh2 .loh AdrpLdr Lloh0, Lloh1 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _a,800000,3 ; @a .comm _b,800000,3 ; @b .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Dot is %18.16f\n" .subsections_via_symbols
the_stack_data/3262751.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mlx5_wq_ll_get_wqe _mlx5_wq_ll_get_wqe: ## @mlx5_wq_ll_get_wqe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb 8(%rdi), %cl shll %cl, %esi movslq %esi, %rax addq (%rdi), %rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mlx5_wq_ll_get_wqe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mlx5_wq_ll_get_wqe _mlx5_wq_ll_get_wqe: ; @mlx5_wq_ll_get_wqe .cfi_startproc ; %bb.0: ldr x8, [x0] ldr w9, [x0, #8] lsl w9, w1, w9 add x0, x8, w9, sxtw ret .cfi_endproc ; -- End function .no_dead_strip _mlx5_wq_ll_get_wqe .subsections_via_symbols
AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_wq.h_mlx5_wq_ll_get_wqe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Hola, mundo." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Hola, mundo." .subsections_via_symbols
the_stack_data/6388622.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 ## -- Begin function os_cpu_usage_info_query LCPI0_0: .quad 0x4059000000000000 ## double 100 .section __TEXT,__text,regular,pure_instructions .globl _os_cpu_usage_info_query .p2align 4, 0x90 _os_cpu_usage_info_query: ## @os_cpu_usage_info_query .cfi_startproc ## %bb.0: xorpd %xmm0, %xmm0 testq %rdi, %rdi je LBB0_8 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $24, %rsp .cfi_offset %rbx, -24 movq %rdi, %rbx leaq -24(%rbp), %rdi callq _times movq %rax, %rdx subq (%rbx), %rdx jle LBB0_6 ## %bb.2: movq -24(%rbp), %rcx movq 8(%rbx), %rdi cmpq %rdi, %rcx jle LBB0_6 ## %bb.3: movq -16(%rbp), %rsi movq 16(%rbx), %r8 cmpq %r8, %rsi xorpd %xmm0, %xmm0 jl LBB0_7 ## %bb.4: leaq (%rcx,%rsi), %r9 addq %r8, %rdi subq %rdi, %r9 xorps %xmm0, %xmm0 cvtsi2sd %r9, %xmm0 cvtsi2sd %rdx, %xmm1 divsd %xmm1, %xmm0 xorps %xmm1, %xmm1 cvtsi2sdq 24(%rbx), %xmm1 divsd %xmm1, %xmm0 movq %rax, (%rbx) movq %rcx, 8(%rbx) movq %rsi, 16(%rbx) mulsd LCPI0_0(%rip), %xmm0 jmp LBB0_7 LBB0_6: xorpd %xmm0, %xmm0 LBB0_7: addq $24, %rsp popq %rbx popq %rbp LBB0_8: retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_4953 ## @g_aug_volatile_4953 .p2align 2, 0x0 _g_aug_volatile_4953: .long 6 ## 0x6 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _os_cpu_usage_info_query ; -- Begin function os_cpu_usage_info_query .p2align 2 _os_cpu_usage_info_query: ; @os_cpu_usage_info_query .cfi_startproc ; %bb.0: sub sp, sp, #64 stp d9, d8, [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 b8, -40 .cfi_offset b9, -48 movi d8, #0000000000000000 cbz x0, LBB0_5 ; %bb.1: mov x19, x0 mov x0, sp bl _times ldr x8, [x19] subs x9, x0, x8 b.le LBB0_5 ; %bb.2: ldr x8, [sp] ldr x11, [x19, #8] cmp x8, x11 b.le LBB0_5 ; %bb.3: ldr x10, [sp, #8] ldr x12, [x19, #16] cmp x10, x12 b.lt LBB0_5 ; %bb.4: add x13, x8, x10 add x11, x11, x12 sub x11, x13, x11 scvtf d0, x11 scvtf d1, x9 fdiv d0, d0, d1 ldr d1, [x19, #24] scvtf d1, d1 fdiv d0, d0, d1 stp x0, x8, [x19] str x10, [x19, #16] mov x8, #4636737291354636288 ; =0x4059000000000000 fmov d1, x8 fmul d8, d0, d1 LBB0_5: fmov d0, d8 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp d9, d8, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_4953 ; @g_aug_volatile_4953 .p2align 2, 0x0 _g_aug_volatile_4953: .long 6 ; 0x6 .subsections_via_symbols
assembly_file_103225.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi movl $16, %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 "\n%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, #16 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 "\n%d" .subsections_via_symbols
the_stack_data/1029341.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function b43_phy_ac_op_radio_read _b43_phy_ac_op_radio_read: ## @b43_phy_ac_op_radio_read .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %edx movq %rdi, %rbx movq _B43_MMIO_RADIO24_CONTROL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _b43_write16f movq _B43_MMIO_RADIO24_DATA@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _b43_read16 ## TAILCALL .cfi_endproc ## -- End function .comm _B43_MMIO_RADIO24_CONTROL,4,2 ## @B43_MMIO_RADIO24_CONTROL .comm _B43_MMIO_RADIO24_DATA,4,2 ## @B43_MMIO_RADIO24_DATA .no_dead_strip _b43_phy_ac_op_radio_read .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function b43_phy_ac_op_radio_read _b43_phy_ac_op_radio_read: ; @b43_phy_ac_op_radio_read .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 x2, x1 mov x19, x0 Lloh0: adrp x8, _B43_MMIO_RADIO24_CONTROL@GOTPAGE Lloh1: ldr x8, [x8, _B43_MMIO_RADIO24_CONTROL@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _b43_write16f Lloh3: adrp x8, _B43_MMIO_RADIO24_DATA@GOTPAGE Lloh4: ldr x8, [x8, _B43_MMIO_RADIO24_DATA@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _b43_read16 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _B43_MMIO_RADIO24_CONTROL,4,2 ; @B43_MMIO_RADIO24_CONTROL .comm _B43_MMIO_RADIO24_DATA,4,2 ; @B43_MMIO_RADIO24_DATA .no_dead_strip _b43_phy_ac_op_radio_read .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_ac.c_b43_phy_ac_op_radio_read.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function generateSHLL2 _generateSHLL2: ## @generateSHLL2 .cfi_startproc ## %bb.0: 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, %rbx callq _INSTRUCTION_B movl %eax, %r14d movq _R8@GOTPCREL(%rip), %r15 movl (%r15), %esi movq _R2@GOTPCREL(%rip), %r12 movl (%r12), %ecx movq %rbx, %rdi movl %eax, %edx callq _emitMOVLL4 movl (%r12), %esi movq %rbx, %rdi callq _emitSHLL2 movl (%r12), %esi movl (%r15), %ecx movq %rbx, %rdi movl %r14d, %edx callq _emitMOVLS4 incl 4(%rbx) addl $2, (%rbx) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _R8,4,2 ## @R8 .comm _R2,4,2 ## @R2 .no_dead_strip _generateSHLL2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function generateSHLL2 lCPI0_0: .long 2 ; 0x2 .long 1 ; 0x1 .section __TEXT,__text,regular,pure_instructions .p2align 2 _generateSHLL2: ; @generateSHLL2 .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 bl _INSTRUCTION_B mov x20, x0 Lloh0: adrp x21, _R8@GOTPAGE Lloh1: ldr x21, [x21, _R8@GOTPAGEOFF] ldr w1, [x21] Lloh2: adrp x22, _R2@GOTPAGE Lloh3: ldr x22, [x22, _R2@GOTPAGEOFF] ldr w3, [x22] mov x0, x19 mov x2, x20 bl _emitMOVLL4 ldr w1, [x22] mov x0, x19 bl _emitSHLL2 ldr w1, [x22] ldr w3, [x21] mov x0, x19 mov x2, x20 bl _emitMOVLS4 ldr d0, [x19] Lloh4: adrp x8, lCPI0_0@PAGE Lloh5: ldr d1, [x8, lCPI0_0@PAGEOFF] add.2s v0, v0, v1 str d0, [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 AdrpLdr Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _R8,4,2 ; @R8 .comm _R2,4,2 ; @R2 .no_dead_strip _generateSHLL2 .subsections_via_symbols
AnghaBench/Provenance/Cores/Yabause/yabause/src/dreamcast/sh2rec/extr_sh2rec.c_generateSHLL2.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function da9052_led_probe _da9052_led_probe: ## @da9052_led_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq _ENODEV@GOTPCREL(%rip), %rax xorl %r15d, %r15d subl (%rax), %r15d movl (%rdi), %edi callq _dev_get_drvdata movl (%rax), %edi callq _dev_get_platdata testq %rax, %rax je LBB0_1 ## %bb.3: movq (%rax), %r14 testq %r14, %r14 je LBB0_4 ## %bb.5: movl (%r14), %esi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi movl $32, %edx callq _devm_kcalloc testq %rax, %rax je LBB0_8 ## %bb.6: movq %rax, %r12 cmpl $0, (%r14) js LBB0_7 ## %bb.9: xorl %r13d, %r13d movq %r12, -48(%rbp) ## 8-byte Spill movq %r12, %r15 .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rax movl 4(%rax,%r13,8), %ecx leaq 4(%r15), %r12 movl %ecx, 16(%r15) movq _da9052_led_set@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 12(%r15) movq _LED_OFF@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 4(%r15) movq _DA9052_MAX_BRIGHTNESS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 8(%r15) movl (%rax,%r13,8), %eax movl %eax, (%r15) movl (%rbx), %edi callq _dev_get_drvdata movq %rax, 24(%r15) movl (%rbx), %edi movq %r12, %rsi callq _led_classdev_register testl %eax, %eax jne LBB0_11 ## %bb.12: ## in Loop: Header=BB0_10 Depth=1 movl 4(%r15), %esi movq %r15, %rdi callq _da9052_set_led_brightness testl %eax, %eax jne LBB0_13 ## %bb.14: ## in Loop: Header=BB0_10 Depth=1 leaq 1(%r13), %rax movslq (%r14), %rcx addq $32, %r15 cmpq %rcx, %r13 movq %rax, %r13 jl LBB0_10 ## %bb.15: movl %eax, %r13d jmp LBB0_16 LBB0_1: leaq L_.str(%rip), %rsi jmp LBB0_2 LBB0_4: leaq L_.str.1(%rip), %rsi LBB0_2: movq %rbx, %rdi xorl %eax, %eax callq _dev_err movl %r15d, %eax jmp LBB0_23 LBB0_8: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_23 LBB0_7: xorl %r13d, %r13d jmp LBB0_17 LBB0_11: movl %eax, %r14d movl (%r15), %edx leaq L_.str.2(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _dev_err movq -48(%rbp), %r12 ## 8-byte Reload jmp LBB0_19 LBB0_13: movl (%r15), %edx leaq L_.str.3(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _dev_err LBB0_16: movq -48(%rbp), %r12 ## 8-byte Reload LBB0_17: movq 24(%r12), %rdi callq _da9052_configure_leds testl %eax, %eax je LBB0_24 ## %bb.18: leaq L_.str.4(%rip), %rsi movq %rbx, %rdi movl %eax, %r14d movl %eax, %edx xorl %eax, %eax callq _dev_err LBB0_19: testl %r13d, %r13d jle LBB0_22 ## %bb.20: movl %r13d, %eax leaq 1(%rax), %r15 shlq $5, %rax leaq (%rax,%r12), %rbx addq $-28, %rbx .p2align 4, 0x90 LBB0_21: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _led_classdev_unregister decq %r15 addq $-32, %rbx cmpq $1, %r15 ja LBB0_21 LBB0_22: movl %r14d, %eax jmp LBB0_23 LBB0_24: movq %rbx, %rdi movq %r12, %rsi callq _platform_set_drvdata xorl %eax, %eax LBB0_23: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENODEV,4,2 ## @ENODEV .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "No platform data\n" L_.str.1: ## @.str.1 .asciz "No platform data for LED\n" .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _da9052_led_set,4,2 ## @da9052_led_set .comm _LED_OFF,4,2 ## @LED_OFF .comm _DA9052_MAX_BRIGHTNESS,4,2 ## @DA9052_MAX_BRIGHTNESS L_.str.2: ## @.str.2 .asciz "Failed to register led %d\n" L_.str.3: ## @.str.3 .asciz "Unable to init led %d\n" L_.str.4: ## @.str.4 .asciz "Failed to configure GPIO LED%d\n" .no_dead_strip _da9052_led_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function da9052_led_probe _da9052_led_probe: ; @da9052_led_probe .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 Lloh0: adrp x8, _ENODEV@GOTPAGE Lloh1: ldr x8, [x8, _ENODEV@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w21, w8 ldr w0, [x0] bl _dev_get_drvdata ldr w0, [x0] bl _dev_get_platdata cbz x0, LBB0_9 ; %bb.1: ldr x24, [x0] cbz x24, LBB0_10 ; %bb.2: ldr w1, [x24] Lloh3: adrp x8, _GFP_KERNEL@GOTPAGE Lloh4: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh5: ldr w3, [x8] mov x0, x19 mov w2, #32 ; =0x20 bl _devm_kcalloc cbz x0, LBB0_13 ; %bb.3: mov x20, x0 ldr w8, [x24] tbnz w8, #31, LBB0_14 ; %bb.4: mov x23, #0 ; =0x0 Lloh6: adrp x25, _da9052_led_set@GOTPAGE Lloh7: ldr x25, [x25, _da9052_led_set@GOTPAGEOFF] mov w26, #4 ; =0x4 Lloh8: adrp x27, _LED_OFF@GOTPAGE Lloh9: ldr x27, [x27, _LED_OFF@GOTPAGEOFF] Lloh10: adrp x28, _DA9052_MAX_BRIGHTNESS@GOTPAGE Lloh11: ldr x28, [x28, _DA9052_MAX_BRIGHTNESS@GOTPAGEOFF] mov x22, x20 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [x24, #8] add x8, x8, x26 ldr w9, [x8] str w9, [x22, #16] ldr w9, [x25] str w9, [x22, #12] ldr w9, [x27] mov x21, x22 str w9, [x21, #4]! ldr w9, [x28] str w9, [x22, #8] ldur w8, [x8, #-4] str w8, [x22] ldr w0, [x19] bl _dev_get_drvdata str x0, [x22, #24] ldr w0, [x19] mov x1, x21 bl _led_classdev_register cbnz w0, LBB0_15 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr w1, [x22, #4] mov x0, x22 bl _da9052_set_led_brightness cbnz w0, LBB0_16 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 add x8, x23, #1 ldrsw x9, [x24] add x22, x22, #32 add x26, x26, #8 cmp x23, x9 mov x23, x8 b.lt LBB0_5 ; %bb.8: mov x23, x8 b LBB0_17 LBB0_9: Lloh12: adrp x1, l_.str@PAGE Lloh13: add x1, x1, l_.str@PAGEOFF b LBB0_11 LBB0_10: Lloh14: adrp x1, l_.str.1@PAGE Lloh15: add x1, x1, l_.str.1@PAGEOFF LBB0_11: mov x0, x19 bl _dev_err LBB0_12: mov x0, x21 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_13: Lloh16: adrp x8, _ENOMEM@GOTPAGE Lloh17: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh18: ldr w8, [x8] neg w21, w8 b LBB0_12 LBB0_14: mov w23, #0 ; =0x0 b LBB0_17 LBB0_15: mov x21, x0 ldr w8, [x22] str x8, [sp] Lloh19: adrp x1, l_.str.2@PAGE Lloh20: add x1, x1, l_.str.2@PAGEOFF b LBB0_19 LBB0_16: ldr w8, [x22] str x8, [sp] Lloh21: adrp x1, l_.str.3@PAGE Lloh22: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _dev_err LBB0_17: ldr x0, [x20, #24] bl _da9052_configure_leds mov x21, x0 cbz w0, LBB0_22 ; %bb.18: str x21, [sp] Lloh23: adrp x1, l_.str.4@PAGE Lloh24: add x1, x1, l_.str.4@PAGEOFF LBB0_19: mov x0, x19 bl _dev_err cmp w23, #1 b.lt LBB0_12 ; %bb.20: mov w8, w23 add x22, x8, #1 add x8, x20, x8, lsl #5 sub x19, x8, #28 LBB0_21: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _led_classdev_unregister sub x22, x22, #1 sub x19, x19, #32 cmp x22, #1 b.hi LBB0_21 b LBB0_12 LBB0_22: mov x0, x19 mov x1, x20 bl _platform_set_drvdata b LBB0_12 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .cfi_endproc ; -- End function .comm _ENODEV,4,2 ; @ENODEV .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "No platform data\n" l_.str.1: ; @.str.1 .asciz "No platform data for LED\n" .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _da9052_led_set,4,2 ; @da9052_led_set .comm _LED_OFF,4,2 ; @LED_OFF .comm _DA9052_MAX_BRIGHTNESS,4,2 ; @DA9052_MAX_BRIGHTNESS l_.str.2: ; @.str.2 .asciz "Failed to register led %d\n" l_.str.3: ; @.str.3 .asciz "Unable to init led %d\n" l_.str.4: ; @.str.4 .asciz "Failed to configure GPIO LED%d\n" .no_dead_strip _da9052_led_probe .subsections_via_symbols
assembly_file_128905.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movl %edi, %r14d leaq L_str(%rip), %rdi callq _puts leaq L_str.12(%rip), %rdi callq _puts leal -4(%r14), %eax cmpl $-3, %eax ja LBB0_2 ## %bb.1: movq (%rbx), %rsi leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str.17(%rip), %rdi jmp LBB0_7 LBB0_2: movq 8(%rbx), %rdi leaq L_.str.4(%rip), %rsi callq _fopen testq %rax, %rax je LBB0_31 ## %bb.3: movq %rax, %r12 cmpl $2, %r14d jne LBB0_8 ## %bb.4: movq _stdout@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) ## 8-byte Spill jmp LBB0_5 LBB0_31: movq 8(%rbx), %rsi leaq L_.str.5(%rip), %rdi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _printf ## TAILCALL LBB0_8: movq 16(%rbx), %rdi leaq L_.str.6(%rip), %rsi callq _fopen movq %rax, -48(%rbp) ## 8-byte Spill testq %rax, %rax je LBB0_9 LBB0_5: movq %r12, %rdi callq _getc movq %r12, %rdi callq _getc movl %eax, %r15d movq %r12, %rdi callq _getc movl %eax, %r13d movq _EOF@GOTPCREL(%rip), %rax cmpb (%rax), %r13b jne LBB0_10 ## %bb.6: leaq L_str.16(%rip), %rdi LBB0_7: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _puts ## TAILCALL LBB0_10: movq %r12, %rdi callq _getc movl %eax, %ebx movq %r12, %rdi callq _feof testl %eax, %eax je LBB0_11 LBB0_28: cmpl $2, %r14d jne LBB0_30 ## %bb.29: leaq L_str.14(%rip), %rdi callq _puts LBB0_30: leaq L_str.13(%rip), %rdi jmp LBB0_21 LBB0_9: movq 16(%rbx), %rsi leaq L_.str.7(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB0_22 LBB0_11: movzbl %r15b, %eax addl %eax, %eax leal (%rax,%rax,4), %eax addb %al, %r13b addb $-54, %r13b movzbl %r13b, %eax movl $99, %r15d subq %rax, %r15 leaq L___const.main.charset(%rip), %r13 jmp LBB0_12 LBB0_13: ## in Loop: Header=BB0_12 Depth=1 xorl %ecx, %ecx LBB0_27: ## in Loop: Header=BB0_12 Depth=1 addq %r15, %rcx movzbl (%r13,%rcx), %edi movq -48(%rbp), %rsi ## 8-byte Reload callq _putc movq %r12, %rdi callq _getc movl %eax, %ebx movq %r12, %rdi callq _feof testl %eax, %eax jne LBB0_28 LBB0_12: ## =>This Loop Header: Depth=1 ## Child Loop BB0_19 Depth 2 cmpb $8, %bl je LBB0_13 ## %bb.14: ## in Loop: Header=BB0_12 Depth=1 xorl %eax, %eax .p2align 4, 0x90 LBB0_19: ## Parent Loop BB0_12 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq $100, %rax je LBB0_20 ## %bb.15: ## in Loop: Header=BB0_19 Depth=2 cmpb 1(%rax,%r13), %bl je LBB0_24 ## %bb.16: ## in Loop: Header=BB0_19 Depth=2 cmpb 2(%rax,%r13), %bl je LBB0_25 ## %bb.17: ## in Loop: Header=BB0_19 Depth=2 cmpb 3(%rax,%r13), %bl je LBB0_23 ## %bb.18: ## in Loop: Header=BB0_19 Depth=2 leaq 4(%rax), %rcx cmpb 4(%rax,%r13), %bl movq %rcx, %rax jne LBB0_19 jmp LBB0_27 LBB0_24: ## in Loop: Header=BB0_12 Depth=1 incq %rax jmp LBB0_26 LBB0_25: ## in Loop: Header=BB0_12 Depth=1 addq $2, %rax jmp LBB0_26 LBB0_23: ## in Loop: Header=BB0_12 Depth=1 addq $3, %rax LBB0_26: ## in Loop: Header=BB0_12 Depth=1 movq %rax, %rcx jmp LBB0_27 LBB0_20: leaq L_str.15(%rip), %rdi LBB0_21: callq _puts LBB0_22: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp __fcloseall ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals .p2align 4 ## @__const.main.charset L___const.main.charset: .asciz "\b\t\n\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSPUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\b\t\n\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSPUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" L_.str.2: ## @.str.2 .asciz "Usage: %s <infile> [<outfile>]\n\n" L_.str.4: ## @.str.4 .asciz "r" L_.str.5: ## @.str.5 .asciz "Could not open file %s\n" .comm _stdout,8,3 ## @stdout L_.str.6: ## @.str.6 .asciz "w" L_.str.7: ## @.str.7 .asciz "Could not write to file %s\n" .comm _EOF,1,0 ## @EOF L_str: ## @str .asciz "\nDecoder for PassWD v1.2 `pass.dat' password files" L_str.12: ## @str.12 .asciz "Written 2000 by Daniel Roethlisberger <admin@roe.ch>\n" L_str.13: ## @str.13 .asciz "Done." L_str.14: ## @str.14 .asciz "\n" L_str.15: ## @str.15 .asciz "\nERROR - encountered illegal character in source file" L_str.16: ## @str.16 .asciz "ERROR - encountered EOF within header" L_str.17: ## @str.17 .asciz "If <outfile> is omitted, the output is dumped to stdout." .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 x22, x1 mov x19, x0 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x0, l_str.12@PAGE Lloh3: add x0, x0, l_str.12@PAGEOFF bl _puts sub w8, w19, #4 cmn w8, #3 b.hi LBB0_2 ; %bb.1: ldr x8, [x22] str x8, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf Lloh6: adrp x0, l_str.17@PAGE Lloh7: add x0, x0, l_str.17@PAGEOFF b LBB0_9 LBB0_2: ldr x0, [x22, #8] Lloh8: adrp x1, l_.str.4@PAGE Lloh9: add x1, x1, l_.str.4@PAGEOFF bl _fopen cbz x0, LBB0_5 ; %bb.3: mov x20, x0 cmp w19, #2 b.ne LBB0_6 ; %bb.4: Lloh10: adrp x8, _stdout@GOTPAGE Lloh11: ldr x8, [x8, _stdout@GOTPAGEOFF] Lloh12: ldr x21, [x8] b LBB0_7 LBB0_5: ldr x8, [x22, #8] str x8, [sp] Lloh13: adrp x0, l_.str.5@PAGE Lloh14: add x0, x0, l_.str.5@PAGEOFF bl _printf 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 LBB0_6: ldr x0, [x22, #16] Lloh15: adrp x1, l_.str.6@PAGE Lloh16: add x1, x1, l_.str.6@PAGEOFF bl _fopen mov x21, x0 cbz x0, LBB0_14 LBB0_7: mov x0, x20 bl _getc mov x0, x20 bl _getc mov x23, x0 mov x0, x20 bl _getc Lloh17: adrp x8, _EOF@GOTPAGE Lloh18: ldr x8, [x8, _EOF@GOTPAGEOFF] ldrb w8, [x8] cmp w0, w8 b.ne LBB0_10 ; %bb.8: Lloh19: adrp x0, l_str.16@PAGE Lloh20: add x0, x0, l_str.16@PAGEOFF LBB0_9: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 b _puts LBB0_10: mov x24, x0 mov x0, x20 bl _getc mov x22, x0 mov x0, x20 bl _feof cbz w0, LBB0_15 LBB0_11: cmp w19, #2 b.ne LBB0_13 ; %bb.12: Lloh21: adrp x0, l_str.14@PAGE Lloh22: add x0, x0, l_str.14@PAGEOFF bl _puts LBB0_13: Lloh23: adrp x0, l_str.13@PAGE Lloh24: add x0, x0, l_str.13@PAGEOFF b LBB0_23 LBB0_14: ldr x8, [x22, #16] str x8, [sp] Lloh25: adrp x0, l_.str.7@PAGE Lloh26: add x0, x0, l_.str.7@PAGEOFF bl _printf b LBB0_24 LBB0_15: mov w8, #10 madd w8, w23, w8, w24 sub w8, w8, #54 mov w9, #99 sub x23, x9, w8, uxtb Lloh27: adrp x24, l___const.main.charset@PAGE Lloh28: add x24, x24, l___const.main.charset@PAGEOFF LBB0_16: ; =>This Loop Header: Depth=1 ; Child Loop BB0_19 Depth 2 cmp w22, #8 b.ne LBB0_18 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 mov x8, #0 b LBB0_21 LBB0_18: ; in Loop: Header=BB0_16 Depth=1 mov x9, #0 LBB0_19: ; Parent Loop BB0_16 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x9, #100 b.eq LBB0_22 ; %bb.20: ; in Loop: Header=BB0_19 Depth=2 add x8, x9, #1 add x9, x24, x9 ldrb w10, [x9, #1] mov x9, x8 cmp w22, w10 b.ne LBB0_19 LBB0_21: ; in Loop: Header=BB0_16 Depth=1 add x8, x23, w8, uxtb ldrb w0, [x24, x8] mov x1, x21 bl _putc mov x0, x20 bl _getc mov x22, x0 mov x0, x20 bl _feof cbz w0, LBB0_16 b LBB0_11 LBB0_22: Lloh29: adrp x0, l_str.15@PAGE Lloh30: add x0, x0, l_str.15@PAGEOFF LBB0_23: bl _puts LBB0_24: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 b __fcloseall .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh29, Lloh30 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l___const.main.charset: ; @__const.main.charset .asciz "\b\t\n\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSPUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\b\t\n\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSPUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" l_.str.2: ; @.str.2 .asciz "Usage: %s <infile> [<outfile>]\n\n" l_.str.4: ; @.str.4 .asciz "r" l_.str.5: ; @.str.5 .asciz "Could not open file %s\n" .comm _stdout,8,3 ; @stdout l_.str.6: ; @.str.6 .asciz "w" l_.str.7: ; @.str.7 .asciz "Could not write to file %s\n" .comm _EOF,1,0 ; @EOF l_str: ; @str .asciz "\nDecoder for PassWD v1.2 `pass.dat' password files" l_str.12: ; @str.12 .asciz "Written 2000 by Daniel Roethlisberger <admin@roe.ch>\n" l_str.13: ; @str.13 .asciz "Done." l_str.14: ; @str.14 .asciz "\n" l_str.15: ; @str.15 .asciz "\nERROR - encountered illegal character in source file" l_str.16: ; @str.16 .asciz "ERROR - encountered EOF within header" l_str.17: ; @str.17 .asciz "If <outfile> is omitted, the output is dumped to stdout." .subsections_via_symbols
AnghaBench/exploitdb/exploits/windows/local/extr_19989.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _overlay_tree_on_index ## -- Begin function overlay_tree_on_index .p2align 4, 0x90 _overlay_tree_on_index: ## @overlay_tree_on_index .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -64(%rbp) ## 8-byte Spill movq %rsi, %r14 movq %rdi, %rbx leaq -48(%rbp), %rsi movq %r14, %rdi callq _get_oid testq %rax, %rax je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi movq %r14, %rsi callq _die LBB0_2: leaq -48(%rbp), %rdi callq _parse_tree_indirect movq %rax, %r12 testq %rax, %rax jne LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rdi movq %r14, %rsi callq _die LBB0_4: movq %r14, -56(%rbp) ## 8-byte Spill cmpl $0, (%rbx) jle LBB0_9 ## %bb.5: xorl %r15d, %r15d movq _CE_STAGEMASK@GOTPCREL(%rip), %r14 jmp LBB0_6 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_6 Depth=1 incq %r15 movslq (%rbx), %rax cmpq %rax, %r15 jge LBB0_9 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rax movq (%rax,%r15,8), %r13 movq %r13, %rdi callq _ce_stage testl %eax, %eax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movl (%r14), %eax orl %eax, (%r13) jmp LBB0_8 LBB0_9: movq -64(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx je LBB0_11 ## %bb.10: movq $0, _overlay_tree_on_index.matchbuf(%rip) leaq _overlay_tree_on_index.matchbuf(%rip), %r8 movq _PATHSPEC_ALL_MAGIC@GOTPCREL(%rip), %rax movl (%rax), %esi movq _PATHSPEC_PREFER_CWD@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -44(%rbp), %rdi callq _parse_pathspec jmp LBB0_12 LBB0_11: leaq -44(%rbp), %rdi xorl %esi, %esi movl $4, %edx callq _memset LBB0_12: movq -56(%rbp), %r14 ## 8-byte Reload movq _the_repository@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -44(%rbp), %rcx movq %r12, %rsi movl $1, %edx movq %rbx, %r8 callq _read_tree testq %rax, %rax je LBB0_14 ## %bb.13: leaq L_.str.2(%rip), %rdi movq %r14, %rsi callq _die LBB0_14: cmpl $0, (%rbx) jle LBB0_24 ## %bb.15: xorl %r15d, %r15d movq _CE_UPDATE@GOTPCREL(%rip), %r12 xorl %r13d, %r13d jmp LBB0_16 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_16 Depth=1 testq %r13, %r13 je LBB0_20 LBB0_22: ## in Loop: Header=BB0_16 Depth=1 movl (%r12), %eax orl %eax, (%r14) LBB0_23: ## in Loop: Header=BB0_16 Depth=1 incq %r15 movslq (%rbx), %rax cmpq %rax, %r15 jge LBB0_24 LBB0_16: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rax movq (%rax,%r15,8), %r14 movq %r14, %rdi callq _ce_stage cmpl $1, %eax je LBB0_19 ## %bb.17: ## in Loop: Header=BB0_16 Depth=1 testl %eax, %eax jne LBB0_23 ## %bb.18: ## in Loop: Header=BB0_16 Depth=1 movq %r14, %r13 jmp LBB0_23 LBB0_20: ## in Loop: Header=BB0_16 Depth=1 movl 4, %edi movl 4(%r14), %esi callq _strcmp testl %eax, %eax je LBB0_22 ## %bb.21: ## in Loop: Header=BB0_16 Depth=1 xorl %r13d, %r13d jmp LBB0_23 LBB0_24: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "tree-ish %s not found." L_.str.1: ## @.str.1 .asciz "bad tree-ish %s" .comm _CE_STAGEMASK,4,2 ## @CE_STAGEMASK .zerofill __DATA,__bss,_overlay_tree_on_index.matchbuf,8,3 ## @overlay_tree_on_index.matchbuf .comm _PATHSPEC_ALL_MAGIC,4,2 ## @PATHSPEC_ALL_MAGIC .comm _PATHSPEC_PREFER_CWD,4,2 ## @PATHSPEC_PREFER_CWD .comm _the_repository,4,2 ## @the_repository L_.str.2: ## @.str.2 .asciz "unable to read tree entries %s" .comm _CE_UPDATE,4,2 ## @CE_UPDATE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _overlay_tree_on_index ; -- Begin function overlay_tree_on_index .p2align 2 _overlay_tree_on_index: ; @overlay_tree_on_index .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x2 mov x20, x1 mov x19, x0 add x1, sp, #12 mov x0, x20 bl _get_oid cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x20 bl _die LBB0_2: add x0, sp, #12 bl _parse_tree_indirect mov x22, x0 cbnz x0, LBB0_4 ; %bb.3: Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF mov x1, x20 bl _die LBB0_4: ldr w8, [x19] cmp w8, #1 b.lt LBB0_9 ; %bb.5: mov x24, #0 ; =0x0 Lloh4: adrp x25, _CE_STAGEMASK@GOTPAGE Lloh5: ldr x25, [x25, _CE_STAGEMASK@GOTPAGEOFF] b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add x24, x24, #1 ldrsw x8, [x19] cmp x24, x8 b.ge LBB0_9 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] ldr x23, [x8, x24, lsl #3] mov x0, x23 bl _ce_stage cbz w0, LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 ldr w8, [x25] ldr w9, [x23] orr w8, w9, w8 str w8, [x23] b LBB0_6 LBB0_9: cbz x21, LBB0_11 ; %bb.10: Lloh6: adrp x4, _overlay_tree_on_index.matchbuf@PAGE Lloh7: add x4, x4, _overlay_tree_on_index.matchbuf@PAGEOFF str xzr, [x4] Lloh8: adrp x8, _PATHSPEC_ALL_MAGIC@GOTPAGE Lloh9: ldr x8, [x8, _PATHSPEC_ALL_MAGIC@GOTPAGEOFF] Lloh10: ldr w1, [x8] Lloh11: adrp x8, _PATHSPEC_PREFER_CWD@GOTPAGE Lloh12: ldr x8, [x8, _PATHSPEC_PREFER_CWD@GOTPAGEOFF] Lloh13: ldr w2, [x8] add x0, sp, #8 mov x3, x21 bl _parse_pathspec b LBB0_12 LBB0_11: add x0, sp, #8 mov w1, #0 ; =0x0 mov w2, #4 ; =0x4 bl _memset LBB0_12: Lloh14: adrp x8, _the_repository@GOTPAGE Lloh15: ldr x8, [x8, _the_repository@GOTPAGEOFF] Lloh16: ldr w0, [x8] add x3, sp, #8 mov x1, x22 mov w2, #1 ; =0x1 mov x4, x19 bl _read_tree cbz x0, LBB0_14 ; %bb.13: Lloh17: adrp x0, l_.str.2@PAGE Lloh18: add x0, x0, l_.str.2@PAGEOFF mov x1, x20 bl _die LBB0_14: ldr w8, [x19] cmp w8, #1 b.lt LBB0_23 ; %bb.15: mov x21, #0 ; =0x0 mov x23, #0 ; =0x0 mov w22, #4 ; =0x4 Lloh19: adrp x24, _CE_UPDATE@GOTPAGE Lloh20: ldr x24, [x24, _CE_UPDATE@GOTPAGEOFF] b LBB0_18 LBB0_16: ; in Loop: Header=BB0_18 Depth=1 cmp w0, #0 csel x23, x23, x20, ne LBB0_17: ; in Loop: Header=BB0_18 Depth=1 add x21, x21, #1 ldrsw x8, [x19] cmp x21, x8 b.ge LBB0_23 LBB0_18: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] ldr x20, [x8, x21, lsl #3] mov x0, x20 bl _ce_stage cmp w0, #1 b.ne LBB0_16 ; %bb.19: ; in Loop: Header=BB0_18 Depth=1 cbz x23, LBB0_21 LBB0_20: ; in Loop: Header=BB0_18 Depth=1 ldr w8, [x24] ldr w9, [x20] orr w8, w9, w8 str w8, [x20] b LBB0_17 LBB0_21: ; in Loop: Header=BB0_18 Depth=1 ldr w0, [x22] ldr w1, [x20, #4] bl _strcmp cbz w0, LBB0_20 ; %bb.22: ; in Loop: Header=BB0_18 Depth=1 mov x23, #0 ; =0x0 b LBB0_17 LBB0_23: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGot Lloh19, Lloh20 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "tree-ish %s not found." l_.str.1: ; @.str.1 .asciz "bad tree-ish %s" .comm _CE_STAGEMASK,4,2 ; @CE_STAGEMASK .zerofill __DATA,__bss,_overlay_tree_on_index.matchbuf,8,3 ; @overlay_tree_on_index.matchbuf .comm _PATHSPEC_ALL_MAGIC,4,2 ; @PATHSPEC_ALL_MAGIC .comm _PATHSPEC_PREFER_CWD,4,2 ; @PATHSPEC_PREFER_CWD .comm _the_repository,4,2 ; @the_repository l_.str.2: ; @.str.2 .asciz "unable to read tree entries %s" .comm _CE_UPDATE,4,2 ; @CE_UPDATE .subsections_via_symbols
assembly_file_88789.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function add_bound_rdev _add_bound_rdev: ## @add_bound_rdev .cfi_startproc ## %bb.0: 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 8(%rdi), %rbx movq _Journal@GOTPCREL(%rip), %rax movl (%rax), %edi leaq 4(%r14), %rsi callq _test_bit movl %eax, %r15d movq 32(%rbx), %rax cmpl $0, 8(%rax) je LBB0_2 ## %bb.1: testl %r15d, %r15d je LBB0_7 LBB0_2: movq _super_types@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rbx), %rcx movq %rbx, %rdi movq %r14, %rsi callq *(%rax,%rcx,8) testl %r15d, %r15d je LBB0_3 ## %bb.4: movq %rbx, %rdi callq _mddev_suspend movq 32(%rbx), %rax movq %rbx, %rdi movq %r14, %rsi callq *(%rax) movl %eax, %r15d movq %rbx, %rdi callq _mddev_resume testl %r15d, %r15d je LBB0_7 LBB0_6: movq %r14, %rdi callq _md_kick_rdev_from_array jmp LBB0_10 LBB0_3: movq 32(%rbx), %rax movq %rbx, %rdi movq %r14, %rsi callq *(%rax) movl %eax, %r15d testl %r15d, %r15d jne LBB0_6 LBB0_7: movl (%r14), %edi callq _sysfs_notify_dirent_safe movq _MD_SB_CHANGE_DEVS@GOTPCREL(%rip), %rax movl (%rax), %edi leaq 24(%rbx), %rsi callq _set_bit cmpq $0, 16(%rbx) je LBB0_9 ## %bb.8: movq _MD_RECOVERY_RECOVER@GOTPCREL(%rip), %rax movl (%rax), %edi leaq 12(%rbx), %rsi callq _set_bit LBB0_9: movq _MD_RECOVERY_NEEDED@GOTPCREL(%rip), %rax movl (%rax), %edi leaq 12(%rbx), %rsi callq _set_bit movq %rbx, %rdi callq _md_new_event movl 8(%rbx), %edi callq _md_wakeup_thread xorl %r15d, %r15d LBB0_10: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _Journal,4,2 ## @Journal .comm _super_types,8,3 ## @super_types .comm _MD_SB_CHANGE_DEVS,4,2 ## @MD_SB_CHANGE_DEVS .comm _MD_RECOVERY_RECOVER,4,2 ## @MD_RECOVERY_RECOVER .comm _MD_RECOVERY_NEEDED,4,2 ## @MD_RECOVERY_NEEDED .no_dead_strip _add_bound_rdev .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function add_bound_rdev _add_bound_rdev: ; @add_bound_rdev .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 ldr x19, [x0, #8] Lloh0: adrp x8, _Journal@GOTPAGE Lloh1: ldr x8, [x8, _Journal@GOTPAGEOFF] Lloh2: ldr w0, [x8] add x1, x20, #4 bl _test_bit ldr x8, [x19, #32] ldr w8, [x8, #8] cmp w8, #0 ccmp w0, #0, #0, ne b.eq LBB0_5 ; %bb.1: mov x21, x0 Lloh3: adrp x8, _super_types@GOTPAGE Lloh4: ldr x8, [x8, _super_types@GOTPAGEOFF] Lloh5: ldr x8, [x8] ldr x9, [x19] ldr x8, [x8, x9, lsl #3] mov x0, x19 mov x1, x20 blr x8 cbz w21, LBB0_4 ; %bb.2: mov x0, x19 bl _mddev_suspend ldr x8, [x19, #32] ldr x8, [x8] mov x0, x19 mov x1, x20 blr x8 mov x21, x0 mov x0, x19 bl _mddev_resume cbz w21, LBB0_5 LBB0_3: mov x0, x20 bl _md_kick_rdev_from_array b LBB0_8 LBB0_4: ldr x8, [x19, #32] ldr x8, [x8] mov x0, x19 mov x1, x20 blr x8 mov x21, x0 cbnz w21, LBB0_3 LBB0_5: ldr w0, [x20] bl _sysfs_notify_dirent_safe Lloh6: adrp x8, _MD_SB_CHANGE_DEVS@GOTPAGE Lloh7: ldr x8, [x8, _MD_SB_CHANGE_DEVS@GOTPAGEOFF] Lloh8: ldr w0, [x8] add x1, x19, #24 bl _set_bit ldr x8, [x19, #16] cbz x8, LBB0_7 ; %bb.6: Lloh9: adrp x8, _MD_RECOVERY_RECOVER@GOTPAGE Lloh10: ldr x8, [x8, _MD_RECOVERY_RECOVER@GOTPAGEOFF] Lloh11: ldr w0, [x8] add x1, x19, #12 bl _set_bit LBB0_7: Lloh12: adrp x8, _MD_RECOVERY_NEEDED@GOTPAGE Lloh13: ldr x8, [x8, _MD_RECOVERY_NEEDED@GOTPAGEOFF] Lloh14: ldr w0, [x8] add x1, x19, #12 bl _set_bit mov x0, x19 bl _md_new_event ldr w0, [x19, #8] bl _md_wakeup_thread mov w21, #0 LBB0_8: 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 Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _Journal,4,2 ; @Journal .comm _super_types,8,3 ; @super_types .comm _MD_SB_CHANGE_DEVS,4,2 ; @MD_SB_CHANGE_DEVS .comm _MD_RECOVERY_RECOVER,4,2 ; @MD_RECOVERY_RECOVER .comm _MD_RECOVERY_NEEDED,4,2 ; @MD_RECOVERY_NEEDED .no_dead_strip _add_bound_rdev .subsections_via_symbols
AnghaBench/linux/drivers/md/extr_md.c_add_bound_rdev.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _svn_subst_build_keywords2 ## -- Begin function svn_subst_build_keywords2 .p2align 4, 0x90 _svn_subst_build_keywords2: ## @svn_subst_build_keywords2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %r9, %rax movl %r8d, %r10d movq %rcx, %r8 movq %rdx, %rcx movq %rsi, %rdx movq _FALSE@GOTPCREL(%rip), %rsi movl (%rsi), %esi subq $8, %rsp xorl %r9d, %r9d pushq 16(%rbp) pushq %rax pushq %r10 callq _build_keywords addq $32, %rsp movl %eax, %edi popq %rbp jmp _svn_error_trace ## TAILCALL .cfi_endproc ## -- End function .comm _FALSE,4,2 ## @FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _svn_subst_build_keywords2 ; -- Begin function svn_subst_build_keywords2 .p2align 2 _svn_subst_build_keywords2: ; @svn_subst_build_keywords2 .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x7, x5 mov x8, x4 mov x4, x3 mov x3, x2 mov x2, x1 Lloh0: adrp x9, _FALSE@GOTPAGE Lloh1: ldr x9, [x9, _FALSE@GOTPAGEOFF] Lloh2: ldr w1, [x9] str x6, [sp] mov x5, #0 mov x6, x8 bl _build_keywords ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 b _svn_error_trace .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FALSE,4,2 ; @FALSE .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_subst.c_svn_subst_build_keywords2.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vlc_es_id_Release ## -- Begin function vlc_es_id_Release .p2align 4, 0x90 _vlc_es_id_Release: ## @vlc_es_id_Release .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _vlc_es_id_get_out movl %eax, %edi popq %rbp jmp _EsRelease ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vlc_es_id_Release ; -- Begin function vlc_es_id_Release .p2align 2 _vlc_es_id_Release: ; @vlc_es_id_Release .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 _vlc_es_id_get_out ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _EsRelease .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/vlc/src/input/extr_es_out.c_vlc_es_id_Release.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ub_winsock_unregister_wsaevent ## -- Begin function ub_winsock_unregister_wsaevent .p2align 4, 0x90 _ub_winsock_unregister_wsaevent: ## @ub_winsock_unregister_wsaevent .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 _ub_winsock_unregister_wsaevent ; -- Begin function ub_winsock_unregister_wsaevent .p2align 2 _ub_winsock_unregister_wsaevent: ; @ub_winsock_unregister_wsaevent .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/unbound/util/extr_ub_event.c_ub_winsock_unregister_wsaevent.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function iwl_trans_write_prph _iwl_trans_write_prph: ## @iwl_trans_write_prph .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq (%rax), %rax popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _iwl_trans_write_prph .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function iwl_trans_write_prph _iwl_trans_write_prph: ; @iwl_trans_write_prph .cfi_startproc ; %bb.0: ldr x8, [x0] ldr x3, [x8] br x3 .cfi_endproc ; -- End function .no_dead_strip _iwl_trans_write_prph .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/extr_iwl-trans.h_iwl_trans_write_prph.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mcr20a_ed _mcr20a_ed: ## @mcr20a_ed .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx xorl %edi, %edi testq %rsi, %rsi sete %dil callq _WARN_ON movl $190, (%rbx) xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mcr20a_ed .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mcr20a_ed _mcr20a_ed: ; @mcr20a_ed .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 cmp x1, #0 cset w0, eq bl _WARN_ON mov w8, #190 str w8, [x19] mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _mcr20a_ed .subsections_via_symbols
AnghaBench/linux/drivers/net/ieee802154/extr_mcr20a.c_mcr20a_ed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cma_query_ib_route _cma_query_ib_route: ## @cma_query_ib_route .cfi_startproc ## %bb.0: 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 %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 leaq 12(%rdi), %r13 leaq 20(%rdi), %rbx leaq -96(%rbp), %rdi xorl %esi, %esi movl $56, %edx callq _memset movl 12(%r12), %esi movl 16(%r12), %edi callq _rdma_cap_opa_ah testq %rax, %rax jne LBB0_1 ## %bb.2: movq _SA_PATH_REC_TYPE_IB@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _SA_PATH_REC_TYPE_OPA@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax movl %eax, -48(%rbp) leaq -52(%rbp), %rsi movq %rbx, %rdi callq _rdma_addr_get_sgid leaq -56(%rbp), %rsi movq %rbx, %rdi callq _rdma_addr_get_dgid movq %rbx, %rdi callq _ib_addr_get_pkey movl %eax, %edi callq _cpu_to_be16 movq %rax, -64(%rbp) movabsq $4294967297, %rax ## imm = 0x100000001 movq %rax, -96(%rbp) movq %r12, %rdi callq _cma_dst_addr movq %r13, %rdi movl %eax, %esi callq _rdma_get_service_id movq _IB_SA_PATH_REC_DGID@GOTPCREL(%rip), %rcx movq _IB_SA_PATH_REC_SGID@GOTPCREL(%rip), %rdx movl (%rdx), %ebx orl (%rcx), %ebx movq _IB_SA_PATH_REC_PKEY@GOTPCREL(%rip), %rcx orl (%rcx), %ebx movq _IB_SA_PATH_REC_NUMB_PATH@GOTPCREL(%rip), %rcx orl (%rcx), %ebx movq _IB_SA_PATH_REC_REVERSIBLE@GOTPCREL(%rip), %rcx orl (%rcx), %ebx movl %eax, -72(%rbp) movq _IB_SA_PATH_REC_SERVICE_ID@GOTPCREL(%rip), %rax orl (%rax), %ebx movq %r12, %rdi callq _cma_family cmpl $128, %eax je LBB0_7 ## %bb.4: cmpl $130, %eax je LBB0_7 ## %bb.5: cmpl $129, %eax jne LBB0_9 ## %bb.6: movl 24(%r12), %edi callq _cpu_to_be16 movq %rax, -80(%rbp) movq _IB_SA_PATH_REC_QOS_CLASS@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_7: movq %r12, %rdi callq _cma_src_addr movl (%rax), %edi callq _be32_to_cpu sarl $20, %eax cltq movq %rax, -88(%rbp) movq _IB_SA_PATH_REC_TRAFFIC_CLASS@GOTPCREL(%rip), %rax LBB0_8: orl (%rax), %ebx LBB0_9: movl 12(%r12), %edx movl 16(%r12), %esi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %r10d movq _cma_query_handler@GOTPCREL(%rip), %rcx movl (%rcx), %r11d leaq 8(%r12), %rax movq _sa_client@GOTPCREL(%rip), %rdi leaq -96(%rbp), %rcx movl %ebx, %r8d movq %r15, %r9 pushq %rax pushq %r14 pushq %r11 pushq %r10 callq _ib_sa_path_rec_get addq $32, %rsp movq %rax, (%r12) movq %rax, %rcx sarq $63, %rcx andl %eax, %ecx movl %ecx, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SA_PATH_REC_TYPE_OPA,4,2 ## @SA_PATH_REC_TYPE_OPA .comm _SA_PATH_REC_TYPE_IB,4,2 ## @SA_PATH_REC_TYPE_IB .comm _IB_SA_PATH_REC_DGID,4,2 ## @IB_SA_PATH_REC_DGID .comm _IB_SA_PATH_REC_SGID,4,2 ## @IB_SA_PATH_REC_SGID .comm _IB_SA_PATH_REC_PKEY,4,2 ## @IB_SA_PATH_REC_PKEY .comm _IB_SA_PATH_REC_NUMB_PATH,4,2 ## @IB_SA_PATH_REC_NUMB_PATH .comm _IB_SA_PATH_REC_REVERSIBLE,4,2 ## @IB_SA_PATH_REC_REVERSIBLE .comm _IB_SA_PATH_REC_SERVICE_ID,4,2 ## @IB_SA_PATH_REC_SERVICE_ID .comm _IB_SA_PATH_REC_QOS_CLASS,4,2 ## @IB_SA_PATH_REC_QOS_CLASS .comm _IB_SA_PATH_REC_TRAFFIC_CLASS,4,2 ## @IB_SA_PATH_REC_TRAFFIC_CLASS .comm _sa_client,4,2 ## @sa_client .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _cma_query_handler,4,2 ## @cma_query_handler .no_dead_strip _cma_query_ib_route .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cma_query_ib_route _cma_query_ib_route: ; @cma_query_ib_route .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x2 mov x20, x1 mov x19, x0 add x22, x0, #20 add x24, sp, #24 add x0, sp, #24 mov w1, #0 mov w2, #56 bl _memset ldr w0, [x19, #16] mov x23, x19 ldr w1, [x23, #12]! bl _rdma_cap_opa_ah Lloh0: adrp x8, _SA_PATH_REC_TYPE_IB@GOTPAGE Lloh1: ldr x8, [x8, _SA_PATH_REC_TYPE_IB@GOTPAGEOFF] Lloh2: adrp x9, _SA_PATH_REC_TYPE_OPA@GOTPAGE Lloh3: ldr x9, [x9, _SA_PATH_REC_TYPE_OPA@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w8, [x8] str w8, [sp, #72] add x1, x24, #44 mov x0, x22 bl _rdma_addr_get_sgid add x1, x24, #40 mov x0, x22 bl _rdma_addr_get_dgid mov x0, x22 bl _ib_addr_get_pkey bl _cpu_to_be16 str x0, [sp, #56] movi.2s v0, #1 str d0, [sp, #24] mov x0, x19 bl _cma_dst_addr mov x1, x0 mov x0, x23 bl _rdma_get_service_id str w0, [sp, #48] Lloh4: adrp x8, _IB_SA_PATH_REC_DGID@GOTPAGE Lloh5: ldr x8, [x8, _IB_SA_PATH_REC_DGID@GOTPAGEOFF] Lloh6: ldr w8, [x8] Lloh7: adrp x9, _IB_SA_PATH_REC_SGID@GOTPAGE Lloh8: ldr x9, [x9, _IB_SA_PATH_REC_SGID@GOTPAGEOFF] Lloh9: ldr w9, [x9] orr w8, w9, w8 Lloh10: adrp x9, _IB_SA_PATH_REC_PKEY@GOTPAGE Lloh11: ldr x9, [x9, _IB_SA_PATH_REC_PKEY@GOTPAGEOFF] Lloh12: ldr w9, [x9] orr w8, w8, w9 Lloh13: adrp x9, _IB_SA_PATH_REC_NUMB_PATH@GOTPAGE Lloh14: ldr x9, [x9, _IB_SA_PATH_REC_NUMB_PATH@GOTPAGEOFF] Lloh15: ldr w9, [x9] orr w8, w8, w9 Lloh16: adrp x9, _IB_SA_PATH_REC_REVERSIBLE@GOTPAGE Lloh17: ldr x9, [x9, _IB_SA_PATH_REC_REVERSIBLE@GOTPAGEOFF] Lloh18: ldr w9, [x9] orr w8, w8, w9 Lloh19: adrp x9, _IB_SA_PATH_REC_SERVICE_ID@GOTPAGE Lloh20: ldr x9, [x9, _IB_SA_PATH_REC_SERVICE_ID@GOTPAGEOFF] Lloh21: ldr w9, [x9] orr w22, w8, w9 mov x0, x19 bl _cma_family cmp w0, #128 b.eq LBB0_4 ; %bb.1: cmp w0, #130 b.eq LBB0_4 ; %bb.2: cmp w0, #129 b.ne LBB0_6 ; %bb.3: ldr w0, [x19, #24] bl _cpu_to_be16 str x0, [sp, #40] Lloh22: adrp x8, _IB_SA_PATH_REC_QOS_CLASS@GOTPAGE Lloh23: ldr x8, [x8, _IB_SA_PATH_REC_QOS_CLASS@GOTPAGEOFF] b LBB0_5 LBB0_4: mov x0, x19 bl _cma_src_addr ldr w0, [x0] bl _be32_to_cpu ; kill: def $w0 killed $w0 def $x0 sbfx x8, x0, #20, #12 str x8, [sp, #32] Lloh24: adrp x8, _IB_SA_PATH_REC_TRAFFIC_CLASS@GOTPAGE Lloh25: ldr x8, [x8, _IB_SA_PATH_REC_TRAFFIC_CLASS@GOTPAGEOFF] LBB0_5: ldr w8, [x8] orr w22, w8, w22 LBB0_6: Lloh26: adrp x8, _GFP_KERNEL@GOTPAGE Lloh27: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] ldp w2, w1, [x19, #12] Lloh28: ldr w6, [x8] Lloh29: adrp x8, _cma_query_handler@GOTPAGE Lloh30: ldr x8, [x8, _cma_query_handler@GOTPAGEOFF] Lloh31: ldr w7, [x8] add x8, x19, #8 stp x21, x8, [sp] Lloh32: adrp x0, _sa_client@GOTPAGE Lloh33: ldr x0, [x0, _sa_client@GOTPAGEOFF] add x3, sp, #24 mov x4, x22 mov x5, x20 bl _ib_sa_path_rec_get str x0, [x19] cmp x0, #0 csel x0, x0, xzr, lt ; kill: def $w0 killed $w0 killed $x0 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload add sp, sp, #144 ret .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGot Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .cfi_endproc ; -- End function .comm _SA_PATH_REC_TYPE_OPA,4,2 ; @SA_PATH_REC_TYPE_OPA .comm _SA_PATH_REC_TYPE_IB,4,2 ; @SA_PATH_REC_TYPE_IB .comm _IB_SA_PATH_REC_DGID,4,2 ; @IB_SA_PATH_REC_DGID .comm _IB_SA_PATH_REC_SGID,4,2 ; @IB_SA_PATH_REC_SGID .comm _IB_SA_PATH_REC_PKEY,4,2 ; @IB_SA_PATH_REC_PKEY .comm _IB_SA_PATH_REC_NUMB_PATH,4,2 ; @IB_SA_PATH_REC_NUMB_PATH .comm _IB_SA_PATH_REC_REVERSIBLE,4,2 ; @IB_SA_PATH_REC_REVERSIBLE .comm _IB_SA_PATH_REC_SERVICE_ID,4,2 ; @IB_SA_PATH_REC_SERVICE_ID .comm _IB_SA_PATH_REC_QOS_CLASS,4,2 ; @IB_SA_PATH_REC_QOS_CLASS .comm _IB_SA_PATH_REC_TRAFFIC_CLASS,4,2 ; @IB_SA_PATH_REC_TRAFFIC_CLASS .comm _sa_client,4,2 ; @sa_client .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _cma_query_handler,4,2 ; @cma_query_handler .no_dead_strip _cma_query_ib_route .subsections_via_symbols
AnghaBench/linux/drivers/infiniband/core/extr_cma.c_cma_query_ib_route.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f2fs_drop_nlink ## -- Begin function f2fs_drop_nlink .p2align 4, 0x90 _f2fs_drop_nlink: ## @f2fs_drop_nlink .cfi_startproc ## %bb.0: 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, %r15 callq _F2FS_I_SB movq %rax, %r14 movq %rbx, %rdi callq _F2FS_I movq %rax, %rdi callq _down_write movl 8(%rbx), %edi callq _S_ISDIR testq %rax, %rax je LBB0_2 ## %bb.1: movq %r15, %rdi xorl %esi, %esi callq _f2fs_i_links_write LBB0_2: movq %rbx, %rdi callq _current_time movl %eax, 12(%rbx) movq %rbx, %rdi xorl %esi, %esi callq _f2fs_i_links_write movl 8(%rbx), %edi callq _S_ISDIR testq %rax, %rax je LBB0_4 ## %bb.3: movq %rbx, %rdi xorl %esi, %esi callq _f2fs_i_links_write movq %rbx, %rdi xorl %esi, %esi callq _f2fs_i_size_write LBB0_4: movq %rbx, %rdi callq _F2FS_I movq %rax, %rdi callq _up_write cmpq $0, (%rbx) je LBB0_5 ## %bb.6: movq %r14, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _f2fs_release_orphan_inode ## TAILCALL LBB0_5: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _f2fs_add_orphan_inode ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f2fs_drop_nlink ; -- Begin function f2fs_drop_nlink .p2align 2 _f2fs_drop_nlink: ; @f2fs_drop_nlink .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x21, x0 bl _F2FS_I_SB mov x20, x0 mov x0, x19 bl _F2FS_I bl _down_write ldr w0, [x19, #8] bl _S_ISDIR cbz x0, LBB0_2 ; %bb.1: mov x0, x21 mov w1, #0 bl _f2fs_i_links_write LBB0_2: mov x0, x19 bl _current_time str w0, [x19, #12] mov x0, x19 mov w1, #0 bl _f2fs_i_links_write ldr w0, [x19, #8] bl _S_ISDIR cbz x0, LBB0_4 ; %bb.3: mov x0, x19 mov w1, #0 bl _f2fs_i_links_write mov x0, x19 mov w1, #0 bl _f2fs_i_size_write LBB0_4: mov x0, x19 bl _F2FS_I bl _up_write ldr x8, [x19] cbz x8, LBB0_6 ; %bb.5: 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 _f2fs_release_orphan_inode LBB0_6: 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 _f2fs_add_orphan_inode .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/fs/f2fs/extr_dir.c_f2fs_drop_nlink.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function pmac_show_cpuinfo _pmac_show_cpuinfo: ## @pmac_show_cpuinfo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq _PMAC_FTR_GET_MB_INFO@GOTPCREL(%rip), %r14 movl (%r14), %edi movq _PMAC_MB_INFO_MODEL@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi xorl %ecx, %ecx callq _pmac_call_feature movq %rax, %r15 movl (%r14), %edi movq _PMAC_MB_INFO_FLAGS@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi xorl %ecx, %ecx callq _pmac_call_feature movq %rax, %r13 movl (%r14), %edi movq _PMAC_MB_INFO_NAME@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -56(%rbp), %rcx xorl %esi, %esi callq _pmac_call_feature testq %rax, %rax je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rax movq %rax, -56(%rbp) LBB0_2: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _seq_printf leaq L_.str.2(%rip), %rdi callq _of_find_node_by_path testq %rax, %rax je LBB0_12 ## %bb.3: movq %rax, %r12 leaq L_.str.3(%rip), %rsi movq %rax, %rdi xorl %edx, %edx callq _of_get_property testq %rax, %rax movq %r13, -72(%rbp) ## 8-byte Spill je LBB0_5 ## %bb.4: leaq L_.str.4(%rip), %rsi movq %rbx, %rdi movq %rax, %rdx xorl %eax, %eax callq _seq_printf jmp LBB0_6 LBB0_12: leaq L_.str.5(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _seq_printf jmp LBB0_13 LBB0_5: leaq L_.str.5(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _seq_printf LBB0_6: leaq L_.str.6(%rip), %rsi leaq -44(%rbp), %rdx movq %r12, %rdi callq _of_get_property testq %rax, %rax je LBB0_11 ## %bb.7: movq %rax, %r13 movq %r15, -64(%rbp) ## 8-byte Spill leaq L_.str.7(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _seq_printf cmpl $0, -44(%rbp) jle LBB0_10 ## %bb.8: leaq L_.str.8(%rip), %r14 .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq %r13, %rdi callq _strlen movl %eax, %r15d movq %rbx, %rdi movq %r14, %rsi movq %r13, %rdx xorl %eax, %eax callq _seq_printf movl -44(%rbp), %eax subl %r15d, %eax incl %eax movl %eax, -44(%rbp) movslq %r15d, %rcx addq %rcx, %r13 decq %r13 testl %eax, %eax jg LBB0_9 LBB0_10: leaq L_.str.9(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _seq_printf movq -64(%rbp), %r15 ## 8-byte Reload LBB0_11: movq %r12, %rdi callq _of_node_put movq -72(%rbp), %r13 ## 8-byte Reload LBB0_13: movq -56(%rbp), %rcx leaq L_.str.10(%rip), %rsi movq %rbx, %rdi movl %r15d, %edx xorl %eax, %eax callq _seq_printf leaq L_.str.11(%rip), %rsi movq %rbx, %rdi movl %r13d, %edx xorl %eax, %eax callq _seq_printf leaq L_.str.12(%rip), %rsi xorl %edi, %edi callq _of_find_node_by_name testq %rax, %rax je LBB0_24 ## %bb.14: leaq L_.str.13(%rip), %rsi xorl %edi, %edi callq _of_find_node_by_type testq %rax, %rax je LBB0_24 ## %bb.15: movq %rax, %r14 leaq L_.str.14(%rip), %rsi movq %rax, %rdi xorl %edx, %edx callq _of_get_property movq %rax, %r15 leaq L_.str.15(%rip), %rsi movq %r14, %rdi xorl %edx, %edx callq _of_get_property movq %rax, %r12 leaq L_.str.16(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _seq_printf movq _has_l2cache@GOTPCREL(%rip), %rax movl $1, (%rax) leaq L_.str.17(%rip), %rsi movq %r14, %rdi xorl %edx, %edx callq _of_get_property testq %rax, %rax setne %al testq %r12, %r12 setne %cl andb %al, %cl cmpb $1, %cl jne LBB0_17 ## %bb.16: movl (%r12), %edx shrl $10, %edx leaq L_.str.18(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _seq_printf jmp LBB0_21 LBB0_17: testq %r15, %r15 je LBB0_19 ## %bb.18: movl (%r15), %edx shrl $10, %edx leaq L_.str.19(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _seq_printf LBB0_19: testq %r12, %r12 je LBB0_21 ## %bb.20: testq %r15, %r15 leaq L_.str.22(%rip), %rax leaq L_.str.21(%rip), %rdx cmoveq %rax, %rdx movl (%r12), %ecx shrl $10, %ecx leaq L_.str.20(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _seq_printf LBB0_21: leaq L_.str.23(%rip), %rsi movq %r14, %rdi xorl %edx, %edx callq _of_get_property testq %rax, %rax je LBB0_23 ## %bb.22: leaq L_.str.8(%rip), %rsi movq %rbx, %rdi movq %rax, %rdx xorl %eax, %eax callq _seq_printf LBB0_23: leaq L_.str.9(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _seq_printf movq %r14, %rdi callq _of_node_put LBB0_24: movq _pmac_newworld@GOTPCREL(%rip), %rax cmpq $0, (%rax) leaq L_.str.26(%rip), %rax leaq L_.str.25(%rip), %rdx cmoveq %rax, %rdx leaq L_.str.24(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _seq_printf addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PMAC_FTR_GET_MB_INFO,4,2 ## @PMAC_FTR_GET_MB_INFO .comm _PMAC_MB_INFO_MODEL,4,2 ## @PMAC_MB_INFO_MODEL .comm _PMAC_MB_INFO_FLAGS,4,2 ## @PMAC_MB_INFO_FLAGS .comm _PMAC_MB_INFO_NAME,4,2 ## @PMAC_MB_INFO_NAME .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unknown" L_.str.1: ## @.str.1 .asciz "machine\t\t: " L_.str.2: ## @.str.2 .asciz "/" L_.str.3: ## @.str.3 .asciz "model" L_.str.4: ## @.str.4 .asciz "%s\n" L_.str.5: ## @.str.5 .asciz "PowerMac\n" L_.str.6: ## @.str.6 .asciz "compatible" L_.str.7: ## @.str.7 .asciz "motherboard\t:" L_.str.8: ## @.str.8 .asciz " %s" L_.str.9: ## @.str.9 .asciz "\n" L_.str.10: ## @.str.10 .asciz "detected as\t: %d (%s)\n" L_.str.11: ## @.str.11 .asciz "pmac flags\t: %08x\n" L_.str.12: ## @.str.12 .asciz "l2-cache" L_.str.13: ## @.str.13 .asciz "cache" L_.str.14: ## @.str.14 .asciz "i-cache-size" L_.str.15: ## @.str.15 .asciz "d-cache-size" L_.str.16: ## @.str.16 .asciz "L2 cache\t:" .comm _has_l2cache,4,2 ## @has_l2cache L_.str.17: ## @.str.17 .asciz "cache-unified" L_.str.18: ## @.str.18 .asciz " %dK unified" L_.str.19: ## @.str.19 .asciz " %dK instruction" L_.str.20: ## @.str.20 .asciz "%s %dK data" L_.str.21: ## @.str.21 .asciz " +" L_.str.22: ## @.str.22 .space 1 L_.str.23: ## @.str.23 .asciz "ram-type" L_.str.24: ## @.str.24 .asciz "pmac-generation\t: %s\n" .comm _pmac_newworld,8,3 ## @pmac_newworld L_.str.25: ## @.str.25 .asciz "NewWorld" L_.str.26: ## @.str.26 .asciz "OldWorld" .no_dead_strip _pmac_show_cpuinfo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function pmac_show_cpuinfo _pmac_show_cpuinfo: ; @pmac_show_cpuinfo .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 Lloh0: adrp x22, _PMAC_FTR_GET_MB_INFO@GOTPAGE Lloh1: ldr x22, [x22, _PMAC_FTR_GET_MB_INFO@GOTPAGEOFF] ldr w0, [x22] Lloh2: adrp x8, _PMAC_MB_INFO_MODEL@GOTPAGE Lloh3: ldr x8, [x8, _PMAC_MB_INFO_MODEL@GOTPAGEOFF] Lloh4: ldr w2, [x8] mov x1, #0 ; =0x0 mov x3, #0 ; =0x0 bl _pmac_call_feature mov x20, x0 ldr w0, [x22] Lloh5: adrp x8, _PMAC_MB_INFO_FLAGS@GOTPAGE Lloh6: ldr x8, [x8, _PMAC_MB_INFO_FLAGS@GOTPAGEOFF] Lloh7: ldr w2, [x8] mov x1, #0 ; =0x0 mov x3, #0 ; =0x0 bl _pmac_call_feature mov x21, x0 ldr w0, [x22] Lloh8: adrp x8, _PMAC_MB_INFO_NAME@GOTPAGE Lloh9: ldr x8, [x8, _PMAC_MB_INFO_NAME@GOTPAGEOFF] Lloh10: ldr w2, [x8] add x3, sp, #16 mov x1, #0 ; =0x0 bl _pmac_call_feature cbz x0, LBB0_2 ; %bb.1: Lloh11: adrp x8, l_.str@PAGE Lloh12: add x8, x8, l_.str@PAGEOFF str x8, [sp, #16] LBB0_2: Lloh13: adrp x1, l_.str.1@PAGE Lloh14: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _seq_printf Lloh15: adrp x0, l_.str.2@PAGE Lloh16: add x0, x0, l_.str.2@PAGEOFF bl _of_find_node_by_path cbz x0, LBB0_5 ; %bb.3: mov x22, x0 Lloh17: adrp x1, l_.str.3@PAGE Lloh18: add x1, x1, l_.str.3@PAGEOFF mov x2, #0 ; =0x0 bl _of_get_property cbz x0, LBB0_6 ; %bb.4: str x0, [sp] Lloh19: adrp x1, l_.str.4@PAGE Lloh20: add x1, x1, l_.str.4@PAGEOFF b LBB0_7 LBB0_5: Lloh21: adrp x1, l_.str.5@PAGE Lloh22: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 bl _seq_printf b LBB0_13 LBB0_6: Lloh23: adrp x1, l_.str.5@PAGE Lloh24: add x1, x1, l_.str.5@PAGEOFF LBB0_7: mov x0, x19 bl _seq_printf Lloh25: adrp x1, l_.str.6@PAGE Lloh26: add x1, x1, l_.str.6@PAGEOFF add x2, sp, #28 mov x0, x22 bl _of_get_property cbz x0, LBB0_12 ; %bb.8: mov x23, x0 Lloh27: adrp x1, l_.str.7@PAGE Lloh28: add x1, x1, l_.str.7@PAGEOFF mov x0, x19 bl _seq_printf ldr w8, [sp, #28] cmp w8, #1 b.lt LBB0_11 ; %bb.9: Lloh29: adrp x24, l_.str.8@PAGE Lloh30: add x24, x24, l_.str.8@PAGEOFF LBB0_10: ; =>This Inner Loop Header: Depth=1 mov x0, x23 bl _strlen sub w25, w0, #1 str x23, [sp] mov x0, x19 mov x1, x24 bl _seq_printf ldr w8, [sp, #28] add x23, x23, w25, sxtw subs w8, w8, w25 str w8, [sp, #28] b.gt LBB0_10 LBB0_11: Lloh31: adrp x1, l_.str.9@PAGE Lloh32: add x1, x1, l_.str.9@PAGEOFF mov x0, x19 bl _seq_printf LBB0_12: mov x0, x22 bl _of_node_put LBB0_13: ldr x8, [sp, #16] ; kill: def $w20 killed $w20 killed $x20 def $x20 stp x20, x8, [sp] Lloh33: adrp x1, l_.str.10@PAGE Lloh34: add x1, x1, l_.str.10@PAGEOFF mov x0, x19 bl _seq_printf ; kill: def $w21 killed $w21 killed $x21 def $x21 str x21, [sp] Lloh35: adrp x1, l_.str.11@PAGE Lloh36: add x1, x1, l_.str.11@PAGEOFF mov x0, x19 bl _seq_printf Lloh37: adrp x1, l_.str.12@PAGE Lloh38: add x1, x1, l_.str.12@PAGEOFF mov x0, #0 ; =0x0 bl _of_find_node_by_name cbz x0, LBB0_26 ; %bb.14: Lloh39: adrp x1, l_.str.13@PAGE Lloh40: add x1, x1, l_.str.13@PAGEOFF mov x0, #0 ; =0x0 bl _of_find_node_by_type cbz x0, LBB0_26 ; %bb.15: mov x20, x0 Lloh41: adrp x1, l_.str.14@PAGE Lloh42: add x1, x1, l_.str.14@PAGEOFF mov x2, #0 ; =0x0 bl _of_get_property mov x21, x0 Lloh43: adrp x1, l_.str.15@PAGE Lloh44: add x1, x1, l_.str.15@PAGEOFF mov x0, x20 mov x2, #0 ; =0x0 bl _of_get_property mov x22, x0 Lloh45: adrp x1, l_.str.16@PAGE Lloh46: add x1, x1, l_.str.16@PAGEOFF mov x0, x19 bl _seq_printf Lloh47: adrp x8, _has_l2cache@GOTPAGE Lloh48: ldr x8, [x8, _has_l2cache@GOTPAGEOFF] mov w9, #1 ; =0x1 Lloh49: str w9, [x8] Lloh50: adrp x1, l_.str.17@PAGE Lloh51: add x1, x1, l_.str.17@PAGEOFF mov x0, x20 mov x2, #0 ; =0x0 bl _of_get_property cbz x0, LBB0_18 ; %bb.16: cbz x22, LBB0_18 ; %bb.17: ldr w8, [x22] lsr w8, w8, #10 str x8, [sp] Lloh52: adrp x1, l_.str.18@PAGE Lloh53: add x1, x1, l_.str.18@PAGEOFF b LBB0_22 LBB0_18: cbz x21, LBB0_20 ; %bb.19: ldr w8, [x21] lsr w8, w8, #10 str x8, [sp] Lloh54: adrp x1, l_.str.19@PAGE Lloh55: add x1, x1, l_.str.19@PAGEOFF mov x0, x19 bl _seq_printf LBB0_20: cbz x22, LBB0_23 ; %bb.21: Lloh56: adrp x8, l_.str.21@PAGE Lloh57: add x8, x8, l_.str.21@PAGEOFF Lloh58: adrp x9, l_.str.22@PAGE Lloh59: add x9, x9, l_.str.22@PAGEOFF cmp x21, #0 csel x8, x9, x8, eq ldr w9, [x22] lsr w9, w9, #10 stp x8, x9, [sp] Lloh60: adrp x1, l_.str.20@PAGE Lloh61: add x1, x1, l_.str.20@PAGEOFF LBB0_22: mov x0, x19 bl _seq_printf LBB0_23: Lloh62: adrp x1, l_.str.23@PAGE Lloh63: add x1, x1, l_.str.23@PAGEOFF mov x0, x20 mov x2, #0 ; =0x0 bl _of_get_property cbz x0, LBB0_25 ; %bb.24: str x0, [sp] Lloh64: adrp x1, l_.str.8@PAGE Lloh65: add x1, x1, l_.str.8@PAGEOFF mov x0, x19 bl _seq_printf LBB0_25: Lloh66: adrp x1, l_.str.9@PAGE Lloh67: add x1, x1, l_.str.9@PAGEOFF mov x0, x19 bl _seq_printf mov x0, x20 bl _of_node_put LBB0_26: Lloh68: adrp x8, _pmac_newworld@GOTPAGE Lloh69: ldr x8, [x8, _pmac_newworld@GOTPAGEOFF] Lloh70: ldr x8, [x8] Lloh71: adrp x9, l_.str.25@PAGE Lloh72: add x9, x9, l_.str.25@PAGEOFF Lloh73: adrp x10, l_.str.26@PAGE Lloh74: add x10, x10, l_.str.26@PAGEOFF cmp x8, #0 csel x8, x10, x9, eq str x8, [sp] Lloh75: adrp x1, l_.str.24@PAGE Lloh76: add x1, x1, l_.str.24@PAGEOFF mov x0, x19 bl _seq_printf ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpLdrGotStr Lloh47, Lloh48, Lloh49 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh75, Lloh76 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpAdd Lloh71, Lloh72 .loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70 .cfi_endproc ; -- End function .comm _PMAC_FTR_GET_MB_INFO,4,2 ; @PMAC_FTR_GET_MB_INFO .comm _PMAC_MB_INFO_MODEL,4,2 ; @PMAC_MB_INFO_MODEL .comm _PMAC_MB_INFO_FLAGS,4,2 ; @PMAC_MB_INFO_FLAGS .comm _PMAC_MB_INFO_NAME,4,2 ; @PMAC_MB_INFO_NAME .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unknown" l_.str.1: ; @.str.1 .asciz "machine\t\t: " l_.str.2: ; @.str.2 .asciz "/" l_.str.3: ; @.str.3 .asciz "model" l_.str.4: ; @.str.4 .asciz "%s\n" l_.str.5: ; @.str.5 .asciz "PowerMac\n" l_.str.6: ; @.str.6 .asciz "compatible" l_.str.7: ; @.str.7 .asciz "motherboard\t:" l_.str.8: ; @.str.8 .asciz " %s" l_.str.9: ; @.str.9 .asciz "\n" l_.str.10: ; @.str.10 .asciz "detected as\t: %d (%s)\n" l_.str.11: ; @.str.11 .asciz "pmac flags\t: %08x\n" l_.str.12: ; @.str.12 .asciz "l2-cache" l_.str.13: ; @.str.13 .asciz "cache" l_.str.14: ; @.str.14 .asciz "i-cache-size" l_.str.15: ; @.str.15 .asciz "d-cache-size" l_.str.16: ; @.str.16 .asciz "L2 cache\t:" .comm _has_l2cache,4,2 ; @has_l2cache l_.str.17: ; @.str.17 .asciz "cache-unified" l_.str.18: ; @.str.18 .asciz " %dK unified" l_.str.19: ; @.str.19 .asciz " %dK instruction" l_.str.20: ; @.str.20 .asciz "%s %dK data" l_.str.21: ; @.str.21 .asciz " +" l_.str.22: ; @.str.22 .space 1 l_.str.23: ; @.str.23 .asciz "ram-type" l_.str.24: ; @.str.24 .asciz "pmac-generation\t: %s\n" .comm _pmac_newworld,8,3 ; @pmac_newworld l_.str.25: ; @.str.25 .asciz "NewWorld" l_.str.26: ; @.str.26 .asciz "OldWorld" .no_dead_strip _pmac_show_cpuinfo .subsections_via_symbols
assembly_file_51116.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function integrity_modsig_verify _integrity_modsig_verify: ## @integrity_modsig_verify .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _EOPNOTSUPP@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP .no_dead_strip _integrity_modsig_verify .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function integrity_modsig_verify _integrity_modsig_verify: ; @integrity_modsig_verify .cfi_startproc ; %bb.0: Lloh0: adrp x8, _EOPNOTSUPP@GOTPAGE Lloh1: ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP .no_dead_strip _integrity_modsig_verify .subsections_via_symbols
AnghaBench/linux/security/integrity/platform_certs/extr_..integrity.h_integrity_modsig_verify.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function zdb_nicenum _zdb_nicenum: ## @zdb_nicenum .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 _dump_opt@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq $0, 640(%rax) je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rax movq %rsi, %rdi movq %rdx, %rsi movq %rax, %rdx ## kill: def $ecx killed $ecx killed $rcx popq %rbp jmp _snprintf ## TAILCALL LBB0_2: movq %rcx, %rdi movl $8, %edx popq %rbp jmp _nicenum ## TAILCALL .cfi_endproc ## -- End function .comm _dump_opt,8,3 ## @dump_opt .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%llu" .no_dead_strip _zdb_nicenum .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function zdb_nicenum _zdb_nicenum: ; @zdb_nicenum .cfi_startproc ; %bb.0: mov x3, x0 Lloh0: adrp x8, _dump_opt@GOTPAGE Lloh1: ldr x8, [x8, _dump_opt@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x8, [x8, #640] cbz x8, LBB0_2 ; %bb.1: Lloh3: adrp x8, l_.str@PAGE Lloh4: add x8, x8, l_.str@PAGEOFF mov x0, x1 mov x1, x2 mov x2, x8 ; kill: def $w3 killed $w3 killed $x3 b _snprintf LBB0_2: mov x0, x3 mov w2, #8 b _nicenum .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _dump_opt,8,3 ; @dump_opt .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%llu" .no_dead_strip _zdb_nicenum .subsections_via_symbols
AnghaBench/zfs/cmd/zdb/extr_zdb.c_zdb_nicenum.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cf_adderror_unexpected_eof _cf_adderror_unexpected_eof: ## @cf_adderror_unexpected_eof .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), %rdx xorl %ecx, %ecx xorl %r8d, %r8d xorl %r9d, %r9d popq %rbp jmp _cf_adderror ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unexpected end of file" .no_dead_strip _cf_adderror_unexpected_eof .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cf_adderror_unexpected_eof _cf_adderror_unexpected_eof: ; @cf_adderror_unexpected_eof .cfi_startproc ; %bb.0: Lloh0: adrp x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF mov x3, #0 mov x4, #0 mov x5, #0 b _cf_adderror .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unexpected end of file" .no_dead_strip _cf_adderror_unexpected_eof .subsections_via_symbols
AnghaBench/obs-studio/libobs/util/extr_cf-lexer.c_cf_adderror_unexpected_eof.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wpas_ctrl_sock_debug _wpas_ctrl_sock_debug: ## @wpas_ctrl_sock_debug .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .comm _MSG_EXCESSIVE,4,2 ## @MSG_EXCESSIVE .comm _MSG_MSGDUMP,4,2 ## @MSG_MSGDUMP .comm _SOL_SOCKET,4,2 ## @SOL_SOCKET .comm _SO_SNDBUF,4,2 ## @SO_SNDBUF .comm _TIOCOUTQ,4,2 ## @TIOCOUTQ .no_dead_strip _wpas_ctrl_sock_debug .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wpas_ctrl_sock_debug _wpas_ctrl_sock_debug: ; @wpas_ctrl_sock_debug .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .comm _MSG_EXCESSIVE,4,2 ; @MSG_EXCESSIVE .comm _MSG_MSGDUMP,4,2 ; @MSG_MSGDUMP .comm _SOL_SOCKET,4,2 ; @SOL_SOCKET .comm _SO_SNDBUF,4,2 ; @SO_SNDBUF .comm _TIOCOUTQ,4,2 ; @TIOCOUTQ .no_dead_strip _wpas_ctrl_sock_debug .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_ctrl_iface_unix.c_wpas_ctrl_sock_debug.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bfa_flash_read_send _bfa_flash_read_send: ## @bfa_flash_read_send .cfi_startproc ## %bb.0: 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, %rbx leaq 8(%rdi), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq 8(%rdi), %r15 movq 48(%rdi), %rdi callq _be32_to_cpu movq %rax, 32(%r15) movl 40(%rbx), %eax movl %eax, 24(%r15) movq 24(%rbx), %rdi addq 32(%rbx), %rdi callq _be32_to_cpu movq %rax, 16(%r15) movq (%rbx), %rax movq _BFA_FLASH_DMA_BUF_SZ@GOTPCREL(%rip), %rcx movq (%rcx), %r12 cmpq %r12, %rax cmovlq %rax, %r12 movq %r12, %rdi callq _be32_to_cpu movq %rax, 8(%r15) movl 4(%r15), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq _BFI_MC_FLASH@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _BFI_FLASH_H2I_READ_REQ@GOTPCREL(%rip), %rax movl (%rax), %r13d movl 16(%rbx), %edi callq _bfa_ioc_portid movl -44(%rbp), %edi ## 4-byte Reload movl %r14d, %esi movl %r13d, %edx movl %eax, %ecx callq _bfi_h2i_set movl 20(%rbx), %edx movq %r15, %rdi movq %r12, %rsi callq _bfa_alen_set movl 16(%rbx), %edi movq -56(%rbp), %rsi ## 8-byte Reload addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _bfa_ioc_mbox_queue ## TAILCALL .cfi_endproc ## -- End function .comm _BFA_FLASH_DMA_BUF_SZ,8,3 ## @BFA_FLASH_DMA_BUF_SZ .comm _BFI_MC_FLASH,4,2 ## @BFI_MC_FLASH .comm _BFI_FLASH_H2I_READ_REQ,4,2 ## @BFI_FLASH_H2I_READ_REQ .no_dead_strip _bfa_flash_read_send .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bfa_flash_read_send _bfa_flash_read_send: ; @bfa_flash_read_send .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 mov x20, x0 ldr x21, [x20, #8]! ldr x0, [x0, #48] bl _be32_to_cpu str x0, [x21, #32] ldr w8, [x19, #40] str w8, [x21, #24] ldp x9, x8, [x19, #24] add x0, x9, x8 bl _be32_to_cpu str x0, [x21, #16] ldr x8, [x19] Lloh0: adrp x9, _BFA_FLASH_DMA_BUF_SZ@GOTPAGE Lloh1: ldr x9, [x9, _BFA_FLASH_DMA_BUF_SZ@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 csel x22, x8, x9, lt mov x0, x22 bl _be32_to_cpu str x0, [x21, #8] Lloh3: adrp x8, _BFI_MC_FLASH@GOTPAGE Lloh4: ldr x8, [x8, _BFI_MC_FLASH@GOTPAGEOFF] ldr w23, [x21, #4] Lloh5: ldr w24, [x8] Lloh6: adrp x8, _BFI_FLASH_H2I_READ_REQ@GOTPAGE Lloh7: ldr x8, [x8, _BFI_FLASH_H2I_READ_REQ@GOTPAGEOFF] Lloh8: ldr w25, [x8] ldr w0, [x19, #16] bl _bfa_ioc_portid mov x3, x0 mov x0, x23 mov x1, x24 mov x2, x25 bl _bfi_h2i_set ldr w2, [x19, #20] mov x0, x21 mov x1, x22 bl _bfa_alen_set ldr w0, [x19, #16] mov x1, x20 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _bfa_ioc_mbox_queue .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _BFA_FLASH_DMA_BUF_SZ,8,3 ; @BFA_FLASH_DMA_BUF_SZ .comm _BFI_MC_FLASH,4,2 ; @BFI_MC_FLASH .comm _BFI_FLASH_H2I_READ_REQ,4,2 ; @BFI_FLASH_H2I_READ_REQ .no_dead_strip _bfa_flash_read_send .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_ioc.c_bfa_flash_read_send.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _snmp_lookup_allstring ## -- Begin function snmp_lookup_allstring .p2align 4, 0x90 _snmp_lookup_allstring: ## @snmp_lookup_allstring .cfi_startproc ## %bb.0: 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 $-1, %r15d testq %rdi, %rdi je LBB0_12 ## %bb.1: movq %rdi, %rbx cmpq $0, 40(%rdi) je LBB0_12 ## %bb.2: movq %rsi, %r14 leaq 36(%rbx), %rdi callq _snmp_lookup_leaf movl $1, %r15d testq %rax, %rax jg LBB0_12 ## %bb.3: leaq 32(%rbx), %rdi movq %r14, %rsi callq _snmp_lookup_leaf testq %rax, %rax jg LBB0_12 ## %bb.4: leaq 28(%rbx), %rdi movq %r14, %rsi callq _snmp_lookup_leaf testq %rax, %rax jg LBB0_12 ## %bb.5: leaq 24(%rbx), %rdi movq %r14, %rsi callq _snmp_lookup_leaf testq %rax, %rax jg LBB0_12 ## %bb.6: leaq 20(%rbx), %rdi movq %r14, %rsi callq _snmp_lookup_leaf testq %rax, %rax jg LBB0_12 ## %bb.7: leaq 16(%rbx), %rdi movq %r14, %rsi callq _snmp_lookup_leaf testq %rax, %rax jg LBB0_12 ## %bb.8: leaq 12(%rbx), %rdi movq %r14, %rsi callq _snmp_lookup_leaf testq %rax, %rax jg LBB0_12 ## %bb.9: leaq 8(%rbx), %rdi movq %r14, %rsi callq _snmp_lookup_leaf testq %rax, %rax jg LBB0_12 ## %bb.10: leaq 4(%rbx), %rdi movq %r14, %rsi callq _snmp_lookuplist_string testq %rax, %rax jg LBB0_12 ## %bb.11: movq %rbx, %rdi movq %r14, %rsi callq _snmp_lookuplist_string xorl %ecx, %ecx testq %rax, %rax setg %cl leal (%rcx,%rcx), %r15d decl %r15d LBB0_12: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _snmp_lookup_allstring ; -- Begin function snmp_lookup_allstring .p2align 2 _snmp_lookup_allstring: ; @snmp_lookup_allstring .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cbz x0, LBB0_11 ; %bb.1: mov x20, x0 ldr x8, [x0, #40] cbz x8, LBB0_11 ; %bb.2: mov x19, x1 add x0, x20, #36 bl _snmp_lookup_leaf cmp x0, #0 b.gt LBB0_10 ; %bb.3: add x0, x20, #32 mov x1, x19 bl _snmp_lookup_leaf cmp x0, #0 b.gt LBB0_10 ; %bb.4: add x0, x20, #28 mov x1, x19 bl _snmp_lookup_leaf cmp x0, #0 b.gt LBB0_10 ; %bb.5: add x0, x20, #24 mov x1, x19 bl _snmp_lookup_leaf cmp x0, #0 b.gt LBB0_10 ; %bb.6: add x0, x20, #20 mov x1, x19 bl _snmp_lookup_leaf cmp x0, #0 b.gt LBB0_10 ; %bb.7: add x0, x20, #16 mov x1, x19 bl _snmp_lookup_leaf cmp x0, #0 b.gt LBB0_10 ; %bb.8: add x0, x20, #12 mov x1, x19 bl _snmp_lookup_leaf cmp x0, #0 b.gt LBB0_10 ; %bb.9: add x0, x20, #8 mov x1, x19 bl _snmp_lookup_leaf cmp x0, #0 b.le LBB0_13 LBB0_10: mov w0, #1 b LBB0_12 LBB0_11: mov w0, #-1 LBB0_12: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_13: add x0, x20, #4 mov x1, x19 bl _snmp_lookuplist_string mov x8, x0 mov w0, #1 cmp x8, #0 b.gt LBB0_12 ; %bb.14: mov x0, x20 mov x1, x19 bl _snmp_lookuplist_string mov x8, x0 mov w0, #1 cmp x8, #0 cneg w0, w0, le b LBB0_12 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmpmap.c_snmp_lookup_allstring.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function iblock_detach_hba _iblock_detach_hba: ## @iblock_detach_hba .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _iblock_detach_hba .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function iblock_detach_hba _iblock_detach_hba: ; @iblock_detach_hba .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _iblock_detach_hba .subsections_via_symbols
AnghaBench/linux/drivers/target/extr_target_core_iblock.c_iblock_detach_hba.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rt_ioctl _rt_ioctl: ## @rt_ioctl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ecx movq %rdi, %rbx movq 8(%rdi), %r14 cmpl $128, %esi je LBB0_11 ## %bb.1: cmpl $130, %ecx je LBB0_11 ## %bb.2: cmpl $129, %ecx jne LBB0_12 ## %bb.3: movq %r14, %rdi callq _RT_SOFTC_LOCK movl (%rbx), %eax movq _IFF_UP@GOTPCREL(%rip), %rdx movq _IFF_DRV_RUNNING@GOTPCREL(%rip), %rcx movl (%rcx), %ecx andl 4(%rbx), %ecx testl %eax, (%rdx) je LBB0_8 ## %bb.4: testl %ecx, %ecx je LBB0_7 ## %bb.5: xorl (%r14), %eax movq _IFF_PROMISC@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_10 ## %bb.6: movq %rbx, %rdi callq _rt_update_promisc jmp LBB0_10 LBB0_11: addq $4, %r14 movq %rbx, %rdi movq %rdx, %rsi movq %r14, %rdx popq %rbx popq %r14 popq %rbp jmp _ifmedia_ioctl ## TAILCALL LBB0_12: movq %rbx, %rdi movl %ecx, %esi popq %rbx popq %r14 popq %rbp jmp _ether_ioctl ## TAILCALL LBB0_8: testl %ecx, %ecx je LBB0_10 ## %bb.9: movq %r14, %rdi callq _rt_stop_locked jmp LBB0_10 LBB0_7: movq %r14, %rdi callq _rt_init_locked LBB0_10: movl (%rbx), %eax movl %eax, (%r14) movq %r14, %rdi callq _RT_SOFTC_UNLOCK xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _IFF_UP,4,2 ## @IFF_UP .comm _IFF_DRV_RUNNING,4,2 ## @IFF_DRV_RUNNING .comm _IFF_PROMISC,4,2 ## @IFF_PROMISC .no_dead_strip _rt_ioctl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rt_ioctl _rt_ioctl: ; @rt_ioctl .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 x3, x1 mov x19, x0 ldr x20, [x0, #8] cmp w1, #128 b.eq LBB0_7 ; %bb.1: cmp w3, #130 b.eq LBB0_7 ; %bb.2: cmp w3, #129 b.ne LBB0_8 ; %bb.3: mov x0, x20 bl _RT_SOFTC_LOCK Lloh0: adrp x8, _IFF_UP@GOTPAGE Lloh1: ldr x8, [x8, _IFF_UP@GOTPAGEOFF] Lloh2: ldr w10, [x8] ldp w8, w9, [x19] Lloh3: adrp x11, _IFF_DRV_RUNNING@GOTPAGE Lloh4: ldr x11, [x11, _IFF_DRV_RUNNING@GOTPAGEOFF] Lloh5: ldr w11, [x11] and w9, w11, w9 tst w10, w8 b.eq LBB0_9 ; %bb.4: cbz w9, LBB0_11 ; %bb.5: ldr w9, [x20] eor w8, w9, w8 Lloh6: adrp x9, _IFF_PROMISC@GOTPAGE Lloh7: ldr x9, [x9, _IFF_PROMISC@GOTPAGEOFF] Lloh8: ldr w9, [x9] tst w8, w9 b.eq LBB0_12 ; %bb.6: mov x0, x19 bl _rt_update_promisc b LBB0_12 LBB0_7: add x8, x20, #4 mov x0, x19 mov x1, x2 mov x2, x8 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ifmedia_ioctl LBB0_8: mov x0, x19 mov x1, x3 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ether_ioctl LBB0_9: cbz w9, LBB0_12 ; %bb.10: mov x0, x20 bl _rt_stop_locked b LBB0_12 LBB0_11: mov x0, x20 bl _rt_init_locked LBB0_12: ldr w8, [x19] str w8, [x20] mov x0, x20 bl _RT_SOFTC_UNLOCK mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _IFF_UP,4,2 ; @IFF_UP .comm _IFF_DRV_RUNNING,4,2 ; @IFF_DRV_RUNNING .comm _IFF_PROMISC,4,2 ; @IFF_PROMISC .no_dead_strip _rt_ioctl .subsections_via_symbols
AnghaBench/freebsd/sys/dev/rt/extr_if_rt.c_rt_ioctl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hypfs_sprp_init ## -- Begin function hypfs_sprp_init .p2align 4, 0x90 _hypfs_sprp_init: ## @hypfs_sprp_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _sclp@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_1 ## %bb.2: movq _hypfs_sprp_file@GOTPCREL(%rip), %rdi popq %rbp jmp _hypfs_dbfs_create_file ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .comm _sclp,4,2 ## @sclp .comm _hypfs_sprp_file,4,2 ## @hypfs_sprp_file .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hypfs_sprp_init ; -- Begin function hypfs_sprp_init .p2align 2 _hypfs_sprp_init: ; @hypfs_sprp_init .cfi_startproc ; %bb.0: Lloh0: adrp x8, _sclp@GOTPAGE Lloh1: ldr x8, [x8, _sclp@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: Lloh3: adrp x0, _hypfs_sprp_file@GOTPAGE Lloh4: ldr x0, [x0, _hypfs_sprp_file@GOTPAGEOFF] b _hypfs_dbfs_create_file LBB0_2: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _sclp,4,2 ; @sclp .comm _hypfs_sprp_file,4,2 ; @hypfs_sprp_file .subsections_via_symbols
AnghaBench/linux/arch/s390/hypfs/extr_hypfs_sprp.c_hypfs_sprp_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ia64_dwarf2_emit_offset ## -- Begin function ia64_dwarf2_emit_offset .p2align 4, 0x90 _ia64_dwarf2_emit_offset: ## @ia64_dwarf2_emit_offset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq _O_pseudo_fixup@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) movq _pseudo_func@GOTPCREL(%rip), %rax movq (%rax), %rax movq _FUNC_SEC_RELATIVE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl (%rax,%rcx,4), %eax movl %eax, -8(%rbp) movq $0, -16(%rbp) movq %rdi, -24(%rbp) leaq -24(%rbp), %rdi callq _emit_expr addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _O_pseudo_fixup,4,2 ## @O_pseudo_fixup .comm _pseudo_func,8,3 ## @pseudo_func .comm _FUNC_SEC_RELATIVE,8,3 ## @FUNC_SEC_RELATIVE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ia64_dwarf2_emit_offset ; -- Begin function ia64_dwarf2_emit_offset .p2align 2 _ia64_dwarf2_emit_offset: ; @ia64_dwarf2_emit_offset .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 x8, _O_pseudo_fixup@GOTPAGE Lloh1: ldr x8, [x8, _O_pseudo_fixup@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [sp, #28] Lloh3: adrp x8, _pseudo_func@GOTPAGE Lloh4: ldr x8, [x8, _pseudo_func@GOTPAGEOFF] Lloh5: ldr x8, [x8] Lloh6: adrp x9, _FUNC_SEC_RELATIVE@GOTPAGE Lloh7: ldr x9, [x9, _FUNC_SEC_RELATIVE@GOTPAGEOFF] Lloh8: ldr x9, [x9] ldr w8, [x8, x9, lsl #2] str w8, [sp, #24] stp x0, xzr, [sp, #8] add x0, sp, #8 bl _emit_expr ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _O_pseudo_fixup,4,2 ; @O_pseudo_fixup .comm _pseudo_func,8,3 ; @pseudo_func .comm _FUNC_SEC_RELATIVE,8,3 ; @FUNC_SEC_RELATIVE .subsections_via_symbols
AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-ia64.c_ia64_dwarf2_emit_offset.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rv7xx_parse_pplib_clock_info _rv7xx_parse_pplib_clock_info: ## @rv7xx_parse_pplib_clock_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r12 movl %edx, %r13d movq %rsi, %r14 movq %rdi, %rbx callq _rv770_get_pi movq %rax, -72(%rbp) ## 8-byte Spill movq %rbx, -48(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _evergreen_get_pi movq %rax, -56(%rbp) ## 8-byte Spill movq %r14, -80(%rbp) ## 8-byte Spill movq %r14, %rdi callq _rv770_get_ps movq %rax, %r14 cmpl $1, %r13d movq %rax, -64(%rbp) ## 8-byte Spill je LBB0_26 ## %bb.1: testl %r13d, %r13d je LBB0_3 ## %bb.2: addq $24, %r14 jmp LBB0_3 LBB0_26: addq $48, %r14 LBB0_3: movq -48(%rbp), %rbx ## 8-byte Reload movq (%rbx), %rax movq _CHIP_CEDAR@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jge LBB0_4 ## %bb.5: movl 20(%r12), %edi callq _le16_to_cpu movl (%r12), %r13d movl 16(%r12), %edi shll $16, %r13d orl %eax, %r13d callq _le16_to_cpu movl 4(%r12), %r15d movl 12(%r12), %edi shll $16, %r15d orl %eax, %r15d callq _le16_to_cpu movl %eax, (%r14) jmp LBB0_6 LBB0_4: movl 24(%r12), %edi callq _le16_to_cpu movl (%r12), %r13d movl 20(%r12), %edi shll $16, %r13d orl %eax, %r13d callq _le16_to_cpu movl 4(%r12), %r15d movl 16(%r12), %edi shll $16, %r15d orl %eax, %r15d callq _le16_to_cpu movl %eax, (%r14) movl 12(%r12), %edi callq _le16_to_cpu movq %rax, 16(%r14) LBB0_6: movl 8(%r12), %edi callq _le32_to_cpu movl %eax, 4(%r14) movl %r15d, 8(%r14) movl %r13d, 12(%r14) movl (%r14), %ecx cmpl $65281, %ecx ## imm = 0xFF01 movq -80(%rbp), %r12 ## 8-byte Reload movq -72(%rbp), %rdi ## 8-byte Reload jne LBB0_10 ## %bb.7: movl (%rdi), %ecx testl %ecx, %ecx je LBB0_8 ## %bb.9: movl %ecx, (%r14) jmp LBB0_10 LBB0_8: movl $65281, %ecx ## imm = 0xFF01 LBB0_10: movl (%r12), %eax movq _ATOM_PPLIB_CLASSIFICATION_ACPI@GOTPCREL(%rip), %rdx testl %eax, (%rdx) je LBB0_14 ## %bb.11: movl %ecx, 4(%rdi) movq (%rbx), %rdx movq _CHIP_CEDAR@GOTPCREL(%rip), %rsi cmpq (%rsi), %rdx jl LBB0_13 ## %bb.12: movq 16(%r14), %rdx movq -56(%rbp), %rsi ## 8-byte Reload movq %rdx, 16(%rsi) LBB0_13: movq _ATOM_PPLIB_R600_FLAGS_PCIEGEN2@GOTPCREL(%rip), %rdx movl (%rdx), %edx xorl %esi, %esi movq -64(%rbp), %rbx ## 8-byte Reload andl 4(%rbx), %edx setne %sil movl %esi, 8(%rdi) movq -48(%rbp), %rbx ## 8-byte Reload LBB0_14: movq _ATOM_PPLIB_CLASSIFICATION2_ULV@GOTPCREL(%rip), %rdx movl (%rdx), %edx testl %edx, 4(%r12) je LBB0_17 ## %bb.15: movq (%rbx), %rdx movq _CHIP_BARTS@GOTPCREL(%rip), %rsi cmpq (%rsi), %rdx jl LBB0_17 ## %bb.16: movq -56(%rbp), %rdx ## 8-byte Reload movl $1, (%rdx) movq %r14, 8(%rdx) LBB0_17: cmpl %ecx, 12(%rdi) jle LBB0_19 ## %bb.18: movl %ecx, 12(%rdi) LBB0_19: cmpl %ecx, 16(%rdi) jge LBB0_21 ## %bb.20: movl %ecx, 16(%rdi) LBB0_21: movq _ATOM_PPLIB_CLASSIFICATION_BOOT@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_23 ## %bb.22: leaq -96(%rbp), %rsi leaq -88(%rbp), %rdx leaq -104(%rbp), %rcx movq %rbx, %rdi callq _radeon_atombios_get_default_voltages movl 32(%rbx), %r15d movl %r15d, 8(%r14) movl 36(%rbx), %r13d movl %r13d, 12(%r14) movl -96(%rbp), %eax movl %eax, (%r14) movq -88(%rbp), %rax movq %rax, 16(%r14) movl (%r12), %eax LBB0_23: movq _ATOM_PPLIB_CLASSIFICATION_UI_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax movq _ATOM_PPLIB_CLASSIFICATION_UI_PERFORMANCE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_25 ## %bb.24: movl %r13d, 8(%rbx) movl %r15d, 12(%rbx) movl (%r14), %eax movl %eax, 16(%rbx) movq 16(%r14), %rax movq %rax, 24(%rbx) LBB0_25: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CHIP_CEDAR,8,3 ## @CHIP_CEDAR .comm _ATOM_PPLIB_CLASSIFICATION_ACPI,4,2 ## @ATOM_PPLIB_CLASSIFICATION_ACPI .comm _ATOM_PPLIB_R600_FLAGS_PCIEGEN2,4,2 ## @ATOM_PPLIB_R600_FLAGS_PCIEGEN2 .comm _ATOM_PPLIB_CLASSIFICATION2_ULV,4,2 ## @ATOM_PPLIB_CLASSIFICATION2_ULV .comm _CHIP_BARTS,8,3 ## @CHIP_BARTS .comm _ATOM_PPLIB_CLASSIFICATION_BOOT,4,2 ## @ATOM_PPLIB_CLASSIFICATION_BOOT .comm _ATOM_PPLIB_CLASSIFICATION_UI_MASK,4,2 ## @ATOM_PPLIB_CLASSIFICATION_UI_MASK .comm _ATOM_PPLIB_CLASSIFICATION_UI_PERFORMANCE,4,2 ## @ATOM_PPLIB_CLASSIFICATION_UI_PERFORMANCE .no_dead_strip _rv7xx_parse_pplib_clock_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rv7xx_parse_pplib_clock_info _rv7xx_parse_pplib_clock_info: ; @rv7xx_parse_pplib_clock_info .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x24, x3 mov x25, x2 mov x20, x1 mov x19, x0 bl _rv770_get_pi mov x21, x0 mov x0, x19 bl _evergreen_get_pi mov x22, x0 mov x0, x20 bl _rv770_get_ps mov x23, x0 cmp w25, #1 b.eq LBB0_3 ; %bb.1: cbnz w25, LBB0_4 ; %bb.2: mov x25, x23 b LBB0_5 LBB0_3: add x25, x23, #48 b LBB0_5 LBB0_4: add x25, x23, #24 LBB0_5: ldr x8, [x19] Lloh0: adrp x28, _CHIP_CEDAR@GOTPAGE Lloh1: ldr x28, [x28, _CHIP_CEDAR@GOTPAGEOFF] ldr x9, [x28] cmp x8, x9 b.ge LBB0_7 ; %bb.6: ldr w0, [x24, #20] bl _le16_to_cpu ldr w8, [x24] orr w26, w0, w8, lsl #16 ldr w0, [x24, #16] bl _le16_to_cpu ldr w8, [x24, #4] orr w27, w0, w8, lsl #16 ldr w0, [x24, #12] bl _le16_to_cpu str w0, [x25] b LBB0_8 LBB0_7: ldr w0, [x24, #24] bl _le16_to_cpu ldr w8, [x24] orr w26, w0, w8, lsl #16 ldr w0, [x24, #20] bl _le16_to_cpu ldr w8, [x24, #4] orr w27, w0, w8, lsl #16 ldr w0, [x24, #16] bl _le16_to_cpu str w0, [x25] ldr w0, [x24, #12] bl _le16_to_cpu str x0, [x25, #16] LBB0_8: ldr w0, [x24, #8] bl _le32_to_cpu stp w0, w27, [x25, #4] str w26, [x25, #12] ldr w9, [x25] mov w8, #65281 cmp w9, w8 b.ne LBB0_12 ; %bb.9: ldr w9, [x21] cbz w9, LBB0_11 ; %bb.10: str w9, [x25] b LBB0_12 LBB0_11: mov w9, #65281 LBB0_12: ldr w8, [x20] Lloh2: adrp x10, _ATOM_PPLIB_CLASSIFICATION_ACPI@GOTPAGE Lloh3: ldr x10, [x10, _ATOM_PPLIB_CLASSIFICATION_ACPI@GOTPAGEOFF] Lloh4: ldr w10, [x10] tst w10, w8 b.eq LBB0_16 ; %bb.13: str w9, [x21, #4] ldr x10, [x19] ldr x11, [x28] cmp x10, x11 b.lt LBB0_15 ; %bb.14: ldr x10, [x25, #16] str x10, [x22, #16] LBB0_15: ldr w10, [x23, #4] Lloh5: adrp x11, _ATOM_PPLIB_R600_FLAGS_PCIEGEN2@GOTPAGE Lloh6: ldr x11, [x11, _ATOM_PPLIB_R600_FLAGS_PCIEGEN2@GOTPAGEOFF] Lloh7: ldr w11, [x11] tst w11, w10 cset w10, ne str w10, [x21, #8] LBB0_16: ldr w10, [x20, #4] Lloh8: adrp x11, _ATOM_PPLIB_CLASSIFICATION2_ULV@GOTPAGE Lloh9: ldr x11, [x11, _ATOM_PPLIB_CLASSIFICATION2_ULV@GOTPAGEOFF] Lloh10: ldr w11, [x11] tst w11, w10 b.eq LBB0_19 ; %bb.17: ldr x10, [x19] Lloh11: adrp x11, _CHIP_BARTS@GOTPAGE Lloh12: ldr x11, [x11, _CHIP_BARTS@GOTPAGEOFF] Lloh13: ldr x11, [x11] cmp x10, x11 b.lt LBB0_19 ; %bb.18: mov w10, #1 str w10, [x22] str x25, [x22, #8] LBB0_19: ldr w10, [x21, #12] cmp w10, w9 b.le LBB0_21 ; %bb.20: str w9, [x21, #12] LBB0_21: ldr w10, [x21, #16] cmp w10, w9 b.ge LBB0_23 ; %bb.22: str w9, [x21, #16] LBB0_23: Lloh14: adrp x9, _ATOM_PPLIB_CLASSIFICATION_BOOT@GOTPAGE Lloh15: ldr x9, [x9, _ATOM_PPLIB_CLASSIFICATION_BOOT@GOTPAGEOFF] Lloh16: ldr w9, [x9] tst w9, w8 b.eq LBB0_25 ; %bb.24: add x1, sp, #24 add x2, sp, #16 add x3, sp, #8 mov x0, x19 bl _radeon_atombios_get_default_voltages ldr w27, [x19, #32] str w27, [x25, #8] ldr w26, [x19, #36] str w26, [x25, #12] ldr x8, [sp, #24] str w8, [x25] ldr x8, [sp, #16] str x8, [x25, #16] ldr w8, [x20] LBB0_25: Lloh17: adrp x9, _ATOM_PPLIB_CLASSIFICATION_UI_MASK@GOTPAGE Lloh18: ldr x9, [x9, _ATOM_PPLIB_CLASSIFICATION_UI_MASK@GOTPAGEOFF] Lloh19: ldr w9, [x9] and w8, w9, w8 Lloh20: adrp x9, _ATOM_PPLIB_CLASSIFICATION_UI_PERFORMANCE@GOTPAGE Lloh21: ldr x9, [x9, _ATOM_PPLIB_CLASSIFICATION_UI_PERFORMANCE@GOTPAGEOFF] Lloh22: ldr w9, [x9] cmp w8, w9 b.ne LBB0_27 ; %bb.26: stp w26, w27, [x19, #8] ldr w8, [x25] str w8, [x19, #16] ldr x8, [x25, #16] str x8, [x19, #24] LBB0_27: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _CHIP_CEDAR,8,3 ; @CHIP_CEDAR .comm _ATOM_PPLIB_CLASSIFICATION_ACPI,4,2 ; @ATOM_PPLIB_CLASSIFICATION_ACPI .comm _ATOM_PPLIB_R600_FLAGS_PCIEGEN2,4,2 ; @ATOM_PPLIB_R600_FLAGS_PCIEGEN2 .comm _ATOM_PPLIB_CLASSIFICATION2_ULV,4,2 ; @ATOM_PPLIB_CLASSIFICATION2_ULV .comm _CHIP_BARTS,8,3 ; @CHIP_BARTS .comm _ATOM_PPLIB_CLASSIFICATION_BOOT,4,2 ; @ATOM_PPLIB_CLASSIFICATION_BOOT .comm _ATOM_PPLIB_CLASSIFICATION_UI_MASK,4,2 ; @ATOM_PPLIB_CLASSIFICATION_UI_MASK .comm _ATOM_PPLIB_CLASSIFICATION_UI_PERFORMANCE,4,2 ; @ATOM_PPLIB_CLASSIFICATION_UI_PERFORMANCE .no_dead_strip _rv7xx_parse_pplib_clock_info .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv770_dpm.c_rv7xx_parse_pplib_clock_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _netdev_is_managed ## -- Begin function netdev_is_managed .p2align 4, 0x90 _netdev_is_managed: ## @netdev_is_managed .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 xorl %eax, %eax testq %rdi, %rdi je LBB0_4 ## %bb.1: movq %rdi, %rbx movq 8(%rdi), %rcx testq %rcx, %rcx je LBB0_4 ## %bb.2: movl (%rbx), %esi testl %esi, %esi je LBB0_4 ## %bb.3: movl (%rcx), %edi callq _hashmap_get movq %rax, %rcx xorl %eax, %eax cmpq %rbx, %rcx sete %al LBB0_4: 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 _netdev_is_managed ; -- Begin function netdev_is_managed .p2align 2 _netdev_is_managed: ; @netdev_is_managed .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cbz x0, LBB0_5 ; %bb.1: mov x19, x0 ldr x8, [x0, #8] cbz x8, LBB0_4 ; %bb.2: ldr w1, [x19] cbz w1, LBB0_4 ; %bb.3: ldr w0, [x8] bl _hashmap_get cmp x0, x19 cset w0, eq b LBB0_5 LBB0_4: mov w0, #0 LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/systemd/src/network/netdev/extr_netdev.c_netdev_is_managed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function perf_event_comm_match _perf_event_comm_match: ## @perf_event_comm_match .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _perf_event_comm_match .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function perf_event_comm_match _perf_event_comm_match: ; @perf_event_comm_match .cfi_startproc ; %bb.0: ldr w0, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _perf_event_comm_match .subsections_via_symbols
AnghaBench/linux/kernel/events/extr_core.c_perf_event_comm_match.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getenv ## -- Begin function getenv .p2align 4, 0x90 _getenv: ## @getenv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movzbl (%r14,%r12), %eax testb %al, %al je LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpb $61, %al je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 incq %r12 jmp LBB0_1 LBB0_4: movq _environ@GOTPCREL(%rip), %rax movq (%rax), %rbx movq (%rbx), %r13 testq %r13, %r13 je LBB0_5 ## %bb.6: addq $8, %rbx xorl %r15d, %r15d jmp LBB0_7 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movq (%rbx), %r13 addq $8, %rbx testq %r13, %r13 je LBB0_11 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq %r13, %rdi movq %r14, %rsi movq %r12, %rdx callq _strncmp testl %eax, %eax jne LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 cmpb $61, (%r13,%r12) jne LBB0_10 ## %bb.9: leaq (%r12,%r13), %r15 incq %r15 jmp LBB0_11 LBB0_5: xorl %r15d, %r15d LBB0_11: movq %r15, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl ___findenv ## -- Begin function __findenv .p2align 4, 0x90 ___findenv: ## @__findenv .cfi_startproc ## %bb.0: 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 xorl %r13d, %r13d .p2align 4, 0x90 LBB1_1: ## =>This Inner Loop Header: Depth=1 movzbl (%r15,%r13), %eax testb %al, %al je LBB1_4 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 cmpb $61, %al je LBB1_4 ## %bb.3: ## in Loop: Header=BB1_1 Depth=1 incq %r13 jmp LBB1_1 LBB1_4: movq _environ@GOTPCREL(%rip), %rax movq (%rax), %r14 movq (%r14), %rbx testq %rbx, %rbx je LBB1_10 ## %bb.5: movq %rsi, -48(%rbp) ## 8-byte Spill xorl %r12d, %r12d jmp LBB1_6 .p2align 4, 0x90 LBB1_9: ## in Loop: Header=BB1_6 Depth=1 movq 8(%r14,%r12,8), %rbx incq %r12 testq %rbx, %rbx je LBB1_10 LBB1_6: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi movq %r15, %rsi movq %r13, %rdx callq _strncmp testl %eax, %eax jne LBB1_9 ## %bb.7: ## in Loop: Header=BB1_6 Depth=1 cmpb $61, (%rbx,%r13) jne LBB1_9 ## %bb.8: movq -48(%rbp), %rax ## 8-byte Reload movl %r12d, (%rax) leaq (%rbx,%r13), %rax incq %rax jmp LBB1_11 LBB1_10: xorl %eax, %eax LBB1_11: 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 _getenv ; -- Begin function getenv .p2align 2 _getenv: ; @getenv .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 mov x20, #0 ldrb w8, [x19, x20] cbz w8, LBB0_3 LBB0_1: ; =>This Inner Loop Header: Depth=1 cmp w8, #61 b.eq LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 add x20, x20, #1 ldrb w8, [x19, x20] cbnz w8, LBB0_1 LBB0_3: Lloh0: adrp x8, _environ@GOTPAGE Lloh1: ldr x8, [x8, _environ@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x21, [x8] cbz x21, LBB0_9 ; %bb.4: add x22, x8, #8 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldr x21, [x22], #8 cbz x21, LBB0_9 LBB0_6: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x19 mov x2, x20 bl _strncmp cbnz w0, LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldrb w8, [x21, x20] cmp w8, #61 b.ne LBB0_5 ; %bb.8: add x8, x21, x20 add x0, x8, #1 b LBB0_10 LBB0_9: mov x0, #0 LBB0_10: 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 .globl ___findenv ; -- Begin function __findenv .p2align 2 ___findenv: ; @__findenv .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x21, x0 mov x20, #0 ldrb w8, [x21, x20] cbz w8, LBB1_3 LBB1_1: ; =>This Inner Loop Header: Depth=1 cmp w8, #61 b.eq LBB1_3 ; %bb.2: ; in Loop: Header=BB1_1 Depth=1 add x20, x20, #1 ldrb w8, [x21, x20] cbnz w8, LBB1_1 LBB1_3: Lloh3: adrp x8, _environ@GOTPAGE Lloh4: ldr x8, [x8, _environ@GOTPAGEOFF] Lloh5: ldr x8, [x8] ldr x22, [x8] cbz x22, LBB1_9 ; %bb.4: mov x23, #0 add x24, x8, #8 b LBB1_6 LBB1_5: ; in Loop: Header=BB1_6 Depth=1 ldr x22, [x24, x23, lsl #3] add x23, x23, #1 cbz x22, LBB1_9 LBB1_6: ; =>This Inner Loop Header: Depth=1 mov x0, x22 mov x1, x21 mov x2, x20 bl _strncmp cbnz w0, LBB1_5 ; %bb.7: ; in Loop: Header=BB1_6 Depth=1 ldrb w8, [x22, x20] cmp w8, #61 b.ne LBB1_5 ; %bb.8: str w23, [x19] add x8, x22, x20 add x0, x8, #1 b LBB1_10 LBB1_9: mov x0, #0 LBB1_10: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/14199607.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hw_queue_ctor _hw_queue_ctor: ## @hw_queue_ctor .cfi_startproc ## %bb.0: 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, %r14d movl %esi, %r12d movq _PAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movl %esi, %eax cltd idivl %r14d cmpl %r14d, %esi jl LBB0_2 ## %bb.1: movl %eax, %ebx testl %eax, %eax je LBB0_2 ## %bb.3: movl %ecx, %r15d movq %rdi, %r13 movl %r14d, %eax imull %r12d, %eax movl %eax, (%rdi) leal (,%r12,8), %edi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _kmalloc movq %rax, 16(%r13) testq %rax, %rax je LBB0_19 ## %bb.4: movl %r15d, -44(%rbp) ## 4-byte Spill movl %r14d, -48(%rbp) ## 4-byte Spill movslq %r14d, %r14 movq %r12, -56(%rbp) ## 8-byte Spill movslq %r12d, %r15 shlq $2, %r14 xorl %r12d, %r12d jmp LBB0_5 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_5 Depth=1 testq %rax, %rax je LBB0_12 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_9 Depth 2 cmpl -56(%rbp), %r12d ## 4-byte Folded Reload jge LBB0_20 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edi callq _get_zeroed_page testq %rax, %rax je LBB0_11 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 testl %ebx, %ebx jle LBB0_11 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 movslq %r12d, %rdx incq %rdx movl $1, %ecx movq %rax, %rsi .p2align 4, 0x90 LBB0_9: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movq 16(%r13), %rdi movq %rsi, -8(%rdi,%rdx,8) incl %r12d cmpl %ebx, %ecx jge LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=2 leaq 1(%rdx), %rdi addq %r14, %rsi incl %ecx cmpq %r15, %rdx movq %rdi, %rdx jl LBB0_9 jmp LBB0_11 LBB0_2: leaq L_.str(%rip), %rdi xorl %ebx, %ebx movl %r14d, %edx xorl %eax, %eax callq _ehea_error movq _EINVAL@GOTPCREL(%rip), %rax jmp LBB0_17 LBB0_19: leaq L_.str.1(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _ehea_error movq _ENOMEM@GOTPCREL(%rip), %rax jmp LBB0_17 LBB0_20: movq $0, 24(%r13) movl -44(%rbp), %eax ## 4-byte Reload movl %eax, 4(%r13) movl -48(%rbp), %eax ## 4-byte Reload movl %eax, 8(%r13) movl $1, 12(%r13) xorl %ebx, %ebx jmp LBB0_18 LBB0_12: cmpl $0, -56(%rbp) ## 4-byte Folded Reload jle LBB0_16 ## %bb.13: movslq %ebx, %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_14: ## =>This Inner Loop Header: Depth=1 movq 16(%r13), %rax movq (%rax,%rbx,8), %rdi testq %rdi, %rdi je LBB0_16 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 callq _free_page addq %r14, %rbx cmpq %r15, %rbx jl LBB0_14 LBB0_16: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ebx, %ebx LBB0_17: subl (%rax), %ebx LBB0_18: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "pagesize conflict! kernel pagesize=%d, ehea pagesize=%d" .comm _EINVAL,4,2 ## @EINVAL .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL L_.str.1: ## @.str.1 .asciz "no mem for queue_pages" .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _hw_queue_ctor .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hw_queue_ctor _hw_queue_ctor: ; @hw_queue_ctor .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x2 Lloh0: adrp x8, _PAGE_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] Lloh2: ldr w8, [x8] sdiv w24, w8, w2 cmp w8, w2 ccmp w24, #0, #4, ge b.ne LBB0_2 ; %bb.1: stp x8, x20, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _ehea_error Lloh5: adrp x8, _EINVAL@GOTPAGE Lloh6: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_18 LBB0_2: mov x21, x3 mov x22, x1 mov x19, x0 mul w8, w20, w1 str w8, [x0] lsl w0, w1, #3 Lloh7: adrp x25, _GFP_KERNEL@GOTPAGE Lloh8: ldr x25, [x25, _GFP_KERNEL@GOTPAGEOFF] ldr w1, [x25] bl _kmalloc str x0, [x19, #16] cbz x0, LBB0_11 ; %bb.3: mov w26, #0 sxtw x23, w22 mov x8, x20 sbfiz x27, x8, #2, #32 b LBB0_6 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 add w26, w26, w8 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 cbz x0, LBB0_13 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 cmp w26, w22 b.ge LBB0_12 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [x25] bl _get_zeroed_page cmp x0, #0 ccmp w24, #1, #8, ne b.lt LBB0_5 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 mov w8, #0 sxtw x9, w26 mov x10, x0 LBB0_9: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x11, [x19, #16] str x10, [x11, x9, lsl #3] add w8, w8, #1 cmp w8, w24 b.ge LBB0_4 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 add x9, x9, #1 add x10, x10, x27 cmp x9, x23 b.lt LBB0_9 b LBB0_4 LBB0_11: Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF bl _ehea_error b LBB0_17 LBB0_12: mov w0, #0 str xzr, [x19, #24] stp w21, w20, [x19, #4] mov w8, #1 str w8, [x19, #12] b LBB0_19 LBB0_13: cmp w22, #1 b.lt LBB0_17 ; %bb.14: mov x20, #0 sxtw x21, w24 LBB0_15: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #16] ldr x0, [x8, x20, lsl #3] cbz x0, LBB0_17 ; %bb.16: ; in Loop: Header=BB0_15 Depth=1 bl _free_page add x20, x20, x21 cmp x20, x23 b.lt LBB0_15 LBB0_17: Lloh11: adrp x8, _ENOMEM@GOTPAGE Lloh12: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_18: ldr w8, [x8] neg w0, w8 LBB0_19: 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 Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "pagesize conflict! kernel pagesize=%d, ehea pagesize=%d" .comm _EINVAL,4,2 ; @EINVAL .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL l_.str.1: ; @.str.1 .asciz "no mem for queue_pages" .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _hw_queue_ctor .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/ehea/extr_ehea_qmr.c_hw_queue_ctor.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str(%rip), %rdi leaq -8(%rbp), %rsi xorl %eax, %eax callq _scanf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%lf" .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 add x8, sp, #8 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf 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 "%lf" .subsections_via_symbols
the_stack_data/87636926.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _Cs2SortBlocks ## -- Begin function Cs2SortBlocks .p2align 4, 0x90 _Cs2SortBlocks: ## @Cs2SortBlocks .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _MAX_BLOCKS@GOTPCREL(%rip), %rax movl (%rax), %eax leal 1(%rax), %ecx movl $1, %edx cmpl $2, %ecx cmovael %ecx, %edx jae LBB0_14 ## %bb.1: xorl %esi, %esi xorl %ecx, %ecx LBB0_2: testb $1, %dl je LBB0_7 ## %bb.3: movq (%rdi), %rdx cmpq $0, (%rdx,%rsi,8) je LBB0_4 LBB0_7: cmpl %eax, %ecx jae LBB0_13 LBB0_8: movl %ecx, %edx movl %eax, %esi subl %ecx, %esi movq %rdx, %rcx andl $3, %esi je LBB0_11 ## %bb.9: movq %rdx, %rcx .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq (%rdi), %r8 movq $0, (%r8,%rcx,8) incq %rcx decq %rsi jne LBB0_10 LBB0_11: subq %rax, %rdx cmpq $-4, %rdx ja LBB0_13 .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movq (%rdi), %rdx movq $0, (%rdx,%rcx,8) movq (%rdi), %rdx movq $0, 8(%rdx,%rcx,8) movq (%rdi), %rdx movq $0, 16(%rdx,%rcx,8) movq (%rdi), %rdx movq $0, 24(%rdx,%rcx,8) addq $4, %rcx cmpq %rcx, %rax jne LBB0_12 jmp LBB0_13 LBB0_14: movl %edx, %r8d andl $-2, %r8d xorl %esi, %esi xorl %ecx, %ecx jmp LBB0_15 .p2align 4, 0x90 LBB0_22: ## in Loop: Header=BB0_15 Depth=1 incl %ecx LBB0_23: ## in Loop: Header=BB0_15 Depth=1 addq $2, %rsi cmpq %rsi, %r8 je LBB0_2 LBB0_15: ## =>This Inner Loop Header: Depth=1 movq (%rdi), %r9 cmpq $0, (%r9,%rsi,8) jne LBB0_19 ## %bb.16: ## in Loop: Header=BB0_15 Depth=1 movl %ecx, %r10d cmpq %r10, %rsi je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_15 Depth=1 movq $0, (%r9,%r10,8) LBB0_18: ## in Loop: Header=BB0_15 Depth=1 incl %ecx LBB0_19: ## in Loop: Header=BB0_15 Depth=1 movq (%rdi), %r9 cmpq $0, 8(%r9,%rsi,8) jne LBB0_23 ## %bb.20: ## in Loop: Header=BB0_15 Depth=1 leaq 1(%rsi), %r11 movl %ecx, %r10d cmpq %r10, %r11 je LBB0_22 ## %bb.21: ## in Loop: Header=BB0_15 Depth=1 movq $0, (%r9,%r10,8) jmp LBB0_22 LBB0_4: movl %ecx, %r8d cmpq %r8, %rsi je LBB0_6 ## %bb.5: movq $0, (%rdx,%r8,8) LBB0_6: incl %ecx cmpl %eax, %ecx jb LBB0_8 LBB0_13: popq %rbp retq .cfi_endproc ## -- End function .comm _MAX_BLOCKS,4,2 ## @MAX_BLOCKS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _Cs2SortBlocks ; -- Begin function Cs2SortBlocks .p2align 2 _Cs2SortBlocks: ; @Cs2SortBlocks .cfi_startproc ; %bb.0: mov x10, #0 ; =0x0 mov w9, #0 ; =0x0 Lloh0: adrp x8, _MAX_BLOCKS@GOTPAGE Lloh1: ldr x8, [x8, _MAX_BLOCKS@GOTPAGEOFF] Lloh2: ldr w8, [x8] add w11, w8, #1 cmp w11, #1 mov w11, #1 ; =0x1 csinc w11, w11, w8, ls b LBB0_3 LBB0_1: ; in Loop: Header=BB0_3 Depth=1 add w9, w9, #1 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x10, x10, #1 cmp x11, x10 b.eq LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x12, [x0] ldr x13, [x12, x10, lsl #3] cbnz x13, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov w13, w9 cmp x10, x13 b.eq LBB0_1 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 str xzr, [x12, x13, lsl #3] b LBB0_1 LBB0_6: cmp w9, w8 b.hs LBB0_9 ; %bb.7: mov w9, w9 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr x10, [x0] str xzr, [x10, x9, lsl #3] add x9, x9, #1 cmp x8, x9 b.ne LBB0_8 LBB0_9: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MAX_BLOCKS,4,2 ; @MAX_BLOCKS .subsections_via_symbols
assembly_file_159482.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function ft_ultimate_range LCPI0_0: .long 0 ## 0x0 .long 1 ## 0x1 .long 2 ## 0x2 .long 3 ## 0x3 LCPI0_1: .long 4 ## 0x4 .long 4 ## 0x4 .long 4 ## 0x4 .long 4 ## 0x4 LCPI0_2: .long 8 ## 0x8 .long 8 ## 0x8 .long 8 ## 0x8 .long 8 ## 0x8 LCPI0_3: .long 12 ## 0xc .long 12 ## 0xc .long 12 ## 0xc .long 12 ## 0xc LCPI0_4: .long 16 ## 0x10 .long 16 ## 0x10 .long 16 ## 0x10 .long 16 ## 0x10 LCPI0_5: .long 20 ## 0x14 .long 20 ## 0x14 .long 20 ## 0x14 .long 20 ## 0x14 LCPI0_6: .long 24 ## 0x18 .long 24 ## 0x18 .long 24 ## 0x18 .long 24 ## 0x18 LCPI0_7: .long 28 ## 0x1c .long 28 ## 0x1c .long 28 ## 0x1c .long 28 ## 0x1c LCPI0_8: .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .section __TEXT,__text,regular,pure_instructions .globl _ft_ultimate_range .p2align 4, 0x90 _ft_ultimate_range: ## @ft_ultimate_range .cfi_startproc ## %bb.0: 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, %r12d movq %rdi, %r14 subl %esi, %r12d jle LBB0_1 ## %bb.2: movl %esi, %r15d movslq %r12d, %rbx leaq (,%rbx,4), %rdi callq _malloc cmpl $8, %ebx jae LBB0_4 ## %bb.3: xorl %ecx, %ecx jmp LBB0_13 LBB0_1: movq $0, (%r14) xorl %r12d, %r12d jmp LBB0_16 LBB0_4: movl %r12d, %ecx andl $-8, %ecx movd %r15d, %xmm0 pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0] paddd LCPI0_0(%rip), %xmm0 leaq -8(%rcx), %rdi movq %rdi, %rsi shrq $3, %rsi incq %rsi movl %esi, %edx andl $3, %edx cmpq $24, %rdi jae LBB0_6 ## %bb.5: xorl %edi, %edi jmp LBB0_8 LBB0_6: andq $-4, %rsi xorl %edi, %edi movdqa LCPI0_1(%rip), %xmm8 ## xmm8 = [4,4,4,4] movdqa LCPI0_2(%rip), %xmm9 ## xmm9 = [8,8,8,8] movdqa LCPI0_3(%rip), %xmm10 ## xmm10 = [12,12,12,12] movdqa LCPI0_4(%rip), %xmm4 ## xmm4 = [16,16,16,16] movdqa LCPI0_5(%rip), %xmm5 ## xmm5 = [20,20,20,20] movdqa LCPI0_6(%rip), %xmm6 ## xmm6 = [24,24,24,24] movdqa LCPI0_7(%rip), %xmm7 ## xmm7 = [28,28,28,28] movdqa LCPI0_8(%rip), %xmm1 ## xmm1 = [32,32,32,32] .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movdqa %xmm0, %xmm2 paddd %xmm8, %xmm2 movdqu %xmm0, (%rax,%rdi,4) movdqu %xmm2, 16(%rax,%rdi,4) movdqa %xmm0, %xmm2 paddd %xmm9, %xmm2 movdqa %xmm0, %xmm3 paddd %xmm10, %xmm3 movdqu %xmm2, 32(%rax,%rdi,4) movdqu %xmm3, 48(%rax,%rdi,4) movdqa %xmm0, %xmm2 paddd %xmm4, %xmm2 movdqa %xmm0, %xmm3 paddd %xmm5, %xmm3 movdqu %xmm2, 64(%rax,%rdi,4) movdqu %xmm3, 80(%rax,%rdi,4) movdqa %xmm0, %xmm2 paddd %xmm6, %xmm2 movdqa %xmm0, %xmm3 paddd %xmm7, %xmm3 movdqu %xmm2, 96(%rax,%rdi,4) movdqu %xmm3, 112(%rax,%rdi,4) addq $32, %rdi paddd %xmm1, %xmm0 addq $-4, %rsi jne LBB0_7 LBB0_8: testq %rdx, %rdx je LBB0_11 ## %bb.9: leaq (%rax,%rdi,4), %rsi addq $16, %rsi shlq $5, %rdx xorl %edi, %edi movdqa LCPI0_1(%rip), %xmm1 ## xmm1 = [4,4,4,4] movdqa LCPI0_2(%rip), %xmm2 ## xmm2 = [8,8,8,8] .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movdqa %xmm0, %xmm3 paddd %xmm1, %xmm3 movdqu %xmm0, -16(%rsi,%rdi) movdqu %xmm3, (%rsi,%rdi) paddd %xmm2, %xmm0 addq $32, %rdi cmpq %rdi, %rdx jne LBB0_10 LBB0_11: cmpq %r12, %rcx je LBB0_15 ## %bb.12: addl %ecx, %r15d LBB0_13: leaq (%rax,%rcx,4), %rdx movq %r12, %rsi subq %rcx, %rsi movl %r15d, %ecx xorl %edi, %edi .p2align 4, 0x90 LBB0_14: ## =>This Inner Loop Header: Depth=1 leal (%rcx,%rdi), %ebx movl %ebx, (%rdx,%rdi,4) incq %rdi cmpq %rdi, %rsi jne LBB0_14 LBB0_15: movq %rax, (%r14) LBB0_16: movl %r12d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function ft_ultimate_range lCPI0_0: .long 0 ; 0x0 .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .section __TEXT,__text,regular,pure_instructions .globl _ft_ultimate_range .p2align 2 _ft_ultimate_range: ; @ft_ultimate_range .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 subs w19, w2, w1 b.le LBB0_3 ; %bb.1: mov x21, x1 mov x8, x19 sbfiz x0, x8, #2, #32 bl _malloc cmp w19, #16 b.hs LBB0_4 ; %bb.2: mov x9, #0 mov x8, x21 b LBB0_7 LBB0_3: mov w19, #0 str xzr, [x20] b LBB0_10 LBB0_4: and x9, x19, #0xfffffff0 add w8, w9, w21 dup.4s v0, w21 Lloh0: adrp x10, lCPI0_0@PAGE Lloh1: ldr q1, [x10, lCPI0_0@PAGEOFF] add.4s v0, v0, v1 add x10, x0, #32 movi.4s v1, #4 movi.4s v2, #8 movi.4s v3, #12 movi.4s v4, #16 mov x11, x9 LBB0_5: ; =>This Inner Loop Header: Depth=1 add.4s v5, v0, v1 add.4s v6, v0, v2 add.4s v7, v0, v3 stp q0, q5, [x10, #-32] stp q6, q7, [x10], #64 add.4s v0, v0, v4 subs x11, x11, #16 b.ne LBB0_5 ; %bb.6: cmp x9, x19 b.eq LBB0_9 LBB0_7: add x10, x0, x9, lsl #2 sub x9, x19, x9 LBB0_8: ; =>This Inner Loop Header: Depth=1 str w8, [x10], #4 add w8, w8, #1 subs x9, x9, #1 b.ne LBB0_8 LBB0_9: str x0, [x20] LBB0_10: 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 AdrpLdr Lloh0, Lloh1 .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/111078095.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _buf_write ## -- Begin function buf_write .p2align 4, 0x90 _buf_write: ## @buf_write .cfi_startproc ## %bb.0: 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, %ebx movq %rdi, %r14 movl (%rdi), %eax movl 4(%rdi), %edi movl %eax, %ecx subl %edi, %ecx cmpl %edx, %ecx jge LBB0_1 ## %bb.2: movq _SZ@GOTPCREL(%rip), %rcx addl %ebx, %eax addl (%rcx), %eax movl %eax, (%r14) movl 8(%r14), %edi movq %rsi, %r15 movl %eax, %esi callq _realloc movl %eax, %edi callq _NOFAIL movq %r15, %rsi movl %eax, 8(%r14) movl 4(%r14), %edi jmp LBB0_3 LBB0_1: movl 8(%r14), %eax LBB0_3: addl %eax, %edi movl %ebx, %edx callq _strncpy addl %ebx, 4(%r14) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_7646 ## @g_aug_volatile_7646 .p2align 2, 0x0 _g_aug_volatile_7646: .long 3 ## 0x3 .comm _SZ,4,2 ## @SZ .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _buf_write ; -- Begin function buf_write .p2align 2 _buf_write: ; @buf_write .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x0 ldp w9, w8, [x0] sub w10, w9, w8 cmp w10, w2 b.ge LBB0_2 ; %bb.1: Lloh0: adrp x8, _SZ@GOTPAGE Lloh1: ldr x8, [x8, _SZ@GOTPAGEOFF] Lloh2: ldr w8, [x8] add w9, w9, w19 add w8, w9, w8 str w8, [x20] ldr w0, [x20, #8] mov x21, x1 mov x1, x8 bl _realloc bl _NOFAIL mov x1, x21 str w0, [x20, #8] ldr w8, [x20, #4] b LBB0_3 LBB0_2: ldr w0, [x20, #8] LBB0_3: add w0, w8, w0 mov x2, x19 bl _strncpy ldr w8, [x20, #4] add w8, w8, w19 str w8, [x20, #4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_7646 ; @g_aug_volatile_7646 .p2align 2, 0x0 _g_aug_volatile_7646: .long 3 ; 0x3 .comm _SZ,4,2 ; @SZ .subsections_via_symbols
assembly_file_185361.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hclge_init_kdump_kernel_config _hclge_init_kdump_kernel_config: ## @hclge_init_kdump_kernel_config .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 xorl %eax, %eax callq _is_kdump_kernel testl %eax, %eax je LBB0_2 ## %bb.1: movq 32(%rbx), %rdi leaq L_.str(%rip), %rsi callq _dev_info movq 8(%rbx), %rax movq 16(%rbx), %rcx addq %rcx, %rax incq %rax movq %rax, 24(%rbx) movabsq $274877907008, %rax ## imm = 0x4000000040 movq %rax, (%rbx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Running kdump kernel. Using minimal resources\n" .comm _HCLGE_MIN_RX_DESC,4,2 ## @HCLGE_MIN_RX_DESC .comm _HCLGE_MIN_TX_DESC,4,2 ## @HCLGE_MIN_TX_DESC .no_dead_strip _hclge_init_kdump_kernel_config .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hclge_init_kdump_kernel_config _hclge_init_kdump_kernel_config: ; @hclge_init_kdump_kernel_config .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 _is_kdump_kernel cbz w0, LBB0_2 ; %bb.1: ldr x0, [x19, #32] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _dev_info ldp x9, x8, [x19, #8] add x8, x8, x9 add x8, x8, #1 str x8, [x19, #24] movi.2s v0, #64 str d0, [x19] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Running kdump kernel. Using minimal resources\n" .comm _HCLGE_MIN_RX_DESC,4,2 ; @HCLGE_MIN_RX_DESC .comm _HCLGE_MIN_TX_DESC,4,2 ; @HCLGE_MIN_TX_DESC .no_dead_strip _hclge_init_kdump_kernel_config .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_init_kdump_kernel_config.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dfsdm_adc_set_samp_freq _dfsdm_adc_set_samp_freq: ## @dfsdm_adc_set_samp_freq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movl %esi, %ebx movq %rdi, %r12 callq _iio_priv movq %rax, %r14 movl %r15d, %edi movl %ebx, %esi callq _DIV_ROUND_CLOSEST movl %eax, %r13d movl %r15d, %eax xorl %edx, %edx divl %ebx testl %edx, %edx je LBB0_2 ## %bb.1: movl %r15d, %eax xorl %edx, %edx divl %r13d leaq L_.str(%rip), %rsi movq %r12, %rdi movl %ebx, %edx movl %eax, %ecx callq _dev_dbg LBB0_2: movq %r12, %rdi movl %r13d, %esi callq _stm32_dfsdm_compute_all_osrs testl %eax, %eax js LBB0_3 ## %bb.4: xorl %ecx, %ecx movl %r15d, %eax xorl %edx, %edx divl %r13d movl %eax, (%r14) movl %r13d, 4(%r14) jmp LBB0_5 LBB0_3: movl %eax, %ecx LBB0_5: movl %ecx, %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 "Rate not accurate. requested (%u), actual (%u)\n" .no_dead_strip _dfsdm_adc_set_samp_freq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dfsdm_adc_set_samp_freq _dfsdm_adc_set_samp_freq: ; @dfsdm_adc_set_samp_freq .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x23, x2 mov x22, x1 mov x20, x0 bl _iio_priv mov x19, x0 mov x0, x23 mov x1, x22 bl _DIV_ROUND_CLOSEST mov x21, x0 udiv w8, w23, w22 msub w8, w8, w22, w23 udiv w23, w23, w0 cbz w8, LBB0_2 ; %bb.1: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 mov x2, x22 mov x3, x23 bl _dev_dbg LBB0_2: mov x0, x20 mov x1, x21 bl _stm32_dfsdm_compute_all_osrs tbnz w0, #31, LBB0_4 ; %bb.3: mov w0, #0 stp w23, w21, [x19] LBB0_4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Rate not accurate. requested (%u), actual (%u)\n" .no_dead_strip _dfsdm_adc_set_samp_freq .subsections_via_symbols
AnghaBench/linux/drivers/iio/adc/extr_stm32-dfsdm-adc.c_dfsdm_adc_set_samp_freq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _request_binlog ## -- Begin function request_binlog .p2align 4, 0x90 _request_binlog: ## @request_binlog .cfi_startproc ## %bb.0: 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 _LAST_BINLOG_REQUEST_TIME@GOTPCREL(%rip), %rcx movq _REQUEST_BINLOG_DELAY@GOTPCREL(%rip), %rax movq (%rax), %rax addq (%rcx), %rax movq _precise_now@GOTPCREL(%rip), %rdx cmpq (%rdx), %rax jg LBB0_13 ## %bb.1: movq _RELATIVES@GOTPCREL(%rip), %rax movq (%rax), %rbx cmpl $-1, (%rbx) je LBB0_13 ## %bb.2: movq _BINLOG_POSITION@GOTPCREL(%rip), %r15 movq _REQUEST_DELAY@GOTPCREL(%rip), %rsi xorl %r13d, %r13d xorl %r8d, %r8d xorl %r12d, %r12d jmp LBB0_3 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 incl %r13d xorl %eax, %eax movq %r12, -48(%rbp) ## 8-byte Spill movq %rsi, %r12 movl %r8d, %r14d callq _lrand48 movl %r14d, %r8d movq %r12, %rsi movq -48(%rbp), %r12 ## 8-byte Reload cltd idivl %r13d testl %edx, %edx movq _precise_now@GOTPCREL(%rip), %rdx cmoveq %rbx, %r12 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movq 40(%rbx), %rbx cmpl $-1, (%rbx) je LBB0_10 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rax cmpq (%r15), %rax jle LBB0_9 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq (%rsi), %rcx movq 24(%rbx), %rax movq (%rcx,%rax,8), %rcx addq 16(%rbx), %rcx cmpq %rcx, (%rdx) jl LBB0_9 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movslq %r8d, %rcx cmpq %rcx, %rax je LBB0_6 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 jbe LBB0_9 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movl $1, %r13d movq %rbx, %r12 movl %eax, %r8d jmp LBB0_9 LBB0_10: testq %r12, %r12 movq _LAST_BINLOG_REQUEST_TIME@GOTPCREL(%rip), %r14 je LBB0_13 ## %bb.11: xorl %edi, %edi cmpl $3, %r8d setb %dil callq _assert movq %r12, %rdi callq _get_relative_connection movq _precise_now@GOTPCREL(%rip), %rcx testq %rax, %rax je LBB0_13 ## %bb.12: movl 32(%r12), %esi movq %rax, %rdi movq %rcx, %rbx movl $-1, %edx callq _rpc_send_binlog_request movq (%rbx), %rax movq %rax, (%r14) LBB0_13: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LAST_BINLOG_REQUEST_TIME,8,3 ## @LAST_BINLOG_REQUEST_TIME .comm _REQUEST_BINLOG_DELAY,8,3 ## @REQUEST_BINLOG_DELAY .comm _precise_now,8,3 ## @precise_now .comm _RELATIVES,8,3 ## @RELATIVES .comm _BINLOG_POSITION,8,3 ## @BINLOG_POSITION .comm _REQUEST_DELAY,8,3 ## @REQUEST_DELAY .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _request_binlog ; -- Begin function request_binlog .p2align 2 _request_binlog: ; @request_binlog .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x20, _LAST_BINLOG_REQUEST_TIME@GOTPAGE Lloh1: ldr x20, [x20, _LAST_BINLOG_REQUEST_TIME@GOTPAGEOFF] ldr x8, [x20] Lloh2: adrp x9, _REQUEST_BINLOG_DELAY@GOTPAGE Lloh3: ldr x9, [x9, _REQUEST_BINLOG_DELAY@GOTPAGEOFF] Lloh4: ldr x9, [x9] Lloh5: adrp x21, _precise_now@GOTPAGE Lloh6: ldr x21, [x21, _precise_now@GOTPAGEOFF] ldr x10, [x21] add x8, x9, x8 cmp x8, x10 b.gt LBB0_12 ; %bb.1: Lloh7: adrp x8, _RELATIVES@GOTPAGE Lloh8: ldr x8, [x8, _RELATIVES@GOTPAGEOFF] Lloh9: ldr x22, [x8] ldr w8, [x22] cmn w8, #1 b.eq LBB0_12 ; %bb.2: mov w24, #0 mov w23, #0 mov x19, #0 Lloh10: adrp x25, _BINLOG_POSITION@GOTPAGE Lloh11: ldr x25, [x25, _BINLOG_POSITION@GOTPAGEOFF] Lloh12: adrp x26, _REQUEST_DELAY@GOTPAGE Lloh13: ldr x26, [x26, _REQUEST_DELAY@GOTPAGEOFF] mov w27, #1 b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 csel x19, x19, x22, ls csel w23, w23, w8, ls csel w24, w24, w27, ls LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldr x22, [x22, #40] ldr w8, [x22] cmn w8, #1 b.eq LBB0_9 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22, #8] ldr x9, [x25] cmp x8, x9 b.le LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x9, [x21] ldr x10, [x26] ldp x11, x8, [x22, #16] ldr x10, [x10, x8, lsl #3] add x10, x10, x11 cmp x9, x10 b.lt LBB0_4 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 sxtw x9, w23 cmp x8, x9 b.ne LBB0_3 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 add w24, w24, #1 bl _lrand48 sdiv w8, w0, w24 msub w8, w8, w24, w0 cmp w8, #0 csel x19, x22, x19, eq b LBB0_4 LBB0_9: cbz x19, LBB0_12 ; %bb.10: cmp w23, #3 cset w0, lo bl _assert mov x0, x19 bl _get_relative_connection cbz x0, LBB0_12 ; %bb.11: ldr w1, [x19, #32] mov w2, #-1 bl _rpc_send_binlog_request ldr x8, [x21] str x8, [x20] LBB0_12: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _LAST_BINLOG_REQUEST_TIME,8,3 ; @LAST_BINLOG_REQUEST_TIME .comm _REQUEST_BINLOG_DELAY,8,3 ; @REQUEST_BINLOG_DELAY .comm _precise_now,8,3 ; @precise_now .comm _RELATIVES,8,3 ; @RELATIVES .comm _BINLOG_POSITION,8,3 ; @BINLOG_POSITION .comm _REQUEST_DELAY,8,3 ; @REQUEST_DELAY .subsections_via_symbols
AnghaBench/kphp-kdb/copyfast/extr_copyfast-engine-data.c_request_binlog.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lt_grab_mutex _lt_grab_mutex: ## @lt_grab_mutex .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 _lt_mtx@GOTPCREL(%rip), %rbx movq %rbx, %rdi callq _lck_mtx_lock xorl %eax, %eax callq _lt_note_another_blocking_lock_holder xorl %eax, %eax callq _lt_sleep_a_little_bit movq _lt_counter@GOTPCREL(%rip), %rax incl (%rax) xorl %eax, %eax callq _lt_note_blocking_lock_release movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _lck_mtx_unlock ## TAILCALL .cfi_endproc ## -- End function .comm _lt_mtx,4,2 ## @lt_mtx .comm _lt_counter,4,2 ## @lt_counter .no_dead_strip _lt_grab_mutex .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lt_grab_mutex _lt_grab_mutex: ; @lt_grab_mutex .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, _lt_mtx@GOTPAGE Lloh1: ldr x19, [x19, _lt_mtx@GOTPAGEOFF] mov x0, x19 bl _lck_mtx_lock bl _lt_note_another_blocking_lock_holder bl _lt_sleep_a_little_bit Lloh2: adrp x8, _lt_counter@GOTPAGE Lloh3: ldr x8, [x8, _lt_counter@GOTPAGEOFF] ldr w9, [x8] add w9, w9, #1 str w9, [x8] bl _lt_note_blocking_lock_release mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _lck_mtx_unlock .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _lt_mtx,4,2 ; @lt_mtx .comm _lt_counter,4,2 ; @lt_counter .no_dead_strip _lt_grab_mutex .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/arm64/extr_platform_tests.c_lt_grab_mutex.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3rbu_bp_progress ## -- Begin function sqlite3rbu_bp_progress .p2align 4, 0x90 _sqlite3rbu_bp_progress: ## @sqlite3rbu_bp_progress .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %eax addl $-128, %eax cmpl $3, %eax ja LBB0_4 ## %bb.1: movq %rdx, %rcx leaq LJTI0_0(%rip), %rdx movslq (%rdx,%rax,4), %rax addq %rdx, %rax jmpq *%rax LBB0_2: movl 12(%rdi), %r8d testl %r8d, %r8d jle LBB0_8 ## %bb.3: imull $10000, 16(%rdi), %eax ## imm = 0x2710 cltd idivl %r8d jmp LBB0_9 LBB0_4: xorl %edi, %edi popq %rbp jmp _assert ## TAILCALL LBB0_5: movl $10000, (%rsi) ## imm = 0x2710 jmp LBB0_10 LBB0_6: movl $10000, (%rsi) ## imm = 0x2710 movl $10000, (%rcx) ## imm = 0x2710 popq %rbp retq LBB0_7: movl $10000, (%rsi) ## imm = 0x2710 imull $10000, 8(%rdi), %eax ## imm = 0x2710 cltd idivl 4(%rdi) movl %eax, (%rcx) popq %rbp retq LBB0_8: movl $-1, %eax LBB0_9: movl %eax, (%rsi) LBB0_10: movl $0, (%rcx) popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 LJTI0_0: .long L0_0_set_2 .long L0_0_set_5 .long L0_0_set_6 .long L0_0_set_7 .end_data_region ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3rbu_bp_progress ; -- Begin function sqlite3rbu_bp_progress .p2align 2 _sqlite3rbu_bp_progress: ; @sqlite3rbu_bp_progress .cfi_startproc ; %bb.0: ldr w8, [x0] sub w8, w8, #128 cmp w8, #3 b.hi LBB0_4 ; %bb.1: Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: ldr w8, [x0, #12] cmp w8, #1 b.lt LBB0_8 ; %bb.3: ldr w9, [x0, #16] mov w10, #10000 mul w9, w9, w10 sdiv w8, w9, w8 b LBB0_9 LBB0_4: mov w0, #0 b _assert LBB0_5: mov w8, #10000 b LBB0_9 LBB0_6: mov w8, #10000 str w8, [x1] str w8, [x2] ret LBB0_7: mov w8, #10000 str w8, [x1] ldp w10, w9, [x0, #4] mul w8, w9, w8 sdiv w8, w8, w10 str w8, [x2] ret LBB0_8: mov w8, #-1 LBB0_9: str w8, [x1] str wzr, [x2] ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 ; -- End function .subsections_via_symbols
AnghaBench/sqlcipher/ext/rbu/extr_sqlite3rbu.c_sqlite3rbu_bp_progress.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __reinsert_ablock ___reinsert_ablock: ## @__reinsert_ablock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r14 movq %rcx, %rbx movq %rdx, %r13 movl %esi, %r15d movq %rdi, %r12 movq %rdx, %rdi callq _dm_block_location cmpq %rbx, %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: movl (%r12), %edi movq %rbx, %rsi callq _dm_tm_inc movq %r12, %rdi movl %r15d, %esi movq %r13, %rdx movq %r14, %rcx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _insert_ablock ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip ___reinsert_ablock .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __reinsert_ablock ___reinsert_ablock: ; @__reinsert_ablock .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x4 mov x23, x3 mov x20, x2 mov x21, x1 mov x22, x0 mov x0, x2 bl _dm_block_location cmp x0, x23 b.ne LBB0_2 ; %bb.1: 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 LBB0_2: ldr w0, [x22] mov x1, x23 bl _dm_tm_inc mov x0, x22 mov x1, x21 mov x2, x20 mov x3, 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 _insert_ablock .cfi_endproc ; -- End function .no_dead_strip ___reinsert_ablock .subsections_via_symbols
AnghaBench/linux/drivers/md/persistent-data/extr_dm-array.c___reinsert_ablock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function extra_decode_ctrl14 _extra_decode_ctrl14: ## @extra_decode_ctrl14 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _MIDI_CMD_CONTROL@GOTPCREL(%rip), %rax movl (%rax), %r8d orl (%rcx), %r8d orb $15, %r8b movl 4(%rcx), %r9d cmpl $31, %r9d jg LBB0_9 ## %bb.1: cmpl $3, %edx jle LBB0_13 ## %bb.2: cmpl $6, %edx jb LBB0_13 ## %bb.3: cmpq $0, 8(%rdi) jne LBB0_13 ## %bb.4: xorl %edx, %edx cmpb %r8b, (%rdi) je LBB0_6 ## %bb.5: movb %r8b, (%rdi) movb %r8b, (%rsi) movl 4(%rcx), %r9d movl $1, %edx LBB0_6: movl %edx, %eax movb %r9b, (%rsi,%rax) movl 8(%rcx), %r9d shrl $7, %r9d andb $127, %r9b movb %r9b, 1(%rsi,%rax) orq $2, %rax cmpq $0, 8(%rdi) je LBB0_8 ## %bb.7: addl $3, %edx movb %r8b, (%rsi,%rax) movl %edx, %eax LBB0_8: movzbl 4(%rcx), %edx addb $-32, %dl movl %eax, %edi movb %dl, (%rsi,%rdi) movzbl 8(%rcx), %ecx andb $127, %cl addl $2, %eax movb %cl, 1(%rsi,%rdi) ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_9: cmpl $1, %edx jle LBB0_13 ## %bb.10: cmpb %r8b, (%rdi) jne LBB0_12 ## %bb.11: cmpq $0, 8(%rdi) je LBB0_16 LBB0_12: cmpl $2, %edx jne LBB0_15 LBB0_13: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_15: movb %r8b, (%rdi) movb %r8b, (%rsi) movl 4(%rcx), %r9d movl $1, %eax jmp LBB0_17 LBB0_16: xorl %eax, %eax LBB0_17: andb $127, %r9b movl %eax, %edx movb %r9b, (%rsi,%rdx) movzbl 8(%rcx), %ecx andb $127, %cl orl $2, %eax movb %cl, 1(%rsi,%rdx) ## kill: def $eax killed $eax killed $rax popq %rbp retq .cfi_endproc ## -- End function .comm _MIDI_CMD_CONTROL,4,2 ## @MIDI_CMD_CONTROL .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _extra_decode_ctrl14 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function extra_decode_ctrl14 _extra_decode_ctrl14: ; @extra_decode_ctrl14 .cfi_startproc ; %bb.0: Lloh0: adrp x8, _MIDI_CMD_CONTROL@GOTPAGE Lloh1: ldr x8, [x8, _MIDI_CMD_CONTROL@GOTPAGEOFF] ldrb w8, [x8] ldrb w9, [x3] orr w8, w8, w9 orr w8, w8, #0xf ldr w9, [x3, #4] cmp w9, #31 b.gt LBB0_6 ; %bb.1: cmp w2, #3 b.le LBB0_10 ; %bb.2: cmp w2, #6 b.lo LBB0_10 ; %bb.3: ldr x10, [x0, #8] cbnz x10, LBB0_10 ; %bb.4: ldrb w10, [x0] cmp w10, w8 b.ne LBB0_12 ; %bb.5: mov w10, #0 ; =0x0 b LBB0_13 LBB0_6: cmp w2, #1 b.le LBB0_10 ; %bb.7: ldrb w10, [x0] cmp w10, w8 b.ne LBB0_9 ; %bb.8: ldr x10, [x0, #8] cbz x10, LBB0_16 LBB0_9: cmp w2, #2 b.ne LBB0_11 LBB0_10: Lloh2: adrp x8, _ENOMEM@GOTPAGE Lloh3: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w0, w8 ret LBB0_11: strb w8, [x0] strb w8, [x1] ldr w9, [x3, #4] mov w8, #1 ; =0x1 b LBB0_17 LBB0_12: strb w8, [x0] strb w8, [x1] ldr w9, [x3, #4] mov w10, #1 ; =0x1 LBB0_13: mov w11, w10 add x12, x1, x11 strb w9, [x12] ldr w9, [x3, #8] ubfx w13, w9, #7, #7 orr x9, x11, #0x2 strb w13, [x12, #1] ldr x11, [x0, #8] cbz x11, LBB0_15 ; %bb.14: strb w8, [x1, x9] add w8, w10, #3 mov x9, x8 LBB0_15: ldrb w8, [x3, #4] sub w8, w8, #32 add x10, x1, w9, uxtw strb w8, [x10] ldrb w8, [x3, #8] and w8, w8, #0x7f add w0, w9, #2 strb w8, [x10, #1] ret LBB0_16: mov w8, #0 ; =0x0 LBB0_17: and w9, w9, #0x7f add x10, x1, w8, uxtw strb w9, [x10] ldrb w9, [x3, #8] and w9, w9, #0x7f orr w0, w8, #0x2 strb w9, [x10, #1] ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _MIDI_CMD_CONTROL,4,2 ; @MIDI_CMD_CONTROL .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _extra_decode_ctrl14 .subsections_via_symbols
assembly_file_186364.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function getregs_supplies _getregs_supplies: ## @getregs_supplies .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ZERO_REGNUM@GOTPCREL(%rip), %rax cmpl %edi, (%rax) setle %al movq _PC_REGNUM@GOTPCREL(%rip), %rcx cmpl %edi, (%rcx) setge %cl andb %al, %cl movzbl %cl, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ZERO_REGNUM,4,2 ## @ZERO_REGNUM .comm _PC_REGNUM,4,2 ## @PC_REGNUM .no_dead_strip _getregs_supplies .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function getregs_supplies _getregs_supplies: ; @getregs_supplies .cfi_startproc ; %bb.0: Lloh0: adrp x8, _ZERO_REGNUM@GOTPAGE Lloh1: ldr x8, [x8, _ZERO_REGNUM@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w0 Lloh3: adrp x8, _PC_REGNUM@GOTPAGE Lloh4: ldr x8, [x8, _PC_REGNUM@GOTPAGEOFF] Lloh5: ldr w8, [x8] ccmp w8, w0, #8, le cset w0, ge ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ZERO_REGNUM,4,2 ; @ZERO_REGNUM .comm _PC_REGNUM,4,2 ; @PC_REGNUM .no_dead_strip _getregs_supplies .subsections_via_symbols
AnghaBench/freebsd/contrib/gdb/gdb/extr_mipsnbsd-nat.c_getregs_supplies.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function put_char _put_char: ## @put_char .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx movq 8(%rdi), %rdi callq _tty_put_char xorb %r14b, (%rbx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _put_char .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function put_char _put_char: ; @put_char .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 ldr x0, [x0, #8] bl _tty_put_char ldrb w8, [x20] eor w8, w8, w19 strb w8, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _put_char .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/char/extr_n_r3964.c_put_char.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function print_eth _print_eth: ## @print_eth .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printk leaq L_.str.1(%rip), %r14 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printk decq %rbx jmp LBB0_1 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Dest " L_.str.1: ## @.str.1 .asciz " %2.2X" .no_dead_strip _print_eth .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function print_eth _print_eth: ; @print_eth .cfi_startproc ; %bb.0: sub sp, sp, #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 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printk Lloh2: adrp x20, l_.str.1@PAGE Lloh3: add x20, x20, l_.str.1@PAGEOFF LBB0_1: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x19], #-1 str x8, [sp] mov x0, x20 bl _printk b LBB0_1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Dest " l_.str.1: ; @.str.1 .asciz " %2.2X" .no_dead_strip _print_eth .subsections_via_symbols
assembly_file_136403.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_region _get_region: ## @get_region .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 _fine_mode@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB0_1 ## %bb.2: movq _NASID_TO_COARSEREG_SHFT@GOTPCREL(%rip), %rbx jmp LBB0_3 LBB0_1: movq _NASID_TO_FINEREG_SHFT@GOTPCREL(%rip), %rbx LBB0_3: callq _COMPACT_TO_NASID_NODEID movb (%rbx), %cl sarl %cl, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _fine_mode,8,3 ## @fine_mode .comm _NASID_TO_FINEREG_SHFT,4,2 ## @NASID_TO_FINEREG_SHFT .comm _NASID_TO_COARSEREG_SHFT,4,2 ## @NASID_TO_COARSEREG_SHFT .no_dead_strip _get_region .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_region _get_region: ; @get_region .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, _fine_mode@GOTPAGE Lloh1: ldr x8, [x8, _fine_mode@GOTPAGEOFF] Lloh2: ldr x19, [x8] bl _COMPACT_TO_NASID_NODEID Lloh3: adrp x8, _NASID_TO_COARSEREG_SHFT@GOTPAGE Lloh4: ldr x8, [x8, _NASID_TO_COARSEREG_SHFT@GOTPAGEOFF] Lloh5: adrp x9, _NASID_TO_FINEREG_SHFT@GOTPAGE Lloh6: ldr x9, [x9, _NASID_TO_FINEREG_SHFT@GOTPAGEOFF] cmp x19, #0 csel x8, x8, x9, eq ldr w8, [x8] asr w0, w0, w8 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _fine_mode,8,3 ; @fine_mode .comm _NASID_TO_FINEREG_SHFT,4,2 ; @NASID_TO_FINEREG_SHFT .comm _NASID_TO_COARSEREG_SHFT,4,2 ; @NASID_TO_COARSEREG_SHFT .no_dead_strip _get_region .subsections_via_symbols
AnghaBench/linux/arch/mips/sgi-ip27/extr_ip27-memory.c_get_region.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pxa_ssp_set_dai_tdm_slot _pxa_ssp_set_dai_tdm_slot: ## @pxa_ssp_set_dai_tdm_slot .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, %r13d movl %ecx, -52(%rbp) ## 4-byte Spill movl %edx, -48(%rbp) ## 4-byte Spill movl %esi, -44(%rbp) ## 4-byte Spill callq _snd_soc_dai_get_drvdata movq (%rax), %rdi movq _SSCR0@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rdi, -64(%rbp) ## 8-byte Spill callq _pxa_ssp_read_reg movl %eax, %r15d movq _SSCR0_MOD@GOTPCREL(%rip), %rax movl (%rax), %ebx movl $8, %edi callq _SSCR0_SlotsPerFrm movl %eax, %r14d orl %ebx, %r14d movq _SSCR0_EDSS@GOTPCREL(%rip), %rax movl (%rax), %r12d orl %r12d, %r14d movq _SSCR0_DSS@GOTPCREL(%rip), %rax orl (%rax), %r14d notl %r14d andl %r15d, %r14d cmpl $17, %r13d jl LBB0_2 ## %bb.1: addl $-16, %r13d movl %r13d, %edi callq _SSCR0_DataSize movl %eax, %ebx orl %r12d, %ebx jmp LBB0_3 LBB0_2: movl %r13d, %edi callq _SSCR0_DataSize movl %eax, %ebx LBB0_3: orl %r14d, %ebx movl -52(%rbp), %edi ## 4-byte Reload cmpl $2, %edi jl LBB0_4 ## %bb.5: movq _SSCR0_MOD@GOTPCREL(%rip), %rax orl (%rax), %ebx callq _SSCR0_SlotsPerFrm orl %eax, %ebx movq _SSTSA@GOTPCREL(%rip), %rax movl (%rax), %esi movq -64(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi movl -44(%rbp), %edx ## 4-byte Reload callq _pxa_ssp_write_reg movq _SSRSA@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi movl -48(%rbp), %edx ## 4-byte Reload callq _pxa_ssp_write_reg jmp LBB0_6 LBB0_4: movq -64(%rbp), %r14 ## 8-byte Reload LBB0_6: movq _SSCR0@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi movl %ebx, %edx callq _pxa_ssp_write_reg xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SSCR0,4,2 ## @SSCR0 .comm _SSCR0_MOD,4,2 ## @SSCR0_MOD .comm _SSCR0_EDSS,4,2 ## @SSCR0_EDSS .comm _SSCR0_DSS,4,2 ## @SSCR0_DSS .comm _SSTSA,4,2 ## @SSTSA .comm _SSRSA,4,2 ## @SSRSA .no_dead_strip _pxa_ssp_set_dai_tdm_slot .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pxa_ssp_set_dai_tdm_slot _pxa_ssp_set_dai_tdm_slot: ; @pxa_ssp_set_dai_tdm_slot .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 x23, x4 mov x22, x3 mov x20, x2 mov x21, x1 bl _snd_soc_dai_get_drvdata ldr x19, [x0] Lloh0: adrp x25, _SSCR0@GOTPAGE Lloh1: ldr x25, [x25, _SSCR0@GOTPAGEOFF] ldr w1, [x25] mov x0, x19 bl _pxa_ssp_read_reg mov x24, x0 Lloh2: adrp x26, _SSCR0_MOD@GOTPAGE Lloh3: ldr x26, [x26, _SSCR0_MOD@GOTPAGEOFF] ldr w27, [x26] mov w0, #8 bl _SSCR0_SlotsPerFrm orr w8, w0, w27 Lloh4: adrp x9, _SSCR0_EDSS@GOTPAGE Lloh5: ldr x9, [x9, _SSCR0_EDSS@GOTPAGEOFF] Lloh6: ldr w27, [x9] orr w8, w8, w27 Lloh7: adrp x9, _SSCR0_DSS@GOTPAGE Lloh8: ldr x9, [x9, _SSCR0_DSS@GOTPAGEOFF] Lloh9: ldr w9, [x9] orr w8, w8, w9 bic w24, w24, w8 cmp w23, #17 b.lt LBB0_2 ; %bb.1: sub w0, w23, #16 bl _SSCR0_DataSize orr w0, w0, w27 b LBB0_3 LBB0_2: mov x0, x23 bl _SSCR0_DataSize LBB0_3: orr w23, w0, w24 cmp w22, #2 b.lt LBB0_5 ; %bb.4: ldr w8, [x26] orr w23, w8, w23 mov x0, x22 bl _SSCR0_SlotsPerFrm orr w23, w23, w0 Lloh10: adrp x8, _SSTSA@GOTPAGE Lloh11: ldr x8, [x8, _SSTSA@GOTPAGEOFF] Lloh12: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _pxa_ssp_write_reg Lloh13: adrp x8, _SSRSA@GOTPAGE Lloh14: ldr x8, [x8, _SSRSA@GOTPAGEOFF] Lloh15: ldr w1, [x8] mov x0, x19 mov x2, x20 bl _pxa_ssp_write_reg LBB0_5: ldr w1, [x25] mov x0, x19 mov x2, x23 bl _pxa_ssp_write_reg mov w0, #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 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _SSCR0,4,2 ; @SSCR0 .comm _SSCR0_MOD,4,2 ; @SSCR0_MOD .comm _SSCR0_EDSS,4,2 ; @SSCR0_EDSS .comm _SSCR0_DSS,4,2 ; @SSCR0_DSS .comm _SSTSA,4,2 ; @SSTSA .comm _SSRSA,4,2 ; @SSRSA .no_dead_strip _pxa_ssp_set_dai_tdm_slot .subsections_via_symbols
AnghaBench/linux/sound/soc/pxa/extr_pxa-ssp.c_pxa_ssp_set_dai_tdm_slot.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function stm32_mdma_prep_slave_sg _stm32_mdma_prep_slave_sg: ## @stm32_mdma_prep_slave_sg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r12 movl %ecx, %ebx movl %edx, %r13d movq %rsi, %r15 callq _to_stm32_mdma_chan movq %rax, %r14 movq 8(%rax), %rax testq %rax, %rax je LBB0_3 ## %bb.1: cmpq $0, (%rax) je LBB0_3 ## %bb.2: movq %r14, %rdi callq _chan2dev leaq L_.str(%rip), %rsi movl %eax, %edi callq _dev_err jmp LBB0_9 LBB0_3: movq %r12, -48(%rbp) ## 8-byte Spill movq %r14, %rdi movl %r13d, %esi callq _stm32_mdma_alloc_desc testq %rax, %rax je LBB0_9 ## %bb.4: movq %rax, %r12 movq %r14, %rdi movq %rax, %rsi movq %r15, %rdx movl %r13d, %ecx movl %ebx, %r8d callq _stm32_mdma_setup_xfer testl %eax, %eax js LBB0_5 ## %bb.10: movl $0, (%r12) addq $4, %r14 addq $16, %r12 movq %r14, %rdi movq %r12, %rsi movq -48(%rbp), %rdx ## 8-byte Reload addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _vchan_tx_prep ## TAILCALL LBB0_5: cmpl $0, 4(%r12) jle LBB0_8 ## %bb.6: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movl (%r14), %edi movq 8(%r12), %rax movl (%rax,%rbx,8), %edx movl 4(%rax,%rbx,8), %esi callq _dma_pool_free incq %rbx movslq 4(%r12), %rax cmpq %rax, %rbx jl LBB0_7 LBB0_8: movq %r12, %rdi callq _kfree LBB0_9: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Request not allowed when dma in cyclic mode\n" .no_dead_strip _stm32_mdma_prep_slave_sg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function stm32_mdma_prep_slave_sg _stm32_mdma_prep_slave_sg: ; @stm32_mdma_prep_slave_sg .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x4 mov x22, x3 mov x23, x2 mov x24, x1 bl _to_stm32_mdma_chan mov x19, x0 ldr x8, [x0, #8] cbz x8, LBB0_3 ; %bb.1: ldr x8, [x8] cbz x8, LBB0_3 ; %bb.2: mov x0, x19 bl _chan2dev Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _dev_err b LBB0_10 LBB0_3: mov x0, x19 mov x1, x23 bl _stm32_mdma_alloc_desc cbz x0, LBB0_10 ; %bb.4: mov x20, x0 mov x0, x19 mov x1, x20 mov x2, x24 mov x3, x23 mov x4, x22 bl _stm32_mdma_setup_xfer tbnz w0, #31, LBB0_6 ; %bb.5: str wzr, [x20], #16 add x0, x19, #4 mov x1, x20 mov x2, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _vchan_tx_prep LBB0_6: ldr w8, [x20, #4] cmp w8, #1 b.lt LBB0_9 ; %bb.7: mov x21, #0 mov x22, #0 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w0, [x19] ldr x8, [x20, #8] add x8, x8, x21 ldp w2, w1, [x8] bl _dma_pool_free add x22, x22, #1 ldrsw x8, [x20, #4] add x21, x21, #8 cmp x22, x8 b.lt LBB0_8 LBB0_9: mov x0, x20 bl _kfree LBB0_10: mov x0, #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 Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Request not allowed when dma in cyclic mode\n" .no_dead_strip _stm32_mdma_prep_slave_sg .subsections_via_symbols
AnghaBench/linux/drivers/dma/extr_stm32-mdma.c_stm32_mdma_prep_slave_sg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function MSACM_GetRegistryKey _MSACM_GetRegistryKey: ## @MSACM_GetRegistryKey .cfi_startproc ## %bb.0: 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 cmpq $0, (%rdi) je LBB0_1 ## %bb.2: movq %rdi, %rbx leaq _MSACM_GetRegistryKey.baseKey(%rip), %rdi callq _lstrlenW movl %eax, %r14d movq _MSACM_hHeap@GOTPCREL(%rip), %rax movl (%rax), %r12d movq (%rbx), %rdi callq _lstrlenW ## kill: def $eax killed $eax def $rax leal (%r14,%rax), %edx incl %edx xorl %r15d, %r15d movl %r12d, %edi xorl %esi, %esi callq _HeapAlloc testq %rax, %rax je LBB0_4 ## %bb.3: leaq _MSACM_GetRegistryKey.baseKey(%rip), %rsi movq %rax, %rdi movq %rax, %r15 callq _lstrcpyW movslq %r14d, %rax leaq (%r15,%rax,4), %r14 movq (%rbx), %rsi movq %r14, %rdi callq _lstrcpyW movq %r14, %rdi callq _CharLowerW jmp LBB0_4 LBB0_1: leaq L_.str(%rip), %rdi callq _ERR xorl %r15d, %r15d LBB0_4: movq %r15, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4, 0x0 ## @MSACM_GetRegistryKey.baseKey _MSACM_GetRegistryKey.baseKey: .asciz "Software\\Microsoft\\AudioCompressionManager\\DriverCache\\" .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "No alias needed for registry entry\n" .comm _MSACM_hHeap,4,2 ## @MSACM_hHeap .no_dead_strip _MSACM_GetRegistryKey .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function MSACM_GetRegistryKey _MSACM_GetRegistryKey: ; @MSACM_GetRegistryKey .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr x8, [x0] cbz x8, LBB0_3 ; %bb.1: mov x19, x0 Lloh0: adrp x0, _MSACM_GetRegistryKey.baseKey@PAGE Lloh1: add x0, x0, _MSACM_GetRegistryKey.baseKey@PAGEOFF bl _lstrlenW mov x20, x0 Lloh2: adrp x8, _MSACM_hHeap@GOTPAGE Lloh3: ldr x8, [x8, _MSACM_hHeap@GOTPAGEOFF] Lloh4: ldr w21, [x8] ldr x0, [x19] bl _lstrlenW add w8, w20, w0 add w2, w8, #1 mov x0, x21 mov w1, #0 ; =0x0 bl _HeapAlloc cbz x0, LBB0_4 ; %bb.2: Lloh5: adrp x1, _MSACM_GetRegistryKey.baseKey@PAGE Lloh6: add x1, x1, _MSACM_GetRegistryKey.baseKey@PAGEOFF mov x21, x0 bl _lstrcpyW add x20, x21, w20, sxtw #2 ldr x1, [x19] mov x0, x20 bl _lstrcpyW mov x0, x20 bl _CharLowerW mov x0, x21 b LBB0_4 LBB0_3: Lloh7: adrp x0, l_.str@PAGE Lloh8: add x0, x0, l_.str@PAGEOFF bl _ERR mov x0, #0 ; =0x0 LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .cfi_endproc ; -- End function .section __TEXT,__const _MSACM_GetRegistryKey.baseKey: ; @MSACM_GetRegistryKey.baseKey .asciz "Software\\Microsoft\\AudioCompressionManager\\DriverCache\\" .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "No alias needed for registry entry\n" .comm _MSACM_hHeap,4,2 ; @MSACM_hHeap .no_dead_strip _MSACM_GetRegistryKey .subsections_via_symbols
assembly_file_7951.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ftp_RecvAnswer _ftp_RecvAnswer: ## @ftp_RecvAnswer .cfi_startproc ## %bb.0: 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, %r12 movq %r8, %r13 movq %rcx, -64(%rbp) ## 8-byte Spill movq %rdx, -56(%rbp) ## 8-byte Spill movq %rsi, %r14 movq %rdi, %r15 leaq -48(%rbp), %rdx movq %r8, %rcx movq %r9, %r8 callq _ftp_RecvReply movl %eax, %ebx addl $-100, %eax cmpl $99, %eax ja LBB0_2 ## %bb.1: movq -48(%rbp), %rdi callq _free leaq -48(%rbp), %rdx movq %r15, %rdi movq %r14, %rsi movq %r13, %rcx movq %r12, %r8 callq _ftp_RecvReply movl %eax, %ebx LBB0_2: testl %ebx, %ebx js LBB0_9 ## %bb.3: movq -56(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx movq -64(%rbp), %rax ## 8-byte Reload je LBB0_5 ## %bb.4: movl %ebx, (%rcx) LBB0_5: movq -48(%rbp), %rdi testq %rax, %rax je LBB0_7 ## %bb.6: movq %rdi, (%rax) jmp LBB0_8 LBB0_9: movq -56(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx movq -64(%rbp), %rax ## 8-byte Reload je LBB0_11 ## %bb.10: movl $500, (%rcx) ## imm = 0x1F4 LBB0_11: testq %rax, %rax je LBB0_13 ## %bb.12: movq $0, (%rax) jmp LBB0_13 LBB0_7: callq _free LBB0_8: movl %ebx, %eax imulq $1374389535, %rax, %rbx ## imm = 0x51EB851F shrq $37, %rbx LBB0_13: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ftp_RecvAnswer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ftp_RecvAnswer _ftp_RecvAnswer: ; @ftp_RecvAnswer .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x22, x5 mov x23, x4 mov x19, x3 mov x21, x2 mov x24, x1 mov x25, x0 add x2, sp, #8 mov x3, x4 mov x4, x5 bl _ftp_RecvReply mov x20, x0 sub w8, w0, #100 cmp w8, #99 b.hi LBB0_2 ; %bb.1: ldr x0, [sp, #8] bl _free add x2, sp, #8 mov x0, x25 mov x1, x24 mov x3, x23 mov x4, x22 bl _ftp_RecvReply mov x20, x0 LBB0_2: tbnz w20, #31, LBB0_7 ; %bb.3: cbz x21, LBB0_5 ; %bb.4: str w20, [x21] LBB0_5: ldr x0, [sp, #8] cbz x19, LBB0_11 ; %bb.6: str x0, [x19] b LBB0_12 LBB0_7: cbz x21, LBB0_9 ; %bb.8: mov w8, #500 str w8, [x21] LBB0_9: cbz x19, LBB0_13 ; %bb.10: str xzr, [x19] b LBB0_13 LBB0_11: bl _free LBB0_12: mov w8, #34079 movk w8, #20971, lsl #16 umull x8, w20, w8 lsr x20, x8, #37 LBB0_13: 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 add sp, sp, #96 ret .cfi_endproc ; -- End function .no_dead_strip _ftp_RecvAnswer .subsections_via_symbols
AnghaBench/vlc/modules/access/extr_ftp.c_ftp_RecvAnswer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ecore_mcp_mem_ecc_events ## -- Begin function ecore_mcp_mem_ecc_events .p2align 4, 0x90 _ecore_mcp_mem_ecc_events: ## @ecore_mcp_mem_ecc_events .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 leaq -48(%rbp), %r12 movq %r12, %rdi xorl %esi, %esi movl $16, %edx callq _OSAL_MEMSET movq _DRV_MSG_CODE_MEM_ECC_EVENTS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -40(%rbp) movq %rbx, -48(%rbp) movq %r15, %rdi movq %r14, %rsi movq %r12, %rdx callq _ecore_mcp_cmd_and_union addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DRV_MSG_CODE_MEM_ECC_EVENTS,4,2 ## @DRV_MSG_CODE_MEM_ECC_EVENTS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ecore_mcp_mem_ecc_events ; -- Begin function ecore_mcp_mem_ecc_events .p2align 2 _ecore_mcp_mem_ecc_events: ; @ecore_mcp_mem_ecc_events .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 mov x0, sp mov w1, #0 mov w2, #16 bl _OSAL_MEMSET Lloh0: adrp x8, _DRV_MSG_CODE_MEM_ECC_EVENTS@GOTPAGE Lloh1: ldr x8, [x8, _DRV_MSG_CODE_MEM_ECC_EVENTS@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [sp, #8] str x19, [sp] mov x2, sp mov x0, x21 mov x1, x20 bl _ecore_mcp_cmd_and_union ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DRV_MSG_CODE_MEM_ECC_EVENTS,4,2 ; @DRV_MSG_CODE_MEM_ECC_EVENTS .subsections_via_symbols
AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_mcp.c_ecore_mcp_mem_ecc_events.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function magn_3d_parse_report _magn_3d_parse_report: ## @magn_3d_parse_report .cfi_startproc ## %bb.0: 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 %rcx, -80(%rbp) ## 8-byte Spill movq %rdx, -96(%rbp) ## 8-byte Spill movq _MAGN_3D_CHANNEL_MAX@GOTPCREL(%rip), %r10 cmpl $0, (%r10) jle LBB0_4 ## %bb.1: movq %rdi, -64(%rbp) ## 8-byte Spill xorl %ebx, %ebx movq %r9, %r15 xorl %r14d, %r14d xorl %r13d, %r13d movq %rsi, %rdi movl %r8d, %edx movq %rsi, -56(%rbp) ## 8-byte Spill movl %r8d, -44(%rbp) ## 4-byte Spill .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq _magn_3d_addresses@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax,%r14,4), %ecx movq _HID_INPUT_REPORT@GOTPCREL(%rip), %rax movl (%rax), %esi movq 48(%r15), %r8 addq %rbx, %r8 movq %r10, %r12 callq _sensor_hub_input_get_attribute_info movq %r12, %r10 movq -56(%rbp), %rdi ## 8-byte Reload movl -44(%rbp), %edx ## 4-byte Reload cmpl $1, %eax adcl $0, %r13d incq %r14 movslq (%r12), %rax addq $16, %rbx cmpq %rax, %r14 jl LBB0_2 ## %bb.3: testl %r13d, %r13d movq -64(%rbp), %rdi ## 8-byte Reload je LBB0_4 ## %bb.7: movq %r15, %rcx movl %r13d, %edx leaq L_.str.1(%rip), %rsi movq %rdi, %r15 xorl %eax, %eax movq %rcx, %r14 callq _dev_dbg movq 48(%r14), %r10 movq (%r10), %rdx movl 8(%r10), %ecx movq 16(%r10), %r8 movl 24(%r10), %r9d movl 40(%r10), %r11d leaq L_.str.2(%rip), %rsi movq %r15, %rdi xorl %eax, %eax pushq %r11 pushq 32(%r10) callq _dev_dbg addq $16, %rsp movq _GFP_KERNEL@GOTPCREL(%rip), %rbx movl (%rbx), %ecx movq %r15, %rdi movl %r13d, %esi movl $8, %edx callq _devm_kcalloc movq %rax, -72(%rbp) ## 8-byte Spill testq %rax, %rax je LBB0_8 ## %bb.10: movl (%rbx), %ecx movq %r15, %rdi movl %r13d, %esi movl $4, %edx callq _devm_kcalloc movq %rax, 72(%r14) testq %rax, %rax je LBB0_11 ## %bb.12: movq -80(%rbp), %rax ## 8-byte Reload movl $0, (%rax) movl (%r12), %ecx testl %ecx, %ecx jle LBB0_19 ## %bb.13: movq %r14, %r8 xorl %ebx, %ebx xorl %eax, %eax xorl %r15d, %r15d movq %r14, -88(%rbp) ## 8-byte Spill movq -80(%rbp), %r14 ## 8-byte Reload jmp LBB0_14 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_14 Depth=1 incq %r15 movslq %ecx, %rdx addq $16, %rbx cmpq %rdx, %r15 jge LBB0_18 LBB0_14: ## =>This Inner Loop Header: Depth=1 cmpl %r13d, %eax jge LBB0_18 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq 48(%r8), %rdx cmpq $0, (%rdx,%rbx) js LBB0_17 ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 cltq movq _magn_3d_channels@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rcx,%r15,8), %rcx movq -72(%rbp), %rdi ## 8-byte Reload movq %rcx, (%rdi,%rax,8) movslq (%r14), %rax movl %eax, (%rdi,%rax,8) movl %r15d, 4(%rdi,%rax,8) movslq (%r14), %rsi movq %rsi, %rax shlq $2, %rax addq 72(%r8), %rax movq 80(%r8), %rcx movq %rax, (%rcx,%r15,8) movq 48(%r8), %rax movl 12(%rax,%rbx), %edx ## kill: def $esi killed $esi killed $rsi callq _magn_3d_adjust_channel_bit_mask movq -88(%rbp), %r8 ## 8-byte Reload movl (%r14), %eax incl %eax movl %eax, (%r14) movl (%r12), %ecx jmp LBB0_17 LBB0_4: leaq L_.str(%rip), %rsi LBB0_5: callq _dev_err movq _EINVAL@GOTPCREL(%rip), %rax jmp LBB0_6 LBB0_8: leaq L_.str.3(%rip), %rsi jmp LBB0_9 LBB0_18: testl %eax, %eax movq -64(%rbp), %r15 ## 8-byte Reload jle LBB0_19 ## %bb.20: movq -96(%rbp), %rcx ## 8-byte Reload movq -72(%rbp), %rdx ## 8-byte Reload movq %rdx, (%rcx) movl %eax, %edx leaq L_.str.6(%rip), %rsi movq %r15, %rdi xorl %eax, %eax movq %r8, %r14 callq _dev_dbg movq _HID_USAGE_SENSOR_COMPASS_3D@GOTPCREL(%rip), %rax movl (%rax), %edi movq _CHANNEL_SCAN_INDEX_X@GOTPCREL(%rip), %rax movq (%rax), %rsi shlq $4, %rsi addq 48(%r14), %rsi leaq 56(%r14), %rcx leaq 60(%r14), %rdx callq _hid_sensor_format_scale movq %rax, 64(%r14) movq _HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH@GOTPCREL(%rip), %r13 movl (%r13), %edi movq _CHANNEL_SCAN_INDEX_NORTH_MAGN_TILT_COMP@GOTPCREL(%rip), %rax movq (%rax), %rsi shlq $4, %rsi addq 48(%r14), %rsi leaq 32(%r14), %rcx leaq 36(%r14), %rdx callq _hid_sensor_format_scale movq %rax, 40(%r14) cmpq $0, 16(%r14) jns LBB0_23 ## %bb.21: leaq 16(%r14), %rbx movq _HID_FEATURE_REPORT@GOTPCREL(%rip), %rax movl (%rax), %esi movq _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPCREL(%rip), %r12 movq _HID_USAGE_SENSOR_DATA_ORIENTATION@GOTPCREL(%rip), %rax movl (%rax), %ecx orl (%r12), %ecx movq -56(%rbp), %rdi ## 8-byte Reload movl -44(%rbp), %edx ## 4-byte Reload movq %rbx, %r8 callq _sensor_hub_input_get_attribute_info movq 16(%r14), %rdx movl 24(%r14), %ecx leaq L_.str.7(%rip), %rsi movq %r15, %rdi xorl %eax, %eax callq _dev_dbg cmpq $0, 16(%r14) jns LBB0_23 ## %bb.22: movq _HID_FEATURE_REPORT@GOTPCREL(%rip), %rax movl (%rax), %esi movq _HID_USAGE_SENSOR_ORIENT_MAGN_FLUX@GOTPCREL(%rip), %rax movl (%rax), %ecx orl (%r12), %ecx movq -56(%rbp), %rdi ## 8-byte Reload movl -44(%rbp), %edx ## 4-byte Reload movq %rbx, %r8 callq _sensor_hub_input_get_attribute_info movq 16(%r14), %rdx movl 24(%r14), %ecx leaq L_.str.7(%rip), %rsi movq %r15, %rdi xorl %eax, %eax callq _dev_dbg LBB0_23: cmpq $0, (%r14) movq %r14, %rbx movl -44(%rbp), %edx ## 4-byte Reload movl $0, %r14d jns LBB0_25 ## %bb.24: movq _HID_FEATURE_REPORT@GOTPCREL(%rip), %rax movl (%rax), %esi movq _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPCREL(%rip), %rax movl (%r13), %ecx orl (%rax), %ecx movq -56(%rbp), %rdi ## 8-byte Reload movq %rbx, %r8 callq _sensor_hub_input_get_attribute_info movq (%rbx), %rdx movl 8(%rbx), %ecx leaq L_.str.7(%rip), %rsi xorl %r14d, %r14d movq -64(%rbp), %rdi ## 8-byte Reload xorl %eax, %eax callq _dev_dbg jmp LBB0_25 LBB0_19: leaq L_.str.5(%rip), %rsi movq %r15, %rdi jmp LBB0_5 LBB0_11: leaq L_.str.4(%rip), %rsi LBB0_9: movq %r15, %rdi callq _dev_err movq _ENOMEM@GOTPCREL(%rip), %rax LBB0_6: xorl %r14d, %r14d subl (%rax), %r14d LBB0_25: movl %r14d, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MAGN_3D_CHANNEL_MAX,4,2 ## @MAGN_3D_CHANNEL_MAX .comm _magn_3d_addresses,8,3 ## @magn_3d_addresses .comm _HID_INPUT_REPORT,4,2 ## @HID_INPUT_REPORT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "failed to find any supported usage attributes in report\n" .comm _EINVAL,4,2 ## @EINVAL L_.str.1: ## @.str.1 .asciz "magn_3d Found %d usage attributes\n" L_.str.2: ## @.str.2 .asciz "magn_3d X: %x:%x Y: %x:%x Z: %x:%x\n" .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL L_.str.3: ## @.str.3 .asciz "failed to allocate space for iio channels\n" .comm _ENOMEM,4,2 ## @ENOMEM L_.str.4: ## @.str.4 .asciz "failed to allocate space for iio values array\n" .comm _magn_3d_channels,8,3 ## @magn_3d_channels L_.str.5: ## @.str.5 .asciz "failed to find any magnetic channels setup\n" L_.str.6: ## @.str.6 .asciz "magn_3d Setup %d IIO channels\n" .comm _HID_USAGE_SENSOR_COMPASS_3D,4,2 ## @HID_USAGE_SENSOR_COMPASS_3D .comm _CHANNEL_SCAN_INDEX_X,8,3 ## @CHANNEL_SCAN_INDEX_X .comm _HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH,4,2 ## @HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH .comm _CHANNEL_SCAN_INDEX_NORTH_MAGN_TILT_COMP,8,3 ## @CHANNEL_SCAN_INDEX_NORTH_MAGN_TILT_COMP .comm _HID_FEATURE_REPORT,4,2 ## @HID_FEATURE_REPORT .comm _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS,4,2 ## @HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS .comm _HID_USAGE_SENSOR_DATA_ORIENTATION,4,2 ## @HID_USAGE_SENSOR_DATA_ORIENTATION L_.str.7: ## @.str.7 .asciz "Sensitivity index:report %d:%d\n" .comm _HID_USAGE_SENSOR_ORIENT_MAGN_FLUX,4,2 ## @HID_USAGE_SENSOR_ORIENT_MAGN_FLUX .no_dead_strip _magn_3d_parse_report .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function magn_3d_parse_report _magn_3d_parse_report: ; @magn_3d_parse_report .cfi_startproc ; %bb.0: sub sp, sp, #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 x2, [sp, #48] ; 8-byte Folded Spill mov x28, x0 Lloh0: adrp x27, _MAGN_3D_CHANNEL_MAX@GOTPAGE Lloh1: ldr x27, [x27, _MAGN_3D_CHANNEL_MAX@GOTPAGEOFF] ldr w8, [x27] cmp w8, #1 b.lt LBB0_12 ; %bb.1: mov x20, x5 mov x21, x4 mov x24, x3 mov x22, x1 str x28, [sp, #56] ; 8-byte Folded Spill mov x23, #0 ; =0x0 mov x26, #0 ; =0x0 mov w25, #0 ; =0x0 Lloh2: adrp x28, _magn_3d_addresses@GOTPAGE Lloh3: ldr x28, [x28, _magn_3d_addresses@GOTPAGEOFF] Lloh4: adrp x19, _HID_INPUT_REPORT@GOTPAGE Lloh5: ldr x19, [x19, _HID_INPUT_REPORT@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x28] ldr w3, [x8, x26, lsl #2] ldr w1, [x19] ldr x8, [x20, #48] add x4, x8, x23 mov x0, x22 mov x2, x21 bl _sensor_hub_input_get_attribute_info cmp w0, #0 cinc w25, w25, eq add x26, x26, #1 ldrsw x8, [x27] add x23, x23, #16 cmp x26, x8 b.lt LBB0_2 ; %bb.3: ldr x28, [sp, #56] ; 8-byte Folded Reload cbz w25, LBB0_12 ; %bb.4: Lloh6: adrp x1, l_.str.1@PAGE Lloh7: add x1, x1, l_.str.1@PAGEOFF mov x0, x28 mov x2, x25 bl _dev_dbg ldr x8, [x20, #48] ldr x2, [x8] ldr x9, [x8, #16] ldr x10, [x8, #32] ldr w11, [x8, #8] ldr w12, [x8, #24] ldr w8, [x8, #40] stp x10, x8, [sp, #24] stp x9, x12, [sp, #8] str x11, [sp] Lloh8: adrp x1, l_.str.2@PAGE Lloh9: add x1, x1, l_.str.2@PAGEOFF mov x0, x28 bl _dev_dbg Lloh10: adrp x19, _GFP_KERNEL@GOTPAGE Lloh11: ldr x19, [x19, _GFP_KERNEL@GOTPAGEOFF] ldr w3, [x19] mov x0, x28 mov x1, x25 mov w2, #8 ; =0x8 bl _devm_kcalloc cbz x0, LBB0_14 ; %bb.5: mov x26, x0 ldr w3, [x19] mov x0, x28 mov x1, x25 mov w2, #4 ; =0x4 bl _devm_kcalloc str x0, [x20, #72] cbz x0, LBB0_23 ; %bb.6: str wzr, [x24] ldr w9, [x27] cmp w9, #1 b.lt LBB0_22 ; %bb.7: mov x28, #0 ; =0x0 mov w8, #0 ; =0x0 mov x23, #0 ; =0x0 Lloh12: adrp x19, _magn_3d_channels@GOTPAGE Lloh13: ldr x19, [x19, _magn_3d_channels@GOTPAGEOFF] b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 add x23, x23, #1 add x28, x28, #16 cmp x23, w9, sxtw b.ge LBB0_15 LBB0_9: ; =>This Inner Loop Header: Depth=1 cmp w8, w25 b.ge LBB0_15 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldr x10, [x20, #48] ldr x10, [x10, x28] tbnz x10, #63, LBB0_8 ; %bb.11: ; in Loop: Header=BB0_9 Depth=1 ldr x9, [x19] ldr x9, [x9, x23, lsl #3] str x9, [x26, w8, sxtw #3] ldrsw x8, [x24] add x9, x26, x8, lsl #3 stp w8, w23, [x9] ldrsw x1, [x24] ldp x8, x9, [x20, #72] add x8, x8, x1, lsl #2 str x8, [x9, x23, lsl #3] ldr x8, [x20, #48] add x8, x8, x28 ldr w2, [x8, #12] mov x0, x26 ; kill: def $w1 killed $w1 killed $x1 bl _magn_3d_adjust_channel_bit_mask ldr w8, [x24] add w8, w8, #1 str w8, [x24] ldr w9, [x27] b LBB0_8 LBB0_12: Lloh14: adrp x1, l_.str@PAGE Lloh15: add x1, x1, l_.str@PAGEOFF LBB0_13: mov x0, x28 bl _dev_err Lloh16: adrp x8, _EINVAL@GOTPAGE Lloh17: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_25 LBB0_14: Lloh18: adrp x1, l_.str.3@PAGE Lloh19: add x1, x1, l_.str.3@PAGEOFF b LBB0_24 LBB0_15: cmp w8, #0 ldr x28, [sp, #56] ; 8-byte Folded Reload b.le LBB0_22 ; %bb.16: ldr x9, [sp, #48] ; 8-byte Folded Reload str x26, [x9] mov w2, w8 Lloh20: adrp x1, l_.str.6@PAGE Lloh21: add x1, x1, l_.str.6@PAGEOFF mov x0, x28 bl _dev_dbg Lloh22: adrp x8, _HID_USAGE_SENSOR_COMPASS_3D@GOTPAGE Lloh23: ldr x8, [x8, _HID_USAGE_SENSOR_COMPASS_3D@GOTPAGEOFF] Lloh24: ldr w0, [x8] ldr x8, [x20, #48] Lloh25: adrp x9, _CHANNEL_SCAN_INDEX_X@GOTPAGE Lloh26: ldr x9, [x9, _CHANNEL_SCAN_INDEX_X@GOTPAGEOFF] Lloh27: ldr x9, [x9] add x1, x8, x9, lsl #4 add x2, x20, #60 add x3, x20, #56 bl _hid_sensor_format_scale str x0, [x20, #64] Lloh28: adrp x24, _HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH@GOTPAGE Lloh29: ldr x24, [x24, _HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH@GOTPAGEOFF] ldr w0, [x24] ldr x8, [x20, #48] Lloh30: adrp x9, _CHANNEL_SCAN_INDEX_NORTH_MAGN_TILT_COMP@GOTPAGE Lloh31: ldr x9, [x9, _CHANNEL_SCAN_INDEX_NORTH_MAGN_TILT_COMP@GOTPAGEOFF] Lloh32: ldr x9, [x9] add x1, x8, x9, lsl #4 add x2, x20, #36 add x3, x20, #32 bl _hid_sensor_format_scale mov x23, x20 ldr x8, [x23, #16]! str x0, [x23, #24] tbz x8, #63, LBB0_19 ; %bb.17: Lloh33: adrp x19, _HID_FEATURE_REPORT@GOTPAGE Lloh34: ldr x19, [x19, _HID_FEATURE_REPORT@GOTPAGEOFF] ldr w1, [x19] Lloh35: adrp x25, _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPAGE Lloh36: ldr x25, [x25, _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPAGEOFF] ldr w8, [x25] Lloh37: adrp x9, _HID_USAGE_SENSOR_DATA_ORIENTATION@GOTPAGE Lloh38: ldr x9, [x9, _HID_USAGE_SENSOR_DATA_ORIENTATION@GOTPAGEOFF] Lloh39: ldr w9, [x9] orr w3, w9, w8 mov x0, x22 mov x2, x21 mov x4, x23 bl _sensor_hub_input_get_attribute_info ldr x2, [x20, #16] ldr w8, [x20, #24] str x8, [sp] Lloh40: adrp x1, l_.str.7@PAGE Lloh41: add x1, x1, l_.str.7@PAGEOFF mov x0, x28 bl _dev_dbg ldr x8, [x20, #16] tbz x8, #63, LBB0_19 ; %bb.18: ldr w1, [x19] ldr w8, [x25] Lloh42: adrp x9, _HID_USAGE_SENSOR_ORIENT_MAGN_FLUX@GOTPAGE Lloh43: ldr x9, [x9, _HID_USAGE_SENSOR_ORIENT_MAGN_FLUX@GOTPAGEOFF] Lloh44: ldr w9, [x9] orr w3, w9, w8 mov x0, x22 mov x2, x21 mov x4, x23 bl _sensor_hub_input_get_attribute_info ldr x2, [x20, #16] ldr w8, [x20, #24] str x8, [sp] Lloh45: adrp x1, l_.str.7@PAGE Lloh46: add x1, x1, l_.str.7@PAGEOFF mov x0, x28 bl _dev_dbg LBB0_19: ldr x8, [x20] tbz x8, #63, LBB0_21 ; %bb.20: Lloh47: adrp x8, _HID_FEATURE_REPORT@GOTPAGE Lloh48: ldr x8, [x8, _HID_FEATURE_REPORT@GOTPAGEOFF] Lloh49: ldr w1, [x8] Lloh50: adrp x8, _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPAGE Lloh51: ldr x8, [x8, _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPAGEOFF] Lloh52: ldr w8, [x8] ldr w9, [x24] orr w3, w9, w8 mov x0, x22 mov x2, x21 mov x4, x20 bl _sensor_hub_input_get_attribute_info ldr x2, [x20] ldr w8, [x20, #8] str x8, [sp] Lloh53: adrp x1, l_.str.7@PAGE Lloh54: add x1, x1, l_.str.7@PAGEOFF mov x0, x28 bl _dev_dbg LBB0_21: mov w0, #0 ; =0x0 b LBB0_26 LBB0_22: Lloh55: adrp x1, l_.str.5@PAGE Lloh56: add x1, x1, l_.str.5@PAGEOFF b LBB0_13 LBB0_23: Lloh57: adrp x1, l_.str.4@PAGE Lloh58: add x1, x1, l_.str.4@PAGEOFF LBB0_24: mov x0, x28 bl _dev_err Lloh59: adrp x8, _ENOMEM@GOTPAGE Lloh60: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_25: ldr w8, [x8] neg w0, w8 LBB0_26: 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 AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpAdd Lloh55, Lloh56 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpLdrGot Lloh59, Lloh60 .cfi_endproc ; -- End function .comm _MAGN_3D_CHANNEL_MAX,4,2 ; @MAGN_3D_CHANNEL_MAX .comm _magn_3d_addresses,8,3 ; @magn_3d_addresses .comm _HID_INPUT_REPORT,4,2 ; @HID_INPUT_REPORT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "failed to find any supported usage attributes in report\n" .comm _EINVAL,4,2 ; @EINVAL l_.str.1: ; @.str.1 .asciz "magn_3d Found %d usage attributes\n" l_.str.2: ; @.str.2 .asciz "magn_3d X: %x:%x Y: %x:%x Z: %x:%x\n" .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL l_.str.3: ; @.str.3 .asciz "failed to allocate space for iio channels\n" .comm _ENOMEM,4,2 ; @ENOMEM l_.str.4: ; @.str.4 .asciz "failed to allocate space for iio values array\n" .comm _magn_3d_channels,8,3 ; @magn_3d_channels l_.str.5: ; @.str.5 .asciz "failed to find any magnetic channels setup\n" l_.str.6: ; @.str.6 .asciz "magn_3d Setup %d IIO channels\n" .comm _HID_USAGE_SENSOR_COMPASS_3D,4,2 ; @HID_USAGE_SENSOR_COMPASS_3D .comm _CHANNEL_SCAN_INDEX_X,8,3 ; @CHANNEL_SCAN_INDEX_X .comm _HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH,4,2 ; @HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH .comm _CHANNEL_SCAN_INDEX_NORTH_MAGN_TILT_COMP,8,3 ; @CHANNEL_SCAN_INDEX_NORTH_MAGN_TILT_COMP .comm _HID_FEATURE_REPORT,4,2 ; @HID_FEATURE_REPORT .comm _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS,4,2 ; @HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS .comm _HID_USAGE_SENSOR_DATA_ORIENTATION,4,2 ; @HID_USAGE_SENSOR_DATA_ORIENTATION l_.str.7: ; @.str.7 .asciz "Sensitivity index:report %d:%d\n" .comm _HID_USAGE_SENSOR_ORIENT_MAGN_FLUX,4,2 ; @HID_USAGE_SENSOR_ORIENT_MAGN_FLUX .no_dead_strip _magn_3d_parse_report .subsections_via_symbols
assembly_file_156072.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _q@GOTPCREL(%rip), %rax movl $0, (%rax) leaq L_str(%rip), %rdi callq _puts callq _assert_fail movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _q,4,2 ## @q .section __TEXT,__cstring,cstring_literals L_str: ## @str .asciz "ERROR" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _q@GOTPAGE Lloh1: ldr x8, [x8, _q@GOTPAGEOFF] Lloh2: str wzr, [x8] Lloh3: adrp x0, l_str@PAGE Lloh4: add x0, x0, l_str@PAGEOFF bl _puts bl _assert_fail mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _q,4,2 ; @q .section __TEXT,__cstring,cstring_literals l_str: ; @str .asciz "ERROR" .subsections_via_symbols
the_stack_data/22013084.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _find_next_bit ## -- Begin function find_next_bit .p2align 4, 0x90 _find_next_bit: ## @find_next_bit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdx, %rcx movq %rsi, %rdx xorl %esi, %esi xorl %r8d, %r8d popq %rbp jmp __find_next_bit ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _find_next_bit ; -- Begin function find_next_bit .p2align 2 _find_next_bit: ; @find_next_bit .cfi_startproc ; %bb.0: mov x3, x2 mov x2, x1 mov x1, #0 mov x4, #0 b __find_next_bit .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/lib/extr_find_bit.c_find_next_bit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tc6393xb_mmc_resume _tc6393xb_mmc_resume: ## @tc6393xb_mmc_resume .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi callq _dev_get_drvdata movl $512, %edi ## imm = 0x200 addq (%rax), %rdi movq _tc6393xb_mmc_resources@GOTPCREL(%rip), %rax movq (%rax), %rax movl $65534, %edx ## imm = 0xFFFE andl (%rax), %edx xorl %esi, %esi callq _tmio_core_mmc_resume xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _tc6393xb_mmc_resources,8,3 ## @tc6393xb_mmc_resources .no_dead_strip _tc6393xb_mmc_resume .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tc6393xb_mmc_resume _tc6393xb_mmc_resume: ; @tc6393xb_mmc_resume .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr w0, [x0] bl _dev_get_drvdata ldr x8, [x0] add x0, x8, #512 Lloh0: adrp x8, _tc6393xb_mmc_resources@GOTPAGE Lloh1: ldr x8, [x8, _tc6393xb_mmc_resources@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w8, [x8] and w2, w8, #0xfffe mov w1, #0 bl _tmio_core_mmc_resume mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _tc6393xb_mmc_resources,8,3 ; @tc6393xb_mmc_resources .no_dead_strip _tc6393xb_mmc_resume .subsections_via_symbols
AnghaBench/linux/drivers/mfd/extr_tc6393xb.c_tc6393xb_mmc_resume.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function output_row _output_row: ## @output_row .cfi_startproc ## %bb.0: 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, -64(%rbp) ## 8-byte Spill movq %r8, -80(%rbp) ## 8-byte Spill movq %rcx, %r13 movl %edx, %r12d movq %rsi, %rbx movq %rdi, %r14 movl 24(%rbp), %r15d movq 16(%rbp), %rax cmpq $0, 16(%rsi) movq %rax, -48(%rbp) ## 8-byte Spill je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi movl $4, %esi movl $1, %edx movq %r14, %rcx callq _fwrite jmp LBB0_4 LBB0_2: cmpq $0, 8(%rbx) je LBB0_4 ## %bb.3: movq (%rbx), %rdi movq %r14, %rsi callq _fputs LBB0_4: testl %r12d, %r12d jle LBB0_14 ## %bb.5: imull %r12d, %r15d movl %r12d, %ecx movslq %r15d, %rax leaq (,%rax,8), %rax addq %r13, %rax movq %rax, -72(%rbp) ## 8-byte Spill movq %rcx, -56(%rbp) ## 8-byte Spill movq %rcx, %r13 negq %r13 movl $1, %r15d jmp LBB0_6 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_6 Depth=1 leaq (%r15,%r13), %rax incq %rax incq %r15 cmpq $1, %rax je LBB0_14 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq -72(%rbp), %rax ## 8-byte Reload movq -8(%rax,%r15,8), %r12 cmpq $0, 16(%rbx) movq -80(%rbp), %rax ## 8-byte Reload movzbl -1(%rax,%r15), %eax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 testb %al, %al leaq L_.str.2(%rip), %rdx leaq L_.str.3(%rip), %rax cmoveq %rax, %rdx testq %r12, %r12 movq %r12, %rcx leaq L_.str.4(%rip), %rax cmoveq %rax, %rcx movq %r14, %rdi leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq _fprintf jmp LBB0_11 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_6 Depth=1 cmpq $0, 8(%rbx) leaq L_.str.5(%rip), %rcx leaq L_.str.6(%rip), %rdx cmoveq %rdx, %rcx leaq L_.str.7(%rip), %rsi leaq L_.str.8(%rip), %rdx cmoveq %rdx, %rsi testb %al, %al cmovneq %rcx, %rsi movq -64(%rbp), %rax ## 8-byte Reload movl -4(%rax,%r15,4), %edx testq %r12, %r12 movq %r12, %rcx leaq L_.str.4(%rip), %rax cmoveq %rax, %rcx movq %r14, %rdi xorl %eax, %eax callq _fprintf cmpq $0, 8(%rbx) jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_6 Depth=1 cmpq -56(%rbp), %r15 ## 8-byte Folded Reload jae LBB0_11 LBB0_10: ## in Loop: Header=BB0_6 Depth=1 movq (%rbx), %rdi movq %r14, %rsi callq _fputs .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_6 Depth=1 testq %r12, %r12 je LBB0_13 ## %bb.12: ## in Loop: Header=BB0_6 Depth=1 movq %r12, %rdi callq _free jmp LBB0_13 LBB0_14: cmpq $0, 16(%rbx) je LBB0_16 ## %bb.15: leaq L_.str.9(%rip), %rdi movl $5, %esi movl $1, %edx movq %r14, %rcx callq _fwrite jmp LBB0_18 LBB0_16: cmpq $0, 8(%rbx) je LBB0_18 ## %bb.17: leaq L_.str.10(%rip), %rsi movq %r14, %rdi movq -48(%rbp), %rdx ## 8-byte Reload xorl %eax, %eax callq _fprintf LBB0_18: movl $10, %edi movq %r14, %rsi addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _fputc ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "<tr>" L_.str.1: ## @.str.1 .asciz "<td align=\"%s\">%s</td>" L_.str.2: ## @.str.2 .asciz "left" L_.str.3: ## @.str.3 .asciz "right" L_.str.4: ## @.str.4 .space 1 L_.str.5: ## @.str.5 .asciz " %-*s " L_.str.6: ## @.str.6 .asciz "%-*s" L_.str.7: ## @.str.7 .asciz " %*s " L_.str.8: ## @.str.8 .asciz "%*s" L_.str.9: ## @.str.9 .asciz "</tr>" L_.str.10: ## @.str.10 .asciz "\n%s" .no_dead_strip _output_row .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function output_row _output_row: ; @output_row .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x24, x7 stp x6, x5, [sp, #16] ; 16-byte Folded Spill mov x23, x4 mov x25, x3 mov x26, x2 mov x21, x1 mov x19, x0 ldr x8, [x1, #16] cbz x8, LBB0_2 ; %bb.1: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov w1, #4 mov w2, #1 mov x3, x19 bl _fwrite b LBB0_4 LBB0_2: ldr x8, [x21, #8] cbz x8, LBB0_4 ; %bb.3: ldr x0, [x21] mov x1, x19 bl _fputs LBB0_4: cmp w26, #1 b.lt LBB0_14 ; %bb.5: mov x27, #0 mov w28, w26 mul w8, w24, w26 add x26, x25, w8, sxtw #3 Lloh2: adrp x20, l_.str.4@PAGE Lloh3: add x20, x20, l_.str.4@PAGEOFF Lloh4: adrp x22, l_.str.3@PAGE Lloh5: add x22, x22, l_.str.3@PAGEOFF Lloh6: adrp x24, l_.str.1@PAGE Lloh7: add x24, x24, l_.str.1@PAGEOFF b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add x27, x27, #1 cmp x28, x27 b.eq LBB0_14 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x25, [x26, x27, lsl #3] ldr x9, [x21, #16] ldrb w8, [x23, x27] cbz x9, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 cmp w8, #0 Lloh8: adrp x8, l_.str.2@PAGE Lloh9: add x8, x8, l_.str.2@PAGEOFF csel x8, x22, x8, eq cmp x25, #0 csel x9, x20, x25, eq stp x8, x9, [sp] mov x0, x19 mov x1, x24 bl _fprintf b LBB0_12 LBB0_9: ; in Loop: Header=BB0_7 Depth=1 ldr x9, [x21, #8] cmp x9, #0 Lloh10: adrp x9, l_.str.5@PAGE Lloh11: add x9, x9, l_.str.5@PAGEOFF Lloh12: adrp x10, l_.str.6@PAGE Lloh13: add x10, x10, l_.str.6@PAGEOFF csel x9, x10, x9, eq Lloh14: adrp x10, l_.str.7@PAGE Lloh15: add x10, x10, l_.str.7@PAGEOFF Lloh16: adrp x11, l_.str.8@PAGE Lloh17: add x11, x11, l_.str.8@PAGEOFF csel x10, x11, x10, eq cmp w8, #0 csel x1, x10, x9, eq cmp x25, #0 csel x8, x20, x25, eq ldr x9, [sp, #24] ; 8-byte Folded Reload ldr w9, [x9, x27, lsl #2] stp x9, x8, [sp] mov x0, x19 bl _fprintf ldr x8, [x21, #8] cbnz x8, LBB0_11 ; %bb.10: ; in Loop: Header=BB0_7 Depth=1 add x8, x27, #1 cmp x8, x28 b.hs LBB0_12 LBB0_11: ; in Loop: Header=BB0_7 Depth=1 ldr x0, [x21] mov x1, x19 bl _fputs LBB0_12: ; in Loop: Header=BB0_7 Depth=1 cbz x25, LBB0_6 ; %bb.13: ; in Loop: Header=BB0_7 Depth=1 mov x0, x25 bl _free b LBB0_6 LBB0_14: ldr x8, [x21, #16] cbz x8, LBB0_16 ; %bb.15: Lloh18: adrp x0, l_.str.9@PAGE Lloh19: add x0, x0, l_.str.9@PAGEOFF mov w1, #5 mov w2, #1 mov x3, x19 bl _fwrite b LBB0_18 LBB0_16: ldr x8, [x21, #8] cbz x8, LBB0_18 ; %bb.17: ldr x8, [sp, #16] ; 8-byte Folded Reload str x8, [sp] Lloh20: adrp x1, l_.str.10@PAGE Lloh21: add x1, x1, l_.str.10@PAGEOFF mov x0, x19 bl _fprintf LBB0_18: mov w0, #10 mov x1, x19 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 b _fputc .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "<tr>" l_.str.1: ; @.str.1 .asciz "<td align=\"%s\">%s</td>" l_.str.2: ; @.str.2 .asciz "left" l_.str.3: ; @.str.3 .asciz "right" l_.str.4: ; @.str.4 .space 1 l_.str.5: ; @.str.5 .asciz " %-*s " l_.str.6: ; @.str.6 .asciz "%-*s" l_.str.7: ; @.str.7 .asciz " %*s " l_.str.8: ; @.str.8 .asciz "%*s" l_.str.9: ; @.str.9 .asciz "</tr>" l_.str.10: ; @.str.10 .asciz "\n%s" .no_dead_strip _output_row .subsections_via_symbols
AnghaBench/postgres/src/interfaces/libpq/extr_fe-print.c_output_row.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _radeon_crtc_do_set_base ## -- Begin function radeon_crtc_do_set_base .p2align 4, 0x90 _radeon_crtc_do_set_base: ## @radeon_crtc_do_set_base .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, %r14d ## kill: def $ecx killed $ecx def $rcx movq %rcx, -56(%rbp) ## 8-byte Spill ## kill: def $edx killed $edx def $rdx movq %rdx, -96(%rbp) ## 8-byte Spill movq %rsi, %r15 movq %rdi, %rbx movq 8(%rdi), %rax movq (%rax), %r13 callq _to_radeon_crtc movq %rax, %r12 leaq L_.str(%rip), %rdi callq _DRM_DEBUG_KMS testl %r14d, %r14d je LBB0_1 ## %bb.3: movq %r12, -80(%rbp) ## 8-byte Spill movq %rbx, -112(%rbp) ## 8-byte Spill movl %r14d, -84(%rbp) ## 4-byte Spill movq %r15, %rdi callq _to_radeon_framebuffer movq %r15, %r12 jmp LBB0_5 LBB0_1: movq (%rbx), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.4: movq %r12, -80(%rbp) ## 8-byte Spill movl %r14d, -84(%rbp) ## 4-byte Spill callq _to_radeon_framebuffer movq %rbx, -112(%rbp) ## 8-byte Spill movq (%rbx), %r12 LBB0_5: movl (%r12), %ecx xorl %r14d, %r14d addl $-8, %ecx cmpl $24, %ecx ja LBB0_49 ## %bb.6: movq %r15, -120(%rbp) ## 8-byte Spill movl $512, %r15d ## imm = 0x200 leaq LJTI0_0(%rip), %rdx movslq (%rdx,%rcx,4), %rcx addq %rdx, %rcx jmpq *%rcx LBB0_7: movl $768, %r15d ## imm = 0x300 jmp LBB0_11 LBB0_8: movl $1024, %r15d ## imm = 0x400 jmp LBB0_11 LBB0_9: movl $1280, %r15d ## imm = 0x500 jmp LBB0_11 LBB0_10: movl $1536, %r15d ## imm = 0x600 LBB0_11: movq (%rax), %rdi callq _gem_to_radeon_bo movq %rax, %rbx movq %rax, %rdi xorl %esi, %esi callq _radeon_bo_reserve movl %eax, %r14d xorl %edi, %edi testl %eax, %eax setne %dil callq _unlikely testq %rax, %rax jne LBB0_49 ## %bb.12: movq _RADEON_GEM_DOMAIN_VRAM@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -44(%rbp), %rcx movq %rbx, %rdi movl $134217728, %edx ## imm = 0x8000000 callq _radeon_bo_pin_restricted xorl %edi, %edi testl %eax, %eax setne %dil callq _unlikely testq %rax, %rax je LBB0_14 ## %bb.13: movq %rbx, %rdi callq _radeon_bo_unreserve movq _EINVAL@GOTPCREL(%rip), %rax xorl %r14d, %r14d subl (%rax), %r14d jmp LBB0_49 LBB0_2: leaq L_.str.1(%rip), %rdi callq _DRM_DEBUG_KMS jmp LBB0_48 LBB0_14: leaq -64(%rbp), %rsi movq %rbx, %rdi xorl %edx, %edx callq _radeon_bo_get_tiling_flags movq %rbx, %rdi callq _radeon_bo_unreserve movq _RADEON_TILING_MICRO@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, -64(%rbp) je LBB0_16 ## %bb.15: leaq L_.str.2(%rip), %rdi callq _DRM_ERROR LBB0_16: movq %r13, %rdi movl (%r13), %eax movq -80(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx) subl %eax, -44(%rbp) movq 8(%r12), %rax movl (%rax), %eax movl (%r12), %ecx leal 7(%rcx), %esi testl %ecx, %ecx cmovnsl %ecx, %esi sarl $3, %esi cltd idivl %esi movl %eax, %r13d imull %ecx, %eax leal (%rax,%rcx,8), %eax decl %eax ## kill: def $ecx killed $ecx killed $rcx shll $3, %ecx cltd idivl %ecx movl %eax, -60(%rbp) ## 4-byte Spill movq _RADEON_CRTC_GUI_TRIG_OFFSET_LEFT_EN@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _RADEON_TILING_MACRO@GOTPCREL(%rip), %rax movl (%rax), %ebx andl -64(%rbp), %ebx movq %rdi, -72(%rbp) ## 8-byte Spill callq _ASIC_IS_R300 testl %ebx, %ebx je LBB0_20 ## %bb.17: testq %rax, %rax je LBB0_19 ## %bb.18: movq _R300_CRTC_X_Y_MODE_EN@GOTPCREL(%rip), %rax movq _R300_CRTC_MICRO_TILE_BUFFER_DIS@GOTPCREL(%rip), %rcx movq _R300_CRTC_MACRO_TILE_EN@GOTPCREL(%rip), %rdx movl %r14d, %ebx orl (%rax), %ebx orl (%rcx), %ebx orl (%rdx), %ebx jmp LBB0_23 LBB0_20: testq %rax, %rax je LBB0_22 ## %bb.21: movq _R300_CRTC_X_Y_MODE_EN@GOTPCREL(%rip), %rax movq _R300_CRTC_MICRO_TILE_BUFFER_DIS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movq _R300_CRTC_MACRO_TILE_EN@GOTPCREL(%rip), %rax orl (%rax), %ecx notl %ecx movl %r14d, %ebx andl %ecx, %ebx jmp LBB0_23 LBB0_19: movq _RADEON_CRTC_TILE_EN@GOTPCREL(%rip), %rax movl %r14d, %ebx orl (%rax), %ebx jmp LBB0_23 LBB0_22: movq _RADEON_CRTC_TILE_EN@GOTPCREL(%rip), %rax movl (%rax), %eax notl %eax movl %r14d, %ebx andl %eax, %ebx LBB0_23: movq _RADEON_TILING_MACRO@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, -64(%rbp) movl %r15d, -100(%rbp) ## 4-byte Spill je LBB0_27 ## %bb.24: movq -72(%rbp), %rdi ## 8-byte Reload callq _ASIC_IS_R300 testq %rax, %rax je LBB0_26 ## %bb.25: movq -56(%rbp), %rax ## 8-byte Reload shll $16, %eax orl -96(%rbp), %eax ## 4-byte Folded Reload movq %rax, -56(%rbp) ## 8-byte Spill movl $-2048, %r13d ## imm = 0xF800 andl -44(%rbp), %r13d jmp LBB0_34 LBB0_27: movl (%r12), %eax xorl %r14d, %r14d addl $-8, %eax cmpl $24, %eax ja LBB0_49 ## %bb.28: imull -56(%rbp), %r13d ## 4-byte Folded Reload addl -96(%rbp), %r13d ## 4-byte Folded Reload leaq LJTI0_1(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_29: addl %r13d, %r13d jmp LBB0_32 LBB0_26: movl (%r12), %eax shrl $4, %eax movq -56(%rbp), %rsi ## 8-byte Reload movl %esi, %ecx sarl $3, %ecx imull %ecx, %r13d movq -96(%rbp), %rdi ## 8-byte Reload addl %edi, %r13d movb $8, %cl subb %al, %cl sarl %cl, %r13d shll $11, %r13d movl %eax, %ecx shll %cl, %edi leal 255(%rdi), %eax testl %edi, %edi cmovnsl %edi, %eax andl $-256, %eax subl %eax, %edi leal 7(%rsi), %eax leal 15(%rsi), %ecx testl %esi, %esi cmovnsl %esi, %eax cmovnsl %esi, %ecx andl $16777208, %eax ## imm = 0xFFFFF8 movl %esi, %edx subl %eax, %edx shll $8, %edx addl -44(%rbp), %edx addl %edi, %edx addl %edx, %r13d andl $-16, %ecx subl %ecx, %esi orl %esi, %ebx jmp LBB0_33 LBB0_30: leal (%r13,%r13,2), %r13d jmp LBB0_32 LBB0_31: shll $2, %r13d LBB0_32: addl -44(%rbp), %r13d LBB0_33: xorl %eax, %eax movq %rax, -56(%rbp) ## 8-byte Spill LBB0_34: movq -72(%rbp), %r15 ## 8-byte Reload movq -80(%rbp), %r12 ## 8-byte Reload movl -60(%rbp), %ecx ## 4-byte Reload movl %ecx, %r14d shll $16, %r14d andl $-8, %r13d movl %r13d, -44(%rbp) cmpl $1, 4(%r12) jne LBB0_35 ## %bb.36: movl %ebx, %r13d movq _RADEON_CRTC2_GEN_CNTL@GOTPCREL(%rip), %rax jmp LBB0_37 LBB0_35: movl %ebx, %r13d movq _RADEON_CRTC_GEN_CNTL@GOTPCREL(%rip), %rax LBB0_37: orl %ecx, %r14d movl (%rax), %ebx movl %ebx, %edi callq _RREG32 andl $-3841, %eax ## imm = 0xF0FF movl -100(%rbp), %ecx ## 4-byte Reload orl %eax, %ecx movq _RADEON_CRTC_VSTAT_MODE_MASK@GOTPCREL(%rip), %rax movl (%rax), %esi notl %esi andl %ecx, %esi movl %ebx, %edi callq _WREG32 movl -44(%rbp), %ebx movq _RADEON_DISPLAY_BASE_ADDR@GOTPCREL(%rip), %rax movl (%r12), %esi movl 8(%r12), %edi addl (%rax), %edi callq _WREG32 movq %r15, %rdi callq _ASIC_IS_R300 testq %rax, %rax je LBB0_42 ## %bb.38: cmpl $0, 4(%r12) jne LBB0_39 ## %bb.40: movq _R300_CRTC_TILE_X0_Y0@GOTPCREL(%rip), %rax jmp LBB0_41 LBB0_39: movq _R300_CRTC2_TILE_X0_Y0@GOTPCREL(%rip), %rax LBB0_41: movl (%rax), %edi movq -56(%rbp), %rsi ## 8-byte Reload ## kill: def $esi killed $esi killed $rsi callq _WREG32 LBB0_42: movq _RADEON_CRTC_OFFSET_CNTL@GOTPCREL(%rip), %rax movl 8(%r12), %edi addl (%rax), %edi movl %r13d, %esi callq _WREG32 movq _RADEON_CRTC_OFFSET@GOTPCREL(%rip), %rax movl 8(%r12), %edi addl (%rax), %edi movl %ebx, %esi callq _WREG32 movq _RADEON_CRTC_PITCH@GOTPCREL(%rip), %rax movl 8(%r12), %edi addl (%rax), %edi movl %r14d, %esi callq _WREG32 movq -120(%rbp), %rdi ## 8-byte Reload testq %rdi, %rdi je LBB0_47 ## %bb.43: cmpl $0, -84(%rbp) ## 4-byte Folded Reload jne LBB0_47 ## %bb.44: movq -112(%rbp), %rax ## 8-byte Reload cmpq %rdi, (%rax) je LBB0_47 ## %bb.45: callq _to_radeon_framebuffer movq (%rax), %rdi callq _gem_to_radeon_bo movq %rax, %rbx movq %rax, %rdi xorl %esi, %esi callq _radeon_bo_reserve movl %eax, %r14d xorl %edi, %edi testl %eax, %eax setne %dil callq _unlikely testq %rax, %rax jne LBB0_49 ## %bb.46: movq %rbx, %rdi callq _radeon_bo_unpin movq %rbx, %rdi callq _radeon_bo_unreserve movq -72(%rbp), %r15 ## 8-byte Reload LBB0_47: movq %r15, %rdi callq _radeon_bandwidth_update LBB0_48: xorl %r14d, %r14d LBB0_49: movl %r14d, %eax addq $88, %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_11, LBB0_11-LJTI0_0 .set L0_0_set_49, LBB0_49-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 LJTI0_0: .long L0_0_set_11 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_7 .long L0_0_set_8 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_9 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_10 .set L0_1_set_32, LBB0_32-LJTI0_1 .set L0_1_set_49, LBB0_49-LJTI0_1 .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_32 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_29 .long L0_1_set_29 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_30 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_31 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n" L_.str.1: ## @.str.1 .asciz "No FB bound\n" .comm _RADEON_GEM_DOMAIN_VRAM,4,2 ## @RADEON_GEM_DOMAIN_VRAM .comm _EINVAL,4,2 ## @EINVAL .comm _RADEON_TILING_MICRO,4,2 ## @RADEON_TILING_MICRO L_.str.2: ## @.str.2 .asciz "trying to scanout microtiled buffer\n" .comm _RADEON_CRTC_GUI_TRIG_OFFSET_LEFT_EN,4,2 ## @RADEON_CRTC_GUI_TRIG_OFFSET_LEFT_EN .comm _RADEON_TILING_MACRO,4,2 ## @RADEON_TILING_MACRO .comm _R300_CRTC_X_Y_MODE_EN,4,2 ## @R300_CRTC_X_Y_MODE_EN .comm _R300_CRTC_MICRO_TILE_BUFFER_DIS,4,2 ## @R300_CRTC_MICRO_TILE_BUFFER_DIS .comm _R300_CRTC_MACRO_TILE_EN,4,2 ## @R300_CRTC_MACRO_TILE_EN .comm _RADEON_CRTC_TILE_EN,4,2 ## @RADEON_CRTC_TILE_EN .comm _RADEON_CRTC2_GEN_CNTL,4,2 ## @RADEON_CRTC2_GEN_CNTL .comm _RADEON_CRTC_GEN_CNTL,4,2 ## @RADEON_CRTC_GEN_CNTL .comm _RADEON_CRTC_VSTAT_MODE_MASK,4,2 ## @RADEON_CRTC_VSTAT_MODE_MASK .comm _RADEON_DISPLAY_BASE_ADDR,4,2 ## @RADEON_DISPLAY_BASE_ADDR .comm _R300_CRTC2_TILE_X0_Y0,4,2 ## @R300_CRTC2_TILE_X0_Y0 .comm _R300_CRTC_TILE_X0_Y0,4,2 ## @R300_CRTC_TILE_X0_Y0 .comm _RADEON_CRTC_OFFSET_CNTL,4,2 ## @RADEON_CRTC_OFFSET_CNTL .comm _RADEON_CRTC_OFFSET,4,2 ## @RADEON_CRTC_OFFSET .comm _RADEON_CRTC_PITCH,4,2 ## @RADEON_CRTC_PITCH .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _radeon_crtc_do_set_base ; -- Begin function radeon_crtc_do_set_base .p2align 2 _radeon_crtc_do_set_base: ; @radeon_crtc_do_set_base .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x4 mov x24, x3 mov x25, x2 mov x19, x1 mov x22, x0 ldr x8, [x0, #8] ldr x26, [x8] bl _to_radeon_crtc mov x23, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _DRM_DEBUG_KMS cbz w21, LBB0_2 ; %bb.1: mov x0, x19 bl _to_radeon_framebuffer mov x20, x19 b LBB0_4 LBB0_2: ldr x0, [x22] cbz x0, LBB0_13 ; %bb.3: bl _to_radeon_framebuffer ldr x20, [x22] LBB0_4: mov w27, #0 ldr w8, [x20] sub w8, w8, #8 cmp w8, #24 b.hi LBB0_43 ; %bb.5: str x26, [sp, #16] ; 8-byte Folded Spill mov w28, #512 Lloh2: adrp x9, lJTI0_0@PAGE Lloh3: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_6 ldrh w11, [x9, x8, lsl #1] add x10, x10, x11, lsl #2 br x10 LBB0_6: mov w28, #768 b LBB0_10 LBB0_7: mov w28, #1024 b LBB0_10 LBB0_8: mov w28, #1280 b LBB0_10 LBB0_9: mov w28, #1536 LBB0_10: ldr x0, [x0] bl _gem_to_radeon_bo mov x26, x0 mov w1, #0 bl _radeon_bo_reserve mov x27, x0 cmp w0, #0 cset w0, ne bl _unlikely cbnz x0, LBB0_43 ; %bb.11: Lloh4: adrp x8, _RADEON_GEM_DOMAIN_VRAM@GOTPAGE Lloh5: ldr x8, [x8, _RADEON_GEM_DOMAIN_VRAM@GOTPAGEOFF] Lloh6: ldr w1, [x8] add x3, sp, #28 mov x0, x26 mov w2, #134217728 bl _radeon_bo_pin_restricted cmp w0, #0 cset w0, ne bl _unlikely cbz x0, LBB0_14 ; %bb.12: mov x0, x26 bl _radeon_bo_unreserve Lloh7: adrp x8, _EINVAL@GOTPAGE Lloh8: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh9: ldr w8, [x8] neg w27, w8 b LBB0_43 LBB0_13: Lloh10: adrp x0, l_.str.1@PAGE Lloh11: add x0, x0, l_.str.1@PAGEOFF bl _DRM_DEBUG_KMS b LBB0_42 LBB0_14: add x1, sp, #24 mov x0, x26 mov x2, #0 bl _radeon_bo_get_tiling_flags mov x0, x26 bl _radeon_bo_unreserve ldr w8, [sp, #24] Lloh12: adrp x9, _RADEON_TILING_MICRO@GOTPAGE Lloh13: ldr x9, [x9, _RADEON_TILING_MICRO@GOTPAGEOFF] Lloh14: ldr w9, [x9] tst w9, w8 b.eq LBB0_16 ; %bb.15: Lloh15: adrp x0, l_.str.2@PAGE Lloh16: add x0, x0, l_.str.2@PAGEOFF bl _DRM_ERROR LBB0_16: ldr x0, [sp, #16] ; 8-byte Folded Reload ldr w8, [x0] str w8, [x23] ldr w9, [sp, #28] sub w8, w9, w8 str w8, [sp, #28] ldr x8, [x20, #8] ldr w9, [x8] ldr w26, [x20] add w8, w26, #7 cmp w26, #0 csel w8, w8, w26, lt asr w8, w8, #3 stp w8, w9, [sp, #8] ; 8-byte Folded Spill Lloh17: adrp x8, _RADEON_CRTC_GUI_TRIG_OFFSET_LEFT_EN@GOTPAGE Lloh18: ldr x8, [x8, _RADEON_CRTC_GUI_TRIG_OFFSET_LEFT_EN@GOTPAGEOFF] Lloh19: ldr w8, [x8] str w8, [sp, #4] ; 4-byte Folded Spill ldr w8, [sp, #24] Lloh20: adrp x9, _RADEON_TILING_MACRO@GOTPAGE Lloh21: ldr x9, [x9, _RADEON_TILING_MACRO@GOTPAGEOFF] Lloh22: ldr w9, [x9] and w27, w9, w8 bl _ASIC_IS_R300 cbz w27, LBB0_19 ; %bb.17: cbz x0, LBB0_21 ; %bb.18: Lloh23: adrp x8, _R300_CRTC_X_Y_MODE_EN@GOTPAGE Lloh24: ldr x8, [x8, _R300_CRTC_X_Y_MODE_EN@GOTPAGEOFF] Lloh25: ldr w8, [x8] Lloh26: adrp x9, _R300_CRTC_MICRO_TILE_BUFFER_DIS@GOTPAGE Lloh27: ldr x9, [x9, _R300_CRTC_MICRO_TILE_BUFFER_DIS@GOTPAGEOFF] Lloh28: ldr w9, [x9] Lloh29: adrp x10, _R300_CRTC_MACRO_TILE_EN@GOTPAGE Lloh30: ldr x10, [x10, _R300_CRTC_MACRO_TILE_EN@GOTPAGEOFF] Lloh31: ldr w10, [x10] ldr w11, [sp, #4] ; 4-byte Folded Reload orr w8, w8, w11 orr w8, w8, w9 orr w13, w8, w10 b LBB0_24 LBB0_19: cbz x0, LBB0_22 ; %bb.20: Lloh32: adrp x8, _R300_CRTC_X_Y_MODE_EN@GOTPAGE Lloh33: ldr x8, [x8, _R300_CRTC_X_Y_MODE_EN@GOTPAGEOFF] Lloh34: ldr w8, [x8] Lloh35: adrp x9, _R300_CRTC_MICRO_TILE_BUFFER_DIS@GOTPAGE Lloh36: ldr x9, [x9, _R300_CRTC_MICRO_TILE_BUFFER_DIS@GOTPAGEOFF] Lloh37: ldr w9, [x9] orr w8, w9, w8 Lloh38: adrp x9, _R300_CRTC_MACRO_TILE_EN@GOTPAGE Lloh39: ldr x9, [x9, _R300_CRTC_MACRO_TILE_EN@GOTPAGEOFF] Lloh40: ldr w9, [x9] orr w8, w8, w9 b LBB0_23 LBB0_21: Lloh41: adrp x8, _RADEON_CRTC_TILE_EN@GOTPAGE Lloh42: ldr x8, [x8, _RADEON_CRTC_TILE_EN@GOTPAGEOFF] Lloh43: ldr w8, [x8] ldr w9, [sp, #4] ; 4-byte Folded Reload orr w13, w8, w9 b LBB0_24 LBB0_22: Lloh44: adrp x8, _RADEON_CRTC_TILE_EN@GOTPAGE Lloh45: ldr x8, [x8, _RADEON_CRTC_TILE_EN@GOTPAGEOFF] Lloh46: ldr w8, [x8] LBB0_23: ldr w9, [sp, #4] ; 4-byte Folded Reload bic w13, w9, w8 LBB0_24: ldp w11, w10, [sp, #8] ; 8-byte Folded Reload Lloh47: adrp x9, _RADEON_TILING_MACRO@GOTPAGE Lloh48: ldr x9, [x9, _RADEON_TILING_MACRO@GOTPAGEOFF] ldr w8, [sp, #24] Lloh49: ldr w9, [x9] sdiv w14, w10, w11 tst w9, w8 str w13, [sp, #12] ; 4-byte Folded Spill b.eq LBB0_27 ; %bb.25: mov x27, x14 ldr x0, [sp, #16] ; 8-byte Folded Reload bl _ASIC_IS_R300 cbz x0, LBB0_30 ; %bb.26: orr w8, w25, w24, lsl #16 str w8, [sp, #8] ; 4-byte Folded Spill ldr w8, [sp, #28] and w8, w8, #0xfffff800 mov x14, x27 b LBB0_34 LBB0_27: mov w27, #0 ldr w8, [x20] sub w9, w8, #8 cmp w9, #24 b.hi LBB0_43 ; %bb.28: madd w8, w14, w24, w25 Lloh50: adrp x10, lJTI0_1@PAGE Lloh51: add x10, x10, lJTI0_1@PAGEOFF adr x11, LBB0_29 ldrb w12, [x10, x9] add x11, x11, x12, lsl #2 br x11 LBB0_29: lsl w8, w8, #1 b LBB0_33 LBB0_30: str wzr, [sp, #8] ; 4-byte Folded Spill ldr w8, [x20] asr w8, w8, #4 asr w9, w24, #3 mov x14, x27 madd w9, w27, w9, w25 mov w10, #8 sub w10, w10, w8 asr w9, w9, w10 lsl w8, w25, w8 and w10, w8, #0xff negs w8, w8 and w8, w8, #0xff csneg w8, w10, w8, mi negs w10, w24 and w11, w10, #0x7 and w12, w24, #0x7 csneg w11, w12, w11, mi ldr w12, [sp, #28] add w11, w12, w11, lsl #8 add w8, w11, w8 add w8, w8, w9, lsl #11 and w9, w10, #0xf and w10, w24, #0xf csneg w9, w10, w9, mi ldr w10, [sp, #12] ; 4-byte Folded Reload orr w10, w10, w9 str w10, [sp, #12] ; 4-byte Folded Spill b LBB0_34 LBB0_31: add w8, w8, w8, lsl #1 b LBB0_33 LBB0_32: lsl w8, w8, #2 LBB0_33: str wzr, [sp, #8] ; 4-byte Folded Spill ldr w9, [sp, #28] add w8, w9, w8 LBB0_34: lsl w9, w26, #3 madd w10, w14, w26, w9 sub w10, w10, #1 sdiv w9, w10, w9 orr w24, w9, w9, lsl #16 and w8, w8, #0xfffffff8 str w8, [sp, #28] Lloh52: adrp x8, _RADEON_CRTC2_GEN_CNTL@GOTPAGE Lloh53: ldr x8, [x8, _RADEON_CRTC2_GEN_CNTL@GOTPAGEOFF] ldr w9, [x23, #4] Lloh54: adrp x10, _RADEON_CRTC_GEN_CNTL@GOTPAGE Lloh55: ldr x10, [x10, _RADEON_CRTC_GEN_CNTL@GOTPAGEOFF] cmp w9, #1 csel x8, x8, x10, eq ldr w25, [x8] mov x0, x25 bl _RREG32 and w8, w0, #0xfffff0ff orr w8, w8, w28 Lloh56: adrp x9, _RADEON_CRTC_VSTAT_MODE_MASK@GOTPAGE Lloh57: ldr x9, [x9, _RADEON_CRTC_VSTAT_MODE_MASK@GOTPAGEOFF] Lloh58: ldr w9, [x9] bic w1, w8, w9 mov x0, x25 bl _WREG32 ldr w25, [sp, #28] Lloh59: adrp x8, _RADEON_DISPLAY_BASE_ADDR@GOTPAGE Lloh60: ldr x8, [x8, _RADEON_DISPLAY_BASE_ADDR@GOTPAGEOFF] Lloh61: ldr w8, [x8] ldr w9, [x23, #8] add w0, w9, w8 ldr w1, [x23] bl _WREG32 ldr x20, [sp, #16] ; 8-byte Folded Reload mov x0, x20 bl _ASIC_IS_R300 cbz x0, LBB0_36 ; %bb.35: Lloh62: adrp x8, _R300_CRTC_TILE_X0_Y0@GOTPAGE Lloh63: ldr x8, [x8, _R300_CRTC_TILE_X0_Y0@GOTPAGEOFF] ldr w9, [x23, #4] Lloh64: adrp x10, _R300_CRTC2_TILE_X0_Y0@GOTPAGE Lloh65: ldr x10, [x10, _R300_CRTC2_TILE_X0_Y0@GOTPAGEOFF] cmp w9, #0 csel x8, x8, x10, eq ldr w0, [x8] ldr w1, [sp, #8] ; 4-byte Folded Reload bl _WREG32 LBB0_36: Lloh66: adrp x8, _RADEON_CRTC_OFFSET_CNTL@GOTPAGE Lloh67: ldr x8, [x8, _RADEON_CRTC_OFFSET_CNTL@GOTPAGEOFF] Lloh68: ldr w8, [x8] ldr w9, [x23, #8] add w0, w9, w8 ldr w1, [sp, #12] ; 4-byte Folded Reload bl _WREG32 Lloh69: adrp x8, _RADEON_CRTC_OFFSET@GOTPAGE Lloh70: ldr x8, [x8, _RADEON_CRTC_OFFSET@GOTPAGEOFF] Lloh71: ldr w8, [x8] ldr w9, [x23, #8] add w0, w9, w8 mov x1, x25 bl _WREG32 Lloh72: adrp x8, _RADEON_CRTC_PITCH@GOTPAGE Lloh73: ldr x8, [x8, _RADEON_CRTC_PITCH@GOTPAGEOFF] Lloh74: ldr w8, [x8] ldr w9, [x23, #8] add w0, w9, w8 mov x1, x24 bl _WREG32 cbz x19, LBB0_41 ; %bb.37: cbnz w21, LBB0_41 ; %bb.38: ldr x8, [x22] cmp x8, x19 b.eq LBB0_41 ; %bb.39: mov x0, x19 bl _to_radeon_framebuffer ldr x0, [x0] bl _gem_to_radeon_bo mov x20, x0 mov w1, #0 bl _radeon_bo_reserve mov x27, x0 cmp w0, #0 cset w0, ne bl _unlikely cbnz x0, LBB0_43 ; %bb.40: mov x0, x20 bl _radeon_bo_unpin mov x0, x20 bl _radeon_bo_unreserve ldr x20, [sp, #16] ; 8-byte Folded Reload LBB0_41: mov x0, x20 bl _radeon_bandwidth_update LBB0_42: mov w27, #0 LBB0_43: mov x0, x27 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61 .loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58 .loh AdrpLdrGot Lloh54, Lloh55 .loh AdrpLdrGot Lloh52, Lloh53 .loh AdrpLdrGot Lloh64, Lloh65 .loh AdrpLdrGot Lloh62, Lloh63 .loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74 .loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71 .loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68 .cfi_endproc .section __TEXT,__const .p2align 1 lJTI0_0: .short (LBB0_10-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_6-LBB0_6)>>2 .short (LBB0_7-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_8-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_43-LBB0_6)>>2 .short (LBB0_9-LBB0_6)>>2 lJTI0_1: .byte (LBB0_33-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_29-LBB0_29)>>2 .byte (LBB0_29-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_31-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_43-LBB0_29)>>2 .byte (LBB0_32-LBB0_29)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n" l_.str.1: ; @.str.1 .asciz "No FB bound\n" .comm _RADEON_GEM_DOMAIN_VRAM,4,2 ; @RADEON_GEM_DOMAIN_VRAM .comm _EINVAL,4,2 ; @EINVAL .comm _RADEON_TILING_MICRO,4,2 ; @RADEON_TILING_MICRO l_.str.2: ; @.str.2 .asciz "trying to scanout microtiled buffer\n" .comm _RADEON_CRTC_GUI_TRIG_OFFSET_LEFT_EN,4,2 ; @RADEON_CRTC_GUI_TRIG_OFFSET_LEFT_EN .comm _RADEON_TILING_MACRO,4,2 ; @RADEON_TILING_MACRO .comm _R300_CRTC_X_Y_MODE_EN,4,2 ; @R300_CRTC_X_Y_MODE_EN .comm _R300_CRTC_MICRO_TILE_BUFFER_DIS,4,2 ; @R300_CRTC_MICRO_TILE_BUFFER_DIS .comm _R300_CRTC_MACRO_TILE_EN,4,2 ; @R300_CRTC_MACRO_TILE_EN .comm _RADEON_CRTC_TILE_EN,4,2 ; @RADEON_CRTC_TILE_EN .comm _RADEON_CRTC2_GEN_CNTL,4,2 ; @RADEON_CRTC2_GEN_CNTL .comm _RADEON_CRTC_GEN_CNTL,4,2 ; @RADEON_CRTC_GEN_CNTL .comm _RADEON_CRTC_VSTAT_MODE_MASK,4,2 ; @RADEON_CRTC_VSTAT_MODE_MASK .comm _RADEON_DISPLAY_BASE_ADDR,4,2 ; @RADEON_DISPLAY_BASE_ADDR .comm _R300_CRTC2_TILE_X0_Y0,4,2 ; @R300_CRTC2_TILE_X0_Y0 .comm _R300_CRTC_TILE_X0_Y0,4,2 ; @R300_CRTC_TILE_X0_Y0 .comm _RADEON_CRTC_OFFSET_CNTL,4,2 ; @RADEON_CRTC_OFFSET_CNTL .comm _RADEON_CRTC_OFFSET,4,2 ; @RADEON_CRTC_OFFSET .comm _RADEON_CRTC_PITCH,4,2 ; @RADEON_CRTC_PITCH .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_legacy_crtc.c_radeon_crtc_do_set_base.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tcf_simp_release _tcf_simp_release: ## @tcf_simp_release .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 xorl %eax, %eax testq %rdi, %rdi je LBB0_6 ## %bb.1: movq %rdi, %rbx movq (%rdi), %rcx testl %esi, %esi je LBB0_3 ## %bb.2: decq %rcx movq %rcx, (%rbx) LBB0_3: movq 8(%rbx), %rdx leaq -1(%rdx), %rsi movq %rsi, 8(%rbx) testq %rcx, %rcx jg LBB0_6 ## %bb.4: cmpq $1, %rdx jg LBB0_6 ## %bb.5: movl 20(%rbx), %edi callq _kfree addq $16, %rbx movq _simp_hash_info@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _tcf_hash_destroy movl $1, %eax LBB0_6: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _simp_hash_info,4,2 ## @simp_hash_info .no_dead_strip _tcf_simp_release .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tcf_simp_release _tcf_simp_release: ; @tcf_simp_release .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cbz x0, LBB0_6 ; %bb.1: mov x19, x0 ldr x8, [x0] cbz w1, LBB0_3 ; %bb.2: sub x8, x8, #1 str x8, [x19] LBB0_3: ldr x9, [x19, #8] sub x10, x9, #1 str x10, [x19, #8] cmp x8, #0 ccmp x9, #1, #0, le b.le LBB0_5 ; %bb.4: mov w0, #0 b LBB0_6 LBB0_5: ldr w0, [x19, #20] bl _kfree add x0, x19, #16 Lloh0: adrp x1, _simp_hash_info@GOTPAGE Lloh1: ldr x1, [x1, _simp_hash_info@GOTPAGEOFF] bl _tcf_hash_destroy mov w0, #1 LBB0_6: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _simp_hash_info,4,2 ; @simp_hash_info .no_dead_strip _tcf_simp_release .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/sched/extr_act_simple.c_tcf_simp_release.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lio_enable_irq ## -- Begin function lio_enable_irq .p2align 4, 0x90 _lio_enable_irq: ## @lio_enable_irq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %rbx testq %rdi, %rdi je LBB0_1 ## %bb.2: movq 24(%rbx), %r14 leaq 16(%rbx), %rdi callq _atomic_load_acq_int movq %rax, %r12 leaq 4(%rbx), %r13 movq %r13, %rdi callq _mtx_lock movl (%rbx), %esi movq 8(%rbx), %rdx subq %r12, %rdx movq %r14, %rdi callq _lio_write_csr32 movq %r12, 8(%rbx) xorl %eax, %eax callq ___compiler_membar movq %r13, %rdi callq _mtx_unlock testq %r15, %r15 je LBB0_5 LBB0_4: movq 16(%r15), %r14 leaq 4(%r15), %r12 movq %r12, %rdi callq _mtx_lock movl (%r15), %esi movq 8(%r15), %rdx movq %r14, %rdi callq _lio_write_csr32 movq $0, 8(%r15) xorl %eax, %eax callq ___compiler_membar movq %r12, %rdi callq _mtx_unlock LBB0_5: testq %r14, %r14 je LBB0_11 ## %bb.6: movq %r14, %rdi callq _LIO_CN23XX_PF testq %rax, %rax je LBB0_11 ## %bb.7: testq %rbx, %rbx jne LBB0_10 ## %bb.8: testq %r15, %r15 je LBB0_11 ## %bb.9: movl (%r15), %esi movq %r14, %rdi callq _lio_read_csr64 movq %r15, %rbx LBB0_10: movl (%rbx), %esi movq _LIO_CN23XX_INTR_RESEND@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _lio_write_csr64 ## TAILCALL LBB0_11: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: xorl %r14d, %r14d testq %r15, %r15 jne LBB0_4 jmp LBB0_5 .cfi_endproc ## -- End function .comm _LIO_CN23XX_INTR_RESEND,4,2 ## @LIO_CN23XX_INTR_RESEND .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lio_enable_irq ; -- Begin function lio_enable_irq .p2align 2 _lio_enable_irq: ; @lio_enable_irq .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 mov x21, x0 cbz x0, LBB0_10 ; %bb.1: ldr x19, [x21, #24] add x0, x21, #16 bl _atomic_load_acq_int mov x22, x0 add x23, x21, #4 mov x0, x23 bl _mtx_lock ldr w1, [x21] ldr x8, [x21, #8] sub x2, x8, x22 mov x0, x19 bl _lio_write_csr32 str x22, [x21, #8] bl ___compiler_membar mov x0, x23 bl _mtx_unlock cbz x20, LBB0_3 LBB0_2: ldr x19, [x20, #16] add x22, x20, #4 mov x0, x22 bl _mtx_lock ldr w1, [x20] ldr x2, [x20, #8] mov x0, x19 bl _lio_write_csr32 str xzr, [x20, #8] bl ___compiler_membar mov x0, x22 bl _mtx_unlock LBB0_3: cbz x19, LBB0_9 ; %bb.4: mov x0, x19 bl _LIO_CN23XX_PF cbz x0, LBB0_9 ; %bb.5: cbnz x21, LBB0_8 ; %bb.6: cbz x20, LBB0_9 ; %bb.7: ldr w1, [x20] mov x0, x19 bl _lio_read_csr64 mov x21, x20 LBB0_8: ldr w1, [x21] Lloh0: adrp x8, _LIO_CN23XX_INTR_RESEND@GOTPAGE Lloh1: ldr x8, [x8, _LIO_CN23XX_INTR_RESEND@GOTPAGEOFF] Lloh2: ldr w2, [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 _lio_write_csr64 LBB0_9: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_10: mov x19, #0 cbnz x20, LBB0_2 b LBB0_3 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _LIO_CN23XX_INTR_RESEND,4,2 ; @LIO_CN23XX_INTR_RESEND .subsections_via_symbols
AnghaBench/freebsd/sys/dev/liquidio/base/extr_lio_device.c_lio_enable_irq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function bpf_setif _bpf_setif: ## @bpf_setif .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r12d movl %edx, -44(%rbp) ## 4-byte Spill movq %rsi, -56(%rbp) ## 8-byte Spill movq %rdi, %rbx testl %ecx, %ecx je LBB0_2 ## %bb.1: cmpq $0, (%rbx) je LBB0_5 LBB0_2: movq _bpf_mlock@GOTPCREL(%rip), %r14 movq _PRINET@GOTPCREL(%rip), %r15 leaq L_.str(%rip), %r13 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl (%r14), %esi movl (%r15), %edx movl %ebx, %edi movq %r13, %rcx xorl %r8d, %r8d callq _msleep testl %r12d, %r12d je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, (%rbx) jne LBB0_3 LBB0_5: movq _BPF_CLOSING@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, 8(%rbx) je LBB0_6 LBB0_21: movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_22: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_6: movq _bpf_iflist@GOTPCREL(%rip), %rax movq (%rax), %r12 testq %r12, %r12 movq -56(%rbp), %r15 ## 8-byte Reload je LBB0_21 ## %bb.7: movq _DLT_PKTAP@GOTPCREL(%rip), %r13 movq _intcoproc_unrestricted@GOTPCREL(%rip), %r14 jmp LBB0_8 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_8 Depth=1 movq 16(%r12), %r12 testq %r12, %r12 je LBB0_21 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq 8(%r12), %rdi testq %rdi, %rdi sete %al cmpq %r15, %rdi setne %cl orb %al, %cl jne LBB0_20 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movq (%r12), %rax cmpq (%r13), %rax jne LBB0_11 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 movq _BPF_WANT_PKTAP@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, 8(%rbx) je LBB0_20 LBB0_11: ## in Loop: Header=BB0_8 Depth=1 cmpl $0, (%r14) jne LBB0_13 ## %bb.12: ## in Loop: Header=BB0_8 Depth=1 callq _IFNET_IS_INTCOPROC testq %rax, %rax jne LBB0_20 LBB0_13: movq %rbx, %rdi callq _bpf_allocbufs testl %eax, %eax jne LBB0_22 ## %bb.14: movq 16(%rbx), %rax cmpq %rax, %r12 je LBB0_18 ## %bb.15: testq %rax, %rax je LBB0_16 LBB0_17: movq %rbx, %rdi movq %r12, %rsi callq _bpf_attachd testq %rax, %rax jne LBB0_21 LBB0_18: xorl %eax, %eax cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_22 ## %bb.19: movq %rbx, %rdi callq _reset_d xorl %eax, %eax jmp LBB0_22 LBB0_16: movq %rbx, %rdi xorl %esi, %esi callq _bpf_detachd testq %rax, %rax jne LBB0_21 jmp LBB0_17 .cfi_endproc ## -- End function .comm _bpf_mlock,4,2 ## @bpf_mlock .comm _PRINET,4,2 ## @PRINET .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "bpf_reading" .comm _BPF_CLOSING,4,2 ## @BPF_CLOSING .comm _ENXIO,4,2 ## @ENXIO .comm _bpf_iflist,8,3 ## @bpf_iflist .comm _DLT_PKTAP,8,3 ## @DLT_PKTAP .comm _BPF_WANT_PKTAP,4,2 ## @BPF_WANT_PKTAP .comm _intcoproc_unrestricted,4,2 ## @intcoproc_unrestricted .no_dead_strip _bpf_setif .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function bpf_setif _bpf_setif: ; @bpf_setif .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x22, x3 mov x20, x2 mov x21, x1 mov x19, x0 cbz w3, LBB0_2 ; %bb.1: ldr x8, [x19] cbz x8, LBB0_5 LBB0_2: Lloh0: adrp x24, _bpf_mlock@GOTPAGE Lloh1: ldr x24, [x24, _bpf_mlock@GOTPAGEOFF] Lloh2: adrp x25, _PRINET@GOTPAGE Lloh3: ldr x25, [x25, _PRINET@GOTPAGEOFF] Lloh4: adrp x23, l_.str@PAGE Lloh5: add x23, x23, l_.str@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w1, [x24] ldr w2, [x25] mov x0, x19 mov x3, x23 mov x4, #0 ; =0x0 bl _msleep cbz w22, LBB0_3 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19] cbnz x8, LBB0_3 LBB0_5: ldr w8, [x19, #8] Lloh6: adrp x9, _BPF_CLOSING@GOTPAGE Lloh7: ldr x9, [x9, _BPF_CLOSING@GOTPAGEOFF] Lloh8: ldr w9, [x9] tst w9, w8 b.eq LBB0_8 LBB0_6: Lloh9: adrp x8, _ENXIO@GOTPAGE Lloh10: ldr x8, [x8, _ENXIO@GOTPAGEOFF] Lloh11: ldr w0, [x8] LBB0_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 ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_8: Lloh12: adrp x8, _bpf_iflist@GOTPAGE Lloh13: ldr x8, [x8, _bpf_iflist@GOTPAGEOFF] Lloh14: ldr x22, [x8] cbz x22, LBB0_6 ; %bb.9: Lloh15: adrp x23, _DLT_PKTAP@GOTPAGE Lloh16: ldr x23, [x23, _DLT_PKTAP@GOTPAGEOFF] Lloh17: adrp x24, _BPF_WANT_PKTAP@GOTPAGE Lloh18: ldr x24, [x24, _BPF_WANT_PKTAP@GOTPAGEOFF] Lloh19: adrp x25, _intcoproc_unrestricted@GOTPAGE Lloh20: ldr x25, [x25, _intcoproc_unrestricted@GOTPAGEOFF] b LBB0_11 LBB0_10: ; in Loop: Header=BB0_11 Depth=1 ldr x22, [x22, #16] cbz x22, LBB0_6 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr x0, [x22, #8] cmp x0, #0 ccmp x0, x21, #0, ne b.ne LBB0_10 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 ldr x8, [x22] ldr x9, [x23] cmp x8, x9 b.ne LBB0_14 ; %bb.13: ; in Loop: Header=BB0_11 Depth=1 ldr w8, [x19, #8] ldr w9, [x24] tst w9, w8 b.eq LBB0_10 LBB0_14: ; in Loop: Header=BB0_11 Depth=1 ldr w8, [x25] cbnz w8, LBB0_16 ; %bb.15: ; in Loop: Header=BB0_11 Depth=1 bl _IFNET_IS_INTCOPROC cbnz x0, LBB0_10 LBB0_16: mov x0, x19 bl _bpf_allocbufs cbnz w0, LBB0_7 ; %bb.17: ldr x8, [x19, #16] cmp x22, x8 b.eq LBB0_20 ; %bb.18: cbz x8, LBB0_22 LBB0_19: mov x0, x19 mov x1, x22 bl _bpf_attachd cbnz x0, LBB0_6 LBB0_20: cbz w20, LBB0_23 ; %bb.21: mov x0, x19 bl _reset_d mov w0, #0 ; =0x0 b LBB0_7 LBB0_22: mov x0, x19 mov w1, #0 ; =0x0 bl _bpf_detachd cbnz x0, LBB0_6 b LBB0_19 LBB0_23: mov w0, #0 ; =0x0 b LBB0_7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _bpf_mlock,4,2 ; @bpf_mlock .comm _PRINET,4,2 ; @PRINET .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "bpf_reading" .comm _BPF_CLOSING,4,2 ; @BPF_CLOSING .comm _ENXIO,4,2 ; @ENXIO .comm _bpf_iflist,8,3 ; @bpf_iflist .comm _DLT_PKTAP,8,3 ; @DLT_PKTAP .comm _BPF_WANT_PKTAP,4,2 ; @BPF_WANT_PKTAP .comm _intcoproc_unrestricted,4,2 ; @intcoproc_unrestricted .no_dead_strip _bpf_setif .subsections_via_symbols
assembly_file_1180.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c24xx_serial_portname _s3c24xx_serial_portname: ## @s3c24xx_serial_portname .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi callq _to_platform_device movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _s3c24xx_serial_portname .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c24xx_serial_portname _s3c24xx_serial_portname: ; @s3c24xx_serial_portname .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr w0, [x0] bl _to_platform_device ldr x0, [x0] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _s3c24xx_serial_portname .subsections_via_symbols
AnghaBench/linux/drivers/tty/serial/extr_samsung.c_s3c24xx_serial_portname.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function parse_openbsd _parse_openbsd: ## @parse_openbsd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .comm _OPENBSD_MAXPARTITIONS,4,2 ## @OPENBSD_MAXPARTITIONS .no_dead_strip _parse_openbsd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function parse_openbsd _parse_openbsd: ; @parse_openbsd .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .comm _OPENBSD_MAXPARTITIONS,4,2 ; @OPENBSD_MAXPARTITIONS .no_dead_strip _parse_openbsd .subsections_via_symbols
AnghaBench/linux/block/partitions/extr_msdos.c_parse_openbsd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_keyvalue ## -- Begin function test_keyvalue .p2align 4, 0x90 _test_keyvalue: ## @test_keyvalue .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $64, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) leaq -84(%rbp), %r15 movq %r15, %rdi callq _jsmn_init leaq L_.str(%rip), %rbx movq %rbx, %rdi callq _strlen leaq -80(%rbp), %r14 movq %r15, %rdi movq %rbx, %rsi movl %eax, %edx movq %r14, %rcx movl $10, %r8d callq _jsmn_parse xorl %edi, %edi cmpl $5, %eax sete %dil callq _check xorl %edi, %edi cmpl $2, -80(%rbp) sete %dil callq _check movl -76(%rbp), %eax movl -68(%rbp), %ecx xorl $1, %eax xorl $1, %ecx xorl %edi, %edi orl %eax, %ecx sete %dil callq _check movl -72(%rbp), %eax xorl %edi, %edi orl -64(%rbp), %eax sete %dil callq _check movq %r15, %rdi callq _jsmn_init leaq L_.str.1(%rip), %rbx movq %rbx, %rdi callq _strlen movq %r15, %rdi movq %rbx, %rsi movl %eax, %edx movq %r14, %rcx movl $10, %r8d callq _jsmn_parse movq _JSMN_ERROR_INVAL@GOTPCREL(%rip), %r12 xorl %edi, %edi cmpl (%r12), %eax sete %dil callq _check movq %r15, %rdi callq _jsmn_init leaq L_.str.2(%rip), %rbx movq %rbx, %rdi callq _strlen movq %r15, %rdi movq %rbx, %rsi movl %eax, %edx movq %r14, %rcx movl $10, %r8d callq _jsmn_parse xorl %edi, %edi cmpl (%r12), %eax sete %dil callq _check movq %r15, %rdi callq _jsmn_init leaq L_.str.3(%rip), %rbx movq %rbx, %rdi callq _strlen movq %r15, %rdi movq %rbx, %rsi movl %eax, %edx movq %r14, %rcx movl $10, %r8d callq _jsmn_parse xorl %edi, %edi cmpl (%r12), %eax sete %dil callq _check movq %r15, %rdi callq _jsmn_init leaq L_.str.4(%rip), %rbx movq %rbx, %rdi callq _strlen movq %r15, %rdi movq %rbx, %rsi movl %eax, %edx movq %r14, %rcx movl $10, %r8d callq _jsmn_parse xorl %edi, %edi cmpl (%r12), %eax sete %dil callq _check movq %r15, %rdi callq _jsmn_init leaq L_.str.5(%rip), %rbx movq %rbx, %rdi callq _strlen movq %r15, %rdi movq %rbx, %rsi movl %eax, %edx movq %r14, %rcx movl $10, %r8d callq _jsmn_parse xorl %edi, %edi cmpl (%r12), %eax sete %dil callq _check movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $64, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "{\"a\": 0, \"b\": \"c\"}" L_.str.1: ## @.str.1 .asciz "{\"a\"\n0}" .comm _JSMN_ERROR_INVAL,4,2 ## @JSMN_ERROR_INVAL L_.str.2: ## @.str.2 .asciz "{\"a\", 0}" L_.str.3: ## @.str.3 .asciz "{\"a\": {2}}" L_.str.4: ## @.str.4 .asciz "{\"a\": {2: 3}}" L_.str.5: ## @.str.5 .asciz "{\"a\": {\"a\": 2 3}}" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_keyvalue ; -- Begin function test_keyvalue .p2align 2 _test_keyvalue: ; @test_keyvalue .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] add x0, sp, #12 bl _jsmn_init Lloh3: adrp x19, l_.str@PAGE Lloh4: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _strlen mov x2, x0 add x0, sp, #12 add x3, sp, #16 mov x1, x19 mov w4, #10 bl _jsmn_parse cmp w0, #5 cset w0, eq bl _check ldr w8, [sp, #16] cmp w8, #2 cset w0, eq bl _check ldr w8, [sp, #20] ldr w9, [sp, #28] cmp w8, #1 ccmp w9, #1, #0, eq cset w0, eq bl _check ldr w8, [sp, #24] ldr w9, [sp, #32] orr w8, w8, w9 cmp w8, #0 cset w0, eq bl _check add x0, sp, #12 bl _jsmn_init Lloh5: adrp x19, l_.str.1@PAGE Lloh6: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _strlen mov x2, x0 add x0, sp, #12 add x3, sp, #16 mov x1, x19 mov w4, #10 bl _jsmn_parse Lloh7: adrp x20, _JSMN_ERROR_INVAL@GOTPAGE Lloh8: ldr x20, [x20, _JSMN_ERROR_INVAL@GOTPAGEOFF] ldr w8, [x20] cmp w0, w8 cset w0, eq bl _check add x0, sp, #12 bl _jsmn_init Lloh9: adrp x19, l_.str.2@PAGE Lloh10: add x19, x19, l_.str.2@PAGEOFF mov x0, x19 bl _strlen mov x2, x0 add x0, sp, #12 add x3, sp, #16 mov x1, x19 mov w4, #10 bl _jsmn_parse ldr w8, [x20] cmp w0, w8 cset w0, eq bl _check add x0, sp, #12 bl _jsmn_init Lloh11: adrp x19, l_.str.3@PAGE Lloh12: add x19, x19, l_.str.3@PAGEOFF mov x0, x19 bl _strlen mov x2, x0 add x0, sp, #12 add x3, sp, #16 mov x1, x19 mov w4, #10 bl _jsmn_parse ldr w8, [x20] cmp w0, w8 cset w0, eq bl _check add x0, sp, #12 bl _jsmn_init Lloh13: adrp x19, l_.str.4@PAGE Lloh14: add x19, x19, l_.str.4@PAGEOFF mov x0, x19 bl _strlen mov x2, x0 add x0, sp, #12 add x3, sp, #16 mov x1, x19 mov w4, #10 bl _jsmn_parse ldr w8, [x20] cmp w0, w8 cset w0, eq bl _check add x0, sp, #12 bl _jsmn_init Lloh15: adrp x19, l_.str.5@PAGE Lloh16: add x19, x19, l_.str.5@PAGEOFF mov x0, x19 bl _strlen mov x2, x0 add x0, sp, #12 add x3, sp, #16 mov x1, x19 mov w4, #10 bl _jsmn_parse ldr w8, [x20] cmp w0, w8 cset w0, eq bl _check ldur x8, [x29, #-24] Lloh17: adrp x9, ___stack_chk_guard@GOTPAGE Lloh18: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "{\"a\": 0, \"b\": \"c\"}" l_.str.1: ; @.str.1 .asciz "{\"a\"\n0}" .comm _JSMN_ERROR_INVAL,4,2 ; @JSMN_ERROR_INVAL l_.str.2: ; @.str.2 .asciz "{\"a\", 0}" l_.str.3: ; @.str.3 .asciz "{\"a\": {2}}" l_.str.4: ; @.str.4 .asciz "{\"a\": {2: 3}}" l_.str.5: ; @.str.5 .asciz "{\"a\": {\"a\": 2 3}}" .subsections_via_symbols
AnghaBench/freebsd/contrib/ntp/libjsmn/extr_jsmn_test.c_test_keyvalue.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_scan_user ## -- Begin function matrix_scan_user .p2align 4, 0x90 _matrix_scan_user: ## @matrix_scan_user .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 _matrix_scan_user ; -- Begin function matrix_scan_user .p2align 2 _matrix_scan_user: ; @matrix_scan_user .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/bpiphany/unloved_bastard/keymaps/default_iso/extr_keymap.c_matrix_scan_user.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function agp_i810_get_stolen_size _agp_i810_get_stolen_size: ## @agp_i810_get_stolen_size .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _device_get_softc xorps %xmm0, %xmm0 movups %xmm0, (%rax) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _agp_i810_get_stolen_size .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function agp_i810_get_stolen_size _agp_i810_get_stolen_size: ; @agp_i810_get_stolen_size .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 _device_get_softc stp xzr, xzr, [x0] mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _agp_i810_get_stolen_size .subsections_via_symbols
AnghaBench/freebsd/sys/dev/agp/extr_agp_i810.c_agp_i810_get_stolen_size.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function REG_A4XX_RBBM_CLOCK_CTL_RB_REG _REG_A4XX_RBBM_CLOCK_CTL_RB_REG: ## @REG_A4XX_RBBM_CLOCK_CTL_RB_REG .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 120(%rdi), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _REG_A4XX_RBBM_CLOCK_CTL_RB_REG .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function REG_A4XX_RBBM_CLOCK_CTL_RB_REG _REG_A4XX_RBBM_CLOCK_CTL_RB_REG: ; @REG_A4XX_RBBM_CLOCK_CTL_RB_REG .cfi_startproc ; %bb.0: add w0, w0, #120 ret .cfi_endproc ; -- End function .no_dead_strip _REG_A4XX_RBBM_CLOCK_CTL_RB_REG .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_REG_A4XX_RBBM_CLOCK_CTL_RB_REG.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function getoption _getoption: ## @getoption .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rdi, %r14 movq (%rsi), %rax leaq 1(%rax), %rcx movq %rcx, (%rsi) movsbl (%rax), %edx movl $0, (%r15) leal -32(%rdx), %eax cmpl $90, %eax ja LBB0_23 ## %bb.1: movq _Kzstr@GOTPCREL(%rip), %rbx leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_9: movl $8, (%r15) movq _Kuint@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_11: movl $4, (%r15) movq _Kfloat@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_22: movq _MAXALIGN@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi callq _getnumlimit movq %rax, 8(%r14) jmp LBB0_24 LBB0_23: movl 4(%r14), %edi leaq L_.str.1(%rip), %rsi ## kill: def $edx killed $edx killed $rdx xorl %eax, %eax callq _luaL_error jmp LBB0_24 LBB0_19: movl $1, (%r14) jmp LBB0_24 LBB0_21: movq _nativeendian@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r14) jmp LBB0_24 LBB0_20: movl $0, (%r14) LBB0_24: movq _Knop@GOTPCREL(%rip), %rbx LBB0_25: movl (%rbx), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_3: movl $1, (%r15) movq _Kuint@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_5: movl $2, (%r15) movq _Kuint@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_13: movq %r14, %rdi movl $4, %edx callq _getnumlimit movl %eax, (%r15) movq _Kuint@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_8: movl $4, (%r15) movq _Kuint@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_18: movq _Kpaddalign@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_2: movl $1, (%r15) movq _Kint@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_15: movq %rsi, %rdi movl $-1, %esi callq _getnum movl %eax, (%r15) movq _Kchar@GOTPCREL(%rip), %rbx cmpl $-1, %eax jne LBB0_25 ## %bb.16: movl 4(%r14), %edi leaq L_.str(%rip), %rsi xorl %eax, %eax callq _luaL_error jmp LBB0_25 LBB0_10: movl $8, (%r15) movq _Kfloat@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_4: movl $2, (%r15) movq _Kint@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_12: movq %r14, %rdi movl $4, %edx callq _getnumlimit movl %eax, (%r15) movq _Kint@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_7: movl $4, (%r15) movq _Kint@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_6: movl $8, (%r15) movq _Kint@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_14: movq %r14, %rdi movl $8, %edx callq _getnumlimit movl %eax, (%r15) movq _Kstring@GOTPCREL(%rip), %rbx jmp LBB0_25 LBB0_17: movl $1, (%r15) movq _Kpadding@GOTPCREL(%rip), %rbx jmp LBB0_25 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_24, LBB0_24-LJTI0_0 .set L0_0_set_22, LBB0_22-LJTI0_0 .set L0_0_set_23, LBB0_23-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 .set L0_0_set_21, LBB0_21-LJTI0_0 .set L0_0_set_20, LBB0_20-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_18, LBB0_18-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_12, LBB0_12-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_25, LBB0_25-LJTI0_0 LJTI0_0: .long L0_0_set_24 .long L0_0_set_22 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_19 .long L0_0_set_21 .long L0_0_set_20 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_3 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_5 .long L0_0_set_13 .long L0_0_set_8 .long L0_0_set_23 .long L0_0_set_9 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_9 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_18 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_2 .long L0_0_set_15 .long L0_0_set_10 .long L0_0_set_23 .long L0_0_set_11 .long L0_0_set_23 .long L0_0_set_4 .long L0_0_set_12 .long L0_0_set_7 .long L0_0_set_23 .long L0_0_set_6 .long L0_0_set_23 .long L0_0_set_11 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_14 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_23 .long L0_0_set_17 .long L0_0_set_23 .long L0_0_set_25 .end_data_region ## -- End function .comm _Kint,4,2 ## @Kint .comm _Kuint,4,2 ## @Kuint .comm _Kfloat,4,2 ## @Kfloat .comm _Kstring,4,2 ## @Kstring .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "missing size for format option 'c'" .comm _Kchar,4,2 ## @Kchar .comm _Kzstr,4,2 ## @Kzstr .comm _Kpadding,4,2 ## @Kpadding .comm _Kpaddalign,4,2 ## @Kpaddalign .comm _nativeendian,4,2 ## @nativeendian .comm _MAXALIGN,4,2 ## @MAXALIGN L_.str.1: ## @.str.1 .asciz "invalid format option '%c'" .comm _Knop,4,2 ## @Knop .no_dead_strip _getoption .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function getoption _getoption: ; @getoption .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 ldr x8, [x1] add x9, x8, #1 str x9, [x1] ldrsb w9, [x8] str wzr, [x2] sub w10, w9, #32 cmp w10, #90 b.hi LBB0_5 ; %bb.1: mov x19, x2 Lloh0: adrp x8, _Kzstr@GOTPAGE Lloh1: ldr x8, [x8, _Kzstr@GOTPAGEOFF] Lloh2: adrp x11, lJTI0_0@PAGE Lloh3: add x11, x11, lJTI0_0@PAGEOFF adr x12, LBB0_2 ldrb w13, [x11, x10] add x12, x12, x13, lsl #2 br x12 LBB0_2: mov w8, #8 b LBB0_14 LBB0_3: mov w8, #4 b LBB0_22 LBB0_4: Lloh4: adrp x8, _MAXALIGN@GOTPAGE Lloh5: ldr x8, [x8, _MAXALIGN@GOTPAGEOFF] Lloh6: ldr w2, [x8] mov x0, x20 bl _getnumlimit str x0, [x20, #8] b LBB0_9 LBB0_5: ldr w0, [x20, #4] str x9, [sp] Lloh7: adrp x1, l_.str.1@PAGE Lloh8: add x1, x1, l_.str.1@PAGEOFF bl _luaL_error b LBB0_9 LBB0_6: mov w8, #1 str w8, [x20] b LBB0_9 LBB0_7: Lloh9: adrp x8, _nativeendian@GOTPAGE Lloh10: ldr x8, [x8, _nativeendian@GOTPAGEOFF] Lloh11: ldr w8, [x8] str w8, [x20] b LBB0_9 LBB0_8: str wzr, [x20] LBB0_9: Lloh12: adrp x8, _Knop@GOTPAGE Lloh13: ldr x8, [x8, _Knop@GOTPAGEOFF] b LBB0_29 LBB0_10: mov w8, #1 b LBB0_14 LBB0_11: mov w8, #2 b LBB0_14 LBB0_12: mov x0, x20 mov w2, #4 bl _getnumlimit str w0, [x19] b LBB0_15 LBB0_13: mov w8, #4 LBB0_14: str w8, [x19] LBB0_15: Lloh14: adrp x8, _Kuint@GOTPAGE Lloh15: ldr x8, [x8, _Kuint@GOTPAGEOFF] b LBB0_29 LBB0_16: Lloh16: adrp x8, _Kpaddalign@GOTPAGE Lloh17: ldr x8, [x8, _Kpaddalign@GOTPAGEOFF] b LBB0_29 LBB0_17: mov w8, #1 b LBB0_27 LBB0_18: mov x0, x1 mov w1, #-1 bl _getnum str w0, [x19] cmn w0, #1 b.ne LBB0_20 ; %bb.19: ldr w0, [x20, #4] Lloh18: adrp x1, l_.str@PAGE Lloh19: add x1, x1, l_.str@PAGEOFF bl _luaL_error LBB0_20: Lloh20: adrp x8, _Kchar@GOTPAGE Lloh21: ldr x8, [x8, _Kchar@GOTPAGEOFF] b LBB0_29 LBB0_21: mov w8, #8 LBB0_22: str w8, [x19] Lloh22: adrp x8, _Kfloat@GOTPAGE Lloh23: ldr x8, [x8, _Kfloat@GOTPAGEOFF] b LBB0_29 LBB0_23: mov w8, #2 b LBB0_27 LBB0_24: mov x0, x20 mov w2, #4 bl _getnumlimit str w0, [x19] b LBB0_28 LBB0_25: mov w8, #4 b LBB0_27 LBB0_26: mov w8, #8 LBB0_27: str w8, [x19] LBB0_28: Lloh24: adrp x8, _Kint@GOTPAGE Lloh25: ldr x8, [x8, _Kint@GOTPAGEOFF] LBB0_29: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB0_30: mov x0, x20 mov w2, #8 bl _getnumlimit str w0, [x19] Lloh26: adrp x8, _Kstring@GOTPAGE Lloh27: ldr x8, [x8, _Kstring@GOTPAGEOFF] b LBB0_29 LBB0_31: mov w8, #1 str w8, [x19] Lloh28: adrp x8, _Kpadding@GOTPAGE Lloh29: ldr x8, [x8, _Kpadding@GOTPAGEOFF] b LBB0_29 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGot Lloh28, Lloh29 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_9-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 .byte (LBB0_8-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_12-LBB0_2)>>2 .byte (LBB0_13-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_16-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_17-LBB0_2)>>2 .byte (LBB0_18-LBB0_2)>>2 .byte (LBB0_21-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_23-LBB0_2)>>2 .byte (LBB0_24-LBB0_2)>>2 .byte (LBB0_25-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_26-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_30-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_31-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_29-LBB0_2)>>2 ; -- End function .comm _Kint,4,2 ; @Kint .comm _Kuint,4,2 ; @Kuint .comm _Kfloat,4,2 ; @Kfloat .comm _Kstring,4,2 ; @Kstring .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "missing size for format option 'c'" .comm _Kchar,4,2 ; @Kchar .comm _Kzstr,4,2 ; @Kzstr .comm _Kpadding,4,2 ; @Kpadding .comm _Kpaddalign,4,2 ; @Kpaddalign .comm _nativeendian,4,2 ; @nativeendian .comm _MAXALIGN,4,2 ; @MAXALIGN l_.str.1: ; @.str.1 .asciz "invalid format option '%c'" .comm _Knop,4,2 ; @Knop .no_dead_strip _getoption .subsections_via_symbols
AnghaBench/mjolnir/Mjolnir/lua/extr_lstrlib.c_getoption.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ste_restart_tx _ste_restart_tx: ## @ste_restart_tx .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq _STE_TIMEOUT@GOTPCREL(%rip), %r15 movl (%r15), %eax xorl %ebx, %ebx testl %eax, %eax jle LBB0_5 ## %bb.1: movq _STE_MACCTL1@GOTPCREL(%rip), %r12 movq _STE_MACCTL1_TX_ENABLED@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r12), %esi movq %r14, %rdi callq _CSR_READ_2 movq _STE_MACCTL1_TX_ENABLE@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl (%r12), %esi movq %r14, %rdi movl %eax, %edx callq _CSR_WRITE_2 movl (%r12), %esi movq %r14, %rdi callq _CSR_READ_2 testl %eax, (%r13) jne LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl $10, %edi callq _DELAY incl %ebx movl (%r15), %eax cmpl %eax, %ebx jl LBB0_2 LBB0_5: cmpl %eax, %ebx jne LBB0_6 LBB0_7: movl (%r14), %edi leaq L_.str(%rip), %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _device_printf ## TAILCALL LBB0_3: movl (%r15), %eax cmpl %eax, %ebx je LBB0_7 LBB0_6: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _STE_TIMEOUT,4,2 ## @STE_TIMEOUT .comm _STE_MACCTL1,4,2 ## @STE_MACCTL1 .comm _STE_MACCTL1_TX_ENABLE,4,2 ## @STE_MACCTL1_TX_ENABLE .comm _STE_MACCTL1_TX_ENABLED,4,2 ## @STE_MACCTL1_TX_ENABLED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "starting Tx failed" .no_dead_strip _ste_restart_tx .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ste_restart_tx _ste_restart_tx: ; @ste_restart_tx .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 Lloh0: adrp x21, _STE_TIMEOUT@GOTPAGE Lloh1: ldr x21, [x21, _STE_TIMEOUT@GOTPAGEOFF] ldr w8, [x21] cmp w8, #1 b.lt LBB0_4 ; %bb.1: mov w20, #0 Lloh2: adrp x22, _STE_MACCTL1@GOTPAGE Lloh3: ldr x22, [x22, _STE_MACCTL1@GOTPAGEOFF] Lloh4: adrp x23, _STE_MACCTL1_TX_ENABLE@GOTPAGE Lloh5: ldr x23, [x23, _STE_MACCTL1_TX_ENABLE@GOTPAGEOFF] Lloh6: adrp x24, _STE_MACCTL1_TX_ENABLED@GOTPAGE Lloh7: ldr x24, [x24, _STE_MACCTL1_TX_ENABLED@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w1, [x22] mov x0, x19 bl _CSR_READ_2 ldr w8, [x23] orr w2, w8, w0 ldr w1, [x22] mov x0, x19 bl _CSR_WRITE_2 ldr w1, [x22] mov x0, x19 bl _CSR_READ_2 ldr w8, [x24] tst w8, w0 b.ne LBB0_7 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov w0, #10 bl _DELAY add w20, w20, #1 ldr w8, [x21] cmp w20, w8 b.lt LBB0_2 b LBB0_5 LBB0_4: mov w20, #0 LBB0_5: cmp w20, w8 b.ne LBB0_8 LBB0_6: ldr w0, [x19] Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _device_printf LBB0_7: ldr w8, [x21] cmp w20, w8 b.eq LBB0_6 LBB0_8: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _STE_TIMEOUT,4,2 ; @STE_TIMEOUT .comm _STE_MACCTL1,4,2 ; @STE_MACCTL1 .comm _STE_MACCTL1_TX_ENABLE,4,2 ; @STE_MACCTL1_TX_ENABLE .comm _STE_MACCTL1_TX_ENABLED,4,2 ; @STE_MACCTL1_TX_ENABLED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "starting Tx failed" .no_dead_strip _ste_restart_tx .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ste/extr_if_ste.c_ste_restart_tx.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bt_leds_cleanup ## -- Begin function bt_leds_cleanup .p2align 4, 0x90 _bt_leds_cleanup: ## @bt_leds_cleanup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _bt_power_led_trigger@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _led_trigger_unregister_simple ## TAILCALL .cfi_endproc ## -- End function .comm _bt_power_led_trigger,4,2 ## @bt_power_led_trigger .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bt_leds_cleanup ; -- Begin function bt_leds_cleanup .p2align 2 _bt_leds_cleanup: ; @bt_leds_cleanup .cfi_startproc ; %bb.0: Lloh0: adrp x8, _bt_power_led_trigger@GOTPAGE Lloh1: ldr x8, [x8, _bt_power_led_trigger@GOTPAGEOFF] Lloh2: ldr w0, [x8] b _led_trigger_unregister_simple .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _bt_power_led_trigger,4,2 ; @bt_power_led_trigger .subsections_via_symbols
AnghaBench/linux/net/bluetooth/extr_leds.c_bt_leds_cleanup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ep93xx_keypad_irq_handler _ep93xx_keypad_irq_handler: ## @ep93xx_keypad_irq_handler .cfi_startproc ## %bb.0: 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, %rbx movq 16(%rsi), %r14 movq _KEY_REG@GOTPCREL(%rip), %rax movl (%rax), %edi callq _keypad_readl movq _KEY_REG_KEY1_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %esi andl %eax, %esi movq _KEY_REG_KEY1_SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl shrl %cl, %esi movq (%rbx), %rdx movslq %esi, %rdi movq _KEY_REG_KEY2_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %esi andl %eax, %esi movq _KEY_REG_KEY2_SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl shrl %cl, %esi movl (%rdx,%rdi,4), %r15d movq _KEY_REG_2KEYS@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_10 ## %bb.1: movslq %esi, %rax movl (%rdx,%rax,4), %r12d movl 8(%rbx), %esi testl %esi, %esi je LBB0_5 ## %bb.2: cmpl %esi, %r15d je LBB0_5 ## %bb.3: cmpl %esi, %r12d je LBB0_5 ## %bb.4: movq %r14, %rdi xorl %edx, %edx callq _input_report_key LBB0_5: movl 12(%rbx), %esi testl %esi, %esi je LBB0_9 ## %bb.6: cmpl %esi, %r15d je LBB0_9 ## %bb.7: cmpl %esi, %r12d je LBB0_9 ## %bb.8: movq %r14, %rdi xorl %edx, %edx callq _input_report_key LBB0_9: movq %r14, %rdi movl %r15d, %esi movl $1, %edx callq _input_report_key movq %r14, %rdi movl %r12d, %esi movl $1, %edx callq _input_report_key movl %r15d, 8(%rbx) movl %r12d, 12(%rbx) jmp LBB0_19 LBB0_10: movq _KEY_REG_1KEY@GOTPCREL(%rip), %rcx movl 8(%rbx), %esi testl %eax, (%rcx) je LBB0_18 ## %bb.11: testl %esi, %esi je LBB0_14 ## %bb.12: cmpl %esi, %r15d je LBB0_14 ## %bb.13: movq %r14, %rdi xorl %edx, %edx callq _input_report_key LBB0_14: movl 12(%rbx), %esi testl %esi, %esi je LBB0_17 ## %bb.15: cmpl %esi, %r15d je LBB0_17 ## %bb.16: movq %r14, %rdi xorl %edx, %edx callq _input_report_key LBB0_17: movq %r14, %rdi movl %r15d, %esi movl $1, %edx callq _input_report_key movl %r15d, 8(%rbx) movl $0, 12(%rbx) jmp LBB0_19 LBB0_18: movq %r14, %rdi xorl %edx, %edx callq _input_report_key movl 12(%rbx), %esi movq %r14, %rdi xorl %edx, %edx callq _input_report_key movq $0, 8(%rbx) LBB0_19: movq %r14, %rdi callq _input_sync movq _IRQ_HANDLED@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _KEY_REG,4,2 ## @KEY_REG .comm _KEY_REG_KEY1_MASK,4,2 ## @KEY_REG_KEY1_MASK .comm _KEY_REG_KEY1_SHIFT,4,2 ## @KEY_REG_KEY1_SHIFT .comm _KEY_REG_KEY2_MASK,4,2 ## @KEY_REG_KEY2_MASK .comm _KEY_REG_KEY2_SHIFT,4,2 ## @KEY_REG_KEY2_SHIFT .comm _KEY_REG_2KEYS,4,2 ## @KEY_REG_2KEYS .comm _KEY_REG_1KEY,4,2 ## @KEY_REG_1KEY .comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED .no_dead_strip _ep93xx_keypad_irq_handler .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ep93xx_keypad_irq_handler _ep93xx_keypad_irq_handler: ; @ep93xx_keypad_irq_handler .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 ldr x19, [x1, #16] Lloh0: adrp x8, _KEY_REG@GOTPAGE Lloh1: ldr x8, [x8, _KEY_REG@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _keypad_readl Lloh3: adrp x8, _KEY_REG_KEY1_MASK@GOTPAGE Lloh4: ldr x8, [x8, _KEY_REG_KEY1_MASK@GOTPAGEOFF] Lloh5: ldr w8, [x8] and w8, w8, w0 Lloh6: adrp x9, _KEY_REG_KEY1_SHIFT@GOTPAGE Lloh7: ldr x9, [x9, _KEY_REG_KEY1_SHIFT@GOTPAGEOFF] Lloh8: ldr w9, [x9] lsr w9, w8, w9 ldr x8, [x20] ldr w21, [x8, w9, sxtw #2] Lloh9: adrp x9, _KEY_REG_2KEYS@GOTPAGE Lloh10: ldr x9, [x9, _KEY_REG_2KEYS@GOTPAGEOFF] Lloh11: ldr w9, [x9] tst w9, w0 b.eq LBB0_8 ; %bb.1: Lloh12: adrp x9, _KEY_REG_KEY2_MASK@GOTPAGE Lloh13: ldr x9, [x9, _KEY_REG_KEY2_MASK@GOTPAGEOFF] Lloh14: ldr w9, [x9] Lloh15: adrp x10, _KEY_REG_KEY2_SHIFT@GOTPAGE Lloh16: ldr x10, [x10, _KEY_REG_KEY2_SHIFT@GOTPAGEOFF] and w9, w9, w0 Lloh17: ldr w10, [x10] lsr w9, w9, w10 ldr w22, [x8, w9, sxtw #2] ldr w1, [x20, #8] cbz w1, LBB0_4 ; %bb.2: cmp w21, w1 ccmp w22, w1, #4, ne b.eq LBB0_4 ; %bb.3: mov x0, x19 mov w2, #0 bl _input_report_key LBB0_4: ldr w1, [x20, #12] cbz w1, LBB0_7 ; %bb.5: cmp w21, w1 ccmp w22, w1, #4, ne b.eq LBB0_7 ; %bb.6: mov x0, x19 mov w2, #0 bl _input_report_key LBB0_7: mov x0, x19 mov x1, x21 mov w2, #1 bl _input_report_key mov x0, x19 mov x1, x22 mov w2, #1 bl _input_report_key stp w21, w22, [x20, #8] b LBB0_17 LBB0_8: Lloh18: adrp x8, _KEY_REG_1KEY@GOTPAGE Lloh19: ldr x8, [x8, _KEY_REG_1KEY@GOTPAGEOFF] Lloh20: ldr w8, [x8] ldr w1, [x20, #8] tst w8, w0 b.eq LBB0_16 ; %bb.9: cbz w1, LBB0_12 ; %bb.10: cmp w21, w1 b.eq LBB0_12 ; %bb.11: mov x0, x19 mov w2, #0 bl _input_report_key LBB0_12: ldr w1, [x20, #12] cbz w1, LBB0_15 ; %bb.13: cmp w21, w1 b.eq LBB0_15 ; %bb.14: mov x0, x19 mov w2, #0 bl _input_report_key LBB0_15: mov x0, x19 mov x1, x21 mov w2, #1 bl _input_report_key stp w21, wzr, [x20, #8] b LBB0_17 LBB0_16: mov x0, x19 mov w2, #0 bl _input_report_key ldr w1, [x20, #12] mov x0, x19 mov w2, #0 bl _input_report_key str xzr, [x20, #8] LBB0_17: mov x0, x19 bl _input_sync Lloh21: adrp x8, _IRQ_HANDLED@GOTPAGE Lloh22: ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF] Lloh23: ldr w0, [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 AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _KEY_REG,4,2 ; @KEY_REG .comm _KEY_REG_KEY1_MASK,4,2 ; @KEY_REG_KEY1_MASK .comm _KEY_REG_KEY1_SHIFT,4,2 ; @KEY_REG_KEY1_SHIFT .comm _KEY_REG_KEY2_MASK,4,2 ; @KEY_REG_KEY2_MASK .comm _KEY_REG_KEY2_SHIFT,4,2 ; @KEY_REG_KEY2_SHIFT .comm _KEY_REG_2KEYS,4,2 ; @KEY_REG_2KEYS .comm _KEY_REG_1KEY,4,2 ; @KEY_REG_1KEY .comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED .no_dead_strip _ep93xx_keypad_irq_handler .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/input/keyboard/extr_ep93xx_keypad.c_ep93xx_keypad_irq_handler.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function do_pli _do_pli: ## @do_pli .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 _inst@GOTPCREL(%rip), %r14 movq 8(%r14), %rax xorl %ebx, %ebx cmpl $0, 12(%rax) sete %bl leaq L_.str(%rip), %rdi callq __ movl %ebx, %edi movl %eax, %esi callq _constraint movq 8(%r14), %rax movl (%rax), %ebx leaq L_.str.1(%rip), %rdi callq __ movl %ebx, %edi movl %eax, %esi callq _constraint movq 8(%r14), %rax movl 4(%rax), %ebx leaq L_.str.2(%rip), %rdi callq __ movl %ebx, %edi movl %eax, %esi callq _constraint movq 8(%r14), %rax xorl %ebx, %ebx cmpl $0, 8(%rax) sete %bl leaq L_.str.3(%rip), %rdi callq __ movl %ebx, %edi movl %eax, %esi callq _constraint movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edi, %edi callq _encode_arm_addr_mode_2 movq _PRE_INDEX@GOTPCREL(%rip), %rax movl (%rax), %eax notl %eax andl %eax, (%r14) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _inst,16,3 ## @inst .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "'[' expected after PLI mnemonic" L_.str.1: ## @.str.1 .asciz "post-indexed expression used in preload instruction" L_.str.2: ## @.str.2 .asciz "writeback used in preload instruction" L_.str.3: ## @.str.3 .asciz "unindexed addressing used in preload instruction" .comm _FALSE,4,2 ## @FALSE .comm _PRE_INDEX,4,2 ## @PRE_INDEX .no_dead_strip _do_pli .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function do_pli _do_pli: ; @do_pli .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x20, _inst@GOTPAGE Lloh1: ldr x20, [x20, _inst@GOTPAGEOFF] ldr x8, [x20, #8] ldr w8, [x8, #12] cmp w8, #0 cset w19, eq Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl __ mov x1, x0 mov x0, x19 bl _constraint ldr x8, [x20, #8] ldr w19, [x8] Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF bl __ mov x1, x0 mov x0, x19 bl _constraint ldr x8, [x20, #8] ldr w19, [x8, #4] Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl __ mov x1, x0 mov x0, x19 bl _constraint ldr x8, [x20, #8] ldr w8, [x8, #8] cmp w8, #0 cset w19, eq Lloh8: adrp x0, l_.str.3@PAGE Lloh9: add x0, x0, l_.str.3@PAGEOFF bl __ mov x1, x0 mov x0, x19 bl _constraint Lloh10: adrp x8, _FALSE@GOTPAGE Lloh11: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh12: ldr w1, [x8] mov w0, #0 bl _encode_arm_addr_mode_2 Lloh13: adrp x8, _PRE_INDEX@GOTPAGE Lloh14: ldr x8, [x8, _PRE_INDEX@GOTPAGEOFF] Lloh15: ldr w8, [x8] ldr w9, [x20] bic w8, w9, w8 str w8, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _inst,16,3 ; @inst .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "'[' expected after PLI mnemonic" l_.str.1: ; @.str.1 .asciz "post-indexed expression used in preload instruction" l_.str.2: ; @.str.2 .asciz "writeback used in preload instruction" l_.str.3: ; @.str.3 .asciz "unindexed addressing used in preload instruction" .comm _FALSE,4,2 ; @FALSE .comm _PRE_INDEX,4,2 ; @PRE_INDEX .no_dead_strip _do_pli .subsections_via_symbols
AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arm.c_do_pli.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _InsertIntDistinct ## -- Begin function InsertIntDistinct .p2align 4, 0x90 _InsertIntDistinct: ## @InsertIntDistinct .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 testq %rdi, %rdi je LBB0_2 ## %bb.1: movl %esi, %r14d movq %rdi, %rbx callq _IsIntInList testl %eax, %eax je LBB0_3 LBB0_2: popq %rbx popq %r14 popq %rbp retq LBB0_3: movq %rbx, %rdi movl %r14d, %esi popq %rbx popq %r14 popq %rbp jmp _InsertInt ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _InsertIntDistinct ; -- Begin function InsertIntDistinct .p2align 2 _InsertIntDistinct: ; @InsertIntDistinct .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cbz x0, LBB0_2 ; %bb.1: mov x19, x1 mov x20, x0 bl _IsIntInList 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 _InsertInt .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Memory.c_InsertIntDistinct.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function PrintString _PrintString: ## @PrintString .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx callq _getstr movq %rax, %r14 movq %rbx, %rdi callq _tsslen movq %rax, %rbx movl $34, %edi callq _putchar testq %rbx, %rbx je LBB0_18 ## %bb.1: leaq LJTI0_0(%rip), %r13 xorl %r15d, %r15d jmp LBB0_2 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.1(%rip), %rdi .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax callq _printf LBB0_17: ## in Loop: Header=BB0_2 Depth=1 incq %r15 cmpq %r15, %rbx je LBB0_18 LBB0_2: ## =>This Inner Loop Header: Depth=1 movzbl (%r14,%r15), %r12d leal -7(%r12), %eax cmpb $85, %al ja LBB0_14 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movzbl %al, %eax movslq (%r13,%rax,4), %rax addq %r13, %rax jmpq *%rax LBB0_7: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.3(%rip), %rdi jmp LBB0_5 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.4(%rip), %rdi jmp LBB0_5 LBB0_12: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.8(%rip), %rdi jmp LBB0_5 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.6(%rip), %rdi jmp LBB0_5 LBB0_13: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.9(%rip), %rdi jmp LBB0_5 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.5(%rip), %rdi jmp LBB0_5 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.7(%rip), %rdi jmp LBB0_5 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %edi callq _isprint testl %eax, %eax je LBB0_16 ## %bb.15: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %edi callq _putchar jmp LBB0_17 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.2(%rip), %rdi jmp LBB0_5 LBB0_16: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.10(%rip), %rdi movl %r12d, %esi xorl %eax, %eax callq _printf jmp LBB0_17 LBB0_18: movl $34, %edi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _putchar ## TAILCALL .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_12, LBB0_12-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 LJTI0_0: .long L0_0_set_7 .long L0_0_set_8 .long L0_0_set_12 .long L0_0_set_10 .long L0_0_set_13 .long L0_0_set_9 .long L0_0_set_11 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_4 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_6 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "\\\"" L_.str.2: ## @.str.2 .asciz "\\\\" L_.str.3: ## @.str.3 .asciz "\\a" L_.str.4: ## @.str.4 .asciz "\\b" L_.str.5: ## @.str.5 .asciz "\\f" L_.str.6: ## @.str.6 .asciz "\\n" L_.str.7: ## @.str.7 .asciz "\\r" L_.str.8: ## @.str.8 .asciz "\\t" L_.str.9: ## @.str.9 .asciz "\\v" L_.str.10: ## @.str.10 .asciz "\\%03d" .no_dead_strip _PrintString .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function PrintString _PrintString: ; @PrintString .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x0 bl _getstr mov x19, x0 mov x0, x20 bl _tsslen mov x20, x0 mov w0, #34 bl _putchar cbz x20, LBB0_18 ; %bb.1: Lloh0: adrp x24, lJTI0_0@PAGE Lloh1: add x24, x24, lJTI0_0@PAGEOFF Lloh2: adrp x25, l_.str.6@PAGE Lloh3: add x25, x25, l_.str.6@PAGEOFF Lloh4: adrp x26, l_.str.9@PAGE Lloh5: add x26, x26, l_.str.9@PAGEOFF Lloh6: adrp x27, l_.str.5@PAGE Lloh7: add x27, x27, l_.str.5@PAGEOFF Lloh8: adrp x28, l_.str.7@PAGE Lloh9: add x28, x28, l_.str.7@PAGEOFF Lloh10: adrp x21, l_.str.1@PAGE Lloh11: add x21, x21, l_.str.1@PAGEOFF Lloh12: adrp x22, l_.str.2@PAGE Lloh13: add x22, x22, l_.str.2@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w23, [x19] sub w8, w23, #7 cmp w8, #85 b.hi LBB0_11 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 adr x9, LBB0_4 ldrb w10, [x24, x8] add x9, x9, x10, lsl #2 br x9 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 Lloh14: adrp x0, l_.str.3@PAGE Lloh15: add x0, x0, l_.str.3@PAGEOFF b LBB0_16 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 Lloh16: adrp x0, l_.str.4@PAGE Lloh17: add x0, x0, l_.str.4@PAGEOFF b LBB0_16 LBB0_6: ; in Loop: Header=BB0_2 Depth=1 Lloh18: adrp x0, l_.str.8@PAGE Lloh19: add x0, x0, l_.str.8@PAGEOFF b LBB0_16 LBB0_7: ; in Loop: Header=BB0_2 Depth=1 mov x0, x25 b LBB0_16 LBB0_8: ; in Loop: Header=BB0_2 Depth=1 mov x0, x26 b LBB0_16 LBB0_9: ; in Loop: Header=BB0_2 Depth=1 mov x0, x27 b LBB0_16 LBB0_10: ; in Loop: Header=BB0_2 Depth=1 mov x0, x28 b LBB0_16 LBB0_11: ; in Loop: Header=BB0_2 Depth=1 mov x0, x23 bl _isprint cbz w0, LBB0_15 ; %bb.12: ; in Loop: Header=BB0_2 Depth=1 mov x0, x23 bl _putchar b LBB0_17 LBB0_13: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 b LBB0_16 LBB0_14: ; in Loop: Header=BB0_2 Depth=1 mov x0, x22 b LBB0_16 LBB0_15: ; in Loop: Header=BB0_2 Depth=1 str x23, [sp] Lloh20: adrp x0, l_.str.10@PAGE Lloh21: add x0, x0, l_.str.10@PAGEOFF LBB0_16: ; in Loop: Header=BB0_2 Depth=1 bl _printf LBB0_17: ; in Loop: Header=BB0_2 Depth=1 add x19, x19, #1 subs x20, x20, #1 b.ne LBB0_2 LBB0_18: mov w0, #34 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 b _putchar .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_5-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_7-LBB0_4)>>2 .byte (LBB0_8-LBB0_4)>>2 .byte (LBB0_9-LBB0_4)>>2 .byte (LBB0_10-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_13-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_14-LBB0_4)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "\\\"" l_.str.2: ; @.str.2 .asciz "\\\\" l_.str.3: ; @.str.3 .asciz "\\a" l_.str.4: ; @.str.4 .asciz "\\b" l_.str.5: ; @.str.5 .asciz "\\f" l_.str.6: ; @.str.6 .asciz "\\n" l_.str.7: ; @.str.7 .asciz "\\r" l_.str.8: ; @.str.8 .asciz "\\t" l_.str.9: ; @.str.9 .asciz "\\v" l_.str.10: ; @.str.10 .asciz "\\%03d" .no_dead_strip _PrintString .subsections_via_symbols
AnghaBench/mjolnir/Mjolnir/lua/extr_luac.c_PrintString.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rbx leaq -80(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -76(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -72(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -68(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -64(%rbp), %r14 movq %rbx, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf leaq -60(%rbp), %r15 movq %rbx, %rdi movq %r15, %rsi xorl %eax, %eax callq _scanf leaq -56(%rbp), %r12 movq %rbx, %rdi movq %r12, %rsi xorl %eax, %eax callq _scanf leaq -52(%rbp), %r13 movq %rbx, %rdi movq %r13, %rsi xorl %eax, %eax callq _scanf leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi movq %r13, %rsi xorl %eax, %eax callq _printf movq %rbx, %rdi movq %r12, %rsi xorl %eax, %eax callq _printf movq %rbx, %rdi movq %r15, %rsi xorl %eax, %eax callq _printf movq %rbx, %rdi movq %r14, %rsi xorl %eax, %eax callq _printf movq %rbx, %rdi leaq -68(%rbp), %rsi xorl %eax, %eax callq _printf movq %rbx, %rdi leaq -72(%rbp), %rsi xorl %eax, %eax callq _printf movq %rbx, %rdi leaq -76(%rbp), %rsi xorl %eax, %eax callq _printf movq %rbx, %rdi leaq -80(%rbp), %rsi xorl %eax, %eax callq _printf leaq L_str(%rip), %rdi callq _puts movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter the 8 integer data (seperate by blank): " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "Ok, the reverse datat is: " L_str: ## @str .asciz "\nDone!" .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, #144 .cfi_def_cfa_offset 144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #40] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf add x20, sp, #8 str x20, [sp] Lloh5: adrp x19, l_.str.1@PAGE Lloh6: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _scanf add x21, x20, #4 str x21, [sp] mov x0, x19 bl _scanf add x22, x20, #8 str x22, [sp] mov x0, x19 bl _scanf add x23, x20, #12 str x23, [sp] mov x0, x19 bl _scanf add x24, x20, #16 str x24, [sp] mov x0, x19 bl _scanf add x25, x20, #20 str x25, [sp] mov x0, x19 bl _scanf add x26, x20, #24 str x26, [sp] mov x0, x19 bl _scanf add x27, x20, #28 str x27, [sp] mov x0, x19 bl _scanf Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _printf str x27, [sp] mov x0, x19 bl _printf str x26, [sp] mov x0, x19 bl _printf str x25, [sp] mov x0, x19 bl _printf str x24, [sp] mov x0, x19 bl _printf str x23, [sp] mov x0, x19 bl _printf str x22, [sp] mov x0, x19 bl _printf str x21, [sp] mov x0, x19 bl _printf str x20, [sp] mov x0, x19 bl _printf Lloh9: adrp x0, l_str@PAGE Lloh10: add x0, x0, l_str@PAGEOFF bl _puts ldr x8, [sp, #40] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter the 8 integer data (seperate by blank): " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Ok, the reverse datat is: " l_str: ; @str .asciz "\nDone!" .subsections_via_symbols
the_stack_data/98472.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qla4xxx_update_local_ip _qla4xxx_update_local_ip: ## @qla4xxx_update_local_ip .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r13 movl 80(%rsi), %edi callq _le16_to_cpu movq %rax, 160(%r13) movl 76(%r14), %edi callq _le16_to_cpu movq %rax, 152(%r13) movl 72(%r14), %edi callq _le16_to_cpu movq %rax, 144(%r13) movl 68(%r14), %edi callq _le16_to_cpu movq %rax, 136(%r13) movl 64(%r14), %edi callq _le16_to_cpu movq %rax, 128(%r13) movq (%r13), %rax movq _ACB_SUPPORTED@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movl 60(%r14), %edi callq _le16_to_cpu movq %rax, 120(%r13) movl 56(%r14), %edi callq _le16_to_cpu movq %rax, 112(%r13) LBB0_2: movq 8(%r13), %r15 movl 52(%r14), %r12d movl $8, %edi movl $4, %esi callq _min movq %r15, %rdi movl %r12d, %esi movl %eax, %edx callq _memcpy movq 16(%r13), %r15 movl 48(%r14), %r12d movl $8, %edi movl $4, %esi callq _min movq %r15, %rdi movl %r12d, %esi movl %eax, %edx callq _memcpy movq 24(%r13), %r15 movl 44(%r14), %r12d movl $8, %edi movl $4, %esi callq _min movq %r15, %rdi movl %r12d, %esi movl %eax, %edx callq _memcpy movl 40(%r14), %edi callq _be16_to_cpu movq %rax, 104(%r13) movq %r13, %rdi callq _is_ipv6_enabled testq %rax, %rax je LBB0_4 ## %bb.3: movl 36(%r14), %edi callq _le16_to_cpu movq %rax, 96(%r13) movl 32(%r14), %edi callq _le16_to_cpu movq %rax, 88(%r13) movl 28(%r14), %edi callq _le16_to_cpu movq %rax, 80(%r13) movl 24(%r14), %edi callq _le16_to_cpu movq %rax, 72(%r13) movq 64(%r13), %rbx movabsq $549755814142, %rax ## imm = 0x80000000FE movq %rax, (%rbx) addq $32, %rbx movl 20(%r14), %r15d movl $4, %edi movl $4, %esi callq _min movq %rbx, %rdi movl %r15d, %esi movl %eax, %edx callq _memcpy leaq 32(%r13), %rbx movl 16(%r14), %r15d movl $4, %edi movl $4, %esi callq _min movq %rbx, %rdi movl %r15d, %esi movl %eax, %edx callq _memcpy leaq 36(%r13), %rbx movl 12(%r14), %r15d movl $4, %edi movl $4, %esi callq _min movq %rbx, %rdi movl %r15d, %esi movl %eax, %edx callq _memcpy leaq 40(%r13), %rbx movl 8(%r14), %r15d movl $4, %edi movl $4, %esi callq _min movq %rbx, %rdi movl %r15d, %esi movl %eax, %edx callq _memcpy movl 4(%r14), %edi callq _be16_to_cpu movq %rax, 56(%r13) movl (%r14), %edi callq _le16_to_cpu movq %rax, 48(%r13) LBB0_4: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ACB_SUPPORTED,8,3 ## @ACB_SUPPORTED .no_dead_strip _qla4xxx_update_local_ip .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function qla4xxx_update_local_ip lCPI0_0: .long 254 ; 0xfe .long 128 ; 0x80 .section __TEXT,__text,regular,pure_instructions .p2align 2 _qla4xxx_update_local_ip: ; @qla4xxx_update_local_ip .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 ldr w0, [x1, #80] bl _le16_to_cpu str x0, [x19, #160] ldr w0, [x20, #76] bl _le16_to_cpu str x0, [x19, #152] ldr w0, [x20, #72] bl _le16_to_cpu str x0, [x19, #144] ldr w0, [x20, #68] bl _le16_to_cpu str x0, [x19, #136] ldr w0, [x20, #64] bl _le16_to_cpu str x0, [x19, #128] ldr x8, [x19] Lloh0: adrp x9, _ACB_SUPPORTED@GOTPAGE Lloh1: ldr x9, [x9, _ACB_SUPPORTED@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: ldr w0, [x20, #60] bl _le16_to_cpu str x0, [x19, #120] ldr w0, [x20, #56] bl _le16_to_cpu str x0, [x19, #112] LBB0_2: ldr x21, [x19, #8] ldr w22, [x20, #52] mov w0, #8 mov w1, #4 bl _min mov x2, x0 mov x0, x21 mov x1, x22 bl _memcpy ldr x21, [x19, #16] ldr w22, [x20, #48] mov w0, #8 mov w1, #4 bl _min mov x2, x0 mov x0, x21 mov x1, x22 bl _memcpy ldr x21, [x19, #24] ldr w22, [x20, #44] mov w0, #8 mov w1, #4 bl _min mov x2, x0 mov x0, x21 mov x1, x22 bl _memcpy ldr w0, [x20, #40] bl _be16_to_cpu str x0, [x19, #104] mov x0, x19 bl _is_ipv6_enabled cbz x0, LBB0_4 ; %bb.3: ldr w0, [x20, #36] bl _le16_to_cpu str x0, [x19, #96] ldr w0, [x20, #32] bl _le16_to_cpu str x0, [x19, #88] ldr w0, [x20, #28] bl _le16_to_cpu str x0, [x19, #80] ldr w0, [x20, #24] bl _le16_to_cpu str x0, [x19, #72] ldr x21, [x19, #64] Lloh3: adrp x8, lCPI0_0@PAGE Lloh4: ldr d0, [x8, lCPI0_0@PAGEOFF] str d0, [x21], #32 ldr w22, [x20, #20] mov w0, #4 mov w1, #4 bl _min mov x2, x0 mov x0, x21 mov x1, x22 bl _memcpy add x21, x19, #32 ldr w22, [x20, #16] mov w0, #4 mov w1, #4 bl _min mov x2, x0 mov x0, x21 mov x1, x22 bl _memcpy add x21, x19, #36 ldr w22, [x20, #12] mov w0, #4 mov w1, #4 bl _min mov x2, x0 mov x0, x21 mov x1, x22 bl _memcpy add x21, x19, #40 ldr w22, [x20, #8] mov w0, #4 mov w1, #4 bl _min mov x2, x0 mov x0, x21 mov x1, x22 bl _memcpy ldr w0, [x20, #4] bl _be16_to_cpu str x0, [x19, #56] ldr w0, [x20] bl _le16_to_cpu str x0, [x19, #48] LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdr Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _ACB_SUPPORTED,8,3 ; @ACB_SUPPORTED .no_dead_strip _qla4xxx_update_local_ip .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_mbx.c_qla4xxx_update_local_ip.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cyber2000_grphw _cyber2000_grphw: ## @cyber2000_grphw .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movzbl %dil, %edi shll $8, %esi orl %esi, %edi movl $974, %esi ## imm = 0x3CE popq %rbp jmp _cyber2000fb_writew ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _cyber2000_grphw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cyber2000_grphw _cyber2000_grphw: ; @cyber2000_grphw .cfi_startproc ; %bb.0: bfi w0, w1, #8, #24 mov w1, #974 b _cyber2000fb_writew .cfi_endproc ; -- End function .no_dead_strip _cyber2000_grphw .subsections_via_symbols
AnghaBench/linux/drivers/video/fbdev/extr_cyber2000fb.c_cyber2000_grphw.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _BtThreadFunc ## -- Begin function BtThreadFunc .p2align 4, 0x90 _BtThreadFunc: ## @BtThreadFunc .cfi_startproc ## %bb.0: 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, %rbx addq $52, %rdi movq %rdi, -64(%rbp) ## 8-byte Spill callq _Event_Wait leaq 48(%rbx), %r15 movq %r15, %rdi callq _Event_Set cmpq $0, 40(%rbx) jne LBB0_5 ## %bb.1: leaq 12(%rbx), %rax movq %rax, -56(%rbp) ## 8-byte Spill leaq 8(%rbx), %rax movq %rax, -48(%rbp) ## 8-byte Spill leaq 16(%rbx), %r12 xorl %r13d, %r13d jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %rdi ## 8-byte Reload callq _Semaphore_Wait leaq 1(%r13), %r14 movq %rbx, %rdi movl %r13d, %esi callq _BtFillBlock movq -48(%rbp), %rdi ## 8-byte Reload callq _Semaphore_Release1 cmpq $0, 40(%rbx) movq %r14, %r13 jne LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpq $0, 32(%rbx) je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %r13, 24(%rbx) movq %rbx, %rdi callq _MtSync_StopWriting movq %r12, %rdi callq _Event_Set movq -64(%rbp), %rdi ## 8-byte Reload callq _Event_Wait movq %r15, %rdi callq _Event_Set cmpq $0, 40(%rbx) movl $0, %r13d je LBB0_2 LBB0_5: addq $24, %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 _BtThreadFunc ; -- Begin function BtThreadFunc .p2align 2 _BtThreadFunc: ; @BtThreadFunc .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 add x20, x0, #52 mov x0, x20 bl _Event_Wait add x21, x19, #48 mov x0, x21 bl _Event_Set ldr x8, [x19, #40] cbnz x8, LBB0_5 ; %bb.1: mov x25, #0 add x22, x19, #12 add x23, x19, #8 add x24, x19, #16 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov x0, x22 bl _Semaphore_Wait add x26, x25, #1 mov x0, x19 mov x1, x25 bl _BtFillBlock mov x0, x23 bl _Semaphore_Release1 ldr x8, [x19, #40] mov x25, x26 cbnz x8, LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #32] cbz x8, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 str x25, [x19, #24] mov x0, x19 bl _MtSync_StopWriting mov x0, x24 bl _Event_Set mov x0, x20 bl _Event_Wait mov x0, x21 bl _Event_Set mov x25, #0 ldr x8, [x19, #40] cbz x8, LBB0_3 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 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/poco/SevenZip/src/extr_LzFindMt.c_BtThreadFunc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _tl_expression_unserialize_builtin_type ## -- Begin function tl_expression_unserialize_builtin_type .p2align 4, 0x90 _tl_expression_unserialize_builtin_type: ## @tl_expression_unserialize_builtin_type .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %r15d, %r15d testq %rcx, %rcx je LBB0_44 ## %bb.1: movq %rcx, %rbx movl %edx, %r12d movq %rsi, %r14 movq %r8, -48(%rbp) ## 8-byte Spill movq %rdi, %r13 movsbl (%rcx), %edi callq _tolower ## kill: def $eax killed $eax def $rax addl $-100, %eax cmpl $15, %eax ja LBB0_44 ## %bb.2: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_3: leaq 1(%rbx), %rdi leaq L_.str(%rip), %rsi callq _strcmp testl %eax, %eax jne LBB0_44 ## %bb.4: movsbl (%rbx), %edi callq _isupper testl %eax, %eax je LBB0_5 ## %bb.8: testl %r12d, %r12d jle LBB0_9 ## %bb.10: movl (%r14), %ecx movq _CODE_double@GOTPCREL(%rip), %rax movl (%rax), %edx movl $-1, %r15d cmpl %edx, %ecx je LBB0_6 ## %bb.11: leaq L_.str.2(%rip), %rsi jmp LBB0_12 LBB0_24: leaq 1(%rbx), %rdi leaq L_.str.5(%rip), %rsi callq _strcmp testl %eax, %eax jne LBB0_44 ## %bb.25: movsbl (%rbx), %edi callq _isupper testl %eax, %eax je LBB0_26 ## %bb.29: testl %r12d, %r12d jle LBB0_9 ## %bb.30: movl (%r14), %ecx movq _CODE_long@GOTPCREL(%rip), %rax movl (%rax), %edx movl $1, %r15d cmpl %edx, %ecx je LBB0_27 ## %bb.31: leaq L_.str.6(%rip), %rsi LBB0_12: movq %r13, %rdi jmp LBB0_13 LBB0_14: cmpb $110, 1(%rbx) jne LBB0_44 ## %bb.15: cmpb $116, 2(%rbx) jne LBB0_44 ## %bb.16: cmpb $0, 3(%rbx) jne LBB0_44 ## %bb.17: movsbl (%rbx), %edi callq _isupper testl %eax, %eax je LBB0_18 ## %bb.21: testl %r12d, %r12d jle LBB0_9 ## %bb.22: movl (%r14), %ecx movq _CODE_int@GOTPCREL(%rip), %rax movl (%rax), %edx movl $1, %r15d cmpl %edx, %ecx je LBB0_19 ## %bb.23: leaq L_.str.4(%rip), %rsi jmp LBB0_12 LBB0_32: leaq 1(%rbx), %rdi leaq L_.str.7(%rip), %rsi callq _strcmp testl %eax, %eax je LBB0_33 LBB0_44: movl %r15d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_33: movsbl (%rbx), %edi callq _isupper testl %eax, %eax je LBB0_34 ## %bb.38: testl %r12d, %r12d movq %r13, %rdi jle LBB0_39 ## %bb.41: movl (%r14), %ecx movq _CODE_string@GOTPCREL(%rip), %rax movl (%rax), %edx movl $1, %eax cmpl %edx, %ecx je LBB0_35 ## %bb.42: leaq L_.str.8(%rip), %rsi LBB0_13: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _tl_failf ## TAILCALL LBB0_26: xorl %r15d, %r15d LBB0_27: decl %r12d cmpl %r12d, %r15d jge LBB0_9 ## %bb.28: movq _tlso_long@GOTPCREL(%rip), %rax movl (%rax), %edi callq _tl_scheme_object_new movq -48(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) movl %r15d, %ecx movq (%r14,%rcx,4), %rcx movq %rcx, 16(%rax) orl $2, %r15d jmp LBB0_44 LBB0_5: xorl %r15d, %r15d LBB0_6: decl %r12d cmpl %r12d, %r15d jge LBB0_9 ## %bb.7: movq _tlso_double@GOTPCREL(%rip), %rax movl (%rax), %edi callq _tl_scheme_object_new movq -48(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) movslq %r15d, %rcx movsd (%r14,%rcx,4), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, (%rax) addl $2, %r15d jmp LBB0_44 LBB0_34: xorl %eax, %eax movq %r13, %rdi LBB0_35: subl %eax, %r12d jle LBB0_39 ## %bb.36: movl %eax, %ebx movl %eax, %eax leaq (%r14,%rax,4), %rdi leaq -56(%rbp), %rdx movl %r12d, %esi xorl %ecx, %ecx movl $1, %r8d callq _tl_fetch_string testl %eax, %eax jle LBB0_37 ## %bb.43: movl %eax, %r15d movq _tlso_str@GOTPCREL(%rip), %rax movl (%rax), %edi callq _tl_scheme_object_new movq -48(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) movq -56(%rbp), %rcx movq %rcx, 24(%rax) addl %ebx, %r15d jmp LBB0_44 LBB0_39: leaq L_.str.1(%rip), %rsi jmp LBB0_40 LBB0_37: leaq L_.str.9(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _tl_failf movl %eax, %r15d jmp LBB0_44 LBB0_18: xorl %r15d, %r15d LBB0_19: cmpl %r12d, %r15d jge LBB0_9 ## %bb.20: movq _tlso_int@GOTPCREL(%rip), %rax movl (%rax), %edi callq _tl_scheme_object_new movq -48(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) movl %r15d, %ecx incl %r15d movl (%r14,%rcx,4), %ecx movl %ecx, 8(%rax) jmp LBB0_44 LBB0_9: leaq L_.str.1(%rip), %rsi movq %r13, %rdi LBB0_40: movq %rbx, %rdx xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _tl_failf ## TAILCALL .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_44, LBB0_44-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_24, LBB0_24-LJTI0_0 .set L0_0_set_32, LBB0_32-LJTI0_0 LJTI0_0: .long L0_0_set_3 .long L0_0_set_44 .long L0_0_set_44 .long L0_0_set_44 .long L0_0_set_44 .long L0_0_set_14 .long L0_0_set_44 .long L0_0_set_44 .long L0_0_set_24 .long L0_0_set_44 .long L0_0_set_44 .long L0_0_set_44 .long L0_0_set_44 .long L0_0_set_44 .long L0_0_set_44 .long L0_0_set_32 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ouble" L_.str.1: ## @.str.1 .asciz "not enough input to unserialize %s" .comm _CODE_double,4,2 ## @CODE_double L_.str.2: ## @.str.2 .asciz "unserialize Double failed, expected magic 0x%08x but 0x%08x found" .comm _tlso_double,4,2 ## @tlso_double .comm _CODE_int,4,2 ## @CODE_int L_.str.4: ## @.str.4 .asciz "unserialize Int failed, expected magic 0x%08x but 0x%08x found" .comm _tlso_int,4,2 ## @tlso_int L_.str.5: ## @.str.5 .asciz "ong" .comm _CODE_long,4,2 ## @CODE_long L_.str.6: ## @.str.6 .asciz "unserialize Long failed, expected magic 0x%08x but 0x%08x found" .comm _tlso_long,4,2 ## @tlso_long L_.str.7: ## @.str.7 .asciz "tring" .comm _CODE_string,4,2 ## @CODE_string L_.str.8: ## @.str.8 .asciz "unserialize String failed, expected magic 0x%08x but 0x%08x found" L_.str.9: ## @.str.9 .asciz "tl_fetch_string fail" .comm _tlso_str,4,2 ## @tlso_str .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _tl_expression_unserialize_builtin_type ; -- Begin function tl_expression_unserialize_builtin_type .p2align 2 _tl_expression_unserialize_builtin_type: ; @tl_expression_unserialize_builtin_type .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 cbz x3, LBB0_24 ; %bb.1: mov x20, x3 mov x21, x2 mov x19, x1 mov x23, x4 mov x22, x0 ldrsb w0, [x3] bl _tolower mov x8, x0 mov w0, #0 ; =0x0 cmp w8, #107 b.gt LBB0_11 ; %bb.2: cmp w8, #100 b.eq LBB0_18 ; %bb.3: cmp w8, #105 b.ne LBB0_25 ; %bb.4: ldrb w8, [x20, #1] cmp w8, #110 b.ne LBB0_24 ; %bb.5: ldrb w8, [x20, #2] cmp w8, #116 b.ne LBB0_24 ; %bb.6: ldrb w8, [x20, #3] cbnz w8, LBB0_24 ; %bb.7: ldrsb w0, [x20] bl _isupper cbz w0, LBB0_45 ; %bb.8: cmp w21, #0 b.le LBB0_48 ; %bb.9: ldr w8, [x19] Lloh0: adrp x9, _CODE_int@GOTPAGE Lloh1: ldr x9, [x9, _CODE_int@GOTPAGEOFF] Lloh2: ldr w9, [x9] cmp w8, w9 b.ne LBB0_50 ; %bb.10: mov w24, #1 ; =0x1 b LBB0_46 LBB0_11: cmp w8, #108 b.eq LBB0_23 ; %bb.12: cmp w8, #115 b.ne LBB0_25 ; %bb.13: Lloh3: adrp x1, l_.str.7@PAGE Lloh4: add x1, x1, l_.str.7@PAGEOFF add x0, x20, #1 bl _strcmp cbnz w0, LBB0_24 ; %bb.14: ldrsb w0, [x20] bl _isupper cbz w0, LBB0_30 ; %bb.15: cmp w21, #0 mov x0, x22 b.le LBB0_34 ; %bb.16: ldr w8, [x19] Lloh5: adrp x9, _CODE_string@GOTPAGE Lloh6: ldr x9, [x9, _CODE_string@GOTPAGEOFF] Lloh7: ldr w9, [x9] cmp w8, w9 b.ne LBB0_41 ; %bb.17: mov w24, #1 ; =0x1 b LBB0_31 LBB0_18: Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF add x0, x20, #1 bl _strcmp cbnz w0, LBB0_24 ; %bb.19: ldrsb w0, [x20] bl _isupper cbz w0, LBB0_35 ; %bb.20: cmp w21, #0 b.le LBB0_48 ; %bb.21: ldr w8, [x19] Lloh10: adrp x9, _CODE_double@GOTPAGE Lloh11: ldr x9, [x9, _CODE_double@GOTPAGEOFF] Lloh12: ldr w9, [x9] cmp w8, w9 b.ne LBB0_42 ; %bb.22: mov w24, #-1 ; =0xffffffff b LBB0_36 LBB0_23: Lloh13: adrp x1, l_.str.5@PAGE Lloh14: add x1, x1, l_.str.5@PAGEOFF add x0, x20, #1 bl _strcmp cbz w0, LBB0_26 LBB0_24: mov w0, #0 ; =0x0 LBB0_25: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_26: ldrsb w0, [x20] bl _isupper cbz w0, LBB0_38 ; %bb.27: cmp w21, #0 b.le LBB0_48 ; %bb.28: ldr w8, [x19] Lloh15: adrp x9, _CODE_long@GOTPAGE Lloh16: ldr x9, [x9, _CODE_long@GOTPAGEOFF] Lloh17: ldr w9, [x9] cmp w8, w9 b.ne LBB0_43 ; %bb.29: mov w24, #1 ; =0x1 b LBB0_39 LBB0_30: mov w24, #0 ; =0x0 mov x0, x22 LBB0_31: subs w1, w21, w24 b.le LBB0_34 ; %bb.32: add x0, x19, w24, uxtw #2 add x2, sp, #24 mov x3, #0 ; =0x0 mov w4, #1 ; =0x1 bl _tl_fetch_string cmp w0, #0 b.le LBB0_44 ; %bb.33: mov x19, x0 Lloh18: adrp x8, _tlso_str@GOTPAGE Lloh19: ldr x8, [x8, _tlso_str@GOTPAGEOFF] Lloh20: ldr w0, [x8] bl _tl_scheme_object_new str x0, [x23] ldr x8, [sp, #24] str x8, [x0, #24] add w0, w19, w24 b LBB0_25 LBB0_34: str x20, [sp] Lloh21: adrp x1, l_.str.1@PAGE Lloh22: add x1, x1, l_.str.1@PAGEOFF bl _tl_failf b LBB0_25 LBB0_35: mov w24, #0 ; =0x0 LBB0_36: sub w8, w21, #1 cmp w24, w8 b.ge LBB0_48 ; %bb.37: Lloh23: adrp x8, _tlso_double@GOTPAGE Lloh24: ldr x8, [x8, _tlso_double@GOTPAGEOFF] Lloh25: ldr w0, [x8] bl _tl_scheme_object_new str x0, [x23] sbfiz x8, x24, #2, #32 ldr d0, [x19, x8] str d0, [x0] add w0, w24, #2 b LBB0_25 LBB0_38: mov w24, #0 ; =0x0 LBB0_39: sub w8, w21, #1 cmp w24, w8 b.ge LBB0_48 ; %bb.40: Lloh26: adrp x8, _tlso_long@GOTPAGE Lloh27: ldr x8, [x8, _tlso_long@GOTPAGEOFF] Lloh28: ldr w0, [x8] bl _tl_scheme_object_new str x0, [x23] ubfiz x8, x24, #2, #32 ldr x8, [x19, x8] str x8, [x0, #16] orr w0, w24, #0x2 b LBB0_25 LBB0_41: stp x9, x8, [sp] Lloh29: adrp x1, l_.str.8@PAGE Lloh30: add x1, x1, l_.str.8@PAGEOFF bl _tl_failf b LBB0_25 LBB0_42: stp x9, x8, [sp] Lloh31: adrp x1, l_.str.2@PAGE Lloh32: add x1, x1, l_.str.2@PAGEOFF b LBB0_49 LBB0_43: stp x9, x8, [sp] Lloh33: adrp x1, l_.str.6@PAGE Lloh34: add x1, x1, l_.str.6@PAGEOFF b LBB0_49 LBB0_44: Lloh35: adrp x1, l_.str.9@PAGE Lloh36: add x1, x1, l_.str.9@PAGEOFF b LBB0_49 LBB0_45: mov w24, #0 ; =0x0 LBB0_46: cmp w24, w21 b.ge LBB0_48 ; %bb.47: Lloh37: adrp x8, _tlso_int@GOTPAGE Lloh38: ldr x8, [x8, _tlso_int@GOTPAGEOFF] Lloh39: ldr w0, [x8] bl _tl_scheme_object_new mov x8, x0 str x0, [x23] add w0, w24, #1 ldr w9, [x19, w24, uxtw #2] str w9, [x8, #8] b LBB0_25 LBB0_48: str x20, [sp] Lloh40: adrp x1, l_.str.1@PAGE Lloh41: add x1, x1, l_.str.1@PAGEOFF LBB0_49: mov x0, x22 bl _tl_failf b LBB0_25 LBB0_50: stp x9, x8, [sp] Lloh42: adrp x1, l_.str.4@PAGE Lloh43: add x1, x1, l_.str.4@PAGEOFF b LBB0_49 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh42, Lloh43 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ouble" l_.str.1: ; @.str.1 .asciz "not enough input to unserialize %s" .comm _CODE_double,4,2 ; @CODE_double l_.str.2: ; @.str.2 .asciz "unserialize Double failed, expected magic 0x%08x but 0x%08x found" .comm _tlso_double,4,2 ; @tlso_double .comm _CODE_int,4,2 ; @CODE_int l_.str.4: ; @.str.4 .asciz "unserialize Int failed, expected magic 0x%08x but 0x%08x found" .comm _tlso_int,4,2 ; @tlso_int l_.str.5: ; @.str.5 .asciz "ong" .comm _CODE_long,4,2 ; @CODE_long l_.str.6: ; @.str.6 .asciz "unserialize Long failed, expected magic 0x%08x but 0x%08x found" .comm _tlso_long,4,2 ; @tlso_long l_.str.7: ; @.str.7 .asciz "tring" .comm _CODE_string,4,2 ; @CODE_string l_.str.8: ; @.str.8 .asciz "unserialize String failed, expected magic 0x%08x but 0x%08x found" l_.str.9: ; @.str.9 .asciz "tl_fetch_string fail" .comm _tlso_str,4,2 ; @tlso_str .subsections_via_symbols
assembly_file_78794.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function talk_to_backend _talk_to_backend: ## @talk_to_backend .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movl %edi, %r14d callq _xenbus_get_node movq %rax, %rbx movq $0, -56(%rbp) movl 36(%r15), %esi movl %r14d, %edi callq _xen_net_read_mac testl %eax, %eax je LBB0_2 ## %bb.1: movl %eax, %r13d leaq L_.str(%rip), %rdx movl %r14d, %edi movl %eax, %esi movq %rbx, %rcx xorl %eax, %eax callq _xenbus_dev_fatal jmp LBB0_39 LBB0_2: movq _XST_NIL@GOTPCREL(%rip), %rax movl (%rax), %r12d movl 32(%r15), %edi callq _xenbus_get_otherend_path leaq L_.str.1(%rip), %rdx leaq L_.str.2(%rip), %r8 leaq -56(%rbp), %r9 movl %r12d, %edi movl %eax, %esi xorl %ecx, %ecx callq _xs_scanf testl %eax, %eax je LBB0_4 ## %bb.3: movq $1, -56(%rbp) movl $1, %edx jmp LBB0_5 LBB0_4: movq -56(%rbp), %rdx LBB0_5: movq _xn_num_queues@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq %rdx, %rax cmovbq %rax, %rdx movl %r14d, %edi movq %r15, %rsi callq _setup_device movl %eax, %r13d testl %eax, %eax jne LBB0_39 ## %bb.6: movq %rbx, -64(%rbp) ## 8-byte Spill LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_13 Depth 2 leaq -48(%rbp), %rdi callq _xs_transaction_start testl %eax, %eax jne LBB0_27 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movl (%r15), %r8d cmpl $1, %r8d jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movq 16(%r15), %rdx movq 24(%r15), %rsi movl %r14d, %edi leaq -48(%rbp), %rcx xorl %r8d, %r8d callq _write_queue_xenstore_keys testl %eax, %eax je LBB0_15 jmp LBB0_32 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movl -48(%rbp), %edi movq %rbx, %rsi leaq L_.str.4(%rip), %rdx leaq L_.str.5(%rip), %rcx callq _xs_printf testl %eax, %eax jne LBB0_33 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 cmpl $0, (%r15) je LBB0_15 ## %bb.12: ## in Loop: Header=BB0_7 Depth=1 xorl %ebx, %ebx xorl %r13d, %r13d .p2align 4, 0x90 LBB0_13: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movq 24(%r15), %rsi addq %rbx, %rsi movq 16(%r15), %rdx addq %rbx, %rdx movl %r14d, %edi leaq -48(%rbp), %rcx movl $1, %r8d callq _write_queue_xenstore_keys testl %eax, %eax jne LBB0_32 ## %bb.14: ## in Loop: Header=BB0_13 Depth=2 incq %r13 movl (%r15), %eax addq $4, %rbx cmpq %rax, %r13 jb LBB0_13 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_7 Depth=1 movl -48(%rbp), %edi movq -64(%rbp), %rbx ## 8-byte Reload movq %rbx, %rsi leaq L_.str.7(%rip), %rdx leaq L_.str.5(%rip), %rcx movl $1, %r8d callq _xs_printf testl %eax, %eax jne LBB0_29 ## %bb.16: ## in Loop: Header=BB0_7 Depth=1 movl -48(%rbp), %edi movq %rbx, %rsi leaq L_.str.9(%rip), %rdx leaq L_.str.10(%rip), %r13 movq %r13, %rcx movl $1, %r8d callq _xs_printf testl %eax, %eax jne LBB0_30 ## %bb.17: ## in Loop: Header=BB0_7 Depth=1 movl -48(%rbp), %edi movq %rbx, %rsi leaq L_.str.12(%rip), %rdx movq %r13, %rcx movl $1, %r8d callq _xs_printf testl %eax, %eax jne LBB0_31 ## %bb.18: ## in Loop: Header=BB0_7 Depth=1 movq 8(%r15), %rax movl (%rax), %eax movq _IFCAP_LRO@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_21 ## %bb.19: ## in Loop: Header=BB0_7 Depth=1 movl -48(%rbp), %edi movq %rbx, %rsi leaq L_.str.14(%rip), %rdx movq %r13, %rcx movl $1, %r8d callq _xs_printf testl %eax, %eax jne LBB0_34 ## %bb.20: ## in Loop: Header=BB0_7 Depth=1 movq 8(%r15), %rax movl (%rax), %eax LBB0_21: ## in Loop: Header=BB0_7 Depth=1 movq _IFCAP_RXCSUM@GOTPCREL(%rip), %rcx testl %eax, (%rcx) jne LBB0_23 ## %bb.22: ## in Loop: Header=BB0_7 Depth=1 movl -48(%rbp), %edi movq %rbx, %rsi leaq L_.str.16(%rip), %rdx movq %r13, %rcx movl $1, %r8d callq _xs_printf testl %eax, %eax jne LBB0_35 LBB0_23: ## in Loop: Header=BB0_7 Depth=1 movl -48(%rbp), %edi xorl %r13d, %r13d xorl %esi, %esi callq _xs_transaction_end testl %eax, %eax je LBB0_39 ## %bb.24: ## in Loop: Header=BB0_7 Depth=1 movl %eax, %r12d movq _EAGAIN@GOTPCREL(%rip), %rax cmpl (%rax), %r12d je LBB0_7 ## %bb.25: leaq L_.str.18(%rip), %rdx jmp LBB0_28 LBB0_32: movl %eax, %r12d jmp LBB0_37 LBB0_27: movl %eax, %r12d leaq L_.str.3(%rip), %rdx LBB0_28: movl %r14d, %edi movl %r12d, %esi xorl %eax, %eax callq _xenbus_dev_fatal jmp LBB0_38 LBB0_29: movl %eax, %r12d leaq L_.str.8(%rip), %rcx jmp LBB0_36 LBB0_30: movl %eax, %r12d leaq L_.str.11(%rip), %rcx jmp LBB0_36 LBB0_31: movl %eax, %r12d leaq L_.str.13(%rip), %rcx jmp LBB0_36 LBB0_33: movl %eax, %r12d leaq L_.str.6(%rip), %rcx jmp LBB0_36 LBB0_34: movl %eax, %r12d leaq L_.str.15(%rip), %rcx jmp LBB0_36 LBB0_35: movl %eax, %r12d leaq L_.str.17(%rip), %rcx LBB0_36: leaq L_.str.19(%rip), %rdx movl %r14d, %edi movl %r12d, %esi xorl %eax, %eax callq _xenbus_dev_fatal LBB0_37: movl -48(%rbp), %edi movl $1, %esi callq _xs_transaction_end LBB0_38: movq %r15, %rdi callq _netif_free movl %r12d, %r13d LBB0_39: movl %r13d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "parsing %s/mac" .comm _XST_NIL,4,2 ## @XST_NIL L_.str.1: ## @.str.1 .asciz "multi-queue-max-queues" L_.str.2: ## @.str.2 .asciz "%lu" .comm _xn_num_queues,8,3 ## @xn_num_queues L_.str.3: ## @.str.3 .asciz "starting transaction" L_.str.4: ## @.str.4 .asciz "multi-queue-num-queues" L_.str.5: ## @.str.5 .asciz "%u" L_.str.6: ## @.str.6 .asciz "writing multi-queue-num-queues" L_.str.7: ## @.str.7 .asciz "request-rx-copy" L_.str.8: ## @.str.8 .asciz "writing request-rx-copy" L_.str.9: ## @.str.9 .asciz "feature-rx-notify" L_.str.10: ## @.str.10 .asciz "%d" L_.str.11: ## @.str.11 .asciz "writing feature-rx-notify" L_.str.12: ## @.str.12 .asciz "feature-sg" L_.str.13: ## @.str.13 .asciz "writing feature-sg" .comm _IFCAP_LRO,4,2 ## @IFCAP_LRO L_.str.14: ## @.str.14 .asciz "feature-gso-tcpv4" L_.str.15: ## @.str.15 .asciz "writing feature-gso-tcpv4" .comm _IFCAP_RXCSUM,4,2 ## @IFCAP_RXCSUM L_.str.16: ## @.str.16 .asciz "feature-no-csum-offload" L_.str.17: ## @.str.17 .asciz "writing feature-no-csum-offload" .comm _EAGAIN,4,2 ## @EAGAIN L_.str.18: ## @.str.18 .asciz "completing transaction" L_.str.19: ## @.str.19 .asciz "%s" .no_dead_strip _talk_to_backend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function talk_to_backend _talk_to_backend: ; @talk_to_backend .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 bl _xenbus_get_node mov x21, x0 str xzr, [sp, #16] ldr w1, [x19, #36] mov x0, x20 bl _xen_net_read_mac cbz w0, LBB0_2 ; %bb.1: mov x28, x0 str x21, [sp] Lloh0: adrp x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF mov x0, x20 mov x1, x28 bl _xenbus_dev_fatal b LBB0_38 LBB0_2: Lloh2: adrp x8, _XST_NIL@GOTPAGE Lloh3: ldr x8, [x8, _XST_NIL@GOTPAGEOFF] Lloh4: ldr w22, [x8] ldr w0, [x19, #32] bl _xenbus_get_otherend_path mov x1, x0 Lloh5: adrp x2, l_.str.1@PAGE Lloh6: add x2, x2, l_.str.1@PAGEOFF Lloh7: adrp x4, l_.str.2@PAGE Lloh8: add x4, x4, l_.str.2@PAGEOFF add x5, sp, #16 mov x0, x22 mov x3, #0 bl _xs_scanf cbz w0, LBB0_4 ; %bb.3: mov w8, #1 str x8, [sp, #16] b LBB0_5 LBB0_4: ldr x8, [sp, #16] LBB0_5: Lloh9: adrp x9, _xn_num_queues@GOTPAGE Lloh10: ldr x9, [x9, _xn_num_queues@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x9, x8 csel x2, x9, x8, lo mov x0, x20 mov x1, x19 bl _setup_device mov x28, x0 cbnz w0, LBB0_38 ; %bb.6: Lloh12: adrp x22, l_.str.7@PAGE Lloh13: add x22, x22, l_.str.7@PAGEOFF Lloh14: adrp x23, l_.str.5@PAGE Lloh15: add x23, x23, l_.str.5@PAGEOFF Lloh16: adrp x24, l_.str.9@PAGE Lloh17: add x24, x24, l_.str.9@PAGEOFF Lloh18: adrp x25, l_.str.10@PAGE Lloh19: add x25, x25, l_.str.10@PAGEOFF LBB0_7: ; =>This Loop Header: Depth=1 ; Child Loop BB0_13 Depth 2 add x0, sp, #24 bl _xs_transaction_start cbnz w0, LBB0_27 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 ldr w4, [x19] cmp w4, #1 b.ne LBB0_10 ; %bb.9: ; in Loop: Header=BB0_7 Depth=1 ldp x2, x1, [x19, #16] add x3, sp, #24 mov x0, x20 mov w4, #0 bl _write_queue_xenstore_keys cbz w0, LBB0_15 b LBB0_26 LBB0_10: ; in Loop: Header=BB0_7 Depth=1 ldr w0, [sp, #24] mov x1, x21 Lloh20: adrp x2, l_.str.4@PAGE Lloh21: add x2, x2, l_.str.4@PAGEOFF mov x3, x23 bl _xs_printf cbnz w0, LBB0_32 ; %bb.11: ; in Loop: Header=BB0_7 Depth=1 ldr w8, [x19] cbz w8, LBB0_15 ; %bb.12: ; in Loop: Header=BB0_7 Depth=1 mov x27, #0 mov x26, #0 LBB0_13: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 ldp x9, x8, [x19, #16] add x1, x8, x27 add x2, x9, x27 add x3, sp, #24 mov x0, x20 mov w4, #1 bl _write_queue_xenstore_keys cbnz w0, LBB0_26 ; %bb.14: ; in Loop: Header=BB0_13 Depth=2 add x26, x26, #1 ldr w8, [x19] add x27, x27, #4 cmp x26, x8 b.lo LBB0_13 LBB0_15: ; in Loop: Header=BB0_7 Depth=1 ldr w0, [sp, #24] mov x1, x21 mov x2, x22 mov x3, x23 mov w4, #1 bl _xs_printf cbnz w0, LBB0_29 ; %bb.16: ; in Loop: Header=BB0_7 Depth=1 ldr w0, [sp, #24] mov x1, x21 mov x2, x24 mov x3, x25 mov w4, #1 bl _xs_printf cbnz w0, LBB0_30 ; %bb.17: ; in Loop: Header=BB0_7 Depth=1 ldr w0, [sp, #24] mov x1, x21 Lloh22: adrp x2, l_.str.12@PAGE Lloh23: add x2, x2, l_.str.12@PAGEOFF mov x3, x25 mov w4, #1 bl _xs_printf cbnz w0, LBB0_31 ; %bb.18: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [x19, #8] ldr w8, [x8] Lloh24: adrp x9, _IFCAP_LRO@GOTPAGE Lloh25: ldr x9, [x9, _IFCAP_LRO@GOTPAGEOFF] Lloh26: ldr w9, [x9] tst w9, w8 b.eq LBB0_21 ; %bb.19: ; in Loop: Header=BB0_7 Depth=1 ldr w0, [sp, #24] mov x1, x21 Lloh27: adrp x2, l_.str.14@PAGE Lloh28: add x2, x2, l_.str.14@PAGEOFF mov x3, x25 mov w4, #1 bl _xs_printf cbnz w0, LBB0_33 ; %bb.20: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [x19, #8] ldr w8, [x8] LBB0_21: ; in Loop: Header=BB0_7 Depth=1 Lloh29: adrp x9, _IFCAP_RXCSUM@GOTPAGE Lloh30: ldr x9, [x9, _IFCAP_RXCSUM@GOTPAGEOFF] Lloh31: ldr w9, [x9] tst w9, w8 b.ne LBB0_23 ; %bb.22: ; in Loop: Header=BB0_7 Depth=1 ldr w0, [sp, #24] mov x1, x21 Lloh32: adrp x2, l_.str.16@PAGE Lloh33: add x2, x2, l_.str.16@PAGEOFF mov x3, x25 mov w4, #1 bl _xs_printf cbnz w0, LBB0_34 LBB0_23: ; in Loop: Header=BB0_7 Depth=1 ldr w0, [sp, #24] mov w1, #0 bl _xs_transaction_end mov x28, x0 cbz w0, LBB0_38 ; %bb.24: ; in Loop: Header=BB0_7 Depth=1 Lloh34: adrp x8, _EAGAIN@GOTPAGE Lloh35: ldr x8, [x8, _EAGAIN@GOTPAGEOFF] Lloh36: ldr w8, [x8] cmp w28, w8 b.eq LBB0_7 ; %bb.25: Lloh37: adrp x2, l_.str.18@PAGE Lloh38: add x2, x2, l_.str.18@PAGEOFF b LBB0_28 LBB0_26: mov x28, x0 b LBB0_36 LBB0_27: mov x28, x0 Lloh39: adrp x2, l_.str.3@PAGE Lloh40: add x2, x2, l_.str.3@PAGEOFF LBB0_28: mov x0, x20 mov x1, x28 bl _xenbus_dev_fatal b LBB0_37 LBB0_29: mov x28, x0 Lloh41: adrp x8, l_.str.8@PAGE Lloh42: add x8, x8, l_.str.8@PAGEOFF b LBB0_35 LBB0_30: mov x28, x0 Lloh43: adrp x8, l_.str.11@PAGE Lloh44: add x8, x8, l_.str.11@PAGEOFF b LBB0_35 LBB0_31: mov x28, x0 Lloh45: adrp x8, l_.str.13@PAGE Lloh46: add x8, x8, l_.str.13@PAGEOFF b LBB0_35 LBB0_32: mov x28, x0 Lloh47: adrp x8, l_.str.6@PAGE Lloh48: add x8, x8, l_.str.6@PAGEOFF b LBB0_35 LBB0_33: mov x28, x0 Lloh49: adrp x8, l_.str.15@PAGE Lloh50: add x8, x8, l_.str.15@PAGEOFF b LBB0_35 LBB0_34: mov x28, x0 Lloh51: adrp x8, l_.str.17@PAGE Lloh52: add x8, x8, l_.str.17@PAGEOFF LBB0_35: str x8, [sp] Lloh53: adrp x2, l_.str.19@PAGE Lloh54: add x2, x2, l_.str.19@PAGEOFF mov x0, x20 mov x1, x28 bl _xenbus_dev_fatal LBB0_36: ldr w0, [sp, #24] mov w1, #1 bl _xs_transaction_end LBB0_37: mov x0, x19 bl _netif_free LBB0_38: mov x0, x28 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpAdd Lloh49, Lloh50 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpAdd Lloh53, Lloh54 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "parsing %s/mac" .comm _XST_NIL,4,2 ; @XST_NIL l_.str.1: ; @.str.1 .asciz "multi-queue-max-queues" l_.str.2: ; @.str.2 .asciz "%lu" .comm _xn_num_queues,8,3 ; @xn_num_queues l_.str.3: ; @.str.3 .asciz "starting transaction" l_.str.4: ; @.str.4 .asciz "multi-queue-num-queues" l_.str.5: ; @.str.5 .asciz "%u" l_.str.6: ; @.str.6 .asciz "writing multi-queue-num-queues" l_.str.7: ; @.str.7 .asciz "request-rx-copy" l_.str.8: ; @.str.8 .asciz "writing request-rx-copy" l_.str.9: ; @.str.9 .asciz "feature-rx-notify" l_.str.10: ; @.str.10 .asciz "%d" l_.str.11: ; @.str.11 .asciz "writing feature-rx-notify" l_.str.12: ; @.str.12 .asciz "feature-sg" l_.str.13: ; @.str.13 .asciz "writing feature-sg" .comm _IFCAP_LRO,4,2 ; @IFCAP_LRO l_.str.14: ; @.str.14 .asciz "feature-gso-tcpv4" l_.str.15: ; @.str.15 .asciz "writing feature-gso-tcpv4" .comm _IFCAP_RXCSUM,4,2 ; @IFCAP_RXCSUM l_.str.16: ; @.str.16 .asciz "feature-no-csum-offload" l_.str.17: ; @.str.17 .asciz "writing feature-no-csum-offload" .comm _EAGAIN,4,2 ; @EAGAIN l_.str.18: ; @.str.18 .asciz "completing transaction" l_.str.19: ; @.str.19 .asciz "%s" .no_dead_strip _talk_to_backend .subsections_via_symbols
AnghaBench/freebsd/sys/dev/xen/netfront/extr_netfront.c_talk_to_backend.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bfa_ioc_cb_notify_fail _bfa_ioc_cb_notify_fail: ## @bfa_ioc_cb_notify_fail .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl (%rdi), %esi movl $-1, %edi callq _writel movl (%rbx), %edi addq $8, %rsp popq %rbx popq %rbp jmp _readl ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _bfa_ioc_cb_notify_fail .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bfa_ioc_cb_notify_fail _bfa_ioc_cb_notify_fail: ; @bfa_ioc_cb_notify_fail .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 w1, [x0] mov w0, #-1 bl _writel ldr w0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _readl .cfi_endproc ; -- End function .no_dead_strip _bfa_ioc_cb_notify_fail .subsections_via_symbols
AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc_cb.c_bfa_ioc_cb_notify_fail.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function zfs_ioc_recv _zfs_ioc_recv: ## @zfs_ioc_recv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq %rsp, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq $0, -56(%rbp) movq $0, -72(%rbp) movq $0, -64(%rbp) movq _ZFS_MAX_DATASET_NAME_LEN@GOTPCREL(%rip), %rax movl (%rax), %r15d movq %r15, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 movq (%rbx), %rdi xorl %esi, %esi xorl %edx, %edx callq _dataset_namecheck testq %rax, %rax je LBB0_2 ## %bb.1: movq (%rbx), %rdi movl $64, %esi callq _strchr testq %rax, %rax jne LBB0_3 LBB0_2: movq (%rbx), %rdi movl $37, %esi callq _strchr testq %rax, %rax je LBB0_4 LBB0_3: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %edi callq _SET_ERROR LBB0_15: movq %r12, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_17 ## %bb.16: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: movq (%rbx), %rsi movq %r14, %rdi movl %r15d, %edx callq _strlcpy movq %r14, %rdi movl $64, %esi callq _strchr movq %rax, %r15 movb $0, (%rax) movq 8(%rbx), %rdi testq %rdi, %rdi je LBB0_6 ## %bb.5: movl 60(%rbx), %edx movl 68(%rbx), %esi leaq -72(%rbp), %rcx callq _get_nvlist testl %eax, %eax jne LBB0_15 LBB0_6: movq 16(%rbx), %rdi testq %rdi, %rdi je LBB0_7 ## %bb.8: movl 60(%rbx), %edx movl 64(%rbx), %esi leaq -64(%rbp), %rcx callq _get_nvlist testl %eax, %eax jne LBB0_15 ## %bb.9: movq -64(%rbp), %r8 jmp LBB0_10 LBB0_7: xorl %r8d, %r8d LBB0_10: decq %r15 movq 24(%rbx), %rdx xorl %eax, %eax cmpb $0, (%rdx) cmoveq %rax, %rdx movq _DRR_BEGIN@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -104(%rbp) movq $0, -112(%rbp) movl 56(%rbx), %eax movl %eax, -120(%rbp) movq -72(%rbp), %rcx movl 52(%rbx), %eax movq %rax, -96(%rbp) ## 8-byte Spill movq _B_FALSE@GOTPCREL(%rip), %rsi movl (%rsi), %eax movq %rax, -88(%rbp) ## 8-byte Spill leaq 44(%rbx), %r11 movl 44(%rbx), %eax movq %rax, -80(%rbp) ## 8-byte Spill movl 48(%rbx), %eax leaq 40(%rbx), %r10 leaq 36(%rbx), %r13 subq $8, %rsp movq %r14, %rdi movq %r15, %rsi xorl %r9d, %r9d leaq -56(%rbp), %r14 pushq %r14 pushq %r13 pushq %r10 pushq %r11 pushq %rax leaq -120(%rbp), %rax pushq %rax pushq -80(%rbp) ## 8-byte Folded Reload pushq -88(%rbp) ## 8-byte Folded Reload pushq -96(%rbp) ## 8-byte Folded Reload callq _zfs_ioc_recv_impl addq $80, %rsp movl %eax, %r14d movq -72(%rbp), %rdi callq _nvlist_free movq -64(%rbp), %rdi callq _nvlist_free movl 32(%rbx), %esi testl %esi, %esi setne %al movq -56(%rbp), %rdi testq %rdi, %rdi setne %cl andb %al, %cl cmpb $1, %cl jne LBB0_14 ## %bb.11: callq _nvlist_smush testq %rax, %rax jne LBB0_13 ## %bb.12: movq -56(%rbp), %rsi movq %rbx, %rdi callq _put_nvlist testq %rax, %rax je LBB0_14 LBB0_13: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %edi callq _SET_ERROR movl %eax, %r14d LBB0_14: movq -56(%rbp), %rdi callq _nvlist_free movl %r14d, %eax jmp LBB0_15 LBB0_17: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _ZFS_MAX_DATASET_NAME_LEN,4,2 ## @ZFS_MAX_DATASET_NAME_LEN .comm _EINVAL,4,2 ## @EINVAL .comm _DRR_BEGIN,4,2 ## @DRR_BEGIN .comm _B_FALSE,4,2 ## @B_FALSE .no_dead_strip _zfs_ioc_recv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function zfs_ioc_recv _zfs_ioc_recv: ; @zfs_ioc_recv .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 sub sp, sp, #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 mov x22, sp Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] stp xzr, xzr, [x29, #-96] stur xzr, [x29, #-104] Lloh3: adrp x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGE Lloh4: ldr x8, [x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGEOFF] Lloh5: ldr w21, [x8] mov x9, x21 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x21, #15 and x9, x9, #0x1fffffff0 sub x20, x8, x9 mov sp, x20 ldr x0, [x0] mov x1, #0 ; =0x0 mov x2, #0 ; =0x0 bl _dataset_namecheck cbz x0, LBB0_2 ; %bb.1: ldr x0, [x19] mov w1, #64 ; =0x40 bl _strchr cbnz x0, LBB0_3 LBB0_2: ldr x0, [x19] mov w1, #37 ; =0x25 bl _strchr cbz x0, LBB0_6 LBB0_3: Lloh8: adrp x8, _EINVAL@GOTPAGE Lloh9: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh10: ldr w0, [x8] bl _SET_ERROR LBB0_4: mov sp, x22 ldur x8, [x29, #-56] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_18 ; %bb.5: sub sp, x29, #48 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_6: ldr x1, [x19] mov x0, x20 mov x2, x21 bl _strlcpy mov x0, x20 mov w1, #64 ; =0x40 bl _strchr mov x21, x0 strb wzr, [x21], #-1 ldr x0, [x19, #8] cbz x0, LBB0_8 ; %bb.7: ldr w1, [x19, #68] ldr w2, [x19, #60] sub x3, x29, #96 bl _get_nvlist cbnz w0, LBB0_4 LBB0_8: ldr x0, [x19, #16] cbz x0, LBB0_11 ; %bb.9: ldp w2, w1, [x19, #60] sub x3, x29, #104 bl _get_nvlist cbnz w0, LBB0_4 ; %bb.10: ldur x4, [x29, #-104] b LBB0_12 LBB0_11: mov x4, #0 ; =0x0 LBB0_12: mov x23, x19 ldr w8, [x23, #44]! ldur x9, [x23, #-20] ldrb w10, [x9] cmp w10, #0 csel x2, xzr, x9, eq Lloh14: adrp x9, _DRR_BEGIN@GOTPAGE Lloh15: ldr x9, [x9, _DRR_BEGIN@GOTPAGEOFF] Lloh16: ldr w9, [x9] stur w9, [x29, #-64] stur xzr, [x29, #-72] ldp w6, w9, [x23, #8] stur w9, [x29, #-80] Lloh17: adrp x9, _B_FALSE@GOTPAGE Lloh18: ldr x9, [x9, _B_FALSE@GOTPAGEOFF] ldur x3, [x29, #-96] Lloh19: ldr w7, [x9] ldr w9, [x23, #4] sub x10, x23, #4 sub x11, x23, #8 sub sp, sp, #64 sub x12, x29, #88 stp x11, x12, [sp, #40] stp x23, x10, [sp, #24] sub x10, x29, #80 str w9, [sp, #16] str x10, [sp, #8] str w8, [sp] mov x0, x20 mov x1, x21 mov x5, #0 ; =0x0 bl _zfs_ioc_recv_impl add sp, sp, #64 mov x20, x0 ldur x0, [x29, #-96] bl _nvlist_free ldur x0, [x29, #-104] bl _nvlist_free ldur w1, [x23, #-12] cbz w1, LBB0_17 ; %bb.13: ldur x0, [x29, #-88] cbz x0, LBB0_17 ; %bb.14: bl _nvlist_smush cbnz x0, LBB0_16 ; %bb.15: ldur x1, [x29, #-88] mov x0, x19 bl _put_nvlist cbz x0, LBB0_17 LBB0_16: Lloh20: adrp x8, _EINVAL@GOTPAGE Lloh21: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh22: ldr w0, [x8] bl _SET_ERROR mov x20, x0 LBB0_17: ldur x0, [x29, #-88] bl _nvlist_free mov x0, x20 b LBB0_4 LBB0_18: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _ZFS_MAX_DATASET_NAME_LEN,4,2 ; @ZFS_MAX_DATASET_NAME_LEN .comm _EINVAL,4,2 ; @EINVAL .comm _DRR_BEGIN,4,2 ; @DRR_BEGIN .comm _B_FALSE,4,2 ; @B_FALSE .no_dead_strip _zfs_ioc_recv .subsections_via_symbols
assembly_file_84172.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ufs_set_link ## -- Begin function ufs_set_link .p2align 4, 0x90 _ufs_set_link: ## @ufs_set_link .cfi_startproc ## %bb.0: 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, -56(%rbp) ## 8-byte Spill movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %r13 movq %rdx, -48(%rbp) movq %rdx, %rdi callq _page_offset ## kill: def $eax killed $eax def $rax leal (%rax,%r14), %r12d movq %r15, %rdi callq _page_address subl %eax, %r12d movl 12(%r13), %edi movl 4(%r14), %esi callq _fs16_to_cpu movl %eax, %ebx movq %r15, %rdi callq _lock_page movl (%r15), %esi movq _AOP_FLAG_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax movl (%rax), %r8d movq $0, (%rsp) leaq -48(%rbp), %r9 xorl %edi, %edi movl %r12d, %edx movl %ebx, %r15d movl %ebx, %ecx callq ___ufs_write_begin movl %eax, %edi callq _BUG_ON movl 12(%r13), %edi movq -56(%rbp), %rbx ## 8-byte Reload movl 16(%rbx), %esi callq _cpu_to_fs32 movl %eax, (%r14) movl 12(%r13), %edi movl 8(%rbx), %edx movq %r14, %rsi callq _ufs_set_de_type movq -48(%rbp), %rdi movl %r12d, %esi movl %r15d, %edx callq _ufs_commit_chunk movq -48(%rbp), %rdi callq _ufs_put_page movq _CURRENT_TIME_SEC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r13) movl %eax, 4(%r13) movq %r13, %rdi callq _mark_inode_dirty addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AOP_FLAG_UNINTERRUPTIBLE,4,2 ## @AOP_FLAG_UNINTERRUPTIBLE .comm _CURRENT_TIME_SEC,4,2 ## @CURRENT_TIME_SEC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ufs_set_link ; -- Begin function ufs_set_link .p2align 2 _ufs_set_link: ; @ufs_set_link .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x3 mov x22, x2 mov x20, x1 mov x19, x0 str x2, [sp, #8] mov x0, x2 bl _page_offset add w23, w20, w0 mov x0, x22 bl _page_address sub w23, w23, w0 ldr w0, [x19, #12] ldr w1, [x20, #4] bl _fs16_to_cpu mov x24, x0 mov x0, x22 bl _lock_page ldr w1, [x22] Lloh0: adrp x8, _AOP_FLAG_UNINTERRUPTIBLE@GOTPAGE Lloh1: ldr x8, [x8, _AOP_FLAG_UNINTERRUPTIBLE@GOTPAGEOFF] Lloh2: ldr w4, [x8] add x5, sp, #8 mov x0, #0 mov x2, x23 mov x3, x24 mov x6, #0 bl ___ufs_write_begin bl _BUG_ON ldr w0, [x19, #12] ldr w1, [x21, #16] bl _cpu_to_fs32 str w0, [x20] ldr w0, [x19, #12] ldr w2, [x21, #8] mov x1, x20 bl _ufs_set_de_type ldr x0, [sp, #8] mov x1, x23 mov x2, x24 bl _ufs_commit_chunk ldr x0, [sp, #8] bl _ufs_put_page Lloh3: adrp x8, _CURRENT_TIME_SEC@GOTPAGE Lloh4: ldr x8, [x8, _CURRENT_TIME_SEC@GOTPAGEOFF] Lloh5: ldr w8, [x8] stp w8, w8, [x19] mov x0, x19 bl _mark_inode_dirty 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 Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _AOP_FLAG_UNINTERRUPTIBLE,4,2 ; @AOP_FLAG_UNINTERRUPTIBLE .comm _CURRENT_TIME_SEC,4,2 ; @CURRENT_TIME_SEC .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/ufs/extr_dir.c_ufs_set_link.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function crypto4xx_put_sd_to_sdr _crypto4xx_put_sd_to_sdr: ## @crypto4xx_put_sd_to_sdr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 16(%rdi), %rdi callq _spin_lock_irqsave movq (%rbx), %rax cmpq 8(%rbx), %rax je LBB0_2 ## %bb.1: movq _PPC4XX_LAST_SD@GOTPCREL(%rip), %rcx xorl %edx, %edx cmpq (%rcx), %rax leaq 1(%rax), %rax cmovneq %rax, %rdx movq %rdx, (%rbx) LBB0_2: movq 16(%rbx), %rdi callq _spin_unlock_irqrestore xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _PPC4XX_LAST_SD,8,3 ## @PPC4XX_LAST_SD .no_dead_strip _crypto4xx_put_sd_to_sdr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function crypto4xx_put_sd_to_sdr _crypto4xx_put_sd_to_sdr: ; @crypto4xx_put_sd_to_sdr .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #16] bl _spin_lock_irqsave ldp x8, x9, [x19] cmp x8, x9 b.eq LBB0_2 ; %bb.1: Lloh0: adrp x9, _PPC4XX_LAST_SD@GOTPAGE Lloh1: ldr x9, [x9, _PPC4XX_LAST_SD@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 csinc x8, xzr, x8, eq str x8, [x19] LBB0_2: ldr x0, [x19, #16] bl _spin_unlock_irqrestore mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PPC4XX_LAST_SD,8,3 ; @PPC4XX_LAST_SD .no_dead_strip _crypto4xx_put_sd_to_sdr .subsections_via_symbols
AnghaBench/linux/drivers/crypto/amcc/extr_crypto4xx_core.c_crypto4xx_put_sd_to_sdr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function kqueue_fo_find _kqueue_fo_find: ## @kqueue_fo_find .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 testl %edi, %edi jle LBB0_2 LBB0_8: xorl %eax, %eax jmp LBB0_9 LBB0_2: movslq %edi, %rax movq _EVFILT_SYSCOUNT@GOTPCREL(%rip), %rcx addq (%rcx), %rax js LBB0_8 ## %bb.3: movq _sysfilt_ops@GOTPCREL(%rip), %r14 movq (%r14), %rax notl %edi movslq %edi, %rcx leaq (%rcx,%rcx,2), %rbx cmpq $0, 16(%rax,%rbx,8) jne LBB0_7 ## %bb.4: movq _filterops_lock@GOTPCREL(%rip), %rdi callq _mtx_lock movq (%r14), %rax incl 8(%rax,%rbx,8) cmpq $0, (%rax,%rbx,8) jne LBB0_6 ## %bb.5: leaq (%rax,%rbx,8), %rax movq _null_filtops@GOTPCREL(%rip), %rcx movq %rcx, (%rax) LBB0_6: movq _filterops_lock@GOTPCREL(%rip), %rdi callq _mtx_unlock movq (%r14), %rax LBB0_7: movq (%rax,%rbx,8), %rax LBB0_9: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _EVFILT_SYSCOUNT,8,3 ## @EVFILT_SYSCOUNT .comm _sysfilt_ops,8,3 ## @sysfilt_ops .comm _filterops_lock,4,2 ## @filterops_lock .comm _null_filtops,4,2 ## @null_filtops .no_dead_strip _kqueue_fo_find .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function kqueue_fo_find _kqueue_fo_find: ; @kqueue_fo_find .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 cmp w0, #0 b.le LBB0_2 LBB0_1: mov x0, #0 b LBB0_8 LBB0_2: Lloh0: adrp x8, _EVFILT_SYSCOUNT@GOTPAGE Lloh1: ldr x8, [x8, _EVFILT_SYSCOUNT@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmn x8, w0, sxtw b.mi LBB0_1 ; %bb.3: Lloh3: adrp x20, _sysfilt_ops@GOTPAGE Lloh4: ldr x20, [x20, _sysfilt_ops@GOTPAGEOFF] ldr x8, [x20] mvn w9, w0 sxtw x19, w9 mov w10, #24 smaddl x9, w9, w10, x8 ldr x9, [x9, #16] cbnz x9, LBB0_7 ; %bb.4: Lloh5: adrp x0, _filterops_lock@GOTPAGE Lloh6: ldr x0, [x0, _filterops_lock@GOTPAGEOFF] bl _mtx_lock ldr x8, [x20] mov w9, #24 madd x8, x19, x9, x8 ldr w9, [x8, #8] add w9, w9, #1 str w9, [x8, #8] ldr x9, [x8] cbnz x9, LBB0_6 ; %bb.5: Lloh7: adrp x9, _null_filtops@GOTPAGE Lloh8: ldr x9, [x9, _null_filtops@GOTPAGEOFF] str x9, [x8] LBB0_6: Lloh9: adrp x0, _filterops_lock@GOTPAGE Lloh10: ldr x0, [x0, _filterops_lock@GOTPAGEOFF] bl _mtx_unlock ldr x8, [x20] LBB0_7: mov w9, #24 mul x9, x19, x9 ldr x0, [x8, x9] LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _EVFILT_SYSCOUNT,8,3 ; @EVFILT_SYSCOUNT .comm _sysfilt_ops,8,3 ; @sysfilt_ops .comm _filterops_lock,4,2 ; @filterops_lock .comm _null_filtops,4,2 ; @null_filtops .no_dead_strip _kqueue_fo_find .subsections_via_symbols
AnghaBench/freebsd/sys/kern/extr_kern_event.c_kqueue_fo_find.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function prev_slot _prev_slot: ## @prev_slot .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx testl %esi, %esi js LBB0_1 ## %bb.2: movq %rdi, %r14 xorl %edi, %edi cmpl %ebx, (%r14) setle %dil callq _B43_WARN_ON testl %ebx, %ebx jne LBB0_4 ## %bb.3: movl (%r14), %ebx jmp LBB0_4 LBB0_1: movl $1, %edi callq _B43_WARN_ON LBB0_4: decl %ebx movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _prev_slot .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function prev_slot _prev_slot: ; @prev_slot .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 tbnz w1, #31, LBB0_3 ; %bb.1: mov x20, x0 ldr w8, [x0] cmp w8, w19 cset w0, le bl _B43_WARN_ON cbnz w19, LBB0_4 ; %bb.2: ldr w19, [x20] b LBB0_4 LBB0_3: mov w0, #1 bl _B43_WARN_ON LBB0_4: sub w0, w19, #1 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 _prev_slot .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_dma.c_prev_slot.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i2o_block_device_free _i2o_block_device_free: ## @i2o_block_device_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq (%rdi), %rax movl (%rax), %edi callq _blk_cleanup_queue movq (%rbx), %rdi callq _put_disk movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _kfree ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _i2o_block_device_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i2o_block_device_free _i2o_block_device_free: ; @i2o_block_device_free .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0] ldr w0, [x8] bl _blk_cleanup_queue ldr x0, [x19] bl _put_disk mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _kfree .cfi_endproc ; -- End function .no_dead_strip _i2o_block_device_free .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/message/i2o/extr_i2o_block.c_i2o_block_device_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function set_fan_speed _set_fan_speed: ## @set_fan_speed .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 cmpl %esi, (%rdi) je LBB0_2 ## %bb.1: movq %rdi, %rbx movq 8(%rdi), %rax movslq %esi, %r14 movl (%rax,%r14,4), %esi callq ___set_fan_ctrl movl %r14d, (%rbx) LBB0_2: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _set_fan_speed .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function set_fan_speed _set_fan_speed: ; @set_fan_speed .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 w8, [x0] cmp w8, w1 b.eq LBB0_2 ; %bb.1: mov x19, x1 mov x20, x0 ldr x8, [x0, #8] ldr w1, [x8, w1, sxtw #2] bl ___set_fan_ctrl str w19, [x20] 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 _set_fan_speed .subsections_via_symbols
AnghaBench/linux/drivers/hwmon/extr_gpio-fan.c_set_fan_speed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function WipeOut _WipeOut: ## @WipeOut .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r12 cmpq %rcx, %r8 jbe LBB0_8 ## %bb.1: movb $0, -1(%r12) decq %r12 testl %r9d, %r9d je LBB0_8 ## %bb.2: movq %rcx, %r13 movq %rdi, %rbx movl (%rdi), %r14d movl 4(%rdi), %r15d movl %esi, -44(%rbp) ## 4-byte Spill movl %edx, -48(%rbp) ## 4-byte Spill callq _wmove movq %rbx, %rdi movq %r13, %rsi callq _waddstr movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload movl -48(%rbp), %edx ## 4-byte Reload movl %edx, %r13d callq _getyx jmp LBB0_3 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, %rdi movl $32, %esi callq _waddch LBB0_3: ## =>This Inner Loop Header: Depth=1 cmpl %r14d, (%rbx) jl LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 cmpl %r15d, 4(%rbx) jl LBB0_6 LBB0_7: movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload movl %r13d, %edx callq _wmove LBB0_8: movq %r12, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _WipeOut .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function WipeOut _WipeOut: ; @WipeOut .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, x4 cmp x4, x3 b.ls LBB0_8 ; %bb.1: strb wzr, [x19, #-1]! cbz w5, LBB0_8 ; %bb.2: mov x23, x3 mov x20, x2 mov x21, x1 mov x22, x0 ldp w24, w25, [x0] bl _wmove mov x0, x22 mov x1, x23 bl _waddstr mov x0, x22 mov x1, x21 mov x2, x20 bl _getyx b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 mov x0, x22 mov w1, #32 bl _waddch LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w8, [x22] cmp w8, w24 b.lt LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 b.ne LBB0_7 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x22, #4] cmp w8, w25 b.lt LBB0_3 LBB0_7: mov x0, x22 mov x1, x21 mov x2, x20 bl _wmove LBB0_8: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _WipeOut .subsections_via_symbols
AnghaBench/freebsd/contrib/ncurses/ncurses/base/extr_lib_getstr.c_WipeOut.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi movl $100, %esi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi movl $100, %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 "%6d\n" L_.str.1: ## @.str.1 .asciz "%-6d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov w19, #100 str x19, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf str x19, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload 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 "%6d\n" l_.str.1: ; @.str.1 .asciz "%-6d\n" .subsections_via_symbols
the_stack_data/925016.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _madera_lp_mode_put ## -- Begin function madera_lp_mode_put .p2align 4, 0x90 _madera_lp_mode_put: ## @madera_lp_mode_put .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, -56(%rbp) ## 8-byte Spill movq %rdi, %r12 movq (%rdi), %r14 callq _snd_soc_kcontrol_component movq %rax, %r13 movq %rax, %rdi callq _snd_soc_component_get_dapm movq %rax, %r15 movq %rax, %rdi callq _snd_soc_dapm_mutex_lock movq _MADERA_INPUT_ENABLES@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -44(%rbp), %rdx movq %r13, %rdi callq _snd_soc_component_read movl %eax, %ebx testl %eax, %eax jne LBB0_4 ## %bb.1: movq -56(%rbp), %rsi ## 8-byte Reload movl (%r14), %eax movq _MADERA_ADC_DIGITAL_VOLUME_1L@GOTPCREL(%rip), %rcx subl (%rcx), %eax leal 3(%rax), %ecx testl %eax, %eax cmovnsl %eax, %ecx movl -44(%rbp), %eax shrb $2, %cl xorb $1, %cl movzbl %cl, %ecx btl %ecx, %eax jae LBB0_3 ## %bb.2: movq _EBUSY@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx movl (%r13), %edi leaq L_.str(%rip), %rsi callq _dev_err jmp LBB0_4 LBB0_3: movq %r12, %rdi callq _snd_soc_put_volsw movl %eax, %ebx LBB0_4: movq %r15, %rdi callq _snd_soc_dapm_mutex_unlock movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MADERA_INPUT_ENABLES,4,2 ## @MADERA_INPUT_ENABLES .comm _MADERA_ADC_DIGITAL_VOLUME_1L,4,2 ## @MADERA_ADC_DIGITAL_VOLUME_1L .comm _EBUSY,4,2 ## @EBUSY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Can't change lp mode on an active input\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _madera_lp_mode_put ; -- Begin function madera_lp_mode_put .p2align 2 _madera_lp_mode_put: ; @madera_lp_mode_put .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, x1 mov x21, x0 ldr x24, [x0] bl _snd_soc_kcontrol_component mov x22, x0 bl _snd_soc_component_get_dapm mov x19, x0 bl _snd_soc_dapm_mutex_lock Lloh0: adrp x8, _MADERA_INPUT_ENABLES@GOTPAGE Lloh1: ldr x8, [x8, _MADERA_INPUT_ENABLES@GOTPAGEOFF] Lloh2: ldr w1, [x8] add x2, sp, #12 mov x0, x22 bl _snd_soc_component_read mov x23, x0 cbnz w0, LBB0_4 ; %bb.1: ldr w8, [x24] Lloh3: adrp x9, _MADERA_ADC_DIGITAL_VOLUME_1L@GOTPAGE Lloh4: ldr x9, [x9, _MADERA_ADC_DIGITAL_VOLUME_1L@GOTPAGEOFF] Lloh5: ldr w9, [x9] sub w8, w8, w9 add w9, w8, #3 cmp w8, #0 csel w8, w9, w8, lt asr w8, w8, #2 eor w8, w8, #0x1 ldr w9, [sp, #12] lsr w8, w9, w8 tbz w8, #0, LBB0_3 ; %bb.2: Lloh6: adrp x8, _EBUSY@GOTPAGE Lloh7: ldr x8, [x8, _EBUSY@GOTPAGEOFF] Lloh8: ldr w8, [x8] neg w23, w8 ldr w0, [x22] Lloh9: adrp x1, l_.str@PAGE Lloh10: add x1, x1, l_.str@PAGEOFF bl _dev_err b LBB0_4 LBB0_3: mov x0, x21 mov x1, x20 bl _snd_soc_put_volsw mov x23, x0 LBB0_4: mov x0, x19 bl _snd_soc_dapm_mutex_unlock mov x0, x23 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 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _MADERA_INPUT_ENABLES,4,2 ; @MADERA_INPUT_ENABLES .comm _MADERA_ADC_DIGITAL_VOLUME_1L,4,2 ; @MADERA_ADC_DIGITAL_VOLUME_1L .comm _EBUSY,4,2 ; @EBUSY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Can't change lp mode on an active input\n" .subsections_via_symbols
AnghaBench/linux/sound/soc/codecs/extr_madera.c_madera_lp_mode_put.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function fkParentIsModified _fkParentIsModified: ## @fkParentIsModified .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %ebx movl (%rsi), %ecx testl %ecx, %ecx js LBB0_14 ## %bb.1: movq %rdx, %r14 movq %rdi, %r12 movl (%rdi), %eax xorl %edi, %edi movq %rsi, -48(%rbp) ## 8-byte Spill jmp LBB0_4 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_4 Depth=1 movq -48(%rbp), %rsi ## 8-byte Reload movl (%rsi), %ecx movq -56(%rbp), %rdi ## 8-byte Reload LBB0_3: ## in Loop: Header=BB0_4 Depth=1 decq %rdi movslq %ecx, %rdx cmpq %rdx, %rdi jg LBB0_14 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 testl %eax, %eax jle LBB0_3 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq 8(%rsi), %rcx movq %rdi, -56(%rbp) ## 8-byte Spill movq (%rcx,%rdi,8), %r13 xorl %r15d, %r15d jmp LBB0_8 LBB0_6: ## in Loop: Header=BB0_8 Depth=2 movq _COLFLAG_PRIMKEY@GOTPCREL(%rip), %rdx movl (%rdx), %edx orl (%rcx,%r15,8), %edx jne LBB0_16 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_8 Depth=2 incq %r15 movslq %eax, %rcx cmpq %rcx, %r15 jge LBB0_2 LBB0_8: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $0, (%r14,%r15,4) js LBB0_7 ## %bb.9: ## in Loop: Header=BB0_8 Depth=2 testl %ebx, %ebx je LBB0_7 ## %bb.10: ## in Loop: Header=BB0_8 Depth=2 movl 4(%r12), %ecx cmpq %rcx, %r15 jne LBB0_7 ## %bb.11: ## in Loop: Header=BB0_8 Depth=2 movq 8(%r12), %rcx testq %r13, %r13 je LBB0_6 ## %bb.12: ## in Loop: Header=BB0_8 Depth=2 movl 4(%rcx,%r15,8), %edi movq %r13, %rsi callq _sqlite3StrICmp testq %rax, %rax je LBB0_16 ## %bb.13: ## in Loop: Header=BB0_8 Depth=2 movl (%r12), %eax jmp LBB0_7 LBB0_16: movl $1, %eax jmp LBB0_17 LBB0_14: xorl %eax, %eax LBB0_17: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _COLFLAG_PRIMKEY,4,2 ## @COLFLAG_PRIMKEY .no_dead_strip _fkParentIsModified .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function fkParentIsModified _fkParentIsModified: ; @fkParentIsModified .cfi_startproc ; %bb.0: ldr w9, [x1] tbnz w9, #31, LBB0_16 ; %bb.1: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 mov x24, #0 ; =0x0 ldr w8, [x0] Lloh0: adrp x25, _COLFLAG_PRIMKEY@GOTPAGE Lloh1: ldr x25, [x25, _COLFLAG_PRIMKEY@GOTPAGEOFF] b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr w9, [x21] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 sub x24, x24, #1 cmp x24, w9, sxtw b.gt LBB0_17 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 cmp w8, #1 b.lt LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x26, #0 ; =0x0 mov x27, #0 ; =0x0 ldr x9, [x21, #8] ldr x23, [x9, x24, lsl #3] b LBB0_8 LBB0_6: ; in Loop: Header=BB0_8 Depth=2 ldr w9, [x9, x26] ldr w10, [x25] orr w9, w10, w9 cbnz w9, LBB0_14 LBB0_7: ; in Loop: Header=BB0_8 Depth=2 add x27, x27, #1 add x26, x26, #8 cmp x27, w8, sxtw b.ge LBB0_2 LBB0_8: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w9, [x20, x27, lsl #2] tbnz w9, #31, LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 cbz w19, LBB0_7 ; %bb.10: ; in Loop: Header=BB0_8 Depth=2 ldr w9, [x22, #4] cmp x27, x9 b.ne LBB0_7 ; %bb.11: ; in Loop: Header=BB0_8 Depth=2 ldr x9, [x22, #8] cbz x23, LBB0_6 ; %bb.12: ; in Loop: Header=BB0_8 Depth=2 add x8, x9, x26 ldr w0, [x8, #4] mov x1, x23 bl _sqlite3StrICmp cbz x0, LBB0_14 ; %bb.13: ; in Loop: Header=BB0_8 Depth=2 ldr w8, [x22] b LBB0_7 LBB0_14: mov w0, #1 ; =0x1 LBB0_15: 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_16: mov w0, #0 ; =0x0 ret LBB0_17: mov w0, #0 ; =0x0 b LBB0_15 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _COLFLAG_PRIMKEY,4,2 ; @COLFLAG_PRIMKEY .no_dead_strip _fkParentIsModified .subsections_via_symbols
assembly_file_95908.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smsc_crc _smsc_crc: ## @smsc_crc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edx, %ebx movq %rsi, %rdx movq %rdi, %rsi movl $65535, %edi ## imm = 0xFFFF callq _crc16 movl %eax, %edi callq _bitrev16 movl %ebx, %ecx shrl $31, %ecx addl %ebx, %ecx andl $14, %ecx subl %ecx, %ebx shll $4, %ebx movl %ebx, %ecx shll %cl, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _smsc_crc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function smsc_crc _smsc_crc: ; @smsc_crc .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 x2, x1 mov x1, x0 mov w0, #65535 bl _crc16 bl _bitrev16 and w8, w19, #0x1 cmp w19, #0 cneg w8, w8, lt lsl w8, w8, #4 lsl w0, w0, w8 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 _smsc_crc .subsections_via_symbols
AnghaBench/linux/drivers/net/usb/extr_smsc95xx.c_smsc_crc.c
anghabench