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 _AAS_MergeAreas ## -- Begin function AAS_MergeAreas .p2align 4, 0x90 _AAS_MergeAreas: ## @AAS_MergeAreas .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 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _Log_Write leaq L_.str.1(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _qprintf xorl %r15d, %r15d jmp LBB0_1 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_1 Depth=1 testl %r14d, %r14d je LBB0_14 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 ## Child Loop BB0_6 Depth 3 movq _tmpaasworld@GOTPCREL(%rip), %rax movq 8(%rax), %r12 testq %r12, %r12 je LBB0_14 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 xorl %r14d, %r14d jmp LBB0_3 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_3 Depth=2 movq 16(%r12), %r12 testq %r12, %r12 je LBB0_13 LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_6 Depth 3 cmpq $0, 8(%r12) jne LBB0_12 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 movq %r12, %rdi callq _AAS_GroundArea testl %eax, %eax je LBB0_12 ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 movq (%r12), %rbx jmp LBB0_6 .p2align 4, 0x90 LBB0_26: ## in Loop: Header=BB0_6 Depth=3 xorl %eax, %eax cmpq %r12, %r13 setne %al movq 16(%rbx), %rcx movq (%rcx,%rax,8), %rbx LBB0_6: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_3 Depth=2 ## => This Inner Loop Header: Depth=3 testq %rbx, %rbx je LBB0_12 ## %bb.7: ## in Loop: Header=BB0_6 Depth=3 movq (%rbx), %r13 testq %r13, %r13 je LBB0_26 ## %bb.8: ## in Loop: Header=BB0_6 Depth=3 movq 8(%rbx), %rdi testq %rdi, %rdi je LBB0_26 ## %bb.9: ## in Loop: Header=BB0_6 Depth=3 cmpq %r12, %r13 cmovneq %r13, %rdi callq _AAS_GroundArea testl %eax, %eax je LBB0_26 ## %bb.10: ## in Loop: Header=BB0_6 Depth=3 movq %rbx, %rdi callq _AAS_TryMergeFaceAreas testq %rax, %rax je LBB0_26 ## %bb.11: ## in Loop: Header=BB0_3 Depth=2 incl %r15d leaq L_.str.2(%rip), %rdi movl %r15d, %esi xorl %eax, %eax callq _qprintf incl %r14d jmp LBB0_12 .p2align 4, 0x90 LBB0_24: ## in Loop: Header=BB0_14 Depth=1 testl %r13d, %r13d je LBB0_25 LBB0_14: ## =>This Loop Header: Depth=1 ## Child Loop BB0_16 Depth 2 ## Child Loop BB0_18 Depth 3 movq _tmpaasworld@GOTPCREL(%rip), %rax movq 8(%rax), %r12 testq %r12, %r12 je LBB0_25 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 xorl %r13d, %r13d jmp LBB0_16 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_16 Depth=2 movq 16(%r12), %r12 testq %r12, %r12 je LBB0_24 LBB0_16: ## Parent Loop BB0_14 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_18 Depth 3 cmpq $0, 8(%r12) jne LBB0_23 ## %bb.17: ## in Loop: Header=BB0_16 Depth=2 movq (%r12), %rbx jmp LBB0_18 .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_18 Depth=3 xorl %eax, %eax cmpq %r12, %r14 setne %al movq 16(%rbx), %rcx movq (%rcx,%rax,8), %rbx LBB0_18: ## Parent Loop BB0_14 Depth=1 ## Parent Loop BB0_16 Depth=2 ## => This Inner Loop Header: Depth=3 testq %rbx, %rbx je LBB0_23 ## %bb.19: ## in Loop: Header=BB0_18 Depth=3 movq (%rbx), %r14 testq %r14, %r14 je LBB0_27 ## %bb.20: ## in Loop: Header=BB0_18 Depth=3 cmpq $0, 8(%rbx) je LBB0_27 ## %bb.21: ## in Loop: Header=BB0_18 Depth=3 movq %rbx, %rdi callq _AAS_TryMergeFaceAreas testq %rax, %rax je LBB0_27 ## %bb.22: ## in Loop: Header=BB0_16 Depth=2 incl %r15d leaq L_.str.2(%rip), %rdi movl %r15d, %esi xorl %eax, %eax callq _qprintf incl %r13d jmp LBB0_23 LBB0_25: leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _qprintf leaq L_.str.4(%rip), %rdi movl %r15d, %esi xorl %eax, %eax callq _Log_Write movq _tmpaasworld@GOTPCREL(%rip), %rax movl (%rax), %edi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _AAS_RefreshMergedTree_r ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "AAS_MergeAreas\r\n" L_.str.1: ## @.str.1 .asciz "%6d areas merged" .comm _tmpaasworld,16,3 ## @tmpaasworld L_.str.2: ## @.str.2 .asciz "\r%6d" L_.str.3: ## @.str.3 .asciz "\n" L_.str.4: ## @.str.4 .asciz "%6d areas merged\r\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _AAS_MergeAreas ; -- Begin function AAS_MergeAreas .p2align 2 _AAS_MergeAreas: ; @AAS_MergeAreas .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _Log_Write mov w8, #1 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _qprintf mov w23, #0 Lloh4: adrp x22, _tmpaasworld@GOTPAGE Lloh5: ldr x22, [x22, _tmpaasworld@GOTPAGEOFF] Lloh6: adrp x19, l_.str.2@PAGE Lloh7: add x19, x19, l_.str.2@PAGEOFF b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 cbz w24, LBB0_14 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ; Child Loop BB0_9 Depth 3 ldr x20, [x22, #8] cbz x20, LBB0_14 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov w24, #0 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=2 ldr x20, [x20, #16] cbz x20, LBB0_1 LBB0_5: ; Parent Loop BB0_2 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_9 Depth 3 ldr x8, [x20, #8] cbnz x8, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 mov x0, x20 bl _AAS_GroundArea cbz w0, LBB0_4 ; %bb.7: ; in Loop: Header=BB0_5 Depth=2 ldr x21, [x20] cbnz x21, LBB0_9 b LBB0_4 LBB0_8: ; in Loop: Header=BB0_9 Depth=3 cmp x25, x20 cset w8, ne ldr x9, [x21, #16] ldr x21, [x9, w8, uxtw #3] cbz x21, LBB0_4 LBB0_9: ; Parent Loop BB0_2 Depth=1 ; Parent Loop BB0_5 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x25, [x21] cbz x25, LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=3 ldr x8, [x21, #8] cbz x8, LBB0_8 ; %bb.11: ; in Loop: Header=BB0_9 Depth=3 cmp x25, x20 csel x0, x8, x25, eq bl _AAS_GroundArea cbz w0, LBB0_8 ; %bb.12: ; in Loop: Header=BB0_9 Depth=3 mov x0, x21 bl _AAS_TryMergeFaceAreas cbz x0, LBB0_8 ; %bb.13: ; in Loop: Header=BB0_5 Depth=2 add w23, w23, #1 str x23, [sp] mov x0, x19 bl _qprintf add w24, w24, #1 b LBB0_4 LBB0_14: Lloh8: adrp x19, l_.str.2@PAGE Lloh9: add x19, x19, l_.str.2@PAGEOFF ; kill: def $w23 killed $w23 killed $x23 def $x23 b LBB0_16 LBB0_15: ; in Loop: Header=BB0_16 Depth=1 cbz w24, LBB0_26 LBB0_16: ; =>This Loop Header: Depth=1 ; Child Loop BB0_19 Depth 2 ; Child Loop BB0_22 Depth 3 ldr x21, [x22, #8] cbz x21, LBB0_26 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 mov w24, #0 b LBB0_19 LBB0_18: ; in Loop: Header=BB0_19 Depth=2 ldr x21, [x21, #16] cbz x21, LBB0_15 LBB0_19: ; Parent Loop BB0_16 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_22 Depth 3 ldr x8, [x21, #8] cbnz x8, LBB0_18 ; %bb.20: ; in Loop: Header=BB0_19 Depth=2 ldr x20, [x21] cbnz x20, LBB0_22 b LBB0_18 LBB0_21: ; in Loop: Header=BB0_22 Depth=3 cmp x25, x21 cset w8, ne ldr x9, [x20, #16] ldr x20, [x9, w8, uxtw #3] cbz x20, LBB0_18 LBB0_22: ; Parent Loop BB0_16 Depth=1 ; Parent Loop BB0_19 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x25, [x20] cbz x25, LBB0_21 ; %bb.23: ; in Loop: Header=BB0_22 Depth=3 ldr x8, [x20, #8] cbz x8, LBB0_21 ; %bb.24: ; in Loop: Header=BB0_22 Depth=3 mov x0, x20 bl _AAS_TryMergeFaceAreas cbz x0, LBB0_21 ; %bb.25: ; in Loop: Header=BB0_19 Depth=2 add w23, w23, #1 str x23, [sp] mov x0, x19 bl _qprintf add w24, w24, #1 b LBB0_18 LBB0_26: Lloh10: adrp x0, l_.str.3@PAGE Lloh11: add x0, x0, l_.str.3@PAGEOFF bl _qprintf ; kill: def $w23 killed $w23 killed $x23 def $x23 str x23, [sp] Lloh12: adrp x0, l_.str.4@PAGE Lloh13: add x0, x0, l_.str.4@PAGEOFF bl _Log_Write ldr w0, [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 b _AAS_RefreshMergedTree_r .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "AAS_MergeAreas\r\n" l_.str.1: ; @.str.1 .asciz "%6d areas merged" .comm _tmpaasworld,16,3 ; @tmpaasworld l_.str.2: ; @.str.2 .asciz "\r%6d" l_.str.3: ; @.str.3 .asciz "\n" l_.str.4: ; @.str.4 .asciz "%6d areas merged\r\n" .subsections_via_symbols
AnghaBench/lab/engine/code/bspc/extr_aas_areamerging.c_AAS_MergeAreas.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function led_classdev_next_name _led_classdev_next_name: ## @led_classdev_next_name .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %r15 movq %rsi, %rdi movq %r15, %rsi callq _strlcpy testq %r12, %r12 je LBB0_4 ## %bb.1: xorl %ebx, %ebx movq _leds_class@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r13), %edi movq %r14, %rsi callq _class_find_device_by_name testq %rax, %rax je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %rdi callq _put_device incl %ebx movq %r14, %rdi movq %r12, %rsi leaq L_.str(%rip), %rdx movq %r15, %rcx movl %ebx, %r8d callq _snprintf cltq cmpq %r12, %rax jb LBB0_2 LBB0_4: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_5: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _leds_class,4,2 ## @leds_class .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s_%u" .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _led_classdev_next_name .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function led_classdev_next_name _led_classdev_next_name: ; @led_classdev_next_name .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 mov x0, x1 mov x1, x21 bl _strlcpy cbz x19, LBB0_4 ; %bb.1: mov w22, #0 Lloh0: adrp x24, _leds_class@GOTPAGE Lloh1: ldr x24, [x24, _leds_class@GOTPAGEOFF] Lloh2: adrp x23, l_.str@PAGE Lloh3: add x23, x23, l_.str@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w0, [x24] mov x1, x20 bl _class_find_device_by_name cbz x0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 bl _put_device add w22, w22, #1 mov x0, x20 mov x1, x19 mov x2, x23 mov x3, x21 mov x4, x22 bl _snprintf ; kill: def $w0 killed $w0 def $x0 sxtw x8, w0 cmp x8, x19 b.lo LBB0_2 LBB0_4: Lloh4: adrp x8, _ENOMEM@GOTPAGE Lloh5: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh6: ldr w8, [x8] neg w22, w8 LBB0_5: 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 AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _leds_class,4,2 ; @leds_class .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s_%u" .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _led_classdev_next_name .subsections_via_symbols
AnghaBench/linux/drivers/leds/extr_led-class.c_led_classdev_next_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_table_value_from_record _get_table_value_from_record: ## @get_table_value_from_record .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 testl %edx, %edx jle LBB0_3 ## %bb.1: movl %edx, %ebx movq %rdi, %r12 cmpl %edx, (%rdi) jl LBB0_3 ## %bb.2: movq %rcx, %r14 movq %rsi, %r15 movq %rsi, %rdi movl %ebx, %esi callq _MSI_RecordIsNull testq %rax, %rax je LBB0_5 LBB0_3: movq _ERROR_FUNCTION_FAILED@GOTPCREL(%rip), %rax LBB0_4: movl (%rax), %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq 16(%r12), %rax leal -1(%rbx), %ecx movl (%rax,%rcx,4), %r13d movl %r13d, -48(%rbp) movl %r13d, %edi callq _MSITYPE_IS_BINARY testq %rax, %rax je LBB0_8 ## %bb.6: movl $1, (%r14) LBB0_7: movq _ERROR_SUCCESS@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_8: movq _MSITYPE_STRING@GOTPCREL(%rip), %rax testl %r13d, (%rax) je LBB0_12 ## %bb.9: leaq -52(%rbp), %rdx movq %r15, %rdi movl %ebx, %esi callq _msi_record_get_string testq %rax, %rax je LBB0_15 ## %bb.10: movq 8(%r12), %rcx movl (%rcx), %edi movl -52(%rbp), %edx movq %rax, %rsi movq %r14, %rcx callq _msi_string2id movq _ERROR_SUCCESS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_7 ## %bb.11: movq _ERROR_NOT_FOUND@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_12: movq 8(%r12), %rdi movq _LONG_STR_BYTES@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -48(%rbp), %rsi callq _bytes_per_column movl %eax, %r12d movq %r15, %rdi movl %ebx, %esi callq _MSI_RecordGetInteger cmpl $2, %r12d jne LBB0_16 ## %bb.13: cmpl $-2147483648, %eax ## imm = 0x80000000 jne LBB0_17 ## %bb.14: movl $32768, (%r14) ## imm = 0x8000 jmp LBB0_7 LBB0_15: movl $0, (%r14) jmp LBB0_7 LBB0_16: addl $-2147483648, %eax ## imm = 0x80000000 movl %eax, (%r14) jmp LBB0_7 LBB0_17: movq %r15, %rdi movl %ebx, %esi callq _MSI_RecordGetInteger ## kill: def $eax killed $eax def $rax leal 32768(%rax), %ecx movl %ecx, (%r14) movswl %ax, %ecx cmpl %eax, %ecx je LBB0_7 ## %bb.18: leaq L_.str(%rip), %rdi movl %ebx, %esi movl %eax, %edx callq _ERR jmp LBB0_3 .cfi_endproc ## -- End function .comm _ERROR_FUNCTION_FAILED,4,2 ## @ERROR_FUNCTION_FAILED .comm _MSITYPE_STRING,4,2 ## @MSITYPE_STRING .comm _ERROR_SUCCESS,4,2 ## @ERROR_SUCCESS .comm _ERROR_NOT_FOUND,4,2 ## @ERROR_NOT_FOUND .comm _LONG_STR_BYTES,4,2 ## @LONG_STR_BYTES .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "field %u value %d out of range\n" .no_dead_strip _get_table_value_from_record .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_table_value_from_record _get_table_value_from_record: ; @get_table_value_from_record .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 subs w23, w2, #1 b.lt LBB0_3 ; %bb.1: mov x20, x2 mov x22, x0 ldr w8, [x0] cmp w8, w2 b.lt LBB0_3 ; %bb.2: mov x19, x3 mov x21, x1 mov x0, x1 mov x1, x20 bl _MSI_RecordIsNull cbz x0, LBB0_6 LBB0_3: Lloh0: adrp x8, _ERROR_FUNCTION_FAILED@GOTPAGE Lloh1: ldr x8, [x8, _ERROR_FUNCTION_FAILED@GOTPAGEOFF] LBB0_4: ldr w0, [x8] LBB0_5: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_6: ldr x8, [x22, #16] ldr w23, [x8, w23, uxtw #2] str w23, [sp, #8] mov x0, x23 bl _MSITYPE_IS_BINARY Lloh2: adrp x24, _ERROR_SUCCESS@GOTPAGE Lloh3: ldr x24, [x24, _ERROR_SUCCESS@GOTPAGEOFF] cbz x0, LBB0_10 ; %bb.7: mov w8, #1 LBB0_8: str w8, [x19] LBB0_9: ldr w0, [x24] b LBB0_5 LBB0_10: Lloh4: adrp x8, _MSITYPE_STRING@GOTPAGE Lloh5: ldr x8, [x8, _MSITYPE_STRING@GOTPAGEOFF] Lloh6: ldr w8, [x8] tst w8, w23 b.eq LBB0_14 ; %bb.11: add x2, sp, #4 mov x0, x21 mov x1, x20 bl _msi_record_get_string cbz x0, LBB0_17 ; %bb.12: mov x1, x0 ldr x8, [x22, #8] ldr w0, [x8] ldr w2, [sp, #4] mov x3, x19 bl _msi_string2id ldr w8, [x24] cmp w0, w8 b.eq LBB0_9 ; %bb.13: Lloh7: adrp x8, _ERROR_NOT_FOUND@GOTPAGE Lloh8: ldr x8, [x8, _ERROR_NOT_FOUND@GOTPAGEOFF] b LBB0_4 LBB0_14: ldr x0, [x22, #8] Lloh9: adrp x8, _LONG_STR_BYTES@GOTPAGE Lloh10: ldr x8, [x8, _LONG_STR_BYTES@GOTPAGEOFF] Lloh11: ldr w2, [x8] add x1, sp, #8 bl _bytes_per_column mov x22, x0 mov x0, x21 mov x1, x20 bl _MSI_RecordGetInteger cmp w22, #2 b.ne LBB0_18 ; %bb.15: mov w8, #-2147483648 cmp w0, w8 b.ne LBB0_19 ; %bb.16: mov w8, #32768 b LBB0_8 LBB0_17: str wzr, [x19] b LBB0_9 LBB0_18: eor w8, w0, #0x80000000 b LBB0_8 LBB0_19: mov x0, x21 mov x1, x20 bl _MSI_RecordGetInteger add w8, w0, #8, lsl #12 ; =32768 str w8, [x19] cmp w0, w0, sxth b.eq LBB0_9 ; %bb.20: mov x2, x0 Lloh12: adrp x0, l_.str@PAGE Lloh13: add x0, x0, l_.str@PAGEOFF mov x1, x20 bl _ERR b LBB0_3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _ERROR_FUNCTION_FAILED,4,2 ; @ERROR_FUNCTION_FAILED .comm _MSITYPE_STRING,4,2 ; @MSITYPE_STRING .comm _ERROR_SUCCESS,4,2 ; @ERROR_SUCCESS .comm _ERROR_NOT_FOUND,4,2 ; @ERROR_NOT_FOUND .comm _LONG_STR_BYTES,4,2 ; @LONG_STR_BYTES .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "field %u value %d out of range\n" .no_dead_strip _get_table_value_from_record .subsections_via_symbols
AnghaBench/reactos/dll/win32/msi/extr_table.c_get_table_value_from_record.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _log_rules ## -- Begin function log_rules .p2align 4, 0x90 _log_rules: ## @log_rules .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testq %rdi, %rdi je LBB0_3 ## %bb.1: movq %rdi, %rbx movq _LOG_INFO@GOTPCREL(%rip), %r15 leaq L_.str(%rip), %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r15), %edi movq 24(%rbx), %rax movl (%rax), %edx movl 20(%rbx), %ecx movl 16(%rbx), %r8d movl 8(%rbx), %eax movl 12(%rbx), %r9d movl %eax, (%rsp) movq %r14, %rsi callq _syslog movq (%rbx), %rbx testq %rbx, %rbx jne LBB0_2 LBB0_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LOG_INFO,4,2 ## @LOG_INFO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " %s r: %d..%d, o: %d, f: %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _log_rules ; -- Begin function log_rules .p2align 2 _log_rules: ; @log_rules .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz x0, LBB0_3 ; %bb.1: mov x19, x0 Lloh0: adrp x21, _LOG_INFO@GOTPAGE Lloh1: ldr x21, [x21, _LOG_INFO@GOTPAGEOFF] Lloh2: adrp x20, l_.str@PAGE Lloh3: add x20, x20, l_.str@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w0, [x21] ldr x8, [x19, #24] ldr w2, [x8] ldp w4, w3, [x19, #16] ldp w6, w5, [x19, #8] mov x1, x20 bl _syslog ldr x19, [x19] cbnz x19, LBB0_2 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _LOG_INFO,4,2 ; @LOG_INFO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " %s r: %d..%d, o: %d, f: %d\n" .subsections_via_symbols
AnghaBench/openwrt/package/network/utils/rssileds/src/extr_rssileds.c_log_rules.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rb_red_parent _rb_red_parent: ## @rb_red_parent .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 .no_dead_strip _rb_red_parent .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rb_red_parent _rb_red_parent: ; @rb_red_parent .cfi_startproc ; %bb.0: ldr x0, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _rb_red_parent .subsections_via_symbols
AnghaBench/linux/lib/extr_rbtree.c_rb_red_parent.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function AStreamSeek _AStreamSeek: ## @AStreamSeek .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rdi popq %rbp jmp _vlc_stream_Seek ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _AStreamSeek .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function AStreamSeek _AStreamSeek: ; @AStreamSeek .cfi_startproc ; %bb.0: ldr x0, [x0] b _vlc_stream_Seek .cfi_endproc ; -- End function .no_dead_strip _AStreamSeek .subsections_via_symbols
AnghaBench/vlc/src/input/extr_access.c_AStreamSeek.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ti_hecc_do_set_mode _ti_hecc_do_set_mode: ## @ti_hecc_do_set_mode .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 $128, %esi jne LBB0_2 ## %bb.1: movq %rdi, %rbx callq _ti_hecc_start movq %rbx, %rdi callq _netif_wake_queue xorl %eax, %eax jmp LBB0_3 LBB0_2: movq _EOPNOTSUPP@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_3: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP .no_dead_strip _ti_hecc_do_set_mode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ti_hecc_do_set_mode _ti_hecc_do_set_mode: ; @ti_hecc_do_set_mode .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cmp w1, #128 b.ne LBB0_2 ; %bb.1: mov x19, x0 bl _ti_hecc_start mov x0, x19 bl _netif_wake_queue mov w0, #0 b LBB0_3 LBB0_2: Lloh0: adrp x8, _EOPNOTSUPP@GOTPAGE Lloh1: ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP .no_dead_strip _ti_hecc_do_set_mode .subsections_via_symbols
AnghaBench/linux/drivers/net/can/extr_ti_hecc.c_ti_hecc_do_set_mode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function e1000_stop_nvm _e1000_stop_nvm: ## @e1000_stop_nvm .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 _E1000_EECD@GOTPCREL(%rip), %rax movl (%rax), %edi callq _rd32 movq (%rbx), %rcx movq _e1000_nvm_eeprom_spi@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_2 ## %bb.1: movq _E1000_EECD_CS@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, -12(%rbp) leaq -12(%rbp), %rsi movq %rbx, %rdi callq _igb_lower_eec_clk LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _E1000_EECD,4,2 ## @E1000_EECD .comm _e1000_nvm_eeprom_spi,8,3 ## @e1000_nvm_eeprom_spi .comm _E1000_EECD_CS,4,2 ## @E1000_EECD_CS .no_dead_strip _e1000_stop_nvm .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function e1000_stop_nvm _e1000_stop_nvm: ; @e1000_stop_nvm .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 Lloh0: adrp x8, _E1000_EECD@GOTPAGE Lloh1: ldr x8, [x8, _E1000_EECD@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _rd32 ldr x8, [x19] Lloh3: adrp x9, _e1000_nvm_eeprom_spi@GOTPAGE Lloh4: ldr x9, [x9, _e1000_nvm_eeprom_spi@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: Lloh6: adrp x8, _E1000_EECD_CS@GOTPAGE Lloh7: ldr x8, [x8, _E1000_EECD_CS@GOTPAGEOFF] Lloh8: ldr w8, [x8] orr w8, w8, w0 str w8, [sp, #12] add x1, sp, #12 mov x0, x19 bl _igb_lower_eec_clk LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _E1000_EECD,4,2 ; @E1000_EECD .comm _e1000_nvm_eeprom_spi,8,3 ; @e1000_nvm_eeprom_spi .comm _E1000_EECD_CS,4,2 ; @E1000_EECD_CS .no_dead_strip _e1000_stop_nvm .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_nvm.c_e1000_stop_nvm.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _eap_server_get_name ## -- Begin function eap_server_get_name .p2align 4, 0x90 _eap_server_get_name: ## @eap_server_get_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 _EAP_VENDOR_IETF@GOTPCREL(%rip), %rax cmpl %edi, (%rax) jne LBB0_3 ## %bb.1: movq _EAP_TYPE_EXPANDED@GOTPCREL(%rip), %rax cmpq %rsi, (%rax) jne LBB0_3 ## %bb.2: leaq L_.str(%rip), %rax popq %rbp retq LBB0_3: movq _eap_methods@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.1(%rip), %rax jmp LBB0_4 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_4 Depth=1 movq 24(%rcx), %rcx LBB0_4: ## =>This Inner Loop Header: Depth=1 testq %rcx, %rcx je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 cmpl %edi, (%rcx) jne LBB0_9 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 cmpq %rsi, 8(%rcx) jne LBB0_9 ## %bb.7: movq 16(%rcx), %rax LBB0_8: popq %rbp retq .cfi_endproc ## -- End function .comm _EAP_VENDOR_IETF,4,2 ## @EAP_VENDOR_IETF .comm _EAP_TYPE_EXPANDED,8,3 ## @EAP_TYPE_EXPANDED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "expanded" .comm _eap_methods,8,3 ## @eap_methods L_.str.1: ## @.str.1 .asciz "unknown" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _eap_server_get_name ; -- Begin function eap_server_get_name .p2align 2 _eap_server_get_name: ; @eap_server_get_name .cfi_startproc ; %bb.0: Lloh0: adrp x9, _EAP_VENDOR_IETF@GOTPAGE Lloh1: ldr x9, [x9, _EAP_VENDOR_IETF@GOTPAGEOFF] Lloh2: ldr w9, [x9] Lloh3: adrp x10, _EAP_TYPE_EXPANDED@GOTPAGE Lloh4: ldr x10, [x10, _EAP_TYPE_EXPANDED@GOTPAGEOFF] Lloh5: ldr x10, [x10] cmp w9, w0 ccmp x10, x1, #0, eq b.eq LBB0_7 ; %bb.1: Lloh6: adrp x9, _eap_methods@GOTPAGE Lloh7: ldr x9, [x9, _eap_methods@GOTPAGEOFF] Lloh8: ldr x9, [x9] cbz x9, LBB0_9 ; %bb.2: mov x8, x0 Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [x9, #24] cbz x9, LBB0_8 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w10, [x9] cmp w10, w8 b.ne LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x10, [x9, #8] cmp x10, x1 b.ne LBB0_3 ; %bb.6: ldr x0, [x9, #16] ret LBB0_7: Lloh11: adrp x0, l_.str@PAGE Lloh12: add x0, x0, l_.str@PAGEOFF LBB0_8: ret LBB0_9: Lloh13: adrp x0, l_.str.1@PAGE Lloh14: add x0, x0, l_.str.1@PAGEOFF ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _EAP_VENDOR_IETF,4,2 ; @EAP_VENDOR_IETF .comm _EAP_TYPE_EXPANDED,8,3 ; @EAP_TYPE_EXPANDED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "expanded" .comm _eap_methods,8,3 ; @eap_methods l_.str.1: ; @.str.1 .asciz "unknown" .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_methods.c_eap_server_get_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rtl92ee_bt_hw_init ## -- Begin function rtl92ee_bt_hw_init .p2align 4, 0x90 _rtl92ee_bt_hw_init: ## @rtl92ee_bt_hw_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 callq _rtl_priv movq %rax, %rbx movq 8(%rax), %rax movq (%rax), %rcx xorl %eax, %eax callq *(%rcx) testq %rax, %rax je LBB0_1 ## %bb.2: movq (%rbx), %rax movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmpq *(%rax) ## TAILCALL LBB0_1: 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 _rtl92ee_bt_hw_init ; -- Begin function rtl92ee_bt_hw_init .p2align 2 _rtl92ee_bt_hw_init: ; @rtl92ee_bt_hw_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 bl _rtl_priv mov x19, x0 ldr x8, [x0, #8] ldr x8, [x8] ldr x8, [x8] blr x8 cbz x0, LBB0_2 ; %bb.1: ldr x8, [x19] ldr x1, [x8] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload br x1 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_hw.c_rtl92ee_bt_hw_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cart_to_polar ## -- Begin function cart_to_polar .p2align 4, 0x90 _cart_to_polar: ## @cart_to_polar .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movq %rsi, %rdi callq _vec3_len movl %eax, %ebx movl %eax, -40(%rbp) movq _EPSILON@GOTPCREL(%rip), %rax movl (%rax), %esi xorps %xmm0, %xmm0 movl %ebx, %edi callq _close_float testq %rax, %rax je LBB0_2 ## %bb.1: leaq -40(%rbp), %rdi callq _vec3_zero jmp LBB0_3 LBB0_2: movl 4(%r15), %eax cltd idivl %ebx movl %eax, %edi callq _asinf movl %eax, -32(%rbp) movl (%r15), %esi movl 8(%r15), %edi callq _atan2f movl %eax, -36(%rbp) LBB0_3: leaq -40(%rbp), %rsi movq %r14, %rdi callq _vec3_copy addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EPSILON,4,2 ## @EPSILON .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cart_to_polar ; -- Begin function cart_to_polar .p2align 2 _cart_to_polar: ; @cart_to_polar .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 mov x0, x1 bl _vec3_len mov x21, x0 str w0, [sp] Lloh0: adrp x8, _EPSILON@GOTPAGE Lloh1: ldr x8, [x8, _EPSILON@GOTPAGEOFF] Lloh2: ldr w1, [x8] movi d0, #0000000000000000 bl _close_float cbz x0, LBB0_2 ; %bb.1: mov x0, sp bl _vec3_zero b LBB0_3 LBB0_2: ldr w8, [x20, #4] sdiv w0, w8, w21 bl _asinf str w0, [sp, #8] ldr w0, [x20, #8] ldr w1, [x20] bl _atan2f str w0, [sp, #4] LBB0_3: mov x1, sp mov x0, x19 bl _vec3_copy ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EPSILON,4,2 ; @EPSILON .subsections_via_symbols
AnghaBench/obs-studio/libobs/graphics/extr_math-extra.c_cart_to_polar.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cx_modem _cx_modem: ## @cx_modem .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 8(%rdi), %rcx testq %rcx, %rcx je LBB0_2 ## %bb.1: movq (%rdi), %rax movq _M_ASYNC@GOTPCREL(%rip), %rdx cmpq (%rdx), %rax jne LBB0_2 ## %bb.3: movq _hz@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, %esi shrl $31, %esi addl %eax, %esi sarl %esi movq _cx_carrier@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rcx, %rdi popq %rbp jmp _callout_reset ## TAILCALL LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .comm _M_ASYNC,8,3 ## @M_ASYNC .comm _hz,4,2 ## @hz .comm _cx_carrier,4,2 ## @cx_carrier .no_dead_strip _cx_modem .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cx_modem _cx_modem: ; @cx_modem .cfi_startproc ; %bb.0: mov x8, x0 ldr x0, [x0, #8] cbz x0, LBB0_3 ; %bb.1: ldr x8, [x8] Lloh0: adrp x9, _M_ASYNC@GOTPAGE Lloh1: ldr x9, [x9, _M_ASYNC@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_3 ; %bb.2: Lloh3: adrp x8, _hz@GOTPAGE Lloh4: ldr x8, [x8, _hz@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmp w8, #0 cinc w8, w8, lt Lloh6: adrp x9, _cx_carrier@GOTPAGE Lloh7: ldr x9, [x9, _cx_carrier@GOTPAGEOFF] asr w1, w8, #1 Lloh8: ldr w2, [x9] mov x3, x0 b _callout_reset LBB0_3: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _M_ASYNC,8,3 ; @M_ASYNC .comm _hz,4,2 ; @hz .comm _cx_carrier,4,2 ; @cx_carrier .no_dead_strip _cx_modem .subsections_via_symbols
AnghaBench/freebsd/sys/dev/cx/extr_if_cx.c_cx_modem.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _os_map_memory ## -- Begin function os_map_memory .p2align 4, 0x90 _os_map_memory: ## @os_map_memory .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %r9d, %r11d movq %rdx, %r9 movl %esi, %r10d testl %r8d, %r8d je LBB0_2 ## %bb.1: movq _PROT_READ@GOTPCREL(%rip), %rax movl (%rax), %r8d LBB0_2: movl 16(%rbp), %eax testl %r11d, %r11d je LBB0_4 ## %bb.3: movq _PROT_WRITE@GOTPCREL(%rip), %rdx movl (%rdx), %r11d LBB0_4: orl %r8d, %r11d testl %eax, %eax je LBB0_6 ## %bb.5: movq _PROT_EXEC@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_6: orl %eax, %r11d movq _MAP_SHARED@GOTPCREL(%rip), %rdx movq _MAP_FIXED@GOTPCREL(%rip), %rax movl (%rax), %eax orl (%rdx), %eax movq %rcx, %rsi movl %r11d, %edx movl %eax, %ecx movl %r10d, %r8d callq _mmap64 movq _MAP_FAILED@GOTPCREL(%rip), %rdx movq _errno@GOTPCREL(%rip), %rsi xorl %edi, %edi xorl %ecx, %ecx subl (%rsi), %ecx cmpq (%rdx), %rax cmovnel %edi, %ecx movl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _PROT_READ,4,2 ## @PROT_READ .comm _PROT_WRITE,4,2 ## @PROT_WRITE .comm _PROT_EXEC,4,2 ## @PROT_EXEC .comm _MAP_SHARED,4,2 ## @MAP_SHARED .comm _MAP_FIXED,4,2 ## @MAP_FIXED .comm _MAP_FAILED,8,3 ## @MAP_FAILED .comm _errno,4,2 ## @errno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _os_map_memory ; -- Begin function os_map_memory .p2align 2 _os_map_memory: ; @os_map_memory .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 x10, x3 mov x8, x2 mov x9, x1 Lloh0: adrp x11, _PROT_READ@GOTPAGE Lloh1: ldr x11, [x11, _PROT_READ@GOTPAGEOFF] Lloh2: ldr w11, [x11] Lloh3: adrp x12, _PROT_WRITE@GOTPAGE Lloh4: ldr x12, [x12, _PROT_WRITE@GOTPAGEOFF] cmp w4, #0 csel w11, wzr, w11, eq Lloh5: ldr w12, [x12] cmp w5, #0 csel w12, wzr, w12, eq Lloh6: adrp x13, _PROT_EXEC@GOTPAGE Lloh7: ldr x13, [x13, _PROT_EXEC@GOTPAGEOFF] orr w11, w12, w11 Lloh8: ldr w12, [x13] cmp w6, #0 csel w12, wzr, w12, eq Lloh9: adrp x13, _MAP_SHARED@GOTPAGE Lloh10: ldr x13, [x13, _MAP_SHARED@GOTPAGEOFF] orr w2, w11, w12 Lloh11: ldr w11, [x13] Lloh12: adrp x12, _MAP_FIXED@GOTPAGE Lloh13: ldr x12, [x12, _MAP_FIXED@GOTPAGEOFF] Lloh14: ldr w12, [x12] orr w3, w12, w11 mov x1, x10 mov x4, x9 mov x5, x8 bl _mmap64 Lloh15: adrp x8, _MAP_FAILED@GOTPAGE Lloh16: ldr x8, [x8, _MAP_FAILED@GOTPAGEOFF] Lloh17: ldr x8, [x8] Lloh18: adrp x9, _errno@GOTPAGE Lloh19: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh20: ldr w9, [x9] cmp x0, x8 csneg w0, wzr, w9, ne ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PROT_READ,4,2 ; @PROT_READ .comm _PROT_WRITE,4,2 ; @PROT_WRITE .comm _PROT_EXEC,4,2 ; @PROT_EXEC .comm _MAP_SHARED,4,2 ; @MAP_SHARED .comm _MAP_FIXED,4,2 ; @MAP_FIXED .comm _MAP_FAILED,8,3 ; @MAP_FAILED .comm _errno,4,2 ; @errno .subsections_via_symbols
AnghaBench/linux/arch/um/os-Linux/extr_process.c_os_map_memory.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function virtio_fs_drain_all_queues _virtio_fs_drain_all_queues: ## @virtio_fs_drain_all_queues .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $0, (%rdi) jle LBB0_3 ## %bb.1: movq %rdi, %r14 xorl %r15d, %r15d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rdi addq %r15, %rdi callq _virtio_fs_drain_queue incq %rbx movslq (%r14), %rax addq $4, %r15 cmpq %rax, %rbx jl LBB0_2 LBB0_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _virtio_fs_drain_all_queues .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function virtio_fs_drain_all_queues _virtio_fs_drain_all_queues: ; @virtio_fs_drain_all_queues .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr w8, [x0] cmp w8, #1 b.lt LBB0_3 ; %bb.1: mov x19, x0 mov x20, #0 mov x21, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] add x0, x8, x20 bl _virtio_fs_drain_queue add x21, x21, #1 ldrsw x8, [x19] add x20, x20, #4 cmp x21, x8 b.lt LBB0_2 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _virtio_fs_drain_all_queues .subsections_via_symbols
AnghaBench/linux/fs/fuse/extr_virtio_fs.c_virtio_fs_drain_all_queues.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dlm_wait_timer_fn _dlm_wait_timer_fn: ## @dlm_wait_timer_fn .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 $4, %rdi movq _jiffies@GOTPCREL(%rip), %rax movq _dlm_config@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx movq _HZ@GOTPCREL(%rip), %rdx movslq (%rdx), %rsi imulq %rcx, %rsi addq (%rax), %rsi callq _mod_timer movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _wake_up ## TAILCALL .cfi_endproc ## -- End function .comm _jiffies,8,3 ## @jiffies .comm _dlm_config,4,2 ## @dlm_config .comm _HZ,4,2 ## @HZ .no_dead_strip _dlm_wait_timer_fn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dlm_wait_timer_fn _dlm_wait_timer_fn: ; @dlm_wait_timer_fn .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, #4 Lloh0: adrp x8, _jiffies@GOTPAGE Lloh1: ldr x8, [x8, _jiffies@GOTPAGEOFF] Lloh2: adrp x9, _dlm_config@GOTPAGE Lloh3: ldr x9, [x9, _dlm_config@GOTPAGEOFF] Lloh4: ldr x8, [x8] Lloh5: ldrsw x9, [x9] Lloh6: adrp x10, _HZ@GOTPAGE Lloh7: ldr x10, [x10, _HZ@GOTPAGEOFF] Lloh8: ldrsw x10, [x10] madd x1, x10, x9, x8 bl _mod_timer mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _wake_up .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .cfi_endproc ; -- End function .comm _jiffies,8,3 ; @jiffies .comm _dlm_config,4,2 ; @dlm_config .comm _HZ,4,2 ; @HZ .no_dead_strip _dlm_wait_timer_fn .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/dlm/extr_recover.c_dlm_wait_timer_fn.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _int_timer_handler ## -- Begin function int_timer_handler .p2align 4, 0x90 _int_timer_handler: ## @int_timer_handler .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 _xthal_get_ccount leaq 8000000(%rax), %rsi movl $1, %edi callq _xthal_set_ccompare movq _int_timer_ctr@GOTPCREL(%rip), %rax incl (%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _int_timer_ctr,4,2 ## @int_timer_ctr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _int_timer_handler ; -- Begin function int_timer_handler .p2align 2 _int_timer_handler: ; @int_timer_handler .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 _xthal_get_ccount add x8, x0, #1953, lsl #12 ; =7999488 add x1, x8, #512 mov w0, #1 bl _xthal_set_ccompare Lloh0: adrp x8, _int_timer_ctr@GOTPAGE Lloh1: ldr x8, [x8, _int_timer_ctr@GOTPAGEOFF] ldr w9, [x8] add w9, w9, #1 str w9, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _int_timer_ctr,4,2 ; @int_timer_ctr .subsections_via_symbols
AnghaBench/esp-idf/components/esp32/test/extr_test_intr_alloc.c_int_timer_handler.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _findSmallest ## -- Begin function findSmallest .p2align 4, 0x90 _findSmallest: ## @findSmallest .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 testl %esi, %esi jle LBB0_1 ## %bb.2: movl _inf(%rip), %edx movl %edx, %r10d negl %r10d movl %esi, %r8d cmpl $1, %esi jne LBB0_4 ## %bb.3: xorl %esi, %esi xorl %eax, %eax jmp LBB0_6 LBB0_1: xorl %eax, %eax jmp LBB0_8 LBB0_4: movl %r8d, %r9d andl $-2, %r9d xorl %esi, %esi xorl %eax, %eax .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl (%rdi,%rsi,4), %ecx movl 4(%rdi,%rsi,4), %r11d cmpl %r10d, %ecx setne %r14b cmpl %edx, %ecx setl %bl testb %bl, %r14b cmovnel %ecx, %edx movl %eax, %ecx cmovnel %esi, %ecx cmpl %r10d, %r11d setne %r14b cmpl %edx, %r11d setl %bl leal 1(%rsi), %eax testb %bl, %r14b cmovnel %r11d, %edx cmovel %ecx, %eax addq $2, %rsi cmpq %r9, %rsi jne LBB0_5 LBB0_6: testb $1, %r8b je LBB0_8 ## %bb.7: movl (%rdi,%rsi,4), %ecx cmpl %edx, %ecx cmovgel %eax, %esi cmpl %r10d, %ecx cmovel %eax, %esi movl %esi, %eax LBB0_8: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _abso ## -- Begin function abso .p2align 4, 0x90 _abso: ## @abso .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax negl %eax cmovsl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _findPos ## -- Begin function findPos .p2align 4, 0x90 _findPos: ## @findPos .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx .cfi_offset %rbx, -24 movl %edx, %eax ## kill: def $esi killed $esi def $rsi xorl %r8d, %r8d subl _inf(%rip), %r8d leal -1(%rsi), %r9d movl %ecx, %r10d negl %r10d cmovsl %ecx, %r10d incl %r10d testl %edx, %edx cmovsl %r9d, %eax cltd idivl %esi movslq %edx, %rax xorl %r11d, %r11d cmpl %r8d, (%rdi,%rax,4) setne %r11b cmpl %r11d, %r10d je LBB2_3 ## %bb.1: sarl $31, %ecx orl $1, %ecx .p2align 4, 0x90 LBB2_2: ## =>This Inner Loop Header: Depth=1 addl %ecx, %edx cmovsl %r9d, %edx movl %edx, %eax cltd idivl %esi movslq %edx, %rax xorl %ebx, %ebx cmpl %r8d, (%rdi,%rax,4) setne %bl addl %ebx, %r11d cmpl %r10d, %r11d jne LBB2_2 LBB2_3: movl %edx, %eax popq %rbx 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 %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ecx movl %esi, %r13d movq %rdi, %r12 testl %esi, %esi jle LBB3_1 ## %bb.2: movl _inf(%rip), %edx movl %edx, %r10d negl %r10d movl %r13d, %r8d cmpl $1, %r13d jne LBB3_4 ## %bb.3: xorl %esi, %esi xorl %eax, %eax testb $1, %r8b jne LBB3_8 jmp LBB3_9 LBB3_1: xorl %eax, %eax jmp LBB3_9 LBB3_4: movq %rcx, %r14 movl %r8d, %r9d andl $-2, %r9d xorl %esi, %esi xorl %eax, %eax .p2align 4, 0x90 LBB3_5: ## =>This Inner Loop Header: Depth=1 movl (%r12,%rsi,4), %ebx movl 4(%r12,%rsi,4), %edi cmpl %r10d, %ebx setne %r11b cmpl %edx, %ebx setl %cl testb %cl, %r11b cmovnel %ebx, %edx movl %eax, %ecx cmovnel %esi, %ecx cmpl %r10d, %edi setne %r11b cmpl %edx, %edi setl %bl leal 1(%rsi), %eax testb %bl, %r11b cmovnel %edi, %edx cmovel %ecx, %eax addq $2, %rsi cmpq %r9, %rsi jne LBB3_5 ## %bb.6: movq %r14, %rcx testb $1, %r8b je LBB3_9 LBB3_8: movl (%r12,%rsi,4), %edi cmpl %edx, %edi cmovgel %eax, %esi cmpl %r10d, %edi cmovel %eax, %esi movl %esi, %eax LBB3_9: testl %ecx, %ecx jle LBB3_14 ## %bb.10: cltd idivl %r13d movl %edx, %ebx leal -1(%rcx), %eax movl %eax, -44(%rbp) ## 4-byte Spill xorl %r14d, %r14d jmp LBB3_11 .p2align 4, 0x90 LBB3_13: ## in Loop: Header=BB3_11 Depth=1 incl %ebx cmpl %ecx, %r14d jge LBB3_14 LBB3_11: ## =>This Inner Loop Header: Depth=1 movl %ebx, %eax cltd idivl %r13d movl %edx, %ebx movslq %edx, %rax movl (%r12,%rax,4), %esi movl _inf(%rip), %eax addl %esi, %eax je LBB3_13 ## %bb.12: ## in Loop: Header=BB3_11 Depth=1 leaq L_.str(%rip), %rdi xorl %eax, %eax movq %rcx, %r15 callq _printf cmpl -44(%rbp), %r14d ## 4-byte Folded Reload movl $10, %edi movl $32, %eax cmovll %eax, %edi callq _putchar movq %r15, %rcx incl %r14d jmp LBB3_13 LBB3_14: addq $8, %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 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str.3(%rip), %rdi leaq -52(%rbp), %rsi leaq -60(%rbp), %rdx xorl %eax, %eax callq _scanf movq %rsp, -80(%rbp) ## 8-byte Spill movl -52(%rbp), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r13 cmpl $0, -52(%rbp) jle LBB4_15 ## %bb.1: leaq L_.str(%rip), %r14 movq %r13, %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB4_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _scanf incq %rbx movslq -52(%rbp), %rax addq $4, %r15 cmpq %rax, %rbx jl LBB4_2 ## %bb.3: movl %eax, %r15d testl %r15d, %r15d jle LBB4_15 ## %bb.4: movl _inf(%rip), %r10d movl %r10d, %r9d negl %r9d cmpl $1, %r15d jne LBB4_6 ## %bb.5: xorl %esi, %esi xorl %eax, %eax movl %r10d, %edi jmp LBB4_8 LBB4_6: movl %r15d, %r8d andl $-2, %r8d xorl %esi, %esi xorl %eax, %eax movl %r10d, %edi .p2align 4, 0x90 LBB4_7: ## =>This Inner Loop Header: Depth=1 movl (%r13,%rsi,4), %ebx movl 4(%r13,%rsi,4), %edx cmpl %r9d, %ebx setne %r11b cmpl %edi, %ebx setl %cl testb %cl, %r11b cmovnel %ebx, %edi movl %eax, %ecx cmovnel %esi, %ecx cmpl %r9d, %edx setne %r11b cmpl %edi, %edx setl %bl leal 1(%rsi), %eax testb %bl, %r11b cmovnel %edx, %edi cmovel %ecx, %eax addq $2, %rsi cmpq %r8, %rsi jne LBB4_7 LBB4_8: testb $1, %r15b je LBB4_10 ## %bb.9: movl (%r13,%rsi,4), %ecx cmpl %edi, %ecx cmovgel %eax, %esi cmpl %r9d, %ecx cmovel %eax, %esi movl %esi, %eax LBB4_10: cltd idivl %r15d movl %edx, %ebx leal -1(%r15), %r12d xorl %r14d, %r14d .p2align 4, 0x90 LBB4_11: ## =>This Inner Loop Header: Depth=1 movl %ebx, %eax cltd idivl %r15d movl %edx, %ebx movslq %edx, %rax movl (%r13,%rax,4), %esi addl %esi, %r10d je LBB4_13 ## %bb.12: ## in Loop: Header=BB4_11 Depth=1 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf cmpl %r12d, %r14d movl $10, %edi movl $32, %eax cmovll %eax, %edi callq _putchar incl %r14d LBB4_13: ## in Loop: Header=BB4_11 Depth=1 cmpl %r15d, %r14d jge LBB4_15 ## %bb.14: ## in Loop: Header=BB4_11 Depth=1 incl %ebx movl _inf(%rip), %r10d jmp LBB4_11 LBB4_15: cmpl $0, -60(%rbp) jle LBB4_48 ## %bb.16: xorl %r14d, %r14d jmp LBB4_17 .p2align 4, 0x90 LBB4_47: ## in Loop: Header=BB4_17 Depth=1 movl -64(%rbp), %r14d ## 4-byte Reload incl %r14d cmpl -60(%rbp), %r14d jge LBB4_48 LBB4_17: ## =>This Loop Header: Depth=1 ## Child Loop BB4_22 Depth 2 ## Child Loop BB4_28 Depth 2 ## Child Loop BB4_30 Depth 2 ## Child Loop BB4_38 Depth 2 ## Child Loop BB4_43 Depth 2 leaq L_.str(%rip), %rdi leaq -56(%rbp), %rsi xorl %eax, %eax callq _scanf movl -52(%rbp), %r12d movl _inf(%rip), %r8d movl %r8d, %r11d negl %r11d testl %r12d, %r12d jle LBB4_18 ## %bb.19: ## in Loop: Header=BB4_17 Depth=1 cmpl $1, %r12d jne LBB4_21 ## %bb.20: ## in Loop: Header=BB4_17 Depth=1 xorl %esi, %esi xorl %eax, %eax movl %r8d, %edx jmp LBB4_23 .p2align 4, 0x90 LBB4_18: ## in Loop: Header=BB4_17 Depth=1 movl -56(%rbp), %ebx leal -1(%r12), %r9d movl %ebx, %ecx negl %ecx cmovsl %ebx, %ecx xorl %eax, %eax jmp LBB4_26 .p2align 4, 0x90 LBB4_21: ## in Loop: Header=BB4_17 Depth=1 movl %r12d, %r9d andl $-2, %r9d xorl %esi, %esi xorl %eax, %eax movl %r8d, %edx .p2align 4, 0x90 LBB4_22: ## Parent Loop BB4_17 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r13,%rsi,4), %ebx movl 4(%r13,%rsi,4), %edi cmpl %r11d, %ebx setne %r10b cmpl %edx, %ebx setl %cl testb %cl, %r10b cmovnel %ebx, %edx movl %eax, %ecx cmovnel %esi, %ecx cmpl %r11d, %edi setne %r10b cmpl %edx, %edi setl %bl leal 1(%rsi), %eax testb %bl, %r10b cmovnel %edi, %edx cmovel %ecx, %eax addq $2, %rsi cmpq %r9, %rsi jne LBB4_22 LBB4_23: ## in Loop: Header=BB4_17 Depth=1 testb $1, %r12b je LBB4_25 ## %bb.24: ## in Loop: Header=BB4_17 Depth=1 movl (%r13,%rsi,4), %ecx cmpl %edx, %ecx cmovgel %eax, %esi cmpl %r11d, %ecx cmovel %eax, %esi movl %esi, %eax LBB4_25: ## in Loop: Header=BB4_17 Depth=1 movl -56(%rbp), %ebx movl %ebx, %ecx negl %ecx cmovsl %ebx, %ecx leal -1(%r12), %r9d testl %eax, %eax cmovsl %r9d, %eax LBB4_26: ## in Loop: Header=BB4_17 Depth=1 incl %ecx cltd idivl %r12d movslq %edx, %rax xorl %edi, %edi cmpl %r11d, (%r13,%rax,4) setne %dil cmpl %edi, %ecx je LBB4_29 ## %bb.27: ## in Loop: Header=BB4_17 Depth=1 sarl $31, %ebx orl $1, %ebx .p2align 4, 0x90 LBB4_28: ## Parent Loop BB4_17 Depth=1 ## => This Inner Loop Header: Depth=2 addl %ebx, %edx cmovsl %r9d, %edx movl %edx, %eax cltd idivl %r12d movslq %edx, %rax xorl %esi, %esi cmpl %r11d, (%r13,%rax,4) setne %sil addl %esi, %edi cmpl %ecx, %edi jne LBB4_28 LBB4_29: ## in Loop: Header=BB4_17 Depth=1 movl %edx, %eax cltd idivl %r12d movl %edx, %r9d xorl %edi, %edi xorl %ebx, %ebx movl %edx, %eax jmp LBB4_30 .p2align 4, 0x90 LBB4_32: ## in Loop: Header=BB4_30 Depth=2 incl %eax cmpl $2, %ebx jge LBB4_33 LBB4_30: ## Parent Loop BB4_17 Depth=1 ## => This Inner Loop Header: Depth=2 cltd idivl %r12d movl %edx, %eax movslq %edx, %rdx movl (%r13,%rdx,4), %ecx cmpl %r11d, %ecx je LBB4_32 ## %bb.31: ## in Loop: Header=BB4_30 Depth=2 addl %ecx, %edi movl %r11d, (%r13,%rdx,4) incl %ebx jmp LBB4_32 .p2align 4, 0x90 LBB4_33: ## in Loop: Header=BB4_17 Depth=1 movl %r14d, %r15d notl %r15d addl %r12d, %r15d movslq %r9d, %rax movl %edi, (%r13,%rax,4) testl %r12d, %r12d movl %r14d, -64(%rbp) ## 4-byte Spill jle LBB4_34 ## %bb.35: ## in Loop: Header=BB4_17 Depth=1 cmpl $1, %r12d jne LBB4_37 ## %bb.36: ## in Loop: Header=BB4_17 Depth=1 xorl %ecx, %ecx xorl %eax, %eax movl %r8d, %edx jmp LBB4_39 .p2align 4, 0x90 LBB4_34: ## in Loop: Header=BB4_17 Depth=1 xorl %eax, %eax jmp LBB4_41 .p2align 4, 0x90 LBB4_37: ## in Loop: Header=BB4_17 Depth=1 movl %r12d, %r10d andl $-2, %r10d xorl %ecx, %ecx xorl %eax, %eax movl %r8d, %edx .p2align 4, 0x90 LBB4_38: ## Parent Loop BB4_17 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r13,%rcx,4), %esi movl 4(%r13,%rcx,4), %edi cmpl %r11d, %esi setne %r9b cmpl %edx, %esi setl %bl testb %bl, %r9b cmovnel %esi, %edx movl %eax, %esi cmovnel %ecx, %esi cmpl %r11d, %edi setne %r9b cmpl %edx, %edi setl %bl leal 1(%rcx), %eax testb %bl, %r9b cmovnel %edi, %edx cmovel %esi, %eax addq $2, %rcx cmpq %r10, %rcx jne LBB4_38 LBB4_39: ## in Loop: Header=BB4_17 Depth=1 testb $1, %r12b je LBB4_41 ## %bb.40: ## in Loop: Header=BB4_17 Depth=1 movl (%r13,%rcx,4), %esi cmpl %edx, %esi cmovgel %eax, %ecx cmpl %r11d, %esi cmovel %eax, %ecx movl %ecx, %eax LBB4_41: ## in Loop: Header=BB4_17 Depth=1 testl %r15d, %r15d jle LBB4_47 ## %bb.42: ## in Loop: Header=BB4_17 Depth=1 cltd idivl %r12d movl %edx, %ebx leal -1(%r15), %eax movl %eax, -68(%rbp) ## 4-byte Spill xorl %r14d, %r14d .p2align 4, 0x90 LBB4_43: ## Parent Loop BB4_17 Depth=1 ## => This Inner Loop Header: Depth=2 movl %ebx, %eax cltd idivl %r12d movl %edx, %ebx movslq %edx, %rax movl (%r13,%rax,4), %esi addl %esi, %r8d je LBB4_45 ## %bb.44: ## in Loop: Header=BB4_43 Depth=2 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf cmpl -68(%rbp), %r14d ## 4-byte Folded Reload movl $10, %edi movl $32, %eax cmovll %eax, %edi callq _putchar incl %r14d LBB4_45: ## in Loop: Header=BB4_43 Depth=2 cmpl %r15d, %r14d jge LBB4_47 ## %bb.46: ## in Loop: Header=BB4_43 Depth=2 incl %ebx movl _inf(%rip), %r8d jmp LBB4_43 LBB4_48: movq -80(%rbp), %rsp ## 8-byte Reload movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB4_50 ## %bb.49: xorl %eax, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB4_50: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __DATA,__data .globl _inf ## @inf .p2align 2 _inf: .long 10000000 ## 0x989680 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.3: ## @.str.3 .asciz "%d %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _findSmallest ; -- Begin function findSmallest .p2align 2 _findSmallest: ; @findSmallest .cfi_startproc ; %bb.0: cmp w1, #1 b.lt LBB0_4 ; %bb.1: mov x8, x0 mov x9, #0 mov w0, #0 Lloh0: adrp x10, _inf@PAGE Lloh1: ldr w10, [x10, _inf@PAGEOFF] neg w11, w10 mov w12, w1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w13, [x8, x9, lsl #2] cmp w13, w11 cset w14, ne cmp w13, w10 cset w15, lt tst w14, w15 csel w10, w13, w10, ne csel w0, w9, w0, ne add x9, x9, #1 cmp x12, x9 b.ne LBB0_2 ; %bb.3: ret LBB0_4: mov w0, #0 ret .loh AdrpLdr Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _abso ; -- Begin function abso .p2align 2 _abso: ; @abso .cfi_startproc ; %bb.0: cmp w0, #0 cneg w0, w0, mi ret .cfi_endproc ; -- End function .globl _findPos ; -- Begin function findPos .p2align 2 _findPos: ; @findPos .cfi_startproc ; %bb.0: sub w9, w1, #1 Lloh2: adrp x8, _inf@PAGE Lloh3: ldr w12, [x8, _inf@PAGEOFF] cmp w3, #0 cneg w8, w3, mi add w10, w8, #1 cmp w2, #0 csel w8, w9, w2, lt sdiv w11, w8, w1 msub w8, w11, w1, w8 ldr w11, [x0, w8, sxtw #2] cmn w11, w12 cset w11, ne cmp w10, w11 b.eq LBB2_3 ; %bb.1: neg w12, w12 asr w13, w3, #31 orr w13, w13, #0x1 LBB2_2: ; =>This Inner Loop Header: Depth=1 add w8, w8, w13 cmp w8, #0 csel w8, w9, w8, lt sdiv w14, w8, w1 msub w8, w14, w1, w8 ldr w14, [x0, w8, sxtw #2] cmp w14, w12 cinc w11, w11, ne cmp w11, w10 b.ne LBB2_2 LBB2_3: mov x0, x8 ret .loh AdrpLdr Lloh2, Lloh3 .cfi_endproc ; -- End function .globl _printArray ; -- Begin function printArray .p2align 2 _printArray: ; @printArray .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x2 mov x20, x1 mov x21, x0 adrp x23, _inf@PAGE cmp w1, #1 b.lt LBB3_4 ; %bb.1: mov x9, #0 mov w8, #0 ldr w10, [x23, _inf@PAGEOFF] neg w11, w10 mov w12, w20 LBB3_2: ; =>This Inner Loop Header: Depth=1 ldr w13, [x21, x9, lsl #2] cmp w13, w11 cset w14, ne cmp w13, w10 cset w15, lt tst w14, w15 csel w10, w13, w10, ne csel w8, w9, w8, ne add x9, x9, #1 cmp x12, x9 b.ne LBB3_2 ; %bb.3: subs w24, w19, #1 b.ge LBB3_5 b LBB3_9 LBB3_4: mov w8, #0 subs w24, w19, #1 b.lt LBB3_9 LBB3_5: mov w25, #0 sdiv w9, w8, w20 msub w8, w9, w20, w8 Lloh4: adrp x22, l_.str@PAGE Lloh5: add x22, x22, l_.str@PAGEOFF mov w26, #10 mov w27, #32 b LBB3_7 LBB3_6: ; in Loop: Header=BB3_7 Depth=1 add w8, w28, #1 cmp w25, w19 b.ge LBB3_9 LBB3_7: ; =>This Inner Loop Header: Depth=1 sdiv w9, w8, w20 msub w28, w9, w20, w8 ldr w8, [x21, w28, sxtw #2] ldr w9, [x23, _inf@PAGEOFF] cmn w8, w9 b.eq LBB3_6 ; %bb.8: ; in Loop: Header=BB3_7 Depth=1 str x8, [sp] mov x0, x22 bl _printf cmp w25, w24 csel w0, w27, w26, lt bl _putchar add w25, w25, #1 b LBB3_6 LBB3_9: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .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 sub sp, sp, #32 Lloh6: adrp x8, ___stack_chk_guard@GOTPAGE Lloh7: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh8: ldr x8, [x8] stur x8, [x29, #-88] sub x8, x29, #96 sub x9, x29, #92 stp x9, x8, [sp, #-16]! Lloh9: adrp x0, l_.str.3@PAGE Lloh10: add x0, x0, l_.str.3@PAGEOFF bl _scanf add sp, sp, #16 mov x8, sp stur x8, [x29, #-112] ; 8-byte Folded Spill ldur w8, [x29, #-92] lsl x8, x8, #2 mov x9, x8 Lloh11: adrp x16, ___chkstk_darwin@GOTPAGE Lloh12: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x21, x9, x8 mov sp, x21 ldur w8, [x29, #-92] adrp x22, _inf@PAGE cmp w8, #1 b.lt LBB4_11 ; %bb.1: mov x20, #0 Lloh13: adrp x19, l_.str@PAGE Lloh14: add x19, x19, l_.str@PAGEOFF mov x23, x21 LBB4_2: ; =>This Inner Loop Header: Depth=1 str x23, [sp, #-16]! mov x0, x19 bl _scanf add sp, sp, #16 add x20, x20, #1 ldursw x8, [x29, #-92] add x23, x23, #4 cmp x20, x8 b.lt LBB4_2 ; %bb.3: and x23, x8, #0xffffffff cmp w23, #1 b.lt LBB4_11 ; %bb.4: mov x10, #0 mov w9, #0 ldr w8, [x22, _inf@PAGEOFF] neg w11, w8 mov x12, x8 LBB4_5: ; =>This Inner Loop Header: Depth=1 ldr w13, [x21, x10, lsl #2] cmp w13, w11 cset w14, ne cmp w13, w12 cset w15, lt tst w14, w15 csel w12, w13, w12, ne csel w9, w10, w9, ne add x10, x10, #1 cmp x23, x10 b.ne LBB4_5 ; %bb.6: mov w24, #0 sdiv w10, w9, w23 msub w9, w10, w23, w9 sub w20, w23, #1 Lloh15: adrp x19, l_.str@PAGE Lloh16: add x19, x19, l_.str@PAGEOFF mov w25, #10 mov w26, #32 LBB4_7: ; =>This Inner Loop Header: Depth=1 sdiv w10, w9, w23 msub w27, w10, w23, w9 ldr w9, [x21, w27, sxtw #2] cmn w9, w8 b.eq LBB4_9 ; %bb.8: ; in Loop: Header=BB4_7 Depth=1 str x9, [sp, #-16]! mov x0, x19 bl _printf add sp, sp, #16 cmp w24, w20 csel w0, w26, w25, lt bl _putchar add w24, w24, #1 LBB4_9: ; in Loop: Header=BB4_7 Depth=1 cmp w24, w23 b.ge LBB4_11 ; %bb.10: ; in Loop: Header=BB4_7 Depth=1 add w9, w27, #1 ldr w8, [x22, _inf@PAGEOFF] b LBB4_7 LBB4_11: ldur w8, [x29, #-96] cmp w8, #1 b.lt LBB4_36 ; %bb.12: mov w23, #0 mov w26, #32 Lloh17: adrp x19, l_.str@PAGE Lloh18: add x19, x19, l_.str@PAGEOFF b LBB4_14 LBB4_13: ; in Loop: Header=BB4_14 Depth=1 add w23, w23, #1 ldur w8, [x29, #-96] cmp w23, w8 b.ge LBB4_36 LBB4_14: ; =>This Loop Header: Depth=1 ; Child Loop BB4_16 Depth 2 ; Child Loop BB4_21 Depth 2 ; Child Loop BB4_24 Depth 2 ; Child Loop BB4_28 Depth 2 ; Child Loop BB4_32 Depth 2 sub x8, x29, #100 str x8, [sp, #-16]! mov x0, x19 bl _scanf add sp, sp, #16 ldur w27, [x29, #-92] ldr w8, [x22, _inf@PAGEOFF] neg w9, w8 cmp w27, #0 b.le LBB4_18 ; %bb.15: ; in Loop: Header=BB4_14 Depth=1 mov x10, #0 mov w12, #0 mov x11, x8 LBB4_16: ; Parent Loop BB4_14 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w13, [x21, x10, lsl #2] cmp w13, w9 cset w14, ne cmp w13, w11 cset w15, lt tst w14, w15 csel w11, w13, w11, ne csel w12, w10, w12, ne add x10, x10, #1 cmp x27, x10 b.ne LBB4_16 ; %bb.17: ; in Loop: Header=BB4_14 Depth=1 ldur w11, [x29, #-100] sub w10, w27, #1 cmp w11, #0 cneg w13, w11, mi cmp w12, #0 csel w12, w10, w12, lt b LBB4_19 LBB4_18: ; in Loop: Header=BB4_14 Depth=1 mov w12, #0 ldur w11, [x29, #-100] sub w10, w27, #1 cmp w11, #0 cneg w13, w11, mi LBB4_19: ; in Loop: Header=BB4_14 Depth=1 add w13, w13, #1 sdiv w14, w12, w27 msub w12, w14, w27, w12 ldr w14, [x21, w12, sxtw #2] cmp w14, w9 cset w14, ne cmp w13, w14 b.eq LBB4_22 ; %bb.20: ; in Loop: Header=BB4_14 Depth=1 asr w11, w11, #31 orr w11, w11, #0x1 LBB4_21: ; Parent Loop BB4_14 Depth=1 ; => This Inner Loop Header: Depth=2 add w12, w12, w11 cmp w12, #0 csel w12, w10, w12, lt sdiv w15, w12, w27 msub w12, w15, w27, w12 ldr w15, [x21, w12, sxtw #2] cmp w15, w9 cinc w14, w14, ne cmp w14, w13 b.ne LBB4_21 LBB4_22: ; in Loop: Header=BB4_14 Depth=1 mov w10, #0 mov w11, #0 sdiv w13, w12, w27 msub w12, w13, w27, w12 mov x13, x12 b LBB4_24 LBB4_23: ; in Loop: Header=BB4_24 Depth=2 add w13, w13, #1 cmp w11, #2 b.ge LBB4_26 LBB4_24: ; Parent Loop BB4_14 Depth=1 ; => This Inner Loop Header: Depth=2 sdiv w14, w13, w27 msub w14, w14, w27, w13 sxtw x13, w14 ldr w14, [x21, w14, sxtw #2] cmp w14, w9 b.eq LBB4_23 ; %bb.25: ; in Loop: Header=BB4_24 Depth=2 add w10, w14, w10 str w9, [x21, x13, lsl #2] add w11, w11, #1 b LBB4_23 LBB4_26: ; in Loop: Header=BB4_14 Depth=1 str w10, [x21, w12, sxtw #2] cmp w27, #1 b.lt LBB4_29 ; %bb.27: ; in Loop: Header=BB4_14 Depth=1 mov x11, #0 mov w10, #0 mov x12, x8 LBB4_28: ; Parent Loop BB4_14 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w13, [x21, x11, lsl #2] cmp w13, w9 cset w14, ne cmp w13, w12 cset w15, lt tst w14, w15 csel w12, w13, w12, ne csel w10, w11, w10, ne add x11, x11, #1 cmp x27, x11 b.ne LBB4_28 b LBB4_30 LBB4_29: ; in Loop: Header=BB4_14 Depth=1 mov w10, #0 LBB4_30: ; in Loop: Header=BB4_14 Depth=1 mvn w9, w23 add w28, w27, w9 subs w20, w28, #1 b.lt LBB4_13 ; %bb.31: ; in Loop: Header=BB4_14 Depth=1 mov w24, #0 sdiv w9, w10, w27 msub w9, w9, w27, w10 LBB4_32: ; Parent Loop BB4_14 Depth=1 ; => This Inner Loop Header: Depth=2 sdiv w10, w9, w27 msub w25, w10, w27, w9 ldr w9, [x21, w25, sxtw #2] cmn w9, w8 b.eq LBB4_34 ; %bb.33: ; in Loop: Header=BB4_32 Depth=2 str x9, [sp, #-16]! mov x0, x19 bl _printf add sp, sp, #16 cmp w24, w20 mov w8, #10 csel w0, w26, w8, lt bl _putchar add w24, w24, #1 LBB4_34: ; in Loop: Header=BB4_32 Depth=2 cmp w24, w28 b.ge LBB4_13 ; %bb.35: ; in Loop: Header=BB4_32 Depth=2 add w9, w25, #1 ldr w8, [x22, _inf@PAGEOFF] b LBB4_32 LBB4_36: ldur x8, [x29, #-112] ; 8-byte Folded Reload mov sp, x8 ldur x8, [x29, #-88] Lloh19: adrp x9, ___stack_chk_guard@GOTPAGE Lloh20: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh21: ldr x9, [x9] cmp x9, x8 b.ne LBB4_38 ; %bb.37: mov w0, #0 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 LBB4_38: bl ___stack_chk_fail .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .section __DATA,__data .globl _inf ; @inf .p2align 2 _inf: .long 10000000 ; 0x989680 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.3: ; @.str.3 .asciz "%d %d" .subsections_via_symbols
the_stack_data/168893535.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rbx leaq -16(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf leaq -12(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf movl -16(%rbp), %eax movl -12(%rbp), %esi cmpl %esi, %eax cmovll %eax, %esi leaq L_.str.3(%rip), %rbx movq %rbx, %rdi xorl %eax, %eax callq _printf movl -16(%rbp), %eax movl -12(%rbp), %esi cmpl %esi, %eax cmovgl %eax, %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -12(%rbp), %esi imull -16(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _minimum ## -- Begin function minimum .p2align 4, 0x90 _minimum: ## @minimum .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, %eax cmpl %esi, %edi cmovll %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _maximum ## -- Begin function maximum .p2align 4, 0x90 _maximum: ## @maximum .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, %eax cmpl %esi, %edi cmovgl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _multiply ## -- Begin function multiply .p2align 4, 0x90 _multiply: ## @multiply .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax imull %esi, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter a value for no 1 : " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "Enter a value for no 2 : " L_.str.3: ## @.str.3 .asciz "%d " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf add x8, sp, #12 str x8, [sp] Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _scanf Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf add x8, sp, #8 str x8, [sp] mov x0, x19 bl _scanf ldp w9, w8, [sp, #8] cmp w8, w9 csel w8, w8, w9, lt str x8, [sp] Lloh6: adrp x19, l_.str.3@PAGE Lloh7: add x19, x19, l_.str.3@PAGEOFF mov x0, x19 bl _printf ldp w9, w8, [sp, #8] cmp w8, w9 csel w8, w8, w9, gt str x8, [sp] mov x0, x19 bl _printf ldp w9, w8, [sp, #8] mul w8, w9, w8 str x8, [sp] mov x0, x19 bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _minimum ; -- Begin function minimum .p2align 2 _minimum: ; @minimum .cfi_startproc ; %bb.0: cmp w0, w1 csel w0, w0, w1, lt ret .cfi_endproc ; -- End function .globl _maximum ; -- Begin function maximum .p2align 2 _maximum: ; @maximum .cfi_startproc ; %bb.0: cmp w0, w1 csel w0, w0, w1, gt ret .cfi_endproc ; -- End function .globl _multiply ; -- Begin function multiply .p2align 2 _multiply: ; @multiply .cfi_startproc ; %bb.0: mul w0, w1, w0 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter a value for no 1 : " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Enter a value for no 2 : " l_.str.3: ; @.str.3 .asciz "%d " .subsections_via_symbols
the_stack_data/200362.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function create_session _create_session: ## @create_session .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r14 movq %rcx, %rbx movl %edx, %r12d movl %esi, %r15d movl %edi, %r13d leaq -72(%rbp), %rdi xorl %esi, %esi movl $32, %edx callq _memset movl %r15d, -72(%rbp) movq %rbx, -48(%rbp) movq %r14, -64(%rbp) movl %r12d, -56(%rbp) movq _CIOCGSESSION2@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r13d, %edi leaq -72(%rbp), %rdx callq _ioctl movq %rax, %rbx shrq $63, %rbx xorl $1, %ebx movq _errno@GOTPCREL(%rip), %rax movl (%rax), %r12d movl %r12d, %edi callq _strerror leaq L_.str(%rip), %rsi movl %ebx, %edi movl %r15d, %edx movq %r14, %rcx movl %r12d, %r8d movl %eax, %r9d callq _ATF_REQUIRE_MSG movl -52(%rbp), %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CIOCGSESSION2,4,2 ## @CIOCGSESSION2 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "alg %d keylen %zu, errno=%d (%s)" .comm _errno,4,2 ## @errno .no_dead_strip _create_session .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function create_session _create_session: ; @create_session .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x4 mov x20, x3 mov x21, x2 mov x22, x1 mov x23, x0 mov x0, sp mov w1, #0 mov w2, #32 bl _memset str w22, [sp] str x20, [sp, #24] str x19, [sp, #8] str w21, [sp, #16] Lloh0: adrp x8, _CIOCGSESSION2@GOTPAGE Lloh1: ldr x8, [x8, _CIOCGSESSION2@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x2, sp mov x0, x23 bl _ioctl lsr x8, x0, #63 eor w20, w8, #0x1 Lloh3: adrp x8, _errno@GOTPAGE Lloh4: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh5: ldr w21, [x8] mov x0, x21 bl _strerror mov x5, x0 Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF mov x0, x20 mov x2, x22 mov x3, x19 mov x4, x21 bl _ATF_REQUIRE_MSG ldr w0, [sp, #20] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CIOCGSESSION2,4,2 ; @CIOCGSESSION2 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "alg %d keylen %zu, errno=%d (%s)" .comm _errno,4,2 ; @errno .no_dead_strip _create_session .subsections_via_symbols
AnghaBench/freebsd/tests/sys/opencrypto/extr_blake2_test.c_create_session.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function blink_timeout _blink_timeout: ## @blink_timeout .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 _mace@GOTPCREL(%rip), %rax movq (%rax), %rax movq _MACEISA_LED_RED@GOTPCREL(%rip), %rcx movq (%rcx), %rcx xorq %rcx, (%rax) movq _jiffies@GOTPCREL(%rip), %rax addq (%rax), %rsi movq _blink_timer@GOTPCREL(%rip), %rdi popq %rbp jmp _mod_timer ## TAILCALL .cfi_endproc ## -- End function .comm _mace,8,3 ## @mace .comm _MACEISA_LED_RED,8,3 ## @MACEISA_LED_RED .comm _blink_timer,4,2 ## @blink_timer .comm _jiffies,8,3 ## @jiffies .no_dead_strip _blink_timeout .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function blink_timeout _blink_timeout: ; @blink_timeout .cfi_startproc ; %bb.0: Lloh0: adrp x8, _mace@GOTPAGE Lloh1: ldr x8, [x8, _mace@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _MACEISA_LED_RED@GOTPAGE Lloh4: ldr x9, [x9, _MACEISA_LED_RED@GOTPAGEOFF] ldr x10, [x8] Lloh5: ldr x9, [x9] eor x9, x9, x10 str x9, [x8] Lloh6: adrp x8, _jiffies@GOTPAGE Lloh7: ldr x8, [x8, _jiffies@GOTPAGEOFF] Lloh8: ldr x8, [x8] add x1, x8, x0 Lloh9: adrp x0, _blink_timer@GOTPAGE Lloh10: ldr x0, [x0, _blink_timer@GOTPAGEOFF] b _mod_timer .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _mace,8,3 ; @mace .comm _MACEISA_LED_RED,8,3 ; @MACEISA_LED_RED .comm _blink_timer,4,2 ; @blink_timer .comm _jiffies,8,3 ; @jiffies .no_dead_strip _blink_timeout .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/mips/sgi-ip32/extr_ip32-reset.c_blink_timeout.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str.2(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str(%rip), %rdx leaq L_.str.3(%rip), %rcx xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _strend ## -- Begin function strend .p2align 4, 0x90 _strend: ## @strend .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq $-2, %rax .p2align 4, 0x90 LBB1_1: ## =>This Inner Loop Header: Depth=1 cmpb $0, 2(%rdi,%rax) leaq 1(%rax), %rax jne LBB1_1 ## %bb.2: movq $-2, %rcx .p2align 4, 0x90 LBB1_3: ## =>This Inner Loop Header: Depth=1 cmpb $0, 2(%rsi,%rcx) leaq 1(%rcx), %rcx jne LBB1_3 ## %bb.4: cmpq $-1, %rcx sete %r8b xorl %r9d, %r9d cmpq $-1, %rax je LBB1_5 ## %bb.6: movl $0, %edx cmpq $-1, %rcx je LBB1_10 .p2align 4, 0x90 LBB1_7: ## =>This Inner Loop Header: Depth=1 movzbl (%rdi,%rax), %r9d movzbl (%rsi,%rcx), %edx testq %rcx, %rcx sete %r8b testq %rax, %rax je LBB1_10 ## %bb.8: ## in Loop: Header=BB1_7 Depth=1 testq %rcx, %rcx je LBB1_10 ## %bb.9: ## in Loop: Header=BB1_7 Depth=1 decq %rax decq %rcx cmpb %dl, %r9b je LBB1_7 jmp LBB1_10 LBB1_5: xorl %edx, %edx LBB1_10: cmpb %dl, %r9b sete %al andb %r8b, %al movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Arun" L_.str.1: ## @.str.1 .asciz "un" L_.str.2: ## @.str.2 .asciz "Is string '%s' occurs at end of '%s' ? %s\n" L_.str.3: ## @.str.3 .asciz "Yes" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, l_.str.3@PAGE Lloh1: add x8, x8, l_.str.3@PAGEOFF Lloh2: adrp x9, l_.str@PAGE Lloh3: add x9, x9, l_.str@PAGEOFF Lloh4: adrp x10, l_.str.1@PAGE Lloh5: add x10, x10, l_.str.1@PAGEOFF stp x9, x8, [sp, #8] str x10, [sp] Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _strend ; -- Begin function strend .p2align 2 _strend: ; @strend .cfi_startproc ; %bb.0: mov w10, #1 mov x8, x0 LBB1_1: ; =>This Inner Loop Header: Depth=1 mov x14, x8 mov x9, x10 ldrb w11, [x8], #1 sub x10, x10, #1 cbnz w11, LBB1_1 ; %bb.2: mov w12, #1 mov x10, x1 LBB1_3: ; =>This Inner Loop Header: Depth=1 mov x15, x10 mov x11, x12 ldrb w13, [x10], #1 sub x12, x12, #1 cbnz w13, LBB1_3 ; %bb.4: mov w12, #0 cmp x15, x1 cset w13, eq cmp x14, x0 b.eq LBB1_10 ; %bb.5: mov x14, x12 cmp x15, x1 b.eq LBB1_11 ; %bb.6: mov x15, #-2 LBB1_7: ; =>This Inner Loop Header: Depth=1 ldrb w12, [x8, x15] ldrb w14, [x10, x15] cmp x11, #0 cset w13, eq cbz x9, LBB1_11 ; %bb.8: ; in Loop: Header=BB1_7 Depth=1 cbz x11, LBB1_11 ; %bb.9: ; in Loop: Header=BB1_7 Depth=1 sub x15, x15, #1 add x9, x9, #1 add x11, x11, #1 cmp w12, w14 b.eq LBB1_7 b LBB1_11 LBB1_10: mov x14, x12 LBB1_11: cmp w12, w14 cset w8, eq and w0, w13, w8 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Arun" l_.str.1: ; @.str.1 .asciz "un" l_.str.2: ; @.str.2 .asciz "Is string '%s' occurs at end of '%s' ? %s\n" l_.str.3: ; @.str.3 .asciz "Yes" .subsections_via_symbols
the_stack_data/150176.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dump_bptree_cb _dump_bptree_cb: ## @dump_bptree_cb .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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) movq _BP_SPRINTF_LEN@GOTPCREL(%rip), %rax movl (%rax), %ebx movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 cmpq $0, (%r14) je LBB0_2 ## %bb.1: movq %r15, %rdi movl %ebx, %esi movq %r14, %rdx callq _snprintf_blkptr leaq L_.str(%rip), %rdi movq %r15, %rsi callq _printf LBB0_2: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_4 ## %bb.3: xorl %eax, %eax leaq -24(%rbp), %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_4: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _BP_SPRINTF_LEN,4,2 ## @BP_SPRINTF_LEN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\t%s\n" .no_dead_strip _dump_bptree_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dump_bptree_cb _dump_bptree_cb: ; @dump_bptree_cb .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 sub sp, sp, #16 mov x2, x1 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] Lloh3: adrp x8, _BP_SPRINTF_LEN@GOTPAGE Lloh4: ldr x8, [x8, _BP_SPRINTF_LEN@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x9, x1 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x1, #15 and x9, x9, #0x1fffffff0 sub x19, x8, x9 mov sp, x19 ldr x8, [x2] cbz x8, LBB0_2 ; %bb.1: mov x0, x19 ; kill: def $w1 killed $w1 killed $x1 bl _snprintf_blkptr Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _printf LBB0_2: ldur x8, [x29, #-24] Lloh10: adrp x9, ___stack_chk_guard@GOTPAGE Lloh11: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh12: ldr x9, [x9] cmp x9, x8 b.ne LBB0_4 ; %bb.3: mov w0, #0 sub sp, x29, #16 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_4: bl ___stack_chk_fail .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _BP_SPRINTF_LEN,4,2 ; @BP_SPRINTF_LEN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\t%s\n" .no_dead_strip _dump_bptree_cb .subsections_via_symbols
AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/zdb/extr_zdb.c_dump_bptree_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _solve_main ## -- Begin function solve_main .p2align 4, 0x90 _solve_main: ## @solve_main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $48, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) leaq -60(%rbp), %rdx leaq -56(%rbp), %rcx leaq -52(%rbp), %r8 leaq L_.str(%rip), %rdi xorl %ebx, %ebx leaq -64(%rbp), %rsi leaq -68(%rbp), %r9 xorl %eax, %eax callq _scanf movl -68(%rbp), %r11d testl %r11d, %r11d js LBB0_2 ## %bb.1: movq _E@GOTPCREL(%rip), %rax movq 16(%rax,%r11,8), %rbx LBB0_2: movq _E@GOTPCREL(%rip), %r8 movl -64(%rbp), %ecx notl %ecx imull (%r8), %ecx movl %ecx, %edx addl %r11d, %edx js LBB0_4 ## %bb.3: movl %edx, %eax subq 16(%r8,%rax,8), %rbx LBB0_4: movl -60(%rbp), %r14d notl %r14d imull 4(%r8), %r14d movl %r14d, %esi addl %r11d, %esi js LBB0_6 ## %bb.5: movl %esi, %eax subq 16(%r8,%rax,8), %rbx LBB0_6: movl -56(%rbp), %edi notl %edi imull 8(%r8), %edi movl %edi, %r15d addl %r11d, %r15d js LBB0_8 ## %bb.7: movl %r15d, %eax subq 16(%r8,%rax,8), %rbx LBB0_8: movl -52(%rbp), %r12d notl %r12d imull 12(%r8), %r12d addl %r12d, %r11d js LBB0_10 ## %bb.9: movl %r11d, %eax subq 16(%r8,%rax,8), %rbx LBB0_10: movl %r14d, %r9d addl %edx, %r9d js LBB0_12 ## %bb.11: movl %r9d, %eax addq 16(%r8,%rax,8), %rbx LBB0_12: movl %edi, %r10d addl %edx, %r10d js LBB0_14 ## %bb.13: movl %r10d, %eax addq 16(%r8,%rax,8), %rbx LBB0_14: addl %r12d, %edx js LBB0_16 ## %bb.15: movl %edx, %eax addq 16(%r8,%rax,8), %rbx LBB0_16: movl %edi, %edx addl %esi, %edx js LBB0_18 ## %bb.17: movl %edx, %eax addq 16(%r8,%rax,8), %rbx LBB0_18: addl %r12d, %esi js LBB0_20 ## %bb.19: movl %esi, %eax addq 16(%r8,%rax,8), %rbx LBB0_20: addl %r12d, %r15d js LBB0_22 ## %bb.21: movl %r15d, %eax addq 16(%r8,%rax,8), %rbx LBB0_22: leal (%r11,%rdi), %edx movl %edx, %esi addl %r14d, %esi js LBB0_24 ## %bb.23: movl %esi, %eax subq 16(%r8,%rax,8), %rbx LBB0_24: addl %ecx, %edx js LBB0_26 ## %bb.25: movl %edx, %eax subq 16(%r8,%rax,8), %rbx LBB0_26: addl %r14d, %ecx addl %r11d, %ecx js LBB0_28 ## %bb.27: movl %ecx, %eax subq 16(%r8,%rax,8), %rbx LBB0_28: addl %r14d, %r10d js LBB0_30 ## %bb.29: movl %r10d, %eax subq 16(%r8,%rax,8), %rbx LBB0_30: addl %r9d, %edi addl %r12d, %edi js LBB0_32 ## %bb.31: movl %edi, %eax addq 16(%r8,%rax,8), %rbx LBB0_32: leaq L_.str.1(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_34 ## %bb.33: xorl %eax, %eax addq $48, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_34: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _solve_start ## -- Begin function solve_start .p2align 4, 0x90 _solve_start: ## @solve_start .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _solve_main xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _E@GOTPCREL(%rip), %rbx leaq 4(%rbx), %rdx leaq 8(%rbx), %rcx leaq 12(%rbx), %r8 leaq L_.str(%rip), %rdi leaq -12(%rbp), %r9 movq %rbx, %rsi xorl %eax, %eax callq _scanf movq $1, 16(%rbx) movslq (%rbx), %rax cmpq $100008, %rax ## imm = 0x186A8 jg LBB2_18 ## %bb.1: movl $100008, %edx ## imm = 0x186A8 movl $100008, %r9d ## imm = 0x186A8 subl %eax, %r9d movq %rax, %rcx cmpl $3, %r9d jb LBB2_12 ## %bb.2: leaq (%rbx,%rax,8), %rcx addq $16, %rcx subl %eax, %edx leaq (%rbx,%rdx,8), %rsi addq $24, %rsi cmpq %rsi, %rcx jae LBB2_4 ## %bb.3: addq %rdx, %rdx leaq (%rdx,%rax,2), %rcx leaq (%rbx,%rcx,4), %rdx addq $24, %rdx leaq 16(%rbx), %rsi movq %rax, %rcx cmpq %rsi, %rdx ja LBB2_12 LBB2_4: incq %r9 movq %r9, %rcx andq $-4, %rcx leaq -4(%rcx), %rdx movq %rdx, %r8 shrq $2, %r8 incq %r8 testq %rdx, %rdx je LBB2_5 ## %bb.6: movq %r8, %rsi andq $-2, %rsi leaq (%rbx,%rax,8), %rdx addq $64, %rdx xorl %edi, %edi .p2align 4, 0x90 LBB2_7: ## =>This Inner Loop Header: Depth=1 movdqu 16(%rbx,%rdi,8), %xmm0 movdqu 32(%rbx,%rdi,8), %xmm1 movdqu -48(%rdx,%rdi,8), %xmm2 paddq %xmm0, %xmm2 movdqu -32(%rdx,%rdi,8), %xmm0 paddq %xmm1, %xmm0 movdqu -16(%rdx,%rdi,8), %xmm1 movdqu (%rdx,%rdi,8), %xmm3 movdqu %xmm2, -48(%rdx,%rdi,8) movdqu %xmm0, -32(%rdx,%rdi,8) movdqu 48(%rbx,%rdi,8), %xmm0 paddq %xmm1, %xmm0 movdqu 64(%rbx,%rdi,8), %xmm1 paddq %xmm3, %xmm1 movdqu %xmm0, -16(%rdx,%rdi,8) movdqu %xmm1, (%rdx,%rdi,8) addq $8, %rdi addq $-2, %rsi jne LBB2_7 ## %bb.8: testb $1, %r8b je LBB2_10 LBB2_9: leaq (%rdi,%rax), %rdx movdqu 16(%rbx,%rdi,8), %xmm0 movdqu 32(%rbx,%rdi,8), %xmm1 movdqu 16(%rbx,%rdx,8), %xmm2 paddq %xmm0, %xmm2 movdqu 32(%rbx,%rdx,8), %xmm0 paddq %xmm1, %xmm0 movdqu %xmm2, 16(%rbx,%rdx,8) movdqu %xmm0, 32(%rbx,%rdx,8) LBB2_10: cmpq %rcx, %r9 je LBB2_18 ## %bb.11: addq %rax, %rcx LBB2_12: movl $1, %edx subl %ecx, %edx testb $1, %dl jne LBB2_14 ## %bb.13: movq %rcx, %rdx cmpl $100008, %ecx ## imm = 0x186A8 jne LBB2_16 jmp LBB2_18 LBB2_14: movq %rcx, %rdx subq %rax, %rdx movq 16(%rbx,%rdx,8), %rdx addq %rdx, 16(%rbx,%rcx,8) movq %rcx, %rdx incq %rdx cmpl $100008, %ecx ## imm = 0x186A8 je LBB2_18 LBB2_16: shlq $3, %rax movq %rbx, %rcx subq %rax, %rcx addq $24, %rcx .p2align 4, 0x90 LBB2_17: ## =>This Inner Loop Header: Depth=1 movq -8(%rcx,%rdx,8), %rax addq %rax, 16(%rbx,%rdx,8) movq (%rcx,%rdx,8), %rax addq %rax, 24(%rbx,%rdx,8) addq $2, %rdx cmpl $100009, %edx ## imm = 0x186A9 jne LBB2_17 LBB2_18: movslq 4(%rbx), %rax cmpq $100008, %rax ## imm = 0x186A8 jg LBB2_36 ## %bb.19: movl $100008, %edx ## imm = 0x186A8 movl $100008, %r9d ## imm = 0x186A8 subl %eax, %r9d movq %rax, %rcx cmpl $3, %r9d jb LBB2_30 ## %bb.20: leaq (%rbx,%rax,8), %rcx addq $16, %rcx subl %eax, %edx leaq (%rbx,%rdx,8), %rsi addq $24, %rsi cmpq %rsi, %rcx jae LBB2_22 ## %bb.21: addq %rdx, %rdx leaq (%rdx,%rax,2), %rcx leaq (%rbx,%rcx,4), %rdx addq $24, %rdx leaq 16(%rbx), %rsi movq %rax, %rcx cmpq %rsi, %rdx ja LBB2_30 LBB2_22: incq %r9 movq %r9, %rcx andq $-4, %rcx leaq -4(%rcx), %rdx movq %rdx, %r8 shrq $2, %r8 incq %r8 testq %rdx, %rdx je LBB2_23 ## %bb.24: movq %r8, %rsi andq $-2, %rsi leaq (%rbx,%rax,8), %rdx addq $64, %rdx xorl %edi, %edi .p2align 4, 0x90 LBB2_25: ## =>This Inner Loop Header: Depth=1 movdqu 16(%rbx,%rdi,8), %xmm0 movdqu 32(%rbx,%rdi,8), %xmm1 movdqu -48(%rdx,%rdi,8), %xmm2 paddq %xmm0, %xmm2 movdqu -32(%rdx,%rdi,8), %xmm0 paddq %xmm1, %xmm0 movdqu -16(%rdx,%rdi,8), %xmm1 movdqu (%rdx,%rdi,8), %xmm3 movdqu %xmm2, -48(%rdx,%rdi,8) movdqu %xmm0, -32(%rdx,%rdi,8) movdqu 48(%rbx,%rdi,8), %xmm0 paddq %xmm1, %xmm0 movdqu 64(%rbx,%rdi,8), %xmm1 paddq %xmm3, %xmm1 movdqu %xmm0, -16(%rdx,%rdi,8) movdqu %xmm1, (%rdx,%rdi,8) addq $8, %rdi addq $-2, %rsi jne LBB2_25 ## %bb.26: testb $1, %r8b je LBB2_28 LBB2_27: leaq (%rdi,%rax), %rdx movdqu 16(%rbx,%rdi,8), %xmm0 movdqu 32(%rbx,%rdi,8), %xmm1 movdqu 16(%rbx,%rdx,8), %xmm2 paddq %xmm0, %xmm2 movdqu 32(%rbx,%rdx,8), %xmm0 paddq %xmm1, %xmm0 movdqu %xmm2, 16(%rbx,%rdx,8) movdqu %xmm0, 32(%rbx,%rdx,8) LBB2_28: cmpq %rcx, %r9 je LBB2_36 ## %bb.29: addq %rax, %rcx LBB2_30: movl $1, %edx subl %ecx, %edx testb $1, %dl jne LBB2_32 ## %bb.31: movq %rcx, %rdx cmpl $100008, %ecx ## imm = 0x186A8 jne LBB2_34 jmp LBB2_36 LBB2_32: movq %rcx, %rdx subq %rax, %rdx movq 16(%rbx,%rdx,8), %rdx addq %rdx, 16(%rbx,%rcx,8) movq %rcx, %rdx incq %rdx cmpl $100008, %ecx ## imm = 0x186A8 je LBB2_36 LBB2_34: shlq $3, %rax movq %rbx, %rcx subq %rax, %rcx addq $24, %rcx .p2align 4, 0x90 LBB2_35: ## =>This Inner Loop Header: Depth=1 movq -8(%rcx,%rdx,8), %rax addq %rax, 16(%rbx,%rdx,8) movq (%rcx,%rdx,8), %rax addq %rax, 24(%rbx,%rdx,8) addq $2, %rdx cmpl $100009, %edx ## imm = 0x186A9 jne LBB2_35 LBB2_36: movslq 8(%rbx), %rax cmpq $100008, %rax ## imm = 0x186A8 jg LBB2_54 ## %bb.37: movl $100008, %edx ## imm = 0x186A8 movl $100008, %r9d ## imm = 0x186A8 subl %eax, %r9d movq %rax, %rcx cmpl $3, %r9d jb LBB2_48 ## %bb.38: leaq (%rbx,%rax,8), %rcx addq $16, %rcx subl %eax, %edx leaq (%rbx,%rdx,8), %rsi addq $24, %rsi cmpq %rsi, %rcx jae LBB2_40 ## %bb.39: addq %rdx, %rdx leaq (%rdx,%rax,2), %rcx leaq (%rbx,%rcx,4), %rdx addq $24, %rdx leaq 16(%rbx), %rsi movq %rax, %rcx cmpq %rsi, %rdx ja LBB2_48 LBB2_40: incq %r9 movq %r9, %rcx andq $-4, %rcx leaq -4(%rcx), %rdx movq %rdx, %r8 shrq $2, %r8 incq %r8 testq %rdx, %rdx je LBB2_41 ## %bb.42: movq %r8, %rsi andq $-2, %rsi leaq (%rbx,%rax,8), %rdx addq $64, %rdx xorl %edi, %edi .p2align 4, 0x90 LBB2_43: ## =>This Inner Loop Header: Depth=1 movdqu 16(%rbx,%rdi,8), %xmm0 movdqu 32(%rbx,%rdi,8), %xmm1 movdqu -48(%rdx,%rdi,8), %xmm2 paddq %xmm0, %xmm2 movdqu -32(%rdx,%rdi,8), %xmm0 paddq %xmm1, %xmm0 movdqu -16(%rdx,%rdi,8), %xmm1 movdqu (%rdx,%rdi,8), %xmm3 movdqu %xmm2, -48(%rdx,%rdi,8) movdqu %xmm0, -32(%rdx,%rdi,8) movdqu 48(%rbx,%rdi,8), %xmm0 paddq %xmm1, %xmm0 movdqu 64(%rbx,%rdi,8), %xmm1 paddq %xmm3, %xmm1 movdqu %xmm0, -16(%rdx,%rdi,8) movdqu %xmm1, (%rdx,%rdi,8) addq $8, %rdi addq $-2, %rsi jne LBB2_43 ## %bb.44: testb $1, %r8b je LBB2_46 LBB2_45: leaq (%rdi,%rax), %rdx movdqu 16(%rbx,%rdi,8), %xmm0 movdqu 32(%rbx,%rdi,8), %xmm1 movdqu 16(%rbx,%rdx,8), %xmm2 paddq %xmm0, %xmm2 movdqu 32(%rbx,%rdx,8), %xmm0 paddq %xmm1, %xmm0 movdqu %xmm2, 16(%rbx,%rdx,8) movdqu %xmm0, 32(%rbx,%rdx,8) LBB2_46: cmpq %rcx, %r9 je LBB2_54 ## %bb.47: addq %rax, %rcx LBB2_48: movl $1, %edx subl %ecx, %edx testb $1, %dl jne LBB2_50 ## %bb.49: movq %rcx, %rdx cmpl $100008, %ecx ## imm = 0x186A8 jne LBB2_52 jmp LBB2_54 LBB2_50: movq %rcx, %rdx subq %rax, %rdx movq 16(%rbx,%rdx,8), %rdx addq %rdx, 16(%rbx,%rcx,8) movq %rcx, %rdx incq %rdx cmpl $100008, %ecx ## imm = 0x186A8 je LBB2_54 LBB2_52: shlq $3, %rax movq %rbx, %rcx subq %rax, %rcx addq $24, %rcx .p2align 4, 0x90 LBB2_53: ## =>This Inner Loop Header: Depth=1 movq -8(%rcx,%rdx,8), %rax addq %rax, 16(%rbx,%rdx,8) movq (%rcx,%rdx,8), %rax addq %rax, 24(%rbx,%rdx,8) addq $2, %rdx cmpl $100009, %edx ## imm = 0x186A9 jne LBB2_53 LBB2_54: movslq 12(%rbx), %rax cmpq $100008, %rax ## imm = 0x186A8 jg LBB2_73 ## %bb.55: movl $100008, %edx ## imm = 0x186A8 movl $100008, %r9d ## imm = 0x186A8 subl %eax, %r9d movq %rax, %rcx cmpl $3, %r9d jb LBB2_66 ## %bb.56: leaq (%rbx,%rax,8), %rcx addq $16, %rcx subl %eax, %edx leaq (%rbx,%rdx,8), %rsi addq $24, %rsi cmpq %rsi, %rcx jae LBB2_58 ## %bb.57: addq %rdx, %rdx leaq (%rdx,%rax,2), %rcx leaq (%rbx,%rcx,4), %rdx addq $24, %rdx leaq 16(%rbx), %rsi movq %rax, %rcx cmpq %rsi, %rdx ja LBB2_66 LBB2_58: incq %r9 movq %r9, %rcx andq $-4, %rcx leaq -4(%rcx), %rdx movq %rdx, %r8 shrq $2, %r8 incq %r8 testq %rdx, %rdx je LBB2_59 ## %bb.60: movq %r8, %rsi andq $-2, %rsi leaq (%rbx,%rax,8), %rdx addq $64, %rdx xorl %edi, %edi .p2align 4, 0x90 LBB2_61: ## =>This Inner Loop Header: Depth=1 movdqu 16(%rbx,%rdi,8), %xmm0 movdqu 32(%rbx,%rdi,8), %xmm1 movdqu -48(%rdx,%rdi,8), %xmm2 paddq %xmm0, %xmm2 movdqu -32(%rdx,%rdi,8), %xmm0 paddq %xmm1, %xmm0 movdqu -16(%rdx,%rdi,8), %xmm1 movdqu (%rdx,%rdi,8), %xmm3 movdqu %xmm2, -48(%rdx,%rdi,8) movdqu %xmm0, -32(%rdx,%rdi,8) movdqu 48(%rbx,%rdi,8), %xmm0 paddq %xmm1, %xmm0 movdqu 64(%rbx,%rdi,8), %xmm1 paddq %xmm3, %xmm1 movdqu %xmm0, -16(%rdx,%rdi,8) movdqu %xmm1, (%rdx,%rdi,8) addq $8, %rdi addq $-2, %rsi jne LBB2_61 ## %bb.62: testb $1, %r8b je LBB2_64 LBB2_63: leaq (%rdi,%rax), %rdx movdqu 16(%rbx,%rdi,8), %xmm0 movdqu 32(%rbx,%rdi,8), %xmm1 movdqu 16(%rbx,%rdx,8), %xmm2 paddq %xmm0, %xmm2 movdqu 32(%rbx,%rdx,8), %xmm0 paddq %xmm1, %xmm0 movdqu %xmm2, 16(%rbx,%rdx,8) movdqu %xmm0, 32(%rbx,%rdx,8) LBB2_64: cmpq %rcx, %r9 je LBB2_73 ## %bb.65: addq %rax, %rcx LBB2_66: movl $1, %edx subl %ecx, %edx testb $1, %dl jne LBB2_68 ## %bb.67: movq %rcx, %rdx cmpl $100008, %ecx ## imm = 0x186A8 je LBB2_73 jmp LBB2_70 LBB2_68: movq %rcx, %rdx subq %rax, %rdx movq 16(%rbx,%rdx,8), %rdx addq %rdx, 16(%rbx,%rcx,8) movq %rcx, %rdx incq %rdx cmpl $100008, %ecx ## imm = 0x186A8 je LBB2_73 LBB2_70: shlq $3, %rax movq %rbx, %rcx subq %rax, %rcx addq $24, %rcx .p2align 4, 0x90 LBB2_71: ## =>This Inner Loop Header: Depth=1 movq -8(%rcx,%rdx,8), %rax addq %rax, 16(%rbx,%rdx,8) movq (%rcx,%rdx,8), %rax addq %rax, 24(%rbx,%rdx,8) addq $2, %rdx cmpl $100009, %edx ## imm = 0x186A9 jne LBB2_71 jmp LBB2_73 .p2align 4, 0x90 LBB2_72: ## in Loop: Header=BB2_73 Depth=1 callq _solve_main LBB2_73: ## =>This Inner Loop Header: Depth=1 subl $1, -12(%rbp) jae LBB2_72 ## %bb.74: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq LBB2_5: xorl %edi, %edi testb $1, %r8b jne LBB2_9 jmp LBB2_10 LBB2_23: xorl %edi, %edi testb $1, %r8b jne LBB2_27 jmp LBB2_28 LBB2_41: xorl %edi, %edi testb $1, %r8b jne LBB2_45 jmp LBB2_46 LBB2_59: xorl %edi, %edi testb $1, %r8b jne LBB2_63 jmp LBB2_64 .cfi_endproc ## -- End function .comm _E,800088,3 ## @E .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d%d%d%d%d" L_.str.1: ## @.str.1 .asciz "%lld\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _solve_main ; -- Begin function solve_main .p2align 2 _solve_main: ; @solve_main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-8] sub x8, x29, #24 add x9, x8, #4 add x10, x8, #8 add x11, x8, #12 sub x12, x29, #28 stp x11, x12, [sp, #24] stp x9, x10, [sp, #8] str x8, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _scanf ldur w14, [x29, #-28] Lloh5: adrp x9, _E@GOTPAGE Lloh6: ldr x9, [x9, _E@GOTPAGEOFF] tbnz w14, #31, LBB0_2 ; %bb.1: add x8, x9, x14, lsl #3 ldr x8, [x8, #16] b LBB0_3 LBB0_2: mov x8, #0 LBB0_3: ldr w10, [x9] ldur w11, [x29, #-24] mvn w11, w11 mul w10, w10, w11 adds w1, w10, w14 b.mi LBB0_5 ; %bb.4: add x11, x9, w1, uxtw #3 ldr x11, [x11, #16] sub x8, x8, x11 LBB0_5: ldr w11, [x9, #4] ldur w12, [x29, #-20] mvn w12, w12 mul w11, w11, w12 adds w17, w11, w14 b.mi LBB0_7 ; %bb.6: add x12, x9, w17, uxtw #3 ldr x12, [x12, #16] sub x8, x8, x12 LBB0_7: ldr w12, [x9, #8] ldur w13, [x29, #-16] mvn w13, w13 mul w12, w12, w13 adds w0, w12, w14 b.mi LBB0_9 ; %bb.8: add x13, x9, w0, uxtw #3 ldr x13, [x13, #16] sub x8, x8, x13 LBB0_9: ldr w13, [x9, #12] ldur w15, [x29, #-12] mvn w15, w15 mul w13, w13, w15 adds w15, w13, w14 b.mi LBB0_11 ; %bb.10: add x14, x9, w15, uxtw #3 ldr x14, [x14, #16] sub x8, x8, x14 LBB0_11: adds w14, w11, w1 b.mi LBB0_13 ; %bb.12: add x16, x9, w14, uxtw #3 ldr x16, [x16, #16] add x8, x16, x8 LBB0_13: adds w16, w12, w1 b.mi LBB0_15 ; %bb.14: add x2, x9, w16, uxtw #3 ldr x2, [x2, #16] add x8, x2, x8 LBB0_15: adds w1, w13, w1 b.mi LBB0_17 ; %bb.16: add x1, x9, w1, uxtw #3 ldr x1, [x1, #16] add x8, x1, x8 LBB0_17: adds w1, w12, w17 b.mi LBB0_19 ; %bb.18: add x1, x9, w1, uxtw #3 ldr x1, [x1, #16] add x8, x1, x8 LBB0_19: adds w17, w13, w17 b.mi LBB0_21 ; %bb.20: add x17, x9, w17, uxtw #3 ldr x17, [x17, #16] add x8, x17, x8 LBB0_21: adds w17, w13, w0 b.mi LBB0_23 ; %bb.22: add x17, x9, w17, uxtw #3 ldr x17, [x17, #16] add x8, x17, x8 LBB0_23: add w17, w15, w12 adds w0, w17, w11 b.mi LBB0_25 ; %bb.24: add x0, x9, w0, uxtw #3 ldr x0, [x0, #16] sub x8, x8, x0 LBB0_25: adds w17, w17, w10 b.mi LBB0_27 ; %bb.26: add x17, x9, w17, uxtw #3 ldr x17, [x17, #16] sub x8, x8, x17 LBB0_27: add w10, w11, w10 adds w10, w10, w15 b.mi LBB0_29 ; %bb.28: add x10, x9, w10, uxtw #3 ldr x10, [x10, #16] sub x8, x8, x10 LBB0_29: adds w10, w16, w11 b.mi LBB0_31 ; %bb.30: add x10, x9, w10, uxtw #3 ldr x10, [x10, #16] sub x8, x8, x10 LBB0_31: add w10, w12, w14 adds w10, w10, w13 b.mi LBB0_33 ; %bb.32: add x9, x9, w10, uxtw #3 ldr x9, [x9, #16] add x8, x9, x8 LBB0_33: str x8, [sp] Lloh7: adrp x0, l_.str.1@PAGE Lloh8: add x0, x0, l_.str.1@PAGEOFF bl _printf ldur x8, [x29, #-8] Lloh9: adrp x9, ___stack_chk_guard@GOTPAGE Lloh10: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x9, x8 b.ne LBB0_35 ; %bb.34: mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_35: bl ___stack_chk_fail .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh7, Lloh8 .cfi_endproc ; -- End function .globl _solve_start ; -- Begin function solve_start .p2align 2 _solve_start: ; @solve_start .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _solve_main mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #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 w19, #31063 movk w19, #65534, lsl #16 mov w21, #34472 movk w21, #1, lsl #16 sub x8, x29, #36 str x8, [sp, #32] Lloh12: adrp x20, _E@GOTPAGE Lloh13: ldr x20, [x20, _E@GOTPAGEOFF] add x8, x20, #12 add x9, x20, #8 stp x9, x8, [sp, #16] add x8, x20, #4 stp x20, x8, [sp] Lloh14: adrp x0, l_.str@PAGE Lloh15: add x0, x0, l_.str@PAGEOFF bl _scanf mov w8, #1 str x8, [x20, #16] ldrsw x8, [x20] orr w9, w21, #0x1 cmp w8, w9 b.ge LBB2_9 ; %bb.1: sub w10, w21, w8 cmp w10, #7 b.hs LBB2_3 ; %bb.2: mov x9, x8 b LBB2_7 LBB2_3: lsl x9, x8, #1 add x11, x20, x8, lsl #3 add x11, x11, #16 sub w12, w21, w8 add x9, x9, w12, uxtw #1 add x9, x20, x9, lsl #2 add x9, x9, #24 add x12, x20, w12, uxtw #3 add x12, x12, #24 cmp x11, x12 add x11, x20, #16 ccmp x9, x11, #0, lo mov x9, x8 b.hi LBB2_7 ; %bb.4: add x10, x10, #1 and x11, x10, #0x1fffffff8 add x9, x11, x8 lsl x12, x8, #3 Lloh16: adrp x13, _E@GOTPAGE Lloh17: ldr x13, [x13, _E@GOTPAGEOFF] mov x14, x11 LBB2_5: ; =>This Inner Loop Header: Depth=1 ldp q0, q1, [x13, #16] ldr q2, [x13, #48] add x15, x13, x12 ldr q3, [x13, #64]! ldp q4, q5, [x15, #16] ldp q6, q7, [x15, #48] add.2d v0, v4, v0 add.2d v1, v5, v1 add.2d v2, v6, v2 add.2d v3, v7, v3 stp q0, q1, [x15, #16] stp q2, q3, [x15, #48] subs x14, x14, #8 b.ne LBB2_5 ; %bb.6: cmp x10, x11 b.eq LBB2_9 LBB2_7: add x10, x20, x9, lsl #3 add x10, x10, #16 neg x8, x8, lsl #3 add w9, w9, w19 LBB2_8: ; =>This Inner Loop Header: Depth=1 ldr x11, [x10, x8] ldr x12, [x10] add x11, x12, x11 str x11, [x10], #8 adds w9, w9, #1 b.lo LBB2_8 LBB2_9: ldrsw x9, [x20, #4] add w8, w21, #1 cmp w9, w8 b.ge LBB2_18 ; %bb.10: sub w11, w21, w9 cmp w11, #7 b.hs LBB2_12 ; %bb.11: mov x10, x9 b LBB2_16 LBB2_12: lsl x10, x9, #1 add x12, x20, x9, lsl #3 add x12, x12, #16 sub w13, w21, w9 add x10, x10, w13, uxtw #1 add x10, x20, x10, lsl #2 add x10, x10, #24 add x13, x20, w13, uxtw #3 add x13, x13, #24 cmp x12, x13 add x12, x20, #16 ccmp x10, x12, #0, lo mov x10, x9 b.hi LBB2_16 ; %bb.13: add x11, x11, #1 and x12, x11, #0x1fffffff8 add x10, x12, x9 lsl x13, x9, #3 Lloh18: adrp x14, _E@GOTPAGE Lloh19: ldr x14, [x14, _E@GOTPAGEOFF] mov x15, x12 LBB2_14: ; =>This Inner Loop Header: Depth=1 ldp q0, q1, [x14, #16] ldr q2, [x14, #48] add x16, x14, x13 ldr q3, [x14, #64]! ldp q4, q5, [x16, #16] ldp q6, q7, [x16, #48] add.2d v0, v4, v0 add.2d v1, v5, v1 add.2d v2, v6, v2 add.2d v3, v7, v3 stp q0, q1, [x16, #16] stp q2, q3, [x16, #48] subs x15, x15, #8 b.ne LBB2_14 ; %bb.15: cmp x11, x12 b.eq LBB2_18 LBB2_16: add w11, w10, w19 add x10, x20, x10, lsl #3 add x10, x10, #16 neg x9, x9, lsl #3 LBB2_17: ; =>This Inner Loop Header: Depth=1 ldr x12, [x10, x9] ldr x13, [x10] add x12, x13, x12 str x12, [x10], #8 adds w11, w11, #1 b.lo LBB2_17 LBB2_18: ldrsw x9, [x20, #8] cmp w9, w8 b.ge LBB2_27 ; %bb.19: sub w10, w21, w9 cmp w10, #7 b.hs LBB2_21 ; %bb.20: mov x8, x9 b LBB2_25 LBB2_21: lsl x8, x9, #1 add x11, x20, x9, lsl #3 add x11, x11, #16 sub w12, w21, w9 add x8, x8, w12, uxtw #1 add x8, x20, x8, lsl #2 add x8, x8, #24 add x12, x20, w12, uxtw #3 add x12, x12, #24 cmp x11, x12 add x11, x20, #16 ccmp x8, x11, #0, lo mov x8, x9 b.hi LBB2_25 ; %bb.22: add x10, x10, #1 and x11, x10, #0x1fffffff8 add x8, x11, x9 lsl x12, x9, #3 Lloh20: adrp x13, _E@GOTPAGE Lloh21: ldr x13, [x13, _E@GOTPAGEOFF] mov x14, x11 LBB2_23: ; =>This Inner Loop Header: Depth=1 ldp q0, q1, [x13, #16] ldr q2, [x13, #48] add x15, x13, x12 ldr q3, [x13, #64]! ldp q4, q5, [x15, #16] ldp q6, q7, [x15, #48] add.2d v0, v4, v0 add.2d v1, v5, v1 add.2d v2, v6, v2 add.2d v3, v7, v3 stp q0, q1, [x15, #16] stp q2, q3, [x15, #48] subs x14, x14, #8 b.ne LBB2_23 ; %bb.24: cmp x10, x11 b.eq LBB2_27 LBB2_25: add w10, w8, w19 add x8, x20, x8, lsl #3 add x8, x8, #16 neg x9, x9, lsl #3 LBB2_26: ; =>This Inner Loop Header: Depth=1 ldr x11, [x8, x9] ldr x12, [x8] add x11, x12, x11 str x11, [x8], #8 adds w10, w10, #1 b.lo LBB2_26 LBB2_27: ldrsw x8, [x20, #12] add w9, w21, #1 cmp w8, w9 b.ge LBB2_37 ; %bb.28: sub w10, w21, w8 cmp w10, #7 b.hs LBB2_30 ; %bb.29: mov x9, x8 b LBB2_34 LBB2_30: lsl x9, x8, #1 add x11, x20, x8, lsl #3 add x11, x11, #16 sub w12, w21, w8 add x9, x9, w12, uxtw #1 add x9, x20, x9, lsl #2 add x9, x9, #24 add x12, x20, w12, uxtw #3 add x12, x12, #24 cmp x11, x12 add x11, x20, #16 ccmp x9, x11, #0, lo mov x9, x8 b.hi LBB2_34 ; %bb.31: add x10, x10, #1 and x11, x10, #0x1fffffff8 add x9, x11, x8 lsl x12, x8, #3 Lloh22: adrp x13, _E@GOTPAGE Lloh23: ldr x13, [x13, _E@GOTPAGEOFF] mov x14, x11 LBB2_32: ; =>This Inner Loop Header: Depth=1 ldp q0, q1, [x13, #16] ldr q2, [x13, #48] add x15, x13, x12 ldr q3, [x13, #64]! ldp q4, q5, [x15, #16] ldp q6, q7, [x15, #48] add.2d v0, v4, v0 add.2d v1, v5, v1 add.2d v2, v6, v2 add.2d v3, v7, v3 stp q0, q1, [x15, #16] stp q2, q3, [x15, #48] subs x14, x14, #8 b.ne LBB2_32 ; %bb.33: cmp x10, x11 b.eq LBB2_37 LBB2_34: add w10, w9, w19 add x9, x20, x9, lsl #3 add x9, x9, #16 neg x8, x8, lsl #3 LBB2_35: ; =>This Inner Loop Header: Depth=1 ldr x11, [x9, x8] ldr x12, [x9] add x11, x12, x11 str x11, [x9], #8 adds w10, w10, #1 b.lo LBB2_35 b LBB2_37 LBB2_36: ; in Loop: Header=BB2_37 Depth=1 bl _solve_main LBB2_37: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-36] sub w9, w8, #1 stur w9, [x29, #-36] cbnz w8, LBB2_36 ; %bb.38: 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 add sp, sp, #96 ret .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _E,800088,3 ; @E .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d%d%d%d%d" l_.str.1: ; @.str.1 .asciz "%lld\n" .subsections_via_symbols
the_stack_data/35324.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ff_graph_thread_free ## -- Begin function ff_graph_thread_free .p2align 4, 0x90 _ff_graph_thread_free: ## @ff_graph_thread_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq (%rdi), %rdi movq (%rdi), %rax testq %rax, %rax je LBB0_2 ## %bb.1: movq %rax, %rdi callq _slice_thread_uninit movq (%rbx), %rdi LBB0_2: addq $8, %rsp popq %rbx popq %rbp jmp _av_freep ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ff_graph_thread_free ; -- Begin function ff_graph_thread_free .p2align 2 _ff_graph_thread_free: ; @ff_graph_thread_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] ldr x8, [x0] cbz x8, LBB0_2 ; %bb.1: mov x0, x8 bl _slice_thread_uninit ldr x0, [x19] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _av_freep .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/FFmpeg/libavfilter/extr_pthread.c_ff_graph_thread_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function WuNewWebPage _WuNewWebPage: ## @WuNewWebPage .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 %rdi, %rdi je LBB0_1 ## %bb.2: movq %rdx, %r14 movl %esi, %ebx movq %rdi, %r12 movl $24, %edi callq _Malloc movq %rax, %r15 movl %ebx, (%rax) movl %ebx, %edi callq _Malloc movq %rax, 8(%r15) movq %rax, %rdi movq %r12, %rsi movl %ebx, %edx callq _Copy leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str.2(%rip), %rdx callq _NewHttpHeader movl %eax, %ebx movl %eax, 16(%r15) leaq L_.str.3(%rip), %rdi leaq L_.str.4(%rip), %r12 movq %r12, %rsi callq _NewHttpValue movl %ebx, %edi movl %eax, %esi callq _AddHttpValue movl 16(%r15), %ebx movq _HTTP_KEEP_ALIVE@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %r12, %rdi callq _NewHttpValue movl %ebx, %edi movl %eax, %esi callq _AddHttpValue leaq L_.str.5(%rip), %rsi movq %r14, %rdi callq _EndWith testq %rax, %rax je LBB0_4 ## %bb.3: movl 16(%r15), %ebx movq _HTTP_CONTENT_TYPE3@GOTPCREL(%rip), %rax movq (%rax), %rsi leaq L_.str.6(%rip), %rdi callq _NewHttpValue movl %ebx, %edi movl %eax, %esi callq _AddHttpValue LBB0_4: movl 16(%r15), %ebx movq _HTTP_CONTENT_TYPE4@GOTPCREL(%rip), %rax movq (%rax), %rsi leaq L_.str.6(%rip), %rdi callq _NewHttpValue movl %ebx, %edi movl %eax, %esi callq _AddHttpValue jmp LBB0_5 LBB0_1: xorl %r15d, %r15d LBB0_5: movq %r15, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "HTTP/1.1" L_.str.1: ## @.str.1 .asciz "202" L_.str.2: ## @.str.2 .asciz "OK" L_.str.3: ## @.str.3 .asciz "Connection" L_.str.4: ## @.str.4 .asciz "Keep-Alive" .comm _HTTP_KEEP_ALIVE,8,3 ## @HTTP_KEEP_ALIVE L_.str.5: ## @.str.5 .asciz "jpg" L_.str.6: ## @.str.6 .asciz "Content-Type" .comm _HTTP_CONTENT_TYPE3,8,3 ## @HTTP_CONTENT_TYPE3 .comm _HTTP_CONTENT_TYPE4,8,3 ## @HTTP_CONTENT_TYPE4 .no_dead_strip _WuNewWebPage .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function WuNewWebPage _WuNewWebPage: ; @WuNewWebPage .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz x0, LBB0_4 ; %bb.1: mov x20, x2 mov x21, x1 mov x22, x0 mov w0, #24 bl _Malloc mov x19, x0 str w21, [x0] mov x0, x21 bl _Malloc str x0, [x19, #8] mov x1, x22 mov x2, x21 bl _Copy Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF Lloh4: adrp x2, l_.str.2@PAGE Lloh5: add x2, x2, l_.str.2@PAGEOFF bl _NewHttpHeader mov x21, x0 str w0, [x19, #16] Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF Lloh8: adrp x22, l_.str.4@PAGE Lloh9: add x22, x22, l_.str.4@PAGEOFF mov x1, x22 bl _NewHttpValue mov x1, x0 mov x0, x21 bl _AddHttpValue ldr w21, [x19, #16] Lloh10: adrp x8, _HTTP_KEEP_ALIVE@GOTPAGE Lloh11: ldr x8, [x8, _HTTP_KEEP_ALIVE@GOTPAGEOFF] Lloh12: ldr x1, [x8] mov x0, x22 bl _NewHttpValue mov x1, x0 mov x0, x21 bl _AddHttpValue Lloh13: adrp x1, l_.str.5@PAGE Lloh14: add x1, x1, l_.str.5@PAGEOFF mov x0, x20 bl _EndWith cbz x0, LBB0_3 ; %bb.2: ldr w20, [x19, #16] Lloh15: adrp x8, _HTTP_CONTENT_TYPE3@GOTPAGE Lloh16: ldr x8, [x8, _HTTP_CONTENT_TYPE3@GOTPAGEOFF] Lloh17: ldr x1, [x8] Lloh18: adrp x0, l_.str.6@PAGE Lloh19: add x0, x0, l_.str.6@PAGEOFF bl _NewHttpValue mov x1, x0 mov x0, x20 bl _AddHttpValue LBB0_3: ldr w20, [x19, #16] Lloh20: adrp x8, _HTTP_CONTENT_TYPE4@GOTPAGE Lloh21: ldr x8, [x8, _HTTP_CONTENT_TYPE4@GOTPAGEOFF] Lloh22: ldr x1, [x8] Lloh23: adrp x0, l_.str.6@PAGE Lloh24: add x0, x0, l_.str.6@PAGEOFF bl _NewHttpValue mov x1, x0 mov x0, x20 bl _AddHttpValue b LBB0_5 LBB0_4: mov x19, #0 LBB0_5: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "HTTP/1.1" l_.str.1: ; @.str.1 .asciz "202" l_.str.2: ; @.str.2 .asciz "OK" l_.str.3: ; @.str.3 .asciz "Connection" l_.str.4: ; @.str.4 .asciz "Keep-Alive" .comm _HTTP_KEEP_ALIVE,8,3 ; @HTTP_KEEP_ALIVE l_.str.5: ; @.str.5 .asciz "jpg" l_.str.6: ; @.str.6 .asciz "Content-Type" .comm _HTTP_CONTENT_TYPE3,8,3 ; @HTTP_CONTENT_TYPE3 .comm _HTTP_CONTENT_TYPE4,8,3 ; @HTTP_CONTENT_TYPE4 .no_dead_strip _WuNewWebPage .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Cedar/extr_WebUI.c_WuNewWebPage.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tipc_bearer_xmit_skb ## -- Begin function tipc_bearer_xmit_skb .p2align 4, 0x90 _tipc_bearer_xmit_skb: ## @tipc_bearer_xmit_skb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, -48(%rbp) ## 8-byte Spill movq %rdx, %r12 movl %esi, %ebx movq %rdi, %r15 movq %rdx, %rdi callq _buf_msg movq %rax, %r13 xorl %r14d, %r14d xorl %eax, %eax callq _rcu_read_lock movq %r15, %rdi movl %ebx, %esi callq _bearer_get movq %rax, %rbx testq %rax, %rax je LBB0_3 ## %bb.1: leaq 8(%rbx), %rsi xorl %edi, %edi callq _test_bit movl $1, %r14d testq %rax, %rax jne LBB0_3 ## %bb.2: movq %r13, %rdi callq _msg_is_reset xorl %r14d, %r14d testq %rax, %rax setne %r14b LBB0_3: movl %r14d, %edi callq _likely testq %rax, %rax je LBB0_5 ## %bb.4: movq (%rbx), %rax movq %r15, %rdi movq %r12, %rsi movq %rbx, %rdx movq -48(%rbp), %rcx ## 8-byte Reload callq *(%rax) jmp LBB0_6 LBB0_5: movq %r12, %rdi callq _kfree_skb LBB0_6: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _rcu_read_unlock ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tipc_bearer_xmit_skb ; -- Begin function tipc_bearer_xmit_skb .p2align 2 _tipc_bearer_xmit_skb: ; @tipc_bearer_xmit_skb .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 x22, x1 mov x21, x0 mov x0, x2 bl _buf_msg mov x23, x0 bl _rcu_read_lock mov x0, x21 mov x1, x22 bl _bearer_get mov x22, x0 cbz x0, LBB0_3 ; %bb.1: add x1, x22, #8 mov w0, #0 bl _test_bit cbz x0, LBB0_5 ; %bb.2: mov w0, #1 LBB0_3: bl _likely cbz x0, LBB0_6 LBB0_4: ldr x8, [x22] ldr x8, [x8] mov x0, x21 mov x1, x20 mov x2, x22 mov x3, x19 blr x8 b LBB0_7 LBB0_5: mov x0, x23 bl _msg_is_reset cmp x0, #0 cset w0, ne bl _likely cbnz x0, LBB0_4 LBB0_6: mov x0, x20 bl _kfree_skb 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 b _rcu_read_unlock .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/net/tipc/extr_bearer.c_tipc_bearer_xmit_skb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lan743x_intr_test_isr _lan743x_intr_test_isr: ## @lan743x_intr_test_isr .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 movq _ENODEV@GOTPCREL(%rip), %rax movl (%rax), %r15d movq $0, (%rdi) movq _INT_EN_SET@GOTPCREL(%rip), %rax movl (%rax), %esi movq _INT_BIT_SW_GP_@GOTPCREL(%rip), %r12 movl (%r12), %edx callq _lan743x_csr_write movq _INT_SET@GOTPCREL(%rip), %rax movl (%rax), %esi movl (%r12), %edx movq %r14, %rdi callq _lan743x_csr_write movq (%r14), %rax testq %rax, %rax jne LBB0_11 ## %bb.1: movl $1000, %edi ## imm = 0x3E8 movl $20000, %esi ## imm = 0x4E20 callq _usleep_range movq (%r14), %rax testq %rax, %rax jne LBB0_11 ## %bb.2: movl $1000, %edi ## imm = 0x3E8 movl $20000, %esi ## imm = 0x4E20 callq _usleep_range movq (%r14), %rax testq %rax, %rax jne LBB0_11 ## %bb.3: movl $1000, %edi ## imm = 0x3E8 movl $20000, %esi ## imm = 0x4E20 callq _usleep_range movq (%r14), %rax testq %rax, %rax jne LBB0_11 ## %bb.4: movl $1000, %edi ## imm = 0x3E8 movl $20000, %esi ## imm = 0x4E20 callq _usleep_range movq (%r14), %rax testq %rax, %rax jne LBB0_11 ## %bb.5: movl $1000, %edi ## imm = 0x3E8 movl $20000, %esi ## imm = 0x4E20 callq _usleep_range movq (%r14), %rax testq %rax, %rax jne LBB0_11 ## %bb.6: movl $1000, %edi ## imm = 0x3E8 movl $20000, %esi ## imm = 0x4E20 callq _usleep_range movq (%r14), %rax testq %rax, %rax jne LBB0_11 ## %bb.7: movl $1000, %edi ## imm = 0x3E8 movl $20000, %esi ## imm = 0x4E20 callq _usleep_range movq (%r14), %rax testq %rax, %rax jne LBB0_11 ## %bb.8: movl $1000, %edi ## imm = 0x3E8 movl $20000, %esi ## imm = 0x4E20 callq _usleep_range movq (%r14), %rax testq %rax, %rax jne LBB0_11 ## %bb.9: movl $1000, %edi ## imm = 0x3E8 movl $20000, %esi ## imm = 0x4E20 callq _usleep_range movq (%r14), %rax testq %rax, %rax jne LBB0_11 ## %bb.10: movl $1000, %edi ## imm = 0x3E8 movl $20000, %esi ## imm = 0x4E20 callq _usleep_range movq (%r14), %rax LBB0_11: negl %r15d xorl %ebx, %ebx testq %rax, %rax cmovel %r15d, %ebx movq _INT_EN_CLR@GOTPCREL(%rip), %rax movl (%rax), %esi movl (%r12), %edx movq %r14, %rdi callq _lan743x_csr_write movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENODEV,4,2 ## @ENODEV .comm _INT_EN_SET,4,2 ## @INT_EN_SET .comm _INT_BIT_SW_GP_,4,2 ## @INT_BIT_SW_GP_ .comm _INT_SET,4,2 ## @INT_SET .comm _INT_EN_CLR,4,2 ## @INT_EN_CLR .no_dead_strip _lan743x_intr_test_isr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lan743x_intr_test_isr _lan743x_intr_test_isr: ; @lan743x_intr_test_isr .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x8, _ENODEV@GOTPAGE Lloh1: ldr x8, [x8, _ENODEV@GOTPAGEOFF] Lloh2: ldr w20, [x8] str xzr, [x0] Lloh3: adrp x8, _INT_EN_SET@GOTPAGE Lloh4: ldr x8, [x8, _INT_EN_SET@GOTPAGEOFF] Lloh5: ldr w1, [x8] Lloh6: adrp x21, _INT_BIT_SW_GP_@GOTPAGE Lloh7: ldr x21, [x21, _INT_BIT_SW_GP_@GOTPAGEOFF] ldr w2, [x21] bl _lan743x_csr_write Lloh8: adrp x8, _INT_SET@GOTPAGE Lloh9: ldr x8, [x8, _INT_SET@GOTPAGEOFF] Lloh10: ldr w1, [x8] ldr w2, [x21] mov x0, x19 bl _lan743x_csr_write ldr x8, [x19] cbnz x8, LBB0_11 ; %bb.1: mov w0, #1000 mov w1, #20000 bl _usleep_range ldr x8, [x19] cbnz x8, LBB0_11 ; %bb.2: mov w0, #1000 mov w1, #20000 bl _usleep_range ldr x8, [x19] cbnz x8, LBB0_11 ; %bb.3: mov w0, #1000 mov w1, #20000 bl _usleep_range ldr x8, [x19] cbnz x8, LBB0_11 ; %bb.4: mov w0, #1000 mov w1, #20000 bl _usleep_range ldr x8, [x19] cbnz x8, LBB0_11 ; %bb.5: mov w0, #1000 mov w1, #20000 bl _usleep_range ldr x8, [x19] cbnz x8, LBB0_11 ; %bb.6: mov w0, #1000 mov w1, #20000 bl _usleep_range ldr x8, [x19] cbnz x8, LBB0_11 ; %bb.7: mov w0, #1000 mov w1, #20000 bl _usleep_range ldr x8, [x19] cbnz x8, LBB0_11 ; %bb.8: mov w0, #1000 mov w1, #20000 bl _usleep_range ldr x8, [x19] cbnz x8, LBB0_11 ; %bb.9: mov w0, #1000 mov w1, #20000 bl _usleep_range ldr x8, [x19] cbnz x8, LBB0_11 ; %bb.10: mov w0, #1000 mov w1, #20000 bl _usleep_range ldr x8, [x19] LBB0_11: cmp x8, #0 csneg w20, wzr, w20, ne Lloh11: adrp x8, _INT_EN_CLR@GOTPAGE Lloh12: ldr x8, [x8, _INT_EN_CLR@GOTPAGEOFF] Lloh13: ldr w1, [x8] ldr w2, [x21] mov x0, x19 bl _lan743x_csr_write mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _ENODEV,4,2 ; @ENODEV .comm _INT_EN_SET,4,2 ; @INT_EN_SET .comm _INT_BIT_SW_GP_,4,2 ; @INT_BIT_SW_GP_ .comm _INT_SET,4,2 ; @INT_SET .comm _INT_EN_CLR,4,2 ; @INT_EN_CLR .no_dead_strip _lan743x_intr_test_isr .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_main.c_lan743x_intr_test_isr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _user_system_get_systemd_unique_id ## -- Begin function user_system_get_systemd_unique_id .p2align 4, 0x90 _user_system_get_systemd_unique_id: ## @user_system_get_systemd_unique_id .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 leaq L_.str(%rip), %rdi xorl %esi, %esi xorl %eax, %eax callq _open testl %eax, %eax js LBB0_1 ## %bb.2: movl %eax, %ebx movl $32, %edx movl %eax, %edi movq %r14, %rsi callq _read xorl %r14d, %r14d cmpq $32, %rax setge %r14b movl %ebx, %edi callq _close leal (%r14,%r14), %eax addl $-2, %eax jmp LBB0_3 LBB0_1: movl $-1, %eax LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _user_system_get_primary_mac_address ## -- Begin function user_system_get_primary_mac_address .p2align 4, 0x90 _user_system_get_primary_mac_address: ## @user_system_get_primary_mac_address .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/etc/machine-id" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _user_system_get_systemd_unique_id ; -- Begin function user_system_get_systemd_unique_id .p2align 2 _user_system_get_systemd_unique_id: ; @user_system_get_systemd_unique_id .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov w1, #0 bl _open tbnz w0, #31, LBB0_2 ; %bb.1: mov x20, x0 mov x1, x19 mov w2, #32 bl _read mov x19, x0 mov x0, x20 bl _close cmp x19, #32 mov w8, #-2 csel w0, w8, wzr, lt b LBB0_3 LBB0_2: mov w0, #-1 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _user_system_get_primary_mac_address ; -- Begin function user_system_get_primary_mac_address .p2align 2 _user_system_get_primary_mac_address: ; @user_system_get_primary_mac_address .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/etc/machine-id" .subsections_via_symbols
the_stack_data/14611.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bwn_nphy_get_core_power_info ## -- Begin function bwn_nphy_get_core_power_info .p2align 4, 0x90 _bwn_nphy_get_core_power_info: ## @bwn_nphy_get_core_power_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testl %esi, %esi js LBB0_2 ## %bb.1: movq %rdx, %r15 movl %esi, %ebx movq (%rdi), %r14 movq _bwn_nphy_power_vars@GOTPCREL(%rip), %r13 movq (%r13), %rdi callq _nitems cmpl %ebx, %eax jle LBB0_2 ## %bb.3: movl 4(%r14), %r12d cmpl $3, %r12d jg LBB0_7 ## %bb.4: movq _ENXIO@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_2: movq _EINVAL@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %eax LBB0_6: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq (%r13), %r13 movl %ebx, %ebx movq %r15, %rdi xorl %esi, %esi movl $4, %edx callq _memset movl (%r14), %edi movl (%r13,%rbx,4), %esi movq %r15, %rdx callq _bhnd_nvram_getvar_uint8 testl %eax, %eax jne LBB0_6 ## %bb.8: leaq (,%rbx,4), %rsi addq %r13, %rsi movq %r14, %rdi movq %r15, %rdx addq $8, %rsp cmpl $10, %r12d ja LBB0_9 ## %bb.10: popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _bwn_nphy_get_core_power_info_r4_r10 ## TAILCALL LBB0_9: popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _bwn_nphy_get_core_power_info_r11 ## TAILCALL .cfi_endproc ## -- End function .comm _bwn_nphy_power_vars,8,3 ## @bwn_nphy_power_vars .comm _EINVAL,4,2 ## @EINVAL .comm _ENXIO,4,2 ## @ENXIO .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bwn_nphy_get_core_power_info ; -- Begin function bwn_nphy_get_core_power_info .p2align 2 _bwn_nphy_get_core_power_info: ; @bwn_nphy_get_core_power_info .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 tbnz w1, #31, LBB0_4 ; %bb.1: mov x19, x2 mov x21, x1 ldr x20, [x0] Lloh0: adrp x23, _bwn_nphy_power_vars@GOTPAGE Lloh1: ldr x23, [x23, _bwn_nphy_power_vars@GOTPAGEOFF] ldr x0, [x23] bl _nitems cmp w0, w21 b.le LBB0_4 ; %bb.2: ldr w22, [x20, #4] cmp w22, #3 b.gt LBB0_7 ; %bb.3: Lloh2: adrp x8, _ENXIO@GOTPAGE Lloh3: ldr x8, [x8, _ENXIO@GOTPAGEOFF] b LBB0_5 LBB0_4: Lloh4: adrp x8, _EINVAL@GOTPAGE Lloh5: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_5: ldr w0, [x8] LBB0_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_7: ldr x8, [x23] add x21, x8, w21, uxtw #2 mov x0, x19 mov w1, #0 mov w2, #4 bl _memset ldr w0, [x20] ldr w1, [x21] mov x2, x19 bl _bhnd_nvram_getvar_uint8 cbnz w0, LBB0_6 ; %bb.8: mov x0, x20 mov x1, x21 mov x2, x19 cmp w22, #10 b.hi LBB0_10 ; %bb.9: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _bwn_nphy_get_core_power_info_r4_r10 LBB0_10: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _bwn_nphy_get_core_power_info_r11 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _bwn_nphy_power_vars,8,3 ; @bwn_nphy_power_vars .comm _EINVAL,4,2 ; @EINVAL .comm _ENXIO,4,2 ; @ENXIO .subsections_via_symbols
AnghaBench/freebsd/sys/gnu/dev/bwn/phy_n/extr_if_bwn_phy_n_sprom.c_bwn_nphy_get_core_power_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _termflag_init ## -- Begin function termflag_init .p2align 4, 0x90 _termflag_init: ## @termflag_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb $0, _termflag(%rip) popq %rbp retq .cfi_endproc ## -- End function .globl _termflag_set ## -- Begin function termflag_set .p2align 4, 0x90 _termflag_set: ## @termflag_set .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb $1, _termflag(%rip) popq %rbp retq .cfi_endproc ## -- End function .globl _termflag_isset ## -- Begin function termflag_isset .p2align 4, 0x90 _termflag_isset: ## @termflag_isset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movzbl _termflag(%rip), %eax popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_termflag,1,2 ## @termflag .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _termflag_init ; -- Begin function termflag_init .p2align 2 _termflag_init: ; @termflag_init .cfi_startproc ; %bb.0: adrp x8, _termflag@PAGE strb wzr, [x8, _termflag@PAGEOFF] ret .cfi_endproc ; -- End function .globl _termflag_set ; -- Begin function termflag_set .p2align 2 _termflag_set: ; @termflag_set .cfi_startproc ; %bb.0: mov w8, #1 adrp x9, _termflag@PAGE strb w8, [x9, _termflag@PAGEOFF] ret .cfi_endproc ; -- End function .globl _termflag_isset ; -- Begin function termflag_isset .p2align 2 _termflag_isset: ; @termflag_isset .cfi_startproc ; %bb.0: adrp x8, _termflag@PAGE ldrb w0, [x8, _termflag@PAGEOFF] ret .cfi_endproc ; -- End function .zerofill __DATA,__bss,_termflag,1,2 ; @termflag .subsections_via_symbols
the_stack_data/145452019.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___do_panels_refreshOneShot ## -- Begin function __do_panels_refreshOneShot .p2align 4, 0x90 ___do_panels_refreshOneShot: ## @__do_panels_refreshOneShot .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq ___do_panels_refresh@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rdi, %rdx popq %rbp jmp _r_core_task_enqueue_oneshot ## TAILCALL .cfi_endproc ## -- End function .comm ___do_panels_refresh,8,3 ## @__do_panels_refresh .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___do_panels_refreshOneShot ; -- Begin function __do_panels_refreshOneShot .p2align 2 ___do_panels_refreshOneShot: ; @__do_panels_refreshOneShot .cfi_startproc ; %bb.0: Lloh0: adrp x8, ___do_panels_refresh@GOTPAGE Lloh1: ldr x8, [x8, ___do_panels_refresh@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x2, x0 b _r_core_task_enqueue_oneshot .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm ___do_panels_refresh,8,3 ; @__do_panels_refresh .subsections_via_symbols
AnghaBench/radare2/libr/core/extr_panels.c___do_panels_refreshOneShot.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/1148966.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lease_change_state ## -- Begin function lease_change_state .p2align 4, 0x90 _lease_change_state: ## @lease_change_state .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _lease_state@GOTPCREL(%rip), %rax cmpq %rdi, (%rax) je LBB0_2 ## %bb.1: movq %rdi, (%rax) movq _lease_ready_flag@GOTPCREL(%rip), %rax movq $0, (%rax) LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .comm _lease_state,8,3 ## @lease_state .comm _lease_ready_flag,8,3 ## @lease_ready_flag .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lease_change_state ; -- Begin function lease_change_state .p2align 2 _lease_change_state: ; @lease_change_state .cfi_startproc ; %bb.0: Lloh0: adrp x8, _lease_state@GOTPAGE Lloh1: ldr x8, [x8, _lease_state@GOTPAGEOFF] ldr x9, [x8] cmp x9, x0 b.eq LBB0_2 ; %bb.1: str x0, [x8] Lloh2: adrp x8, _lease_ready_flag@GOTPAGE Lloh3: ldr x8, [x8, _lease_ready_flag@GOTPAGEOFF] Lloh4: str xzr, [x8] LBB0_2: ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _lease_state,8,3 ; @lease_state .comm _lease_ready_flag,8,3 ; @lease_ready_flag .subsections_via_symbols
AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_lease_change_state.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function page_flag_type _page_flag_type: ## @page_flag_type .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _KPF_HACKERS_BITS@GOTPCREL(%rip), %rax movq _KPF_OVERLOADED_BITS@GOTPCREL(%rip), %rcx testl %edi, (%rcx) leaq L_.str.2(%rip), %rcx leaq L_.str.1(%rip), %rdx cmoveq %rcx, %rdx testl %edi, (%rax) leaq L_.str(%rip), %rax cmoveq %rdx, %rax popq %rbp retq .cfi_endproc ## -- End function .comm _KPF_HACKERS_BITS,4,2 ## @KPF_HACKERS_BITS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "(r)" .comm _KPF_OVERLOADED_BITS,4,2 ## @KPF_OVERLOADED_BITS L_.str.1: ## @.str.1 .asciz "(o)" L_.str.2: ## @.str.2 .asciz " " .no_dead_strip _page_flag_type .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function page_flag_type _page_flag_type: ; @page_flag_type .cfi_startproc ; %bb.0: Lloh0: adrp x8, _KPF_HACKERS_BITS@GOTPAGE Lloh1: ldr x8, [x8, _KPF_HACKERS_BITS@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _KPF_OVERLOADED_BITS@GOTPAGE Lloh4: ldr x9, [x9, _KPF_OVERLOADED_BITS@GOTPAGEOFF] Lloh5: ldr w9, [x9] Lloh6: adrp x10, l_.str.1@PAGE Lloh7: add x10, x10, l_.str.1@PAGEOFF Lloh8: adrp x11, l_.str.2@PAGE Lloh9: add x11, x11, l_.str.2@PAGEOFF tst w9, w0 csel x9, x11, x10, eq Lloh10: adrp x10, l_.str@PAGE Lloh11: add x10, x10, l_.str@PAGEOFF tst w8, w0 csel x0, x9, x10, eq ret .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _KPF_HACKERS_BITS,4,2 ; @KPF_HACKERS_BITS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "(r)" .comm _KPF_OVERLOADED_BITS,4,2 ; @KPF_OVERLOADED_BITS l_.str.1: ; @.str.1 .asciz "(o)" l_.str.2: ; @.str.2 .asciz " " .no_dead_strip _page_flag_type .subsections_via_symbols
AnghaBench/fastsocket/kernel/Documentation/vm/extr_page-types.c_page_flag_type.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mkstemp ## -- Begin function mkstemp .p2align 4, 0x90 _mkstemp: ## @mkstemp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L___func__.mkstemp(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rcx movl $6, %edx callq ___assert_rtn .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L___func__.mkstemp: ## @__func__.mkstemp .asciz "mkstemp" L_.str: ## @.str .asciz "44536.c" L_.str.1: ## @.str.1 .asciz "!\"mktemp() not implemented!\\n\"" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mkstemp ; -- Begin function mkstemp .p2align 2 _mkstemp: ; @mkstemp .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l___func__.mkstemp@PAGE Lloh1: add x0, x0, l___func__.mkstemp@PAGEOFF Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF Lloh4: adrp x3, l_.str.1@PAGE Lloh5: add x3, x3, l_.str.1@PAGEOFF mov w2, #6 bl ___assert_rtn .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l___func__.mkstemp: ; @__func__.mkstemp .asciz "mkstemp" l_.str: ; @.str .asciz "44536.c" l_.str.1: ; @.str.1 .asciz "!\"mktemp() not implemented!\\n\"" .subsections_via_symbols
the_stack_data/44536.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function adsp_load _adsp_load: ## @adsp_load .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 8(%rdi), %rax movl 16(%rax), %ecx movl (%rdi), %edx movl 12(%rax), %r8d movl 4(%rax), %r10d movl 8(%rax), %r9d movl %ecx, %edi xorl %ecx, %ecx pushq %rax pushq %r10 callq _qcom_mdt_load_no_init addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _adsp_load .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function adsp_load _adsp_load: ; @adsp_load .cfi_startproc ; %bb.0: ldr x7, [x0, #8] ldr w2, [x0] ldp w4, w0, [x7, #12] ldp w6, w5, [x7, #4] mov w3, #0 b _qcom_mdt_load_no_init .cfi_endproc ; -- End function .no_dead_strip _adsp_load .subsections_via_symbols
AnghaBench/linux/drivers/remoteproc/extr_qcom_q6v5_adsp.c_adsp_load.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 xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/181393949.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ath9k_hw_ar9287_get_eeprom _ath9k_hw_ar9287_get_eeprom: ## @ath9k_hw_ar9287_get_eeprom .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movq %rdi, %r14 callq _ath9k_hw_ar9287_get_eeprom_rev movl %eax, %ecx xorl %eax, %eax addl $-128, %ebx cmpl $14, %ebx ja LBB0_21 ## %bb.1: leaq LJTI0_0(%rip), %rdx movslq (%rdx,%rbx,4), %rsi addq %rdx, %rsi jmpq *%rsi LBB0_11: movl 20(%r14), %eax jmp LBB0_21 LBB0_17: movq _AR9287_EEP_MINOR_VER_3@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jl LBB0_21 ## %bb.18: movl (%r14), %eax jmp LBB0_21 LBB0_15: movq _AR9287_EEP_MINOR_VER_2@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jl LBB0_21 ## %bb.16: movl 4(%r14), %eax jmp LBB0_21 LBB0_12: movl 16(%r14), %eax jmp LBB0_21 LBB0_10: movl 24(%r14), %edi jmp LBB0_8 LBB0_7: movl 32(%r14), %edi jmp LBB0_8 LBB0_20: movq 64(%r14), %rax movl (%rax), %eax jmp LBB0_21 LBB0_4: movl 48(%r14), %edi addl $2, %edi jmp LBB0_3 LBB0_2: movl 48(%r14), %edi jmp LBB0_3 LBB0_19: movq _u8@GOTPCREL(%rip), %rax movl (%rax), %edi movq 56(%r14), %rax movl (%rax), %esi movl 4(%rax), %edx popq %rbx popq %r14 popq %rbp jmp _max_t ## TAILCALL LBB0_6: movq 40(%r14), %rax movl (%rax), %edi LBB0_8: popq %rbx popq %r14 popq %rbp jmp _le16_to_cpu ## TAILCALL LBB0_9: movl 28(%r14), %eax jmp LBB0_21 LBB0_14: movl 8(%r14), %eax jmp LBB0_21 LBB0_5: movl 48(%r14), %edi addl $4, %edi LBB0_3: popq %rbx popq %r14 popq %rbp jmp _get_unaligned_be16 ## TAILCALL LBB0_13: movl 12(%r14), %eax LBB0_21: popq %rbx popq %r14 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_12, LBB0_12-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_20, LBB0_20-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 LJTI0_0: .long L0_0_set_11 .long L0_0_set_17 .long L0_0_set_15 .long L0_0_set_12 .long L0_0_set_10 .long L0_0_set_6 .long L0_0_set_9 .long L0_0_set_7 .long L0_0_set_14 .long L0_0_set_20 .long L0_0_set_5 .long L0_0_set_4 .long L0_0_set_2 .long L0_0_set_13 .long L0_0_set_19 .end_data_region ## -- End function .comm _AR9287_EEP_MINOR_VER_2,4,2 ## @AR9287_EEP_MINOR_VER_2 .comm _AR9287_EEP_MINOR_VER_3,4,2 ## @AR9287_EEP_MINOR_VER_3 .comm _u8,4,2 ## @u8 .no_dead_strip _ath9k_hw_ar9287_get_eeprom .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ath9k_hw_ar9287_get_eeprom _ath9k_hw_ar9287_get_eeprom: ; @ath9k_hw_ar9287_get_eeprom .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 bl _ath9k_hw_ar9287_get_eeprom_rev sub w8, w20, #128 cmp w8, #14 b.hi LBB0_6 ; %bb.1: Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: ldr w0, [x19, #20] b LBB0_22 LBB0_3: Lloh2: adrp x8, _AR9287_EEP_MINOR_VER_3@GOTPAGE Lloh3: ldr x8, [x8, _AR9287_EEP_MINOR_VER_3@GOTPAGEOFF] Lloh4: ldr w8, [x8] cmp w0, w8 b.lt LBB0_6 ; %bb.4: ldr w0, [x19] b LBB0_22 LBB0_5: Lloh5: adrp x8, _AR9287_EEP_MINOR_VER_2@GOTPAGE Lloh6: ldr x8, [x8, _AR9287_EEP_MINOR_VER_2@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w0, w8 b.ge LBB0_21 LBB0_6: mov w0, #0 b LBB0_22 LBB0_7: ldr w0, [x19, #16] b LBB0_22 LBB0_8: ldr w0, [x19, #24] b LBB0_15 LBB0_9: ldr w0, [x19, #32] b LBB0_15 LBB0_10: ldr x8, [x19, #64] ldr w0, [x8] b LBB0_22 LBB0_11: ldr w8, [x19, #48] add w0, w8, #2 b LBB0_19 LBB0_12: ldr w0, [x19, #48] b LBB0_19 LBB0_13: Lloh8: adrp x8, _u8@GOTPAGE Lloh9: ldr x8, [x8, _u8@GOTPAGEOFF] Lloh10: ldr w0, [x8] ldr x8, [x19, #56] ldp w1, w2, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _max_t LBB0_14: ldr x8, [x19, #40] ldr w0, [x8] LBB0_15: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _le16_to_cpu LBB0_16: ldr w0, [x19, #28] b LBB0_22 LBB0_17: ldr w0, [x19, #8] b LBB0_22 LBB0_18: ldr w8, [x19, #48] add w0, w8, #4 LBB0_19: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _get_unaligned_be16 LBB0_20: ldr w0, [x19, #12] b LBB0_22 LBB0_21: ldr w0, [x19, #4] LBB0_22: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 .byte (LBB0_8-LBB0_2)>>2 .byte (LBB0_14-LBB0_2)>>2 .byte (LBB0_16-LBB0_2)>>2 .byte (LBB0_9-LBB0_2)>>2 .byte (LBB0_17-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 .byte (LBB0_18-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 .byte (LBB0_12-LBB0_2)>>2 .byte (LBB0_20-LBB0_2)>>2 .byte (LBB0_13-LBB0_2)>>2 ; -- End function .comm _AR9287_EEP_MINOR_VER_2,4,2 ; @AR9287_EEP_MINOR_VER_2 .comm _AR9287_EEP_MINOR_VER_3,4,2 ; @AR9287_EEP_MINOR_VER_3 .comm _u8,4,2 ; @u8 .no_dead_strip _ath9k_hw_ar9287_get_eeprom .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_eeprom_9287.c_ath9k_hw_ar9287_get_eeprom.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/6388037.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _conv_argb8888_bgr24 ## -- Begin function conv_argb8888_bgr24 .p2align 4, 0x90 _conv_argb8888_bgr24: ## @conv_argb8888_bgr24 .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 ## kill: def $edx killed $edx def $rdx movl %ecx, -48(%rbp) ## 4-byte Spill testl %ecx, %ecx jle LBB0_11 ## %bb.1: movq %rdi, %rbx leal -15(%rdx), %r10d movslq %r8d, %rax movq %rax, -96(%rbp) ## 8-byte Spill sarl $2, %r9d movslq %r9d, %rax movl %edx, %ecx negl %ecx movl %ecx, -44(%rbp) ## 4-byte Spill shlq $2, %rax movq %rax, -88(%rbp) ## 8-byte Spill xorl %ecx, %ecx movq %rdx, -104(%rbp) ## 8-byte Spill movl %r10d, -56(%rbp) ## 4-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movl -52(%rbp), %ecx ## 4-byte Reload incl %ecx movq -72(%rbp), %rbx ## 8-byte Reload movq -96(%rbp), %rax ## 8-byte Reload leaq (%rbx,%rax,8), %rbx addq -88(%rbp), %rsi ## 8-byte Folded Reload cmpl -48(%rbp), %ecx ## 4-byte Folded Reload je LBB0_11 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_9 Depth 2 movl %ecx, -52(%rbp) ## 4-byte Spill movq %rsi, -80(%rbp) ## 8-byte Spill movl $0, %r12d movq %rbx, -72(%rbp) ## 8-byte Spill cmpl $16, %edx jl LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 xorl %r12d, %r12d movq -80(%rbp), %r13 ## 8-byte Reload movq -72(%rbp), %rbx ## 8-byte Reload .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r13, %rdi callq __mm_loadu_si128 movl %eax, -60(%rbp) ## 4-byte Spill leaq 16(%r13), %rdi callq __mm_loadu_si128 movl %eax, %r15d leaq 32(%r13), %rdi callq __mm_loadu_si128 movl %eax, %r14d leaq 48(%r13), %rdi callq __mm_loadu_si128 movq %rbx, %rdi movl -60(%rbp), %esi ## 4-byte Reload movl %r15d, %edx movl %r14d, %ecx movl %eax, %r8d callq _store_bgr24_sse2 movl -56(%rbp), %r10d ## 4-byte Reload addq $384, %rbx ## imm = 0x180 addq $64, %r13 addl $16, %r12d cmpl %r12d, %r10d jg LBB0_4 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq -104(%rbp), %rdx ## 8-byte Reload cmpl %edx, %r12d movq -80(%rbp), %rsi ## 8-byte Reload jge LBB0_10 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %eax movl %edx, %ecx subl %r12d, %ecx testb $1, %cl je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movslq (%rsi,%rax,4), %rcx movq %rcx, (%rbx) movl %ecx, %edi sarl $8, %edi movslq %edi, %rdi movq %rdi, 8(%rbx) sarl $16, %ecx movslq %ecx, %rcx movq %rcx, 16(%rbx) addq $24, %rbx incq %rax LBB0_8: ## in Loop: Header=BB0_2 Depth=1 notl %r12d cmpl -44(%rbp), %r12d ## 4-byte Folded Reload je LBB0_10 .p2align 4, 0x90 LBB0_9: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movslq (%rsi,%rax,4), %rcx movq %rcx, (%rbx) movl %ecx, %edi sarl $8, %edi movslq %edi, %rdi movq %rdi, 8(%rbx) sarl $16, %ecx movslq %ecx, %rcx movq %rcx, 16(%rbx) movslq 4(%rsi,%rax,4), %rcx movq %rcx, 24(%rbx) movl %ecx, %edi sarl $8, %edi movslq %edi, %rdi movq %rdi, 32(%rbx) sarl $16, %ecx movslq %ecx, %rcx movq %rcx, 40(%rbx) addq $2, %rax addq $48, %rbx cmpl %edx, %eax jl LBB0_9 jmp LBB0_10 LBB0_11: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _conv_argb8888_bgr24 ; -- Begin function conv_argb8888_bgr24 .p2align 2 _conv_argb8888_bgr24: ; @conv_argb8888_bgr24 .cfi_startproc ; %bb.0: ; kill: def $w4 killed $w4 def $x4 cmp w3, #1 b.lt LBB0_10 ; %bb.1: mov w8, #0 sxtw x9, w4 asr w15, w5, #2 mov w10, w2 and x11, x10, #0xfffffff8 lsl x12, x10, #2 and x12, x12, #0x3ffffffe0 add x13, x0, #96 sbfiz x14, x4, #3, #32 sbfiz x15, x15, #2, #32 add x16, x11, x11, lsl #1 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add w8, w8, #1 add x0, x0, x9, lsl #3 add x13, x13, x14 add x1, x1, x15 cmp w8, w3 b.eq LBB0_10 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ; Child Loop BB0_9 Depth 2 cmp w2, #1 b.lt LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 cmp w2, #8 b.hs LBB0_6 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov x4, #0 mov x17, x0 b LBB0_9 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 mov x4, #0 add x17, x0, x16, lsl #3 mov x5, x13 LBB0_7: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 add x6, x1, x4 ldp d0, d1, [x6] sshll.2d v2, v0, #0 sshr.2s v5, v0, #8 sshll.2d v3, v5, #0 sshr.2s v0, v0, #16 sshll.2d v4, v0, #0 ldp d0, d5, [x6, #16] sshll.2d v16, v1, #0 sshr.2s v6, v1, #8 sshll.2d v17, v6, #0 sshr.2s v1, v1, #16 sshll.2d v18, v1, #0 sshll.2d v19, v0, #0 sshr.2s v1, v0, #8 sshll.2d v20, v1, #0 sshr.2s v0, v0, #16 sshll.2d v21, v0, #0 sshll.2d v22, v5, #0 sub x6, x5, #96 sub x7, x5, #48 st3.2d { v2, v3, v4 }, [x6] st3.2d { v16, v17, v18 }, [x7] sshr.2s v0, v5, #8 sshll.2d v23, v0, #0 sshr.2s v0, v5, #16 sshll.2d v24, v0, #0 add x6, x5, #192 st3.2d { v19, v20, v21 }, [x5], #48 st3.2d { v22, v23, v24 }, [x5] add x4, x4, #32 mov x5, x6 cmp x12, x4 b.ne LBB0_7 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 mov x4, x11 cmp x11, x10 b.eq LBB0_2 LBB0_9: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsw x5, [x1, x4, lsl #2] str x5, [x17] ; kill: def $w5 killed $w5 killed $x5 def $x5 sbfx x6, x5, #8, #24 sbfx x5, x5, #16, #16 stp x6, x5, [x17, #8] add x4, x4, #1 add x17, x17, #24 cmp x10, x4 b.ne LBB0_9 b LBB0_2 LBB0_10: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/RetroArch/libretro-common/gfx/scaler/extr_pixconv.c_conv_argb8888_bgr24.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _STAvClear802_11Counter ## -- Begin function STAvClear802_11Counter .p2align 4, 0x90 _STAvClear802_11Counter: ## @STAvClear802_11Counter .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %esi, %esi movl $4, %edx popq %rbp jmp _memset ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _STAvClear802_11Counter ; -- Begin function STAvClear802_11Counter .p2align 2 _STAvClear802_11Counter: ; @STAvClear802_11Counter .cfi_startproc ; %bb.0: mov w1, #0 mov w2, #4 b _memset .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/vt6656/extr_mib.c_STAvClear802_11Counter.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/629627.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function stbi__build_huffman _stbi__build_huffman: ## @stbi__build_huffman .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, %r13 xorl %edx, %edx xorl %r8d, %r8d jmp LBB0_1 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq %rcx, %rdx cmpq $16, %rcx je LBB0_6 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 leaq 1(%rdx), %rcx cmpl $0, (%rsi,%rdx,4) jle LBB0_5 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movslq %r8d, %rdi shlq $2, %rdi addq (%r13), %rdi xorl %eax, %eax .p2align 4, 0x90 LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl %ecx, (%rdi,%rax,4) incq %rax cmpl (%rsi,%rdx,4), %eax jl LBB0_3 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 addl %eax, %r8d jmp LBB0_5 LBB0_6: movq (%r13), %rdx movslq %r8d, %rax movl $0, (%rdx,%rax,4) movq 8(%r13), %r8 xorl %edi, %edi movl $1, %eax xorl %r15d, %r15d jmp LBB0_7 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_7 Depth=1 movb $16, %cl subb %al, %cl movl %edi, %esi shll %cl, %esi movq 24(%r13), %rcx movl %esi, (%rcx,%rax,4) addl %edi, %edi incq %rax cmpq $17, %rax je LBB0_12 LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_9 Depth 2 movl %r15d, %ecx subl %edi, %ecx movl %ecx, (%r8,%rax,4) movslq %r15d, %rsi movl (%rdx,%rsi,4), %ecx cmpq %rcx, %rax jne LBB0_11 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq 16(%r13), %rcx .p2align 4, 0x90 LBB0_9: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movl %edi, (%rcx,%rsi,4) movl 4(%rdx,%rsi,4), %ebx incq %rsi incl %edi cmpq %rbx, %rax je LBB0_9 ## %bb.10: ## in Loop: Header=BB0_7 Depth=1 movl $1, %ebx movl %eax, %ecx shll %cl, %ebx leal -1(%rdi), %ecx movl %esi, %r15d cmpl %ebx, %ecx jl LBB0_11 ## %bb.25: leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _stbi__err ## TAILCALL LBB0_12: movl $-1, 68(%rcx) movq 32(%r13), %rdi movq _FAST_BITS@GOTPCREL(%rip), %r12 movb (%r12), %cl movl $1, %r14d movl $1, %edx shll %cl, %edx movl $255, %esi callq _memset testl %r15d, %r15d jle LBB0_24 ## %bb.13: movl (%r12), %r10d movl %r15d, %r9d xorl %esi, %esi jmp LBB0_14 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_14 Depth=1 incq %rsi cmpq %r9, %rsi je LBB0_24 LBB0_14: ## =>This Loop Header: Depth=1 ## Child Loop BB0_19 Depth 2 ## Child Loop BB0_22 Depth 2 movq (%r13), %rax movl %r10d, %ecx subl (%rax,%rsi,4), %ecx jl LBB0_23 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 cmpl $31, %ecx je LBB0_23 ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 movl $1, %edx shll %cl, %edx movq 16(%r13), %rax movl (%rax,%rsi,4), %eax ## kill: def $cl killed $cl killed $ecx shll %cl, %eax cmpl $2, %edx cmovll %r14d, %edx movslq %eax, %r8 leaq -1(%rdx), %rax movl %edx, %ecx andl $3, %ecx cmpq $3, %rax jae LBB0_18 ## %bb.17: ## in Loop: Header=BB0_14 Depth=1 xorl %edi, %edi jmp LBB0_20 LBB0_18: ## in Loop: Header=BB0_14 Depth=1 andl $2147483644, %edx ## imm = 0x7FFFFFFC leaq (,%r8,8), %rax xorl %edi, %edi .p2align 4, 0x90 LBB0_19: ## Parent Loop BB0_14 Depth=1 ## => This Inner Loop Header: Depth=2 movq 32(%r13), %rbx addq %rax, %rbx movq %rsi, (%rbx,%rdi,8) movq 32(%r13), %rbx addq %rax, %rbx movq %rsi, 8(%rbx,%rdi,8) movq 32(%r13), %rbx addq %rax, %rbx movq %rsi, 16(%rbx,%rdi,8) movq 32(%r13), %rbx addq %rax, %rbx movq %rsi, 24(%rbx,%rdi,8) addq $4, %rdi cmpq %rdi, %rdx jne LBB0_19 LBB0_20: ## in Loop: Header=BB0_14 Depth=1 testq %rcx, %rcx je LBB0_23 ## %bb.21: ## in Loop: Header=BB0_14 Depth=1 addq %r8, %rdi .p2align 4, 0x90 LBB0_22: ## Parent Loop BB0_14 Depth=1 ## => This Inner Loop Header: Depth=2 movq 32(%r13), %rax movq %rsi, (%rax,%rdi,8) incq %rdi decq %rcx jne LBB0_22 jmp LBB0_23 LBB0_24: movl $1, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "bad code lengths" L_.str.1: ## @.str.1 .asciz "Corrupt JPEG" .comm _FAST_BITS,4,2 ## @FAST_BITS .no_dead_strip _stbi__build_huffman .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function stbi__build_huffman _stbi__build_huffman: ; @stbi__build_huffman .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 mov x9, #0 mov w10, #0 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 mov x9, x8 cmp x8, #16 b.eq LBB0_6 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 ldr w11, [x1, x9, lsl #2] add x8, x9, #1 cmp w11, #1 b.lt LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x11, #0 ldr x12, [x19] add x12, x12, w10, sxtw #2 LBB0_4: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 str w8, [x12, x11, lsl #2] ldr w13, [x1, x9, lsl #2] add x11, x11, #1 cmp w11, w13 b.lt LBB0_4 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 add w10, w10, w11 b LBB0_1 LBB0_6: mov w11, #0 mov w20, #0 ldp x8, x9, [x19] str wzr, [x8, w10, sxtw #2] add x10, x8, #4 mov w12, #1 mov w13, #16 mov w14, #1 b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 sub w15, w13, w14 lsl w16, w11, w15 ldr x15, [x19, #24] str w16, [x15, x14, lsl #2] lsl w11, w11, #1 add x14, x14, #1 cmp x14, #17 b.eq LBB0_13 LBB0_8: ; =>This Loop Header: Depth=1 ; Child Loop BB0_10 Depth 2 sub w15, w20, w11 str w15, [x9, x14, lsl #2] ldr w15, [x8, w20, sxtw #2] cmp x14, x15 b.ne LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 sxtw x15, w20 ldr x16, [x19, #16] lsl x17, x15, #2 add x15, x16, x17 add x16, x10, x17 LBB0_10: ; Parent Loop BB0_8 Depth=1 ; => This Inner Loop Header: Depth=2 str w11, [x15], #4 add w11, w11, #1 ldr w17, [x16], #4 add w20, w20, #1 cmp x14, x17 b.eq LBB0_10 ; %bb.11: ; in Loop: Header=BB0_8 Depth=1 lsl w15, w12, w14 sub w16, w11, #1 cmp w16, w15 b.lt LBB0_7 ; %bb.12: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _stbi__err LBB0_13: mov w8, #-1 str w8, [x15, #68] ldr x0, [x19, #32] Lloh4: adrp x22, _FAST_BITS@GOTPAGE Lloh5: ldr x22, [x22, _FAST_BITS@GOTPAGEOFF] ldr w8, [x22] mov w21, #1 lsl w2, w21, w8 mov w1, #255 bl _memset cmp w20, #1 b.lt LBB0_20 ; %bb.14: mov x8, #0 ldr w9, [x22] mov w10, w20 b LBB0_16 LBB0_15: ; in Loop: Header=BB0_16 Depth=1 add x8, x8, #1 cmp x8, x10 b.eq LBB0_20 LBB0_16: ; =>This Loop Header: Depth=1 ; Child Loop BB0_19 Depth 2 ldr x11, [x19] ldr w11, [x11, x8, lsl #2] subs w11, w9, w11 b.lt LBB0_15 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 cmp w11, #31 b.eq LBB0_15 ; %bb.18: ; in Loop: Header=BB0_16 Depth=1 lsl w12, w21, w11 ldr x13, [x19, #16] ldr w13, [x13, x8, lsl #2] lsl w13, w13, w11 cmp w12, #1 csinc w11, w12, wzr, gt sbfiz x12, x13, #3, #32 LBB0_19: ; Parent Loop BB0_16 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x13, [x19, #32] str x8, [x13, x12] add x12, x12, #8 subs x11, x11, #1 b.ne LBB0_19 b LBB0_15 LBB0_20: mov w0, #1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "bad code lengths" l_.str.1: ; @.str.1 .asciz "Corrupt JPEG" .comm _FAST_BITS,4,2 ; @FAST_BITS .no_dead_strip _stbi__build_huffman .subsections_via_symbols
AnghaBench/nuklear/example/extr_stb_image.h_stbi__build_huffman.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ab8500_vbus_in_curr_to_regval _ab8500_vbus_in_curr_to_regval: ## @ab8500_vbus_in_curr_to_regval .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rdx movq (%rdx), %rcx movl (%rcx), %edi xorl %eax, %eax cmpl %esi, %edi jg LBB0_8 ## %bb.1: movl 8(%rdx), %r8d testl %r8d, %r8d jle LBB0_7 ## %bb.2: movl $-1, %eax cmpl %esi, %edi jg LBB0_8 ## %bb.3: leaq -1(%r8), %rdi xorl %edx, %edx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 cmpq %rdx, %rdi je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 leaq 1(%rdx), %rax cmpl %esi, 4(%rcx,%rdx,4) movq %rax, %rdx jle LBB0_4 ## %bb.6: decl %eax LBB0_8: ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_7: movslq %r8d, %rax decl %r8d cmpl %esi, -4(%rcx,%rax,4) movl $-1, %eax cmovel %r8d, %eax ## kill: def $eax killed $eax killed $rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ab8500_vbus_in_curr_to_regval .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ab8500_vbus_in_curr_to_regval _ab8500_vbus_in_curr_to_regval: ; @ab8500_vbus_in_curr_to_regval .cfi_startproc ; %bb.0: ldr x9, [x0] ldr x8, [x9] ldr w10, [x8] cmp w10, w1 b.le LBB0_2 ; %bb.1: mov w0, #0 ret LBB0_2: ldr w9, [x9, #8] cmp w9, #1 b.lt LBB0_9 ; %bb.3: cmp w10, w1 b.le LBB0_5 ; %bb.4: mov w0, #-1 ret LBB0_5: add x10, x8, #4 sub x11, x9, #1 mov w0, #-1 LBB0_6: ; =>This Inner Loop Header: Depth=1 cbz x11, LBB0_9 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr w12, [x10], #4 add w0, w0, #1 sub x11, x11, #1 cmp w12, w1 b.le LBB0_6 ; %bb.8: ret LBB0_9: sub w9, w9, #1 ldr w8, [x8, w9, sxtw #2] cmp w8, w1 csinv w0, w9, wzr, eq ret .cfi_endproc ; -- End function .no_dead_strip _ab8500_vbus_in_curr_to_regval .subsections_via_symbols
AnghaBench/linux/drivers/power/supply/extr_ab8500_charger.c_ab8500_vbus_in_curr_to_regval.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function LoadCode _LoadCode: ## @LoadCode .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 callq _LoadInt movl %eax, %ebx movl (%r15), %edi movq _Instruction@GOTPCREL(%rip), %rax movl (%rax), %edx movl %ebx, %esi callq _luaM_newvector movl %eax, 4(%r14) movl %ebx, (%r14) movq %r15, %rdi movl %eax, %esi movl %ebx, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _LoadVector ## TAILCALL .cfi_endproc ## -- End function .comm _Instruction,4,2 ## @Instruction .no_dead_strip _LoadCode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function LoadCode _LoadCode: ; @LoadCode .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 bl _LoadInt mov x21, x0 ldr w0, [x20] Lloh0: adrp x8, _Instruction@GOTPAGE Lloh1: ldr x8, [x8, _Instruction@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x1, x21 bl _luaM_newvector mov x1, x0 stp w21, w0, [x19] mov x0, x20 mov x2, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _LoadVector .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _Instruction,4,2 ; @Instruction .no_dead_strip _LoadCode .subsections_via_symbols
AnghaBench/xLua/build/lua-5.3.5/src/extr_lundump.c_LoadCode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function of_bus_ambapp_get_flags _of_bus_ambapp_get_flags: ## @of_bus_ambapp_get_flags .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _IORESOURCE_MEM@GOTPCREL(%rip), %rax movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .comm _IORESOURCE_MEM,8,3 ## @IORESOURCE_MEM .no_dead_strip _of_bus_ambapp_get_flags .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function of_bus_ambapp_get_flags _of_bus_ambapp_get_flags: ; @of_bus_ambapp_get_flags .cfi_startproc ; %bb.0: Lloh0: adrp x8, _IORESOURCE_MEM@GOTPAGE Lloh1: ldr x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF] Lloh2: ldr x0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _IORESOURCE_MEM,8,3 ; @IORESOURCE_MEM .no_dead_strip _of_bus_ambapp_get_flags .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_of_device_32.c_of_bus_ambapp_get_flags.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gui_mch_maximized ## -- Begin function gui_mch_maximized .p2align 4, 0x90 _gui_mch_maximized: ## @gui_mch_maximized .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _gui@GOTPCREL(%rip), %rax movq (%rax), %rcx xorl %eax, %eax testq %rcx, %rcx je LBB0_3 ## %bb.1: movq (%rcx), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.2: callq _gdk_window_get_state movl %eax, %ecx movq _GDK_WINDOW_STATE_MAXIMIZED@GOTPCREL(%rip), %rdx xorl %eax, %eax testl %ecx, (%rdx) setne %al LBB0_3: popq %rbp retq .cfi_endproc ## -- End function .comm _gui,8,3 ## @gui .comm _GDK_WINDOW_STATE_MAXIMIZED,4,2 ## @GDK_WINDOW_STATE_MAXIMIZED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gui_mch_maximized ; -- Begin function gui_mch_maximized .p2align 2 _gui_mch_maximized: ; @gui_mch_maximized .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, _gui@GOTPAGE Lloh1: ldr x8, [x8, _gui@GOTPAGEOFF] Lloh2: ldr x8, [x8] cbz x8, LBB0_4 ; %bb.1: ldr x0, [x8] cbz x0, LBB0_3 ; %bb.2: bl _gdk_window_get_state Lloh3: adrp x8, _GDK_WINDOW_STATE_MAXIMIZED@GOTPAGE Lloh4: ldr x8, [x8, _GDK_WINDOW_STATE_MAXIMIZED@GOTPAGEOFF] Lloh5: ldr w8, [x8] tst w8, w0 cset w0, ne LBB0_3: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_4: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _gui,8,3 ; @gui .comm _GDK_WINDOW_STATE_MAXIMIZED,4,2 ; @GDK_WINDOW_STATE_MAXIMIZED .subsections_via_symbols
AnghaBench/vim.js/src/extr_gui_gtk_x11.c_gui_mch_maximized.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sb_set_input_parms _sb_set_input_parms: ## @sb_set_input_parms .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _audio_devs@GOTPCREL(%rip), %rax movq (%rax), %rax movslq %edi, %rdi movq (%rax,%rdi,8), %rax movq (%rax), %rax cmpl $0, 56(%rax) je LBB0_2 ## %bb.1: movq (%rax), %r8 movq _AFMT_S16_LE@GOTPCREL(%rip), %rdi cmpq (%rdi), %r8 jne LBB0_2 ## %bb.3: movq %rsi, 24(%rax) movl %edx, 32(%rax) movl %ecx, 36(%rax) movq _IMODE_INPUT@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rcx, 40(%rax) popq %rbp retq LBB0_2: movq %rsi, 8(%rax) movl %edx, 16(%rax) movl %ecx, 20(%rax) movq _IMODE_INPUT@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rcx, 48(%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _audio_devs,8,3 ## @audio_devs .comm _AFMT_S16_LE,8,3 ## @AFMT_S16_LE .comm _IMODE_INPUT,8,3 ## @IMODE_INPUT .no_dead_strip _sb_set_input_parms .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sb_set_input_parms _sb_set_input_parms: ; @sb_set_input_parms .cfi_startproc ; %bb.0: Lloh0: adrp x8, _audio_devs@GOTPAGE Lloh1: ldr x8, [x8, _audio_devs@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x8, [x8, w0, sxtw #3] ldr x8, [x8] ldr w9, [x8, #56] cbz w9, LBB0_3 ; %bb.1: ldr x9, [x8] Lloh3: adrp x10, _AFMT_S16_LE@GOTPAGE Lloh4: ldr x10, [x10, _AFMT_S16_LE@GOTPAGEOFF] Lloh5: ldr x10, [x10] cmp x9, x10 b.ne LBB0_3 ; %bb.2: str x1, [x8, #24] stp w2, w3, [x8, #32] Lloh6: adrp x9, _IMODE_INPUT@GOTPAGE Lloh7: ldr x9, [x9, _IMODE_INPUT@GOTPAGEOFF] Lloh8: ldr x9, [x9] str x9, [x8, #40] ret LBB0_3: str x1, [x8, #8] stp w2, w3, [x8, #16] Lloh9: adrp x9, _IMODE_INPUT@GOTPAGE Lloh10: ldr x9, [x9, _IMODE_INPUT@GOTPAGEOFF] Lloh11: ldr x9, [x9] str x9, [x8, #48] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _audio_devs,8,3 ; @audio_devs .comm _AFMT_S16_LE,8,3 ; @AFMT_S16_LE .comm _IMODE_INPUT,8,3 ; @IMODE_INPUT .no_dead_strip _sb_set_input_parms .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/oss/extr_sb_audio.c_sb_set_input_parms.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sym_tune_dev_queuing _sym_tune_dev_queuing: ## @sym_tune_dev_queuing .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, %rbx movq %rdi, %r14 callq _sym_lp testq %rax, %rax je LBB0_2 ## %bb.1: movq 8(%rax), %rcx cmpq %rbx, %rcx cmovlq %rcx, %rbx cmpq (%rax), %rbx movq %rbx, (%rax) jne LBB0_3 LBB0_2: popq %rbx popq %r14 popq %rbp retq LBB0_3: movq (%r14), %rdi testq %rbx, %rbx leaq L_.str.2(%rip), %rax leaq L_.str.1(%rip), %rdx cmoveq %rax, %rdx leaq L_.str(%rip), %rsi movq %rbx, %rcx popq %rbx popq %r14 popq %rbp jmp _dev_info ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "tagged command queuing %s, command queue depth %d.\n" L_.str.1: ## @.str.1 .asciz "enabled" L_.str.2: ## @.str.2 .asciz "disabled" .no_dead_strip _sym_tune_dev_queuing .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sym_tune_dev_queuing _sym_tune_dev_queuing: ; @sym_tune_dev_queuing .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, x2 mov x19, x0 bl _sym_lp cbz x0, LBB0_2 ; %bb.1: ldp x8, x9, [x0] cmp x9, x20 csel x3, x9, x20, lt str x3, [x0] cmp x3, x8 b.ne 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: ldr x0, [x19] Lloh0: adrp x8, l_.str.1@PAGE Lloh1: add x8, x8, l_.str.1@PAGEOFF Lloh2: adrp x9, l_.str.2@PAGE Lloh3: add x9, x9, l_.str.2@PAGEOFF cmp x3, #0 csel x2, x9, x8, eq Lloh4: adrp x1, l_.str@PAGE Lloh5: add x1, x1, l_.str@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _dev_info .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "tagged command queuing %s, command queue depth %d.\n" l_.str.1: ; @.str.1 .asciz "enabled" l_.str.2: ; @.str.2 .asciz "disabled" .no_dead_strip _sym_tune_dev_queuing .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/sym53c8xx_2/extr_sym_glue.c_sym_tune_dev_queuing.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/1108457.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ath5k_hw_proc_5210_rx_status _ath5k_hw_proc_5210_rx_status: ## @ath5k_hw_proc_5210_rx_status .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %r15 movq _AR5K_5210_RX_DESC_STATUS1_DONE@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %edi, %edi andl (%rsi), %eax sete %dil callq _unlikely testq %rax, %rax je LBB0_2 ## %bb.1: movq _EINPROGRESS@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx jmp LBB0_18 LBB0_2: movq %r14, %rdi xorl %esi, %esi movl $56, %edx callq _memset movl 4(%r12), %edi movq _AR5K_5210_RX_DESC_STATUS0_DATA_LEN@GOTPCREL(%rip), %rax movl (%rax), %eax andl %edi, %eax movl %eax, (%r14) movq _AR5K_5210_RX_DESC_STATUS0_RECEIVE_SIGNAL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _AR5K_REG_MS movq %rax, 48(%r14) movl 4(%r12), %edi movq _AR5K_5210_RX_DESC_STATUS0_RECEIVE_RATE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _AR5K_REG_MS movq %rax, 40(%r14) movq _AR5K_5210_RX_DESC_STATUS0_MORE@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %ecx, %ecx andl 4(%r12), %eax setne %cl movl %ecx, 4(%r14) movl (%r12), %edi movq _AR5K_5210_RX_DESC_STATUS1_RECEIVE_TIMESTAMP@GOTPCREL(%rip), %rax movl (%rax), %esi callq _AR5K_REG_MS movq %rax, 32(%r14) movq (%r15), %rax movq _AR5K_AR5211@GOTPCREL(%rip), %rcx movl 4(%r12), %edi cmpq (%rcx), %rax jne LBB0_4 ## %bb.3: movq _AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5211@GOTPCREL(%rip), %rax movl (%rax), %esi callq _AR5K_REG_MS jmp LBB0_5 LBB0_4: movq _AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5210@GOTPCREL(%rip), %rax andl (%rax), %edi cmpl $1, %edi movl $2, %eax sbbl $0, %eax LBB0_5: movl %eax, 8(%r14) movl (%r12), %edi movq _AR5K_5210_RX_DESC_STATUS1_KEY_INDEX_VALID@GOTPCREL(%rip), %rax testl %edi, (%rax) je LBB0_7 ## %bb.6: movq _AR5K_5210_RX_DESC_STATUS1_KEY_INDEX@GOTPCREL(%rip), %rax movl (%rax), %esi callq _AR5K_REG_MS jmp LBB0_8 LBB0_7: movq _AR5K_RXKEYIX_INVALID@GOTPCREL(%rip), %rax movq (%rax), %rax LBB0_8: movq %rax, 24(%r14) movl (%r12), %edi movq _AR5K_5210_RX_DESC_STATUS1_FRAME_RECEIVE_OK@GOTPCREL(%rip), %rax xorl %ebx, %ebx testl %edi, (%rax) jne LBB0_18 ## %bb.9: movq _AR5K_5210_RX_DESC_STATUS1_CRC_ERROR@GOTPCREL(%rip), %rax testl %edi, (%rax) je LBB0_11 ## %bb.10: movq _AR5K_RXERR_CRC@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 12(%r14) LBB0_11: movq (%r15), %rax movq _AR5K_AR5210@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_14 ## %bb.12: movq _AR5K_5210_RX_DESC_STATUS1_FIFO_OVERRUN_5210@GOTPCREL(%rip), %rax testl %edi, (%rax) je LBB0_14 ## %bb.13: movq _AR5K_RXERR_FIFO@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 12(%r14) LBB0_14: movq _AR5K_5210_RX_DESC_STATUS1_PHY_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi testl %edi, %esi je LBB0_16 ## %bb.15: movq _AR5K_RXERR_PHY@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 12(%r14) callq _AR5K_REG_MS movq %rax, 16(%r14) movl (%r12), %edi LBB0_16: movq _AR5K_5210_RX_DESC_STATUS1_DECRYPT_CRC_ERROR@GOTPCREL(%rip), %rax testl %edi, (%rax) je LBB0_18 ## %bb.17: movq _AR5K_RXERR_DECRYPT@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 12(%r14) LBB0_18: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AR5K_5210_RX_DESC_STATUS1_DONE,4,2 ## @AR5K_5210_RX_DESC_STATUS1_DONE .comm _EINPROGRESS,4,2 ## @EINPROGRESS .comm _AR5K_5210_RX_DESC_STATUS0_DATA_LEN,4,2 ## @AR5K_5210_RX_DESC_STATUS0_DATA_LEN .comm _AR5K_5210_RX_DESC_STATUS0_RECEIVE_SIGNAL,4,2 ## @AR5K_5210_RX_DESC_STATUS0_RECEIVE_SIGNAL .comm _AR5K_5210_RX_DESC_STATUS0_RECEIVE_RATE,4,2 ## @AR5K_5210_RX_DESC_STATUS0_RECEIVE_RATE .comm _AR5K_5210_RX_DESC_STATUS0_MORE,4,2 ## @AR5K_5210_RX_DESC_STATUS0_MORE .comm _AR5K_5210_RX_DESC_STATUS1_RECEIVE_TIMESTAMP,4,2 ## @AR5K_5210_RX_DESC_STATUS1_RECEIVE_TIMESTAMP .comm _AR5K_AR5211,8,3 ## @AR5K_AR5211 .comm _AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5211,4,2 ## @AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5211 .comm _AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5210,4,2 ## @AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5210 .comm _AR5K_5210_RX_DESC_STATUS1_KEY_INDEX_VALID,4,2 ## @AR5K_5210_RX_DESC_STATUS1_KEY_INDEX_VALID .comm _AR5K_5210_RX_DESC_STATUS1_KEY_INDEX,4,2 ## @AR5K_5210_RX_DESC_STATUS1_KEY_INDEX .comm _AR5K_RXKEYIX_INVALID,8,3 ## @AR5K_RXKEYIX_INVALID .comm _AR5K_5210_RX_DESC_STATUS1_FRAME_RECEIVE_OK,4,2 ## @AR5K_5210_RX_DESC_STATUS1_FRAME_RECEIVE_OK .comm _AR5K_5210_RX_DESC_STATUS1_CRC_ERROR,4,2 ## @AR5K_5210_RX_DESC_STATUS1_CRC_ERROR .comm _AR5K_RXERR_CRC,4,2 ## @AR5K_RXERR_CRC .comm _AR5K_AR5210,8,3 ## @AR5K_AR5210 .comm _AR5K_5210_RX_DESC_STATUS1_FIFO_OVERRUN_5210,4,2 ## @AR5K_5210_RX_DESC_STATUS1_FIFO_OVERRUN_5210 .comm _AR5K_RXERR_FIFO,4,2 ## @AR5K_RXERR_FIFO .comm _AR5K_5210_RX_DESC_STATUS1_PHY_ERROR,4,2 ## @AR5K_5210_RX_DESC_STATUS1_PHY_ERROR .comm _AR5K_RXERR_PHY,4,2 ## @AR5K_RXERR_PHY .comm _AR5K_5210_RX_DESC_STATUS1_DECRYPT_CRC_ERROR,4,2 ## @AR5K_5210_RX_DESC_STATUS1_DECRYPT_CRC_ERROR .comm _AR5K_RXERR_DECRYPT,4,2 ## @AR5K_RXERR_DECRYPT .no_dead_strip _ath5k_hw_proc_5210_rx_status .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ath5k_hw_proc_5210_rx_status _ath5k_hw_proc_5210_rx_status: ; @ath5k_hw_proc_5210_rx_status .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 ldr w8, [x1] Lloh0: adrp x9, _AR5K_5210_RX_DESC_STATUS1_DONE@GOTPAGE Lloh1: ldr x9, [x9, _AR5K_5210_RX_DESC_STATUS1_DONE@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 cset w0, eq bl _unlikely cbz x0, LBB0_2 ; %bb.1: Lloh3: adrp x8, _EINPROGRESS@GOTPAGE Lloh4: ldr x8, [x8, _EINPROGRESS@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w0, w8 b LBB0_19 LBB0_2: mov x0, x19 mov w1, #0 mov w2, #56 bl _memset ldr w0, [x20, #4] Lloh6: adrp x8, _AR5K_5210_RX_DESC_STATUS0_DATA_LEN@GOTPAGE Lloh7: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS0_DATA_LEN@GOTPAGEOFF] Lloh8: ldr w8, [x8] and w8, w8, w0 str w8, [x19] Lloh9: adrp x8, _AR5K_5210_RX_DESC_STATUS0_RECEIVE_SIGNAL@GOTPAGE Lloh10: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS0_RECEIVE_SIGNAL@GOTPAGEOFF] Lloh11: ldr w1, [x8] bl _AR5K_REG_MS str x0, [x19, #48] ldr w0, [x20, #4] Lloh12: adrp x8, _AR5K_5210_RX_DESC_STATUS0_RECEIVE_RATE@GOTPAGE Lloh13: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS0_RECEIVE_RATE@GOTPAGEOFF] Lloh14: ldr w1, [x8] bl _AR5K_REG_MS str x0, [x19, #40] Lloh15: adrp x8, _AR5K_5210_RX_DESC_STATUS0_MORE@GOTPAGE Lloh16: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS0_MORE@GOTPAGEOFF] Lloh17: ldr w8, [x8] ldp w0, w9, [x20] tst w8, w9 cset w8, ne str w8, [x19, #4] Lloh18: adrp x8, _AR5K_5210_RX_DESC_STATUS1_RECEIVE_TIMESTAMP@GOTPAGE Lloh19: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS1_RECEIVE_TIMESTAMP@GOTPAGEOFF] Lloh20: ldr w1, [x8] bl _AR5K_REG_MS str x0, [x19, #32] ldr x8, [x21] Lloh21: adrp x9, _AR5K_AR5211@GOTPAGE Lloh22: ldr x9, [x9, _AR5K_AR5211@GOTPAGEOFF] Lloh23: ldr x9, [x9] ldr w0, [x20, #4] cmp x8, x9 b.ne LBB0_4 ; %bb.3: Lloh24: adrp x8, _AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5211@GOTPAGE Lloh25: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5211@GOTPAGEOFF] Lloh26: ldr w1, [x8] bl _AR5K_REG_MS b LBB0_5 LBB0_4: Lloh27: adrp x8, _AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5210@GOTPAGE Lloh28: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5210@GOTPAGEOFF] Lloh29: ldr w8, [x8] tst w8, w0 mov w8, #1 cinc w0, w8, ne LBB0_5: str w0, [x19, #8] ldr w0, [x20] Lloh30: adrp x8, _AR5K_5210_RX_DESC_STATUS1_KEY_INDEX_VALID@GOTPAGE Lloh31: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS1_KEY_INDEX_VALID@GOTPAGEOFF] Lloh32: ldr w8, [x8] tst w8, w0 b.eq LBB0_7 ; %bb.6: Lloh33: adrp x8, _AR5K_5210_RX_DESC_STATUS1_KEY_INDEX@GOTPAGE Lloh34: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS1_KEY_INDEX@GOTPAGEOFF] Lloh35: ldr w1, [x8] bl _AR5K_REG_MS b LBB0_8 LBB0_7: Lloh36: adrp x8, _AR5K_RXKEYIX_INVALID@GOTPAGE Lloh37: ldr x8, [x8, _AR5K_RXKEYIX_INVALID@GOTPAGEOFF] Lloh38: ldr x0, [x8] LBB0_8: str x0, [x19, #24] ldr w0, [x20] Lloh39: adrp x8, _AR5K_5210_RX_DESC_STATUS1_FRAME_RECEIVE_OK@GOTPAGE Lloh40: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS1_FRAME_RECEIVE_OK@GOTPAGEOFF] Lloh41: ldr w8, [x8] tst w8, w0 b.eq LBB0_10 LBB0_9: mov w0, #0 b LBB0_19 LBB0_10: Lloh42: adrp x8, _AR5K_5210_RX_DESC_STATUS1_CRC_ERROR@GOTPAGE Lloh43: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS1_CRC_ERROR@GOTPAGEOFF] Lloh44: ldr w8, [x8] tst w8, w0 b.eq LBB0_12 ; %bb.11: Lloh45: adrp x8, _AR5K_RXERR_CRC@GOTPAGE Lloh46: ldr x8, [x8, _AR5K_RXERR_CRC@GOTPAGEOFF] Lloh47: ldr w8, [x8] ldr w9, [x19, #12] orr w8, w9, w8 str w8, [x19, #12] LBB0_12: ldr x8, [x21] Lloh48: adrp x9, _AR5K_AR5210@GOTPAGE Lloh49: ldr x9, [x9, _AR5K_AR5210@GOTPAGEOFF] Lloh50: ldr x9, [x9] cmp x8, x9 b.ne LBB0_15 ; %bb.13: Lloh51: adrp x8, _AR5K_5210_RX_DESC_STATUS1_FIFO_OVERRUN_5210@GOTPAGE Lloh52: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS1_FIFO_OVERRUN_5210@GOTPAGEOFF] Lloh53: ldr w8, [x8] tst w8, w0 b.eq LBB0_15 ; %bb.14: Lloh54: adrp x8, _AR5K_RXERR_FIFO@GOTPAGE Lloh55: ldr x8, [x8, _AR5K_RXERR_FIFO@GOTPAGEOFF] Lloh56: ldr w8, [x8] ldr w9, [x19, #12] orr w8, w9, w8 str w8, [x19, #12] LBB0_15: Lloh57: adrp x8, _AR5K_5210_RX_DESC_STATUS1_PHY_ERROR@GOTPAGE Lloh58: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS1_PHY_ERROR@GOTPAGEOFF] Lloh59: ldr w1, [x8] tst w1, w0 b.eq LBB0_17 ; %bb.16: Lloh60: adrp x8, _AR5K_RXERR_PHY@GOTPAGE Lloh61: ldr x8, [x8, _AR5K_RXERR_PHY@GOTPAGEOFF] Lloh62: ldr w8, [x8] ldr w9, [x19, #12] orr w8, w9, w8 str w8, [x19, #12] bl _AR5K_REG_MS str x0, [x19, #16] ldr w0, [x20] LBB0_17: Lloh63: adrp x8, _AR5K_5210_RX_DESC_STATUS1_DECRYPT_CRC_ERROR@GOTPAGE Lloh64: ldr x8, [x8, _AR5K_5210_RX_DESC_STATUS1_DECRYPT_CRC_ERROR@GOTPAGEOFF] Lloh65: ldr w8, [x8] tst w8, w0 b.eq LBB0_9 ; %bb.18: mov w0, #0 Lloh66: adrp x8, _AR5K_RXERR_DECRYPT@GOTPAGE Lloh67: ldr x8, [x8, _AR5K_RXERR_DECRYPT@GOTPAGEOFF] Lloh68: ldr w8, [x8] ldr w9, [x19, #12] orr w8, w9, w8 str w8, [x19, #12] LBB0_19: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh36, 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 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62 .loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68 .cfi_endproc ; -- End function .comm _AR5K_5210_RX_DESC_STATUS1_DONE,4,2 ; @AR5K_5210_RX_DESC_STATUS1_DONE .comm _EINPROGRESS,4,2 ; @EINPROGRESS .comm _AR5K_5210_RX_DESC_STATUS0_DATA_LEN,4,2 ; @AR5K_5210_RX_DESC_STATUS0_DATA_LEN .comm _AR5K_5210_RX_DESC_STATUS0_RECEIVE_SIGNAL,4,2 ; @AR5K_5210_RX_DESC_STATUS0_RECEIVE_SIGNAL .comm _AR5K_5210_RX_DESC_STATUS0_RECEIVE_RATE,4,2 ; @AR5K_5210_RX_DESC_STATUS0_RECEIVE_RATE .comm _AR5K_5210_RX_DESC_STATUS0_MORE,4,2 ; @AR5K_5210_RX_DESC_STATUS0_MORE .comm _AR5K_5210_RX_DESC_STATUS1_RECEIVE_TIMESTAMP,4,2 ; @AR5K_5210_RX_DESC_STATUS1_RECEIVE_TIMESTAMP .comm _AR5K_AR5211,8,3 ; @AR5K_AR5211 .comm _AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5211,4,2 ; @AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5211 .comm _AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5210,4,2 ; @AR5K_5210_RX_DESC_STATUS0_RECEIVE_ANT_5210 .comm _AR5K_5210_RX_DESC_STATUS1_KEY_INDEX_VALID,4,2 ; @AR5K_5210_RX_DESC_STATUS1_KEY_INDEX_VALID .comm _AR5K_5210_RX_DESC_STATUS1_KEY_INDEX,4,2 ; @AR5K_5210_RX_DESC_STATUS1_KEY_INDEX .comm _AR5K_RXKEYIX_INVALID,8,3 ; @AR5K_RXKEYIX_INVALID .comm _AR5K_5210_RX_DESC_STATUS1_FRAME_RECEIVE_OK,4,2 ; @AR5K_5210_RX_DESC_STATUS1_FRAME_RECEIVE_OK .comm _AR5K_5210_RX_DESC_STATUS1_CRC_ERROR,4,2 ; @AR5K_5210_RX_DESC_STATUS1_CRC_ERROR .comm _AR5K_RXERR_CRC,4,2 ; @AR5K_RXERR_CRC .comm _AR5K_AR5210,8,3 ; @AR5K_AR5210 .comm _AR5K_5210_RX_DESC_STATUS1_FIFO_OVERRUN_5210,4,2 ; @AR5K_5210_RX_DESC_STATUS1_FIFO_OVERRUN_5210 .comm _AR5K_RXERR_FIFO,4,2 ; @AR5K_RXERR_FIFO .comm _AR5K_5210_RX_DESC_STATUS1_PHY_ERROR,4,2 ; @AR5K_5210_RX_DESC_STATUS1_PHY_ERROR .comm _AR5K_RXERR_PHY,4,2 ; @AR5K_RXERR_PHY .comm _AR5K_5210_RX_DESC_STATUS1_DECRYPT_CRC_ERROR,4,2 ; @AR5K_5210_RX_DESC_STATUS1_DECRYPT_CRC_ERROR .comm _AR5K_RXERR_DECRYPT,4,2 ; @AR5K_RXERR_DECRYPT .no_dead_strip _ath5k_hw_proc_5210_rx_status .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_desc.c_ath5k_hw_proc_5210_rx_status.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xhci_init ## -- Begin function xhci_init .p2align 4, 0x90 _xhci_init: ## @xhci_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 callq _hcd_to_xhci movq %rax, %rbx leaq L_.str(%rip), %rsi movq %rax, %rdi callq _xhci_dbg leaq 8(%rbx), %rdi callq _spin_lock_init cmpl $149, (%rbx) jne LBB0_3 ## %bb.1: movq _link_quirk@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_3 ## %bb.2: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _xhci_dbg movq _XHCI_LINK_TRB_QUIRK@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 4(%rbx) jmp LBB0_4 LBB0_3: leaq L_.str.2(%rip), %rsi movq %rbx, %rdi callq _xhci_dbg LBB0_4: movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _xhci_mem_init movl %eax, %r14d leaq L_.str.3(%rip), %rsi movq %rbx, %rdi callq _xhci_dbg xorl %eax, %eax callq _compliance_mode_recovery_timer_quirk_check testq %rax, %rax je LBB0_6 ## %bb.5: movq _XHCI_COMP_MODE_QUIRK@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 4(%rbx) movq %rbx, %rdi callq _compliance_mode_recovery_timer_init LBB0_6: movl %r14d, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "xhci_init\n" .comm _link_quirk,8,3 ## @link_quirk L_.str.1: ## @.str.1 .asciz "QUIRK: Not clearing Link TRB chain bits.\n" .comm _XHCI_LINK_TRB_QUIRK,4,2 ## @XHCI_LINK_TRB_QUIRK L_.str.2: ## @.str.2 .asciz "xHCI doesn't need link TRB QUIRK\n" .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL L_.str.3: ## @.str.3 .asciz "Finished xhci_init\n" .comm _XHCI_COMP_MODE_QUIRK,4,2 ## @XHCI_COMP_MODE_QUIRK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xhci_init ; -- Begin function xhci_init .p2align 2 _xhci_init: ; @xhci_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 bl _hcd_to_xhci mov x19, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _xhci_dbg add x0, x19, #8 bl _spin_lock_init ldr w8, [x19] Lloh2: adrp x9, _link_quirk@GOTPAGE Lloh3: ldr x9, [x9, _link_quirk@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp w8, #149 ccmp x9, #0, #4, eq b.ne LBB0_2 ; %bb.1: Lloh5: adrp x1, l_.str.2@PAGE Lloh6: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _xhci_dbg b LBB0_3 LBB0_2: Lloh7: adrp x1, l_.str.1@PAGE Lloh8: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _xhci_dbg Lloh9: adrp x8, _XHCI_LINK_TRB_QUIRK@GOTPAGE Lloh10: ldr x8, [x8, _XHCI_LINK_TRB_QUIRK@GOTPAGEOFF] Lloh11: ldr w8, [x8] ldr w9, [x19, #4] orr w8, w9, w8 str w8, [x19, #4] LBB0_3: Lloh12: adrp x8, _GFP_KERNEL@GOTPAGE Lloh13: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh14: ldr w1, [x8] mov x0, x19 bl _xhci_mem_init mov x20, x0 Lloh15: adrp x1, l_.str.3@PAGE Lloh16: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _xhci_dbg bl _compliance_mode_recovery_timer_quirk_check cbz x0, LBB0_5 ; %bb.4: Lloh17: adrp x8, _XHCI_COMP_MODE_QUIRK@GOTPAGE Lloh18: ldr x8, [x8, _XHCI_COMP_MODE_QUIRK@GOTPAGEOFF] Lloh19: ldr w8, [x8] ldr w9, [x19, #4] orr w8, w9, w8 str w8, [x19, #4] mov x0, x19 bl _compliance_mode_recovery_timer_init LBB0_5: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "xhci_init\n" .comm _link_quirk,8,3 ; @link_quirk l_.str.1: ; @.str.1 .asciz "QUIRK: Not clearing Link TRB chain bits.\n" .comm _XHCI_LINK_TRB_QUIRK,4,2 ; @XHCI_LINK_TRB_QUIRK l_.str.2: ; @.str.2 .asciz "xHCI doesn't need link TRB QUIRK\n" .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL l_.str.3: ; @.str.3 .asciz "Finished xhci_init\n" .comm _XHCI_COMP_MODE_QUIRK,4,2 ; @XHCI_COMP_MODE_QUIRK .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/usb/host/extr_xhci.c_xhci_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lookup_processor ## -- Begin function lookup_processor .p2align 4, 0x90 _lookup_processor: ## @lookup_processor .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx callq _lookup_processor_type testq %rax, %rax je LBB0_1 ## %bb.3: addq $8, %rsp popq %rbx popq %rbp retq LBB0_1: xorl %eax, %eax callq _smp_processor_id leaq L_.str(%rip), %rdi movl %eax, %esi movl %ebx, %edx callq _pr_err .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 jmp LBB0_2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "CPU%u: configuration botched (ID %08x), CPU halted\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lookup_processor ; -- Begin function lookup_processor .p2align 2 _lookup_processor: ; @lookup_processor .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 _lookup_processor_type cbz x0, 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: bl _smp_processor_id mov x1, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x2, x19 bl _pr_err LBB0_3: ; =>This Inner Loop Header: Depth=1 b LBB0_3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "CPU%u: configuration botched (ID %08x), CPU halted\n" .subsections_via_symbols
AnghaBench/linux/arch/arm/kernel/extr_setup.c_lookup_processor.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function iter_dequeue _iter_dequeue: ## @iter_dequeue .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, %r14 movq 8(%rdi), %rax movq (%rax,%rsi,8), %rbx testq %rbx, %rbx je LBB0_3 ## %bb.1: cmpq $0, 8(%rbx) je LBB0_3 ## %bb.2: movq %rbx, %rdi callq _vcc_is_backlogged testl %eax, %eax je LBB0_3 ## %bb.4: movq _vcc_txreadptr@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _cardvcc_read movl %eax, %edi callq _TXREADPTR_GET_PTR movq (%rbx), %rcx movq %r14, %rdi movq %rbx, %rsi movl %eax, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmpq *%rcx ## TAILCALL LBB0_3: movl (%r14), %esi movq %r15, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp ___clear_bit ## TAILCALL .cfi_endproc ## -- End function .comm _vcc_txreadptr,4,2 ## @vcc_txreadptr .no_dead_strip _iter_dequeue .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function iter_dequeue _iter_dequeue: ; @iter_dequeue .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x1 mov x19, x0 ldr x8, [x0, #8] ldr x20, [x8, x1, lsl #3] cbz x20, LBB0_4 ; %bb.1: ldr x8, [x20, #8] cbz x8, LBB0_4 ; %bb.2: mov x0, x20 bl _vcc_is_backlogged cbz w0, LBB0_4 ; %bb.3: Lloh0: adrp x8, _vcc_txreadptr@GOTPAGE Lloh1: ldr x8, [x8, _vcc_txreadptr@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x20 bl _cardvcc_read bl _TXREADPTR_GET_PTR mov x2, x0 ldr x3, [x20] mov x0, x19 mov x1, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload br x3 LBB0_4: ldr w1, [x19] mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b ___clear_bit .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _vcc_txreadptr,4,2 ; @vcc_txreadptr .no_dead_strip _iter_dequeue .subsections_via_symbols
AnghaBench/linux/drivers/atm/extr_lanai.c_iter_dequeue.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function axp20x_read_raw _axp20x_read_raw: ## @axp20x_read_raw .cfi_startproc ## %bb.0: cmpq $128, %r8 je LBB0_4 ## %bb.1: cmpq $129, %r8 je LBB0_5 ## %bb.2: cmpq $130, %r8 jne LBB0_6 ## %bb.3: jmp _axp20x_adc_offset ## TAILCALL LBB0_4: movq %rsi, %rdi movq %rdx, %rsi movq %rcx, %rdx jmp _axp20x_adc_scale ## TAILCALL LBB0_5: jmp _axp20x_adc_raw ## TAILCALL LBB0_6: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _axp20x_read_raw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function axp20x_read_raw _axp20x_read_raw: ; @axp20x_read_raw .cfi_startproc ; %bb.0: cmp x4, #128 b.eq LBB0_4 ; %bb.1: cmp x4, #129 b.eq LBB0_5 ; %bb.2: cmp x4, #130 b.ne LBB0_6 ; %bb.3: b _axp20x_adc_offset LBB0_4: mov x0, x1 mov x1, x2 mov x2, x3 b _axp20x_adc_scale LBB0_5: b _axp20x_adc_raw LBB0_6: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _axp20x_read_raw .subsections_via_symbols
AnghaBench/linux/drivers/iio/adc/extr_axp20x_adc.c_axp20x_read_raw.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %rdi movl $4, %esi xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %rdi movl $4, %esi xorl %eax, %eax callq _printf leaq L_.str.4(%rip), %rdi movl $8, %esi xorl %eax, %eax callq _printf leaq L_.str.5(%rip), %rdi movl $8, %esi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "Size of char: %lo\n" L_.str.2: ## @.str.2 .asciz "Size of int: %lo\n" L_.str.3: ## @.str.3 .asciz "Size of float: %lo\n" L_.str.4: ## @.str.4 .asciz "Size of double: %lo\n" L_.str.5: ## @.str.5 .asciz "Size of long int: %lo\n" L_str: ## @str .asciz ">\t\tSize of each data type\t\t <" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts mov w8, #1 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf mov w19, #4 str x19, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf str x19, [sp] Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _printf mov w19, #8 str x19, [sp] Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF bl _printf str x19, [sp] Lloh10: adrp x0, l_.str.5@PAGE Lloh11: add x0, x0, l_.str.5@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "Size of char: %lo\n" l_.str.2: ; @.str.2 .asciz "Size of int: %lo\n" l_.str.3: ; @.str.3 .asciz "Size of float: %lo\n" l_.str.4: ; @.str.4 .asciz "Size of double: %lo\n" l_.str.5: ; @.str.5 .asciz "Size of long int: %lo\n" l_str: ; @str .asciz ">\t\tSize of each data type\t\t <" .subsections_via_symbols
the_stack_data/66578.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function find_func _find_func: ## @find_func .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq (%rdx), %rax xorl %r15d, %r15d cmpq (%rsi), %rax jne LBB0_3 ## %bb.1: movq %rdx, %rbx movq %rsi, %r14 movl $8, %edi callq _grub_malloc movq %rax, 8(%rbx) movl $1, %r15d testq %rax, %rax je LBB0_3 ## %bb.2: movq %rax, %rdi movq %r14, %rsi movl $8, %edx callq _grub_memcpy LBB0_3: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _find_func .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function find_func _find_func: ; @find_func .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x2] ldr x9, [x1] cmp x8, x9 b.ne LBB0_4 ; %bb.1: mov x20, x2 mov x19, x1 mov w0, #8 bl _grub_malloc str x0, [x20, #8] cbz x0, LBB0_3 ; %bb.2: mov x1, x19 mov w2, #8 bl _grub_memcpy LBB0_3: mov w0, #1 b LBB0_5 LBB0_4: mov w0, #0 LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _find_func .subsections_via_symbols
AnghaBench/radare2/shlr/grub/kern/extr_partition.c_find_func.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_ins_len ## -- Begin function get_ins_len .p2align 4, 0x90 _get_ins_len: ## @get_ins_len .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edi killed $edi def $rdi shrl $4, %edi andl $15, %edi leaq l_switch.table.get_ins_len(%rip), %rax movl (%rax,%rdi,4), %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .p2align 2 ## @switch.table.get_ins_len l_switch.table.get_ins_len: .long 2 ## 0x2 .long 2 ## 0x2 .long 1 ## 0x1 .long 1 ## 0x1 .long 3 ## 0x3 .long 3 ## 0x3 .long 3 ## 0x3 .long 3 ## 0x3 .long 4 ## 0x4 .long 4 ## 0x4 .long 4 ## 0x4 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 7 ## 0x7 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_ins_len ; -- Begin function get_ins_len .p2align 2 _get_ins_len: ; @get_ins_len .cfi_startproc ; %bb.0: ubfx w8, w0, #4, #4 Lloh0: adrp x9, l_switch.table.get_ins_len@PAGE Lloh1: add x9, x9, l_switch.table.get_ins_len@PAGEOFF ldr w0, [x9, w8, uxtw #2] ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__const .p2align 2 ; @switch.table.get_ins_len l_switch.table.get_ins_len: .long 2 ; 0x2 .long 2 ; 0x2 .long 1 ; 0x1 .long 1 ; 0x1 .long 3 ; 0x3 .long 3 ; 0x3 .long 3 ; 0x3 .long 3 ; 0x3 .long 4 ; 0x4 .long 4 ; 0x4 .long 4 ; 0x4 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 7 ; 0x7 .subsections_via_symbols
AnghaBench/radare2/libr/asm/arch/tms320/c55x_plus/extr_ins.c_get_ins_len.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function EmitXYZ2Lab _EmitXYZ2Lab: ## @EmitXYZ2Lab .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 movl %edi, %ebx leaq L_.str(%rip), %rdx callq __cmsIOPrintf leaq L_.str.1(%rip), %rdx movl %ebx, %edi movq %r14, %rsi callq __cmsIOPrintf leaq L_.str.2(%rip), %rdx movl %ebx, %edi movq %r14, %rsi callq __cmsIOPrintf leaq L_.str.3(%rip), %rdx movl %ebx, %edi movq %r14, %rsi callq __cmsIOPrintf leaq L_.str.4(%rip), %rdx movl %ebx, %edi movq %r14, %rsi callq __cmsIOPrintf leaq L_.str.5(%rip), %r15 movl %ebx, %edi movq %r14, %rsi movq %r15, %rdx callq __cmsIOPrintf leaq L_.str.6(%rip), %rdx movl %ebx, %edi movq %r14, %rsi callq __cmsIOPrintf leaq L_.str.7(%rip), %rdx movl %ebx, %edi movq %r14, %rsi callq __cmsIOPrintf leaq L_.str.8(%rip), %rdx movl %ebx, %edi movq %r14, %rsi callq __cmsIOPrintf leaq L_.str.9(%rip), %rdx movl %ebx, %edi movq %r14, %rsi callq __cmsIOPrintf leaq L_.str.10(%rip), %rdx movl %ebx, %edi movq %r14, %rsi callq __cmsIOPrintf movl %ebx, %edi movq %r14, %rsi movq %r15, %rdx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp __cmsIOPrintf ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/RangeLMN [ -0.635 2.0 0 2 -0.635 2.0 ]\n" L_.str.1: ## @.str.1 .asciz "/EncodeLMN [\n" L_.str.2: ## @.str.2 .asciz "{ 0.964200 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } bind\n" L_.str.3: ## @.str.3 .asciz "{ 1.000000 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } bind\n" L_.str.4: ## @.str.4 .asciz "{ 0.824900 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } bind\n" L_.str.5: ## @.str.5 .asciz "]\n" L_.str.6: ## @.str.6 .asciz "/MatrixABC [ 0 1 0 1 -1 1 0 0 -1 ]\n" L_.str.7: ## @.str.7 .asciz "/EncodeABC [\n" L_.str.8: ## @.str.8 .asciz "{ 116 mul 16 sub 100 div } bind\n" L_.str.9: ## @.str.9 .asciz "{ 500 mul 128 add 256 div } bind\n" L_.str.10: ## @.str.10 .asciz "{ 200 mul 128 add 256 div } bind\n" .no_dead_strip _EmitXYZ2Lab .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function EmitXYZ2Lab _EmitXYZ2Lab: ; @EmitXYZ2Lab .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 x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF bl __cmsIOPrintf Lloh2: adrp x2, l_.str.1@PAGE Lloh3: add x2, x2, l_.str.1@PAGEOFF mov x0, x20 mov x1, x19 bl __cmsIOPrintf Lloh4: adrp x2, l_.str.2@PAGE Lloh5: add x2, x2, l_.str.2@PAGEOFF mov x0, x20 mov x1, x19 bl __cmsIOPrintf Lloh6: adrp x2, l_.str.3@PAGE Lloh7: add x2, x2, l_.str.3@PAGEOFF mov x0, x20 mov x1, x19 bl __cmsIOPrintf Lloh8: adrp x2, l_.str.4@PAGE Lloh9: add x2, x2, l_.str.4@PAGEOFF mov x0, x20 mov x1, x19 bl __cmsIOPrintf Lloh10: adrp x21, l_.str.5@PAGE Lloh11: add x21, x21, l_.str.5@PAGEOFF mov x0, x20 mov x1, x19 mov x2, x21 bl __cmsIOPrintf Lloh12: adrp x2, l_.str.6@PAGE Lloh13: add x2, x2, l_.str.6@PAGEOFF mov x0, x20 mov x1, x19 bl __cmsIOPrintf Lloh14: adrp x2, l_.str.7@PAGE Lloh15: add x2, x2, l_.str.7@PAGEOFF mov x0, x20 mov x1, x19 bl __cmsIOPrintf Lloh16: adrp x2, l_.str.8@PAGE Lloh17: add x2, x2, l_.str.8@PAGEOFF mov x0, x20 mov x1, x19 bl __cmsIOPrintf Lloh18: adrp x2, l_.str.9@PAGE Lloh19: add x2, x2, l_.str.9@PAGEOFF mov x0, x20 mov x1, x19 bl __cmsIOPrintf Lloh20: adrp x2, l_.str.10@PAGE Lloh21: add x2, x2, l_.str.10@PAGEOFF mov x0, x20 mov x1, x19 bl __cmsIOPrintf mov x0, x20 mov x1, x19 mov x2, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b __cmsIOPrintf .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/RangeLMN [ -0.635 2.0 0 2 -0.635 2.0 ]\n" l_.str.1: ; @.str.1 .asciz "/EncodeLMN [\n" l_.str.2: ; @.str.2 .asciz "{ 0.964200 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } bind\n" l_.str.3: ; @.str.3 .asciz "{ 1.000000 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } bind\n" l_.str.4: ; @.str.4 .asciz "{ 0.824900 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } bind\n" l_.str.5: ; @.str.5 .asciz "]\n" l_.str.6: ; @.str.6 .asciz "/MatrixABC [ 0 1 0 1 -1 1 0 0 -1 ]\n" l_.str.7: ; @.str.7 .asciz "/EncodeABC [\n" l_.str.8: ; @.str.8 .asciz "{ 116 mul 16 sub 100 div } bind\n" l_.str.9: ; @.str.9 .asciz "{ 500 mul 128 add 256 div } bind\n" l_.str.10: ; @.str.10 .asciz "{ 200 mul 128 add 256 div } bind\n" .no_dead_strip _EmitXYZ2Lab .subsections_via_symbols
AnghaBench/sumatrapdf/ext/lcms2/src/extr_cmsps2.c_EmitXYZ2Lab.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function char_ptr_dtor_p _char_ptr_dtor_p: ## @char_ptr_dtor_p .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _Z_PTR_P movl %eax, %edi movl $1, %esi popq %rbp jmp _pefree ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _char_ptr_dtor_p .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function char_ptr_dtor_p _char_ptr_dtor_p: ; @char_ptr_dtor_p .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 _Z_PTR_P mov w1, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _pefree .cfi_endproc ; -- End function .no_dead_strip _char_ptr_dtor_p .subsections_via_symbols
AnghaBench/php-src/sapi/cli/extr_php_cli_server.c_char_ptr_dtor_p.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qla24xx_read_fcp_prio_cfg ## -- Begin function qla24xx_read_fcp_prio_cfg .p2align 4, 0x90 _qla24xx_read_fcp_prio_cfg: ## @qla24xx_read_fcp_prio_cfg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq (%rdi), %r15 movq 8(%r15), %rdi testq %rdi, %rdi jne LBB0_3 ## %bb.1: movq _FCP_PRIO_CFG_SIZE@GOTPCREL(%rip), %rbx movl (%rbx), %edi callq _vmalloc movq %rax, %rdi movq %rax, 8(%r15) testq %rax, %rax je LBB0_2 LBB0_3: movq _FCP_PRIO_CFG_SIZE@GOTPCREL(%rip), %r12 movl (%r12), %edx xorl %esi, %esi callq _memset movl (%r15), %ebx movq 24(%r15), %rax movq 8(%r15), %rsi shll $2, %ebx movq _FCP_PRIO_CFG_HDR_SIZE@GOTPCREL(%rip), %r13 movl (%r13), %ecx movq %r14, %rdi movl %ebx, %edx callq *(%rax) movq 8(%r15), %rsi movq %r14, %rdi xorl %edx, %edx callq _qla24xx_fcp_prio_cfg_valid testl %eax, %eax je LBB0_6 ## %bb.4: movl (%r13), %eax movq _FCP_PRIO_CFG_ENTRY_SIZE@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq 8(%r15), %rsi movq 24(%r15), %r8 imull (%rsi), %edx movl (%r12), %ecx subl %eax, %ecx movq 8(%rsi), %rsi addl %eax, %ebx andl $-4, %ebx cmpl %ecx, %edx cmovll %edx, %ecx movq %r14, %rdi movl %ebx, %edx callq *(%r8) movq 8(%r15), %rsi movq %r14, %rdi movl $1, %edx callq _qla24xx_fcp_prio_cfg_valid testl %eax, %eax je LBB0_6 ## %bb.5: movl $1, 16(%r15) movq _QLA_SUCCESS@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_6: movq 8(%r15), %rdi callq _vfree movq $0, 8(%r15) jmp LBB0_7 LBB0_2: movq _ql_log_warn@GOTPCREL(%rip), %rax movl (%rax), %edi movl (%rbx), %r8d leaq L_.str(%rip), %rcx movq %r14, %rsi movl $213, %edx callq _ql_log LBB0_7: movq _QLA_FUNCTION_FAILED@GOTPCREL(%rip), %rax LBB0_8: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FCP_PRIO_CFG_SIZE,4,2 ## @FCP_PRIO_CFG_SIZE .comm _ql_log_warn,4,2 ## @ql_log_warn .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unable to allocate memory for fcp priorty data (%x).\n" .comm _QLA_FUNCTION_FAILED,4,2 ## @QLA_FUNCTION_FAILED .comm _FCP_PRIO_CFG_HDR_SIZE,4,2 ## @FCP_PRIO_CFG_HDR_SIZE .comm _FCP_PRIO_CFG_ENTRY_SIZE,4,2 ## @FCP_PRIO_CFG_ENTRY_SIZE .comm _QLA_SUCCESS,4,2 ## @QLA_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qla24xx_read_fcp_prio_cfg ; -- Begin function qla24xx_read_fcp_prio_cfg .p2align 2 _qla24xx_read_fcp_prio_cfg: ; @qla24xx_read_fcp_prio_cfg .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x21, [x0] ldr x0, [x21, #8] Lloh0: adrp x22, _FCP_PRIO_CFG_SIZE@GOTPAGE Lloh1: ldr x22, [x22, _FCP_PRIO_CFG_SIZE@GOTPAGEOFF] cbnz x0, LBB0_2 ; %bb.1: ldr w0, [x22] bl _vmalloc str x0, [x21, #8] cbz x0, LBB0_6 LBB0_2: ldr w2, [x22] mov w1, #0 bl _memset ldr w8, [x21] ldr x9, [x21, #24] ldr x9, [x9] ldr x1, [x21, #8] lsl w20, w8, #2 Lloh2: adrp x23, _FCP_PRIO_CFG_HDR_SIZE@GOTPAGE Lloh3: ldr x23, [x23, _FCP_PRIO_CFG_HDR_SIZE@GOTPAGEOFF] ldr w3, [x23] mov x0, x19 mov x2, x20 blr x9 ldr x1, [x21, #8] mov x0, x19 mov w2, #0 bl _qla24xx_fcp_prio_cfg_valid cbz w0, LBB0_5 ; %bb.3: ldr w8, [x23] ldr x9, [x21, #8] Lloh4: adrp x10, _FCP_PRIO_CFG_ENTRY_SIZE@GOTPAGE Lloh5: ldr x10, [x10, _FCP_PRIO_CFG_ENTRY_SIZE@GOTPAGEOFF] ldr w11, [x9] Lloh6: ldr w10, [x10] mul w10, w10, w11 ldr w11, [x22] ldr x12, [x21, #24] ldr x12, [x12] ldr x1, [x9, #8] add w9, w8, w20 and w2, w9, #0xfffffffc sub w8, w11, w8 cmp w10, w8 csel w3, w10, w8, lt mov x0, x19 blr x12 ldr x1, [x21, #8] mov w20, #1 mov x0, x19 mov w2, #1 bl _qla24xx_fcp_prio_cfg_valid cbz w0, LBB0_5 ; %bb.4: str w20, [x21, #16] Lloh7: adrp x8, _QLA_SUCCESS@GOTPAGE Lloh8: ldr x8, [x8, _QLA_SUCCESS@GOTPAGEOFF] b LBB0_8 LBB0_5: ldr x0, [x21, #8] bl _vfree str xzr, [x21, #8] b LBB0_7 LBB0_6: Lloh9: adrp x8, _ql_log_warn@GOTPAGE Lloh10: ldr x8, [x8, _ql_log_warn@GOTPAGEOFF] Lloh11: ldr w0, [x8] ldr w4, [x22] Lloh12: adrp x3, l_.str@PAGE Lloh13: add x3, x3, l_.str@PAGEOFF mov x1, x19 mov w2, #213 bl _ql_log LBB0_7: Lloh14: adrp x8, _QLA_FUNCTION_FAILED@GOTPAGE Lloh15: ldr x8, [x8, _QLA_FUNCTION_FAILED@GOTPAGEOFF] LBB0_8: ldr w0, [x8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _FCP_PRIO_CFG_SIZE,4,2 ; @FCP_PRIO_CFG_SIZE .comm _ql_log_warn,4,2 ; @ql_log_warn .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unable to allocate memory for fcp priorty data (%x).\n" .comm _QLA_FUNCTION_FAILED,4,2 ; @QLA_FUNCTION_FAILED .comm _FCP_PRIO_CFG_HDR_SIZE,4,2 ; @FCP_PRIO_CFG_HDR_SIZE .comm _FCP_PRIO_CFG_ENTRY_SIZE,4,2 ; @FCP_PRIO_CFG_ENTRY_SIZE .comm _QLA_SUCCESS,4,2 ; @QLA_SUCCESS .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_sup.c_qla24xx_read_fcp_prio_cfg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function w83781d_alias_detect _w83781d_alias_detect: ## @w83781d_alias_detect .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _w83781d_alias_detect .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function w83781d_alias_detect _w83781d_alias_detect: ; @w83781d_alias_detect .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _w83781d_alias_detect .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/hwmon/extr_w83781d.c_w83781d_alias_detect.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ct_vm_unmap _ct_vm_unmap: ## @ct_vm_unmap .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 _put_vm_block ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _ct_vm_unmap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ct_vm_unmap _ct_vm_unmap: ; @ct_vm_unmap .cfi_startproc ; %bb.0: b _put_vm_block .cfi_endproc ; -- End function .no_dead_strip _ct_vm_unmap .subsections_via_symbols
AnghaBench/linux/sound/pci/ctxfi/extr_ctvmem.c_ct_vm_unmap.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lpfc_handle_eratt_s3 _lpfc_handle_eratt_s3: ## @lpfc_handle_eratt_s3 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq 24(%rdi), %r14 movl 44(%rdi), %edi callq _pci_channel_offline testq %rax, %rax je LBB0_1 ## %bb.14: leaq 16(%r15), %rbx movq %rbx, %rdi callq _spin_lock_irq movq _DEFER_ERATT@GOTPCREL(%rip), %rax movl (%rax), %eax notl %eax andl %eax, (%r15) movq %rbx, %rdi addq $40, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _spin_unlock_irq ## TAILCALL LBB0_1: cmpl $0, 40(%r15) je LBB0_13 ## %bb.2: movq %r15, %rdi callq _lpfc_board_errevt_to_mgmt movq _DEFER_ERATT@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r15) je LBB0_4 ## %bb.3: movq %r15, %rdi callq _lpfc_handle_deferred_eratt LBB0_4: movl 4(%r15), %r8d movq _HS_FFER6@GOTPCREL(%rip), %rax testl %r8d, (%rax) je LBB0_5 ## %bb.8: movq _KERN_INFO@GOTPCREL(%rip), %rax movl (%rax), %esi movq _LOG_LINK_EVENT@GOTPCREL(%rip), %rax movl (%rax), %edx movq 8(%r15), %rax movl (%rax), %r9d movl 4(%rax), %eax movl %eax, (%rsp) leaq L_.str(%rip), %rcx movq %r15, %rdi xorl %eax, %eax callq _lpfc_printf_log movl 4(%r15), %r8d movq _HS_FFER8@GOTPCREL(%rip), %rax testl %r8d, (%rax) jne LBB0_9 jmp LBB0_10 LBB0_5: movq _HS_FFER8@GOTPCREL(%rip), %rax testl %r8d, (%rax) je LBB0_6 LBB0_9: movq _KERN_INFO@GOTPCREL(%rip), %rax movl (%rax), %esi movq _LOG_LINK_EVENT@GOTPCREL(%rip), %rax movl (%rax), %edx movq 8(%r15), %rax movl (%rax), %r9d movl 4(%rax), %eax movl %eax, (%rsp) leaq L_.str.1(%rip), %rcx movq %r15, %rdi xorl %eax, %eax callq _lpfc_printf_log LBB0_10: leaq 16(%r15), %rbx movq %rbx, %rdi callq _spin_lock_irq movq _LPFC_SLI_ACTIVE@GOTPCREL(%rip), %rax movl (%rax), %eax notl %eax andl %eax, 48(%r15) movq %rbx, %rdi callq _spin_unlock_irq movq %r15, %rdi callq _lpfc_sli_abort_fcp_rings movq _LPFC_MBX_NO_WAIT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _lpfc_offline_prep movq %r15, %rdi callq _lpfc_offline movq %r15, %rdi callq _lpfc_sli_brdrestart movq %r15, %rdi callq _lpfc_online movq %r15, %rdi addq $40, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _lpfc_unblock_mgmt_io ## TAILCALL LBB0_6: movq _HS_CRIT_TEMP@GOTPCREL(%rip), %rax testl %r8d, (%rax) je LBB0_11 ## %bb.7: movq _TEMPERATURE_OFFSET@GOTPCREL(%rip), %rax movq (%rax), %rdi addq 32(%r15), %rdi callq _readl movq _FC_REG_TEMPERATURE_EVENT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, -28(%rbp) movq _LPFC_CRIT_TEMP@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, -32(%rbp) movq %rax, -40(%rbp) movq _KERN_ERR@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _LOG_INIT@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl 4(%r15), %r9d movq 8(%r15), %rcx movl (%rcx), %edi movl 4(%rcx), %ecx movl %ecx, 8(%rsp) movl %edi, (%rsp) leaq L_.str.2(%rip), %rcx movq %r15, %rdi movl %eax, %r8d xorl %eax, %eax callq _lpfc_printf_log movq 24(%r15), %rdi callq _lpfc_shost_from_vport movq %rax, %rbx xorl %eax, %eax callq _fc_get_event_number movq _SCSI_NL_VID_TYPE_PCI@GOTPCREL(%rip), %rcx movq _PCI_VENDOR_ID_EMULEX@GOTPCREL(%rip), %rdx movl (%rdx), %r8d orl (%rcx), %r8d leaq -40(%rbp), %rcx movq %rbx, %rdi movl %eax, %esi movl $16, %edx callq _fc_host_post_vendor_event leaq 16(%r15), %rbx movq %rbx, %rdi callq _spin_lock_irq movq _HBA_OVER_TEMP@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 20(%r15) movq %rbx, %rdi callq _spin_unlock_irq jmp LBB0_12 LBB0_11: movq _KERN_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _LOG_INIT@GOTPCREL(%rip), %rax movl (%rax), %edx movq 8(%r15), %rax movl (%rax), %r9d movl 4(%rax), %eax movl %eax, (%rsp) leaq L_.str.3(%rip), %rcx movq %r15, %rdi xorl %eax, %eax callq _lpfc_printf_log movq _FC_REG_DUMP_EVENT@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq %r14, %rdi callq _lpfc_shost_from_vport movq %rax, %rbx xorl %eax, %eax callq _fc_get_event_number movq _SCSI_NL_VID_TYPE_PCI@GOTPCREL(%rip), %rcx movq _PCI_VENDOR_ID_EMULEX@GOTPCREL(%rip), %rdx movl (%rdx), %r8d orl (%rcx), %r8d leaq -40(%rbp), %rcx movq %rbx, %rdi movl %eax, %esi movl $8, %edx callq _fc_host_post_vendor_event LBB0_12: movq %r15, %rdi callq _lpfc_offline_eratt LBB0_13: addq $40, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DEFER_ERATT,4,2 ## @DEFER_ERATT .comm _HS_FFER6,4,2 ## @HS_FFER6 .comm _HS_FFER8,4,2 ## @HS_FFER8 .comm _KERN_INFO,4,2 ## @KERN_INFO .comm _LOG_LINK_EVENT,4,2 ## @LOG_LINK_EVENT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "1301 Re-establishing Link Data: x%x x%x x%x\n" L_.str.1: ## @.str.1 .asciz "2861 Host Authentication device zeroization Data:x%x x%x x%x\n" .comm _LPFC_SLI_ACTIVE,4,2 ## @LPFC_SLI_ACTIVE .comm _LPFC_MBX_NO_WAIT,4,2 ## @LPFC_MBX_NO_WAIT .comm _HS_CRIT_TEMP,4,2 ## @HS_CRIT_TEMP .comm _TEMPERATURE_OFFSET,8,3 ## @TEMPERATURE_OFFSET .comm _FC_REG_TEMPERATURE_EVENT,4,2 ## @FC_REG_TEMPERATURE_EVENT .comm _LPFC_CRIT_TEMP,4,2 ## @LPFC_CRIT_TEMP .comm _KERN_ERR,4,2 ## @KERN_ERR .comm _LOG_INIT,4,2 ## @LOG_INIT L_.str.2: ## @.str.2 .asciz "0406 Adapter maximum temperature exceeded (%ld), taking this port offline Data: x%x x%x x%x\n" .comm _SCSI_NL_VID_TYPE_PCI,4,2 ## @SCSI_NL_VID_TYPE_PCI .comm _PCI_VENDOR_ID_EMULEX,4,2 ## @PCI_VENDOR_ID_EMULEX .comm _HBA_OVER_TEMP,4,2 ## @HBA_OVER_TEMP L_.str.3: ## @.str.3 .asciz "0457 Adapter Hardware Error Data: x%x x%x x%x\n" .comm _FC_REG_DUMP_EVENT,8,3 ## @FC_REG_DUMP_EVENT .no_dead_strip _lpfc_handle_eratt_s3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lpfc_handle_eratt_s3 _lpfc_handle_eratt_s3: ; @lpfc_handle_eratt_s3 .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x20, [x0, #24] ldr w0, [x0, #44] bl _pci_channel_offline cbz x0, LBB0_2 ; %bb.1: add x20, x19, #16 mov x0, x20 bl _spin_lock_irq Lloh0: adrp x8, _DEFER_ERATT@GOTPAGE Lloh1: ldr x8, [x8, _DEFER_ERATT@GOTPAGEOFF] Lloh2: ldr w8, [x8] ldr w9, [x19] bic w8, w9, w8 str w8, [x19] 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 b _spin_unlock_irq LBB0_2: ldr w8, [x19, #40] cbz w8, LBB0_14 ; %bb.3: mov x0, x19 bl _lpfc_board_errevt_to_mgmt ldr w8, [x19] Lloh3: adrp x9, _DEFER_ERATT@GOTPAGE Lloh4: ldr x9, [x9, _DEFER_ERATT@GOTPAGEOFF] Lloh5: ldr w9, [x9] tst w9, w8 b.eq LBB0_5 ; %bb.4: mov x0, x19 bl _lpfc_handle_deferred_eratt LBB0_5: ldr w4, [x19, #4] Lloh6: adrp x8, _HS_FFER6@GOTPAGE Lloh7: ldr x8, [x8, _HS_FFER6@GOTPAGEOFF] Lloh8: ldr w8, [x8] Lloh9: adrp x21, _KERN_INFO@GOTPAGE Lloh10: ldr x21, [x21, _KERN_INFO@GOTPAGEOFF] Lloh11: adrp x22, _LOG_LINK_EVENT@GOTPAGE Lloh12: ldr x22, [x22, _LOG_LINK_EVENT@GOTPAGEOFF] tst w8, w4 b.eq LBB0_7 ; %bb.6: ldr w1, [x21] ldr w2, [x22] ldr x8, [x19, #8] ldp w5, w6, [x8] Lloh13: adrp x3, l_.str@PAGE Lloh14: add x3, x3, l_.str@PAGEOFF mov x0, x19 bl _lpfc_printf_log ldr w4, [x19, #4] Lloh15: adrp x8, _HS_FFER8@GOTPAGE Lloh16: ldr x8, [x8, _HS_FFER8@GOTPAGEOFF] Lloh17: ldr w8, [x8] tst w8, w4 b.ne LBB0_8 b LBB0_9 LBB0_7: Lloh18: adrp x8, _HS_FFER8@GOTPAGE Lloh19: ldr x8, [x8, _HS_FFER8@GOTPAGEOFF] Lloh20: ldr w8, [x8] tst w8, w4 b.eq LBB0_10 LBB0_8: ldr w1, [x21] ldr w2, [x22] ldr x8, [x19, #8] ldp w5, w6, [x8] Lloh21: adrp x3, l_.str.1@PAGE Lloh22: add x3, x3, l_.str.1@PAGEOFF mov x0, x19 bl _lpfc_printf_log LBB0_9: add x20, x19, #16 mov x0, x20 bl _spin_lock_irq Lloh23: adrp x8, _LPFC_SLI_ACTIVE@GOTPAGE Lloh24: ldr x8, [x8, _LPFC_SLI_ACTIVE@GOTPAGEOFF] Lloh25: ldr w8, [x8] ldr w9, [x19, #48] bic w8, w9, w8 str w8, [x19, #48] mov x0, x20 bl _spin_unlock_irq mov x0, x19 bl _lpfc_sli_abort_fcp_rings Lloh26: adrp x8, _LPFC_MBX_NO_WAIT@GOTPAGE Lloh27: ldr x8, [x8, _LPFC_MBX_NO_WAIT@GOTPAGEOFF] Lloh28: ldr w1, [x8] mov x0, x19 bl _lpfc_offline_prep mov x0, x19 bl _lpfc_offline mov x0, x19 bl _lpfc_sli_brdrestart mov x0, x19 bl _lpfc_online mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 b _lpfc_unblock_mgmt_io LBB0_10: Lloh29: adrp x8, _HS_CRIT_TEMP@GOTPAGE Lloh30: ldr x8, [x8, _HS_CRIT_TEMP@GOTPAGEOFF] Lloh31: ldr w8, [x8] tst w8, w4 b.eq LBB0_12 ; %bb.11: ldr x8, [x19, #32] Lloh32: adrp x9, _TEMPERATURE_OFFSET@GOTPAGE Lloh33: ldr x9, [x9, _TEMPERATURE_OFFSET@GOTPAGEOFF] Lloh34: ldr x9, [x9] add x0, x9, x8 bl _readl mov x4, x0 Lloh35: adrp x8, _FC_REG_TEMPERATURE_EVENT@GOTPAGE Lloh36: ldr x8, [x8, _FC_REG_TEMPERATURE_EVENT@GOTPAGEOFF] Lloh37: ldr w8, [x8] Lloh38: adrp x9, _LPFC_CRIT_TEMP@GOTPAGE Lloh39: ldr x9, [x9, _LPFC_CRIT_TEMP@GOTPAGEOFF] Lloh40: ldr w9, [x9] stp w9, w8, [sp, #24] str x0, [sp, #16] Lloh41: adrp x8, _KERN_ERR@GOTPAGE Lloh42: ldr x8, [x8, _KERN_ERR@GOTPAGEOFF] Lloh43: adrp x9, _LOG_INIT@GOTPAGE Lloh44: ldr x9, [x9, _LOG_INIT@GOTPAGEOFF] Lloh45: ldr w1, [x8] Lloh46: ldr w2, [x9] ldr w5, [x19, #4] ldr x8, [x19, #8] ldp w6, w8, [x8] str x8, [sp] Lloh47: adrp x3, l_.str.2@PAGE Lloh48: add x3, x3, l_.str.2@PAGEOFF mov x0, x19 ; kill: def $w4 killed $w4 killed $x4 bl _lpfc_printf_log ldr x0, [x19, #24] bl _lpfc_shost_from_vport mov x20, x0 bl _fc_get_event_number mov x1, x0 Lloh49: adrp x8, _SCSI_NL_VID_TYPE_PCI@GOTPAGE Lloh50: ldr x8, [x8, _SCSI_NL_VID_TYPE_PCI@GOTPAGEOFF] Lloh51: ldr w8, [x8] Lloh52: adrp x9, _PCI_VENDOR_ID_EMULEX@GOTPAGE Lloh53: ldr x9, [x9, _PCI_VENDOR_ID_EMULEX@GOTPAGEOFF] Lloh54: ldr w9, [x9] orr w4, w9, w8 add x3, sp, #16 mov x0, x20 mov w2, #16 bl _fc_host_post_vendor_event add x20, x19, #16 mov x0, x20 bl _spin_lock_irq Lloh55: adrp x8, _HBA_OVER_TEMP@GOTPAGE Lloh56: ldr x8, [x8, _HBA_OVER_TEMP@GOTPAGEOFF] Lloh57: ldr w8, [x8] str w8, [x19, #20] mov x0, x20 bl _spin_unlock_irq b LBB0_13 LBB0_12: Lloh58: adrp x8, _KERN_ERR@GOTPAGE Lloh59: ldr x8, [x8, _KERN_ERR@GOTPAGEOFF] Lloh60: ldr w1, [x8] Lloh61: adrp x8, _LOG_INIT@GOTPAGE Lloh62: ldr x8, [x8, _LOG_INIT@GOTPAGEOFF] Lloh63: ldr w2, [x8] ldr x8, [x19, #8] ldp w5, w6, [x8] Lloh64: adrp x3, l_.str.3@PAGE Lloh65: add x3, x3, l_.str.3@PAGEOFF mov x0, x19 bl _lpfc_printf_log Lloh66: adrp x8, _FC_REG_DUMP_EVENT@GOTPAGE Lloh67: ldr x8, [x8, _FC_REG_DUMP_EVENT@GOTPAGEOFF] Lloh68: ldr x8, [x8] str x8, [sp, #16] mov x0, x20 bl _lpfc_shost_from_vport mov x20, x0 bl _fc_get_event_number mov x1, x0 Lloh69: adrp x8, _SCSI_NL_VID_TYPE_PCI@GOTPAGE Lloh70: ldr x8, [x8, _SCSI_NL_VID_TYPE_PCI@GOTPAGEOFF] Lloh71: ldr w8, [x8] Lloh72: adrp x9, _PCI_VENDOR_ID_EMULEX@GOTPAGE Lloh73: ldr x9, [x9, _PCI_VENDOR_ID_EMULEX@GOTPAGEOFF] Lloh74: ldr w9, [x9] orr w4, w9, w8 add x3, sp, #16 mov x0, x20 mov w2, #8 bl _fc_host_post_vendor_event LBB0_13: mov x0, x19 bl _lpfc_offline_eratt LBB0_14: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57 .loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh46 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh45 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74 .loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71 .loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .cfi_endproc ; -- End function .comm _DEFER_ERATT,4,2 ; @DEFER_ERATT .comm _HS_FFER6,4,2 ; @HS_FFER6 .comm _HS_FFER8,4,2 ; @HS_FFER8 .comm _KERN_INFO,4,2 ; @KERN_INFO .comm _LOG_LINK_EVENT,4,2 ; @LOG_LINK_EVENT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "1301 Re-establishing Link Data: x%x x%x x%x\n" l_.str.1: ; @.str.1 .asciz "2861 Host Authentication device zeroization Data:x%x x%x x%x\n" .comm _LPFC_SLI_ACTIVE,4,2 ; @LPFC_SLI_ACTIVE .comm _LPFC_MBX_NO_WAIT,4,2 ; @LPFC_MBX_NO_WAIT .comm _HS_CRIT_TEMP,4,2 ; @HS_CRIT_TEMP .comm _TEMPERATURE_OFFSET,8,3 ; @TEMPERATURE_OFFSET .comm _FC_REG_TEMPERATURE_EVENT,4,2 ; @FC_REG_TEMPERATURE_EVENT .comm _LPFC_CRIT_TEMP,4,2 ; @LPFC_CRIT_TEMP .comm _KERN_ERR,4,2 ; @KERN_ERR .comm _LOG_INIT,4,2 ; @LOG_INIT l_.str.2: ; @.str.2 .asciz "0406 Adapter maximum temperature exceeded (%ld), taking this port offline Data: x%x x%x x%x\n" .comm _SCSI_NL_VID_TYPE_PCI,4,2 ; @SCSI_NL_VID_TYPE_PCI .comm _PCI_VENDOR_ID_EMULEX,4,2 ; @PCI_VENDOR_ID_EMULEX .comm _HBA_OVER_TEMP,4,2 ; @HBA_OVER_TEMP l_.str.3: ; @.str.3 .asciz "0457 Adapter Hardware Error Data: x%x x%x x%x\n" .comm _FC_REG_DUMP_EVENT,8,3 ; @FC_REG_DUMP_EVENT .no_dead_strip _lpfc_handle_eratt_s3 .subsections_via_symbols
AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_init.c_lpfc_handle_eratt_s3.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 $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) leaq L_.str(%rip), %rdi xorl %ebx, %ebx leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movq %rsp, %r15 movl -36(%rbp), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 leaq L_.str.1(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %esi testl %esi, %esi jle LBB0_21 ## %bb.1: cmpl $1, %esi jne LBB0_3 ## %bb.2: xorl %ecx, %ecx xorl %ebx, %ebx LBB0_15: testb $1, %sil je LBB0_21 ## %bb.16: movb (%r14,%rcx), %al cmpb $80, %al je LBB0_20 ## %bb.17: cmpb $67, %al je LBB0_20 ## %bb.18: cmpb $65, %al jne LBB0_21 ## %bb.19: incl %ebx jmp LBB0_21 LBB0_3: movl %esi, %edx andl $-2, %edx xorl %ecx, %ecx xorl %ebx, %ebx jmp LBB0_4 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_4 Depth=1 addl $2, %ebx LBB0_14: ## in Loop: Header=BB0_4 Depth=1 addq $2, %rcx cmpq %rcx, %rdx je LBB0_15 LBB0_4: ## =>This Inner Loop Header: Depth=1 movzbl (%r14,%rcx), %eax cmpb $65, %al je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 cmpb $80, %al je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 cmpb $67, %al jne LBB0_9 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 addl $2, %ebx jmp LBB0_9 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_4 Depth=1 incl %ebx LBB0_9: ## in Loop: Header=BB0_4 Depth=1 movzbl 1(%r14,%rcx), %eax cmpb $80, %al je LBB0_13 ## %bb.10: ## in Loop: Header=BB0_4 Depth=1 cmpb $67, %al je LBB0_13 ## %bb.11: ## in Loop: Header=BB0_4 Depth=1 cmpb $65, %al jne LBB0_14 ## %bb.12: ## in Loop: Header=BB0_4 Depth=1 incl %ebx jmp LBB0_14 LBB0_20: addl $2, %ebx LBB0_21: leaq L_.str.2(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf movq %r15, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_23 ## %bb.22: xorl %eax, %eax leaq -24(%rbp), %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_23: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%i" L_.str.1: ## @.str.1 .asciz "%s" L_.str.2: ## @.str.2 .asciz "%i\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 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, #-24] sub x8, x29, #28 str x8, [sp, #-16]! Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _scanf add sp, sp, #16 mov x19, sp ldur w8, [x29, #-28] 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, #0x1fffffff0 sub x20, x9, x8 mov sp, x20 str x20, [sp, #-16]! Lloh7: adrp x0, l_.str.1@PAGE Lloh8: add x0, x0, l_.str.1@PAGEOFF bl _scanf add sp, sp, #16 ldur w8, [x29, #-28] cmp w8, #1 b.lt LBB0_8 ; %bb.1: mov w9, #0 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add w9, w9, #2 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x20, x20, #1 subs x8, x8, #1 b.eq LBB0_9 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x20] cmp w10, #65 b.eq LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cmp w10, #80 b.eq LBB0_2 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 cmp w10, #67 b.eq LBB0_2 b LBB0_3 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 add w9, w9, #1 b LBB0_3 LBB0_8: mov w9, #0 LBB0_9: str x9, [sp, #-16]! Lloh9: adrp x0, l_.str.2@PAGE Lloh10: add x0, x0, l_.str.2@PAGEOFF bl _printf add sp, sp, #16 mov sp, x19 ldur x8, [x29, #-24] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_11 ; %bb.10: mov w0, #0 sub sp, x29, #16 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_11: bl ___stack_chk_fail .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%i" l_.str.1: ; @.str.1 .asciz "%s" l_.str.2: ; @.str.2 .asciz "%i\n" .subsections_via_symbols
the_stack_data/182952072.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function a3dsrc_ProgramPipe _a3dsrc_ProgramPipe: ## @a3dsrc_ProgramPipe .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 xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d callq _a3dsrc_SetTimeConsts movq %rbx, %rdi xorl %esi, %esi movl $16384, %edx ## imm = 0x4000 xorl %ecx, %ecx xorl %r8d, %r8d xorl %r9d, %r9d callq _a3dsrc_SetAtmosCurrent movq %rbx, %rdi movl $16384, %esi ## imm = 0x4000 xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d xorl %r9d, %r9d callq _a3dsrc_SetAtmosTarget movq %rbx, %rdi xorl %esi, %esi xorl %edx, %edx callq _a3dsrc_SetItdCurrent movq %rbx, %rdi xorl %esi, %esi xorl %edx, %edx callq _a3dsrc_SetItdTarget movq %rbx, %rdi movl $32767, %esi ## imm = 0x7FFF movl $32767, %edx ## imm = 0x7FFF callq _a3dsrc_SetGainCurrent movq %rbx, %rdi movl $32767, %esi ## imm = 0x7FFF movl $32767, %edx ## imm = 0x7FFF callq _a3dsrc_SetGainTarget movq _A3dHrirImpulse@GOTPCREL(%rip), %r14 movl (%r14), %edx movq %rbx, %rdi movl %edx, %esi callq _a3dsrc_SetHrtfCurrent movl (%r14), %edx movq %rbx, %rdi movl %edx, %esi popq %rbx popq %r14 popq %rbp jmp _a3dsrc_SetHrtfTarget ## TAILCALL .cfi_endproc ## -- End function .comm _A3dHrirImpulse,4,2 ## @A3dHrirImpulse .no_dead_strip _a3dsrc_ProgramPipe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function a3dsrc_ProgramPipe _a3dsrc_ProgramPipe: ; @a3dsrc_ProgramPipe .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w1, #0 mov w2, #0 mov w3, #0 mov w4, #0 bl _a3dsrc_SetTimeConsts mov x0, x19 mov w1, #0 mov w2, #16384 mov w3, #0 mov w4, #0 mov w5, #0 bl _a3dsrc_SetAtmosCurrent mov x0, x19 mov w1, #16384 mov w2, #0 mov w3, #0 mov w4, #0 mov w5, #0 bl _a3dsrc_SetAtmosTarget mov x0, x19 mov w1, #0 mov w2, #0 bl _a3dsrc_SetItdCurrent mov x0, x19 mov w1, #0 mov w2, #0 bl _a3dsrc_SetItdTarget mov x0, x19 mov w1, #32767 mov w2, #32767 bl _a3dsrc_SetGainCurrent mov x0, x19 mov w1, #32767 mov w2, #32767 bl _a3dsrc_SetGainTarget Lloh0: adrp x20, _A3dHrirImpulse@GOTPAGE Lloh1: ldr x20, [x20, _A3dHrirImpulse@GOTPAGEOFF] ldr w1, [x20] mov x0, x19 mov x2, x1 bl _a3dsrc_SetHrtfCurrent ldr w1, [x20] mov x0, x19 mov x2, x1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _a3dsrc_SetHrtfTarget .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _A3dHrirImpulse,4,2 ; @A3dHrirImpulse .no_dead_strip _a3dsrc_ProgramPipe .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/pci/au88x0/extr_au88x0_a3d.c_a3dsrc_ProgramPipe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Hello World! - %i\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #1 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Hello World! - %i\n" .subsections_via_symbols
the_stack_data/30918.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function strbuf_complete_line _strbuf_complete_line: ## @strbuf_complete_line .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $10, %esi popq %rbp jmp _strbuf_complete ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _strbuf_complete_line .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function strbuf_complete_line _strbuf_complete_line: ; @strbuf_complete_line .cfi_startproc ; %bb.0: mov w1, #10 b _strbuf_complete .cfi_endproc ; -- End function .no_dead_strip _strbuf_complete_line .subsections_via_symbols
AnghaBench/git/negotiator/extr_..strbuf.h_strbuf_complete_line.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function powernow_k6_set_cpu_multiplier _powernow_k6_set_cpu_multiplier: ## @powernow_k6_set_cpu_multiplier .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %ebx xorl %eax, %eax callq _local_irq_disable xorl %eax, %eax callq _read_cr0 movq %rax, %r14 movq _X86_CR0_CD@GOTPCREL(%rip), %rax movq (%rax), %rdi orq %r14, %rdi callq _write_cr0 xorl %eax, %eax callq _wbinvd movq _index_to_register@GOTPCREL(%rip), %rax movq (%rax), %rax movl %ebx, %ecx movl (%rax,%rcx,4), %eax shll $5, %eax orl $5632, %eax ## imm = 0x1600 movslq %eax, %rbx movq _POWERNOW_IOPORT@GOTPCREL(%rip), %r15 movslq (%r15), %rsi incq %rsi movq _MSR_K6_EPMR@GOTPCREL(%rip), %r12 movl (%r12), %edi xorl %edx, %edx callq _wrmsr movl (%r15), %edi addl $8, %edi callq _inl andl $31, %eax orq %rax, %rbx movl (%r15), %esi addl $8, %esi movq %rbx, %rdi callq _outl movslq (%r15), %rsi movl (%r12), %edi xorl %edx, %edx callq _wrmsr movq %r14, %rdi callq _write_cr0 xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _local_irq_enable ## TAILCALL .cfi_endproc ## -- End function .comm _X86_CR0_CD,8,3 ## @X86_CR0_CD .comm _index_to_register,8,3 ## @index_to_register .comm _POWERNOW_IOPORT,4,2 ## @POWERNOW_IOPORT .comm _MSR_K6_EPMR,4,2 ## @MSR_K6_EPMR .no_dead_strip _powernow_k6_set_cpu_multiplier .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function powernow_k6_set_cpu_multiplier _powernow_k6_set_cpu_multiplier: ; @powernow_k6_set_cpu_multiplier .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 bl _local_irq_disable bl _read_cr0 mov x20, x0 Lloh0: adrp x8, _X86_CR0_CD@GOTPAGE Lloh1: ldr x8, [x8, _X86_CR0_CD@GOTPAGEOFF] Lloh2: ldr x8, [x8] orr x0, x8, x0 bl _write_cr0 bl _wbinvd Lloh3: adrp x8, _index_to_register@GOTPAGE Lloh4: ldr x8, [x8, _index_to_register@GOTPAGEOFF] Lloh5: ldr x8, [x8] ldr w8, [x8, w19, uxtw #2] mov w9, #5632 orr w8, w9, w8, lsl #5 Lloh6: adrp x21, _POWERNOW_IOPORT@GOTPAGE Lloh7: ldr x21, [x21, _POWERNOW_IOPORT@GOTPAGEOFF] sxtw x19, w8 ldrsw x8, [x21] add x1, x8, #1 Lloh8: adrp x22, _MSR_K6_EPMR@GOTPAGE Lloh9: ldr x22, [x22, _MSR_K6_EPMR@GOTPAGEOFF] ldr w0, [x22] mov w2, #0 bl _wrmsr ldr w8, [x21] add w0, w8, #8 bl _inl bfxil x19, x0, #0, #5 ldr w8, [x21] add w1, w8, #8 mov x0, x19 bl _outl ldrsw x1, [x21] ldr w0, [x22] mov w2, #0 bl _wrmsr mov x0, x20 bl _write_cr0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _local_irq_enable .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _X86_CR0_CD,8,3 ; @X86_CR0_CD .comm _index_to_register,8,3 ; @index_to_register .comm _POWERNOW_IOPORT,4,2 ; @POWERNOW_IOPORT .comm _MSR_K6_EPMR,4,2 ; @MSR_K6_EPMR .no_dead_strip _powernow_k6_set_cpu_multiplier .subsections_via_symbols
AnghaBench/linux/drivers/cpufreq/extr_powernow-k6.c_powernow_k6_set_cpu_multiplier.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 movl $1537, %esi ## imm = 0x601 movl $420, %edx ## imm = 0x1A4 xorl %eax, %eax callq _open cmpl $-1, %eax je LBB0_1 ## %bb.2: movl %eax, %ebx leaq L_.str.2(%rip), %rsi movl $19, %edx movl %eax, %edi callq _write callq _fork testl %eax, %eax jns LBB0_5 ## %bb.3: leaq L_.str.3(%rip), %rsi movl $37, %edx movl %ebx, %edi callq _write movl %ebx, %edi callq _close movl %ebx, %edi callq _close xorl %ebx, %ebx leaq L_str(%rip), %rdi jmp LBB0_4 LBB0_1: movl $-1, %ebx leaq L_str.17(%rip), %rdi LBB0_4: callq _puts movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq LBB0_5: jne LBB0_6 ## %bb.7: movl %ebx, %edi callq _childProcess LBB0_6: leaq L_.str.5(%rip), %rsi movl $43, %edx movl %ebx, %edi callq _write movl %ebx, %edi callq _close xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .globl _childProcess ## -- Begin function childProcess .p2align 4, 0x90 _childProcess: ## @childProcess .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 $152, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %r14d movb $2, -63(%rbp) movl $0, -60(%rbp) movw $-28660, -62(%rbp) ## imm = 0x900C movl $2, %edi movl $1, %esi xorl %edx, %edx callq _socket cmpl $-1, %eax jne LBB1_3 ## %bb.1: leaq L_.str.6(%rip), %rsi movl $42, %edx jmp LBB1_2 LBB1_3: movl %eax, %ebx leaq -64(%rbp), %rsi movl %eax, %edi movl $16, %edx callq _bind cmpl $-1, %eax jne LBB1_5 ## %bb.4: leaq L_.str.7(%rip), %rsi movl $35, %edx LBB1_2: movl %r14d, %edi callq _write movl %r14d, %edi callq _close movl $1, %edi callq _exit LBB1_5: callq _getpid leaq L_.str.8(%rip), %rcx leaq -192(%rbp), %r15 movl $100, %edx movq %r15, %rdi xorl %esi, %esi movl %eax, %r8d xorl %eax, %eax callq ___sprintf_chk movq %r15, %rdi callq _strlen movl %r14d, %edi movq %r15, %rsi movq %rax, %rdx callq _write movl %ebx, %edi movl $5, %esi callq _listen movl $16, -44(%rbp) leaq -80(%rbp), %r15 leaq -44(%rbp), %r12 jmp LBB1_6 .p2align 4, 0x90 LBB1_7: ## in Loop: Header=BB1_6 Depth=1 movl $62, %edx movl %r14d, %edi leaq L_.str.9(%rip), %rsi callq _write LBB1_6: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi movq %r15, %rsi movq %r12, %rdx callq _accept testl %eax, %eax js LBB1_7 ## %bb.8: ## in Loop: Header=BB1_6 Depth=1 movl %eax, %r13d callq _fork testl %eax, %eax js LBB1_9 ## %bb.11: ## in Loop: Header=BB1_6 Depth=1 je LBB1_13 ## %bb.12: ## in Loop: Header=BB1_6 Depth=1 movl $47, %edx movl %r14d, %edi leaq L_.str.11(%rip), %rsi jmp LBB1_10 .p2align 4, 0x90 LBB1_9: ## in Loop: Header=BB1_6 Depth=1 movl $61, %edx movl %r14d, %edi leaq L_.str.10(%rip), %rsi LBB1_10: ## in Loop: Header=BB1_6 Depth=1 callq _write movl %r13d, %edi callq _close jmp LBB1_6 LBB1_13: movl %ebx, %edi callq _close movl %r13d, %edi movl %r14d, %esi callq _processClient movl %r14d, %edi callq _close xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .globl _parentProcess ## -- Begin function parentProcess .p2align 4, 0x90 _parentProcess: ## @parentProcess .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx leaq L_.str.5(%rip), %rsi movl $43, %edx callq _write movl %ebx, %edi callq _close xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .globl _processClient ## -- Begin function processClient .p2align 4, 0x90 _processClient: ## @processClient .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 $2152, %rsp ## imm = 0x868 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, -2100(%rbp) ## 4-byte Spill movl %edi, %ebx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq -1072(%rbp), %r15 leaq -2112(%rbp), %r13 leaq -2096(%rbp), %r12 jmp LBB3_1 .p2align 4, 0x90 LBB3_2: ## in Loop: Header=BB3_1 Depth=1 movl $55, %edx movl -2100(%rbp), %edi ## 4-byte Reload leaq L_.str.12(%rip), %rsi LBB3_5: ## in Loop: Header=BB3_1 Depth=1 callq _write LBB3_6: ## in Loop: Header=BB3_1 Depth=1 movl -1072(%rbp), %eax movl $1936682083, %ecx ## imm = 0x736F6C63 xorl %ecx, %eax movzwl -1068(%rbp), %ecx xorl $101, %ecx orl %eax, %ecx je LBB3_7 LBB3_1: ## =>This Inner Loop Header: Depth=1 movl $1023, %edx ## imm = 0x3FF movl %ebx, %edi movq %r15, %rsi xorl %ecx, %ecx callq _recv cltq movb $0, -1072(%rbp,%rax) testl %eax, %eax jle LBB3_2 ## %bb.3: ## in Loop: Header=BB3_1 Depth=1 movq %r13, %rdi callq _time movq %r13, %rdi callq _localtime movups (%rax), %xmm0 movups 16(%rax), %xmm1 movups 32(%rax), %xmm2 movaps %xmm0, -2176(%rbp) movaps %xmm1, -2160(%rbp) movaps %xmm2, -2144(%rbp) movq 48(%rax), %rax movq %rax, -2128(%rbp) callq _getpid movl %eax, %r14d leaq -2176(%rbp), %rdi callq _asctime movq %r15, (%rsp) movl $1024, %edx ## imm = 0x400 movq %r12, %rdi xorl %esi, %esi leaq L_.str.13(%rip), %rcx movl %r14d, %r8d movq %rax, %r9 xorl %eax, %eax callq ___sprintf_chk movslq %eax, %rdx movl %ebx, %edi movq %r12, %rsi xorl %ecx, %ecx callq _send cmpq $-1, %rax jne LBB3_6 ## %bb.4: ## in Loop: Header=BB3_1 Depth=1 movl $54, %edx movl -2100(%rbp), %edi ## 4-byte Reload leaq L_.str.14(%rip), %rsi jmp LBB3_5 LBB3_7: leaq L_.str.16(%rip), %rsi movl $78, %edx movl -2100(%rbp), %edi ## 4-byte Reload callq _write movl %ebx, %edi callq _close movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB3_9 ## %bb.8: addq $2152, %rsp ## imm = 0x868 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB3_9: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "test.log" L_.str.2: ## @.str.2 .asciz "PROGRAM STARTED...\n" L_.str.3: ## @.str.3 .asciz "Error occured while trying to fork()\n" L_.str.5: ## @.str.5 .asciz "The child has been created, exiting now...\n" L_.str.6: ## @.str.6 .asciz "MAIN SERVER: ERROR when opening socket...\n" L_.str.7: ## @.str.7 .asciz "MAIN SERVER: ERROR when binding...\n" L_.str.8: ## @.str.8 .asciz "[%d] MAIN SERVER: Starting listening...\n" L_.str.9: ## @.str.9 .asciz "MAIN SERVER: ERROR on acception connection from the client...\n" L_.str.10: ## @.str.10 .asciz "MAIN SERVER: Error occured while trying to fork() for client\n" L_.str.11: ## @.str.11 .asciz "MAIN SERVER: fork()'ed for client successfully\n" L_.str.12: ## @.str.12 .asciz "PROCESSING SERVER: empty request received, skipping it\n" L_.str.13: ## @.str.13 .asciz "PID: [%d] on %sYour message:%s" L_.str.14: ## @.str.14 .asciz "PROCESSING SERVER: failed to perform send() to client\n" L_.str.15: ## @.str.15 .asciz "close" L_.str.16: ## @.str.16 .asciz "PROCESSING SERVER: <close> command received, finishing communication with him\n" L_str: ## @str .asciz "\n\nMAIN SERVER: I'm done" L_str.17: ## @str.17 .asciz "Error while opening test.log for writing (initial)" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov w8, #420 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov w1, #1537 bl _open mov x19, x0 cmn w0, #1 b.eq LBB0_3 ; %bb.1: Lloh2: adrp x1, l_.str.2@PAGE Lloh3: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 mov w2, #19 bl _write bl _fork tbz w0, #31, LBB0_5 ; %bb.2: Lloh4: adrp x1, l_.str.3@PAGE Lloh5: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 mov w2, #37 bl _write mov x0, x19 bl _close mov x0, x19 bl _close mov w19, #0 Lloh6: adrp x0, l_str@PAGE Lloh7: add x0, x0, l_str@PAGEOFF b LBB0_4 LBB0_3: Lloh8: adrp x0, l_str.17@PAGE Lloh9: add x0, x0, l_str.17@PAGEOFF LBB0_4: bl _puts mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB0_5: cbnz w0, LBB0_7 ; %bb.6: mov x0, x19 bl _childProcess LBB0_7: Lloh10: adrp x1, l_.str.5@PAGE Lloh11: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 mov w2, #43 bl _write mov x0, x19 bl _close mov w0, #0 bl _exit .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .globl _childProcess ; -- Begin function childProcess .p2align 2 _childProcess: ; @childProcess .cfi_startproc ; %bb.0: sub sp, sp, #224 .cfi_def_cfa_offset 224 stp x24, x23, [sp, #160] ; 16-byte Folded Spill stp x22, x21, [sp, #176] ; 16-byte Folded Spill stp x20, x19, [sp, #192] ; 16-byte Folded Spill stp x29, x30, [sp, #208] ; 16-byte Folded Spill add x29, sp, #208 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 mov w8, #2 strb w8, [sp, #41] str wzr, [sp, #44] mov w8, #36876 strh w8, [sp, #42] mov w0, #2 mov w1, #1 mov w2, #0 bl _socket cmn w0, #1 b.ne LBB1_2 ; %bb.1: Lloh12: adrp x1, l_.str.6@PAGE Lloh13: add x1, x1, l_.str.6@PAGEOFF mov x0, x19 mov w2, #42 b LBB1_4 LBB1_2: mov x20, x0 mov w21, #16 add x1, sp, #40 mov w2, #16 bl _bind cmn w0, #1 b.ne LBB1_5 ; %bb.3: Lloh14: adrp x1, l_.str.7@PAGE Lloh15: add x1, x1, l_.str.7@PAGEOFF mov x0, x19 mov w2, #35 LBB1_4: bl _write mov x0, x19 bl _close mov w0, #1 bl _exit LBB1_5: bl _getpid ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh16: adrp x3, l_.str.8@PAGE Lloh17: add x3, x3, l_.str.8@PAGEOFF add x0, sp, #60 mov w1, #0 mov w2, #100 bl ___sprintf_chk add x0, sp, #60 bl _strlen mov x2, x0 add x1, sp, #60 mov x0, x19 bl _write mov x0, x20 mov w1, #5 bl _listen str w21, [sp, #20] Lloh18: adrp x21, l_.str.9@PAGE Lloh19: add x21, x21, l_.str.9@PAGEOFF Lloh20: adrp x22, l_.str.10@PAGE Lloh21: add x22, x22, l_.str.10@PAGEOFF Lloh22: adrp x23, l_.str.11@PAGE Lloh23: add x23, x23, l_.str.11@PAGEOFF b LBB1_7 LBB1_6: ; in Loop: Header=BB1_7 Depth=1 mov x0, x19 mov x1, x21 mov w2, #62 bl _write LBB1_7: ; =>This Inner Loop Header: Depth=1 add x1, sp, #24 add x2, sp, #20 mov x0, x20 bl _accept tbnz w0, #31, LBB1_6 ; %bb.8: ; in Loop: Header=BB1_7 Depth=1 mov x24, x0 bl _fork tbnz w0, #31, LBB1_11 ; %bb.9: ; in Loop: Header=BB1_7 Depth=1 cbz w0, LBB1_13 ; %bb.10: ; in Loop: Header=BB1_7 Depth=1 mov x0, x19 mov x1, x23 mov w2, #47 b LBB1_12 LBB1_11: ; in Loop: Header=BB1_7 Depth=1 mov x0, x19 mov x1, x22 mov w2, #61 LBB1_12: ; in Loop: Header=BB1_7 Depth=1 bl _write mov x0, x24 bl _close b LBB1_7 LBB1_13: mov x0, x20 bl _close mov x0, x24 mov x1, x19 bl _processClient mov x0, x19 bl _close mov w0, #0 bl _exit .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .globl _parentProcess ; -- Begin function parentProcess .p2align 2 _parentProcess: ; @parentProcess .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 Lloh24: adrp x1, l_.str.5@PAGE Lloh25: add x1, x1, l_.str.5@PAGEOFF mov w2, #43 bl _write mov x0, x19 bl _close mov w0, #0 bl _exit .loh AdrpAdd Lloh24, Lloh25 .cfi_endproc ; -- End function .globl _processClient ; -- Begin function processClient .p2align 2 _processClient: ; @processClient .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, #2160 mov x20, x1 mov x19, x0 Lloh26: adrp x8, ___stack_chk_guard@GOTPAGE Lloh27: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh28: ldr x8, [x8] add x25, sp, #1128 stur x8, [x29, #-88] Lloh29: adrp x21, l_.str.12@PAGE Lloh30: add x21, x21, l_.str.12@PAGEOFF mov w26, #27747 movk w26, #29551, lsl #16 mov w27, #101 Lloh31: adrp x22, l_.str.13@PAGE Lloh32: add x22, x22, l_.str.13@PAGEOFF Lloh33: adrp x23, l_.str.14@PAGE Lloh34: add x23, x23, l_.str.14@PAGEOFF b LBB3_4 LBB3_1: ; in Loop: Header=BB3_4 Depth=1 mov x0, x20 mov x1, x21 mov w2, #55 LBB3_2: ; in Loop: Header=BB3_4 Depth=1 bl _write LBB3_3: ; in Loop: Header=BB3_4 Depth=1 ldr w8, [sp, #1128] eor w8, w8, w26 ldrh w9, [sp, #1132] eor w9, w9, w27 orr w8, w8, w9 cbz w8, LBB3_7 LBB3_4: ; =>This Inner Loop Header: Depth=1 add x1, sp, #1128 mov x0, x19 mov w2, #1023 mov w3, #0 bl _recv strb wzr, [x25, w0, sxtw] cmp w0, #0 b.le LBB3_1 ; %bb.5: ; in Loop: Header=BB3_4 Depth=1 add x0, sp, #96 bl _time add x0, sp, #96 bl _localtime ldp q1, q0, [x0, #16] ldr x8, [x0, #48] ldr q2, [x0] str x8, [sp, #80] stp q1, q0, [sp, #48] str q2, [sp, #32] bl _getpid mov x24, x0 add x0, sp, #32 bl _asctime mov x8, x0 stp x8, x25, [sp, #8] add x0, sp, #104 str x24, [sp] mov w1, #0 mov w2, #1024 mov x3, x22 bl ___sprintf_chk ; kill: def $w0 killed $w0 def $x0 sxtw x2, w0 add x1, sp, #104 mov x0, x19 mov w3, #0 bl _send cmn x0, #1 b.ne LBB3_3 ; %bb.6: ; in Loop: Header=BB3_4 Depth=1 mov x0, x20 mov x1, x23 mov w2, #54 b LBB3_2 LBB3_7: Lloh35: adrp x1, l_.str.16@PAGE Lloh36: add x1, x1, l_.str.16@PAGEOFF mov x0, x20 mov w2, #78 bl _write mov x0, x19 bl _close ldur x8, [x29, #-88] Lloh37: adrp x9, ___stack_chk_guard@GOTPAGE Lloh38: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh39: ldr x9, [x9] cmp x9, x8 b.ne LBB3_9 ; %bb.8: add sp, sp, #2160 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 LBB3_9: bl ___stack_chk_fail .loh AdrpAdd Lloh33, Lloh34 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpAdd Lloh35, Lloh36 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "test.log" l_.str.2: ; @.str.2 .asciz "PROGRAM STARTED...\n" l_.str.3: ; @.str.3 .asciz "Error occured while trying to fork()\n" l_.str.5: ; @.str.5 .asciz "The child has been created, exiting now...\n" l_.str.6: ; @.str.6 .asciz "MAIN SERVER: ERROR when opening socket...\n" l_.str.7: ; @.str.7 .asciz "MAIN SERVER: ERROR when binding...\n" l_.str.8: ; @.str.8 .asciz "[%d] MAIN SERVER: Starting listening...\n" l_.str.9: ; @.str.9 .asciz "MAIN SERVER: ERROR on acception connection from the client...\n" l_.str.10: ; @.str.10 .asciz "MAIN SERVER: Error occured while trying to fork() for client\n" l_.str.11: ; @.str.11 .asciz "MAIN SERVER: fork()'ed for client successfully\n" l_.str.12: ; @.str.12 .asciz "PROCESSING SERVER: empty request received, skipping it\n" l_.str.13: ; @.str.13 .asciz "PID: [%d] on %sYour message:%s" l_.str.14: ; @.str.14 .asciz "PROCESSING SERVER: failed to perform send() to client\n" l_.str.15: ; @.str.15 .asciz "close" l_.str.16: ; @.str.16 .asciz "PROCESSING SERVER: <close> command received, finishing communication with him\n" l_str: ; @str .asciz "\n\nMAIN SERVER: I'm done" l_str.17: ; @str.17 .asciz "Error while opening test.log for writing (initial)" .subsections_via_symbols
the_stack_data/722836.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _initialize_kld_target ## -- Begin function initialize_kld_target .p2align 4, 0x90 _initialize_kld_target: ## @initialize_kld_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 _kld_relocate_section_addresses@GOTPCREL(%rip), %rax movl (%rax), %eax movq _kld_so_ops@GOTPCREL(%rip), %rcx movl %eax, 32(%rcx) movq _kld_free_so@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 28(%rcx) movq _kld_clear_solib@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%rcx) movq _kld_solib_create_inferior_hook@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 20(%rcx) movq _kld_special_symbol_handling@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%rcx) movq _kld_current_sos@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 12(%rcx) movq _kld_open_symbol_file_object@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rcx) movq _kld_in_dynsym_resolve_code@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rcx) movq _kld_find_and_open_solib@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rcx) movq _current_target_so_ops@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _class_files@GOTPCREL(%rip), %rax movl (%rax), %esi movq _kgdb_add_kld_cmd@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rcx callq _add_com movq _filename_completer@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq %rax, %rdi popq %rbp jmp _set_cmd_completer ## TAILCALL .cfi_endproc ## -- End function .comm _kld_relocate_section_addresses,4,2 ## @kld_relocate_section_addresses .comm _kld_so_ops,36,2 ## @kld_so_ops .comm _kld_free_so,4,2 ## @kld_free_so .comm _kld_clear_solib,4,2 ## @kld_clear_solib .comm _kld_solib_create_inferior_hook,4,2 ## @kld_solib_create_inferior_hook .comm _kld_special_symbol_handling,4,2 ## @kld_special_symbol_handling .comm _kld_current_sos,4,2 ## @kld_current_sos .comm _kld_open_symbol_file_object,4,2 ## @kld_open_symbol_file_object .comm _kld_in_dynsym_resolve_code,4,2 ## @kld_in_dynsym_resolve_code .comm _kld_find_and_open_solib,4,2 ## @kld_find_and_open_solib .comm _current_target_so_ops,8,3 ## @current_target_so_ops .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "add-kld" .comm _class_files,4,2 ## @class_files .comm _kgdb_add_kld_cmd,4,2 ## @kgdb_add_kld_cmd L_.str.1: ## @.str.1 .asciz "Usage: add-kld FILE\nLoad the symbols from the kernel loadable module FILE." .comm _filename_completer,4,2 ## @filename_completer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _initialize_kld_target ; -- Begin function initialize_kld_target .p2align 2 _initialize_kld_target: ; @initialize_kld_target .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, _kld_relocate_section_addresses@GOTPAGE Lloh1: ldr x8, [x8, _kld_relocate_section_addresses@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _kld_so_ops@GOTPAGE Lloh4: ldr x9, [x9, _kld_so_ops@GOTPAGEOFF] str w8, [x9, #32] Lloh5: adrp x8, _kld_free_so@GOTPAGE Lloh6: ldr x8, [x8, _kld_free_so@GOTPAGEOFF] Lloh7: ldr w8, [x8] Lloh8: adrp x10, _kld_clear_solib@GOTPAGE Lloh9: ldr x10, [x10, _kld_clear_solib@GOTPAGEOFF] Lloh10: ldr w10, [x10] stp w10, w8, [x9, #24] Lloh11: adrp x8, _kld_solib_create_inferior_hook@GOTPAGE Lloh12: ldr x8, [x8, _kld_solib_create_inferior_hook@GOTPAGEOFF] Lloh13: ldr w8, [x8] Lloh14: adrp x10, _kld_special_symbol_handling@GOTPAGE Lloh15: ldr x10, [x10, _kld_special_symbol_handling@GOTPAGEOFF] Lloh16: ldr w10, [x10] Lloh17: adrp x11, _kld_current_sos@GOTPAGE Lloh18: ldr x11, [x11, _kld_current_sos@GOTPAGEOFF] stp w10, w8, [x9, #16] Lloh19: ldr w8, [x11] Lloh20: adrp x10, _kld_open_symbol_file_object@GOTPAGE Lloh21: ldr x10, [x10, _kld_open_symbol_file_object@GOTPAGEOFF] Lloh22: ldr w10, [x10] stp w10, w8, [x9, #8] Lloh23: adrp x8, _kld_in_dynsym_resolve_code@GOTPAGE Lloh24: ldr x8, [x8, _kld_in_dynsym_resolve_code@GOTPAGEOFF] Lloh25: ldr w8, [x8] Lloh26: adrp x10, _kld_find_and_open_solib@GOTPAGE Lloh27: ldr x10, [x10, _kld_find_and_open_solib@GOTPAGEOFF] Lloh28: ldr w10, [x10] stp w10, w8, [x9] Lloh29: adrp x8, _current_target_so_ops@GOTPAGE Lloh30: ldr x8, [x8, _current_target_so_ops@GOTPAGEOFF] Lloh31: str x9, [x8] Lloh32: adrp x8, _class_files@GOTPAGE Lloh33: ldr x8, [x8, _class_files@GOTPAGEOFF] Lloh34: ldr w1, [x8] Lloh35: adrp x8, _kgdb_add_kld_cmd@GOTPAGE Lloh36: ldr x8, [x8, _kgdb_add_kld_cmd@GOTPAGEOFF] Lloh37: ldr w2, [x8] Lloh38: adrp x0, l_.str@PAGE Lloh39: add x0, x0, l_.str@PAGEOFF Lloh40: adrp x3, l_.str.1@PAGE Lloh41: add x3, x3, l_.str.1@PAGEOFF bl _add_com Lloh42: adrp x8, _filename_completer@GOTPAGE Lloh43: ldr x8, [x8, _filename_completer@GOTPAGEOFF] Lloh44: ldr w1, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _set_cmd_completer .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotStr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _kld_relocate_section_addresses,4,2 ; @kld_relocate_section_addresses .comm _kld_so_ops,36,2 ; @kld_so_ops .comm _kld_free_so,4,2 ; @kld_free_so .comm _kld_clear_solib,4,2 ; @kld_clear_solib .comm _kld_solib_create_inferior_hook,4,2 ; @kld_solib_create_inferior_hook .comm _kld_special_symbol_handling,4,2 ; @kld_special_symbol_handling .comm _kld_current_sos,4,2 ; @kld_current_sos .comm _kld_open_symbol_file_object,4,2 ; @kld_open_symbol_file_object .comm _kld_in_dynsym_resolve_code,4,2 ; @kld_in_dynsym_resolve_code .comm _kld_find_and_open_solib,4,2 ; @kld_find_and_open_solib .comm _current_target_so_ops,8,3 ; @current_target_so_ops .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "add-kld" .comm _class_files,4,2 ; @class_files .comm _kgdb_add_kld_cmd,4,2 ; @kgdb_add_kld_cmd l_.str.1: ; @.str.1 .asciz "Usage: add-kld FILE\nLoad the symbols from the kernel loadable module FILE." .comm _filename_completer,4,2 ; @filename_completer .subsections_via_symbols
AnghaBench/freebsd/gnu/usr.bin/gdb/kgdb/extr_kld.c_initialize_kld_target.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _day_of_year ## -- Begin function day_of_year .p2align 4, 0x90 _day_of_year: ## @day_of_year .cfi_startproc ## %bb.0: ## kill: def $esi killed $esi def $rsi testb $3, %dil jne LBB0_2 ## %bb.1: movslq %edi, %rax imulq $274877907, %rax, %rax ## imm = 0x10624DD3 movq %rax, %rcx shrq $63, %rcx sarq $38, %rax addl %ecx, %eax imull $1000, %eax, %r8d ## imm = 0x3E8 movl %edi, %eax movl $1, %ecx subl %r8d, %eax jne LBB0_3 LBB0_2: imull $-1030792151, %edi, %eax ## imm = 0xC28F5C29 addl $85899344, %eax ## imm = 0x51EB850 rorl $4, %eax xorl %ecx, %ecx cmpl $10737419, %eax ## imm = 0xA3D70B setb %cl LBB0_3: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx .cfi_offset %rbx, -24 movl $-1, %eax testl %edx, %edx jle LBB0_17 ## %bb.4: cmpl $1752, %edi ## imm = 0x6D8 jl LBB0_17 ## %bb.5: leal -13(%rsi), %edi cmpl $-12, %edi jb LBB0_17 ## %bb.6: movl %esi, %r11d leaq (%rcx,%rcx,2), %rdi leaq (%rcx,%rdi,4), %r10 leaq _daytab(%rip), %r9 leaq (%r9,%r10), %rbx movsbl (%r11,%rbx), %edi cmpl %edx, %edi jl LBB0_17 ## %bb.7: cmpl $2, %esi jb LBB0_8 ## %bb.9: leaq -1(%r11), %rax addq $-2, %r11 movl %eax, %r8d andl $3, %r8d cmpq $3, %r11 jae LBB0_11 ## %bb.10: movl $1, %edi jmp LBB0_14 LBB0_8: movl %edx, %eax jmp LBB0_17 LBB0_11: andq $-4, %rax leaq (%r9,%r10), %rsi addq $4, %rsi xorl %edi, %edi .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movsbl -3(%rsi,%rdi), %ecx addl %edx, %ecx movsbl -2(%rsi,%rdi), %edx addl %ecx, %edx movsbl -1(%rsi,%rdi), %ecx addl %edx, %ecx movsbl (%rsi,%rdi), %edx addl %ecx, %edx addq $4, %rdi cmpq %rdi, %rax jne LBB0_12 ## %bb.13: incq %rdi LBB0_14: movl %edx, %eax testq %r8, %r8 je LBB0_17 ## %bb.15: addq %rdi, %rbx xorl %esi, %esi movl %edx, %eax .p2align 4, 0x90 LBB0_16: ## =>This Inner Loop Header: Depth=1 movsbl (%rbx,%rsi), %ecx addl %ecx, %eax incq %rsi cmpq %rsi, %r8 jne LBB0_16 LBB0_17: popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _month_day ## -- Begin function month_day .p2align 4, 0x90 _month_day: ## @month_day .cfi_startproc ## %bb.0: testb $3, %dil jne LBB1_2 ## %bb.1: movslq %edi, %rax imulq $274877907, %rax, %rax ## imm = 0x10624DD3 movq %rax, %r8 shrq $63, %r8 sarq $38, %rax addl %r8d, %eax imull $1000, %eax, %r9d ## imm = 0x3E8 movl %edi, %eax movb $1, %r8b subl %r9d, %eax jne LBB1_3 LBB1_2: imull $-1030792151, %edi, %eax ## imm = 0xC28F5C29 addl $85899344, %eax ## imm = 0x51EB850 rorl $4, %eax cmpl $10737419, %eax ## imm = 0xA3D70B setb %r8b LBB1_3: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $-1, %eax cmpl $1752, %edi ## imm = 0x6D8 jl LBB1_13 ## %bb.4: testl %esi, %esi jle LBB1_13 ## %bb.5: cmpl $367, %esi ## imm = 0x16F setae %r9b movl $-1, %edi cmpl $365, %esi ## imm = 0x16D ja LBB1_14 ## %bb.6: andb %r8b, %r9b jne LBB1_14 ## %bb.7: movzbl %r8b, %eax leaq (%rax,%rax,2), %rdi leaq (%rax,%rdi,4), %r9 leaq _daytab(%rip), %r8 movsbl 1(%r8,%r9), %edi movl $1, %eax cmpl %esi, %edi jge LBB1_11 ## %bb.8: addq %r9, %r8 movl $2, %eax .p2align 4, 0x90 LBB1_9: ## =>This Inner Loop Header: Depth=1 subl %edi, %esi movsbl (%r8,%rax), %edi incq %rax cmpl %edi, %esi jg LBB1_9 ## %bb.10: decl %eax LBB1_11: movl %esi, %edi jmp LBB1_14 LBB1_13: movl $-1, %edi LBB1_14: movl %eax, (%rdx) movl %edi, (%rcx) 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 leaq L_.str(%rip), %rdi movl $361, %esi ## imm = 0x169 movl $48, %edx xorl %eax, %eax callq _printf movl $115, %edx movl $31, %eax movl $2, %esi leaq _daytab(%rip), %rcx .p2align 4, 0x90 LBB2_1: ## =>This Inner Loop Header: Depth=1 subl %eax, %edx movsbl (%rsi,%rcx), %eax incq %rsi cmpl %eax, %edx jg LBB2_1 ## %bb.2: decl %esi leaq L_.str(%rip), %rdi ## kill: def $esi killed $esi killed $rsi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @daytab _daytab: .ascii "\000\037\034\037\036\037\036\037\037\036\037\036\037" .ascii "\000\037\035\037\036\037\036\037\037\036\037\036\037" .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d, %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _day_of_year ; -- Begin function day_of_year .p2align 2 _day_of_year: ; @day_of_year .cfi_startproc ; %bb.0: mov x8, x0 tst w0, #0x3 b.ne LBB0_3 ; %bb.1: mov w9, #19923 movk w9, #4194, lsl #16 smull x9, w8, w9 lsr x10, x9, #63 asr x9, x9, #38 add w9, w9, w10 mov w10, #1000 msub w9, w9, w10, w8 cbz w9, LBB0_3 ; %bb.2: mov w9, #1 b LBB0_4 LBB0_3: mov w9, #23593 movk w9, #49807, lsl #16 mov w10, #47184 movk w10, #1310, lsl #16 madd w9, w8, w9, w10 ror w9, w9, #4 mov w10, #55051 movk w10, #163, lsl #16 cmp w9, w10 cset w9, lo LBB0_4: mov w0, #-1 cmp w2, #1 b.lt LBB0_12 ; %bb.5: cmp w8, #1752 b.lt LBB0_12 ; %bb.6: sub w8, w1, #13 cmn w8, #12 b.lo LBB0_12 ; %bb.7: mov w10, w1 mov w11, #13 Lloh0: adrp x8, _daytab@PAGE Lloh1: add x8, x8, _daytab@PAGEOFF madd x11, x9, x11, x8 ldrsb w11, [x11, x10] cmp w11, w2 b.ge LBB0_9 ; %bb.8: mov w0, #-1 ret LBB0_9: cmp w1, #2 b.lo LBB0_13 ; %bb.10: mov w11, #13 madd x8, x9, x11, x8 add x8, x8, #1 sub x9, x10, #1 mov x0, x2 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldrsb w10, [x8], #1 add w0, w0, w10 subs x9, x9, #1 b.ne LBB0_11 LBB0_12: ret LBB0_13: mov x0, x2 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _month_day ; -- Begin function month_day .p2align 2 _month_day: ; @month_day .cfi_startproc ; %bb.0: tst w0, #0x3 b.ne LBB1_3 ; %bb.1: mov w8, #19923 movk w8, #4194, lsl #16 smull x8, w0, w8 lsr x9, x8, #63 asr x8, x8, #38 add w8, w8, w9 mov w9, #1000 msub w8, w8, w9, w0 cbz w8, LBB1_3 ; %bb.2: mov w8, #1 b LBB1_4 LBB1_3: mov w8, #23593 movk w8, #49807, lsl #16 mov w9, #47184 movk w9, #1310, lsl #16 madd w8, w0, w8, w9 ror w8, w8, #4 mov w9, #55051 movk w9, #163, lsl #16 cmp w8, w9 cset w8, lo LBB1_4: mov w9, #-1 mov w10, #-1 cmp w0, #1752 b.lt LBB1_15 ; %bb.5: cmp w1, #1 b.lt LBB1_15 ; %bb.6: cmp w1, #366 cset w10, hi mov w9, #-1 cmp w1, #365 b.hi LBB1_12 ; %bb.7: and w11, w10, w8 mov w10, #-1 tbnz w11, #0, LBB1_15 ; %bb.8: Lloh2: adrp x10, _daytab@PAGE Lloh3: add x10, x10, _daytab@PAGEOFF mov w9, #13 umaddl x9, w8, w9, x10 ldrsb w9, [x9, #1] cmp w9, w1 b.ge LBB1_13 ; %bb.9: mov w8, w8 mov w11, #13 madd x10, x8, x11, x10 mov w8, #2 LBB1_10: ; =>This Inner Loop Header: Depth=1 sub w1, w1, w9 ldrsb w9, [x10, x8] cmp w1, w9 add x8, x8, #1 b.gt LBB1_10 ; %bb.11: sub w9, w8, #1 b LBB1_14 LBB1_12: mov w10, #-1 b LBB1_15 LBB1_13: mov w9, #1 LBB1_14: mov x10, x1 LBB1_15: str w9, [x2] str w10, [x3] ret .loh AdrpAdd Lloh2, Lloh3 .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 mov w8, #48 mov w9, #361 stp x9, x8, [sp] Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF bl _printf mov w8, #115 mov w10, #31 mov w9, #2 Lloh6: adrp x11, _daytab@PAGE Lloh7: add x11, x11, _daytab@PAGEOFF LBB2_1: ; =>This Inner Loop Header: Depth=1 sub w8, w8, w10 ldrsb w10, [x11, x9] cmp w8, w10 add x9, x9, #1 b.gt LBB2_1 ; %bb.2: sub x9, x9, #1 stp x9, x8, [sp] Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__const _daytab: ; @daytab .ascii "\000\037\034\037\036\037\036\037\037\036\037\036\037" .ascii "\000\037\035\037\036\037\036\037\037\036\037\036\037" .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d, %d\n" .subsections_via_symbols
the_stack_data/145452215.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cap_endgrent ## -- Begin function cap_endgrent .p2align 4, 0x90 _cap_endgrent: ## @cap_endgrent .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 xorl %edi, %edi callq _nvlist_create movq %rax, %rbx leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rdx movq %rax, %rdi callq _nvlist_add_string movq %r14, %rdi movq %rbx, %rsi callq _cap_xfer_nvlist movl %eax, %edi popq %rbx popq %r14 popq %rbp jmp _nvlist_destroy ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "cmd" L_.str.1: ## @.str.1 .asciz "endgrent" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cap_endgrent ; -- Begin function cap_endgrent .p2align 2 _cap_endgrent: ; @cap_endgrent .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, #0 bl _nvlist_create mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF Lloh2: adrp x2, l_.str.1@PAGE Lloh3: add x2, x2, l_.str.1@PAGEOFF bl _nvlist_add_string mov x0, x19 mov x1, x20 bl _cap_xfer_nvlist ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _nvlist_destroy .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "cmd" l_.str.1: ; @.str.1 .asciz "endgrent" .subsections_via_symbols
AnghaBench/freebsd/lib/libcasper/services/cap_grp/extr_cap_grp.c_cap_endgrent.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi movl $-1, %esi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #-1 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d\n" .subsections_via_symbols
the_stack_data/40764219.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rcar_du_plane_setup _rcar_du_plane_setup: ## @rcar_du_plane_setup .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(%rdi), %edi callq _to_rcar_plane_state movl (%rbx), %edi movq %rax, %rsi addq $8, %rsp popq %rbx popq %rbp jmp ___rcar_du_plane_setup ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _rcar_du_plane_setup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rcar_du_plane_setup _rcar_du_plane_setup: ; @rcar_du_plane_setup .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0, #4] bl _to_rcar_plane_state mov x1, x0 ldr w0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b ___rcar_du_plane_setup .cfi_endproc ; -- End function .no_dead_strip _rcar_du_plane_setup .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/rcar-du/extr_rcar_du_plane.h_rcar_du_plane_setup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vx_change_audio_source _vx_change_audio_source: ## @vx_change_audio_source .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 _VX_STAT_IS_STALE@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rdi) je LBB0_2 ## %bb.1: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_2: movl %esi, %r14d movq %rdi, %rbx leaq 4(%rdi), %r15 movq %r15, %rdi callq _spin_lock_irqsave movq 8(%rbx), %rax movq %rbx, %rdi movl %r14d, %esi callq *(%rax) movq %r15, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _spin_unlock_irqrestore ## TAILCALL .cfi_endproc ## -- End function .comm _VX_STAT_IS_STALE,4,2 ## @VX_STAT_IS_STALE .no_dead_strip _vx_change_audio_source .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vx_change_audio_source _vx_change_audio_source: ; @vx_change_audio_source .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr w8, [x0] Lloh0: adrp x9, _VX_STAT_IS_STALE@GOTPAGE Lloh1: ldr x9, [x9, _VX_STAT_IS_STALE@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_2 ; %bb.1: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_2: mov x19, x1 mov x20, x0 add x21, x0, #4 mov x0, x21 bl _spin_lock_irqsave ldr x8, [x20, #8] ldr x8, [x8] mov x0, x20 mov x1, x19 blr x8 mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _spin_unlock_irqrestore .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _VX_STAT_IS_STALE,4,2 ; @VX_STAT_IS_STALE .no_dead_strip _vx_change_audio_source .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/drivers/vx/extr_vx_mixer.c_vx_change_audio_source.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sdhci_at91_remove _sdhci_at91_remove: ## @sdhci_at91_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 %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx callq _platform_get_drvdata movq %rax, %rdi callq _sdhci_priv movq %rax, %rdi callq _sdhci_pltfm_priv movq 16(%rax), %r14 movq (%rax), %r15 movq 8(%rax), %r12 movq %rbx, %rdi callq _pm_runtime_get_sync movq %rbx, %rdi callq _pm_runtime_disable movq %rbx, %rdi callq _pm_runtime_put_noidle movq %rbx, %rdi callq _sdhci_pltfm_unregister movq %r14, %rdi callq _clk_disable_unprepare movq %r12, %rdi callq _clk_disable_unprepare movq %r15, %rdi callq _clk_disable_unprepare xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sdhci_at91_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sdhci_at91_remove _sdhci_at91_remove: ; @sdhci_at91_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 mov x19, x0 bl _platform_get_drvdata bl _sdhci_priv bl _sdhci_pltfm_priv ldp x21, x20, [x0, #8] ldr x22, [x0] mov x0, x19 bl _pm_runtime_get_sync mov x0, x19 bl _pm_runtime_disable mov x0, x19 bl _pm_runtime_put_noidle mov x0, x19 bl _sdhci_pltfm_unregister mov x0, x20 bl _clk_disable_unprepare mov x0, x21 bl _clk_disable_unprepare mov x0, x22 bl _clk_disable_unprepare mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _sdhci_at91_remove .subsections_via_symbols
AnghaBench/linux/drivers/mmc/host/extr_sdhci-of-at91.c_sdhci_at91_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function OnInitDialog _OnInitDialog: ## @OnInitDialog .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx callq _GetSyncSetting movl %ebx, %edi callq _EnableDialogText movl %ebx, %edi addq $8, %rsp popq %rbx popq %rbp jmp _CreateNTPServerList ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _OnInitDialog .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function OnInitDialog _OnInitDialog: ; @OnInitDialog .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 _GetSyncSetting mov x0, x19 bl _EnableDialogText mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _CreateNTPServerList .cfi_endproc ; -- End function .no_dead_strip _OnInitDialog .subsections_via_symbols
AnghaBench/reactos/dll/cpl/timedate/extr_internettime.c_OnInitDialog.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function uni_putc _uni_putc: ## @uni_putc .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, (%rsi) jl LBB0_2 ## %bb.1: movq 8(%rsi), %rax leaq 1(%rax), %rcx movq %rcx, 8(%rsi) movb %dil, (%rax) decl (%rsi) movq 8(%rsi), %rax movb $0, (%rax) LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _uni_putc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function uni_putc _uni_putc: ; @uni_putc .cfi_startproc ; %bb.0: ldr w8, [x1] cmp w8, #2 b.lt LBB0_2 ; %bb.1: ldr x8, [x1, #8] add x9, x8, #1 str x9, [x1, #8] strb w0, [x8] ldr w8, [x1] sub w8, w8, #1 str w8, [x1] ldr x8, [x1, #8] strb wzr, [x8] LBB0_2: ret .cfi_endproc ; -- End function .no_dead_strip _uni_putc .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_ie.c_uni_putc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bwi_rf_off_11g_rev5 _bwi_rf_off_11g_rev5: ## @bwi_rf_off_11g_rev5 .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 $2065, %esi ## imm = 0x811 movl $140, %edx callq _PHY_SETBITS movq %rbx, %rdi movl $2066, %esi ## imm = 0x812 movl $140, %edx addq $8, %rsp popq %rbx popq %rbp jmp _PHY_CLRBITS ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _bwi_rf_off_11g_rev5 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bwi_rf_off_11g_rev5 _bwi_rf_off_11g_rev5: ; @bwi_rf_off_11g_rev5 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w1, #2065 mov w2, #140 bl _PHY_SETBITS mov x0, x19 mov w1, #2066 mov w2, #140 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _PHY_CLRBITS .cfi_endproc ; -- End function .no_dead_strip _bwi_rf_off_11g_rev5 .subsections_via_symbols
AnghaBench/freebsd/sys/dev/bwi/extr_bwirf.c_bwi_rf_off_11g_rev5.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pppol2tp_release _pppol2tp_release: ## @pppol2tp_release .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq (%rdi), %rbx xorl %r14d, %r14d testq %rbx, %rbx je LBB0_8 ## %bb.1: movq %rdi, %r15 movq _EBADF@GOTPCREL(%rip), %rax movl (%rax), %r12d movq %rbx, %rdi callq _lock_sock movq _SOCK_DEAD@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _sock_flag testq %rax, %rax je LBB0_2 ## %bb.7: negl %r12d movq %rbx, %rdi callq _release_sock movl %r12d, %r14d jmp LBB0_8 LBB0_2: movq %rbx, %rdi callq _pppox_unbind_sock movq _PPPOX_DEAD@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) movq %rbx, %rdi callq _sock_orphan movq $0, (%r15) movq %rbx, %rdi callq _pppol2tp_sock_to_session movq %rax, %r15 leaq 4(%rbx), %rdi callq _skb_queue_purge movq %rbx, %rdi callq _skb_queue_purge testq %r15, %r15 je LBB0_6 .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _skb_dequeue testq %rax, %rax je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_4 Depth=1 movq %rax, %rdi callq _kfree_skb movq %rbx, %rdi callq _sock_put jmp LBB0_4 LBB0_5: movq %rbx, %rdi callq _sock_put LBB0_6: movq %rbx, %rdi callq _release_sock movq %rbx, %rdi callq _sock_put LBB0_8: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EBADF,4,2 ## @EBADF .comm _SOCK_DEAD,4,2 ## @SOCK_DEAD .comm _PPPOX_DEAD,4,2 ## @PPPOX_DEAD .no_dead_strip _pppol2tp_release .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pppol2tp_release _pppol2tp_release: ; @pppol2tp_release .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr x19, [x0] cbz x19, LBB0_8 ; %bb.1: mov x20, x0 Lloh0: adrp x8, _EBADF@GOTPAGE Lloh1: ldr x8, [x8, _EBADF@GOTPAGEOFF] Lloh2: ldr w21, [x8] mov x0, x19 bl _lock_sock Lloh3: adrp x8, _SOCK_DEAD@GOTPAGE Lloh4: ldr x8, [x8, _SOCK_DEAD@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 bl _sock_flag cbz x0, LBB0_3 ; %bb.2: neg w20, w21 mov x0, x19 bl _release_sock b LBB0_9 LBB0_3: mov x0, x19 bl _pppox_unbind_sock Lloh6: adrp x8, _PPPOX_DEAD@GOTPAGE Lloh7: ldr x8, [x8, _PPPOX_DEAD@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [x19, #8] mov x0, x19 bl _sock_orphan str xzr, [x20] mov x0, x19 bl _pppol2tp_sock_to_session mov x20, x0 add x0, x19, #4 bl _skb_queue_purge mov x0, x19 bl _skb_queue_purge cbz x20, LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _skb_dequeue cbz x0, LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 bl _kfree_skb mov x0, x19 bl _sock_put b LBB0_4 LBB0_6: mov x0, x19 bl _sock_put LBB0_7: mov x0, x19 bl _release_sock mov x0, x19 bl _sock_put LBB0_8: mov w20, #0 LBB0_9: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _EBADF,4,2 ; @EBADF .comm _SOCK_DEAD,4,2 ; @SOCK_DEAD .comm _PPPOX_DEAD,4,2 ; @PPPOX_DEAD .no_dead_strip _pppol2tp_release .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/extr_pppol2tp.c_pppol2tp_release.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nvlist_prev_nvpair ## -- Begin function nvlist_prev_nvpair .p2align 4, 0x90 _nvlist_prev_nvpair: ## @nvlist_prev_nvpair .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 %rdi, %rdi je LBB0_7 ## %bb.1: movq %rdi, %rbx movq (%rdi), %r12 testq %r12, %r12 je LBB0_7 ## %bb.2: movq %rsi, %r15 movq %rsi, %rdi callq _NVPAIR2I_NVP testq %r15, %r15 je LBB0_8 ## %bb.3: movq %rax, %r14 cmpq %rax, (%r12) je LBB0_5 ## %bb.4: movq %rbx, %rdi movq %r15, %rsi callq _nvlist_contains_nvp testq %rax, %rax je LBB0_12 LBB0_5: addq $8, %r14 jmp LBB0_9 LBB0_7: xorl %eax, %eax jmp LBB0_11 LBB0_8: leaq 8(%r12), %r14 LBB0_9: movq (%r14), %rax LBB0_10: movq %rax, (%r12) LBB0_11: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_12: xorl %eax, %eax jmp LBB0_10 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nvlist_prev_nvpair ; -- Begin function nvlist_prev_nvpair .p2align 2 _nvlist_prev_nvpair: ; @nvlist_prev_nvpair .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz x0, LBB0_10 ; %bb.1: mov x20, x0 ldr x22, [x0] cbz x22, LBB0_6 ; %bb.2: mov x19, x1 mov x0, x1 bl _NVPAIR2I_NVP cbz x19, LBB0_7 ; %bb.3: mov x21, x0 ldr x8, [x22] cmp x8, x0 b.eq LBB0_5 ; %bb.4: mov x0, x20 mov x1, x19 bl _nvlist_contains_nvp cbz x0, LBB0_9 LBB0_5: add x8, x21, #8 b LBB0_8 LBB0_6: mov x0, #0 b LBB0_10 LBB0_7: add x8, x22, #8 LBB0_8: ldr x0, [x8] LBB0_9: str x0, [x22] LBB0_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/sys/cddl/contrib/opensolaris/common/nvpair/extr_opensolaris_nvpair.c_nvlist_prev_nvpair.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _push ## -- Begin function push .p2align 4, 0x90 _push: ## @push .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx movl $16, %edi callq _malloc movl %r14d, (%rax) movq (%rbx), %rcx movq %rcx, 8(%rax) movq %rax, (%rbx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _count ## -- Begin function count .p2align 4, 0x90 _count: ## @count .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 je LBB1_3 .p2align 4, 0x90 LBB1_1: ## =>This Inner Loop Header: Depth=1 xorl %ecx, %ecx cmpl %esi, (%rdi) sete %cl addl %ecx, %eax movq 8(%rdi), %rdi testq %rdi, %rdi jne LBB1_1 LBB1_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl $16, %edi callq _malloc movq %rax, %rbx movl $1, (%rax) movq $0, 8(%rax) movl $16, %edi callq _malloc movq %rax, %r14 movl $3, (%rax) movq %rbx, 8(%rax) movl $16, %edi callq _malloc movq %rax, %rbx movl $1, (%rax) movq %r14, 8(%rax) movl $16, %edi callq _malloc movl $2, (%rax) movq %rbx, 8(%rax) movl $1, %esi testq %rax, %rax je LBB2_2 .p2align 4, 0x90 LBB2_1: ## =>This Inner Loop Header: Depth=1 xorl %ecx, %ecx cmpl $1, (%rax) movq 8(%rax), %rdx sete %cl addl %ecx, %esi movq %rdx, %rax testq %rdx, %rdx jne LBB2_1 LBB2_2: leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "count of 1 is %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _push ; -- Begin function push .p2align 2 _push: ; @push .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 mov w0, #16 bl _malloc str w19, [x0] ldr x8, [x20] str x8, [x0, #8] str x0, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _count ; -- Begin function count .p2align 2 _count: ; @count .cfi_startproc ; %bb.0: mov w8, #0 cbz x0, LBB1_2 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldr w9, [x0] cmp w9, w1 cinc w8, w8, eq ldr x0, [x0, #8] cbnz x0, LBB1_1 LBB1_2: mov x0, x8 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 mov w0, #16 bl _malloc mov x19, x0 mov w21, #1 str w21, [x0] str xzr, [x0, #8] mov w0, #16 bl _malloc mov x20, x0 mov w8, #3 str w8, [x0] str x19, [x0, #8] mov w0, #16 bl _malloc mov x19, x0 str w21, [x0] str x20, [x0, #8] mov w0, #16 bl _malloc mov w8, #2 str w8, [x0] str x19, [x0, #8] cbz x0, LBB2_3 ; %bb.1: mov w21, #1 LBB2_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x0] ldr x0, [x0, #8] cmp w8, #1 cinc w21, w21, eq cbnz x0, LBB2_2 LBB2_3: str x21, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf 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 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "count of 1 is %d" .subsections_via_symbols
the_stack_data/97171.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bcm_spi_writew _bcm_spi_writew: ## @bcm_spi_writew .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, %eax movq (%rdi), %rcx movl %edx, %edx movq (%rcx,%rdx,8), %rsi addq 8(%rdi), %rsi movl %eax, %edi popq %rbp jmp _writew ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _bcm_spi_writew .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bcm_spi_writew _bcm_spi_writew: ; @bcm_spi_writew .cfi_startproc ; %bb.0: mov x8, x1 ldp x10, x9, [x0] ldr x10, [x10, w2, uxtw #3] add x1, x10, x9 mov x0, x8 b _writew .cfi_endproc ; -- End function .no_dead_strip _bcm_spi_writew .subsections_via_symbols
AnghaBench/linux/drivers/spi/extr_spi-bcm63xx.c_bcm_spi_writew.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _snd_malloc_pages ## -- Begin function snd_malloc_pages .p2align 4, 0x90 _snd_malloc_pages: ## @snd_malloc_pages .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %rbx xorl %edi, %edi testq %rbx, %rbx sete %dil callq _WARN_ON testq %rax, %rax jne LBB0_1 ## %bb.2: xorl %edi, %edi testl %r14d, %r14d sete %dil callq _WARN_ON testq %rax, %rax je LBB0_4 LBB0_1: xorl %ebx, %ebx LBB0_6: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_4: movq ___GFP_COMP@GOTPCREL(%rip), %rax orl (%rax), %r14d movq %rbx, %rdi callq _get_order movl %eax, %r15d movl %r14d, %edi movl %eax, %esi callq ___get_free_pages movq %rax, %rbx testq %rax, %rax je LBB0_6 ## %bb.5: movl %r15d, %edi callq _inc_snd_pages jmp LBB0_6 .cfi_endproc ## -- End function .comm ___GFP_COMP,4,2 ## @__GFP_COMP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _snd_malloc_pages ; -- Begin function snd_malloc_pages .p2align 2 _snd_malloc_pages: ; @snd_malloc_pages .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 cmp x0, #0 cset w0, eq bl _WARN_ON cbnz x0, LBB0_2 ; %bb.1: cmp w20, #0 cset w0, eq bl _WARN_ON cbz x0, LBB0_4 LBB0_2: mov x19, #0 LBB0_3: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_4: Lloh0: adrp x8, ___GFP_COMP@GOTPAGE Lloh1: ldr x8, [x8, ___GFP_COMP@GOTPAGEOFF] Lloh2: ldr w8, [x8] orr w21, w8, w20 mov x0, x19 bl _get_order mov x20, x0 mov x0, x21 mov x1, x20 bl ___get_free_pages mov x19, x0 cbz x0, LBB0_3 ; %bb.5: mov x0, x20 bl _inc_snd_pages b LBB0_3 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm ___GFP_COMP,4,2 ; @__GFP_COMP .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/core/extr_memalloc.c_snd_malloc_pages.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ParseId _ParseId: ## @ParseId .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %ebx movq $0, -24(%rbp) leaq -24(%rbp), %rsi movl $10, %edx callq _wcstoul movq -24(%rbp), %rcx testq %rcx, %rcx je LBB0_4 ## %bb.1: movq (%rcx), %rcx movq _UNICODE_NULL@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_4 ## %bb.2: movq _TRUE@GOTPCREL(%rip), %rcx movl (%rcx), %ebx testq %r14, %r14 je LBB0_4 ## %bb.3: movl %eax, (%r14) LBB0_4: movl %ebx, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _FALSE,4,2 ## @FALSE .comm _UNICODE_NULL,8,3 ## @UNICODE_NULL .comm _TRUE,4,2 ## @TRUE .no_dead_strip _ParseId .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ParseId _ParseId: ; @ParseId .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 Lloh0: adrp x8, _FALSE@GOTPAGE Lloh1: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh2: ldr w19, [x8] str xzr, [sp, #8] add x1, sp, #8 mov w2, #10 bl _wcstoul ldr x8, [sp, #8] cbz x8, LBB0_4 ; %bb.1: ldr x8, [x8] Lloh3: adrp x9, _UNICODE_NULL@GOTPAGE Lloh4: ldr x9, [x9, _UNICODE_NULL@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 b.ne LBB0_4 ; %bb.2: Lloh6: adrp x8, _TRUE@GOTPAGE Lloh7: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh8: ldr w19, [x8] cbz x20, LBB0_4 ; %bb.3: str w0, [x20] LBB0_4: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _FALSE,4,2 ; @FALSE .comm _UNICODE_NULL,8,3 ; @UNICODE_NULL .comm _TRUE,4,2 ; @TRUE .no_dead_strip _ParseId .subsections_via_symbols
AnghaBench/reactos/base/applications/cmdutils/at/extr_at.c_ParseId.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $232, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rbx leaq -64(%rbp), %rsi leaq -60(%rbp), %rdx movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf leaq -56(%rbp), %rsi leaq -52(%rbp), %rdx movq %rbx, %rdi xorl %eax, %eax callq _scanf movl -60(%rbp), %ecx cmpl -56(%rbp), %ecx jne LBB0_1 ## %bb.4: movq %rsp, -176(%rbp) ## 8-byte Spill movl -64(%rbp), %eax movq %rcx, -120(%rbp) ## 8-byte Spill imulq %rcx, %rax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -112(%rbp) ## 8-byte Spill movl -56(%rbp), %eax movl -52(%rbp), %ebx imulq %rbx, %rax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -96(%rbp) ## 8-byte Spill movl -64(%rbp), %r14d movq %r14, %rax movq %rbx, -80(%rbp) ## 8-byte Spill imulq %rbx, %rax shlq $2, %rax callq ____chkstk_darwin movq %r14, %rcx addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -88(%rbp) ## 8-byte Spill testl %ecx, %ecx jle LBB0_12 ## %bb.5: movl -60(%rbp), %r15d movq %r15, %rax shlq $2, %rax movq %rax, -72(%rbp) ## 8-byte Spill leaq -1(%rcx), %rax movl %ecx, %r12d andl $3, %r12d cmpq $3, %rax jae LBB0_33 ## %bb.6: xorl %r13d, %r13d LBB0_7: testq %r12, %r12 je LBB0_12 ## %bb.8: movq -80(%rbp), %rax ## 8-byte Reload imulq %rax, %r13 movq -88(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%r13,4), %rbx leaq (,%rax,4), %r13 jmp LBB0_9 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_9 Depth=1 addq %r13, %rbx decq %r12 je LBB0_12 LBB0_9: ## =>This Inner Loop Header: Depth=1 testl %r15d, %r15d jle LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movq %rbx, %rdi movq -72(%rbp), %rsi ## 8-byte Reload callq ___bzero jmp LBB0_11 LBB0_1: leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB0_2 LBB0_12: leaq L_str(%rip), %rdi callq _puts movl -64(%rbp), %ecx testl %ecx, %ecx jle LBB0_19 ## %bb.13: movl -60(%rbp), %eax movq -120(%rbp), %rdx ## 8-byte Reload leaq (,%rdx,4), %rdx movq %rdx, -72(%rbp) ## 8-byte Spill leaq L_.str.5(%rip), %r14 movq -112(%rbp), %r12 ## 8-byte Reload xorl %r13d, %r13d jmp LBB0_14 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_14 Depth=1 incq %r13 movslq %ecx, %rdx addq -72(%rbp), %r12 ## 8-byte Folded Reload cmpq %rdx, %r13 jge LBB0_19 LBB0_14: ## =>This Loop Header: Depth=1 ## Child Loop BB0_16 Depth 2 testl %eax, %eax jle LBB0_18 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq %r12, %rbx xorl %r15d, %r15d .p2align 4, 0x90 LBB0_16: ## Parent Loop BB0_14 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf incq %r15 movslq -60(%rbp), %rax addq $4, %rbx cmpq %rax, %r15 jl LBB0_16 ## %bb.17: ## in Loop: Header=BB0_14 Depth=1 movl -64(%rbp), %ecx jmp LBB0_18 LBB0_19: leaq L_str.10(%rip), %rdi callq _puts movl -56(%rbp), %ecx testl %ecx, %ecx jle LBB0_26 ## %bb.20: movl -52(%rbp), %eax movq -80(%rbp), %rdx ## 8-byte Reload leaq (,%rdx,4), %rdx movq %rdx, -72(%rbp) ## 8-byte Spill leaq L_.str.5(%rip), %r14 movq -96(%rbp), %r12 ## 8-byte Reload xorl %r13d, %r13d jmp LBB0_21 .p2align 4, 0x90 LBB0_25: ## in Loop: Header=BB0_21 Depth=1 incq %r13 movslq %ecx, %rdx addq -72(%rbp), %r12 ## 8-byte Folded Reload cmpq %rdx, %r13 jge LBB0_26 LBB0_21: ## =>This Loop Header: Depth=1 ## Child Loop BB0_23 Depth 2 testl %eax, %eax jle LBB0_25 ## %bb.22: ## in Loop: Header=BB0_21 Depth=1 movq %r12, %rbx xorl %r15d, %r15d .p2align 4, 0x90 LBB0_23: ## Parent Loop BB0_21 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf incq %r15 movslq -52(%rbp), %rax addq $4, %rbx cmpq %rax, %r15 jl LBB0_23 ## %bb.24: ## in Loop: Header=BB0_21 Depth=1 movl -56(%rbp), %ecx jmp LBB0_25 LBB0_26: movl -64(%rbp), %eax movq %rax, -200(%rbp) ## 8-byte Spill testl %eax, %eax jle LBB0_37 ## %bb.27: movl -52(%rbp), %eax movq %rax, -104(%rbp) ## 8-byte Spill movl -60(%rbp), %edx cmpq $8, %rdx setae %al movl %edx, %ecx andl $-8, %ecx movq %rcx, -240(%rbp) ## 8-byte Spill addq $-8, %rcx movq %rcx, -232(%rbp) ## 8-byte Spill movq %rcx, %rsi shrq $3, %rsi incq %rsi movq -80(%rbp), %rcx ## 8-byte Reload cmpl $1, %ecx sete %bl andb %al, %bl movb %bl, -136(%rbp) ## 1-byte Spill movq %rsi, %rax movq %rsi, -224(%rbp) ## 8-byte Spill andq $-2, %rsi movq %rsi, -216(%rbp) ## 8-byte Spill movl %edx, %eax andl $3, %eax movq %rax, -256(%rbp) ## 8-byte Spill movq -112(%rbp), %r10 ## 8-byte Reload leaq 48(%r10), %rdi movq -120(%rbp), %rax ## 8-byte Reload leaq (,%rax,4), %rax movq %rax, -192(%rbp) ## 8-byte Spill movq %rcx, %r12 shlq $5, %r12 movq %rcx, %r8 shlq $6, %r8 movq %rcx, %rax shlq $4, %rax movq %rax, -248(%rbp) ## 8-byte Spill movq -96(%rbp), %rax ## 8-byte Reload addq $16, %rax movq %rax, -184(%rbp) ## 8-byte Spill leaq (,%rcx,4), %rax movq %rax, -168(%rbp) ## 8-byte Spill xorl %eax, %eax movq %rax, -128(%rbp) ## 8-byte Spill movq %r8, -264(%rbp) ## 8-byte Spill jmp LBB0_28 .p2align 4, 0x90 LBB0_59: ## in Loop: Header=BB0_28 Depth=1 movq -128(%rbp), %rcx ## 8-byte Reload incq %rcx movq -192(%rbp), %rax ## 8-byte Reload addq %rax, %rdi addq %rax, %r10 movq %rcx, %rax movq %rcx, -128(%rbp) ## 8-byte Spill cmpq -200(%rbp), %rcx ## 8-byte Folded Reload je LBB0_37 LBB0_28: ## =>This Loop Header: Depth=1 ## Child Loop BB0_30 Depth 2 ## Child Loop BB0_47 Depth 3 ## Child Loop BB0_53 Depth 3 ## Child Loop BB0_56 Depth 3 cmpl $0, -104(%rbp) ## 4-byte Folded Reload jle LBB0_59 ## %bb.29: ## in Loop: Header=BB0_28 Depth=1 movq -128(%rbp), %rbx ## 8-byte Reload movq %rbx, %rax imulq -80(%rbp), %rax ## 8-byte Folded Reload movq -88(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %r9 movq %rbx, %rax imulq -120(%rbp), %rax ## 8-byte Folded Reload movq -112(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %rax movq %rax, -208(%rbp) ## 8-byte Spill movq -96(%rbp), %rax ## 8-byte Reload movq -184(%rbp), %rsi ## 8-byte Reload xorl %r11d, %r11d movq %r9, -144(%rbp) ## 8-byte Spill jmp LBB0_30 .p2align 4, 0x90 LBB0_57: ## in Loop: Header=BB0_30 Depth=2 movq -144(%rbp), %r9 ## 8-byte Reload movq -152(%rbp), %r11 ## 8-byte Reload movl %ebx, (%r9,%r11,4) movq -264(%rbp), %r8 ## 8-byte Reload movq -72(%rbp), %rax ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload LBB0_58: ## in Loop: Header=BB0_30 Depth=2 incq %r11 addq $4, %rsi addq $4, %rax cmpq -104(%rbp), %r11 ## 8-byte Folded Reload je LBB0_59 LBB0_30: ## Parent Loop BB0_28 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_47 Depth 3 ## Child Loop BB0_53 Depth 3 ## Child Loop BB0_56 Depth 3 movl $0, (%r9,%r11,4) testl %edx, %edx jle LBB0_58 ## %bb.31: ## in Loop: Header=BB0_30 Depth=2 cmpb $0, -136(%rbp) ## 1-byte Folded Reload movq %rax, -72(%rbp) ## 8-byte Spill movq %rsi, -160(%rbp) ## 8-byte Spill movq %r11, -152(%rbp) ## 8-byte Spill je LBB0_32 ## %bb.44: ## in Loop: Header=BB0_30 Depth=2 cmpq $0, -232(%rbp) ## 8-byte Folded Reload je LBB0_45 ## %bb.46: ## in Loop: Header=BB0_30 Depth=2 pxor %xmm0, %xmm0 movq -216(%rbp), %rcx ## 8-byte Reload xorl %ebx, %ebx pxor %xmm1, %xmm1 .p2align 4, 0x90 LBB0_47: ## Parent Loop BB0_28 Depth=1 ## Parent Loop BB0_30 Depth=2 ## => This Inner Loop Header: Depth=3 movdqu -16(%rsi), %xmm2 movdqu (%rsi), %xmm3 movdqu -48(%rdi,%rbx,4), %xmm4 pmulld %xmm2, %xmm4 paddd %xmm0, %xmm4 movdqu -32(%rdi,%rbx,4), %xmm2 pmulld %xmm3, %xmm2 paddd %xmm1, %xmm2 movdqu -16(%rdi,%rbx,4), %xmm1 movdqu (%rdi,%rbx,4), %xmm3 movdqu -16(%rsi,%r12), %xmm0 pmulld %xmm1, %xmm0 paddd %xmm4, %xmm0 movdqu (%rsi,%r12), %xmm1 pmulld %xmm3, %xmm1 paddd %xmm2, %xmm1 addq $16, %rbx addq %r8, %rsi addq $-2, %rcx jne LBB0_47 ## %bb.48: ## in Loop: Header=BB0_30 Depth=2 testb $1, -224(%rbp) ## 1-byte Folded Reload je LBB0_50 LBB0_49: ## in Loop: Header=BB0_30 Depth=2 movq -96(%rbp), %rax ## 8-byte Reload leaq (%rax,%r11,4), %rcx movq -208(%rbp), %rax ## 8-byte Reload movdqu (%rax,%rbx,4), %xmm2 movdqu 16(%rax,%rbx,4), %xmm3 imulq -80(%rbp), %rbx ## 8-byte Folded Reload movdqu (%rcx,%rbx,4), %xmm4 pmulld %xmm2, %xmm4 paddd %xmm4, %xmm0 movdqu 16(%rcx,%rbx,4), %xmm2 pmulld %xmm3, %xmm2 paddd %xmm2, %xmm1 LBB0_50: ## in Loop: Header=BB0_30 Depth=2 paddd %xmm1, %xmm0 pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3] paddd %xmm0, %xmm1 pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1] paddd %xmm1, %xmm0 movd %xmm0, %ebx movq -240(%rbp), %rax ## 8-byte Reload movq %rax, %r13 cmpq %rdx, %rax je LBB0_57 jmp LBB0_51 .p2align 4, 0x90 LBB0_32: ## in Loop: Header=BB0_30 Depth=2 xorl %r13d, %r13d xorl %ebx, %ebx LBB0_51: ## in Loop: Header=BB0_30 Depth=2 movq %r13, %r9 notq %r9 movq %rdx, %r8 addq %rdx, %r9 movq -256(%rbp), %rax ## 8-byte Reload testq %rax, %rax je LBB0_54 ## %bb.52: ## in Loop: Header=BB0_30 Depth=2 movq -80(%rbp), %rdx ## 8-byte Reload imulq %r13, %rdx movq -72(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rdx,4), %rsi movq %rax, %rdx movq -168(%rbp), %rcx ## 8-byte Reload .p2align 4, 0x90 LBB0_53: ## Parent Loop BB0_28 Depth=1 ## Parent Loop BB0_30 Depth=2 ## => This Inner Loop Header: Depth=3 movl (%rsi), %eax imull (%r10,%r13,4), %eax addl %eax, %ebx incq %r13 addq %rcx, %rsi decq %rdx jne LBB0_53 LBB0_54: ## in Loop: Header=BB0_30 Depth=2 cmpq $3, %r9 movq %r8, %rdx movq -248(%rbp), %r11 ## 8-byte Reload jb LBB0_57 ## %bb.55: ## in Loop: Header=BB0_30 Depth=2 leaq 3(%r13), %rcx movq -168(%rbp), %r14 ## 8-byte Reload imulq %r14, %rcx leaq 1(%r13), %rsi imulq %r14, %rsi leaq 2(%r13), %r15 imulq %r14, %r15 imulq %r13, %r14 movq -72(%rbp), %r9 ## 8-byte Reload .p2align 4, 0x90 LBB0_56: ## Parent Loop BB0_28 Depth=1 ## Parent Loop BB0_30 Depth=2 ## => This Inner Loop Header: Depth=3 movl (%r9,%r14), %eax imull (%r10,%r13,4), %eax addl %ebx, %eax movl (%r9,%rsi), %edx imull 4(%r10,%r13,4), %edx addl %eax, %edx movl (%r9,%r15), %eax imull 8(%r10,%r13,4), %eax addl %edx, %eax movq %r8, %rdx movl (%r9,%rcx), %ebx imull 12(%r10,%r13,4), %ebx addl %eax, %ebx addq $4, %r13 addq %r11, %r9 cmpq %r13, %r8 jne LBB0_56 jmp LBB0_57 LBB0_45: ## in Loop: Header=BB0_30 Depth=2 pxor %xmm0, %xmm0 xorl %ebx, %ebx pxor %xmm1, %xmm1 testb $1, -224(%rbp) ## 1-byte Folded Reload jne LBB0_49 jmp LBB0_50 LBB0_37: leaq L_str.11(%rip), %rdi callq _puts cmpl $0, -56(%rbp) movq -88(%rbp), %r12 ## 8-byte Reload jle LBB0_43 ## %bb.38: shlq $2, -80(%rbp) ## 8-byte Folded Spill leaq L_.str.8(%rip), %r15 xorl %r14d, %r14d jmp LBB0_39 .p2align 4, 0x90 LBB0_42: ## in Loop: Header=BB0_39 Depth=1 movl $10, %edi callq _putchar incq %r14 movslq -56(%rbp), %rax addq -80(%rbp), %r12 ## 8-byte Folded Reload cmpq %rax, %r14 jge LBB0_43 LBB0_39: ## =>This Loop Header: Depth=1 ## Child Loop BB0_41 Depth 2 cmpl $0, -52(%rbp) jle LBB0_42 ## %bb.40: ## in Loop: Header=BB0_39 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_41: ## Parent Loop BB0_39 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r12,%rbx,4), %esi movq %r15, %rdi xorl %eax, %eax callq _printf incq %rbx movslq -52(%rbp), %rax cmpq %rax, %rbx jl LBB0_41 jmp LBB0_42 LBB0_43: movq -176(%rbp), %rsp ## 8-byte Reload LBB0_2: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_60 ## %bb.3: xorl %eax, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_33: andl $-4, %ecx movq -80(%rbp), %rax ## 8-byte Reload leaq (,%rax,4), %rdx movq %rax, %rsi shlq $4, %rsi movq %rsi, -160(%rbp) ## 8-byte Spill leaq (,%rax,8), %rax movq %rax, -144(%rbp) ## 8-byte Spill movq %rdx, -104(%rbp) ## 8-byte Spill leaq (%rdx,%rdx,2), %rax movq %rax, -136(%rbp) ## 8-byte Spill xorl %r13d, %r13d movq -88(%rbp), %rbx ## 8-byte Reload movq %r15, -152(%rbp) ## 8-byte Spill movq -72(%rbp), %r14 ## 8-byte Reload jmp LBB0_34 .p2align 4, 0x90 LBB0_36: ## in Loop: Header=BB0_34 Depth=1 addq $4, %r13 addq -160(%rbp), %rbx ## 8-byte Folded Reload cmpq %r13, %rcx je LBB0_7 LBB0_34: ## =>This Inner Loop Header: Depth=1 testl %r15d, %r15d jle LBB0_36 ## %bb.35: ## in Loop: Header=BB0_34 Depth=1 movq %rbx, %rdi movq %r14, %rsi movq %rcx, %r15 callq ___bzero movq -104(%rbp), %rax ## 8-byte Reload leaq (%rbx,%rax), %rdi movq %r14, %rsi callq ___bzero movq -144(%rbp), %rax ## 8-byte Reload leaq (%rbx,%rax), %rdi movq %r14, %rsi callq ___bzero movq -136(%rbp), %rax ## 8-byte Reload leaq (%rbx,%rax), %rdi movq %r14, %rsi callq ___bzero movq %r15, %rcx movq -152(%rbp), %r15 ## 8-byte Reload jmp LBB0_36 LBB0_60: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter the number of rows and columns of the first matrix: " L_.str.1: ## @.str.1 .asciz "%d %d" L_.str.2: ## @.str.2 .asciz "Enter the number of rows and columns of the second matrix: " L_.str.3: ## @.str.3 .asciz "Given Matrices cannot be multiplyable!!!" L_.str.5: ## @.str.5 .asciz "%d" L_.str.8: ## @.str.8 .asciz "%d " L_str: ## @str .asciz "Enter the values of the first matrix" L_str.10: ## @str.10 .asciz "Enter the values of the second matrix" L_str.11: ## @str.11 .asciz "The resultant matrix is:" .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 sub sp, sp, #48 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 x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #96 sub x9, x29, #92 stp x9, x8, [sp, #-16]! Lloh5: adrp x19, l_.str.1@PAGE Lloh6: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _scanf add sp, sp, #16 Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _printf sub x8, x29, #104 sub x9, x29, #100 stp x9, x8, [sp, #-16]! mov x0, x19 bl _scanf add sp, sp, #16 ldp w8, w27, [x29, #-100] cmp w27, w8 b.ne LBB0_6 ; %bb.1: mov x8, sp stur x8, [x29, #-120] ; 8-byte Folded Spill ldur w8, [x29, #-92] mul x8, x8, x27 lsl x9, x8, #2 add x8, x9, #15 and x8, x8, #0xfffffffffffffff0 Lloh9: adrp x16, ___chkstk_darwin@GOTPAGE Lloh10: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x26, x9, x8 mov sp, x26 ldp w25, w8, [x29, #-104] mul x8, x25, x8 lsl x9, x8, #2 add x8, x9, #15 and x8, x8, #0xfffffffffffffff0 Lloh11: adrp x16, ___chkstk_darwin@GOTPAGE Lloh12: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x8, x9, x8 stur x8, [x29, #-112] ; 8-byte Folded Spill mov sp, x8 ldur w28, [x29, #-92] mul x8, x28, x25 lsl x9, x8, #2 add x8, x9, #15 and x8, x8, #0xfffffffffffffff0 Lloh13: adrp x16, ___chkstk_darwin@GOTPAGE Lloh14: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x22, x9, x8 mov sp, x22 lsl x23, x25, #2 cmp w28, #1 b.lt LBB0_7 ; %bb.2: ldur w21, [x29, #-96] lsl x19, x21, #2 mov x20, x22 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x20, x20, x23 subs x28, x28, #1 b.eq LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 cmp w21, #1 b.lt LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 mov x1, x19 bl _bzero b LBB0_3 LBB0_6: Lloh15: adrp x0, l_.str.3@PAGE Lloh16: add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB0_43 LBB0_7: Lloh17: adrp x0, l_str@PAGE Lloh18: add x0, x0, l_str@PAGEOFF bl _puts ldur w9, [x29, #-92] lsl x20, x27, #2 cmp w9, #1 b.lt LBB0_14 ; %bb.8: mov x27, #0 ldur w8, [x29, #-96] Lloh19: adrp x19, l_.str.5@PAGE Lloh20: add x19, x19, l_.str.5@PAGEOFF mov x24, x26 b LBB0_10 LBB0_9: ; in Loop: Header=BB0_10 Depth=1 add x27, x27, #1 add x24, x24, x20 cmp x27, w9, sxtw b.ge LBB0_14 LBB0_10: ; =>This Loop Header: Depth=1 ; Child Loop BB0_12 Depth 2 cmp w8, #1 b.lt LBB0_9 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 mov x21, #0 mov x28, x24 LBB0_12: ; Parent Loop BB0_10 Depth=1 ; => This Inner Loop Header: Depth=2 str x28, [sp, #-16]! mov x0, x19 bl _scanf add sp, sp, #16 add x21, x21, #1 ldursw x8, [x29, #-96] add x28, x28, #4 cmp x21, x8 b.lt LBB0_12 ; %bb.13: ; in Loop: Header=BB0_10 Depth=1 ldur w9, [x29, #-92] b LBB0_9 LBB0_14: Lloh21: adrp x0, l_str.10@PAGE Lloh22: add x0, x0, l_str.10@PAGEOFF bl _puts ldur w9, [x29, #-100] cmp w9, #1 b.lt LBB0_21 ; %bb.15: mov x27, #0 ldur w8, [x29, #-104] Lloh23: adrp x19, l_.str.5@PAGE Lloh24: add x19, x19, l_.str.5@PAGEOFF ldur x28, [x29, #-112] ; 8-byte Folded Reload b LBB0_17 LBB0_16: ; in Loop: Header=BB0_17 Depth=1 add x27, x27, #1 add x28, x28, x23 cmp x27, w9, sxtw b.ge LBB0_21 LBB0_17: ; =>This Loop Header: Depth=1 ; Child Loop BB0_19 Depth 2 cmp w8, #1 b.lt LBB0_16 ; %bb.18: ; in Loop: Header=BB0_17 Depth=1 mov x21, #0 mov x24, x28 LBB0_19: ; Parent Loop BB0_17 Depth=1 ; => This Inner Loop Header: Depth=2 str x24, [sp, #-16]! mov x0, x19 bl _scanf add sp, sp, #16 add x21, x21, #1 ldursw x8, [x29, #-104] add x24, x24, #4 cmp x21, x8 b.lt LBB0_19 ; %bb.20: ; in Loop: Header=BB0_17 Depth=1 ldur w9, [x29, #-100] b LBB0_16 LBB0_21: ldur w8, [x29, #-92] cmp w8, #1 ldur x21, [x29, #-112] ; 8-byte Folded Reload b.lt LBB0_36 ; %bb.22: mov x9, #0 ldur w10, [x29, #-96] cmp x10, #15 ccmp w25, #1, #0, hi cset w11, eq ldur w12, [x29, #-104] and x13, x10, #0xfffffff0 add x14, x21, #32 lsl x15, x25, #6 add x16, x26, #32 b LBB0_24 LBB0_23: ; in Loop: Header=BB0_24 Depth=1 add x9, x9, #1 add x16, x16, x20 add x26, x26, x20 cmp x9, x8 b.eq LBB0_36 LBB0_24: ; =>This Loop Header: Depth=1 ; Child Loop BB0_28 Depth 2 ; Child Loop BB0_31 Depth 3 ; Child Loop BB0_35 Depth 3 cmp w12, #1 b.lt LBB0_23 ; %bb.25: ; in Loop: Header=BB0_24 Depth=1 mov x17, #0 mul x0, x9, x25 add x0, x22, x0, lsl #2 mov x1, x21 mov x2, x14 b LBB0_28 LBB0_26: ; in Loop: Header=BB0_28 Depth=2 str w3, [x0, x17, lsl #2] LBB0_27: ; in Loop: Header=BB0_28 Depth=2 add x17, x17, #1 add x2, x2, #4 add x1, x1, #4 cmp x17, x12 b.eq LBB0_23 LBB0_28: ; Parent Loop BB0_24 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_31 Depth 3 ; Child Loop BB0_35 Depth 3 str wzr, [x0, x17, lsl #2] cmp w10, #1 b.lt LBB0_27 ; %bb.29: ; in Loop: Header=BB0_28 Depth=2 cbz w11, LBB0_33 ; %bb.30: ; in Loop: Header=BB0_28 Depth=2 movi.2d v0, #0000000000000000 mov x3, x16 mov x4, x2 mov x5, x13 movi.2d v1, #0000000000000000 movi.2d v2, #0000000000000000 movi.2d v3, #0000000000000000 LBB0_31: ; Parent Loop BB0_24 Depth=1 ; Parent Loop BB0_28 Depth=2 ; => This Inner Loop Header: Depth=3 ldp q4, q5, [x3, #-32] ldp q6, q7, [x3], #64 ldp q16, q17, [x4, #-32] ldp q18, q19, [x4] mla.4s v0, v16, v4 mla.4s v1, v17, v5 mla.4s v2, v18, v6 mla.4s v3, v19, v7 add x4, x4, x15 subs x5, x5, #16 b.ne LBB0_31 ; %bb.32: ; in Loop: Header=BB0_28 Depth=2 add.4s v0, v1, v0 add.4s v0, v2, v0 add.4s v0, v3, v0 addv.4s s0, v0 fmov w3, s0 mov x6, x13 cmp x13, x10 b.eq LBB0_26 b LBB0_34 LBB0_33: ; in Loop: Header=BB0_28 Depth=2 mov x6, #0 mov w3, #0 LBB0_34: ; in Loop: Header=BB0_28 Depth=2 mul x4, x25, x6 add x4, x1, x4, lsl #2 add x5, x26, x6, lsl #2 sub x6, x10, x6 LBB0_35: ; Parent Loop BB0_24 Depth=1 ; Parent Loop BB0_28 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w7, [x5], #4 ldr w19, [x4] madd w3, w19, w7, w3 add x4, x4, x23 subs x6, x6, #1 b.ne LBB0_35 b LBB0_26 LBB0_36: Lloh25: adrp x0, l_str.11@PAGE Lloh26: add x0, x0, l_str.11@PAGEOFF bl _puts ldur w8, [x29, #-100] cmp w8, #1 b.lt LBB0_42 ; %bb.37: mov x20, #0 Lloh27: adrp x19, l_.str.8@PAGE Lloh28: add x19, x19, l_.str.8@PAGEOFF b LBB0_39 LBB0_38: ; in Loop: Header=BB0_39 Depth=1 mov w0, #10 bl _putchar add x20, x20, #1 ldursw x8, [x29, #-100] add x22, x22, x23 cmp x20, x8 b.ge LBB0_42 LBB0_39: ; =>This Loop Header: Depth=1 ; Child Loop BB0_41 Depth 2 ldur w8, [x29, #-104] cmp w8, #1 b.lt LBB0_38 ; %bb.40: ; in Loop: Header=BB0_39 Depth=1 mov x21, #0 LBB0_41: ; Parent Loop BB0_39 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x22, x21, lsl #2] str x8, [sp, #-16]! mov x0, x19 bl _printf add sp, sp, #16 add x21, x21, #1 ldursw x8, [x29, #-104] cmp x21, x8 b.lt LBB0_41 b LBB0_38 LBB0_42: ldur x8, [x29, #-120] ; 8-byte Folded Reload mov sp, x8 LBB0_43: ldur x8, [x29, #-88] Lloh29: adrp x9, ___stack_chk_guard@GOTPAGE Lloh30: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh31: ldr x9, [x9] cmp x9, x8 b.ne LBB0_45 ; %bb.44: mov w0, #0 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_45: bl ___stack_chk_fail .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter the number of rows and columns of the first matrix: " l_.str.1: ; @.str.1 .asciz "%d %d" l_.str.2: ; @.str.2 .asciz "Enter the number of rows and columns of the second matrix: " l_.str.3: ; @.str.3 .asciz "Given Matrices cannot be multiplyable!!!" l_.str.5: ; @.str.5 .asciz "%d" l_.str.8: ; @.str.8 .asciz "%d " l_str: ; @str .asciz "Enter the values of the first matrix" l_str.10: ; @str.10 .asciz "Enter the values of the second matrix" l_str.11: ; @str.11 .asciz "The resultant matrix is:" .subsections_via_symbols
the_stack_data/58520.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f ## -- Begin function f .p2align 4, 0x90 _f: ## @f .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq 4(%rdi), %rsi movq 16(%rdi), %rdx movl $10, (%rdi) leaq L_.str(%rip), %rdi xorl %eax, %eax popq %rbp jmp _printf ## TAILCALL .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movups L___const.main.c(%rip), %xmm0 movaps %xmm0, -32(%rbp) leaq -52(%rbp), %rsi movw $0, -44(%rbp) movq $1801675082, -52(%rbp) ## imm = 0x6B63614A leaq -32(%rbp), %rdx movq %rdx, -40(%rbp) movl $10, -56(%rbp) leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -8(%rbp), %rax jne LBB1_2 ## %bb.1: xorl %eax, %eax addq $64, %rsp popq %rbp retq LBB1_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s is wearing %s today." .section __TEXT,__literal16,16byte_literals .p2align 2 ## @__const.main.c L___const.main.c: .asciz "red\000\000\000\000\000\000" .space 2 .long 5 ## 0x5 .section __TEXT,__const l_.str.1: ## @.str.1 .asciz "Jack\000\000\000\000\000" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f ; -- Begin function f .p2align 2 _f: ; @f .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 add x8, x0, #4 ldr x9, [x0, #16] mov w10, #10 str w10, [x0] stp x8, x9, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] adrp x9, l___const.main.c@PAGE add x9, x9, l___const.main.c@PAGEOFF stur x8, [x29, #-8] ldr q0, [x9] stur q0, [x29, #-32] add x8, sp, #24 orr x8, x8, #0x4 strh wzr, [sp, #36] mov w9, #24906 movk w9, #27491, lsl #16 stur x9, [sp, #28] sub x9, x29, #32 str x9, [sp, #40] mov w10, #10 str w10, [sp, #24] stp x8, x9, [sp] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF bl _printf ldur x8, [x29, #-8] Lloh7: adrp x9, ___stack_chk_guard@GOTPAGE Lloh8: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh9: ldr x9, [x9] cmp x9, x8 b.ne LBB1_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret LBB1_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s is wearing %s today." .section __TEXT,__literal16,16byte_literals .p2align 2 ; @__const.main.c l___const.main.c: .asciz "red\000\000\000\000\000\000" .space 2 .long 5 ; 0x5 .section __TEXT,__const l_.str.1: ; @.str.1 .asciz "Jack\000\000\000\000\000" .subsections_via_symbols
the_stack_data/43887299.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function xlog_get_client_id _xlog_get_client_id: ## @xlog_get_client_id .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _be32_to_cpu sarl $24, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _xlog_get_client_id .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function xlog_get_client_id _xlog_get_client_id: ; @xlog_get_client_id .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 _be32_to_cpu asr w0, w0, #24 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _xlog_get_client_id .subsections_via_symbols
AnghaBench/linux/fs/xfs/extr_xfs_log_priv.h_xlog_get_client_id.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function oaktrail_power_up _oaktrail_power_up: ## @oaktrail_power_up .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq (%rdi), %rbx movq _PSB_PWRGT_DISPLAY_MASK@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _PSB_PM_SSC@GOTPCREL(%rip), %r15 movq (%r15), %rdi addq (%rbx), %rdi callq _inl movl %r14d, %edi notl %edi andl %eax, %edi movq (%r15), %rsi addq (%rbx), %rsi callq _outl movq _PSB_PM_SSS@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rdi addq (%rbx), %rdi callq _inl testl %r14d, %eax je LBB0_3 ## %bb.1: ## in Loop: Header=BB0_2 Depth=1 movl $10, %edi callq _udelay jmp LBB0_2 LBB0_3: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PSB_PWRGT_DISPLAY_MASK,4,2 ## @PSB_PWRGT_DISPLAY_MASK .comm _PSB_PM_SSC,8,3 ## @PSB_PM_SSC .comm _PSB_PM_SSS,8,3 ## @PSB_PM_SSS .no_dead_strip _oaktrail_power_up .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function oaktrail_power_up _oaktrail_power_up: ; @oaktrail_power_up .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr x19, [x0] Lloh0: adrp x8, _PSB_PWRGT_DISPLAY_MASK@GOTPAGE Lloh1: ldr x8, [x8, _PSB_PWRGT_DISPLAY_MASK@GOTPAGEOFF] Lloh2: ldr w20, [x8] ldr x8, [x19] Lloh3: adrp x21, _PSB_PM_SSC@GOTPAGE Lloh4: ldr x21, [x21, _PSB_PM_SSC@GOTPAGEOFF] ldr x9, [x21] add x0, x9, x8 bl _inl bic w0, w0, w20 ldr x8, [x19] ldr x9, [x21] add x1, x9, x8 bl _outl ldr x8, [x19] Lloh5: adrp x21, _PSB_PM_SSS@GOTPAGE Lloh6: ldr x21, [x21, _PSB_PM_SSS@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x9, [x21] add x0, x9, x8 bl _inl tst w0, w20 b.eq LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov w0, #10 bl _udelay ldr x8, [x19] b LBB0_1 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 Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PSB_PWRGT_DISPLAY_MASK,4,2 ; @PSB_PWRGT_DISPLAY_MASK .comm _PSB_PM_SSC,8,3 ; @PSB_PM_SSC .comm _PSB_PM_SSS,8,3 ; @PSB_PM_SSS .no_dead_strip _oaktrail_power_up .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/gma500/extr_oaktrail_device.c_oaktrail_power_up.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _arena_dirty_decay_ms_default_set ## -- Begin function arena_dirty_decay_ms_default_set .p2align 4, 0x90 _arena_dirty_decay_ms_default_set: ## @arena_dirty_decay_ms_default_set .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx callq _arena_decay_ms_valid testl %eax, %eax je LBB0_1 ## %bb.2: movq _ATOMIC_RELAXED@GOTPCREL(%rip), %rax movl (%rax), %edx movq _dirty_decay_ms_default@GOTPCREL(%rip), %rdi movl %ebx, %esi callq _atomic_store_zd xorl %eax, %eax jmp LBB0_3 LBB0_1: movl $1, %eax LBB0_3: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _dirty_decay_ms_default,4,2 ## @dirty_decay_ms_default .comm _ATOMIC_RELAXED,4,2 ## @ATOMIC_RELAXED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _arena_dirty_decay_ms_default_set ; -- Begin function arena_dirty_decay_ms_default_set .p2align 2 _arena_dirty_decay_ms_default_set: ; @arena_dirty_decay_ms_default_set .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 _arena_decay_ms_valid cbz w0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _ATOMIC_RELAXED@GOTPAGE Lloh1: ldr x8, [x8, _ATOMIC_RELAXED@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x0, _dirty_decay_ms_default@GOTPAGE Lloh4: ldr x0, [x0, _dirty_decay_ms_default@GOTPAGEOFF] mov x1, x19 bl _atomic_store_zd mov w0, #0 b LBB0_3 LBB0_2: mov w0, #1 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _dirty_decay_ms_default,4,2 ; @dirty_decay_ms_default .comm _ATOMIC_RELAXED,4,2 ; @ATOMIC_RELAXED .subsections_via_symbols
AnghaBench/freebsd/contrib/jemalloc/src/extr_arena.c_arena_dirty_decay_ms_default_set.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _inc ## -- Begin function inc .p2align 4, 0x90 _inc: ## @inc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp incl (%rdi) popq %rbp retq .cfi_endproc ## -- End function .globl _four ## -- Begin function four .p2align 4, 0x90 _four: ## @four .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, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _test1 ## -- Begin function test1 .p2align 4, 0x90 _test1: ## @test1 .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 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 _inc ; -- Begin function inc .p2align 2 _inc: ; @inc .cfi_startproc ; %bb.0: ldr w8, [x0] add w8, w8, #1 str w8, [x0] ret .cfi_endproc ; -- End function .globl _four ; -- Begin function four .p2align 2 _four: ; @four .cfi_startproc ; %bb.0: mov w0, #4 ret .cfi_endproc ; -- End function .globl _test1 ; -- Begin function test1 .p2align 2 _test1: ; @test1 .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/316892.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _FLAC__bitreader_get_input_bits_unconsumed ## -- Begin function FLAC__bitreader_get_input_bits_unconsumed .p2align 4, 0x90 _FLAC__bitreader_get_input_bits_unconsumed: ## @FLAC__bitreader_get_input_bits_unconsumed .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 subl 4(%rdi), %eax movq _FLAC__BITS_PER_WORD@GOTPCREL(%rip), %rcx imull (%rcx), %eax movl 8(%rdi), %ecx leal (%rax,%rcx,8), %eax subl 12(%rdi), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _FLAC__BITS_PER_WORD,4,2 ## @FLAC__BITS_PER_WORD .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _FLAC__bitreader_get_input_bits_unconsumed ; -- Begin function FLAC__bitreader_get_input_bits_unconsumed .p2align 2 _FLAC__bitreader_get_input_bits_unconsumed: ; @FLAC__bitreader_get_input_bits_unconsumed .cfi_startproc ; %bb.0: ldp w8, w9, [x0] sub w8, w8, w9 Lloh0: adrp x9, _FLAC__BITS_PER_WORD@GOTPAGE Lloh1: ldr x9, [x9, _FLAC__BITS_PER_WORD@GOTPAGEOFF] Lloh2: ldr w9, [x9] mul w8, w8, w9 ldp w9, w10, [x0, #8] add w8, w8, w9, lsl #3 sub w0, w8, w10 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FLAC__BITS_PER_WORD,4,2 ; @FLAC__BITS_PER_WORD .subsections_via_symbols
AnghaBench/RetroArch/deps/libFLAC/extr_bitreader.c_FLAC__bitreader_get_input_bits_unconsumed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gf119_sor_clock ## -- Begin function gf119_sor_clock .p2align 4, 0x90 _gf119_sor_clock: ## @gf119_sor_clock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq 24(%rdi), %rax movq (%rax), %r14 callq _nv50_ior_base movl %eax, %r15d xorl %r12d, %r12d cmpl $3, 8(%rbx) sete %r12b movq 16(%rbx), %rax movq _TMDS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_1 ## %bb.2: cmpq $0, (%rbx) movl $2621440, %eax ## imm = 0x280000 movl $5242880, %ecx ## imm = 0x500000 cmovel %eax, %ecx addl $6365952, %r15d ## imm = 0x612300 movq %r14, %rdi movl %r15d, %esi movl $8126464, %edx ## imm = 0x7C0000 callq _nvkm_mask cmpq $0, (%rbx) movl $1, %ecx cmovel %r12d, %ecx jmp LBB0_3 LBB0_1: addl $6365952, %r15d ## imm = 0x612300 movl %r12d, %ecx LBB0_3: shll $8, %ecx orl %r12d, %ecx movq %r14, %rdi movl %r15d, %esi movl $1799, %edx ## imm = 0x707 popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _nvkm_mask ## TAILCALL .cfi_endproc ## -- End function .comm _TMDS,8,3 ## @TMDS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gf119_sor_clock ; -- Begin function gf119_sor_clock .p2align 2 _gf119_sor_clock: ; @gf119_sor_clock .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x0 mov w22, #8960 movk w22, #97, lsl #16 ldr x8, [x0, #24] ldr x19, [x8] bl _nv50_ior_base ldr w8, [x21, #8] cmp w8, #3 cset w20, eq ldr x8, [x21, #16] Lloh0: adrp x9, _TMDS@GOTPAGE Lloh1: ldr x9, [x9, _TMDS@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: ldr x8, [x21] cmp x8, #0 mov w8, #5242880 mov w9, #2621440 csel w3, w9, w8, eq add w22, w0, w22 mov x0, x19 mov x1, x22 mov w2, #8126464 bl _nvkm_mask ldr x8, [x21] cmp x8, #0 csinc w8, w20, wzr, eq b LBB0_3 LBB0_2: add w22, w0, w22 mov x8, x20 LBB0_3: bfi w20, w8, #8, #1 mov x0, x19 mov x1, x22 mov w2, #1799 mov x3, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _nvkm_mask .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TMDS,8,3 ; @TMDS .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_sorgf119.c_gf119_sor_clock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bnx2x_set_pbd_csum _bnx2x_set_pbd_csum: ## @bnx2x_set_pbd_csum .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, %r12d movq %rdx, %r14 movq %rsi, %r15 movq %rsi, %rdi callq _skb_network_header movl %eax, %ebx subl (%r15), %ebx sarl %ebx movq 8(%r15), %r13 movq _ETH_P_8021Q@GOTPCREL(%rip), %rax movl (%rax), %edi callq _cpu_to_be16 xorl %edi, %edi cmpq %rax, %r13 sete %dil movq _ETH_TX_PARSE_BD_E1X_LLC_SNAP_EN_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl shll %cl, %edi orl %ebx, %edi callq _cpu_to_le16 movq %rax, 16(%r14) movq %r15, %rdi callq _skb_transport_header movl %eax, %r13d movq %r15, %rdi callq _skb_network_header subl %eax, %r13d sarl %r13d movl %r13d, (%r14) addl %ebx, %r13d movq _XMIT_CSUM_TCP@GOTPCREL(%rip), %rbx testl %r12d, (%rbx) je LBB0_1 ## %bb.2: movq %r15, %rdi callq _tcp_hdrlen movl %eax, %ecx shrl $31, %ecx addl %eax, %ecx sarl %ecx jmp LBB0_3 LBB0_1: movl $2, %ecx LBB0_3: addl %ecx, %r13d movl %r13d, %edi callq _cpu_to_le16 movq %rax, 8(%r14) testl %r12d, (%rbx) je LBB0_5 ## %bb.4: movq %r15, %rdi callq _tcp_hdr movl (%rax), %edi callq _bswab16 movl %eax, 4(%r14) jmp LBB0_6 LBB0_5: movq %r15, %rdi callq _SKB_CS_OFF movl %eax, %ebx movq _NETIF_MSG_TX_QUEUED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq 8(%r14), %rdi callq _le16_to_cpu movl %eax, %r12d movq %r15, %rdi callq _SKB_CS leaq L_.str(%rip), %rsi movl -44(%rbp), %edi ## 4-byte Reload movl %r12d, %edx movl %ebx, %ecx movl %ebx, %r12d movl %eax, %r8d xorl %eax, %eax callq _DP movq %r15, %rdi callq _skb_transport_header movl %eax, %ebx movq %r15, %rdi callq _SKB_CS movl %ebx, %edi movl %eax, %esi movl %r12d, %edx callq _bnx2x_csum_fix movl %eax, 4(%r14) movq _NETIF_MSG_TX_QUEUED@GOTPCREL(%rip), %rcx movl (%rcx), %edi leaq L_.str.1(%rip), %rsi movl %eax, %edx xorl %eax, %eax callq _DP LBB0_6: addl %r13d, %r13d movl %r13d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ETH_P_8021Q,4,2 ## @ETH_P_8021Q .comm _ETH_TX_PARSE_BD_E1X_LLC_SNAP_EN_SHIFT,4,2 ## @ETH_TX_PARSE_BD_E1X_LLC_SNAP_EN_SHIFT .comm _XMIT_CSUM_TCP,4,2 ## @XMIT_CSUM_TCP .comm _NETIF_MSG_TX_QUEUED,4,2 ## @NETIF_MSG_TX_QUEUED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "hlen %d fix %d csum before fix %x\n" L_.str.1: ## @.str.1 .asciz "csum after fix %x\n" .no_dead_strip _bnx2x_set_pbd_csum .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bnx2x_set_pbd_csum _bnx2x_set_pbd_csum: ; @bnx2x_set_pbd_csum .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x22, x3 mov x19, x2 mov x20, x1 mov x0, x1 bl _skb_network_header ldr w8, [x20] sub w8, w0, w8 asr w23, w8, #1 ldr x21, [x20, #8] Lloh0: adrp x8, _ETH_P_8021Q@GOTPAGE Lloh1: ldr x8, [x8, _ETH_P_8021Q@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _cpu_to_be16 cmp x21, x0 cset w8, eq Lloh3: adrp x9, _ETH_TX_PARSE_BD_E1X_LLC_SNAP_EN_SHIFT@GOTPAGE Lloh4: ldr x9, [x9, _ETH_TX_PARSE_BD_E1X_LLC_SNAP_EN_SHIFT@GOTPAGEOFF] Lloh5: ldr w9, [x9] lsl w8, w8, w9 orr w0, w8, w23 bl _cpu_to_le16 str x0, [x19, #16] mov x0, x20 bl _skb_transport_header mov x21, x0 mov x0, x20 bl _skb_network_header sub w8, w21, w0 asr w8, w8, #1 str w8, [x19] add w21, w8, w23 Lloh6: adrp x23, _XMIT_CSUM_TCP@GOTPAGE Lloh7: ldr x23, [x23, _XMIT_CSUM_TCP@GOTPAGEOFF] ldr w8, [x23] tst w8, w22 b.eq LBB0_2 ; %bb.1: mov x0, x20 bl _tcp_hdrlen cmp w0, #0 cinc w8, w0, lt asr w8, w8, #1 b LBB0_3 LBB0_2: mov w8, #2 LBB0_3: add w21, w21, w8 mov x0, x21 bl _cpu_to_le16 str x0, [x19, #8] ldr w8, [x23] tst w8, w22 b.eq LBB0_5 ; %bb.4: mov x0, x20 bl _tcp_hdr ldr w0, [x0] bl _bswab16 str w0, [x19, #4] b LBB0_6 LBB0_5: mov x0, x20 bl _SKB_CS_OFF mov x22, x0 Lloh8: adrp x25, _NETIF_MSG_TX_QUEUED@GOTPAGE Lloh9: ldr x25, [x25, _NETIF_MSG_TX_QUEUED@GOTPAGEOFF] ldr w23, [x25] ldr x0, [x19, #8] bl _le16_to_cpu mov x24, x0 mov x0, x20 bl _SKB_CS ; kill: def $w0 killed $w0 def $x0 stp x22, x0, [sp] Lloh10: adrp x1, l_.str@PAGE Lloh11: add x1, x1, l_.str@PAGEOFF mov x0, x23 mov x2, x24 bl _DP mov x0, x20 bl _skb_transport_header mov x23, x0 mov x0, x20 bl _SKB_CS mov x1, x0 mov x0, x23 mov x2, x22 bl _bnx2x_csum_fix mov x2, x0 str w0, [x19, #4] ldr w0, [x25] Lloh12: adrp x1, l_.str.1@PAGE Lloh13: add x1, x1, l_.str.1@PAGEOFF bl _DP LBB0_6: lsl w0, w21, #1 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _ETH_P_8021Q,4,2 ; @ETH_P_8021Q .comm _ETH_TX_PARSE_BD_E1X_LLC_SNAP_EN_SHIFT,4,2 ; @ETH_TX_PARSE_BD_E1X_LLC_SNAP_EN_SHIFT .comm _XMIT_CSUM_TCP,4,2 ; @XMIT_CSUM_TCP .comm _NETIF_MSG_TX_QUEUED,4,2 ; @NETIF_MSG_TX_QUEUED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hlen %d fix %d csum before fix %x\n" l_.str.1: ; @.str.1 .asciz "csum after fix %x\n" .no_dead_strip _bnx2x_set_pbd_csum .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_cmn.c_bnx2x_set_pbd_csum.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lima_ctx_create ## -- Begin function lima_ctx_create .p2align 4, 0x90 _lima_ctx_create: ## @lima_ctx_create .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $24, %edi callq _kzalloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r12 movq %r15, -56(%rbp) ## 8-byte Spill movq %rbx, -48(%rbp) ## 8-byte Spill movq %r14, 16(%rax) leaq 12(%rax), %rdi callq _kref_init movq _lima_pipe_num@GOTPCREL(%rip), %r15 cmpl $0, (%r15) movl $0, %r13d jle LBB0_6 ## %bb.3: movq %r12, %rbx addq $8, %rbx xorl %r13d, %r13d .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rdi addq %r13, %rdi movq (%r12), %rsi addq %r13, %rsi movq %rbx, %rdx callq _lima_sched_context_init testl %eax, %eax jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 incq %r13 movslq (%r15), %rax cmpq %rax, %r13 jl LBB0_4 LBB0_6: movq _xa_limit_32b@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %r8d movq -48(%rbp), %rdi ## 8-byte Reload movq -56(%rbp), %rsi ## 8-byte Reload movq %r12, %rdx callq _xa_alloc testl %eax, %eax movl $0, %r15d jns LBB0_11 LBB0_7: movl %eax, %r15d testl %r13d, %r13d jle LBB0_10 ## %bb.8: movl %r13d, %ebx decq %rbx .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rdi addq %rbx, %rdi movq (%r12), %rsi addq %rbx, %rsi callq _lima_sched_context_fini leaq -1(%rbx), %rax incq %rbx cmpq $1, %rbx movq %rax, %rbx ja LBB0_9 LBB0_10: movq %r12, %rdi callq _kfree jmp LBB0_11 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r15d, %r15d subl (%rax), %r15d LBB0_11: movl %r15d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _lima_pipe_num,4,2 ## @lima_pipe_num .comm _xa_limit_32b,4,2 ## @xa_limit_32b .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lima_ctx_create ; -- Begin function lima_ctx_create .p2align 2 _lima_ctx_create: ; @lima_ctx_create .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, x2 mov x22, x1 mov x19, x0 Lloh0: adrp x26, _GFP_KERNEL@GOTPAGE Lloh1: ldr x26, [x26, _GFP_KERNEL@GOTPAGEOFF] ldr w1, [x26] mov w0, #24 bl _kzalloc cbz x0, LBB0_5 ; %bb.1: mov x20, x0 str x19, [x0, #16] add x0, x0, #12 bl _kref_init Lloh2: adrp x27, _lima_pipe_num@GOTPAGE Lloh3: ldr x27, [x27, _lima_pipe_num@GOTPAGEOFF] ldr w8, [x27] cmp w8, #1 b.lt LBB0_6 ; %bb.2: mov x25, #0 add x24, x20, #8 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] add x0, x25, x8 ldr x8, [x20] add x1, x25, x8 mov x2, x24 bl _lima_sched_context_init cbnz w0, LBB0_9 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add x25, x25, #1 ldrsw x8, [x27] cmp x25, x8 b.lt LBB0_3 b LBB0_7 LBB0_5: Lloh4: adrp x8, _ENOMEM@GOTPAGE Lloh5: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh6: ldr w8, [x8] neg w23, w8 b LBB0_13 LBB0_6: mov w25, #0 LBB0_7: Lloh7: adrp x8, _xa_limit_32b@GOTPAGE Lloh8: ldr x8, [x8, _xa_limit_32b@GOTPAGEOFF] Lloh9: ldr w3, [x8] ldr w4, [x26] mov x0, x22 mov x1, x21 mov x2, x20 bl _xa_alloc tbnz w0, #31, LBB0_9 ; %bb.8: mov w23, #0 b LBB0_13 LBB0_9: mov x23, x0 cmp w25, #1 b.lt LBB0_12 ; %bb.10: mov w8, w25 sub x21, x8, #1 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] add x0, x21, x8 ldr x8, [x20] add x1, x21, x8 bl _lima_sched_context_fini add x8, x21, #1 sub x21, x21, #1 cmp x8, #1 b.hi LBB0_11 LBB0_12: mov x0, x20 bl _kfree LBB0_13: mov x0, x23 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 AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _lima_pipe_num,4,2 ; @lima_pipe_num .comm _xa_limit_32b,4,2 ; @xa_limit_32b .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_ctx.c_lima_ctx_create.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function add_trailing_starstar_for_dir _add_trailing_starstar_for_dir: ## @add_trailing_starstar_for_dir .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 movslq (%rdi), %rax testq %rax, %rax je LBB0_2 ## %bb.1: movq %rdi, %rbx movq 8(%rdi), %rcx movl -4(%rcx,%rax,4), %edi callq _is_dir_sep testq %rax, %rax je LBB0_2 ## %bb.3: leaq L_.str(%rip), %rsi movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _strbuf_addstr ## TAILCALL LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "**" .no_dead_strip _add_trailing_starstar_for_dir .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function add_trailing_starstar_for_dir _add_trailing_starstar_for_dir: ; @add_trailing_starstar_for_dir .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr w8, [x0] cbz w8, LBB0_3 ; %bb.1: mov x19, x0 ldr x9, [x0, #8] sub w8, w8, #1 ldr w0, [x9, w8, sxtw #2] bl _is_dir_sep cbz x0, LBB0_3 ; %bb.2: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _strbuf_addstr LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "**" .no_dead_strip _add_trailing_starstar_for_dir .subsections_via_symbols
AnghaBench/git/extr_config.c_add_trailing_starstar_for_dir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hdcp2_verify_rep_topology_prepare_ack _hdcp2_verify_rep_topology_prepare_ack: ## @hdcp2_verify_rep_topology_prepare_ack .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movl (%rdi), %edi callq _to_i915 movq %rax, %r12 movq %rax, %rdi callq _mutex_lock movq 8(%r12), %rcx testq %rcx, %rcx je LBB0_2 ## %bb.1: movq 8(%rcx), %rax testq %rax, %rax je LBB0_2 ## %bb.3: addq $4, %rbx movl (%rcx), %edi movq %rbx, %rsi movq %r15, %rdx movq %r14, %rcx callq *(%rax) movl %eax, %ebx testl %eax, %eax jns LBB0_5 ## %bb.4: leaq L_.str(%rip), %rdi movl %ebx, %esi callq _DRM_DEBUG_KMS LBB0_5: movq %r12, %rdi callq _mutex_unlock jmp LBB0_6 LBB0_2: movq %r12, %rdi callq _mutex_unlock movq _EINVAL@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_6: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Verify rep topology failed. %d\n" .no_dead_strip _hdcp2_verify_rep_topology_prepare_ack .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hdcp2_verify_rep_topology_prepare_ack _hdcp2_verify_rep_topology_prepare_ack: ; @hdcp2_verify_rep_topology_prepare_ack .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x21, x1 mov x22, x0 ldr w0, [x22], #4 bl _to_i915 mov x19, x0 bl _mutex_lock ldr x8, [x19, #8] cbz x8, LBB0_5 ; %bb.1: ldr x9, [x8, #8] cbz x9, LBB0_5 ; %bb.2: ldr x9, [x9] ldr w0, [x8] mov x1, x22 mov x2, x21 mov x3, x20 blr x9 mov x20, x0 tbz w0, #31, LBB0_4 ; %bb.3: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x20 bl _DRM_DEBUG_KMS LBB0_4: mov x0, x19 bl _mutex_unlock b LBB0_6 LBB0_5: mov x0, x19 bl _mutex_unlock Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w20, w8 LBB0_6: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Verify rep topology failed. %d\n" .no_dead_strip _hdcp2_verify_rep_topology_prepare_ack .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdcp.c_hdcp2_verify_rep_topology_prepare_ack.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ehca_dma_sync_single_for_cpu _ehca_dma_sync_single_for_cpu: ## @ehca_dma_sync_single_for_cpu .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi popq %rbp jmp _dma_sync_single_for_cpu ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _ehca_dma_sync_single_for_cpu .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ehca_dma_sync_single_for_cpu _ehca_dma_sync_single_for_cpu: ; @ehca_dma_sync_single_for_cpu .cfi_startproc ; %bb.0: ldr w0, [x0] b _dma_sync_single_for_cpu .cfi_endproc ; -- End function .no_dead_strip _ehca_dma_sync_single_for_cpu .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_mrmw.c_ehca_dma_sync_single_for_cpu.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function do_generic_string _do_generic_string: ## @do_generic_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi popq %rbp jmp _do_string ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _do_generic_string .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function do_generic_string _do_generic_string: ; @do_generic_string .cfi_startproc ; %bb.0: ldr w0, [x0] b _do_string .cfi_endproc ; -- End function .no_dead_strip _do_generic_string .subsections_via_symbols
AnghaBench/Quake-III-Arena/lcc/src/extr_2html.c_do_generic_string.c
anghabench