x86
stringlengths
122
9.39M
arm
stringlengths
122
9.33M
file
stringlengths
19
200
source
stringclasses
2 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fill_array ## -- Begin function fill_array .p2align 4, 0x90 _fill_array: ## @fill_array .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %edi, %edi jle LBB0_6 ## %bb.1: movl %edi, %edi decq %rdi movq %rdi, %rdx shrq %rdx incq %rdx movl %edx, %eax andl $7, %eax movabsq $4631107791820423168, %rcx ## imm = 0x4045000000000000 cmpq $14, %rdi jae LBB0_7 ## %bb.2: xorl %edi, %edi jmp LBB0_3 LBB0_7: andq $-8, %rdx xorl %edi, %edi .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq %rcx, (%rsi,%rdi,8) movq %rcx, 16(%rsi,%rdi,8) movq %rcx, 32(%rsi,%rdi,8) movq %rcx, 48(%rsi,%rdi,8) movq %rcx, 64(%rsi,%rdi,8) movq %rcx, 80(%rsi,%rdi,8) movq %rcx, 96(%rsi,%rdi,8) movq %rcx, 112(%rsi,%rdi,8) addq $16, %rdi addq $-8, %rdx jne LBB0_8 LBB0_3: testq %rax, %rax je LBB0_6 ## %bb.4: leaq (%rsi,%rdi,8), %rdx shlq $4, %rax xorl %esi, %esi .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq %rcx, (%rdx,%rsi) addq $16, %rsi cmpq %rsi, %rax jne LBB0_5 LBB0_6: 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 _fill_array ; -- Begin function fill_array .p2align 2 _fill_array: ; @fill_array .cfi_startproc ; %bb.0: cmp w0, #1 b.lt LBB0_8 ; %bb.1: mov w8, w0 sub x9, x8, #1 cmp x9, #6 b.hs LBB0_3 ; %bb.2: mov x9, #0 b LBB0_6 LBB0_3: lsr x9, x9, #1 add x10, x9, #1 and x11, x10, #0xfffffffffffffffc lsl x9, x11, #1 add x12, x1, #32 mov x13, #4631107791820423168 mov x14, x11 LBB0_4: ; =>This Inner Loop Header: Depth=1 stur x13, [x12, #-32] stur x13, [x12, #-16] str x13, [x12] str x13, [x12, #16] add x12, x12, #64 subs x14, x14, #4 b.ne LBB0_4 ; %bb.5: cmp x10, x11 b.eq LBB0_8 LBB0_6: mov x10, #4631107791820423168 LBB0_7: ; =>This Inner Loop Header: Depth=1 str x10, [x1, x9, lsl #3] add x9, x9, #2 cmp x9, x8 b.lo LBB0_7 LBB0_8: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/184519544.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: cmpl $2, %edi jl LBB0_9 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movl %edi, %r15d movl $1, %r12d jmp LBB0_2 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movl $32, %edi callq _putchar incq %r12 cmpq %r15, %r12 je LBB0_8 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 movq (%r14,%r12,8), %rbx jmp LBB0_3 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=2 leal -65(%rdi), %eax leal 32(%rdi), %ecx cmpb $26, %al cmovael %edi, %ecx movl %ecx, %edi LBB0_6: ## in Loop: Header=BB0_3 Depth=2 ## kill: def $edi killed $edi killed $rdi callq _putchar cmpb $0, (%rbx) leaq 1(%rbx), %rbx je LBB0_7 LBB0_3: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl (%rbx), %edi leal -97(%rdi), %eax cmpb $25, %al ja LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 addl $-32, %edi jmp LBB0_6 LBB0_8: movl $10, %edi callq _putchar popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp LBB0_9: xorl %eax, %eax retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: cmp w0, #2 b.lt LBB0_6 ; %bb.1: 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 w20, w0 mov w21, #1 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ldr x22, [x19, x21, lsl #3] LBB0_3: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w8, [x22] sub w9, w8, #97 sub w10, w8, #65 add w11, w8, #32 cmp w10, #26 csel w10, w11, w8, lo sub w8, w8, #32 cmp w9, #25 csel w0, w10, w8, hi bl _putchar ldrb w8, [x22], #1 cbnz w8, LBB0_3 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 mov w0, #32 bl _putchar add x21, x21, #1 cmp x21, x20 b.ne LBB0_2 ; %bb.5: mov w0, #10 bl _putchar 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 LBB0_6: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 .cfi_same_value w21 .cfi_same_value w22 mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/210015.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sysfs_link_sibling ## -- Begin function sysfs_link_sibling .p2align 4, 0x90 _sysfs_link_sibling: ## @sysfs_link_sibling .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _linked(%rip), %rsi testq %rsi, %rsi je LBB0_2 ## %bb.1: callq _strcmp xorl %ecx, %ecx testl %eax, %eax setne %cl leal (%rcx,%rcx,4), %eax addl $-17, %eax popq %rbp retq LBB0_2: movq %rdi, _linked(%rip) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _sysfs_unlink_sibling ## -- Begin function sysfs_unlink_sibling .p2align 4, 0x90 _sysfs_unlink_sibling: ## @sysfs_unlink_sibling .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _linked(%rip), %rsi testq %rsi, %rsi je LBB1_3 ## %bb.1: callq _strcmp testl %eax, %eax je LBB1_2 LBB1_3: popq %rbp retq LBB1_2: movq $0, _linked(%rip) popq %rbp retq .cfi_endproc ## -- End function .globl _sysfs_create_dir ## -- Begin function sysfs_create_dir .p2align 4, 0x90 _sysfs_create_dir: ## @sysfs_create_dir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _linked(%rip), %rsi testq %rsi, %rsi je LBB2_2 ## %bb.1: callq _strcmp xorl %ecx, %ecx testl %eax, %eax setne %cl leal (%rcx,%rcx,4), %eax addl $-17, %eax popq %rbp retq LBB2_2: movq %rdi, _linked(%rip) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _kobject_add ## -- Begin function kobject_add .p2align 4, 0x90 _kobject_add: ## @kobject_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _linked(%rip), %rsi testq %rsi, %rsi je LBB3_2 ## %bb.1: callq _strcmp xorl %ecx, %ecx testl %eax, %eax setne %cl leal (%rcx,%rcx,4), %eax addl $-17, %eax popq %rbp retq LBB3_2: movq %rdi, _linked(%rip) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _kobject_create_and_add ## -- Begin function kobject_create_and_add .p2align 4, 0x90 _kobject_create_and_add: ## @kobject_create_and_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl $4, %edi callq _malloc testq %rax, %rax je LBB4_4 ## %bb.1: cmpq $0, _linked(%rip) je LBB4_2 ## %bb.3: movq %rax, %rdi callq _free LBB4_4: xorl %eax, %eax jmp LBB4_5 LBB4_2: movq %rbx, _linked(%rip) LBB4_5: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _class_compat_register ## -- Begin function class_compat_register .p2align 4, 0x90 _class_compat_register: ## @class_compat_register .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl $4, %edi callq _malloc testq %rax, %rax je LBB5_4 ## %bb.1: cmpq $0, _linked(%rip) je LBB5_2 ## %bb.3: movq %rax, %rdi callq _free LBB5_4: xorl %eax, %eax jmp LBB5_5 LBB5_2: movq %rbx, _linked(%rip) LBB5_5: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _class_compat_unregister ## -- Begin function class_compat_unregister .p2align 4, 0x90 _class_compat_unregister: ## @class_compat_unregister .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .globl _create_extcon_class ## -- Begin function create_extcon_class .p2align 4, 0x90 _create_extcon_class: ## @create_extcon_class .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 $4, %edi callq _malloc xorl %ebx, %ebx testq %rax, %rax je LBB7_4 ## %bb.1: cmpq $0, _linked(%rip) je LBB7_2 ## %bb.3: movq %rax, %rdi callq _free LBB7_4: xorl %eax, %eax jmp LBB7_5 LBB7_2: leaq L_.str(%rip), %rcx movq %rcx, _linked(%rip) LBB7_5: movq %rax, _switch_class(%rip) testq %rax, %rax movl $-12, %eax cmovel %eax, %ebx movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _extcon_class_init ## -- Begin function extcon_class_init .p2align 4, 0x90 _extcon_class_init: ## @extcon_class_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl $4, %edi callq _malloc xorl %ebx, %ebx testq %rax, %rax je LBB8_4 ## %bb.1: cmpq $0, _linked(%rip) je LBB8_2 ## %bb.3: movq %rax, %rdi callq _free LBB8_4: xorl %eax, %eax jmp LBB8_5 LBB8_2: leaq L_.str(%rip), %rcx movq %rcx, _linked(%rip) LBB8_5: movq %rax, _switch_class(%rip) testq %rax, %rax movl $-12, %eax cmovel %eax, %ebx movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _extcon_class_exit ## -- Begin function extcon_class_exit .p2align 4, 0x90 _extcon_class_exit: ## @extcon_class_exit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _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 cmpq $0, _linked(%rip) jne LBB10_2 ## %bb.1: leaq L_.str(%rip), %rax movq %rax, _linked(%rip) LBB10_2: movl $4, %edi callq _malloc testq %rax, %rax je LBB10_6 ## %bb.3: cmpq $0, _linked(%rip) je LBB10_4 ## %bb.5: movq %rax, %rdi callq _free LBB10_6: xorl %eax, %eax jmp LBB10_7 LBB10_4: leaq L_.str(%rip), %rcx movq %rcx, _linked(%rip) LBB10_7: movq %rax, _switch_class(%rip) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_linked,8,3 ## @linked .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "switch" .zerofill __DATA,__bss,_switch_class,8,3 ## @switch_class .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sysfs_link_sibling ; -- Begin function sysfs_link_sibling .p2align 2 _sysfs_link_sibling: ; @sysfs_link_sibling .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x8, x0 adrp x9, _linked@PAGE ldr x1, [x9, _linked@PAGEOFF] cbz x1, LBB0_2 ; %bb.1: mov x0, x8 bl _strcmp mov w8, #-12 mov w9, #-17 cmp w0, #0 csel w0, w9, w8, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: mov w0, #0 str x8, [x9, _linked@PAGEOFF] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _sysfs_unlink_sibling ; -- Begin function sysfs_unlink_sibling .p2align 2 _sysfs_unlink_sibling: ; @sysfs_unlink_sibling .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 adrp x19, _linked@PAGE ldr x1, [x19, _linked@PAGEOFF] cbz x1, LBB1_3 ; %bb.1: bl _strcmp cbnz w0, LBB1_3 ; %bb.2: str xzr, [x19, _linked@PAGEOFF] LBB1_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _sysfs_create_dir ; -- Begin function sysfs_create_dir .p2align 2 _sysfs_create_dir: ; @sysfs_create_dir .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x8, x0 adrp x9, _linked@PAGE ldr x1, [x9, _linked@PAGEOFF] cbz x1, LBB2_2 ; %bb.1: mov x0, x8 bl _strcmp mov w8, #-12 mov w9, #-17 cmp w0, #0 csel w0, w9, w8, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB2_2: mov w0, #0 str x8, [x9, _linked@PAGEOFF] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _kobject_add ; -- Begin function kobject_add .p2align 2 _kobject_add: ; @kobject_add .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x8, x0 adrp x9, _linked@PAGE ldr x1, [x9, _linked@PAGEOFF] cbz x1, LBB3_2 ; %bb.1: mov x0, x8 bl _strcmp mov w8, #-12 mov w9, #-17 cmp w0, #0 csel w0, w9, w8, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB3_2: mov w0, #0 str x8, [x9, _linked@PAGEOFF] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _kobject_create_and_add ; -- Begin function kobject_create_and_add .p2align 2 _kobject_create_and_add: ; @kobject_create_and_add .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w0, #4 bl _malloc cbz x0, LBB4_4 ; %bb.1: adrp x8, _linked@PAGE ldr x9, [x8, _linked@PAGEOFF] cbz x9, LBB4_3 ; %bb.2: bl _free mov x0, #0 b LBB4_4 LBB4_3: str x19, [x8, _linked@PAGEOFF] LBB4_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _class_compat_register ; -- Begin function class_compat_register .p2align 2 _class_compat_register: ; @class_compat_register .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w0, #4 bl _malloc cbz x0, LBB5_4 ; %bb.1: adrp x8, _linked@PAGE ldr x9, [x8, _linked@PAGEOFF] cbz x9, LBB5_3 ; %bb.2: bl _free mov x0, #0 b LBB5_4 LBB5_3: str x19, [x8, _linked@PAGEOFF] LBB5_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _class_compat_unregister ; -- Begin function class_compat_unregister .p2align 2 _class_compat_unregister: ; @class_compat_unregister .cfi_startproc ; %bb.0: b _free .cfi_endproc ; -- End function .globl _create_extcon_class ; -- Begin function create_extcon_class .p2align 2 _create_extcon_class: ; @create_extcon_class .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #4 bl _malloc cbz x0, LBB7_4 ; %bb.1: adrp x8, _linked@PAGE ldr x9, [x8, _linked@PAGEOFF] cbz x9, LBB7_3 ; %bb.2: bl _free mov x0, #0 b LBB7_4 LBB7_3: Lloh0: adrp x9, l_.str@PAGE Lloh1: add x9, x9, l_.str@PAGEOFF str x9, [x8, _linked@PAGEOFF] LBB7_4: adrp x8, _switch_class@PAGE str x0, [x8, _switch_class@PAGEOFF] cmp x0, #0 mov w8, #-12 csel w0, w8, wzr, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _extcon_class_init ; -- Begin function extcon_class_init .p2align 2 _extcon_class_init: ; @extcon_class_init .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #4 bl _malloc cbz x0, LBB8_4 ; %bb.1: adrp x8, _linked@PAGE ldr x9, [x8, _linked@PAGEOFF] cbz x9, LBB8_3 ; %bb.2: bl _free mov x0, #0 b LBB8_4 LBB8_3: Lloh2: adrp x9, l_.str@PAGE Lloh3: add x9, x9, l_.str@PAGEOFF str x9, [x8, _linked@PAGEOFF] LBB8_4: adrp x8, _switch_class@PAGE str x0, [x8, _switch_class@PAGEOFF] cmp x0, #0 mov w8, #-12 csel w0, w8, wzr, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .globl _extcon_class_exit ; -- Begin function extcon_class_exit .p2align 2 _extcon_class_exit: ; @extcon_class_exit .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 adrp x19, _linked@PAGE ldr x8, [x19, _linked@PAGEOFF] cbnz x8, LBB10_2 ; %bb.1: Lloh4: adrp x8, l_.str@PAGE Lloh5: add x8, x8, l_.str@PAGEOFF str x8, [x19, _linked@PAGEOFF] LBB10_2: mov w0, #4 bl _malloc cbz x0, LBB10_6 ; %bb.3: ldr x8, [x19, _linked@PAGEOFF] cbz x8, LBB10_5 ; %bb.4: bl _free mov x0, #0 b LBB10_6 LBB10_5: Lloh6: adrp x8, l_.str@PAGE Lloh7: add x8, x8, l_.str@PAGEOFF str x8, [x19, _linked@PAGEOFF] LBB10_6: adrp x8, _switch_class@PAGE str x0, [x8, _switch_class@PAGEOFF] mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_linked,8,3 ; @linked .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "switch" .zerofill __DATA,__bss,_switch_class,8,3 ; @switch_class .subsections_via_symbols
the_stack_data/1110160.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function kingdisplay_panel_remove _kingdisplay_panel_remove: ## @kingdisplay_panel_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx callq _mipi_dsi_get_drvdata movq %rax, %r14 movq %rax, %rdi callq _kingdisplay_panel_unprepare testl %eax, %eax jns LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi movq %rbx, %rdi movl %eax, %edx callq _DRM_DEV_ERROR LBB0_2: movq %r14, %rdi callq _kingdisplay_panel_disable testl %eax, %eax jns LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi movl %eax, %edx callq _DRM_DEV_ERROR LBB0_4: movq %rbx, %rdi callq _mipi_dsi_detach testl %eax, %eax jns LBB0_6 ## %bb.5: leaq L_.str.2(%rip), %rsi movq %rbx, %rdi movl %eax, %edx callq _DRM_DEV_ERROR LBB0_6: movq %r14, %rdi callq _kingdisplay_panel_del xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "failed to unprepare panel: %d\n" L_.str.1: ## @.str.1 .asciz "failed to disable panel: %d\n" L_.str.2: ## @.str.2 .asciz "failed to detach from DSI host: %d\n" .no_dead_strip _kingdisplay_panel_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function kingdisplay_panel_remove _kingdisplay_panel_remove: ; @kingdisplay_panel_remove .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 bl _mipi_dsi_get_drvdata mov x19, x0 bl _kingdisplay_panel_unprepare tbz w0, #31, LBB0_2 ; %bb.1: mov x2, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _DRM_DEV_ERROR LBB0_2: mov x0, x19 bl _kingdisplay_panel_disable tbz w0, #31, LBB0_4 ; %bb.3: mov x2, x0 Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _DRM_DEV_ERROR LBB0_4: mov x0, x20 bl _mipi_dsi_detach tbz w0, #31, LBB0_6 ; %bb.5: mov x2, x0 Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 bl _DRM_DEV_ERROR LBB0_6: mov x0, x19 bl _kingdisplay_panel_del mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "failed to unprepare panel: %d\n" l_.str.1: ; @.str.1 .asciz "failed to disable panel: %d\n" l_.str.2: ; @.str.2 .asciz "failed to detach from DSI host: %d\n" .no_dead_strip _kingdisplay_panel_remove .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-kingdisplay-kd097d04.c_kingdisplay_panel_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function target_stat_auth_indx_show _target_stat_auth_indx_show: ## @target_stat_auth_indx_show .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 callq _auth_to_lacl movq %rax, %rbx movq 8(%rax), %r12 xorl %r15d, %r15d xorl %eax, %eax callq _rcu_read_lock movl (%rbx), %esi movq %r12, %rdi callq _target_nacl_find_deve testq %rax, %rax je LBB0_1 ## %bb.3: movq _PAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movl (%r12), %ecx leaq L_.str(%rip), %rdx movq %r14, %rdi callq _snprintf movl %eax, %ebx xorl %eax, %eax callq _rcu_read_unlock movl %ebx, %eax jmp LBB0_2 LBB0_1: xorl %eax, %eax callq _rcu_read_unlock movq _ENODEV@GOTPCREL(%rip), %rax subl (%rax), %r15d movl %r15d, %eax LBB0_2: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENODEV,4,2 ## @ENODEV .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%u\n" .no_dead_strip _target_stat_auth_indx_show .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function target_stat_auth_indx_show _target_stat_auth_indx_show: ; @target_stat_auth_indx_show .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 _auth_to_lacl mov x21, x0 ldr x20, [x0, #8] bl _rcu_read_lock ldr w1, [x21] mov x0, x20 bl _target_nacl_find_deve cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _PAGE_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] Lloh2: ldr w1, [x8] ldr w3, [x20] Lloh3: adrp x2, l_.str@PAGE Lloh4: add x2, x2, l_.str@PAGEOFF mov x0, x19 bl _snprintf mov x19, x0 bl _rcu_read_unlock mov x0, x19 b LBB0_3 LBB0_2: bl _rcu_read_unlock Lloh5: adrp x8, _ENODEV@GOTPAGE Lloh6: ldr x8, [x8, _ENODEV@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w0, w8 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _ENODEV,4,2 ; @ENODEV .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%u\n" .no_dead_strip _target_stat_auth_indx_show .subsections_via_symbols
AnghaBench/linux/drivers/target/extr_target_core_stat.c_target_stat_auth_indx_show.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function printtdmaie _printtdmaie: ## @printtdmaie .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, %r14 movq %rsi, %rbx movq %rdi, %rsi leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf cmpq $32, %r14 jb LBB0_3 ## %bb.1: movq _verbose@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_3 ## %bb.2: movl (%rbx), %r14d movl 4(%rbx), %r15d movl 8(%rbx), %r12d leaq 24(%rbx), %rdi callq _LE_READ_2 movl 12(%rbx), %r9d movq 16(%rbx), %rcx movl (%rcx), %ecx movl %ecx, (%rsp) leaq L_.str.1(%rip), %rdi movl %r14d, %esi movl %r15d, %edx movl %r12d, %ecx movl %eax, %r8d xorl %eax, %eax callq _printf LBB0_3: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" .comm _verbose,8,3 ## @verbose L_.str.1: ## @.str.1 .asciz "<v%u slot:%u slotcnt:%u slotlen:%u bintval:%u inuse:0x%x>" .no_dead_strip _printtdmaie .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function printtdmaie _printtdmaie: ; @printtdmaie .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x19, x1 str x0, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf cmp x20, #32 b.lo LBB0_3 ; %bb.1: Lloh2: adrp x8, _verbose@GOTPAGE Lloh3: ldr x8, [x8, _verbose@GOTPAGEOFF] Lloh4: ldr x8, [x8] cbz x8, LBB0_3 ; %bb.2: add x0, x19, #24 ldp w20, w21, [x19] ldr w22, [x19, #8] bl _LE_READ_2 ; kill: def $w0 killed $w0 def $x0 ldr x8, [x19, #16] ldr w9, [x19, #12] ldr w8, [x8] stp x9, x8, [sp, #32] stp x22, x0, [sp, #16] stp x20, x21, [sp] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _printf LBB0_3: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" .comm _verbose,8,3 ; @verbose l_.str.1: ; @.str.1 .asciz "<v%u slot:%u slotcnt:%u slotlen:%u bintval:%u inuse:0x%x>" .no_dead_strip _printtdmaie .subsections_via_symbols
AnghaBench/freebsd/sbin/ifconfig/extr_ifieee80211.c_printtdmaie.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rtw_get_wps_attr_content ## -- Begin function rtw_get_wps_attr_content .p2align 4, 0x90 _rtw_get_wps_attr_content: ## @rtw_get_wps_attr_content .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 %r8, %r15 movq %rcx, %r14 testq %r8, %r8 je LBB0_2 ## %bb.1: movq $0, (%r15) LBB0_2: xorl %r12d, %r12d leaq -40(%rbp), %r8 xorl %ecx, %ecx callq _rtw_get_wps_attr testq %rax, %rax je LBB0_9 ## %bb.3: movq -40(%rbp), %rdx testq %rdx, %rdx je LBB0_9 ## %bb.4: movq %rax, %rbx testq %r14, %r14 je LBB0_6 ## %bb.5: leaq 16(%rbx), %rsi addq $-4, %rdx movq %r14, %rdi callq _memcpy LBB0_6: testq %r15, %r15 je LBB0_8 ## %bb.7: movq -40(%rbp), %rax addq $-4, %rax movq %rax, (%r15) LBB0_8: addq $16, %rbx movq %rbx, %r12 LBB0_9: movq %r12, %rax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rtw_get_wps_attr_content ; -- Begin function rtw_get_wps_attr_content .p2align 2 _rtw_get_wps_attr_content: ; @rtw_get_wps_attr_content .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, x4 mov x20, x3 cbz x4, LBB0_2 ; %bb.1: str xzr, [x19] LBB0_2: add x4, sp, #8 mov x3, #0 bl _rtw_get_wps_attr mov x21, x0 mov x0, #0 cbz x21, LBB0_9 ; %bb.3: ldr x8, [sp, #8] cbz x8, LBB0_9 ; %bb.4: cbz x20, LBB0_6 ; %bb.5: add x1, x21, #16 sub x2, x8, #4 mov x0, x20 bl _memcpy LBB0_6: cbz x19, LBB0_8 ; %bb.7: ldr x8, [sp, #8] sub x8, x8, #4 str x8, [x19] LBB0_8: add x0, x21, #16 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 add sp, sp, #64 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_ieee80211.c_rtw_get_wps_attr_content.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ft_putchar ## -- Begin function ft_putchar .p2align 4, 0x90 _ft_putchar: ## @ft_putchar .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 movb %dil, -1(%rbp) leaq -1(%rbp), %rsi movl $1, %edx movl $1, %edi callq _write addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _ft_putnbr ## -- Begin function ft_putnbr .p2align 4, 0x90 _ft_putnbr: ## @ft_putnbr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx testl %edi, %edi jns LBB1_2 ## %bb.1: negl %ebx movb $45, -17(%rbp) leaq -17(%rbp), %rsi movl $1, %edx movl $1, %edi callq _write LBB1_2: movl %ebx, %r14d cmpl $10, %ebx jb LBB1_4 ## %bb.3: movl $3435973837, %edi ## imm = 0xCCCCCCCD imulq %r14, %rdi shrq $35, %rdi ## kill: def $edi killed $edi killed $rdi callq _ft_putnbr LBB1_4: movl $3435973837, %eax ## imm = 0xCCCCCCCD imulq %r14, %rax shrq $35, %rax addl %eax, %eax leal (%rax,%rax,4), %eax subl %eax, %ebx orb $48, %bl movb %bl, -18(%rbp) leaq -18(%rbp), %rsi movl $1, %edx movl $1, %edi callq _write addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp decl %edi callq _ft_putnbr movb $10, -1(%rbp) leaq -1(%rbp), %rsi movl $1, %edx movl $1, %edi callq _write xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ft_putchar ; -- Begin function ft_putchar .p2align 2 _ft_putchar: ; @ft_putchar .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 sturb w0, [x29, #-1] sub x1, x29, #1 mov w0, #1 mov w2, #1 bl _write ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _ft_putnbr ; -- Begin function ft_putnbr .p2align 2 _ft_putnbr: ; @ft_putnbr .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 tbnz w0, #31, LBB1_4 ; %bb.1: cmp w19, #10 b.lo LBB1_3 LBB1_2: mov w8, #52429 movk w8, #52428, lsl #16 umull x8, w19, w8 lsr x0, x8, #35 ; kill: def $w0 killed $w0 killed $x0 bl _ft_putnbr LBB1_3: mov w8, #52429 movk w8, #52428, lsl #16 umull x8, w19, w8 lsr x8, x8, #35 mov w9, #10 msub w8, w8, w9, w19 orr w8, w8, #0x30 strb w8, [sp, #15] add x1, sp, #15 mov w0, #1 mov w2, #1 bl _write ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB1_4: neg w19, w19 mov w8, #45 strb w8, [sp, #14] add x1, sp, #14 mov w0, #1 mov w2, #1 bl _write cmp w19, #10 b.hs LBB1_2 b LBB1_3 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 sub w0, w0, #1 bl _ft_putnbr mov w8, #10 sturb w8, [x29, #-1] sub x1, x29, #1 mov w0, #1 mov w2, #1 bl _write mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/73574012.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ledtrig_mtd_activity ## -- Begin function ledtrig_mtd_activity .p2align 4, 0x90 _ledtrig_mtd_activity: ## @ledtrig_mtd_activity .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 _BLINK_DELAY@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -16(%rbp) movq _ledtrig_mtd@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -16(%rbp), %rbx movq %rbx, %rsi movq %rbx, %rdx xorl %ecx, %ecx callq _led_trigger_blink_oneshot movq _ledtrig_nand@GOTPCREL(%rip), %rax movl (%rax), %edi movq %rbx, %rsi movq %rbx, %rdx xorl %ecx, %ecx callq _led_trigger_blink_oneshot addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _BLINK_DELAY,8,3 ## @BLINK_DELAY .comm _ledtrig_mtd,4,2 ## @ledtrig_mtd .comm _ledtrig_nand,4,2 ## @ledtrig_nand .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ledtrig_mtd_activity ; -- Begin function ledtrig_mtd_activity .p2align 2 _ledtrig_mtd_activity: ; @ledtrig_mtd_activity .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, _BLINK_DELAY@GOTPAGE Lloh1: ldr x8, [x8, _BLINK_DELAY@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #8] Lloh3: adrp x8, _ledtrig_mtd@GOTPAGE Lloh4: ldr x8, [x8, _ledtrig_mtd@GOTPAGEOFF] Lloh5: ldr w0, [x8] add x1, sp, #8 add x2, sp, #8 mov w3, #0 bl _led_trigger_blink_oneshot Lloh6: adrp x8, _ledtrig_nand@GOTPAGE Lloh7: ldr x8, [x8, _ledtrig_nand@GOTPAGEOFF] Lloh8: ldr w0, [x8] add x1, sp, #8 add x2, sp, #8 mov w3, #0 bl _led_trigger_blink_oneshot ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _BLINK_DELAY,8,3 ; @BLINK_DELAY .comm _ledtrig_mtd,4,2 ; @ledtrig_mtd .comm _ledtrig_nand,4,2 ; @ledtrig_nand .subsections_via_symbols
AnghaBench/linux/drivers/leds/trigger/extr_ledtrig-mtd.c_ledtrig_mtd_activity.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _ccv_nnc_graph_tensor_dot_recovery_free __ccv_nnc_graph_tensor_dot_recovery_free: ## @_ccv_nnc_graph_tensor_dot_recovery_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 shrq $32, %rdi ## kill: def $edi killed $edi killed $rdi callq _ccfree movl %ebx, %edi addq $8, %rsp popq %rbx popq %rbp jmp _ccfree ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip __ccv_nnc_graph_tensor_dot_recovery_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _ccv_nnc_graph_tensor_dot_recovery_free __ccv_nnc_graph_tensor_dot_recovery_free: ; @_ccv_nnc_graph_tensor_dot_recovery_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 lsr x0, x0, #32 ; kill: def $w0 killed $w0 killed $x0 bl _ccfree mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ccfree .cfi_endproc ; -- End function .no_dead_strip __ccv_nnc_graph_tensor_dot_recovery_free .subsections_via_symbols
AnghaBench/ccv/lib/nnc/extr_ccv_nnc_graph.c__ccv_nnc_graph_tensor_dot_recovery_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_commit_rev_name _get_commit_rev_name: ## @get_commit_rev_name .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rsi movq _rev_names@GOTPCREL(%rip), %rdi callq _commit_rev_name_peek testq %rax, %rax je LBB0_1 ## %bb.2: movq (%rax), %rax popq %rbp retq LBB0_1: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _rev_names,4,2 ## @rev_names .no_dead_strip _get_commit_rev_name .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_commit_rev_name _get_commit_rev_name: ; @get_commit_rev_name .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x1, x0 Lloh0: adrp x0, _rev_names@GOTPAGE Lloh1: ldr x0, [x0, _rev_names@GOTPAGEOFF] bl _commit_rev_name_peek cbz x0, LBB0_2 ; %bb.1: ldr x0, [x0] LBB0_2: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _rev_names,4,2 ; @rev_names .no_dead_strip _get_commit_rev_name .subsections_via_symbols
AnghaBench/git/builtin/extr_name-rev.c_get_commit_rev_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _evhttp_free ## -- Begin function evhttp_free .p2align 4, 0x90 _evhttp_free: ## @evhttp_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 leaq 52(%rdi), %r15 movq %r15, %rdi callq _TAILQ_FIRST testq %rax, %rax je LBB0_3 ## %bb.1: movq %rax, %rbx movq _next@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r12), %edx movq %r15, %rdi movq %rbx, %rsi callq _TAILQ_REMOVE movl 48(%rbx), %edi callq _evconnlistener_free movq %rbx, %rdi callq _mm_free movq %r15, %rdi callq _TAILQ_FIRST movq %rax, %rbx testq %rax, %rax jne LBB0_2 LBB0_3: leaq 44(%r14), %rbx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _TAILQ_FIRST testq %rax, %rax je LBB0_5 ## %bb.17: ## in Loop: Header=BB0_4 Depth=1 movq %rax, %rdi callq _evhttp_connection_free jmp LBB0_4 LBB0_5: leaq 40(%r14), %r15 movq %r15, %rdi callq _TAILQ_FIRST testq %rax, %rax je LBB0_8 ## %bb.6: movq %rax, %rbx movq _next@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movl (%r12), %edx movq %r15, %rdi movq %rbx, %rsi callq _TAILQ_REMOVE movq 32(%rbx), %rdi callq _mm_free movq %rbx, %rdi callq _mm_free movq %r15, %rdi callq _TAILQ_FIRST movq %rax, %rbx testq %rax, %rax jne LBB0_7 LBB0_8: leaq 24(%r14), %r15 movq %r15, %rdi callq _TAILQ_FIRST testq %rax, %rax je LBB0_11 ## %bb.9: movq %rax, %rbx movq _next_vhost@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movl (%r12), %edx movq %r15, %rdi movq %rbx, %rsi callq _TAILQ_REMOVE movq %rbx, %rdi callq _evhttp_free movq %r15, %rdi callq _TAILQ_FIRST movq %rax, %rbx testq %rax, %rax jne LBB0_10 LBB0_11: movq 16(%r14), %rdi testq %rdi, %rdi je LBB0_13 ## %bb.12: callq _mm_free LBB0_13: leaq 8(%r14), %r15 movq %r15, %rdi callq _TAILQ_FIRST testq %rax, %rax je LBB0_16 ## %bb.14: movq %rax, %rbx movq _next@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_15: ## =>This Inner Loop Header: Depth=1 movl (%r12), %edx movq %r15, %rdi movq %rbx, %rsi callq _TAILQ_REMOVE movq (%rbx), %rdi callq _mm_free movq %rbx, %rdi callq _mm_free movq %r15, %rdi callq _TAILQ_FIRST movq %rax, %rbx testq %rax, %rax jne LBB0_15 LBB0_16: movq %r14, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _mm_free ## TAILCALL .cfi_endproc ## -- End function .comm _next,4,2 ## @next .comm _next_vhost,4,2 ## @next_vhost .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _evhttp_free ; -- Begin function evhttp_free .p2align 2 _evhttp_free: ; @evhttp_free .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 add x20, x0, #52 mov x0, x20 bl _TAILQ_FIRST cbz x0, LBB0_3 ; %bb.1: mov x21, x0 Lloh0: adrp x22, _next@GOTPAGE Lloh1: ldr x22, [x22, _next@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w2, [x22] mov x0, x20 mov x1, x21 bl _TAILQ_REMOVE ldr w0, [x21, #48] bl _evconnlistener_free mov x0, x21 bl _mm_free mov x0, x20 bl _TAILQ_FIRST mov x21, x0 cbnz x0, LBB0_2 LBB0_3: add x20, x19, #44 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _TAILQ_FIRST cbz x0, LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 bl _evhttp_connection_free b LBB0_4 LBB0_6: add x20, x19, #40 mov x0, x20 bl _TAILQ_FIRST cbz x0, LBB0_9 ; %bb.7: mov x21, x0 Lloh2: adrp x22, _next@GOTPAGE Lloh3: ldr x22, [x22, _next@GOTPAGEOFF] LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w2, [x22] mov x0, x20 mov x1, x21 bl _TAILQ_REMOVE ldr x0, [x21, #32] bl _mm_free mov x0, x21 bl _mm_free mov x0, x20 bl _TAILQ_FIRST mov x21, x0 cbnz x0, LBB0_8 LBB0_9: add x20, x19, #24 mov x0, x20 bl _TAILQ_FIRST cbz x0, LBB0_12 ; %bb.10: mov x21, x0 Lloh4: adrp x22, _next_vhost@GOTPAGE Lloh5: ldr x22, [x22, _next_vhost@GOTPAGEOFF] LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr w2, [x22] mov x0, x20 mov x1, x21 bl _TAILQ_REMOVE mov x0, x21 bl _evhttp_free mov x0, x20 bl _TAILQ_FIRST mov x21, x0 cbnz x0, LBB0_11 LBB0_12: ldr x0, [x19, #16] cbz x0, LBB0_14 ; %bb.13: bl _mm_free LBB0_14: add x20, x19, #8 mov x0, x20 bl _TAILQ_FIRST cbz x0, LBB0_17 ; %bb.15: mov x21, x0 Lloh6: adrp x22, _next@GOTPAGE Lloh7: ldr x22, [x22, _next@GOTPAGEOFF] LBB0_16: ; =>This Inner Loop Header: Depth=1 ldr w2, [x22] mov x0, x20 mov x1, x21 bl _TAILQ_REMOVE ldr x0, [x21] bl _mm_free mov x0, x21 bl _mm_free mov x0, x20 bl _TAILQ_FIRST mov x21, x0 cbnz x0, LBB0_16 LBB0_17: 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 _mm_free .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _next,4,2 ; @next .comm _next_vhost,4,2 ; @next_vhost .subsections_via_symbols
AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_http.c_evhttp_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "library module author description url" .section __DATA,__data .globl _variables ## @variables .p2align 3 _variables: .quad L_.str .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "boot halt grow_seq grow_rnd hit_seq hit_rnd miss_seq miss_rnd delete_seq delete_rnd replace_seq replace_rnd kbench" .section __DATA,__data .globl _functions ## @functions .p2align 3 _functions: .quad L_.str.1 .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "Python C/API" .section __DATA,__data .globl _library ## @library .p2align 3 _library: .quad L_.str.2 .section __TEXT,__cstring,cstring_literals L_.str.3: ## @.str.3 .asciz "Python C-API/dict" .section __DATA,__data .globl _module ## @module .p2align 3 _module: .quad L_.str.3 .section __TEXT,__cstring,cstring_literals L_.str.4: ## @.str.4 .asciz "Guido van Rossum and the Python community" .section __DATA,__data .globl _author ## @author .p2align 3 _author: .quad L_.str.4 .section __TEXT,__cstring,cstring_literals L_.str.5: ## @.str.5 .asciz "Dictionary object type" .section __DATA,__data .globl _description ## @description .p2align 3 _description: .quad L_.str.5 .section __TEXT,__cstring,cstring_literals L_.str.6: ## @.str.6 .asciz "https://docs.python.org/2/c-api/index.html" .section __DATA,__data .globl _url ## @url .p2align 3 _url: .quad L_.str.6 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "library module author description url" .section __DATA,__data .globl _variables ; @variables .p2align 3 _variables: .quad l_.str .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "boot halt grow_seq grow_rnd hit_seq hit_rnd miss_seq miss_rnd delete_seq delete_rnd replace_seq replace_rnd kbench" .section __DATA,__data .globl _functions ; @functions .p2align 3 _functions: .quad l_.str.1 .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .asciz "Python C/API" .section __DATA,__data .globl _library ; @library .p2align 3 _library: .quad l_.str.2 .section __TEXT,__cstring,cstring_literals l_.str.3: ; @.str.3 .asciz "Python C-API/dict" .section __DATA,__data .globl _module ; @module .p2align 3 _module: .quad l_.str.3 .section __TEXT,__cstring,cstring_literals l_.str.4: ; @.str.4 .asciz "Guido van Rossum and the Python community" .section __DATA,__data .globl _author ; @author .p2align 3 _author: .quad l_.str.4 .section __TEXT,__cstring,cstring_literals l_.str.5: ; @.str.5 .asciz "Dictionary object type" .section __DATA,__data .globl _description ; @description .p2align 3 _description: .quad l_.str.5 .section __TEXT,__cstring,cstring_literals l_.str.6: ; @.str.6 .asciz "https://docs.python.org/2/c-api/index.html" .section __DATA,__data .globl _url ; @url .p2align 3 _url: .quad l_.str.6 .subsections_via_symbols
the_stack_data/40762088.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function amdgpu_vm_bo_split_mapping _amdgpu_vm_bo_split_mapping: ## @amdgpu_vm_bo_split_mapping .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, -96(%rbp) ## 8-byte Spill movb 8(%rdi), %cl movl $1, %eax shlq %cl, %rax movq %rax, -72(%rbp) ## 8-byte Spill movq %rdx, -56(%rbp) ## 8-byte Spill movq %rsi, -80(%rbp) ## 8-byte Spill movq %r8, -64(%rbp) ## 8-byte Spill movq 8(%r8), %rax movq _AMDGPU_PTE_READABLE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rcx, %rsi andq %rax, %rsi notq %rcx xorl %edx, %edx negq %rsi movl $0, %esi sbbq %rsi, %rsi orq %rcx, %rsi movq _AMDGPU_PTE_WRITEABLE@GOTPCREL(%rip), %rcx movq (%rcx), %rbx movq %rbx, %rcx andq %rax, %rcx notq %rbx negq %rcx sbbq %rdx, %rdx orq %rbx, %rdx movq _AMDGPU_PTE_EXECUTABLE@GOTPCREL(%rip), %rcx movq (%rcx), %rbx movq %rbx, %rcx notq %rcx andq %r9, %rcx andq %rsi, %rcx andq %rdx, %rcx andq %rax, %rbx orq %rcx, %rbx movq %rdi, -88(%rbp) ## 8-byte Spill movq (%rdi), %rdx movq _CHIP_NAVI10@GOTPCREL(%rip), %rsi movq (%rsi), %rsi cmpq %rsi, %rdx jge LBB0_1 ## %bb.2: movq _AMDGPU_PTE_MTYPE_VG10_MASK@GOTPCREL(%rip), %rdi jmp LBB0_3 LBB0_1: movq _AMDGPU_PTE_MTYPE_NV10_MASK@GOTPCREL(%rip), %rdi LBB0_3: movq 24(%rbp), %r14 movq %rax, %rcx xorq %rbx, %rcx andq (%rdi), %rcx xorq %rbx, %rcx movq %rcx, -48(%rbp) ## 8-byte Spill movq _AMDGPU_PTE_PRT@GOTPCREL(%rip), %rcx movq (%rcx), %rcx testq %rax, %rcx je LBB0_8 ## %bb.4: movq _CHIP_VEGA10@GOTPCREL(%rip), %rax cmpq (%rax), %rdx jl LBB0_8 ## %bb.5: orq -48(%rbp), %rcx ## 8-byte Folded Reload cmpq %rsi, %rdx jl LBB0_7 ## %bb.6: movq _AMDGPU_PTE_SNOOPED@GOTPCREL(%rip), %rax orq (%rax), %rcx movq _AMDGPU_PTE_LOG@GOTPCREL(%rip), %rax orq (%rax), %rcx movq _AMDGPU_PTE_SYSTEM@GOTPCREL(%rip), %rax orq (%rax), %rcx LBB0_7: movq _AMDGPU_PTE_VALID@GOTPCREL(%rip), %rax movq (%rax), %rax notq %rax andq %rcx, %rax movq %rax, -48(%rbp) ## 8-byte Spill LBB0_8: movq -64(%rbp), %rbx ## 8-byte Reload movq (%rbx), %r15 movq %rbx, %rdi callq _trace_amdgpu_vm_bo_update movq 16(%rbx), %r12 movq _PAGE_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl sarq %cl, %r12 testq %r14, %r14 je LBB0_9 ## %bb.10: movq %r14, %rbx movq (%r14), %rax cmpq %rax, %r12 jl LBB0_13 .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 subq %rax, %r12 movq 16(%rbx), %rax addq $16, %rbx cmpq %rax, %r12 jge LBB0_11 jmp LBB0_13 LBB0_9: xorl %ebx, %ebx jmp LBB0_13 .p2align 4, 0x90 LBB0_37: ## in Loop: Header=BB0_13 Depth=1 xorl %eax, %eax cmpq %r12, (%rbx) sete %al movl $0, %ecx cmoveq %rcx, %r12 shlq $4, %rax addq %rax, %rbx LBB0_38: ## in Loop: Header=BB0_13 Depth=1 movq %r14, %r15 incq %r15 xorl %edi, %edi movq -64(%rbp), %rax ## 8-byte Reload cmpq 24(%rax), %r14 setne %dil callq _unlikely testq %rax, %rax je LBB0_39 LBB0_13: ## =>This Loop Header: Depth=1 ## Child Loop BB0_22 Depth 2 testq %rbx, %rbx movq %rbx, -112(%rbp) ## 8-byte Spill je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movq %rbx, %rax movq 8(%rbx), %rbx movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl shlq %cl, %rbx movq (%rax), %rsi subq %r12, %rsi movq _AMDGPU_GPU_PAGES_IN_CPU_PAGE@GOTPCREL(%rip), %rax imulq (%rax), %rsi jmp LBB0_16 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_13 Depth=1 movq _S64_MAX@GOTPCREL(%rip), %rax movq (%rax), %rsi xorl %ebx, %ebx LBB0_16: ## in Loop: Header=BB0_13 Depth=1 cmpq $0, -56(%rbp) ## 8-byte Folded Reload movq %r12, -104(%rbp) ## 8-byte Spill je LBB0_28 ## %bb.17: ## in Loop: Header=BB0_13 Depth=1 movq _AMDGPU_GPU_PAGES_IN_CPU_PAGE@GOTPCREL(%rip), %rax movq (%rax), %r8 movq %rsi, %rax orq %r8, %rax shrq $32, %rax je LBB0_18 ## %bb.19: ## in Loop: Header=BB0_13 Depth=1 movq %rsi, %rax cqto idivq %r8 jmp LBB0_20 .p2align 4, 0x90 LBB0_28: ## in Loop: Header=BB0_13 Depth=1 movq -48(%rbp), %rax ## 8-byte Reload movq _AMDGPU_PTE_VALID@GOTPCREL(%rip), %rcx testq %rax, (%rcx) je LBB0_30 ## %bb.29: ## in Loop: Header=BB0_13 Depth=1 movq _PAGE_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl shlq %cl, %r12 movq 16(%rbp), %rcx addq 16(%rcx), %rbx addq %r12, %rbx LBB0_30: ## in Loop: Header=BB0_13 Depth=1 xorl %r12d, %r12d jmp LBB0_31 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_13 Depth=1 movl %esi, %eax xorl %edx, %edx divl %r8d ## kill: def $eax killed $eax def $rax LBB0_20: ## in Loop: Header=BB0_13 Depth=1 movl $1, %edx cmpq $2, %rax jl LBB0_25 ## %bb.21: ## in Loop: Header=BB0_13 Depth=1 movq _PAGE_SIZE@GOTPCREL(%rip), %rcx movq (%rcx), %rdi movq -56(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%r12,8), %rbx movl $1, %edx .p2align 4, 0x90 LBB0_22: ## Parent Loop BB0_13 Depth=1 ## => This Inner Loop Header: Depth=2 movq -8(%rbx,%rdx,8), %rcx addq %rdi, %rcx cmpq %rcx, (%rbx,%rdx,8) jne LBB0_25 ## %bb.23: ## in Loop: Header=BB0_22 Depth=2 incq %rdx cmpq %rdx, %rax jne LBB0_22 ## %bb.24: ## in Loop: Header=BB0_13 Depth=1 movq %rax, %rdx LBB0_25: ## in Loop: Header=BB0_13 Depth=1 cmpq -72(%rbp), %rdx ## 8-byte Folded Reload jae LBB0_27 ## %bb.26: ## in Loop: Header=BB0_13 Depth=1 movq _PAGE_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl movq %r12, %rbx shlq %cl, %rbx movq -56(%rbp), %r12 ## 8-byte Reload jmp LBB0_31 .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_13 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movq (%rax,%r12,8), %rbx imulq %rdx, %r8 xorl %r12d, %r12d movq %r8, %rsi LBB0_31: ## in Loop: Header=BB0_13 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload movq 24(%rax), %rdi addq %r15, %rsi decq %rsi callq _min movq %rax, %r14 subq $8, %rsp movq -88(%rbp), %rdi ## 8-byte Reload movq -80(%rbp), %rsi ## 8-byte Reload movq %r12, %rdx movq -96(%rbp), %rcx ## 8-byte Reload movq %r15, %r8 movq %rax, %r9 pushq 32(%rbp) pushq %rbx pushq -48(%rbp) ## 8-byte Folded Reload callq _amdgpu_vm_bo_update_mapping addq $32, %rsp movl %eax, %r13d testl %eax, %eax movq -112(%rbp), %rbx ## 8-byte Reload movq -104(%rbp), %rsi ## 8-byte Reload jne LBB0_39 ## %bb.32: ## in Loop: Header=BB0_13 Depth=1 movq %r14, %rax subq %r15, %rax incq %rax movq _AMDGPU_GPU_PAGES_IN_CPU_PAGE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rax, %rdx orq %rcx, %rdx shrq $32, %rdx je LBB0_33 ## %bb.34: ## in Loop: Header=BB0_13 Depth=1 cqto idivq %rcx movq %rax, %r12 jmp LBB0_35 .p2align 4, 0x90 LBB0_33: ## in Loop: Header=BB0_13 Depth=1 ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %ecx movl %eax, %r12d LBB0_35: ## in Loop: Header=BB0_13 Depth=1 addq %rsi, %r12 testq %rbx, %rbx jne LBB0_37 ## %bb.36: ## in Loop: Header=BB0_13 Depth=1 xorl %ebx, %ebx jmp LBB0_38 LBB0_39: movl %r13d, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AMDGPU_PTE_READABLE,8,3 ## @AMDGPU_PTE_READABLE .comm _AMDGPU_PTE_WRITEABLE,8,3 ## @AMDGPU_PTE_WRITEABLE .comm _AMDGPU_PTE_EXECUTABLE,8,3 ## @AMDGPU_PTE_EXECUTABLE .comm _CHIP_NAVI10,8,3 ## @CHIP_NAVI10 .comm _AMDGPU_PTE_MTYPE_NV10_MASK,8,3 ## @AMDGPU_PTE_MTYPE_NV10_MASK .comm _AMDGPU_PTE_MTYPE_VG10_MASK,8,3 ## @AMDGPU_PTE_MTYPE_VG10_MASK .comm _AMDGPU_PTE_PRT,8,3 ## @AMDGPU_PTE_PRT .comm _CHIP_VEGA10,8,3 ## @CHIP_VEGA10 .comm _AMDGPU_PTE_SNOOPED,8,3 ## @AMDGPU_PTE_SNOOPED .comm _AMDGPU_PTE_LOG,8,3 ## @AMDGPU_PTE_LOG .comm _AMDGPU_PTE_SYSTEM,8,3 ## @AMDGPU_PTE_SYSTEM .comm _AMDGPU_PTE_VALID,8,3 ## @AMDGPU_PTE_VALID .comm _PAGE_SHIFT,8,3 ## @PAGE_SHIFT .comm _AMDGPU_GPU_PAGES_IN_CPU_PAGE,8,3 ## @AMDGPU_GPU_PAGES_IN_CPU_PAGE .comm _S64_MAX,8,3 ## @S64_MAX .comm _PAGE_SIZE,8,3 ## @PAGE_SIZE .no_dead_strip _amdgpu_vm_bo_split_mapping .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function amdgpu_vm_bo_split_mapping _amdgpu_vm_bo_split_mapping: ; @amdgpu_vm_bo_split_mapping .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x28, x27, [sp, #64] ; 16-byte Folded Spill stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x25, x7 str x6, [sp, #16] ; 8-byte Folded Spill mov x20, x4 stp x1, x3, [sp, #48] ; 16-byte Folded Spill mov x21, x2 ldr w19, [x0, #8] mov w22, #1 ldr x11, [x4, #8] Lloh0: adrp x8, _AMDGPU_PTE_READABLE@GOTPAGE Lloh1: ldr x8, [x8, _AMDGPU_PTE_READABLE@GOTPAGEOFF] Lloh2: ldr x8, [x8] tst x8, x11 mov x9, #-1 csinv x8, x9, x8, ne Lloh3: adrp x10, _AMDGPU_PTE_WRITEABLE@GOTPAGE Lloh4: ldr x10, [x10, _AMDGPU_PTE_WRITEABLE@GOTPAGEOFF] Lloh5: ldr x10, [x10] tst x10, x11 csinv x9, x9, x10, ne Lloh6: adrp x10, _AMDGPU_PTE_EXECUTABLE@GOTPAGE Lloh7: ldr x10, [x10, _AMDGPU_PTE_EXECUTABLE@GOTPAGEOFF] Lloh8: ldr x10, [x10] bic x12, x5, x10 and x8, x12, x8 and x8, x8, x9 and x9, x10, x11 orr x10, x8, x9 str x0, [sp, #40] ; 8-byte Folded Spill ldr x8, [x0] Lloh9: adrp x9, _CHIP_NAVI10@GOTPAGE Lloh10: ldr x9, [x9, _CHIP_NAVI10@GOTPAGEOFF] Lloh11: adrp x12, _AMDGPU_PTE_MTYPE_VG10_MASK@GOTPAGE Lloh12: ldr x12, [x12, _AMDGPU_PTE_MTYPE_VG10_MASK@GOTPAGEOFF] Lloh13: adrp x13, _AMDGPU_PTE_MTYPE_NV10_MASK@GOTPAGE Lloh14: ldr x13, [x13, _AMDGPU_PTE_MTYPE_NV10_MASK@GOTPAGEOFF] Lloh15: ldr x9, [x9] cmp x8, x9 csel x12, x12, x13, lt ldr x12, [x12] bic x10, x10, x12 and x12, x12, x11 orr x26, x10, x12 Lloh16: adrp x10, _AMDGPU_PTE_PRT@GOTPAGE Lloh17: ldr x10, [x10, _AMDGPU_PTE_PRT@GOTPAGEOFF] Lloh18: ldr x10, [x10] Lloh19: adrp x12, _CHIP_VEGA10@GOTPAGE Lloh20: ldr x12, [x12, _CHIP_VEGA10@GOTPAGEOFF] and x11, x10, x11 Lloh21: ldr x12, [x12] cmp x11, #0 ccmp x8, x12, #8, ne b.lt LBB0_4 ; %bb.1: orr x10, x10, x26 cmp x8, x9 b.lt LBB0_3 ; %bb.2: Lloh22: adrp x8, _AMDGPU_PTE_SNOOPED@GOTPAGE Lloh23: ldr x8, [x8, _AMDGPU_PTE_SNOOPED@GOTPAGEOFF] Lloh24: ldr x8, [x8] orr x8, x8, x10 Lloh25: adrp x9, _AMDGPU_PTE_LOG@GOTPAGE Lloh26: ldr x9, [x9, _AMDGPU_PTE_LOG@GOTPAGEOFF] Lloh27: ldr x9, [x9] orr x8, x8, x9 Lloh28: adrp x9, _AMDGPU_PTE_SYSTEM@GOTPAGE Lloh29: ldr x9, [x9, _AMDGPU_PTE_SYSTEM@GOTPAGEOFF] Lloh30: ldr x9, [x9] orr x10, x8, x9 LBB0_3: Lloh31: adrp x8, _AMDGPU_PTE_VALID@GOTPAGE Lloh32: ldr x8, [x8, _AMDGPU_PTE_VALID@GOTPAGEOFF] Lloh33: ldr x8, [x8] bic x26, x10, x8 LBB0_4: ldr x27, [x20] mov x0, x20 bl _trace_amdgpu_vm_bo_update ldr x8, [x20, #16] Lloh34: adrp x9, _PAGE_SHIFT@GOTPAGE Lloh35: ldr x9, [x9, _PAGE_SHIFT@GOTPAGEOFF] Lloh36: ldr x9, [x9] asr x23, x8, x9 cbz x25, LBB0_7 ; %bb.5: ldr x8, [x25] cmp x23, x8 b.lt LBB0_7 LBB0_6: ; =>This Inner Loop Header: Depth=1 sub x23, x23, x8 ldr x8, [x25, #16]! cmp x23, x8 b.ge LBB0_6 LBB0_7: ldr x9, [x29, #16] lsl x8, x22, x19 stp x8, x9, [sp, #24] ; 16-byte Folded Spill Lloh37: adrp x24, _AMDGPU_GPU_PAGES_IN_CPU_PAGE@GOTPAGE Lloh38: ldr x24, [x24, _AMDGPU_GPU_PAGES_IN_CPU_PAGE@GOTPAGEOFF] b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 add x27, x19, #1 ldr x8, [x20, #24] cmp x19, x8 cset w0, ne bl _unlikely cbz x0, LBB0_27 LBB0_9: ; =>This Loop Header: Depth=1 ; Child Loop BB0_13 Depth 2 cbz x25, LBB0_15 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 Lloh39: adrp x8, _PAGE_SHIFT@GOTPAGE Lloh40: ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF] Lloh41: ldr x8, [x8] ldp x10, x9, [x25] lsl x28, x9, x8 sub x8, x10, x23 ldr x9, [x24] mul x8, x8, x9 cbz x21, LBB0_16 LBB0_11: ; in Loop: Header=BB0_9 Depth=1 ldr x9, [x24] sdiv x10, x8, x9 cmp x10, #2 b.lt LBB0_18 ; %bb.12: ; in Loop: Header=BB0_9 Depth=1 mov x11, #0 Lloh42: adrp x12, _PAGE_SIZE@GOTPAGE Lloh43: ldr x12, [x12, _PAGE_SIZE@GOTPAGEOFF] Lloh44: ldr x12, [x12] sub x13, x10, #1 add x14, x21, x23, lsl #3 LBB0_13: ; Parent Loop BB0_9 Depth=1 ; => This Inner Loop Header: Depth=2 add x15, x14, x11, lsl #3 ldp x15, x16, [x15] add x15, x12, x15 cmp x16, x15 b.ne LBB0_19 ; %bb.14: ; in Loop: Header=BB0_13 Depth=2 add x11, x11, #1 cmp x13, x11 b.ne LBB0_13 b LBB0_20 LBB0_15: ; in Loop: Header=BB0_9 Depth=1 mov x28, #0 Lloh45: adrp x8, _S64_MAX@GOTPAGE Lloh46: ldr x8, [x8, _S64_MAX@GOTPAGEOFF] Lloh47: ldr x8, [x8] cbnz x21, LBB0_11 LBB0_16: ; in Loop: Header=BB0_9 Depth=1 Lloh48: adrp x9, _AMDGPU_PTE_VALID@GOTPAGE Lloh49: ldr x9, [x9, _AMDGPU_PTE_VALID@GOTPAGEOFF] Lloh50: ldr x9, [x9] tst x9, x26 b.eq LBB0_23 ; %bb.17: ; in Loop: Header=BB0_9 Depth=1 mov x22, #0 ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x9, [x9, #16] Lloh51: adrp x10, _PAGE_SHIFT@GOTPAGE Lloh52: ldr x10, [x10, _PAGE_SHIFT@GOTPAGEOFF] Lloh53: ldr x10, [x10] lsl x10, x23, x10 add x9, x9, x28 add x28, x9, x10 b LBB0_24 LBB0_18: ; in Loop: Header=BB0_9 Depth=1 mov w10, #1 b LBB0_20 LBB0_19: ; in Loop: Header=BB0_9 Depth=1 add x10, x11, #1 LBB0_20: ; in Loop: Header=BB0_9 Depth=1 ldr x11, [sp, #24] ; 8-byte Folded Reload cmp x10, x11 b.hs LBB0_22 ; %bb.21: ; in Loop: Header=BB0_9 Depth=1 Lloh54: adrp x9, _PAGE_SHIFT@GOTPAGE Lloh55: ldr x9, [x9, _PAGE_SHIFT@GOTPAGEOFF] Lloh56: ldr x9, [x9] lsl x28, x23, x9 mov x22, x21 b LBB0_24 LBB0_22: ; in Loop: Header=BB0_9 Depth=1 mov x22, #0 ldr x28, [x21, x23, lsl #3] mul x8, x9, x10 b LBB0_24 LBB0_23: ; in Loop: Header=BB0_9 Depth=1 mov x22, #0 LBB0_24: ; in Loop: Header=BB0_9 Depth=1 ldr x0, [x20, #24] add x8, x27, x8 sub x1, x8, #1 bl _min mov x19, x0 ldp x8, x0, [sp, #32] ; 16-byte Folded Reload str x8, [sp] ldp x1, x3, [sp, #48] ; 16-byte Folded Reload mov x2, x22 mov x4, x27 mov x5, x19 mov x6, x26 mov x7, x28 bl _amdgpu_vm_bo_update_mapping mov x28, x0 cbnz w0, LBB0_27 ; %bb.25: ; in Loop: Header=BB0_9 Depth=1 sub x8, x19, x27 add x8, x8, #1 ldr x9, [x24] sdiv x8, x8, x9 add x23, x8, x23 cbz x25, LBB0_8 ; %bb.26: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x25] cmp x8, x23 csel x23, xzr, x23, eq cset w8, eq add x25, x25, w8, uxtw #4 b LBB0_8 LBB0_27: mov x0, x28 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 AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh15 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGot Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .cfi_endproc ; -- End function .comm _AMDGPU_PTE_READABLE,8,3 ; @AMDGPU_PTE_READABLE .comm _AMDGPU_PTE_WRITEABLE,8,3 ; @AMDGPU_PTE_WRITEABLE .comm _AMDGPU_PTE_EXECUTABLE,8,3 ; @AMDGPU_PTE_EXECUTABLE .comm _CHIP_NAVI10,8,3 ; @CHIP_NAVI10 .comm _AMDGPU_PTE_MTYPE_NV10_MASK,8,3 ; @AMDGPU_PTE_MTYPE_NV10_MASK .comm _AMDGPU_PTE_MTYPE_VG10_MASK,8,3 ; @AMDGPU_PTE_MTYPE_VG10_MASK .comm _AMDGPU_PTE_PRT,8,3 ; @AMDGPU_PTE_PRT .comm _CHIP_VEGA10,8,3 ; @CHIP_VEGA10 .comm _AMDGPU_PTE_SNOOPED,8,3 ; @AMDGPU_PTE_SNOOPED .comm _AMDGPU_PTE_LOG,8,3 ; @AMDGPU_PTE_LOG .comm _AMDGPU_PTE_SYSTEM,8,3 ; @AMDGPU_PTE_SYSTEM .comm _AMDGPU_PTE_VALID,8,3 ; @AMDGPU_PTE_VALID .comm _PAGE_SHIFT,8,3 ; @PAGE_SHIFT .comm _AMDGPU_GPU_PAGES_IN_CPU_PAGE,8,3 ; @AMDGPU_GPU_PAGES_IN_CPU_PAGE .comm _S64_MAX,8,3 ; @S64_MAX .comm _PAGE_SIZE,8,3 ; @PAGE_SIZE .no_dead_strip _amdgpu_vm_bo_split_mapping .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_vm.c_amdgpu_vm_bo_split_mapping.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function preprocess_package _preprocess_package: ## @preprocess_package .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) cmpq $0, 24(%rdi) jne LBB0_7 ## %bb.1: movq (%r12), %rbx leaq L_.str(%rip), %r14 jmp LBB0_3 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_3 Depth=1 xorl %edi, %edi movq %r14, %rsi xorl %eax, %eax callq _buf_printf incq %rbx LBB0_3: ## =>This Inner Loop Header: Depth=1 movsbl (%rbx), %eax movl $95, %edx cmpl $47, %eax je LBB0_2 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 testb %al, %al je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl %eax, %edx jmp LBB0_2 LBB0_6: leaq L_.str.1(%rip), %rsi xorl %edi, %edi xorl %eax, %eax callq _buf_printf xorl %edi, %edi callq _str_intern movq %rax, 24(%r12) LBB0_7: leaq L_.str.2(%rip), %rdi callq _str_intern movq %rax, -104(%rbp) ## 8-byte Spill leaq L_.str.3(%rip), %rdi callq _str_intern movq %rax, -96(%rbp) ## 8-byte Spill leaq L_.str.4(%rip), %rdi callq _str_intern movq %rax, -88(%rbp) ## 8-byte Spill leaq L_.str.5(%rip), %rdi callq _str_intern movq %rax, -80(%rbp) ## 8-byte Spill movq 8(%r12), %rax testq %rax, %rax je LBB0_29 ## %bb.8: movq _DECL_NOTE@GOTPCREL(%rip), %rdx movq _foreign_name@GOTPCREL(%rip), %rsi xorl %edi, %edi movq %r12, -56(%rbp) ## 8-byte Spill jmp LBB0_11 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_11 Depth=1 movq -56(%rbp), %r12 ## 8-byte Reload movq 8(%r12), %rax movq _DECL_NOTE@GOTPCREL(%rip), %rdx movq _foreign_name@GOTPCREL(%rip), %rsi movq -72(%rbp), %rdi ## 8-byte Reload LBB0_10: ## in Loop: Header=BB0_11 Depth=1 incq %rdi cmpq %rax, %rdi jae LBB0_29 LBB0_11: ## =>This Loop Header: Depth=1 ## Child Loop BB0_18 Depth 2 movq 16(%r12), %rcx movq (%rcx,%rdi,8), %rbx movq (%rbx), %rcx cmpq (%rdx), %rcx jne LBB0_10 ## %bb.12: ## in Loop: Header=BB0_11 Depth=1 movq 16(%rbx), %rcx cmpq (%rsi), %rcx jne LBB0_10 ## %bb.13: ## in Loop: Header=BB0_11 Depth=1 movq 24(%rbx), %r15 testq %r15, %r15 je LBB0_10 ## %bb.14: ## in Loop: Header=BB0_11 Depth=1 movq %rdi, -72(%rbp) ## 8-byte Spill movq %rbx, -64(%rbp) ## 8-byte Spill movq 32(%rbx), %r14 addq $16, %r14 jmp LBB0_18 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_18 Depth=2 movq %rsp, %r12 movq _MAX_PATH@GOTPCREL(%rip), %rax movl (%rax), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rbx movq %rbx, %rdi movq -56(%rbp), %rsi ## 8-byte Reload movq %r13, %rdx callq _put_include_path movq %rbx, %rdi callq _add_foreign_header LBB0_16: ## in Loop: Header=BB0_18 Depth=2 movq %r12, %rsp LBB0_17: ## in Loop: Header=BB0_18 Depth=2 addq $24, %r14 decq %r15 je LBB0_9 LBB0_18: ## Parent Loop BB0_11 Depth=1 ## => This Inner Loop Header: Depth=2 movq -16(%r14), %r12 movl -8(%r14), %esi movq (%r14), %rbx movq (%rbx), %rax movq _EXPR_STR@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_20 ## %bb.19: ## in Loop: Header=BB0_18 Depth=2 movq -64(%rbp), %rax ## 8-byte Reload movl 8(%rax), %edi movl %esi, %r13d leaq L_.str.6(%rip), %rsi xorl %eax, %eax callq _fatal_error movl %r13d, %esi LBB0_20: ## in Loop: Header=BB0_18 Depth=2 movq 8(%rbx), %r13 cmpq -104(%rbp), %r12 ## 8-byte Folded Reload je LBB0_15 ## %bb.21: ## in Loop: Header=BB0_18 Depth=2 cmpq -96(%rbp), %r12 ## 8-byte Folded Reload je LBB0_25 ## %bb.22: ## in Loop: Header=BB0_18 Depth=2 cmpq -88(%rbp), %r12 ## 8-byte Folded Reload je LBB0_26 ## %bb.23: ## in Loop: Header=BB0_18 Depth=2 cmpq -80(%rbp), %r12 ## 8-byte Folded Reload je LBB0_27 ## %bb.24: ## in Loop: Header=BB0_18 Depth=2 movq -64(%rbp), %rax ## 8-byte Reload movl 8(%rax), %edi leaq L_.str.8(%rip), %rsi movq %r12, %rdx xorl %eax, %eax callq _fatal_error jmp LBB0_17 .p2align 4, 0x90 LBB0_25: ## in Loop: Header=BB0_18 Depth=2 movq %rsp, %r12 movq _MAX_PATH@GOTPCREL(%rip), %rax movl (%rax), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rbx movq %rbx, %rdi movq -56(%rbp), %rsi ## 8-byte Reload movq %r13, %rdx callq _put_include_path movq %rbx, %rdi callq _add_foreign_source jmp LBB0_16 LBB0_26: ## in Loop: Header=BB0_18 Depth=2 movq _gen_preamble_buf@GOTPCREL(%rip), %rbx jmp LBB0_28 LBB0_27: ## in Loop: Header=BB0_18 Depth=2 movq _gen_postamble_buf@GOTPCREL(%rip), %rbx LBB0_28: ## in Loop: Header=BB0_18 Depth=2 movq %rbx, %rdi callq _gen_buf_pos movslq (%rbx), %rdi leaq L_.str.7(%rip), %rsi movq %r13, %rdx xorl %eax, %eax callq _buf_printf jmp LBB0_17 LBB0_29: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_31 ## %bb.30: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_31: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%c" L_.str.1: ## @.str.1 .asciz "_" L_.str.2: ## @.str.2 .asciz "header" L_.str.3: ## @.str.3 .asciz "source" L_.str.4: ## @.str.4 .asciz "preamble" L_.str.5: ## @.str.5 .asciz "postamble" .comm _DECL_NOTE,8,3 ## @DECL_NOTE .comm _foreign_name,8,3 ## @foreign_name .comm _EXPR_STR,8,3 ## @EXPR_STR L_.str.6: ## @.str.6 .asciz "#foreign argument must be a string" .comm _MAX_PATH,4,2 ## @MAX_PATH .comm _gen_preamble_buf,4,2 ## @gen_preamble_buf L_.str.7: ## @.str.7 .asciz "%s\n" .comm _gen_postamble_buf,4,2 ## @gen_postamble_buf L_.str.8: ## @.str.8 .asciz "Unknown #foreign named argument '%s'" .no_dead_strip _preprocess_package .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function preprocess_package _preprocess_package: ; @preprocess_package .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #32 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] ldr x8, [x0, #24] cbnz x8, LBB0_8 ; %bb.1: ldr x21, [x19] Lloh3: adrp x20, l_.str@PAGE Lloh4: add x20, x20, l_.str@PAGEOFF b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov w8, #95 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 str x8, [sp, #-16]! mov x0, #0 mov x1, x20 bl _buf_printf add sp, sp, #16 add x21, x21, #1 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x21] cmp w8, #47 b.eq LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cbz w8, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 sxtb w8, w8 b LBB0_3 LBB0_7: Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, #0 bl _buf_printf mov x0, #0 bl _str_intern str x0, [x19, #24] LBB0_8: Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _str_intern mov x20, x0 Lloh9: adrp x0, l_.str.3@PAGE Lloh10: add x0, x0, l_.str.3@PAGEOFF bl _str_intern mov x21, x0 Lloh11: adrp x0, l_.str.4@PAGE Lloh12: add x0, x0, l_.str.4@PAGEOFF bl _str_intern stur x0, [x29, #-96] ; 8-byte Folded Spill Lloh13: adrp x0, l_.str.5@PAGE Lloh14: add x0, x0, l_.str.5@PAGEOFF bl _str_intern stur x0, [x29, #-104] ; 8-byte Folded Spill ldr x8, [x19, #8] cbz x8, LBB0_30 ; %bb.9: mov x24, #0 Lloh15: adrp x11, _DECL_NOTE@GOTPAGE Lloh16: ldr x11, [x11, _DECL_NOTE@GOTPAGEOFF] Lloh17: adrp x12, _foreign_name@GOTPAGE Lloh18: ldr x12, [x12, _foreign_name@GOTPAGEOFF] b LBB0_12 LBB0_10: ; in Loop: Header=BB0_12 Depth=1 ldr x8, [x19, #8] Lloh19: adrp x11, _DECL_NOTE@GOTPAGE Lloh20: ldr x11, [x11, _DECL_NOTE@GOTPAGEOFF] Lloh21: adrp x12, _foreign_name@GOTPAGE Lloh22: ldr x12, [x12, _foreign_name@GOTPAGEOFF] LBB0_11: ; in Loop: Header=BB0_12 Depth=1 add x24, x24, #1 cmp x24, x8 b.hs LBB0_30 LBB0_12: ; =>This Loop Header: Depth=1 ; Child Loop BB0_18 Depth 2 ldr x9, [x19, #16] ldr x28, [x9, x24, lsl #3] ldr x9, [x28] ldr x10, [x11] cmp x9, x10 b.ne LBB0_11 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 ldp x9, x23, [x28, #16] ldr x10, [x12] cmp x9, x10 ccmp x23, #0, #4, eq b.eq LBB0_11 ; %bb.14: ; in Loop: Header=BB0_12 Depth=1 ldr x8, [x28, #32] add x22, x8, #8 b LBB0_18 LBB0_15: ; in Loop: Header=BB0_18 Depth=2 mov x25, sp Lloh23: adrp x8, _MAX_PATH@GOTPAGE Lloh24: ldr x8, [x8, _MAX_PATH@GOTPAGEOFF] Lloh25: ldr w8, [x8] mov x9, x8 Lloh26: adrp x16, ___chkstk_darwin@GOTPAGE Lloh27: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x1fffffff0 sub x27, x9, x8 mov sp, x27 mov x0, x27 mov x1, x19 mov x2, x26 bl _put_include_path mov x0, x27 bl _add_foreign_header LBB0_16: ; in Loop: Header=BB0_18 Depth=2 mov sp, x25 LBB0_17: ; in Loop: Header=BB0_18 Depth=2 add x22, x22, #24 subs x23, x23, #1 b.eq LBB0_10 LBB0_18: ; Parent Loop BB0_12 Depth=1 ; => This Inner Loop Header: Depth=2 ldur x25, [x22, #-8] ldr w27, [x22] ldr x26, [x22, #8] ldr x8, [x26] Lloh28: adrp x9, _EXPR_STR@GOTPAGE Lloh29: ldr x9, [x9, _EXPR_STR@GOTPAGEOFF] Lloh30: ldr x9, [x9] cmp x8, x9 b.eq LBB0_20 ; %bb.19: ; in Loop: Header=BB0_18 Depth=2 ldr w0, [x28, #8] Lloh31: adrp x1, l_.str.6@PAGE Lloh32: add x1, x1, l_.str.6@PAGEOFF bl _fatal_error LBB0_20: ; in Loop: Header=BB0_18 Depth=2 ldr x26, [x26, #8] cmp x25, x20 b.eq LBB0_15 ; %bb.21: ; in Loop: Header=BB0_18 Depth=2 cmp x25, x21 b.eq LBB0_25 ; %bb.22: ; in Loop: Header=BB0_18 Depth=2 ldur x8, [x29, #-96] ; 8-byte Folded Reload cmp x25, x8 b.eq LBB0_26 ; %bb.23: ; in Loop: Header=BB0_18 Depth=2 ldur x8, [x29, #-104] ; 8-byte Folded Reload cmp x25, x8 b.eq LBB0_27 ; %bb.24: ; in Loop: Header=BB0_18 Depth=2 ldr w0, [x28, #8] str x25, [sp, #-16]! Lloh33: adrp x1, l_.str.8@PAGE Lloh34: add x1, x1, l_.str.8@PAGEOFF bl _fatal_error b LBB0_29 LBB0_25: ; in Loop: Header=BB0_18 Depth=2 mov x25, sp Lloh35: adrp x8, _MAX_PATH@GOTPAGE Lloh36: ldr x8, [x8, _MAX_PATH@GOTPAGEOFF] Lloh37: ldr w8, [x8] mov x9, x8 Lloh38: adrp x16, ___chkstk_darwin@GOTPAGE Lloh39: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x1fffffff0 sub x27, x9, x8 mov sp, x27 mov x0, x27 mov x1, x19 mov x2, x26 bl _put_include_path mov x0, x27 bl _add_foreign_source b LBB0_16 LBB0_26: ; in Loop: Header=BB0_18 Depth=2 Lloh40: adrp x25, _gen_preamble_buf@GOTPAGE Lloh41: ldr x25, [x25, _gen_preamble_buf@GOTPAGEOFF] b LBB0_28 LBB0_27: ; in Loop: Header=BB0_18 Depth=2 Lloh42: adrp x25, _gen_postamble_buf@GOTPAGE Lloh43: ldr x25, [x25, _gen_postamble_buf@GOTPAGEOFF] LBB0_28: ; in Loop: Header=BB0_18 Depth=2 mov x0, x25 mov x1, x27 bl _gen_buf_pos ldrsw x0, [x25] str x26, [sp, #-16]! Lloh44: adrp x1, l_.str.7@PAGE Lloh45: add x1, x1, l_.str.7@PAGEOFF bl _buf_printf LBB0_29: ; in Loop: Header=BB0_18 Depth=2 add sp, sp, #16 b LBB0_17 LBB0_30: ldur x8, [x29, #-88] Lloh46: adrp x9, ___stack_chk_guard@GOTPAGE Lloh47: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh48: ldr x9, [x9] cmp x9, x8 b.ne LBB0_32 ; %bb.31: sub sp, x29, #80 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_32: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGot Lloh40, Lloh41 .loh AdrpLdrGot Lloh42, Lloh43 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%c" l_.str.1: ; @.str.1 .asciz "_" l_.str.2: ; @.str.2 .asciz "header" l_.str.3: ; @.str.3 .asciz "source" l_.str.4: ; @.str.4 .asciz "preamble" l_.str.5: ; @.str.5 .asciz "postamble" .comm _DECL_NOTE,8,3 ; @DECL_NOTE .comm _foreign_name,8,3 ; @foreign_name .comm _EXPR_STR,8,3 ; @EXPR_STR l_.str.6: ; @.str.6 .asciz "#foreign argument must be a string" .comm _MAX_PATH,4,2 ; @MAX_PATH .comm _gen_preamble_buf,4,2 ; @gen_preamble_buf l_.str.7: ; @.str.7 .asciz "%s\n" .comm _gen_postamble_buf,4,2 ; @gen_postamble_buf l_.str.8: ; @.str.8 .asciz "Unknown #foreign named argument '%s'" .no_dead_strip _preprocess_package .subsections_via_symbols
AnghaBench/bitwise/ion/extr_gen.c_preprocess_package.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bond_alb_deinit_slave ## -- Begin function bond_alb_deinit_slave .p2align 4, 0x90 _bond_alb_deinit_slave: ## @bond_alb_deinit_slave .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx callq _bond_has_slaves testq %rax, %rax je LBB0_2 ## %bb.1: movq %rbx, %rdi movq %r14, %rsi callq _alb_change_hw_addr_on_detach LBB0_2: movq %rbx, %rdi movq %r14, %rsi xorl %edx, %edx callq _tlb_clear_slave cmpq $0, 8(%rbx) je LBB0_3 ## %bb.4: movq $0, (%rbx) movq %rbx, %rdi movq %r14, %rsi popq %rbx popq %r14 popq %rbp jmp _rlb_clear_slave ## TAILCALL LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bond_alb_deinit_slave ; -- Begin function bond_alb_deinit_slave .p2align 2 _bond_alb_deinit_slave: ; @bond_alb_deinit_slave .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _bond_has_slaves cbz x0, LBB0_2 ; %bb.1: mov x0, x20 mov x1, x19 bl _alb_change_hw_addr_on_detach LBB0_2: mov x0, x20 mov x1, x19 mov w2, #0 bl _tlb_clear_slave ldr x8, [x20, #8] cbz x8, LBB0_4 ; %bb.3: str xzr, [x20] 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 _rlb_clear_slave LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/net/bonding/extr_bond_alb.c_bond_alb_deinit_slave.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wsdl_message _wsdl_message: ## @wsdl_message .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, %r14 movq %rdi, %r15 movq %rsi, %rdi movl $58, %esi callq _strrchr leaq 1(%rax), %rbx testq %rax, %rax cmoveq %r14, %rbx movq %r15, -48(%rbp) ## 8-byte Spill addq $4, %r15 movq %rbx, %rdi callq _strlen movq %r15, %rdi movq %rbx, %rsi movl %eax, %edx callq _zend_hash_str_find_ptr movq %rax, %rbx testq %rax, %rax jne LBB0_2 ## %bb.1: movq _E_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi movq %r14, %rdx callq _soap_error1 LBB0_2: movl $4, %edi callq _emalloc movq %rax, %r12 movq _delete_parameter@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r12, %rdi xorl %esi, %esi xorl %edx, %edx xorl %r8d, %r8d callq _zend_hash_init movq %rbx, -56(%rbp) ## 8-byte Spill movq 32(%rbx), %rbx testq %rbx, %rbx je LBB0_20 ## %bb.3: leaq L_.str.2(%rip), %r13 jmp LBB0_4 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_4 Depth=1 movq -48(%rbp), %rcx ## 8-byte Reload movl (%rcx), %edi movq (%rax), %rax movq (%rax), %rdx movq %rbx, %rsi callq _get_encoder_from_prefix LBB0_17: ## in Loop: Header=BB0_4 Depth=1 movl %eax, 8(%r14) LBB0_18: ## in Loop: Header=BB0_4 Depth=1 movq %r12, %rdi movq %r14, %rsi callq _zend_hash_next_index_insert_ptr LBB0_19: ## in Loop: Header=BB0_4 Depth=1 movq (%rbx), %rbx testq %rbx, %rbx je LBB0_20 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq 24(%rbx), %rax testq %rax, %rax je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq (%rax), %rdi movq _WSDL_NAMESPACE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _strcmp testq %rax, %rax je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movq _E_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi movq 16(%rbx), %rdx leaq L_.str.1(%rip), %rsi callq _soap_error1 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi movq %r13, %rsi callq _node_is_equal testq %rax, %rax jne LBB0_19 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi leaq L_.str.3(%rip), %rsi callq _node_is_equal testq %rax, %rax jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_4 Depth=1 movq _E_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi movq 16(%rbx), %rdx leaq L_.str.4(%rip), %rsi callq _soap_error1 LBB0_10: ## in Loop: Header=BB0_4 Depth=1 movl $4, %edi callq _emalloc movq %rax, %r14 movq %rax, %rdi xorl %esi, %esi movl $4, %edx callq _memset movq $0, 16(%r14) movl 8(%rbx), %edi leaq L_.str.5(%rip), %rsi callq _get_attribute movq %rax, %r15 testq %rax, %rax jne LBB0_12 ## %bb.11: ## in Loop: Header=BB0_4 Depth=1 movq _E_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi movq -56(%rbp), %rax ## 8-byte Reload movq 16(%rax), %rdx leaq L_.str.6(%rip), %rsi callq _soap_error1 LBB0_12: ## in Loop: Header=BB0_4 Depth=1 movq (%r15), %rax movq (%rax), %rdi callq _estrdup movl %eax, 12(%r14) movl 8(%rbx), %edi leaq L_.str.7(%rip), %rsi callq _get_attribute testq %rax, %rax jne LBB0_13 ## %bb.14: ## in Loop: Header=BB0_4 Depth=1 movl 8(%rbx), %edi leaq L_.str.8(%rip), %rsi callq _get_attribute testq %rax, %rax je LBB0_18 ## %bb.15: ## in Loop: Header=BB0_4 Depth=1 movq -48(%rbp), %rcx ## 8-byte Reload movl (%rcx), %edi movq (%rax), %rax movq (%rax), %rdx movq %rbx, %rsi callq _get_element movq %rax, (%r14) testq %rax, %rax je LBB0_18 ## %bb.16: ## in Loop: Header=BB0_4 Depth=1 movl (%rax), %eax jmp LBB0_17 LBB0_20: movq %r12, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _E_ERROR,4,2 ## @E_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Parsing WSDL: Missing <message> with name '%s'" .comm _delete_parameter,4,2 ## @delete_parameter .comm _WSDL_NAMESPACE,4,2 ## @WSDL_NAMESPACE L_.str.1: ## @.str.1 .asciz "Parsing WSDL: Unexpected extensibility element <%s>" L_.str.2: ## @.str.2 .asciz "documentation" L_.str.3: ## @.str.3 .asciz "part" L_.str.4: ## @.str.4 .asciz "Parsing WSDL: Unexpected WSDL element <%s>" L_.str.5: ## @.str.5 .asciz "name" L_.str.6: ## @.str.6 .asciz "Parsing WSDL: No name associated with <part> '%s'" L_.str.7: ## @.str.7 .asciz "type" L_.str.8: ## @.str.8 .asciz "element" .no_dead_strip _wsdl_message .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wsdl_message _wsdl_message: ; @wsdl_message .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 x21, x1 mov x19, x0 mov x0, x1 mov w1, #58 bl _strrchr cmp x0, #0 csinc x20, x21, x0, eq add x22, x19, #4 mov x0, x20 bl _strlen mov x2, x0 mov x0, x22 mov x1, x20 bl _zend_hash_str_find_ptr mov x20, x0 Lloh0: adrp x26, _E_ERROR@GOTPAGE Lloh1: ldr x26, [x26, _E_ERROR@GOTPAGEOFF] cbnz x0, LBB0_2 ; %bb.1: ldr w0, [x26] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF mov x2, x21 bl _soap_error1 LBB0_2: mov w0, #4 bl _emalloc mov x21, x0 Lloh4: adrp x8, _delete_parameter@GOTPAGE Lloh5: ldr x8, [x8, _delete_parameter@GOTPAGEOFF] Lloh6: ldr w3, [x8] mov w1, #0 mov x2, #0 mov w4, #0 bl _zend_hash_init ldr x22, [x20, #32] cbz x22, LBB0_20 ; %bb.3: Lloh7: adrp x23, l_.str.2@PAGE Lloh8: add x23, x23, l_.str.2@PAGEOFF Lloh9: adrp x28, _WSDL_NAMESPACE@GOTPAGE Lloh10: ldr x28, [x28, _WSDL_NAMESPACE@GOTPAGEOFF] Lloh11: adrp x27, l_.str.1@PAGE Lloh12: add x27, x27, l_.str.1@PAGEOFF b LBB0_8 LBB0_4: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x19] ldr x9, [x0] ldr x2, [x9] mov x0, x8 mov x1, x22 bl _get_encoder_from_prefix LBB0_5: ; in Loop: Header=BB0_8 Depth=1 str w0, [x25, #8] LBB0_6: ; in Loop: Header=BB0_8 Depth=1 mov x0, x21 mov x1, x25 bl _zend_hash_next_index_insert_ptr LBB0_7: ; in Loop: Header=BB0_8 Depth=1 ldr x22, [x22] cbz x22, LBB0_20 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22, #24] cbz x8, LBB0_11 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 ldr x0, [x8] ldr w1, [x28] bl _strcmp cbz x0, LBB0_11 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 ldr w0, [x26] ldr x2, [x22, #16] mov x1, x27 bl _soap_error1 LBB0_11: ; in Loop: Header=BB0_8 Depth=1 mov x0, x22 mov x1, x23 bl _node_is_equal cbnz x0, LBB0_7 ; %bb.12: ; in Loop: Header=BB0_8 Depth=1 mov x0, x22 Lloh13: adrp x1, l_.str.3@PAGE Lloh14: add x1, x1, l_.str.3@PAGEOFF bl _node_is_equal cbnz x0, LBB0_14 ; %bb.13: ; in Loop: Header=BB0_8 Depth=1 ldr w0, [x26] ldr x2, [x22, #16] Lloh15: adrp x1, l_.str.4@PAGE Lloh16: add x1, x1, l_.str.4@PAGEOFF bl _soap_error1 LBB0_14: ; in Loop: Header=BB0_8 Depth=1 mov w0, #4 bl _emalloc mov x25, x0 mov w1, #0 mov w2, #4 bl _memset str xzr, [x25, #16] ldr w0, [x22, #8] Lloh17: adrp x1, l_.str.5@PAGE Lloh18: add x1, x1, l_.str.5@PAGEOFF bl _get_attribute mov x24, x0 cbnz x0, LBB0_16 ; %bb.15: ; in Loop: Header=BB0_8 Depth=1 ldr w0, [x26] ldr x2, [x20, #16] Lloh19: adrp x1, l_.str.6@PAGE Lloh20: add x1, x1, l_.str.6@PAGEOFF bl _soap_error1 LBB0_16: ; in Loop: Header=BB0_8 Depth=1 ldr x8, [x24] ldr x0, [x8] bl _estrdup str w0, [x25, #12] ldr w0, [x22, #8] Lloh21: adrp x1, l_.str.7@PAGE Lloh22: add x1, x1, l_.str.7@PAGEOFF bl _get_attribute cbnz x0, LBB0_4 ; %bb.17: ; in Loop: Header=BB0_8 Depth=1 ldr w0, [x22, #8] Lloh23: adrp x1, l_.str.8@PAGE Lloh24: add x1, x1, l_.str.8@PAGEOFF bl _get_attribute cbz x0, LBB0_6 ; %bb.18: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x19] ldr x9, [x0] ldr x2, [x9] mov x0, x8 mov x1, x22 bl _get_element str x0, [x25] cbz x0, LBB0_6 ; %bb.19: ; in Loop: Header=BB0_8 Depth=1 ldr w0, [x0] b LBB0_5 LBB0_20: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload 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 Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .cfi_endproc ; -- End function .comm _E_ERROR,4,2 ; @E_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Parsing WSDL: Missing <message> with name '%s'" .comm _delete_parameter,4,2 ; @delete_parameter .comm _WSDL_NAMESPACE,4,2 ; @WSDL_NAMESPACE l_.str.1: ; @.str.1 .asciz "Parsing WSDL: Unexpected extensibility element <%s>" l_.str.2: ; @.str.2 .asciz "documentation" l_.str.3: ; @.str.3 .asciz "part" l_.str.4: ; @.str.4 .asciz "Parsing WSDL: Unexpected WSDL element <%s>" l_.str.5: ; @.str.5 .asciz "name" l_.str.6: ; @.str.6 .asciz "Parsing WSDL: No name associated with <part> '%s'" l_.str.7: ; @.str.7 .asciz "type" l_.str.8: ; @.str.8 .asciz "element" .no_dead_strip _wsdl_message .subsections_via_symbols
AnghaBench/php-src/ext/soap/extr_php_sdl.c_wsdl_message.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qeth_query_setdiagass_cb _qeth_query_setdiagass_cb: ## @qeth_query_setdiagass_cb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 8(%rdx), %rcx testq %rcx, %rcx je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdx movl $2, %esi callq _QETH_CARD_TEXT_ movq _EIO@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbp retq LBB0_2: movl (%rdx), %eax movl %eax, (%rdi) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "diagq:%x" .comm _EIO,4,2 ## @EIO .no_dead_strip _qeth_query_setdiagass_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qeth_query_setdiagass_cb _qeth_query_setdiagass_cb: ; @qeth_query_setdiagass_cb .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x8, x0 ldr x3, [x2, #8] cbz x3, LBB0_2 ; %bb.1: Lloh0: adrp x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF mov x0, x8 mov w1, #2 bl _QETH_CARD_TEXT_ Lloh2: adrp x8, _EIO@GOTPAGE Lloh3: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: mov w0, #0 ldr w9, [x2] str w9, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "diagq:%x" .comm _EIO,4,2 ; @EIO .no_dead_strip _qeth_query_setdiagass_cb .subsections_via_symbols
AnghaBench/linux/drivers/s390/net/extr_qeth_core_main.c_qeth_query_setdiagass_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wpas_p2p_setup_channels _wpas_p2p_setup_channels: ## @wpas_p2p_setup_channels .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, %rbx movq %rdi, %rsi cmpq $0, 24(%rdi) je LBB0_29 ## %bb.1: movq %rbx, -96(%rbp) ## 8-byte Spill movq %r14, -88(%rbp) ## 8-byte Spill movq _global_op_class@GOTPCREL(%rip), %r14 movq (%r14), %r15 cmpq $0, 32(%r15) je LBB0_30 ## %bb.2: leaq 32(%r15), %rax movq %rax, -72(%rbp) ## 8-byte Spill movq _NO_P2P_SUPP@GOTPCREL(%rip), %rcx xorl %edx, %edx xorl %eax, %eax movq %rax, -64(%rbp) ## 8-byte Spill xorl %eax, %eax movq %rax, -48(%rbp) ## 8-byte Spill jmp LBB0_6 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_6 Depth=1 movq %r12, %rsi LBB0_4: ## in Loop: Header=BB0_6 Depth=1 movq _NO_P2P_SUPP@GOTPCREL(%rip), %rcx movq -56(%rbp), %rdx ## 8-byte Reload LBB0_5: ## in Loop: Header=BB0_6 Depth=1 incq %rdx movq (%r14), %r15 leaq (%rdx,%rdx,2), %rax shlq $4, %rax leaq (%r15,%rax), %rdi addq $32, %rdi movq %rdi, -72(%rbp) ## 8-byte Spill cmpq $0, 32(%r15,%rax) je LBB0_31 LBB0_6: ## =>This Loop Header: Depth=1 ## Child Loop BB0_17 Depth 2 leaq (%rdx,%rdx,2), %rbx shlq $4, %rbx movq (%r15,%rbx), %rax cmpq (%rcx), %rax je LBB0_5 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movq %rdx, -56(%rbp) ## 8-byte Spill movq 24(%rsi), %rdi movq %rsi, %r12 movl 16(%rsi), %esi movl 44(%r15,%rbx), %edx callq _get_mode testq %rax, %rax je LBB0_3 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 movq %rax, %r13 movq (%rax), %rax movq _HOSTAPD_MODE_IEEE80211G@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax movq %r12, %rsi jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_6 Depth=1 movq 8(%rsi), %rax movl $1, (%rax) LBB0_10: ## in Loop: Header=BB0_6 Depth=1 movq 8(%r15,%rbx), %r14 cmpq 16(%r15,%rbx), %r14 jle LBB0_12 ## %bb.11: ## in Loop: Header=BB0_6 Depth=1 movq _global_op_class@GOTPCREL(%rip), %r14 jmp LBB0_4 LBB0_12: ## in Loop: Header=BB0_6 Depth=1 addq %rbx, %r15 addq $16, %r15 xorl %eax, %eax movq %rax, -80(%rbp) ## 8-byte Spill xorl %ebx, %ebx jmp LBB0_17 .p2align 4, 0x90 LBB0_24: ## in Loop: Header=BB0_17 Depth=2 movq %r12, %rsi LBB0_16: ## in Loop: Header=BB0_17 Depth=2 addq 8(%r15), %r14 cmpq (%r15), %r14 jg LBB0_25 LBB0_17: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 movl 24(%r15), %ecx movq %rsi, %rdi movq %r13, %rsi movq %r14, %rdx callq _wpas_p2p_verify_channel movq _ALLOWED@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_20 ## %bb.18: ## in Loop: Header=BB0_17 Depth=2 testq %rbx, %rbx je LBB0_13 ## %bb.19: ## in Loop: Header=BB0_17 Depth=2 movq %rbx, %rax jmp LBB0_14 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_17 Depth=2 movq _NO_IR@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_24 ## %bb.21: ## in Loop: Header=BB0_17 Depth=2 movq %r12, %rsi movq (%r12), %rax cmpq $0, (%rax) je LBB0_16 ## %bb.22: ## in Loop: Header=BB0_17 Depth=2 movq -80(%rbp), %rax ## 8-byte Reload testq %rax, %rax jne LBB0_15 ## %bb.23: ## in Loop: Header=BB0_17 Depth=2 movq _MSG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq -72(%rbp), %rax ## 8-byte Reload movq (%rax), %rdx leaq L_.str.2(%rip), %rsi xorl %eax, %eax callq _wpa_printf movq -88(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rcx movq -48(%rbp), %rsi ## 8-byte Reload movslq %esi, %rsi leaq (%rsi,%rsi,2), %rdx leaq (%rcx,%rdx,8), %rax incl %esi movq %rsi, -48(%rbp) ## 8-byte Spill movq -72(%rbp), %rsi ## 8-byte Reload movq (%rsi), %rsi movq %rsi, 16(%rcx,%rdx,8) movq %r12, %rsi movq %rax, %rcx movq %rax, -80(%rbp) ## 8-byte Spill jmp LBB0_15 LBB0_13: ## in Loop: Header=BB0_17 Depth=2 movq _MSG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq -72(%rbp), %rbx ## 8-byte Reload movq (%rbx), %rdx leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq _wpa_printf movq -96(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rcx movq -64(%rbp), %rsi ## 8-byte Reload movslq %esi, %rsi leaq (%rsi,%rsi,2), %rdx leaq (%rcx,%rdx,8), %rax incl %esi movq %rsi, -64(%rbp) ## 8-byte Spill movq (%rbx), %rsi movq %rsi, 16(%rcx,%rdx,8) movq %rax, %rbx LBB0_14: ## in Loop: Header=BB0_17 Depth=2 movq %r12, %rsi LBB0_15: ## in Loop: Header=BB0_17 Depth=2 movq (%rax), %rcx movq 8(%rax), %rdx movq %r14, (%rdx,%rcx,8) incq (%rax) jmp LBB0_16 LBB0_25: ## in Loop: Header=BB0_6 Depth=1 testq %rbx, %rbx je LBB0_27 ## %bb.26: ## in Loop: Header=BB0_6 Depth=1 movq _MSG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq (%rbx), %rcx movq 8(%rbx), %rdx leaq L_.str.3(%rip), %rsi callq _wpa_hexdump movq %r12, %rsi LBB0_27: ## in Loop: Header=BB0_6 Depth=1 movq -80(%rbp), %rdx ## 8-byte Reload testq %rdx, %rdx movq _global_op_class@GOTPCREL(%rip), %r14 je LBB0_4 ## %bb.28: ## in Loop: Header=BB0_6 Depth=1 movq _MSG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq (%rdx), %rcx movq 8(%rdx), %rdx leaq L_.str.4(%rip), %rsi callq _wpa_hexdump jmp LBB0_3 LBB0_29: movq _MSG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq %rsi, %r15 leaq L_.str(%rip), %rsi xorl %eax, %eax callq _wpa_printf movq %r15, %rdi movq %rbx, %rsi movq %r14, %rdx addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _wpas_p2p_default_channels ## TAILCALL LBB0_30: xorl %eax, %eax movq %rax, -48(%rbp) ## 8-byte Spill xorl %eax, %eax movq %rax, -64(%rbp) ## 8-byte Spill LBB0_31: movq -96(%rbp), %rax ## 8-byte Reload movq -64(%rbp), %rcx ## 8-byte Reload movl %ecx, (%rax) movq -88(%rbp), %rax ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload movl %ecx, (%rax) xorl %eax, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MSG_DEBUG,4,2 ## @MSG_DEBUG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "P2P: Driver did not support fetching of all supported channels; assume dualband support" .comm _global_op_class,8,3 ## @global_op_class .comm _NO_P2P_SUPP,8,3 ## @NO_P2P_SUPP .comm _HOSTAPD_MODE_IEEE80211G,8,3 ## @HOSTAPD_MODE_IEEE80211G .comm _ALLOWED,4,2 ## @ALLOWED L_.str.1: ## @.str.1 .asciz "P2P: Add operating class %u" .comm _NO_IR,4,2 ## @NO_IR L_.str.2: ## @.str.2 .asciz "P2P: Add operating class %u (client only)" L_.str.3: ## @.str.3 .asciz "P2P: Channels" L_.str.4: ## @.str.4 .asciz "P2P: Channels (client only)" .no_dead_strip _wpas_p2p_setup_channels .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wpas_p2p_setup_channels _wpas_p2p_setup_channels: ; @wpas_p2p_setup_channels .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x2 mov x20, x1 mov x21, x0 ldr x8, [x0, #24] cbz x8, LBB0_26 ; %bb.1: str x20, [sp, #32] ; 8-byte Folded Spill str x19, [sp, #16] ; 8-byte Folded Spill Lloh0: adrp x22, _global_op_class@GOTPAGE Lloh1: ldr x22, [x22, _global_op_class@GOTPAGEOFF] ldr x19, [x22] mov x28, x19 ldr x8, [x28, #32]! cbz x8, LBB0_27 ; %bb.2: mov x25, #0 str wzr, [sp, #44] ; 4-byte Folded Spill str wzr, [sp, #28] ; 4-byte Folded Spill mov w23, #48 Lloh2: adrp x24, _NO_P2P_SUPP@GOTPAGE Lloh3: ldr x24, [x24, _NO_P2P_SUPP@GOTPAGEOFF] b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 Lloh4: adrp x22, _global_op_class@GOTPAGE Lloh5: ldr x22, [x22, _global_op_class@GOTPAGEOFF] mov w23, #48 Lloh6: adrp x24, _NO_P2P_SUPP@GOTPAGE Lloh7: ldr x24, [x24, _NO_P2P_SUPP@GOTPAGEOFF] LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x25, x25, #1 ldr x19, [x22] madd x28, x25, x23, x19 ldr x8, [x28, #32]! cbz x8, LBB0_28 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_14 Depth 2 mul x8, x25, x23 ldr x8, [x19, x8] ldr x9, [x24] cmp x8, x9 b.eq LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x21, #24] ldr w1, [x21, #16] madd x8, x25, x23, x19 ldr w2, [x8, #44] bl _get_mode cbz x0, LBB0_4 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 mov x26, x0 ldr x8, [x0] Lloh8: adrp x9, _HOSTAPD_MODE_IEEE80211G@GOTPAGE Lloh9: ldr x9, [x9, _HOSTAPD_MODE_IEEE80211G@GOTPAGEOFF] Lloh10: ldr x9, [x9] cmp x8, x9 b.ne LBB0_9 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x21, #8] mov w9, #1 str w9, [x8] LBB0_9: ; in Loop: Header=BB0_5 Depth=1 madd x20, x25, x23, x19 ldr x8, [x20, #16]! ldur x27, [x20, #-8] cmp x27, x8 b.gt LBB0_4 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 mov w8, #48 mov x23, #0 mov x24, #0 madd x8, x25, x8, x19 add x19, x8, #40 add x22, x8, #24 b LBB0_14 LBB0_11: ; in Loop: Header=BB0_14 Depth=2 Lloh11: adrp x8, _MSG_DEBUG@GOTPAGE Lloh12: ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF] Lloh13: ldr w0, [x8] ldr x8, [x28] str x8, [sp] Lloh14: adrp x1, l_.str.1@PAGE Lloh15: add x1, x1, l_.str.1@PAGEOFF bl _wpa_printf ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x8, [x8, #8] ldr w9, [sp, #44] ; 4-byte Folded Reload mov w10, #24 smaddl x8, w9, w10, x8 add w9, w9, #1 str w9, [sp, #44] ; 4-byte Folded Spill ldr x9, [x28] str x9, [x8, #16] mov x24, x8 LBB0_12: ; in Loop: Header=BB0_14 Depth=2 ldp x10, x9, [x8] str x27, [x9, x10, lsl #3] ldr x9, [x8] add x9, x9, #1 str x9, [x8] LBB0_13: ; in Loop: Header=BB0_14 Depth=2 ldr x8, [x22] ldr x9, [x20] add x27, x8, x27 cmp x27, x9 b.gt LBB0_22 LBB0_14: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w3, [x19] mov x0, x21 mov x1, x26 mov x2, x27 bl _wpas_p2p_verify_channel Lloh16: adrp x8, _ALLOWED@GOTPAGE Lloh17: ldr x8, [x8, _ALLOWED@GOTPAGEOFF] Lloh18: ldr w8, [x8] cmp w0, w8 b.ne LBB0_17 ; %bb.15: ; in Loop: Header=BB0_14 Depth=2 cbz x24, LBB0_11 ; %bb.16: ; in Loop: Header=BB0_14 Depth=2 mov x8, x24 b LBB0_12 LBB0_17: ; in Loop: Header=BB0_14 Depth=2 Lloh19: adrp x8, _NO_IR@GOTPAGE Lloh20: ldr x8, [x8, _NO_IR@GOTPAGEOFF] Lloh21: ldr w8, [x8] cmp w0, w8 b.ne LBB0_13 ; %bb.18: ; in Loop: Header=BB0_14 Depth=2 ldr x8, [x21] ldr x8, [x8] cbz x8, LBB0_13 ; %bb.19: ; in Loop: Header=BB0_14 Depth=2 cbz x23, LBB0_21 ; %bb.20: ; in Loop: Header=BB0_14 Depth=2 mov x8, x23 b LBB0_12 LBB0_21: ; in Loop: Header=BB0_14 Depth=2 Lloh22: adrp x8, _MSG_DEBUG@GOTPAGE Lloh23: ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF] Lloh24: ldr w0, [x8] ldr x8, [x28] str x8, [sp] Lloh25: adrp x1, l_.str.2@PAGE Lloh26: add x1, x1, l_.str.2@PAGEOFF bl _wpa_printf ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8, #8] ldr w9, [sp, #28] ; 4-byte Folded Reload mov w10, #24 smaddl x8, w9, w10, x8 add w9, w9, #1 str w9, [sp, #28] ; 4-byte Folded Spill ldr x9, [x28] str x9, [x8, #16] mov x23, x8 b LBB0_12 LBB0_22: ; in Loop: Header=BB0_5 Depth=1 cbz x24, LBB0_24 ; %bb.23: ; in Loop: Header=BB0_5 Depth=1 Lloh27: adrp x8, _MSG_DEBUG@GOTPAGE Lloh28: ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF] Lloh29: ldr w0, [x8] ldp x3, x2, [x24] Lloh30: adrp x1, l_.str.3@PAGE Lloh31: add x1, x1, l_.str.3@PAGEOFF bl _wpa_hexdump LBB0_24: ; in Loop: Header=BB0_5 Depth=1 cbz x23, LBB0_3 ; %bb.25: ; in Loop: Header=BB0_5 Depth=1 Lloh32: adrp x8, _MSG_DEBUG@GOTPAGE Lloh33: ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF] Lloh34: ldr w0, [x8] ldp x3, x2, [x23] Lloh35: adrp x1, l_.str.4@PAGE Lloh36: add x1, x1, l_.str.4@PAGEOFF bl _wpa_hexdump b LBB0_3 LBB0_26: Lloh37: adrp x8, _MSG_DEBUG@GOTPAGE Lloh38: ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF] Lloh39: ldr w0, [x8] Lloh40: adrp x1, l_.str@PAGE Lloh41: add x1, x1, l_.str@PAGEOFF bl _wpa_printf mov x0, x21 mov x1, x20 mov x2, x19 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 b _wpas_p2p_default_channels LBB0_27: str wzr, [sp, #28] ; 4-byte Folded Spill str wzr, [sp, #44] ; 4-byte Folded Spill LBB0_28: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w9, [sp, #44] ; 4-byte Folded Reload str w9, [x8] ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w9, [sp, #28] ; 4-byte Folded Reload str w9, [x8] 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 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .cfi_endproc ; -- End function .comm _MSG_DEBUG,4,2 ; @MSG_DEBUG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "P2P: Driver did not support fetching of all supported channels; assume dualband support" .comm _global_op_class,8,3 ; @global_op_class .comm _NO_P2P_SUPP,8,3 ; @NO_P2P_SUPP .comm _HOSTAPD_MODE_IEEE80211G,8,3 ; @HOSTAPD_MODE_IEEE80211G .comm _ALLOWED,4,2 ; @ALLOWED l_.str.1: ; @.str.1 .asciz "P2P: Add operating class %u" .comm _NO_IR,4,2 ; @NO_IR l_.str.2: ; @.str.2 .asciz "P2P: Add operating class %u (client only)" l_.str.3: ; @.str.3 .asciz "P2P: Channels" l_.str.4: ; @.str.4 .asciz "P2P: Channels (client only)" .no_dead_strip _wpas_p2p_setup_channels .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_p2p_supplicant.c_wpas_p2p_setup_channels.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fz_sha256_update ## -- Begin function fz_sha256_update .p2align 4, 0x90 _fz_sha256_update: ## @fz_sha256_update .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testq %rdx, %rdx je LBB0_7 ## %bb.1: movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %r15 jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 subq %rbx, %r14 testb $63, %al je LBB0_5 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 addq %rbx, %r12 testq %r14, %r14 je LBB0_7 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rax movl (%rax), %edi andl $63, %edi movl $64, %eax subq %rdi, %rax cmpq %rax, %r14 movl %r14d, %ebx cmovael %eax, %ebx addq 16(%r15), %rdi movq %r12, %rsi movl %ebx, %edx callq _memcpy movq (%r15), %rcx movl (%rcx), %eax addl %ebx, %eax movl %eax, (%rcx) jae LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 incl 4(%rcx) jmp LBB0_4 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movl 8(%r15), %esi movl 24(%r15), %edi callq _transform256 jmp LBB0_6 LBB0_7: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fz_sha256_update ; -- Begin function fz_sha256_update .p2align 2 _fz_sha256_update: ; @fz_sha256_update .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 cbz x2, LBB0_7 ; %bb.1: mov x19, x2 mov x20, x1 mov x21, x0 mov w23, #64 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 sub x19, x19, x22 tst w8, #0x3f b.eq LBB0_6 ; %bb.3: ; in Loop: Header=BB0_4 Depth=1 add x20, x20, x22 cbz x19, LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] ldr w8, [x8] and x8, x8, #0x3f sub x9, x23, x8 cmp x19, x9 csel w22, w19, w9, lo ldr x9, [x21, #16] add x0, x9, x8 mov x1, x20 mov x2, x22 bl _memcpy ldr x9, [x21] ldr w8, [x9] adds w8, w22, w8 str w8, [x9] b.lo LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w10, [x9, #4] add w10, w10, #1 str w10, [x9, #4] b LBB0_2 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x21, #24] ldr w1, [x21, #8] bl _transform256 add x20, x20, x22 cbnz x19, LBB0_4 LBB0_7: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/sumatrapdf/mupdf/source/fitz/extr_crypt-sha2.c_fz_sha256_update.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _drm_mode_config_init ## -- Begin function drm_mode_config_init .p2align 4, 0x90 _drm_mode_config_init: ## @drm_mode_config_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx addq $112, %rdi callq _mutex_init leaq 108(%rbx), %rdi callq _drm_modeset_lock_init leaq 104(%rbx), %rdi callq _mutex_init leaq 100(%rbx), %rdi callq _mutex_init leaq 96(%rbx), %rdi callq _mutex_init leaq 92(%rbx), %rdi callq _INIT_LIST_HEAD leaq 88(%rbx), %rdi callq _INIT_LIST_HEAD leaq 84(%rbx), %rdi callq _INIT_LIST_HEAD leaq 80(%rbx), %rdi callq _INIT_LIST_HEAD leaq 76(%rbx), %rdi callq _INIT_LIST_HEAD leaq 72(%rbx), %rdi callq _INIT_LIST_HEAD leaq 68(%rbx), %rdi callq _INIT_LIST_HEAD leaq 64(%rbx), %rdi callq _INIT_LIST_HEAD leaq 60(%rbx), %rdi callq _idr_init leaq 56(%rbx), %rdi callq _idr_init leaq 52(%rbx), %rdi callq _ida_init leaq 48(%rbx), %rdi callq _spin_lock_init leaq 44(%rbx), %rdi callq _init_llist_head leaq 40(%rbx), %rdi movq _drm_connector_free_work_fn@GOTPCREL(%rip), %rax movl (%rax), %esi callq _INIT_WORK movq %rbx, %rdi callq _drm_mode_create_standard_properties xorps %xmm0, %xmm0 movups %xmm0, (%rbx) movups %xmm0, 16(%rbx) movq $0, 32(%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _drm_connector_free_work_fn,4,2 ## @drm_connector_free_work_fn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _drm_mode_config_init ; -- Begin function drm_mode_config_init .p2align 2 _drm_mode_config_init: ; @drm_mode_config_init .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 add x0, x0, #112 bl _mutex_init add x0, x19, #108 bl _drm_modeset_lock_init add x0, x19, #104 bl _mutex_init add x0, x19, #100 bl _mutex_init add x0, x19, #96 bl _mutex_init add x0, x19, #92 bl _INIT_LIST_HEAD add x0, x19, #88 bl _INIT_LIST_HEAD add x0, x19, #84 bl _INIT_LIST_HEAD add x0, x19, #80 bl _INIT_LIST_HEAD add x0, x19, #76 bl _INIT_LIST_HEAD add x0, x19, #72 bl _INIT_LIST_HEAD add x0, x19, #68 bl _INIT_LIST_HEAD add x0, x19, #64 bl _INIT_LIST_HEAD add x0, x19, #60 bl _idr_init add x0, x19, #56 bl _idr_init add x0, x19, #52 bl _ida_init add x0, x19, #48 bl _spin_lock_init add x0, x19, #44 bl _init_llist_head add x0, x19, #40 Lloh0: adrp x8, _drm_connector_free_work_fn@GOTPAGE Lloh1: ldr x8, [x8, _drm_connector_free_work_fn@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _INIT_WORK mov x0, x19 bl _drm_mode_create_standard_properties movi.2d v0, #0000000000000000 stp q0, q0, [x19] str xzr, [x19, #32] 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 _drm_connector_free_work_fn,4,2 ; @drm_connector_free_work_fn .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/extr_drm_mode_config.c_drm_mode_config_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _devctl_reset ## -- Begin function devctl_reset .p2align 4, 0x90 _devctl_reset: ## @devctl_reset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %esi, %edx movq %rdi, %rsi movq _DEV_RESET@GOTPCREL(%rip), %rax movl (%rax), %edi testl %edx, %edx je LBB0_2 ## %bb.1: movq _DEVF_RESET_DETACH@GOTPCREL(%rip), %rax movl (%rax), %edx LBB0_2: popq %rbp jmp _devctl_simple_request ## TAILCALL .cfi_endproc ## -- End function .comm _DEV_RESET,4,2 ## @DEV_RESET .comm _DEVF_RESET_DETACH,4,2 ## @DEVF_RESET_DETACH .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _devctl_reset ; -- Begin function devctl_reset .p2align 2 _devctl_reset: ; @devctl_reset .cfi_startproc ; %bb.0: mov x8, x0 Lloh0: adrp x9, _DEV_RESET@GOTPAGE Lloh1: ldr x9, [x9, _DEV_RESET@GOTPAGEOFF] Lloh2: ldr w0, [x9] Lloh3: adrp x9, _DEVF_RESET_DETACH@GOTPAGE Lloh4: ldr x9, [x9, _DEVF_RESET_DETACH@GOTPAGEOFF] Lloh5: ldr w9, [x9] cmp w1, #0 csel w2, wzr, w9, eq mov x1, x8 b _devctl_simple_request .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DEV_RESET,4,2 ; @DEV_RESET .comm _DEVF_RESET_DETACH,4,2 ; @DEVF_RESET_DETACH .subsections_via_symbols
AnghaBench/freebsd/lib/libdevctl/extr_devctl.c_devctl_reset.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function process_truncate_chunk _process_truncate_chunk: ## @process_truncate_chunk .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %esi, -8(%rbp) movq _RelationRelationId@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) movl (%rdx), %esi leaq -8(%rbp), %rdi xorl %edx, %edx callq _performDeletion addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _RelationRelationId,4,2 ## @RelationRelationId .no_dead_strip _process_truncate_chunk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function process_truncate_chunk _process_truncate_chunk: ; @process_truncate_chunk .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, _RelationRelationId@GOTPAGE Lloh1: ldr x8, [x8, _RelationRelationId@GOTPAGEOFF] Lloh2: ldr w8, [x8] stp w1, w8, [sp, #8] ldr w1, [x2] add x0, sp, #8 mov w2, #0 bl _performDeletion ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _RelationRelationId,4,2 ; @RelationRelationId .no_dead_strip _process_truncate_chunk .subsections_via_symbols
AnghaBench/timescaledb/src/extr_process_utility.c_process_truncate_chunk.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function show_features _show_features: ## @show_features .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 %rdx, %r14 callq _dev_get_drvdata movq (%rax), %rax movl (%rax), %edx movl 4(%rax), %ecx movl 8(%rax), %r8d movl 12(%rax), %r9d movl 16(%rax), %r10d movl 20(%rax), %r11d movl 24(%rax), %ebx movl 28(%rax), %eax leaq L_.str(%rip), %rsi movq %r14, %rdi pushq %rax pushq %rbx pushq %r11 pushq %r10 callq _sprintf addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "0x%02x%02x%02x%02x%02x%02x%02x%02x\n" .no_dead_strip _show_features .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function show_features _show_features: ; @show_features .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 bl _dev_get_drvdata ldr x8, [x0] ldp w2, w3, [x8] ldp w4, w5, [x8, #8] ldp w6, w7, [x8, #16] ldp w9, w8, [x8, #24] stp w9, w8, [sp] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _sprintf ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "0x%02x%02x%02x%02x%02x%02x%02x%02x\n" .no_dead_strip _show_features .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_sysfs.c_show_features.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative__catchAll ## -- Begin function J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative__catchAll .p2align 4, 0x90 _J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative__catchAll: ## @J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative__catchAll .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _J4A_ExceptionCheck__catchAll ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative__catchAll ; -- Begin function J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative__catchAll .p2align 2 _J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative__catchAll: ; @J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative__catchAll .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 _J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _J4A_ExceptionCheck__catchAll .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/ijkplayer/ijkmedia/ijkj4a/j4a/class/tv/danmaku/ijk/media/player/extr_IjkMediaPlayer.c_J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative__catchAll.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gdbstub_getoffsets ## -- Begin function gdbstub_getoffsets .p2align 4, 0x90 _gdbstub_getoffsets: ## @gdbstub_getoffsets .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq $0, (%rdi) movq ___data_fstart@GOTPCREL(%rip), %rax movq (%rax), %rax movq ___text_fstart@GOTPCREL(%rip), %rcx movq (%rcx), %rcx subq %rcx, %rax movq %rax, (%rsi) movq ___bss_fstart@GOTPCREL(%rip), %rax movq (%rax), %rax subq %rcx, %rax movq %rax, (%rdx) movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .comm ___text_fstart,8,3 ## @__text_fstart .comm ___data_fstart,8,3 ## @__data_fstart .comm ___bss_fstart,8,3 ## @__bss_fstart .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gdbstub_getoffsets ; -- Begin function gdbstub_getoffsets .p2align 2 _gdbstub_getoffsets: ; @gdbstub_getoffsets .cfi_startproc ; %bb.0: str xzr, [x0] Lloh0: adrp x8, ___data_fstart@GOTPAGE Lloh1: ldr x8, [x8, ___data_fstart@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, ___text_fstart@GOTPAGE Lloh4: ldr x9, [x9, ___text_fstart@GOTPAGEOFF] Lloh5: ldr x9, [x9] sub x8, x8, x9 str x8, [x1] Lloh6: adrp x8, ___bss_fstart@GOTPAGE Lloh7: ldr x8, [x8, ___bss_fstart@GOTPAGEOFF] Lloh8: ldr x8, [x8] sub x8, x8, x9 str x8, [x2] mov w0, #1 ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm ___text_fstart,8,3 ; @__text_fstart .comm ___data_fstart,8,3 ; @__data_fstart .comm ___bss_fstart,8,3 ; @__bss_fstart .subsections_via_symbols
AnghaBench/RetroArch/wii/libogc/libdb/extr_debug_supp.c_gdbstub_getoffsets.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mask_usr1_thread _mask_usr1_thread: ## @mask_usr1_thread .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 leaq -20(%rbp), %rbx movq %rbx, %rdi callq _sigemptyset movq _SIGUSR1@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _sigaddset movq _SIG_BLOCK@GOTPCREL(%rip), %rax movl (%rax), %edi movq %rbx, %rsi xorl %edx, %edx callq _pthread_sigmask xorl %edi, %edi testq %rax, %rax sete %dil callq _CHILD_REQUIRE movq %r14, %rdi callq _pthread_barrier_wait .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl $60, %edi callq _sleep jmp LBB0_1 .cfi_endproc ## -- End function .comm _SIGUSR1,4,2 ## @SIGUSR1 .comm _SIG_BLOCK,4,2 ## @SIG_BLOCK .no_dead_strip _mask_usr1_thread .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mask_usr1_thread _mask_usr1_thread: ; @mask_usr1_thread .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 add x0, sp, #12 bl _sigemptyset Lloh0: adrp x8, _SIGUSR1@GOTPAGE Lloh1: ldr x8, [x8, _SIGUSR1@GOTPAGEOFF] Lloh2: ldr w1, [x8] add x0, sp, #12 bl _sigaddset Lloh3: adrp x8, _SIG_BLOCK@GOTPAGE Lloh4: ldr x8, [x8, _SIG_BLOCK@GOTPAGEOFF] Lloh5: ldr w0, [x8] add x1, sp, #12 mov x2, #0 bl _pthread_sigmask cmp x0, #0 cset w0, eq bl _CHILD_REQUIRE mov x0, x19 bl _pthread_barrier_wait LBB0_1: ; =>This Inner Loop Header: Depth=1 mov w0, #60 bl _sleep b LBB0_1 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SIGUSR1,4,2 ; @SIGUSR1 .comm _SIG_BLOCK,4,2 ; @SIG_BLOCK .no_dead_strip _mask_usr1_thread .subsections_via_symbols
AnghaBench/freebsd/tests/sys/kern/extr_ptrace_test.c_mask_usr1_thread.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function do_connect _do_connect: ## @do_connect .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 xorl %eax, %eax callq _mmal_vc_init movl %eax, %ebx movq _MMAL_SUCCESS@GOTPCREL(%rip), %rax cmpl (%rax), %ebx jne LBB0_2 ## %bb.1: popq %rbx popq %r14 popq %rbp retq LBB0_2: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %r14d movl %ebx, %edi callq _mmal_status_to_string leaq L_.str(%rip), %rsi movl %r14d, %edi movl %ebx, %edx movq %rax, %rcx callq _fprintf movl $1, %edi callq _exit .cfi_endproc ## -- End function .comm _MMAL_SUCCESS,4,2 ## @MMAL_SUCCESS .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "failed to initialize mmal vc library (%i:%s)\n" .no_dead_strip _do_connect .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function do_connect _do_connect: ; @do_connect .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _mmal_vc_init Lloh0: adrp x8, _MMAL_SUCCESS@GOTPAGE Lloh1: ldr x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w0, w8 b.ne LBB0_2 ; %bb.1: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: Lloh3: adrp x8, _stderr@GOTPAGE Lloh4: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh5: ldr w19, [x8] mov x20, x0 bl _mmal_status_to_string mov x3, x0 Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF mov x0, x19 mov x2, x20 bl _fprintf mov w0, #1 bl _exit .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _MMAL_SUCCESS,4,2 ; @MMAL_SUCCESS .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "failed to initialize mmal vc library (%i:%s)\n" .no_dead_strip _do_connect .subsections_via_symbols
AnghaBench/RetroArch/gfx/include/userland/interface/mmal/vc/extr_mmal_vc_diag.c_do_connect.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _RestoreConsole ## -- Begin function RestoreConsole .p2align 4, 0x90 _RestoreConsole: ## @RestoreConsole .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _hStdin@GOTPCREL(%rip), %rax movl (%rax), %edi movq _inConMode@GOTPCREL(%rip), %rax movl (%rax), %esi callq _SetConsoleMode movq _hStdout@GOTPCREL(%rip), %rax movl (%rax), %edi movq _outConMode@GOTPCREL(%rip), %rax movl (%rax), %esi popq %rbp jmp _SetConsoleMode ## TAILCALL .cfi_endproc ## -- End function .comm _hStdin,4,2 ## @hStdin .comm _inConMode,4,2 ## @inConMode .comm _hStdout,4,2 ## @hStdout .comm _outConMode,4,2 ## @outConMode .comm _STD_OUTPUT_HANDLE,4,2 ## @STD_OUTPUT_HANDLE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _RestoreConsole ; -- Begin function RestoreConsole .p2align 2 _RestoreConsole: ; @RestoreConsole .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, _hStdin@GOTPAGE Lloh1: ldr x8, [x8, _hStdin@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x8, _inConMode@GOTPAGE Lloh4: ldr x8, [x8, _inConMode@GOTPAGEOFF] Lloh5: ldr w1, [x8] bl _SetConsoleMode Lloh6: adrp x8, _hStdout@GOTPAGE Lloh7: ldr x8, [x8, _hStdout@GOTPAGEOFF] Lloh8: ldr w0, [x8] Lloh9: adrp x8, _outConMode@GOTPAGE Lloh10: ldr x8, [x8, _outConMode@GOTPAGEOFF] Lloh11: ldr w1, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _SetConsoleMode .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _hStdin,4,2 ; @hStdin .comm _inConMode,4,2 ; @inConMode .comm _hStdout,4,2 ; @hStdout .comm _outConMode,4,2 ; @outConMode .comm _STD_OUTPUT_HANDLE,4,2 ; @STD_OUTPUT_HANDLE .subsections_via_symbols
AnghaBench/reactos/modules/rosapps/applications/sysutils/ctm/extr_ctm.c_RestoreConsole.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pdf_filter_MP _pdf_filter_MP: ## @pdf_filter_MP .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 xorl %edx, %edx callq _filter_flush movq (%rbx), %rsi movq (%rsi), %rax testq %rax, %rax je LBB0_1 ## %bb.2: movq %r15, %rdi movq %r14, %rdx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL LBB0_1: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _pdf_filter_MP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pdf_filter_MP _pdf_filter_MP: ; @pdf_filter_MP .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x21, x1 mov x20, x0 mov w2, #0 bl _filter_flush ldr x1, [x21] ldr x3, [x1] cbz x3, LBB0_2 ; %bb.1: mov x0, x20 mov x2, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload br x3 LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _pdf_filter_MP .subsections_via_symbols
AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-op-filter.c_pdf_filter_MP.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ams_delta_led_remove _ams_delta_led_remove: ## @ams_delta_led_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _ams_delta_leds@GOTPCREL(%rip), %r14 movq (%r14), %rdi callq _ARRAY_SIZE testl %eax, %eax jle LBB0_3 ## %bb.1: xorl %r15d, %r15d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rdi addq %r15, %rdi callq _led_classdev_unregister incq %rbx movq (%r14), %rdi callq _ARRAY_SIZE cltq addq $4, %r15 cmpq %rax, %rbx jl LBB0_2 LBB0_3: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ams_delta_leds,8,3 ## @ams_delta_leds .no_dead_strip _ams_delta_led_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ams_delta_led_remove _ams_delta_led_remove: ; @ams_delta_led_remove .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x19, _ams_delta_leds@GOTPAGE Lloh1: ldr x19, [x19, _ams_delta_leds@GOTPAGEOFF] ldr x0, [x19] bl _ARRAY_SIZE cmp w0, #1 b.lt LBB0_3 ; %bb.1: mov x20, #0 mov x21, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] add x0, x8, x20 bl _led_classdev_unregister add x21, x21, #1 ldr x0, [x19] bl _ARRAY_SIZE add x20, x20, #4 cmp x21, w0, sxtw b.lt LBB0_2 LBB0_3: mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _ams_delta_leds,8,3 ; @ams_delta_leds .no_dead_strip _ams_delta_led_remove .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/leds/extr_leds-ams-delta.c_ams_delta_led_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function menu_action_setting_disp_set_label_input_desc _menu_action_setting_disp_set_label_input_desc: ## @menu_action_setting_disp_set_label_input_desc .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 $280, %rsp ## imm = 0x118 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, %r13 movl %edx, %ebx movq %rsi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) xorl %eax, %eax callq _runloop_get_system_info movq %rax, %r15 xorl %eax, %eax callq _config_get_ptr testq %rax, %rax je LBB0_20 ## %bb.1: movq %rax, %rcx movq _MENU_SETTINGS_INPUT_DESC_BEGIN@GOTPCREL(%rip), %rax subl (%rax), %ebx movq _RARCH_FIRST_CUSTOM_BIND@GOTPCREL(%rip), %r14 movl (%r14), %esi addl $8, %esi movl %ebx, %eax xorl %edx, %edx divl %esi ## kill: def $edx killed $edx def $rdx ## kill: def $eax killed $eax def $rax testq %r15, %r15 je LBB0_20 ## %bb.2: movq %r13, -312(%rbp) ## 8-byte Spill movq %r12, -320(%rbp) ## 8-byte Spill movq (%rcx), %rcx movq (%rcx,%rax,8), %rcx movl (%rcx,%rdx,4), %r13d movq _RARCH_UNMAPPED@GOTPCREL(%rip), %rcx cmpl (%rcx), %r13d jne LBB0_4 ## %bb.3: xorl %r12d, %r12d jmp LBB0_5 LBB0_4: movq (%r15), %rcx movq (%rcx,%rax,8), %rax movq (%rax,%r13,8), %r12 LBB0_5: movq 40(%rbp), %r15 movq 24(%rbp), %rbx movq %r12, %rdi callq _string_is_empty testl %eax, %eax jne LBB0_8 ## %bb.6: cmpl (%r14), %r13d jae LBB0_8 ## %bb.7: movq -312(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movq 16(%rbp), %rdx callq _strlcpy jmp LBB0_19 LBB0_8: movq %r12, %rdi callq _string_is_empty movl %r13d, %r15d andl $1, %r15d testl %eax, %eax jne LBB0_13 ## %bb.9: cmpl (%r14), %r13d jb LBB0_13 ## %bb.10: testl %r15d, %r15d jne LBB0_13 ## %bb.11: leaq L_.str(%rip), %rdx leaq -304(%rbp), %rbx movq %rbx, %rdi movl $256, %esi ## imm = 0x100 movq %r12, %rcx movl $43, %r8d jmp LBB0_12 LBB0_13: movq %r12, %rdi callq _string_is_empty testl %eax, %eax jne LBB0_17 ## %bb.14: cmpl (%r14), %r13d jb LBB0_17 ## %bb.15: testl %r15d, %r15d je LBB0_17 ## %bb.16: leaq L_.str(%rip), %rdx leaq -304(%rbp), %rbx movq %rbx, %rdi movl $256, %esi ## imm = 0x100 movq %r12, %rcx movl $45, %r8d LBB0_12: callq _snprintf movq -312(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi jmp LBB0_18 LBB0_17: leaq L_.str.1(%rip), %rsi movq -312(%rbp), %rdi ## 8-byte Reload LBB0_18: movq 16(%rbp), %rdx callq _strlcpy movq 40(%rbp), %r15 movq 24(%rbp), %rbx LBB0_19: movq -320(%rbp), %rax ## 8-byte Reload movl $19, (%rax) movq 32(%rbp), %rdi movq %rbx, %rsi movq %r15, %rdx callq _strlcpy LBB0_20: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_22 ## %bb.21: addq $280, %rsp ## imm = 0x118 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_22: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MENU_SETTINGS_INPUT_DESC_BEGIN,4,2 ## @MENU_SETTINGS_INPUT_DESC_BEGIN .comm _RARCH_FIRST_CUSTOM_BIND,4,2 ## @RARCH_FIRST_CUSTOM_BIND .comm _RARCH_UNMAPPED,4,2 ## @RARCH_UNMAPPED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s %c" L_.str.1: ## @.str.1 .asciz "---" .no_dead_strip _menu_action_setting_disp_set_label_input_desc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function menu_action_setting_disp_set_label_input_desc _menu_action_setting_disp_set_label_input_desc: ; @menu_action_setting_disp_set_label_input_desc .cfi_startproc ; %bb.0: sub sp, sp, #368 .cfi_def_cfa_offset 368 stp x28, x27, [sp, #272] ; 16-byte Folded Spill stp x26, x25, [sp, #288] ; 16-byte Folded Spill stp x24, x23, [sp, #304] ; 16-byte Folded Spill stp x22, x21, [sp, #320] ; 16-byte Folded Spill stp x20, x19, [sp, #336] ; 16-byte Folded Spill stp x29, x30, [sp, #352] ; 16-byte Folded Spill add x29, sp, #352 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x7 mov x21, x6 mov x24, x5 mov x26, x2 mov x20, x1 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-96] bl _runloop_get_system_info mov x25, x0 bl _config_get_ptr cbz x0, LBB0_18 ; %bb.1: cbz x25, LBB0_18 ; %bb.2: Lloh3: adrp x8, _MENU_SETTINGS_INPUT_DESC_BEGIN@GOTPAGE Lloh4: ldr x8, [x8, _MENU_SETTINGS_INPUT_DESC_BEGIN@GOTPAGEOFF] ldp x23, x22, [x29, #16] Lloh5: ldr w8, [x8] sub w9, w26, w8 Lloh6: adrp x26, _RARCH_FIRST_CUSTOM_BIND@GOTPAGE Lloh7: ldr x26, [x26, _RARCH_FIRST_CUSTOM_BIND@GOTPAGEOFF] ldr w8, [x26] add w10, w8, #8 udiv w8, w9, w10 msub w9, w10, w8, w9 ldr x10, [x0] ldr x10, [x10, w8, uxtw #3] ldr w27, [x10, w9, uxtw #2] Lloh8: adrp x9, _RARCH_UNMAPPED@GOTPAGE Lloh9: ldr x9, [x9, _RARCH_UNMAPPED@GOTPAGEOFF] Lloh10: ldr w9, [x9] cmp w27, w9 b.ne LBB0_4 ; %bb.3: mov x25, #0 b LBB0_5 LBB0_4: ldr x9, [x25] ldr x8, [x9, x8, lsl #3] ldr x25, [x8, x27, lsl #3] LBB0_5: mov x0, x25 bl _string_is_empty cbnz w0, LBB0_8 ; %bb.6: ldr w8, [x26] cmp w27, w8 b.hs LBB0_8 ; %bb.7: mov x0, x24 mov x1, x25 b LBB0_17 LBB0_8: mov x0, x25 bl _string_is_empty and w28, w27, #0x1 cbnz w0, LBB0_11 ; %bb.9: ldr w8, [x26] cmp w27, w8 ccmp w28, #0, #0, hs b.ne LBB0_11 ; %bb.10: Lloh11: adrp x2, l_.str@PAGE Lloh12: add x2, x2, l_.str@PAGEOFF mov x0, sp mov w1, #256 mov x3, x25 mov w4, #43 b LBB0_14 LBB0_11: mov x0, x25 bl _string_is_empty cbnz w0, LBB0_15 ; %bb.12: ldr w8, [x26] cmp w27, w8 ccmp w28, #0, #4, hs b.eq LBB0_15 ; %bb.13: Lloh13: adrp x2, l_.str@PAGE Lloh14: add x2, x2, l_.str@PAGEOFF mov x0, sp mov w1, #256 mov x3, x25 mov w4, #45 LBB0_14: bl _snprintf mov x1, sp b LBB0_16 LBB0_15: Lloh15: adrp x1, l_.str.1@PAGE Lloh16: add x1, x1, l_.str.1@PAGEOFF LBB0_16: mov x0, x24 LBB0_17: mov x2, x21 bl _strlcpy mov w8, #19 str w8, [x20] mov x0, x23 mov x1, x19 mov x2, x22 bl _strlcpy LBB0_18: ldur x8, [x29, #-96] 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_20 ; %bb.19: ldp x29, x30, [sp, #352] ; 16-byte Folded Reload ldp x20, x19, [sp, #336] ; 16-byte Folded Reload ldp x22, x21, [sp, #320] ; 16-byte Folded Reload ldp x24, x23, [sp, #304] ; 16-byte Folded Reload ldp x26, x25, [sp, #288] ; 16-byte Folded Reload ldp x28, x27, [sp, #272] ; 16-byte Folded Reload add sp, sp, #368 ret LBB0_20: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _MENU_SETTINGS_INPUT_DESC_BEGIN,4,2 ; @MENU_SETTINGS_INPUT_DESC_BEGIN .comm _RARCH_FIRST_CUSTOM_BIND,4,2 ; @RARCH_FIRST_CUSTOM_BIND .comm _RARCH_UNMAPPED,4,2 ; @RARCH_UNMAPPED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s %c" l_.str.1: ; @.str.1 .asciz "---" .no_dead_strip _menu_action_setting_disp_set_label_input_desc .subsections_via_symbols
AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_get_value.c_menu_action_setting_disp_set_label_input_desc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function adjust_btf_func _adjust_btf_func: ## @adjust_btf_func .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 16(%rdi), %rax movq (%rax), %rax movq (%rax), %rax testq %rax, %rax je LBB0_13 ## %bb.1: movl (%rdi), %r9d testl %r9d, %r9d jle LBB0_13 ## %bb.2: movq 8(%rdi), %rdx cmpl $8, %r9d jae LBB0_4 ## %bb.3: xorl %esi, %esi jmp LBB0_12 LBB0_4: movl %r9d, %esi andl $-8, %esi leaq -8(%rsi), %rcx movq %rcx, %rdi shrq $3, %rdi incq %rdi movl %edi, %r8d andl $3, %r8d cmpq $24, %rcx jae LBB0_6 ## %bb.5: xorl %ecx, %ecx jmp LBB0_8 LBB0_6: andq $-4, %rdi xorl %ecx, %ecx .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movups (%rdx,%rcx,4), %xmm0 movups 16(%rdx,%rcx,4), %xmm1 movups %xmm0, (%rax,%rcx,4) movups %xmm1, 16(%rax,%rcx,4) movups 32(%rdx,%rcx,4), %xmm0 movups 48(%rdx,%rcx,4), %xmm1 movups %xmm0, 32(%rax,%rcx,4) movups %xmm1, 48(%rax,%rcx,4) movups 64(%rdx,%rcx,4), %xmm0 movups 80(%rdx,%rcx,4), %xmm1 movups %xmm0, 64(%rax,%rcx,4) movups %xmm1, 80(%rax,%rcx,4) movups 96(%rdx,%rcx,4), %xmm0 movups 112(%rdx,%rcx,4), %xmm1 movups %xmm0, 96(%rax,%rcx,4) movups %xmm1, 112(%rax,%rcx,4) addq $32, %rcx addq $-4, %rdi jne LBB0_7 LBB0_8: testq %r8, %r8 je LBB0_11 ## %bb.9: leaq (%rax,%rcx,4), %r10 addq $16, %r10 leaq (%rdx,%rcx,4), %rcx addq $16, %rcx shlq $5, %r8 xorl %edi, %edi .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movups -16(%rcx,%rdi), %xmm0 movups (%rcx,%rdi), %xmm1 movups %xmm0, -16(%r10,%rdi) movups %xmm1, (%r10,%rdi) addq $32, %rdi cmpq %rdi, %r8 jne LBB0_10 LBB0_11: cmpq %r9, %rsi je LBB0_13 .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movl (%rdx,%rsi,4), %ecx movl %ecx, (%rax,%rsi,4) incq %rsi cmpq %rsi, %r9 jne LBB0_12 LBB0_13: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _adjust_btf_func .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function adjust_btf_func _adjust_btf_func: ; @adjust_btf_func .cfi_startproc ; %bb.0: ldr x8, [x0, #16] ldr x8, [x8] ldr x8, [x8] cbz x8, LBB0_9 ; %bb.1: ldr w9, [x0] cmp w9, #1 b.lt LBB0_9 ; %bb.2: ldr x10, [x0, #8] cmp w9, #16 b.hs LBB0_4 ; %bb.3: mov x11, #0 b LBB0_7 LBB0_4: and x11, x9, #0xfffffff0 add x12, x8, #32 add x13, x10, #32 mov x14, x11 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldp q0, q1, [x13, #-32] ldp q2, q3, [x13], #64 stp q0, q1, [x12, #-32] stp q2, q3, [x12], #64 subs x14, x14, #16 b.ne LBB0_5 ; %bb.6: cmp x11, x9 b.eq LBB0_9 LBB0_7: lsl x12, x11, #2 add x10, x10, x12 add x8, x8, x12 sub x9, x9, x11 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w11, [x10], #4 str w11, [x8], #4 subs x9, x9, #1 b.ne LBB0_8 LBB0_9: ret .cfi_endproc ; -- End function .no_dead_strip _adjust_btf_func .subsections_via_symbols
AnghaBench/linux/kernel/bpf/extr_verifier.c_adjust_btf_func.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function allocate_space_in_inferior _allocate_space_in_inferior: ## @allocate_space_in_inferior .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _value_allocate_space_in_inferior movl %eax, %edi popq %rbp jmp _value_as_long ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _allocate_space_in_inferior .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function allocate_space_in_inferior _allocate_space_in_inferior: ; @allocate_space_in_inferior .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 _value_allocate_space_in_inferior ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _value_as_long .cfi_endproc ; -- End function .no_dead_strip _allocate_space_in_inferior .subsections_via_symbols
AnghaBench/freebsd/contrib/gdb/gdb/extr_valops.c_allocate_space_in_inferior.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function amdgpu_get_pp_table _amdgpu_get_pp_table: ## @amdgpu_get_pp_table .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdx, %r14 callq _dev_get_drvdata movq (%rax), %rbx movq $0, -24(%rbp) movq %rbx, %rdi callq _is_support_sw_smu testq %rax, %rax je LBB0_2 ## %bb.1: addq $8, %rbx leaq -24(%rbp), %rsi movq %rbx, %rdi callq _smu_sys_get_pp_table movl %eax, %ebx testl %eax, %eax jns LBB0_5 jmp LBB0_6 LBB0_2: movq (%rbx), %rax cmpq $0, (%rax) je LBB0_3 ## %bb.4: leaq -24(%rbp), %rsi movq %rbx, %rdi callq _amdgpu_dpm_get_pp_table movl %eax, %ebx LBB0_5: movq _PAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %eax leal -1(%rax), %ecx cmpl %eax, %ebx cmovgel %ecx, %ebx movq -24(%rbp), %rsi movq %r14, %rdi movl %ebx, %edx callq _memcpy LBB0_6: movl %ebx, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_3: xorl %ebx, %ebx jmp LBB0_6 .cfi_endproc ## -- End function .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .no_dead_strip _amdgpu_get_pp_table .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function amdgpu_get_pp_table _amdgpu_get_pp_table: ; @amdgpu_get_pp_table .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 bl _dev_get_drvdata ldr x20, [x0] str xzr, [sp, #8] mov x0, x20 bl _is_support_sw_smu cbz x0, LBB0_2 ; %bb.1: add x0, x20, #8 add x1, sp, #8 bl _smu_sys_get_pp_table mov x20, x0 tbz w0, #31, LBB0_4 b LBB0_5 LBB0_2: ldr x8, [x20] ldr x8, [x8] cbz x8, LBB0_6 ; %bb.3: add x1, sp, #8 mov x0, x20 bl _amdgpu_dpm_get_pp_table mov x20, x0 LBB0_4: Lloh0: adrp x8, _PAGE_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] Lloh2: ldr w8, [x8] sub w9, w8, #1 cmp w20, w8 csel w20, w20, w9, lt ldr x1, [sp, #8] mov x0, x19 mov x2, x20 bl _memcpy LBB0_5: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB0_6: mov w20, #0 b LBB0_5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .no_dead_strip _amdgpu_get_pp_table .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_pm.c_amdgpu_get_pp_table.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $40, %rsp .cfi_offset %rbx, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -16(%rbp) movl $5, -48(%rbp) movl $13, -32(%rbp) movabsq $51539607563, %rax ## imm = 0xC0000000B movq %rax, -40(%rbp) leaq L_.str(%rip), %rbx movq %rbx, %rdi movl $5, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $6, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $11, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $12, %esi xorl %eax, %eax callq _printf movl -32(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -16(%rbp), %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $40, %rsp popq %rbx popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _insertionSort ## -- Begin function insertionSort .p2align 4, 0x90 _insertionSort: ## @insertionSort .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $2, %esi jl LBB1_7 ## %bb.1: movl %esi, %r8d movl $1, %r9d jmp LBB1_2 .p2align 4, 0x90 LBB1_6: ## in Loop: Header=BB1_2 Depth=1 movslq %ecx, %rax movl %edx, (%rdi,%rax,4) incq %r9 cmpq %r8, %r9 je LBB1_7 LBB1_2: ## =>This Loop Header: Depth=1 ## Child Loop BB1_3 Depth 2 movl (%rdi,%r9,4), %edx movq %r9, %rcx .p2align 4, 0x90 LBB1_3: ## Parent Loop BB1_2 Depth=1 ## => This Inner Loop Header: Depth=2 leaq -1(%rcx), %rsi movl %esi, %eax movl (%rdi,%rax,4), %eax cmpl %edx, %eax jle LBB1_6 ## %bb.4: ## in Loop: Header=BB1_3 Depth=2 movl %eax, (%rdi,%rcx,4) leaq 1(%rsi), %rax movq %rsi, %rcx cmpq $1, %rax jg LBB1_3 ## %bb.5: ## in Loop: Header=BB1_2 Depth=1 xorl %ecx, %ecx jmp LBB1_6 LBB1_7: popq %rbp retq .cfi_endproc ## -- End function .globl _printArray ## -- Begin function printArray .p2align 4, 0x90 _printArray: ## @printArray .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 testl %esi, %esi jle LBB2_3 ## %bb.1: movq %rdi, %r15 movl %esi, %r12d leaq L_.str(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB2_2: ## =>This Inner Loop Header: Depth=1 movl (%r15,%rbx,4), %esi movq %r14, %rdi xorl %eax, %eax callq _printf incq %rbx cmpq %rbx, %r12 jne LBB2_2 LBB2_3: movl $10, %edi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _putchar ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function main lCPI0_0: .long 11 ; 0xb .long 12 ; 0xc .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] mov w8, #5 str w8, [sp, #20] mov w9, #13 str w9, [sp, #36] Lloh3: adrp x9, lCPI0_0@PAGE Lloh4: ldr d0, [x9, lCPI0_0@PAGEOFF] stur d0, [sp, #28] str x8, [sp] Lloh5: adrp x19, l_.str@PAGE Lloh6: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf mov w8, #6 str x8, [sp] mov x0, x19 bl _printf mov w8, #11 str x8, [sp] mov x0, x19 bl _printf mov w8, #12 str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #36] str x8, [sp] mov x0, x19 bl _printf mov w0, #10 bl _putchar ldur x8, [x29, #-24] Lloh7: adrp x9, ___stack_chk_guard@GOTPAGE Lloh8: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh9: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdr Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .globl _insertionSort ; -- Begin function insertionSort .p2align 2 _insertionSort: ; @insertionSort .cfi_startproc ; %bb.0: cmp w1, #2 b.lt LBB1_7 ; %bb.1: mov w8, w1 mov w9, #1 b LBB1_3 LBB1_2: ; in Loop: Header=BB1_3 Depth=1 sbfiz x11, x11, #2, #32 str w10, [x0, x11] add x9, x9, #1 cmp x9, x8 b.eq LBB1_7 LBB1_3: ; =>This Loop Header: Depth=1 ; Child Loop BB1_4 Depth 2 ldr w10, [x0, x9, lsl #2] mov x11, x9 LBB1_4: ; Parent Loop BB1_3 Depth=1 ; => This Inner Loop Header: Depth=2 sub x12, x11, #1 ldr w13, [x0, w12, uxtw #2] cmp w13, w10 b.le LBB1_2 ; %bb.5: ; in Loop: Header=BB1_4 Depth=2 str w13, [x0, x11, lsl #2] add x13, x12, #1 mov x11, x12 cmp x13, #1 b.gt LBB1_4 ; %bb.6: ; in Loop: Header=BB1_3 Depth=1 mov x11, #0 b LBB1_2 LBB1_7: ret .cfi_endproc ; -- End function .globl _printArray ; -- Begin function printArray .p2align 2 _printArray: ; @printArray .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cmp w1, #1 b.lt LBB2_3 ; %bb.1: mov x19, x0 mov w21, w1 Lloh10: adrp x20, l_.str@PAGE Lloh11: add x20, x20, l_.str@PAGEOFF LBB2_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19], #4 str x8, [sp] mov x0, x20 bl _printf subs x21, x21, #1 b.ne LBB2_2 LBB2_3: mov w0, #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 add sp, sp, #64 b _putchar .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d " .subsections_via_symbols
the_stack_data/73575492.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hfsc_dump_curves _hfsc_dump_curves: ## @hfsc_dump_curves .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq %rdi, %r14 movl (%rsi), %eax movq _HFSC_RSC@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_3 ## %bb.1: movq _TCA_HFSC_RSC@GOTPCREL(%rip), %rax movl (%rax), %esi leaq 12(%rbx), %rdx movq %r14, %rdi callq _hfsc_dump_sc testq %rax, %rax js LBB0_11 ## %bb.2: movl (%rbx), %eax LBB0_3: movq _HFSC_FSC@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_6 ## %bb.4: movq _TCA_HFSC_FSC@GOTPCREL(%rip), %rax movl (%rax), %esi leaq 8(%rbx), %rdx movq %r14, %rdi callq _hfsc_dump_sc testq %rax, %rax js LBB0_11 ## %bb.5: movl (%rbx), %eax LBB0_6: movq _HFSC_USC@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_8 ## %bb.7: movq _TCA_HFSC_USC@GOTPCREL(%rip), %rax movl (%rax), %esi addq $4, %rbx movq %r14, %rdi movq %rbx, %rdx callq _hfsc_dump_sc testq %rax, %rax js LBB0_11 LBB0_8: movl (%r14), %eax jmp LBB0_12 LBB0_11: movl $-1, %eax LBB0_12: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _HFSC_RSC,4,2 ## @HFSC_RSC .comm _TCA_HFSC_RSC,4,2 ## @TCA_HFSC_RSC .comm _HFSC_FSC,4,2 ## @HFSC_FSC .comm _TCA_HFSC_FSC,4,2 ## @TCA_HFSC_FSC .comm _HFSC_USC,4,2 ## @HFSC_USC .comm _TCA_HFSC_USC,4,2 ## @TCA_HFSC_USC .no_dead_strip _hfsc_dump_curves .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hfsc_dump_curves _hfsc_dump_curves: ; @hfsc_dump_curves .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 ldr w8, [x1] Lloh0: adrp x9, _HFSC_RSC@GOTPAGE Lloh1: ldr x9, [x9, _HFSC_RSC@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_3 ; %bb.1: Lloh3: adrp x8, _TCA_HFSC_RSC@GOTPAGE Lloh4: ldr x8, [x8, _TCA_HFSC_RSC@GOTPAGEOFF] Lloh5: ldr w1, [x8] add x2, x20, #12 mov x0, x19 bl _hfsc_dump_sc tbnz x0, #63, LBB0_9 ; %bb.2: ldr w8, [x20] LBB0_3: Lloh6: adrp x9, _HFSC_FSC@GOTPAGE Lloh7: ldr x9, [x9, _HFSC_FSC@GOTPAGEOFF] Lloh8: ldr w9, [x9] tst w9, w8 b.eq LBB0_6 ; %bb.4: Lloh9: adrp x8, _TCA_HFSC_FSC@GOTPAGE Lloh10: ldr x8, [x8, _TCA_HFSC_FSC@GOTPAGEOFF] Lloh11: ldr w1, [x8] add x2, x20, #8 mov x0, x19 bl _hfsc_dump_sc tbnz x0, #63, LBB0_9 ; %bb.5: ldr w8, [x20] LBB0_6: Lloh12: adrp x9, _HFSC_USC@GOTPAGE Lloh13: ldr x9, [x9, _HFSC_USC@GOTPAGEOFF] Lloh14: ldr w9, [x9] tst w9, w8 b.eq LBB0_8 ; %bb.7: Lloh15: adrp x8, _TCA_HFSC_USC@GOTPAGE Lloh16: ldr x8, [x8, _TCA_HFSC_USC@GOTPAGEOFF] Lloh17: ldr w1, [x8] add x2, x20, #4 mov x0, x19 bl _hfsc_dump_sc tbnz x0, #63, LBB0_9 LBB0_8: ldr w0, [x19] b LBB0_10 LBB0_9: mov w0, #-1 LBB0_10: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _HFSC_RSC,4,2 ; @HFSC_RSC .comm _TCA_HFSC_RSC,4,2 ; @TCA_HFSC_RSC .comm _HFSC_FSC,4,2 ; @HFSC_FSC .comm _TCA_HFSC_FSC,4,2 ; @TCA_HFSC_FSC .comm _HFSC_USC,4,2 ; @HFSC_USC .comm _TCA_HFSC_USC,4,2 ; @TCA_HFSC_USC .no_dead_strip _hfsc_dump_curves .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/sched/extr_sch_hfsc.c_hfsc_dump_curves.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl $160120, %eax ## imm = 0x27178 callq ____chkstk_darwin subq %rax, %rsp popq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi leaq -160096(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -160096(%rbp) je LBB0_33 ## %bb.1: movl $1, %r14d leaq L_.str.1(%rip), %r15 leaq -160088(%rbp), %r12 leaq -10064(%rbp), %r13 jmp LBB0_2 .p2align 4, 0x90 LBB0_35: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.3(%rip), %rdi movl %r14d, %esi leaq L_.str.4(%rip), %rdx LBB0_32: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax callq _printf incl %r14d cmpl -160096(%rbp), %r14d ja LBB0_33 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_16 Depth 2 ## Child Loop BB0_19 Depth 2 ## Child Loop BB0_22 Depth 3 ## Child Loop BB0_25 Depth 4 movq %r15, %rdi movq %r12, %rsi leaq -160112(%rbp), %rdx xorl %eax, %eax callq _scanf leaq L_.str.2(%rip), %rdi movq %r13, %rsi xorl %eax, %eax callq _scanf movl $150001, %esi ## imm = 0x249F1 leaq -160080(%rbp), %rdi callq ___bzero movb -10064(%rbp), %al cmpl $2, -160088(%rbp) jb LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl $1, %ebx .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl -10064(%rbp,%rbx), %esi movsbl %al, %edi callq _mult incq %rbx movl -160088(%rbp), %ecx cmpq %rcx, %rbx jb LBB0_4 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movsbl %al, %eax cmpl $49, %eax je LBB0_6 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 cmpl $48, %eax jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 movl $2, %edi movb $1, %sil xorl %ecx, %ecx jmp LBB0_10 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movl $1, %edi xorl %esi, %esi xorl %ecx, %ecx jmp LBB0_10 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movl $4, %edi movb $1, %cl xorl %esi, %esi LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movq -160112(%rbp), %rax movq %rax, %rdx shrq $32, %rdx je LBB0_11 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 xorl %edx, %edx divq %rdi jmp LBB0_13 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %edi ## kill: def $edx killed $edx def $rdx LBB0_13: ## in Loop: Header=BB0_2 Depth=1 movq %rdx, -160112(%rbp) cmpq $1, %rdx sete %bl cmpq $2, %rdx sete %al testb %bl, %sil jne LBB0_15 ## %bb.14: ## in Loop: Header=BB0_2 Depth=1 andb %al, %cl je LBB0_35 LBB0_15: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_16: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl $150001, %edx ## imm = 0x249F1 leaq -160080(%rbp), %rdi movq %r13, %rsi callq ___strcat_chk leaq -160080(%rbp), %rdi incq %rbx cmpq %rbx, -160112(%rbp) ja LBB0_16 ## %bb.17: ## in Loop: Header=BB0_2 Depth=1 callq _strlen movl %eax, %ecx leaq L_.str.4(%rip), %rdx addl $-2, %ecx je LBB0_31 ## %bb.18: ## in Loop: Header=BB0_2 Depth=1 movl %r14d, -160092(%rbp) ## 4-byte Spill movl %eax, %r14d movq %rax, -160136(%rbp) ## 8-byte Spill ## kill: def $eax killed $eax killed $rax def $rax decl %eax movq %rax, -160144(%rbp) ## 8-byte Spill movl %ecx, %eax movq %rax, -160152(%rbp) ## 8-byte Spill movb $49, %cl movl $2, %eax movq %rax, -160128(%rbp) ## 8-byte Spill movl $1, %eax movq %rax, -160120(%rbp) ## 8-byte Spill xorl %eax, %eax jmp LBB0_19 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_19 Depth=2 incq -160128(%rbp) ## 8-byte Folded Spill incq -160120(%rbp) ## 8-byte Folded Spill movq -160104(%rbp), %rax ## 8-byte Reload cmpq -160152(%rbp), %rax ## 8-byte Folded Reload leaq -10064(%rbp), %r13 movb -160081(%rbp), %cl ## 1-byte Reload je LBB0_30 LBB0_19: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_22 Depth 3 ## Child Loop BB0_25 Depth 4 movq %rax, %rbx movsbl -160080(%rbp,%rax), %esi movsbl %cl, %edi callq _mult leaq 1(%rbx), %rcx movq %rcx, -160104(%rbp) ## 8-byte Spill movb %al, -160081(%rbp) ## 1-byte Spill cmpb $105, %al movq -160136(%rbp), %r13 ## 8-byte Reload jne LBB0_29 ## %bb.20: ## in Loop: Header=BB0_19 Depth=2 movq -160104(%rbp), %rax ## 8-byte Reload cmpq -160144(%rbp), %rax ## 8-byte Folded Reload jae LBB0_29 ## %bb.21: ## in Loop: Header=BB0_19 Depth=2 movb $49, %cl movq -160120(%rbp), %r15 ## 8-byte Reload movq -160128(%rbp), %r12 ## 8-byte Reload movq -160104(%rbp), %rax ## 8-byte Reload ## kill: def $eax killed $eax killed $rax jmp LBB0_22 .p2align 4, 0x90 LBB0_28: ## in Loop: Header=BB0_22 Depth=3 incq %r15 movq -160160(%rbp), %rbx ## 8-byte Reload leal 1(%rbx), %eax incq %r12 cmpq -160144(%rbp), %r15 ## 8-byte Folded Reload je LBB0_29 LBB0_22: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_19 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB0_25 Depth 4 ## kill: def $ebx killed $ebx killed $rbx ## kill: def $eax killed $eax def $rax movq %rax, -160160(%rbp) ## 8-byte Spill movsbl -160080(%rbp,%r15), %esi movsbl %cl, %edi callq _mult movl %eax, %ecx cmpb $106, %al jne LBB0_28 ## %bb.23: ## in Loop: Header=BB0_22 Depth=3 addl $2, %ebx cmpl %r13d, %ebx jae LBB0_28 ## %bb.24: ## in Loop: Header=BB0_22 Depth=3 movl %ecx, %ebx movb $49, %al movq %r12, %r13 .p2align 4, 0x90 LBB0_25: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_19 Depth=2 ## Parent Loop BB0_22 Depth=3 ## => This Inner Loop Header: Depth=4 movsbl -160080(%rbp,%r13), %esi movsbl %al, %edi callq _mult incq %r13 cmpq %r14, %r13 jb LBB0_25 ## %bb.26: ## in Loop: Header=BB0_22 Depth=3 cmpb $107, %al movq -160136(%rbp), %r13 ## 8-byte Reload movl %ebx, %ecx jne LBB0_28 ## %bb.27: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.5(%rip), %rdx movl -160092(%rbp), %r14d ## 4-byte Reload leaq L_.str.1(%rip), %r15 leaq -160088(%rbp), %r12 leaq -10064(%rbp), %r13 LBB0_31: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.3(%rip), %rdi movl %r14d, %esi jmp LBB0_32 LBB0_30: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.4(%rip), %rdx movl -160092(%rbp), %r14d ## 4-byte Reload leaq L_.str.1(%rip), %r15 leaq -160088(%rbp), %r12 jmp LBB0_31 LBB0_33: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_36 ## %bb.34: xorl %eax, %eax addq $160120, %rsp ## imm = 0x27178 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_36: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _mult ## -- Begin function mult .p2align 4, 0x90 _mult: ## @mult .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movl %edi, %ebx movl %ebx, %eax andb $-2, %al cmpb $48, %al je LBB1_4 ## %bb.2: movl %ebx, %edi callq ___tolower addl $-105, %eax cmpl $2, %eax ja LBB1_4 ## %bb.3: movl %eax, %r12d incq %r12 jmp LBB1_5 LBB1_4: xorl %r12d, %r12d LBB1_5: movsbl %r14b, %r15d movl %r15d, %eax andb $-2, %al cmpb $48, %al je LBB1_6 ## %bb.7: movl %r15d, %edi callq ___tolower addl $-105, %eax cmpl $2, %eax ja LBB1_6 ## %bb.8: movl %eax, %r13d incq %r13 testb %bl, %bl jns LBB1_11 LBB1_9: movl $32768, %esi ## imm = 0x8000 movl %ebx, %edi callq ___maskrune jmp LBB1_12 LBB1_6: xorl %r13d, %r13d testb %bl, %bl js LBB1_9 LBB1_11: movl %ebx, %ecx movq __DefaultRuneLocale@GOTPCREL(%rip), %rdx movl $32768, %eax ## imm = 0x8000 andl 60(%rdx,%rcx,4), %eax LBB1_12: xorl %ecx, %ecx negl %eax sbbl %ecx, %ecx orl $1, %ecx cmpb $48, %bl movl $-1, %ebx cmovnel %ecx, %ebx testb %r14b, %r14b js LBB1_14 ## %bb.13: movl %r15d, %ecx movq __DefaultRuneLocale@GOTPCREL(%rip), %rdx movl $32768, %eax ## imm = 0x8000 andl 60(%rdx,%rcx,4), %eax jmp LBB1_15 LBB1_14: movl $32768, %esi ## imm = 0x8000 movl %r15d, %edi callq ___maskrune LBB1_15: movl %ebx, %ecx negl %ecx testl %eax, %eax cmovnel %ecx, %ebx cmpb $48, %r14b cmovel %ecx, %ebx leaq (%r12,%r12,4), %rax leaq l___const.mult.ans(%rip), %rcx addq %rax, %rcx movb (%r13,%rcx), %al cmpl $-1, %ebx je LBB1_17 LBB1_16: movsbl %al, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB1_17: cmpb $49, %al je LBB1_20 ## %bb.18: cmpb $48, %al jne LBB1_21 ## %bb.19: movb $49, %al jmp LBB1_16 LBB1_20: movb $48, %al jmp LBB1_16 LBB1_21: movsbl %al, %ebx testb %al, %al js LBB1_23 ## %bb.22: movl %ebx, %ecx movq __DefaultRuneLocale@GOTPCREL(%rip), %rdx movl $4096, %eax ## imm = 0x1000 andl 60(%rdx,%rcx,4), %eax jmp LBB1_24 LBB1_23: movl $4096, %esi ## imm = 0x1000 movl %ebx, %edi callq ___maskrune LBB1_24: movl %ebx, %edi testl %eax, %eax je LBB1_26 ## %bb.25: callq ___toupper jmp LBB1_16 LBB1_26: callq ___tolower jmp LBB1_16 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%u%*c" L_.str.1: ## @.str.1 .asciz "%u%llu%*c" L_.str.2: ## @.str.2 .asciz "%10000s" L_.str.3: ## @.str.3 .asciz "Case #%u: %s\n" L_.str.4: ## @.str.4 .asciz "NO" L_.str.5: ## @.str.5 .asciz "YES" .section __TEXT,__const .p2align 4 ## @__const.mult.ans l___const.mult.ans: .asciz "1ijk" .asciz "i0kJ" .asciz "jK0i" .asciz "kjI0" .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 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 w9, #29040 movk w9, #2, lsl #16 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #39, lsl #12 ; =159744 sub sp, sp, #368 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-96] add x8, sp, #88 str x8, [sp] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF bl _scanf ldr w8, [sp, #88] cbz w8, LBB0_26 ; %bb.1: add x8, sp, #94 add x8, x8, #2 str x8, [sp, #16] ; 8-byte Folded Spill mov w20, #1 add x21, sp, #72 add x23, sp, #84 Lloh7: adrp x24, l_.str.1@PAGE Lloh8: add x24, x24, l_.str.1@PAGEOFF add x25, sp, #36, lsl #12 ; =147456 add x25, x25, #2639 Lloh9: adrp x26, l_.str.2@PAGE Lloh10: add x26, x26, l_.str.2@PAGEOFF mov w22, #4 Lloh11: adrp x27, l_.str.4@PAGE Lloh12: add x27, x27, l_.str.4@PAGEOFF Lloh13: adrp x28, l_.str.3@PAGE Lloh14: add x28, x28, l_.str.3@PAGEOFF mov x19, x20 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr x19, [sp, #32] ; 8-byte Folded Reload mov x8, x19 stp x8, x27, [sp] mov x0, x28 bl _printf LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w19, w19, #1 ldr w8, [sp, #88] cmp w19, w8 b.hi LBB0_26 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ; Child Loop BB0_10 Depth 2 ; Child Loop BB0_14 Depth 2 ; Child Loop BB0_17 Depth 3 ; Child Loop BB0_19 Depth 4 str x19, [sp, #32] ; 8-byte Folded Spill stp x23, x21, [sp] mov x0, x24 bl _scanf str x25, [sp] mov x0, x26 bl _scanf add x0, sp, #94 mov w1, #18929 movk w1, #2, lsl #16 bl _bzero add x8, sp, #35, lsl #12 ; =143360 add x8, x8, #2640 ldrb w0, [x8, #4095] ldr w8, [sp, #84] cmp w8, #2 b.lo LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov w19, #1 LBB0_6: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w1, [x25, x19] sxtb w0, w0 bl _mult add x19, x19, #1 ldr w8, [sp, #84] cmp x19, x8 b.lo LBB0_6 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 sxtb w8, w0 and w9, w0, #0xff cmp w8, #48 csel w8, wzr, w20, ne csel w10, w20, wzr, ne mov w11, #2 csel x11, x22, x11, ne cmp w9, #49 csel w9, wzr, w8, eq csel w8, wzr, w10, eq csel x10, x20, x11, eq ldr x11, [sp, #72] udiv x12, x11, x10 msub x10, x12, x10, x11 str x10, [sp, #72] cmp x10, #1 cset w11, eq and w11, w9, w11 cmp x10, #2 cset w9, eq tbnz w11, #0, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 and w8, w8, w9 cbz w8, LBB0_2 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 mov x19, #0 LBB0_10: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 add x0, sp, #94 add x1, sp, #36, lsl #12 ; =147456 add x1, x1, #2639 mov w2, #18929 movk w2, #2, lsl #16 bl ___strcat_chk add x19, x19, #1 ldr x8, [sp, #72] cmp x8, x19 b.hi LBB0_10 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 add x0, sp, #94 bl _strlen mov x22, x0 subs w8, w22, #2 str x8, [sp, #24] ; 8-byte Folded Spill b.eq LBB0_23 ; %bb.12: ; in Loop: Header=BB0_4 Depth=1 mov x26, #0 sub w19, w22, #1 and x21, x22, #0xffffffff mov w9, #49 ldr x10, [sp, #16] ; 8-byte Folded Reload mov w8, #1 stp x8, x10, [sp, #56] ; 16-byte Folded Spill mov w23, #2 b LBB0_14 LBB0_13: ; in Loop: Header=BB0_14 Depth=2 add x23, x23, #1 ldp x9, x8, [sp, #48] ; 16-byte Folded Reload add x10, x8, #1 ldr x8, [sp, #64] ; 8-byte Folded Reload add x8, x8, #1 stp x10, x8, [sp, #56] ; 16-byte Folded Spill mov x26, x9 ldr x8, [sp, #24] ; 8-byte Folded Reload cmp x9, x8 ldr w9, [sp, #44] ; 4-byte Folded Reload b.eq LBB0_25 LBB0_14: ; Parent Loop BB0_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_17 Depth 3 ; Child Loop BB0_19 Depth 4 add x8, sp, #94 ldrsb w1, [x8, x26] sxtb w0, w9 bl _mult add x8, x26, #1 str w0, [sp, #44] ; 4-byte Folded Spill cmp w0, #105 str x8, [sp, #48] ; 8-byte Folded Spill ccmp x8, x19, #2, eq b.hs LBB0_13 ; %bb.15: ; in Loop: Header=BB0_14 Depth=2 mov w24, #49 ldp x27, x20, [sp, #56] ; 16-byte Folded Reload mov x28, x23 ldr x8, [sp, #48] ; 8-byte Folded Reload ; kill: def $w8 killed $w8 killed $x8 b LBB0_17 LBB0_16: ; in Loop: Header=BB0_17 Depth=3 add x27, x27, #1 add w8, w26, #1 add x28, x28, #1 add x20, x20, #1 cmp x27, x19 b.eq LBB0_13 LBB0_17: ; Parent Loop BB0_4 Depth=1 ; Parent Loop BB0_14 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB0_19 Depth 4 mov x25, x26 mov x26, x8 add x8, sp, #94 ldrsb w1, [x8, x27] sxtb w0, w24 bl _mult mov x24, x0 add w8, w25, #2 cmp w0, #106 ccmp w8, w22, #2, eq b.hs LBB0_16 ; %bb.18: ; in Loop: Header=BB0_17 Depth=3 mov x25, #0 mov w0, #49 LBB0_19: ; Parent Loop BB0_4 Depth=1 ; Parent Loop BB0_14 Depth=2 ; Parent Loop BB0_17 Depth=3 ; => This Inner Loop Header: Depth=4 ldrsb w1, [x20, x25] sxtb w0, w0 bl _mult add x25, x25, #1 add x8, x28, x25 cmp x8, x21 b.lo LBB0_19 ; %bb.20: ; in Loop: Header=BB0_17 Depth=3 cmp w0, #107 b.ne LBB0_16 ; %bb.21: ; in Loop: Header=BB0_4 Depth=1 Lloh15: adrp x8, l_.str.5@PAGE Lloh16: add x8, x8, l_.str.5@PAGEOFF mov w20, #1 add x21, sp, #72 add x23, sp, #84 Lloh17: adrp x24, l_.str.1@PAGE Lloh18: add x24, x24, l_.str.1@PAGEOFF add x25, sp, #36, lsl #12 ; =147456 add x25, x25, #2639 Lloh19: adrp x26, l_.str.2@PAGE Lloh20: add x26, x26, l_.str.2@PAGEOFF Lloh21: adrp x27, l_.str.4@PAGE Lloh22: add x27, x27, l_.str.4@PAGEOFF LBB0_22: ; in Loop: Header=BB0_4 Depth=1 Lloh23: adrp x28, l_.str.3@PAGE Lloh24: add x28, x28, l_.str.3@PAGEOFF b LBB0_24 LBB0_23: ; in Loop: Header=BB0_4 Depth=1 mov x8, x27 LBB0_24: ; in Loop: Header=BB0_4 Depth=1 ldr x19, [sp, #32] ; 8-byte Folded Reload stp x19, x8, [sp] mov x0, x28 bl _printf mov w22, #4 b LBB0_3 LBB0_25: ; in Loop: Header=BB0_4 Depth=1 Lloh25: adrp x27, l_.str.4@PAGE Lloh26: add x27, x27, l_.str.4@PAGEOFF mov x8, x27 mov w20, #1 add x21, sp, #72 add x23, sp, #84 Lloh27: adrp x24, l_.str.1@PAGE Lloh28: add x24, x24, l_.str.1@PAGEOFF add x25, sp, #36, lsl #12 ; =147456 add x25, x25, #2639 Lloh29: adrp x26, l_.str.2@PAGE Lloh30: add x26, x26, l_.str.2@PAGEOFF b LBB0_22 LBB0_26: ldur x8, [x29, #-96] Lloh31: adrp x9, ___stack_chk_guard@GOTPAGE Lloh32: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh33: ldr x9, [x9] cmp x9, x8 b.ne LBB0_28 ; %bb.27: mov w0, #0 add sp, sp, #39, lsl #12 ; =159744 add sp, sp, #368 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_28: bl ___stack_chk_fail .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .cfi_endproc ; -- End function .globl _mult ; -- Begin function mult .p2align 2 _mult: ; @mult .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 and w8, w0, #0xfffffffe cmp w8, #48 b.ne LBB1_2 ; %bb.1: mov x21, #0 b LBB1_3 LBB1_2: mov x0, x20 bl ___tolower sub w8, w0, #105 cmp w8, #2 csinc x21, xzr, x8, hi LBB1_3: and w8, w19, #0xfffffffe cmp w8, #48 b.ne LBB1_6 ; %bb.4: mov x22, #0 tbz w20, #31, LBB1_7 LBB1_5: mov x0, x20 mov w1, #32768 bl ___maskrune b LBB1_8 LBB1_6: mov x0, x19 bl ___tolower sub w8, w0, #105 cmp w8, #2 csinc x22, xzr, x8, hi tbnz w20, #31, LBB1_5 LBB1_7: Lloh34: adrp x8, __DefaultRuneLocale@GOTPAGE Lloh35: ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF] add x8, x8, w20, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x8000 LBB1_8: cmp w0, #0 mov w8, #48 ccmp w20, w8, #4, eq mov w8, #-1 cneg w20, w8, ne tbnz w19, #31, LBB1_10 ; %bb.9: Lloh36: adrp x8, __DefaultRuneLocale@GOTPAGE Lloh37: ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF] add x8, x8, w19, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x8000 b LBB1_11 LBB1_10: mov x0, x19 mov w1, #32768 bl ___maskrune LBB1_11: cmp w0, #0 mov w8, #48 ccmp w19, w8, #4, eq cneg w9, w20, eq Lloh38: adrp x8, l___const.mult.ans@PAGE Lloh39: add x8, x8, l___const.mult.ans@PAGEOFF add x10, x21, x21, lsl #2 add x8, x8, x10 ldrb w8, [x8, x22] sxtb w19, w8 cmn w9, #1 b.eq LBB1_13 LBB1_12: sxtb w0, w19 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 LBB1_13: cmp w8, #49 b.eq LBB1_16 ; %bb.14: cmp w8, #48 b.ne LBB1_17 ; %bb.15: mov w19, #49 b LBB1_12 LBB1_16: mov w19, #48 b LBB1_12 LBB1_17: tbnz w19, #31, LBB1_20 ; %bb.18: Lloh40: adrp x8, __DefaultRuneLocale@GOTPAGE Lloh41: ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF] add x8, x8, w19, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x1000 cbz w0, LBB1_21 LBB1_19: mov x0, x19 bl ___toupper b LBB1_22 LBB1_20: mov x0, x19 mov w1, #4096 bl ___maskrune cbnz w0, LBB1_19 LBB1_21: mov x0, x19 bl ___tolower LBB1_22: mov x19, x0 b LBB1_12 .loh AdrpLdrGot Lloh34, Lloh35 .loh AdrpLdrGot Lloh36, Lloh37 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGot Lloh40, Lloh41 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%u%*c" l_.str.1: ; @.str.1 .asciz "%u%llu%*c" l_.str.2: ; @.str.2 .asciz "%10000s" l_.str.3: ; @.str.3 .asciz "Case #%u: %s\n" l_.str.4: ; @.str.4 .asciz "NO" l_.str.5: ; @.str.5 .asciz "YES" .section __TEXT,__const l___const.mult.ans: ; @__const.mult.ans .asciz "1ijk" .asciz "i0kJ" .asciz "jK0i" .asciz "kjI0" .subsections_via_symbols
the_stack_data/72011921.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sysctl_sampling _sysctl_sampling: ## @sysctl_sampling .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _kperf_sampling_status@GOTPCREL(%rip), %rax movl (%rax), %esi movq _kperf_sampling_set@GOTPCREL(%rip), %rax movl (%rax), %edx popq %rbp jmp _kperf_sysctl_get_set_uint32 ## TAILCALL .cfi_endproc ## -- End function .comm _kperf_sampling_status,4,2 ## @kperf_sampling_status .comm _kperf_sampling_set,4,2 ## @kperf_sampling_set .no_dead_strip _sysctl_sampling .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sysctl_sampling _sysctl_sampling: ; @sysctl_sampling .cfi_startproc ; %bb.0: Lloh0: adrp x8, _kperf_sampling_status@GOTPAGE Lloh1: ldr x8, [x8, _kperf_sampling_status@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _kperf_sampling_set@GOTPAGE Lloh4: ldr x8, [x8, _kperf_sampling_set@GOTPAGEOFF] Lloh5: ldr w2, [x8] b _kperf_sysctl_get_set_uint32 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _kperf_sampling_status,4,2 ; @kperf_sampling_status .comm _kperf_sampling_set,4,2 ; @kperf_sampling_set .no_dead_strip _sysctl_sampling .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/kperf/extr_kperfbsd.c_sysctl_sampling.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tcp_connection_to_online_tcp_relays ## -- Begin function tcp_connection_to_online_tcp_relays .p2align 4, 0x90 _tcp_connection_to_online_tcp_relays: ## @tcp_connection_to_online_tcp_relays .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _get_connection testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rdi popq %rbp jmp _online_tcp_connection_from_conn ## TAILCALL LBB0_1: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tcp_connection_to_online_tcp_relays ; -- Begin function tcp_connection_to_online_tcp_relays .p2align 2 _tcp_connection_to_online_tcp_relays: ; @tcp_connection_to_online_tcp_relays .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 _get_connection cbz x0, LBB0_2 ; %bb.1: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _online_tcp_connection_from_conn LBB0_2: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/toxcore/toxcore/extr_TCP_connection.c_tcp_connection_to_online_tcp_relays.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/18782.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function drm_dma_prot _drm_dma_prot: ## @drm_dma_prot .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rsi), %edi popq %rbp jmp _vm_get_page_prot ## TAILCALL .cfi_endproc ## -- End function .comm __PAGE_NO_CACHE,4,2 ## @_PAGE_NO_CACHE .no_dead_strip _drm_dma_prot .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function drm_dma_prot _drm_dma_prot: ; @drm_dma_prot .cfi_startproc ; %bb.0: ldr w0, [x1] b _vm_get_page_prot .cfi_endproc ; -- End function .comm __PAGE_NO_CACHE,4,2 ; @_PAGE_NO_CACHE .no_dead_strip _drm_dma_prot .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_vm.c_drm_dma_prot.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mt7603_rx_dma_busy _mt7603_rx_dma_busy: ## @mt7603_rx_dma_busy .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 _MT_WPDMA_GLO_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi callq _mt76_rr movq _MT_WPDMA_GLO_CFG_RX_DMA_BUSY@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_1 ## %bb.2: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _mt7603_rx_fifo_busy ## TAILCALL LBB0_1: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _MT_WPDMA_GLO_CFG,4,2 ## @MT_WPDMA_GLO_CFG .comm _MT_WPDMA_GLO_CFG_RX_DMA_BUSY,4,2 ## @MT_WPDMA_GLO_CFG_RX_DMA_BUSY .no_dead_strip _mt7603_rx_dma_busy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mt7603_rx_dma_busy _mt7603_rx_dma_busy: ; @mt7603_rx_dma_busy .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, _MT_WPDMA_GLO_CFG@GOTPAGE Lloh1: ldr x8, [x8, _MT_WPDMA_GLO_CFG@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _mt76_rr Lloh3: adrp x8, _MT_WPDMA_GLO_CFG_RX_DMA_BUSY@GOTPAGE Lloh4: ldr x8, [x8, _MT_WPDMA_GLO_CFG_RX_DMA_BUSY@GOTPAGEOFF] Lloh5: ldr w8, [x8] tst w8, w0 b.eq LBB0_2 ; %bb.1: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _mt7603_rx_fifo_busy LBB0_2: 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 .cfi_endproc ; -- End function .comm _MT_WPDMA_GLO_CFG,4,2 ; @MT_WPDMA_GLO_CFG .comm _MT_WPDMA_GLO_CFG_RX_DMA_BUSY,4,2 ; @MT_WPDMA_GLO_CFG_RX_DMA_BUSY .no_dead_strip _mt7603_rx_dma_busy .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7603/extr_mac.c_mt7603_rx_dma_busy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ex_btc8723b1ant_scan_notify ## -- Begin function ex_btc8723b1ant_scan_notify .p2align 4, 0x90 _ex_btc8723b1ant_scan_notify: ## @ex_btc8723b1ant_scan_notify .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 40(%rdi), %r14 movl $0, -44(%rbp) movl $0, -52(%rbp) movl $0, -48(%rbp) cmpq $0, 32(%rdi) jne LBB0_20 ## %bb.1: movq %rdi, %rbx cmpq $0, 24(%rdi) jne LBB0_20 ## %bb.2: movq %rsi, %r15 movq _BTC_SCAN_START@GOTPCREL(%rip), %r12 movq _coex_sta@GOTPCREL(%rip), %r13 movq (%r13), %rax cmpq %rsi, (%r12) jne LBB0_4 ## %bb.3: movl $1, (%rax) movq _COMP_BT_COEXIST@GOTPCREL(%rip), %rax movl (%rax), %esi movq _DBG_LOUD@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rcx movq %r14, %rdi xorl %eax, %eax callq _RT_TRACE movq _FORCE_EXEC@GOTPCREL(%rip), %r12 movl (%r12), %esi movq %rbx, %rdi xorl %edx, %edx movl $8, %ecx callq _halbtc8723b1ant_ps_tdma movq _BTC_ANT_PATH_PTA@GOTPCREL(%rip), %rax movl (%rax), %esi movl (%r12), %edx movq %rbx, %rdi xorl %ecx, %ecx xorl %r8d, %r8d callq _halbtc8723b1ant_set_ant_path movq %rbx, %rdi movl $2376, %esi ## imm = 0x948 callq *(%rbx) movl %eax, %r12d movq %rbx, %rdi movl $1893, %esi ## imm = 0x765 callq *8(%rbx) movq %rax, %r13 movq %rbx, %rdi movl $103, %esi callq *8(%rbx) movq _COMP_BT_COEXIST@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _DBG_LOUD@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq %rax, (%rsp) leaq L_.str.1(%rip), %rcx movq %r14, %rdi movl %r12d, %r8d movq _BTC_SCAN_START@GOTPCREL(%rip), %r12 movq %r13, %r9 movq _coex_sta@GOTPCREL(%rip), %r13 xorl %eax, %eax callq _RT_TRACE jmp LBB0_5 LBB0_4: movl $0, (%rax) movq _COMP_BT_COEXIST@GOTPCREL(%rip), %rax movl (%rax), %esi movq _DBG_LOUD@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.2(%rip), %rcx movq %r14, %rdi xorl %eax, %eax callq _RT_TRACE movq _BTC_GET_U1_AP_NUM@GOTPCREL(%rip), %rax movl (%rax), %esi movq (%r13), %rdx addq $4, %rdx movq %rbx, %rdi callq *16(%rbx) LBB0_5: movq (%r13), %rax cmpq $0, 16(%rax) jne LBB0_20 ## %bb.6: movq _BTC_GET_BL_HS_OPERATION@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -52(%rbp), %rdx movq %rbx, %rdi callq *16(%rbx) movq _BTC_GET_BL_WIFI_CONNECTED@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -44(%rbp), %rdx movq %rbx, %rdi callq *16(%rbx) movq %rbx, %rdi callq _halbtc8723b1ant_query_bt_info movq _BTC_GET_U4_WIFI_LINK_STATUS@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -48(%rbp), %rdx movq %rbx, %rdi callq *16(%rbx) cmpl $131072, -48(%rbp) ## imm = 0x20000 jl LBB0_8 ## %bb.7: movq _NORMAL_EXEC@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d xorl %r9d, %r9d callq _halbtc8723b1ant_limited_tx movl (%r14), %esi movl $5, %r8d movq %rbx, %rdi xorl %edx, %edx xorl %ecx, %ecx callq _halbtc8723b1ant_limited_rx movq %rbx, %rdi callq _halbtc8723b1ant_action_wifi_multiport jmp LBB0_20 LBB0_8: movq (%r13), %rax cmpq $0, 8(%rax) je LBB0_10 ## %bb.9: movq %rbx, %rdi callq _halbtc8723b1ant_action_bt_inquiry jmp LBB0_20 LBB0_10: cmpl $0, -52(%rbp) je LBB0_12 ## %bb.11: movq %rbx, %rdi callq _halbtc8723b1ant_action_hs LBB0_20: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: cmpq %r15, (%r12) jne LBB0_16 ## %bb.13: movq _COMP_BT_COEXIST@GOTPCREL(%rip), %rax movl (%rax), %esi movq _DBG_LOUD@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rcx movq %r14, %rdi xorl %eax, %eax callq _RT_TRACE cmpl $0, -44(%rbp) je LBB0_14 ## %bb.15: movq %rbx, %rdi callq _btc8723b1ant_action_wifi_conn_scan jmp LBB0_20 LBB0_16: movq _BTC_SCAN_FINISH@GOTPCREL(%rip), %rax cmpq %r15, (%rax) jne LBB0_20 ## %bb.17: movq _COMP_BT_COEXIST@GOTPCREL(%rip), %rax movl (%rax), %esi movq _DBG_LOUD@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.2(%rip), %rcx movq %r14, %rdi xorl %eax, %eax callq _RT_TRACE cmpl $0, -44(%rbp) je LBB0_18 ## %bb.19: movq %rbx, %rdi callq _halbtc8723b1ant_action_wifi_connected jmp LBB0_20 LBB0_14: movq %rbx, %rdi callq _btc8723b1ant_action_wifi_not_conn_scan jmp LBB0_20 LBB0_18: movq %rbx, %rdi callq _btc8723b1ant_action_wifi_not_conn jmp LBB0_20 .cfi_endproc ## -- End function .comm _BTC_SCAN_START,8,3 ## @BTC_SCAN_START .comm _coex_sta,8,3 ## @coex_sta .comm _COMP_BT_COEXIST,4,2 ## @COMP_BT_COEXIST .comm _DBG_LOUD,4,2 ## @DBG_LOUD .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "[BTCoex], SCAN START notify\n" .comm _FORCE_EXEC,4,2 ## @FORCE_EXEC .comm _BTC_ANT_PATH_PTA,4,2 ## @BTC_ANT_PATH_PTA L_.str.1: ## @.str.1 .asciz "[BTCoex], 0x948=0x%x, 0x765=0x%x, 0x67=0x%x\n" L_.str.2: ## @.str.2 .asciz "[BTCoex], SCAN FINISH notify\n" .comm _BTC_GET_U1_AP_NUM,4,2 ## @BTC_GET_U1_AP_NUM .comm _BTC_GET_BL_HS_OPERATION,4,2 ## @BTC_GET_BL_HS_OPERATION .comm _BTC_GET_BL_WIFI_CONNECTED,4,2 ## @BTC_GET_BL_WIFI_CONNECTED .comm _BTC_GET_U4_WIFI_LINK_STATUS,4,2 ## @BTC_GET_U4_WIFI_LINK_STATUS .comm _NORMAL_EXEC,4,2 ## @NORMAL_EXEC .comm _BTC_SCAN_FINISH,8,3 ## @BTC_SCAN_FINISH .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ex_btc8723b1ant_scan_notify ; -- Begin function ex_btc8723b1ant_scan_notify .p2align 2 _ex_btc8723b1ant_scan_notify: ; @ex_btc8723b1ant_scan_notify .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str xzr, [sp, #40] str wzr, [sp, #36] ldp x8, x20, [x0, #32] cbnz x8, LBB0_12 ; %bb.1: mov x19, x0 ldr x8, [x0, #24] cbnz x8, LBB0_12 ; %bb.2: mov x21, x1 Lloh0: adrp x24, _BTC_SCAN_START@GOTPAGE Lloh1: ldr x24, [x24, _BTC_SCAN_START@GOTPAGEOFF] ldr x9, [x24] Lloh2: adrp x25, _coex_sta@GOTPAGE Lloh3: ldr x25, [x25, _coex_sta@GOTPAGEOFF] ldr x8, [x25] cmp x9, x1 b.ne LBB0_4 ; %bb.3: mov w9, #1 str w9, [x8] Lloh4: adrp x26, _COMP_BT_COEXIST@GOTPAGE Lloh5: ldr x26, [x26, _COMP_BT_COEXIST@GOTPAGEOFF] ldr w1, [x26] Lloh6: adrp x27, _DBG_LOUD@GOTPAGE Lloh7: ldr x27, [x27, _DBG_LOUD@GOTPAGEOFF] ldr w2, [x27] Lloh8: adrp x3, l_.str@PAGE Lloh9: add x3, x3, l_.str@PAGEOFF mov x0, x20 bl _RT_TRACE Lloh10: adrp x22, _FORCE_EXEC@GOTPAGE Lloh11: ldr x22, [x22, _FORCE_EXEC@GOTPAGEOFF] ldr w1, [x22] mov x0, x19 mov w2, #0 mov w3, #8 bl _halbtc8723b1ant_ps_tdma Lloh12: adrp x8, _BTC_ANT_PATH_PTA@GOTPAGE Lloh13: ldr x8, [x8, _BTC_ANT_PATH_PTA@GOTPAGEOFF] Lloh14: ldr w1, [x8] ldr w2, [x22] mov x0, x19 mov w3, #0 mov w4, #0 bl _halbtc8723b1ant_set_ant_path ldr x8, [x19] mov x0, x19 mov w1, #2376 blr x8 mov x22, x0 ldr x8, [x19, #8] mov x0, x19 mov w1, #1893 blr x8 mov x23, x0 ldr x8, [x19, #8] mov x0, x19 mov w1, #103 blr x8 ldr w1, [x26] ldr w2, [x27] stp x23, x0, [sp, #8] str x22, [sp] Lloh15: adrp x3, l_.str.1@PAGE Lloh16: add x3, x3, l_.str.1@PAGEOFF mov x0, x20 bl _RT_TRACE b LBB0_5 LBB0_4: str wzr, [x8] Lloh17: adrp x8, _COMP_BT_COEXIST@GOTPAGE Lloh18: ldr x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF] Lloh19: ldr w1, [x8] Lloh20: adrp x8, _DBG_LOUD@GOTPAGE Lloh21: ldr x8, [x8, _DBG_LOUD@GOTPAGEOFF] Lloh22: ldr w2, [x8] Lloh23: adrp x3, l_.str.2@PAGE Lloh24: add x3, x3, l_.str.2@PAGEOFF mov x0, x20 bl _RT_TRACE ldr x8, [x19, #16] Lloh25: adrp x9, _BTC_GET_U1_AP_NUM@GOTPAGE Lloh26: ldr x9, [x9, _BTC_GET_U1_AP_NUM@GOTPAGEOFF] Lloh27: ldr w1, [x9] ldr x9, [x25] add x2, x9, #4 mov x0, x19 blr x8 LBB0_5: ldr x8, [x25] ldr x8, [x8, #16] cbnz x8, LBB0_12 ; %bb.6: ldr x8, [x19, #16] Lloh28: adrp x9, _BTC_GET_BL_HS_OPERATION@GOTPAGE Lloh29: ldr x9, [x9, _BTC_GET_BL_HS_OPERATION@GOTPAGEOFF] Lloh30: ldr w1, [x9] add x2, sp, #40 mov x0, x19 blr x8 ldr x8, [x19, #16] Lloh31: adrp x9, _BTC_GET_BL_WIFI_CONNECTED@GOTPAGE Lloh32: ldr x9, [x9, _BTC_GET_BL_WIFI_CONNECTED@GOTPAGEOFF] Lloh33: ldr w1, [x9] add x2, sp, #44 mov x0, x19 blr x8 mov x0, x19 bl _halbtc8723b1ant_query_bt_info ldr x8, [x19, #16] Lloh34: adrp x9, _BTC_GET_U4_WIFI_LINK_STATUS@GOTPAGE Lloh35: ldr x9, [x9, _BTC_GET_U4_WIFI_LINK_STATUS@GOTPAGEOFF] Lloh36: ldr w1, [x9] add x2, sp, #36 mov x0, x19 blr x8 ldr w8, [sp, #36] cmp w8, #32, lsl #12 ; =131072 b.lt LBB0_8 ; %bb.7: Lloh37: adrp x20, _NORMAL_EXEC@GOTPAGE Lloh38: ldr x20, [x20, _NORMAL_EXEC@GOTPAGEOFF] ldr w1, [x20] mov x0, x19 mov w2, #0 mov w3, #0 mov w4, #0 mov w5, #0 bl _halbtc8723b1ant_limited_tx ldr w1, [x20] mov x0, x19 mov w2, #0 mov w3, #0 mov w4, #5 bl _halbtc8723b1ant_limited_rx mov x0, x19 bl _halbtc8723b1ant_action_wifi_multiport b LBB0_12 LBB0_8: ldr x8, [x25] ldr x8, [x8, #8] cbz x8, LBB0_10 ; %bb.9: mov x0, x19 bl _halbtc8723b1ant_action_bt_inquiry b LBB0_12 LBB0_10: ldr w8, [sp, #40] cbz w8, LBB0_13 ; %bb.11: mov x0, x19 bl _halbtc8723b1ant_action_hs LBB0_12: 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_13: ldr x8, [x24] cmp x8, x21 b.ne LBB0_16 ; %bb.14: Lloh39: adrp x8, _COMP_BT_COEXIST@GOTPAGE Lloh40: ldr x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF] Lloh41: ldr w1, [x8] Lloh42: adrp x8, _DBG_LOUD@GOTPAGE Lloh43: ldr x8, [x8, _DBG_LOUD@GOTPAGEOFF] Lloh44: ldr w2, [x8] Lloh45: adrp x3, l_.str@PAGE Lloh46: add x3, x3, l_.str@PAGEOFF mov x0, x20 bl _RT_TRACE ldr w8, [sp, #44] cbz w8, LBB0_19 ; %bb.15: mov x0, x19 bl _btc8723b1ant_action_wifi_conn_scan b LBB0_12 LBB0_16: Lloh47: adrp x8, _BTC_SCAN_FINISH@GOTPAGE Lloh48: ldr x8, [x8, _BTC_SCAN_FINISH@GOTPAGEOFF] Lloh49: ldr x8, [x8] cmp x8, x21 b.ne LBB0_12 ; %bb.17: Lloh50: adrp x8, _COMP_BT_COEXIST@GOTPAGE Lloh51: ldr x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF] Lloh52: ldr w1, [x8] Lloh53: adrp x8, _DBG_LOUD@GOTPAGE Lloh54: ldr x8, [x8, _DBG_LOUD@GOTPAGEOFF] Lloh55: ldr w2, [x8] Lloh56: adrp x3, l_.str.2@PAGE Lloh57: add x3, x3, l_.str.2@PAGEOFF mov x0, x20 bl _RT_TRACE ldr w8, [sp, #44] cbz w8, LBB0_20 ; %bb.18: mov x0, x19 bl _halbtc8723b1ant_action_wifi_connected b LBB0_12 LBB0_19: mov x0, x19 bl _btc8723b1ant_action_wifi_not_conn_scan b LBB0_12 LBB0_20: mov x0, x19 bl _btc8723b1ant_action_wifi_not_conn b LBB0_12 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGot Lloh37, Lloh38 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .cfi_endproc ; -- End function .comm _BTC_SCAN_START,8,3 ; @BTC_SCAN_START .comm _coex_sta,8,3 ; @coex_sta .comm _COMP_BT_COEXIST,4,2 ; @COMP_BT_COEXIST .comm _DBG_LOUD,4,2 ; @DBG_LOUD .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "[BTCoex], SCAN START notify\n" .comm _FORCE_EXEC,4,2 ; @FORCE_EXEC .comm _BTC_ANT_PATH_PTA,4,2 ; @BTC_ANT_PATH_PTA l_.str.1: ; @.str.1 .asciz "[BTCoex], 0x948=0x%x, 0x765=0x%x, 0x67=0x%x\n" l_.str.2: ; @.str.2 .asciz "[BTCoex], SCAN FINISH notify\n" .comm _BTC_GET_U1_AP_NUM,4,2 ; @BTC_GET_U1_AP_NUM .comm _BTC_GET_BL_HS_OPERATION,4,2 ; @BTC_GET_BL_HS_OPERATION .comm _BTC_GET_BL_WIFI_CONNECTED,4,2 ; @BTC_GET_BL_WIFI_CONNECTED .comm _BTC_GET_U4_WIFI_LINK_STATUS,4,2 ; @BTC_GET_U4_WIFI_LINK_STATUS .comm _NORMAL_EXEC,4,2 ; @NORMAL_EXEC .comm _BTC_SCAN_FINISH,8,3 ; @BTC_SCAN_FINISH .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8723b1ant.c_ex_btc8723b1ant_scan_notify.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ntlm_client_target ## -- Begin function ntlm_client_target .p2align 4, 0x90 _ntlm_client_target: ## @ntlm_client_target .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ntlm_client_target ; -- Begin function ntlm_client_target .p2align 2 _ntlm_client_target: ; @ntlm_client_target .cfi_startproc ; %bb.0: ldr x0, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/libgit2/deps/ntlmclient/extr_ntlm.c_ntlm_client_target.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function init_call_trace _init_call_trace: ## @init_call_trace .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 $10, (%rdi) movq $0, 8(%rdi) xorl %eax, %eax callq _GetProcessHeap movl (%rbx), %edx shll $2, %edx movl %eax, %edi xorl %esi, %esi callq _HeapAlloc movl %eax, 4(%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _init_call_trace .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function init_call_trace _init_call_trace: ; @init_call_trace .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w8, #10 str w8, [x0] str xzr, [x0, #8] bl _GetProcessHeap ldr w8, [x19] lsl w2, w8, #2 mov w1, #0 bl _HeapAlloc str w0, [x19, #4] 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 _init_call_trace .subsections_via_symbols
AnghaBench/reactos/modules/rostests/winetests/shlwapi/extr_ordinal.c_init_call_trace.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _solve ## -- Begin function solve .p2align 4, 0x90 _solve: ## @solve .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %eax cmpl $1, %edi je LBB0_3 ## %bb.1: movl $1, %eax movl %edi, %ecx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 shrl $31, %ecx addl %edi, %ecx sarl %ecx andl $-2, %edi incl %eax cmpl $2, %edi movl %ecx, %edi jne LBB0_2 LBB0_3: popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $-1, %eax je LBB1_6 ## %bb.1: leaq L_.str.1(%rip), %r14 leaq L_.str(%rip), %r15 leaq -28(%rbp), %rbx jmp LBB1_2 .p2align 4, 0x90 LBB1_5: ## in Loop: Header=BB1_2 Depth=1 movq %r14, %rdi xorl %eax, %eax callq _printf movq %r15, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf cmpl $-1, %eax je LBB1_6 LBB1_2: ## =>This Loop Header: Depth=1 ## Child Loop BB1_4 Depth 2 movl -28(%rbp), %eax movl $1, %esi cmpl $1, %eax je LBB1_5 ## %bb.3: ## in Loop: Header=BB1_2 Depth=1 movl $1, %esi movl %eax, %ecx .p2align 4, 0x90 LBB1_4: ## Parent Loop BB1_2 Depth=1 ## => This Inner Loop Header: Depth=2 shrl $31, %ecx addl %eax, %ecx sarl %ecx andl $-2, %eax incl %esi cmpl $2, %eax movl %ecx, %eax jne LBB1_4 jmp LBB1_5 LBB1_6: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _solve ; -- Begin function solve .p2align 2 _solve: ; @solve .cfi_startproc ; %bb.0: cmp w0, #1 b.eq LBB0_3 ; %bb.1: mov x8, x0 mov w0, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 cmp w8, #0 cinc w9, w8, lt and w10, w8, #0xfffffffe asr w8, w9, #1 add w0, w0, #1 cmp w10, #2 b.ne LBB0_2 LBB0_3: ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 add x21, sp, #12 str x21, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf cmn w0, #1 b.eq LBB1_5 ; %bb.1: Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF Lloh4: adrp x20, l_.str@PAGE Lloh5: add x20, x20, l_.str@PAGEOFF b LBB1_3 LBB1_2: ; in Loop: Header=BB1_3 Depth=1 str x8, [sp] mov x0, x19 bl _printf str x21, [sp] mov x0, x20 bl _scanf cmn w0, #1 b.eq LBB1_5 LBB1_3: ; =>This Loop Header: Depth=1 ; Child Loop BB1_4 Depth 2 ldr w9, [sp, #12] mov w8, #1 cmp w9, #1 b.eq LBB1_2 LBB1_4: ; Parent Loop BB1_3 Depth=1 ; => This Inner Loop Header: Depth=2 cmp w9, #0 cinc w10, w9, lt and w11, w9, #0xfffffffe asr w9, w10, #1 add w8, w8, #1 cmp w11, #2 b.ne LBB1_4 b LBB1_2 LBB1_5: 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 add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "%d\n" .subsections_via_symbols
the_stack_data/12637656.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _EA_Setup ## -- Begin function EA_Setup .p2align 4, 0x90 _EA_Setup: ## @EA_Setup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _botlibglobals@GOTPCREL(%rip), %rax movl (%rax), %edi shll $2, %edi callq _GetClearedHunkMemory movq _botinputs@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq _BLERR_NOERROR@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _botlibglobals,4,2 ## @botlibglobals .comm _botinputs,8,3 ## @botinputs .comm _BLERR_NOERROR,4,2 ## @BLERR_NOERROR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _EA_Setup ; -- Begin function EA_Setup .p2align 2 _EA_Setup: ; @EA_Setup .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, _botlibglobals@GOTPAGE Lloh1: ldr x8, [x8, _botlibglobals@GOTPAGEOFF] Lloh2: ldr w8, [x8] lsl w0, w8, #2 bl _GetClearedHunkMemory Lloh3: adrp x8, _botinputs@GOTPAGE Lloh4: ldr x8, [x8, _botinputs@GOTPAGEOFF] Lloh5: str x0, [x8] Lloh6: adrp x8, _BLERR_NOERROR@GOTPAGE Lloh7: ldr x8, [x8, _BLERR_NOERROR@GOTPAGEOFF] Lloh8: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _botlibglobals,4,2 ; @botlibglobals .comm _botinputs,8,3 ; @botinputs .comm _BLERR_NOERROR,4,2 ; @BLERR_NOERROR .subsections_via_symbols
AnghaBench/lab/engine/code/botlib/extr_be_ea.c_EA_Setup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $152, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) leaq L_str.9(%rip), %rbx movq %rbx, %rdi callq _puts leaq -108(%rbp), %rdx leaq -104(%rbp), %rcx leaq L_.str.1(%rip), %r14 leaq -128(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -100(%rbp), %rsi leaq -80(%rbp), %rdx leaq -76(%rbp), %rcx movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -72(%rbp), %rsi leaq -52(%rbp), %rdx leaq -48(%rbp), %rcx movq %r14, %rdi xorl %eax, %eax callq _scanf leaq L_str(%rip), %rdi callq _puts movl -108(%rbp), %eax cmpl -80(%rbp), %eax jle LBB0_2 ## %bb.1: movups -116(%rbp), %xmm0 movups %xmm0, -148(%rbp) movaps -128(%rbp), %xmm0 movaps %xmm0, -160(%rbp) movups -88(%rbp), %xmm0 movups %xmm0, -116(%rbp) movups -100(%rbp), %xmm0 movaps %xmm0, -128(%rbp) movaps -160(%rbp), %xmm0 movups %xmm0, -100(%rbp) movups -148(%rbp), %xmm0 movups %xmm0, -88(%rbp) movl -108(%rbp), %eax LBB0_2: cmpl -52(%rbp), %eax jle LBB0_3 ## %bb.13: movups -116(%rbp), %xmm0 movups %xmm0, -148(%rbp) movaps -128(%rbp), %xmm0 movaps %xmm0, -160(%rbp) movups -72(%rbp), %xmm0 movaps %xmm0, -128(%rbp) movups -60(%rbp), %xmm0 movups %xmm0, -116(%rbp) movaps -160(%rbp), %xmm0 movups %xmm0, -72(%rbp) movups -148(%rbp), %xmm0 movups %xmm0, -60(%rbp) LBB0_3: movl -80(%rbp), %eax cmpl -52(%rbp), %eax jle LBB0_5 ## %bb.4: movups -100(%rbp), %xmm0 movups -88(%rbp), %xmm1 movups -72(%rbp), %xmm2 movups -60(%rbp), %xmm3 movups %xmm1, -148(%rbp) movaps %xmm0, -160(%rbp) movups %xmm2, -100(%rbp) movups %xmm3, -88(%rbp) movaps -160(%rbp), %xmm0 movups %xmm0, -72(%rbp) movups -148(%rbp), %xmm0 movups %xmm0, -60(%rbp) LBB0_5: movl -108(%rbp), %edx movl -104(%rbp), %ecx leaq L_.str.3(%rip), %rbx leaq -128(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _printf leaq -100(%rbp), %r15 movl -80(%rbp), %edx movl -76(%rbp), %ecx movq %rbx, %rdi movq %r15, %rsi xorl %eax, %eax callq _printf leaq -72(%rbp), %r14 movl -52(%rbp), %edx movl -48(%rbp), %ecx movq %rbx, %rdi movq %r14, %rsi xorl %eax, %eax callq _printf leaq L_str.7(%rip), %rdi callq _puts leaq L_.str.5(%rip), %rdi leaq -164(%rbp), %rsi xorl %eax, %eax callq _scanf leaq L_str.8(%rip), %rdi callq _puts movl -164(%rbp), %eax movl -104(%rbp), %ecx movl %eax, %edx subl %ecx, %edx cmpl $2, %edx jle LBB0_7 ## %bb.6: movl -108(%rbp), %edx leaq L_.str.3(%rip), %rdi leaq -128(%rbp), %rsi xorl %eax, %eax callq _printf movl -164(%rbp), %eax LBB0_7: movl -76(%rbp), %ecx movl %eax, %edx subl %ecx, %edx cmpl $3, %edx jl LBB0_9 ## %bb.8: movl -80(%rbp), %edx leaq L_.str.3(%rip), %rdi movq %r15, %rsi xorl %eax, %eax callq _printf movl -164(%rbp), %eax LBB0_9: movl -48(%rbp), %ecx subl %ecx, %eax cmpl $3, %eax jl LBB0_11 ## %bb.10: movl -52(%rbp), %edx leaq L_.str.3(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _printf LBB0_11: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_14 ## %bb.12: addq $152, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_14: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz " %s %d %d" L_.str.3: ## @.str.3 .asciz " %s %d %d\n" L_.str.5: ## @.str.5 .asciz "%d" L_str: ## @str .asciz "\n**************************************\n the data is as follow" L_str.7: ## @str.7 .asciz "\n****************************\n enter the current year" L_str.8: ## @str.8 .asciz "the emplyoee whose tenure is greater than or equal to 3 year are" L_str.9: ## @str.9 .asciz "enter name, code,year of joining" .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, #208 .cfi_def_cfa_offset 208 stp x22, x21, [sp, #160] ; 16-byte Folded Spill stp x20, x19, [sp, #176] ; 16-byte Folded Spill stp x29, x30, [sp, #192] ; 16-byte Folded Spill add x29, sp, #192 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] Lloh3: adrp x19, l_str.9@PAGE Lloh4: add x19, x19, l_str.9@PAGEOFF mov x0, x19 bl _puts add x21, sp, #64 add x8, x21, #20 add x9, x21, #24 stp x8, x9, [sp, #8] str x21, [sp] Lloh5: adrp x20, l_.str.1@PAGE Lloh6: add x20, x20, l_.str.1@PAGEOFF mov x0, x20 bl _scanf mov x0, x19 bl _puts add x8, x21, #28 add x9, x21, #48 add x10, x21, #52 stp x9, x10, [sp, #8] str x8, [sp] mov x0, x20 bl _scanf mov x0, x19 bl _puts add x8, x21, #56 add x9, x21, #76 add x10, x21, #80 stp x9, x10, [sp, #8] str x8, [sp] mov x0, x20 bl _scanf Lloh7: adrp x0, l_str@PAGE Lloh8: add x0, x0, l_str@PAGEOFF bl _puts ldr w8, [sp, #84] ldr w9, [sp, #112] cmp w8, w9 b.le LBB0_2 ; %bb.1: ldr q0, [sp, #64] str q0, [sp, #32] ldur q0, [sp, #76] stur q0, [sp, #44] ldur q0, [sp, #104] stur q0, [sp, #76] ldur q0, [sp, #92] str q0, [sp, #64] ldr q0, [sp, #32] stur q0, [sp, #92] ldur q0, [sp, #44] stur q0, [sp, #104] ldr w8, [sp, #84] LBB0_2: ldr w9, [sp, #140] cmp w8, w9 b.le LBB0_4 ; %bb.3: ldr q0, [sp, #64] str q0, [sp, #32] ldur q0, [sp, #76] stur q0, [sp, #44] ldur q0, [sp, #120] str q0, [sp, #64] ldur q0, [sp, #132] stur q0, [sp, #76] ldr q0, [sp, #32] stur q0, [sp, #120] ldur q0, [sp, #44] stur q0, [sp, #132] LBB0_4: ldr w8, [sp, #112] ldr w9, [sp, #140] cmp w8, w9 b.le LBB0_6 ; %bb.5: ldur q0, [sp, #92] str q0, [sp, #32] ldur q0, [sp, #104] stur q0, [sp, #44] ldur q0, [sp, #120] stur q0, [sp, #92] ldur q0, [sp, #132] stur q0, [sp, #104] ldr q0, [sp, #32] stur q0, [sp, #120] ldur q0, [sp, #44] stur q0, [sp, #132] LBB0_6: ldp w8, w9, [sp, #84] stp x8, x9, [sp, #8] add x22, sp, #64 str x22, [sp] Lloh9: adrp x19, l_.str.3@PAGE Lloh10: add x19, x19, l_.str.3@PAGEOFF mov x0, x19 bl _printf add x21, x22, #28 ldp w8, w9, [sp, #112] stp x8, x9, [sp, #8] str x21, [sp] mov x0, x19 bl _printf add x20, x22, #56 ldp w8, w9, [sp, #140] stp x8, x9, [sp, #8] str x20, [sp] mov x0, x19 bl _printf Lloh11: adrp x0, l_str.7@PAGE Lloh12: add x0, x0, l_str.7@PAGEOFF bl _puts add x8, sp, #28 str x8, [sp] Lloh13: adrp x0, l_.str.5@PAGE Lloh14: add x0, x0, l_.str.5@PAGEOFF bl _scanf Lloh15: adrp x0, l_str.8@PAGE Lloh16: add x0, x0, l_str.8@PAGEOFF bl _puts ldr w8, [sp, #28] ldr w9, [sp, #88] sub w10, w8, w9 cmp w10, #2 b.le LBB0_8 ; %bb.7: ldr w8, [sp, #84] stp x8, x9, [sp, #8] str x22, [sp] Lloh17: adrp x0, l_.str.3@PAGE Lloh18: add x0, x0, l_.str.3@PAGEOFF bl _printf ldr w8, [sp, #28] LBB0_8: ldr w9, [sp, #116] sub w10, w8, w9 cmp w10, #3 b.lt LBB0_10 ; %bb.9: ldr w8, [sp, #112] stp x8, x9, [sp, #8] str x21, [sp] Lloh19: adrp x0, l_.str.3@PAGE Lloh20: add x0, x0, l_.str.3@PAGEOFF bl _printf ldr w8, [sp, #28] LBB0_10: ldr w9, [sp, #144] sub w8, w8, w9 cmp w8, #3 b.lt LBB0_12 ; %bb.11: ldr w8, [sp, #140] stp x8, x9, [sp, #8] str x20, [sp] Lloh21: adrp x0, l_.str.3@PAGE Lloh22: add x0, x0, l_.str.3@PAGEOFF bl _printf LBB0_12: ldur x8, [x29, #-40] Lloh23: adrp x9, ___stack_chk_guard@GOTPAGE Lloh24: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh25: ldr x9, [x9] cmp x9, x8 b.ne LBB0_14 ; %bb.13: ldp x29, x30, [sp, #192] ; 16-byte Folded Reload ldp x20, x19, [sp, #176] ; 16-byte Folded Reload ldp x22, x21, [sp, #160] ; 16-byte Folded Reload add sp, sp, #208 ret LBB0_14: bl ___stack_chk_fail .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz " %s %d %d" l_.str.3: ; @.str.3 .asciz " %s %d %d\n" l_.str.5: ; @.str.5 .asciz "%d" l_str: ; @str .asciz "\n**************************************\n the data is as follow" l_str.7: ; @str.7 .asciz "\n****************************\n enter the current year" l_str.8: ; @str.8 .asciz "the emplyoee whose tenure is greater than or equal to 3 year are" l_str.9: ; @str.9 .asciz "enter name, code,year of joining" .subsections_via_symbols
the_stack_data/396011.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function btrfs_destroy_marked_extents _btrfs_destroy_marked_extents: ## @btrfs_destroy_marked_extents .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 movq %rsi, %r15 movq %rdi, %rbx movq $0, -48(%rbp) leaq -48(%rbp), %rdx leaq -56(%rbp), %rcx movq %rsi, %rdi xorl %esi, %esi movl %r14d, %r8d xorl %r9d, %r9d callq _find_first_extent_bit testl %eax, %eax je LBB0_1 LBB0_10: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: movq _EXTENT_BUFFER_DIRTY@GOTPCREL(%rip), %r13 jmp LBB0_3 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_3 Depth=1 movq %r15, %rdi leaq -48(%rbp), %rdx leaq -56(%rbp), %rcx movl %r14d, %r8d xorl %r9d, %r9d callq _find_first_extent_bit testl %eax, %eax jne LBB0_10 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 ## Child Loop BB0_9 Depth 3 movq -48(%rbp), %rsi movq -56(%rbp), %rdx movq %r15, %rdi movl %r14d, %ecx callq _clear_extent_bits jmp LBB0_8 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_8 Depth=2 movq %r12, %rdi callq _free_extent_buffer_stale LBB0_8: ## Parent Loop BB0_3 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_9 Depth 3 movq -48(%rbp), %rsi LBB0_9: ## Parent Loop BB0_3 Depth=1 ## Parent Loop BB0_8 Depth=2 ## => This Inner Loop Header: Depth=3 cmpq -56(%rbp), %rsi jg LBB0_2 ## %bb.4: ## in Loop: Header=BB0_9 Depth=3 movq %rbx, %rdi callq _find_extent_buffer movq -48(%rbp), %rsi addq (%rbx), %rsi movq %rsi, -48(%rbp) testq %rax, %rax je LBB0_9 ## %bb.5: ## in Loop: Header=BB0_8 Depth=2 movq %rax, %r12 movq %rax, %rdi callq _wait_on_extent_buffer_writeback movl (%r13), %edi movq %r12, %rsi callq _test_and_clear_bit testq %rax, %rax je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_8 Depth=2 movq %r12, %rdi callq _clear_extent_buffer_dirty jmp LBB0_7 .cfi_endproc ## -- End function .comm _EXTENT_BUFFER_DIRTY,4,2 ## @EXTENT_BUFFER_DIRTY .no_dead_strip _btrfs_destroy_marked_extents .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function btrfs_destroy_marked_extents _btrfs_destroy_marked_extents: ; @btrfs_destroy_marked_extents .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 str xzr, [sp, #8] add x2, sp, #8 mov x3, sp mov x0, x1 mov x1, #0 mov x4, x19 mov x5, #0 bl _find_first_extent_bit cbz w0, LBB0_2 LBB0_1: 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_2: Lloh0: adrp x23, _EXTENT_BUFFER_DIRTY@GOTPAGE Lloh1: ldr x23, [x23, _EXTENT_BUFFER_DIRTY@GOTPAGEOFF] b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x2, sp, #8 mov x3, sp mov x0, x20 mov x4, x19 mov x5, #0 bl _find_first_extent_bit cbnz w0, LBB0_1 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ; Child Loop BB0_7 Depth 3 ldp x2, x1, [sp] mov x0, x20 mov x3, x19 bl _clear_extent_bits b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=2 mov x0, x22 bl _free_extent_buffer_stale LBB0_6: ; Parent Loop BB0_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_7 Depth 3 ldr x1, [sp, #8] LBB0_7: ; Parent Loop BB0_4 Depth=1 ; Parent Loop BB0_6 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x8, [sp] cmp x1, x8 b.gt LBB0_3 ; %bb.8: ; in Loop: Header=BB0_7 Depth=3 mov x0, x21 bl _find_extent_buffer ldr x8, [x21] ldr x9, [sp, #8] add x1, x9, x8 str x1, [sp, #8] cbz x0, LBB0_7 ; %bb.9: ; in Loop: Header=BB0_6 Depth=2 mov x22, x0 bl _wait_on_extent_buffer_writeback ldr w0, [x23] mov x1, x22 bl _test_and_clear_bit cbz x0, LBB0_5 ; %bb.10: ; in Loop: Header=BB0_6 Depth=2 mov x0, x22 bl _clear_extent_buffer_dirty b LBB0_5 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _EXTENT_BUFFER_DIRTY,4,2 ; @EXTENT_BUFFER_DIRTY .no_dead_strip _btrfs_destroy_marked_extents .subsections_via_symbols
AnghaBench/linux/fs/btrfs/extr_disk-io.c_btrfs_destroy_marked_extents.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pat_enabled ## -- Begin function pat_enabled .p2align 4, 0x90 _pat_enabled: ## @pat_enabled .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _pat_initialized@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _pat_initialized,4,2 ## @pat_initialized .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pat_enabled ; -- Begin function pat_enabled .p2align 2 _pat_enabled: ; @pat_enabled .cfi_startproc ; %bb.0: Lloh0: adrp x8, _pat_initialized@GOTPAGE Lloh1: ldr x8, [x8, _pat_initialized@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _pat_initialized,4,2 ; @pat_initialized .subsections_via_symbols
AnghaBench/linux/arch/x86/mm/extr_pat.c_pat_enabled.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/207018.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vm_object_page_collect_flush _vm_object_page_collect_flush: ## @vm_object_page_collect_flush .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -88(%rbp) ## 8-byte Spill movq %r8, %r13 movl %ecx, -52(%rbp) ## 4-byte Spill movl %edx, -68(%rbp) ## 4-byte Spill movq %rsi, %rbx movl %edi, %r15d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _vm_pageout_page_count@GOTPCREL(%rip), %r12 movl (%r12), %eax shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 movq _MA_NOTOWNED@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _vm_page_lock_assert movq %rbx, -64(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _vm_page_assert_xbusied movl %r15d, %edi callq _VM_OBJECT_ASSERT_WLOCKED movl $1, %r15d cmpl $2, (%r12) jl LBB0_7 ## %bb.1: movl $1, %r15d movq -64(%rbp), %rbx ## 8-byte Reload .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _vm_page_next testq %rax, %rax je LBB0_7 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %rbx movq %rax, %rdi callq _vm_page_tryxbusy testq %rax, %rax je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi movl -52(%rbp), %esi ## 4-byte Reload movq %r13, %rdx callq _vm_object_page_remove_write testl %eax, %eax je LBB0_5 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 incl %r15d movq _vm_pageout_page_count@GOTPCREL(%rip), %rax cmpl (%rax), %r15d jl LBB0_2 jmp LBB0_7 LBB0_5: movq %rbx, %rdi callq _vm_page_xunbusy LBB0_7: movq %r14, -80(%rbp) ## 8-byte Spill xorl %r12d, %r12d movq _vm_pageout_page_count@GOTPCREL(%rip), %rax cmpl (%rax), %r15d jge LBB0_8 ## %bb.9: movq %r13, -96(%rbp) ## 8-byte Spill xorl %ebx, %ebx movl %r15d, %r14d movq -64(%rbp), %rcx ## 8-byte Reload .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq %rcx, %r12 movq %rcx, %rdi callq _vm_page_prev testq %rax, %rax je LBB0_15 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 movq %rax, %r13 movq %rax, %rdi callq _vm_page_tryxbusy testq %rax, %rax je LBB0_12 ## %bb.13: ## in Loop: Header=BB0_10 Depth=1 movq %r13, %rdi movl -52(%rbp), %esi ## 4-byte Reload movq -96(%rbp), %rdx ## 8-byte Reload callq _vm_object_page_remove_write testl %eax, %eax je LBB0_14 ## %bb.21: ## in Loop: Header=BB0_10 Depth=1 incl %r14d movl %ebx, %r12d incl %r12d leal (%r15,%rbx), %eax incl %eax movl %r12d, %ebx movq %r13, %rcx movq _vm_pageout_page_count@GOTPCREL(%rip), %rdx cmpl (%rdx), %eax jl LBB0_10 jmp LBB0_17 LBB0_8: movq -64(%rbp), %r13 ## 8-byte Reload movl %r15d, %r14d jmp LBB0_17 LBB0_12: movq %r12, %r13 jmp LBB0_16 LBB0_14: movq %r13, %rdi callq _vm_page_xunbusy LBB0_15: addl %ebx, %r15d movq %r12, %r13 movl %r15d, %r14d LBB0_16: movl %ebx, %r12d LBB0_17: movl %r14d, %r14d xorl %ebx, %ebx movq -80(%rbp), %r15 ## 8-byte Reload .p2align 4, 0x90 LBB0_18: ## =>This Inner Loop Header: Depth=1 movq %r13, (%r15,%rbx,8) movq _listq@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r13, %rdi callq _TAILQ_NEXT movq %rax, %r13 incq %rbx cmpq %rbx, %r14 jne LBB0_18 ## %bb.19: leaq -72(%rbp), %r8 movq %r15, %rdi movl %r14d, %esi movl -68(%rbp), %edx ## 4-byte Reload movl %r12d, %ecx movq -88(%rbp), %r9 ## 8-byte Reload callq _vm_pageout_flush movl -72(%rbp), %eax movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_22 ## %bb.20: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_22: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _vm_pageout_page_count,4,2 ## @vm_pageout_page_count .comm _MA_NOTOWNED,4,2 ## @MA_NOTOWNED .comm _listq,4,2 ## @listq .no_dead_strip _vm_object_page_collect_flush .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vm_object_page_collect_flush _vm_object_page_collect_flush: ; @vm_object_page_collect_flush .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #32 stur x5, [x29, #-104] ; 8-byte Folded Spill mov x23, x4 mov x24, x3 mov x20, x2 mov x22, x1 mov x25, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x28, _vm_pageout_page_count@GOTPAGE Lloh4: ldr x28, [x28, _vm_pageout_page_count@GOTPAGEOFF] ldr w8, [x28] lsl x8, x8, #3 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0xffffffff0 sub x21, x9, x8 mov sp, x21 Lloh7: adrp x8, _MA_NOTOWNED@GOTPAGE Lloh8: ldr x8, [x8, _MA_NOTOWNED@GOTPAGEOFF] Lloh9: ldr w1, [x8] mov x0, x22 bl _vm_page_lock_assert mov x0, x22 bl _vm_page_assert_xbusied mov x0, x25 bl _VM_OBJECT_ASSERT_WLOCKED ldr w8, [x28] mov w26, #1 cmp w8, #2 b.lt LBB0_7 ; %bb.1: mov x25, x22 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x25 bl _vm_page_next cbz x0, LBB0_7 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x25, x0 bl _vm_page_tryxbusy cbz x0, LBB0_7 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 mov x0, x25 mov x1, x24 mov x2, x23 bl _vm_object_page_remove_write cbz w0, LBB0_6 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 add w26, w26, #1 ldr w8, [x28] cmp w26, w8 b.lt LBB0_2 b LBB0_7 LBB0_6: mov x0, x25 bl _vm_page_xunbusy LBB0_7: ldr w8, [x28] cmp w26, w8 b.ge LBB0_13 ; %bb.8: mov w25, #0 mov x19, x26 mov x27, x22 LBB0_9: ; =>This Inner Loop Header: Depth=1 mov x0, x27 bl _vm_page_prev cbz x0, LBB0_15 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 mov x22, x0 bl _vm_page_tryxbusy cbz x0, LBB0_16 ; %bb.11: ; in Loop: Header=BB0_9 Depth=1 mov x0, x22 mov x1, x24 mov x2, x23 bl _vm_object_page_remove_write cbz w0, LBB0_14 ; %bb.12: ; in Loop: Header=BB0_9 Depth=1 add w25, w25, #1 add w19, w19, #1 ldr w8, [x28] add w9, w26, w25 cmp w9, w8 mov x27, x22 b.lt LBB0_9 b LBB0_17 LBB0_13: mov w25, #0 mov x19, x26 b LBB0_17 LBB0_14: mov x0, x22 bl _vm_page_xunbusy LBB0_15: add w19, w26, w25 LBB0_16: mov x22, x27 LBB0_17: mov x23, #0 mov w8, w19 lsl x24, x8, #3 Lloh10: adrp x26, _listq@GOTPAGE Lloh11: ldr x26, [x26, _listq@GOTPAGEOFF] LBB0_18: ; =>This Inner Loop Header: Depth=1 str x22, [x21, x23] ldr w1, [x26] mov x0, x22 bl _TAILQ_NEXT mov x22, x0 add x23, x23, #8 cmp x24, x23 b.ne LBB0_18 ; %bb.19: sub x4, x29, #92 mov x0, x21 mov x1, x19 mov x2, x20 mov x3, x25 ldur x5, [x29, #-104] ; 8-byte Folded Reload bl _vm_pageout_flush ldur w0, [x29, #-92] ldur x8, [x29, #-88] Lloh12: adrp x9, ___stack_chk_guard@GOTPAGE Lloh13: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh14: ldr x9, [x9] cmp x9, x8 b.ne LBB0_21 ; %bb.20: sub sp, x29, #80 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_21: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _vm_pageout_page_count,4,2 ; @vm_pageout_page_count .comm _MA_NOTOWNED,4,2 ; @MA_NOTOWNED .comm _listq,4,2 ; @listq .no_dead_strip _vm_object_page_collect_flush .subsections_via_symbols
AnghaBench/freebsd/sys/vm/extr_vm_object.c_vm_object_page_collect_flush.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Curl_hostcache_prune ## -- Begin function Curl_hostcache_prune .p2align 4, 0x90 _Curl_hostcache_prune: ## @Curl_hostcache_prune .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 cmpl $-1, 8(%rdi) je LBB0_6 ## %bb.1: movq %rdi, %rbx cmpl $0, 12(%rdi) je LBB0_6 ## %bb.2: cmpq $0, (%rbx) je LBB0_4 ## %bb.3: movq _CURL_LOCK_DATA_DNS@GOTPCREL(%rip), %rax movl (%rax), %esi movq _CURL_LOCK_ACCESS_SINGLE@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi callq _Curl_share_lock LBB0_4: leaq -12(%rbp), %rdi callq _time movl 8(%rbx), %esi movl 12(%rbx), %edi movl -12(%rbp), %edx callq _hostcache_prune cmpq $0, (%rbx) je LBB0_6 ## %bb.5: movq _CURL_LOCK_DATA_DNS@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _Curl_share_unlock LBB0_6: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _CURL_LOCK_DATA_DNS,4,2 ## @CURL_LOCK_DATA_DNS .comm _CURL_LOCK_ACCESS_SINGLE,4,2 ## @CURL_LOCK_ACCESS_SINGLE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Curl_hostcache_prune ; -- Begin function Curl_hostcache_prune .p2align 2 _Curl_hostcache_prune: ; @Curl_hostcache_prune .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 ldr w8, [x0, #8] cmn w8, #1 b.eq LBB0_6 ; %bb.1: mov x19, x0 ldr w8, [x0, #12] cbz w8, LBB0_6 ; %bb.2: ldr x8, [x19] Lloh0: adrp x20, _CURL_LOCK_DATA_DNS@GOTPAGE Lloh1: ldr x20, [x20, _CURL_LOCK_DATA_DNS@GOTPAGEOFF] cbz x8, LBB0_4 ; %bb.3: ldr w1, [x20] Lloh2: adrp x8, _CURL_LOCK_ACCESS_SINGLE@GOTPAGE Lloh3: ldr x8, [x8, _CURL_LOCK_ACCESS_SINGLE@GOTPAGEOFF] Lloh4: ldr w2, [x8] mov x0, x19 bl _Curl_share_lock LBB0_4: add x0, sp, #12 bl _time ldp w1, w0, [x19, #8] ldr w2, [sp, #12] bl _hostcache_prune ldr x8, [x19] cbz x8, LBB0_6 ; %bb.5: ldr w1, [x20] mov x0, x19 bl _Curl_share_unlock LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _CURL_LOCK_DATA_DNS,4,2 ; @CURL_LOCK_DATA_DNS .comm _CURL_LOCK_ACCESS_SINGLE,4,2 ; @CURL_LOCK_ACCESS_SINGLE .subsections_via_symbols
AnghaBench/curl/lib/extr_hostip.c_Curl_hostcache_prune.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3_bind_text ## -- Begin function sqlite3_bind_text .p2align 4, 0x90 _sqlite3_bind_text: ## @sqlite3_bind_text .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _SQLITE_UTF8@GOTPCREL(%rip), %rax movl (%rax), %r9d popq %rbp jmp _bindText ## TAILCALL .cfi_endproc ## -- End function .comm _SQLITE_UTF8,4,2 ## @SQLITE_UTF8 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3_bind_text ; -- Begin function sqlite3_bind_text .p2align 2 _sqlite3_bind_text: ; @sqlite3_bind_text .cfi_startproc ; %bb.0: Lloh0: adrp x8, _SQLITE_UTF8@GOTPAGE Lloh1: ldr x8, [x8, _SQLITE_UTF8@GOTPAGEOFF] Lloh2: ldr w5, [x8] b _bindText .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SQLITE_UTF8,4,2 ; @SQLITE_UTF8 .subsections_via_symbols
AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_sqlite3_bind_text.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bio_bucket_destroy _bio_bucket_destroy: ## @bio_bucket_destroy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax testq %rdi, %rdi setne %al popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _bio_bucket_destroy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bio_bucket_destroy _bio_bucket_destroy: ; @bio_bucket_destroy .cfi_startproc ; %bb.0: cmp x0, #0 cset w0, ne ret .cfi_endproc ; -- End function .no_dead_strip _bio_bucket_destroy .subsections_via_symbols
AnghaBench/freebsd/contrib/serf/buckets/extr_ssl_buckets.c_bio_bucket_destroy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pa11_dma_alloc_noncoherent _pa11_dma_alloc_noncoherent: ## @pa11_dma_alloc_noncoherent .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %ecx, %ebx movq %rdx, %r14 movq %rsi, %rdi callq _get_order movl %ebx, %edi movl %eax, %esi callq ___get_free_pages movq %rax, %rbx testq %rax, %rax je LBB0_2 ## %bb.1: movq %rbx, %rdi callq _virt_to_phys movq %rax, (%r14) LBB0_2: movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _pa11_dma_alloc_noncoherent .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pa11_dma_alloc_noncoherent _pa11_dma_alloc_noncoherent: ; @pa11_dma_alloc_noncoherent .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, x3 mov x19, x2 mov x0, x1 bl _get_order mov x1, x0 mov x0, x20 bl ___get_free_pages mov x20, x0 cbz x0, LBB0_2 ; %bb.1: mov x0, x20 bl _virt_to_phys str x0, [x19] LBB0_2: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _pa11_dma_alloc_noncoherent .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/parisc/kernel/extr_pci-dma.c_pa11_dma_alloc_noncoherent.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function emfpathdrv_Ellipse _emfpathdrv_Ellipse: ## @emfpathdrv_Ellipse .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, -48(%rbp) ## 4-byte Spill movl %ecx, %r12d movl %edx, -44(%rbp) ## 4-byte Spill movl %esi, %r13d movq %rdi, %rbx callq _get_emfdev movq %rax, %r14 movq _pEllipse@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _GET_NEXT_PHYSDEV movq %rax, %r15 movq (%r14), %rax movq %r14, %rdi movl -44(%rbp), %ebx ## 4-byte Reload movl -48(%rbp), %r14d ## 4-byte Reload movl %r13d, %esi movl %ebx, %edx movl %r12d, %ecx movl %r14d, %r8d callq *(%rax) testq %rax, %rax je LBB0_1 ## %bb.2: movq (%r15), %rax movq %r15, %rdi movl %r13d, %esi movl %ebx, %edx movl %r12d, %ecx movl %r14d, %r8d callq *(%rax) movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx setne %al jmp LBB0_3 LBB0_1: xorl %eax, %eax LBB0_3: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _pEllipse,4,2 ## @pEllipse .no_dead_strip _emfpathdrv_Ellipse .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function emfpathdrv_Ellipse _emfpathdrv_Ellipse: ; @emfpathdrv_Ellipse .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 x20, x3 mov x21, x2 mov x22, x1 mov x23, x0 bl _get_emfdev mov x24, x0 Lloh0: adrp x8, _pEllipse@GOTPAGE Lloh1: ldr x8, [x8, _pEllipse@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x23 bl _GET_NEXT_PHYSDEV mov x23, x0 ldr x8, [x24] ldr x8, [x8] mov x0, x24 mov x1, x22 mov x2, x21 mov x3, x20 mov x4, x19 blr x8 cbz x0, LBB0_2 ; %bb.1: ldr x8, [x23] ldr x8, [x8] mov x0, x23 mov x1, x22 mov x2, x21 mov x3, x20 mov x4, x19 blr x8 cmp x0, #0 cset w0, ne LBB0_2: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _pEllipse,4,2 ; @pEllipse .no_dead_strip _emfpathdrv_Ellipse .subsections_via_symbols
AnghaBench/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/extr_dc.c_emfpathdrv_Ellipse.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function store_version _store_version: ## @store_version .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq 8(%rdi), %rbx movq _AVFMT_FLAG_BITEXACT@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rdi) je LBB0_2 ## %bb.1: xorl %r14d, %r14d movq %rbx, %rdi xorl %esi, %esi callq _avio_wb16 movq %rbx, %rdi xorl %esi, %esi callq _avio_wb16 jmp LBB0_3 LBB0_2: movq _LIBAVFORMAT_VERSION_MAJOR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _avio_wb16 movq _LIBAVFORMAT_VERSION_MINOR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _avio_wb16 movq _LIBAVFORMAT_VERSION_MICRO@GOTPCREL(%rip), %rax movl (%rax), %r14d LBB0_3: movq %rbx, %rdi movl %r14d, %esi callq _avio_wb16 movq %rbx, %rdi xorl %esi, %esi callq _avio_wb16 movq %rbx, %rdi xorl %esi, %esi popq %rbx popq %r14 popq %rbp jmp _avio_wb16 ## TAILCALL .cfi_endproc ## -- End function .comm _AVFMT_FLAG_BITEXACT,4,2 ## @AVFMT_FLAG_BITEXACT .comm _LIBAVFORMAT_VERSION_MAJOR,4,2 ## @LIBAVFORMAT_VERSION_MAJOR .comm _LIBAVFORMAT_VERSION_MINOR,4,2 ## @LIBAVFORMAT_VERSION_MINOR .comm _LIBAVFORMAT_VERSION_MICRO,4,2 ## @LIBAVFORMAT_VERSION_MICRO .no_dead_strip _store_version .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function store_version _store_version: ; @store_version .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x19, [x0, #8] ldr w8, [x0] Lloh0: adrp x9, _AVFMT_FLAG_BITEXACT@GOTPAGE Lloh1: ldr x9, [x9, _AVFMT_FLAG_BITEXACT@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_2 ; %bb.1: mov x0, x19 mov w1, #0 bl _avio_wb16 mov x0, x19 mov w1, #0 bl _avio_wb16 mov w1, #0 b LBB0_3 LBB0_2: Lloh3: adrp x8, _LIBAVFORMAT_VERSION_MAJOR@GOTPAGE Lloh4: ldr x8, [x8, _LIBAVFORMAT_VERSION_MAJOR@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 bl _avio_wb16 Lloh6: adrp x8, _LIBAVFORMAT_VERSION_MINOR@GOTPAGE Lloh7: ldr x8, [x8, _LIBAVFORMAT_VERSION_MINOR@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x0, x19 bl _avio_wb16 Lloh9: adrp x8, _LIBAVFORMAT_VERSION_MICRO@GOTPAGE Lloh10: ldr x8, [x8, _LIBAVFORMAT_VERSION_MICRO@GOTPAGEOFF] Lloh11: ldr w1, [x8] LBB0_3: mov x0, x19 bl _avio_wb16 mov x0, x19 mov w1, #0 bl _avio_wb16 mov x0, x19 mov w1, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _avio_wb16 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _AVFMT_FLAG_BITEXACT,4,2 ; @AVFMT_FLAG_BITEXACT .comm _LIBAVFORMAT_VERSION_MAJOR,4,2 ; @LIBAVFORMAT_VERSION_MAJOR .comm _LIBAVFORMAT_VERSION_MINOR,4,2 ; @LIBAVFORMAT_VERSION_MINOR .comm _LIBAVFORMAT_VERSION_MICRO,4,2 ; @LIBAVFORMAT_VERSION_MICRO .no_dead_strip _store_version .subsections_via_symbols
AnghaBench/FFmpeg/libavformat/extr_mxfenc.c_store_version.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rangetr_hash _rangetr_hash: ## @rangetr_hash .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 4(%rsi), %eax movl 8(%rsi), %ecx shll $3, %eax addl (%rsi), %eax shll $5, %ecx addl %eax, %ecx movl (%rdi), %eax decl %eax andl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _rangetr_hash .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rangetr_hash _rangetr_hash: ; @rangetr_hash .cfi_startproc ; %bb.0: ldp w8, w9, [x1] add w8, w8, w9, lsl #3 ldr w9, [x1, #8] add w8, w8, w9, lsl #5 ldr w9, [x0] sub w9, w9, #1 and w0, w8, w9 ret .cfi_endproc ; -- End function .no_dead_strip _rangetr_hash .subsections_via_symbols
AnghaBench/fastsocket/kernel/security/selinux/ss/extr_policydb.c_rangetr_hash.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lm63_probe _lm63_probe: ## @lm63_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 %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movq %rdi, %r15 leaq 8(%rdi), %r14 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movl $40, %esi callq _devm_kzalloc testq %rax, %rax je LBB0_11 ## %bb.1: movq %rax, %rbx movq %r15, 32(%rax) movq %rax, %rdi addq $24, %rdi callq _mutex_init cmpq $0, 8(%r15) je LBB0_3 ## %bb.2: movq %r14, %rdi callq _of_device_get_match_data jmp LBB0_4 LBB0_11: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_3: movl (%r12), %eax LBB0_4: movl %eax, (%rbx) cltq movq _lm64@GOTPCREL(%rip), %rcx cmpq %rax, (%rcx) jne LBB0_6 ## %bb.5: movl $16000, 4(%rbx) ## imm = 0x3E80 LBB0_6: movq %rbx, %rdi callq _lm63_init_client movq 16(%rbx), %rax movq _lm63_group@GOTPCREL(%rip), %rcx movq %rcx, (%rax) movl $1, %eax testb $4, 8(%rbx) je LBB0_8 ## %bb.7: movq 16(%rbx), %rax movq _lm63_group_fan1@GOTPCREL(%rip), %rcx movq %rcx, 8(%rax) movl $2, %eax LBB0_8: movslq (%rbx), %rcx movq _lm96163@GOTPCREL(%rip), %rdx cmpq %rcx, (%rdx) jne LBB0_10 ## %bb.9: movq 16(%rbx), %rcx movl %eax, %eax movq _lm63_group_temp2_type@GOTPCREL(%rip), %rdx movq %rdx, (%rcx,%rax,8) movq 16(%rbx), %rcx movq _lm63_group_extra_lut@GOTPCREL(%rip), %rdx movq %rdx, 8(%rcx,%rax,8) LBB0_10: movl (%r15), %esi movq 16(%rbx), %rcx movq %r14, %rdi movq %rbx, %rdx callq _devm_hwmon_device_register_with_groups movq %rax, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _PTR_ERR_OR_ZERO ## TAILCALL .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _lm64,8,3 ## @lm64 .comm _lm63_group,4,2 ## @lm63_group .comm _lm63_group_fan1,4,2 ## @lm63_group_fan1 .comm _lm96163,8,3 ## @lm96163 .comm _lm63_group_temp2_type,4,2 ## @lm63_group_temp2_type .comm _lm63_group_extra_lut,4,2 ## @lm63_group_extra_lut .no_dead_strip _lm63_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lm63_probe _lm63_probe: ; @lm63_probe .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 x22, x1 mov x20, x0 add x19, x0, #8 Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x0, x19 mov w1, #40 bl _devm_kzalloc cbz x0, LBB0_3 ; %bb.1: mov x21, x0 str x20, [x0, #32] add x0, x0, #24 bl _mutex_init ldr x8, [x20, #8] cbz x8, LBB0_4 ; %bb.2: mov x0, x19 bl _of_device_get_match_data b LBB0_5 LBB0_3: Lloh3: adrp x8, _ENOMEM@GOTPAGE Lloh4: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_4: ldr w0, [x22] LBB0_5: str w0, [x21] Lloh6: adrp x8, _lm64@GOTPAGE Lloh7: ldr x8, [x8, _lm64@GOTPAGEOFF] Lloh8: ldr x8, [x8] cmp x8, w0, sxtw b.ne LBB0_7 ; %bb.6: mov w8, #16000 str w8, [x21, #4] LBB0_7: mov x0, x21 bl _lm63_init_client ldr x8, [x21, #16] Lloh9: adrp x9, _lm63_group@GOTPAGE Lloh10: ldr x9, [x9, _lm63_group@GOTPAGEOFF] str x9, [x8] ldrb w8, [x21, #8] tbnz w8, #2, LBB0_9 ; %bb.8: mov w8, #1 b LBB0_10 LBB0_9: ldr x8, [x21, #16] Lloh11: adrp x9, _lm63_group_fan1@GOTPAGE Lloh12: ldr x9, [x9, _lm63_group_fan1@GOTPAGEOFF] str x9, [x8, #8] mov w8, #2 LBB0_10: ldrsw x9, [x21] Lloh13: adrp x10, _lm96163@GOTPAGE Lloh14: ldr x10, [x10, _lm96163@GOTPAGEOFF] Lloh15: ldr x10, [x10] cmp x10, x9 b.ne LBB0_12 ; %bb.11: ldr x9, [x21, #16] Lloh16: adrp x10, _lm63_group_temp2_type@GOTPAGE Lloh17: ldr x10, [x10, _lm63_group_temp2_type@GOTPAGEOFF] str x10, [x9, w8, uxtw #3] add w8, w8, #1 ldr x9, [x21, #16] Lloh18: adrp x10, _lm63_group_extra_lut@GOTPAGE Lloh19: ldr x10, [x10, _lm63_group_extra_lut@GOTPAGEOFF] str x10, [x9, w8, uxtw #3] LBB0_12: ldr w1, [x20] ldr x3, [x21, #16] mov x0, x19 mov x2, x21 bl _devm_hwmon_device_register_with_groups 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 _PTR_ERR_OR_ZERO .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _lm64,8,3 ; @lm64 .comm _lm63_group,4,2 ; @lm63_group .comm _lm63_group_fan1,4,2 ; @lm63_group_fan1 .comm _lm96163,8,3 ; @lm96163 .comm _lm63_group_temp2_type,4,2 ; @lm63_group_temp2_type .comm _lm63_group_extra_lut,4,2 ; @lm63_group_extra_lut .no_dead_strip _lm63_probe .subsections_via_symbols
AnghaBench/linux/drivers/hwmon/extr_lm63.c_lm63_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _w1_touch_bit ## -- Begin function w1_touch_bit .p2align 4, 0x90 _w1_touch_bit: ## @w1_touch_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 (%rdi), %rcx movq 8(%rcx), %rax testq %rax, %rax je LBB0_1 ## %bb.3: movl (%rcx), %edi popq %rbp jmpq *%rax ## TAILCALL LBB0_1: testl %esi, %esi je LBB0_2 ## %bb.4: popq %rbp jmp _w1_read_bit ## TAILCALL LBB0_2: xorl %esi, %esi callq _w1_write_bit xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _w1_touch_bit ; -- Begin function w1_touch_bit .p2align 2 _w1_touch_bit: ; @w1_touch_bit .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr x8, [x0] ldr x2, [x8, #8] cbz x2, LBB0_2 ; %bb.1: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload br x2 LBB0_2: cbz w1, LBB0_4 ; %bb.3: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _w1_read_bit LBB0_4: bl _w1_write_bit mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/w1/extr_w1_io.c_w1_touch_bit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function am335x_ehrpwm_freq _am335x_ehrpwm_freq: ## @am335x_ehrpwm_freq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _am335x_ehrpwm_clkdiv@GOTPCREL(%rip), %rax movq (%rax), %rcx movq (%rdi), %rsi movq _PWM_CLOCK@GOTPCREL(%rip), %rax movl (%rax), %eax cltd idivl (%rcx,%rsi,4) cltd idivl 12(%rdi) movl %eax, 8(%rdi) popq %rbp retq .cfi_endproc ## -- End function .comm _am335x_ehrpwm_clkdiv,8,3 ## @am335x_ehrpwm_clkdiv .comm _PWM_CLOCK,4,2 ## @PWM_CLOCK .no_dead_strip _am335x_ehrpwm_freq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function am335x_ehrpwm_freq _am335x_ehrpwm_freq: ; @am335x_ehrpwm_freq .cfi_startproc ; %bb.0: Lloh0: adrp x8, _am335x_ehrpwm_clkdiv@GOTPAGE Lloh1: ldr x8, [x8, _am335x_ehrpwm_clkdiv@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x9, [x0] ldr w8, [x8, x9, lsl #2] Lloh3: adrp x9, _PWM_CLOCK@GOTPAGE Lloh4: ldr x9, [x9, _PWM_CLOCK@GOTPAGEOFF] Lloh5: ldr w9, [x9] sdiv w8, w9, w8 ldr w9, [x0, #12] sdiv w8, w8, w9 str w8, [x0, #8] ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _am335x_ehrpwm_clkdiv,8,3 ; @am335x_ehrpwm_clkdiv .comm _PWM_CLOCK,4,2 ; @PWM_CLOCK .no_dead_strip _am335x_ehrpwm_freq .subsections_via_symbols
AnghaBench/freebsd/sys/arm/ti/am335x/extr_am335x_ehrpwm.c_am335x_ehrpwm_freq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ctor_double_free _ctor_double_free: ## @ctor_double_free .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 _ctor_double_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ctor_double_free _ctor_double_free: ; @ctor_double_free .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _ctor_double_free .subsections_via_symbols
AnghaBench/linux/drivers/misc/lkdtm/extr_heap.c_ctor_double_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _openp ## -- Begin function openp .p2align 4, 0x90 _openp: ## @openp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -72(%rbp) ## 8-byte Spill movl %r8d, %ebx movl %ecx, -52(%rbp) ## 4-byte Spill movq %rdx, %r15 testq %rdi, %rdi leaq L_.str(%rip), %r14 cmovneq %rdi, %r14 testl %esi, %esi jne LBB0_2 ## %bb.1: movq %r15, %rdi callq _IS_ABSOLUTE_PATH testq %rax, %rax je LBB0_9 LBB0_2: movq %r15, %rdi callq _is_regular_file testq %rax, %rax je LBB0_4 ## %bb.3: movq %r15, %rdi callq _strlen ## kill: def $eax killed $eax def $rax leal 1(%rax), %edi callq _alloca movq %rax, %r12 movq %rax, %rdi movq %r15, %rsi callq _strcpy movq %r12, %rdi movl -52(%rbp), %esi ## 4-byte Reload movl %ebx, %edx xorl %eax, %eax callq _open movl %eax, -44(%rbp) ## 4-byte Spill testl %eax, %eax jns LBB0_35 jmp LBB0_5 LBB0_4: movl $-1, -44(%rbp) ## 4-byte Folded Spill xorl %r12d, %r12d LBB0_5: movb (%r15), %al testb %al, %al je LBB0_14 ## %bb.6: leaq 1(%r15), %rbx .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi callq _IS_DIR_SEPARATOR testq %rax, %rax jne LBB0_35 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movzbl (%rbx), %eax incq %rbx testb %al, %al jne LBB0_7 LBB0_9: cmpb $46, (%r15) jne LBB0_14 .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movsbl 1(%r15), %edi callq _IS_DIR_SEPARATOR testq %rax, %rax je LBB0_14 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 leaq 2(%r15), %rax cmpb $46, 2(%r15) movq %rax, %r15 je LBB0_10 jmp LBB0_15 LBB0_14: movq %r15, %rax LBB0_15: movq %rax, -64(%rbp) ## 8-byte Spill movq %r14, %rdi callq _strlen movl %eax, %ebx movq -64(%rbp), %rdi ## 8-byte Reload callq _strlen ## kill: def $eax killed $eax def $rax leal (%rbx,%rax), %edi addl $2, %edi movq -64(%rbp), %rbx ## 8-byte Reload movl %edi, -48(%rbp) ## 4-byte Spill callq _alloca movq %rax, %r12 movl $-1, -44(%rbp) ## 4-byte Folded Spill jmp LBB0_17 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_17 Depth=1 leaq 1(%r13), %r14 testq %r13, %r13 je LBB0_35 LBB0_17: ## =>This Loop Header: Depth=1 ## Child Loop BB0_29 Depth 2 movq _DIRNAME_SEPARATOR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _strchr movq %rax, %r13 testq %rax, %rax je LBB0_19 ## %bb.18: ## in Loop: Header=BB0_17 Depth=1 movl %r13d, %r15d subl %r14d, %r15d cmpl $4, %r15d je LBB0_20 jmp LBB0_27 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_17 Depth=1 movq %r14, %rdi callq _strlen movl %eax, %r15d cmpl $4, %r15d jne LBB0_27 LBB0_20: ## in Loop: Header=BB0_17 Depth=1 cmpb $36, (%r14) jne LBB0_27 ## %bb.21: ## in Loop: Header=BB0_17 Depth=1 cmpb $99, 1(%r14) jne LBB0_27 ## %bb.22: ## in Loop: Header=BB0_17 Depth=1 cmpb $119, 2(%r14) jne LBB0_27 ## %bb.23: ## in Loop: Header=BB0_17 Depth=1 cmpb $100, 3(%r14) jne LBB0_27 ## %bb.24: ## in Loop: Header=BB0_17 Depth=1 movq _current_directory@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _strlen movl %eax, %r15d movq %rbx, %rdi callq _strlen ## kill: def $eax killed $eax def $rax leal (%r15,%rax), %r14d addl $2, %r14d cmpl -48(%rbp), %r14d ## 4-byte Folded Reload jle LBB0_26 ## %bb.25: ## in Loop: Header=BB0_17 Depth=1 movl %r14d, %edi callq _alloca movq %rax, %r12 movl %r14d, -48(%rbp) ## 4-byte Spill LBB0_26: ## in Loop: Header=BB0_17 Depth=1 movq _current_directory@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %r12, %rdi callq _strcpy testl %r15d, %r15d jg LBB0_28 jmp LBB0_33 .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_17 Depth=1 movq %r12, %rdi movq %r14, %rsi movl %r15d, %edx callq _strncpy movslq %r15d, %rax movb $0, (%r12,%rax) testl %r15d, %r15d jle LBB0_33 LBB0_28: ## in Loop: Header=BB0_17 Depth=1 movl %r15d, %r15d .p2align 4, 0x90 LBB0_29: ## Parent Loop BB0_17 Depth=1 ## => This Inner Loop Header: Depth=2 leaq -1(%r15), %rbx movl %ebx, %r14d movsbl (%r12,%r14), %edi callq _IS_DIR_SEPARATOR testq %rax, %rax je LBB0_32 ## %bb.30: ## in Loop: Header=BB0_29 Depth=2 movb $0, (%r12,%r14) leaq 1(%rbx), %rax movq %rbx, %r15 cmpq $1, %rax ja LBB0_29 ## %bb.31: ## in Loop: Header=BB0_17 Depth=1 xorl %r15d, %r15d LBB0_32: ## in Loop: Header=BB0_17 Depth=1 movq -64(%rbp), %rbx ## 8-byte Reload LBB0_33: ## in Loop: Header=BB0_17 Depth=1 movslq %r15d, %rdi addq %r12, %rdi movq _SLASH_STRING@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _strcat movq %r12, %rdi movq %rbx, %rsi callq _strcat movq %r12, %rdi callq _is_regular_file testq %rax, %rax je LBB0_16 ## %bb.34: ## in Loop: Header=BB0_17 Depth=1 movq %r12, %rdi movl -52(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _open movl %eax, -44(%rbp) ## 4-byte Spill testl %eax, %eax js LBB0_16 LBB0_35: movq -72(%rbp), %rbx ## 8-byte Reload testq %rbx, %rbx movl -44(%rbp), %r15d ## 4-byte Reload je LBB0_44 ## %bb.36: testl %r15d, %r15d js LBB0_39 ## %bb.37: movq %r12, %rdi callq _IS_ABSOLUTE_PATH testq %rax, %rax je LBB0_40 ## %bb.38: movq %r12, %rdi callq _xfullpath movq %rax, (%rbx) jmp LBB0_44 LBB0_39: movq $0, (%rbx) jmp LBB0_44 LBB0_40: movq _current_directory@GOTPCREL(%rip), %rax movq (%rax), %r14 movq %r14, %rdi callq _strlen cltq movsbl -1(%rax,%r14), %edi callq _IS_DIR_SEPARATOR testq %rax, %rax jne LBB0_42 ## %bb.41: movq _SLASH_STRING@GOTPCREL(%rip), %rax movq (%rax), %rsi jmp LBB0_43 LBB0_42: leaq L_.str.1(%rip), %rsi LBB0_43: movq %r14, %rdi movq %r12, %rdx xorl %ecx, %ecx callq _concat movq %rax, %r14 movq %rax, %rdi callq _xfullpath movq %rax, (%rbx) movq %r14, %rdi callq _xfree LBB0_44: movl %r15d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "." .comm _DIRNAME_SEPARATOR,4,2 ## @DIRNAME_SEPARATOR .comm _current_directory,8,3 ## @current_directory .comm _SLASH_STRING,8,3 ## @SLASH_STRING L_.str.1: ## @.str.1 .space 1 .comm _O_BINARY,4,2 ## @O_BINARY .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _openp ; -- Begin function openp .p2align 2 _openp: ; @openp .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 str x5, [sp, #24] ; 8-byte Folded Spill mov x22, x4 mov x20, x3 mov x21, x2 Lloh0: adrp x8, l_.str@PAGE Lloh1: add x8, x8, l_.str@PAGEOFF cmp x0, #0 csel x24, x8, x0, eq cbnz w1, LBB0_2 ; %bb.1: mov x0, x21 bl _IS_ABSOLUTE_PATH cbz x0, LBB0_9 LBB0_2: mov x0, x21 bl _is_regular_file cbz x0, LBB0_5 ; %bb.3: mov x0, x21 bl _strlen add w0, w0, #1 bl _alloca mov x23, x0 mov x1, x21 bl _strcpy str x22, [sp] mov x0, x23 mov x1, x20 bl _open mov x22, x0 tbz w0, #31, LBB0_31 ; %bb.4: ldrb w8, [x21] cbnz w8, LBB0_6 b LBB0_12 LBB0_5: mov x23, #0 mov w22, #-1 ldrb w8, [x21] cbz w8, LBB0_12 LBB0_6: add x19, x21, #1 LBB0_7: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 bl _IS_DIR_SEPARATOR cbnz x0, LBB0_31 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 ldrb w8, [x19], #1 cbnz w8, LBB0_7 LBB0_9: ldrb w8, [x21] cmp w8, #46 b.ne LBB0_12 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldrsb w0, [x21, #1] bl _IS_DIR_SEPARATOR cbz x0, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 ldrb w8, [x21, #2]! cmp w8, #46 b.eq LBB0_10 LBB0_12: mov x0, x24 bl _strlen mov x22, x0 mov x0, x21 bl _strlen add w8, w22, w0 add w0, w8, #2 str w0, [sp, #20] ; 4-byte Folded Spill bl _alloca mov x23, x0 mov w22, #-1 Lloh2: adrp x28, _DIRNAME_SEPARATOR@GOTPAGE Lloh3: ldr x28, [x28, _DIRNAME_SEPARATOR@GOTPAGEOFF] Lloh4: adrp x19, _SLASH_STRING@GOTPAGE Lloh5: ldr x19, [x19, _SLASH_STRING@GOTPAGEOFF] b LBB0_14 LBB0_13: ; in Loop: Header=BB0_14 Depth=1 add x24, x26, #1 cbz x26, LBB0_31 LBB0_14: ; =>This Loop Header: Depth=1 ; Child Loop BB0_26 Depth 2 ldr w1, [x28] mov x0, x24 bl _strchr mov x26, x0 cbz x0, LBB0_16 ; %bb.15: ; in Loop: Header=BB0_14 Depth=1 sub w27, w26, w24 cmp w27, #4 b.eq LBB0_17 b LBB0_24 LBB0_16: ; in Loop: Header=BB0_14 Depth=1 mov x0, x24 bl _strlen mov x27, x0 cmp w27, #4 b.ne LBB0_24 LBB0_17: ; in Loop: Header=BB0_14 Depth=1 ldrb w8, [x24] cmp w8, #36 b.ne LBB0_24 ; %bb.18: ; in Loop: Header=BB0_14 Depth=1 ldrb w8, [x24, #1] cmp w8, #99 b.ne LBB0_24 ; %bb.19: ; in Loop: Header=BB0_14 Depth=1 ldrb w8, [x24, #2] cmp w8, #119 b.ne LBB0_24 ; %bb.20: ; in Loop: Header=BB0_14 Depth=1 ldrb w8, [x24, #3] cmp w8, #100 b.ne LBB0_24 ; %bb.21: ; in Loop: Header=BB0_14 Depth=1 Lloh6: adrp x8, _current_directory@GOTPAGE Lloh7: ldr x8, [x8, _current_directory@GOTPAGEOFF] Lloh8: ldr x0, [x8] bl _strlen mov x27, x0 mov x0, x21 bl _strlen add w8, w27, w0 add w24, w8, #2 ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w24, w8 b.le LBB0_23 ; %bb.22: ; in Loop: Header=BB0_14 Depth=1 mov x0, x24 bl _alloca mov x23, x0 str w24, [sp, #20] ; 4-byte Folded Spill LBB0_23: ; in Loop: Header=BB0_14 Depth=1 Lloh9: adrp x8, _current_directory@GOTPAGE Lloh10: ldr x8, [x8, _current_directory@GOTPAGEOFF] Lloh11: ldr x1, [x8] mov x0, x23 bl _strcpy cmp w27, #1 b.ge LBB0_25 b LBB0_29 LBB0_24: ; in Loop: Header=BB0_14 Depth=1 mov x0, x23 mov x1, x24 mov x2, x27 bl _strncpy strb wzr, [x23, w27, sxtw] cmp w27, #1 b.lt LBB0_29 LBB0_25: ; in Loop: Header=BB0_14 Depth=1 mov w27, w27 LBB0_26: ; Parent Loop BB0_14 Depth=1 ; => This Inner Loop Header: Depth=2 sub x24, x27, #1 and x25, x24, #0xffffffff ldrsb w0, [x23, x25] bl _IS_DIR_SEPARATOR cbz x0, LBB0_29 ; %bb.27: ; in Loop: Header=BB0_26 Depth=2 strb wzr, [x23, x25] add x8, x24, #1 mov x27, x24 cmp x8, #1 b.hi LBB0_26 ; %bb.28: ; in Loop: Header=BB0_14 Depth=1 mov w27, #0 LBB0_29: ; in Loop: Header=BB0_14 Depth=1 add x0, x23, w27, sxtw ldr x1, [x19] bl _strcat mov x0, x23 mov x1, x21 bl _strcat mov x0, x23 bl _is_regular_file cbz x0, LBB0_13 ; %bb.30: ; in Loop: Header=BB0_14 Depth=1 mov x0, x23 mov x1, x20 bl _open mov x22, x0 tbnz w0, #31, LBB0_13 LBB0_31: ldr x19, [sp, #24] ; 8-byte Folded Reload cbz x19, LBB0_37 ; %bb.32: tbnz w22, #31, LBB0_35 ; %bb.33: mov x0, x23 bl _IS_ABSOLUTE_PATH cbz x0, LBB0_36 ; %bb.34: mov x0, x23 bl _xfullpath str x0, [x19] b LBB0_37 LBB0_35: str xzr, [x19] b LBB0_37 LBB0_36: Lloh12: adrp x8, _current_directory@GOTPAGE Lloh13: ldr x8, [x8, _current_directory@GOTPAGEOFF] Lloh14: ldr x20, [x8] mov x0, x20 bl _strlen add x8, x20, w0, sxtw ldursb w0, [x8, #-1] bl _IS_DIR_SEPARATOR Lloh15: adrp x8, _SLASH_STRING@GOTPAGE Lloh16: ldr x8, [x8, _SLASH_STRING@GOTPAGEOFF] Lloh17: ldr x8, [x8] Lloh18: adrp x9, l_.str.1@PAGE Lloh19: add x9, x9, l_.str.1@PAGEOFF cmp x0, #0 csel x1, x8, x9, eq mov x0, x20 mov x2, x23 mov x3, #0 bl _concat mov x20, x0 bl _xfullpath str x0, [x19] mov x0, x20 bl _xfree LBB0_37: mov x0, x22 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 AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "." .comm _DIRNAME_SEPARATOR,4,2 ; @DIRNAME_SEPARATOR .comm _current_directory,8,3 ; @current_directory .comm _SLASH_STRING,8,3 ; @SLASH_STRING l_.str.1: ; @.str.1 .space 1 .comm _O_BINARY,4,2 ; @O_BINARY .subsections_via_symbols
AnghaBench/freebsd/contrib/gdb/gdb/extr_source.c_openp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function InsertCartridge _InsertCartridge: ## @InsertCartridge .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) leaq L_.str(%rip), %rsi callq _fopen testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r15 movq %rax, %rdi callq _Util_flen movl %eax, %r12d movq %r15, %rdi callq _Util_rewind movq (%r14), %rdi cmpq %rbx, %rdi je LBB0_4 ## %bb.3: movq %rbx, %rsi callq _strcpy LBB0_4: testl $1023, %r12d ## imm = 0x3FF je LBB0_5 ## %bb.16: leaq -64(%rbp), %rdi movl $1, %esi movl $16, %edx movq %r15, %rcx callq _fread cmpl $15, %eax jg LBB0_18 ## %bb.17: leaq L_.str.1(%rip), %rdi callq _Log_print LBB0_18: movdqa -64(%rbp), %xmm0 movd %xmm0, %eax cmpl $1414676803, %eax ## imm = 0x54524143 jne LBB0_26 ## %bb.19: movzbl -60(%rbp), %eax shlq $24, %rax movsbl -59(%rbp), %ecx shll $16, %ecx orq %rax, %rcx movsbl -58(%rbp), %eax shll $8, %eax movsbl -57(%rbp), %ebx orq %rax, %rbx orq %rcx, %rbx testl %ebx, %ebx jle LBB0_26 ## %bb.20: movq _CARTRIDGE_LAST_SUPPORTED@GOTPCREL(%rip), %rax cmpl (%rax), %ebx jg LBB0_26 ## %bb.21: movq _CARTRIDGE_kb@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax,%rbx,4), %r12d movl %r12d, 20(%r14) shll $10, %r12d movl %r12d, %edi callq _Util_malloc movq %rax, 8(%r14) movq %rax, %rdi movl $1, %esi movl %r12d, %edx movq %r15, %rcx callq _fread cmpl %r12d, %eax jge LBB0_23 ## %bb.22: leaq L_.str.1(%rip), %rdi callq _Log_print LBB0_23: movq %r15, %rdi callq _fclose movl -56(%rbp), %eax shll $24, %eax movsbl -55(%rbp), %ecx shll $16, %ecx orl %eax, %ecx movsbl -54(%rbp), %eax shll $8, %eax movsbl -53(%rbp), %r15d orl %eax, %r15d orl %ecx, %r15d movl %ebx, 16(%r14) movq 8(%r14), %rdi movl %r12d, %esi callq _CARTRIDGE_Checksum xorl %r12d, %r12d cmpl %eax, %r15d je LBB0_25 ## %bb.24: movq _CARTRIDGE_BAD_CHECKSUM@GOTPCREL(%rip), %rax movl (%rax), %r12d LBB0_25: movq %r14, %rdi callq _InitCartridge jmp LBB0_29 LBB0_1: movq _CARTRIDGE_CANT_OPEN@GOTPCREL(%rip), %rax jmp LBB0_28 LBB0_26: movq %r15, %rdi callq _fclose jmp LBB0_27 LBB0_5: movl %r12d, %edi callq _Util_malloc movq %rax, 8(%r14) movq %rax, %rdi movl $1, %esi movl %r12d, %edx movq %r15, %rcx callq _fread cmpl %r12d, %eax jge LBB0_7 ## %bb.6: leaq L_.str.1(%rip), %rdi callq _Log_print LBB0_7: movq %r15, %rdi callq _fclose movq _CARTRIDGE_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%r14) sarl $10, %r12d movl %r12d, 20(%r14) movq _CARTRIDGE_LAST_SUPPORTED@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %ecx, %ecx jle LBB0_15 ## %bb.8: movq _CARTRIDGE_kb@GOTPCREL(%rip), %rdx movq (%rdx), %rdx incq %rcx movl $1, %esi movl %eax, %edi jmp LBB0_9 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_9 Depth=1 incq %rsi cmpq %rsi, %rcx je LBB0_13 LBB0_9: ## =>This Inner Loop Header: Depth=1 cmpl %r12d, (%rdx,%rsi,4) jne LBB0_12 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 cmpl %eax, %edi jne LBB0_31 ## %bb.11: ## in Loop: Header=BB0_9 Depth=1 movl %esi, 16(%r14) movl %esi, %edi jmp LBB0_12 LBB0_13: cmpl %eax, %edi jne LBB0_14 LBB0_15: movq 8(%r14), %rdi callq _free movq $0, 8(%r14) LBB0_27: movq _CARTRIDGE_BAD_FORMAT@GOTPCREL(%rip), %rax LBB0_28: movl (%rax), %r12d LBB0_29: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_32 ## %bb.30: movl %r12d, %eax addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_31: movq _CARTRIDGE_UNKNOWN@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%r14) jmp LBB0_29 LBB0_14: movq %r14, %rdi callq _InitCartridge xorl %r12d, %r12d jmp LBB0_29 LBB0_32: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "rb" .comm _CARTRIDGE_CANT_OPEN,4,2 ## @CARTRIDGE_CANT_OPEN L_.str.1: ## @.str.1 .asciz "Error reading cartridge.\n" .comm _CARTRIDGE_NONE,4,2 ## @CARTRIDGE_NONE .comm _CARTRIDGE_LAST_SUPPORTED,4,2 ## @CARTRIDGE_LAST_SUPPORTED .comm _CARTRIDGE_kb,8,3 ## @CARTRIDGE_kb .comm _CARTRIDGE_UNKNOWN,4,2 ## @CARTRIDGE_UNKNOWN .comm _CARTRIDGE_BAD_FORMAT,4,2 ## @CARTRIDGE_BAD_FORMAT .comm _CARTRIDGE_BAD_CHECKSUM,4,2 ## @CARTRIDGE_BAD_CHECKSUM .no_dead_strip _InsertCartridge .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function InsertCartridge _InsertCartridge: ; @InsertCartridge .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x22, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _fopen cbz x0, LBB0_9 ; %bb.1: mov x20, x0 bl _Util_flen mov x21, x0 mov x0, x20 bl _Util_rewind ldr x0, [x19] cmp x0, x22 b.eq LBB0_3 ; %bb.2: mov x1, x22 bl _strcpy LBB0_3: tst w21, #0x3ff b.eq LBB0_10 ; %bb.4: add x0, sp, #8 mov w1, #1 mov w2, #16 mov x3, x20 bl _fread cmp w0, #15 b.gt LBB0_6 ; %bb.5: Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _Log_print LBB0_6: ldr s0, [sp, #8] ushll.8h v0, v0, #0 xtn.8b v0, v0 fmov w8, s0 mov w9, #16707 movk w9, #21586, lsl #16 cmp w8, w9 b.ne LBB0_8 ; %bb.7: ldrb w8, [sp, #12] ldrsb w9, [sp, #13] lsl w9, w9, #16 orr x8, x9, x8, lsl #24 ldrsb w9, [sp, #14] lsl w9, w9, #8 orr x8, x8, x9 ldrsb w9, [sp, #15] orr x22, x8, x9 Lloh7: adrp x8, _CARTRIDGE_LAST_SUPPORTED@GOTPAGE Lloh8: ldr x8, [x8, _CARTRIDGE_LAST_SUPPORTED@GOTPAGEOFF] Lloh9: ldr w8, [x8] cmp w22, #1 ccmp w22, w8, #0, ge b.le LBB0_18 LBB0_8: mov x0, x20 bl _fclose b LBB0_23 LBB0_9: Lloh10: adrp x8, _CARTRIDGE_CANT_OPEN@GOTPAGE Lloh11: ldr x8, [x8, _CARTRIDGE_CANT_OPEN@GOTPAGEOFF] b LBB0_24 LBB0_10: mov x0, x21 bl _Util_malloc str x0, [x19, #8] mov w1, #1 mov x2, x21 mov x3, x20 bl _fread cmp w0, w21 b.ge LBB0_12 ; %bb.11: Lloh12: adrp x0, l_.str.1@PAGE Lloh13: add x0, x0, l_.str.1@PAGEOFF bl _Log_print LBB0_12: mov x0, x20 bl _fclose Lloh14: adrp x8, _CARTRIDGE_NONE@GOTPAGE Lloh15: ldr x8, [x8, _CARTRIDGE_NONE@GOTPAGEOFF] Lloh16: ldr w8, [x8] asr w20, w21, #10 stp w8, w20, [x19, #16] Lloh17: adrp x9, _CARTRIDGE_LAST_SUPPORTED@GOTPAGE Lloh18: ldr x9, [x9, _CARTRIDGE_LAST_SUPPORTED@GOTPAGEOFF] Lloh19: ldr w10, [x9] cmp w10, #1 b.lt LBB0_22 ; %bb.13: Lloh20: adrp x9, _CARTRIDGE_kb@GOTPAGE Lloh21: ldr x9, [x9, _CARTRIDGE_kb@GOTPAGEOFF] Lloh22: ldr x9, [x9] add x10, x10, #1 mov w11, #1 mov x12, x8 b LBB0_15 LBB0_14: ; in Loop: Header=BB0_15 Depth=1 add x11, x11, #1 cmp x10, x11 b.eq LBB0_21 LBB0_15: ; =>This Inner Loop Header: Depth=1 ldr w13, [x9, x11, lsl #2] cmp w13, w20 b.ne LBB0_14 ; %bb.16: ; in Loop: Header=BB0_15 Depth=1 cmp w12, w8 b.ne LBB0_27 ; %bb.17: ; in Loop: Header=BB0_15 Depth=1 str w11, [x19, #16] mov x12, x11 b LBB0_14 LBB0_18: Lloh23: adrp x8, _CARTRIDGE_kb@GOTPAGE Lloh24: ldr x8, [x8, _CARTRIDGE_kb@GOTPAGEOFF] Lloh25: ldr x8, [x8] ldr w8, [x8, x22, lsl #2] lsl w21, w8, #10 str w8, [x19, #20] mov x0, x21 bl _Util_malloc str x0, [x19, #8] mov w1, #1 mov x2, x21 mov x3, x20 bl _fread cmp w0, w21 b.ge LBB0_20 ; %bb.19: Lloh26: adrp x0, l_.str.1@PAGE Lloh27: add x0, x0, l_.str.1@PAGEOFF bl _Log_print LBB0_20: mov x0, x20 bl _fclose ldrb w8, [sp, #16] ldrsb w9, [sp, #17] lsl w9, w9, #16 orr w8, w9, w8, lsl #24 ldrsb w9, [sp, #18] orr w8, w8, w9, lsl #8 ldrsb w9, [sp, #19] orr w20, w8, w9 str w22, [x19, #16] ldr x0, [x19, #8] mov x1, x21 bl _CARTRIDGE_Checksum Lloh28: adrp x8, _CARTRIDGE_BAD_CHECKSUM@GOTPAGE Lloh29: ldr x8, [x8, _CARTRIDGE_BAD_CHECKSUM@GOTPAGEOFF] Lloh30: ldr w8, [x8] cmp w20, w0 csel w20, wzr, w8, eq mov x0, x19 bl _InitCartridge b LBB0_25 LBB0_21: cmp w12, w8 b.ne LBB0_28 LBB0_22: ldr x0, [x19, #8] bl _free str xzr, [x19, #8] LBB0_23: Lloh31: adrp x8, _CARTRIDGE_BAD_FORMAT@GOTPAGE Lloh32: ldr x8, [x8, _CARTRIDGE_BAD_FORMAT@GOTPAGEOFF] LBB0_24: ldr w20, [x8] LBB0_25: ldr x8, [sp, #24] Lloh33: adrp x9, ___stack_chk_guard@GOTPAGE Lloh34: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh35: ldr x9, [x9] cmp x9, x8 b.ne LBB0_29 ; %bb.26: mov x0, x20 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_27: Lloh36: adrp x8, _CARTRIDGE_UNKNOWN@GOTPAGE Lloh37: ldr x8, [x8, _CARTRIDGE_UNKNOWN@GOTPAGEOFF] Lloh38: ldr w8, [x8] str w8, [x19, #16] b LBB0_25 LBB0_28: mov x0, x19 bl _InitCartridge mov w20, #0 b LBB0_25 LBB0_29: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGot Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "rb" .comm _CARTRIDGE_CANT_OPEN,4,2 ; @CARTRIDGE_CANT_OPEN l_.str.1: ; @.str.1 .asciz "Error reading cartridge.\n" .comm _CARTRIDGE_NONE,4,2 ; @CARTRIDGE_NONE .comm _CARTRIDGE_LAST_SUPPORTED,4,2 ; @CARTRIDGE_LAST_SUPPORTED .comm _CARTRIDGE_kb,8,3 ; @CARTRIDGE_kb .comm _CARTRIDGE_UNKNOWN,4,2 ; @CARTRIDGE_UNKNOWN .comm _CARTRIDGE_BAD_FORMAT,4,2 ; @CARTRIDGE_BAD_FORMAT .comm _CARTRIDGE_BAD_CHECKSUM,4,2 ; @CARTRIDGE_BAD_CHECKSUM .no_dead_strip _InsertCartridge .subsections_via_symbols
AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_cartridge.c_InsertCartridge.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function chtls_reqsk_free _chtls_reqsk_free: ## @chtls_reqsk_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 8(%rdi), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.1: callq _sock_put LBB0_2: movq (%rbx), %rax movl (%rax), %edi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %rbp jmp _kmem_cache_free ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _chtls_reqsk_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function chtls_reqsk_free _chtls_reqsk_free: ; @chtls_reqsk_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 x0, [x0, #8] cbz x0, LBB0_2 ; %bb.1: bl _sock_put LBB0_2: ldr x8, [x19] ldr w0, [x8] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _kmem_cache_free .cfi_endproc ; -- End function .no_dead_strip _chtls_reqsk_free .subsections_via_symbols
AnghaBench/linux/drivers/crypto/chelsio/chtls/extr_chtls_cm.h_chtls_reqsk_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __io_wait ___io_wait: ## @__io_wait .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip ___io_wait .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __io_wait ___io_wait: ; @__io_wait .cfi_startproc ; %bb.0: mov w0, #1 ret .cfi_endproc ; -- End function .no_dead_strip ___io_wait .subsections_via_symbols
AnghaBench/radare2/libr/debug/p/extr_debug_io.c___io_wait.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mem_cgroup_wait_acct_move _mem_cgroup_wait_acct_move: ## @mem_cgroup_wait_acct_move .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 _mc@GOTPCREL(%rip), %r15 movq (%r15), %rax xorl %ebx, %ebx testq %rax, %rax je LBB0_6 ## %bb.1: movq _current@GOTPCREL(%rip), %rcx cmpq %rax, (%rcx) je LBB0_6 ## %bb.2: callq _mem_cgroup_under_move testq %rax, %rax je LBB0_6 ## %bb.3: movq _wait@GOTPCREL(%rip), %r14 movl (%r14), %edi callq _DEFINE_WAIT movq _TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax movl (%rax), %edx leaq 8(%r15), %rbx movq %rbx, %rdi movq %r14, %rsi callq _prepare_to_wait cmpq $0, (%r15) je LBB0_5 ## %bb.4: xorl %eax, %eax callq _schedule LBB0_5: movq _wait@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _finish_wait movl $1, %ebx LBB0_6: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _mc,16,3 ## @mc .comm _current,8,3 ## @current .comm _wait,4,2 ## @wait .comm _TASK_INTERRUPTIBLE,4,2 ## @TASK_INTERRUPTIBLE .no_dead_strip _mem_cgroup_wait_acct_move .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mem_cgroup_wait_acct_move _mem_cgroup_wait_acct_move: ; @mem_cgroup_wait_acct_move .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x21, _mc@GOTPAGE Lloh1: ldr x21, [x21, _mc@GOTPAGEOFF] ldr x8, [x21] Lloh2: adrp x9, _current@GOTPAGE Lloh3: ldr x9, [x9, _current@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp x8, #0 ccmp x9, x8, #4, ne b.ne LBB0_2 ; %bb.1: mov w0, #0 b LBB0_6 LBB0_2: bl _mem_cgroup_under_move cbz x0, LBB0_6 ; %bb.3: Lloh5: adrp x20, _wait@GOTPAGE Lloh6: ldr x20, [x20, _wait@GOTPAGEOFF] ldr w0, [x20] bl _DEFINE_WAIT Lloh7: adrp x8, _TASK_INTERRUPTIBLE@GOTPAGE Lloh8: ldr x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF] Lloh9: ldr w2, [x8] add x19, x21, #8 mov x0, x19 mov x1, x20 bl _prepare_to_wait ldr x8, [x21] cbz x8, LBB0_5 ; %bb.4: bl _schedule LBB0_5: Lloh10: adrp x1, _wait@GOTPAGE Lloh11: ldr x1, [x1, _wait@GOTPAGEOFF] mov x0, x19 bl _finish_wait mov w0, #1 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _mc,16,3 ; @mc .comm _current,8,3 ; @current .comm _wait,4,2 ; @wait .comm _TASK_INTERRUPTIBLE,4,2 ; @TASK_INTERRUPTIBLE .no_dead_strip _mem_cgroup_wait_acct_move .subsections_via_symbols
AnghaBench/linux/mm/extr_memcontrol.c_mem_cgroup_wait_acct_move.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sweepwholelist _sweepwholelist: ## @sweepwholelist .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq (%rsi), %rsi testq %rsi, %rsi je LBB0_3 ## %bb.1: movq %rdi, %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%rsi), %rax movq %rax, (%rbx) movq %r14, %rdi callq _freeobj movq (%rbx), %rsi testq %rsi, %rsi jne LBB0_2 LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sweepwholelist .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sweepwholelist _sweepwholelist: ; @sweepwholelist .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 ldr x1, [x1] cbz x1, LBB0_3 ; %bb.1: mov x20, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x1] str x8, [x19] mov x0, x20 bl _freeobj ldr x1, [x19] cbnz x1, LBB0_2 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _sweepwholelist .subsections_via_symbols
AnghaBench/skynet/3rd/lua/extr_lgc.c_sweepwholelist.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tag_init _tag_init: ## @tag_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax callq _hash_new movq _tag_hash@GOTPCREL(%rip), %rcx movl %eax, (%rcx) popq %rbp retq .cfi_endproc ## -- End function .comm _tag_hash,4,2 ## @tag_hash .no_dead_strip _tag_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tag_init _tag_init: ; @tag_init .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 _hash_new Lloh0: adrp x8, _tag_hash@GOTPAGE Lloh1: ldr x8, [x8, _tag_hash@GOTPAGEOFF] Lloh2: str w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _tag_hash,4,2 ; @tag_hash .no_dead_strip _tag_init .subsections_via_symbols
AnghaBench/freebsd/contrib/binutils/gas/config/extr_obj-coff.c_tag_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _subsets ## -- Begin function subsets .p2align 4, 0x90 _subsets: ## @subsets .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %r14 movl %esi, %ebx movq %rdi, -48(%rbp) ## 8-byte Spill movl $40000, %edi ## imm = 0x9C40 callq _malloc movq %rax, %r12 movslq %ebx, %rbx leaq (,%rbx,4), %rdi callq _malloc movq %rax, %r13 movl $20000, %edi ## imm = 0x4E20 callq _malloc movq %rax, (%r15) movl $0, (%r14) movq -48(%rbp), %rdi ## 8-byte Reload movl %ebx, %esi xorl %edx, %edx movq %r13, %rcx xorl %r8d, %r8d movq %r12, %r9 pushq %rax pushq %r14 callq _dfs addq $16, %rsp movq %r12, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function dfs _dfs: ## @dfs .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, %r13 movq %rcx, %r12 movl %edx, %ebx movl %esi, -44(%rbp) ## 4-byte Spill movq %rdi, -64(%rbp) ## 8-byte Spill movl %r8d, -48(%rbp) ## 4-byte Spill movslq %r8d, %r14 leaq (,%r14,4), %rdi movq %rdi, -56(%rbp) ## 8-byte Spill callq _malloc movq 16(%rbp), %rcx movslq (%rcx), %r15 movq %r13, -80(%rbp) ## 8-byte Spill movq %rax, (%r13,%r15,8) movq %rax, %rdi movq %r12, -72(%rbp) ## 8-byte Spill movq %r12, %rsi movq -56(%rbp), %rdx ## 8-byte Reload callq _memcpy movq 16(%rbp), %r12 movq 24(%rbp), %r10 movl %r14d, (%r10,%r15,4) incl (%r12) cmpl -44(%rbp), %ebx ## 4-byte Folded Reload jge LBB1_3 ## %bb.1: incl -48(%rbp) ## 4-byte Folded Spill movslq %ebx, %r13 movslq -44(%rbp), %rax ## 4-byte Folded Reload movq %rax, -56(%rbp) ## 8-byte Spill incl %ebx .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 movq -64(%rbp), %rdi ## 8-byte Reload movl (%rdi,%r13,4), %eax movq -72(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx,%r14,4) incq %r13 movl -44(%rbp), %esi ## 4-byte Reload movl %ebx, %edx movl -48(%rbp), %r8d ## 4-byte Reload movq -80(%rbp), %r9 ## 8-byte Reload pushq %r10 pushq %r12 movq %r10, %r15 callq _dfs movq %r15, %r10 addq $16, %rsp incl %ebx cmpq %r13, -56(%rbp) ## 8-byte Folded Reload jne LBB1_2 LBB1_3: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $1, %edi jle LBB2_10 ## %bb.1: movq %rsi, %r14 movl %edi, %r15d decl %r15d leaq (,%r15,4), %rdi callq _malloc movq %rax, %r12 xorl %ebx, %ebx .p2align 4, 0x90 LBB2_2: ## =>This Inner Loop Header: Depth=1 leaq 1(%rbx), %r13 movq 8(%r14,%rbx,8), %rdi callq _atoi movl %eax, (%r12,%rbx,4) movq %r13, %rbx cmpq %r13, %r15 jne LBB2_2 ## %bb.3: movl $40000, %edi ## imm = 0x9C40 callq _malloc movq %rax, %r14 movslq %r15d, %rbx leaq (,%rbx,4), %rdi callq _malloc movq %rax, %r13 movl $20000, %edi ## imm = 0x4E20 callq _malloc movl $0, -44(%rbp) leaq -44(%rbp), %r10 movq %r12, %rdi movl %ebx, %esi xorl %edx, %edx movq %r13, %rcx xorl %r8d, %r8d movq %r14, -56(%rbp) ## 8-byte Spill movq %r14, %r9 movq %rax, -72(%rbp) ## 8-byte Spill pushq %rax pushq %r10 callq _dfs addq $16, %rsp movl -44(%rbp), %eax movq %rax, -64(%rbp) ## 8-byte Spill testl %eax, %eax jle LBB2_9 ## %bb.4: leaq L_.str.1(%rip), %rbx xorl %r13d, %r13d jmp LBB2_5 .p2align 4, 0x90 LBB2_8: ## in Loop: Header=BB2_5 Depth=1 movl $10, %edi callq _putchar incq %r13 cmpq -64(%rbp), %r13 ## 8-byte Folded Reload je LBB2_9 LBB2_5: ## =>This Loop Header: Depth=1 ## Child Loop BB2_7 Depth 2 movq -72(%rbp), %rax ## 8-byte Reload movl (%rax,%r13,4), %r14d testl %r14d, %r14d jle LBB2_8 ## %bb.6: ## in Loop: Header=BB2_5 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %r15 xorl %r12d, %r12d .p2align 4, 0x90 LBB2_7: ## Parent Loop BB2_5 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r15,%r12,4), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf incq %r12 cmpq %r12, %r14 jne LBB2_7 jmp LBB2_8 LBB2_9: xorl %eax, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB2_10: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str(%rip), %rdi movl $23, %esi movl $1, %edx callq _fwrite movl $-1, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Usage: ./test array...\n" L_.str.1: ## @.str.1 .asciz "%d " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _subsets ; -- Begin function subsets .p2align 2 _subsets: ; @subsets .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 mov w0, #40000 bl _malloc mov x23, x0 sbfiz x0, x21, #2, #32 bl _malloc mov x24, x0 mov w0, #20000 bl _malloc mov x7, x0 str x0, [x19] str wzr, [x20] mov x0, x22 mov x1, x21 mov w2, #0 mov x3, x24 mov w4, #0 mov x5, x23 mov x6, x20 bl _dfs mov x0, x23 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .p2align 2 ; -- Begin function dfs _dfs: ; @dfs .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 x21, x7 mov x20, x6 mov x28, x5 mov x25, x4 mov x22, x3 mov x23, x2 mov x26, x1 mov x24, x0 sbfiz x27, x25, #2, #32 mov x0, x27 bl _malloc ldrsw x19, [x20] str x28, [sp, #8] ; 8-byte Folded Spill str x0, [x28, x19, lsl #3] mov x1, x22 mov x2, x27 bl _memcpy mov x9, x23 str w25, [x21, x19, lsl #2] ldr w8, [x20] add w8, w8, #1 str w8, [x20] cmp w9, w26 b.ge LBB1_3 ; %bb.1: mov x23, x20 mov x20, x26 sxtw x27, w25 add w25, w25, #1 sxtw x28, w9 add w26, w9, #1 sxtw x19, w20 LBB1_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x24, x28, lsl #2] str w8, [x22, x27, lsl #2] add x28, x28, #1 mov x0, x24 mov x1, x20 mov x2, x26 mov x3, x22 mov x4, x25 ldr x5, [sp, #8] ; 8-byte Folded Reload mov x6, x23 mov x7, x21 bl _dfs add w26, w26, #1 cmp x19, x28 b.ne LBB1_2 LBB1_3: 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 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp 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 subs w20, w0, #1 b.le LBB2_10 ; %bb.1: mov x19, x1 lsl x0, x20, #2 bl _malloc mov x22, x0 add x19, x19, #8 mov x21, x20 mov x23, x0 LBB2_2: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19], #8 bl _atoi str w0, [x23], #4 subs x21, x21, #1 b.ne LBB2_2 ; %bb.3: mov w0, #40000 bl _malloc mov x19, x0 sxtw x8, w20 lsl x0, x8, #2 bl _malloc mov x23, x0 mov w0, #20000 bl _malloc mov x21, x0 str wzr, [sp, #12] add x6, sp, #12 mov x0, x22 mov x1, x20 mov w2, #0 mov x3, x23 mov w4, #0 mov x5, x19 mov x7, x21 bl _dfs ldr w22, [sp, #12] cmp w22, #1 b.lt LBB2_9 ; %bb.4: mov x23, #0 Lloh0: adrp x20, l_.str.1@PAGE Lloh1: add x20, x20, l_.str.1@PAGEOFF b LBB2_6 LBB2_5: ; in Loop: Header=BB2_6 Depth=1 mov w0, #10 bl _putchar add x23, x23, #1 cmp x23, x22 b.eq LBB2_9 LBB2_6: ; =>This Loop Header: Depth=1 ; Child Loop BB2_8 Depth 2 ldr w24, [x21, x23, lsl #2] cmp w24, #1 b.lt LBB2_5 ; %bb.7: ; in Loop: Header=BB2_6 Depth=1 ldr x25, [x19, x23, lsl #3] LBB2_8: ; Parent Loop BB2_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x25], #4 str x8, [sp] mov x0, x20 bl _printf subs x24, x24, #1 b.ne LBB2_8 b LBB2_5 LBB2_9: 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 add sp, sp, #96 ret LBB2_10: Lloh2: adrp x8, ___stderrp@GOTPAGE Lloh3: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh4: ldr x3, [x8] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF mov w1, #23 mov w2, #1 bl _fwrite mov w0, #-1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Usage: ./test array...\n" l_.str.1: ; @.str.1 .asciz "%d " .subsections_via_symbols
the_stack_data/20449815.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nvkm_device_pci_resource_addr _nvkm_device_pci_resource_addr: ## @nvkm_device_pci_resource_addr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx callq _nvkm_device_pci movl (%rax), %edi movl %ebx, %esi addq $8, %rsp popq %rbx popq %rbp jmp _pci_resource_start ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _nvkm_device_pci_resource_addr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nvkm_device_pci_resource_addr _nvkm_device_pci_resource_addr: ; @nvkm_device_pci_resource_addr .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl _nvkm_device_pci ldr w0, [x0] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _pci_resource_start .cfi_endproc ; -- End function .no_dead_strip _nvkm_device_pci_resource_addr .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/extr_pci.c_nvkm_device_pci_resource_addr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pcxhr_clock_rate_info _pcxhr_clock_rate_info: ## @pcxhr_clock_rate_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx callq _snd_kcontrol_chip movq _SNDRV_CTL_ELEM_TYPE_INTEGER@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 24(%rbx) movq (%rax), %rax addq $3, %rax movq %rax, 16(%rbx) movq $0, 8(%rbx) movl $192000, (%rbx) ## imm = 0x2EE00 xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _SNDRV_CTL_ELEM_TYPE_INTEGER,4,2 ## @SNDRV_CTL_ELEM_TYPE_INTEGER .no_dead_strip _pcxhr_clock_rate_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pcxhr_clock_rate_info _pcxhr_clock_rate_info: ; @pcxhr_clock_rate_info .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl _snd_kcontrol_chip Lloh0: adrp x8, _SNDRV_CTL_ELEM_TYPE_INTEGER@GOTPAGE Lloh1: ldr x8, [x8, _SNDRV_CTL_ELEM_TYPE_INTEGER@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x19, #24] ldr x8, [x0] add x8, x8, #3 stp xzr, x8, [x19, #8] mov w8, #60928 movk w8, #2, lsl #16 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 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SNDRV_CTL_ELEM_TYPE_INTEGER,4,2 ; @SNDRV_CTL_ELEM_TYPE_INTEGER .no_dead_strip _pcxhr_clock_rate_info .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/pci/pcxhr/extr_pcxhr_mixer.c_pcxhr_clock_rate_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function adapter_info_rsp _adapter_info_rsp: ## @adapter_info_rsp .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), %rax movq 8(%rdi), %rbx movl (%rax), %edx movl 48(%rbx), %r14d testl %edx, %edx je LBB0_3 ## %bb.1: leaq L_.str(%rip), %rsi movl %r14d, %edi callq _dev_err jmp LBB0_2 LBB0_3: movl 8(%rbx), %eax movl %eax, -44(%rbp) ## 4-byte Spill movl 32(%rbx), %r12d movq 24(%rbx), %rdi callq _be32_to_cpu movl %eax, %r13d movq (%rbx), %rdi callq _be32_to_cpu movl %eax, %r15d movq 16(%rbx), %rax movq (%rax), %rdi callq _be32_to_cpu movl %eax, (%rsp) leaq L_.str.1(%rip), %rsi movl %r14d, %edi movl -44(%rbp), %edx ## 4-byte Reload movl %r12d, %ecx movl %r13d, %r8d movl %r15d, %r9d callq _dev_info movq 16(%rbx), %rax movq (%rax), %rdi testq %rdi, %rdi je LBB0_5 ## %bb.4: callq _be32_to_cpu sarl $9, %eax movq 40(%rbx), %rcx movl %eax, (%rcx) LBB0_5: movq (%rbx), %rdi callq _be32_to_cpu movq _SRP_MAD_OS_AIX@GOTPCREL(%rip), %r14 cmpl (%r14), %eax jne LBB0_8 ## %bb.6: movl 8(%rbx), %edi leaq L_.str.2(%rip), %rsi callq _strcmp testq %rax, %rax jg LBB0_8 ## %bb.7: movl 8(%rbx), %edx movl 48(%rbx), %edi leaq L_.str.3(%rip), %rsi callq _dev_err movl 48(%rbx), %edi movq _MAX_INDIRECT_BUFS@GOTPCREL(%rip), %r15 movl (%r15), %edx leaq L_.str.4(%rip), %rsi callq _dev_err movl (%r15), %eax movq 40(%rbx), %rcx movl %eax, 4(%rcx) LBB0_8: movq (%rbx), %rdi callq _be32_to_cpu cmpl (%r14), %eax jne LBB0_2 ## %bb.9: movq %rbx, %rdi addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _enable_fast_fail ## TAILCALL LBB0_2: movq %rbx, %rdi addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _send_srp_login ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "error %d getting adapter info\n" L_.str.1: ## @.str.1 .asciz "host srp version: %s, host partition %s (%d), OS %d, max io %u\n" .comm _SRP_MAD_OS_AIX,4,2 ## @SRP_MAD_OS_AIX L_.str.2: ## @.str.2 .asciz "1.6a" L_.str.3: ## @.str.3 .asciz "host (Ver. %s) doesn't support large transfers\n" L_.str.4: ## @.str.4 .asciz "limiting scatterlists to %d\n" .comm _MAX_INDIRECT_BUFS,4,2 ## @MAX_INDIRECT_BUFS .no_dead_strip _adapter_info_rsp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function adapter_info_rsp _adapter_info_rsp: ; @adapter_info_rsp .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 ldp x8, x19, [x0] ldr w2, [x8] ldr w20, [x19, #48] cbz w2, LBB0_2 ; %bb.1: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _dev_err b LBB0_9 LBB0_2: ldr w21, [x19, #8] ldr w22, [x19, #32] ldr x0, [x19, #24] bl _be32_to_cpu mov x23, x0 ldr x0, [x19] bl _be32_to_cpu mov x24, x0 ldr x8, [x19, #16] ldr x0, [x8] bl _be32_to_cpu mov x6, x0 Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 mov x2, x21 mov x3, x22 mov x4, x23 mov x5, x24 bl _dev_info ldr x8, [x19, #16] ldr x0, [x8] cbz x0, LBB0_4 ; %bb.3: bl _be32_to_cpu asr w8, w0, #9 ldr x9, [x19, #40] str w8, [x9] LBB0_4: ldr x0, [x19] bl _be32_to_cpu Lloh4: adrp x20, _SRP_MAD_OS_AIX@GOTPAGE Lloh5: ldr x20, [x20, _SRP_MAD_OS_AIX@GOTPAGEOFF] ldr w8, [x20] cmp w0, w8 b.ne LBB0_7 ; %bb.5: ldr w0, [x19, #8] Lloh6: adrp x1, l_.str.2@PAGE Lloh7: add x1, x1, l_.str.2@PAGEOFF bl _strcmp cmp x0, #0 b.gt LBB0_7 ; %bb.6: ldr w0, [x19, #48] ldr w2, [x19, #8] Lloh8: adrp x1, l_.str.3@PAGE Lloh9: add x1, x1, l_.str.3@PAGEOFF bl _dev_err ldr w0, [x19, #48] Lloh10: adrp x21, _MAX_INDIRECT_BUFS@GOTPAGE Lloh11: ldr x21, [x21, _MAX_INDIRECT_BUFS@GOTPAGEOFF] ldr w2, [x21] Lloh12: adrp x1, l_.str.4@PAGE Lloh13: add x1, x1, l_.str.4@PAGEOFF bl _dev_err ldr w8, [x21] ldr x9, [x19, #40] str w8, [x9, #4] LBB0_7: ldr x0, [x19] bl _be32_to_cpu ldr w8, [x20] cmp w0, w8 b.ne LBB0_9 ; %bb.8: 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 _enable_fast_fail LBB0_9: 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 _send_srp_login .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "error %d getting adapter info\n" l_.str.1: ; @.str.1 .asciz "host srp version: %s, host partition %s (%d), OS %d, max io %u\n" .comm _SRP_MAD_OS_AIX,4,2 ; @SRP_MAD_OS_AIX l_.str.2: ; @.str.2 .asciz "1.6a" l_.str.3: ; @.str.3 .asciz "host (Ver. %s) doesn't support large transfers\n" l_.str.4: ; @.str.4 .asciz "limiting scatterlists to %d\n" .comm _MAX_INDIRECT_BUFS,4,2 ; @MAX_INDIRECT_BUFS .no_dead_strip _adapter_info_rsp .subsections_via_symbols
AnghaBench/linux/drivers/scsi/ibmvscsi/extr_ibmvscsi.c_adapter_info_rsp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CopyLump ## -- Begin function CopyLump .p2align 4, 0x90 _CopyLump: ## @CopyLump .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq (%rdi), %rax movslq %esi, %rdx movl (%rax,%rdx,8), %ebx xorl %r14d, %r14d testl %ebx, %ebx je LBB0_6 ## %bb.1: movq %rdi, %r12 movslq 4(%rax,%rdx,8), %r13 movl %ebx, %eax cltd idivl %ecx movl %eax, -44(%rbp) ## 4-byte Spill testl %edx, %edx je LBB0_5 ## %bb.2: movl %esi, %r8d movq _force@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_4 ## %bb.3: movq _SYS_WRN@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi movl %ebx, %edx movl %r8d, %ecx callq _Sys_FPrintf jmp LBB0_6 LBB0_4: leaq L_.str.1(%rip), %rdi movl %ebx, %esi movl %r8d, %edx callq _Error LBB0_5: leaq (%r12,%r13,4), %rsi movq %r15, %rdi movl %ebx, %edx callq _memcpy movl -44(%rbp), %r14d ## 4-byte Reload LBB0_6: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _force,8,3 ## @force .comm _SYS_WRN,4,2 ## @SYS_WRN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "WARNING: CopyLump: odd lump size (%d) in lump %d\n" L_.str.1: ## @.str.1 .asciz "CopyLump: odd lump size (%d) in lump %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CopyLump ; -- Begin function CopyLump .p2align 2 _CopyLump: ; @CopyLump .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 ldr x9, [x0] add x9, x9, w1, sxtw #3 ldr w19, [x9] cbz w19, LBB0_4 ; %bb.1: mov x21, x2 mov x22, x0 ldrsw x23, [x9, #4] sdiv w20, w19, w3 msub w9, w20, w3, w19 cbz w9, LBB0_6 ; %bb.2: mov x8, x1 Lloh0: adrp x9, _force@GOTPAGE Lloh1: ldr x9, [x9, _force@GOTPAGEOFF] Lloh2: ldr x9, [x9] cbz x9, LBB0_5 ; %bb.3: Lloh3: adrp x9, _SYS_WRN@GOTPAGE Lloh4: ldr x9, [x9, _SYS_WRN@GOTPAGEOFF] Lloh5: ldr w0, [x9] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF mov x2, x19 mov x3, x8 bl _Sys_FPrintf LBB0_4: mov w20, #0 b LBB0_7 LBB0_5: Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF mov x1, x19 mov x2, x8 bl _Error LBB0_6: add x1, x22, x23, lsl #2 mov x0, x21 mov x2, x19 bl _memcpy LBB0_7: mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _force,8,3 ; @force .comm _SYS_WRN,4,2 ; @SYS_WRN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "WARNING: CopyLump: odd lump size (%d) in lump %d\n" l_.str.1: ; @.str.1 .asciz "CopyLump: odd lump size (%d) in lump %d" .subsections_via_symbols
AnghaBench/lab/q3map2/q3map2/extr_bspfile_abstract.c_CopyLump.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_repo_getters__retrieving_the_odb_honors_the_refcount ## -- Begin function test_repo_getters__retrieving_the_odb_honors_the_refcount .p2align 4, 0x90 _test_repo_getters__retrieving_the_odb_honors_the_refcount: ## @test_repo_getters__retrieving_the_odb_honors_the_refcount .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 callq _cl_fixture leaq -16(%rbp), %rdi movl %eax, %esi callq _git_repository_open movl %eax, %edi callq _cl_git_pass movq -16(%rbp), %rsi leaq -8(%rbp), %rdi callq _git_repository_odb movl %eax, %edi callq _cl_git_pass movq -8(%rbp), %rax xorl %edi, %edi cmpl $2, (%rax) sete %dil callq _cl_assert movq -16(%rbp), %rdi callq _git_repository_free movq -8(%rbp), %rax xorl %edi, %edi cmpl $1, (%rax) sete %dil callq _cl_assert movq -8(%rbp), %rdi callq _git_odb_free addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "testrepo.git" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_repo_getters__retrieving_the_odb_honors_the_refcount ; -- Begin function test_repo_getters__retrieving_the_odb_honors_the_refcount .p2align 2 _test_repo_getters__retrieving_the_odb_honors_the_refcount: ; @test_repo_getters__retrieving_the_odb_honors_the_refcount .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 x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _cl_fixture mov x1, x0 mov x0, sp bl _git_repository_open bl _cl_git_pass ldr x1, [sp] add x0, sp, #8 bl _git_repository_odb bl _cl_git_pass ldr x8, [sp, #8] ldr w8, [x8] cmp w8, #2 cset w0, eq bl _cl_assert ldr x0, [sp] bl _git_repository_free ldr x8, [sp, #8] ldr w8, [x8] cmp w8, #1 cset w0, eq bl _cl_assert ldr x0, [sp, #8] bl _git_odb_free 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 "testrepo.git" .subsections_via_symbols
AnghaBench/libgit2/tests/repo/extr_getters.c_test_repo_getters__retrieving_the_odb_honors_the_refcount.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Fake3D16 _Fake3D16: ## @Fake3D16 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $65535, %eax ## imm = 0xFFFF movl $65535, %ecx ## imm = 0xFFFF subq 16(%rsi), %rcx movq %rcx, (%rdx) movl $65535, %ecx ## imm = 0xFFFF subq 8(%rsi), %rcx movq %rcx, 8(%rdx) subq (%rsi), %rax movq %rax, 16(%rdx) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _Fake3D16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Fake3D16 _Fake3D16: ; @Fake3D16 .cfi_startproc ; %bb.0: ldr x8, [x1, #16] mov w9, #65535 sub x8, x9, x8 str x8, [x2] ldr x8, [x1, #8] sub x8, x9, x8 str x8, [x2, #8] ldr x8, [x1] sub x8, x9, x8 str x8, [x2, #16] ret .cfi_endproc ; -- End function .no_dead_strip _Fake3D16 .subsections_via_symbols
AnghaBench/sumatrapdf/ext/lcms2/testbed/extr_testplugin.c_Fake3D16.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _NeoNdisSetNetBufferListsStatus ## -- Begin function NeoNdisSetNetBufferListsStatus .p2align 4, 0x90 _NeoNdisSetNetBufferListsStatus: ## @NeoNdisSetNetBufferListsStatus .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 testq %rdi, %rdi je LBB0_3 ## %bb.1: movl %esi, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi callq _NET_BUFFER_LIST_NEXT_NBL jmp LBB0_2 LBB0_3: 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 _NeoNdisSetNetBufferListsStatus ; -- Begin function NeoNdisSetNetBufferListsStatus .p2align 2 _NeoNdisSetNetBufferListsStatus: ; @NeoNdisSetNetBufferListsStatus .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_3 ; %bb.1: mov x19, x1 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _NET_BUFFER_LIST_NEXT_NBL b LBB0_2 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Neo6/extr_NDIS6.c_NeoNdisSetNetBufferListsStatus.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function RT_PRINT_DATA _RT_PRINT_DATA: ## @RT_PRINT_DATA .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 _RT_PRINT_DATA .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function RT_PRINT_DATA _RT_PRINT_DATA: ; @RT_PRINT_DATA .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _RT_PRINT_DATA .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_..debug.h_RT_PRINT_DATA.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mg_null_if_free _mg_null_if_free: ## @mg_null_if_free .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 _mg_null_if_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mg_null_if_free _mg_null_if_free: ; @mg_null_if_free .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _mg_null_if_free .subsections_via_symbols
AnghaBench/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_null_if_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function populate_domain _populate_domain: ## @populate_domain .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, %r14d movl %esi, %r15d movq %rdi, %r12 movl %r9d, -44(%rbp) testl %r9d, %r9d je LBB0_2 ## %bb.1: xorl %ebx, %ebx jmp LBB0_3 LBB0_2: movq %r8, %r13 movq %rdx, %rbx movl 12(%r12), %eax movl %eax, -52(%rbp) ## 4-byte Spill movl 4(%r12), %eax movl %eax, -56(%rbp) ## 4-byte Spill movl 8(%r12), %eax movl %eax, -48(%rbp) ## 4-byte Spill xorl %edi, %edi callq _PointerGetDatum leaq -44(%rbp), %r10 movl -52(%rbp), %edi ## 4-byte Reload movl -48(%rbp), %esi ## 4-byte Reload movl -56(%rbp), %edx ## 4-byte Reload movq %rbx, %rcx movl %r14d, %r8d movl %eax, %r9d pushq %r10 pushq %r13 callq _populate_record_field addq $16, %rsp movq %rax, %rbx xorl %edi, %edi cmpl $0, -44(%rbp) sete %dil callq _Assert movl -44(%rbp), %r9d LBB0_3: movq %rbx, %rdi movl %r9d, %esi movl %r15d, %edx movq %r12, %rcx movl %r14d, %r8d callq _domain_check movq %rbx, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _populate_domain .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function populate_domain _populate_domain: ; @populate_domain .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x3 mov x21, x1 mov x20, x0 str w5, [sp, #12] cbz w5, LBB0_2 ; %bb.1: mov x22, #0 b LBB0_3 LBB0_2: mov x22, x4 mov x23, x2 ldp w25, w24, [x20, #8] ldr w26, [x20, #4] mov x0, #0 bl _PointerGetDatum mov x5, x0 add x7, sp, #12 mov x0, x24 mov x1, x25 mov x2, x26 mov x3, x23 mov x4, x19 mov x6, x22 bl _populate_record_field mov x22, x0 ldr w8, [sp, #12] cmp w8, #0 cset w0, eq bl _Assert ldr w5, [sp, #12] LBB0_3: mov x0, x22 mov x1, x5 mov x2, x21 mov x3, x20 mov x4, x19 bl _domain_check mov x0, x22 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .no_dead_strip _populate_domain .subsections_via_symbols
AnghaBench/postgres/src/backend/utils/adt/extr_jsonfuncs.c_populate_domain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function intel_haswell_fixup_enable_dp12 _intel_haswell_fixup_enable_dp12: ## @intel_haswell_fixup_enable_dp12 .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 _INTEL_VENDOR_NID@GOTPCREL(%rip), %r14 movl (%r14), %esi movq _INTEL_GET_VENDOR_VERB@GOTPCREL(%rip), %rax movl (%rax), %ecx xorl %edx, %edx xorl %r8d, %r8d callq _snd_hda_codec_read cmpl $-1, %eax je LBB0_2 ## %bb.1: movq _INTEL_EN_DP12@GOTPCREL(%rip), %rcx movl (%rcx), %r8d testl %eax, %r8d je LBB0_3 LBB0_2: popq %rbx popq %r14 popq %rbp retq LBB0_3: orl %eax, %r8d movl (%r14), %esi movq _INTEL_SET_VENDOR_VERB@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi xorl %edx, %edx popq %rbx popq %r14 popq %rbp jmp _snd_hda_codec_write_cache ## TAILCALL .cfi_endproc ## -- End function .comm _INTEL_VENDOR_NID,4,2 ## @INTEL_VENDOR_NID .comm _INTEL_GET_VENDOR_VERB,4,2 ## @INTEL_GET_VENDOR_VERB .comm _INTEL_EN_DP12,4,2 ## @INTEL_EN_DP12 .comm _INTEL_SET_VENDOR_VERB,4,2 ## @INTEL_SET_VENDOR_VERB .no_dead_strip _intel_haswell_fixup_enable_dp12 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function intel_haswell_fixup_enable_dp12 _intel_haswell_fixup_enable_dp12: ; @intel_haswell_fixup_enable_dp12 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x20, _INTEL_VENDOR_NID@GOTPAGE Lloh1: ldr x20, [x20, _INTEL_VENDOR_NID@GOTPAGEOFF] ldr w1, [x20] Lloh2: adrp x8, _INTEL_GET_VENDOR_VERB@GOTPAGE Lloh3: ldr x8, [x8, _INTEL_GET_VENDOR_VERB@GOTPAGEOFF] Lloh4: ldr w3, [x8] mov w2, #0 mov w4, #0 bl _snd_hda_codec_read cmn w0, #1 b.eq LBB0_2 ; %bb.1: Lloh5: adrp x8, _INTEL_EN_DP12@GOTPAGE Lloh6: ldr x8, [x8, _INTEL_EN_DP12@GOTPAGEOFF] Lloh7: ldr w8, [x8] tst w8, w0 b.eq 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: orr w4, w8, w0 ldr w1, [x20] Lloh8: adrp x8, _INTEL_SET_VENDOR_VERB@GOTPAGE Lloh9: ldr x8, [x8, _INTEL_SET_VENDOR_VERB@GOTPAGEOFF] Lloh10: ldr w3, [x8] mov x0, x19 mov w2, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _snd_hda_codec_write_cache .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _INTEL_VENDOR_NID,4,2 ; @INTEL_VENDOR_NID .comm _INTEL_GET_VENDOR_VERB,4,2 ; @INTEL_GET_VENDOR_VERB .comm _INTEL_EN_DP12,4,2 ; @INTEL_EN_DP12 .comm _INTEL_SET_VENDOR_VERB,4,2 ; @INTEL_SET_VENDOR_VERB .no_dead_strip _intel_haswell_fixup_enable_dp12 .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_hdmi.c_intel_haswell_fixup_enable_dp12.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_str(%rip), %rdi callq _puts movq _d@GOTPCREL(%rip), %rbx leaq 4(%rbx), %rdx leaq 8(%rbx), %rcx leaq L_.str.1(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf movslq (%rbx), %rax testb $3, %al sete %cl imull $-1030792151, %eax, %edx ## imm = 0xC28F5C29 addl $85899344, %edx ## imm = 0x51EB850 rorl $2, %edx cmpl $42949673, %edx ## imm = 0x28F5C29 setae %dl testb %dl, %cl jne LBB0_2 ## %bb.1: imulq $1374389535, %rax, %rcx ## imm = 0x51EB851F movq %rcx, %rdx shrq $63, %rdx sarq $39, %rcx addl %edx, %ecx imull $400, %ecx, %ecx ## imm = 0x190 subl %ecx, %eax je LBB0_2 ## %bb.13: leaq L_str.5(%rip), %rdi callq _puts movl 4(%rbx), %eax decl %eax leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_16: movl 8(%rbx), %ecx leal 59(%rcx), %r8d movl $3, %edx jmp LBB0_27 LBB0_2: leaq L_str.6(%rip), %rdi callq _puts movl 4(%rbx), %eax decl %eax leaq LJTI0_1(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_14: movl 8(%rbx), %ecx movl $1, %edx movl %ecx, %r8d jmp LBB0_27 LBB0_15: movl 8(%rbx), %ecx leal 31(%rcx), %r8d movl $2, %edx jmp LBB0_27 LBB0_17: movl 8(%rbx), %ecx leal 90(%rcx), %r8d movl $4, %edx jmp LBB0_27 LBB0_18: movl 8(%rbx), %ecx leal 120(%rcx), %r8d movl $5, %edx jmp LBB0_27 LBB0_19: movl 8(%rbx), %ecx leal 151(%rcx), %r8d movl $6, %edx jmp LBB0_27 LBB0_20: movl 8(%rbx), %ecx leal 181(%rcx), %r8d movl $7, %edx jmp LBB0_27 LBB0_21: movl 8(%rbx), %ecx leal 212(%rcx), %r8d movl $8, %edx jmp LBB0_27 LBB0_22: movl 8(%rbx), %ecx leal 243(%rcx), %r8d movl $9, %edx jmp LBB0_27 LBB0_23: movl 8(%rbx), %ecx leal 273(%rcx), %r8d movl $10, %edx jmp LBB0_27 LBB0_24: movl 8(%rbx), %ecx leal 304(%rcx), %r8d movl $11, %edx jmp LBB0_27 LBB0_25: movl 8(%rbx), %ecx leal 334(%rcx), %r8d jmp LBB0_26 LBB0_3: movl 8(%rbx), %ecx leal 60(%rcx), %r8d movl $3, %edx jmp LBB0_27 LBB0_4: movl 8(%rbx), %ecx leal 91(%rcx), %r8d movl $4, %edx jmp LBB0_27 LBB0_5: movl 8(%rbx), %ecx leal 121(%rcx), %r8d movl $5, %edx jmp LBB0_27 LBB0_6: movl 8(%rbx), %ecx leal 152(%rcx), %r8d movl $6, %edx jmp LBB0_27 LBB0_7: movl 8(%rbx), %ecx leal 182(%rcx), %r8d movl $7, %edx jmp LBB0_27 LBB0_8: movl 8(%rbx), %ecx leal 213(%rcx), %r8d movl $8, %edx jmp LBB0_27 LBB0_9: movl 8(%rbx), %ecx leal 244(%rcx), %r8d movl $9, %edx jmp LBB0_27 LBB0_10: movl 8(%rbx), %ecx leal 274(%rcx), %r8d movl $10, %edx jmp LBB0_27 LBB0_11: movl 8(%rbx), %ecx leal 305(%rcx), %r8d movl $11, %edx jmp LBB0_27 LBB0_12: movl 8(%rbx), %ecx leal 335(%rcx), %r8d LBB0_26: movl $12, %edx LBB0_27: movl (%rbx), %esi leaq L_.str.4(%rip), %rdi ## kill: def $ecx killed $ecx killed $rcx xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_18, LBB0_18-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 .set L0_0_set_20, LBB0_20-LJTI0_0 .set L0_0_set_21, LBB0_21-LJTI0_0 .set L0_0_set_22, LBB0_22-LJTI0_0 .set L0_0_set_23, LBB0_23-LJTI0_0 .set L0_0_set_24, LBB0_24-LJTI0_0 .set L0_0_set_25, LBB0_25-LJTI0_0 LJTI0_0: .long L0_0_set_14 .long L0_0_set_15 .long L0_0_set_16 .long L0_0_set_17 .long L0_0_set_18 .long L0_0_set_19 .long L0_0_set_20 .long L0_0_set_21 .long L0_0_set_22 .long L0_0_set_23 .long L0_0_set_24 .long L0_0_set_25 .set L0_1_set_14, LBB0_14-LJTI0_1 .set L0_1_set_15, LBB0_15-LJTI0_1 .set L0_1_set_3, LBB0_3-LJTI0_1 .set L0_1_set_4, LBB0_4-LJTI0_1 .set L0_1_set_5, LBB0_5-LJTI0_1 .set L0_1_set_6, LBB0_6-LJTI0_1 .set L0_1_set_7, LBB0_7-LJTI0_1 .set L0_1_set_8, LBB0_8-LJTI0_1 .set L0_1_set_9, LBB0_9-LJTI0_1 .set L0_1_set_10, LBB0_10-LJTI0_1 .set L0_1_set_11, LBB0_11-LJTI0_1 .set L0_1_set_12, LBB0_12-LJTI0_1 LJTI0_1: .long L0_1_set_14 .long L0_1_set_15 .long L0_1_set_3 .long L0_1_set_4 .long L0_1_set_5 .long L0_1_set_6 .long L0_1_set_7 .long L0_1_set_8 .long L0_1_set_9 .long L0_1_set_10 .long L0_1_set_11 .long L0_1_set_12 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%d %d %d" .comm _d,12,2 ## @d L_.str.4: ## @.str.4 .asciz "year=%d month=%d day=%d n=%d" L_str: ## @str .asciz "please enter year month day:" L_str.5: ## @str.5 .asciz "the year is not a leap year" L_str.6: ## @str.6 .asciz "the year is a leap year" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x19, _d@GOTPAGE Lloh3: ldr x19, [x19, _d@GOTPAGEOFF] add x9, x19, #8 add x8, x19, #4 stp x8, x9, [sp, #8] str x19, [sp] Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldrsw x8, [x19] mov w9, #23593 movk w9, #49807, lsl #16 mov w10, #47184 movk w10, #1310, lsl #16 madd w9, w8, w9, w10 ror w9, w9, #2 and w10, w8, #0x3 mov w11, #34079 movk w11, #20971, lsl #16 mul x11, x8, x11 lsr x12, x11, #63 asr x11, x11, #39 add w11, w11, w12 mov w12, #400 msub w8, w11, w12, w8 mov w11, #23592 movk w11, #655, lsl #16 cmp w9, w11 ccmp w10, #0, #0, hi ccmp w8, #0, #4, ne b.ne LBB0_3 ; %bb.1: Lloh6: adrp x0, l_str.6@PAGE Lloh7: add x0, x0, l_str.6@PAGEOFF bl _puts ldr w8, [x19, #4] sub w8, w8, #1 Lloh8: adrp x9, lJTI0_1@PAGE Lloh9: add x9, x9, lJTI0_1@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: ldr w8, [x19, #8] add w9, w8, #60 mov w10, #3 b LBB0_26 LBB0_3: Lloh10: adrp x0, l_str.5@PAGE Lloh11: add x0, x0, l_str.5@PAGEOFF bl _puts ldr w8, [x19, #4] sub w8, w8, #1 Lloh12: adrp x9, lJTI0_0@PAGE Lloh13: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_4 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_4: ldr w8, [x19, #8] mov w10, #1 mov x9, x8 b LBB0_26 LBB0_5: ldr w8, [x19, #8] add w9, w8, #31 mov w10, #2 b LBB0_26 LBB0_6: ldr w8, [x19, #8] add w9, w8, #91 mov w10, #4 b LBB0_26 LBB0_7: ldr w8, [x19, #8] add w9, w8, #121 mov w10, #5 b LBB0_26 LBB0_8: ldr w8, [x19, #8] add w9, w8, #152 mov w10, #6 b LBB0_26 LBB0_9: ldr w8, [x19, #8] add w9, w8, #182 mov w10, #7 b LBB0_26 LBB0_10: ldr w8, [x19, #8] add w9, w8, #213 mov w10, #8 b LBB0_26 LBB0_11: ldr w8, [x19, #8] add w9, w8, #244 mov w10, #9 b LBB0_26 LBB0_12: ldr w8, [x19, #8] add w9, w8, #274 mov w10, #10 b LBB0_26 LBB0_13: ldr w8, [x19, #8] add w9, w8, #305 mov w10, #11 b LBB0_26 LBB0_14: ldr w8, [x19, #8] add w9, w8, #335 b LBB0_25 LBB0_15: ldr w8, [x19, #8] add w9, w8, #59 mov w10, #3 b LBB0_26 LBB0_16: ldr w8, [x19, #8] add w9, w8, #90 mov w10, #4 b LBB0_26 LBB0_17: ldr w8, [x19, #8] add w9, w8, #120 mov w10, #5 b LBB0_26 LBB0_18: ldr w8, [x19, #8] add w9, w8, #151 mov w10, #6 b LBB0_26 LBB0_19: ldr w8, [x19, #8] add w9, w8, #181 mov w10, #7 b LBB0_26 LBB0_20: ldr w8, [x19, #8] add w9, w8, #212 mov w10, #8 b LBB0_26 LBB0_21: ldr w8, [x19, #8] add w9, w8, #243 mov w10, #9 b LBB0_26 LBB0_22: ldr w8, [x19, #8] add w9, w8, #273 mov w10, #10 b LBB0_26 LBB0_23: ldr w8, [x19, #8] add w9, w8, #304 mov w10, #11 b LBB0_26 LBB0_24: ldr w8, [x19, #8] add w9, w8, #334 LBB0_25: mov w10, #12 LBB0_26: ldr w11, [x19] stp x8, x9, [sp, #16] stp x11, x10, [sp] Lloh14: adrp x0, l_.str.4@PAGE Lloh15: add x0, x0, l_.str.4@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_5-LBB0_4)>>2 .byte (LBB0_15-LBB0_4)>>2 .byte (LBB0_16-LBB0_4)>>2 .byte (LBB0_17-LBB0_4)>>2 .byte (LBB0_18-LBB0_4)>>2 .byte (LBB0_19-LBB0_4)>>2 .byte (LBB0_20-LBB0_4)>>2 .byte (LBB0_21-LBB0_4)>>2 .byte (LBB0_22-LBB0_4)>>2 .byte (LBB0_23-LBB0_4)>>2 .byte (LBB0_24-LBB0_4)>>2 lJTI0_1: .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 .byte (LBB0_8-LBB0_2)>>2 .byte (LBB0_9-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_12-LBB0_2)>>2 .byte (LBB0_13-LBB0_2)>>2 .byte (LBB0_14-LBB0_2)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%d %d %d" .comm _d,12,2 ; @d l_.str.4: ; @.str.4 .asciz "year=%d month=%d day=%d n=%d" l_str: ; @str .asciz "please enter year month day:" l_str.5: ; @str.5 .asciz "the year is not a leap year" l_str.6: ; @str.6 .asciz "the year is a leap year" .subsections_via_symbols
the_stack_data/51699313.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _EVP_CIPHER_CTX_set_flags ## -- Begin function EVP_CIPHER_CTX_set_flags .p2align 4, 0x90 _EVP_CIPHER_CTX_set_flags: ## @EVP_CIPHER_CTX_set_flags .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp orl %esi, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _EVP_CIPHER_CTX_set_flags ; -- Begin function EVP_CIPHER_CTX_set_flags .p2align 2 _EVP_CIPHER_CTX_set_flags: ; @EVP_CIPHER_CTX_set_flags .cfi_startproc ; %bb.0: ldr w8, [x0] orr w8, w8, w1 str w8, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/openssl/crypto/evp/extr_evp_lib.c_EVP_CIPHER_CTX_set_flags.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/247018105.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3_complete ## -- Begin function sqlite3_complete .p2align 4, 0x90 _sqlite3_complete: ## @sqlite3_complete .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 movb (%rdi), %al xorl %r12d, %r12d testb %al, %al je LBB0_48 ## %bb.1: movq %rdi, %rbx movq _tkSEMI@GOTPCREL(%rip), %r14 movq _tkOTHER@GOTPCREL(%rip), %r8 movabsq $-4294967296, %r15 ## imm = 0xFFFFFFFF00000000 leaq _sqlite3_complete.trans(%rip), %r13 leaq LJTI0_0(%rip), %rsi movq _tkWS@GOTPCREL(%rip), %r9 jmp LBB0_2 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movq %r9, %rcx LBB0_46: ## in Loop: Header=BB0_2 Depth=1 movslq (%rcx), %rax movslq %r12d, %rcx shlq $5, %rcx addq %r13, %rcx movl (%rcx,%rax,4), %r12d movb 1(%rbx), %al incq %rbx testb %al, %al je LBB0_47 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_15 Depth 2 ## Child Loop BB0_6 Depth 2 ## Child Loop BB0_13 Depth 2 ## Child Loop BB0_18 Depth 2 ## Child Loop BB0_25 Depth 2 movsbl %al, %edi leal -9(%rdi), %ecx cmpl $87, %ecx ja LBB0_22 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movslq (%rsi,%rcx,4), %rdx addq %rsi, %rdx movq %r14, %rcx jmpq *%rdx .p2align 4, 0x90 LBB0_18: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl 1(%rbx), %edx incq %rbx testb %dl, %dl je LBB0_20 ## %bb.19: ## in Loop: Header=BB0_18 Depth=2 cmpb %al, %dl jne LBB0_18 LBB0_20: ## in Loop: Header=BB0_2 Depth=1 movq %r8, %rcx testb %dl, %dl jne LBB0_46 jmp LBB0_21 .p2align 4, 0x90 LBB0_15: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl 1(%rbx), %eax testb %al, %al je LBB0_21 ## %bb.16: ## in Loop: Header=BB0_15 Depth=2 incq %rbx cmpb $93, %al jne LBB0_15 jmp LBB0_17 LBB0_22: ## in Loop: Header=BB0_2 Depth=1 ## kill: def $edi killed $edi killed $rdi callq _IdChar testl %eax, %eax je LBB0_23 ## %bb.24: ## in Loop: Header=BB0_2 Depth=1 xorl %r14d, %r14d movabsq $4294967296, %r13 ## imm = 0x100000000 .p2align 4, 0x90 LBB0_25: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 addq %r13, %r15 movsbl 1(%rbx,%r14), %edi callq _IdChar incq %r14 testl %eax, %eax jne LBB0_25 ## %bb.26: ## in Loop: Header=BB0_2 Depth=1 movsbl (%rbx), %eax addl $-67, %eax movq _tkOTHER@GOTPCREL(%rip), %r8 movq %r8, %rcx cmpl $49, %eax movabsq $4294967297, %rdx ## imm = 0x100000001 leaq L_.str(%rip), %rsi movq _tkCREATE@GOTPCREL(%rip), %r13 movq _tkWS@GOTPCREL(%rip), %r9 ja LBB0_45 ## %bb.27: ## in Loop: Header=BB0_2 Depth=1 btq %rax, %rdx jb LBB0_34 ## %bb.28: ## in Loop: Header=BB0_2 Depth=1 movabsq $17179869188, %rcx ## imm = 0x400000004 btq %rax, %rcx jb LBB0_39 ## %bb.29: ## in Loop: Header=BB0_2 Depth=1 movabsq $562949953552384, %rcx ## imm = 0x2000000020000 btq %rax, %rcx movq %r8, %rcx jae LBB0_45 ## %bb.30: ## in Loop: Header=BB0_2 Depth=1 cmpl $4, %r14d je LBB0_36 ## %bb.31: ## in Loop: Header=BB0_2 Depth=1 cmpl $9, %r14d je LBB0_37 ## %bb.32: ## in Loop: Header=BB0_2 Depth=1 cmpl $7, %r14d jne LBB0_44 ## %bb.33: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi leaq L_.str.1(%rip), %rsi movl $7, %edx callq _sqlite3StrNICmp movq _tkWS@GOTPCREL(%rip), %r9 movq _tkOTHER@GOTPCREL(%rip), %r8 movq _tkTRIGGER@GOTPCREL(%rip), %rcx jmp LBB0_43 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 cmpb $45, 1(%rbx) jne LBB0_17 .p2align 4, 0x90 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 testb %al, %al je LBB0_47 LBB0_13: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpb $10, %al je LBB0_10 ## %bb.14: ## in Loop: Header=BB0_13 Depth=2 movzbl 1(%rbx), %eax incq %rbx testb %al, %al jne LBB0_13 jmp LBB0_47 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 cmpb $42, 1(%rbx) jne LBB0_17 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 addq $3, %rbx jmp LBB0_6 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_6 Depth=2 cmpb $47, (%rbx) je LBB0_10 LBB0_8: ## in Loop: Header=BB0_6 Depth=2 incq %rbx LBB0_6: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl -1(%rbx), %eax cmpb $42, %al je LBB0_9 ## %bb.7: ## in Loop: Header=BB0_6 Depth=2 testb %al, %al jne LBB0_8 jmp LBB0_21 LBB0_17: ## in Loop: Header=BB0_2 Depth=1 movq %r8, %rcx jmp LBB0_46 LBB0_23: ## in Loop: Header=BB0_2 Depth=1 movq _tkOTHER@GOTPCREL(%rip), %r8 movq %r8, %rcx leaq LJTI0_0(%rip), %rsi movq _tkWS@GOTPCREL(%rip), %r9 jmp LBB0_46 LBB0_39: ## in Loop: Header=BB0_2 Depth=1 cmpl $7, %r14d je LBB0_42 ## %bb.40: ## in Loop: Header=BB0_2 Depth=1 cmpl $3, %r14d jne LBB0_44 ## %bb.41: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi leaq L_.str.4(%rip), %rsi movl $3, %edx callq _sqlite3StrNICmp movq _tkWS@GOTPCREL(%rip), %r9 movq _tkOTHER@GOTPCREL(%rip), %r8 movq _tkEND@GOTPCREL(%rip), %rcx jmp LBB0_43 LBB0_34: ## in Loop: Header=BB0_2 Depth=1 cmpl $6, %r14d jne LBB0_44 ## %bb.35: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi movl $6, %edx callq _sqlite3StrNICmp movq _tkWS@GOTPCREL(%rip), %r9 movq _tkOTHER@GOTPCREL(%rip), %r8 movq %r13, %rcx jmp LBB0_43 LBB0_42: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi leaq L_.str.5(%rip), %rsi movl $7, %edx callq _sqlite3StrNICmp movq _tkWS@GOTPCREL(%rip), %r9 movq _tkOTHER@GOTPCREL(%rip), %r8 movq _tkEXPLAIN@GOTPCREL(%rip), %rcx jmp LBB0_43 LBB0_36: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi leaq L_.str.2(%rip), %rsi movl $4, %edx jmp LBB0_38 LBB0_37: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi leaq L_.str.3(%rip), %rsi movl $9, %edx LBB0_38: ## in Loop: Header=BB0_2 Depth=1 callq _sqlite3StrNICmp movq _tkWS@GOTPCREL(%rip), %r9 movq _tkOTHER@GOTPCREL(%rip), %r8 movq _tkTEMP@GOTPCREL(%rip), %rcx LBB0_43: ## in Loop: Header=BB0_2 Depth=1 testl %eax, %eax je LBB0_45 LBB0_44: ## in Loop: Header=BB0_2 Depth=1 movq %r8, %rcx LBB0_45: ## in Loop: Header=BB0_2 Depth=1 sarq $32, %r15 addq %r15, %rbx movq _tkSEMI@GOTPCREL(%rip), %r14 movabsq $-4294967296, %r15 ## imm = 0xFFFFFFFF00000000 leaq _sqlite3_complete.trans(%rip), %r13 leaq LJTI0_0(%rip), %rsi jmp LBB0_46 LBB0_21: xorl %r12d, %r12d jmp LBB0_48 LBB0_47: cmpl $1, %r12d sete %r12b LBB0_48: movzbl %r12b, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_22, LBB0_22-LJTI0_0 .set L0_0_set_18, LBB0_18-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_46, LBB0_46-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 LJTI0_0: .long L0_0_set_10 .long L0_0_set_10 .long L0_0_set_22 .long L0_0_set_10 .long L0_0_set_10 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_10 .long L0_0_set_22 .long L0_0_set_18 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_18 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_11 .long L0_0_set_22 .long L0_0_set_4 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_46 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_15 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_18 .end_data_region ## -- End function .section __TEXT,__const .p2align 4 ## @sqlite3_complete.trans _sqlite3_complete.trans: .long 1 ## 0x1 .long 0 ## 0x0 .long 2 ## 0x2 .long 3 ## 0x3 .long 4 ## 0x4 .long 2 ## 0x2 .long 2 ## 0x2 .long 2 ## 0x2 .long 1 ## 0x1 .long 1 ## 0x1 .long 2 ## 0x2 .long 3 ## 0x3 .long 4 ## 0x4 .long 2 ## 0x2 .long 2 ## 0x2 .long 2 ## 0x2 .long 1 ## 0x1 .long 2 ## 0x2 .long 2 ## 0x2 .long 2 ## 0x2 .long 2 ## 0x2 .long 2 ## 0x2 .long 2 ## 0x2 .long 2 ## 0x2 .long 1 ## 0x1 .long 3 ## 0x3 .long 3 ## 0x3 .long 2 ## 0x2 .long 4 ## 0x4 .long 2 ## 0x2 .long 2 ## 0x2 .long 2 ## 0x2 .long 1 ## 0x1 .long 4 ## 0x4 .long 2 ## 0x2 .long 2 ## 0x2 .long 2 ## 0x2 .long 4 ## 0x4 .long 5 ## 0x5 .long 2 ## 0x2 .long 6 ## 0x6 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 6 ## 0x6 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 7 ## 0x7 .long 1 ## 0x1 .long 7 ## 0x7 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .comm _tkSEMI,4,2 ## @tkSEMI .comm _tkWS,4,2 ## @tkWS .comm _tkOTHER,4,2 ## @tkOTHER .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "create" .comm _tkCREATE,4,2 ## @tkCREATE L_.str.1: ## @.str.1 .asciz "trigger" .comm _tkTRIGGER,4,2 ## @tkTRIGGER L_.str.2: ## @.str.2 .asciz "temp" .comm _tkTEMP,4,2 ## @tkTEMP L_.str.3: ## @.str.3 .asciz "temporary" L_.str.4: ## @.str.4 .asciz "end" .comm _tkEND,4,2 ## @tkEND L_.str.5: ## @.str.5 .asciz "explain" .comm _tkEXPLAIN,4,2 ## @tkEXPLAIN .comm _SQLITE_MISUSE_BKPT,4,2 ## @SQLITE_MISUSE_BKPT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3_complete ; -- Begin function sqlite3_complete .p2align 2 _sqlite3_complete: ; @sqlite3_complete .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 ldrb w8, [x0] cbz w8, LBB0_48 ; %bb.1: mov x19, x0 mov w26, #0 Lloh0: adrp x27, _tkSEMI@GOTPAGE Lloh1: ldr x27, [x27, _tkSEMI@GOTPAGEOFF] Lloh2: adrp x28, _tkOTHER@GOTPAGE Lloh3: ldr x28, [x28, _tkOTHER@GOTPAGEOFF] mov x21, #4294967296 Lloh4: adrp x22, _sqlite3_complete.trans@PAGE Lloh5: add x22, x22, _sqlite3_complete.trans@PAGEOFF Lloh6: adrp x20, _tkWS@GOTPAGE Lloh7: ldr x20, [x20, _tkWS@GOTPAGEOFF] Lloh8: adrp x24, lJTI0_0@PAGE Lloh9: add x24, x24, lJTI0_0@PAGEOFF b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov x9, x20 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldrsw x8, [x9] sxtw x9, w26 add x9, x22, x9, lsl #5 ldr w26, [x9, x8, lsl #2] ldrb w8, [x19, #1]! cbz w8, LBB0_49 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 ; Child Loop BB0_31 Depth 2 ; Child Loop BB0_25 Depth 2 ; Child Loop BB0_6 Depth 2 ; Child Loop BB0_13 Depth 2 sxtb w0, w8 sub w9, w0, #9 cmp w9, #87 b.hi LBB0_11 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 adr x10, LBB0_2 ldrb w11, [x24, x9] add x10, x10, x11, lsl #2 mov x9, x27 br x10 LBB0_6: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w10, [x19, #1]! cbz w10, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_6 Depth=2 cmp w10, w8, uxtb b.ne LBB0_6 LBB0_8: ; in Loop: Header=BB0_4 Depth=1 mov x9, x28 cbnz w10, LBB0_3 b LBB0_48 LBB0_9: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x19, #1]! cbz w8, LBB0_48 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 cmp w8, #93 b.ne LBB0_9 b LBB0_33 LBB0_11: ; in Loop: Header=BB0_4 Depth=1 bl _IdChar cbz w0, LBB0_33 ; %bb.12: ; in Loop: Header=BB0_4 Depth=1 mov x23, #0 mov x25, #-4294967296 LBB0_13: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 add x8, x19, x23 ldrsb w0, [x8, #1] bl _IdChar add x25, x25, x21 add x23, x23, #1 cbnz w0, LBB0_13 ; %bb.14: ; in Loop: Header=BB0_4 Depth=1 ldrsb w8, [x19] sub w8, w8, #67 cmp w8, #49 b.hi LBB0_46 ; %bb.15: ; in Loop: Header=BB0_4 Depth=1 mov w10, #1 lsl x9, x10, x8 tst x9, #0x100000001 b.ne LBB0_34 ; %bb.16: ; in Loop: Header=BB0_4 Depth=1 lsl x9, x10, x8 tst x9, #0x400000004 b.ne LBB0_37 ; %bb.17: ; in Loop: Header=BB0_4 Depth=1 lsl x8, x10, x8 mov x9, x28 tst x8, #0x2000000020000 b.eq LBB0_47 ; %bb.18: ; in Loop: Header=BB0_4 Depth=1 cmp w23, #4 b.eq LBB0_43 ; %bb.19: ; in Loop: Header=BB0_4 Depth=1 cmp w23, #9 b.eq LBB0_45 ; %bb.20: ; in Loop: Header=BB0_4 Depth=1 cmp w23, #7 b.ne LBB0_46 ; %bb.21: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 Lloh10: adrp x1, l_.str.1@PAGE Lloh11: add x1, x1, l_.str.1@PAGEOFF mov w2, #7 bl _sqlite3StrNICmp cbnz w0, LBB0_46 ; %bb.22: ; in Loop: Header=BB0_4 Depth=1 Lloh12: adrp x9, _tkTRIGGER@GOTPAGE Lloh13: ldr x9, [x9, _tkTRIGGER@GOTPAGEOFF] b LBB0_47 LBB0_23: ; in Loop: Header=BB0_4 Depth=1 ldrb w9, [x19, #1] cmp w9, #45 b.ne LBB0_33 ; %bb.24: ; in Loop: Header=BB0_4 Depth=1 ands w8, w8, #0xff b.eq LBB0_49 LBB0_25: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 cmp w8, #10 b.eq LBB0_2 ; %bb.26: ; in Loop: Header=BB0_25 Depth=2 ldrb w8, [x19, #1]! ands w8, w8, #0xff b.ne LBB0_25 b LBB0_49 LBB0_27: ; in Loop: Header=BB0_4 Depth=1 ldrb w8, [x19, #1] cmp w8, #42 b.ne LBB0_33 ; %bb.28: ; in Loop: Header=BB0_4 Depth=1 add x19, x19, #3 b LBB0_31 LBB0_29: ; in Loop: Header=BB0_31 Depth=2 ldrb w8, [x19] cmp w8, #47 b.eq LBB0_2 LBB0_30: ; in Loop: Header=BB0_31 Depth=2 add x19, x19, #1 LBB0_31: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldurb w8, [x19, #-1] cmp w8, #42 b.eq LBB0_29 ; %bb.32: ; in Loop: Header=BB0_31 Depth=2 cbnz w8, LBB0_30 b LBB0_48 LBB0_33: ; in Loop: Header=BB0_4 Depth=1 mov x9, x28 b LBB0_3 LBB0_34: ; in Loop: Header=BB0_4 Depth=1 cmp w23, #6 b.ne LBB0_46 ; %bb.35: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 Lloh14: adrp x1, l_.str@PAGE Lloh15: add x1, x1, l_.str@PAGEOFF mov w2, #6 bl _sqlite3StrNICmp cbnz w0, LBB0_46 ; %bb.36: ; in Loop: Header=BB0_4 Depth=1 Lloh16: adrp x9, _tkCREATE@GOTPAGE Lloh17: ldr x9, [x9, _tkCREATE@GOTPAGEOFF] b LBB0_47 LBB0_37: ; in Loop: Header=BB0_4 Depth=1 cmp w23, #7 b.eq LBB0_41 ; %bb.38: ; in Loop: Header=BB0_4 Depth=1 cmp w23, #3 b.ne LBB0_46 ; %bb.39: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 Lloh18: adrp x1, l_.str.4@PAGE Lloh19: add x1, x1, l_.str.4@PAGEOFF mov w2, #3 bl _sqlite3StrNICmp cbnz w0, LBB0_46 ; %bb.40: ; in Loop: Header=BB0_4 Depth=1 Lloh20: adrp x9, _tkEND@GOTPAGE Lloh21: ldr x9, [x9, _tkEND@GOTPAGEOFF] b LBB0_47 LBB0_41: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 Lloh22: adrp x1, l_.str.5@PAGE Lloh23: add x1, x1, l_.str.5@PAGEOFF mov w2, #7 bl _sqlite3StrNICmp cbnz w0, LBB0_46 ; %bb.42: ; in Loop: Header=BB0_4 Depth=1 Lloh24: adrp x9, _tkEXPLAIN@GOTPAGE Lloh25: ldr x9, [x9, _tkEXPLAIN@GOTPAGEOFF] b LBB0_47 LBB0_43: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 Lloh26: adrp x1, l_.str.2@PAGE Lloh27: add x1, x1, l_.str.2@PAGEOFF mov w2, #4 bl _sqlite3StrNICmp cbnz w0, LBB0_46 LBB0_44: ; in Loop: Header=BB0_4 Depth=1 Lloh28: adrp x9, _tkTEMP@GOTPAGE Lloh29: ldr x9, [x9, _tkTEMP@GOTPAGEOFF] b LBB0_47 LBB0_45: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 Lloh30: adrp x1, l_.str.3@PAGE Lloh31: add x1, x1, l_.str.3@PAGEOFF mov w2, #9 bl _sqlite3StrNICmp cbz w0, LBB0_44 LBB0_46: ; in Loop: Header=BB0_4 Depth=1 mov x9, x28 LBB0_47: ; in Loop: Header=BB0_4 Depth=1 add x19, x19, x25, asr #32 b LBB0_3 LBB0_48: mov w0, #0 b LBB0_50 LBB0_49: cmp w26, #1 cset w0, eq LBB0_50: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_23-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_27-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_9-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 ; -- End function .p2align 2 ; @sqlite3_complete.trans _sqlite3_complete.trans: .long 1 ; 0x1 .long 0 ; 0x0 .long 2 ; 0x2 .long 3 ; 0x3 .long 4 ; 0x4 .long 2 ; 0x2 .long 2 ; 0x2 .long 2 ; 0x2 .long 1 ; 0x1 .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .long 4 ; 0x4 .long 2 ; 0x2 .long 2 ; 0x2 .long 2 ; 0x2 .long 1 ; 0x1 .long 2 ; 0x2 .long 2 ; 0x2 .long 2 ; 0x2 .long 2 ; 0x2 .long 2 ; 0x2 .long 2 ; 0x2 .long 2 ; 0x2 .long 1 ; 0x1 .long 3 ; 0x3 .long 3 ; 0x3 .long 2 ; 0x2 .long 4 ; 0x4 .long 2 ; 0x2 .long 2 ; 0x2 .long 2 ; 0x2 .long 1 ; 0x1 .long 4 ; 0x4 .long 2 ; 0x2 .long 2 ; 0x2 .long 2 ; 0x2 .long 4 ; 0x4 .long 5 ; 0x5 .long 2 ; 0x2 .long 6 ; 0x6 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 6 ; 0x6 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 7 ; 0x7 .long 1 ; 0x1 .long 7 ; 0x7 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .comm _tkSEMI,4,2 ; @tkSEMI .comm _tkWS,4,2 ; @tkWS .comm _tkOTHER,4,2 ; @tkOTHER .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "create" .comm _tkCREATE,4,2 ; @tkCREATE l_.str.1: ; @.str.1 .asciz "trigger" .comm _tkTRIGGER,4,2 ; @tkTRIGGER l_.str.2: ; @.str.2 .asciz "temp" .comm _tkTEMP,4,2 ; @tkTEMP l_.str.3: ; @.str.3 .asciz "temporary" l_.str.4: ; @.str.4 .asciz "end" .comm _tkEND,4,2 ; @tkEND l_.str.5: ; @.str.5 .asciz "explain" .comm _tkEXPLAIN,4,2 ; @tkEXPLAIN .comm _SQLITE_MISUSE_BKPT,4,2 ; @SQLITE_MISUSE_BKPT .subsections_via_symbols
AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_sqlite3_complete.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hci_host_num_comp_packets ## -- Begin function hci_host_num_comp_packets .p2align 4, 0x90 _hci_host_num_comp_packets: ## @hci_host_num_comp_packets .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 movq _PBUF_RAW@GOTPCREL(%rip), %rax movl (%rax), %edi movq _HCI_H_NUM_COMPL_PLEN@GOTPCREL(%rip), %rbx movl (%rbx), %esi movq _PBUF_RAM@GOTPCREL(%rip), %rax movl (%rax), %edx callq _btpbuf_alloc testq %rax, %rax je LBB0_1 ## %bb.2: movq _HCI_H_NUM_COMPL_OCF@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _HCI_HC_BB_OGF@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl (%rbx), %ecx movq %rax, %rdi callq _hci_cmd_ass movq %rax, %rbx movq 8(%rax), %rax movl $1, 16(%rax) movq %r15, %rdi callq _htole16 movq 8(%rbx), %rcx movq %rax, 5(%rcx) movq %r14, %rdi callq _htole16 movq 8(%rbx), %rcx movq %rax, 7(%rcx) movl (%rbx), %esi movq %rbx, %rdi callq _physbusif_output movq %rbx, %rdi callq _btpbuf_free movq _hci_dev@GOTPCREL(%rip), %rax movq (%rax), %rax addl %r14d, (%rax) movq _ERR_OK@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: leaq L_.str(%rip), %rdi callq _ERROR movq _ERR_MEM@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PBUF_RAW,4,2 ## @PBUF_RAW .comm _HCI_H_NUM_COMPL_PLEN,4,2 ## @HCI_H_NUM_COMPL_PLEN .comm _PBUF_RAM,4,2 ## @PBUF_RAM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "hci_host_num_comp_packets: Could not allocate memory for pbuf\n" .comm _ERR_MEM,4,2 ## @ERR_MEM .comm _HCI_H_NUM_COMPL_OCF,4,2 ## @HCI_H_NUM_COMPL_OCF .comm _HCI_HC_BB_OGF,4,2 ## @HCI_HC_BB_OGF .comm _hci_dev,8,3 ## @hci_dev .comm _ERR_OK,4,2 ## @ERR_OK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hci_host_num_comp_packets ; -- Begin function hci_host_num_comp_packets .p2align 2 _hci_host_num_comp_packets: ; @hci_host_num_comp_packets .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _PBUF_RAW@GOTPAGE Lloh1: ldr x8, [x8, _PBUF_RAW@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x21, _HCI_H_NUM_COMPL_PLEN@GOTPAGE Lloh4: ldr x21, [x21, _HCI_H_NUM_COMPL_PLEN@GOTPAGEOFF] ldr w1, [x21] Lloh5: adrp x8, _PBUF_RAM@GOTPAGE Lloh6: ldr x8, [x8, _PBUF_RAM@GOTPAGEOFF] Lloh7: ldr w2, [x8] bl _btpbuf_alloc cbz x0, LBB0_2 ; %bb.1: Lloh8: adrp x8, _HCI_H_NUM_COMPL_OCF@GOTPAGE Lloh9: ldr x8, [x8, _HCI_H_NUM_COMPL_OCF@GOTPAGEOFF] Lloh10: ldr w1, [x8] Lloh11: adrp x8, _HCI_HC_BB_OGF@GOTPAGE Lloh12: ldr x8, [x8, _HCI_HC_BB_OGF@GOTPAGEOFF] Lloh13: ldr w2, [x8] ldr w3, [x21] bl _hci_cmd_ass mov x21, x0 ldr x8, [x0, #8] mov w9, #1 str w9, [x8, #16] mov x0, x20 bl _htole16 ldr x8, [x21, #8] stur x0, [x8, #5] mov x0, x19 bl _htole16 ldr x8, [x21, #8] stur x0, [x8, #7] ldr w1, [x21] mov x0, x21 bl _physbusif_output mov x0, x21 bl _btpbuf_free Lloh14: adrp x8, _hci_dev@GOTPAGE Lloh15: ldr x8, [x8, _hci_dev@GOTPAGEOFF] Lloh16: ldr x8, [x8] ldr w9, [x8] add w9, w9, w19 str w9, [x8] Lloh17: adrp x8, _ERR_OK@GOTPAGE Lloh18: ldr x8, [x8, _ERR_OK@GOTPAGEOFF] b LBB0_3 LBB0_2: Lloh19: adrp x0, l_.str@PAGE Lloh20: add x0, x0, l_.str@PAGEOFF bl _ERROR Lloh21: adrp x8, _ERR_MEM@GOTPAGE Lloh22: ldr x8, [x8, _ERR_MEM@GOTPAGEOFF] LBB0_3: 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 Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _PBUF_RAW,4,2 ; @PBUF_RAW .comm _HCI_H_NUM_COMPL_PLEN,4,2 ; @HCI_H_NUM_COMPL_PLEN .comm _PBUF_RAM,4,2 ; @PBUF_RAM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hci_host_num_comp_packets: Could not allocate memory for pbuf\n" .comm _ERR_MEM,4,2 ; @ERR_MEM .comm _HCI_H_NUM_COMPL_OCF,4,2 ; @HCI_H_NUM_COMPL_OCF .comm _HCI_HC_BB_OGF,4,2 ; @HCI_HC_BB_OGF .comm _hci_dev,8,3 ; @hci_dev .comm _ERR_OK,4,2 ; @ERR_OK .subsections_via_symbols
AnghaBench/RetroArch/wii/libogc/lwbt/extr_hci.c_hci_host_num_comp_packets.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _evutil_date_rfc1123 ## -- Begin function evutil_date_rfc1123 .p2align 4, 0x90 _evutil_date_rfc1123: ## @evutil_date_rfc1123 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 xorl %edi, %edi callq _time movl %eax, -28(%rbp) testq %rbx, %rbx jne LBB0_2 ## %bb.1: leaq -28(%rbp), %rdi leaq -80(%rbp), %rbx movq %rbx, %rsi callq _gmtime_r LBB0_2: leaq _reltable.evutil_date_rfc1123(%rip), %rax movq (%rbx), %rcx movq 8(%rbx), %rdx movslq (%rax,%rcx,4), %rcx addq %rax, %rcx movl 40(%rbx), %r8d leaq _reltable.evutil_date_rfc1123.20(%rip), %rsi movslq (%rsi,%rdx,4), %r9 movl $1900, %eax ## imm = 0x76C addq 32(%rbx), %rax addq %rsi, %r9 movl 24(%rbx), %r10d movl 20(%rbx), %r11d movl 16(%rbx), %ebx leaq L_.str.19(%rip), %rdx movq %r15, %rdi movq %r14, %rsi pushq %rbx pushq %r11 pushq %r10 pushq %rax callq _evutil_snprintf addq $88, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .p2align 2 ## @reltable.evutil_date_rfc1123 _reltable.evutil_date_rfc1123: .long L_.str-_reltable.evutil_date_rfc1123 .long L_.str.1-_reltable.evutil_date_rfc1123 .long L_.str.2-_reltable.evutil_date_rfc1123 .long L_.str.3-_reltable.evutil_date_rfc1123 .long L_.str.4-_reltable.evutil_date_rfc1123 .long L_.str.5-_reltable.evutil_date_rfc1123 .long L_.str.6-_reltable.evutil_date_rfc1123 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Sun" L_.str.1: ## @.str.1 .asciz "Mon" L_.str.2: ## @.str.2 .asciz "Tue" L_.str.3: ## @.str.3 .asciz "Wed" L_.str.4: ## @.str.4 .asciz "Thu" L_.str.5: ## @.str.5 .asciz "Fri" L_.str.6: ## @.str.6 .asciz "Sat" .section __TEXT,__const .p2align 2 ## @reltable.evutil_date_rfc1123.20 _reltable.evutil_date_rfc1123.20: .long L_.str.7-_reltable.evutil_date_rfc1123.20 .long L_.str.8-_reltable.evutil_date_rfc1123.20 .long L_.str.9-_reltable.evutil_date_rfc1123.20 .long L_.str.10-_reltable.evutil_date_rfc1123.20 .long L_.str.11-_reltable.evutil_date_rfc1123.20 .long L_.str.12-_reltable.evutil_date_rfc1123.20 .long L_.str.13-_reltable.evutil_date_rfc1123.20 .long L_.str.14-_reltable.evutil_date_rfc1123.20 .long L_.str.15-_reltable.evutil_date_rfc1123.20 .long L_.str.16-_reltable.evutil_date_rfc1123.20 .long L_.str.17-_reltable.evutil_date_rfc1123.20 .long L_.str.18-_reltable.evutil_date_rfc1123.20 .section __TEXT,__cstring,cstring_literals L_.str.7: ## @.str.7 .asciz "Jan" L_.str.8: ## @.str.8 .asciz "Feb" L_.str.9: ## @.str.9 .asciz "Mar" L_.str.10: ## @.str.10 .asciz "Apr" L_.str.11: ## @.str.11 .asciz "May" L_.str.12: ## @.str.12 .asciz "Jun" L_.str.13: ## @.str.13 .asciz "Jul" L_.str.14: ## @.str.14 .asciz "Aug" L_.str.15: ## @.str.15 .asciz "Sep" L_.str.16: ## @.str.16 .asciz "Oct" L_.str.17: ## @.str.17 .asciz "Nov" L_.str.18: ## @.str.18 .asciz "Dec" L_.str.19: ## @.str.19 .asciz "%s, %02d %s %4d %02d:%02d:%02d GMT" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _evutil_date_rfc1123 ; -- Begin function evutil_date_rfc1123 .p2align 2 _evutil_date_rfc1123: ; @evutil_date_rfc1123 .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x2 mov x19, x1 mov x20, x0 mov x0, #0 bl _time stur w0, [x29, #-36] cbnz x21, LBB0_2 ; %bb.1: add x21, sp, #8 sub x0, x29, #36 add x1, sp, #8 bl _gmtime_r LBB0_2: Lloh0: adrp x8, _evutil_date_rfc1123.DAYS@PAGE Lloh1: add x8, x8, _evutil_date_rfc1123.DAYS@PAGEOFF ldp x9, x10, [x21] ldr x3, [x8, x9, lsl #3] Lloh2: adrp x8, _evutil_date_rfc1123.MONTHS@PAGE Lloh3: add x8, x8, _evutil_date_rfc1123.MONTHS@PAGEOFF ldr x5, [x8, x10, lsl #3] ldr w4, [x21, #40] ldr x8, [x21, #32] add x6, x8, #1900 ldp w8, w7, [x21, #20] ldr w9, [x21, #16] stp w8, w9, [sp] Lloh4: adrp x2, l_.str.19@PAGE Lloh5: add x2, x2, l_.str.19@PAGEOFF mov x0, x20 mov x1, x19 bl _evutil_snprintf ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __DATA,__const .p2align 3 ; @evutil_date_rfc1123.DAYS _evutil_date_rfc1123.DAYS: .quad l_.str .quad l_.str.1 .quad l_.str.2 .quad l_.str.3 .quad l_.str.4 .quad l_.str.5 .quad l_.str.6 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Sun" l_.str.1: ; @.str.1 .asciz "Mon" l_.str.2: ; @.str.2 .asciz "Tue" l_.str.3: ; @.str.3 .asciz "Wed" l_.str.4: ; @.str.4 .asciz "Thu" l_.str.5: ; @.str.5 .asciz "Fri" l_.str.6: ; @.str.6 .asciz "Sat" .section __DATA,__const .p2align 3 ; @evutil_date_rfc1123.MONTHS _evutil_date_rfc1123.MONTHS: .quad l_.str.7 .quad l_.str.8 .quad l_.str.9 .quad l_.str.10 .quad l_.str.11 .quad l_.str.12 .quad l_.str.13 .quad l_.str.14 .quad l_.str.15 .quad l_.str.16 .quad l_.str.17 .quad l_.str.18 .section __TEXT,__cstring,cstring_literals l_.str.7: ; @.str.7 .asciz "Jan" l_.str.8: ; @.str.8 .asciz "Feb" l_.str.9: ; @.str.9 .asciz "Mar" l_.str.10: ; @.str.10 .asciz "Apr" l_.str.11: ; @.str.11 .asciz "May" l_.str.12: ; @.str.12 .asciz "Jun" l_.str.13: ; @.str.13 .asciz "Jul" l_.str.14: ; @.str.14 .asciz "Aug" l_.str.15: ; @.str.15 .asciz "Sep" l_.str.16: ; @.str.16 .asciz "Oct" l_.str.17: ; @.str.17 .asciz "Nov" l_.str.18: ; @.str.18 .asciz "Dec" l_.str.19: ; @.str.19 .asciz "%s, %02d %s %4d %02d:%02d:%02d GMT" .subsections_via_symbols
AnghaBench/freebsd/contrib/libevent/extr_evutil_time.c_evutil_date_rfc1123.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 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 callq _getchar cmpl $-1, %eax je LBB0_3 ## %bb.1: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %edi callq _putchar jmp LBB0_2 LBB0_3: popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: 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 LBB0_1: ; =>This Inner Loop Header: Depth=1 bl _getchar cmn w0, #1 b.eq LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 bl _putchar b LBB0_1 LBB0_3: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/1106144.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _auth_init ## -- Begin function auth_init .p2align 4, 0x90 _auth_init: ## @auth_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $408, %rsp ## imm = 0x198 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, -440(%rbp) ## 8-byte Spill movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rsi callq _fopen movq %rax, %r12 xorl %eax, %eax callq _INIT_SSL testq %r12, %r12 je LBB0_1 ## %bb.3: movq %r12, %rdi callq _feof testq %rax, %rax je LBB0_7 ## %bb.4: movq _debug@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_6 ## %bb.5: leaq L_.str.2(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _printf LBB0_6: movq %r12, %rdi callq _fclose movl $-1, %ebx jmp LBB0_30 LBB0_1: movq _debug@GOTPCREL(%rip), %rax movl $-1, %ebx cmpq $0, (%rax) je LBB0_30 ## %bb.2: leaq L_.str.1(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _printf jmp LBB0_30 LBB0_7: movq _key_cnt@GOTPCREL(%rip), %rax movl $0, (%rax) movq %r12, %rdi callq _feof testq %rax, %rax je LBB0_8 LBB0_29: movq %r12, %rdi callq _fclose movq -440(%rbp), %rax ## 8-byte Reload movq (%rax), %rax movq _key_ptr@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq _key_cnt@GOTPCREL(%rip), %rax movl (%rax), %ebx LBB0_30: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_32 ## %bb.31: movl %ebx, %eax addq $408, %rsp ## imm = 0x198 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: movl $1, %r15d leaq -256(%rbp), %rbx leaq L_.str.3(%rip), %r13 xorl %eax, %eax movq %rax, -424(%rbp) ## 8-byte Spill movq %r14, -448(%rbp) ## 8-byte Spill movq %r12, -432(%rbp) ## 8-byte Spill jmp LBB0_9 .p2align 4, 0x90 LBB0_24: ## in Loop: Header=BB0_9 Depth=1 movq -408(%rbp), %rdi ## 8-byte Reload callq _free LBB0_27: ## in Loop: Header=BB0_9 Depth=1 incl %r15d LBB0_28: ## in Loop: Header=BB0_9 Depth=1 movq %r12, %rdi callq _feof testq %rax, %rax jne LBB0_29 LBB0_9: ## =>This Loop Header: Depth=1 ## Child Loop BB0_17 Depth 2 movq %rbx, %rdi movl $200, %esi movq %r12, %rdx callq _fgets testq %rax, %rax je LBB0_28 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movb $0, -57(%rbp) movq %rbx, %rdi movl $35, %esi callq _strchr testq %rax, %rax je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_9 Depth=1 movb $0, (%rax) LBB0_12: ## in Loop: Header=BB0_9 Depth=1 movl $48, %edi callq _emalloc movq 8(%rax), %rcx movq %rbx, %rdi movq %r13, %rsi movq %rax, -408(%rbp) ## 8-byte Spill movq %rax, %rdx leaq -400(%rbp), %r8 callq _sscanf movl %eax, %esi cmpl $3, %eax jne LBB0_22 ## %bb.13: ## in Loop: Header=BB0_9 Depth=1 movl %esi, -412(%rbp) ## 4-byte Spill movl %r15d, -416(%rbp) ## 4-byte Spill leaq -400(%rbp), %rbx movq %rbx, %rdi callq _strlen movl %eax, %r13d cmpl $20, %eax jg LBB0_15 ## %bb.14: ## in Loop: Header=BB0_9 Depth=1 movq -408(%rbp), %r12 ## 8-byte Reload movl %r13d, 16(%r12) movq 24(%r12), %rdi incl %r13d movq %rbx, %rsi movl %r13d, %edx callq _memcpy xorl %ebx, %ebx jmp LBB0_20 LBB0_15: ## in Loop: Header=BB0_9 Depth=1 movb $1, %bl testb $1, %r13b movq -408(%rbp), %r12 ## 8-byte Reload jne LBB0_20 ## %bb.16: ## in Loop: Header=BB0_9 Depth=1 movl %r13d, %eax shrl %eax movl %eax, 16(%r12) xorl %r14d, %r14d xorl %r15d, %r15d .p2align 4, 0x90 LBB0_17: ## Parent Loop BB0_9 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl -400(%rbp,%r15), %edi callq _hex_val movl %eax, %r12d shll $4, %r12d movsbl -399(%rbp,%r15), %edi callq _hex_val orl %r12d, %eax movl %eax, %ebx shrl $31, %ebx testl %eax, %eax js LBB0_18 ## %bb.19: ## in Loop: Header=BB0_17 Depth=2 movq -408(%rbp), %r12 ## 8-byte Reload movq 24(%r12), %rcx movb %al, (%rcx,%r14) addq $2, %r15 incq %r14 cmpl %r15d, %r13d jg LBB0_17 jmp LBB0_20 LBB0_18: ## in Loop: Header=BB0_9 Depth=1 movq -408(%rbp), %r12 ## 8-byte Reload .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_9 Depth=1 movq 8(%r12), %rdi xorl %esi, %esi callq _keytype_from_text movq %rax, 32(%r12) testq %rax, %rax je LBB0_21 ## %bb.25: ## in Loop: Header=BB0_9 Depth=1 testb %bl, %bl movq -432(%rbp), %r12 ## 8-byte Reload movl -416(%rbp), %r15d ## 4-byte Reload leaq -256(%rbp), %rbx leaq L_.str.3(%rip), %r13 movl -412(%rbp), %esi ## 4-byte Reload jne LBB0_22 ## %bb.26: ## in Loop: Header=BB0_9 Depth=1 movq -408(%rbp), %rdx ## 8-byte Reload movq $0, 40(%rdx) movq -424(%rbp), %rcx ## 8-byte Reload leaq 40(%rcx), %rax testq %rcx, %rcx cmoveq -440(%rbp), %rax ## 8-byte Folded Reload movq %rdx, (%rax) movq _key_cnt@GOTPCREL(%rip), %rax incl (%rax) movq %rdx, %rax movq %rdx, -424(%rbp) ## 8-byte Spill jmp LBB0_27 LBB0_21: ## in Loop: Header=BB0_9 Depth=1 movl (%r12), %ecx movq 8(%r12), %r8 leaq L_.str.4(%rip), %rdi movq -448(%rbp), %rsi ## 8-byte Reload movl -416(%rbp), %r15d ## 4-byte Reload movl %r15d, %edx xorl %eax, %eax callq _printf movq -432(%rbp), %r12 ## 8-byte Reload leaq -256(%rbp), %rbx leaq L_.str.3(%rip), %r13 movl -412(%rbp), %esi ## 4-byte Reload LBB0_22: ## in Loop: Header=BB0_9 Depth=1 movq _debug@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_24 ## %bb.23: ## in Loop: Header=BB0_9 Depth=1 leaq L_.str.5(%rip), %rdi movl %r15d, %edx xorl %eax, %eax callq _printf jmp LBB0_24 LBB0_32: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "r" .comm _debug,8,3 ## @debug L_.str.1: ## @.str.1 .asciz "sntp auth_init: Couldn't open key file %s for reading!\n" L_.str.2: ## @.str.2 .asciz "sntp auth_init: Key file %s is empty!\n" .comm _key_cnt,4,2 ## @key_cnt L_.str.3: ## @.str.3 .asciz "%d %15s %128s" L_.str.4: ## @.str.4 .asciz "%s: line %d: key %d, %s not supported - ignoring\n" L_.str.5: ## @.str.5 .asciz "auth_init: scanf %d items, skipping line %d." .comm _key_ptr,8,3 ## @key_ptr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _auth_init ; -- Begin function auth_init .p2align 2 _auth_init: ; @auth_init .cfi_startproc ; %bb.0: sub sp, sp, #496 .cfi_def_cfa_offset 496 stp x28, x27, [sp, #400] ; 16-byte Folded Spill stp x26, x25, [sp, #416] ; 16-byte Folded Spill stp x24, x23, [sp, #432] ; 16-byte Folded Spill stp x22, x21, [sp, #448] ; 16-byte Folded Spill stp x20, x19, [sp, #464] ; 16-byte Folded Spill stp x29, x30, [sp, #480] ; 16-byte Folded Spill add x29, sp, #480 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x1 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-96] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _fopen mov x20, x0 bl _INIT_SSL cbz x20, LBB0_5 ; %bb.1: mov x0, x20 bl _feof cbz x0, LBB0_8 ; %bb.2: Lloh5: adrp x8, _debug@GOTPAGE Lloh6: ldr x8, [x8, _debug@GOTPAGEOFF] Lloh7: ldr x8, [x8] cbz x8, LBB0_4 ; %bb.3: str x19, [sp] Lloh8: adrp x0, l_.str.2@PAGE Lloh9: add x0, x0, l_.str.2@PAGEOFF bl _printf LBB0_4: mov x0, x20 bl _fclose b LBB0_7 LBB0_5: Lloh10: adrp x8, _debug@GOTPAGE Lloh11: ldr x8, [x8, _debug@GOTPAGEOFF] Lloh12: ldr x8, [x8] cbz x8, LBB0_7 ; %bb.6: str x19, [sp] Lloh13: adrp x0, l_.str.1@PAGE Lloh14: add x0, x0, l_.str.1@PAGEOFF bl _printf LBB0_7: mov w0, #-1 b LBB0_10 LBB0_8: str x21, [sp, #40] ; 8-byte Folded Spill Lloh15: adrp x8, _key_cnt@GOTPAGE Lloh16: ldr x8, [x8, _key_cnt@GOTPAGEOFF] Lloh17: str wzr, [x8] mov x0, x20 bl _feof cbz x0, LBB0_12 LBB0_9: mov x0, x20 bl _fclose ldr x8, [sp, #40] ; 8-byte Folded Reload ldr x8, [x8] Lloh18: adrp x9, _key_ptr@GOTPAGE Lloh19: ldr x9, [x9, _key_ptr@GOTPAGEOFF] Lloh20: str x8, [x9] Lloh21: adrp x8, _key_cnt@GOTPAGE Lloh22: ldr x8, [x8, _key_cnt@GOTPAGEOFF] Lloh23: ldr w0, [x8] LBB0_10: ldur x8, [x29, #-96] Lloh24: adrp x9, ___stack_chk_guard@GOTPAGE Lloh25: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh26: ldr x9, [x9] cmp x9, x8 b.ne LBB0_33 ; %bb.11: ldp x29, x30, [sp, #480] ; 16-byte Folded Reload ldp x20, x19, [sp, #464] ; 16-byte Folded Reload ldp x22, x21, [sp, #448] ; 16-byte Folded Reload ldp x24, x23, [sp, #432] ; 16-byte Folded Reload ldp x26, x25, [sp, #416] ; 16-byte Folded Reload ldp x28, x27, [sp, #400] ; 16-byte Folded Reload add sp, sp, #496 ret LBB0_12: str xzr, [sp, #32] ; 8-byte Folded Spill mov w24, #1 Lloh27: adrp x21, l_.str.3@PAGE Lloh28: add x21, x21, l_.str.3@PAGEOFF b LBB0_16 LBB0_13: ; in Loop: Header=BB0_16 Depth=1 mov x0, x25 bl _free LBB0_14: ; in Loop: Header=BB0_16 Depth=1 add w24, w24, #1 LBB0_15: ; in Loop: Header=BB0_16 Depth=1 mov x0, x20 bl _feof cbnz x0, LBB0_9 LBB0_16: ; =>This Loop Header: Depth=1 ; Child Loop BB0_24 Depth 2 add x0, sp, #184 mov w1, #200 mov x2, x20 bl _fgets cbz x0, LBB0_15 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 strb wzr, [sp, #383] add x0, sp, #184 mov w1, #35 bl _strchr cbz x0, LBB0_19 ; %bb.18: ; in Loop: Header=BB0_16 Depth=1 strb wzr, [x0] LBB0_19: ; in Loop: Header=BB0_16 Depth=1 mov w0, #48 bl _emalloc mov x25, x0 ldr x3, [x0, #8] add x0, sp, #184 add x4, sp, #55 mov x1, x21 mov x2, x25 bl _sscanf mov x26, x0 cmp w0, #3 b.ne LBB0_31 ; %bb.20: ; in Loop: Header=BB0_16 Depth=1 add x0, sp, #55 bl _strlen mov x27, x0 cmp w0, #20 b.gt LBB0_22 ; %bb.21: ; in Loop: Header=BB0_16 Depth=1 str w27, [x25, #16] ldr x0, [x25, #24] add w2, w27, #1 add x1, sp, #55 bl _memcpy mov w28, #0 b LBB0_27 LBB0_22: ; in Loop: Header=BB0_16 Depth=1 tbnz w27, #0, LBB0_26 ; %bb.23: ; in Loop: Header=BB0_16 Depth=1 mov x22, #0 mov x21, #0 lsr w8, w27, #1 str w8, [x25, #16] LBB0_24: ; Parent Loop BB0_16 Depth=1 ; => This Inner Loop Header: Depth=2 add x8, sp, #55 add x23, x8, x21 ldrsb w0, [x23] bl _hex_val mov x28, x0 ldrsb w0, [x23, #1] bl _hex_val orr w8, w0, w28, lsl #4 lsr w28, w8, #31 tbnz w8, #31, LBB0_27 ; %bb.25: ; in Loop: Header=BB0_24 Depth=2 ldr x9, [x25, #24] strb w8, [x9, x22] add x21, x21, #2 add x22, x22, #1 cmp w27, w21 b.gt LBB0_24 b LBB0_27 LBB0_26: ; in Loop: Header=BB0_16 Depth=1 mov w28, #1 LBB0_27: ; in Loop: Header=BB0_16 Depth=1 ldr x0, [x25, #8] mov x1, #0 bl _keytype_from_text str x0, [x25, #32] cbz x0, LBB0_30 ; %bb.28: ; in Loop: Header=BB0_16 Depth=1 Lloh29: adrp x21, l_.str.3@PAGE Lloh30: add x21, x21, l_.str.3@PAGEOFF tbnz w28, #0, LBB0_31 ; %bb.29: ; in Loop: Header=BB0_16 Depth=1 str xzr, [x25, #40] ldr x9, [sp, #32] ; 8-byte Folded Reload add x8, x9, #40 cmp x9, #0 ldr x9, [sp, #40] ; 8-byte Folded Reload csel x8, x9, x8, eq str x25, [x8] Lloh31: adrp x9, _key_cnt@GOTPAGE Lloh32: ldr x9, [x9, _key_cnt@GOTPAGEOFF] ldr w8, [x9] add w8, w8, #1 str w8, [x9] str x25, [sp, #32] ; 8-byte Folded Spill b LBB0_14 LBB0_30: ; in Loop: Header=BB0_16 Depth=1 ldr x8, [x25, #8] ldr w9, [x25] stp x9, x8, [sp, #16] stp x19, x24, [sp] Lloh33: adrp x0, l_.str.4@PAGE Lloh34: add x0, x0, l_.str.4@PAGEOFF bl _printf Lloh35: adrp x21, l_.str.3@PAGE Lloh36: add x21, x21, l_.str.3@PAGEOFF LBB0_31: ; in Loop: Header=BB0_16 Depth=1 Lloh37: adrp x8, _debug@GOTPAGE Lloh38: ldr x8, [x8, _debug@GOTPAGEOFF] Lloh39: ldr x8, [x8] cbz x8, LBB0_13 ; %bb.32: ; in Loop: Header=BB0_16 Depth=1 mov x8, x24 stp x26, x8, [sp] Lloh40: adrp x0, l_.str.5@PAGE Lloh41: add x0, x0, l_.str.5@PAGEOFF bl _printf b LBB0_13 LBB0_33: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotStr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpLdrGot Lloh31, Lloh32 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpAdd Lloh40, Lloh41 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "r" .comm _debug,8,3 ; @debug l_.str.1: ; @.str.1 .asciz "sntp auth_init: Couldn't open key file %s for reading!\n" l_.str.2: ; @.str.2 .asciz "sntp auth_init: Key file %s is empty!\n" .comm _key_cnt,4,2 ; @key_cnt l_.str.3: ; @.str.3 .asciz "%d %15s %128s" l_.str.4: ; @.str.4 .asciz "%s: line %d: key %d, %s not supported - ignoring\n" l_.str.5: ; @.str.5 .asciz "auth_init: scanf %d items, skipping line %d." .comm _key_ptr,8,3 ; @key_ptr .subsections_via_symbols
AnghaBench/freebsd/contrib/ntp/sntp/extr_crypto.c_auth_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_ctype_eof _test_ctype_eof: ## @test_ctype_eof .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _EOF@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _test_ctype_chars ## TAILCALL .cfi_endproc ## -- End function .comm _EOF,4,2 ## @EOF .no_dead_strip _test_ctype_eof .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_ctype_eof _test_ctype_eof: ; @test_ctype_eof .cfi_startproc ; %bb.0: Lloh0: adrp x8, _EOF@GOTPAGE Lloh1: ldr x8, [x8, _EOF@GOTPAGEOFF] Lloh2: ldr w0, [x8] b _test_ctype_chars .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EOF,4,2 ; @EOF .no_dead_strip _test_ctype_eof .subsections_via_symbols
AnghaBench/openssl/test/extr_ctype_internal_test.c_test_ctype_eof.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xchk_setup_ag_refcountbt ## -- Begin function xchk_setup_ag_refcountbt .p2align 4, 0x90 _xchk_setup_ag_refcountbt: ## @xchk_setup_ag_refcountbt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edx, %edx popq %rbp jmp _xchk_setup_ag_btree ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xchk_setup_ag_refcountbt ; -- Begin function xchk_setup_ag_refcountbt .p2align 2 _xchk_setup_ag_refcountbt: ; @xchk_setup_ag_refcountbt .cfi_startproc ; %bb.0: mov w2, #0 b _xchk_setup_ag_btree .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/fs/xfs/scrub/extr_refcount.c_xchk_setup_ag_refcountbt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _btc_ble_mesh_model_find_group ## -- Begin function btc_ble_mesh_model_find_group .p2align 4, 0x90 _btc_ble_mesh_model_find_group: ## @btc_ble_mesh_model_find_group .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _bt_mesh_model_find_group ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _btc_ble_mesh_model_find_group ; -- Begin function btc_ble_mesh_model_find_group .p2align 2 _btc_ble_mesh_model_find_group: ; @btc_ble_mesh_model_find_group .cfi_startproc ; %bb.0: b _bt_mesh_model_find_group .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/esp-idf/components/bt/esp_ble_mesh/btc/extr_btc_ble_mesh_prov.c_btc_ble_mesh_model_find_group.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function LTnum _LTnum: ## @LTnum .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, %r15 movq %rdi, %rbx callq _ttisinteger movq %rbx, %rdi testq %rax, %rax je LBB0_4 ## %bb.1: callq _ivalue movq %rax, %r14 movq %r15, %rdi callq _ttisinteger movq %r15, %rdi testq %rax, %rax je LBB0_3 ## %bb.2: callq _ivalue movq %rax, %rcx xorl %eax, %eax cmpq %rcx, %r14 setl %al LBB0_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_4: callq _fltvalue movl %eax, %r14d movq %r15, %rdi callq _ttisfloat testq %rax, %rax je LBB0_5 ## %bb.8: movq %r15, %rdi callq _fltvalue movl %r14d, %edi movl %eax, %esi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _luai_numlt ## TAILCALL LBB0_3: callq _fltvalue movq %r14, %rdi movl %eax, %esi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _LTintfloat ## TAILCALL LBB0_5: movl %r14d, %edi callq _luai_numisnan movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx jne LBB0_7 ## %bb.6: movq %r15, %rdi callq _ivalue movq %rax, %rdi movl %r14d, %esi callq _LEintfloat movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx sete %al jmp LBB0_7 .cfi_endproc ## -- End function .no_dead_strip _LTnum .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function LTnum _LTnum: ; @LTnum .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _ttisinteger cbz x0, LBB0_4 ; %bb.1: mov x0, x20 bl _ivalue mov x20, x0 mov x0, x19 bl _ttisinteger cbz x0, LBB0_6 ; %bb.2: mov x0, x19 bl _ivalue cmp x20, x0 cset w0, lt LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_4: mov x0, x20 bl _fltvalue mov x20, x0 mov x0, x19 bl _ttisfloat cbz x0, LBB0_7 ; %bb.5: mov x0, x19 bl _fltvalue mov x1, x0 mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _luai_numlt LBB0_6: mov x0, x19 bl _fltvalue mov x1, x0 mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _LTintfloat LBB0_7: mov x0, x20 bl _luai_numisnan cbz x0, LBB0_9 ; %bb.8: mov w0, #0 b LBB0_3 LBB0_9: mov x0, x19 bl _ivalue mov x1, x20 bl _LEintfloat cmp w0, #0 cset w0, eq b LBB0_3 .cfi_endproc ; -- End function .no_dead_strip _LTnum .subsections_via_symbols
AnghaBench/mjolnir/Mjolnir/lua/extr_lvm.c_LTnum.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matvec ## -- Begin function matvec .p2align 4, 0x90 _matvec: ## @matvec .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %ecx, %ecx jle LBB0_5 ## %bb.1: movl %ecx, %r9d movl %r8d, %r11d xorl %r10d, %r10d LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 testl %r8d, %r8d jle LBB0_3 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movq (%rdi,%r10,8), %rax xorps %xmm0, %xmm0 xorl %ecx, %ecx .p2align 4, 0x90 LBB0_8: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero mulss (%rsi,%rcx,4), %xmm1 ucomiss %xmm1, %xmm1 jp LBB0_9 ## %bb.10: ## in Loop: Header=BB0_8 Depth=2 addss %xmm1, %xmm0 ucomiss %xmm0, %xmm0 jp LBB0_11 ## %bb.7: ## in Loop: Header=BB0_8 Depth=2 incq %rcx cmpq %rcx, %r11 jne LBB0_8 jmp LBB0_4 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_2 Depth=1 xorps %xmm0, %xmm0 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movss %xmm0, (%rdx,%r10,4) incq %r10 cmpq %r9, %r10 jne LBB0_2 LBB0_5: popq %rbp retq .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 jmp LBB0_9 .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 jmp LBB0_11 .cfi_endproc ## -- End function .globl _vecsub ## -- Begin function vecsub .p2align 4, 0x90 _vecsub: ## @vecsub .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %ecx, %ecx jle LBB1_5 ## %bb.1: movl %ecx, %eax xorl %ecx, %ecx .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 movss (%rdi,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero subss (%rsi,%rcx,4), %xmm0 ucomiss %xmm0, %xmm0 jp LBB1_3 ## %bb.4: ## in Loop: Header=BB1_2 Depth=1 movss %xmm0, (%rdx,%rcx,4) incq %rcx cmpq %rcx, %rax jne LBB1_2 LBB1_5: popq %rbp retq .p2align 4, 0x90 LBB1_3: ## =>This Inner Loop Header: Depth=1 jmp LBB1_3 .cfi_endproc ## -- End function .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function sor LCPI2_0: .long 0x3f800000 ## float 1 .section __TEXT,__text,regular,pure_instructions .globl _sor .p2align 4, 0x90 _sor: ## @sor .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movq %rdx, %r13 movq %rsi, %r15 movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl %ecx, %ebx leaq (,%rbx,4), %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rax testl %r14d, %r14d jle LBB2_13 ## %bb.1: xorl %ecx, %ecx LBB2_2: ## =>This Loop Header: Depth=1 ## Child Loop BB2_4 Depth 2 movq (%r12,%rcx,8), %rdx xorps %xmm1, %xmm1 xorl %esi, %esi .p2align 4, 0x90 LBB2_4: ## Parent Loop BB2_2 Depth=1 ## => This Inner Loop Header: Depth=2 movss (%rdx,%rsi,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero mulss (%r13,%rsi,4), %xmm2 ucomiss %xmm2, %xmm2 jp LBB2_5 ## %bb.10: ## in Loop: Header=BB2_4 Depth=2 addss %xmm2, %xmm1 ucomiss %xmm1, %xmm1 jp LBB2_11 ## %bb.3: ## in Loop: Header=BB2_4 Depth=2 incq %rsi cmpq %rsi, %rbx jne LBB2_4 ## %bb.6: ## in Loop: Header=BB2_2 Depth=1 movss %xmm1, (%rax,%rcx,4) incq %rcx cmpq %rbx, %rcx jne LBB2_2 ## %bb.7: xorl %ecx, %ecx LBB2_8: ## =>This Inner Loop Header: Depth=1 movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero subss (%r15,%rcx,4), %xmm1 ucomiss %xmm1, %xmm1 jp LBB2_9 ## %bb.12: ## in Loop: Header=BB2_8 Depth=1 incq %rcx cmpq %rcx, %rbx jne LBB2_8 LBB2_13: movss LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero subss %xmm0, %xmm1 xorl %ecx, %ecx LBB2_14: ## =>This Loop Header: Depth=1 ## Child Loop BB2_16 Depth 2 ## Child Loop BB2_17 Depth 3 ## Child Loop BB2_25 Depth 2 ## Child Loop BB2_27 Depth 3 ## Child Loop BB2_31 Depth 2 testl %r14d, %r14d jle LBB2_36 ## %bb.15: ## in Loop: Header=BB2_14 Depth=1 xorl %edx, %edx LBB2_16: ## Parent Loop BB2_14 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB2_17 Depth 3 xorps %xmm2, %xmm2 xorl %esi, %esi jmp LBB2_17 .p2align 4, 0x90 LBB2_37: ## in Loop: Header=BB2_17 Depth=3 incq %rsi cmpq %rsi, %rbx je LBB2_38 LBB2_17: ## Parent Loop BB2_14 Depth=1 ## Parent Loop BB2_16 Depth=2 ## => This Inner Loop Header: Depth=3 cmpq %rsi, %rdx je LBB2_37 ## %bb.18: ## in Loop: Header=BB2_17 Depth=3 movq (%r12,%rdx,8), %rdi movss (%rdi,%rsi,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero mulss (%r13,%rsi,4), %xmm3 ucomiss %xmm3, %xmm3 jp LBB2_19 ## %bb.40: ## in Loop: Header=BB2_17 Depth=3 addss %xmm3, %xmm2 ucomiss %xmm2, %xmm2 jnp LBB2_37 jmp LBB2_41 .p2align 4, 0x90 LBB2_38: ## in Loop: Header=BB2_16 Depth=2 ucomiss %xmm1, %xmm1 jp LBB2_39 ## %bb.42: ## in Loop: Header=BB2_16 Depth=2 movss (%r15,%rdx,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero subss %xmm2, %xmm3 ucomiss %xmm3, %xmm3 jp LBB2_43 ## %bb.44: ## in Loop: Header=BB2_16 Depth=2 movq (%r12,%rdx,8), %rsi movaps %xmm0, %xmm2 divss (%rsi,%rdx,4), %xmm2 ucomiss %xmm2, %xmm2 jp LBB2_45 ## %bb.46: ## in Loop: Header=BB2_16 Depth=2 movss (%r13,%rdx,4), %xmm4 ## xmm4 = mem[0],zero,zero,zero mulss %xmm1, %xmm4 ucomiss %xmm4, %xmm4 jp LBB2_47 ## %bb.48: ## in Loop: Header=BB2_16 Depth=2 mulss %xmm2, %xmm3 ucomiss %xmm3, %xmm3 jp LBB2_49 ## %bb.50: ## in Loop: Header=BB2_16 Depth=2 addss %xmm4, %xmm3 ucomiss %xmm3, %xmm3 jp LBB2_51 ## %bb.22: ## in Loop: Header=BB2_16 Depth=2 movss %xmm3, (%r13,%rdx,4) incq %rdx cmpq %rbx, %rdx jne LBB2_16 ## %bb.23: ## in Loop: Header=BB2_14 Depth=1 testl %r14d, %r14d jle LBB2_36 ## %bb.24: ## in Loop: Header=BB2_14 Depth=1 xorl %edx, %edx LBB2_25: ## Parent Loop BB2_14 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB2_27 Depth 3 movq (%r12,%rdx,8), %rsi xorps %xmm2, %xmm2 xorl %edi, %edi LBB2_27: ## Parent Loop BB2_14 Depth=1 ## Parent Loop BB2_25 Depth=2 ## => This Inner Loop Header: Depth=3 movss (%rsi,%rdi,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero mulss (%r13,%rdi,4), %xmm3 ucomiss %xmm3, %xmm3 jp LBB2_28 ## %bb.33: ## in Loop: Header=BB2_27 Depth=3 addss %xmm3, %xmm2 ucomiss %xmm2, %xmm2 jp LBB2_34 ## %bb.26: ## in Loop: Header=BB2_27 Depth=3 incq %rdi cmpq %rdi, %rbx jne LBB2_27 ## %bb.29: ## in Loop: Header=BB2_25 Depth=2 movss %xmm2, (%rax,%rdx,4) incq %rdx cmpq %rbx, %rdx jne LBB2_25 ## %bb.30: ## in Loop: Header=BB2_14 Depth=1 xorl %edx, %edx LBB2_31: ## Parent Loop BB2_14 Depth=1 ## => This Inner Loop Header: Depth=2 movss (%rax,%rdx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero subss (%r15,%rdx,4), %xmm2 ucomiss %xmm2, %xmm2 jp LBB2_32 ## %bb.35: ## in Loop: Header=BB2_31 Depth=2 incq %rdx cmpq %rdx, %rbx jne LBB2_31 .p2align 4, 0x90 LBB2_36: ## in Loop: Header=BB2_14 Depth=1 incl %ecx cmpl $40, %ecx jne LBB2_14 ## %bb.20: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB2_52 ## %bb.21: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .p2align 4, 0x90 LBB2_5: ## =>This Inner Loop Header: Depth=1 jmp LBB2_5 .p2align 4, 0x90 LBB2_11: ## =>This Inner Loop Header: Depth=1 jmp LBB2_11 .p2align 4, 0x90 LBB2_19: ## =>This Inner Loop Header: Depth=1 jmp LBB2_19 .p2align 4, 0x90 LBB2_41: ## =>This Inner Loop Header: Depth=1 jmp LBB2_41 .p2align 4, 0x90 LBB2_39: ## =>This Inner Loop Header: Depth=1 jmp LBB2_39 .p2align 4, 0x90 LBB2_43: ## =>This Inner Loop Header: Depth=1 jmp LBB2_43 .p2align 4, 0x90 LBB2_45: ## =>This Inner Loop Header: Depth=1 jmp LBB2_45 .p2align 4, 0x90 LBB2_47: ## =>This Inner Loop Header: Depth=1 jmp LBB2_47 .p2align 4, 0x90 LBB2_49: ## =>This Inner Loop Header: Depth=1 jmp LBB2_49 .p2align 4, 0x90 LBB2_51: ## =>This Inner Loop Header: Depth=1 jmp LBB2_51 .p2align 4, 0x90 LBB2_9: ## =>This Inner Loop Header: Depth=1 jmp LBB2_9 .p2align 4, 0x90 LBB2_28: ## =>This Inner Loop Header: Depth=1 jmp LBB2_28 .p2align 4, 0x90 LBB2_34: ## =>This Inner Loop Header: Depth=1 jmp LBB2_34 LBB2_32: ## =>This Inner Loop Header: Depth=1 jmp LBB2_32 LBB2_52: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI3_0: .long 0x40800000 ## float 4 .long 0xbf800000 ## float -1 .long 0xc0c00000 ## float -6 .long 0x00000000 ## float 0 LCPI3_1: .long 0xc0a00000 ## float -5 .long 0xc0800000 ## float -4 .long 0x41200000 ## float 10 .long 0x41000000 ## float 8 LCPI3_2: .long 0x00000000 ## float 0 .long 0x41100000 ## float 9 .long 0x40800000 ## float 4 .long 0xc0000000 ## float -2 LCPI3_3: .long 0x3f800000 ## float 1 .long 0x00000000 ## float 0 .long 0xc0e00000 ## float -7 .long 0x40a00000 ## float 5 LCPI3_4: .long 0x40000000 ## float 2 .long 0x41a80000 ## float 21 .long 0xc1400000 ## float -12 .long 0xc0c00000 ## float -6 .section __TEXT,__literal4,4byte_literals .p2align 2 LCPI3_5: .long 0x3f000000 ## float 0.5 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl $32, %edi callq _malloc movq %rax, %r13 movl $16, %edi callq _malloc movq %rax, (%r13) movq %rax, %r14 movq %rax, -48(%rbp) ## 8-byte Spill movl $16, %edi callq _malloc movq %rax, 8(%r13) movq %rax, %r15 movq %rax, -56(%rbp) ## 8-byte Spill movl $16, %edi callq _malloc movq %rax, 16(%r13) movq %rax, %rbx movq %rax, -64(%rbp) ## 8-byte Spill movl $16, %edi callq _malloc movq %rax, 24(%r13) movaps LCPI3_0(%rip), %xmm0 ## xmm0 = [4.0E+0,-1.0E+0,-6.0E+0,0.0E+0] movups %xmm0, (%r14) movaps LCPI3_1(%rip), %xmm0 ## xmm0 = [-5.0E+0,-4.0E+0,1.0E+1,8.0E+0] movups %xmm0, (%r15) movaps LCPI3_2(%rip), %xmm0 ## xmm0 = [0.0E+0,9.0E+0,4.0E+0,-2.0E+0] movups %xmm0, (%rbx) movaps LCPI3_3(%rip), %xmm0 ## xmm0 = [1.0E+0,0.0E+0,-7.0E+0,5.0E+0] movups %xmm0, (%rax) movq %rax, %rbx movl $16, %edi callq _malloc movq %rax, %r14 movaps LCPI3_4(%rip), %xmm0 ## xmm0 = [2.0E+0,2.1E+1,-1.2E+1,-6.0E+0] movups %xmm0, (%rax) movl $1, %edi movl $16, %esi callq _calloc movq %rax, %r15 movss LCPI3_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movq %r13, %rdi movq %r14, %rsi movq %rax, %rdx movl $4, %ecx callq _sor leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf movss (%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.1(%rip), %r12 movq %r12, %rdi movb $1, %al callq _printf movss 4(%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movq %r12, %rdi movb $1, %al callq _printf movss 8(%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movq %r12, %rdi movb $1, %al callq _printf movss 12(%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movq %r12, %rdi movb $1, %al callq _printf movl $10, %edi callq _putchar movq %r15, %rdi callq _free movq -48(%rbp), %rdi ## 8-byte Reload callq _free movq -56(%rbp), %rdi ## 8-byte Reload callq _free movq -64(%rbp), %rdi ## 8-byte Reload callq _free movq %rbx, %rdi callq _free movq %r13, %rdi callq _free movq %r14, %rdi callq _free xorl %eax, %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 "Result: " L_.str.1: ## @.str.1 .asciz "%f " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matvec ; -- Begin function matvec .p2align 2 _matvec: ; @matvec .cfi_startproc ; %bb.0: cmp w3, #1 b.lt LBB0_9 ; %bb.1: mov x8, #0 mov w9, w3 mov w10, w4 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 cmp w4, #1 b.lt LBB0_7 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr x11, [x0, x8, lsl #3] movi d0, #0000000000000000 mov x12, x10 mov x13, x1 LBB0_4: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldr s1, [x11] ldr s2, [x13] fmul s1, s1, s2 fcmp s1, s1 b.vs LBB0_10 ; %bb.5: ; in Loop: Header=BB0_4 Depth=2 fadd s0, s0, s1 fcmp s0, s0 b.vs LBB0_11 ; %bb.6: ; in Loop: Header=BB0_4 Depth=2 add x13, x13, #4 add x11, x11, #4 subs x12, x12, #1 b.ne LBB0_4 b LBB0_8 LBB0_7: ; in Loop: Header=BB0_2 Depth=1 movi d0, #0000000000000000 LBB0_8: ; in Loop: Header=BB0_2 Depth=1 str s0, [x2, x8, lsl #2] add x8, x8, #1 cmp x8, x9 b.ne LBB0_2 LBB0_9: ret LBB0_10: ; =>This Inner Loop Header: Depth=1 b LBB0_10 LBB0_11: ; =>This Inner Loop Header: Depth=1 b LBB0_11 .cfi_endproc ; -- End function .globl _vecsub ; -- Begin function vecsub .p2align 2 _vecsub: ; @vecsub .cfi_startproc ; %bb.0: cmp w3, #1 b.lt LBB1_4 ; %bb.1: mov w8, w3 LBB1_2: ; =>This Inner Loop Header: Depth=1 ldr s0, [x0] ldr s1, [x1] fsub s0, s0, s1 fcmp s0, s0 b.vs LBB1_5 ; %bb.3: ; in Loop: Header=BB1_2 Depth=1 str s0, [x2], #4 add x1, x1, #4 add x0, x0, #4 subs x8, x8, #1 b.ne LBB1_2 LBB1_4: ret LBB1_5: ; =>This Inner Loop Header: Depth=1 b LBB1_5 .cfi_endproc ; -- End function .globl _sor ; -- Begin function sor .p2align 2 _sor: ; @sor .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 sub sp, sp, #16 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-8] mov w12, w3 lsl x8, x12, #2 mov x9, x8 Lloh3: adrp x16, ___chkstk_darwin@GOTPAGE Lloh4: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x8, x9, x8 mov sp, x8 cmp w3, #1 b.lt LBB2_10 ; %bb.1: mov x9, #0 LBB2_2: ; =>This Loop Header: Depth=1 ; Child Loop BB2_3 Depth 2 ldr x10, [x0, x9, lsl #3] movi d1, #0000000000000000 mov x11, x2 mov x13, x12 LBB2_3: ; Parent Loop BB2_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldr s2, [x10] ldr s3, [x11] fmul s2, s2, s3 fcmp s2, s2 b.vs LBB2_38 ; %bb.4: ; in Loop: Header=BB2_3 Depth=2 fadd s1, s1, s2 fcmp s1, s1 b.vs LBB2_39 ; %bb.5: ; in Loop: Header=BB2_3 Depth=2 add x11, x11, #4 add x10, x10, #4 subs x13, x13, #1 b.ne LBB2_3 ; %bb.6: ; in Loop: Header=BB2_2 Depth=1 str s1, [x8, x9, lsl #2] add x9, x9, #1 cmp x9, x12 b.ne LBB2_2 ; %bb.7: mov x9, x8 mov x10, x1 mov x11, x12 LBB2_8: ; =>This Inner Loop Header: Depth=1 ldr s1, [x9] ldr s2, [x10] fsub s1, s1, s2 fcmp s1, s1 b.vs LBB2_48 ; %bb.9: ; in Loop: Header=BB2_8 Depth=1 add x10, x10, #4 add x9, x9, #4 subs x11, x11, #1 b.ne LBB2_8 LBB2_10: mov w9, #0 fmov s1, #1.00000000 fsub s1, s1, s0 LBB2_11: ; =>This Loop Header: Depth=1 ; Child Loop BB2_13 Depth 2 ; Child Loop BB2_15 Depth 3 ; Child Loop BB2_27 Depth 2 ; Child Loop BB2_28 Depth 3 ; Child Loop BB2_33 Depth 2 cmp w3, #1 b.lt LBB2_35 ; %bb.12: ; in Loop: Header=BB2_11 Depth=1 mov x10, #0 LBB2_13: ; Parent Loop BB2_11 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB2_15 Depth 3 mov x11, #0 movi d2, #0000000000000000 b LBB2_15 LBB2_14: ; in Loop: Header=BB2_15 Depth=3 add x11, x11, #1 cmp x12, x11 b.eq LBB2_18 LBB2_15: ; Parent Loop BB2_11 Depth=1 ; Parent Loop BB2_13 Depth=2 ; => This Inner Loop Header: Depth=3 cmp x10, x11 b.eq LBB2_14 ; %bb.16: ; in Loop: Header=BB2_15 Depth=3 ldr x13, [x0, x10, lsl #3] lsl x14, x11, #2 ldr s3, [x13, x14] ldr s4, [x2, x14] fmul s3, s3, s4 fcmp s3, s3 b.vs LBB2_40 ; %bb.17: ; in Loop: Header=BB2_15 Depth=3 fadd s2, s2, s3 fcmp s2, s2 b.vc LBB2_14 b LBB2_41 LBB2_18: ; in Loop: Header=BB2_13 Depth=2 fcmp s1, s1 b.vs LBB2_42 ; %bb.19: ; in Loop: Header=BB2_13 Depth=2 ldr s3, [x1, x10, lsl #2] fsub s2, s3, s2 fcmp s2, s2 b.vs LBB2_43 ; %bb.20: ; in Loop: Header=BB2_13 Depth=2 ldr x11, [x0, x10, lsl #3] ldr s3, [x11, x10, lsl #2] fdiv s3, s0, s3 fcmp s3, s3 b.vs LBB2_44 ; %bb.21: ; in Loop: Header=BB2_13 Depth=2 ldr s4, [x2, x10, lsl #2] fmul s4, s1, s4 fcmp s4, s4 b.vs LBB2_45 ; %bb.22: ; in Loop: Header=BB2_13 Depth=2 fmul s2, s2, s3 fcmp s2, s2 b.vs LBB2_46 ; %bb.23: ; in Loop: Header=BB2_13 Depth=2 fadd s2, s2, s4 fcmp s2, s2 b.vs LBB2_47 ; %bb.24: ; in Loop: Header=BB2_13 Depth=2 str s2, [x2, x10, lsl #2] add x10, x10, #1 cmp x10, x12 b.ne LBB2_13 ; %bb.25: ; in Loop: Header=BB2_11 Depth=1 cmp w3, #1 b.lt LBB2_35 ; %bb.26: ; in Loop: Header=BB2_11 Depth=1 mov x10, #0 LBB2_27: ; Parent Loop BB2_11 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB2_28 Depth 3 ldr x11, [x0, x10, lsl #3] movi d2, #0000000000000000 mov x13, x2 mov x14, x12 LBB2_28: ; Parent Loop BB2_11 Depth=1 ; Parent Loop BB2_27 Depth=2 ; => This Inner Loop Header: Depth=3 ldr s3, [x11] ldr s4, [x13] fmul s3, s3, s4 fcmp s3, s3 b.vs LBB2_49 ; %bb.29: ; in Loop: Header=BB2_28 Depth=3 fadd s2, s2, s3 fcmp s2, s2 b.vs LBB2_50 ; %bb.30: ; in Loop: Header=BB2_28 Depth=3 add x13, x13, #4 add x11, x11, #4 subs x14, x14, #1 b.ne LBB2_28 ; %bb.31: ; in Loop: Header=BB2_27 Depth=2 str s2, [x8, x10, lsl #2] add x10, x10, #1 cmp x10, x12 b.ne LBB2_27 ; %bb.32: ; in Loop: Header=BB2_11 Depth=1 mov x10, x8 mov x11, x1 mov x13, x12 LBB2_33: ; Parent Loop BB2_11 Depth=1 ; => This Inner Loop Header: Depth=2 ldr s2, [x10] ldr s3, [x11] fsub s2, s2, s3 fcmp s2, s2 b.vs LBB2_51 ; %bb.34: ; in Loop: Header=BB2_33 Depth=2 add x11, x11, #4 add x10, x10, #4 subs x13, x13, #1 b.ne LBB2_33 LBB2_35: ; in Loop: Header=BB2_11 Depth=1 add w9, w9, #1 cmp w9, #40 b.ne LBB2_11 ; %bb.36: ldur x8, [x29, #-8] Lloh5: adrp x9, ___stack_chk_guard@GOTPAGE Lloh6: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x9, x8 b.ne LBB2_52 ; %bb.37: mov sp, x29 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB2_38: ; =>This Inner Loop Header: Depth=1 b LBB2_38 LBB2_39: ; =>This Inner Loop Header: Depth=1 b LBB2_39 LBB2_40: ; =>This Inner Loop Header: Depth=1 b LBB2_40 LBB2_41: ; =>This Inner Loop Header: Depth=1 b LBB2_41 LBB2_42: ; =>This Inner Loop Header: Depth=1 b LBB2_42 LBB2_43: ; =>This Inner Loop Header: Depth=1 b LBB2_43 LBB2_44: ; =>This Inner Loop Header: Depth=1 b LBB2_44 LBB2_45: ; =>This Inner Loop Header: Depth=1 b LBB2_45 LBB2_46: ; =>This Inner Loop Header: Depth=1 b LBB2_46 LBB2_47: ; =>This Inner Loop Header: Depth=1 b LBB2_47 LBB2_48: ; =>This Inner Loop Header: Depth=1 b LBB2_48 LBB2_49: ; =>This Inner Loop Header: Depth=1 b LBB2_49 LBB2_50: ; =>This Inner Loop Header: Depth=1 b LBB2_50 LBB2_51: ; =>This Inner Loop Header: Depth=1 b LBB2_51 LBB2_52: bl ___stack_chk_fail .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function main lCPI3_0: .long 0x40800000 ; float 4 .long 0xbf800000 ; float -1 .long 0xc0c00000 ; float -6 .long 0x00000000 ; float 0 lCPI3_1: .long 0xc0a00000 ; float -5 .long 0xc0800000 ; float -4 .long 0x41200000 ; float 10 .long 0x41000000 ; float 8 lCPI3_2: .long 0x00000000 ; float 0 .long 0x41100000 ; float 9 .long 0x40800000 ; float 4 .long 0xc0000000 ; float -2 lCPI3_3: .long 0x3f800000 ; float 1 .long 0x00000000 ; float 0 .long 0xc0e00000 ; float -7 .long 0x40a00000 ; float 5 lCPI3_4: .long 0x40000000 ; float 2 .long 0x41a80000 ; float 21 .long 0xc1400000 ; float -12 .long 0xc0c00000 ; float -6 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 2 _main: ; @main .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 w0, #32 bl _malloc mov x19, x0 mov w0, #16 bl _malloc mov x20, x0 str x0, [x19] mov w0, #16 bl _malloc mov x21, x0 str x0, [x19, #8] mov w0, #16 bl _malloc mov x22, x0 str x0, [x19, #16] mov w0, #16 bl _malloc mov x23, x0 str x0, [x19, #24] Lloh8: adrp x8, lCPI3_0@PAGE Lloh9: ldr q0, [x8, lCPI3_0@PAGEOFF] str q0, [x20] Lloh10: adrp x8, lCPI3_1@PAGE Lloh11: ldr q0, [x8, lCPI3_1@PAGEOFF] str q0, [x21] Lloh12: adrp x8, lCPI3_2@PAGE Lloh13: ldr q0, [x8, lCPI3_2@PAGEOFF] str q0, [x22] Lloh14: adrp x8, lCPI3_3@PAGE Lloh15: ldr q0, [x8, lCPI3_3@PAGEOFF] str q0, [x0] mov w0, #16 bl _malloc mov x24, x0 Lloh16: adrp x8, lCPI3_4@PAGE Lloh17: ldr q0, [x8, lCPI3_4@PAGEOFF] str q0, [x0] mov w0, #1 mov w1, #16 bl _calloc mov x25, x0 fmov s0, #0.50000000 mov x0, x19 mov x1, x24 mov x2, x25 mov w3, #4 bl _sor Lloh18: adrp x0, l_.str@PAGE Lloh19: add x0, x0, l_.str@PAGEOFF bl _printf ldr s0, [x25] fcvt d0, s0 str d0, [sp] Lloh20: adrp x26, l_.str.1@PAGE Lloh21: add x26, x26, l_.str.1@PAGEOFF mov x0, x26 bl _printf ldr s0, [x25, #4] fcvt d0, s0 str d0, [sp] mov x0, x26 bl _printf ldr s0, [x25, #8] fcvt d0, s0 str d0, [sp] mov x0, x26 bl _printf ldr s0, [x25, #12] fcvt d0, s0 str d0, [sp] mov x0, x26 bl _printf mov w0, #10 bl _putchar mov x0, x25 bl _free mov x0, x20 bl _free mov x0, x21 bl _free mov x0, x22 bl _free mov x0, x23 bl _free mov x0, x19 bl _free mov x0, x24 bl _free 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 add sp, sp, #96 ret .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdr Lloh16, Lloh17 .loh AdrpLdr Lloh14, Lloh15 .loh AdrpAdrp Lloh12, Lloh14 .loh AdrpLdr Lloh12, Lloh13 .loh AdrpAdrp Lloh10, Lloh12 .loh AdrpLdr Lloh10, Lloh11 .loh AdrpAdrp Lloh8, Lloh10 .loh AdrpLdr Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Result: " l_.str.1: ; @.str.1 .asciz "%f " .subsections_via_symbols
the_stack_data/45449502.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function et131x_open _et131x_open: ## @et131x_open .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 callq _netdev_priv movq %rax, %r15 movq 16(%rax), %r12 movl (%r12), %eax movl %eax, -44(%rbp) ## 4-byte Spill leaq 8(%r15), %rbx movq _et131x_error_timer_handler@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi xorl %edx, %edx callq _timer_setup movq _jiffies@GOTPCREL(%rip), %rax movq (%rax), %r13 movq _TX_ERROR_PERIOD@GOTPCREL(%rip), %rax movl (%rax), %edi callq _msecs_to_jiffies addq %r13, %rax movq %rax, 8(%r15) movq %rbx, %rdi movl -44(%rbp), %ebx ## 4-byte Reload callq _add_timer movq _et131x_isr@GOTPCREL(%rip), %rax movl (%rax), %esi movq _IRQF_SHARED@GOTPCREL(%rip), %rax movl (%rax), %edx movl (%r14), %ecx movl %ebx, %edi movq %r14, %r8 callq _request_irq movl %eax, %r13d testl %eax, %eax je LBB0_2 ## %bb.1: addq $4, %r12 leaq L_.str(%rip), %rsi movq %r12, %rdi movl %ebx, %edx callq _dev_err jmp LBB0_3 LBB0_2: movq _FMP_ADAPTER_INTERRUPT_IN_USE@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 4(%r15) movq %r15, %rdi callq _napi_enable movq %r14, %rdi callq _et131x_up LBB0_3: movl %r13d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _et131x_error_timer_handler,4,2 ## @et131x_error_timer_handler .comm _jiffies,8,3 ## @jiffies .comm _TX_ERROR_PERIOD,4,2 ## @TX_ERROR_PERIOD .comm _et131x_isr,4,2 ## @et131x_isr .comm _IRQF_SHARED,4,2 ## @IRQF_SHARED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "could not register IRQ %d\n" .comm _FMP_ADAPTER_INTERRUPT_IN_USE,4,2 ## @FMP_ADAPTER_INTERRUPT_IN_USE .no_dead_strip _et131x_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function et131x_open _et131x_open: ; @et131x_open .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 bl _netdev_priv mov x20, x0 ldr x23, [x0, #16] ldr w21, [x23] add x22, x0, #8 Lloh0: adrp x8, _et131x_error_timer_handler@GOTPAGE Lloh1: ldr x8, [x8, _et131x_error_timer_handler@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x22 mov w2, #0 bl _timer_setup Lloh3: adrp x8, _jiffies@GOTPAGE Lloh4: ldr x8, [x8, _jiffies@GOTPAGEOFF] Lloh5: ldr x24, [x8] Lloh6: adrp x8, _TX_ERROR_PERIOD@GOTPAGE Lloh7: ldr x8, [x8, _TX_ERROR_PERIOD@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _msecs_to_jiffies add x8, x0, x24 str x8, [x20, #8] mov x0, x22 bl _add_timer Lloh9: adrp x8, _et131x_isr@GOTPAGE Lloh10: ldr x8, [x8, _et131x_isr@GOTPAGEOFF] Lloh11: ldr w1, [x8] Lloh12: adrp x8, _IRQF_SHARED@GOTPAGE Lloh13: ldr x8, [x8, _IRQF_SHARED@GOTPAGEOFF] Lloh14: ldr w2, [x8] ldr w3, [x19] mov x0, x21 mov x4, x19 bl _request_irq mov x22, x0 cbz w0, LBB0_2 ; %bb.1: add x0, x23, #4 Lloh15: adrp x1, l_.str@PAGE Lloh16: add x1, x1, l_.str@PAGEOFF mov x2, x21 bl _dev_err b LBB0_3 LBB0_2: Lloh17: adrp x8, _FMP_ADAPTER_INTERRUPT_IN_USE@GOTPAGE Lloh18: ldr x8, [x8, _FMP_ADAPTER_INTERRUPT_IN_USE@GOTPAGEOFF] Lloh19: ldr w8, [x8] ldr w9, [x20, #4] orr w8, w9, w8 str w8, [x20, #4] mov x0, x20 bl _napi_enable mov x0, x19 bl _et131x_up LBB0_3: mov x0, x22 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 Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _et131x_error_timer_handler,4,2 ; @et131x_error_timer_handler .comm _jiffies,8,3 ; @jiffies .comm _TX_ERROR_PERIOD,4,2 ; @TX_ERROR_PERIOD .comm _et131x_isr,4,2 ; @et131x_isr .comm _IRQF_SHARED,4,2 ; @IRQF_SHARED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "could not register IRQ %d\n" .comm _FMP_ADAPTER_INTERRUPT_IN_USE,4,2 ; @FMP_ADAPTER_INTERRUPT_IN_USE .no_dead_strip _et131x_open .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/agere/extr_et131x.c_et131x_open.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vhpet_adjust_compval _vhpet_adjust_compval: ## @vhpet_adjust_compval .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movq %rdi, %r14 movq (%rdi), %rax movslq %esi, %rsi movq %rsi, %rbx shlq $4, %rbx xorl %edi, %edi cmpq $0, (%rax,%rbx) setne %dil callq _KASSERT movq (%r14), %rcx movl (%rcx,%rbx), %esi movl 8(%rcx,%rbx), %edi subl %edi, %r15d movl %r15d, %eax cltd idivl %esi incl %eax imull %esi, %eax addl %edi, %eax movl %eax, 8(%rcx,%rbx) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _vhpet_adjust_compval .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vhpet_adjust_compval _vhpet_adjust_compval: ; @vhpet_adjust_compval .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 ; kill: def $w1 killed $w1 def $x1 mov x20, x0 ldr x9, [x0] sxtw x8, w1 sbfiz x21, x1, #4, #32 ldr x9, [x9, x21] cmp x9, #0 cset w0, ne mov x1, x8 bl _KASSERT ldr x8, [x20] add x8, x8, x21 ldr w9, [x8, #8] ldr w10, [x8] sub w11, w19, w9 sdiv w11, w11, w10 madd w10, w10, w11, w10 add w9, w10, w9 str w9, [x8, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _vhpet_adjust_compval .subsections_via_symbols
AnghaBench/xhyve/src/vmm/io/extr_vhpet.c_vhpet_adjust_compval.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function udl_get_fb_height _udl_get_fb_height: ## @udl_get_fb_height .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 movq _udl_modes@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl (%rcx,%rax,4), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _udl_modes,8,3 ## @udl_modes .no_dead_strip _udl_get_fb_height .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function udl_get_fb_height _udl_get_fb_height: ; @udl_get_fb_height .cfi_startproc ; %bb.0: ldr w8, [x0] Lloh0: adrp x9, _udl_modes@GOTPAGE Lloh1: ldr x9, [x9, _udl_modes@GOTPAGEOFF] Lloh2: ldr x9, [x9] ldr w0, [x9, x8, lsl #2] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _udl_modes,8,3 ; @udl_modes .no_dead_strip _udl_get_fb_height .subsections_via_symbols
AnghaBench/freebsd/sys/dev/usb/video/extr_udl.c_udl_get_fb_height.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 movb -3(%rbp), %cl movq _USRSTR@GOTPCREL(%rip), %rax addb %cl, %cl andb (%rax), %cl movb (%rax), %dl andb $2, %cl andb $-3, %dl orb %cl, %dl movb %dl, (%rax) movb -2(%rbp), %cl shlb $2, %cl orb (%rax), %cl movb (%rax), %dl andb $4, %cl andb $-5, %dl orb %cl, %dl movb %dl, (%rax) movb -1(%rbp), %cl shlb $3, %cl xorb (%rax), %cl movb (%rax), %dl andb $8, %cl andb $-9, %dl orb %cl, %dl movb %dl, (%rax) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _USRSTR,1,0 ## @USRSTR .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, #16 .cfi_def_cfa_offset 16 ldrb w8, [sp, #15] Lloh0: adrp x9, _USRSTR@GOTPAGE Lloh1: ldr x9, [x9, _USRSTR@GOTPAGEOFF] ldrb w10, [x9] ldrb w11, [x9] and w8, w10, w8, lsl #1 and w8, w8, #0x2 and w10, w11, #0xfffffffd orr w8, w10, w8 strb w8, [x9] ldrb w8, [sp, #14] ldrb w10, [x9] ldrb w11, [x9] orr w8, w10, w8, lsl #2 and w8, w8, #0x4 and w10, w11, #0xfffffffb orr w8, w10, w8 strb w8, [x9] ldrb w8, [sp, #13] ldrb w10, [x9] ldrb w11, [x9] eor w8, w10, w8, lsl #3 and w8, w8, #0x8 and w10, w11, #0xfffffff7 orr w8, w10, w8 strb w8, [x9] mov w0, #0 add sp, sp, #16 ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _USRSTR,1,0 ; @USRSTR .subsections_via_symbols
the_stack_data/152236.c
stack