x86
stringlengths
122
5.97M
arm
stringlengths
122
5.84M
file
stringlengths
18
195
source
stringclasses
3 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uv_update_time ## -- Begin function uv_update_time .p2align 4, 0x90 _uv_update_time: ## @uv_update_time .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 movl $1000, %edi ## imm = 0x3E8 callq _uv__hrtime movq %rax, %rbx xorl %edi, %edi cmpq (%r14), %rax setge %dil callq _assert movq %rbx, (%r14) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uv_update_time ; -- Begin function uv_update_time .p2align 2 _uv_update_time: ; @uv_update_time .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w0, #1000 bl _uv__hrtime mov x20, x0 ldr x8, [x19] cmp x0, x8 cset w0, ge bl _assert str x20, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/libuv/src/win/extr_core.c_uv_update_time.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function aio_get_all_queues_count _aio_get_all_queues_count: ## @aio_get_all_queues_count .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _aio_anchor@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _aio_anchor,4,2 ## @aio_anchor .no_dead_strip _aio_get_all_queues_count .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function aio_get_all_queues_count _aio_get_all_queues_count: ; @aio_get_all_queues_count .cfi_startproc ; %bb.0: Lloh0: adrp x8, _aio_anchor@GOTPAGE Lloh1: ldr x8, [x8, _aio_anchor@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _aio_anchor,4,2 ; @aio_anchor .no_dead_strip _aio_get_all_queues_count .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/kern/extr_kern_aio.c_aio_get_all_queues_count.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nf_bridge_mtu_reduction _nf_bridge_mtu_reduction: ## @nf_bridge_mtu_reduction .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _nf_bridge_info_get movq (%rax), %rcx movq _BRNF_PROTO_PPPOE@GOTPCREL(%rip), %rdx xorl %eax, %eax cmpq (%rdx), %rcx jne LBB0_2 ## %bb.1: movq _PPPOE_SES_HLEN@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .comm _BRNF_PROTO_PPPOE,8,3 ## @BRNF_PROTO_PPPOE .comm _PPPOE_SES_HLEN,4,2 ## @PPPOE_SES_HLEN .no_dead_strip _nf_bridge_mtu_reduction .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nf_bridge_mtu_reduction _nf_bridge_mtu_reduction: ; @nf_bridge_mtu_reduction .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 _nf_bridge_info_get ldr x8, [x0] Lloh0: adrp x9, _BRNF_PROTO_PPPOE@GOTPAGE Lloh1: ldr x9, [x9, _BRNF_PROTO_PPPOE@GOTPAGEOFF] Lloh2: ldr x9, [x9] Lloh3: adrp x10, _PPPOE_SES_HLEN@GOTPAGE Lloh4: ldr x10, [x10, _PPPOE_SES_HLEN@GOTPAGEOFF] Lloh5: ldr w10, [x10] cmp x8, x9 csel w0, w10, wzr, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _BRNF_PROTO_PPPOE,8,3 ; @BRNF_PROTO_PPPOE .comm _PPPOE_SES_HLEN,4,2 ; @PPPOE_SES_HLEN .no_dead_strip _nf_bridge_mtu_reduction .subsections_via_symbols
AnghaBench/linux/net/bridge/extr_br_netfilter_hooks.c_nf_bridge_mtu_reduction.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function yyerror _yyerror: ## @yyerror .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rdx movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi popq %rbp jmp _fprintf ## TAILCALL .cfi_endproc ## -- End function .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s\n" .no_dead_strip _yyerror .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function yyerror _yyerror: ; @yyerror .cfi_startproc ; %bb.0: mov x2, x0 Lloh0: adrp x8, _stderr@GOTPAGE Lloh1: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF b _fprintf .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s\n" .no_dead_strip _yyerror .subsections_via_symbols
AnghaBench/freebsd/contrib/byacc/test/yacc/extr_calc.tab.c_calc_error.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function HUF_decompress4X6_usingDTable _HUF_decompress4X6_usingDTable: ## @HUF_decompress4X6_usingDTable .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 cmpq $9, %rcx jbe LBB0_14 ## %bb.1: movq %r8, %rbx movq %rcx, %r14 movq %rdx, %r13 movq %rsi, -96(%rbp) ## 8-byte Spill movq %rdi, -112(%rbp) ## 8-byte Spill movl (%r8), %eax movl %eax, -76(%rbp) ## 4-byte Spill movq %rdx, %rdi callq _MEM_readLE16 movq %rax, %r12 leaq 8(%r13), %rdi callq _MEM_readLE16 movq %rax, %r15 leaq 16(%r13), %rdi callq _MEM_readLE16 leaq (%r12,%r15), %rcx addq %rax, %rcx addq $6, %rcx subq %rcx, %r14 jae LBB0_2 LBB0_14: movq _corruption_detected@GOTPCREL(%rip), %rax movl (%rax), %edi addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _ERROR ## TAILCALL LBB0_2: movq %r12, %rdx movq %r15, -64(%rbp) ## 8-byte Spill movq %rax, -72(%rbp) ## 8-byte Spill movq %rbx, -104(%rbp) ## 8-byte Spill leaq 24(%r13), %rsi leaq -44(%rbp), %rdi movq %r12, %rbx callq _BIT_initDStream movq %rax, %r12 movq %rax, %rdi callq _HUF_isError testq %rax, %rax jne LBB0_13 ## %bb.3: leaq 24(,%rbx,4), %r15 addq %r13, %r15 leaq -52(%rbp), %rdi movq %r15, %rsi movq -64(%rbp), %rdx ## 8-byte Reload callq _BIT_initDStream movq %rax, %r12 movq %rax, %rdi callq _HUF_isError testq %rax, %rax jne LBB0_13 ## %bb.4: movq -64(%rbp), %rax ## 8-byte Reload leaq (%r15,%rax,4), %rbx leaq -56(%rbp), %rdi movq %rbx, %rsi movq -72(%rbp), %rdx ## 8-byte Reload callq _BIT_initDStream movq %rax, %r12 movq %rax, %rdi callq _HUF_isError testq %rax, %rax jne LBB0_13 ## %bb.5: movq -72(%rbp), %rax ## 8-byte Reload leaq (%rbx,%rax,4), %rsi leaq -48(%rbp), %rdi movq %r14, %rdx callq _BIT_initDStream movq %rax, %r12 movq %rax, %rdi callq _HUF_isError testq %rax, %rax jne LBB0_13 ## %bb.6: movq -96(%rbp), %rax ## 8-byte Reload movq -112(%rbp), %r14 ## 8-byte Reload leaq (%r14,%rax,4), %rcx movq %rcx, -88(%rbp) ## 8-byte Spill leaq 3(%rax), %rcx andq $-4, %rcx leaq (%r14,%rcx), %r13 leaq (%rcx,%r13), %rax movq %rax, -72(%rbp) ## 8-byte Spill addq %rax, %rcx movq %rcx, -64(%rbp) ## 8-byte Spill leaq -44(%rbp), %rdi callq _BIT_reloadDStream movl %eax, %r15d leaq -52(%rbp), %rdi callq _BIT_reloadDStream movl %eax, %r12d leaq -56(%rbp), %rdi callq _BIT_reloadDStream movl %eax, %ebx leaq -48(%rbp), %rdi callq _BIT_reloadDStream cmpq %r14, %r13 jb LBB0_10 ## %bb.7: orl %r15d, %r12d orl %eax, %ebx orl %r12d, %ebx movq _BIT_DStream_unfinished@GOTPCREL(%rip), %rax cmpl (%rax), %ebx jne LBB0_10 ## %bb.8: movq -88(%rbp), %rax ## 8-byte Reload addq $-64, %rax cmpq %rax, -64(%rbp) ## 8-byte Folded Reload ja LBB0_10 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi leaq -44(%rbp), %rsi callq _HUF_DECODE_SYMBOLX6_2 movq %r13, %rdi movq %r13, %r15 movq %r14, %r13 leaq -52(%rbp), %r12 movq %r12, %rsi callq _HUF_DECODE_SYMBOLX6_2 movq -72(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi leaq -56(%rbp), %rsi callq _HUF_DECODE_SYMBOLX6_2 movq -64(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi leaq -48(%rbp), %rsi callq _HUF_DECODE_SYMBOLX6_2 movq %r13, %rdi leaq -44(%rbp), %rsi callq _HUF_DECODE_SYMBOLX6_1 movq %r15, %rdi movq %r12, %rsi callq _HUF_DECODE_SYMBOLX6_1 movq %rbx, %rdi leaq -56(%rbp), %rsi movq %rsi, %r12 callq _HUF_DECODE_SYMBOLX6_1 movq %r14, %rdi leaq -48(%rbp), %rsi callq _HUF_DECODE_SYMBOLX6_1 movq %r13, %rdi leaq -44(%rbp), %rsi callq _HUF_DECODE_SYMBOLX6_2 movq %r15, %rdi leaq -52(%rbp), %rsi callq _HUF_DECODE_SYMBOLX6_2 movq %rbx, %rdi movq %r12, %rsi callq _HUF_DECODE_SYMBOLX6_2 movq %r14, %rdi leaq -48(%rbp), %rsi callq _HUF_DECODE_SYMBOLX6_2 movq %r13, %rdi leaq -44(%rbp), %rsi callq _HUF_DECODE_SYMBOLX6_0 movq %r15, %rdi leaq -52(%rbp), %rsi callq _HUF_DECODE_SYMBOLX6_0 movq %rbx, %rdi movq %r12, %rsi callq _HUF_DECODE_SYMBOLX6_0 movq %r14, %rdi leaq -48(%rbp), %rsi callq _HUF_DECODE_SYMBOLX6_0 leaq -44(%rbp), %rdi callq _BIT_reloadDStream movl %eax, %r12d leaq -52(%rbp), %rdi movq %r13, %r14 movq %r15, %r13 callq _BIT_reloadDStream movl %eax, %ebx orl %r12d, %ebx leaq -56(%rbp), %rdi callq _BIT_reloadDStream movl %eax, %r12d leaq -48(%rbp), %rdi callq _BIT_reloadDStream movq _BIT_DStream_unfinished@GOTPCREL(%rip), %rcx orl %r12d, %eax orl %ebx, %eax cmpl (%rcx), %eax je LBB0_9 LBB0_10: movq -72(%rbp), %r15 ## 8-byte Reload cmpq %r14, %r13 jb LBB0_12 ## %bb.11: leaq -44(%rbp), %rsi movq %r14, %rdi movq %r13, %rdx movq -104(%rbp), %rbx ## 8-byte Reload movq %rbx, %rcx movl -76(%rbp), %r12d ## 4-byte Reload movl %r12d, %r8d callq _HUF_decodeStreamX6 leaq -52(%rbp), %rsi movq %r13, %rdi movq %r15, %r14 movq %r15, %rdx movq %rbx, %rcx movl %r12d, %r8d callq _HUF_decodeStreamX6 leaq -56(%rbp), %r15 movq %r14, %rdi movq %r15, %rsi movq -64(%rbp), %r14 ## 8-byte Reload movq %r14, %rdx movq %rbx, %rcx movl %r12d, %r8d callq _HUF_decodeStreamX6 leaq -48(%rbp), %r13 movq %r14, %rdi movq %r13, %rsi movq -88(%rbp), %rdx ## 8-byte Reload movq %rbx, %rcx movl %r12d, %r8d callq _HUF_decodeStreamX6 leaq -44(%rbp), %rdi callq _BIT_endOfDStream movl %eax, %r14d leaq -52(%rbp), %rdi callq _BIT_endOfDStream movl %eax, %ebx andl %r14d, %ebx movq %r15, %rdi callq _BIT_endOfDStream movl %eax, %r14d andl %ebx, %r14d movq %r13, %rdi callq _BIT_endOfDStream movq -96(%rbp), %r12 ## 8-byte Reload testl %eax, %r14d jne LBB0_13 LBB0_12: movq _corruption_detected@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ERROR movq %rax, %r12 LBB0_13: movq %r12, %rax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _corruption_detected,4,2 ## @corruption_detected .comm _BIT_DStream_unfinished,4,2 ## @BIT_DStream_unfinished .no_dead_strip _HUF_decompress4X6_usingDTable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function HUF_decompress4X6_usingDTable _HUF_decompress4X6_usingDTable: ; @HUF_decompress4X6_usingDTable .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 cmp x3, #9 b.ls LBB0_2 ; %bb.1: mov x20, x4 mov x23, x3 mov x26, x2 mov x19, x1 mov x22, x0 ldr w21, [x4] mov x0, x2 bl _MEM_readLE16 mov x27, x0 add x0, x26, #8 bl _MEM_readLE16 mov x25, x0 add x0, x26, #16 bl _MEM_readLE16 add x8, x27, x25 add x8, x8, x0 add x8, x8, #6 subs x23, x23, x8 b.hs LBB0_3 LBB0_2: Lloh0: adrp x8, _corruption_detected@GOTPAGE Lloh1: ldr x8, [x8, _corruption_detected@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 b _ERROR LBB0_3: mov x24, x0 add x28, x26, #24 add x0, sp, #28 mov x1, x28 mov x2, x27 bl _BIT_initDStream mov x26, x0 bl _HUF_isError cbnz x0, LBB0_14 ; %bb.4: add x27, x28, x27, lsl #2 add x0, sp, #24 mov x1, x27 mov x2, x25 bl _BIT_initDStream mov x26, x0 bl _HUF_isError cbnz x0, LBB0_14 ; %bb.5: add x25, x27, x25, lsl #2 add x0, sp, #20 mov x1, x25 mov x2, x24 bl _BIT_initDStream mov x26, x0 bl _HUF_isError cbnz x0, LBB0_14 ; %bb.6: add x1, x25, x24, lsl #2 add x0, sp, #16 mov x2, x23 bl _BIT_initDStream mov x26, x0 bl _HUF_isError cbnz x0, LBB0_14 ; %bb.7: add x8, x22, x19, lsl #2 str x8, [sp, #8] ; 8-byte Folded Spill add x8, x19, #3 and x8, x8, #0xfffffffffffffffc add x26, x22, x8 add x25, x26, x8 add x24, x25, x8 add x0, sp, #28 bl _BIT_reloadDStream mov x27, x0 add x0, sp, #24 bl _BIT_reloadDStream mov x28, x0 add x0, sp, #20 bl _BIT_reloadDStream mov x23, x0 add x0, sp, #16 bl _BIT_reloadDStream cmp x26, x22 b.lo LBB0_11 ; %bb.8: orr w8, w28, w27 orr w8, w8, w23 orr w8, w8, w0 Lloh3: adrp x27, _BIT_DStream_unfinished@GOTPAGE Lloh4: ldr x27, [x27, _BIT_DStream_unfinished@GOTPAGEOFF] ldr w9, [x27] cmp w8, w9 b.ne LBB0_11 ; %bb.9: ldr x8, [sp, #8] ; 8-byte Folded Reload sub x8, x8, #64 cmp x24, x8 b.hi LBB0_11 LBB0_10: ; =>This Inner Loop Header: Depth=1 add x1, sp, #28 mov x0, x22 bl _HUF_DECODE_SYMBOLX6_2 add x1, sp, #24 mov x0, x26 bl _HUF_DECODE_SYMBOLX6_2 add x1, sp, #20 mov x0, x25 bl _HUF_DECODE_SYMBOLX6_2 add x1, sp, #16 mov x0, x24 bl _HUF_DECODE_SYMBOLX6_2 add x1, sp, #28 mov x0, x22 bl _HUF_DECODE_SYMBOLX6_1 add x1, sp, #24 mov x0, x26 bl _HUF_DECODE_SYMBOLX6_1 add x1, sp, #20 mov x0, x25 bl _HUF_DECODE_SYMBOLX6_1 add x1, sp, #16 mov x0, x24 bl _HUF_DECODE_SYMBOLX6_1 add x1, sp, #28 mov x0, x22 bl _HUF_DECODE_SYMBOLX6_2 add x1, sp, #24 mov x0, x26 bl _HUF_DECODE_SYMBOLX6_2 add x1, sp, #20 mov x0, x25 bl _HUF_DECODE_SYMBOLX6_2 add x1, sp, #16 mov x0, x24 bl _HUF_DECODE_SYMBOLX6_2 add x1, sp, #28 mov x0, x22 bl _HUF_DECODE_SYMBOLX6_0 add x1, sp, #24 mov x0, x26 bl _HUF_DECODE_SYMBOLX6_0 add x1, sp, #20 mov x0, x25 bl _HUF_DECODE_SYMBOLX6_0 add x1, sp, #16 mov x0, x24 bl _HUF_DECODE_SYMBOLX6_0 add x0, sp, #28 bl _BIT_reloadDStream mov x23, x0 add x0, sp, #24 bl _BIT_reloadDStream orr w23, w0, w23 add x0, sp, #20 bl _BIT_reloadDStream orr w23, w23, w0 add x0, sp, #16 bl _BIT_reloadDStream orr w8, w23, w0 ldr w9, [x27] cmp w8, w9 b.eq LBB0_10 LBB0_11: cmp x26, x22 b.lo LBB0_13 ; %bb.12: add x1, sp, #28 mov x0, x22 mov x2, x26 mov x3, x20 mov x4, x21 bl _HUF_decodeStreamX6 add x1, sp, #24 mov x0, x26 mov x2, x25 mov x3, x20 mov x4, x21 bl _HUF_decodeStreamX6 add x1, sp, #20 mov x0, x25 mov x2, x24 mov x3, x20 mov x4, x21 bl _HUF_decodeStreamX6 add x1, sp, #16 mov x0, x24 ldr x2, [sp, #8] ; 8-byte Folded Reload mov x3, x20 mov x4, x21 bl _HUF_decodeStreamX6 add x0, sp, #28 bl _BIT_endOfDStream mov x20, x0 add x0, sp, #24 bl _BIT_endOfDStream and w20, w0, w20 add x0, sp, #20 bl _BIT_endOfDStream and w20, w20, w0 add x0, sp, #16 bl _BIT_endOfDStream mov x26, x19 tst w20, w0 b.ne LBB0_14 LBB0_13: Lloh5: adrp x8, _corruption_detected@GOTPAGE Lloh6: ldr x8, [x8, _corruption_detected@GOTPAGEOFF] Lloh7: ldr w0, [x8] bl _ERROR mov x26, x0 LBB0_14: mov x0, x26 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _corruption_detected,4,2 ; @corruption_detected .comm _BIT_DStream_unfinished,4,2 ; @BIT_DStream_unfinished .no_dead_strip _HUF_decompress4X6_usingDTable .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v02.c_HUF_decompress4X6_usingDTable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _xrealloc ## -- Begin function xrealloc .p2align 4, 0x90 _xrealloc: ## @xrealloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 cmpl $2, %esi movl $1, %ebx cmovgel %esi, %ebx movl %ebx, %esi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.1: addq $8, %rsp popq %rbx popq %rbp retq LBB0_2: leaq L_.str(%rip), %rdi movl %ebx, %esi callq _error movl $1, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "xrealloc %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _xrealloc ; -- Begin function xrealloc .p2align 2 _xrealloc: ; @xrealloc .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cmp w1, #1 csinc w19, w1, wzr, gt mov x1, x19 bl _realloc cbz x0, LBB0_2 ; %bb.1: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _error mov w0, #1 ; =0x1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "xrealloc %d\n" .subsections_via_symbols
assembly_file_85762.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ingenic_gpio_irq_enable _ingenic_gpio_irq_enable: ## @ingenic_gpio_irq_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 %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _irq_data_get_irq_chip_data movq %rax, %rdi callq _gpiochip_get_data movl (%rbx), %edx movq (%rax), %rcx movq (%rcx), %rcx movq _ID_JZ4760@GOTPCREL(%rip), %rsi cmpq (%rsi), %rcx jge LBB0_1 ## %bb.2: movq _JZ4740_GPIO_SELECT@GOTPCREL(%rip), %rcx jmp LBB0_3 LBB0_1: movq _JZ4760_GPIO_INT@GOTPCREL(%rip), %rcx LBB0_3: movl (%rcx), %esi movq %rax, %rdi movl $1, %ecx callq _ingenic_gpio_set_bit movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _ingenic_gpio_irq_unmask ## TAILCALL .cfi_endproc ## -- End function .comm _ID_JZ4760,8,3 ## @ID_JZ4760 .comm _JZ4760_GPIO_INT,4,2 ## @JZ4760_GPIO_INT .comm _JZ4740_GPIO_SELECT,4,2 ## @JZ4740_GPIO_SELECT .no_dead_strip _ingenic_gpio_irq_enable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ingenic_gpio_irq_enable _ingenic_gpio_irq_enable: ; @ingenic_gpio_irq_enable .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 _irq_data_get_irq_chip_data bl _gpiochip_get_data ldr w2, [x19] ldr x8, [x0] ldr x8, [x8] Lloh0: adrp x9, _ID_JZ4760@GOTPAGE Lloh1: ldr x9, [x9, _ID_JZ4760@GOTPAGEOFF] Lloh2: adrp x10, _JZ4740_GPIO_SELECT@GOTPAGE Lloh3: ldr x10, [x10, _JZ4740_GPIO_SELECT@GOTPAGEOFF] Lloh4: ldr x9, [x9] Lloh5: adrp x11, _JZ4760_GPIO_INT@GOTPAGE Lloh6: ldr x11, [x11, _JZ4760_GPIO_INT@GOTPAGEOFF] cmp x8, x9 csel x8, x10, x11, lt ldr w1, [x8] mov w3, #1 bl _ingenic_gpio_set_bit mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ingenic_gpio_irq_unmask .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .cfi_endproc ; -- End function .comm _ID_JZ4760,8,3 ; @ID_JZ4760 .comm _JZ4760_GPIO_INT,4,2 ; @JZ4760_GPIO_INT .comm _JZ4740_GPIO_SELECT,4,2 ; @JZ4740_GPIO_SELECT .no_dead_strip _ingenic_gpio_irq_enable .subsections_via_symbols
AnghaBench/linux/drivers/pinctrl/extr_pinctrl-ingenic.c_ingenic_gpio_irq_enable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function atl1_intr _atl1_intr: ## @atl1_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 pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rdi callq _netdev_priv movq %rax, %r14 movq 16(%rax), %rax movl (%rax), %ebx testl %ebx, %ebx je LBB0_1 ## %bb.2: movq _ISR_CMB_TX@GOTPCREL(%rip), %r12 movq _ISR_CMB_RX@GOTPCREL(%rip), %r13 movl (%r13), %ecx orl (%r12), %ecx andl %ebx, %ecx movl %ecx, (%rax) movq _ISR_GPHY@GOTPCREL(%rip), %r15 testl %ebx, (%r15) je LBB0_4 ## %bb.3: movq %r14, %rdi callq _atlx_clear_phy_int LBB0_4: movq _ISR_DIS_INT@GOTPCREL(%rip), %rax movl (%rax), %edi orl %ebx, %edi movq _REG_ISR@GOTPCREL(%rip), %rax movq (%rax), %rsi addq (%r14), %rsi callq _iowrite32 movq _ISR_SMB@GOTPCREL(%rip), %rax testl %ebx, (%rax) je LBB0_6 ## %bb.5: movq %r14, %rdi callq _atl1_inc_smb LBB0_6: movq _ISR_PHY_LINKDOWN@GOTPCREL(%rip), %rax testl %ebx, (%rax) je LBB0_11 ## %bb.7: movq %r14, %rdi callq _netif_msg_intr testq %rax, %rax je LBB0_9 ## %bb.8: movq _KERN_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq 8(%r14), %rsi leaq L_.str(%rip), %rdx movl %ebx, %ecx callq _dev_printk LBB0_9: movl 32(%r14), %edi callq _netif_running testq %rax, %rax jne LBB0_10 LBB0_11: movq _ISR_DMAR_TO_RST@GOTPCREL(%rip), %rax movq _ISR_DMAW_TO_RST@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx testl %ebx, %ecx je LBB0_14 ## %bb.12: movq %r14, %rdi callq _netif_msg_intr testq %rax, %rax je LBB0_10 ## %bb.13: movq _KERN_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq 8(%r14), %rsi leaq L_.str.1(%rip), %rdx movl %ebx, %ecx callq _dev_printk LBB0_10: movq %r14, %rdi callq _atlx_irq_disable addq $28, %r14 movq %r14, %rdi callq _schedule_work jmp LBB0_24 LBB0_1: movq _IRQ_NONE@GOTPCREL(%rip), %rax jmp LBB0_25 LBB0_14: testl %ebx, (%r15) je LBB0_16 ## %bb.15: incl 24(%r14) movq %r14, %rdi callq _atl1_check_for_link LBB0_16: movl (%r13), %eax orl (%r12), %eax testl %ebx, %eax je LBB0_19 ## %bb.17: movq %r14, %rdi callq _atl1_sched_rings_clean testq %rax, %rax je LBB0_19 ## %bb.18: movq 16(%r14), %rax movl (%r13), %ecx orl (%r12), %ecx notl %ecx andl %ecx, (%rax) LBB0_19: movq _ISR_RXF_OV@GOTPCREL(%rip), %rax movq _ISR_RFD_UNRUN@GOTPCREL(%rip), %rcx movl (%rcx), %edi orl (%rax), %edi movq _ISR_RRD_OV@GOTPCREL(%rip), %rax orl (%rax), %edi movq _ISR_HOST_RFD_UNRUN@GOTPCREL(%rip), %rax orl (%rax), %edi movq _ISR_HOST_RRD_OV@GOTPCREL(%rip), %rax orl (%rax), %edi andl %ebx, %edi callq _unlikely testq %rax, %rax je LBB0_23 ## %bb.20: movq %r14, %rdi callq _netif_msg_intr testq %rax, %rax je LBB0_22 ## %bb.21: movq _KERN_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq 8(%r14), %rsi leaq L_.str.2(%rip), %rdx movl %ebx, %ecx callq _dev_printk LBB0_22: movq %r14, %rdi callq _atl1_sched_rings_clean LBB0_23: movq _ISR_DIS_SMB@GOTPCREL(%rip), %rax movq _ISR_DIS_DMA@GOTPCREL(%rip), %rcx movl (%rcx), %edi orl (%rax), %edi movq _REG_ISR@GOTPCREL(%rip), %rax movq (%rax), %rsi addq (%r14), %rsi callq _iowrite32 LBB0_24: movq _IRQ_HANDLED@GOTPCREL(%rip), %rax LBB0_25: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IRQ_NONE,4,2 ## @IRQ_NONE .comm _ISR_CMB_TX,4,2 ## @ISR_CMB_TX .comm _ISR_CMB_RX,4,2 ## @ISR_CMB_RX .comm _ISR_GPHY,4,2 ## @ISR_GPHY .comm _ISR_DIS_INT,4,2 ## @ISR_DIS_INT .comm _REG_ISR,8,3 ## @REG_ISR .comm _ISR_SMB,4,2 ## @ISR_SMB .comm _ISR_PHY_LINKDOWN,4,2 ## @ISR_PHY_LINKDOWN .comm _KERN_DEBUG,4,2 ## @KERN_DEBUG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "pcie phy link down %x\n" .comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED .comm _ISR_DMAR_TO_RST,4,2 ## @ISR_DMAR_TO_RST .comm _ISR_DMAW_TO_RST,4,2 ## @ISR_DMAW_TO_RST L_.str.1: ## @.str.1 .asciz "pcie DMA r/w error (status = 0x%x)\n" .comm _ISR_RXF_OV,4,2 ## @ISR_RXF_OV .comm _ISR_RFD_UNRUN,4,2 ## @ISR_RFD_UNRUN .comm _ISR_RRD_OV,4,2 ## @ISR_RRD_OV .comm _ISR_HOST_RFD_UNRUN,4,2 ## @ISR_HOST_RFD_UNRUN .comm _ISR_HOST_RRD_OV,4,2 ## @ISR_HOST_RRD_OV L_.str.2: ## @.str.2 .asciz "rx exception, ISR = 0x%x\n" .comm _ISR_DIS_SMB,4,2 ## @ISR_DIS_SMB .comm _ISR_DIS_DMA,4,2 ## @ISR_DIS_DMA .no_dead_strip _atl1_intr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function atl1_intr _atl1_intr: ; @atl1_intr .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 x0, x1 bl _netdev_priv ldr x8, [x0, #16] ldr w20, [x8] cbz w20, LBB0_13 ; %bb.1: mov x19, x0 Lloh0: adrp x22, _ISR_CMB_TX@GOTPAGE Lloh1: ldr x22, [x22, _ISR_CMB_TX@GOTPAGEOFF] ldr w9, [x22] Lloh2: adrp x23, _ISR_CMB_RX@GOTPAGE Lloh3: ldr x23, [x23, _ISR_CMB_RX@GOTPAGEOFF] ldr w10, [x23] orr w9, w10, w9 and w9, w9, w20 str w9, [x8] Lloh4: adrp x24, _ISR_GPHY@GOTPAGE Lloh5: ldr x24, [x24, _ISR_GPHY@GOTPAGEOFF] ldr w8, [x24] tst w8, w20 b.eq LBB0_3 ; %bb.2: mov x0, x19 bl _atlx_clear_phy_int LBB0_3: Lloh6: adrp x8, _ISR_DIS_INT@GOTPAGE Lloh7: ldr x8, [x8, _ISR_DIS_INT@GOTPAGEOFF] Lloh8: ldr w8, [x8] orr w0, w8, w20 ldr x8, [x19] Lloh9: adrp x21, _REG_ISR@GOTPAGE Lloh10: ldr x21, [x21, _REG_ISR@GOTPAGEOFF] ldr x9, [x21] add x1, x9, x8 bl _iowrite32 Lloh11: adrp x8, _ISR_SMB@GOTPAGE Lloh12: ldr x8, [x8, _ISR_SMB@GOTPAGEOFF] Lloh13: ldr w8, [x8] tst w8, w20 b.eq LBB0_5 ; %bb.4: mov x0, x19 bl _atl1_inc_smb LBB0_5: Lloh14: adrp x8, _ISR_PHY_LINKDOWN@GOTPAGE Lloh15: ldr x8, [x8, _ISR_PHY_LINKDOWN@GOTPAGEOFF] Lloh16: ldr w8, [x8] tst w8, w20 b.eq LBB0_9 ; %bb.6: mov x0, x19 bl _netif_msg_intr cbz x0, LBB0_8 ; %bb.7: Lloh17: adrp x8, _KERN_DEBUG@GOTPAGE Lloh18: ldr x8, [x8, _KERN_DEBUG@GOTPAGEOFF] Lloh19: ldr w0, [x8] ldr x1, [x19, #8] Lloh20: adrp x2, l_.str@PAGE Lloh21: add x2, x2, l_.str@PAGEOFF mov x3, x20 bl _dev_printk LBB0_8: ldr w0, [x19, #32] bl _netif_running cbnz x0, LBB0_12 LBB0_9: Lloh22: adrp x8, _ISR_DMAR_TO_RST@GOTPAGE Lloh23: ldr x8, [x8, _ISR_DMAR_TO_RST@GOTPAGEOFF] Lloh24: ldr w8, [x8] Lloh25: adrp x9, _ISR_DMAW_TO_RST@GOTPAGE Lloh26: ldr x9, [x9, _ISR_DMAW_TO_RST@GOTPAGEOFF] Lloh27: ldr w9, [x9] orr w8, w9, w8 tst w8, w20 b.eq LBB0_14 ; %bb.10: mov x0, x19 bl _netif_msg_intr cbz x0, LBB0_12 ; %bb.11: Lloh28: adrp x8, _KERN_DEBUG@GOTPAGE Lloh29: ldr x8, [x8, _KERN_DEBUG@GOTPAGEOFF] Lloh30: ldr w0, [x8] ldr x1, [x19, #8] Lloh31: adrp x2, l_.str.1@PAGE Lloh32: add x2, x2, l_.str.1@PAGEOFF mov x3, x20 bl _dev_printk LBB0_12: mov x0, x19 bl _atlx_irq_disable add x0, x19, #28 bl _schedule_work b LBB0_24 LBB0_13: Lloh33: adrp x8, _IRQ_NONE@GOTPAGE Lloh34: ldr x8, [x8, _IRQ_NONE@GOTPAGEOFF] b LBB0_25 LBB0_14: ldr w8, [x24] tst w8, w20 b.eq LBB0_16 ; %bb.15: ldr w8, [x19, #24] add w8, w8, #1 str w8, [x19, #24] mov x0, x19 bl _atl1_check_for_link LBB0_16: ldr w8, [x22] ldr w9, [x23] orr w8, w9, w8 tst w8, w20 b.eq LBB0_19 ; %bb.17: mov x0, x19 bl _atl1_sched_rings_clean cbz x0, LBB0_19 ; %bb.18: ldr x8, [x19, #16] ldr w9, [x8] ldr w10, [x22] ldr w11, [x23] orr w10, w11, w10 bic w9, w9, w10 str w9, [x8] LBB0_19: Lloh35: adrp x8, _ISR_RXF_OV@GOTPAGE Lloh36: ldr x8, [x8, _ISR_RXF_OV@GOTPAGEOFF] Lloh37: ldr w8, [x8] Lloh38: adrp x9, _ISR_RFD_UNRUN@GOTPAGE Lloh39: ldr x9, [x9, _ISR_RFD_UNRUN@GOTPAGEOFF] Lloh40: ldr w9, [x9] Lloh41: adrp x10, _ISR_RRD_OV@GOTPAGE Lloh42: ldr x10, [x10, _ISR_RRD_OV@GOTPAGEOFF] orr w8, w9, w8 Lloh43: ldr w9, [x10] orr w8, w8, w9 Lloh44: adrp x9, _ISR_HOST_RFD_UNRUN@GOTPAGE Lloh45: ldr x9, [x9, _ISR_HOST_RFD_UNRUN@GOTPAGEOFF] Lloh46: ldr w9, [x9] orr w8, w8, w9 Lloh47: adrp x9, _ISR_HOST_RRD_OV@GOTPAGE Lloh48: ldr x9, [x9, _ISR_HOST_RRD_OV@GOTPAGEOFF] Lloh49: ldr w9, [x9] orr w8, w8, w9 and w0, w8, w20 bl _unlikely cbz x0, LBB0_23 ; %bb.20: mov x0, x19 bl _netif_msg_intr cbz x0, LBB0_22 ; %bb.21: Lloh50: adrp x8, _KERN_DEBUG@GOTPAGE Lloh51: ldr x8, [x8, _KERN_DEBUG@GOTPAGEOFF] Lloh52: ldr w0, [x8] ldr x1, [x19, #8] Lloh53: adrp x2, l_.str.2@PAGE Lloh54: add x2, x2, l_.str.2@PAGEOFF mov x3, x20 bl _dev_printk LBB0_22: mov x0, x19 bl _atl1_sched_rings_clean LBB0_23: Lloh55: adrp x8, _ISR_DIS_SMB@GOTPAGE Lloh56: ldr x8, [x8, _ISR_DIS_SMB@GOTPAGEOFF] Lloh57: adrp x9, _ISR_DIS_DMA@GOTPAGE Lloh58: ldr x9, [x9, _ISR_DIS_DMA@GOTPAGEOFF] Lloh59: ldr w8, [x8] Lloh60: ldr w9, [x9] orr w0, w9, w8 ldr x8, [x19] ldr x9, [x21] add x1, x9, x8 bl _iowrite32 LBB0_24: Lloh61: adrp x8, _IRQ_HANDLED@GOTPAGE Lloh62: ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF] LBB0_25: ldr w0, [x8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh60 .loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh59 .loh AdrpLdrGot Lloh61, Lloh62 .cfi_endproc ; -- End function .comm _IRQ_NONE,4,2 ; @IRQ_NONE .comm _ISR_CMB_TX,4,2 ; @ISR_CMB_TX .comm _ISR_CMB_RX,4,2 ; @ISR_CMB_RX .comm _ISR_GPHY,4,2 ; @ISR_GPHY .comm _ISR_DIS_INT,4,2 ; @ISR_DIS_INT .comm _REG_ISR,8,3 ; @REG_ISR .comm _ISR_SMB,4,2 ; @ISR_SMB .comm _ISR_PHY_LINKDOWN,4,2 ; @ISR_PHY_LINKDOWN .comm _KERN_DEBUG,4,2 ; @KERN_DEBUG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "pcie phy link down %x\n" .comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED .comm _ISR_DMAR_TO_RST,4,2 ; @ISR_DMAR_TO_RST .comm _ISR_DMAW_TO_RST,4,2 ; @ISR_DMAW_TO_RST l_.str.1: ; @.str.1 .asciz "pcie DMA r/w error (status = 0x%x)\n" .comm _ISR_RXF_OV,4,2 ; @ISR_RXF_OV .comm _ISR_RFD_UNRUN,4,2 ; @ISR_RFD_UNRUN .comm _ISR_RRD_OV,4,2 ; @ISR_RRD_OV .comm _ISR_HOST_RFD_UNRUN,4,2 ; @ISR_HOST_RFD_UNRUN .comm _ISR_HOST_RRD_OV,4,2 ; @ISR_HOST_RRD_OV l_.str.2: ; @.str.2 .asciz "rx exception, ISR = 0x%x\n" .comm _ISR_DIS_SMB,4,2 ; @ISR_DIS_SMB .comm _ISR_DIS_DMA,4,2 ; @ISR_DIS_DMA .no_dead_strip _atl1_intr .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl1.c_atl1_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 %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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl l___const.main.id+8(%rip), %eax movl %eax, -56(%rbp) movq l___const.main.id(%rip), %rax movq %rax, -64(%rbp) movl $0, -72(%rbp) movq $0, -80(%rbp) leaq L_str.16(%rip), %r14 leaq L_.str.2(%rip), %r15 leaq L_.str.3(%rip), %r12 leaq -84(%rbp), %rbx leaq LJTI0_0(%rip), %r13 jmp LBB0_1 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_1 Depth=1 leaq -64(%rbp), %rdi leaq -80(%rbp), %rsi callq _showInventory LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq _puts movq %r15, %rdi xorl %eax, %eax callq _printf movq %r12, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf movl -84(%rbp), %eax decl %eax cmpl $3, %eax ja LBB0_1 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movslq (%r13,%rax,4), %rax addq %r13, %rax jmpq *%rax LBB0_3: ## in Loop: Header=BB0_1 Depth=1 xorl %edi, %edi callq _time movl %eax, %edi callq _srand callq _rand cltq imulq $1717986919, %rax, %rcx ## imm = 0x66666667 movq %rcx, %rdx shrq $63, %rdx sarq $33, %rcx addl %edx, %ecx leal (%rcx,%rcx,4), %ecx subl %ecx, %eax cmpl $0, -80(%rbp) movl $0, %ecx je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 cmpl $0, -76(%rbp) je LBB0_5 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 xorl %ecx, %ecx cmpl -72(%rbp), %ecx movl $0, %ecx sbbq %rcx, %rcx orq $2, %rcx LBB0_7: ## in Loop: Header=BB0_1 Depth=1 testl %eax, %eax je LBB0_8 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 cmpl $1, %eax jne LBB0_10 ## %bb.12: ## in Loop: Header=BB0_1 Depth=1 movl $1, %edx jmp LBB0_13 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.11(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.12(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf movl $10, %edi callq _putchar movl -84(%rbp), %eax cmpq $2, %rax ja LBB0_18 ## %bb.16: ## in Loop: Header=BB0_1 Depth=1 movl -80(%rbp,%rax,4), %ecx testl %ecx, %ecx jle LBB0_18 ## %bb.17: ## in Loop: Header=BB0_1 Depth=1 decl %ecx movl %ecx, -80(%rbp,%rax,4) leaq L_.str.14(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB0_1 LBB0_18: ## in Loop: Header=BB0_1 Depth=1 leaq L_str.17(%rip), %rdi callq _puts jmp LBB0_1 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 movl $2, %edx cmpl $2, %eax je LBB0_13 ## %bb.11: ## in Loop: Header=BB0_1 Depth=1 movq %rcx, %rdx incl -80(%rbp,%rcx,4) jmp LBB0_1 LBB0_13: ## in Loop: Header=BB0_1 Depth=1 incl -80(%rbp,%rdx,4) jmp LBB0_1 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movl $1, %ecx testl %eax, %eax jne LBB0_9 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 xorl %edx, %edx incl -80(%rbp,%rdx,4) jmp LBB0_1 LBB0_19: leaq L_str(%rip), %rdi callq _puts movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_21 ## %bb.20: xorl %eax, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_21: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 LJTI0_0: .long L0_0_set_3 .long L0_0_set_14 .long L0_0_set_15 .long L0_0_set_19 .end_data_region ## -- End function .globl _mainMenu ## -- Begin function mainMenu .p2align 4, 0x90 _mainMenu: ## @mainMenu .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 leaq L_str.16(%rip), %rdi callq _puts leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %rdi leaq -12(%rbp), %rsi xorl %eax, %eax callq _scanf movl -12(%rbp), %eax movl %eax, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _getNewItem ## -- Begin function getNewItem .p2align 4, 0x90 _getNewItem: ## @getNewItem .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 xorl %ebx, %ebx xorl %edi, %edi callq _time movl %eax, %edi callq _srand callq _rand cltq imulq $1717986919, %rax, %rcx ## imm = 0x66666667 movq %rcx, %rdx shrq $63, %rdx sarq $33, %rcx addl %edx, %ecx leal (%rcx,%rcx,4), %ecx subl %ecx, %eax cmpl $0, (%r15) je LBB2_4 ## %bb.1: cmpl $0, 4(%r15) je LBB2_2 ## %bb.3: xorl %ebx, %ebx cmpl 8(%r15), %ebx sbbq %rbx, %rbx orq $2, %rbx LBB2_4: cmpl %eax, (%r14) jne LBB2_6 LBB2_5: xorl %ecx, %ecx jmp LBB2_8 LBB2_2: movl $1, %ebx cmpl %eax, (%r14) je LBB2_5 LBB2_6: movl $1, %ecx cmpl %eax, 4(%r14) je LBB2_8 ## %bb.7: cmpl %eax, 8(%r14) movl $2, %eax cmoveq %rax, %rbx movq %rbx, %rcx LBB2_8: incl (%r15,%rcx,4) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _showInventory ## -- Begin function showInventory .p2align 4, 0x90 _showInventory: ## @showInventory .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx movl (%rdi), %esi leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _printf movslq (%rbx), %rax leaq l_switch.table.Print_Item(%rip), %r15 cmpq $4, %rax ja LBB3_2 ## %bb.1: movq (%r15,%rax,8), %rdi xorl %eax, %eax callq _printf LBB3_2: movl (%r14), %esi leaq L_.str.10(%rip), %rdi xorl %eax, %eax callq _printf movl 4(%rbx), %esi leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _printf movslq 4(%rbx), %rax cmpq $4, %rax ja LBB3_4 ## %bb.3: movq (%r15,%rax,8), %rdi xorl %eax, %eax callq _printf LBB3_4: movl 4(%r14), %esi leaq L_.str.10(%rip), %rdi xorl %eax, %eax callq _printf movl 8(%rbx), %esi leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _printf movslq 8(%rbx), %rax cmpq $4, %rax ja LBB3_6 ## %bb.5: movq (%r15,%rax,8), %rdi xorl %eax, %eax callq _printf LBB3_6: movl 8(%r14), %esi leaq L_.str.10(%rip), %rdi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _printf ## TAILCALL .cfi_endproc ## -- End function .globl _useItem ## -- Begin function useItem .p2align 4, 0x90 _useItem: ## @useItem .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx leaq L_.str.11(%rip), %rdi xorl %r15d, %r15d xorl %eax, %eax callq _printf leaq L_.str.12(%rip), %rdi leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf movl $10, %edi callq _putchar movl -28(%rbp), %eax cmpl %eax, (%rbx) je LBB4_3 ## %bb.1: movl $1, %r15d cmpl %eax, 4(%rbx) je LBB4_3 ## %bb.2: movl $2, %r15d cmpl %eax, 8(%rbx) jne LBB4_5 LBB4_3: movl (%r14,%r15,4), %eax testl %eax, %eax jle LBB4_5 ## %bb.4: decl %eax movl %eax, (%r14,%r15,4) leaq L_.str.14(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB4_6 LBB4_5: leaq L_str.17(%rip), %rdi callq _puts LBB4_6: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _Find_Item ## -- Begin function Find_Item .p2align 4, 0x90 _Find_Item: ## @Find_Item .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax cmpl %esi, (%rdi) je LBB5_3 ## %bb.1: movl $1, %eax cmpl %esi, 4(%rdi) je LBB5_3 ## %bb.2: xorl %eax, %eax cmpl %esi, 8(%rdi) sete %al leal (%rax,%rax,2), %eax decl %eax LBB5_3: popq %rbp retq .cfi_endproc ## -- End function .globl _Add_Item ## -- Begin function Add_Item .p2align 4, 0x90 _Add_Item: ## @Add_Item .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $0, (%rsi) je LBB6_1 ## %bb.2: cmpl $0, 4(%rsi) je LBB6_3 ## %bb.4: xorl %eax, %eax cmpl 8(%rsi), %eax sbbq %rax, %rax orq $2, %rax cmpl %edx, (%rdi) je LBB6_6 jmp LBB6_7 LBB6_1: xorl %eax, %eax cmpl %edx, (%rdi) jne LBB6_7 LBB6_6: xorl %ecx, %ecx jmp LBB6_9 LBB6_3: movl $1, %eax cmpl %edx, (%rdi) je LBB6_6 LBB6_7: movl $1, %ecx cmpl %edx, 4(%rdi) je LBB6_9 ## %bb.8: cmpl %edx, 8(%rdi) movl $2, %ecx cmoveq %rcx, %rax movq %rax, %rcx LBB6_9: incl (%rsi,%rcx,4) movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _Use_Item ## -- Begin function Use_Item .p2align 4, 0x90 _Use_Item: ## @Use_Item .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 cmpl %edx, (%rdi) je LBB7_3 ## %bb.1: movl $1, %ecx cmpl %edx, 4(%rdi) je LBB7_3 ## %bb.2: xorl %eax, %eax movl $2, %ecx cmpl %edx, 8(%rdi) jne LBB7_5 LBB7_3: movl (%rsi,%rcx,4), %edx movl $0, %eax testl %edx, %edx jle LBB7_5 ## %bb.4: decl %edx movl %edx, (%rsi,%rcx,4) movl $1, %eax LBB7_5: popq %rbp retq .cfi_endproc ## -- End function .globl _Print_Item ## -- Begin function Print_Item .p2align 4, 0x90 _Print_Item: ## @Print_Item .cfi_startproc ## %bb.0: cmpl $4, %edi ja LBB8_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %edi, %rax leaq l_switch.table.Print_Item(%rip), %rcx movq (%rcx,%rax,8), %rdi xorl %eax, %eax popq %rbp jmp _printf ## TAILCALL LBB8_1: retq .cfi_endproc ## -- End function .globl _getRandom ## -- Begin function getRandom .p2align 4, 0x90 _getRandom: ## @getRandom .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _rand cltq imulq $1717986919, %rax, %rcx ## imm = 0x66666667 movq %rcx, %rdx shrq $63, %rdx sarq $33, %rcx addl %edx, %ecx leal (%rcx,%rcx,4), %ecx subl %ecx, %eax ## kill: def $eax killed $eax killed $rax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .p2align 2 ## @__const.main.id l___const.main.id: .long 0 ## 0x0 .long 1 ## 0x1 .long 2 ## 0x2 .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "Select Option: " L_.str.3: ## @.str.3 .asciz " %d" L_.str.4: ## @.str.4 .asciz "0 - Potion X" L_.str.5: ## @.str.5 .asciz "1 - HP Booster X" L_.str.6: ## @.str.6 .asciz "2 - Strength Booster X" L_.str.7: ## @.str.7 .asciz "3 - Defense Booster X" L_.str.8: ## @.str.8 .asciz "4 - Intelligence Booster X" L_.str.9: ## @.str.9 .asciz "%d. " L_.str.10: ## @.str.10 .asciz "%d\n" L_.str.11: ## @.str.11 .asciz "Please input ID:" L_.str.12: ## @.str.12 .asciz "%d" L_.str.14: ## @.str.14 .asciz "Item used!" L_str: ## @str .asciz "Buh Bye.\n" L_str.16: ## @str.16 .asciz "\n\n1. Get New Item\n2. Show Inventory\n3. Use Item\n4. Quit\n" L_str.17: ## @str.17 .asciz "You don't have that item!" .section __DATA,__const .p2align 3 ## @switch.table.Print_Item l_switch.table.Print_Item: .quad L_.str.4 .quad L_.str.5 .quad L_.str.6 .quad L_.str.7 .quad L_.str.8 .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, #160 .cfi_def_cfa_offset 160 stp x28, x27, [sp, #64] ; 16-byte Folded Spill stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x8, l___const.main.id@PAGE Lloh1: add x8, x8, l___const.main.id@PAGEOFF Lloh2: adrp x9, ___stack_chk_guard@GOTPAGE Lloh3: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x9, [x9] str x9, [sp, #56] ldr x9, [x8] str x9, [sp, #40] Lloh5: adrp x19, l_str.16@PAGE Lloh6: add x19, x19, l_str.16@PAGEOFF Lloh7: adrp x20, l_.str.2@PAGE Lloh8: add x20, x20, l_.str.2@PAGEOFF Lloh9: adrp x21, l_.str.3@PAGE Lloh10: add x21, x21, l_.str.3@PAGEOFF add x26, sp, #20 ldr w8, [x8, #8] str w8, [sp, #48] Lloh11: adrp x27, lJTI0_0@PAGE Lloh12: add x27, x27, lJTI0_0@PAGEOFF mov w28, #26215 movk w28, #26214, lsl #16 add x24, sp, #24 str wzr, [sp, #32] str xzr, [sp, #24] Lloh13: adrp x22, l_.str.11@PAGE Lloh14: add x22, x22, l_.str.11@PAGEOFF Lloh15: adrp x23, l_.str.12@PAGE Lloh16: add x23, x23, l_.str.12@PAGEOFF Lloh17: adrp x25, l_str.17@PAGE Lloh18: add x25, x25, l_str.17@PAGEOFF b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add x0, sp, #40 add x1, sp, #24 bl _showInventory LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _puts mov x0, x20 bl _printf str x26, [sp] mov x0, x21 bl _scanf ldr w8, [sp, #20] sub w8, w8, #1 cmp w8, #3 b.hi LBB0_2 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 adr x9, LBB0_1 ldrb w10, [x27, x8] add x9, x9, x10, lsl #2 br x9 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 mov x0, #0 bl _time ; kill: def $w0 killed $w0 killed $x0 bl _srand bl _rand smull x8, w0, w28 lsr x9, x8, #63 asr x8, x8, #33 add w8, w8, w9 add w8, w8, w8, lsl #2 sub w8, w0, w8 ldr w9, [sp, #24] cbz w9, LBB0_11 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 ldr w9, [sp, #28] cbz w9, LBB0_15 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 ldr w9, [sp, #32] cmp w9, #0 mov w9, #2 csinv x9, x9, xzr, eq cbnz w8, LBB0_12 b LBB0_16 LBB0_7: ; in Loop: Header=BB0_2 Depth=1 mov x0, x22 bl _printf str x26, [sp] mov x0, x23 bl _scanf mov w0, #10 bl _putchar ldr w8, [sp, #20] cmp w8, #2 b.hi LBB0_10 ; %bb.8: ; in Loop: Header=BB0_2 Depth=1 ldr w9, [x24, x8, lsl #2] subs w9, w9, #1 b.lt LBB0_10 ; %bb.9: ; in Loop: Header=BB0_2 Depth=1 str w9, [x24, x8, lsl #2] Lloh19: adrp x0, l_.str.14@PAGE Lloh20: add x0, x0, l_.str.14@PAGEOFF bl _printf b LBB0_2 LBB0_10: ; in Loop: Header=BB0_2 Depth=1 mov x0, x25 bl _puts b LBB0_2 LBB0_11: ; in Loop: Header=BB0_2 Depth=1 mov x9, #0 cbz w8, LBB0_16 LBB0_12: ; in Loop: Header=BB0_2 Depth=1 cmp w8, #1 b.ne LBB0_14 ; %bb.13: ; in Loop: Header=BB0_2 Depth=1 mov w8, #1 b LBB0_17 LBB0_14: ; in Loop: Header=BB0_2 Depth=1 cmp w8, #2 mov w8, #2 csel x8, x8, x9, eq b LBB0_17 LBB0_15: ; in Loop: Header=BB0_2 Depth=1 mov w9, #1 cbnz w8, LBB0_12 LBB0_16: ; in Loop: Header=BB0_2 Depth=1 mov x8, #0 LBB0_17: ; in Loop: Header=BB0_2 Depth=1 lsl x8, x8, #2 ldr w9, [x24, x8] add w9, w9, #1 str w9, [x24, x8] b LBB0_2 LBB0_18: Lloh21: adrp x0, l_str@PAGE Lloh22: add x0, x0, l_str@PAGEOFF bl _puts ldr x8, [sp, #56] 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_20 ; %bb.19: mov w0, #0 ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload ldp x22, x21, [sp, #112] ; 16-byte Folded Reload ldp x24, x23, [sp, #96] ; 16-byte Folded Reload ldp x26, x25, [sp, #80] ; 16-byte Folded Reload ldp x28, x27, [sp, #64] ; 16-byte Folded Reload add sp, sp, #160 ret LBB0_20: bl ___stack_chk_fail .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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpAdd Lloh21, Lloh22 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_4-LBB0_1)>>2 .byte (LBB0_1-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_18-LBB0_1)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _mainMenu ; -- Begin function mainMenu .p2align 2 _mainMenu: ; @mainMenu .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 Lloh26: adrp x0, l_str.16@PAGE Lloh27: add x0, x0, l_str.16@PAGEOFF bl _puts Lloh28: adrp x0, l_.str.2@PAGE Lloh29: add x0, x0, l_.str.2@PAGEOFF bl _printf add x8, sp, #12 str x8, [sp] Lloh30: adrp x0, l_.str.3@PAGE Lloh31: add x0, x0, l_.str.3@PAGEOFF bl _scanf ldr w8, [sp, #12] str w8, [x19] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .cfi_endproc ; -- End function .globl _getNewItem ; -- Begin function getNewItem .p2align 2 _getNewItem: ; @getNewItem .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 mov x0, #0 bl _time ; kill: def $w0 killed $w0 killed $x0 bl _srand bl _rand mov w8, #26215 movk w8, #26214, lsl #16 smull x8, w0, w8 lsr x9, x8, #63 asr x8, x8, #33 add w8, w8, w9 add w8, w8, w8, lsl #2 sub w8, w0, w8 ldr w9, [x19] cbz w9, LBB2_3 ; %bb.1: ldr w9, [x19, #4] cbz w9, LBB2_4 ; %bb.2: ldr w9, [x19, #8] cmp w9, #0 mov w9, #2 csinv x9, x9, xzr, eq b LBB2_5 LBB2_3: mov x9, #0 b LBB2_5 LBB2_4: mov w9, #1 LBB2_5: ldr w10, [x20] cmp w10, w8 b.ne LBB2_7 ; %bb.6: mov x8, #0 b LBB2_10 LBB2_7: ldr w10, [x20, #4] cmp w10, w8 b.ne LBB2_9 ; %bb.8: mov w8, #1 b LBB2_10 LBB2_9: ldr w10, [x20, #8] cmp w10, w8 mov w8, #2 csel x8, x8, x9, eq LBB2_10: lsl x8, x8, #2 ldr w9, [x19, x8] add w9, w9, #1 str w9, [x19, x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _showInventory ; -- Begin function showInventory .p2align 2 _showInventory: ; @showInventory .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 ldr w8, [x0] str x8, [sp] Lloh32: adrp x0, l_.str.9@PAGE Lloh33: add x0, x0, l_.str.9@PAGEOFF bl _printf ldrsw x8, [x20] Lloh34: adrp x21, l_switch.table.Print_Item@PAGE Lloh35: add x21, x21, l_switch.table.Print_Item@PAGEOFF cmp w8, #4 b.hi LBB3_2 ; %bb.1: ldr x0, [x21, x8, lsl #3] bl _printf LBB3_2: ldr w8, [x19] str x8, [sp] Lloh36: adrp x0, l_.str.10@PAGE Lloh37: add x0, x0, l_.str.10@PAGEOFF bl _printf ldr w8, [x20, #4] str x8, [sp] Lloh38: adrp x0, l_.str.9@PAGE Lloh39: add x0, x0, l_.str.9@PAGEOFF bl _printf ldrsw x8, [x20, #4] cmp w8, #4 b.hi LBB3_4 ; %bb.3: ldr x0, [x21, x8, lsl #3] bl _printf LBB3_4: ldr w8, [x19, #4] str x8, [sp] Lloh40: adrp x0, l_.str.10@PAGE Lloh41: add x0, x0, l_.str.10@PAGEOFF bl _printf ldr w8, [x20, #8] str x8, [sp] Lloh42: adrp x0, l_.str.9@PAGE Lloh43: add x0, x0, l_.str.9@PAGEOFF bl _printf ldrsw x8, [x20, #8] cmp w8, #4 b.hi LBB3_6 ; %bb.5: ldr x0, [x21, x8, lsl #3] bl _printf LBB3_6: ldr w8, [x19, #8] str x8, [sp] Lloh44: adrp x0, l_.str.10@PAGE Lloh45: add x0, x0, l_.str.10@PAGEOFF bl _printf ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh44, Lloh45 .cfi_endproc ; -- End function .globl _useItem ; -- Begin function useItem .p2align 2 _useItem: ; @useItem .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 Lloh46: adrp x0, l_.str.11@PAGE Lloh47: add x0, x0, l_.str.11@PAGEOFF bl _printf add x8, sp, #12 str x8, [sp] Lloh48: adrp x0, l_.str.12@PAGE Lloh49: add x0, x0, l_.str.12@PAGEOFF bl _scanf mov w0, #10 bl _putchar ldr w8, [sp, #12] ldr w9, [x20] cmp w9, w8 b.ne LBB4_2 ; %bb.1: mov x8, #0 b LBB4_6 LBB4_2: ldr w9, [x20, #4] cmp w9, w8 b.ne LBB4_4 ; %bb.3: mov w8, #1 b LBB4_6 LBB4_4: ldr w9, [x20, #8] cmp w9, w8 b.ne LBB4_8 ; %bb.5: mov w8, #2 LBB4_6: ldr w9, [x19, x8, lsl #2] subs w9, w9, #1 b.lt LBB4_8 ; %bb.7: str w9, [x19, x8, lsl #2] Lloh50: adrp x0, l_.str.14@PAGE Lloh51: add x0, x0, l_.str.14@PAGEOFF bl _printf b LBB4_9 LBB4_8: Lloh52: adrp x0, l_str.17@PAGE Lloh53: add x0, x0, l_str.17@PAGEOFF bl _puts LBB4_9: 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 Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh52, Lloh53 .cfi_endproc ; -- End function .globl _Find_Item ; -- Begin function Find_Item .p2align 2 _Find_Item: ; @Find_Item .cfi_startproc ; %bb.0: ldr w8, [x0] cmp w8, w1 b.ne LBB5_2 ; %bb.1: mov w0, #0 ret LBB5_2: ldr w8, [x0, #4] cmp w8, w1 b.ne LBB5_4 ; %bb.3: mov w0, #1 ret LBB5_4: ldr w8, [x0, #8] cmp w8, w1 mov w8, #2 csinv w0, w8, wzr, eq ret .cfi_endproc ; -- End function .globl _Add_Item ; -- Begin function Add_Item .p2align 2 _Add_Item: ; @Add_Item .cfi_startproc ; %bb.0: ldr w8, [x1] cbz w8, LBB6_3 ; %bb.1: ldr w8, [x1, #4] cbz w8, LBB6_4 ; %bb.2: ldr w8, [x1, #8] cmp w8, #0 mov w8, #2 csinv x8, x8, xzr, eq b LBB6_5 LBB6_3: mov x8, #0 b LBB6_5 LBB6_4: mov w8, #1 LBB6_5: ldr w9, [x0] cmp w9, w2 b.ne LBB6_7 ; %bb.6: mov x8, #0 b LBB6_10 LBB6_7: ldr w9, [x0, #4] cmp w9, w2 b.ne LBB6_9 ; %bb.8: mov w8, #1 b LBB6_10 LBB6_9: ldr w9, [x0, #8] cmp w9, w2 mov w9, #2 csel x8, x9, x8, eq LBB6_10: lsl x8, x8, #2 ldr w9, [x1, x8] add w9, w9, #1 str w9, [x1, x8] mov w0, #1 ret .cfi_endproc ; -- End function .globl _Use_Item ; -- Begin function Use_Item .p2align 2 _Use_Item: ; @Use_Item .cfi_startproc ; %bb.0: ldr w8, [x0] cmp w8, w2 b.ne LBB7_2 ; %bb.1: mov x8, #0 b LBB7_6 LBB7_2: ldr w8, [x0, #4] cmp w8, w2 b.ne LBB7_4 ; %bb.3: mov w8, #1 b LBB7_6 LBB7_4: ldr w8, [x0, #8] cmp w8, w2 b.ne LBB7_8 ; %bb.5: mov w8, #2 LBB7_6: ldr w9, [x1, x8, lsl #2] subs w9, w9, #1 b.lt LBB7_8 ; %bb.7: str w9, [x1, x8, lsl #2] mov w0, #1 ret LBB7_8: mov w0, #0 ret .cfi_endproc ; -- End function .globl _Print_Item ; -- Begin function Print_Item .p2align 2 _Print_Item: ; @Print_Item .cfi_startproc ; %bb.0: cmp w0, #4 b.hi LBB8_2 ; %bb.1: Lloh54: adrp x8, l_switch.table.Print_Item@PAGE Lloh55: add x8, x8, l_switch.table.Print_Item@PAGEOFF ldr x0, [x8, w0, sxtw #3] b _printf LBB8_2: ret .loh AdrpAdd Lloh54, Lloh55 .cfi_endproc ; -- End function .globl _getRandom ; -- Begin function getRandom .p2align 2 _getRandom: ; @getRandom .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 _rand mov w8, #26215 movk w8, #26214, lsl #16 smull x8, w0, w8 lsr x9, x8, #63 asr x8, x8, #33 add w8, w8, w9 add w8, w8, w8, lsl #2 sub w0, w0, w8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .section __TEXT,__const .p2align 2 ; @__const.main.id l___const.main.id: .long 0 ; 0x0 .long 1 ; 0x1 .long 2 ; 0x2 .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .asciz "Select Option: " l_.str.3: ; @.str.3 .asciz " %d" l_.str.4: ; @.str.4 .asciz "0 - Potion X" l_.str.5: ; @.str.5 .asciz "1 - HP Booster X" l_.str.6: ; @.str.6 .asciz "2 - Strength Booster X" l_.str.7: ; @.str.7 .asciz "3 - Defense Booster X" l_.str.8: ; @.str.8 .asciz "4 - Intelligence Booster X" l_.str.9: ; @.str.9 .asciz "%d. " l_.str.10: ; @.str.10 .asciz "%d\n" l_.str.11: ; @.str.11 .asciz "Please input ID:" l_.str.12: ; @.str.12 .asciz "%d" l_.str.14: ; @.str.14 .asciz "Item used!" l_str: ; @str .asciz "Buh Bye.\n" l_str.16: ; @str.16 .asciz "\n\n1. Get New Item\n2. Show Inventory\n3. Use Item\n4. Quit\n" l_str.17: ; @str.17 .asciz "You don't have that item!" .section __DATA,__const .p2align 3 ; @switch.table.Print_Item l_switch.table.Print_Item: .quad l_.str.4 .quad l_.str.5 .quad l_.str.6 .quad l_.str.7 .quad l_.str.8 .subsections_via_symbols
the_stack_data/159516315.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _strip_telopts ## -- Begin function strip_telopts .p2align 4, 0x90 _strip_telopts: ## @strip_telopts .cfi_startproc ## %bb.0: testl %esi, %esi js LBB0_1 ## %bb.3: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx .cfi_offset %rbx, -24 xorl %r9d, %r9d movq _IAC@GOTPCREL(%rip), %rcx movq _SB@GOTPCREL(%rip), %rdx movq _SE@GOTPCREL(%rip), %r8 xorl %r10d, %r10d xorl %eax, %eax jmp LBB0_4 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 addl $2, %r9d LBB0_21: ## in Loop: Header=BB0_4 Depth=1 leal 1(%r9), %r11d cmpl %esi, %r9d movl %r11d, %r9d jge LBB0_22 LBB0_4: ## =>This Inner Loop Header: Depth=1 movslq %r9d, %r11 movzbl (%rdi,%r11), %ebx cmpb (%rcx), %bl jne LBB0_13 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 incq %r11 cmpl %esi, %r11d jge LBB0_22 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movzbl (%rdi,%r11), %ebx cmpb (%rdx), %bl jg LBB0_7 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_4 Depth=1 movl $1, %r10d movl %r11d, %r9d jmp LBB0_21 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_4 Depth=1 testl %r10d, %r10d je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_4 Depth=1 movl $1, %r10d jmp LBB0_21 LBB0_15: ## in Loop: Header=BB0_4 Depth=1 cmpb $13, %bl jne LBB0_16 LBB0_18: ## in Loop: Header=BB0_4 Depth=1 movslq %eax, %r10 incl %eax movb $10, (%rdi,%r10) xorl %r10d, %r10d jmp LBB0_21 LBB0_10: ## in Loop: Header=BB0_4 Depth=1 cmpb (%r8), %bl jne LBB0_11 ## %bb.12: ## in Loop: Header=BB0_4 Depth=1 testl %r10d, %r10d cmovel %r10d, %eax xorl %r10d, %r10d movl %r11d, %r9d jmp LBB0_21 LBB0_16: ## in Loop: Header=BB0_4 Depth=1 incq %r11 cmpl %esi, %r11d jge LBB0_19 ## %bb.17: ## in Loop: Header=BB0_4 Depth=1 cmpb $10, (%rdi,%r11) jne LBB0_18 LBB0_19: ## in Loop: Header=BB0_4 Depth=1 xorl %r10d, %r10d testb %bl, %bl je LBB0_21 ## %bb.20: ## in Loop: Header=BB0_4 Depth=1 movslq %eax, %r11 incl %eax movb %bl, (%rdi,%r11) jmp LBB0_21 LBB0_11: ## in Loop: Header=BB0_4 Depth=1 movl %r11d, %r9d jmp LBB0_21 LBB0_22: popq %rbx popq %rbp jmp LBB0_2 LBB0_1: xorl %eax, %eax LBB0_2: cltq movb $0, (%rdi,%rax) ## kill: def $eax killed $eax killed $rax retq .cfi_endproc ## -- End function .comm _IAC,1,0 ## @IAC .comm _SB,1,0 ## @SB .comm _SE,1,0 ## @SE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _strip_telopts ; -- Begin function strip_telopts .p2align 2 _strip_telopts: ; @strip_telopts .cfi_startproc ; %bb.0: tbnz w1, #31, LBB0_21 ; %bb.1: mov w13, #0 ; =0x0 mov w14, #0 ; =0x0 mov w8, #0 ; =0x0 Lloh0: adrp x9, _IAC@GOTPAGE Lloh1: ldr x9, [x9, _IAC@GOTPAGEOFF] Lloh2: adrp x10, _SB@GOTPAGE Lloh3: ldr x10, [x10, _SB@GOTPAGEOFF] Lloh4: adrp x11, _SE@GOTPAGE Lloh5: ldr x11, [x11, _SE@GOTPAGEOFF] mov w12, #10 ; =0xa b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add w13, w13, #2 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w15, w13, #1 cmp w13, w1 mov x13, x15 b.ge LBB0_22 LBB0_4: ; =>This Inner Loop Header: Depth=1 sxtw x16, w13 ldrb w15, [x0, x16] ldrb w17, [x9] cmp w15, w17 b.ne LBB0_9 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 add x15, x16, #1 cmp w15, w1 b.ge LBB0_22 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldrsb w16, [x0, x15] ldrsb w17, [x10] cmp w16, w17 b.gt LBB0_2 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 and w13, w16, #0xff and w16, w17, #0xff cmp w13, w16 b.ne LBB0_13 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 mov w14, #1 ; =0x1 mov x13, x15 b LBB0_3 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 cbz w14, LBB0_11 ; %bb.10: ; in Loop: Header=BB0_4 Depth=1 mov w14, #1 ; =0x1 b LBB0_3 LBB0_11: ; in Loop: Header=BB0_4 Depth=1 cmp w15, #13 b.ne LBB0_15 LBB0_12: ; in Loop: Header=BB0_4 Depth=1 mov w14, #0 ; =0x0 strb w12, [x0, w8, sxtw] b LBB0_19 LBB0_13: ; in Loop: Header=BB0_4 Depth=1 ldrb w16, [x11] cmp w13, w16 b.ne LBB0_20 ; %bb.14: ; in Loop: Header=BB0_4 Depth=1 cmp w14, #0 csel w8, wzr, w8, eq mov x13, x15 mov w14, #0 ; =0x0 b LBB0_3 LBB0_15: ; in Loop: Header=BB0_4 Depth=1 add x14, x16, #1 cmp w14, w1 b.ge LBB0_17 ; %bb.16: ; in Loop: Header=BB0_4 Depth=1 ldrb w14, [x0, x14] cmp w14, #10 b.ne LBB0_12 LBB0_17: ; in Loop: Header=BB0_4 Depth=1 mov w14, #0 ; =0x0 cbz w15, LBB0_3 ; %bb.18: ; in Loop: Header=BB0_4 Depth=1 strb w15, [x0, w8, sxtw] LBB0_19: ; in Loop: Header=BB0_4 Depth=1 add w8, w8, #1 b LBB0_3 LBB0_20: ; in Loop: Header=BB0_4 Depth=1 mov x13, x15 b LBB0_3 LBB0_21: mov w8, #0 ; =0x0 LBB0_22: strb wzr, [x0, w8, sxtw] mov x0, x8 ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _IAC,1,0 ; @IAC .comm _SB,1,0 ; @SB .comm _SE,1,0 ; @SE .subsections_via_symbols
assembly_file_161746.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nouveau_display_vblank_disable ## -- Begin function nouveau_display_vblank_disable .p2align 4, 0x90 _nouveau_display_vblank_disable: ## @nouveau_display_vblank_disable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _drm_crtc_from_index testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rdi callq _nouveau_crtc movq %rax, %rdi popq %rbp jmp _nvif_notify_put ## TAILCALL LBB0_1: 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 _nouveau_display_vblank_disable ; -- Begin function nouveau_display_vblank_disable .p2align 2 _nouveau_display_vblank_disable: ; @nouveau_display_vblank_disable .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 _drm_crtc_from_index cbz x0, LBB0_2 ; %bb.1: bl _nouveau_crtc ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _nvif_notify_put LBB0_2: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_display.c_nouveau_display_vblank_disable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gfx_v9_0_get_gpu_clock_counter _gfx_v9_0_get_gpu_clock_counter: ## @gfx_v9_0_get_gpu_clock_counter .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 callq _mutex_lock movq _GC@GOTPCREL(%rip), %rbx movl (%rbx), %edi movq _mmRLC_CAPTURE_GPU_CLOCK_COUNT@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi movl $1, %ecx callq _WREG32_SOC15 movl (%rbx), %edi movq _mmRLC_GPU_CLOCK_COUNT_LSB@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _RREG32_SOC15 movq %rax, %r15 movl (%rbx), %edi movq _mmRLC_GPU_CLOCK_COUNT_MSB@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _RREG32_SOC15 movq %rax, %rbx shlq $32, %rbx orq %r15, %rbx movq %r14, %rdi callq _mutex_unlock movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GC,4,2 ## @GC .comm _mmRLC_CAPTURE_GPU_CLOCK_COUNT,4,2 ## @mmRLC_CAPTURE_GPU_CLOCK_COUNT .comm _mmRLC_GPU_CLOCK_COUNT_LSB,4,2 ## @mmRLC_GPU_CLOCK_COUNT_LSB .comm _mmRLC_GPU_CLOCK_COUNT_MSB,4,2 ## @mmRLC_GPU_CLOCK_COUNT_MSB .no_dead_strip _gfx_v9_0_get_gpu_clock_counter .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gfx_v9_0_get_gpu_clock_counter _gfx_v9_0_get_gpu_clock_counter: ; @gfx_v9_0_get_gpu_clock_counter .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 bl _mutex_lock Lloh0: adrp x21, _GC@GOTPAGE Lloh1: ldr x21, [x21, _GC@GOTPAGEOFF] ldr w0, [x21] Lloh2: adrp x8, _mmRLC_CAPTURE_GPU_CLOCK_COUNT@GOTPAGE Lloh3: ldr x8, [x8, _mmRLC_CAPTURE_GPU_CLOCK_COUNT@GOTPAGEOFF] Lloh4: ldr w2, [x8] mov w1, #0 mov w3, #1 bl _WREG32_SOC15 ldr w0, [x21] Lloh5: adrp x8, _mmRLC_GPU_CLOCK_COUNT_LSB@GOTPAGE Lloh6: ldr x8, [x8, _mmRLC_GPU_CLOCK_COUNT_LSB@GOTPAGEOFF] Lloh7: ldr w2, [x8] mov w1, #0 bl _RREG32_SOC15 mov x20, x0 ldr w0, [x21] Lloh8: adrp x8, _mmRLC_GPU_CLOCK_COUNT_MSB@GOTPAGE Lloh9: ldr x8, [x8, _mmRLC_GPU_CLOCK_COUNT_MSB@GOTPAGEOFF] Lloh10: ldr w2, [x8] mov w1, #0 bl _RREG32_SOC15 orr x20, x20, x0, lsl #32 mov x0, x19 bl _mutex_unlock mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _GC,4,2 ; @GC .comm _mmRLC_CAPTURE_GPU_CLOCK_COUNT,4,2 ; @mmRLC_CAPTURE_GPU_CLOCK_COUNT .comm _mmRLC_GPU_CLOCK_COUNT_LSB,4,2 ; @mmRLC_GPU_CLOCK_COUNT_LSB .comm _mmRLC_GPU_CLOCK_COUNT_MSB,4,2 ; @mmRLC_GPU_CLOCK_COUNT_MSB .no_dead_strip _gfx_v9_0_get_gpu_clock_counter .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v9_0.c_gfx_v9_0_get_gpu_clock_counter.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _filp_open ## -- Begin function filp_open .p2align 4, 0x90 _filp_open: ## @filp_open .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movl %esi, %r15d callq _getname_kernel movq %rax, %rbx movq %rax, %rdi callq _ERR_CAST movq %rax, %r12 movq %rbx, %rdi callq _IS_ERR testl %eax, %eax je LBB0_1 ## %bb.2: movq %r12, %rax jmp LBB0_3 LBB0_1: movq %rbx, %rdi movl %r15d, %esi movl %r14d, %edx callq _file_open_name movq %rax, %r14 movq %rbx, %rdi callq _putname movq %r14, %rax LBB0_3: 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 _filp_open ; -- Begin function filp_open .p2align 2 _filp_open: ; @filp_open .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x21, x1 bl _getname_kernel mov x20, x0 bl _ERR_CAST mov x22, x0 mov x0, x20 bl _IS_ERR cbz w0, LBB0_2 ; %bb.1: mov x0, x22 b LBB0_3 LBB0_2: mov x0, x20 mov x1, x21 mov x2, x19 bl _file_open_name mov x19, x0 mov x0, x20 bl _putname mov x0, x19 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/fs/extr_open.c_filp_open.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vlan_dev_real_dev ## -- Begin function vlan_dev_real_dev .p2align 4, 0x90 _vlan_dev_real_dev: ## @vlan_dev_real_dev .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _vlan_dev_info movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vlan_dev_real_dev ; -- Begin function vlan_dev_real_dev .p2align 2 _vlan_dev_real_dev: ; @vlan_dev_real_dev .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 _vlan_dev_info ldr x0, [x0] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/8021q/extr_vlan_core.c_vlan_dev_real_dev.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function parse_typelib_flags _parse_typelib_flags: ## @parse_typelib_flags .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), %r14 movq %rsi, -56(%rbp) ## 8-byte Spill movl $0, (%rsi) movl 8(%rdi), %eax testl %eax, %eax jle LBB0_14 ## %bb.1: movq %rdi, %r15 xorl %r13d, %r13d jmp LBB0_2 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_2 Depth=1 movl (%rcx), %eax movq -56(%rbp), %rcx ## 8-byte Reload orl %eax, (%rcx) incq %r12 incl %r13d movl 8(%r15), %eax movq %r12, %r14 cmpl %eax, %r13d jge LBB0_14 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 cmpb $44, (%r14) jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %r12 jmp LBB0_8 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 cmpl %r13d, %eax cmovlel %r13d, %eax leal 1(%rax), %ecx movq %r14, %rdx .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl %r13d, %eax je LBB0_6 ## %bb.7: ## in Loop: Header=BB0_5 Depth=2 incl %r13d leaq 1(%rdx), %r12 cmpb $44, 1(%rdx) movq %r12, %rdx jne LBB0_5 jmp LBB0_8 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movq %rdx, %r12 movl %ecx, %r13d LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movq _restrictedW@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r12d, %ebx subl %r14d, %ebx movq %r14, %rdi movl %ebx, %edx callq _strncmpiW movq _LIBFLAG_FRESTRICTED@GOTPCREL(%rip), %rcx testl %eax, %eax je LBB0_13 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 movq _controlW@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi movl %ebx, %edx callq _strncmpiW movq _LIBFLAG_FCONTROL@GOTPCREL(%rip), %rcx testl %eax, %eax je LBB0_13 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 movq _hiddenW@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi movl %ebx, %edx callq _strncmpiW movq _LIBFLAG_FHIDDEN@GOTPCREL(%rip), %rcx testl %eax, %eax je LBB0_13 ## %bb.11: ## in Loop: Header=BB0_2 Depth=1 movq _hasdiskimageW@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi movl %ebx, %edx callq _strncmpiW movq _LIBFLAG_FHASDISKIMAGE@GOTPCREL(%rip), %rcx testl %eax, %eax je LBB0_13 ## %bb.12: movq %r15, %rdi callq _xmlstr2unicode movl %eax, -44(%rbp) leaq L_.str(%rip), %rdi leaq -44(%rbp), %rsi callq _DPRINT1 movq _FALSE@GOTPCREL(%rip), %rax jmp LBB0_15 LBB0_14: movq _TRUE@GOTPCREL(%rip), %rax LBB0_15: movl (%rax), %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _restrictedW,4,2 ## @restrictedW .comm _LIBFLAG_FRESTRICTED,4,2 ## @LIBFLAG_FRESTRICTED .comm _controlW,4,2 ## @controlW .comm _LIBFLAG_FCONTROL,4,2 ## @LIBFLAG_FCONTROL .comm _hiddenW,4,2 ## @hiddenW .comm _LIBFLAG_FHIDDEN,4,2 ## @LIBFLAG_FHIDDEN .comm _hasdiskimageW,4,2 ## @hasdiskimageW .comm _LIBFLAG_FHASDISKIMAGE,4,2 ## @LIBFLAG_FHASDISKIMAGE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "unknown flags value %wZ\n" .comm _FALSE,4,2 ## @FALSE .comm _TRUE,4,2 ## @TRUE .no_dead_strip _parse_typelib_flags .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function parse_typelib_flags _parse_typelib_flags: ; @parse_typelib_flags .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 ldr x27, [x0] str wzr, [x1] ldr w8, [x0, #8] cmp w8, #1 b.lt LBB0_16 ; %bb.1: mov x20, x1 mov x19, x0 mov w23, #0 Lloh0: adrp x24, _restrictedW@GOTPAGE Lloh1: ldr x24, [x24, _restrictedW@GOTPAGEOFF] Lloh2: adrp x25, _LIBFLAG_FRESTRICTED@GOTPAGE Lloh3: ldr x25, [x25, _LIBFLAG_FRESTRICTED@GOTPAGEOFF] Lloh4: adrp x26, _controlW@GOTPAGE Lloh5: ldr x26, [x26, _controlW@GOTPAGEOFF] Lloh6: adrp x28, _hiddenW@GOTPAGE Lloh7: ldr x28, [x28, _hiddenW@GOTPAGEOFF] b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov x8, x25 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x8] ldr w9, [x20] orr w8, w9, w8 str w8, [x20] add x27, x21, #1 add w23, w23, #1 ldr w8, [x19, #8] cmp w23, w8 b.ge LBB0_16 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ldrb w9, [x27] cmp w9, #44 b.ne LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x21, x27 b LBB0_10 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 cmp w8, w23 csel w9, w8, w23, gt add w8, w9, #1 mov x21, x27 LBB0_7: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 cmp w9, w23 b.eq LBB0_9 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 add w23, w23, #1 ldrb w10, [x21, #1]! cmp w10, #44 b.ne LBB0_7 b LBB0_10 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 mov x23, x8 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 ldr w1, [x24] sub w22, w21, w27 mov x0, x27 mov x2, x22 bl _strncmpiW cbz w0, LBB0_2 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 ldr w1, [x26] mov x0, x27 mov x2, x22 bl _strncmpiW cbz w0, LBB0_14 ; %bb.12: ; in Loop: Header=BB0_4 Depth=1 ldr w1, [x28] mov x0, x27 mov x2, x22 bl _strncmpiW cbz w0, LBB0_15 ; %bb.13: ; in Loop: Header=BB0_4 Depth=1 Lloh8: adrp x8, _hasdiskimageW@GOTPAGE Lloh9: ldr x8, [x8, _hasdiskimageW@GOTPAGEOFF] Lloh10: ldr w1, [x8] mov x0, x27 mov x2, x22 bl _strncmpiW Lloh11: adrp x8, _LIBFLAG_FHASDISKIMAGE@GOTPAGE Lloh12: ldr x8, [x8, _LIBFLAG_FHASDISKIMAGE@GOTPAGEOFF] cbz w0, LBB0_3 b LBB0_18 LBB0_14: ; in Loop: Header=BB0_4 Depth=1 Lloh13: adrp x8, _LIBFLAG_FCONTROL@GOTPAGE Lloh14: ldr x8, [x8, _LIBFLAG_FCONTROL@GOTPAGEOFF] b LBB0_3 LBB0_15: ; in Loop: Header=BB0_4 Depth=1 Lloh15: adrp x8, _LIBFLAG_FHIDDEN@GOTPAGE Lloh16: ldr x8, [x8, _LIBFLAG_FHIDDEN@GOTPAGEOFF] b LBB0_3 LBB0_16: Lloh17: adrp x8, _TRUE@GOTPAGE Lloh18: ldr x8, [x8, _TRUE@GOTPAGEOFF] LBB0_17: ldr w0, [x8] ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_18: mov x0, x19 bl _xmlstr2unicode str w0, [sp, #12] Lloh19: adrp x0, l_.str@PAGE Lloh20: add x0, x0, l_.str@PAGEOFF add x1, sp, #12 bl _DPRINT1 Lloh21: adrp x8, _FALSE@GOTPAGE Lloh22: ldr x8, [x8, _FALSE@GOTPAGEOFF] b LBB0_17 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _restrictedW,4,2 ; @restrictedW .comm _LIBFLAG_FRESTRICTED,4,2 ; @LIBFLAG_FRESTRICTED .comm _controlW,4,2 ; @controlW .comm _LIBFLAG_FCONTROL,4,2 ; @LIBFLAG_FCONTROL .comm _hiddenW,4,2 ; @hiddenW .comm _LIBFLAG_FHIDDEN,4,2 ; @LIBFLAG_FHIDDEN .comm _hasdiskimageW,4,2 ; @hasdiskimageW .comm _LIBFLAG_FHASDISKIMAGE,4,2 ; @LIBFLAG_FHASDISKIMAGE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "unknown flags value %wZ\n" .comm _FALSE,4,2 ; @FALSE .comm _TRUE,4,2 ; @TRUE .no_dead_strip _parse_typelib_flags .subsections_via_symbols
AnghaBench/reactos/sdk/lib/rtl/extr_actctx.c_parse_typelib_flags.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hfs_ext_find_block _hfs_ext_find_block: ## @hfs_ext_find_block .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 movl 4(%rdi), %edi callq _be16_to_cpu cmpq %rbx, %rax jg LBB0_1 ## %bb.2: subq %rax, %rbx movl 12(%r14), %edi callq _be16_to_cpu movq %rbx, %r15 subq %rax, %r15 jge LBB0_4 ## %bb.3: addq $8, %r14 jmp LBB0_1 LBB0_4: movl 20(%r14), %edi callq _be16_to_cpu cmpq %rax, %r15 jge LBB0_6 ## %bb.5: addq $16, %r14 movq %r15, %rbx LBB0_1: movl (%r14), %edi callq _be16_to_cpu addq %rbx, %rax LBB0_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_6: xorl %eax, %eax jmp LBB0_7 .cfi_endproc ## -- End function .no_dead_strip _hfs_ext_find_block .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hfs_ext_find_block _hfs_ext_find_block: ; @hfs_ext_find_block .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 ldr w0, [x0, #4] bl _be16_to_cpu cmp x0, x20 b.gt LBB0_5 ; %bb.1: sub x20, x20, x0 ldr w0, [x19, #12] bl _be16_to_cpu subs x21, x20, x0 b.ge LBB0_3 ; %bb.2: add x19, x19, #8 b LBB0_5 LBB0_3: ldr w0, [x19, #20] bl _be16_to_cpu cmp x21, x0 b.ge LBB0_7 ; %bb.4: add x19, x19, #16 mov x20, x21 LBB0_5: ldr w0, [x19] bl _be16_to_cpu add x0, x0, x20 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_7: mov x0, #0 b LBB0_6 .cfi_endproc ; -- End function .no_dead_strip _hfs_ext_find_block .subsections_via_symbols
AnghaBench/linux/fs/hfs/extr_extent.c_hfs_ext_find_block.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cache_inval_init _cache_inval_init: ## @cache_inval_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq _continuous_aggs_trigger_mctx@GOTPCREL(%rip), %rbx xorl %edi, %edi cmpq $0, (%rbx) sete %dil callq _Assert movq _TopTransactionContext@GOTPCREL(%rip), %rax movl (%rax), %edi movq _ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rsi callq _AllocSetContextCreate movq %rax, (%rbx) leaq -32(%rbp), %r14 movq %r14, %rdi xorl %esi, %esi movl $16, %edx callq _memset movabsq $17179869188, %rax ## imm = 0x400000004 movq %rax, -32(%rbp) movq (%rbx), %rax movq %rax, -24(%rbp) movq _CA_CACHE_INVAL_INIT_HTAB_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq _HASH_ELEM@GOTPCREL(%rip), %rax movq _HASH_BLOBS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx leaq L_.str.1(%rip), %rdi movq %r14, %rdx callq _hash_create movq _continuous_aggs_cache_inval_htab@GOTPCREL(%rip), %rcx movl %eax, (%rcx) addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _continuous_aggs_trigger_mctx,8,3 ## @continuous_aggs_trigger_mctx .comm _TopTransactionContext,4,2 ## @TopTransactionContext .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ConinuousAggsTriggerCtx" .comm _ALLOCSET_DEFAULT_SIZES,4,2 ## @ALLOCSET_DEFAULT_SIZES L_.str.1: ## @.str.1 .asciz "TS Continuous Aggs Cache Inval" .comm _CA_CACHE_INVAL_INIT_HTAB_SIZE,4,2 ## @CA_CACHE_INVAL_INIT_HTAB_SIZE .comm _HASH_ELEM,4,2 ## @HASH_ELEM .comm _HASH_BLOBS,4,2 ## @HASH_BLOBS .comm _continuous_aggs_cache_inval_htab,4,2 ## @continuous_aggs_cache_inval_htab .no_dead_strip _cache_inval_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cache_inval_init _cache_inval_init: ; @cache_inval_init .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 x19, _continuous_aggs_trigger_mctx@GOTPAGE Lloh1: ldr x19, [x19, _continuous_aggs_trigger_mctx@GOTPAGEOFF] ldr x8, [x19] cmp x8, #0 cset w0, eq bl _Assert Lloh2: adrp x8, _TopTransactionContext@GOTPAGE Lloh3: ldr x8, [x8, _TopTransactionContext@GOTPAGEOFF] Lloh4: ldr w0, [x8] Lloh5: adrp x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE Lloh6: ldr x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF] Lloh7: ldr w2, [x8] Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF bl _AllocSetContextCreate str x0, [x19] mov x0, sp mov w1, #0 mov w2, #16 bl _memset movi.2s v0, #4 str d0, [sp] ldr x8, [x19] str x8, [sp, #8] Lloh10: adrp x8, _CA_CACHE_INVAL_INIT_HTAB_SIZE@GOTPAGE Lloh11: ldr x8, [x8, _CA_CACHE_INVAL_INIT_HTAB_SIZE@GOTPAGEOFF] Lloh12: adrp x9, _HASH_ELEM@GOTPAGE Lloh13: ldr x9, [x9, _HASH_ELEM@GOTPAGEOFF] Lloh14: ldr w1, [x8] Lloh15: ldr w8, [x9] Lloh16: adrp x9, _HASH_BLOBS@GOTPAGE Lloh17: ldr x9, [x9, _HASH_BLOBS@GOTPAGEOFF] Lloh18: ldr w9, [x9] orr w3, w9, w8 Lloh19: adrp x0, l_.str.1@PAGE Lloh20: add x0, x0, l_.str.1@PAGEOFF mov x2, sp bl _hash_create Lloh21: adrp x8, _continuous_aggs_cache_inval_htab@GOTPAGE Lloh22: ldr x8, [x8, _continuous_aggs_cache_inval_htab@GOTPAGEOFF] Lloh23: str w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotStr Lloh21, Lloh22, Lloh23 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh14 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _continuous_aggs_trigger_mctx,8,3 ; @continuous_aggs_trigger_mctx .comm _TopTransactionContext,4,2 ; @TopTransactionContext .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ConinuousAggsTriggerCtx" .comm _ALLOCSET_DEFAULT_SIZES,4,2 ; @ALLOCSET_DEFAULT_SIZES l_.str.1: ; @.str.1 .asciz "TS Continuous Aggs Cache Inval" .comm _CA_CACHE_INVAL_INIT_HTAB_SIZE,4,2 ; @CA_CACHE_INVAL_INIT_HTAB_SIZE .comm _HASH_ELEM,4,2 ; @HASH_ELEM .comm _HASH_BLOBS,4,2 ; @HASH_BLOBS .comm _continuous_aggs_cache_inval_htab,4,2 ; @continuous_aggs_cache_inval_htab .no_dead_strip _cache_inval_init .subsections_via_symbols
AnghaBench/timescaledb/tsl/src/continuous_aggs/extr_insert.c_cache_inval_init.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 $2152, %rsp ## imm = 0x868 .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 -2180(%rbp), %rsi leaq -2184(%rbp), %rdx xorl %eax, %eax callq _scanf cmpl $2, %eax jne LBB0_14 ## %bb.1: movq ___stdinp@GOTPCREL(%rip), %r12 leaq -272(%rbp), %rbx jmp LBB0_2 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_2 Depth=1 movl $10, %edi callq _putchar leaq L_.str(%rip), %rdi leaq -2180(%rbp), %rsi leaq -2184(%rbp), %rdx xorl %eax, %eax callq _scanf cmpl $2, %eax jne LBB0_14 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_5 Depth 2 ## Child Loop BB0_8 Depth 3 ## Child Loop BB0_10 Depth 4 callq _getchar movl -2180(%rbp), %r14d testl %r14d, %r14d jle LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 leaq -2176(%rbp), %r15 .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%r12), %rdx movq %r15, %rdi movl $210, %esi callq _fgets addq $210, %r15 decq %r14 jne LBB0_4 jmp LBB0_5 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_5 Depth=2 leaq L_.str.2(%rip), %rdi movq %rbx, %rsi movl %r15d, %edx xorl %eax, %eax callq _printf LBB0_5: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_8 Depth 3 ## Child Loop BB0_10 Depth 4 subl $1, -2184(%rbp) jb LBB0_13 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 movl -2180(%rbp), %r13d xorl %r15d, %r15d leaq L_.str.1(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf testl %r13d, %r13d jle LBB0_12 ## %bb.7: ## in Loop: Header=BB0_5 Depth=2 xorl %r14d, %r14d xorl %r15d, %r15d jmp LBB0_8 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_8 Depth=3 incq %r14 cmpq %r13, %r14 je LBB0_12 LBB0_8: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_5 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB0_10 Depth 4 imulq $210, %r14, %rax leaq (%rax,%rbp), %rdi addq $-2176, %rdi ## imm = 0xF780 .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_5 Depth=2 ## Parent Loop BB0_8 Depth=3 ## => This Inner Loop Header: Depth=4 movq %rbx, %rsi callq _strcasestr testq %rax, %rax je LBB0_11 ## %bb.9: ## in Loop: Header=BB0_10 Depth=4 incl %r15d incq %rax movq %rax, %rdi jmp LBB0_10 LBB0_14: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_16 ## %bb.15: xorl %eax, %eax addq $2152, %rsp ## imm = 0x868 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_16: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _input ## -- Begin function input .p2align 4, 0x90 _input: ## @input .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 testl %esi, %esi jle LBB1_3 ## %bb.1: movq %rdi, %rbx movl %esi, %r14d movq ___stdinp@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rdx movq %rbx, %rdi movl $210, %esi callq _fgets addq $210, %rbx decq %r14 jne LBB1_2 LBB1_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _query ## -- Begin function query .p2align 4, 0x90 _query: ## @query .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $232, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r15d movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str.1(%rip), %rdi xorl %ebx, %ebx leaq -272(%rbp), %rsi xorl %eax, %eax callq _scanf testl %r15d, %r15d jle LBB2_6 ## %bb.1: movl %r15d, %r12d xorl %r13d, %r13d leaq -272(%rbp), %r15 xorl %ebx, %ebx jmp LBB2_2 .p2align 4, 0x90 LBB2_5: ## in Loop: Header=BB2_2 Depth=1 incq %r13 cmpq %r12, %r13 je LBB2_6 LBB2_2: ## =>This Loop Header: Depth=1 ## Child Loop BB2_4 Depth 2 imulq $210, %r13, %rdi addq %r14, %rdi .p2align 4, 0x90 LBB2_4: ## Parent Loop BB2_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rsi callq _strcasestr testq %rax, %rax je LBB2_5 ## %bb.3: ## in Loop: Header=BB2_4 Depth=2 incl %ebx incq %rax movq %rax, %rdi jmp LBB2_4 LBB2_6: leaq L_.str.2(%rip), %rdi leaq -272(%rbp), %rsi movl %ebx, %edx xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB2_8 ## %bb.7: addq $232, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB2_8: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d %d" L_.str.1: ## @.str.1 .asciz "%s" L_.str.2: ## @.str.2 .asciz "%s:%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 x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #2144 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-96] add x8, sp, #24 add x9, sp, #20 stp x9, x8, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _scanf cmp w0, #2 b.ne LBB0_15 ; %bb.1: Lloh5: adrp x25, ___stdinp@GOTPAGE Lloh6: ldr x25, [x25, ___stdinp@GOTPAGEOFF] mov w26, #210 Lloh7: adrp x19, l_.str@PAGE Lloh8: add x19, x19, l_.str@PAGEOFF add x27, sp, #1918 Lloh9: adrp x20, l_.str.1@PAGE Lloh10: add x20, x20, l_.str.1@PAGEOFF add x28, sp, #28 Lloh11: adrp x21, l_.str.2@PAGE Lloh12: add x21, x21, l_.str.2@PAGEOFF b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov w0, #10 bl _putchar add x8, sp, #24 str x8, [sp, #8] add x8, sp, #20 str x8, [sp] mov x0, x19 bl _scanf cmp w0, #2 b.ne LBB0_15 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_12 Depth 3 ; Child Loop BB0_13 Depth 4 bl _getchar ldr w23, [sp, #20] cmp w23, #1 b.lt LBB0_8 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add x22, sp, #28 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x2, [x25] mov x0, x22 mov w1, #210 bl _fgets add x22, x22, #210 subs x23, x23, #1 b.ne LBB0_5 b LBB0_8 LBB0_6: ; in Loop: Header=BB0_8 Depth=2 mov w23, #0 LBB0_7: ; in Loop: Header=BB0_8 Depth=2 stp x27, x23, [sp] mov x0, x21 bl _printf LBB0_8: ; Parent Loop BB0_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_12 Depth 3 ; Child Loop BB0_13 Depth 4 ldr w8, [sp, #24] sub w9, w8, #1 str w9, [sp, #24] cbz w8, LBB0_2 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 ldr w22, [sp, #20] str x27, [sp] mov x0, x20 bl _scanf cmp w22, #1 b.lt LBB0_6 ; %bb.10: ; in Loop: Header=BB0_8 Depth=2 mov x24, #0 mov w23, #0 b LBB0_12 LBB0_11: ; in Loop: Header=BB0_12 Depth=3 add x24, x24, #1 cmp x24, x22 b.eq LBB0_7 LBB0_12: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_8 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB0_13 Depth 4 madd x0, x24, x26, x28 LBB0_13: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_8 Depth=2 ; Parent Loop BB0_12 Depth=3 ; => This Inner Loop Header: Depth=4 add x1, sp, #1918 bl _strcasestr cbz x0, LBB0_11 ; %bb.14: ; in Loop: Header=BB0_13 Depth=4 add w23, w23, #1 add x0, x0, #1 b LBB0_13 LBB0_15: ldur x8, [x29, #-96] 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_17 ; %bb.16: mov w0, #0 add sp, sp, #2144 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_17: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .globl _input ; -- Begin function input .p2align 2 _input: ; @input .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 cmp w1, #1 b.lt LBB1_3 ; %bb.1: mov x19, x0 mov w20, w1 Lloh16: adrp x21, ___stdinp@GOTPAGE Lloh17: ldr x21, [x21, ___stdinp@GOTPAGEOFF] LBB1_2: ; =>This Inner Loop Header: Depth=1 ldr x2, [x21] mov x0, x19 mov w1, #210 bl _fgets add x19, x19, #210 subs x20, x20, #1 b.ne LBB1_2 LBB1_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh16, Lloh17 .cfi_endproc ; -- End function .globl _query ; -- Begin function query .p2align 2 _query: ; @query .cfi_startproc ; %bb.0: sub sp, sp, #320 .cfi_def_cfa_offset 320 stp x28, x27, [sp, #240] ; 16-byte Folded Spill stp x24, x23, [sp, #256] ; 16-byte Folded Spill stp x22, x21, [sp, #272] ; 16-byte Folded Spill stp x20, x19, [sp, #288] ; 16-byte Folded Spill stp x29, x30, [sp, #304] ; 16-byte Folded Spill add x29, sp, #304 .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 w27, -72 .cfi_offset w28, -80 mov x20, x1 mov x19, x0 Lloh18: adrp x8, ___stack_chk_guard@GOTPAGE Lloh19: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh20: ldr x8, [x8] stur x8, [x29, #-72] add x21, sp, #22 str x21, [sp] Lloh21: adrp x0, l_.str.1@PAGE Lloh22: add x0, x0, l_.str.1@PAGEOFF bl _scanf cmp w20, #1 b.lt LBB2_6 ; %bb.1: mov x23, #0 mov w22, #0 mov w24, #210 mov w20, w20 b LBB2_3 LBB2_2: ; in Loop: Header=BB2_3 Depth=1 add x23, x23, #1 cmp x23, x20 b.eq LBB2_7 LBB2_3: ; =>This Loop Header: Depth=1 ; Child Loop BB2_4 Depth 2 madd x0, x23, x24, x19 LBB2_4: ; Parent Loop BB2_3 Depth=1 ; => This Inner Loop Header: Depth=2 add x1, sp, #22 bl _strcasestr cbz x0, LBB2_2 ; %bb.5: ; in Loop: Header=BB2_4 Depth=2 add w22, w22, #1 add x0, x0, #1 b LBB2_4 LBB2_6: mov w22, #0 LBB2_7: stp x21, x22, [sp] Lloh23: adrp x0, l_.str.2@PAGE Lloh24: add x0, x0, l_.str.2@PAGEOFF bl _printf ldur x8, [x29, #-72] Lloh25: adrp x9, ___stack_chk_guard@GOTPAGE Lloh26: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh27: ldr x9, [x9] cmp x9, x8 b.ne LBB2_9 ; %bb.8: ldp x29, x30, [sp, #304] ; 16-byte Folded Reload ldp x20, x19, [sp, #288] ; 16-byte Folded Reload ldp x22, x21, [sp, #272] ; 16-byte Folded Reload ldp x24, x23, [sp, #256] ; 16-byte Folded Reload ldp x28, x27, [sp, #240] ; 16-byte Folded Reload add sp, sp, #320 ret LBB2_9: bl ___stack_chk_fail .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d %d" l_.str.1: ; @.str.1 .asciz "%s" l_.str.2: ; @.str.2 .asciz "%s:%d\n" .subsections_via_symbols
the_stack_data/31386704.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mt6351_codec_init_reg _mt6351_codec_init_reg: ## @mt6351_codec_init_reg .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), %edi movq _MT6351_TOP_CLKSQ@GOTPCREL(%rip), %rax movl (%rax), %esi movl $1, %edx xorl %ecx, %ecx callq _regmap_update_bits movl (%rbx), %edi movq _MT6351_AUDDEC_ANA_CON9@GOTPCREL(%rip), %rax movl (%rax), %esi movl $4096, %edx ## imm = 0x1000 movl $4096, %ecx ## imm = 0x1000 callq _regmap_update_bits movl (%rbx), %edi movq _MT6351_TOP_CKPDN_CON0_SET@GOTPCREL(%rip), %rax movl (%rax), %esi movl $14336, %edx ## imm = 0x3800 movl $14336, %ecx ## imm = 0x3800 callq _regmap_update_bits movl (%rbx), %edi movq _MT6351_AUDDEC_ANA_CON0@GOTPCREL(%rip), %rax movl (%rax), %esi movl $57344, %edx ## imm = 0xE000 movl $57344, %ecx ## imm = 0xE000 callq _regmap_update_bits movl (%rbx), %edi movq _MT6351_AUDDEC_ANA_CON3@GOTPCREL(%rip), %rax movl (%rax), %esi movl $32, %edx movl $32, %ecx callq _regmap_update_bits movl (%rbx), %edi movq _MT6351_AFE_PMIC_NEWIF_CFG2@GOTPCREL(%rip), %rax movl (%rax), %esi movl $32768, %edx ## imm = 0x8000 movl $32768, %ecx ## imm = 0x8000 callq _regmap_update_bits xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _MT6351_TOP_CLKSQ,4,2 ## @MT6351_TOP_CLKSQ .comm _MT6351_AUDDEC_ANA_CON9,4,2 ## @MT6351_AUDDEC_ANA_CON9 .comm _MT6351_TOP_CKPDN_CON0_SET,4,2 ## @MT6351_TOP_CKPDN_CON0_SET .comm _MT6351_AUDDEC_ANA_CON0,4,2 ## @MT6351_AUDDEC_ANA_CON0 .comm _MT6351_AUDDEC_ANA_CON3,4,2 ## @MT6351_AUDDEC_ANA_CON3 .comm _MT6351_AFE_PMIC_NEWIF_CFG2,4,2 ## @MT6351_AFE_PMIC_NEWIF_CFG2 .no_dead_strip _mt6351_codec_init_reg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mt6351_codec_init_reg _mt6351_codec_init_reg: ; @mt6351_codec_init_reg .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0] Lloh0: adrp x8, _MT6351_TOP_CLKSQ@GOTPAGE Lloh1: ldr x8, [x8, _MT6351_TOP_CLKSQ@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w2, #1 mov w3, #0 bl _regmap_update_bits ldr w0, [x19] Lloh3: adrp x8, _MT6351_AUDDEC_ANA_CON9@GOTPAGE Lloh4: ldr x8, [x8, _MT6351_AUDDEC_ANA_CON9@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov w2, #4096 mov w3, #4096 bl _regmap_update_bits ldr w0, [x19] Lloh6: adrp x8, _MT6351_TOP_CKPDN_CON0_SET@GOTPAGE Lloh7: ldr x8, [x8, _MT6351_TOP_CKPDN_CON0_SET@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov w2, #14336 mov w3, #14336 bl _regmap_update_bits ldr w0, [x19] Lloh9: adrp x8, _MT6351_AUDDEC_ANA_CON0@GOTPAGE Lloh10: ldr x8, [x8, _MT6351_AUDDEC_ANA_CON0@GOTPAGEOFF] Lloh11: ldr w1, [x8] mov w2, #57344 mov w3, #57344 bl _regmap_update_bits ldr w0, [x19] Lloh12: adrp x8, _MT6351_AUDDEC_ANA_CON3@GOTPAGE Lloh13: ldr x8, [x8, _MT6351_AUDDEC_ANA_CON3@GOTPAGEOFF] Lloh14: ldr w1, [x8] mov w2, #32 mov w3, #32 bl _regmap_update_bits ldr w0, [x19] Lloh15: adrp x8, _MT6351_AFE_PMIC_NEWIF_CFG2@GOTPAGE Lloh16: ldr x8, [x8, _MT6351_AFE_PMIC_NEWIF_CFG2@GOTPAGEOFF] Lloh17: ldr w1, [x8] mov w2, #32768 mov w3, #32768 bl _regmap_update_bits mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MT6351_TOP_CLKSQ,4,2 ; @MT6351_TOP_CLKSQ .comm _MT6351_AUDDEC_ANA_CON9,4,2 ; @MT6351_AUDDEC_ANA_CON9 .comm _MT6351_TOP_CKPDN_CON0_SET,4,2 ; @MT6351_TOP_CKPDN_CON0_SET .comm _MT6351_AUDDEC_ANA_CON0,4,2 ; @MT6351_AUDDEC_ANA_CON0 .comm _MT6351_AUDDEC_ANA_CON3,4,2 ; @MT6351_AUDDEC_ANA_CON3 .comm _MT6351_AFE_PMIC_NEWIF_CFG2,4,2 ; @MT6351_AFE_PMIC_NEWIF_CFG2 .no_dead_strip _mt6351_codec_init_reg .subsections_via_symbols
AnghaBench/linux/sound/soc/codecs/extr_mt6351.c_mt6351_codec_init_reg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function find_symbol_for_address _find_symbol_for_address: ## @find_symbol_for_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 %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 _sorted_symcount@GOTPCREL(%rip), %rax movslq (%rax), %rbx testq %rbx, %rbx jle LBB0_44 ## %bb.1: movq %rdi, %r12 movq %rdx, -88(%rbp) ## 8-byte Spill movq %rsi, -72(%rbp) ## 8-byte Spill movq 8(%rsi), %rcx movq 8(%rcx), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq %rcx, -48(%rbp) ## 8-byte Spill movq 16(%rcx), %rdi movq %rdi, -64(%rbp) ## 8-byte Spill callq _bfd_octets_per_byte movl %eax, -76(%rbp) ## 4-byte Spill xorl %r15d, %r15d jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq %r13, %rdi callq _bfd_asymbol_value movq %r14, %r15 cmpq %rbx, %r15 jg LBB0_6 LBB0_2: ## =>This Inner Loop Header: Depth=1 leaq (%r15,%rbx), %rax movq %rax, %r14 shrq $63, %r14 addq %rax, %r14 sarq %r14 movq _sorted_syms@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r14,8), %r13 movq %r13, %rdi callq _bfd_asymbol_value cmpq %r12, %rax jle LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rbx cmpq %rbx, %r15 jle LBB0_2 jmp LBB0_6 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_6 Depth=1 decq %r15 LBB0_6: ## =>This Inner Loop Header: Depth=1 testq %r15, %r15 jg LBB0_8 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movq _sorted_syms@GOTPCREL(%rip), %rbx movq (%rbx), %rax movq (%rax,%r15,8), %rdi callq _bfd_asymbol_value movq %rax, %r13 movq (%rbx), %rax movq -8(%rax,%r15,8), %rdi callq _bfd_asymbol_value cmpq %rax, %r13 je LBB0_8 ## %bb.9: movb $1, %sil movq -48(%rbp), %rax ## 8-byte Reload cmpq $0, (%rax) movb $1, %bl je LBB0_10 LBB0_13: movq _sorted_syms@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r15,8), %rdi movq -56(%rbp), %rax ## 8-byte Reload cmpq %rax, (%rdi) je LBB0_15 ## %bb.14: testb %bl, %bl jne LBB0_20 jmp LBB0_15 LBB0_10: movq _HAS_RELOC@GOTPCREL(%rip), %rax movl (%rax), %eax movq -64(%rbp), %r14 ## 8-byte Reload orl (%r14), %eax je LBB0_46 ## %bb.11: movq %r14, %rdi movq -56(%rbp), %rsi ## 8-byte Reload callq _bfd_get_section_vma cmpq %r12, %rax jle LBB0_12 LBB0_46: movq _sorted_syms@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r15,8), %rdi xorl %ebx, %ebx LBB0_15: movq -72(%rbp), %rsi ## 8-byte Reload callq *(%rsi) movl %ebx, %esi testq %rax, %rax je LBB0_20 ## %bb.16: movq %r15, %r14 jmp LBB0_17 LBB0_20: leaq 1(%r15), %r14 movq _sorted_symcount@GOTPCREL(%rip), %rax movl (%rax), %ecx movslq %ecx, %r13 movq %r14, %r12 cmpq %r13, %r14 movb %sil, -48(%rbp) ## 1-byte Spill movq %r14, -64(%rbp) ## 8-byte Spill jge LBB0_25 ## %bb.21: movq %r14, %r12 .p2align 4, 0x90 LBB0_22: ## =>This Inner Loop Header: Depth=1 movq _sorted_syms@GOTPCREL(%rip), %r14 movq (%r14), %rax movq (%rax,%r12,8), %rdi callq _bfd_asymbol_value movq %rax, %rbx movq (%r14), %rax movq (%rax,%r15,8), %rdi callq _bfd_asymbol_value movq _sorted_symcount@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movslq %ecx, %r13 cmpq %rax, %rbx jne LBB0_24 ## %bb.23: ## in Loop: Header=BB0_22 Depth=1 incq %r12 cmpq %r13, %r12 jl LBB0_22 LBB0_24: movzbl -48(%rbp), %esi ## 1-byte Folded Reload movq -64(%rbp), %r14 ## 8-byte Reload LBB0_25: testq %r12, %r12 jle LBB0_26 ## %bb.27: decq %r12 movq -72(%rbp), %rbx ## 8-byte Reload jmp LBB0_28 LBB0_30: ## in Loop: Header=BB0_28 Depth=1 movzbl -48(%rbp), %esi ## 1-byte Folded Reload .p2align 4, 0x90 LBB0_32: ## in Loop: Header=BB0_28 Depth=1 leaq -1(%r12), %rax incq %r12 movq %r13, %r14 cmpq $1, %r12 movq %rax, %r12 jbe LBB0_33 LBB0_28: ## =>This Inner Loop Header: Depth=1 movq _sorted_syms@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r12,8), %rdi movq -56(%rbp), %rax ## 8-byte Reload cmpq %rax, (%rdi) setne %al testb %sil, %al jne LBB0_32 ## %bb.29: ## in Loop: Header=BB0_28 Depth=1 movq %rbx, %rsi callq *(%rbx) testq %rax, %rax je LBB0_30 ## %bb.31: ## in Loop: Header=BB0_28 Depth=1 movq _sorted_symcount@GOTPCREL(%rip), %rax movslq (%rax), %rax cmpq %rax, %r13 movq %r13, %r14 cmoveq %r12, %r14 movq _sorted_syms@GOTPCREL(%rip), %r13 movq (%r13), %rax movq (%rax,%r12,8), %rdi callq _bfd_asymbol_value movq %rax, %rbx movq (%r13), %rax movq (%rax,%r14,8), %rdi callq _bfd_asymbol_value movq %r12, %r13 cmpq %rax, %rbx movq -72(%rbp), %rbx ## 8-byte Reload movzbl -48(%rbp), %esi ## 1-byte Folded Reload je LBB0_32 LBB0_33: movq _sorted_symcount@GOTPCREL(%rip), %rax movslq (%rax), %rcx cmpq %rcx, %r14 jne LBB0_47 ## %bb.34: movq %r14, %r13 movq -64(%rbp), %r14 ## 8-byte Reload jmp LBB0_35 LBB0_26: movq -72(%rbp), %rbx ## 8-byte Reload LBB0_35: movq _sorted_syms@GOTPCREL(%rip), %rax movq (%rax), %rdx cmpq %r13, %r14 jl LBB0_36 LBB0_41: movq %r15, %r14 jmp LBB0_42 .p2align 4, 0x90 LBB0_39: ## in Loop: Header=BB0_36 Depth=1 movq _sorted_symcount@GOTPCREL(%rip), %rax movl (%rax), %ecx movzbl -48(%rbp), %esi ## 1-byte Folded Reload LBB0_40: ## in Loop: Header=BB0_36 Depth=1 incq %r14 movslq %ecx, %rax cmpq %rax, %r14 jge LBB0_41 LBB0_36: ## =>This Inner Loop Header: Depth=1 movq (%rdx,%r14,8), %rdi movq -56(%rbp), %rax ## 8-byte Reload cmpq %rax, (%rdi) setne %al testb %sil, %al jne LBB0_40 ## %bb.37: ## in Loop: Header=BB0_36 Depth=1 movq %rbx, %rsi callq *(%rbx) movq _sorted_syms@GOTPCREL(%rip), %rcx movq (%rcx), %rdx testq %rax, %rax je LBB0_39 ## %bb.38: movzbl -48(%rbp), %esi ## 1-byte Folded Reload jmp LBB0_42 LBB0_47: movq _sorted_syms@GOTPCREL(%rip), %rax movq (%rax), %rdx LBB0_42: movq (%rdx,%r14,8), %rdi movq -56(%rbp), %rax ## 8-byte Reload cmpq %rax, (%rdi) setne %al testb %sil, %al jne LBB0_44 ## %bb.43: movq %rbx, %rsi callq *(%rbx) testq %rax, %rax je LBB0_44 LBB0_17: movq -88(%rbp), %rax ## 8-byte Reload testq %rax, %rax je LBB0_19 ## %bb.18: movq %r14, (%rax) LBB0_19: movq _sorted_syms@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r14,8), %rax jmp LBB0_45 LBB0_44: xorl %eax, %eax LBB0_45: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: movq %r14, %rdi movq -56(%rbp), %rbx ## 8-byte Reload movq %rbx, %rsi callq _bfd_get_section_vma movq %rax, %r13 movq %r14, %rdi movq %rbx, %rsi callq _bfd_section_size xorl %edx, %edx divl -76(%rbp) ## 4-byte Folded Reload ## kill: def $eax killed $eax def $rax addq %r13, %rax cmpq %r12, %rax setg %bl movb $1, %sil jmp LBB0_13 .cfi_endproc ## -- End function .comm _sorted_symcount,4,2 ## @sorted_symcount .comm _sorted_syms,8,3 ## @sorted_syms .comm _HAS_RELOC,4,2 ## @HAS_RELOC .no_dead_strip _find_symbol_for_address .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function find_symbol_for_address _find_symbol_for_address: ; @find_symbol_for_address .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x8, _sorted_symcount@GOTPAGE Lloh1: ldr x8, [x8, _sorted_symcount@GOTPAGEOFF] Lloh2: ldr w24, [x8] cmp w24, #1 b.lt LBB0_40 ; %bb.1: mov x20, x1 mov x22, x0 str x2, [sp, #8] ; 8-byte Folded Spill ldr x19, [x1, #8] ldp x21, x23, [x19, #8] mov x0, x23 bl _bfd_octets_per_byte str w0, [sp, #4] ; 4-byte Folded Spill mov x28, #0 ; =0x0 Lloh3: adrp x26, _sorted_syms@GOTPAGE Lloh4: ldr x26, [x26, _sorted_syms@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov x0, x25 bl _bfd_asymbol_value mov x28, x27 cmp x28, x24 b.gt LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 add x8, x28, x24 add x8, x8, x8, lsr #63 asr x27, x8, #1 ldr x8, [x26] ldr x25, [x8, x27, lsl #3] mov x0, x25 bl _bfd_asymbol_value cmp x0, x22 b.le LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x24, x27 cmp x28, x24 b.le LBB0_3 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 sub x28, x28, #1 LBB0_6: ; =>This Inner Loop Header: Depth=1 cmp x28, #0 b.gt LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x26] lsl x24, x28, #3 ldr x0, [x8, x24] bl _bfd_asymbol_value mov x25, x0 ldr x8, [x26] add x8, x8, x24 ldur x0, [x8, #-8] bl _bfd_asymbol_value cmp x25, x0 b.eq LBB0_5 ; %bb.8: ldr x8, [x19] cbz x8, LBB0_13 ; %bb.9: mov w23, #1 ; =0x1 LBB0_10: ldr x8, [x26] ldr x0, [x8, x28, lsl #3] ldr x8, [x0] cmp x8, x21 b.eq LBB0_16 ; %bb.11: tbz w23, #0, LBB0_16 ; %bb.12: mov w23, #1 ; =0x1 b LBB0_18 LBB0_13: ldr w8, [x23] Lloh5: adrp x9, _HAS_RELOC@GOTPAGE Lloh6: ldr x9, [x9, _HAS_RELOC@GOTPAGEOFF] Lloh7: ldr w9, [x9] orr w8, w9, w8 cbz w8, LBB0_15 ; %bb.14: mov x0, x23 mov x1, x21 bl _bfd_get_section_vma cmp x0, x22 b.le LBB0_46 LBB0_15: mov w23, #0 ; =0x0 ldr x8, [x26] ldr x0, [x8, x28, lsl #3] LBB0_16: ldr x8, [x20] mov x1, x20 blr x8 cbz x0, LBB0_18 ; %bb.17: mov x24, x28 b LBB0_42 LBB0_18: add x27, x28, #1 Lloh8: adrp x8, _sorted_symcount@GOTPAGE Lloh9: ldr x8, [x8, _sorted_symcount@GOTPAGEOFF] Lloh10: ldr w8, [x8] sxtw x24, w8 cmp x27, x24 b.ge LBB0_23 ; %bb.19: mov x19, x27 LBB0_20: ; =>This Inner Loop Header: Depth=1 ldr x8, [x26] ldr x0, [x8, x19, lsl #3] bl _bfd_asymbol_value mov x22, x0 ldr x8, [x26] ldr x0, [x8, x28, lsl #3] bl _bfd_asymbol_value Lloh11: adrp x8, _sorted_symcount@GOTPAGE Lloh12: ldr x8, [x8, _sorted_symcount@GOTPAGEOFF] Lloh13: ldr w8, [x8] sxtw x24, w8 cmp x22, x0 b.ne LBB0_22 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 add x19, x19, #1 cmp x19, x24 b.lt LBB0_20 LBB0_22: subs x19, x19, #1 b.ge LBB0_25 b LBB0_31 LBB0_23: ; kill: def $w8 killed $w8 killed $x8 def $x8 mov x19, x27 subs x19, x19, #1 b.ge LBB0_25 b LBB0_31 LBB0_24: ; in Loop: Header=BB0_25 Depth=1 add x8, x19, #1 sub x19, x19, #1 cmp x8, #1 b.ls LBB0_29 LBB0_25: ; =>This Inner Loop Header: Depth=1 ldr x8, [x26] ldr x0, [x8, x19, lsl #3] ldr x8, [x0] cmp x8, x21 cset w8, ne and w8, w8, w23 tbnz w8, #0, LBB0_24 ; %bb.26: ; in Loop: Header=BB0_25 Depth=1 ldr x8, [x20] mov x1, x20 blr x8 cbz x0, LBB0_24 ; %bb.27: ; in Loop: Header=BB0_25 Depth=1 Lloh14: adrp x8, _sorted_symcount@GOTPAGE Lloh15: ldr x8, [x8, _sorted_symcount@GOTPAGEOFF] Lloh16: ldrsw x8, [x8] cmp x24, x8 csel x25, x19, x24, eq ldr x8, [x26] ldr x0, [x8, x19, lsl #3] bl _bfd_asymbol_value mov x22, x0 ldr x8, [x26] ldr x0, [x8, x25, lsl #3] bl _bfd_asymbol_value mov x24, x19 cmp x22, x0 b.eq LBB0_24 ; %bb.28: mov x24, x25 LBB0_29: Lloh17: adrp x8, _sorted_symcount@GOTPAGE Lloh18: ldr x8, [x8, _sorted_symcount@GOTPAGEOFF] Lloh19: ldrsw x9, [x8] cmp x24, x9 b.ne LBB0_38 ; %bb.30: mov x8, x9 LBB0_31: ldr x9, [x26] cmp x27, x24 b.lt LBB0_35 LBB0_32: mov x24, x28 b LBB0_39 LBB0_33: ; in Loop: Header=BB0_35 Depth=1 Lloh20: adrp x8, _sorted_symcount@GOTPAGE Lloh21: ldr x8, [x8, _sorted_symcount@GOTPAGEOFF] Lloh22: ldr w8, [x8] LBB0_34: ; in Loop: Header=BB0_35 Depth=1 add x27, x27, #1 cmp x27, w8, sxtw b.ge LBB0_32 LBB0_35: ; =>This Inner Loop Header: Depth=1 ldr x0, [x9, x27, lsl #3] ldr x10, [x0] cmp x10, x21 cset w10, ne and w10, w10, w23 tbnz w10, #0, LBB0_34 ; %bb.36: ; in Loop: Header=BB0_35 Depth=1 ldr x8, [x20] mov x1, x20 blr x8 ldr x9, [x26] cbz x0, LBB0_33 ; %bb.37: mov x24, x27 b LBB0_39 LBB0_38: ldr x9, [x26] LBB0_39: ldr x0, [x9, x24, lsl #3] ldr x8, [x0] cmp x8, x21 cset w8, ne and w8, w8, w23 tbz w8, #0, LBB0_41 LBB0_40: mov x0, #0 ; =0x0 b LBB0_45 LBB0_41: ldr x8, [x20] mov x1, x20 blr x8 cbz x0, LBB0_45 LBB0_42: ldr x8, [sp, #8] ; 8-byte Folded Reload cbz x8, LBB0_44 ; %bb.43: str x24, [x8] LBB0_44: ldr x8, [x26] ldr x0, [x8, x24, lsl #3] LBB0_45: 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_46: mov x0, x23 mov x1, x21 bl _bfd_get_section_vma mov x25, x0 mov x0, x23 mov x1, x21 bl _bfd_section_size ldr w8, [sp, #4] ; 4-byte Folded Reload udiv w8, w0, w8 add x8, x25, x8 cmp x8, x22 cset w23, gt b LBB0_10 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .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 _sorted_symcount,4,2 ; @sorted_symcount .comm _sorted_syms,8,3 ; @sorted_syms .comm _HAS_RELOC,4,2 ; @HAS_RELOC .no_dead_strip _find_symbol_for_address .subsections_via_symbols
assembly_file_103681.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ecore_put_cam_offset_mac _ecore_put_cam_offset_mac: ## @ecore_put_cam_offset_mac .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rdi movq (%rdi), %rax popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _ecore_put_cam_offset_mac .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ecore_put_cam_offset_mac _ecore_put_cam_offset_mac: ; @ecore_put_cam_offset_mac .cfi_startproc ; %bb.0: ldr x0, [x0] ldr x2, [x0] br x2 .cfi_endproc ; -- End function .no_dead_strip _ecore_put_cam_offset_mac .subsections_via_symbols
AnghaBench/freebsd/sys/dev/bxe/extr_ecore_sp.c_ecore_put_cam_offset_mac.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 leaq L_.str(%rip), %rdi xorl %ebx, %ebx leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -44(%rbp) jle LBB0_3 ## %bb.1: leaq L_.str.1(%rip), %r14 leaq -52(%rbp), %r15 leaq -48(%rbp), %r12 xorl %r13d, %r13d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %r15, %rsi movq %r12, %rdx xorl %eax, %eax callq _scanf movl -48(%rbp), %eax cmpl %eax, -52(%rbp) movl $0, %ecx cmovlel %ecx, %eax addl %eax, %ebx incl %r13d cmpl -44(%rbp), %r13d jl LBB0_2 LBB0_3: leaq L_.str.2(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "%d %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, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 add x8, sp, #28 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldr w8, [sp, #28] cmp w8, #1 b.lt LBB0_3 ; %bb.1: mov w21, #0 mov w20, #0 add x22, sp, #20 add x23, sp, #24 Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 stp x23, x22, [sp] mov x0, x19 bl _scanf ldp w9, w8, [sp, #20] cmp w8, w9 csel w8, w9, wzr, gt add w20, w8, w20 add w21, w21, #1 ldr w8, [sp, #28] cmp w21, w8 b.lt LBB0_2 b LBB0_4 LBB0_3: mov w20, #0 LBB0_4: str x20, [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, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "%d %d" l_.str.2: ; @.str.2 .asciz "%d\n" .subsections_via_symbols
the_stack_data/167330739.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fst_rx_config _fst_rx_config: ## @fst_rx_config .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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 movslq (%rdi), %r13 movq %rdi, -48(%rbp) ## 8-byte Spill movq 16(%rdi), %r12 movq %r12, %rdi callq _spin_lock_irqsave movq _NUM_RX_BUFFER@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_3 ## %bb.1: xorl %r14d, %r14d xorl %ecx, %ecx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %rcx, -56(%rbp) ## 8-byte Spill movq _rxBuffer@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r13,8), %rax movq (%rax,%rcx,8), %rax movl (%rax), %edi callq _BUF_OFFSET movl %eax, %ebx movq _rxDescrRing@GOTPCREL(%rip), %r15 movq (%r15), %rax movq (%rax,%r13,8), %rax movl 16(%rax,%r14), %esi movq %r12, %rdi movl %ebx, %edx callq _FST_WRW movq (%r15), %rax movq (%rax,%r13,8), %rax movl 12(%rax,%r14), %esi shrl $16, %ebx movq %r12, %rdi movl %ebx, %edx callq _FST_WRB movq (%r15), %rax movq (%rax,%r13,8), %rax movl 8(%rax,%r14), %ebx movq _LEN_RX_BUFFER@GOTPCREL(%rip), %rax movl (%rax), %edi callq _cnv_bcnt movq %r12, %rdi movl %ebx, %esi movl %eax, %edx callq _FST_WRW movq (%r15), %rax movq (%rax,%r13,8), %rax movl 4(%rax,%r14), %esi movq _LEN_RX_BUFFER@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rdi callq _FST_WRW movq (%r15), %rax movq (%rax,%r13,8), %rax movl (%rax,%r14), %esi movq _DMA_OWN@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rdi callq _FST_WRB movq -56(%rbp), %rcx ## 8-byte Reload movq _NUM_RX_BUFFER@GOTPCREL(%rip), %rax incq %rcx movslq (%rax), %rax addq $20, %r14 cmpq %rax, %rcx jl LBB0_2 LBB0_3: movq -48(%rbp), %rax ## 8-byte Reload movq $0, 8(%rax) movq %r12, %rdi addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _spin_unlock_irqrestore ## TAILCALL .cfi_endproc ## -- End function .comm _NUM_RX_BUFFER,4,2 ## @NUM_RX_BUFFER .comm _rxBuffer,8,3 ## @rxBuffer .comm _rxDescrRing,8,3 ## @rxDescrRing .comm _LEN_RX_BUFFER,4,2 ## @LEN_RX_BUFFER .comm _DMA_OWN,4,2 ## @DMA_OWN .no_dead_strip _fst_rx_config .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fst_rx_config _fst_rx_config: ; @fst_rx_config .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 ldrsw x19, [x0] str x0, [sp, #8] ; 8-byte Folded Spill ldr x20, [x0, #16] mov x0, x20 bl _spin_lock_irqsave Lloh0: adrp x22, _NUM_RX_BUFFER@GOTPAGE Lloh1: ldr x22, [x22, _NUM_RX_BUFFER@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_3 ; %bb.1: mov x23, #0 mov x24, #0 Lloh2: adrp x25, _rxBuffer@GOTPAGE Lloh3: ldr x25, [x25, _rxBuffer@GOTPAGEOFF] lsl x26, x19, #3 Lloh4: adrp x27, _rxDescrRing@GOTPAGE Lloh5: ldr x27, [x27, _rxDescrRing@GOTPAGEOFF] Lloh6: adrp x28, _LEN_RX_BUFFER@GOTPAGE Lloh7: ldr x28, [x28, _LEN_RX_BUFFER@GOTPAGEOFF] Lloh8: adrp x19, _DMA_OWN@GOTPAGE Lloh9: ldr x19, [x19, _DMA_OWN@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x25] ldr x8, [x8, x26] ldr x8, [x8, x24, lsl #3] ldr w0, [x8] bl _BUF_OFFSET mov x21, x0 ldr x8, [x27] ldr x8, [x8, x26] add x8, x8, x23 ldr w1, [x8, #16] mov x0, x20 mov x2, x21 bl _FST_WRW ldr x8, [x27] ldr x8, [x8, x26] add x8, x8, x23 ldr w1, [x8, #12] lsr w2, w21, #16 mov x0, x20 bl _FST_WRB ldr x8, [x27] ldr x8, [x8, x26] add x8, x8, x23 ldr w21, [x8, #8] ldr w0, [x28] bl _cnv_bcnt mov x2, x0 mov x0, x20 mov x1, x21 bl _FST_WRW ldr x8, [x27] ldr x8, [x8, x26] add x8, x8, x23 ldr w1, [x8, #4] ldr w2, [x28] mov x0, x20 bl _FST_WRW ldr x8, [x27] ldr x8, [x8, x26] ldr w1, [x8, x23] ldr w2, [x19] mov x0, x20 bl _FST_WRB add x24, x24, #1 ldrsw x8, [x22] add x23, x23, #20 cmp x24, x8 b.lt LBB0_2 LBB0_3: ldr x8, [sp, #8] ; 8-byte Folded Reload str xzr, [x8, #8] mov x0, x20 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 b _spin_unlock_irqrestore .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _NUM_RX_BUFFER,4,2 ; @NUM_RX_BUFFER .comm _rxBuffer,8,3 ; @rxBuffer .comm _rxDescrRing,8,3 ; @rxDescrRing .comm _LEN_RX_BUFFER,4,2 ; @LEN_RX_BUFFER .comm _DMA_OWN,4,2 ; @DMA_OWN .no_dead_strip _fst_rx_config .subsections_via_symbols
AnghaBench/linux/drivers/net/wan/extr_farsync.c_fst_rx_config.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ebml_read_id ## -- Begin function ebml_read_id .p2align 4, 0x90 _ebml_read_id: ## @ebml_read_id .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _stream_read_char movq _EBML_ID_INVALID@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _EBML_ID_INVALID,4,2 ## @EBML_ID_INVALID .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ebml_read_id ; -- Begin function ebml_read_id .p2align 2 _ebml_read_id: ; @ebml_read_id .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _stream_read_char Lloh0: adrp x8, _EBML_ID_INVALID@GOTPAGE Lloh1: ldr x8, [x8, _EBML_ID_INVALID@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 _EBML_ID_INVALID,4,2 ; @EBML_ID_INVALID .subsections_via_symbols
assembly_file_106850.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cs4281_pci_probe _cs4281_pci_probe: ## @cs4281_pci_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %r14d callq _pci_get_devid movl %eax, %ebx cmpl $128, %eax jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi movl %r14d, %edi callq _device_set_desc LBB0_2: cmpl $128, %ebx jne LBB0_3 ## %bb.4: movq _BUS_PROBE_DEFAULT@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_3: movq _ENXIO@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Crystal Semiconductor CS4281" .comm _BUS_PROBE_DEFAULT,4,2 ## @BUS_PROBE_DEFAULT .comm _ENXIO,4,2 ## @ENXIO .no_dead_strip _cs4281_pci_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cs4281_pci_probe _cs4281_pci_probe: ; @cs4281_pci_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 x20, x0 bl _pci_get_devid mov x19, x0 cmp w0, #128 b.ne LBB0_2 ; %bb.1: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _device_set_desc LBB0_2: Lloh2: adrp x8, _BUS_PROBE_DEFAULT@GOTPAGE Lloh3: ldr x8, [x8, _BUS_PROBE_DEFAULT@GOTPAGEOFF] Lloh4: adrp x9, _ENXIO@GOTPAGE Lloh5: ldr x9, [x9, _ENXIO@GOTPAGEOFF] cmp w19, #128 csel x8, x8, x9, eq 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 Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Crystal Semiconductor CS4281" .comm _BUS_PROBE_DEFAULT,4,2 ; @BUS_PROBE_DEFAULT .comm _ENXIO,4,2 ; @ENXIO .no_dead_strip _cs4281_pci_probe .subsections_via_symbols
AnghaBench/freebsd/sys/dev/sound/pci/extr_cs4281.c_cs4281_pci_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _FILE_GetSize ## -- Begin function FILE_GetSize .p2align 4, 0x90 _FILE_GetSize: ## @FILE_GetSize .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $144, %rsp testq %rdi, %rdi je LBB0_3 ## %bb.1: callq _fileno leaq -144(%rbp), %rsi movl %eax, %edi callq _fstat$INODE64 testl %eax, %eax je LBB0_2 LBB0_3: xorl %eax, %eax jmp LBB0_4 LBB0_2: movl -48(%rbp), %eax LBB0_4: addq $144, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _FILE_Lock ## -- Begin function FILE_Lock .p2align 4, 0x90 _FILE_Lock: ## @FILE_Lock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movl $1, %eax movq %rdi, %rsi orq %r15, %rsi je LBB1_2 ## %bb.1: movl %r9d, %r14d movq %rdi, %rbx xorl %eax, %eax cmpl $2, %edx sete %al testl %edx, %edx leal 1(%rax,%rax), %eax movl $2, %edx cmovnel %eax, %edx movw %dx, -28(%rbp) movw $0, -26(%rbp) movq %rcx, -48(%rbp) movq %r8, -40(%rbp) callq _getpid testq %r15, %r15 movl %eax, -32(%rbp) cmovneq %r15, %rbx movq %rbx, %rdi callq _fileno cmpl $1, %r14d movl $9, %esi sbbl $0, %esi leaq -48(%rbp), %rdx movl %eax, %edi xorl %eax, %eax callq _fcntl movl %eax, %ecx xorl %eax, %eax cmpl $-1, %ecx setne %al LBB1_2: addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _FILE_set_buffered ## -- Begin function FILE_set_buffered .p2align 4, 0x90 _FILE_set_buffered: ## @FILE_set_buffered .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rsi, %r15 movq %rdi, %rbx testq %rdi, %rdi je LBB2_2 ## %bb.1: xorl %edx, %edx testl %r14d, %r14d sete %dl addl %edx, %edx movq %rbx, %rdi xorl %esi, %esi xorl %ecx, %ecx callq _setvbuf LBB2_2: testq %r15, %r15 je LBB2_4 ## %bb.3: cmpq %rbx, %r15 je LBB2_4 ## %bb.5: xorl %edx, %edx testl %r14d, %r14d sete %dl addl %edx, %edx movq %r15, %rdi xorl %esi, %esi xorl %ecx, %ecx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _setvbuf ## TAILCALL LBB2_4: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _FILE_FileExists ## -- Begin function FILE_FileExists .p2align 4, 0x90 _FILE_FileExists: ## @FILE_FileExists .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 $144, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 xorl %ebx, %ebx xorl %esi, %esi callq _access testl %eax, %eax jne LBB3_2 ## %bb.1: leaq -160(%rbp), %rsi movq %r14, %rdi callq _stat$INODE64 movzwl -156(%rbp), %eax andl $61440, %eax ## imm = 0xF000 cmpl $16384, %eax ## imm = 0x4000 movl $64, %eax movl $1, %ebx cmovel %eax, %ebx LBB3_2: movl %ebx, %eax addq $144, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _FILE_FileGetSize ## -- Begin function FILE_FileGetSize .p2align 4, 0x90 _FILE_FileGetSize: ## @FILE_FileGetSize .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 $152, %rsp .cfi_offset %rbx, -24 movq %rsi, %rbx leaq -152(%rbp), %rsi callq _stat$INODE64 movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx jne LBB4_2 ## %bb.1: movl -56(%rbp), %eax movl %eax, (%rbx) movl $1, %eax LBB4_2: addq $152, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _FILE_FileGetStats ## -- Begin function FILE_FileGetStats .p2align 4, 0x90 _FILE_FileGetStats: ## @FILE_FileGetStats .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 $152, %rsp .cfi_offset %rbx, -24 movq %rsi, %rbx leaq -152(%rbp), %rsi callq _stat$INODE64 movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx jne LBB5_2 ## %bb.1: movq -56(%rbp), %rax movq %rax, 8(%rbx) movzbl -147(%rbp), %eax andl $64, %eax movl %eax, (%rbx) movq -120(%rbp), %rax movq %rax, 16(%rbx) movq $0, 32(%rbx) movq -104(%rbp), %rax movq %rax, 24(%rbx) movl $1, %eax LBB5_2: addq $152, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _FILE_FileFixCase ## -- Begin function FILE_FileFixCase .p2align 4, 0x90 _FILE_FileFixCase: ## @FILE_FileFixCase .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $92, %esi movl $47, %edx popq %rbp jmp ___ecereNameSpace__ecere__sys__ChangeCh ## TAILCALL .cfi_endproc ## -- End function .globl _FILE_FileOpen ## -- Begin function FILE_FileOpen .p2align 4, 0x90 _FILE_FileOpen: ## @FILE_FileOpen .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 ## kill: def $esi killed $esi def $rsi decl %esi cmpl $5, %esi ja LBB7_11 ## %bb.1: movq %rcx, %rbx movq %rdx, %r14 leaq LJTI7_0(%rip), %rax movslq (%rax,%rsi,4), %rcx addq %rax, %rcx jmpq *%rcx LBB7_2: leaq L_.str(%rip), %rsi callq _fopen jmp LBB7_10 LBB7_3: leaq L_.str.1(%rip), %rsi jmp LBB7_4 LBB7_5: leaq L_.str.2(%rip), %rsi LBB7_4: callq _fopen movq %rax, (%rbx) jmp LBB7_11 LBB7_6: leaq L_.str.3(%rip), %rsi jmp LBB7_9 LBB7_7: leaq L_.str.4(%rip), %rsi jmp LBB7_9 LBB7_8: leaq L_.str.5(%rip), %rsi LBB7_9: callq _fopen movq %rax, (%rbx) LBB7_10: movq %rax, (%r14) LBB7_11: popq %rbx popq %r14 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L7_0_set_2, LBB7_2-LJTI7_0 .set L7_0_set_3, LBB7_3-LJTI7_0 .set L7_0_set_5, LBB7_5-LJTI7_0 .set L7_0_set_6, LBB7_6-LJTI7_0 .set L7_0_set_7, LBB7_7-LJTI7_0 .set L7_0_set_8, LBB7_8-LJTI7_0 LJTI7_0: .long L7_0_set_2 .long L7_0_set_3 .long L7_0_set_5 .long L7_0_set_6 .long L7_0_set_7 .long L7_0_set_8 .end_data_region ## -- End function .globl _FILE_Seek64 ## -- Begin function FILE_Seek64 .p2align 4, 0x90 _FILE_Seek64: ## @FILE_Seek64 .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 _fseek ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "rb" L_.str.1: ## @.str.1 .asciz "wb" L_.str.2: ## @.str.2 .asciz "ab" L_.str.3: ## @.str.3 .asciz "r+b" L_.str.4: ## @.str.4 .asciz "w+b" L_.str.5: ## @.str.5 .asciz "a+b" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _FILE_GetSize ; -- Begin function FILE_GetSize .p2align 2 _FILE_GetSize: ; @FILE_GetSize .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 cbz x0, LBB0_2 ; %bb.1: bl _fileno mov x1, sp bl _fstat cbz w0, LBB0_3 LBB0_2: mov w0, #0 b LBB0_4 LBB0_3: ldr w0, [sp, #96] LBB0_4: ldp x29, x30, [sp, #144] ; 16-byte Folded Reload add sp, sp, #160 ret .cfi_endproc ; -- End function .globl _FILE_Lock ; -- Begin function FILE_Lock .p2align 2 _FILE_Lock: ; @FILE_Lock .cfi_startproc ; %bb.0: orr x8, x0, x1 cbz x8, LBB1_2 ; %bb.1: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x5 mov x20, x1 mov x21, x0 cmp w2, #2 mov w8, #3 csinc w8, w8, wzr, eq mov w9, #2 cmp w2, #0 csel w8, w9, w8, eq strh w8, [sp, #28] strh wzr, [sp, #30] stp x3, x4, [sp, #8] bl _getpid str w0, [sp, #24] cmp x20, #0 csel x0, x20, x21, ne bl _fileno cmp w19, #0 mov w8, #8 cinc w1, w8, ne add x8, sp, #8 str x8, [sp] bl _fcntl cmn w0, #1 cset w0, ne ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret LBB1_2: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 .cfi_same_value w21 .cfi_same_value w22 mov w0, #1 ret .cfi_endproc ; -- End function .globl _FILE_set_buffered ; -- Begin function FILE_set_buffered .p2align 2 _FILE_set_buffered: ; @FILE_set_buffered .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 mov x21, x0 cbz x0, LBB2_2 ; %bb.1: cmp w20, #0 cset w8, eq lsl w2, w8, #1 mov x0, x21 mov x1, #0 mov x3, #0 bl _setvbuf LBB2_2: cbz x19, LBB2_5 ; %bb.3: cmp x19, x21 b.eq LBB2_5 ; %bb.4: cmp w20, #0 cset w8, eq lsl w2, w8, #1 mov x0, x19 mov x1, #0 mov x3, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _setvbuf LBB2_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _FILE_FileExists ; -- Begin function FILE_FileExists .p2align 2 _FILE_FileExists: ; @FILE_FileExists .cfi_startproc ; %bb.0: sub sp, sp, #176 .cfi_def_cfa_offset 176 stp x20, x19, [sp, #144] ; 16-byte Folded Spill stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w1, #0 bl _access mov x8, x0 mov w0, #0 cbnz w8, LBB3_2 ; %bb.1: mov x1, sp mov x0, x19 bl _stat ldrh w8, [sp, #4] and w8, w8, #0xf000 cmp w8, #4, lsl #12 ; =16384 mov w8, #64 csinc w0, w8, wzr, eq LBB3_2: ldp x29, x30, [sp, #160] ; 16-byte Folded Reload ldp x20, x19, [sp, #144] ; 16-byte Folded Reload add sp, sp, #176 ret .cfi_endproc ; -- End function .globl _FILE_FileGetSize ; -- Begin function FILE_FileGetSize .p2align 2 _FILE_FileGetSize: ; @FILE_FileGetSize .cfi_startproc ; %bb.0: sub sp, sp, #176 .cfi_def_cfa_offset 176 stp x20, x19, [sp, #144] ; 16-byte Folded Spill stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .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 x1, sp bl _stat cbz w0, LBB4_2 ; %bb.1: mov w0, #0 b LBB4_3 LBB4_2: ldr x8, [sp, #96] str w8, [x19] mov w0, #1 LBB4_3: ldp x29, x30, [sp, #160] ; 16-byte Folded Reload ldp x20, x19, [sp, #144] ; 16-byte Folded Reload add sp, sp, #176 ret .cfi_endproc ; -- End function .globl _FILE_FileGetStats ; -- Begin function FILE_FileGetStats .p2align 2 _FILE_FileGetStats: ; @FILE_FileGetStats .cfi_startproc ; %bb.0: sub sp, sp, #176 .cfi_def_cfa_offset 176 stp x20, x19, [sp, #144] ; 16-byte Folded Spill stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .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 x1, sp bl _stat cbz w0, LBB5_2 ; %bb.1: mov w0, #0 b LBB5_3 LBB5_2: ldr x8, [sp, #96] ldrb w9, [sp, #5] and w9, w9, #0x40 str w9, [x19] ldr x9, [sp, #32] ldr x10, [sp, #48] stp x8, x9, [x19, #8] stp x10, xzr, [x19, #24] mov w0, #1 LBB5_3: ldp x29, x30, [sp, #160] ; 16-byte Folded Reload ldp x20, x19, [sp, #144] ; 16-byte Folded Reload add sp, sp, #176 ret .cfi_endproc ; -- End function .globl _FILE_FileFixCase ; -- Begin function FILE_FileFixCase .p2align 2 _FILE_FileFixCase: ; @FILE_FileFixCase .cfi_startproc ; %bb.0: mov w1, #92 mov w2, #47 b ___ecereNameSpace__ecere__sys__ChangeCh .cfi_endproc ; -- End function .globl _FILE_FileOpen ; -- Begin function FILE_FileOpen .p2align 2 _FILE_FileOpen: ; @FILE_FileOpen .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 sub w8, w1, #1 cmp w8, #5 b.hi LBB7_11 ; %bb.1: mov x19, x3 mov x20, x2 Lloh0: adrp x9, lJTI7_0@PAGE Lloh1: add x9, x9, lJTI7_0@PAGEOFF adr x10, LBB7_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB7_2: Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF bl _fopen b LBB7_10 LBB7_3: Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF b LBB7_5 LBB7_4: Lloh6: adrp x1, l_.str.2@PAGE Lloh7: add x1, x1, l_.str.2@PAGEOFF LBB7_5: bl _fopen str x0, [x19] b LBB7_11 LBB7_6: Lloh8: adrp x1, l_.str.3@PAGE Lloh9: add x1, x1, l_.str.3@PAGEOFF b LBB7_9 LBB7_7: Lloh10: adrp x1, l_.str.4@PAGE Lloh11: add x1, x1, l_.str.4@PAGEOFF b LBB7_9 LBB7_8: Lloh12: adrp x1, l_.str.5@PAGE Lloh13: add x1, x1, l_.str.5@PAGEOFF LBB7_9: bl _fopen str x0, [x19] LBB7_10: str x0, [x20] LBB7_11: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc .section __TEXT,__const lJTI7_0: .byte (LBB7_2-LBB7_2)>>2 .byte (LBB7_3-LBB7_2)>>2 .byte (LBB7_4-LBB7_2)>>2 .byte (LBB7_6-LBB7_2)>>2 .byte (LBB7_7-LBB7_2)>>2 .byte (LBB7_8-LBB7_2)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _FILE_Seek64 ; -- Begin function FILE_Seek64 .p2align 2 _FILE_Seek64: ; @FILE_Seek64 .cfi_startproc ; %bb.0: b _fseek .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "rb" l_.str.1: ; @.str.1 .asciz "wb" l_.str.2: ; @.str.2 .asciz "ab" l_.str.3: ; @.str.3 .asciz "r+b" l_.str.4: ; @.str.4 .asciz "w+b" l_.str.5: ; @.str.5 .asciz "a+b" .subsections_via_symbols
the_stack_data/79230.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function e1000_init_nvm_params_80003es2lan _e1000_init_nvm_params_80003es2lan: ## @e1000_init_nvm_params_80003es2lan .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 _E1000_EECD@GOTPCREL(%rip), %rax movl (%rax), %esi callq _E1000_READ_REG movl %eax, %r14d leaq L_.str(%rip), %rdi callq _DEBUGFUNC movabsq $4294967304, %rax ## imm = 0x100000008 movq %rax, (%rbx) movl 8(%rbx), %eax cmpl $128, %eax je LBB0_3 ## %bb.1: cmpl $129, %eax jne LBB0_4 ## %bb.2: movl $32, 12(%rbx) movl $16, %eax jmp LBB0_5 LBB0_3: movl $8, 12(%rbx) movl $8, %eax jmp LBB0_5 LBB0_4: movq _E1000_EECD_ADDR_BITS@GOTPCREL(%rip), %rax xorl %ecx, %ecx movl (%rax), %eax andl %r14d, %eax setne %cl movl $8, %eax movl $32, %edx cmovel %eax, %edx movl %edx, 12(%rbx) leal 8(,%rcx,8), %eax LBB0_5: movl %eax, 16(%rbx) movq _e1000_nvm_eeprom_spi@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 52(%rbx) movq _E1000_EECD_SIZE_EX_MASK@GOTPCREL(%rip), %rax andl (%rax), %r14d movq _E1000_EECD_SIZE_EX_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl sarl %cl, %r14d movq _NVM_WORD_SIZE_BASE_SHIFT@GOTPCREL(%rip), %rax addl (%rax), %r14d cmpl $14, %r14d movl $14, %ecx cmovll %r14d, %ecx movl $1, %eax ## kill: def $cl killed $cl killed $ecx shll %cl, %eax movl %eax, 20(%rbx) movq _e1000_acquire_nvm_80003es2lan@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 48(%rbx) movq _e1000_read_nvm_eerd@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 44(%rbx) movq _e1000_release_nvm_80003es2lan@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 40(%rbx) movq _e1000_update_nvm_checksum_generic@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 36(%rbx) movq _e1000_valid_led_default_generic@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 32(%rbx) movq _e1000_validate_nvm_checksum_generic@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 28(%rbx) movq _e1000_write_nvm_80003es2lan@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%rbx) movq _E1000_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _E1000_EECD,4,2 ## @E1000_EECD .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "e1000_init_nvm_params_80003es2lan" .comm _E1000_EECD_ADDR_BITS,4,2 ## @E1000_EECD_ADDR_BITS .comm _e1000_nvm_eeprom_spi,4,2 ## @e1000_nvm_eeprom_spi .comm _E1000_EECD_SIZE_EX_MASK,4,2 ## @E1000_EECD_SIZE_EX_MASK .comm _E1000_EECD_SIZE_EX_SHIFT,4,2 ## @E1000_EECD_SIZE_EX_SHIFT .comm _NVM_WORD_SIZE_BASE_SHIFT,8,3 ## @NVM_WORD_SIZE_BASE_SHIFT .comm _e1000_acquire_nvm_80003es2lan,4,2 ## @e1000_acquire_nvm_80003es2lan .comm _e1000_read_nvm_eerd,4,2 ## @e1000_read_nvm_eerd .comm _e1000_release_nvm_80003es2lan,4,2 ## @e1000_release_nvm_80003es2lan .comm _e1000_update_nvm_checksum_generic,4,2 ## @e1000_update_nvm_checksum_generic .comm _e1000_valid_led_default_generic,4,2 ## @e1000_valid_led_default_generic .comm _e1000_validate_nvm_checksum_generic,4,2 ## @e1000_validate_nvm_checksum_generic .comm _e1000_write_nvm_80003es2lan,4,2 ## @e1000_write_nvm_80003es2lan .comm _E1000_SUCCESS,4,2 ## @E1000_SUCCESS .no_dead_strip _e1000_init_nvm_params_80003es2lan .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function e1000_init_nvm_params_80003es2lan lCPI0_0: .long 8 ; 0x8 .long 1 ; 0x1 .section __TEXT,__text,regular,pure_instructions .p2align 2 _e1000_init_nvm_params_80003es2lan: ; @e1000_init_nvm_params_80003es2lan .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _E1000_EECD@GOTPAGE Lloh1: ldr x8, [x8, _E1000_EECD@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _E1000_READ_REG mov x20, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _DEBUGFUNC Lloh5: adrp x8, lCPI0_0@PAGE Lloh6: ldr d0, [x8, lCPI0_0@PAGEOFF] str d0, [x19] ldr w8, [x19, #8] cmp w8, #128 b.eq LBB0_3 ; %bb.1: cmp w8, #129 b.ne LBB0_4 ; %bb.2: mov w8, #32 str w8, [x19, #12] mov w8, #16 b LBB0_5 LBB0_3: mov w8, #8 str w8, [x19, #12] b LBB0_5 LBB0_4: Lloh7: adrp x8, _E1000_EECD_ADDR_BITS@GOTPAGE Lloh8: ldr x8, [x8, _E1000_EECD_ADDR_BITS@GOTPAGEOFF] Lloh9: ldr w8, [x8] tst w8, w20 mov w8, #32 mov w9, #8 csel w8, w9, w8, eq str w8, [x19, #12] mov w8, #16 csel w8, w9, w8, eq LBB0_5: Lloh10: adrp x9, _E1000_EECD_SIZE_EX_MASK@GOTPAGE Lloh11: ldr x9, [x9, _E1000_EECD_SIZE_EX_MASK@GOTPAGEOFF] Lloh12: ldr w9, [x9] and w9, w9, w20 Lloh13: adrp x10, _E1000_EECD_SIZE_EX_SHIFT@GOTPAGE Lloh14: ldr x10, [x10, _E1000_EECD_SIZE_EX_SHIFT@GOTPAGEOFF] Lloh15: ldr w10, [x10] asr w9, w9, w10 Lloh16: adrp x10, _NVM_WORD_SIZE_BASE_SHIFT@GOTPAGE Lloh17: ldr x10, [x10, _NVM_WORD_SIZE_BASE_SHIFT@GOTPAGEOFF] Lloh18: ldr w10, [x10] add w9, w9, w10 mov w10, #14 cmp w9, #14 csel w9, w9, w10, lt mov w10, #1 lsl w9, w10, w9 Lloh19: adrp x10, _e1000_nvm_eeprom_spi@GOTPAGE Lloh20: ldr x10, [x10, _e1000_nvm_eeprom_spi@GOTPAGEOFF] Lloh21: ldr w10, [x10] stp w8, w9, [x19, #16] Lloh22: adrp x8, _e1000_acquire_nvm_80003es2lan@GOTPAGE Lloh23: ldr x8, [x8, _e1000_acquire_nvm_80003es2lan@GOTPAGEOFF] Lloh24: ldr w8, [x8] stp w8, w10, [x19, #48] Lloh25: adrp x8, _e1000_read_nvm_eerd@GOTPAGE Lloh26: ldr x8, [x8, _e1000_read_nvm_eerd@GOTPAGEOFF] Lloh27: adrp x9, _e1000_release_nvm_80003es2lan@GOTPAGE Lloh28: ldr x9, [x9, _e1000_release_nvm_80003es2lan@GOTPAGEOFF] Lloh29: ldr w8, [x8] Lloh30: ldr w9, [x9] stp w9, w8, [x19, #40] Lloh31: adrp x8, _e1000_update_nvm_checksum_generic@GOTPAGE Lloh32: ldr x8, [x8, _e1000_update_nvm_checksum_generic@GOTPAGEOFF] Lloh33: ldr w8, [x8] Lloh34: adrp x9, _e1000_valid_led_default_generic@GOTPAGE Lloh35: ldr x9, [x9, _e1000_valid_led_default_generic@GOTPAGEOFF] Lloh36: ldr w9, [x9] stp w9, w8, [x19, #32] Lloh37: adrp x8, _e1000_validate_nvm_checksum_generic@GOTPAGE Lloh38: ldr x8, [x8, _e1000_validate_nvm_checksum_generic@GOTPAGEOFF] Lloh39: ldr w8, [x8] Lloh40: adrp x9, _e1000_write_nvm_80003es2lan@GOTPAGE Lloh41: ldr x9, [x9, _e1000_write_nvm_80003es2lan@GOTPAGEOFF] Lloh42: ldr w9, [x9] stp w9, w8, [x19, #24] Lloh43: adrp x8, _E1000_SUCCESS@GOTPAGE Lloh44: ldr x8, [x8, _E1000_SUCCESS@GOTPAGEOFF] Lloh45: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdr Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh29 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _E1000_EECD,4,2 ; @E1000_EECD .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "e1000_init_nvm_params_80003es2lan" .comm _E1000_EECD_ADDR_BITS,4,2 ; @E1000_EECD_ADDR_BITS .comm _e1000_nvm_eeprom_spi,4,2 ; @e1000_nvm_eeprom_spi .comm _E1000_EECD_SIZE_EX_MASK,4,2 ; @E1000_EECD_SIZE_EX_MASK .comm _E1000_EECD_SIZE_EX_SHIFT,4,2 ; @E1000_EECD_SIZE_EX_SHIFT .comm _NVM_WORD_SIZE_BASE_SHIFT,8,3 ; @NVM_WORD_SIZE_BASE_SHIFT .comm _e1000_acquire_nvm_80003es2lan,4,2 ; @e1000_acquire_nvm_80003es2lan .comm _e1000_read_nvm_eerd,4,2 ; @e1000_read_nvm_eerd .comm _e1000_release_nvm_80003es2lan,4,2 ; @e1000_release_nvm_80003es2lan .comm _e1000_update_nvm_checksum_generic,4,2 ; @e1000_update_nvm_checksum_generic .comm _e1000_valid_led_default_generic,4,2 ; @e1000_valid_led_default_generic .comm _e1000_validate_nvm_checksum_generic,4,2 ; @e1000_validate_nvm_checksum_generic .comm _e1000_write_nvm_80003es2lan,4,2 ; @e1000_write_nvm_80003es2lan .comm _E1000_SUCCESS,4,2 ; @E1000_SUCCESS .no_dead_strip _e1000_init_nvm_params_80003es2lan .subsections_via_symbols
AnghaBench/freebsd/sys/dev/e1000/extr_e1000_80003es2lan.c_e1000_init_nvm_params_80003es2lan.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function alx_tx_timeout _alx_tx_timeout: ## @alx_tx_timeout .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _netdev_priv movq %rax, %rdi popq %rbp jmp _alx_schedule_reset ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _alx_tx_timeout .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function alx_tx_timeout _alx_tx_timeout: ; @alx_tx_timeout .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 _netdev_priv ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _alx_schedule_reset .cfi_endproc ; -- End function .no_dead_strip _alx_tx_timeout .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_main.c_alx_tx_timeout.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .comm _abc,8,2 ## @abc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .comm _abc,8,2 ; @abc .subsections_via_symbols
the_stack_data/150579.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 leaq L_.str(%rip), %rdi movl $8, %esi movl $40320, %edx ## imm = 0x9D80 xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi movl $8, %esi movl $40320, %edx ## imm = 0x9D80 xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function factorialLoop LCPI1_0: .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 LCPI1_1: .long 1 ## 0x1 .long 2 ## 0x2 .long 3 ## 0x3 .long 4 ## 0x4 LCPI1_2: .long 4 ## 0x4 .long 4 ## 0x4 .long 4 ## 0x4 .long 4 ## 0x4 LCPI1_3: .long 8 ## 0x8 .long 8 ## 0x8 .long 8 ## 0x8 .long 8 ## 0x8 LCPI1_4: .long 12 ## 0xc .long 12 ## 0xc .long 12 ## 0xc .long 12 ## 0xc LCPI1_5: .long 16 ## 0x10 .long 16 ## 0x10 .long 16 ## 0x10 .long 16 ## 0x10 LCPI1_6: .long 20 ## 0x14 .long 20 ## 0x14 .long 20 ## 0x14 .long 20 ## 0x14 LCPI1_7: .long 24 ## 0x18 .long 24 ## 0x18 .long 24 ## 0x18 .long 24 ## 0x18 LCPI1_8: .long 28 ## 0x1c .long 28 ## 0x1c .long 28 ## 0x1c .long 28 ## 0x1c LCPI1_9: .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .section __TEXT,__text,regular,pure_instructions .globl _factorialLoop .p2align 4, 0x90 _factorialLoop: ## @factorialLoop .cfi_startproc ## %bb.0: testl %edi, %edi jle LBB1_1 ## %bb.2: movl $1, %ecx movl $1, %eax cmpl $8, %edi jb LBB1_12 ## %bb.3: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %ecx andl $-8, %ecx leal -8(%rcx), %esi movl %esi, %edx shrl $3, %edx incl %edx movl %edx, %eax andl $3, %eax cmpl $24, %esi jae LBB1_5 ## %bb.4: movdqa LCPI1_0(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa LCPI1_1(%rip), %xmm6 ## xmm6 = [1,2,3,4] movdqa %xmm1, %xmm2 jmp LBB1_7 LBB1_1: movl $1, %eax retq LBB1_5: andl $-4, %edx movdqa LCPI1_0(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa LCPI1_1(%rip), %xmm6 ## xmm6 = [1,2,3,4] movdqa LCPI1_2(%rip), %xmm8 ## xmm8 = [4,4,4,4] movdqa LCPI1_3(%rip), %xmm9 ## xmm9 = [8,8,8,8] movdqa LCPI1_4(%rip), %xmm10 ## xmm10 = [12,12,12,12] movdqa LCPI1_5(%rip), %xmm11 ## xmm11 = [16,16,16,16] movdqa LCPI1_6(%rip), %xmm12 ## xmm12 = [20,20,20,20] movdqa LCPI1_7(%rip), %xmm13 ## xmm13 = [24,24,24,24] movdqa LCPI1_8(%rip), %xmm4 ## xmm4 = [28,28,28,28] movdqa LCPI1_9(%rip), %xmm5 ## xmm5 = [32,32,32,32] movdqa %xmm1, %xmm2 .p2align 4, 0x90 LBB1_6: ## =>This Inner Loop Header: Depth=1 movdqa %xmm6, %xmm3 paddd %xmm8, %xmm3 pmulld %xmm2, %xmm3 pmulld %xmm6, %xmm1 movdqa %xmm6, %xmm2 paddd %xmm9, %xmm2 pmulld %xmm1, %xmm2 movdqa %xmm6, %xmm1 paddd %xmm10, %xmm1 movdqa %xmm6, %xmm7 paddd %xmm11, %xmm7 movdqa %xmm6, %xmm0 paddd %xmm12, %xmm0 pmulld %xmm1, %xmm0 pmulld %xmm3, %xmm0 movdqa %xmm6, %xmm1 paddd %xmm13, %xmm1 pmulld %xmm7, %xmm1 pmulld %xmm2, %xmm1 movdqa %xmm6, %xmm2 paddd %xmm4, %xmm2 pmulld %xmm0, %xmm2 paddd %xmm5, %xmm6 addl $-4, %edx jne LBB1_6 LBB1_7: testl %eax, %eax je LBB1_10 ## %bb.8: movdqa LCPI1_2(%rip), %xmm3 ## xmm3 = [4,4,4,4] movdqa LCPI1_3(%rip), %xmm4 ## xmm4 = [8,8,8,8] .p2align 4, 0x90 LBB1_9: ## =>This Inner Loop Header: Depth=1 movdqa %xmm6, %xmm0 paddd %xmm3, %xmm0 pmulld %xmm0, %xmm2 pmulld %xmm6, %xmm1 paddd %xmm4, %xmm6 decl %eax jne LBB1_9 LBB1_10: 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 %edi, %ecx popq %rbp je LBB1_14 ## %bb.11: orl $1, %ecx LBB1_12: incl %edi .p2align 4, 0x90 LBB1_13: ## =>This Inner Loop Header: Depth=1 imull %ecx, %eax incl %ecx cmpl %ecx, %edi jne LBB1_13 LBB1_14: retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function factorialRecursive LCPI2_0: .long 0 ## 0x0 .long 4294967295 ## 0xffffffff .long 4294967294 ## 0xfffffffe .long 4294967293 ## 0xfffffffd LCPI2_1: .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 LCPI2_2: .long 4294967292 ## 0xfffffffc .long 4294967292 ## 0xfffffffc .long 4294967292 ## 0xfffffffc .long 4294967292 ## 0xfffffffc LCPI2_3: .long 4294967288 ## 0xfffffff8 .long 4294967288 ## 0xfffffff8 .long 4294967288 ## 0xfffffff8 .long 4294967288 ## 0xfffffff8 LCPI2_4: .long 4294967284 ## 0xfffffff4 .long 4294967284 ## 0xfffffff4 .long 4294967284 ## 0xfffffff4 .long 4294967284 ## 0xfffffff4 LCPI2_5: .long 4294967280 ## 0xfffffff0 .long 4294967280 ## 0xfffffff0 .long 4294967280 ## 0xfffffff0 .long 4294967280 ## 0xfffffff0 LCPI2_6: .long 4294967276 ## 0xffffffec .long 4294967276 ## 0xffffffec .long 4294967276 ## 0xffffffec .long 4294967276 ## 0xffffffec LCPI2_7: .long 4294967272 ## 0xffffffe8 .long 4294967272 ## 0xffffffe8 .long 4294967272 ## 0xffffffe8 .long 4294967272 ## 0xffffffe8 LCPI2_8: .long 4294967268 ## 0xffffffe4 .long 4294967268 ## 0xffffffe4 .long 4294967268 ## 0xffffffe4 .long 4294967268 ## 0xffffffe4 LCPI2_9: .long 4294967264 ## 0xffffffe0 .long 4294967264 ## 0xffffffe0 .long 4294967264 ## 0xffffffe0 .long 4294967264 ## 0xffffffe0 .section __TEXT,__text,regular,pure_instructions .globl _factorialRecursive .p2align 4, 0x90 _factorialRecursive: ## @factorialRecursive .cfi_startproc ## %bb.0: ## kill: def $edi killed $edi def $rdi movl $1, %eax cmpl $1, %edi je LBB2_12 ## %bb.1: leal -1(%rdi), %ecx movl $1, %eax cmpl $8, %ecx jb LBB2_11 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %ecx, %r8d andl $-8, %r8d movd %edi, %xmm0 pshufd $0, %xmm0, %xmm6 ## xmm6 = xmm0[0,0,0,0] paddd LCPI2_0(%rip), %xmm6 leal -8(%r8), %edx movl %edx, %esi shrl $3, %esi incl %esi movl %esi, %eax andl $3, %eax cmpl $24, %edx jae LBB2_4 ## %bb.3: movdqa LCPI2_1(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa %xmm1, %xmm2 jmp LBB2_6 LBB2_4: andl $-4, %esi movdqa LCPI2_1(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa LCPI2_2(%rip), %xmm8 ## xmm8 = [4294967292,4294967292,4294967292,4294967292] movdqa LCPI2_3(%rip), %xmm9 ## xmm9 = [4294967288,4294967288,4294967288,4294967288] movdqa LCPI2_4(%rip), %xmm10 ## xmm10 = [4294967284,4294967284,4294967284,4294967284] movdqa LCPI2_5(%rip), %xmm11 ## xmm11 = [4294967280,4294967280,4294967280,4294967280] movdqa LCPI2_6(%rip), %xmm12 ## xmm12 = [4294967276,4294967276,4294967276,4294967276] movdqa LCPI2_7(%rip), %xmm13 ## xmm13 = [4294967272,4294967272,4294967272,4294967272] movdqa LCPI2_8(%rip), %xmm4 ## xmm4 = [4294967268,4294967268,4294967268,4294967268] movdqa LCPI2_9(%rip), %xmm5 ## xmm5 = [4294967264,4294967264,4294967264,4294967264] movdqa %xmm1, %xmm2 .p2align 4, 0x90 LBB2_5: ## =>This Inner Loop Header: Depth=1 movdqa %xmm6, %xmm3 paddd %xmm8, %xmm3 pmulld %xmm2, %xmm3 pmulld %xmm6, %xmm1 movdqa %xmm6, %xmm2 paddd %xmm9, %xmm2 pmulld %xmm1, %xmm2 movdqa %xmm6, %xmm1 paddd %xmm10, %xmm1 movdqa %xmm6, %xmm7 paddd %xmm11, %xmm7 movdqa %xmm6, %xmm0 paddd %xmm12, %xmm0 pmulld %xmm1, %xmm0 pmulld %xmm3, %xmm0 movdqa %xmm6, %xmm1 paddd %xmm13, %xmm1 pmulld %xmm7, %xmm1 pmulld %xmm2, %xmm1 movdqa %xmm6, %xmm2 paddd %xmm4, %xmm2 pmulld %xmm0, %xmm2 paddd %xmm5, %xmm6 addl $-4, %esi jne LBB2_5 LBB2_6: testl %eax, %eax je LBB2_9 ## %bb.7: movdqa LCPI2_2(%rip), %xmm3 ## xmm3 = [4294967292,4294967292,4294967292,4294967292] movdqa LCPI2_3(%rip), %xmm4 ## xmm4 = [4294967288,4294967288,4294967288,4294967288] .p2align 4, 0x90 LBB2_8: ## =>This Inner Loop Header: Depth=1 movdqa %xmm6, %xmm0 paddd %xmm3, %xmm0 pmulld %xmm0, %xmm2 pmulld %xmm6, %xmm1 paddd %xmm4, %xmm6 decl %eax jne LBB2_8 LBB2_9: 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 %r8d, %ecx popq %rbp je LBB2_12 ## %bb.10: subl %r8d, %edi .p2align 4, 0x90 LBB2_11: ## =>This Inner Loop Header: Depth=1 imull %edi, %eax decl %edi cmpl $1, %edi jne LBB2_11 LBB2_12: retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "With loop: %d! = %d\n" L_.str.1: ## @.str.1 .asciz "With recursion: %d! = %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, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov w19, #40320 mov w20, #8 stp x20, x19, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf stp x20, x19, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function factorialLoop lCPI1_0: .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .long 4 ; 0x4 .section __TEXT,__text,regular,pure_instructions .globl _factorialLoop .p2align 2 _factorialLoop: ; @factorialLoop .cfi_startproc ; %bb.0: cmp w0, #1 b.lt LBB1_3 ; %bb.1: cmp w0, #16 b.hs LBB1_4 ; %bb.2: mov w9, #1 mov w8, #1 b LBB1_7 LBB1_3: mov w0, #1 ret LBB1_4: and w10, w0, #0xfffffff0 movi.4s v0, #1 movi.4s v1, #4 Lloh4: adrp x8, lCPI1_0@PAGE Lloh5: ldr q2, [x8, lCPI1_0@PAGEOFF] orr w9, w10, #0x1 movi.4s v3, #8 movi.4s v4, #12 movi.4s v5, #16 mov x8, x10 movi.4s v6, #1 movi.4s v7, #1 movi.4s v16, #1 LBB1_5: ; =>This Inner Loop Header: Depth=1 add.4s v17, v2, v1 add.4s v18, v2, v3 add.4s v19, v2, v4 mul.4s v0, v2, v0 mul.4s v6, v17, v6 mul.4s v7, v18, v7 mul.4s v16, v19, v16 add.4s v2, v2, v5 subs w8, w8, #16 b.ne LBB1_5 ; %bb.6: mul.4s v0, v6, v0 mul.4s v0, v7, v0 mul.4s v0, v16, 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, w0 b.eq LBB1_9 LBB1_7: add w10, w0, #1 LBB1_8: ; =>This Inner Loop Header: Depth=1 mul w8, w9, w8 add w9, w9, #1 cmp w10, w9 b.ne LBB1_8 LBB1_9: mov x0, x8 ret .loh AdrpLdr Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function factorialRecursive lCPI2_0: .long 0 ; 0x0 .long 4294967295 ; 0xffffffff .long 4294967294 ; 0xfffffffe .long 4294967293 ; 0xfffffffd .section __TEXT,__text,regular,pure_instructions .globl _factorialRecursive .p2align 2 _factorialRecursive: ; @factorialRecursive .cfi_startproc ; %bb.0: subs w9, w0, #1 b.eq LBB2_7 ; %bb.1: mov x8, x0 cmp w9, #16 b.hs LBB2_3 ; %bb.2: mov w0, #1 b LBB2_6 LBB2_3: dup.4s v0, w8 Lloh6: adrp x10, lCPI2_0@PAGE Lloh7: ldr q1, [x10, lCPI2_0@PAGEOFF] add.4s v1, v0, v1 movi.4s v0, #1 mvni.4s v2, #3 and w10, w9, #0xfffffff0 sub w8, w8, w10 mvni.4s v3, #7 mvni.4s v4, #11 mvni.4s v5, #15 mov x11, x10 movi.4s v6, #1 movi.4s v7, #1 movi.4s v16, #1 LBB2_4: ; =>This Inner Loop Header: Depth=1 add.4s v17, v1, v2 add.4s v18, v1, v3 add.4s v19, v1, v4 mul.4s v0, v1, v0 mul.4s v6, v17, v6 mul.4s v7, v18, v7 mul.4s v16, v19, v16 add.4s v1, v1, v5 subs w11, w11, #16 b.ne LBB2_4 ; %bb.5: mul.4s v0, v6, v0 mul.4s v0, v7, v0 mul.4s v0, v16, v0 ext.16b v1, v0, v0, #8 mul.2s v0, v0, v1 fmov w11, s0 mov.s w12, v0[1] mul w0, w11, w12 cmp w9, w10 b.eq LBB2_7 LBB2_6: ; =>This Inner Loop Header: Depth=1 mul w0, w8, w0 sub w9, w8, #1 mov x8, x9 cmp w9, #1 b.ne LBB2_6 LBB2_7: ret .loh AdrpLdr Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "With loop: %d! = %d\n" l_.str.1: ; @.str.1 .asciz "With recursion: %d! = %d\n" .subsections_via_symbols
the_stack_data/132952210.c
stack
.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/107953499.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kvm_set_spte_hva_hv ## -- Begin function kvm_set_spte_hva_hv .p2align 4, 0x90 _kvm_set_spte_hva_hv: ## @kvm_set_spte_hva_hv .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 _kvm_is_radix testq %rax, %rax jne LBB0_1 ## %bb.2: movq _kvm_unmap_rmapp@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _kvm_unmap_radix@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %edx movq %rbx, %rdi movq %r14, %rsi popq %rbx popq %r14 popq %rbp jmp _kvm_handle_hva ## TAILCALL .cfi_endproc ## -- End function .comm _kvm_unmap_radix,4,2 ## @kvm_unmap_radix .comm _kvm_unmap_rmapp,4,2 ## @kvm_unmap_rmapp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kvm_set_spte_hva_hv ; -- Begin function kvm_set_spte_hva_hv .p2align 2 _kvm_set_spte_hva_hv: ; @kvm_set_spte_hva_hv .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 _kvm_is_radix Lloh0: adrp x8, _kvm_unmap_radix@GOTPAGE Lloh1: ldr x8, [x8, _kvm_unmap_radix@GOTPAGEOFF] Lloh2: adrp x9, _kvm_unmap_rmapp@GOTPAGE Lloh3: ldr x9, [x9, _kvm_unmap_rmapp@GOTPAGEOFF] cmp x0, #0 csel x8, x9, x8, eq ldr w2, [x8] 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 _kvm_handle_hva .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _kvm_unmap_radix,4,2 ; @kvm_unmap_radix .comm _kvm_unmap_rmapp,4,2 ; @kvm_unmap_rmapp .subsections_via_symbols
AnghaBench/linux/arch/powerpc/kvm/extr_book3s_64_mmu_hv.c_kvm_set_spte_hva_hv.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function roundTripTest _roundTripTest: ## @roundTripTest .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, %r12 movq %r8, %r15 movq %rcx, %r14 movq %rdx, %r13 movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill movl 16(%rbp), %edi movq %r9, %rsi xorl %edx, %edx callq _ZSTD_getParams movq _cctx@GOTPCREL(%rip), %rbx movl (%rbx), %edi xorl %esi, %esi xorl %edx, %edx movl %eax, %ecx movq %r12, %r8 callq _ZSTD_compressBegin_advanced movq %rax, %rdi callq _FUZZ_ZASSERT movl (%rbx), %edi movq %r13, %rsi movq %r14, %rdx movq %r15, %rcx movq %r12, %r8 callq _ZSTD_compressBlock movq %rax, %rbx movq %rax, %rdi callq _FUZZ_ZASSERT testq %rbx, %rbx je LBB0_1 ## %bb.2: movq _dctx@GOTPCREL(%rip), %r14 movl (%r14), %edi callq _ZSTD_decompressBegin movl (%r14), %edi movq -56(%rbp), %rsi ## 8-byte Reload movq -48(%rbp), %rdx ## 8-byte Reload movq %r13, %rcx movq %rbx, %r8 addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _ZSTD_decompressBlock ## TAILCALL LBB0_1: xorl %edi, %edi cmpq %r12, -48(%rbp) ## 8-byte Folded Reload setae %dil callq _FUZZ_ASSERT movq -56(%rbp), %rdi ## 8-byte Reload movq %r15, %rsi movq %r12, %rdx callq _memcpy movq %r12, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _cctx,4,2 ## @cctx .comm _dctx,4,2 ## @dctx .no_dead_strip _roundTripTest .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function roundTripTest _roundTripTest: ; @roundTripTest .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x5 mov x23, x4 mov x24, x3 mov x21, x2 mov x22, x1 mov x19, x0 mov x0, x6 mov x1, x5 mov w2, #0 bl _ZSTD_getParams mov x3, x0 Lloh0: adrp x25, _cctx@GOTPAGE Lloh1: ldr x25, [x25, _cctx@GOTPAGEOFF] ldr w0, [x25] mov x1, #0 mov w2, #0 mov x4, x20 bl _ZSTD_compressBegin_advanced bl _FUZZ_ZASSERT ldr w0, [x25] mov x1, x21 mov x2, x24 mov x3, x23 mov x4, x20 bl _ZSTD_compressBlock mov x24, x0 bl _FUZZ_ZASSERT cbz x24, LBB0_2 ; %bb.1: Lloh2: adrp x20, _dctx@GOTPAGE Lloh3: ldr x20, [x20, _dctx@GOTPAGEOFF] ldr w0, [x20] bl _ZSTD_decompressBegin ldr w0, [x20] mov x1, x19 mov x2, x22 mov x3, x21 mov x4, x24 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _ZSTD_decompressBlock LBB0_2: cmp x22, x20 cset w0, hs bl _FUZZ_ASSERT mov x0, x19 mov x1, x23 mov x2, x20 bl _memcpy mov x0, x20 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _cctx,4,2 ; @cctx .comm _dctx,4,2 ; @dctx .no_dead_strip _roundTripTest .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/zstd/tests/fuzz/extr_block_round_trip.c_roundTripTest.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ftrace_generate_kprobe_call_insn _ftrace_generate_kprobe_call_insn: ## @ftrace_generate_kprobe_call_insn .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .comm _BREAKPOINT_INSTRUCTION,4,2 ## @BREAKPOINT_INSTRUCTION .comm _KPROBE_ON_FTRACE_CALL,4,2 ## @KPROBE_ON_FTRACE_CALL .no_dead_strip _ftrace_generate_kprobe_call_insn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ftrace_generate_kprobe_call_insn _ftrace_generate_kprobe_call_insn: ; @ftrace_generate_kprobe_call_insn .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .comm _BREAKPOINT_INSTRUCTION,4,2 ; @BREAKPOINT_INSTRUCTION .comm _KPROBE_ON_FTRACE_CALL,4,2 ; @KPROBE_ON_FTRACE_CALL .no_dead_strip _ftrace_generate_kprobe_call_insn .subsections_via_symbols
AnghaBench/linux/arch/s390/kernel/extr_ftrace.c_ftrace_generate_kprobe_call_insn.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str(%rip), %rdi leaq -8(%rbp), %rsi leaq -4(%rbp), %rdx xorl %eax, %eax callq _scanf movl -8(%rbp), %eax movl -4(%rbp), %edx cmpl %edx, %eax jge LBB0_1 ## %bb.2: leal -1(%rdx), %ecx movl %ecx, -4(%rbp) movl %eax, %esi movl %edx, %eax cmpl %ecx, %esi jl LBB0_5 LBB0_4: leal -1(%rsi), %ecx movl %ecx, -8(%rbp) jmp LBB0_6 LBB0_1: leal -1(%rax), %esi movl %esi, -8(%rbp) movl %edx, %ecx cmpl %ecx, %esi jge LBB0_4 LBB0_5: leal -1(%rcx), %edx movl %edx, -4(%rbp) movl %ecx, %esi LBB0_6: addl %eax, %esi leaq L_.str.1(%rip), %rdi ## kill: def $esi killed $esi killed $rsi xorl %eax, %eax callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d %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: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 sub x8, x29, #8 sub x9, x29, #4 stp x9, x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldp w11, w8, [x29, #-8] cmp w8, w11 b.ge LBB0_3 ; %bb.1: sub w10, w11, #1 stur w10, [x29, #-8] mov x9, x8 mov x8, x11 cmp w9, w10 b.lt LBB0_4 LBB0_2: sub w10, w9, #1 stur w10, [x29, #-4] b LBB0_5 LBB0_3: sub w9, w8, #1 stur w9, [x29, #-4] mov x10, x11 cmp w9, w10 b.ge LBB0_2 LBB0_4: sub w9, w10, #1 stur w9, [x29, #-8] mov x9, x10 LBB0_5: add w8, w9, w8 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d %d" l_.str.1: ; @.str.1 .asciz "%d\n" .subsections_via_symbols
the_stack_data/646055.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 $1560, %rsp ## imm = 0x618 .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 -1072(%rbp), %rdi callq _gets testq %rax, %rax je LBB0_18 ## %bb.1: leaq -1072(%rbp), %rbx leaq L_.str.1(%rip), %r13 xorl %r14d, %r14d jmp LBB0_2 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_2 Depth=1 incl %r14d leaq -1072(%rbp), %rbx movq %rbx, %rdi callq _gets testq %rax, %rax je LBB0_18 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_21 Depth 2 ## Child Loop BB0_12 Depth 2 ## Child Loop BB0_13 Depth 3 testl %r14d, %r14d je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl $10, %edi callq _putchar LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi callq _strlen movq %rax, %r12 movl $516, %esi ## imm = 0x204 leaq -1600(%rbp), %rdi callq ___bzero testl %r12d, %r12d jle LBB0_17 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %ecx andl $1, %r12d cmpq $1, %rcx jne LBB0_20 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax xorl %r15d, %r15d LBB0_7: ## in Loop: Header=BB0_2 Depth=1 testq %r12, %r12 je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 movzbl -1072(%rbp,%rax), %eax cmpb $32, %al jl LBB0_10 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 movl -1600(%rbp,%rax,4), %ecx incl %ecx movl %ecx, -1600(%rbp,%rax,4) cmpl %r15d, %ecx cmovgl %ecx, %r15d LBB0_10: ## in Loop: Header=BB0_2 Depth=1 testl %r15d, %r15d jle LBB0_17 ## %bb.11: ## in Loop: Header=BB0_2 Depth=1 movl $1, %r12d jmp LBB0_12 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_12 Depth=2 leal 1(%r12), %eax cmpl %r15d, %r12d movl %eax, %r12d je LBB0_17 LBB0_12: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_13 Depth 3 movl $128, %ebx jmp LBB0_13 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_13 Depth=3 leaq -1(%rbx), %rax cmpq $32, %rbx movq %rax, %rbx jbe LBB0_16 LBB0_13: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_12 Depth=2 ## => This Inner Loop Header: Depth=3 cmpl %r12d, -1600(%rbp,%rbx,4) jne LBB0_15 ## %bb.14: ## in Loop: Header=BB0_13 Depth=3 movq %r13, %rdi movl %ebx, %esi movl %r12d, %edx xorl %eax, %eax callq _printf jmp LBB0_15 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_2 Depth=1 subq %r12, %rcx xorl %eax, %eax xorl %r15d, %r15d jmp LBB0_21 .p2align 4, 0x90 LBB0_25: ## in Loop: Header=BB0_21 Depth=2 addq $2, %rax cmpq %rax, %rcx je LBB0_7 LBB0_21: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl -1072(%rbp,%rax), %edx cmpb $32, %dl jl LBB0_23 ## %bb.22: ## in Loop: Header=BB0_21 Depth=2 movl -1600(%rbp,%rdx,4), %esi incl %esi movl %esi, -1600(%rbp,%rdx,4) cmpl %r15d, %esi cmovgl %esi, %r15d LBB0_23: ## in Loop: Header=BB0_21 Depth=2 movzbl -1071(%rbp,%rax), %edx cmpb $32, %dl jl LBB0_25 ## %bb.24: ## in Loop: Header=BB0_21 Depth=2 movl -1600(%rbp,%rdx,4), %esi incl %esi movl %esi, -1600(%rbp,%rdx,4) cmpl %r15d, %esi cmovgl %esi, %r15d jmp LBB0_25 LBB0_18: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_19 ## %bb.26: xorl %eax, %eax addq $1560, %rsp ## imm = 0x618 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_19: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%d %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 x28, x27, [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 w27, -72 .cfi_offset w28, -80 sub sp, sp, #1552 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] add x0, sp, #534 bl _gets cbz x0, LBB0_17 ; %bb.1: mov w21, #0 add x22, sp, #16 Lloh3: adrp x19, l_.str.1@PAGE Lloh4: add x19, x19, l_.str.1@PAGEOFF b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add w21, w21, #1 add x0, sp, #534 bl _gets cbz x0, LBB0_17 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_13 Depth 2 ; Child Loop BB0_15 Depth 3 cbz w21, LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov w0, #10 bl _putchar LBB0_5: ; in Loop: Header=BB0_3 Depth=1 add x0, sp, #534 bl _strlen mov x20, x0 add x0, sp, #16 mov w1, #516 bl _bzero cmp w20, #1 b.lt LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 mov w23, #0 and x8, x20, #0xffffffff add x9, sp, #534 b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=2 add x9, x9, #1 subs x8, x8, #1 b.eq LBB0_10 LBB0_8: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w10, [x9] cmp w10, #32 b.lt LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 and x10, x10, #0xff lsl x10, x10, #2 ldr w11, [x22, x10] add w12, w11, #1 cmp w12, w23 str w12, [x22, x10] csinc w23, w23, w11, le b LBB0_7 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 cmp w23, #1 b.lt LBB0_2 ; %bb.11: ; in Loop: Header=BB0_3 Depth=1 mov w20, #1 b LBB0_13 LBB0_12: ; in Loop: Header=BB0_13 Depth=2 add w8, w20, #1 cmp w20, w23 mov x20, x8 b.eq LBB0_2 LBB0_13: ; Parent Loop BB0_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_15 Depth 3 mov w24, #128 b LBB0_15 LBB0_14: ; in Loop: Header=BB0_15 Depth=3 sub x8, x24, #1 cmp x24, #32 mov x24, x8 b.ls LBB0_12 LBB0_15: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_13 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [x22, x24, lsl #2] cmp w8, w20 b.ne LBB0_14 ; %bb.16: ; in Loop: Header=BB0_15 Depth=3 stp x24, x20, [sp] mov x0, x19 bl _printf b LBB0_14 LBB0_17: ldur x8, [x29, #-72] Lloh5: adrp x9, ___stack_chk_guard@GOTPAGE Lloh6: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x9, x8 b.ne LBB0_19 ; %bb.18: mov w0, #0 add sp, sp, #1552 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 x28, x27, [sp], #80 ; 16-byte Folded Reload ret LBB0_19: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%d %d\n" .subsections_via_symbols
the_stack_data/58035.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qla2x00_fdmi_register ## -- Begin function qla2x00_fdmi_register .p2align 4, 0x90 _qla2x00_fdmi_register: ## @qla2x00_fdmi_register .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq (%rdi), %rbx movq %rbx, %rdi callq _IS_QLA2100 testq %rax, %rax jne LBB0_3 ## %bb.1: movq %rbx, %rdi callq _IS_QLA2200 testq %rax, %rax jne LBB0_3 ## %bb.2: movq %rbx, %rdi callq _IS_QLAFX00 testq %rax, %rax je LBB0_4 LBB0_3: movq _QLA_FUNCTION_FAILED@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_15: popq %rbx popq %r14 popq %rbp retq LBB0_4: movq %r14, %rdi callq _qla2x00_mgmt_svr_login testl %eax, %eax jne LBB0_15 ## %bb.5: movq %r14, %rdi callq _qla2x00_fdmiv2_rhba testl %eax, %eax je LBB0_9 ## %bb.6: movq _QLA_ALREADY_REGISTERED@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_11 ## %bb.7: movq %r14, %rdi callq _qla2x00_fdmi_dhba testl %eax, %eax jne LBB0_11 ## %bb.8: movq %r14, %rdi callq _qla2x00_fdmiv2_rhba testl %eax, %eax jne LBB0_11 LBB0_9: movq %r14, %rdi callq _qla2x00_fdmiv2_rpa testl %eax, %eax je LBB0_10 LBB0_11: movq %r14, %rdi callq _qla2x00_fdmi_rhba testl %eax, %eax je LBB0_16 ## %bb.12: movq _QLA_ALREADY_REGISTERED@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_15 ## %bb.13: movq %r14, %rdi callq _qla2x00_fdmi_dhba testl %eax, %eax jne LBB0_15 ## %bb.14: movq %r14, %rdi callq _qla2x00_fdmi_rhba testl %eax, %eax jne LBB0_15 LBB0_16: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _qla2x00_fdmi_rpa ## TAILCALL LBB0_10: xorl %eax, %eax jmp LBB0_15 .cfi_endproc ## -- End function .comm _QLA_FUNCTION_FAILED,4,2 ## @QLA_FUNCTION_FAILED .comm _QLA_ALREADY_REGISTERED,4,2 ## @QLA_ALREADY_REGISTERED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qla2x00_fdmi_register ; -- Begin function qla2x00_fdmi_register .p2align 2 _qla2x00_fdmi_register: ; @qla2x00_fdmi_register .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x20, [x0] mov x0, x20 bl _IS_QLA2100 cbnz x0, LBB0_3 ; %bb.1: mov x0, x20 bl _IS_QLA2200 cbnz x0, LBB0_3 ; %bb.2: mov x0, x20 bl _IS_QLAFX00 cbz x0, LBB0_5 LBB0_3: Lloh0: adrp x8, _QLA_FUNCTION_FAILED@GOTPAGE Lloh1: ldr x8, [x8, _QLA_FUNCTION_FAILED@GOTPAGEOFF] Lloh2: ldr w0, [x8] LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_5: mov x0, x19 bl _qla2x00_mgmt_svr_login cbnz w0, LBB0_4 ; %bb.6: mov x0, x19 bl _qla2x00_fdmiv2_rhba Lloh3: adrp x20, _QLA_ALREADY_REGISTERED@GOTPAGE Lloh4: ldr x20, [x20, _QLA_ALREADY_REGISTERED@GOTPAGEOFF] cbz w0, LBB0_10 ; %bb.7: ldr w8, [x20] cmp w0, w8 b.ne LBB0_11 ; %bb.8: mov x0, x19 bl _qla2x00_fdmi_dhba cbnz w0, LBB0_11 ; %bb.9: mov x0, x19 bl _qla2x00_fdmiv2_rhba cbnz w0, LBB0_11 LBB0_10: mov x0, x19 bl _qla2x00_fdmiv2_rpa cbz w0, LBB0_4 LBB0_11: mov x0, x19 bl _qla2x00_fdmi_rhba cbz w0, LBB0_15 ; %bb.12: ldr w8, [x20] cmp w0, w8 b.ne LBB0_4 ; %bb.13: mov x0, x19 bl _qla2x00_fdmi_dhba cbnz w0, LBB0_4 ; %bb.14: mov x0, x19 bl _qla2x00_fdmi_rhba cbnz w0, LBB0_4 LBB0_15: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _qla2x00_fdmi_rpa .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _QLA_FUNCTION_FAILED,4,2 ; @QLA_FUNCTION_FAILED .comm _QLA_ALREADY_REGISTERED,4,2 ; @QLA_ALREADY_REGISTERED .subsections_via_symbols
AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_gs.c_qla2x00_fdmi_register.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Del _Del: ## @Del .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), %rsi popq %rbp jmp _msg_Dbg ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Removing a stream" .no_dead_strip _Del .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Del _Del: ; @Del .cfi_startproc ; %bb.0: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF b _msg_Dbg .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Removing a stream" .no_dead_strip _Del .subsections_via_symbols
AnghaBench/vlc/modules/stream_out/extr_description.c_Del.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ## -- Begin function foo .p2align 4, 0x90 _foo: ## @foo .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 testb %dil, %dil sete %cl andl %edi, %ecx xorl %eax, %eax testl %esi, %esi sete %al andl %esi, %eax orl %ecx, %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 _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: cmp w0, #0 cset w8, eq and w8, w0, w8 cmp w1, #0 cset w9, eq and w9, w9, w1 orr w0, w9, w8 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/1132806.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function x2apic_cpu_mask_to_apicid _x2apic_cpu_mask_to_apicid: ## @x2apic_cpu_mask_to_apicid .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _cpumask_first movq _nr_cpu_ids@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jae LBB0_1 ## %bb.2: movq _x86_cpu_to_apicid@GOTPCREL(%rip), %rcx movl (%rcx), %edi movl %eax, %esi popq %rbp jmp _per_cpu ## TAILCALL LBB0_1: movq _BAD_APICID@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _nr_cpu_ids,4,2 ## @nr_cpu_ids .comm _x86_cpu_to_apicid,4,2 ## @x86_cpu_to_apicid .comm _BAD_APICID,4,2 ## @BAD_APICID .no_dead_strip _x2apic_cpu_mask_to_apicid .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function x2apic_cpu_mask_to_apicid _x2apic_cpu_mask_to_apicid: ; @x2apic_cpu_mask_to_apicid .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 _cpumask_first Lloh0: adrp x8, _nr_cpu_ids@GOTPAGE Lloh1: ldr x8, [x8, _nr_cpu_ids@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w0, w8 b.hs LBB0_2 ; %bb.1: mov x1, x0 Lloh3: adrp x8, _x86_cpu_to_apicid@GOTPAGE Lloh4: ldr x8, [x8, _x86_cpu_to_apicid@GOTPAGEOFF] Lloh5: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _per_cpu LBB0_2: Lloh6: adrp x8, _BAD_APICID@GOTPAGE Lloh7: ldr x8, [x8, _BAD_APICID@GOTPAGEOFF] Lloh8: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _nr_cpu_ids,4,2 ; @nr_cpu_ids .comm _x86_cpu_to_apicid,4,2 ; @x86_cpu_to_apicid .comm _BAD_APICID,4,2 ; @BAD_APICID .no_dead_strip _x2apic_cpu_mask_to_apicid .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/x86/kernel/apic/extr_x2apic_phys.c_x2apic_cpu_mask_to_apicid.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rbx movq %rbx, %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar movq %rbx, %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar movq %rbx, %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar movq %rbx, %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar movq %rbx, %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d \t" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf mov w0, #10 bl _putchar mov x0, x19 bl _printf mov x0, x19 bl _printf mov w0, #10 bl _putchar mov x0, x19 bl _printf mov x0, x19 bl _printf mov x0, x19 bl _printf mov w0, #10 bl _putchar mov x0, x19 bl _printf mov x0, x19 bl _printf mov x0, x19 bl _printf mov x0, x19 bl _printf mov w0, #10 bl _putchar mov x0, x19 bl _printf mov x0, x19 bl _printf mov x0, x19 bl _printf mov x0, x19 bl _printf mov x0, x19 bl _printf mov w0, #10 bl _putchar mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d \t" .subsections_via_symbols
the_stack_data/29754.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pularlinha ## -- Begin function pularlinha .p2align 4, 0x90 _pularlinha: ## @pularlinha .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $10, %edi popq %rbp jmp _putchar ## TAILCALL .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) leaq L_str.12(%rip), %rbx movq %rbx, %rdi callq _puts leaq L_.str.2(%rip), %r14 leaq -64(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -60(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -56(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -52(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -48(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -44(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movl $10, %edi callq _putchar movq %rbx, %rdi callq _puts leaq -96(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -92(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -88(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -84(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -80(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _puts leaq -76(%rbp), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf leaq L_str.9(%rip), %r14 movq %r14, %rdi callq _puts movl -64(%rbp), %esi leaq L_.str.4(%rip), %rbx movq %rbx, %rdi xorl %eax, %eax callq _printf movl -60(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -56(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -52(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -48(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -44(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar leaq L_str.10(%rip), %r15 movq %r15, %rdi callq _puts movl -96(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -92(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -88(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -84(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -80(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -76(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar movaps -96(%rbp), %xmm0 movaps -64(%rbp), %xmm1 movaps %xmm0, -64(%rbp) movaps %xmm1, -96(%rbp) movq -48(%rbp), %rax movq -80(%rbp), %rcx movq %rcx, -48(%rbp) movq %rax, -80(%rbp) leaq L_str.8(%rip), %rdi callq _puts movq %r14, %rdi callq _puts movl -64(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -60(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -56(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -52(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -48(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -44(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar movq %r15, %rdi callq _puts movl -96(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -92(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -88(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -84(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -80(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -76(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB1_2 ## %bb.1: xorl %eax, %eax addq $72, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB1_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "%d" L_.str.4: ## @.str.4 .asciz "%d," L_str.8: ## @str.8 .asciz "troca de elementos\n" L_str.9: ## @str.9 .asciz "primeiro vetor" L_str.10: ## @str.10 .asciz "segundo vetor" L_str.12: ## @str.12 .asciz "digite um elemento vetor de tamanho 5" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pularlinha ; -- Begin function pularlinha .p2align 2 _pularlinha: ; @pularlinha .cfi_startproc ; %bb.0: mov w0, #10 b _putchar .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] Lloh3: adrp x19, l_str.12@PAGE Lloh4: add x19, x19, l_str.12@PAGEOFF mov x0, x19 bl _puts add x21, sp, #32 str x21, [sp] Lloh5: adrp x20, l_.str.2@PAGE Lloh6: add x20, x20, l_.str.2@PAGEOFF mov x0, x20 bl _scanf mov x0, x19 bl _puts orr x8, x21, #0x4 str x8, [sp] mov x0, x20 bl _scanf mov x0, x19 bl _puts orr x8, x21, #0x8 str x8, [sp] mov x0, x20 bl _scanf mov x0, x19 bl _puts orr x8, x21, #0xc str x8, [sp] mov x0, x20 bl _scanf mov x0, x19 bl _puts add x8, x21, #16 str x8, [sp] mov x0, x20 bl _scanf mov x0, x19 bl _puts add x8, x21, #20 str x8, [sp] mov x0, x20 bl _scanf mov w0, #10 bl _putchar mov x0, x19 bl _puts add x21, sp, #12 str x21, [sp] mov x0, x20 bl _scanf mov x0, x19 bl _puts add x8, x21, #4 str x8, [sp] mov x0, x20 bl _scanf mov x0, x19 bl _puts add x8, x21, #8 str x8, [sp] mov x0, x20 bl _scanf mov x0, x19 bl _puts add x8, x21, #12 str x8, [sp] mov x0, x20 bl _scanf mov x0, x19 bl _puts add x8, x21, #16 str x8, [sp] mov x0, x20 bl _scanf mov x0, x19 bl _puts add x8, x21, #20 str x8, [sp] mov x0, x20 bl _scanf Lloh7: adrp x20, l_str.9@PAGE Lloh8: add x20, x20, l_str.9@PAGEOFF mov x0, x20 bl _puts ldr w8, [sp, #32] str x8, [sp] Lloh9: adrp x19, l_.str.4@PAGE Lloh10: add x19, x19, l_.str.4@PAGEOFF mov x0, x19 bl _printf ldr w8, [sp, #36] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #40] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #44] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #48] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #52] str x8, [sp] mov x0, x19 bl _printf mov w0, #10 bl _putchar Lloh11: adrp x21, l_str.10@PAGE Lloh12: add x21, x21, l_str.10@PAGEOFF mov x0, x21 bl _puts ldr w8, [sp, #12] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #16] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #20] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #24] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #28] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #32] str x8, [sp] mov x0, x19 bl _printf mov w0, #10 bl _putchar ldur q0, [sp, #12] str q0, [sp, #32] ldur x8, [sp, #28] str x8, [sp, #48] Lloh13: adrp x0, l_str.8@PAGE Lloh14: add x0, x0, l_str.8@PAGEOFF bl _puts mov x0, x20 bl _puts ldr w8, [sp, #32] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #36] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #40] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #44] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #48] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #52] str x8, [sp] mov x0, x19 bl _printf mov w0, #10 bl _putchar mov x0, x21 bl _puts ldr w8, [sp, #12] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #16] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #20] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #24] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #28] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #32] str x8, [sp] mov x0, x19 bl _printf mov w0, #10 bl _putchar ldur x8, [x29, #-40] Lloh15: adrp x9, ___stack_chk_guard@GOTPAGE Lloh16: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh17: ldr x9, [x9] cmp x9, x8 b.ne LBB1_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload add sp, sp, #112 ret LBB1_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .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 .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .asciz "%d" l_.str.4: ; @.str.4 .asciz "%d," l_str.8: ; @str.8 .asciz "troca de elementos\n" l_str.9: ; @str.9 .asciz "primeiro vetor" l_str.10: ; @str.10 .asciz "segundo vetor" l_str.12: ; @str.12 .asciz "digite um elemento vetor de tamanho 5" .subsections_via_symbols
the_stack_data/12637273.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function snd_at73c213_mixer _snd_at73c213_mixer: ## @snd_at73c213_mixer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq (%rdi), %rax movq 8(%rdi), %rbx movl (%rbx), %edi movl (%rax), %esi callq _strcpy movq _snd_at73c213_controls@GOTPCREL(%rip), %r15 movq (%r15), %rdi callq _ARRAY_SIZE testl %eax, %eax js LBB0_5 ## %bb.1: xorl %r12d, %r12d xorl %r13d, %r13d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rdi addq %r12, %rdi movq %r14, %rsi callq _snd_ctl_new1 movq %rbx, %rdi movl %eax, %esi callq _snd_ctl_add testl %eax, %eax js LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 decq %r13 movq (%r15), %rdi callq _ARRAY_SIZE cltq addq $-4, %r12 cmpq %rax, %r13 jle LBB0_2 LBB0_5: xorl %eax, %eax jmp LBB0_12 LBB0_6: movl %eax, %r12d movq (%r15), %rdi callq _ARRAY_SIZE testl %eax, %eax jle LBB0_11 ## %bb.7: xorl %r14d, %r14d jmp LBB0_9 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_9 Depth=1 movq (%r15), %rdi callq _ARRAY_SIZE cmpl %eax, %r14d jge LBB0_11 LBB0_9: ## =>This Inner Loop Header: Depth=1 incl %r14d movq %rbx, %rdi movl %r14d, %esi callq _snd_ctl_find_numid testq %rax, %rax je LBB0_8 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movq %rbx, %rdi movq %rax, %rsi callq _snd_ctl_remove jmp LBB0_8 LBB0_11: movl %r12d, %eax LBB0_12: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _snd_at73c213_controls,8,3 ## @snd_at73c213_controls .no_dead_strip _snd_at73c213_mixer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function snd_at73c213_mixer _snd_at73c213_mixer: ; @snd_at73c213_mixer .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .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 ldp x8, x19, [x0] ldr w0, [x19] ldr w1, [x8] bl _strcpy Lloh0: adrp x21, _snd_at73c213_controls@GOTPAGE Lloh1: ldr x21, [x21, _snd_at73c213_controls@GOTPAGEOFF] ldr x0, [x21] bl _ARRAY_SIZE tbnz w0, #31, LBB0_4 ; %bb.1: mov x22, #0 ; =0x0 mov x23, #0 ; =0x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] add x0, x8, x22 mov x1, x20 bl _snd_ctl_new1 mov x1, x0 mov x0, x19 bl _snd_ctl_add tbnz w0, #31, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sub x23, x23, #1 ldr x0, [x21] bl _ARRAY_SIZE sub x22, x22, #4 cmp x23, w0, sxtw b.le LBB0_2 LBB0_4: mov w0, #0 ; =0x0 b LBB0_11 LBB0_5: mov x22, x0 ldr x0, [x21] bl _ARRAY_SIZE cmp w0, #1 b.lt LBB0_10 ; %bb.6: mov w20, #0 ; =0x0 b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 ldr x0, [x21] bl _ARRAY_SIZE cmp w20, w0 b.ge LBB0_10 LBB0_8: ; =>This Inner Loop Header: Depth=1 add w20, w20, #1 mov x0, x19 mov x1, x20 bl _snd_ctl_find_numid cbz x0, LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 mov x1, x0 mov x0, x19 bl _snd_ctl_remove b LBB0_7 LBB0_10: mov x0, x22 LBB0_11: 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 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _snd_at73c213_controls,8,3 ; @snd_at73c213_controls .no_dead_strip _snd_at73c213_mixer .subsections_via_symbols
assembly_file_3622.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CatalogTupleInsertWithInfo ## -- Begin function CatalogTupleInsertWithInfo .p2align 4, 0x90 _CatalogTupleInsertWithInfo: ## @CatalogTupleInsertWithInfo .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 _simple_heap_insert movl %r14d, %edi movl %ebx, %esi popq %rbx popq %r14 popq %rbp jmp _CatalogIndexInsert ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CatalogTupleInsertWithInfo ; -- Begin function CatalogTupleInsertWithInfo .p2align 2 _CatalogTupleInsertWithInfo: ; @CatalogTupleInsertWithInfo .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 _simple_heap_insert mov x0, x19 mov x1, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _CatalogIndexInsert .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/postgres/src/backend/catalog/extr_indexing.c_CatalogTupleInsertWithInfo.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function proc_get_stats_tx _proc_get_stats_tx: ## @proc_get_stats_tx .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $152, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, %rbx movq %r8, -184(%rbp) ## 8-byte Spill movl %ecx, -56(%rbp) ## 4-byte Spill movq %rdi, -80(%rbp) ## 8-byte Spill movq %r9, %rdi callq _ieee80211_priv movq %rax, %r12 movl (%rax), %eax movl %eax, -52(%rbp) ## 4-byte Spill movl 4(%r12), %eax movl %eax, -48(%rbp) ## 4-byte Spill movl 8(%r12), %eax movl %eax, -44(%rbp) ## 4-byte Spill movl 12(%r12), %eax movq %rax, -176(%rbp) ## 8-byte Spill movl 16(%r12), %eax movq %rax, -168(%rbp) ## 8-byte Spill movl 72(%r12), %eax movq %rax, -160(%rbp) ## 8-byte Spill movl 68(%r12), %eax movq %rax, -152(%rbp) ## 8-byte Spill movl 64(%r12), %eax movq %rax, -144(%rbp) ## 8-byte Spill movl 60(%r12), %eax movq %rax, -136(%rbp) ## 8-byte Spill movl 56(%r12), %eax movq %rax, -128(%rbp) ## 8-byte Spill movl 52(%r12), %eax movq %rax, -120(%rbp) ## 8-byte Spill movl 48(%r12), %eax movq %rax, -112(%rbp) ## 8-byte Spill movl 44(%r12), %eax movq %rax, -104(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _netif_queue_stopped ## kill: def $eax killed $eax def $rax movq %rax, -96(%rbp) ## 8-byte Spill movl 40(%r12), %eax movq %rax, -88(%rbp) ## 8-byte Spill movq _VI_PRIORITY@GOTPCREL(%rip), %rax movq (%rax), %rdi shlq $2, %rdi addq 80(%r12), %rdi callq _atomic_read ## kill: def $eax killed $eax def $rax movq %rax, -72(%rbp) ## 8-byte Spill movq _VO_PRIORITY@GOTPCREL(%rip), %rax movq (%rax), %rdi shlq $2, %rdi addq 80(%r12), %rdi callq _atomic_read ## kill: def $eax killed $eax def $rax movq %rax, -64(%rbp) ## 8-byte Spill movq _BE_PRIORITY@GOTPCREL(%rip), %rax movq (%rax), %rdi shlq $2, %rdi addq 80(%r12), %rdi callq _atomic_read movl %eax, %r14d movq _BK_PRIORITY@GOTPCREL(%rip), %rax movq (%rax), %rdi shlq $2, %rdi addq 80(%r12), %rdi callq _atomic_read ## kill: def $eax killed $eax def $rax movl 36(%r12), %r10d movl 32(%r12), %r11d movl 28(%r12), %r15d movl 20(%r12), %r13d movl 24(%r12), %ebx subq $8, %rsp leaq L_.str(%rip), %rdx movq -80(%rbp), %rdi ## 8-byte Reload movl -56(%rbp), %esi ## 4-byte Reload movl -52(%rbp), %ecx ## 4-byte Reload movl -48(%rbp), %r8d ## 4-byte Reload movl -44(%rbp), %r9d ## 4-byte Reload pushq %r13 pushq %rbx pushq %r15 pushq %r11 pushq %r10 pushq %rax pushq %r14 pushq -64(%rbp) ## 8-byte Folded Reload pushq -72(%rbp) ## 8-byte Folded Reload pushq -88(%rbp) ## 8-byte Folded Reload pushq -96(%rbp) ## 8-byte Folded Reload pushq -104(%rbp) ## 8-byte Folded Reload pushq -112(%rbp) ## 8-byte Folded Reload pushq -120(%rbp) ## 8-byte Folded Reload pushq -128(%rbp) ## 8-byte Folded Reload pushq -136(%rbp) ## 8-byte Folded Reload pushq -144(%rbp) ## 8-byte Folded Reload pushq -152(%rbp) ## 8-byte Folded Reload pushq -160(%rbp) ## 8-byte Folded Reload pushq -168(%rbp) ## 8-byte Folded Reload pushq -176(%rbp) ## 8-byte Folded Reload callq _snprintf addq $176, %rsp movq -184(%rbp), %rcx ## 8-byte Reload movl $1, (%rcx) ## kill: def $eax killed $eax killed $rax addq $152, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "TX VI priority ok int: %lu\nTX VI priority error int: %lu\nTX VO priority ok int: %lu\nTX VO priority error int: %lu\nTX BE priority ok int: %lu\nTX BE priority error int: %lu\nTX BK priority ok int: %lu\nTX BK priority error int: %lu\nTX MANAGE priority ok int: %lu\nTX MANAGE priority error int: %lu\nTX BEACON priority ok int: %lu\nTX BEACON priority error int: %lu\nTX queue resume: %lu\nTX queue stopped?: %d\nTX fifo overflow: %lu\nTX VI queue: %d\nTX VO queue: %d\nTX BE queue: %d\nTX BK queue: %d\nTX VI dropped: %lu\nTX VO dropped: %lu\nTX BE dropped: %lu\nTX BK dropped: %lu\nTX total data packets %lu\n" .comm _VI_PRIORITY,8,3 ## @VI_PRIORITY .comm _VO_PRIORITY,8,3 ## @VO_PRIORITY .comm _BE_PRIORITY,8,3 ## @BE_PRIORITY .comm _BK_PRIORITY,8,3 ## @BK_PRIORITY .no_dead_strip _proc_get_stats_tx .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function proc_get_stats_tx _proc_get_stats_tx: ; @proc_get_stats_tx .cfi_startproc ; %bb.0: sub sp, sp, #240 .cfi_def_cfa_offset 240 stp x28, x27, [sp, #144] ; 16-byte Folded Spill stp x26, x25, [sp, #160] ; 16-byte Folded Spill stp x24, x23, [sp, #176] ; 16-byte Folded Spill stp x22, x21, [sp, #192] ; 16-byte Folded Spill stp x20, x19, [sp, #208] ; 16-byte Folded Spill stp x29, x30, [sp, #224] ; 16-byte Folded Spill add x29, sp, #224 .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 x28, x5 stur x4, [x29, #-88] ; 8-byte Folded Spill stur w3, [x29, #-92] ; 4-byte Folded Spill stur x0, [x29, #-104] ; 8-byte Folded Spill mov x0, x5 bl _ieee80211_priv mov x27, x0 ldr w8, [x0] stur w8, [x29, #-108] ; 4-byte Folded Spill ldr w9, [x0, #4] ldr w8, [x0, #8] stp w8, w9, [sp, #108] ; 8-byte Folded Spill ldr w9, [x0, #12] ldr w8, [x0, #16] stp w8, w9, [sp, #100] ; 8-byte Folded Spill ldr w9, [x0, #72] ldr w8, [x0, #68] stp w8, w9, [sp, #92] ; 8-byte Folded Spill ldr w9, [x0, #64] ldp w26, w8, [x0, #56] stp w8, w9, [sp, #84] ; 8-byte Folded Spill ldp w23, w22, [x0, #48] ldr w24, [x0, #44] mov x0, x28 bl _netif_queue_stopped mov x28, x0 ldr w25, [x27, #40] ldr x8, [x27, #80] Lloh0: adrp x9, _VI_PRIORITY@GOTPAGE Lloh1: ldr x9, [x9, _VI_PRIORITY@GOTPAGEOFF] Lloh2: ldr x9, [x9] add x0, x8, x9, lsl #2 bl _atomic_read mov x19, x0 ldr x8, [x27, #80] Lloh3: adrp x9, _VO_PRIORITY@GOTPAGE Lloh4: ldr x9, [x9, _VO_PRIORITY@GOTPAGEOFF] Lloh5: ldr x9, [x9] add x0, x8, x9, lsl #2 bl _atomic_read mov x20, x0 ldr x8, [x27, #80] Lloh6: adrp x9, _BE_PRIORITY@GOTPAGE Lloh7: ldr x9, [x9, _BE_PRIORITY@GOTPAGEOFF] Lloh8: ldr x9, [x9] add x0, x8, x9, lsl #2 bl _atomic_read mov x21, x0 ldr x8, [x27, #80] Lloh9: adrp x9, _BK_PRIORITY@GOTPAGE Lloh10: ldr x9, [x9, _BK_PRIORITY@GOTPAGEOFF] Lloh11: ldr x9, [x9] add x0, x8, x9, lsl #2 bl _atomic_read ldp w9, w8, [x27, #32] ldp w11, w10, [x27, #24] ldr w12, [x27, #20] stp w11, w12, [sp, #68] stp w9, w10, [sp, #60] stp w0, w8, [sp, #52] stp w20, w21, [sp, #44] stp w25, w19, [sp, #36] stp w24, w28, [sp, #28] stp w22, w23, [sp, #20] Lloh12: adrp x2, l_.str@PAGE Lloh13: add x2, x2, l_.str@PAGEOFF ldr w8, [sp, #84] ; 4-byte Folded Reload stp w8, w26, [sp, #12] ldr w8, [sp, #88] ; 4-byte Folded Reload str w8, [sp, #8] ldr w8, [sp, #92] ; 4-byte Folded Reload str w8, [sp, #4] ldp w8, w7, [sp, #96] ; 8-byte Folded Reload str w8, [sp] ldur x0, [x29, #-104] ; 8-byte Folded Reload ldur w1, [x29, #-92] ; 4-byte Folded Reload ldur w3, [x29, #-108] ; 4-byte Folded Reload ldp w5, w4, [sp, #108] ; 8-byte Folded Reload ldr w6, [sp, #104] ; 4-byte Folded Reload bl _snprintf mov w8, #1 ldur x9, [x29, #-88] ; 8-byte Folded Reload str w8, [x9] ; kill: def $w0 killed $w0 killed $x0 ldp x29, x30, [sp, #224] ; 16-byte Folded Reload ldp x20, x19, [sp, #208] ; 16-byte Folded Reload ldp x22, x21, [sp, #192] ; 16-byte Folded Reload ldp x24, x23, [sp, #176] ; 16-byte Folded Reload ldp x26, x25, [sp, #160] ; 16-byte Folded Reload ldp x28, x27, [sp, #144] ; 16-byte Folded Reload add sp, sp, #240 ret .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "TX VI priority ok int: %lu\nTX VI priority error int: %lu\nTX VO priority ok int: %lu\nTX VO priority error int: %lu\nTX BE priority ok int: %lu\nTX BE priority error int: %lu\nTX BK priority ok int: %lu\nTX BK priority error int: %lu\nTX MANAGE priority ok int: %lu\nTX MANAGE priority error int: %lu\nTX BEACON priority ok int: %lu\nTX BEACON priority error int: %lu\nTX queue resume: %lu\nTX queue stopped?: %d\nTX fifo overflow: %lu\nTX VI queue: %d\nTX VO queue: %d\nTX BE queue: %d\nTX BK queue: %d\nTX VI dropped: %lu\nTX VO dropped: %lu\nTX BE dropped: %lu\nTX BK dropped: %lu\nTX total data packets %lu\n" .comm _VI_PRIORITY,8,3 ; @VI_PRIORITY .comm _VO_PRIORITY,8,3 ; @VO_PRIORITY .comm _BE_PRIORITY,8,3 ; @BE_PRIORITY .comm _BK_PRIORITY,8,3 ; @BK_PRIORITY .no_dead_strip _proc_get_stats_tx .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_proc_get_stats_tx.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function walIndexAppend _walIndexAppend: ## @walIndexAppend .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -80(%rbp) ## 8-byte Spill movq %rsi, %rbx movq %rdi, %r12 movq %rsi, %rdi callq _walFramePage leaq -64(%rbp), %rdx movq %r12, %rdi movl %eax, %esi callq _walHashGet movl %eax, %r15d movq _SQLITE_OK@GOTPCREL(%rip), %rax cmpl (%rax), %r15d jne LBB0_11 ## %bb.1: movq -64(%rbp), %rcx movq %rbx, %r13 movq %rcx, -72(%rbp) ## 8-byte Spill subq %rcx, %r13 movq _HASHTABLE_NSLOT@GOTPCREL(%rip), %r14 movl (%r14), %eax movl %eax, %ecx shrl $31, %ecx addl %eax, %ecx sarl %ecx incl %ecx xorl %edi, %edi cmpl %r13d, %ecx setge %dil callq _assert cmpl $1, %r13d jne LBB0_3 ## %bb.2: movl (%r14), %edx shlq $2, %rdx addq -56(%rbp), %rdx movq -48(%rbp), %rdi addq $8, %rdi subq %rdi, %rdx shrq $2, %rdx xorl %esi, %esi ## kill: def $edx killed $edx killed $rdx callq _memset LBB0_3: movq -48(%rbp), %rax movslq %r13d, %r14 cmpq $0, (%rax,%r14,8) je LBB0_5 ## %bb.4: movq %r12, %rdi callq _walCleanupHash movq -48(%rbp), %rax xorl %edi, %edi cmpq $0, (%rax,%r14,8) sete %dil callq _assert LBB0_5: movq -80(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi callq _walHash movq -56(%rbp), %rdx movslq %eax, %rcx cmpl $0, (%rdx,%rcx,4) je LBB0_9 ## %bb.6: notl %ebx addl -72(%rbp), %ebx ## 4-byte Folded Reload .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 incl %ebx je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movl %eax, %edi callq _walNextHash movq -56(%rbp), %rdx movslq %eax, %rcx cmpl $0, (%rdx,%rcx,4) jne LBB0_7 LBB0_9: movq -48(%rbp), %rax movq %r12, (%rax,%r14,8) movq -56(%rbp), %rax movl %r13d, (%rax,%rcx,4) jmp LBB0_11 LBB0_10: movq _SQLITE_CORRUPT_BKPT@GOTPCREL(%rip), %rax movl (%rax), %r15d LBB0_11: movl %r15d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SQLITE_OK,4,2 ## @SQLITE_OK .comm _HASHTABLE_NSLOT,4,2 ## @HASHTABLE_NSLOT .comm _SQLITE_CORRUPT_BKPT,4,2 ## @SQLITE_CORRUPT_BKPT .no_dead_strip _walIndexAppend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function walIndexAppend _walIndexAppend: ; @walIndexAppend .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, x2 mov x21, x1 mov x22, x0 mov x0, x1 bl _walFramePage mov x1, x0 add x2, sp, #8 mov x0, x22 bl _walHashGet mov x20, x0 Lloh0: adrp x8, _SQLITE_OK@GOTPAGE Lloh1: ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w0, w8 b.ne LBB0_12 ; %bb.1: ldr x24, [sp, #8] Lloh3: adrp x25, _HASHTABLE_NSLOT@GOTPAGE Lloh4: ldr x25, [x25, _HASHTABLE_NSLOT@GOTPAGEOFF] ldr w8, [x25] cmp w8, #0 cinc w8, w8, lt asr w8, w8, #1 add w8, w8, #1 sub x23, x21, x24 cmp w8, w23 cset w0, ge bl _assert cmp w23, #1 b.ne LBB0_3 ; %bb.2: ldr w8, [x25] ldp x9, x10, [sp, #16] add x8, x9, x8, lsl #2 add x0, x10, #8 sub x8, x8, x0 lsr x2, x8, #2 mov w1, #0 ; kill: def $w2 killed $w2 killed $x2 bl _memset LBB0_3: ldr x8, [sp, #24] sxtw x25, w23 sbfiz x9, x23, #3, #32 ldr x8, [x8, x9] cbz x8, LBB0_5 ; %bb.4: mov x0, x22 bl _walCleanupHash ldr x8, [sp, #24] ldr x8, [x8, x25, lsl #3] cmp x8, #0 cset w0, eq bl _assert LBB0_5: mov x0, x19 bl _walHash ; kill: def $w0 killed $w0 def $x0 ldr x8, [sp, #16] ldr w8, [x8, w0, sxtw #2] cbz w8, LBB0_10 ; %bb.6: mvn w8, w21 add w21, w8, w24 LBB0_7: ; =>This Inner Loop Header: Depth=1 adds w21, w21, #1 b.hs LBB0_11 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 ; kill: def $w0 killed $w0 killed $x0 bl _walNextHash ; kill: def $w0 killed $w0 def $x0 ldr x8, [sp, #16] ldr w8, [x8, w0, sxtw #2] cbnz w8, LBB0_7 ; %bb.9: ; kill: def $w0 killed $w0 killed $x0 def $x0 LBB0_10: sxtw x8, w0 ldr x9, [sp, #24] str x19, [x9, x25, lsl #3] ldr x9, [sp, #16] str w23, [x9, x8, lsl #2] b LBB0_12 LBB0_11: Lloh5: adrp x8, _SQLITE_CORRUPT_BKPT@GOTPAGE Lloh6: ldr x8, [x8, _SQLITE_CORRUPT_BKPT@GOTPAGEOFF] Lloh7: ldr w20, [x8] LBB0_12: mov x0, x20 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _SQLITE_OK,4,2 ; @SQLITE_OK .comm _HASHTABLE_NSLOT,4,2 ; @HASHTABLE_NSLOT .comm _SQLITE_CORRUPT_BKPT,4,2 ; @SQLITE_CORRUPT_BKPT .no_dead_strip _walIndexAppend .subsections_via_symbols
AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_walIndexAppend.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ltq_ptm_remove _ltq_ptm_remove: ## @ltq_ptm_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq _ifx_mei_atm_showtime_enter@GOTPCREL(%rip), %rax movq $0, (%rax) movq _ifx_mei_atm_showtime_exit@GOTPCREL(%rip), %rax movq $0, (%rax) xorl %eax, %eax callq _proc_file_delete xorl %edi, %edi callq _ifx_pp32_stop movq _PPE_MAILBOX_IGU1_INT@GOTPCREL(%rip), %rax movl (%rax), %edi movq _g_ptm_priv_data@GOTPCREL(%rip), %rsi callq _free_irq movq _g_net_dev@GOTPCREL(%rip), %rbx movq (%rbx), %rdi callq _ARRAY_SIZE testl %eax, %eax js LBB0_3 ## %bb.1: movq $-1, %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rax movq 8(%rax,%r14,8), %rdi callq _unregister_netdev movq (%rbx), %rdi callq _ARRAY_SIZE cltq incq %r14 cmpq %rax, %r14 jl LBB0_2 LBB0_3: movq (%rbx), %rdi callq _ARRAY_SIZE testl %eax, %eax jle LBB0_6 ## %bb.4: xorl %r14d, %r14d .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rax movq (%rax,%r14,8), %rdi callq _free_netdev movq (%rbx), %rax movq $0, (%rax,%r14,8) incq %r14 movq (%rbx), %rdi callq _ARRAY_SIZE cltq cmpq %rax, %r14 jl LBB0_5 LBB0_6: xorl %eax, %eax callq _ifx_ptm_uninit_chip xorl %eax, %eax callq _clear_priv_data xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ifx_mei_atm_showtime_enter,8,3 ## @ifx_mei_atm_showtime_enter .comm _ifx_mei_atm_showtime_exit,8,3 ## @ifx_mei_atm_showtime_exit .comm _PPE_MAILBOX_IGU1_INT,4,2 ## @PPE_MAILBOX_IGU1_INT .comm _g_ptm_priv_data,4,2 ## @g_ptm_priv_data .comm _g_net_dev,8,3 ## @g_net_dev .no_dead_strip _ltq_ptm_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ltq_ptm_remove _ltq_ptm_remove: ; @ltq_ptm_remove .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, _ifx_mei_atm_showtime_enter@GOTPAGE Lloh1: ldr x8, [x8, _ifx_mei_atm_showtime_enter@GOTPAGEOFF] Lloh2: str xzr, [x8] Lloh3: adrp x8, _ifx_mei_atm_showtime_exit@GOTPAGE Lloh4: ldr x8, [x8, _ifx_mei_atm_showtime_exit@GOTPAGEOFF] Lloh5: str xzr, [x8] bl _proc_file_delete mov w0, #0 ; =0x0 bl _ifx_pp32_stop Lloh6: adrp x8, _PPE_MAILBOX_IGU1_INT@GOTPAGE Lloh7: ldr x8, [x8, _PPE_MAILBOX_IGU1_INT@GOTPAGEOFF] Lloh8: ldr w0, [x8] Lloh9: adrp x1, _g_ptm_priv_data@GOTPAGE Lloh10: ldr x1, [x1, _g_ptm_priv_data@GOTPAGEOFF] bl _free_irq Lloh11: adrp x19, _g_net_dev@GOTPAGE Lloh12: ldr x19, [x19, _g_net_dev@GOTPAGEOFF] ldr x0, [x19] bl _ARRAY_SIZE tbnz w0, #31, LBB0_3 ; %bb.1: mov x20, #0 ; =0x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] ldr x0, [x8, x20, lsl #3] bl _unregister_netdev add x21, x20, #1 ldr x0, [x19] bl _ARRAY_SIZE cmp x20, w0, sxtw mov x20, x21 b.lt LBB0_2 LBB0_3: ldr x0, [x19] bl _ARRAY_SIZE cmp w0, #1 b.lt LBB0_6 ; %bb.4: mov x20, #0 ; =0x0 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] ldr x0, [x8, x20, lsl #3] bl _free_netdev ldr x8, [x19] str xzr, [x8, x20, lsl #3] add x20, x20, #1 ldr x0, [x19] bl _ARRAY_SIZE cmp x20, w0, sxtw b.lt LBB0_5 LBB0_6: bl _ifx_ptm_uninit_chip bl _clear_priv_data mov w0, #0 ; =0x0 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 Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ifx_mei_atm_showtime_enter,8,3 ; @ifx_mei_atm_showtime_enter .comm _ifx_mei_atm_showtime_exit,8,3 ; @ifx_mei_atm_showtime_exit .comm _PPE_MAILBOX_IGU1_INT,4,2 ; @PPE_MAILBOX_IGU1_INT .comm _g_ptm_priv_data,4,2 ; @g_ptm_priv_data .comm _g_net_dev,8,3 ; @g_net_dev .no_dead_strip _ltq_ptm_remove .subsections_via_symbols
assembly_file_25267.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function mac_vmode_to_var LCPI0_0: .long 8 ## 0x8 .long 8 ## 0x8 .long 16 ## 0x10 .long 8 ## 0x8 LCPI0_1: .long 24 ## 0x18 .long 8 ## 0x8 .long 8 ## 0x8 .long 0 ## 0x0 LCPI0_2: .long 5 ## 0x5 .long 0 ## 0x0 .long 5 ## 0x5 .long 5 ## 0x5 LCPI0_3: .long 8 ## 0x8 .long 0 ## 0x0 .long 0 ## 0x0 .long 8 ## 0x8 .section __TEXT,__text,regular,pure_instructions .globl _mac_vmode_to_var .p2align 4, 0x90 _mac_vmode_to_var: ## @mac_vmode_to_var .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 _mac_modes@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax), %ecx cmpl $-1, %ecx je LBB0_5 ## %bb.1: movq %rdx, %rbx movl %esi, %r14d addq $16, %rax .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpl %edi, %ecx je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl (%rax), %ecx addq $16, %rax cmpl $-1, %ecx jne LBB0_2 jmp LBB0_5 LBB0_4: movq -8(%rax), %r15 testq %r15, %r15 je LBB0_5 ## %bb.6: movq %rbx, %rdi xorl %esi, %esi movl $96, %edx callq _memset cmpl $130, %r14d je LBB0_11 ## %bb.7: cmpl $129, %r14d je LBB0_10 ## %bb.8: cmpl $128, %r14d jne LBB0_5 ## %bb.9: movl $8, (%rbx) movabsq $34359738368, %rax ## imm = 0x800000000 movq %rax, 88(%rbx) movaps LCPI0_3(%rip), %xmm0 ## xmm0 = [8,0,0,8] jmp LBB0_12 LBB0_5: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_14: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_11: movl $16, (%rbx) movabsq $21474836490, %rax ## imm = 0x50000000A movq %rax, 88(%rbx) movaps LCPI0_2(%rip), %xmm0 ## xmm0 = [5,0,5,5] LBB0_12: movups %xmm0, 72(%rbx) jmp LBB0_13 LBB0_10: movl $32, (%rbx) movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [8,8,16,8] movups %xmm0, 80(%rbx) movaps LCPI0_1(%rip), %xmm0 ## xmm0 = [24,8,8,0] movups %xmm0, 64(%rbx) LBB0_13: movq 36(%r15), %xmm0 ## xmm0 = mem[0],zero pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1] movdqu %xmm0, 48(%rbx) movq $-1, 4(%rbx) movl 32(%r15), %eax movl %eax, 44(%rbx) movups 16(%r15), %xmm0 movups %xmm0, 28(%rbx) movups (%r15), %xmm0 movups %xmm0, 12(%rbx) xorl %eax, %eax jmp LBB0_14 .cfi_endproc ## -- End function .comm _mac_modes,8,3 ## @mac_modes .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function mac_vmode_to_var lCPI0_0: .long 8 ; 0x8 .long 8 ; 0x8 .long 16 ; 0x10 .long 8 ; 0x8 lCPI0_1: .long 24 ; 0x18 .long 8 ; 0x8 .long 8 ; 0x8 .long 0 ; 0x0 lCPI0_3: .long 5 ; 0x5 .long 0 ; 0x0 .long 5 ; 0x5 .long 5 ; 0x5 lCPI0_5: .long 8 ; 0x8 .long 0 ; 0x0 .long 0 ; 0x0 .long 8 ; 0x8 .section __TEXT,__literal8,8byte_literals .p2align 3 lCPI0_2: .long 10 ; 0xa .long 5 ; 0x5 lCPI0_4: .long 0 ; 0x0 .long 8 ; 0x8 .section __TEXT,__text,regular,pure_instructions .globl _mac_vmode_to_var .p2align 2 _mac_vmode_to_var: ; @mac_vmode_to_var .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, _mac_modes@GOTPAGE Lloh1: ldr x8, [x8, _mac_modes@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w9, [x8] cmn w9, #1 b.eq LBB0_9 ; %bb.1: mov x19, x2 mov x20, x1 add x8, x8, #16 LBB0_2: ; =>This Inner Loop Header: Depth=1 cmp w9, w0 b.eq LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr w9, [x8], #16 cmn w9, #1 b.ne LBB0_2 b LBB0_9 LBB0_4: ldur x21, [x8, #-8] cbz x21, LBB0_9 ; %bb.5: mov x0, x19 mov w1, #0 mov w2, #96 bl _memset cmp w20, #130 b.eq LBB0_11 ; %bb.6: cmp w20, #129 b.eq LBB0_13 ; %bb.7: cmp w20, #128 b.ne LBB0_9 ; %bb.8: mov w8, #8 str w8, [x19] Lloh3: adrp x8, lCPI0_4@PAGE Lloh4: ldr d0, [x8, lCPI0_4@PAGEOFF] str d0, [x19, #88] Lloh5: adrp x8, lCPI0_5@PAGE Lloh6: ldr q0, [x8, lCPI0_5@PAGEOFF] b LBB0_12 LBB0_9: Lloh7: adrp x8, _EINVAL@GOTPAGE Lloh8: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh9: ldr w8, [x8] neg w0, w8 LBB0_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_11: mov w8, #16 str w8, [x19] Lloh10: adrp x8, lCPI0_2@PAGE Lloh11: ldr d0, [x8, lCPI0_2@PAGEOFF] str d0, [x19, #88] Lloh12: adrp x8, lCPI0_3@PAGE Lloh13: ldr q0, [x8, lCPI0_3@PAGEOFF] LBB0_12: add x8, x19, #72 b LBB0_14 LBB0_13: mov w8, #32 str w8, [x19] Lloh14: adrp x8, lCPI0_0@PAGE Lloh15: ldr q0, [x8, lCPI0_0@PAGEOFF] str q0, [x19, #80] Lloh16: adrp x8, lCPI0_1@PAGE Lloh17: ldr q0, [x8, lCPI0_1@PAGEOFF] add x8, x19, #64 LBB0_14: mov w0, #0 str q0, [x8] ldur d0, [x21, #36] mov.d v0[1], v0[0] str q0, [x19, #48] movi.2d v0, #0xffffffffffffffff stur d0, [x19, #4] ldr w8, [x21, #32] str w8, [x19, #44] ldr q0, [x21, #16] stur q0, [x19, #28] ldr q0, [x21] stur q0, [x19, #12] b LBB0_10 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdr Lloh5, Lloh6 .loh AdrpAdrp Lloh3, Lloh5 .loh AdrpLdr Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdr Lloh12, Lloh13 .loh AdrpAdrp Lloh10, Lloh12 .loh AdrpLdr Lloh10, Lloh11 .loh AdrpLdr Lloh16, Lloh17 .loh AdrpAdrp Lloh14, Lloh16 .loh AdrpLdr Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _mac_modes,8,3 ; @mac_modes .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/video/extr_macmodes.c_mac_vmode_to_var.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smu7_voltage_control _smu7_voltage_control: ## @smu7_voltage_control .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rcx movq _SMU7_VOLTAGE_CONTROL_NONE@GOTPCREL(%rip), %rax movq (%rax), %rdx xorl %eax, %eax cmpq (%rcx), %rdx setne %al popq %rbp retq .cfi_endproc ## -- End function .comm _SMU7_VOLTAGE_CONTROL_NONE,8,3 ## @SMU7_VOLTAGE_CONTROL_NONE .no_dead_strip _smu7_voltage_control .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function smu7_voltage_control _smu7_voltage_control: ; @smu7_voltage_control .cfi_startproc ; %bb.0: Lloh0: adrp x8, _SMU7_VOLTAGE_CONTROL_NONE@GOTPAGE Lloh1: ldr x8, [x8, _SMU7_VOLTAGE_CONTROL_NONE@GOTPAGEOFF] ldr x9, [x0] Lloh2: ldr x8, [x8] ldr x9, [x9] cmp x8, x9 cset w0, ne ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SMU7_VOLTAGE_CONTROL_NONE,8,3 ; @SMU7_VOLTAGE_CONTROL_NONE .no_dead_strip _smu7_voltage_control .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu7_hwmgr.c_smu7_voltage_control.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _retro_get_perf_count_libretro ## -- Begin function retro_get_perf_count_libretro .p2align 4, 0x90 _retro_get_perf_count_libretro: ## @retro_get_perf_count_libretro .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _perf_ptr_libretro@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _perf_ptr_libretro,4,2 ## @perf_ptr_libretro .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _retro_get_perf_count_libretro ; -- Begin function retro_get_perf_count_libretro .p2align 2 _retro_get_perf_count_libretro: ; @retro_get_perf_count_libretro .cfi_startproc ; %bb.0: Lloh0: adrp x8, _perf_ptr_libretro@GOTPAGE Lloh1: ldr x8, [x8, _perf_ptr_libretro@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _perf_ptr_libretro,4,2 ; @perf_ptr_libretro .subsections_via_symbols
AnghaBench/RetroArch/extr_performance_counters.c_retro_get_perf_count_libretro.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function handle_case_0x501 _handle_case_0x501: ## @handle_case_0x501 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movl %edx, %ebx movl %esi, %r12d movq %rdi, %r14 leal 1(%r12), %edi movl 12(%r14), %esi callq _canonicalize movl %eax, %r13d leal 1(%r15), %edi movl 8(%r14), %esi callq _canonicalize movq (%r14), %rcx movslq %r13d, %rdx movq (%rcx,%rdx,8), %rdx movq %rbx, -56(%rbp) ## 8-byte Spill movslq %ebx, %rbx movq (%rdx,%rbx,8), %rdx movq %r15, -48(%rbp) ## 8-byte Spill movslq %r15d, %r13 movl (%rdx,%r13,4), %edi cltq movl (%rdx,%rax,4), %esi movslq %r12d, %r15 movq (%rcx,%r15,8), %rcx movq (%rcx,%rbx,8), %rcx movl (%rcx,%rax,4), %edx callq _tfind_face_corner movq %r14, %rdi movl %r15d, %esi movl %ebx, %edx movl %r13d, %ecx movl %eax, %r8d callq _install_tswitch movq %rax, %rcx movl $1, %eax testq %rcx, %rcx jne LBB0_2 ## %bb.1: movq %r14, %rdi movl $1281, %esi ## imm = 0x501 movl %r12d, %edx movq -56(%rbp), %rcx ## 8-byte Reload movq -48(%rbp), %r8 ## 8-byte Reload movl %r12d, %r9d pushq %r8 pushq %rcx callq _log_no_crnr addq $16, %rsp xorl %eax, %eax LBB0_2: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _handle_case_0x501 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function handle_case_0x501 _handle_case_0x501: ; @handle_case_0x501 .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 add w0, w1, #1 ldr w1, [x22, #12] bl _canonicalize mov x23, x0 add w0, w19, #1 ldr w1, [x22, #8] bl _canonicalize ; kill: def $w0 killed $w0 def $x0 ldr x9, [x22] ldr x8, [x9, w23, sxtw #3] sbfiz x10, x20, #3, #32 ldr x11, [x8, x10] ldr w8, [x11, w19, sxtw #2] sbfiz x12, x0, #2, #32 ldr w1, [x11, x12] ldr x9, [x9, w21, sxtw #3] ldr x9, [x9, x10] ldr w2, [x9, x12] mov x0, x8 bl _tfind_face_corner mov x4, x0 mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 bl _install_tswitch cbz x0, LBB0_2 ; %bb.1: mov w0, #1 b LBB0_3 LBB0_2: mov x0, x22 mov w1, #1281 mov x2, x21 mov x3, x20 mov x4, x19 mov x5, x21 mov x6, x20 mov x7, x19 bl _log_no_crnr 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 ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _handle_case_0x501 .subsections_via_symbols
AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_handle_case_0x501.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function indicate_mouse_layer_state _indicate_mouse_layer_state: ## @indicate_mouse_layer_state .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, %esi movl $3, %edi popq %rbp jmp _indicate_using_led ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _indicate_mouse_layer_state .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function indicate_mouse_layer_state _indicate_mouse_layer_state: ; @indicate_mouse_layer_state .cfi_startproc ; %bb.0: mov x1, x0 mov w0, #3 b _indicate_using_led .cfi_endproc ; -- End function .no_dead_strip _indicate_mouse_layer_state .subsections_via_symbols
AnghaBench/qmk_firmware/layouts/community/ergodox/videck/extr_keymap.c_indicate_mouse_layer_state.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _kuhl_m_lsadump_getSyskey ## -- Begin function kuhl_m_lsadump_getSyskey .p2align 4, 0x90 _kuhl_m_lsadump_getSyskey: ## @kuhl_m_lsadump_getSyskey .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 movl %esi, -88(%rbp) ## 4-byte Spill movl %edi, %r14d movq %rsp, -96(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %ebx movq _SYSKEY_LENGTH@GOTPCREL(%rip), %rax movl (%rax), %eax shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 movq _kuhl_m_lsadump_SYSKEY_NAMES@GOTPCREL(%rip), %r12 movq (%r12), %rdi callq _ARRAYSIZE testq %rax, %rax jne LBB0_2 ## %bb.1: testl %ebx, %ebx je LBB0_10 LBB0_2: movl $1, %r13d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %ebx movq (%r12), %rax movl -4(%rax,%r13,4), %edx movq _KEY_READ@GOTPCREL(%rip), %rax movl (%rax), %r8d movl %r14d, %edi movl -88(%rbp), %esi ## 4-byte Reload xorl %ecx, %ecx leaq -84(%rbp), %r9 callq _kull_m_registry_RegOpenKeyEx testq %rax, %rax je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl %r14d, %edi movq $9, -104(%rbp) movl -84(%rbp), %esi subq $64, %rsp xorps %xmm0, %xmm0 movups %xmm0, 32(%rsp) movups %xmm0, 16(%rsp) movups %xmm0, (%rsp) movq $0, 48(%rsp) leaq -80(%rbp), %r12 movq %r12, %rdx leaq -104(%rbp), %rcx xorl %r8d, %r8d xorl %r9d, %r9d callq _kull_m_registry_RegQueryInfoKey addq $64, %rsp testq %rax, %rax je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq %r12, %rdi leaq l_.str(%rip), %rsi movq %r15, %rdx callq _swscanf_s xorl %ebx, %ebx cmpl $-1, %eax setne %bl LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movl -84(%rbp), %esi movl %r14d, %edi callq _kull_m_registry_RegCloseKey movq _kuhl_m_lsadump_SYSKEY_NAMES@GOTPCREL(%rip), %r12 jmp LBB0_8 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 leaq l_.str.1(%rip), %rdi callq _PRINT_ERROR LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movq (%r12), %rdi callq _ARRAYSIZE leaq 1(%r13), %rcx addq $64, %r15 cmpq %rax, %r13 movq %rcx, %r13 jb LBB0_3 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 movq %rcx, %r13 testl %ebx, %ebx jne LBB0_3 LBB0_10: movq -96(%rbp), %rsp ## 8-byte Reload movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_12 ## %bb.11: xorl %eax, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .comm _SYSKEY_LENGTH,4,2 ## @SYSKEY_LENGTH .comm _kuhl_m_lsadump_SYSKEY_NAMES,8,3 ## @kuhl_m_lsadump_SYSKEY_NAMES .comm _FALSE,4,2 ## @FALSE .comm _KEY_READ,4,2 ## @KEY_READ .section __TEXT,__const .p2align 2, 0x0 ## @.str l_.str: .long 37 ## 0x25 .long 120 ## 0x78 .long 0 ## 0x0 .p2align 2, 0x0 ## @.str.1 l_.str.1: .long 76 ## 0x4c .long 83 ## 0x53 .long 65 ## 0x41 .long 32 ## 0x20 .long 75 ## 0x4b .long 101 ## 0x65 .long 121 ## 0x79 .long 32 ## 0x20 .long 67 ## 0x43 .long 108 ## 0x6c .long 97 ## 0x61 .long 115 ## 0x73 .long 115 ## 0x73 .long 32 ## 0x20 .long 114 ## 0x72 .long 101 ## 0x65 .long 97 ## 0x61 .long 100 ## 0x64 .long 32 ## 0x20 .long 101 ## 0x65 .long 114 ## 0x72 .long 114 ## 0x72 .long 111 ## 0x6f .long 114 ## 0x72 .long 10 ## 0xa .long 0 ## 0x0 .comm _kuhl_m_lsadump_SYSKEY_PERMUT,8,3 ## @kuhl_m_lsadump_SYSKEY_PERMUT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _kuhl_m_lsadump_getSyskey ; -- Begin function kuhl_m_lsadump_getSyskey .p2align 2 _kuhl_m_lsadump_getSyskey: ; @kuhl_m_lsadump_getSyskey .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 mov x8, sp stur x8, [x29, #-136] ; 8-byte Folded Spill Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x8, _TRUE@GOTPAGE Lloh4: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh5: ldr w22, [x8] Lloh6: adrp x8, _SYSKEY_LENGTH@GOTPAGE Lloh7: ldr x8, [x8, _SYSKEY_LENGTH@GOTPAGEOFF] Lloh8: ldr w8, [x8] lsl x8, x8, #3 mov x9, x8 Lloh9: adrp x16, ___chkstk_darwin@GOTPAGE Lloh10: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0xffffffff0 sub x21, x9, x8 mov sp, x21 Lloh11: adrp x25, _kuhl_m_lsadump_SYSKEY_NAMES@GOTPAGE Lloh12: ldr x25, [x25, _kuhl_m_lsadump_SYSKEY_NAMES@GOTPAGEOFF] ldr x0, [x25] bl _ARRAYSIZE cmp x0, #0 ccmp w22, #0, #0, eq b.eq LBB0_8 ; %bb.1: mov x26, #0 ; =0x0 Lloh13: adrp x27, _FALSE@GOTPAGE Lloh14: ldr x27, [x27, _FALSE@GOTPAGEOFF] Lloh15: adrp x28, _KEY_READ@GOTPAGE Lloh16: ldr x28, [x28, _KEY_READ@GOTPAGEOFF] mov w24, #9 ; =0x9 Lloh17: adrp x23, l_.str@PAGE Lloh18: add x23, x23, l_.str@PAGEOFF b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 Lloh19: adrp x0, l_.str.1@PAGE Lloh20: add x0, x0, l_.str.1@PAGEOFF bl _PRINT_ERROR LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x26, x26, #1 ldr x0, [x25] bl _ARRAYSIZE add x21, x21, #64 cmp x26, x0 ccmp w22, #0, #0, hs b.eq LBB0_8 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w22, [x27] ldr x8, [x25] ldr w2, [x8, x26, lsl #2] ldr w4, [x28] sub x5, x29, #120 mov x0, x20 mov x1, x19 mov w3, #0 ; =0x0 bl _kull_m_registry_RegOpenKeyEx cbz x0, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 stur x24, [x29, #-128] ldur w1, [x29, #-120] sub sp, sp, #48 str xzr, [sp, #32] sub x2, x29, #116 sub x3, x29, #128 movi.2d v0, #0000000000000000 stp q0, q0, [sp] mov x0, x20 mov x4, #0 ; =0x0 mov x5, #0 ; =0x0 mov x6, #0 ; =0x0 mov x7, #0 ; =0x0 bl _kull_m_registry_RegQueryInfoKey add sp, sp, #48 cbz x0, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 sub x0, x29, #116 mov x1, x23 mov x2, x21 bl _swscanf_s cmn w0, #1 cset w22, ne LBB0_7: ; in Loop: Header=BB0_4 Depth=1 ldur w1, [x29, #-120] mov x0, x20 bl _kull_m_registry_RegCloseKey b LBB0_3 LBB0_8: ldur x8, [x29, #-136] ; 8-byte Folded Reload mov sp, x8 ldur x8, [x29, #-88] Lloh21: adrp x9, ___stack_chk_guard@GOTPAGE Lloh22: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh23: ldr x9, [x9] cmp x9, x8 b.ne LBB0_10 ; %bb.9: mov w0, #0 ; =0x0 sub sp, x29, #80 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_10: bl ___stack_chk_fail .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGot Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .comm _SYSKEY_LENGTH,4,2 ; @SYSKEY_LENGTH .comm _kuhl_m_lsadump_SYSKEY_NAMES,8,3 ; @kuhl_m_lsadump_SYSKEY_NAMES .comm _FALSE,4,2 ; @FALSE .comm _KEY_READ,4,2 ; @KEY_READ .section __TEXT,__const .p2align 2, 0x0 ; @.str l_.str: .long 37 ; 0x25 .long 120 ; 0x78 .long 0 ; 0x0 .p2align 2, 0x0 ; @.str.1 l_.str.1: .long 76 ; 0x4c .long 83 ; 0x53 .long 65 ; 0x41 .long 32 ; 0x20 .long 75 ; 0x4b .long 101 ; 0x65 .long 121 ; 0x79 .long 32 ; 0x20 .long 67 ; 0x43 .long 108 ; 0x6c .long 97 ; 0x61 .long 115 ; 0x73 .long 115 ; 0x73 .long 32 ; 0x20 .long 114 ; 0x72 .long 101 ; 0x65 .long 97 ; 0x61 .long 100 ; 0x64 .long 32 ; 0x20 .long 101 ; 0x65 .long 114 ; 0x72 .long 114 ; 0x72 .long 111 ; 0x6f .long 114 ; 0x72 .long 10 ; 0xa .long 0 ; 0x0 .comm _kuhl_m_lsadump_SYSKEY_PERMUT,8,3 ; @kuhl_m_lsadump_SYSKEY_PERMUT .subsections_via_symbols
assembly_file_134165.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _redirect_fd ## -- Begin function redirect_fd .p2align 4, 0x90 _redirect_fd: ## @redirect_fd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx leaq L_.str(%rip), %rsi callq _popen testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %rdi callq _fileno testl %eax, %eax jle LBB0_4 ## %bb.5: movl %eax, %edi movl %r14d, %esi callq _dup2 movl %eax, %ecx xorl %eax, %eax cmpl $-1, %ecx jne LBB0_8 ## %bb.6: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.3(%rip), %rsi movl %r14d, %edx xorl %eax, %eax callq _fprintf jmp LBB0_7 LBB0_1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.1(%rip), %rsi jmp LBB0_2 LBB0_4: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.2(%rip), %rsi LBB0_2: movq %rbx, %rdx xorl %eax, %eax callq _fprintf LBB0_7: movl $-1, %eax LBB0_8: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx cmpl $3, %edi jg LBB1_2 ## %bb.1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq (%rbx), %rcx leaq L_.str.4(%rip), %rsi movq %rcx, %rdx xorl %eax, %eax callq _fprintf jmp LBB1_5 LBB1_2: movq 8(%rbx), %rdi movl $1, %esi callq _redirect_fd testl %eax, %eax jne LBB1_5 ## %bb.3: movq 16(%rbx), %rdi movl $2, %esi callq _redirect_fd testl %eax, %eax jne LBB1_5 ## %bb.4: movq 24(%rbx), %rdi addq $24, %rbx movq %rbx, %rsi callq _execvp LBB1_5: movl $-1, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "w" L_.str.1: ## @.str.1 .asciz "cannot start %s\n" L_.str.2: ## @.str.2 .asciz "cannot get fd of %s\n" L_.str.3: ## @.str.3 .asciz "cannot replace fd %d\n" L_.str.4: ## @.str.4 .asciz "usage: %s <stdout_cmd> <stderr_cmd> <cmd> <cmd args...>\nexample: %s \"logger -p daemon.info\" \"logger -p daemon.err\" ./some_server --param --param2 param2_value\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _redirect_fd ; -- Begin function redirect_fd .p2align 2 _redirect_fd: ; @redirect_fd .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _popen cbz x0, LBB0_4 ; %bb.1: bl _fileno cmp w0, #0 b.le LBB0_5 ; %bb.2: mov x1, x19 bl _dup2 cmn w0, #1 b.eq LBB0_6 ; %bb.3: mov w0, #0 b LBB0_8 LBB0_4: Lloh2: adrp x8, ___stderrp@GOTPAGE Lloh3: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh4: ldr x0, [x8] str x20, [sp] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF b LBB0_7 LBB0_5: Lloh7: adrp x8, ___stderrp@GOTPAGE Lloh8: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh9: ldr x0, [x8] str x20, [sp] Lloh10: adrp x1, l_.str.2@PAGE Lloh11: add x1, x1, l_.str.2@PAGEOFF b LBB0_7 LBB0_6: Lloh12: adrp x8, ___stderrp@GOTPAGE Lloh13: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh14: ldr x0, [x8] str x19, [sp] Lloh15: adrp x1, l_.str.3@PAGE Lloh16: add x1, x1, l_.str.3@PAGEOFF LBB0_7: bl _fprintf mov w0, #-1 LBB0_8: 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 AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 cmp w0, #3 b.gt LBB1_2 ; %bb.1: Lloh17: adrp x8, ___stderrp@GOTPAGE Lloh18: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh19: ldr x0, [x8] ldr x8, [x19] stp x8, x8, [sp] Lloh20: adrp x1, l_.str.4@PAGE Lloh21: add x1, x1, l_.str.4@PAGEOFF bl _fprintf b LBB1_5 LBB1_2: ldr x0, [x19, #8] mov w1, #1 bl _redirect_fd cbnz w0, LBB1_5 ; %bb.3: ldr x0, [x19, #16] mov w1, #2 bl _redirect_fd cbnz w0, LBB1_5 ; %bb.4: ldr x0, [x19, #24]! mov x1, x19 bl _execvp LBB1_5: mov w0, #-1 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 Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "w" l_.str.1: ; @.str.1 .asciz "cannot start %s\n" l_.str.2: ; @.str.2 .asciz "cannot get fd of %s\n" l_.str.3: ; @.str.3 .asciz "cannot replace fd %d\n" l_.str.4: ; @.str.4 .asciz "usage: %s <stdout_cmd> <stderr_cmd> <cmd> <cmd args...>\nexample: %s \"logger -p daemon.info\" \"logger -p daemon.err\" ./some_server --param --param2 param2_value\n" .subsections_via_symbols
the_stack_data/150141264.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function skeleton_g_input _skeleton_g_input: ## @skeleton_g_input .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 %rdx, %rbx callq _video_drvdata movl (%rax), %eax movl %eax, (%rbx) xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _skeleton_g_input .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function skeleton_g_input _skeleton_g_input: ; @skeleton_g_input .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 bl _video_drvdata ldr w8, [x0] str w8, [x19] mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _skeleton_g_input .subsections_via_symbols
AnghaBench/linux/samples/v4l/extr_v4l2-pci-skeleton.c_skeleton_g_input.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function change_pud_range _change_pud_range: ## @change_pud_range .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %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 %r9d, -48(%rbp) ## 4-byte Spill movl %r8d, -44(%rbp) ## 4-byte Spill movq %rcx, %rbx movq %rdx, %r15 movq %rdi, -56(%rbp) ## 8-byte Spill movq %rsi, %rdi movq %rdx, %rsi callq _pud_offset movq %rax, %r14 xorl %r13d, %r13d jmp LBB0_1 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 addq $4, %r14 movq %r12, %r15 cmpq %rbx, %r12 je LBB0_4 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movq %rbx, %rsi callq _pud_addr_end movq %rax, %r12 movq %r14, %rdi callq _pud_none_or_clear_bad testq %rax, %rax jne LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl 16(%rbp), %eax movl %eax, (%rsp) movq -56(%rbp), %rdi ## 8-byte Reload movq %r14, %rsi movq %r15, %rdx movq %r12, %rcx movl -44(%rbp), %r8d ## 4-byte Reload movl -48(%rbp), %r9d ## 4-byte Reload callq _change_pmd_range addq %rax, %r13 jmp LBB0_3 LBB0_4: movq %r13, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _change_pud_range .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function change_pud_range _change_pud_range: ; @change_pud_range .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, x6 mov x20, x5 mov x21, x4 mov x22, x3 mov x26, x2 mov x23, x0 mov x0, x1 mov x1, x2 bl _pud_offset mov x24, x0 mov x25, #0 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add x24, x24, #4 mov x26, x27 cmp x27, x22 b.eq LBB0_4 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x26 mov x1, x22 bl _pud_addr_end mov x27, x0 mov x0, x24 bl _pud_none_or_clear_bad cbnz x0, LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x0, x23 mov x1, x24 mov x2, x26 mov x3, x27 mov x4, x21 mov x5, x20 mov x6, x19 bl _change_pmd_range add x25, x0, x25 b LBB0_1 LBB0_4: mov x0, x25 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _change_pud_range .subsections_via_symbols
AnghaBench/linux/mm/extr_mprotect.c_change_pud_range.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _full_write ## -- Begin function full_write .p2align 4, 0x90 _full_write: ## @full_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 .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %r14d, %r14d testl %edx, %edx jle LBB0_5 ## %bb.1: movl %edx, %r15d movq %rsi, %rbx movl %edi, %r12d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl %r12d, %edi movq %rbx, %rsi movl %r15d, %edx callq _write testl %eax, %eax js LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %ecx addq %rcx, %rbx subl %eax, %r15d jg LBB0_2 jmp LBB0_5 LBB0_3: movl %eax, %r14d LBB0_5: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _full_write ; -- Begin function full_write .p2align 2 _full_write: ; @full_write .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 cmp w2, #1 b.lt LBB0_4 ; %bb.1: mov x19, x2 mov x20, x1 mov x21, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x20 mov x2, x19 bl _write tbnz w0, #31, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sub w19, w19, w0 add x20, x20, w0, uxtw cmp w19, #0 b.gt LBB0_2 LBB0_4: mov w0, #0 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/exploitdb/exploits/multiple/remote/extr_20519.c_full_write.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function write_packet _write_packet: ## @write_packet .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ENOSYS@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _AVERROR ## TAILCALL .cfi_endproc ## -- End function .comm _ENOSYS,4,2 ## @ENOSYS .no_dead_strip _write_packet .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function write_packet _write_packet: ; @write_packet .cfi_startproc ; %bb.0: Lloh0: adrp x8, _ENOSYS@GOTPAGE Lloh1: ldr x8, [x8, _ENOSYS@GOTPAGEOFF] Lloh2: ldr w0, [x8] b _AVERROR .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENOSYS,4,2 ; @ENOSYS .no_dead_strip _write_packet .subsections_via_symbols
AnghaBench/FFmpeg/libavformat/extr_uncodedframecrcenc.c_write_packet.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_str(%rip), %rdi callq _puts xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_str: ## @str .asciz "Hello, World!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_str: ; @str .asciz "Hello, World!" .subsections_via_symbols
the_stack_data/184517564.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sh_mmcif_multi_read _sh_mmcif_multi_read: ## @sh_mmcif_multi_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq (%rsi), %rbx cmpl $0, 8(%rbx) je LBB0_2 ## %bb.1: movq (%rbx), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.3: movq %rdi, %r14 movl 28(%rdi), %edi movq _MMCIF_CE_BLOCK_SET@GOTPCREL(%rip), %rax movl (%rax), %esi callq _sh_mmcif_readl movq _BLOCK_SIZE_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax movl %eax, (%r14) movq _MMCIF_WAIT_FOR_MREAD@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%r14) xorps %xmm0, %xmm0 movups %xmm0, 8(%r14) movq (%rbx), %rdi callq _sg_virt movl %eax, 4(%r14) movq _MMCIF_CE_INT_MASK@GOTPCREL(%rip), %rax movl (%rax), %esi movq _MASK_MBUFREN@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _sh_mmcif_bitset ## TAILCALL LBB0_2: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _MMCIF_CE_BLOCK_SET,4,2 ## @MMCIF_CE_BLOCK_SET .comm _BLOCK_SIZE_MASK,4,2 ## @BLOCK_SIZE_MASK .comm _MMCIF_WAIT_FOR_MREAD,4,2 ## @MMCIF_WAIT_FOR_MREAD .comm _MMCIF_CE_INT_MASK,4,2 ## @MMCIF_CE_INT_MASK .comm _MASK_MBUFREN,4,2 ## @MASK_MBUFREN .no_dead_strip _sh_mmcif_multi_read .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sh_mmcif_multi_read _sh_mmcif_multi_read: ; @sh_mmcif_multi_read .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x20, [x1] ldr w8, [x20, #8] cbz w8, LBB0_3 ; %bb.1: ldr x8, [x20] ldr w8, [x8] cbz w8, LBB0_3 ; %bb.2: mov x19, x0 ldr w0, [x0, #28] Lloh0: adrp x8, _MMCIF_CE_BLOCK_SET@GOTPAGE Lloh1: ldr x8, [x8, _MMCIF_CE_BLOCK_SET@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _sh_mmcif_readl Lloh3: adrp x8, _BLOCK_SIZE_MASK@GOTPAGE Lloh4: ldr x8, [x8, _BLOCK_SIZE_MASK@GOTPAGEOFF] Lloh5: ldr w8, [x8] and w8, w8, w0 Lloh6: adrp x9, _MMCIF_WAIT_FOR_MREAD@GOTPAGE Lloh7: ldr x9, [x9, _MMCIF_WAIT_FOR_MREAD@GOTPAGEOFF] str w8, [x19] Lloh8: ldr w8, [x9] str w8, [x19, #24] stp xzr, xzr, [x19, #8] ldr x0, [x20] bl _sg_virt str w0, [x19, #4] Lloh9: adrp x8, _MMCIF_CE_INT_MASK@GOTPAGE Lloh10: ldr x8, [x8, _MMCIF_CE_INT_MASK@GOTPAGEOFF] Lloh11: ldr w1, [x8] Lloh12: adrp x8, _MASK_MBUFREN@GOTPAGE Lloh13: ldr x8, [x8, _MASK_MBUFREN@GOTPAGEOFF] Lloh14: ldr w2, [x8] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _sh_mmcif_bitset LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MMCIF_CE_BLOCK_SET,4,2 ; @MMCIF_CE_BLOCK_SET .comm _BLOCK_SIZE_MASK,4,2 ; @BLOCK_SIZE_MASK .comm _MMCIF_WAIT_FOR_MREAD,4,2 ; @MMCIF_WAIT_FOR_MREAD .comm _MMCIF_CE_INT_MASK,4,2 ; @MMCIF_CE_INT_MASK .comm _MASK_MBUFREN,4,2 ; @MASK_MBUFREN .no_dead_strip _sh_mmcif_multi_read .subsections_via_symbols
AnghaBench/linux/drivers/mmc/host/extr_sh_mmcif.c_sh_mmcif_multi_read.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function import_file _import_file: ## @import_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -80(%rbp) ## 8-byte Spill movq %r8, %r13 movq %rcx, %rbx movq %rsi, %r15 movq %rdi, %r12 movq 24(%rbp), %r14 movq $0, -72(%rbp) movq %rdx, -64(%rbp) ## 8-byte Spill movq %rdx, %rdi movq %r14, %rsi callq _svn_path_check_valid movl %eax, %edi callq _SVN_ERR movq _SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -56(%rbp), %r9 movq %rbx, %rdi movq %r15, %rsi xorl %edx, %edx movq %r14, %r8 callq *16(%r12) movl %eax, %edi callq _SVN_ERR movq -80(%rbp), %rcx ## 8-byte Reload movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rcx) movq %r13, -88(%rbp) ## 8-byte Spill cmpq $0, (%r13) je LBB0_1 ## %bb.2: movq %r14, %rdi callq _apr_hash_make movq %rax, -48(%rbp) movq -64(%rbp), %r13 ## 8-byte Reload testq %rax, %rax jne LBB0_4 jmp LBB0_7 LBB0_1: movl (%rcx), %r8d movl 4(%rcx), %ecx leaq -48(%rbp), %rdi leaq -72(%rbp), %rsi movq -64(%rbp), %r13 ## 8-byte Reload movq %r13, %rdx movq 16(%rbp), %r9 pushq %r14 pushq %r14 callq _svn_client__get_paths_auto_props addq $16, %rsp movl %eax, %edi callq _SVN_ERR movq -48(%rbp), %rax testq %rax, %rax je LBB0_7 LBB0_4: movq %r14, %rdi movq %rax, %rsi callq _apr_hash_first testq %rax, %rax je LBB0_7 ## %bb.5: movq %rax, %rbx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _apr_hash_this_key movq %rax, %r15 movq %rbx, %rdi callq _apr_hash_this_val movq -56(%rbp), %rdi movq %r15, %rsi movq %rax, %rdx movq %r14, %rcx callq *8(%r12) movl %eax, %edi callq _SVN_ERR movq %rbx, %rdi callq _apr_hash_next movq %rax, %rbx testq %rax, %rax jne LBB0_6 LBB0_7: movq 16(%rbp), %rbx cmpq $0, 8(%rbx) je LBB0_9 ## %bb.8: movq _svn_wc_notify_commit_added@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r13, %rdi movq %r14, %rdx callq _svn_wc_create_notify movq _svn_node_file@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 20(%rax) movq -72(%rbp), %rcx movq %rcx, (%rax) movq _svn_wc_notify_state_inapplicable@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 12(%rax) movl %ecx, 16(%rax) movq _svn_wc_notify_lock_state_inapplicable@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 8(%rax) movl (%rbx), %edi movq %rax, %rsi movq %r14, %rdx callq *8(%rbx) LBB0_9: movq -88(%rbp), %rax ## 8-byte Reload cmpq $0, (%rax) je LBB0_11 ## %bb.10: movq -48(%rbp), %r15 movq _SVN_PROP_SPECIAL@GOTPCREL(%rip), %rax movq (%rax), %rbx movq _SVN_PROP_BOOLEAN_TRUE@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi callq _svn_string_create movq %r15, %rdi movq %rbx, %rsi movl %eax, %edx callq _svn_hash_sets movq 8(%r12), %r13 movq -56(%rbp), %r15 movq _SVN_PROP_SPECIAL@GOTPCREL(%rip), %rax movq (%rax), %rbx movq -48(%rbp), %rdi movq %rbx, %rsi callq _svn_hash_gets movq %r15, %rdi movq %rbx, %rsi movq %rax, %rdx movq %r14, %rcx callq *%r13 movq -64(%rbp), %r13 ## 8-byte Reload movl %eax, %edi callq _SVN_ERR LBB0_11: movq -56(%rbp), %rdx movq -48(%rbp), %r8 leaq -96(%rbp), %rdi movq %r13, %rsi movq %r12, %rcx movq %r14, %r9 callq _send_file_contents movl %eax, %edi callq _SVN_ERR movq -96(%rbp), %rdi movq %r14, %rsi callq _svn_checksum_to_cstring movq -56(%rbp), %rdi movq %rax, %rsi movq %r14, %rdx callq *(%r12) movl %eax, %edi callq _svn_error_trace addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SVN_INVALID_REVNUM,4,2 ## @SVN_INVALID_REVNUM .comm _TRUE,4,2 ## @TRUE .comm _svn_wc_notify_commit_added,4,2 ## @svn_wc_notify_commit_added .comm _svn_node_file,4,2 ## @svn_node_file .comm _svn_wc_notify_state_inapplicable,4,2 ## @svn_wc_notify_state_inapplicable .comm _svn_wc_notify_lock_state_inapplicable,4,2 ## @svn_wc_notify_lock_state_inapplicable .comm _SVN_PROP_SPECIAL,8,3 ## @SVN_PROP_SPECIAL .comm _SVN_PROP_BOOLEAN_TRUE,4,2 ## @SVN_PROP_BOOLEAN_TRUE .no_dead_strip _import_file .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function import_file _import_file: ; @import_file .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, x7 mov x23, x6 mov x24, x5 mov x22, x4 mov x25, x3 mov x21, x2 mov x26, x1 mov x20, x0 str xzr, [sp, #16] mov x0, x2 mov x1, x7 bl _svn_path_check_valid bl _SVN_ERR ldr x8, [x20, #16] Lloh0: adrp x9, _SVN_INVALID_REVNUM@GOTPAGE Lloh1: ldr x9, [x9, _SVN_INVALID_REVNUM@GOTPAGEOFF] Lloh2: ldr w3, [x9] add x5, sp, #24 mov x0, x25 mov x1, x26 mov x2, #0 mov x4, x19 blr x8 bl _SVN_ERR Lloh3: adrp x8, _TRUE@GOTPAGE Lloh4: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [x24, #8] ldr x8, [x22] cbz x8, LBB0_2 ; %bb.1: mov x0, x19 bl _apr_hash_make mov x1, x0 str x0, [sp] cbnz x1, LBB0_3 b LBB0_6 LBB0_2: ldp w4, w3, [x24] mov x0, sp add x1, sp, #16 mov x2, x21 mov x5, x23 mov x6, x19 mov x7, x19 bl _svn_client__get_paths_auto_props bl _SVN_ERR ldr x1, [sp] cbz x1, LBB0_6 LBB0_3: mov x0, x19 bl _apr_hash_first cbz x0, LBB0_6 ; %bb.4: mov x24, x0 LBB0_5: ; =>This Inner Loop Header: Depth=1 mov x0, x24 bl _apr_hash_this_key mov x25, x0 mov x0, x24 bl _apr_hash_this_val mov x2, x0 ldr x8, [x20, #8] ldr x0, [sp, #24] mov x1, x25 mov x3, x19 blr x8 bl _SVN_ERR mov x0, x24 bl _apr_hash_next mov x24, x0 cbnz x0, LBB0_5 LBB0_6: ldr x8, [x23, #8] cbz x8, LBB0_8 ; %bb.7: Lloh6: adrp x8, _svn_wc_notify_commit_added@GOTPAGE Lloh7: ldr x8, [x8, _svn_wc_notify_commit_added@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x0, x21 mov x2, x19 bl _svn_wc_create_notify mov x1, x0 Lloh9: adrp x8, _svn_node_file@GOTPAGE Lloh10: ldr x8, [x8, _svn_node_file@GOTPAGEOFF] Lloh11: ldr w8, [x8] ldr x9, [sp, #16] str x9, [x0] Lloh12: adrp x9, _svn_wc_notify_state_inapplicable@GOTPAGE Lloh13: ldr x9, [x9, _svn_wc_notify_state_inapplicable@GOTPAGEOFF] Lloh14: ldr w9, [x9] Lloh15: adrp x10, _svn_wc_notify_lock_state_inapplicable@GOTPAGE Lloh16: ldr x10, [x10, _svn_wc_notify_lock_state_inapplicable@GOTPAGEOFF] stp w9, w8, [x0, #16] Lloh17: ldr w8, [x10] stp w8, w9, [x0, #8] ldr x8, [x23, #8] ldr w0, [x23] mov x2, x19 blr x8 LBB0_8: ldr x8, [x22] cbz x8, LBB0_10 ; %bb.9: ldr x22, [sp] Lloh18: adrp x24, _SVN_PROP_SPECIAL@GOTPAGE Lloh19: ldr x24, [x24, _SVN_PROP_SPECIAL@GOTPAGEOFF] ldr x23, [x24] Lloh20: adrp x8, _SVN_PROP_BOOLEAN_TRUE@GOTPAGE Lloh21: ldr x8, [x8, _SVN_PROP_BOOLEAN_TRUE@GOTPAGEOFF] Lloh22: ldr w0, [x8] mov x1, x19 bl _svn_string_create mov x2, x0 mov x0, x22 mov x1, x23 bl _svn_hash_sets ldr x25, [x20, #8] ldr x22, [sp, #24] ldr x23, [x24] ldr x0, [sp] mov x1, x23 bl _svn_hash_gets mov x2, x0 mov x0, x22 mov x1, x23 mov x3, x19 blr x25 bl _SVN_ERR LBB0_10: ldr x2, [sp, #24] ldr x4, [sp] add x0, sp, #8 mov x1, x21 mov x3, x20 mov x5, x19 bl _send_file_contents bl _SVN_ERR ldr x0, [sp, #8] mov x1, x19 bl _svn_checksum_to_cstring mov x1, x0 ldr x8, [x20] ldr x0, [sp, #24] mov x2, x19 blr x8 bl _svn_error_trace ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGot Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _SVN_INVALID_REVNUM,4,2 ; @SVN_INVALID_REVNUM .comm _TRUE,4,2 ; @TRUE .comm _svn_wc_notify_commit_added,4,2 ; @svn_wc_notify_commit_added .comm _svn_node_file,4,2 ; @svn_node_file .comm _svn_wc_notify_state_inapplicable,4,2 ; @svn_wc_notify_state_inapplicable .comm _svn_wc_notify_lock_state_inapplicable,4,2 ; @svn_wc_notify_lock_state_inapplicable .comm _SVN_PROP_SPECIAL,8,3 ; @SVN_PROP_SPECIAL .comm _SVN_PROP_BOOLEAN_TRUE,4,2 ; @SVN_PROP_BOOLEAN_TRUE .no_dead_strip _import_file .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_import.c_import_file.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vidioc_g_ctrl _vidioc_g_ctrl: ## @vidioc_g_ctrl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdx, %r8 movq (%rsi), %rdi movq _core@GOTPCREL(%rip), %rax movl (%rax), %edx movq _g_ctrl@GOTPCREL(%rip), %rax movl (%rax), %ecx xorl %esi, %esi callq _v4l2_device_call_all xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _core,4,2 ## @core .comm _g_ctrl,4,2 ## @g_ctrl .no_dead_strip _vidioc_g_ctrl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vidioc_g_ctrl _vidioc_g_ctrl: ; @vidioc_g_ctrl .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 x4, x2 ldr x0, [x1] Lloh0: adrp x8, _core@GOTPAGE Lloh1: ldr x8, [x8, _core@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x8, _g_ctrl@GOTPAGE Lloh4: ldr x8, [x8, _g_ctrl@GOTPAGEOFF] Lloh5: ldr w3, [x8] mov w1, #0 bl _v4l2_device_call_all mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _core,4,2 ; @core .comm _g_ctrl,4,2 ; @g_ctrl .no_dead_strip _vidioc_g_ctrl .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/au0828/extr_au0828-video.c_vidioc_g_ctrl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nfs_buf_write_delayed ## -- Begin function nfs_buf_write_delayed .p2align 4, 0x90 _nfs_buf_write_delayed: ## @nfs_buf_write_delayed .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq 32(%rdi), %r14 callq _NBOFF movl (%rbx), %ecx movl $551, %edi ## imm = 0x227 movq %rbx, %rsi movl %eax, %edx xorl %r8d, %r8d callq _FSDBG_TOP movl 24(%rbx), %edx movl 16(%rbx), %r8d movl 20(%rbx), %ecx movl $551, %edi ## imm = 0x227 movq %rbx, %rsi callq _FSDBG movl (%rbx), %edi movq _NB_DELWRI@GOTPCREL(%rip), %r15 movl (%r15), %esi callq _ISSET testl %eax, %eax jne LBB0_4 ## %bb.1: movl (%rbx), %edi movl (%r15), %esi callq _SET movq _nfs_buf_mutex@GOTPCREL(%rip), %r15 movl (%r15), %edi callq _lck_mtx_lock movq _nfs_nbdwrite@GOTPCREL(%rip), %rax incq (%rax) xorl %eax, %eax callq _NFSBUFCNTCHK movq 8(%rbx), %rax movq _NFSNOLIST@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_3 ## %bb.2: movq _nb_vnbufs@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _LIST_REMOVE LBB0_3: leaq 4(%r14), %rdi movq _nb_vnbufs@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rsi callq _LIST_INSERT_HEAD movl (%r15), %edi callq _lck_mtx_unlock LBB0_4: movq %r14, %rdi callq _NFSTOV movq _VNODE_ASYNC_THROTTLE@GOTPCREL(%rip), %rcx movl (%rcx), %esi leaq L_.str(%rip), %r8 movl %eax, %edi xorl %edx, %edx xorl %ecx, %ecx callq _vnode_waitforwrites movq %r14, %rdi callq _nfs_node_lock_force movq _NMODIFIED@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, (%r14) movq %r14, %rdi callq _nfs_node_unlock movq _nfs_nbdwrite@GOTPCREL(%rip), %r14 movq (%r14), %rax testq %rax, %rax jns LBB0_6 ## %bb.5: leaq L_.str.1(%rip), %rdi callq _panic movq (%r14), %rax LBB0_6: movq _NFS_A_LOT_OF_DELAYED_WRITES@GOTPCREL(%rip), %rcx movl (%rbx), %edi cmpq (%rcx), %rax jle LBB0_9 ## %bb.7: movq _NB_ASYNC@GOTPCREL(%rip), %rax movl (%rax), %esi callq _SET movq %rbx, %rdi callq _nfs_buf_write movq %rbx, %rdi callq _NBOFF movl (%rbx), %ecx movl 4(%rbx), %r8d movl $551, %edi ## imm = 0x227 movq %rbx, %rsi movl %eax, %edx jmp LBB0_8 LBB0_9: movq _NB_DONE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _SET movq %rbx, %rdi movl $1, %esi callq _nfs_buf_release movq %rbx, %rdi callq _NBOFF movl (%rbx), %ecx movl $551, %edi ## imm = 0x227 movq %rbx, %rsi movl %eax, %edx xorl %r8d, %r8d LBB0_8: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _FSDBG_BOT ## TAILCALL .cfi_endproc ## -- End function .comm _NB_DELWRI,4,2 ## @NB_DELWRI .comm _nfs_buf_mutex,4,2 ## @nfs_buf_mutex .comm _nfs_nbdwrite,8,3 ## @nfs_nbdwrite .comm _NFSNOLIST,8,3 ## @NFSNOLIST .comm _nb_vnbufs,4,2 ## @nb_vnbufs .comm _VNODE_ASYNC_THROTTLE,4,2 ## @VNODE_ASYNC_THROTTLE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "nfs_buf_write_delayed" .comm _NMODIFIED,4,2 ## @NMODIFIED L_.str.1: ## @.str.1 .asciz "nfs_buf_write_delayed: Negative nfs_nbdwrite" .comm _NFS_A_LOT_OF_DELAYED_WRITES,8,3 ## @NFS_A_LOT_OF_DELAYED_WRITES .comm _NB_ASYNC,4,2 ## @NB_ASYNC .comm _NB_DONE,4,2 ## @NB_DONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nfs_buf_write_delayed ; -- Begin function nfs_buf_write_delayed .p2align 2 _nfs_buf_write_delayed: ; @nfs_buf_write_delayed .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x20, [x0, #32] bl _NBOFF mov x2, x0 ldr w3, [x19] mov w0, #551 mov x1, x19 mov w4, #0 bl _FSDBG_TOP ldp w3, w2, [x19, #20] ldr w4, [x19, #16] mov w0, #551 mov x1, x19 bl _FSDBG ldr w0, [x19] Lloh0: adrp x22, _NB_DELWRI@GOTPAGE Lloh1: ldr x22, [x22, _NB_DELWRI@GOTPAGEOFF] ldr w1, [x22] bl _ISSET Lloh2: adrp x21, _nfs_nbdwrite@GOTPAGE Lloh3: ldr x21, [x21, _nfs_nbdwrite@GOTPAGEOFF] cbnz w0, LBB0_4 ; %bb.1: ldr w0, [x19] ldr w1, [x22] bl _SET Lloh4: adrp x22, _nfs_buf_mutex@GOTPAGE Lloh5: ldr x22, [x22, _nfs_buf_mutex@GOTPAGEOFF] ldr w0, [x22] bl _lck_mtx_lock ldr x8, [x21] add x8, x8, #1 str x8, [x21] bl _NFSBUFCNTCHK ldr x8, [x19, #8] Lloh6: adrp x9, _NFSNOLIST@GOTPAGE Lloh7: ldr x9, [x9, _NFSNOLIST@GOTPAGEOFF] Lloh8: ldr x9, [x9] Lloh9: adrp x23, _nb_vnbufs@GOTPAGE Lloh10: ldr x23, [x23, _nb_vnbufs@GOTPAGEOFF] cmp x8, x9 b.eq LBB0_3 ; %bb.2: ldr w1, [x23] mov x0, x19 bl _LIST_REMOVE LBB0_3: add x0, x20, #4 ldr w2, [x23] mov x1, x19 bl _LIST_INSERT_HEAD ldr w0, [x22] bl _lck_mtx_unlock LBB0_4: mov x0, x20 bl _NFSTOV Lloh11: adrp x8, _VNODE_ASYNC_THROTTLE@GOTPAGE Lloh12: ldr x8, [x8, _VNODE_ASYNC_THROTTLE@GOTPAGEOFF] Lloh13: ldr w1, [x8] Lloh14: adrp x4, l_.str@PAGE Lloh15: add x4, x4, l_.str@PAGEOFF mov w2, #0 mov w3, #0 bl _vnode_waitforwrites mov x0, x20 bl _nfs_node_lock_force Lloh16: adrp x8, _NMODIFIED@GOTPAGE Lloh17: ldr x8, [x8, _NMODIFIED@GOTPAGEOFF] Lloh18: ldr w8, [x8] ldr w9, [x20] orr w8, w9, w8 str w8, [x20] mov x0, x20 bl _nfs_node_unlock ldr x8, [x21] tbz x8, #63, LBB0_6 ; %bb.5: Lloh19: adrp x0, l_.str.1@PAGE Lloh20: add x0, x0, l_.str.1@PAGEOFF bl _panic ldr x8, [x21] LBB0_6: Lloh21: adrp x9, _NFS_A_LOT_OF_DELAYED_WRITES@GOTPAGE Lloh22: ldr x9, [x9, _NFS_A_LOT_OF_DELAYED_WRITES@GOTPAGEOFF] Lloh23: ldr x9, [x9] ldr w0, [x19] cmp x8, x9 b.le LBB0_8 ; %bb.7: Lloh24: adrp x8, _NB_ASYNC@GOTPAGE Lloh25: ldr x8, [x8, _NB_ASYNC@GOTPAGEOFF] Lloh26: ldr w1, [x8] bl _SET mov x0, x19 bl _nfs_buf_write mov x0, x19 bl _NBOFF mov x2, x0 ldp w3, w4, [x19] mov w0, #551 mov x1, x19 b LBB0_9 LBB0_8: Lloh27: adrp x8, _NB_DONE@GOTPAGE Lloh28: ldr x8, [x8, _NB_DONE@GOTPAGEOFF] Lloh29: ldr w1, [x8] bl _SET mov x0, x19 mov w1, #1 bl _nfs_buf_release mov x0, x19 bl _NBOFF mov x2, x0 ldr w3, [x19] mov w0, #551 mov x1, x19 mov w4, #0 LBB0_9: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _FSDBG_BOT .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .cfi_endproc ; -- End function .comm _NB_DELWRI,4,2 ; @NB_DELWRI .comm _nfs_buf_mutex,4,2 ; @nfs_buf_mutex .comm _nfs_nbdwrite,8,3 ; @nfs_nbdwrite .comm _NFSNOLIST,8,3 ; @NFSNOLIST .comm _nb_vnbufs,4,2 ; @nb_vnbufs .comm _VNODE_ASYNC_THROTTLE,4,2 ; @VNODE_ASYNC_THROTTLE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "nfs_buf_write_delayed" .comm _NMODIFIED,4,2 ; @NMODIFIED l_.str.1: ; @.str.1 .asciz "nfs_buf_write_delayed: Negative nfs_nbdwrite" .comm _NFS_A_LOT_OF_DELAYED_WRITES,8,3 ; @NFS_A_LOT_OF_DELAYED_WRITES .comm _NB_ASYNC,4,2 ; @NB_ASYNC .comm _NB_DONE,4,2 ; @NB_DONE .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/nfs/extr_nfs_bio.c_nfs_buf_write_delayed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function usbtest_do_ioctl _usbtest_do_ioctl: ## @usbtest_do_ioctl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 callq _usb_get_intfdata movq %rax, %rbx movq %rax, %rdi callq _testdev_to_usbdev movq %rax, %r12 xorl %eax, %eax movq (%r14), %r10 testq %r10, %r10 jle LBB0_4 ## %bb.1: movq 8(%r14), %rcx movq _MAX_SGLEN@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jle LBB0_7 ## %bb.2: movq _EINVAL@GOTPCREL(%rip), %rcx LBB0_3: xorl %eax, %eax jmp LBB0_5 LBB0_4: movq _EINVAL@GOTPCREL(%rip), %rcx LBB0_5: subl (%rcx), %eax LBB0_6: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq _EOPNOTSUPP@GOTPCREL(%rip), %rdx subl (%rdx), %eax movl 16(%r14), %edx cmpq $29, %rdx ja LBB0_6 ## %bb.8: leaq LJTI0_0(%rip), %rsi movslq (%rsi,%rdx,4), %rdx addq %rsi, %rdx jmpq *%rdx LBB0_9: leaq L_.str(%rip), %rsi movq %r15, %rdi xorl %eax, %eax callq _dev_info xorl %eax, %eax jmp LBB0_6 LBB0_10: cmpl $0, (%rbx) je LBB0_6 ## %bb.11: testq %rcx, %rcx je LBB0_6 ## %bb.12: movq _pattern@GOTPCREL(%rip), %rdx cmpl $0, (%rdx) jne LBB0_6 ## %bb.13: imulq %r10, %rcx movslq 20(%r14), %rax imulq %rcx, %rax leaq 1048575(%rax), %rdx testq %rax, %rax cmovnsq %rax, %rdx sarq $20, %rdx leaq L_.str.42(%rip), %rsi movq %r15, %rdi xorl %eax, %eax callq _dev_info movl (%rbx), %edx jmp LBB0_113 LBB0_14: testq %rcx, %rcx je LBB0_6 ## %bb.15: cmpl $0, 48(%rbx) je LBB0_6 ## %bb.16: movl 20(%r14), %r8d leaq L_.str.24(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl 48(%rbx), %edx movq 40(%rbx), %rcx jmp LBB0_54 LBB0_17: movq 72(%rbx), %rcx cmpl $0, (%rcx) je LBB0_6 ## %bb.18: movq _realworld@GOTPCREL(%rip), %rax xorl %ecx, %ecx cmpl $0, (%rax) setne %cl movl 20(%r14), %r8d movl 24(%r14), %r9d leaq L_.str.22(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl (%r14), %esi movl 20(%r14), %edx movl 24(%r14), %ecx movq %rbx, %rdi xorl %r8d, %r8d jmp LBB0_77 LBB0_19: cmpl $0, 4(%rbx) je LBB0_6 ## %bb.20: movl 20(%r14), %ecx testl %ecx, %ecx je LBB0_6 ## %bb.21: leaq L_.str.16(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl (%r14), %r12d LBB0_22: ## =>This Inner Loop Header: Depth=1 subl $1, %r12d jb LBB0_129 ## %bb.23: ## in Loop: Header=BB0_22 Depth=1 movl 4(%rbx), %esi movl 20(%r14), %edx movq %rbx, %rdi callq _unlink_simple testl %eax, %eax je LBB0_22 ## %bb.24: leaq L_.str.17(%rip), %rsi jmp LBB0_136 LBB0_25: cmpl $0, 4(%rbx) je LBB0_6 ## %bb.26: movl 24(%r14), %edx testl %edx, %edx je LBB0_6 ## %bb.27: movl 20(%r14), %ecx leaq L_.str.7(%rip), %rsi movq %r15, %rdi movq %r10, %r8 xorl %eax, %eax callq _dev_info movl 4(%rbx), %esi movl 20(%r14), %edx movq %r12, %rdi xorl %ecx, %ecx callq _simple_alloc_urb testq %rax, %rax je LBB0_128 ## %bb.28: movq (%r14), %rdx movl 24(%r14), %ecx leaq L_.str.8(%rip), %r9 jmp LBB0_58 LBB0_29: cmpl $0, (%rbx) je LBB0_6 ## %bb.30: movl 20(%r14), %ecx testl %ecx, %ecx je LBB0_6 ## %bb.31: leaq L_.str.18(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl (%r14), %r12d LBB0_32: ## =>This Inner Loop Header: Depth=1 subl $1, %r12d jb LBB0_129 ## %bb.33: ## in Loop: Header=BB0_32 Depth=1 movl (%rbx), %esi movl 20(%r14), %edx movq %rbx, %rdi callq _unlink_simple testl %eax, %eax je LBB0_32 ## %bb.34: leaq L_.str.19(%rip), %rsi jmp LBB0_136 LBB0_35: leaq L_.str.13(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl (%r14), %r14d LBB0_36: ## =>This Inner Loop Header: Depth=1 subl $1, %r14d jb LBB0_129 ## %bb.37: ## in Loop: Header=BB0_36 Depth=1 movq %rbx, %rdi callq _ch9_postconfig testl %eax, %eax je LBB0_36 ## %bb.38: leaq L_.str.14(%rip), %rsi movq %r15, %rdi movl %r14d, %edx movl %eax, %ebx xorl %eax, %eax callq _dev_err movl %ebx, %eax jmp LBB0_6 LBB0_39: cmpl $0, 32(%rbx) je LBB0_6 ## %bb.40: movl 20(%r14), %edx leaq L_.str.38(%rip), %rsi movq %r15, %rdi movq %r10, %rcx xorl %eax, %eax callq _dev_info movl 32(%rbx), %esi movl 20(%r14), %edx movq 24(%rbx), %rax movl (%rax), %ecx movq %r12, %rdi callq _simple_alloc_urb testq %rax, %rax je LBB0_128 ## %bb.41: movq (%r14), %rdx leaq L_.str.39(%rip), %r9 jmp LBB0_125 LBB0_42: cmpl $0, (%rbx) je LBB0_6 ## %bb.43: movl 20(%r14), %r8d testl %r8d, %r8d sete %dl cmpq $4, %rcx setl %sil orb %dl, %sil jne LBB0_6 ## %bb.44: leaq L_.str.36(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl (%r14), %r12d testl %r12d, %r12d je LBB0_129 LBB0_45: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %esi movl 8(%r14), %edx movl 20(%r14), %ecx movq %rbx, %rdi callq _unlink_queued testl %eax, %eax jne LBB0_135 ## %bb.46: ## in Loop: Header=BB0_45 Depth=1 decl %r12d jne LBB0_45 jmp LBB0_129 LBB0_48: cmpl $0, 4(%rbx) je LBB0_6 ## %bb.49: movl 20(%r14), %edx leaq L_.str.3(%rip), %rsi movq %r15, %rdi movq %r10, %rcx xorl %eax, %eax callq _dev_info movl 4(%rbx), %esi movl 20(%r14), %edx movq %r12, %rdi xorl %ecx, %ecx callq _simple_alloc_urb testq %rax, %rax je LBB0_128 ## %bb.50: movq (%r14), %rdx leaq L_.str.4(%rip), %r9 jmp LBB0_125 LBB0_51: testq %rcx, %rcx je LBB0_6 ## %bb.52: cmpl $0, 64(%rbx) je LBB0_6 ## %bb.53: movl 20(%r14), %r8d leaq L_.str.23(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl 64(%rbx), %edx movq 56(%rbx), %rcx LBB0_54: movq %rbx, %rdi movq %r14, %rsi jmp LBB0_114 LBB0_55: movl 24(%r14), %edx movl (%rbx), %ecx orl %edx, %ecx je LBB0_6 ## %bb.56: movl 20(%r14), %ecx leaq L_.str.5(%rip), %rsi movq %r15, %rdi movq %r10, %r8 xorl %eax, %eax callq _dev_info movl (%rbx), %esi movl 20(%r14), %edx movq %r12, %rdi xorl %ecx, %ecx callq _simple_alloc_urb testq %rax, %rax je LBB0_128 ## %bb.57: movq (%r14), %rdx movl 24(%r14), %ecx leaq L_.str.6(%rip), %r9 LBB0_58: movq %rbx, %rdi movq %rax, %rsi jmp LBB0_126 LBB0_59: testq %rcx, %rcx je LBB0_6 ## %bb.60: cmpl $0, (%rbx) je LBB0_6 ## %bb.61: movl 24(%r14), %edx testl %edx, %edx je LBB0_6 ## %bb.62: movl 20(%r14), %r9d leaq L_.str.11(%rip), %rsi movq %r15, %rdi movq %rcx, %r8 movq %r10, %rcx xorl %eax, %eax callq _dev_info movq 8(%r14), %rdi movl 20(%r14), %esi movl 24(%r14), %edx movl (%rbx), %r8d jmp LBB0_73 LBB0_63: cmpl $0, (%rbx) je LBB0_6 ## %bb.64: movl 20(%r14), %edx leaq L_.str.1(%rip), %rsi movq %r15, %rdi movq %r10, %rcx xorl %eax, %eax callq _dev_info movl (%rbx), %esi movl 20(%r14), %edx movq %r12, %rdi xorl %ecx, %ecx callq _simple_alloc_urb testq %rax, %rax je LBB0_128 ## %bb.65: movq (%r14), %rdx leaq L_.str.2(%rip), %r9 jmp LBB0_125 LBB0_66: cmpl $0, (%rbx) je LBB0_6 ## %bb.67: movl 20(%r14), %edx leaq L_.str.25(%rip), %rsi movq %r15, %rdi movq %r10, %rcx xorl %eax, %eax callq _dev_info movl (%rbx), %esi movl (%r14), %ecx movl 20(%r14), %edx leaq L_.str.26(%rip), %r9 jmp LBB0_89 LBB0_68: cmpl $0, 4(%rbx) je LBB0_6 ## %bb.69: movl 20(%r14), %edx leaq L_.str.31(%rip), %rsi movq %r15, %rdi movq %r10, %rcx xorl %eax, %eax callq _dev_info movl 4(%rbx), %esi movl (%r14), %ecx movl 20(%r14), %edx movq _URB_NO_TRANSFER_DMA_MAP@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq L_.str.32(%rip), %r9 jmp LBB0_103 LBB0_70: testq %rcx, %rcx je LBB0_6 ## %bb.71: cmpl $0, (%rbx) je LBB0_6 ## %bb.72: movl 20(%r14), %r8d leaq L_.str.9(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movq 8(%r14), %rdi movl 20(%r14), %esi movl (%rbx), %r8d xorl %edx, %edx LBB0_73: movq %rbx, %rcx callq _alloc_sglist testq %rax, %rax je LBB0_128 ## %bb.74: movl (%rbx), %edx jmp LBB0_97 LBB0_75: movq 72(%rbx), %rcx cmpl $0, (%rcx) je LBB0_6 ## %bb.76: movq _realworld@GOTPCREL(%rip), %rax xorl %ecx, %ecx cmpl $0, (%rax) setne %cl movl 20(%r14), %r8d movl 24(%r14), %r9d leaq L_.str.33(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl (%r14), %esi movl 20(%r14), %edx movl 24(%r14), %ecx movq %rbx, %rdi movl $1, %r8d LBB0_77: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _ctrl_out ## TAILCALL LBB0_78: cmpl $0, (%rbx) jne LBB0_80 ## %bb.79: cmpl $0, 4(%rbx) je LBB0_6 LBB0_80: leaq L_.str.20(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl (%r14), %r14d LBB0_81: ## =>This Inner Loop Header: Depth=1 subl $1, %r14d jb LBB0_129 ## %bb.82: ## in Loop: Header=BB0_81 Depth=1 movq %rbx, %rdi callq _halt_simple testl %eax, %eax je LBB0_81 ## %bb.83: leaq L_.str.21(%rip), %rsi movq %rbx, %rdi movl %r14d, %edx movl %eax, %ebx callq _ERROR movl %ebx, %eax jmp LBB0_6 LBB0_84: testq %rcx, %rcx je LBB0_6 ## %bb.85: cmpl $0, 4(%rbx) je LBB0_6 ## %bb.86: movl 20(%r14), %r8d leaq L_.str.10(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movq 8(%r14), %rdi movl 20(%r14), %esi movl 4(%rbx), %r8d xorl %edx, %edx jmp LBB0_95 LBB0_87: cmpl $0, 4(%rbx) je LBB0_6 ## %bb.88: movl 20(%r14), %edx leaq L_.str.27(%rip), %rsi movq %r15, %rdi movq %r10, %rcx xorl %eax, %eax callq _dev_info movl 4(%rbx), %esi movl (%r14), %ecx movl 20(%r14), %edx leaq L_.str.28(%rip), %r9 LBB0_89: movq %rbx, %rdi xorl %r8d, %r8d jmp LBB0_104 LBB0_90: leaq L_.str.15(%rip), %rsi movq %r15, %rdi movq %rcx, %rdx movq %r10, %rcx xorl %eax, %eax callq _dev_info movq %rbx, %rdi movq %r14, %rsi addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _test_ctrl_queue ## TAILCALL LBB0_91: testq %rcx, %rcx je LBB0_6 ## %bb.92: cmpl $0, 4(%rbx) je LBB0_6 ## %bb.93: movl 24(%r14), %edx testl %edx, %edx je LBB0_6 ## %bb.94: movl 20(%r14), %r9d leaq L_.str.12(%rip), %rsi movq %r15, %rdi movq %rcx, %r8 movq %r10, %rcx xorl %eax, %eax callq _dev_info movq 8(%r14), %rdi movl 20(%r14), %esi movl 24(%r14), %edx movl 4(%rbx), %r8d LBB0_95: movq %rbx, %rcx callq _alloc_sglist testq %rax, %rax je LBB0_128 ## %bb.96: movl 4(%rbx), %edx LBB0_97: movq (%r14), %rsi movq 8(%r14), %r9 leaq -36(%rbp), %rcx movq %rbx, %rdi movq %rax, %r8 movq %rax, %rbx callq _perform_sglist movl %eax, %r15d movq 8(%r14), %rsi movq %rbx, %rdi callq _free_sglist movl %r15d, %eax jmp LBB0_6 LBB0_98: testq %rcx, %rcx je LBB0_6 ## %bb.99: cmpl $0, 64(%rbx) je LBB0_6 ## %bb.100: movl 20(%r14), %r8d leaq L_.str.34(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl 64(%rbx), %edx movq 56(%rbx), %rcx jmp LBB0_108 LBB0_101: cmpl $0, (%rbx) je LBB0_6 ## %bb.102: movl 20(%r14), %edx leaq L_.str.29(%rip), %rsi movq %r15, %rdi movq %r10, %rcx xorl %eax, %eax callq _dev_info movl (%rbx), %esi movl (%r14), %ecx movl 20(%r14), %edx movq _URB_NO_TRANSFER_DMA_MAP@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq L_.str.30(%rip), %r9 LBB0_103: movq %rbx, %rdi LBB0_104: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _test_unaligned_bulk ## TAILCALL LBB0_105: testq %rcx, %rcx je LBB0_6 ## %bb.106: cmpl $0, 48(%rbx) je LBB0_6 ## %bb.107: movl 20(%r14), %r8d leaq L_.str.35(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl 48(%rbx), %edx movq 40(%rbx), %rcx LBB0_108: movq %rbx, %rdi movq %r14, %rsi movl $1, %r8d jmp LBB0_115 LBB0_109: cmpl $0, 4(%rbx) je LBB0_6 ## %bb.110: testq %rcx, %rcx je LBB0_6 ## %bb.111: movq _pattern@GOTPCREL(%rip), %rdx cmpl $0, (%rdx) jne LBB0_6 ## %bb.112: imulq %r10, %rcx movslq 20(%r14), %rax imulq %rcx, %rax leaq 1048575(%rax), %rdx testq %rax, %rax cmovnsq %rax, %rdx sarq $20, %rdx leaq L_.str.43(%rip), %rsi movq %r15, %rdi xorl %eax, %eax callq _dev_info movl 4(%rbx), %edx LBB0_113: movq %rbx, %rdi movq %r14, %rsi xorl %ecx, %ecx LBB0_114: xorl %r8d, %r8d LBB0_115: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _test_queue ## TAILCALL LBB0_116: cmpl $0, (%rbx) je LBB0_6 ## %bb.117: leaq L_.str.44(%rip), %rsi movq %r15, %rdi movq %r10, %rdx xorl %eax, %eax callq _dev_info movl (%r14), %r14d testl %r14d, %r14d je LBB0_129 LBB0_118: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _toggle_sync_simple leal -1(%r14), %edx testl %eax, %eax jne LBB0_120 ## %bb.119: ## in Loop: Header=BB0_118 Depth=1 cmpl $1, %r14d movl %edx, %r14d jne LBB0_118 LBB0_120: movl %eax, %r14d testl %eax, %eax movl $0, %eax je LBB0_6 ## %bb.121: leaq L_.str.45(%rip), %rsi movq %rbx, %rdi callq _ERROR jmp LBB0_127 LBB0_129: xorl %eax, %eax jmp LBB0_6 LBB0_122: cmpl $0, 16(%rbx) je LBB0_6 ## %bb.123: movl 20(%r14), %edx leaq L_.str.40(%rip), %rsi movq %r15, %rdi movq %r10, %rcx xorl %eax, %eax callq _dev_info movl 16(%rbx), %esi movl 20(%r14), %edx movq 8(%rbx), %rax movl (%rax), %ecx movq %r12, %rdi callq _simple_alloc_urb testq %rax, %rax je LBB0_128 ## %bb.124: movq (%r14), %rdx leaq L_.str.41(%rip), %r9 LBB0_125: movq %rbx, %rdi movq %rax, %rsi xorl %ecx, %ecx LBB0_126: xorl %r8d, %r8d movq %rax, %rbx callq _simple_io movl %eax, %r14d movq %rbx, %rdi callq _simple_free_urb LBB0_127: movl %r14d, %eax jmp LBB0_6 LBB0_128: movq _ENOMEM@GOTPCREL(%rip), %rcx jmp LBB0_3 LBB0_135: leaq L_.str.37(%rip), %rsi LBB0_136: movq %r15, %rdi movl %eax, %edx movl %r12d, %ecx movl %eax, %ebx xorl %eax, %eax callq _dev_err movl %ebx, %eax jmp LBB0_6 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_63, LBB0_63-LJTI0_0 .set L0_0_set_48, LBB0_48-LJTI0_0 .set L0_0_set_55, LBB0_55-LJTI0_0 .set L0_0_set_25, LBB0_25-LJTI0_0 .set L0_0_set_70, LBB0_70-LJTI0_0 .set L0_0_set_84, LBB0_84-LJTI0_0 .set L0_0_set_59, LBB0_59-LJTI0_0 .set L0_0_set_91, LBB0_91-LJTI0_0 .set L0_0_set_35, LBB0_35-LJTI0_0 .set L0_0_set_90, LBB0_90-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 .set L0_0_set_29, LBB0_29-LJTI0_0 .set L0_0_set_78, LBB0_78-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_51, LBB0_51-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_66, LBB0_66-LJTI0_0 .set L0_0_set_87, LBB0_87-LJTI0_0 .set L0_0_set_101, LBB0_101-LJTI0_0 .set L0_0_set_68, LBB0_68-LJTI0_0 .set L0_0_set_75, LBB0_75-LJTI0_0 .set L0_0_set_98, LBB0_98-LJTI0_0 .set L0_0_set_105, LBB0_105-LJTI0_0 .set L0_0_set_42, LBB0_42-LJTI0_0 .set L0_0_set_39, LBB0_39-LJTI0_0 .set L0_0_set_122, LBB0_122-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_109, LBB0_109-LJTI0_0 .set L0_0_set_116, LBB0_116-LJTI0_0 LJTI0_0: .long L0_0_set_9 .long L0_0_set_63 .long L0_0_set_48 .long L0_0_set_55 .long L0_0_set_25 .long L0_0_set_70 .long L0_0_set_84 .long L0_0_set_59 .long L0_0_set_91 .long L0_0_set_35 .long L0_0_set_90 .long L0_0_set_19 .long L0_0_set_29 .long L0_0_set_78 .long L0_0_set_17 .long L0_0_set_51 .long L0_0_set_14 .long L0_0_set_66 .long L0_0_set_87 .long L0_0_set_101 .long L0_0_set_68 .long L0_0_set_75 .long L0_0_set_98 .long L0_0_set_105 .long L0_0_set_42 .long L0_0_set_39 .long L0_0_set_122 .long L0_0_set_10 .long L0_0_set_109 .long L0_0_set_116 .end_data_region ## -- End function .comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP .comm _EINVAL,4,2 ## @EINVAL .comm _MAX_SGLEN,8,3 ## @MAX_SGLEN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "TEST 0: NOP\n" L_.str.1: ## @.str.1 .asciz "TEST 1: write %d bytes %u times\n" .comm _ENOMEM,4,2 ## @ENOMEM L_.str.2: ## @.str.2 .asciz "test1" L_.str.3: ## @.str.3 .asciz "TEST 2: read %d bytes %u times\n" L_.str.4: ## @.str.4 .asciz "test2" L_.str.5: ## @.str.5 .asciz "TEST 3: write/%d 0..%d bytes %u times\n" L_.str.6: ## @.str.6 .asciz "test3" L_.str.7: ## @.str.7 .asciz "TEST 4: read/%d 0..%d bytes %u times\n" L_.str.8: ## @.str.8 .asciz "test4" L_.str.9: ## @.str.9 .asciz "TEST 5: write %d sglists %d entries of %d bytes\n" L_.str.10: ## @.str.10 .asciz "TEST 6: read %d sglists %d entries of %d bytes\n" L_.str.11: ## @.str.11 .asciz "TEST 7: write/%d %d sglists %d entries 0..%d bytes\n" L_.str.12: ## @.str.12 .asciz "TEST 8: read/%d %d sglists %d entries 0..%d bytes\n" L_.str.13: ## @.str.13 .asciz "TEST 9: ch9 (subset) control tests, %d times\n" L_.str.14: ## @.str.14 .asciz "ch9 subset failed, iterations left %d\n" L_.str.15: ## @.str.15 .asciz "TEST 10: queue %d control calls, %d times\n" L_.str.16: ## @.str.16 .asciz "TEST 11: unlink %d reads of %d\n" L_.str.17: ## @.str.17 .asciz "unlink reads failed %d, iterations left %d\n" L_.str.18: ## @.str.18 .asciz "TEST 12: unlink %d writes of %d\n" L_.str.19: ## @.str.19 .asciz "unlink writes failed %d, iterations left %d\n" L_.str.20: ## @.str.20 .asciz "TEST 13: set/clear %d halts\n" L_.str.21: ## @.str.21 .asciz "halts failed, iterations left %d\n" L_.str.22: ## @.str.22 .asciz "TEST 14: %d ep0out, %d..%d vary %d\n" .comm _realworld,4,2 ## @realworld L_.str.23: ## @.str.23 .asciz "TEST 15: write %d iso, %d entries of %d bytes\n" L_.str.24: ## @.str.24 .asciz "TEST 16: read %d iso, %d entries of %d bytes\n" L_.str.25: ## @.str.25 .asciz "TEST 17: write odd addr %d bytes %u times core map\n" L_.str.26: ## @.str.26 .asciz "test17" L_.str.27: ## @.str.27 .asciz "TEST 18: read odd addr %d bytes %u times core map\n" L_.str.28: ## @.str.28 .asciz "test18" L_.str.29: ## @.str.29 .asciz "TEST 19: write odd addr %d bytes %u times premapped\n" .comm _URB_NO_TRANSFER_DMA_MAP,4,2 ## @URB_NO_TRANSFER_DMA_MAP L_.str.30: ## @.str.30 .asciz "test19" L_.str.31: ## @.str.31 .asciz "TEST 20: read odd addr %d bytes %u times premapped\n" L_.str.32: ## @.str.32 .asciz "test20" L_.str.33: ## @.str.33 .asciz "TEST 21: %d ep0out odd addr, %d..%d vary %d\n" L_.str.34: ## @.str.34 .asciz "TEST 22: write %d iso odd, %d entries of %d bytes\n" L_.str.35: ## @.str.35 .asciz "TEST 23: read %d iso odd, %d entries of %d bytes\n" L_.str.36: ## @.str.36 .asciz "TEST 24: unlink from %d queues of %d %d-byte writes\n" L_.str.37: ## @.str.37 .asciz "unlink queued writes failed %d, iterations left %d\n" L_.str.38: ## @.str.38 .asciz "TEST 25: write %d bytes %u times\n" L_.str.39: ## @.str.39 .asciz "test25" L_.str.40: ## @.str.40 .asciz "TEST 26: read %d bytes %u times\n" L_.str.41: ## @.str.41 .asciz "test26" .comm _pattern,4,2 ## @pattern L_.str.42: ## @.str.42 .asciz "TEST 27: bulk write %dMbytes\n" L_.str.43: ## @.str.43 .asciz "TEST 28: bulk read %dMbytes\n" L_.str.44: ## @.str.44 .asciz "TEST 29: Clear toggle between bulk writes %d times\n" L_.str.45: ## @.str.45 .asciz "toggle sync failed, iterations left %d\n" .no_dead_strip _usbtest_do_ioctl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function usbtest_do_ioctl _usbtest_do_ioctl: ; @usbtest_do_ioctl .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x21, x0 bl _usb_get_intfdata mov x19, x0 bl _testdev_to_usbdev ldr x8, [x20] cmp x8, #0 b.le LBB0_2 ; %bb.1: ldr x9, [x20, #8] Lloh0: adrp x10, _MAX_SGLEN@GOTPAGE Lloh1: ldr x10, [x10, _MAX_SGLEN@GOTPAGEOFF] Lloh2: ldr x10, [x10] cmp x9, x10 b.le LBB0_5 LBB0_2: Lloh3: adrp x8, _EINVAL@GOTPAGE Lloh4: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_3: ldr w8, [x8] neg w0, w8 LBB0_4: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_5: mov x22, x0 Lloh5: adrp x10, _EOPNOTSUPP@GOTPAGE Lloh6: ldr x10, [x10, _EOPNOTSUPP@GOTPAGEOFF] Lloh7: ldr w10, [x10] neg w0, w10 ldr w10, [x20, #16] cmp w10, #29 b.hi LBB0_4 ; %bb.6: Lloh8: adrp x11, lJTI0_0@PAGE Lloh9: add x11, x11, lJTI0_0@PAGEOFF adr x12, LBB0_7 ldrh w13, [x11, x10, lsl #1] add x12, x12, x13, lsl #2 br x12 LBB0_7: Lloh10: adrp x1, l_.str@PAGE Lloh11: add x1, x1, l_.str@PAGEOFF mov x0, x21 bl _dev_info mov w0, #0 ; =0x0 b LBB0_4 LBB0_8: ldr w10, [x19] cbz w10, LBB0_4 ; %bb.9: cbz x9, LBB0_4 ; %bb.10: Lloh12: adrp x10, _pattern@GOTPAGE Lloh13: ldr x10, [x10, _pattern@GOTPAGEOFF] Lloh14: ldr w10, [x10] cbnz w10, LBB0_4 ; %bb.11: mul x8, x9, x8 ldrsw x9, [x20, #20] mul x8, x8, x9 mov w9, #1048575 ; =0xfffff add x9, x8, x9 cmp x8, #0 csel x8, x9, x8, lt asr x8, x8, #20 str x8, [sp] Lloh15: adrp x1, l_.str.42@PAGE Lloh16: add x1, x1, l_.str.42@PAGEOFF mov x0, x21 bl _dev_info ldr w2, [x19] b LBB0_111 LBB0_12: cbz x9, LBB0_4 ; %bb.13: ldr w10, [x19, #48] cbz w10, LBB0_4 ; %bb.14: ldr w10, [x20, #20] stp x9, x10, [sp, #8] str x8, [sp] Lloh17: adrp x1, l_.str.24@PAGE Lloh18: add x1, x1, l_.str.24@PAGEOFF mov x0, x21 bl _dev_info ldr w2, [x19, #48] ldr x3, [x19, #40] b LBB0_52 LBB0_15: ldr x9, [x19, #72] ldr w9, [x9] cbz w9, LBB0_4 ; %bb.16: Lloh19: adrp x9, _realworld@GOTPAGE Lloh20: ldr x9, [x9, _realworld@GOTPAGEOFF] Lloh21: ldr w9, [x9] cmp w9, #0 cset w9, ne ldp w10, w11, [x20, #20] stp x10, x11, [sp, #16] stp x8, x9, [sp] Lloh22: adrp x1, l_.str.22@PAGE Lloh23: add x1, x1, l_.str.22@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x20] ldp w2, w3, [x20, #20] mov x0, x19 mov w4, #0 ; =0x0 b LBB0_75 LBB0_17: ldr w9, [x19, #4] cbz w9, LBB0_4 ; %bb.18: ldr w9, [x20, #20] cbz w9, LBB0_4 ; %bb.19: stp x8, x9, [sp] Lloh24: adrp x1, l_.str.16@PAGE Lloh25: add x1, x1, l_.str.16@PAGEOFF mov x0, x21 bl _dev_info ldr w22, [x20] LBB0_20: ; =>This Inner Loop Header: Depth=1 cbz w22, LBB0_121 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 sub w22, w22, #1 ldr w1, [x19, #4] ldr w2, [x20, #20] mov x0, x19 bl _unlink_simple cbz w0, LBB0_20 ; %bb.22: str x22, [sp] Lloh26: adrp x1, l_.str.17@PAGE Lloh27: add x1, x1, l_.str.17@PAGEOFF b LBB0_129 LBB0_23: ldr w9, [x19, #4] cbz w9, LBB0_4 ; %bb.24: ldr w9, [x20, #24] cbz w9, LBB0_4 ; %bb.25: ldr w10, [x20, #20] stp x10, x8, [sp, #8] str x9, [sp] Lloh28: adrp x1, l_.str.7@PAGE Lloh29: add x1, x1, l_.str.7@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x19, #4] ldr w2, [x20, #20] mov x0, x22 mov w3, #0 ; =0x0 bl _simple_alloc_urb cbz x0, LBB0_127 ; %bb.26: mov x21, x0 ldr x2, [x20] ldr w3, [x20, #24] Lloh30: adrp x5, l_.str.8@PAGE Lloh31: add x5, x5, l_.str.8@PAGEOFF b LBB0_56 LBB0_27: ldr w9, [x19] cbz w9, LBB0_4 ; %bb.28: ldr w9, [x20, #20] cbz w9, LBB0_4 ; %bb.29: stp x8, x9, [sp] Lloh32: adrp x1, l_.str.18@PAGE Lloh33: add x1, x1, l_.str.18@PAGEOFF mov x0, x21 bl _dev_info ldr w22, [x20] LBB0_30: ; =>This Inner Loop Header: Depth=1 cbz w22, LBB0_121 ; %bb.31: ; in Loop: Header=BB0_30 Depth=1 sub w22, w22, #1 ldr w1, [x19] ldr w2, [x20, #20] mov x0, x19 bl _unlink_simple cbz w0, LBB0_30 ; %bb.32: str x22, [sp] Lloh34: adrp x1, l_.str.19@PAGE Lloh35: add x1, x1, l_.str.19@PAGEOFF b LBB0_129 LBB0_33: str x8, [sp] Lloh36: adrp x1, l_.str.13@PAGE Lloh37: add x1, x1, l_.str.13@PAGEOFF mov x0, x21 bl _dev_info ldr w20, [x20] LBB0_34: ; =>This Inner Loop Header: Depth=1 cbz w20, LBB0_121 ; %bb.35: ; in Loop: Header=BB0_34 Depth=1 sub w20, w20, #1 mov x0, x19 bl _ch9_postconfig cbz w0, LBB0_34 ; %bb.36: Lloh38: adrp x1, l_.str.14@PAGE Lloh39: add x1, x1, l_.str.14@PAGEOFF mov x19, x0 mov x0, x21 mov x2, x20 b LBB0_130 LBB0_37: ldr w9, [x19, #32] cbz w9, LBB0_4 ; %bb.38: ldr w9, [x20, #20] stp x9, x8, [sp] Lloh40: adrp x1, l_.str.38@PAGE Lloh41: add x1, x1, l_.str.38@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x19, #32] ldr w2, [x20, #20] ldr x8, [x19, #24] ldr w3, [x8] mov x0, x22 bl _simple_alloc_urb cbz x0, LBB0_127 ; %bb.39: mov x21, x0 ldr x2, [x20] Lloh42: adrp x5, l_.str.39@PAGE Lloh43: add x5, x5, l_.str.39@PAGEOFF b LBB0_125 LBB0_40: ldr w10, [x19] cbz w10, LBB0_4 ; %bb.41: cmp x9, #4 b.lt LBB0_4 ; %bb.42: ldr w10, [x20, #20] cbz w10, LBB0_4 ; %bb.43: stp x9, x10, [sp, #8] str x8, [sp] Lloh44: adrp x1, l_.str.36@PAGE Lloh45: add x1, x1, l_.str.36@PAGEOFF mov x0, x21 bl _dev_info ldr w22, [x20] cbz w22, LBB0_121 LBB0_44: ; =>This Inner Loop Header: Depth=1 ldr w1, [x19] ldr w2, [x20, #8] ldr w3, [x20, #20] mov x0, x19 bl _unlink_queued cbnz w0, LBB0_128 ; %bb.45: ; in Loop: Header=BB0_44 Depth=1 subs w22, w22, #1 b.ne LBB0_44 b LBB0_4 LBB0_46: ldr w9, [x19, #4] cbz w9, LBB0_4 ; %bb.47: ldr w9, [x20, #20] stp x9, x8, [sp] Lloh46: adrp x1, l_.str.3@PAGE Lloh47: add x1, x1, l_.str.3@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x19, #4] ldr w2, [x20, #20] mov x0, x22 mov w3, #0 ; =0x0 bl _simple_alloc_urb cbz x0, LBB0_127 ; %bb.48: mov x21, x0 ldr x2, [x20] Lloh48: adrp x5, l_.str.4@PAGE Lloh49: add x5, x5, l_.str.4@PAGEOFF b LBB0_125 LBB0_49: cbz x9, LBB0_4 ; %bb.50: ldr w10, [x19, #64] cbz w10, LBB0_4 ; %bb.51: ldr w10, [x20, #20] stp x9, x10, [sp, #8] str x8, [sp] Lloh50: adrp x1, l_.str.23@PAGE Lloh51: add x1, x1, l_.str.23@PAGEOFF mov x0, x21 bl _dev_info ldr w2, [x19, #64] ldr x3, [x19, #56] LBB0_52: mov x0, x19 mov x1, x20 b LBB0_112 LBB0_53: ldr w10, [x19] ldr w9, [x20, #24] orr w10, w10, w9 cbz w10, LBB0_4 ; %bb.54: ldr w10, [x20, #20] stp x10, x8, [sp, #8] str x9, [sp] Lloh52: adrp x1, l_.str.5@PAGE Lloh53: add x1, x1, l_.str.5@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x19] ldr w2, [x20, #20] mov x0, x22 mov w3, #0 ; =0x0 bl _simple_alloc_urb cbz x0, LBB0_127 ; %bb.55: mov x21, x0 ldr x2, [x20] ldr w3, [x20, #24] Lloh54: adrp x5, l_.str.6@PAGE Lloh55: add x5, x5, l_.str.6@PAGEOFF LBB0_56: mov x0, x19 mov x1, x21 b LBB0_126 LBB0_57: cbz x9, LBB0_4 ; %bb.58: ldr w10, [x19] cbz w10, LBB0_4 ; %bb.59: ldr w10, [x20, #24] cbz w10, LBB0_4 ; %bb.60: ldr w11, [x20, #20] stp x9, x11, [sp, #16] stp x10, x8, [sp] Lloh56: adrp x1, l_.str.11@PAGE Lloh57: add x1, x1, l_.str.11@PAGEOFF mov x0, x21 bl _dev_info ldr x0, [x20, #8] ldp w1, w2, [x20, #20] ldr w4, [x19] b LBB0_71 LBB0_61: ldr w9, [x19] cbz w9, LBB0_4 ; %bb.62: ldr w9, [x20, #20] stp x9, x8, [sp] Lloh58: adrp x1, l_.str.1@PAGE Lloh59: add x1, x1, l_.str.1@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x19] ldr w2, [x20, #20] mov x0, x22 mov w3, #0 ; =0x0 bl _simple_alloc_urb cbz x0, LBB0_127 ; %bb.63: mov x21, x0 ldr x2, [x20] Lloh60: adrp x5, l_.str.2@PAGE Lloh61: add x5, x5, l_.str.2@PAGEOFF b LBB0_125 LBB0_64: ldr w9, [x19] cbz w9, LBB0_4 ; %bb.65: ldr w9, [x20, #20] stp x9, x8, [sp] Lloh62: adrp x1, l_.str.25@PAGE Lloh63: add x1, x1, l_.str.25@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x19] ldr w2, [x20, #20] ldr w3, [x20] Lloh64: adrp x5, l_.str.26@PAGE Lloh65: add x5, x5, l_.str.26@PAGEOFF b LBB0_87 LBB0_66: ldr w9, [x19, #4] cbz w9, LBB0_4 ; %bb.67: ldr w9, [x20, #20] stp x9, x8, [sp] Lloh66: adrp x1, l_.str.31@PAGE Lloh67: add x1, x1, l_.str.31@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x19, #4] ldr w2, [x20, #20] ldr w3, [x20] Lloh68: adrp x8, _URB_NO_TRANSFER_DMA_MAP@GOTPAGE Lloh69: ldr x8, [x8, _URB_NO_TRANSFER_DMA_MAP@GOTPAGEOFF] Lloh70: ldr w4, [x8] Lloh71: adrp x5, l_.str.32@PAGE Lloh72: add x5, x5, l_.str.32@PAGEOFF b LBB0_101 LBB0_68: cbz x9, LBB0_4 ; %bb.69: ldr w10, [x19] cbz w10, LBB0_4 ; %bb.70: ldr w10, [x20, #20] stp x9, x10, [sp, #8] str x8, [sp] Lloh73: adrp x1, l_.str.9@PAGE Lloh74: add x1, x1, l_.str.9@PAGEOFF mov x0, x21 bl _dev_info ldr x0, [x20, #8] ldr w1, [x20, #20] ldr w4, [x19] mov w2, #0 ; =0x0 LBB0_71: mov x3, x19 bl _alloc_sglist cbz x0, LBB0_127 ; %bb.72: mov x21, x0 ldr w2, [x19] b LBB0_95 LBB0_73: ldr x9, [x19, #72] ldr w9, [x9] cbz w9, LBB0_4 ; %bb.74: Lloh75: adrp x9, _realworld@GOTPAGE Lloh76: ldr x9, [x9, _realworld@GOTPAGEOFF] Lloh77: ldr w9, [x9] cmp w9, #0 cset w9, ne ldp w10, w11, [x20, #20] stp x10, x11, [sp, #16] stp x8, x9, [sp] Lloh78: adrp x1, l_.str.33@PAGE Lloh79: add x1, x1, l_.str.33@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x20] ldp w2, w3, [x20, #20] mov x0, x19 mov w4, #1 ; =0x1 LBB0_75: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 b _ctrl_out LBB0_76: ldr w9, [x19] cbnz w9, LBB0_78 ; %bb.77: ldr w9, [x19, #4] cbz w9, LBB0_4 LBB0_78: str x8, [sp] Lloh80: adrp x1, l_.str.20@PAGE Lloh81: add x1, x1, l_.str.20@PAGEOFF mov x0, x21 bl _dev_info ldr w20, [x20] LBB0_79: ; =>This Inner Loop Header: Depth=1 cbz w20, LBB0_121 ; %bb.80: ; in Loop: Header=BB0_79 Depth=1 sub w20, w20, #1 mov x0, x19 bl _halt_simple cbz w0, LBB0_79 ; %bb.81: Lloh82: adrp x1, l_.str.21@PAGE Lloh83: add x1, x1, l_.str.21@PAGEOFF b LBB0_120 LBB0_82: cbz x9, LBB0_4 ; %bb.83: ldr w10, [x19, #4] cbz w10, LBB0_4 ; %bb.84: ldr w10, [x20, #20] stp x9, x10, [sp, #8] str x8, [sp] Lloh84: adrp x1, l_.str.10@PAGE Lloh85: add x1, x1, l_.str.10@PAGEOFF mov x0, x21 bl _dev_info ldr x0, [x20, #8] ldr w1, [x20, #20] ldr w4, [x19, #4] mov w2, #0 ; =0x0 b LBB0_93 LBB0_85: ldr w9, [x19, #4] cbz w9, LBB0_4 ; %bb.86: ldr w9, [x20, #20] stp x9, x8, [sp] Lloh86: adrp x1, l_.str.27@PAGE Lloh87: add x1, x1, l_.str.27@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x19, #4] ldr w2, [x20, #20] ldr w3, [x20] Lloh88: adrp x5, l_.str.28@PAGE Lloh89: add x5, x5, l_.str.28@PAGEOFF LBB0_87: mov x0, x19 mov w4, #0 ; =0x0 b LBB0_102 LBB0_88: stp x9, x8, [sp] Lloh90: adrp x1, l_.str.15@PAGE Lloh91: add x1, x1, l_.str.15@PAGEOFF mov x0, x21 bl _dev_info mov x0, x19 mov x1, 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 add sp, sp, #96 b _test_ctrl_queue LBB0_89: cbz x9, LBB0_4 ; %bb.90: ldr w10, [x19, #4] cbz w10, LBB0_4 ; %bb.91: ldr w10, [x20, #24] cbz w10, LBB0_4 ; %bb.92: ldr w11, [x20, #20] stp x9, x11, [sp, #16] stp x10, x8, [sp] Lloh92: adrp x1, l_.str.12@PAGE Lloh93: add x1, x1, l_.str.12@PAGEOFF mov x0, x21 bl _dev_info ldr x0, [x20, #8] ldp w1, w2, [x20, #20] ldr w4, [x19, #4] LBB0_93: mov x3, x19 bl _alloc_sglist cbz x0, LBB0_127 ; %bb.94: mov x21, x0 ldr w2, [x19, #4] LBB0_95: ldp x1, x5, [x20] sub x3, x29, #36 mov x0, x19 mov x4, x21 bl _perform_sglist mov x19, x0 ldr x1, [x20, #8] mov x0, x21 bl _free_sglist mov x0, x19 b LBB0_4 LBB0_96: cbz x9, LBB0_4 ; %bb.97: ldr w10, [x19, #64] cbz w10, LBB0_4 ; %bb.98: ldr w10, [x20, #20] stp x9, x10, [sp, #8] str x8, [sp] Lloh94: adrp x1, l_.str.34@PAGE Lloh95: add x1, x1, l_.str.34@PAGEOFF mov x0, x21 bl _dev_info ldr w2, [x19, #64] ldr x3, [x19, #56] b LBB0_106 LBB0_99: ldr w9, [x19] cbz w9, LBB0_4 ; %bb.100: ldr w9, [x20, #20] stp x9, x8, [sp] Lloh96: adrp x1, l_.str.29@PAGE Lloh97: add x1, x1, l_.str.29@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x19] ldr w2, [x20, #20] ldr w3, [x20] Lloh98: adrp x8, _URB_NO_TRANSFER_DMA_MAP@GOTPAGE Lloh99: ldr x8, [x8, _URB_NO_TRANSFER_DMA_MAP@GOTPAGEOFF] Lloh100: ldr w4, [x8] Lloh101: adrp x5, l_.str.30@PAGE Lloh102: add x5, x5, l_.str.30@PAGEOFF LBB0_101: mov x0, x19 LBB0_102: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 b _test_unaligned_bulk LBB0_103: cbz x9, LBB0_4 ; %bb.104: ldr w10, [x19, #48] cbz w10, LBB0_4 ; %bb.105: ldr w10, [x20, #20] stp x9, x10, [sp, #8] str x8, [sp] Lloh103: adrp x1, l_.str.35@PAGE Lloh104: add x1, x1, l_.str.35@PAGEOFF mov x0, x21 bl _dev_info ldr w2, [x19, #48] ldr x3, [x19, #40] LBB0_106: mov x0, x19 mov x1, x20 mov w4, #1 ; =0x1 b LBB0_113 LBB0_107: ldr w10, [x19, #4] cbz w10, LBB0_4 ; %bb.108: cbz x9, LBB0_4 ; %bb.109: Lloh105: adrp x10, _pattern@GOTPAGE Lloh106: ldr x10, [x10, _pattern@GOTPAGEOFF] Lloh107: ldr w10, [x10] cbnz w10, LBB0_4 ; %bb.110: mul x8, x9, x8 ldrsw x9, [x20, #20] mul x8, x8, x9 mov w9, #1048575 ; =0xfffff add x9, x8, x9 cmp x8, #0 csel x8, x9, x8, lt asr x8, x8, #20 str x8, [sp] Lloh108: adrp x1, l_.str.43@PAGE Lloh109: add x1, x1, l_.str.43@PAGEOFF mov x0, x21 bl _dev_info ldr w2, [x19, #4] LBB0_111: mov x0, x19 mov x1, x20 mov x3, #0 ; =0x0 LBB0_112: mov w4, #0 ; =0x0 LBB0_113: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 b _test_queue LBB0_114: ldr w9, [x19] cbz w9, LBB0_4 ; %bb.115: str x8, [sp] Lloh110: adrp x1, l_.str.44@PAGE Lloh111: add x1, x1, l_.str.44@PAGEOFF mov x0, x21 bl _dev_info ldr w20, [x20] cbz w20, LBB0_121 LBB0_116: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _toggle_sync_simple subs w20, w20, #1 cbnz w0, LBB0_118 ; %bb.117: ; in Loop: Header=BB0_116 Depth=1 b.ne LBB0_116 LBB0_118: cbz w0, LBB0_4 ; %bb.119: Lloh112: adrp x1, l_.str.45@PAGE Lloh113: add x1, x1, l_.str.45@PAGEOFF LBB0_120: mov x21, x0 mov x0, x19 mov x2, x20 bl _ERROR mov x0, x21 b LBB0_4 LBB0_121: mov w0, #0 ; =0x0 b LBB0_4 LBB0_122: ldr w9, [x19, #16] cbz w9, LBB0_4 ; %bb.123: ldr w9, [x20, #20] stp x9, x8, [sp] Lloh114: adrp x1, l_.str.40@PAGE Lloh115: add x1, x1, l_.str.40@PAGEOFF mov x0, x21 bl _dev_info ldr w1, [x19, #16] ldr w2, [x20, #20] ldr x8, [x19, #8] ldr w3, [x8] mov x0, x22 bl _simple_alloc_urb cbz x0, LBB0_127 ; %bb.124: mov x21, x0 ldr x2, [x20] Lloh116: adrp x5, l_.str.41@PAGE Lloh117: add x5, x5, l_.str.41@PAGEOFF LBB0_125: mov x0, x19 mov x1, x21 mov w3, #0 ; =0x0 LBB0_126: mov w4, #0 ; =0x0 bl _simple_io mov x19, x0 mov x0, x21 bl _simple_free_urb mov x0, x19 b LBB0_4 LBB0_127: Lloh118: adrp x8, _ENOMEM@GOTPAGE Lloh119: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_3 LBB0_128: str x22, [sp] Lloh120: adrp x1, l_.str.37@PAGE Lloh121: add x1, x1, l_.str.37@PAGEOFF LBB0_129: mov x19, x0 mov x0, x21 mov x2, x19 LBB0_130: bl _dev_err mov x0, x19 b LBB0_4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpAdd Lloh71, Lloh72 .loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpAdd Lloh82, Lloh83 .loh AdrpAdd Lloh84, Lloh85 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpAdd Lloh86, Lloh87 .loh AdrpAdd Lloh90, Lloh91 .loh AdrpAdd Lloh92, Lloh93 .loh AdrpAdd Lloh94, Lloh95 .loh AdrpAdd Lloh101, Lloh102 .loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpAdd Lloh103, Lloh104 .loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh107 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpAdd Lloh110, Lloh111 .loh AdrpAdd Lloh112, Lloh113 .loh AdrpAdd Lloh114, Lloh115 .loh AdrpAdd Lloh116, Lloh117 .loh AdrpLdrGot Lloh118, Lloh119 .loh AdrpAdd Lloh120, Lloh121 .cfi_endproc .section __TEXT,__const .p2align 1, 0x0 lJTI0_0: .short (LBB0_7-LBB0_7)>>2 .short (LBB0_61-LBB0_7)>>2 .short (LBB0_46-LBB0_7)>>2 .short (LBB0_53-LBB0_7)>>2 .short (LBB0_23-LBB0_7)>>2 .short (LBB0_68-LBB0_7)>>2 .short (LBB0_82-LBB0_7)>>2 .short (LBB0_57-LBB0_7)>>2 .short (LBB0_89-LBB0_7)>>2 .short (LBB0_33-LBB0_7)>>2 .short (LBB0_88-LBB0_7)>>2 .short (LBB0_17-LBB0_7)>>2 .short (LBB0_27-LBB0_7)>>2 .short (LBB0_76-LBB0_7)>>2 .short (LBB0_15-LBB0_7)>>2 .short (LBB0_49-LBB0_7)>>2 .short (LBB0_12-LBB0_7)>>2 .short (LBB0_64-LBB0_7)>>2 .short (LBB0_85-LBB0_7)>>2 .short (LBB0_99-LBB0_7)>>2 .short (LBB0_66-LBB0_7)>>2 .short (LBB0_73-LBB0_7)>>2 .short (LBB0_96-LBB0_7)>>2 .short (LBB0_103-LBB0_7)>>2 .short (LBB0_40-LBB0_7)>>2 .short (LBB0_37-LBB0_7)>>2 .short (LBB0_122-LBB0_7)>>2 .short (LBB0_8-LBB0_7)>>2 .short (LBB0_107-LBB0_7)>>2 .short (LBB0_114-LBB0_7)>>2 ; -- End function .comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP .comm _EINVAL,4,2 ; @EINVAL .comm _MAX_SGLEN,8,3 ; @MAX_SGLEN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "TEST 0: NOP\n" l_.str.1: ; @.str.1 .asciz "TEST 1: write %d bytes %u times\n" .comm _ENOMEM,4,2 ; @ENOMEM l_.str.2: ; @.str.2 .asciz "test1" l_.str.3: ; @.str.3 .asciz "TEST 2: read %d bytes %u times\n" l_.str.4: ; @.str.4 .asciz "test2" l_.str.5: ; @.str.5 .asciz "TEST 3: write/%d 0..%d bytes %u times\n" l_.str.6: ; @.str.6 .asciz "test3" l_.str.7: ; @.str.7 .asciz "TEST 4: read/%d 0..%d bytes %u times\n" l_.str.8: ; @.str.8 .asciz "test4" l_.str.9: ; @.str.9 .asciz "TEST 5: write %d sglists %d entries of %d bytes\n" l_.str.10: ; @.str.10 .asciz "TEST 6: read %d sglists %d entries of %d bytes\n" l_.str.11: ; @.str.11 .asciz "TEST 7: write/%d %d sglists %d entries 0..%d bytes\n" l_.str.12: ; @.str.12 .asciz "TEST 8: read/%d %d sglists %d entries 0..%d bytes\n" l_.str.13: ; @.str.13 .asciz "TEST 9: ch9 (subset) control tests, %d times\n" l_.str.14: ; @.str.14 .asciz "ch9 subset failed, iterations left %d\n" l_.str.15: ; @.str.15 .asciz "TEST 10: queue %d control calls, %d times\n" l_.str.16: ; @.str.16 .asciz "TEST 11: unlink %d reads of %d\n" l_.str.17: ; @.str.17 .asciz "unlink reads failed %d, iterations left %d\n" l_.str.18: ; @.str.18 .asciz "TEST 12: unlink %d writes of %d\n" l_.str.19: ; @.str.19 .asciz "unlink writes failed %d, iterations left %d\n" l_.str.20: ; @.str.20 .asciz "TEST 13: set/clear %d halts\n" l_.str.21: ; @.str.21 .asciz "halts failed, iterations left %d\n" l_.str.22: ; @.str.22 .asciz "TEST 14: %d ep0out, %d..%d vary %d\n" .comm _realworld,4,2 ; @realworld l_.str.23: ; @.str.23 .asciz "TEST 15: write %d iso, %d entries of %d bytes\n" l_.str.24: ; @.str.24 .asciz "TEST 16: read %d iso, %d entries of %d bytes\n" l_.str.25: ; @.str.25 .asciz "TEST 17: write odd addr %d bytes %u times core map\n" l_.str.26: ; @.str.26 .asciz "test17" l_.str.27: ; @.str.27 .asciz "TEST 18: read odd addr %d bytes %u times core map\n" l_.str.28: ; @.str.28 .asciz "test18" l_.str.29: ; @.str.29 .asciz "TEST 19: write odd addr %d bytes %u times premapped\n" .comm _URB_NO_TRANSFER_DMA_MAP,4,2 ; @URB_NO_TRANSFER_DMA_MAP l_.str.30: ; @.str.30 .asciz "test19" l_.str.31: ; @.str.31 .asciz "TEST 20: read odd addr %d bytes %u times premapped\n" l_.str.32: ; @.str.32 .asciz "test20" l_.str.33: ; @.str.33 .asciz "TEST 21: %d ep0out odd addr, %d..%d vary %d\n" l_.str.34: ; @.str.34 .asciz "TEST 22: write %d iso odd, %d entries of %d bytes\n" l_.str.35: ; @.str.35 .asciz "TEST 23: read %d iso odd, %d entries of %d bytes\n" l_.str.36: ; @.str.36 .asciz "TEST 24: unlink from %d queues of %d %d-byte writes\n" l_.str.37: ; @.str.37 .asciz "unlink queued writes failed %d, iterations left %d\n" l_.str.38: ; @.str.38 .asciz "TEST 25: write %d bytes %u times\n" l_.str.39: ; @.str.39 .asciz "test25" l_.str.40: ; @.str.40 .asciz "TEST 26: read %d bytes %u times\n" l_.str.41: ; @.str.41 .asciz "test26" .comm _pattern,4,2 ; @pattern l_.str.42: ; @.str.42 .asciz "TEST 27: bulk write %dMbytes\n" l_.str.43: ; @.str.43 .asciz "TEST 28: bulk read %dMbytes\n" l_.str.44: ; @.str.44 .asciz "TEST 29: Clear toggle between bulk writes %d times\n" l_.str.45: ; @.str.45 .asciz "toggle sync failed, iterations left %d\n" .no_dead_strip _usbtest_do_ioctl .subsections_via_symbols
assembly_file_132087.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -16(%rbp) movl $0, -12(%rbp) movl $0, -8(%rbp) movl $0, -4(%rbp) leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -16(%rbp), %rsi leaq -12(%rbp), %rdx leaq -8(%rbp), %rcx leaq -4(%rbp), %r8 xorl %eax, %eax callq _scanf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Please define two integers and two floating point numbers:" L_.str.1: ## @.str.1 .asciz "%d %d %f %f" .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 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 stp xzr, xzr, [x29, #-16] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #16 sub x9, x29, #12 stp x9, x8, [sp, #16] sub x8, x29, #8 sub x9, x29, #4 stp x9, x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Please define two integers and two floating point numbers:" l_.str.1: ; @.str.1 .asciz "%d %d %f %f" .subsections_via_symbols
the_stack_data/11577.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function back_demux_see_packets _back_demux_see_packets: ## @back_demux_see_packets .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq 72(%rdi), %r14 cmpl $0, 64(%rdi) jne LBB0_2 ## %bb.1: cmpl $0, (%r14) je LBB0_16 LBB0_2: cmpl $0, (%rbx) je LBB0_3 ## %bb.4: xorl %edi, %edi cmpq $0, 32(%rbx) sete %dil jmp LBB0_5 LBB0_3: movl $1, %edi LBB0_5: callq _assert cmpq $0, 48(%rbx) jne LBB0_7 ## %bb.6: cmpq $0, 40(%rbx) jne LBB0_7 ## %bb.17: leaq L_.str(%rip), %rsi movq %r14, %rdi callq _MP_ERR movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _error_on_backward_demuxing ## TAILCALL .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_7 Depth=1 movl $0, (%rbx) movl $1, 24(%rbx) movq %rbx, %rdi callq _wakeup_ds LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 cmpl $0, (%rbx) je LBB0_15 LBB0_8: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movq 56(%rbx), %rax testq %rax, %rax je LBB0_15 ## %bb.9: ## in Loop: Header=BB0_8 Depth=2 cmpq $0, 48(%rbx) je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_8 Depth=2 movq (%rax), %rcx cmpq 8(%rbx), %rcx je LBB0_13 LBB0_11: ## in Loop: Header=BB0_8 Depth=2 cmpq $0, 40(%rbx) je LBB0_14 ## %bb.12: ## in Loop: Header=BB0_8 Depth=2 movq 8(%rax), %rax cmpq 16(%rbx), %rax je LBB0_13 LBB0_14: ## in Loop: Header=BB0_8 Depth=2 movq %rbx, %rdi callq _advance_reader_head cmpl $0, (%rbx) jne LBB0_8 LBB0_15: cmpq $0, 32(%rbx) je LBB0_16 ## %bb.18: movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _find_backward_restart_pos ## TAILCALL LBB0_16: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Can't demux backward due to demuxer problems.\n" .no_dead_strip _back_demux_see_packets .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function back_demux_see_packets _back_demux_see_packets: ; @back_demux_see_packets .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill 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 x20, [x0, #72] ldr w8, [x0, #64] cbnz w8, LBB0_2 ; %bb.1: ldr w8, [x20] cbz w8, LBB0_18 LBB0_2: ldr w8, [x19] cbz w8, LBB0_4 ; %bb.3: ldr x8, [x19, #32] cmp x8, #0 cset w0, eq b LBB0_5 LBB0_4: mov w0, #1 ; =0x1 LBB0_5: bl _assert ldr x8, [x19, #48] cbnz x8, LBB0_7 ; %bb.6: ldr x8, [x19, #40] cbz x8, LBB0_19 LBB0_7: ldr w8, [x19] cbz w8, LBB0_16 ; %bb.8: mov w20, #1 ; =0x1 b LBB0_10 LBB0_9: ; in Loop: Header=BB0_10 Depth=1 str wzr, [x19] str w20, [x19, #24] mov x0, x19 bl _wakeup_ds ldr w8, [x19] cbz w8, LBB0_16 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #56] cbz x8, LBB0_16 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 ldr x9, [x19, #48] cbz x9, LBB0_13 ; %bb.12: ; in Loop: Header=BB0_10 Depth=1 ldr x9, [x8] ldr x10, [x19, #8] cmp x9, x10 b.eq LBB0_9 LBB0_13: ; in Loop: Header=BB0_10 Depth=1 ldr x9, [x19, #40] cbz x9, LBB0_15 ; %bb.14: ; in Loop: Header=BB0_10 Depth=1 ldr x8, [x8, #8] ldr x9, [x19, #16] cmp x8, x9 b.eq LBB0_9 LBB0_15: ; in Loop: Header=BB0_10 Depth=1 mov x0, x19 bl _advance_reader_head ldr w8, [x19] cbnz w8, LBB0_10 LBB0_16: ldr x8, [x19, #32] cbz x8, LBB0_18 ; %bb.17: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _find_backward_restart_pos LBB0_18: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_19: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _MP_ERR mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _error_on_backward_demuxing .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Can't demux backward due to demuxer problems.\n" .no_dead_strip _back_demux_see_packets .subsections_via_symbols
assembly_file_113259.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function get_cpu_vendor _get_cpu_vendor: ## @get_cpu_vendor .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq (%rdi), %r14 movq _X86_VENDOR_NUM@GOTPCREL(%rip), %r15 cmpl $0, (%r15) jle LBB0_8 ## %bb.1: movl $1, %r12d movq _cpu_devs@GOTPCREL(%rip), %r13 jmp LBB0_2 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movslq (%r15), %rax decq %r12 cmpq %rax, %r12 jg LBB0_8 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r13), %rax movq -8(%rax,%r12,8), %rax testq %rax, %rax je LBB0_7 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq 8(%rax), %rax movq (%rax), %rsi movq %r14, %rdi callq _strcmp testl %eax, %eax jne LBB0_7 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq (%r13), %rax movq -8(%rax,%r12,8), %rax movq 8(%rax), %rax movq 8(%rax), %rsi testq %rsi, %rsi je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi callq _strcmp testl %eax, %eax jne LBB0_7 ## %bb.6: movq (%r13), %rax movq -8(%rax,%r12,8), %rax movq _this_cpu@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movl (%rax), %eax movl %eax, 8(%rbx) jmp LBB0_9 LBB0_8: leaq L_.str(%rip), %rdi movq %r14, %rsi callq _pr_err_once movq _X86_VENDOR_UNKNOWN@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) movq _default_cpu@GOTPCREL(%rip), %rax movq _this_cpu@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_9: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _X86_VENDOR_NUM,4,2 ## @X86_VENDOR_NUM .comm _cpu_devs,8,3 ## @cpu_devs .comm _this_cpu,8,3 ## @this_cpu .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "CPU: vendor_id '%s' unknown, using generic init.\nCPU: Your system may be unstable.\n" .comm _X86_VENDOR_UNKNOWN,4,2 ## @X86_VENDOR_UNKNOWN .comm _default_cpu,16,3 ## @default_cpu .no_dead_strip _get_cpu_vendor .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_cpu_vendor _get_cpu_vendor: ; @get_cpu_vendor .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x20, [x0] Lloh0: adrp x21, _X86_VENDOR_NUM@GOTPAGE Lloh1: ldr x21, [x21, _X86_VENDOR_NUM@GOTPAGEOFF] ldr w8, [x21] cmp w8, #1 b.lt LBB0_8 ; %bb.1: mov x22, #0 ; =0x0 Lloh2: adrp x23, _cpu_devs@GOTPAGE Lloh3: ldr x23, [x23, _cpu_devs@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 sub x8, x22, #1 ldrsw x9, [x21] cmp x22, x9 mov x22, x8 b.gt LBB0_8 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x23] ldr x8, [x8, x22, lsl #3] cbz x8, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x8, #8] ldr x1, [x8] mov x0, x20 bl _strcmp cbnz w0, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x23] ldr x8, [x8, x22, lsl #3] ldr x8, [x8, #8] ldr x1, [x8, #8] cbz x1, LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 bl _strcmp cbnz w0, LBB0_2 ; %bb.7: ldr x8, [x23] ldr x8, [x8, x22, lsl #3] Lloh4: adrp x9, _this_cpu@GOTPAGE Lloh5: ldr x9, [x9, _this_cpu@GOTPAGEOFF] Lloh6: str x8, [x9] ldr w8, [x8] str w8, [x19, #8] b LBB0_9 LBB0_8: Lloh7: adrp x0, l_.str@PAGE Lloh8: add x0, x0, l_.str@PAGEOFF mov x1, x20 bl _pr_err_once Lloh9: adrp x8, _X86_VENDOR_UNKNOWN@GOTPAGE Lloh10: ldr x8, [x8, _X86_VENDOR_UNKNOWN@GOTPAGEOFF] Lloh11: ldr w8, [x8] str w8, [x19, #8] Lloh12: adrp x8, _this_cpu@GOTPAGE Lloh13: ldr x8, [x8, _this_cpu@GOTPAGEOFF] Lloh14: adrp x9, _default_cpu@GOTPAGE Lloh15: ldr x9, [x9, _default_cpu@GOTPAGEOFF] Lloh16: str x9, [x8] LBB0_9: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotStr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotStr Lloh12, Lloh13, Lloh16 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _X86_VENDOR_NUM,4,2 ; @X86_VENDOR_NUM .comm _cpu_devs,8,3 ; @cpu_devs .comm _this_cpu,8,3 ; @this_cpu .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "CPU: vendor_id '%s' unknown, using generic init.\nCPU: Your system may be unstable.\n" .comm _X86_VENDOR_UNKNOWN,4,2 ; @X86_VENDOR_UNKNOWN .comm _default_cpu,16,3 ; @default_cpu .no_dead_strip _get_cpu_vendor .subsections_via_symbols
assembly_file_7878.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dwarfgetnref ## -- Begin function dwarfgetnref .p2align 4, 0x90 _dwarfgetnref: ## @dwarfgetnref .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq _nil@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq %rax, %rcx je LBB0_2 ## %bb.1: movslq %esi, %rdx addq %rax, %rdx cmpq 8(%rdi), %rdx jle LBB0_3 LBB0_2: movq %rcx, %rdx movq %rcx, %rax LBB0_3: movq %rdx, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .comm _nil,8,3 ## @nil .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dwarfgetnref ; -- Begin function dwarfgetnref .p2align 2 _dwarfgetnref: ; @dwarfgetnref .cfi_startproc ; %bb.0: ldr x8, [x0] Lloh0: adrp x9, _nil@GOTPAGE Lloh1: ldr x9, [x9, _nil@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x9, x8 b.eq LBB0_2 ; %bb.1: add x10, x8, w1, sxtw ldr x11, [x0, #8] cmp x10, x11 b.le LBB0_3 LBB0_2: mov x8, x9 b LBB0_4 LBB0_3: mov x9, x10 LBB0_4: str x9, [x0] mov x0, x8 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _nil,8,3 ; @nil .subsections_via_symbols
AnghaBench/reactos/sdk/lib/rossym/extr_dwarfget.c_dwarfgetnref.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $3, %edi jne LBB0_10 ## %bb.1: movq %rsi, %r15 leaq -40(%rbp), %rbx movq %rbx, %rdi xorl %esi, %esi movl $16, %edx callq _memset movq _PNG_IMAGE_VERSION@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movq 8(%r15), %rsi movq %rbx, %rdi callq _png_image_begin_read_from_file testq %rax, %rax je LBB0_9 ## %bb.2: movq _PNG_FORMAT_RGBA@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -32(%rbp) movq -40(%rbp), %rdi movq -32(%rbp), %rsi callq _PNG_IMAGE_SIZE movq %rax, %rdi callq _malloc testq %rax, %rax je LBB0_8 ## %bb.3: movq %rax, %r14 xorl %ebx, %ebx leaq -40(%rbp), %rdi xorl %esi, %esi movq %rax, %rdx xorl %ecx, %ecx xorl %r8d, %r8d callq _png_image_finish_read testq %rax, %rax je LBB0_7 ## %bb.4: movq 16(%r15), %rsi leaq -40(%rbp), %rdi xorl %edx, %edx movq %r14, %rcx xorl %r8d, %r8d xorl %r9d, %r9d callq _png_image_write_to_file testq %rax, %rax jne LBB0_6 ## %bb.5: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq 16(%r15), %rdx movq -40(%rbp), %rcx leaq L_.str(%rip), %rsi xorl %eax, %eax callq _fprintf movl $1, %ebx LBB0_6: movq %r14, %rdi callq _free jmp LBB0_12 LBB0_10: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.4(%rip), %rsi xorl %eax, %eax callq _fprintf jmp LBB0_11 LBB0_9: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq 8(%r15), %rdx movq -40(%rbp), %rcx leaq L_.str.3(%rip), %rsi xorl %eax, %eax callq _fprintf jmp LBB0_11 LBB0_8: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %ebx movq -40(%rbp), %rdi movq -32(%rbp), %rsi callq _PNG_IMAGE_SIZE leaq L_.str.2(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _fprintf jmp LBB0_11 LBB0_7: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq 8(%r15), %rdx movq -40(%rbp), %rcx leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq _fprintf leaq -40(%rbp), %rdi callq _png_image_free LBB0_11: movl $1, %ebx LBB0_12: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PNG_IMAGE_VERSION,4,2 ## @PNG_IMAGE_VERSION .comm _PNG_FORMAT_RGBA,4,2 ## @PNG_FORMAT_RGBA .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "pngtopng: write %s: %s\n" L_.str.1: ## @.str.1 .asciz "pngtopng: read %s: %s\n" L_.str.2: ## @.str.2 .asciz "pngtopng: out of memory: %lu bytes\n" L_.str.3: ## @.str.3 .asciz "pngtopng: %s: %s\n" L_.str.4: ## @.str.4 .asciz "pngtopng: usage: pngtopng input-file output-file\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 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 cmp w0, #3 b.ne LBB0_7 ; %bb.1: mov x19, x1 add x0, sp, #16 mov w1, #0 mov w2, #16 bl _memset Lloh0: adrp x8, _PNG_IMAGE_VERSION@GOTPAGE Lloh1: ldr x8, [x8, _PNG_IMAGE_VERSION@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [sp, #28] ldr x1, [x19, #8] add x0, sp, #16 bl _png_image_begin_read_from_file cbz x0, LBB0_8 ; %bb.2: Lloh3: adrp x8, _PNG_FORMAT_RGBA@GOTPAGE Lloh4: ldr x8, [x8, _PNG_FORMAT_RGBA@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [sp, #24] ldp x0, x1, [sp, #16] bl _PNG_IMAGE_SIZE bl _malloc cbz x0, LBB0_9 ; %bb.3: mov x20, x0 add x0, sp, #16 mov x1, #0 mov x2, x20 mov w3, #0 mov x4, #0 bl _png_image_finish_read cbz x0, LBB0_13 ; %bb.4: ldr x1, [x19, #16] add x0, sp, #16 mov w2, #0 mov x3, x20 mov w4, #0 mov x5, #0 bl _png_image_write_to_file mov w21, #0 cbnz x0, LBB0_6 ; %bb.5: Lloh6: adrp x8, _stderr@GOTPAGE Lloh7: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh8: ldr w0, [x8] ldr x8, [x19, #16] ldr x9, [sp, #16] stp x8, x9, [sp] Lloh9: adrp x1, l_.str@PAGE Lloh10: add x1, x1, l_.str@PAGEOFF bl _fprintf mov w21, #1 LBB0_6: mov x0, x20 bl _free b LBB0_12 LBB0_7: Lloh11: adrp x8, _stderr@GOTPAGE Lloh12: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh13: ldr w0, [x8] Lloh14: adrp x1, l_.str.4@PAGE Lloh15: add x1, x1, l_.str.4@PAGEOFF b LBB0_10 LBB0_8: Lloh16: adrp x8, _stderr@GOTPAGE Lloh17: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh18: ldr w0, [x8] ldr x8, [x19, #8] ldr x9, [sp, #16] stp x8, x9, [sp] Lloh19: adrp x1, l_.str.3@PAGE Lloh20: add x1, x1, l_.str.3@PAGEOFF b LBB0_10 LBB0_9: Lloh21: adrp x8, _stderr@GOTPAGE Lloh22: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh23: ldr w19, [x8] ldp x0, x1, [sp, #16] bl _PNG_IMAGE_SIZE str x0, [sp] Lloh24: adrp x1, l_.str.2@PAGE Lloh25: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 LBB0_10: bl _fprintf LBB0_11: mov w21, #1 LBB0_12: mov x0, x21 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_13: Lloh26: adrp x8, _stderr@GOTPAGE Lloh27: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh28: ldr w0, [x8] ldr x8, [x19, #8] ldr x9, [sp, #16] stp x8, x9, [sp] Lloh29: adrp x1, l_.str.1@PAGE Lloh30: add x1, x1, l_.str.1@PAGEOFF bl _fprintf add x0, sp, #16 bl _png_image_free b LBB0_11 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .cfi_endproc ; -- End function .comm _PNG_IMAGE_VERSION,4,2 ; @PNG_IMAGE_VERSION .comm _PNG_FORMAT_RGBA,4,2 ; @PNG_FORMAT_RGBA .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "pngtopng: write %s: %s\n" l_.str.1: ; @.str.1 .asciz "pngtopng: read %s: %s\n" l_.str.2: ; @.str.2 .asciz "pngtopng: out of memory: %lu bytes\n" l_.str.3: ; @.str.3 .asciz "pngtopng: %s: %s\n" l_.str.4: ; @.str.4 .asciz "pngtopng: usage: pngtopng input-file output-file\n" .subsections_via_symbols
AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/examples/extr_pngtopng.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _decompress_nv12 ## -- Begin function decompress_nv12 .p2align 4, 0x90 _decompress_nv12: ## @decompress_nv12 .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 %r8, %r14 movl %ecx, %r13d movq %rdi, %rbx movl %edx, %r12d shrl $31, %r12d addl %edx, %r12d sarl %r12d movq %rsi, -88(%rbp) ## 8-byte Spill movl (%rsi), %edi movl %r9d, %r15d movl %r9d, %esi callq _min_uint32 movl %eax, -44(%rbp) ## 4-byte Spill movl %r13d, %ecx shrl $31, %ecx addl %r13d, %ecx sarl %ecx cmpl %ecx, %r12d jge LBB0_6 ## %bb.1: movl -44(%rbp), %eax ## 4-byte Reload movl %eax, %edx shrl $31, %edx addl %eax, %edx sarl %edx movq (%rbx), %rax movq 8(%rbx), %rsi movq %rsi, -64(%rbp) ## 8-byte Spill movl %r15d, %r11d movslq %r15d, %rdi movslq %r12d, %r10 movslq %ecx, %rcx movq %rcx, -96(%rbp) ## 8-byte Spill movl %edx, %edx leaq (%r14,%rdi,4), %rcx addq $4, %rcx movq %rcx, -56(%rbp) ## 8-byte Spill movl %r12d, %r13d imull %r15d, %r13d addl %r13d, %r13d addl %r15d, %r11d addq $4, %r14 movq %r14, -80(%rbp) ## 8-byte Spill addq $4, %rax movq %rax, -72(%rbp) ## 8-byte Spill addl %r12d, %r12d leaq (,%r10,4), %rdi jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 incq %r10 addl %r11d, %r13d addl $2, %r12d addq $4, %rdi cmpq -96(%rbp), %r10 ## 8-byte Folded Reload je LBB0_6 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 cmpl $2, -44(%rbp) ## 4-byte Folded Reload jl LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movslq %r13d, %rbx movq -56(%rbp), %rax ## 8-byte Reload leaq (%rax,%rbx,4), %rcx movq -80(%rbp), %rax ## 8-byte Reload leaq (%rax,%rbx,4), %rbx movq -88(%rbp), %rax ## 8-byte Reload movslq (%rax), %rsi movslq 4(%rax), %r8 movl %esi, %eax imull %r12d, %eax movslq %eax, %r14 addq %r14, %rsi movq -72(%rbp), %rax ## 8-byte Reload leaq (%rax,%rsi,4), %r9 leaq (%rax,%r14,4), %r15 imulq %rdi, %r8 addq -64(%rbp), %r8 ## 8-byte Folded Reload xorl %r14d, %r14d .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r8,%r14,4), %eax shll $8, %eax movl -4(%r15,%r14,8), %esi orl %eax, %esi movl %esi, -4(%rbx,%r14,8) movl (%r15,%r14,8), %esi orl %eax, %esi movl %esi, (%rbx,%r14,8) movl -4(%r9,%r14,8), %esi orl %eax, %esi movl %esi, -4(%rcx,%r14,8) orl (%r9,%r14,8), %eax movl %eax, (%rcx,%r14,8) incq %r14 cmpl %r14d, %edx jne LBB0_4 jmp LBB0_5 LBB0_6: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _decompress_nv12 ; -- Begin function decompress_nv12 .p2align 2 _decompress_nv12: ; @decompress_nv12 .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, x5 mov x20, x4 mov x23, x3 mov x21, x1 mov x22, x0 cmp w2, #0 cinc w8, w2, lt asr w24, w8, #1 ldr w0, [x1] mov x1, x5 bl _min_uint32 cmp w0, #0 cinc w8, w0, lt cmp w23, #0 cinc w9, w23, lt asr w12, w9, #1 cmp w24, w12 b.ge LBB0_6 ; %bb.1: asr w8, w8, #1 ldp x10, x9, [x22] sxtw x11, w24 sxtw x12, w12 sbfiz x13, x19, #2, #32 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x11, x11, #1 cmp x11, x12 b.eq LBB0_6 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 cmp w0, #2 b.lt LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 lsl w14, w11, #1 mul w15, w14, w19 add x15, x20, w15, sxtw #2 ldpsw x16, x17, [x21] mul w14, w16, w14 add x1, x10, w14, sxtw #2 mul x14, x11, x17 add x14, x9, x14, lsl #2 lsl x16, x16, #2 mov x17, x8 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w2, [x14], #4 add x3, x15, x13 add x4, x1, x16 lsl w2, w2, #8 ldr w5, [x1] orr w5, w5, w2 str w5, [x15] ldr w5, [x1, #4] add x1, x1, #8 orr w5, w5, w2 str w5, [x15, #4] add x15, x15, #8 ldr w5, [x4] orr w5, w5, w2 str w5, [x3] ldr w4, [x4, #4] orr w2, w4, w2 str w2, [x3, #4] subs w17, w17, #1 b.ne LBB0_5 b LBB0_2 LBB0_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/obs-studio/libobs/media-io/extr_format-conversion.c_decompress_nv12.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ufs_write_begin _ufs_write_begin: ## @ufs_write_begin .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 %r9, %rax movl %ecx, %ebx movl %edx, %r15d movq %rsi, %r14 movq _ufs_getfrag_block@GOTPCREL(%rip), %rcx movl (%rcx), %r9d movq %rsi, %rdi movl %edx, %esi movl %ebx, %edx movl %r8d, %ecx movq %rax, %r8 callq _block_write_begin movl %eax, %r12d movl %eax, %edi callq _unlikely testq %rax, %rax je LBB0_2 ## %bb.1: addl %r15d, %ebx movq %r14, %rdi movl %ebx, %esi callq _ufs_write_failed LBB0_2: movl %r12d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ufs_getfrag_block,4,2 ## @ufs_getfrag_block .no_dead_strip _ufs_write_begin .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ufs_write_begin _ufs_write_begin: ; @ufs_write_begin .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 x8, x5 mov x20, x3 mov x21, x2 mov x19, x1 Lloh0: adrp x9, _ufs_getfrag_block@GOTPAGE Lloh1: ldr x9, [x9, _ufs_getfrag_block@GOTPAGEOFF] Lloh2: ldr w5, [x9] mov x0, x1 mov x1, x2 mov x2, x3 mov x3, x4 mov x4, x8 bl _block_write_begin mov x22, x0 bl _unlikely cbz x0, LBB0_2 ; %bb.1: add w1, w20, w21 mov x0, x19 bl _ufs_write_failed LBB0_2: mov x0, x22 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ufs_getfrag_block,4,2 ; @ufs_getfrag_block .no_dead_strip _ufs_write_begin .subsections_via_symbols
AnghaBench/linux/fs/ufs/extr_inode.c_ufs_write_begin.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function create_cache_file _create_cache_file: ## @create_cache_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl $6536, %eax ## imm = 0x1988 callq ____chkstk_darwin subq %rax, %rsp popq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsp, %r13 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _MAX_PATH@GOTPCREL(%rip), %rax movl (%rax), %r14d movq %r14, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 movq _test_txtA@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _GENERIC_WRITE@GOTPCREL(%rip), %rax movl (%rax), %esi movq _CREATE_ALWAYS@GOTPCREL(%rip), %rax movl (%rax), %r8d movq _FILE_ATTRIBUTE_NORMAL@GOTPCREL(%rip), %rax movl (%rax), %r9d subq $8, %rsp xorl %edx, %edx xorl %ecx, %ecx pushq $0 callq _CreateFileA addq $16, %rsp movq %rax, %rbx movq _INVALID_HANDLE_VALUE@GOTPCREL(%rip), %r12 xorl %edi, %edi cmpq (%r12), %rax setne %dil leaq L_.str(%rip), %rsi callq _ok cmpq (%r12), %rbx je LBB0_2 ## %bb.1: leaq -6560(%rbp), %r12 movq %r12, %rdi movl $88, %esi movl $6500, %edx ## imm = 0x1964 callq _memset leaq -6564(%rbp), %rcx movq %rbx, %rdi movq %r12, %rsi movl $6500, %edx ## imm = 0x1964 xorl %r8d, %r8d callq _WriteFile movq %rbx, %rdi callq _CloseHandle movq %r15, %rdi xorl %esi, %esi movl %r14d, %edx callq _memset movq _MAX_PATH@GOTPCREL(%rip), %rbx movl (%rbx), %edi movq %r15, %rsi callq _GetCurrentDirectoryA leaq L_.str.1(%rip), %rsi movq %r15, %rdi callq _lstrcatA movq _test_txtA@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %r15, %rdi callq _lstrcatA movq _CP_ACP@GOTPCREL(%rip), %rax movl (%rax), %edi movq _cache_file_name@GOTPCREL(%rip), %rax movl (%rax), %r8d movl (%rbx), %r9d xorl %esi, %esi movq %r15, %rdx movl $-1, %ecx callq _MultiByteToWideChar LBB0_2: movq %r13, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_4 ## %bb.3: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAX_PATH,4,2 ## @MAX_PATH .comm _test_txtA,8,3 ## @test_txtA .comm _GENERIC_WRITE,4,2 ## @GENERIC_WRITE .comm _CREATE_ALWAYS,4,2 ## @CREATE_ALWAYS .comm _FILE_ATTRIBUTE_NORMAL,4,2 ## @FILE_ATTRIBUTE_NORMAL .comm _INVALID_HANDLE_VALUE,8,3 ## @INVALID_HANDLE_VALUE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "CreateFile failed\n" L_.str.1: ## @.str.1 .asciz "\\" .comm _CP_ACP,4,2 ## @CP_ACP .comm _cache_file_name,4,2 ## @cache_file_name .no_dead_strip _create_cache_file .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function create_cache_file _create_cache_file: ; @create_cache_file .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov w9, #6512 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #1, lsl #12 ; =4096 sub sp, sp, #2416 mov x19, sp mov x23, sp Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-88] Lloh5: adrp x24, _MAX_PATH@GOTPAGE Lloh6: ldr x24, [x24, _MAX_PATH@GOTPAGEOFF] ldr w21, [x24] mov x9, x21 Lloh7: adrp x16, ___chkstk_darwin@GOTPAGE Lloh8: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x21, #15 and x9, x9, #0x1fffffff0 sub x20, x8, x9 mov sp, x20 Lloh9: adrp x25, _test_txtA@GOTPAGE Lloh10: ldr x25, [x25, _test_txtA@GOTPAGEOFF] ldr x0, [x25] Lloh11: adrp x8, _GENERIC_WRITE@GOTPAGE Lloh12: ldr x8, [x8, _GENERIC_WRITE@GOTPAGEOFF] Lloh13: ldr w1, [x8] Lloh14: adrp x8, _CREATE_ALWAYS@GOTPAGE Lloh15: ldr x8, [x8, _CREATE_ALWAYS@GOTPAGEOFF] Lloh16: ldr w4, [x8] Lloh17: adrp x8, _FILE_ATTRIBUTE_NORMAL@GOTPAGE Lloh18: ldr x8, [x8, _FILE_ATTRIBUTE_NORMAL@GOTPAGEOFF] Lloh19: ldr w5, [x8] mov w2, #0 mov x3, #0 mov x6, #0 bl _CreateFileA mov x22, x0 Lloh20: adrp x26, _INVALID_HANDLE_VALUE@GOTPAGE Lloh21: ldr x26, [x26, _INVALID_HANDLE_VALUE@GOTPAGEOFF] ldr x8, [x26] cmp x0, x8 cset w0, ne Lloh22: adrp x1, l_.str@PAGE Lloh23: add x1, x1, l_.str@PAGEOFF bl _ok ldr x8, [x26] cmp x22, x8 b.eq LBB0_2 ; %bb.1: add x0, x19, #4 mov w1, #88 mov w2, #6500 bl _memset add x1, x19, #4 add x3, x19, #0 mov x0, x22 mov w2, #6500 mov x4, #0 bl _WriteFile mov x0, x22 bl _CloseHandle mov x0, x20 mov w1, #0 mov x2, x21 bl _memset ldr w0, [x24] mov x1, x20 bl _GetCurrentDirectoryA Lloh24: adrp x1, l_.str.1@PAGE Lloh25: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _lstrcatA ldr x1, [x25] mov x0, x20 bl _lstrcatA Lloh26: adrp x8, _CP_ACP@GOTPAGE Lloh27: ldr x8, [x8, _CP_ACP@GOTPAGEOFF] Lloh28: ldr w0, [x8] Lloh29: adrp x8, _cache_file_name@GOTPAGE Lloh30: ldr x8, [x8, _cache_file_name@GOTPAGEOFF] Lloh31: ldr w4, [x8] ldr w5, [x24] mov w1, #0 mov x2, x20 mov w3, #-1 bl _MultiByteToWideChar LBB0_2: mov sp, x23 ldur x8, [x29, #-88] Lloh32: adrp x9, ___stack_chk_guard@GOTPAGE Lloh33: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh34: ldr x9, [x9] cmp x9, x8 b.ne LBB0_4 ; %bb.3: sub sp, x29, #80 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_4: bl ___stack_chk_fail .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .cfi_endproc ; -- End function .comm _MAX_PATH,4,2 ; @MAX_PATH .comm _test_txtA,8,3 ; @test_txtA .comm _GENERIC_WRITE,4,2 ; @GENERIC_WRITE .comm _CREATE_ALWAYS,4,2 ; @CREATE_ALWAYS .comm _FILE_ATTRIBUTE_NORMAL,4,2 ; @FILE_ATTRIBUTE_NORMAL .comm _INVALID_HANDLE_VALUE,8,3 ; @INVALID_HANDLE_VALUE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "CreateFile failed\n" l_.str.1: ; @.str.1 .asciz "\\" .comm _CP_ACP,4,2 ; @CP_ACP .comm _cache_file_name,4,2 ; @cache_file_name .no_dead_strip _create_cache_file .subsections_via_symbols
AnghaBench/reactos/modules/rostests/winetests/urlmon/extr_url.c_create_cache_file.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function iwl_dbgfs_set_nic_temperature_write _iwl_dbgfs_set_nic_temperature_write: ## @iwl_dbgfs_set_nic_temperature_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 %rdx, %r12 movq %rsi, %rbx movq %rdi, %r14 callq _iwl_mvm_firmware_running testl %eax, %eax jne LBB0_4 ## %bb.1: cmpl $0, (%r14) je LBB0_2 LBB0_4: leaq -36(%rbp), %rdx movq %rbx, %rdi movl $10, %esi callq _kstrtoint testq %rax, %rax je LBB0_6 LBB0_5: movq _EINVAL@GOTPCREL(%rip), %rax LBB0_3: xorl %r12d, %r12d subq (%rax), %r12 LBB0_14: movq %r12, %rax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_6: movl -36(%rbp), %eax movq _IWL_MVM_DEBUG_SET_TEMPERATURE_MAX@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax setg %cl movq _IWL_MVM_DEBUG_SET_TEMPERATURE_DISABLE@GOTPCREL(%rip), %rbx cmpl (%rbx), %eax setne %dl testb %dl, %cl jne LBB0_5 ## %bb.7: movq _IWL_MVM_DEBUG_SET_TEMPERATURE_MIN@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jl LBB0_5 ## %bb.8: leaq 8(%r14), %r15 movq %r15, %rdi callq _mutex_lock movl -36(%rbp), %ecx cmpl (%rbx), %ecx jne LBB0_9 ## %bb.10: cmpl $0, (%r14) je LBB0_13 ## %bb.11: leaq L_.str.2(%rip), %rdx xorl %eax, %eax xorl %ecx, %ecx jmp LBB0_12 LBB0_2: movq _EIO@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_9: leaq L_.str.1(%rip), %rdx movl $1, %eax LBB0_12: movl %eax, (%r14) movl %ecx, 4(%r14) leaq L_.str(%rip), %rsi movq %r14, %rdi callq _IWL_DEBUG_TEMP movq %r14, %rdi callq _iwl_mvm_tt_handler LBB0_13: movq %r15, %rdi callq _mutex_unlock jmp LBB0_14 .cfi_endproc ## -- End function .comm _EIO,8,3 ## @EIO .comm _EINVAL,8,3 ## @EINVAL .comm _IWL_MVM_DEBUG_SET_TEMPERATURE_MAX,4,2 ## @IWL_MVM_DEBUG_SET_TEMPERATURE_MAX .comm _IWL_MVM_DEBUG_SET_TEMPERATURE_DISABLE,4,2 ## @IWL_MVM_DEBUG_SET_TEMPERATURE_DISABLE .comm _IWL_MVM_DEBUG_SET_TEMPERATURE_MIN,4,2 ## @IWL_MVM_DEBUG_SET_TEMPERATURE_MIN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%sabling debug set temperature (temp = %d)\n" L_.str.1: ## @.str.1 .asciz "En" L_.str.2: ## @.str.2 .asciz "Dis" .no_dead_strip _iwl_dbgfs_set_nic_temperature_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function iwl_dbgfs_set_nic_temperature_write _iwl_dbgfs_set_nic_temperature_write: ; @iwl_dbgfs_set_nic_temperature_write .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x21, x1 mov x20, x0 bl _iwl_mvm_firmware_running cbnz w0, LBB0_2 ; %bb.1: ldr w8, [x20] cbz w8, LBB0_10 LBB0_2: add x2, sp, #12 mov x0, x21 mov w1, #10 bl _kstrtoint cbnz x0, LBB0_4 ; %bb.3: ldr w8, [sp, #12] Lloh0: adrp x9, _IWL_MVM_DEBUG_SET_TEMPERATURE_MAX@GOTPAGE Lloh1: ldr x9, [x9, _IWL_MVM_DEBUG_SET_TEMPERATURE_MAX@GOTPAGEOFF] Lloh2: ldr w9, [x9] Lloh3: adrp x22, _IWL_MVM_DEBUG_SET_TEMPERATURE_DISABLE@GOTPAGE Lloh4: ldr x22, [x22, _IWL_MVM_DEBUG_SET_TEMPERATURE_DISABLE@GOTPAGEOFF] ldr w10, [x22] cmp w8, w10 ccmp w8, w9, #4, ne Lloh5: adrp x9, _IWL_MVM_DEBUG_SET_TEMPERATURE_MIN@GOTPAGE Lloh6: ldr x9, [x9, _IWL_MVM_DEBUG_SET_TEMPERATURE_MIN@GOTPAGEOFF] Lloh7: ldr w9, [x9] ccmp w8, w9, #8, le b.ge LBB0_7 LBB0_4: Lloh8: adrp x8, _EINVAL@GOTPAGE Lloh9: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_5: ldr x8, [x8] neg x19, x8 LBB0_6: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_7: add x21, x20, #8 mov x0, x21 bl _mutex_lock ldr w3, [sp, #12] ldr w8, [x22] cmp w3, w8 b.ne LBB0_11 ; %bb.8: ldr w8, [x20] cbz w8, LBB0_13 ; %bb.9: mov w8, #0 mov w3, #0 Lloh10: adrp x2, l_.str.2@PAGE Lloh11: add x2, x2, l_.str.2@PAGEOFF b LBB0_12 LBB0_10: Lloh12: adrp x8, _EIO@GOTPAGE Lloh13: ldr x8, [x8, _EIO@GOTPAGEOFF] b LBB0_5 LBB0_11: Lloh14: adrp x2, l_.str.1@PAGE Lloh15: add x2, x2, l_.str.1@PAGEOFF mov w8, #1 LBB0_12: stp w8, w3, [x20] Lloh16: adrp x1, l_.str@PAGE Lloh17: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _IWL_DEBUG_TEMP mov x0, x20 bl _iwl_mvm_tt_handler LBB0_13: mov x0, x21 bl _mutex_unlock b LBB0_6 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _EIO,8,3 ; @EIO .comm _EINVAL,8,3 ; @EINVAL .comm _IWL_MVM_DEBUG_SET_TEMPERATURE_MAX,4,2 ; @IWL_MVM_DEBUG_SET_TEMPERATURE_MAX .comm _IWL_MVM_DEBUG_SET_TEMPERATURE_DISABLE,4,2 ; @IWL_MVM_DEBUG_SET_TEMPERATURE_DISABLE .comm _IWL_MVM_DEBUG_SET_TEMPERATURE_MIN,4,2 ; @IWL_MVM_DEBUG_SET_TEMPERATURE_MIN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%sabling debug set temperature (temp = %d)\n" l_.str.1: ; @.str.1 .asciz "En" l_.str.2: ; @.str.2 .asciz "Dis" .no_dead_strip _iwl_dbgfs_set_nic_temperature_write .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_debugfs.c_iwl_dbgfs_set_nic_temperature_write.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 movl $24, %edi callq _malloc movq %rax, -48(%rbp) ## 8-byte Spill leaq L_.str.1(%rip), %rbx leaq L_.str.2(%rip), %r15 leaq L_.str.4(%rip), %r14 leaq L_.str.12(%rip), %r12 leaq -60(%rbp), %r13 jmp LBB0_1 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.1(%rip), %rbx leaq L_.str.2(%rip), %r15 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_19 Depth 2 ## Child Loop BB0_5 Depth 2 ## Child Loop BB0_6 Depth 3 ## Child Loop BB0_7 Depth 4 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf movq %r15, %rdi xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movq %r14, %rdi leaq -56(%rbp), %rsi xorl %eax, %eax callq _scanf movl -56(%rbp), %eax decl %eax cmpl $3, %eax ja LBB0_1 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload callq _createDLL jmp LBB0_1 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.11(%rip), %rdi movq -48(%rbp), %rbx ## 8-byte Reload LBB0_5: ## Parent Loop BB0_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_6 Depth 3 ## Child Loop BB0_7 Depth 4 xorl %eax, %eax callq _printf movq %rbx, %rax LBB0_6: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_5 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB0_7 Depth 4 movq %rax, %rbx .p2align 4, 0x90 LBB0_7: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_5 Depth=2 ## Parent Loop BB0_6 Depth=3 ## => This Inner Loop Header: Depth=4 movl 8(%rbx), %esi movq %r12, %rdi xorl %eax, %eax callq _printf movq %r14, %rdi movq %r13, %rsi xorl %eax, %eax callq _scanf movl -60(%rbp), %eax testl %eax, %eax je LBB0_21 ## %bb.8: ## in Loop: Header=BB0_7 Depth=4 cmpl $2, %eax je LBB0_12 ## %bb.9: ## in Loop: Header=BB0_7 Depth=4 cmpl $1, %eax jne LBB0_7 ## %bb.10: ## in Loop: Header=BB0_6 Depth=3 movq 16(%rbx), %rax testq %rax, %rax jne LBB0_6 jmp LBB0_11 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_6 Depth=3 movq (%rbx), %rax testq %rax, %rax jne LBB0_6 ## %bb.13: ## in Loop: Header=BB0_5 Depth=2 leaq L_.str.14(%rip), %rdi jmp LBB0_5 LBB0_11: ## in Loop: Header=BB0_5 Depth=2 leaq L_.str.13(%rip), %rdi jmp LBB0_5 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_1 Depth=1 leaq L_str(%rip), %rdi callq _puts leaq L_str.18(%rip), %rdi callq _puts leaq L_str.19(%rip), %rdi callq _puts leaq L_str.20(%rip), %rdi callq _puts movq %r14, %rdi leaq -52(%rbp), %rsi xorl %eax, %eax callq _scanf movl -52(%rbp), %eax cmpl $2, %eax je LBB0_18 ## %bb.15: ## in Loop: Header=BB0_1 Depth=1 cmpl $3, %eax je LBB0_22 ## %bb.16: ## in Loop: Header=BB0_1 Depth=1 cmpl $1, %eax jne LBB0_1 ## %bb.17: ## in Loop: Header=BB0_1 Depth=1 movl $24, %edi callq _malloc movq %rax, %r15 leaq L_.str.15(%rip), %rdi xorl %eax, %eax callq _printf leaq 8(%r15), %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq -48(%rbp), %rax ## 8-byte Reload movq %r15, (%rax) movq %rax, 16(%r15) movq $0, (%r15) movq %r15, -48(%rbp) ## 8-byte Spill leaq L_.str.2(%rip), %r15 leaq L_.str.1(%rip), %rbx jmp LBB0_1 LBB0_18: ## in Loop: Header=BB0_1 Depth=1 movl $24, %edi callq _malloc movq %rax, %r15 leaq L_.str.15(%rip), %rdi xorl %eax, %eax callq _printf movq %r15, %rsi addq $8, %rsi movq %r14, %rdi xorl %eax, %eax callq _scanf movq -48(%rbp), %rcx ## 8-byte Reload .p2align 4, 0x90 LBB0_19: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq %rcx, %rax movq 16(%rcx), %rcx testq %rcx, %rcx jne LBB0_19 ## %bb.20: ## in Loop: Header=BB0_1 Depth=1 movq %r15, 16(%rax) movq %rax, (%r15) movq $0, 16(%r15) jmp LBB0_21 LBB0_22: ## in Loop: Header=BB0_1 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload callq _insertPos jmp LBB0_1 LBB0_23: xorl %edi, %edi callq _exit .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_23, LBB0_23-LJTI0_0 LJTI0_0: .long L0_0_set_3 .long L0_0_set_4 .long L0_0_set_14 .long L0_0_set_23 .end_data_region ## -- End function .globl _createDLL ## -- Begin function createDLL .p2align 4, 0x90 _createDLL: ## @createDLL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _printf leaq 8(%r14), %rsi leaq L_.str.4(%rip), %rbx movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_.str.10(%rip), %rdi xorl %eax, %eax callq _printf leaq -44(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf cmpl $0, -44(%rbp) je LBB1_4 ## %bb.1: leaq L_.str.4(%rip), %r15 leaq L_.str.10(%rip), %r12 leaq -44(%rbp), %r13 .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 movl $24, %edi callq _malloc movq %rax, %rbx movq %rax, 16(%r14) movq %r14, (%rax) leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _printf leaq 8(%rbx), %rsi movq %r15, %rdi xorl %eax, %eax callq _scanf movq %r12, %rdi xorl %eax, %eax callq _printf movq %r15, %rdi movq %r13, %rsi xorl %eax, %eax callq _scanf cmpl $0, -44(%rbp) movq %rbx, %r14 jne LBB1_2 ## %bb.3: movq %rbx, %r14 LBB1_4: movq $0, 16(%r14) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _displayDLL ## -- Begin function displayDLL .p2align 4, 0x90 _displayDLL: ## @displayDLL .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 L_.str.11(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.12(%rip), %r14 leaq L_.str.4(%rip), %r15 leaq -44(%rbp), %r12 LBB2_1: ## =>This Loop Header: Depth=1 ## Child Loop BB2_2 Depth 2 movq %rbx, %r13 jmp LBB2_2 .p2align 4, 0x90 LBB2_4: ## in Loop: Header=BB2_2 Depth=2 testl %eax, %eax je LBB2_5 LBB2_2: ## Parent Loop BB2_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl 8(%r13), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq %r15, %rdi movq %r12, %rsi xorl %eax, %eax callq _scanf movl -44(%rbp), %eax cmpl $1, %eax je LBB2_6 ## %bb.3: ## in Loop: Header=BB2_2 Depth=2 cmpl $2, %eax jne LBB2_4 ## %bb.9: ## in Loop: Header=BB2_2 Depth=2 movq (%r13), %rbx leaq L_.str.14(%rip), %rdi testq %rbx, %rbx je LBB2_8 jmp LBB2_1 .p2align 4, 0x90 LBB2_6: ## in Loop: Header=BB2_2 Depth=2 movq 16(%r13), %rbx leaq L_.str.13(%rip), %rdi testq %rbx, %rbx jne LBB2_1 LBB2_8: ## in Loop: Header=BB2_2 Depth=2 xorl %eax, %eax callq _printf jmp LBB2_2 LBB2_5: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _insertFront ## -- Begin function insertFront .p2align 4, 0x90 _insertFront: ## @insertFront .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 movl $24, %edi callq _malloc movq %rax, %rbx leaq L_.str.15(%rip), %rdi xorl %eax, %eax callq _printf leaq 8(%rbx), %rsi leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _scanf movq %rbx, (%r14) movq %r14, 16(%rbx) movq $0, (%rbx) movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _insertEnd ## -- Begin function insertEnd .p2align 4, 0x90 _insertEnd: ## @insertEnd .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 movl $24, %edi callq _malloc movq %rax, %r14 leaq L_.str.15(%rip), %rdi xorl %eax, %eax callq _printf movq %r14, %rsi addq $8, %rsi leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _scanf .p2align 4, 0x90 LBB4_1: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rax movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB4_1 ## %bb.2: movq %r14, 16(%rax) movq %rax, (%r14) movq $0, 16(%r14) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _insertPos ## -- Begin function insertPos .p2align 4, 0x90 _insertPos: ## @insertPos .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl $24, %edi callq _malloc movq %rax, %r14 leaq L_.str.15(%rip), %rdi xorl %eax, %eax callq _printf leaq 8(%r14), %rsi leaq L_.str.4(%rip), %r15 movq %r15, %rdi xorl %eax, %eax callq _scanf leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf leaq -28(%rbp), %rsi movq %r15, %rdi xorl %eax, %eax callq _scanf testq %rbx, %rbx je LBB5_4 ## %bb.1: movl -28(%rbp), %eax .p2align 4, 0x90 LBB5_2: ## =>This Inner Loop Header: Depth=1 movq 16(%rbx), %rcx cmpl %eax, 8(%rbx) je LBB5_5 ## %bb.3: ## in Loop: Header=BB5_2 Depth=1 movq %rcx, %rbx testq %rcx, %rcx jne LBB5_2 LBB5_4: leaq L_.str.17(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB5_6 LBB5_5: movq %rcx, 16(%r14) movq %rbx, (%r14) movq 16(%rbx), %rax movq %r14, (%rax) movq %r14, 16(%rbx) LBB5_6: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _findNode ## -- Begin function findNode .p2align 4, 0x90 _findNode: ## @findNode .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 LBB6_4 ## %bb.1: movq %rdi, %rax .p2align 4, 0x90 LBB6_2: ## =>This Inner Loop Header: Depth=1 cmpl %esi, 8(%rax) je LBB6_5 ## %bb.3: ## in Loop: Header=BB6_2 Depth=1 movq 16(%rax), %rax testq %rax, %rax jne LBB6_2 LBB6_4: xorl %eax, %eax LBB6_5: popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\nPress 1 to create a double Linked List" L_.str.1: ## @.str.1 .asciz "\nPress 2 to display the double Linked List" L_.str.2: ## @.str.2 .asciz "\nPress 3 to insert the double Linked List" L_.str.3: ## @.str.3 .asciz "\nPress 4 to exit : " L_.str.4: ## @.str.4 .asciz "%d" L_.str.9: ## @.str.9 .asciz "\nEnter data : " L_.str.10: ## @.str.10 .asciz "\nAnother node(0/1)" L_.str.11: ## @.str.11 .asciz "\nPress 1 ,2,0 for right,transverse & exit" L_.str.12: ## @.str.12 .asciz " %d " L_.str.13: ## @.str.13 .asciz "\n last node" L_.str.14: ## @.str.14 .asciz "\n first node" L_.str.15: ## @.str.15 .asciz "Enter the data : " L_.str.16: ## @.str.16 .asciz "Enter the data value of a node where the node is to be inserted : " L_.str.17: ## @.str.17 .asciz "Node not found." L_str: ## @str .asciz "Press 1 to insert at start." L_str.18: ## @str.18 .asciz "Press 2 to insert at end." L_str.19: ## @str.19 .asciz "Press 3 to insert at different position. " L_str.20: ## @str.20 .asciz "Press 4 to go to the previous menu." .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 w0, #24 bl _malloc mov x21, x0 Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF Lloh2: adrp x20, l_.str.1@PAGE Lloh3: add x20, x20, l_.str.1@PAGEOFF Lloh4: adrp x22, l_.str.2@PAGE Lloh5: add x22, x22, l_.str.2@PAGEOFF Lloh6: adrp x23, l_.str.3@PAGE Lloh7: add x23, x23, l_.str.3@PAGEOFF add x28, sp, #24 Lloh8: adrp x24, l_.str.4@PAGE Lloh9: add x24, x24, l_.str.4@PAGEOFF Lloh10: adrp x27, lJTI0_0@PAGE Lloh11: add x27, x27, lJTI0_0@PAGEOFF Lloh12: adrp x25, l_.str.12@PAGE Lloh13: add x25, x25, l_.str.12@PAGEOFF add x26, sp, #28 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 Lloh14: adrp x27, lJTI0_0@PAGE Lloh15: add x27, x27, lJTI0_0@PAGEOFF LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_20 Depth 2 ; Child Loop BB0_6 Depth 2 ; Child Loop BB0_7 Depth 3 ; Child Loop BB0_8 Depth 4 mov x0, x19 bl _printf mov x0, x20 bl _printf mov x0, x22 bl _printf mov x0, x23 bl _printf str x28, [sp] mov x0, x24 bl _scanf ldr w8, [sp, #24] sub w8, w8, #1 cmp w8, #3 b.hi LBB0_2 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 adr x9, LBB0_4 ldrb w10, [x27, x8] add x9, x9, x10, lsl #2 br x9 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 bl _createDLL b LBB0_2 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 Lloh16: adrp x0, l_.str.11@PAGE Lloh17: add x0, x0, l_.str.11@PAGEOFF mov x27, x21 LBB0_6: ; Parent Loop BB0_2 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_7 Depth 3 ; Child Loop BB0_8 Depth 4 bl _printf mov x8, x27 LBB0_7: ; Parent Loop BB0_2 Depth=1 ; Parent Loop BB0_6 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB0_8 Depth 4 mov x27, x8 LBB0_8: ; Parent Loop BB0_2 Depth=1 ; Parent Loop BB0_6 Depth=2 ; Parent Loop BB0_7 Depth=3 ; => This Inner Loop Header: Depth=4 ldr w8, [x27, #8] str x8, [sp] mov x0, x25 bl _printf str x26, [sp] mov x0, x24 bl _scanf ldr w8, [sp, #28] cbz w8, LBB0_1 ; %bb.9: ; in Loop: Header=BB0_8 Depth=4 cmp w8, #2 b.eq LBB0_12 ; %bb.10: ; in Loop: Header=BB0_8 Depth=4 cmp w8, #1 b.ne LBB0_8 ; %bb.11: ; in Loop: Header=BB0_7 Depth=3 ldr x8, [x27, #16] cbnz x8, LBB0_7 b LBB0_14 LBB0_12: ; in Loop: Header=BB0_7 Depth=3 ldr x8, [x27] cbnz x8, LBB0_7 ; %bb.13: ; in Loop: Header=BB0_6 Depth=2 Lloh18: adrp x0, l_.str.14@PAGE Lloh19: add x0, x0, l_.str.14@PAGEOFF b LBB0_6 LBB0_14: ; in Loop: Header=BB0_6 Depth=2 Lloh20: adrp x0, l_.str.13@PAGE Lloh21: add x0, x0, l_.str.13@PAGEOFF b LBB0_6 LBB0_15: ; in Loop: Header=BB0_2 Depth=1 Lloh22: adrp x0, l_str@PAGE Lloh23: add x0, x0, l_str@PAGEOFF bl _puts Lloh24: adrp x0, l_str.18@PAGE Lloh25: add x0, x0, l_str.18@PAGEOFF bl _puts Lloh26: adrp x0, l_str.19@PAGE Lloh27: add x0, x0, l_str.19@PAGEOFF bl _puts Lloh28: adrp x0, l_str.20@PAGE Lloh29: add x0, x0, l_str.20@PAGEOFF bl _puts add x8, sp, #20 str x8, [sp] mov x0, x24 bl _scanf ldr w8, [sp, #20] cmp w8, #2 b.eq LBB0_19 ; %bb.16: ; in Loop: Header=BB0_2 Depth=1 cmp w8, #3 b.eq LBB0_22 ; %bb.17: ; in Loop: Header=BB0_2 Depth=1 cmp w8, #1 b.ne LBB0_2 ; %bb.18: ; in Loop: Header=BB0_2 Depth=1 mov w0, #24 bl _malloc mov x27, x0 Lloh30: adrp x0, l_.str.15@PAGE Lloh31: add x0, x0, l_.str.15@PAGEOFF bl _printf add x8, x27, #8 str x8, [sp] mov x0, x24 bl _scanf str x27, [x21] str x21, [x27, #16] mov x21, x27 str xzr, [x27] Lloh32: adrp x27, lJTI0_0@PAGE Lloh33: add x27, x27, lJTI0_0@PAGEOFF b LBB0_2 LBB0_19: ; in Loop: Header=BB0_2 Depth=1 mov w0, #24 bl _malloc mov x27, x0 Lloh34: adrp x0, l_.str.15@PAGE Lloh35: add x0, x0, l_.str.15@PAGEOFF bl _printf add x8, x27, #8 str x8, [sp] mov x0, x24 bl _scanf mov x9, x21 LBB0_20: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 mov x8, x9 ldr x9, [x9, #16] cbnz x9, LBB0_20 ; %bb.21: ; in Loop: Header=BB0_2 Depth=1 str x27, [x8, #16] str x8, [x27] str xzr, [x27, #16] Lloh36: adrp x27, lJTI0_0@PAGE Lloh37: add x27, x27, lJTI0_0@PAGEOFF b LBB0_2 LBB0_22: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 bl _insertPos b LBB0_2 LBB0_23: mov w0, #0 bl _exit .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh36, Lloh37 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_5-LBB0_4)>>2 .byte (LBB0_15-LBB0_4)>>2 .byte (LBB0_23-LBB0_4)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _createDLL ; -- Begin function createDLL .p2align 2 _createDLL: ; @createDLL .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 Lloh38: adrp x0, l_.str.9@PAGE Lloh39: add x0, x0, l_.str.9@PAGEOFF bl _printf add x8, x19, #8 str x8, [sp] Lloh40: adrp x20, l_.str.4@PAGE Lloh41: add x20, x20, l_.str.4@PAGEOFF mov x0, x20 bl _scanf Lloh42: adrp x0, l_.str.10@PAGE Lloh43: add x0, x0, l_.str.10@PAGEOFF bl _printf add x24, sp, #12 str x24, [sp] mov x0, x20 bl _scanf ldr w8, [sp, #12] cbz w8, LBB1_4 ; %bb.1: Lloh44: adrp x20, l_.str.9@PAGE Lloh45: add x20, x20, l_.str.9@PAGEOFF Lloh46: adrp x21, l_.str.4@PAGE Lloh47: add x21, x21, l_.str.4@PAGEOFF Lloh48: adrp x22, l_.str.10@PAGE Lloh49: add x22, x22, l_.str.10@PAGEOFF LBB1_2: ; =>This Inner Loop Header: Depth=1 mov w0, #24 bl _malloc mov x23, x0 str x0, [x19, #16] mov x25, x0 str x19, [x25], #8 mov x0, x20 bl _printf str x25, [sp] mov x0, x21 bl _scanf mov x0, x22 bl _printf str x24, [sp] mov x0, x21 bl _scanf ldr w8, [sp, #12] mov x19, x23 cbnz w8, LBB1_2 ; %bb.3: mov x19, x23 LBB1_4: str xzr, [x19, #16] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .cfi_endproc ; -- End function .globl _displayDLL ; -- Begin function displayDLL .p2align 2 _displayDLL: ; @displayDLL .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, x0 Lloh50: adrp x0, l_.str.11@PAGE Lloh51: add x0, x0, l_.str.11@PAGEOFF bl _printf Lloh52: adrp x20, l_.str.12@PAGE Lloh53: add x20, x20, l_.str.12@PAGEOFF add x22, sp, #12 Lloh54: adrp x21, l_.str.4@PAGE Lloh55: add x21, x21, l_.str.4@PAGEOFF Lloh56: adrp x23, l_.str.13@PAGE Lloh57: add x23, x23, l_.str.13@PAGEOFF Lloh58: adrp x24, l_.str.14@PAGE Lloh59: add x24, x24, l_.str.14@PAGEOFF b LBB2_3 LBB2_1: ; in Loop: Header=BB2_3 Depth=1 ldr x8, [x19] mov x0, x24 cbnz x8, LBB2_8 LBB2_2: ; in Loop: Header=BB2_3 Depth=1 bl _printf LBB2_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19, #8] str x8, [sp] mov x0, x20 bl _printf str x22, [sp] mov x0, x21 bl _scanf ldr w8, [sp, #12] cmp w8, #1 b.eq LBB2_6 ; %bb.4: ; in Loop: Header=BB2_3 Depth=1 cmp w8, #2 b.eq LBB2_1 ; %bb.5: ; in Loop: Header=BB2_3 Depth=1 cbnz w8, LBB2_3 b LBB2_9 LBB2_6: ; in Loop: Header=BB2_3 Depth=1 ldr x8, [x19, #16] mov x0, x23 cbz x8, LBB2_2 ; %bb.7: ; in Loop: Header=BB2_3 Depth=1 mov x19, x8 b LBB2_3 LBB2_8: ; in Loop: Header=BB2_3 Depth=1 mov x19, x8 b LBB2_3 LBB2_9: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .cfi_endproc ; -- End function .globl _insertFront ; -- Begin function insertFront .p2align 2 _insertFront: ; @insertFront .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w0, #24 bl _malloc mov x20, x0 Lloh60: adrp x0, l_.str.15@PAGE Lloh61: add x0, x0, l_.str.15@PAGEOFF bl _printf add x8, x20, #8 str x8, [sp] Lloh62: adrp x0, l_.str.4@PAGE Lloh63: add x0, x0, l_.str.4@PAGEOFF bl _scanf str x20, [x19] str x19, [x20, #16] str xzr, [x20] mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh62, Lloh63 .loh AdrpAdd Lloh60, Lloh61 .cfi_endproc ; -- End function .globl _insertEnd ; -- Begin function insertEnd .p2align 2 _insertEnd: ; @insertEnd .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w0, #24 bl _malloc mov x20, x0 Lloh64: adrp x0, l_.str.15@PAGE Lloh65: add x0, x0, l_.str.15@PAGEOFF bl _printf add x8, x20, #8 str x8, [sp] Lloh66: adrp x0, l_.str.4@PAGE Lloh67: add x0, x0, l_.str.4@PAGEOFF bl _scanf LBB4_1: ; =>This Inner Loop Header: Depth=1 mov x8, x19 ldr x19, [x19, #16] cbnz x19, LBB4_1 ; %bb.2: str x20, [x8, #16] str x8, [x20] str xzr, [x20, #16] 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 Lloh66, Lloh67 .loh AdrpAdd Lloh64, Lloh65 .cfi_endproc ; -- End function .globl _insertPos ; -- Begin function insertPos .p2align 2 _insertPos: ; @insertPos .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 mov w0, #24 bl _malloc mov x20, x0 Lloh68: adrp x0, l_.str.15@PAGE Lloh69: add x0, x0, l_.str.15@PAGEOFF bl _printf add x8, x20, #8 str x8, [sp] Lloh70: adrp x21, l_.str.4@PAGE Lloh71: add x21, x21, l_.str.4@PAGEOFF mov x0, x21 bl _scanf Lloh72: adrp x0, l_.str.16@PAGE Lloh73: add x0, x0, l_.str.16@PAGEOFF bl _printf add x8, sp, #12 str x8, [sp] mov x0, x21 bl _scanf cbz x19, LBB5_4 ; %bb.1: ldr w8, [sp, #12] LBB5_2: ; =>This Inner Loop Header: Depth=1 ldr w10, [x19, #8] ldr x9, [x19, #16] cmp w10, w8 b.eq LBB5_5 ; %bb.3: ; in Loop: Header=BB5_2 Depth=1 mov x19, x9 cbnz x9, LBB5_2 LBB5_4: Lloh74: adrp x0, l_.str.17@PAGE Lloh75: add x0, x0, l_.str.17@PAGEOFF bl _printf b LBB5_6 LBB5_5: str x9, [x20, #16] str x19, [x20] ldr x8, [x19, #16] str x20, [x8] str x20, [x19, #16] LBB5_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 add sp, sp, #64 ret .loh AdrpAdd Lloh72, Lloh73 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpAdd Lloh74, Lloh75 .cfi_endproc ; -- End function .globl _findNode ; -- Begin function findNode .p2align 2 _findNode: ; @findNode .cfi_startproc ; %bb.0: cbz x0, LBB6_3 LBB6_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [x0, #8] cmp w8, w1 b.eq LBB6_3 ; %bb.2: ; in Loop: Header=BB6_1 Depth=1 ldr x0, [x0, #16] cbnz x0, LBB6_1 LBB6_3: ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\nPress 1 to create a double Linked List" l_.str.1: ; @.str.1 .asciz "\nPress 2 to display the double Linked List" l_.str.2: ; @.str.2 .asciz "\nPress 3 to insert the double Linked List" l_.str.3: ; @.str.3 .asciz "\nPress 4 to exit : " l_.str.4: ; @.str.4 .asciz "%d" l_.str.9: ; @.str.9 .asciz "\nEnter data : " l_.str.10: ; @.str.10 .asciz "\nAnother node(0/1)" l_.str.11: ; @.str.11 .asciz "\nPress 1 ,2,0 for right,transverse & exit" l_.str.12: ; @.str.12 .asciz " %d " l_.str.13: ; @.str.13 .asciz "\n last node" l_.str.14: ; @.str.14 .asciz "\n first node" l_.str.15: ; @.str.15 .asciz "Enter the data : " l_.str.16: ; @.str.16 .asciz "Enter the data value of a node where the node is to be inserted : " l_.str.17: ; @.str.17 .asciz "Node not found." l_str: ; @str .asciz "Press 1 to insert at start." l_str.18: ; @str.18 .asciz "Press 2 to insert at end." l_str.19: ; @str.19 .asciz "Press 3 to insert at different position. " l_str.20: ; @str.20 .asciz "Press 4 to go to the previous menu." .subsections_via_symbols
the_stack_data/57951018.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $40, %rsp .cfi_offset %rbx, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -16(%rbp) movq $7303014, -40(%rbp) ## imm = 0x6F6F66 movabsq $7017296931985711458, %rax ## imm = 0x6162726162726162 movq %rax, -32(%rbp) movw $114, -24(%rbp) leaq -40(%rbp), %rdi leaq -32(%rbp), %rsi movl $8, %edx movl $8, %ecx callq ___strlcpy_chk movq %rax, %rbx movabsq $27710310306701666, %rax ## imm = 0x62726162726162 cmpq %rax, -40(%rbp) jne LBB0_3 ## %bb.1: cmpq $9, %rbx jne LBB0_4 ## %bb.2: xorl %ebx, %ebx leaq L_str(%rip), %rdi jmp LBB0_6 LBB0_3: leaq L_str.6(%rip), %rdi callq _puts cmpq $9, %rbx je LBB0_5 LBB0_4: leaq L_.str.2(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf LBB0_5: movl $1, %ebx leaq L_str.5(%rip), %rdi LBB0_6: callq _puts movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -16(%rbp), %rax jne LBB0_8 ## %bb.7: movl %ebx, %eax addq $40, %rsp popq %rbx popq %rbp retq LBB0_8: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L___const.main.string_b: ## @__const.main.string_b .asciz "barbarbar" L_.str.2: ## @.str.2 .asciz "strlcpy return value is wrong (%d)\n" L_str: ## @str .asciz "OK" L_str.5: ## @str.5 .asciz "FAIL" L_str.6: ## @str.6 .asciz "strcmp failed" .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 x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] mov w8, #28518 movk w8, #111, lsl #16 str x8, [sp, #16] Lloh3: adrp x8, l___const.main.string_b@PAGE Lloh4: add x8, x8, l___const.main.string_b@PAGEOFF Lloh5: ldr x8, [x8] str x8, [sp, #24] mov w8, #114 strh w8, [sp, #32] add x0, sp, #16 add x1, sp, #24 mov w2, #8 mov w3, #8 bl ___strlcpy_chk mov x19, x0 ldr x8, [sp, #16] mov x9, #24930 movk x9, #25202, lsl #16 movk x9, #29281, lsl #32 movk x9, #98, lsl #48 cmp x8, x9 b.ne LBB0_3 ; %bb.1: cmp x19, #9 b.ne LBB0_4 ; %bb.2: mov w19, #0 Lloh6: adrp x0, l_str@PAGE Lloh7: add x0, x0, l_str@PAGEOFF b LBB0_6 LBB0_3: Lloh8: adrp x0, l_str.6@PAGE Lloh9: add x0, x0, l_str.6@PAGEOFF bl _puts cmp x19, #9 b.eq LBB0_5 LBB0_4: str x19, [sp] Lloh10: adrp x0, l_.str.2@PAGE Lloh11: add x0, x0, l_.str.2@PAGEOFF bl _printf LBB0_5: mov w19, #1 Lloh12: adrp x0, l_str.5@PAGE Lloh13: add x0, x0, l_str.5@PAGEOFF LBB0_6: bl _puts ldur x8, [x29, #-24] Lloh14: adrp x9, ___stack_chk_guard@GOTPAGE Lloh15: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh16: ldr x9, [x9] cmp x9, x8 b.ne LBB0_8 ; %bb.7: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_8: bl ___stack_chk_fail .loh AdrpAddLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l___const.main.string_b: ; @__const.main.string_b .asciz "barbarbar" l_.str.2: ; @.str.2 .asciz "strlcpy return value is wrong (%d)\n" l_str: ; @str .asciz "OK" l_str.5: ; @str.5 .asciz "FAIL" l_str.6: ; @str.6 .asciz "strcmp failed" .subsections_via_symbols
the_stack_data/29824764.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tuner_standby _tuner_standby: ## @tuner_standby .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_tuner movq %rax, %rbx leaq L_.str(%rip), %rdi callq _dprintk movl $1, (%rbx) movq 8(%rbx), %rax testq %rax, %rax je LBB0_2 ## %bb.1: addq $8, %rbx movq %rbx, %rdi callq *%rax LBB0_2: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Putting tuner to sleep\n" .no_dead_strip _tuner_standby .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tuner_standby _tuner_standby: ; @tuner_standby .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_tuner mov x19, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _dprintk mov x0, x19 ldr x8, [x0, #8]! mov w9, #1 str w9, [x19] cbz x8, LBB0_2 ; %bb.1: blr x8 LBB0_2: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Putting tuner to sleep\n" .no_dead_strip _tuner_standby .subsections_via_symbols
AnghaBench/linux/drivers/media/v4l2-core/extr_tuner-core.c_tuner_standby.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function script_wait_event _script_wait_event: ## @script_wait_event .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 _get_ctx movl (%rax), %ebx movq %r15, %rdi movl $1, %esi callq _luaL_optnumber movl %ebx, %edi movl %eax, %esi callq _mpv_wait_event movq %rax, %r14 movq %r15, %rdi callq _lua_newtable movl (%r14), %edi callq _mpv_event_name movq %r15, %rdi movq %rax, %rsi callq _lua_pushstring leaq L_.str(%rip), %rdx movq %r15, %rdi movl $-2, %esi callq _lua_setfield movsd 8(%r14), %xmm0 ## xmm0 = mem[0],zero xorpd %xmm1, %xmm1 ucomisd %xmm1, %xmm0 jne LBB0_1 jnp LBB0_2 LBB0_1: movq %r15, %rdi callq _lua_pushnumber leaq L_.str.1(%rip), %rdx movq %r15, %rdi movl $-2, %esi callq _lua_setfield LBB0_2: movq 16(%r14), %rdi testq %rdi, %rdi jns LBB0_4 ## %bb.3: callq _mpv_error_string movq %r15, %rdi movq %rax, %rsi callq _lua_pushstring leaq L_.str.2(%rip), %rdx movq %r15, %rdi movl $-2, %esi callq _lua_setfield LBB0_4: movl $-132, %eax addl (%r14), %eax cmpl $5, %eax ja LBB0_26 ## %bb.5: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_6: movq 24(%r14), %rbx movq 56(%rbx), %rsi movq %r15, %rdi callq _lua_pushstring leaq L_.str.13(%rip), %rdx movq %r15, %rdi movl $-2, %esi callq _lua_setfield movl 80(%rbx), %eax addl $-128, %eax cmpl $3, %eax ja LBB0_20 ## %bb.7: leaq LJTI0_1(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_8: movq 72(%rbx), %rax movq (%rax), %rsi movq %r15, %rdi callq _lua_pushstring jmp LBB0_24 LBB0_9: movq 24(%r14), %rbx movq (%rbx), %rsi movq %r15, %rdi callq _lua_pushstring leaq L_.str.3(%rip), %rdx movq %r15, %rdi movl $-2, %esi callq _lua_setfield movq 8(%rbx), %rsi movq %r15, %rdi callq _lua_pushstring leaq L_.str.4(%rip), %rdx movq %r15, %rdi movl $-2, %esi callq _lua_setfield movq 16(%rbx), %rsi movq %r15, %rdi callq _lua_pushstring leaq L_.str.5(%rip), %r14 jmp LBB0_25 LBB0_10: movq 24(%r14), %rax movl 64(%rax), %esi movq %r15, %rdi callq _lua_pushinteger leaq L_.str.15(%rip), %r14 jmp LBB0_25 LBB0_11: movq 24(%r14), %rbx movl $-138, %eax addl 40(%rbx), %eax cmpl $4, %eax ja LBB0_17 ## %bb.12: cltq leaq l_reltable.script_wait_event(%rip), %rcx movslq (%rcx,%rax,4), %rsi addq %rcx, %rsi jmp LBB0_18 LBB0_13: movq 24(%r14), %rsi addq $68, %rsi movq %r15, %rdi callq _pushnode leaq L_.str.16(%rip), %r14 jmp LBB0_25 LBB0_14: movq 24(%r14), %r12 movq %r15, %rdi callq _lua_newtable leaq L_.str.6(%rip), %r14 cmpl $0, 24(%r12) jle LBB0_25 ## %bb.15: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_16: ## =>This Inner Loop Header: Depth=1 leaq 1(%rbx), %r13 movq %r15, %rdi movl %r13d, %esi callq _lua_pushinteger movq 32(%r12), %rax movq (%rax,%rbx,8), %rsi movq %r15, %rdi callq _lua_pushstring movq %r15, %rdi movl $-3, %esi callq _lua_settable movslq 24(%r12), %rax movq %r13, %rbx cmpq %rax, %r13 jl LBB0_16 jmp LBB0_25 LBB0_17: leaq L_.str.11(%rip), %rsi LBB0_18: movq %r15, %rdi callq _lua_pushstring leaq L_.str.12(%rip), %rdx movq %r15, %rdi movl $-2, %esi callq _lua_setfield cmpl $141, 40(%rbx) jne LBB0_26 ## %bb.19: movq 48(%rbx), %rdi callq _mpv_error_string movq %r15, %rdi movq %rax, %rsi callq _lua_pushstring leaq L_.str.2(%rip), %r14 jmp LBB0_25 LBB0_20: movq %r15, %rdi callq _lua_pushnil jmp LBB0_24 LBB0_21: movq 72(%rbx), %rsi movq %r15, %rdi callq _pushnode jmp LBB0_24 LBB0_22: movq 72(%rbx), %rax movl (%rax), %esi movq %r15, %rdi callq _lua_pushboolean jmp LBB0_24 LBB0_23: movq 72(%rbx), %rax movsd (%rax), %xmm0 ## xmm0 = mem[0],zero movq %r15, %rdi callq _lua_pushnumber LBB0_24: leaq L_.str.14(%rip), %r14 LBB0_25: movq %r15, %rdi movl $-2, %esi movq %r14, %rdx callq _lua_setfield LBB0_26: movl $1, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 LJTI0_0: .long L0_0_set_6 .long L0_0_set_9 .long L0_0_set_10 .long L0_0_set_11 .long L0_0_set_13 .long L0_0_set_14 .set L0_1_set_8, LBB0_8-LJTI0_1 .set L0_1_set_21, LBB0_21-LJTI0_1 .set L0_1_set_22, LBB0_22-LJTI0_1 .set L0_1_set_23, LBB0_23-LJTI0_1 LJTI0_1: .long L0_1_set_8 .long L0_1_set_21 .long L0_1_set_22 .long L0_1_set_23 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "event" L_.str.1: ## @.str.1 .asciz "id" L_.str.2: ## @.str.2 .asciz "error" L_.str.3: ## @.str.3 .asciz "prefix" L_.str.4: ## @.str.4 .asciz "level" L_.str.5: ## @.str.5 .asciz "text" L_.str.6: ## @.str.6 .asciz "args" L_.str.7: ## @.str.7 .asciz "eof" L_.str.8: ## @.str.8 .asciz "stop" L_.str.9: ## @.str.9 .asciz "quit" L_.str.10: ## @.str.10 .asciz "redirect" L_.str.11: ## @.str.11 .asciz "unknown" L_.str.12: ## @.str.12 .asciz "reason" L_.str.13: ## @.str.13 .asciz "name" L_.str.14: ## @.str.14 .asciz "data" L_.str.15: ## @.str.15 .asciz "hook_id" L_.str.16: ## @.str.16 .asciz "result" .no_dead_strip _script_wait_event .section __TEXT,__const .p2align 2 ## @reltable.script_wait_event l_reltable.script_wait_event: .long L_.str.8-l_reltable.script_wait_event .long L_.str.10-l_reltable.script_wait_event .long L_.str.9-l_reltable.script_wait_event .long L_.str.2-l_reltable.script_wait_event .long L_.str.7-l_reltable.script_wait_event .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function script_wait_event _script_wait_event: ; @script_wait_event .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 _get_ctx ldr w20, [x0] mov x0, x19 mov w1, #1 bl _luaL_optnumber mov x1, x0 mov x0, x20 bl _mpv_wait_event mov x20, x0 mov x0, x19 bl _lua_newtable ldr w0, [x20] bl _mpv_event_name mov x1, x0 mov x0, x19 bl _lua_pushstring Lloh0: adrp x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF mov x0, x19 mov w1, #-2 bl _lua_setfield ldr d0, [x20, #8] fcmp d0, #0.0 b.eq LBB0_2 ; %bb.1: mov x0, x19 bl _lua_pushnumber Lloh2: adrp x2, l_.str.1@PAGE Lloh3: add x2, x2, l_.str.1@PAGEOFF mov x0, x19 mov w1, #-2 bl _lua_setfield LBB0_2: ldr x0, [x20, #16] tbz x0, #63, LBB0_4 ; %bb.3: bl _mpv_error_string mov x1, x0 mov x0, x19 bl _lua_pushstring Lloh4: adrp x2, l_.str.2@PAGE Lloh5: add x2, x2, l_.str.2@PAGEOFF mov x0, x19 mov w1, #-2 bl _lua_setfield LBB0_4: ldr w8, [x20] sub w8, w8, #132 cmp w8, #5 b.hi LBB0_27 ; %bb.5: Lloh6: adrp x9, lJTI0_0@PAGE Lloh7: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_6 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_6: ldr x20, [x20, #24] ldr x1, [x20, #56] mov x0, x19 bl _lua_pushstring Lloh8: adrp x2, l_.str.13@PAGE Lloh9: add x2, x2, l_.str.13@PAGEOFF mov x0, x19 mov w1, #-2 bl _lua_setfield ldr w8, [x20, #80] sub w8, w8, #128 cmp w8, #3 b.hi LBB0_21 ; %bb.7: Lloh10: adrp x9, lJTI0_1@PAGE Lloh11: add x9, x9, lJTI0_1@PAGEOFF adr x10, LBB0_8 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_8: ldr x8, [x20, #72] ldr x1, [x8] mov x0, x19 bl _lua_pushstring b LBB0_25 LBB0_9: ldr x20, [x20, #24] ldr x1, [x20] mov x0, x19 bl _lua_pushstring Lloh12: adrp x2, l_.str.3@PAGE Lloh13: add x2, x2, l_.str.3@PAGEOFF mov x0, x19 mov w1, #-2 bl _lua_setfield ldr x1, [x20, #8] mov x0, x19 bl _lua_pushstring Lloh14: adrp x2, l_.str.4@PAGE Lloh15: add x2, x2, l_.str.4@PAGEOFF mov x0, x19 mov w1, #-2 bl _lua_setfield ldr x1, [x20, #16] mov x0, x19 bl _lua_pushstring Lloh16: adrp x20, l_.str.5@PAGE Lloh17: add x20, x20, l_.str.5@PAGEOFF b LBB0_26 LBB0_10: ldr x8, [x20, #24] ldr w1, [x8, #64] mov x0, x19 bl _lua_pushinteger Lloh18: adrp x20, l_.str.15@PAGE Lloh19: add x20, x20, l_.str.15@PAGEOFF b LBB0_26 LBB0_11: ldr x20, [x20, #24] ldr w8, [x20, #40] sub w8, w8, #138 cmp w8, #4 b.hi LBB0_17 ; %bb.12: Lloh20: adrp x9, l_switch.table.script_wait_event@PAGE Lloh21: add x9, x9, l_switch.table.script_wait_event@PAGEOFF ldr x1, [x9, w8, sxtw #3] b LBB0_18 LBB0_13: ldr x8, [x20, #24] add x1, x8, #68 mov x0, x19 bl _pushnode Lloh22: adrp x20, l_.str.16@PAGE Lloh23: add x20, x20, l_.str.16@PAGEOFF b LBB0_26 LBB0_14: ldr x22, [x20, #24] mov x0, x19 bl _lua_newtable ldr w8, [x22, #24] cmp w8, #1 b.lt LBB0_20 ; %bb.15: mov x23, #0 Lloh24: adrp x20, l_.str.6@PAGE Lloh25: add x20, x20, l_.str.6@PAGEOFF LBB0_16: ; =>This Inner Loop Header: Depth=1 add x21, x23, #1 mov x0, x19 mov x1, x21 bl _lua_pushinteger ldr x8, [x22, #32] ldr x1, [x8, x23, lsl #3] mov x0, x19 bl _lua_pushstring mov x0, x19 mov w1, #-3 bl _lua_settable ldrsw x8, [x22, #24] mov x23, x21 cmp x21, x8 b.lt LBB0_16 b LBB0_26 LBB0_17: Lloh26: adrp x1, l_.str.11@PAGE Lloh27: add x1, x1, l_.str.11@PAGEOFF LBB0_18: mov x0, x19 bl _lua_pushstring Lloh28: adrp x2, l_.str.12@PAGE Lloh29: add x2, x2, l_.str.12@PAGEOFF mov x0, x19 mov w1, #-2 bl _lua_setfield ldr w8, [x20, #40] cmp w8, #141 b.ne LBB0_27 ; %bb.19: ldr x0, [x20, #48] bl _mpv_error_string mov x1, x0 mov x0, x19 bl _lua_pushstring Lloh30: adrp x20, l_.str.2@PAGE Lloh31: add x20, x20, l_.str.2@PAGEOFF b LBB0_26 LBB0_20: Lloh32: adrp x20, l_.str.6@PAGE Lloh33: add x20, x20, l_.str.6@PAGEOFF b LBB0_26 LBB0_21: mov x0, x19 bl _lua_pushnil b LBB0_25 LBB0_22: ldr x1, [x20, #72] mov x0, x19 bl _pushnode b LBB0_25 LBB0_23: ldr x8, [x20, #72] ldr w1, [x8] mov x0, x19 bl _lua_pushboolean b LBB0_25 LBB0_24: ldr x8, [x20, #72] ldr d0, [x8] mov x0, x19 bl _lua_pushnumber LBB0_25: Lloh34: adrp x20, l_.str.14@PAGE Lloh35: add x20, x20, l_.str.14@PAGEOFF LBB0_26: mov x0, x19 mov w1, #-2 mov x2, x20 bl _lua_setfield LBB0_27: 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 AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh34, Lloh35 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_6-LBB0_6)>>2 .byte (LBB0_9-LBB0_6)>>2 .byte (LBB0_10-LBB0_6)>>2 .byte (LBB0_11-LBB0_6)>>2 .byte (LBB0_13-LBB0_6)>>2 .byte (LBB0_14-LBB0_6)>>2 lJTI0_1: .byte (LBB0_8-LBB0_8)>>2 .byte (LBB0_22-LBB0_8)>>2 .byte (LBB0_23-LBB0_8)>>2 .byte (LBB0_24-LBB0_8)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "event" l_.str.1: ; @.str.1 .asciz "id" l_.str.2: ; @.str.2 .asciz "error" l_.str.3: ; @.str.3 .asciz "prefix" l_.str.4: ; @.str.4 .asciz "level" l_.str.5: ; @.str.5 .asciz "text" l_.str.6: ; @.str.6 .asciz "args" l_.str.7: ; @.str.7 .asciz "eof" l_.str.8: ; @.str.8 .asciz "stop" l_.str.9: ; @.str.9 .asciz "quit" l_.str.10: ; @.str.10 .asciz "redirect" l_.str.11: ; @.str.11 .asciz "unknown" l_.str.12: ; @.str.12 .asciz "reason" l_.str.13: ; @.str.13 .asciz "name" l_.str.14: ; @.str.14 .asciz "data" l_.str.15: ; @.str.15 .asciz "hook_id" l_.str.16: ; @.str.16 .asciz "result" .no_dead_strip _script_wait_event .section __DATA,__const .p2align 3 ; @switch.table.script_wait_event l_switch.table.script_wait_event: .quad l_.str.8 .quad l_.str.10 .quad l_.str.9 .quad l_.str.2 .quad l_.str.7 .subsections_via_symbols
AnghaBench/mpv/player/extr_lua.c_script_wait_event.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function MSeries_AI_Config_Bank_Bits _MSeries_AI_Config_Bank_Bits: ## @MSeries_AI_Config_Bank_Bits .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, %ecx andl $48, %ecx movq _ni_reg_622x@GOTPCREL(%rip), %rdx leal 1024(%rcx), %eax cmpl %edi, (%rdx) cmovnel %ecx, %eax testb $64, %sil cmovel %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ni_reg_622x,4,2 ## @ni_reg_622x .no_dead_strip _MSeries_AI_Config_Bank_Bits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function MSeries_AI_Config_Bank_Bits _MSeries_AI_Config_Bank_Bits: ; @MSeries_AI_Config_Bank_Bits .cfi_startproc ; %bb.0: and w8, w1, #0x30 Lloh0: adrp x9, _ni_reg_622x@GOTPAGE Lloh1: ldr x9, [x9, _ni_reg_622x@GOTPAGEOFF] Lloh2: ldr w9, [x9] cmp w9, w0 and w9, w1, #0x40 ccmp w9, #0, #4, eq orr w9, w8, #0x400 csel w0, w8, w9, eq ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ni_reg_622x,4,2 ; @ni_reg_622x .no_dead_strip _MSeries_AI_Config_Bank_Bits .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_stc.h_MSeries_AI_Config_Bank_Bits.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function strip_spaces _strip_spaces: ## @strip_spaces .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 movzbl (%rdi), %eax testb %al, %al je LBB0_11 ## %bb.1: movq %rdi, %rbx xorl %r14d, %r14d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movzbl %al, %edi callq _isspace testq %rax, %rax je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movzbl -1(%rbx), %eax decq %rbx testb %al, %al jne LBB0_2 jmp LBB0_12 LBB0_5: cmpb $0, (%rbx) je LBB0_11 ## %bb.6: movq %rbx, %rdi callq _strlen movslq %eax, %r14 leaq (%rbx,%r14), %rax decq %rax cmpq %rax, %rbx je LBB0_10 ## %bb.7: decq %r14 .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx,%r14), %edi callq _isspace testq %rax, %rax je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movb $0, (%rbx,%r14) decq %r14 jne LBB0_8 LBB0_10: xorl %r14d, %r14d cmpb $0, (%rbx) cmovneq %rbx, %r14 jmp LBB0_12 LBB0_11: xorl %r14d, %r14d LBB0_12: movq %r14, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _strip_spaces .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function strip_spaces _strip_spaces: ; @strip_spaces .cfi_startproc ; %bb.0: ldrb w8, [x0] cbz w8, LBB0_4 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill 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 LBB0_2: ; =>This Inner Loop Header: Depth=1 and w0, w8, #0xff bl _isspace cbz x0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldrb w8, [x19, #-1]! cbnz w8, LBB0_2 b LBB0_11 LBB0_4: mov x0, #0 ; =0x0 ret LBB0_5: ldrb w8, [x19] cbz w8, LBB0_11 ; %bb.6: mov x0, x19 bl _strlen ; kill: def $w0 killed $w0 def $x0 sxtw x8, w0 add x9, x19, x8 sub x9, x9, #1 cmp x19, x9 b.eq LBB0_10 ; %bb.7: sub x20, x8, #1 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldrb w0, [x19, x20] bl _isspace cbz x0, LBB0_10 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 strb wzr, [x19, x20] subs x20, x20, #1 b.ne LBB0_8 LBB0_10: ldrb w8, [x19] cmp w8, #0 csel x0, xzr, x19, eq b LBB0_12 LBB0_11: mov x0, #0 ; =0x0 LBB0_12: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _strip_spaces .subsections_via_symbols
assembly_file_63551.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_ca_object_length _get_ca_object_length: ## @get_ca_object_length .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movl 28(%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _get_ca_object_length .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_ca_object_length _get_ca_object_length: ; @get_ca_object_length .cfi_startproc ; %bb.0: ldr x8, [x0] ldr w0, [x8, #28] ret .cfi_endproc ; -- End function .no_dead_strip _get_ca_object_length .subsections_via_symbols
AnghaBench/linux/drivers/media/firewire/extr_firedtv-avc.c_get_ca_object_length.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function REG_HDMI_GENERIC1 _REG_HDMI_GENERIC1: ## @REG_HDMI_GENERIC1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edi killed $edi def $rdi leal 168(,%rdi,4), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _REG_HDMI_GENERIC1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function REG_HDMI_GENERIC1 _REG_HDMI_GENERIC1: ; @REG_HDMI_GENERIC1 .cfi_startproc ; %bb.0: lsl w8, w0, #2 add w0, w8, #168 ret .cfi_endproc ; -- End function .no_dead_strip _REG_HDMI_GENERIC1 .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/msm/hdmi/extr_hdmi.xml.h_REG_HDMI_GENERIC1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ff_inlink_process_commands ## -- Begin function ff_inlink_process_commands .p2align 4, 0x90 _ff_inlink_process_commands: ## @ff_inlink_process_commands .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq _AV_LOG_DEBUG@GOTPCREL(%rip), %r15 leaq L_.str(%rip), %r14 jmp LBB0_1 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movl (%r15), %esi movl 12(%r12), %r8d movl (%r12), %ecx movl 8(%r12), %r9d movq %r14, %rdx callq _av_log movq (%rbx), %rdi movl 12(%r12), %esi movl 4(%r12), %r9d movl 8(%r12), %edx xorl %ecx, %ecx xorl %r8d, %r8d callq _avfilter_process_command movq (%rbx), %rdi callq _ff_command_queue_pop LBB0_1: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rdi movq (%rdi), %r12 testq %r12, %r12 jne LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl 8(%rbx), %edi callq _av_q2d movq (%rbx), %rdi jmp LBB0_3 .cfi_endproc ## -- End function .comm _AV_LOG_DEBUG,4,2 ## @AV_LOG_DEBUG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Processing command time:%f command:%s arg:%s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ff_inlink_process_commands ; -- Begin function ff_inlink_process_commands .p2align 2 _ff_inlink_process_commands: ; @ff_inlink_process_commands .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x21, _AV_LOG_DEBUG@GOTPAGE Lloh1: ldr x21, [x21, _AV_LOG_DEBUG@GOTPAGEOFF] Lloh2: adrp x20, l_.str@PAGE Lloh3: add x20, x20, l_.str@PAGEOFF b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 ldr w1, [x21] ldr w3, [x22] ldp w5, w4, [x22, #8] mov x2, x20 bl _av_log ldr x0, [x19] ldp w2, w1, [x22, #8] ldr w5, [x22, #4] mov w3, #0 ; =0x0 mov w4, #0 ; =0x0 bl _avfilter_process_command ldr x0, [x19] bl _ff_command_queue_pop LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19] ldr x22, [x0] cbnz x22, LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr w0, [x19, #8] bl _av_q2d ldr x0, [x19] b LBB0_1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _AV_LOG_DEBUG,4,2 ; @AV_LOG_DEBUG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Processing command time:%f command:%s arg:%s\n" .subsections_via_symbols
assembly_file_53061.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function main LCPI0_0: .long 0x41f00000 ## float 30 LCPI0_1: .long 0xc1f00000 ## float -30 LCPI0_2: .long 0x42200000 ## float 40 LCPI0_3: .long 0x44bb8000 ## float 1500 .section __TEXT,__literal8,8byte_literals .p2align 3 LCPI0_4: .quad 0x4097700000000000 ## double 1500 .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 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 movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero ucomiss %xmm0, %xmm1 ja LBB0_1 ## %bb.2: addss LCPI0_1(%rip), %xmm0 mulss LCPI0_2(%rip), %xmm0 addss LCPI0_3(%rip), %xmm0 cvtss2sd %xmm0, %xmm0 jmp LBB0_3 LBB0_1: movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero LBB0_3: leaq L_.str.2(%rip), %rdi movb $1, %al 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 the distance van had travelled : " L_.str.1: ## @.str.1 .asciz "%f" L_.str.2: ## @.str.2 .asciz "your bill is %.2f" .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 s0, [x29, #-4] fmov s1, #-30.00000000 fadd s1, s0, s1 mov w8, #32768 movk w8, #17595, lsl #16 fmov s2, w8 mov w8, #1109393408 fmov s3, w8 fmadd s1, s1, s3, s2 fcvt d1, s1 fmov s2, #30.00000000 fcmp s0, s2 mov x8, #123145302310912 movk x8, #16535, lsl #48 fmov d0, x8 fcsel d0, d0, d1, mi str d0, [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 the distance van had travelled : " l_.str.1: ; @.str.1 .asciz "%f" l_.str.2: ; @.str.2 .asciz "your bill is %.2f" .subsections_via_symbols
the_stack_data/59511543.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function wcn36xx_smd_update_scan_params LCPI0_0: .long 60 ## 0x3c .long 120 ## 0x78 .long 60 ## 0x3c .long 110 ## 0x6e .section __TEXT,__text,regular,pure_instructions .globl _wcn36xx_smd_update_scan_params .p2align 4, 0x90 _wcn36xx_smd_update_scan_params: ## @wcn36xx_smd_update_scan_params .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 $104, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq _mutex_lock movq _WCN36XX_HAL_UPDATE_SCAN_PARAM_REQ@GOTPCREL(%rip), %rax movl (%rax), %edi movups -72(%rbp), %xmm0 movups -56(%rbp), %xmm1 movups -40(%rbp), %xmm2 movups %xmm2, 32(%rsp) movups %xmm1, 16(%rsp) movups %xmm0, (%rsp) callq _INIT_HAL_MSG movabsq $4294967296, %rax ## imm = 0x100000000 movq %rax, -72(%rbp) movq %rbx, -64(%rbp) movl -32(%rbp), %edi movq %r15, %rsi movq %rbx, %rdx callq _memcpy movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [60,120,60,110] movups %xmm0, -56(%rbp) movq _PHY_SINGLE_CHANNEL_CENTERED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -36(%rbp) movl 8(%r14), %edi movups -72(%rbp), %xmm0 movups -56(%rbp), %xmm1 movups -40(%rbp), %xmm2 movups %xmm2, 32(%rsp) movups %xmm1, 16(%rsp) movups %xmm0, (%rsp) callq _PREPARE_HAL_BUF movq _WCN36XX_DBG_HAL@GOTPCREL(%rip), %rax movl (%rax), %edi movq -64(%rbp), %rdx leaq L_.str(%rip), %rsi callq _wcn36xx_dbg movl -40(%rbp), %esi movq %r14, %rdi callq _wcn36xx_smd_send_and_wait testl %eax, %eax je LBB0_2 ## %bb.1: movl %eax, %ebx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _wcn36xx_err jmp LBB0_5 LBB0_2: movl 4(%r14), %esi movl 8(%r14), %edi callq _wcn36xx_smd_update_scan_params_rsp testl %eax, %eax je LBB0_3 ## %bb.4: movl %eax, %ebx leaq L_.str.2(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _wcn36xx_err jmp LBB0_5 LBB0_3: xorl %ebx, %ebx LBB0_5: movq %r14, %rdi callq _mutex_unlock movl %ebx, %eax addq $104, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _WCN36XX_HAL_UPDATE_SCAN_PARAM_REQ,4,2 ## @WCN36XX_HAL_UPDATE_SCAN_PARAM_REQ .comm _PHY_SINGLE_CHANNEL_CENTERED,4,2 ## @PHY_SINGLE_CHANNEL_CENTERED .comm _WCN36XX_DBG_HAL,4,2 ## @WCN36XX_DBG_HAL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "hal update scan params channel_count %d\n" L_.str.1: ## @.str.1 .asciz "Sending hal_update_scan_params failed\n" L_.str.2: ## @.str.2 .asciz "hal_update_scan_params response failed err=%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function wcn36xx_smd_update_scan_params lCPI0_0: .long 0 ; 0x0 .long 1 ; 0x1 .section __TEXT,__literal16,16byte_literals .p2align 4 lCPI0_1: .long 60 ; 0x3c .long 120 ; 0x78 .long 60 ; 0x3c .long 110 ; 0x6e .section __TEXT,__text,regular,pure_instructions .globl _wcn36xx_smd_update_scan_params .p2align 2 _wcn36xx_smd_update_scan_params: ; @wcn36xx_smd_update_scan_params .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp d9, d8, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset b8, -56 .cfi_offset b9, -64 mov x20, x2 mov x21, x1 mov x19, x0 bl _mutex_lock Lloh0: adrp x8, _WCN36XX_HAL_UPDATE_SCAN_PARAM_REQ@GOTPAGE Lloh1: ldr x8, [x8, _WCN36XX_HAL_UPDATE_SCAN_PARAM_REQ@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, lCPI0_0@PAGE Lloh4: ldr d8, [x8, lCPI0_0@PAGEOFF] str d8, [sp, #32] str x20, [sp, #40] Lloh5: adrp x8, lCPI0_1@PAGE Lloh6: ldr q0, [x8, lCPI0_1@PAGEOFF] str q0, [sp, #16] ; 16-byte Folded Spill str q0, [sp, #48] add x0, sp, #32 bl _INIT_HAL_MSG mov x1, x21 mov x2, x20 bl _memcpy Lloh7: adrp x8, _PHY_SINGLE_CHANNEL_CENTERED@GOTPAGE Lloh8: ldr x8, [x8, _PHY_SINGLE_CHANNEL_CENTERED@GOTPAGEOFF] Lloh9: ldr w8, [x8] ldr w0, [x19, #8] str d8, [sp, #32] str x20, [sp, #40] ldr q0, [sp, #16] ; 16-byte Folded Reload str q0, [sp, #48] str w8, [sp, #68] add x1, sp, #32 bl _PREPARE_HAL_BUF Lloh10: adrp x8, _WCN36XX_DBG_HAL@GOTPAGE Lloh11: ldr x8, [x8, _WCN36XX_DBG_HAL@GOTPAGEOFF] Lloh12: ldr w0, [x8] Lloh13: adrp x1, l_.str@PAGE Lloh14: add x1, x1, l_.str@PAGEOFF mov x2, x20 bl _wcn36xx_dbg mov x0, x19 bl _wcn36xx_smd_send_and_wait cbz w0, LBB0_2 ; %bb.1: mov x20, x0 Lloh15: adrp x0, l_.str.1@PAGE Lloh16: add x0, x0, l_.str.1@PAGEOFF b LBB0_4 LBB0_2: ldp w1, w0, [x19, #4] bl _wcn36xx_smd_update_scan_params_rsp mov x20, x0 cbz w0, LBB0_5 ; %bb.3: str x20, [sp] Lloh17: adrp x0, l_.str.2@PAGE Lloh18: add x0, x0, l_.str.2@PAGEOFF LBB0_4: bl _wcn36xx_err LBB0_5: mov x0, x19 bl _mutex_unlock mov x0, x20 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp d9, d8, [sp, #80] ; 16-byte Folded Reload add sp, sp, #144 ret .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdr Lloh5, Lloh6 .loh AdrpAdrp Lloh3, Lloh5 .loh AdrpLdr Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _WCN36XX_HAL_UPDATE_SCAN_PARAM_REQ,4,2 ; @WCN36XX_HAL_UPDATE_SCAN_PARAM_REQ .comm _PHY_SINGLE_CHANNEL_CENTERED,4,2 ; @PHY_SINGLE_CHANNEL_CENTERED .comm _WCN36XX_DBG_HAL,4,2 ; @WCN36XX_DBG_HAL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hal update scan params channel_count %d\n" l_.str.1: ; @.str.1 .asciz "Sending hal_update_scan_params failed\n" l_.str.2: ; @.str.2 .asciz "hal_update_scan_params response failed err=%d\n" .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/ath/wcn36xx/extr_smd.c_wcn36xx_smd_update_scan_params.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vfs_op_init ## -- Begin function vfs_op_init .p2align 4, 0x90 _vfs_op_init: ## @vfs_op_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _printf movl %eax, %edi callq _DODEBUG movq _vfs_opv_descs@GOTPCREL(%rip), %rax movq (%rax), %rcx movq (%rcx), %rcx testq %rcx, %rcx je LBB0_3 ## %bb.1: movl $8, %edx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%rcx), %rcx movq $0, (%rcx) movq (%rax), %rcx movq (%rcx,%rdx), %rcx addq $8, %rdx testq %rcx, %rcx jne LBB0_2 LBB0_3: movq _vfs_opv_numops@GOTPCREL(%rip), %rax movl $0, (%rax) movq _vfs_op_descs@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rcx), %rsi testq %rsi, %rsi je LBB0_8 ## %bb.4: movq _VDESC_DISABLED@GOTPCREL(%rip), %rdx movl (%rdx), %edx addq $8, %rcx xorl %ebx, %ebx jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movq (%rcx), %rsi addq $8, %rcx testq %rsi, %rsi je LBB0_8 LBB0_5: ## =>This Inner Loop Header: Depth=1 testl %edx, (%rsi) jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movl %ebx, 4(%rsi) incl %ebx movl %ebx, (%rax) jmp LBB0_7 LBB0_8: leaq L_.str.1(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf movl %eax, %edi addq $8, %rsp popq %rbx popq %rbp jmp _DODEBUG ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Vnode_interface_init.\n" .comm _vfs_opv_descs,8,3 ## @vfs_opv_descs .comm _vfs_opv_numops,4,2 ## @vfs_opv_numops .comm _vfs_op_descs,8,3 ## @vfs_op_descs .comm _VDESC_DISABLED,4,2 ## @VDESC_DISABLED L_.str.1: ## @.str.1 .asciz "vfs_opv_numops=%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vfs_op_init ; -- Begin function vfs_op_init .p2align 2 _vfs_op_init: ; @vfs_op_init .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 bl _DODEBUG Lloh2: adrp x8, _vfs_opv_descs@GOTPAGE Lloh3: ldr x8, [x8, _vfs_opv_descs@GOTPAGEOFF] ldr x9, [x8] ldr x9, [x9] cbz x9, LBB0_3 ; %bb.1: mov w10, #8 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x9, [x9] str xzr, [x9] ldr x9, [x8] ldr x9, [x9, x10] add x10, x10, #8 cbnz x9, LBB0_2 LBB0_3: Lloh4: adrp x8, _vfs_opv_numops@GOTPAGE Lloh5: ldr x8, [x8, _vfs_opv_numops@GOTPAGEOFF] str wzr, [x8] Lloh6: adrp x9, _vfs_op_descs@GOTPAGE Lloh7: ldr x9, [x9, _vfs_op_descs@GOTPAGEOFF] Lloh8: ldr x11, [x9] ldr x12, [x11] cbz x12, LBB0_8 ; %bb.4: mov w9, #0 Lloh9: adrp x10, _VDESC_DISABLED@GOTPAGE Lloh10: ldr x10, [x10, _VDESC_DISABLED@GOTPAGEOFF] Lloh11: ldr w10, [x10] add x11, x11, #8 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldr x12, [x11], #8 cbz x12, LBB0_9 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr w13, [x12] tst w10, w13 b.ne LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 str w9, [x12, #4] add w9, w9, #1 str w9, [x8] b LBB0_5 LBB0_8: mov w9, #0 LBB0_9: str x9, [sp] Lloh12: adrp x0, l_.str.1@PAGE Lloh13: add x0, x0, l_.str.1@PAGEOFF bl _printf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 b _DODEBUG .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Vnode_interface_init.\n" .comm _vfs_opv_descs,8,3 ; @vfs_opv_descs .comm _vfs_opv_numops,4,2 ; @vfs_opv_numops .comm _vfs_op_descs,8,3 ; @vfs_op_descs .comm _VDESC_DISABLED,4,2 ; @VDESC_DISABLED l_.str.1: ; @.str.1 .asciz "vfs_opv_numops=%d\n" .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_init.c_vfs_op_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function max9877_set_reg _max9877_set_reg: ## @max9877_set_reg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movl (%rax), %r8d movl 4(%rax), %ecx movl 8(%rax), %edi movq (%rsi), %rdx movl (%rdx), %edx andl %edi, %edx movl %edi, %esi subl %edx, %esi cmpl $0, 12(%rax) cmovel %edx, %esi movq _max9877_regs@GOTPCREL(%rip), %rax movq (%rax), %r9 movl (%r9,%r8,4), %r10d movl %r10d, %edx shrl %cl, %edx andl %edi, %edx xorl %eax, %eax cmpl %esi, %edx je LBB0_2 ## %bb.1: shll %cl, %edi ## kill: def $cl killed $cl killed $ecx shll %cl, %esi notl %edi andl %edi, %r10d orl %r10d, %esi movl %esi, (%r9,%r8,4) xorl %eax, %eax callq _max9877_write_regs movl $1, %eax LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .comm _max9877_regs,8,3 ## @max9877_regs .no_dead_strip _max9877_set_reg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function max9877_set_reg _max9877_set_reg: ; @max9877_set_reg .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr x11, [x0] ldp w8, w9, [x11] ldp w10, w11, [x11, #8] ldr x12, [x1] ldr w12, [x12] and w12, w12, w10 sub w13, w10, w12 cmp w11, #0 csel w11, w12, w13, eq Lloh0: adrp x12, _max9877_regs@GOTPAGE Lloh1: ldr x12, [x12, _max9877_regs@GOTPAGEOFF] Lloh2: ldr x12, [x12] ldr w13, [x12, x8, lsl #2] lsr w14, w13, w9 and w14, w14, w10 cmp w14, w11 b.ne LBB0_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: lsl w10, w10, w9 bic w10, w13, w10 lsl w9, w11, w9 orr w9, w9, w10 str w9, [x12, x8, lsl #2] bl _max9877_write_regs mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _max9877_regs,8,3 ; @max9877_regs .no_dead_strip _max9877_set_reg .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_max9877.c_max9877_set_reg.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 $96, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) leaq L_str(%rip), %rdi callq _puts movabsq $31084741574094690, %rax ## imm = 0x6E6F6863756F62 movq %rax, -107(%rbp) movabsq $8462090171967498612, %rax ## imm = 0x756F622D65726974 movq %rax, -112(%rbp) leaq L_.str.2(%rip), %rdi leaq -112(%rbp), %rbx movq %rbx, %rsi xorl %eax, %eax callq _printf movabsq $29685909631741284, %rax ## imm = 0x69772D726F2D64 movq %rax, -108(%rbp) leaq L_.str.4(%rip), %r14 movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf leaq L_.str.5(%rip), %rsi movl $80, %edx movq %rbx, %rdi callq ___strcat_chk movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf leaq L_str.7(%rip), %rdi callq _puts movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $96, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "tire-bouchon" L_.str.2: ## @.str.2 .asciz "str= %s" L_.str.4: ## @.str.4 .asciz "\nstr= %s" L_.str.5: ## @.str.5 .asciz "red?" L_str: ## @str .asciz "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" L_str.7: ## @str.7 .asciz "\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 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] Lloh3: adrp x0, l_str@PAGE Lloh4: add x0, x0, l_str@PAGEOFF bl _puts Lloh5: adrp x8, l_.str.1@PAGE Lloh6: add x8, x8, l_.str.1@PAGEOFF ldr x9, [x8] str x9, [sp, #8] ldur x8, [x8, #5] stur x8, [sp, #13] add x20, sp, #8 str x20, [sp] Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _printf mov x8, #11620 movk x8, #29295, lsl #16 movk x8, #30509, lsl #32 movk x8, #105, lsl #48 stur x8, [sp, #12] str x20, [sp] Lloh9: adrp x19, l_.str.4@PAGE Lloh10: add x19, x19, l_.str.4@PAGEOFF mov x0, x19 bl _printf Lloh11: adrp x1, l_.str.5@PAGE Lloh12: add x1, x1, l_.str.5@PAGEOFF add x0, sp, #8 mov w2, #80 bl ___strcat_chk str x20, [sp] mov x0, x19 bl _printf Lloh13: adrp x0, l_str.7@PAGE Lloh14: add x0, x0, l_str.7@PAGEOFF bl _puts ldur x8, [x29, #-24] Lloh15: adrp x9, ___stack_chk_guard@GOTPAGE Lloh16: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh17: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .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 .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "tire-bouchon" l_.str.2: ; @.str.2 .asciz "str= %s" l_.str.4: ; @.str.4 .asciz "\nstr= %s" l_.str.5: ; @.str.5 .asciz "red?" l_str: ; @str .asciz "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" l_str.7: ; @str.7 .asciz "\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" .subsections_via_symbols
the_stack_data/104829214.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _send_value ## -- Begin function send_value .p2align 4, 0x90 _send_value: ## @send_value .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, %r15d movl %edi, %r14d movq _Device_STATUSLED@GOTPCREL(%rip), %r12 cmpl %esi, (%r12) jne LBB0_2 ## %bb.1: movl %r14d, %edi andl $128, %edi callq _send_bit_d4 LBB0_2: movq _Device_PCBRGB@GOTPCREL(%rip), %r13 cmpl %r15d, (%r13) jne LBB0_4 ## %bb.3: movl %r14d, %edi andl $128, %edi callq _send_bit_d6 LBB0_4: leal (%r14,%r14), %ebx cmpl %r15d, (%r12) jne LBB0_6 ## %bb.5: movl %ebx, %edi andl $128, %edi callq _send_bit_d4 LBB0_6: cmpl %r15d, (%r13) jne LBB0_8 ## %bb.7: andl $128, %ebx movl %ebx, %edi callq _send_bit_d6 LBB0_8: leal (,%r14,4), %ebx cmpl %r15d, (%r12) jne LBB0_10 ## %bb.9: movl %ebx, %edi andl $128, %edi callq _send_bit_d4 LBB0_10: cmpl %r15d, (%r13) jne LBB0_12 ## %bb.11: andl $128, %ebx movl %ebx, %edi callq _send_bit_d6 LBB0_12: leal (,%r14,8), %ebx cmpl %r15d, (%r12) jne LBB0_14 ## %bb.13: movl %ebx, %edi andl $128, %edi callq _send_bit_d4 LBB0_14: cmpl %r15d, (%r13) jne LBB0_16 ## %bb.15: andl $128, %ebx movl %ebx, %edi callq _send_bit_d6 LBB0_16: movl %r14d, %ebx shll $4, %ebx cmpl %r15d, (%r12) jne LBB0_18 ## %bb.17: movl %ebx, %edi andl $128, %edi callq _send_bit_d4 LBB0_18: cmpl %r15d, (%r13) jne LBB0_20 ## %bb.19: andl $128, %ebx movl %ebx, %edi callq _send_bit_d6 LBB0_20: movl %r14d, %ebx shll $5, %ebx cmpl %r15d, (%r12) jne LBB0_22 ## %bb.21: movl %ebx, %edi andl $128, %edi callq _send_bit_d4 LBB0_22: cmpl %r15d, (%r13) jne LBB0_24 ## %bb.23: andl $128, %ebx movl %ebx, %edi callq _send_bit_d6 LBB0_24: movl %r14d, %ebx shll $6, %ebx cmpl %r15d, (%r12) jne LBB0_26 ## %bb.25: movl %ebx, %edi andl $128, %edi callq _send_bit_d4 LBB0_26: cmpl %r15d, (%r13) jne LBB0_28 ## %bb.27: andl $128, %ebx movl %ebx, %edi callq _send_bit_d6 LBB0_28: shll $7, %r14d cmpl %r15d, (%r12) jne LBB0_30 ## %bb.29: movl %r14d, %edi andl $128, %edi callq _send_bit_d4 LBB0_30: cmpl %r15d, (%r13) jne LBB0_31 ## %bb.32: andl $128, %r14d movl %r14d, %edi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _send_bit_d6 ## TAILCALL LBB0_31: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _Device_STATUSLED,4,2 ## @Device_STATUSLED .comm _Device_PCBRGB,4,2 ## @Device_PCBRGB .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _send_value ; -- Begin function send_value .p2align 2 _send_value: ; @send_value .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 Lloh0: adrp x21, _Device_STATUSLED@GOTPAGE Lloh1: ldr x21, [x21, _Device_STATUSLED@GOTPAGEOFF] ldr w8, [x21] cmp w8, w1 b.ne LBB0_2 ; %bb.1: and w0, w20, #0x80 bl _send_bit_d4 LBB0_2: Lloh2: adrp x22, _Device_PCBRGB@GOTPAGE Lloh3: ldr x22, [x22, _Device_PCBRGB@GOTPAGEOFF] ldr w8, [x22] cmp w8, w19 b.ne LBB0_4 ; %bb.3: and w0, w20, #0x80 bl _send_bit_d6 LBB0_4: lsl w23, w20, #1 ldr w8, [x21] cmp w8, w19 b.ne LBB0_6 ; %bb.5: and w0, w23, #0x80 bl _send_bit_d4 LBB0_6: ldr w8, [x22] cmp w8, w19 b.ne LBB0_8 ; %bb.7: and w0, w23, #0x80 bl _send_bit_d6 LBB0_8: lsl w23, w20, #2 ldr w8, [x21] cmp w8, w19 b.ne LBB0_10 ; %bb.9: and w0, w23, #0x80 bl _send_bit_d4 LBB0_10: ldr w8, [x22] cmp w8, w19 b.ne LBB0_12 ; %bb.11: and w0, w23, #0x80 bl _send_bit_d6 LBB0_12: lsl w23, w20, #3 ldr w8, [x21] cmp w8, w19 b.ne LBB0_14 ; %bb.13: and w0, w23, #0x80 bl _send_bit_d4 LBB0_14: ldr w8, [x22] cmp w8, w19 b.ne LBB0_16 ; %bb.15: and w0, w23, #0x80 bl _send_bit_d6 LBB0_16: lsl w23, w20, #4 ldr w8, [x21] cmp w8, w19 b.ne LBB0_18 ; %bb.17: and w0, w23, #0x80 bl _send_bit_d4 LBB0_18: ldr w8, [x22] cmp w8, w19 b.ne LBB0_20 ; %bb.19: and w0, w23, #0x80 bl _send_bit_d6 LBB0_20: lsl w23, w20, #5 ldr w8, [x21] cmp w8, w19 b.ne LBB0_22 ; %bb.21: and w0, w23, #0x80 bl _send_bit_d4 LBB0_22: ldr w8, [x22] cmp w8, w19 b.ne LBB0_24 ; %bb.23: and w0, w23, #0x80 bl _send_bit_d6 LBB0_24: lsl w23, w20, #6 ldr w8, [x21] cmp w8, w19 b.ne LBB0_26 ; %bb.25: and w0, w23, #0x80 bl _send_bit_d4 LBB0_26: ldr w8, [x22] cmp w8, w19 b.ne LBB0_28 ; %bb.27: and w0, w23, #0x80 bl _send_bit_d6 LBB0_28: lsl w20, w20, #7 ldr w8, [x21] cmp w8, w19 b.ne LBB0_30 ; %bb.29: and w0, w20, #0x80 bl _send_bit_d4 LBB0_30: ldr w8, [x22] cmp w8, w19 b.ne LBB0_32 ; %bb.31: and w0, w20, #0x80 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _send_bit_d6 LBB0_32: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _Device_STATUSLED,4,2 ; @Device_STATUSLED .comm _Device_PCBRGB,4,2 ; @Device_PCBRGB .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/duck/octagon/v2/extr_indicator_leds.c_send_value.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ixgbe_configure_rx _ixgbe_configure_rx: ## @ixgbe_configure_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 movq %rdi, %r13 leaq 16(%rdi), %r15 movq _IXGBE_RXCTRL@GOTPCREL(%rip), %rbx movl (%rbx), %esi movq %r15, %rdi callq _IXGBE_READ_REG movl %eax, %r14d movl (%rbx), %esi movq _IXGBE_RXCTRL_RXEN@GOTPCREL(%rip), %r12 movl (%r12), %edx notl %edx andl %eax, %edx movq %r15, %rdi callq _IXGBE_WRITE_REG movq %r13, %rdi callq _ixgbe_setup_psrtype movq %r13, %rdi callq _ixgbe_setup_rdrxctl movq %r13, %rdi callq _ixgbe_setup_mrqc movq %r13, %rdi callq _ixgbe_set_rx_buffer_len cmpl $0, (%r13) jle LBB0_3 ## %bb.1: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r13), %rax movl (%rax,%rbx,4), %esi movq %r13, %rdi callq _ixgbe_configure_rx_ring incq %rbx movslq (%r13), %rax cmpq %rax, %rbx jl LBB0_2 LBB0_3: movq _ixgbe_mac_82598EB@GOTPCREL(%rip), %rcx movq 16(%r13), %rdx movq 24(%r13), %rax xorl %esi, %esi cmpq (%rcx), %rdx jne LBB0_5 ## %bb.4: movq _IXGBE_RXCTRL_DMBYPS@GOTPCREL(%rip), %rcx movl (%rcx), %esi LBB0_5: orl %r14d, %esi orl (%r12), %esi movq %r15, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .comm _IXGBE_RXCTRL,4,2 ## @IXGBE_RXCTRL .comm _IXGBE_RXCTRL_RXEN,4,2 ## @IXGBE_RXCTRL_RXEN .comm _ixgbe_mac_82598EB,8,3 ## @ixgbe_mac_82598EB .comm _IXGBE_RXCTRL_DMBYPS,4,2 ## @IXGBE_RXCTRL_DMBYPS .no_dead_strip _ixgbe_configure_rx .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ixgbe_configure_rx _ixgbe_configure_rx: ; @ixgbe_configure_rx .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 x19, x0, #16 Lloh0: adrp x22, _IXGBE_RXCTRL@GOTPAGE Lloh1: ldr x22, [x22, _IXGBE_RXCTRL@GOTPAGEOFF] ldr w1, [x22] mov x0, x19 bl _IXGBE_READ_REG mov x21, x0 ldr w1, [x22] Lloh2: adrp x22, _IXGBE_RXCTRL_RXEN@GOTPAGE Lloh3: ldr x22, [x22, _IXGBE_RXCTRL_RXEN@GOTPAGEOFF] ldr w8, [x22] bic w2, w0, w8 mov x0, x19 bl _IXGBE_WRITE_REG mov x0, x20 bl _ixgbe_setup_psrtype mov x0, x20 bl _ixgbe_setup_rdrxctl mov x0, x20 bl _ixgbe_setup_mrqc mov x0, x20 bl _ixgbe_set_rx_buffer_len ldr w8, [x20] cmp w8, #1 b.lt LBB0_3 ; %bb.1: mov x23, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #8] ldr w1, [x8, x23, lsl #2] mov x0, x20 bl _ixgbe_configure_rx_ring add x23, x23, #1 ldrsw x8, [x20] cmp x23, x8 b.lt LBB0_2 LBB0_3: Lloh4: adrp x8, _ixgbe_mac_82598EB@GOTPAGE Lloh5: ldr x8, [x8, _ixgbe_mac_82598EB@GOTPAGEOFF] Lloh6: ldr x8, [x8] Lloh7: adrp x9, _IXGBE_RXCTRL_DMBYPS@GOTPAGE Lloh8: ldr x9, [x9, _IXGBE_RXCTRL_DMBYPS@GOTPAGEOFF] Lloh9: ldr w9, [x9] ldp x10, x2, [x20, #16] cmp x10, x8 csel w8, w9, wzr, eq orr w8, w8, w21 ldr w9, [x22] orr w1, w8, w9 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 br x2 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _IXGBE_RXCTRL,4,2 ; @IXGBE_RXCTRL .comm _IXGBE_RXCTRL_RXEN,4,2 ; @IXGBE_RXCTRL_RXEN .comm _ixgbe_mac_82598EB,8,3 ; @ixgbe_mac_82598EB .comm _IXGBE_RXCTRL_DMBYPS,4,2 ; @IXGBE_RXCTRL_DMBYPS .no_dead_strip _ixgbe_configure_rx .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_main.c_ixgbe_configure_rx.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function comc_parse_pcidev _comc_parse_pcidev: ## @comc_parse_pcidev .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 -48(%rbp), %rsi xorl %r15d, %r15d xorl %edx, %edx callq _strtol movq -48(%rbp), %rdi cmpq %rbx, %rdi je LBB0_16 ## %bb.1: cmpb $58, (%rdi) jne LBB0_16 ## %bb.2: movl %eax, %r14d testl %eax, %eax js LBB0_16 ## %bb.3: incq %rdi movq %rdi, -48(%rbp) leaq -48(%rbp), %rsi xorl %r15d, %r15d xorl %edx, %edx callq _strtol movq -48(%rbp), %rdi cmpq %rbx, %rdi je LBB0_16 ## %bb.4: cmpb $58, (%rdi) jne LBB0_16 ## %bb.5: movl %eax, %r12d testl %eax, %eax js LBB0_16 ## %bb.6: incq %rdi movq %rdi, -48(%rbp) leaq -48(%rbp), %rsi xorl %r15d, %r15d xorl %edx, %edx callq _strtol movq -48(%rbp), %rdi cmpq %rbx, %rdi je LBB0_16 ## %bb.7: movl %eax, %r13d movb (%rdi), %al cmpb $58, %al jne LBB0_8 ## %bb.10: testl %r13d, %r13d js LBB0_16 ## %bb.11: incq %rdi movq %rdi, -48(%rbp) leaq -48(%rbp), %rsi xorl %r15d, %r15d xorl %edx, %edx callq _strtol movq -48(%rbp), %rcx cmpq %rbx, %rcx je LBB0_16 ## %bb.12: cmpb $0, (%rcx) jne LBB0_16 ## %bb.13: testl %eax, %eax jle LBB0_16 ## %bb.14: movl %eax, %ebx shll $16, %ebx jmp LBB0_15 LBB0_8: testb %al, %al jne LBB0_16 ## %bb.9: movl $1048576, %ebx ## imm = 0x100000 testl %r13d, %r13d js LBB0_16 LBB0_15: movl %r14d, %edi movl %r12d, %esi movl %r13d, %edx callq _biospci_locator movl %eax, %r15d orl %ebx, %r15d LBB0_16: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _comc_parse_pcidev .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function comc_parse_pcidev _comc_parse_pcidev: ; @comc_parse_pcidev .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, x0 add x1, sp, #8 mov w2, #0 bl _strtol ldr x8, [sp, #8] cmp x8, x20 b.eq LBB0_13 ; %bb.1: mov x19, x0 mov w0, #0 ldrb w9, [x8] cmp w9, #58 b.ne LBB0_14 ; %bb.2: tbnz w19, #31, LBB0_14 ; %bb.3: add x0, x8, #1 str x0, [sp, #8] add x1, sp, #8 mov w2, #0 bl _strtol ldr x8, [sp, #8] cmp x8, x20 b.eq LBB0_13 ; %bb.4: mov x21, x0 mov w0, #0 ldrb w9, [x8] cmp w9, #58 b.ne LBB0_14 ; %bb.5: tbnz w21, #31, LBB0_14 ; %bb.6: add x0, x8, #1 str x0, [sp, #8] add x1, sp, #8 mov w2, #0 bl _strtol ldr x8, [sp, #8] cmp x8, x20 b.eq LBB0_13 ; %bb.7: mov x22, x0 ldrb w9, [x8] cmp w9, #58 b.ne LBB0_15 ; %bb.8: tbnz w22, #31, LBB0_13 ; %bb.9: add x0, x8, #1 str x0, [sp, #8] add x1, sp, #8 mov w2, #0 bl _strtol ldr x9, [sp, #8] cmp x9, x20 b.eq LBB0_13 ; %bb.10: mov x8, x0 mov w0, #0 ldrb w9, [x9] cbnz w9, LBB0_14 ; %bb.11: cmp w8, #1 b.lt LBB0_14 ; %bb.12: lsl w20, w8, #16 b LBB0_18 LBB0_13: mov w0, #0 LBB0_14: 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 LBB0_15: mov w0, #0 cbnz w9, LBB0_14 ; %bb.16: tbnz w22, #31, LBB0_14 ; %bb.17: mov w20, #1048576 LBB0_18: mov x0, x19 mov x1, x21 mov x2, x22 bl _biospci_locator orr w0, w0, w20 b LBB0_14 .cfi_endproc ; -- End function .no_dead_strip _comc_parse_pcidev .subsections_via_symbols
AnghaBench/freebsd/stand/i386/libi386/extr_comconsole.c_comc_parse_pcidev.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vega12_init_sclk_threshold _vega12_init_sclk_threshold: ## @vega12_init_sclk_threshold .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq $0, (%rax) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _vega12_init_sclk_threshold .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vega12_init_sclk_threshold _vega12_init_sclk_threshold: ; @vega12_init_sclk_threshold .cfi_startproc ; %bb.0: ldr x8, [x0] str xzr, [x8] mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _vega12_init_sclk_threshold .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega12_hwmgr.c_vega12_init_sclk_threshold.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function AcpiUtBoundStringLength _AcpiUtBoundStringLength: ## @AcpiUtBoundStringLength .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpb $0, (%rdi) sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne LBB0_1 ## %bb.2: decq %rsi xorl %ecx, %ecx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 leaq 1(%rcx), %rax cmpb $0, 1(%rdi,%rcx) je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpq %rcx, %rsi movq %rax, %rcx jne LBB0_3 LBB0_5: negq %rax popq %rbp retq LBB0_1: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _AcpiUtBoundStringLength .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function AcpiUtBoundStringLength _AcpiUtBoundStringLength: ; @AcpiUtBoundStringLength .cfi_startproc ; %bb.0: ldrb w8, [x0] cmp w8, #0 ccmp x1, #0, #4, ne b.ne LBB0_2 ; %bb.1: mov x0, #0 ; =0x0 ret LBB0_2: mov x9, #0 ; =0x0 sub x8, x1, #1 add x10, x0, #1 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldrb w12, [x10, x9] add x11, x9, #1 cmp w12, #0 ccmp x8, x9, #4, ne mov x9, x11 b.ne LBB0_3 ; %bb.4: neg x0, x11 ret .cfi_endproc ; -- End function .no_dead_strip _AcpiUtBoundStringLength .subsections_via_symbols
assembly_file_148840.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ieee80211_prep_connection _ieee80211_prep_connection: ## @ieee80211_prep_connection .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 movl %edx, -48(%rbp) ## 4-byte Spill movq %rsi, %r15 movq 24(%rdi), %r13 movq 16(%rsi), %rdx movq 8(%r13), %rax movq (%rax), %rax movq (%rdx), %rbx cmpl $0, 44(%rdi) movl %ecx, -76(%rbp) ## 4-byte Spill je LBB0_2 ## %bb.1: movq %rdi, %r14 xorl %edx, %edx jmp LBB0_3 LBB0_2: movq %rdi, %r14 cmpl $0, 40(%rdi) sete %dl LBB0_3: movq 24(%r15), %rcx movq %rcx, -72(%rbp) ## 8-byte Spill movq (%rax,%rbx,8), %r12 movzbl %dl, %edi callq _WARN_ON testq %rax, %rax je LBB0_6 LBB0_4: movq _EINVAL@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_6: movq %r12, -104(%rbp) ## 8-byte Spill cmpq $0, 16(%r13) je LBB0_8 ## %bb.7: movq _EBUSY@GOTPCREL(%rip), %rax LBB0_5: xorl %ebx, %ebx subl (%rax), %ebx LBB0_38: movl %ebx, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: cmpl $0, -48(%rbp) ## 4-byte Folded Reload movq %r13, -64(%rbp) ## 8-byte Spill movq %r15, %r12 je LBB0_10 ## %bb.9: xorl %eax, %eax callq _rcu_read_lock movl (%r12), %esi movq %r14, %rdi callq _sta_info_get movl %eax, %ebx xorl %eax, %eax callq _rcu_read_unlock testl %ebx, %ebx je LBB0_10 ## %bb.26: cmpl $0, -76(%rbp) ## 4-byte Folded Reload je LBB0_28 ## %bb.27: movq %r14, %rdi movq %r12, %rsi callq _ieee80211_prep_channel testl %eax, %eax jne LBB0_4 LBB0_28: movl 36(%r14), %edi movl (%r12), %esi callq _ether_addr_equal xorl %edi, %edi testl %eax, %eax sete %dil callq _WARN_ON_ONCE LBB0_29: xorl %ebx, %ebx movq -64(%rbp), %rdi ## 8-byte Reload cmpq $0, (%rdi) je LBB0_38 ## %bb.30: callq _ieee80211_scan_cancel jmp LBB0_38 LBB0_10: movl (%r12), %esi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi callq _sta_info_alloc testq %rax, %rax je LBB0_11 ## %bb.12: movq %rax, %r15 movq $0, -96(%rbp) movq $0, -56(%rbp) movq _INT_MAX@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -80(%rbp) movl $-1, -44(%rbp) movq %r14, %rdi callq _ieee80211_vif_get_shift ## kill: def $eax killed $eax def $rax movq -72(%rbp), %rcx ## 8-byte Reload movl 8(%rcx), %edx movl 12(%rcx), %esi subq $8, %rsp leaq -44(%rbp), %rbx leaq -80(%rbp), %r10 leaq -96(%rbp), %rcx leaq -56(%rbp), %r8 leaq -84(%rbp), %r9 movq -104(%rbp), %rdi ## 8-byte Reload pushq %rax pushq %rbx pushq %r10 callq _ieee80211_get_rates addq $32, %rsp cmpq $0, -56(%rbp) jne LBB0_15 ## %bb.13: cmpl $0, -44(%rbp) js LBB0_15 ## %bb.14: leaq L_.str(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _sdata_info movl -44(%rbp), %edi callq _BIT movq %rax, -56(%rbp) LBB0_15: movq -96(%rbp), %rax testq %rax, %rax je LBB0_17 ## %bb.16: movq (%r15), %rcx movq 16(%r12), %rdx movq (%rdx), %rdx movq %rax, (%rcx,%rdx,8) jmp LBB0_18 LBB0_11: movq _ENOMEM@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_17: leaq L_.str.1(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _sdata_info LBB0_18: movq %r14, %rcx movq -64(%rbp), %r13 ## 8-byte Reload movq -72(%rbp), %r14 ## 8-byte Reload movq -56(%rbp), %rax movq %rcx, %rbx movq %rax, 16(%rcx) movq 16(%r12), %rax movq (%rax), %rcx movq _NL80211_BAND_2GHZ@GOTPCREL(%rip), %rdx movq _IEEE80211_SDATA_OPERATING_GMODE@GOTPCREL(%rip), %rax movl (%rax), %eax cmpq (%rdx), %rcx jne LBB0_21 ## %bb.19: cmpl $0, -84(%rbp) je LBB0_21 ## %bb.20: orl %eax, 32(%rbx) jmp LBB0_22 LBB0_21: notl %eax andl %eax, 32(%rbx) LBB0_22: movl 36(%rbx), %edi movl (%r12), %esi movq _ETH_ALEN@GOTPCREL(%rip), %rax movl (%rax), %edx callq _memcpy movl 12(%r12), %eax movl %eax, 12(%rbx) xorl %eax, %eax callq _rcu_read_lock movl 8(%r12), %edi callq _rcu_dereference testq %rax, %rax je LBB0_24 ## %bb.23: movl (%rax), %ecx movl %ecx, 8(%rbx) movl 4(%r14), %ecx movl %ecx, 4(%rbx) movq %rax, %rdi movq %rbx, %rsi xorl %edx, %edx callq _ieee80211_get_dtim jmp LBB0_32 LBB0_24: movq 24(%rbx), %rdi addq $8, %rdi movq _TIMING_BEACON_ONLY@GOTPCREL(%rip), %rax movl (%rax), %esi callq _ieee80211_hw_check testl %eax, %eax je LBB0_25 ## %bb.31: movl $0, 8(%rbx) movq $0, (%rbx) jmp LBB0_32 LBB0_25: movl 4(%r12), %edi callq _rcu_dereference movl (%rax), %eax movl %eax, 8(%rbx) movl (%r14), %eax movl %eax, 4(%rbx) movl $0, (%rbx) LBB0_32: xorl %eax, %eax callq _rcu_read_unlock movq %rbx, %rdi movq %r12, %rsi callq _ieee80211_prep_channel testl %eax, %eax je LBB0_34 ## %bb.33: movq %r13, %rdi movq %r15, %rsi callq _sta_info_free jmp LBB0_4 LBB0_34: movq _BSS_CHANGED_BSSID@GOTPCREL(%rip), %rax movq _BSS_CHANGED_BASIC_RATES@GOTPCREL(%rip), %rcx movl (%rcx), %esi orl (%rax), %esi movq _BSS_CHANGED_BEACON_INT@GOTPCREL(%rip), %rax orl (%rax), %esi movq %rbx, %rdi callq _ieee80211_bss_info_change_notify cmpl $0, -48(%rbp) ## 4-byte Folded Reload movq %rbx, %r14 je LBB0_36 ## %bb.35: movq _IEEE80211_STA_AUTH@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _sta_info_pre_move_state LBB0_36: movq %r15, %rdi callq _sta_info_insert testl %eax, %eax je LBB0_29 ## %bb.37: movl %eax, %ebx leaq L_.str.2(%rip), %rsi movq %r14, %rdi movl %eax, %edx xorl %eax, %eax callq _sdata_info jmp LBB0_38 .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _EBUSY,4,2 ## @EBUSY .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _INT_MAX,4,2 ## @INT_MAX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "No basic rates, using min rate instead\n" L_.str.1: ## @.str.1 .asciz "No rates found, keeping mandatory only\n" .comm _NL80211_BAND_2GHZ,8,3 ## @NL80211_BAND_2GHZ .comm _IEEE80211_SDATA_OPERATING_GMODE,4,2 ## @IEEE80211_SDATA_OPERATING_GMODE .comm _ETH_ALEN,4,2 ## @ETH_ALEN .comm _TIMING_BEACON_ONLY,4,2 ## @TIMING_BEACON_ONLY .comm _BSS_CHANGED_BSSID,4,2 ## @BSS_CHANGED_BSSID .comm _BSS_CHANGED_BASIC_RATES,4,2 ## @BSS_CHANGED_BASIC_RATES .comm _BSS_CHANGED_BEACON_INT,4,2 ## @BSS_CHANGED_BEACON_INT .comm _IEEE80211_STA_AUTH,4,2 ## @IEEE80211_STA_AUTH L_.str.2: ## @.str.2 .asciz "failed to insert STA entry for the AP (error %d)\n" .no_dead_strip _ieee80211_prep_connection .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ieee80211_prep_connection _ieee80211_prep_connection: ; @ieee80211_prep_connection .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 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 mov x23, x3 mov x21, x2 mov x22, x1 mov x20, x0 ldr x19, [x0, #24] ldr x8, [x19, #8] ldr x8, [x8] ldr x9, [x1, #16] ldr x9, [x9] ldr w10, [x0, #44] cbz w10, LBB0_2 ; %bb.1: mov w0, #0 b LBB0_3 LBB0_2: ldr w10, [x20, #40] cmp w10, #0 cset w0, eq LBB0_3: ldr x26, [x22, #24] ldr x24, [x8, x9, lsl #3] bl _WARN_ON cbz x0, LBB0_5 LBB0_4: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_7 LBB0_5: ldr x8, [x19, #16] cbz x8, LBB0_9 ; %bb.6: Lloh2: adrp x8, _EBUSY@GOTPAGE Lloh3: ldr x8, [x8, _EBUSY@GOTPAGEOFF] LBB0_7: ldr w8, [x8] neg w21, w8 LBB0_8: mov x0, x21 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_9: cbz w21, LBB0_17 ; %bb.10: bl _rcu_read_lock ldr w1, [x22] mov x0, x20 bl _sta_info_get mov x25, x0 bl _rcu_read_unlock cbz w25, LBB0_17 ; %bb.11: cbz w23, LBB0_13 ; %bb.12: mov x0, x20 mov x1, x22 bl _ieee80211_prep_channel cbnz w0, LBB0_4 LBB0_13: ldr w0, [x20, #36] ldr w1, [x22] bl _ether_addr_equal cmp w0, #0 cset w0, eq bl _WARN_ON_ONCE LBB0_14: ldr x8, [x19] cbz x8, LBB0_16 ; %bb.15: mov x0, x19 bl _ieee80211_scan_cancel LBB0_16: mov w21, #0 b LBB0_8 LBB0_17: ldr w1, [x22] Lloh4: adrp x8, _GFP_KERNEL@GOTPAGE Lloh5: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh6: ldr w2, [x8] mov x0, x20 bl _sta_info_alloc cbz x0, LBB0_23 ; %bb.18: mov x23, x0 stp xzr, xzr, [sp, #32] Lloh7: adrp x8, _INT_MAX@GOTPAGE Lloh8: ldr x8, [x8, _INT_MAX@GOTPAGEOFF] Lloh9: ldr w9, [x8] mov w8, #-1 stp w8, w9, [sp, #20] mov x0, x20 bl _ieee80211_vif_get_shift ldp w2, w1, [x26, #8] str w0, [sp] add x3, sp, #40 add x4, sp, #32 add x5, sp, #28 add x6, sp, #24 add x7, sp, #20 mov x0, x24 bl _ieee80211_get_rates ldr x8, [sp, #32] cbnz x8, LBB0_21 ; %bb.19: ldr w8, [sp, #20] tbnz w8, #31, LBB0_21 ; %bb.20: Lloh10: adrp x1, l_.str@PAGE Lloh11: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _sdata_info ldr w0, [sp, #20] bl _BIT str x0, [sp, #32] LBB0_21: ldr x8, [sp, #40] cbz x8, LBB0_24 ; %bb.22: ldr x9, [x23] ldr x10, [x22, #16] ldr x10, [x10] str x8, [x9, x10, lsl #3] b LBB0_25 LBB0_23: Lloh12: adrp x8, _ENOMEM@GOTPAGE Lloh13: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_7 LBB0_24: Lloh14: adrp x1, l_.str.1@PAGE Lloh15: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _sdata_info LBB0_25: ldr x8, [sp, #32] str x8, [x20, #16] ldr x8, [x22, #16] Lloh16: adrp x9, _NL80211_BAND_2GHZ@GOTPAGE Lloh17: ldr x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF] ldr x10, [x8] Lloh18: ldr x9, [x9] Lloh19: adrp x8, _IEEE80211_SDATA_OPERATING_GMODE@GOTPAGE Lloh20: ldr x8, [x8, _IEEE80211_SDATA_OPERATING_GMODE@GOTPAGEOFF] Lloh21: ldr w8, [x8] cmp x10, x9 b.ne LBB0_28 ; %bb.26: ldr w9, [sp, #28] cbz w9, LBB0_28 ; %bb.27: ldr w9, [x20, #32] orr w8, w9, w8 b LBB0_29 LBB0_28: ldr w9, [x20, #32] bic w8, w9, w8 LBB0_29: str w8, [x20, #32] ldr w0, [x20, #36] ldr w1, [x22] Lloh22: adrp x8, _ETH_ALEN@GOTPAGE Lloh23: ldr x8, [x8, _ETH_ALEN@GOTPAGEOFF] Lloh24: ldr w2, [x8] bl _memcpy ldr w8, [x22, #12] str w8, [x20, #12] bl _rcu_read_lock ldr w0, [x22, #8] bl _rcu_dereference cbz x0, LBB0_31 ; %bb.30: ldr w8, [x0] str w8, [x20, #8] ldr w8, [x26, #4] str w8, [x20, #4] mov x1, x20 mov x2, #0 bl _ieee80211_get_dtim b LBB0_35 LBB0_31: ldr x8, [x20, #24] add x0, x8, #8 Lloh25: adrp x8, _TIMING_BEACON_ONLY@GOTPAGE Lloh26: ldr x8, [x8, _TIMING_BEACON_ONLY@GOTPAGEOFF] Lloh27: ldr w1, [x8] bl _ieee80211_hw_check cbz w0, LBB0_33 ; %bb.32: stp wzr, wzr, [x20, #4] b LBB0_34 LBB0_33: ldr w0, [x22, #4] bl _rcu_dereference ldr w8, [x0] str w8, [x20, #8] ldr w8, [x26] str w8, [x20, #4] LBB0_34: str wzr, [x20] LBB0_35: bl _rcu_read_unlock mov x0, x20 mov x1, x22 bl _ieee80211_prep_channel cbz w0, LBB0_37 ; %bb.36: mov x0, x19 mov x1, x23 bl _sta_info_free b LBB0_4 LBB0_37: Lloh28: adrp x8, _BSS_CHANGED_BSSID@GOTPAGE Lloh29: ldr x8, [x8, _BSS_CHANGED_BSSID@GOTPAGEOFF] Lloh30: ldr w8, [x8] Lloh31: adrp x9, _BSS_CHANGED_BASIC_RATES@GOTPAGE Lloh32: ldr x9, [x9, _BSS_CHANGED_BASIC_RATES@GOTPAGEOFF] Lloh33: ldr w9, [x9] orr w8, w9, w8 Lloh34: adrp x9, _BSS_CHANGED_BEACON_INT@GOTPAGE Lloh35: ldr x9, [x9, _BSS_CHANGED_BEACON_INT@GOTPAGEOFF] Lloh36: ldr w9, [x9] orr w1, w8, w9 mov x0, x20 bl _ieee80211_bss_info_change_notify cbz w21, LBB0_39 ; %bb.38: Lloh37: adrp x8, _IEEE80211_STA_AUTH@GOTPAGE Lloh38: ldr x8, [x8, _IEEE80211_STA_AUTH@GOTPAGEOFF] Lloh39: ldr w1, [x8] mov x0, x23 bl _sta_info_pre_move_state LBB0_39: mov x0, x23 bl _sta_info_insert cbz w0, LBB0_14 ; %bb.40: mov x21, x0 str x21, [sp] Lloh40: adrp x1, l_.str.2@PAGE Lloh41: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 bl _sdata_info b LBB0_8 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpAdd Lloh40, Lloh41 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _EBUSY,4,2 ; @EBUSY .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _INT_MAX,4,2 ; @INT_MAX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "No basic rates, using min rate instead\n" l_.str.1: ; @.str.1 .asciz "No rates found, keeping mandatory only\n" .comm _NL80211_BAND_2GHZ,8,3 ; @NL80211_BAND_2GHZ .comm _IEEE80211_SDATA_OPERATING_GMODE,4,2 ; @IEEE80211_SDATA_OPERATING_GMODE .comm _ETH_ALEN,4,2 ; @ETH_ALEN .comm _TIMING_BEACON_ONLY,4,2 ; @TIMING_BEACON_ONLY .comm _BSS_CHANGED_BSSID,4,2 ; @BSS_CHANGED_BSSID .comm _BSS_CHANGED_BASIC_RATES,4,2 ; @BSS_CHANGED_BASIC_RATES .comm _BSS_CHANGED_BEACON_INT,4,2 ; @BSS_CHANGED_BEACON_INT .comm _IEEE80211_STA_AUTH,4,2 ; @IEEE80211_STA_AUTH l_.str.2: ; @.str.2 .asciz "failed to insert STA entry for the AP (error %d)\n" .no_dead_strip _ieee80211_prep_connection .subsections_via_symbols
AnghaBench/linux/net/mac80211/extr_mlme.c_ieee80211_prep_connection.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ptls_asn1_read_length ## -- Begin function ptls_asn1_read_length .p2align 4, 0x90 _ptls_asn1_read_length: ## @ptls_asn1_read_length .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 $0, (%r8) movl $0, (%rcx) movq %rsi, (%r9) cmpq %rsi, %rdx jae LBB0_12 ## %bb.1: movq 32(%rbp), %rbx movl 24(%rbp), %r14d movq 16(%rbp), %r15 movl (%rdi,%rdx,4), %eax incq %rdx andl $127, %eax movq %rdx, %r10 subq %rax, %r10 cmpq %rsi, %r10 jae LBB0_14 ## %bb.2: testl %eax, %eax sete %r10b cmpq %rsi, %rdx setae %r11b testb %r11b, %r10b jne LBB0_6 ## %bb.3: xorl %r10d, %r10d movl $1, %r11d .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 shll $8, %r10d movl %r10d, (%rcx) orl (%rdi,%rdx,4), %r10d incq %rdx movl %r10d, (%rcx) cmpl %eax, %r11d setb %r12b cmpq %rsi, %rdx setb %r13b orb %r12b, %r13b incl %r11d testb %r13b, %r13b jne LBB0_4 ## %bb.5: testl %eax, %eax je LBB0_6 ## %bb.7: movq %rsi, %r12 movslq %r10d, %rax addq %rdx, %rax jmp LBB0_8 LBB0_14: leaq L_.str(%rip), %rdi movq %rsi, %r12 movl %r14d, %ecx movq %rbx, %r8 movq %r9, %r13 callq _ptls_asn1_error_message movq %r13, %r9 movq %rax, %rdx movq _PTLS_ERROR_BER_MALFORMED_LENGTH@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r15) testl %eax, %eax jne LBB0_12 jmp LBB0_10 LBB0_6: movl $1, (%r8) movq %rsi, %r12 movq %rsi, %rax LBB0_8: movq %rax, (%r9) movl (%r15), %eax testl %eax, %eax jne LBB0_12 LBB0_10: cmpq %r12, (%r9) jbe LBB0_12 ## %bb.11: movq %r12, %rsi leaq L_.str.1(%rip), %rdi movl %r14d, %ecx movq %rbx, %r8 callq _ptls_asn1_error_message movq _PTLS_ERROR_BER_EXCESSIVE_LENGTH@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%r15) jmp LBB0_13 LBB0_12: movq %rdx, %rax LBB0_13: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Incorrect length coding" .comm _PTLS_ERROR_BER_MALFORMED_LENGTH,4,2 ## @PTLS_ERROR_BER_MALFORMED_LENGTH L_.str.1: ## @.str.1 .asciz "Length larger than message" .comm _PTLS_ERROR_BER_EXCESSIVE_LENGTH,4,2 ## @PTLS_ERROR_BER_EXCESSIVE_LENGTH .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ptls_asn1_read_length ; -- Begin function ptls_asn1_read_length .p2align 2 _ptls_asn1_read_length: ; @ptls_asn1_read_length .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .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 x8, x2 str wzr, [x4] str wzr, [x3] str x1, [x5] cmp x2, x1 b.hs LBB0_13 ; %bb.1: ldr x19, [x29, #16] add x2, x8, #1 ldr w8, [x0, x8, lsl #2] and x8, x8, #0x7f sub x9, x2, x8 cmp x9, x1 b.hs LBB0_8 ; %bb.2: cmp w8, #0 ccmp x2, x1, #0, eq b.hs LBB0_9 ; %bb.3: mov w9, #0 ; =0x0 mov w10, #1 ; =0x1 LBB0_4: ; =>This Inner Loop Header: Depth=1 lsl w9, w9, #8 str w9, [x3] ldr w11, [x0, x2, lsl #2] mov x12, x10 add x2, x2, #1 orr w9, w11, w9 str w9, [x3] add w10, w10, #1 cmp w12, w8 b.lo LBB0_4 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cmp x2, x1 b.lo LBB0_4 ; %bb.6: cbz w8, LBB0_9 ; %bb.7: mov x21, x1 mov x20, x7 sxtw x8, w9 add x8, x8, x2 b LBB0_10 LBB0_8: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x21, x1 mov x20, x7 mov x3, x7 mov x4, x19 mov x22, x6 mov x23, x5 bl _ptls_asn1_error_message mov x5, x23 mov x6, x22 mov x8, x0 Lloh2: adrp x9, _PTLS_ERROR_BER_MALFORMED_LENGTH@GOTPAGE Lloh3: ldr x9, [x9, _PTLS_ERROR_BER_MALFORMED_LENGTH@GOTPAGEOFF] Lloh4: ldr w9, [x9] str w9, [x22] cbnz w9, LBB0_13 b LBB0_11 LBB0_9: mov x20, x7 mov w8, #1 ; =0x1 str w8, [x4] mov x21, x1 mov x8, x1 LBB0_10: str x8, [x5] ldr w9, [x6] mov x8, x2 cbnz w9, LBB0_13 LBB0_11: ldr x9, [x5] cmp x9, x21 b.ls LBB0_13 ; %bb.12: mov x1, x21 Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF mov x2, x8 mov x3, x20 mov x4, x19 mov x19, x6 bl _ptls_asn1_error_message Lloh7: adrp x8, _PTLS_ERROR_BER_EXCESSIVE_LENGTH@GOTPAGE Lloh8: ldr x8, [x8, _PTLS_ERROR_BER_EXCESSIVE_LENGTH@GOTPAGEOFF] Lloh9: ldr w8, [x8] str w8, [x19] b LBB0_14 LBB0_13: mov x0, x8 LBB0_14: 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 Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Incorrect length coding" .comm _PTLS_ERROR_BER_MALFORMED_LENGTH,4,2 ; @PTLS_ERROR_BER_MALFORMED_LENGTH l_.str.1: ; @.str.1 .asciz "Length larger than message" .comm _PTLS_ERROR_BER_EXCESSIVE_LENGTH,4,2 ; @PTLS_ERROR_BER_EXCESSIVE_LENGTH .subsections_via_symbols
assembly_file_126387.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gfx_v9_0_kiq_kcq_enable _gfx_v9_0_kiq_kcq_enable: ## @gfx_v9_0_kiq_kcq_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 subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r13 leaq 28(%rdi), %r12 movq _AMDGPU_MAX_COMPUTE_QUEUES@GOTPCREL(%rip), %r14 cmpl $0, (%r14) jle LBB0_1 ## %bb.2: xorl %ebx, %ebx xorl %r15d, %r15d jmp LBB0_3 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 btsq %rbx, %r15 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 incq %rbx movslq (%r14), %rax cmpq %rax, %rbx jge LBB0_8 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl 24(%r13), %esi movl %ebx, %edi callq _test_bit testl %eax, %eax je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 xorl %edi, %edi cmpq $64, %rbx setae %dil callq _WARN_ON testq %rax, %rax je LBB0_6 ## %bb.5: leaq L_.str(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _DRM_ERROR jmp LBB0_8 LBB0_1: xorl %r15d, %r15d LBB0_8: movl 8(%r13), %eax leal (,%rax,8), %esi subl %eax, %esi addl $8, %esi movq %r12, %rdi callq _amdgpu_ring_alloc testl %eax, %eax je LBB0_10 ## %bb.9: movl %eax, %ebx leaq L_.str.1(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _DRM_ERROR jmp LBB0_15 LBB0_10: movq _PACKET3_SET_RESOURCES@GOTPCREL(%rip), %rax movl (%rax), %edi movl $6, %esi callq _PACKET3 movq %r12, %rdi movl %eax, %esi callq _amdgpu_ring_write xorl %edi, %edi callq _PACKET3_SET_RESOURCES_VMID_MASK movl %eax, %ebx xorl %edi, %edi callq _PACKET3_SET_RESOURCES_QUEUE_TYPE orl %eax, %ebx movq %r12, %rdi movl %ebx, %esi callq _amdgpu_ring_write movq %r15, %rdi callq _lower_32_bits movq %r12, %rdi movl %eax, %esi callq _amdgpu_ring_write movq %r15, %rdi callq _upper_32_bits movq %r12, %rdi movl %eax, %esi callq _amdgpu_ring_write movq %r12, %rdi xorl %esi, %esi callq _amdgpu_ring_write movq %r12, %rdi xorl %esi, %esi callq _amdgpu_ring_write movq %r12, %rdi xorl %esi, %esi callq _amdgpu_ring_write movq %r12, %rdi xorl %esi, %esi callq _amdgpu_ring_write cmpl $0, 8(%r13) movq %r12, %rbx jle LBB0_13 ## %bb.11: movq %r13, %rcx movl $20, %r13d xorl %edx, %edx movq %rcx, -48(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movq %rdx, -72(%rbp) ## 8-byte Spill movq 16(%rcx), %r12 movl (%r12,%r13), %edi callq _amdgpu_bo_gpu_offset movq %rax, -56(%rbp) ## 8-byte Spill movslq -20(%r12,%r13), %rcx shlq $2, %rcx movq -48(%rbp), %rax ## 8-byte Reload addq (%rax), %rcx movq %rcx, -64(%rbp) ## 8-byte Spill movq _PACKET3_MAP_QUEUES@GOTPCREL(%rip), %rax movl (%rax), %edi movl $5, %esi callq _PACKET3 movq %rbx, %rdi movl %eax, %esi callq _amdgpu_ring_write xorl %edi, %edi callq _PACKET3_MAP_QUEUES_QUEUE_SEL movl %eax, %r15d xorl %edi, %edi callq _PACKET3_MAP_QUEUES_VMID orl %eax, %r15d movl -4(%r12,%r13), %edi callq _PACKET3_MAP_QUEUES_QUEUE orl %eax, %r15d movl -8(%r12,%r13), %edi callq _PACKET3_MAP_QUEUES_PIPE orl %eax, %r15d xorl %edi, %edi cmpl $1, -16(%r12,%r13) setne %dil callq _PACKET3_MAP_QUEUES_ME movl %eax, %r14d xorl %edi, %edi callq _PACKET3_MAP_QUEUES_QUEUE_TYPE orl %eax, %r15d orl %r14d, %r15d xorl %edi, %edi callq _PACKET3_MAP_QUEUES_ALLOC_FORMAT movq %rbx, %r14 movl %eax, %ebx xorl %edi, %edi callq _PACKET3_MAP_QUEUES_ENGINE_SEL orl %eax, %ebx movl $1, %edi callq _PACKET3_MAP_QUEUES_NUM_QUEUES orl %eax, %ebx orl %r15d, %ebx movq %r14, %rdi movl %ebx, %esi callq _amdgpu_ring_write movl -12(%r12,%r13), %edi callq _PACKET3_MAP_QUEUES_DOORBELL_OFFSET movq %r14, %rdi movl %eax, %esi callq _amdgpu_ring_write movq -56(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _lower_32_bits movq %r14, %rdi movl %eax, %esi callq _amdgpu_ring_write movq %rbx, %rdi callq _upper_32_bits movq %r14, %rdi movl %eax, %esi callq _amdgpu_ring_write movq -64(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _lower_32_bits movq %r14, %rdi movl %eax, %esi callq _amdgpu_ring_write movq %rbx, %rdi callq _upper_32_bits movq %r14, %rbx movq %r14, %rdi movl %eax, %esi callq _amdgpu_ring_write movq -72(%rbp), %rdx ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload incq %rdx movslq 8(%rcx), %rax addq $24, %r13 cmpq %rax, %rdx jl LBB0_12 LBB0_13: movq %rbx, %rdi callq _amdgpu_ring_test_helper testl %eax, %eax movl $0, %ebx je LBB0_15 ## %bb.14: movl %eax, %r14d leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _DRM_ERROR movl %r14d, %ebx LBB0_15: movl %ebx, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AMDGPU_MAX_COMPUTE_QUEUES,4,2 ## @AMDGPU_MAX_COMPUTE_QUEUES .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Invalid KCQ enabled: %d\n" L_.str.1: ## @.str.1 .asciz "Failed to lock KIQ (%d).\n" .comm _PACKET3_SET_RESOURCES,4,2 ## @PACKET3_SET_RESOURCES .comm _PACKET3_MAP_QUEUES,4,2 ## @PACKET3_MAP_QUEUES L_.str.2: ## @.str.2 .asciz "KCQ enable failed\n" .no_dead_strip _gfx_v9_0_kiq_kcq_enable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gfx_v9_0_kiq_kcq_enable _gfx_v9_0_kiq_kcq_enable: ; @gfx_v9_0_kiq_kcq_enable .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x0 add x19, x0, #28 Lloh0: adrp x23, _AMDGPU_MAX_COMPUTE_QUEUES@GOTPAGE Lloh1: ldr x23, [x23, _AMDGPU_MAX_COMPUTE_QUEUES@GOTPAGEOFF] ldr w8, [x23] cmp w8, #1 b.lt LBB0_7 ; %bb.1: mov x22, #0 mov x21, #0 mov w24, #1 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 lsl x8, x24, x22 orr x21, x8, x21 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x22, x22, #1 ldrsw x8, [x23] cmp x22, x8 b.ge LBB0_8 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w1, [x20, #24] mov x0, x22 bl _test_bit cbz w0, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cmp x22, #63 cset w0, hi bl _WARN_ON cbz x0, LBB0_2 ; %bb.6: str x22, [sp] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _DRM_ERROR b LBB0_8 LBB0_7: mov x21, #0 LBB0_8: ldr w8, [x20, #8] lsl w9, w8, #3 sub w8, w9, w8 add w1, w8, #8 mov x0, x19 bl _amdgpu_ring_alloc cbz w0, LBB0_10 ; %bb.9: mov x22, x0 str x22, [sp] Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF b LBB0_15 LBB0_10: Lloh6: adrp x8, _PACKET3_SET_RESOURCES@GOTPAGE Lloh7: ldr x8, [x8, _PACKET3_SET_RESOURCES@GOTPAGEOFF] Lloh8: ldr w0, [x8] mov w1, #6 bl _PACKET3 mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov w0, #0 bl _PACKET3_SET_RESOURCES_VMID_MASK mov x22, x0 mov w0, #0 bl _PACKET3_SET_RESOURCES_QUEUE_TYPE orr w1, w0, w22 mov x0, x19 bl _amdgpu_ring_write mov x0, x21 bl _lower_32_bits mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov x0, x21 bl _upper_32_bits mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov x0, x19 mov w1, #0 bl _amdgpu_ring_write mov x0, x19 mov w1, #0 bl _amdgpu_ring_write mov x0, x19 mov w1, #0 bl _amdgpu_ring_write mov x0, x19 mov w1, #0 bl _amdgpu_ring_write ldr w8, [x20, #8] cmp w8, #1 b.lt LBB0_13 ; %bb.11: mov x24, #0 mov x25, #0 Lloh9: adrp x26, _PACKET3_MAP_QUEUES@GOTPAGE Lloh10: ldr x26, [x26, _PACKET3_MAP_QUEUES@GOTPAGEOFF] LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #16] add x27, x8, x24 ldr w0, [x27, #20] bl _amdgpu_bo_gpu_offset mov x22, x0 ldr x8, [x20] ldrsw x9, [x27] add x21, x8, x9, lsl #2 ldr w0, [x26] mov w1, #5 bl _PACKET3 mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov w0, #0 bl _PACKET3_MAP_QUEUES_QUEUE_SEL mov x23, x0 mov w0, #0 bl _PACKET3_MAP_QUEUES_VMID orr w23, w0, w23 ldr w0, [x27, #16] bl _PACKET3_MAP_QUEUES_QUEUE orr w23, w23, w0 ldr w0, [x27, #12] bl _PACKET3_MAP_QUEUES_PIPE orr w23, w23, w0 ldr w8, [x27, #4] cmp w8, #1 cset w0, ne bl _PACKET3_MAP_QUEUES_ME orr w23, w23, w0 mov w0, #0 bl _PACKET3_MAP_QUEUES_QUEUE_TYPE orr w23, w23, w0 mov w0, #0 bl _PACKET3_MAP_QUEUES_ALLOC_FORMAT orr w23, w23, w0 mov w0, #0 bl _PACKET3_MAP_QUEUES_ENGINE_SEL orr w23, w23, w0 mov w0, #1 bl _PACKET3_MAP_QUEUES_NUM_QUEUES orr w1, w23, w0 mov x0, x19 bl _amdgpu_ring_write ldr w0, [x27, #8] bl _PACKET3_MAP_QUEUES_DOORBELL_OFFSET mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov x0, x22 bl _lower_32_bits mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov x0, x22 bl _upper_32_bits mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov x0, x21 bl _lower_32_bits mov x1, x0 mov x0, x19 bl _amdgpu_ring_write mov x0, x21 bl _upper_32_bits mov x1, x0 mov x0, x19 bl _amdgpu_ring_write add x25, x25, #1 ldrsw x8, [x20, #8] add x24, x24, #24 cmp x25, x8 b.lt LBB0_12 LBB0_13: mov x0, x19 bl _amdgpu_ring_test_helper mov x22, x0 cbz w0, LBB0_16 ; %bb.14: Lloh11: adrp x0, l_.str.2@PAGE Lloh12: add x0, x0, l_.str.2@PAGEOFF LBB0_15: bl _DRM_ERROR LBB0_16: mov x0, x22 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _AMDGPU_MAX_COMPUTE_QUEUES,4,2 ; @AMDGPU_MAX_COMPUTE_QUEUES .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Invalid KCQ enabled: %d\n" l_.str.1: ; @.str.1 .asciz "Failed to lock KIQ (%d).\n" .comm _PACKET3_SET_RESOURCES,4,2 ; @PACKET3_SET_RESOURCES .comm _PACKET3_MAP_QUEUES,4,2 ; @PACKET3_MAP_QUEUES l_.str.2: ; @.str.2 .asciz "KCQ enable failed\n" .no_dead_strip _gfx_v9_0_kiq_kcq_enable .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v9_0.c_gfx_v9_0_kiq_kcq_enable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hostapd_ext_capab_byte _hostapd_ext_capab_byte: ## @hostapd_ext_capab_byte .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $0, (%rsi) cmpl $8, %edx ja LBB0_30 ## %bb.1: movl %edx, %eax leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_2: movq 16(%rdi), %rax cmpl $0, (%rax) je LBB0_3 ## %bb.4: movl $1, (%rsi) movl $5, %eax jmp LBB0_5 LBB0_6: movq (%rdi), %rcx cmpl $0, 56(%rcx) je LBB0_7 ## %bb.8: movl $16, (%rsi) movl $48, %eax jmp LBB0_9 LBB0_10: movq (%rdi), %rcx cmpl $0, 48(%rcx) je LBB0_11 ## %bb.12: movl $2, (%rsi) movl $10, %eax jmp LBB0_13 LBB0_14: movq (%rdi), %rcx movl $128, %eax cmpl $2, (%rcx) jne LBB0_16 ## %bb.15: movl $8, (%rsi) movl $136, %eax LBB0_16: cmpl $0, 40(%rcx) jne LBB0_29 LBB0_30: popq %rbp retq LBB0_17: movq (%rdi), %rcx cmpl $0, 36(%rcx) je LBB0_18 ## %bb.19: movl $1, (%rsi) movl $1, %eax jmp LBB0_20 LBB0_24: movq (%rdi), %rcx movl $1, %eax cmpl $0, 24(%rcx) jne LBB0_29 jmp LBB0_30 LBB0_25: movq (%rdi), %rcx cmpl $0, 20(%rcx) je LBB0_26 ## %bb.27: movl $64, (%rsi) movl $192, %eax cmpl $0, 16(%rcx) jne LBB0_29 jmp LBB0_30 LBB0_3: movl $4, %eax LBB0_5: movq 8(%rdi), %rcx movq _WPA_DRIVER_FLAGS_AP_CSA@GOTPCREL(%rip), %rdx movl (%rdx), %edx testl %edx, (%rcx) jne LBB0_29 jmp LBB0_30 LBB0_7: movl $32, %eax LBB0_9: cmpl $0, 52(%rcx) jne LBB0_29 jmp LBB0_30 LBB0_11: movl $8, %eax LBB0_13: cmpl $0, 44(%rcx) jne LBB0_29 jmp LBB0_30 LBB0_18: xorl %eax, %eax LBB0_20: movl 4(%rcx), %edx movq _TDLS_PROHIBIT@GOTPCREL(%rip), %rdi testl %edx, (%rdi) je LBB0_22 ## %bb.21: orl $64, %eax movl %eax, (%rsi) movl 4(%rcx), %edx LBB0_22: movq _TDLS_PROHIBIT_CHAN_SWITCH@GOTPCREL(%rip), %rcx testl %edx, (%rcx) je LBB0_30 ## %bb.23: orl $128, %eax jmp LBB0_29 LBB0_26: movl $128, %eax cmpl $0, 16(%rcx) je LBB0_30 LBB0_29: movl %eax, (%rsi) popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_30, LBB0_30-LJTI0_0 .set L0_0_set_24, LBB0_24-LJTI0_0 .set L0_0_set_25, LBB0_25-LJTI0_0 LJTI0_0: .long L0_0_set_2 .long L0_0_set_6 .long L0_0_set_10 .long L0_0_set_14 .long L0_0_set_17 .long L0_0_set_30 .long L0_0_set_24 .long L0_0_set_30 .long L0_0_set_25 .end_data_region ## -- End function .comm _WPA_DRIVER_FLAGS_AP_CSA,4,2 ## @WPA_DRIVER_FLAGS_AP_CSA .comm _TDLS_PROHIBIT,4,2 ## @TDLS_PROHIBIT .comm _TDLS_PROHIBIT_CHAN_SWITCH,4,2 ## @TDLS_PROHIBIT_CHAN_SWITCH .comm _WPA_PROTO_RSN,4,2 ## @WPA_PROTO_RSN .no_dead_strip _hostapd_ext_capab_byte .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hostapd_ext_capab_byte _hostapd_ext_capab_byte: ; @hostapd_ext_capab_byte .cfi_startproc ; %bb.0: str wzr, [x1] cmp w2, #8 b.hi LBB0_23 ; %bb.1: mov w8, w2 Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: ldr x8, [x0, #16] ldr w8, [x8] cbz w8, LBB0_24 ; %bb.3: mov w8, #1 str w8, [x1] mov w8, #5 b LBB0_25 LBB0_4: ldr x9, [x0] ldr w8, [x9, #56] cbz w8, LBB0_26 ; %bb.5: mov w8, #16 str w8, [x1] mov w8, #48 b LBB0_27 LBB0_6: ldr x9, [x0] ldr w8, [x9, #48] cbz w8, LBB0_28 ; %bb.7: mov w8, #2 str w8, [x1] mov w8, #10 b LBB0_29 LBB0_8: ldr x9, [x0] ldr w8, [x9] cmp w8, #2 b.ne LBB0_20 ; %bb.9: mov w8, #8 str w8, [x1] mov w8, #136 b LBB0_21 LBB0_10: ldr x9, [x0] ldr w8, [x9, #36] cbz w8, LBB0_12 ; %bb.11: mov w8, #1 str w8, [x1] LBB0_12: ldr w10, [x9, #4] Lloh2: adrp x11, _TDLS_PROHIBIT@GOTPAGE Lloh3: ldr x11, [x11, _TDLS_PROHIBIT@GOTPAGEOFF] Lloh4: ldr w11, [x11] tst w11, w10 b.eq LBB0_14 ; %bb.13: orr w8, w8, #0x40 str w8, [x1] ldr w10, [x9, #4] LBB0_14: Lloh5: adrp x9, _TDLS_PROHIBIT_CHAN_SWITCH@GOTPAGE Lloh6: ldr x9, [x9, _TDLS_PROHIBIT_CHAN_SWITCH@GOTPAGEOFF] Lloh7: ldr w9, [x9] tst w9, w10 b.eq LBB0_23 ; %bb.15: orr w8, w8, #0x80 b LBB0_22 LBB0_16: ldr x8, [x0] ldr w8, [x8, #24] cbz w8, LBB0_23 ; %bb.17: mov w8, #1 b LBB0_22 LBB0_18: ldr x9, [x0] ldr w8, [x9, #20] cbz w8, LBB0_30 ; %bb.19: mov w8, #64 str w8, [x1] mov w8, #192 ldr w9, [x9, #16] cbnz w9, LBB0_22 b LBB0_23 LBB0_20: mov w8, #128 LBB0_21: ldr w9, [x9, #40] cbz w9, LBB0_23 LBB0_22: str w8, [x1] LBB0_23: ret LBB0_24: mov w8, #4 LBB0_25: ldr x9, [x0, #8] ldr w9, [x9] Lloh8: adrp x10, _WPA_DRIVER_FLAGS_AP_CSA@GOTPAGE Lloh9: ldr x10, [x10, _WPA_DRIVER_FLAGS_AP_CSA@GOTPAGEOFF] Lloh10: ldr w10, [x10] tst w10, w9 b.ne LBB0_22 b LBB0_23 LBB0_26: mov w8, #32 LBB0_27: ldr w9, [x9, #52] cbnz w9, LBB0_22 b LBB0_23 LBB0_28: mov w8, #8 LBB0_29: ldr w9, [x9, #44] cbnz w9, LBB0_22 b LBB0_23 LBB0_30: mov w8, #128 ldr w9, [x9, #16] cbnz w9, LBB0_22 b LBB0_23 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_8-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 .byte (LBB0_23-LBB0_2)>>2 .byte (LBB0_16-LBB0_2)>>2 .byte (LBB0_23-LBB0_2)>>2 .byte (LBB0_18-LBB0_2)>>2 ; -- End function .comm _WPA_DRIVER_FLAGS_AP_CSA,4,2 ; @WPA_DRIVER_FLAGS_AP_CSA .comm _TDLS_PROHIBIT,4,2 ; @TDLS_PROHIBIT .comm _TDLS_PROHIBIT_CHAN_SWITCH,4,2 ; @TDLS_PROHIBIT_CHAN_SWITCH .comm _WPA_PROTO_RSN,4,2 ; @WPA_PROTO_RSN .no_dead_strip _hostapd_ext_capab_byte .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/src/ap/extr_ieee802_11_shared.c_hostapd_ext_capab_byte.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rt2x00leds_led_quality _rt2x00leds_led_quality: ## @rt2x00leds_led_quality .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _rt2x00leds_led_quality .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rt2x00leds_led_quality _rt2x00leds_led_quality: ; @rt2x00leds_led_quality .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _rt2x00leds_led_quality .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt2x00lib.h_rt2x00leds_led_quality.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 -8(%rbp), %rsi leaq -4(%rbp), %rdx xorl %eax, %eax callq _scanf movl -8(%rbp), %r9d movl -4(%rbp), %r8d cmpl %r8d, %r9d movl %r8d, %edi cmovll %r9d, %edi negl %edi movl $1, %ecx ## implicit-def: $esi jmp LBB0_1 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 leal (%rdi,%rcx), %eax incl %eax ## kill: def $ecx killed $ecx killed $rcx incl %ecx ## kill: def $ecx killed $ecx def $rcx cmpl $1, %eax je LBB0_4 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %r9d, %eax cltd idivl %ecx testl %edx, %edx jne LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl %r8d, %eax cltd idivl %ecx testl %edx, %edx cmovel %ecx, %esi jmp LBB0_3 LBB0_4: 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 two numbers: " L_.str.1: ## @.str.1 .asciz "%d %d" L_.str.2: ## @.str.2 .asciz "HCF: %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #8 sub x9, x29, #4 stp x9, x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf mov w8, #0 ldp w10, w9, [x29, #-8] cmp w9, w10 csel w12, w9, w10, lt ; implicit-def: $w11 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 cmp w12, w8 b.eq LBB0_4 LBB0_2: ; =>This Inner Loop Header: Depth=1 add w8, w8, #1 sdiv w13, w9, w8 msub w13, w13, w8, w9 cbnz w13, LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sdiv w13, w10, w8 msub w13, w13, w8, w10 cmp w13, #0 csel w11, w8, w11, eq b LBB0_1 LBB0_4: str x11, [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, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter two numbers: " l_.str.1: ; @.str.1 .asciz "%d %d" l_.str.2: ; @.str.2 .asciz "HCF: %d" .subsections_via_symbols
the_stack_data/111039.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wan_enable_show _wan_enable_show: ## @wan_enable_show .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _TPACPI_RFK_WWAN_SW_ID@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _tpacpi_rfk_sysfs_enable_show ## TAILCALL .cfi_endproc ## -- End function .comm _TPACPI_RFK_WWAN_SW_ID,4,2 ## @TPACPI_RFK_WWAN_SW_ID .no_dead_strip _wan_enable_show .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wan_enable_show _wan_enable_show: ; @wan_enable_show .cfi_startproc ; %bb.0: Lloh0: adrp x8, _TPACPI_RFK_WWAN_SW_ID@GOTPAGE Lloh1: ldr x8, [x8, _TPACPI_RFK_WWAN_SW_ID@GOTPAGEOFF] Lloh2: ldr w0, [x8] b _tpacpi_rfk_sysfs_enable_show .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TPACPI_RFK_WWAN_SW_ID,4,2 ; @TPACPI_RFK_WWAN_SW_ID .no_dead_strip _wan_enable_show .subsections_via_symbols
AnghaBench/linux/drivers/platform/x86/extr_thinkpad_acpi.c_wan_enable_show.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function decompile_ps _decompile_ps: ## @decompile_ps .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 $88, %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) movl $0, -104(%rbp) movl $-1, %ebx cmpl $4, %ecx jl LBB0_4 ## %bb.1: movq %rsi, %r14 movq %rdi, %r15 movl $4, (%rsi) movl (%rdx), %eax movl 4(%rdx), %ecx shll $24, %eax shll $16, %ecx orl %eax, %ecx movl 8(%rdx), %edi shll $8, %edi orl %ecx, %edi orl 12(%rdx), %edi leaq -104(%rbp), %rsi callq _libps_decode testl %eax, %eax jle LBB0_2 ## %bb.3: movl (%r15), %edx leaq -96(%rbp), %rbx leaq -104(%rbp), %rcx movq %rbx, %rdi movl $64, %esi callq _libps_snprint movq %r14, %rdi movq %rbx, %rsi callq _r_asm_op_set_asm movl (%r14), %ebx jmp LBB0_4 LBB0_2: leaq L_.str(%rip), %rsi movq %r14, %rdi callq _r_asm_op_set_asm LBB0_4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_6 ## %bb.5: movl %ebx, %eax addq $88, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_6: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "invalid" .no_dead_strip _decompile_ps .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function decompile_ps _decompile_ps: ; @decompile_ps .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] str wzr, [sp] cmp w3, #4 b.lt LBB0_4 ; %bb.1: mov x19, x1 mov x20, x0 mov w8, #4 str w8, [x1] ldp w8, w9, [x2] lsl w9, w9, #16 orr w8, w9, w8, lsl #24 ldp w9, w10, [x2, #8] orr w8, w8, w9, lsl #8 orr w0, w8, w10 mov x1, sp bl _libps_decode cmp w0, #0 b.le LBB0_3 ; %bb.2: ldr w2, [x20] add x0, sp, #8 mov x3, sp mov w1, #64 bl _libps_snprint add x1, sp, #8 mov x0, x19 bl _r_asm_op_set_asm ldr w0, [x19] b LBB0_5 LBB0_3: Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _r_asm_op_set_asm LBB0_4: mov w0, #-1 LBB0_5: ldur x8, [x29, #-24] Lloh5: adrp x9, ___stack_chk_guard@GOTPAGE Lloh6: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x9, x8 b.ne LBB0_7 ; %bb.6: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_7: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "invalid" .no_dead_strip _decompile_ps .subsections_via_symbols
AnghaBench/radare2/libr/asm/p/extr_asm_ppc_cs.c_decompile_ps.c
anghabench