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 _strncasecmp_l ## -- Begin function strncasecmp_l .p2align 4, 0x90 _strncasecmp_l: ## @strncasecmp_l .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, %r15 movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, %r13 movl %ecx, %edi callq _FIX_LOCALE testq %r15, %r15 je LBB0_1 ## %bb.2: decq %r15 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl (%r13,%r14,4), %edi movl %r12d, %esi callq _tolower_l movl %eax, %ebx movq -48(%rbp), %rax ## 8-byte Reload movl (%rax,%r14,4), %edi movl %r12d, %esi callq _tolower_l cmpl %eax, %ebx jne LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 xorl %ebx, %ebx cmpl $0, (%r13,%r14,4) je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 leaq 1(%r14), %rax cmpq %r14, %r15 movq %rax, %r14 jne LBB0_3 jmp LBB0_7 LBB0_1: xorl %ebx, %ebx jmp LBB0_7 LBB0_6: movl (%r13,%r14,4), %edi movl %r12d, %esi callq _tolower_l movl %eax, %ebx movq -48(%rbp), %rax ## 8-byte Reload movl (%rax,%r14,4), %edi movl %r12d, %esi callq _tolower_l subl %eax, %ebx LBB0_7: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strncasecmp_l ; -- Begin function strncasecmp_l .p2align 2 _strncasecmp_l: ; @strncasecmp_l .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 x22, x2 mov x20, x1 mov x21, x0 mov x0, x3 bl _FIX_LOCALE cbz x22, LBB0_4 ; %bb.1: sub x23, x22, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w0, [x21] mov x1, x19 bl _tolower_l mov x22, x0 ldr w0, [x20] mov x1, x19 bl _tolower_l cmp w22, w0 b.ne LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x20, x20, #4 ldr w8, [x21], #4 cmp w8, #0 ccmp x23, #0, #4, ne sub x23, x23, #1 b.ne LBB0_2 LBB0_4: mov w0, #0 b LBB0_6 LBB0_5: ldr w0, [x21] mov x1, x19 bl _tolower_l mov x21, x0 ldr w0, [x20] mov x1, x19 bl _tolower_l sub w0, w21, w0 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 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/lib/libc/string/extr_strcasecmp.c_strncasecmp_l.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function build_hip _build_hip: ## @build_hip .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdx, %r14 movq %rdi, %rbx movl %esi, %edi movq %rbx, %rsi callq _put_unaligned_be16 addq $8, %rbx movl (%r14), %esi movq %rbx, %rdi movl $4, %edx popq %rbx popq %r14 popq %rbp jmp _memcpy ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _build_hip .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function build_hip _build_hip: ; @build_hip .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 mov x20, x0 mov x0, x1 mov x1, x20 bl _put_unaligned_be16 add x0, x20, #8 ldr w1, [x19] mov w2, #4 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _memcpy .cfi_endproc ; -- End function .no_dead_strip _build_hip .subsections_via_symbols
AnghaBench/linux/drivers/net/usb/extr_sierra_net.c_build_hip.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function WalRcvGetStateString _WalRcvGetStateString: ## @WalRcvGetStateString .cfi_startproc ## %bb.0: addl $-128, %edi cmpl $5, %edi ja LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %edi, %rax leaq l_reltable.WalRcvGetStateString(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax popq %rbp retq LBB0_1: leaq L_.str.6(%rip), %rax retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "stopped" L_.str.1: ## @.str.1 .asciz "starting" L_.str.2: ## @.str.2 .asciz "streaming" L_.str.3: ## @.str.3 .asciz "waiting" L_.str.4: ## @.str.4 .asciz "restarting" L_.str.5: ## @.str.5 .asciz "stopping" L_.str.6: ## @.str.6 .asciz "UNKNOWN" .no_dead_strip _WalRcvGetStateString .section __TEXT,__const .p2align 2 ## @reltable.WalRcvGetStateString l_reltable.WalRcvGetStateString: .long L_.str.3-l_reltable.WalRcvGetStateString .long L_.str.2-l_reltable.WalRcvGetStateString .long L_.str.5-l_reltable.WalRcvGetStateString .long L_.str-l_reltable.WalRcvGetStateString .long L_.str.1-l_reltable.WalRcvGetStateString .long L_.str.4-l_reltable.WalRcvGetStateString .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function WalRcvGetStateString _WalRcvGetStateString: ; @WalRcvGetStateString .cfi_startproc ; %bb.0: sub w8, w0, #128 cmp w8, #5 b.hi LBB0_2 ; %bb.1: Lloh0: adrp x9, l_switch.table.WalRcvGetStateString@PAGE Lloh1: add x9, x9, l_switch.table.WalRcvGetStateString@PAGEOFF ldr x0, [x9, w8, sxtw #3] ret LBB0_2: Lloh2: adrp x0, l_.str.6@PAGE Lloh3: add x0, x0, l_.str.6@PAGEOFF ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "stopped" l_.str.1: ; @.str.1 .asciz "starting" l_.str.2: ; @.str.2 .asciz "streaming" l_.str.3: ; @.str.3 .asciz "waiting" l_.str.4: ; @.str.4 .asciz "restarting" l_.str.5: ; @.str.5 .asciz "stopping" l_.str.6: ; @.str.6 .asciz "UNKNOWN" .no_dead_strip _WalRcvGetStateString .section __DATA,__const .p2align 3 ; @switch.table.WalRcvGetStateString l_switch.table.WalRcvGetStateString: .quad l_.str.3 .quad l_.str.2 .quad l_.str.5 .quad l_.str .quad l_.str.1 .quad l_.str.4 .subsections_via_symbols
AnghaBench/postgres/src/backend/replication/extr_walreceiver.c_WalRcvGetStateString.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mrf24j40_hw_init _mrf24j40_hw_init: ## @mrf24j40_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 %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movl 16(%rdi), %edi movq _REG_SOFTRST@GOTPCREL(%rip), %rax movl (%rax), %esi movl $7, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.1: movl 16(%r14), %edi movq _REG_PACON2@GOTPCREL(%rip), %rax movl (%rax), %esi movl $152, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.2: movl 16(%r14), %edi movq _REG_TXSTBL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $149, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.3: movl (%r14), %edi movq _REG_RFCON0@GOTPCREL(%rip), %rax movl (%rax), %esi movl $3, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.4: movl (%r14), %edi movq _REG_RFCON1@GOTPCREL(%rip), %rax movl (%rax), %esi movl $1, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.5: movl (%r14), %edi movq _REG_RFCON2@GOTPCREL(%rip), %rax movl (%rax), %esi movl $128, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.6: movl (%r14), %edi movq _REG_RFCON6@GOTPCREL(%rip), %rax movl (%rax), %esi movl $144, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.7: movl (%r14), %edi movq _REG_RFCON7@GOTPCREL(%rip), %rax movl (%rax), %esi movl $128, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.8: movl (%r14), %edi movq _REG_RFCON8@GOTPCREL(%rip), %rax movl (%rax), %esi movl $16, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.9: movl (%r14), %edi movq _REG_SLPCON1@GOTPCREL(%rip), %rax movl (%rax), %esi movl $33, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.10: movl 16(%r14), %edi movq _REG_BBREG2@GOTPCREL(%rip), %rax movl (%rax), %esi movl $128, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.11: movl 16(%r14), %edi movq _REG_CCAEDTH@GOTPCREL(%rip), %rax movl (%rax), %esi movl $96, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.12: movl 16(%r14), %edi movq _REG_BBREG6@GOTPCREL(%rip), %rax movl (%rax), %esi movl $64, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.13: movl 16(%r14), %edi movq _REG_RFCTL@GOTPCREL(%rip), %rbx movl (%rbx), %esi movl $4, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.14: movl 16(%r14), %edi movl (%rbx), %esi xorl %edx, %edx callq _regmap_write testl %eax, %eax jne LBB0_23 ## %bb.15: movl $192, %edi callq _udelay movl 16(%r14), %edi movq _REG_RXMCR@GOTPCREL(%rip), %rax movl (%rax), %esi movl $3, %edx xorl %ecx, %ecx callq _regmap_update_bits testl %eax, %eax je LBB0_16 LBB0_23: movl %eax, %ebx LBB0_24: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_16: movq 8(%r14), %rdi callq _spi_get_device_id movq (%rax), %rax movq _MRF24J40MC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_18 ## %bb.17: movl (%r14), %edi movq _REG_TESTMODE@GOTPCREL(%rip), %rax movl (%rax), %esi movl $7, %edx movl $7, %ecx callq _regmap_update_bits movl 16(%r14), %edi movq _REG_TRISGPIO@GOTPCREL(%rip), %rax movl (%rax), %esi movl $8, %edx movl $8, %ecx callq _regmap_update_bits movl 16(%r14), %edi movq _REG_GPIO@GOTPCREL(%rip), %rax movl (%rax), %esi movl $8, %edx movl $8, %ecx callq _regmap_update_bits movl (%r14), %edi movq _REG_RFCON3@GOTPCREL(%rip), %rax movl (%rax), %esi movl $40, %edx callq _regmap_write LBB0_18: movq 8(%r14), %rax movl 4(%rax), %edi callq _irq_get_trigger_type movl %eax, %r15d cmpl $129, %eax je LBB0_20 ## %bb.19: movq _IRQ_TYPE_EDGE_FALLING@GOTPCREL(%rip), %rax cmpl (%rax), %r15d jne LBB0_21 LBB0_20: movq 8(%r14), %rdi leaq L_.str(%rip), %rsi callq _dev_warn LBB0_21: andl $-2, %r15d xorl %ebx, %ebx cmpl $128, %r15d jne LBB0_24 ## %bb.22: movl (%r14), %edi movq _REG_SLPCON0@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BIT_INTEDGE@GOTPCREL(%rip), %rax movl (%rax), %ecx movl %ecx, %edx callq _regmap_update_bits testl %eax, %eax jne LBB0_23 jmp LBB0_24 .cfi_endproc ## -- End function .comm _REG_SOFTRST,4,2 ## @REG_SOFTRST .comm _REG_PACON2,4,2 ## @REG_PACON2 .comm _REG_TXSTBL,4,2 ## @REG_TXSTBL .comm _REG_RFCON0,4,2 ## @REG_RFCON0 .comm _REG_RFCON1,4,2 ## @REG_RFCON1 .comm _REG_RFCON2,4,2 ## @REG_RFCON2 .comm _REG_RFCON6,4,2 ## @REG_RFCON6 .comm _REG_RFCON7,4,2 ## @REG_RFCON7 .comm _REG_RFCON8,4,2 ## @REG_RFCON8 .comm _REG_SLPCON1,4,2 ## @REG_SLPCON1 .comm _REG_BBREG2,4,2 ## @REG_BBREG2 .comm _REG_CCAEDTH,4,2 ## @REG_CCAEDTH .comm _REG_BBREG6,4,2 ## @REG_BBREG6 .comm _REG_RFCTL,4,2 ## @REG_RFCTL .comm _REG_RXMCR,4,2 ## @REG_RXMCR .comm _MRF24J40MC,8,3 ## @MRF24J40MC .comm _REG_TESTMODE,4,2 ## @REG_TESTMODE .comm _REG_TRISGPIO,4,2 ## @REG_TRISGPIO .comm _REG_GPIO,4,2 ## @REG_GPIO .comm _REG_RFCON3,4,2 ## @REG_RFCON3 .comm _IRQ_TYPE_EDGE_FALLING,4,2 ## @IRQ_TYPE_EDGE_FALLING .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Using edge triggered irq's are not recommended, because it can cause races and result in a non-functional driver!\n" .comm _REG_SLPCON0,4,2 ## @REG_SLPCON0 .comm _BIT_INTEDGE,4,2 ## @BIT_INTEDGE .no_dead_strip _mrf24j40_hw_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mrf24j40_hw_init _mrf24j40_hw_init: ; @mrf24j40_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 mov x19, x0 ldr w0, [x0, #16] Lloh0: adrp x8, _REG_SOFTRST@GOTPAGE Lloh1: ldr x8, [x8, _REG_SOFTRST@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w2, #7 bl _regmap_write cbnz w0, LBB0_24 ; %bb.1: ldr w0, [x19, #16] Lloh3: adrp x8, _REG_PACON2@GOTPAGE Lloh4: ldr x8, [x8, _REG_PACON2@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov w2, #152 bl _regmap_write cbnz w0, LBB0_24 ; %bb.2: ldr w0, [x19, #16] Lloh6: adrp x8, _REG_TXSTBL@GOTPAGE Lloh7: ldr x8, [x8, _REG_TXSTBL@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov w2, #149 bl _regmap_write cbnz w0, LBB0_24 ; %bb.3: ldr w0, [x19] Lloh9: adrp x8, _REG_RFCON0@GOTPAGE Lloh10: ldr x8, [x8, _REG_RFCON0@GOTPAGEOFF] Lloh11: ldr w1, [x8] mov w2, #3 bl _regmap_write cbnz w0, LBB0_24 ; %bb.4: ldr w0, [x19] Lloh12: adrp x8, _REG_RFCON1@GOTPAGE Lloh13: ldr x8, [x8, _REG_RFCON1@GOTPAGEOFF] Lloh14: ldr w1, [x8] mov w2, #1 bl _regmap_write cbnz w0, LBB0_24 ; %bb.5: ldr w0, [x19] Lloh15: adrp x8, _REG_RFCON2@GOTPAGE Lloh16: ldr x8, [x8, _REG_RFCON2@GOTPAGEOFF] Lloh17: ldr w1, [x8] mov w2, #128 bl _regmap_write cbnz w0, LBB0_24 ; %bb.6: ldr w0, [x19] Lloh18: adrp x8, _REG_RFCON6@GOTPAGE Lloh19: ldr x8, [x8, _REG_RFCON6@GOTPAGEOFF] Lloh20: ldr w1, [x8] mov w2, #144 bl _regmap_write cbnz w0, LBB0_24 ; %bb.7: ldr w0, [x19] Lloh21: adrp x8, _REG_RFCON7@GOTPAGE Lloh22: ldr x8, [x8, _REG_RFCON7@GOTPAGEOFF] Lloh23: ldr w1, [x8] mov w2, #128 bl _regmap_write cbnz w0, LBB0_24 ; %bb.8: ldr w0, [x19] Lloh24: adrp x8, _REG_RFCON8@GOTPAGE Lloh25: ldr x8, [x8, _REG_RFCON8@GOTPAGEOFF] Lloh26: ldr w1, [x8] mov w2, #16 bl _regmap_write cbnz w0, LBB0_24 ; %bb.9: ldr w0, [x19] Lloh27: adrp x8, _REG_SLPCON1@GOTPAGE Lloh28: ldr x8, [x8, _REG_SLPCON1@GOTPAGEOFF] Lloh29: ldr w1, [x8] mov w2, #33 bl _regmap_write cbnz w0, LBB0_24 ; %bb.10: ldr w0, [x19, #16] Lloh30: adrp x8, _REG_BBREG2@GOTPAGE Lloh31: ldr x8, [x8, _REG_BBREG2@GOTPAGEOFF] Lloh32: ldr w1, [x8] mov w2, #128 bl _regmap_write cbnz w0, LBB0_24 ; %bb.11: ldr w0, [x19, #16] Lloh33: adrp x8, _REG_CCAEDTH@GOTPAGE Lloh34: ldr x8, [x8, _REG_CCAEDTH@GOTPAGEOFF] Lloh35: ldr w1, [x8] mov w2, #96 bl _regmap_write cbnz w0, LBB0_24 ; %bb.12: ldr w0, [x19, #16] Lloh36: adrp x8, _REG_BBREG6@GOTPAGE Lloh37: ldr x8, [x8, _REG_BBREG6@GOTPAGEOFF] Lloh38: ldr w1, [x8] mov w2, #64 bl _regmap_write cbnz w0, LBB0_24 ; %bb.13: ldr w0, [x19, #16] Lloh39: adrp x20, _REG_RFCTL@GOTPAGE Lloh40: ldr x20, [x20, _REG_RFCTL@GOTPAGEOFF] ldr w1, [x20] mov w2, #4 bl _regmap_write cbnz w0, LBB0_24 ; %bb.14: ldr w0, [x19, #16] ldr w1, [x20] mov w2, #0 bl _regmap_write cbnz w0, LBB0_24 ; %bb.15: mov w0, #192 bl _udelay ldr w0, [x19, #16] Lloh41: adrp x8, _REG_RXMCR@GOTPAGE Lloh42: ldr x8, [x8, _REG_RXMCR@GOTPAGEOFF] Lloh43: ldr w1, [x8] mov w2, #3 mov w3, #0 bl _regmap_update_bits cbnz w0, LBB0_24 ; %bb.16: ldr x0, [x19, #8] bl _spi_get_device_id ldr x8, [x0] Lloh44: adrp x9, _MRF24J40MC@GOTPAGE Lloh45: ldr x9, [x9, _MRF24J40MC@GOTPAGEOFF] Lloh46: ldr x9, [x9] cmp x8, x9 b.ne LBB0_18 ; %bb.17: ldr w0, [x19] Lloh47: adrp x8, _REG_TESTMODE@GOTPAGE Lloh48: ldr x8, [x8, _REG_TESTMODE@GOTPAGEOFF] Lloh49: ldr w1, [x8] mov w2, #7 mov w3, #7 bl _regmap_update_bits ldr w0, [x19, #16] Lloh50: adrp x8, _REG_TRISGPIO@GOTPAGE Lloh51: ldr x8, [x8, _REG_TRISGPIO@GOTPAGEOFF] Lloh52: ldr w1, [x8] mov w2, #8 mov w3, #8 bl _regmap_update_bits ldr w0, [x19, #16] Lloh53: adrp x8, _REG_GPIO@GOTPAGE Lloh54: ldr x8, [x8, _REG_GPIO@GOTPAGEOFF] Lloh55: ldr w1, [x8] mov w2, #8 mov w3, #8 bl _regmap_update_bits ldr w0, [x19] Lloh56: adrp x8, _REG_RFCON3@GOTPAGE Lloh57: ldr x8, [x8, _REG_RFCON3@GOTPAGEOFF] Lloh58: ldr w1, [x8] mov w2, #40 bl _regmap_write LBB0_18: ldr x8, [x19, #8] ldr w0, [x8, #4] bl _irq_get_trigger_type mov x20, x0 cmp w0, #129 b.eq LBB0_20 ; %bb.19: Lloh59: adrp x8, _IRQ_TYPE_EDGE_FALLING@GOTPAGE Lloh60: ldr x8, [x8, _IRQ_TYPE_EDGE_FALLING@GOTPAGEOFF] Lloh61: ldr w8, [x8] cmp w20, w8 b.ne LBB0_21 LBB0_20: ldr x0, [x19, #8] Lloh62: adrp x1, l_.str@PAGE Lloh63: add x1, x1, l_.str@PAGEOFF bl _dev_warn LBB0_21: and w8, w20, #0xfffffffe cmp w8, #128 b.ne LBB0_23 ; %bb.22: ldr w0, [x19] Lloh64: adrp x8, _REG_SLPCON0@GOTPAGE Lloh65: ldr x8, [x8, _REG_SLPCON0@GOTPAGEOFF] Lloh66: ldr w1, [x8] Lloh67: adrp x8, _BIT_INTEDGE@GOTPAGE Lloh68: ldr x8, [x8, _BIT_INTEDGE@GOTPAGEOFF] Lloh69: ldr w2, [x8] mov x3, x2 bl _regmap_update_bits b LBB0_24 LBB0_23: mov w0, #0 LBB0_24: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .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 AdrpLdrGot Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58 .loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69 .loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66 .cfi_endproc ; -- End function .comm _REG_SOFTRST,4,2 ; @REG_SOFTRST .comm _REG_PACON2,4,2 ; @REG_PACON2 .comm _REG_TXSTBL,4,2 ; @REG_TXSTBL .comm _REG_RFCON0,4,2 ; @REG_RFCON0 .comm _REG_RFCON1,4,2 ; @REG_RFCON1 .comm _REG_RFCON2,4,2 ; @REG_RFCON2 .comm _REG_RFCON6,4,2 ; @REG_RFCON6 .comm _REG_RFCON7,4,2 ; @REG_RFCON7 .comm _REG_RFCON8,4,2 ; @REG_RFCON8 .comm _REG_SLPCON1,4,2 ; @REG_SLPCON1 .comm _REG_BBREG2,4,2 ; @REG_BBREG2 .comm _REG_CCAEDTH,4,2 ; @REG_CCAEDTH .comm _REG_BBREG6,4,2 ; @REG_BBREG6 .comm _REG_RFCTL,4,2 ; @REG_RFCTL .comm _REG_RXMCR,4,2 ; @REG_RXMCR .comm _MRF24J40MC,8,3 ; @MRF24J40MC .comm _REG_TESTMODE,4,2 ; @REG_TESTMODE .comm _REG_TRISGPIO,4,2 ; @REG_TRISGPIO .comm _REG_GPIO,4,2 ; @REG_GPIO .comm _REG_RFCON3,4,2 ; @REG_RFCON3 .comm _IRQ_TYPE_EDGE_FALLING,4,2 ; @IRQ_TYPE_EDGE_FALLING .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Using edge triggered irq's are not recommended, because it can cause races and result in a non-functional driver!\n" .comm _REG_SLPCON0,4,2 ; @REG_SLPCON0 .comm _BIT_INTEDGE,4,2 ; @BIT_INTEDGE .no_dead_strip _mrf24j40_hw_init .subsections_via_symbols
AnghaBench/linux/drivers/net/ieee802154/extr_mrf24j40.c_mrf24j40_hw_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mlx_read_configuration ## -- Begin function mlx_read_configuration .p2align 4, 0x90 _mlx_read_configuration: ## @mlx_read_configuration .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ud2 .cfi_endproc ## -- End function .comm _MLX_CMD_READ_CONFIG,4,2 ## @MLX_CMD_READ_CONFIG .comm _mlx_command,4,2 ## @mlx_command .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mlx_read_configuration ; -- Begin function mlx_read_configuration .p2align 2 _mlx_read_configuration: ; @mlx_read_configuration .cfi_startproc ; %bb.0: brk #0x1 .cfi_endproc ; -- End function .comm _MLX_CMD_READ_CONFIG,4,2 ; @MLX_CMD_READ_CONFIG .comm _mlx_command,4,2 ; @mlx_command .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/mlxcontrol/extr_interface.c_mlx_read_configuration.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pci_cfg_access_lock ## -- Begin function pci_cfg_access_lock .p2align 4, 0x90 _pci_cfg_access_lock: ## @pci_cfg_access_lock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx xorl %eax, %eax callq _might_sleep movq _pci_lock@GOTPCREL(%rip), %rdi callq _spin_lock_irq cmpl $0, (%rbx) je LBB0_2 ## %bb.1: movq %rbx, %rdi callq _pci_wait_cfg LBB0_2: movl $1, (%rbx) movq _pci_lock@GOTPCREL(%rip), %rdi addq $8, %rsp popq %rbx popq %rbp jmp _spin_unlock_irq ## TAILCALL .cfi_endproc ## -- End function .comm _pci_lock,4,2 ## @pci_lock .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pci_cfg_access_lock ; -- Begin function pci_cfg_access_lock .p2align 2 _pci_cfg_access_lock: ; @pci_cfg_access_lock .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 _might_sleep Lloh0: adrp x0, _pci_lock@GOTPAGE Lloh1: ldr x0, [x0, _pci_lock@GOTPAGEOFF] bl _spin_lock_irq ldr w8, [x19] cbz w8, LBB0_2 ; %bb.1: mov x0, x19 bl _pci_wait_cfg LBB0_2: mov w8, #1 str w8, [x19] Lloh2: adrp x0, _pci_lock@GOTPAGE Lloh3: ldr x0, [x0, _pci_lock@GOTPAGEOFF] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _spin_unlock_irq .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _pci_lock,4,2 ; @pci_lock .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/pci/extr_access.c_pci_cfg_access_lock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _init ## -- Begin function init .p2align 4, 0x90 _init: ## @init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq $0, 1600(%rdi) movl $0, 1608(%rdi) popq %rbp retq .cfi_endproc ## -- End function .globl _empty ## -- Begin function empty .p2align 4, 0x90 _empty: ## @empty .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 1600(%rdi), %ecx xorl %eax, %eax cmpl 1604(%rdi), %ecx jne LBB1_2 ## %bb.1: leaq L_str(%rip), %rdi callq _puts movl $-1, %eax LBB1_2: popq %rbp retq .cfi_endproc ## -- End function .globl _full ## -- Begin function full .p2align 4, 0x90 _full: ## @full .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 cmpl $400, 1608(%rdi) ## imm = 0x190 jne LBB2_2 ## %bb.1: leaq L_str.2(%rip), %rdi callq _puts movl $-2, %eax LBB2_2: popq %rbp retq .cfi_endproc ## -- End function .globl _enqueue ## -- Begin function enqueue .p2align 4, 0x90 _enqueue: ## @enqueue .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq 1604(%rdi), %rax movl %esi, (%rdi,%rax,4) incl 1608(%rdi) movl 1604(%rdi), %eax leal 1(%rax), %ecx cmpl $400, %eax ## imm = 0x190 movl $1, %eax cmovnel %ecx, %eax movl %eax, 1604(%rdi) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _dequeue ## -- Begin function dequeue .p2align 4, 0x90 _dequeue: ## @dequeue .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq 1600(%rdi), %rcx movl (%rdi,%rcx,4), %eax decl 1608(%rdi) leal 1(%rcx), %edx cmpq $400, %rcx ## imm = 0x190 movl $1, %ecx cmovnel %edx, %ecx movl %ecx, 1600(%rdi) popq %rbp retq .cfi_endproc ## -- End function .globl _t1 ## -- Begin function t1 .p2align 4, 0x90 _t1: ## @t1 .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 _m@GOTPCREL(%rip), %rdi callq _pthread_mutex_lock xorl %eax, %eax callq ___VERIFIER_nondet_int movq _queue@GOTPCREL(%rip), %rbx movslq 1604(%rbx), %rcx movl %eax, (%rbx,%rcx,4) incl 1608(%rbx) movl 1600(%rbx), %ecx movl 1604(%rbx), %edx leal 1(%rdx), %esi cmpl $400, %edx ## imm = 0x190 movl $1, %edx cmovel %edx, %esi movl %esi, 1604(%rbx) movq _stored_elements@GOTPCREL(%rip), %rdx movl %eax, (%rdx) cmpl %esi, %ecx je LBB5_7 ## %bb.1: movq _m@GOTPCREL(%rip), %r14 movq %r14, %rdi callq _pthread_mutex_unlock movq _enqueue_flag@GOTPCREL(%rip), %r13 movq _dequeue_flag@GOTPCREL(%rip), %r15 xorl %r12d, %r12d jmp LBB5_2 .p2align 4, 0x90 LBB5_4: ## in Loop: Header=BB5_2 Depth=1 xorl %eax, %eax callq ___VERIFIER_nondet_int movslq 1604(%rbx), %rcx movl %eax, (%rbx,%rcx,4) incl 1608(%rbx) movl 1604(%rbx), %ecx leal 1(%rcx), %edx cmpl $400, %ecx ## imm = 0x190 movl $1, %ecx cmovel %ecx, %edx movl %edx, 1604(%rbx) movq _stored_elements@GOTPCREL(%rip), %rcx movl %eax, 4(%rcx,%r12,4) incq %r12 movb $0, (%r13) movb $1, (%r15) LBB5_5: ## in Loop: Header=BB5_2 Depth=1 movq %r14, %rdi callq _pthread_mutex_unlock cmpq $399, %r12 ## imm = 0x18F je LBB5_6 LBB5_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq _pthread_mutex_lock cmpb $0, (%r13) jne LBB5_4 ## %bb.3: ## in Loop: Header=BB5_2 Depth=1 incq %r12 jmp LBB5_5 LBB5_6: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB5_7: leaq L_str(%rip), %rdi callq _puts xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _t2 ## -- Begin function t2 .p2align 4, 0x90 _t2: ## @t2 .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 xorl %ebx, %ebx movq _m@GOTPCREL(%rip), %r14 movq _dequeue_flag@GOTPCREL(%rip), %r15 movq _queue@GOTPCREL(%rip), %r12 movq _enqueue_flag@GOTPCREL(%rip), %r13 jmp LBB6_1 .p2align 4, 0x90 LBB6_3: ## in Loop: Header=BB6_1 Depth=1 movb $0, (%r15) movb $1, (%r13) LBB6_4: ## in Loop: Header=BB6_1 Depth=1 movq %r14, %rdi callq _pthread_mutex_unlock incq %rbx cmpq $400, %rbx ## imm = 0x190 je LBB6_5 LBB6_1: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq _pthread_mutex_lock cmpb $0, (%r15) je LBB6_4 ## %bb.2: ## in Loop: Header=BB6_1 Depth=1 movslq 1600(%r12), %rax xorl %ecx, %ecx cmpl $0, (%r12,%rax,4) sete %cl decl 1608(%r12) leal 1(%rax), %edx cmpq $400, %rax ## imm = 0x190 movl $1, %eax cmovel %eax, %edx movl %edx, 1600(%r12) movq _stored_elements@GOTPCREL(%rip), %rax cmpl %ecx, (%rax,%rbx,4) jne LBB6_3 ## %bb.6: xorl %eax, %eax callq ___VERIFIER_error LBB6_5: xorl %eax, %eax 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 %rbx subq $24, %rsp .cfi_offset %rbx, -24 movq _enqueue_flag@GOTPCREL(%rip), %rax movb $1, (%rax) movq _dequeue_flag@GOTPCREL(%rip), %rax movb $0, (%rax) movq _queue@GOTPCREL(%rip), %rbx movq $0, 1600(%rbx) movl $0, 1608(%rbx) leaq L_str(%rip), %rdi callq _puts movq _m@GOTPCREL(%rip), %rdi xorl %esi, %esi callq _pthread_mutex_init leaq _t1(%rip), %rdx leaq -24(%rbp), %rdi xorl %esi, %esi movq %rbx, %rcx callq _pthread_create leaq _t2(%rip), %rdx leaq -16(%rbp), %rdi xorl %esi, %esi movq %rbx, %rcx callq _pthread_create movq -24(%rbp), %rdi xorl %esi, %esi callq _pthread_join movq -16(%rbp), %rdi xorl %esi, %esi callq _pthread_join xorl %eax, %eax addq $24, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _m,64,3 ## @m .comm _queue,1612,2 ## @queue .comm _stored_elements,1600,4 ## @stored_elements .comm _enqueue_flag,1,0 ## @enqueue_flag .comm _dequeue_flag,1,0 ## @dequeue_flag .section __TEXT,__cstring,cstring_literals L_str: ## @str .asciz "queue is empty" L_str.2: ## @str.2 .asciz "queue is full" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _init ; -- Begin function init .p2align 2 _init: ; @init .cfi_startproc ; %bb.0: movi.2d v0, #0000000000000000 str d0, [x0, #1600] str wzr, [x0, #1608] ret .cfi_endproc ; -- End function .globl _empty ; -- Begin function empty .p2align 2 _empty: ; @empty .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr w8, [x0, #1600] ldr w9, [x0, #1604] cmp w8, w9 b.ne LBB1_2 ; %bb.1: Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #-1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB1_2: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _full ; -- Begin function full .p2align 2 _full: ; @full .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr w8, [x0, #1608] cmp w8, #400 b.ne LBB2_2 ; %bb.1: Lloh2: adrp x0, l_str.2@PAGE Lloh3: add x0, x0, l_str.2@PAGEOFF bl _puts mov w0, #-2 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB2_2: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .globl _enqueue ; -- Begin function enqueue .p2align 2 _enqueue: ; @enqueue .cfi_startproc ; %bb.0: ldrsw x8, [x0, #1604] str w1, [x0, x8, lsl #2] ldr w8, [x0, #1608] add w8, w8, #1 str w8, [x0, #1608] ldr w8, [x0, #1604] cmp w8, #400 mov w9, #1 csinc w8, w9, w8, eq str w8, [x0, #1604] mov w0, #0 ret .cfi_endproc ; -- End function .globl _dequeue ; -- Begin function dequeue .p2align 2 _dequeue: ; @dequeue .cfi_startproc ; %bb.0: ldrsw x9, [x0, #1600] ldr w8, [x0, x9, lsl #2] ldr w10, [x0, #1608] sub w10, w10, #1 str w10, [x0, #1608] cmp w9, #400 mov w10, #1 csinc w9, w10, w9, eq str w9, [x0, #1600] mov x0, x8 ret .cfi_endproc ; -- End function .globl _t1 ; -- Begin function t1 .p2align 2 _t1: ; @t1 .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 Lloh4: adrp x0, _m@GOTPAGE Lloh5: ldr x0, [x0, _m@GOTPAGEOFF] bl _pthread_mutex_lock bl ___VERIFIER_nondet_int Lloh6: adrp x20, _queue@GOTPAGE Lloh7: ldr x20, [x20, _queue@GOTPAGEOFF] ldrsw x8, [x20, #1604] str w0, [x20, x8, lsl #2] ldr w8, [x20, #1608] add w8, w8, #1 str w8, [x20, #1608] ldr w8, [x20, #1604] cmp w8, #400 mov w21, #1 csinc w8, w21, w8, eq str w8, [x20, #1604] Lloh8: adrp x22, _stored_elements@GOTPAGE Lloh9: ldr x22, [x22, _stored_elements@GOTPAGEOFF] str w0, [x22] ldr w9, [x20, #1600] cmp w9, w8 b.eq LBB5_7 ; %bb.1: Lloh10: adrp x19, _m@GOTPAGE Lloh11: ldr x19, [x19, _m@GOTPAGEOFF] mov x0, x19 bl _pthread_mutex_unlock mov x23, #0 Lloh12: adrp x24, _enqueue_flag@GOTPAGE Lloh13: ldr x24, [x24, _enqueue_flag@GOTPAGEOFF] Lloh14: adrp x25, _dequeue_flag@GOTPAGE Lloh15: ldr x25, [x25, _dequeue_flag@GOTPAGEOFF] b LBB5_4 LBB5_2: ; in Loop: Header=BB5_4 Depth=1 bl ___VERIFIER_nondet_int ldrsw x8, [x20, #1604] str w0, [x20, x8, lsl #2] ldr w8, [x20, #1608] add w8, w8, #1 str w8, [x20, #1608] ldr w8, [x20, #1604] cmp w8, #400 csinc w8, w21, w8, eq str w8, [x20, #1604] add x23, x23, #1 str w0, [x22, x23, lsl #2] strb wzr, [x24] strb w21, [x25] LBB5_3: ; in Loop: Header=BB5_4 Depth=1 mov x0, x19 bl _pthread_mutex_unlock cmp x23, #399 b.eq LBB5_6 LBB5_4: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _pthread_mutex_lock ldrb w8, [x24] cbnz w8, LBB5_2 ; %bb.5: ; in Loop: Header=BB5_4 Depth=1 add x23, x23, #1 b LBB5_3 LBB5_6: mov x0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB5_7: Lloh16: adrp x0, l_str@PAGE Lloh17: add x0, x0, l_str@PAGEOFF bl _puts bl ___VERIFIER_error .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .globl _t2 ; -- Begin function t2 .p2align 2 _t2: ; @t2 .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, #0 Lloh18: adrp x19, _m@GOTPAGE Lloh19: ldr x19, [x19, _m@GOTPAGEOFF] Lloh20: adrp x21, _dequeue_flag@GOTPAGE Lloh21: ldr x21, [x21, _dequeue_flag@GOTPAGEOFF] Lloh22: adrp x22, _queue@GOTPAGE Lloh23: ldr x22, [x22, _queue@GOTPAGEOFF] mov w23, #1 Lloh24: adrp x24, _stored_elements@GOTPAGE Lloh25: ldr x24, [x24, _stored_elements@GOTPAGEOFF] Lloh26: adrp x25, _enqueue_flag@GOTPAGE Lloh27: ldr x25, [x25, _enqueue_flag@GOTPAGEOFF] b LBB6_3 LBB6_1: ; in Loop: Header=BB6_3 Depth=1 strb wzr, [x21] strb w23, [x25] LBB6_2: ; in Loop: Header=BB6_3 Depth=1 mov x0, x19 bl _pthread_mutex_unlock add x20, x20, #4 cmp x20, #1600 b.eq LBB6_6 LBB6_3: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _pthread_mutex_lock ldrb w8, [x21] cbz w8, LBB6_2 ; %bb.4: ; in Loop: Header=BB6_3 Depth=1 ldrsw x8, [x22, #1600] ldr w9, [x22, x8, lsl #2] ldr w10, [x22, #1608] sub w10, w10, #1 str w10, [x22, #1608] cmp w8, #400 csinc w8, w23, w8, eq str w8, [x22, #1600] cmp w9, #0 cset w8, eq ldr w9, [x24, x20] cmp w9, w8 b.ne LBB6_1 ; %bb.5: bl ___VERIFIER_error LBB6_6: mov x0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh28: adrp x8, _enqueue_flag@GOTPAGE Lloh29: ldr x8, [x8, _enqueue_flag@GOTPAGEOFF] mov w9, #1 Lloh30: strb w9, [x8] Lloh31: adrp x8, _dequeue_flag@GOTPAGE Lloh32: ldr x8, [x8, _dequeue_flag@GOTPAGEOFF] Lloh33: strb wzr, [x8] movi.2d v0, #0000000000000000 Lloh34: adrp x19, _queue@GOTPAGE Lloh35: ldr x19, [x19, _queue@GOTPAGEOFF] str d0, [x19, #1600] str wzr, [x19, #1608] Lloh36: adrp x0, l_str@PAGE Lloh37: add x0, x0, l_str@PAGEOFF bl _puts Lloh38: adrp x0, _m@GOTPAGE Lloh39: ldr x0, [x0, _m@GOTPAGEOFF] mov x1, #0 bl _pthread_mutex_init Lloh40: adrp x2, _t1@PAGE Lloh41: add x2, x2, _t1@PAGEOFF add x0, sp, #8 mov x1, #0 mov x3, x19 bl _pthread_create Lloh42: adrp x2, _t2@PAGE Lloh43: add x2, x2, _t2@PAGEOFF mov x0, sp mov x1, #0 mov x3, x19 bl _pthread_create ldr x0, [sp, #8] mov x1, #0 bl _pthread_join ldr x0, [sp] mov x1, #0 bl _pthread_join 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 Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpLdrGot Lloh34, Lloh35 .loh AdrpLdrGotStr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotStr Lloh28, Lloh29, Lloh30 .cfi_endproc ; -- End function .comm _m,64,3 ; @m .comm _queue,1612,2 ; @queue .comm _stored_elements,1600,2 ; @stored_elements .comm _enqueue_flag,1,0 ; @enqueue_flag .comm _dequeue_flag,1,0 ; @dequeue_flag .section __TEXT,__cstring,cstring_literals l_str: ; @str .asciz "queue is empty" l_str.2: ; @str.2 .asciz "queue is full" .subsections_via_symbols
the_stack_data/97012511.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fetch_array_arg_replace_nulls _fetch_array_arg_replace_nulls: ## @fetch_array_arg_replace_nulls .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r15d movq %rdi, %rbx movq (%rdi), %rax movq (%rax), %r14 testq %r14, %r14 jne LBB0_2 ## %bb.1: movl 8(%rax), %edi movl $4, %esi callq _MemoryContextAlloc movq %rax, %r14 movq _InvalidOid@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r14) movq (%rbx), %rax movq %r14, (%rax) LBB0_2: leaq -36(%rbp), %rsi movq %rbx, %rdi callq _AggCheckCallContext testl %eax, %eax jne LBB0_4 ## %bb.3: movq _CurrentMemoryContext@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -36(%rbp) LBB0_4: movl %r15d, %edi callq _PG_ARGISNULL testl %eax, %eax je LBB0_5 ## %bb.6: movq (%rbx), %rdi movl %r15d, %esi callq _get_fn_expr_argtype movl %eax, %ebx movl %eax, %edi callq _OidIsValid testl %eax, %eax jne LBB0_8 ## %bb.7: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %r15d movq _ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _errcode leaq L_.str(%rip), %rdi callq _errmsg movl %r15d, %edi movl %eax, %esi callq _ereport LBB0_8: movl %ebx, %edi callq _get_element_type movl %eax, %ebx movl %eax, %edi callq _OidIsValid testl %eax, %eax jne LBB0_10 ## %bb.9: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %r15d movq _ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax movl (%rax), %edi callq _errcode leaq L_.str.1(%rip), %rdi callq _errmsg movl %r15d, %edi movl %eax, %esi callq _ereport LBB0_10: movl -36(%rbp), %esi movl %ebx, %edi movq %r14, %rdx callq _construct_empty_expanded_array movq %rax, %rbx jmp LBB0_11 LBB0_5: movl -36(%rbp), %edi callq _MemoryContextSwitchTo movl %eax, %r12d movl %r15d, %edi movq %r14, %rsi callq _PG_GETARG_EXPANDED_ARRAYX movq %rax, %rbx movl %r12d, %edi callq _MemoryContextSwitchTo LBB0_11: movq %rbx, %rax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _InvalidOid,4,2 ## @InvalidOid .comm _CurrentMemoryContext,4,2 ## @CurrentMemoryContext .comm _ERROR,4,2 ## @ERROR .comm _ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "could not determine input data type" .comm _ERRCODE_DATATYPE_MISMATCH,4,2 ## @ERRCODE_DATATYPE_MISMATCH L_.str.1: ## @.str.1 .asciz "input data type is not an array" .no_dead_strip _fetch_array_arg_replace_nulls .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fetch_array_arg_replace_nulls _fetch_array_arg_replace_nulls: ; @fetch_array_arg_replace_nulls .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 x21, x0 ldr x8, [x0] ldr x19, [x8] cbnz x19, LBB0_2 ; %bb.1: ldr w0, [x8, #8] mov w1, #4 bl _MemoryContextAlloc mov x19, x0 Lloh0: adrp x8, _InvalidOid@GOTPAGE Lloh1: ldr x8, [x8, _InvalidOid@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x0] ldr x8, [x21] str x0, [x8] LBB0_2: add x1, sp, #12 mov x0, x21 bl _AggCheckCallContext cbnz w0, LBB0_4 ; %bb.3: Lloh3: adrp x8, _CurrentMemoryContext@GOTPAGE Lloh4: ldr x8, [x8, _CurrentMemoryContext@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [sp, #12] LBB0_4: mov x0, x20 bl _PG_ARGISNULL cbz w0, LBB0_10 ; %bb.5: ldr x0, [x21] mov x1, x20 bl _get_fn_expr_argtype mov x20, x0 bl _OidIsValid cbnz w0, LBB0_7 ; %bb.6: Lloh6: adrp x8, _ERROR@GOTPAGE Lloh7: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh8: ldr w21, [x8] Lloh9: adrp x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE Lloh10: ldr x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF] Lloh11: ldr w0, [x8] bl _errcode Lloh12: adrp x0, l_.str@PAGE Lloh13: add x0, x0, l_.str@PAGEOFF bl _errmsg mov x1, x0 mov x0, x21 bl _ereport LBB0_7: mov x0, x20 bl _get_element_type mov x20, x0 bl _OidIsValid cbnz w0, LBB0_9 ; %bb.8: Lloh14: adrp x8, _ERROR@GOTPAGE Lloh15: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh16: ldr w21, [x8] Lloh17: adrp x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE Lloh18: ldr x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF] Lloh19: ldr w0, [x8] bl _errcode Lloh20: adrp x0, l_.str.1@PAGE Lloh21: add x0, x0, l_.str.1@PAGEOFF bl _errmsg mov x1, x0 mov x0, x21 bl _ereport LBB0_9: ldr w1, [sp, #12] mov x0, x20 mov x2, x19 bl _construct_empty_expanded_array mov x19, x0 b LBB0_11 LBB0_10: ldr w0, [sp, #12] bl _MemoryContextSwitchTo mov x21, x0 mov x0, x20 mov x1, x19 bl _PG_GETARG_EXPANDED_ARRAYX mov x19, x0 mov x0, x21 bl _MemoryContextSwitchTo LBB0_11: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _InvalidOid,4,2 ; @InvalidOid .comm _CurrentMemoryContext,4,2 ; @CurrentMemoryContext .comm _ERROR,4,2 ; @ERROR .comm _ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "could not determine input data type" .comm _ERRCODE_DATATYPE_MISMATCH,4,2 ; @ERRCODE_DATATYPE_MISMATCH l_.str.1: ; @.str.1 .asciz "input data type is not an array" .no_dead_strip _fetch_array_arg_replace_nulls .subsections_via_symbols
AnghaBench/postgres/src/backend/utils/adt/extr_array_userfuncs.c_fetch_array_arg_replace_nulls.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ucvector_push_back _ucvector_push_back: ## @ucvector_push_back .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 (%rdi), %esi incl %esi callq _ucvector_resize testl %eax, %eax je LBB0_1 ## %bb.2: movq 8(%rbx), %rax movslq (%rbx), %rcx movb %r14b, -1(%rcx,%rax) movl $1, %eax jmp LBB0_3 LBB0_1: xorl %eax, %eax LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ucvector_push_back .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ucvector_push_back _ucvector_push_back: ; @ucvector_push_back .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 ldr w8, [x0] add w1, w8, #1 bl _ucvector_resize cbz w0, LBB0_2 ; %bb.1: ldr x8, [x20, #8] ldrsw x9, [x20] add x8, x9, x8 sturb w19, [x8, #-1] mov w0, #1 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _ucvector_push_back .subsections_via_symbols
AnghaBench/Craft/deps/lodepng/extr_lodepng.c_ucvector_push_back.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function create_bbt _create_bbt: ## @create_bbt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movq %rdx, %r14 movq %rsi, -72(%rbp) ## 8-byte Spill movq %rdi, %r12 addq $4, %rdi movq %rdi, -56(%rbp) ## 8-byte Spill callq _nanddev_target_size movl %eax, %r13d movq %r12, %rdi callq _nand_to_mtd movq %rax, %rbx leaq L_.str(%rip), %rdi callq _pr_info cmpl $-1, %r15d movq %rbx, -64(%rbp) ## 8-byte Spill je LBB0_1 ## %bb.2: movslq %r15d, %rax movq %rax, -48(%rbp) ## 8-byte Spill movq -56(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _nanddev_ntargets cmpq -48(%rbp), %rax ## 8-byte Folded Reload jbe LBB0_3 ## %bb.4: movb (%r12), %cl sarl %cl, %r13d imull %r13d, %r15d addl %r15d, %r13d movl %r15d, %ebx shll %cl, %ebx jmp LBB0_5 LBB0_1: movq %rbx, %rax movl (%rbx), %r13d movb (%r12), %cl sarl %cl, %r13d xorl %r15d, %r15d xorl %ebx, %ebx LBB0_5: xorl %eax, %eax cmpl %r13d, %r15d jl LBB0_6 jmp LBB0_11 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_6 Depth=1 movzbl (%r12), %ecx movl $1, %eax shll %cl, %eax addl %eax, %ebx incl %r15d cmpl %r15d, %r13d je LBB0_10 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq _NAND_BBT_NO_OOB@GOTPCREL(%rip), %rax movl (%rax), %edi andl (%r14), %edi callq _BUG_ON movq %r12, %rdi movq %r14, %rsi movl %ebx, %edx movq -72(%rbp), %rcx ## 8-byte Reload callq _scan_block_fast testl %eax, %eax js LBB0_11 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 movq _BBT_BLOCK_FACTORY_BAD@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rdi movl %r15d, %esi callq _bbt_mark_entry movslq %ebx, %rdx leaq L_.str.2(%rip), %rdi movl %r15d, %esi callq _pr_warn movq -64(%rbp), %rax ## 8-byte Reload incl 4(%rax) jmp LBB0_9 LBB0_3: incl %r15d movq %rbx, %rdi callq _nanddev_ntargets leaq L_.str.1(%rip), %rdi movl %r15d, %esi movq %rax, %rdx callq _pr_warn movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_11 LBB0_10: xorl %eax, %eax LBB0_11: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Scanning device for bad blocks\n" L_.str.1: ## @.str.1 .asciz "create_bbt(): chipnr (%d) > available chips (%d)\n" .comm _EINVAL,4,2 ## @EINVAL .comm _NAND_BBT_NO_OOB,4,2 ## @NAND_BBT_NO_OOB .comm _BBT_BLOCK_FACTORY_BAD,4,2 ## @BBT_BLOCK_FACTORY_BAD L_.str.2: ## @.str.2 .asciz "Bad eraseblock %d at 0x%012llx\n" .no_dead_strip _create_bbt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function create_bbt _create_bbt: ; @create_bbt .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x23, x3 mov x19, x2 mov x20, x1 mov x21, x0 add x24, x0, #4 mov x0, x24 bl _nanddev_target_size mov x25, x0 mov x0, x21 bl _nand_to_mtd mov x22, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _pr_info cmn w23, #1 b.eq LBB0_3 ; %bb.1: mov x0, x24 bl _nanddev_ntargets cmp x0, w23, sxtw b.ls LBB0_10 ; %bb.2: ldr w8, [x21] asr w9, w25, w8 mul w23, w9, w23 add w26, w23, w9 lsl w24, w23, w8 cmp w23, w26 b.lt LBB0_4 b LBB0_9 LBB0_3: mov w23, #0 mov w24, #0 ldr w8, [x22] ldr w9, [x21] asr w26, w8, w9 cmp w23, w26 b.ge LBB0_9 LBB0_4: Lloh2: adrp x27, _NAND_BBT_NO_OOB@GOTPAGE Lloh3: ldr x27, [x27, _NAND_BBT_NO_OOB@GOTPAGEOFF] mov w28, #1 Lloh4: adrp x25, l_.str.2@PAGE Lloh5: add x25, x25, l_.str.2@PAGEOFF b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldr w8, [x21] lsl w8, w28, w8 add w24, w8, w24 add w23, w23, #1 cmp w26, w23 b.eq LBB0_9 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19] ldr w9, [x27] and w0, w9, w8 bl _BUG_ON mov x0, x21 mov x1, x19 mov x2, x24 mov x3, x20 bl _scan_block_fast tbnz w0, #31, LBB0_11 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 cbz w0, LBB0_5 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 Lloh6: adrp x8, _BBT_BLOCK_FACTORY_BAD@GOTPAGE Lloh7: ldr x8, [x8, _BBT_BLOCK_FACTORY_BAD@GOTPAGEOFF] Lloh8: ldr w2, [x8] mov x0, x21 mov x1, x23 bl _bbt_mark_entry sxtw x2, w24 mov x0, x25 mov x1, x23 bl _pr_warn ldr w8, [x22, #4] add w8, w8, #1 str w8, [x22, #4] b LBB0_5 LBB0_9: mov w0, #0 b LBB0_11 LBB0_10: add w19, w23, #1 mov x0, x24 bl _nanddev_ntargets mov x2, x0 Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF mov x1, x19 bl _pr_warn Lloh11: adrp x8, _EINVAL@GOTPAGE Lloh12: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh13: ldr w8, [x8] neg w0, w8 LBB0_11: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Scanning device for bad blocks\n" l_.str.1: ; @.str.1 .asciz "create_bbt(): chipnr (%d) > available chips (%d)\n" .comm _EINVAL,4,2 ; @EINVAL .comm _NAND_BBT_NO_OOB,4,2 ; @NAND_BBT_NO_OOB .comm _BBT_BLOCK_FACTORY_BAD,4,2 ; @BBT_BLOCK_FACTORY_BAD l_.str.2: ; @.str.2 .asciz "Bad eraseblock %d at 0x%012llx\n" .no_dead_strip _create_bbt .subsections_via_symbols
AnghaBench/linux/drivers/mtd/nand/raw/extr_nand_bbt.c_create_bbt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _irq_startup ## -- Begin function irq_startup .p2align 4, 0x90 _irq_startup: ## @irq_startup .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, %r13d movl %esi, %r14d movq %rdi, %r12 callq _irq_desc_get_irq_data movq %rax, %rbx movq %rax, %rdi callq _irq_data_get_affinity_mask movq %rax, %r15 movq $0, (%r12) movq %rbx, %rdi callq _irqd_is_started movq %r12, %rdi testq %rax, %rax je LBB0_2 ## %bb.1: callq _irq_enable xorl %r15d, %r15d LBB0_8: testl %r14d, %r14d je LBB0_10 ## %bb.9: movq %r12, %rdi callq _check_irq_resend LBB0_10: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: movq %r15, %rsi movl %r13d, %edx callq ___irq_startup_managed cmpl $130, %eax je LBB0_6 ## %bb.3: cmpl $129, %eax je LBB0_7 ## %bb.4: xorl %r15d, %r15d cmpl $128, %eax jne LBB0_8 ## %bb.5: movq %r12, %rdi callq ___irq_startup movl %eax, %r15d movq %r12, %rdi callq _irq_setup_affinity jmp LBB0_8 LBB0_6: movq %rbx, %rdi callq _irqd_set_managed_shutdown xorl %r15d, %r15d jmp LBB0_10 LBB0_7: movq %rbx, %rdi movq %r15, %rsi xorl %edx, %edx callq _irq_do_set_affinity movq %r12, %rdi callq ___irq_startup movl %eax, %r15d jmp LBB0_8 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _irq_startup ; -- Begin function irq_startup .p2align 2 _irq_startup: ; @irq_startup .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x23, x2 mov x20, x1 mov x19, x0 bl _irq_desc_get_irq_data mov x21, x0 bl _irq_data_get_affinity_mask mov x22, x0 str xzr, [x19] mov x0, x21 bl _irqd_is_started cbz x0, LBB0_6 ; %bb.1: mov x0, x19 bl _irq_enable LBB0_2: mov w21, #0 LBB0_3: cbz w20, LBB0_5 ; %bb.4: mov x0, x19 bl _check_irq_resend LBB0_5: mov x0, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_6: mov x0, x19 mov x1, x22 mov x2, x23 bl ___irq_startup_managed cmp w0, #130 b.eq LBB0_10 ; %bb.7: cmp w0, #129 b.eq LBB0_11 ; %bb.8: cmp w0, #128 b.ne LBB0_2 ; %bb.9: mov x0, x19 bl ___irq_startup mov x21, x0 mov x0, x19 bl _irq_setup_affinity b LBB0_3 LBB0_10: mov x0, x21 bl _irqd_set_managed_shutdown mov w21, #0 b LBB0_5 LBB0_11: mov x0, x21 mov x1, x22 mov w2, #0 bl _irq_do_set_affinity mov x0, x19 bl ___irq_startup mov x21, x0 b LBB0_3 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/kernel/irq/extr_chip.c_irq_startup.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/947681.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function coff_get_name _coff_get_name: ## @coff_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 pushq %rbx pushq %rax .cfi_offset %rbx, -24 cmpq $0, 8(%rdi) je LBB0_2 ## %bb.1: movl 16(%rdi), %esi leaq _coff_get_name.namebuff(%rip), %rbx movq %rbx, %rdi movl $8, %edx callq _memcpy movb $0, _coff_get_name.namebuff+8(%rip) jmp LBB0_3 LBB0_2: movq %rsi, %rbx movslq (%rdi), %rax addq %rax, %rbx LBB0_3: xorl %eax, %eax cmpb $95, (%rbx) sete %al addq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_coff_get_name.namebuff,9,0 ## @coff_get_name.namebuff .no_dead_strip _coff_get_name .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function coff_get_name _coff_get_name: ; @coff_get_name .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0, #8] cbz x8, LBB0_2 ; %bb.1: ldr w1, [x0, #16] Lloh0: adrp x19, _coff_get_name.namebuff@PAGE Lloh1: add x19, x19, _coff_get_name.namebuff@PAGEOFF mov x0, x19 mov w2, #8 bl _memcpy strb wzr, [x19, #8] b LBB0_3 LBB0_2: ldrsw x8, [x0] add x19, x1, x8 LBB0_3: mov x8, x19 ldrb w9, [x8], #1 cmp w9, #95 csel x0, x19, x8, ne 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 .zerofill __DATA,__bss,_coff_get_name.namebuff,9,0 ; @coff_get_name.namebuff .no_dead_strip _coff_get_name .subsections_via_symbols
AnghaBench/reactos/dll/win32/dbghelp/extr_coff.c_coff_get_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _platform_pwm_get_clock ## -- Begin function platform_pwm_get_clock .p2align 4, 0x90 _platform_pwm_get_clock: ## @platform_pwm_get_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 %rbx pushq %rax .cfi_offset %rbx, -24 movq _NUM_PWM@GOTPCREL(%rip), %rax cmpl %edi, (%rax) jbe LBB0_2 ## %bb.1: movl %edi, %ebx callq _pwm_exist testl %eax, %eax je LBB0_2 ## %bb.3: movl %ebx, %edi addq $8, %rsp popq %rbx popq %rbp jmp _pwm_get_freq ## TAILCALL LBB0_2: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _NUM_PWM,4,2 ## @NUM_PWM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _platform_pwm_get_clock ; -- Begin function platform_pwm_get_clock .p2align 2 _platform_pwm_get_clock: ; @platform_pwm_get_clock .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _NUM_PWM@GOTPAGE Lloh1: ldr x8, [x8, _NUM_PWM@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w0 b.ls LBB0_3 ; %bb.1: mov x19, x0 bl _pwm_exist cbz w0, LBB0_3 ; %bb.2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _pwm_get_freq LBB0_3: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _NUM_PWM,4,2 ; @NUM_PWM .subsections_via_symbols
AnghaBench/nodemcu-firmware/app/platform/extr_platform.c_platform_pwm_get_clock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pt_pkt_tnt_bit_size _pt_pkt_tnt_bit_size: ## @pt_pkt_tnt_bit_size .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 cmpl $2, %edi jb LBB0_3 ## %bb.1: movl %edi, %ecx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 sarl %ecx incq %rax cmpl $3, %edi movl %ecx, %edi ja LBB0_2 LBB0_3: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _pt_pkt_tnt_bit_size .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pt_pkt_tnt_bit_size _pt_pkt_tnt_bit_size: ; @pt_pkt_tnt_bit_size .cfi_startproc ; %bb.0: cmp w0, #2 b.hs LBB0_2 ; %bb.1: mov x0, #0 ret LBB0_2: mov x8, #0 LBB0_3: ; =>This Inner Loop Header: Depth=1 asr w9, w0, #1 add x8, x8, #1 cmp w0, #3 mov x0, x9 b.hi LBB0_3 ; %bb.4: mov x0, x8 ret .cfi_endproc ; -- End function .no_dead_strip _pt_pkt_tnt_bit_size .subsections_via_symbols
AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_packet.c_pt_pkt_tnt_bit_size.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _AcpiUtInitializeInterfaces ## -- Begin function AcpiUtInitializeInterfaces .p2align 4, 0x90 _AcpiUtInitializeInterfaces: ## @AcpiUtInitializeInterfaces .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 _AcpiGbl_OsiMutex@GOTPCREL(%rip), %r14 movl (%r14), %edi movq _ACPI_WAIT_FOREVER@GOTPCREL(%rip), %rax movl (%rax), %esi callq _AcpiOsAcquireMutex movl %eax, %ebx movl %eax, %edi callq _ACPI_FAILURE testq %rax, %rax jne LBB0_5 ## %bb.1: movq _AcpiDefaultSupportedInterfaces@GOTPCREL(%rip), %r15 movq (%r15), %rdi movq _AcpiGbl_SupportedInterfaces@GOTPCREL(%rip), %rax movq %rdi, (%rax) callq _ACPI_ARRAY_LENGTH cmpl $2, %eax jl LBB0_4 ## %bb.2: movl $8, %r12d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rax leaq (%rax,%r12), %rcx movq %rcx, (%rax,%rbx,8) incq %rbx movq (%r15), %rdi callq _ACPI_ARRAY_LENGTH decl %eax cltq addq $8, %r12 cmpq %rax, %rbx jl LBB0_3 LBB0_4: movl (%r14), %edi callq _AcpiOsReleaseMutex movq _AE_OK@GOTPCREL(%rip), %rax movl (%rax), %ebx LBB0_5: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AcpiGbl_OsiMutex,4,2 ## @AcpiGbl_OsiMutex .comm _ACPI_WAIT_FOREVER,4,2 ## @ACPI_WAIT_FOREVER .comm _AcpiDefaultSupportedInterfaces,8,3 ## @AcpiDefaultSupportedInterfaces .comm _AcpiGbl_SupportedInterfaces,8,3 ## @AcpiGbl_SupportedInterfaces .comm _AE_OK,4,2 ## @AE_OK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _AcpiUtInitializeInterfaces ; -- Begin function AcpiUtInitializeInterfaces .p2align 2 _AcpiUtInitializeInterfaces: ; @AcpiUtInitializeInterfaces .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x20, _AcpiGbl_OsiMutex@GOTPAGE Lloh1: ldr x20, [x20, _AcpiGbl_OsiMutex@GOTPAGEOFF] ldr w0, [x20] Lloh2: adrp x8, _ACPI_WAIT_FOREVER@GOTPAGE Lloh3: ldr x8, [x8, _ACPI_WAIT_FOREVER@GOTPAGEOFF] Lloh4: ldr w1, [x8] bl _AcpiOsAcquireMutex mov x19, x0 bl _ACPI_FAILURE cbnz x0, LBB0_5 ; %bb.1: Lloh5: adrp x19, _AcpiDefaultSupportedInterfaces@GOTPAGE Lloh6: ldr x19, [x19, _AcpiDefaultSupportedInterfaces@GOTPAGEOFF] ldr x0, [x19] Lloh7: adrp x8, _AcpiGbl_SupportedInterfaces@GOTPAGE Lloh8: ldr x8, [x8, _AcpiGbl_SupportedInterfaces@GOTPAGEOFF] Lloh9: str x0, [x8] bl _ACPI_ARRAY_LENGTH cmp w0, #2 b.lt LBB0_4 ; %bb.2: mov x8, #0 mov w21, #8 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x9, [x19] add x22, x8, #1 add x10, x9, x21 str x10, [x9, x8, lsl #3] ldr x0, [x19] bl _ACPI_ARRAY_LENGTH sub w8, w0, #1 add x21, x21, #8 cmp x22, w8, sxtw mov x8, x22 b.lt LBB0_3 LBB0_4: ldr w0, [x20] bl _AcpiOsReleaseMutex Lloh10: adrp x8, _AE_OK@GOTPAGE Lloh11: ldr x8, [x8, _AE_OK@GOTPAGEOFF] Lloh12: ldr w19, [x8] 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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotStr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _AcpiGbl_OsiMutex,4,2 ; @AcpiGbl_OsiMutex .comm _ACPI_WAIT_FOREVER,4,2 ; @ACPI_WAIT_FOREVER .comm _AcpiDefaultSupportedInterfaces,8,3 ; @AcpiDefaultSupportedInterfaces .comm _AcpiGbl_SupportedInterfaces,8,3 ; @AcpiGbl_SupportedInterfaces .comm _AE_OK,4,2 ; @AE_OK .subsections_via_symbols
AnghaBench/reactos/drivers/bus/acpi/acpica/utilities/extr_utosi.c_AcpiUtInitializeInterfaces.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Date_setUTCDate _Date_setUTCDate: ## @Date_setUTCDate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -56(%rbp) ## 8-byte Spill movq %r8, %r12 movl %ecx, %r14d movq %rsi, %rbx movq %rdi, %r13 leaq L_.str(%rip), %rdi callq _TRACE movq %rbx, %rdi callq _date_this testq %rax, %rax je LBB0_1 ## %bb.3: testl %r14d, %r14d je LBB0_4 ## %bb.5: movq %rax, %r15 movl (%r12), %esi leaq -64(%rbp), %rdx movq %r13, %rdi callq _to_number movl %eax, %ebx movl %eax, %edi callq _FAILED testq %rax, %rax jne LBB0_9 ## %bb.6: movsd (%r15), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) ## 8-byte Spill callq _year_from_time movl %eax, %ebx movsd -48(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero callq _month_from_time movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero movl %ebx, %edi movl %eax, %esi callq _make_day movl %eax, %ebx movsd -48(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero callq _time_within_day movl %ebx, %edi movl %eax, %esi callq _make_date callq _time_clip movsd %xmm0, (%r15) movq -56(%rbp), %rbx ## 8-byte Reload testq %rbx, %rbx je LBB0_8 ## %bb.7: callq _jsval_number movl %eax, (%rbx) LBB0_8: movq _S_OK@GOTPCREL(%rip), %rax movl (%rax), %ebx LBB0_9: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: movq _JS_E_DATE_EXPECTED@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_4: movq _JS_E_MISSING_ARG@GOTPCREL(%rip), %rax LBB0_2: movl (%rax), %esi movq %r13, %rdi xorl %edx, %edx addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _throw_type_error ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n" .comm _JS_E_DATE_EXPECTED,4,2 ## @JS_E_DATE_EXPECTED .comm _JS_E_MISSING_ARG,4,2 ## @JS_E_MISSING_ARG .comm _S_OK,4,2 ## @S_OK .no_dead_strip _Date_setUTCDate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Date_setUTCDate _Date_setUTCDate: ; @Date_setUTCDate .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp d9, d8, [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 b8, -72 .cfi_offset b9, -80 mov x19, x5 mov x22, x4 mov x23, x3 mov x20, x1 mov x21, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _TRACE mov x0, x20 bl _date_this cbz x0, LBB0_7 ; %bb.1: cbz w23, LBB0_8 ; %bb.2: mov x20, x0 ldr w1, [x22] add x2, sp, #8 mov x0, x21 bl _to_number mov x21, x0 bl _FAILED cbnz x0, LBB0_6 ; %bb.3: ldr d8, [x20] fmov d0, d8 bl _year_from_time mov x21, x0 fmov d0, d8 bl _month_from_time mov x1, x0 ldr d0, [sp, #8] mov x0, x21 bl _make_day mov x21, x0 fmov d0, d8 bl _time_within_day mov x1, x0 mov x0, x21 bl _make_date bl _time_clip str d0, [x20] cbz x19, LBB0_5 ; %bb.4: bl _jsval_number str w0, [x19] LBB0_5: Lloh2: adrp x8, _S_OK@GOTPAGE Lloh3: ldr x8, [x8, _S_OK@GOTPAGEOFF] Lloh4: ldr w21, [x8] LBB0_6: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp d9, d8, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_7: Lloh5: adrp x8, _JS_E_DATE_EXPECTED@GOTPAGE Lloh6: ldr x8, [x8, _JS_E_DATE_EXPECTED@GOTPAGEOFF] b LBB0_9 LBB0_8: Lloh7: adrp x8, _JS_E_MISSING_ARG@GOTPAGE Lloh8: ldr x8, [x8, _JS_E_MISSING_ARG@GOTPAGEOFF] LBB0_9: ldr w1, [x8] mov x0, x21 mov x2, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp d9, d8, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 b _throw_type_error .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n" .comm _JS_E_DATE_EXPECTED,4,2 ; @JS_E_DATE_EXPECTED .comm _JS_E_MISSING_ARG,4,2 ; @JS_E_MISSING_ARG .comm _S_OK,4,2 ; @S_OK .no_dead_strip _Date_setUTCDate .subsections_via_symbols
AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setUTCDate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sca3000_rb_allocate _sca3000_rb_allocate: ## @sca3000_rb_allocate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $24, %edi callq _kzalloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movq %r14, 16(%rax) movq %rax, %rdi movq %r14, %rsi callq _iio_ring_buffer_init movq _sca3000_ring_type@GOTPCREL(%rip), %rax movq %rax, 8(%rbx) movq %rbx, %rdi callq _device_initialize movq %r14, (%rbx) movq %rbx, %rdi movq %rbx, %rsi callq _dev_set_drvdata jmp LBB0_3 LBB0_1: xorl %ebx, %ebx LBB0_3: movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _sca3000_ring_type,4,2 ## @sca3000_ring_type .no_dead_strip _sca3000_rb_allocate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sca3000_rb_allocate _sca3000_rb_allocate: ; @sca3000_rb_allocate .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #24 bl _kzalloc mov x19, x0 cbz x0, LBB0_2 ; %bb.1: str x20, [x19, #16] mov x0, x19 mov x1, x20 bl _iio_ring_buffer_init Lloh3: adrp x8, _sca3000_ring_type@GOTPAGE Lloh4: ldr x8, [x8, _sca3000_ring_type@GOTPAGEOFF] str x8, [x19, #8] mov x0, x19 bl _device_initialize str x20, [x19] mov x0, x19 mov x1, x19 bl _dev_set_drvdata LBB0_2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _sca3000_ring_type,4,2 ; @sca3000_ring_type .no_dead_strip _sca3000_rb_allocate .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/iio/accel/extr_sca3000_ring.c_sca3000_rb_allocate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mxs_dcp_remove _mxs_dcp_remove: ## @mxs_dcp_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 callq _platform_get_drvdata movq %rax, %rbx movl (%rax), %eax movq _MXS_DCP_CAPABILITY1_SHA256@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_2 ## %bb.1: movq _dcp_sha256_alg@GOTPCREL(%rip), %rdi callq _crypto_unregister_ahash movl (%rbx), %eax LBB0_2: movq _MXS_DCP_CAPABILITY1_SHA1@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_4 ## %bb.3: movq _dcp_sha1_alg@GOTPCREL(%rip), %rdi callq _crypto_unregister_ahash movl (%rbx), %eax LBB0_4: movq _MXS_DCP_CAPABILITY1_AES128@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_6 ## %bb.5: movq _dcp_aes_algs@GOTPCREL(%rip), %rax movl (%rax), %r15d movl %r15d, %edi callq _ARRAY_SIZE movl %r15d, %edi movl %eax, %esi callq _crypto_unregister_algs LBB0_6: movq 8(%rbx), %rax movq _DCP_CHAN_HASH_SHA@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl (%rax,%rcx,4), %edi callq _kthread_stop movq 8(%rbx), %rax movq _DCP_CHAN_CRYPTO@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl (%rax,%rcx,4), %edi callq _kthread_stop movl 4(%rbx), %edi callq _clk_disable_unprepare movq %r14, %rdi xorl %esi, %esi callq _platform_set_drvdata movq _global_sdcp@GOTPCREL(%rip), %rax movq $0, (%rax) xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MXS_DCP_CAPABILITY1_SHA256,4,2 ## @MXS_DCP_CAPABILITY1_SHA256 .comm _dcp_sha256_alg,4,2 ## @dcp_sha256_alg .comm _MXS_DCP_CAPABILITY1_SHA1,4,2 ## @MXS_DCP_CAPABILITY1_SHA1 .comm _dcp_sha1_alg,4,2 ## @dcp_sha1_alg .comm _MXS_DCP_CAPABILITY1_AES128,4,2 ## @MXS_DCP_CAPABILITY1_AES128 .comm _dcp_aes_algs,4,2 ## @dcp_aes_algs .comm _DCP_CHAN_HASH_SHA,8,3 ## @DCP_CHAN_HASH_SHA .comm _DCP_CHAN_CRYPTO,8,3 ## @DCP_CHAN_CRYPTO .comm _global_sdcp,8,3 ## @global_sdcp .no_dead_strip _mxs_dcp_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mxs_dcp_remove _mxs_dcp_remove: ; @mxs_dcp_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 mov x20, x0 ldr w8, [x0] Lloh0: adrp x9, _MXS_DCP_CAPABILITY1_SHA256@GOTPAGE Lloh1: ldr x9, [x9, _MXS_DCP_CAPABILITY1_SHA256@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_2 ; %bb.1: Lloh3: adrp x0, _dcp_sha256_alg@GOTPAGE Lloh4: ldr x0, [x0, _dcp_sha256_alg@GOTPAGEOFF] bl _crypto_unregister_ahash ldr w8, [x20] LBB0_2: Lloh5: adrp x9, _MXS_DCP_CAPABILITY1_SHA1@GOTPAGE Lloh6: ldr x9, [x9, _MXS_DCP_CAPABILITY1_SHA1@GOTPAGEOFF] Lloh7: ldr w9, [x9] tst w9, w8 b.eq LBB0_4 ; %bb.3: Lloh8: adrp x0, _dcp_sha1_alg@GOTPAGE Lloh9: ldr x0, [x0, _dcp_sha1_alg@GOTPAGEOFF] bl _crypto_unregister_ahash ldr w8, [x20] LBB0_4: Lloh10: adrp x9, _MXS_DCP_CAPABILITY1_AES128@GOTPAGE Lloh11: ldr x9, [x9, _MXS_DCP_CAPABILITY1_AES128@GOTPAGEOFF] Lloh12: ldr w9, [x9] tst w9, w8 b.eq LBB0_6 ; %bb.5: Lloh13: adrp x8, _dcp_aes_algs@GOTPAGE Lloh14: ldr x8, [x8, _dcp_aes_algs@GOTPAGEOFF] Lloh15: ldr w21, [x8] mov x0, x21 bl _ARRAY_SIZE mov x1, x0 mov x0, x21 bl _crypto_unregister_algs LBB0_6: ldr x8, [x20, #8] Lloh16: adrp x9, _DCP_CHAN_HASH_SHA@GOTPAGE Lloh17: ldr x9, [x9, _DCP_CHAN_HASH_SHA@GOTPAGEOFF] Lloh18: ldr x9, [x9] ldr w0, [x8, x9, lsl #2] bl _kthread_stop ldr x8, [x20, #8] Lloh19: adrp x9, _DCP_CHAN_CRYPTO@GOTPAGE Lloh20: ldr x9, [x9, _DCP_CHAN_CRYPTO@GOTPAGEOFF] Lloh21: ldr x9, [x9] ldr w0, [x8, x9, lsl #2] bl _kthread_stop ldr w0, [x20, #4] bl _clk_disable_unprepare mov x0, x19 mov x1, #0 bl _platform_set_drvdata Lloh22: adrp x8, _global_sdcp@GOTPAGE Lloh23: ldr x8, [x8, _global_sdcp@GOTPAGEOFF] Lloh24: str xzr, [x8] mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotStr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _MXS_DCP_CAPABILITY1_SHA256,4,2 ; @MXS_DCP_CAPABILITY1_SHA256 .comm _dcp_sha256_alg,4,2 ; @dcp_sha256_alg .comm _MXS_DCP_CAPABILITY1_SHA1,4,2 ; @MXS_DCP_CAPABILITY1_SHA1 .comm _dcp_sha1_alg,4,2 ; @dcp_sha1_alg .comm _MXS_DCP_CAPABILITY1_AES128,4,2 ; @MXS_DCP_CAPABILITY1_AES128 .comm _dcp_aes_algs,4,2 ; @dcp_aes_algs .comm _DCP_CHAN_HASH_SHA,8,3 ; @DCP_CHAN_HASH_SHA .comm _DCP_CHAN_CRYPTO,8,3 ; @DCP_CHAN_CRYPTO .comm _global_sdcp,8,3 ; @global_sdcp .no_dead_strip _mxs_dcp_remove .subsections_via_symbols
AnghaBench/linux/drivers/crypto/extr_mxs-dcp.c_mxs_dcp_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wlc_phy_switch_radio ## -- Begin function wlc_phy_switch_radio .p2align 4, 0x90 _wlc_phy_switch_radio: ## @wlc_phy_switch_radio .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, %r15 movl (%rdi), %ebx movq _maccontrol@GOTPCREL(%rip), %rax movl (%rax), %edi callq _D11REGOFFS movl %ebx, %edi movl %eax, %esi callq _bcma_read32 movq %r15, %rdi callq _ISNPHY testq %rax, %rax je LBB0_1 ## %bb.5: movq %r15, %rdi movl %r14d, %esi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _wlc_phy_switch_radio_nphy ## TAILCALL LBB0_1: movq %r15, %rdi callq _ISLCNPHY testq %rax, %rax je LBB0_4 ## %bb.2: movq %r15, %rdi testl %r14d, %r14d je LBB0_3 ## %bb.6: movl $1100, %esi ## imm = 0x44C movl $-7937, %edx ## imm = 0xE0FF callq _and_phy_reg movq %r15, %rdi movl $1200, %esi ## imm = 0x4B0 movl $-2057, %edx ## imm = 0xF7F7 callq _and_phy_reg movq %r15, %rdi movl $1273, %esi ## imm = 0x4F9 movl $-9, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _and_phy_reg ## TAILCALL LBB0_4: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_3: movl $1101, %esi ## imm = 0x44D movl $-31745, %edx ## imm = 0x83FF callq _and_phy_reg movq %r15, %rdi movl $1100, %esi ## imm = 0x44C movl $7936, %edx ## imm = 0x1F00 callq _or_phy_reg movq %r15, %rdi movl $1207, %esi ## imm = 0x4B7 movl $-32513, %edx ## imm = 0x80FF callq _and_phy_reg movq %r15, %rdi movl $1201, %esi ## imm = 0x4B1 movl $-8193, %edx ## imm = 0xDFFF callq _and_phy_reg movq %r15, %rdi movl $1200, %esi ## imm = 0x4B0 movl $2056, %edx ## imm = 0x808 callq _or_phy_reg movq %r15, %rdi movl $1274, %esi ## imm = 0x4FA movl $-9, %edx callq _and_phy_reg movq %r15, %rdi movl $1273, %esi ## imm = 0x4F9 movl $8, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _or_phy_reg ## TAILCALL .cfi_endproc ## -- End function .comm _maccontrol,4,2 ## @maccontrol .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wlc_phy_switch_radio ; -- Begin function wlc_phy_switch_radio .p2align 2 _wlc_phy_switch_radio: ; @wlc_phy_switch_radio .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 ldr w21, [x0] Lloh0: adrp x8, _maccontrol@GOTPAGE Lloh1: ldr x8, [x8, _maccontrol@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _D11REGOFFS mov x1, x0 mov x0, x21 bl _bcma_read32 mov x0, x19 bl _ISNPHY cbz x0, LBB0_2 ; %bb.1: 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 b _wlc_phy_switch_radio_nphy LBB0_2: mov x0, x19 bl _ISLCNPHY cbz x0, LBB0_5 ; %bb.3: mov x0, x19 cbz w20, LBB0_6 ; %bb.4: mov w1, #1100 mov w2, #-7937 bl _and_phy_reg mov x0, x19 mov w1, #1200 mov w2, #-2057 bl _and_phy_reg mov x0, x19 mov w1, #1273 mov w2, #-9 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 _and_phy_reg LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_6: mov w1, #1101 mov w2, #-31745 bl _and_phy_reg mov x0, x19 mov w1, #1100 mov w2, #7936 bl _or_phy_reg mov x0, x19 mov w1, #1207 mov w2, #-32513 bl _and_phy_reg mov x0, x19 mov w1, #1201 mov w2, #-8193 bl _and_phy_reg mov x0, x19 mov w1, #1200 mov w2, #2056 bl _or_phy_reg mov x0, x19 mov w1, #1274 mov w2, #-9 bl _and_phy_reg mov x0, x19 mov w1, #1273 mov w2, #8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _or_phy_reg .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _maccontrol,4,2 ; @maccontrol .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_switch_radio.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fetch_broadcast_info _fetch_broadcast_info: ## @fetch_broadcast_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, -52(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _broadcast_count@GOTPCREL(%rip), %rax movl $0, (%rax) movq _AF_INET@GOTPCREL(%rip), %r13 movq (%r13), %rdi movq _SOCK_STREAM@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx callq _socket testl %eax, %eax js LBB0_11 ## %bb.1: movl %eax, %r15d movq %rsp, -64(%rbp) ## 8-byte Spill movq _MAX_INTERFACES@GOTPCREL(%rip), %r12 movl (%r12), %r14d movq %r14, %rax shlq $3, %rax leaq (%rax,%rax,2), %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rbx movl (%r12), %eax shll $3, %eax leal (%rax,%rax,2), %edx movq %rbx, %rdi xorl %esi, %esi callq _memset movq %rbx, -88(%rbp) leal (,%r14,8), %eax leal (%rax,%rax,2), %eax movl %eax, -80(%rbp) movq _SIOCGIFCONF@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -88(%rbp), %rdx movl %r15d, %edi callq _ioctl testq %rax, %rax js LBB0_10 ## %bb.2: movslq -80(%rbp), %rax movabsq $-6148914691236517205, %rcx ## imm = 0xAAAAAAAAAAAAAAAB mulq %rcx shrq $4, %rdx testl %edx, %edx jle LBB0_10 ## %bb.3: movl %edx, %r14d movq _SIOCGIFBRDADDR@GOTPCREL(%rip), %r12 jmp LBB0_4 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_4 Depth=1 addq $24, %rbx decq %r14 je LBB0_10 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl (%r12), %esi movl %r15d, %edi movq %rbx, %rdx callq _ioctl testq %rax, %rax js LBB0_9 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq 16(%rbx), %rax cmpq (%r13), %rax jne LBB0_9 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movq _broadcast_count@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx movq _MAX_INTERFACES@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jge LBB0_10 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 movq _broadcast_ip_port@GOTPCREL(%rip), %rdx movq (%rdx), %rdx shlq $5, %rcx movq %rax, 24(%rdx,%rcx) movl %eax, 16(%rdx,%rcx) cmpq $0, 8(%rdx,%rcx) je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 movl -52(%rbp), %eax ## 4-byte Reload movl %eax, (%rdx,%rcx) movq _broadcast_count@GOTPCREL(%rip), %rax incl (%rax) jmp LBB0_9 LBB0_10: movl %r15d, %edi callq _close movq -64(%rbp), %rsp ## 8-byte Reload LBB0_11: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_13 ## %bb.12: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_13: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _broadcast_count,4,2 ## @broadcast_count .comm _AF_INET,8,3 ## @AF_INET .comm _SOCK_STREAM,4,2 ## @SOCK_STREAM .comm _MAX_INTERFACES,4,2 ## @MAX_INTERFACES .comm _SIOCGIFCONF,4,2 ## @SIOCGIFCONF .comm _SIOCGIFBRDADDR,4,2 ## @SIOCGIFBRDADDR .comm _broadcast_ip_port,8,3 ## @broadcast_ip_port .no_dead_strip _fetch_broadcast_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fetch_broadcast_info _fetch_broadcast_info: ; @fetch_broadcast_info .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #32 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x22, _broadcast_count@GOTPAGE Lloh4: ldr x22, [x22, _broadcast_count@GOTPAGEOFF] str wzr, [x22] Lloh5: adrp x23, _AF_INET@GOTPAGE Lloh6: ldr x23, [x23, _AF_INET@GOTPAGEOFF] ldr x0, [x23] Lloh7: adrp x8, _SOCK_STREAM@GOTPAGE Lloh8: ldr x8, [x8, _SOCK_STREAM@GOTPAGEOFF] Lloh9: ldr w1, [x8] mov w2, #0 bl _socket tbnz w0, #31, LBB0_11 ; %bb.1: mov x20, x0 mov x24, sp Lloh10: adrp x25, _MAX_INTERFACES@GOTPAGE Lloh11: ldr x25, [x25, _MAX_INTERFACES@GOTPAGEOFF] ldr w26, [x25] add x8, x26, x26, lsl #1 lsl x8, x8, #3 mov x9, x8 Lloh12: adrp x16, ___chkstk_darwin@GOTPAGE Lloh13: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x3ffffffff0 sub x21, x9, x8 mov sp, x21 ldr w8, [x25] add w8, w8, w8, lsl #1 lsl w2, w8, #3 mov x0, x21 mov w1, #0 bl _memset stur x21, [x29, #-112] add w8, w26, w26, lsl #1 lsl w8, w8, #3 stur w8, [x29, #-104] Lloh14: adrp x8, _SIOCGIFCONF@GOTPAGE Lloh15: ldr x8, [x8, _SIOCGIFCONF@GOTPAGEOFF] Lloh16: ldr w1, [x8] sub x2, x29, #112 mov x0, x20 bl _ioctl tbnz x0, #63, LBB0_10 ; %bb.2: ldursw x8, [x29, #-104] mov x9, #-6148914691236517206 movk x9, #43691 umulh x8, x8, x9 lsr x8, x8, #4 cmp w8, #1 b.lt LBB0_10 ; %bb.3: and x26, x8, #0xffffffff Lloh17: adrp x27, _SIOCGIFBRDADDR@GOTPAGE Lloh18: ldr x27, [x27, _SIOCGIFBRDADDR@GOTPAGEOFF] Lloh19: adrp x28, _broadcast_ip_port@GOTPAGE Lloh20: ldr x28, [x28, _broadcast_ip_port@GOTPAGEOFF] b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x21, x21, #24 subs x26, x26, #1 b.eq LBB0_10 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w1, [x27] mov x0, x20 mov x2, x21 bl _ioctl tbnz x0, #63, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x21, #16] ldr x9, [x23] cmp x8, x9 b.ne LBB0_4 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldrsw x9, [x22] ldr w10, [x25] cmp w9, w10 b.ge LBB0_10 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 ldr x10, [x28] add x11, x10, x9, lsl #5 str x8, [x11, #24] str w8, [x11, #16] ldr x8, [x11, #8] cbz x8, LBB0_4 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 lsl x8, x9, #5 str w19, [x10, x8] ldr w8, [x22] add w8, w8, #1 str w8, [x22] b LBB0_4 LBB0_10: mov x0, x20 bl _close mov sp, x24 LBB0_11: ldur x8, [x29, #-88] Lloh21: adrp x9, ___stack_chk_guard@GOTPAGE Lloh22: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh23: ldr x9, [x9] cmp x9, x8 b.ne LBB0_13 ; %bb.12: 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_13: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _broadcast_count,4,2 ; @broadcast_count .comm _AF_INET,8,3 ; @AF_INET .comm _SOCK_STREAM,4,2 ; @SOCK_STREAM .comm _MAX_INTERFACES,4,2 ; @MAX_INTERFACES .comm _SIOCGIFCONF,4,2 ; @SIOCGIFCONF .comm _SIOCGIFBRDADDR,4,2 ; @SIOCGIFBRDADDR .comm _broadcast_ip_port,8,3 ; @broadcast_ip_port .no_dead_strip _fetch_broadcast_info .subsections_via_symbols
AnghaBench/toxcore/toxcore/extr_LAN_discovery.c_fetch_broadcast_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nv30_fb_init ## -- Begin function nv30_fb_init .p2align 4, 0x90 _nv30_fb_init: ## @nv30_fb_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 callq _nv_device movq %rax, %rbx movq %r12, %rdi callq _nouveau_fb_init movl %eax, -44(%rbp) ## 4-byte Spill testl %eax, %eax jne LBB0_6 ## %bb.1: movl (%rbx), %eax cmpq $53, %rax ja LBB0_2 ## %bb.3: movl $0, -44(%rbp) ## 4-byte Folded Spill movabsq $9851624184872960, %rcx ## imm = 0x23000000000000 btq %rax, %rcx jae LBB0_6 ## %bb.4: xorl %ecx, %ecx cmpl $49, %eax setne %cl leal (%rcx,%rcx), %ebx addl $2, %ebx movq %r12, %rdi movl $1049552, %esi ## imm = 0x1003D0 callq _nv_rd32 movl %eax, -48(%rbp) ## 4-byte Spill movl $1049520, %r13d ## imm = 0x1003B0 movl $1049476, %r14d ## imm = 0x100384 movl -48(%rbp), %r15d ## 4-byte Reload .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl %ebx, -52(%rbp) ## 4-byte Spill leal -8(%r14), %ebx movl $0, -44(%rbp) ## 4-byte Folded Spill movq %r12, %rdi movl %r15d, %esi xorl %edx, %edx xorl %ecx, %ecx callq _calc_ref movq %r12, %rdi movl %ebx, %esi movl %eax, %edx callq _nv_wr32 leal -4(%r14), %ebx movq %r12, %rdi movl %r15d, %esi xorl %edx, %edx movl $1, %ecx callq _calc_ref movq %r12, %rdi movl %ebx, %esi movl %eax, %edx callq _nv_wr32 movq %r12, %rdi movl %r15d, %esi xorl %edx, %edx movl $2, %ecx callq _calc_ref movq %r12, %rdi movl %r14d, %esi movl %eax, %edx callq _nv_wr32 leal -4(%r13), %ebx movq %r12, %rdi movl %r15d, %esi movl $1, %edx xorl %ecx, %ecx callq _calc_ref movq %r12, %rdi movl %ebx, %esi movl -52(%rbp), %ebx ## 4-byte Reload movl %eax, %edx callq _nv_wr32 movq %r12, %rdi movl %r15d, %esi movl $1, %edx movl $1, %ecx callq _calc_ref movq %r12, %rdi movl %r13d, %esi movl %eax, %edx callq _nv_wr32 addl $8, %r13d addl $12, %r14d decl %ebx jne LBB0_5 LBB0_6: movl -44(%rbp), %eax ## 4-byte Reload addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: movl $0, -44(%rbp) ## 4-byte Folded Spill jmp LBB0_6 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nv30_fb_init ; -- Begin function nv30_fb_init .p2align 2 _nv30_fb_init: ; @nv30_fb_init .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 bl _nv_device mov x20, x0 mov x0, x19 bl _nouveau_fb_init cbnz w0, LBB0_5 ; %bb.1: ldr w8, [x20] cmp w8, #53 mov w9, #1 lsl x9, x9, x8 mov x10, #9851624184872960 and x9, x9, x10 ccmp x9, #0, #4, ls b.eq LBB0_4 ; %bb.2: mov w20, #900 movk w20, #16, lsl #16 mov w9, #4 mov w10, #2 cmp w8, #49 csel w24, w10, w9, eq add w1, w20, #76 mov x0, x19 bl _nv_rd32 mov x21, x0 add w22, w20, #44 LBB0_3: ; =>This Inner Loop Header: Depth=1 sub w23, w20, #8 mov x0, x19 mov x1, x21 mov w2, #0 mov w3, #0 bl _calc_ref mov x2, x0 mov x0, x19 mov x1, x23 bl _nv_wr32 sub w23, w20, #4 mov x0, x19 mov x1, x21 mov w2, #0 mov w3, #1 bl _calc_ref mov x2, x0 mov x0, x19 mov x1, x23 bl _nv_wr32 mov x0, x19 mov x1, x21 mov w2, #0 mov w3, #2 bl _calc_ref mov x2, x0 mov x0, x19 mov x1, x20 bl _nv_wr32 sub w23, w22, #4 mov x0, x19 mov x1, x21 mov w2, #1 mov w3, #0 bl _calc_ref mov x2, x0 mov x0, x19 mov x1, x23 bl _nv_wr32 mov x0, x19 mov x1, x21 mov w2, #1 mov w3, #1 bl _calc_ref mov x2, x0 mov x0, x19 mov x1, x22 bl _nv_wr32 add w22, w22, #8 add w20, w20, #12 subs w24, w24, #1 b.ne LBB0_3 LBB0_4: mov w0, #0 LBB0_5: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/fb/extr_nv30.c_nv30_fb_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ata_sff_prereset ## -- Begin function ata_sff_prereset .p2align 4, 0x90 _ata_sff_prereset: ## @ata_sff_prereset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 callq _ata_std_prereset movl %eax, %ebx testl %eax, %eax jne LBB0_6 ## %bb.1: movq _ATA_EH_HARDRESET@GOTPCREL(%rip), %r12 movl (%r12), %eax testl %eax, (%r14) jne LBB0_6 ## %bb.2: movq %r14, %rdi callq _ata_link_offline testl %eax, %eax je LBB0_3 LBB0_6: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq %r14, %rdi movq %r15, %rsi callq _ata_sff_wait_ready testl %eax, %eax je LBB0_6 ## %bb.4: movq _ENODEV@GOTPCREL(%rip), %rcx movl (%rcx), %ecx addl %eax, %ecx je LBB0_6 ## %bb.5: leaq L_.str(%rip), %rsi movq %r14, %rdi movl %eax, %edx callq _ata_link_warn movl (%r12), %eax orl %eax, (%r14) jmp LBB0_6 .cfi_endproc ## -- End function .comm _ATA_EH_HARDRESET,4,2 ## @ATA_EH_HARDRESET .comm _ENODEV,4,2 ## @ENODEV .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "device not ready (errno=%d), forcing hardreset\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ata_sff_prereset ; -- Begin function ata_sff_prereset .p2align 2 _ata_sff_prereset: ; @ata_sff_prereset .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 bl _ata_std_prereset mov x20, x0 cbnz w0, LBB0_3 ; %bb.1: ldr w8, [x19] Lloh0: adrp x22, _ATA_EH_HARDRESET@GOTPAGE Lloh1: ldr x22, [x22, _ATA_EH_HARDRESET@GOTPAGEOFF] ldr w9, [x22] tst w9, w8 b.ne LBB0_3 ; %bb.2: mov x0, x19 bl _ata_link_offline cbz w0, LBB0_4 LBB0_3: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_4: mov x0, x19 mov x1, x21 bl _ata_sff_wait_ready cbz w0, LBB0_3 ; %bb.5: mov x2, x0 Lloh2: adrp x8, _ENODEV@GOTPAGE Lloh3: ldr x8, [x8, _ENODEV@GOTPAGEOFF] Lloh4: ldr w8, [x8] cmn w0, w8 b.eq LBB0_3 ; %bb.6: Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _ata_link_warn ldr w8, [x22] ldr w9, [x19] orr w8, w9, w8 str w8, [x19] b LBB0_3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _ATA_EH_HARDRESET,4,2 ; @ATA_EH_HARDRESET .comm _ENODEV,4,2 ; @ENODEV .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "device not ready (errno=%d), forcing hardreset\n" .subsections_via_symbols
AnghaBench/linux/drivers/ata/extr_libata-sff.c_ata_sff_prereset.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PQdb ## -- Begin function PQdb .p2align 4, 0x90 _PQdb: ## @PQdb .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax popq %rbp retq LBB0_1: xorl %eax, %eax retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PQdb ; -- Begin function PQdb .p2align 2 _PQdb: ; @PQdb .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: ldr x0, [x0] LBB0_2: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/postgres/src/interfaces/libpq/extr_fe-connect.c_PQdb.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/126703287.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function io_net_close _io_net_close: ## @io_net_close .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 testq %rbx, %rbx je LBB0_1 ## %bb.2: movq %rdi, %r14 movq 16(%rbx), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.3: callq _vc_container_net_close LBB0_4: movq %rbx, %rdi callq _free movq $0, (%r14) movq _VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_1: movq _VC_CONTAINER_ERROR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _VC_CONTAINER_ERROR_INVALID_ARGUMENT,4,2 ## @VC_CONTAINER_ERROR_INVALID_ARGUMENT .comm _VC_CONTAINER_SUCCESS,4,2 ## @VC_CONTAINER_SUCCESS .no_dead_strip _io_net_close .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function io_net_close _io_net_close: ; @io_net_close .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 x20, [x0] cbz x20, LBB0_4 ; %bb.1: mov x19, x0 ldr x0, [x20, #16] cbz x0, LBB0_3 ; %bb.2: bl _vc_container_net_close LBB0_3: mov x0, x20 bl _free str xzr, [x19] Lloh0: adrp x8, _VC_CONTAINER_SUCCESS@GOTPAGE Lloh1: ldr x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF] b LBB0_5 LBB0_4: Lloh2: adrp x8, _VC_CONTAINER_ERROR_INVALID_ARGUMENT@GOTPAGE Lloh3: ldr x8, [x8, _VC_CONTAINER_ERROR_INVALID_ARGUMENT@GOTPAGEOFF] LBB0_5: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _VC_CONTAINER_ERROR_INVALID_ARGUMENT,4,2 ; @VC_CONTAINER_ERROR_INVALID_ARGUMENT .comm _VC_CONTAINER_SUCCESS,4,2 ; @VC_CONTAINER_SUCCESS .no_dead_strip _io_net_close .subsections_via_symbols
AnghaBench/RetroArch/gfx/include/userland/containers/io/extr_io_net.c_io_net_close.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function snd_cmipci_write_b _snd_cmipci_write_b: ## @snd_cmipci_write_b .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, %esi addq (%rdi), %rsi movl %edx, %edi popq %rbp jmp _outb ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _snd_cmipci_write_b .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function snd_cmipci_write_b _snd_cmipci_write_b: ; @snd_cmipci_write_b .cfi_startproc ; %bb.0: ldr x8, [x0] add x1, x8, w1, uxtw mov x0, x2 b _outb .cfi_endproc ; -- End function .no_dead_strip _snd_cmipci_write_b .subsections_via_symbols
AnghaBench/linux/sound/pci/extr_cmipci.c_snd_cmipci_write_b.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function soc_tplg_dapm_widget_dbytes_create _soc_tplg_dapm_widget_dbytes_create: ## @soc_tplg_dapm_widget_dbytes_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 movl %esi, %ebx movq %rdi, -48(%rbp) ## 8-byte Spill movq _GFP_KERNEL@GOTPCREL(%rip), %r15 movl (%r15), %edx movl %esi, %edi movl $32, %esi callq _kcalloc testq %rax, %rax je LBB0_12 ## %bb.1: movq %rax, %r12 testl %ebx, %ebx jle LBB0_14 ## %bb.2: movl %ebx, %eax shlq $5, %rax movq %rax, -56(%rbp) ## 8-byte Spill xorl %r14d, %r14d movq -48(%rbp), %rbx ## 8-byte Reload .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %r13 movl (%r13), %edi movq _SNDRV_CTL_ELEM_ID_NAME_MAXLEN@GOTPCREL(%rip), %rbx movq (%rbx), %rsi callq _strnlen cmpq (%rbx), %rax je LBB0_10 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl (%r15), %esi movl $32, %edi callq _kzalloc testq %rax, %rax je LBB0_10 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq %rax, %rbx movl 12(%r13), %edi callq _le32_to_cpu movq -48(%rbp), %rdx ## 8-byte Reload movq 8(%rdx), %rcx addq %rcx, %rax addq $16, %rax movq %rax, 8(%rdx) movl (%rdx), %edi movl (%r13), %edx movl 4(%r13), %ecx leaq L_.str(%rip), %rsi callq _dev_dbg movq %rbx, (%r12,%r14) movl (%r13), %edi movl (%r15), %esi callq _kstrdup movq %rax, 8(%r12,%r14) testq %rax, %rax je LBB0_10 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 leaq (%r12,%r14), %r15 movq _SNDRV_CTL_ELEM_IFACE_MIXER@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 28(%r12,%r14) movl 4(%r13), %eax movl %eax, 24(%r12,%r14) movl 8(%r13), %eax movl %eax, 20(%rbx) addq $16, %rbx movq %rbx, %rdi callq _INIT_LIST_HEAD movq %r13, %rdi movq %r15, %rsi movq -48(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdx callq _soc_tplg_kcontrol_bind_io testl %eax, %eax jne LBB0_7 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, %rdi movq %r15, %rsi movq %r13, %rdx callq _soc_tplg_init_kcontrol testl %eax, %eax js LBB0_9 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 addq $32, %r14 cmpq %r14, -56(%rbp) ## 8-byte Folded Reload movq _GFP_KERNEL@GOTPCREL(%rip), %r15 jne LBB0_3 jmp LBB0_14 LBB0_7: movl (%r13), %edx movq %rbx, %rdi movq %r13, %rsi callq _soc_control_err jmp LBB0_10 LBB0_9: movl (%rbx), %edi movl (%r13), %edx leaq L_.str.1(%rip), %rsi callq _dev_err .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq (%r12,%r14), %rdi callq _kfree movq 8(%r12,%r14), %rdi callq _kfree addq $-32, %r14 cmpq $-32, %r14 jne LBB0_10 ## %bb.11: movq %r12, %rdi callq _kfree LBB0_12: xorl %r12d, %r12d LBB0_14: movq %r12, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _SNDRV_CTL_ELEM_ID_NAME_MAXLEN,8,3 ## @SNDRV_CTL_ELEM_ID_NAME_MAXLEN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ASoC: adding bytes kcontrol %s with access 0x%x\n" .comm _SNDRV_CTL_ELEM_IFACE_MIXER,4,2 ## @SNDRV_CTL_ELEM_IFACE_MIXER L_.str.1: ## @.str.1 .asciz "ASoC: failed to init %s\n" .no_dead_strip _soc_tplg_dapm_widget_dbytes_create .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function soc_tplg_dapm_widget_dbytes_create _soc_tplg_dapm_widget_dbytes_create: ; @soc_tplg_dapm_widget_dbytes_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, x1 mov x20, x0 Lloh0: adrp x26, _GFP_KERNEL@GOTPAGE Lloh1: ldr x26, [x26, _GFP_KERNEL@GOTPAGEOFF] ldr w2, [x26] mov x0, x1 mov w1, #32 bl _kcalloc mov x19, x0 cbz x0, LBB0_13 ; %bb.1: cmp w21, #1 b.lt LBB0_13 ; %bb.2: mov x25, #0 mov w8, w21 lsl x27, x8, #5 Lloh2: adrp x28, _SNDRV_CTL_ELEM_ID_NAME_MAXLEN@GOTPAGE Lloh3: ldr x28, [x28, _SNDRV_CTL_ELEM_ID_NAME_MAXLEN@GOTPAGEOFF] Lloh4: adrp x21, l_.str@PAGE Lloh5: add x21, x21, l_.str@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x22, [x20, #8] ldr w0, [x22] ldr x1, [x28] bl _strnlen ldr x8, [x28] cmp x0, x8 b.eq LBB0_11 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w1, [x26] mov w0, #32 bl _kzalloc cbz x0, LBB0_11 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov x23, x0 ldr w0, [x22, #12] bl _le32_to_cpu ldr x8, [x20, #8] add x8, x0, x8 add x8, x8, #16 str x8, [x20, #8] ldr w0, [x20] ldp w2, w3, [x22] mov x1, x21 bl _dev_dbg add x24, x19, x25 str x23, [x24] ldr w0, [x22] ldr w1, [x26] bl _kstrdup str x0, [x24, #8] cbz x0, LBB0_11 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 Lloh6: adrp x8, _SNDRV_CTL_ELEM_IFACE_MIXER@GOTPAGE Lloh7: ldr x8, [x8, _SNDRV_CTL_ELEM_IFACE_MIXER@GOTPAGEOFF] Lloh8: ldr w8, [x8] ldp w9, w10, [x22, #4] stp w9, w8, [x24, #24] str w10, [x23, #20] add x0, x23, #16 bl _INIT_LIST_HEAD mov x0, x22 mov x1, x24 mov x2, x20 bl _soc_tplg_kcontrol_bind_io cbnz w0, LBB0_9 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 mov x1, x24 mov x2, x22 bl _soc_tplg_init_kcontrol tbnz w0, #31, LBB0_10 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 add x25, x25, #32 cmp x27, x25 b.ne LBB0_3 b LBB0_13 LBB0_9: ldr w2, [x22] mov x0, x20 mov x1, x22 bl _soc_control_err b LBB0_11 LBB0_10: ldr w0, [x20] ldr w2, [x22] Lloh9: adrp x1, l_.str.1@PAGE Lloh10: add x1, x1, l_.str.1@PAGEOFF bl _dev_err LBB0_11: ; =>This Inner Loop Header: Depth=1 add x20, x19, x25 ldr x0, [x20] bl _kfree ldr x0, [x20, #8] bl _kfree sub x25, x25, #32 cmn x25, #32 b.ne LBB0_11 ; %bb.12: mov x0, x19 bl _kfree mov x19, #0 LBB0_13: mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _SNDRV_CTL_ELEM_ID_NAME_MAXLEN,8,3 ; @SNDRV_CTL_ELEM_ID_NAME_MAXLEN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ASoC: adding bytes kcontrol %s with access 0x%x\n" .comm _SNDRV_CTL_ELEM_IFACE_MIXER,4,2 ; @SNDRV_CTL_ELEM_IFACE_MIXER l_.str.1: ; @.str.1 .asciz "ASoC: failed to init %s\n" .no_dead_strip _soc_tplg_dapm_widget_dbytes_create .subsections_via_symbols
AnghaBench/linux/sound/soc/extr_soc-topology.c_soc_tplg_dapm_widget_dbytes_create.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gfx10_kiq_map_queues _gfx10_kiq_map_queues: ## @gfx10_kiq_map_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 %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r13 movq %rdi, %r12 movq 40(%rdi), %rbx movl 32(%rsi), %edi callq _amdgpu_bo_gpu_offset movq %rax, -48(%rbp) ## 8-byte Spill movslq (%r13), %rax shlq $2, %rax addq (%rbx), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq 24(%r13), %rax movq (%rax), %rax movq _AMDGPU_RING_TYPE_GFX@GOTPCREL(%rip), %rcx xorl %ebx, %ebx cmpq (%rcx), %rax sete %bl shll $2, %ebx movq _PACKET3_MAP_QUEUES@GOTPCREL(%rip), %rax movl (%rax), %edi movl $5, %esi callq _PACKET3 movq %r12, %rdi movl %eax, %esi callq _amdgpu_ring_write xorl %edi, %edi callq _PACKET3_MAP_QUEUES_QUEUE_SEL movl %eax, %r15d xorl %edi, %edi callq _PACKET3_MAP_QUEUES_VMID orl %eax, %r15d movl 16(%r13), %edi callq _PACKET3_MAP_QUEUES_QUEUE orl %eax, %r15d movl 12(%r13), %edi callq _PACKET3_MAP_QUEUES_PIPE orl %eax, %r15d xorl %edi, %edi cmpl $1, 4(%r13) setne %dil callq _PACKET3_MAP_QUEUES_ME movl %eax, %r14d xorl %edi, %edi callq _PACKET3_MAP_QUEUES_QUEUE_TYPE orl %eax, %r15d orl %r14d, %r15d xorl %edi, %edi callq _PACKET3_MAP_QUEUES_ALLOC_FORMAT orl %eax, %r15d movl %ebx, %edi callq _PACKET3_MAP_QUEUES_ENGINE_SEL movl %eax, %ebx movl $1, %edi callq _PACKET3_MAP_QUEUES_NUM_QUEUES orl %eax, %r15d orl %ebx, %r15d movq %r12, %rdi movl %r15d, %esi callq _amdgpu_ring_write movl 8(%r13), %edi callq _PACKET3_MAP_QUEUES_DOORBELL_OFFSET movq %r12, %rdi movl %eax, %esi callq _amdgpu_ring_write movq -48(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _lower_32_bits movq %r12, %rdi movl %eax, %esi callq _amdgpu_ring_write movq %rbx, %rdi callq _upper_32_bits movq %r12, %rdi movl %eax, %esi callq _amdgpu_ring_write movq -56(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _lower_32_bits movq %r12, %rdi movl %eax, %esi callq _amdgpu_ring_write movq %rbx, %rdi callq _upper_32_bits movq %r12, %rdi movl %eax, %esi addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _amdgpu_ring_write ## TAILCALL .cfi_endproc ## -- End function .comm _AMDGPU_RING_TYPE_GFX,8,3 ## @AMDGPU_RING_TYPE_GFX .comm _PACKET3_MAP_QUEUES,4,2 ## @PACKET3_MAP_QUEUES .no_dead_strip _gfx10_kiq_map_queues .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gfx10_kiq_map_queues _gfx10_kiq_map_queues: ; @gfx10_kiq_map_queues .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x22, x1 mov x19, x0 ldr x20, [x0, #40] ldr w0, [x1, #32] bl _amdgpu_bo_gpu_offset mov x21, x0 ldr x8, [x20] ldrsw x9, [x22] add x20, x8, x9, lsl #2 ldr x8, [x22, #24] ldr x8, [x8] Lloh0: adrp x9, _AMDGPU_RING_TYPE_GFX@GOTPAGE Lloh1: ldr x9, [x9, _AMDGPU_RING_TYPE_GFX@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 cset w8, eq lsl w23, w8, #2 Lloh3: adrp x8, _PACKET3_MAP_QUEUES@GOTPAGE Lloh4: ldr x8, [x8, _PACKET3_MAP_QUEUES@GOTPAGEOFF] Lloh5: ldr w0, [x8] mov w1, #5 bl _PACKET3 mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov w0, #0 bl _PACKET3_MAP_QUEUES_QUEUE_SEL mov x24, x0 mov w0, #0 bl _PACKET3_MAP_QUEUES_VMID orr w24, w0, w24 ldr w0, [x22, #16] bl _PACKET3_MAP_QUEUES_QUEUE orr w24, w24, w0 ldr w0, [x22, #12] bl _PACKET3_MAP_QUEUES_PIPE orr w24, w24, w0 ldr w8, [x22, #4] cmp w8, #1 cset w0, ne bl _PACKET3_MAP_QUEUES_ME orr w24, w24, w0 mov w0, #0 bl _PACKET3_MAP_QUEUES_QUEUE_TYPE orr w24, w24, w0 mov w0, #0 bl _PACKET3_MAP_QUEUES_ALLOC_FORMAT orr w24, w24, w0 mov x0, x23 bl _PACKET3_MAP_QUEUES_ENGINE_SEL orr w23, w24, w0 mov w0, #1 bl _PACKET3_MAP_QUEUES_NUM_QUEUES orr w1, w23, w0 mov x0, x19 bl _amdgpu_ring_write ldr w0, [x22, #8] bl _PACKET3_MAP_QUEUES_DOORBELL_OFFSET mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov x0, x21 bl _lower_32_bits mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov x0, x21 bl _upper_32_bits mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov x0, x20 bl _lower_32_bits mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov x0, x20 bl _upper_32_bits mov x1, x0 mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _amdgpu_ring_write .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _AMDGPU_RING_TYPE_GFX,8,3 ; @AMDGPU_RING_TYPE_GFX .comm _PACKET3_MAP_QUEUES,4,2 ; @PACKET3_MAP_QUEUES .no_dead_strip _gfx10_kiq_map_queues .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v10_0.c_gfx10_kiq_map_queues.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gred_load_wred_set _gred_load_wred_set: ## @gred_load_wred_set .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(%rdi), %eax movl %eax, 4(%rsi) movl (%rdi), %eax movl %eax, (%rsi) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _gred_load_wred_set .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gred_load_wred_set _gred_load_wred_set: ; @gred_load_wred_set .cfi_startproc ; %bb.0: ldr d0, [x0] str d0, [x1] ret .cfi_endproc ; -- End function .no_dead_strip _gred_load_wred_set .subsections_via_symbols
AnghaBench/linux/net/sched/extr_sch_gred.c_gred_load_wred_set.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rk3066_hdmi_connector_detect _rk3066_hdmi_connector_detect: ## @rk3066_hdmi_connector_detect .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _to_rk3066_hdmi movq _HDMI_HPG_MENS_STA@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq %rax, %rdi callq _hdmi_readb movq _HDMI_HPG_IN_STATUS_HIGH@GOTPCREL(%rip), %rcx testl %eax, (%rcx) jne LBB0_1 ## %bb.2: movq _connector_status_disconnected@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _connector_status_connected@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _HDMI_HPG_MENS_STA,4,2 ## @HDMI_HPG_MENS_STA .comm _HDMI_HPG_IN_STATUS_HIGH,4,2 ## @HDMI_HPG_IN_STATUS_HIGH .comm _connector_status_connected,4,2 ## @connector_status_connected .comm _connector_status_disconnected,4,2 ## @connector_status_disconnected .no_dead_strip _rk3066_hdmi_connector_detect .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rk3066_hdmi_connector_detect _rk3066_hdmi_connector_detect: ; @rk3066_hdmi_connector_detect .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 _to_rk3066_hdmi Lloh0: adrp x8, _HDMI_HPG_MENS_STA@GOTPAGE Lloh1: ldr x8, [x8, _HDMI_HPG_MENS_STA@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _hdmi_readb Lloh3: adrp x8, _HDMI_HPG_IN_STATUS_HIGH@GOTPAGE Lloh4: ldr x8, [x8, _HDMI_HPG_IN_STATUS_HIGH@GOTPAGEOFF] Lloh5: ldr w8, [x8] Lloh6: adrp x9, _connector_status_connected@GOTPAGE Lloh7: ldr x9, [x9, _connector_status_connected@GOTPAGEOFF] Lloh8: adrp x10, _connector_status_disconnected@GOTPAGE Lloh9: ldr x10, [x10, _connector_status_disconnected@GOTPAGEOFF] tst w8, w0 csel x8, x10, x9, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _HDMI_HPG_MENS_STA,4,2 ; @HDMI_HPG_MENS_STA .comm _HDMI_HPG_IN_STATUS_HIGH,4,2 ; @HDMI_HPG_IN_STATUS_HIGH .comm _connector_status_connected,4,2 ; @connector_status_connected .comm _connector_status_disconnected,4,2 ; @connector_status_disconnected .no_dead_strip _rk3066_hdmi_connector_detect .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rk3066_hdmi.c_rk3066_hdmi_connector_detect.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gb_operation_create_incoming _gb_operation_create_incoming: ## @gb_operation_create_incoming .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 %r8, %r15 movq %rcx, %r14 movq %rsi, %r12 movq _GB_OPERATION_FLAG_INCOMING@GOTPCREL(%rip), %rcx leaq -4(%r8), %rax testq %rsi, %rsi jne LBB0_1 ## %bb.2: movq _GB_OPERATION_FLAG_UNIDIRECTIONAL@GOTPCREL(%rip), %rsi movq (%rsi), %r8 jmp LBB0_3 LBB0_1: xorl %r8d, %r8d LBB0_3: orq (%rcx), %r8 movq _GB_REQUEST_TYPE_INVALID@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq _GFP_ATOMIC@GOTPCREL(%rip), %rsi movl (%rsi), %r9d movl %edx, %esi movq %rax, %rdx callq _gb_operation_create_common movq %rax, %rbx testq %rax, %rax je LBB0_5 ## %bb.4: movq %r12, 8(%rbx) movq (%rbx), %rax movl (%rax), %edi movq %r14, %rsi movq %r15, %rdx callq _memcpy movq %rbx, %rdi callq _trace_gb_operation_create_incoming LBB0_5: movq %rbx, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GB_OPERATION_FLAG_INCOMING,8,3 ## @GB_OPERATION_FLAG_INCOMING .comm _GB_OPERATION_FLAG_UNIDIRECTIONAL,8,3 ## @GB_OPERATION_FLAG_UNIDIRECTIONAL .comm _GB_REQUEST_TYPE_INVALID,4,2 ## @GB_REQUEST_TYPE_INVALID .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .no_dead_strip _gb_operation_create_incoming .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gb_operation_create_incoming _gb_operation_create_incoming: ; @gb_operation_create_incoming .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, x4 mov x20, x3 mov x8, x2 mov x21, x1 sub x2, x4, #4 Lloh0: adrp x9, _GB_OPERATION_FLAG_INCOMING@GOTPAGE Lloh1: ldr x9, [x9, _GB_OPERATION_FLAG_INCOMING@GOTPAGEOFF] Lloh2: ldr x9, [x9] Lloh3: adrp x10, _GB_OPERATION_FLAG_UNIDIRECTIONAL@GOTPAGE Lloh4: ldr x10, [x10, _GB_OPERATION_FLAG_UNIDIRECTIONAL@GOTPAGEOFF] Lloh5: ldr x10, [x10] cmp x1, #0 csel x10, x10, xzr, eq orr x4, x10, x9 Lloh6: adrp x9, _GB_REQUEST_TYPE_INVALID@GOTPAGE Lloh7: ldr x9, [x9, _GB_REQUEST_TYPE_INVALID@GOTPAGEOFF] Lloh8: ldr w3, [x9] Lloh9: adrp x9, _GFP_ATOMIC@GOTPAGE Lloh10: ldr x9, [x9, _GFP_ATOMIC@GOTPAGEOFF] Lloh11: ldr w5, [x9] mov x1, x8 bl _gb_operation_create_common mov x22, x0 cbz x0, LBB0_2 ; %bb.1: str x21, [x22, #8] ldr x8, [x22] ldr w0, [x8] mov x1, x20 mov x2, x19 bl _memcpy mov x0, x22 bl _trace_gb_operation_create_incoming LBB0_2: mov x0, x22 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _GB_OPERATION_FLAG_INCOMING,8,3 ; @GB_OPERATION_FLAG_INCOMING .comm _GB_OPERATION_FLAG_UNIDIRECTIONAL,8,3 ; @GB_OPERATION_FLAG_UNIDIRECTIONAL .comm _GB_REQUEST_TYPE_INVALID,4,2 ; @GB_REQUEST_TYPE_INVALID .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .no_dead_strip _gb_operation_create_incoming .subsections_via_symbols
AnghaBench/linux/drivers/greybus/extr_operation.c_gb_operation_create_incoming.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 xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_str: ## @str .asciz "Hello, world." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_str: ; @str .asciz "Hello, world." .subsections_via_symbols
the_stack_data/92324677.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function LoadExt_ARB_extensions_string _LoadExt_ARB_extensions_string: ## @LoadExt_ARB_extensions_string .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 _IntGetProcAddress movq __funcptr_wglGetExtensionsStringARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) xorl %ecx, %ecx testq %rax, %rax sete %cl movl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "wglGetExtensionsStringARB" .comm __funcptr_wglGetExtensionsStringARB,8,3 ## @_funcptr_wglGetExtensionsStringARB .no_dead_strip _LoadExt_ARB_extensions_string .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function LoadExt_ARB_extensions_string _LoadExt_ARB_extensions_string: ; @LoadExt_ARB_extensions_string .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _IntGetProcAddress Lloh2: adrp x8, __funcptr_wglGetExtensionsStringARB@GOTPAGE Lloh3: ldr x8, [x8, __funcptr_wglGetExtensionsStringARB@GOTPAGEOFF] Lloh4: str x0, [x8] cmp x0, #0 cset w0, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "wglGetExtensionsStringARB" .comm __funcptr_wglGetExtensionsStringARB,8,3 ; @_funcptr_wglGetExtensionsStringARB .no_dead_strip _LoadExt_ARB_extensions_string .subsections_via_symbols
AnghaBench/Cinder/src/glload/extr_wgl_load.c_LoadExt_ARB_extensions_string.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _t_fun ## -- Begin function t_fun .p2align 4, 0x90 _t_fun: ## @t_fun .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _myglobal@GOTPCREL(%rip), %rax movl $42, (%rax) 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 %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq _myglobal@GOTPCREL(%rip), %r14 movl $1, (%r14) leaq _t_fun(%rip), %rbx leaq -32(%rbp), %rdi xorl %esi, %esi movq %rbx, %rdx xorl %ecx, %ecx callq _pthread_create leaq -24(%rbp), %rdi xorl %esi, %esi movq %rbx, %rdx xorl %ecx, %ecx callq _pthread_create movl $2, (%r14) movq -32(%rbp), %rdi xorl %esi, %esi callq _pthread_join movq -24(%rbp), %rdi xorl %esi, %esi callq _pthread_join movl $3, (%r14) xorl %eax, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _myglobal,4,2 ## @myglobal .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _t_fun ; -- Begin function t_fun .p2align 2 _t_fun: ; @t_fun .cfi_startproc ; %bb.0: Lloh0: adrp x8, _myglobal@GOTPAGE Lloh1: ldr x8, [x8, _myglobal@GOTPAGEOFF] mov w9, #42 Lloh2: str w9, [x8] mov x0, #0 ret .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh3: adrp x20, _myglobal@GOTPAGE Lloh4: ldr x20, [x20, _myglobal@GOTPAGEOFF] mov w8, #1 str w8, [x20] Lloh5: adrp x19, _t_fun@PAGE Lloh6: add x19, x19, _t_fun@PAGEOFF add x0, sp, #8 mov x1, #0 mov x2, x19 mov x3, #0 bl _pthread_create mov x0, sp mov x1, #0 mov x2, x19 mov x3, #0 bl _pthread_create mov w8, #2 str w8, [x20] ldr x0, [sp, #8] mov x1, #0 bl _pthread_join ldr x0, [sp] mov x1, #0 bl _pthread_join mov w8, #3 str w8, [x20] 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 Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _myglobal,4,2 ; @myglobal .subsections_via_symbols
the_stack_data/1054601.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function net_break _net_break: ## @net_break .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 movl %esi, %r14d movl %edi, %ebx leaq -40(%rbp), %r15 movq %r15, %rdi xorl %esi, %esi movl $8, %edx callq _memset movl $0, -28(%rbp) movl %ebx, -40(%rbp) movq _inferior_ptid@GOTPCREL(%rip), %rax movl (%rax), %edi callq _PIDGET movl %eax, -36(%rbp) movq _xdr_rptrace@GOTPCREL(%rip), %rax movl (%rax), %esi movq _xdr_int@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -28(%rbp), %r8 movl %r14d, %edi movq %r15, %rdx callq _net_clnt_call movq _RPC_SUCCESS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_1 ## %bb.2: movl -28(%rbp), %eax cmpl $-1, %eax jne LBB0_5 ## %bb.3: movq _ENOMEM@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_1: movq _errno@GOTPCREL(%rip), %rax LBB0_4: movl (%rax), %eax LBB0_5: addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _inferior_ptid,4,2 ## @inferior_ptid .comm _xdr_rptrace,4,2 ## @xdr_rptrace .comm _xdr_int,4,2 ## @xdr_int .comm _RPC_SUCCESS,4,2 ## @RPC_SUCCESS .comm _errno,4,2 ## @errno .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _net_break .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function net_break _net_break: ; @net_break .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 mov x0, sp mov w1, #0 mov w2, #8 bl _memset str wzr, [sp, #12] str w20, [sp] Lloh0: adrp x8, _inferior_ptid@GOTPAGE Lloh1: ldr x8, [x8, _inferior_ptid@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _PIDGET str w0, [sp, #4] Lloh3: adrp x8, _xdr_rptrace@GOTPAGE Lloh4: ldr x8, [x8, _xdr_rptrace@GOTPAGEOFF] Lloh5: ldr w1, [x8] Lloh6: adrp x8, _xdr_int@GOTPAGE Lloh7: ldr x8, [x8, _xdr_int@GOTPAGEOFF] Lloh8: ldr w3, [x8] mov x2, sp add x4, sp, #12 mov x0, x19 bl _net_clnt_call Lloh9: adrp x8, _RPC_SUCCESS@GOTPAGE Lloh10: ldr x8, [x8, _RPC_SUCCESS@GOTPAGEOFF] Lloh11: ldr w8, [x8] cmp w0, w8 b.ne LBB0_2 ; %bb.1: ldr w8, [sp, #12] Lloh12: adrp x9, _ENOMEM@GOTPAGE Lloh13: ldr x9, [x9, _ENOMEM@GOTPAGEOFF] Lloh14: ldr w9, [x9] cmn w8, #1 csel w0, w9, w8, eq b LBB0_3 LBB0_2: Lloh15: adrp x8, _errno@GOTPAGE Lloh16: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh17: ldr w0, [x8] LBB0_3: 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 Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _inferior_ptid,4,2 ; @inferior_ptid .comm _xdr_rptrace,4,2 ; @xdr_rptrace .comm _xdr_int,4,2 ; @xdr_int .comm _RPC_SUCCESS,4,2 ; @RPC_SUCCESS .comm _errno,4,2 ; @errno .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _net_break .subsections_via_symbols
AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-vx.c_net_break.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 movl $25, %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, #25 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/11544.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function snd_rme9652_proc_read _snd_rme9652_proc_read: ## @snd_rme9652_proc_read .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r13 movq (%rdi), %r14 movl (%r14), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq _RME9652_status_register@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _rme9652_read movl %eax, %r15d movl 64(%r14), %edx movq 56(%r14), %rax movq (%rax), %rcx incq %rcx leaq L_.str(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movl 48(%r14), %ecx movl 52(%r14), %edx leaq L_.str.1(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movl 44(%r14), %edx movl 40(%r14), %ecx movq 32(%r14), %r8 leaq L_.str.2(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movl 4(%r14), %edx leaq L_.str.3(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf leaq L_.str.4(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movq _RME9652_latency@GOTPCREL(%rip), %rax movl (%rax), %edi andl 4(%r14), %edi callq _rme9652_decode_latency ## kill: def $eax killed $eax def $rax leal 6(%rax), %ecx movl $1, %edx ## kill: def $cl killed $cl killed $ecx shll %cl, %edx movq 24(%r14), %rcx leaq L_.str.5(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movq %r14, %rdi callq _rme9652_hw_pointer leaq L_.str.6(%rip), %rsi movq %r13, %rdi movl %eax, %edx xorl %eax, %eax callq _snd_iprintf cmpq $0, 16(%r14) leaq L_.str.9(%rip), %r12 leaq L_.str.8(%rip), %rbx movq %rbx, %rdx cmoveq %r12, %rdx leaq L_.str.7(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movl 4(%r14), %eax movq _RME9652_Master@GOTPCREL(%rip), %rdx movq _RME9652_wsel@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl (%rdx), %edx orl %ecx, %edx testl %eax, %edx je LBB0_4 ## %bb.1: testl %eax, %ecx je LBB0_2 ## %bb.3: movq _RME9652_wsel_rd@GOTPCREL(%rip), %rax testl %r15d, (%rax) leaq L_.str.12(%rip), %rax leaq L_.str.11(%rip), %rsi cmoveq %rax, %rsi jmp LBB0_7 LBB0_4: leaq L_.str.10(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movq _RME9652_SyncPref_Mask@GOTPCREL(%rip), %rax movl (%rax), %eax andl 4(%r14), %eax addl $-128, %eax cmpl $3, %eax ja LBB0_5 ## %bb.6: cltq leaq l_reltable.snd_rme9652_proc_read(%rip), %rcx movslq (%rcx,%rax,4), %rsi addq %rcx, %rsi jmp LBB0_7 LBB0_2: leaq L_.str.13(%rip), %rsi jmp LBB0_7 LBB0_5: leaq L_.str.18(%rip), %rsi LBB0_7: movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf cmpl $15, 8(%r14) jl LBB0_9 ## %bb.8: movq _RME9652_ADAT1_INTERNAL@GOTPCREL(%rip), %rax movl (%rax), %eax andl 4(%r14), %eax leaq L_.str.21(%rip), %rax leaq L_.str.20(%rip), %rdx cmoveq %rax, %rdx leaq L_.str.19(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf LBB0_9: leaq L_.str.4(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movq _RME9652_inp@GOTPCREL(%rip), %rax movl (%rax), %edi andl 4(%r14), %edi callq _rme9652_decode_spdif_in addl $-132, %eax cmpl $2, %eax ja LBB0_10 ## %bb.11: cltq leaq l_reltable.snd_rme9652_proc_read.51(%rip), %rcx movslq (%rcx,%rax,4), %rsi addq %rcx, %rsi jmp LBB0_12 LBB0_10: leaq L_.str.25(%rip), %rsi LBB0_12: movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movq _RME9652_opt_out@GOTPCREL(%rip), %rax movl (%rax), %eax andl 4(%r14), %eax leaq L_.str.27(%rip), %rax leaq L_.str.26(%rip), %rsi cmoveq %rax, %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movq _RME9652_PRO@GOTPCREL(%rip), %rax movl (%rax), %eax andl 4(%r14), %eax leaq L_.str.29(%rip), %rax leaq L_.str.28(%rip), %rsi cmoveq %rax, %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movq _RME9652_EMP@GOTPCREL(%rip), %rax movl (%rax), %eax andl 4(%r14), %eax leaq L_.str.31(%rip), %rax leaq L_.str.30(%rip), %rsi cmoveq %rax, %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movq _RME9652_Dolby@GOTPCREL(%rip), %rax movl (%rax), %eax andl 4(%r14), %eax leaq L_.str.33(%rip), %rax leaq L_.str.32(%rip), %rsi cmoveq %rax, %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movq %r14, %rdi callq _rme9652_spdif_sample_rate testl %eax, %eax js LBB0_13 ## %bb.15: je LBB0_16 ## %bb.17: leaq L_.str.36(%rip), %rsi movq %r13, %rdi movl %eax, %edx xorl %eax, %eax callq _snd_iprintf jmp LBB0_18 LBB0_13: leaq L_.str.34(%rip), %rsi jmp LBB0_14 LBB0_16: leaq L_.str.35(%rip), %rsi LBB0_14: movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf LBB0_18: leaq L_.str.4(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movq %r14, %rdi callq _rme9652_adat_sample_rate leaq L_.str.37(%rip), %rsi movq %r13, %rdi movl %eax, %edx xorl %eax, %eax callq _snd_iprintf movq _RME9652_lock_0@GOTPCREL(%rip), %rax testl %r15d, (%rax) je LBB0_20 ## %bb.19: movq _RME9652_sync_0@GOTPCREL(%rip), %rax movl (%rax), %eax andl %r15d, %eax leaq L_.str.40(%rip), %rax leaq L_.str.39(%rip), %rdx cmoveq %rax, %rdx leaq L_.str.38(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf jmp LBB0_21 LBB0_20: leaq L_.str.41(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf LBB0_21: movq _RME9652_lock_1@GOTPCREL(%rip), %rax testl %r15d, (%rax) je LBB0_23 ## %bb.22: movq _RME9652_sync_1@GOTPCREL(%rip), %rax movl (%rax), %eax andl %r15d, %eax leaq L_.str.40(%rip), %rax leaq L_.str.39(%rip), %rdx cmoveq %rax, %rdx leaq L_.str.42(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf jmp LBB0_24 LBB0_23: leaq L_.str.43(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf LBB0_24: movq _RME9652_lock_2@GOTPCREL(%rip), %rax testl %r15d, (%rax) je LBB0_26 ## %bb.25: movq _RME9652_sync_2@GOTPCREL(%rip), %rax movl (%rax), %eax andl %r15d, %eax leaq L_.str.40(%rip), %rax leaq L_.str.39(%rip), %rdx cmoveq %rax, %rdx leaq L_.str.44(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf jmp LBB0_27 LBB0_26: leaq L_.str.45(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf LBB0_27: leaq L_.str.4(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf movq _RME9652_tc_valid@GOTPCREL(%rip), %rax andl (%rax), %r15d cmoveq %r12, %rbx leaq L_.str.46(%rip), %rsi movq %r13, %rdi movq %rbx, %rdx xorl %eax, %eax callq _snd_iprintf leaq L_.str.47(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _snd_iprintf cmpl $0, 12(%r14) jle LBB0_32 ## %bb.28: leaq L_.str.49(%rip), %r12 leaq L_.str.48(%rip), %r15 xorl %ebx, %ebx jmp LBB0_29 .p2align 4, 0x90 LBB0_31: ## in Loop: Header=BB0_29 Depth=1 cmpl 12(%r14), %ebx jge LBB0_32 LBB0_29: ## =>This Inner Loop Header: Depth=1 movl %ebx, %eax movl -44(%rbp), %ecx ## 4-byte Reload btl %ebx, %ecx leal 1(%rax), %ebx movq %r15, %rsi cmovaeq %r12, %rsi movq %r13, %rdi movl %ebx, %edx xorl %eax, %eax callq _snd_iprintf testb $7, %bl jne LBB0_31 ## %bb.30: ## in Loop: Header=BB0_29 Depth=1 movq %r13, %rdi leaq L_.str.4(%rip), %rsi xorl %eax, %eax callq _snd_iprintf jmp LBB0_31 LBB0_32: leaq L_.str.4(%rip), %rsi movq %r13, %rdi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _snd_iprintf ## TAILCALL .cfi_endproc ## -- End function .comm _RME9652_status_register,4,2 ## @RME9652_status_register .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s (Card #%d)\n" L_.str.1: ## @.str.1 .asciz "Buffers: capture %p playback %p\n" L_.str.2: ## @.str.2 .asciz "IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n" L_.str.3: ## @.str.3 .asciz "Control register: %x\n" L_.str.4: ## @.str.4 .asciz "\n" .comm _RME9652_latency,4,2 ## @RME9652_latency L_.str.5: ## @.str.5 .asciz "Latency: %d samples (2 periods of %lu bytes)\n" L_.str.6: ## @.str.6 .asciz "Hardware pointer (frames): %ld\n" L_.str.7: ## @.str.7 .asciz "Passthru: %s\n" L_.str.8: ## @.str.8 .asciz "yes" L_.str.9: ## @.str.9 .asciz "no" .comm _RME9652_Master,4,2 ## @RME9652_Master .comm _RME9652_wsel,4,2 ## @RME9652_wsel L_.str.10: ## @.str.10 .asciz "Clock mode: autosync\n" .comm _RME9652_wsel_rd,4,2 ## @RME9652_wsel_rd L_.str.11: ## @.str.11 .asciz "Clock mode: word clock\n" L_.str.12: ## @.str.12 .asciz "Clock mode: word clock (no signal)\n" L_.str.13: ## @.str.13 .asciz "Clock mode: master\n" .comm _RME9652_SyncPref_Mask,4,2 ## @RME9652_SyncPref_Mask L_.str.14: ## @.str.14 .asciz "Pref. sync source: ADAT1\n" L_.str.15: ## @.str.15 .asciz "Pref. sync source: ADAT2\n" L_.str.16: ## @.str.16 .asciz "Pref. sync source: ADAT3\n" L_.str.17: ## @.str.17 .asciz "Pref. sync source: IEC958\n" L_.str.18: ## @.str.18 .asciz "Pref. sync source: ???\n" L_.str.19: ## @.str.19 .asciz "\nADAT1 Input source: %s\n" .comm _RME9652_ADAT1_INTERNAL,4,2 ## @RME9652_ADAT1_INTERNAL L_.str.20: ## @.str.20 .asciz "Internal" L_.str.21: ## @.str.21 .asciz "ADAT1 optical" .comm _RME9652_inp,4,2 ## @RME9652_inp L_.str.22: ## @.str.22 .asciz "IEC958 input: ADAT1\n" L_.str.23: ## @.str.23 .asciz "IEC958 input: Coaxial\n" L_.str.24: ## @.str.24 .asciz "IEC958 input: Internal\n" L_.str.25: ## @.str.25 .asciz "IEC958 input: ???\n" .comm _RME9652_opt_out,4,2 ## @RME9652_opt_out L_.str.26: ## @.str.26 .asciz "IEC958 output: Coaxial & ADAT1\n" L_.str.27: ## @.str.27 .asciz "IEC958 output: Coaxial only\n" .comm _RME9652_PRO,4,2 ## @RME9652_PRO L_.str.28: ## @.str.28 .asciz "IEC958 quality: Professional\n" L_.str.29: ## @.str.29 .asciz "IEC958 quality: Consumer\n" .comm _RME9652_EMP,4,2 ## @RME9652_EMP L_.str.30: ## @.str.30 .asciz "IEC958 emphasis: on\n" L_.str.31: ## @.str.31 .asciz "IEC958 emphasis: off\n" .comm _RME9652_Dolby,4,2 ## @RME9652_Dolby L_.str.32: ## @.str.32 .asciz "IEC958 Dolby: on\n" L_.str.33: ## @.str.33 .asciz "IEC958 Dolby: off\n" L_.str.34: ## @.str.34 .asciz "IEC958 sample rate: error flag set\n" L_.str.35: ## @.str.35 .asciz "IEC958 sample rate: undetermined\n" L_.str.36: ## @.str.36 .asciz "IEC958 sample rate: %d\n" L_.str.37: ## @.str.37 .asciz "ADAT Sample rate: %dHz\n" .comm _RME9652_sync_0,4,2 ## @RME9652_sync_0 .comm _RME9652_lock_0,4,2 ## @RME9652_lock_0 L_.str.38: ## @.str.38 .asciz "ADAT1: %s\n" L_.str.39: ## @.str.39 .asciz "Sync" L_.str.40: ## @.str.40 .asciz "Lock" L_.str.41: ## @.str.41 .asciz "ADAT1: No Lock\n" .comm _RME9652_sync_1,4,2 ## @RME9652_sync_1 .comm _RME9652_lock_1,4,2 ## @RME9652_lock_1 L_.str.42: ## @.str.42 .asciz "ADAT2: %s\n" L_.str.43: ## @.str.43 .asciz "ADAT2: No Lock\n" .comm _RME9652_sync_2,4,2 ## @RME9652_sync_2 .comm _RME9652_lock_2,4,2 ## @RME9652_lock_2 L_.str.44: ## @.str.44 .asciz "ADAT3: %s\n" L_.str.45: ## @.str.45 .asciz "ADAT3: No Lock\n" L_.str.46: ## @.str.46 .asciz "Timecode signal: %s\n" .comm _RME9652_tc_valid,4,2 ## @RME9652_tc_valid L_.str.47: ## @.str.47 .asciz "Punch Status:\n\n" L_.str.48: ## @.str.48 .asciz "%2d: on " L_.str.49: ## @.str.49 .asciz "%2d: off " .no_dead_strip _snd_rme9652_proc_read .section __TEXT,__const .p2align 2 ## @reltable.snd_rme9652_proc_read l_reltable.snd_rme9652_proc_read: .long L_.str.17-l_reltable.snd_rme9652_proc_read .long L_.str.16-l_reltable.snd_rme9652_proc_read .long L_.str.15-l_reltable.snd_rme9652_proc_read .long L_.str.14-l_reltable.snd_rme9652_proc_read .p2align 2 ## @reltable.snd_rme9652_proc_read.51 l_reltable.snd_rme9652_proc_read.51: .long L_.str.22-l_reltable.snd_rme9652_proc_read.51 .long L_.str.24-l_reltable.snd_rme9652_proc_read.51 .long L_.str.23-l_reltable.snd_rme9652_proc_read.51 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function snd_rme9652_proc_read _snd_rme9652_proc_read: ; @snd_rme9652_proc_read .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 ldr x20, [x0] ldr w22, [x20] Lloh0: adrp x8, _RME9652_status_register@GOTPAGE Lloh1: ldr x8, [x8, _RME9652_status_register@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x20 bl _rme9652_read mov x21, x0 ldr x8, [x20, #56] ldr x8, [x8] add x8, x8, #1 ldr w9, [x20, #64] stp x9, x8, [sp] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _snd_iprintf ldp w9, w8, [x20, #48] stp x8, x9, [sp] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _snd_iprintf ldr x8, [x20, #32] ldp w10, w9, [x20, #40] stp x10, x8, [sp, #8] str x9, [sp] Lloh7: adrp x1, l_.str.2@PAGE Lloh8: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _snd_iprintf ldr w8, [x20, #4] str x8, [sp] Lloh9: adrp x1, l_.str.3@PAGE Lloh10: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _snd_iprintf Lloh11: adrp x1, l_.str.4@PAGE Lloh12: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 bl _snd_iprintf ldr w8, [x20, #4] Lloh13: adrp x9, _RME9652_latency@GOTPAGE Lloh14: ldr x9, [x9, _RME9652_latency@GOTPAGEOFF] Lloh15: ldr w9, [x9] and w0, w9, w8 bl _rme9652_decode_latency add w8, w0, #6 mov w9, #1 lsl w8, w9, w8 ldr x9, [x20, #24] stp x8, x9, [sp] Lloh16: adrp x1, l_.str.5@PAGE Lloh17: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 bl _snd_iprintf mov x0, x20 bl _rme9652_hw_pointer ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh18: adrp x1, l_.str.6@PAGE Lloh19: add x1, x1, l_.str.6@PAGEOFF mov x0, x19 bl _snd_iprintf ldr x8, [x20, #16] Lloh20: adrp x23, l_.str.8@PAGE Lloh21: add x23, x23, l_.str.8@PAGEOFF Lloh22: adrp x24, l_.str.9@PAGE Lloh23: add x24, x24, l_.str.9@PAGEOFF cmp x8, #0 csel x8, x24, x23, eq str x8, [sp] Lloh24: adrp x1, l_.str.7@PAGE Lloh25: add x1, x1, l_.str.7@PAGEOFF mov x0, x19 bl _snd_iprintf ldr w8, [x20, #4] Lloh26: adrp x9, _RME9652_Master@GOTPAGE Lloh27: ldr x9, [x9, _RME9652_Master@GOTPAGEOFF] Lloh28: ldr w10, [x9] Lloh29: adrp x9, _RME9652_wsel@GOTPAGE Lloh30: ldr x9, [x9, _RME9652_wsel@GOTPAGEOFF] Lloh31: ldr w9, [x9] orr w10, w9, w10 tst w10, w8 b.eq LBB0_3 ; %bb.1: tst w9, w8 b.eq LBB0_5 ; %bb.2: Lloh32: adrp x8, _RME9652_wsel_rd@GOTPAGE Lloh33: ldr x8, [x8, _RME9652_wsel_rd@GOTPAGEOFF] Lloh34: ldr w8, [x8] Lloh35: adrp x9, l_.str.11@PAGE Lloh36: add x9, x9, l_.str.11@PAGEOFF Lloh37: adrp x10, l_.str.12@PAGE Lloh38: add x10, x10, l_.str.12@PAGEOFF tst w8, w21 csel x1, x10, x9, eq b LBB0_7 LBB0_3: Lloh39: adrp x1, l_.str.10@PAGE Lloh40: add x1, x1, l_.str.10@PAGEOFF mov x0, x19 bl _snd_iprintf ldr w8, [x20, #4] Lloh41: adrp x9, _RME9652_SyncPref_Mask@GOTPAGE Lloh42: ldr x9, [x9, _RME9652_SyncPref_Mask@GOTPAGEOFF] Lloh43: ldr w9, [x9] and w8, w9, w8 sub w8, w8, #128 cmp w8, #3 b.hi LBB0_6 ; %bb.4: Lloh44: adrp x9, l_switch.table.snd_rme9652_proc_read@PAGE Lloh45: add x9, x9, l_switch.table.snd_rme9652_proc_read@PAGEOFF ldr x1, [x9, w8, sxtw #3] b LBB0_7 LBB0_5: Lloh46: adrp x1, l_.str.13@PAGE Lloh47: add x1, x1, l_.str.13@PAGEOFF b LBB0_7 LBB0_6: Lloh48: adrp x1, l_.str.18@PAGE Lloh49: add x1, x1, l_.str.18@PAGEOFF LBB0_7: mov x0, x19 bl _snd_iprintf ldr w8, [x20, #8] cmp w8, #15 b.lt LBB0_9 ; %bb.8: ldr w8, [x20, #4] Lloh50: adrp x9, _RME9652_ADAT1_INTERNAL@GOTPAGE Lloh51: ldr x9, [x9, _RME9652_ADAT1_INTERNAL@GOTPAGEOFF] Lloh52: ldr w9, [x9] Lloh53: adrp x10, l_.str.20@PAGE Lloh54: add x10, x10, l_.str.20@PAGEOFF Lloh55: adrp x11, l_.str.21@PAGE Lloh56: add x11, x11, l_.str.21@PAGEOFF tst w9, w8 csel x8, x11, x10, eq str x8, [sp] Lloh57: adrp x1, l_.str.19@PAGE Lloh58: add x1, x1, l_.str.19@PAGEOFF mov x0, x19 bl _snd_iprintf LBB0_9: Lloh59: adrp x1, l_.str.4@PAGE Lloh60: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 bl _snd_iprintf ldr w8, [x20, #4] Lloh61: adrp x9, _RME9652_inp@GOTPAGE Lloh62: ldr x9, [x9, _RME9652_inp@GOTPAGEOFF] Lloh63: ldr w9, [x9] and w0, w9, w8 bl _rme9652_decode_spdif_in sub w8, w0, #132 cmp w8, #2 b.hi LBB0_11 ; %bb.10: Lloh64: adrp x9, l_switch.table.snd_rme9652_proc_read.50@PAGE Lloh65: add x9, x9, l_switch.table.snd_rme9652_proc_read.50@PAGEOFF ldr x1, [x9, w8, sxtw #3] b LBB0_12 LBB0_11: Lloh66: adrp x1, l_.str.25@PAGE Lloh67: add x1, x1, l_.str.25@PAGEOFF LBB0_12: mov x0, x19 bl _snd_iprintf ldr w8, [x20, #4] Lloh68: adrp x9, _RME9652_opt_out@GOTPAGE Lloh69: ldr x9, [x9, _RME9652_opt_out@GOTPAGEOFF] Lloh70: ldr w9, [x9] Lloh71: adrp x10, l_.str.26@PAGE Lloh72: add x10, x10, l_.str.26@PAGEOFF Lloh73: adrp x11, l_.str.27@PAGE Lloh74: add x11, x11, l_.str.27@PAGEOFF tst w9, w8 csel x1, x11, x10, eq mov x0, x19 bl _snd_iprintf ldr w8, [x20, #4] Lloh75: adrp x9, _RME9652_PRO@GOTPAGE Lloh76: ldr x9, [x9, _RME9652_PRO@GOTPAGEOFF] Lloh77: ldr w9, [x9] Lloh78: adrp x10, l_.str.28@PAGE Lloh79: add x10, x10, l_.str.28@PAGEOFF Lloh80: adrp x11, l_.str.29@PAGE Lloh81: add x11, x11, l_.str.29@PAGEOFF tst w9, w8 csel x1, x11, x10, eq mov x0, x19 bl _snd_iprintf ldr w8, [x20, #4] Lloh82: adrp x9, _RME9652_EMP@GOTPAGE Lloh83: ldr x9, [x9, _RME9652_EMP@GOTPAGEOFF] Lloh84: ldr w9, [x9] Lloh85: adrp x10, l_.str.30@PAGE Lloh86: add x10, x10, l_.str.30@PAGEOFF Lloh87: adrp x11, l_.str.31@PAGE Lloh88: add x11, x11, l_.str.31@PAGEOFF tst w9, w8 csel x1, x11, x10, eq mov x0, x19 bl _snd_iprintf ldr w8, [x20, #4] Lloh89: adrp x9, _RME9652_Dolby@GOTPAGE Lloh90: ldr x9, [x9, _RME9652_Dolby@GOTPAGEOFF] Lloh91: ldr w9, [x9] Lloh92: adrp x10, l_.str.32@PAGE Lloh93: add x10, x10, l_.str.32@PAGEOFF Lloh94: adrp x11, l_.str.33@PAGE Lloh95: add x11, x11, l_.str.33@PAGEOFF tst w9, w8 csel x1, x11, x10, eq mov x0, x19 bl _snd_iprintf mov x0, x20 bl _rme9652_spdif_sample_rate ; kill: def $w0 killed $w0 def $x0 tbnz w0, #31, LBB0_15 ; %bb.13: cbz w0, LBB0_16 ; %bb.14: str x0, [sp] Lloh96: adrp x1, l_.str.36@PAGE Lloh97: add x1, x1, l_.str.36@PAGEOFF b LBB0_17 LBB0_15: Lloh98: adrp x1, l_.str.34@PAGE Lloh99: add x1, x1, l_.str.34@PAGEOFF b LBB0_17 LBB0_16: Lloh100: adrp x1, l_.str.35@PAGE Lloh101: add x1, x1, l_.str.35@PAGEOFF LBB0_17: mov x0, x19 bl _snd_iprintf Lloh102: adrp x1, l_.str.4@PAGE Lloh103: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 bl _snd_iprintf mov x0, x20 bl _rme9652_adat_sample_rate ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh104: adrp x1, l_.str.37@PAGE Lloh105: add x1, x1, l_.str.37@PAGEOFF mov x0, x19 bl _snd_iprintf Lloh106: adrp x8, _RME9652_lock_0@GOTPAGE Lloh107: ldr x8, [x8, _RME9652_lock_0@GOTPAGEOFF] Lloh108: ldr w8, [x8] Lloh109: adrp x25, l_.str.39@PAGE Lloh110: add x25, x25, l_.str.39@PAGEOFF Lloh111: adrp x26, l_.str.40@PAGE Lloh112: add x26, x26, l_.str.40@PAGEOFF tst w8, w21 b.eq LBB0_19 ; %bb.18: Lloh113: adrp x8, _RME9652_sync_0@GOTPAGE Lloh114: ldr x8, [x8, _RME9652_sync_0@GOTPAGEOFF] Lloh115: ldr w8, [x8] tst w8, w21 csel x8, x26, x25, eq str x8, [sp] Lloh116: adrp x1, l_.str.38@PAGE Lloh117: add x1, x1, l_.str.38@PAGEOFF b LBB0_20 LBB0_19: Lloh118: adrp x1, l_.str.41@PAGE Lloh119: add x1, x1, l_.str.41@PAGEOFF LBB0_20: mov x0, x19 bl _snd_iprintf Lloh120: adrp x8, _RME9652_lock_1@GOTPAGE Lloh121: ldr x8, [x8, _RME9652_lock_1@GOTPAGEOFF] Lloh122: ldr w8, [x8] tst w8, w21 b.eq LBB0_22 ; %bb.21: Lloh123: adrp x8, _RME9652_sync_1@GOTPAGE Lloh124: ldr x8, [x8, _RME9652_sync_1@GOTPAGEOFF] Lloh125: ldr w8, [x8] tst w8, w21 csel x8, x26, x25, eq str x8, [sp] Lloh126: adrp x1, l_.str.42@PAGE Lloh127: add x1, x1, l_.str.42@PAGEOFF b LBB0_23 LBB0_22: Lloh128: adrp x1, l_.str.43@PAGE Lloh129: add x1, x1, l_.str.43@PAGEOFF LBB0_23: mov x0, x19 bl _snd_iprintf Lloh130: adrp x8, _RME9652_lock_2@GOTPAGE Lloh131: ldr x8, [x8, _RME9652_lock_2@GOTPAGEOFF] Lloh132: ldr w8, [x8] tst w8, w21 b.eq LBB0_25 ; %bb.24: Lloh133: adrp x8, _RME9652_sync_2@GOTPAGE Lloh134: ldr x8, [x8, _RME9652_sync_2@GOTPAGEOFF] Lloh135: ldr w8, [x8] tst w8, w21 csel x8, x26, x25, eq str x8, [sp] Lloh136: adrp x1, l_.str.44@PAGE Lloh137: add x1, x1, l_.str.44@PAGEOFF b LBB0_26 LBB0_25: Lloh138: adrp x1, l_.str.45@PAGE Lloh139: add x1, x1, l_.str.45@PAGEOFF LBB0_26: mov x0, x19 bl _snd_iprintf Lloh140: adrp x1, l_.str.4@PAGE Lloh141: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 bl _snd_iprintf Lloh142: adrp x8, _RME9652_tc_valid@GOTPAGE Lloh143: ldr x8, [x8, _RME9652_tc_valid@GOTPAGEOFF] Lloh144: ldr w8, [x8] tst w8, w21 csel x8, x24, x23, eq str x8, [sp] Lloh145: adrp x1, l_.str.46@PAGE Lloh146: add x1, x1, l_.str.46@PAGEOFF mov x0, x19 bl _snd_iprintf Lloh147: adrp x1, l_.str.47@PAGE Lloh148: add x1, x1, l_.str.47@PAGEOFF mov x0, x19 bl _snd_iprintf ldr w8, [x20, #12] cmp w8, #1 b.lt LBB0_31 ; %bb.27: mov w8, #0 Lloh149: adrp x23, l_.str.48@PAGE Lloh150: add x23, x23, l_.str.48@PAGEOFF Lloh151: adrp x24, l_.str.49@PAGE Lloh152: add x24, x24, l_.str.49@PAGEOFF Lloh153: adrp x21, l_.str.4@PAGE Lloh154: add x21, x21, l_.str.4@PAGEOFF b LBB0_29 LBB0_28: ; in Loop: Header=BB0_29 Depth=1 ldr w9, [x20, #12] mov x8, x25 cmp w25, w9 b.ge LBB0_31 LBB0_29: ; =>This Inner Loop Header: Depth=1 add w25, w8, #1 lsr w8, w22, w8 tst w8, #0x1 csel x1, x24, x23, eq str x25, [sp] mov x0, x19 bl _snd_iprintf tst w25, #0x7 b.ne LBB0_28 ; %bb.30: ; in Loop: Header=BB0_29 Depth=1 mov x0, x19 mov x1, x21 bl _snd_iprintf b LBB0_28 LBB0_31: Lloh155: adrp x1, l_.str.4@PAGE Lloh156: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 b _snd_iprintf .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpAdd Lloh55, Lloh56 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63 .loh AdrpAdd Lloh59, Lloh60 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh94, Lloh95 .loh AdrpAdd Lloh92, Lloh93 .loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91 .loh AdrpAdd Lloh87, Lloh88 .loh AdrpAdd Lloh85, Lloh86 .loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpAdd Lloh71, Lloh72 .loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpAdd Lloh100, Lloh101 .loh AdrpAdd Lloh111, Lloh112 .loh AdrpAdd Lloh109, Lloh110 .loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108 .loh AdrpAdd Lloh104, Lloh105 .loh AdrpAdd Lloh102, Lloh103 .loh AdrpAdd Lloh116, Lloh117 .loh AdrpLdrGotLdr Lloh113, Lloh114, Lloh115 .loh AdrpAdd Lloh118, Lloh119 .loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122 .loh AdrpAdd Lloh126, Lloh127 .loh AdrpLdrGotLdr Lloh123, Lloh124, Lloh125 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpLdrGotLdr Lloh130, Lloh131, Lloh132 .loh AdrpAdd Lloh136, Lloh137 .loh AdrpLdrGotLdr Lloh133, Lloh134, Lloh135 .loh AdrpAdd Lloh138, Lloh139 .loh AdrpAdd Lloh147, Lloh148 .loh AdrpAdd Lloh145, Lloh146 .loh AdrpLdrGotLdr Lloh142, Lloh143, Lloh144 .loh AdrpAdd Lloh140, Lloh141 .loh AdrpAdd Lloh153, Lloh154 .loh AdrpAdd Lloh151, Lloh152 .loh AdrpAdd Lloh149, Lloh150 .loh AdrpAdd Lloh155, Lloh156 .cfi_endproc ; -- End function .comm _RME9652_status_register,4,2 ; @RME9652_status_register .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s (Card #%d)\n" l_.str.1: ; @.str.1 .asciz "Buffers: capture %p playback %p\n" l_.str.2: ; @.str.2 .asciz "IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n" l_.str.3: ; @.str.3 .asciz "Control register: %x\n" l_.str.4: ; @.str.4 .asciz "\n" .comm _RME9652_latency,4,2 ; @RME9652_latency l_.str.5: ; @.str.5 .asciz "Latency: %d samples (2 periods of %lu bytes)\n" l_.str.6: ; @.str.6 .asciz "Hardware pointer (frames): %ld\n" l_.str.7: ; @.str.7 .asciz "Passthru: %s\n" l_.str.8: ; @.str.8 .asciz "yes" l_.str.9: ; @.str.9 .asciz "no" .comm _RME9652_Master,4,2 ; @RME9652_Master .comm _RME9652_wsel,4,2 ; @RME9652_wsel l_.str.10: ; @.str.10 .asciz "Clock mode: autosync\n" .comm _RME9652_wsel_rd,4,2 ; @RME9652_wsel_rd l_.str.11: ; @.str.11 .asciz "Clock mode: word clock\n" l_.str.12: ; @.str.12 .asciz "Clock mode: word clock (no signal)\n" l_.str.13: ; @.str.13 .asciz "Clock mode: master\n" .comm _RME9652_SyncPref_Mask,4,2 ; @RME9652_SyncPref_Mask l_.str.14: ; @.str.14 .asciz "Pref. sync source: ADAT1\n" l_.str.15: ; @.str.15 .asciz "Pref. sync source: ADAT2\n" l_.str.16: ; @.str.16 .asciz "Pref. sync source: ADAT3\n" l_.str.17: ; @.str.17 .asciz "Pref. sync source: IEC958\n" l_.str.18: ; @.str.18 .asciz "Pref. sync source: ???\n" l_.str.19: ; @.str.19 .asciz "\nADAT1 Input source: %s\n" .comm _RME9652_ADAT1_INTERNAL,4,2 ; @RME9652_ADAT1_INTERNAL l_.str.20: ; @.str.20 .asciz "Internal" l_.str.21: ; @.str.21 .asciz "ADAT1 optical" .comm _RME9652_inp,4,2 ; @RME9652_inp l_.str.22: ; @.str.22 .asciz "IEC958 input: ADAT1\n" l_.str.23: ; @.str.23 .asciz "IEC958 input: Coaxial\n" l_.str.24: ; @.str.24 .asciz "IEC958 input: Internal\n" l_.str.25: ; @.str.25 .asciz "IEC958 input: ???\n" .comm _RME9652_opt_out,4,2 ; @RME9652_opt_out l_.str.26: ; @.str.26 .asciz "IEC958 output: Coaxial & ADAT1\n" l_.str.27: ; @.str.27 .asciz "IEC958 output: Coaxial only\n" .comm _RME9652_PRO,4,2 ; @RME9652_PRO l_.str.28: ; @.str.28 .asciz "IEC958 quality: Professional\n" l_.str.29: ; @.str.29 .asciz "IEC958 quality: Consumer\n" .comm _RME9652_EMP,4,2 ; @RME9652_EMP l_.str.30: ; @.str.30 .asciz "IEC958 emphasis: on\n" l_.str.31: ; @.str.31 .asciz "IEC958 emphasis: off\n" .comm _RME9652_Dolby,4,2 ; @RME9652_Dolby l_.str.32: ; @.str.32 .asciz "IEC958 Dolby: on\n" l_.str.33: ; @.str.33 .asciz "IEC958 Dolby: off\n" l_.str.34: ; @.str.34 .asciz "IEC958 sample rate: error flag set\n" l_.str.35: ; @.str.35 .asciz "IEC958 sample rate: undetermined\n" l_.str.36: ; @.str.36 .asciz "IEC958 sample rate: %d\n" l_.str.37: ; @.str.37 .asciz "ADAT Sample rate: %dHz\n" .comm _RME9652_sync_0,4,2 ; @RME9652_sync_0 .comm _RME9652_lock_0,4,2 ; @RME9652_lock_0 l_.str.38: ; @.str.38 .asciz "ADAT1: %s\n" l_.str.39: ; @.str.39 .asciz "Sync" l_.str.40: ; @.str.40 .asciz "Lock" l_.str.41: ; @.str.41 .asciz "ADAT1: No Lock\n" .comm _RME9652_sync_1,4,2 ; @RME9652_sync_1 .comm _RME9652_lock_1,4,2 ; @RME9652_lock_1 l_.str.42: ; @.str.42 .asciz "ADAT2: %s\n" l_.str.43: ; @.str.43 .asciz "ADAT2: No Lock\n" .comm _RME9652_sync_2,4,2 ; @RME9652_sync_2 .comm _RME9652_lock_2,4,2 ; @RME9652_lock_2 l_.str.44: ; @.str.44 .asciz "ADAT3: %s\n" l_.str.45: ; @.str.45 .asciz "ADAT3: No Lock\n" l_.str.46: ; @.str.46 .asciz "Timecode signal: %s\n" .comm _RME9652_tc_valid,4,2 ; @RME9652_tc_valid l_.str.47: ; @.str.47 .asciz "Punch Status:\n\n" l_.str.48: ; @.str.48 .asciz "%2d: on " l_.str.49: ; @.str.49 .asciz "%2d: off " .no_dead_strip _snd_rme9652_proc_read .section __DATA,__const .p2align 3 ; @switch.table.snd_rme9652_proc_read l_switch.table.snd_rme9652_proc_read: .quad l_.str.17 .quad l_.str.16 .quad l_.str.15 .quad l_.str.14 .p2align 3 ; @switch.table.snd_rme9652_proc_read.50 l_switch.table.snd_rme9652_proc_read.50: .quad l_.str.22 .quad l_.str.24 .quad l_.str.23 .subsections_via_symbols
AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_proc_read.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mul_f ## -- Begin function mul_f .p2align 4, 0x90 _mul_f: ## @mul_f .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 (%rsi), %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 leaq L_.str(%rip), %rbx movq %rbx, %rdi movl $6, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $6, %esi xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx 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 _mul_f ; -- Begin function mul_f .p2align 2 _mul_f: ; @mul_f .cfi_startproc ; %bb.0: ldr w8, [x1] mul w0, w8, w0 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov w20, #6 str x20, [sp] Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf str x20, [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 Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d\n" .subsections_via_symbols
the_stack_data/97101.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Bufferize _Bufferize: ## @Bufferize .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, %r13 movq 8(%rdi), %r12 movl (%rdi), %ebx imull (%r12), %ebx movq 8(%r12), %rdi callq _ARRAY_SIZE movl %eax, %r14d subl %ebx, %r14d jbe LBB0_4 ## %bb.1: imull (%r13), %r15d leal (%r15,%rbx), %ecx cmpl %eax, %ecx jbe LBB0_3 ## %bb.2: leaq L_.str.1(%rip), %rsi movq %r13, %rdi callq _msg_Err movl %r14d, %r15d LBB0_3: movl %ebx, %edi addq 8(%r12), %rdi shll $2, %r15d movq -48(%rbp), %rsi ## 8-byte Reload movl %r15d, %edx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _memcpy ## TAILCALL LBB0_4: leaq L_.str(%rip), %rsi movq %r13, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _msg_Err ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "buffer full" L_.str.1: ## @.str.1 .asciz "dropping samples" .no_dead_strip _Bufferize .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Bufferize _Bufferize: ; @Bufferize .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x2 mov x19, x1 mov x20, x0 ldr x22, [x0, #8] ldr w8, [x22] ldr w9, [x0] mul w23, w9, w8 ldr x0, [x22, #8] bl _ARRAY_SIZE subs w24, w0, w23 b.ls LBB0_4 ; %bb.1: ldr w8, [x20] mul w8, w8, w21 add w9, w8, w23 cmp w9, w0 b.ls LBB0_3 ; %bb.2: Lloh0: adrp x1, l_.str.1@PAGE Lloh1: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _msg_Err mov x8, x24 LBB0_3: ldr x9, [x22, #8] add x0, x9, w23, uxtw lsl w2, w8, #2 mov x1, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _memcpy LBB0_4: Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _msg_Err .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "buffer full" l_.str.1: ; @.str.1 .asciz "dropping samples" .no_dead_strip _Bufferize .subsections_via_symbols
AnghaBench/vlc/modules/codec/extr_twolame.c_Bufferize.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformCreateStandardCursor ## -- Begin function _glfwPlatformCreateStandardCursor .p2align 4, 0x90 __glfwPlatformCreateStandardCursor: ## @_glfwPlatformCreateStandardCursor .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %ebx movl %esi, %edi callq _translateCursorShape movl %ebx, %edi movl %eax, %esi callq _XCreateFontCursor movl %eax, (%r14) testl %eax, %eax je LBB0_2 ## %bb.1: movq _GLFW_TRUE@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_2: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq __glfwInputError movq _GLFW_FALSE@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "X11: Failed to create standard cursor" .comm _GLFW_FALSE,4,2 ## @GLFW_FALSE .comm _GLFW_TRUE,4,2 ## @GLFW_TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformCreateStandardCursor ; -- Begin function _glfwPlatformCreateStandardCursor .p2align 2 __glfwPlatformCreateStandardCursor: ; @_glfwPlatformCreateStandardCursor .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr w20, [x8] mov x0, x1 bl _translateCursorShape mov x1, x0 mov x0, x20 bl _XCreateFontCursor str w0, [x19] cbz w0, LBB0_2 ; %bb.1: Lloh3: adrp x8, _GLFW_TRUE@GOTPAGE Lloh4: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] b LBB0_3 LBB0_2: Lloh5: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh6: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh7: ldr w0, [x8] Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF bl __glfwInputError Lloh10: adrp x8, _GLFW_FALSE@GOTPAGE Lloh11: ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] LBB0_3: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "X11: Failed to create standard cursor" .comm _GLFW_FALSE,4,2 ; @GLFW_FALSE .comm _GLFW_TRUE,4,2 ; @GLFW_TRUE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_x11_window.c__glfwPlatformCreateStandardCursor.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _r8712_update_registrypriv_dev_network ## -- Begin function r8712_update_registrypriv_dev_network .p2align 4, 0x90 _r8712_update_registrypriv_dev_network: ## @r8712_update_registrypriv_dev_network .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 %edi, %edi cmpq $0, 8(%rbx) setg %dil callq _cpu_to_le32 movl %eax, 64(%rbx) movq $0, 56(%rbx) movl 16(%rbx), %eax addl $-128, %eax cmpl $3, %eax ja LBB0_2 ## %bb.1: cltq leaq l_switch.table.r8712_update_registrypriv_dev_network(%rip), %rcx movq (%rcx,%rax,8), %rax movl (%rax), %eax movl %eax, 48(%rbx) LBB0_2: leaq 16(%rbx), %rdi movl 20(%rbx), %eax movl %eax, 44(%rbx) movq (%rbx), %rax movq _Ndis802_11IBSS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_4 ## %bb.3: movl $3, 40(%rbx) LBB0_4: leaq 24(%rbx), %r14 movq %rax, 24(%rbx) callq _r8712_generate_ie movl %eax, 32(%rbx) movq %r14, %rdi callq _r8712_get_wlan_bssid_ex_sz movl %eax, 36(%rbx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _Ndis802_11DS,4,2 ## @Ndis802_11DS .comm _Ndis802_11OFDM24,4,2 ## @Ndis802_11OFDM24 .comm _Ndis802_11OFDM5,4,2 ## @Ndis802_11OFDM5 .comm _Ndis802_11IBSS,8,3 ## @Ndis802_11IBSS .section __DATA,__const .p2align 3 ## @switch.table.r8712_update_registrypriv_dev_network l_switch.table.r8712_update_registrypriv_dev_network: .quad _Ndis802_11OFDM24 .quad _Ndis802_11OFDM24 .quad _Ndis802_11DS .quad _Ndis802_11OFDM5 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _r8712_update_registrypriv_dev_network ; -- Begin function r8712_update_registrypriv_dev_network .p2align 2 _r8712_update_registrypriv_dev_network: ; @r8712_update_registrypriv_dev_network .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0, #8] cmp x8, #0 cset w0, gt bl _cpu_to_le32 mov x8, x0 mov x0, x19 ldr w9, [x0, #16]! str w8, [x0, #48] str xzr, [x0, #40] sub w8, w9, #128 cmp w8, #3 b.hi LBB0_2 ; %bb.1: Lloh0: adrp x9, l_switch.table.r8712_update_registrypriv_dev_network@PAGE Lloh1: add x9, x9, l_switch.table.r8712_update_registrypriv_dev_network@PAGEOFF ldr x8, [x9, w8, sxtw #3] ldr w8, [x8] str w8, [x19, #48] LBB0_2: ldr w8, [x19, #20] str w8, [x19, #44] ldr x8, [x19] Lloh2: adrp x9, _Ndis802_11IBSS@GOTPAGE Lloh3: ldr x9, [x9, _Ndis802_11IBSS@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp x8, x9 b.ne LBB0_4 ; %bb.3: mov w9, #3 str w9, [x19, #40] LBB0_4: str x8, [x19, #24]! bl _r8712_generate_ie str w0, [x19, #8] mov x0, x19 bl _r8712_get_wlan_bssid_ex_sz str w0, [x19, #12] 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 .cfi_endproc ; -- End function .comm _Ndis802_11DS,4,2 ; @Ndis802_11DS .comm _Ndis802_11OFDM24,4,2 ; @Ndis802_11OFDM24 .comm _Ndis802_11OFDM5,4,2 ; @Ndis802_11OFDM5 .comm _Ndis802_11IBSS,8,3 ; @Ndis802_11IBSS .section __DATA,__const .p2align 3 ; @switch.table.r8712_update_registrypriv_dev_network l_switch.table.r8712_update_registrypriv_dev_network: .quad _Ndis802_11OFDM24 .quad _Ndis802_11OFDM24 .quad _Ndis802_11DS .quad _Ndis802_11OFDM5 .subsections_via_symbols
AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_mlme.c_r8712_update_registrypriv_dev_network.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function skl_check_nv12_aux_surface _skl_check_nv12_aux_surface: ## @skl_check_nv12_aux_surface .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq 24(%rdi), %rdi movl 8(%rbx), %edx movl $1, %esi callq _skl_max_plane_width movl %eax, -52(%rbp) ## 4-byte Spill leaq 12(%rbx), %r12 movl 12(%rbx), %eax sarl $17, %eax movl %eax, -48(%rbp) movl 16(%rbx), %eax sarl $17, %eax movl %eax, -44(%rbp) movq %r12, %rdi callq _drm_rect_width movl %eax, %r15d sarl $17, %r15d movq %r12, %rdi callq _drm_rect_height movl %eax, %r12d leaq -48(%rbp), %r13 leaq -44(%rbp), %r14 movq %r13, %rdi movq %r14, %rsi movq %rbx, %rdx movl $1, %ecx callq _intel_add_fb_offsets movq %r13, %rdi movq %r14, %rsi movq %rbx, %rdx movl $1, %ecx callq _intel_plane_compute_aligned_offset movl -52(%rbp), %ecx ## 4-byte Reload cmpl %ecx, %r15d jg LBB0_2 ## %bb.1: cmpl $537001984, %r12d ## imm = 0x20020000 jge LBB0_2 ## %bb.3: movq (%rbx), %rcx movl %eax, 20(%rcx) movl -48(%rbp), %eax movl %eax, 12(%rcx) movl -44(%rbp), %eax movl %eax, 16(%rcx) xorl %eax, %eax jmp LBB0_4 LBB0_2: sarl $17, %r12d leaq L_.str(%rip), %rdi movl %r15d, %esi movl %r12d, %edx movl $4096, %r8d ## imm = 0x1000 callq _DRM_DEBUG_KMS movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_4: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "CbCr source size %dx%d too big (limit %dx%d)\n" .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _skl_check_nv12_aux_surface .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function skl_check_nv12_aux_surface _skl_check_nv12_aux_surface: ; @skl_check_nv12_aux_surface .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x0, [x0, #24] ldr w2, [x19, #8] mov w1, #1 bl _skl_max_plane_width mov x20, x0 mov x22, x19 ldr w8, [x22, #12]! asr w9, w8, #17 ldr w8, [x19, #16] asr w8, w8, #17 stp w8, w9, [sp, #8] mov x0, x22 bl _drm_rect_width asr w21, w0, #17 mov x0, x22 bl _drm_rect_height mov x22, x0 add x0, sp, #12 add x1, sp, #8 mov x2, x19 mov w3, #1 bl _intel_add_fb_offsets add x0, sp, #12 add x1, sp, #8 mov x2, x19 mov w3, #1 bl _intel_plane_compute_aligned_offset cmp w21, w20 mov w9, #537001984 ccmp w22, w9, #0, le b.lt LBB0_2 ; %bb.1: asr w2, w22, #17 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x21 mov x3, x20 mov w4, #4096 bl _DRM_DEBUG_KMS Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w0, w8 b LBB0_3 LBB0_2: mov x8, x0 mov w0, #0 ldr x9, [x19] str w8, [x9, #20] ldp w10, w8, [sp, #8] stp w8, w10, [x9, #12] LBB0_3: 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 Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "CbCr source size %dx%d too big (limit %dx%d)\n" .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _skl_check_nv12_aux_surface .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display.c_skl_check_nv12_aux_surface.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function keyprint_one _keyprint_one: ## @keyprint_one .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %rbx movq _print_sshfp@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_1 ## %bb.8: movq _stdout@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi movq %r15, %rsi xorl %ecx, %ecx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _export_dns_rr ## TAILCALL LBB0_1: movq _ssh_port@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _put_host_port movq %rax, %r14 movq %rax, %rdi callq _lowercase movq _hash_hosts@GOTPCREL(%rip), %r12 cmpq $0, (%r12) je LBB0_2 ## %bb.3: movq %rbx, %rdi xorl %esi, %esi xorl %edx, %edx callq _host_hash testq %rax, %rax jne LBB0_5 ## %bb.4: leaq L_.str(%rip), %rdi callq _fatal xorl %eax, %eax jmp LBB0_5 LBB0_2: ## implicit-def: $rax LBB0_5: movq _get_cert@GOTPCREL(%rip), %rcx cmpl $0, (%rcx) jne LBB0_7 ## %bb.6: cmpq $0, (%r12) cmoveq %r14, %rax movq _stdout@GOTPCREL(%rip), %rcx movl (%rcx), %edi leaq L_.str.1(%rip), %rsi movq %rax, %rdx callq _fprintf LBB0_7: movq _stdout@GOTPCREL(%rip), %rbx movl (%rbx), %esi movq %r15, %rdi callq _sshkey_write movl (%rbx), %esi leaq L_.str.2(%rip), %rdi callq _fputs movq %r14, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .comm _print_sshfp,8,3 ## @print_sshfp .comm _stdout,4,2 ## @stdout .comm _ssh_port,4,2 ## @ssh_port .comm _hash_hosts,8,3 ## @hash_hosts .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "host_hash failed" .comm _get_cert,4,2 ## @get_cert L_.str.1: ## @.str.1 .asciz "%s " L_.str.2: ## @.str.2 .asciz "\n" .no_dead_strip _keyprint_one .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function keyprint_one _keyprint_one: ; @keyprint_one .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x21, x0 Lloh0: adrp x8, _print_sshfp@GOTPAGE Lloh1: ldr x8, [x8, _print_sshfp@GOTPAGEOFF] Lloh2: ldr x8, [x8] cbz x8, LBB0_2 ; %bb.1: Lloh3: adrp x8, _stdout@GOTPAGE Lloh4: ldr x8, [x8, _stdout@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov x0, x21 mov x1, x19 mov w3, #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 b _export_dns_rr LBB0_2: Lloh6: adrp x8, _ssh_port@GOTPAGE Lloh7: ldr x8, [x8, _ssh_port@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x0, x21 bl _put_host_port mov x20, x0 bl _lowercase Lloh9: adrp x22, _hash_hosts@GOTPAGE Lloh10: ldr x22, [x22, _hash_hosts@GOTPAGEOFF] ldr x8, [x22] cbz x8, LBB0_5 ; %bb.3: mov x0, x21 mov x1, #0 mov w2, #0 bl _host_hash cbnz x0, LBB0_6 ; %bb.4: Lloh11: adrp x0, l_.str@PAGE Lloh12: add x0, x0, l_.str@PAGEOFF bl _fatal mov x0, #0 b LBB0_6 LBB0_5: ; implicit-def: $x0 LBB0_6: Lloh13: adrp x8, _get_cert@GOTPAGE Lloh14: ldr x8, [x8, _get_cert@GOTPAGEOFF] Lloh15: ldr w8, [x8] cbnz w8, LBB0_8 ; %bb.7: ldr x8, [x22] cmp x8, #0 csel x2, x20, x0, eq Lloh16: adrp x8, _stdout@GOTPAGE Lloh17: ldr x8, [x8, _stdout@GOTPAGEOFF] Lloh18: ldr w0, [x8] Lloh19: adrp x1, l_.str.1@PAGE Lloh20: add x1, x1, l_.str.1@PAGEOFF bl _fprintf LBB0_8: Lloh21: adrp x21, _stdout@GOTPAGE Lloh22: ldr x21, [x21, _stdout@GOTPAGEOFF] ldr w1, [x21] mov x0, x19 bl _sshkey_write ldr w1, [x21] Lloh23: adrp x0, l_.str.2@PAGE Lloh24: add x0, x0, l_.str.2@PAGEOFF bl _fputs mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _free .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGot Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _print_sshfp,8,3 ; @print_sshfp .comm _stdout,4,2 ; @stdout .comm _ssh_port,4,2 ; @ssh_port .comm _hash_hosts,8,3 ; @hash_hosts .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "host_hash failed" .comm _get_cert,4,2 ; @get_cert l_.str.1: ; @.str.1 .asciz "%s " l_.str.2: ; @.str.2 .asciz "\n" .no_dead_strip _keyprint_one .subsections_via_symbols
AnghaBench/freebsd/crypto/openssh/extr_ssh-keyscan.c_keyprint_one.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cx25840_s_tuner _cx25840_s_tuner: ## @cx25840_s_tuner .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx callq _to_state movq %rax, %r13 movq %rbx, %rdi callq _v4l2_get_subdevdata xorl %r15d, %r15d cmpq $0, 8(%r13) jne LBB0_5 ## %bb.1: movq %rax, %r12 movq %r13, %rdi callq _is_cx2583x testq %rax, %rax jne LBB0_5 ## %bb.2: movl (%r14), %eax addl $-128, %eax cmpl $5, %eax jae LBB0_3 ## %bb.4: cltq leaq l_switch.table.cx25840_s_tuner(%rip), %rcx movl (%rcx,%rax,4), %ecx movq %r12, %rdi movl $2057, %esi ## imm = 0x809 movl $-16, %edx callq _cx25840_and_or movl (%r14), %eax movl %eax, (%r13) jmp LBB0_5 LBB0_3: movq _EINVAL@GOTPCREL(%rip), %rax xorl %r15d, %r15d subl (%rax), %r15d LBB0_5: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _cx25840_s_tuner .section __TEXT,__const .p2align 2 ## @switch.table.cx25840_s_tuner l_switch.table.cx25840_s_tuner: .long 4 ## 0x4 .long 0 ## 0x0 .long 1 ## 0x1 .long 7 ## 0x7 .long 4 ## 0x4 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cx25840_s_tuner _cx25840_s_tuner: ; @cx25840_s_tuner .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x21, x0 bl _to_state mov x20, x0 mov x0, x21 bl _v4l2_get_subdevdata ldr x8, [x20, #8] cbnz x8, LBB0_2 ; %bb.1: mov x21, x0 mov x0, x20 bl _is_cx2583x cbz x0, LBB0_4 LBB0_2: mov w0, #0 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_4: ldr w8, [x19] sub w8, w8, #128 cmp w8, #5 b.hs LBB0_6 ; %bb.5: Lloh0: adrp x9, l_switch.table.cx25840_s_tuner@PAGE Lloh1: add x9, x9, l_switch.table.cx25840_s_tuner@PAGEOFF ldr w3, [x9, w8, sxtw #2] mov x0, x21 mov w1, #2057 mov w2, #-16 bl _cx25840_and_or mov w0, #0 ldr w8, [x19] str w8, [x20] b LBB0_3 LBB0_6: Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w0, w8 b LBB0_3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _cx25840_s_tuner .section __TEXT,__const .p2align 2 ; @switch.table.cx25840_s_tuner l_switch.table.cx25840_s_tuner: .long 4 ; 0x4 .long 0 ; 0x0 .long 1 ; 0x1 .long 7 ; 0x7 .long 4 ; 0x4 .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/cx25840/extr_cx25840-core.c_cx25840_s_tuner.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 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/100141746.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $536, %rsp ## imm = 0x218 .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) cmpl $2, %edi jne LBB0_21 ## %bb.1: movq %rsi, %rbx movl $2, %edi movl $1, %esi xorl %edx, %edx callq _socket testl %eax, %eax js LBB0_2 ## %bb.5: movl %eax, %r15d xorps %xmm0, %xmm0 movaps %xmm0, -64(%rbp) movb $2, -63(%rbp) movq 8(%rbx), %rdi callq _inet_addr movl %eax, -60(%rbp) movw $-13305, -62(%rbp) ## imm = 0xCC07 leaq -64(%rbp), %rsi movl %r15d, %edi movl $16, %edx callq _connect testl %eax, %eax js LBB0_6 ## %bb.7: leaq L_str(%rip), %rdi callq _puts leaq L_.str.4(%rip), %r14 movq ___stdinp@GOTPCREL(%rip), %r13 leaq -576(%rbp), %rbx movl $28975, %r12d ## imm = 0x712F .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi xorl %eax, %eax callq _printf movq (%r13), %rdx movq %rbx, %rdi movl $512, %esi ## imm = 0x200 callq _fgets movq %rbx, %rdi callq _strlen testl %eax, %eax je LBB0_8 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 shlq $32, %rax movabsq $-4294967296, %rcx ## imm = 0xFFFFFFFF00000000 addq %rax, %rcx sarq $32, %rcx movb $0, -576(%rbp,%rcx) movl -576(%rbp), %ecx xorl %r12d, %ecx movzbl -574(%rbp), %edx orw %cx, %dx je LBB0_16 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 sarq $32, %rax movl %r15d, %edi movq %rbx, %rsi movq %rax, %rdx xorl %ecx, %ecx callq _send testq %rax, %rax js LBB0_11 ## %bb.12: ## in Loop: Header=BB0_8 Depth=1 movl $512, %edx ## imm = 0x200 movl %r15d, %edi movq %rbx, %rsi xorl %ecx, %ecx callq _recv testl %eax, %eax js LBB0_13 ## %bb.14: ## in Loop: Header=BB0_8 Depth=1 je LBB0_20 ## %bb.15: ## in Loop: Header=BB0_8 Depth=1 cltq movb $0, -576(%rbp,%rax) leaq L_.str.9(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf jmp LBB0_8 LBB0_16: leaq L_.str.5(%rip), %rcx leaq -576(%rbp), %rbx movl $512, %edx ## imm = 0x200 movq %rbx, %rdi xorl %esi, %esi xorl %eax, %eax callq ___sprintf_chk movq %rbx, %rdi callq _strlen movl %r15d, %edi movq %rbx, %rsi movq %rax, %rdx xorl %ecx, %ecx callq _send testq %rax, %rax js LBB0_17 ## %bb.18: movl %r15d, %edi callq _close LBB0_3: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_19 ## %bb.4: xorl %eax, %eax addq $536, %rsp ## imm = 0x218 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: callq _main.cold.1 jmp LBB0_3 LBB0_6: callq _main.cold.2 jmp LBB0_3 LBB0_11: callq _main.cold.4 jmp LBB0_3 LBB0_13: callq _main.cold.5 jmp LBB0_3 LBB0_17: callq _main.cold.3 jmp LBB0_3 LBB0_20: leaq L_str.10(%rip), %rdi callq _puts movl $1, %edi callq _exit LBB0_21: leaq L_str.11(%rip), %rdi callq _puts xorl %edi, %edi callq _exit LBB0_19: callq ___stack_chk_fail .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.1 _main.cold.1: ## @main.cold.1 .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.1(%rip), %rdi callq _perror pushq $1 popq %rdi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.2 _main.cold.2: ## @main.cold.2 .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 callq _perror pushq $1 popq %rdi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.3 _main.cold.3: ## @main.cold.3 .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.6(%rip), %rdi callq _perror pushq $1 popq %rdi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.4 _main.cold.4: ## @main.cold.4 .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.6(%rip), %rdi callq _perror pushq $1 popq %rdi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.5 _main.cold.5: ## @main.cold.5 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str.7(%rip), %rdi callq _perror pushq $1 popq %rdi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "socket" L_.str.2: ## @.str.2 .asciz "connect" L_.str.4: ## @.str.4 .asciz "> " L_.str.5: ## @.str.5 .asciz "/q" L_.str.6: ## @.str.6 .asciz "send" L_.str.7: ## @.str.7 .asciz "recv" L_.str.9: ## @.str.9 .asciz "<< %s\n" L_str: ## @str .asciz "Connected to Echo server. Type /q to quit." L_str.10: ## @str.10 .asciz "Remote host has closed the connection" L_str.11: ## @str.11 .asciz "Usage: echoc <ip>\nEx.: echoc 10.30.0.2" .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 x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 sub sp, sp, #544 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] cmp w0, #2 b.ne LBB0_16 ; %bb.1: mov x20, x1 mov w21, #2 mov w1, #1 mov w2, #0 bl _socket tbnz w0, #31, LBB0_17 ; %bb.2: mov x19, x0 stp xzr, xzr, [x29, #-88] sturb w21, [x29, #-87] ldr x0, [x20, #8] bl _inet_addr stur w0, [x29, #-84] mov w8, #52231 sturh w8, [x29, #-86] sub x1, x29, #88 mov x0, x19 mov w2, #16 bl _connect tbnz w0, #31, LBB0_18 ; %bb.3: Lloh3: adrp x0, l_str@PAGE Lloh4: add x0, x0, l_str@PAGEOFF bl _puts Lloh5: adrp x20, l_.str.4@PAGE Lloh6: add x20, x20, l_.str.4@PAGEOFF Lloh7: adrp x22, ___stdinp@GOTPAGE Lloh8: ldr x22, [x22, ___stdinp@GOTPAGEOFF] add x23, sp, #8 mov x24, #-4294967296 mov w25, #28975 Lloh9: adrp x21, l_.str.9@PAGE Lloh10: add x21, x21, l_.str.9@PAGEOFF LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _printf ldr x2, [x22] add x0, sp, #8 mov w1, #512 bl _fgets add x0, sp, #8 bl _strlen cbz w0, LBB0_4 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 lsl x8, x0, #32 add x9, x8, x24 asr x9, x9, #32 strb wzr, [x23, x9] ldrh w9, [sp, #8] eor w9, w9, w25 ldrb w10, [sp, #10] orr w9, w9, w10 cbz w9, LBB0_10 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 asr x2, x8, #32 add x1, sp, #8 mov x0, x19 mov w3, #0 bl _send tbnz x0, #63, LBB0_13 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 add x1, sp, #8 mov x0, x19 mov w2, #512 mov w3, #0 bl _recv tbnz w0, #31, LBB0_14 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 cbz w0, LBB0_15 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 strb wzr, [x23, w0, sxtw] str x23, [sp] mov x0, x21 bl _printf b LBB0_4 LBB0_10: Lloh11: adrp x3, l_.str.5@PAGE Lloh12: add x3, x3, l_.str.5@PAGEOFF add x0, sp, #8 mov w1, #0 mov w2, #512 bl ___sprintf_chk add x0, sp, #8 bl _strlen mov x2, x0 add x1, sp, #8 mov x0, x19 mov w3, #0 bl _send tbnz x0, #63, LBB0_19 ; %bb.11: mov x0, x19 bl _close ldur x8, [x29, #-72] Lloh13: adrp x9, ___stack_chk_guard@GOTPAGE Lloh14: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh15: ldr x9, [x9] cmp x9, x8 b.ne LBB0_20 ; %bb.12: mov w0, #0 add sp, sp, #544 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_13: bl _main.cold.4 LBB0_14: bl _main.cold.5 LBB0_15: Lloh16: adrp x0, l_str.10@PAGE Lloh17: add x0, x0, l_str.10@PAGEOFF bl _puts mov w0, #1 bl _exit LBB0_16: Lloh18: adrp x0, l_str.11@PAGE Lloh19: add x0, x0, l_str.11@PAGEOFF bl _puts mov w0, #0 bl _exit LBB0_17: bl _main.cold.1 LBB0_18: bl _main.cold.2 LBB0_19: bl _main.cold.3 LBB0_20: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.1 _main.cold.1: ; @main.cold.1 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh20: adrp x0, l_.str.1@PAGE Lloh21: add x0, x0, l_.str.1@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh20, Lloh21 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.2 _main.cold.2: ; @main.cold.2 .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 Lloh22: adrp x0, l_.str.2@PAGE Lloh23: add x0, x0, l_.str.2@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh22, Lloh23 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.3 _main.cold.3: ; @main.cold.3 .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 Lloh24: adrp x0, l_.str.6@PAGE Lloh25: add x0, x0, l_.str.6@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh24, Lloh25 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.4 _main.cold.4: ; @main.cold.4 .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 Lloh26: adrp x0, l_.str.6@PAGE Lloh27: add x0, x0, l_.str.6@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh26, Lloh27 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.5 _main.cold.5: ; @main.cold.5 .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 Lloh28: adrp x0, l_.str.7@PAGE Lloh29: add x0, x0, l_.str.7@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh28, Lloh29 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function OUTLINED_FUNCTION_0 _OUTLINED_FUNCTION_0: ; @OUTLINED_FUNCTION_0 Thunk .cfi_startproc ; %bb.0: mov w0, #1 b _exit .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "socket" l_.str.2: ; @.str.2 .asciz "connect" l_.str.4: ; @.str.4 .asciz "> " l_.str.5: ; @.str.5 .asciz "/q" l_.str.6: ; @.str.6 .asciz "send" l_.str.7: ; @.str.7 .asciz "recv" l_.str.9: ; @.str.9 .asciz "<< %s\n" l_str: ; @str .asciz "Connected to Echo server. Type /q to quit." l_str.10: ; @str.10 .asciz "Remote host has closed the connection" l_str.11: ; @str.11 .asciz "Usage: echoc <ip>\nEx.: echoc 10.30.0.2" .subsections_via_symbols
the_stack_data/28264056.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lapic_set_timer_fast ## -- Begin function lapic_set_timer_fast .p2align 4, 0x90 _lapic_set_timer_fast: ## @lapic_set_timer_fast .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %r14d movq _LVT_TIMER@GOTPCREL(%rip), %rax movl (%rax), %ebx movl %ebx, %edi callq _LAPIC_READ movq _LAPIC_LVT_MASKED@GOTPCREL(%rip), %rcx movl (%rcx), %esi notl %esi andl %eax, %esi movl %ebx, %edi callq _LAPIC_WRITE movq _TIMER_INITIAL_COUNT@GOTPCREL(%rip), %rax movl (%rax), %edi movl %r14d, %esi popq %rbx popq %r14 popq %rbp jmp _LAPIC_WRITE ## TAILCALL .cfi_endproc ## -- End function .comm _LVT_TIMER,4,2 ## @LVT_TIMER .comm _LAPIC_LVT_MASKED,4,2 ## @LAPIC_LVT_MASKED .comm _TIMER_INITIAL_COUNT,4,2 ## @TIMER_INITIAL_COUNT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lapic_set_timer_fast ; -- Begin function lapic_set_timer_fast .p2align 2 _lapic_set_timer_fast: ; @lapic_set_timer_fast .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _LVT_TIMER@GOTPAGE Lloh1: ldr x8, [x8, _LVT_TIMER@GOTPAGEOFF] Lloh2: ldr w20, [x8] mov x0, x20 bl _LAPIC_READ Lloh3: adrp x8, _LAPIC_LVT_MASKED@GOTPAGE Lloh4: ldr x8, [x8, _LAPIC_LVT_MASKED@GOTPAGEOFF] Lloh5: ldr w8, [x8] bic w1, w0, w8 mov x0, x20 bl _LAPIC_WRITE Lloh6: adrp x8, _TIMER_INITIAL_COUNT@GOTPAGE Lloh7: ldr x8, [x8, _TIMER_INITIAL_COUNT@GOTPAGEOFF] Lloh8: ldr w0, [x8] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _LAPIC_WRITE .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _LVT_TIMER,4,2 ; @LVT_TIMER .comm _LAPIC_LVT_MASKED,4,2 ; @LAPIC_LVT_MASKED .comm _TIMER_INITIAL_COUNT,4,2 ; @TIMER_INITIAL_COUNT .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/i386/extr_lapic_native.c_lapic_set_timer_fast.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _freebsd32_kevent ## -- Begin function freebsd32_kevent .p2align 4, 0x90 _freebsd32_kevent: ## @freebsd32_kevent .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq %rdi, %r14 movq _freebsd32_kevent_copyin@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -40(%rbp) movq _freebsd32_kevent_copyout@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -36(%rbp) movq %rsi, -32(%rbp) movq 24(%rsi), %rdi testq %rdi, %rdi je LBB0_1 ## %bb.2: leaq -24(%rbp), %rsi movl $4, %edx callq _copyin testl %eax, %eax jne LBB0_5 ## %bb.3: movq _tv_sec@GOTPCREL(%rip), %rax movl (%rax), %edx movl -24(%rbp), %edi callq _CP movq _tv_nsec@GOTPCREL(%rip), %rax movl (%rax), %edx movl -24(%rbp), %edi callq _CP leaq -48(%rbp), %r9 jmp LBB0_4 LBB0_1: xorl %r9d, %r9d LBB0_4: movl 8(%rbx), %esi movl (%rbx), %ecx movl 4(%rbx), %edx leaq -40(%rbp), %r8 movq %r14, %rdi callq _kern_kevent LBB0_5: addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _freebsd32_kevent_copyin,4,2 ## @freebsd32_kevent_copyin .comm _freebsd32_kevent_copyout,4,2 ## @freebsd32_kevent_copyout .comm _tv_sec,4,2 ## @tv_sec .comm _tv_nsec,4,2 ## @tv_nsec .comm _KTR_STRUCT_ARRAY,4,2 ## @KTR_STRUCT_ARRAY .comm _UIO_USERSPACE,4,2 ## @UIO_USERSPACE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _freebsd32_kevent ; -- Begin function freebsd32_kevent .p2align 2 _freebsd32_kevent: ; @freebsd32_kevent .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 Lloh0: adrp x8, _freebsd32_kevent_copyin@GOTPAGE Lloh1: ldr x8, [x8, _freebsd32_kevent_copyin@GOTPAGEOFF] Lloh2: adrp x9, _freebsd32_kevent_copyout@GOTPAGE Lloh3: ldr x9, [x9, _freebsd32_kevent_copyout@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: ldr w9, [x9] stp w8, w9, [sp] str x1, [sp, #8] ldr x0, [x1, #24] cbz x0, LBB0_3 ; %bb.1: add x1, sp, #24 mov w2, #4 bl _copyin cbnz w0, LBB0_5 ; %bb.2: Lloh6: adrp x8, _tv_sec@GOTPAGE Lloh7: ldr x8, [x8, _tv_sec@GOTPAGEOFF] Lloh8: ldr w2, [x8] ldr w0, [sp, #24] mov x1, #0 bl _CP Lloh9: adrp x8, _tv_nsec@GOTPAGE Lloh10: ldr x8, [x8, _tv_nsec@GOTPAGEOFF] Lloh11: ldr w2, [x8] ldr w0, [sp, #24] mov x1, #0 bl _CP add x5, sp, #16 b LBB0_4 LBB0_3: mov x5, #0 LBB0_4: ldp w2, w1, [x20, #4] ldr w3, [x20] mov x4, sp mov x0, x19 bl _kern_kevent LBB0_5: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _freebsd32_kevent_copyin,4,2 ; @freebsd32_kevent_copyin .comm _freebsd32_kevent_copyout,4,2 ; @freebsd32_kevent_copyout .comm _tv_sec,4,2 ; @tv_sec .comm _tv_nsec,4,2 ; @tv_nsec .comm _KTR_STRUCT_ARRAY,4,2 ; @KTR_STRUCT_ARRAY .comm _UIO_USERSPACE,4,2 ; @UIO_USERSPACE .subsections_via_symbols
AnghaBench/freebsd/sys/compat/freebsd32/extr_freebsd32_misc.c_freebsd32_kevent.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/101492.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uart_cpu_getdev ## -- Begin function uart_cpu_getdev .p2align 4, 0x90 _uart_cpu_getdev: ## @uart_cpu_getdev .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movl %edi, %r15d movq _uart_ns8250_class@GOTPCREL(%rip), %rdx callq _uart_getenv testq %rax, %rax je LBB0_1 ## %bb.2: movq %rbx, -56(%rbp) ## 8-byte Spill leaq 32(%rbx), %rax movq %rax, -64(%rbp) ## 8-byte Spill xorl %ebx, %ebx leaq L_.str(%rip), %r13 leaq L_.str.1(%rip), %r12 leaq -44(%rbp), %r14 jmp LBB0_3 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_3 Depth=1 incl %ebx cmpl $4, %ebx je LBB0_17 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r13, %rdi movl %ebx, %esi movq %r12, %rdx movq %r14, %rcx callq _resource_int_value testq %rax, %rax jne LBB0_16 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq _UART_DEV_CONSOLE@GOTPCREL(%rip), %rax cmpl %r15d, (%rax) jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl -44(%rbp), %edi callq _UART_FLAGS_CONSOLE testl %eax, %eax je LBB0_16 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movq _UART_DEV_DBGPORT@GOTPCREL(%rip), %rax cmpl %r15d, (%rax) jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 movl -44(%rbp), %edi callq _UART_FLAGS_DBGPORT testl %eax, %eax je LBB0_16 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movq %r13, %rdi movl %ebx, %esi leaq L_.str.2(%rip), %rdx movq %r14, %rcx callq _resource_int_value testq %rax, %rax jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, -44(%rbp) jne LBB0_16 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 movq %r13, %rdi movl %ebx, %esi leaq L_.str.3(%rip), %rdx movq %r14, %rcx callq _resource_int_value testq %rax, %rax jne LBB0_16 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, -44(%rbp) je LBB0_16 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 movq _uart_ns8250_class@GOTPCREL(%rip), %rdi callq _uart_getops movq -56(%rbp), %rcx ## 8-byte Reload movl %eax, 48(%rcx) movq $0, 40(%rcx) movq _uart_bus_space_io@GOTPCREL(%rip), %rax movl (%rax), %r12d movl %r12d, 36(%rcx) movl -44(%rbp), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq _uart_ns8250_class@GOTPCREL(%rip), %rdi callq _uart_getrange movl %r12d, %edi leaq L_.str.1(%rip), %r12 movl -48(%rbp), %esi ## 4-byte Reload movl %eax, %edx xorl %ecx, %ecx movq -64(%rbp), %r8 ## 8-byte Reload callq _bus_space_map testq %rax, %rax jne LBB0_16 ## %bb.13: xorps %xmm0, %xmm0 movq -56(%rbp), %r14 ## 8-byte Reload movups %xmm0, 16(%r14) leaq L_.str(%rip), %rdi leaq L_.str.4(%rip), %rdx leaq -44(%rbp), %rcx movl %ebx, %esi callq _resource_int_value movq %rax, %rcx xorl %eax, %eax movl $0, %edx testq %rcx, %rcx jne LBB0_15 ## %bb.14: movl -44(%rbp), %edx LBB0_15: movl %edx, (%r14) movabsq $4294967304, %rcx ## imm = 0x100000008 movq %rcx, 4(%r14) movq _UART_PARITY_NONE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 12(%r14) jmp LBB0_18 LBB0_17: movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_18 LBB0_1: xorl %eax, %eax LBB0_18: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _uart_ns8250_class,4,2 ## @uart_ns8250_class .comm _ENXIO,4,2 ## @ENXIO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "uart" L_.str.1: ## @.str.1 .asciz "flags" .comm _UART_DEV_CONSOLE,4,2 ## @UART_DEV_CONSOLE .comm _UART_DEV_DBGPORT,4,2 ## @UART_DEV_DBGPORT L_.str.2: ## @.str.2 .asciz "disabled" L_.str.3: ## @.str.3 .asciz "port" .comm _uart_bus_space_io,4,2 ## @uart_bus_space_io L_.str.4: ## @.str.4 .asciz "baud" .comm _UART_PARITY_NONE,4,2 ## @UART_PARITY_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function uart_cpu_getdev lCPI0_0: .long 8 ; 0x8 .long 1 ; 0x1 .section __TEXT,__text,regular,pure_instructions .globl _uart_cpu_getdev .p2align 2 _uart_cpu_getdev: ; @uart_cpu_getdev .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x21, x0 Lloh0: adrp x2, _uart_ns8250_class@GOTPAGE Lloh1: ldr x2, [x2, _uart_ns8250_class@GOTPAGEOFF] bl _uart_getenv cbz x0, LBB0_15 ; %bb.1: mov w20, #0 add x8, x19, #32 str x8, [sp] ; 8-byte Folded Spill Lloh2: adrp x23, l_.str@PAGE Lloh3: add x23, x23, l_.str@PAGEOFF Lloh4: adrp x24, l_.str.1@PAGE Lloh5: add x24, x24, l_.str.1@PAGEOFF Lloh6: adrp x26, _UART_DEV_CONSOLE@GOTPAGE Lloh7: ldr x26, [x26, _UART_DEV_CONSOLE@GOTPAGEOFF] Lloh8: adrp x22, _UART_DEV_DBGPORT@GOTPAGE Lloh9: ldr x22, [x22, _UART_DEV_DBGPORT@GOTPAGEOFF] Lloh10: adrp x25, l_.str.2@PAGE Lloh11: add x25, x25, l_.str.2@PAGEOFF Lloh12: adrp x27, l_.str.3@PAGE Lloh13: add x27, x27, l_.str.3@PAGEOFF b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add w20, w20, #1 cmp w20, #4 b.eq LBB0_14 LBB0_3: ; =>This Inner Loop Header: Depth=1 add x3, sp, #12 mov x0, x23 mov x1, x20 mov x2, x24 bl _resource_int_value cbnz x0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x26] cmp w8, w21 b.ne LBB0_6 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [sp, #12] bl _UART_FLAGS_CONSOLE cbz w0, LBB0_2 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x22] cmp w8, w21 b.ne LBB0_8 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [sp, #12] bl _UART_FLAGS_DBGPORT cbz w0, LBB0_2 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 add x3, sp, #12 mov x0, x23 mov x1, x20 mov x2, x25 bl _resource_int_value cbnz x0, LBB0_10 ; %bb.9: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #12] cbnz w8, LBB0_2 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 add x3, sp, #12 mov x0, x23 mov x1, x20 mov x2, x27 bl _resource_int_value cbnz x0, LBB0_2 ; %bb.11: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #12] cbz w8, LBB0_2 ; %bb.12: ; in Loop: Header=BB0_3 Depth=1 mov x22, x25 Lloh14: adrp x25, _uart_ns8250_class@GOTPAGE Lloh15: ldr x25, [x25, _uart_ns8250_class@GOTPAGEOFF] mov x0, x25 bl _uart_getops str w0, [x19, #48] str xzr, [x19, #40] Lloh16: adrp x8, _uart_bus_space_io@GOTPAGE Lloh17: ldr x8, [x8, _uart_bus_space_io@GOTPAGEOFF] Lloh18: ldr w28, [x8] str w28, [x19, #36] mov x27, x19 mov x19, x26 ldr w26, [sp, #12] mov x0, x25 mov x25, x22 Lloh19: adrp x22, _UART_DEV_DBGPORT@GOTPAGE Lloh20: ldr x22, [x22, _UART_DEV_DBGPORT@GOTPAGEOFF] bl _uart_getrange mov x2, x0 mov x0, x28 mov x1, x26 mov x26, x19 mov x19, x27 Lloh21: adrp x27, l_.str.3@PAGE Lloh22: add x27, x27, l_.str.3@PAGEOFF mov w3, #0 ldr x4, [sp] ; 8-byte Folded Reload bl _bus_space_map cbnz x0, LBB0_2 ; %bb.13: stp xzr, xzr, [x19, #16] Lloh23: adrp x0, l_.str@PAGE Lloh24: add x0, x0, l_.str@PAGEOFF Lloh25: adrp x2, l_.str.4@PAGE Lloh26: add x2, x2, l_.str.4@PAGEOFF add x3, sp, #12 mov x1, x20 bl _resource_int_value mov x8, x0 mov w0, #0 ldr w9, [sp, #12] cmp x8, #0 csel w8, w9, wzr, eq str w8, [x19] Lloh27: adrp x8, lCPI0_0@PAGE Lloh28: ldr d0, [x8, lCPI0_0@PAGEOFF] stur d0, [x19, #4] Lloh29: adrp x8, _UART_PARITY_NONE@GOTPAGE Lloh30: ldr x8, [x8, _UART_PARITY_NONE@GOTPAGEOFF] Lloh31: ldr w8, [x8] str w8, [x19, #12] b LBB0_15 LBB0_14: Lloh32: adrp x8, _ENXIO@GOTPAGE Lloh33: ldr x8, [x8, _ENXIO@GOTPAGEOFF] Lloh34: ldr w0, [x8] LBB0_15: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpAdrp Lloh27, Lloh29 .loh AdrpLdr Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .cfi_endproc ; -- End function .comm _uart_ns8250_class,4,2 ; @uart_ns8250_class .comm _ENXIO,4,2 ; @ENXIO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "uart" l_.str.1: ; @.str.1 .asciz "flags" .comm _UART_DEV_CONSOLE,4,2 ; @UART_DEV_CONSOLE .comm _UART_DEV_DBGPORT,4,2 ; @UART_DEV_DBGPORT l_.str.2: ; @.str.2 .asciz "disabled" l_.str.3: ; @.str.3 .asciz "port" .comm _uart_bus_space_io,4,2 ; @uart_bus_space_io l_.str.4: ; @.str.4 .asciz "baud" .comm _UART_PARITY_NONE,4,2 ; @UART_PARITY_NONE .subsections_via_symbols
AnghaBench/freebsd/sys/dev/uart/extr_uart_cpu_x86.c_uart_cpu_getdev.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _BTA_DmBleStopAdvertising ## -- Begin function BTA_DmBleStopAdvertising .p2align 4, 0x90 _BTA_DmBleStopAdvertising: ## @BTA_DmBleStopAdvertising .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rdi callq _APPL_TRACE_API movl $4, %edi callq _osi_malloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movq %rax, %rdi xorl %esi, %esi movl $4, %edx callq _memset movq _BTA_DM_API_BLE_STOP_ADV_EVT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _bta_sys_sendmsg ## TAILCALL LBB0_1: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "BTA_DmBleStopAdvertising\n" .comm _BTA_DM_API_BLE_STOP_ADV_EVT,4,2 ## @BTA_DM_API_BLE_STOP_ADV_EVT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _BTA_DmBleStopAdvertising ; -- Begin function BTA_DmBleStopAdvertising .p2align 2 _BTA_DmBleStopAdvertising: ; @BTA_DmBleStopAdvertising .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _APPL_TRACE_API mov w0, #4 bl _osi_malloc cbz x0, LBB0_2 ; %bb.1: mov x19, x0 mov w1, #0 mov w2, #4 bl _memset Lloh2: adrp x8, _BTA_DM_API_BLE_STOP_ADV_EVT@GOTPAGE Lloh3: ldr x8, [x8, _BTA_DM_API_BLE_STOP_ADV_EVT@GOTPAGEOFF] Lloh4: ldr w8, [x8] str w8, [x19] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _bta_sys_sendmsg LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "BTA_DmBleStopAdvertising\n" .comm _BTA_DM_API_BLE_STOP_ADV_EVT,4,2 ; @BTA_DM_API_BLE_STOP_ADV_EVT .subsections_via_symbols
AnghaBench/esp-idf/components/bt/host/bluedroid/bta/dm/extr_bta_dm_api.c_BTA_DmBleStopAdvertising.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Camellia_EncryptBlock ## -- Begin function Camellia_EncryptBlock .p2align 4, 0x90 _Camellia_EncryptBlock: ## @Camellia_EncryptBlock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r12 movq %rdx, %r14 movq %rsi, %rbx movl %edi, %r15d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq %rsi, %rdi callq _GETU32 movl %eax, -64(%rbp) leaq 4(%rbx), %rdi callq _GETU32 movl %eax, -60(%rbp) leaq 8(%rbx), %rdi callq _GETU32 movl %eax, -56(%rbp) addq $12, %rbx movq %rbx, %rdi callq _GETU32 movl %eax, -52(%rbp) cmpl $256, %r15d ## imm = 0x100 je LBB0_4 ## %bb.1: cmpl $192, %r15d je LBB0_4 ## %bb.2: cmpl $128, %r15d jne LBB0_5 ## %bb.3: leaq -64(%rbp), %rsi movq %r14, %rdi callq _camellia_encrypt128 jmp LBB0_5 LBB0_4: leaq -64(%rbp), %rsi movq %r14, %rdi callq _camellia_encrypt256 LBB0_5: movl -64(%rbp), %esi movq %r12, %rdi callq _PUTU32 leaq 4(%r12), %rdi movl -60(%rbp), %esi callq _PUTU32 leaq 8(%r12), %rdi movl -56(%rbp), %esi callq _PUTU32 addq $12, %r12 movl -52(%rbp), %esi movq %r12, %rdi callq _PUTU32 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_7 ## %bb.6: addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_7: callq ___stack_chk_fail .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Camellia_EncryptBlock ; -- Begin function Camellia_EncryptBlock .p2align 2 _Camellia_EncryptBlock: ; @Camellia_EncryptBlock .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x3 mov x20, x2 mov x22, x1 mov x21, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] mov x0, x1 bl _GETU32 str w0, [sp, #8] add x0, x22, #4 bl _GETU32 str w0, [sp, #12] add x0, x22, #8 bl _GETU32 str w0, [sp, #16] add x0, x22, #12 bl _GETU32 str w0, [sp, #20] cmp w21, #256 b.eq LBB0_4 ; %bb.1: cmp w21, #192 b.eq LBB0_4 ; %bb.2: cmp w21, #128 b.ne LBB0_5 ; %bb.3: add x1, sp, #8 mov x0, x20 bl _camellia_encrypt128 b LBB0_5 LBB0_4: add x1, sp, #8 mov x0, x20 bl _camellia_encrypt256 LBB0_5: ldr w1, [sp, #8] mov x0, x19 bl _PUTU32 add x0, x19, #4 ldr w1, [sp, #12] bl _PUTU32 add x0, x19, #8 ldr w1, [sp, #16] bl _PUTU32 add x0, x19, #12 ldr w1, [sp, #20] bl _PUTU32 ldr x8, [sp, #24] Lloh3: adrp x9, ___stack_chk_guard@GOTPAGE Lloh4: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x9, x8 b.ne LBB0_7 ; %bb.6: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_7: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/sys/crypto/camellia/extr_camellia.c_Camellia_EncryptBlock.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/64199790.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_zero_width_bitfield ## -- Begin function test_zero_width_bitfield .p2align 4, 0x90 _test_zero_width_bitfield: ## @test_zero_width_bitfield .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movzwl (%rdi), %eax leal 1(%rax), %ecx andl $32767, %ecx ## imm = 0x7FFF andl $-32768, %eax ## imm = 0x8000 orl %ecx, %eax movw %ax, (%rdi) movzwl 2(%rdi), %eax leal 2(%rax), %ecx andl $32767, %ecx ## imm = 0x7FFF andl $-32768, %eax ## imm = 0x8000 orl %ecx, %eax movw %ax, 2(%rdi) popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_zero_width_bitfield ; -- Begin function test_zero_width_bitfield .p2align 2 _test_zero_width_bitfield: ; @test_zero_width_bitfield .cfi_startproc ; %bb.0: ldrh w8, [x0] add w9, w8, #1 bfxil w8, w9, #0, #15 strh w8, [x0] ldrh w8, [x0, #2] add w9, w8, #2 bfxil w8, w9, #0, #15 strh w8, [x0, #2] ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/90765381.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function recording_case_labels_p _recording_case_labels_p: ## @recording_case_labels_p .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _edge_to_cases@GOTPCREL(%rip), %rcx xorl %eax, %eax cmpq $0, (%rcx) setne %al popq %rbp retq .cfi_endproc ## -- End function .comm _edge_to_cases,8,3 ## @edge_to_cases .no_dead_strip _recording_case_labels_p .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function recording_case_labels_p _recording_case_labels_p: ; @recording_case_labels_p .cfi_startproc ; %bb.0: Lloh0: adrp x8, _edge_to_cases@GOTPAGE Lloh1: ldr x8, [x8, _edge_to_cases@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, #0 cset w0, ne ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _edge_to_cases,8,3 ; @edge_to_cases .no_dead_strip _recording_case_labels_p .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_tree-cfg.c_recording_case_labels_p.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _find_commit_header ## -- Begin function find_commit_header .p2align 4, 0x90 _find_commit_header: ## @find_commit_header .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, %r14 movq %rdi, %rbx movq %rsi, -56(%rbp) ## 8-byte Spill movq %rsi, %rdi callq _strlen testq %rbx, %rbx je LBB0_8 ## %bb.1: movl %eax, %r13d movq %r14, -48(%rbp) ## 8-byte Spill movslq %eax, %r15 jmp LBB0_2 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rbx incq %rbx cmpb $0, (%r14) je LBB0_8 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi movl $10, %esi callq _strchrnul cmpq %rax, %rbx je LBB0_8 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %r14 movq %rax, %r12 subq %rbx, %r12 cmpq %r15, %r12 jle LBB0_7 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi movq -56(%rbp), %rsi ## 8-byte Reload movl %r13d, %edx callq _strncmp testl %eax, %eax jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 cmpb $32, (%rbx,%r15) jne LBB0_7 ## %bb.6: leaq (%rbx,%r15), %rax incq %rax notq %r15 addq %r15, %r12 movq -48(%rbp), %rcx ## 8-byte Reload movq %r12, (%rcx) jmp LBB0_9 LBB0_8: xorl %eax, %eax LBB0_9: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _find_commit_header ; -- Begin function find_commit_header .p2align 2 _find_commit_header: ; @find_commit_header .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x2 mov x20, x1 mov x21, x0 mov x0, x1 bl _strlen cbz x21, LBB0_8 ; %bb.1: mov x22, x0 sxtw x24, w22 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldrb w8, [x23], #1 mov x21, x23 cbz w8, LBB0_8 LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov w1, #10 bl _strchrnul cmp x21, x0 b.eq LBB0_8 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x23, x0 sub x25, x0, x21 cmp x25, x24 b.le LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov x0, x21 mov x1, x20 mov x2, x22 bl _strncmp cbnz w0, LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 ldrb w8, [x21, x24] cmp w8, #32 b.ne LBB0_2 ; %bb.7: add x8, x21, x24 mvn x9, x24 add x9, x25, x9 str x9, [x19] add x0, x8, #1 b LBB0_9 LBB0_8: mov x0, #0 LBB0_9: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/git/extr_commit.c_find_commit_header.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function list _list: ## @list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testl %esi, %esi jle LBB0_12 ## %bb.1: movq %rdi, %r12 cmpb $40, (%rdi) jne LBB0_12 ## %bb.2: movl %esi, %r13d movq $0, -48(%rbp) cmpl $2, %esi jb LBB0_12 ## %bb.3: movslq %r13d, %rbx addq %r12, %rbx leaq 1(%r12), %rdi movl %r12d, %r8d negl %r8d leaq -48(%rbp), %r9 movq _skel_char_type@GOTPCREL(%rip), %rax movq _type_space@GOTPCREL(%rip), %rcx xorl %r14d, %r14d LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movq (%rax), %rax movq (%rcx), %rcx leal (%r8,%rdi), %r15d .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%rdi), %esi cmpq %rcx, (%rax,%rsi,8) jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 incq %rdi incl %r15d cmpq %rbx, %rdi jb LBB0_5 jmp LBB0_13 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 cmpb $41, %sil je LBB0_14 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 movq %r9, -56(%rbp) ## 8-byte Spill movq %r8, -64(%rbp) ## 8-byte Spill movl %r13d, %esi subl %r15d, %esi movq %rdx, %r15 callq _parse testq %rax, %rax je LBB0_13 ## %bb.9: ## in Loop: Header=BB0_4 Depth=1 movq $0, 32(%rax) movq -56(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) movq %rax, %rcx addq $32, %rcx movslq 8(%rax), %rdi addq (%rax), %rdi movq %rcx, %r9 cmpq %rbx, %rdi movq %r15, %rdx movq -64(%rbp), %r8 ## 8-byte Reload movq _skel_char_type@GOTPCREL(%rip), %rax movq _type_space@GOTPCREL(%rip), %rcx jb LBB0_4 jmp LBB0_13 LBB0_12: xorl %r14d, %r14d LBB0_13: movq %r14, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_14: movq %rdx, %rdi movl $40, %esi callq _apr_pcalloc movq %rax, %r14 movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%r14) movq %r12, (%r14) incl %r15d movl %r15d, 8(%r14) movq -48(%rbp), %rax movq %rax, 16(%r14) jmp LBB0_13 .cfi_endproc ## -- End function .comm _skel_char_type,8,3 ## @skel_char_type .comm _type_space,8,3 ## @type_space .comm _FALSE,4,2 ## @FALSE .no_dead_strip _list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function list _list: ; @list .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 cmp w1, #1 b.lt LBB0_10 ; %bb.1: mov x19, x0 ldrb w8, [x0] cmp w8, #40 b.ne LBB0_10 ; %bb.2: mov x21, x1 mov x8, #0 str xzr, [sp, #8] cmp w1, #2 b.lo LBB0_11 ; %bb.3: mov x20, x2 add x0, x19, #1 neg w22, w19 add x26, sp, #8 Lloh0: adrp x23, _skel_char_type@GOTPAGE Lloh1: ldr x23, [x23, _skel_char_type@GOTPAGEOFF] Lloh2: adrp x24, _type_space@GOTPAGE Lloh3: ldr x24, [x24, _type_space@GOTPAGEOFF] add x25, x19, w21, sxtw LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ldr x8, [x23] ldr x9, [x24] add w27, w22, w0 LBB0_5: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w10, [x0] ldr x11, [x8, x10, lsl #3] cmp x11, x9 b.ne LBB0_7 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 add x0, x0, #1 add w27, w27, #1 cmp x0, x25 b.lo LBB0_5 b LBB0_10 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 cmp w10, #41 b.eq LBB0_12 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 sub w1, w21, w27 mov x2, x20 bl _parse mov x8, #0 cbz x0, LBB0_11 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 mov x9, x0 str xzr, [x9, #32]! str x0, [x26] ldr x10, [x0] ldrsw x11, [x0, #8] add x0, x10, x11 cmp x0, x25 mov x26, x9 b.lo LBB0_4 b LBB0_11 LBB0_10: mov x8, #0 LBB0_11: mov x0, x8 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_12: mov x0, x20 mov w1, #40 bl _apr_pcalloc mov x8, x0 Lloh4: adrp x9, _FALSE@GOTPAGE Lloh5: ldr x9, [x9, _FALSE@GOTPAGEOFF] Lloh6: ldr w9, [x9] str w9, [x0, #24] str x19, [x0] add w9, w27, #1 str w9, [x0, #8] ldr x9, [sp, #8] str x9, [x0, #16] b LBB0_11 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _skel_char_type,8,3 ; @skel_char_type .comm _type_space,8,3 ; @type_space .comm _FALSE,4,2 ; @FALSE .no_dead_strip _list .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_skel.c_list.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function eq128 _eq128: ## @eq128 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorq %rdx, %rdi xorq %rcx, %rsi xorl %eax, %eax orq %rdi, %rsi sete %al popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _eq128 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function eq128 _eq128: ; @eq128 .cfi_startproc ; %bb.0: cmp x0, x2 ccmp x1, x3, #0, eq cset w0, eq ret .cfi_endproc ; -- End function .no_dead_strip _eq128 .subsections_via_symbols
AnghaBench/freebsd/tools/test/testfloat/extr_slowfloat-64.c_eq128.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function raise_exception _raise_exception: ## @raise_exception .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edx, %edx popq %rbp jmp ___raise_exception ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _raise_exception .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function raise_exception _raise_exception: ; @raise_exception .cfi_startproc ; %bb.0: mov x2, #0 b ___raise_exception .cfi_endproc ; -- End function .no_dead_strip _raise_exception .subsections_via_symbols
AnghaBench/linux/drivers/usb/gadget/function/extr_f_mass_storage.c_raise_exception.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _perf_callchain_kernel ## -- Begin function perf_callchain_kernel .p2align 4, 0x90 _perf_callchain_kernel: ## @perf_callchain_kernel .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 (%rsi), %r13 movq 8(%rsi), %rax movq 8(%rax), %rbx movq %rsi, %rdi callq _perf_instruction_pointer movq %r14, -48(%rbp) ## 8-byte Spill movq %r14, %rdi movq %rax, %rsi callq _perf_callchain_store movq _current@GOTPCREL(%rip), %rax movl (%rax), %esi movq _STACK_FRAME_OVERHEAD@GOTPCREL(%rip), %rax movq (%rax), %rdx movq %rbx, %rdi callq _validate_sp testl %eax, %eax je LBB0_13 ## %bb.1: xorl %r14d, %r14d jmp LBB0_2 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 xorl %r12d, %r12d LBB0_11: ## in Loop: Header=BB0_2 Depth=1 incq %r14 LBB0_12: ## in Loop: Header=BB0_2 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi callq _perf_callchain_store movq %r15, %rdi movq %rbx, %rsi callq _valid_next_sp movq %r15, %rbx testl %eax, %eax je LBB0_13 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %r15 movq _STACK_INT_FRAME_SIZE@GOTPCREL(%rip), %rax movq (%rax), %rax addq %rbx, %rax cmpq %rax, %r15 jne LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq _STACK_FRAME_MARKER@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rbx,%rax,8), %rax movq _STACK_FRAME_REGS_MARKER@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq _STACK_FRAME_OVERHEAD@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%rbx), %r13 movq 16(%rax,%rbx), %r12 movq _PERF_CONTEXT_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movq -48(%rbp), %rdi ## 8-byte Reload callq _perf_callchain_store_context xorl %r14d, %r14d jmp LBB0_12 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq %r13, %r12 testq %r14, %r14 je LBB0_9 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movq _STACK_FRAME_LR_SAVE@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rbx,%rax,8), %r12 cmpq $1, %r14 jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 cmpq %r13, %r12 je LBB0_10 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 cmpq $1, %r14 jg LBB0_11 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi callq _kernel_text_address testl %eax, %eax jne LBB0_11 jmp LBB0_10 LBB0_13: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _current,4,2 ## @current .comm _STACK_FRAME_OVERHEAD,8,3 ## @STACK_FRAME_OVERHEAD .comm _STACK_INT_FRAME_SIZE,8,3 ## @STACK_INT_FRAME_SIZE .comm _STACK_FRAME_MARKER,8,3 ## @STACK_FRAME_MARKER .comm _STACK_FRAME_REGS_MARKER,8,3 ## @STACK_FRAME_REGS_MARKER .comm _PERF_CONTEXT_KERNEL,4,2 ## @PERF_CONTEXT_KERNEL .comm _STACK_FRAME_LR_SAVE,8,3 ## @STACK_FRAME_LR_SAVE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _perf_callchain_kernel ; -- Begin function perf_callchain_kernel .p2align 2 _perf_callchain_kernel: ; @perf_callchain_kernel .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 ldp x23, x8, [x1] ldr x20, [x8, #8] mov x0, x1 bl _perf_instruction_pointer mov x1, x0 mov x0, x19 bl _perf_callchain_store Lloh0: adrp x8, _current@GOTPAGE Lloh1: ldr x8, [x8, _current@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _STACK_FRAME_OVERHEAD@GOTPAGE Lloh4: ldr x8, [x8, _STACK_FRAME_OVERHEAD@GOTPAGEOFF] Lloh5: ldr x2, [x8] mov x0, x20 bl _validate_sp cbz w0, LBB0_13 ; %bb.1: mov x24, #0 Lloh6: adrp x25, _STACK_INT_FRAME_SIZE@GOTPAGE Lloh7: ldr x25, [x25, _STACK_INT_FRAME_SIZE@GOTPAGEOFF] Lloh8: adrp x26, _STACK_FRAME_MARKER@GOTPAGE Lloh9: ldr x26, [x26, _STACK_FRAME_MARKER@GOTPAGEOFF] Lloh10: adrp x27, _STACK_FRAME_REGS_MARKER@GOTPAGE Lloh11: ldr x27, [x27, _STACK_FRAME_REGS_MARKER@GOTPAGEOFF] Lloh12: adrp x28, _STACK_FRAME_LR_SAVE@GOTPAGE Lloh13: ldr x28, [x28, _STACK_FRAME_LR_SAVE@GOTPAGEOFF] b LBB0_5 LBB0_2: ; in Loop: Header=BB0_5 Depth=1 mov x22, #0 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 add x24, x24, #1 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 mov x0, x19 mov x1, x22 bl _perf_callchain_store mov x0, x21 mov x1, x20 bl _valid_next_sp mov x20, x21 cbz w0, LBB0_13 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x21, [x20] ldr x8, [x25] add x8, x8, x20 cmp x21, x8 b.ne LBB0_8 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x26] ldr x8, [x20, x8, lsl #3] ldr x9, [x27] cmp x8, x9 b.ne LBB0_8 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 Lloh14: adrp x8, _STACK_FRAME_OVERHEAD@GOTPAGE Lloh15: ldr x8, [x8, _STACK_FRAME_OVERHEAD@GOTPAGEOFF] Lloh16: ldr x8, [x8] add x8, x8, x20 ldr x22, [x8, #16] ldr x23, [x8] Lloh17: adrp x8, _PERF_CONTEXT_KERNEL@GOTPAGE Lloh18: ldr x8, [x8, _PERF_CONTEXT_KERNEL@GOTPAGEOFF] Lloh19: ldr w1, [x8] mov x0, x19 bl _perf_callchain_store_context mov x24, #0 b LBB0_4 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 mov x22, x23 cbz x24, LBB0_12 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x28] ldr x22, [x20, x8, lsl #3] cmp x24, #1 b.ne LBB0_11 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 cmp x22, x23 b.eq LBB0_2 LBB0_11: ; in Loop: Header=BB0_5 Depth=1 cmp x24, #1 b.gt LBB0_3 LBB0_12: ; in Loop: Header=BB0_5 Depth=1 mov x0, x22 bl _kernel_text_address cbnz w0, LBB0_3 b LBB0_2 LBB0_13: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _current,4,2 ; @current .comm _STACK_FRAME_OVERHEAD,8,3 ; @STACK_FRAME_OVERHEAD .comm _STACK_INT_FRAME_SIZE,8,3 ; @STACK_INT_FRAME_SIZE .comm _STACK_FRAME_MARKER,8,3 ; @STACK_FRAME_MARKER .comm _STACK_FRAME_REGS_MARKER,8,3 ; @STACK_FRAME_REGS_MARKER .comm _PERF_CONTEXT_KERNEL,4,2 ; @PERF_CONTEXT_KERNEL .comm _STACK_FRAME_LR_SAVE,8,3 ; @STACK_FRAME_LR_SAVE .subsections_via_symbols
AnghaBench/linux/arch/powerpc/perf/extr_callchain.c_perf_callchain_kernel.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsp, %rbx leaq L_.str(%rip), %rdi leaq -12(%rbp), %rsi xorl %eax, %eax callq _scanf movl -12(%rbp), %edx shlq $2, %rdx leaq L_.str.1(%rip), %rdi xorl %esi, %esi xorl %eax, %eax callq _printf movq %rbx, %rsp xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "p:%lu and q:%lu" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, sp sub x8, x29, #20 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldur w8, [x29, #-20] lsl x8, x8, #2 stp xzr, x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf mov sp, x19 mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "p:%lu and q:%lu" .subsections_via_symbols
the_stack_data/737449.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function unmap_region _unmap_region: ## @unmap_region .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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 je LBB0_7 ## %bb.1: movq %rdi, %rbx movl %esi, %r13d addq %rdi, %r13 movq _scsi_debug_unmap_granularity@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _scsi_debug_unmap_alignment@GOTPCREL(%rip), %rax movl (%rax), %eax movl %r14d, %ecx subl %eax, %ecx movq %rcx, -48(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 subq %r12, %rbx cmpq %r13, %rbx jge LBB0_7 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq -48(%rbp), %rax ## 8-byte Reload leaq (%rbx,%rax), %r15 movq %r15, %rdi movl %r14d, %esi callq _do_div movq %rax, %r12 addq %r14, %rbx testq %rax, %rax jne LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpq %r13, %rbx jge LBB0_6 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq _map_size@GOTPCREL(%rip), %rax cmpq (%rax), %r15 jge LBB0_6 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movq _map_storep@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _clear_bit jmp LBB0_6 LBB0_7: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _scsi_debug_unmap_granularity,4,2 ## @scsi_debug_unmap_granularity .comm _scsi_debug_unmap_alignment,4,2 ## @scsi_debug_unmap_alignment .comm _map_size,8,3 ## @map_size .comm _map_storep,4,2 ## @map_storep .no_dead_strip _unmap_region .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function unmap_region _unmap_region: ; @unmap_region .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 cbz w1, LBB0_7 ; %bb.1: mov x20, x0 add x23, x0, w1, uxtw Lloh0: adrp x8, _scsi_debug_unmap_granularity@GOTPAGE Lloh1: ldr x8, [x8, _scsi_debug_unmap_granularity@GOTPAGEOFF] Lloh2: ldr w19, [x8] Lloh3: adrp x8, _scsi_debug_unmap_alignment@GOTPAGE Lloh4: ldr x8, [x8, _scsi_debug_unmap_alignment@GOTPAGEOFF] Lloh5: ldr w8, [x8] sub w24, w19, w8 Lloh6: adrp x25, _map_size@GOTPAGE Lloh7: ldr x25, [x25, _map_size@GOTPAGEOFF] Lloh8: adrp x26, _map_storep@GOTPAGE Lloh9: ldr x26, [x26, _map_storep@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 sub x20, x20, x22 cmp x20, x23 b.ge LBB0_7 LBB0_3: ; =>This Inner Loop Header: Depth=1 add x21, x20, x24 mov x0, x21 mov x1, x19 bl _do_div mov x22, x0 add x20, x20, x19 cbnz x0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 cmp x20, x23 b.ge LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x25] cmp x21, x8 b.ge LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 ldr w1, [x26] mov x0, x21 bl _clear_bit b LBB0_2 LBB0_7: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _scsi_debug_unmap_granularity,4,2 ; @scsi_debug_unmap_granularity .comm _scsi_debug_unmap_alignment,4,2 ; @scsi_debug_unmap_alignment .comm _map_size,8,3 ; @map_size .comm _map_storep,4,2 ; @map_storep .no_dead_strip _unmap_region .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_debug.c_unmap_region.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tls_connection_get_read_alerts ## -- Begin function tls_connection_get_read_alerts .p2align 4, 0x90 _tls_connection_get_read_alerts: ## @tls_connection_get_read_alerts .cfi_startproc ## %bb.0: testq %rsi, %rsi je LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rsi), %eax popq %rbp retq LBB0_1: movl $-1, %eax retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tls_connection_get_read_alerts ; -- Begin function tls_connection_get_read_alerts .p2align 2 _tls_connection_get_read_alerts: ; @tls_connection_get_read_alerts .cfi_startproc ; %bb.0: cbz x1, LBB0_2 ; %bb.1: ldr w0, [x1] ret LBB0_2: mov w0, #-1 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_connection_get_read_alerts.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _write_buf_to_file ## -- Begin function write_buf_to_file .p2align 4, 0x90 _write_buf_to_file: ## @write_buf_to_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movq %rsi, %r12 movq %rdi, %r14 leaq L_.str(%rip), %rsi callq _fopen movq %rax, %rbx movl $-1, %eax testq %rbx, %rbx je LBB0_3 ## %bb.1: movq _errno@GOTPCREL(%rip), %rax movq $0, (%rax) movq %r12, %rdi movl %r15d, %esi movl $1, %edx movq %rbx, %rcx callq _fwrite movq %rax, %r15 movq %rbx, %rdi callq _fflush movq %rbx, %rdi callq _fclose xorl %eax, %eax cmpq $1, %r15 je LBB0_3 ## %bb.2: movq %r14, %rdi callq _unlink movl $-1, %eax LBB0_3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "w" .comm _errno,8,3 ## @errno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _write_buf_to_file ; -- Begin function write_buf_to_file .p2align 2 _write_buf_to_file: ; @write_buf_to_file .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x2 mov x22, x1 mov x19, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _fopen cbz x0, LBB0_4 ; %bb.1: mov x20, x0 Lloh2: adrp x8, _errno@GOTPAGE Lloh3: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh4: str xzr, [x8] mov x0, x22 mov x1, x21 mov w2, #1 mov x3, x20 bl _fwrite mov x21, x0 mov x0, x20 bl _fflush mov x0, x20 bl _fclose cmp x21, #1 b.ne LBB0_3 ; %bb.2: mov w0, #0 b LBB0_5 LBB0_3: mov x0, x19 bl _unlink LBB0_4: mov w0, #-1 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "w" .comm _errno,8,3 ; @errno .subsections_via_symbols
AnghaBench/openwrt/tools/firmware-utils/src/extr_buffalo-lib.c_write_buf_to_file.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _MSG_ReadDeltaKey ## -- Begin function MSG_ReadDeltaKey .p2align 4, 0x90 _MSG_ReadDeltaKey: ## @MSG_ReadDeltaKey .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 %ecx, %r14d movl %edx, %r15d movl %esi, %ebx movq %rdi, %r12 movl $1, %esi callq _MSG_ReadBits testl %eax, %eax je LBB0_2 ## %bb.1: movq %r12, %rdi movl %r14d, %esi callq _MSG_ReadBits movq _kbitmask@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq %r14d, %rdx andl (%rcx,%rdx,4), %ebx xorl %eax, %ebx movl %ebx, %r15d LBB0_2: movl %r15d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _kbitmask,8,3 ## @kbitmask .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _MSG_ReadDeltaKey ; -- Begin function MSG_ReadDeltaKey .p2align 2 _MSG_ReadDeltaKey: ; @MSG_ReadDeltaKey .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, x3 mov x21, x2 mov x20, x1 mov x22, x0 mov w1, #1 bl _MSG_ReadBits cbz w0, LBB0_2 ; %bb.1: mov x0, x22 mov x1, x19 bl _MSG_ReadBits Lloh0: adrp x8, _kbitmask@GOTPAGE Lloh1: ldr x8, [x8, _kbitmask@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w8, [x8, w19, sxtw #2] and w8, w8, w20 eor w21, w8, w0 LBB0_2: mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _kbitmask,8,3 ; @kbitmask .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/qcommon/extr_msg.c_MSG_ReadDeltaKey.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function desc_gr_mem _desc_gr_mem: ## @desc_gr_mem .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movl %edi, %r14d testb $1, %r14b jne LBB0_1 ## %bb.2: testb $2, %r14b jne LBB0_3 LBB0_4: testb $4, %r14b jne LBB0_5 LBB0_6: testb $8, %r14b je LBB0_8 LBB0_7: movq 24(%rbx), %rax movq _UNW_REG_R4@GOTPCREL(%rip), %rcx movq (%rcx), %rcx leaq (%rax,%rcx), %rdi addq $3, %rdi movq _UNW_WHERE_SPILL_HOME@GOTPCREL(%rip), %rax movl (%rax), %esi movq 8(%rbx), %rax movq 16(%rbx), %rcx leaq (%rcx,%rax), %rdx decq %rdx xorl %ecx, %ecx callq _set_reg movl $1, (%rbx) LBB0_8: popq %rbx popq %r14 popq %rbp retq LBB0_1: movq 24(%rbx), %rdi movq _UNW_REG_R4@GOTPCREL(%rip), %rax addq (%rax), %rdi movq _UNW_WHERE_SPILL_HOME@GOTPCREL(%rip), %rax movl (%rax), %esi movq 8(%rbx), %rax movq 16(%rbx), %rcx leaq (%rcx,%rax), %rdx decq %rdx xorl %ecx, %ecx callq _set_reg movl $1, (%rbx) testb $2, %r14b je LBB0_4 LBB0_3: movq 24(%rbx), %rax movq _UNW_REG_R4@GOTPCREL(%rip), %rcx movq (%rcx), %rcx leaq (%rax,%rcx), %rdi incq %rdi movq _UNW_WHERE_SPILL_HOME@GOTPCREL(%rip), %rax movl (%rax), %esi movq 8(%rbx), %rax movq 16(%rbx), %rcx leaq (%rcx,%rax), %rdx decq %rdx xorl %ecx, %ecx callq _set_reg movl $1, (%rbx) testb $4, %r14b je LBB0_6 LBB0_5: movq 24(%rbx), %rax movq _UNW_REG_R4@GOTPCREL(%rip), %rcx movq (%rcx), %rcx leaq (%rax,%rcx), %rdi addq $2, %rdi movq _UNW_WHERE_SPILL_HOME@GOTPCREL(%rip), %rax movl (%rax), %esi movq 8(%rbx), %rax movq 16(%rbx), %rcx leaq (%rcx,%rax), %rdx decq %rdx xorl %ecx, %ecx callq _set_reg movl $1, (%rbx) testb $8, %r14b jne LBB0_7 jmp LBB0_8 .cfi_endproc ## -- End function .comm _UNW_REG_R4,8,3 ## @UNW_REG_R4 .comm _UNW_WHERE_SPILL_HOME,4,2 ## @UNW_WHERE_SPILL_HOME .no_dead_strip _desc_gr_mem .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function desc_gr_mem _desc_gr_mem: ; @desc_gr_mem .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 x22, _UNW_REG_R4@GOTPAGE Lloh1: ldr x22, [x22, _UNW_REG_R4@GOTPAGEOFF] Lloh2: adrp x21, _UNW_WHERE_SPILL_HOME@GOTPAGE Lloh3: ldr x21, [x21, _UNW_WHERE_SPILL_HOME@GOTPAGEOFF] tbnz w0, #0, LBB0_6 ; %bb.1: tbnz w20, #1, LBB0_7 LBB0_2: tbnz w20, #2, LBB0_8 LBB0_3: tbz w20, #3, LBB0_5 LBB0_4: ldr x8, [x19, #24] ldr x9, [x22] add x8, x8, x9 add x0, x8, #3 ldr w1, [x21] ldp x9, x8, [x19, #8] add x8, x8, x9 sub x2, x8, #1 mov w3, #0 bl _set_reg mov w8, #1 str w8, [x19] LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_6: ldr x8, [x19, #24] ldr x9, [x22] add x0, x8, x9 ldr w1, [x21] ldp x9, x8, [x19, #8] add x8, x8, x9 sub x2, x8, #1 mov w3, #0 bl _set_reg mov w8, #1 str w8, [x19] tbz w20, #1, LBB0_2 LBB0_7: ldr x8, [x19, #24] ldr x9, [x22] add x8, x8, x9 add x0, x8, #1 ldr w1, [x21] ldp x9, x8, [x19, #8] add x8, x8, x9 sub x2, x8, #1 mov w3, #0 bl _set_reg mov w8, #1 str w8, [x19] tbz w20, #2, LBB0_3 LBB0_8: ldr x8, [x19, #24] ldr x9, [x22] add x8, x8, x9 add x0, x8, #2 ldr w1, [x21] ldp x9, x8, [x19, #8] add x8, x8, x9 sub x2, x8, #1 mov w3, #0 bl _set_reg mov w8, #1 str w8, [x19] tbnz w20, #3, LBB0_4 b LBB0_5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _UNW_REG_R4,8,3 ; @UNW_REG_R4 .comm _UNW_WHERE_SPILL_HOME,4,2 ; @UNW_WHERE_SPILL_HOME .no_dead_strip _desc_gr_mem .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/config/ia64/extr_unwind-ia64.c_desc_gr_mem.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zfs_foreach_mountpoint ## -- Begin function zfs_foreach_mountpoint .p2align 4, 0x90 _zfs_foreach_mountpoint: ## @zfs_foreach_mountpoint .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, %r13d movq %r8, -48(%rbp) ## 8-byte Spill movq %rcx, %r15 movq %rdx, %r14 movq %rsi, %r12 movq %rdi, -56(%rbp) ## 8-byte Spill xorl %eax, %eax callq _getzoneid movq %rax, -64(%rbp) ## 8-byte Spill testl %r13d, %r13d je LBB0_8 ## %bb.1: leaq L_.str(%rip), %rdi callq _getenv movq %rax, %r13 movq _mountpoint_cmp@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r12, %rdi movq %r14, %rsi movl $8, %edx callq _qsort testq %r13, %r13 jne LBB0_9 ## %bb.2: movq _mount_tp_nthr@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %r13d, %r13d movl $1, %edi xorl %edx, %edx xorl %ecx, %ecx callq _tpool_create movq %rax, %rbx testq %r14, %r14 je LBB0_7 ## %bb.3: xorl %eax, %eax jmp LBB0_4 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, (%rsp) movq -56(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movq %r14, %rdx movl %r13d, %ecx movq %r15, %r8 movq -48(%rbp), %r9 ## 8-byte Reload callq _zfs_dispatch_mount movq %r12, %rdi movq %r14, %rsi movl %r13d, %edx callq _non_descendant_idx movl %eax, %r13d cltq cmpq %r14, %rax jae LBB0_7 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq -64(%rbp), %rcx ## 8-byte Reload movq _GLOBAL_ZONEID@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq (%r12,%rax,8), %rdi movq _ZFS_PROP_ZONED@GOTPCREL(%rip), %rax movl (%rax), %esi callq _zfs_prop_get_int testq %rax, %rax je LBB0_6 LBB0_7: movq %rbx, %rdi callq _tpool_wait movq %rbx, %rdi addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _tpool_destroy ## TAILCALL LBB0_8: movq _mountpoint_cmp@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r12, %rdi movq %r14, %rsi movl $8, %edx callq _qsort LBB0_9: testq %r14, %r14 movq -48(%rbp), %r13 ## 8-byte Reload je LBB0_12 ## %bb.10: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq (%r12,%rbx,8), %rdi movq %r13, %rsi callq *%r15 incq %rbx cmpq %rbx, %r14 jne LBB0_11 LBB0_12: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ZFS_SERIAL_MOUNT" .comm _mountpoint_cmp,4,2 ## @mountpoint_cmp .comm _mount_tp_nthr,4,2 ## @mount_tp_nthr .comm _GLOBAL_ZONEID,8,3 ## @GLOBAL_ZONEID .comm _ZFS_PROP_ZONED,4,2 ## @ZFS_PROP_ZONED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zfs_foreach_mountpoint ; -- Begin function zfs_foreach_mountpoint .p2align 2 _zfs_foreach_mountpoint: ; @zfs_foreach_mountpoint .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 x25, x5 mov x19, x4 mov x20, x3 mov x21, x2 mov x22, x1 mov x23, x0 bl _getzoneid cbz w25, LBB0_8 ; %bb.1: mov x24, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _getenv mov x25, x0 Lloh2: adrp x8, _mountpoint_cmp@GOTPAGE Lloh3: ldr x8, [x8, _mountpoint_cmp@GOTPAGEOFF] Lloh4: ldr w3, [x8] mov x0, x22 mov x1, x21 mov w2, #8 bl _qsort cbnz x25, LBB0_9 ; %bb.2: Lloh5: adrp x8, _mount_tp_nthr@GOTPAGE Lloh6: ldr x8, [x8, _mount_tp_nthr@GOTPAGEOFF] Lloh7: ldr w1, [x8] mov w0, #1 mov w2, #0 mov x3, #0 bl _tpool_create mov x25, x0 cbz x21, LBB0_7 ; %bb.3: mov x8, #0 mov w26, #0 Lloh8: adrp x27, _GLOBAL_ZONEID@GOTPAGE Lloh9: ldr x27, [x27, _GLOBAL_ZONEID@GOTPAGEOFF] Lloh10: adrp x28, _ZFS_PROP_ZONED@GOTPAGE Lloh11: ldr x28, [x28, _ZFS_PROP_ZONED@GOTPAGEOFF] b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 mov x0, x23 mov x1, x22 mov x2, x21 mov x3, x26 mov x4, x20 mov x5, x19 mov x6, x25 bl _zfs_dispatch_mount mov x0, x22 mov x1, x21 mov x2, x26 bl _non_descendant_idx mov x26, x0 sxtw x8, w26 cmp x8, x21 b.hs LBB0_7 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x9, [x27] cmp x24, x9 b.ne LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x22, x8, lsl #3] ldr w1, [x28] bl _zfs_prop_get_int cbz x0, LBB0_4 LBB0_7: mov x0, x25 bl _tpool_wait mov x0, x25 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _tpool_destroy LBB0_8: Lloh12: adrp x8, _mountpoint_cmp@GOTPAGE Lloh13: ldr x8, [x8, _mountpoint_cmp@GOTPAGEOFF] Lloh14: ldr w3, [x8] mov x0, x22 mov x1, x21 mov w2, #8 bl _qsort LBB0_9: cbz x21, LBB0_11 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr x0, [x22], #8 mov x1, x19 blr x20 subs x21, x21, #1 b.ne LBB0_10 LBB0_11: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ZFS_SERIAL_MOUNT" .comm _mountpoint_cmp,4,2 ; @mountpoint_cmp .comm _mount_tp_nthr,4,2 ; @mount_tp_nthr .comm _GLOBAL_ZONEID,8,3 ; @GLOBAL_ZONEID .comm _ZFS_PROP_ZONED,4,2 ; @ZFS_PROP_ZONED .subsections_via_symbols
AnghaBench/zfs/lib/libzfs/extr_libzfs_mount.c_zfs_foreach_mountpoint.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ahd_lastphase_print ## -- Begin function ahd_lastphase_print .p2align 4, 0x90 _ahd_lastphase_print: ## @ahd_lastphase_print .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rsi, %r9 movl %edi, %r8d movq _LASTPHASE_parse_table@GOTPCREL(%rip), %rax movl (%rax), %edi movl %edx, (%rsp) leaq L_.str(%rip), %rdx movl $13, %esi movl $316, %ecx ## imm = 0x13C callq _ahd_print_register addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _LASTPHASE_parse_table,4,2 ## @LASTPHASE_parse_table .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "LASTPHASE" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ahd_lastphase_print ; -- Begin function ahd_lastphase_print .p2align 2 _ahd_lastphase_print: ; @ahd_lastphase_print .cfi_startproc ; %bb.0: mov x6, x2 mov x5, x1 mov x4, x0 Lloh0: adrp x8, _LASTPHASE_parse_table@GOTPAGE Lloh1: ldr x8, [x8, _LASTPHASE_parse_table@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x2, l_.str@PAGE Lloh4: add x2, x2, l_.str@PAGEOFF mov w1, #13 mov w3, #316 b _ahd_print_register .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _LASTPHASE_parse_table,4,2 ; @LASTPHASE_parse_table .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "LASTPHASE" .subsections_via_symbols
AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_reg_print.c_ahd_lastphase_print.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ipvlan_port_destroy _ipvlan_port_destroy: ## @ipvlan_port_destroy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx callq _ipvlan_port_get_rtnl movq %rax, %r14 movq (%rax), %rax movq _IPVLAN_MODE_L3S@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movq %r14, %rdi callq _ipvlan_l3s_unregister LBB0_2: movq %rbx, %rdi callq _netdev_rx_handler_unregister leaq 16(%r14), %rdi callq _cancel_work_sync leaq 12(%r14), %r15 movq %r15, %rdi callq ___skb_dequeue testq %rax, %rax je LBB0_7 ## %bb.3: movq %rax, %rbx jmp LBB0_4 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi callq _kfree_skb movq %r15, %rdi callq ___skb_dequeue movq %rax, %rbx testq %rax, %rax je LBB0_7 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rdi testq %rdi, %rdi je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 callq _dev_put jmp LBB0_6 LBB0_7: movq %r14, %rdi addq $8, %rdi callq _ida_destroy movq %r14, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _kfree ## TAILCALL .cfi_endproc ## -- End function .comm _IPVLAN_MODE_L3S,8,3 ## @IPVLAN_MODE_L3S .no_dead_strip _ipvlan_port_destroy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ipvlan_port_destroy _ipvlan_port_destroy: ; @ipvlan_port_destroy .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 bl _ipvlan_port_get_rtnl mov x19, x0 ldr x8, [x0] Lloh0: adrp x9, _IPVLAN_MODE_L3S@GOTPAGE Lloh1: ldr x9, [x9, _IPVLAN_MODE_L3S@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: mov x0, x19 bl _ipvlan_l3s_unregister LBB0_2: mov x0, x20 bl _netdev_rx_handler_unregister add x0, x19, #16 bl _cancel_work_sync add x20, x19, #12 mov x0, x20 bl ___skb_dequeue cbz x0, LBB0_7 ; %bb.3: mov x21, x0 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 mov x0, x21 bl _kfree_skb mov x0, x20 bl ___skb_dequeue mov x21, x0 cbz x0, LBB0_7 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x0, [x21] cbz x0, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 bl _dev_put b LBB0_4 LBB0_7: add x0, x19, #8 bl _ida_destroy mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _kfree .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _IPVLAN_MODE_L3S,8,3 ; @IPVLAN_MODE_L3S .no_dead_strip _ipvlan_port_destroy .subsections_via_symbols
AnghaBench/linux/drivers/net/ipvlan/extr_ipvlan_main.c_ipvlan_port_destroy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dr_ste_build_eth_l2_src_or_dst_bit_mask _dr_ste_build_eth_l2_src_or_dst_bit_mask: ## @dr_ste_build_eth_l2_src_or_dst_bit_mask .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 movl %esi, %r15d movq %rdi, %r14 leaq 96(%rdi), %rbx leaq 48(%rdi), %rax testl %esi, %esi cmoveq %rax, %rbx movq _eth_l2_src@GOTPCREL(%rip), %r13 movl (%r13), %edi movq _first_vlan_id@GOTPCREL(%rip), %rax movl (%rax), %edx movq _first_vid@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %r12, %rsi movq %rbx, %rcx callq _DR_STE_SET_MASK_V movl (%r13), %edi movq _first_cfi@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rsi movq %rbx, %rcx movl %edx, %r8d callq _DR_STE_SET_MASK_V movl (%r13), %edi movq _first_priority@GOTPCREL(%rip), %rax movl (%rax), %edx movq _first_prio@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %r12, %rsi movq %rbx, %rcx callq _DR_STE_SET_MASK_V movl (%r13), %edi movq _ip_fragmented@GOTPCREL(%rip), %rax movl (%rax), %edx movq _frag@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %r12, %rsi movq %rbx, %rcx callq _DR_STE_SET_MASK_V movl (%r13), %edi movq _l3_ethertype@GOTPCREL(%rip), %rax movl (%rax), %edx movq _ethertype@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %r12, %rsi movq %rbx, %rcx callq _DR_STE_SET_MASK_V movl (%r13), %edi movq _l3_type@GOTPCREL(%rip), %rax movl (%rax), %edx movq _ip_version@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %r12, %rsi movq %rbx, %rcx callq _DR_STE_SET_MASK cmpq $0, 32(%rbx) jne LBB0_2 ## %bb.1: cmpq $0, 40(%rbx) je LBB0_3 LBB0_2: addq $32, %rbx movq _ste_eth_l2_src@GOTPCREL(%rip), %rax movl (%rax), %edi movq _first_vlan_qualifier@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rsi movl $-1, %ecx callq _MLX5_SET xorps %xmm0, %xmm0 movups %xmm0, (%rbx) LBB0_3: testl %r15d, %r15d je LBB0_8 ## %bb.4: cmpq $0, 24(%r14) jne LBB0_7 ## %bb.5: cmpq $0, 16(%r14) je LBB0_6 LBB0_7: movq _ste_eth_l2_src@GOTPCREL(%rip), %rax movl (%rax), %edi movq _second_vlan_qualifier@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rsi movl $-1, %ecx callq _MLX5_SET leaq 16(%r14), %rcx movq _inner_second_prio@GOTPCREL(%rip), %r15 movq _inner_second_cfi@GOTPCREL(%rip), %rbx movq _inner_second_vid@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_8: cmpq $0, 8(%r14) jne LBB0_11 ## %bb.9: cmpq $0, (%r14) je LBB0_10 LBB0_11: movq _ste_eth_l2_src@GOTPCREL(%rip), %rax movl (%rax), %edi movq _second_vlan_qualifier@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rsi movl $-1, %ecx callq _MLX5_SET movq _outer_second_prio@GOTPCREL(%rip), %r15 movq _outer_second_cfi@GOTPCREL(%rip), %rbx movq _outer_second_vid@GOTPCREL(%rip), %rax movq %r14, %rcx LBB0_12: xorps %xmm0, %xmm0 movups %xmm0, (%rcx) LBB0_13: movl (%r13), %edi movq _second_vlan_id@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl (%rax), %r8d movq %r12, %rsi movq %r14, %rcx callq _DR_STE_SET_MASK_V movl (%r13), %edi movq _second_cfi@GOTPCREL(%rip), %rax movl (%rax), %edx movl (%rbx), %r8d movq %r12, %rsi movq %r14, %rcx callq _DR_STE_SET_MASK_V movl (%r13), %edi movq _second_priority@GOTPCREL(%rip), %rax movl (%rax), %edx movl (%r15), %r8d movq %r12, %rsi movq %r14, %rcx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _DR_STE_SET_MASK_V ## TAILCALL LBB0_6: movq _inner_second_prio@GOTPCREL(%rip), %r15 movq _inner_second_cfi@GOTPCREL(%rip), %rbx movq _inner_second_vid@GOTPCREL(%rip), %rax jmp LBB0_13 LBB0_10: movq _outer_second_prio@GOTPCREL(%rip), %r15 movq _outer_second_cfi@GOTPCREL(%rip), %rbx movq _outer_second_vid@GOTPCREL(%rip), %rax jmp LBB0_13 .cfi_endproc ## -- End function .comm _eth_l2_src,4,2 ## @eth_l2_src .comm _first_vlan_id,4,2 ## @first_vlan_id .comm _first_vid,4,2 ## @first_vid .comm _first_cfi,4,2 ## @first_cfi .comm _first_priority,4,2 ## @first_priority .comm _first_prio,4,2 ## @first_prio .comm _ip_fragmented,4,2 ## @ip_fragmented .comm _frag,4,2 ## @frag .comm _l3_ethertype,4,2 ## @l3_ethertype .comm _ethertype,4,2 ## @ethertype .comm _l3_type,4,2 ## @l3_type .comm _ip_version,4,2 ## @ip_version .comm _ste_eth_l2_src,4,2 ## @ste_eth_l2_src .comm _first_vlan_qualifier,4,2 ## @first_vlan_qualifier .comm _second_vlan_qualifier,4,2 ## @second_vlan_qualifier .comm _second_vlan_id,4,2 ## @second_vlan_id .comm _inner_second_vid,4,2 ## @inner_second_vid .comm _second_cfi,4,2 ## @second_cfi .comm _inner_second_cfi,4,2 ## @inner_second_cfi .comm _second_priority,4,2 ## @second_priority .comm _inner_second_prio,4,2 ## @inner_second_prio .comm _outer_second_vid,4,2 ## @outer_second_vid .comm _outer_second_cfi,4,2 ## @outer_second_cfi .comm _outer_second_prio,4,2 ## @outer_second_prio .no_dead_strip _dr_ste_build_eth_l2_src_or_dst_bit_mask .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dr_ste_build_eth_l2_src_or_dst_bit_mask _dr_ste_build_eth_l2_src_or_dst_bit_mask: ; @dr_ste_build_eth_l2_src_or_dst_bit_mask .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x2 mov x21, x1 mov x19, x0 add x8, x0, #96 add x9, x0, #48 cmp w1, #0 csel x22, x9, x8, eq Lloh0: adrp x23, _eth_l2_src@GOTPAGE Lloh1: ldr x23, [x23, _eth_l2_src@GOTPAGEOFF] ldr w0, [x23] Lloh2: adrp x8, _first_vlan_id@GOTPAGE Lloh3: ldr x8, [x8, _first_vlan_id@GOTPAGEOFF] Lloh4: ldr w2, [x8] Lloh5: adrp x8, _first_vid@GOTPAGE Lloh6: ldr x8, [x8, _first_vid@GOTPAGEOFF] Lloh7: ldr w4, [x8] mov x1, x20 mov x3, x22 bl _DR_STE_SET_MASK_V ldr w0, [x23] Lloh8: adrp x8, _first_cfi@GOTPAGE Lloh9: ldr x8, [x8, _first_cfi@GOTPAGEOFF] Lloh10: ldr w2, [x8] mov x1, x20 mov x3, x22 mov x4, x2 bl _DR_STE_SET_MASK_V ldr w0, [x23] Lloh11: adrp x8, _first_priority@GOTPAGE Lloh12: ldr x8, [x8, _first_priority@GOTPAGEOFF] Lloh13: ldr w2, [x8] Lloh14: adrp x8, _first_prio@GOTPAGE Lloh15: ldr x8, [x8, _first_prio@GOTPAGEOFF] Lloh16: ldr w4, [x8] mov x1, x20 mov x3, x22 bl _DR_STE_SET_MASK_V ldr w0, [x23] Lloh17: adrp x8, _ip_fragmented@GOTPAGE Lloh18: ldr x8, [x8, _ip_fragmented@GOTPAGEOFF] Lloh19: ldr w2, [x8] Lloh20: adrp x8, _frag@GOTPAGE Lloh21: ldr x8, [x8, _frag@GOTPAGEOFF] Lloh22: ldr w4, [x8] mov x1, x20 mov x3, x22 bl _DR_STE_SET_MASK_V ldr w0, [x23] Lloh23: adrp x8, _l3_ethertype@GOTPAGE Lloh24: ldr x8, [x8, _l3_ethertype@GOTPAGEOFF] Lloh25: ldr w2, [x8] Lloh26: adrp x8, _ethertype@GOTPAGE Lloh27: ldr x8, [x8, _ethertype@GOTPAGEOFF] Lloh28: ldr w4, [x8] mov x1, x20 mov x3, x22 bl _DR_STE_SET_MASK_V ldr w0, [x23] Lloh29: adrp x8, _l3_type@GOTPAGE Lloh30: ldr x8, [x8, _l3_type@GOTPAGEOFF] Lloh31: ldr w2, [x8] Lloh32: adrp x8, _ip_version@GOTPAGE Lloh33: ldr x8, [x8, _ip_version@GOTPAGEOFF] Lloh34: ldr w4, [x8] mov x1, x20 mov x3, x22 bl _DR_STE_SET_MASK mov x25, x22 ldr x8, [x25, #32]! Lloh35: adrp x24, _ste_eth_l2_src@GOTPAGE Lloh36: ldr x24, [x24, _ste_eth_l2_src@GOTPAGEOFF] cbnz x8, LBB0_2 ; %bb.1: ldr x8, [x22, #40] cbz x8, LBB0_3 LBB0_2: ldr w0, [x24] Lloh37: adrp x8, _first_vlan_qualifier@GOTPAGE Lloh38: ldr x8, [x8, _first_vlan_qualifier@GOTPAGEOFF] Lloh39: ldr w2, [x8] mov x1, x20 mov w3, #-1 bl _MLX5_SET stp xzr, xzr, [x25] LBB0_3: cbz w21, LBB0_7 ; %bb.4: ldr x8, [x19, #24] cbnz x8, LBB0_6 ; %bb.5: ldr x8, [x19, #16] cbz x8, LBB0_12 LBB0_6: ldr w0, [x24] Lloh40: adrp x8, _second_vlan_qualifier@GOTPAGE Lloh41: ldr x8, [x8, _second_vlan_qualifier@GOTPAGEOFF] Lloh42: ldr w2, [x8] mov x1, x20 mov w3, #-1 bl _MLX5_SET add x9, x19, #16 Lloh43: adrp x21, _inner_second_prio@GOTPAGE Lloh44: ldr x21, [x21, _inner_second_prio@GOTPAGEOFF] Lloh45: adrp x22, _inner_second_cfi@GOTPAGE Lloh46: ldr x22, [x22, _inner_second_cfi@GOTPAGEOFF] Lloh47: adrp x8, _inner_second_vid@GOTPAGE Lloh48: ldr x8, [x8, _inner_second_vid@GOTPAGEOFF] b LBB0_10 LBB0_7: ldr x8, [x19, #8] cbnz x8, LBB0_9 ; %bb.8: ldr x8, [x19] cbz x8, LBB0_13 LBB0_9: ldr w0, [x24] Lloh49: adrp x8, _second_vlan_qualifier@GOTPAGE Lloh50: ldr x8, [x8, _second_vlan_qualifier@GOTPAGEOFF] Lloh51: ldr w2, [x8] mov x1, x20 mov w3, #-1 bl _MLX5_SET Lloh52: adrp x21, _outer_second_prio@GOTPAGE Lloh53: ldr x21, [x21, _outer_second_prio@GOTPAGEOFF] Lloh54: adrp x22, _outer_second_cfi@GOTPAGE Lloh55: ldr x22, [x22, _outer_second_cfi@GOTPAGEOFF] mov x9, x19 Lloh56: adrp x8, _outer_second_vid@GOTPAGE Lloh57: ldr x8, [x8, _outer_second_vid@GOTPAGEOFF] LBB0_10: stp xzr, xzr, [x9] LBB0_11: ldr w0, [x23] Lloh58: adrp x9, _second_vlan_id@GOTPAGE Lloh59: ldr x9, [x9, _second_vlan_id@GOTPAGEOFF] Lloh60: ldr w2, [x9] ldr w4, [x8] mov x1, x20 mov x3, x19 bl _DR_STE_SET_MASK_V ldr w0, [x23] Lloh61: adrp x8, _second_cfi@GOTPAGE Lloh62: ldr x8, [x8, _second_cfi@GOTPAGEOFF] Lloh63: ldr w2, [x8] ldr w4, [x22] mov x1, x20 mov x3, x19 bl _DR_STE_SET_MASK_V ldr w0, [x23] Lloh64: adrp x8, _second_priority@GOTPAGE Lloh65: ldr x8, [x8, _second_priority@GOTPAGEOFF] Lloh66: ldr w2, [x8] ldr w4, [x21] mov x1, x20 mov x3, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _DR_STE_SET_MASK_V LBB0_12: Lloh67: adrp x21, _inner_second_prio@GOTPAGE Lloh68: ldr x21, [x21, _inner_second_prio@GOTPAGEOFF] Lloh69: adrp x22, _inner_second_cfi@GOTPAGE Lloh70: ldr x22, [x22, _inner_second_cfi@GOTPAGEOFF] Lloh71: adrp x8, _inner_second_vid@GOTPAGE Lloh72: ldr x8, [x8, _inner_second_vid@GOTPAGEOFF] b LBB0_11 LBB0_13: Lloh73: adrp x21, _outer_second_prio@GOTPAGE Lloh74: ldr x21, [x21, _outer_second_prio@GOTPAGEOFF] Lloh75: adrp x22, _outer_second_cfi@GOTPAGE Lloh76: ldr x22, [x22, _outer_second_cfi@GOTPAGEOFF] Lloh77: adrp x8, _outer_second_vid@GOTPAGE Lloh78: ldr x8, [x8, _outer_second_vid@GOTPAGEOFF] b LBB0_11 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr 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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGot Lloh47, Lloh48 .loh AdrpLdrGot Lloh45, Lloh46 .loh AdrpLdrGot Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGot Lloh56, Lloh57 .loh AdrpLdrGot Lloh54, Lloh55 .loh AdrpLdrGot Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66 .loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpLdrGot Lloh71, Lloh72 .loh AdrpLdrGot Lloh69, Lloh70 .loh AdrpLdrGot Lloh67, Lloh68 .loh AdrpLdrGot Lloh77, Lloh78 .loh AdrpLdrGot Lloh75, Lloh76 .loh AdrpLdrGot Lloh73, Lloh74 .cfi_endproc ; -- End function .comm _eth_l2_src,4,2 ; @eth_l2_src .comm _first_vlan_id,4,2 ; @first_vlan_id .comm _first_vid,4,2 ; @first_vid .comm _first_cfi,4,2 ; @first_cfi .comm _first_priority,4,2 ; @first_priority .comm _first_prio,4,2 ; @first_prio .comm _ip_fragmented,4,2 ; @ip_fragmented .comm _frag,4,2 ; @frag .comm _l3_ethertype,4,2 ; @l3_ethertype .comm _ethertype,4,2 ; @ethertype .comm _l3_type,4,2 ; @l3_type .comm _ip_version,4,2 ; @ip_version .comm _ste_eth_l2_src,4,2 ; @ste_eth_l2_src .comm _first_vlan_qualifier,4,2 ; @first_vlan_qualifier .comm _second_vlan_qualifier,4,2 ; @second_vlan_qualifier .comm _second_vlan_id,4,2 ; @second_vlan_id .comm _inner_second_vid,4,2 ; @inner_second_vid .comm _second_cfi,4,2 ; @second_cfi .comm _inner_second_cfi,4,2 ; @inner_second_cfi .comm _second_priority,4,2 ; @second_priority .comm _inner_second_prio,4,2 ; @inner_second_prio .comm _outer_second_vid,4,2 ; @outer_second_vid .comm _outer_second_cfi,4,2 ; @outer_second_cfi .comm _outer_second_prio,4,2 ; @outer_second_prio .no_dead_strip _dr_ste_build_eth_l2_src_or_dst_bit_mask .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_ste.c_dr_ste_build_eth_l2_src_or_dst_bit_mask.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function csv_dequote _csv_dequote: ## @csv_dequote .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movb (%rdi), %r14b cmpb $39, %r14b je LBB0_2 ## %bb.1: cmpb $34, %r14b jne LBB0_14 LBB0_2: movq %r15, %rdi callq _strlen cmpq $2, %rax jb LBB0_14 ## %bb.3: cmpb %r14b, -1(%r15,%rax) jne LBB0_14 ## %bb.4: decq %rax cmpq $2, %rax jb LBB0_5 ## %bb.6: movl $1, %edx xorl %ecx, %ecx jmp LBB0_7 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movzbl (%r15,%rdx), %ebx LBB0_11: ## in Loop: Header=BB0_7 Depth=1 movb %bl, (%r15,%rcx) incq %rcx incq %rdx cmpq %rax, %rdx jae LBB0_12 LBB0_7: ## =>This Inner Loop Header: Depth=1 movzbl (%r15,%rdx), %ebx cmpb %r14b, %bl jne LBB0_11 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 cmpb %r14b, 1(%r15,%rdx) jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 incq %rdx jmp LBB0_10 LBB0_5: xorl %eax, %eax jmp LBB0_13 LBB0_12: movl %ecx, %eax LBB0_13: movb $0, (%r15,%rax) LBB0_14: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _csv_dequote .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function csv_dequote _csv_dequote: ; @csv_dequote .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 ldrb w20, [x0] cmp w20, #39 b.eq LBB0_2 ; %bb.1: cmp w20, #34 b.ne LBB0_12 LBB0_2: mov x0, x19 bl _strlen cmp x0, #2 b.lo LBB0_12 ; %bb.3: sub x8, x0, #1 ldrb w9, [x19, x8] cmp w9, w20 b.ne LBB0_12 ; %bb.4: cmp x8, #2 b.lo LBB0_9 ; %bb.5: mov x10, #0 mov w9, #1 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add x12, x10, #1 strb w11, [x19, x10] add x9, x9, #1 mov x10, x12 cmp x9, x8 b.hs LBB0_10 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldrb w11, [x19, x9] cmp w11, w20 b.ne LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 add x11, x9, #1 ldrb w11, [x19, x11] cmp w11, w20 cinc x9, x9, eq ldrb w11, [x19, x9] b LBB0_6 LBB0_9: mov x8, #0 b LBB0_11 LBB0_10: and x8, x12, #0xffffffff LBB0_11: strb wzr, [x19, x8] LBB0_12: 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 _csv_dequote .subsections_via_symbols
AnghaBench/sqlcipher/ext/misc/extr_csv.c_csv_dequote.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $288, %rsp ## imm = 0x120 .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) movl $0, -308(%rbp) leaq L_.str(%rip), %rbx movq %rbx, %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -304(%rbp), %rsi xorl %eax, %eax callq _scanf movq %rbx, %rdi xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %rdi leaq -308(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -308(%rbp) je LBB0_14 ## %bb.1: movb -304(%rbp), %al testb %al, %al je LBB0_13 ## %bb.2: leaq -303(%rbp), %rbx movl $3435973837, %r14d ## imm = 0xCCCCCCCD jmp LBB0_3 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 ## kill: def $edi killed $edi killed $rdi callq _putchar movzbl (%rbx), %eax incq %rbx testb %al, %al je LBB0_13 LBB0_3: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi leal -48(%rdi), %ecx cmpb $9, %cl ja LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 addl -308(%rbp), %edi cmpl $58, %edi jl LBB0_12 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 addl $-48, %edi movq %rdi, %rax imulq %r14, %rax shrq $35, %rax addl %eax, %eax leal (%rax,%rax,4), %eax subl %eax, %edi orl $48, %edi jmp LBB0_12 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 leal -65(%rax), %ecx cmpb $25, %cl ja LBB0_9 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 addl -308(%rbp), %edi cmpl $91, %edi jl LBB0_12 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 addl $-65, %edi imulq $1321528399, %rdi, %rax ## imm = 0x4EC4EC4F shrq $35, %rax leal (%rax,%rax,4), %ecx leal (%rcx,%rcx,4), %ecx addl %eax, %ecx subl %ecx, %edi addl $65, %edi jmp LBB0_12 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 addb $-97, %al cmpb $25, %al ja LBB0_12 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 addl -308(%rbp), %edi cmpl $123, %edi jl LBB0_12 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 addl $-97, %edi imulq $1321528399, %rdi, %rax ## imm = 0x4EC4EC4F shrq $35, %rax leal (%rax,%rax,4), %ecx leal (%rcx,%rcx,4), %ecx addl %eax, %ecx subl %ecx, %edi addl $97, %edi jmp LBB0_12 LBB0_13: leaq L_str.4(%rip), %rdi callq _puts LBB0_28: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_30 ## %bb.29: xorl %eax, %eax addq $288, %rsp ## imm = 0x120 popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_14: movl $0, -308(%rbp) leaq -303(%rbp), %r14 leaq L_str.4(%rip), %r15 movl $3435973837, %r12d ## imm = 0xCCCCCCCD jmp LBB0_15 .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_15 Depth=1 movq %r15, %rdi callq _puts movl -308(%rbp), %eax leal 1(%rax), %ecx movl %ecx, -308(%rbp) cmpl $25, %eax jge LBB0_28 LBB0_15: ## =>This Loop Header: Depth=1 ## Child Loop BB0_17 Depth 2 movb -304(%rbp), %al testb %al, %al je LBB0_27 ## %bb.16: ## in Loop: Header=BB0_15 Depth=1 movq %r14, %rbx jmp LBB0_17 .p2align 4, 0x90 LBB0_26: ## in Loop: Header=BB0_17 Depth=2 ## kill: def $edi killed $edi killed $rdi callq _putchar movzbl (%rbx), %eax incq %rbx testb %al, %al je LBB0_27 LBB0_17: ## Parent Loop BB0_15 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl %al, %edi leal -48(%rdi), %ecx cmpb $9, %cl ja LBB0_20 ## %bb.18: ## in Loop: Header=BB0_17 Depth=2 addl -308(%rbp), %edi cmpl $58, %edi jl LBB0_26 ## %bb.19: ## in Loop: Header=BB0_17 Depth=2 addl $-48, %edi movq %rdi, %rax imulq %r12, %rax shrq $35, %rax addl %eax, %eax leal (%rax,%rax,4), %eax subl %eax, %edi orl $48, %edi jmp LBB0_26 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_17 Depth=2 leal -65(%rax), %ecx cmpb $25, %cl ja LBB0_23 ## %bb.21: ## in Loop: Header=BB0_17 Depth=2 addl -308(%rbp), %edi cmpl $91, %edi jl LBB0_26 ## %bb.22: ## in Loop: Header=BB0_17 Depth=2 addl $-65, %edi imulq $1321528399, %rdi, %rax ## imm = 0x4EC4EC4F shrq $35, %rax leal (%rax,%rax,4), %ecx leal (%rcx,%rcx,4), %ecx addl %eax, %ecx subl %ecx, %edi addl $65, %edi jmp LBB0_26 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_17 Depth=2 addb $-97, %al cmpb $25, %al ja LBB0_26 ## %bb.24: ## in Loop: Header=BB0_17 Depth=2 addl -308(%rbp), %edi cmpl $123, %edi jl LBB0_26 ## %bb.25: ## in Loop: Header=BB0_17 Depth=2 addl $-97, %edi imulq $1321528399, %rdi, %rax ## imm = 0x4EC4EC4F shrq $35, %rax leal (%rax,%rax,4), %ecx leal (%rcx,%rcx,4), %ecx addl %eax, %ecx subl %ecx, %edi addl $97, %edi jmp LBB0_26 LBB0_30: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "> " L_.str.1: ## @.str.1 .asciz "%s" L_.str.2: ## @.str.2 .asciz "%d" L_str.4: ## @str.4 .asciz "\r" .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, #368 .cfi_def_cfa_offset 368 stp x26, x25, [sp, #288] ; 16-byte Folded Spill stp x24, x23, [sp, #304] ; 16-byte Folded Spill stp x22, x21, [sp, #320] ; 16-byte Folded Spill stp x20, x19, [sp, #336] ; 16-byte Folded Spill stp x29, x30, [sp, #352] ; 16-byte Folded Spill add x29, sp, #352 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] str wzr, [sp, #20] Lloh3: adrp x19, l_.str@PAGE Lloh4: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf add x20, sp, #24 str x20, [sp] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _scanf mov x0, x19 bl _printf add x8, sp, #20 str x8, [sp] Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _scanf ldr w8, [sp, #20] cbz w8, LBB0_16 ; %bb.1: ldrb w8, [sp, #24] cbz w8, LBB0_13 ; %bb.2: add x9, sp, #24 add x19, x9, #1 mov w20, #52429 movk w20, #52428, lsl #16 mov w21, #10 mov w22, #60495 movk w22, #20164, lsl #16 mov w23, #26 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 bl _putchar ldrb w8, [x19], #1 cbz w8, LBB0_13 LBB0_4: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 sub w8, w8, #48 and w8, w8, #0xff cmp w8, #9 b.hi LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [sp, #20] add w0, w8, w0 cmp w0, #58 b.lt LBB0_3 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 sub w8, w0, #48 umull x9, w8, w20 lsr x9, x9, #35 msub w8, w9, w21, w8 orr w0, w8, #0x30 b LBB0_3 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 sub w8, w0, #65 cmp w8, #25 b.hi LBB0_10 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [sp, #20] add w0, w8, w0 cmp w0, #91 b.lt LBB0_3 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 sub w8, w0, #65 umull x9, w8, w22 lsr x9, x9, #35 msub w8, w9, w23, w8 add w0, w8, #65 b LBB0_3 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 sub w8, w0, #97 cmp w8, #25 b.hi LBB0_3 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [sp, #20] add w0, w8, w0 cmp w0, #123 b.lt LBB0_3 ; %bb.12: ; in Loop: Header=BB0_4 Depth=1 sub w8, w0, #97 umull x9, w8, w22 lsr x9, x9, #35 msub w8, w9, w23, w8 add w0, w8, #97 b LBB0_3 LBB0_13: Lloh9: adrp x0, l_str.4@PAGE Lloh10: add x0, x0, l_str.4@PAGEOFF bl _puts LBB0_14: ldur x8, [x29, #-72] 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_30 ; %bb.15: mov w0, #0 ldp x29, x30, [sp, #352] ; 16-byte Folded Reload ldp x20, x19, [sp, #336] ; 16-byte Folded Reload ldp x22, x21, [sp, #320] ; 16-byte Folded Reload ldp x24, x23, [sp, #304] ; 16-byte Folded Reload ldp x26, x25, [sp, #288] ; 16-byte Folded Reload add sp, sp, #368 ret LBB0_16: str wzr, [sp, #20] add x20, x20, #1 mov w21, #52429 movk w21, #52428, lsl #16 mov w22, #10 mov w23, #60495 movk w23, #20164, lsl #16 mov w24, #26 Lloh14: adrp x19, l_str.4@PAGE Lloh15: add x19, x19, l_str.4@PAGEOFF b LBB0_18 LBB0_17: ; in Loop: Header=BB0_18 Depth=1 mov x0, x19 bl _puts ldr w8, [sp, #20] add w9, w8, #1 str w9, [sp, #20] cmp w8, #25 b.ge LBB0_14 LBB0_18: ; =>This Loop Header: Depth=1 ; Child Loop BB0_21 Depth 2 ldrb w8, [sp, #24] cbz w8, LBB0_17 ; %bb.19: ; in Loop: Header=BB0_18 Depth=1 mov x25, x20 b LBB0_21 LBB0_20: ; in Loop: Header=BB0_21 Depth=2 bl _putchar ldrb w8, [x25], #1 cbz w8, LBB0_17 LBB0_21: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 sxtb w0, w8 sub w8, w8, #48 and w8, w8, #0xff cmp w8, #9 b.hi LBB0_24 ; %bb.22: ; in Loop: Header=BB0_21 Depth=2 ldr w8, [sp, #20] add w0, w8, w0 cmp w0, #58 b.lt LBB0_20 ; %bb.23: ; in Loop: Header=BB0_21 Depth=2 sub w8, w0, #48 umull x9, w8, w21 lsr x9, x9, #35 msub w8, w9, w22, w8 orr w0, w8, #0x30 b LBB0_20 LBB0_24: ; in Loop: Header=BB0_21 Depth=2 sub w8, w0, #65 cmp w8, #25 b.hi LBB0_27 ; %bb.25: ; in Loop: Header=BB0_21 Depth=2 ldr w8, [sp, #20] add w0, w8, w0 cmp w0, #91 b.lt LBB0_20 ; %bb.26: ; in Loop: Header=BB0_21 Depth=2 sub w8, w0, #65 umull x9, w8, w23 lsr x9, x9, #35 msub w8, w9, w24, w8 add w0, w8, #65 b LBB0_20 LBB0_27: ; in Loop: Header=BB0_21 Depth=2 sub w8, w0, #97 cmp w8, #25 b.hi LBB0_20 ; %bb.28: ; in Loop: Header=BB0_21 Depth=2 ldr w8, [sp, #20] add w0, w8, w0 cmp w0, #123 b.lt LBB0_20 ; %bb.29: ; in Loop: Header=BB0_21 Depth=2 sub w8, w0, #97 umull x9, w8, w23 lsr x9, x9, #35 msub w8, w9, w24, w8 add w0, w8, #97 b LBB0_20 LBB0_30: bl ___stack_chk_fail .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "> " l_.str.1: ; @.str.1 .asciz "%s" l_.str.2: ; @.str.2 .asciz "%d" l_str.4: ; @str.4 .asciz "\r" .subsections_via_symbols
the_stack_data/1119283.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Sys_ConfigureFPU ## -- Begin function Sys_ConfigureFPU .p2align 4, 0x90 _Sys_ConfigureFPU: ## @Sys_ConfigureFPU .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .comm __FPU_DEFAULT,4,2 ## @_FPU_DEFAULT .comm __FPU_MASK_IM,4,2 ## @_FPU_MASK_IM .comm __FPU_MASK_ZM,4,2 ## @_FPU_MASK_ZM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Sys_ConfigureFPU ; -- Begin function Sys_ConfigureFPU .p2align 2 _Sys_ConfigureFPU: ; @Sys_ConfigureFPU .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .comm __FPU_DEFAULT,4,2 ; @_FPU_DEFAULT .comm __FPU_MASK_IM,4,2 ; @_FPU_MASK_IM .comm __FPU_MASK_ZM,4,2 ; @_FPU_MASK_ZM .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/unix/extr_unix_main.c_Sys_ConfigureFPU.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _AcpiDsGetPackageArguments ## -- Begin function AcpiDsGetPackageArguments .p2align 4, 0x90 _AcpiDsGetPackageArguments: ## @AcpiDsGetPackageArguments .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq _DsGetPackageArguments@GOTPCREL(%rip), %rax movl (%rax), %edi movq %rbx, %rsi callq _ACPI_FUNCTION_TRACE_PTR movq _AOPOBJ_DATA_VALID@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, 16(%rbx) je LBB0_2 ## %bb.1: movq _AE_OK@GOTPCREL(%rip), %rax movl (%rax), %edi callq _return_ACPI_STATUS LBB0_2: movq 8(%rbx), %r14 testq %r14, %r14 jne LBB0_4 ## %bb.3: movl %ebx, %edi callq _ACPI_ERROR movq _AE_AML_INTERNAL@GOTPCREL(%rip), %rax movl (%rax), %edi callq _return_ACPI_STATUS LBB0_4: movl (%rbx), %edi callq _ACPI_DEBUG_PRINT movl (%rbx), %ecx movl 4(%rbx), %edx movq %r14, %rdi movq %r14, %rsi callq _AcpiDsExecuteArguments movl %eax, %edi popq %rbx popq %r14 popq %rbp jmp _return_ACPI_STATUS ## TAILCALL .cfi_endproc ## -- End function .comm _DsGetPackageArguments,4,2 ## @DsGetPackageArguments .comm _AOPOBJ_DATA_VALID,4,2 ## @AOPOBJ_DATA_VALID .comm _AE_OK,4,2 ## @AE_OK .comm _AE_INFO,4,2 ## @AE_INFO .comm _AE_AML_INTERNAL,4,2 ## @AE_AML_INTERNAL .comm _ACPI_DB_EXEC,4,2 ## @ACPI_DB_EXEC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _AcpiDsGetPackageArguments ; -- Begin function AcpiDsGetPackageArguments .p2align 2 _AcpiDsGetPackageArguments: ; @AcpiDsGetPackageArguments .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _DsGetPackageArguments@GOTPAGE Lloh1: ldr x8, [x8, _DsGetPackageArguments@GOTPAGEOFF] Lloh2: ldr w0, [x8] mov x1, x19 bl _ACPI_FUNCTION_TRACE_PTR ldr w8, [x19, #16] Lloh3: adrp x9, _AOPOBJ_DATA_VALID@GOTPAGE Lloh4: ldr x9, [x9, _AOPOBJ_DATA_VALID@GOTPAGEOFF] Lloh5: ldr w9, [x9] tst w9, w8 b.eq LBB0_2 ; %bb.1: Lloh6: adrp x8, _AE_OK@GOTPAGE Lloh7: ldr x8, [x8, _AE_OK@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _return_ACPI_STATUS LBB0_2: ldr x20, [x19, #8] cbnz x20, LBB0_4 ; %bb.3: mov x0, x19 bl _ACPI_ERROR Lloh9: adrp x8, _AE_AML_INTERNAL@GOTPAGE Lloh10: ldr x8, [x8, _AE_AML_INTERNAL@GOTPAGEOFF] Lloh11: ldr w0, [x8] bl _return_ACPI_STATUS LBB0_4: ldr w0, [x19] bl _ACPI_DEBUG_PRINT ldp w3, w2, [x19] mov x0, x20 mov x1, x20 bl _AcpiDsExecuteArguments ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _return_ACPI_STATUS .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _DsGetPackageArguments,4,2 ; @DsGetPackageArguments .comm _AOPOBJ_DATA_VALID,4,2 ; @AOPOBJ_DATA_VALID .comm _AE_OK,4,2 ; @AE_OK .comm _AE_INFO,4,2 ; @AE_INFO .comm _AE_AML_INTERNAL,4,2 ; @AE_AML_INTERNAL .comm _ACPI_DB_EXEC,4,2 ; @ACPI_DB_EXEC .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/dev/acpica/components/dispatcher/extr_dsargs.c_AcpiDsGetPackageArguments.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tsi108_do_ioctl _tsi108_do_ioctl: ## @tsi108_do_ioctl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rsi, %r12 movq %rdi, %rbx callq _netdev_priv movq %rax, %r15 movq %rbx, %rdi callq _netif_running testl %eax, %eax je LBB0_1 ## %bb.2: movq %r12, %rdi callq _if_mii movq %r15, %rdi movl %eax, %esi movl %r14d, %edx xorl %ecx, %ecx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _generic_mii_ioctl ## TAILCALL LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _tsi108_do_ioctl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tsi108_do_ioctl _tsi108_do_ioctl: ; @tsi108_do_ioctl .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 x22, x0 bl _netdev_priv mov x21, x0 mov x0, x22 bl _netif_running cbz w0, LBB0_2 ; %bb.1: mov x0, x20 bl _if_mii mov x1, x0 mov x0, x21 mov x2, x19 mov x3, #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 b _generic_mii_ioctl LBB0_2: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _tsi108_do_ioctl .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/extr_tsi108_eth.c_tsi108_do_ioctl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function carp_multicast_setup _carp_multicast_setup: ## @carp_multicast_setup .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 .comm _CARP_DFLTTL,8,3 ## @CARP_DFLTTL .comm _INADDR_CARP_GROUP,4,2 ## @INADDR_CARP_GROUP .comm _M_WAITOK,4,2 ## @M_WAITOK .no_dead_strip _carp_multicast_setup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function carp_multicast_setup _carp_multicast_setup: ; @carp_multicast_setup .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .comm _CARP_DFLTTL,8,3 ; @CARP_DFLTTL .comm _INADDR_CARP_GROUP,4,2 ; @INADDR_CARP_GROUP .comm _M_WAITOK,4,2 ; @M_WAITOK .no_dead_strip _carp_multicast_setup .subsections_via_symbols
AnghaBench/freebsd/sys/netinet/extr_ip_carp.c_carp_multicast_setup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _compile_add_query ## -- Begin function compile_add_query .p2align 4, 0x90 _compile_add_query: ## @compile_add_query .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 (%rdi), %rdx leaq L_.str(%rip), %rsi movl $3, %edi callq _vkprintf movq _Qq@GOTPCREL(%rip), %r14 movq (%r14), %rax testq %rax, %rax je LBB0_4 ## %bb.1: movq _Q_aux_num@GOTPCREL(%rip), %rdx movq (%rdx), %rcx movq _MAX_AUX_QUERIES@GOTPCREL(%rip), %rsi cmpq (%rsi), %rcx jne LBB0_3 ## %bb.2: xorl %eax, %eax jmp LBB0_5 LBB0_3: movq _Q_aux@GOTPCREL(%rip), %rsi movq (%rsi), %rsi leaq 1(%rcx), %rdi movq %rdi, (%rdx) movq %rax, (%rsi,%rcx,8) movq $0, (%r14) LBB0_4: movq (%rbx), %rax movq _Qs@GOTPCREL(%rip), %r15 movq %rax, (%r15) movl $128, %edi callq _parse_query movq %rax, (%r14) movq (%r15), %rcx movq %rcx, (%rbx) LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "parsing additional query %.40s...\n" .comm _Qq,8,3 ## @Qq .comm _Q_aux_num,8,3 ## @Q_aux_num .comm _MAX_AUX_QUERIES,8,3 ## @MAX_AUX_QUERIES .comm _Q_aux,8,3 ## @Q_aux .comm _Qs,8,3 ## @Qs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _compile_add_query ; -- Begin function compile_add_query .p2align 2 _compile_add_query: ; @compile_add_query .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x2, [x0] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w0, #3 bl _vkprintf Lloh2: adrp x20, _Qq@GOTPAGE Lloh3: ldr x20, [x20, _Qq@GOTPAGEOFF] ldr x8, [x20] cbz x8, LBB0_4 ; %bb.1: Lloh4: adrp x9, _Q_aux_num@GOTPAGE Lloh5: ldr x9, [x9, _Q_aux_num@GOTPAGEOFF] ldr x10, [x9] Lloh6: adrp x11, _MAX_AUX_QUERIES@GOTPAGE Lloh7: ldr x11, [x11, _MAX_AUX_QUERIES@GOTPAGEOFF] Lloh8: ldr x11, [x11] cmp x10, x11 b.ne LBB0_3 ; %bb.2: mov x0, #0 b LBB0_5 LBB0_3: Lloh9: adrp x11, _Q_aux@GOTPAGE Lloh10: ldr x11, [x11, _Q_aux@GOTPAGEOFF] Lloh11: ldr x11, [x11] add x12, x10, #1 str x12, [x9] str x8, [x11, x10, lsl #3] str xzr, [x20] LBB0_4: ldr x8, [x19] Lloh12: adrp x21, _Qs@GOTPAGE Lloh13: ldr x21, [x21, _Qs@GOTPAGEOFF] str x8, [x21] mov w0, #128 bl _parse_query str x0, [x20] ldr x8, [x21] str x8, [x19] LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "parsing additional query %.40s...\n" .comm _Qq,8,3 ; @Qq .comm _Q_aux_num,8,3 ; @Q_aux_num .comm _MAX_AUX_QUERIES,8,3 ; @MAX_AUX_QUERIES .comm _Q_aux,8,3 ; @Q_aux .comm _Qs,8,3 ; @Qs .subsections_via_symbols
AnghaBench/kphp-kdb/targ/extr_targ-search.c_compile_add_query.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vmci_dispatch_dgs _vmci_dispatch_dgs: ## @vmci_dispatch_dgs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq (%rdi), %r13 movq _VMCI_MAX_DG_SIZE@GOTPCREL(%rip), %rax movq (%rax), %rax movq _PAGE_SIZE@GOTPCREL(%rip), %r14 movq (%r14), %r15 xorl %edi, %edi movq %rax, -56(%rbp) ## 8-byte Spill cmpq %r15, %rax setb %dil callq _BUILD_BUG_ON movq _VMCI_DATA_IN_ADDR@GOTPCREL(%rip), %rax movq (%rax), %rdi addq 8(%rbx), %rdi movq %rbx, -48(%rbp) ## 8-byte Spill movq (%rbx), %rsi movq %r15, %rdx callq _ioread8_rep movq (%r13), %rax movq _VMCI_INVALID_ID@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%r14), %rsi cmpq %rcx, %rax jne LBB0_2 ## %bb.1: cmpq %rsi, %r15 jbe LBB0_24 LBB0_2: movq -56(%rbp), %rdi ## 8-byte Reload leaq (,%rdi,4), %rdx addq %r13, %rdx movq %rdx, -72(%rbp) ## 8-byte Spill leaq (,%rdi,4), %rdi negq %rdi movq %r13, %r14 movq %r15, %r12 movq %r13, -80(%rbp) ## 8-byte Spill movq %rdi, -64(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_18 Depth 2 cmpq %rcx, %rax jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 incq %r14 movq %r14, %rdi callq _roundup movq %rax, %r14 leaq (,%r12,4), %r15 addq %r13, %r15 subq %rax, %r15 sarq $2, %r15 jmp LBB0_22 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi callq _VMCI_DG_SIZE_ALIGNED movl %eax, %ebx movq -56(%rbp), %rax ## 8-byte Reload cmpq %rbx, %rax jae LBB0_6 ## %bb.17: ## in Loop: Header=BB0_3 Depth=1 movq -48(%rbp), %rcx ## 8-byte Reload movl 16(%rcx), %edi leaq L_.str.1(%rip), %rsi movl %ebx, %edx movq %rax, %r12 xorl %eax, %eax callq _dev_dbg leaq (%r12,%rbx), %r13 subq %r15, %rbx movq -72(%rbp), %rax ## 8-byte Reload leaq (%rax,%rbx,4), %r14 subq %r15, %r13 movq -48(%rbp), %r15 ## 8-byte Reload movq %r12, %rbx movq -64(%rbp), %r12 ## 8-byte Reload .p2align 4, 0x90 LBB0_18: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 addq %r12, %r14 movq _VMCI_DATA_IN_ADDR@GOTPCREL(%rip), %rax movq (%rax), %rdi addq 8(%r15), %rdi movq (%r15), %rsi movq %rbx, %rdx callq _ioread8_rep subq %rbx, %r13 cmpq %rbx, %r13 ja LBB0_18 ## %bb.19: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, %r12 movq -80(%rbp), %r13 ## 8-byte Reload jmp LBB0_20 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 cmpq %rbx, %r15 jae LBB0_10 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 cmpq %r12, %r15 je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 leaq (,%r12,4), %rsi addq %r13, %rsi leaq (,%r15,4), %rax subq %rax, %rsi movq %r13, %rdi movq %r15, %rdx callq _memmove movq %r13, %r14 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movq _VMCI_DATA_IN_ADDR@GOTPCREL(%rip), %rax movq (%rax), %rdi movq -48(%rbp), %rax ## 8-byte Reload addq 8(%rax), %rdi leaq (,%r15,4), %rsi addq (%rax), %rsi movq -56(%rbp), %r12 ## 8-byte Reload movq %r12, %rdx subq %r15, %rdx callq _ioread8_rep LBB0_10: ## in Loop: Header=BB0_3 Depth=1 movq 8(%r14), %rax movq _VMCI_HYPERVISOR_CONTEXT_ID@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_13 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movq (%r14), %rax movq _VMCI_EVENT_HANDLER@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_13 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi callq _vmci_event_dispatch jmp LBB0_14 LBB0_13: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi callq _vmci_datagram_invoke_guest_handler LBB0_14: ## in Loop: Header=BB0_3 Depth=1 movq _VMCI_SUCCESS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_16 ## %bb.15: ## in Loop: Header=BB0_3 Depth=1 movq -48(%rbp), %rcx ## 8-byte Reload movl 16(%rcx), %edi movl (%r14), %edx leaq L_.str(%rip), %rsi movl %eax, %ecx xorl %eax, %eax callq _dev_dbg LBB0_16: ## in Loop: Header=BB0_3 Depth=1 leaq (%r14,%rbx,4), %r14 LBB0_20: ## in Loop: Header=BB0_3 Depth=1 leaq (,%r12,4), %r15 addq %r13, %r15 subq %r14, %r15 sarq $2, %r15 movq _VMCI_DG_HEADERSIZE@GOTPCREL(%rip), %rax cmpq (%rax), %r15 jae LBB0_22 ## %bb.21: ## in Loop: Header=BB0_3 Depth=1 movq _VMCI_DATA_IN_ADDR@GOTPCREL(%rip), %rax movq (%rax), %rdi movq -48(%rbp), %rax ## 8-byte Reload addq 8(%rax), %rdi movq (%rax), %rsi movq %r12, %rdx movq %r12, %rbx callq _ioread8_rep movq %r12, %r15 movq %r13, %r14 LBB0_22: ## in Loop: Header=BB0_3 Depth=1 movq (%r14), %rax movq _VMCI_INVALID_ID@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _PAGE_SIZE@GOTPCREL(%rip), %rdx movq (%rdx), %rsi cmpq %rcx, %rax jne LBB0_3 ## %bb.23: ## in Loop: Header=BB0_3 Depth=1 cmpq %rsi, %r15 ja LBB0_3 LBB0_24: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _VMCI_MAX_DG_SIZE,8,3 ## @VMCI_MAX_DG_SIZE .comm _PAGE_SIZE,8,3 ## @PAGE_SIZE .comm _VMCI_DATA_IN_ADDR,8,3 ## @VMCI_DATA_IN_ADDR .comm _VMCI_INVALID_ID,8,3 ## @VMCI_INVALID_ID .comm _VMCI_HYPERVISOR_CONTEXT_ID,8,3 ## @VMCI_HYPERVISOR_CONTEXT_ID .comm _VMCI_EVENT_HANDLER,8,3 ## @VMCI_EVENT_HANDLER .comm _VMCI_SUCCESS,4,2 ## @VMCI_SUCCESS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Datagram with resource (ID=0x%x) failed (err=%d)\n" L_.str.1: ## @.str.1 .asciz "Failed to receive datagram (size=%u bytes)\n" .comm _VMCI_DG_HEADERSIZE,8,3 ## @VMCI_DG_HEADERSIZE .no_dead_strip _vmci_dispatch_dgs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vmci_dispatch_dgs _vmci_dispatch_dgs: ; @vmci_dispatch_dgs .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 ldr x27, [x0] Lloh0: adrp x8, _VMCI_MAX_DG_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _VMCI_MAX_DG_SIZE@GOTPAGEOFF] Lloh2: ldr x21, [x8] Lloh3: adrp x22, _PAGE_SIZE@GOTPAGE Lloh4: ldr x22, [x22, _PAGE_SIZE@GOTPAGEOFF] ldr x26, [x22] cmp x21, x26 cset w0, lo bl _BUILD_BUG_ON Lloh5: adrp x23, _VMCI_DATA_IN_ADDR@GOTPAGE Lloh6: ldr x23, [x23, _VMCI_DATA_IN_ADDR@GOTPAGEOFF] ldr x8, [x23] ldp x1, x9, [x19] add x0, x8, x9 mov x2, x26 bl _ioread8_rep ldr x8, [x27] Lloh7: adrp x20, _VMCI_INVALID_ID@GOTPAGE Lloh8: ldr x20, [x20, _VMCI_INVALID_ID@GOTPAGEOFF] ldr x9, [x20] ldr x1, [x22] cmp x8, x9 ccmp x26, x1, #2, eq b.ls LBB0_22 ; %bb.1: lsl x10, x21, #2 add x11, x27, x10 stp x11, x27, [sp, #16] ; 16-byte Folded Spill neg x28, x10 mov x24, x27 mov x25, x26 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add x0, x24, #1 bl _roundup mov x24, x0 add x8, x27, x25, lsl #2 sub x8, x8, x0 asr x26, x8, #2 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x24] ldr x9, [x20] ldr x1, [x22] cmp x8, x9 ccmp x26, x1, #2, eq b.ls LBB0_22 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 cmp x8, x9 b.eq LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x0, x24 bl _VMCI_DG_SIZE_ALIGNED mov w27, w0 cmp x21, x27 b.hs LBB0_9 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x19, #16] Lloh9: adrp x1, l_.str.1@PAGE Lloh10: add x1, x1, l_.str.1@PAGEOFF mov x2, x27 bl _dev_dbg sub x8, x27, x26 ldr x9, [sp, #16] ; 8-byte Folded Reload add x24, x9, x8, lsl #2 add x8, x21, x27 sub x25, x8, x26 LBB0_7: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x23] ldp x1, x9, [x19] add x0, x8, x9 mov x2, x21 bl _ioread8_rep add x24, x24, x28 sub x25, x25, x21 cmp x25, x21 b.hi LBB0_7 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 mov x25, x21 b LBB0_20 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 cmp x26, x27 b.hs LBB0_13 ; %bb.10: ; in Loop: Header=BB0_4 Depth=1 cmp x26, x25 b.eq LBB0_12 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 ldr x24, [sp, #24] ; 8-byte Folded Reload add x8, x24, x25, lsl #2 sub x1, x8, x26, lsl #2 mov x0, x24 mov x2, x26 bl _memmove LBB0_12: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x23] ldp x10, x9, [x19] add x0, x8, x9 add x1, x10, x26, lsl #2 sub x2, x21, x26 bl _ioread8_rep mov x25, x21 LBB0_13: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x24, #8] Lloh11: adrp x9, _VMCI_HYPERVISOR_CONTEXT_ID@GOTPAGE Lloh12: ldr x9, [x9, _VMCI_HYPERVISOR_CONTEXT_ID@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x8, x9 b.ne LBB0_16 ; %bb.14: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x24] Lloh14: adrp x9, _VMCI_EVENT_HANDLER@GOTPAGE Lloh15: ldr x9, [x9, _VMCI_EVENT_HANDLER@GOTPAGEOFF] Lloh16: ldr x9, [x9] cmp x8, x9 b.ne LBB0_16 ; %bb.15: ; in Loop: Header=BB0_4 Depth=1 mov x0, x24 bl _vmci_event_dispatch b LBB0_17 LBB0_16: ; in Loop: Header=BB0_4 Depth=1 mov x0, x24 bl _vmci_datagram_invoke_guest_handler LBB0_17: ; in Loop: Header=BB0_4 Depth=1 ; kill: def $w0 killed $w0 def $x0 Lloh17: adrp x8, _VMCI_SUCCESS@GOTPAGE Lloh18: ldr x8, [x8, _VMCI_SUCCESS@GOTPAGEOFF] Lloh19: ldr w8, [x8] cmp w0, w8 b.ge LBB0_19 ; %bb.18: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x19, #16] ldr w2, [x24] str x0, [sp] mov x0, x8 Lloh20: adrp x1, l_.str@PAGE Lloh21: add x1, x1, l_.str@PAGEOFF bl _dev_dbg LBB0_19: ; in Loop: Header=BB0_4 Depth=1 add x24, x24, x27, lsl #2 LBB0_20: ; in Loop: Header=BB0_4 Depth=1 ldr x27, [sp, #24] ; 8-byte Folded Reload add x8, x27, x25, lsl #2 sub x8, x8, x24 asr x26, x8, #2 Lloh22: adrp x8, _VMCI_DG_HEADERSIZE@GOTPAGE Lloh23: ldr x8, [x8, _VMCI_DG_HEADERSIZE@GOTPAGEOFF] Lloh24: ldr x8, [x8] cmp x26, x8 b.hs LBB0_3 ; %bb.21: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x23] ldp x1, x9, [x19] add x0, x8, x9 mov x2, x25 bl _ioread8_rep mov x26, x25 mov x24, x27 b LBB0_3 LBB0_22: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .cfi_endproc ; -- End function .comm _VMCI_MAX_DG_SIZE,8,3 ; @VMCI_MAX_DG_SIZE .comm _PAGE_SIZE,8,3 ; @PAGE_SIZE .comm _VMCI_DATA_IN_ADDR,8,3 ; @VMCI_DATA_IN_ADDR .comm _VMCI_INVALID_ID,8,3 ; @VMCI_INVALID_ID .comm _VMCI_HYPERVISOR_CONTEXT_ID,8,3 ; @VMCI_HYPERVISOR_CONTEXT_ID .comm _VMCI_EVENT_HANDLER,8,3 ; @VMCI_EVENT_HANDLER .comm _VMCI_SUCCESS,4,2 ; @VMCI_SUCCESS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Datagram with resource (ID=0x%x) failed (err=%d)\n" l_.str.1: ; @.str.1 .asciz "Failed to receive datagram (size=%u bytes)\n" .comm _VMCI_DG_HEADERSIZE,8,3 ; @VMCI_DG_HEADERSIZE .no_dead_strip _vmci_dispatch_dgs .subsections_via_symbols
AnghaBench/linux/drivers/misc/vmw_vmci/extr_vmci_guest.c_vmci_dispatch_dgs.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _NetlinkExec ## -- Begin function NetlinkExec .p2align 4, 0x90 _NetlinkExec: ## @NetlinkExec .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 _NetlinkArea@GOTPCREL(%rip), %rbx movq (%rbx), %rax movl (%rax), %ecx addl %edi, %ecx movl %ecx, (%rax) addl %edi, 24(%rax) movl 4(%rax), %edx cmpl $-1, %edx je LBB0_1 ## %bb.2: addl %edi, %edx movl %edx, 4(%rax) cmpl $20000, %ecx ## imm = 0x4E20 jge LBB0_4 jmp LBB0_7 LBB0_1: movl $-1, %edx cmpl $20000, %ecx ## imm = 0x4E20 jl LBB0_7 LBB0_4: addl $-20000, %ecx ## imm = 0xB1E0 movl %ecx, (%rax) cmpl $3, 8(%rax) jne LBB0_7 ## %bb.5: cmpl $1000000, %edx ## imm = 0xF4240 jl LBB0_7 ## %bb.6: leaq L_.str(%rip), %rdi callq _NETLINK_LOG movq _NL_MODEMSTATE_COMMAND@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rbx), %rcx movq %rax, 32(%rcx) LBB0_7: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _NetlinkArea,8,3 ## @NetlinkArea .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Detected escape sequence, switching back to command mode\n" .comm _NL_MODEMSTATE_COMMAND,8,3 ## @NL_MODEMSTATE_COMMAND .comm _NL_CONNECTSTATUS_LOGIN1,4,2 ## @NL_CONNECTSTATUS_LOGIN1 .comm _NL_MODEMSTATE_DATA,8,3 ## @NL_MODEMSTATE_DATA .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _NetlinkExec ; -- Begin function NetlinkExec .p2align 2 _NetlinkExec: ; @NetlinkExec .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, _NetlinkArea@GOTPAGE Lloh1: ldr x19, [x19, _NetlinkArea@GOTPAGEOFF] ldr x8, [x19] ldp w9, w10, [x8] add w9, w9, w0 str w9, [x8] ldr w11, [x8, #24] add w11, w11, w0 str w11, [x8, #24] cmn w10, #1 b.eq LBB0_2 ; %bb.1: add w10, w10, w0 str w10, [x8, #4] LBB0_2: mov w11, #20000 cmp w9, w11 b.lt LBB0_5 ; %bb.3: mov w11, #-20000 add w9, w9, w11 str w9, [x8] ldr w8, [x8, #8] cmp w8, #3 mov w8, #16960 movk w8, #15, lsl #16 ccmp w10, w8, #8, eq b.lt LBB0_5 ; %bb.4: Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _NETLINK_LOG Lloh4: adrp x8, _NL_MODEMSTATE_COMMAND@GOTPAGE Lloh5: ldr x8, [x8, _NL_MODEMSTATE_COMMAND@GOTPAGEOFF] Lloh6: ldr x8, [x8] ldr x9, [x19] str x8, [x9, #32] LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _NetlinkArea,8,3 ; @NetlinkArea .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Detected escape sequence, switching back to command mode\n" .comm _NL_MODEMSTATE_COMMAND,8,3 ; @NL_MODEMSTATE_COMMAND .comm _NL_CONNECTSTATUS_LOGIN1,4,2 ; @NL_CONNECTSTATUS_LOGIN1 .comm _NL_MODEMSTATE_DATA,8,3 ; @NL_MODEMSTATE_DATA .subsections_via_symbols
AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_netlink.c_NetlinkExec.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ogg_free _ogg_free: ## @ogg_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %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 16(%rdi), %rax movq %rax, -48(%rbp) ## 8-byte Spill movq (%rax), %r15 movl (%rdi), %eax testl %eax, %eax jle LBB0_10 ## %bb.1: movq %rdi, %r14 xorl %ebx, %ebx jmp LBB0_2 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movq (%r12), %rdi callq _av_freep LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movq (%r12), %rdi addq $8, %rdi callq _av_freep movq %r13, %rdi callq _av_freep movl (%r14), %eax LBB0_9: ## in Loop: Header=BB0_2 Depth=1 incq %rbx movslq %eax, %rcx cmpq %rcx, %rbx jge LBB0_10 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rcx movq (%rcx,%rbx,8), %r13 movq (%r13), %r12 testq %r12, %r12 je LBB0_9 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq 8(%r13), %rax movq (%rax), %rax movq _AV_CODEC_ID_FLAC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq _AV_CODEC_ID_SPEEX@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movq _AV_CODEC_ID_OPUS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movq _AV_CODEC_ID_VP8@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_8 jmp LBB0_7 LBB0_10: testq %r15, %r15 je LBB0_12 .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rbx movq %r15, %rdi callq _av_free movq %rbx, %r15 testq %rbx, %rbx jne LBB0_11 LBB0_12: movq -48(%rbp), %rax ## 8-byte Reload movq $0, (%rax) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AV_CODEC_ID_FLAC,8,3 ## @AV_CODEC_ID_FLAC .comm _AV_CODEC_ID_SPEEX,8,3 ## @AV_CODEC_ID_SPEEX .comm _AV_CODEC_ID_OPUS,8,3 ## @AV_CODEC_ID_OPUS .comm _AV_CODEC_ID_VP8,8,3 ## @AV_CODEC_ID_VP8 .no_dead_strip _ogg_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ogg_free _ogg_free: ; @ogg_free .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 ldr x22, [x0, #16] ldr x19, [x22] ldr w8, [x0] cmp w8, #1 b.lt LBB0_7 ; %bb.1: mov x20, x0 mov x23, #0 Lloh0: adrp x24, _AV_CODEC_ID_FLAC@GOTPAGE Lloh1: ldr x24, [x24, _AV_CODEC_ID_FLAC@GOTPAGEOFF] Lloh2: adrp x25, _AV_CODEC_ID_SPEEX@GOTPAGE Lloh3: ldr x25, [x25, _AV_CODEC_ID_SPEEX@GOTPAGEOFF] Lloh4: adrp x26, _AV_CODEC_ID_OPUS@GOTPAGE Lloh5: ldr x26, [x26, _AV_CODEC_ID_OPUS@GOTPAGEOFF] Lloh6: adrp x27, _AV_CODEC_ID_VP8@GOTPAGE Lloh7: ldr x27, [x27, _AV_CODEC_ID_VP8@GOTPAGEOFF] b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x28] add x0, x8, #8 bl _av_freep mov x0, x21 bl _av_freep ldr w8, [x20] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x23, x23, #1 cmp x23, w8, sxtw b.ge LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x9, [x20, #8] ldr x21, [x9, x23, lsl #3] ldr x28, [x21] cbz x28, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x21, #8] ldr x8, [x8] ldr x9, [x24] ldr x10, [x25] ldr x11, [x26] ldr x12, [x27] cmp x8, x9 ccmp x8, x10, #4, ne ccmp x8, x11, #4, ne ccmp x8, x12, #4, ne b.ne LBB0_2 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr x0, [x28] bl _av_freep b LBB0_2 LBB0_7: cbz x19, LBB0_9 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr x20, [x19] mov x0, x19 bl _av_free mov x19, x20 cbnz x20, LBB0_8 LBB0_9: str xzr, [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 ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _AV_CODEC_ID_FLAC,8,3 ; @AV_CODEC_ID_FLAC .comm _AV_CODEC_ID_SPEEX,8,3 ; @AV_CODEC_ID_SPEEX .comm _AV_CODEC_ID_OPUS,8,3 ; @AV_CODEC_ID_OPUS .comm _AV_CODEC_ID_VP8,8,3 ; @AV_CODEC_ID_VP8 .no_dead_strip _ogg_free .subsections_via_symbols
AnghaBench/FFmpeg/libavformat/extr_oggenc.c_ogg_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mincinit ## -- Begin function mincinit .p2align 4, 0x90 _mincinit: ## @mincinit .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 _errno@GOTPCREL(%rip), %rax movl $0, (%rax) leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq ___stdinp@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi leaq L_.str.3(%rip), %rbx movq %rbx, %rsi callq _fopen movq ___stdoutp@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi movq %rbx, %rsi callq _fopen movq ___stderrp@GOTPCREL(%rip), %rcx movq %rax, (%rcx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _errno,4,2 ## @errno .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/dev/stdin" L_.str.1: ## @.str.1 .asciz "r" .comm ___stdinp,8,3 ## @__stdinp L_.str.2: ## @.str.2 .asciz "/dev/stdout" L_.str.3: ## @.str.3 .asciz "w" .comm ___stdoutp,8,3 ## @__stdoutp L_.str.4: ## @.str.4 .asciz "/dev/stderr" .comm ___stderrp,8,3 ## @__stderrp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mincinit ; -- Begin function mincinit .p2align 2 _mincinit: ; @mincinit .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _errno@GOTPAGE Lloh1: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh2: str wzr, [x8] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF bl _fopen Lloh7: adrp x8, ___stdinp@GOTPAGE Lloh8: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh9: str x0, [x8] Lloh10: adrp x0, l_.str.2@PAGE Lloh11: add x0, x0, l_.str.2@PAGEOFF Lloh12: adrp x19, l_.str.3@PAGE Lloh13: add x19, x19, l_.str.3@PAGEOFF mov x1, x19 bl _fopen Lloh14: adrp x8, ___stdoutp@GOTPAGE Lloh15: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh16: str x0, [x8] Lloh17: adrp x0, l_.str.4@PAGE Lloh18: add x0, x0, l_.str.4@PAGEOFF mov x1, x19 bl _fopen Lloh19: adrp x8, ___stderrp@GOTPAGE Lloh20: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh21: str x0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh19, Lloh20, Lloh21 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotStr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotStr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _errno,4,2 ; @errno .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/dev/stdin" l_.str.1: ; @.str.1 .asciz "r" .comm ___stdinp,8,3 ; @__stdinp l_.str.2: ; @.str.2 .asciz "/dev/stdout" l_.str.3: ; @.str.3 .asciz "w" .comm ___stdoutp,8,3 ; @__stdoutp l_.str.4: ; @.str.4 .asciz "/dev/stderr" .comm ___stderrp,8,3 ; @__stderrp .subsections_via_symbols
the_stack_data/72012893.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $1016, %rsp ## imm = 0x3F8 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq -1056(%rbp), %r15 movq %r15, %rdi movl $1000, %esi ## imm = 0x3E8 callq _fgets leaq l___const.main.mass1(%rip), %r12 xorl %r13d, %r13d jmp LBB0_1 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 incq %r13 cmpq $26, %r13 je LBB0_12 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 movq %r15, %rdi callq _strlen cmpq $1, %rax je LBB0_11 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 xorl %r14d, %r14d xorl %ebx, %ebx jmp LBB0_3 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_3 Depth=2 incq %r14 movq %r15, %rdi callq _strlen movq %rax, %rcx decq %rcx cmpq %r14, %rcx jbe LBB0_11 LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl -1056(%rbp,%r14), %ecx movl %ecx, %edx andb $-33, %dl addb $-65, %dl cmpb $25, %dl ja LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 cmpb (%r13,%r12), %cl je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 leaq l___const.main.mass2(%rip), %rdx cmpb (%r13,%rdx), %cl jne LBB0_7 LBB0_6: ## in Loop: Header=BB0_3 Depth=2 incl %ebx LBB0_7: ## in Loop: Header=BB0_3 Depth=2 addq $-2, %rax cmpq %rax, %r14 jne LBB0_10 ## %bb.8: ## in Loop: Header=BB0_3 Depth=2 testl %ebx, %ebx jle LBB0_10 ## %bb.9: ## in Loop: Header=BB0_3 Depth=2 movsbl (%r13,%r12), %esi leaq L_.str(%rip), %rdi movl %ebx, %edx xorl %eax, %eax callq _printf jmp LBB0_10 LBB0_12: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_14 ## %bb.13: xorl %eax, %eax addq $1016, %rsp ## imm = 0x3F8 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_14: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @__const.main.mass1 l___const.main.mass1: .ascii "abcdefghijklmnopqrstuvwxyz" .p2align 4 ## @__const.main.mass2 l___const.main.mass2: .ascii "ABCDEFGHIJKLMNOPQRSTUVWXYZ" .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%c - %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: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 sub sp, sp, #1024 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] Lloh3: adrp x8, ___stdinp@GOTPAGE Lloh4: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh5: ldr x2, [x8] add x20, sp, #16 add x0, sp, #16 mov w1, #1000 bl _fgets mov x21, #0 Lloh6: adrp x22, l___const.main.mass1@PAGE Lloh7: add x22, x22, l___const.main.mass1@PAGEOFF Lloh8: adrp x23, l___const.main.mass2@PAGE Lloh9: add x23, x23, l___const.main.mass2@PAGEOFF Lloh10: adrp x19, l_.str@PAGE Lloh11: add x19, x19, l_.str@PAGEOFF b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add x21, x21, #1 cmp x21, #26 b.eq LBB0_12 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 add x0, sp, #16 bl _strlen cmp x0, #1 b.eq LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x24, #0 mov w25, #0 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=2 add x24, x24, #1 add x0, sp, #16 bl _strlen sub x8, x0, #1 cmp x8, x24 b.ls LBB0_1 LBB0_5: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x20, x24] and w9, w8, #0xffffffdf sub w9, w9, #65 cmp w9, #25 b.hi LBB0_9 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 ldrb w9, [x22, x21] cmp w8, w9 b.eq LBB0_8 ; %bb.7: ; in Loop: Header=BB0_5 Depth=2 ldrb w9, [x23, x21] cmp w8, w9 b.ne LBB0_9 LBB0_8: ; in Loop: Header=BB0_5 Depth=2 add w25, w25, #1 LBB0_9: ; in Loop: Header=BB0_5 Depth=2 sub x8, x0, #2 cmp x24, x8 b.ne LBB0_4 ; %bb.10: ; in Loop: Header=BB0_5 Depth=2 cmp w25, #1 b.lt LBB0_4 ; %bb.11: ; in Loop: Header=BB0_5 Depth=2 ldrsb x8, [x22, x21] stp x8, x25, [sp] mov x0, x19 bl _printf b LBB0_4 LBB0_12: ldur x8, [x29, #-72] Lloh12: adrp x9, ___stack_chk_guard@GOTPAGE Lloh13: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh14: ldr x9, [x9] cmp x9, x8 b.ne LBB0_14 ; %bb.13: mov w0, #0 add sp, sp, #1024 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_14: bl ___stack_chk_fail .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .section __TEXT,__const l___const.main.mass1: ; @__const.main.mass1 .ascii "abcdefghijklmnopqrstuvwxyz" l___const.main.mass2: ; @__const.main.mass2 .ascii "ABCDEFGHIJKLMNOPQRSTUVWXYZ" .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%c - %d\n" .subsections_via_symbols
the_stack_data/140766757.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function test_scale LCPI0_0: .quad 0x4014000000000000 ## double 5 LCPI0_1: .quad 0x4024000000000000 ## double 10 LCPI0_2: .quad 0x4000000000000000 ## double 2 LCPI0_3: .quad 0x3ff0000000000000 ## double 1 LCPI0_4: .quad 0x4004000000000000 ## double 2.5 LCPI0_5: .quad 0x4045000000000000 ## double 42 LCPI0_6: .quad 0x40a7700000000000 ## double 3000 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _test_scale: ## @test_scale .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _FillModeAlternate@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -56(%rbp), %rsi callq _GdipCreatePath movq _Ok@GOTPCREL(%rip), %r12 movl (%r12), %edi movl %eax, %esi callq _expect movq -56(%rbp), %rdi movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI0_1(%rip), %xmm2 ## xmm2 = mem[0],zero movaps %xmm0, %xmm1 movaps %xmm2, %xmm3 callq _GdipAddPathRectangle movl (%r12), %edi movl %eax, %esi callq _expect movq -56(%rbp), %rsi movq _LineCapFlat@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -40(%rbp), %rcx xorps %xmm0, %xmm0 xorl %edi, %edi callq _GdipCreateCustomLineCap movl (%r12), %edi movl %eax, %esi callq _expect xorl %edi, %edi xorl %esi, %esi callq _GdipGetCustomLineCapWidthScale movq _InvalidParameter@GOTPCREL(%rip), %rbx movl (%rbx), %edi movl %eax, %esi callq _expect leaq -48(%rbp), %r14 xorl %edi, %edi movq %r14, %rsi callq _GdipGetCustomLineCapWidthScale movl (%rbx), %edi movl %eax, %esi callq _expect movq -40(%rbp), %rdi xorl %esi, %esi callq _GdipGetCustomLineCapWidthScale movl (%rbx), %edi movl %eax, %esi callq _expect movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero xorl %edi, %edi callq _GdipSetCustomLineCapWidthScale movl (%rbx), %edi movl %eax, %esi callq _expect movl $3735928559, %r15d ## imm = 0xDEADBEEF movq %r15, -48(%rbp) movq -40(%rbp), %rdi movq %r14, %rsi callq _GdipGetCustomLineCapWidthScale movl (%r12), %edi movl %eax, %esi callq _expect movq -48(%rbp), %rdi movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero callq _expectf movq -40(%rbp), %rdi movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero callq _GdipSetCustomLineCapWidthScale movl (%r12), %edi movl %eax, %esi callq _expect movq %r15, -48(%rbp) movq -40(%rbp), %rdi movq %r14, %rsi callq _GdipGetCustomLineCapWidthScale movl (%r12), %edi movl %eax, %esi callq _expect movq -48(%rbp), %rdi movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero callq _expectf movq -40(%rbp), %rdi movsd LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero callq _GdipSetCustomLineCapWidthScale movl (%r12), %edi movl %eax, %esi callq _expect movq %r15, -48(%rbp) movq -40(%rbp), %rdi movq %r14, %rsi callq _GdipGetCustomLineCapWidthScale movl (%r12), %edi movl %eax, %esi callq _expect movq -48(%rbp), %rdi movsd LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero callq _expectf movq -40(%rbp), %rdi movsd LCPI0_6(%rip), %xmm0 ## xmm0 = mem[0],zero callq _GdipSetCustomLineCapWidthScale movl (%r12), %edi movl %eax, %esi callq _expect movq %r15, -48(%rbp) movq -40(%rbp), %rdi movq %r14, %rsi callq _GdipGetCustomLineCapWidthScale movl (%r12), %edi movl %eax, %esi callq _expect movq -48(%rbp), %rdi movsd LCPI0_6(%rip), %xmm0 ## xmm0 = mem[0],zero callq _expectf movq -40(%rbp), %rdi xorps %xmm0, %xmm0 callq _GdipSetCustomLineCapWidthScale movl (%r12), %edi movl %eax, %esi callq _expect movq %r15, -48(%rbp) movq -40(%rbp), %rdi movq %r14, %rsi callq _GdipGetCustomLineCapWidthScale movl (%r12), %edi movl %eax, %esi callq _expect movq -48(%rbp), %rdi xorps %xmm0, %xmm0 callq _expectf movq -40(%rbp), %rdi callq _GdipDeleteCustomLineCap movq -56(%rbp), %rdi callq _GdipDeletePath addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FillModeAlternate,4,2 ## @FillModeAlternate .comm _Ok,4,2 ## @Ok .comm _LineCapFlat,4,2 ## @LineCapFlat .comm _InvalidParameter,4,2 ## @InvalidParameter .no_dead_strip _test_scale .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_scale _test_scale: ; @test_scale .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp d9, d8, [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 b8, -40 .cfi_offset b9, -48 Lloh0: adrp x8, _FillModeAlternate@GOTPAGE Lloh1: ldr x8, [x8, _FillModeAlternate@GOTPAGEOFF] Lloh2: ldr w0, [x8] add x1, sp, #16 bl _GdipCreatePath mov x1, x0 Lloh3: adrp x19, _Ok@GOTPAGE Lloh4: ldr x19, [x19, _Ok@GOTPAGEOFF] ldr w0, [x19] bl _expect ldr x0, [sp, #16] fmov d0, #5.00000000 fmov d1, #5.00000000 fmov d2, #10.00000000 fmov d3, #10.00000000 bl _GdipAddPathRectangle mov x1, x0 ldr w0, [x19] bl _expect ldr x1, [sp, #16] Lloh5: adrp x8, _LineCapFlat@GOTPAGE Lloh6: ldr x8, [x8, _LineCapFlat@GOTPAGEOFF] Lloh7: ldr w2, [x8] movi d0, #0000000000000000 add x3, sp, #24 mov x0, #0 bl _GdipCreateCustomLineCap mov x1, x0 ldr w0, [x19] bl _expect mov x0, #0 mov x1, #0 bl _GdipGetCustomLineCapWidthScale mov x1, x0 Lloh8: adrp x20, _InvalidParameter@GOTPAGE Lloh9: ldr x20, [x20, _InvalidParameter@GOTPAGEOFF] ldr w0, [x20] bl _expect add x1, sp, #8 mov x0, #0 bl _GdipGetCustomLineCapWidthScale mov x1, x0 ldr w0, [x20] bl _expect ldr x0, [sp, #24] mov x1, #0 bl _GdipGetCustomLineCapWidthScale mov x1, x0 ldr w0, [x20] bl _expect fmov d0, #2.00000000 mov x0, #0 bl _GdipSetCustomLineCapWidthScale mov x1, x0 ldr w0, [x20] bl _expect mov w20, #48879 movk w20, #57005, lsl #16 str x20, [sp, #8] ldr x0, [sp, #24] add x1, sp, #8 bl _GdipGetCustomLineCapWidthScale mov x1, x0 ldr w0, [x19] bl _expect ldr x0, [sp, #8] fmov d0, #1.00000000 bl _expectf ldr x0, [sp, #24] fmov d0, #2.50000000 bl _GdipSetCustomLineCapWidthScale mov x1, x0 ldr w0, [x19] bl _expect str x20, [sp, #8] ldr x0, [sp, #24] add x1, sp, #8 bl _GdipGetCustomLineCapWidthScale mov x1, x0 ldr w0, [x19] bl _expect ldr x0, [sp, #8] fmov d0, #2.50000000 bl _expectf ldr x0, [sp, #24] mov x8, #4631107791820423168 fmov d8, x8 fmov d0, d8 bl _GdipSetCustomLineCapWidthScale mov x1, x0 ldr w0, [x19] bl _expect str x20, [sp, #8] ldr x0, [sp, #24] add x1, sp, #8 bl _GdipGetCustomLineCapWidthScale mov x1, x0 ldr w0, [x19] bl _expect ldr x0, [sp, #8] fmov d0, d8 bl _expectf ldr x0, [sp, #24] mov x8, #123145302310912 movk x8, #16551, lsl #48 fmov d8, x8 fmov d0, d8 bl _GdipSetCustomLineCapWidthScale mov x1, x0 ldr w0, [x19] bl _expect str x20, [sp, #8] ldr x0, [sp, #24] add x1, sp, #8 bl _GdipGetCustomLineCapWidthScale mov x1, x0 ldr w0, [x19] bl _expect ldr x0, [sp, #8] fmov d0, d8 bl _expectf ldr x0, [sp, #24] movi d0, #0000000000000000 bl _GdipSetCustomLineCapWidthScale mov x1, x0 ldr w0, [x19] bl _expect str x20, [sp, #8] ldr x0, [sp, #24] add x1, sp, #8 bl _GdipGetCustomLineCapWidthScale mov x1, x0 ldr w0, [x19] bl _expect ldr x0, [sp, #8] movi d0, #0000000000000000 bl _expectf ldr x0, [sp, #24] bl _GdipDeleteCustomLineCap ldr x0, [sp, #16] bl _GdipDeletePath ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp d9, d8, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FillModeAlternate,4,2 ; @FillModeAlternate .comm _Ok,4,2 ; @Ok .comm _LineCapFlat,4,2 ; @LineCapFlat .comm _InvalidParameter,4,2 ; @InvalidParameter .no_dead_strip _test_scale .subsections_via_symbols
AnghaBench/reactos/modules/rostests/winetests/gdiplus/extr_customlinecap.c_test_scale.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dma_debug_show_channels _dma_debug_show_channels: ## @dma_debug_show_channels .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r13 movq %rdi, %r14 movq (%rsi), %rax movq _DMA_MEM_TO_DEV@GOTPCREL(%rip), %rbx cmpq (%rbx), %rax leaq L_.str.1(%rip), %rax leaq L_.str.2(%rip), %r15 cmoveq %rax, %r15 movq %rsi, %rdi callq _chan_number leaq L_.str(%rip), %rsi movq %r14, %rdi movq %r15, %rdx movl %eax, %ecx xorl %eax, %eax callq _seq_printf movq (%r13), %rax cmpq (%rbx), %rax jne LBB0_1 ## %bb.5: movl 48(%r13), %edx movl 40(%r13), %r8d movl 44(%r13), %ecx leaq L_.str.3(%rip), %rsi movq %r14, %rdi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _seq_printf ## TAILCALL LBB0_1: movl 32(%r13), %edx movl 24(%r13), %r8d movl 28(%r13), %ecx leaq L_.str.4(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _seq_printf movl 16(%r13), %ecx movl 20(%r13), %edx leaq L_.str.5(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _seq_printf movq _KNAV_DMA_FDQ_PER_CHAN@GOTPCREL(%rip), %r12 cmpl $0, (%r12) jle LBB0_4 ## %bb.2: leaq L_.str.6(%rip), %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%r13), %rax movl (%rax,%rbx,4), %edx movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _seq_printf incq %rbx movslq (%r12), %rax cmpq %rax, %rbx jl LBB0_3 LBB0_4: leaq L_.str.7(%rip), %rsi movq %r14, %rdi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _seq_printf ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\t%s %d:\t" .comm _DMA_MEM_TO_DEV,8,3 ## @DMA_MEM_TO_DEV L_.str.1: ## @.str.1 .asciz "tx chan" L_.str.2: ## @.str.2 .asciz "rx flow" L_.str.3: ## @.str.3 .asciz "einfo - %d, pswords - %d, priority - %d\n" L_.str.4: ## @.str.4 .asciz "einfo - %d, psinfo - %d, desc_type - %d\n" L_.str.5: ## @.str.5 .asciz "\t\t\tdst_q: [%d], thresh: %d fdq: " .comm _KNAV_DMA_FDQ_PER_CHAN,4,2 ## @KNAV_DMA_FDQ_PER_CHAN L_.str.6: ## @.str.6 .asciz "[%d]" L_.str.7: ## @.str.7 .asciz "\n" .no_dead_strip _dma_debug_show_channels .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dma_debug_show_channels _dma_debug_show_channels: ; @dma_debug_show_channels .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 x20, x1 mov x19, x0 ldr x8, [x1] Lloh0: adrp x21, _DMA_MEM_TO_DEV@GOTPAGE Lloh1: ldr x21, [x21, _DMA_MEM_TO_DEV@GOTPAGEOFF] ldr x9, [x21] Lloh2: adrp x10, l_.str.2@PAGE Lloh3: add x10, x10, l_.str.2@PAGEOFF Lloh4: adrp x11, l_.str.1@PAGE Lloh5: add x11, x11, l_.str.1@PAGEOFF cmp x8, x9 csel x22, x11, x10, eq mov x0, x1 bl _chan_number ; kill: def $w0 killed $w0 def $x0 stp x22, x0, [sp] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _seq_printf ldr x8, [x20] ldr x9, [x21] cmp x8, x9 b.ne LBB0_2 ; %bb.1: ldp w9, w8, [x20, #44] ldr w10, [x20, #40] stp x9, x10, [sp, #8] str x8, [sp] Lloh8: adrp x1, l_.str.3@PAGE Lloh9: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _seq_printf ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_2: ldp w9, w8, [x20, #28] ldr w10, [x20, #24] stp x9, x10, [sp, #8] str x8, [sp] Lloh10: adrp x1, l_.str.4@PAGE Lloh11: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 bl _seq_printf ldp w9, w8, [x20, #16] stp x8, x9, [sp] Lloh12: adrp x1, l_.str.5@PAGE Lloh13: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 bl _seq_printf Lloh14: adrp x22, _KNAV_DMA_FDQ_PER_CHAN@GOTPAGE Lloh15: ldr x22, [x22, _KNAV_DMA_FDQ_PER_CHAN@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_5 ; %bb.3: mov x23, #0 Lloh16: adrp x21, l_.str.6@PAGE Lloh17: add x21, x21, l_.str.6@PAGEOFF LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #8] ldr w8, [x8, x23, lsl #2] str x8, [sp] mov x0, x19 mov x1, x21 bl _seq_printf add x23, x23, #1 ldrsw x8, [x22] cmp x23, x8 b.lt LBB0_4 LBB0_5: Lloh18: adrp x1, l_.str.7@PAGE Lloh19: add x1, x1, l_.str.7@PAGEOFF mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 b _seq_printf .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\t%s %d:\t" .comm _DMA_MEM_TO_DEV,8,3 ; @DMA_MEM_TO_DEV l_.str.1: ; @.str.1 .asciz "tx chan" l_.str.2: ; @.str.2 .asciz "rx flow" l_.str.3: ; @.str.3 .asciz "einfo - %d, pswords - %d, priority - %d\n" l_.str.4: ; @.str.4 .asciz "einfo - %d, psinfo - %d, desc_type - %d\n" l_.str.5: ; @.str.5 .asciz "\t\t\tdst_q: [%d], thresh: %d fdq: " .comm _KNAV_DMA_FDQ_PER_CHAN,4,2 ; @KNAV_DMA_FDQ_PER_CHAN l_.str.6: ; @.str.6 .asciz "[%d]" l_.str.7: ; @.str.7 .asciz "\n" .no_dead_strip _dma_debug_show_channels .subsections_via_symbols
AnghaBench/linux/drivers/soc/ti/extr_knav_dma.c_dma_debug_show_channels.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp xorl %edi, %edi callq _time movq %rax, -8(%rbp) leaq -8(%rbp), %rdi callq _ctime leaq L_.str(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" .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 x0, #0 bl _time str x0, [sp, #8] add x0, sp, #8 bl _ctime str x0, [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 "%s" .subsections_via_symbols
the_stack_data/9293.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function SpinControl_Key _SpinControl_Key: ## @SpinControl_Key .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 ## kill: def $esi killed $esi def $rsi addl $-128, %esi cmpl $4, %esi ja LBB0_15 ## %bb.1: leaq LJTI0_0(%rip), %rax movslq (%rax,%rsi,4), %rcx addq %rax, %rcx jmpq *%rcx LBB0_2: movl 8(%rdi), %eax movl 12(%rdi), %ecx decl %ecx cmpl %ecx, %eax jge LBB0_11 ## %bb.3: incl %eax jmp LBB0_6 LBB0_4: movl 8(%rdi), %eax testl %eax, %eax jle LBB0_11 ## %bb.5: decl %eax LBB0_6: movl %eax, 8(%rdi) jmp LBB0_9 LBB0_11: movq _menu_buzz_sound@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_8: movl 8(%rdi), %eax incl %eax xorl %ecx, %ecx cmpl 12(%rdi), %eax cmovll %eax, %ecx movl %ecx, 8(%rdi) LBB0_9: movq _menu_move_sound@GOTPCREL(%rip), %rax LBB0_12: movq (%rax), %rbx testq %rbx, %rbx je LBB0_15 ## %bb.13: movq (%rdi), %rax testq %rax, %rax je LBB0_16 ## %bb.14: movq _QM_ACTIVATED@GOTPCREL(%rip), %rcx movl (%rcx), %esi callq *%rax jmp LBB0_16 LBB0_15: xorl %ebx, %ebx LBB0_16: movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 LJTI0_0: .long L0_0_set_2 .long L0_0_set_8 .long L0_0_set_4 .long L0_0_set_2 .long L0_0_set_4 .end_data_region ## -- End function .comm _menu_move_sound,8,3 ## @menu_move_sound .comm _menu_buzz_sound,8,3 ## @menu_buzz_sound .comm _QM_ACTIVATED,4,2 ## @QM_ACTIVATED .no_dead_strip _SpinControl_Key .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function SpinControl_Key _SpinControl_Key: ; @SpinControl_Key .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 w8, w1, #128 cmp w8, #4 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: ldp w8, w9, [x0, #8] sub w9, w9, #1 cmp w8, w9 b.ge LBB0_5 ; %bb.3: add w8, w8, #1 b LBB0_8 LBB0_4: ldr w8, [x0, #8] subs w8, w8, #1 b.ge LBB0_8 LBB0_5: Lloh2: adrp x8, _menu_buzz_sound@GOTPAGE Lloh3: ldr x8, [x8, _menu_buzz_sound@GOTPAGEOFF] Lloh4: ldr x19, [x8] cbnz x19, LBB0_9 b LBB0_11 LBB0_6: mov x19, #0 b LBB0_11 LBB0_7: ldp w8, w9, [x0, #8] add w10, w8, #1 cmp w10, w9 csinc w8, wzr, w8, ge LBB0_8: str w8, [x0, #8] Lloh5: adrp x8, _menu_move_sound@GOTPAGE Lloh6: ldr x8, [x8, _menu_move_sound@GOTPAGEOFF] Lloh7: ldr x19, [x8] cbz x19, LBB0_11 LBB0_9: ldr x8, [x0] cbz x8, LBB0_11 ; %bb.10: Lloh8: adrp x9, _QM_ACTIVATED@GOTPAGE Lloh9: ldr x9, [x9, _QM_ACTIVATED@GOTPAGEOFF] Lloh10: ldr w1, [x9] blr x8 LBB0_11: mov x0, x19 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_7-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 ; -- End function .comm _menu_move_sound,8,3 ; @menu_move_sound .comm _menu_buzz_sound,8,3 ; @menu_buzz_sound .comm _QM_ACTIVATED,4,2 ; @QM_ACTIVATED .no_dead_strip _SpinControl_Key .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_qmenu.c_SpinControl_Key.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function omap_wdt_set_timeout _omap_wdt_set_timeout: ## @omap_wdt_set_timeout .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, %r15 callq _to_omap_wdt_dev movq %rax, %rbx movq %rax, %rdi callq _mutex_lock movq %rbx, %rdi callq _omap_wdt_disable movq %rbx, %rdi movl %r14d, %esi callq _omap_wdt_set_timer movq %rbx, %rdi callq _omap_wdt_enable movq %rbx, %rdi callq _omap_wdt_reload movl %r14d, (%r15) movq %rbx, %rdi callq _mutex_unlock xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _omap_wdt_set_timeout .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function omap_wdt_set_timeout _omap_wdt_set_timeout: ; @omap_wdt_set_timeout .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 _to_omap_wdt_dev mov x21, x0 bl _mutex_lock mov x0, x21 bl _omap_wdt_disable mov x0, x21 mov x1, x19 bl _omap_wdt_set_timer mov x0, x21 bl _omap_wdt_enable mov x0, x21 bl _omap_wdt_reload str w19, [x20] mov x0, x21 bl _mutex_unlock 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 _omap_wdt_set_timeout .subsections_via_symbols
AnghaBench/linux/drivers/watchdog/extr_omap_wdt.c_omap_wdt_set_timeout.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rq_qos_track _rq_qos_track: ## @rq_qos_track .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rdi testq %rdi, %rdi je LBB0_1 ## %bb.2: popq %rbp jmp ___rq_qos_track ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _rq_qos_track .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rq_qos_track _rq_qos_track: ; @rq_qos_track .cfi_startproc ; %bb.0: ldr x0, [x0] cbz x0, LBB0_2 ; %bb.1: b ___rq_qos_track LBB0_2: ret .cfi_endproc ; -- End function .no_dead_strip _rq_qos_track .subsections_via_symbols
AnghaBench/linux/block/extr_blk-rq-qos.h_rq_qos_track.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ccid_hc_tx_parse_options _ccid_hc_tx_parse_options: ## @ccid_hc_tx_parse_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq (%rax), %rax testq %rax, %rax je LBB0_1 ## %bb.2: movzbl %dl, %r10d movzbl %cl, %edx movq %rsi, %rdi movl %r10d, %esi movl %r8d, %ecx movq %r9, %r8 popq %rbp jmpq *%rax ## TAILCALL LBB0_1: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ccid_hc_tx_parse_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ccid_hc_tx_parse_options _ccid_hc_tx_parse_options: ; @ccid_hc_tx_parse_options .cfi_startproc ; %bb.0: ldr x8, [x0] ldr x6, [x8] cbz x6, LBB0_2 ; %bb.1: mov x0, x1 mov x1, x2 mov x2, x3 mov x3, x4 mov x4, x5 br x6 LBB0_2: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _ccid_hc_tx_parse_options .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/dccp/extr_ccids..ccid.h_ccid_hc_tx_parse_options.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hler ## -- Begin function hler .p2align 4, 0x90 _hler: ## @hler .cfi_startproc ## %bb.0: cmpl $30, %edi jne LBB0_2 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, _stop(%rip) popq %rbp LBB0_2: retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $2, %edi jne LBB1_1 ## %bb.2: movq %rsi, %r14 callq _getpid leaq L_.str.1(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _printf movq 8(%r14), %rdi callq _atoi movl %eax, %ebx leaq L_.str.2(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _printf leaq -40(%rbp), %r15 movl $30, %edi xorl %esi, %esi movq %r15, %rdx callq _sigaction leaq _hler(%rip), %rax movq %rax, -40(%rbp) movl $30, %edi movq %r15, %rsi xorl %edx, %edx callq _sigaction movl %ebx, %edi callq _sleep cmpl $0, _stop(%rip) je LBB1_3 ## %bb.4: leaq L_str(%rip), %rdi callq _puts jmp LBB1_5 LBB1_1: leaq L_str.6(%rip), %rdi callq _puts movl $-1, %eax jmp LBB1_6 LBB1_3: leaq L_str.5(%rip), %rdi callq _puts movq (%r14), %rdi callq _unlink LBB1_5: xorl %eax, %eax LBB1_6: addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _stop ## @stop .zerofill __DATA,__common,_stop,4,2 .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "Pid del proceso: %d.\n" L_.str.2: ## @.str.2 .asciz "Se va a dormir el proceso durante %d seg.\n" L_str: ## @str .asciz "Has tenido suerte, hemos recibido la se\303\261al SIGUSR1." L_str.5: ## @str.5 .asciz "No se ha recibido la se\303\261al SIGUSR1 -> Se elimina este ejecutable." L_str.6: ## @str.6 .asciz "ERROR en los parametros del programa." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hler ; -- Begin function hler .p2align 2 _hler: ; @hler .cfi_startproc ; %bb.0: cmp w0, #30 b.ne LBB0_2 ; %bb.1: mov w8, #1 adrp x9, _stop@PAGE str w8, [x9, _stop@PAGEOFF] LBB0_2: 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 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 cmp w0, #2 b.ne LBB1_3 ; %bb.1: mov x19, x1 bl _getpid ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh0: adrp x0, l_.str.1@PAGE Lloh1: add x0, x0, l_.str.1@PAGEOFF bl _printf ldr x0, [x19, #8] bl _atoi mov x20, x0 str x20, [sp] Lloh2: adrp x0, l_.str.2@PAGE Lloh3: add x0, x0, l_.str.2@PAGEOFF bl _printf add x2, sp, #16 mov w0, #30 mov x1, #0 bl _sigaction Lloh4: adrp x8, _hler@PAGE Lloh5: add x8, x8, _hler@PAGEOFF str x8, [sp, #16] add x1, sp, #16 mov w0, #30 mov x2, #0 bl _sigaction mov x0, x20 bl _sleep Lloh6: adrp x8, _stop@PAGE Lloh7: ldr w8, [x8, _stop@PAGEOFF] cbz w8, LBB1_4 ; %bb.2: Lloh8: adrp x0, l_str@PAGE Lloh9: add x0, x0, l_str@PAGEOFF bl _puts b LBB1_5 LBB1_3: Lloh10: adrp x0, l_str.6@PAGE Lloh11: add x0, x0, l_str.6@PAGEOFF bl _puts mov w0, #-1 b LBB1_6 LBB1_4: Lloh12: adrp x0, l_str.5@PAGE Lloh13: add x0, x0, l_str.5@PAGEOFF bl _puts ldr x0, [x19] bl _unlink LBB1_5: mov w0, #0 LBB1_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdr Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .globl _stop ; @stop .zerofill __DATA,__common,_stop,4,2 .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "Pid del proceso: %d.\n" l_.str.2: ; @.str.2 .asciz "Se va a dormir el proceso durante %d seg.\n" l_str: ; @str .asciz "Has tenido suerte, hemos recibido la se\303\261al SIGUSR1." l_str.5: ; @str.5 .asciz "No se ha recibido la se\303\261al SIGUSR1 -> Se elimina este ejecutable." l_str.6: ; @str.6 .asciz "ERROR en los parametros del programa." .subsections_via_symbols
the_stack_data/82618.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sas_notify_lldd_dev_gone ## -- Begin function sas_notify_lldd_dev_gone .p2align 4, 0x90 _sas_notify_lldd_dev_gone: ## @sas_notify_lldd_dev_gone .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq 8(%rdi), %rax movq (%rax), %rax movq (%rax), %rax movl (%rax), %edi callq _to_sas_internal movq %rax, %r14 movq (%rax), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: movq _SAS_DEV_FOUND@GOTPCREL(%rip), %rax movl (%rax), %edi movq %rbx, %rsi callq _test_and_clear_bit testq %rax, %rax je LBB0_2 ## %bb.3: movq (%r14), %rax movq %rbx, %rdi callq *(%rax) movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _sas_put_device ## TAILCALL LBB0_2: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _SAS_DEV_FOUND,4,2 ## @SAS_DEV_FOUND .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sas_notify_lldd_dev_gone ; -- Begin function sas_notify_lldd_dev_gone .p2align 2 _sas_notify_lldd_dev_gone: ; @sas_notify_lldd_dev_gone .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0, #8] ldr x8, [x8] ldr x8, [x8] ldr w0, [x8] bl _to_sas_internal ldr x8, [x0] ldr x8, [x8] cbz x8, LBB0_3 ; %bb.1: mov x20, x0 Lloh0: adrp x8, _SAS_DEV_FOUND@GOTPAGE Lloh1: ldr x8, [x8, _SAS_DEV_FOUND@GOTPAGEOFF] Lloh2: ldr w0, [x8] mov x1, x19 bl _test_and_clear_bit cbz x0, LBB0_3 ; %bb.2: ldr x8, [x20] ldr x8, [x8] mov x0, x19 blr x8 mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _sas_put_device 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 _SAS_DEV_FOUND,4,2 ; @SAS_DEV_FOUND .subsections_via_symbols
AnghaBench/linux/drivers/scsi/libsas/extr_sas_discover.c_sas_notify_lldd_dev_gone.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ecb_decrypt _ecb_decrypt: ## @ecb_decrypt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movq %rdx, %r12 movq %rsi, %rbx movq %rdi, %r13 movl 4(%rdi), %edi callq _crypto_blkcipher_ctx movq %rax, %r14 leaq -64(%rbp), %rdi movq %rbx, %rsi movq %r12, %rdx movl %r15d, %ecx callq _blkcipher_walk_init movq %r13, %rdi leaq -64(%rbp), %rsi callq _blkcipher_walk_virt movq _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPCREL(%rip), %rcx movl (%rcx), %ecx notl %ecx andl %ecx, (%r13) movl %eax, %ebx movq 8(%r14), %rax movq 16(%r14), %rdi callq *8(%rax) movl -64(%rbp), %r12d testl %r12d, %r12d je LBB0_6 ## %bb.1: movslq (%r14), %r15 andq $-4, %r15 addq 16(%r14), %r15 jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq _AES_BLOCK_SIZE@GOTPCREL(%rip), %rax movl (%rax), %edx decl %edx andl %r12d, %edx movq %r13, %rdi leaq -64(%rbp), %rsi callq _blkcipher_walk_done movl -64(%rbp), %r12d testl %r12d, %r12d je LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq _AES_BLOCK_MASK@GOTPCREL(%rip), %rax movl (%rax), %ebx andl %r12d, %ebx movl %ebx, %edi callq _likely testq %rax, %rax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq 8(%r14), %rax movq -56(%rbp), %rdx movq -48(%rbp), %rsi movq %r15, %rdi movl %ebx, %ecx callq *(%rax) jmp LBB0_4 LBB0_5: movl %eax, %ebx LBB0_6: xorl %edi, %edi callq _fprs_write movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CRYPTO_TFM_REQ_MAY_SLEEP,4,2 ## @CRYPTO_TFM_REQ_MAY_SLEEP .comm _AES_BLOCK_MASK,4,2 ## @AES_BLOCK_MASK .comm _AES_BLOCK_SIZE,4,2 ## @AES_BLOCK_SIZE .no_dead_strip _ecb_decrypt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ecb_decrypt _ecb_decrypt: ; @ecb_decrypt .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x3 mov x22, x2 mov x23, x1 mov x19, x0 ldr w0, [x0, #4] bl _crypto_blkcipher_ctx mov x20, x0 add x0, sp, #8 mov x1, x23 mov x2, x22 mov x3, x21 bl _blkcipher_walk_init add x1, sp, #8 mov x0, x19 bl _blkcipher_walk_virt mov x22, x0 Lloh0: adrp x8, _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPAGE Lloh1: ldr x8, [x8, _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPAGEOFF] Lloh2: ldr w8, [x8] ldr w9, [x19] bic w8, w9, w8 str w8, [x19] ldp x8, x0, [x20, #8] ldr x8, [x8, #8] blr x8 ldr w23, [sp, #8] cbz w23, LBB0_6 ; %bb.1: ldr x8, [x20, #16] ldrsw x9, [x20] and x9, x9, #0xfffffffffffffffc add x21, x8, x9 Lloh3: adrp x24, _AES_BLOCK_MASK@GOTPAGE Lloh4: ldr x24, [x24, _AES_BLOCK_MASK@GOTPAGEOFF] Lloh5: adrp x25, _AES_BLOCK_SIZE@GOTPAGE Lloh6: ldr x25, [x25, _AES_BLOCK_SIZE@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x25] sub w8, w8, #1 and w2, w8, w23 add x1, sp, #8 mov x0, x19 bl _blkcipher_walk_done ldr w23, [sp, #8] cbz w23, LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [x24] and w22, w8, w23 mov x0, x22 bl _likely cbz x0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x20, #8] ldr x8, [x8] ldp x2, x1, [sp, #16] mov x0, x21 mov x3, x22 blr x8 b LBB0_2 LBB0_5: mov x22, x0 LBB0_6: mov w0, #0 bl _fprs_write mov x0, x22 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _CRYPTO_TFM_REQ_MAY_SLEEP,4,2 ; @CRYPTO_TFM_REQ_MAY_SLEEP .comm _AES_BLOCK_MASK,4,2 ; @AES_BLOCK_MASK .comm _AES_BLOCK_SIZE,4,2 ; @AES_BLOCK_SIZE .no_dead_strip _ecb_decrypt .subsections_via_symbols
AnghaBench/linux/arch/sparc/crypto/extr_aes_glue.c_ecb_decrypt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ahd_dindex_print ## -- Begin function ahd_dindex_print .p2align 4, 0x90 _ahd_dindex_print: ## @ahd_dindex_print .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rsi, %r9 movl %edi, %r8d movl %edx, (%rsp) leaq L_.str(%rip), %rdx xorl %edi, %edi xorl %esi, %esi movl $228, %ecx callq _ahd_print_register addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "DINDEX" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ahd_dindex_print ; -- Begin function ahd_dindex_print .p2align 2 _ahd_dindex_print: ; @ahd_dindex_print .cfi_startproc ; %bb.0: mov x6, x2 mov x5, x1 mov x4, x0 Lloh0: adrp x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF mov x0, #0 mov w1, #0 mov w3, #228 b _ahd_print_register .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "DINDEX" .subsections_via_symbols
AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_reg_print.c_ahd_dindex_print.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lj_debug_dumpstack ## -- Begin function lj_debug_dumpstack .p2align 4, 0x90 _lj_debug_dumpstack: ## @lj_debug_dumpstack .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -96(%rbp) ## 8-byte Spill movq %rdi, -72(%rbp) ## 8-byte Spill movl %ecx, %eax notl %eax movl %ecx, %r15d sarl $31, %r15d andl %eax, %r15d testl %ecx, %ecx movl $-1, %edx movl %ecx, -76(%rbp) ## 4-byte Spill cmovnsl %ecx, %edx movl %edx, -84(%rbp) ## 4-byte Spill cmpl %edx, %r15d je LBB0_33 ## %bb.1: movq %rsi, %r14 shrl $31, %eax addl %eax, %eax decl %eax movl %eax, -80(%rbp) ## 4-byte Spill movl $0, -52(%rbp) ## 4-byte Folded Spill movl $1, %ebx movq %rsi, -48(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_2 Depth=1 movl %r14d, %ebx movq -48(%rbp), %r14 ## 8-byte Reload movl -88(%rbp), %r15d ## 4-byte Reload LBB0_30: ## in Loop: Header=BB0_2 Depth=1 addl -80(%rbp), %r15d ## 4-byte Folded Reload cmpl -84(%rbp), %r15d ## 4-byte Folded Reload je LBB0_31 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 movq -72(%rbp), %rdi ## 8-byte Reload movl %r15d, %esi leaq -56(%rbp), %rdx callq _lj_debug_frame testq %rax, %rax je LBB0_27 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl %r15d, -88(%rbp) ## 4-byte Spill movslq -56(%rbp), %rcx testq %rcx, %rcx leaq (%rax,%rcx,4), %rdx cmoveq %rcx, %rdx movq %rdx, -104(%rbp) ## 8-byte Spill movq %rax, -112(%rbp) ## 8-byte Spill movq %rax, %rdi callq _frame_func movq %rax, -64(%rbp) ## 8-byte Spill movq -96(%rbp), %r15 ## 8-byte Reload jmp LBB0_4 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_4 Depth=2 movq -120(%rbp), %rbx movq %rbx, %rdi callq _strlen movq %r12, %rdi movq %rbx, %rsi movl %eax, %edx callq _lj_buf_putmem movl %r14d, %ebx LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl %ebx, %r14d movl (%r15), %r12d addq $4, %r15 leal -70(%r12), %eax cmpl $42, %eax ja LBB0_5 ## %bb.8: ## in Loop: Header=BB0_4 Depth=2 xorl %ebx, %ebx leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_9: ## in Loop: Header=BB0_4 Depth=2 movq -72(%rbp), %rdi ## 8-byte Reload movq -112(%rbp), %rsi ## 8-byte Reload leaq -120(%rbp), %rdx callq _lj_debug_funcname testq %rax, %rax je LBB0_15 ## %bb.10: ## in Loop: Header=BB0_4 Depth=2 cmpl $70, %r12d movq -48(%rbp), %r12 ## 8-byte Reload jne LBB0_14 ## %bb.11: ## in Loop: Header=BB0_4 Depth=2 movq -64(%rbp), %rdi ## 8-byte Reload callq _isluafunc testl %eax, %eax je LBB0_14 ## %bb.12: ## in Loop: Header=BB0_4 Depth=2 movq -64(%rbp), %rdi ## 8-byte Reload callq _funcproto cmpl $-1, (%rax) je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_4 Depth=2 movq %r12, %rdi movq %rax, %rsi movl %r14d, %edx callq _debug_putchunkname movq %r12, %rdi movl $58, %esi callq _lj_buf_putb jmp LBB0_14 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_4 Depth=2 movq -64(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _isluafunc testl %eax, %eax je LBB0_23 ## %bb.16: ## in Loop: Header=BB0_4 Depth=2 movq %rbx, %rdi callq _funcproto movq %rax, %r13 movq -48(%rbp), %rdi ## 8-byte Reload movq %rax, %rsi movl %r14d, %edx callq _debug_putchunkname movl %r14d, %ebx testl %eax, %eax je LBB0_4 ## %bb.17: ## in Loop: Header=BB0_4 Depth=2 cmpl $108, %r12d jne LBB0_19 ## %bb.18: ## in Loop: Header=BB0_4 Depth=2 movq -72(%rbp), %rdi ## 8-byte Reload movq -64(%rbp), %rsi ## 8-byte Reload movq -104(%rbp), %rdx ## 8-byte Reload callq _debug_frameline movl %eax, %ebx jmp LBB0_20 LBB0_26: ## in Loop: Header=BB0_4 Depth=2 movq -48(%rbp), %rdi ## 8-byte Reload callq _sbuflen movl %eax, -52(%rbp) ## 4-byte Spill movl %r14d, %ebx jmp LBB0_4 LBB0_23: ## in Loop: Header=BB0_4 Depth=2 movq %rbx, %rdi callq _isffunc testl %eax, %eax je LBB0_25 ## %bb.24: ## in Loop: Header=BB0_4 Depth=2 movq -48(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi leaq L_.str(%rip), %rsi movl $9, %edx callq _lj_buf_putmem movl 4(%rbx), %esi movq %r12, %rdi callq _lj_strfmt_putint movq %r12, %rdi movl $93, %esi jmp LBB0_7 LBB0_5: ## in Loop: Header=BB0_4 Depth=2 testl %r12d, %r12d je LBB0_29 LBB0_6: ## in Loop: Header=BB0_4 Depth=2 movq -48(%rbp), %rdi ## 8-byte Reload movl %r12d, %esi LBB0_7: ## in Loop: Header=BB0_4 Depth=2 callq _lj_buf_putb movl %r14d, %ebx jmp LBB0_4 LBB0_19: ## in Loop: Header=BB0_4 Depth=2 movl (%r13), %ebx LBB0_20: ## in Loop: Header=BB0_4 Depth=2 movq -48(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi movl $58, %esi callq _lj_buf_putb testl %ebx, %ebx jns LBB0_22 ## %bb.21: ## in Loop: Header=BB0_4 Depth=2 movl (%r13), %ebx LBB0_22: ## in Loop: Header=BB0_4 Depth=2 movq %r12, %rdi movl %ebx, %esi callq _lj_strfmt_putint movl %r14d, %ebx jmp LBB0_4 LBB0_25: ## in Loop: Header=BB0_4 Depth=2 movq -48(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi movl $64, %esi callq _lj_buf_putb movl (%rbx), %esi movq %r12, %rdi callq _lj_strfmt_putptr movl %r14d, %ebx jmp LBB0_4 .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_2 Depth=1 cmpl $0, -76(%rbp) ## 4-byte Folded Reload jns LBB0_31 ## %bb.28: ## in Loop: Header=BB0_2 Depth=1 subl -56(%rbp), %r15d jmp LBB0_30 LBB0_31: movl -52(%rbp), %ebx ## 4-byte Reload testl %ebx, %ebx je LBB0_33 ## %bb.32: movq %r14, %rdi callq _sbufB addl %eax, %ebx movq %r14, %rdi movl %ebx, %esi callq _setsbufP LBB0_33: addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_26, LBB0_26-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 LJTI0_0: .long L0_0_set_9 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_26 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_9 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_15 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_4 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "[builtin#" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lj_debug_dumpstack ; -- Begin function lj_debug_dumpstack .p2align 2 _lj_debug_dumpstack: ; @lj_debug_dumpstack .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x28, x27, [sp, #64] ; 16-byte Folded Spill stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str x2, [sp, #8] ; 8-byte Folded Spill mvn w8, w3 cmp w3, #0 mov w9, #-1 cneg w9, w9, ge and w20, w8, w3, asr #31 str w3, [sp, #4] ; 4-byte Folded Spill csinv w8, w3, wzr, ge stp w8, w9, [sp, #20] ; 8-byte Folded Spill cmp w20, w8 b.eq LBB0_33 ; %bb.1: mov x19, x1 mov x22, x0 str wzr, [sp, #44] ; 4-byte Folded Spill mov w21, #1 Lloh0: adrp x24, lJTI0_0@PAGE Lloh1: add x24, x24, lJTI0_0@PAGEOFF b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov x21, x23 ldr w20, [sp, #28] ; 4-byte Folded Reload LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [sp, #24] ; 4-byte Folded Reload add w20, w20, w8 ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w20, w8 b.eq LBB0_31 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 add x2, sp, #60 mov x0, x22 mov x1, x20 bl _lj_debug_frame cbz x0, LBB0_29 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x26, x0 str w20, [sp, #28] ; 4-byte Folded Spill ldrsw x8, [sp, #60] add x9, x0, x8, lsl #2 cmp w8, #0 csel x8, xzr, x9, eq str x8, [sp, #32] ; 8-byte Folded Spill bl _frame_func mov x28, x0 ldr x27, [sp, #8] ; 8-byte Folded Reload b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=2 ldr x20, [sp, #48] mov x0, x20 bl _strlen mov x2, x0 mov x0, x19 mov x1, x20 bl _lj_buf_putmem mov x21, x23 LBB0_7: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 mov x23, x21 ldr w20, [x27], #4 sub w8, w20, #70 cmp w8, #42 b.hi LBB0_21 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 mov w21, #0 adr x9, LBB0_7 ldrb w10, [x24, x8] add x9, x9, x10, lsl #2 br x9 LBB0_9: ; in Loop: Header=BB0_7 Depth=2 add x2, sp, #48 mov x0, x22 mov x1, x26 bl _lj_debug_funcname cbz x0, LBB0_14 ; %bb.10: ; in Loop: Header=BB0_7 Depth=2 cmp w20, #70 b.ne LBB0_6 ; %bb.11: ; in Loop: Header=BB0_7 Depth=2 mov x0, x28 bl _isluafunc cbz w0, LBB0_6 ; %bb.12: ; in Loop: Header=BB0_7 Depth=2 mov x0, x28 bl _funcproto ldr w8, [x0] cmn w8, #1 b.eq LBB0_6 ; %bb.13: ; in Loop: Header=BB0_7 Depth=2 mov x1, x0 mov x0, x19 mov x2, x23 bl _debug_putchunkname mov x0, x19 mov w1, #58 bl _lj_buf_putb b LBB0_6 LBB0_14: ; in Loop: Header=BB0_7 Depth=2 mov x0, x28 bl _isluafunc cbz w0, LBB0_19 ; %bb.15: ; in Loop: Header=BB0_7 Depth=2 mov x0, x28 bl _funcproto mov x25, x0 mov x0, x19 mov x1, x25 mov x2, x23 bl _debug_putchunkname mov x21, x23 cbz w0, LBB0_7 ; %bb.16: ; in Loop: Header=BB0_7 Depth=2 cmp w20, #108 b.ne LBB0_24 ; %bb.17: ; in Loop: Header=BB0_7 Depth=2 mov x0, x22 mov x1, x28 ldr x2, [sp, #32] ; 8-byte Folded Reload bl _debug_frameline mov x20, x0 b LBB0_25 LBB0_18: ; in Loop: Header=BB0_7 Depth=2 mov x0, x19 bl _sbuflen str w0, [sp, #44] ; 4-byte Folded Spill mov x21, x23 b LBB0_7 LBB0_19: ; in Loop: Header=BB0_7 Depth=2 mov x0, x28 bl _isffunc cbz w0, LBB0_28 ; %bb.20: ; in Loop: Header=BB0_7 Depth=2 mov x0, x19 Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF mov w2, #9 bl _lj_buf_putmem ldr w1, [x28, #4] mov x0, x19 bl _lj_strfmt_putint mov x0, x19 mov w1, #93 b LBB0_23 LBB0_21: ; in Loop: Header=BB0_7 Depth=2 cbz w20, LBB0_2 LBB0_22: ; in Loop: Header=BB0_7 Depth=2 mov x0, x19 mov x1, x20 LBB0_23: ; in Loop: Header=BB0_7 Depth=2 bl _lj_buf_putb mov x21, x23 b LBB0_7 LBB0_24: ; in Loop: Header=BB0_7 Depth=2 ldr w20, [x25] LBB0_25: ; in Loop: Header=BB0_7 Depth=2 mov x0, x19 mov w1, #58 bl _lj_buf_putb tbz w20, #31, LBB0_27 ; %bb.26: ; in Loop: Header=BB0_7 Depth=2 ldr w20, [x25] LBB0_27: ; in Loop: Header=BB0_7 Depth=2 mov x0, x19 mov x1, x20 bl _lj_strfmt_putint mov x21, x23 b LBB0_7 LBB0_28: ; in Loop: Header=BB0_7 Depth=2 mov x0, x19 mov w1, #64 bl _lj_buf_putb ldr w1, [x28] mov x0, x19 bl _lj_strfmt_putptr mov x21, x23 b LBB0_7 LBB0_29: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [sp, #4] ; 4-byte Folded Reload tbz w8, #31, LBB0_31 ; %bb.30: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [sp, #60] sub w20, w20, w8 b LBB0_3 LBB0_31: ldr w20, [sp, #44] ; 4-byte Folded Reload cbz w20, LBB0_33 ; %bb.32: mov x0, x19 bl _sbufB add w1, w0, w20 mov x0, x19 bl _setsbufP LBB0_33: ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload ldp x22, x21, [sp, #112] ; 16-byte Folded Reload ldp x24, x23, [sp, #96] ; 16-byte Folded Reload ldp x26, x25, [sp, #80] ; 16-byte Folded Reload ldp x28, x27, [sp, #64] ; 16-byte Folded Reload add sp, sp, #160 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_9-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_18-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_9-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_14-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_22-LBB0_7)>>2 .byte (LBB0_7-LBB0_7)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "[builtin#" .subsections_via_symbols
AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_debug.c_lj_debug_dumpstack.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ns83820_getmac _ns83820_getmac: ## @ns83820_getmac .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx movq _RFCR@GOTPCREL(%rip), %r15 movq (%r15), %rsi addq (%rdi), %rsi xorl %edi, %edi callq _writel movq _RFDR@GOTPCREL(%rip), %r12 movq (%r12), %rdi addq (%rbx), %rdi callq _readl movl %eax, (%r14) sarl $8, %eax movl %eax, 4(%r14) movq (%r15), %rsi addq (%rbx), %rsi movl $2, %edi callq _writel movq (%r12), %rdi addq (%rbx), %rdi callq _readl movl %eax, 8(%r14) sarl $8, %eax movl %eax, 12(%r14) movq (%r15), %rsi addq (%rbx), %rsi movl $4, %edi callq _writel movq (%r12), %rdi addq (%rbx), %rdi callq _readl movl %eax, 16(%r14) sarl $8, %eax movl %eax, 20(%r14) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _RFCR,8,3 ## @RFCR .comm _RFDR,8,3 ## @RFDR .no_dead_strip _ns83820_getmac .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ns83820_getmac _ns83820_getmac: ; @ns83820_getmac .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 ldr x8, [x0] Lloh0: adrp x21, _RFCR@GOTPAGE Lloh1: ldr x21, [x21, _RFCR@GOTPAGEOFF] ldr x9, [x21] add x1, x9, x8 mov w0, #0 bl _writel ldr x8, [x20] Lloh2: adrp x22, _RFDR@GOTPAGE Lloh3: ldr x22, [x22, _RFDR@GOTPAGEOFF] ldr x9, [x22] add x0, x9, x8 bl _readl asr w8, w0, #8 stp w0, w8, [x19] ldr x8, [x20] ldr x9, [x21] add x1, x9, x8 mov w0, #2 bl _writel ldr x8, [x20] ldr x9, [x22] add x0, x9, x8 bl _readl asr w8, w0, #8 stp w0, w8, [x19, #8] ldr x8, [x20] ldr x9, [x21] add x1, x9, x8 mov w0, #4 bl _writel ldr x8, [x20] ldr x9, [x22] add x0, x9, x8 bl _readl asr w8, w0, #8 stp w0, w8, [x19, #16] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _RFCR,8,3 ; @RFCR .comm _RFDR,8,3 ; @RFDR .no_dead_strip _ns83820_getmac .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/natsemi/extr_ns83820.c_ns83820_getmac.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tpm_buf_append_u32 _tpm_buf_append_u32: ## @tpm_buf_append_u32 .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 %esi, %edi callq _cpu_to_be32 movl %eax, -12(%rbp) leaq -12(%rbp), %rsi movq %rbx, %rdi movl $4, %edx callq _tpm_buf_append addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _tpm_buf_append_u32 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tpm_buf_append_u32 _tpm_buf_append_u32: ; @tpm_buf_append_u32 .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, x1 bl _cpu_to_be32 str w0, [sp, #12] add x1, sp, #12 mov x0, x19 mov w2, #4 bl _tpm_buf_append ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _tpm_buf_append_u32 .subsections_via_symbols
AnghaBench/linux/drivers/char/tpm/st33zp24/extr_..tpm.h_tpm_buf_append_u32.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _v4l2_m2m_querybuf ## -- Begin function v4l2_m2m_querybuf .p2align 4, 0x90 _v4l2_m2m_querybuf: ## @v4l2_m2m_querybuf .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rdi movl 32(%rdx), %esi callq _v4l2_m2m_get_vq movq %rax, %rbx movq %rax, %rdi movq %r15, %rsi callq _vb2_querybuf movl %eax, %r14d movq (%r15), %rax movq _V4L2_MEMORY_MMAP@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_15 ## %bb.1: movl (%rbx), %edi callq _V4L2_TYPE_IS_OUTPUT testl %eax, %eax je LBB0_2 LBB0_15: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_2: movl (%rbx), %edi callq _V4L2_TYPE_IS_MULTIPLANAR testq %rax, %rax je LBB0_14 ## %bb.3: movl 8(%r15), %eax testq %rax, %rax je LBB0_15 ## %bb.4: movq _DST_QUEUE_OFF_BASE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq 24(%r15), %rdx cmpl $8, %eax jae LBB0_6 ## %bb.5: xorl %esi, %esi jmp LBB0_13 LBB0_14: movq _DST_QUEUE_OFF_BASE@GOTPCREL(%rip), %rax movl (%rax), %eax addl %eax, 16(%r15) jmp LBB0_15 LBB0_6: movl %eax, %esi andl $-8, %esi movd %ecx, %xmm0 pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0] leaq -8(%rsi), %rdi movq %rdi, %r8 shrq $3, %r8 incq %r8 testq %rdi, %rdi je LBB0_7 ## %bb.8: movq %r8, %rbx andq $-2, %rbx xorl %edi, %edi .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movdqu (%rdx,%rdi,4), %xmm1 movdqu 16(%rdx,%rdi,4), %xmm2 movdqu 32(%rdx,%rdi,4), %xmm3 movdqu 48(%rdx,%rdi,4), %xmm4 paddd %xmm0, %xmm1 paddd %xmm0, %xmm2 movdqu %xmm1, (%rdx,%rdi,4) movdqu %xmm2, 16(%rdx,%rdi,4) paddd %xmm0, %xmm3 paddd %xmm0, %xmm4 movdqu %xmm3, 32(%rdx,%rdi,4) movdqu %xmm4, 48(%rdx,%rdi,4) addq $16, %rdi addq $-2, %rbx jne LBB0_9 jmp LBB0_10 LBB0_7: xorl %edi, %edi LBB0_10: testb $1, %r8b je LBB0_12 ## %bb.11: movdqu (%rdx,%rdi,4), %xmm1 movdqu 16(%rdx,%rdi,4), %xmm2 paddd %xmm0, %xmm1 paddd %xmm0, %xmm2 movdqu %xmm1, (%rdx,%rdi,4) movdqu %xmm2, 16(%rdx,%rdi,4) LBB0_12: cmpq %rax, %rsi je LBB0_15 .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 addl %ecx, (%rdx,%rsi,4) incq %rsi cmpq %rsi, %rax jne LBB0_13 jmp LBB0_15 .cfi_endproc ## -- End function .comm _V4L2_MEMORY_MMAP,8,3 ## @V4L2_MEMORY_MMAP .comm _DST_QUEUE_OFF_BASE,8,3 ## @DST_QUEUE_OFF_BASE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _v4l2_m2m_querybuf ; -- Begin function v4l2_m2m_querybuf .p2align 2 _v4l2_m2m_querybuf: ; @v4l2_m2m_querybuf .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 x0, x1 ldr w1, [x2, #32] bl _v4l2_m2m_get_vq mov x21, x0 mov x1, x20 bl _vb2_querybuf mov x19, x0 ldr x8, [x20] Lloh0: adrp x9, _V4L2_MEMORY_MMAP@GOTPAGE Lloh1: ldr x9, [x9, _V4L2_MEMORY_MMAP@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: ldr w0, [x21] bl _V4L2_TYPE_IS_OUTPUT cbz w0, LBB0_3 LBB0_2: 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_3: ldr w0, [x21] bl _V4L2_TYPE_IS_MULTIPLANAR cbz x0, LBB0_7 ; %bb.4: ldr w9, [x20, #8] cbz w9, LBB0_2 ; %bb.5: Lloh3: adrp x8, _DST_QUEUE_OFF_BASE@GOTPAGE Lloh4: ldr x8, [x8, _DST_QUEUE_OFF_BASE@GOTPAGEOFF] Lloh5: ldr w8, [x8] ldr x10, [x20, #24] cmp w9, #16 b.hs LBB0_8 ; %bb.6: mov x11, #0 b LBB0_11 LBB0_7: Lloh6: adrp x8, _DST_QUEUE_OFF_BASE@GOTPAGE Lloh7: ldr x8, [x8, _DST_QUEUE_OFF_BASE@GOTPAGEOFF] Lloh8: ldr w8, [x8] ldr w9, [x20, #16] add w8, w9, w8 str w8, [x20, #16] b LBB0_2 LBB0_8: and x11, x9, #0xfffffff0 dup.4s v0, w8 add x12, x10, #32 mov x13, x11 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldp q1, q2, [x12, #-32] ldp q3, q4, [x12] add.4s v1, v1, v0 add.4s v2, v2, v0 add.4s v3, v3, v0 add.4s v4, v4, v0 stp q1, q2, [x12, #-32] stp q3, q4, [x12], #64 subs x13, x13, #16 b.ne LBB0_9 ; %bb.10: cmp x11, x9 b.eq LBB0_2 LBB0_11: add x10, x10, x11, lsl #2 sub x9, x9, x11 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr w11, [x10] add w11, w11, w8 str w11, [x10], #4 subs x9, x9, #1 b.ne LBB0_12 b LBB0_2 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _V4L2_MEMORY_MMAP,8,3 ; @V4L2_MEMORY_MMAP .comm _DST_QUEUE_OFF_BASE,8,3 ; @DST_QUEUE_OFF_BASE .subsections_via_symbols
AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-mem2mem.c_v4l2_m2m_querybuf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sprd_pll_set_rate _sprd_pll_set_rate: ## @sprd_pll_set_rate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdx, %r14 movq %rsi, %rbx callq _hw_to_sprd_pll movq %rax, %rdi movq %rbx, %rsi movq %r14, %rdx popq %rbx popq %r14 popq %rbp jmp __sprd_pll_set_rate ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _sprd_pll_set_rate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sprd_pll_set_rate _sprd_pll_set_rate: ; @sprd_pll_set_rate .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 mov x20, x1 bl _hw_to_sprd_pll mov x1, x20 mov x2, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b __sprd_pll_set_rate .cfi_endproc ; -- End function .no_dead_strip _sprd_pll_set_rate .subsections_via_symbols
AnghaBench/linux/drivers/clk/sprd/extr_pll.c_sprd_pll_set_rate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function de_adapter_sleep _de_adapter_sleep: ## @de_adapter_sleep .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 cmpq $0, 8(%rdi) jne LBB0_2 ## %bb.1: movq %rdi, %rbx movl (%rdi), %edi movq _PCIPM@GOTPCREL(%rip), %r14 movl (%r14), %esi leaq -20(%rbp), %rdx callq _pci_read_config_dword movq _PM_Sleep@GOTPCREL(%rip), %rax movl -20(%rbp), %edx orl (%rax), %edx movl %edx, -20(%rbp) movl (%rbx), %edi movl (%r14), %esi callq _pci_write_config_dword LBB0_2: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _PCIPM,4,2 ## @PCIPM .comm _PM_Sleep,4,2 ## @PM_Sleep .no_dead_strip _de_adapter_sleep .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function de_adapter_sleep _de_adapter_sleep: ; @de_adapter_sleep .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0, #8] cbnz x8, LBB0_2 ; %bb.1: mov x19, x0 ldr w0, [x0] Lloh0: adrp x20, _PCIPM@GOTPAGE Lloh1: ldr x20, [x20, _PCIPM@GOTPAGEOFF] ldr w1, [x20] add x2, sp, #12 bl _pci_read_config_dword Lloh2: adrp x8, _PM_Sleep@GOTPAGE Lloh3: ldr x8, [x8, _PM_Sleep@GOTPAGEOFF] Lloh4: ldr w8, [x8] ldr w9, [sp, #12] orr w2, w9, w8 str w2, [sp, #12] ldr w0, [x19] ldr w1, [x20] bl _pci_write_config_dword 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 Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _PCIPM,4,2 ; @PCIPM .comm _PM_Sleep,4,2 ; @PM_Sleep .no_dead_strip _de_adapter_sleep .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/tulip/extr_de2104x.c_de_adapter_sleep.c
anghabench