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 .p2align 4, 0x90 ## -- Begin function icside_dma_init _icside_dma_init: ## @icside_dma_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq 8(%rdi), %r15 movq 16(%rdi), %r14 movq _ATA_MAX_DEVICES@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_3 ## %bb.1: movq 8(%r14), %rdx movq (%rdx), %rcx movq 8(%rdx), %rdx xorl %esi, %esi .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl $480, (%rcx,%rsi,4) ## imm = 0x1E0 movl $480, (%rdx,%rsi,4) ## imm = 0x1E0 incq %rsi movslq (%rax), %rdi cmpq %rdi, %rsi jl LBB0_2 LBB0_3: movq (%r15), %rdi movq _NO_DMA@GOTPCREL(%rip), %rax cmpq (%rax), %rdi je LBB0_6 ## %bb.4: movq _DRV_NAME@GOTPCREL(%rip), %rax movl (%rax), %esi callq _request_dma testl %eax, %eax jne LBB0_6 ## %bb.5: movq (%r15), %rax movq %rax, (%r14) movq _ATA_MWDMA2@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) LBB0_6: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ATA_MAX_DEVICES,4,2 ## @ATA_MAX_DEVICES .comm _NO_DMA,8,3 ## @NO_DMA .comm _DRV_NAME,4,2 ## @DRV_NAME .comm _ATA_MWDMA2,4,2 ## @ATA_MWDMA2 .no_dead_strip _icside_dma_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function icside_dma_init _icside_dma_init: ; @icside_dma_init .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 ldp x21, x20, [x0, #8] Lloh0: adrp x8, _ATA_MAX_DEVICES@GOTPAGE Lloh1: ldr x8, [x8, _ATA_MAX_DEVICES@GOTPAGEOFF] ldr w9, [x8] cmp w9, #1 b.lt LBB0_3 ; %bb.1: mov x9, #0 ldr x11, [x20, #8] ldp x10, x11, [x11] mov w12, #480 LBB0_2: ; =>This Inner Loop Header: Depth=1 lsl x13, x9, #2 str w12, [x10, x13] str w12, [x11, x13] add x9, x9, #1 ldrsw x13, [x8] cmp x9, x13 b.lt LBB0_2 LBB0_3: ldr x0, [x21] Lloh2: adrp x8, _NO_DMA@GOTPAGE Lloh3: ldr x8, [x8, _NO_DMA@GOTPAGEOFF] Lloh4: ldr x8, [x8] cmp x0, x8 b.eq LBB0_6 ; %bb.4: Lloh5: adrp x8, _DRV_NAME@GOTPAGE Lloh6: ldr x8, [x8, _DRV_NAME@GOTPAGEOFF] Lloh7: ldr w1, [x8] bl _request_dma cbnz w0, LBB0_6 ; %bb.5: ldr x8, [x21] str x8, [x20] Lloh8: adrp x8, _ATA_MWDMA2@GOTPAGE Lloh9: ldr x8, [x8, _ATA_MWDMA2@GOTPAGEOFF] Lloh10: ldr w8, [x8] str w8, [x19] LBB0_6: mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _ATA_MAX_DEVICES,4,2 ; @ATA_MAX_DEVICES .comm _NO_DMA,8,3 ; @NO_DMA .comm _DRV_NAME,4,2 ; @DRV_NAME .comm _ATA_MWDMA2,4,2 ; @ATA_MWDMA2 .no_dead_strip _icside_dma_init .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/ata/extr_pata_icside.c_icside_dma_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dl_init_phdr_info _dl_init_phdr_info: ## @dl_init_phdr_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq ___elf_aux_vector@GOTPCREL(%rip), %rax movq (%rax), %rax movq _AT_NULL@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl (%rax), %edi cmpl %ecx, %edi jne LBB0_1 LBB0_4: movq _phdr_info@GOTPCREL(%rip), %r10 movl 8(%r10), %r9d testq %r9, %r9 je LBB0_21 ## %bb.5: movq 24(%r10), %r8 movq _PT_TLS@GOTPCREL(%rip), %rcx movq (%rcx), %rsi cmpl $1, %r9d jne LBB0_12 ## %bb.6: xorl %edi, %edi LBB0_18: testb $1, %r9b je LBB0_21 ## %bb.19: shlq $4, %rdi cmpq %rsi, (%r8,%rdi) jne LBB0_21 ## %bb.20: movl $1, 12(%r10) movq 8(%r8,%rdi), %rax movq %rax, 32(%r10) LBB0_21: movl $1, 16(%r10) popq %rbp retq LBB0_1: addq $24, %rax leaq LJTI0_0(%rip), %rdx movq _phdr_info@GOTPCREL(%rip), %rsi jmp LBB0_2 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movl -16(%rax), %edi movl %edi, 8(%rsi) .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 movl (%rax), %edi addq $24, %rax cmpl %ecx, %edi je LBB0_4 LBB0_2: ## =>This Inner Loop Header: Depth=1 addl $-128, %edi cmpl $3, %edi ja LBB0_11 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movslq (%rdx,%rdi,4), %rdi addq %rdx, %rdi jmpq *%rdi LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movq -8(%rax), %rdi movq %rdi, 24(%rsi) jmp LBB0_11 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movq -8(%rax), %rdi movq %rdi, (%rsi) jmp LBB0_11 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movl -8(%rax), %edi movl %edi, 40(%rsi) jmp LBB0_11 LBB0_12: movl %r9d, %edx andl $-2, %edx leaq 24(%r8), %rcx xorl %edi, %edi jmp LBB0_13 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_13 Depth=1 addq $2, %rdi addq $32, %rcx cmpq %rdi, %rdx je LBB0_18 LBB0_13: ## =>This Inner Loop Header: Depth=1 cmpq %rsi, -24(%rcx) jne LBB0_15 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movl $1, 12(%r10) movq -16(%rcx), %rax movq %rax, 32(%r10) LBB0_15: ## in Loop: Header=BB0_13 Depth=1 cmpq %rsi, -8(%rcx) jne LBB0_17 ## %bb.16: ## in Loop: Header=BB0_13 Depth=1 movl $1, 12(%r10) movq (%rcx), %rax movq %rax, 32(%r10) jmp LBB0_17 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 LJTI0_0: .long L0_0_set_10 .long L0_0_set_9 .long L0_0_set_8 .long L0_0_set_7 .end_data_region ## -- End function .comm ___elf_aux_vector,8,3 ## @__elf_aux_vector .comm _AT_NULL,4,2 ## @AT_NULL .comm _phdr_info,48,3 ## @phdr_info .comm _PT_TLS,8,3 ## @PT_TLS .no_dead_strip _dl_init_phdr_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dl_init_phdr_info _dl_init_phdr_info: ; @dl_init_phdr_info .cfi_startproc ; %bb.0: Lloh0: adrp x8, ___elf_aux_vector@GOTPAGE Lloh1: ldr x8, [x8, ___elf_aux_vector@GOTPAGEOFF] Lloh2: adrp x9, _AT_NULL@GOTPAGE Lloh3: ldr x9, [x9, _AT_NULL@GOTPAGEOFF] Lloh4: ldr x10, [x8] Lloh5: ldr w9, [x9] ldr w12, [x10] Lloh6: adrp x8, _phdr_info@GOTPAGE Lloh7: ldr x8, [x8, _phdr_info@GOTPAGEOFF] cmp w12, w9 b.ne LBB0_7 LBB0_1: ldr w9, [x8, #8] cbz w9, LBB0_6 ; %bb.2: ldr x11, [x8, #24] Lloh8: adrp x10, _PT_TLS@GOTPAGE Lloh9: ldr x10, [x10, _PT_TLS@GOTPAGEOFF] Lloh10: ldr x10, [x10] add x11, x11, #8 mov w12, #1 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x11, x11, #16 subs x9, x9, #1 b.eq LBB0_6 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldur x13, [x11, #-8] cmp x13, x10 b.ne LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 str w12, [x8, #12] ldr x13, [x11] str x13, [x8, #32] b LBB0_3 LBB0_6: mov w9, #1 str w9, [x8, #16] ret LBB0_7: add x10, x10, #16 Lloh11: adrp x11, lJTI0_0@PAGE Lloh12: add x11, x11, lJTI0_0@PAGEOFF b LBB0_10 LBB0_8: ; in Loop: Header=BB0_10 Depth=1 ldur w12, [x10, #-8] str w12, [x8, #8] LBB0_9: ; in Loop: Header=BB0_10 Depth=1 ldr w12, [x10, #8] add x10, x10, #24 cmp w12, w9 b.eq LBB0_1 LBB0_10: ; =>This Inner Loop Header: Depth=1 sub w12, w12, #128 cmp w12, #3 b.hi LBB0_9 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 adr x13, LBB0_8 ldrb w14, [x11, x12] add x13, x13, x14, lsl #2 br x13 LBB0_12: ; in Loop: Header=BB0_10 Depth=1 ldr x12, [x10] str x12, [x8, #24] b LBB0_9 LBB0_13: ; in Loop: Header=BB0_10 Depth=1 ldr x12, [x10] str x12, [x8] b LBB0_9 LBB0_14: ; in Loop: Header=BB0_10 Depth=1 ldr x12, [x10] str w12, [x8, #40] b LBB0_9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_8-LBB0_8)>>2 .byte (LBB0_12-LBB0_8)>>2 .byte (LBB0_13-LBB0_8)>>2 .byte (LBB0_14-LBB0_8)>>2 ; -- End function .comm ___elf_aux_vector,8,3 ; @__elf_aux_vector .comm _AT_NULL,4,2 ; @AT_NULL .comm _phdr_info,48,3 ; @phdr_info .comm _PT_TLS,8,3 ; @PT_TLS .no_dead_strip _dl_init_phdr_info .subsections_via_symbols
AnghaBench/freebsd/lib/libc/gen/extr_dlfcn.c_dl_init_phdr_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pxa_irda_enable_firclk _pxa_irda_enable_firclk: ## @pxa_irda_enable_firclk .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %eax movl %eax, 4(%rdi) movl %eax, %edi popq %rbp jmp _clk_enable ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _pxa_irda_enable_firclk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pxa_irda_enable_firclk _pxa_irda_enable_firclk: ; @pxa_irda_enable_firclk .cfi_startproc ; %bb.0: ldr w8, [x0] str w8, [x0, #4] mov x0, x8 b _clk_enable .cfi_endproc ; -- End function .no_dead_strip _pxa_irda_enable_firclk .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/irda/extr_pxaficp_ir.c_pxa_irda_enable_firclk.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function fs_event_cb_file_current_dir _fs_event_cb_file_current_dir: ## @fs_event_cb_file_current_dir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movq %rsi, %r15 movq %rdi, %rbx movq _fs_event_cb_called@GOTPCREL(%rip), %r12 xorl %edi, %edi cmpq $0, (%r12) sete %dil callq _ASSERT decq (%r12) xorl %edi, %edi testl %r14d, %r14d sete %dil callq _ASSERT movl $1, %edi testq %r15, %r15 jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi xorl %edi, %edi callq _strcmp xorl %edi, %edi testq %rax, %rax sete %dil LBB0_2: callq _ASSERT movq %rbx, %rdi xorl %esi, %esi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _uv_close ## TAILCALL .cfi_endproc ## -- End function .comm _fs_event_cb_called,8,3 ## @fs_event_cb_called .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "watch_file" .no_dead_strip _fs_event_cb_file_current_dir .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function fs_event_cb_file_current_dir _fs_event_cb_file_current_dir: ; @fs_event_cb_file_current_dir .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 x20, x3 mov x21, x1 mov x19, x0 Lloh0: adrp x22, _fs_event_cb_called@GOTPAGE Lloh1: ldr x22, [x22, _fs_event_cb_called@GOTPAGEOFF] ldr x8, [x22] cmp x8, #0 cset w0, eq bl _ASSERT ldr x8, [x22] sub x8, x8, #1 str x8, [x22] cmp w20, #0 cset w0, eq bl _ASSERT cbz x21, LBB0_2 ; %bb.1: mov w0, #1 ; =0x1 b LBB0_3 LBB0_2: Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF mov x0, #0 ; =0x0 bl _strcmp cmp x0, #0 cset w0, eq LBB0_3: bl _ASSERT mov x0, x19 mov x1, #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 b _uv_close .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _fs_event_cb_called,8,3 ; @fs_event_cb_called .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "watch_file" .no_dead_strip _fs_event_cb_file_current_dir .subsections_via_symbols
assembly_file_171933.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function Buf14To16 _Buf14To16: ## @Buf14To16 .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 %rdi, -88(%rbp) ## 8-byte Spill testl %edx, %edx js LBB0_1 ## %bb.2: movslq %ecx, %rax movl %edx, %edi leaq (%rsi,%rax,4), %rcx movq %rcx, -64(%rbp) ## 8-byte Spill movl %r8d, %ecx negl %ecx movl %ecx, -44(%rbp) ## 4-byte Spill shlq $2, %rax subq %rax, %rsi xorl %ebx, %ebx xorl %r9d, %r9d xorl %r14d, %r14d xorl %r15d, %r15d movl %r8d, -48(%rbp) ## 4-byte Spill movq %rsi, -80(%rbp) ## 8-byte Spill movq %rdi, -72(%rbp) ## 8-byte Spill jmp LBB0_3 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 addl %r13d, %r14d movzbl %r15b, %eax movl %r13d, %ecx shll %cl, %eax orb %al, %r12b decq %rbx movl %r12d, %r15d cmpq %rdi, %rbx jg LBB0_11 LBB0_3: ## =>This Inner Loop Header: Depth=1 testb $1, %bl jne LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload movzbl (%rax,%rbx,4), %r12d andb $63, %r12b movl $6, %r13d cmpl $7, %r14d jg LBB0_8 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movl $8, %edi subl %r14d, %edi movl %r13d, %esi movl %r9d, -52(%rbp) ## 4-byte Spill callq ___MIN movl -52(%rbp), %r9d ## 4-byte Reload movl -48(%rbp), %r8d ## 4-byte Reload movzbl %r15b, %esi movl %eax, %ecx shll %cl, %esi movzbl %r12b, %edi movl %eax, %edx subl %r13d, %edx subl %eax, %r13d movl %edi, %r15d movl %r13d, %ecx shrl %cl, %r15d addb $8, %dl movl %edx, %ecx shll %cl, %edi orl %esi, %r15d movq -80(%rbp), %rsi ## 8-byte Reload movzbl %dil, %r12d movq -72(%rbp), %rdi ## 8-byte Reload shrl %cl, %r12d addl %eax, %r14d LBB0_8: ## in Loop: Header=BB0_3 Depth=1 cmpl $8, %r14d jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 testb $1, %r9b movzbl %r15b, %eax movl -44(%rbp), %ecx ## 4-byte Reload cmovel %r8d, %ecx addl %r9d, %ecx movslq %ecx, %rcx movq -88(%rbp), %rdx ## 8-byte Reload movl %eax, (%rdx,%rcx,4) incl %r9d xorl %r15d, %r15d xorl %r14d, %r14d jmp LBB0_10 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 movzbl (%rsi,%rbx,4), %r12d movl $8, %r13d cmpl $7, %r14d jle LBB0_7 jmp LBB0_8 LBB0_1: xorl %r9d, %r9d LBB0_11: movl %r9d, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _Buf14To16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function Buf14To16 _Buf14To16: ; @Buf14To16 .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 ; kill: def $w3 killed $w3 def $x3 str x0, [sp, #8] ; 8-byte Folded Spill tbnz w2, #31, LBB0_9 ; %bb.1: mov x19, x4 mov x23, #0 ; =0x0 mov w21, #0 ; =0x0 mov w24, #0 ; =0x0 mov w20, #0 ; =0x0 sbfiz x8, x3, #2, #32 add x9, x1, x8 str x9, [sp] ; 8-byte Folded Spill neg w26, w4 sub x27, x1, x8 mov w28, w2 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add w24, w24, w22 lsl w8, w20, w22 and w8, w8, #0xff orr w20, w25, w8 sub x23, x23, #1 cmp x23, x28 b.gt LBB0_10 LBB0_3: ; =>This Inner Loop Header: Depth=1 tbnz w23, #0, LBB0_8 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8, x23, lsl #2] and w25, w8, #0x3f mov w22, #6 ; =0x6 cmp w24, #7 b.gt LBB0_6 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 mov w8, #8 ; =0x8 sub w0, w8, w24 mov x1, x22 bl ___MIN lsl w8, w20, w0 sub w9, w0, w22 sub w22, w22, w0 lsr w10, w25, w22 orr w8, w10, w8 and w20, w8, #0xff add w8, w9, #8 lsl w9, w25, w8 and w9, w9, #0xff lsr w25, w9, w8 add w24, w0, w24 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 cmp w24, #8 b.ne LBB0_2 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 mov w24, #0 ; =0x0 tst w21, #0x1 csel w8, w19, w26, eq add w8, w21, w8 ldr x9, [sp, #8] ; 8-byte Folded Reload str w20, [x9, w8, sxtw #2] add w21, w21, #1 mov w20, #0 ; =0x0 b LBB0_2 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 lsl x8, x23, #2 ldrb w25, [x27, x8] mov w22, #8 ; =0x8 cmp w24, #7 b.le LBB0_5 b LBB0_6 LBB0_9: mov w21, #0 ; =0x0 LBB0_10: mov x0, x21 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .no_dead_strip _Buf14To16 .subsections_via_symbols
assembly_file_87549.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tipc_nametbl_withdraw ## -- Begin function tipc_nametbl_withdraw .p2align 4, 0x90 _tipc_nametbl_withdraw: ## @tipc_nametbl_withdraw .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movl %edx, %r14d movl %esi, %r12d movl %edi, %r13d leaq L_.str(%rip), %rdi movl %r13d, %esi movl %r12d, %edx callq _dbg movq _tipc_nametbl_lock@GOTPCREL(%rip), %rdi callq _write_lock_bh movq _tipc_own_addr@GOTPCREL(%rip), %rax movl (%rax), %edx movl %r13d, %edi movl %r12d, %esi movl %r14d, %ecx movl %r15d, %r8d callq _tipc_nametbl_remove_publ movq %rax, %rbx movq %rax, %rdi callq _likely testq %rax, %rax je LBB0_4 ## %bb.1: movq _table@GOTPCREL(%rip), %rax decl (%rax) movq (%rbx), %rax movq _TIPC_NODE_SCOPE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_3 ## %bb.2: movq %rbx, %rdi callq _tipc_named_withdraw LBB0_3: movq _tipc_nametbl_lock@GOTPCREL(%rip), %rdi callq _write_unlock_bh movq %rbx, %rdi addq $8, %rdi callq _list_del_init movq %rbx, %rdi callq _kfree movl $1, %eax jmp LBB0_5 LBB0_4: movq _tipc_nametbl_lock@GOTPCREL(%rip), %rdi callq _write_unlock_bh leaq L_.str.1(%rip), %rdi movl %r13d, %esi movl %r12d, %edx movl %r14d, %ecx movl %r15d, %r8d callq _err xorl %eax, %eax LBB0_5: 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 "tipc_nametbl_withdraw: {%u,%u}, key=%u\n" .comm _tipc_nametbl_lock,4,2 ## @tipc_nametbl_lock .comm _tipc_own_addr,4,2 ## @tipc_own_addr .comm _table,4,2 ## @table .comm _TIPC_NODE_SCOPE,8,3 ## @TIPC_NODE_SCOPE L_.str.1: ## @.str.1 .asciz "Unable to remove local publication\n(type=%u, lower=%u, ref=%u, key=%u)\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tipc_nametbl_withdraw ; -- Begin function tipc_nametbl_withdraw .p2align 2 _tipc_nametbl_withdraw: ; @tipc_nametbl_withdraw .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 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x22 mov x2, x21 bl _dbg Lloh2: adrp x0, _tipc_nametbl_lock@GOTPAGE Lloh3: ldr x0, [x0, _tipc_nametbl_lock@GOTPAGEOFF] bl _write_lock_bh Lloh4: adrp x8, _tipc_own_addr@GOTPAGE Lloh5: ldr x8, [x8, _tipc_own_addr@GOTPAGEOFF] Lloh6: ldr w2, [x8] mov x0, x22 mov x1, x21 mov x3, x20 mov x4, x19 bl _tipc_nametbl_remove_publ mov x23, x0 bl _likely cbz x0, LBB0_4 ; %bb.1: Lloh7: adrp x8, _table@GOTPAGE Lloh8: ldr x8, [x8, _table@GOTPAGEOFF] ldr w9, [x8] sub w9, w9, #1 str w9, [x8] ldr x8, [x23] Lloh9: adrp x9, _TIPC_NODE_SCOPE@GOTPAGE Lloh10: ldr x9, [x9, _TIPC_NODE_SCOPE@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x8, x9 b.eq LBB0_3 ; %bb.2: mov x0, x23 bl _tipc_named_withdraw LBB0_3: Lloh12: adrp x0, _tipc_nametbl_lock@GOTPAGE Lloh13: ldr x0, [x0, _tipc_nametbl_lock@GOTPAGEOFF] bl _write_unlock_bh add x0, x23, #8 bl _list_del_init mov x0, x23 bl _kfree mov w0, #1 b LBB0_5 LBB0_4: Lloh14: adrp x0, _tipc_nametbl_lock@GOTPAGE Lloh15: ldr x0, [x0, _tipc_nametbl_lock@GOTPAGEOFF] bl _write_unlock_bh Lloh16: adrp x0, l_.str.1@PAGE Lloh17: add x0, x0, l_.str.1@PAGEOFF mov x1, x22 mov x2, x21 mov x3, x20 mov x4, x19 bl _err mov w0, #0 LBB0_5: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "tipc_nametbl_withdraw: {%u,%u}, key=%u\n" .comm _tipc_nametbl_lock,4,2 ; @tipc_nametbl_lock .comm _tipc_own_addr,4,2 ; @tipc_own_addr .comm _table,4,2 ; @table .comm _TIPC_NODE_SCOPE,8,3 ; @TIPC_NODE_SCOPE l_.str.1: ; @.str.1 .asciz "Unable to remove local publication\n(type=%u, lower=%u, ref=%u, key=%u)\n" .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/tipc/extr_name_table.c_tipc_nametbl_withdraw.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _amdgpu_fence_driver_resume ## -- Begin function amdgpu_fence_driver_resume .p2align 4, 0x90 _amdgpu_fence_driver_resume: ## @amdgpu_fence_driver_resume .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 _AMDGPU_MAX_RINGS@GOTPCREL(%rip), %r14 movl (%r14), %eax testl %eax, %eax jle LBB0_6 ## %bb.1: movq %rdi, %r15 xorl %ebx, %ebx jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 incq %rbx movslq %eax, %rcx cmpq %rcx, %rbx jge LBB0_6 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rcx movq (%rcx,%rbx,8), %rcx testq %rcx, %rcx je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpl $0, 8(%rcx) je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl (%rcx), %edx movl 4(%rcx), %esi movq %r15, %rdi callq _amdgpu_irq_get movl (%r14), %eax jmp LBB0_5 LBB0_6: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AMDGPU_MAX_RINGS,4,2 ## @AMDGPU_MAX_RINGS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _amdgpu_fence_driver_resume ; -- Begin function amdgpu_fence_driver_resume .p2align 2 _amdgpu_fence_driver_resume: ; @amdgpu_fence_driver_resume .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x20, _AMDGPU_MAX_RINGS@GOTPAGE Lloh1: ldr x20, [x20, _AMDGPU_MAX_RINGS@GOTPAGEOFF] ldr w8, [x20] cmp w8, #1 b.lt LBB0_6 ; %bb.1: mov x19, x0 mov x21, #0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, #1 cmp x21, w8, sxtw b.ge LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x9, [x19] ldr x9, [x9, x21, lsl #3] cbz x9, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w10, [x9, #8] cbz w10, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldp w2, w1, [x9] mov x0, x19 bl _amdgpu_irq_get ldr w8, [x20] b LBB0_2 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _AMDGPU_MAX_RINGS,4,2 ; @AMDGPU_MAX_RINGS .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_fence.c_amdgpu_fence_driver_resume.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function finish_current_sequence _finish_current_sequence: ## @finish_current_sequence .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movl (%rdi), %eax cmpl $130, %eax je LBB0_11 ## %bb.1: cmpl $129, %eax je LBB0_4 ## %bb.2: cmpl $128, %eax jne LBB0_13 ## %bb.3: movl 76(%r14), %esi leaq L_.str(%rip), %rdi jmp LBB0_12 LBB0_11: movl 72(%r14), %esi leaq L_.str.1(%rip), %rdi LBB0_12: callq _DRM_DEBUG LBB0_13: movq _no_sequence@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r14) xorl %eax, %eax LBB0_14: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_4: cmpl $0, 68(%r14) je LBB0_13 ## %bb.5: movq 8(%r14), %rcx movq 16(%r14), %rax movl (%rcx,%rax,4), %esi movq 24(%r14), %rcx movl (%rcx,%rax,4), %ecx cmpl $9, %ecx movl $9, %edx cmovael %edx, %ecx cmpl $9, %esi cmovbl %esi, %edx cmpl %ecx, %edx jbe LBB0_7 ## %bb.6: movq $-1, %rsi xorl %edx, %edx jmp LBB0_9 LBB0_7: movq 56(%r14), %rsi movl (%rsi,%rax,4), %r8d movq 48(%r14), %rsi movq (%rsi,%rax,8), %r9 movl %edx, %ebx movq 32(%r14), %rdx movq 40(%r14), %rsi movq (%rsi,%rax,8), %r10 movq (%rdx,%rax,8), %r11 movl %ecx, %r15d incq %r15 movq $-1, %rsi xorl %edx, %edx .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq (%r11,%rbx,8), %r12 cmpq %rsi, %r12 cmovbq %r12, %rsi movq (%r9,%rbx,8), %rax movq (%r10,%rbx,8), %rcx movq %rcx, %rdi imulq %rax, %rdi ## kill: def $cl killed $cl killed $rcx shlq %cl, %rax testl %r8d, %r8d cmoveq %rax, %rdi testl %ebx, %ebx cmovneq %rax, %rdi addq %r12, %rdi cmpq %rdx, %rdi cmovaq %rdi, %rdx incq %rbx cmpl %ebx, %r15d jne LBB0_8 LBB0_9: subq %rsi, %rdx movl 64(%r14), %ecx movq %r14, %rdi callq _via_drm_lookup_agp_map testl %eax, %eax jne LBB0_13 ## %bb.10: leaq L_.str.2(%rip), %rdi callq _DRM_ERROR movl $2, %eax jmp LBB0_14 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Z Buffer start address is 0x%x\n" L_.str.1: ## @.str.1 .asciz "Destination start address is 0x%x\n" L_.str.2: ## @.str.2 .asciz "AGP texture is not in allowed map\n" .comm _no_sequence,4,2 ## @no_sequence .no_dead_strip _finish_current_sequence .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 finish_current_sequence lCPI0_0: .long 0 ; 0x0 .long 1 ; 0x1 .section __TEXT,__text,regular,pure_instructions .p2align 2 _finish_current_sequence: ; @finish_current_sequence .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 w8, [x0] cmp w8, #130 b.eq LBB0_4 ; %bb.1: cmp w8, #129 b.eq LBB0_8 ; %bb.2: cmp w8, #128 b.ne LBB0_6 ; %bb.3: ldr w1, [x19, #76] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF b LBB0_5 LBB0_4: ldr w1, [x19, #72] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF LBB0_5: bl _DRM_DEBUG LBB0_6: mov w0, #0 Lloh4: adrp x8, _no_sequence@GOTPAGE Lloh5: ldr x8, [x8, _no_sequence@GOTPAGEOFF] Lloh6: ldr w8, [x8] str w8, [x19] LBB0_7: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_8: ldr w8, [x19, #68] cbz w8, LBB0_6 ; %bb.9: ldp x8, x9, [x19, #8] lsl x10, x9, #2 ldr w8, [x8, x10] ldr x11, [x19, #24] ldr w10, [x11, x10] mov w11, #9 cmp w10, #9 csel w13, w10, w11, lo cmp w8, #9 csel w17, w8, w11, lo subs w12, w13, w17 b.hs LBB0_11 ; %bb.10: mov x16, #0 mov x1, #-1 b LBB0_18 LBB0_11: ldp x10, x8, [x19, #48] ldr w8, [x8, x9, lsl #2] lsl x11, x9, #3 ldr x0, [x10, x11] lsl x16, x17, #3 ldp x14, x9, [x19, #32] ldr x1, [x9, x11] add x9, x0, x16 add x10, x1, x16 ldr x2, [x14, x11] add x11, x2, x16 cmp w12, #3 b.hs LBB0_13 ; %bb.12: mov x16, #0 mov x1, #-1 mov x12, x17 b LBB0_16 LBB0_13: add x14, x12, #1 cmp w8, #0 cset w3, ne and x15, x14, #0x1fffffffc add w12, w17, w15 lsl x4, x15, #3 add x9, x9, x4 dup.2s v0, w17 add x10, x10, x4 Lloh7: adrp x17, lCPI0_0@PAGE Lloh8: ldr d1, [x17, lCPI0_0@PAGEOFF] add.2s v1, v0, v1 dup.2s v2, w3 add x11, x11, x4 add x3, x16, #16 add x16, x2, x3 add x17, x0, x3 add x0, x1, x3 movi.2d v3, #0xffffffffffffffff movi.2d v0, #0000000000000000 mvni.2s v5, #1 movi.2s v6, #4 mov x1, x15 movi.2d v4, #0000000000000000 movi.2d v7, #0xffffffffffffffff LBB0_14: ; =>This Inner Loop Header: Depth=1 ldp q16, q17, [x16, #-16] cmhi.2d v18, v3, v16 bit.16b v3, v16, v18 cmhi.2d v18, v7, v17 bit.16b v7, v17, v18 cmeq.2s v18, v1, #0 cmeq.2s v19, v1, v5 and.8b v18, v18, v2 ushll.2d v18, v18, #0 shl.2d v18, v18, #63 cmlt.2d v18, v18, #0 and.8b v19, v19, v2 ushll.2d v19, v19, #0 shl.2d v19, v19, #63 cmlt.2d v19, v19, #0 ldp q20, q21, [x17, #-16] ldur q22, [x0, #-16] mov.d x2, v20[1] mov.d x3, v22[1] mul x2, x3, x2 ushl.2d v23, v20, v22 fmov x3, d20 fmov x4, d22 mul x3, x4, x3 fmov d20, x3 mov.d v20[1], x2 mov.d x2, v21[1] ldr q22, [x0], #32 mov.d x3, v22[1] mul x2, x3, x2 ushl.2d v24, v21, v22 fmov x3, d21 fmov x4, d22 mul x3, x4, x3 fmov d21, x3 mov.d v21[1], x2 bsl.16b v18, v20, v23 bsl.16b v19, v21, v24 add.2d v16, v18, v16 add.2d v17, v19, v17 cmhi.2d v18, v16, v0 bit.16b v0, v16, v18 cmhi.2d v16, v17, v4 bit.16b v4, v17, v16 add.2s v1, v1, v6 add x16, x16, #32 add x17, x17, #32 subs x1, x1, #4 b.ne LBB0_14 ; %bb.15: cmhi.2d v1, v7, v3 bsl.16b v1, v3, v7 ext.16b v2, v1, v1, #8 cmhi d3, d2, d1 bif.8b v1, v2, v3 fmov x1, d1 cmhi.2d v1, v0, v4 bif.16b v0, v4, v1 ext.16b v1, v0, v0, #8 cmhi d2, d0, d1 bif.8b v0, v1, v2 fmov x16, d0 cmp x14, x15 b.eq LBB0_18 LBB0_16: add w13, w13, #1 LBB0_17: ; =>This Inner Loop Header: Depth=1 ldr x14, [x11], #8 cmp x14, x1 csel x1, x14, x1, lo cmp w8, #0 ccmp w12, #0, #0, ne ldr x15, [x9], #8 ldr x17, [x10], #8 mul x0, x17, x15 lsl x15, x15, x17 csel x15, x0, x15, eq add x14, x15, x14 cmp x14, x16 csel x16, x14, x16, hi add w12, w12, #1 cmp w13, w12 b.ne LBB0_17 LBB0_18: sub x2, x16, x1 ldr w3, [x19, #64] mov x0, x19 bl _via_drm_lookup_agp_map cbnz w0, LBB0_6 ; %bb.19: Lloh9: adrp x0, l_.str.2@PAGE Lloh10: add x0, x0, l_.str.2@PAGEOFF bl _DRM_ERROR mov w0, #2 b LBB0_7 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdr Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Z Buffer start address is 0x%x\n" l_.str.1: ; @.str.1 .asciz "Destination start address is 0x%x\n" l_.str.2: ; @.str.2 .asciz "AGP texture is not in allowed map\n" .comm _no_sequence,4,2 ; @no_sequence .no_dead_strip _finish_current_sequence .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/via/extr_via_verifier.c_finish_current_sequence.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function device_has_all_tx_types _device_has_all_tx_types: ## @device_has_all_tx_types .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _DMA_INTERRUPT,4,2 ## @DMA_INTERRUPT .comm _DMA_MEMCPY,4,2 ## @DMA_MEMCPY .comm _DMA_MEMSET,4,2 ## @DMA_MEMSET .comm _DMA_PQ,4,2 ## @DMA_PQ .comm _DMA_PQ_VAL,4,2 ## @DMA_PQ_VAL .comm _DMA_XOR,4,2 ## @DMA_XOR .comm _DMA_XOR_VAL,4,2 ## @DMA_XOR_VAL .no_dead_strip _device_has_all_tx_types .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function device_has_all_tx_types _device_has_all_tx_types: ; @device_has_all_tx_types .cfi_startproc ; %bb.0: mov w0, #1 ret .cfi_endproc ; -- End function .comm _DMA_INTERRUPT,4,2 ; @DMA_INTERRUPT .comm _DMA_MEMCPY,4,2 ; @DMA_MEMCPY .comm _DMA_MEMSET,4,2 ; @DMA_MEMSET .comm _DMA_PQ,4,2 ; @DMA_PQ .comm _DMA_PQ_VAL,4,2 ; @DMA_PQ_VAL .comm _DMA_XOR,4,2 ; @DMA_XOR .comm _DMA_XOR_VAL,4,2 ; @DMA_XOR_VAL .no_dead_strip _device_has_all_tx_types .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/dma/extr_dmaengine.c_device_has_all_tx_types.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function msr_save_cpuid_features _msr_save_cpuid_features: ## @msr_save_cpuid_features .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _MSR_AMD64_CPUID_FN_1@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -12(%rbp) movl (%rdi), %esi leaq L_.str(%rip), %rdi callq _pr_info leaq -12(%rbp), %rbx movq %rbx, %rdi callq _ARRAY_SIZE movq %rbx, %rdi movl %eax, %esi callq _msr_build_context addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _MSR_AMD64_CPUID_FN_1,4,2 ## @MSR_AMD64_CPUID_FN_1 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "x86/pm: family %#hx cpu detected, MSR saving is needed during suspending.\n" .no_dead_strip _msr_save_cpuid_features .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function msr_save_cpuid_features _msr_save_cpuid_features: ; @msr_save_cpuid_features .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _MSR_AMD64_CPUID_FN_1@GOTPAGE Lloh1: ldr x8, [x8, _MSR_AMD64_CPUID_FN_1@GOTPAGEOFF] Lloh2: ldr w8, [x8] stur w8, [x29, #-4] ldr w1, [x0] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _pr_info sub x0, x29, #4 bl _ARRAY_SIZE mov x1, x0 sub x0, x29, #4 bl _msr_build_context ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MSR_AMD64_CPUID_FN_1,4,2 ; @MSR_AMD64_CPUID_FN_1 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "x86/pm: family %#hx cpu detected, MSR saving is needed during suspending.\n" .no_dead_strip _msr_save_cpuid_features .subsections_via_symbols
AnghaBench/linux/arch/x86/power/extr_cpu.c_msr_save_cpuid_features.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _PageIndexMultiDelete ## -- Begin function PageIndexMultiDelete .p2align 4, 0x90 _PageIndexMultiDelete: ## @PageIndexMultiDelete .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 $104, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movq %rsi, %r13 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl %edi, -56(%rbp) ## 4-byte Spill movslq %edi, %rax movq (%rax), %rcx movq %rcx, -96(%rbp) ## 8-byte Spill movq 8(%rax), %rcx movq %rcx, -120(%rbp) ## 8-byte Spill movq %rax, -136(%rbp) ## 8-byte Spill movq 16(%rax), %r12 movq _MaxIndexTuplesPerPage@GOTPCREL(%rip), %rax movl (%rax), %r14d movq %r14, %rbx shlq $2, %rbx leaq (%rbx,%rbx,2), %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -88(%rbp) ## 8-byte Spill movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -104(%rbp) ## 8-byte Spill xorl %edi, %edi cmpl %r15d, %r14d setge %dil callq _Assert cmpl $2, %r15d jg LBB0_4 ## %bb.1: testl %r15d, %r15d jle LBB0_24 ## %bb.2: movl %r15d, %ebx incq %rbx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -8(%r13,%rbx,4), %esi movl -56(%rbp), %edi ## 4-byte Reload callq _PageIndexTupleDelete decq %rbx cmpq $1, %rbx ja LBB0_3 jmp LBB0_24 LBB0_4: movl %r15d, -64(%rbp) ## 4-byte Spill movq %r13, -144(%rbp) ## 8-byte Spill movq _SizeOfPageHeaderData@GOTPCREL(%rip), %rax movq -96(%rbp), %r14 ## 8-byte Reload cmpq (%rax), %r14 setle %al movq -120(%rbp), %r15 ## 8-byte Reload cmpq %r15, %r14 setg %cl testb %cl, %al jne LBB0_8 ## %bb.5: cmpq %r12, %r15 jg LBB0_8 ## %bb.6: movq _BLCKSZ@GOTPCREL(%rip), %rax cmpq (%rax), %r12 jg LBB0_8 ## %bb.7: movl %r12d, %edi callq _MAXALIGN movl %eax, %eax cmpq %rax, %r12 je LBB0_9 LBB0_8: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %ebx movq _ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax movl (%rax), %edi callq _errcode leaq L_.str(%rip), %rdi movl %r14d, %esi movq %r15, %rdx movq %r12, %rcx xorl %eax, %eax callq _errmsg movl %ebx, %edi movl %eax, %esi callq _ereport LBB0_9: movq %r12, -112(%rbp) ## 8-byte Spill movl -56(%rbp), %edi ## 4-byte Reload callq _PageGetMaxOffsetNumber movq _FirstOffsetNumber@GOTPCREL(%rip), %rcx movl (%rcx), %r14d movq $0, -72(%rbp) ## 8-byte Folded Spill movl $0, -60(%rbp) ## 4-byte Folded Spill movl $0, -52(%rbp) ## 4-byte Folded Spill movl %eax, -76(%rbp) ## 4-byte Spill cmpl %eax, %r14d jle LBB0_10 LBB0_19: movl -52(%rbp), %eax ## 4-byte Reload cmpl -64(%rbp), %eax ## 4-byte Folded Reload je LBB0_21 ## %bb.20: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.2(%rip), %rsi callq _elog LBB0_21: movq -112(%rbp), %r14 ## 8-byte Reload subq -96(%rbp), %r14 ## 8-byte Folded Reload movl -60(%rbp), %r15d ## 4-byte Reload cmpl %r14d, %r15d jbe LBB0_23 ## %bb.22: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %ebx movq _ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax movl (%rax), %edi callq _errcode leaq L_.str.3(%rip), %rdi movl %r15d, %esi movq %r14, %rdx xorl %eax, %eax callq _errmsg movl %ebx, %edi movl %eax, %esi callq _ereport LBB0_23: movq -136(%rbp), %r15 ## 8-byte Reload movl 24(%r15), %edi movslq -72(%rbp), %rbx ## 4-byte Folded Reload leaq (,%rbx,4), %r14 movq -104(%rbp), %rsi ## 8-byte Reload movl %r14d, %edx callq _memcpy movq _SizeOfPageHeaderData@GOTPCREL(%rip), %rax addq (%rax), %r14 movq %r14, (%r15) movq -88(%rbp), %rdi ## 8-byte Reload movl %ebx, %esi movl -56(%rbp), %edx ## 4-byte Reload callq _compactify_tuples LBB0_24: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_26 ## %bb.25: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_10: movl $0, -52(%rbp) ## 4-byte Folded Spill movq -88(%rbp), %rax ## 8-byte Reload movq %rax, -128(%rbp) ## 8-byte Spill movl $0, -60(%rbp) ## 4-byte Folded Spill movq $0, -72(%rbp) ## 8-byte Folded Spill jmp LBB0_11 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_11 Depth=1 movq -72(%rbp), %r12 ## 8-byte Reload movl %r14d, -80(%rbp) ## 4-byte Spill movq -128(%rbp), %r14 ## 8-byte Reload movl %r12d, (%r14) movl %ebx, 4(%r14) movl %r15d, %edi callq _MAXALIGN movl %eax, 8(%r14) addl %eax, -60(%rbp) ## 4-byte Folded Spill movl (%r13), %eax movslq %r12d, %r12 movq -104(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx,%r12,4) addq $12, %r14 movq %r14, -128(%rbp) ## 8-byte Spill movl -80(%rbp), %r14d ## 4-byte Reload incl %r12d movq %r12, -72(%rbp) ## 8-byte Spill LBB0_18: ## in Loop: Header=BB0_11 Depth=1 movl %r14d, %edi callq _OffsetNumberNext movl %eax, %r14d cmpl -76(%rbp), %eax ## 4-byte Folded Reload jg LBB0_19 LBB0_11: ## =>This Inner Loop Header: Depth=1 movl -56(%rbp), %edi ## 4-byte Reload movl %r14d, %esi callq _PageGetItemId movq %rax, %r13 movq %rax, %rdi callq _ItemIdHasStorage movl %eax, %edi callq _Assert movq %r13, %rdi callq _ItemIdGetLength movl %eax, %r15d movq %r13, %rdi callq _ItemIdGetOffset movl %eax, %ebx movl %eax, %eax cmpq %rax, -120(%rbp) ## 8-byte Folded Reload setg %al movl %ebx, %ecx subl %r15d, %ecx cmpq %rcx, -112(%rbp) ## 8-byte Folded Reload setl %cl orb %al, %cl jne LBB0_13 ## %bb.12: ## in Loop: Header=BB0_11 Depth=1 movl %ebx, %edi callq _MAXALIGN cmpl %eax, %ebx je LBB0_14 LBB0_13: ## in Loop: Header=BB0_11 Depth=1 movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %r12d movq _ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax movl (%rax), %edi callq _errcode movl %r15d, %edx leaq L_.str.1(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _errmsg movl %r12d, %edi movl %eax, %esi callq _ereport LBB0_14: ## in Loop: Header=BB0_11 Depth=1 movl -52(%rbp), %edx ## 4-byte Reload cmpl -64(%rbp), %edx ## 4-byte Folded Reload jge LBB0_17 ## %bb.15: ## in Loop: Header=BB0_11 Depth=1 movslq %edx, %rax movq -144(%rbp), %rcx ## 8-byte Reload cmpl (%rcx,%rax,4), %r14d jne LBB0_17 ## %bb.16: ## in Loop: Header=BB0_11 Depth=1 incl %edx movl %edx, -52(%rbp) ## 4-byte Spill jmp LBB0_18 LBB0_26: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MaxIndexTuplesPerPage,4,2 ## @MaxIndexTuplesPerPage .comm _SizeOfPageHeaderData,8,3 ## @SizeOfPageHeaderData .comm _BLCKSZ,8,3 ## @BLCKSZ .comm _ERROR,4,2 ## @ERROR .comm _ERRCODE_DATA_CORRUPTED,4,2 ## @ERRCODE_DATA_CORRUPTED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "corrupted page pointers: lower = %u, upper = %u, special = %u" .comm _FirstOffsetNumber,4,2 ## @FirstOffsetNumber L_.str.1: ## @.str.1 .asciz "corrupted line pointer: offset = %u, size = %u" L_.str.2: ## @.str.2 .asciz "incorrect index offsets supplied" L_.str.3: ## @.str.3 .asciz "corrupted item lengths: total %u, available space %u" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _PageIndexMultiDelete ; -- Begin function PageIndexMultiDelete .p2align 2 _PageIndexMultiDelete: ; @PageIndexMultiDelete .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, #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 x26, x2 stur x1, [x29, #-128] ; 8-byte Folded Spill mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] sxtw x21, w19 ldp x23, x20, [x21] ldr x28, [x21, #16] Lloh3: adrp x8, _MaxIndexTuplesPerPage@GOTPAGE Lloh4: ldr x8, [x8, _MaxIndexTuplesPerPage@GOTPAGEOFF] Lloh5: ldr w12, [x8] add x8, x12, x12, lsl #1 lsl x8, x8, #2 mov x9, x8 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x1ffffffff0 sub x22, x9, x8 mov sp, x22 lsl x8, x12, #2 mov x9, x8 Lloh8: adrp x16, ___chkstk_darwin@GOTPAGE Lloh9: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x8, x9, x8 stur x8, [x29, #-112] ; 8-byte Folded Spill mov sp, x8 cmp w12, w2 cset w0, ge bl _Assert cmp w26, #2 b.gt LBB0_4 ; %bb.1: cmp w26, #1 b.lt LBB0_14 ; %bb.2: mov w8, w26 add x20, x8, #1 ldur x8, [x29, #-128] ; 8-byte Folded Reload add x8, x8, w26, uxtw #2 sub x21, x8, #4 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w1, [x21], #-4 mov x0, x19 bl _PageIndexTupleDelete sub x20, x20, #1 cmp x20, #1 b.hi LBB0_3 b LBB0_14 LBB0_4: Lloh10: adrp x8, _SizeOfPageHeaderData@GOTPAGE Lloh11: ldr x8, [x8, _SizeOfPageHeaderData@GOTPAGEOFF] Lloh12: ldr x8, [x8] cmp x23, x20 ccmp x23, x8, #0, gt Lloh13: adrp x8, _BLCKSZ@GOTPAGE Lloh14: ldr x8, [x8, _BLCKSZ@GOTPAGEOFF] Lloh15: ldr x8, [x8] stur x20, [x29, #-120] ; 8-byte Folded Spill ccmp x20, x28, #0, gt ccmp x28, x8, #0, le b.gt LBB0_6 ; %bb.5: mov x0, x28 bl _MAXALIGN cmp x28, w0, uxtw b.eq LBB0_7 LBB0_6: Lloh16: adrp x8, _ERROR@GOTPAGE Lloh17: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh18: ldr w20, [x8] Lloh19: adrp x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE Lloh20: ldr x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF] Lloh21: ldr w0, [x8] bl _errcode str x28, [sp, #-16]! Lloh22: adrp x0, l_.str@PAGE Lloh23: add x0, x0, l_.str@PAGEOFF mov x1, x23 ldur x2, [x29, #-120] ; 8-byte Folded Reload bl _errmsg add sp, sp, #16 mov x1, x0 mov x0, x20 bl _ereport LBB0_7: stp x23, x21, [x29, #-152] ; 16-byte Folded Spill stur x22, [x29, #-136] ; 8-byte Folded Spill mov x0, x19 bl _PageGetMaxOffsetNumber Lloh24: adrp x8, _FirstOffsetNumber@GOTPAGE Lloh25: ldr x8, [x8, _FirstOffsetNumber@GOTPAGEOFF] Lloh26: ldr w23, [x8] stur w0, [x29, #-100] ; 4-byte Folded Spill cmp w23, w0 b.le LBB0_16 ; %bb.8: mov w27, #0 ; =0x0 stur xzr, [x29, #-96] ; 8-byte Folded Spill LBB0_9: ldur w8, [x29, #-96] ; 4-byte Folded Reload cmp w8, w26 b.eq LBB0_11 ; %bb.10: Lloh27: adrp x8, _ERROR@GOTPAGE Lloh28: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh29: ldr w0, [x8] Lloh30: adrp x1, l_.str.2@PAGE Lloh31: add x1, x1, l_.str.2@PAGEOFF bl _elog LBB0_11: ldp x8, x22, [x29, #-152] ; 16-byte Folded Reload sub x20, x28, x8 ldur w23, [x29, #-92] ; 4-byte Folded Reload cmp w23, w20 b.ls LBB0_13 ; %bb.12: Lloh32: adrp x8, _ERROR@GOTPAGE Lloh33: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh34: ldr w21, [x8] Lloh35: adrp x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE Lloh36: ldr x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF] Lloh37: ldr w0, [x8] bl _errcode Lloh38: adrp x0, l_.str.3@PAGE Lloh39: add x0, x0, l_.str.3@PAGEOFF mov x1, x23 mov x2, x20 bl _errmsg mov x1, x0 mov x0, x21 bl _ereport LBB0_13: ldr w0, [x22, #24] sbfiz x20, x27, #2, #32 ldur x1, [x29, #-112] ; 8-byte Folded Reload mov x2, x20 bl _memcpy Lloh40: adrp x8, _SizeOfPageHeaderData@GOTPAGE Lloh41: ldr x8, [x8, _SizeOfPageHeaderData@GOTPAGEOFF] Lloh42: ldr x8, [x8] add x8, x8, x20 str x8, [x22] ldur x0, [x29, #-136] ; 8-byte Folded Reload mov x1, x27 mov x2, x19 bl _compactify_tuples LBB0_14: ldur x8, [x29, #-88] Lloh43: adrp x9, ___stack_chk_guard@GOTPAGE Lloh44: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh45: ldr x9, [x9] cmp x9, x8 b.ne LBB0_26 ; %bb.15: 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_16: stur xzr, [x29, #-96] ; 8-byte Folded Spill mov w27, #0 ; =0x0 ldur x20, [x29, #-136] ; 8-byte Folded Reload ldur x22, [x29, #-120] ; 8-byte Folded Reload b LBB0_19 LBB0_17: ; in Loop: Header=BB0_19 Depth=1 stp w27, w24, [x20] mov x0, x21 bl _MAXALIGN str w0, [x20, #8] ldur w8, [x29, #-92] ; 4-byte Folded Reload add w8, w0, w8 stur w8, [x29, #-92] ; 4-byte Folded Spill ldr w8, [x25] ldur x9, [x29, #-112] ; 8-byte Folded Reload str w8, [x9, w27, sxtw #2] add x20, x20, #12 add w27, w27, #1 LBB0_18: ; in Loop: Header=BB0_19 Depth=1 mov x0, x23 bl _OffsetNumberNext mov x23, x0 ldur w8, [x29, #-100] ; 4-byte Folded Reload cmp w0, w8 b.gt LBB0_9 LBB0_19: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x23 bl _PageGetItemId mov x25, x0 bl _ItemIdHasStorage bl _Assert mov x0, x25 bl _ItemIdGetLength mov x21, x0 mov x0, x25 bl _ItemIdGetOffset mov x24, x0 cmp x22, w0, uxtw b.gt LBB0_22 ; %bb.20: ; in Loop: Header=BB0_19 Depth=1 sub w8, w24, w21 cmp x28, x8 b.lt LBB0_22 ; %bb.21: ; in Loop: Header=BB0_19 Depth=1 mov x0, x24 bl _MAXALIGN cmp w24, w0 b.eq LBB0_23 LBB0_22: ; in Loop: Header=BB0_19 Depth=1 mov x22, x28 mov x28, x19 mov x19, x26 Lloh46: adrp x8, _ERROR@GOTPAGE Lloh47: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh48: ldr w26, [x8] Lloh49: adrp x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE Lloh50: ldr x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF] Lloh51: ldr w0, [x8] bl _errcode mov w2, w21 Lloh52: adrp x0, l_.str.1@PAGE Lloh53: add x0, x0, l_.str.1@PAGEOFF mov x1, x24 bl _errmsg mov x1, x0 mov x0, x26 mov x26, x19 mov x19, x28 mov x28, x22 ldur x22, [x29, #-120] ; 8-byte Folded Reload bl _ereport LBB0_23: ; in Loop: Header=BB0_19 Depth=1 ldur w9, [x29, #-96] ; 4-byte Folded Reload cmp w9, w26 b.ge LBB0_17 ; %bb.24: ; in Loop: Header=BB0_19 Depth=1 ldur x8, [x29, #-128] ; 8-byte Folded Reload ldr w8, [x8, w9, sxtw #2] cmp w23, w8 b.ne LBB0_17 ; %bb.25: ; in Loop: Header=BB0_19 Depth=1 add w9, w9, #1 stur w9, [x29, #-96] ; 4-byte Folded Spill b LBB0_18 LBB0_26: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _MaxIndexTuplesPerPage,4,2 ; @MaxIndexTuplesPerPage .comm _SizeOfPageHeaderData,8,3 ; @SizeOfPageHeaderData .comm _BLCKSZ,8,3 ; @BLCKSZ .comm _ERROR,4,2 ; @ERROR .comm _ERRCODE_DATA_CORRUPTED,4,2 ; @ERRCODE_DATA_CORRUPTED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "corrupted page pointers: lower = %u, upper = %u, special = %u" .comm _FirstOffsetNumber,4,2 ; @FirstOffsetNumber l_.str.1: ; @.str.1 .asciz "corrupted line pointer: offset = %u, size = %u" l_.str.2: ; @.str.2 .asciz "incorrect index offsets supplied" l_.str.3: ; @.str.3 .asciz "corrupted item lengths: total %u, available space %u" .subsections_via_symbols
assembly_file_120797.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _puv3_pm_enter ## -- Begin function puv3_pm_enter .p2align 4, 0x90 _puv3_pm_enter: ## @puv3_pm_enter .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 _PM_SUSPEND_STANDBY@GOTPCREL(%rip), %r12 movq _puv3_cpu_pm_fns@GOTPCREL(%rip), %r14 movq (%r14), %rax cmpq %rdi, (%r12) je LBB0_1 ## %bb.2: movq _sleep_save@GOTPCREL(%rip), %r15 movq (%r15), %rdi callq *24(%rax) movq (%r14), %rax movslq (%rax), %rcx testq %rcx, %rcx jle LBB0_1 ## %bb.3: movq (%r15), %rdx cmpl $4, %ecx jae LBB0_6 ## %bb.4: xorl %esi, %esi xorl %r15d, %r15d jmp LBB0_9 LBB0_1: xorl %r15d, %r15d jmp LBB0_10 LBB0_6: movl %ecx, %esi andl $2147483644, %esi ## imm = 0x7FFFFFFC movl %ecx, %edi shrl $2, %edi andl $536870911, %edi ## imm = 0x1FFFFFFF shlq $5, %rdi pxor %xmm0, %xmm0 xorl %r8d, %r8d pxor %xmm1, %xmm1 .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movdqu (%rdx,%r8), %xmm2 paddq %xmm2, %xmm0 movdqu 16(%rdx,%r8), %xmm2 paddq %xmm2, %xmm1 addq $32, %r8 cmpq %r8, %rdi jne LBB0_7 ## %bb.8: paddq %xmm0, %xmm1 pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3] paddq %xmm1, %xmm0 movq %xmm0, %r15 cmpq %rcx, %rsi je LBB0_10 .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 addq (%rdx,%rsi,8), %r15 incq %rsi cmpq %rsi, %rcx jne LBB0_9 LBB0_10: movq %rbx, %rdi callq *16(%rax) xorl %eax, %eax callq _cpu_init cmpq %rbx, (%r12) je LBB0_21 ## %bb.11: movq (%r14), %rax movl (%rax), %esi cmpl $2, %esi jl LBB0_14 ## %bb.12: leal -1(%rsi), %ecx movq _sleep_save@GOTPCREL(%rip), %rdx movq (%rdx), %rdx cmpl $5, %esi jae LBB0_15 ## %bb.13: xorl %esi, %esi xorl %edi, %edi jmp LBB0_18 LBB0_14: xorl %edi, %edi jmp LBB0_19 LBB0_15: movl %ecx, %esi andl $2147483644, %esi ## imm = 0x7FFFFFFC movl %ecx, %edi shrl $2, %edi andl $536870911, %edi ## imm = 0x1FFFFFFF shlq $5, %rdi pxor %xmm0, %xmm0 xorl %r8d, %r8d pxor %xmm1, %xmm1 .p2align 4, 0x90 LBB0_16: ## =>This Inner Loop Header: Depth=1 movdqu (%rdx,%r8), %xmm2 paddq %xmm2, %xmm0 movdqu 16(%rdx,%r8), %xmm2 paddq %xmm2, %xmm1 addq $32, %r8 cmpq %r8, %rdi jne LBB0_16 ## %bb.17: paddq %xmm0, %xmm1 pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3] paddq %xmm1, %xmm0 movq %xmm0, %rdi cmpl %ecx, %esi je LBB0_19 .p2align 4, 0x90 LBB0_18: ## =>This Inner Loop Header: Depth=1 addq (%rdx,%rsi,8), %rdi incq %rsi cmpq %rsi, %rcx jne LBB0_18 LBB0_19: cmpq %r15, %rdi jne LBB0_22 ## %bb.20: movq _sleep_save@GOTPCREL(%rip), %rcx movq (%rcx), %rdi callq *8(%rax) LBB0_21: leaq L_.str(%rip), %rdi callq _pr_debug xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .p2align 4, 0x90 LBB0_22: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq *16(%rax) movq (%r14), %rax jmp LBB0_22 .cfi_endproc ## -- End function .comm _PM_SUSPEND_STANDBY,8,3 ## @PM_SUSPEND_STANDBY .comm _puv3_cpu_pm_fns,8,3 ## @puv3_cpu_pm_fns .comm _sleep_save,8,3 ## @sleep_save .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "*** made it back from resume\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _puv3_pm_enter ; -- Begin function puv3_pm_enter .p2align 2 _puv3_pm_enter: ; @puv3_pm_enter .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 x22, _PM_SUSPEND_STANDBY@GOTPAGE Lloh1: ldr x22, [x22, _PM_SUSPEND_STANDBY@GOTPAGEOFF] ldr x9, [x22] Lloh2: adrp x20, _puv3_cpu_pm_fns@GOTPAGE Lloh3: ldr x20, [x20, _puv3_cpu_pm_fns@GOTPAGEOFF] ldr x8, [x20] cmp x9, x0 b.eq LBB0_4 ; %bb.1: ldr x8, [x8, #24] Lloh4: adrp x21, _sleep_save@GOTPAGE Lloh5: ldr x21, [x21, _sleep_save@GOTPAGEOFF] ldr x0, [x21] blr x8 ldr x8, [x20] ldr w9, [x8] cmp w9, #1 b.lt LBB0_4 ; %bb.2: ldr x10, [x21] cmp w9, #8 b.hs LBB0_5 ; %bb.3: mov x11, #0 ; =0x0 mov x21, #0 ; =0x0 b LBB0_8 LBB0_4: mov x21, #0 ; =0x0 b LBB0_10 LBB0_5: and x11, x9, #0x7ffffff8 add x12, x10, #32 movi.2d v0, #0000000000000000 mov x13, x11 movi.2d v1, #0000000000000000 movi.2d v2, #0000000000000000 movi.2d v3, #0000000000000000 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldp q4, q5, [x12, #-32] ldp q6, q7, [x12], #64 add.2d v0, v4, v0 add.2d v1, v5, v1 add.2d v2, v6, v2 add.2d v3, v7, v3 subs x13, x13, #8 b.ne LBB0_6 ; %bb.7: add.2d v0, v1, v0 add.2d v0, v2, v0 add.2d v0, v3, v0 addp.2d d0, v0 fmov x21, d0 cmp x11, x9 b.eq LBB0_10 LBB0_8: add x10, x10, x11, lsl #3 sub x9, x9, x11 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr x11, [x10], #8 add x21, x11, x21 subs x9, x9, #1 b.ne LBB0_9 LBB0_10: ldr x8, [x8, #16] mov x0, x19 blr x8 bl _cpu_init ldr x8, [x22] cmp x8, x19 b.eq LBB0_22 ; %bb.11: ldr x8, [x20] ldr w11, [x8] cmp w11, #2 b.lt LBB0_14 ; %bb.12: sub w9, w11, #1 Lloh6: adrp x10, _sleep_save@GOTPAGE Lloh7: ldr x10, [x10, _sleep_save@GOTPAGEOFF] Lloh8: ldr x10, [x10] cmp w11, #9 b.hs LBB0_15 ; %bb.13: mov x11, #0 ; =0x0 mov x12, #0 ; =0x0 b LBB0_18 LBB0_14: mov x12, #0 ; =0x0 b LBB0_20 LBB0_15: and x11, x9, #0x7ffffff8 add x12, x10, #32 movi.2d v0, #0000000000000000 mov x13, x11 movi.2d v1, #0000000000000000 movi.2d v2, #0000000000000000 movi.2d v3, #0000000000000000 LBB0_16: ; =>This Inner Loop Header: Depth=1 ldp q4, q5, [x12, #-32] ldp q6, q7, [x12], #64 add.2d v0, v4, v0 add.2d v1, v5, v1 add.2d v2, v6, v2 add.2d v3, v7, v3 subs x13, x13, #8 b.ne LBB0_16 ; %bb.17: add.2d v0, v1, v0 add.2d v0, v2, v0 add.2d v0, v3, v0 addp.2d d0, v0 fmov x12, d0 cmp x11, x9 b.eq LBB0_20 LBB0_18: add x10, x10, x11, lsl #3 sub x9, x9, x11 LBB0_19: ; =>This Inner Loop Header: Depth=1 ldr x11, [x10], #8 add x12, x11, x12 subs x9, x9, #1 b.ne LBB0_19 LBB0_20: cmp x12, x21 b.ne LBB0_23 ; %bb.21: ldr x8, [x8, #8] Lloh9: adrp x9, _sleep_save@GOTPAGE Lloh10: ldr x9, [x9, _sleep_save@GOTPAGEOFF] Lloh11: ldr x0, [x9] blr x8 LBB0_22: Lloh12: adrp x0, l_.str@PAGE Lloh13: add x0, x0, l_.str@PAGEOFF bl _pr_debug 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 LBB0_23: ; =>This Inner Loop Header: Depth=1 ldr x8, [x8, #16] mov x0, x19 blr x8 ldr x8, [x20] b LBB0_23 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _PM_SUSPEND_STANDBY,8,3 ; @PM_SUSPEND_STANDBY .comm _puv3_cpu_pm_fns,8,3 ; @puv3_cpu_pm_fns .comm _sleep_save,8,3 ; @sleep_save .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "*** made it back from resume\n" .subsections_via_symbols
assembly_file_12358.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _device_pm_sleep_init ## -- Begin function device_pm_sleep_init .p2align 4, 0x90 _device_pm_sleep_init: ## @device_pm_sleep_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx leaq 32(%rdi), %r14 xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq %r14, %rdi callq _init_completion movq %r14, %rdi callq _complete_all movq $0, 24(%rbx) addq $16, %rbx movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _INIT_LIST_HEAD ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _device_pm_sleep_init ; -- Begin function device_pm_sleep_init .p2align 2 _device_pm_sleep_init: ; @device_pm_sleep_init .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 add x20, x0, #32 stp xzr, xzr, [x0] mov x0, x20 bl _init_completion mov x0, x20 bl _complete_all str xzr, [x19, #24] add x0, x19, #16 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _INIT_LIST_HEAD .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/base/power/extr_main.c_device_pm_sleep_init.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 movl $10, %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: mov w0, #10 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/865182.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __makepath ## -- Begin function _makepath .p2align 4, 0x90 __makepath: ## @_makepath .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 testq %rdi, %rdi je LBB0_20 ## %bb.1: movq %r8, %rbx movq %rdi, %r14 testq %rsi, %rsi je LBB0_4 ## %bb.2: movzbl (%rsi), %eax testb %al, %al je LBB0_4 ## %bb.3: movb %al, (%r14) movb $58, -1(%r14) LBB0_4: testq %rdx, %rdx je LBB0_11 ## %bb.5: cmpb $0, (%rdx) je LBB0_11 ## %bb.6: movq %rcx, %r13 movq %rdx, %rdi movq %rdx, %r15 callq _strlen movq %rax, %r12 movq %r14, %rdi movq %r15, %rsi movq %rax, %rdx callq _memmove leaq (%r14,%r12), %rax movzbl -1(%r14,%r12), %ecx cmpl $47, %ecx je LBB0_7 ## %bb.8: cmpl $92, %ecx movq %r13, %rcx je LBB0_10 ## %bb.9: movb $92, (%rax) incq %rax LBB0_10: movq %rax, %r14 LBB0_11: testq %rcx, %rcx je LBB0_14 LBB0_12: cmpb $0, (%rcx) je LBB0_14 ## %bb.13: movq %rcx, %rdi movq %rcx, %r15 callq _strlen movq %rax, %r12 movq %r14, %rdi movq %r15, %rsi movq %rax, %rdx callq _memmove addq %r12, %r14 LBB0_14: testq %rbx, %rbx je LBB0_19 ## %bb.15: movzbl (%rbx), %eax testl %eax, %eax je LBB0_19 ## %bb.16: cmpl $46, %eax je LBB0_18 ## %bb.17: movb $46, (%r14) incq %r14 LBB0_18: movq %r14, %rdi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _strcpy ## TAILCALL LBB0_19: movb $0, (%r14) LBB0_20: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq %rax, %r14 movq %r13, %rcx testq %rcx, %rcx jne LBB0_12 jmp LBB0_14 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __makepath ; -- Begin function _makepath .p2align 2 __makepath: ; @_makepath .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 cbz x0, LBB0_18 ; %bb.1: mov x19, x4 mov x20, x0 cbz x1, LBB0_4 ; %bb.2: ldrb w8, [x1] cbz w8, LBB0_4 ; %bb.3: strb w8, [x20] mov w8, #58 ; =0x3a sturb w8, [x20, #-1] LBB0_4: cbz x2, LBB0_9 ; %bb.5: ldrb w8, [x2] cbz w8, LBB0_9 ; %bb.6: mov x23, x3 mov x0, x2 mov x21, x2 bl _strlen mov x22, x0 mov x0, x20 mov x1, x21 mov x2, x22 bl _memmove add x20, x20, x22 ldurb w8, [x20, #-1] cmp w8, #47 b.eq LBB0_19 ; %bb.7: cmp w8, #92 mov x3, x23 b.eq LBB0_9 ; %bb.8: mov w8, #92 ; =0x5c strb w8, [x20], #1 LBB0_9: cbz x3, LBB0_12 LBB0_10: ldrb w8, [x3] cbz w8, LBB0_12 ; %bb.11: mov x0, x3 mov x21, x3 bl _strlen mov x22, x0 mov x0, x20 mov x1, x21 mov x2, x22 bl _memmove add x20, x20, x22 LBB0_12: cbz x19, LBB0_17 ; %bb.13: ldrb w8, [x19] cbz w8, LBB0_17 ; %bb.14: cmp w8, #46 b.eq LBB0_16 ; %bb.15: mov w8, #46 ; =0x2e strb w8, [x20], #1 LBB0_16: mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _strcpy LBB0_17: strb wzr, [x20] LBB0_18: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_19: mov x3, x23 cbnz x3, LBB0_10 b LBB0_12 .cfi_endproc ; -- End function .subsections_via_symbols
assembly_file_30052.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vdev_lookup_by_guid ## -- Begin function vdev_lookup_by_guid .p2align 4, 0x90 _vdev_lookup_by_guid: ## @vdev_lookup_by_guid .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 cmpq %rsi, (%rdi) je LBB0_7 ## %bb.1: movl 8(%r14), %r15d testl %r15d, %r15d jle LBB0_2 ## %bb.4: movq %rsi, %r13 movq 16(%r14), %r12 xorl %r14d, %r14d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq (%r12,%rbx,8), %rdi movq %r13, %rsi callq _vdev_lookup_by_guid testq %rax, %rax jne LBB0_6 ## %bb.3: ## in Loop: Header=BB0_5 Depth=1 incq %rbx cmpq %rbx, %r15 jne LBB0_5 jmp LBB0_7 LBB0_2: xorl %r14d, %r14d jmp LBB0_7 LBB0_6: movq %rax, %r14 LBB0_7: movq %r14, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vdev_lookup_by_guid ; -- Begin function vdev_lookup_by_guid .p2align 2 _vdev_lookup_by_guid: ; @vdev_lookup_by_guid .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr x8, [x0] cmp x8, x1 b.eq LBB0_6 ; %bb.1: ldr w20, [x0, #8] cmp w20, #1 b.lt LBB0_5 ; %bb.2: mov x19, x1 ldr x21, [x0, #16] LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x0, [x21] mov x1, x19 bl _vdev_lookup_by_guid cbnz x0, LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, #8 subs x20, x20, #1 b.ne LBB0_3 LBB0_5: mov x0, #0 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 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/zfs/module/zfs/extr_vdev.c_vdev_lookup_by_guid.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 L_.str.1(%rip), %rsi xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movl -4(%rbp), %edx testl %edx, %edx jle LBB0_2 ## %bb.1: leaq L_.str.3(%rip), %rdi leaq L_.str.4(%rip), %rsi leaq L_.str.5(%rip), %rcx xorl %eax, %eax callq _printf LBB0_2: xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" L_.str.1: ## @.str.1 .asciz "Please enter a number: " L_.str.2: ## @.str.2 .asciz "%d" L_.str.3: ## @.str.3 .asciz "\n%s %d %s 0" L_.str.4: ## @.str.4 .asciz "The number" L_.str.5: ## @.str.5 .asciz "is greater than" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, l_.str.1@PAGE Lloh1: add x8, x8, l_.str.1@PAGEOFF str x8, [sp] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #4 str x8, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _scanf ldur w8, [x29, #-4] cmp w8, #1 b.lt LBB0_2 ; %bb.1: Lloh6: adrp x9, l_.str.5@PAGE Lloh7: add x9, x9, l_.str.5@PAGEOFF Lloh8: adrp x10, l_.str.4@PAGE Lloh9: add x10, x10, l_.str.4@PAGEOFF stp x8, x9, [sp, #8] str x10, [sp] Lloh10: adrp x0, l_.str.3@PAGE Lloh11: add x0, x0, l_.str.3@PAGEOFF bl _printf LBB0_2: mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" l_.str.1: ; @.str.1 .asciz "Please enter a number: " l_.str.2: ; @.str.2 .asciz "%d" l_.str.3: ; @.str.3 .asciz "\n%s %d %s 0" l_.str.4: ; @.str.4 .asciz "The number" l_.str.5: ; @.str.5 .asciz "is greater than" .subsections_via_symbols
the_stack_data/28262430.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _current_timestamp ## -- Begin function current_timestamp .p2align 4, 0x90 _current_timestamp: ## @current_timestamp .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 -16(%rbp), %rdi xorl %esi, %esi callq _gettimeofday imulq $1000, -16(%rbp), %rcx ## imm = 0x3E8 movslq -8(%rbp), %rax imulq $274877907, %rax, %rax ## imm = 0x10624DD3 movq %rax, %rdx shrq $63, %rdx sarq $38, %rax addl %edx, %eax cltq addq %rcx, %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _cb_memmem ## -- Begin function cb_memmem .p2align 4, 0x90 _cb_memmem: ## @cb_memmem .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movl %esi, %ebx movq %rdi, %r15 testl %esi, %esi js LBB1_3 ## %bb.1: movl %ebx, %esi movslq %ecx, %rcx movq %r15, %rdi movq %r14, %rdx LBB1_2: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _memmem ## TAILCALL LBB1_3: movq _addr@GOTPCREL(%rip), %r13 movq _buf_size@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq (%r13), %rsi subq %r15, %rsi movslq %ecx, %r12 movq %r15, %rdi movq %r14, %rdx movq %r12, %rcx callq _memmem testq %rax, %rax je LBB1_4 ## %bb.5: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB1_4: movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rdi addq (%r13), %rdi movslq %ebx, %rax addq %rax, %r15 subq %rdi, %r15 movq %r15, %rsi movq %r14, %rdx movq %r12, %rcx jmp LBB1_2 .cfi_endproc ## -- End function .globl _cb_move ## -- Begin function cb_move .p2align 4, 0x90 _cb_move: ## @cb_move .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 movslq %esi, %rcx addq %rcx, %rax testl %ecx, %ecx jle LBB2_3 ## %bb.1: movq _addr@GOTPCREL(%rip), %rdx movq _buf_size@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx movq (%rdx), %rdx addq %rcx, %rdx cmpq %rdx, %rax jbe LBB2_7 ## %bb.2: movq _buf_offset@GOTPCREL(%rip), %rdx LBB2_6: movslq (%rdx), %rdx subq %rcx, %rdx addq %rdx, %rax jmp LBB2_7 LBB2_3: jns LBB2_7 ## %bb.4: movq _addr@GOTPCREL(%rip), %rdx movq _buf_offset@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx movq (%rdx), %rdx addq %rcx, %rdx cmpq %rdx, %rax jae LBB2_7 ## %bb.5: movq _buf_size@GOTPCREL(%rip), %rdx jmp LBB2_6 LBB2_7: popq %rbp retq .cfi_endproc ## -- End function .globl _cb_memcmp ## -- Begin function cb_memcmp .p2align 4, 0x90 _cb_memcmp: ## @cb_memcmp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r12 movq %rdi, %r14 leaq (%rsi,%rdx), %rax movq _addr@GOTPCREL(%rip), %rcx movq (%rcx), %r15 movq _buf_size@GOTPCREL(%rip), %rcx movslq (%rcx), %rbx addq %r15, %rbx cmpq %rbx, %rax jbe LBB3_3 ## %bb.1: subq %rsi, %rbx movq %r14, %rdi movq %rbx, %rdx callq _memcmp testl %eax, %eax je LBB3_2 ## %bb.5: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB3_3: movq %r14, %rdi jmp LBB3_4 LBB3_2: addq %rbx, %r14 movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rax addq %rax, %r15 subq %rbx, %r12 movq %r14, %rdi movq %r15, %rsi LBB3_4: movq %r12, %rdx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _memcmp ## TAILCALL .cfi_endproc ## -- End function .globl _cb2s_memcpy ## -- Begin function cb2s_memcpy .p2align 4, 0x90 _cb2s_memcpy: ## @cb2s_memcpy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 leaq (%rsi,%rdx), %rax movq _addr@GOTPCREL(%rip), %r12 movq _buf_size@GOTPCREL(%rip), %r13 movslq (%r13), %rdx addq (%r12), %rdx cmpq %rdx, %rax jbe LBB4_2 ## %bb.1: subq %rbx, %rdx movq %r14, %rdi movq %rbx, %rsi callq _memcpy movq (%r12), %rax movslq (%r13), %rcx addq %rax, %rcx subq %rbx, %rcx addq %rcx, %r14 movq _buf_offset@GOTPCREL(%rip), %rdx movslq (%rdx), %rsi addq %rax, %rsi subq %rcx, %r15 movq %r14, %rdi jmp LBB4_3 LBB4_2: movq %r14, %rdi movq %rbx, %rsi LBB4_3: movq %r15, %rdx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _memcpy ## TAILCALL .cfi_endproc ## -- End function .globl _print_usage ## -- Begin function print_usage .p2align 4, 0x90 _print_usage: ## @print_usage .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, %rdx movq ___stderrp@GOTPCREL(%rip), %rbx movq (%rbx), %rdi leaq L_.str(%rip), %rsi xorl %eax, %eax callq _fprintf movq (%rbx), %rcx leaq L_.str.1(%rip), %rdi movl $25, %esi movl $1, %edx callq _fwrite movq (%rbx), %rcx leaq L_.str.2(%rip), %rdi movl $122, %esi movl $1, %edx callq _fwrite movq (%rbx), %rcx leaq L_.str.3(%rip), %rdi movl $26, %esi movl $1, %edx callq _fwrite movq (%rbx), %rcx leaq L_.str.4(%rip), %rdi movl $45, %esi movl $1, %edx callq _fwrite movq (%rbx), %rcx leaq L_.str.5(%rip), %rdi movl $11, %esi movl $1, %edx callq _fwrite movq (%rbx), %rcx leaq L_.str.6(%rip), %rdi movl $54, %esi movl $1, %edx callq _fwrite movq (%rbx), %rcx leaq L_.str.7(%rip), %rdi movl $13, %esi movl $1, %edx callq _fwrite movq (%rbx), %rcx leaq L_.str.8(%rip), %rdi movl $15, %esi movl $1, %edx addq $8, %rsp popq %rbx popq %rbp jmp _fwrite ## 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 %r13 pushq %r12 pushq %rbx subq $104, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movl %edi, %r12d movq _resolution@GOTPCREL(%rip), %rax movl $1080, (%rax) ## imm = 0x438 movq _sps_timing_info@GOTPCREL(%rip), %rax movl $1, (%rax) movq _debug@GOTPCREL(%rip), %rax movl $0, (%rax) movq _buf_offset@GOTPCREL(%rip), %rax movl $368, (%rax) ## imm = 0x170 movq _buf_size@GOTPCREL(%rip), %rax movl $1786224, (%rax) ## imm = 0x1B4170 movq _frame_header_size@GOTPCREL(%rip), %rax movl $28, (%rax) movq _data_offset@GOTPCREL(%rip), %rax movl $4, (%rax) movq _lowres_byte@GOTPCREL(%rip), %rax movl $8, (%rax) movq _highres_byte@GOTPCREL(%rip), %rax movl $4, (%rax) leaq L_.str.14(%rip), %rbx leaq -112(%rbp), %r13 leaq LJTI6_0(%rip), %r15 jmp LBB6_2 LBB6_1: ## in Loop: Header=BB6_2 Depth=1 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx movl $9, %esi movl $1, %edx leaq L_.str.29(%rip), %rdi callq _fwrite movq _debug@GOTPCREL(%rip), %rax movl $1, (%rax) .p2align 4, 0x90 LBB6_2: ## =>This Inner Loop Header: Depth=1 movl $0, -112(%rbp) movl %r12d, %edi movq %r14, %rsi movq %rbx, %rdx leaq _main.long_options(%rip), %rcx movq %r13, %r8 callq _getopt_long ## kill: def $eax killed $eax def $rax leal -100(%rax), %ecx cmpl $15, %ecx ja LBB6_17 ## %bb.3: ## in Loop: Header=BB6_2 Depth=1 movslq (%r15,%rcx,4), %rax addq %r15, %rax jmpq *%rax LBB6_4: ## in Loop: Header=BB6_2 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rbx leaq L_.str.15(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_22 ## %bb.5: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.16(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_22 ## %bb.6: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.17(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_22 ## %bb.7: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.18(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_27 ## %bb.8: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.19(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_28 ## %bb.9: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.20(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_31 ## %bb.10: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.21(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_30 ## %bb.11: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.22(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_30 ## %bb.12: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.23(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_30 ## %bb.13: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.24(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_32 ## %bb.14: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.25(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_32 ## %bb.15: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.26(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax leaq L_.str.14(%rip), %rbx jne LBB6_2 ## %bb.16: ## in Loop: Header=BB6_2 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movl $300, (%rax) ## imm = 0x12C movq _buf_size@GOTPCREL(%rip), %rax movl $524588, (%rax) ## imm = 0x8012C movq _frame_header_size@GOTPCREL(%rip), %rax movl $26, (%rax) movq _data_offset@GOTPCREL(%rip), %rax movl $4, (%rax) movq _lowres_byte@GOTPCREL(%rip), %rax movl $8, (%rax) movq _highres_byte@GOTPCREL(%rip), %rax movl $4, (%rax) jmp LBB6_2 .p2align 4, 0x90 LBB6_17: ## in Loop: Header=BB6_2 Depth=1 cmpl $63, %eax je LBB6_2 jmp LBB6_33 LBB6_18: ## in Loop: Header=BB6_2 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rbx leaq L_.str.27(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax je LBB6_26 ## %bb.19: ## in Loop: Header=BB6_2 Depth=1 leaq L_.str.28(%rip), %rdi movq %rbx, %rsi callq _strcasecmp testl %eax, %eax leaq L_.str.14(%rip), %rbx jne LBB6_2 ## %bb.20: ## in Loop: Header=BB6_2 Depth=1 movq _resolution@GOTPCREL(%rip), %rax movl $1080, (%rax) ## imm = 0x438 jmp LBB6_2 LBB6_21: ## in Loop: Header=BB6_2 Depth=1 movq _sps_timing_info@GOTPCREL(%rip), %rax movl $0, (%rax) jmp LBB6_2 LBB6_22: ## in Loop: Header=BB6_2 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movl $368, (%rax) ## imm = 0x170 movq _buf_size@GOTPCREL(%rip), %rax movl $1786224, (%rax) ## imm = 0x1B4170 LBB6_23: ## in Loop: Header=BB6_2 Depth=1 movq _frame_header_size@GOTPCREL(%rip), %rax movl $28, (%rax) LBB6_24: ## in Loop: Header=BB6_2 Depth=1 movq _data_offset@GOTPCREL(%rip), %rax movl $4, (%rax) LBB6_25: ## in Loop: Header=BB6_2 Depth=1 movq _lowres_byte@GOTPCREL(%rip), %rax movl $8, (%rax) movq _highres_byte@GOTPCREL(%rip), %rax movl $4, (%rax) leaq L_.str.14(%rip), %rbx jmp LBB6_2 LBB6_26: ## in Loop: Header=BB6_2 Depth=1 movq _resolution@GOTPCREL(%rip), %rax movl $360, (%rax) ## imm = 0x168 leaq L_.str.14(%rip), %rbx jmp LBB6_2 LBB6_27: ## in Loop: Header=BB6_2 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movl $300, (%rax) ## imm = 0x12C movq _buf_size@GOTPCREL(%rip), %rax movl $1786156, (%rax) ## imm = 0x1B412C movq _frame_header_size@GOTPCREL(%rip), %rax movl $22, (%rax) movq _data_offset@GOTPCREL(%rip), %rax movl $0, (%rax) jmp LBB6_25 LBB6_28: ## in Loop: Header=BB6_2 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movl $300, (%rax) ## imm = 0x12C movq _buf_size@GOTPCREL(%rip), %rax movl $1786156, (%rax) ## imm = 0x1B412C LBB6_29: ## in Loop: Header=BB6_2 Depth=1 movq _frame_header_size@GOTPCREL(%rip), %rax movl $26, (%rax) jmp LBB6_24 LBB6_30: ## in Loop: Header=BB6_2 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movl $368, (%rax) ## imm = 0x170 movq _buf_size@GOTPCREL(%rip), %rax movl $1048944, (%rax) ## imm = 0x100170 jmp LBB6_23 LBB6_31: ## in Loop: Header=BB6_2 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movl $368, (%rax) ## imm = 0x170 movq _buf_size@GOTPCREL(%rip), %rax movl $524656, (%rax) ## imm = 0x80170 jmp LBB6_23 LBB6_32: ## in Loop: Header=BB6_2 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movl $300, (%rax) ## imm = 0x12C movq _buf_size@GOTPCREL(%rip), %rax movl $524588, (%rax) ## imm = 0x8012C jmp LBB6_29 LBB6_33: cmpl $-1, %eax jne LBB6_219 ## %bb.34: movq _frame_header_size@GOTPCREL(%rip), %rax movslq (%rax), %rdi callq _malloc movq %rax, -80(%rbp) ## 8-byte Spill leaq L_.str.30(%rip), %rdi leaq L_.str.31(%rip), %rsi callq _fopen testq %rax, %rax je LBB6_220 ## %bb.35: movq %rax, %r14 movq _buf_size@GOTPCREL(%rip), %r12 movslq (%r12), %rbx movq %rax, %rdi callq _fileno xorl %edi, %edi movq %rbx, %rsi movl $1, %edx movl $1, %ecx movl %eax, %r8d xorl %r9d, %r9d callq _mmap movq _addr@GOTPCREL(%rip), %rbx movq %rax, (%rbx) cmpq $-1, %rax je LBB6_221 ## %bb.36: movq _debug@GOTPCREL(%rip), %r15 cmpl $0, (%r15) je LBB6_39 ## %bb.37: movq ___stderrp@GOTPCREL(%rip), %rcx movq (%rcx), %rdi movl (%r12), %ecx leaq L_.str.34(%rip), %rsi leaq L_.str.30(%rip), %rdx movl %eax, %r8d xorl %eax, %eax callq _fprintf cmpl $0, (%r15) je LBB6_39 ## %bb.38: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.35(%rip), %rsi leaq L_.str.30(%rip), %rdx xorl %eax, %eax callq _fprintf LBB6_39: movq %r14, %rdi callq _fclose movq (%rbx), %rax movslq 16(%rax), %rbx movq _buf_offset@GOTPCREL(%rip), %rcx movslq (%rcx), %r13 addq %rax, %r13 cmpl $0, (%r15) je LBB6_41 ## %bb.40: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.36(%rip), %rdi movl $27, %esi movl $1, %edx callq _fwrite LBB6_41: addq %rbx, %r13 movl $-1, -56(%rbp) ## 4-byte Folded Spill leaq _NALx_START(%rip), %r14 xorl %eax, %eax movq %rax, -72(%rbp) ## 8-byte Spill ## implicit-def: $eax ## kill: killed $eax movl $-1, -52(%rbp) ## 4-byte Folded Spill xorl %eax, %eax movq %rax, -88(%rbp) ## 8-byte Spill xorl %eax, %eax movq %rax, -48(%rbp) ## 8-byte Spill movl $0, -120(%rbp) ## 4-byte Folded Spill jmp LBB6_45 .p2align 4, 0x90 LBB6_42: ## in Loop: Header=BB6_45 Depth=1 movl %ebx, %esi movl $4, %ecx movq %r13, %rdi LBB6_43: ## in Loop: Header=BB6_45 Depth=1 movq %r14, %rdx callq _memmem movq %rax, %r12 testq %rax, %rax jne LBB6_49 ## %bb.44: ## in Loop: Header=BB6_45 Depth=1 movl $25000, %edi ## imm = 0x61A8 callq _usleep LBB6_45: ## =>This Inner Loop Header: Depth=1 movq _addr@GOTPCREL(%rip), %rax movq (%rax), %rsi movslq 16(%rsi), %rax movq _buf_offset@GOTPCREL(%rip), %rcx movslq (%rcx), %r15 addq %rsi, %r15 addq %rax, %r15 movq %r15, %rbx subq %r13, %rbx testl $-2147483648, %ebx ## imm = 0x80000000 je LBB6_42 ## %bb.46: ## in Loop: Header=BB6_45 Depth=1 movq _buf_size@GOTPCREL(%rip), %rax movslq (%rax), %rax addq %rax, %rsi subq %r13, %rsi movl $4, %ecx movq %r13, %rdi movq %r14, %rdx callq _memmem testq %rax, %rax jne LBB6_48 ## %bb.47: ## in Loop: Header=BB6_45 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rdi movq _addr@GOTPCREL(%rip), %rax addq (%rax), %rdi movslq %ebx, %rsi addq %r13, %rsi subq %rdi, %rsi movl $4, %ecx jmp LBB6_43 LBB6_48: ## in Loop: Header=BB6_45 Depth=1 movq %rax, %r12 LBB6_49: ## in Loop: Header=BB6_45 Depth=1 leaq 1(%r12), %rbx subq %rbx, %r15 testl $-2147483648, %r15d ## imm = 0x80000000 jne LBB6_51 ## %bb.50: ## in Loop: Header=BB6_45 Depth=1 movl %r15d, %esi movl $4, %ecx movq %rbx, %rdi movq %r14, %rdx callq _memmem jmp LBB6_53 LBB6_51: ## in Loop: Header=BB6_45 Depth=1 movq _buf_size@GOTPCREL(%rip), %rax movslq (%rax), %rsi movq %r14, %r13 movq _addr@GOTPCREL(%rip), %r14 addq (%r14), %rsi subq %rbx, %rsi movl $4, %ecx movq %rbx, %rdi movq %r13, %rdx callq _memmem testq %rax, %rax jne LBB6_55 ## %bb.52: ## in Loop: Header=BB6_45 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rdi addq (%r14), %rdi movslq %r15d, %rax addq %rax, %rbx subq %rdi, %rbx movl $4, %ecx movq %rbx, %rsi movq %r13, %rdx callq _memmem movq %r13, %r14 LBB6_53: ## in Loop: Header=BB6_45 Depth=1 movq %rax, %r13 testq %rax, %rax jne LBB6_56 ## %bb.54: ## in Loop: Header=BB6_45 Depth=1 movl $25000, %edi ## imm = 0x61A8 callq _usleep movq %r12, %r13 jmp LBB6_45 LBB6_55: ## in Loop: Header=BB6_45 Depth=1 movq %r13, %r14 movq %rax, %r13 LBB6_56: ## in Loop: Header=BB6_45 Depth=1 cmpl $0, -48(%rbp) ## 4-byte Folded Reload je LBB6_106 ## %bb.57: ## in Loop: Header=BB6_45 Depth=1 cmpl $0, -120(%rbp) ## 4-byte Folded Reload je LBB6_106 ## %bb.58: ## in Loop: Header=BB6_45 Depth=1 movq _sps_timing_info@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB6_62 ## %bb.59: ## in Loop: Header=BB6_45 Depth=1 movq -72(%rbp), %rsi ## 8-byte Reload leaq 19(%rsi), %r15 movq _addr@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _buf_size@GOTPCREL(%rip), %rax movslq (%rax), %rbx movq %rcx, -48(%rbp) ## 8-byte Spill addq %rcx, %rbx cmpq %rbx, %r15 movq %rbx, -64(%rbp) ## 8-byte Spill jbe LBB6_64 ## %bb.60: ## in Loop: Header=BB6_45 Depth=1 subq %rsi, %rbx leaq _SPS4_640X360(%rip), %rdi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_66 ## %bb.61: ## in Loop: Header=BB6_45 Depth=1 leaq _SPS4_640X360(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq -48(%rbp), %rsi ## 8-byte Folded Reload movl $19, %edx subq %rbx, %rdx jmp LBB6_65 LBB6_62: ## in Loop: Header=BB6_45 Depth=1 movq %r13, -64(%rbp) ## 8-byte Spill movq %r14, %r13 movslq -116(%rbp), %rdx ## 4-byte Folded Reload movq -72(%rbp), %rdi ## 8-byte Reload leaq (%rdi,%rdx), %rbx movq _buf_size@GOTPCREL(%rip), %r15 movslq (%r15), %rax movq _addr@GOTPCREL(%rip), %r14 addq (%r14), %rax cmpq %rax, %rbx jbe LBB6_74 ## %bb.63: ## in Loop: Header=BB6_45 Depth=1 subq %rdi, %rax movq ___stdoutp@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl $1, %esi movq %rax, %rdx callq _fwrite movq (%r14), %rax movq _buf_offset@GOTPCREL(%rip), %rcx movslq (%rcx), %rdi addq %rax, %rdi movslq (%r15), %rcx addq %rax, %rcx subq %rcx, %rbx movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx movl $1, %esi movq %rbx, %rdx jmp LBB6_75 LBB6_64: ## in Loop: Header=BB6_45 Depth=1 movl $19, %edx leaq _SPS4_640X360(%rip), %rdi LBB6_65: ## in Loop: Header=BB6_45 Depth=1 callq _memcmp testl %eax, %eax je LBB6_81 LBB6_66: ## in Loop: Header=BB6_45 Depth=1 movq -72(%rbp), %rsi ## 8-byte Reload leaq 20(%rsi), %rax movq -64(%rbp), %rbx ## 8-byte Reload movq %rax, -96(%rbp) ## 8-byte Spill cmpq %rbx, %rax jbe LBB6_69 ## %bb.67: ## in Loop: Header=BB6_45 Depth=1 subq %rsi, %rbx leaq _SPS4_1920X1080(%rip), %rdi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_71 ## %bb.68: ## in Loop: Header=BB6_45 Depth=1 leaq _SPS4_1920X1080(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq -48(%rbp), %rsi ## 8-byte Folded Reload movl $20, %edx subq %rbx, %rdx jmp LBB6_70 LBB6_69: ## in Loop: Header=BB6_45 Depth=1 movl $20, %edx leaq _SPS4_1920X1080(%rip), %rdi LBB6_70: ## in Loop: Header=BB6_45 Depth=1 callq _memcmp testl %eax, %eax je LBB6_87 LBB6_71: ## in Loop: Header=BB6_45 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload cmpq %rax, %r15 movq %rax, %r15 jbe LBB6_76 ## %bb.72: ## in Loop: Header=BB6_45 Depth=1 movq %r15, %rbx movq -72(%rbp), %rsi ## 8-byte Reload subq %rsi, %rbx leaq _SPS4_2304X1296(%rip), %rdi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_78 ## %bb.73: ## in Loop: Header=BB6_45 Depth=1 leaq _SPS4_2304X1296(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq -48(%rbp), %rsi ## 8-byte Folded Reload movl $19, %edx subq %rbx, %rdx jmp LBB6_77 LBB6_74: ## in Loop: Header=BB6_45 Depth=1 movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx movl $1, %esi LBB6_75: ## in Loop: Header=BB6_45 Depth=1 callq _fwrite movq %r13, %r14 movq -64(%rbp), %r13 ## 8-byte Reload jmp LBB6_106 LBB6_76: ## in Loop: Header=BB6_45 Depth=1 movl $19, %edx leaq _SPS4_2304X1296(%rip), %rdi movq -72(%rbp), %rsi ## 8-byte Reload LBB6_77: ## in Loop: Header=BB6_45 Depth=1 callq _memcmp testl %eax, %eax je LBB6_93 LBB6_78: ## in Loop: Header=BB6_45 Depth=1 cmpq %r15, -96(%rbp) ## 8-byte Folded Reload jbe LBB6_82 ## %bb.79: ## in Loop: Header=BB6_45 Depth=1 movq %r15, %rbx movq -72(%rbp), %rsi ## 8-byte Reload subq %rsi, %rbx leaq _SPS4_2_640X360(%rip), %rdi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_84 ## %bb.80: ## in Loop: Header=BB6_45 Depth=1 leaq _SPS4_2_640X360(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq -48(%rbp), %rsi ## 8-byte Folded Reload movl $20, %edx subq %rbx, %rdx jmp LBB6_83 LBB6_81: ## in Loop: Header=BB6_45 Depth=1 movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx movl $1, %esi movl $27, %edx leaq _SPS4_640X360_TI(%rip), %rdi jmp LBB6_105 LBB6_82: ## in Loop: Header=BB6_45 Depth=1 movl $20, %edx leaq _SPS4_2_640X360(%rip), %rdi movq -72(%rbp), %rsi ## 8-byte Reload LBB6_83: ## in Loop: Header=BB6_45 Depth=1 callq _memcmp testl %eax, %eax je LBB6_99 LBB6_84: ## in Loop: Header=BB6_45 Depth=1 movq -72(%rbp), %rsi ## 8-byte Reload leaq 21(%rsi), %rax cmpq %r15, %rax jbe LBB6_88 ## %bb.85: ## in Loop: Header=BB6_45 Depth=1 movq %r15, %rbx subq %rsi, %rbx leaq _SPS4_2_1920X1080(%rip), %rdi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_90 ## %bb.86: ## in Loop: Header=BB6_45 Depth=1 leaq _SPS4_2_1920X1080(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq -48(%rbp), %rsi ## 8-byte Folded Reload movl $21, %edx subq %rbx, %rdx jmp LBB6_89 LBB6_87: ## in Loop: Header=BB6_45 Depth=1 movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx movl $1, %esi movl $29, %edx leaq _SPS4_1920X1080_TI(%rip), %rdi jmp LBB6_105 LBB6_88: ## in Loop: Header=BB6_45 Depth=1 movl $21, %edx leaq _SPS4_2_1920X1080(%rip), %rdi LBB6_89: ## in Loop: Header=BB6_45 Depth=1 callq _memcmp testl %eax, %eax je LBB6_103 LBB6_90: ## in Loop: Header=BB6_45 Depth=1 cmpq %r15, -96(%rbp) ## 8-byte Folded Reload jbe LBB6_94 ## %bb.91: ## in Loop: Header=BB6_45 Depth=1 movq %r15, %rbx movq -72(%rbp), %rsi ## 8-byte Reload subq %rsi, %rbx leaq _SPS4_2_2304X1296(%rip), %rdi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_96 ## %bb.92: ## in Loop: Header=BB6_45 Depth=1 leaq _SPS4_2_2304X1296(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq -48(%rbp), %rsi ## 8-byte Folded Reload movl $20, %edx subq %rbx, %rdx jmp LBB6_95 LBB6_93: ## in Loop: Header=BB6_45 Depth=1 movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx movl $1, %esi movl $27, %edx leaq _SPS4_2304X1296_TI(%rip), %rdi jmp LBB6_105 LBB6_94: ## in Loop: Header=BB6_45 Depth=1 movl $20, %edx leaq _SPS4_2_2304X1296(%rip), %rdi movq -72(%rbp), %rsi ## 8-byte Reload LBB6_95: ## in Loop: Header=BB6_45 Depth=1 callq _memcmp testl %eax, %eax je LBB6_104 LBB6_96: ## in Loop: Header=BB6_45 Depth=1 movq -72(%rbp), %rsi ## 8-byte Reload leaq 28(%rsi), %rax cmpq %r15, %rax jbe LBB6_100 ## %bb.97: ## in Loop: Header=BB6_45 Depth=1 subq %rsi, %r15 leaq _VPS5_1920X1080(%rip), %rdi movq %r15, %rdx callq _memcmp testl %eax, %eax jne LBB6_106 ## %bb.98: ## in Loop: Header=BB6_45 Depth=1 leaq _VPS5_1920X1080(%rip), %rax leaq (%rax,%r15), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rax movq -48(%rbp), %rsi ## 8-byte Reload addq %rax, %rsi movl $28, %edx subq %r15, %rdx jmp LBB6_101 LBB6_99: ## in Loop: Header=BB6_45 Depth=1 movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx movl $1, %esi movl $28, %edx leaq _SPS4_2_640X360_TI(%rip), %rdi jmp LBB6_105 LBB6_100: ## in Loop: Header=BB6_45 Depth=1 movl $28, %edx leaq _VPS5_1920X1080(%rip), %rdi LBB6_101: ## in Loop: Header=BB6_45 Depth=1 callq _memcmp testl %eax, %eax jne LBB6_106 ## %bb.102: ## in Loop: Header=BB6_45 Depth=1 movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx movl $1, %esi movl $37, %edx leaq _VPS5_1920X1080_TI(%rip), %rdi jmp LBB6_105 LBB6_103: ## in Loop: Header=BB6_45 Depth=1 movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx movl $1, %esi movl $30, %edx leaq _SPS4_2_1920X1080_TI(%rip), %rdi jmp LBB6_105 LBB6_104: ## in Loop: Header=BB6_45 Depth=1 movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx movl $1, %esi movl $28, %edx leaq _SPS4_2_2304X1296_TI(%rip), %rdi LBB6_105: ## in Loop: Header=BB6_45 Depth=1 callq _fwrite LBB6_106: ## in Loop: Header=BB6_45 Depth=1 leaq 5(%r12), %rcx movq _addr@GOTPCREL(%rip), %rax movq (%rax), %r15 movq _buf_size@GOTPCREL(%rip), %rax movslq (%rax), %rax movq %rax, -96(%rbp) ## 8-byte Spill leaq (%r15,%rax), %rbx movq %rcx, -48(%rbp) ## 8-byte Spill cmpq %rbx, %rcx movq %rbx, -64(%rbp) ## 8-byte Spill movq %r15, -128(%rbp) ## 8-byte Spill jbe LBB6_117 ## %bb.107: ## in Loop: Header=BB6_45 Depth=1 subq %r12, %rbx leaq _SPS4_START(%rip), %rdi movq %r12, %rsi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_109 ## %bb.108: ## in Loop: Header=BB6_45 Depth=1 leaq _SPS4_START(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq %r15, %rsi movl $5, %edx subq %rbx, %rdx callq _memcmp testl %eax, %eax je LBB6_123 LBB6_109: ## in Loop: Header=BB6_45 Depth=1 leaq _SPS5_START(%rip), %rdi movq %r12, %rsi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_111 ## %bb.110: ## in Loop: Header=BB6_45 Depth=1 leaq _SPS5_START(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq %r15, %rsi movl $5, %edx subq %rbx, %rdx callq _memcmp testl %eax, %eax je LBB6_123 LBB6_111: ## in Loop: Header=BB6_45 Depth=1 leaq _PPS4_START(%rip), %rdi movq %r12, %rsi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_113 ## %bb.112: ## in Loop: Header=BB6_45 Depth=1 leaq _PPS4_START(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq %r15, %rsi movl $5, %edx subq %rbx, %rdx callq _memcmp testl %eax, %eax je LBB6_182 LBB6_113: ## in Loop: Header=BB6_45 Depth=1 leaq _PPS5_START(%rip), %rdi movq %r12, %rsi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_115 ## %bb.114: ## in Loop: Header=BB6_45 Depth=1 leaq _PPS5_START(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq %r15, %rsi movl $5, %edx subq %rbx, %rdx callq _memcmp testl %eax, %eax je LBB6_182 LBB6_115: ## in Loop: Header=BB6_45 Depth=1 leaq _VPS5_START(%rip), %rdi movq %r12, %rsi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_155 ## %bb.116: ## in Loop: Header=BB6_45 Depth=1 leaq _VPS5_START(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq %r15, %rsi movl $5, %edx subq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_155 jmp LBB6_182 LBB6_117: ## in Loop: Header=BB6_45 Depth=1 movl _SPS4_START(%rip), %eax xorl (%r12), %eax movzbl _SPS4_START+4(%rip), %ecx xorb 4(%r12), %cl movzbl %cl, %ecx orl %eax, %ecx je LBB6_123 ## %bb.118: ## in Loop: Header=BB6_45 Depth=1 movl _SPS5_START(%rip), %eax xorl (%r12), %eax movzbl _SPS5_START+4(%rip), %ecx xorb 4(%r12), %cl movzbl %cl, %ecx orl %eax, %ecx je LBB6_123 ## %bb.119: ## in Loop: Header=BB6_45 Depth=1 movl _PPS4_START(%rip), %eax xorl (%r12), %eax movzbl _PPS4_START+4(%rip), %ecx xorb 4(%r12), %cl movzbl %cl, %ecx orl %eax, %ecx je LBB6_182 ## %bb.120: ## in Loop: Header=BB6_45 Depth=1 movl _PPS5_START(%rip), %eax xorl (%r12), %eax movzbl _PPS5_START+4(%rip), %ecx xorb 4(%r12), %cl movzbl %cl, %ecx orl %eax, %ecx je LBB6_182 ## %bb.121: ## in Loop: Header=BB6_45 Depth=1 movl _VPS5_START(%rip), %eax movl (%r12), %ecx bswapl %eax bswapl %ecx cmpl %ecx, %eax jne LBB6_154 ## %bb.122: ## in Loop: Header=BB6_45 Depth=1 movzbl _VPS5_START+4(%rip), %eax movzbl 4(%r12), %ecx subl %ecx, %eax testl %eax, %eax jne LBB6_155 jmp LBB6_182 LBB6_123: ## in Loop: Header=BB6_45 Depth=1 movq _frame_header_size@GOTPCREL(%rip), %rax movslq (%rax), %rdx movl $-6, %eax subl %edx, %eax cltq addq %rax, %r12 testl %eax, %eax jle LBB6_126 ## %bb.124: ## in Loop: Header=BB6_45 Depth=1 movq -64(%rbp), %rbx ## 8-byte Reload cmpq %rbx, %r12 jbe LBB6_128 ## %bb.125: ## in Loop: Header=BB6_45 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rax subq -96(%rbp), %rax ## 8-byte Folded Reload addq %rax, %r12 movq -80(%rbp), %r15 ## 8-byte Reload jmp LBB6_132 LBB6_126: ## in Loop: Header=BB6_45 Depth=1 js LBB6_129 ## %bb.127: ## in Loop: Header=BB6_45 Depth=1 movq -80(%rbp), %r15 ## 8-byte Reload jmp LBB6_131 LBB6_128: ## in Loop: Header=BB6_45 Depth=1 movq -80(%rbp), %r15 ## 8-byte Reload jmp LBB6_132 LBB6_129: ## in Loop: Header=BB6_45 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rax leaq (%r15,%rax), %rcx cmpq %rcx, %r12 movq -80(%rbp), %r15 ## 8-byte Reload jae LBB6_131 ## %bb.130: ## in Loop: Header=BB6_45 Depth=1 movq -96(%rbp), %rcx ## 8-byte Reload subq %rax, %rcx addq %rcx, %r12 LBB6_131: ## in Loop: Header=BB6_45 Depth=1 movq -64(%rbp), %rbx ## 8-byte Reload LBB6_132: ## in Loop: Header=BB6_45 Depth=1 leaq (%r12,%rdx), %rax cmpq %rbx, %rax jbe LBB6_134 ## %bb.133: ## in Loop: Header=BB6_45 Depth=1 subq %r12, %rbx movq %r15, %rdi movq %r12, %rsi movq %rdx, -48(%rbp) ## 8-byte Spill movq %rbx, %rdx callq _memcpy leaq (%r15,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq -128(%rbp), %rsi ## 8-byte Folded Reload movq -48(%rbp), %rdx ## 8-byte Reload subq %rbx, %rdx callq _memcpy movq -48(%rbp), %rbx ## 8-byte Reload jmp LBB6_135 LBB6_134: ## in Loop: Header=BB6_45 Depth=1 movq %r15, %rdi movq %r12, %rsi movq %rdx, %rbx callq _memcpy LBB6_135: ## in Loop: Header=BB6_45 Depth=1 leaq (%rbx,%r12), %r15 addq $6, %r15 cmpl $-5, %ebx jl LBB6_138 ## %bb.136: ## in Loop: Header=BB6_45 Depth=1 cmpq -64(%rbp), %r15 ## 8-byte Folded Reload jbe LBB6_140 ## %bb.137: ## in Loop: Header=BB6_45 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rax subq -96(%rbp), %rax ## 8-byte Folded Reload addq %rax, %r15 movq -80(%rbp), %rsi ## 8-byte Reload jmp LBB6_143 LBB6_138: ## in Loop: Header=BB6_45 Depth=1 cmpl $-6, %ebx jne LBB6_141 LBB6_140: ## in Loop: Header=BB6_45 Depth=1 movq -80(%rbp), %rsi ## 8-byte Reload jmp LBB6_143 LBB6_141: ## in Loop: Header=BB6_45 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rax movq -128(%rbp), %rcx ## 8-byte Reload addq %rax, %rcx cmpq %rcx, %r15 movq -80(%rbp), %rsi ## 8-byte Reload jae LBB6_143 ## %bb.142: ## in Loop: Header=BB6_45 Depth=1 movq -96(%rbp), %rcx ## 8-byte Reload subq %rax, %rcx addq %rcx, %r15 LBB6_143: ## in Loop: Header=BB6_45 Depth=1 movq _data_offset@GOTPCREL(%rip), %rax movslq (%rax), %rax movzbl 17(%rax,%rsi), %ecx movq _highres_byte@GOTPCREL(%rip), %rdx cmpl %ecx, (%rdx) movl $0, %r12d movl $1080, %edx ## imm = 0x438 cmovel %edx, %r12d movq _lowres_byte@GOTPCREL(%rip), %rdx cmpl %ecx, (%rdx) movl $360, %ecx ## imm = 0x168 cmovel %ecx, %r12d movq _resolution@GOTPCREL(%rip), %rcx cmpl (%rcx), %r12d jne LBB6_152 ## %bb.144: ## in Loop: Header=BB6_45 Depth=1 movl (%rsi), %edi addl $-6, %edi movl %r13d, %ecx subl %r15d, %ecx movq _buf_offset@GOTPCREL(%rip), %rdx movq -96(%rbp), %rbx ## 8-byte Reload subl (%rdx), %ebx movl %ecx, %edx sarl $31, %edx andl %ebx, %edx addl %ecx, %edx movl %edi, -116(%rbp) ## 4-byte Spill cmpl %edi, %edx jle LBB6_153 ## %bb.145: ## in Loop: Header=BB6_45 Depth=1 movzwl 18(%rax,%rsi), %eax movl %eax, -56(%rbp) ## 4-byte Spill subl -52(%rbp), %eax ## 4-byte Folded Reload cmpl $20, %eax movq -88(%rbp), %rcx ## 8-byte Reload jg LBB6_148 ## %bb.146: ## in Loop: Header=BB6_45 Depth=1 movl -52(%rbp), %edx ## 4-byte Reload cmpl %edx, -56(%rbp) ## 4-byte Folded Reload jge LBB6_173 ## %bb.147: ## in Loop: Header=BB6_45 Depth=1 cmpl $-65514, %eax ## imm = 0xFFFF0016 jl LBB6_173 LBB6_148: ## in Loop: Header=BB6_45 Depth=1 xorl %eax, %eax movq %rax, -48(%rbp) ## 8-byte Spill movq _debug@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB6_150 ## %bb.149: ## in Loop: Header=BB6_45 Depth=1 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rbx leaq -112(%rbp), %rdi xorl %esi, %esi callq _gettimeofday imulq $1000, -112(%rbp), %rax ## imm = 0x3E8 movslq -104(%rbp), %rcx imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3 movq %rcx, %rdx shrq $63, %rdx sarq $38, %rcx addl %edx, %ecx movslq %ecx, %rdx addq %rax, %rdx movq %rbx, %rdi leaq L_.str.37(%rip), %rsi movl -56(%rbp), %ecx ## 4-byte Reload movl -52(%rbp), %r8d ## 4-byte Reload xorl %eax, %eax callq _fprintf movq -88(%rbp), %rcx ## 8-byte Reload movq _debug@GOTPCREL(%rip), %rax LBB6_150: ## in Loop: Header=BB6_45 Depth=1 cmpl $40, %ecx jge LBB6_178 ## %bb.151: ## in Loop: Header=BB6_45 Depth=1 incl %ecx movq %rcx, -88(%rbp) ## 8-byte Spill jmp LBB6_176 LBB6_152: ## in Loop: Header=BB6_45 Depth=1 movl $1, -120(%rbp) ## 4-byte Folded Spill jmp LBB6_209 LBB6_153: ## in Loop: Header=BB6_45 Depth=1 xorl %eax, %eax jmp LBB6_174 LBB6_154: ## in Loop: Header=BB6_45 Depth=1 setae %al movzbl %al, %eax addl %eax, %eax decl %eax testl %eax, %eax je LBB6_182 LBB6_155: ## in Loop: Header=BB6_45 Depth=1 leaq 6(%r12), %rax movq -64(%rbp), %rbx ## 8-byte Reload cmpq %rbx, %rax jbe LBB6_158 ## %bb.156: ## in Loop: Header=BB6_45 Depth=1 subq %r12, %rbx leaq _IDR4_START(%rip), %rdi movq %r12, %rsi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_162 ## %bb.157: ## in Loop: Header=BB6_45 Depth=1 leaq _IDR4_START(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq %r15, %rsi movl $6, %edx subq %rbx, %rdx callq _memcmp jmp LBB6_161 LBB6_158: ## in Loop: Header=BB6_45 Depth=1 movl _IDR4_START(%rip), %ecx movl (%r12), %edx bswapl %ecx bswapl %edx cmpl %edx, %ecx jne LBB6_160 ## %bb.159: ## in Loop: Header=BB6_45 Depth=1 movzwl _IDR4_START+4(%rip), %eax movzwl 4(%r12), %edx rolw $8, %ax rolw $8, %dx movzwl %ax, %ecx movzwl %dx, %edx xorl %eax, %eax cmpl %edx, %ecx je LBB6_161 LBB6_160: ## in Loop: Header=BB6_45 Depth=1 xorl %eax, %eax cmpl %edx, %ecx setae %al addl %eax, %eax decl %eax LBB6_161: ## in Loop: Header=BB6_45 Depth=1 testl %eax, %eax je LBB6_182 LBB6_162: ## in Loop: Header=BB6_45 Depth=1 movq -64(%rbp), %rbx ## 8-byte Reload cmpq %rbx, -48(%rbp) ## 8-byte Folded Reload jbe LBB6_169 ## %bb.163: ## in Loop: Header=BB6_45 Depth=1 subq %r12, %rbx leaq _IDR5_START(%rip), %rdi movq %r12, %rsi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_165 ## %bb.164: ## in Loop: Header=BB6_45 Depth=1 leaq _IDR5_START(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq %r15, %rsi movl $5, %edx subq %rbx, %rdx callq _memcmp testl %eax, %eax je LBB6_182 LBB6_165: ## in Loop: Header=BB6_45 Depth=1 leaq _PFR4_START(%rip), %rdi movq %r12, %rsi movq %rbx, %rdx callq _memcmp testl %eax, %eax jne LBB6_167 ## %bb.166: ## in Loop: Header=BB6_45 Depth=1 leaq _PFR4_START(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq %r15, %rsi movl $5, %edx subq %rbx, %rdx callq _memcmp testl %eax, %eax je LBB6_182 LBB6_167: ## in Loop: Header=BB6_45 Depth=1 leaq _PFR5_START(%rip), %rdi movq %r12, %rsi movq %rbx, %rdx callq _memcmp movl $0, %ecx movq %rcx, -48(%rbp) ## 8-byte Spill testl %eax, %eax jne LBB6_45 ## %bb.168: ## in Loop: Header=BB6_45 Depth=1 leaq _PFR5_START(%rip), %rax leaq (%rax,%rbx), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rsi addq %r15, %rsi movl $5, %edx subq %rbx, %rdx callq _memcmp jmp LBB6_181 LBB6_169: ## in Loop: Header=BB6_45 Depth=1 movl _IDR5_START(%rip), %eax xorl (%r12), %eax movzbl _IDR5_START+4(%rip), %ecx xorb 4(%r12), %cl movzbl %cl, %ecx orl %eax, %ecx je LBB6_182 ## %bb.170: ## in Loop: Header=BB6_45 Depth=1 movl _PFR4_START(%rip), %eax xorl (%r12), %eax movzbl _PFR4_START+4(%rip), %ecx xorb 4(%r12), %cl movzbl %cl, %ecx orl %eax, %ecx je LBB6_182 ## %bb.171: ## in Loop: Header=BB6_45 Depth=1 movl _PFR5_START(%rip), %eax movl (%r12), %ecx bswapl %eax bswapl %ecx cmpl %ecx, %eax jne LBB6_180 ## %bb.172: ## in Loop: Header=BB6_45 Depth=1 movzbl _PFR5_START+4(%rip), %eax movzbl 4(%r12), %ecx subl %ecx, %eax jmp LBB6_181 LBB6_173: ## in Loop: Header=BB6_45 Depth=1 movl -56(%rbp), %eax ## 4-byte Reload movl %eax, -52(%rbp) ## 4-byte Spill xorl %eax, %eax movq %rax, -88(%rbp) ## 8-byte Spill movl $1, %eax LBB6_174: ## in Loop: Header=BB6_45 Depth=1 movq %rax, -48(%rbp) ## 8-byte Spill LBB6_175: ## in Loop: Header=BB6_45 Depth=1 movq _debug@GOTPCREL(%rip), %rax LBB6_176: ## in Loop: Header=BB6_45 Depth=1 movl $1, -120(%rbp) ## 4-byte Folded Spill cmpl $0, (%rax) movq %r15, -72(%rbp) ## 8-byte Spill je LBB6_45 ## %bb.177: ## in Loop: Header=BB6_45 Depth=1 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rbx leaq -112(%rbp), %rdi xorl %esi, %esi callq _gettimeofday imulq $1000, -112(%rbp), %rax ## imm = 0x3E8 movslq -104(%rbp), %rcx imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3 movq %rcx, %rdx shrq $63, %rdx sarq $38, %rcx addl %edx, %ecx movslq %ecx, %rdx addq %rax, %rdx movl %r12d, (%rsp) movq %rbx, %rdi leaq L_.str.39(%rip), %rsi movl -116(%rbp), %ecx ## 4-byte Reload movl -56(%rbp), %r8d ## 4-byte Reload movl -52(%rbp), %r9d ## 4-byte Reload xorl %eax, %eax callq _fprintf movq %r15, -72(%rbp) ## 8-byte Spill jmp LBB6_45 LBB6_178: ## in Loop: Header=BB6_45 Depth=1 movl $1, %ecx movq %rcx, -48(%rbp) ## 8-byte Spill xorl %ecx, %ecx movq %rcx, -88(%rbp) ## 8-byte Spill cmpl $0, (%rax) movq %r15, -72(%rbp) ## 8-byte Spill movl -56(%rbp), %eax ## 4-byte Reload movl %eax, -52(%rbp) ## 4-byte Spill movl $1, -120(%rbp) ## 4-byte Folded Spill je LBB6_45 ## %bb.179: ## in Loop: Header=BB6_45 Depth=1 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rbx xorl %eax, %eax movq %rax, -88(%rbp) ## 8-byte Spill leaq -112(%rbp), %rdi xorl %esi, %esi callq _gettimeofday imulq $1000, -112(%rbp), %rax ## imm = 0x3E8 movslq -104(%rbp), %rcx imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3 movq %rcx, %rdx shrq $63, %rdx sarq $38, %rcx addl %edx, %ecx movslq %ecx, %rdx addq %rax, %rdx movq %rbx, %rdi leaq L_.str.38(%rip), %rsi xorl %eax, %eax callq _fprintf movl $1, %eax movq %rax, -48(%rbp) ## 8-byte Spill movl -56(%rbp), %eax ## 4-byte Reload movl %eax, -52(%rbp) ## 4-byte Spill jmp LBB6_175 LBB6_180: ## in Loop: Header=BB6_45 Depth=1 setae %al movzbl %al, %eax addl %eax, %eax decl %eax LBB6_181: ## in Loop: Header=BB6_45 Depth=1 movl $0, %ecx movq %rcx, -48(%rbp) ## 8-byte Spill testl %eax, %eax jne LBB6_45 LBB6_182: ## in Loop: Header=BB6_45 Depth=1 movq _frame_header_size@GOTPCREL(%rip), %rax movslq (%rax), %rbx subq %rbx, %r12 testq %rbx, %rbx js LBB6_186 ## %bb.183: ## in Loop: Header=BB6_45 Depth=1 testl %ebx, %ebx je LBB6_188 ## %bb.184: ## in Loop: Header=BB6_45 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rax leaq (%r15,%rax), %rcx cmpq %rcx, %r12 movq -80(%rbp), %r15 ## 8-byte Reload jae LBB6_189 ## %bb.185: ## in Loop: Header=BB6_45 Depth=1 movq -96(%rbp), %rcx ## 8-byte Reload subq %rax, %rcx addq %rcx, %r12 jmp LBB6_189 LBB6_186: ## in Loop: Header=BB6_45 Depth=1 movq -64(%rbp), %rcx ## 8-byte Reload cmpq %rcx, %r12 jbe LBB6_190 ## %bb.187: ## in Loop: Header=BB6_45 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movslq (%rax), %rax subq -96(%rbp), %rax ## 8-byte Folded Reload addq %rax, %r12 LBB6_190: ## in Loop: Header=BB6_45 Depth=1 movq -80(%rbp), %r15 ## 8-byte Reload jmp LBB6_191 LBB6_188: ## in Loop: Header=BB6_45 Depth=1 movq -80(%rbp), %r15 ## 8-byte Reload LBB6_189: ## in Loop: Header=BB6_45 Depth=1 movq -64(%rbp), %rcx ## 8-byte Reload LBB6_191: ## in Loop: Header=BB6_45 Depth=1 leaq (%r12,%rbx), %rax movq %rax, -64(%rbp) ## 8-byte Spill cmpq %rcx, %rax jbe LBB6_194 ## %bb.192: ## in Loop: Header=BB6_45 Depth=1 subq %r12, %rcx movq %r15, %rdi movq %r12, %rsi movq %rcx, %r12 movq %rcx, %rdx callq _memcpy leaq (%r15,%r12), %rdi movq _buf_offset@GOTPCREL(%rip), %rax movl (%rax), %r15d movslq %r15d, %rcx movq -128(%rbp), %rax ## 8-byte Reload movq %rcx, -48(%rbp) ## 8-byte Spill leaq (%rax,%rcx), %rsi movq %rbx, %rdx subq %r12, %rdx callq _memcpy testl %ebx, %ebx jle LBB6_196 ## %bb.193: ## in Loop: Header=BB6_45 Depth=1 movq -96(%rbp), %rax ## 8-byte Reload ## kill: def $eax killed $eax killed $rax subl %r15d, %eax cltq movq -64(%rbp), %r8 ## 8-byte Reload subq %rax, %r8 movq -80(%rbp), %rsi ## 8-byte Reload jmp LBB6_200 LBB6_194: ## in Loop: Header=BB6_45 Depth=1 movq %r15, %rdi movq %r12, %rsi movq %rbx, %rdx callq _memcpy testl %ebx, %ebx jns LBB6_197 ## %bb.195: ## in Loop: Header=BB6_45 Depth=1 movq _buf_offset@GOTPCREL(%rip), %rax movl (%rax), %r15d movslq %r15d, %rcx jmp LBB6_198 LBB6_196: ## in Loop: Header=BB6_45 Depth=1 testl %ebx, %ebx movq -48(%rbp), %rcx ## 8-byte Reload js LBB6_198 LBB6_197: ## in Loop: Header=BB6_45 Depth=1 movq -80(%rbp), %rsi ## 8-byte Reload movq -64(%rbp), %r8 ## 8-byte Reload jmp LBB6_200 LBB6_198: ## in Loop: Header=BB6_45 Depth=1 movq -128(%rbp), %rax ## 8-byte Reload addq %rcx, %rax movq -64(%rbp), %r8 ## 8-byte Reload cmpq %rax, %r8 movq -80(%rbp), %rsi ## 8-byte Reload jae LBB6_200 ## %bb.199: ## in Loop: Header=BB6_45 Depth=1 movq -96(%rbp), %rax ## 8-byte Reload ## kill: def $eax killed $eax killed $rax subl %r15d, %eax cltq addq %rax, %r8 LBB6_200: ## in Loop: Header=BB6_45 Depth=1 movq _data_offset@GOTPCREL(%rip), %rax movslq (%rax), %rax movzbl 17(%rax,%rsi), %ecx movq _highres_byte@GOTPCREL(%rip), %rdx cmpl %ecx, (%rdx) movl $0, %r15d movl $1080, %edx ## imm = 0x438 cmovel %edx, %r15d movq _lowres_byte@GOTPCREL(%rip), %rdx cmpl %ecx, (%rdx) movl $360, %ecx ## imm = 0x168 cmovel %ecx, %r15d movq _resolution@GOTPCREL(%rip), %rcx cmpl (%rcx), %r15d jne LBB6_209 ## %bb.201: ## in Loop: Header=BB6_45 Depth=1 movl (%rsi), %edi movl %r13d, %ecx subl %r8d, %ecx movq _buf_offset@GOTPCREL(%rip), %rdx movq -96(%rbp), %rbx ## 8-byte Reload subl (%rdx), %ebx movl %ecx, %edx sarl $31, %edx andl %ebx, %edx addl %ecx, %edx movl %edi, -116(%rbp) ## 4-byte Spill cmpl %edi, %edx jle LBB6_211 ## %bb.202: ## in Loop: Header=BB6_45 Depth=1 movzwl 18(%rax,%rsi), %eax movl %eax, -56(%rbp) ## 4-byte Spill subl -52(%rbp), %eax ## 4-byte Folded Reload cmpl $20, %eax movq -88(%rbp), %rcx ## 8-byte Reload jg LBB6_205 ## %bb.203: ## in Loop: Header=BB6_45 Depth=1 movl -52(%rbp), %edx ## 4-byte Reload cmpl %edx, -56(%rbp) ## 4-byte Folded Reload jge LBB6_212 ## %bb.204: ## in Loop: Header=BB6_45 Depth=1 cmpl $-65514, %eax ## imm = 0xFFFF0016 jl LBB6_212 LBB6_205: ## in Loop: Header=BB6_45 Depth=1 xorl %eax, %eax movq %rax, -48(%rbp) ## 8-byte Spill movq _debug@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB6_207 ## %bb.206: ## in Loop: Header=BB6_45 Depth=1 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %r12 leaq -112(%rbp), %rdi xorl %esi, %esi movq %r8, %rbx callq _gettimeofday imulq $1000, -112(%rbp), %rax ## imm = 0x3E8 movslq -104(%rbp), %rcx imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3 movq %rcx, %rdx shrq $63, %rdx sarq $38, %rcx addl %edx, %ecx movslq %ecx, %rdx addq %rax, %rdx movq %r12, %rdi leaq L_.str.37(%rip), %rsi movl -56(%rbp), %ecx ## 4-byte Reload movl -52(%rbp), %r8d ## 4-byte Reload xorl %eax, %eax callq _fprintf movq %rbx, %r8 movq -88(%rbp), %rcx ## 8-byte Reload movq _debug@GOTPCREL(%rip), %rax LBB6_207: ## in Loop: Header=BB6_45 Depth=1 cmpl $40, %ecx jge LBB6_217 ## %bb.208: ## in Loop: Header=BB6_45 Depth=1 incl %ecx movq %rcx, -88(%rbp) ## 8-byte Spill jmp LBB6_215 LBB6_209: ## in Loop: Header=BB6_45 Depth=1 movq _debug@GOTPCREL(%rip), %rax testb $1, (%rax) movl $0, %eax movq %rax, -48(%rbp) ## 8-byte Spill je LBB6_45 ## %bb.210: ## in Loop: Header=BB6_45 Depth=1 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rbx xorl %eax, %eax movq %rax, -48(%rbp) ## 8-byte Spill leaq -112(%rbp), %rdi xorl %esi, %esi callq _gettimeofday imulq $1000, -112(%rbp), %rax ## imm = 0x3E8 movslq -104(%rbp), %rcx imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3 movq %rcx, %rdx shrq $63, %rdx sarq $38, %rcx addl %edx, %ecx movslq %ecx, %rdx addq %rax, %rdx movq %rbx, %rdi leaq L_.str.40(%rip), %rsi xorl %eax, %eax callq _fprintf jmp LBB6_45 LBB6_211: ## in Loop: Header=BB6_45 Depth=1 xorl %eax, %eax jmp LBB6_213 LBB6_212: ## in Loop: Header=BB6_45 Depth=1 movl -56(%rbp), %eax ## 4-byte Reload movl %eax, -52(%rbp) ## 4-byte Spill xorl %eax, %eax movq %rax, -88(%rbp) ## 8-byte Spill movl $1, %eax LBB6_213: ## in Loop: Header=BB6_45 Depth=1 movq %rax, -48(%rbp) ## 8-byte Spill LBB6_214: ## in Loop: Header=BB6_45 Depth=1 movq _debug@GOTPCREL(%rip), %rax LBB6_215: ## in Loop: Header=BB6_45 Depth=1 cmpl $0, (%rax) movq %r8, -72(%rbp) ## 8-byte Spill je LBB6_45 ## %bb.216: ## in Loop: Header=BB6_45 Depth=1 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %r12 leaq -112(%rbp), %rdi xorl %esi, %esi movq %r8, %rbx callq _gettimeofday imulq $1000, -112(%rbp), %rax ## imm = 0x3E8 movslq -104(%rbp), %rcx imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3 movq %rcx, %rdx shrq $63, %rdx sarq $38, %rcx addl %edx, %ecx movslq %ecx, %rdx addq %rax, %rdx movl %r15d, (%rsp) movq %r12, %rdi leaq L_.str.41(%rip), %rsi movl -116(%rbp), %ecx ## 4-byte Reload movl -56(%rbp), %r8d ## 4-byte Reload movl -52(%rbp), %r9d ## 4-byte Reload xorl %eax, %eax callq _fprintf movq %rbx, -72(%rbp) ## 8-byte Spill jmp LBB6_45 LBB6_217: ## in Loop: Header=BB6_45 Depth=1 movl $1, %ecx movq %rcx, -48(%rbp) ## 8-byte Spill xorl %ecx, %ecx movq %rcx, -88(%rbp) ## 8-byte Spill cmpl $0, (%rax) movq %r8, -72(%rbp) ## 8-byte Spill movl -56(%rbp), %eax ## 4-byte Reload movl %eax, -52(%rbp) ## 4-byte Spill je LBB6_45 ## %bb.218: ## in Loop: Header=BB6_45 Depth=1 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %r12 xorl %eax, %eax movq %rax, -88(%rbp) ## 8-byte Spill leaq -112(%rbp), %rdi xorl %esi, %esi movq %r8, %rbx callq _gettimeofday imulq $1000, -112(%rbp), %rax ## imm = 0x3E8 movslq -104(%rbp), %rcx imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3 movq %rcx, %rdx shrq $63, %rdx sarq $38, %rcx addl %edx, %ecx movslq %ecx, %rdx addq %rax, %rdx movq %r12, %rdi leaq L_.str.38(%rip), %rsi xorl %eax, %eax callq _fprintf movq %rbx, %r8 movl $1, %eax movq %rax, -48(%rbp) ## 8-byte Spill movl -56(%rbp), %eax ## 4-byte Reload movl %eax, -52(%rbp) ## 4-byte Spill jmp LBB6_214 LBB6_219: movq (%r14), %rdi callq _print_usage movl $-1, %eax jmp LBB6_222 LBB6_220: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.32(%rip), %rsi leaq L_.str.30(%rip), %rdx xorl %eax, %eax callq _fprintf movl $-1, %eax jmp LBB6_222 LBB6_221: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.33(%rip), %rsi leaq L_.str.30(%rip), %rdx xorl %eax, %eax callq _fprintf movq %r14, %rdi callq _fclose movl $-2, %eax LBB6_222: addq $104, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L6_0_set_1, LBB6_1-LJTI6_0 .set L6_0_set_219, LBB6_219-LJTI6_0 .set L6_0_set_4, LBB6_4-LJTI6_0 .set L6_0_set_18, LBB6_18-LJTI6_0 .set L6_0_set_21, LBB6_21-LJTI6_0 LJTI6_0: .long L6_0_set_1 .long L6_0_set_219 .long L6_0_set_219 .long L6_0_set_219 .long L6_0_set_219 .long L6_0_set_219 .long L6_0_set_219 .long L6_0_set_219 .long L6_0_set_219 .long L6_0_set_4 .long L6_0_set_219 .long L6_0_set_219 .long L6_0_set_219 .long L6_0_set_219 .long L6_0_set_18 .long L6_0_set_21 .end_data_region ## -- End function .section __DATA,__data .globl _IDR4 ## @IDR4 _IDR4: .ascii "e\270" .globl _NALx_START ## @NALx_START _NALx_START: .ascii "\000\000\000\001" .globl _IDR4_START ## @IDR4_START _IDR4_START: .ascii "\000\000\000\001e\210" .globl _IDR5_START ## @IDR5_START _IDR5_START: .ascii "\000\000\000\001&" .globl _PFR4_START ## @PFR4_START _PFR4_START: .ascii "\000\000\000\001A" .globl _PFR5_START ## @PFR5_START _PFR5_START: .ascii "\000\000\000\001\002" .globl _SPS4_START ## @SPS4_START _SPS4_START: .ascii "\000\000\000\001g" .globl _SPS5_START ## @SPS5_START _SPS5_START: .ascii "\000\000\000\001B" .globl _PPS4_START ## @PPS4_START _PPS4_START: .ascii "\000\000\000\001h" .globl _PPS5_START ## @PPS5_START _PPS5_START: .ascii "\000\000\000\001D" .globl _VPS5_START ## @VPS5_START _VPS5_START: .ascii "\000\000\000\001@" .globl _SPS4_640X360 ## @SPS4_640X360 .p2align 4 _SPS4_640X360: .ascii "\000\000\000\001gM\000\024\226T\005\001{\3137\001\001\001\002" .globl _SPS4_640X360_TI ## @SPS4_640X360_TI .p2align 4 _SPS4_640X360_TI: .ascii "\000\000\000\001gM\000\024\226T\005\001{\3137\001\001\001@\000\000}\000\000\023\210!" .globl _SPS4_1920X1080 ## @SPS4_1920X1080 .p2align 4 _SPS4_1920X1080: .ascii "\000\000\000\001gM\000 \226T\003\300\021/,\334\004\004\004\b" .globl _SPS4_1920X1080_TI ## @SPS4_1920X1080_TI .p2align 4 _SPS4_1920X1080_TI: .ascii "\000\000\000\001gM\000 \226T\003\300\021/,\334\004\004\005\000\000\003\001\364\000\000N \204" .globl _SPS4_2304X1296 ## @SPS4_2304X1296 .p2align 4 _SPS4_2304X1296: .ascii "\000\000\000\001gM\000 \226T\001 \005\0317\001\001\001\002" .globl _SPS4_2304X1296_TI ## @SPS4_2304X1296_TI .p2align 4 _SPS4_2304X1296_TI: .ascii "\000\000\000\001gM\000 \226T\001 \005\0317\001\000\000@\000\000}\000\000\023\210!" .globl _SPS4_2_640X360 ## @SPS4_2_640X360 .p2align 4 _SPS4_2_640X360: .ascii "\000\000\000\001gd\000\024\254,\250\n\002\367\226n\002\002\002\004" .globl _SPS4_2_640X360_TI ## @SPS4_2_640X360_TI .p2align 4 _SPS4_2_640X360_TI: .ascii "\000\000\000\001gd\000\024\254,\250\n\002\367\226n\002\002\002\200\000\000\372\000\000'\020B" .globl _SPS4_2_1920X1080 ## @SPS4_2_1920X1080 .p2align 4 _SPS4_2_1920X1080: .ascii "\000\000\000\001gd\000 \254,\250\007\200\"^Y\270\b\b\b\020" .globl _SPS4_2_1920X1080_TI ## @SPS4_2_1920X1080_TI .p2align 4 _SPS4_2_1920X1080_TI: .ascii "\000\000\000\001gd\000 \254,\250\007\200\"^Y\270\b\b\n\000\000\003\003\350\000\000\234A\b" .globl _SPS4_2_2304X1296 ## @SPS4_2_2304X1296 .p2align 4 _SPS4_2_2304X1296: .ascii "\000\000\000\001gd\000 \254,\250\002@\n2n\002\002\002\004" .globl _SPS4_2_2304X1296_TI ## @SPS4_2_2304X1296_TI .p2align 4 _SPS4_2_2304X1296_TI: .ascii "\000\000\000\001gd\000 \254,\250\002@\n2n\002\002\002\200\000\000\372\000\000'\020B" .globl _VPS5_1920X1080 ## @VPS5_1920X1080 .p2align 4 _VPS5_1920X1080: .ascii "\000\000\000\001@\001\f\001\377\377\001`\000\000\003\000\000\003\000\000\003\000\000\003\000{\254\t" .globl _VPS5_1920X1080_TI ## @VPS5_1920X1080_TI .p2align 4 _VPS5_1920X1080_TI: .ascii "\000\000\000\001@\001\f\001\377\377\001`\000\000\003\000\000\003\000\000\003\000\000\003\000{\254\f\000\000\017\244\000\0018\201@" .comm _addr,8,3 ## @addr .comm _buf_size,4,2 ## @buf_size .comm _buf_offset,4,2 ## @buf_offset .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\nUsage: %s [-r RES] [-d]\n\n" L_.str.1: ## @.str.1 .asciz "\t-m MODEL, --model MODEL\n" L_.str.2: ## @.str.2 .asciz "\t\tset model: y21ga, y211ga, h30ga, r30gb, r40ga, h51ga, h52ga, h60ga, y28ga, q321br_lsx, qg311r or b091qp (default y21ga)\n" L_.str.3: ## @.str.3 .asciz "\t-r RES, --resolution RES\n" L_.str.4: ## @.str.4 .asciz "\t\tset resolution: LOW or HIGH (default HIGH)\n" L_.str.5: ## @.str.5 .asciz "\t-s, --sti\n" L_.str.6: ## @.str.6 .asciz "\t\tdon't overwrite SPS timing info (default overwrite)\n" L_.str.7: ## @.str.7 .asciz "\t-d, --debug\n" L_.str.8: ## @.str.8 .asciz "\t\tenable debug\n" .comm _resolution,4,2 ## @resolution .comm _sps_timing_info,4,2 ## @sps_timing_info .comm _debug,4,2 ## @debug .comm _frame_header_size,4,2 ## @frame_header_size .comm _data_offset,4,2 ## @data_offset .comm _lowres_byte,4,2 ## @lowres_byte .comm _highres_byte,4,2 ## @highres_byte .section __DATA,__data .p2align 4 ## @main.long_options _main.long_options: .quad L_.str.9 .long 1 ## 0x1 .space 4 .quad 0 .long 109 ## 0x6d .space 4 .quad L_.str.10 .long 1 ## 0x1 .space 4 .quad 0 .long 114 ## 0x72 .space 4 .quad L_.str.11 .long 0 ## 0x0 .space 4 .quad 0 .long 115 ## 0x73 .space 4 .quad L_.str.12 .long 0 ## 0x0 .space 4 .quad 0 .long 100 ## 0x64 .space 4 .quad L_.str.13 .long 0 ## 0x0 .space 4 .quad 0 .long 104 ## 0x68 .space 4 .space 32 .section __TEXT,__cstring,cstring_literals L_.str.9: ## @.str.9 .asciz "model" L_.str.10: ## @.str.10 .asciz "resolution" L_.str.11: ## @.str.11 .asciz "sti" L_.str.12: ## @.str.12 .asciz "debug" L_.str.13: ## @.str.13 .asciz "help" L_.str.14: ## @.str.14 .asciz "m:r:sdh" L_.str.15: ## @.str.15 .asciz "y21ga" L_.str.16: ## @.str.16 .asciz "y211ga" L_.str.17: ## @.str.17 .asciz "h30ga" L_.str.18: ## @.str.18 .asciz "r30gb" L_.str.19: ## @.str.19 .asciz "r40ga" L_.str.20: ## @.str.20 .asciz "h51ga" L_.str.21: ## @.str.21 .asciz "h52ga" L_.str.22: ## @.str.22 .asciz "h60ga" L_.str.23: ## @.str.23 .asciz "y28ga" L_.str.24: ## @.str.24 .asciz "q321br_lsx" L_.str.25: ## @.str.25 .asciz "qg311r" L_.str.26: ## @.str.26 .asciz "b091qp" L_.str.27: ## @.str.27 .asciz "low" L_.str.28: ## @.str.28 .asciz "high" L_.str.29: ## @.str.29 .asciz "debug on\n" L_.str.30: ## @.str.30 .asciz "/dev/shm/fshare_frame_buf" L_.str.31: ## @.str.31 .asciz "r" L_.str.32: ## @.str.32 .asciz "error - could not open file %s\n" L_.str.33: ## @.str.33 .asciz "error - mapping file %s\n" L_.str.34: ## @.str.34 .asciz "mapping file %s, size %d, to %08x\n" L_.str.35: ## @.str.35 .asciz "closing the file %s\n" L_.str.36: ## @.str.36 .asciz "starting capture main loop\n" L_.str.37: ## @.str.37 .asciz "%lld: warning - incorrect frame counter - frame_counter: %d - frame_counter_last_valid: %d\n" L_.str.38: ## @.str.38 .asciz "%lld: error - sync lost\n" L_.str.39: ## @.str.39 .asciz "%lld: SPS detected - frame_len: %d - frame_counter: %d - frame_counter_last_valid: %d - resolution: %d\n" L_.str.40: ## @.str.40 .asciz "%lld: warning - unexpected NALU header\n" L_.str.41: ## @.str.41 .asciz "%lld: frame detected - frame_len: %d - frame_counter: %d - frame_counter_last_valid: %d - resolution: %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _current_timestamp ; -- Begin function current_timestamp .p2align 2 _current_timestamp: ; @current_timestamp .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x0, sp mov x1, #0 bl _gettimeofday ldr x8, [sp] mov w9, #1000 mul x8, x8, x9 ldrsw x9, [sp, #8] mov w10, #19923 movk w10, #4194, lsl #16 mul x9, x9, x10 lsr x10, x9, #63 asr x9, x9, #38 add w9, w9, w10 add x0, x8, w9, sxtw ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _cb_memmem ; -- Begin function cb_memmem .p2align 2 _cb_memmem: ; @cb_memmem .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 ; kill: def $w3 killed $w3 def $x3 mov x19, x2 mov x21, x1 mov x20, x0 tbnz w1, #31, LBB1_3 ; %bb.1: mov w1, w21 ; kill: def $w3 killed $w3 killed $x3 def $x3 sxtw x3, w3 mov x0, x20 mov x2, x19 LBB1_2: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _memmem LBB1_3: Lloh0: adrp x23, _addr@GOTPAGE Lloh1: ldr x23, [x23, _addr@GOTPAGEOFF] ldr x8, [x23] Lloh2: adrp x9, _buf_size@GOTPAGE Lloh3: ldr x9, [x9, _buf_size@GOTPAGEOFF] Lloh4: ldrsw x9, [x9] add x8, x8, x9 sub x1, x8, x20 sxtw x22, w3 mov x0, x20 mov x2, x19 mov x3, x22 bl _memmem cbz x0, LBB1_5 ; %bb.4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB1_5: ldr x8, [x23] Lloh5: adrp x9, _buf_offset@GOTPAGE Lloh6: ldr x9, [x9, _buf_offset@GOTPAGEOFF] Lloh7: ldrsw x9, [x9] add x10, x20, w21, sxtw add x0, x8, x9 sub x1, x10, x0 mov x2, x19 mov x3, x22 b LBB1_2 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .globl _cb_move ; -- Begin function cb_move .p2align 2 _cb_move: ; @cb_move .cfi_startproc ; %bb.0: add x0, x0, w1, sxtw cmp w1, #1 b.lt LBB2_4 ; %bb.1: Lloh8: adrp x8, _addr@GOTPAGE Lloh9: ldr x8, [x8, _addr@GOTPAGEOFF] Lloh10: ldr x9, [x8] Lloh11: adrp x8, _buf_size@GOTPAGE Lloh12: ldr x8, [x8, _buf_size@GOTPAGEOFF] Lloh13: ldrsw x8, [x8] add x9, x9, x8 cmp x0, x9 b.ls LBB2_7 ; %bb.2: Lloh14: adrp x9, _buf_offset@GOTPAGE Lloh15: ldr x9, [x9, _buf_offset@GOTPAGEOFF] LBB2_3: ldrsw x9, [x9] sub x8, x9, x8 add x0, x0, x8 b LBB2_7 LBB2_4: tbz w1, #31, LBB2_7 ; %bb.5: Lloh16: adrp x8, _addr@GOTPAGE Lloh17: ldr x8, [x8, _addr@GOTPAGEOFF] Lloh18: ldr x9, [x8] Lloh19: adrp x8, _buf_offset@GOTPAGE Lloh20: ldr x8, [x8, _buf_offset@GOTPAGEOFF] Lloh21: ldrsw x8, [x8] add x9, x9, x8 cmp x0, x9 b.hs LBB2_7 ; %bb.6: Lloh22: adrp x9, _buf_size@GOTPAGE Lloh23: ldr x9, [x9, _buf_size@GOTPAGEOFF] b LBB2_3 LBB2_7: ret .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGot Lloh22, Lloh23 .cfi_endproc ; -- End function .globl _cb_memcmp ; -- Begin function cb_memcmp .p2align 2 _cb_memcmp: ; @cb_memcmp .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x0 add x9, x1, x2 Lloh24: adrp x8, _addr@GOTPAGE Lloh25: ldr x8, [x8, _addr@GOTPAGEOFF] Lloh26: ldr x22, [x8] Lloh27: adrp x8, _buf_size@GOTPAGE Lloh28: ldr x8, [x8, _buf_size@GOTPAGEOFF] Lloh29: ldrsw x8, [x8] add x8, x22, x8 cmp x9, x8 b.ls LBB3_3 ; %bb.1: sub x21, x8, x1 mov x0, x20 mov x2, x21 bl _memcmp cbz w0, LBB3_4 ; %bb.2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB3_3: mov x0, x20 mov x2, x19 b LBB3_5 LBB3_4: add x0, x20, x21 Lloh30: adrp x8, _buf_offset@GOTPAGE Lloh31: ldr x8, [x8, _buf_offset@GOTPAGEOFF] Lloh32: ldrsw x8, [x8] add x1, x22, x8 sub x2, x19, x21 LBB3_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 b _memcmp .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .cfi_endproc ; -- End function .globl _cb2s_memcpy ; -- Begin function cb2s_memcpy .p2align 2 _cb2s_memcpy: ; @cb2s_memcpy .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 add x9, x1, x2 Lloh33: adrp x22, _addr@GOTPAGE Lloh34: ldr x22, [x22, _addr@GOTPAGEOFF] ldr x8, [x22] Lloh35: adrp x23, _buf_size@GOTPAGE Lloh36: ldr x23, [x23, _buf_size@GOTPAGEOFF] ldrsw x10, [x23] add x8, x8, x10 cmp x9, x8 b.ls LBB4_2 ; %bb.1: sub x2, x8, x20 mov x0, x21 mov x1, x20 bl _memcpy ldr x8, [x22] ldrsw x9, [x23] add x9, x8, x9 sub x9, x9, x20 add x0, x21, x9 Lloh37: adrp x10, _buf_offset@GOTPAGE Lloh38: ldr x10, [x10, _buf_offset@GOTPAGEOFF] Lloh39: ldrsw x10, [x10] add x1, x8, x10 sub x2, x19, x9 b LBB4_3 LBB4_2: mov x0, x21 mov x1, x20 mov x2, x19 LBB4_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 b _memcpy .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .cfi_endproc ; -- End function .globl _print_usage ; -- Begin function print_usage .p2align 2 _print_usage: ; @print_usage .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 Lloh40: adrp x19, ___stderrp@GOTPAGE Lloh41: ldr x19, [x19, ___stderrp@GOTPAGEOFF] ldr x8, [x19] str x0, [sp] Lloh42: adrp x1, l_.str@PAGE Lloh43: add x1, x1, l_.str@PAGEOFF mov x0, x8 bl _fprintf ldr x3, [x19] Lloh44: adrp x0, l_.str.1@PAGE Lloh45: add x0, x0, l_.str.1@PAGEOFF mov w1, #25 mov w2, #1 bl _fwrite ldr x3, [x19] Lloh46: adrp x0, l_.str.2@PAGE Lloh47: add x0, x0, l_.str.2@PAGEOFF mov w1, #122 mov w2, #1 bl _fwrite ldr x3, [x19] Lloh48: adrp x0, l_.str.3@PAGE Lloh49: add x0, x0, l_.str.3@PAGEOFF mov w1, #26 mov w2, #1 bl _fwrite ldr x3, [x19] Lloh50: adrp x0, l_.str.4@PAGE Lloh51: add x0, x0, l_.str.4@PAGEOFF mov w1, #45 mov w2, #1 bl _fwrite ldr x3, [x19] Lloh52: adrp x0, l_.str.5@PAGE Lloh53: add x0, x0, l_.str.5@PAGEOFF mov w1, #11 mov w2, #1 bl _fwrite ldr x3, [x19] Lloh54: adrp x0, l_.str.6@PAGE Lloh55: add x0, x0, l_.str.6@PAGEOFF mov w1, #54 mov w2, #1 bl _fwrite ldr x3, [x19] Lloh56: adrp x0, l_.str.7@PAGE Lloh57: add x0, x0, l_.str.7@PAGEOFF mov w1, #13 mov w2, #1 bl _fwrite ldr x3, [x19] Lloh58: adrp x0, l_.str.8@PAGE Lloh59: add x0, x0, l_.str.8@PAGEOFF mov w1, #15 mov w2, #1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 b _fwrite .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpLdrGot Lloh40, Lloh41 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #224 .cfi_def_cfa_offset 224 stp x28, x27, [sp, #128] ; 16-byte Folded Spill stp x26, x25, [sp, #144] ; 16-byte Folded Spill stp x24, x23, [sp, #160] ; 16-byte Folded Spill stp x22, x21, [sp, #176] ; 16-byte Folded Spill stp x20, x19, [sp, #192] ; 16-byte Folded Spill stp x29, x30, [sp, #208] ; 16-byte Folded Spill add x29, sp, #208 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 mov w15, #16752 movk w15, #27, lsl #16 Lloh60: adrp x8, _resolution@GOTPAGE Lloh61: ldr x8, [x8, _resolution@GOTPAGEOFF] mov w16, #1080 Lloh62: adrp x9, _sps_timing_info@GOTPAGE Lloh63: ldr x9, [x9, _sps_timing_info@GOTPAGEOFF] Lloh64: adrp x10, _debug@GOTPAGE Lloh65: ldr x10, [x10, _debug@GOTPAGEOFF] Lloh66: adrp x28, _buf_offset@GOTPAGE Lloh67: ldr x28, [x28, _buf_offset@GOTPAGEOFF] mov w17, #1 mov w0, #368 Lloh68: adrp x24, _buf_size@GOTPAGE Lloh69: ldr x24, [x24, _buf_size@GOTPAGEOFF] Lloh70: adrp x11, _frame_header_size@GOTPAGE Lloh71: ldr x11, [x11, _frame_header_size@GOTPAGEOFF] Lloh72: adrp x12, _data_offset@GOTPAGE Lloh73: ldr x12, [x12, _data_offset@GOTPAGEOFF] Lloh74: adrp x21, l_.str.14@PAGE Lloh75: add x21, x21, l_.str.14@PAGEOFF Lloh76: adrp x13, _lowres_byte@GOTPAGE Lloh77: ldr x13, [x13, _lowres_byte@GOTPAGEOFF] mov w1, #28 Lloh78: adrp x14, _highres_byte@GOTPAGE Lloh79: ldr x14, [x14, _highres_byte@GOTPAGEOFF] Lloh80: adrp x22, _main.long_options@PAGE Lloh81: add x22, x22, _main.long_options@PAGEOFF Lloh82: str w16, [x8] mov w23, #4 Lloh83: adrp x27, lJTI6_0@PAGE Lloh84: add x27, x27, lJTI6_0@PAGEOFF Lloh85: str w17, [x9] Lloh86: str wzr, [x10] str w0, [x28] str w15, [x24] Lloh87: str w1, [x11] mov w8, #8 Lloh88: str w23, [x12] Lloh89: str w8, [x13] Lloh90: str w23, [x14] Lloh91: adrp x25, _optarg@GOTPAGE Lloh92: ldr x25, [x25, _optarg@GOTPAGEOFF] sub w8, w15, #68 str w8, [sp, #104] ; 4-byte Folded Spill mov w8, #300 movk w8, #8, lsl #16 add w8, w8, #68 str w8, [sp, #96] ; 4-byte Folded Spill b LBB6_2 LBB6_1: ; in Loop: Header=BB6_2 Depth=1 Lloh93: adrp x8, ___stderrp@GOTPAGE Lloh94: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh95: ldr x3, [x8] Lloh96: adrp x0, l_.str.29@PAGE Lloh97: add x0, x0, l_.str.29@PAGEOFF mov w1, #9 mov w2, #1 bl _fwrite Lloh98: adrp x8, _debug@GOTPAGE Lloh99: ldr x8, [x8, _debug@GOTPAGEOFF] mov w9, #1 Lloh100: str w9, [x8] LBB6_2: ; =>This Inner Loop Header: Depth=1 stur wzr, [x29, #-96] sub x4, x29, #96 mov x0, x20 mov x1, x19 mov x2, x21 mov x3, x22 bl _getopt_long sub w8, w0, #100 cmp w8, #15 b.hi LBB6_17 ; %bb.3: ; in Loop: Header=BB6_2 Depth=1 adr x9, LBB6_1 ldrh w10, [x27, x8, lsl #1] add x9, x9, x10, lsl #2 br x9 LBB6_4: ; in Loop: Header=BB6_2 Depth=1 ldr x26, [x25] Lloh101: adrp x0, l_.str.15@PAGE Lloh102: add x0, x0, l_.str.15@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_22 ; %bb.5: ; in Loop: Header=BB6_2 Depth=1 Lloh103: adrp x0, l_.str.16@PAGE Lloh104: add x0, x0, l_.str.16@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_22 ; %bb.6: ; in Loop: Header=BB6_2 Depth=1 Lloh105: adrp x0, l_.str.17@PAGE Lloh106: add x0, x0, l_.str.17@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_22 ; %bb.7: ; in Loop: Header=BB6_2 Depth=1 Lloh107: adrp x0, l_.str.18@PAGE Lloh108: add x0, x0, l_.str.18@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_27 ; %bb.8: ; in Loop: Header=BB6_2 Depth=1 Lloh109: adrp x0, l_.str.19@PAGE Lloh110: add x0, x0, l_.str.19@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_28 ; %bb.9: ; in Loop: Header=BB6_2 Depth=1 Lloh111: adrp x0, l_.str.20@PAGE Lloh112: add x0, x0, l_.str.20@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_31 ; %bb.10: ; in Loop: Header=BB6_2 Depth=1 Lloh113: adrp x0, l_.str.21@PAGE Lloh114: add x0, x0, l_.str.21@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_30 ; %bb.11: ; in Loop: Header=BB6_2 Depth=1 Lloh115: adrp x0, l_.str.22@PAGE Lloh116: add x0, x0, l_.str.22@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_30 ; %bb.12: ; in Loop: Header=BB6_2 Depth=1 Lloh117: adrp x0, l_.str.23@PAGE Lloh118: add x0, x0, l_.str.23@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_30 ; %bb.13: ; in Loop: Header=BB6_2 Depth=1 Lloh119: adrp x0, l_.str.24@PAGE Lloh120: add x0, x0, l_.str.24@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_16 ; %bb.14: ; in Loop: Header=BB6_2 Depth=1 Lloh121: adrp x0, l_.str.25@PAGE Lloh122: add x0, x0, l_.str.25@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_16 ; %bb.15: ; in Loop: Header=BB6_2 Depth=1 Lloh123: adrp x0, l_.str.26@PAGE Lloh124: add x0, x0, l_.str.26@PAGEOFF mov x1, x26 bl _strcasecmp cbnz w0, LBB6_2 LBB6_16: ; in Loop: Header=BB6_2 Depth=1 mov w8, #300 str w8, [x28] mov w8, #300 movk w8, #8, lsl #16 b LBB6_29 LBB6_17: ; in Loop: Header=BB6_2 Depth=1 cmp w0, #63 b.eq LBB6_2 b LBB6_32 LBB6_18: ; in Loop: Header=BB6_2 Depth=1 ldr x26, [x25] Lloh125: adrp x0, l_.str.27@PAGE Lloh126: add x0, x0, l_.str.27@PAGEOFF mov x1, x26 bl _strcasecmp cbz w0, LBB6_26 ; %bb.19: ; in Loop: Header=BB6_2 Depth=1 Lloh127: adrp x0, l_.str.28@PAGE Lloh128: add x0, x0, l_.str.28@PAGEOFF mov x1, x26 bl _strcasecmp cbnz w0, LBB6_2 ; %bb.20: ; in Loop: Header=BB6_2 Depth=1 Lloh129: adrp x8, _resolution@GOTPAGE Lloh130: ldr x8, [x8, _resolution@GOTPAGEOFF] mov w9, #1080 Lloh131: str w9, [x8] b LBB6_2 LBB6_21: ; in Loop: Header=BB6_2 Depth=1 Lloh132: adrp x8, _sps_timing_info@GOTPAGE Lloh133: ldr x8, [x8, _sps_timing_info@GOTPAGEOFF] Lloh134: str wzr, [x8] b LBB6_2 LBB6_22: ; in Loop: Header=BB6_2 Depth=1 mov w8, #368 str w8, [x28] mov w8, #16752 movk w8, #27, lsl #16 LBB6_23: ; in Loop: Header=BB6_2 Depth=1 str w8, [x24] Lloh135: adrp x8, _frame_header_size@GOTPAGE Lloh136: ldr x8, [x8, _frame_header_size@GOTPAGEOFF] mov w9, #28 LBB6_24: ; in Loop: Header=BB6_2 Depth=1 str w9, [x8] Lloh137: adrp x8, _data_offset@GOTPAGE Lloh138: ldr x8, [x8, _data_offset@GOTPAGEOFF] Lloh139: str w23, [x8] LBB6_25: ; in Loop: Header=BB6_2 Depth=1 Lloh140: adrp x8, _lowres_byte@GOTPAGE Lloh141: ldr x8, [x8, _lowres_byte@GOTPAGEOFF] mov w9, #8 Lloh142: str w9, [x8] Lloh143: adrp x8, _highres_byte@GOTPAGE Lloh144: ldr x8, [x8, _highres_byte@GOTPAGEOFF] Lloh145: str w23, [x8] b LBB6_2 LBB6_26: ; in Loop: Header=BB6_2 Depth=1 Lloh146: adrp x8, _resolution@GOTPAGE Lloh147: ldr x8, [x8, _resolution@GOTPAGEOFF] mov w9, #360 Lloh148: str w9, [x8] b LBB6_2 LBB6_27: ; in Loop: Header=BB6_2 Depth=1 mov w8, #300 str w8, [x28] ldr w8, [sp, #104] ; 4-byte Folded Reload str w8, [x24] Lloh149: adrp x8, _frame_header_size@GOTPAGE Lloh150: ldr x8, [x8, _frame_header_size@GOTPAGEOFF] mov w9, #22 Lloh151: str w9, [x8] Lloh152: adrp x8, _data_offset@GOTPAGE Lloh153: ldr x8, [x8, _data_offset@GOTPAGEOFF] Lloh154: str wzr, [x8] b LBB6_25 LBB6_28: ; in Loop: Header=BB6_2 Depth=1 mov w8, #300 str w8, [x28] ldr w8, [sp, #104] ; 4-byte Folded Reload LBB6_29: ; in Loop: Header=BB6_2 Depth=1 str w8, [x24] Lloh155: adrp x8, _frame_header_size@GOTPAGE Lloh156: ldr x8, [x8, _frame_header_size@GOTPAGEOFF] mov w9, #26 b LBB6_24 LBB6_30: ; in Loop: Header=BB6_2 Depth=1 mov w8, #368 str w8, [x28] mov w8, #368 movk w8, #16, lsl #16 b LBB6_23 LBB6_31: ; in Loop: Header=BB6_2 Depth=1 mov w8, #368 str w8, [x28] ldr w8, [sp, #96] ; 4-byte Folded Reload b LBB6_23 LBB6_32: cmn w0, #1 b.ne LBB6_243 ; %bb.33: Lloh157: adrp x8, _frame_header_size@GOTPAGE Lloh158: ldr x8, [x8, _frame_header_size@GOTPAGEOFF] Lloh159: ldrsw x0, [x8] bl _malloc mov x23, x0 Lloh160: adrp x21, l_.str.30@PAGE Lloh161: add x21, x21, l_.str.30@PAGEOFF Lloh162: adrp x1, l_.str.31@PAGE Lloh163: add x1, x1, l_.str.31@PAGEOFF mov x0, x21 bl _fopen cbz x0, LBB6_244 ; %bb.34: mov x20, x0 ldrsw x22, [x24] bl _fileno mov x4, x0 mov x0, #0 mov x1, x22 mov w2, #1 mov w3, #1 mov x5, #0 bl _mmap Lloh164: adrp x22, _addr@GOTPAGE Lloh165: ldr x22, [x22, _addr@GOTPAGEOFF] str x0, [x22] cmn x0, #1 b.eq LBB6_245 ; %bb.35: Lloh166: adrp x19, _debug@GOTPAGE Lloh167: ldr x19, [x19, _debug@GOTPAGEOFF] ldr w8, [x19] cbz w8, LBB6_38 ; %bb.36: Lloh168: adrp x8, ___stderrp@GOTPAGE Lloh169: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh170: ldr x8, [x8] ldr w9, [x24] stp x9, x0, [sp, #8] str x21, [sp] Lloh171: adrp x1, l_.str.34@PAGE Lloh172: add x1, x1, l_.str.34@PAGEOFF mov x0, x8 bl _fprintf ldr w8, [x19] cbz w8, LBB6_38 ; %bb.37: Lloh173: adrp x8, ___stderrp@GOTPAGE Lloh174: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh175: ldr x0, [x8] str x21, [sp] Lloh176: adrp x1, l_.str.35@PAGE Lloh177: add x1, x1, l_.str.35@PAGEOFF bl _fprintf LBB6_38: str x23, [sp, #88] ; 8-byte Folded Spill mov x0, x20 bl _fclose ldr x8, [x22] ldrsw x9, [x8, #16] ldrsw x10, [x28] add x8, x8, x10 add x21, x8, x9 ldr w8, [x19] cbz w8, LBB6_40 ; %bb.39: Lloh178: adrp x8, ___stderrp@GOTPAGE Lloh179: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh180: ldr x3, [x8] Lloh181: adrp x0, l_.str.36@PAGE Lloh182: add x0, x0, l_.str.36@PAGEOFF mov w1, #27 mov w2, #1 bl _fwrite LBB6_40: str xzr, [sp, #96] ; 8-byte Folded Spill str wzr, [sp, #44] ; 4-byte Folded Spill mov w27, #0 str wzr, [sp, #80] ; 4-byte Folded Spill Lloh183: adrp x20, _NALx_START@PAGE Lloh184: add x20, x20, _NALx_START@PAGEOFF ; implicit-def: $w8 str x8, [sp, #64] ; 8-byte Folded Spill mov w9, #-1 mov w8, #-1 stp x8, x9, [sp, #48] ; 16-byte Folded Spill b LBB6_44 LBB6_41: ; in Loop: Header=BB6_44 Depth=1 and x1, x23, #0xffffffff mov x0, x21 LBB6_42: ; in Loop: Header=BB6_44 Depth=1 mov x2, x20 mov w3, #4 bl _memmem mov x26, x0 cbnz x0, LBB6_48 ; %bb.43: ; in Loop: Header=BB6_44 Depth=1 mov w0, #25000 bl _usleep LBB6_44: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22] ldrsw x9, [x8, #16] ldrsw x10, [x28] add x10, x8, x10 add x19, x10, x9 sub x23, x19, x21 tbz w23, #31, LBB6_41 ; %bb.45: ; in Loop: Header=BB6_44 Depth=1 ldrsw x9, [x24] add x8, x8, x9 sub x1, x8, x21 mov x0, x21 mov x2, x20 mov w3, #4 bl _memmem cbnz x0, LBB6_47 ; %bb.46: ; in Loop: Header=BB6_44 Depth=1 ldr x8, [x22] ldrsw x9, [x28] add x10, x21, w23, sxtw add x0, x8, x9 sub x1, x10, x0 b LBB6_42 LBB6_47: ; in Loop: Header=BB6_44 Depth=1 mov x26, x0 LBB6_48: ; in Loop: Header=BB6_44 Depth=1 add x25, x26, #1 sub x19, x19, x25 tbnz w19, #31, LBB6_50 ; %bb.49: ; in Loop: Header=BB6_44 Depth=1 and x1, x19, #0xffffffff mov x0, x25 b LBB6_52 LBB6_50: ; in Loop: Header=BB6_44 Depth=1 ldr x8, [x22] ldrsw x9, [x24] add x8, x8, x9 sub x1, x8, x25 mov x0, x25 mov x2, x20 mov w3, #4 bl _memmem cbnz x0, LBB6_54 ; %bb.51: ; in Loop: Header=BB6_44 Depth=1 ldr x8, [x22] ldrsw x9, [x28] add x10, x25, w19, sxtw add x0, x8, x9 sub x1, x10, x0 LBB6_52: ; in Loop: Header=BB6_44 Depth=1 mov x2, x20 mov w3, #4 bl _memmem mov x21, x0 cbnz x0, LBB6_55 ; %bb.53: ; in Loop: Header=BB6_44 Depth=1 mov w0, #25000 bl _usleep mov x21, x26 b LBB6_44 LBB6_54: ; in Loop: Header=BB6_44 Depth=1 mov x21, x0 LBB6_55: ; in Loop: Header=BB6_44 Depth=1 cbz w27, LBB6_135 ; %bb.56: ; in Loop: Header=BB6_44 Depth=1 ldr w8, [sp, #80] ; 4-byte Folded Reload cbz w8, LBB6_135 ; %bb.57: ; in Loop: Header=BB6_44 Depth=1 Lloh185: adrp x8, _sps_timing_info@GOTPAGE Lloh186: ldr x8, [x8, _sps_timing_info@GOTPAGEOFF] Lloh187: ldr w8, [x8] cbz w8, LBB6_61 ; %bb.58: ; in Loop: Header=BB6_44 Depth=1 ldr x1, [sp, #96] ; 8-byte Folded Reload add x19, x1, #19 ldr x9, [x22] ldrsw x8, [x24] str x9, [sp, #104] ; 8-byte Folded Spill add x23, x9, x8 cmp x19, x23 b.ls LBB6_63 ; %bb.59: ; in Loop: Header=BB6_44 Depth=1 sub x25, x23, x1 Lloh188: adrp x0, _SPS4_640X360@PAGE Lloh189: add x0, x0, _SPS4_640X360@PAGEOFF ldr x1, [sp, #96] ; 8-byte Folded Reload mov x2, x25 bl _memcmp ldr x1, [sp, #96] ; 8-byte Folded Reload cbnz w0, LBB6_69 ; %bb.60: ; in Loop: Header=BB6_44 Depth=1 Lloh190: adrp x8, _SPS4_640X360@PAGE Lloh191: add x8, x8, _SPS4_640X360@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] ldr x9, [sp, #104] ; 8-byte Folded Reload add x1, x9, x8 mov w8, #19 sub x2, x8, x25 bl _memcmp ldr x1, [sp, #96] ; 8-byte Folded Reload b LBB6_68 LBB6_61: ; in Loop: Header=BB6_44 Depth=1 ldr x8, [sp, #64] ; 8-byte Folded Reload sxtw x25, w8 ldr x0, [sp, #96] ; 8-byte Folded Reload add x9, x0, x25 ldr x8, [x22] ldrsw x10, [x24] add x8, x8, x10 cmp x9, x8 b.ls LBB6_81 ; %bb.62: ; in Loop: Header=BB6_44 Depth=1 sub x2, x8, x0 Lloh192: adrp x19, ___stdoutp@GOTPAGE Lloh193: ldr x19, [x19, ___stdoutp@GOTPAGEOFF] ldr x3, [x19] mov x23, x0 mov w1, #1 bl _fwrite ldr x8, [x22] ldrsw x9, [x28] add x0, x8, x9 ldrsw x9, [x24] add x8, x8, x9 add x9, x25, x23 sub x2, x9, x8 ldr x3, [x19] mov w1, #1 b LBB6_134 LBB6_63: ; in Loop: Header=BB6_44 Depth=1 Lloh194: adrp x8, _SPS4_640X360@PAGE Lloh195: add x8, x8, _SPS4_640X360@PAGEOFF Lloh196: ldr x8, [x8] ldr x9, [x1] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_67 ; %bb.64: ; in Loop: Header=BB6_44 Depth=1 Lloh197: adrp x8, _SPS4_640X360@PAGE+8 Lloh198: add x8, x8, _SPS4_640X360@PAGEOFF+8 Lloh199: ldr x8, [x8] ldr x9, [x1, #8] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_67 ; %bb.65: ; in Loop: Header=BB6_44 Depth=1 Lloh200: adrp x8, _SPS4_640X360@PAGE+11 Lloh201: add x8, x8, _SPS4_640X360@PAGEOFF+11 Lloh202: ldr x8, [x8] ldur x9, [x1, #11] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_67 ; %bb.66: ; in Loop: Header=BB6_44 Depth=1 mov w0, #0 b LBB6_68 LBB6_67: ; in Loop: Header=BB6_44 Depth=1 cmp x8, x9 mov w8, #-1 cneg w0, w8, hs LBB6_68: ; in Loop: Header=BB6_44 Depth=1 cbz w0, LBB6_86 LBB6_69: ; in Loop: Header=BB6_44 Depth=1 add x27, x1, #20 cmp x27, x23 b.ls LBB6_72 ; %bb.70: ; in Loop: Header=BB6_44 Depth=1 sub x25, x23, x1 Lloh203: adrp x0, _SPS4_1920X1080@PAGE Lloh204: add x0, x0, _SPS4_1920X1080@PAGEOFF mov x2, x25 bl _memcmp cbnz w0, LBB6_78 ; %bb.71: ; in Loop: Header=BB6_44 Depth=1 Lloh205: adrp x8, _SPS4_1920X1080@PAGE Lloh206: add x8, x8, _SPS4_1920X1080@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] ldr x9, [sp, #104] ; 8-byte Folded Reload add x1, x9, x8 mov w8, #20 sub x2, x8, x25 bl _memcmp b LBB6_77 LBB6_72: ; in Loop: Header=BB6_44 Depth=1 Lloh207: adrp x8, _SPS4_1920X1080@PAGE Lloh208: add x8, x8, _SPS4_1920X1080@PAGEOFF Lloh209: ldr x8, [x8] ldr x9, [x1] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_76 ; %bb.73: ; in Loop: Header=BB6_44 Depth=1 Lloh210: adrp x8, _SPS4_1920X1080@PAGE+8 Lloh211: add x8, x8, _SPS4_1920X1080@PAGEOFF+8 Lloh212: ldr x8, [x8] ldr x9, [x1, #8] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_76 ; %bb.74: ; in Loop: Header=BB6_44 Depth=1 Lloh213: adrp x8, _SPS4_1920X1080@PAGE+16 Lloh214: add x8, x8, _SPS4_1920X1080@PAGEOFF+16 Lloh215: ldr w8, [x8] ldr w9, [x1, #16] rev w8, w8 rev w9, w9 cmp x8, x9 b.ne LBB6_76 ; %bb.75: ; in Loop: Header=BB6_44 Depth=1 mov w0, #0 b LBB6_77 LBB6_76: ; in Loop: Header=BB6_44 Depth=1 cmp x8, x9 mov w8, #-1 cneg w0, w8, hs LBB6_77: ; in Loop: Header=BB6_44 Depth=1 cbz w0, LBB6_96 LBB6_78: ; in Loop: Header=BB6_44 Depth=1 cmp x19, x23 b.ls LBB6_82 ; %bb.79: ; in Loop: Header=BB6_44 Depth=1 ldr x1, [sp, #96] ; 8-byte Folded Reload sub x25, x23, x1 Lloh216: adrp x0, _SPS4_2304X1296@PAGE Lloh217: add x0, x0, _SPS4_2304X1296@PAGEOFF mov x2, x25 bl _memcmp cbnz w0, LBB6_89 ; %bb.80: ; in Loop: Header=BB6_44 Depth=1 Lloh218: adrp x8, _SPS4_2304X1296@PAGE Lloh219: add x8, x8, _SPS4_2304X1296@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] ldr x9, [sp, #104] ; 8-byte Folded Reload add x1, x9, x8 mov w8, #19 sub x2, x8, x25 bl _memcmp b LBB6_88 LBB6_81: ; in Loop: Header=BB6_44 Depth=1 Lloh220: adrp x8, ___stdoutp@GOTPAGE Lloh221: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh222: ldr x3, [x8] mov w1, #1 mov x2, x25 b LBB6_134 LBB6_82: ; in Loop: Header=BB6_44 Depth=1 Lloh223: adrp x8, _SPS4_2304X1296@PAGE Lloh224: add x8, x8, _SPS4_2304X1296@PAGEOFF Lloh225: ldr x8, [x8] ldr x10, [sp, #96] ; 8-byte Folded Reload ldr x9, [x10] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_87 ; %bb.83: ; in Loop: Header=BB6_44 Depth=1 Lloh226: adrp x8, _SPS4_2304X1296@PAGE+8 Lloh227: add x8, x8, _SPS4_2304X1296@PAGEOFF+8 Lloh228: ldr x8, [x8] ldr x9, [x10, #8] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_87 ; %bb.84: ; in Loop: Header=BB6_44 Depth=1 Lloh229: adrp x8, _SPS4_2304X1296@PAGE+11 Lloh230: add x8, x8, _SPS4_2304X1296@PAGEOFF+11 Lloh231: ldr x8, [x8] ldur x9, [x10, #11] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_87 ; %bb.85: ; in Loop: Header=BB6_44 Depth=1 mov w0, #0 b LBB6_88 LBB6_86: ; in Loop: Header=BB6_44 Depth=1 Lloh232: adrp x8, ___stdoutp@GOTPAGE Lloh233: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh234: ldr x3, [x8] Lloh235: adrp x0, _SPS4_640X360_TI@PAGE Lloh236: add x0, x0, _SPS4_640X360_TI@PAGEOFF b LBB6_107 LBB6_87: ; in Loop: Header=BB6_44 Depth=1 cmp x8, x9 mov w8, #-1 cneg w0, w8, hs LBB6_88: ; in Loop: Header=BB6_44 Depth=1 cbz w0, LBB6_106 LBB6_89: ; in Loop: Header=BB6_44 Depth=1 cmp x27, x23 b.ls LBB6_92 ; %bb.90: ; in Loop: Header=BB6_44 Depth=1 ldr x19, [sp, #96] ; 8-byte Folded Reload sub x25, x23, x19 Lloh237: adrp x0, _SPS4_2_640X360@PAGE Lloh238: add x0, x0, _SPS4_2_640X360@PAGEOFF mov x1, x19 mov x2, x25 bl _memcmp cbnz w0, LBB6_99 ; %bb.91: ; in Loop: Header=BB6_44 Depth=1 Lloh239: adrp x8, _SPS4_2_640X360@PAGE Lloh240: add x8, x8, _SPS4_2_640X360@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] ldr x9, [sp, #104] ; 8-byte Folded Reload add x1, x9, x8 mov w8, #20 sub x2, x8, x25 bl _memcmp ldr x19, [sp, #96] ; 8-byte Folded Reload b LBB6_98 LBB6_92: ; in Loop: Header=BB6_44 Depth=1 Lloh241: adrp x8, _SPS4_2_640X360@PAGE Lloh242: add x8, x8, _SPS4_2_640X360@PAGEOFF Lloh243: ldr x8, [x8] ldr x19, [sp, #96] ; 8-byte Folded Reload ldr x9, [x19] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_97 ; %bb.93: ; in Loop: Header=BB6_44 Depth=1 Lloh244: adrp x8, _SPS4_2_640X360@PAGE+8 Lloh245: add x8, x8, _SPS4_2_640X360@PAGEOFF+8 Lloh246: ldr x8, [x8] ldr x9, [x19, #8] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_97 ; %bb.94: ; in Loop: Header=BB6_44 Depth=1 Lloh247: adrp x8, _SPS4_2_640X360@PAGE+16 Lloh248: add x8, x8, _SPS4_2_640X360@PAGEOFF+16 Lloh249: ldr w8, [x8] ldr w9, [x19, #16] rev w8, w8 rev w9, w9 cmp x8, x9 b.ne LBB6_97 ; %bb.95: ; in Loop: Header=BB6_44 Depth=1 mov w0, #0 b LBB6_98 LBB6_96: ; in Loop: Header=BB6_44 Depth=1 Lloh250: adrp x8, ___stdoutp@GOTPAGE Lloh251: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh252: ldr x3, [x8] Lloh253: adrp x0, _SPS4_1920X1080_TI@PAGE Lloh254: add x0, x0, _SPS4_1920X1080_TI@PAGEOFF mov w1, #1 mov w2, #29 b LBB6_134 LBB6_97: ; in Loop: Header=BB6_44 Depth=1 cmp x8, x9 mov w8, #-1 cneg w0, w8, hs LBB6_98: ; in Loop: Header=BB6_44 Depth=1 cbz w0, LBB6_117 LBB6_99: ; in Loop: Header=BB6_44 Depth=1 add x8, x19, #21 cmp x8, x23 b.ls LBB6_102 ; %bb.100: ; in Loop: Header=BB6_44 Depth=1 sub x25, x23, x19 Lloh255: adrp x0, _SPS4_2_1920X1080@PAGE Lloh256: add x0, x0, _SPS4_2_1920X1080@PAGEOFF mov x1, x19 mov x2, x25 bl _memcmp cbnz w0, LBB6_110 ; %bb.101: ; in Loop: Header=BB6_44 Depth=1 Lloh257: adrp x8, _SPS4_2_1920X1080@PAGE Lloh258: add x8, x8, _SPS4_2_1920X1080@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] ldr x9, [sp, #104] ; 8-byte Folded Reload add x1, x9, x8 mov w8, #21 sub x2, x8, x25 bl _memcmp b LBB6_109 LBB6_102: ; in Loop: Header=BB6_44 Depth=1 Lloh259: adrp x8, _SPS4_2_1920X1080@PAGE Lloh260: add x8, x8, _SPS4_2_1920X1080@PAGEOFF Lloh261: ldr x8, [x8] ldr x9, [x19] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_108 ; %bb.103: ; in Loop: Header=BB6_44 Depth=1 Lloh262: adrp x8, _SPS4_2_1920X1080@PAGE+8 Lloh263: add x8, x8, _SPS4_2_1920X1080@PAGEOFF+8 Lloh264: ldr x8, [x8] ldr x9, [x19, #8] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_108 ; %bb.104: ; in Loop: Header=BB6_44 Depth=1 Lloh265: adrp x8, _SPS4_2_1920X1080@PAGE+13 Lloh266: add x8, x8, _SPS4_2_1920X1080@PAGEOFF+13 Lloh267: ldr x8, [x8] ldur x9, [x19, #13] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_108 ; %bb.105: ; in Loop: Header=BB6_44 Depth=1 mov w0, #0 b LBB6_109 LBB6_106: ; in Loop: Header=BB6_44 Depth=1 Lloh268: adrp x8, ___stdoutp@GOTPAGE Lloh269: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh270: ldr x3, [x8] Lloh271: adrp x0, _SPS4_2304X1296_TI@PAGE Lloh272: add x0, x0, _SPS4_2304X1296_TI@PAGEOFF LBB6_107: ; in Loop: Header=BB6_44 Depth=1 mov w1, #1 mov w2, #27 b LBB6_134 LBB6_108: ; in Loop: Header=BB6_44 Depth=1 cmp x8, x9 mov w8, #-1 cneg w0, w8, hs LBB6_109: ; in Loop: Header=BB6_44 Depth=1 cbz w0, LBB6_128 LBB6_110: ; in Loop: Header=BB6_44 Depth=1 cmp x27, x23 b.ls LBB6_113 ; %bb.111: ; in Loop: Header=BB6_44 Depth=1 ldr x19, [sp, #96] ; 8-byte Folded Reload sub x25, x23, x19 Lloh273: adrp x0, _SPS4_2_2304X1296@PAGE Lloh274: add x0, x0, _SPS4_2_2304X1296@PAGEOFF mov x1, x19 mov x2, x25 bl _memcmp cbnz w0, LBB6_120 ; %bb.112: ; in Loop: Header=BB6_44 Depth=1 Lloh275: adrp x8, _SPS4_2_2304X1296@PAGE Lloh276: add x8, x8, _SPS4_2_2304X1296@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] ldr x9, [sp, #104] ; 8-byte Folded Reload add x1, x9, x8 mov w8, #20 sub x2, x8, x25 bl _memcmp ldr x19, [sp, #96] ; 8-byte Folded Reload b LBB6_119 LBB6_113: ; in Loop: Header=BB6_44 Depth=1 Lloh277: adrp x8, _SPS4_2_2304X1296@PAGE Lloh278: add x8, x8, _SPS4_2_2304X1296@PAGEOFF Lloh279: ldr x8, [x8] ldr x19, [sp, #96] ; 8-byte Folded Reload ldr x9, [x19] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_118 ; %bb.114: ; in Loop: Header=BB6_44 Depth=1 Lloh280: adrp x8, _SPS4_2_2304X1296@PAGE+8 Lloh281: add x8, x8, _SPS4_2_2304X1296@PAGEOFF+8 Lloh282: ldr x8, [x8] ldr x9, [x19, #8] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_118 ; %bb.115: ; in Loop: Header=BB6_44 Depth=1 Lloh283: adrp x8, _SPS4_2_2304X1296@PAGE+16 Lloh284: add x8, x8, _SPS4_2_2304X1296@PAGEOFF+16 Lloh285: ldr w8, [x8] ldr w9, [x19, #16] rev w8, w8 rev w9, w9 cmp x8, x9 b.ne LBB6_118 ; %bb.116: ; in Loop: Header=BB6_44 Depth=1 mov w0, #0 b LBB6_119 LBB6_117: ; in Loop: Header=BB6_44 Depth=1 Lloh286: adrp x8, ___stdoutp@GOTPAGE Lloh287: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh288: ldr x3, [x8] Lloh289: adrp x0, _SPS4_2_640X360_TI@PAGE Lloh290: add x0, x0, _SPS4_2_640X360_TI@PAGEOFF b LBB6_133 LBB6_118: ; in Loop: Header=BB6_44 Depth=1 cmp x8, x9 mov w8, #-1 cneg w0, w8, hs LBB6_119: ; in Loop: Header=BB6_44 Depth=1 cbz w0, LBB6_132 LBB6_120: ; in Loop: Header=BB6_44 Depth=1 add x8, x19, #28 cmp x8, x23 b.ls LBB6_123 ; %bb.121: ; in Loop: Header=BB6_44 Depth=1 sub x25, x23, x19 Lloh291: adrp x0, _VPS5_1920X1080@PAGE Lloh292: add x0, x0, _VPS5_1920X1080@PAGEOFF mov x1, x19 mov x2, x25 bl _memcmp cbnz w0, LBB6_135 ; %bb.122: ; in Loop: Header=BB6_44 Depth=1 Lloh293: adrp x8, _VPS5_1920X1080@PAGE Lloh294: add x8, x8, _VPS5_1920X1080@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] ldr x9, [sp, #104] ; 8-byte Folded Reload add x1, x9, x8 mov w8, #28 sub x2, x8, x25 bl _memcmp b LBB6_130 LBB6_123: ; in Loop: Header=BB6_44 Depth=1 Lloh295: adrp x8, _VPS5_1920X1080@PAGE Lloh296: add x8, x8, _VPS5_1920X1080@PAGEOFF Lloh297: ldr x8, [x8] ldr x9, [x19] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_129 ; %bb.124: ; in Loop: Header=BB6_44 Depth=1 Lloh298: adrp x8, _VPS5_1920X1080@PAGE+8 Lloh299: add x8, x8, _VPS5_1920X1080@PAGEOFF+8 Lloh300: ldr x8, [x8] ldr x9, [x19, #8] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_129 ; %bb.125: ; in Loop: Header=BB6_44 Depth=1 Lloh301: adrp x8, _VPS5_1920X1080@PAGE+16 Lloh302: add x8, x8, _VPS5_1920X1080@PAGEOFF+16 Lloh303: ldr x8, [x8] ldr x9, [x19, #16] rev x8, x8 rev x9, x9 cmp x8, x9 b.ne LBB6_129 ; %bb.126: ; in Loop: Header=BB6_44 Depth=1 Lloh304: adrp x8, _VPS5_1920X1080@PAGE+24 Lloh305: add x8, x8, _VPS5_1920X1080@PAGEOFF+24 Lloh306: ldr w8, [x8] ldr w9, [x19, #24] rev w8, w8 rev w9, w9 cmp x8, x9 b.ne LBB6_129 ; %bb.127: ; in Loop: Header=BB6_44 Depth=1 mov w0, #0 b LBB6_130 LBB6_128: ; in Loop: Header=BB6_44 Depth=1 Lloh307: adrp x8, ___stdoutp@GOTPAGE Lloh308: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh309: ldr x3, [x8] Lloh310: adrp x0, _SPS4_2_1920X1080_TI@PAGE Lloh311: add x0, x0, _SPS4_2_1920X1080_TI@PAGEOFF mov w1, #1 mov w2, #30 b LBB6_134 LBB6_129: ; in Loop: Header=BB6_44 Depth=1 cmp x8, x9 mov w8, #-1 cneg w0, w8, hs LBB6_130: ; in Loop: Header=BB6_44 Depth=1 cbnz w0, LBB6_135 ; %bb.131: ; in Loop: Header=BB6_44 Depth=1 Lloh312: adrp x8, ___stdoutp@GOTPAGE Lloh313: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh314: ldr x3, [x8] Lloh315: adrp x0, _VPS5_1920X1080_TI@PAGE Lloh316: add x0, x0, _VPS5_1920X1080_TI@PAGEOFF mov w1, #1 mov w2, #37 b LBB6_134 LBB6_132: ; in Loop: Header=BB6_44 Depth=1 Lloh317: adrp x8, ___stdoutp@GOTPAGE Lloh318: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh319: ldr x3, [x8] Lloh320: adrp x0, _SPS4_2_2304X1296_TI@PAGE Lloh321: add x0, x0, _SPS4_2_2304X1296_TI@PAGEOFF LBB6_133: ; in Loop: Header=BB6_44 Depth=1 mov w1, #1 mov w2, #28 LBB6_134: ; in Loop: Header=BB6_44 Depth=1 bl _fwrite LBB6_135: ; in Loop: Header=BB6_44 Depth=1 add x27, x26, #5 ldr x19, [x22] ldrsw x23, [x24] add x8, x19, x23 cmp x27, x8 str x8, [sp, #104] ; 8-byte Folded Spill b.ls LBB6_146 ; %bb.136: ; in Loop: Header=BB6_44 Depth=1 sub x25, x8, x26 Lloh322: adrp x0, _SPS4_START@PAGE Lloh323: add x0, x0, _SPS4_START@PAGEOFF mov x1, x26 mov x2, x25 bl _memcmp cbnz w0, LBB6_138 ; %bb.137: ; in Loop: Header=BB6_44 Depth=1 Lloh324: adrp x8, _SPS4_START@PAGE Lloh325: add x8, x8, _SPS4_START@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] add x1, x19, x8 mov w8, #5 sub x2, x8, x25 bl _memcmp cbz w0, LBB6_152 LBB6_138: ; in Loop: Header=BB6_44 Depth=1 Lloh326: adrp x0, _SPS5_START@PAGE Lloh327: add x0, x0, _SPS5_START@PAGEOFF mov x1, x26 mov x2, x25 bl _memcmp cbnz w0, LBB6_140 ; %bb.139: ; in Loop: Header=BB6_44 Depth=1 Lloh328: adrp x8, _SPS5_START@PAGE Lloh329: add x8, x8, _SPS5_START@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] add x1, x19, x8 mov w8, #5 sub x2, x8, x25 bl _memcmp cbz w0, LBB6_152 LBB6_140: ; in Loop: Header=BB6_44 Depth=1 Lloh330: adrp x0, _PPS4_START@PAGE Lloh331: add x0, x0, _PPS4_START@PAGEOFF mov x1, x26 mov x2, x25 bl _memcmp cbnz w0, LBB6_142 ; %bb.141: ; in Loop: Header=BB6_44 Depth=1 Lloh332: adrp x8, _PPS4_START@PAGE Lloh333: add x8, x8, _PPS4_START@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] add x1, x19, x8 mov w8, #5 sub x2, x8, x25 bl _memcmp cbz w0, LBB6_207 LBB6_142: ; in Loop: Header=BB6_44 Depth=1 Lloh334: adrp x0, _PPS5_START@PAGE Lloh335: add x0, x0, _PPS5_START@PAGEOFF mov x1, x26 mov x2, x25 bl _memcmp cbnz w0, LBB6_144 ; %bb.143: ; in Loop: Header=BB6_44 Depth=1 Lloh336: adrp x8, _PPS5_START@PAGE Lloh337: add x8, x8, _PPS5_START@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] add x1, x19, x8 mov w8, #5 sub x2, x8, x25 bl _memcmp cbz w0, LBB6_207 LBB6_144: ; in Loop: Header=BB6_44 Depth=1 Lloh338: adrp x0, _VPS5_START@PAGE Lloh339: add x0, x0, _VPS5_START@PAGEOFF mov x1, x26 mov x2, x25 bl _memcmp cbnz w0, LBB6_181 ; %bb.145: ; in Loop: Header=BB6_44 Depth=1 Lloh340: adrp x8, _VPS5_START@PAGE Lloh341: add x8, x8, _VPS5_START@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] add x1, x19, x8 mov w8, #5 sub x2, x8, x25 bl _memcmp cbnz w0, LBB6_181 b LBB6_207 LBB6_146: ; in Loop: Header=BB6_44 Depth=1 Lloh342: adrp x10, _SPS4_START@PAGE Lloh343: add x10, x10, _SPS4_START@PAGEOFF ldr w8, [x10] ldr w9, [x26] eor w8, w8, w9 ldrb w9, [x10, #4] ldrb w10, [x26, #4] eor w9, w9, w10 orr w8, w8, w9 cbz w8, LBB6_152 ; %bb.147: ; in Loop: Header=BB6_44 Depth=1 Lloh344: adrp x10, _SPS5_START@PAGE Lloh345: add x10, x10, _SPS5_START@PAGEOFF ldr w8, [x10] ldr w9, [x26] eor w8, w8, w9 ldrb w9, [x10, #4] ldrb w10, [x26, #4] eor w9, w9, w10 orr w8, w8, w9 cbz w8, LBB6_152 ; %bb.148: ; in Loop: Header=BB6_44 Depth=1 Lloh346: adrp x10, _PPS4_START@PAGE Lloh347: add x10, x10, _PPS4_START@PAGEOFF ldr w8, [x10] ldr w9, [x26] eor w8, w8, w9 ldrb w9, [x10, #4] ldrb w10, [x26, #4] eor w9, w9, w10 orr w8, w8, w9 cbz w8, LBB6_207 ; %bb.149: ; in Loop: Header=BB6_44 Depth=1 Lloh348: adrp x10, _PPS5_START@PAGE Lloh349: add x10, x10, _PPS5_START@PAGEOFF ldr w8, [x10] ldr w9, [x26] eor w8, w8, w9 ldrb w9, [x10, #4] ldrb w10, [x26, #4] eor w9, w9, w10 orr w8, w8, w9 cbz w8, LBB6_207 ; %bb.150: ; in Loop: Header=BB6_44 Depth=1 Lloh350: adrp x8, _VPS5_START@PAGE Lloh351: add x8, x8, _VPS5_START@PAGEOFF Lloh352: ldr w8, [x8] ldr w9, [x26] rev w8, w8 rev w9, w9 cmp w8, w9 b.ne LBB6_180 ; %bb.151: ; in Loop: Header=BB6_44 Depth=1 adrp x8, _VPS5_START@PAGE+4 ldrb w8, [x8, _VPS5_START@PAGEOFF+4] ldrb w9, [x26, #4] sub w0, w8, w9 cbnz w0, LBB6_181 b LBB6_207 LBB6_152: ; in Loop: Header=BB6_44 Depth=1 Lloh353: adrp x8, _frame_header_size@GOTPAGE Lloh354: ldr x8, [x8, _frame_header_size@GOTPAGEOFF] Lloh355: ldrsw x25, [x8] mov w8, #-6 sub w8, w8, w25 add x26, x26, w8, sxtw cmp w8, #1 b.lt LBB6_155 ; %bb.153: ; in Loop: Header=BB6_44 Depth=1 ldr x10, [sp, #104] ; 8-byte Folded Reload cmp x26, x10 b.ls LBB6_157 ; %bb.154: ; in Loop: Header=BB6_44 Depth=1 ldrsw x8, [x28] sub x8, x8, x23 add x26, x26, x8 b LBB6_157 LBB6_155: ; in Loop: Header=BB6_44 Depth=1 ldr x10, [sp, #104] ; 8-byte Folded Reload tbz w8, #31, LBB6_157 ; %bb.156: ; in Loop: Header=BB6_44 Depth=1 ldrsw x8, [x28] sub x9, x23, x8 add x9, x26, x9 add x8, x19, x8 cmp x26, x8 csel x26, x26, x9, hs LBB6_157: ; in Loop: Header=BB6_44 Depth=1 add x8, x26, x25 cmp x8, x10 b.ls LBB6_159 ; %bb.158: ; in Loop: Header=BB6_44 Depth=1 sub x27, x10, x26 str x19, [sp, #80] ; 8-byte Folded Spill mov x19, x23 ldr x23, [sp, #88] ; 8-byte Folded Reload mov x0, x23 mov x1, x26 mov x2, x27 bl _memcpy add x0, x23, x27 mov x23, x19 ldr x19, [sp, #80] ; 8-byte Folded Reload ldrsw x8, [x28] add x1, x19, x8 sub x2, x25, x27 b LBB6_160 LBB6_159: ; in Loop: Header=BB6_44 Depth=1 ldr x0, [sp, #88] ; 8-byte Folded Reload mov x1, x26 mov x2, x25 LBB6_160: ; in Loop: Header=BB6_44 Depth=1 bl _memcpy add x8, x25, x26 add x26, x8, #6 cmn w25, #5 b.lt LBB6_163 ; %bb.161: ; in Loop: Header=BB6_44 Depth=1 ldr x8, [sp, #104] ; 8-byte Folded Reload cmp x26, x8 Lloh356: adrp x25, _debug@GOTPAGE Lloh357: ldr x25, [x25, _debug@GOTPAGEOFF] b.ls LBB6_168 ; %bb.162: ; in Loop: Header=BB6_44 Depth=1 ldrsw x8, [x28] sub x8, x8, x23 b LBB6_167 LBB6_163: ; in Loop: Header=BB6_44 Depth=1 cmn w25, #6 b.ne LBB6_165 ; %bb.164: ; in Loop: Header=BB6_44 Depth=1 Lloh358: adrp x25, _debug@GOTPAGE Lloh359: ldr x25, [x25, _debug@GOTPAGEOFF] b LBB6_168 LBB6_165: ; in Loop: Header=BB6_44 Depth=1 ldrsw x8, [x28] add x9, x19, x8 cmp x26, x9 Lloh360: adrp x25, _debug@GOTPAGE Lloh361: ldr x25, [x25, _debug@GOTPAGEOFF] b.hs LBB6_168 ; %bb.166: ; in Loop: Header=BB6_44 Depth=1 sub x8, x23, x8 LBB6_167: ; in Loop: Header=BB6_44 Depth=1 add x26, x26, x8 LBB6_168: ; in Loop: Header=BB6_44 Depth=1 Lloh362: adrp x8, _data_offset@GOTPAGE Lloh363: ldr x8, [x8, _data_offset@GOTPAGEOFF] Lloh364: ldrsw x8, [x8] ldr x12, [sp, #88] ; 8-byte Folded Reload add x9, x8, x12 ldrb w9, [x9, #17] Lloh365: adrp x10, _lowres_byte@GOTPAGE Lloh366: ldr x10, [x10, _lowres_byte@GOTPAGEOFF] Lloh367: ldr w10, [x10] Lloh368: adrp x11, _highres_byte@GOTPAGE Lloh369: ldr x11, [x11, _highres_byte@GOTPAGEOFF] Lloh370: ldr w11, [x11] cmp w11, w9 mov w11, #1080 csel w11, w11, wzr, eq cmp w10, w9 mov w9, #360 csel w19, w9, w11, eq Lloh371: adrp x9, _resolution@GOTPAGE Lloh372: ldr x9, [x9, _resolution@GOTPAGEOFF] Lloh373: ldr w9, [x9] cmp w19, w9 b.ne LBB6_177 ; %bb.169: ; in Loop: Header=BB6_44 Depth=1 ldr w9, [x12] sub w11, w9, #6 ldr w9, [x28] sub w9, w23, w9 sub w10, w21, w26 and w9, w9, w10, asr #31 add w9, w9, w10 str x11, [sp, #64] ; 8-byte Folded Spill cmp w9, w11 b.le LBB6_179 ; %bb.170: ; in Loop: Header=BB6_44 Depth=1 add x8, x8, x12 ldrb w9, [x8, #18] ldrb w8, [x8, #19] bfi w9, w8, #8, #8 str x9, [sp, #56] ; 8-byte Folded Spill ldr x8, [sp, #48] ; 8-byte Folded Reload sub w8, w9, w8 cmp w8, #20 b.gt LBB6_173 ; %bb.171: ; in Loop: Header=BB6_44 Depth=1 mov w27, #1 ldp x10, x9, [sp, #48] ; 16-byte Folded Reload cmp w9, w10 b.ge LBB6_200 ; %bb.172: ; in Loop: Header=BB6_44 Depth=1 mov w9, #-65514 cmp w8, w9 b.lt LBB6_200 LBB6_173: ; in Loop: Header=BB6_44 Depth=1 ldr w8, [x25] cbz w8, LBB6_175 ; %bb.174: ; in Loop: Header=BB6_44 Depth=1 Lloh374: adrp x8, ___stderrp@GOTPAGE Lloh375: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh376: ldr x23, [x8] sub x0, x29, #96 mov x1, #0 bl _gettimeofday ldur x8, [x29, #-96] mov w9, #1000 mul x8, x8, x9 ldursw x9, [x29, #-88] mov w10, #19923 movk w10, #4194, lsl #16 mul x9, x9, x10 lsr x10, x9, #63 asr x9, x9, #38 add w9, w9, w10 add x8, x8, w9, sxtw ldr x11, [sp, #48] ; 8-byte Folded Reload ldr x9, [sp, #56] ; 8-byte Folded Reload stp x9, x11, [sp, #8] str x8, [sp] mov x0, x23 Lloh377: adrp x1, l_.str.37@PAGE Lloh378: add x1, x1, l_.str.37@PAGEOFF bl _fprintf LBB6_175: ; in Loop: Header=BB6_44 Depth=1 ldr w8, [sp, #44] ; 4-byte Folded Reload cmp w8, #40 b.ge LBB6_201 ; %bb.176: ; in Loop: Header=BB6_44 Depth=1 mov w27, #0 add w8, w8, #1 str w8, [sp, #44] ; 4-byte Folded Spill b LBB6_203 LBB6_177: ; in Loop: Header=BB6_44 Depth=1 mov w27, #0 mov w8, #1 str w8, [sp, #80] ; 4-byte Folded Spill ldrb w8, [x25] tbz w8, #0, LBB6_44 ; %bb.178: ; in Loop: Header=BB6_44 Depth=1 Lloh379: adrp x8, ___stderrp@GOTPAGE Lloh380: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh381: ldr x25, [x8] sub x0, x29, #96 mov x1, #0 bl _gettimeofday ldur x8, [x29, #-96] mov w9, #1000 mul x8, x8, x9 ldursw x9, [x29, #-88] mov w10, #19923 movk w10, #4194, lsl #16 mul x9, x9, x10 lsr x10, x9, #63 asr x9, x9, #38 add w9, w9, w10 add x8, x8, w9, sxtw str x8, [sp] mov x0, x25 Lloh382: adrp x1, l_.str.40@PAGE Lloh383: add x1, x1, l_.str.40@PAGEOFF bl _fprintf mov w27, #0 mov w8, #1 str w8, [sp, #80] ; 4-byte Folded Spill b LBB6_44 LBB6_179: ; in Loop: Header=BB6_44 Depth=1 mov w27, #0 b LBB6_203 LBB6_180: ; in Loop: Header=BB6_44 Depth=1 mov w8, #-1 cneg w0, w8, hs cbz w0, LBB6_207 LBB6_181: ; in Loop: Header=BB6_44 Depth=1 add x8, x26, #6 ldr x9, [sp, #104] ; 8-byte Folded Reload cmp x8, x9 b.ls LBB6_184 ; %bb.182: ; in Loop: Header=BB6_44 Depth=1 sub x25, x9, x26 Lloh384: adrp x0, _IDR4_START@PAGE Lloh385: add x0, x0, _IDR4_START@PAGEOFF mov x1, x26 mov x2, x25 bl _memcmp cbnz w0, LBB6_189 ; %bb.183: ; in Loop: Header=BB6_44 Depth=1 Lloh386: adrp x8, _IDR4_START@PAGE Lloh387: add x8, x8, _IDR4_START@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] add x1, x19, x8 mov w8, #6 sub x2, x8, x25 bl _memcmp b LBB6_188 LBB6_184: ; in Loop: Header=BB6_44 Depth=1 Lloh388: adrp x8, _IDR4_START@PAGE Lloh389: add x8, x8, _IDR4_START@PAGEOFF Lloh390: ldr w8, [x8] ldr w9, [x26] rev w8, w8 rev w9, w9 cmp w8, w9 b.ne LBB6_187 ; %bb.185: ; in Loop: Header=BB6_44 Depth=1 Lloh391: adrp x8, _IDR4_START@PAGE+4 Lloh392: add x8, x8, _IDR4_START@PAGEOFF+4 ldrh w8, [x8] ldrh w9, [x26, #4] rev w8, w8 lsr w8, w8, #16 rev w9, w9 lsr w9, w9, #16 cmp w8, w9 b.ne LBB6_187 ; %bb.186: ; in Loop: Header=BB6_44 Depth=1 mov w0, #0 b LBB6_188 LBB6_187: ; in Loop: Header=BB6_44 Depth=1 cmp w8, w9 mov w8, #-1 cneg w0, w8, hs LBB6_188: ; in Loop: Header=BB6_44 Depth=1 cbz w0, LBB6_207 LBB6_189: ; in Loop: Header=BB6_44 Depth=1 ldr x8, [sp, #104] ; 8-byte Folded Reload cmp x27, x8 b.ls LBB6_196 ; %bb.190: ; in Loop: Header=BB6_44 Depth=1 sub x25, x8, x26 Lloh393: adrp x0, _IDR5_START@PAGE Lloh394: add x0, x0, _IDR5_START@PAGEOFF mov x1, x26 mov x2, x25 bl _memcmp cbnz w0, LBB6_192 ; %bb.191: ; in Loop: Header=BB6_44 Depth=1 Lloh395: adrp x8, _IDR5_START@PAGE Lloh396: add x8, x8, _IDR5_START@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] add x1, x19, x8 mov w8, #5 sub x2, x8, x25 bl _memcmp cbz w0, LBB6_207 LBB6_192: ; in Loop: Header=BB6_44 Depth=1 Lloh397: adrp x0, _PFR4_START@PAGE Lloh398: add x0, x0, _PFR4_START@PAGEOFF mov x1, x26 mov x2, x25 bl _memcmp cbnz w0, LBB6_194 ; %bb.193: ; in Loop: Header=BB6_44 Depth=1 Lloh399: adrp x8, _PFR4_START@PAGE Lloh400: add x8, x8, _PFR4_START@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] add x1, x19, x8 mov w8, #5 sub x2, x8, x25 bl _memcmp cbz w0, LBB6_207 LBB6_194: ; in Loop: Header=BB6_44 Depth=1 Lloh401: adrp x0, _PFR5_START@PAGE Lloh402: add x0, x0, _PFR5_START@PAGEOFF mov x1, x26 mov x2, x25 bl _memcmp mov w27, #0 cbnz w0, LBB6_44 ; %bb.195: ; in Loop: Header=BB6_44 Depth=1 Lloh403: adrp x8, _PFR5_START@PAGE Lloh404: add x8, x8, _PFR5_START@PAGEOFF add x0, x8, x25 ldrsw x8, [x28] add x1, x19, x8 mov w8, #5 sub x2, x8, x25 bl _memcmp b LBB6_206 LBB6_196: ; in Loop: Header=BB6_44 Depth=1 Lloh405: adrp x10, _IDR5_START@PAGE Lloh406: add x10, x10, _IDR5_START@PAGEOFF ldr w8, [x10] ldr w9, [x26] eor w8, w8, w9 ldrb w9, [x10, #4] ldrb w10, [x26, #4] eor w9, w9, w10 orr w8, w8, w9 cbz w8, LBB6_207 ; %bb.197: ; in Loop: Header=BB6_44 Depth=1 Lloh407: adrp x10, _PFR4_START@PAGE Lloh408: add x10, x10, _PFR4_START@PAGEOFF ldr w8, [x10] ldr w9, [x26] eor w8, w8, w9 ldrb w9, [x10, #4] ldrb w10, [x26, #4] eor w9, w9, w10 orr w8, w8, w9 cbz w8, LBB6_207 ; %bb.198: ; in Loop: Header=BB6_44 Depth=1 Lloh409: adrp x8, _PFR5_START@PAGE Lloh410: add x8, x8, _PFR5_START@PAGEOFF Lloh411: ldr w8, [x8] ldr w9, [x26] rev w8, w8 rev w9, w9 cmp w8, w9 b.ne LBB6_205 ; %bb.199: ; in Loop: Header=BB6_44 Depth=1 adrp x8, _PFR5_START@PAGE+4 ldrb w8, [x8, _PFR5_START@PAGEOFF+4] ldrb w9, [x26, #4] sub w0, w8, w9 b LBB6_206 LBB6_200: ; in Loop: Header=BB6_44 Depth=1 str wzr, [sp, #44] ; 4-byte Folded Spill ldr x8, [sp, #56] ; 8-byte Folded Reload ; kill: def $w8 killed $w8 killed $x8 def $x8 str x8, [sp, #48] ; 8-byte Folded Spill b LBB6_203 LBB6_201: ; in Loop: Header=BB6_44 Depth=1 str wzr, [sp, #44] ; 4-byte Folded Spill ldr w8, [x25] mov w27, #1 str x26, [sp, #96] ; 8-byte Folded Spill ldr x9, [sp, #56] ; 8-byte Folded Reload ; kill: def $w9 killed $w9 killed $x9 def $x9 str x9, [sp, #48] ; 8-byte Folded Spill mov w9, #1 str w9, [sp, #80] ; 4-byte Folded Spill cbz w8, LBB6_44 ; %bb.202: ; in Loop: Header=BB6_44 Depth=1 Lloh412: adrp x8, ___stderrp@GOTPAGE Lloh413: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh414: ldr x23, [x8] sub x0, x29, #96 mov x1, #0 bl _gettimeofday ldur x8, [x29, #-96] mov w9, #1000 mul x8, x8, x9 ldursw x9, [x29, #-88] mov w10, #19923 movk w10, #4194, lsl #16 mul x9, x9, x10 lsr x10, x9, #63 asr x9, x9, #38 add w9, w9, w10 add x8, x8, w9, sxtw str x8, [sp] mov x0, x23 Lloh415: adrp x1, l_.str.38@PAGE Lloh416: add x1, x1, l_.str.38@PAGEOFF bl _fprintf str wzr, [sp, #44] ; 4-byte Folded Spill mov w27, #1 ldr x8, [sp, #56] ; 8-byte Folded Reload ; kill: def $w8 killed $w8 killed $x8 def $x8 str x8, [sp, #48] ; 8-byte Folded Spill Lloh417: adrp x25, _debug@GOTPAGE Lloh418: ldr x25, [x25, _debug@GOTPAGEOFF] LBB6_203: ; in Loop: Header=BB6_44 Depth=1 ldr w8, [x25] mov w9, #1 str w9, [sp, #80] ; 4-byte Folded Spill str x26, [sp, #96] ; 8-byte Folded Spill cbz w8, LBB6_44 ; %bb.204: ; in Loop: Header=BB6_44 Depth=1 Lloh419: adrp x8, ___stderrp@GOTPAGE Lloh420: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh421: ldr x23, [x8] sub x0, x29, #96 mov x1, #0 bl _gettimeofday ldur x8, [x29, #-96] mov w9, #1000 mul x8, x8, x9 ldursw x9, [x29, #-88] mov w10, #19923 movk w10, #4194, lsl #16 mul x9, x9, x10 lsr x10, x9, #32 lsr x9, x9, #63 add w9, w9, w10, asr #6 add x8, x8, w9, sxtw ldp x9, x10, [sp, #48] ; 16-byte Folded Reload ; kill: def $w9 killed $w9 killed $x9 def $x9 ; kill: def $w10 killed $w10 killed $x10 def $x10 stp x9, x19, [sp, #24] ldr x9, [sp, #64] ; 8-byte Folded Reload ; kill: def $w9 killed $w9 killed $x9 def $x9 stp x9, x10, [sp, #8] str x8, [sp] mov x0, x23 Lloh422: adrp x1, l_.str.39@PAGE Lloh423: add x1, x1, l_.str.39@PAGEOFF bl _fprintf mov w8, #1 str w8, [sp, #80] ; 4-byte Folded Spill str x26, [sp, #96] ; 8-byte Folded Spill b LBB6_44 LBB6_205: ; in Loop: Header=BB6_44 Depth=1 mov w8, #-1 cneg w0, w8, hs LBB6_206: ; in Loop: Header=BB6_44 Depth=1 mov w27, #0 cbnz w0, LBB6_44 LBB6_207: ; in Loop: Header=BB6_44 Depth=1 Lloh424: adrp x8, _frame_header_size@GOTPAGE Lloh425: ldr x8, [x8, _frame_header_size@GOTPAGEOFF] Lloh426: ldrsw x25, [x8] sub x1, x26, x25 tbnz w25, #31, LBB6_211 ; %bb.208: ; in Loop: Header=BB6_44 Depth=1 cbz w25, LBB6_214 ; %bb.209: ; in Loop: Header=BB6_44 Depth=1 ldrsw x8, [x28] add x9, x19, x8 cmp x1, x9 ldr x9, [sp, #104] ; 8-byte Folded Reload b.hs LBB6_215 ; %bb.210: ; in Loop: Header=BB6_44 Depth=1 sub x8, x23, x8 b LBB6_213 LBB6_211: ; in Loop: Header=BB6_44 Depth=1 ldr x9, [sp, #104] ; 8-byte Folded Reload cmp x1, x9 b.ls LBB6_215 ; %bb.212: ; in Loop: Header=BB6_44 Depth=1 ldrsw x8, [x28] sub x8, x8, x23 LBB6_213: ; in Loop: Header=BB6_44 Depth=1 add x1, x1, x8 b LBB6_215 LBB6_214: ; in Loop: Header=BB6_44 Depth=1 ldr x9, [sp, #104] ; 8-byte Folded Reload LBB6_215: ; in Loop: Header=BB6_44 Depth=1 add x8, x1, x25 str x8, [sp, #104] ; 8-byte Folded Spill cmp x8, x9 str x23, [sp, #72] ; 8-byte Folded Spill b.ls LBB6_218 ; %bb.216: ; in Loop: Header=BB6_44 Depth=1 sub x26, x9, x1 mov x27, x19 ldr x19, [sp, #88] ; 8-byte Folded Reload mov x0, x19 mov x2, x26 bl _memcpy add x0, x19, x26 ldr w23, [x28] sxtw x19, w23 add x1, x27, x19 sub x2, x25, x26 bl _memcpy cmp w25, #0 b.le LBB6_220 ; %bb.217: ; in Loop: Header=BB6_44 Depth=1 ldr x8, [sp, #72] ; 8-byte Folded Reload sub w8, w8, w23 ldr x12, [sp, #104] ; 8-byte Folded Reload sub x12, x12, w8, sxtw Lloh427: adrp x25, _debug@GOTPAGE Lloh428: ldr x25, [x25, _debug@GOTPAGEOFF] ldr x26, [sp, #88] ; 8-byte Folded Reload b LBB6_226 LBB6_218: ; in Loop: Header=BB6_44 Depth=1 ldr x26, [sp, #88] ; 8-byte Folded Reload mov x0, x26 mov x2, x25 bl _memcpy tbnz w25, #31, LBB6_222 ; %bb.219: ; in Loop: Header=BB6_44 Depth=1 Lloh429: adrp x25, _debug@GOTPAGE Lloh430: ldr x25, [x25, _debug@GOTPAGEOFF] ldr x12, [sp, #104] ; 8-byte Folded Reload b LBB6_226 LBB6_220: ; in Loop: Header=BB6_44 Depth=1 tbnz w25, #31, LBB6_223 ; %bb.221: ; in Loop: Header=BB6_44 Depth=1 Lloh431: adrp x25, _debug@GOTPAGE Lloh432: ldr x25, [x25, _debug@GOTPAGEOFF] ldr x26, [sp, #88] ; 8-byte Folded Reload ldr x12, [sp, #104] ; 8-byte Folded Reload b LBB6_226 LBB6_222: ; in Loop: Header=BB6_44 Depth=1 mov x27, x19 ldr w23, [x28] sxtw x19, w23 Lloh433: adrp x25, _debug@GOTPAGE Lloh434: ldr x25, [x25, _debug@GOTPAGEOFF] b LBB6_224 LBB6_223: ; in Loop: Header=BB6_44 Depth=1 ; kill: def $w23 killed $w23 killed $x23 def $x23 Lloh435: adrp x25, _debug@GOTPAGE Lloh436: ldr x25, [x25, _debug@GOTPAGEOFF] ldr x26, [sp, #88] ; 8-byte Folded Reload LBB6_224: ; in Loop: Header=BB6_44 Depth=1 ldr x12, [sp, #104] ; 8-byte Folded Reload add x8, x27, x19 cmp x12, x8 b.hs LBB6_226 ; %bb.225: ; in Loop: Header=BB6_44 Depth=1 ldr x8, [sp, #72] ; 8-byte Folded Reload sub w8, w8, w23 add x12, x12, w8, sxtw LBB6_226: ; in Loop: Header=BB6_44 Depth=1 Lloh437: adrp x8, _data_offset@GOTPAGE Lloh438: ldr x8, [x8, _data_offset@GOTPAGEOFF] Lloh439: ldrsw x8, [x8] add x9, x8, x26 ldrb w9, [x9, #17] Lloh440: adrp x10, _lowres_byte@GOTPAGE Lloh441: ldr x10, [x10, _lowres_byte@GOTPAGEOFF] Lloh442: ldr w10, [x10] Lloh443: adrp x11, _highres_byte@GOTPAGE Lloh444: ldr x11, [x11, _highres_byte@GOTPAGEOFF] Lloh445: ldr w11, [x11] cmp w11, w9 mov w11, #1080 csel w11, w11, wzr, eq cmp w10, w9 mov w9, #360 csel w19, w9, w11, eq Lloh446: adrp x9, _resolution@GOTPAGE Lloh447: ldr x9, [x9, _resolution@GOTPAGEOFF] Lloh448: ldr w9, [x9] cmp w19, w9 b.ne LBB6_235 ; %bb.227: ; in Loop: Header=BB6_44 Depth=1 ldr w11, [x26] ldr w9, [x28] ldr x10, [sp, #72] ; 8-byte Folded Reload sub w9, w10, w9 sub w10, w21, w12 and w9, w9, w10, asr #31 add w9, w9, w10 str x11, [sp, #64] ; 8-byte Folded Spill cmp w9, w11 b.le LBB6_237 ; %bb.228: ; in Loop: Header=BB6_44 Depth=1 add x8, x8, x26 ldrb w9, [x8, #18] ldrb w8, [x8, #19] bfi w9, w8, #8, #8 str x9, [sp, #56] ; 8-byte Folded Spill ldr x8, [sp, #48] ; 8-byte Folded Reload sub w8, w9, w8 cmp w8, #20 b.gt LBB6_231 ; %bb.229: ; in Loop: Header=BB6_44 Depth=1 mov w27, #1 ldp x10, x9, [sp, #48] ; 16-byte Folded Reload cmp w9, w10 b.ge LBB6_238 ; %bb.230: ; in Loop: Header=BB6_44 Depth=1 mov w9, #-65514 cmp w8, w9 b.lt LBB6_238 LBB6_231: ; in Loop: Header=BB6_44 Depth=1 ldr w8, [x25] cbz w8, LBB6_233 ; %bb.232: ; in Loop: Header=BB6_44 Depth=1 Lloh449: adrp x8, ___stderrp@GOTPAGE Lloh450: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh451: ldr x23, [x8] sub x0, x29, #96 mov x1, #0 mov x26, x12 bl _gettimeofday ldur x8, [x29, #-96] mov w9, #1000 mul x8, x8, x9 ldursw x9, [x29, #-88] mov w10, #19923 movk w10, #4194, lsl #16 mul x9, x9, x10 lsr x10, x9, #63 asr x9, x9, #38 add w9, w9, w10 add x8, x8, w9, sxtw ldr x9, [sp, #48] ; 8-byte Folded Reload ; kill: def $w9 killed $w9 killed $x9 def $x9 str x9, [sp, #16] ldr x9, [sp, #56] ; 8-byte Folded Reload ; kill: def $w9 killed $w9 killed $x9 def $x9 stp x8, x9, [sp] mov x0, x23 Lloh452: adrp x1, l_.str.37@PAGE Lloh453: add x1, x1, l_.str.37@PAGEOFF bl _fprintf mov x12, x26 LBB6_233: ; in Loop: Header=BB6_44 Depth=1 ldr w8, [sp, #44] ; 4-byte Folded Reload cmp w8, #40 b.ge LBB6_239 ; %bb.234: ; in Loop: Header=BB6_44 Depth=1 mov w27, #0 add w8, w8, #1 str w8, [sp, #44] ; 4-byte Folded Spill b LBB6_241 LBB6_235: ; in Loop: Header=BB6_44 Depth=1 mov w27, #0 ldrb w8, [x25] tbz w8, #0, LBB6_44 ; %bb.236: ; in Loop: Header=BB6_44 Depth=1 Lloh454: adrp x8, ___stderrp@GOTPAGE Lloh455: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh456: ldr x25, [x8] sub x0, x29, #96 mov x1, #0 bl _gettimeofday ldur x8, [x29, #-96] mov w9, #1000 mul x8, x8, x9 ldursw x9, [x29, #-88] mov w10, #19923 movk w10, #4194, lsl #16 mul x9, x9, x10 lsr x10, x9, #63 asr x9, x9, #38 add w9, w9, w10 add x8, x8, w9, sxtw str x8, [sp] mov x0, x25 Lloh457: adrp x1, l_.str.40@PAGE Lloh458: add x1, x1, l_.str.40@PAGEOFF bl _fprintf mov w27, #0 b LBB6_44 LBB6_237: ; in Loop: Header=BB6_44 Depth=1 mov w27, #0 b LBB6_241 LBB6_238: ; in Loop: Header=BB6_44 Depth=1 str wzr, [sp, #44] ; 4-byte Folded Spill ldr x8, [sp, #56] ; 8-byte Folded Reload ; kill: def $w8 killed $w8 killed $x8 def $x8 str x8, [sp, #48] ; 8-byte Folded Spill b LBB6_241 LBB6_239: ; in Loop: Header=BB6_44 Depth=1 str wzr, [sp, #44] ; 4-byte Folded Spill ldr w8, [x25] mov w27, #1 str x12, [sp, #96] ; 8-byte Folded Spill ldr x9, [sp, #56] ; 8-byte Folded Reload ; kill: def $w9 killed $w9 killed $x9 def $x9 str x9, [sp, #48] ; 8-byte Folded Spill cbz w8, LBB6_44 ; %bb.240: ; in Loop: Header=BB6_44 Depth=1 Lloh459: adrp x8, ___stderrp@GOTPAGE Lloh460: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh461: ldr x23, [x8] sub x0, x29, #96 mov x1, #0 mov x25, x12 bl _gettimeofday ldur x8, [x29, #-96] mov w9, #1000 mul x8, x8, x9 ldursw x9, [x29, #-88] mov w10, #19923 movk w10, #4194, lsl #16 mul x9, x9, x10 lsr x10, x9, #63 asr x9, x9, #38 add w9, w9, w10 add x8, x8, w9, sxtw str x8, [sp] mov x0, x23 Lloh462: adrp x1, l_.str.38@PAGE Lloh463: add x1, x1, l_.str.38@PAGEOFF bl _fprintf mov x12, x25 str wzr, [sp, #44] ; 4-byte Folded Spill mov w27, #1 ldr x8, [sp, #56] ; 8-byte Folded Reload ; kill: def $w8 killed $w8 killed $x8 def $x8 str x8, [sp, #48] ; 8-byte Folded Spill Lloh464: adrp x25, _debug@GOTPAGE Lloh465: ldr x25, [x25, _debug@GOTPAGEOFF] LBB6_241: ; in Loop: Header=BB6_44 Depth=1 ldr w8, [x25] str x12, [sp, #96] ; 8-byte Folded Spill cbz w8, LBB6_44 ; %bb.242: ; in Loop: Header=BB6_44 Depth=1 Lloh466: adrp x8, ___stderrp@GOTPAGE Lloh467: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh468: ldr x23, [x8] sub x0, x29, #96 mov x1, #0 mov x25, x12 bl _gettimeofday ldur x8, [x29, #-96] mov w9, #1000 mul x8, x8, x9 ldursw x9, [x29, #-88] mov w10, #19923 movk w10, #4194, lsl #16 mul x9, x9, x10 lsr x10, x9, #32 lsr x9, x9, #63 add w9, w9, w10, asr #6 add x8, x8, w9, sxtw ldp x9, x10, [sp, #48] ; 16-byte Folded Reload ; kill: def $w9 killed $w9 killed $x9 def $x9 ; kill: def $w10 killed $w10 killed $x10 def $x10 stp x9, x19, [sp, #24] ldr x9, [sp, #64] ; 8-byte Folded Reload ; kill: def $w9 killed $w9 killed $x9 def $x9 stp x9, x10, [sp, #8] str x8, [sp] mov x0, x23 Lloh469: adrp x1, l_.str.41@PAGE Lloh470: add x1, x1, l_.str.41@PAGEOFF bl _fprintf str x25, [sp, #96] ; 8-byte Folded Spill b LBB6_44 LBB6_243: ldr x0, [x19] bl _print_usage mov w0, #-1 b LBB6_246 LBB6_244: Lloh471: adrp x8, ___stderrp@GOTPAGE Lloh472: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh473: ldr x0, [x8] str x21, [sp] Lloh474: adrp x1, l_.str.32@PAGE Lloh475: add x1, x1, l_.str.32@PAGEOFF bl _fprintf mov w0, #-1 b LBB6_246 LBB6_245: Lloh476: adrp x8, ___stderrp@GOTPAGE Lloh477: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh478: ldr x0, [x8] str x21, [sp] Lloh479: adrp x1, l_.str.33@PAGE Lloh480: add x1, x1, l_.str.33@PAGEOFF bl _fprintf mov x0, x20 bl _fclose mov w0, #-2 LBB6_246: ldp x29, x30, [sp, #208] ; 16-byte Folded Reload ldp x20, x19, [sp, #192] ; 16-byte Folded Reload ldp x22, x21, [sp, #176] ; 16-byte Folded Reload ldp x24, x23, [sp, #160] ; 16-byte Folded Reload ldp x26, x25, [sp, #144] ; 16-byte Folded Reload ldp x28, x27, [sp, #128] ; 16-byte Folded Reload add sp, sp, #224 ret .loh AdrpLdrGot Lloh91, Lloh92 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpLdrGotStr Lloh78, Lloh79, Lloh90 .loh AdrpLdrGotStr Lloh76, Lloh77, Lloh89 .loh AdrpAdd Lloh74, Lloh75 .loh AdrpLdrGotStr Lloh72, Lloh73, Lloh88 .loh AdrpLdrGotStr Lloh70, Lloh71, Lloh87 .loh AdrpLdrGot Lloh68, Lloh69 .loh AdrpLdrGot Lloh66, Lloh67 .loh AdrpLdrGotStr Lloh64, Lloh65, Lloh86 .loh AdrpLdrGotStr Lloh62, Lloh63, Lloh85 .loh AdrpLdrGotStr Lloh60, Lloh61, Lloh82 .loh AdrpLdrGotStr Lloh98, Lloh99, Lloh100 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95 .loh AdrpAdd Lloh101, Lloh102 .loh AdrpAdd Lloh103, Lloh104 .loh AdrpAdd Lloh105, Lloh106 .loh AdrpAdd Lloh107, Lloh108 .loh AdrpAdd Lloh109, Lloh110 .loh AdrpAdd Lloh111, Lloh112 .loh AdrpAdd Lloh113, Lloh114 .loh AdrpAdd Lloh115, Lloh116 .loh AdrpAdd Lloh117, Lloh118 .loh AdrpAdd Lloh119, Lloh120 .loh AdrpAdd Lloh121, Lloh122 .loh AdrpAdd Lloh123, Lloh124 .loh AdrpAdd Lloh125, Lloh126 .loh AdrpAdd Lloh127, Lloh128 .loh AdrpLdrGotStr Lloh129, Lloh130, Lloh131 .loh AdrpLdrGotStr Lloh132, Lloh133, Lloh134 .loh AdrpLdrGot Lloh135, Lloh136 .loh AdrpLdrGotStr Lloh137, Lloh138, Lloh139 .loh AdrpLdrGotStr Lloh143, Lloh144, Lloh145 .loh AdrpLdrGotStr Lloh140, Lloh141, Lloh142 .loh AdrpLdrGotStr Lloh146, Lloh147, Lloh148 .loh AdrpLdrGotStr Lloh152, Lloh153, Lloh154 .loh AdrpLdrGotStr Lloh149, Lloh150, Lloh151 .loh AdrpLdrGot Lloh155, Lloh156 .loh AdrpAdd Lloh162, Lloh163 .loh AdrpAdd Lloh160, Lloh161 .loh AdrpLdrGotLdr Lloh157, Lloh158, Lloh159 .loh AdrpLdrGot Lloh164, Lloh165 .loh AdrpLdrGot Lloh166, Lloh167 .loh AdrpAdd Lloh171, Lloh172 .loh AdrpLdrGotLdr Lloh168, Lloh169, Lloh170 .loh AdrpAdd Lloh176, Lloh177 .loh AdrpLdrGotLdr Lloh173, Lloh174, Lloh175 .loh AdrpAdd Lloh181, Lloh182 .loh AdrpLdrGotLdr Lloh178, Lloh179, Lloh180 .loh AdrpAdd Lloh183, Lloh184 .loh AdrpLdrGotLdr Lloh185, Lloh186, Lloh187 .loh AdrpAdd Lloh188, Lloh189 .loh AdrpAdd Lloh190, Lloh191 .loh AdrpLdrGot Lloh192, Lloh193 .loh AdrpAddLdr Lloh194, Lloh195, Lloh196 .loh AdrpAddLdr Lloh197, Lloh198, Lloh199 .loh AdrpAddLdr Lloh200, Lloh201, Lloh202 .loh AdrpAdd Lloh203, Lloh204 .loh AdrpAdd Lloh205, Lloh206 .loh AdrpAddLdr Lloh207, Lloh208, Lloh209 .loh AdrpAddLdr Lloh210, Lloh211, Lloh212 .loh AdrpAddLdr Lloh213, Lloh214, Lloh215 .loh AdrpAdd Lloh216, Lloh217 .loh AdrpAdd Lloh218, Lloh219 .loh AdrpLdrGotLdr Lloh220, Lloh221, Lloh222 .loh AdrpAddLdr Lloh223, Lloh224, Lloh225 .loh AdrpAddLdr Lloh226, Lloh227, Lloh228 .loh AdrpAddLdr Lloh229, Lloh230, Lloh231 .loh AdrpAdd Lloh235, Lloh236 .loh AdrpLdrGotLdr Lloh232, Lloh233, Lloh234 .loh AdrpAdd Lloh237, Lloh238 .loh AdrpAdd Lloh239, Lloh240 .loh AdrpAddLdr Lloh241, Lloh242, Lloh243 .loh AdrpAddLdr Lloh244, Lloh245, Lloh246 .loh AdrpAddLdr Lloh247, Lloh248, Lloh249 .loh AdrpAdd Lloh253, Lloh254 .loh AdrpLdrGotLdr Lloh250, Lloh251, Lloh252 .loh AdrpAdd Lloh255, Lloh256 .loh AdrpAdd Lloh257, Lloh258 .loh AdrpAddLdr Lloh259, Lloh260, Lloh261 .loh AdrpAddLdr Lloh262, Lloh263, Lloh264 .loh AdrpAddLdr Lloh265, Lloh266, Lloh267 .loh AdrpAdd Lloh271, Lloh272 .loh AdrpLdrGotLdr Lloh268, Lloh269, Lloh270 .loh AdrpAdd Lloh273, Lloh274 .loh AdrpAdd Lloh275, Lloh276 .loh AdrpAddLdr Lloh277, Lloh278, Lloh279 .loh AdrpAddLdr Lloh280, Lloh281, Lloh282 .loh AdrpAddLdr Lloh283, Lloh284, Lloh285 .loh AdrpAdd Lloh289, Lloh290 .loh AdrpLdrGotLdr Lloh286, Lloh287, Lloh288 .loh AdrpAdd Lloh291, Lloh292 .loh AdrpAdd Lloh293, Lloh294 .loh AdrpAddLdr Lloh295, Lloh296, Lloh297 .loh AdrpAddLdr Lloh298, Lloh299, Lloh300 .loh AdrpAddLdr Lloh301, Lloh302, Lloh303 .loh AdrpAddLdr Lloh304, Lloh305, Lloh306 .loh AdrpAdd Lloh310, Lloh311 .loh AdrpLdrGotLdr Lloh307, Lloh308, Lloh309 .loh AdrpAdd Lloh315, Lloh316 .loh AdrpLdrGotLdr Lloh312, Lloh313, Lloh314 .loh AdrpAdd Lloh320, Lloh321 .loh AdrpLdrGotLdr Lloh317, Lloh318, Lloh319 .loh AdrpAdd Lloh322, Lloh323 .loh AdrpAdd Lloh324, Lloh325 .loh AdrpAdd Lloh326, Lloh327 .loh AdrpAdd Lloh328, Lloh329 .loh AdrpAdd Lloh330, Lloh331 .loh AdrpAdd Lloh332, Lloh333 .loh AdrpAdd Lloh334, Lloh335 .loh AdrpAdd Lloh336, Lloh337 .loh AdrpAdd Lloh338, Lloh339 .loh AdrpAdd Lloh340, Lloh341 .loh AdrpAdd Lloh342, Lloh343 .loh AdrpAdd Lloh344, Lloh345 .loh AdrpAdd Lloh346, Lloh347 .loh AdrpAdd Lloh348, Lloh349 .loh AdrpAddLdr Lloh350, Lloh351, Lloh352 .loh AdrpLdrGotLdr Lloh353, Lloh354, Lloh355 .loh AdrpLdrGot Lloh356, Lloh357 .loh AdrpLdrGot Lloh358, Lloh359 .loh AdrpLdrGot Lloh360, Lloh361 .loh AdrpLdrGotLdr Lloh371, Lloh372, Lloh373 .loh AdrpLdrGotLdr Lloh368, Lloh369, Lloh370 .loh AdrpLdrGotLdr Lloh365, Lloh366, Lloh367 .loh AdrpLdrGotLdr Lloh362, Lloh363, Lloh364 .loh AdrpAdd Lloh377, Lloh378 .loh AdrpLdrGotLdr Lloh374, Lloh375, Lloh376 .loh AdrpAdd Lloh382, Lloh383 .loh AdrpLdrGotLdr Lloh379, Lloh380, Lloh381 .loh AdrpAdd Lloh384, Lloh385 .loh AdrpAdd Lloh386, Lloh387 .loh AdrpAddLdr Lloh388, Lloh389, Lloh390 .loh AdrpAdd Lloh391, Lloh392 .loh AdrpAdd Lloh393, Lloh394 .loh AdrpAdd Lloh395, Lloh396 .loh AdrpAdd Lloh397, Lloh398 .loh AdrpAdd Lloh399, Lloh400 .loh AdrpAdd Lloh401, Lloh402 .loh AdrpAdd Lloh403, Lloh404 .loh AdrpAdd Lloh405, Lloh406 .loh AdrpAdd Lloh407, Lloh408 .loh AdrpAddLdr Lloh409, Lloh410, Lloh411 .loh AdrpLdrGot Lloh417, Lloh418 .loh AdrpAdd Lloh415, Lloh416 .loh AdrpLdrGotLdr Lloh412, Lloh413, Lloh414 .loh AdrpAdd Lloh422, Lloh423 .loh AdrpLdrGotLdr Lloh419, Lloh420, Lloh421 .loh AdrpLdrGotLdr Lloh424, Lloh425, Lloh426 .loh AdrpLdrGot Lloh427, Lloh428 .loh AdrpLdrGot Lloh429, Lloh430 .loh AdrpLdrGot Lloh431, Lloh432 .loh AdrpLdrGot Lloh433, Lloh434 .loh AdrpLdrGot Lloh435, Lloh436 .loh AdrpLdrGotLdr Lloh446, Lloh447, Lloh448 .loh AdrpLdrGotLdr Lloh443, Lloh444, Lloh445 .loh AdrpLdrGotLdr Lloh440, Lloh441, Lloh442 .loh AdrpLdrGotLdr Lloh437, Lloh438, Lloh439 .loh AdrpAdd Lloh452, Lloh453 .loh AdrpLdrGotLdr Lloh449, Lloh450, Lloh451 .loh AdrpAdd Lloh457, Lloh458 .loh AdrpLdrGotLdr Lloh454, Lloh455, Lloh456 .loh AdrpLdrGot Lloh464, Lloh465 .loh AdrpAdd Lloh462, Lloh463 .loh AdrpLdrGotLdr Lloh459, Lloh460, Lloh461 .loh AdrpAdd Lloh469, Lloh470 .loh AdrpLdrGotLdr Lloh466, Lloh467, Lloh468 .loh AdrpAdd Lloh474, Lloh475 .loh AdrpLdrGotLdr Lloh471, Lloh472, Lloh473 .loh AdrpAdd Lloh479, Lloh480 .loh AdrpLdrGotLdr Lloh476, Lloh477, Lloh478 .cfi_endproc .section __TEXT,__const .p2align 1 lJTI6_0: .short (LBB6_1-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_4-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_243-LBB6_1)>>2 .short (LBB6_18-LBB6_1)>>2 .short (LBB6_21-LBB6_1)>>2 ; -- End function .section __DATA,__data .globl _IDR4 ; @IDR4 _IDR4: .ascii "e\270" .globl _NALx_START ; @NALx_START _NALx_START: .ascii "\000\000\000\001" .globl _IDR4_START ; @IDR4_START _IDR4_START: .ascii "\000\000\000\001e\210" .globl _IDR5_START ; @IDR5_START _IDR5_START: .ascii "\000\000\000\001&" .globl _PFR4_START ; @PFR4_START _PFR4_START: .ascii "\000\000\000\001A" .globl _PFR5_START ; @PFR5_START _PFR5_START: .ascii "\000\000\000\001\002" .globl _SPS4_START ; @SPS4_START _SPS4_START: .ascii "\000\000\000\001g" .globl _SPS5_START ; @SPS5_START _SPS5_START: .ascii "\000\000\000\001B" .globl _PPS4_START ; @PPS4_START _PPS4_START: .ascii "\000\000\000\001h" .globl _PPS5_START ; @PPS5_START _PPS5_START: .ascii "\000\000\000\001D" .globl _VPS5_START ; @VPS5_START _VPS5_START: .ascii "\000\000\000\001@" .globl _SPS4_640X360 ; @SPS4_640X360 _SPS4_640X360: .ascii "\000\000\000\001gM\000\024\226T\005\001{\3137\001\001\001\002" .globl _SPS4_640X360_TI ; @SPS4_640X360_TI _SPS4_640X360_TI: .ascii "\000\000\000\001gM\000\024\226T\005\001{\3137\001\001\001@\000\000}\000\000\023\210!" .globl _SPS4_1920X1080 ; @SPS4_1920X1080 _SPS4_1920X1080: .ascii "\000\000\000\001gM\000 \226T\003\300\021/,\334\004\004\004\b" .globl _SPS4_1920X1080_TI ; @SPS4_1920X1080_TI _SPS4_1920X1080_TI: .ascii "\000\000\000\001gM\000 \226T\003\300\021/,\334\004\004\005\000\000\003\001\364\000\000N \204" .globl _SPS4_2304X1296 ; @SPS4_2304X1296 _SPS4_2304X1296: .ascii "\000\000\000\001gM\000 \226T\001 \005\0317\001\001\001\002" .globl _SPS4_2304X1296_TI ; @SPS4_2304X1296_TI _SPS4_2304X1296_TI: .ascii "\000\000\000\001gM\000 \226T\001 \005\0317\001\000\000@\000\000}\000\000\023\210!" .globl _SPS4_2_640X360 ; @SPS4_2_640X360 _SPS4_2_640X360: .ascii "\000\000\000\001gd\000\024\254,\250\n\002\367\226n\002\002\002\004" .globl _SPS4_2_640X360_TI ; @SPS4_2_640X360_TI _SPS4_2_640X360_TI: .ascii "\000\000\000\001gd\000\024\254,\250\n\002\367\226n\002\002\002\200\000\000\372\000\000'\020B" .globl _SPS4_2_1920X1080 ; @SPS4_2_1920X1080 _SPS4_2_1920X1080: .ascii "\000\000\000\001gd\000 \254,\250\007\200\"^Y\270\b\b\b\020" .globl _SPS4_2_1920X1080_TI ; @SPS4_2_1920X1080_TI _SPS4_2_1920X1080_TI: .ascii "\000\000\000\001gd\000 \254,\250\007\200\"^Y\270\b\b\n\000\000\003\003\350\000\000\234A\b" .globl _SPS4_2_2304X1296 ; @SPS4_2_2304X1296 _SPS4_2_2304X1296: .ascii "\000\000\000\001gd\000 \254,\250\002@\n2n\002\002\002\004" .globl _SPS4_2_2304X1296_TI ; @SPS4_2_2304X1296_TI _SPS4_2_2304X1296_TI: .ascii "\000\000\000\001gd\000 \254,\250\002@\n2n\002\002\002\200\000\000\372\000\000'\020B" .globl _VPS5_1920X1080 ; @VPS5_1920X1080 _VPS5_1920X1080: .ascii "\000\000\000\001@\001\f\001\377\377\001`\000\000\003\000\000\003\000\000\003\000\000\003\000{\254\t" .globl _VPS5_1920X1080_TI ; @VPS5_1920X1080_TI _VPS5_1920X1080_TI: .ascii "\000\000\000\001@\001\f\001\377\377\001`\000\000\003\000\000\003\000\000\003\000\000\003\000{\254\f\000\000\017\244\000\0018\201@" .comm _addr,8,3 ; @addr .comm _buf_size,4,2 ; @buf_size .comm _buf_offset,4,2 ; @buf_offset .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\nUsage: %s [-r RES] [-d]\n\n" l_.str.1: ; @.str.1 .asciz "\t-m MODEL, --model MODEL\n" l_.str.2: ; @.str.2 .asciz "\t\tset model: y21ga, y211ga, h30ga, r30gb, r40ga, h51ga, h52ga, h60ga, y28ga, q321br_lsx, qg311r or b091qp (default y21ga)\n" l_.str.3: ; @.str.3 .asciz "\t-r RES, --resolution RES\n" l_.str.4: ; @.str.4 .asciz "\t\tset resolution: LOW or HIGH (default HIGH)\n" l_.str.5: ; @.str.5 .asciz "\t-s, --sti\n" l_.str.6: ; @.str.6 .asciz "\t\tdon't overwrite SPS timing info (default overwrite)\n" l_.str.7: ; @.str.7 .asciz "\t-d, --debug\n" l_.str.8: ; @.str.8 .asciz "\t\tenable debug\n" .comm _resolution,4,2 ; @resolution .comm _sps_timing_info,4,2 ; @sps_timing_info .comm _debug,4,2 ; @debug .comm _frame_header_size,4,2 ; @frame_header_size .comm _data_offset,4,2 ; @data_offset .comm _lowres_byte,4,2 ; @lowres_byte .comm _highres_byte,4,2 ; @highres_byte .section __DATA,__data .p2align 3 ; @main.long_options _main.long_options: .quad l_.str.9 .long 1 ; 0x1 .space 4 .quad 0 .long 109 ; 0x6d .space 4 .quad l_.str.10 .long 1 ; 0x1 .space 4 .quad 0 .long 114 ; 0x72 .space 4 .quad l_.str.11 .long 0 ; 0x0 .space 4 .quad 0 .long 115 ; 0x73 .space 4 .quad l_.str.12 .long 0 ; 0x0 .space 4 .quad 0 .long 100 ; 0x64 .space 4 .quad l_.str.13 .long 0 ; 0x0 .space 4 .quad 0 .long 104 ; 0x68 .space 4 .space 32 .section __TEXT,__cstring,cstring_literals l_.str.9: ; @.str.9 .asciz "model" l_.str.10: ; @.str.10 .asciz "resolution" l_.str.11: ; @.str.11 .asciz "sti" l_.str.12: ; @.str.12 .asciz "debug" l_.str.13: ; @.str.13 .asciz "help" l_.str.14: ; @.str.14 .asciz "m:r:sdh" l_.str.15: ; @.str.15 .asciz "y21ga" l_.str.16: ; @.str.16 .asciz "y211ga" l_.str.17: ; @.str.17 .asciz "h30ga" l_.str.18: ; @.str.18 .asciz "r30gb" l_.str.19: ; @.str.19 .asciz "r40ga" l_.str.20: ; @.str.20 .asciz "h51ga" l_.str.21: ; @.str.21 .asciz "h52ga" l_.str.22: ; @.str.22 .asciz "h60ga" l_.str.23: ; @.str.23 .asciz "y28ga" l_.str.24: ; @.str.24 .asciz "q321br_lsx" l_.str.25: ; @.str.25 .asciz "qg311r" l_.str.26: ; @.str.26 .asciz "b091qp" l_.str.27: ; @.str.27 .asciz "low" l_.str.28: ; @.str.28 .asciz "high" l_.str.29: ; @.str.29 .asciz "debug on\n" l_.str.30: ; @.str.30 .asciz "/dev/shm/fshare_frame_buf" l_.str.31: ; @.str.31 .asciz "r" l_.str.32: ; @.str.32 .asciz "error - could not open file %s\n" l_.str.33: ; @.str.33 .asciz "error - mapping file %s\n" l_.str.34: ; @.str.34 .asciz "mapping file %s, size %d, to %08x\n" l_.str.35: ; @.str.35 .asciz "closing the file %s\n" l_.str.36: ; @.str.36 .asciz "starting capture main loop\n" l_.str.37: ; @.str.37 .asciz "%lld: warning - incorrect frame counter - frame_counter: %d - frame_counter_last_valid: %d\n" l_.str.38: ; @.str.38 .asciz "%lld: error - sync lost\n" l_.str.39: ; @.str.39 .asciz "%lld: SPS detected - frame_len: %d - frame_counter: %d - frame_counter_last_valid: %d - resolution: %d\n" l_.str.40: ; @.str.40 .asciz "%lld: warning - unexpected NALU header\n" l_.str.41: ; @.str.41 .asciz "%lld: frame detected - frame_len: %d - frame_counter: %d - frame_counter_last_valid: %d - resolution: %d\n" .subsections_via_symbols
the_stack_data/73576463.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pm_tree_free _pm_tree_free: ## @pm_tree_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %rbx movl %esi, %edi callq _assert testl %r14d, %r14d js LBB0_1 ## %bb.3: movl %r14d, %r15d shlq $4, %r15 movl (%rbx,%r15), %esi movq %rbx, %rdi callq _pm_tree_free movl 4(%rbx,%r15), %esi movq %rbx, %rdi callq _pm_tree_free movl (%rbx), %eax movl %eax, (%rbx,%r15) movl %r14d, (%rbx) jmp LBB0_2 LBB0_1: movslq %r14d, %rax shlq $4, %rax movq 8(%rbx,%rax), %rax incl (%rax) LBB0_2: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _pm_tree_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pm_tree_free _pm_tree_free: ; @pm_tree_free .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 mov x0, x1 bl _assert tbnz w19, #31, LBB0_2 ; %bb.1: add x21, x20, w19, uxtw #4 ldr w1, [x21] mov x0, x20 bl _pm_tree_free ldr w1, [x21, #4] mov x0, x20 bl _pm_tree_free ldr w8, [x20] str w8, [x21] str w19, [x20] b LBB0_3 LBB0_2: add x8, x20, w19, sxtw #4 ldr x8, [x8, #8] ldr w9, [x8] add w9, w9, #1 str w9, [x8] LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _pm_tree_free .subsections_via_symbols
AnghaBench/kphp-kdb/text/extr_text-index.c_pm_tree_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mz_crypt_hmac_free _mz_crypt_hmac_free: ## @mz_crypt_hmac_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %esi, %esi movl $4, %edx popq %rbp jmp _memset ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _mz_crypt_hmac_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mz_crypt_hmac_free _mz_crypt_hmac_free: ; @mz_crypt_hmac_free .cfi_startproc ; %bb.0: mov w1, #0 mov w2, #4 b _memset .cfi_endproc ; -- End function .no_dead_strip _mz_crypt_hmac_free .subsections_via_symbols
AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_crypt_apple.c_mz_crypt_hmac_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nfsd_open_verified ## -- Begin function nfsd_open_verified .p2align 4, 0x90 _nfsd_open_verified: ## @nfsd_open_verified .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 %r8, %r14 movl %ecx, %r15d movl %edx, %r12d movq %rsi, %r13 movq %rdi, %rbx xorl %eax, %eax callq _validate_process_creds movq %rbx, %rdi movq %r13, %rsi movl %r12d, %edx movl %r15d, %ecx movq %r14, %r8 callq ___nfsd_open movl %eax, %ebx xorl %eax, %eax callq _validate_process_creds movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nfsd_open_verified ; -- Begin function nfsd_open_verified .p2align 2 _nfsd_open_verified: ; @nfsd_open_verified .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x4 mov x20, x3 mov x21, x2 mov x22, x1 mov x23, x0 bl _validate_process_creds mov x0, x23 mov x1, x22 mov x2, x21 mov x3, x20 mov x4, x19 bl ___nfsd_open mov x19, x0 bl _validate_process_creds 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 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/fs/nfsd/extr_vfs.c_nfsd_open_verified.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mt7615_mac_tx_rate_val _mt7615_mac_tx_rate_val: ## @mt7615_mac_tx_rate_val .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r13 movl %edx, %r14d movq %rsi, %rbx movl $0, (%rcx) movl (%rsi), %ecx movq _IEEE80211_TX_RC_VHT_MCS@GOTPCREL(%rip), %rax testl %ecx, (%rax) je LBB0_3 ## %bb.1: movq %rbx, %rdi callq _ieee80211_rate_get_vht_mcs movl %eax, %r15d movq %rbx, %rdi callq _ieee80211_rate_get_vht_nss movq _MT_PHY_TYPE_VHT@GOTPCREL(%rip), %rcx movl (%rcx), %r12d movl (%rbx), %ecx movq _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) jne LBB0_2 ## %bb.6: movq _IEEE80211_TX_RC_80_MHZ_WIDTH@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) je LBB0_12 ## %bb.7: movl $2, (%r13) jmp LBB0_14 LBB0_3: movq _IEEE80211_TX_RC_MCS@GOTPCREL(%rip), %rax testl %ecx, (%rax) je LBB0_8 ## %bb.4: movl 4(%rbx), %r15d movl %r15d, %eax sarl $3, %eax movq _IEEE80211_TX_RC_GREEN_FIELD@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) jne LBB0_9 ## %bb.5: movq _MT_PHY_TYPE_HT@GOTPCREL(%rip), %rdx jmp LBB0_10 LBB0_8: movq (%rdi), %rax movslq (%rax), %r15 callq _mt76_hw movq (%rax), %rax movq (%rax), %rax movq (%rax,%r15,8), %rax movq (%rax), %rax movslq 4(%rbx), %rcx movq _IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPCREL(%rip), %rdx movl (%rdx), %edx testl %edx, (%rbx) leaq (%rax,%rcx,8), %rdx leaq 4(%rax,%rcx,8), %rax cmovneq %rdx, %rax movl (%rax), %r12d movzbl %r12b, %r15d sarl $8, %r12d movl $1, %eax jmp LBB0_14 LBB0_9: movq _MT_PHY_TYPE_HT_GF@GOTPCREL(%rip), %rdx LBB0_10: incl %eax movl (%rdx), %r12d movq _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) je LBB0_14 LBB0_2: movl $1, (%r13) LBB0_14: testl %r14d, %r14d setne %cl cmpl $1, %eax sete %dl movq _MT_TX_RATE_STBC@GOTPCREL(%rip), %rsi decl %eax xorl %r13d, %r13d testb %dl, %cl cmovnel (%rsi), %r13d movq _MT_TX_RATE_IDX@GOTPCREL(%rip), %rcx movl (%rcx), %edi movl $1, %r14d cmovel %eax, %r14d movl %r15d, %esi callq _FIELD_PREP movl %eax, %ebx movq _MT_TX_RATE_MODE@GOTPCREL(%rip), %rax movl (%rax), %edi movl %r12d, %esi callq _FIELD_PREP movl %eax, %r15d movq _MT_TX_RATE_NSS@GOTPCREL(%rip), %rax movl (%rax), %edi movl %r14d, %esi callq _FIELD_PREP orl %r13d, %ebx orl %ebx, %eax orl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: movq _IEEE80211_TX_RC_160_MHZ_WIDTH@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) je LBB0_14 ## %bb.13: movl $3, (%r13) jmp LBB0_14 .cfi_endproc ## -- End function .comm _IEEE80211_TX_RC_VHT_MCS,4,2 ## @IEEE80211_TX_RC_VHT_MCS .comm _MT_PHY_TYPE_VHT,4,2 ## @MT_PHY_TYPE_VHT .comm _IEEE80211_TX_RC_40_MHZ_WIDTH,4,2 ## @IEEE80211_TX_RC_40_MHZ_WIDTH .comm _IEEE80211_TX_RC_80_MHZ_WIDTH,4,2 ## @IEEE80211_TX_RC_80_MHZ_WIDTH .comm _IEEE80211_TX_RC_160_MHZ_WIDTH,4,2 ## @IEEE80211_TX_RC_160_MHZ_WIDTH .comm _IEEE80211_TX_RC_MCS,4,2 ## @IEEE80211_TX_RC_MCS .comm _MT_PHY_TYPE_HT,4,2 ## @MT_PHY_TYPE_HT .comm _IEEE80211_TX_RC_GREEN_FIELD,4,2 ## @IEEE80211_TX_RC_GREEN_FIELD .comm _MT_PHY_TYPE_HT_GF,4,2 ## @MT_PHY_TYPE_HT_GF .comm _IEEE80211_TX_RC_USE_SHORT_PREAMBLE,4,2 ## @IEEE80211_TX_RC_USE_SHORT_PREAMBLE .comm _MT_TX_RATE_STBC,4,2 ## @MT_TX_RATE_STBC .comm _MT_TX_RATE_IDX,4,2 ## @MT_TX_RATE_IDX .comm _MT_TX_RATE_MODE,4,2 ## @MT_TX_RATE_MODE .comm _MT_TX_RATE_NSS,4,2 ## @MT_TX_RATE_NSS .no_dead_strip _mt7615_mac_tx_rate_val .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mt7615_mac_tx_rate_val _mt7615_mac_tx_rate_val: ; @mt7615_mac_tx_rate_val .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 x22, x3 mov x19, x2 mov x23, x1 str wzr, [x3] ldr w8, [x1] Lloh0: adrp x9, _IEEE80211_TX_RC_VHT_MCS@GOTPAGE Lloh1: ldr x9, [x9, _IEEE80211_TX_RC_VHT_MCS@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_4 ; %bb.1: mov x0, x23 bl _ieee80211_rate_get_vht_mcs mov x20, x0 mov x0, x23 bl _ieee80211_rate_get_vht_nss Lloh3: adrp x8, _MT_PHY_TYPE_VHT@GOTPAGE Lloh4: ldr x8, [x8, _MT_PHY_TYPE_VHT@GOTPAGEOFF] Lloh5: ldr w21, [x8] ldr w8, [x23] Lloh6: adrp x9, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGE Lloh7: ldr x9, [x9, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGEOFF] Lloh8: ldr w9, [x9] tst w9, w8 b.ne LBB0_6 ; %bb.2: Lloh9: adrp x9, _IEEE80211_TX_RC_80_MHZ_WIDTH@GOTPAGE Lloh10: ldr x9, [x9, _IEEE80211_TX_RC_80_MHZ_WIDTH@GOTPAGEOFF] Lloh11: ldr w9, [x9] tst w9, w8 b.eq LBB0_10 ; %bb.3: mov w8, #2 b LBB0_7 LBB0_4: Lloh12: adrp x9, _IEEE80211_TX_RC_MCS@GOTPAGE Lloh13: ldr x9, [x9, _IEEE80211_TX_RC_MCS@GOTPAGEOFF] Lloh14: ldr w9, [x9] tst w9, w8 b.eq LBB0_9 ; %bb.5: ldr w20, [x23, #4] asr w9, w20, #3 add w0, w9, #1 Lloh15: adrp x9, _IEEE80211_TX_RC_GREEN_FIELD@GOTPAGE Lloh16: ldr x9, [x9, _IEEE80211_TX_RC_GREEN_FIELD@GOTPAGEOFF] Lloh17: ldr w9, [x9] Lloh18: adrp x10, _MT_PHY_TYPE_HT@GOTPAGE Lloh19: ldr x10, [x10, _MT_PHY_TYPE_HT@GOTPAGEOFF] Lloh20: adrp x11, _MT_PHY_TYPE_HT_GF@GOTPAGE Lloh21: ldr x11, [x11, _MT_PHY_TYPE_HT_GF@GOTPAGEOFF] tst w9, w8 csel x9, x10, x11, eq ldr w21, [x9] Lloh22: adrp x9, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGE Lloh23: ldr x9, [x9, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGEOFF] Lloh24: ldr w9, [x9] tst w9, w8 b.eq LBB0_8 LBB0_6: mov w8, #1 LBB0_7: str w8, [x22] LBB0_8: cmp w19, #0 cset w22, ne subs w23, w0, #1 cset w24, eq Lloh25: adrp x8, _MT_TX_RATE_STBC@GOTPAGE Lloh26: ldr x8, [x8, _MT_TX_RATE_STBC@GOTPAGEOFF] Lloh27: ldr w25, [x8] Lloh28: adrp x8, _MT_TX_RATE_IDX@GOTPAGE Lloh29: ldr x8, [x8, _MT_TX_RATE_IDX@GOTPAGEOFF] Lloh30: ldr w0, [x8] mov x1, x20 bl _FIELD_PREP mov x19, x0 Lloh31: adrp x8, _MT_TX_RATE_MODE@GOTPAGE Lloh32: ldr x8, [x8, _MT_TX_RATE_MODE@GOTPAGEOFF] Lloh33: ldr w0, [x8] mov x1, x21 bl _FIELD_PREP mov x20, x0 tst w22, w24 csel w21, w25, wzr, ne Lloh34: adrp x8, _MT_TX_RATE_NSS@GOTPAGE Lloh35: ldr x8, [x8, _MT_TX_RATE_NSS@GOTPAGEOFF] Lloh36: ldr w0, [x8] csinc w1, w23, wzr, eq bl _FIELD_PREP orr w8, w19, w21 orr w8, w8, w20 orr w0, w8, w0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_9: ldr x8, [x0] ldrsw x20, [x8] bl _mt76_hw ldr x8, [x0] ldr x8, [x8] ldr x8, [x8, x20, lsl #3] ldr x8, [x8] ldp w10, w9, [x23] ; kill: def $w9 killed $w9 def $x9 sxtw x9, w9 Lloh37: adrp x11, _IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPAGE Lloh38: ldr x11, [x11, _IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPAGEOFF] Lloh39: ldr w11, [x11] add x8, x8, x9, lsl #3 add x9, x8, #4 tst w11, w10 csel x8, x9, x8, eq ldr w8, [x8] asr w21, w8, #8 and w20, w8, #0xff mov w0, #1 b LBB0_8 LBB0_10: Lloh40: adrp x9, _IEEE80211_TX_RC_160_MHZ_WIDTH@GOTPAGE Lloh41: ldr x9, [x9, _IEEE80211_TX_RC_160_MHZ_WIDTH@GOTPAGEOFF] Lloh42: ldr w9, [x9] tst w9, w8 b.eq LBB0_8 ; %bb.11: mov w8, #3 b LBB0_7 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .cfi_endproc ; -- End function .comm _IEEE80211_TX_RC_VHT_MCS,4,2 ; @IEEE80211_TX_RC_VHT_MCS .comm _MT_PHY_TYPE_VHT,4,2 ; @MT_PHY_TYPE_VHT .comm _IEEE80211_TX_RC_40_MHZ_WIDTH,4,2 ; @IEEE80211_TX_RC_40_MHZ_WIDTH .comm _IEEE80211_TX_RC_80_MHZ_WIDTH,4,2 ; @IEEE80211_TX_RC_80_MHZ_WIDTH .comm _IEEE80211_TX_RC_160_MHZ_WIDTH,4,2 ; @IEEE80211_TX_RC_160_MHZ_WIDTH .comm _IEEE80211_TX_RC_MCS,4,2 ; @IEEE80211_TX_RC_MCS .comm _MT_PHY_TYPE_HT,4,2 ; @MT_PHY_TYPE_HT .comm _IEEE80211_TX_RC_GREEN_FIELD,4,2 ; @IEEE80211_TX_RC_GREEN_FIELD .comm _MT_PHY_TYPE_HT_GF,4,2 ; @MT_PHY_TYPE_HT_GF .comm _IEEE80211_TX_RC_USE_SHORT_PREAMBLE,4,2 ; @IEEE80211_TX_RC_USE_SHORT_PREAMBLE .comm _MT_TX_RATE_STBC,4,2 ; @MT_TX_RATE_STBC .comm _MT_TX_RATE_IDX,4,2 ; @MT_TX_RATE_IDX .comm _MT_TX_RATE_MODE,4,2 ; @MT_TX_RATE_MODE .comm _MT_TX_RATE_NSS,4,2 ; @MT_TX_RATE_NSS .no_dead_strip _mt7615_mac_tx_rate_val .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7615/extr_mac.c_mt7615_mac_tx_rate_val.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sha256_prf ## -- Begin function sha256_prf .p2align 4, 0x90 _sha256_prf: ## @sha256_prf .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq 16(%rbp), %rax shlq $3, %rax movq %rax, (%rsp) callq _sha256_prf_bits addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sha256_prf ; -- Begin function sha256_prf .p2align 2 _sha256_prf: ; @sha256_prf .cfi_startproc ; %bb.0: lsl x6, x6, #3 b _sha256_prf_bits .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/src/crypto/extr_sha256-prf.c_sha256_prf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _devm_ti_sci_get_by_phandle ## -- Begin function devm_ti_sci_get_by_phandle .p2align 4, 0x90 _devm_ti_sci_get_by_phandle: ## @devm_ti_sci_get_by_phandle .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movq _devm_ti_sci_release@GOTPCREL(%rip), %rax movl (%rax), %edi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movl $8, %esi callq _devres_alloc testq %rax, %rax je LBB0_5 ## %bb.1: movq %rax, %rbx movq %r14, %rdi callq _dev_of_node movl %eax, %edi movq %r15, %rsi callq _ti_sci_get_by_phandle movq %rax, %r15 movq %rax, %rdi callq _IS_ERR testl %eax, %eax je LBB0_2 ## %bb.3: movq %rbx, %rdi callq _devres_free jmp LBB0_4 LBB0_5: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %edi, %edi subl (%rax), %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _ERR_PTR ## TAILCALL LBB0_2: movq %r15, (%rbx) movq %r14, %rdi movq %rbx, %rsi callq _devres_add LBB0_4: movq %r15, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _devm_ti_sci_release,4,2 ## @devm_ti_sci_release .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _devm_ti_sci_get_by_phandle ; -- Begin function devm_ti_sci_get_by_phandle .p2align 2 _devm_ti_sci_get_by_phandle: ; @devm_ti_sci_get_by_phandle .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x1 mov x19, x0 Lloh0: adrp x8, _devm_ti_sci_release@GOTPAGE Lloh1: ldr x8, [x8, _devm_ti_sci_release@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x8, _GFP_KERNEL@GOTPAGE Lloh4: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov w1, #8 bl _devres_alloc cbz x0, LBB0_3 ; %bb.1: mov x20, x0 mov x0, x19 bl _dev_of_node mov x1, x21 bl _ti_sci_get_by_phandle mov x21, x0 bl _IS_ERR cbz w0, LBB0_4 ; %bb.2: mov x0, x20 bl _devres_free b LBB0_5 LBB0_3: Lloh6: adrp x8, _ENOMEM@GOTPAGE Lloh7: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh8: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _ERR_PTR LBB0_4: str x21, [x20] mov x0, x19 mov x1, x20 bl _devres_add LBB0_5: mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _devm_ti_sci_release,4,2 ; @devm_ti_sci_release .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .subsections_via_symbols
AnghaBench/linux/drivers/firmware/extr_ti_sci.c_devm_ti_sci_get_by_phandle.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dev_is_ethdev _dev_is_ethdev: ## @dev_is_ethdev .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 _ARPHRD_ETHER@GOTPCREL(%rip), %rdx xorl %eax, %eax cmpq (%rdx), %rcx jne LBB0_2 ## %bb.1: movl 8(%rdi), %edi leaq L_.str(%rip), %rsi movl $5, %edx callq _strncmp movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx setne %al LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .comm _ARPHRD_ETHER,8,3 ## @ARPHRD_ETHER .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "dummy" .no_dead_strip _dev_is_ethdev .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dev_is_ethdev _dev_is_ethdev: ; @dev_is_ethdev .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr x8, [x0] Lloh0: adrp x9, _ARPHRD_ETHER@GOTPAGE Lloh1: ldr x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: ldr w0, [x0, #8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov w2, #5 bl _strncmp cmp x0, #0 cset w0, ne ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _ARPHRD_ETHER,8,3 ; @ARPHRD_ETHER .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "dummy" .no_dead_strip _dev_is_ethdev .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/ia64/hp/sim/extr_simeth.c_dev_is_ethdev.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/77858.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3UnlinkAndDeleteTrigger ## -- Begin function sqlite3UnlinkAndDeleteTrigger .p2align 4, 0x90 _sqlite3UnlinkAndDeleteTrigger: ## @sqlite3UnlinkAndDeleteTrigger .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movl %esi, %ebx movq %rdi, %r14 xorl %edx, %edx callq _sqlite3SchemaMutexHeld movl %eax, %edi callq _assert movq 8(%r14), %rax movslq %ebx, %rcx movq (%rax,%rcx,8), %rdi movq %r15, %rsi xorl %edx, %edx callq _sqlite3HashInsert movq %rax, %rbx movq %rax, %rdi callq _ALWAYS testq %rax, %rax je LBB0_6 ## %bb.1: movq (%rbx), %rax cmpq 8(%rbx), %rax jne LBB0_5 ## %bb.2: movq %rbx, %rdi callq _tableOfTrigger .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %rax, %rcx movq (%rax), %rdx leaq 16(%rdx), %rax cmpq %rbx, %rdx jne LBB0_3 ## %bb.4: movq 16(%rbx), %rax movq %rax, (%rcx) LBB0_5: movq %r14, %rdi movq %rbx, %rsi callq _sqlite3DeleteTrigger movq _DBFLAG_SchemaChange@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, (%r14) LBB0_6: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DBFLAG_SchemaChange,4,2 ## @DBFLAG_SchemaChange .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3UnlinkAndDeleteTrigger ; -- Begin function sqlite3UnlinkAndDeleteTrigger .p2align 2 _sqlite3UnlinkAndDeleteTrigger: ; @sqlite3UnlinkAndDeleteTrigger .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x21, x1 mov x19, x0 mov w2, #0 bl _sqlite3SchemaMutexHeld bl _assert ldr x8, [x19, #8] ldr x0, [x8, w21, sxtw #3] mov x1, x20 mov w2, #0 bl _sqlite3HashInsert mov x20, x0 bl _ALWAYS cbz x0, LBB0_6 ; %bb.1: ldp x8, x9, [x20] cmp x8, x9 b.ne LBB0_5 ; %bb.2: mov x0, x20 bl _tableOfTrigger LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x8, x0 ldr x9, [x0] add x0, x9, #16 cmp x9, x20 b.ne LBB0_3 ; %bb.4: ldr x9, [x20, #16] str x9, [x8] LBB0_5: mov x0, x19 mov x1, x20 bl _sqlite3DeleteTrigger Lloh0: adrp x8, _DBFLAG_SchemaChange@GOTPAGE Lloh1: ldr x8, [x8, _DBFLAG_SchemaChange@GOTPAGEOFF] Lloh2: ldr w8, [x8] ldr w9, [x19] orr w8, w9, w8 str w8, [x19] LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DBFLAG_SchemaChange,4,2 ; @DBFLAG_SchemaChange .subsections_via_symbols
AnghaBench/sqlcipher/src/extr_trigger.c_sqlite3UnlinkAndDeleteTrigger.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gfx_ctx_network_set_flags _gfx_ctx_network_set_flags: ## @gfx_ctx_network_set_flags .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _gfx_ctx_network_set_flags .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gfx_ctx_network_set_flags _gfx_ctx_network_set_flags: ; @gfx_ctx_network_set_flags .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _gfx_ctx_network_set_flags .subsections_via_symbols
AnghaBench/RetroArch/gfx/drivers_context/extr_network_ctx.c_gfx_ctx_network_set_flags.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi movl $171, %esi movl $205, %edx xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi movl $1, %esi movl $35, %edx xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "[0xabcd] 1: %02x, 0: %02x\n" L_.str.1: ## @.str.1 .asciz "[0x0123] 1: %02x, 0: %02x\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #205 mov w9, #171 stp x9, x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w8, #35 mov w9, #1 stp x9, 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, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "[0xabcd] 1: %02x, 0: %02x\n" l_.str.1: ; @.str.1 .asciz "[0x0123] 1: %02x, 0: %02x\n" .subsections_via_symbols
the_stack_data/1150352.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gntdev_vma_find_special_page _gntdev_vma_find_special_page: ## @gntdev_vma_find_special_page .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 8(%rax), %rdx subq (%rax), %rsi movq _PAGE_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl shrq %cl, %rsi movq (%rdx,%rsi,8), %rax popq %rbp retq .cfi_endproc ## -- End function .comm _PAGE_SHIFT,8,3 ## @PAGE_SHIFT .no_dead_strip _gntdev_vma_find_special_page .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gntdev_vma_find_special_page _gntdev_vma_find_special_page: ; @gntdev_vma_find_special_page .cfi_startproc ; %bb.0: ldr x8, [x0] ldp x8, x9, [x8] Lloh0: adrp x10, _PAGE_SHIFT@GOTPAGE Lloh1: ldr x10, [x10, _PAGE_SHIFT@GOTPAGEOFF] sub x8, x1, x8 Lloh2: ldr x10, [x10] lsr x8, x8, x10 ldr x0, [x9, x8, lsl #3] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PAGE_SHIFT,8,3 ; @PAGE_SHIFT .no_dead_strip _gntdev_vma_find_special_page .subsections_via_symbols
AnghaBench/linux/drivers/xen/extr_gntdev.c_gntdev_vma_find_special_page.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t1_get_next_mcaddr _t1_get_next_mcaddr: ## @t1_get_next_mcaddr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq 16(%rdi), %rax leal 1(%rax), %ecx movl %ecx, 16(%rdi) movq 8(%rdi), %rcx cmpq %rax, (%rcx) jle LBB0_1 ## %bb.2: movq (%rdi), %rax movq (%rax), %rcx movq 8(%rax), %rax movq %rcx, (%rdi) popq %rbp retq LBB0_1: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _t1_get_next_mcaddr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t1_get_next_mcaddr _t1_get_next_mcaddr: ; @t1_get_next_mcaddr .cfi_startproc ; %bb.0: ldrsw x8, [x0, #16] add w9, w8, #1 str w9, [x0, #16] ldr x9, [x0, #8] ldr x9, [x9] cmp x9, x8 b.le LBB0_2 ; %bb.1: ldr x9, [x0] ldp x9, x8, [x9] str x9, [x0] mov x0, x8 ret LBB0_2: mov x0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _t1_get_next_mcaddr .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_common.h_t1_get_next_mcaddr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/243892567.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_one ## -- Begin function test_one .p2align 4, 0x90 _test_one: ## @test_one .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _test_two ## -- Begin function test_two .p2align 4, 0x90 _test_two: ## @test_two .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _test_three ## -- Begin function test_three .p2align 4, 0x90 _test_three: ## @test_three .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _test_four ## -- Begin function test_four .p2align 4, 0x90 _test_four: ## @test_four .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _test_five ## -- Begin function test_five .p2align 4, 0x90 _test_five: ## @test_five .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_one ; -- Begin function test_one .p2align 2 _test_one: ; @test_one .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _test_two ; -- Begin function test_two .p2align 2 _test_two: ; @test_two .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _test_three ; -- Begin function test_three .p2align 2 _test_three: ; @test_three .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _test_four ; -- Begin function test_four .p2align 2 _test_four: ; @test_four .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _test_five ; -- Begin function test_five .p2align 2 _test_five: ; @test_five .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/87636533.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ov7740_set_power _ov7740_set_power: ## @ov7740_set_power .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 8(%rdi), %edi testl %esi, %esi je LBB0_7 ## %bb.1: callq _clk_prepare_enable movl %eax, %ebx testl %eax, %eax jne LBB0_9 ## %bb.2: movq (%r14), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.3: xorl %esi, %esi callq _gpiod_direction_output LBB0_4: movq 16(%r14), %rdi testq %rdi, %rdi je LBB0_5 ## %bb.6: movl $1, %esi callq _gpiod_set_value movl $500, %edi ## imm = 0x1F4 movl $1000, %esi ## imm = 0x3E8 callq _usleep_range movq 16(%r14), %rdi xorl %ebx, %ebx xorl %esi, %esi callq _gpiod_set_value movl $3000, %edi ## imm = 0xBB8 movl $5000, %esi ## imm = 0x1388 callq _usleep_range jmp LBB0_9 LBB0_7: callq _clk_disable_unprepare movq (%r14), %rdi xorl %ebx, %ebx testq %rdi, %rdi je LBB0_9 ## %bb.8: xorl %esi, %esi callq _gpiod_direction_output jmp LBB0_9 LBB0_5: xorl %ebx, %ebx LBB0_9: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ov7740_set_power .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ov7740_set_power _ov7740_set_power: ; @ov7740_set_power .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, #8] cbz w1, LBB0_6 ; %bb.1: bl _clk_prepare_enable cbnz w0, LBB0_9 ; %bb.2: ldr x0, [x19] cbz x0, LBB0_4 ; %bb.3: mov w1, #0 bl _gpiod_direction_output LBB0_4: ldr x0, [x19, #16] cbz x0, LBB0_9 ; %bb.5: mov w1, #1 bl _gpiod_set_value mov w0, #500 mov w1, #1000 bl _usleep_range ldr x0, [x19, #16] mov w1, #0 bl _gpiod_set_value mov w0, #3000 mov w1, #5000 bl _usleep_range b LBB0_8 LBB0_6: bl _clk_disable_unprepare ldr x0, [x19] cbz x0, LBB0_9 ; %bb.7: mov w1, #0 bl _gpiod_direction_output LBB0_8: mov w0, #0 LBB0_9: 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 _ov7740_set_power .subsections_via_symbols
AnghaBench/linux/drivers/media/i2c/extr_ov7740.c_ov7740_set_power.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wdt_enable _wdt_enable: ## @wdt_enable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _SBC7240_ENABLED_STATUS_BIT@GOTPCREL(%rip), %rax movl (%rax), %edi movq _wdt_status@GOTPCREL(%rip), %rsi callq _test_and_set_bit testl %eax, %eax je LBB0_2 ## %bb.1: popq %rbp retq LBB0_2: movq _SBC7240_ENABLE_PORT@GOTPCREL(%rip), %rax movl (%rax), %edi callq _inb_p leaq L_.str(%rip), %rdi popq %rbp jmp _pr_info ## TAILCALL .cfi_endproc ## -- End function .comm _SBC7240_ENABLED_STATUS_BIT,4,2 ## @SBC7240_ENABLED_STATUS_BIT .comm _wdt_status,4,2 ## @wdt_status .comm _SBC7240_ENABLE_PORT,4,2 ## @SBC7240_ENABLE_PORT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Watchdog timer is now enabled\n" .no_dead_strip _wdt_enable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wdt_enable _wdt_enable: ; @wdt_enable .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _SBC7240_ENABLED_STATUS_BIT@GOTPAGE Lloh1: ldr x8, [x8, _SBC7240_ENABLED_STATUS_BIT@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, _wdt_status@GOTPAGE Lloh4: ldr x1, [x1, _wdt_status@GOTPAGEOFF] bl _test_and_set_bit cbz w0, LBB0_2 ; %bb.1: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: Lloh5: adrp x8, _SBC7240_ENABLE_PORT@GOTPAGE Lloh6: ldr x8, [x8, _SBC7240_ENABLE_PORT@GOTPAGEOFF] Lloh7: ldr w0, [x8] bl _inb_p Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _pr_info .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _SBC7240_ENABLED_STATUS_BIT,4,2 ; @SBC7240_ENABLED_STATUS_BIT .comm _wdt_status,4,2 ; @wdt_status .comm _SBC7240_ENABLE_PORT,4,2 ; @SBC7240_ENABLE_PORT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Watchdog timer is now enabled\n" .no_dead_strip _wdt_enable .subsections_via_symbols
AnghaBench/linux/drivers/watchdog/extr_sbc7240_wdt.c_wdt_enable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function wlc_phy_loadsampletable_nphy LCPI0_0: .long 1047552 ## 0xffc00 .long 1047552 ## 0xffc00 .space 4 .space 4 LCPI0_1: .long 1023 ## 0x3ff .long 1023 ## 0x3ff .space 4 .space 4 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _wlc_phy_loadsampletable_nphy: ## @wlc_phy_loadsampletable_nphy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movq %rsi, %rbx movq %rdi, %r14 leal (,%r15,4), %edi movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %esi callq _kmalloc testq %rax, %rax je LBB0_12 ## %bb.1: movq %rax, %r12 cmpq $0, (%r14) je LBB0_3 ## %bb.2: movq %r14, %rdi movl $1, %esi callq _wlc_phy_stay_in_carriersearch_nphy LBB0_3: testl %r15d, %r15d jle LBB0_11 ## %bb.4: movl %r15d, %eax cmpl $4, %r15d jae LBB0_6 ## %bb.5: xorl %ecx, %ecx jmp LBB0_9 LBB0_6: movl %eax, %ecx andl $-4, %ecx leaq (,%rax,4), %rdx andq $-16, %rdx xorl %esi, %esi movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = <1047552,1047552,u,u> movdqa LCPI0_1(%rip), %xmm1 ## xmm1 = <1023,1023,u,u> .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movdqu (%rbx,%rsi,4), %xmm2 movdqu 16(%rbx,%rsi,4), %xmm3 movdqu 32(%rbx,%rsi,4), %xmm4 movdqu 48(%rbx,%rsi,4), %xmm5 movdqa %xmm2, %xmm6 punpckhdq %xmm3, %xmm6 ## xmm6 = xmm6[2],xmm3[2],xmm6[3],xmm3[3] movdqa %xmm4, %xmm7 punpckhdq %xmm5, %xmm7 ## xmm7 = xmm7[2],xmm5[2],xmm7[3],xmm5[3] pslld $10, %xmm6 pslld $10, %xmm7 pand %xmm0, %xmm6 pand %xmm0, %xmm7 punpckldq %xmm3, %xmm2 ## xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1] punpckldq %xmm5, %xmm4 ## xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1] pand %xmm1, %xmm2 por %xmm6, %xmm2 pand %xmm1, %xmm4 por %xmm7, %xmm4 punpcklqdq %xmm4, %xmm2 ## xmm2 = xmm2[0],xmm4[0] movdqu %xmm2, (%r12,%rsi) addq $16, %rsi cmpq %rsi, %rdx jne LBB0_7 ## %bb.8: cmpq %rax, %rcx je LBB0_11 LBB0_9: movq %rcx, %rdx shlq $4, %rdx addq %rbx, %rdx addq $8, %rdx movl $1023, %esi ## imm = 0x3FF .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movl (%rdx), %edi shll $10, %edi andl $1047552, %edi ## imm = 0xFFC00 movl -8(%rdx), %ebx andl %esi, %ebx orl %edi, %ebx movl %ebx, (%r12,%rcx,4) incq %rcx addq $16, %rdx cmpq %rcx, %rax jne LBB0_10 LBB0_11: movq _NPHY_TBL_ID_SAMPLEPLAY@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi movl %r15d, %edx xorl %ecx, %ecx movl $32, %r8d movq %r12, %r9 callq _wlc_phy_table_write_nphy movq %r12, %rdi callq _kfree cmpq $0, (%r14) je LBB0_12 ## %bb.13: movq %r14, %rdi xorl %esi, %esi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _wlc_phy_stay_in_carriersearch_nphy ## TAILCALL LBB0_12: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .comm _NPHY_TBL_ID_SAMPLEPLAY,4,2 ## @NPHY_TBL_ID_SAMPLEPLAY .no_dead_strip _wlc_phy_loadsampletable_nphy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wlc_phy_loadsampletable_nphy _wlc_phy_loadsampletable_nphy: ; @wlc_phy_loadsampletable_nphy .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 x22, x1 mov x19, x0 lsl w0, w2, #2 Lloh0: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh1: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _kmalloc cbz x0, LBB0_13 ; %bb.1: mov x21, x0 ldr x8, [x19] cbz x8, LBB0_3 ; %bb.2: mov x0, x19 mov w1, #1 bl _wlc_phy_stay_in_carriersearch_nphy LBB0_3: cmp w20, #1 b.lt LBB0_11 ; %bb.4: mov w8, w20 cmp w20, #8 b.hs LBB0_6 ; %bb.5: mov x9, #0 b LBB0_9 LBB0_6: and x9, x8, #0xfffffff8 add x10, x21, #16 add x11, x22, #64 mov w12, #1047552 dup.2s v0, w12 movi.2s v1, #3, msl #8 mov x12, x9 LBB0_7: ; =>This Inner Loop Header: Depth=1 sub x13, x11, #64 ld2.2d { v2, v3 }, [x13] sub x13, x11, #32 ld2.2d { v4, v5 }, [x13] mov x13, x11 ld2.2d { v6, v7 }, [x13], #32 ld2.2d { v16, v17 }, [x13] xtn.2s v18, v3 xtn.2s v19, v5 xtn.2s v20, v7 xtn.2s v21, v17 shl.2s v18, v18, #10 shl.2s v19, v19, #10 shl.2s v20, v20, #10 shl.2s v21, v21, #10 and.8b v18, v18, v0 and.8b v19, v19, v0 and.8b v20, v20, v0 and.8b v21, v21, v0 xtn.2s v2, v2 xtn.2s v3, v4 xtn.2s v4, v6 xtn.2s v5, v16 and.8b v2, v2, v1 and.8b v3, v3, v1 and.8b v4, v4, v1 and.8b v5, v5, v1 orr.8b v2, v18, v2 orr.8b v3, v19, v3 orr.8b v4, v20, v4 stp d2, d3, [x10, #-16] orr.8b v2, v21, v5 stp d4, d2, [x10], #32 add x11, x11, #128 subs x12, x12, #8 b.ne LBB0_7 ; %bb.8: cmp x9, x8 b.eq LBB0_11 LBB0_9: add x10, x21, x9, lsl #2 add x11, x22, x9, lsl #4 add x11, x11, #8 sub x8, x8, x9 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr w9, [x11] ldur w12, [x11, #-8] and w12, w12, #0x3ff bfi w12, w9, #10, #10 str w12, [x10], #4 add x11, x11, #16 subs x8, x8, #1 b.ne LBB0_10 LBB0_11: Lloh3: adrp x8, _NPHY_TBL_ID_SAMPLEPLAY@GOTPAGE Lloh4: ldr x8, [x8, _NPHY_TBL_ID_SAMPLEPLAY@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 mov x2, x20 mov w3, #0 mov w4, #32 mov x5, x21 bl _wlc_phy_table_write_nphy mov x0, x21 bl _kfree ldr x8, [x19] cbz x8, LBB0_13 ; %bb.12: mov x0, x19 mov w1, #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 _wlc_phy_stay_in_carriersearch_nphy LBB0_13: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .comm _NPHY_TBL_ID_SAMPLEPLAY,4,2 ; @NPHY_TBL_ID_SAMPLEPLAY .no_dead_strip _wlc_phy_loadsampletable_nphy .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_n.c_wlc_phy_loadsampletable_nphy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _usage_small ## -- Begin function usage_small .p2align 4, 0x90 _usage_small: ## @usage_small .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _M_WARN@GOTPCREL(%rip), %rax movq _M_NOPREFIX@GOTPCREL(%rip), %rcx movl (%rcx), %edi orl (%rax), %edi leaq L_.str(%rip), %rsi callq _msg movq _OPENVPN_EXIT_STATUS_USAGE@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _openvpn_exit ## TAILCALL .cfi_endproc ## -- End function .comm _M_WARN,4,2 ## @M_WARN .comm _M_NOPREFIX,4,2 ## @M_NOPREFIX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Use --help for more information." .comm _OPENVPN_EXIT_STATUS_USAGE,4,2 ## @OPENVPN_EXIT_STATUS_USAGE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _usage_small ; -- Begin function usage_small .p2align 2 _usage_small: ; @usage_small .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _M_WARN@GOTPAGE Lloh1: ldr x8, [x8, _M_WARN@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _M_NOPREFIX@GOTPAGE Lloh4: ldr x9, [x9, _M_NOPREFIX@GOTPAGEOFF] Lloh5: ldr w9, [x9] orr w0, w9, w8 Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF bl _msg Lloh8: adrp x8, _OPENVPN_EXIT_STATUS_USAGE@GOTPAGE Lloh9: ldr x8, [x8, _OPENVPN_EXIT_STATUS_USAGE@GOTPAGEOFF] Lloh10: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _openvpn_exit .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _M_WARN,4,2 ; @M_WARN .comm _M_NOPREFIX,4,2 ; @M_NOPREFIX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Use --help for more information." .comm _OPENVPN_EXIT_STATUS_USAGE,4,2 ; @OPENVPN_EXIT_STATUS_USAGE .subsections_via_symbols
AnghaBench/openvpn/src/openvpn/extr_options.c_usage_small.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dec_index _dec_index: ## @dec_index .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r13 leaq 4(%rsi), %r15 leaq 24(%rdi), %rax movq %rax, -48(%rbp) ## 8-byte Spill movq _XZ_STREAM_END@GOTPCREL(%rip), %r12 jmp LBB0_1 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 movq (%r13), %rax addq %rax, 24(%r13) movl $129, 16(%r13) LBB0_11: ## in Loop: Header=BB0_1 Depth=1 movq 8(%r13), %rax LBB0_12: ## in Loop: Header=BB0_1 Depth=1 testq %rax, %rax jle LBB0_13 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl (%r14), %ecx movl 8(%r14), %esi movq %r13, %rdi movq %r15, %rdx callq _dec_vli cmpl (%r12), %eax jne LBB0_2 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl 16(%r13), %eax cmpl $128, %eax je LBB0_10 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 cmpl $129, %eax je LBB0_9 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 cmpl $130, %eax jne LBB0_11 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 movq (%r13), %rax movq %rax, 8(%r13) cmpq 48(%r13), %rax jne LBB0_7 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 movl $128, 16(%r13) jmp LBB0_12 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movq (%r13), %rax addq %rax, 32(%r13) movl 40(%r13), %edx movq -48(%rbp), %rdi ## 8-byte Reload movl $24, %esi callq _xz_crc32 movl %eax, 40(%r13) movq 8(%r13), %rax decq %rax movq %rax, 8(%r13) movl $128, 16(%r13) jmp LBB0_12 LBB0_2: movl %eax, %ebx movq %r13, %rdi movq %r14, %rsi callq _index_update jmp LBB0_14 LBB0_13: movl (%r12), %ebx jmp LBB0_14 LBB0_7: movq _XZ_DATA_ERROR@GOTPCREL(%rip), %rax movl (%rax), %ebx LBB0_14: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _XZ_STREAM_END,4,2 ## @XZ_STREAM_END .comm _XZ_DATA_ERROR,4,2 ## @XZ_DATA_ERROR .no_dead_strip _dec_index .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dec_index _dec_index: ; @dec_index .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x20, x0 add x21, x1, #4 add x22, x0, #24 Lloh0: adrp x24, _XZ_STREAM_END@GOTPAGE Lloh1: ldr x24, [x24, _XZ_STREAM_END@GOTPAGEOFF] mov w25, #129 mov w26, #128 b LBB0_4 LBB0_1: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x20] ldr x9, [x20, #24] add x8, x9, x8 str x8, [x20, #24] str w25, [x20, #16] LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x20, #8] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 cmp x8, #0 b.le LBB0_12 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w1, [x19, #8] ldr w3, [x19] mov x0, x20 mov x2, x21 bl _dec_vli ldr w8, [x24] cmp w0, w8 b.ne LBB0_11 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x20, #16] cmp w8, #128 b.eq LBB0_1 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 cmp w8, #129 b.eq LBB0_10 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 cmp w8, #130 b.ne LBB0_2 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x20] str x8, [x20, #8] ldr x9, [x20, #48] cmp x8, x9 b.ne LBB0_13 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 str w26, [x20, #16] b LBB0_3 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x20] ldr x9, [x20, #32] add x8, x9, x8 str x8, [x20, #32] ldr w2, [x20, #40] mov x0, x22 mov w1, #24 bl _xz_crc32 str w0, [x20, #40] ldr x8, [x20, #8] sub x8, x8, #1 str x8, [x20, #8] str w26, [x20, #16] b LBB0_3 LBB0_11: mov x23, x0 mov x0, x20 mov x1, x19 bl _index_update b LBB0_14 LBB0_12: ldr w23, [x24] b LBB0_14 LBB0_13: Lloh2: adrp x8, _XZ_DATA_ERROR@GOTPAGE Lloh3: ldr x8, [x8, _XZ_DATA_ERROR@GOTPAGEOFF] Lloh4: ldr w23, [x8] LBB0_14: mov x0, x23 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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _XZ_STREAM_END,4,2 ; @XZ_STREAM_END .comm _XZ_DATA_ERROR,4,2 ; @XZ_DATA_ERROR .no_dead_strip _dec_index .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/xz-embedded/linux/lib/xz/extr_xz_dec_stream.c_dec_index.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tColModelErase ## -- Begin function tColModelErase .p2align 4, 0x90 _tColModelErase: ## @tColModelErase .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq (%rsi), %r15 testq %r15, %r15 je LBB0_6 ## %bb.1: movq %rcx, %r12 movq %r8, %r13 subq %rcx, %r13 js LBB0_6 ## %bb.2: incq %r13 movq %r15, %rax subq %r13, %rax movq %rax, -48(%rbp) ## 8-byte Spill cmpq $0, (%rdi) jle LBB0_5 ## %bb.3: movq %rdx, %rbx notq %r8 addq %r8, %r15 xorl %r14d, %r14d movq %rdi, -64(%rbp) ## 8-byte Spill movq %rsi, -56(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq 8(%rdi), %rax movq 16(%rdi), %rdx movq (%rax,%r14,8), %rax imulq %rbx, %rax addq 8(%rsi), %rax movq (%rdx,%r14,8), %rdx movq %rdx, %rdi imulq %r12, %rdi addq %rax, %rdi movq %rdx, %rsi imulq %r13, %rsi addq %rdi, %rsi imulq %r15, %rdx callq _memmove movq -64(%rbp), %rdi ## 8-byte Reload movq -56(%rbp), %rsi ## 8-byte Reload incq %r14 cmpq (%rdi), %r14 jl LBB0_4 LBB0_5: movq -48(%rbp), %rax ## 8-byte Reload movq %rax, (%rsi) LBB0_6: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tColModelErase ; -- Begin function tColModelErase .p2align 2 _tColModelErase: ; @tColModelErase .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 ldr x8, [x1] cbz x8, LBB0_6 ; %bb.1: mov x19, x3 subs x9, x4, x3 b.mi LBB0_6 ; %bb.2: mov x20, x1 mov x22, x0 add x24, x9, #1 sub x23, x8, x24 ldr x9, [x0] cmp x9, #1 b.lt LBB0_5 ; %bb.3: mov x21, x2 mov x25, #0 mvn x9, x4 add x26, x8, x9 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #8] lsl x9, x25, #3 ldp x10, x11, [x22, #8] ldr x10, [x10, x9] madd x8, x10, x21, x8 ldr x9, [x11, x9] madd x0, x9, x19, x8 madd x1, x9, x24, x0 mul x2, x9, x26 bl _memmove add x25, x25, #1 ldr x8, [x22] cmp x25, x8 b.lt LBB0_4 LBB0_5: str x23, [x20] LBB0_6: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/TDengine/src/util/src/extr_textbuffer.c_tColModelErase.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___do_print ## -- Begin function __do_print .p2align 4, 0x90 ___do_print: ## @__do_print .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, -88(%rbp) ## 8-byte Spill movl %ecx, -44(%rbp) ## 4-byte Spill testl %ecx, %ecx je LBB0_52 ## %bb.1: movl %edx, %r14d movq %rsi, %r15 movq %rdi, %rbx leal -1(%r14), %eax movq %rax, -64(%rbp) ## 8-byte Spill movl %edx, %eax movq %rax, -56(%rbp) ## 8-byte Spill xorl %r13d, %r13d movq %r14, -80(%rbp) ## 8-byte Spill jmp LBB0_2 LBB0_30: ## in Loop: Header=BB0_2 Depth=1 movq (%r12), %rsi leaq L_.str.10(%rip), %rdi LBB0_31: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax callq _printf LBB0_49: ## in Loop: Header=BB0_2 Depth=1 movl -68(%rbp), %r13d ## 4-byte Reload incl %r13d movq -104(%rbp), %r15 ## 8-byte Reload incq %r15 movq -80(%rbp), %r14 ## 8-byte Reload movq -96(%rbp), %rbx ## 8-byte Reload LBB0_50: ## in Loop: Header=BB0_2 Depth=1 incq %rbx LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_38 Depth 2 ## Child Loop BB0_25 Depth 2 ## Child Loop BB0_47 Depth 2 ## Child Loop BB0_34 Depth 2 ## Child Loop BB0_21 Depth 2 ## Child Loop BB0_29 Depth 2 ## Child Loop BB0_43 Depth 2 ## Child Loop BB0_11 Depth 2 movsbl (%rbx), %edi cmpl $37, %edi je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 testb %dil, %dil je LBB0_51 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 callq _putchar incq %rbx jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movsbl (%r15), %eax testl %eax, %eax je LBB0_50 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 addl $-66, %eax cmpl $52, %eax movq %r15, -104(%rbp) ## 8-byte Spill movq %rbx, -96(%rbp) ## 8-byte Spill movl %r13d, -68(%rbp) ## 4-byte Spill ja LBB0_48 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movslq %r13d, %rcx movq -88(%rbp), %rdx ## 8-byte Reload movq (%rdx,%rcx,8), %r12 leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movl $91, %edi callq _putchar testl %r14d, %r14d movl -44(%rbp), %eax ## 4-byte Reload jle LBB0_49 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 xorl %r14d, %r14d jmp LBB0_11 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_11 Depth=2 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf LBB0_16: ## in Loop: Header=BB0_11 Depth=2 movq -64(%rbp), %rax ## 8-byte Reload movq -56(%rbp), %rbx ## 8-byte Reload movl $93, %ecx cmpq %r14, %rax movl $44, %edi cmovel %ecx, %edi callq _putchar incq %r14 cmpq %r14, %rbx movl -44(%rbp), %eax ## 4-byte Reload je LBB0_49 LBB0_11: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 btl %r14d, %eax jae LBB0_15 ## %bb.12: ## in Loop: Header=BB0_11 Depth=2 cmpl $0, (%r12,%r14,4) leaq L_.str.2(%rip), %rsi je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_11 Depth=2 leaq L_.str.1(%rip), %rsi jmp LBB0_14 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_11 Depth=2 leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB0_16 LBB0_48: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf movsbl (%r15), %edi callq _putchar jmp LBB0_49 LBB0_41: ## in Loop: Header=BB0_2 Depth=1 movl $91, %edi callq _putchar testl %r14d, %r14d movq -64(%rbp), %r14 ## 8-byte Reload movq -56(%rbp), %r13 ## 8-byte Reload movl -44(%rbp), %r15d ## 4-byte Reload jle LBB0_49 ## %bb.42: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_43: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 btl %ebx, %r15d movsd (%r12,%rbx,8), %xmm0 ## xmm0 = mem[0],zero leaq L_.str.8(%rip), %rdi leaq L_.str.9(%rip), %rax cmovaeq %rax, %rdi movb $1, %al callq _printf cmpq %rbx, %r14 movl $44, %edi movl $93, %eax cmovel %eax, %edi callq _putchar incq %rbx cmpq %rbx, %r13 jne LBB0_43 jmp LBB0_49 LBB0_27: ## in Loop: Header=BB0_2 Depth=1 movl $91, %edi callq _putchar testl %r14d, %r14d movq -64(%rbp), %r14 ## 8-byte Reload movq -56(%rbp), %r13 ## 8-byte Reload movl -44(%rbp), %r15d ## 4-byte Reload jle LBB0_49 ## %bb.28: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_29: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 btl %ebx, %r15d movss (%r12,%rbx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.8(%rip), %rdi leaq L_.str.9(%rip), %rax cmovaeq %rax, %rdi movb $1, %al callq _printf cmpq %rbx, %r14 movl $44, %edi movl $93, %eax cmovel %eax, %edi callq _putchar incq %rbx cmpq %rbx, %r13 jne LBB0_29 jmp LBB0_49 LBB0_19: ## in Loop: Header=BB0_2 Depth=1 movl $91, %edi callq _putchar testl %r14d, %r14d movq -64(%rbp), %r14 ## 8-byte Reload movq -56(%rbp), %r13 ## 8-byte Reload movl -44(%rbp), %r15d ## 4-byte Reload jle LBB0_49 ## %bb.20: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_21: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 btl %ebx, %r15d movl (%r12,%rbx,4), %esi leaq L_.str.4(%rip), %rdi leaq L_.str.5(%rip), %rax cmovaeq %rax, %rdi xorl %eax, %eax callq _printf cmpq %rbx, %r14 movl $44, %edi movl $93, %eax cmovel %eax, %edi callq _putchar incq %rbx cmpq %rbx, %r13 jne LBB0_21 jmp LBB0_49 LBB0_32: ## in Loop: Header=BB0_2 Depth=1 movl $91, %edi callq _putchar testl %r14d, %r14d movq -64(%rbp), %r14 ## 8-byte Reload movq -56(%rbp), %r13 ## 8-byte Reload movl -44(%rbp), %r15d ## 4-byte Reload jle LBB0_49 ## %bb.33: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_34: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 btl %ebx, %r15d movq (%r12,%rbx,8), %rsi leaq L_.str.10(%rip), %rdi leaq L_.str.11(%rip), %rax cmovaeq %rax, %rdi xorl %eax, %eax callq _printf cmpq %rbx, %r14 movl $44, %edi movl $93, %eax cmovel %eax, %edi callq _putchar incq %rbx cmpq %rbx, %r13 jne LBB0_34 jmp LBB0_49 LBB0_45: ## in Loop: Header=BB0_2 Depth=1 movl $91, %edi callq _putchar testl %r14d, %r14d movq -64(%rbp), %r14 ## 8-byte Reload movq -56(%rbp), %r13 ## 8-byte Reload movl -44(%rbp), %r15d ## 4-byte Reload jle LBB0_49 ## %bb.46: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_47: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 btl %ebx, %r15d movq (%r12,%rbx,8), %rsi leaq L_.str.14(%rip), %rdi leaq L_.str.15(%rip), %rax cmovaeq %rax, %rdi xorl %eax, %eax callq _printf cmpq %rbx, %r14 movl $44, %edi movl $93, %eax cmovel %eax, %edi callq _putchar incq %rbx cmpq %rbx, %r13 jne LBB0_47 jmp LBB0_49 LBB0_23: ## in Loop: Header=BB0_2 Depth=1 movl $91, %edi callq _putchar testl %r14d, %r14d movq -64(%rbp), %r14 ## 8-byte Reload movq -56(%rbp), %r13 ## 8-byte Reload movl -44(%rbp), %r15d ## 4-byte Reload jle LBB0_49 ## %bb.24: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_25: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 btl %ebx, %r15d movl (%r12,%rbx,4), %esi leaq L_.str.6(%rip), %rdi leaq L_.str.7(%rip), %rax cmovaeq %rax, %rdi xorl %eax, %eax callq _printf cmpq %rbx, %r14 movl $44, %edi movl $93, %eax cmovel %eax, %edi callq _putchar incq %rbx cmpq %rbx, %r13 jne LBB0_25 jmp LBB0_49 LBB0_36: ## in Loop: Header=BB0_2 Depth=1 movl $91, %edi callq _putchar testl %r14d, %r14d movq -64(%rbp), %r14 ## 8-byte Reload movq -56(%rbp), %r13 ## 8-byte Reload movl -44(%rbp), %r15d ## 4-byte Reload jle LBB0_49 ## %bb.37: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_38: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 btl %ebx, %r15d movq (%r12,%rbx,8), %rsi leaq L_.str.12(%rip), %rdi leaq L_.str.13(%rip), %rax cmovaeq %rax, %rdi xorl %eax, %eax callq _printf cmpq %rbx, %r14 movl $44, %edi movl $93, %eax cmovel %eax, %edi callq _putchar incq %rbx cmpq %rbx, %r13 jne LBB0_38 jmp LBB0_49 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 cmpl $0, (%r12) leaq L_.str.1(%rip), %rsi leaq L_.str.2(%rip), %rax cmoveq %rax, %rsi leaq L_.str(%rip), %rdi jmp LBB0_31 LBB0_39: ## in Loop: Header=BB0_2 Depth=1 movsd (%r12), %xmm0 ## xmm0 = mem[0],zero jmp LBB0_40 LBB0_26: ## in Loop: Header=BB0_2 Depth=1 movss (%r12), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 LBB0_40: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.8(%rip), %rdi movb $1, %al callq _printf jmp LBB0_49 LBB0_17: ## in Loop: Header=BB0_2 Depth=1 movl (%r12), %esi leaq L_.str.4(%rip), %rdi jmp LBB0_18 LBB0_44: ## in Loop: Header=BB0_2 Depth=1 movq (%r12), %rsi leaq L_.str.14(%rip), %rdi jmp LBB0_31 LBB0_22: ## in Loop: Header=BB0_2 Depth=1 movl (%r12), %esi leaq L_.str.6(%rip), %rdi LBB0_18: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax callq _printf jmp LBB0_49 LBB0_35: ## in Loop: Header=BB0_2 Depth=1 movq (%r12), %rsi leaq L_.str.12(%rip), %rdi jmp LBB0_31 LBB0_51: movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rdi addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _fflush ## TAILCALL LBB0_52: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_48, LBB0_48-LJTI0_0 .set L0_0_set_41, LBB0_41-LJTI0_0 .set L0_0_set_27, LBB0_27-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 .set L0_0_set_32, LBB0_32-LJTI0_0 .set L0_0_set_45, LBB0_45-LJTI0_0 .set L0_0_set_23, LBB0_23-LJTI0_0 .set L0_0_set_36, LBB0_36-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_39, LBB0_39-LJTI0_0 .set L0_0_set_26, LBB0_26-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_30, LBB0_30-LJTI0_0 .set L0_0_set_44, LBB0_44-LJTI0_0 .set L0_0_set_22, LBB0_22-LJTI0_0 .set L0_0_set_35, LBB0_35-LJTI0_0 LJTI0_0: .long L0_0_set_9 .long L0_0_set_48 .long L0_0_set_41 .long L0_0_set_48 .long L0_0_set_27 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_19 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_32 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_45 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_23 .long L0_0_set_36 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_8 .long L0_0_set_48 .long L0_0_set_39 .long L0_0_set_48 .long L0_0_set_26 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_17 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_30 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_44 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_48 .long L0_0_set_22 .long L0_0_set_35 .end_data_region ## -- End function .globl ___num_cores ## -- Begin function __num_cores .p2align 4, 0x90 ___num_cores: ## @__num_cores .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $58, %edi popq %rbp jmp _sysconf ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" L_.str.1: ## @.str.1 .asciz "true" L_.str.2: ## @.str.2 .asciz "false" L_.str.3: ## @.str.3 .asciz "_________" L_.str.4: ## @.str.4 .asciz "%d" L_.str.5: ## @.str.5 .asciz "((%d))" L_.str.6: ## @.str.6 .asciz "%u" L_.str.7: ## @.str.7 .asciz "((%u))" L_.str.8: ## @.str.8 .asciz "%f" L_.str.9: ## @.str.9 .asciz "((%f))" L_.str.10: ## @.str.10 .asciz "%lld" L_.str.11: ## @.str.11 .asciz "((%lld))" L_.str.12: ## @.str.12 .asciz "%llu" L_.str.13: ## @.str.13 .asciz "((%llu))" L_.str.14: ## @.str.14 .asciz "%p" L_.str.15: ## @.str.15 .asciz "((%p))" L_.str.16: ## @.str.16 .asciz "UNKNOWN TYPE " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___do_print ; -- Begin function __do_print .p2align 2 ___do_print: ; @__do_print .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str x4, [sp, #24] ; 8-byte Folded Spill cbz w3, LBB0_48 ; %bb.1: mov x20, x3 mov x22, x1 mov x23, x0 mov w28, #0 sub w24, w2, #1 str w2, [sp, #20] ; 4-byte Folded Spill mov w25, w2 mov w26, #44 mov w21, #93 b LBB0_5 LBB0_2: ; in Loop: Header=BB0_5 Depth=1 Lloh0: adrp x0, l_.str.16@PAGE Lloh1: add x0, x0, l_.str.16@PAGEOFF bl _printf ldrsb w0, [x22] bl _putchar LBB0_3: ; in Loop: Header=BB0_5 Depth=1 add w28, w28, #1 add x22, x22, #1 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x23, x23, #1 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_37 Depth 2 ; Child Loop BB0_34 Depth 2 ; Child Loop BB0_31 Depth 2 ; Child Loop BB0_28 Depth 2 ; Child Loop BB0_25 Depth 2 ; Child Loop BB0_22 Depth 2 ; Child Loop BB0_19 Depth 2 ; Child Loop BB0_15 Depth 2 ldrb w8, [x23] cmp w8, #37 b.eq LBB0_8 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 cbz w8, LBB0_47 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 sxtb w0, w8 bl _putchar add x23, x23, #1 b LBB0_5 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 ldrsb w8, [x22] cbz w8, LBB0_4 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 sub w8, w8, #66 cmp w8, #52 b.hi LBB0_2 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 ldr x9, [sp, #24] ; 8-byte Folded Reload ldr x19, [x9, w28, sxtw #3] Lloh2: adrp x11, lJTI0_0@PAGE Lloh3: add x11, x11, lJTI0_0@PAGEOFF adr x9, LBB0_2 ldrh w10, [x11, x8, lsl #1] add x9, x9, x10, lsl #2 br x9 LBB0_11: ; in Loop: Header=BB0_5 Depth=1 mov w0, #91 bl _putchar ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB0_3 ; %bb.12: ; in Loop: Header=BB0_5 Depth=1 mov x27, #0 b LBB0_15 LBB0_13: ; in Loop: Header=BB0_15 Depth=2 Lloh4: adrp x0, l_.str.3@PAGE Lloh5: add x0, x0, l_.str.3@PAGEOFF LBB0_14: ; in Loop: Header=BB0_15 Depth=2 bl _printf cmp x24, x27 csel w0, w21, w26, eq bl _putchar add x27, x27, #1 cmp x25, x27 b.eq LBB0_3 LBB0_15: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 lsr w8, w20, w27 tbz w8, #0, LBB0_13 ; %bb.16: ; in Loop: Header=BB0_15 Depth=2 ldr w8, [x19, x27, lsl #2] cmp w8, #0 Lloh6: adrp x8, l_.str.1@PAGE Lloh7: add x8, x8, l_.str.1@PAGEOFF Lloh8: adrp x9, l_.str.2@PAGE Lloh9: add x9, x9, l_.str.2@PAGEOFF csel x8, x9, x8, eq str x8, [sp] Lloh10: adrp x0, l_.str@PAGE Lloh11: add x0, x0, l_.str@PAGEOFF b LBB0_14 LBB0_17: ; in Loop: Header=BB0_5 Depth=1 mov w0, #91 bl _putchar ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB0_3 ; %bb.18: ; in Loop: Header=BB0_5 Depth=1 mov x27, #0 LBB0_19: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr d0, [x19, x27, lsl #3] lsr w8, w20, w27 tst w8, #0x1 Lloh12: adrp x8, l_.str.8@PAGE Lloh13: add x8, x8, l_.str.8@PAGEOFF Lloh14: adrp x9, l_.str.9@PAGE Lloh15: add x9, x9, l_.str.9@PAGEOFF csel x0, x9, x8, eq str d0, [sp] bl _printf cmp x24, x27 csel w0, w21, w26, eq bl _putchar add x27, x27, #1 cmp x25, x27 b.ne LBB0_19 b LBB0_3 LBB0_20: ; in Loop: Header=BB0_5 Depth=1 mov w0, #91 bl _putchar ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB0_3 ; %bb.21: ; in Loop: Header=BB0_5 Depth=1 mov x27, #0 LBB0_22: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr s0, [x19, x27, lsl #2] fcvt d0, s0 lsr w8, w20, w27 tst w8, #0x1 Lloh16: adrp x8, l_.str.8@PAGE Lloh17: add x8, x8, l_.str.8@PAGEOFF Lloh18: adrp x9, l_.str.9@PAGE Lloh19: add x9, x9, l_.str.9@PAGEOFF csel x0, x9, x8, eq str d0, [sp] bl _printf cmp x24, x27 csel w0, w21, w26, eq bl _putchar add x27, x27, #1 cmp x25, x27 b.ne LBB0_22 b LBB0_3 LBB0_23: ; in Loop: Header=BB0_5 Depth=1 mov w0, #91 bl _putchar ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB0_3 ; %bb.24: ; in Loop: Header=BB0_5 Depth=1 mov x27, #0 LBB0_25: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 lsr w8, w20, w27 tst w8, #0x1 Lloh20: adrp x8, l_.str.4@PAGE Lloh21: add x8, x8, l_.str.4@PAGEOFF Lloh22: adrp x9, l_.str.5@PAGE Lloh23: add x9, x9, l_.str.5@PAGEOFF csel x0, x9, x8, eq ldr w8, [x19, x27, lsl #2] str x8, [sp] bl _printf cmp x24, x27 csel w0, w21, w26, eq bl _putchar add x27, x27, #1 cmp x25, x27 b.ne LBB0_25 b LBB0_3 LBB0_26: ; in Loop: Header=BB0_5 Depth=1 mov w0, #91 bl _putchar ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB0_3 ; %bb.27: ; in Loop: Header=BB0_5 Depth=1 mov x27, #0 LBB0_28: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x19, x27, lsl #3] lsr w9, w20, w27 tst w9, #0x1 Lloh24: adrp x9, l_.str.10@PAGE Lloh25: add x9, x9, l_.str.10@PAGEOFF Lloh26: adrp x10, l_.str.11@PAGE Lloh27: add x10, x10, l_.str.11@PAGEOFF csel x0, x10, x9, eq str x8, [sp] bl _printf cmp x24, x27 csel w0, w21, w26, eq bl _putchar add x27, x27, #1 cmp x25, x27 b.ne LBB0_28 b LBB0_3 LBB0_29: ; in Loop: Header=BB0_5 Depth=1 mov w0, #91 bl _putchar ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB0_3 ; %bb.30: ; in Loop: Header=BB0_5 Depth=1 mov x27, #0 LBB0_31: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x19, x27, lsl #3] lsr w9, w20, w27 tst w9, #0x1 Lloh28: adrp x9, l_.str.14@PAGE Lloh29: add x9, x9, l_.str.14@PAGEOFF Lloh30: adrp x10, l_.str.15@PAGE Lloh31: add x10, x10, l_.str.15@PAGEOFF csel x0, x10, x9, eq str x8, [sp] bl _printf cmp x24, x27 csel w0, w21, w26, eq bl _putchar add x27, x27, #1 cmp x25, x27 b.ne LBB0_31 b LBB0_3 LBB0_32: ; in Loop: Header=BB0_5 Depth=1 mov w0, #91 bl _putchar ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB0_3 ; %bb.33: ; in Loop: Header=BB0_5 Depth=1 mov x27, #0 LBB0_34: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 lsr w8, w20, w27 tst w8, #0x1 Lloh32: adrp x8, l_.str.6@PAGE Lloh33: add x8, x8, l_.str.6@PAGEOFF Lloh34: adrp x9, l_.str.7@PAGE Lloh35: add x9, x9, l_.str.7@PAGEOFF csel x0, x9, x8, eq ldr w8, [x19, x27, lsl #2] str x8, [sp] bl _printf cmp x24, x27 csel w0, w21, w26, eq bl _putchar add x27, x27, #1 cmp x25, x27 b.ne LBB0_34 b LBB0_3 LBB0_35: ; in Loop: Header=BB0_5 Depth=1 mov w0, #91 bl _putchar ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB0_3 ; %bb.36: ; in Loop: Header=BB0_5 Depth=1 mov x27, #0 LBB0_37: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x19, x27, lsl #3] lsr w9, w20, w27 tst w9, #0x1 Lloh36: adrp x9, l_.str.12@PAGE Lloh37: add x9, x9, l_.str.12@PAGEOFF Lloh38: adrp x10, l_.str.13@PAGE Lloh39: add x10, x10, l_.str.13@PAGEOFF csel x0, x10, x9, eq str x8, [sp] bl _printf cmp x24, x27 csel w0, w21, w26, eq bl _putchar add x27, x27, #1 cmp x25, x27 b.ne LBB0_37 b LBB0_3 LBB0_38: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x19] cmp w8, #0 Lloh40: adrp x8, l_.str.1@PAGE Lloh41: add x8, x8, l_.str.1@PAGEOFF Lloh42: adrp x9, l_.str.2@PAGE Lloh43: add x9, x9, l_.str.2@PAGEOFF csel x8, x9, x8, eq str x8, [sp] Lloh44: adrp x0, l_.str@PAGE Lloh45: add x0, x0, l_.str@PAGEOFF bl _printf b LBB0_3 LBB0_39: ; in Loop: Header=BB0_5 Depth=1 ldr d0, [x19] b LBB0_41 LBB0_40: ; in Loop: Header=BB0_5 Depth=1 ldr s0, [x19] fcvt d0, s0 LBB0_41: ; in Loop: Header=BB0_5 Depth=1 str d0, [sp] Lloh46: adrp x0, l_.str.8@PAGE Lloh47: add x0, x0, l_.str.8@PAGEOFF bl _printf b LBB0_3 LBB0_42: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x19] str x8, [sp] Lloh48: adrp x0, l_.str.4@PAGE Lloh49: add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB0_3 LBB0_43: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19] str x8, [sp] Lloh50: adrp x0, l_.str.10@PAGE Lloh51: add x0, x0, l_.str.10@PAGEOFF bl _printf b LBB0_3 LBB0_44: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19] str x8, [sp] Lloh52: adrp x0, l_.str.14@PAGE Lloh53: add x0, x0, l_.str.14@PAGEOFF bl _printf b LBB0_3 LBB0_45: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x19] str x8, [sp] Lloh54: adrp x0, l_.str.6@PAGE Lloh55: add x0, x0, l_.str.6@PAGEOFF bl _printf b LBB0_3 LBB0_46: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19] str x8, [sp] Lloh56: adrp x0, l_.str.12@PAGE Lloh57: add x0, x0, l_.str.12@PAGEOFF bl _printf b LBB0_3 LBB0_47: Lloh58: adrp x8, ___stdoutp@GOTPAGE Lloh59: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh60: ldr x0, [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 _fflush LBB0_48: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .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 AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .cfi_endproc .section __TEXT,__const .p2align 1 lJTI0_0: .short (LBB0_11-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_17-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_20-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_23-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_26-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_29-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_32-LBB0_2)>>2 .short (LBB0_35-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_38-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_39-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_40-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_42-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_43-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_44-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_2-LBB0_2)>>2 .short (LBB0_45-LBB0_2)>>2 .short (LBB0_46-LBB0_2)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl ___num_cores ; -- Begin function __num_cores .p2align 2 ___num_cores: ; @__num_cores .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #58 bl _sysconf ; kill: def $w0 killed $w0 killed $x0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" l_.str.1: ; @.str.1 .asciz "true" l_.str.2: ; @.str.2 .asciz "false" l_.str.3: ; @.str.3 .asciz "_________" l_.str.4: ; @.str.4 .asciz "%d" l_.str.5: ; @.str.5 .asciz "((%d))" l_.str.6: ; @.str.6 .asciz "%u" l_.str.7: ; @.str.7 .asciz "((%u))" l_.str.8: ; @.str.8 .asciz "%f" l_.str.9: ; @.str.9 .asciz "((%f))" l_.str.10: ; @.str.10 .asciz "%lld" l_.str.11: ; @.str.11 .asciz "((%lld))" l_.str.12: ; @.str.12 .asciz "%llu" l_.str.13: ; @.str.13 .asciz "((%llu))" l_.str.14: ; @.str.14 .asciz "%p" l_.str.15: ; @.str.15 .asciz "((%p))" l_.str.16: ; @.str.16 .asciz "UNKNOWN TYPE " .subsections_via_symbols
the_stack_data/819517.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function btrfs_releasepage _btrfs_releasepage: ## @btrfs_releasepage .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 callq _PageWriteback testq %rax, %rax jne LBB0_2 ## %bb.1: movq %rbx, %rdi callq _PageDirty testq %rax, %rax je LBB0_3 LBB0_2: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq LBB0_3: movq %rbx, %rdi movl %r14d, %esi popq %rbx popq %r14 popq %rbp jmp ___btrfs_releasepage ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _btrfs_releasepage .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function btrfs_releasepage _btrfs_releasepage: ; @btrfs_releasepage .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 _PageWriteback cbnz x0, LBB0_2 ; %bb.1: mov x0, x20 bl _PageDirty cbz x0, LBB0_3 LBB0_2: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: 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 ___btrfs_releasepage .cfi_endproc ; -- End function .no_dead_strip _btrfs_releasepage .subsections_via_symbols
AnghaBench/linux/fs/btrfs/extr_inode.c_btrfs_releasepage.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _node_create ## -- Begin function node_create .p2align 4, 0x90 _node_create: ## @node_create .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx movl $24, %edi callq _malloc xorps %xmm0, %xmm0 movups %xmm0, (%rax) movl %ebx, 16(%rax) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl __assert ## -- Begin function _assert .p2align 4, 0x90 __assert: ## @_assert .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _dll_check_data ## -- Begin function dll_check_data .p2align 4, 0x90 _dll_check_data: ## @dll_check_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _dll_circular_destroy ## -- Begin function dll_circular_destroy .p2align 4, 0x90 _dll_circular_destroy: ## @dll_circular_destroy .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB3_4 ## %bb.1: 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), %rdi cmpq %r14, %rdi je LBB3_3 .p2align 4, 0x90 LBB3_2: ## =>This Inner Loop Header: Depth=1 movq (%rdi), %rbx callq _free movq %rbx, %rdi cmpq %r14, %rbx jne LBB3_2 LBB3_3: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _free ## TAILCALL LBB3_4: retq .cfi_endproc ## -- End function .globl _dll_circular_append ## -- Begin function dll_circular_append .p2align 4, 0x90 _dll_circular_append: ## @dll_circular_append .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx movl $24, %edi callq _malloc xorps %xmm0, %xmm0 movups %xmm0, (%rax) movl %r14d, 16(%rax) movq (%rbx), %rcx testq %rcx, %rcx je LBB4_1 ## %bb.2: movq 8(%rcx), %rcx movq %rax, (%rcx) movq %rcx, 8(%rax) movq (%rbx), %rbx movq %rbx, (%rax) addq $8, %rbx jmp LBB4_3 LBB4_1: movq %rax, 8(%rax) movq %rax, (%rax) LBB4_3: movq %rax, (%rbx) 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 %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl $24, %edi callq _malloc movq %rax, %r14 movl $5, 16(%rax) movl $24, %edi callq _malloc movq %rax, %rbx movl $5, 16(%rax) movq %rax, (%r14) movq %r14, 8(%rax) movl $24, %edi callq _malloc movl $5, 16(%rax) movq %rax, (%rbx) movq %rbx, 8(%rax) movq %r14, (%rax) movq %rax, 8(%r14) cmpq %r14, %rbx je LBB5_2 .p2align 4, 0x90 LBB5_1: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %r15 movq %rbx, %rdi callq _free movq %r15, %rbx cmpq %r14, %r15 jne LBB5_1 LBB5_2: movq %r14, %rdi callq _free xorl %eax, %eax addq $8, %rsp popq %rbx 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 _node_create ; -- Begin function node_create .p2align 2 _node_create: ; @node_create .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, #24 bl _malloc stp xzr, xzr, [x0] str w19, [x0, #16] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl __assert ; -- Begin function _assert .p2align 2 __assert: ; @_assert .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _dll_check_data ; -- Begin function dll_check_data .p2align 2 _dll_check_data: ; @dll_check_data .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _dll_circular_destroy ; -- Begin function dll_circular_destroy .p2align 2 _dll_circular_destroy: ; @dll_circular_destroy .cfi_startproc ; %bb.0: cbz x0, LBB3_4 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0] cmp x0, x19 b.eq LBB3_3 LBB3_2: ; =>This Inner Loop Header: Depth=1 ldr x20, [x0] bl _free mov x0, x20 cmp x20, x19 b.ne LBB3_2 LBB3_3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _free LBB3_4: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 ret .cfi_endproc ; -- End function .globl _dll_circular_append ; -- Begin function dll_circular_append .p2align 2 _dll_circular_append: ; @dll_circular_append .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 mov w0, #24 bl _malloc stp xzr, xzr, [x0] str w20, [x0, #16] ldr x8, [x19] cbz x8, LBB4_2 ; %bb.1: ldr x8, [x8, #8] str x0, [x8] ldr x9, [x19] stp x9, x8, [x0] add x19, x9, #8 b LBB4_3 LBB4_2: stp x0, x0, [x0] LBB4_3: str x0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .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 w0, #24 bl _malloc mov x19, x0 mov w21, #5 str w21, [x0, #16] mov w0, #24 bl _malloc mov x20, x0 str w21, [x0, #16] str x0, [x19] str x19, [x0, #8] mov w0, #24 bl _malloc str w21, [x0, #16] str x0, [x20] stp x19, x20, [x0] str x0, [x19, #8] cmp x20, x19 b.eq LBB5_2 LBB5_1: ; =>This Inner Loop Header: Depth=1 ldr x21, [x20] mov x0, x20 bl _free mov x20, x21 cmp x21, x19 b.ne LBB5_1 LBB5_2: mov x0, x19 bl _free mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/98575681.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __snd_pcm_hw_params_any ## -- Begin function _snd_pcm_hw_params_any .p2align 4, 0x90 __snd_pcm_hw_params_any: ## @_snd_pcm_hw_params_any .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 xorl %esi, %esi movl $4, %edx callq _memset movq _SNDRV_PCM_HW_PARAM_FIRST_MASK@GOTPCREL(%rip), %rax movl (%rax), %ebx movq _SNDRV_PCM_HW_PARAM_LAST_MASK@GOTPCREL(%rip), %r15 cmpl (%r15), %ebx ja LBB0_3 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movl %ebx, %esi callq __snd_pcm_hw_param_any incl %ebx cmpl (%r15), %ebx jbe LBB0_1 LBB0_3: movq _SNDRV_PCM_HW_PARAM_FIRST_INTERVAL@GOTPCREL(%rip), %rax movl (%rax), %ebx movq _SNDRV_PCM_HW_PARAM_LAST_INTERVAL@GOTPCREL(%rip), %r15 cmpl (%r15), %ebx ja LBB0_6 .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movl %ebx, %esi callq __snd_pcm_hw_param_any incl %ebx cmpl (%r15), %ebx jbe LBB0_4 LBB0_6: movl $-1, (%r14) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SNDRV_PCM_HW_PARAM_FIRST_MASK,4,2 ## @SNDRV_PCM_HW_PARAM_FIRST_MASK .comm _SNDRV_PCM_HW_PARAM_LAST_MASK,4,2 ## @SNDRV_PCM_HW_PARAM_LAST_MASK .comm _SNDRV_PCM_HW_PARAM_FIRST_INTERVAL,4,2 ## @SNDRV_PCM_HW_PARAM_FIRST_INTERVAL .comm _SNDRV_PCM_HW_PARAM_LAST_INTERVAL,4,2 ## @SNDRV_PCM_HW_PARAM_LAST_INTERVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __snd_pcm_hw_params_any ; -- Begin function _snd_pcm_hw_params_any .p2align 2 __snd_pcm_hw_params_any: ; @_snd_pcm_hw_params_any .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 mov w1, #0 mov w2, #4 bl _memset Lloh0: adrp x8, _SNDRV_PCM_HW_PARAM_FIRST_MASK@GOTPAGE Lloh1: ldr x8, [x8, _SNDRV_PCM_HW_PARAM_FIRST_MASK@GOTPAGEOFF] Lloh2: ldr w20, [x8] Lloh3: adrp x21, _SNDRV_PCM_HW_PARAM_LAST_MASK@GOTPAGE Lloh4: ldr x21, [x21, _SNDRV_PCM_HW_PARAM_LAST_MASK@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [x21] cmp w20, w8 b.hi LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov x0, x19 mov x1, x20 bl __snd_pcm_hw_param_any add w20, w20, #1 b LBB0_1 LBB0_3: Lloh5: adrp x8, _SNDRV_PCM_HW_PARAM_FIRST_INTERVAL@GOTPAGE Lloh6: ldr x8, [x8, _SNDRV_PCM_HW_PARAM_FIRST_INTERVAL@GOTPAGEOFF] Lloh7: ldr w20, [x8] Lloh8: adrp x21, _SNDRV_PCM_HW_PARAM_LAST_INTERVAL@GOTPAGE Lloh9: ldr x21, [x21, _SNDRV_PCM_HW_PARAM_LAST_INTERVAL@GOTPAGEOFF] LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w8, [x21] cmp w20, w8 b.hi LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 mov x1, x20 bl __snd_pcm_hw_param_any add w20, w20, #1 b LBB0_4 LBB0_6: mov w8, #-1 str w8, [x19] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _SNDRV_PCM_HW_PARAM_FIRST_MASK,4,2 ; @SNDRV_PCM_HW_PARAM_FIRST_MASK .comm _SNDRV_PCM_HW_PARAM_LAST_MASK,4,2 ; @SNDRV_PCM_HW_PARAM_LAST_MASK .comm _SNDRV_PCM_HW_PARAM_FIRST_INTERVAL,4,2 ; @SNDRV_PCM_HW_PARAM_FIRST_INTERVAL .comm _SNDRV_PCM_HW_PARAM_LAST_INTERVAL,4,2 ; @SNDRV_PCM_HW_PARAM_LAST_INTERVAL .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/core/extr_pcm_lib.c__snd_pcm_hw_params_any.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_00 ## -- Begin function test_00 .p2align 4, 0x90 _test_00: ## @test_00 .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 testl %edi, %edi cmovgl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _test_01 ## -- Begin function test_01 .p2align 4, 0x90 _test_01: ## @test_01 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax sarl $31, %eax andl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _test_02 ## -- Begin function test_02 .p2align 4, 0x90 _test_02: ## @test_02 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $2, %edi movl $1, %eax cmovgel %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _test_03 ## -- Begin function test_03 .p2align 4, 0x90 _test_03: ## @test_03 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %edi, %edi movl $1, %eax cmovlel %edi, %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 _test_00 ; -- Begin function test_00 .p2align 2 _test_00: ; @test_00 .cfi_startproc ; %bb.0: cmp w0, #0 csel w0, w0, wzr, gt ret .cfi_endproc ; -- End function .globl _test_01 ; -- Begin function test_01 .p2align 2 _test_01: ; @test_01 .cfi_startproc ; %bb.0: cmp w0, #0 csel w0, w0, wzr, lt ret .cfi_endproc ; -- End function .globl _test_02 ; -- Begin function test_02 .p2align 2 _test_02: ; @test_02 .cfi_startproc ; %bb.0: cmp w0, #1 csinc w0, w0, wzr, gt ret .cfi_endproc ; -- End function .globl _test_03 ; -- Begin function test_03 .p2align 2 _test_03: ; @test_03 .cfi_startproc ; %bb.0: cmp w0, #1 csinc w0, w0, wzr, lt ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/156394057.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ctrl_iface_get_capability_channels _ctrl_iface_get_capability_channels: ## @ctrl_iface_get_capability_channels .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -48(%rbp) ## 8-byte Spill movq %rsi, %r12 movq %rdi, -56(%rbp) ## 8-byte Spill movl (%rdi), %eax movq %rsi, %rcx movq %rsi, -64(%rbp) ## 8-byte Spill testl %eax, %eax jle LBB0_14 ## %bb.1: movq -64(%rbp), %r12 ## 8-byte Reload addq %r12, -48(%rbp) ## 8-byte Folded Spill xorl %ebx, %ebx jmp LBB0_2 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 movq -48(%rbp), %rax ## 8-byte Reload movl %eax, %r14d subl %r15d, %r14d movq %r15, %r12 movq %r15, %rdi movl %r14d, %esi leaq L_.str.6(%rip), %rdx xorl %eax, %eax callq _os_snprintf movl %eax, %r15d movl %r14d, %edi movl %eax, %esi callq _os_snprintf_error testq %rax, %rax jne LBB0_14 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 movslq %r15d, %rax addq %rax, %r12 movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %eax movq -80(%rbp), %rbx ## 8-byte Reload LBB0_13: ## in Loop: Header=BB0_2 Depth=1 incq %rbx movslq %eax, %rcx cmpq %rcx, %rbx jge LBB0_14 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 movq -56(%rbp), %rcx ## 8-byte Reload movq 8(%rcx), %rcx movq %rbx, %rdx shlq $4, %rdx movl (%rcx,%rdx), %ecx addl $-128, %ecx cmpl $3, %ecx ja LBB0_13 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rdx, -72(%rbp) ## 8-byte Spill movslq %ecx, %rax leaq l_reltable.ctrl_iface_get_capability_channels(%rip), %rdx movslq (%rdx,%rax,4), %rcx addq %rdx, %rcx movq -48(%rbp), %rax ## 8-byte Reload movl %eax, %r15d subl %r12d, %r15d movq %r12, %rdi movl %r15d, %esi leaq L_.str.4(%rip), %rdx xorl %eax, %eax callq _os_snprintf movl %eax, %r14d movl %r15d, %edi movl %eax, %esi callq _os_snprintf_error testq %rax, %rax jne LBB0_14 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movslq %r14d, %rax addq %rax, %r12 movq -56(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rax movq -72(%rbp), %rsi ## 8-byte Reload cmpl $0, 4(%rax,%rsi) movq %r12, %r15 movq %rbx, -80(%rbp) ## 8-byte Spill jle LBB0_11 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movq 8(%rax,%rsi), %r12 xorl %r13d, %r13d movq _HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %rdx jmp LBB0_6 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_6 Depth=2 incq %r13 movslq 4(%rax,%rsi), %rcx cmpq %rcx, %r13 jge LBB0_11 LBB0_6: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rdx), %ecx testl %ecx, (%r12,%r13,8) jne LBB0_10 ## %bb.7: ## in Loop: Header=BB0_6 Depth=2 movq -48(%rbp), %rax ## 8-byte Reload movl %eax, %r14d subl %r15d, %r14d movl 4(%r12,%r13,8), %ecx movq %r15, %rdi movl %r14d, %esi leaq L_.str.5(%rip), %rdx xorl %eax, %eax callq _os_snprintf movl %eax, %ebx movl %r14d, %edi movl %eax, %esi callq _os_snprintf_error testq %rax, %rax jne LBB0_8 ## %bb.9: ## in Loop: Header=BB0_6 Depth=2 movslq %ebx, %rax addq %rax, %r15 movq -56(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rax movq _HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %rdx movq -72(%rbp), %rsi ## 8-byte Reload jmp LBB0_10 LBB0_8: movq %r15, %r12 LBB0_14: subl -64(%rbp), %r12d ## 4-byte Folded Reload movl %r12d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "B" L_.str.1: ## @.str.1 .asciz "G" L_.str.2: ## @.str.2 .asciz "A" L_.str.3: ## @.str.3 .asciz "AD" L_.str.4: ## @.str.4 .asciz "Mode[%s] Channels:" .comm _HOSTAPD_CHAN_DISABLED,4,2 ## @HOSTAPD_CHAN_DISABLED L_.str.5: ## @.str.5 .asciz " %d" L_.str.6: ## @.str.6 .asciz "\n" .no_dead_strip _ctrl_iface_get_capability_channels .section __TEXT,__const .p2align 2 ## @reltable.ctrl_iface_get_capability_channels l_reltable.ctrl_iface_get_capability_channels: .long L_.str.1-l_reltable.ctrl_iface_get_capability_channels .long L_.str-l_reltable.ctrl_iface_get_capability_channels .long L_.str.3-l_reltable.ctrl_iface_get_capability_channels .long L_.str.2-l_reltable.ctrl_iface_get_capability_channels .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ctrl_iface_get_capability_channels _ctrl_iface_get_capability_channels: ; @ctrl_iface_get_capability_channels .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x1 ldr w8, [x0] str x1, [sp, #8] ; 8-byte Folded Spill cmp w8, #1 b.lt LBB0_13 ; %bb.1: mov x20, x0 mov x27, #0 Lloh0: adrp x24, _HOSTAPD_CHAN_DISABLED@GOTPAGE Lloh1: ldr x24, [x24, _HOSTAPD_CHAN_DISABLED@GOTPAGEOFF] ldr x21, [sp, #8] ; 8-byte Folded Reload add x28, x21, x2 Lloh2: adrp x23, l_.str.5@PAGE Lloh3: add x23, x23, l_.str.5@PAGEOFF b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x27, x27, #1 cmp x27, w8, sxtw b.ge LBB0_13 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ldr x9, [x20, #8] lsl x10, x27, #4 ldr w9, [x9, x10] sub w9, w9, #128 cmp w9, #3 b.hi LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 Lloh4: adrp x8, l_switch.table.ctrl_iface_get_capability_channels@PAGE Lloh5: add x8, x8, l_switch.table.ctrl_iface_get_capability_channels@PAGEOFF ldr x8, [x8, w9, sxtw #3] sub w26, w28, w21 str x8, [sp] mov x0, x21 mov x1, x26 Lloh6: adrp x2, l_.str.4@PAGE Lloh7: add x2, x2, l_.str.4@PAGEOFF bl _os_snprintf mov x25, x0 mov x0, x26 mov x1, x25 bl _os_snprintf_error cbnz x0, LBB0_13 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, w25, sxtw ldr x8, [x20, #8] add x9, x8, x27, lsl #4 ldr w10, [x9, #4] cmp w10, #1 b.lt LBB0_11 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 mov x22, #0 ldr x9, [x9, #8] add x19, x9, #4 b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=2 add x22, x22, #1 add x9, x8, x27, lsl #4 ldrsw x9, [x9, #4] add x19, x19, #8 cmp x22, x9 b.ge LBB0_11 LBB0_8: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w9, [x19, #-4] ldr w10, [x24] tst w10, w9 b.ne LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 sub w26, w28, w21 ldr w8, [x19] str x8, [sp] mov x0, x21 mov x1, x26 mov x2, x23 bl _os_snprintf mov x25, x0 mov x0, x26 mov x1, x25 bl _os_snprintf_error cbnz x0, LBB0_13 ; %bb.10: ; in Loop: Header=BB0_8 Depth=2 add x21, x21, w25, sxtw ldr x8, [x20, #8] b LBB0_7 LBB0_11: ; in Loop: Header=BB0_3 Depth=1 sub w26, w28, w21 mov x0, x21 mov x1, x26 Lloh8: adrp x2, l_.str.6@PAGE Lloh9: add x2, x2, l_.str.6@PAGEOFF bl _os_snprintf mov x25, x0 mov x0, x26 mov x1, x25 bl _os_snprintf_error cbnz x0, LBB0_13 ; %bb.12: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, w25, sxtw ldr w8, [x20] b LBB0_2 LBB0_13: ldr x8, [sp, #8] ; 8-byte Folded Reload sub w0, w21, w8 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "B" l_.str.1: ; @.str.1 .asciz "G" l_.str.2: ; @.str.2 .asciz "A" l_.str.3: ; @.str.3 .asciz "AD" l_.str.4: ; @.str.4 .asciz "Mode[%s] Channels:" .comm _HOSTAPD_CHAN_DISABLED,4,2 ; @HOSTAPD_CHAN_DISABLED l_.str.5: ; @.str.5 .asciz " %d" l_.str.6: ; @.str.6 .asciz "\n" .no_dead_strip _ctrl_iface_get_capability_channels .section __DATA,__const .p2align 3 ; @switch.table.ctrl_iface_get_capability_channels l_switch.table.ctrl_iface_get_capability_channels: .quad l_.str.1 .quad l_.str .quad l_.str.3 .quad l_.str.2 .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_ctrl_iface.c_ctrl_iface_get_capability_channels.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function filter_frame _filter_frame: ## @filter_frame .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movq %rsi, -40(%rbp) movq 8(%rdi), %rax movq (%rax), %rcx movq 8(%rax), %rbx movq (%rcx), %r14 movl (%rbx), %eax testl %eax, %eax je LBB0_2 ## %bb.1: movl 8(%rbx), %ecx leal (%rax,%rcx,2), %eax addl $-17, %eax jmp LBB0_5 LBB0_2: movl (%r12), %eax orl $2, %eax cmpl $130, %eax jne LBB0_4 ## %bb.3: movl 8(%rbx), %eax addl %eax, %eax addl $-16, %eax jmp LBB0_5 LBB0_4: movl 8(%rbx), %eax addl %eax, %eax addl $-15, %eax LBB0_5: movl %eax, 4(%rbx) movl (%r14), %edx movl 4(%r14), %esi movq %r14, %rdi callq _ff_get_video_buffer testq %rax, %rax je LBB0_6 ## %bb.7: movq %rax, %r15 movq %rax, %rdi movq %r12, %rsi callq _av_frame_copy_props movl 16(%rbx), %ecx movq %rbx, %rdi movq %r12, %rsi movq %r15, %rdx callq *40(%rbx) movl 24(%rbx), %edx movl 20(%rbx), %ecx movl 4(%rbx), %r9d movl 16(%rbx), %r8d movq %rbx, %rdi movq %r15, %rsi callq *32(%rbx) movq 16(%r15), %rax movq (%rax), %rcx testq %rcx, %rcx je LBB0_9 ## %bb.8: movslq 12(%rbx), %rdx decq %rdx movq 8(%r15), %rsi movslq (%rsi), %rdi imulq %rdi, %rdx addq %rdx, %rcx movq %rcx, (%rax) negl %edi movl %edi, (%rsi) LBB0_9: movq 8(%rax), %rcx testq %rcx, %rcx je LBB0_11 ## %bb.10: movslq 12(%rbx), %rdx decq %rdx movq 8(%r15), %rsi movslq 4(%rsi), %rdi imulq %rdi, %rdx addq %rdx, %rcx movq %rcx, 8(%rax) negl %edi movl %edi, 4(%rsi) LBB0_11: movq 16(%rax), %rcx testq %rcx, %rcx je LBB0_13 ## %bb.12: movslq 12(%rbx), %rdx decq %rdx movq 8(%r15), %rsi movslq 8(%rsi), %rdi imulq %rdi, %rdx addq %rdx, %rcx movq %rcx, 16(%rax) negl %edi movl %edi, 8(%rsi) LBB0_13: movq 24(%rax), %rcx testq %rcx, %rcx je LBB0_15 ## %bb.14: movslq 12(%rbx), %rdx decq %rdx movq 8(%r15), %rsi movslq 12(%rsi), %rdi imulq %rdi, %rdx addq %rdx, %rcx movq %rcx, 24(%rax) negl %edi movl %edi, 12(%rsi) LBB0_15: leaq -40(%rbp), %rdi callq _av_frame_free movq %r14, %rdi movq %r15, %rsi callq _ff_filter_frame jmp LBB0_16 LBB0_6: leaq -40(%rbp), %rdi callq _av_frame_free movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %edi callq _AVERROR LBB0_16: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _filter_frame .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function filter_frame _filter_frame: ; @filter_frame .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 x22, x1 str x1, [sp, #8] ldr x8, [x0, #8] ldp x8, x20, [x8] ldr x19, [x8] ldr w8, [x20] cbz w8, LBB0_2 ; %bb.1: ldr w9, [x20, #8] add w8, w8, w9, lsl #1 sub w8, w8, #17 b LBB0_5 LBB0_2: ldr w8, [x22] orr w8, w8, #0x2 cmp w8, #130 b.ne LBB0_4 ; %bb.3: ldr w8, [x20, #8] lsl w8, w8, #1 sub w8, w8, #16 b LBB0_5 LBB0_4: ldr w8, [x20, #8] lsl w8, w8, #1 sub w8, w8, #15 LBB0_5: str w8, [x20, #4] ldp w2, w1, [x19] mov x0, x19 bl _ff_get_video_buffer cbz x0, LBB0_15 ; %bb.6: mov x21, x0 mov x1, x22 bl _av_frame_copy_props ldr x8, [x20, #40] ldr w3, [x20, #16] mov x0, x20 mov x1, x22 mov x2, x21 blr x8 ldr x8, [x20, #32] ldp w3, w2, [x20, #20] ldr w4, [x20, #16] ldr w5, [x20, #4] mov x0, x20 mov x1, x21 blr x8 ldr x8, [x21, #16] ldr x9, [x8] cbz x9, LBB0_8 ; %bb.7: ldrsw x10, [x20, #12] sub x10, x10, #1 ldr x11, [x21, #8] ldrsw x12, [x11] madd x9, x12, x10, x9 str x9, [x8] neg w9, w12 str w9, [x11] LBB0_8: ldr x9, [x8, #8] cbz x9, LBB0_10 ; %bb.9: ldrsw x10, [x20, #12] sub x10, x10, #1 ldr x11, [x21, #8] ldrsw x12, [x11, #4] madd x9, x12, x10, x9 str x9, [x8, #8] neg w9, w12 str w9, [x11, #4] LBB0_10: ldr x9, [x8, #16] cbz x9, LBB0_12 ; %bb.11: ldrsw x10, [x20, #12] sub x10, x10, #1 ldr x11, [x21, #8] ldrsw x12, [x11, #8] madd x9, x12, x10, x9 str x9, [x8, #16] neg w9, w12 str w9, [x11, #8] LBB0_12: ldr x9, [x8, #24] cbz x9, LBB0_14 ; %bb.13: ldrsw x10, [x20, #12] sub x10, x10, #1 ldr x11, [x21, #8] ldrsw x12, [x11, #12] madd x9, x12, x10, x9 str x9, [x8, #24] neg w8, w12 str w8, [x11, #12] LBB0_14: add x0, sp, #8 bl _av_frame_free mov x0, x19 mov x1, x21 bl _ff_filter_frame b LBB0_16 LBB0_15: add x0, sp, #8 bl _av_frame_free Lloh0: adrp x8, _ENOMEM@GOTPAGE Lloh1: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _AVERROR LBB0_16: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _filter_frame .subsections_via_symbols
AnghaBench/FFmpeg/libavfilter/extr_vf_vectorscope.c_filter_frame.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tscBuildUseDbMsg ## -- Begin function tscBuildUseDbMsg .p2align 4, 0x90 _tscBuildUseDbMsg: ## @tscBuildUseDbMsg .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 addq $8, %rdi movq (%rbx), %r15 xorl %esi, %esi callq _tscGetMeterMetaInfo movq %rax, %r14 movq 8(%rbx), %r12 movq _tsRpcHeadSize@GOTPCREL(%rip), %rax movslq (%rax), %r13 movl (%r12,%r13), %edi movl (%r15), %esi callq _strcpy movl 4(%r12,%r13), %edi movl (%r14), %esi callq _strcpy movl $8, 16(%rbx) movq _TSDB_MSG_TYPE_USE_DB@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 20(%rbx) movl $8, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _tsRpcHeadSize,4,2 ## @tsRpcHeadSize .comm _TSDB_MSG_TYPE_USE_DB,4,2 ## @TSDB_MSG_TYPE_USE_DB .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tscBuildUseDbMsg ; -- Begin function tscBuildUseDbMsg .p2align 2 _tscBuildUseDbMsg: ; @tscBuildUseDbMsg .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 add x0, x0, #8 ldr x21, [x19] mov w1, #0 bl _tscGetMeterMetaInfo mov x20, x0 ldr x8, [x19, #8] Lloh0: adrp x9, _tsRpcHeadSize@GOTPAGE Lloh1: ldr x9, [x9, _tsRpcHeadSize@GOTPAGEOFF] Lloh2: ldrsw x9, [x9] add x22, x8, x9 ldr w0, [x22] ldr w1, [x21] bl _strcpy ldr w0, [x22, #4] ldr w1, [x20] bl _strcpy mov w8, #8 Lloh3: adrp x9, _TSDB_MSG_TYPE_USE_DB@GOTPAGE Lloh4: ldr x9, [x9, _TSDB_MSG_TYPE_USE_DB@GOTPAGEOFF] Lloh5: ldr w9, [x9] stp w8, w9, [x19, #16] mov w0, #8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _tsRpcHeadSize,4,2 ; @tsRpcHeadSize .comm _TSDB_MSG_TYPE_USE_DB,4,2 ; @TSDB_MSG_TYPE_USE_DB .subsections_via_symbols
AnghaBench/TDengine/src/client/src/extr_tscServer.c_tscBuildUseDbMsg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _func1 ## -- Begin function func1 .p2align 4, 0x90 _func1: ## @func1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $6, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .globl _func1 ; -- Begin function func1 .p2align 2 _func1: ; @func1 .cfi_startproc ; %bb.0: mov w0, #6 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/939144.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _usb_serial_bus_register ## -- Begin function usb_serial_bus_register .p2align 4, 0x90 _usb_serial_bus_register: ## @usb_serial_bus_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, %rbx movq _usb_serial_bus_type@GOTPCREL(%rip), %rax movq %rax, (%rdi) leaq 8(%rdi), %r14 addq $12, %rdi callq _spin_lock_init movq %r14, %rdi callq _INIT_LIST_HEAD movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _driver_register ## TAILCALL .cfi_endproc ## -- End function .comm _usb_serial_bus_type,4,2 ## @usb_serial_bus_type .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _usb_serial_bus_register ; -- Begin function usb_serial_bus_register .p2align 2 _usb_serial_bus_register: ; @usb_serial_bus_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 Lloh0: adrp x8, _usb_serial_bus_type@GOTPAGE Lloh1: ldr x8, [x8, _usb_serial_bus_type@GOTPAGEOFF] str x8, [x0], #12 add x20, x19, #8 bl _spin_lock_init mov x0, x20 bl _INIT_LIST_HEAD mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _driver_register .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _usb_serial_bus_type,4,2 ; @usb_serial_bus_type .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_bus.c_usb_serial_bus_register.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function systick_interrupt _systick_interrupt: ## @systick_interrupt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rsi, %rdi callq *(%rdi) movq _IRQ_HANDLED@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED .no_dead_strip _systick_interrupt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function systick_interrupt _systick_interrupt: ; @systick_interrupt .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 x0, x1 ldr x8, [x1] blr x8 Lloh0: adrp x8, _IRQ_HANDLED@GOTPAGE Lloh1: ldr x8, [x8, _IRQ_HANDLED@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 _IRQ_HANDLED,4,2 ; @IRQ_HANDLED .no_dead_strip _systick_interrupt .subsections_via_symbols
AnghaBench/linux/arch/mips/ralink/extr_cevt-rt3352.c_systick_interrupt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test ## -- Begin function test .p2align 4, 0x90 _test: ## @test .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rdi movl $420, %esi ## imm = 0x1A4 callq _creat cmpl $-1, %eax je LBB0_1 ## %bb.2: movl %eax, %ebx leaq L_.str(%rip), %rdi movl $100, %esi movl $-1, %edx callq _chown movl %ebx, %edi addq $8, %rsp popq %rbx popq %rbp jmp _close ## TAILCALL LBB0_1: addq $8, %rsp popq %rbx 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 cmpl $2, %edi jl LBB1_3 ## %bb.1: leaq L_.str(%rip), %rdi movl $420, %esi ## imm = 0x1A4 callq _creat cmpl $-1, %eax je LBB1_3 ## %bb.2: movl %eax, %ebx leaq L_.str(%rip), %rdi movl $100, %esi movl $-1, %edx callq _chown movl %ebx, %edi callq _close LBB1_3: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/tmp/myfile" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test ; -- Begin function test .p2align 2 _test: ; @test .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov w1, #420 bl _creat cmn w0, #1 b.eq LBB0_2 ; %bb.1: mov x19, x0 Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF mov w1, #100 mov w2, #-1 bl _chown mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _close LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cmp w0, #2 b.lt LBB1_3 ; %bb.1: Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF mov w1, #420 bl _creat cmn w0, #1 b.eq LBB1_3 ; %bb.2: mov x19, x0 Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF mov w1, #100 mov w2, #-1 bl _chown mov x0, x19 bl _close LBB1_3: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/tmp/myfile" .subsections_via_symbols
the_stack_data/175144322.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vmx_paging_mode _vmx_paging_mode: ## @vmx_paging_mode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _VMCS_GUEST_CR0@GOTPCREL(%rip), %rax movl (%rax), %edi callq _vmcs_read movq _CR0_PG@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_1 ## %bb.2: movq _VMCS_GUEST_CR4@GOTPCREL(%rip), %rax movl (%rax), %edi callq _vmcs_read movq _CR4_PAE@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_3 ## %bb.4: movq _VMCS_GUEST_IA32_EFER@GOTPCREL(%rip), %rax movl (%rax), %edi callq _vmcs_read movq _EFER_LME@GOTPCREL(%rip), %rcx testl %eax, (%rcx) jne LBB0_5 ## %bb.6: movq _PAGING_MODE_PAE@GOTPCREL(%rip), %rax jmp LBB0_7 LBB0_1: movq _PAGING_MODE_FLAT@GOTPCREL(%rip), %rax jmp LBB0_7 LBB0_3: movq _PAGING_MODE_32@GOTPCREL(%rip), %rax jmp LBB0_7 LBB0_5: movq _PAGING_MODE_64@GOTPCREL(%rip), %rax LBB0_7: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _VMCS_GUEST_CR0,4,2 ## @VMCS_GUEST_CR0 .comm _CR0_PG,4,2 ## @CR0_PG .comm _PAGING_MODE_FLAT,4,2 ## @PAGING_MODE_FLAT .comm _VMCS_GUEST_CR4,4,2 ## @VMCS_GUEST_CR4 .comm _CR4_PAE,4,2 ## @CR4_PAE .comm _PAGING_MODE_32,4,2 ## @PAGING_MODE_32 .comm _VMCS_GUEST_IA32_EFER,4,2 ## @VMCS_GUEST_IA32_EFER .comm _EFER_LME,4,2 ## @EFER_LME .comm _PAGING_MODE_64,4,2 ## @PAGING_MODE_64 .comm _PAGING_MODE_PAE,4,2 ## @PAGING_MODE_PAE .no_dead_strip _vmx_paging_mode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vmx_paging_mode _vmx_paging_mode: ; @vmx_paging_mode .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _VMCS_GUEST_CR0@GOTPAGE Lloh1: ldr x8, [x8, _VMCS_GUEST_CR0@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _vmcs_read Lloh3: adrp x8, _CR0_PG@GOTPAGE Lloh4: ldr x8, [x8, _CR0_PG@GOTPAGEOFF] Lloh5: ldr w8, [x8] tst w8, w0 b.eq LBB0_3 ; %bb.1: Lloh6: adrp x8, _VMCS_GUEST_CR4@GOTPAGE Lloh7: ldr x8, [x8, _VMCS_GUEST_CR4@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _vmcs_read Lloh9: adrp x8, _CR4_PAE@GOTPAGE Lloh10: ldr x8, [x8, _CR4_PAE@GOTPAGEOFF] Lloh11: ldr w8, [x8] tst w8, w0 b.eq LBB0_4 ; %bb.2: Lloh12: adrp x8, _VMCS_GUEST_IA32_EFER@GOTPAGE Lloh13: ldr x8, [x8, _VMCS_GUEST_IA32_EFER@GOTPAGEOFF] Lloh14: ldr w0, [x8] bl _vmcs_read Lloh15: adrp x8, _EFER_LME@GOTPAGE Lloh16: ldr x8, [x8, _EFER_LME@GOTPAGEOFF] Lloh17: ldr w8, [x8] Lloh18: adrp x9, _PAGING_MODE_64@GOTPAGE Lloh19: ldr x9, [x9, _PAGING_MODE_64@GOTPAGEOFF] Lloh20: adrp x10, _PAGING_MODE_PAE@GOTPAGE Lloh21: ldr x10, [x10, _PAGING_MODE_PAE@GOTPAGEOFF] tst w8, w0 csel x8, x10, x9, eq b LBB0_5 LBB0_3: Lloh22: adrp x8, _PAGING_MODE_FLAT@GOTPAGE Lloh23: ldr x8, [x8, _PAGING_MODE_FLAT@GOTPAGEOFF] b LBB0_5 LBB0_4: Lloh24: adrp x8, _PAGING_MODE_32@GOTPAGE Lloh25: ldr x8, [x8, _PAGING_MODE_32@GOTPAGEOFF] LBB0_5: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh24, Lloh25 .cfi_endproc ; -- End function .comm _VMCS_GUEST_CR0,4,2 ; @VMCS_GUEST_CR0 .comm _CR0_PG,4,2 ; @CR0_PG .comm _PAGING_MODE_FLAT,4,2 ; @PAGING_MODE_FLAT .comm _VMCS_GUEST_CR4,4,2 ; @VMCS_GUEST_CR4 .comm _CR4_PAE,4,2 ; @CR4_PAE .comm _PAGING_MODE_32,4,2 ; @PAGING_MODE_32 .comm _VMCS_GUEST_IA32_EFER,4,2 ; @VMCS_GUEST_IA32_EFER .comm _EFER_LME,4,2 ; @EFER_LME .comm _PAGING_MODE_64,4,2 ; @PAGING_MODE_64 .comm _PAGING_MODE_PAE,4,2 ; @PAGING_MODE_PAE .no_dead_strip _vmx_paging_mode .subsections_via_symbols
AnghaBench/freebsd/sys/amd64/vmm/intel/extr_vmx.c_vmx_paging_mode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _FmPortGetHardwarePortId ## -- Begin function FmPortGetHardwarePortId .p2align 4, 0x90 _FmPortGetHardwarePortId: ## @FmPortGetHardwarePortId .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %eax 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 _FmPortGetHardwarePortId ; -- Begin function FmPortGetHardwarePortId .p2align 2 _FmPortGetHardwarePortId: ; @FmPortGetHardwarePortId .cfi_startproc ; %bb.0: ldr w0, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FmPortGetHardwarePortId.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/147100.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function hashsig_add_hashes _hashsig_add_hashes: ## @hashsig_add_hashes .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 %rcx, -64(%rbp) ## 8-byte Spill movl (%rcx), %r12d movq %rdx, %rax negq %rax js LBB0_21 ## %bb.1: movq %rsi, %r15 movq %rsi, %r13 subq %rdx, %r13 leaq 8(%rdi), %rax movq %rax, -80(%rbp) ## 8-byte Spill movq %rdi, -48(%rbp) ## 8-byte Spill leaq 4(%rdi), %rax movq %rax, -72(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_2 Depth=1 cmpq %r13, %r15 ja LBB0_21 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 ## Child Loop BB0_7 Depth 3 ## Child Loop BB0_12 Depth 3 ## Child Loop BB0_25 Depth 2 cmpq %r13, %r15 jae LBB0_20 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq _HASHSIG_MAX_RUN@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_20 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq _HASHSIG_HASH_START@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -56(%rbp) ## 8-byte Spill xorl %r14d, %r14d .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_7 Depth 3 ## Child Loop BB0_12 Depth 3 movzbl (%r15), %ebx testl %r12d, %r12d je LBB0_9 .p2align 4, 0x90 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 cmpq %r13, %r15 jae LBB0_15 LBB0_7: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_5 Depth=2 ## => This Inner Loop Header: Depth=3 movsbl %bl, %edi callq _git__isspace_nonlf testq %rax, %rax je LBB0_15 ## %bb.8: ## in Loop: Header=BB0_7 Depth=3 movzbl 1(%r15), %ebx incq %r15 cmpq %r13, %r15 jb LBB0_7 jmp LBB0_15 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_5 Depth=2 movq _GIT_HASHSIG_SMART_WHITESPACE@GOTPCREL(%rip), %rax movl (%rax), %eax movq _GIT_HASHSIG_IGNORE_WHITESPACE@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq -48(%rbp), %rcx ## 8-byte Reload testl %eax, (%rcx) je LBB0_15 ## %bb.10: ## in Loop: Header=BB0_5 Depth=2 cmpq %r13, %r15 setb %al cmpb $13, %bl sete %cl andb %al, %cl cmpb $1, %cl jne LBB0_15 ## %bb.11: ## in Loop: Header=BB0_5 Depth=2 incq %r15 .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_5 Depth=2 ## => This Inner Loop Header: Depth=3 movq %r15, %rax movzbl (%r15), %ebx incq %r15 cmpq %r13, %rax jae LBB0_14 ## %bb.13: ## in Loop: Header=BB0_12 Depth=3 cmpb $13, %bl je LBB0_12 LBB0_14: ## in Loop: Header=BB0_5 Depth=2 decq %r15 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_5 Depth=2 movq _GIT_HASHSIG_SMART_WHITESPACE@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %ecx, %ecx cmpb $10, %bl sete %cl movq -48(%rbp), %rdx ## 8-byte Reload orl (%rdx), %eax cmovnel %ecx, %r12d cmpq %r13, %r15 jae LBB0_19 ## %bb.16: ## in Loop: Header=BB0_5 Depth=2 incq %r15 cmpb $10, %bl je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_5 Depth=2 movzbl %bl, %eax testl %eax, %eax je LBB0_18 ## %bb.22: ## in Loop: Header=BB0_5 Depth=2 movsbl %bl, %esi movq -56(%rbp), %rdi ## 8-byte Reload callq _HASHSIG_HASH_MIX cmpq %r13, %r15 jae LBB0_24 ## %bb.23: ## in Loop: Header=BB0_5 Depth=2 incl %r14d movq _HASHSIG_MAX_RUN@GOTPCREL(%rip), %rax cmpl (%rax), %r14d jl LBB0_5 jmp LBB0_24 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_2 Depth=1 movq -48(%rbp), %rax ## 8-byte Reload incl 12(%rax) LBB0_19: ## in Loop: Header=BB0_2 Depth=1 testl %r14d, %r14d je LBB0_20 LBB0_24: ## in Loop: Header=BB0_2 Depth=1 movq -80(%rbp), %rdi ## 8-byte Reload movq -56(%rbp), %rbx ## 8-byte Reload movl %ebx, %esi callq _hashsig_heap_insert movq -72(%rbp), %rdi ## 8-byte Reload movl %ebx, %esi callq _hashsig_heap_insert jmp LBB0_25 .p2align 4, 0x90 LBB0_28: ## in Loop: Header=BB0_25 Depth=2 incq %r15 LBB0_25: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r13, %r15 jae LBB0_20 ## %bb.26: ## in Loop: Header=BB0_25 Depth=2 movzbl (%r15), %eax cmpl $10, %eax je LBB0_28 ## %bb.27: ## in Loop: Header=BB0_25 Depth=2 testl %eax, %eax je LBB0_28 jmp LBB0_20 LBB0_21: movq -64(%rbp), %rax ## 8-byte Reload movl %r12d, (%rax) xorl %eax, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _HASHSIG_HASH_START,8,3 ## @HASHSIG_HASH_START .comm _HASHSIG_MAX_RUN,4,2 ## @HASHSIG_MAX_RUN .comm _GIT_HASHSIG_IGNORE_WHITESPACE,4,2 ## @GIT_HASHSIG_IGNORE_WHITESPACE .comm _GIT_HASHSIG_SMART_WHITESPACE,4,2 ## @GIT_HASHSIG_SMART_WHITESPACE .no_dead_strip _hashsig_add_hashes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function hashsig_add_hashes _hashsig_add_hashes: ; @hashsig_add_hashes .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 neg x8, x2 str x3, [sp] ; 8-byte Folded Spill ldr w23, [x3] tbnz x8, #63, LBB0_28 ; %bb.1: mov x21, x1 mov x20, x0 sub x24, x1, x2 sub x8, x2, x1 str x8, [sp, #8] ; 8-byte Folded Spill Lloh0: adrp x27, _HASHSIG_MAX_RUN@GOTPAGE Lloh1: ldr x27, [x27, _HASHSIG_MAX_RUN@GOTPAGEOFF] Lloh2: adrp x19, _GIT_HASHSIG_SMART_WHITESPACE@GOTPAGE Lloh3: ldr x19, [x19, _GIT_HASHSIG_SMART_WHITESPACE@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 cmp x21, x24 b.hi LBB0_28 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ; Child Loop BB0_9 Depth 3 ; Child Loop BB0_13 Depth 3 ; Child Loop BB0_25 Depth 2 cmp x21, x24 b.hs LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x27] cmp w8, #1 b.lt LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov w26, #0 ; =0x0 Lloh4: adrp x8, _HASHSIG_HASH_START@GOTPAGE Lloh5: ldr x8, [x8, _HASHSIG_HASH_START@GOTPAGEOFF] Lloh6: ldr x22, [x8] LBB0_6: ; Parent Loop BB0_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_9 Depth 3 ; Child Loop BB0_13 Depth 3 ldrb w28, [x21] cbz w23, LBB0_11 ; %bb.7: ; in Loop: Header=BB0_6 Depth=2 cmp x21, x24 b.hs LBB0_16 ; %bb.8: ; in Loop: Header=BB0_6 Depth=2 ldr x8, [sp, #8] ; 8-byte Folded Reload add x25, x8, x21 LBB0_9: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_6 Depth=2 ; => This Inner Loop Header: Depth=3 sxtb w0, w28 bl _git__isspace_nonlf cbz x0, LBB0_16 ; %bb.10: ; in Loop: Header=BB0_9 Depth=3 ldrb w28, [x21, #1]! adds x25, x25, #1 b.ne LBB0_9 b LBB0_16 LBB0_11: ; in Loop: Header=BB0_6 Depth=2 ldr w8, [x20] Lloh7: adrp x9, _GIT_HASHSIG_IGNORE_WHITESPACE@GOTPAGE Lloh8: ldr x9, [x9, _GIT_HASHSIG_IGNORE_WHITESPACE@GOTPAGEOFF] Lloh9: ldr w9, [x9] ldr w10, [x19] orr w9, w10, w9 and w8, w9, w8 cmp w8, #0 ccmp x21, x24, #2, ne ccmp w28, #13, #0, lo b.ne LBB0_16 ; %bb.12: ; in Loop: Header=BB0_6 Depth=2 add x8, x21, #1 LBB0_13: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_6 Depth=2 ; => This Inner Loop Header: Depth=3 cmp x8, x24 ldrb w28, [x8], #1 b.hs LBB0_15 ; %bb.14: ; in Loop: Header=BB0_13 Depth=3 cmp w28, #13 b.eq LBB0_13 LBB0_15: ; in Loop: Header=BB0_6 Depth=2 sub x21, x8, #1 LBB0_16: ; in Loop: Header=BB0_6 Depth=2 ldr w8, [x20] ldr w9, [x19] orr w9, w9, w8 and w8, w28, #0xff cmp w8, #10 cset w10, eq cmp w9, #0 csel w23, w23, w10, eq cmp x21, x24 b.hs LBB0_22 ; %bb.17: ; in Loop: Header=BB0_6 Depth=2 add x21, x21, #1 cmp w8, #10 b.eq LBB0_21 ; %bb.18: ; in Loop: Header=BB0_6 Depth=2 cbz w8, LBB0_21 ; %bb.19: ; in Loop: Header=BB0_6 Depth=2 sxtb w1, w28 mov x0, x22 bl _HASHSIG_HASH_MIX cmp x21, x24 b.hs LBB0_23 ; %bb.20: ; in Loop: Header=BB0_6 Depth=2 add w26, w26, #1 ldr w8, [x27] cmp w26, w8 b.lt LBB0_6 b LBB0_23 LBB0_21: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x20, #12] add w8, w8, #1 str w8, [x20, #12] LBB0_22: ; in Loop: Header=BB0_3 Depth=1 cbz w26, LBB0_2 LBB0_23: ; in Loop: Header=BB0_3 Depth=1 add x0, x20, #8 mov x1, x22 bl _hashsig_heap_insert add x0, x20, #4 mov x1, x22 bl _hashsig_heap_insert cmp x21, x24 b.hs LBB0_2 ; %bb.24: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #8] ; 8-byte Folded Reload add x8, x8, x21 LBB0_25: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w9, [x21] cmp w9, #10 ccmp w9, #0, #4, ne b.ne LBB0_2 ; %bb.26: ; in Loop: Header=BB0_25 Depth=2 add x21, x21, #1 adds x8, x8, #1 b.ne LBB0_25 ; %bb.27: ; in Loop: Header=BB0_3 Depth=1 mov x21, x24 b LBB0_2 LBB0_28: ldr x8, [sp] ; 8-byte Folded Reload str w23, [x8] mov w0, #0 ; =0x0 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 Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _HASHSIG_HASH_START,8,3 ; @HASHSIG_HASH_START .comm _HASHSIG_MAX_RUN,4,2 ; @HASHSIG_MAX_RUN .comm _GIT_HASHSIG_IGNORE_WHITESPACE,4,2 ; @GIT_HASHSIG_IGNORE_WHITESPACE .comm _GIT_HASHSIG_SMART_WHITESPACE,4,2 ; @GIT_HASHSIG_SMART_WHITESPACE .no_dead_strip _hashsig_add_hashes .subsections_via_symbols
assembly_file_42589.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 0x3f000000 ## float 0.5 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rbx leaq -16(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf leaq -12(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf movl -12(%rbp), %eax addl -16(%rbp), %eax cvtsi2ss %eax, %xmm0 mulss LCPI0_0(%rip), %xmm0 cvtss2sd %xmm0, %xmm0 leaq L_.str.3(%rip), %rdi movb $1, %al callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter mark 1 : " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "Enter mark 2 : " L_.str.3: ## @.str.3 .asciz "Average 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, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf add x8, sp, #12 str x8, [sp] Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _scanf Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf add x8, sp, #8 str x8, [sp] mov x0, x19 bl _scanf ldp w9, w8, [sp, #8] add w8, w9, w8 scvtf s0, w8 fmov s1, #0.50000000 fmul s0, s0, s1 fcvt d0, s0 str d0, [sp] Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@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 Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter mark 1 : " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Enter mark 2 : " l_.str.3: ; @.str.3 .asciz "Average is %.2f" .subsections_via_symbols
the_stack_data/61074319.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function h245_help _h245_help: ## @h245_help .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movq %rdx, %r14 movl %esi, -48(%rbp) ## 4-byte Spill movq %rdi, %r12 movq $0, -64(%rbp) movq _IP_CT_ESTABLISHED@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl %ecx, %eax je LBB0_2 ## %bb.1: movq _IP_CT_IS_REPLY@GOTPCREL(%rip), %rcx addl (%rcx), %eax cmpl %r15d, %eax jne LBB0_11 LBB0_2: movq (%r12), %rsi leaq L_.str(%rip), %rdi xorl %eax, %eax callq _pr_debug movq _nf_h323_lock@GOTPCREL(%rip), %rdi callq _spin_lock_bh leaq -64(%rbp), %rbx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 leaq -52(%rbp), %rax movq %rax, (%rsp) movq %r12, %rdi movl -48(%rbp), %esi ## 4-byte Reload movq %r14, %rdx movl %r15d, %ecx movq %rbx, %r8 leaq -44(%rbp), %r9 callq _get_tpkt_data testq %rax, %rax je LBB0_10 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl -44(%rbp), %esi leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _pr_debug movq (%r14), %r13 movl %r15d, %edi callq _CTINFO2DIR leaq (,%rax,4), %rdi addq %r13, %rdi leaq _h245_help.mscm(%rip), %r13 callq _nf_ct_dump_tuple movq -64(%rbp), %rdi movl -44(%rbp), %esi movq %r13, %rdx callq _DecodeMultimediaSystemControlMessage testl %eax, %eax js LBB0_9 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl -52(%rbp), %r8d movq %r12, %rdi movq %r14, %rsi movl %r15d, %edx movq %rbx, %rcx movq %r13, %r9 callq _process_h245 testq %rax, %rax jns LBB0_3 ## %bb.6: movq _nf_h323_lock@GOTPCREL(%rip), %rdi callq _spin_unlock_bh xorl %eax, %eax callq _net_ratelimit movq _NF_DROP@GOTPCREL(%rip), %rbx testq %rax, %rax je LBB0_12 ## %bb.7: leaq L_.str.5(%rip), %rdi callq _printk jmp LBB0_12 LBB0_9: movq _H323_ERROR_BOUND@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax leaq L_.str.3(%rip), %rax leaq L_.str.4(%rip), %rsi cmoveq %rax, %rsi leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _pr_debug LBB0_10: movq _nf_h323_lock@GOTPCREL(%rip), %rdi callq _spin_unlock_bh LBB0_11: movq _NF_ACCEPT@GOTPCREL(%rip), %rbx LBB0_12: movl (%rbx), %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_h245_help.mscm,4,2 ## @h245_help.mscm .comm _IP_CT_ESTABLISHED,4,2 ## @IP_CT_ESTABLISHED .comm _IP_CT_IS_REPLY,4,2 ## @IP_CT_IS_REPLY .comm _NF_ACCEPT,4,2 ## @NF_ACCEPT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "nf_ct_h245: skblen = %u\n" .comm _nf_h323_lock,4,2 ## @nf_h323_lock L_.str.1: ## @.str.1 .asciz "nf_ct_h245: TPKT len=%d " L_.str.2: ## @.str.2 .asciz "nf_ct_h245: decoding error: %s\n" .comm _H323_ERROR_BOUND,4,2 ## @H323_ERROR_BOUND L_.str.3: ## @.str.3 .asciz "out of bound" L_.str.4: ## @.str.4 .asciz "out of range" L_.str.5: ## @.str.5 .asciz "nf_ct_h245: packet dropped\n" .comm _NF_DROP,4,2 ## @NF_DROP .no_dead_strip _h245_help .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function h245_help _h245_help: ; @h245_help .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, x3 mov x20, x2 mov x21, x1 mov x22, x0 str xzr, [sp, #24] Lloh0: adrp x8, _IP_CT_ESTABLISHED@GOTPAGE Lloh1: ldr x8, [x8, _IP_CT_ESTABLISHED@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w3 b.eq LBB0_2 ; %bb.1: Lloh3: adrp x9, _IP_CT_IS_REPLY@GOTPAGE Lloh4: ldr x9, [x9, _IP_CT_IS_REPLY@GOTPAGEOFF] Lloh5: ldr w9, [x9] add w8, w9, w8 cmp w8, w19 b.ne LBB0_11 LBB0_2: ldr x8, [x22] str x8, [sp] Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF bl _pr_debug Lloh8: adrp x0, _nf_h323_lock@GOTPAGE Lloh9: ldr x0, [x0, _nf_h323_lock@GOTPAGEOFF] bl _spin_lock_bh Lloh10: adrp x23, l_.str.1@PAGE Lloh11: add x23, x23, l_.str.1@PAGEOFF Lloh12: adrp x24, _h245_help.mscm@PAGE Lloh13: add x24, x24, _h245_help.mscm@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 add x4, sp, #24 add x5, sp, #20 add x6, sp, #16 mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 bl _get_tpkt_data cbz x0, LBB0_10 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #20] str x8, [sp] mov x0, x23 bl _pr_debug ldr x25, [x20] mov x0, x19 bl _CTINFO2DIR add x0, x25, x0, lsl #2 bl _nf_ct_dump_tuple ldr x0, [sp, #24] ldr w1, [sp, #20] mov x2, x24 bl _DecodeMultimediaSystemControlMessage tbnz w0, #31, LBB0_9 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr w4, [sp, #16] add x3, sp, #24 mov x0, x22 mov x1, x20 mov x2, x19 mov x5, x24 bl _process_h245 tbz x0, #63, LBB0_3 ; %bb.6: Lloh14: adrp x0, _nf_h323_lock@GOTPAGE Lloh15: ldr x0, [x0, _nf_h323_lock@GOTPAGEOFF] bl _spin_unlock_bh bl _net_ratelimit cbz x0, LBB0_8 ; %bb.7: Lloh16: adrp x0, l_.str.5@PAGE Lloh17: add x0, x0, l_.str.5@PAGEOFF bl _printk LBB0_8: Lloh18: adrp x8, _NF_DROP@GOTPAGE Lloh19: ldr x8, [x8, _NF_DROP@GOTPAGEOFF] b LBB0_12 LBB0_9: Lloh20: adrp x8, _H323_ERROR_BOUND@GOTPAGE Lloh21: ldr x8, [x8, _H323_ERROR_BOUND@GOTPAGEOFF] Lloh22: ldr w8, [x8] Lloh23: adrp x9, l_.str.4@PAGE Lloh24: add x9, x9, l_.str.4@PAGEOFF Lloh25: adrp x10, l_.str.3@PAGE Lloh26: add x10, x10, l_.str.3@PAGEOFF cmp w0, w8 csel x8, x10, x9, eq str x8, [sp] Lloh27: adrp x0, l_.str.2@PAGE Lloh28: add x0, x0, l_.str.2@PAGEOFF bl _pr_debug LBB0_10: Lloh29: adrp x0, _nf_h323_lock@GOTPAGE Lloh30: ldr x0, [x0, _nf_h323_lock@GOTPAGEOFF] bl _spin_unlock_bh LBB0_11: Lloh31: adrp x8, _NF_ACCEPT@GOTPAGE Lloh32: ldr x8, [x8, _NF_ACCEPT@GOTPAGEOFF] LBB0_12: 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 add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpLdrGot Lloh31, Lloh32 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_h245_help.mscm,4,2 ; @h245_help.mscm .comm _IP_CT_ESTABLISHED,4,2 ; @IP_CT_ESTABLISHED .comm _IP_CT_IS_REPLY,4,2 ; @IP_CT_IS_REPLY .comm _NF_ACCEPT,4,2 ; @NF_ACCEPT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "nf_ct_h245: skblen = %u\n" .comm _nf_h323_lock,4,2 ; @nf_h323_lock l_.str.1: ; @.str.1 .asciz "nf_ct_h245: TPKT len=%d " l_.str.2: ; @.str.2 .asciz "nf_ct_h245: decoding error: %s\n" .comm _H323_ERROR_BOUND,4,2 ; @H323_ERROR_BOUND l_.str.3: ; @.str.3 .asciz "out of bound" l_.str.4: ; @.str.4 .asciz "out of range" l_.str.5: ; @.str.5 .asciz "nf_ct_h245: packet dropped\n" .comm _NF_DROP,4,2 ; @NF_DROP .no_dead_strip _h245_help .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_h323_main.c_h245_help.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function poll_catas _poll_catas: ## @poll_catas .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 cmpl $0, (%rdi) jle LBB0_5 ## %bb.1: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rdi addq %rbx, %rdi callq _readl testq %rax, %rax jne LBB0_4 ## %bb.2: ## in Loop: Header=BB0_3 Depth=1 incq %rbx movslq (%r14), %rax cmpq %rax, %rbx jl LBB0_3 LBB0_5: addq $4, %r14 movq _jiffies@GOTPCREL(%rip), %rax movq _MTHCA_CATAS_POLL_INTERVAL@GOTPCREL(%rip), %rcx movq (%rcx), %rdi addq (%rax), %rdi callq _round_jiffies movq %r14, %rdi movl %eax, %esi popq %rbx popq %r14 popq %rbp jmp _mod_timer ## TAILCALL LBB0_4: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _handle_catas ## TAILCALL .cfi_endproc ## -- End function .comm _jiffies,8,3 ## @jiffies .comm _MTHCA_CATAS_POLL_INTERVAL,8,3 ## @MTHCA_CATAS_POLL_INTERVAL .no_dead_strip _poll_catas .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function poll_catas _poll_catas: ; @poll_catas .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 w8, [x0] cmp w8, #1 b.lt LBB0_4 ; %bb.1: mov x20, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] add x0, x20, x8 bl _readl cbnz x0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x20, x20, #1 ldrsw x8, [x19] cmp x20, x8 b.lt LBB0_2 LBB0_4: Lloh0: adrp x8, _jiffies@GOTPAGE Lloh1: ldr x8, [x8, _jiffies@GOTPAGEOFF] add x19, x19, #4 Lloh2: ldr x8, [x8] Lloh3: adrp x9, _MTHCA_CATAS_POLL_INTERVAL@GOTPAGE Lloh4: ldr x9, [x9, _MTHCA_CATAS_POLL_INTERVAL@GOTPAGEOFF] Lloh5: ldr x9, [x9] add x0, x9, x8 bl _round_jiffies mov x1, x0 mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _mod_timer LBB0_5: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _handle_catas .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _jiffies,8,3 ; @jiffies .comm _MTHCA_CATAS_POLL_INTERVAL,8,3 ; @MTHCA_CATAS_POLL_INTERVAL .no_dead_strip _poll_catas .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/infiniband/hw/mthca/extr_mthca_catas.c_poll_catas.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nvkm_fifo_chan_rd32 _nvkm_fifo_chan_rd32: ## @nvkm_fifo_chan_rd32 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r15 callq _nvkm_fifo_chan movq %rax, %rbx xorl %edi, %edi cmpq $0, (%rax) sete %dil callq _unlikely testq %rax, %rax je LBB0_4 ## %bb.1: movl 16(%rbx), %edi movq 8(%rbx), %rsi callq _ioremap movq %rax, (%rbx) testq %rax, %rax je LBB0_2 LBB0_4: leaq 4(%r15), %rax xorl %edi, %edi cmpq 8(%rbx), %rax setg %dil callq _unlikely testq %rax, %rax je LBB0_6 ## %bb.5: movq _EINVAL@GOTPCREL(%rip), %rcx jmp LBB0_3 LBB0_6: addq (%rbx), %r15 movq %r15, %rdi callq _ioread32_native movl %eax, (%r14) xorl %eax, %eax jmp LBB0_7 LBB0_2: movq _ENOMEM@GOTPCREL(%rip), %rcx LBB0_3: xorl %eax, %eax subl (%rcx), %eax LBB0_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _nvkm_fifo_chan_rd32 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nvkm_fifo_chan_rd32 _nvkm_fifo_chan_rd32: ; @nvkm_fifo_chan_rd32 .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 bl _nvkm_fifo_chan mov x21, x0 ldr x8, [x0] cmp x8, #0 cset w0, eq bl _unlikely cbz x0, LBB0_2 ; %bb.1: ldr w0, [x21, #16] ldr x1, [x21, #8] bl _ioremap str x0, [x21] cbz x0, LBB0_5 LBB0_2: add x8, x20, #4 ldr x9, [x21, #8] cmp x8, x9 cset w0, gt bl _unlikely cbz x0, LBB0_4 ; %bb.3: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_6 LBB0_4: ldr x8, [x21] add x0, x8, x20 bl _ioread32_native mov x8, x0 mov w0, #0 str w8, [x19] b LBB0_7 LBB0_5: Lloh2: adrp x8, _ENOMEM@GOTPAGE Lloh3: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_6: ldr w8, [x8] neg w0, w8 LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _nvkm_fifo_chan_rd32 .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_chan.c_nvkm_fifo_chan_rd32.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nvkm_rdvgai ## -- Begin function nvkm_rdvgai .p2align 4, 0x90 _nvkm_rdvgai: ## @nvkm_rdvgai .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $980, %edx ## imm = 0x3D4 je LBB0_5 ## %bb.1: cmpl $974, %edx ## imm = 0x3CE je LBB0_4 ## %bb.2: cmpl $964, %edx ## imm = 0x3C4 jne LBB0_6 ## %bb.3: movl %ecx, %edx popq %rbp jmp _nvkm_rdvgas ## TAILCALL LBB0_5: movl %ecx, %edx popq %rbp jmp _nvkm_rdvgac ## TAILCALL LBB0_4: movl %ecx, %edx popq %rbp jmp _nvkm_rdvgag ## TAILCALL LBB0_6: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nvkm_rdvgai ; -- Begin function nvkm_rdvgai .p2align 2 _nvkm_rdvgai: ; @nvkm_rdvgai .cfi_startproc ; %bb.0: cmp w2, #980 b.eq LBB0_4 ; %bb.1: cmp w2, #974 b.eq LBB0_5 ; %bb.2: cmp w2, #964 b.ne LBB0_6 ; %bb.3: mov x2, x3 b _nvkm_rdvgas LBB0_4: mov x2, x3 b _nvkm_rdvgac LBB0_5: mov x2, x3 b _nvkm_rdvgag LBB0_6: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_vga.c_nvkm_rdvgai.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function analop _analop: ## @analop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, -44(%rbp) ## 4-byte Spill movq %rcx, %rbx movl %edx, %r14d movq %rsi, %r13 movq %rdi, %r15 movq $0, -56(%rbp) cmpl $16, (%rdi) jne LBB0_1 ## %bb.2: movq _CS_MODE_THUMB@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _CS_MODE_ARM@GOTPCREL(%rip), %rax LBB0_3: cmpq $0, 16(%r15) movl %r8d, -60(%rbp) ## 4-byte Spill jne LBB0_4 ## %bb.5: movq _CS_MODE_LITTLE_ENDIAN@GOTPCREL(%rip), %rcx jmp LBB0_6 LBB0_4: movq _CS_MODE_BIG_ENDIAN@GOTPCREL(%rip), %rcx LBB0_6: movl (%rcx), %r12d orl (%rax), %r12d movq 8(%r15), %rdi testq %rdi, %rdi je LBB0_9 ## %bb.7: leaq L_.str(%rip), %rsi callq _strstr testq %rax, %rax je LBB0_9 ## %bb.8: movq _CS_MODE_MCLASS@GOTPCREL(%rip), %rax orl (%rax), %r12d LBB0_9: cmpl _analop.omode(%rip), %r12d jne LBB0_11 ## %bb.10: movl (%r15), %eax cmpl _analop.obits(%rip), %eax je LBB0_12 LBB0_11: leaq _analop.handle(%rip), %rdi callq _cs_close movq $0, _analop.handle(%rip) movl %r12d, _analop.omode(%rip) movl (%r15), %eax movl %eax, _analop.obits(%rip) LBB0_12: movq _R_ANAL_OP_TYPE_NULL@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 32(%r13) xorl %ecx, %ecx cmpl $16, %eax setne %cl leal 2(%rcx,%rcx), %eax movl %eax, (%r13) movq _R_ANAL_STACK_NULL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 64(%r13) movq $0, 56(%r13) movl %r14d, 48(%r13) pcmpeqd %xmm0, %xmm0 movdqu %xmm0, 4(%r13) movq $0, 40(%r13) leaq 36(%r13), %rdi callq _r_strbuf_init cmpq $0, _analop.handle(%rip) jne LBB0_18 ## %bb.13: cmpl $64, (%r15) jne LBB0_14 ## %bb.15: movq _CS_ARCH_ARM64@GOTPCREL(%rip), %rax jmp LBB0_16 LBB0_14: movq _CS_ARCH_ARM@GOTPCREL(%rip), %rax LBB0_16: movl (%rax), %edi leaq _analop.handle(%rip), %rdx movl %r12d, %esi callq _cs_open movl %eax, %r12d movq _analop.handle(%rip), %rdi movq _CS_OPT_DETAIL@GOTPCREL(%rip), %rax movl (%rax), %esi movq _CS_OPT_ON@GOTPCREL(%rip), %rax movl (%rax), %edx callq _cs_option movq _CS_ERR_OK@GOTPCREL(%rip), %rax cmpl (%rax), %r12d jne LBB0_17 LBB0_18: movq %r15, %rdi movq %r13, %rsi movq %rbx, %rdx movq %rbx, %r12 movl -60(%rbp), %ebx ## 4-byte Reload movl %ebx, %ecx callq _hackyArmAnal testl %eax, %eax jg LBB0_37 ## %bb.19: movq _analop.handle(%rip), %rdi leaq -56(%rbp), %r9 movq %r12, -72(%rbp) ## 8-byte Spill movq %r12, %rsi movl %ebx, %edx movl %r14d, %ecx movl $1, %r8d callq _cs_disasm testl %eax, %eax jle LBB0_20 ## %bb.22: movl %eax, -64(%rbp) ## 4-byte Spill movq _R_ANAL_OP_MASK_DISASM@GOTPCREL(%rip), %rax movl -44(%rbp), %ecx ## 4-byte Reload testl %ecx, (%rax) je LBB0_24 ## %bb.23: movq -56(%rbp), %rax movl 16(%rax), %esi movq 8(%rax), %rcx cmpq $0, (%rcx) leaq L_.str.4(%rip), %rax leaq L_.str.3(%rip), %rdx cmoveq %rax, %rdx leaq L_.str.2(%rip), %rdi callq _r_str_newf movl %eax, 28(%r13) LBB0_24: movl (%r15), %edx xorl %r12d, %r12d cmpl $16, %edx sete %al movq -56(%rbp), %rcx movl (%rcx), %esi movl %esi, (%r13) movl 4(%rcx), %esi movl %esi, 24(%r13) movq _analop.handle(%rip), %rsi cmpl $64, %edx movq -72(%rbp), %rbx ## 8-byte Reload jne LBB0_29 ## %bb.25: movq %rsi, %rdi movq %r13, %rsi movq %rcx, %rdx callq _anop64 movq _R_ANAL_OP_MASK_OPEX@GOTPCREL(%rip), %rax movl -44(%rbp), %ecx ## 4-byte Reload testl %ecx, (%rax) je LBB0_27 ## %bb.26: leaq 20(%r13), %rdi movq _analop.handle(%rip), %rsi movq -56(%rbp), %rdx callq _opex64 LBB0_27: movq _R_ANAL_OP_MASK_ESIL@GOTPCREL(%rip), %rax movl -44(%rbp), %ecx ## 4-byte Reload testl %ecx, (%rax) je LBB0_33 ## %bb.28: movq -56(%rbp), %rax movq %rax, (%rsp) leaq _analop.handle(%rip), %r9 movq %r15, %rdi movq %r13, %rsi movl %r14d, %edx movq %rbx, %rcx movl -60(%rbp), %r8d ## 4-byte Reload callq _analop64_esil jmp LBB0_33 LBB0_17: movq $0, _analop.handle(%rip) movl $-1, %eax jmp LBB0_37 LBB0_20: movq _R_ANAL_OP_TYPE_ILL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 32(%r13) movq _R_ANAL_OP_MASK_DISASM@GOTPCREL(%rip), %rax movl -44(%rbp), %ecx ## 4-byte Reload testl %ecx, (%rax) je LBB0_36 ## %bb.21: leaq L_.str.1(%rip), %rdi callq _strdup movl %eax, 28(%r13) jmp LBB0_36 LBB0_29: movb %al, %r12b movl -60(%rbp), %eax ## 4-byte Reload movl %eax, (%rsp) movq %r15, %rdi movq %r13, %rdx movl %r12d, %r8d movq %rbx, %r9 callq _anop32 movq _R_ANAL_OP_MASK_OPEX@GOTPCREL(%rip), %rax movl -44(%rbp), %ecx ## 4-byte Reload testl %ecx, (%rax) je LBB0_31 ## %bb.30: leaq 20(%r13), %rdi movq _analop.handle(%rip), %rsi movq -56(%rbp), %rdx callq _opex LBB0_31: movq _R_ANAL_OP_MASK_ESIL@GOTPCREL(%rip), %rax movl -44(%rbp), %ecx ## 4-byte Reload testl %ecx, (%rax) je LBB0_33 ## %bb.32: movq -56(%rbp), %rax movl %r12d, 8(%rsp) movq %rax, (%rsp) leaq _analop.handle(%rip), %r9 movq %r15, %rdi movq %r13, %rsi movl %r14d, %edx movq %rbx, %rcx movl -60(%rbp), %r8d ## 4-byte Reload callq _analop_esil LBB0_33: movq %r13, %rdi callq _set_opdir movq _R_ANAL_OP_MASK_VAL@GOTPCREL(%rip), %rax movl -44(%rbp), %ecx ## 4-byte Reload testl %ecx, (%rax) je LBB0_35 ## %bb.34: movq _analop.handle(%rip), %rsi movq -56(%rbp), %rdx movl (%r15), %ecx movq %r13, %rdi callq _op_fillval LBB0_35: movq -56(%rbp), %rdi movl -64(%rbp), %esi ## 4-byte Reload callq _cs_free LBB0_36: movl (%r13), %eax LBB0_37: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_analop.handle,8,3 ## @analop.handle .section __DATA,__data .p2align 2 ## @analop.omode _analop.omode: .long 4294967295 ## 0xffffffff .p2align 2 ## @analop.obits _analop.obits: .long 32 ## 0x20 .comm _CS_MODE_THUMB,4,2 ## @CS_MODE_THUMB .comm _CS_MODE_ARM,4,2 ## @CS_MODE_ARM .comm _CS_MODE_BIG_ENDIAN,4,2 ## @CS_MODE_BIG_ENDIAN .comm _CS_MODE_LITTLE_ENDIAN,4,2 ## @CS_MODE_LITTLE_ENDIAN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "cortex" .comm _CS_MODE_MCLASS,4,2 ## @CS_MODE_MCLASS .comm _R_ANAL_OP_TYPE_NULL,4,2 ## @R_ANAL_OP_TYPE_NULL .comm _R_ANAL_STACK_NULL,4,2 ## @R_ANAL_STACK_NULL .comm _CS_ARCH_ARM64,4,2 ## @CS_ARCH_ARM64 .comm _CS_ARCH_ARM,4,2 ## @CS_ARCH_ARM .comm _CS_OPT_DETAIL,4,2 ## @CS_OPT_DETAIL .comm _CS_OPT_ON,4,2 ## @CS_OPT_ON .comm _CS_ERR_OK,4,2 ## @CS_ERR_OK .comm _R_ANAL_OP_TYPE_ILL,4,2 ## @R_ANAL_OP_TYPE_ILL .comm _R_ANAL_OP_MASK_DISASM,4,2 ## @R_ANAL_OP_MASK_DISASM L_.str.1: ## @.str.1 .asciz "invalid" L_.str.2: ## @.str.2 .asciz "%s%s%s" L_.str.3: ## @.str.3 .asciz " " L_.str.4: ## @.str.4 .space 1 .comm _R_ANAL_OP_MASK_OPEX,4,2 ## @R_ANAL_OP_MASK_OPEX .comm _R_ANAL_OP_MASK_ESIL,4,2 ## @R_ANAL_OP_MASK_ESIL .comm _R_ANAL_OP_MASK_VAL,4,2 ## @R_ANAL_OP_MASK_VAL .no_dead_strip _analop .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function analop _analop: ; @analop .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, x5 mov x22, x4 mov x23, x3 mov x24, x2 mov x19, x1 mov x21, x0 str xzr, [sp, #8] ldr w8, [x0] Lloh0: adrp x9, _CS_MODE_THUMB@GOTPAGE Lloh1: ldr x9, [x9, _CS_MODE_THUMB@GOTPAGEOFF] Lloh2: adrp x10, _CS_MODE_ARM@GOTPAGE Lloh3: ldr x10, [x10, _CS_MODE_ARM@GOTPAGEOFF] cmp w8, #16 csel x8, x9, x10, eq ldr w8, [x8] Lloh4: adrp x9, _CS_MODE_BIG_ENDIAN@GOTPAGE Lloh5: ldr x9, [x9, _CS_MODE_BIG_ENDIAN@GOTPAGEOFF] Lloh6: adrp x10, _CS_MODE_LITTLE_ENDIAN@GOTPAGE Lloh7: ldr x10, [x10, _CS_MODE_LITTLE_ENDIAN@GOTPAGEOFF] ldp x0, x11, [x0, #8] cmp x11, #0 csel x9, x10, x9, eq ldr w9, [x9] orr w25, w9, w8 cbz x0, LBB0_3 ; %bb.1: Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF bl _strstr cbz x0, LBB0_3 ; %bb.2: Lloh10: adrp x8, _CS_MODE_MCLASS@GOTPAGE Lloh11: ldr x8, [x8, _CS_MODE_MCLASS@GOTPAGEOFF] Lloh12: ldr w8, [x8] orr w25, w8, w25 LBB0_3: adrp x27, _analop.omode@PAGE ldr w8, [x27, _analop.omode@PAGEOFF] Lloh13: adrp x26, _analop.handle@PAGE Lloh14: add x26, x26, _analop.handle@PAGEOFF adrp x28, _analop.obits@PAGE cmp w25, w8 b.ne LBB0_5 ; %bb.4: ldr w8, [x21] ldr w9, [x28, _analop.obits@PAGEOFF] cmp w8, w9 b.eq LBB0_6 LBB0_5: mov x0, x26 bl _cs_close str xzr, [x26] str w25, [x27, _analop.omode@PAGEOFF] ldr w8, [x21] str w8, [x28, _analop.obits@PAGEOFF] LBB0_6: Lloh15: adrp x9, _R_ANAL_OP_TYPE_NULL@GOTPAGE Lloh16: ldr x9, [x9, _R_ANAL_OP_TYPE_NULL@GOTPAGEOFF] Lloh17: ldr w9, [x9] str w9, [x19, #32] mov w9, #4 mov w10, #2 cmp w8, #16 csel w8, w10, w9, eq str w8, [x19] Lloh18: adrp x8, _R_ANAL_STACK_NULL@GOTPAGE Lloh19: ldr x8, [x8, _R_ANAL_STACK_NULL@GOTPAGEOFF] Lloh20: ldr w8, [x8] str w8, [x19, #64] str xzr, [x19, #56] str w24, [x19, #48] movi.2d v0, #0xffffffffffffffff stur q0, [x19, #4] str xzr, [x19, #40] add x0, x19, #36 bl _r_strbuf_init adrp x27, _analop.handle@PAGE ldr x8, [x27, _analop.handle@PAGEOFF] cbnz x8, LBB0_8 ; %bb.7: Lloh21: adrp x8, _CS_ARCH_ARM64@GOTPAGE Lloh22: ldr x8, [x8, _CS_ARCH_ARM64@GOTPAGEOFF] ldr w9, [x21] Lloh23: adrp x10, _CS_ARCH_ARM@GOTPAGE Lloh24: ldr x10, [x10, _CS_ARCH_ARM@GOTPAGEOFF] cmp w9, #64 csel x8, x8, x10, eq ldr w0, [x8] mov x1, x25 mov x2, x26 bl _cs_open mov x25, x0 ldr x0, [x26] Lloh25: adrp x8, _CS_OPT_DETAIL@GOTPAGE Lloh26: ldr x8, [x8, _CS_OPT_DETAIL@GOTPAGEOFF] Lloh27: ldr w1, [x8] Lloh28: adrp x8, _CS_OPT_ON@GOTPAGE Lloh29: ldr x8, [x8, _CS_OPT_ON@GOTPAGEOFF] Lloh30: ldr w2, [x8] bl _cs_option Lloh31: adrp x8, _CS_ERR_OK@GOTPAGE Lloh32: ldr x8, [x8, _CS_ERR_OK@GOTPAGEOFF] Lloh33: ldr w8, [x8] cmp w25, w8 b.ne LBB0_17 LBB0_8: mov x0, x21 mov x1, x19 mov x2, x23 mov x3, x22 bl _hackyArmAnal cmp w0, #0 b.gt LBB0_28 ; %bb.9: ldr x0, [x27, _analop.handle@PAGEOFF] add x5, sp, #8 mov x1, x23 mov x2, x22 mov x3, x24 mov w4, #1 bl _cs_disasm cmp w0, #0 b.le LBB0_18 ; %bb.10: mov x25, x0 Lloh34: adrp x8, _R_ANAL_OP_MASK_DISASM@GOTPAGE Lloh35: ldr x8, [x8, _R_ANAL_OP_MASK_DISASM@GOTPAGEOFF] Lloh36: ldr w8, [x8] tst w8, w20 b.eq LBB0_12 ; %bb.11: ldr x8, [sp, #8] ldr w1, [x8, #16] ldr x3, [x8, #8] ldr x8, [x3] Lloh37: adrp x9, l_.str.3@PAGE Lloh38: add x9, x9, l_.str.3@PAGEOFF Lloh39: adrp x10, l_.str.4@PAGE Lloh40: add x10, x10, l_.str.4@PAGEOFF cmp x8, #0 csel x2, x10, x9, eq Lloh41: adrp x0, l_.str.2@PAGE Lloh42: add x0, x0, l_.str.2@PAGEOFF bl _r_str_newf str w0, [x19, #28] LBB0_12: ldr w8, [x21] cmp w8, #16 cset w26, eq ldr x3, [sp, #8] ldp w9, w10, [x3] str w9, [x19] str w10, [x19, #24] ldr x1, [x27, _analop.handle@PAGEOFF] cmp w8, #64 b.ne LBB0_20 ; %bb.13: mov x0, x1 mov x1, x19 mov x2, x3 bl _anop64 Lloh43: adrp x8, _R_ANAL_OP_MASK_OPEX@GOTPAGE Lloh44: ldr x8, [x8, _R_ANAL_OP_MASK_OPEX@GOTPAGEOFF] Lloh45: ldr w8, [x8] tst w8, w20 b.eq LBB0_15 ; %bb.14: add x0, x19, #20 ldr x1, [x27, _analop.handle@PAGEOFF] ldr x2, [sp, #8] bl _opex64 LBB0_15: Lloh46: adrp x8, _R_ANAL_OP_MASK_ESIL@GOTPAGE Lloh47: ldr x8, [x8, _R_ANAL_OP_MASK_ESIL@GOTPAGEOFF] Lloh48: ldr w8, [x8] tst w8, w20 b.eq LBB0_24 ; %bb.16: ldr x6, [sp, #8] Lloh49: adrp x5, _analop.handle@PAGE Lloh50: add x5, x5, _analop.handle@PAGEOFF mov x0, x21 mov x1, x19 mov x2, x24 mov x3, x23 mov x4, x22 bl _analop64_esil b LBB0_24 LBB0_17: str xzr, [x27, _analop.handle@PAGEOFF] mov w0, #-1 b LBB0_28 LBB0_18: Lloh51: adrp x8, _R_ANAL_OP_TYPE_ILL@GOTPAGE Lloh52: ldr x8, [x8, _R_ANAL_OP_TYPE_ILL@GOTPAGEOFF] Lloh53: ldr w8, [x8] str w8, [x19, #32] Lloh54: adrp x8, _R_ANAL_OP_MASK_DISASM@GOTPAGE Lloh55: ldr x8, [x8, _R_ANAL_OP_MASK_DISASM@GOTPAGEOFF] Lloh56: ldr w8, [x8] tst w8, w20 b.eq LBB0_27 ; %bb.19: Lloh57: adrp x0, l_.str.1@PAGE Lloh58: add x0, x0, l_.str.1@PAGEOFF bl _strdup str w0, [x19, #28] b LBB0_27 LBB0_20: mov x0, x21 mov x2, x19 mov x4, x26 mov x5, x23 mov x6, x22 bl _anop32 Lloh59: adrp x8, _R_ANAL_OP_MASK_OPEX@GOTPAGE Lloh60: ldr x8, [x8, _R_ANAL_OP_MASK_OPEX@GOTPAGEOFF] Lloh61: ldr w8, [x8] tst w8, w20 b.eq LBB0_22 ; %bb.21: add x0, x19, #20 ldr x1, [x27, _analop.handle@PAGEOFF] ldr x2, [sp, #8] bl _opex LBB0_22: Lloh62: adrp x8, _R_ANAL_OP_MASK_ESIL@GOTPAGE Lloh63: ldr x8, [x8, _R_ANAL_OP_MASK_ESIL@GOTPAGEOFF] Lloh64: ldr w8, [x8] tst w8, w20 b.eq LBB0_24 ; %bb.23: ldr x6, [sp, #8] Lloh65: adrp x5, _analop.handle@PAGE Lloh66: add x5, x5, _analop.handle@PAGEOFF mov x0, x21 mov x1, x19 mov x2, x24 mov x3, x23 mov x4, x22 mov x7, x26 bl _analop_esil LBB0_24: mov x0, x19 bl _set_opdir Lloh67: adrp x8, _R_ANAL_OP_MASK_VAL@GOTPAGE Lloh68: ldr x8, [x8, _R_ANAL_OP_MASK_VAL@GOTPAGEOFF] Lloh69: ldr w8, [x8] tst w8, w20 b.eq LBB0_26 ; %bb.25: ldr x1, [x27, _analop.handle@PAGEOFF] ldr x2, [sp, #8] ldr w3, [x21] mov x0, x19 bl _op_fillval LBB0_26: ldr x0, [sp, #8] mov x1, x25 bl _cs_free LBB0_27: ldr w0, [x19] LBB0_28: 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 Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpAdd Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61 .loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_analop.handle,8,3 ; @analop.handle .section __DATA,__data .p2align 2 ; @analop.omode _analop.omode: .long 4294967295 ; 0xffffffff .p2align 2 ; @analop.obits _analop.obits: .long 32 ; 0x20 .comm _CS_MODE_THUMB,4,2 ; @CS_MODE_THUMB .comm _CS_MODE_ARM,4,2 ; @CS_MODE_ARM .comm _CS_MODE_BIG_ENDIAN,4,2 ; @CS_MODE_BIG_ENDIAN .comm _CS_MODE_LITTLE_ENDIAN,4,2 ; @CS_MODE_LITTLE_ENDIAN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "cortex" .comm _CS_MODE_MCLASS,4,2 ; @CS_MODE_MCLASS .comm _R_ANAL_OP_TYPE_NULL,4,2 ; @R_ANAL_OP_TYPE_NULL .comm _R_ANAL_STACK_NULL,4,2 ; @R_ANAL_STACK_NULL .comm _CS_ARCH_ARM64,4,2 ; @CS_ARCH_ARM64 .comm _CS_ARCH_ARM,4,2 ; @CS_ARCH_ARM .comm _CS_OPT_DETAIL,4,2 ; @CS_OPT_DETAIL .comm _CS_OPT_ON,4,2 ; @CS_OPT_ON .comm _CS_ERR_OK,4,2 ; @CS_ERR_OK .comm _R_ANAL_OP_TYPE_ILL,4,2 ; @R_ANAL_OP_TYPE_ILL .comm _R_ANAL_OP_MASK_DISASM,4,2 ; @R_ANAL_OP_MASK_DISASM l_.str.1: ; @.str.1 .asciz "invalid" l_.str.2: ; @.str.2 .asciz "%s%s%s" l_.str.3: ; @.str.3 .asciz " " l_.str.4: ; @.str.4 .space 1 .comm _R_ANAL_OP_MASK_OPEX,4,2 ; @R_ANAL_OP_MASK_OPEX .comm _R_ANAL_OP_MASK_ESIL,4,2 ; @R_ANAL_OP_MASK_ESIL .comm _R_ANAL_OP_MASK_VAL,4,2 ; @R_ANAL_OP_MASK_VAL .no_dead_strip _analop .subsections_via_symbols
AnghaBench/radare2/libr/anal/p/extr_anal_arm_cs.c_analop.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mt_auxadc_get_cali_data _mt_auxadc_get_cali_data: ## @mt_auxadc_get_cali_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mt_auxadc_get_cali_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mt_auxadc_get_cali_data _mt_auxadc_get_cali_data: ; @mt_auxadc_get_cali_data .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _mt_auxadc_get_cali_data .subsections_via_symbols
AnghaBench/linux/drivers/iio/adc/extr_mt6577_auxadc.c_mt_auxadc_get_cali_data.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sweeplist _sweeplist: ## @sweeplist .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r13d movq %rsi, %r14 movq %rdi, -56(%rbp) ## 8-byte Spill callq _G movq %rax, %r15 movq %rax, %rdi callq _otherwhite movl %eax, -44(%rbp) ## 4-byte Spill movq (%r14), %rbx testq %rbx, %rbx je LBB0_16 ## %bb.1: incl %r13d jmp LBB0_2 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi callq _freeobj LBB0_15: ## in Loop: Header=BB0_2 Depth=1 movq (%r14), %rbx testq %rbx, %rbx je LBB0_16 LBB0_2: ## =>This Inner Loop Header: Depth=1 decl %r13d testl %r13d, %r13d jle LBB0_16 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq (%rbx), %rax movq _LUA_TTHREAD@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi callq _gco2th movq -56(%rbp), %rdi ## 8-byte Reload movq %rax, %rsi callq _sweepwholelist LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq _WHITEBITS@GOTPCREL(%rip), %rax movl (%rax), %r12d xorl 8(%rbx), %r12d movq %r15, %rdi movq %rbx, %rsi callq _isdead testl %r12d, -44(%rbp) ## 4-byte Folded Reload je LBB0_10 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 testq %rax, %rax je LBB0_7 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 movl 8(%rbx), %edi movq _FIXEDBIT@GOTPCREL(%rip), %rax movl (%rax), %esi callq _testbit testq %rax, %rax setne %al jmp LBB0_9 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movb $1, %cl testq %rax, %rax jne LBB0_12 ## %bb.11: ## in Loop: Header=BB0_2 Depth=1 movq _SFIXEDBIT@GOTPCREL(%rip), %rax movl (%rax), %edi callq _bitmask cmpl %eax, -44(%rbp) ## 4-byte Folded Reload sete %cl LBB0_12: ## in Loop: Header=BB0_2 Depth=1 movzbl %cl, %edi callq _lua_assert movq 16(%rbx), %rax movq %rax, (%r14) cmpq (%r15), %rbx jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 movq 16(%rbx), %rax movq %rax, (%r15) jmp LBB0_14 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movb $1, %al LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movzbl %al, %edi callq _lua_assert movq %r15, %rdi movq %rbx, %rsi callq _makewhite addq $16, %rbx movq %rbx, %r14 jmp LBB0_15 LBB0_16: movq %r14, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LUA_TTHREAD,8,3 ## @LUA_TTHREAD .comm _WHITEBITS,4,2 ## @WHITEBITS .comm _FIXEDBIT,4,2 ## @FIXEDBIT .comm _SFIXEDBIT,4,2 ## @SFIXEDBIT .no_dead_strip _sweeplist .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sweeplist _sweeplist: ; @sweeplist .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 x24, x2 mov x23, x1 mov x19, x0 bl _G mov x20, x0 bl _otherwhite ldr x22, [x23] cbz x22, LBB0_16 ; %bb.1: mov x21, x0 add w24, w24, #1 Lloh0: adrp x25, _LUA_TTHREAD@GOTPAGE Lloh1: ldr x25, [x25, _LUA_TTHREAD@GOTPAGEOFF] Lloh2: adrp x26, _WHITEBITS@GOTPAGE Lloh3: ldr x26, [x26, _WHITEBITS@GOTPAGEOFF] Lloh4: adrp x28, _FIXEDBIT@GOTPAGE Lloh5: ldr x28, [x28, _FIXEDBIT@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov x0, x19 mov x1, x22 bl _freeobj ldr x22, [x23] cbz x22, LBB0_16 LBB0_3: ; =>This Inner Loop Header: Depth=1 sub w24, w24, #1 cmp w24, #1 b.lt LBB0_16 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x22] ldr x9, [x25] cmp x8, x9 b.ne LBB0_6 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov x0, x22 bl _gco2th mov x1, x0 mov x0, x19 bl _sweepwholelist LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x22, #8] ldr w9, [x26] eor w8, w9, w8 and w27, w8, w21 mov x0, x20 mov x1, x22 bl _isdead cbz w27, LBB0_9 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 cbz x0, LBB0_11 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [x22, #8] ldr w1, [x28] bl _testbit cmp x0, #0 cset w0, ne b LBB0_12 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 cbz x0, LBB0_13 ; %bb.10: ; in Loop: Header=BB0_3 Depth=1 mov w0, #1 b LBB0_14 LBB0_11: ; in Loop: Header=BB0_3 Depth=1 mov w0, #1 LBB0_12: ; in Loop: Header=BB0_3 Depth=1 bl _lua_assert mov x0, x20 mov x1, x22 bl _makewhite add x23, x22, #16 ldr x22, [x23] cbnz x22, LBB0_3 b LBB0_16 LBB0_13: ; in Loop: Header=BB0_3 Depth=1 Lloh6: adrp x8, _SFIXEDBIT@GOTPAGE Lloh7: ldr x8, [x8, _SFIXEDBIT@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _bitmask cmp w21, w0 cset w0, eq LBB0_14: ; in Loop: Header=BB0_3 Depth=1 bl _lua_assert ldr x8, [x22, #16] str x8, [x23] ldr x8, [x20] cmp x22, x8 b.ne LBB0_2 ; %bb.15: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x22, #16] str x8, [x20] b LBB0_2 LBB0_16: mov x0, x23 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _LUA_TTHREAD,8,3 ; @LUA_TTHREAD .comm _WHITEBITS,4,2 ; @WHITEBITS .comm _FIXEDBIT,4,2 ; @FIXEDBIT .comm _SFIXEDBIT,4,2 ; @SFIXEDBIT .no_dead_strip _sweeplist .subsections_via_symbols
AnghaBench/xLua/build/lua-5.1.5/src/extr_lgc.c_sweeplist.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function radeon_atom_encoder_dpms _radeon_atom_encoder_dpms: ## @radeon_atom_encoder_dpms .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %r12 movq (%rdi), %rax movq (%rax), %r15 callq _to_radeon_encoder movq %rax, %rbx movq %r12, %rdi callq _atombios_get_encoder_mode movl %eax, %r13d movl 8(%rbx), %ecx movl (%rbx), %esi movl 4(%rbx), %r8d leaq L_.str(%rip), %rdi movl %r14d, %edx callq _DRM_DEBUG_KMS movq _radeon_audio@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_4 ## %bb.1: movq _ATOM_ENCODER_MODE_HDMI@GOTPCREL(%rip), %rax cmpl (%rax), %r13d je LBB0_3 ## %bb.2: movl %r13d, %edi callq _ENCODER_MODE_IS_DP testq %rax, %rax je LBB0_4 LBB0_3: movq %r12, %rdi movl %r14d, %esi callq _radeon_audio_dpms LBB0_4: movl (%rbx), %eax addl $-128, %eax cmpl $15, %eax ja LBB0_24 ## %bb.5: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_22: movq %r12, %rdi movl %r14d, %esi callq _radeon_atom_encoder_dpms_avivo jmp LBB0_23 LBB0_15: movq %r15, %rdi callq _ASIC_IS_DCE5 testl %eax, %eax je LBB0_22 ## %bb.16: leal -144(%r14), %eax cmpl $2, %eax jb LBB0_21 ## %bb.17: cmpl $147, %r14d je LBB0_21 ## %bb.18: cmpl $146, %r14d jne LBB0_23 ## %bb.19: movq _ATOM_ENABLE@GOTPCREL(%rip), %rax jmp LBB0_20 LBB0_24: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_6: movq %r15, %rdi callq _ASIC_IS_DCE5 testl %eax, %eax je LBB0_13 ## %bb.7: leal -144(%r14), %eax cmpl $2, %eax jb LBB0_12 ## %bb.8: cmpl $147, %r14d je LBB0_12 ## %bb.9: cmpl $146, %r14d jne LBB0_23 ## %bb.10: movq _ATOM_ENABLE@GOTPCREL(%rip), %rax jmp LBB0_11 LBB0_21: movq _ATOM_DISABLE@GOTPCREL(%rip), %rax LBB0_20: movl (%rax), %esi movq %r12, %rdi callq _atombios_dac_setup jmp LBB0_23 LBB0_13: movq %r15, %rdi callq _ASIC_IS_DCE3 testl %eax, %eax je LBB0_22 LBB0_14: movq %r12, %rdi movl %r14d, %esi callq _radeon_atom_encoder_dpms_dig LBB0_23: xorl %esi, %esi cmpl $146, %r14d sete %sil movq %r12, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _radeon_atombios_encoder_dpms_scratch_regs ## TAILCALL LBB0_12: movq _ATOM_DISABLE@GOTPCREL(%rip), %rax LBB0_11: movl (%rax), %esi movq %r12, %rdi callq _atombios_dvo_setup jmp LBB0_23 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_22, LBB0_22-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 LJTI0_0: .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_14 .long L0_0_set_6 .long L0_0_set_22 .long L0_0_set_15 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_22 .long L0_0_set_15 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "encoder dpms %d to mode %d, devices %08x, active_devices %08x\n" .comm _radeon_audio,8,3 ## @radeon_audio .comm _ATOM_ENCODER_MODE_HDMI,4,2 ## @ATOM_ENCODER_MODE_HDMI .comm _ATOM_ENABLE,4,2 ## @ATOM_ENABLE .comm _ATOM_DISABLE,4,2 ## @ATOM_DISABLE .no_dead_strip _radeon_atom_encoder_dpms .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function radeon_atom_encoder_dpms _radeon_atom_encoder_dpms: ; @radeon_atom_encoder_dpms .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, x1 mov x19, x0 ldr x8, [x0] ldr x21, [x8] bl _to_radeon_encoder mov x22, x0 mov x0, x19 bl _atombios_get_encoder_mode mov x23, x0 ldp w4, w3, [x22, #4] ldr w1, [x22] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x2, x20 bl _DRM_DEBUG_KMS Lloh2: adrp x8, _radeon_audio@GOTPAGE Lloh3: ldr x8, [x8, _radeon_audio@GOTPAGEOFF] Lloh4: ldr x8, [x8] cbz x8, LBB0_4 ; %bb.1: Lloh5: adrp x8, _ATOM_ENCODER_MODE_HDMI@GOTPAGE Lloh6: ldr x8, [x8, _ATOM_ENCODER_MODE_HDMI@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w23, w8 b.eq LBB0_3 ; %bb.2: mov x0, x23 bl _ENCODER_MODE_IS_DP cbz x0, LBB0_4 LBB0_3: mov x0, x19 mov x1, x20 bl _radeon_audio_dpms LBB0_4: ldr w8, [x22] sub w8, w8, #128 cmp w8, #15 b.hi LBB0_12 ; %bb.5: Lloh8: adrp x9, lJTI0_0@PAGE Lloh9: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_6 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_6: mov x0, x19 mov x1, x20 bl _radeon_atom_encoder_dpms_avivo b LBB0_22 LBB0_7: mov x0, x21 bl _ASIC_IS_DCE5 cbz w0, LBB0_6 ; %bb.8: sub w8, w20, #144 cmp w8, #2 b.lo LBB0_18 ; %bb.9: cmp w20, #147 b.eq LBB0_18 ; %bb.10: cmp w20, #146 b.ne LBB0_22 ; %bb.11: Lloh10: adrp x8, _ATOM_ENABLE@GOTPAGE Lloh11: ldr x8, [x8, _ATOM_ENABLE@GOTPAGEOFF] b LBB0_19 LBB0_12: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_13: mov x0, x21 bl _ASIC_IS_DCE5 cbz w0, LBB0_20 ; %bb.14: sub w8, w20, #144 cmp w8, #2 b.lo LBB0_23 ; %bb.15: cmp w20, #147 b.eq LBB0_23 ; %bb.16: cmp w20, #146 b.ne LBB0_22 ; %bb.17: Lloh12: adrp x8, _ATOM_ENABLE@GOTPAGE Lloh13: ldr x8, [x8, _ATOM_ENABLE@GOTPAGEOFF] b LBB0_24 LBB0_18: Lloh14: adrp x8, _ATOM_DISABLE@GOTPAGE Lloh15: ldr x8, [x8, _ATOM_DISABLE@GOTPAGEOFF] LBB0_19: ldr w1, [x8] mov x0, x19 bl _atombios_dac_setup b LBB0_22 LBB0_20: mov x0, x21 bl _ASIC_IS_DCE3 cbz w0, LBB0_6 LBB0_21: mov x0, x19 mov x1, x20 bl _radeon_atom_encoder_dpms_dig LBB0_22: cmp w20, #146 cset w1, eq mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _radeon_atombios_encoder_dpms_scratch_regs LBB0_23: Lloh16: adrp x8, _ATOM_DISABLE@GOTPAGE Lloh17: ldr x8, [x8, _ATOM_DISABLE@GOTPAGEOFF] LBB0_24: ldr w1, [x8] mov x0, x19 bl _atombios_dvo_setup b LBB0_22 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_21-LBB0_6)>>2 .byte (LBB0_21-LBB0_6)>>2 .byte (LBB0_21-LBB0_6)>>2 .byte (LBB0_21-LBB0_6)>>2 .byte (LBB0_6-LBB0_6)>>2 .byte (LBB0_6-LBB0_6)>>2 .byte (LBB0_6-LBB0_6)>>2 .byte (LBB0_6-LBB0_6)>>2 .byte (LBB0_21-LBB0_6)>>2 .byte (LBB0_13-LBB0_6)>>2 .byte (LBB0_6-LBB0_6)>>2 .byte (LBB0_7-LBB0_6)>>2 .byte (LBB0_6-LBB0_6)>>2 .byte (LBB0_6-LBB0_6)>>2 .byte (LBB0_6-LBB0_6)>>2 .byte (LBB0_7-LBB0_6)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "encoder dpms %d to mode %d, devices %08x, active_devices %08x\n" .comm _radeon_audio,8,3 ; @radeon_audio .comm _ATOM_ENCODER_MODE_HDMI,4,2 ; @ATOM_ENCODER_MODE_HDMI .comm _ATOM_ENABLE,4,2 ; @ATOM_ENABLE .comm _ATOM_DISABLE,4,2 ; @ATOM_DISABLE .no_dead_strip _radeon_atom_encoder_dpms .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/radeon/extr_atombios_encoders.c_radeon_atom_encoder_dpms.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rme9652_start _rme9652_start: ## @rme9652_start .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _RME9652_IE@GOTPCREL(%rip), %rax movq _RME9652_start_bit@GOTPCREL(%rip), %rcx movl (%rcx), %edx orl (%rax), %edx orl (%rdi), %edx movl %edx, (%rdi) movq _RME9652_control_register@GOTPCREL(%rip), %rax movl (%rax), %esi popq %rbp jmp _rme9652_write ## TAILCALL .cfi_endproc ## -- End function .comm _RME9652_IE,4,2 ## @RME9652_IE .comm _RME9652_start_bit,4,2 ## @RME9652_start_bit .comm _RME9652_control_register,4,2 ## @RME9652_control_register .no_dead_strip _rme9652_start .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rme9652_start _rme9652_start: ; @rme9652_start .cfi_startproc ; %bb.0: Lloh0: adrp x8, _RME9652_IE@GOTPAGE Lloh1: ldr x8, [x8, _RME9652_IE@GOTPAGEOFF] Lloh2: adrp x9, _RME9652_start_bit@GOTPAGE Lloh3: ldr x9, [x9, _RME9652_start_bit@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: ldr w9, [x9] orr w8, w9, w8 ldr w9, [x0] orr w2, w8, w9 str w2, [x0] Lloh6: adrp x8, _RME9652_control_register@GOTPAGE Lloh7: ldr x8, [x8, _RME9652_control_register@GOTPAGEOFF] Lloh8: ldr w1, [x8] b _rme9652_write .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .cfi_endproc ; -- End function .comm _RME9652_IE,4,2 ; @RME9652_IE .comm _RME9652_start_bit,4,2 ; @RME9652_start_bit .comm _RME9652_control_register,4,2 ; @RME9652_control_register .no_dead_strip _rme9652_start .subsections_via_symbols
AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_rme9652_start.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function on_rack_input_free _on_rack_input_free: ## @on_rack_input_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rcx, %rbx xorl %eax, %eax callq _mrb_nil_value movl %eax, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _on_rack_input_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function on_rack_input_free _on_rack_input_free: ; @on_rack_input_free .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x3 bl _mrb_nil_value str w0, [x19] 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 _on_rack_input_free .subsections_via_symbols
AnghaBench/h2o/lib/handler/extr_mruby.c_on_rack_input_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function opal_set_rtc_time _opal_set_rtc_time: ## @opal_set_rtc_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 %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 movq _OPAL_BUSY@GOTPCREL(%rip), %r14 movq (%r14), %rbx movl $0, -48(%rbp) movl $0, -44(%rbp) leaq -48(%rbp), %rsi leaq -44(%rbp), %rdx callq _tm_to_opal cmpq (%r14), %rbx jne LBB0_14 ## %bb.1: movq _OPAL_BUSY_EVENT@GOTPCREL(%rip), %r15 cmpq (%r15), %rbx jne LBB0_14 ## %bb.2: movl $10, %r13d movq _OPAL_BUSY_DELAY_MS@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -48(%rbp), %edi movl -44(%rbp), %esi callq _opal_rtc_write movq %rax, %rbx cmpq (%r15), %rax jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl (%r12), %edi callq _msleep xorl %edi, %edi callq _opal_poll_events cmpq (%r14), %rbx je LBB0_13 jmp LBB0_14 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 cmpq (%r14), %rbx jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movl (%r12), %edi callq _msleep cmpq (%r14), %rbx je LBB0_13 jmp LBB0_14 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movq _OPAL_HARDWARE@GOTPCREL(%rip), %rax cmpq (%rax), %rbx je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movq _OPAL_INTERNAL_ERROR@GOTPCREL(%rip), %rax cmpq (%rax), %rbx jne LBB0_12 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 testl %r13d, %r13d je LBB0_10 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 decl %r13d movl $10, %edi callq _msleep movq (%r14), %rbx .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 cmpq (%r14), %rbx jne LBB0_14 LBB0_13: ## in Loop: Header=BB0_3 Depth=1 cmpq (%r15), %rbx je LBB0_3 jmp LBB0_14 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 movl $-1, %r13d cmpq (%r14), %rbx je LBB0_13 LBB0_14: movq _OPAL_SUCCESS@GOTPCREL(%rip), %rcx movq _EIO@GOTPCREL(%rip), %rdx xorl %esi, %esi xorl %eax, %eax subl (%rdx), %eax cmpq (%rcx), %rbx cmovel %esi, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _OPAL_BUSY,8,3 ## @OPAL_BUSY .comm _OPAL_BUSY_EVENT,8,3 ## @OPAL_BUSY_EVENT .comm _OPAL_BUSY_DELAY_MS,4,2 ## @OPAL_BUSY_DELAY_MS .comm _OPAL_HARDWARE,8,3 ## @OPAL_HARDWARE .comm _OPAL_INTERNAL_ERROR,8,3 ## @OPAL_INTERNAL_ERROR .comm _OPAL_SUCCESS,8,3 ## @OPAL_SUCCESS .comm _EIO,4,2 ## @EIO .no_dead_strip _opal_set_rtc_time .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function opal_set_rtc_time _opal_set_rtc_time: ; @opal_set_rtc_time .cfi_startproc ; %bb.0: sub sp, sp, #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 x0, x1 Lloh0: adrp x20, _OPAL_BUSY@GOTPAGE Lloh1: ldr x20, [x20, _OPAL_BUSY@GOTPAGEOFF] ldr x19, [x20] str xzr, [sp, #8] add x1, sp, #12 add x2, sp, #8 bl _tm_to_opal ldr x8, [x20] Lloh2: adrp x21, _OPAL_BUSY_EVENT@GOTPAGE Lloh3: ldr x21, [x21, _OPAL_BUSY_EVENT@GOTPAGEOFF] ldr x9, [x21] cmp x19, x8 ccmp x19, x9, #0, eq b.eq LBB0_2 LBB0_1: Lloh4: adrp x8, _OPAL_SUCCESS@GOTPAGE Lloh5: ldr x8, [x8, _OPAL_SUCCESS@GOTPAGEOFF] Lloh6: ldr x8, [x8] Lloh7: adrp x9, _EIO@GOTPAGE Lloh8: ldr x9, [x9, _EIO@GOTPAGEOFF] Lloh9: ldr w9, [x9] cmp x19, x8 csneg w0, wzr, w9, eq 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 LBB0_2: mov w22, #10 ; =0xa Lloh10: adrp x23, _OPAL_BUSY_DELAY_MS@GOTPAGE Lloh11: ldr x23, [x23, _OPAL_BUSY_DELAY_MS@GOTPAGEOFF] Lloh12: adrp x24, _OPAL_HARDWARE@GOTPAGE Lloh13: ldr x24, [x24, _OPAL_HARDWARE@GOTPAGEOFF] Lloh14: adrp x25, _OPAL_INTERNAL_ERROR@GOTPAGE Lloh15: ldr x25, [x25, _OPAL_INTERNAL_ERROR@GOTPAGEOFF] b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x23] bl _msleep mov x0, #0 ; =0x0 bl _opal_poll_events LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x20] ldr x9, [x21] cmp x19, x8 ccmp x19, x9, #0, eq b.ne LBB0_1 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldp w1, w0, [sp, #8] bl _opal_rtc_write mov x19, x0 ldr x8, [x21] cmp x0, x8 b.eq LBB0_3 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x20] cmp x19, x8 b.ne LBB0_8 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x23] bl _msleep b LBB0_4 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x24] ldr x9, [x25] cmp x19, x8 ccmp x19, x9, #4, ne b.ne LBB0_4 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 cbz w22, LBB0_11 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 sub w22, w22, #1 mov w0, #10 ; =0xa bl _msleep ldr x19, [x20] b LBB0_4 LBB0_11: ; in Loop: Header=BB0_5 Depth=1 mov w22, #-1 ; =0xffffffff b LBB0_4 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _OPAL_BUSY,8,3 ; @OPAL_BUSY .comm _OPAL_BUSY_EVENT,8,3 ; @OPAL_BUSY_EVENT .comm _OPAL_BUSY_DELAY_MS,4,2 ; @OPAL_BUSY_DELAY_MS .comm _OPAL_HARDWARE,8,3 ; @OPAL_HARDWARE .comm _OPAL_INTERNAL_ERROR,8,3 ; @OPAL_INTERNAL_ERROR .comm _OPAL_SUCCESS,8,3 ; @OPAL_SUCCESS .comm _EIO,4,2 ; @EIO .no_dead_strip _opal_set_rtc_time .subsections_via_symbols
assembly_file_75506.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tea_setkey _tea_setkey: ## @tea_setkey .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 callq _crypto_tfm_ctx movq %rax, %r14 movl (%rbx), %edi callq _le32_to_cpu movq (%r14), %rcx movq %rax, (%rcx) movl 4(%rbx), %edi callq _le32_to_cpu movq (%r14), %rcx movq %rax, 8(%rcx) movl 8(%rbx), %edi callq _le32_to_cpu movq (%r14), %rcx movq %rax, 16(%rcx) movl 12(%rbx), %edi callq _le32_to_cpu movq (%r14), %rcx movq %rax, 24(%rcx) xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _tea_setkey .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tea_setkey _tea_setkey: ; @tea_setkey .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl _crypto_tfm_ctx mov x20, x0 ldr w0, [x19] bl _le32_to_cpu ldr x8, [x20] str x0, [x8] ldr w0, [x19, #4] bl _le32_to_cpu ldr x8, [x20] str x0, [x8, #8] ldr w0, [x19, #8] bl _le32_to_cpu ldr x8, [x20] str x0, [x8, #16] ldr w0, [x19, #12] bl _le32_to_cpu ldr x8, [x20] str x0, [x8, #24] 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 _tea_setkey .subsections_via_symbols
AnghaBench/linux/crypto/extr_tea.c_tea_setkey.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _font_driver_init_first ## -- Begin function font_driver_init_first .p2align 4, 0x90 _font_driver_init_first: ## @font_driver_init_first .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %ecx, %r9d movq %rsi, %rcx movq %rdi, %rdx movq $0, -24(%rbp) movq $0, -16(%rbp) leaq -24(%rbp), %rdi leaq -16(%rbp), %rsi movss %xmm0, -4(%rbp) ## 4-byte Spill callq _font_init_first testl %eax, %eax je LBB0_1 ## %bb.2: movl $1, %edi movl $24, %esi callq _calloc movq -24(%rbp), %rcx movq %rcx, 16(%rax) movq -16(%rbp), %rcx movq %rcx, 8(%rax) movss -4(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movss %xmm0, (%rax) jmp LBB0_3 LBB0_1: xorl %eax, %eax LBB0_3: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _font_driver_init_first ; -- Begin function font_driver_init_first .p2align 2 _font_driver_init_first: ; @font_driver_init_first .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp d9, d8, [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 b8, -24 .cfi_offset b9, -32 mov x5, x3 fmov s8, s0 mov x3, x1 mov x2, x0 stp xzr, xzr, [sp] add x0, sp, #8 mov x1, sp bl _font_init_first cbz w0, LBB0_2 ; %bb.1: mov w0, #1 mov w1, #24 bl _calloc ldp x9, x8, [sp] stp x9, x8, [x0, #8] str s8, [x0] b LBB0_3 LBB0_2: mov x0, #0 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp d9, d8, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/RetroArch/griffin/extr_..gfxfont_driver.c_font_driver_init_first.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ff_hevc_no_residual_syntax_flag_decode ## -- Begin function ff_hevc_no_residual_syntax_flag_decode .p2align 4, 0x90 _ff_hevc_no_residual_syntax_flag_decode: ## @ff_hevc_no_residual_syntax_flag_decode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _elem_offset@GOTPCREL(%rip), %rax movq (%rax), %rax movq _NO_RESIDUAL_DATA_FLAG@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl (%rax,%rcx,4), %edi popq %rbp jmp _GET_CABAC ## TAILCALL .cfi_endproc ## -- End function .comm _elem_offset,8,3 ## @elem_offset .comm _NO_RESIDUAL_DATA_FLAG,8,3 ## @NO_RESIDUAL_DATA_FLAG .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ff_hevc_no_residual_syntax_flag_decode ; -- Begin function ff_hevc_no_residual_syntax_flag_decode .p2align 2 _ff_hevc_no_residual_syntax_flag_decode: ; @ff_hevc_no_residual_syntax_flag_decode .cfi_startproc ; %bb.0: Lloh0: adrp x8, _elem_offset@GOTPAGE Lloh1: ldr x8, [x8, _elem_offset@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _NO_RESIDUAL_DATA_FLAG@GOTPAGE Lloh4: ldr x9, [x9, _NO_RESIDUAL_DATA_FLAG@GOTPAGEOFF] Lloh5: ldr x9, [x9] ldr w0, [x8, x9, lsl #2] b _GET_CABAC .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _elem_offset,8,3 ; @elem_offset .comm _NO_RESIDUAL_DATA_FLAG,8,3 ; @NO_RESIDUAL_DATA_FLAG .subsections_via_symbols
AnghaBench/FFmpeg/libavcodec/extr_hevc_cabac.c_ff_hevc_no_residual_syntax_flag_decode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function machfb_copy _machfb_copy: ## @machfb_copy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ENODEV@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ENODEV,4,2 ## @ENODEV .no_dead_strip _machfb_copy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function machfb_copy _machfb_copy: ; @machfb_copy .cfi_startproc ; %bb.0: Lloh0: adrp x8, _ENODEV@GOTPAGE Lloh1: ldr x8, [x8, _ENODEV@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENODEV,4,2 ; @ENODEV .no_dead_strip _machfb_copy .subsections_via_symbols
AnghaBench/freebsd/sys/dev/fb/extr_machfb.c_machfb_copy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _brcms_c_rateset_bw_mcs_filter ## -- Begin function brcms_c_rateset_bw_mcs_filter .p2align 4, 0x90 _brcms_c_rateset_bw_mcs_filter: ## @brcms_c_rateset_bw_mcs_filter .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _BRCMS_40_MHZ@GOTPCREL(%rip), %rax movl (%rdi), %edi cmpq %rsi, (%rax) jne LBB0_2 ## %bb.1: movl $32, %esi popq %rbp jmp _setbit ## TAILCALL LBB0_2: movl $32, %esi popq %rbp jmp _clrbit ## TAILCALL .cfi_endproc ## -- End function .comm _BRCMS_40_MHZ,8,3 ## @BRCMS_40_MHZ .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _brcms_c_rateset_bw_mcs_filter ; -- Begin function brcms_c_rateset_bw_mcs_filter .p2align 2 _brcms_c_rateset_bw_mcs_filter: ; @brcms_c_rateset_bw_mcs_filter .cfi_startproc ; %bb.0: Lloh0: adrp x8, _BRCMS_40_MHZ@GOTPAGE Lloh1: ldr x8, [x8, _BRCMS_40_MHZ@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w0, [x0] cmp x8, x1 b.ne LBB0_2 ; %bb.1: mov w1, #32 b _setbit LBB0_2: mov w1, #32 b _clrbit .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _BRCMS_40_MHZ,8,3 ; @BRCMS_40_MHZ .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_rate.c_brcms_c_rateset_bw_mcs_filter.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function writecache_wait_on_freelist _writecache_wait_on_freelist: ## @writecache_wait_on_freelist .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 _wait@GOTPCREL(%rip), %r14 movl (%r14), %edi callq _DEFINE_WAIT movq _TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi movq %r14, %rsi callq _prepare_to_wait movq %rbx, %rdi callq _wc_unlock xorl %eax, %eax callq _io_schedule movq %rbx, %rdi movq %r14, %rsi callq _finish_wait movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _wc_lock ## TAILCALL .cfi_endproc ## -- End function .comm _wait,4,2 ## @wait .comm _TASK_UNINTERRUPTIBLE,4,2 ## @TASK_UNINTERRUPTIBLE .no_dead_strip _writecache_wait_on_freelist .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function writecache_wait_on_freelist _writecache_wait_on_freelist: ; @writecache_wait_on_freelist .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x20, _wait@GOTPAGE Lloh1: ldr x20, [x20, _wait@GOTPAGEOFF] ldr w0, [x20] bl _DEFINE_WAIT Lloh2: adrp x8, _TASK_UNINTERRUPTIBLE@GOTPAGE Lloh3: ldr x8, [x8, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF] Lloh4: ldr w2, [x8] mov x0, x19 mov x1, x20 bl _prepare_to_wait mov x0, x19 bl _wc_unlock bl _io_schedule mov x0, x19 mov x1, x20 bl _finish_wait mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _wc_lock .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _wait,4,2 ; @wait .comm _TASK_UNINTERRUPTIBLE,4,2 ; @TASK_UNINTERRUPTIBLE .no_dead_strip _writecache_wait_on_freelist .subsections_via_symbols
AnghaBench/linux/drivers/md/extr_dm-writecache.c_writecache_wait_on_freelist.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 movl $-1, -4(%rbp) cmpl $0, -4(%rbp) jns LBB0_1 ## %bb.2: movl $536870911, -4(%rbp) ## imm = 0x1FFFFFFF movl $-268435456, %eax ## imm = 0xF0000000 andl -4(%rbp), %eax cmpl $268435456, %eax ## imm = 0x10000000 jne LBB0_3 ## %bb.4: movl $134217723, -4(%rbp) ## imm = 0x7FFFFFB movl $-67108864, %eax ## imm = 0xFC000000 andl -4(%rbp), %eax cmpl $67108864, %eax ## imm = 0x4000000 jne LBB0_5 LBB0_6: xorl %eax, %eax addq $16, %rsp popq %rbp retq LBB0_1: callq _main.cold.1 jmp LBB0_6 LBB0_3: callq _main.cold.3 jmp LBB0_6 LBB0_5: callq _main.cold.2 jmp LBB0_6 .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.1 _main.cold.1: ## @main.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L___func__.main(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rcx pushq $5 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.2 _main.cold.2: ## @main.cold.2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L___func__.main(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.3(%rip), %rcx pushq $9 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.3 _main.cold.3: ## @main.cold.3 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L___func__.main(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.2(%rip), %rcx pushq $7 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L___func__.main: ## @__func__.main .asciz "main" L_.str: ## @.str .asciz "150144492.c" L_.str.1: ## @.str.1 .asciz "__builtin_clz(value) == 0" L_.str.2: ## @.str.2 .asciz "__builtin_clz(value) == 3" L_.str.3: ## @.str.3 .asciz "__builtin_clz(value) == 5" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #-1 stur w8, [x29, #-4] ldur w8, [x29, #-4] tbz w8, #31, LBB0_4 ; %bb.1: mov w8, #536870911 stur w8, [x29, #-4] ldur w8, [x29, #-4] lsr w8, w8, #28 cmp w8, #1 b.ne LBB0_5 ; %bb.2: mov w8, #65531 movk w8, #2047, lsl #16 stur w8, [x29, #-4] ldur w8, [x29, #-4] lsr w8, w8, #26 cmp w8, #1 b.ne LBB0_6 ; %bb.3: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret LBB0_4: bl _main.cold.1 LBB0_5: bl _main.cold.3 LBB0_6: bl _main.cold.2 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.1 _main.cold.1: ; @main.cold.1 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l___func__.main@PAGE Lloh1: add x0, x0, l___func__.main@PAGEOFF Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF Lloh4: adrp x3, l_.str.1@PAGE Lloh5: add x3, x3, l_.str.1@PAGEOFF mov w2, #5 bl ___assert_rtn .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.2 _main.cold.2: ; @main.cold.2 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh6: adrp x0, l___func__.main@PAGE Lloh7: add x0, x0, l___func__.main@PAGEOFF Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF Lloh10: adrp x3, l_.str.3@PAGE Lloh11: add x3, x3, l_.str.3@PAGEOFF mov w2, #9 bl ___assert_rtn .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.3 _main.cold.3: ; @main.cold.3 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh12: adrp x0, l___func__.main@PAGE Lloh13: add x0, x0, l___func__.main@PAGEOFF Lloh14: adrp x1, l_.str@PAGE Lloh15: add x1, x1, l_.str@PAGEOFF Lloh16: adrp x3, l_.str.2@PAGE Lloh17: add x3, x3, l_.str.2@PAGEOFF mov w2, #7 bl ___assert_rtn .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l___func__.main: ; @__func__.main .asciz "main" l_.str: ; @.str .asciz "150144492.c" l_.str.1: ; @.str.1 .asciz "__builtin_clz(value) == 0" l_.str.2: ; @.str.2 .asciz "__builtin_clz(value) == 3" l_.str.3: ; @.str.3 .asciz "__builtin_clz(value) == 5" .subsections_via_symbols
the_stack_data/150144492.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ext2fs_dir_block_csum_set ## -- Begin function ext2fs_dir_block_csum_set .p2align 4, 0x90 _ext2fs_dir_block_csum_set: ## @ext2fs_dir_block_csum_set .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movl %esi, %r15d movq %rdi, %rbx movl 4(%rdi), %edi callq _ext2fs_has_feature_metadata_csum testl %eax, %eax je LBB0_1 ## %bb.2: movq %rbx, %rdi movq %r14, %rsi xorl %edx, %edx movl $1, %ecx callq ___get_dirent_tail testq %rax, %rax je LBB0_7 ## %bb.3: xorl %r12d, %r12d movq %rbx, %rdi movq %r14, %rsi xorl %edx, %edx xorl %ecx, %ecx movl $1, %r8d callq ___get_dx_countlimit testq %rax, %rax je LBB0_8 ## %bb.4: movq _EXT2_FLAG_IGNORE_CSUM_ERRORS@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rbx) jne LBB0_6 ## %bb.5: movq _EXT2_ET_DIR_NO_SPACE_FOR_CSUM@GOTPCREL(%rip), %rax movl (%rax), %r12d jmp LBB0_6 LBB0_1: xorl %r12d, %r12d LBB0_6: movl %r12d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq %rbx, %rdi movl %r15d, %esi movq %r14, %rdx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _ext2fs_dirent_csum_set ## TAILCALL LBB0_8: movq %rbx, %rdi movl %r15d, %esi movq %r14, %rdx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _ext2fs_dx_csum_set ## TAILCALL .cfi_endproc ## -- End function .comm _EXT2_FLAG_IGNORE_CSUM_ERRORS,4,2 ## @EXT2_FLAG_IGNORE_CSUM_ERRORS .comm _EXT2_ET_DIR_NO_SPACE_FOR_CSUM,4,2 ## @EXT2_ET_DIR_NO_SPACE_FOR_CSUM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ext2fs_dir_block_csum_set ; -- Begin function ext2fs_dir_block_csum_set .p2align 2 _ext2fs_dir_block_csum_set: ; @ext2fs_dir_block_csum_set .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 ldr w0, [x0, #4] bl _ext2fs_has_feature_metadata_csum cbz w0, LBB0_4 ; %bb.1: mov x0, x21 mov x1, x19 mov x2, #0 mov w3, #1 bl ___get_dirent_tail cbz x0, LBB0_5 ; %bb.2: mov x0, x21 mov x1, x19 mov x2, #0 mov x3, #0 mov w4, #1 bl ___get_dx_countlimit cbz x0, LBB0_6 ; %bb.3: ldr w8, [x21] Lloh0: adrp x9, _EXT2_FLAG_IGNORE_CSUM_ERRORS@GOTPAGE Lloh1: ldr x9, [x9, _EXT2_FLAG_IGNORE_CSUM_ERRORS@GOTPAGEOFF] Lloh2: ldr w9, [x9] Lloh3: adrp x10, _EXT2_ET_DIR_NO_SPACE_FOR_CSUM@GOTPAGE Lloh4: ldr x10, [x10, _EXT2_ET_DIR_NO_SPACE_FOR_CSUM@GOTPAGEOFF] Lloh5: ldr w10, [x10] tst w9, w8 csel w0, w10, wzr, eq LBB0_4: 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_5: mov x0, x21 mov x1, x20 mov x2, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _ext2fs_dirent_csum_set LBB0_6: mov x0, x21 mov x1, x20 mov x2, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _ext2fs_dx_csum_set .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EXT2_FLAG_IGNORE_CSUM_ERRORS,4,2 ; @EXT2_FLAG_IGNORE_CSUM_ERRORS .comm _EXT2_ET_DIR_NO_SPACE_FOR_CSUM,4,2 ; @EXT2_ET_DIR_NO_SPACE_FOR_CSUM .subsections_via_symbols
AnghaBench/rufus/src/ext2fs/extr_csum.c_ext2fs_dir_block_csum_set.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kvmppc_set_pid ## -- Begin function kvmppc_set_pid .p2align 4, 0x90 _kvmppc_set_pid: ## @kvmppc_set_pid .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, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kvmppc_set_pid ; -- Begin function kvmppc_set_pid .p2align 2 _kvmppc_set_pid: ; @kvmppc_set_pid .cfi_startproc ; %bb.0: str w1, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/arch/powerpc/kvm/extr_e500mc.c_kvmppc_set_pid.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vec_mult ## -- Begin function vec_mult .p2align 4, 0x90 _vec_mult: ## @vec_mult .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %r14d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl %edi, %r13d leaq (,%r13,4), %rbx movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rbx movq %r12, %rdi movq %rbx, %rsi movl %r14d, %edx callq _init testl %r14d, %r14d jle LBB0_11 ## %bb.1: cmpl $8, %r14d jae LBB0_3 ## %bb.2: xorl %eax, %eax jmp LBB0_10 LBB0_3: movl %r13d, %eax andl $-8, %eax leaq -8(%rax), %rcx movq %rcx, %rdx shrq $3, %rdx incq %rdx testq %rcx, %rcx je LBB0_4 ## %bb.5: movq %rdx, %rsi andq $-2, %rsi xorl %ecx, %ecx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movaps (%r12,%rcx,4), %xmm0 movaps 16(%r12,%rcx,4), %xmm1 mulps (%rbx,%rcx,4), %xmm0 mulps 16(%rbx,%rcx,4), %xmm1 movaps %xmm0, (%r15,%rcx,4) movaps %xmm1, 16(%r15,%rcx,4) movaps 32(%r12,%rcx,4), %xmm0 movaps 48(%r12,%rcx,4), %xmm1 mulps 32(%rbx,%rcx,4), %xmm0 mulps 48(%rbx,%rcx,4), %xmm1 movaps %xmm0, 32(%r15,%rcx,4) movaps %xmm1, 48(%r15,%rcx,4) addq $16, %rcx addq $-2, %rsi jne LBB0_6 ## %bb.7: testb $1, %dl je LBB0_9 LBB0_8: movaps (%r12,%rcx,4), %xmm0 movaps 16(%r12,%rcx,4), %xmm1 mulps (%rbx,%rcx,4), %xmm0 mulps 16(%rbx,%rcx,4), %xmm1 movaps %xmm0, (%r15,%rcx,4) movaps %xmm1, 16(%r15,%rcx,4) LBB0_9: cmpq %r13, %rax je LBB0_11 .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movss (%r12,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss (%rbx,%rax,4), %xmm0 movss %xmm0, (%r15,%rax,4) incq %rax cmpq %rax, %r13 jne LBB0_10 LBB0_11: movq %r15, %rdi movl %r14d, %esi callq _output movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_13 ## %bb.12: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: xorl %ecx, %ecx testb $1, %dl jne LBB0_8 jmp LBB0_9 LBB0_13: callq ___stack_chk_fail .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vec_mult ; -- Begin function vec_mult .p2align 2 _vec_mult: ; @vec_mult .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 sub sp, sp, #16 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] mov w23, w0 lsl x8, x23, #2 mov x9, x8 Lloh3: adrp x16, ___chkstk_darwin@GOTPAGE Lloh4: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x10, x8, #15 and x12, x10, #0x7fffffff0 sub x20, x9, x12 mov sp, x20 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x21, x9, x12 mov sp, x21 mov x9, x8 Lloh7: adrp x16, ___chkstk_darwin@GOTPAGE Lloh8: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp sub x22, x8, x12 mov sp, x22 mov x0, x21 mov x1, x22 mov x2, x19 bl _init cmp w19, #1 b.lt LBB0_8 ; %bb.1: cmp w19, #16 b.hs LBB0_3 ; %bb.2: mov x8, #0 b LBB0_6 LBB0_3: and x8, x23, #0xfffffff0 add x9, x20, #32 add x10, x21, #32 add x11, x22, #32 mov x12, x8 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldp q0, q1, [x10, #-32] ldp q2, q3, [x10], #64 ldp q4, q5, [x11, #-32] ldp q6, q7, [x11], #64 fmul.4s v0, v0, v4 fmul.4s v1, v1, v5 fmul.4s v2, v2, v6 fmul.4s v3, v3, v7 stp q0, q1, [x9, #-32] stp q2, q3, [x9], #64 subs x12, x12, #16 b.ne LBB0_4 ; %bb.5: cmp x8, x23 b.eq LBB0_8 LBB0_6: lsl x11, x8, #2 add x9, x20, x11 add x10, x22, x11 add x11, x21, x11 sub x8, x23, x8 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr s0, [x11], #4 ldr s1, [x10], #4 fmul s0, s0, s1 str s0, [x9], #4 subs x8, x8, #1 b.ne LBB0_7 LBB0_8: mov x0, x20 mov x1, x19 bl _output ldur x8, [x29, #-56] Lloh9: adrp x9, ___stack_chk_guard@GOTPAGE Lloh10: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x9, x8 b.ne LBB0_10 ; %bb.9: sub sp, x29, #48 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_10: bl ___stack_chk_fail .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/184517285.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _exc_10_16_table ## @exc_10_16_table .p2align 4 _exc_10_16_table: .ascii "\026'\016,\013#\376\027\374\006.\344\r\345\351\f\004\024\373\t%\356\351\027\000\t\372\354\004\377\357\373\374\021\000\001\t\376\001\002\002\364\b\347'\017\t\020\311\365\t\013\005\n\376\304\b\r\372\013\360\033\321\364\013\001\020\371\t\375\343\t\362\031\355\"$\f(\366\375\350\362\333\353\335\376\334\003\372C\034\006\357\375\364\360\361\357\371\305\334\363\001\007\001\002\n\002\013\r\n\b\376\007\003\005\004\002\002\375\370\004\373\006\007\326\017#\376\322&\034\354\367\001\007\375\000\376\000\000\000\000\000\000\000\000\000\000\361\3444 \005\373\357\354\366\377" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _exc_10_16_table ; @exc_10_16_table _exc_10_16_table: .ascii "\026'\016,\013#\376\027\374\006.\344\r\345\351\f\004\024\373\t%\356\351\027\000\t\372\354\004\377\357\373\374\021\000\001\t\376\001\002\002\364\b\347'\017\t\020\311\365\t\013\005\n\376\304\b\r\372\013\360\033\321\364\013\001\020\371\t\375\343\t\362\031\355\"$\f(\366\375\350\362\333\353\335\376\334\003\372C\034\006\357\375\364\360\361\357\371\305\334\363\001\007\001\002\n\002\013\r\n\b\376\007\003\005\004\002\002\375\370\004\373\006\007\326\017#\376\322&\034\354\367\001\007\375\000\376\000\000\000\000\000\000\000\000\000\000\361\3444 \005\373\357\354\366\377" .subsections_via_symbols
the_stack_data/45451472.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pci224_ao_set_data _pci224_ao_set_data: ## @pci224_ao_set_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %ebx movl %edx, %r15d movq %rdi, %r14 movq _devpriv@GOTPCREL(%rip), %r12 movq (%r12), %rax movq (%rax), %rax movslq %esi, %rcx movl %ebx, (%rax,%rcx,4) movl $1, %eax ## kill: def $cl killed $cl killed $rcx shll %cl, %eax movq _PCI224_DACCEN@GOTPCREL(%rip), %rcx movq (%rcx), %rsi addq (%rdi), %rsi movzwl %ax, %edi callq _outw movq (%r12), %rax movzwl 8(%rax), %edi movq 16(%rax), %rax movslq %r15d, %rcx movl (%rax,%rcx,4), %esi movq _PCI224_DACCON_POLAR_MASK@GOTPCREL(%rip), %r15 movq _PCI224_DACCON_VREF_MASK@GOTPCREL(%rip), %rax movl (%rax), %edx orl (%r15), %edx callq _COMBINE movq (%r12), %rcx movw %ax, 8(%rcx) movq _PCI224_DACCON_FIFORESET@GOTPCREL(%rip), %rcx orw (%rcx), %ax movq _PCI224_DACCON@GOTPCREL(%rip), %rcx movq (%rcx), %rsi addq (%r14), %rsi movzwl %ax, %edi callq _outw movq _thisboard@GOTPCREL(%rip), %rax movq (%rax), %rax movb $16, %cl subb (%rax), %cl shll %cl, %ebx movq (%r12), %rax movzwl 8(%rax), %eax andl (%r15), %eax movq _PCI224_DACCON_POLAR_BI@GOTPCREL(%rip), %rcx movl %ebx, %edx xorl $-32768, %edx ## imm = 0x8000 cmpl (%rcx), %eax cmovnel %ebx, %edx movq _PCI224_DACDATA@GOTPCREL(%rip), %rax movq (%rax), %rsi addq (%r14), %rsi movzwl %dx, %edi callq _outw movq _PCI224_SOFTTRIG@GOTPCREL(%rip), %rax movq (%rax), %rdi addq (%r14), %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _inw ## TAILCALL .cfi_endproc ## -- End function .comm _devpriv,8,3 ## @devpriv .comm _PCI224_DACCEN,8,3 ## @PCI224_DACCEN .comm _PCI224_DACCON_POLAR_MASK,4,2 ## @PCI224_DACCON_POLAR_MASK .comm _PCI224_DACCON_VREF_MASK,4,2 ## @PCI224_DACCON_VREF_MASK .comm _PCI224_DACCON_FIFORESET,2,1 ## @PCI224_DACCON_FIFORESET .comm _PCI224_DACCON,8,3 ## @PCI224_DACCON .comm _thisboard,8,3 ## @thisboard .comm _PCI224_DACCON_POLAR_BI,4,2 ## @PCI224_DACCON_POLAR_BI .comm _PCI224_DACDATA,8,3 ## @PCI224_DACDATA .comm _PCI224_SOFTTRIG,8,3 ## @PCI224_SOFTTRIG .no_dead_strip _pci224_ao_set_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pci224_ao_set_data _pci224_ao_set_data: ; @pci224_ao_set_data .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, x3 mov x21, x2 mov x19, x0 Lloh0: adrp x22, _devpriv@GOTPAGE Lloh1: ldr x22, [x22, _devpriv@GOTPAGEOFF] ldr x8, [x22] ldr x8, [x8] str w3, [x8, w1, sxtw #2] mov w8, #1 lsl w8, w8, w1 ldr x9, [x0] Lloh2: adrp x10, _PCI224_DACCEN@GOTPAGE Lloh3: ldr x10, [x10, _PCI224_DACCEN@GOTPAGEOFF] Lloh4: ldr x10, [x10] add x1, x10, x9 and w0, w8, #0xffff bl _outw ldr x8, [x22] ldr x9, [x8, #16] ldr w1, [x9, w21, sxtw #2] Lloh5: adrp x21, _PCI224_DACCON_POLAR_MASK@GOTPAGE Lloh6: ldr x21, [x21, _PCI224_DACCON_POLAR_MASK@GOTPAGEOFF] ldrh w0, [x8, #8] ldr w8, [x21] Lloh7: adrp x9, _PCI224_DACCON_VREF_MASK@GOTPAGE Lloh8: ldr x9, [x9, _PCI224_DACCON_VREF_MASK@GOTPAGEOFF] Lloh9: ldr w9, [x9] orr w2, w9, w8 bl _COMBINE ldr x8, [x22] strh w0, [x8, #8] Lloh10: adrp x8, _PCI224_DACCON_FIFORESET@GOTPAGE Lloh11: ldr x8, [x8, _PCI224_DACCON_FIFORESET@GOTPAGEOFF] ldrh w8, [x8] orr w8, w8, w0 ldr x9, [x19] Lloh12: adrp x10, _PCI224_DACCON@GOTPAGE Lloh13: ldr x10, [x10, _PCI224_DACCON@GOTPAGEOFF] Lloh14: ldr x10, [x10] add x1, x10, x9 and w0, w8, #0xffff bl _outw Lloh15: adrp x8, _thisboard@GOTPAGE Lloh16: ldr x8, [x8, _thisboard@GOTPAGEOFF] Lloh17: ldr x8, [x8] ldr w8, [x8] mov w9, #16 sub w8, w9, w8 lsl w8, w20, w8 ldr x9, [x22] ldrh w9, [x9, #8] ldr w10, [x21] and w9, w10, w9 Lloh18: adrp x10, _PCI224_DACCON_POLAR_BI@GOTPAGE Lloh19: ldr x10, [x10, _PCI224_DACCON_POLAR_BI@GOTPAGEOFF] Lloh20: ldr w10, [x10] eor w11, w8, #0x8000 cmp w9, w10 csel w8, w11, w8, eq ldr x9, [x19] Lloh21: adrp x10, _PCI224_DACDATA@GOTPAGE Lloh22: ldr x10, [x10, _PCI224_DACDATA@GOTPAGEOFF] Lloh23: ldr x10, [x10] add x1, x10, x9 and w0, w8, #0xffff bl _outw ldr x8, [x19] Lloh24: adrp x9, _PCI224_SOFTTRIG@GOTPAGE Lloh25: ldr x9, [x9, _PCI224_SOFTTRIG@GOTPAGEOFF] Lloh26: ldr x9, [x9] add x0, x9, x8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _inw .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _devpriv,8,3 ; @devpriv .comm _PCI224_DACCEN,8,3 ; @PCI224_DACCEN .comm _PCI224_DACCON_POLAR_MASK,4,2 ; @PCI224_DACCON_POLAR_MASK .comm _PCI224_DACCON_VREF_MASK,4,2 ; @PCI224_DACCON_VREF_MASK .comm _PCI224_DACCON_FIFORESET,2,1 ; @PCI224_DACCON_FIFORESET .comm _PCI224_DACCON,8,3 ; @PCI224_DACCON .comm _thisboard,8,3 ; @thisboard .comm _PCI224_DACCON_POLAR_BI,4,2 ; @PCI224_DACCON_POLAR_BI .comm _PCI224_DACDATA,8,3 ; @PCI224_DACDATA .comm _PCI224_SOFTTRIG,8,3 ; @PCI224_SOFTTRIG .no_dead_strip _pci224_ao_set_data .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_amplc_pci224.c_pci224_ao_set_data.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mlx5e_modify_channels_scatter_fcs _mlx5e_modify_channels_scatter_fcs: ## @mlx5e_modify_channels_scatter_fcs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $0, (%rdi) jle LBB0_5 ## %bb.1: movl %esi, %r14d movq %rdi, %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r15), %rax movq (%rax,%rbx,8), %rdi movl %r14d, %esi callq _mlx5e_modify_rq_scatter_fcs testl %eax, %eax jne LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 incq %rbx movslq (%r15), %rax cmpq %rax, %rbx jl LBB0_2 LBB0_5: xorl %eax, %eax LBB0_6: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mlx5e_modify_channels_scatter_fcs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mlx5e_modify_channels_scatter_fcs _mlx5e_modify_channels_scatter_fcs: ; @mlx5e_modify_channels_scatter_fcs .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr w8, [x0] cmp w8, #1 b.lt LBB0_4 ; %bb.1: mov x19, x1 mov x20, x0 mov x21, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #8] ldr x0, [x8, x21, lsl #3] mov x1, x19 bl _mlx5e_modify_rq_scatter_fcs cbnz w0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x21, x21, #1 ldrsw x8, [x20] cmp x21, x8 b.lt 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 .no_dead_strip _mlx5e_modify_channels_scatter_fcs .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_main.c_mlx5e_modify_channels_scatter_fcs.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _isamax_ ## -- Begin function isamax_ .p2align 4, 0x90 _isamax_: ## @isamax_ .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r12 movl (%rdi), %eax testl %eax, %eax jle LBB0_1 ## %bb.3: movl $1, %r14d cmpl $1, %eax je LBB0_16 ## %bb.4: movl (%r15), %eax jmp LBB0_5 LBB0_1: movl (%r15), %eax testl %eax, %eax jle LBB0_2 LBB0_5: cmpl $1, %eax jne LBB0_6 ## %bb.11: movq 16(%rbx), %rdi callq _dabs movq %rax, _isamax_.smax(%rip) movl (%r12), %r15d movl $2, _isamax_.i__(%rip) movl $1, %r14d cmpl $2, %r15d jl LBB0_16 ## %bb.12: movl $2, %eax movl $1, %r14d jmp LBB0_13 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_13 Depth=1 movl _isamax_.i__(%rip), %ecx leal 1(%rcx), %eax movl %eax, _isamax_.i__(%rip) cmpl %r15d, %ecx jge LBB0_16 LBB0_13: ## =>This Inner Loop Header: Depth=1 cltq movq 8(%rbx,%rax,8), %rdi callq _dabs cmpq _isamax_.smax(%rip), %rax jle LBB0_15 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movslq _isamax_.i__(%rip), %r14 movq 8(%rbx,%r14,8), %rdi callq _dabs movq %rax, _isamax_.smax(%rip) jmp LBB0_15 LBB0_6: movl $1, _isamax_.ix(%rip) movq 16(%rbx), %rdi callq _dabs movq %rax, _isamax_.smax(%rip) movl _isamax_.ix(%rip), %eax addl (%r15), %eax movl %eax, _isamax_.ix(%rip) movl (%r12), %r12d movl $2, _isamax_.i__(%rip) movl $1, %r14d cmpl $2, %r12d jl LBB0_16 ## %bb.7: movl $1, %r14d jmp LBB0_8 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_8 Depth=1 movl _isamax_.ix(%rip), %eax addl (%r15), %eax movl %eax, _isamax_.ix(%rip) movl _isamax_.i__(%rip), %ecx leal 1(%rcx), %edx movl %edx, _isamax_.i__(%rip) cmpl %r12d, %ecx jge LBB0_16 LBB0_8: ## =>This Inner Loop Header: Depth=1 cltq movq 8(%rbx,%rax,8), %rdi callq _dabs cmpq _isamax_.smax(%rip), %rax jle LBB0_10 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movl _isamax_.i__(%rip), %r14d movslq _isamax_.ix(%rip), %rax movq 8(%rbx,%rax,8), %rdi callq _dabs movq %rax, _isamax_.smax(%rip) jmp LBB0_10 LBB0_2: xorl %r14d, %r14d LBB0_16: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_isamax_.i__,4,2 ## @isamax_.i__ .zerofill __DATA,__bss,_isamax_.ix,4,2 ## @isamax_.ix .zerofill __DATA,__bss,_isamax_.smax,8,3 ## @isamax_.smax .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _isamax_ ; -- Begin function isamax_ .p2align 2 _isamax_: ; @isamax_ .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x2 mov x21, x0 ldr w8, [x0] cmp w8, #0 b.le LBB0_3 ; %bb.1: cmp w8, #1 b.ne LBB0_5 ; %bb.2: mov w19, #1 ; =0x1 b LBB0_12 LBB0_3: ldr w8, [x20] cmp w8, #1 b.ge LBB0_6 ; %bb.4: mov w19, #0 ; =0x0 b LBB0_12 LBB0_5: ldr w8, [x20] LBB0_6: add x22, x1, #8 cmp w8, #1 b.ne LBB0_11 ; %bb.7: ldr x0, [x1, #16] bl _dabs adrp x20, _isamax_.smax@PAGE str x0, [x20, _isamax_.smax@PAGEOFF] ldr w21, [x21] mov w8, #2 ; =0x2 adrp x23, _isamax_.i__@PAGE str w8, [x23, _isamax_.i__@PAGEOFF] mov w19, #1 ; =0x1 cmp w21, #2 b.ge LBB0_9 b LBB0_12 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 ldr w9, [x23, _isamax_.i__@PAGEOFF] add w8, w9, #1 str w8, [x23, _isamax_.i__@PAGEOFF] cmp w9, w21 b.ge LBB0_12 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr x0, [x22, w8, sxtw #3] bl _dabs ldr x8, [x20, _isamax_.smax@PAGEOFF] cmp x0, x8 b.le LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldrsw x19, [x23, _isamax_.i__@PAGEOFF] ldr x0, [x22, x19, lsl #3] bl _dabs str x0, [x20, _isamax_.smax@PAGEOFF] b LBB0_8 LBB0_11: mov w19, #1 ; =0x1 adrp x23, _isamax_.ix@PAGE str w19, [x23, _isamax_.ix@PAGEOFF] ldr x0, [x1, #16] bl _dabs adrp x24, _isamax_.smax@PAGE str x0, [x24, _isamax_.smax@PAGEOFF] ldr w8, [x20] ldr w9, [x23, _isamax_.ix@PAGEOFF] add w8, w9, w8 str w8, [x23, _isamax_.ix@PAGEOFF] ldr w21, [x21] mov w9, #2 ; =0x2 adrp x25, _isamax_.i__@PAGE str w9, [x25, _isamax_.i__@PAGEOFF] cmp w21, #2 b.ge LBB0_13 LBB0_12: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_13: mov w19, #1 ; =0x1 b LBB0_15 LBB0_14: ; in Loop: Header=BB0_15 Depth=1 ldr w8, [x20] ldr w9, [x23, _isamax_.ix@PAGEOFF] add w8, w9, w8 str w8, [x23, _isamax_.ix@PAGEOFF] ldr w9, [x25, _isamax_.i__@PAGEOFF] add w10, w9, #1 str w10, [x25, _isamax_.i__@PAGEOFF] cmp w9, w21 b.ge LBB0_12 LBB0_15: ; =>This Inner Loop Header: Depth=1 ldr x0, [x22, w8, sxtw #3] bl _dabs ldr x8, [x24, _isamax_.smax@PAGEOFF] cmp x0, x8 b.le LBB0_14 ; %bb.16: ; in Loop: Header=BB0_15 Depth=1 ldr w19, [x25, _isamax_.i__@PAGEOFF] ldrsw x8, [x23, _isamax_.ix@PAGEOFF] ldr x0, [x22, x8, lsl #3] bl _dabs str x0, [x24, _isamax_.smax@PAGEOFF] b LBB0_14 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_isamax_.i__,4,2 ; @isamax_.i__ .zerofill __DATA,__bss,_isamax_.ix,4,2 ; @isamax_.ix .zerofill __DATA,__bss,_isamax_.smax,8,3 ; @isamax_.smax .subsections_via_symbols
assembly_file_138278.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function grab_tail_page _grab_tail_page: ## @grab_tail_page .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), %rax movq 8(%rdi), %rcx movq (%rcx), %r12 movq _PAGE_SIZE@GOTPCREL(%rip), %rcx movslq (%rcx), %r15 decq %r15 andq %rax, %r15 leaq -1(%r12), %rcx testq %r15, %rcx je LBB0_1 ## %bb.3: movq %rdx, %r14 movq %rdi, %r13 movq %rsi, -64(%rbp) ## 8-byte Spill decl %eax movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl sarl %cl, %eax movslq %eax, %rsi movl 16(%rdi), %edi callq _grab_cache_page testq %rax, %rax je LBB0_4 ## %bb.5: movq %rax, %rbx movq %r15, %rax orq %r12, %rax shrq $32, %rax movq %r14, -56(%rbp) ## 8-byte Spill je LBB0_6 ## %bb.7: movq %r15, %rax xorl %edx, %edx divq %r12 jmp LBB0_8 LBB0_1: movq _ENOENT@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_4: movq _ENOMEM@GOTPCREL(%rip), %rax LBB0_2: xorl %r14d, %r14d subl (%rax), %r14d jmp LBB0_16 LBB0_6: movl %r15d, %eax xorl %edx, %edx divl %r12d ## kill: def $edx killed $edx def $rdx LBB0_8: subq %rdx, %r15 movq _reiserfs_get_block_create_0@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi movq %r15, %rsi callq ___block_write_begin movl %eax, %r14d testl %eax, %eax je LBB0_9 LBB0_15: movq %rbx, %rdi callq _unlock_page movq %rbx, %rdi callq _put_page jmp LBB0_16 LBB0_9: movq -64(%rbp), %r14 ## 8-byte Reload movq %rbx, -48(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _page_buffers movq %r12, %rcx negq %rcx movq %rax, %rbx .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 addq %r12, %rcx cmpq %r15, %rcx jae LBB0_13 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 movq 8(%rbx), %rbx cmpq %rax, %rbx jne LBB0_10 ## %bb.12: movq %rax, %rbx LBB0_13: movq %rbx, %rdi callq _buffer_uptodate testl %eax, %eax je LBB0_14 ## %bb.17: movq -56(%rbp), %rax ## 8-byte Reload movq %rbx, (%rax) movq -48(%rbp), %rax ## 8-byte Reload movq %rax, (%r14) xorl %r14d, %r14d LBB0_16: movl %r14d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_14: movq 8(%r13), %rdi movl (%rbx), %ecx leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rdx callq _reiserfs_error movq _EIO@GOTPCREL(%rip), %rax xorl %r14d, %r14d subl (%rax), %r14d movq -48(%rbp), %rbx ## 8-byte Reload jmp LBB0_15 .cfi_endproc ## -- End function .comm _PAGE_SHIFT,4,2 ## @PAGE_SHIFT .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .comm _ENOENT,4,2 ## @ENOENT .comm _ENOMEM,4,2 ## @ENOMEM .comm _reiserfs_get_block_create_0,4,2 ## @reiserfs_get_block_create_0 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "clm-6000" L_.str.1: ## @.str.1 .asciz "error reading block %lu" .comm _EIO,4,2 ## @EIO .no_dead_strip _grab_tail_page .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function grab_tail_page _grab_tail_page: ; @grab_tail_page .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 ldrsw x8, [x0] ldr x9, [x0, #8] Lloh0: adrp x10, _PAGE_SIZE@GOTPAGE Lloh1: ldr x10, [x10, _PAGE_SIZE@GOTPAGEOFF] ldr x26, [x9] Lloh2: ldrsw x9, [x10] sub x9, x9, #1 and x24, x9, x8 sub x9, x26, #1 tst x9, x24 b.eq LBB0_4 ; %bb.1: mov x20, x2 mov x19, x1 mov x21, x0 sub w8, w8, #1 Lloh3: adrp x9, _PAGE_SHIFT@GOTPAGE Lloh4: ldr x9, [x9, _PAGE_SHIFT@GOTPAGEOFF] Lloh5: ldr w9, [x9] asr w8, w8, w9 sxtw x1, w8 ldr w0, [x0, #16] bl _grab_cache_page cbz x0, LBB0_5 ; %bb.2: mov x22, x0 udiv x8, x24, x26 mul x23, x8, x26 sub x2, x24, x23 Lloh6: adrp x8, _reiserfs_get_block_create_0@GOTPAGE Lloh7: ldr x8, [x8, _reiserfs_get_block_create_0@GOTPAGEOFF] Lloh8: ldr w3, [x8] mov x1, x23 bl ___block_write_begin mov x24, x0 cbz w0, LBB0_8 LBB0_3: mov x0, x22 bl _unlock_page mov x0, x22 bl _put_page b LBB0_7 LBB0_4: Lloh9: adrp x8, _ENOENT@GOTPAGE Lloh10: ldr x8, [x8, _ENOENT@GOTPAGEOFF] b LBB0_6 LBB0_5: Lloh11: adrp x8, _ENOMEM@GOTPAGE Lloh12: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_6: ldr w8, [x8] neg w24, w8 LBB0_7: mov x0, 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 ret LBB0_8: mov x0, x22 bl _page_buffers neg x8, x26 mov x25, x0 LBB0_9: ; =>This Inner Loop Header: Depth=1 add x8, x8, x26 cmp x8, x23 b.hs LBB0_12 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldr x25, [x25, #8] cmp x25, x0 b.ne LBB0_9 ; %bb.11: mov x25, x0 LBB0_12: mov x0, x25 bl _buffer_uptodate cbz w0, LBB0_14 ; %bb.13: mov w24, #0 str x25, [x20] str x22, [x19] b LBB0_7 LBB0_14: ldr x0, [x21, #8] ldr w3, [x25] Lloh13: adrp x1, l_.str@PAGE Lloh14: add x1, x1, l_.str@PAGEOFF Lloh15: adrp x2, l_.str.1@PAGE Lloh16: add x2, x2, l_.str.1@PAGEOFF bl _reiserfs_error Lloh17: adrp x8, _EIO@GOTPAGE Lloh18: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh19: ldr w8, [x8] neg w24, w8 b LBB0_3 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _PAGE_SHIFT,4,2 ; @PAGE_SHIFT .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .comm _ENOENT,4,2 ; @ENOENT .comm _ENOMEM,4,2 ; @ENOMEM .comm _reiserfs_get_block_create_0,4,2 ; @reiserfs_get_block_create_0 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "clm-6000" l_.str.1: ; @.str.1 .asciz "error reading block %lu" .comm _EIO,4,2 ; @EIO .no_dead_strip _grab_tail_page .subsections_via_symbols
AnghaBench/linux/fs/reiserfs/extr_inode.c_grab_tail_page.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function get_access _get_access: ## @get_access .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 %rcx, %rbx movq %rdx, %r8 movq %rsi, %rcx movq _SVN_CONFIG_SECTION_GENERAL@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -16(%rbp), %rsi callq _svn_config_get movq -16(%rbp), %rdi leaq L_.str(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_1 ## %bb.2: movq -16(%rbp), %rdi leaq L_.str.1(%rip), %rsi callq _strcmp movq %rax, %rcx movq _READ_ACCESS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, %edx testq %rcx, %rcx je LBB0_4 ## %bb.3: movq _NO_ACCESS@GOTPCREL(%rip), %rcx movl (%rcx), %edx LBB0_4: movq _WRITE_ACCESS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx jmp LBB0_5 LBB0_1: movq _WRITE_ACCESS@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _READ_ACCESS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %ecx, %edx LBB0_5: cmpl %ecx, %edx cmovnel %edx, %eax testq %rbx, %rbx cmovel %edx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _SVN_CONFIG_SECTION_GENERAL,4,2 ## @SVN_CONFIG_SECTION_GENERAL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "write" .comm _WRITE_ACCESS,4,2 ## @WRITE_ACCESS L_.str.1: ## @.str.1 .asciz "read" .comm _READ_ACCESS,4,2 ## @READ_ACCESS .comm _NO_ACCESS,4,2 ## @NO_ACCESS .no_dead_strip _get_access .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_access _get_access: ; @get_access .cfi_startproc ; %bb.0: sub sp, sp, #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, x3 mov x4, x2 mov x3, x1 Lloh0: adrp x8, _SVN_CONFIG_SECTION_GENERAL@GOTPAGE Lloh1: ldr x8, [x8, _SVN_CONFIG_SECTION_GENERAL@GOTPAGEOFF] Lloh2: ldr w2, [x8] add x1, sp, #8 bl _svn_config_get ldr x0, [sp, #8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _strcmp cbz x0, LBB0_2 ; %bb.1: ldr x0, [sp, #8] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF bl _strcmp Lloh7: adrp x8, _READ_ACCESS@GOTPAGE Lloh8: ldr x8, [x8, _READ_ACCESS@GOTPAGEOFF] Lloh9: ldr w8, [x8] Lloh10: adrp x9, _NO_ACCESS@GOTPAGE Lloh11: ldr x9, [x9, _NO_ACCESS@GOTPAGEOFF] Lloh12: ldr w9, [x9] cmp x0, #0 csel w10, w8, w9, eq Lloh13: adrp x9, _WRITE_ACCESS@GOTPAGE Lloh14: ldr x9, [x9, _WRITE_ACCESS@GOTPAGEOFF] Lloh15: ldr w9, [x9] b LBB0_3 LBB0_2: Lloh16: adrp x8, _WRITE_ACCESS@GOTPAGE Lloh17: ldr x8, [x8, _WRITE_ACCESS@GOTPAGEOFF] Lloh18: ldr w9, [x8] Lloh19: adrp x8, _READ_ACCESS@GOTPAGE Lloh20: ldr x8, [x8, _READ_ACCESS@GOTPAGEOFF] Lloh21: ldr w8, [x8] mov x10, x9 LBB0_3: cmp w10, w9 ccmp x19, #0, #4, eq csel w0, w8, w10, ne 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 Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _SVN_CONFIG_SECTION_GENERAL,4,2 ; @SVN_CONFIG_SECTION_GENERAL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "write" .comm _WRITE_ACCESS,4,2 ; @WRITE_ACCESS l_.str.1: ; @.str.1 .asciz "read" .comm _READ_ACCESS,4,2 ; @READ_ACCESS .comm _NO_ACCESS,4,2 ; @NO_ACCESS .no_dead_strip _get_access .subsections_via_symbols
assembly_file_160150.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _error ## -- Begin function error .p2align 4, 0x90 _error: ## @error .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _perror xorl %edi, %edi callq _exit .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 $1048, %rsp ## imm = 0x418 .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) cmpl $3, %edi jne LBB1_1 ## %bb.2: movq 8(%rsi), %r15 movq 16(%rsi), %rdi callq _atoi movl %eax, %ebx movl $2, %edi movl $1, %esi xorl %edx, %edx callq _socket testl %eax, %eax js LBB1_3 ## %bb.6: movl %eax, %r14d movq %r15, %rdi callq _gethostbyname testq %rax, %rax je LBB1_7 ## %bb.9: xorps %xmm0, %xmm0 movaps %xmm0, -48(%rbp) movb $2, -47(%rbp) leaq -44(%rbp), %rdi movq 24(%rax), %rcx movq (%rcx), %rsi movslq 20(%rax), %rdx movl $12, %ecx callq ___memmove_chk rolw $8, %bx movw %bx, -46(%rbp) leaq -48(%rbp), %rsi movl %r14d, %edi movl $16, %edx callq _connect testl %eax, %eax js LBB1_10 ## %bb.11: leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf leaq -1072(%rbp), %rbx movl $1024, %esi ## imm = 0x400 movq %rbx, %rdi callq ___bzero movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdx movq %rbx, %rdi movl $1024, %esi ## imm = 0x400 callq _fgets movq %rbx, %rdi callq _strlen movl %r14d, %edi movq %rbx, %rsi movq %rax, %rdx callq _write testl $-2147483648, %eax ## imm = 0x80000000 jne LBB1_12 ## %bb.13: leaq -1072(%rbp), %rbx movl $1024, %esi ## imm = 0x400 movq %rbx, %rdi callq ___bzero movl $1024, %edx ## imm = 0x400 movl %r14d, %edi movq %rbx, %rsi callq _read testl $-2147483648, %eax ## imm = 0x80000000 jne LBB1_14 ## %bb.15: leaq L_.str.7(%rip), %rdi leaq -1072(%rbp), %rsi xorl %eax, %eax callq _printf movl %r14d, %edi callq _close LBB1_4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB1_16 ## %bb.5: xorl %eax, %eax addq $1048, %rsp ## imm = 0x418 popq %rbx popq %r14 popq %r15 popq %rbp retq LBB1_3: callq _main.cold.1 jmp LBB1_4 LBB1_10: callq _main.cold.2 jmp LBB1_4 LBB1_12: callq _main.cold.4 jmp LBB1_4 LBB1_14: callq _main.cold.3 jmp LBB1_4 LBB1_1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq (%rsi), %rdx leaq L_.str(%rip), %rsi jmp LBB1_8 LBB1_7: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.2(%rip), %rsi movq %r15, %rdx LBB1_8: xorl %eax, %eax callq _fprintf xorl %edi, %edi callq _exit LBB1_16: callq ___stack_chk_fail .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.1 _main.cold.1: ## @main.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str.1(%rip), %rdi callq _perror xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.2 _main.cold.2: ## @main.cold.2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str.3(%rip), %rdi callq _perror xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.3 _main.cold.3: ## @main.cold.3 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str.6(%rip), %rdi callq _perror xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.4 _main.cold.4: ## @main.cold.4 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str.5(%rip), %rdi callq _perror xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "usage: %s <hostname> <port>\n" L_.str.1: ## @.str.1 .asciz "ERROR opening socket" L_.str.2: ## @.str.2 .asciz "ERROR, no such host as %s\n" L_.str.3: ## @.str.3 .asciz "ERROR connecting" L_.str.4: ## @.str.4 .asciz "Please enter msg: " L_.str.5: ## @.str.5 .asciz "ERROR writing to socket" L_.str.6: ## @.str.6 .asciz "ERROR reading from socket" L_.str.7: ## @.str.7 .asciz "Echo from server: %s" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _error ; -- Begin function error .p2align 2 _error: ; @error .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 _perror mov w0, #0 bl _exit .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 sub sp, sp, #1056 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] cmp w0, #3 b.ne LBB1_8 ; %bb.1: ldp x21, x0, [x1, #8] bl _atoi mov x20, x0 mov w0, #2 mov w1, #1 mov w2, #0 bl _socket tbnz w0, #31, LBB1_9 ; %bb.2: mov x19, x0 mov x0, x21 bl _gethostbyname cbz x0, LBB1_10 ; %bb.3: stp xzr, xzr, [x29, #-56] mov w8, #2 sturb w8, [x29, #-55] sub x8, x29, #56 orr x8, x8, #0x4 ldr x9, [x0, #24] ldr x1, [x9] ldrsw x2, [x0, #20] mov x0, x8 mov w3, #12 bl ___memmove_chk rev w8, w20 lsr w8, w8, #16 sturh w8, [x29, #-54] sub x1, x29, #56 mov x0, x19 mov w2, #16 bl _connect tbnz w0, #31, LBB1_12 ; %bb.4: Lloh3: adrp x0, l_.str.4@PAGE Lloh4: add x0, x0, l_.str.4@PAGEOFF bl _printf add x0, sp, #8 mov w1, #1024 bl _bzero Lloh5: adrp x8, ___stdinp@GOTPAGE Lloh6: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh7: ldr x2, [x8] add x0, sp, #8 mov w1, #1024 bl _fgets add x0, sp, #8 bl _strlen mov x2, x0 add x1, sp, #8 mov x0, x19 bl _write tbnz w0, #31, LBB1_13 ; %bb.5: add x20, sp, #8 add x0, sp, #8 mov w1, #1024 bl _bzero add x1, sp, #8 mov x0, x19 mov w2, #1024 bl _read tbnz w0, #31, LBB1_14 ; %bb.6: str x20, [sp] Lloh8: adrp x0, l_.str.7@PAGE Lloh9: add x0, x0, l_.str.7@PAGEOFF bl _printf mov x0, x19 bl _close ldur x8, [x29, #-40] Lloh10: adrp x9, ___stack_chk_guard@GOTPAGE Lloh11: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh12: ldr x9, [x9] cmp x9, x8 b.ne LBB1_15 ; %bb.7: mov w0, #0 add sp, sp, #1056 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB1_8: Lloh13: adrp x8, ___stderrp@GOTPAGE Lloh14: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh15: ldr x0, [x8] ldr x8, [x1] str x8, [sp] Lloh16: adrp x1, l_.str@PAGE Lloh17: add x1, x1, l_.str@PAGEOFF b LBB1_11 LBB1_9: bl _main.cold.1 LBB1_10: Lloh18: adrp x8, ___stderrp@GOTPAGE Lloh19: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh20: ldr x0, [x8] str x21, [sp] Lloh21: adrp x1, l_.str.2@PAGE Lloh22: add x1, x1, l_.str.2@PAGEOFF LBB1_11: bl _fprintf mov w0, #0 bl _exit LBB1_12: bl _main.cold.2 LBB1_13: bl _main.cold.4 LBB1_14: bl _main.cold.3 LBB1_15: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.1 _main.cold.1: ; @main.cold.1 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh23: adrp x0, l_.str.1@PAGE Lloh24: add x0, x0, l_.str.1@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh23, Lloh24 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.2 _main.cold.2: ; @main.cold.2 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh25: adrp x0, l_.str.3@PAGE Lloh26: add x0, x0, l_.str.3@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh25, Lloh26 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.3 _main.cold.3: ; @main.cold.3 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh27: adrp x0, l_.str.6@PAGE Lloh28: add x0, x0, l_.str.6@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh27, Lloh28 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.4 _main.cold.4: ; @main.cold.4 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh29: adrp x0, l_.str.5@PAGE Lloh30: add x0, x0, l_.str.5@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh29, Lloh30 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function OUTLINED_FUNCTION_0 _OUTLINED_FUNCTION_0: ; @OUTLINED_FUNCTION_0 Thunk .cfi_startproc ; %bb.0: mov w0, #0 b _exit .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "usage: %s <hostname> <port>\n" l_.str.1: ; @.str.1 .asciz "ERROR opening socket" l_.str.2: ; @.str.2 .asciz "ERROR, no such host as %s\n" l_.str.3: ; @.str.3 .asciz "ERROR connecting" l_.str.4: ; @.str.4 .asciz "Please enter msg: " l_.str.5: ; @.str.5 .asciz "ERROR writing to socket" l_.str.6: ; @.str.6 .asciz "ERROR reading from socket" l_.str.7: ; @.str.7 .asciz "Echo from server: %s" .subsections_via_symbols
the_stack_data/54824536.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fc_rport_enter_delete _fc_rport_enter_delete: ## @fc_rport_enter_delete .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %rbx addq $24, %rdi callq _lockdep_assert_held movq (%rbx), %rax movq _RPORT_ST_DELETE@GOTPCREL(%rip), %r15 cmpq (%r15), %rax je LBB0_5 ## %bb.1: leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _FC_RPORT_DBG movq (%r15), %rsi movq %rbx, %rdi callq _fc_rport_state_enter leaq 16(%rbx), %r15 movq %r15, %rdi callq _kref_get movq 8(%rbx), %rax movq _RPORT_EV_NONE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_4 ## %bb.2: movq _rport_event_queue@GOTPCREL(%rip), %rax movl (%rax), %edi leaq 20(%rbx), %rsi callq _queue_work testl %eax, %eax jne LBB0_4 ## %bb.3: movq _fc_rport_destroy@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _kref_put LBB0_4: movl %r14d, %eax movq %rax, 8(%rbx) LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _RPORT_ST_DELETE,8,3 ## @RPORT_ST_DELETE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Delete port\n" .comm _RPORT_EV_NONE,8,3 ## @RPORT_EV_NONE .comm _rport_event_queue,4,2 ## @rport_event_queue .comm _fc_rport_destroy,4,2 ## @fc_rport_destroy .no_dead_strip _fc_rport_enter_delete .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fc_rport_enter_delete _fc_rport_enter_delete: ; @fc_rport_enter_delete .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 add x0, x0, #24 bl _lockdep_assert_held ldr x8, [x19] Lloh0: adrp x21, _RPORT_ST_DELETE@GOTPAGE Lloh1: ldr x21, [x21, _RPORT_ST_DELETE@GOTPAGEOFF] ldr x9, [x21] cmp x8, x9 b.eq LBB0_5 ; %bb.1: Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _FC_RPORT_DBG ldr x1, [x21] mov x0, x19 bl _fc_rport_state_enter add x21, x19, #16 mov x0, x21 bl _kref_get ldr x8, [x19, #8] Lloh4: adrp x9, _RPORT_EV_NONE@GOTPAGE Lloh5: ldr x9, [x9, _RPORT_EV_NONE@GOTPAGEOFF] Lloh6: ldr x9, [x9] cmp x8, x9 b.ne LBB0_4 ; %bb.2: Lloh7: adrp x8, _rport_event_queue@GOTPAGE Lloh8: ldr x8, [x8, _rport_event_queue@GOTPAGEOFF] Lloh9: ldr w0, [x8] add x1, x19, #20 bl _queue_work cbnz w0, LBB0_4 ; %bb.3: Lloh10: adrp x8, _fc_rport_destroy@GOTPAGE Lloh11: ldr x8, [x8, _fc_rport_destroy@GOTPAGEOFF] Lloh12: ldr w1, [x8] mov x0, x21 bl _kref_put LBB0_4: mov w8, w20 str x8, [x19, #8] LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _RPORT_ST_DELETE,8,3 ; @RPORT_ST_DELETE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Delete port\n" .comm _RPORT_EV_NONE,8,3 ; @RPORT_EV_NONE .comm _rport_event_queue,4,2 ; @rport_event_queue .comm _fc_rport_destroy,4,2 ; @fc_rport_destroy .no_dead_strip _fc_rport_enter_delete .subsections_via_symbols
AnghaBench/linux/drivers/scsi/libfc/extr_fc_rport.c_fc_rport_enter_delete.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lasat_write_eeprom_info ## -- Begin function lasat_write_eeprom_info .p2align 4, 0x90 _lasat_write_eeprom_info: ## @lasat_write_eeprom_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq _lasat_eeprom_mutex@GOTPCREL(%rip), %r14 movq %r14, %rdi callq _mutex_lock movq _lasat_board_info@GOTPCREL(%rip), %rbx movq %rbx, %rdi xorl %esi, %esi callq _EEPROM_CRC movq %rax, (%rbx) xorl %edi, %edi movq %rbx, %rsi movl $4, %edx callq _EEPROMWrite movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _mutex_unlock ## TAILCALL .cfi_endproc ## -- End function .comm _lasat_eeprom_mutex,4,2 ## @lasat_eeprom_mutex .comm _lasat_board_info,8,3 ## @lasat_board_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lasat_write_eeprom_info ; -- Begin function lasat_write_eeprom_info .p2align 2 _lasat_write_eeprom_info: ; @lasat_write_eeprom_info .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, _lasat_eeprom_mutex@GOTPAGE Lloh1: ldr x19, [x19, _lasat_eeprom_mutex@GOTPAGEOFF] mov x0, x19 bl _mutex_lock Lloh2: adrp x20, _lasat_board_info@GOTPAGE Lloh3: ldr x20, [x20, _lasat_board_info@GOTPAGEOFF] mov x0, x20 mov w1, #0 bl _EEPROM_CRC str x0, [x20] mov w0, #0 mov x1, x20 mov w2, #4 bl _EEPROMWrite mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _mutex_unlock .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _lasat_eeprom_mutex,4,2 ; @lasat_eeprom_mutex .comm _lasat_board_info,8,3 ; @lasat_board_info .subsections_via_symbols
AnghaBench/linux/arch/mips/lasat/extr_lasat_board.c_lasat_write_eeprom_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ff_calculate_bounding_box ## -- Begin function ff_calculate_bounding_box .p2align 4, 0x90 _ff_calculate_bounding_box: ## @ff_calculate_bounding_box .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 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 ## kill: def $r8d killed $r8d def $r8 ## kill: def $ecx killed $ecx def $rcx xorl %eax, %eax movl $0, %r10d testl %ecx, %ecx js LBB0_7 ## %bb.1: movslq %edx, %r11 leal 1(%rcx), %r10d movl %r8d, %ebx shlq $2, %r11 xorl %r14d, %r14d movq %rsi, %r15 jmp LBB0_3 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_3 Depth=1 incq %r14 addq $-4, %r15 cmpq %r10, %r14 je LBB0_8 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 movq %rbx, %r12 movq %r15, %r13 testl %r8d, %r8d jle LBB0_2 .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl %r9d, (%r13) jg LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 addq %r11, %r13 decq %r12 jne LBB0_4 jmp LBB0_2 LBB0_6: movl %r14d, %r10d LBB0_7: cmpl %ecx, %r10d je LBB0_33 LBB0_8: cmpl %ecx, %r10d jge LBB0_14 ## %bb.9: movslq %edx, %r11 movslq %ecx, %r12 movslq %r10d, %rbx movl %r8d, %r14d leaq (%rsi,%r12,4), %r15 addq $-4, %r15 decq %r12 shlq $2, %r11 jmp LBB0_11 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_11 Depth=1 leaq -1(%rax), %r12 addq $-4, %r15 cmpq %rbx, %rax jle LBB0_35 LBB0_11: ## =>This Loop Header: Depth=1 ## Child Loop BB0_12 Depth 2 movq %r12, %rax movq %r14, %r12 movq %r15, %r13 testl %r8d, %r8d jle LBB0_10 .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_11 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl %r9d, (%r13) jg LBB0_15 ## %bb.13: ## in Loop: Header=BB0_12 Depth=2 addq %r11, %r13 decq %r12 jne LBB0_12 jmp LBB0_10 LBB0_14: leal -1(%rcx), %eax LBB0_15: movl %ecx, %r11d testl %r8d, %r8d jle LBB0_22 ## %bb.16: movslq %edx, %r14 shlq $2, %r14 xorl %ebx, %ebx movq %rsi, %r15 jmp LBB0_18 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_18 Depth=1 incl %ebx addq %r14, %r15 cmpl %r8d, %ebx je LBB0_34 LBB0_18: ## =>This Loop Header: Depth=1 ## Child Loop BB0_20 Depth 2 testl %ecx, %ecx jle LBB0_17 ## %bb.19: ## in Loop: Header=BB0_18 Depth=1 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_20: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl %r9d, (%r15,%r12,4) jg LBB0_23 ## %bb.21: ## in Loop: Header=BB0_20 Depth=2 incq %r12 cmpq %r12, %r11 jne LBB0_20 jmp LBB0_17 LBB0_22: xorl %ebx, %ebx LBB0_23: leal -1(%r8), %r14d cmpl %r8d, %ebx jge LBB0_31 ## %bb.24: movl %r14d, %r8d imull %edx, %r8d movslq %r8d, %r8 leaq (%rsi,%r8,4), %rsi movslq %edx, %r8 leal -1(%rbx), %edx shlq $2, %r8 negq %r8 jmp LBB0_26 .p2align 4, 0x90 LBB0_25: ## in Loop: Header=BB0_26 Depth=1 leal -1(%r14), %r15d addq %r8, %rsi cmpl %ebx, %r14d movl %r15d, %r14d jle LBB0_36 LBB0_26: ## =>This Loop Header: Depth=1 ## Child Loop BB0_28 Depth 2 testl %ecx, %ecx jle LBB0_25 ## %bb.27: ## in Loop: Header=BB0_26 Depth=1 xorl %r15d, %r15d .p2align 4, 0x90 LBB0_28: ## Parent Loop BB0_26 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl %r9d, (%rsi,%r15,4) jg LBB0_31 ## %bb.29: ## in Loop: Header=BB0_28 Depth=2 incq %r15 cmpq %r15, %r11 jne LBB0_28 jmp LBB0_25 LBB0_31: movl %ebx, %r8d LBB0_32: movl %r10d, (%rdi) movl %r8d, 4(%rdi) movl %eax, 8(%rdi) movl %r14d, 12(%rdi) movl $1, %eax LBB0_33: popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_34: leal -1(%r8), %r14d jmp LBB0_32 LBB0_35: movl %r12d, %eax jmp LBB0_15 LBB0_36: movl %ebx, %r8d movl %edx, %r14d jmp LBB0_32 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ff_calculate_bounding_box ; -- Begin function ff_calculate_bounding_box .p2align 2 _ff_calculate_bounding_box: ; @ff_calculate_bounding_box .cfi_startproc ; %bb.0: ; kill: def $w3 killed $w3 def $x3 ; kill: def $w2 killed $w2 def $x2 tbnz w3, #31, LBB0_8 ; %bb.1: mov x9, #0 ; =0x0 add w8, w3, #1 sbfiz x10, x2, #2, #32 mov x11, x1 mov w12, w4 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x9, x9, #1 sub x11, x11, #4 cmp x9, x8 b.eq LBB0_9 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 mov x13, x12 mov x14, x11 cmp w4, #1 b.lt LBB0_2 LBB0_4: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w15, [x14] cmp w15, w5 b.gt LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=2 add x14, x14, x10 subs x13, x13, #1 b.ne LBB0_4 b LBB0_2 LBB0_6: mov x8, x9 cmp w8, w3 b.ne LBB0_9 LBB0_7: mov w0, #0 ; =0x0 ret LBB0_8: mov w8, #0 ; =0x0 cmp w8, w3 b.eq LBB0_7 LBB0_9: cmp w8, w3 b.ge LBB0_15 ; %bb.10: sxtw x9, w3 sub x14, x9, #1 mov x9, x8 sxtw x10, w9 add x9, x1, w3, sxtw #2 sub x11, x9, #4 mov x9, x2 sbfiz x12, x9, #2, #32 mov w13, w4 b LBB0_12 LBB0_11: ; in Loop: Header=BB0_12 Depth=1 sub x14, x9, #1 sub x11, x11, #4 cmp x9, x10 b.le LBB0_32 LBB0_12: ; =>This Loop Header: Depth=1 ; Child Loop BB0_13 Depth 2 mov x9, x14 mov x14, x13 mov x15, x11 cmp w4, #1 b.lt LBB0_11 LBB0_13: ; Parent Loop BB0_12 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w16, [x15] cmp w16, w5 b.gt LBB0_16 ; %bb.14: ; in Loop: Header=BB0_13 Depth=2 add x15, x15, x12 subs x14, x14, #1 b.ne LBB0_13 b LBB0_11 LBB0_15: sub w9, w3, #1 LBB0_16: mov w11, #0 ; =0x0 subs w10, w4, #1 b.lt LBB0_23 ; %bb.17: mov x12, x2 sbfiz x12, x12, #2, #32 mov x13, x3 ubfiz x13, x13, #2, #32 mov x14, x1 b LBB0_19 LBB0_18: ; in Loop: Header=BB0_19 Depth=1 add w11, w11, #1 add x14, x14, x12 cmp w11, w4 b.eq LBB0_31 LBB0_19: ; =>This Loop Header: Depth=1 ; Child Loop BB0_21 Depth 2 cmp w3, #1 b.lt LBB0_18 ; %bb.20: ; in Loop: Header=BB0_19 Depth=1 mov x15, #0 ; =0x0 LBB0_21: ; Parent Loop BB0_19 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w16, [x14, x15] cmp w16, w5 b.gt LBB0_23 ; %bb.22: ; in Loop: Header=BB0_21 Depth=2 add x15, x15, #4 cmp x13, x15 b.ne LBB0_21 b LBB0_18 LBB0_23: cmp w11, w4 b.ge LBB0_30 ; %bb.24: mov x14, #0 ; =0x0 mul w12, w10, w2 add x13, x1, w12, sxtw #2 sub w12, w11, #1 sub x14, x14, w2, sxtw #2 mov x15, x3 ubfiz x15, x15, #2, #32 b LBB0_26 LBB0_25: ; in Loop: Header=BB0_26 Depth=1 sub w16, w10, #1 add x13, x13, x14 cmp w10, w11 mov x10, x16 b.le LBB0_33 LBB0_26: ; =>This Loop Header: Depth=1 ; Child Loop BB0_28 Depth 2 cmp w3, #1 b.lt LBB0_25 ; %bb.27: ; in Loop: Header=BB0_26 Depth=1 mov x16, #0 ; =0x0 LBB0_28: ; Parent Loop BB0_26 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w17, [x13, x16] cmp w17, w5 b.gt LBB0_30 ; %bb.29: ; in Loop: Header=BB0_28 Depth=2 add x16, x16, #4 cmp x15, x16 b.ne LBB0_28 b LBB0_25 LBB0_30: mov x4, x11 LBB0_31: stp w8, w4, [x0] mov w8, #1 ; =0x1 stp w9, w10, [x0, #8] mov x0, x8 ret LBB0_32: mov x9, x14 b LBB0_16 LBB0_33: mov x4, x11 mov x10, x12 b LBB0_31 .cfi_endproc ; -- End function .subsections_via_symbols
assembly_file_69430.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ZSTD_getFrameHeader ## -- Begin function ZSTD_getFrameHeader .p2align 4, 0x90 _ZSTD_getFrameHeader: ## @ZSTD_getFrameHeader .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ZSTD_f_zstd1@GOTPCREL(%rip), %rax movl (%rax), %ecx popq %rbp jmp _ZSTD_getFrameHeader_advanced ## TAILCALL .cfi_endproc ## -- End function .comm _ZSTD_f_zstd1,4,2 ## @ZSTD_f_zstd1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ZSTD_getFrameHeader ; -- Begin function ZSTD_getFrameHeader .p2align 2 _ZSTD_getFrameHeader: ; @ZSTD_getFrameHeader .cfi_startproc ; %bb.0: Lloh0: adrp x8, _ZSTD_f_zstd1@GOTPAGE Lloh1: ldr x8, [x8, _ZSTD_f_zstd1@GOTPAGEOFF] Lloh2: ldr w3, [x8] b _ZSTD_getFrameHeader_advanced .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ZSTD_f_zstd1,4,2 ; @ZSTD_f_zstd1 .subsections_via_symbols
AnghaBench/borg/src/borg/algorithms/zstd/lib/decompress/extr_zstd_decompress.c_ZSTD_getFrameHeader.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function iwl_mvm_ftm_cmd_v5 _iwl_mvm_ftm_cmd_v5: ## @iwl_mvm_ftm_cmd_v5 .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 %rcx, %r15 movq %rdx, %r12 movq %rsi, %r14 movl 24(%rcx), %eax movl %eax, 32(%rdx) movl 20(%rcx), %eax movl %eax, 28(%rdx) movl (%rcx), %edi movl $255, %eax testl %edi, %edi je LBB0_3 ## %bb.1: cmpl $25500, %edi ## imm = 0x639C jg LBB0_3 ## %bb.2: movl $100, %esi callq _DIV_ROUND_UP LBB0_3: movl %eax, (%r12) movl $1, 4(%r12) movl 24(%r12), %edi movl 16(%r15), %esi movq _ETH_ALEN@GOTPCREL(%rip), %rbx movl (%rbx), %edx callq _memcpy movl (%rbx), %edx testl %edx, %edx jle LBB0_6 ## %bb.4: movq 8(%r15), %rax movq 16(%r12), %rcx xorl %esi, %esi .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl (%rax,%rsi,4), %edx notl %edx movl %edx, (%rcx,%rsi,4) incq %rsi movslq (%rbx), %rdx cmpq %rdx, %rsi jl LBB0_5 LBB0_6: cmpq $0, 8(%r14) movl 8(%r12), %edi je LBB0_8 ## %bb.7: movl (%r14), %esi ## kill: def $edx killed $edx killed $rdx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _memcpy ## TAILCALL LBB0_8: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _eth_broadcast_addr ## TAILCALL .cfi_endproc ## -- End function .comm _ETH_ALEN,4,2 ## @ETH_ALEN .no_dead_strip _iwl_mvm_ftm_cmd_v5 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function iwl_mvm_ftm_cmd_v5 _iwl_mvm_ftm_cmd_v5: ; @iwl_mvm_ftm_cmd_v5 .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x3 mov x20, x2 mov x19, x1 ldur d0, [x3, #20] stur d0, [x2, #28] ldr w0, [x3] cmp w0, #0 mov w8, #25500 ccmp w0, w8, #0, ne b.le LBB0_2 ; %bb.1: mov w0, #255 b LBB0_3 LBB0_2: mov w1, #100 bl _DIV_ROUND_UP LBB0_3: mov w8, #1 stp w0, w8, [x20] ldr w0, [x20, #24] ldr w1, [x21, #16] Lloh0: adrp x22, _ETH_ALEN@GOTPAGE Lloh1: ldr x22, [x22, _ETH_ALEN@GOTPAGEOFF] ldr w2, [x22] bl _memcpy ldr w2, [x22] cmp w2, #1 b.lt LBB0_6 ; %bb.4: mov x8, #0 ldr x9, [x21, #8] ldr x10, [x20, #16] LBB0_5: ; =>This Inner Loop Header: Depth=1 lsl x11, x8, #2 ldr w12, [x9, x11] mvn w12, w12 str w12, [x10, x11] add x8, x8, #1 ldrsw x2, [x22] cmp x8, x2 b.lt LBB0_5 LBB0_6: ldr x8, [x19, #8] ldr w0, [x20, #8] cbz x8, LBB0_8 ; %bb.7: ldr w1, [x19] ; kill: def $w2 killed $w2 killed $x2 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 _memcpy LBB0_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _eth_broadcast_addr .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _ETH_ALEN,4,2 ; @ETH_ALEN .no_dead_strip _iwl_mvm_ftm_cmd_v5 .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_ftm-initiator.c_iwl_mvm_ftm_cmd_v5.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vcn_v1_0_dec_ring_emit_ib _vcn_v1_0_dec_ring_emit_ib: ## @vcn_v1_0_dec_ring_emit_ib .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rdi, %rbx movq %rsi, %rdi callq _AMDGPU_JOB_GET_VMID movl %eax, %r15d movq _UVD@GOTPCREL(%rip), %r12 movl (%r12), %edi movq _mmUVD_LMI_RBC_IB_VMID@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _SOC15_REG_OFFSET movl %eax, %edi xorl %esi, %esi callq _PACKET0 movq %rbx, %rdi movl %eax, %esi callq _amdgpu_ring_write movq %rbx, %rdi movl %r15d, %esi callq _amdgpu_ring_write movl (%r12), %edi movq _mmUVD_LMI_RBC_IB_64BIT_BAR_LOW@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _SOC15_REG_OFFSET movl %eax, %edi xorl %esi, %esi callq _PACKET0 movq %rbx, %rdi movl %eax, %esi callq _amdgpu_ring_write movl 4(%r14), %edi callq _lower_32_bits movq %rbx, %rdi movl %eax, %esi callq _amdgpu_ring_write movl (%r12), %edi movq _mmUVD_LMI_RBC_IB_64BIT_BAR_HIGH@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _SOC15_REG_OFFSET movl %eax, %edi xorl %esi, %esi callq _PACKET0 movq %rbx, %rdi movl %eax, %esi callq _amdgpu_ring_write movl 4(%r14), %edi callq _upper_32_bits movq %rbx, %rdi movl %eax, %esi callq _amdgpu_ring_write movl (%r12), %edi movq _mmUVD_RBC_IB_SIZE@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _SOC15_REG_OFFSET movl %eax, %edi xorl %esi, %esi callq _PACKET0 movq %rbx, %rdi movl %eax, %esi callq _amdgpu_ring_write movl (%r14), %esi movq %rbx, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _amdgpu_ring_write ## TAILCALL .cfi_endproc ## -- End function .comm _UVD,4,2 ## @UVD .comm _mmUVD_LMI_RBC_IB_VMID,4,2 ## @mmUVD_LMI_RBC_IB_VMID .comm _mmUVD_LMI_RBC_IB_64BIT_BAR_LOW,4,2 ## @mmUVD_LMI_RBC_IB_64BIT_BAR_LOW .comm _mmUVD_LMI_RBC_IB_64BIT_BAR_HIGH,4,2 ## @mmUVD_LMI_RBC_IB_64BIT_BAR_HIGH .comm _mmUVD_RBC_IB_SIZE,4,2 ## @mmUVD_RBC_IB_SIZE .no_dead_strip _vcn_v1_0_dec_ring_emit_ib .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vcn_v1_0_dec_ring_emit_ib _vcn_v1_0_dec_ring_emit_ib: ; @vcn_v1_0_dec_ring_emit_ib .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x0 mov x0, x1 bl _AMDGPU_JOB_GET_VMID mov x21, x0 Lloh0: adrp x22, _UVD@GOTPAGE Lloh1: ldr x22, [x22, _UVD@GOTPAGEOFF] ldr w0, [x22] Lloh2: adrp x8, _mmUVD_LMI_RBC_IB_VMID@GOTPAGE Lloh3: ldr x8, [x8, _mmUVD_LMI_RBC_IB_VMID@GOTPAGEOFF] Lloh4: ldr w2, [x8] mov w1, #0 bl _SOC15_REG_OFFSET mov w1, #0 bl _PACKET0 mov x1, x0 mov x0, x20 bl _amdgpu_ring_write mov x0, x20 mov x1, x21 bl _amdgpu_ring_write ldr w0, [x22] Lloh5: adrp x8, _mmUVD_LMI_RBC_IB_64BIT_BAR_LOW@GOTPAGE Lloh6: ldr x8, [x8, _mmUVD_LMI_RBC_IB_64BIT_BAR_LOW@GOTPAGEOFF] Lloh7: ldr w2, [x8] mov w1, #0 bl _SOC15_REG_OFFSET mov w1, #0 bl _PACKET0 mov x1, x0 mov x0, x20 bl _amdgpu_ring_write ldr w0, [x19, #4] bl _lower_32_bits mov x1, x0 mov x0, x20 bl _amdgpu_ring_write ldr w0, [x22] Lloh8: adrp x8, _mmUVD_LMI_RBC_IB_64BIT_BAR_HIGH@GOTPAGE Lloh9: ldr x8, [x8, _mmUVD_LMI_RBC_IB_64BIT_BAR_HIGH@GOTPAGEOFF] Lloh10: ldr w2, [x8] mov w1, #0 bl _SOC15_REG_OFFSET mov w1, #0 bl _PACKET0 mov x1, x0 mov x0, x20 bl _amdgpu_ring_write ldr w0, [x19, #4] bl _upper_32_bits mov x1, x0 mov x0, x20 bl _amdgpu_ring_write ldr w0, [x22] Lloh11: adrp x8, _mmUVD_RBC_IB_SIZE@GOTPAGE Lloh12: ldr x8, [x8, _mmUVD_RBC_IB_SIZE@GOTPAGEOFF] Lloh13: ldr w2, [x8] mov w1, #0 bl _SOC15_REG_OFFSET mov w1, #0 bl _PACKET0 mov x1, x0 mov x0, x20 bl _amdgpu_ring_write ldr w1, [x19] mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _amdgpu_ring_write .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _UVD,4,2 ; @UVD .comm _mmUVD_LMI_RBC_IB_VMID,4,2 ; @mmUVD_LMI_RBC_IB_VMID .comm _mmUVD_LMI_RBC_IB_64BIT_BAR_LOW,4,2 ; @mmUVD_LMI_RBC_IB_64BIT_BAR_LOW .comm _mmUVD_LMI_RBC_IB_64BIT_BAR_HIGH,4,2 ; @mmUVD_LMI_RBC_IB_64BIT_BAR_HIGH .comm _mmUVD_RBC_IB_SIZE,4,2 ; @mmUVD_RBC_IB_SIZE .no_dead_strip _vcn_v1_0_dec_ring_emit_ib .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_vcn_v1_0.c_vcn_v1_0_dec_ring_emit_ib.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mem2bin ## -- Begin function mem2bin .p2align 4, 0x90 _mem2bin: ## @mem2bin .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 je LBB0_3 ## %bb.1: movq %rdi, %r15 movl %esi, %r14d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 xorl %edi, %edi cmpb $0, (%r15,%rbx) setns %dil xorl $49, %edi callq _putchar movzbl (%r15,%rbx), %eax andb $64, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl (%r15,%rbx), %eax andb $32, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl (%r15,%rbx), %eax andb $16, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl (%r15,%rbx), %eax andb $8, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl (%r15,%rbx), %eax andb $4, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl (%r15,%rbx), %eax andb $2, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl (%r15,%rbx), %edi andl $1, %edi orl $48, %edi callq _putchar movl $32, %edi callq _putchar incq %rbx cmpq %rbx, %r14 jne LBB0_2 LBB0_3: movl $10, %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _putchar ## TAILCALL .cfi_endproc ## -- End function .globl _mem2bin_Gauche ## -- Begin function mem2bin_Gauche .p2align 4, 0x90 _mem2bin_Gauche: ## @mem2bin_Gauche .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 decl %esi js LBB1_3 ## %bb.1: movq %rdi, %r14 movl %esi, %ebx decq %rbx movq %rbx, %r15 .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 xorl %edi, %edi cmpb $0, 1(%r14,%rbx) setns %dil xorl $49, %edi callq _putchar movzbl 1(%r14,%rbx), %eax andb $64, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl 1(%r14,%rbx), %eax andb $32, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl 1(%r14,%rbx), %eax andb $16, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl 1(%r14,%rbx), %eax andb $8, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl 1(%r14,%rbx), %eax andb $4, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl 1(%r14,%rbx), %eax andb $2, %al cmpb $1, %al movl $49, %edi sbbl $0, %edi callq _putchar movzbl 1(%r14,%rbx), %edi andl $1, %edi orl $48, %edi callq _putchar movl $32, %edi callq _putchar decq %r15 testl $-2147483648, %ebx ## imm = 0x80000000 movq %r15, %rbx je LBB1_2 LBB1_3: movl $10, %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 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 %rbx pushq %rax .cfi_offset %rbx, -24 movl $-1017970688, -12(%rbp) ## imm = 0xC3530000 leaq -12(%rbp), %rbx movq %rbx, %rdi movl $4, %esi callq _mem2bin movq %rbx, %rdi movl $4, %esi callq _mem2bin_Gauche xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mem2bin ; -- Begin function mem2bin .p2align 2 _mem2bin: ; @mem2bin .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz w1, LBB0_3 ; %bb.1: mov x19, x0 mov w20, w1 mov w21, #48 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrsb w8, [x19] cmp w8, #0 cinc w0, w21, lt bl _putchar ldrb w8, [x19] tst w8, #0x40 cinc w0, w21, ne bl _putchar ldrb w8, [x19] tst w8, #0x20 cinc w0, w21, ne bl _putchar ldrb w8, [x19] tst w8, #0x10 cinc w0, w21, ne bl _putchar ldrb w8, [x19] tst w8, #0x8 cinc w0, w21, ne bl _putchar ldrb w8, [x19] tst w8, #0x4 cinc w0, w21, ne bl _putchar ldrb w8, [x19] tst w8, #0x2 cinc w0, w21, ne bl _putchar ldrb w8, [x19], #1 tst w8, #0x1 cinc w0, w21, ne bl _putchar mov w0, #32 bl _putchar subs x20, x20, #1 b.ne LBB0_2 LBB0_3: mov w0, #10 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _putchar .cfi_endproc ; -- End function .globl _mem2bin_Gauche ; -- Begin function mem2bin_Gauche .p2align 2 _mem2bin_Gauche: ; @mem2bin_Gauche .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 subs w20, w1, #1 b.mi LBB1_3 ; %bb.1: mov x19, x0 mov w21, #48 LBB1_2: ; =>This Inner Loop Header: Depth=1 ldrsb w8, [x19, x20] cmp w8, #0 cinc w0, w21, lt bl _putchar ldrb w8, [x19, x20] tst w8, #0x40 cinc w0, w21, ne bl _putchar ldrb w8, [x19, x20] tst w8, #0x20 cinc w0, w21, ne bl _putchar ldrb w8, [x19, x20] tst w8, #0x10 cinc w0, w21, ne bl _putchar ldrb w8, [x19, x20] tst w8, #0x8 cinc w0, w21, ne bl _putchar ldrb w8, [x19, x20] tst w8, #0x4 cinc w0, w21, ne bl _putchar ldrb w8, [x19, x20] tst w8, #0x2 cinc w0, w21, ne bl _putchar ldrb w8, [x19, x20] tst w8, #0x1 cinc w0, w21, ne bl _putchar mov w0, #32 bl _putchar sub x20, x20, #1 tbz w20, #31, LBB1_2 LBB1_3: mov w0, #10 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _putchar .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #-1017970688 stur w8, [x29, #-4] sub x0, x29, #4 mov w1, #4 bl _mem2bin sub x0, x29, #4 mov w1, #4 bl _mem2bin_Gauche mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/64200585.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function data_key_init _data_key_init: ## @data_key_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movl %edx, %r14d movq %rsi, %rbx movq _UBIFS_S_KEY_BLOCK_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax notl %eax xorl %edi, %edi testl %ecx, %eax sete %dil callq _ubifs_assert movq (%rbx), %rax movl %r14d, (%rax) movq _UBIFS_DATA_KEY@GOTPCREL(%rip), %rax movl (%rax), %eax movq _UBIFS_S_KEY_BLOCK_BITS@GOTPCREL(%rip), %rcx movb (%rcx), %cl shll %cl, %eax orl %r15d, %eax movq (%rbx), %rcx movl %eax, 4(%rcx) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _UBIFS_S_KEY_BLOCK_MASK,4,2 ## @UBIFS_S_KEY_BLOCK_MASK .comm _UBIFS_DATA_KEY,4,2 ## @UBIFS_DATA_KEY .comm _UBIFS_S_KEY_BLOCK_BITS,4,2 ## @UBIFS_S_KEY_BLOCK_BITS .no_dead_strip _data_key_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function data_key_init _data_key_init: ; @data_key_init .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x3 mov x20, x2 mov x21, x1 Lloh0: adrp x8, _UBIFS_S_KEY_BLOCK_MASK@GOTPAGE Lloh1: ldr x8, [x8, _UBIFS_S_KEY_BLOCK_MASK@GOTPAGEOFF] Lloh2: ldr w8, [x8] bics wzr, w3, w8 cset w0, eq bl _ubifs_assert ldr x8, [x21] str w20, [x8] Lloh3: adrp x8, _UBIFS_DATA_KEY@GOTPAGE Lloh4: ldr x8, [x8, _UBIFS_DATA_KEY@GOTPAGEOFF] Lloh5: adrp x9, _UBIFS_S_KEY_BLOCK_BITS@GOTPAGE Lloh6: ldr x9, [x9, _UBIFS_S_KEY_BLOCK_BITS@GOTPAGEOFF] Lloh7: ldr w8, [x8] Lloh8: ldr w9, [x9] lsl w8, w8, w9 orr w8, w8, w19 ldr x9, [x21] str w8, [x9, #4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _UBIFS_S_KEY_BLOCK_MASK,4,2 ; @UBIFS_S_KEY_BLOCK_MASK .comm _UBIFS_DATA_KEY,4,2 ; @UBIFS_DATA_KEY .comm _UBIFS_S_KEY_BLOCK_BITS,4,2 ; @UBIFS_S_KEY_BLOCK_BITS .no_dead_strip _data_key_init .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/ubifs/extr_key.h_data_key_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _safe_strtoull ## -- Begin function safe_strtoull .p2align 4, 0x90 _safe_strtoull: ## @safe_strtoull .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, %r12 movq %rdi, %r14 xorl %edi, %edi testq %rsi, %rsi setne %dil callq _assert movq _errno@GOTPCREL(%rip), %rbx movq $0, (%rbx) movq $0, (%r12) leaq -48(%rbp), %rsi movq %r14, %rdi movl $10, %edx callq _strtoull movq (%rbx), %rdx movq _ERANGE@GOTPCREL(%rip), %rcx xorl %r15d, %r15d cmpq (%rcx), %rdx je LBB0_7 ## %bb.1: movq -48(%rbp), %r13 cmpq %r14, %r13 je LBB0_7 ## %bb.2: movq %rax, %rbx movsbl (%r13), %edi callq _xisspace testq %rax, %rax je LBB0_3 LBB0_4: movq %rbx, %rcx testq %rbx, %rbx jns LBB0_6 ## %bb.5: movq %r14, %rdi movl $45, %esi callq _strchr movq %rbx, %rcx testq %rax, %rax jne LBB0_7 LBB0_6: movq %rcx, (%r12) movl $1, %r15d jmp LBB0_7 LBB0_3: cmpb $0, (%r13) je LBB0_4 LBB0_7: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _errno,8,3 ## @errno .comm _ERANGE,8,3 ## @ERANGE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _safe_strtoull ; -- Begin function safe_strtoull .p2align 2 _safe_strtoull: ; @safe_strtoull .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 cmp x1, #0 cset w0, ne bl _assert Lloh0: adrp x22, _errno@GOTPAGE Lloh1: ldr x22, [x22, _errno@GOTPAGEOFF] str xzr, [x22] str xzr, [x19] add x1, sp, #8 mov x0, x20 mov w2, #10 bl _strtoull ldr x8, [x22] Lloh2: adrp x9, _ERANGE@GOTPAGE Lloh3: ldr x9, [x9, _ERANGE@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp x8, x9 b.eq LBB0_7 ; %bb.1: ldr x22, [sp, #8] cmp x22, x20 b.eq LBB0_7 ; %bb.2: mov x21, x0 ldrsb w0, [x22] bl _xisspace cbz x0, LBB0_5 LBB0_3: tbnz x21, #63, LBB0_6 LBB0_4: str x21, [x19] mov w0, #1 b LBB0_8 LBB0_5: ldrb w8, [x22] cbnz w8, LBB0_7 b LBB0_3 LBB0_6: mov x0, x20 mov w1, #45 bl _strchr cbz x0, LBB0_4 LBB0_7: mov w0, #0 LBB0_8: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _errno,8,3 ; @errno .comm _ERANGE,8,3 ; @ERANGE .subsections_via_symbols
AnghaBench/memcached/extr_util.c_safe_strtoull.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _vm_phys_init ## -- Begin function vm_phys_init .p2align 4, 0x90 _vm_phys_init: ## @vm_phys_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _vm_phys_nsegs@GOTPCREL(%rip), %r14 movl (%r14), %eax testl %eax, %eax jle LBB0_3 ## %bb.1: decl %eax leaq (%rax,%rax,4), %rax leaq 8(,%rax,8), %rbx movq _vm_phys_segs@GOTPCREL(%rip), %r14 movq _vm_freelist_to_flind@GOTPCREL(%rip), %r15 movq _VM_FREELIST_DEFAULT@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rax movq -8(%rax,%rbx), %rdi subq (%rax,%rbx), %rdi callq _atop movq (%r15), %rax movq (%r12), %rcx movl $1, (%rax,%rcx,4) addq $40, %rbx jmp LBB0_2 LBB0_3: movq _vm_freelist_to_flind@GOTPCREL(%rip), %r15 movq (%r15), %rax movq _VM_NFREELIST@GOTPCREL(%rip), %rbx movslq (%rbx), %rsi testq %rsi, %rsi jle LBB0_6 ## %bb.4: movl (%rax), %ecx xorl %edx, %edx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 addl 4(%rax,%rdx,4), %ecx movl %ecx, 4(%rax,%rdx,4) movslq (%rbx), %rsi incq %rdx cmpq %rsi, %rdx jl LBB0_5 LBB0_6: movl -4(%rax,%rsi,4), %eax movq _vm_nfreelists@GOTPCREL(%rip), %rcx movl %eax, (%rcx) xorl %edi, %edi testl %eax, %eax setg %dil leaq L_.str(%rip), %rsi callq _KASSERT cmpl $0, (%rbx) jle LBB0_9 ## %bb.7: movq (%r15), %rax xorl %ecx, %ecx .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 decl (%rax,%rcx,4) incq %rcx movslq (%rbx), %rdx cmpq %rdx, %rcx jl LBB0_8 LBB0_9: cmpl $0, (%r14) jle LBB0_19 ## %bb.10: movl $32, %r13d xorl %r15d, %r15d movq _vm_phys_segs@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq (%r12), %r14 movq -24(%r14,%r13), %rdi callq _PHYS_TO_VM_PAGE movq %rax, (%r14,%r13) movq _vm_freelist_to_flind@GOTPCREL(%rip), %rax movq (%rax), %rax movq _VM_FREELIST_DEFAULT@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq (%rax,%rcx,4), %rbx xorl %edi, %edi testq %rbx, %rbx setns %dil leaq L_.str.1(%rip), %rsi callq _KASSERT movq _vm_phys_free_queues@GOTPCREL(%rip), %rax movq (%rax), %rax movq -16(%r14,%r13), %rcx shlq $3, %rbx addq (%rax,%rcx,8), %rbx movq %rbx, -8(%r14,%r13) incq %r15 movq _vm_phys_nsegs@GOTPCREL(%rip), %rax movslq (%rax), %rax addq $40, %r13 cmpq %rax, %r15 jl LBB0_11 ## %bb.12: cmpl $2, %eax movq _vm_phys_nsegs@GOTPCREL(%rip), %r15 jl LBB0_19 ## %bb.13: movq (%r12), %r12 leaq (%rax,%rax,4), %rax leaq (%r12,%rax,8), %r14 leaq 40(%r12), %r13 leaq L_.str.2(%rip), %rbx jmp LBB0_14 .p2align 4, 0x90 LBB0_35: ## in Loop: Header=BB0_14 Depth=1 movq %r13, %r12 addq $40, %r13 LBB0_36: ## in Loop: Header=BB0_14 Depth=1 cmpq %r14, %r13 jae LBB0_19 LBB0_14: ## =>This Loop Header: Depth=1 ## Child Loop BB0_18 Depth 2 movq (%r12), %rax cmpq 8(%r13), %rax jne LBB0_35 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq 24(%r12), %rax cmpq 24(%r13), %rax jne LBB0_35 ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 movq 16(%r12), %rax movq 40(%r12), %rcx movq %rcx, (%r12) xorl %edi, %edi cmpq 16(%r13), %rax sete %dil movq %rbx, %rsi callq _KASSERT decl (%r15) addq $-40, %r14 cmpq %r14, %r13 jae LBB0_36 ## %bb.17: ## in Loop: Header=BB0_14 Depth=1 movq %r13, %rax .p2align 4, 0x90 LBB0_18: ## Parent Loop BB0_14 Depth=1 ## => This Inner Loop Header: Depth=2 movq -8(%rax), %rcx movq %rcx, 32(%rax) movups -40(%rax), %xmm0 movups -24(%rax), %xmm1 movups %xmm1, 16(%rax) movups %xmm0, (%rax) addq $40, %rax cmpq %r14, %rax jb LBB0_18 jmp LBB0_36 LBB0_19: movq _vm_ndomains@GOTPCREL(%rip), %rax movl (%rax), %ecx testl %ecx, %ecx jle LBB0_34 ## %bb.20: movq _vm_nfreelists@GOTPCREL(%rip), %rax movl (%rax), %eax movq $0, -48(%rbp) ## 8-byte Folded Spill movq _VM_NFREEORDER@GOTPCREL(%rip), %r15 jmp LBB0_21 .p2align 4, 0x90 LBB0_32: ## in Loop: Header=BB0_21 Depth=1 movq _vm_ndomains@GOTPCREL(%rip), %rcx movl (%rcx), %ecx LBB0_33: ## in Loop: Header=BB0_21 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload incq %rdi movslq %ecx, %rdx movq %rdi, -48(%rbp) ## 8-byte Spill cmpq %rdx, %rdi jge LBB0_34 LBB0_21: ## =>This Loop Header: Depth=1 ## Child Loop BB0_23 Depth 2 ## Child Loop BB0_25 Depth 3 ## Child Loop BB0_27 Depth 4 testl %eax, %eax jle LBB0_33 ## %bb.22: ## in Loop: Header=BB0_21 Depth=1 movq _VM_NFREEPOOL@GOTPCREL(%rip), %rcx movl (%rcx), %ecx xorl %r13d, %r13d jmp LBB0_23 .p2align 4, 0x90 LBB0_30: ## in Loop: Header=BB0_23 Depth=2 movq _vm_nfreelists@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_31: ## in Loop: Header=BB0_23 Depth=2 incq %r13 movslq %eax, %rdx cmpq %rdx, %r13 jge LBB0_32 LBB0_23: ## Parent Loop BB0_21 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_25 Depth 3 ## Child Loop BB0_27 Depth 4 testl %ecx, %ecx jle LBB0_31 ## %bb.24: ## in Loop: Header=BB0_23 Depth=2 movl (%r15), %eax xorl %r14d, %r14d jmp LBB0_25 .p2align 4, 0x90 LBB0_28: ## in Loop: Header=BB0_25 Depth=3 movq _VM_NFREEPOOL@GOTPCREL(%rip), %rcx movl (%rcx), %ecx LBB0_29: ## in Loop: Header=BB0_25 Depth=3 incq %r14 movslq %ecx, %rdx cmpq %rdx, %r14 jge LBB0_30 LBB0_25: ## Parent Loop BB0_21 Depth=1 ## Parent Loop BB0_23 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB0_27 Depth 4 testl %eax, %eax jle LBB0_29 ## %bb.26: ## in Loop: Header=BB0_25 Depth=3 movq _vm_phys_free_queues@GOTPCREL(%rip), %rax movq (%rax), %rax movq -48(%rbp), %rcx ## 8-byte Reload movq (%rax,%rcx,8), %rax movq (%rax,%r13,8), %rax movq (%rax,%r14,8), %rbx xorl %r12d, %r12d .p2align 4, 0x90 LBB0_27: ## Parent Loop BB0_21 Depth=1 ## Parent Loop BB0_23 Depth=2 ## Parent Loop BB0_25 Depth=3 ## => This Inner Loop Header: Depth=4 movq %rbx, %rdi callq _TAILQ_INIT incq %r12 movslq (%r15), %rax addq $4, %rbx cmpq %rax, %r12 jl LBB0_27 jmp LBB0_28 LBB0_34: movq _vm_phys_fictitious_reg_lock@GOTPCREL(%rip), %rdi leaq L_.str.3(%rip), %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _rw_init ## TAILCALL .cfi_endproc ## -- End function .comm _vm_phys_nsegs,4,2 ## @vm_phys_nsegs .comm _vm_phys_segs,8,3 ## @vm_phys_segs .comm _vm_freelist_to_flind,8,3 ## @vm_freelist_to_flind .comm _VM_FREELIST_DEFAULT,8,3 ## @VM_FREELIST_DEFAULT .comm _VM_NFREELIST,4,2 ## @VM_NFREELIST .comm _vm_nfreelists,4,2 ## @vm_nfreelists .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "vm_phys_init: no free lists" L_.str.1: ## @.str.1 .asciz "vm_phys_init: DEFAULT flind < 0" .comm _vm_phys_free_queues,8,3 ## @vm_phys_free_queues L_.str.2: ## @.str.2 .asciz "vm_phys_init: free queues cannot span domains" .comm _vm_ndomains,4,2 ## @vm_ndomains .comm _VM_NFREEPOOL,4,2 ## @VM_NFREEPOOL .comm _VM_NFREEORDER,4,2 ## @VM_NFREEORDER .comm _vm_phys_fictitious_reg_lock,4,2 ## @vm_phys_fictitious_reg_lock L_.str.3: ## @.str.3 .asciz "vmfctr" .comm _VM_DMA32_BOUNDARY,8,3 ## @VM_DMA32_BOUNDARY .comm _VM_DMA32_NPAGES_THRESHOLD,8,3 ## @VM_DMA32_NPAGES_THRESHOLD .comm _VM_FREELIST_DMA32,8,3 ## @VM_FREELIST_DMA32 .comm _VM_FREELIST_LOWMEM,8,3 ## @VM_FREELIST_LOWMEM .comm _VM_LOWMEM_BOUNDARY,8,3 ## @VM_LOWMEM_BOUNDARY .comm _vm_page_array,8,3 ## @vm_page_array .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _vm_phys_init ; -- Begin function vm_phys_init .p2align 2 _vm_phys_init: ; @vm_phys_init .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 .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 x22, _vm_phys_nsegs@GOTPAGE Lloh1: ldr x22, [x22, _vm_phys_nsegs@GOTPAGEOFF] ldr w8, [x22] subs w8, w8, #1 b.lt LBB0_3 ; %bb.1: mov w9, #40 ; =0x28 Lloh2: adrp x19, _vm_phys_segs@GOTPAGE Lloh3: ldr x19, [x19, _vm_phys_segs@GOTPAGEOFF] umull x20, w8, w9 Lloh4: adrp x21, _vm_freelist_to_flind@GOTPAGE Lloh5: ldr x21, [x21, _vm_freelist_to_flind@GOTPAGEOFF] Lloh6: adrp x22, _VM_FREELIST_DEFAULT@GOTPAGE Lloh7: ldr x22, [x22, _VM_FREELIST_DEFAULT@GOTPAGEOFF] mov w23, #1 ; =0x1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] add x8, x8, x20 ldp x9, x8, [x8] sub x0, x9, x8 bl _atop ldr x8, [x21] ldr x9, [x22] str w23, [x8, x9, lsl #2] add x20, x20, #40 b LBB0_2 LBB0_3: Lloh8: adrp x24, _vm_freelist_to_flind@GOTPAGE Lloh9: ldr x24, [x24, _vm_freelist_to_flind@GOTPAGEOFF] ldr x8, [x24] Lloh10: adrp x19, _VM_NFREELIST@GOTPAGE Lloh11: ldr x19, [x19, _VM_NFREELIST@GOTPAGEOFF] ldrsw x12, [x19] cmp w12, #1 b.lt LBB0_6 ; %bb.4: mov x9, #0 ; =0x0 mov x10, x8 ldr w11, [x10], #4 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w12, [x10, x9, lsl #2] add w11, w12, w11 str w11, [x10, x9, lsl #2] ldrsw x12, [x19] add x9, x9, #1 cmp x9, x12 b.lt LBB0_5 LBB0_6: add x8, x8, x12, lsl #2 ldur w8, [x8, #-4] Lloh12: adrp x20, _vm_nfreelists@GOTPAGE Lloh13: ldr x20, [x20, _vm_nfreelists@GOTPAGEOFF] str w8, [x20] cmp w8, #0 cset w0, gt Lloh14: adrp x1, l_.str@PAGE Lloh15: add x1, x1, l_.str@PAGEOFF bl _KASSERT ldr w8, [x19] cmp w8, #1 b.lt LBB0_9 ; %bb.7: mov x8, #0 ; =0x0 ldr x9, [x24] LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w10, [x9, x8, lsl #2] sub w10, w10, #1 str w10, [x9, x8, lsl #2] add x8, x8, #1 ldrsw x10, [x19] cmp x8, x10 b.lt LBB0_8 LBB0_9: ldr w8, [x22] Lloh16: adrp x21, _vm_phys_free_queues@GOTPAGE Lloh17: ldr x21, [x21, _vm_phys_free_queues@GOTPAGEOFF] cmp w8, #1 b.lt LBB0_21 ; %bb.10: mov x25, #0 ; =0x0 mov x26, #0 ; =0x0 Lloh18: adrp x27, _vm_phys_segs@GOTPAGE Lloh19: ldr x27, [x27, _vm_phys_segs@GOTPAGEOFF] Lloh20: adrp x19, l_.str.1@PAGE Lloh21: add x19, x19, l_.str.1@PAGEOFF LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr x8, [x27] add x28, x8, x25 ldr x0, [x28, #8] bl _PHYS_TO_VM_PAGE str x0, [x28, #32] ldr x8, [x24] Lloh22: adrp x9, _VM_FREELIST_DEFAULT@GOTPAGE Lloh23: ldr x9, [x9, _VM_FREELIST_DEFAULT@GOTPAGEOFF] Lloh24: ldr x9, [x9] mov x23, x22 ldrsw x22, [x8, x9, lsl #2] lsr x8, x22, #63 eor w0, w8, #0x1 mov x1, x19 bl _KASSERT ldr x8, [x21] ldr x9, [x28, #16] ldr x8, [x8, x9, lsl #3] add x8, x8, x22, lsl #3 mov x22, x23 str x8, [x28, #24] add x26, x26, #1 ldrsw x8, [x23] add x25, x25, #40 cmp x26, x8 b.lt LBB0_11 ; %bb.12: cmp w8, #1 b.le LBB0_21 ; %bb.13: ldr x23, [x27] mov w9, #40 ; =0x28 smaddl x24, w8, w9, x23 add x25, x23, #40 Lloh25: adrp x19, l_.str.2@PAGE Lloh26: add x19, x19, l_.str.2@PAGEOFF b LBB0_16 LBB0_14: ; in Loop: Header=BB0_16 Depth=1 mov x23, x25 add x25, x25, #40 LBB0_15: ; in Loop: Header=BB0_16 Depth=1 cmp x25, x24 b.hs LBB0_21 LBB0_16: ; =>This Loop Header: Depth=1 ; Child Loop BB0_20 Depth 2 ldr x8, [x23] ldr x9, [x25, #8] cmp x8, x9 b.ne LBB0_14 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 ldr x8, [x23, #24] ldr x9, [x25, #24] cmp x8, x9 b.ne LBB0_14 ; %bb.18: ; in Loop: Header=BB0_16 Depth=1 ldr x8, [x23, #40] str x8, [x23] ldr x8, [x23, #16] ldr x9, [x25, #16] cmp x8, x9 cset w0, eq mov x1, x19 bl _KASSERT ldr w8, [x22] sub w8, w8, #1 str w8, [x22] sub x24, x24, #40 cmp x25, x24 b.hs LBB0_15 ; %bb.19: ; in Loop: Header=BB0_16 Depth=1 mov x8, x25 LBB0_20: ; Parent Loop BB0_16 Depth=1 ; => This Inner Loop Header: Depth=2 ldur q0, [x8, #-40] ldur q1, [x8, #-24] stp q0, q1, [x8] ldur x9, [x8, #-8] str x9, [x8, #32] add x8, x8, #40 cmp x8, x24 b.lo LBB0_20 b LBB0_15 LBB0_21: Lloh27: adrp x22, _vm_ndomains@GOTPAGE Lloh28: ldr x22, [x22, _vm_ndomains@GOTPAGEOFF] ldr w9, [x22] cmp w9, #1 b.lt LBB0_36 ; %bb.22: mov x23, #0 ; =0x0 ldr w8, [x20] Lloh29: adrp x24, _VM_NFREEPOOL@GOTPAGE Lloh30: ldr x24, [x24, _VM_NFREEPOOL@GOTPAGEOFF] Lloh31: adrp x25, _VM_NFREEORDER@GOTPAGE Lloh32: ldr x25, [x25, _VM_NFREEORDER@GOTPAGEOFF] b LBB0_25 LBB0_23: ; in Loop: Header=BB0_25 Depth=1 ldr w9, [x22] LBB0_24: ; in Loop: Header=BB0_25 Depth=1 add x23, x23, #1 cmp x23, w9, sxtw b.ge LBB0_36 LBB0_25: ; =>This Loop Header: Depth=1 ; Child Loop BB0_29 Depth 2 ; Child Loop BB0_33 Depth 3 ; Child Loop BB0_35 Depth 4 cmp w8, #1 b.lt LBB0_24 ; %bb.26: ; in Loop: Header=BB0_25 Depth=1 mov x26, #0 ; =0x0 ldr w9, [x24] b LBB0_29 LBB0_27: ; in Loop: Header=BB0_29 Depth=2 ldr w8, [x20] LBB0_28: ; in Loop: Header=BB0_29 Depth=2 add x26, x26, #1 cmp x26, w8, sxtw b.ge LBB0_23 LBB0_29: ; Parent Loop BB0_25 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_33 Depth 3 ; Child Loop BB0_35 Depth 4 cmp w9, #1 b.lt LBB0_28 ; %bb.30: ; in Loop: Header=BB0_29 Depth=2 mov x27, #0 ; =0x0 ldr w8, [x25] b LBB0_33 LBB0_31: ; in Loop: Header=BB0_33 Depth=3 ldr w9, [x24] LBB0_32: ; in Loop: Header=BB0_33 Depth=3 add x27, x27, #1 cmp x27, w9, sxtw b.ge LBB0_27 LBB0_33: ; Parent Loop BB0_25 Depth=1 ; Parent Loop BB0_29 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB0_35 Depth 4 cmp w8, #1 b.lt LBB0_32 ; %bb.34: ; in Loop: Header=BB0_33 Depth=3 mov x28, #0 ; =0x0 ldr x8, [x21] ldr x8, [x8, x23, lsl #3] ldr x8, [x8, x26, lsl #3] ldr x19, [x8, x27, lsl #3] LBB0_35: ; Parent Loop BB0_25 Depth=1 ; Parent Loop BB0_29 Depth=2 ; Parent Loop BB0_33 Depth=3 ; => This Inner Loop Header: Depth=4 mov x0, x19 bl _TAILQ_INIT add x28, x28, #1 ldrsw x8, [x25] add x19, x19, #4 cmp x28, x8 b.lt LBB0_35 b LBB0_31 LBB0_36: Lloh33: adrp x0, _vm_phys_fictitious_reg_lock@GOTPAGE Lloh34: ldr x0, [x0, _vm_phys_fictitious_reg_lock@GOTPAGEOFF] Lloh35: adrp x1, l_.str.3@PAGE Lloh36: add x1, x1, l_.str.3@PAGEOFF ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _rw_init .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGot Lloh27, Lloh28 .loh AdrpLdrGot Lloh31, Lloh32 .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpLdrGot Lloh33, Lloh34 .cfi_endproc ; -- End function .comm _vm_phys_nsegs,4,2 ; @vm_phys_nsegs .comm _vm_phys_segs,8,3 ; @vm_phys_segs .comm _vm_freelist_to_flind,8,3 ; @vm_freelist_to_flind .comm _VM_FREELIST_DEFAULT,8,3 ; @VM_FREELIST_DEFAULT .comm _VM_NFREELIST,4,2 ; @VM_NFREELIST .comm _vm_nfreelists,4,2 ; @vm_nfreelists .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "vm_phys_init: no free lists" l_.str.1: ; @.str.1 .asciz "vm_phys_init: DEFAULT flind < 0" .comm _vm_phys_free_queues,8,3 ; @vm_phys_free_queues l_.str.2: ; @.str.2 .asciz "vm_phys_init: free queues cannot span domains" .comm _vm_ndomains,4,2 ; @vm_ndomains .comm _VM_NFREEPOOL,4,2 ; @VM_NFREEPOOL .comm _VM_NFREEORDER,4,2 ; @VM_NFREEORDER .comm _vm_phys_fictitious_reg_lock,4,2 ; @vm_phys_fictitious_reg_lock l_.str.3: ; @.str.3 .asciz "vmfctr" .comm _VM_DMA32_BOUNDARY,8,3 ; @VM_DMA32_BOUNDARY .comm _VM_DMA32_NPAGES_THRESHOLD,8,3 ; @VM_DMA32_NPAGES_THRESHOLD .comm _VM_FREELIST_DMA32,8,3 ; @VM_FREELIST_DMA32 .comm _VM_FREELIST_LOWMEM,8,3 ; @VM_FREELIST_LOWMEM .comm _VM_LOWMEM_BOUNDARY,8,3 ; @VM_LOWMEM_BOUNDARY .comm _vm_page_array,8,3 ; @vm_page_array .subsections_via_symbols
assembly_file_175547.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_tree _get_tree: ## @get_tree .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 _refcount_inc ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _get_tree .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_tree _get_tree: ; @get_tree .cfi_startproc ; %bb.0: b _refcount_inc .cfi_endproc ; -- End function .no_dead_strip _get_tree .subsections_via_symbols
AnghaBench/linux/kernel/extr_audit_tree.c_get_tree.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pic32_spi_set_clk_rate _pic32_spi_set_clk_rate: ## @pic32_spi_set_clk_rate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movq %rdi, %r14 movl 8(%rdi), %edi callq _clk_get_rate addl %ebx, %ebx movl %eax, %edi movl %ebx, %esi callq _DIV_ROUND_CLOSEST ## kill: def $eax killed $eax def $rax leal -1(%rax), %edi movq _BAUD_MASK@GOTPCREL(%rip), %rax andl (%rax), %edi movq (%r14), %rsi popq %rbx popq %r14 popq %rbp jmp _writel ## TAILCALL .cfi_endproc ## -- End function .comm _BAUD_MASK,4,2 ## @BAUD_MASK .no_dead_strip _pic32_spi_set_clk_rate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pic32_spi_set_clk_rate _pic32_spi_set_clk_rate: ; @pic32_spi_set_clk_rate .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 ldr w0, [x0, #8] bl _clk_get_rate lsl w1, w19, #1 bl _DIV_ROUND_CLOSEST Lloh0: adrp x8, _BAUD_MASK@GOTPAGE Lloh1: ldr x8, [x8, _BAUD_MASK@GOTPAGEOFF] sub w9, w0, #1 Lloh2: ldr w8, [x8] and w0, w9, w8 ldr x1, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _writel .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _BAUD_MASK,4,2 ; @BAUD_MASK .no_dead_strip _pic32_spi_set_clk_rate .subsections_via_symbols
AnghaBench/linux/drivers/spi/extr_spi-pic32.c_pic32_spi_set_clk_rate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vidioc_enum_input _vidioc_enum_input: ## @vidioc_enum_input .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpq $0, (%rdx) je LBB0_2 ## %bb.1: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbp retq LBB0_2: movq _V4L2_INPUT_TYPE_CAMERA@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%rdx) movl 8(%rsi), %eax movl %eax, 12(%rdx) movl 8(%rdx), %edi movq (%rsi), %rax movl (%rax), %esi movl $4, %edx callq _strncpy xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _V4L2_INPUT_TYPE_CAMERA,4,2 ## @V4L2_INPUT_TYPE_CAMERA .no_dead_strip _vidioc_enum_input .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vidioc_enum_input _vidioc_enum_input: ; @vidioc_enum_input .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr x8, [x2] cbz x8, LBB0_2 ; %bb.1: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: Lloh3: adrp x8, _V4L2_INPUT_TYPE_CAMERA@GOTPAGE Lloh4: ldr x8, [x8, _V4L2_INPUT_TYPE_CAMERA@GOTPAGEOFF] Lloh5: ldr w8, [x8] ldr w9, [x1, #8] stp w9, w8, [x2, #12] ldr w0, [x2, #8] ldr x8, [x1] ldr w1, [x8] mov w2, #4 bl _strncpy mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _V4L2_INPUT_TYPE_CAMERA,4,2 ; @V4L2_INPUT_TYPE_CAMERA .no_dead_strip _vidioc_enum_input .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_gspca.c_vidioc_enum_input.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function xcs_engine_wa_init _xcs_engine_wa_init: ## @xcs_engine_wa_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx movq 8(%rdi), %rdi movq _KBL_REVID_A0@GOTPCREL(%rip), %rax movl (%rax), %esi movq _KBL_REVID_E0@GOTPCREL(%rip), %rax movl (%rax), %edx callq _IS_KBL_REVID testq %rax, %rax je LBB0_1 ## %bb.2: movl (%rbx), %edi callq _RING_SEMA_WAIT_POLL movq %r14, %rdi movl %eax, %esi movl $1, %edx popq %rbx popq %r14 popq %rbp jmp _wa_write ## TAILCALL LBB0_1: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _KBL_REVID_A0,4,2 ## @KBL_REVID_A0 .comm _KBL_REVID_E0,4,2 ## @KBL_REVID_E0 .no_dead_strip _xcs_engine_wa_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function xcs_engine_wa_init _xcs_engine_wa_init: ; @xcs_engine_wa_init .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 ldr x0, [x0, #8] Lloh0: adrp x8, _KBL_REVID_A0@GOTPAGE Lloh1: ldr x8, [x8, _KBL_REVID_A0@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _KBL_REVID_E0@GOTPAGE Lloh4: ldr x8, [x8, _KBL_REVID_E0@GOTPAGEOFF] Lloh5: ldr w2, [x8] bl _IS_KBL_REVID cbz x0, LBB0_2 ; %bb.1: ldr w0, [x20] bl _RING_SEMA_WAIT_POLL mov x1, x0 mov x0, x19 mov w2, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _wa_write LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _KBL_REVID_A0,4,2 ; @KBL_REVID_A0 .comm _KBL_REVID_E0,4,2 ; @KBL_REVID_E0 .no_dead_strip _xcs_engine_wa_init .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_workarounds.c_xcs_engine_wa_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SiSaverThread ## -- Begin function SiSaverThread .p2align 4, 0x90 _SiSaverThread: ## @SiSaverThread .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 testq %rdi, %rdi je LBB0_6 ## %bb.1: movq %rsi, %rbx testq %rsi, %rsi jne LBB0_2 LBB0_6: addq $8, %rsp popq %rbx popq %rbp retq .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movl 8(%rbx), %esi movl 12(%rbx), %edi callq _Wait LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpl $0, (%rbx) jne LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpl $0, 4(%rbx) jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi callq _SiWriteConfigurationFile jmp LBB0_5 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SiSaverThread ; -- Begin function SiSaverThread .p2align 2 _SiSaverThread: ; @SiSaverThread .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cbz x0, LBB0_2 ; %bb.1: mov x19, x1 cbnz x1, LBB0_4 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldp w1, w0, [x19, #8] bl _Wait LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19] cbnz w8, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x19, #4] cbnz w8, LBB0_3 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 bl _SiWriteConfigurationFile b LBB0_3 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Cedar/extr_Server.c_SiSaverThread.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function soc_common_pcmcia_skt_state _soc_common_pcmcia_skt_state: ## @soc_common_pcmcia_skt_state .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 %rdi, %rbx leaq -40(%rbp), %rdi xorl %esi, %esi movl $32, %edx callq _memset movabsq $4294967297, %rax ## imm = 0x100000001 movq %rax, -40(%rbp) movq 24(%rbx), %rax movq _SOC_STAT_CD@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.1: callq _gpiod_get_value xorl %ecx, %ecx testl %eax, %eax setne %cl movl %ecx, -32(%rbp) movq 24(%rbx), %rax LBB0_2: movq _SOC_STAT_RDY@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.3: callq _gpiod_get_value xorl %ecx, %ecx testl %eax, %eax setne %cl movl %ecx, -28(%rbp) movq 24(%rbx), %rax LBB0_4: movq _SOC_STAT_BVD1@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rdi testq %rdi, %rdi je LBB0_6 ## %bb.5: callq _gpiod_get_value xorl %ecx, %ecx testl %eax, %eax setne %cl movl %ecx, -40(%rbp) movq 24(%rbx), %rax LBB0_6: movq _SOC_STAT_BVD2@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rdi testq %rdi, %rdi je LBB0_8 ## %bb.7: callq _gpiod_get_value xorl %ecx, %ecx testl %eax, %eax setne %cl movl %ecx, -36(%rbp) movq 24(%rbx), %rax LBB0_8: movq _SOC_STAT_VS1@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rdi testq %rdi, %rdi je LBB0_10 ## %bb.9: callq _gpiod_get_value xorl %ecx, %ecx testl %eax, %eax setne %cl movl %ecx, -24(%rbp) movq 24(%rbx), %rax LBB0_10: movq _SOC_STAT_VS2@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rdi testq %rdi, %rdi je LBB0_12 ## %bb.11: callq _gpiod_get_value xorl %ecx, %ecx testl %eax, %eax setne %cl movl %ecx, -20(%rbp) LBB0_12: movq 16(%rbx), %rax leaq -40(%rbp), %rsi movq %rbx, %rdi callq *(%rax) movl -32(%rbp), %edx testl %edx, %edx je LBB0_14 ## %bb.13: movq _SS_DETECT@GOTPCREL(%rip), %rax movl (%rax), %edx LBB0_14: movl -28(%rbp), %eax testl %eax, %eax je LBB0_16 ## %bb.15: movq _SS_READY@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_16: xorl %ecx, %ecx cmpq $0, -16(%rbp) movl $0, %esi je LBB0_18 ## %bb.17: movq _SS_WRPROT@GOTPCREL(%rip), %rsi movl (%rsi), %esi LBB0_18: movl -24(%rbp), %edi testl %edi, %edi je LBB0_20 ## %bb.19: movq _SS_3VCARD@GOTPCREL(%rip), %rdi movl (%rdi), %edi LBB0_20: orl %edi, %esi orl %edx, %eax movl -20(%rbp), %edx testl %edx, %edx je LBB0_22 ## %bb.21: movq _SS_XVCARD@GOTPCREL(%rip), %rdx movl (%rdx), %edx LBB0_22: orl %esi, %eax cmpq $0, 8(%rbx) je LBB0_24 ## %bb.23: movq _SS_POWERON@GOTPCREL(%rip), %rcx movl (%rcx), %ecx LBB0_24: orl %ecx, %edx orl %edx, %eax movl -40(%rbp), %ecx movq _SS_IOCARD@GOTPCREL(%rip), %rdx movl (%rdx), %edx testl %edx, (%rbx) je LBB0_28 ## %bb.25: xorl %edx, %edx testl %ecx, %ecx jne LBB0_27 ## %bb.26: movq _SS_STSCHG@GOTPCREL(%rip), %rcx movl (%rcx), %edx LBB0_27: orl %edx, %eax jmp LBB0_33 LBB0_28: testl %ecx, %ecx je LBB0_29 ## %bb.30: cmpl $0, -36(%rbp) jne LBB0_33 ## %bb.31: movq _SS_BATWARN@GOTPCREL(%rip), %rcx jmp LBB0_32 LBB0_29: movq _SS_BATDEAD@GOTPCREL(%rip), %rcx LBB0_32: orl (%rcx), %eax LBB0_33: addq $40, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _SOC_STAT_CD,8,3 ## @SOC_STAT_CD .comm _SOC_STAT_RDY,8,3 ## @SOC_STAT_RDY .comm _SOC_STAT_BVD1,8,3 ## @SOC_STAT_BVD1 .comm _SOC_STAT_BVD2,8,3 ## @SOC_STAT_BVD2 .comm _SOC_STAT_VS1,8,3 ## @SOC_STAT_VS1 .comm _SOC_STAT_VS2,8,3 ## @SOC_STAT_VS2 .comm _SS_DETECT,4,2 ## @SS_DETECT .comm _SS_READY,4,2 ## @SS_READY .comm _SS_WRPROT,4,2 ## @SS_WRPROT .comm _SS_3VCARD,4,2 ## @SS_3VCARD .comm _SS_XVCARD,4,2 ## @SS_XVCARD .comm _SS_POWERON,4,2 ## @SS_POWERON .comm _SS_IOCARD,4,2 ## @SS_IOCARD .comm _SS_STSCHG,4,2 ## @SS_STSCHG .comm _SS_BATDEAD,4,2 ## @SS_BATDEAD .comm _SS_BATWARN,4,2 ## @SS_BATWARN .no_dead_strip _soc_common_pcmcia_skt_state .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function soc_common_pcmcia_skt_state _soc_common_pcmcia_skt_state: ; @soc_common_pcmcia_skt_state .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, sp mov w1, #0 mov w2, #32 bl _memset movi.2s v0, #1 str d0, [sp] ldr x8, [x19, #24] Lloh0: adrp x9, _SOC_STAT_CD@GOTPAGE Lloh1: ldr x9, [x9, _SOC_STAT_CD@GOTPAGEOFF] Lloh2: ldr x9, [x9] ldr x0, [x8, x9, lsl #3] cbz x0, LBB0_2 ; %bb.1: bl _gpiod_get_value cmp w0, #0 cset w8, ne str w8, [sp, #8] ldr x8, [x19, #24] LBB0_2: Lloh3: adrp x9, _SOC_STAT_RDY@GOTPAGE Lloh4: ldr x9, [x9, _SOC_STAT_RDY@GOTPAGEOFF] Lloh5: ldr x9, [x9] ldr x0, [x8, x9, lsl #3] cbz x0, LBB0_4 ; %bb.3: bl _gpiod_get_value cmp w0, #0 cset w8, ne str w8, [sp, #12] ldr x8, [x19, #24] LBB0_4: Lloh6: adrp x9, _SOC_STAT_BVD1@GOTPAGE Lloh7: ldr x9, [x9, _SOC_STAT_BVD1@GOTPAGEOFF] Lloh8: ldr x9, [x9] ldr x0, [x8, x9, lsl #3] cbz x0, LBB0_6 ; %bb.5: bl _gpiod_get_value cmp w0, #0 cset w8, ne str w8, [sp] ldr x8, [x19, #24] LBB0_6: Lloh9: adrp x9, _SOC_STAT_BVD2@GOTPAGE Lloh10: ldr x9, [x9, _SOC_STAT_BVD2@GOTPAGEOFF] Lloh11: ldr x9, [x9] ldr x0, [x8, x9, lsl #3] cbz x0, LBB0_8 ; %bb.7: bl _gpiod_get_value cmp w0, #0 cset w8, ne str w8, [sp, #4] ldr x8, [x19, #24] LBB0_8: Lloh12: adrp x9, _SOC_STAT_VS1@GOTPAGE Lloh13: ldr x9, [x9, _SOC_STAT_VS1@GOTPAGEOFF] Lloh14: ldr x9, [x9] ldr x0, [x8, x9, lsl #3] cbz x0, LBB0_10 ; %bb.9: bl _gpiod_get_value cmp w0, #0 cset w8, ne str w8, [sp, #16] ldr x8, [x19, #24] LBB0_10: Lloh15: adrp x9, _SOC_STAT_VS2@GOTPAGE Lloh16: ldr x9, [x9, _SOC_STAT_VS2@GOTPAGEOFF] Lloh17: ldr x9, [x9] ldr x0, [x8, x9, lsl #3] cbz x0, LBB0_12 ; %bb.11: bl _gpiod_get_value cmp w0, #0 cset w8, ne str w8, [sp, #20] LBB0_12: ldr x8, [x19, #16] ldr x8, [x8] mov x1, sp mov x0, x19 blr x8 Lloh18: adrp x8, _SS_DETECT@GOTPAGE Lloh19: ldr x8, [x8, _SS_DETECT@GOTPAGEOFF] Lloh20: ldr w9, [x8] ldp w10, w11, [sp, #8] ldr w8, [sp] cmp w10, #0 csel w9, wzr, w9, eq Lloh21: adrp x10, _SS_READY@GOTPAGE Lloh22: ldr x10, [x10, _SS_READY@GOTPAGEOFF] Lloh23: ldr w10, [x10] ldr w12, [sp, #16] cmp w11, #0 csel w10, wzr, w10, eq orr w9, w10, w9 Lloh24: adrp x10, _SS_WRPROT@GOTPAGE Lloh25: ldr x10, [x10, _SS_WRPROT@GOTPAGEOFF] ldr x11, [sp, #24] Lloh26: ldr w10, [x10] cmp x11, #0 csel w10, wzr, w10, eq Lloh27: adrp x11, _SS_3VCARD@GOTPAGE Lloh28: ldr x11, [x11, _SS_3VCARD@GOTPAGEOFF] orr w9, w9, w10 Lloh29: ldr w10, [x11] cmp w12, #0 csel w10, wzr, w10, eq orr w9, w9, w10 ldr w10, [sp, #20] Lloh30: adrp x11, _SS_XVCARD@GOTPAGE Lloh31: ldr x11, [x11, _SS_XVCARD@GOTPAGEOFF] Lloh32: ldr w11, [x11] cmp w10, #0 csel w10, wzr, w11, eq orr w9, w9, w10 ldr x10, [x19, #8] cmp x10, #0 Lloh33: adrp x10, _SS_POWERON@GOTPAGE Lloh34: ldr x10, [x10, _SS_POWERON@GOTPAGEOFF] Lloh35: ldr w10, [x10] csel w10, wzr, w10, eq orr w0, w9, w10 ldr w9, [x19] Lloh36: adrp x10, _SS_IOCARD@GOTPAGE Lloh37: ldr x10, [x10, _SS_IOCARD@GOTPAGEOFF] Lloh38: ldr w10, [x10] tst w10, w9 b.eq LBB0_14 ; %bb.13: Lloh39: adrp x9, _SS_STSCHG@GOTPAGE Lloh40: ldr x9, [x9, _SS_STSCHG@GOTPAGEOFF] Lloh41: ldr w9, [x9] cmp w8, #0 csel w8, w9, wzr, eq b LBB0_19 LBB0_14: cbz w8, LBB0_17 ; %bb.15: ldr w8, [sp, #4] cbnz w8, LBB0_20 ; %bb.16: Lloh42: adrp x8, _SS_BATWARN@GOTPAGE Lloh43: ldr x8, [x8, _SS_BATWARN@GOTPAGEOFF] b LBB0_18 LBB0_17: Lloh44: adrp x8, _SS_BATDEAD@GOTPAGE Lloh45: ldr x8, [x8, _SS_BATDEAD@GOTPAGEOFF] LBB0_18: ldr w8, [x8] LBB0_19: orr w0, w8, w0 LBB0_20: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGot Lloh42, Lloh43 .loh AdrpLdrGot Lloh44, Lloh45 .cfi_endproc ; -- End function .comm _SOC_STAT_CD,8,3 ; @SOC_STAT_CD .comm _SOC_STAT_RDY,8,3 ; @SOC_STAT_RDY .comm _SOC_STAT_BVD1,8,3 ; @SOC_STAT_BVD1 .comm _SOC_STAT_BVD2,8,3 ; @SOC_STAT_BVD2 .comm _SOC_STAT_VS1,8,3 ; @SOC_STAT_VS1 .comm _SOC_STAT_VS2,8,3 ; @SOC_STAT_VS2 .comm _SS_DETECT,4,2 ; @SS_DETECT .comm _SS_READY,4,2 ; @SS_READY .comm _SS_WRPROT,4,2 ; @SS_WRPROT .comm _SS_3VCARD,4,2 ; @SS_3VCARD .comm _SS_XVCARD,4,2 ; @SS_XVCARD .comm _SS_POWERON,4,2 ; @SS_POWERON .comm _SS_IOCARD,4,2 ; @SS_IOCARD .comm _SS_STSCHG,4,2 ; @SS_STSCHG .comm _SS_BATDEAD,4,2 ; @SS_BATDEAD .comm _SS_BATWARN,4,2 ; @SS_BATWARN .no_dead_strip _soc_common_pcmcia_skt_state .subsections_via_symbols
AnghaBench/linux/drivers/pcmcia/extr_soc_common.c_soc_common_pcmcia_skt_state.c
anghabench