x86
stringlengths
122
9.39M
arm
stringlengths
122
9.33M
file
stringlengths
19
200
source
stringclasses
2 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __FAT_read_r ## -- Begin function _FAT_read_r .p2align 4, 0x90 __FAT_read_r: ## @_FAT_read_r .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %r14d, %r14d testq %rcx, %rcx je LBB0_55 ## %bb.1: movq %rsi, %rbx testq %rsi, %rsi je LBB0_4 ## %bb.2: cmpl $0, 60(%rbx) je LBB0_4 ## %bb.3: cmpl $0, 56(%rbx) je LBB0_4 ## %bb.5: movq %rcx, %r13 movq %rdx, %r12 movq %rdi, -88(%rbp) ## 8-byte Spill movq 48(%rbx), %r15 leaq 24(%r15), %rdi movq %rdi, -80(%rbp) ## 8-byte Spill callq __FAT_lock movq (%rbx), %rcx movq 8(%rbx), %rdx movq %rdx, %rax subq %rcx, %rax jle LBB0_7 ## %bb.6: movq 16(%rbx), %rsi movq _CLUSTER_FREE@GOTPCREL(%rip), %rdi cmpq (%rdi), %rsi jne LBB0_8 LBB0_7: movq _EOVERFLOW@GOTPCREL(%rip), %rax movq (%rax), %rax movq -88(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) movq -80(%rbp), %rdi ## 8-byte Reload callq __FAT_unlock jmp LBB0_55 LBB0_4: movq _EBADF@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, (%rdi) movl $-1, %r14d LBB0_55: movl %r14d, %eax addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: addq %r13, %rcx cmpq %rdx, %rcx jbe LBB0_10 ## %bb.9: movq _EOVERFLOW@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq -88(%rbp), %rdx ## 8-byte Reload movq %rcx, (%rdx) movq %rax, %r13 LBB0_10: movl 24(%rbx), %r14d movl 28(%rbx), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq 32(%rbx), %rsi movq 40(%rbx), %r8 movq %rbx, -120(%rbp) ## 8-byte Spill movq 48(%rbx), %rax movq 32(%rax), %rdx movl (%r15), %eax movl %eax, %ecx subl %r14d, %ecx cmpq %rcx, %r13 movl %r13d, %ebx cmovael %ecx, %ebx cmpl %eax, %ebx movq %rdx, -104(%rbp) ## 8-byte Spill movq %rsi, -64(%rbp) ## 8-byte Spill jae LBB0_11 ## %bb.12: movq %r15, %rdi movq %r8, -56(%rbp) ## 8-byte Spill callq __FAT_fat_clusterToSector movq -56(%rbp), %rcx ## 8-byte Reload leaq (%rax,%rcx), %rdx movl %ebx, %r8d movq %r8, -72(%rbp) ## 8-byte Spill movq -104(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movl %r14d, %ecx callq __FAT_cache_readPartialSector movq -64(%rbp), %rsi ## 8-byte Reload movq -56(%rbp), %r8 ## 8-byte Reload addl %r14d, %ebx movl (%r15), %eax cmpl %eax, %ebx sbbq $-1, %r8 xorl %ecx, %ecx cmpl %eax, %ebx cmovbl %ebx, %ecx movl %ecx, -92(%rbp) ## 4-byte Spill movq %r13, %r14 movq -72(%rbp), %rcx ## 8-byte Reload subq %rcx, %r14 addq %rcx, %r12 jmp LBB0_13 LBB0_11: movl %r14d, -92(%rbp) ## 4-byte Spill movq %r13, %r14 LBB0_13: movq 8(%r15), %rcx movq %rcx, %rbx subq %r8, %rbx movl %eax, %edi movq %rbx, %rax imulq %rdi, %rax cmpq %rax, %r14 ja LBB0_17 ## %bb.14: movq %r14, %rax shrq $32, %rax je LBB0_15 ## %bb.16: movq %r14, %rax xorl %edx, %edx divq %rdi movq %rax, %rbx jmp LBB0_17 LBB0_15: movl %r14d, %eax xorl %edx, %edx divl %edi movl %eax, %ebx LBB0_17: testl %ebx, %ebx je LBB0_22 ## %bb.18: movq %r15, %rdi movq %r12, -72(%rbp) ## 8-byte Spill movq %r8, %r12 callq __FAT_fat_clusterToSector movq %r12, -56(%rbp) ## 8-byte Spill leaq (%rax,%r12), %rsi movq -72(%rbp), %r12 ## 8-byte Reload movq -104(%rbp), %rdi ## 8-byte Reload movl %ebx, %edx movq %r12, %rcx callq __FAT_cache_readSectors testl %eax, %eax je LBB0_19 ## %bb.21: movl (%r15), %eax imull %ebx, %eax addq %rax, %r12 subq %rax, %r14 movl %ebx, %eax movq -56(%rbp), %r8 ## 8-byte Reload addq %rax, %r8 movq 8(%r15), %rcx movq -64(%rbp), %rsi ## 8-byte Reload LBB0_22: cmpq %rcx, %r8 jb LBB0_28 ## %bb.23: movq %r8, -56(%rbp) ## 8-byte Spill movq %r15, %rdi callq __FAT_fat_nextCluster movq %rax, %rbx testq %r14, %r14 jne LBB0_26 ## %bb.24: movq _CLUSTER_EOF@GOTPCREL(%rip), %rax cmpq (%rax), %rbx jne LBB0_26 ## %bb.25: movq 8(%r15), %r8 xorl %r14d, %r14d movq -64(%rbp), %rsi ## 8-byte Reload jmp LBB0_28 LBB0_26: movq %r15, %rdi movq %rbx, %rsi callq __FAT_fat_isValidCluster testl %eax, %eax je LBB0_19 ## %bb.27: xorl %r8d, %r8d movq %rbx, %rsi LBB0_28: movq %r13, -112(%rbp) ## 8-byte Spill cmpq 16(%r15), %r14 jae LBB0_30 ## %bb.29: movq %rsi, %rbx LBB0_44: movq %r12, -72(%rbp) ## 8-byte Spill movl (%r15), %ecx movq %r14, %rax shrq $32, %rax je LBB0_45 ## %bb.46: movq %r14, %rax xorl %edx, %edx divq %rcx movq %rax, %r12 jmp LBB0_47 LBB0_40: ## in Loop: Header=BB0_30 Depth=1 movq 8(%r15), %r8 xorl %r14d, %r14d LBB0_43: ## in Loop: Header=BB0_30 Depth=1 movq -72(%rbp), %r12 ## 8-byte Reload addq %r13, %r12 movq %rbx, %rsi cmpq 16(%r15), %r14 jb LBB0_44 LBB0_30: ## =>This Loop Header: Depth=1 ## Child Loop BB0_31 Depth 2 movq %r12, -72(%rbp) ## 8-byte Spill movq %r8, -56(%rbp) ## 8-byte Spill movq %rsi, -64(%rbp) ## 8-byte Spill movq %rsi, %r12 xorl %r13d, %r13d .p2align 4, 0x90 LBB0_31: ## Parent Loop BB0_30 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r12, %rbx movq %r15, %rdi movq %r12, %rsi callq __FAT_fat_nextCluster movq %rax, %r12 movq 16(%r15), %rax addq %rax, %r13 leaq 1(%rbx), %rcx cmpq %rcx, %r12 jne LBB0_33 ## %bb.32: ## in Loop: Header=BB0_31 Depth=2 addq %r13, %rax cmpq %r14, %rax jbe LBB0_31 LBB0_33: ## in Loop: Header=BB0_30 Depth=1 movq %r15, %rdi movq -64(%rbp), %rsi ## 8-byte Reload callq __FAT_fat_clusterToSector movq %rax, %rsi movl (%r15), %ecx movq %r13, %rax shrq $32, %rax je LBB0_34 ## %bb.35: ## in Loop: Header=BB0_30 Depth=1 movq %r13, %rax xorl %edx, %edx divq %rcx jmp LBB0_36 LBB0_34: ## in Loop: Header=BB0_30 Depth=1 movl %r13d, %eax xorl %edx, %edx divl %ecx ## kill: def $eax killed $eax def $rax LBB0_36: ## in Loop: Header=BB0_30 Depth=1 movq -104(%rbp), %rdi ## 8-byte Reload movl %eax, %edx movq -72(%rbp), %rcx ## 8-byte Reload callq __FAT_cache_readSectors testl %eax, %eax je LBB0_37 ## %bb.38: ## in Loop: Header=BB0_30 Depth=1 subq %r13, %r14 jne LBB0_41 ## %bb.39: ## in Loop: Header=BB0_30 Depth=1 movq _CLUSTER_EOF@GOTPCREL(%rip), %rax cmpq (%rax), %r12 je LBB0_40 LBB0_41: ## in Loop: Header=BB0_30 Depth=1 movq %r15, %rdi movq %r12, %rsi callq __FAT_fat_isValidCluster testl %eax, %eax je LBB0_37 ## %bb.42: ## in Loop: Header=BB0_30 Depth=1 xorl %r8d, %r8d movq %r12, %rbx jmp LBB0_43 LBB0_19: movq _EIO@GOTPCREL(%rip), %rax movq (%rax), %rax movq -88(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) jmp LBB0_20 LBB0_37: movq _EIO@GOTPCREL(%rip), %rax movq (%rax), %rax movq -88(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) movq -112(%rbp), %r13 ## 8-byte Reload LBB0_20: movq -80(%rbp), %rdi ## 8-byte Reload movl -44(%rbp), %ecx ## 4-byte Reload movq -56(%rbp), %r8 ## 8-byte Reload movq -64(%rbp), %rbx ## 8-byte Reload jmp LBB0_54 LBB0_45: movl %r14d, %eax xorl %edx, %edx divl %ecx movl %eax, %r12d LBB0_47: movq -112(%rbp), %r13 ## 8-byte Reload testl %r12d, %r12d je LBB0_51 ## %bb.48: movq %r8, -56(%rbp) ## 8-byte Spill movq %r15, %rdi movq %rbx, %rsi callq __FAT_fat_clusterToSector movq -104(%rbp), %rdi ## 8-byte Reload movq %rax, %rsi movq %r12, -64(%rbp) ## 8-byte Spill movl %r12d, %edx movq -72(%rbp), %r12 ## 8-byte Reload movq %r12, %rcx callq __FAT_cache_readSectors testl %eax, %eax je LBB0_49 ## %bb.50: movl (%r15), %eax movq -64(%rbp), %rcx ## 8-byte Reload imull %ecx, %eax addq %rax, %r12 movq %r12, -72(%rbp) ## 8-byte Spill subq %rax, %r14 movl %ecx, %eax movq -56(%rbp), %r8 ## 8-byte Reload addq %rax, %r8 LBB0_51: testq %r14, %r14 je LBB0_53 ## %bb.52: movq %r15, %rdi movq %rbx, %rsi movq %r8, %r15 callq __FAT_fat_clusterToSector leaq (%rax,%r15), %rdx movq -104(%rbp), %rdi ## 8-byte Reload movq -72(%rbp), %rsi ## 8-byte Reload xorl %ecx, %ecx movq %r14, %r8 callq __FAT_cache_readPartialSector movq %r15, %r8 addl %r14d, -92(%rbp) ## 4-byte Folded Spill xorl %r14d, %r14d LBB0_53: movq -80(%rbp), %rdi ## 8-byte Reload movl -44(%rbp), %ecx ## 4-byte Reload jmp LBB0_54 LBB0_49: movq _EIO@GOTPCREL(%rip), %rax movq (%rax), %rax movq -88(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) movq -80(%rbp), %rdi ## 8-byte Reload movl -44(%rbp), %ecx ## 4-byte Reload movq -56(%rbp), %r8 ## 8-byte Reload LBB0_54: subq %r14, %r13 movq -120(%rbp), %rax ## 8-byte Reload movl -92(%rbp), %edx ## 4-byte Reload movl %edx, 24(%rax) movl %ecx, 28(%rax) movq %rbx, 32(%rax) movq %r8, 40(%rax) addq %r13, (%rax) callq __FAT_unlock movl %r13d, %r14d jmp LBB0_55 .cfi_endproc ## -- End function .comm _EBADF,8,3 ## @EBADF .comm _CLUSTER_FREE,8,3 ## @CLUSTER_FREE .comm _EOVERFLOW,8,3 ## @EOVERFLOW .comm _EIO,8,3 ## @EIO .comm _CLUSTER_EOF,8,3 ## @CLUSTER_EOF .comm _LIMIT_SECTORS,8,3 ## @LIMIT_SECTORS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __FAT_read_r ; -- Begin function _FAT_read_r .p2align 2 __FAT_read_r: ; @_FAT_read_r .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x3 cbz x3, LBB0_8 ; %bb.1: mov x19, x1 mov x24, x0 cbz x1, LBB0_7 ; %bb.2: ldr w8, [x19, #60] cbz w8, LBB0_7 ; %bb.3: ldr w8, [x19, #56] cbz w8, LBB0_7 ; %bb.4: mov x23, x2 ldr x26, [x19, #48] add x21, x26, #24 mov x0, x21 bl __FAT_lock ldp x9, x10, [x19] subs x8, x10, x9 b.le LBB0_6 ; %bb.5: ldr x11, [x19, #16] Lloh0: adrp x12, _CLUSTER_FREE@GOTPAGE Lloh1: ldr x12, [x12, _CLUSTER_FREE@GOTPAGEOFF] Lloh2: ldr x12, [x12] cmp x11, x12 b.ne LBB0_9 LBB0_6: Lloh3: adrp x8, _EOVERFLOW@GOTPAGE Lloh4: ldr x8, [x8, _EOVERFLOW@GOTPAGEOFF] Lloh5: ldr x8, [x8] str x8, [x24] mov x0, x21 bl __FAT_unlock mov w20, #0 b LBB0_8 LBB0_7: Lloh6: adrp x8, _EBADF@GOTPAGE Lloh7: ldr x8, [x8, _EBADF@GOTPAGEOFF] Lloh8: ldr x8, [x8] str x8, [x24] mov w20, #-1 LBB0_8: mov x0, x20 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 LBB0_9: str x21, [sp, #8] ; 8-byte Folded Spill add x9, x9, x20 cmp x9, x10 b.ls LBB0_11 ; %bb.10: Lloh9: adrp x9, _EOVERFLOW@GOTPAGE Lloh10: ldr x9, [x9, _EOVERFLOW@GOTPAGEOFF] Lloh11: ldr x9, [x9] str x9, [x24] mov x20, x8 LBB0_11: ldp w25, w8, [x19, #24] str w8, [sp] ; 4-byte Folded Spill ldp x27, x28, [x19, #32] ldr x8, [x19, #48] ldr x21, [x8, #32] ldr w8, [x26] sub w9, w8, w25 cmp x20, x9 csel w22, w20, w9, lo cmp w22, w8 str x21, [sp, #24] ; 8-byte Folded Spill b.hs LBB0_13 ; %bb.12: mov x0, x26 mov x1, x27 bl __FAT_fat_clusterToSector add x2, x0, x28 mov x0, x21 mov x1, x23 mov x3, x25 mov x4, x22 bl __FAT_cache_readPartialSector mov x9, x25 sub x25, x20, x22 add x23, x23, x22 ldr w8, [x26] add w9, w22, w9 cmp w9, w8 cinc x28, x28, hs csel w9, w9, wzr, lo str w9, [sp, #4] ; 4-byte Folded Spill b LBB0_14 LBB0_13: str w25, [sp, #4] ; 4-byte Folded Spill mov x25, x20 LBB0_14: ldr x9, [x26, #8] sub x22, x9, x28 mov w8, w8 mul x10, x22, x8 cmp x25, x10 ldr x21, [sp, #8] ; 8-byte Folded Reload b.hi LBB0_16 ; %bb.15: udiv x22, x25, x8 LBB0_16: cbz w22, LBB0_19 ; %bb.17: mov x0, x26 mov x1, x27 bl __FAT_fat_clusterToSector add x1, x0, x28 ldr x0, [sp, #24] ; 8-byte Folded Reload mov x2, x22 mov x3, x23 bl __FAT_cache_readSectors cbz w0, LBB0_40 ; %bb.18: ldr w8, [x26] mul w8, w8, w22 add x23, x23, x8 sub x25, x25, x8 add x28, x28, w22, uxtw ldr x9, [x26, #8] LBB0_19: cmp x28, x9 b.lo LBB0_25 ; %bb.20: mov x0, x26 mov x1, x27 bl __FAT_fat_nextCluster mov x22, x0 cbnz x25, LBB0_23 ; %bb.21: Lloh12: adrp x8, _CLUSTER_EOF@GOTPAGE Lloh13: ldr x8, [x8, _CLUSTER_EOF@GOTPAGEOFF] Lloh14: ldr x8, [x8] cmp x22, x8 b.ne LBB0_23 ; %bb.22: mov x25, #0 ldr x28, [x26, #8] b LBB0_25 LBB0_23: mov x0, x26 mov x1, x22 bl __FAT_fat_isValidCluster cbz w0, LBB0_40 ; %bb.24: mov x28, #0 mov x27, x22 LBB0_25: ldr x8, [x26, #16] cmp x25, x8 b.hs LBB0_32 ; %bb.26: mov x22, x27 LBB0_27: ldr w8, [x26] udiv x27, x25, x8 cbz w27, LBB0_42 ; %bb.28: mov x0, x26 mov x1, x22 bl __FAT_fat_clusterToSector mov x1, x0 ldr x0, [sp, #24] ; 8-byte Folded Reload mov x2, x27 mov x3, x23 bl __FAT_cache_readSectors ldr x21, [sp, #8] ; 8-byte Folded Reload cbz w0, LBB0_45 ; %bb.29: ldr w8, [x26] mul w8, w8, w27 add x23, x23, x8 sub x25, x25, x8 add x28, x28, w27, uxtw b LBB0_43 LBB0_30: ; in Loop: Header=BB0_32 Depth=1 mov x25, #0 ldr x28, [x26, #8] LBB0_31: ; in Loop: Header=BB0_32 Depth=1 add x23, x23, x21 ldr x8, [x26, #16] mov x27, x22 cmp x25, x8 b.lo LBB0_27 LBB0_32: ; =>This Loop Header: Depth=1 ; Child Loop BB0_33 Depth 2 str x28, [sp, #16] ; 8-byte Folded Spill mov x21, #0 mov x28, x27 LBB0_33: ; Parent Loop BB0_32 Depth=1 ; => This Inner Loop Header: Depth=2 mov x22, x28 mov x0, x26 mov x1, x28 bl __FAT_fat_nextCluster mov x28, x0 ldr x8, [x26, #16] add x21, x8, x21 add x9, x22, #1 cmp x0, x9 b.ne LBB0_35 ; %bb.34: ; in Loop: Header=BB0_33 Depth=2 add x8, x21, x8 cmp x8, x25 b.ls LBB0_33 LBB0_35: ; in Loop: Header=BB0_32 Depth=1 mov x0, x26 mov x1, x27 bl __FAT_fat_clusterToSector mov x1, x0 ldr w8, [x26] udiv x2, x21, x8 ldr x0, [sp, #24] ; 8-byte Folded Reload ; kill: def $w2 killed $w2 killed $x2 mov x3, x23 bl __FAT_cache_readSectors cbz w0, LBB0_41 ; %bb.36: ; in Loop: Header=BB0_32 Depth=1 subs x25, x25, x21 b.ne LBB0_38 ; %bb.37: ; in Loop: Header=BB0_32 Depth=1 Lloh15: adrp x8, _CLUSTER_EOF@GOTPAGE Lloh16: ldr x8, [x8, _CLUSTER_EOF@GOTPAGEOFF] Lloh17: ldr x8, [x8] cmp x28, x8 b.eq LBB0_30 LBB0_38: ; in Loop: Header=BB0_32 Depth=1 mov x0, x26 mov x1, x28 bl __FAT_fat_isValidCluster cbz w0, LBB0_41 ; %bb.39: ; in Loop: Header=BB0_32 Depth=1 mov x8, #0 mov x22, x28 mov x28, #0 b LBB0_31 LBB0_40: Lloh18: adrp x8, _EIO@GOTPAGE Lloh19: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh20: ldr x8, [x8] str x8, [x24] b LBB0_47 LBB0_41: Lloh21: adrp x8, _EIO@GOTPAGE Lloh22: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh23: ldr x8, [x8] str x8, [x24] ldp x21, x28, [sp, #8] ; 16-byte Folded Reload b LBB0_47 LBB0_42: ldr x21, [sp, #8] ; 8-byte Folded Reload LBB0_43: cbz x25, LBB0_46 ; %bb.44: mov x0, x26 mov x1, x22 bl __FAT_fat_clusterToSector add x2, x0, x28 ldr x0, [sp, #24] ; 8-byte Folded Reload mov x1, x23 mov w3, #0 mov x4, x25 bl __FAT_cache_readPartialSector ldr w8, [sp, #4] ; 4-byte Folded Reload add w8, w8, w25 str w8, [sp, #4] ; 4-byte Folded Spill mov x27, x22 mov x25, #0 b LBB0_47 LBB0_45: Lloh24: adrp x8, _EIO@GOTPAGE Lloh25: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh26: ldr x8, [x8] str x8, [x24] LBB0_46: mov x27, x22 LBB0_47: ldr w8, [sp] ; 4-byte Folded Reload ldr w9, [sp, #4] ; 4-byte Folded Reload stp w9, w8, [x19, #24] stp x27, x28, [x19, #32] ldr x8, [x19] sub x20, x20, x25 add x8, x8, x20 str x8, [x19] mov x0, x21 bl __FAT_unlock b LBB0_8 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .cfi_endproc ; -- End function .comm _EBADF,8,3 ; @EBADF .comm _CLUSTER_FREE,8,3 ; @CLUSTER_FREE .comm _EOVERFLOW,8,3 ; @EOVERFLOW .comm _EIO,8,3 ; @EIO .comm _CLUSTER_EOF,8,3 ; @CLUSTER_EOF .comm _LIMIT_SECTORS,8,3 ; @LIMIT_SECTORS .subsections_via_symbols
AnghaBench/RetroArch/wii/libogc/libfat/extr_fatfile.c__FAT_read_r.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bsg_add_command _bsg_add_command: ## @bsg_add_command .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, %r15 movq %rdx, %rbx movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, %r13 movl 4(%rdx), %eax movq _BSG_FLAG_Q_AT_TAIL@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq %r15, 24(%rdx) movl 16(%r15), %edx movl %edx, 16(%rbx) movq 8(%r15), %rdx testq %rdx, %rdx je LBB0_2 ## %bb.1: movl (%rdx), %edx movl %edx, 12(%rbx) LBB0_2: xorl %r12d, %r12d testl %eax, %ecx sete %r12b movq _jiffies@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) leaq 4(%r13), %r14 movq %r14, %rdi callq _spin_lock_irq leaq 8(%r13), %rsi movq %rbx, %rdi callq _list_add_tail movq %r14, %rdi callq _spin_unlock_irq movl (%r13), %esi leaq L_.str(%rip), %rdi movq %r15, %rdx movq %rbx, %rcx callq _dprintk movq %rbx, (%r15) movq _bsg_rq_end_io@GOTPCREL(%rip), %rax movl (%rax), %r8d movq -48(%rbp), %rdi ## 8-byte Reload xorl %esi, %esi movq %r15, %rdx movl %r12d, %ecx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _blk_execute_rq_nowait ## TAILCALL .cfi_endproc ## -- End function .comm _BSG_FLAG_Q_AT_TAIL,4,2 ## @BSG_FLAG_Q_AT_TAIL .comm _jiffies,4,2 ## @jiffies .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: queueing rq %p, bc %p\n" .comm _bsg_rq_end_io,4,2 ## @bsg_rq_end_io .no_dead_strip _bsg_add_command .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bsg_add_command _bsg_add_command: ; @bsg_add_command .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 x21, x2 mov x20, x1 mov x22, x0 Lloh0: adrp x9, _BSG_FLAG_Q_AT_TAIL@GOTPAGE Lloh1: ldr x9, [x9, _BSG_FLAG_Q_AT_TAIL@GOTPAGEOFF] ldr w8, [x2, #4] Lloh2: ldr w9, [x9] str x3, [x2, #24] ldr w10, [x3, #16] str w10, [x2, #16] ldr x10, [x3, #8] cbz x10, LBB0_2 ; %bb.1: ldr w10, [x10] str w10, [x21, #12] LBB0_2: tst w9, w8 cset w23, eq Lloh3: adrp x8, _jiffies@GOTPAGE Lloh4: ldr x8, [x8, _jiffies@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [x21, #8] add x24, x22, #4 mov x0, x24 bl _spin_lock_irq add x1, x22, #8 mov x0, x21 bl _list_add_tail mov x0, x24 bl _spin_unlock_irq ldr w1, [x22] Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF mov x2, x19 mov x3, x21 bl _dprintk str x21, [x19] Lloh8: adrp x8, _bsg_rq_end_io@GOTPAGE Lloh9: ldr x8, [x8, _bsg_rq_end_io@GOTPAGEOFF] Lloh10: ldr w4, [x8] mov x0, x20 mov x1, #0 mov x2, x19 mov x3, x23 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 _blk_execute_rq_nowait .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _BSG_FLAG_Q_AT_TAIL,4,2 ; @BSG_FLAG_Q_AT_TAIL .comm _jiffies,4,2 ; @jiffies .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: queueing rq %p, bc %p\n" .comm _bsg_rq_end_io,4,2 ; @bsg_rq_end_io .no_dead_strip _bsg_add_command .subsections_via_symbols
AnghaBench/fastsocket/kernel/block/extr_bsg.c_bsg_add_command.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function find_remapped _find_remapped: ## @find_remapped .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, %rbx movq %rdx, -48(%rbp) ## 8-byte Spill movq %rdx, %rdi callq _strlen movq %rax, %r13 movl $-1, %eax testq %r12, %r12 je LBB0_7 ## %bb.1: xorl %r15d, %r15d jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 incq %r15 addq $16, %rbx cmpq %r15, %r12 je LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %r14 movq %r14, %rdi callq _strlen cmpq %rax, %r13 jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload movq %r14, %rsi movq %r13, %rdx callq _string_enum_compare testl %eax, %eax jne LBB0_4 ## %bb.6: movl %r15d, %eax jmp LBB0_7 LBB0_5: movl $-1, %eax LBB0_7: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _find_remapped .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function find_remapped _find_remapped: ; @find_remapped .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 x22, x0 mov x0, x2 bl _strlen cbz x20, LBB0_5 ; %bb.1: mov x23, x0 mov x21, #0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, #1 add x22, x22, #16 cmp x20, x21 b.eq LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x24, [x22] mov x0, x24 bl _strlen cmp x23, x0 b.ne LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x0, x19 mov x1, x24 mov x2, x23 bl _string_enum_compare cbnz w0, LBB0_2 b LBB0_6 LBB0_5: mov w21, #-1 LBB0_6: mov x0, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _find_remapped .subsections_via_symbols
AnghaBench/tig/src/extr_options.c_find_remapped.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 leaq L_.str(%rip), %r14 movq %r14, %rdi movl $1, %esi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rbx movq %rbx, %rdi movl $1, %esi xorl %eax, %eax callq _printf movq %r14, %rdi movl $2, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $2, %esi xorl %eax, %eax callq _printf movq %r14, %rdi movl $3, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $6, %esi xorl %eax, %eax callq _printf movq %r14, %rdi movl $4, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $24, %esi xorl %eax, %eax callq _printf movq %r14, %rdi movl $5, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $120, %esi xorl %eax, %eax callq _printf movq %r14, %rdi movl $6, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $720, %esi ## imm = 0x2D0 xorl %eax, %eax callq _printf movq %r14, %rdi movl $7, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $5040, %esi ## imm = 0x13B0 xorl %eax, %eax callq _printf movq %r14, %rdi movl $8, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $40320, %esi ## imm = 0x9D80 xorl %eax, %eax callq _printf movq %r14, %rdi movl $9, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $362880, %esi ## imm = 0x58980 xorl %eax, %eax callq _printf movq %r14, %rdi movl $10, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $3628800, %esi ## imm = 0x375F00 xorl %eax, %eax callq _printf movq %r14, %rdi movl $11, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $39916800, %esi ## imm = 0x2611500 xorl %eax, %eax callq _printf movq %r14, %rdi movl $12, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $479001600, %esi ## imm = 0x1C8CFC00 xorl %eax, %eax callq _printf movq %r14, %rdi movl $13, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $1932053504, %esi ## imm = 0x7328CC00 xorl %eax, %eax callq _printf movq %r14, %rdi movl $14, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $1278945280, %esi ## imm = 0x4C3B2800 xorl %eax, %eax callq _printf movq %rbx, %rdi movl $1278945280, %esi ## imm = 0x4C3B2800 xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "n: %d\t" L_.str.1: ## @.str.1 .asciz "result: %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #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 w19, #1 str x19, [sp] Lloh0: adrp x20, l_.str@PAGE Lloh1: add x20, x20, l_.str@PAGEOFF mov x0, x20 bl _printf str x19, [sp] Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _printf mov w21, #2 str x21, [sp] mov x0, x20 bl _printf str x21, [sp] mov x0, x19 bl _printf mov w8, #3 str x8, [sp] mov x0, x20 bl _printf mov w21, #6 str x21, [sp] mov x0, x19 bl _printf mov w8, #4 str x8, [sp] mov x0, x20 bl _printf mov w8, #24 str x8, [sp] mov x0, x19 bl _printf mov w8, #5 str x8, [sp] mov x0, x20 bl _printf mov w8, #120 str x8, [sp] mov x0, x19 bl _printf str x21, [sp] mov x0, x20 bl _printf mov w8, #720 str x8, [sp] mov x0, x19 bl _printf mov w8, #7 str x8, [sp] mov x0, x20 bl _printf mov w8, #5040 str x8, [sp] mov x0, x19 bl _printf mov w8, #8 str x8, [sp] mov x0, x20 bl _printf mov w8, #40320 str x8, [sp] mov x0, x19 bl _printf mov w8, #9 str x8, [sp] mov x0, x20 bl _printf mov w8, #35200 movk w8, #5, lsl #16 str x8, [sp] mov x0, x19 bl _printf mov w8, #10 str x8, [sp] mov x0, x20 bl _printf mov w8, #24320 movk w8, #55, lsl #16 str x8, [sp] mov x0, x19 bl _printf mov w8, #11 str x8, [sp] mov x0, x20 bl _printf mov w8, #5376 movk w8, #609, lsl #16 str x8, [sp] mov x0, x19 bl _printf mov w8, #12 str x8, [sp] mov x0, x20 bl _printf mov w8, #64512 movk w8, #7308, lsl #16 str x8, [sp] mov x0, x19 bl _printf mov w8, #13 str x8, [sp] mov x0, x20 bl _printf mov w8, #52224 movk w8, #29480, lsl #16 str x8, [sp] mov x0, x19 bl _printf mov w8, #14 str x8, [sp] mov x0, x20 bl _printf mov w20, #10240 movk w20, #19515, lsl #16 str x20, [sp] mov x0, x19 bl _printf str x20, [sp] mov x0, x19 bl _printf mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "n: %d\t" l_.str.1: ; @.str.1 .asciz "result: %d\n" .subsections_via_symbols
the_stack_data/182952153.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_and_update_ambient_lighting _get_and_update_ambient_lighting: ## @get_and_update_ambient_lighting .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 movq 8(%rdi), %rdi movq (%rdi), %rax leaq 4(%r14), %rsi movq _VOCTRL_GET_AMBIENT_LUX@GOTPCREL(%rip), %rcx movl (%rcx), %edx leaq -28(%rbp), %rcx callq *(%rax) movl %eax, %ebx movq _VO_TRUE@GOTPCREL(%rip), %r15 movl (%r15), %eax cmpl %eax, %ebx jne LBB0_2 ## %bb.1: movl (%r14), %edi movl -28(%rbp), %esi callq _gl_video_set_ambient_lux movl (%r15), %eax LBB0_2: cmpl %eax, %ebx je LBB0_5 ## %bb.3: movl (%r14), %edi callq _gl_video_gamma_auto_enabled testq %rax, %rax je LBB0_5 ## %bb.4: leaq L_.str(%rip), %rsi movq %r14, %rdi callq _MP_ERR LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _VOCTRL_GET_AMBIENT_LUX,4,2 ## @VOCTRL_GET_AMBIENT_LUX .comm _VO_TRUE,4,2 ## @VO_TRUE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "gamma_auto option provided, but querying for ambient lighting is not supported on this platform\n" .no_dead_strip _get_and_update_ambient_lighting .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_and_update_ambient_lighting _get_and_update_ambient_lighting: ; @get_and_update_ambient_lighting .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x0, [x0, #8] ldr x8, [x0] ldr x8, [x8] add x1, x19, #4 Lloh0: adrp x9, _VOCTRL_GET_AMBIENT_LUX@GOTPAGE Lloh1: ldr x9, [x9, _VOCTRL_GET_AMBIENT_LUX@GOTPAGEOFF] Lloh2: ldr w2, [x9] add x3, sp, #12 blr x8 mov x20, x0 Lloh3: adrp x21, _VO_TRUE@GOTPAGE Lloh4: ldr x21, [x21, _VO_TRUE@GOTPAGEOFF] ldr w8, [x21] cmp w0, w8 b.ne LBB0_2 ; %bb.1: ldr w0, [x19] ldr w1, [sp, #12] bl _gl_video_set_ambient_lux ldr w8, [x21] LBB0_2: cmp w20, w8 b.eq LBB0_5 ; %bb.3: ldr w0, [x19] bl _gl_video_gamma_auto_enabled cbz x0, LBB0_5 ; %bb.4: Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _MP_ERR 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 add sp, sp, #64 ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _VOCTRL_GET_AMBIENT_LUX,4,2 ; @VOCTRL_GET_AMBIENT_LUX .comm _VO_TRUE,4,2 ; @VO_TRUE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "gamma_auto option provided, but querying for ambient lighting is not supported on this platform\n" .no_dead_strip _get_and_update_ambient_lighting .subsections_via_symbols
AnghaBench/mpv/video/out/extr_vo_gpu.c_get_and_update_ambient_lighting.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ext4_xattr_check_names _ext4_xattr_check_names: ## @ext4_xattr_check_names .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 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _IS_LAST_ENTRY testl %eax, %eax jne LBB0_2 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq %rbx, %rdi callq _EXT4_XATTR_NEXT movq %rax, %rbx cmpq %r14, %rax jb LBB0_1 ## %bb.4: movq _EIO@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_5 LBB0_2: xorl %eax, %eax LBB0_5: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _EIO,4,2 ## @EIO .no_dead_strip _ext4_xattr_check_names .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ext4_xattr_check_names _ext4_xattr_check_names: ; @ext4_xattr_check_names .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 LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _IS_LAST_ENTRY cbnz w0, LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov x0, x20 bl _EXT4_XATTR_NEXT mov x20, x0 cmp x0, x19 b.lo LBB0_1 ; %bb.3: Lloh0: adrp x8, _EIO@GOTPAGE Lloh1: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 b LBB0_5 LBB0_4: mov w0, #0 LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EIO,4,2 ; @EIO .no_dead_strip _ext4_xattr_check_names .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/ext4/extr_xattr.c_ext4_xattr_check_names.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq _process(%rip), %r15 leaq L_.str(%rip), %rcx leaq -48(%rbp), %rdi xorl %esi, %esi movq %r15, %rdx callq _pthread_create movl %eax, %ebx testl %eax, %eax leaq L_.str.3(%rip), %r12 leaq L_.str.2(%rip), %r14 movq %r14, %rsi cmoveq %r12, %rsi leaq L_.str.1(%rip), %rdi movl %eax, %edx xorl %eax, %eax callq _printf leaq L_.str.4(%rip), %rcx leaq -40(%rbp), %rdi xorl %esi, %esi movq %r15, %rdx callq _pthread_create addl %eax, %ebx testl %eax, %eax movq %r14, %rsi cmoveq %r12, %rsi leaq L_.str.5(%rip), %rdi movl %eax, %edx xorl %eax, %eax callq _printf movq -48(%rbp), %rdi leaq -56(%rbp), %r15 movq %r15, %rsi callq _pthread_join addl %eax, %ebx testl %eax, %eax movq %r14, %rsi cmoveq %r12, %rsi leaq L_.str.6(%rip), %rdi movl %eax, %edx xorl %eax, %eax callq _printf movq -40(%rbp), %rdi movq %r15, %rsi callq _pthread_join addl %eax, %ebx testl %eax, %eax cmoveq %r12, %r14 leaq L_.str.7(%rip), %rdi movq %r14, %rsi movl %eax, %edx xorl %eax, %eax callq _printf movl %ebx, %eax addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function process _process: ## @process .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 leaq L_.str.8(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _printf movl $10000, %ebx ## imm = 0x2710 .p2align 4, 0x90 LBB1_1: ## =>This Inner Loop Header: Depth=1 movl $1, %edx movl $1, %edi movq %r14, %rsi callq _write decl %ebx jne LBB1_1 ## %bb.2: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "a" L_.str.1: ## @.str.1 .asciz "create a %s %d\n" L_.str.2: ## @.str.2 .asciz "failed" L_.str.3: ## @.str.3 .asciz "succeeded" L_.str.4: ## @.str.4 .asciz "b" L_.str.5: ## @.str.5 .asciz "create b %s %d\n" L_.str.6: ## @.str.6 .asciz "join a %s %d\n" L_.str.7: ## @.str.7 .asciz "join b %s %d\n" L_.str.8: ## @.str.8 .asciz "Starting process %s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp 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 Lloh0: adrp x19, _process@PAGE Lloh1: add x19, x19, _process@PAGEOFF Lloh2: adrp x3, l_.str@PAGE Lloh3: add x3, x3, l_.str@PAGEOFF add x0, sp, #40 mov x1, #0 mov x2, x19 bl _pthread_create mov x20, x0 Lloh4: adrp x21, l_.str.2@PAGE Lloh5: add x21, x21, l_.str.2@PAGEOFF Lloh6: adrp x22, l_.str.3@PAGE Lloh7: add x22, x22, l_.str.3@PAGEOFF cmp w0, #0 csel x8, x22, x21, eq stp x8, x20, [sp] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF bl _printf Lloh10: adrp x3, l_.str.4@PAGE Lloh11: add x3, x3, l_.str.4@PAGEOFF add x0, sp, #32 mov x1, #0 mov x2, x19 bl _pthread_create ; kill: def $w0 killed $w0 def $x0 add w19, w0, w20 cmp w0, #0 csel x8, x22, x21, eq stp x8, x0, [sp] Lloh12: adrp x0, l_.str.5@PAGE Lloh13: add x0, x0, l_.str.5@PAGEOFF bl _printf ldr x0, [sp, #40] add x1, sp, #24 bl _pthread_join ; kill: def $w0 killed $w0 def $x0 add w19, w19, w0 cmp w0, #0 csel x8, x22, x21, eq stp x8, x0, [sp] Lloh14: adrp x0, l_.str.6@PAGE Lloh15: add x0, x0, l_.str.6@PAGEOFF bl _printf ldr x0, [sp, #32] add x1, sp, #24 bl _pthread_join ; kill: def $w0 killed $w0 def $x0 add w19, w19, w0 cmp w0, #0 csel x8, x22, x21, eq stp x8, x0, [sp] Lloh16: adrp x0, l_.str.7@PAGE Lloh17: add x0, x0, l_.str.7@PAGEOFF bl _printf mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function process _process: ; @process .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 str x0, [sp] Lloh18: adrp x0, l_.str.8@PAGE Lloh19: add x0, x0, l_.str.8@PAGEOFF bl _printf mov w20, #10000 LBB1_1: ; =>This Inner Loop Header: Depth=1 mov w0, #1 mov x1, x19 mov w2, #1 bl _write subs w20, w20, #1 b.ne LBB1_1 ; %bb.2: mov x0, #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 Lloh18, Lloh19 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "a" l_.str.1: ; @.str.1 .asciz "create a %s %d\n" l_.str.2: ; @.str.2 .asciz "failed" l_.str.3: ; @.str.3 .asciz "succeeded" l_.str.4: ; @.str.4 .asciz "b" l_.str.5: ; @.str.5 .asciz "create b %s %d\n" l_.str.6: ; @.str.6 .asciz "join a %s %d\n" l_.str.7: ; @.str.7 .asciz "join b %s %d\n" l_.str.8: ; @.str.8 .asciz "Starting process %s\n" .subsections_via_symbols
the_stack_data/45047.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nvc0_vp_ctor _nvc0_vp_ctor: ## @nvc0_vp_ctor .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %r9, %r14 leaq -24(%rbp), %rax leaq L_.str.1(%rip), %rbx leaq L_.str(%rip), %r9 movl $544768, %ecx ## imm = 0x85000 movl $1, %r8d pushq %rax pushq %rbx callq _nouveau_falcon_create addq $16, %rsp movl %eax, %ebx movq -24(%rbp), %rdi callq _nv_object movq %rax, (%r14) testl %ebx, %ebx jne LBB0_2 ## %bb.1: movq -24(%rbp), %rdi callq _nv_subdev movl $131072, (%rax) ## imm = 0x20000 movq -24(%rbp), %rdi callq _nv_engine movq _nvc0_vp_cclass@GOTPCREL(%rip), %rcx movq %rcx, 8(%rax) movq _nvc0_vp_sclass@GOTPCREL(%rip), %rax movl (%rax), %r14d movq -24(%rbp), %rdi callq _nv_engine movl %r14d, (%rax) LBB0_2: movl %ebx, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "PVP" L_.str.1: ## @.str.1 .asciz "vp" .comm _nvc0_vp_cclass,4,2 ## @nvc0_vp_cclass .comm _nvc0_vp_sclass,4,2 ## @nvc0_vp_sclass .no_dead_strip _nvc0_vp_ctor .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nvc0_vp_ctor _nvc0_vp_ctor: ; @nvc0_vp_ctor .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x5 Lloh0: adrp x5, l_.str@PAGE Lloh1: add x5, x5, l_.str@PAGEOFF Lloh2: adrp x6, l_.str.1@PAGE Lloh3: add x6, x6, l_.str.1@PAGEOFF add x7, sp, #8 mov w3, #20480 movk w3, #8, lsl #16 mov w4, #1 bl _nouveau_falcon_create mov x19, x0 ldr x0, [sp, #8] bl _nv_object str x0, [x20] cbnz w19, LBB0_2 ; %bb.1: ldr x0, [sp, #8] bl _nv_subdev mov w8, #131072 str w8, [x0] ldr x0, [sp, #8] bl _nv_engine Lloh4: adrp x8, _nvc0_vp_cclass@GOTPAGE Lloh5: ldr x8, [x8, _nvc0_vp_cclass@GOTPAGEOFF] str x8, [x0, #8] Lloh6: adrp x8, _nvc0_vp_sclass@GOTPAGE Lloh7: ldr x8, [x8, _nvc0_vp_sclass@GOTPAGEOFF] Lloh8: ldr w20, [x8] ldr x0, [sp, #8] bl _nv_engine str w20, [x0] LBB0_2: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "PVP" l_.str.1: ; @.str.1 .asciz "vp" .comm _nvc0_vp_cclass,4,2 ; @nvc0_vp_cclass .comm _nvc0_vp_sclass,4,2 ; @nvc0_vp_sclass .no_dead_strip _nvc0_vp_ctor .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/vp/extr_nvc0.c_nvc0_vp_ctor.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tmpfs_fstest_delfs ## -- Begin function tmpfs_fstest_delfs .p2align 4, 0x90 _tmpfs_fstest_delfs: ## @tmpfs_fstest_delfs .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 _free 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 _tmpfs_fstest_delfs ; -- Begin function tmpfs_fstest_delfs .p2align 2 _tmpfs_fstest_delfs: ; @tmpfs_fstest_delfs .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 bl _free mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/netbsd-tests/fs/common/extr_fstest_tmpfs.c_tmpfs_fstest_delfs.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function timeriomem_rng_remove _timeriomem_rng_remove: ## @timeriomem_rng_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 callq _platform_get_drvdata movq %rax, %rbx leaq 4(%rax), %rdi callq _hwrng_unregister movq %rbx, %rdi callq _hrtimer_cancel xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _timeriomem_rng_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function timeriomem_rng_remove _timeriomem_rng_remove: ; @timeriomem_rng_remove .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _platform_get_drvdata mov x19, x0 add x0, x0, #4 bl _hwrng_unregister mov x0, x19 bl _hrtimer_cancel 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 _timeriomem_rng_remove .subsections_via_symbols
AnghaBench/linux/drivers/char/hw_random/extr_timeriomem-rng.c_timeriomem_rng_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___put_mtd_device ## -- Begin function __put_mtd_device .p2align 4, 0x90 ___put_mtd_device: ## @__put_mtd_device .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq (%rdi), %rax leaq -1(%rax), %rcx movq %rcx, (%rdi) xorl %edi, %edi testq %rax, %rax setle %dil callq _BUG_ON movq 16(%rbx), %rax testq %rax, %rax je LBB0_2 ## %bb.1: movq %rbx, %rdi callq *%rax LBB0_2: movl 8(%rbx), %edi addq $8, %rsp popq %rbx popq %rbp jmp _module_put ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___put_mtd_device ; -- Begin function __put_mtd_device .p2align 2 ___put_mtd_device: ; @__put_mtd_device .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0] subs x8, x8, #1 str x8, [x0] cset w0, lt bl _BUG_ON ldr x8, [x19, #16] cbz x8, LBB0_2 ; %bb.1: mov x0, x19 blr x8 LBB0_2: ldr w0, [x19, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _module_put .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/mtd/extr_mtdcore.c___put_mtd_device.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uv__fs_readdir_cleanup ## -- Begin function uv__fs_readdir_cleanup .p2align 4, 0x90 _uv__fs_readdir_cleanup: ## @uv__fs_readdir_cleanup .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 8(%rdi), %rax testq %rax, %rax je LBB0_5 ## %bb.1: movq %rdi, %r14 movq (%rax), %r15 movq $0, 8(%rdi) testq %r15, %r15 je LBB0_5 ## %bb.2: cmpl $0, (%r14) jle LBB0_5 ## %bb.3: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq (%r15,%rbx,8), %rdi callq _uv__free movq $0, (%r15,%rbx,8) incq %rbx movslq (%r14), %rax cmpq %rax, %rbx jl LBB0_4 LBB0_5: 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 _uv__fs_readdir_cleanup ; -- Begin function uv__fs_readdir_cleanup .p2align 2 _uv__fs_readdir_cleanup: ; @uv__fs_readdir_cleanup .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, #8] cbz x8, LBB0_5 ; %bb.1: mov x19, x0 ldr x20, [x8] str xzr, [x0, #8] cbz x20, LBB0_5 ; %bb.2: ldr w8, [x19] cmp w8, #1 b.lt LBB0_5 ; %bb.3: mov x21, #0 LBB0_4: ; =>This Inner Loop Header: Depth=1 lsl x22, x21, #3 ldr x0, [x20, x22] bl _uv__free str xzr, [x20, x22] add x21, x21, #1 ldrsw x8, [x19] cmp x21, x8 b.lt LBB0_4 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/libuv/src/extr_uv-common.c_uv__fs_readdir_cleanup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function imm_proc_info _imm_proc_info: ## @imm_proc_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, %r15d movl %r8d, %r14d movl %ecx, -44(%rbp) ## 4-byte Spill movq %rdx, %rbx movq %rsi, %r13 callq _imm_dev movq %rax, %r12 testl %r15d, %r15d je LBB0_1 ## %bb.5: movq %r12, %rdi movq %r13, %rsi movl %r14d, %edx addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _imm_proc_write ## TAILCALL LBB0_1: movq %rbx, -56(%rbp) ## 8-byte Spill movq _IMM_VERSION@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str(%rip), %rsi movq %r13, %rdi callq _sprintf movq %rax, %r15 movslq %r15d, %rdi addq %r13, %rdi movq 8(%r12), %rax movq (%rax), %rax movq (%rax), %rdx leaq L_.str.1(%rip), %rsi callq _sprintf addq %r15, %rax movslq %eax, %rbx leaq (%rbx,%r13), %rdi movq _IMM_MODE_STRING@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%r12), %rcx movq (%rax,%rcx,8), %rdx leaq L_.str.2(%rip), %rsi callq _sprintf addl %eax, %ebx movl -44(%rbp), %eax ## 4-byte Reload subl %eax, %ebx jge LBB0_2 ## %bb.3: xorl %eax, %eax jmp LBB0_4 LBB0_2: cltq addq %rax, %r13 movq -56(%rbp), %rax ## 8-byte Reload movq %r13, (%rax) cmpl %r14d, %ebx cmovll %ebx, %r14d movl %r14d, %eax LBB0_4: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Version : %s\n" .comm _IMM_VERSION,8,3 ## @IMM_VERSION L_.str.1: ## @.str.1 .asciz "Parport : %s\n" L_.str.2: ## @.str.2 .asciz "Mode : %s\n" .comm _IMM_MODE_STRING,8,3 ## @IMM_MODE_STRING .no_dead_strip _imm_proc_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function imm_proc_info _imm_proc_info: ; @imm_proc_info .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x24, x5 mov x19, x4 mov x22, x3 mov x21, x2 mov x20, x1 bl _imm_dev mov x23, x0 cbz w24, LBB0_2 ; %bb.1: mov x0, x23 mov x1, x20 mov x2, 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 _imm_proc_write LBB0_2: Lloh0: adrp x8, _IMM_VERSION@GOTPAGE Lloh1: ldr x8, [x8, _IMM_VERSION@GOTPAGEOFF] Lloh2: ldr x2, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _sprintf mov x24, x0 add x0, x20, w24, sxtw ldr x8, [x23, #8] ldr x8, [x8] ldr x2, [x8] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF bl _sprintf add x24, x0, x24 add x0, x20, w24, sxtw Lloh7: adrp x8, _IMM_MODE_STRING@GOTPAGE Lloh8: ldr x8, [x8, _IMM_MODE_STRING@GOTPAGEOFF] Lloh9: ldr x8, [x8] ldr x9, [x23] ldr x2, [x8, x9, lsl #3] Lloh10: adrp x1, l_.str.2@PAGE Lloh11: add x1, x1, l_.str.2@PAGEOFF bl _sprintf add w8, w0, w24 subs w8, w8, w22 b.ge LBB0_4 ; %bb.3: mov w0, #0 b LBB0_5 LBB0_4: add x9, x20, w22, sxtw str x9, [x21] cmp w8, w19 csel w0, w8, w19, lt 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 AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Version : %s\n" .comm _IMM_VERSION,8,3 ; @IMM_VERSION l_.str.1: ; @.str.1 .asciz "Parport : %s\n" l_.str.2: ; @.str.2 .asciz "Mode : %s\n" .comm _IMM_MODE_STRING,8,3 ; @IMM_MODE_STRING .no_dead_strip _imm_proc_info .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/extr_imm.c_imm_proc_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __erst_clear_from_storage ___erst_clear_from_storage: ## @__erst_clear_from_storage .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 %rdi, %r14 movq _FIRMWARE_TIMEOUT@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq -40(%rbp), %rbx movq %rbx, %rdi callq _erst_exec_ctx_init movq _ACPI_ERST_BEGIN_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _apei_exec_run_optional testl %eax, %eax jne LBB0_11 ## %bb.1: leaq -40(%rbp), %rbx movq %rbx, %rdi movq %r14, %rsi callq _apei_exec_ctx_set_input movq _ACPI_ERST_SET_RECORD_ID@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _apei_exec_run testl %eax, %eax jne LBB0_11 ## %bb.2: movq _ACPI_ERST_EXECUTE_OPERATION@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -40(%rbp), %rdi callq _apei_exec_run testl %eax, %eax je LBB0_3 LBB0_11: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq _ACPI_ERST_CHECK_BUSY_STATUS@GOTPCREL(%rip), %r15 leaq -40(%rbp), %rbx movq _SPIN_UNIT@GOTPCREL(%rip), %r12 leaq -48(%rbp), %r14 .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl (%r15), %esi movq %rbx, %rdi callq _apei_exec_run testl %eax, %eax jne LBB0_11 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi callq _apei_exec_ctx_get_output testq %rax, %rax je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movl (%r12), %esi movq %r14, %rdi callq _erst_timedout testq %rax, %rax je LBB0_4 ## %bb.7: movq _EIO@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_11 LBB0_8: movq _ACPI_ERST_GET_COMMAND_STATUS@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -40(%rbp), %rdi callq _apei_exec_run testl %eax, %eax jne LBB0_11 ## %bb.9: leaq -40(%rbp), %rbx movq %rbx, %rdi callq _apei_exec_ctx_get_output movq %rax, %r14 movq _ACPI_ERST_END@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _apei_exec_run_optional testl %eax, %eax jne LBB0_11 ## %bb.10: movq %r14, %rdi callq _erst_errno jmp LBB0_11 .cfi_endproc ## -- End function .comm _FIRMWARE_TIMEOUT,8,3 ## @FIRMWARE_TIMEOUT .comm _ACPI_ERST_BEGIN_CLEAR,4,2 ## @ACPI_ERST_BEGIN_CLEAR .comm _ACPI_ERST_SET_RECORD_ID,4,2 ## @ACPI_ERST_SET_RECORD_ID .comm _ACPI_ERST_EXECUTE_OPERATION,4,2 ## @ACPI_ERST_EXECUTE_OPERATION .comm _ACPI_ERST_CHECK_BUSY_STATUS,4,2 ## @ACPI_ERST_CHECK_BUSY_STATUS .comm _SPIN_UNIT,4,2 ## @SPIN_UNIT .comm _EIO,4,2 ## @EIO .comm _ACPI_ERST_GET_COMMAND_STATUS,4,2 ## @ACPI_ERST_GET_COMMAND_STATUS .comm _ACPI_ERST_END,4,2 ## @ACPI_ERST_END .no_dead_strip ___erst_clear_from_storage .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __erst_clear_from_storage ___erst_clear_from_storage: ; @__erst_clear_from_storage .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _FIRMWARE_TIMEOUT@GOTPAGE Lloh1: ldr x8, [x8, _FIRMWARE_TIMEOUT@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp] add x0, sp, #8 bl _erst_exec_ctx_init Lloh3: adrp x8, _ACPI_ERST_BEGIN_CLEAR@GOTPAGE Lloh4: ldr x8, [x8, _ACPI_ERST_BEGIN_CLEAR@GOTPAGEOFF] Lloh5: ldr w1, [x8] add x0, sp, #8 bl _apei_exec_run_optional cbnz w0, LBB0_3 ; %bb.1: add x0, sp, #8 mov x1, x19 bl _apei_exec_ctx_set_input Lloh6: adrp x8, _ACPI_ERST_SET_RECORD_ID@GOTPAGE Lloh7: ldr x8, [x8, _ACPI_ERST_SET_RECORD_ID@GOTPAGEOFF] Lloh8: ldr w1, [x8] add x0, sp, #8 bl _apei_exec_run cbnz w0, LBB0_3 ; %bb.2: Lloh9: adrp x8, _ACPI_ERST_EXECUTE_OPERATION@GOTPAGE Lloh10: ldr x8, [x8, _ACPI_ERST_EXECUTE_OPERATION@GOTPAGEOFF] Lloh11: ldr w1, [x8] add x0, sp, #8 bl _apei_exec_run cbz w0, LBB0_4 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB0_4: Lloh12: adrp x19, _ACPI_ERST_CHECK_BUSY_STATUS@GOTPAGE Lloh13: ldr x19, [x19, _ACPI_ERST_CHECK_BUSY_STATUS@GOTPAGEOFF] Lloh14: adrp x20, _SPIN_UNIT@GOTPAGE Lloh15: ldr x20, [x20, _SPIN_UNIT@GOTPAGEOFF] LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w1, [x19] add x0, sp, #8 bl _apei_exec_run cbnz w0, LBB0_3 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 add x0, sp, #8 bl _apei_exec_ctx_get_output cbz x0, LBB0_9 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr w1, [x20] mov x0, sp bl _erst_timedout cbz x0, LBB0_5 ; %bb.8: Lloh16: adrp x8, _EIO@GOTPAGE Lloh17: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh18: ldr w8, [x8] neg w0, w8 b LBB0_3 LBB0_9: Lloh19: adrp x8, _ACPI_ERST_GET_COMMAND_STATUS@GOTPAGE Lloh20: ldr x8, [x8, _ACPI_ERST_GET_COMMAND_STATUS@GOTPAGEOFF] Lloh21: ldr w1, [x8] add x0, sp, #8 bl _apei_exec_run cbnz w0, LBB0_3 ; %bb.10: add x0, sp, #8 bl _apei_exec_ctx_get_output mov x19, x0 Lloh22: adrp x8, _ACPI_ERST_END@GOTPAGE Lloh23: ldr x8, [x8, _ACPI_ERST_END@GOTPAGEOFF] Lloh24: ldr w1, [x8] add x0, sp, #8 bl _apei_exec_run_optional cbnz w0, LBB0_3 ; %bb.11: mov x0, x19 bl _erst_errno b LBB0_3 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .cfi_endproc ; -- End function .comm _FIRMWARE_TIMEOUT,8,3 ; @FIRMWARE_TIMEOUT .comm _ACPI_ERST_BEGIN_CLEAR,4,2 ; @ACPI_ERST_BEGIN_CLEAR .comm _ACPI_ERST_SET_RECORD_ID,4,2 ; @ACPI_ERST_SET_RECORD_ID .comm _ACPI_ERST_EXECUTE_OPERATION,4,2 ; @ACPI_ERST_EXECUTE_OPERATION .comm _ACPI_ERST_CHECK_BUSY_STATUS,4,2 ; @ACPI_ERST_CHECK_BUSY_STATUS .comm _SPIN_UNIT,4,2 ; @SPIN_UNIT .comm _EIO,4,2 ; @EIO .comm _ACPI_ERST_GET_COMMAND_STATUS,4,2 ; @ACPI_ERST_GET_COMMAND_STATUS .comm _ACPI_ERST_END,4,2 ; @ACPI_ERST_END .no_dead_strip ___erst_clear_from_storage .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_erst.c___erst_clear_from_storage.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _update_vsyscall_tz ## -- Begin function update_vsyscall_tz .p2align 4, 0x90 _update_vsyscall_tz: ## @update_vsyscall_tz .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 _update_vsyscall_tz ; -- Begin function update_vsyscall_tz .p2align 2 _update_vsyscall_tz: ; @update_vsyscall_tz .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/arch/ia64/kernel/extr_time.c_update_vsyscall_tz.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function update_context_time _update_context_time: ## @update_context_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 %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx xorl %eax, %eax callq _perf_clock movl (%rbx), %ecx movl %eax, %edx subl %ecx, %edx addl %edx, 8(%rbx) movq %rax, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _update_context_time .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function update_context_time _update_context_time: ; @update_context_time .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _perf_clock ldr w8, [x19] ldr w9, [x19, #8] sub w8, w0, w8 add w8, w9, w8 str w8, [x19, #8] 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 .no_dead_strip _update_context_time .subsections_via_symbols
AnghaBench/linux/kernel/events/extr_core.c_update_context_time.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i915_gem_object_get_pages_dmabuf _i915_gem_object_get_pages_dmabuf: ## @i915_gem_object_get_pages_dmabuf .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 16(%rdi), %edi movq _DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _dma_buf_map_attachment movq %rax, %rbx movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_1 ## %bb.2: movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _PTR_ERR ## TAILCALL LBB0_1: movq %rbx, 8(%r14) movl $1, (%r14) xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _DMA_BIDIRECTIONAL,4,2 ## @DMA_BIDIRECTIONAL .no_dead_strip _i915_gem_object_get_pages_dmabuf .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i915_gem_object_get_pages_dmabuf _i915_gem_object_get_pages_dmabuf: ; @i915_gem_object_get_pages_dmabuf .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0, #16] Lloh0: adrp x8, _DMA_BIDIRECTIONAL@GOTPAGE Lloh1: ldr x8, [x8, _DMA_BIDIRECTIONAL@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _dma_buf_map_attachment mov x20, x0 bl _IS_ERR cbz x0, LBB0_2 ; %bb.1: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _PTR_ERR LBB0_2: str x20, [x19, #8] mov w8, #1 str w8, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DMA_BIDIRECTIONAL,4,2 ; @DMA_BIDIRECTIONAL .no_dead_strip _i915_gem_object_get_pages_dmabuf .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_gem_dmabuf.c_i915_gem_object_get_pages_dmabuf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xtensa_perfmon_view_cb ## -- Begin function xtensa_perfmon_view_cb .p2align 4, 0x90 _xtensa_perfmon_view_cb: ## @xtensa_perfmon_view_cb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r12d movl %edx, %r14d movl %esi, %ebx movq %rdi, %r15 testq %rdi, %rdi jne LBB0_2 ## %bb.1: movq _stdout@GOTPCREL(%rip), %rax movq (%rax), %r15 LBB0_2: movq _xtensa_perfmon_select_table@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax), %ecx cmpl $-1, %ecx je LBB0_7 ## %bb.3: xorl %r13d, %r13d jmp LBB0_4 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 movl 16(%rax,%r13), %ecx addq $16, %r13 cmpl $-1, %ecx je LBB0_7 LBB0_4: ## =>This Inner Loop Header: Depth=1 cmpl %ebx, %ecx jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq 8(%rax,%r13), %r9 movq %r15, %rdi leaq L_.str(%rip), %rsi movl %r12d, %edx movl %ebx, %ecx movl %r14d, %r8d xorl %eax, %eax callq _fprintf movq _xtensa_perfmon_select_table@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB0_6 LBB0_7: movq _xtensa_perfmon_masks_table@GOTPCREL(%rip), %r13 movq (%r13), %rax movl (%rax), %ecx cmpl $-1, %ecx je LBB0_13 ## %bb.8: xorl %r12d, %r12d jmp LBB0_9 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_9 Depth=1 movl 16(%rax,%r12), %ecx addq $16, %r12 cmpl $-1, %ecx je LBB0_13 LBB0_9: ## =>This Inner Loop Header: Depth=1 cmpl %ebx, %ecx jne LBB0_12 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 testl %r14d, 4(%rax,%r12) je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_9 Depth=1 movq 8(%rax,%r12), %rdx movq %r15, %rdi leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq _fprintf movq (%r13), %rax jmp LBB0_12 LBB0_13: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _stdout,8,3 ## @stdout .comm _xtensa_perfmon_select_table,8,3 ## @xtensa_perfmon_select_table .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Value = %9i, select = %2i, mask = %04x. %s.\n" .comm _xtensa_perfmon_masks_table,8,3 ## @xtensa_perfmon_masks_table L_.str.1: ## @.str.1 .asciz " %s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xtensa_perfmon_view_cb ; -- Begin function xtensa_perfmon_view_cb .p2align 2 _xtensa_perfmon_view_cb: ; @xtensa_perfmon_view_cb .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x2 mov x20, x1 Lloh0: adrp x8, _stdout@GOTPAGE Lloh1: ldr x8, [x8, _stdout@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, #0 csel x21, x8, x0, eq Lloh3: adrp x24, _xtensa_perfmon_select_table@GOTPAGE Lloh4: ldr x24, [x24, _xtensa_perfmon_select_table@GOTPAGEOFF] ldr x8, [x24] ldr w9, [x8] cmn w9, #1 b.eq LBB0_5 ; %bb.1: mov x22, x3 mov x25, #0 Lloh5: adrp x23, l_.str@PAGE Lloh6: add x23, x23, l_.str@PAGEOFF b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x9, x8, x25 ldr w9, [x9, #16] add x25, x25, #16 cmn w9, #1 b.eq LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 cmp w9, w20 b.ne LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add x8, x8, x25 ldr x8, [x8, #8] stp x19, x8, [sp, #16] stp x22, x20, [sp] mov x0, x21 mov x1, x23 bl _fprintf ldr x8, [x24] b LBB0_2 LBB0_5: Lloh7: adrp x23, _xtensa_perfmon_masks_table@GOTPAGE Lloh8: ldr x23, [x23, _xtensa_perfmon_masks_table@GOTPAGEOFF] ldr x8, [x23] ldr w9, [x8] cmn w9, #1 b.eq LBB0_11 ; %bb.6: mov x24, #0 Lloh9: adrp x22, l_.str.1@PAGE Lloh10: add x22, x22, l_.str.1@PAGEOFF b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 add x9, x8, x24 ldr w9, [x9, #16] add x24, x24, #16 cmn w9, #1 b.eq LBB0_11 LBB0_8: ; =>This Inner Loop Header: Depth=1 cmp w9, w20 b.ne LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 add x9, x8, x24 ldr w10, [x9, #4] tst w10, w19 b.eq LBB0_7 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 ldr x8, [x9, #8] str x8, [sp] mov x0, x21 mov x1, x22 bl _fprintf ldr x8, [x23] b LBB0_7 LBB0_11: 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 AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _stdout,8,3 ; @stdout .comm _xtensa_perfmon_select_table,8,3 ; @xtensa_perfmon_select_table .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Value = %9i, select = %2i, mask = %04x. %s.\n" .comm _xtensa_perfmon_masks_table,8,3 ; @xtensa_perfmon_masks_table l_.str.1: ; @.str.1 .asciz " %s\n" .subsections_via_symbols
AnghaBench/esp-idf/components/perfmon/extr_xtensa_perfmon_apis.c_xtensa_perfmon_view_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pblk_setup_line_meta _pblk_setup_line_meta: ## @pblk_setup_line_meta .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movq %rdi, 40(%rsi) movl %ecx, (%rsi) movq _PBLK_LINETYPE_FREE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 36(%rsi) movq _PBLK_LINESTATE_NEW@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 12(%rsi) movq _PBLK_LINEGC_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 32(%rsi) movslq %ecx, %rax shlq $2, %rax addq 32(%rdi), %rax movq %rax, 24(%rsi) leaq 16(%rsi), %rdi callq _spin_lock_init movq %r14, %rdi movq %rbx, %rsi movq %r15, %rdx callq _pblk_setup_line_meta_chk testq %rax, %rax js LBB0_3 ## %bb.1: movq (%r14), %r15 cmpq %rax, %r15 jl LBB0_3 ## %bb.2: subq %rax, %r15 cmpq 8(%r14), %r15 jge LBB0_4 LBB0_3: movq _PBLK_LINESTATE_BAD@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 12(%rbx) addq $4, %rbx addq $24, %r14 movq %rbx, %rdi movq %r14, %rsi callq _list_add_tail xorl %r15d, %r15d jmp LBB0_5 LBB0_4: leaq 8(%rbx), %rdi movq %r15, %rsi callq _atomic_set addq $4, %rbx leaq 20(%r14), %rsi movq %rbx, %rdi callq _list_add_tail incl 16(%r14) LBB0_5: movq %r15, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PBLK_LINETYPE_FREE,4,2 ## @PBLK_LINETYPE_FREE .comm _PBLK_LINESTATE_NEW,4,2 ## @PBLK_LINESTATE_NEW .comm _PBLK_LINEGC_NONE,4,2 ## @PBLK_LINEGC_NONE .comm _PBLK_LINESTATE_BAD,4,2 ## @PBLK_LINESTATE_BAD .no_dead_strip _pblk_setup_line_meta .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pblk_setup_line_meta _pblk_setup_line_meta: ; @pblk_setup_line_meta .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x2 mov x20, x1 mov x19, x0 str x0, [x1, #40] str w3, [x1] Lloh0: adrp x8, _PBLK_LINETYPE_FREE@GOTPAGE Lloh1: ldr x8, [x8, _PBLK_LINETYPE_FREE@GOTPAGEOFF] Lloh2: adrp x9, _PBLK_LINESTATE_NEW@GOTPAGE Lloh3: ldr x9, [x9, _PBLK_LINESTATE_NEW@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: ldr w9, [x9] str w9, [x1, #12] Lloh6: adrp x9, _PBLK_LINEGC_NONE@GOTPAGE Lloh7: ldr x9, [x9, _PBLK_LINEGC_NONE@GOTPAGEOFF] Lloh8: ldr w9, [x9] stp w9, w8, [x1, #32] ldr x8, [x0, #32] add x8, x8, w3, sxtw #2 str x8, [x1, #24] add x0, x1, #16 bl _spin_lock_init mov x0, x19 mov x1, x20 mov x2, x21 bl _pblk_setup_line_meta_chk ldr x8, [x19] subs x21, x8, x0 tbnz x0, #63, LBB0_3 ; %bb.1: b.lt LBB0_3 ; %bb.2: ldr x8, [x19, #8] cmp x21, x8 b.ge LBB0_4 LBB0_3: Lloh9: adrp x8, _PBLK_LINESTATE_BAD@GOTPAGE Lloh10: ldr x8, [x8, _PBLK_LINESTATE_BAD@GOTPAGEOFF] Lloh11: ldr w8, [x8] str w8, [x20, #12] add x0, x20, #4 add x1, x19, #24 bl _list_add_tail mov x21, #0 b LBB0_5 LBB0_4: add x0, x20, #8 mov x1, x21 bl _atomic_set add x0, x20, #4 add x1, x19, #20 bl _list_add_tail ldr w8, [x19, #16] add w8, w8, #1 str w8, [x19, #16] 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 Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _PBLK_LINETYPE_FREE,4,2 ; @PBLK_LINETYPE_FREE .comm _PBLK_LINESTATE_NEW,4,2 ; @PBLK_LINESTATE_NEW .comm _PBLK_LINEGC_NONE,4,2 ; @PBLK_LINEGC_NONE .comm _PBLK_LINESTATE_BAD,4,2 ; @PBLK_LINESTATE_BAD .no_dead_strip _pblk_setup_line_meta .subsections_via_symbols
AnghaBench/linux/drivers/lightnvm/extr_pblk-init.c_pblk_setup_line_meta.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smist_probe _smist_probe: ## @smist_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 leaq L_.str(%rip), %rdi xorl %esi, %esi callq _resource_disabled testq %rax, %rax je LBB0_2 LBB0_1: movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_16 LBB0_2: movq %r15, %rdi callq _device_get_softc movq %rax, %r14 movq %r15, %rdi callq _device_get_parent leaq L_.str.1(%rip), %rsi movl %eax, %edi movl $-1, %edx callq _device_find_child testq %rax, %rax je LBB0_6 ## %bb.3: movq %rax, %rbx movq %rax, %rdi callq _device_is_attached testq %rax, %rax je LBB0_6 ## %bb.4: leaq -48(%rbp), %rsi movq %rbx, %rdi callq _CPUFREQ_DRV_TYPE testl %eax, %eax jne LBB0_6 ## %bb.5: movq _CPUFREQ_FLAG_INFO_ONLY@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, -48(%rbp) je LBB0_1 LBB0_6: movq %r15, %rdi callq _device_get_parent leaq L_.str.2(%rip), %rsi movl %eax, %edi movl $-1, %edx callq _device_find_child testq %rax, %rax je LBB0_8 ## %bb.7: movq %rax, %rdi callq _device_is_attached testq %rax, %rax jne LBB0_1 LBB0_8: leaq -32(%rbp), %rdi leaq -44(%rbp), %rsi leaq -28(%rbp), %rdx leaq -40(%rbp), %rcx leaq -36(%rbp), %r8 callq _int15_gsic_call movq _bootverbose@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_10 ## %bb.9: movl -32(%rbp), %edx movl -44(%rbp), %ecx movl -28(%rbp), %r8d movl -40(%rbp), %r9d movl -36(%rbp), %eax movl %eax, (%rsp) leaq L_.str.3(%rip), %rsi movq %r15, %rdi xorl %eax, %eax callq _device_printf LBB0_10: cmpl $-1, -32(%rbp) je LBB0_14 ## %bb.11: movl -44(%rbp), %eax movl %eax, (%r14) movl -40(%rbp), %eax movl %eax, 4(%r14) movl -28(%rbp), %eax cmpl $128, %eax jne LBB0_13 ## %bb.12: leaq L_.str.4(%rip), %rsi movq %r15, %rdi xorl %eax, %eax callq _device_printf movl $130, -28(%rbp) movl $130, %eax LBB0_13: movl $-256, %ecx andl -32(%rbp), %ecx movzbl %al, %eax orl %ecx, %eax movl %eax, 8(%r14) movl -36(%rbp), %eax jmp LBB0_15 LBB0_14: movabsq $768799146162, %rax ## imm = 0xB3000000B2 movq %rax, (%r14) movl $1196640642, 8(%r14) ## imm = 0x47534982 xorl %eax, %eax LBB0_15: movl %eax, 12(%r14) leaq L_.str.5(%rip), %rsi movq %r15, %rdi callq _device_set_desc movl $-1500, %eax ## imm = 0xFA24 LBB0_16: addq $40, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "smist" .comm _ENXIO,4,2 ## @ENXIO L_.str.1: ## @.str.1 .asciz "acpi_perf" .comm _CPUFREQ_FLAG_INFO_ONLY,4,2 ## @CPUFREQ_FLAG_INFO_ONLY L_.str.2: ## @.str.2 .asciz "ichss" .comm _bootverbose,8,3 ## @bootverbose L_.str.3: ## @.str.3 .asciz "sig %.8x smi_cmd %.4x command %.2x smi_data %.4x flags %.8x\n" L_.str.4: ## @.str.4 .asciz "GSIC returned cmd 0x80, should be 0x82\n" L_.str.5: ## @.str.5 .asciz "SpeedStep SMI" .no_dead_strip _smist_probe .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 smist_probe lCPI0_0: .long 178 ; 0xb2 .long 179 ; 0xb3 .section __TEXT,__text,regular,pure_instructions .p2align 2 _smist_probe: ; @smist_probe .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov w1, #0 bl _resource_disabled cbz x0, LBB0_2 LBB0_1: Lloh2: adrp x8, _ENXIO@GOTPAGE Lloh3: ldr x8, [x8, _ENXIO@GOTPAGEOFF] Lloh4: ldr w0, [x8] b LBB0_16 LBB0_2: mov x0, x19 bl _device_get_softc mov x20, x0 mov x0, x19 bl _device_get_parent Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov w2, #-1 bl _device_find_child cbz x0, LBB0_6 ; %bb.3: mov x21, x0 bl _device_is_attached cbz x0, LBB0_6 ; %bb.4: add x1, sp, #40 mov x0, x21 bl _CPUFREQ_DRV_TYPE cbnz w0, LBB0_6 ; %bb.5: ldr w8, [sp, #40] Lloh7: adrp x9, _CPUFREQ_FLAG_INFO_ONLY@GOTPAGE Lloh8: ldr x9, [x9, _CPUFREQ_FLAG_INFO_ONLY@GOTPAGEOFF] Lloh9: ldr w9, [x9] tst w9, w8 b.eq LBB0_1 LBB0_6: mov x0, x19 bl _device_get_parent Lloh10: adrp x1, l_.str.2@PAGE Lloh11: add x1, x1, l_.str.2@PAGEOFF mov w2, #-1 bl _device_find_child cbz x0, LBB0_8 ; %bb.7: bl _device_is_attached cbnz x0, LBB0_1 LBB0_8: sub x0, x29, #36 sub x1, x29, #40 sub x2, x29, #44 add x3, sp, #48 add x4, sp, #44 bl _int15_gsic_call Lloh12: adrp x8, _bootverbose@GOTPAGE Lloh13: ldr x8, [x8, _bootverbose@GOTPAGEOFF] Lloh14: ldr x8, [x8] cbz x8, LBB0_10 ; %bb.9: ldp w9, w8, [x29, #-40] ldur w10, [x29, #-44] ldp w12, w11, [sp, #44] stp x11, x12, [sp, #24] stp x9, x10, [sp, #8] str x8, [sp] Lloh15: adrp x1, l_.str.3@PAGE Lloh16: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _device_printf LBB0_10: ldur w8, [x29, #-36] cmn w8, #1 b.eq LBB0_14 ; %bb.11: ldur w8, [x29, #-40] str w8, [x20] ldr w8, [sp, #48] str w8, [x20, #4] ldur w8, [x29, #-44] cmp w8, #128 b.ne LBB0_13 ; %bb.12: Lloh17: adrp x1, l_.str.4@PAGE Lloh18: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 bl _device_printf mov w8, #130 stur w8, [x29, #-44] LBB0_13: ldur w9, [x29, #-36] bfxil w9, w8, #0, #8 str w9, [x20, #8] ldr w8, [sp, #44] b LBB0_15 LBB0_14: mov w8, #0 Lloh19: adrp x9, lCPI0_0@PAGE Lloh20: ldr d0, [x9, lCPI0_0@PAGEOFF] str d0, [x20] mov w9, #18818 movk w9, #18259, lsl #16 str w9, [x20, #8] LBB0_15: str w8, [x20, #12] Lloh21: adrp x1, l_.str.5@PAGE Lloh22: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 bl _device_set_desc mov w0, #-1500 LBB0_16: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdr Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "smist" .comm _ENXIO,4,2 ; @ENXIO l_.str.1: ; @.str.1 .asciz "acpi_perf" .comm _CPUFREQ_FLAG_INFO_ONLY,4,2 ; @CPUFREQ_FLAG_INFO_ONLY l_.str.2: ; @.str.2 .asciz "ichss" .comm _bootverbose,8,3 ; @bootverbose l_.str.3: ; @.str.3 .asciz "sig %.8x smi_cmd %.4x command %.2x smi_data %.4x flags %.8x\n" l_.str.4: ; @.str.4 .asciz "GSIC returned cmd 0x80, should be 0x82\n" l_.str.5: ; @.str.5 .asciz "SpeedStep SMI" .no_dead_strip _smist_probe .subsections_via_symbols
AnghaBench/freebsd/sys/x86/cpufreq/extr_smist.c_smist_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wbsd_tasklet_crc _wbsd_tasklet_crc: ## @wbsd_tasklet_crc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx callq _spin_lock cmpl $0, 8(%rbx) je LBB0_3 ## %bb.1: movq %rbx, %rdi callq _wbsd_get_data testq %rax, %rax je LBB0_3 ## %bb.2: movq %rax, %r14 leaq L_.str(%rip), %rdi callq _DBGF movq _EILSEQ@GOTPCREL(%rip), %rax xorl %ecx, %ecx subl (%rax), %ecx movl %ecx, (%r14) leaq 4(%rbx), %rdi callq _tasklet_schedule LBB0_3: movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _spin_unlock ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "CRC error\n" .comm _EILSEQ,4,2 ## @EILSEQ .no_dead_strip _wbsd_tasklet_crc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wbsd_tasklet_crc _wbsd_tasklet_crc: ; @wbsd_tasklet_crc .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _spin_lock ldr w8, [x19, #8] cbz w8, LBB0_3 ; %bb.1: mov x0, x19 bl _wbsd_get_data cbz x0, LBB0_3 ; %bb.2: mov x20, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _DBGF Lloh2: adrp x8, _EILSEQ@GOTPAGE Lloh3: ldr x8, [x8, _EILSEQ@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w8, w8 str w8, [x20] add x0, x19, #4 bl _tasklet_schedule LBB0_3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _spin_unlock .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "CRC error\n" .comm _EILSEQ,4,2 ; @EILSEQ .no_dead_strip _wbsd_tasklet_crc .subsections_via_symbols
AnghaBench/linux/drivers/mmc/host/extr_wbsd.c_wbsd_tasklet_crc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function strbuf_split _strbuf_split: ## @strbuf_split .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edx, %edx popq %rbp jmp _strbuf_split_max ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _strbuf_split .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function strbuf_split _strbuf_split: ; @strbuf_split .cfi_startproc ; %bb.0: mov w2, #0 b _strbuf_split_max .cfi_endproc ; -- End function .no_dead_strip _strbuf_split .subsections_via_symbols
AnghaBench/git/extr_strbuf.h_strbuf_split.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rk3x_i2c_handle_stop _rk3x_i2c_handle_stop: ## @rk3x_i2c_handle_stop .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 movq _REG_INT_STOP@GOTPCREL(%rip), %rax movl (%rax), %esi testl %r14d, %esi je LBB0_1 ## %bb.2: movq _REG_IPD@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi callq _i2c_writel movq _REG_CON@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi callq _i2c_readl movq _REG_CON_STOP@GOTPCREL(%rip), %rcx movl (%rcx), %esi notl %esi andl %eax, %esi movl (%r14), %edx movq %rbx, %rdi callq _i2c_writel movl $0, (%rbx) movq _STATE_IDLE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) addq $4, %rbx movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _wake_up ## TAILCALL LBB0_1: movq _EIO@GOTPCREL(%rip), %rax xorl %esi, %esi subl (%rax), %esi movq %rbx, %rdi callq _rk3x_i2c_stop movl 12(%rbx), %edi leaq L_.str(%rip), %rsi movl %r14d, %edx callq _dev_err movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _rk3x_i2c_clean_ipd ## TAILCALL .cfi_endproc ## -- End function .comm _REG_INT_STOP,4,2 ## @REG_INT_STOP .comm _EIO,4,2 ## @EIO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "unexpected irq in STOP: 0x%x\n" .comm _REG_IPD,4,2 ## @REG_IPD .comm _REG_CON,4,2 ## @REG_CON .comm _REG_CON_STOP,4,2 ## @REG_CON_STOP .comm _STATE_IDLE,4,2 ## @STATE_IDLE .no_dead_strip _rk3x_i2c_handle_stop .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rk3x_i2c_handle_stop _rk3x_i2c_handle_stop: ; @rk3x_i2c_handle_stop .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 Lloh0: adrp x8, _REG_INT_STOP@GOTPAGE Lloh1: ldr x8, [x8, _REG_INT_STOP@GOTPAGEOFF] Lloh2: ldr w1, [x8] tst w1, w20 b.eq LBB0_2 ; %bb.1: Lloh3: adrp x8, _REG_IPD@GOTPAGE Lloh4: ldr x8, [x8, _REG_IPD@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov x0, x19 bl _i2c_writel Lloh6: adrp x20, _REG_CON@GOTPAGE Lloh7: ldr x20, [x20, _REG_CON@GOTPAGEOFF] ldr w1, [x20] mov x0, x19 bl _i2c_readl Lloh8: adrp x8, _REG_CON_STOP@GOTPAGE Lloh9: ldr x8, [x8, _REG_CON_STOP@GOTPAGEOFF] Lloh10: ldr w8, [x8] bic w1, w0, w8 ldr w2, [x20] mov x0, x19 bl _i2c_writel str wzr, [x19] Lloh11: adrp x8, _STATE_IDLE@GOTPAGE Lloh12: ldr x8, [x8, _STATE_IDLE@GOTPAGEOFF] Lloh13: ldr w8, [x8] str w8, [x19, #8] add x0, x19, #4 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _wake_up LBB0_2: Lloh14: adrp x8, _EIO@GOTPAGE Lloh15: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh16: ldr w8, [x8] neg w1, w8 mov x0, x19 bl _rk3x_i2c_stop ldr w0, [x19, #12] Lloh17: adrp x1, l_.str@PAGE Lloh18: add x1, x1, l_.str@PAGEOFF mov x2, x20 bl _dev_err mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _rk3x_i2c_clean_ipd .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _REG_INT_STOP,4,2 ; @REG_INT_STOP .comm _EIO,4,2 ; @EIO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "unexpected irq in STOP: 0x%x\n" .comm _REG_IPD,4,2 ; @REG_IPD .comm _REG_CON,4,2 ; @REG_CON .comm _REG_CON_STOP,4,2 ; @REG_CON_STOP .comm _STATE_IDLE,4,2 ; @STATE_IDLE .no_dead_strip _rk3x_i2c_handle_stop .subsections_via_symbols
AnghaBench/linux/drivers/i2c/busses/extr_i2c-rk3x.c_rk3x_i2c_handle_stop.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CmpIkeSa ## -- Begin function CmpIkeSa .p2align 4, 0x90 _CmpIkeSa: ## @CmpIkeSa .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testq %rdi, %rdi je LBB0_4 ## %bb.1: testq %rsi, %rsi je LBB0_4 ## %bb.2: movq (%rdi), %rax testq %rax, %rax je LBB0_4 ## %bb.3: movq (%rsi), %rcx testq %rcx, %rcx je LBB0_4 ## %bb.5: movl (%rax), %edi movl (%rcx), %esi popq %rbp jmp _COMPARE_RET ## TAILCALL LBB0_4: 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 _CmpIkeSa ; -- Begin function CmpIkeSa .p2align 2 _CmpIkeSa: ; @CmpIkeSa .cfi_startproc ; %bb.0: cbz x0, LBB0_3 ; %bb.1: cbz x1, LBB0_3 ; %bb.2: ldr x8, [x0] ldr x9, [x1] cmp x8, #0 ccmp x9, #0, #4, ne b.ne LBB0_4 LBB0_3: mov w0, #0 ret LBB0_4: ldr w0, [x8] ldr w1, [x9] b _COMPARE_RET .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IKE.c_CmpIkeSa.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _security_task_to_inode ## -- Begin function security_task_to_inode .p2align 4, 0x90 _security_task_to_inode: ## @security_task_to_inode .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, %rdx movq %rdi, %rsi movq _task_to_inode@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _call_void_hook ## TAILCALL .cfi_endproc ## -- End function .comm _task_to_inode,4,2 ## @task_to_inode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _security_task_to_inode ; -- Begin function security_task_to_inode .p2align 2 _security_task_to_inode: ; @security_task_to_inode .cfi_startproc ; %bb.0: mov x2, x1 mov x1, x0 Lloh0: adrp x8, _task_to_inode@GOTPAGE Lloh1: ldr x8, [x8, _task_to_inode@GOTPAGEOFF] Lloh2: ldr w0, [x8] b _call_void_hook .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _task_to_inode,4,2 ; @task_to_inode .subsections_via_symbols
AnghaBench/linux/security/extr_security.c_security_task_to_inode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ixp4xx_gpio_irq_unmask _ixp4xx_gpio_irq_unmask: ## @ixp4xx_gpio_irq_unmask .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx callq _irq_data_get_irq_chip_data movq %rax, %rdi callq _gpiochip_get_data movl (%rax), %r14d movl (%rbx), %edi callq _BIT testl %r14d, %eax jne LBB0_2 ## %bb.1: movq %rbx, %rdi callq _ixp4xx_gpio_irq_ack LBB0_2: movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _irq_chip_unmask_parent ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _ixp4xx_gpio_irq_unmask .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ixp4xx_gpio_irq_unmask _ixp4xx_gpio_irq_unmask: ; @ixp4xx_gpio_irq_unmask .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _irq_data_get_irq_chip_data bl _gpiochip_get_data ldr w20, [x0] ldr w0, [x19] bl _BIT tst w0, w20 b.ne LBB0_2 ; %bb.1: mov x0, x19 bl _ixp4xx_gpio_irq_ack LBB0_2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _irq_chip_unmask_parent .cfi_endproc ; -- End function .no_dead_strip _ixp4xx_gpio_irq_unmask .subsections_via_symbols
AnghaBench/linux/drivers/gpio/extr_gpio-ixp4xx.c_ixp4xx_gpio_irq_unmask.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function one_one_mapping _one_one_mapping: ## @one_one_mapping .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 _TRUE@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _ABSENT_STRING@GOTPCREL(%rip), %rax cmpq %rdi, (%rax) je LBB0_7 ## %bb.1: movq %rdi, %rbx movb (%rdi), %al testb %al, %al je LBB0_7 ## %bb.2: addq $2, %rbx jmp LBB0_3 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movzbl (%rbx), %eax addq $2, %rbx testb %al, %al je LBB0_7 LBB0_3: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi callq _isLine testq %rax, %rax je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movzbl -2(%rbx), %eax cmpb -1(%rbx), %al je LBB0_6 ## %bb.5: movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %r14d LBB0_7: movl %r14d, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .comm _ABSENT_STRING,8,3 ## @ABSENT_STRING .comm _FALSE,4,2 ## @FALSE .no_dead_strip _one_one_mapping .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function one_one_mapping _one_one_mapping: ; @one_one_mapping .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _TRUE@GOTPAGE Lloh1: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh2: ldr w19, [x8] Lloh3: adrp x8, _ABSENT_STRING@GOTPAGE Lloh4: ldr x8, [x8, _ABSENT_STRING@GOTPAGEOFF] Lloh5: ldr x8, [x8] cmp x8, x0 b.eq LBB0_7 ; %bb.1: ldrb w8, [x0] cbz w8, LBB0_7 ; %bb.2: add x20, x0, #1 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldrb w8, [x20, #1] add x20, x20, #2 cbz w8, LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 bl _isLine cbz x0, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldurb w8, [x20, #-1] ldrb w9, [x20] cmp w8, w9 b.eq LBB0_3 ; %bb.6: Lloh6: adrp x8, _FALSE@GOTPAGE Lloh7: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh8: ldr w19, [x8] LBB0_7: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .comm _ABSENT_STRING,8,3 ; @ABSENT_STRING .comm _FALSE,4,2 ; @FALSE .no_dead_strip _one_one_mapping .subsections_via_symbols
AnghaBench/freebsd/contrib/ncurses/progs/extr_dump_entry.c_one_one_mapping.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SSL_SRP_CTX_init ## -- Begin function SSL_SRP_CTX_init .p2align 4, 0x90 _SSL_SRP_CTX_init: ## @SSL_SRP_CTX_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 xorl %ebx, %ebx testq %rdi, %rdi je LBB0_33 ## %bb.1: movq %rdi, %r14 movq 104(%rdi), %r15 testq %r15, %r15 je LBB0_33 ## %bb.2: movq %r14, %rdi xorl %esi, %esi movl $104, %edx callq _memset movl 104(%r15), %eax movl %eax, 100(%r14) movups 88(%r15), %xmm0 movups %xmm0, 84(%r14) movq 80(%r15), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.3: callq _BN_dup movq %rax, 56(%r14) testq %rax, %rax je LBB0_31 LBB0_4: movq 72(%r15), %rdi testq %rdi, %rdi je LBB0_6 ## %bb.5: callq _BN_dup movq %rax, 48(%r14) testq %rax, %rax je LBB0_31 LBB0_6: movq 64(%r15), %rdi testq %rdi, %rdi je LBB0_8 ## %bb.7: callq _BN_dup movq %rax, 40(%r14) testq %rax, %rax je LBB0_31 LBB0_8: movq 56(%r15), %rdi testq %rdi, %rdi je LBB0_10 ## %bb.9: callq _BN_dup movq %rax, 32(%r14) testq %rax, %rax je LBB0_31 LBB0_10: movq 48(%r15), %rdi testq %rdi, %rdi je LBB0_12 ## %bb.11: callq _BN_dup movq %rax, 24(%r14) testq %rax, %rax je LBB0_31 LBB0_12: movq 40(%r15), %rdi testq %rdi, %rdi je LBB0_14 ## %bb.13: callq _BN_dup movq %rax, 16(%r14) testq %rax, %rax je LBB0_31 LBB0_14: movq 32(%r15), %rdi testq %rdi, %rdi je LBB0_16 ## %bb.15: callq _BN_dup movq %rax, (%r14) testq %rax, %rax je LBB0_31 LBB0_16: movq 24(%r15), %rdi testq %rdi, %rdi je LBB0_18 ## %bb.17: callq _BN_dup movq %rax, 8(%r14) testq %rax, %rax je LBB0_31 LBB0_18: movq 16(%r15), %rdi testq %rdi, %rdi je LBB0_20 ## %bb.19: callq _OPENSSL_strdup movq %rax, 72(%r14) testq %rax, %rax je LBB0_30 LBB0_20: movq 8(%r15), %rdi testq %rdi, %rdi je LBB0_22 ## %bb.21: callq _BUF_strdup movq %rax, 64(%r14) testq %rax, %rax je LBB0_30 LBB0_22: movl (%r15), %eax movl %eax, 80(%r14) movl $1, %ebx jmp LBB0_33 LBB0_31: movq _ERR_R_BN_LIB@GOTPCREL(%rip), %rax LBB0_32: movq _SSL_F_SSL_SRP_CTX_INIT@GOTPCREL(%rip), %rcx movl (%rcx), %edi movl (%rax), %esi callq _SSLerr movq 72(%r14), %rdi callq _OPENSSL_free movq 64(%r14), %rdi callq _OPENSSL_free movq 56(%r14), %rdi callq _BN_free movq 48(%r14), %rdi callq _BN_free movq 40(%r14), %rdi callq _BN_free movq 32(%r14), %rdi callq _BN_free movq 24(%r14), %rdi callq _BN_free movq 16(%r14), %rdi callq _BN_free movq 8(%r14), %rdi callq _BN_free movq (%r14), %rdi callq _BN_free xorl %ebx, %ebx movq %r14, %rdi xorl %esi, %esi movl $104, %edx callq _memset LBB0_33: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_30: movq _ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax jmp LBB0_32 .cfi_endproc ## -- End function .comm _SSL_F_SSL_SRP_CTX_INIT,4,2 ## @SSL_F_SSL_SRP_CTX_INIT .comm _ERR_R_BN_LIB,4,2 ## @ERR_R_BN_LIB .comm _ERR_R_INTERNAL_ERROR,4,2 ## @ERR_R_INTERNAL_ERROR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SSL_SRP_CTX_init ; -- Begin function SSL_SRP_CTX_init .p2align 2 _SSL_SRP_CTX_init: ; @SSL_SRP_CTX_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 cbz x0, LBB0_26 ; %bb.1: mov x19, x0 ldr x20, [x0, #104] cbz x20, LBB0_25 ; %bb.2: mov x0, x19 mov w1, #0 mov w2, #104 bl _memset ldr w8, [x20, #104] str w8, [x19, #100] ldur q0, [x20, #88] stur q0, [x19, #84] ldr x0, [x20, #80] cbz x0, LBB0_4 ; %bb.3: bl _BN_dup str x0, [x19, #56] cbz x0, LBB0_23 LBB0_4: ldr x0, [x20, #72] cbz x0, LBB0_6 ; %bb.5: bl _BN_dup str x0, [x19, #48] cbz x0, LBB0_23 LBB0_6: ldr x0, [x20, #64] cbz x0, LBB0_8 ; %bb.7: bl _BN_dup str x0, [x19, #40] cbz x0, LBB0_23 LBB0_8: ldr x0, [x20, #56] cbz x0, LBB0_10 ; %bb.9: bl _BN_dup str x0, [x19, #32] cbz x0, LBB0_23 LBB0_10: ldr x0, [x20, #48] cbz x0, LBB0_12 ; %bb.11: bl _BN_dup str x0, [x19, #24] cbz x0, LBB0_23 LBB0_12: ldr x0, [x20, #40] cbz x0, LBB0_14 ; %bb.13: bl _BN_dup str x0, [x19, #16] cbz x0, LBB0_23 LBB0_14: ldr x0, [x20, #32] cbz x0, LBB0_16 ; %bb.15: bl _BN_dup str x0, [x19] cbz x0, LBB0_23 LBB0_16: ldr x0, [x20, #24] cbz x0, LBB0_18 ; %bb.17: bl _BN_dup str x0, [x19, #8] cbz x0, LBB0_23 LBB0_18: ldr x0, [x20, #16] cbz x0, LBB0_20 ; %bb.19: bl _OPENSSL_strdup str x0, [x19, #72] cbz x0, LBB0_27 LBB0_20: ldr x0, [x20, #8] cbz x0, LBB0_22 ; %bb.21: bl _BUF_strdup str x0, [x19, #64] cbz x0, LBB0_27 LBB0_22: ldr w8, [x20] str w8, [x19, #80] mov w0, #1 b LBB0_26 LBB0_23: Lloh0: adrp x8, _ERR_R_BN_LIB@GOTPAGE Lloh1: ldr x8, [x8, _ERR_R_BN_LIB@GOTPAGEOFF] LBB0_24: Lloh2: adrp x9, _SSL_F_SSL_SRP_CTX_INIT@GOTPAGE Lloh3: ldr x9, [x9, _SSL_F_SSL_SRP_CTX_INIT@GOTPAGEOFF] Lloh4: ldr w0, [x9] ldr w1, [x8] bl _SSLerr ldr x0, [x19, #72] bl _OPENSSL_free ldr x0, [x19, #64] bl _OPENSSL_free ldr x0, [x19, #56] bl _BN_free ldr x0, [x19, #48] bl _BN_free ldr x0, [x19, #40] bl _BN_free ldr x0, [x19, #32] bl _BN_free ldr x0, [x19, #24] bl _BN_free ldr x0, [x19, #16] bl _BN_free ldr x0, [x19, #8] bl _BN_free ldr x0, [x19] bl _BN_free mov x0, x19 mov w1, #0 mov w2, #104 bl _memset LBB0_25: mov w0, #0 LBB0_26: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_27: Lloh5: adrp x8, _ERR_R_INTERNAL_ERROR@GOTPAGE Lloh6: ldr x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF] b LBB0_24 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _SSL_F_SSL_SRP_CTX_INIT,4,2 ; @SSL_F_SSL_SRP_CTX_INIT .comm _ERR_R_BN_LIB,4,2 ; @ERR_R_BN_LIB .comm _ERR_R_INTERNAL_ERROR,4,2 ; @ERR_R_INTERNAL_ERROR .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/ssl/extr_tls_srp.c_SSL_SRP_CTX_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cfg80211_get_bss_channel _cfg80211_get_bss_channel: ## @cfg80211_get_bss_channel .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, %rbx movq %rdi, %r14 movq _WLAN_EID_DS_PARAMS@GOTPCREL(%rip), %rax movl (%rax), %edi callq _cfg80211_find_ie testq %rax, %rax je LBB0_2 ## %bb.1: cmpl $1, 4(%rax) je LBB0_4 LBB0_2: movq _WLAN_EID_HT_OPERATION@GOTPCREL(%rip), %rax movl (%rax), %edi movq %rbx, %rsi movq %r12, %rdx callq _cfg80211_find_ie testq %rax, %rax je LBB0_8 ## %bb.3: cmpl $4, 4(%rax) jb LBB0_8 LBB0_4: movl 8(%rax), %edi testl %edi, %edi js LBB0_8 ## %bb.5: movl 4(%r15), %esi callq _ieee80211_channel_to_frequency movq %r14, %rdi movl %eax, %esi callq _ieee80211_get_channel testq %rax, %rax je LBB0_6 ## %bb.7: movq _IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rcx movl (%rcx), %ecx xorl %r15d, %r15d testl %ecx, (%rax) cmoveq %rax, %r15 jmp LBB0_8 LBB0_6: xorl %r15d, %r15d LBB0_8: movq %r15, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _WLAN_EID_DS_PARAMS,4,2 ## @WLAN_EID_DS_PARAMS .comm _WLAN_EID_HT_OPERATION,4,2 ## @WLAN_EID_HT_OPERATION .comm _IEEE80211_CHAN_DISABLED,4,2 ## @IEEE80211_CHAN_DISABLED .no_dead_strip _cfg80211_get_bss_channel .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cfg80211_get_bss_channel _cfg80211_get_bss_channel: ; @cfg80211_get_bss_channel .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x3 mov x21, x2 mov x22, x1 mov x20, x0 Lloh0: adrp x8, _WLAN_EID_DS_PARAMS@GOTPAGE Lloh1: ldr x8, [x8, _WLAN_EID_DS_PARAMS@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _cfg80211_find_ie cbz x0, LBB0_2 ; %bb.1: ldr w8, [x0, #4] cmp w8, #1 b.eq LBB0_4 LBB0_2: Lloh3: adrp x8, _WLAN_EID_HT_OPERATION@GOTPAGE Lloh4: ldr x8, [x8, _WLAN_EID_HT_OPERATION@GOTPAGEOFF] Lloh5: ldr w0, [x8] mov x1, x22 mov x2, x21 bl _cfg80211_find_ie cbz x0, LBB0_8 ; %bb.3: ldr w8, [x0, #4] cmp w8, #4 b.lo LBB0_8 LBB0_4: ldr w0, [x0, #8] tbnz w0, #31, LBB0_8 ; %bb.5: ldr w1, [x19, #4] bl _ieee80211_channel_to_frequency mov x1, x0 mov x0, x20 bl _ieee80211_get_channel cbz x0, LBB0_7 ; %bb.6: ldr w8, [x0] Lloh6: adrp x9, _IEEE80211_CHAN_DISABLED@GOTPAGE Lloh7: ldr x9, [x9, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF] Lloh8: ldr w9, [x9] tst w9, w8 csel x19, x0, xzr, eq b LBB0_8 LBB0_7: mov x19, #0 LBB0_8: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _WLAN_EID_DS_PARAMS,4,2 ; @WLAN_EID_DS_PARAMS .comm _WLAN_EID_HT_OPERATION,4,2 ; @WLAN_EID_HT_OPERATION .comm _IEEE80211_CHAN_DISABLED,4,2 ; @IEEE80211_CHAN_DISABLED .no_dead_strip _cfg80211_get_bss_channel .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/wireless/extr_scan.c_cfg80211_get_bss_channel.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sd_pkt_scan _sd_pkt_scan: ## @sd_pkt_scan .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rsi, %rbx movq %rdi, %r15 cmpl $255, (%rsi) jne LBB0_3 ## %bb.1: cmpl $254, 4(%rbx) jne LBB0_3 ## %bb.2: movq _LAST_PACKET@GOTPCREL(%rip), %rax movl (%rax), %esi leaq _sd_pkt_scan.ffd9(%rip), %rdx movq %r15, %rdi movl $2, %ecx xorl %eax, %eax callq _gspca_frame_add movq _FIRST_PACKET@GOTPCREL(%rip), %rax movl (%rax), %esi movq (%r15), %rdx movq _JPEG_HDR_SZ@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r15, %rdi xorl %eax, %eax callq _gspca_frame_add addq $48, %rbx addl $-12, %r14d LBB0_3: movq _INTER_PACKET@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi movq %rbx, %rdx movl %r14d, %ecx xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _gspca_frame_add ## TAILCALL .cfi_endproc ## -- End function .section __DATA,__data _sd_pkt_scan.ffd9: ## @sd_pkt_scan.ffd9 .ascii "\377\331" .comm _LAST_PACKET,4,2 ## @LAST_PACKET .comm _FIRST_PACKET,4,2 ## @FIRST_PACKET .comm _JPEG_HDR_SZ,4,2 ## @JPEG_HDR_SZ .comm _INTER_PACKET,4,2 ## @INTER_PACKET .comm _STKHDRSZ,8,3 ## @STKHDRSZ .no_dead_strip _sd_pkt_scan .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sd_pkt_scan _sd_pkt_scan: ; @sd_pkt_scan .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x21, x1 mov x19, x0 ldr w8, [x1] cmp w8, #255 b.ne LBB0_3 ; %bb.1: ldr w8, [x21, #4] cmp w8, #254 b.ne LBB0_3 ; %bb.2: Lloh0: adrp x8, _LAST_PACKET@GOTPAGE Lloh1: ldr x8, [x8, _LAST_PACKET@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w8, #2 Lloh3: adrp x9, _sd_pkt_scan.ffd9@PAGE Lloh4: add x9, x9, _sd_pkt_scan.ffd9@PAGEOFF stp x9, x8, [sp] mov x0, x19 bl _gspca_frame_add Lloh5: adrp x8, _FIRST_PACKET@GOTPAGE Lloh6: ldr x8, [x8, _FIRST_PACKET@GOTPAGEOFF] Lloh7: ldr w1, [x8] ldr x8, [x19] Lloh8: adrp x9, _JPEG_HDR_SZ@GOTPAGE Lloh9: ldr x9, [x9, _JPEG_HDR_SZ@GOTPAGEOFF] Lloh10: ldr w9, [x9] stp x8, x9, [sp] mov x0, x19 bl _gspca_frame_add add x21, x21, #48 sub w20, w20, #12 LBB0_3: Lloh11: adrp x8, _INTER_PACKET@GOTPAGE Lloh12: ldr x8, [x8, _INTER_PACKET@GOTPAGEOFF] Lloh13: ldr w1, [x8] stp x21, x20, [sp] mov x0, x19 bl _gspca_frame_add 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 Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .section __DATA,__data _sd_pkt_scan.ffd9: ; @sd_pkt_scan.ffd9 .ascii "\377\331" .comm _LAST_PACKET,4,2 ; @LAST_PACKET .comm _FIRST_PACKET,4,2 ; @FIRST_PACKET .comm _JPEG_HDR_SZ,4,2 ; @JPEG_HDR_SZ .comm _INTER_PACKET,4,2 ; @INTER_PACKET .comm _STKHDRSZ,8,3 ; @STKHDRSZ .no_dead_strip _sd_pkt_scan .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_stk014.c_sd_pkt_scan.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hfi1_dbg_ibdev_exit ## -- Begin function hfi1_dbg_ibdev_exit .p2align 4, 0x90 _hfi1_dbg_ibdev_exit: ## @hfi1_dbg_ibdev_exit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq _hfi1_dbg_root@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rbx, %rdi callq _hfi1_fault_exit_debugfs movl 8(%rbx), %edi callq _debugfs_remove movq (%rbx), %rdi callq _debugfs_remove_recursive LBB0_2: movq $0, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _hfi1_dbg_root,4,2 ## @hfi1_dbg_root .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hfi1_dbg_ibdev_exit ; -- Begin function hfi1_dbg_ibdev_exit .p2align 2 _hfi1_dbg_ibdev_exit: ; @hfi1_dbg_ibdev_exit .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, _hfi1_dbg_root@GOTPAGE Lloh1: ldr x8, [x8, _hfi1_dbg_root@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x0, x19 bl _hfi1_fault_exit_debugfs ldr w0, [x19, #8] bl _debugfs_remove ldr x0, [x19] bl _debugfs_remove_recursive LBB0_2: str xzr, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _hfi1_dbg_root,4,2 ; @hfi1_dbg_root .subsections_via_symbols
AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_debugfs.c_hfi1_dbg_ibdev_exit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _closef_locked ## -- Begin function closef_locked .p2align 4, 0x90 _closef_locked: ## @closef_locked .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 testq %rsi, %rsi je LBB0_11 ## %bb.1: movq %rdx, %r14 movq %rsi, %r13 movq %rdi, %r15 xorl %ebx, %ebx xorl %eax, %eax callq _current_proc cmpq %r14, %rax jne LBB0_3 ## %bb.2: xorl %eax, %eax callq _current_thread movq %rax, %rbx LBB0_3: movq %rbx, -48(%rbp) movl 32(%r13), %eax movl %eax, -56(%rbp) testq %r14, %r14 je LBB0_9 ## %bb.4: movq _P_LADVLOCK@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r14) je LBB0_9 ## %bb.5: movq _DTYPE_VNODE@GOTPCREL(%rip), %rax movq (%rax), %rbx movq %r13, %rdi callq _FILEGLOB_DTYPE cmpq %rax, %rbx jne LBB0_9 ## %bb.6: movq %r14, %rdi callq _proc_fdunlock movq _SEEK_SET@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -64(%rbp) xorps %xmm0, %xmm0 movups %xmm0, -80(%rbp) movq _F_UNLCK@GOTPCREL(%rip), %rbx movl (%rbx), %eax movl %eax, -88(%rbp) movq 24(%r13), %r12 movq %r12, %rdi callq _vnode_getwithref testl %eax, %eax jne LBB0_8 ## %bb.7: movl (%rbx), %edx movq _F_POSIX@GOTPCREL(%rip), %rax movl (%rax), %r8d movq $0, (%rsp) leaq -88(%rbp), %rcx leaq -56(%rbp), %r9 movq %r12, %rdi movl %r14d, %esi callq _VNOP_ADVLOCK movq %r12, %rdi callq _vnode_put LBB0_8: movq %r14, %rdi callq _proc_fdlock LBB0_9: leaq 8(%r13), %r12 movq %r12, %rdi callq _lck_mtx_lock_spin movq (%r13), %rax leaq -1(%rax), %rcx movq %rcx, (%r13) cmpq $2, %rax jl LBB0_12 ## %bb.10: movq %r12, %rdi callq _lck_mtx_unlock LBB0_11: xorl %ebx, %ebx jmp LBB0_19 LBB0_12: testq %r15, %r15 je LBB0_15 ## %bb.13: movq _FP_WRITTEN@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r15) je LBB0_15 ## %bb.14: movq _FWASWRITTEN@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 16(%r13) LBB0_15: movq _FG_TERM@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 12(%r13) movq %r12, %rdi callq _lck_mtx_unlock testq %r14, %r14 je LBB0_17 ## %bb.16: movq %r14, %rdi callq _proc_fdunlock LBB0_17: leaq -56(%rbp), %rsi movq %r13, %rdi callq _fo_close movl %eax, %ebx movq %r13, %rdi callq _fg_free testq %r14, %r14 je LBB0_19 ## %bb.18: movq %r14, %rdi callq _proc_fdlock LBB0_19: movl %ebx, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _P_LADVLOCK,4,2 ## @P_LADVLOCK .comm _DTYPE_VNODE,8,3 ## @DTYPE_VNODE .comm _SEEK_SET,4,2 ## @SEEK_SET .comm _F_UNLCK,4,2 ## @F_UNLCK .comm _F_POSIX,4,2 ## @F_POSIX .comm _FP_WRITTEN,4,2 ## @FP_WRITTEN .comm _FWASWRITTEN,4,2 ## @FWASWRITTEN .comm _FG_TERM,4,2 ## @FG_TERM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _closef_locked ; -- Begin function closef_locked .p2align 2 _closef_locked: ; @closef_locked .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 cbz x1, LBB0_3 ; %bb.1: mov x19, x2 mov x20, x1 mov x21, x0 bl _current_proc cmp x0, x19 b.eq LBB0_4 ; %bb.2: mov x0, #0 b LBB0_5 LBB0_3: mov w21, #0 b LBB0_20 LBB0_4: bl _current_thread LBB0_5: str x0, [sp, #8] ldr w8, [x20, #32] str w8, [sp] cbz x19, LBB0_11 ; %bb.6: ldr w8, [x19] Lloh0: adrp x9, _P_LADVLOCK@GOTPAGE Lloh1: ldr x9, [x9, _P_LADVLOCK@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_11 ; %bb.7: Lloh3: adrp x8, _DTYPE_VNODE@GOTPAGE Lloh4: ldr x8, [x8, _DTYPE_VNODE@GOTPAGEOFF] Lloh5: ldr x22, [x8] mov x0, x20 bl _FILEGLOB_DTYPE cmp x22, x0 b.ne LBB0_11 ; %bb.8: mov x0, x19 bl _proc_fdunlock Lloh6: adrp x8, _SEEK_SET@GOTPAGE Lloh7: ldr x8, [x8, _SEEK_SET@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [sp, #40] stp xzr, xzr, [sp, #24] Lloh9: adrp x23, _F_UNLCK@GOTPAGE Lloh10: ldr x23, [x23, _F_UNLCK@GOTPAGEOFF] ldr w8, [x23] str w8, [sp, #16] ldr x22, [x20, #24] mov x0, x22 bl _vnode_getwithref cbnz w0, LBB0_10 ; %bb.9: ldr w2, [x23] Lloh11: adrp x8, _F_POSIX@GOTPAGE Lloh12: ldr x8, [x8, _F_POSIX@GOTPAGEOFF] Lloh13: ldr w4, [x8] add x3, sp, #16 mov x5, sp mov x0, x22 mov x1, x19 mov x6, #0 bl _VNOP_ADVLOCK mov x0, x22 bl _vnode_put LBB0_10: mov x0, x19 bl _proc_fdlock LBB0_11: add x22, x20, #8 mov x0, x22 bl _lck_mtx_lock_spin ldr x8, [x20] sub x9, x8, #1 str x9, [x20] cmp x8, #2 b.lt LBB0_13 ; %bb.12: mov x0, x22 bl _lck_mtx_unlock mov w21, #0 b LBB0_20 LBB0_13: cbz x21, LBB0_16 ; %bb.14: ldr w8, [x21] Lloh14: adrp x9, _FP_WRITTEN@GOTPAGE Lloh15: ldr x9, [x9, _FP_WRITTEN@GOTPAGEOFF] Lloh16: ldr w9, [x9] tst w9, w8 b.eq LBB0_16 ; %bb.15: Lloh17: adrp x8, _FWASWRITTEN@GOTPAGE Lloh18: ldr x8, [x8, _FWASWRITTEN@GOTPAGEOFF] Lloh19: ldr w8, [x8] ldr w9, [x20, #16] orr w8, w9, w8 str w8, [x20, #16] LBB0_16: Lloh20: adrp x8, _FG_TERM@GOTPAGE Lloh21: ldr x8, [x8, _FG_TERM@GOTPAGEOFF] Lloh22: ldr w8, [x8] ldr w9, [x20, #12] orr w8, w9, w8 str w8, [x20, #12] mov x0, x22 bl _lck_mtx_unlock cbz x19, LBB0_18 ; %bb.17: mov x0, x19 bl _proc_fdunlock LBB0_18: mov x1, sp mov x0, x20 bl _fo_close mov x21, x0 mov x0, x20 bl _fg_free cbz x19, LBB0_20 ; %bb.19: mov x0, x19 bl _proc_fdlock LBB0_20: 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 add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _P_LADVLOCK,4,2 ; @P_LADVLOCK .comm _DTYPE_VNODE,8,3 ; @DTYPE_VNODE .comm _SEEK_SET,4,2 ; @SEEK_SET .comm _F_UNLCK,4,2 ; @F_UNLCK .comm _F_POSIX,4,2 ; @F_POSIX .comm _FP_WRITTEN,4,2 ; @FP_WRITTEN .comm _FWASWRITTEN,4,2 ; @FWASWRITTEN .comm _FG_TERM,4,2 ; @FG_TERM .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/kern/extr_kern_descrip.c_closef_locked.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function utun_ctl_rcvd _utun_ctl_rcvd: ## @utun_ctl_rcvd .cfi_startproc ## %bb.0: testq %rdx, %rdx je LBB0_8 ## %bb.1: 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, %rbx movq %rsi, %r14 movl %edi, %r15d movl 8(%rdx), %edi callq _ifnet_lock_exclusive leaq -32(%rbp), %rdx movl %r15d, %edi movq %r14, %rsi callq _ctl_getenqueuepacketcount testq %rax, %rax je LBB0_2 ## %bb.3: leaq L_.str(%rip), %rdi movq %rax, %rsi callq _printf movq $0, -32(%rbp) xorl %eax, %eax cmpq (%rbx), %rax jl LBB0_5 jmp LBB0_7 LBB0_2: movq -32(%rbp), %rax cmpq (%rbx), %rax jge LBB0_7 LBB0_5: movl 8(%rbx), %edi callq _ifnet_enable_output testq %rax, %rax je LBB0_7 ## %bb.6: leaq L_.str.1(%rip), %rdi movq %rax, %rsi callq _printf LBB0_7: movl 8(%rbx), %edi callq _ifnet_lock_done addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp LBB0_8: retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "utun_ctl_rcvd: ctl_getenqueuepacketcount returned error %d\n" L_.str.1: ## @.str.1 .asciz "utun_ctl_rcvd: ifnet_enable_output returned error %d\n" .no_dead_strip _utun_ctl_rcvd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function utun_ctl_rcvd _utun_ctl_rcvd: ; @utun_ctl_rcvd .cfi_startproc ; %bb.0: cbz x2, LBB0_8 ; %bb.1: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 ldr w0, [x2, #8] bl _ifnet_lock_exclusive add x2, sp, #8 mov x0, x21 mov x1, x20 bl _ctl_getenqueuepacketcount cbz x0, LBB0_3 ; %bb.2: mov x1, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov x8, #0 str xzr, [sp, #8] b LBB0_4 LBB0_3: ldr x8, [sp, #8] LBB0_4: ldr x9, [x19] cmp x8, x9 b.ge LBB0_7 ; %bb.5: ldr w0, [x19, #8] bl _ifnet_enable_output cbz x0, LBB0_7 ; %bb.6: mov x1, x0 Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf LBB0_7: ldr w0, [x19, #8] bl _ifnet_lock_done 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 LBB0_8: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 .cfi_same_value w21 .cfi_same_value w22 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "utun_ctl_rcvd: ctl_getenqueuepacketcount returned error %d\n" l_.str.1: ; @.str.1 .asciz "utun_ctl_rcvd: ifnet_enable_output returned error %d\n" .no_dead_strip _utun_ctl_rcvd .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/net/extr_if_utun.c_utun_ctl_rcvd.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 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str(%rip), %rdi movl $13, %esi movl $1, %edx callq _fwrite movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "not yet done\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp 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, ___stderrp@GOTPAGE Lloh1: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh2: ldr x3, [x8] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF mov w1, #13 mov w2, #1 bl _fwrite mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "not yet done\n" .subsections_via_symbols
the_stack_data/206394094.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _megaInit ## -- Begin function megaInit .p2align 4, 0x90 _megaInit: ## @megaInit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 cmpl $2, %edi jne LBB1_4 ## %bb.1: movq 8(%rsi), %rdi xorl %r14d, %r14d xorl %esi, %esi movl $10, %edx callq _strtoul addq $914778474, %rax ## imm = 0x3686696A xorq $-832765941, %rax ## imm = 0xCE5D000B movq %rax, %r8 shrq $16, %r8 movq %rax, %rdx shrq $32, %rdx movl %r8d, %ecx shll $16, %ecx movzwl %ax, %esi orl %ecx, %esi movabsq $-4294967296, %rbx ## imm = 0xFFFFFFFF00000000 andq %rax, %rbx movq %rax, %rcx shrq $48, %rcx movq %rsi, %rdi orq %rbx, %rdi cmovnel %edx, %esi cmovneq %r8, %rdx cmovnel %eax, %ecx shll $16, %ecx movzwl %dx, %eax shlq $32, %rsi orq %rsi, %rcx shll $2, %edx andl $28, %edx movq %rcx, %rsi orq %rax, %rsi cmoveq %r14, %rdx orq %rax, %rdx orq %rcx, %rdx imulq $549183897, %rdx, %rbx ## imm = 0x20BBE199 addq $534246206, %rbx ## imm = 0x1FD7F33E movabsq $-942937486303842427, %rax ## imm = 0xF2EA035A2375AF85 cmpq %rax, %rbx jne LBB1_3 ## %bb.2: leaq L_str(%rip), %rdi callq _puts LBB1_3: leaq L_.str.2(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq LBB1_4: leaq L_.str(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _printf movl $-1, %edi callq _exit .cfi_endproc ## -- End function .globl _RandomFunc ## -- Begin function RandomFunc .p2align 4, 0x90 _RandomFunc: ## @RandomFunc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $914778474, %edx ## imm = 0x3686696A addq (%rdi), %rdx xorq $-832765941, %rdx ## imm = 0xCE5D000B movq %rdx, %r8 shrq $16, %r8 movq %rdx, %r9 shrq $32, %r9 movl %r8d, %eax shll $16, %eax movzwl %dx, %edi orl %eax, %edi movabsq $-4294967296, %r10 ## imm = 0xFFFFFFFF00000000 andq %rdx, %r10 movq %rdx, %rax shrq $48, %rax movq %rdi, %rcx orq %r10, %rcx cmovnel %r9d, %edi cmovneq %r8, %r9 cmovnel %edx, %eax shll $16, %eax movzwl %r9w, %r8d movq %rdi, %r10 shlq $32, %r10 leaq (%r8,%rax), %rcx shll $2, %r9d andl $28, %r9d xorl %edx, %edx orq %rdi, %rcx cmovneq %r9, %rdx orq %r8, %rdx orq %rax, %rdx orq %r10, %rdx imulq $549183897, %rdx, %rax ## imm = 0x20BBE199 addq $534246206, %rax ## imm = 0x1FD7F33E movq %rax, (%rsi) popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Call this program with %i arguments\n" L_.str.2: ## @.str.2 .asciz "%lu\n" L_str: ## @str .asciz "You win!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _megaInit ; -- Begin function megaInit .p2align 2 _megaInit: ; @megaInit .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cmp w0, #2 b.ne LBB1_4 ; %bb.1: ldr x0, [x1, #8] mov x1, #0 mov w2, #10 bl _strtoul mov w8, #26986 movk w8, #13958, lsl #16 mov x9, #-65525 movk x9, #52829, lsl #16 add x8, x0, x8 eor x8, x8, x9 lsr x9, x8, #16 lsr x10, x8, #32 mov x11, x8 bfi w11, w9, #16, #16 and x12, x8, #0xffffffff00000000 orr x12, x12, x11 lsr x13, x8, #48 cmp x12, #0 csel x9, x10, x9, eq csel w10, w11, w10, eq csel w8, w13, w8, eq lsl w8, w8, #16 and x11, x9, #0xffff bfi x8, x10, #32, #32 mov x10, x8 bfxil x10, x9, #0, #16 lsl w9, w9, #2 and x9, x9, #0x1c cmp x10, #0 csel x9, xzr, x9, eq orr x9, x9, x11 orr x8, x8, x9 mov w9, #57753 movk w9, #8379, lsl #16 mov w10, #62270 movk w10, #8151, lsl #16 madd x19, x8, x9, x10 mov x8, #44933 movk x8, #9077, lsl #16 movk x8, #858, lsl #32 movk x8, #62186, lsl #48 cmp x19, x8 b.ne LBB1_3 ; %bb.2: Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts LBB1_3: str x19, [sp] Lloh2: adrp x0, l_.str.2@PAGE Lloh3: add x0, x0, l_.str.2@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 LBB1_4: mov w8, #1 str x8, [sp] Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #-1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .globl _RandomFunc ; -- Begin function RandomFunc .p2align 2 _RandomFunc: ; @RandomFunc .cfi_startproc ; %bb.0: ldr x8, [x0] mov w9, #26986 movk w9, #13958, lsl #16 mov x10, #-65525 movk x10, #52829, lsl #16 add x8, x8, x9 eor x8, x8, x10 lsr x9, x8, #16 lsr x10, x8, #32 mov x11, x8 bfi w11, w9, #16, #16 and x12, x8, #0xffffffff00000000 orr x12, x12, x11 lsr x13, x8, #48 cmp x12, #0 csel x9, x10, x9, eq csel w10, w11, w10, eq csel w8, w13, w8, eq lsl w8, w8, #16 and x11, x9, #0xffff mov x12, x8 bfxil x12, x9, #0, #16 lsl w9, w9, #2 and x9, x9, #0x1c orr x12, x12, x10 cmp x12, #0 csel x9, xzr, x9, eq orr x9, x11, x9 orr x8, x8, x9 bfi x8, x10, #32, #32 mov w9, #57753 movk w9, #8379, lsl #16 mov w10, #62270 movk w10, #8151, lsl #16 madd x8, x8, x9, x10 str x8, [x1] ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Call this program with %i arguments\n" l_.str.2: ; @.str.2 .asciz "%lu\n" l_str: ; @str .asciz "You win!" .subsections_via_symbols
the_stack_data/771064.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rs_drv_tx_protection _rs_drv_tx_protection: ## @rs_drv_tx_protection .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, %r12d movq %rsi, %rbx movq %rdi, %r15 leaq 8(%rsi), %r14 callq _lockdep_assert_held movq (%rbx), %rax testl %r12d, %r12d je LBB0_4 ## %bb.1: testq %rax, %rax jne LBB0_3 ## %bb.2: movq _LQ_FLAG_USE_RTS_MSK@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl %ecx, (%r14) LBB0_3: incq %rax movq %rax, (%rbx) jmp LBB0_6 LBB0_4: decq %rax movq %rax, (%rbx) jne LBB0_6 ## %bb.5: movq _LQ_FLAG_USE_RTS_MSK@GOTPCREL(%rip), %rax movl (%rax), %eax notl %eax andl %eax, (%r14) LBB0_6: movq %r15, %rdi movq %r14, %rsi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _iwl_mvm_send_lq_cmd ## TAILCALL .cfi_endproc ## -- End function .comm _LQ_FLAG_USE_RTS_MSK,4,2 ## @LQ_FLAG_USE_RTS_MSK .no_dead_strip _rs_drv_tx_protection .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rs_drv_tx_protection _rs_drv_tx_protection: ; @rs_drv_tx_protection .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x2 mov x20, x1 mov x19, x0 bl _lockdep_assert_held mov x1, x20 ldr x8, [x1], #8 cbz w21, LBB0_4 ; %bb.1: cbnz x8, LBB0_3 ; %bb.2: Lloh0: adrp x9, _LQ_FLAG_USE_RTS_MSK@GOTPAGE Lloh1: ldr x9, [x9, _LQ_FLAG_USE_RTS_MSK@GOTPAGEOFF] Lloh2: ldr w9, [x9] ldr w10, [x1] orr w9, w10, w9 str w9, [x1] LBB0_3: add x8, x8, #1 str x8, [x20] b LBB0_6 LBB0_4: subs x8, x8, #1 str x8, [x20] b.ne LBB0_6 ; %bb.5: Lloh3: adrp x8, _LQ_FLAG_USE_RTS_MSK@GOTPAGE Lloh4: ldr x8, [x8, _LQ_FLAG_USE_RTS_MSK@GOTPAGEOFF] Lloh5: ldr w8, [x8] ldr w9, [x1] bic w8, w9, w8 str w8, [x1] LBB0_6: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _iwl_mvm_send_lq_cmd .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _LQ_FLAG_USE_RTS_MSK,4,2 ; @LQ_FLAG_USE_RTS_MSK .no_dead_strip _rs_drv_tx_protection .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_rs.c_rs_drv_tx_protection.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 .comm _barfoo,4,2 ## @barfoo .comm _xyz,8,2 ## @xyz .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 .comm _barfoo,4,2 ; @barfoo .comm _xyz,8,2 ; @xyz .subsections_via_symbols
the_stack_data/68957.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pps_echo_client_default _pps_echo_client_default: ## @pps_echo_client_default .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _PPS_CAPTUREASSERT@GOTPCREL(%rip), %rax movl (%rax), %eax andl %esi, %eax leaq L_.str.2(%rip), %rax leaq L_.str.1(%rip), %rdx cmoveq %rax, %rdx movl (%rdi), %edi movq _PPS_CAPTURECLEAR@GOTPCREL(%rip), %rcx andl (%rcx), %esi leaq L_.str.3(%rip), %rcx cmoveq %rax, %rcx leaq L_.str(%rip), %rsi popq %rbp jmp _dev_info ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "echo %s %s\n" .comm _PPS_CAPTUREASSERT,4,2 ## @PPS_CAPTUREASSERT L_.str.1: ## @.str.1 .asciz "assert" L_.str.2: ## @.str.2 .space 1 .comm _PPS_CAPTURECLEAR,4,2 ## @PPS_CAPTURECLEAR L_.str.3: ## @.str.3 .asciz "clear" .no_dead_strip _pps_echo_client_default .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pps_echo_client_default _pps_echo_client_default: ; @pps_echo_client_default .cfi_startproc ; %bb.0: ldr w0, [x0] Lloh0: adrp x8, _PPS_CAPTUREASSERT@GOTPAGE Lloh1: ldr x8, [x8, _PPS_CAPTUREASSERT@GOTPAGEOFF] Lloh2: adrp x9, l_.str.1@PAGE Lloh3: add x9, x9, l_.str.1@PAGEOFF Lloh4: ldr w8, [x8] Lloh5: adrp x10, l_.str.2@PAGE Lloh6: add x10, x10, l_.str.2@PAGEOFF tst w8, w1 Lloh7: adrp x8, _PPS_CAPTURECLEAR@GOTPAGE Lloh8: ldr x8, [x8, _PPS_CAPTURECLEAR@GOTPAGEOFF] csel x2, x10, x9, eq Lloh9: ldr w8, [x8] Lloh10: adrp x9, l_.str.3@PAGE Lloh11: add x9, x9, l_.str.3@PAGEOFF tst w8, w1 csel x3, x10, x9, eq Lloh12: adrp x1, l_.str@PAGE Lloh13: add x1, x1, l_.str@PAGEOFF b _dev_info .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "echo %s %s\n" .comm _PPS_CAPTUREASSERT,4,2 ; @PPS_CAPTUREASSERT l_.str.1: ; @.str.1 .asciz "assert" l_.str.2: ; @.str.2 .space 1 .comm _PPS_CAPTURECLEAR,4,2 ; @PPS_CAPTURECLEAR l_.str.3: ; @.str.3 .asciz "clear" .no_dead_strip _pps_echo_client_default .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/pps/extr_kapi.c_pps_echo_client_default.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function removeentry _removeentry: ## @removeentry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _gkey movl %eax, %edi callq _iscollectable testq %rax, %rax je LBB0_1 ## %bb.2: movq %rbx, %rdi callq _gkey movl %eax, %edi movl $11, %esi addq $8, %rsp popq %rbx popq %rbp jmp _setttype ## TAILCALL LBB0_1: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _removeentry .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function removeentry _removeentry: ; @removeentry .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _gkey bl _iscollectable cbz x0, LBB0_2 ; %bb.1: mov x0, x19 bl _gkey mov w1, #11 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _setttype LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _removeentry .subsections_via_symbols
AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_removeentry.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function reset_psn _reset_psn: ## @reset_psn .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 movq (%rdi), %rbx movq %rbx, %rsi callq _get_swqe_ptr movq %rax, %r12 movq %rbx, 56(%r15) movl 8(%rax), %esi movq %r14, %rdi callq _qib_cmp24 testl %eax, %eax jle LBB0_9 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 incq %rbx cmpq 8(%r15), %rbx jne LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 xorl %ebx, %ebx LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movq (%r12), %r13 cmpq 16(%r15), %rbx je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movq %r15, %rdi movq %rbx, %rsi callq _get_swqe_ptr movq %rax, %r12 movl 8(%rax), %esi movq %r14, %rdi callq _qib_cmp24 testl %eax, %eax js LBB0_7 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movq %rbx, 56(%r15) jne LBB0_1 LBB0_9: movq _SEND_LAST@GOTPCREL(%rip), %rax jmp LBB0_10 LBB0_7: leaq -128(%r13), %rax cmpq $4, %rax movq _SEND_LAST@GOTPCREL(%rip), %rax ja LBB0_10 ## %bb.8: leaq l_switch.table.reset_psn(%rip), %rax movq -1024(%rax,%r13,8), %rax LBB0_10: movl (%rax), %edi callq _OP movq %rax, 48(%r15) movq %r14, 24(%r15) movl 44(%r15), %esi movq %r14, %rdi callq _qib_cmp24 testl %eax, %eax jg LBB0_13 ## %bb.11: movq 32(%r15), %rdi movl 44(%r15), %esi callq _qib_cmp24 testl %eax, %eax jg LBB0_13 ## %bb.12: movq _QIB_S_WAIT_PSN@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 40(%r15) LBB0_13: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SEND_LAST,4,2 ## @SEND_LAST .comm _RDMA_READ_RESPONSE_FIRST,4,2 ## @RDMA_READ_RESPONSE_FIRST .comm _RDMA_READ_RESPONSE_LAST,4,2 ## @RDMA_READ_RESPONSE_LAST .comm _RDMA_READ_RESPONSE_MIDDLE,4,2 ## @RDMA_READ_RESPONSE_MIDDLE .comm _QIB_S_WAIT_PSN,4,2 ## @QIB_S_WAIT_PSN .no_dead_strip _reset_psn .section __DATA,__const .p2align 3 ## @switch.table.reset_psn l_switch.table.reset_psn: .quad _RDMA_READ_RESPONSE_FIRST .quad _RDMA_READ_RESPONSE_FIRST .quad _RDMA_READ_RESPONSE_LAST .quad _RDMA_READ_RESPONSE_LAST .quad _RDMA_READ_RESPONSE_MIDDLE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function reset_psn _reset_psn: ; @reset_psn .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 x21, [x0] mov x1, x21 bl _get_swqe_ptr mov x22, x0 str x21, [x19, #56] ldr w1, [x0, #8] mov x0, x20 bl _qib_cmp24 Lloh0: adrp x23, _SEND_LAST@GOTPAGE Lloh1: ldr x23, [x23, _SEND_LAST@GOTPAGEOFF] cmp w0, #1 b.lt LBB0_7 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x24, [x22] add x8, x21, #1 ldp x9, x10, [x19, #8] cmp x8, x9 csinc x21, xzr, x21, eq cmp x21, x10 b.eq LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov x0, x19 mov x1, x21 bl _get_swqe_ptr mov x22, x0 ldr w1, [x0, #8] mov x0, x20 bl _qib_cmp24 tbnz w0, #31, LBB0_4 ; %bb.3: ; in Loop: Header=BB0_1 Depth=1 str x21, [x19, #56] cbnz w0, LBB0_1 b LBB0_7 LBB0_4: sub x8, x24, #128 cmp x8, #4 b.hi LBB0_6 ; %bb.5: Lloh2: adrp x9, l_switch.table.reset_psn@PAGE Lloh3: add x9, x9, l_switch.table.reset_psn@PAGEOFF ldr x23, [x9, x8, lsl #3] b LBB0_7 LBB0_6: Lloh4: adrp x23, _SEND_LAST@GOTPAGE Lloh5: ldr x23, [x23, _SEND_LAST@GOTPAGEOFF] LBB0_7: ldr w0, [x23] bl _OP str x0, [x19, #48] str x20, [x19, #24] ldr w1, [x19, #44] mov x0, x20 bl _qib_cmp24 cmp w0, #0 b.gt LBB0_10 ; %bb.8: ldr x0, [x19, #32] ldr w1, [x19, #44] bl _qib_cmp24 cmp w0, #0 b.gt LBB0_10 ; %bb.9: Lloh6: adrp x8, _QIB_S_WAIT_PSN@GOTPAGE Lloh7: ldr x8, [x8, _QIB_S_WAIT_PSN@GOTPAGEOFF] Lloh8: ldr w8, [x8] ldr w9, [x19, #40] orr w8, w9, w8 str w8, [x19, #40] LBB0_10: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _SEND_LAST,4,2 ; @SEND_LAST .comm _RDMA_READ_RESPONSE_FIRST,4,2 ; @RDMA_READ_RESPONSE_FIRST .comm _RDMA_READ_RESPONSE_LAST,4,2 ; @RDMA_READ_RESPONSE_LAST .comm _RDMA_READ_RESPONSE_MIDDLE,4,2 ; @RDMA_READ_RESPONSE_MIDDLE .comm _QIB_S_WAIT_PSN,4,2 ; @QIB_S_WAIT_PSN .no_dead_strip _reset_psn .section __DATA,__const .p2align 3 ; @switch.table.reset_psn l_switch.table.reset_psn: .quad _RDMA_READ_RESPONSE_FIRST .quad _RDMA_READ_RESPONSE_FIRST .quad _RDMA_READ_RESPONSE_LAST .quad _RDMA_READ_RESPONSE_LAST .quad _RDMA_READ_RESPONSE_MIDDLE .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_rc.c_reset_psn.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: cmpl $100, %edi jbe LBB0_1 ## %bb.5: retq LBB0_1: 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 %edi, %r15d testl %edi, %edi je LBB0_4 ## %bb.2: leaq L_.str(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf incl %ebx cmpl %ebx, %r15d jne LBB0_3 LBB0_4: 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 %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl $1, %eax cmpl $2, %edi jne LBB1_8 ## %bb.1: movq 8(%rsi), %rdi xorl %esi, %esi movl $10, %edx callq _strtoul movq %rax, %r15 shrq $32, %rax movl $-1, %eax jne LBB1_8 ## %bb.2: cmpl $100, %r15d ja LBB1_7 ## %bb.3: testl %r15d, %r15d je LBB1_6 ## %bb.4: leaq L_.str(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB1_5: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf incl %ebx cmpl %ebx, %r15d jne LBB1_5 LBB1_6: movl $10, %edi callq _putchar LBB1_7: xorl %eax, %eax LBB1_8: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%x " .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: cmp w0, #100 b.ls LBB0_2 ; %bb.1: ret LBB0_2: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 cbz w0, LBB0_5 ; %bb.3: mov w21, #0 Lloh0: adrp x20, l_.str@PAGE Lloh1: add x20, x20, l_.str@PAGEOFF LBB0_4: ; =>This Inner Loop Header: Depth=1 str x21, [sp] mov x0, x20 bl _printf add w21, w21, #1 cmp w19, w21 b.ne LBB0_4 LBB0_5: mov w0, #10 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 b _putchar .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cmp w0, #2 b.ne LBB1_3 ; %bb.1: ldr x0, [x1, #8] mov x1, #0 mov w2, #10 bl _strtoul lsr x8, x0, #32 cbz x8, LBB1_4 ; %bb.2: mov w0, #-1 b LBB1_10 LBB1_3: mov w0, #1 b LBB1_10 LBB1_4: mov x19, x0 cmp w19, #100 b.hi LBB1_9 ; %bb.5: cbz w19, LBB1_8 ; %bb.6: mov w21, #0 Lloh2: adrp x20, l_.str@PAGE Lloh3: add x20, x20, l_.str@PAGEOFF LBB1_7: ; =>This Inner Loop Header: Depth=1 str x21, [sp] mov x0, x20 bl _printf add w21, w21, #1 cmp w19, w21 b.ne LBB1_7 LBB1_8: mov w0, #10 bl _putchar LBB1_9: mov w0, #0 LBB1_10: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%x " .subsections_via_symbols
the_stack_data/128840.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _warc_options __warc_options: ## @_warc_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rax movq (%rdi), %r14 leaq L_.str(%rip), %rsi movq %rax, %rdi callq _strcmp movq _ARCHIVE_WARN@GOTPCREL(%rip), %rbx testq %rax, %rax jne LBB0_4 ## %bb.1: testq %r15, %r15 je LBB0_3 ## %bb.2: leaq L_.str.1(%rip), %rsi movq %r15, %rdi callq _strcmp testq %rax, %rax jne LBB0_4 LBB0_3: movl $1, (%r14) movq _ARCHIVE_OK@GOTPCREL(%rip), %rbx LBB0_4: movl (%rbx), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "omit-warcinfo" L_.str.1: ## @.str.1 .asciz "true" .comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK .comm _ARCHIVE_WARN,4,2 ## @ARCHIVE_WARN .no_dead_strip __warc_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _warc_options __warc_options: ; @_warc_options .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 mov x8, x1 ldr x20, [x0] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x8 bl _strcmp cbz x0, LBB0_2 LBB0_1: Lloh2: adrp x8, _ARCHIVE_WARN@GOTPAGE Lloh3: ldr x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF] b LBB0_5 LBB0_2: cbz x19, LBB0_4 ; %bb.3: Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _strcmp cbnz x0, LBB0_1 LBB0_4: mov w8, #1 str w8, [x20] Lloh6: adrp x8, _ARCHIVE_OK@GOTPAGE Lloh7: ldr x8, [x8, _ARCHIVE_OK@GOTPAGEOFF] LBB0_5: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "omit-warcinfo" l_.str.1: ; @.str.1 .asciz "true" .comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK .comm _ARCHIVE_WARN,4,2 ; @ARCHIVE_WARN .no_dead_strip __warc_options .subsections_via_symbols
AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_set_format_warc.c__warc_options.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ff_layout_put_mirror _ff_layout_put_mirror: ## @ff_layout_put_mirror .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_2 ## %bb.1: movq %rdi, %rbx callq _refcount_dec_and_test testq %rax, %rax je LBB0_2 ## %bb.3: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _ff_layout_free_mirror ## TAILCALL LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ff_layout_put_mirror .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ff_layout_put_mirror _ff_layout_put_mirror: ; @ff_layout_put_mirror .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_3 ; %bb.1: mov x19, x0 bl _refcount_dec_and_test cbz x0, LBB0_3 ; %bb.2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ff_layout_free_mirror LBB0_3: 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 _ff_layout_put_mirror .subsections_via_symbols
AnghaBench/linux/fs/nfs/flexfilelayout/extr_flexfilelayout.c_ff_layout_put_mirror.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function null_quad _null_quad: ## @null_quad .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 _null_quad .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function null_quad _null_quad: ; @null_quad .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _null_quad .subsections_via_symbols
AnghaBench/reactos/dll/opengl/mesa/extr_quads.c_null_quad.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _intel_sanitize_gt_powersave ## -- Begin function intel_sanitize_gt_powersave .p2align 4, 0x90 _intel_sanitize_gt_powersave: ## @intel_sanitize_gt_powersave .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movabsq $4294967297, %rax ## imm = 0x100000001 movq %rax, (%rdi) callq _intel_disable_gt_powersave movq %rbx, %rdi callq _INTEL_GEN cmpl $11, %eax jl LBB0_1 ## %bb.3: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _gen11_reset_rps_interrupts ## TAILCALL LBB0_1: movq %rbx, %rdi callq _INTEL_GEN cmpl $6, %eax jl LBB0_2 ## %bb.4: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _gen6_reset_rps_interrupts ## TAILCALL LBB0_2: 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 _intel_sanitize_gt_powersave ; -- Begin function intel_sanitize_gt_powersave .p2align 2 _intel_sanitize_gt_powersave: ; @intel_sanitize_gt_powersave .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 movi.2s v0, #1 str d0, [x0] bl _intel_disable_gt_powersave mov x0, x19 bl _INTEL_GEN cmp w0, #11 b.lt LBB0_2 ; %bb.1: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _gen11_reset_rps_interrupts LBB0_2: mov x0, x19 bl _INTEL_GEN cmp w0, #6 b.lt LBB0_4 ; %bb.3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _gen6_reset_rps_interrupts LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_intel_sanitize_gt_powersave.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mtu3_mem_free _mtu3_mem_free: ## @mtu3_mem_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _mtu3_qmu_exit movl (%rbx), %edi addq $8, %rsp popq %rbx popq %rbp jmp _kfree ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _mtu3_mem_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mtu3_mem_free _mtu3_mem_free: ; @mtu3_mem_free .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _mtu3_qmu_exit ldr w0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _kfree .cfi_endproc ; -- End function .no_dead_strip _mtu3_mem_free .subsections_via_symbols
AnghaBench/linux/drivers/usb/mtu3/extr_mtu3_core.c_mtu3_mem_free.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/942135.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lex ## -- Begin function lex .p2align 4, 0x90 _lex: ## @lex .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, -72(%rbp) ## 8-byte Spill movl %ecx, %r8d movq %rdx, -88(%rbp) ## 8-byte Spill movl %esi, %ebx movq %rdi, %r14 movl $0, -48(%rbp) leaq L_.str(%rip), %rsi movl $3, %edi movl %ebx, %edx movq %r14, %rcx movl %r8d, -60(%rbp) ## 4-byte Spill callq _vkprintf movl $-1, -56(%rbp) movl %ebx, -44(%rbp) ## 4-byte Spill testl %ebx, %ebx jle LBB0_19 ## %bb.1: movl -44(%rbp), %r15d ## 4-byte Reload leaq -1(%r15), %rax movq %rax, -96(%rbp) ## 8-byte Spill xorl %r13d, %r13d movl $0, -76(%rbp) ## 4-byte Folded Spill LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 ## Child Loop BB0_12 Depth 2 ## Child Loop BB0_8 Depth 2 movslq %r13d, %r12 movq %r12, %rbx shlq $32, %rbx leal 1(%r12), %r13d .p2align 4, 0x90 LBB0_3: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl (%r14,%r12), %edi callq _isspace testq %rax, %rax je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 incq %r12 movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %rbx incl %r13d cmpq %r15, %r12 jl LBB0_3 jmp LBB0_19 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 sarq $32, %rbx movb (%r14,%rbx), %al cmpb $34, %al jne LBB0_10 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 incl %r12d movl -44(%rbp), %ebx ## 4-byte Reload cmpl %ebx, %r12d jge LBB0_23 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movslq %r12d, %rdi movslq %r13d, %rax leaq (%r14,%rax), %rcx shlq $32, %rax .p2align 4, 0x90 LBB0_8: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpb $34, (%rcx) je LBB0_16 ## %bb.9: ## in Loop: Header=BB0_8 Depth=2 movabsq $4294967296, %rdx ## imm = 0x100000000 addq %rdx, %rax incl %r13d incq %rcx cmpl %r13d, %ebx jne LBB0_8 jmp LBB0_23 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 leaq (%r14,%rbx), %r13 cmpl -44(%rbp), %r12d ## 4-byte Folded Reload jge LBB0_15 ## %bb.11: ## in Loop: Header=BB0_2 Depth=1 movsbl %al, %edi callq _isspace testq %rax, %rax movq -96(%rbp), %r12 ## 8-byte Reload jne LBB0_14 .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %rbx, %r12 je LBB0_18 ## %bb.13: ## in Loop: Header=BB0_12 Depth=2 movsbl 1(%r14,%rbx), %edi callq _isspace incq %rbx testq %rax, %rax je LBB0_12 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 movl %ebx, %r12d movslq %ebx, %rbx LBB0_15: ## in Loop: Header=BB0_2 Depth=1 movb $0, (%r14,%rbx) movq %r13, %rdi movq -88(%rbp), %rsi ## 8-byte Reload leaq -48(%rbp), %rdx movl -60(%rbp), %ecx ## 4-byte Reload leaq -56(%rbp), %r8 movq -72(%rbp), %r9 ## 8-byte Reload callq _parse_token movq %r13, %rcx movl %r12d, %r13d testl %eax, %eax movl -44(%rbp), %ebx ## 4-byte Reload jne LBB0_17 jmp LBB0_26 LBB0_16: ## in Loop: Header=BB0_2 Depth=1 sarq $32, %rax movb $0, (%r14,%rax) addq %r14, %rdi movq -88(%rbp), %rsi ## 8-byte Reload leaq -48(%rbp), %rdx movl -60(%rbp), %ecx ## 4-byte Reload movq -72(%rbp), %r8 ## 8-byte Reload callq _add_lit_str testl %eax, %eax je LBB0_24 LBB0_17: ## in Loop: Header=BB0_2 Depth=1 incl %r13d incl -76(%rbp) ## 4-byte Folded Spill cmpl %ebx, %r13d jl LBB0_2 jmp LBB0_19 LBB0_18: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rbx movl -44(%rbp), %eax ## 4-byte Reload movl %eax, %r12d jmp LBB0_15 LBB0_19: leaq L_.str.3(%rip), %rdi leaq -48(%rbp), %rdx leaq -56(%rbp), %r8 movq -88(%rbp), %rsi ## 8-byte Reload movl -60(%rbp), %ecx ## 4-byte Reload movq -72(%rbp), %rbx ## 8-byte Reload movq %rbx, %r9 callq _parse_token movl $-1, %r12d testl %eax, %eax je LBB0_25 ## %bb.20: cmpl $0, -56(%rbp) js LBB0_22 ## %bb.21: leaq L_.str.4(%rip), %rsi movq %rbx, %rdi callq _strcpy jmp LBB0_25 LBB0_22: movl -48(%rbp), %r12d jmp LBB0_25 LBB0_23: leaq L_.str.1(%rip), %rsi movq -72(%rbp), %rdi ## 8-byte Reload callq _strcpy LBB0_24: movl $-1, %r12d LBB0_25: movl %r12d, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_26: movq %rcx, %rbx movq -72(%rbp), %r15 ## 8-byte Reload movq %r15, %rdi callq _strlen movq _MAX_ERROR_BUF_SIZE@GOTPCREL(%rip), %rcx movl (%rcx), %edx subl %eax, %edx movl $-1, %r12d cmpl $2, %edx jl LBB0_25 ## %bb.27: leal -1(%rdx), %r14d cltq addq %rax, %r15 movq %r15, %rdi xorl %esi, %esi ## kill: def $edx killed $edx killed $rdx callq _memset leaq L_.str.2(%rip), %rdx movq %r15, %rdi movl %r14d, %esi movl -76(%rbp), %ecx ## 4-byte Reload movq %rbx, %r8 callq _snprintf jmp LBB0_25 .cfi_endproc ## -- End function .comm _MAX_ERROR_BUF_SIZE,4,2 ## @MAX_ERROR_BUF_SIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "lex (\"%.*s\", ip_size = %d\n" L_.str.1: ## @.str.1 .asciz "lex: unclosed double quot" L_.str.2: ## @.str.2 .asciz "\nlex: couldn't parse %d-th token (%s)" L_.str.3: ## @.str.3 .asciz "BYE" L_.str.4: ## @.str.4 .asciz "unclosed if statement" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lex ; -- Begin function lex .p2align 2 _lex: ; @lex .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x26, x4 mov x20, x3 str x2, [sp, #32] ; 8-byte Folded Spill mov x23, x1 mov x24, x0 str wzr, [sp, #44] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w0, #3 mov x2, x23 mov x3, x24 mov x4, x20 bl _vkprintf mov w8, #-1 str w8, [sp, #40] cmp w23, #1 b.lt LBB0_19 ; %bb.1: mov w8, #0 mov w22, #0 mov w19, w23 add x10, x24, #1 sub x9, x19, #1 stp x9, x10, [sp, #8] ; 16-byte Folded Spill mov x27, #4294967296 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ; Child Loop BB0_12 Depth 2 ; Child Loop BB0_8 Depth 2 sxtw x28, w8 sbfiz x25, x8, #32, #32 add w21, w8, #1 LBB0_3: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w0, [x24, x28] bl _isspace cbz x0, LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=2 add x28, x28, #1 add x25, x25, x27 add w21, w21, #1 cmp x28, x19 b.lt LBB0_3 b LBB0_19 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 str x26, [sp, #24] ; 8-byte Folded Spill asr x26, x25, #32 add x25, x24, x26 ldrb w8, [x25] cmp w8, #34 b.ne LBB0_10 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 add w8, w28, #1 cmp w8, w23 ldr x26, [sp, #24] ; 8-byte Folded Reload b.ge LBB0_23 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 sxtw x8, w8 sbfiz x9, x21, #32, #32 add x10, x24, w21, sxtw LBB0_8: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w11, [x10] cmp w11, #34 b.eq LBB0_16 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 add x9, x9, x27 add w21, w21, #1 add x10, x10, #1 cmp w23, w21 b.ne LBB0_8 b LBB0_23 LBB0_10: ; in Loop: Header=BB0_2 Depth=1 cmp w28, w23 b.ge LBB0_15 ; %bb.11: ; in Loop: Header=BB0_2 Depth=1 sxtb w0, w8 bl _isspace ldp x28, x21, [sp, #8] ; 16-byte Folded Reload cbnz x0, LBB0_14 LBB0_12: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x28, x26 b.eq LBB0_18 ; %bb.13: ; in Loop: Header=BB0_12 Depth=2 ldrsb w0, [x21, x26] bl _isspace add x26, x26, #1 cbz x0, LBB0_12 LBB0_14: ; in Loop: Header=BB0_2 Depth=1 mov x28, x26 sxtw x26, w26 LBB0_15: ; in Loop: Header=BB0_2 Depth=1 strb wzr, [x24, x26] add x2, sp, #44 add x4, sp, #40 mov x0, x25 ldp x26, x1, [sp, #24] ; 16-byte Folded Reload mov x3, x20 mov x5, x26 bl _parse_token mov x21, x28 cbnz w0, LBB0_17 b LBB0_27 LBB0_16: ; in Loop: Header=BB0_2 Depth=1 asr x9, x9, #32 strb wzr, [x24, x9] add x0, x24, x8 add x2, sp, #44 ldr x1, [sp, #32] ; 8-byte Folded Reload mov x3, x20 mov x4, x26 bl _add_lit_str cbz w0, LBB0_25 LBB0_17: ; in Loop: Header=BB0_2 Depth=1 add w8, w21, #1 add w22, w22, #1 cmp w8, w23 b.lt LBB0_2 b LBB0_19 LBB0_18: ; in Loop: Header=BB0_2 Depth=1 mov x26, x19 mov x28, x23 b LBB0_15 LBB0_19: Lloh2: adrp x0, l_.str.3@PAGE Lloh3: add x0, x0, l_.str.3@PAGEOFF add x2, sp, #44 add x4, sp, #40 ldr x1, [sp, #32] ; 8-byte Folded Reload mov x3, x20 mov x5, x26 bl _parse_token cbz w0, LBB0_25 ; %bb.20: ldr w8, [sp, #40] tbnz w8, #31, LBB0_22 ; %bb.21: Lloh4: adrp x1, l_.str.4@PAGE Lloh5: add x1, x1, l_.str.4@PAGEOFF b LBB0_24 LBB0_22: ldr w0, [sp, #44] b LBB0_26 LBB0_23: Lloh6: adrp x1, l_.str.1@PAGE Lloh7: add x1, x1, l_.str.1@PAGEOFF LBB0_24: mov x0, x26 bl _strcpy LBB0_25: mov w0, #-1 LBB0_26: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_27: mov x0, x26 bl _strlen Lloh8: adrp x8, _MAX_ERROR_BUF_SIZE@GOTPAGE Lloh9: ldr x8, [x8, _MAX_ERROR_BUF_SIZE@GOTPAGEOFF] Lloh10: ldr w8, [x8] sub w2, w8, w0 cmp w2, #2 b.lt LBB0_25 ; %bb.28: sub w20, w2, #1 add x19, x26, w0, sxtw mov x0, x19 mov w1, #0 bl _memset Lloh11: adrp x2, l_.str.2@PAGE Lloh12: add x2, x2, l_.str.2@PAGEOFF mov x0, x19 mov x1, x20 mov x3, x22 mov x4, x25 bl _snprintf b LBB0_25 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _MAX_ERROR_BUF_SIZE,4,2 ; @MAX_ERROR_BUF_SIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "lex (\"%.*s\", ip_size = %d\n" l_.str.1: ; @.str.1 .asciz "lex: unclosed double quot" l_.str.2: ; @.str.2 .asciz "\nlex: couldn't parse %d-th token (%s)" l_.str.3: ; @.str.3 .asciz "BYE" l_.str.4: ; @.str.4 .asciz "unclosed if statement" .subsections_via_symbols
AnghaBench/kphp-kdb/image/extr_image-data.c_lex.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _stackTop ## -- Begin function stackTop .p2align 4, 0x90 _stackTop: ## @stackTop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 8(%rdi), %rax movslq 4(%rdi), %rcx movsbl (%rax,%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .globl _isEmpty ## -- Begin function isEmpty .p2align 4, 0x90 _isEmpty: ## @isEmpty .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax cmpl $-1, 4(%rdi) sete %al popq %rbp retq .cfi_endproc ## -- End function .globl _isFull ## -- Begin function isFull .p2align 4, 0x90 _isFull: ## @isFull .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), %ecx decl %ecx xorl %eax, %eax cmpl %ecx, 4(%rdi) sete %al popq %rbp retq .cfi_endproc ## -- End function .globl _push ## -- Begin function push .p2align 4, 0x90 _push: ## @push .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq 4(%rdi), %rax movl (%rdi), %ecx decl %ecx cmpl %ecx, %eax jne LBB3_1 ## %bb.2: movsbl %sil, %esi leaq L_.str(%rip), %rdi xorl %eax, %eax popq %rbp jmp _printf ## TAILCALL LBB3_1: leaq 1(%rax), %rcx movl %ecx, 4(%rdi) movq 8(%rdi), %rcx movb %sil, 1(%rcx,%rax) popq %rbp retq .cfi_endproc ## -- End function .globl _pop ## -- Begin function pop .p2align 4, 0x90 _pop: ## @pop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq 4(%rdi), %rcx cmpq $-1, %rcx je LBB4_1 ## %bb.2: movq 8(%rdi), %rax movb (%rax,%rcx), %al decl %ecx movl %ecx, 4(%rdi) jmp LBB4_3 LBB4_1: leaq L_str(%rip), %rdi callq _puts movb $-1, %al LBB4_3: movsbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _precedence ## -- Begin function precedence .p2align 4, 0x90 _precedence: ## @precedence .cfi_startproc ## %bb.0: addb $-42, %dil xorl %eax, %eax cmpb $5, %dil ja LBB5_2 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movsbq %dil, %rax leaq l_switch.table.infixToPostfix(%rip), %rcx movl (%rcx,%rax,4), %eax popq %rbp LBB5_2: retq .cfi_endproc ## -- End function .globl _isOperator ## -- Begin function isOperator .p2align 4, 0x90 _isOperator: ## @isOperator .cfi_startproc ## %bb.0: addb $-42, %dil xorl %eax, %eax cmpb $5, %dil ja LBB6_2 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movsbq %dil, %rax leaq l_switch.table.isOperator(%rip), %rcx movl (%rcx,%rax,4), %eax popq %rbp LBB6_2: retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function infixToPostfix LCPI7_0: .byte 15 ## 0xf .byte 14 ## 0xe .byte 13 ## 0xd .byte 12 ## 0xc .byte 11 ## 0xb .byte 10 ## 0xa .byte 9 ## 0x9 .byte 8 ## 0x8 .byte 7 ## 0x7 .byte 6 ## 0x6 .byte 5 ## 0x5 .byte 4 ## 0x4 .byte 3 ## 0x3 .byte 2 ## 0x2 .byte 1 ## 0x1 .byte 0 ## 0x0 .section __TEXT,__text,regular,pure_instructions .globl _infixToPostfix .p2align 4, 0x90 _infixToPostfix: ## @infixToPostfix .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl $10, %edi callq _malloc movq %rax, %r14 movq %rbx, -80(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _strlen leaq 1(%rax), %rdi callq _malloc movq %r14, %r10 movl $-1, -44(%rbp) ## 4-byte Folded Spill leaq LJTI7_0(%rip), %r15 movl $-1, %r8d xorl %r14d, %r14d xorl %ebx, %ebx movq %rax, -72(%rbp) ## 8-byte Spill movq %r10, -56(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB7_1: ## =>This Loop Header: Depth=1 ## Child Loop BB7_2 Depth 2 movslq %ebx, %r11 movslq %r14d, %rdx addq -80(%rbp), %rdx ## 8-byte Folded Reload leaq (%rax,%r11), %r12 xorl %r13d, %r13d jmp LBB7_2 .p2align 4, 0x90 LBB7_20: ## in Loop: Header=BB7_2 Depth=2 movb %sil, (%r12,%r13) incq %r13 LBB7_2: ## Parent Loop BB7_1 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%rdx,%r13), %esi cmpq $47, %rsi ja LBB7_20 ## %bb.3: ## in Loop: Header=BB7_2 Depth=2 movslq (%r15,%rsi,4), %rcx addq %r15, %rcx jmpq *%rcx LBB7_21: ## in Loop: Header=BB7_1 Depth=1 movq %rbx, -64(%rbp) ## 8-byte Spill movl $3, %edi jmp LBB7_23 .p2align 4, 0x90 LBB7_22: ## in Loop: Header=BB7_1 Depth=1 movq %rbx, -64(%rbp) ## 8-byte Spill movl $2, %edi LBB7_23: ## in Loop: Header=BB7_1 Depth=1 movslq %r8d, %rdx movb (%r10,%rdx), %r9b leal -42(%r9), %ecx xorl %ebx, %ebx cmpb $5, %cl ja LBB7_25 ## %bb.24: ## in Loop: Header=BB7_1 Depth=1 movsbq %cl, %rcx leaq l_switch.table.infixToPostfix(%rip), %rbx movl (%rbx,%rcx,4), %ebx LBB7_25: ## in Loop: Header=BB7_1 Depth=1 cmpl %ebx, %edi jbe LBB7_30 ## %bb.26: ## in Loop: Header=BB7_1 Depth=1 movq -64(%rbp), %rbx ## 8-byte Reload movl %ebx, %ebx addq %r13, %rbx cmpl $9, %r8d jne LBB7_28 ## %bb.27: ## in Loop: Header=BB7_1 Depth=1 leaq L_.str(%rip), %rdi ## kill: def $esi killed $esi killed $rsi xorl %eax, %eax callq _printf movq -56(%rbp), %r10 ## 8-byte Reload movq -72(%rbp), %rax ## 8-byte Reload movl $9, %r8d addl %r13d, %r14d incl %r14d jmp LBB7_1 .p2align 4, 0x90 LBB7_30: ## in Loop: Header=BB7_1 Depth=1 movl %r14d, %r14d addq %r13, %r14 cmpl $-1, %r8d je LBB7_31 ## %bb.32: ## in Loop: Header=BB7_1 Depth=1 decl %r8d movl %r8d, -44(%rbp) ## 4-byte Spill jmp LBB7_33 .p2align 4, 0x90 LBB7_28: ## in Loop: Header=BB7_1 Depth=1 movb %sil, 1(%r10,%rdx) incq %rdx movl %edx, %ecx movl %edx, -44(%rbp) ## 4-byte Spill movl %edx, %r8d addl %r13d, %r14d incl %r14d jmp LBB7_1 LBB7_31: ## in Loop: Header=BB7_1 Depth=1 leaq L_str(%rip), %rdi callq _puts movq -56(%rbp), %r10 ## 8-byte Reload movq -72(%rbp), %rax ## 8-byte Reload movb $-1, %r9b movl $-1, %r8d LBB7_33: ## in Loop: Header=BB7_1 Depth=1 movq -64(%rbp), %rbx ## 8-byte Reload movb %r9b, (%r13,%r12) addl %r13d, %ebx incl %ebx jmp LBB7_1 LBB7_4: movl -44(%rbp), %ecx ## 4-byte Reload cmpl $-1, %ecx je LBB7_5 ## %bb.7: movslq %ecx, %rcx leaq 1(%rcx), %r8 cmpq $32, %r8 jae LBB7_9 ## %bb.8: addq %r13, %r11 jmp LBB7_18 LBB7_5: movl %ebx, %r11d addq %r13, %r11 jmp LBB7_6 LBB7_9: movq %r8, %r9 andq $-32, %r9 leaq -32(%r9), %rdx movq %rdx, %r10 shrq $5, %r10 incq %r10 testq %rdx, %rdx je LBB7_10 ## %bb.11: leaq (%r12,%r13), %rdx addq $48, %rdx movq %r10, %rbx andq $-2, %rbx movq -56(%rbp), %rsi ## 8-byte Reload addq %rcx, %rsi addq $-15, %rsi xorl %edi, %edi movdqa LCPI7_0(%rip), %xmm0 ## xmm0 = [15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0] .p2align 4, 0x90 LBB7_12: ## =>This Inner Loop Header: Depth=1 movdqu -16(%rsi,%rdi), %xmm1 movdqu (%rsi,%rdi), %xmm2 pshufb %xmm0, %xmm2 pshufb %xmm0, %xmm1 movdqu %xmm2, -48(%rdx) movdqu %xmm1, -32(%rdx) movdqu -48(%rsi,%rdi), %xmm1 movdqu -32(%rsi,%rdi), %xmm2 pshufb %xmm0, %xmm2 pshufb %xmm0, %xmm1 movdqu %xmm2, -16(%rdx) movdqu %xmm1, (%rdx) addq $64, %rdx addq $-64, %rdi addq $-2, %rbx jne LBB7_12 ## %bb.13: negq %rdi jmp LBB7_14 LBB7_10: xorl %edi, %edi LBB7_14: addq %r9, %r11 testb $1, %r10b movq -56(%rbp), %r10 ## 8-byte Reload je LBB7_16 ## %bb.15: movq %rcx, %rdx subq %rdi, %rdx movdqu -31(%r10,%rdx), %xmm0 movdqu -15(%r10,%rdx), %xmm1 movdqa LCPI7_0(%rip), %xmm2 ## xmm2 = [15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0] pshufb %xmm2, %xmm1 pshufb %xmm2, %xmm0 addq %rdi, %r12 movdqu %xmm1, (%r13,%r12) movdqu %xmm0, 16(%r13,%r12) LBB7_16: addq %r13, %r11 cmpq %r9, %r8 je LBB7_6 ## %bb.17: subq %r9, %rcx LBB7_18: movq %r11, %rdx .p2align 4, 0x90 LBB7_19: ## =>This Inner Loop Header: Depth=1 movzbl (%r10,%rcx), %ebx leaq 1(%rdx), %r11 movb %bl, (%rax,%rdx) movq %r11, %rdx addq $-1, %rcx jb LBB7_19 LBB7_6: movslq %r11d, %rcx movb $0, (%rax,%rcx) addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L7_0_set_4, LBB7_4-LJTI7_0 .set L7_0_set_20, LBB7_20-LJTI7_0 .set L7_0_set_21, LBB7_21-LJTI7_0 .set L7_0_set_22, LBB7_22-LJTI7_0 LJTI7_0: .long L7_0_set_4 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_20 .long L7_0_set_21 .long L7_0_set_22 .long L7_0_set_20 .long L7_0_set_22 .long L7_0_set_20 .long L7_0_set_21 .end_data_region ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str.2(%rip), %rdi callq _infixToPostfix leaq L_.str.3(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Stack Overflow! Cannot push %d to the stack\n" L_.str.2: ## @.str.2 .asciz "a+b*c-d" L_.str.3: ## @.str.3 .asciz "postfix is %s" L_str: ## @str .asciz "Stack Underflow! Cannot pop from the stack" .section __TEXT,__const .p2align 2 ## @switch.table.isOperator l_switch.table.isOperator: .long 1 ## 0x1 .long 1 ## 0x1 .long 0 ## 0x0 .long 1 ## 0x1 .long 0 ## 0x0 .long 1 ## 0x1 .p2align 2 ## @switch.table.infixToPostfix l_switch.table.infixToPostfix: .long 3 ## 0x3 .long 2 ## 0x2 .long 0 ## 0x0 .long 2 ## 0x2 .long 0 ## 0x0 .long 3 ## 0x3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _stackTop ; -- Begin function stackTop .p2align 2 _stackTop: ; @stackTop .cfi_startproc ; %bb.0: ldr x8, [x0, #8] ldrsw x9, [x0, #4] ldrsb w0, [x8, x9] ret .cfi_endproc ; -- End function .globl _isEmpty ; -- Begin function isEmpty .p2align 2 _isEmpty: ; @isEmpty .cfi_startproc ; %bb.0: ldr w8, [x0, #4] cmn w8, #1 cset w0, eq ret .cfi_endproc ; -- End function .globl _isFull ; -- Begin function isFull .p2align 2 _isFull: ; @isFull .cfi_startproc ; %bb.0: ldp w9, w8, [x0] sub w9, w9, #1 cmp w8, w9 cset w0, eq ret .cfi_endproc ; -- End function .globl _push ; -- Begin function push .p2align 2 _push: ; @push .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 ; kill: def $w1 killed $w1 def $x1 ldp w9, w8, [x0] ; kill: def $w8 killed $w8 def $x8 sxtw x8, w8 sub w9, w9, #1 cmp w8, w9 b.ne LBB3_2 ; %bb.1: sxtw x8, w1 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf b LBB3_3 LBB3_2: add x8, x8, #1 str w8, [x0, #4] ldr x9, [x0, #8] strb w1, [x9, x8] LBB3_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _pop ; -- Begin function pop .p2align 2 _pop: ; @pop .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 ldrsw x8, [x0, #4] cmn w8, #1 b.eq LBB4_2 ; %bb.1: ldr x9, [x0, #8] ldrb w9, [x9, x8] sub w8, w8, #1 str w8, [x0, #4] b LBB4_3 LBB4_2: Lloh2: adrp x0, l_str@PAGE Lloh3: add x0, x0, l_str@PAGEOFF bl _puts mov w9, #255 LBB4_3: sxtb w0, w9 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .globl _precedence ; -- Begin function precedence .p2align 2 _precedence: ; @precedence .cfi_startproc ; %bb.0: sub w8, w0, #42 cmp w8, #5 b.hi LBB5_2 ; %bb.1: sxtb x8, w8 Lloh4: adrp x9, l_switch.table.infixToPostfix@PAGE Lloh5: add x9, x9, l_switch.table.infixToPostfix@PAGEOFF ldr w0, [x9, x8, lsl #2] ret LBB5_2: mov w0, #0 ret .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .globl _isOperator ; -- Begin function isOperator .p2align 2 _isOperator: ; @isOperator .cfi_startproc ; %bb.0: sub w8, w0, #42 cmp w8, #5 b.hi LBB6_2 ; %bb.1: sxtb x8, w8 Lloh6: adrp x9, l_switch.table.isOperator@PAGE Lloh7: add x9, x9, l_switch.table.isOperator@PAGEOFF ldr w0, [x9, x8, lsl #2] ret LBB6_2: mov w0, #0 ret .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .globl _infixToPostfix ; -- Begin function infixToPostfix .p2align 2 _infixToPostfix: ; @infixToPostfix .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, x0 mov w0, #10 bl _malloc mov x20, x0 mov x0, x21 bl _strlen add x0, x0, #1 bl _malloc mov x19, x0 mov w24, #0 mov w9, #0 Lloh8: adrp x26, lJTI7_0@PAGE Lloh9: add x26, x26, lJTI7_0@PAGEOFF Lloh10: adrp x27, l_switch.table.infixToPostfix@PAGE Lloh11: add x27, x27, l_switch.table.infixToPostfix@PAGEOFF mov w25, #-1 mov x8, x25 b LBB7_3 LBB7_1: ; in Loop: Header=BB7_3 Depth=1 add x25, x12, #1 strb w9, [x20, x25] mov x8, x25 LBB7_2: ; in Loop: Header=BB7_3 Depth=1 add x9, x28, w23, uxtw add w10, w24, w28 add w24, w10, #1 ; kill: def $w9 killed $w9 killed $x9 def $x9 LBB7_3: ; =>This Loop Header: Depth=1 ; Child Loop BB7_5 Depth 2 mov x28, #0 sxtw x23, w9 add x22, x19, x23 add x10, x21, w24, sxtw b LBB7_5 LBB7_4: ; in Loop: Header=BB7_5 Depth=2 strb w9, [x22, x28] add x28, x28, #1 LBB7_5: ; Parent Loop BB7_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w9, [x10, x28] cmp w9, #47 b.hi LBB7_4 ; %bb.6: ; in Loop: Header=BB7_5 Depth=2 adr x11, LBB7_4 ldrb w12, [x26, x9] add x11, x11, x12, lsl #2 br x11 LBB7_7: ; in Loop: Header=BB7_3 Depth=1 mov w11, #3 b LBB7_9 LBB7_8: ; in Loop: Header=BB7_3 Depth=1 mov w11, #2 LBB7_9: ; in Loop: Header=BB7_3 Depth=1 sxtw x12, w8 ldrb w10, [x20, x12] sub w13, w10, #42 cmp w13, #5 b.hi LBB7_13 ; %bb.10: ; in Loop: Header=BB7_3 Depth=1 sxtb x13, w13 ldr w13, [x27, x13, lsl #2] cmp w11, w13 b.hi LBB7_14 LBB7_11: ; in Loop: Header=BB7_3 Depth=1 cmn w8, #1 b.eq LBB7_16 ; %bb.12: ; in Loop: Header=BB7_3 Depth=1 sub w25, w8, #1 mov x8, x25 b LBB7_17 LBB7_13: ; in Loop: Header=BB7_3 Depth=1 mov w13, #0 cmp w11, w13 b.ls LBB7_11 LBB7_14: ; in Loop: Header=BB7_3 Depth=1 cmp w8, #9 b.ne LBB7_1 ; %bb.15: ; in Loop: Header=BB7_3 Depth=1 ; kill: def $w9 killed $w9 killed $x9 def $x9 str x9, [sp] Lloh12: adrp x0, l_.str@PAGE Lloh13: add x0, x0, l_.str@PAGEOFF bl _printf mov w8, #9 b LBB7_2 LBB7_16: ; in Loop: Header=BB7_3 Depth=1 Lloh14: adrp x0, l_str@PAGE Lloh15: add x0, x0, l_str@PAGEOFF bl _puts mov w10, #255 mov w8, #-1 LBB7_17: ; in Loop: Header=BB7_3 Depth=1 add x24, x28, w24, uxtw strb w10, [x22, x28] add w9, w23, w28 add w9, w9, #1 b LBB7_3 LBB7_18: cmn w25, #1 b.eq LBB7_21 ; %bb.19: ; kill: def $w25 killed $w25 killed $x25 def $x25 sxtw x13, w25 add x10, x13, #1 cmp x10, #8 b.hs LBB7_22 ; %bb.20: add x8, x23, x28 mov x9, x13 b LBB7_25 LBB7_21: add x8, x28, w23, uxtw ; kill: def $w8 killed $w8 killed $x8 def $x8 b LBB7_26 LBB7_22: add x8, x19, x23 add x11, x8, x28 and x12, x10, #0xfffffffffffffff8 sub x9, x13, x12 add x8, x12, x23 add x8, x8, x28 add x13, x20, x13 sub x13, x13, #7 mov x14, x12 LBB7_23: ; =>This Inner Loop Header: Depth=1 ldr d0, [x13], #-8 rev64.8b v0, v0 str d0, [x11], #8 subs x14, x14, #8 b.ne LBB7_23 ; %bb.24: cmp x10, x12 b.eq LBB7_26 LBB7_25: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x20, x9] sub x9, x9, #1 strb w10, [x19, x8] add x8, x8, #1 cmn x9, #1 b.ne LBB7_25 LBB7_26: strb wzr, [x19, w8, sxtw] mov x0, x19 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc .section __TEXT,__const lJTI7_0: .byte (LBB7_18-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_7-LBB7_4)>>2 .byte (LBB7_8-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_8-LBB7_4)>>2 .byte (LBB7_4-LBB7_4)>>2 .byte (LBB7_7-LBB7_4)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .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 Lloh16: adrp x0, l_.str.2@PAGE Lloh17: add x0, x0, l_.str.2@PAGEOFF bl _infixToPostfix str x0, [sp] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Stack Overflow! Cannot push %d to the stack\n" l_.str.2: ; @.str.2 .asciz "a+b*c-d" l_.str.3: ; @.str.3 .asciz "postfix is %s" l_str: ; @str .asciz "Stack Underflow! Cannot pop from the stack" .section __TEXT,__const .p2align 2 ; @switch.table.isOperator l_switch.table.isOperator: .long 1 ; 0x1 .long 1 ; 0x1 .long 0 ; 0x0 .long 1 ; 0x1 .long 0 ; 0x0 .long 1 ; 0x1 .p2align 2 ; @switch.table.infixToPostfix l_switch.table.infixToPostfix: .long 3 ; 0x3 .long 2 ; 0x2 .long 0 ; 0x0 .long 2 ; 0x2 .long 0 ; 0x0 .long 3 ; 0x3 .subsections_via_symbols
the_stack_data/14497.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function show_diff_tree _show_diff_tree: ## @show_diff_tree .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 %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) xorps %xmm0, %xmm0 movaps %xmm0, -64(%rbp) leaq L_.str(%rip), %rax movq %rax, -96(%rbp) leaq L_.str.1(%rip), %rax movq %rax, -88(%rbp) leaq L_.str.2(%rip), %rax movq %rax, -80(%rbp) leaq L_.str.3(%rip), %rax movq %rax, -72(%rbp) leaq L_.str.4(%rip), %rax movq %rax, -64(%rbp) movq _git_diff_ui_config@GOTPCREL(%rip), %rax movl (%rax), %edi xorl %esi, %esi callq _git_config leaq -104(%rbp), %r13 movq %r12, %rdi movq %r13, %rsi movq %r15, %rdx callq _repo_init_revisions leaq -96(%rbp), %rbx movq %rbx, %rdi callq _ARRAY_SIZE leaq -1(%rax), %rdi movq %rbx, %rsi movq %r13, %rdx xorl %ecx, %ecx callq _setup_revisions movq %r13, %rdi movq %r14, %rsi callq _log_tree_commit movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_2 ## %bb.1: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "diff-tree" L_.str.1: ## @.str.1 .asciz "--pretty" L_.str.2: ## @.str.2 .asciz "--stat" L_.str.3: ## @.str.3 .asciz "--summary" L_.str.4: ## @.str.4 .asciz "--cc" .comm _git_diff_ui_config,4,2 ## @git_diff_ui_config .no_dead_strip _show_diff_tree .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function show_diff_tree _show_diff_tree: ; @show_diff_tree .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, l_.str@PAGE Lloh4: add x9, x9, l_.str@PAGEOFF stur x8, [x29, #-40] Lloh5: adrp x8, l_.str.1@PAGE Lloh6: add x8, x8, l_.str.1@PAGEOFF Lloh7: adrp x10, l_.str.2@PAGE Lloh8: add x10, x10, l_.str.2@PAGEOFF stp x9, x8, [sp, #8] Lloh9: adrp x8, l_.str.3@PAGE Lloh10: add x8, x8, l_.str.3@PAGEOFF Lloh11: adrp x9, l_.str.4@PAGE Lloh12: add x9, x9, l_.str.4@PAGEOFF stp x10, x8, [sp, #24] stp x9, xzr, [sp, #40] Lloh13: adrp x8, _git_diff_ui_config@GOTPAGE Lloh14: ldr x8, [x8, _git_diff_ui_config@GOTPAGEOFF] Lloh15: ldr w0, [x8] mov x1, #0 bl _git_config mov x1, sp mov x0, x21 mov x2, x20 bl _repo_init_revisions add x0, sp, #8 bl _ARRAY_SIZE sub x0, x0, #1 add x1, sp, #8 mov x2, sp mov x3, #0 bl _setup_revisions mov x0, sp mov x1, x19 bl _log_tree_commit ldur x8, [x29, #-40] Lloh16: adrp x9, ___stack_chk_guard@GOTPAGE Lloh17: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh18: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "diff-tree" l_.str.1: ; @.str.1 .asciz "--pretty" l_.str.2: ; @.str.2 .asciz "--stat" l_.str.3: ; @.str.3 .asciz "--summary" l_.str.4: ; @.str.4 .asciz "--cc" .comm _git_diff_ui_config,4,2 ; @git_diff_ui_config .no_dead_strip _show_diff_tree .subsections_via_symbols
AnghaBench/git/extr_bisect.c_show_diff_tree.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _atomic64_cmpxchg ## -- Begin function atomic64_cmpxchg .p2align 4, 0x90 _atomic64_cmpxchg: ## @atomic64_cmpxchg .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 movq %rsi, %r13 movq %rdi, %rbx callq _lock_addr movq %rax, %r15 movq %rax, %rdi callq _spin_lock_irqsave movq (%rbx), %r12 cmpq %r13, %r12 jne LBB0_2 ## %bb.1: movq %r14, (%rbx) LBB0_2: movq %r15, %rdi callq _spin_unlock_irqrestore movq %r12, %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 _atomic64_cmpxchg ; -- Begin function atomic64_cmpxchg .p2align 2 _atomic64_cmpxchg: ; @atomic64_cmpxchg .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 x23, x1 mov x20, x0 bl _lock_addr mov x21, x0 bl _spin_lock_irqsave ldr x22, [x20] cmp x22, x23 b.ne LBB0_2 ; %bb.1: str x19, [x20] LBB0_2: mov x0, x21 bl _spin_unlock_irqrestore mov x0, x22 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/lib/extr_atomic64.c_atomic64_cmpxchg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gai_strerror ## -- Begin function gai_strerror .p2align 4, 0x90 _gai_strerror: ## @gai_strerror .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edi killed $edi def $rdi addl $12, %edi movl $12, %eax subq %rdi, %rax leaq (%rax,%rax,2), %rax shlq $4, %rax cmpl $13, %edi leaq _gai_errlist(%rip), %rcx leaq 4(%rax,%rcx), %rcx leaq _gai_unknownerr(%rip), %rax cmovbq %rcx, %rax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @gai_errlist _gai_errlist: .long 0 ## 0x0 .asciz "Error 0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967295 ## 0xffffffff .asciz "Invalid flag used\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967294 ## 0xfffffffe .asciz "Host or service not found\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967293 ## 0xfffffffd .asciz "Temporary name service failure\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967292 ## 0xfffffffc .asciz "Non-recoverable name service failure\000\000\000\000" .space 3 .long 4294967291 ## 0xfffffffb .asciz "No data for host name\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967290 ## 0xfffffffa .asciz "Unsupported address family\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967289 ## 0xfffffff9 .asciz "Unsupported socket type\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967288 ## 0xfffffff8 .asciz "Incompatible service for socket type\000\000\000\000" .space 3 .long 4294967287 ## 0xfffffff7 .asciz "Unavailable address family for host name" .space 3 .long 4294967286 ## 0xfffffff6 .asciz "Memory allocation failure\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967285 ## 0xfffffff5 .asciz "Buffer overflow\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967284 ## 0xfffffff4 .asciz "System error\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .space 48 .p2align 4 ## @gai_unknownerr _gai_unknownerr: .asciz "Unrecognized error number" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gai_strerror ; -- Begin function gai_strerror .p2align 2 _gai_strerror: ; @gai_strerror .cfi_startproc ; %bb.0: add w8, w0, #12 mov w9, #12 sub x9, x9, x8 mov w10, #48 Lloh0: adrp x11, _gai_errlist@PAGE Lloh1: add x11, x11, _gai_errlist@PAGEOFF madd x9, x9, x10, x11 add x9, x9, #4 Lloh2: adrp x10, _gai_unknownerr@PAGE Lloh3: add x10, x10, _gai_unknownerr@PAGEOFF cmp w8, #13 csel x0, x9, x10, lo ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__const .p2align 2 ; @gai_errlist _gai_errlist: .long 0 ; 0x0 .asciz "Error 0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967295 ; 0xffffffff .asciz "Invalid flag used\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967294 ; 0xfffffffe .asciz "Host or service not found\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967293 ; 0xfffffffd .asciz "Temporary name service failure\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967292 ; 0xfffffffc .asciz "Non-recoverable name service failure\000\000\000\000" .space 3 .long 4294967291 ; 0xfffffffb .asciz "No data for host name\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967290 ; 0xfffffffa .asciz "Unsupported address family\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967289 ; 0xfffffff9 .asciz "Unsupported socket type\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967288 ; 0xfffffff8 .asciz "Incompatible service for socket type\000\000\000\000" .space 3 .long 4294967287 ; 0xfffffff7 .asciz "Unavailable address family for host name" .space 3 .long 4294967286 ; 0xfffffff6 .asciz "Memory allocation failure\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967285 ; 0xfffffff5 .asciz "Buffer overflow\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .long 4294967284 ; 0xfffffff4 .asciz "System error\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 3 .space 48 _gai_unknownerr: ; @gai_unknownerr .asciz "Unrecognized error number" .subsections_via_symbols
the_stack_data/1261883.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ti_dma_ring_alloc _ti_dma_ring_alloc: ## @ti_dma_ring_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, %r13 movq %r8, -48(%rbp) ## 8-byte Spill movq %rcx, %r14 movl %edx, %ebx movq %rdi, %r15 movl 4(%rdi), %edi movq _BUS_SPACE_MAXADDR@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r14, 56(%rsp) xorps %xmm0, %xmm0 movups %xmm0, 40(%rsp) movl %edx, 24(%rsp) movl %edx, 8(%rsp) movl $0, 32(%rsp) movl $1, 16(%rsp) movq $0, (%rsp) xorl %edx, %edx movl %ecx, %r8d xorl %r9d, %r9d callq _bus_dma_tag_create testl %eax, %eax je LBB0_3 ## %bb.1: movl %eax, %r12d movl (%r15), %edi leaq L_.str(%rip), %rsi jmp LBB0_2 LBB0_3: movq _BUS_DMA_NOWAIT@GOTPCREL(%rip), %rcx movq _BUS_DMA_ZERO@GOTPCREL(%rip), %rax movl (%rax), %edx orl (%rcx), %edx movl (%r14), %edi movq _BUS_DMA_COHERENT@GOTPCREL(%rip), %rax orl (%rax), %edx movq -48(%rbp), %rsi ## 8-byte Reload movq %r13, %rcx callq _bus_dmamem_alloc testl %eax, %eax je LBB0_5 ## %bb.4: movl %eax, %r12d movl (%r15), %edi leaq L_.str.1(%rip), %rsi jmp LBB0_2 LBB0_5: movq $0, -56(%rbp) movl (%r14), %edi movl (%r13), %esi movq -48(%rbp), %rax ## 8-byte Reload movq (%rax), %rdx movq _ti_dma_map_addr@GOTPCREL(%rip), %rax movl (%rax), %r8d movq _BUS_DMA_NOWAIT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rsp) leaq -56(%rbp), %r9 movl %ebx, %ecx callq _bus_dmamap_load testl %eax, %eax je LBB0_7 ## %bb.6: movl %eax, %r12d movl (%r15), %edi leaq L_.str.2(%rip), %rsi LBB0_2: movq 24(%rbp), %rdx callq _device_printf LBB0_8: movl %r12d, %eax addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq 16(%rbp), %rax movq -56(%rbp), %rcx movq %rcx, (%rax) xorl %r12d, %r12d jmp LBB0_8 .cfi_endproc ## -- End function .comm _BUS_SPACE_MAXADDR,4,2 ## @BUS_SPACE_MAXADDR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "could not create %s dma tag\n" .comm _BUS_DMA_NOWAIT,4,2 ## @BUS_DMA_NOWAIT .comm _BUS_DMA_ZERO,4,2 ## @BUS_DMA_ZERO .comm _BUS_DMA_COHERENT,4,2 ## @BUS_DMA_COHERENT L_.str.1: ## @.str.1 .asciz "could not allocate DMA'able memory for %s\n" .comm _ti_dma_map_addr,4,2 ## @ti_dma_map_addr L_.str.2: ## @.str.2 .asciz "could not load DMA'able memory for %s\n" .no_dead_strip _ti_dma_ring_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ti_dma_ring_alloc _ti_dma_ring_alloc: ; @ti_dma_ring_alloc .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x7 mov x20, x6 mov x24, x5 mov x23, x4 mov x25, x3 mov x22, x2 mov x21, x0 ldr w0, [x0, #4] Lloh0: adrp x8, _BUS_SPACE_MAXADDR@GOTPAGE Lloh1: ldr x8, [x8, _BUS_SPACE_MAXADDR@GOTPAGEOFF] Lloh2: ldr w3, [x8] stp xzr, xzr, [sp, #16] str x25, [sp, #32] stp w2, wzr, [sp, #4] mov w8, #1 str w8, [sp] mov w2, #0 mov x4, x3 mov x5, #0 mov x6, #0 mov x7, x22 bl _bus_dma_tag_create cbz w0, LBB0_2 ; %bb.1: mov x26, x0 ldr w0, [x21] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF b LBB0_6 LBB0_2: ldr w0, [x25] Lloh5: adrp x27, _BUS_DMA_NOWAIT@GOTPAGE Lloh6: ldr x27, [x27, _BUS_DMA_NOWAIT@GOTPAGEOFF] ldr w8, [x27] Lloh7: adrp x9, _BUS_DMA_ZERO@GOTPAGE Lloh8: ldr x9, [x9, _BUS_DMA_ZERO@GOTPAGEOFF] Lloh9: ldr w9, [x9] orr w8, w9, w8 Lloh10: adrp x9, _BUS_DMA_COHERENT@GOTPAGE Lloh11: ldr x9, [x9, _BUS_DMA_COHERENT@GOTPAGEOFF] Lloh12: ldr w9, [x9] orr w2, w8, w9 mov x1, x23 mov x3, x24 bl _bus_dmamem_alloc cbz w0, LBB0_4 ; %bb.3: mov x26, x0 ldr w0, [x21] Lloh13: adrp x1, l_.str.1@PAGE Lloh14: add x1, x1, l_.str.1@PAGEOFF b LBB0_6 LBB0_4: str xzr, [sp, #40] ldr w0, [x25] ldr w1, [x24] ldr x2, [x23] Lloh15: adrp x8, _ti_dma_map_addr@GOTPAGE Lloh16: ldr x8, [x8, _ti_dma_map_addr@GOTPAGEOFF] Lloh17: ldr w4, [x8] ldr w6, [x27] add x5, sp, #40 mov x3, x22 bl _bus_dmamap_load mov x26, x0 cbz w0, LBB0_8 ; %bb.5: ldr w0, [x21] Lloh18: adrp x1, l_.str.2@PAGE Lloh19: add x1, x1, l_.str.2@PAGEOFF LBB0_6: mov x2, x19 bl _device_printf LBB0_7: mov x0, x26 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_8: ldr x8, [sp, #40] str x8, [x20] b LBB0_7 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _BUS_SPACE_MAXADDR,4,2 ; @BUS_SPACE_MAXADDR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "could not create %s dma tag\n" .comm _BUS_DMA_NOWAIT,4,2 ; @BUS_DMA_NOWAIT .comm _BUS_DMA_ZERO,4,2 ; @BUS_DMA_ZERO .comm _BUS_DMA_COHERENT,4,2 ; @BUS_DMA_COHERENT l_.str.1: ; @.str.1 .asciz "could not allocate DMA'able memory for %s\n" .comm _ti_dma_map_addr,4,2 ; @ti_dma_map_addr l_.str.2: ; @.str.2 .asciz "could not load DMA'able memory for %s\n" .no_dead_strip _ti_dma_ring_alloc .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ti/extr_if_ti.c_ti_dma_ring_alloc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _device_release_driver_internal ## -- Begin function device_release_driver_internal .p2align 4, 0x90 _device_release_driver_internal: ## @device_release_driver_internal .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 movq %rdi, %rbx movq %rdx, %rsi callq ___device_driver_lock testq %r15, %r15 je LBB0_2 ## %bb.1: cmpq %r15, (%rbx) jne LBB0_3 LBB0_2: movq %rbx, %rdi movq %r14, %rsi callq ___device_release_driver LBB0_3: movq %rbx, %rdi movq %r14, %rsi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp ___device_driver_unlock ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _device_release_driver_internal ; -- Begin function device_release_driver_internal .p2align 2 _device_release_driver_internal: ; @device_release_driver_internal .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x21, x1 mov x20, x0 mov x1, x2 bl ___device_driver_lock cbz x21, LBB0_2 ; %bb.1: ldr x8, [x20] cmp x8, x21 b.ne LBB0_3 LBB0_2: mov x0, x20 mov x1, x19 bl ___device_release_driver LBB0_3: mov x0, x20 mov x1, 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 ___device_driver_unlock .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/base/extr_dd.c_device_release_driver_internal.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mp4_get_config _mp4_get_config: ## @mp4_get_config .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movq 8(%rsi), %rax movq 8(%rax), %rax movq (%rax), %r13 leaq L_.str(%rip), %rax movq %rax, -64(%rbp) leaq -64(%rbp), %rsi movq %rdx, %rdi callq _vc_containers_list_find_entry testl %eax, %eax je LBB0_7 ## %bb.1: movl -56(%rbp), %edi testl %edi, %edi je LBB0_7 ## %bb.2: callq _strlen testb $1, %al jne LBB0_8 ## %bb.3: movl %eax, %ebx shrl $31, %ebx addl %eax, %ebx sarl %ebx movq %r14, %rdi movq %r15, %rsi movl %ebx, %edx callq _vc_container_track_allocate_extradata movq _VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_12 ## %bb.4: movq (%r15), %rax movq 8(%r15), %rcx movq (%rcx), %r12 movl %ebx, (%rax) movl -56(%rbp), %edi movq %r12, %rsi movl %ebx, %edx callq _hex_to_byte_buffer leaq -44(%rbp), %rsi movq %r14, %rdi movq %r12, %rdx movl %ebx, %ecx callq _BITS_INIT movl (%r13), %edx cmpl $128, %edx jne LBB0_13 ## %bb.5: leaq -44(%rbp), %rdx movq %r14, %rdi movq %r15, %rsi callq _mp4_decode_audio_config testl %eax, %eax je LBB0_10 ## %bb.6: movq _VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax jmp LBB0_11 LBB0_7: leaq L_.str.1(%rip), %rsi jmp LBB0_9 LBB0_8: leaq L_.str.2(%rip), %rsi LBB0_9: movq %r14, %rdi xorl %eax, %eax callq _LOG_ERROR LBB0_10: movq _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPCREL(%rip), %rax LBB0_11: movq (%rax), %rax LBB0_12: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_13: leaq L_.str.3(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _LOG_ERROR jmp LBB0_10 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "config" L_.str.1: ## @.str.1 .asciz "MPEG-4: config parameter missing" .comm _VC_CONTAINER_ERROR_FORMAT_INVALID,8,3 ## @VC_CONTAINER_ERROR_FORMAT_INVALID L_.str.2: ## @.str.2 .asciz "MPEG-4: config parameter invalid" .comm _VC_CONTAINER_SUCCESS,8,3 ## @VC_CONTAINER_SUCCESS L_.str.3: ## @.str.3 .asciz "MPEG-4: stream type %d not supported" .no_dead_strip _mp4_get_config .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mp4_get_config _mp4_get_config: ; @mp4_get_config .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x1 mov x19, x0 ldr x8, [x1, #8] ldr x8, [x8, #8] ldr x23, [x8] Lloh0: adrp x8, l_.str@PAGE Lloh1: add x8, x8, l_.str@PAGEOFF str x8, [sp, #16] add x1, sp, #16 mov x0, x2 bl _vc_containers_list_find_entry cbz w0, LBB0_7 ; %bb.1: ldr w0, [sp, #24] cbz w0, LBB0_7 ; %bb.2: bl _strlen tbnz w0, #0, LBB0_8 ; %bb.3: cmp w0, #0 cinc w8, w0, lt asr w21, w8, #1 mov x0, x19 mov x1, x20 mov x2, x21 bl _vc_container_track_allocate_extradata Lloh2: adrp x24, _VC_CONTAINER_SUCCESS@GOTPAGE Lloh3: ldr x24, [x24, _VC_CONTAINER_SUCCESS@GOTPAGEOFF] ldr x8, [x24] cmp x0, x8 b.ne LBB0_11 ; %bb.4: ldp x9, x8, [x20] ldr x22, [x8] str w21, [x9] ldr w0, [sp, #24] mov x1, x22 mov x2, x21 bl _hex_to_byte_buffer add x1, sp, #12 mov x0, x19 mov x2, x22 mov x3, x21 bl _BITS_INIT ldr w8, [x23] cmp w8, #128 b.ne LBB0_12 ; %bb.5: add x2, sp, #12 mov x0, x19 mov x1, x20 bl _mp4_decode_audio_config cbz w0, LBB0_10 ; %bb.6: ldr x0, [x24] b LBB0_11 LBB0_7: Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF b LBB0_9 LBB0_8: Lloh6: adrp x1, l_.str.2@PAGE Lloh7: add x1, x1, l_.str.2@PAGEOFF LBB0_9: mov x0, x19 bl _LOG_ERROR LBB0_10: Lloh8: adrp x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGE Lloh9: ldr x8, [x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGEOFF] Lloh10: ldr x0, [x8] LBB0_11: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_12: str x8, [sp] Lloh11: adrp x1, l_.str.3@PAGE Lloh12: add x1, x1, l_.str.3@PAGEOFF b LBB0_9 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "config" l_.str.1: ; @.str.1 .asciz "MPEG-4: config parameter missing" .comm _VC_CONTAINER_ERROR_FORMAT_INVALID,8,3 ; @VC_CONTAINER_ERROR_FORMAT_INVALID l_.str.2: ; @.str.2 .asciz "MPEG-4: config parameter invalid" .comm _VC_CONTAINER_SUCCESS,8,3 ; @VC_CONTAINER_SUCCESS l_.str.3: ; @.str.3 .asciz "MPEG-4: stream type %d not supported" .no_dead_strip _mp4_get_config .subsections_via_symbols
AnghaBench/RetroArch/gfx/include/userland/containers/rtp/extr_rtp_mpeg4.c_mp4_get_config.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lprint_Scsi_Cmnd _lprint_Scsi_Cmnd: ## @lprint_Scsi_Cmnd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx callq _H_NO movq 8(%rbx), %rdx movl (%rdx), %ecx movl 4(%rdx), %edx leaq L_.str(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _SPRINTF leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _SPRINTF movq (%rbx), %r12 movzbl (%r12), %edx leaq L_.str.2(%rip), %rdi movl %edx, %esi xorl %eax, %eax callq _SPRINTF movzbl (%r12), %edi callq _COMMAND_SIZE cmpl $2, %eax jl LBB0_3 ## %bb.1: movl %eax, %r13d movl $1, %ebx leaq L_.str.3(%rip), %r15 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movzbl (%r12,%rbx), %esi movq %r15, %rdi xorl %eax, %eax callq _SPRINTF incq %rbx cmpq %rbx, %r13 jne LBB0_2 LBB0_3: leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _SPRINTF movq %r14, %rax 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 "scsi%d: destination target %d, lun %d\n" L_.str.1: ## @.str.1 .asciz " command = " L_.str.2: ## @.str.2 .asciz "%2d (0x%02x)" L_.str.3: ## @.str.3 .asciz " %02x" L_.str.4: ## @.str.4 .asciz "\n" .no_dead_strip _lprint_Scsi_Cmnd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lprint_Scsi_Cmnd _lprint_Scsi_Cmnd: ; @lprint_Scsi_Cmnd .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 bl _H_NO ; kill: def $w0 killed $w0 def $x0 ldr x8, [x20, #8] ldp w8, w9, [x8] stp x9, x8, [sp, #8] str x0, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _SPRINTF Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _SPRINTF ldr x20, [x20] ldrb w8, [x20] stp x8, x8, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _SPRINTF ldrb w0, [x20] bl _COMMAND_SIZE cmp w0, #2 b.lt LBB0_3 ; %bb.1: mov w8, w0 add x21, x20, #1 sub x22, x8, #1 Lloh6: adrp x20, l_.str.3@PAGE Lloh7: add x20, x20, l_.str.3@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x21], #1 str x8, [sp] mov x0, x20 bl _SPRINTF subs x22, x22, #1 b.ne LBB0_2 LBB0_3: Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF bl _SPRINTF mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "scsi%d: destination target %d, lun %d\n" l_.str.1: ; @.str.1 .asciz " command = " l_.str.2: ; @.str.2 .asciz "%2d (0x%02x)" l_.str.3: ; @.str.3 .asciz " %02x" l_.str.4: ; @.str.4 .asciz "\n" .no_dead_strip _lprint_Scsi_Cmnd .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/extr_atari_NCR5380.c_lprint_Scsi_Cmnd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function buffer_refill _buffer_refill: ## @buffer_refill .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r13 movq (%rdi), %r14 subq 8(%rdi), %r14 cmpq %rsi, %r14 cmovgeq %rsi, %r14 movl 36(%rdi), %edi movl 16(%r13), %esi leaq -48(%rbp), %rbx leaq -64(%rbp), %r12 leaq -72(%rbp), %r15 movq %r14, %rdx movq %r12, %rcx xorl %r8d, %r8d movq %r15, %r9 pushq $0 pushq %rbx callq _IDirectSoundBuffer_Lock addq $16, %rsp movq _DSERR_INVALIDPARAM@GOTPCREL(%rip), %rcx movq (%rcx), %rdx xorl %edi, %edi cmpq %rdx, %rax sete %dil leaq L_.str(%rip), %rsi movq %rax, %rcx xorl %eax, %eax callq _ok movl 16(%r13), %esi movl 36(%r13), %edi leaq -56(%rbp), %r8 movq %r14, %rdx movq %r12, %rcx movq %r15, %r9 pushq $0 pushq %rbx callq _IDirectSoundBuffer_Lock addq $16, %rsp movq %rax, %rbx movq _DS_OK@GOTPCREL(%rip), %r15 xorl %edi, %edi cmpq (%r15), %rax sete %dil leaq L_.str.1(%rip), %rsi movq %rax, %rdx xorl %eax, %eax callq _ok movl $-1, %eax cmpq (%r15), %rbx jne LBB0_8 ## %bb.1: movq -64(%rbp), %rdi movq 8(%r13), %rsi addq 24(%r13), %rsi movq -56(%rbp), %rdx callq _memcpy movq -56(%rbp), %r9 movq 8(%r13), %rax addq %r9, %rax movq %rax, 8(%r13) movq -72(%rbp), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.3: addq 24(%r13), %rax movq -48(%rbp), %rdx movq %rax, %rsi callq _memcpy movq -48(%rbp), %r8 movq 8(%r13), %rax addq %r8, %rax movq %rax, 8(%r13) movq -56(%rbp), %r9 movq -72(%rbp), %rcx jmp LBB0_4 LBB0_2: movq -48(%rbp), %r8 xorl %ecx, %ecx LBB0_4: movslq 32(%r13), %rsi movq %rax, %rdx orq %rsi, %rdx shrq $32, %rdx je LBB0_5 ## %bb.6: cqto idivq %rsi jmp LBB0_7 LBB0_5: ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %esi ## kill: def $edx killed $edx def $rdx LBB0_7: movl %edx, 16(%r13) movl 36(%r13), %edi leaq -64(%rbp), %rbx movq %rbx, %rsi movq %r9, %rdx callq _IDirectSoundBuffer_Unlock movq _DSERR_INVALIDPARAM@GOTPCREL(%rip), %rcx movq (%rcx), %rdx xorl %edi, %edi cmpq %rdx, %rax sete %dil movq -64(%rbp), %r9 leaq L_.str.2(%rip), %rsi movq %rax, %rcx movq %rbx, %r8 xorl %eax, %eax callq _ok movl 36(%r13), %edi movq -64(%rbp), %rsi movq -56(%rbp), %rdx movq -72(%rbp), %rcx movq -48(%rbp), %r8 callq _IDirectSoundBuffer_Unlock movq %rax, %rbx xorl %edi, %edi cmpq (%r15), %rax sete %dil leaq L_.str.3(%rip), %rsi movq %rax, %rdx xorl %eax, %eax callq _ok cmpq (%r15), %rbx movl $-1, %eax cmovel %r14d, %eax LBB0_8: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DSERR_INVALIDPARAM,8,3 ## @DSERR_INVALIDPARAM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "expected %08x got %08x\n" .comm _DS_OK,8,3 ## @DS_OK L_.str.1: ## @.str.1 .asciz "IDirectSoundBuffer_Lock() failed: %08x\n" L_.str.2: ## @.str.2 .asciz "IDDirectSoundBuffer_Unlock(): expected %08x got %08x, %p %p\n" L_.str.3: ## @.str.3 .asciz "IDirectSoundBuffer_Unlock() failed: %08x\n" .no_dead_strip _buffer_refill .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function buffer_refill _buffer_refill: ; @buffer_refill .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 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 mov x20, x0 ldp x8, x9, [x0] sub x8, x8, x9 cmp x8, x1 csel x19, x8, x1, lt ldr w0, [x0, #36] ldr w1, [x20, #16] add x3, sp, #56 add x5, sp, #48 add x6, sp, #32 mov x2, x19 mov x4, #0 mov w7, #0 bl _IDirectSoundBuffer_Lock Lloh0: adrp x23, _DSERR_INVALIDPARAM@GOTPAGE Lloh1: ldr x23, [x23, _DSERR_INVALIDPARAM@GOTPAGEOFF] ldr x2, [x23] cmp x0, x2 cset w8, eq str x0, [sp] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF mov x0, x8 bl _ok ldr w0, [x20, #36] ldr w1, [x20, #16] add x3, sp, #56 add x4, sp, #40 add x5, sp, #48 add x6, sp, #32 mov x2, x19 mov w7, #0 bl _IDirectSoundBuffer_Lock mov x21, x0 Lloh4: adrp x22, _DS_OK@GOTPAGE Lloh5: ldr x22, [x22, _DS_OK@GOTPAGEOFF] ldr x8, [x22] cmp x0, x8 cset w0, eq Lloh6: adrp x1, l_.str.1@PAGE Lloh7: add x1, x1, l_.str.1@PAGEOFF mov x2, x21 bl _ok ldr x8, [x22] cmp x21, x8 b.ne LBB0_3 ; %bb.1: ldr x0, [sp, #56] ldr x8, [x20, #24] ldr x9, [x20, #8] add x1, x9, x8 ldr x2, [sp, #40] bl _memcpy ldp x2, x0, [sp, #40] ldr x8, [x20, #8] add x8, x8, x2 str x8, [x20, #8] cbz x0, LBB0_4 ; %bb.2: ldr x9, [x20, #24] add x1, x9, x8 ldr x2, [sp, #32] bl _memcpy ldp x4, x2, [sp, #32] ldr x8, [x20, #8] add x8, x8, x4 str x8, [x20, #8] ldr x3, [sp, #48] b LBB0_5 LBB0_3: mov w0, #-1 b LBB0_6 LBB0_4: mov x3, #0 ldr x4, [sp, #32] LBB0_5: ldp w9, w0, [x20, #32] ; kill: def $w9 killed $w9 def $x9 sxtw x9, w9 sdiv x10, x8, x9 msub w8, w10, w9, w8 str w8, [x20, #16] add x21, sp, #56 add x1, sp, #56 bl _IDirectSoundBuffer_Unlock ldr x2, [x23] cmp x0, x2 cset w8, eq ldr x9, [sp, #56] stp x21, x9, [sp, #8] str x0, [sp] Lloh8: adrp x1, l_.str.2@PAGE Lloh9: add x1, x1, l_.str.2@PAGEOFF mov x0, x8 bl _ok ldr w0, [x20, #36] ldp x3, x1, [sp, #48] ldp x4, x2, [sp, #32] bl _IDirectSoundBuffer_Unlock mov x20, x0 ldr x8, [x22] cmp x0, x8 cset w0, eq Lloh10: adrp x1, l_.str.3@PAGE Lloh11: add x1, x1, l_.str.3@PAGEOFF mov x2, x20 bl _ok ldr x8, [x22] cmp x20, x8 csinv w0, w19, wzr, eq LBB0_6: 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 add sp, sp, #128 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _DSERR_INVALIDPARAM,8,3 ; @DSERR_INVALIDPARAM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "expected %08x got %08x\n" .comm _DS_OK,8,3 ; @DS_OK l_.str.1: ; @.str.1 .asciz "IDirectSoundBuffer_Lock() failed: %08x\n" l_.str.2: ; @.str.2 .asciz "IDDirectSoundBuffer_Unlock(): expected %08x got %08x, %p %p\n" l_.str.3: ; @.str.3 .asciz "IDirectSoundBuffer_Unlock() failed: %08x\n" .no_dead_strip _buffer_refill .subsections_via_symbols
AnghaBench/reactos/modules/rostests/winetests/dsound/extr_ds3d.c_buffer_refill.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/73575779.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _phy_read_paged ## -- Begin function phy_read_paged .p2align 4, 0x90 _phy_read_paged: ## @phy_read_paged .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movq %rdi, %rbx callq _phy_select_page movl %eax, %r14d testl %eax, %eax js LBB0_1 ## %bb.2: movq %rbx, %rdi movl %r15d, %esi callq ___phy_read movl %eax, %edx jmp LBB0_3 LBB0_1: xorl %edx, %edx LBB0_3: movq %rbx, %rdi movl %r14d, %esi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _phy_restore_page ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _phy_read_paged ; -- Begin function phy_read_paged .p2align 2 _phy_read_paged: ; @phy_read_paged .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x2 mov x19, x0 bl _phy_select_page mov x20, x0 tbnz w0, #31, LBB0_2 ; %bb.1: mov x0, x19 mov x1, x21 bl ___phy_read mov x2, x0 b LBB0_3 LBB0_2: mov w2, #0 LBB0_3: mov x0, x19 mov x1, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _phy_restore_page .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/net/phy/extr_phy-core.c_phy_read_paged.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _snd_seq_kernel_client_dispatch ## -- Begin function snd_seq_kernel_client_dispatch .p2align 4, 0x90 _snd_seq_kernel_client_dispatch: ## @snd_seq_kernel_client_dispatch .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movl %edx, %r15d movq %rsi, %rbx movl %edi, %r12d xorl %edi, %edi testq %rsi, %rsi sete %dil callq _snd_BUG_ON testq %rax, %rax jne LBB0_1 ## %bb.2: movq _SNDRV_SEQ_QUEUE_DIRECT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rbx) movl %r12d, (%rbx) movq %rbx, %rdi callq _check_event_type_and_length testq %rax, %rax je LBB0_3 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_8: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_3: movl %r12d, %edi callq _snd_seq_client_use_ptr testq %rax, %rax je LBB0_1 ## %bb.4: movq %rax, %r12 cmpl $0, (%rax) je LBB0_5 ## %bb.6: movq %r12, %rdi movq %rbx, %rsi movl %r15d, %edx movl %r14d, %ecx callq _snd_seq_deliver_event movl %eax, %ebx jmp LBB0_7 LBB0_5: movq _EPERM@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_7: movq %r12, %rdi callq _snd_seq_client_unlock jmp LBB0_8 .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _SNDRV_SEQ_QUEUE_DIRECT,4,2 ## @SNDRV_SEQ_QUEUE_DIRECT .comm _EPERM,4,2 ## @EPERM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _snd_seq_kernel_client_dispatch ; -- Begin function snd_seq_kernel_client_dispatch .p2align 2 _snd_seq_kernel_client_dispatch: ; @snd_seq_kernel_client_dispatch .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 mov x22, x0 cmp x1, #0 cset w0, eq bl _snd_BUG_ON cbnz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _SNDRV_SEQ_QUEUE_DIRECT@GOTPAGE Lloh1: ldr x8, [x8, _SNDRV_SEQ_QUEUE_DIRECT@GOTPAGEOFF] Lloh2: ldr w8, [x8] stp w22, w8, [x21] mov x0, x21 bl _check_event_type_and_length cbz x0, LBB0_4 LBB0_2: Lloh3: adrp x8, _EINVAL@GOTPAGE Lloh4: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w19, w8 LBB0_3: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_4: mov x0, x22 bl _snd_seq_client_use_ptr cbz x0, LBB0_2 ; %bb.5: mov x22, x0 ldr w8, [x0] cbz w8, LBB0_7 ; %bb.6: mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 bl _snd_seq_deliver_event mov x19, x0 b LBB0_8 LBB0_7: Lloh6: adrp x8, _EPERM@GOTPAGE Lloh7: ldr x8, [x8, _EPERM@GOTPAGEOFF] Lloh8: ldr w8, [x8] neg w19, w8 LBB0_8: mov x0, x22 bl _snd_seq_client_unlock b LBB0_3 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _SNDRV_SEQ_QUEUE_DIRECT,4,2 ; @SNDRV_SEQ_QUEUE_DIRECT .comm _EPERM,4,2 ; @EPERM .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/core/seq/extr_seq_clientmgr.c_snd_seq_kernel_client_dispatch.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sof_widget_bind_event _sof_widget_bind_event: ## @sof_widget_bind_event .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 cmpl $128, %edx jne LBB0_4 ## %bb.1: movl 16(%rsi), %eax movq _snd_soc_dapm_effect@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_4 ## %bb.2: movq 8(%rsi), %rax testq %rax, %rax je LBB0_5 ## %bb.3: movl (%rax), %eax movq _SOF_COMP_KEYWORD_DETECT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_4 LBB0_5: movq (%rsi), %r14 movq _sof_kwd_events@GOTPCREL(%rip), %rax movl (%rax), %ebx movl %ebx, %edi callq _ARRAY_SIZE movq %r14, %rdi movl %ebx, %esi movl %eax, %edx movl $128, %ecx popq %rbx popq %r14 popq %rbp jmp _snd_soc_tplg_widget_bind_event ## TAILCALL LBB0_4: movl (%rdi), %edi movq (%rsi), %rax movl (%rax), %ecx leaq L_.str(%rip), %rsi callq _dev_err movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _snd_soc_dapm_effect,4,2 ## @snd_soc_dapm_effect .comm _SOF_COMP_KEYWORD_DETECT,4,2 ## @SOF_COMP_KEYWORD_DETECT .comm _sof_kwd_events,4,2 ## @sof_kwd_events .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "error: invalid event type %d for widget %s\n" .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _sof_widget_bind_event .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sof_widget_bind_event _sof_widget_bind_event: ; @sof_widget_bind_event .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 w2, #128 b.ne LBB0_5 ; %bb.1: ldr w8, [x1, #16] Lloh0: adrp x9, _snd_soc_dapm_effect@GOTPAGE Lloh1: ldr x9, [x9, _snd_soc_dapm_effect@GOTPAGEOFF] Lloh2: ldr w9, [x9] cmp w8, w9 b.ne LBB0_5 ; %bb.2: ldr x8, [x1, #8] cbz x8, LBB0_4 ; %bb.3: ldr w8, [x8] Lloh3: adrp x9, _SOF_COMP_KEYWORD_DETECT@GOTPAGE Lloh4: ldr x9, [x9, _SOF_COMP_KEYWORD_DETECT@GOTPAGEOFF] Lloh5: ldr w9, [x9] cmp w8, w9 b.ne LBB0_5 LBB0_4: ldr x19, [x1] Lloh6: adrp x8, _sof_kwd_events@GOTPAGE Lloh7: ldr x8, [x8, _sof_kwd_events@GOTPAGEOFF] Lloh8: ldr w20, [x8] mov x0, x20 bl _ARRAY_SIZE mov x2, x0 mov x0, x19 mov x1, x20 mov w3, #128 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _snd_soc_tplg_widget_bind_event LBB0_5: ldr w0, [x0] ldr x8, [x1] ldr w3, [x8] Lloh9: adrp x1, l_.str@PAGE Lloh10: add x1, x1, l_.str@PAGEOFF bl _dev_err Lloh11: adrp x8, _EINVAL@GOTPAGE Lloh12: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh13: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _snd_soc_dapm_effect,4,2 ; @snd_soc_dapm_effect .comm _SOF_COMP_KEYWORD_DETECT,4,2 ; @SOF_COMP_KEYWORD_DETECT .comm _sof_kwd_events,4,2 ; @sof_kwd_events .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "error: invalid event type %d for widget %s\n" .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _sof_widget_bind_event .subsections_via_symbols
AnghaBench/linux/sound/soc/sof/extr_topology.c_sof_widget_bind_event.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dm_check_fsync ## -- Begin function dm_check_fsync .p2align 4, 0x90 _dm_check_fsync: ## @dm_check_fsync .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 callq _ieee80211_priv movq %rax, %r12 movq _COMP_HALDM@GOTPCREL(%rip), %rbx movl (%rbx), %edi movq 32(%rax), %rax movl 52(%rax), %edx movl 44(%rax), %r8d movl 48(%rax), %ecx leaq L_.str(%rip), %rsi callq _RT_TRACE movl (%rbx), %edi movq 32(%r12), %rax movl 40(%rax), %edx movl 32(%rax), %r8d movl 36(%rax), %ecx leaq L_.str.1(%rip), %rsi callq _RT_TRACE movq 32(%r12), %rax movq (%rax), %rcx movq _IEEE80211_LINKED@GOTPCREL(%rip), %r15 cmpq (%r15), %rcx jne LBB0_15 ## %bb.1: movq 24(%rax), %rcx movq _HT_IOT_ACT_CDD_FSYNC@GOTPCREL(%rip), %rdx movl (%rdx), %edx testl %edx, (%rcx) je LBB0_15 ## %bb.2: cmpq $0, 8(%rax) movl 16(%rax), %eax je LBB0_3 ## %bb.7: cmpl $129, %eax je LBB0_9 ## %bb.8: cmpl $130, %eax je LBB0_10 jmp LBB0_12 LBB0_15: movl 16(%rax), %ecx cmpl $128, %ecx je LBB0_18 ## %bb.16: cmpl $129, %ecx jne LBB0_20 ## %bb.17: movq %r14, %rdi callq _dm_EndHWFsync jmp LBB0_19 LBB0_18: movq %r14, %rdi callq _dm_EndSWFsync LBB0_19: movq 32(%r12), %rax movl $130, 16(%rax) LBB0_20: cmpq $0, 24(%r12) je LBB0_29 ## %bb.21: movq (%rax), %rax cmpq (%r15), %rax jne LBB0_26 ## %bb.22: movq (%r12), %rax movq _RegC38_TH@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq %rcx, %rax jle LBB0_23 ## %bb.25: addq $5, %rcx cmpq %rcx, %rax jl LBB0_29 LBB0_26: cmpq $0, _dm_check_fsync.reg_c38_State(%rip) je LBB0_29 ## %bb.27: movq _rOFDM0_RxDetector3@GOTPCREL(%rip), %rax movl (%rax), %esi movl 8(%r12), %edx movq %r14, %rdi callq _write_nic_byte xorl %eax, %eax jmp LBB0_28 LBB0_3: cmpl $128, %eax je LBB0_6 ## %bb.4: cmpl $130, %eax je LBB0_5 jmp LBB0_12 LBB0_23: cmpq $1, _dm_check_fsync.reg_c38_State(%rip) je LBB0_29 ## %bb.24: movq _rOFDM0_RxDetector3@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi movl $144, %edx callq _write_nic_byte movl $1, %eax jmp LBB0_28 LBB0_9: movq %r14, %rdi callq _dm_EndHWFsync LBB0_10: movq %r14, %rdi callq _dm_StartSWFsync movl $128, %eax jmp LBB0_11 LBB0_6: movq %r14, %rdi callq _dm_EndSWFsync LBB0_5: movq %r14, %rdi callq _dm_StartHWFsync movl $129, %eax LBB0_11: movq 32(%r12), %rcx movl %eax, 16(%rcx) LBB0_12: cmpq $0, 24(%r12) je LBB0_29 ## %bb.13: cmpq $2, _dm_check_fsync.reg_c38_State(%rip) je LBB0_29 ## %bb.14: movq _rOFDM0_RxDetector3@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi movl $149, %edx callq _write_nic_byte movl $2, %eax LBB0_28: movq %rax, _dm_check_fsync.reg_c38_State(%rip) LBB0_29: cmpq $0, 24(%r12) je LBB0_32 ## %bb.30: movq 16(%r12), %rax cmpq _dm_check_fsync.reset_cnt(%rip), %rax je LBB0_34 ## %bb.31: movq _rOFDM0_RxDetector3@GOTPCREL(%rip), %rax movl (%rax), %esi movl 8(%r12), %edx movq %r14, %rdi callq _write_nic_byte movq $0, _dm_check_fsync.reg_c38_State(%rip) movq 16(%r12), %rax movq %rax, _dm_check_fsync.reset_cnt(%rip) jmp LBB0_34 LBB0_32: cmpq $0, _dm_check_fsync.reg_c38_State(%rip) je LBB0_34 ## %bb.33: movq _rOFDM0_RxDetector3@GOTPCREL(%rip), %rax movl (%rax), %esi movl 8(%r12), %edx movq %r14, %rdi callq _write_nic_byte movq $0, _dm_check_fsync.reg_c38_State(%rip) LBB0_34: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_dm_check_fsync.reg_c38_State,8,3 ## @dm_check_fsync.reg_c38_State .zerofill __DATA,__bss,_dm_check_fsync.reset_cnt,8,3 ## @dm_check_fsync.reset_cnt .comm _COMP_HALDM,4,2 ## @COMP_HALDM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "RSSI %d TimeInterval %d MultipleTimeInterval %d\n" L_.str.1: ## @.str.1 .asciz "RateBitmap 0x%x FirstDiffRateThreshold %d SecondDiffRateThreshold %d\n" .comm _IEEE80211_LINKED,8,3 ## @IEEE80211_LINKED .comm _HT_IOT_ACT_CDD_FSYNC,4,2 ## @HT_IOT_ACT_CDD_FSYNC .comm _rOFDM0_RxDetector3,4,2 ## @rOFDM0_RxDetector3 .comm _RegC38_TH,8,3 ## @RegC38_TH .comm _RegC38_Default,8,3 ## @RegC38_Default .comm _RegC38_Fsync_AP_BCM,8,3 ## @RegC38_Fsync_AP_BCM .comm _RegC38_NonFsync_Other_AP,8,3 ## @RegC38_NonFsync_Other_AP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dm_check_fsync ; -- Begin function dm_check_fsync .p2align 2 _dm_check_fsync: ; @dm_check_fsync .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 bl _ieee80211_priv mov x19, x0 Lloh0: adrp x21, _COMP_HALDM@GOTPAGE Lloh1: ldr x21, [x21, _COMP_HALDM@GOTPAGEOFF] ldr w0, [x21] ldr x8, [x19, #32] ldp w3, w2, [x8, #48] ldr w4, [x8, #44] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF bl _RT_TRACE ldr w0, [x21] ldr x8, [x19, #32] ldp w3, w2, [x8, #36] ldr w4, [x8, #32] Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF bl _RT_TRACE ldr x8, [x19, #32] ldr x9, [x8] Lloh6: adrp x21, _IEEE80211_LINKED@GOTPAGE Lloh7: ldr x21, [x21, _IEEE80211_LINKED@GOTPAGEOFF] ldr x10, [x21] cmp x9, x10 b.ne LBB0_5 ; %bb.1: ldr x9, [x8, #24] ldr w9, [x9] Lloh8: adrp x10, _HT_IOT_ACT_CDD_FSYNC@GOTPAGE Lloh9: ldr x10, [x10, _HT_IOT_ACT_CDD_FSYNC@GOTPAGEOFF] Lloh10: ldr w10, [x10] tst w10, w9 b.eq LBB0_5 ; %bb.2: ldr x9, [x8, #8] ldr w8, [x8, #16] cbz x9, LBB0_16 ; %bb.3: cmp w8, #129 b.eq LBB0_20 ; %bb.4: cmp w8, #130 b.eq LBB0_21 b LBB0_25 LBB0_5: ldr w9, [x8, #16] cmp w9, #128 b.eq LBB0_8 ; %bb.6: cmp w9, #129 b.ne LBB0_10 ; %bb.7: mov x0, x20 bl _dm_EndHWFsync b LBB0_9 LBB0_8: mov x0, x20 bl _dm_EndSWFsync LBB0_9: ldr x8, [x19, #32] mov w9, #130 str w9, [x8, #16] LBB0_10: ldr x9, [x19, #24] cbz x9, LBB0_29 ; %bb.11: ldr x8, [x8] ldr x9, [x21] cmp x8, x9 b.ne LBB0_14 ; %bb.12: ldr x8, [x19] Lloh11: adrp x9, _RegC38_TH@GOTPAGE Lloh12: ldr x9, [x9, _RegC38_TH@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x8, x9 b.le LBB0_18 ; %bb.13: add x9, x9, #5 cmp x8, x9 b.lt LBB0_29 LBB0_14: Lloh14: adrp x8, _dm_check_fsync.reg_c38_State@PAGE Lloh15: ldr x8, [x8, _dm_check_fsync.reg_c38_State@PAGEOFF] cbz x8, LBB0_29 ; %bb.15: Lloh16: adrp x8, _rOFDM0_RxDetector3@GOTPAGE Lloh17: ldr x8, [x8, _rOFDM0_RxDetector3@GOTPAGEOFF] Lloh18: ldr w1, [x8] ldr w2, [x19, #8] mov x0, x20 bl _write_nic_byte mov x8, #0 b LBB0_28 LBB0_16: cmp w8, #128 b.eq LBB0_22 ; %bb.17: cmp w8, #130 b.eq LBB0_23 b LBB0_25 LBB0_18: Lloh19: adrp x8, _dm_check_fsync.reg_c38_State@PAGE Lloh20: ldr x8, [x8, _dm_check_fsync.reg_c38_State@PAGEOFF] cmp x8, #1 b.eq LBB0_29 ; %bb.19: Lloh21: adrp x8, _rOFDM0_RxDetector3@GOTPAGE Lloh22: ldr x8, [x8, _rOFDM0_RxDetector3@GOTPAGEOFF] Lloh23: ldr w1, [x8] mov x0, x20 mov w2, #144 bl _write_nic_byte mov w8, #1 b LBB0_28 LBB0_20: mov x0, x20 bl _dm_EndHWFsync LBB0_21: mov x0, x20 bl _dm_StartSWFsync mov w8, #128 b LBB0_24 LBB0_22: mov x0, x20 bl _dm_EndSWFsync LBB0_23: mov x0, x20 bl _dm_StartHWFsync mov w8, #129 LBB0_24: ldr x9, [x19, #32] str w8, [x9, #16] LBB0_25: ldr x8, [x19, #24] cbz x8, LBB0_29 ; %bb.26: Lloh24: adrp x8, _dm_check_fsync.reg_c38_State@PAGE Lloh25: ldr x8, [x8, _dm_check_fsync.reg_c38_State@PAGEOFF] cmp x8, #2 b.eq LBB0_29 ; %bb.27: Lloh26: adrp x8, _rOFDM0_RxDetector3@GOTPAGE Lloh27: ldr x8, [x8, _rOFDM0_RxDetector3@GOTPAGEOFF] Lloh28: ldr w1, [x8] mov x0, x20 mov w2, #149 bl _write_nic_byte mov w8, #2 LBB0_28: adrp x9, _dm_check_fsync.reg_c38_State@PAGE str x8, [x9, _dm_check_fsync.reg_c38_State@PAGEOFF] LBB0_29: ldr x8, [x19, #24] cbz x8, LBB0_32 ; %bb.30: ldr x8, [x19, #16] adrp x21, _dm_check_fsync.reset_cnt@PAGE ldr x9, [x21, _dm_check_fsync.reset_cnt@PAGEOFF] cmp x8, x9 b.eq LBB0_34 ; %bb.31: Lloh29: adrp x8, _rOFDM0_RxDetector3@GOTPAGE Lloh30: ldr x8, [x8, _rOFDM0_RxDetector3@GOTPAGEOFF] Lloh31: ldr w1, [x8] ldr w2, [x19, #8] mov x0, x20 bl _write_nic_byte adrp x8, _dm_check_fsync.reg_c38_State@PAGE str xzr, [x8, _dm_check_fsync.reg_c38_State@PAGEOFF] ldr x8, [x19, #16] str x8, [x21, _dm_check_fsync.reset_cnt@PAGEOFF] b LBB0_34 LBB0_32: adrp x21, _dm_check_fsync.reg_c38_State@PAGE ldr x8, [x21, _dm_check_fsync.reg_c38_State@PAGEOFF] cbz x8, LBB0_34 ; %bb.33: Lloh32: adrp x8, _rOFDM0_RxDetector3@GOTPAGE Lloh33: ldr x8, [x8, _rOFDM0_RxDetector3@GOTPAGEOFF] Lloh34: ldr w1, [x8] ldr w2, [x19, #8] mov x0, x20 bl _write_nic_byte str xzr, [x21, _dm_check_fsync.reg_c38_State@PAGEOFF] LBB0_34: 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 Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdr Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdr Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdr Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_dm_check_fsync.reg_c38_State,8,3 ; @dm_check_fsync.reg_c38_State .zerofill __DATA,__bss,_dm_check_fsync.reset_cnt,8,3 ; @dm_check_fsync.reset_cnt .comm _COMP_HALDM,4,2 ; @COMP_HALDM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "RSSI %d TimeInterval %d MultipleTimeInterval %d\n" l_.str.1: ; @.str.1 .asciz "RateBitmap 0x%x FirstDiffRateThreshold %d SecondDiffRateThreshold %d\n" .comm _IEEE80211_LINKED,8,3 ; @IEEE80211_LINKED .comm _HT_IOT_ACT_CDD_FSYNC,4,2 ; @HT_IOT_ACT_CDD_FSYNC .comm _rOFDM0_RxDetector3,4,2 ; @rOFDM0_RxDetector3 .comm _RegC38_TH,8,3 ; @RegC38_TH .comm _RegC38_Default,8,3 ; @RegC38_Default .comm _RegC38_Fsync_AP_BCM,8,3 ; @RegC38_Fsync_AP_BCM .comm _RegC38_NonFsync_Other_AP,8,3 ; @RegC38_NonFsync_Other_AP .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_dm.c_dm_check_fsync.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
AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_unique_128_xsl_rr_rr_128_boundedrand_r.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fpu_restore_sigcontext ## -- Begin function fpu_restore_sigcontext .p2align 4, 0x90 _fpu_restore_sigcontext: ## @fpu_restore_sigcontext .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 _current@GOTPCREL(%rip), %rax movq (%rax), %r14 movl $4, %edi movl $4, %esi callq _min movq %r14, %rdi movq %rbx, %rsi movl %eax, %edx callq _copy_from_user movl %eax, %ebx testl %eax, %eax jne LBB0_2 ## %bb.1: movq %r14, %rdi callq _set_using_fpu LBB0_2: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _current,8,3 ## @current .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fpu_restore_sigcontext ; -- Begin function fpu_restore_sigcontext .p2align 2 _fpu_restore_sigcontext: ; @fpu_restore_sigcontext .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 Lloh0: adrp x8, _current@GOTPAGE Lloh1: ldr x8, [x8, _current@GOTPAGEOFF] Lloh2: ldr x19, [x8] mov w0, #4 mov w1, #4 bl _min mov x2, x0 mov x0, x19 mov x1, x20 bl _copy_from_user mov x20, x0 cbnz w0, LBB0_2 ; %bb.1: mov x0, x19 bl _set_using_fpu LBB0_2: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _current,8,3 ; @current .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/mn10300/kernel/extr_fpu.c_fpu_restore_sigcontext.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cs47l85_set_fll _cs47l85_set_fll: ## @cs47l85_set_fll .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 %r8d, %r14d movl %ecx, %r15d movl %edx, %r12d movl %esi, %ebx callq _snd_soc_component_get_drvdata addl $-128, %ebx cmpl $5, %ebx ja LBB0_10 ## %bb.1: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rbx,4), %rdx addq %rcx, %rdx jmpq *%rdx LBB0_9: movq (%rax), %rdi addq $8, %rdi jmp LBB0_7 LBB0_10: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq (%rax), %rdi addq $8, %rdi jmp LBB0_3 LBB0_8: movq (%rax), %rdi addq $4, %rdi jmp LBB0_7 LBB0_4: movq (%rax), %rdi addq $4, %rdi jmp LBB0_3 LBB0_6: movq (%rax), %rdi LBB0_7: movl %r12d, %esi movl %r15d, %edx movl %r14d, %ecx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _madera_set_fll_syncclk ## TAILCALL LBB0_2: movq (%rax), %rdi LBB0_3: movl %r12d, %esi movl %r15d, %edx movl %r14d, %ecx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _madera_set_fll_refclk ## TAILCALL .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 LJTI0_0: .long L0_0_set_9 .long L0_0_set_5 .long L0_0_set_8 .long L0_0_set_4 .long L0_0_set_6 .long L0_0_set_2 .end_data_region ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _cs47l85_set_fll .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cs47l85_set_fll _cs47l85_set_fll: ; @cs47l85_set_fll .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x4 mov x20, x3 mov x21, x2 mov x22, x1 bl _snd_soc_component_get_drvdata sub w8, w22, #128 cmp w8, #5 b.hi LBB0_3 ; %bb.1: Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: ldr x8, [x0] add x0, x8, #8 b LBB0_8 LBB0_3: Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_4: ldr x8, [x0] add x0, x8, #8 b LBB0_10 LBB0_5: ldr x8, [x0] add x0, x8, #4 b LBB0_8 LBB0_6: ldr x8, [x0] add x0, x8, #4 b LBB0_10 LBB0_7: ldr x0, [x0] LBB0_8: mov x1, x21 mov x2, x20 mov x3, 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 _madera_set_fll_syncclk LBB0_9: ldr x0, [x0] LBB0_10: mov x1, x21 mov x2, x20 mov x3, 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 _madera_set_fll_refclk .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 .byte (LBB0_9-LBB0_2)>>2 ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _cs47l85_set_fll .subsections_via_symbols
AnghaBench/linux/sound/soc/codecs/extr_cs47l85.c_cs47l85_set_fll.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lo_measure_feedthrough _lo_measure_feedthrough: ## @lo_measure_feedthrough .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, %ebx movq %rdi, %r14 cmpq $0, 16(%rdi) je LBB0_5 ## %bb.1: movl %ecx, %r15d movl %esi, %r12d movq _B43_PHY_RFOVERVAL_LNA_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl shll %cl, %r12d movq _B43_PHY_RFOVERVAL_PGA_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl shll %cl, %ebx movq _B43_PHY_RFOVERVAL_LNA@GOTPCREL(%rip), %rax movl (%rax), %edi notl %edi andl %r12d, %edi callq _B43_WARN_ON movq _B43_PHY_RFOVERVAL_PGA@GOTPCREL(%rip), %rax movl (%rax), %edi notl %edi andl %ebx, %edi callq _B43_WARN_ON movq _B43_PHY_RFOVERVAL_TRSWRX@GOTPCREL(%rip), %rax movq _B43_PHY_RFOVERVAL_BW@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movq _B43_PHY_RFOVERVAL_UNK@GOTPCREL(%rip), %rax orl %r12d, %ebx orl (%rax), %ebx andl %r15d, %ecx orl %ecx, %ebx movq (%r14), %rax movq (%rax), %rax movq _B43_BFL_EXTLNA@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %ecx, (%rax) je LBB0_4 ## %bb.2: cmpl $7, 8(%r14) jl LBB0_4 ## %bb.3: movq _B43_PHY_RFOVERVAL_EXTLNA@GOTPCREL(%rip), %rax orl (%rax), %ebx LBB0_4: movq _B43_PHY_PGACTL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi movl $58112, %edx ## imm = 0xE300 callq _b43_phy_write movq _B43_PHY_RFOVERVAL@GOTPCREL(%rip), %r15 movl (%r15), %esi movq %r14, %rdi movl %ebx, %edx callq _b43_phy_write movl $10, %edi callq _udelay movq _B43_PHY_RFOVERVAL_BW_LBW@GOTPCREL(%rip), %rax orl (%rax), %ebx movl (%r15), %esi movq %r14, %rdi movl %ebx, %edx callq _b43_phy_write movl $10, %edi callq _udelay movq _B43_PHY_RFOVERVAL_BW_LPF@GOTPCREL(%rip), %rax orl (%rax), %ebx movl (%r15), %esi movq %r14, %rdi movl %ebx, %edx callq _b43_phy_write movl $10, %edi callq _udelay movl $62208, %ebx ## imm = 0xF300 jmp LBB0_6 LBB0_5: movq _B43_PHY_PGACTL_UNKNOWN@GOTPCREL(%rip), %rax orl (%rax), %ebx movq _B43_PHY_PGACTL@GOTPCREL(%rip), %r15 movl (%r15), %esi movq %r14, %rdi movl %ebx, %edx callq _b43_phy_write movl $10, %edi callq _udelay movq _B43_PHY_PGACTL_LOWBANDW@GOTPCREL(%rip), %rax orl (%rax), %ebx movl (%r15), %esi movq %r14, %rdi movl %ebx, %edx callq _b43_phy_write movl $10, %edi callq _udelay movq _B43_PHY_PGACTL_LPF@GOTPCREL(%rip), %rax orl (%rax), %ebx LBB0_6: movq _B43_PHY_PGACTL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi movl %ebx, %edx callq _b43_phy_write movl $21, %edi callq _udelay movq _B43_PHY_LO_LEAKAGE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _b43_phy_read movl %eax, %ebx xorl %eax, %eax callq _cond_resched movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _B43_PHY_RFOVERVAL_LNA_SHIFT,4,2 ## @B43_PHY_RFOVERVAL_LNA_SHIFT .comm _B43_PHY_RFOVERVAL_PGA_SHIFT,4,2 ## @B43_PHY_RFOVERVAL_PGA_SHIFT .comm _B43_PHY_RFOVERVAL_LNA,4,2 ## @B43_PHY_RFOVERVAL_LNA .comm _B43_PHY_RFOVERVAL_PGA,4,2 ## @B43_PHY_RFOVERVAL_PGA .comm _B43_PHY_RFOVERVAL_TRSWRX,4,2 ## @B43_PHY_RFOVERVAL_TRSWRX .comm _B43_PHY_RFOVERVAL_BW,4,2 ## @B43_PHY_RFOVERVAL_BW .comm _B43_PHY_RFOVERVAL_UNK,4,2 ## @B43_PHY_RFOVERVAL_UNK .comm _B43_BFL_EXTLNA,4,2 ## @B43_BFL_EXTLNA .comm _B43_PHY_RFOVERVAL_EXTLNA,4,2 ## @B43_PHY_RFOVERVAL_EXTLNA .comm _B43_PHY_PGACTL,4,2 ## @B43_PHY_PGACTL .comm _B43_PHY_RFOVERVAL,4,2 ## @B43_PHY_RFOVERVAL .comm _B43_PHY_RFOVERVAL_BW_LBW,4,2 ## @B43_PHY_RFOVERVAL_BW_LBW .comm _B43_PHY_RFOVERVAL_BW_LPF,4,2 ## @B43_PHY_RFOVERVAL_BW_LPF .comm _B43_PHY_PGACTL_UNKNOWN,4,2 ## @B43_PHY_PGACTL_UNKNOWN .comm _B43_PHY_PGACTL_LOWBANDW,4,2 ## @B43_PHY_PGACTL_LOWBANDW .comm _B43_PHY_PGACTL_LPF,4,2 ## @B43_PHY_PGACTL_LPF .comm _B43_PHY_LO_LEAKAGE,4,2 ## @B43_PHY_LO_LEAKAGE .no_dead_strip _lo_measure_feedthrough .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lo_measure_feedthrough _lo_measure_feedthrough: ; @lo_measure_feedthrough .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x8, [x0, #16] Lloh0: adrp x21, _B43_PHY_PGACTL@GOTPAGE Lloh1: ldr x21, [x21, _B43_PHY_PGACTL@GOTPAGEOFF] cbz x8, LBB0_5 ; %bb.1: mov x20, x3 Lloh2: adrp x8, _B43_PHY_RFOVERVAL_LNA_SHIFT@GOTPAGE Lloh3: ldr x8, [x8, _B43_PHY_RFOVERVAL_LNA_SHIFT@GOTPAGEOFF] Lloh4: ldr w8, [x8] lsl w22, w1, w8 Lloh5: adrp x8, _B43_PHY_RFOVERVAL_PGA_SHIFT@GOTPAGE Lloh6: ldr x8, [x8, _B43_PHY_RFOVERVAL_PGA_SHIFT@GOTPAGEOFF] Lloh7: ldr w8, [x8] lsl w23, w2, w8 Lloh8: adrp x8, _B43_PHY_RFOVERVAL_LNA@GOTPAGE Lloh9: ldr x8, [x8, _B43_PHY_RFOVERVAL_LNA@GOTPAGEOFF] Lloh10: ldr w8, [x8] bic w0, w22, w8 bl _B43_WARN_ON Lloh11: adrp x8, _B43_PHY_RFOVERVAL_PGA@GOTPAGE Lloh12: ldr x8, [x8, _B43_PHY_RFOVERVAL_PGA@GOTPAGEOFF] Lloh13: ldr w8, [x8] bic w0, w23, w8 bl _B43_WARN_ON Lloh14: adrp x8, _B43_PHY_RFOVERVAL_TRSWRX@GOTPAGE Lloh15: ldr x8, [x8, _B43_PHY_RFOVERVAL_TRSWRX@GOTPAGEOFF] Lloh16: ldr w8, [x8] Lloh17: adrp x9, _B43_PHY_RFOVERVAL_BW@GOTPAGE Lloh18: ldr x9, [x9, _B43_PHY_RFOVERVAL_BW@GOTPAGEOFF] Lloh19: ldr w9, [x9] orr w8, w9, w8 Lloh20: adrp x9, _B43_PHY_RFOVERVAL_UNK@GOTPAGE Lloh21: ldr x9, [x9, _B43_PHY_RFOVERVAL_UNK@GOTPAGEOFF] and w8, w8, w20 Lloh22: ldr w9, [x9] orr w10, w23, w22 orr w9, w10, w9 orr w20, w9, w8 ldr x8, [x19] ldr x8, [x8] ldr w8, [x8] Lloh23: adrp x9, _B43_BFL_EXTLNA@GOTPAGE Lloh24: ldr x9, [x9, _B43_BFL_EXTLNA@GOTPAGEOFF] Lloh25: ldr w9, [x9] tst w9, w8 b.eq LBB0_4 ; %bb.2: ldr w8, [x19, #8] cmp w8, #7 b.lt LBB0_4 ; %bb.3: Lloh26: adrp x8, _B43_PHY_RFOVERVAL_EXTLNA@GOTPAGE Lloh27: ldr x8, [x8, _B43_PHY_RFOVERVAL_EXTLNA@GOTPAGEOFF] Lloh28: ldr w8, [x8] orr w20, w8, w20 LBB0_4: ldr w1, [x21] mov x0, x19 mov w2, #58112 bl _b43_phy_write Lloh29: adrp x22, _B43_PHY_RFOVERVAL@GOTPAGE Lloh30: ldr x22, [x22, _B43_PHY_RFOVERVAL@GOTPAGEOFF] ldr w1, [x22] mov x0, x19 mov x2, x20 bl _b43_phy_write mov w0, #10 bl _udelay Lloh31: adrp x8, _B43_PHY_RFOVERVAL_BW_LBW@GOTPAGE Lloh32: ldr x8, [x8, _B43_PHY_RFOVERVAL_BW_LBW@GOTPAGEOFF] Lloh33: ldr w8, [x8] orr w20, w8, w20 ldr w1, [x22] mov x0, x19 mov x2, x20 bl _b43_phy_write mov w0, #10 bl _udelay Lloh34: adrp x8, _B43_PHY_RFOVERVAL_BW_LPF@GOTPAGE Lloh35: ldr x8, [x8, _B43_PHY_RFOVERVAL_BW_LPF@GOTPAGEOFF] Lloh36: ldr w8, [x8] orr w2, w8, w20 ldr w1, [x22] mov x0, x19 bl _b43_phy_write mov w0, #10 bl _udelay mov w2, #62208 b LBB0_6 LBB0_5: Lloh37: adrp x8, _B43_PHY_PGACTL_UNKNOWN@GOTPAGE Lloh38: ldr x8, [x8, _B43_PHY_PGACTL_UNKNOWN@GOTPAGEOFF] Lloh39: ldr w8, [x8] orr w20, w8, w2 ldr w1, [x21] mov x0, x19 mov x2, x20 bl _b43_phy_write mov w0, #10 bl _udelay Lloh40: adrp x8, _B43_PHY_PGACTL_LOWBANDW@GOTPAGE Lloh41: ldr x8, [x8, _B43_PHY_PGACTL_LOWBANDW@GOTPAGEOFF] Lloh42: ldr w8, [x8] orr w20, w8, w20 ldr w1, [x21] mov x0, x19 mov x2, x20 bl _b43_phy_write mov w0, #10 bl _udelay Lloh43: adrp x8, _B43_PHY_PGACTL_LPF@GOTPAGE Lloh44: ldr x8, [x8, _B43_PHY_PGACTL_LPF@GOTPAGEOFF] Lloh45: ldr w8, [x8] orr w2, w8, w20 LBB0_6: ldr w1, [x21] mov x0, x19 bl _b43_phy_write mov w0, #21 bl _udelay Lloh46: adrp x8, _B43_PHY_LO_LEAKAGE@GOTPAGE Lloh47: ldr x8, [x8, _B43_PHY_LO_LEAKAGE@GOTPAGEOFF] Lloh48: ldr w1, [x8] mov x0, x19 bl _b43_phy_read mov x19, x0 bl _cond_resched 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 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .cfi_endproc ; -- End function .comm _B43_PHY_RFOVERVAL_LNA_SHIFT,4,2 ; @B43_PHY_RFOVERVAL_LNA_SHIFT .comm _B43_PHY_RFOVERVAL_PGA_SHIFT,4,2 ; @B43_PHY_RFOVERVAL_PGA_SHIFT .comm _B43_PHY_RFOVERVAL_LNA,4,2 ; @B43_PHY_RFOVERVAL_LNA .comm _B43_PHY_RFOVERVAL_PGA,4,2 ; @B43_PHY_RFOVERVAL_PGA .comm _B43_PHY_RFOVERVAL_TRSWRX,4,2 ; @B43_PHY_RFOVERVAL_TRSWRX .comm _B43_PHY_RFOVERVAL_BW,4,2 ; @B43_PHY_RFOVERVAL_BW .comm _B43_PHY_RFOVERVAL_UNK,4,2 ; @B43_PHY_RFOVERVAL_UNK .comm _B43_BFL_EXTLNA,4,2 ; @B43_BFL_EXTLNA .comm _B43_PHY_RFOVERVAL_EXTLNA,4,2 ; @B43_PHY_RFOVERVAL_EXTLNA .comm _B43_PHY_PGACTL,4,2 ; @B43_PHY_PGACTL .comm _B43_PHY_RFOVERVAL,4,2 ; @B43_PHY_RFOVERVAL .comm _B43_PHY_RFOVERVAL_BW_LBW,4,2 ; @B43_PHY_RFOVERVAL_BW_LBW .comm _B43_PHY_RFOVERVAL_BW_LPF,4,2 ; @B43_PHY_RFOVERVAL_BW_LPF .comm _B43_PHY_PGACTL_UNKNOWN,4,2 ; @B43_PHY_PGACTL_UNKNOWN .comm _B43_PHY_PGACTL_LOWBANDW,4,2 ; @B43_PHY_PGACTL_LOWBANDW .comm _B43_PHY_PGACTL_LPF,4,2 ; @B43_PHY_PGACTL_LPF .comm _B43_PHY_LO_LEAKAGE,4,2 ; @B43_PHY_LO_LEAKAGE .no_dead_strip _lo_measure_feedthrough .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_lo.c_lo_measure_feedthrough.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ath10k_htt_tx_free_cont_txbuf_32 _ath10k_htt_tx_free_cont_txbuf_32: ## @ath10k_htt_tx_free_cont_txbuf_32 .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 8(%rdi), %rdx testq %rdx, %rdx je LBB0_2 ## %bb.1: movq %rdi, %rbx movq 24(%rdi), %rax movq (%rdi), %rsi movl (%rax), %edi movl 16(%rbx), %ecx callq _dma_free_coherent movq $0, 8(%rbx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ath10k_htt_tx_free_cont_txbuf_32 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ath10k_htt_tx_free_cont_txbuf_32 _ath10k_htt_tx_free_cont_txbuf_32: ; @ath10k_htt_tx_free_cont_txbuf_32 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x2, [x0, #8] cbz x2, LBB0_2 ; %bb.1: mov x19, x0 ldr x8, [x0, #24] ldr x1, [x0] ldr w0, [x8] ldr w3, [x19, #16] bl _dma_free_coherent str xzr, [x19, #8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _ath10k_htt_tx_free_cont_txbuf_32 .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_htt_tx.c_ath10k_htt_tx_free_cont_txbuf_32.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function host_copy_special_port _host_copy_special_port: ## @host_copy_special_port .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 _ipc_port_copy_send ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _host_copy_special_port .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function host_copy_special_port _host_copy_special_port: ; @host_copy_special_port .cfi_startproc ; %bb.0: b _ipc_port_copy_send .cfi_endproc ; -- End function .no_dead_strip _host_copy_special_port .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/nfs/extr_nfs_gss.c_host_copy_special_port.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/31387463.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _screen_CloseCapture ## -- Begin function screen_CloseCapture .p2align 4, 0x90 _screen_CloseCapture: ## @screen_CloseCapture .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), %rax movq (%rax), %rbx movq 16(%rbx), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.1: callq _block_Release LBB0_2: movq 8(%rbx), %rsi testq %rsi, %rsi je LBB0_4 ## %bb.3: movl 4(%rbx), %edi callq _SelectObject LBB0_4: movl 4(%rbx), %edi callq _DeleteDC movl (%rbx), %esi xorl %edi, %edi callq _ReleaseDC movq %rbx, %rdi callq _free movq _VLC_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _screen_CloseCapture ; -- Begin function screen_CloseCapture .p2align 2 _screen_CloseCapture: ; @screen_CloseCapture .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0] ldr x19, [x8] ldr x0, [x19, #16] cbz x0, LBB0_2 ; %bb.1: bl _block_Release LBB0_2: ldr x1, [x19, #8] cbz x1, LBB0_4 ; %bb.3: ldr w0, [x19, #4] bl _SelectObject LBB0_4: ldr w0, [x19, #4] bl _DeleteDC ldr w1, [x19] mov w0, #0 bl _ReleaseDC mov x0, x19 bl _free Lloh0: adrp x8, _VLC_SUCCESS@GOTPAGE Lloh1: ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS .subsections_via_symbols
AnghaBench/vlc/modules/access/screen/extr_win32.c_screen_CloseCapture.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ahd_execute_scb _ahd_execute_scb: ## @ahd_execute_scb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r13d movq %rdi, %r12 movq 40(%rdi), %r14 movq 48(%rdi), %r15 testl %ecx, %ecx je LBB0_7 ## %bb.1: movq _EFBIG@GOTPCREL(%rip), %rax cmpl %ecx, (%rax) jne LBB0_2 ## %bb.3: movq _CAM_REQ_TOO_BIG@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_7: movq $0, 32(%r12) testl %r13d, %r13d je LBB0_20 ## %bb.8: jle LBB0_11 ## %bb.9: movq %rsi, %rbx movq 24(%r12), %rax addq $4, %rbx incl %r13d .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movl -4(%rbx), %r8d movl (%rbx), %ecx xorl %r9d, %r9d cmpl $2, %r13d sete %r9b movq %r14, %rdi movq %r12, %rsi movq %rax, %rdx callq _ahd_sg_setup addq $8, %rbx decl %r13d cmpl $1, %r13d ja LBB0_10 LBB0_11: movq _CAM_DIR_MASK@GOTPCREL(%rip), %rbx movl (%rbx), %eax andl (%r15), %eax movq _CAM_DIR_IN@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_12 ## %bb.13: movq _BUS_DMASYNC_PREREAD@GOTPCREL(%rip), %rax jmp LBB0_14 LBB0_2: movq _CAM_REQ_CMP_ERR@GOTPCREL(%rip), %rax LBB0_4: movl (%rax), %esi movq %r12, %rdi callq _aic_set_transaction_status testl %r13d, %r13d jne LBB0_5 jmp LBB0_6 LBB0_20: movq %r12, %rdi callq _aic_get_transaction_status movq _CAM_REQ_INPROG@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_21 jmp LBB0_6 LBB0_12: movq _BUS_DMASYNC_PREWRITE@GOTPCREL(%rip), %rax LBB0_14: movl (%rax), %edx movl 12(%r14), %edi movl 16(%r12), %esi callq _bus_dmamap_sync movq 8(%r15), %rax movq _XPT_CONT_TARGET_IO@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_19 ## %bb.15: movq 8(%r12), %rax movq _DPHASE_PENDING@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl %ecx, 20(%rax) movl (%rbx), %ecx andl (%r15), %ecx movq _CAM_DIR_OUT@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB0_16 ## %bb.17: movq _P_DATAOUT@GOTPCREL(%rip), %rcx jmp LBB0_18 LBB0_16: movq _P_DATAIN@GOTPCREL(%rip), %rcx LBB0_18: movl (%rcx), %ecx movl %ecx, 16(%rax) LBB0_19: movq %r12, %rdi callq _aic_get_transaction_status movq _CAM_REQ_INPROG@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_5 LBB0_21: movq 8(%r12), %rax movl 12(%rax), %esi movq %r14, %rdi callq _SCSIID_CHANNEL movl %eax, %r13d movq 8(%r12), %rax movl 12(%rax), %edi callq _SCSIID_OUR_ID movl %eax, %ebx movq 8(%r12), %rax movl 12(%rax), %esi movq %r14, %rdi callq _SCSIID_TARGET leaq -48(%rbp), %r8 movq %r14, %rdi movl %r13d, %esi movl %ebx, %edx movl %eax, %ecx callq _ahd_fetch_transinfo movq %rax, %rbx movq %r14, %rdi movq %r12, %rsi callq _SCB_GET_TARGET_MASK movq -48(%rbp), %rcx testl %eax, (%rcx) je LBB0_24 ## %bb.22: movq _CAM_DIS_DISCONNECT@GOTPCREL(%rip), %rdx movl (%rdx), %edx testl %edx, (%r15) jne LBB0_24 ## %bb.23: movq _DISCENB@GOTPCREL(%rip), %rdx movl (%rdx), %edx movq 8(%r12), %rsi orl %edx, 8(%rsi) LBB0_24: movq _MSG_EXT_PPR_IU_REQ@GOTPCREL(%rip), %rdx movl (%rdx), %edx testl %edx, 24(%rbx) je LBB0_27 ## %bb.25: movq _SCB_PACKETIZED@GOTPCREL(%rip), %rdx movl (%rdx), %edx orl %edx, (%r12) movq 8(%r12), %rdx cmpq $0, (%rdx) je LBB0_27 ## %bb.26: movq _MK_MESSAGE@GOTPCREL(%rip), %rsi movl (%rsi), %esi notl %esi andl %esi, 8(%rdx) LBB0_27: movq _CAM_NEGOTIATE@GOTPCREL(%rip), %rdx movl (%rdx), %edx testl %edx, (%r15) je LBB0_31 ## %bb.28: movq _SCB_NEGOTIATE@GOTPCREL(%rip), %rdx cmpq $0, (%rbx) jne LBB0_33 ## %bb.29: cmpq $0, 8(%rbx) jne LBB0_33 ## %bb.30: cmpq $0, 16(%rbx) jne LBB0_33 LBB0_31: testl %eax, 4(%rcx) je LBB0_34 ## %bb.32: movq _SCB_AUTO_NEGOTIATE@GOTPCREL(%rip), %rdx LBB0_33: movl (%rdx), %eax orl %eax, (%r12) movq _MK_MESSAGE@GOTPCREL(%rip), %rax movl (%rax), %eax movq 8(%r12), %rcx orl %eax, 8(%rcx) LBB0_34: leaq 8(%r14), %rdi movq _pending_links@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rsi callq _LIST_INSERT_HEAD movq _CAM_SIM_QUEUED@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 16(%r15) movq %r12, %rdi callq _aic_scb_timer_start movq _SCB_TARGET_IMMEDIATE@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r12) je LBB0_36 ## %bb.35: movq (%r14), %rbx movq %r12, %rdi callq _SCB_GET_TAG movq %r12, (%rbx,%rax,8) movq %r14, %rdi callq _ahd_pause movq %r12, %rdi callq _SCB_GET_TAG movq %r14, %rdi movq %rax, %rsi callq _ahd_set_scbptr movq _RETURN_1@GOTPCREL(%rip), %rax movl (%rax), %esi movq _CONT_MSG_LOOP_TARG@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi callq _ahd_outb movq %r14, %rdi callq _ahd_unpause jmp LBB0_37 LBB0_5: movl 12(%r14), %edi movl 16(%r12), %esi callq _bus_dmamap_unload LBB0_6: movq %r14, %rdi movq %r12, %rsi callq _ahd_free_scb movq %r15, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _xpt_done ## TAILCALL LBB0_36: movq %r14, %rdi movq %r12, %rsi callq _ahd_queue_scb LBB0_37: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EFBIG,4,2 ## @EFBIG .comm _CAM_REQ_TOO_BIG,4,2 ## @CAM_REQ_TOO_BIG .comm _CAM_REQ_CMP_ERR,4,2 ## @CAM_REQ_CMP_ERR .comm _CAM_DIR_MASK,4,2 ## @CAM_DIR_MASK .comm _CAM_DIR_IN,4,2 ## @CAM_DIR_IN .comm _BUS_DMASYNC_PREREAD,4,2 ## @BUS_DMASYNC_PREREAD .comm _BUS_DMASYNC_PREWRITE,4,2 ## @BUS_DMASYNC_PREWRITE .comm _XPT_CONT_TARGET_IO,8,3 ## @XPT_CONT_TARGET_IO .comm _DPHASE_PENDING,4,2 ## @DPHASE_PENDING .comm _CAM_DIR_OUT,4,2 ## @CAM_DIR_OUT .comm _P_DATAOUT,4,2 ## @P_DATAOUT .comm _P_DATAIN,4,2 ## @P_DATAIN .comm _CAM_REQ_INPROG,8,3 ## @CAM_REQ_INPROG .comm _CAM_DIS_DISCONNECT,4,2 ## @CAM_DIS_DISCONNECT .comm _DISCENB,4,2 ## @DISCENB .comm _MSG_EXT_PPR_IU_REQ,4,2 ## @MSG_EXT_PPR_IU_REQ .comm _SCB_PACKETIZED,4,2 ## @SCB_PACKETIZED .comm _MK_MESSAGE,4,2 ## @MK_MESSAGE .comm _CAM_NEGOTIATE,4,2 ## @CAM_NEGOTIATE .comm _SCB_NEGOTIATE,4,2 ## @SCB_NEGOTIATE .comm _SCB_AUTO_NEGOTIATE,4,2 ## @SCB_AUTO_NEGOTIATE .comm _pending_links,4,2 ## @pending_links .comm _CAM_SIM_QUEUED,4,2 ## @CAM_SIM_QUEUED .comm _SCB_TARGET_IMMEDIATE,4,2 ## @SCB_TARGET_IMMEDIATE .comm _RETURN_1,4,2 ## @RETURN_1 .comm _CONT_MSG_LOOP_TARG,4,2 ## @CONT_MSG_LOOP_TARG .no_dead_strip _ahd_execute_scb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ahd_execute_scb _ahd_execute_scb: ; @ahd_execute_scb .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x22, x2 mov x20, x0 ldp x19, x21, [x0, #40] cbz w3, LBB0_2 ; %bb.1: Lloh0: adrp x8, _EFBIG@GOTPAGE Lloh1: ldr x8, [x8, _EFBIG@GOTPAGEOFF] Lloh2: adrp x9, _CAM_REQ_TOO_BIG@GOTPAGE Lloh3: ldr x9, [x9, _CAM_REQ_TOO_BIG@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: adrp x10, _CAM_REQ_CMP_ERR@GOTPAGE Lloh6: ldr x10, [x10, _CAM_REQ_CMP_ERR@GOTPAGEOFF] cmp w8, w3 csel x8, x9, x10, eq ldr w1, [x8] mov x0, x20 bl _aic_set_transaction_status cbnz w22, LBB0_9 b LBB0_10 LBB0_2: str xzr, [x20, #32] cbz w22, LBB0_11 ; %bb.3: cmp w22, #1 b.lt LBB0_6 ; %bb.4: ldr x2, [x20, #24] add x23, x1, #4 add w22, w22, #1 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldp w4, w3, [x23, #-4] cmp w22, #2 cset w5, eq mov x0, x19 mov x1, x20 bl _ahd_sg_setup mov x2, x0 add x23, x23, #8 sub w22, w22, #1 cmp w22, #1 b.hi LBB0_5 LBB0_6: ldr w8, [x21] Lloh7: adrp x22, _CAM_DIR_MASK@GOTPAGE Lloh8: ldr x22, [x22, _CAM_DIR_MASK@GOTPAGEOFF] ldr w9, [x22] and w8, w9, w8 Lloh9: adrp x9, _CAM_DIR_IN@GOTPAGE Lloh10: ldr x9, [x9, _CAM_DIR_IN@GOTPAGEOFF] Lloh11: adrp x10, _BUS_DMASYNC_PREREAD@GOTPAGE Lloh12: ldr x10, [x10, _BUS_DMASYNC_PREREAD@GOTPAGEOFF] Lloh13: adrp x11, _BUS_DMASYNC_PREWRITE@GOTPAGE Lloh14: ldr x11, [x11, _BUS_DMASYNC_PREWRITE@GOTPAGEOFF] Lloh15: ldr w9, [x9] cmp w8, w9 csel x8, x10, x11, eq ldr w2, [x8] ldr w0, [x19, #12] ldr w1, [x20, #16] bl _bus_dmamap_sync ldr x8, [x21, #8] Lloh16: adrp x9, _XPT_CONT_TARGET_IO@GOTPAGE Lloh17: ldr x9, [x9, _XPT_CONT_TARGET_IO@GOTPAGEOFF] Lloh18: ldr x9, [x9] cmp x8, x9 b.ne LBB0_8 ; %bb.7: ldr x8, [x20, #8] Lloh19: adrp x9, _DPHASE_PENDING@GOTPAGE Lloh20: ldr x9, [x9, _DPHASE_PENDING@GOTPAGEOFF] Lloh21: ldr w9, [x9] ldr w10, [x8, #20] orr w9, w10, w9 str w9, [x8, #20] ldr w9, [x21] ldr w10, [x22] and w9, w10, w9 Lloh22: adrp x10, _CAM_DIR_OUT@GOTPAGE Lloh23: ldr x10, [x10, _CAM_DIR_OUT@GOTPAGEOFF] Lloh24: ldr w10, [x10] Lloh25: adrp x11, _P_DATAOUT@GOTPAGE Lloh26: ldr x11, [x11, _P_DATAOUT@GOTPAGEOFF] Lloh27: adrp x12, _P_DATAIN@GOTPAGE Lloh28: ldr x12, [x12, _P_DATAIN@GOTPAGEOFF] cmp w9, w10 csel x9, x11, x12, eq ldr w9, [x9] str w9, [x8, #16] LBB0_8: mov x0, x20 bl _aic_get_transaction_status Lloh29: adrp x8, _CAM_REQ_INPROG@GOTPAGE Lloh30: ldr x8, [x8, _CAM_REQ_INPROG@GOTPAGEOFF] Lloh31: ldr x8, [x8] cmp x0, x8 b.eq LBB0_12 LBB0_9: ldr w0, [x19, #12] ldr w1, [x20, #16] bl _bus_dmamap_unload LBB0_10: mov x0, x19 mov x1, x20 bl _ahd_free_scb mov x0, x21 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 b _xpt_done LBB0_11: mov x0, x20 bl _aic_get_transaction_status Lloh32: adrp x8, _CAM_REQ_INPROG@GOTPAGE Lloh33: ldr x8, [x8, _CAM_REQ_INPROG@GOTPAGEOFF] Lloh34: ldr x8, [x8] cmp x0, x8 b.ne LBB0_10 LBB0_12: ldr x8, [x20, #8] ldr w1, [x8, #12] mov x0, x19 bl _SCSIID_CHANNEL mov x22, x0 ldr x8, [x20, #8] ldr w0, [x8, #12] bl _SCSIID_OUR_ID mov x23, x0 ldr x8, [x20, #8] ldr w1, [x8, #12] mov x0, x19 bl _SCSIID_TARGET mov x3, x0 add x4, sp, #8 mov x0, x19 mov x1, x22 mov x2, x23 bl _ahd_fetch_transinfo mov x22, x0 mov x0, x19 mov x1, x20 bl _SCB_GET_TARGET_MASK ldr x9, [sp, #8] ldr w8, [x9] tst w8, w0 b.eq LBB0_15 ; %bb.13: ldr w8, [x21] Lloh35: adrp x10, _CAM_DIS_DISCONNECT@GOTPAGE Lloh36: ldr x10, [x10, _CAM_DIS_DISCONNECT@GOTPAGEOFF] Lloh37: ldr w10, [x10] tst w10, w8 b.ne LBB0_15 ; %bb.14: Lloh38: adrp x8, _DISCENB@GOTPAGE Lloh39: ldr x8, [x8, _DISCENB@GOTPAGEOFF] Lloh40: ldr w8, [x8] ldr x10, [x20, #8] ldr w11, [x10, #8] orr w8, w11, w8 str w8, [x10, #8] LBB0_15: ldr w10, [x22, #24] Lloh41: adrp x8, _MSG_EXT_PPR_IU_REQ@GOTPAGE Lloh42: ldr x8, [x8, _MSG_EXT_PPR_IU_REQ@GOTPAGEOFF] Lloh43: ldr w11, [x8] Lloh44: adrp x8, _MK_MESSAGE@GOTPAGE Lloh45: ldr x8, [x8, _MK_MESSAGE@GOTPAGEOFF] tst w11, w10 b.eq LBB0_18 ; %bb.16: Lloh46: adrp x10, _SCB_PACKETIZED@GOTPAGE Lloh47: ldr x10, [x10, _SCB_PACKETIZED@GOTPAGEOFF] Lloh48: ldr w10, [x10] ldr w11, [x20] orr w10, w11, w10 str w10, [x20] ldr x10, [x20, #8] ldr x11, [x10] cbz x11, LBB0_18 ; %bb.17: ldr w11, [x8] ldr w12, [x10, #8] bic w11, w12, w11 str w11, [x10, #8] LBB0_18: ldr w10, [x21] Lloh49: adrp x11, _CAM_NEGOTIATE@GOTPAGE Lloh50: ldr x11, [x11, _CAM_NEGOTIATE@GOTPAGEOFF] Lloh51: ldr w11, [x11] tst w11, w10 b.eq LBB0_23 ; %bb.19: ldr x10, [x22] cbnz x10, LBB0_22 ; %bb.20: ldr x10, [x22, #8] cbnz x10, LBB0_22 ; %bb.21: ldr x10, [x22, #16] cbz x10, LBB0_23 LBB0_22: Lloh52: adrp x9, _SCB_NEGOTIATE@GOTPAGE Lloh53: ldr x9, [x9, _SCB_NEGOTIATE@GOTPAGEOFF] b LBB0_25 LBB0_23: ldr w9, [x9, #4] tst w9, w0 b.eq LBB0_26 ; %bb.24: Lloh54: adrp x9, _SCB_AUTO_NEGOTIATE@GOTPAGE Lloh55: ldr x9, [x9, _SCB_AUTO_NEGOTIATE@GOTPAGEOFF] LBB0_25: ldr w9, [x9] ldr w10, [x20] orr w9, w10, w9 str w9, [x20] ldr w8, [x8] ldr x9, [x20, #8] ldr w10, [x9, #8] orr w8, w10, w8 str w8, [x9, #8] LBB0_26: add x0, x19, #8 Lloh56: adrp x8, _pending_links@GOTPAGE Lloh57: ldr x8, [x8, _pending_links@GOTPAGEOFF] Lloh58: ldr w2, [x8] mov x1, x20 bl _LIST_INSERT_HEAD Lloh59: adrp x8, _CAM_SIM_QUEUED@GOTPAGE Lloh60: ldr x8, [x8, _CAM_SIM_QUEUED@GOTPAGEOFF] Lloh61: ldr w8, [x8] ldr w9, [x21, #16] orr w8, w9, w8 str w8, [x21, #16] mov x0, x20 bl _aic_scb_timer_start ldr w8, [x20] Lloh62: adrp x9, _SCB_TARGET_IMMEDIATE@GOTPAGE Lloh63: ldr x9, [x9, _SCB_TARGET_IMMEDIATE@GOTPAGEOFF] Lloh64: ldr w9, [x9] tst w9, w8 b.eq LBB0_28 ; %bb.27: ldr x21, [x19] mov x0, x20 bl _SCB_GET_TAG str x20, [x21, x0, lsl #3] mov x0, x19 bl _ahd_pause mov x0, x20 bl _SCB_GET_TAG mov x1, x0 mov x0, x19 bl _ahd_set_scbptr Lloh65: adrp x8, _RETURN_1@GOTPAGE Lloh66: ldr x8, [x8, _RETURN_1@GOTPAGEOFF] Lloh67: ldr w1, [x8] Lloh68: adrp x8, _CONT_MSG_LOOP_TARG@GOTPAGE Lloh69: ldr x8, [x8, _CONT_MSG_LOOP_TARG@GOTPAGEOFF] Lloh70: ldr w2, [x8] mov x0, x19 bl _ahd_outb mov x0, x19 bl _ahd_unpause b LBB0_29 LBB0_28: mov x0, x19 mov x1, x20 bl _ahd_queue_scb LBB0_29: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh15 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh27, Lloh28 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGot Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpLdrGot Lloh52, Lloh53 .loh AdrpLdrGot Lloh54, Lloh55 .loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64 .loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61 .loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58 .loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70 .loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67 .cfi_endproc ; -- End function .comm _EFBIG,4,2 ; @EFBIG .comm _CAM_REQ_TOO_BIG,4,2 ; @CAM_REQ_TOO_BIG .comm _CAM_REQ_CMP_ERR,4,2 ; @CAM_REQ_CMP_ERR .comm _CAM_DIR_MASK,4,2 ; @CAM_DIR_MASK .comm _CAM_DIR_IN,4,2 ; @CAM_DIR_IN .comm _BUS_DMASYNC_PREREAD,4,2 ; @BUS_DMASYNC_PREREAD .comm _BUS_DMASYNC_PREWRITE,4,2 ; @BUS_DMASYNC_PREWRITE .comm _XPT_CONT_TARGET_IO,8,3 ; @XPT_CONT_TARGET_IO .comm _DPHASE_PENDING,4,2 ; @DPHASE_PENDING .comm _CAM_DIR_OUT,4,2 ; @CAM_DIR_OUT .comm _P_DATAOUT,4,2 ; @P_DATAOUT .comm _P_DATAIN,4,2 ; @P_DATAIN .comm _CAM_REQ_INPROG,8,3 ; @CAM_REQ_INPROG .comm _CAM_DIS_DISCONNECT,4,2 ; @CAM_DIS_DISCONNECT .comm _DISCENB,4,2 ; @DISCENB .comm _MSG_EXT_PPR_IU_REQ,4,2 ; @MSG_EXT_PPR_IU_REQ .comm _SCB_PACKETIZED,4,2 ; @SCB_PACKETIZED .comm _MK_MESSAGE,4,2 ; @MK_MESSAGE .comm _CAM_NEGOTIATE,4,2 ; @CAM_NEGOTIATE .comm _SCB_NEGOTIATE,4,2 ; @SCB_NEGOTIATE .comm _SCB_AUTO_NEGOTIATE,4,2 ; @SCB_AUTO_NEGOTIATE .comm _pending_links,4,2 ; @pending_links .comm _CAM_SIM_QUEUED,4,2 ; @CAM_SIM_QUEUED .comm _SCB_TARGET_IMMEDIATE,4,2 ; @SCB_TARGET_IMMEDIATE .comm _RETURN_1,4,2 ; @RETURN_1 .comm _CONT_MSG_LOOP_TARG,4,2 ; @CONT_MSG_LOOP_TARG .no_dead_strip _ahd_execute_scb .subsections_via_symbols
AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_osm.c_ahd_execute_scb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function zend_delete_call_instructions _zend_delete_call_instructions: ## @zend_delete_call_instructions .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 xorl %eax, %eax leaq LJTI0_0(%rip), %r14 movq _IS_CONST@GOTPCREL(%rip), %r15 movq _IS_CV@GOTPCREL(%rip), %r12 movq _ZEND_FREE@GOTPCREL(%rip), %r13 jmp LBB0_1 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 incl %eax addq $-16, %rbx LBB0_1: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %ecx addl $-128, %ecx cmpl $13, %ecx ja LBB0_14 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movslq (%r14,%rcx,4), %rcx addq %r14, %rcx jmpq *%rcx LBB0_3: ## in Loop: Header=BB0_1 Depth=1 testl %eax, %eax je LBB0_15 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 decl %eax addq $-16, %rbx jmp LBB0_1 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 testl %eax, %eax jne LBB0_14 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movl 12(%rbx), %eax cmpl (%r15), %eax jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 movq %rbx, %rdi callq _MAKE_NOP jmp LBB0_13 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 cmpl (%r12), %eax jne LBB0_11 ## %bb.10: ## in Loop: Header=BB0_1 Depth=1 movq _ZEND_CHECK_VAR@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_12 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 movl (%r13), %eax LBB0_12: ## in Loop: Header=BB0_1 Depth=1 movl %eax, (%rbx) movq $0, 4(%rbx) LBB0_13: ## in Loop: Header=BB0_1 Depth=1 xorl %eax, %eax LBB0_14: ## in Loop: Header=BB0_1 Depth=1 addq $-16, %rbx jmp LBB0_1 LBB0_15: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _MAKE_NOP ## TAILCALL .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 LJTI0_0: .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_4 .long L0_0_set_4 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_4 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .long L0_0_set_5 .end_data_region ## -- End function .comm _IS_CONST,4,2 ## @IS_CONST .comm _IS_CV,4,2 ## @IS_CV .comm _ZEND_CHECK_VAR,4,2 ## @ZEND_CHECK_VAR .comm _ZEND_FREE,4,2 ## @ZEND_FREE .no_dead_strip _zend_delete_call_instructions .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function zend_delete_call_instructions _zend_delete_call_instructions: ; @zend_delete_call_instructions .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 mov w8, #0 Lloh0: adrp x20, _IS_CONST@GOTPAGE Lloh1: ldr x20, [x20, _IS_CONST@GOTPAGEOFF] Lloh2: adrp x21, _IS_CV@GOTPAGE Lloh3: ldr x21, [x21, _IS_CV@GOTPAGEOFF] Lloh4: adrp x22, _ZEND_CHECK_VAR@GOTPAGE Lloh5: ldr x22, [x22, _ZEND_CHECK_VAR@GOTPAGEOFF] Lloh6: adrp x23, lJTI0_0@PAGE Lloh7: add x23, x23, lJTI0_0@PAGEOFF Lloh8: adrp x24, _ZEND_FREE@GOTPAGE Lloh9: ldr x24, [x24, _ZEND_FREE@GOTPAGEOFF] b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add w8, w8, #1 sub x19, x19, #16 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w9, [x19] sub w9, w9, #128 cmp w9, #13 b.hi LBB0_13 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 adr x10, LBB0_1 ldrb w11, [x23, x9] add x10, x10, x11, lsl #2 br x10 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 cbz w8, LBB0_14 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 sub w8, w8, #1 sub x19, x19, #16 b LBB0_2 LBB0_6: ; in Loop: Header=BB0_2 Depth=1 cbnz w8, LBB0_13 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x19, #12] ldr w9, [x20] cmp w8, w9 b.ne LBB0_9 ; %bb.8: ; in Loop: Header=BB0_2 Depth=1 mov x0, x19 bl _MAKE_NOP mov w8, #0 sub x19, x19, #16 b LBB0_2 LBB0_9: ; in Loop: Header=BB0_2 Depth=1 ldr w9, [x21] cmp w8, w9 b.ne LBB0_11 ; %bb.10: ; in Loop: Header=BB0_2 Depth=1 mov w8, #0 ldr w9, [x22] b LBB0_12 LBB0_11: ; in Loop: Header=BB0_2 Depth=1 mov w8, #0 ldr w9, [x24] LBB0_12: ; in Loop: Header=BB0_2 Depth=1 stp wzr, wzr, [x19, #4] str w9, [x19] LBB0_13: ; in Loop: Header=BB0_2 Depth=1 sub x19, x19, #16 b LBB0_2 LBB0_14: 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 _MAKE_NOP .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_6-LBB0_1)>>2 .byte (LBB0_6-LBB0_1)>>2 .byte (LBB0_5-LBB0_1)>>2 .byte (LBB0_5-LBB0_1)>>2 .byte (LBB0_4-LBB0_1)>>2 .byte (LBB0_4-LBB0_1)>>2 .byte (LBB0_4-LBB0_1)>>2 .byte (LBB0_4-LBB0_1)>>2 .byte (LBB0_4-LBB0_1)>>2 .byte (LBB0_5-LBB0_1)>>2 .byte (LBB0_1-LBB0_1)>>2 .byte (LBB0_1-LBB0_1)>>2 .byte (LBB0_1-LBB0_1)>>2 .byte (LBB0_1-LBB0_1)>>2 ; -- End function .comm _IS_CONST,4,2 ; @IS_CONST .comm _IS_CV,4,2 ; @IS_CV .comm _ZEND_CHECK_VAR,4,2 ; @ZEND_CHECK_VAR .comm _ZEND_FREE,4,2 ; @ZEND_FREE .no_dead_strip _zend_delete_call_instructions .subsections_via_symbols
AnghaBench/php-src/ext/opcache/Optimizer/extr_optimize_func_calls.c_zend_delete_call_instructions.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _FirstCallSinceLastCheckpoint ## -- Begin function FirstCallSinceLastCheckpoint .p2align 4, 0x90 _FirstCallSinceLastCheckpoint: ## @FirstCallSinceLastCheckpoint .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 _CheckpointerShmem@GOTPCREL(%rip), %rbx movq (%rbx), %rdi addq $4, %rdi callq _SpinLockAcquire movq (%rbx), %rdi movl (%rdi), %ebx addq $4, %rdi callq _SpinLockRelease xorl %eax, %eax cmpl _FirstCallSinceLastCheckpoint.ckpt_done(%rip), %ebx setne %al movl %ebx, _FirstCallSinceLastCheckpoint.ckpt_done(%rip) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_FirstCallSinceLastCheckpoint.ckpt_done,4,2 ## @FirstCallSinceLastCheckpoint.ckpt_done .comm _CheckpointerShmem,8,3 ## @CheckpointerShmem .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _FirstCallSinceLastCheckpoint ; -- Begin function FirstCallSinceLastCheckpoint .p2align 2 _FirstCallSinceLastCheckpoint: ; @FirstCallSinceLastCheckpoint .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, _CheckpointerShmem@GOTPAGE Lloh1: ldr x19, [x19, _CheckpointerShmem@GOTPAGEOFF] ldr x8, [x19] add x0, x8, #4 bl _SpinLockAcquire ldr x0, [x19] ldr w19, [x0], #4 bl _SpinLockRelease adrp x8, _FirstCallSinceLastCheckpoint.ckpt_done@PAGE ldr w9, [x8, _FirstCallSinceLastCheckpoint.ckpt_done@PAGEOFF] cmp w19, w9 cset w0, ne str w19, [x8, _FirstCallSinceLastCheckpoint.ckpt_done@PAGEOFF] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_FirstCallSinceLastCheckpoint.ckpt_done,4,2 ; @FirstCallSinceLastCheckpoint.ckpt_done .comm _CheckpointerShmem,8,3 ; @CheckpointerShmem .subsections_via_symbols
AnghaBench/postgres/src/backend/postmaster/extr_checkpointer.c_FirstCallSinceLastCheckpoint.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ccdc_config_black_compense _ccdc_config_black_compense: ## @ccdc_config_black_compense .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 _CCDC_BLK_COMP_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %edi movl (%rax), %r8d movl 4(%rax), %esi andl %edi, %esi movq _CCDC_BLK_COMP_GB_COMP_SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl shll %cl, %esi andl %edi, %r8d movq _CCDC_BLK_COMP_GR_COMP_SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl movl 8(%rax), %edx andl %edi, %edx shll %cl, %edx orl %r8d, %esi andl 12(%rax), %edi movq _CCDC_BLK_COMP_R_COMP_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl shll %cl, %edi orl %edx, %edi orl %esi, %edi movq _CCDC_BLKCMP@GOTPCREL(%rip), %rax movl (%rax), %esi popq %rbp jmp _regw ## TAILCALL .cfi_endproc ## -- End function .comm _CCDC_BLK_COMP_MASK,4,2 ## @CCDC_BLK_COMP_MASK .comm _CCDC_BLK_COMP_GB_COMP_SHIFT,4,2 ## @CCDC_BLK_COMP_GB_COMP_SHIFT .comm _CCDC_BLK_COMP_GR_COMP_SHIFT,4,2 ## @CCDC_BLK_COMP_GR_COMP_SHIFT .comm _CCDC_BLK_COMP_R_COMP_SHIFT,4,2 ## @CCDC_BLK_COMP_R_COMP_SHIFT .comm _CCDC_BLKCMP,4,2 ## @CCDC_BLKCMP .no_dead_strip _ccdc_config_black_compense .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ccdc_config_black_compense _ccdc_config_black_compense: ; @ccdc_config_black_compense .cfi_startproc ; %bb.0: Lloh0: adrp x8, _CCDC_BLK_COMP_MASK@GOTPAGE Lloh1: ldr x8, [x8, _CCDC_BLK_COMP_MASK@GOTPAGEOFF] Lloh2: ldr w8, [x8] ldp w9, w10, [x0] and w9, w8, w9 and w10, w10, w8 Lloh3: adrp x11, _CCDC_BLK_COMP_GB_COMP_SHIFT@GOTPAGE Lloh4: ldr x11, [x11, _CCDC_BLK_COMP_GB_COMP_SHIFT@GOTPAGEOFF] Lloh5: ldr w11, [x11] lsl w10, w10, w11 orr w9, w10, w9 ldp w10, w11, [x0, #8] and w10, w10, w8 Lloh6: adrp x12, _CCDC_BLK_COMP_GR_COMP_SHIFT@GOTPAGE Lloh7: ldr x12, [x12, _CCDC_BLK_COMP_GR_COMP_SHIFT@GOTPAGEOFF] Lloh8: ldr w12, [x12] lsl w10, w10, w12 orr w9, w9, w10 and w8, w11, w8 Lloh9: adrp x10, _CCDC_BLK_COMP_R_COMP_SHIFT@GOTPAGE Lloh10: ldr x10, [x10, _CCDC_BLK_COMP_R_COMP_SHIFT@GOTPAGEOFF] Lloh11: ldr w10, [x10] lsl w8, w8, w10 orr w0, w9, w8 Lloh12: adrp x8, _CCDC_BLKCMP@GOTPAGE Lloh13: ldr x8, [x8, _CCDC_BLKCMP@GOTPAGEOFF] Lloh14: ldr w1, [x8] b _regw .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CCDC_BLK_COMP_MASK,4,2 ; @CCDC_BLK_COMP_MASK .comm _CCDC_BLK_COMP_GB_COMP_SHIFT,4,2 ; @CCDC_BLK_COMP_GB_COMP_SHIFT .comm _CCDC_BLK_COMP_GR_COMP_SHIFT,4,2 ; @CCDC_BLK_COMP_GR_COMP_SHIFT .comm _CCDC_BLK_COMP_R_COMP_SHIFT,4,2 ; @CCDC_BLK_COMP_R_COMP_SHIFT .comm _CCDC_BLKCMP,4,2 ; @CCDC_BLKCMP .no_dead_strip _ccdc_config_black_compense .subsections_via_symbols
AnghaBench/linux/drivers/media/platform/davinci/extr_dm644x_ccdc.c_ccdc_config_black_compense.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __reuseport_alloc ___reuseport_alloc: ## @__reuseport_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %r14d leal 8(,%r14,8), %edi movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %esi callq _kzalloc movq %rax, %rbx testq %rax, %rax je LBB0_2 ## %bb.1: movl %r14d, (%rbx) movl 4(%rbx), %edi xorl %esi, %esi callq _RCU_INIT_POINTER LBB0_2: movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .no_dead_strip ___reuseport_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __reuseport_alloc ___reuseport_alloc: ; @__reuseport_alloc .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 lsl w8, w0, #3 add w0, w8, #8 Lloh0: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh1: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _kzalloc mov x20, x0 cbz x0, LBB0_2 ; %bb.1: str w19, [x20] ldr w0, [x20, #4] mov x1, #0 bl _RCU_INIT_POINTER LBB0_2: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .no_dead_strip ___reuseport_alloc .subsections_via_symbols
AnghaBench/linux/net/core/extr_sock_reuseport.c___reuseport_alloc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fme_region_probe _fme_region_probe: ## @fme_region_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 callq _dev_get_platdata movq %rax, %r12 movq (%rax), %rdi callq _fpga_mgr_get movq %rax, %r15 movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_2 ## %bb.1: movq _EPROBE_DEFER@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx jmp LBB0_7 LBB0_2: movq _fme_region_get_bridges@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movq %r15, %rsi callq _devm_fpga_region_create testq %rax, %rax je LBB0_3 ## %bb.5: movq %rax, %rbx movq %r12, 8(%rax) movl (%r15), %eax movl %eax, (%rbx) movq %r14, %rdi movq %rbx, %rsi callq _platform_set_drvdata movq %rbx, %rdi callq _fpga_region_register movl %eax, %ebx testl %eax, %eax jne LBB0_4 ## %bb.6: leaq L_.str(%rip), %rsi movq %r14, %rdi callq _dev_dbg xorl %ebx, %ebx jmp LBB0_7 LBB0_3: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_4: movq %r15, %rdi callq _fpga_mgr_put LBB0_7: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EPROBE_DEFER,4,2 ## @EPROBE_DEFER .comm _fme_region_get_bridges,4,2 ## @fme_region_get_bridges .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "DFL FME FPGA Region probed\n" .no_dead_strip _fme_region_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fme_region_probe _fme_region_probe: ; @fme_region_probe .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 bl _dev_get_platdata mov x21, x0 ldr x0, [x0] bl _fpga_mgr_get mov x20, x0 bl _IS_ERR cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _EPROBE_DEFER@GOTPAGE Lloh1: ldr x8, [x8, _EPROBE_DEFER@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w21, w8 b LBB0_7 LBB0_2: Lloh3: adrp x8, _fme_region_get_bridges@GOTPAGE Lloh4: ldr x8, [x8, _fme_region_get_bridges@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov x0, x19 mov x1, x20 bl _devm_fpga_region_create cbz x0, LBB0_5 ; %bb.3: mov x22, x0 str x21, [x0, #8] ldr w8, [x20] str w8, [x0] mov x0, x19 mov x1, x22 bl _platform_set_drvdata mov x0, x22 bl _fpga_region_register mov x21, x0 cbnz w0, LBB0_6 ; %bb.4: Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _dev_dbg b LBB0_7 LBB0_5: Lloh8: adrp x8, _ENOMEM@GOTPAGE Lloh9: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh10: ldr w8, [x8] neg w21, w8 LBB0_6: mov x0, x20 bl _fpga_mgr_put LBB0_7: mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _EPROBE_DEFER,4,2 ; @EPROBE_DEFER .comm _fme_region_get_bridges,4,2 ; @fme_region_get_bridges .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "DFL FME FPGA Region probed\n" .no_dead_strip _fme_region_probe .subsections_via_symbols
AnghaBench/linux/drivers/fpga/extr_dfl-fme-region.c_fme_region_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bnx2_alloc_rx_data _bnx2_alloc_rx_data: ## @bnx2_alloc_rx_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 %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r12d movq %rdx, %rbx movq %rdi, %r13 leaq (,%rdx,8), %r15 addq 16(%rsi), %r15 movq %rsi, -56(%rbp) ## 8-byte Spill movq 8(%rsi), %r14 movq %rdx, %rdi callq _BNX2_RX_RING movq (%r14,%rax,8), %r14 movq %rbx, %rdi callq _BNX2_RX_IDX movq %rax, -48(%rbp) ## 8-byte Spill movl 16(%r13), %edi movl %r12d, %esi callq _kmalloc testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %rbx movq 8(%r13), %r12 movq %rax, %rdi callq _get_l2_fhdr movl (%r13), %edx movq _PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq %r12, %rdi movl %eax, %esi callq _dma_map_single movq %rax, %r12 movq 8(%r13), %rdi movq %rax, %rsi callq _dma_mapping_error testq %rax, %rax je LBB0_5 ## %bb.4: movq %rbx, %rdi callq _kfree movq _EIO@GOTPCREL(%rip), %rcx jmp LBB0_2 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rcx LBB0_2: xorl %eax, %eax subl (%rcx), %eax jmp LBB0_6 LBB0_5: movq %rbx, (%r15) movq %r15, %rdi movq %r12, %rsi movq %r12, %rdx callq _dma_unmap_addr_set movq -48(%rbp), %rax ## 8-byte Reload movl %r12d, 4(%r14,%rax,8) movl (%r13), %eax movq -56(%rbp), %rcx ## 8-byte Reload addl %eax, (%rcx) xorl %eax, %eax LBB0_6: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .comm _PCI_DMA_FROMDEVICE,4,2 ## @PCI_DMA_FROMDEVICE .comm _EIO,4,2 ## @EIO .no_dead_strip _bnx2_alloc_rx_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bnx2_alloc_rx_data _bnx2_alloc_rx_data: ; @bnx2_alloc_rx_data .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 x23, x3 mov x21, x2 mov x19, x1 mov x20, x0 ldp x22, x26, [x1, #8] mov x0, x2 bl _BNX2_RX_RING ldr x25, [x22, x0, lsl #3] mov x0, x21 bl _BNX2_RX_IDX mov x22, x0 ldr w0, [x20, #16] mov x1, x23 bl _kmalloc cbz x0, LBB0_3 ; %bb.1: mov x23, x0 ldr x24, [x20, #8] bl _get_l2_fhdr mov x1, x0 ldr w2, [x20] Lloh0: adrp x8, _PCI_DMA_FROMDEVICE@GOTPAGE Lloh1: ldr x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF] Lloh2: ldr w3, [x8] mov x0, x24 bl _dma_map_single mov x24, x0 ldr x0, [x20, #8] mov x1, x24 bl _dma_mapping_error cbz x0, LBB0_5 ; %bb.2: mov x0, x23 bl _kfree Lloh3: adrp x8, _EIO@GOTPAGE Lloh4: ldr x8, [x8, _EIO@GOTPAGEOFF] b LBB0_4 LBB0_3: Lloh5: adrp x8, _ENOMEM@GOTPAGE Lloh6: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_4: ldr w8, [x8] neg w0, w8 b LBB0_6 LBB0_5: add x0, x26, x21, lsl #3 str x23, [x0] mov x1, x24 mov x2, x24 bl _dma_unmap_addr_set mov w0, #0 add x8, x25, x22, lsl #3 str w24, [x8, #4] ldr w8, [x20] ldr w9, [x19] add w8, w9, w8 str w8, [x19] 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 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .comm _PCI_DMA_FROMDEVICE,4,2 ; @PCI_DMA_FROMDEVICE .comm _EIO,4,2 ; @EIO .no_dead_strip _bnx2_alloc_rx_data .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/broadcom/extr_bnx2.c_bnx2_alloc_rx_data.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ca0132_init_flags _ca0132_init_flags: ## @ca0132_init_flags .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq (%rdi), %rdi callq _ca0132_use_alt_functions testq %rax, %rax je LBB0_1 ## %bb.2: movq _CONTROL_FLAG_DSP_96KHZ@GOTPCREL(%rip), %rax movl (%rax), %esi movl $1, %r14d movq %rbx, %rdi movl $1, %edx callq _chipio_set_control_flag movq _CONTROL_FLAG_DAC_96KHZ@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl $1, %edx callq _chipio_set_control_flag movq _CONTROL_FLAG_ADC_B_96KHZ@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl $1, %edx callq _chipio_set_control_flag movq _CONTROL_FLAG_PORT_A_10KOHM_LOAD@GOTPCREL(%rip), %rax movq %rax, -48(%rbp) ## 8-byte Spill movq _CONTROL_FLAG_SPDIF2OUT@GOTPCREL(%rip), %r12 movq _CONTROL_FLAG_IDLE_ENABLE@GOTPCREL(%rip), %r13 movq _CONTROL_FLAG_SRC_RATE_96KHZ@GOTPCREL(%rip), %r15 movq _CONTROL_FLAG_ADC_C_96KHZ@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _CONTROL_FLAG_ADC_C_HIGH_PASS@GOTPCREL(%rip), %rax movq %rax, -48(%rbp) ## 8-byte Spill movq _CONTROL_FLAG_PORT_A_10KOHM_LOAD@GOTPCREL(%rip), %r12 movq _CONTROL_FLAG_PORT_D_COMMON_MODE@GOTPCREL(%rip), %r13 movq _CONTROL_FLAG_PORT_A_COMMON_MODE@GOTPCREL(%rip), %r15 xorl %r14d, %r14d movq _CONTROL_FLAG_IDLE_ENABLE@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _chipio_set_control_flag movl (%r15), %esi movq %rbx, %rdi movl %r14d, %edx callq _chipio_set_control_flag movl (%r13), %esi movq %rbx, %rdi xorl %edx, %edx callq _chipio_set_control_flag movl (%r12), %esi movq %rbx, %rdi xorl %edx, %edx callq _chipio_set_control_flag movq _CONTROL_FLAG_PORT_D_10KOHM_LOAD@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi xorl %edx, %edx callq _chipio_set_control_flag movq -48(%rbp), %rax ## 8-byte Reload movl (%rax), %esi movq %rbx, %rdi movl $1, %edx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _chipio_set_control_flag ## TAILCALL .cfi_endproc ## -- End function .comm _CONTROL_FLAG_DSP_96KHZ,4,2 ## @CONTROL_FLAG_DSP_96KHZ .comm _CONTROL_FLAG_DAC_96KHZ,4,2 ## @CONTROL_FLAG_DAC_96KHZ .comm _CONTROL_FLAG_ADC_B_96KHZ,4,2 ## @CONTROL_FLAG_ADC_B_96KHZ .comm _CONTROL_FLAG_ADC_C_96KHZ,4,2 ## @CONTROL_FLAG_ADC_C_96KHZ .comm _CONTROL_FLAG_SRC_RATE_96KHZ,4,2 ## @CONTROL_FLAG_SRC_RATE_96KHZ .comm _CONTROL_FLAG_IDLE_ENABLE,4,2 ## @CONTROL_FLAG_IDLE_ENABLE .comm _CONTROL_FLAG_SPDIF2OUT,4,2 ## @CONTROL_FLAG_SPDIF2OUT .comm _CONTROL_FLAG_PORT_D_10KOHM_LOAD,4,2 ## @CONTROL_FLAG_PORT_D_10KOHM_LOAD .comm _CONTROL_FLAG_PORT_A_10KOHM_LOAD,4,2 ## @CONTROL_FLAG_PORT_A_10KOHM_LOAD .comm _CONTROL_FLAG_PORT_A_COMMON_MODE,4,2 ## @CONTROL_FLAG_PORT_A_COMMON_MODE .comm _CONTROL_FLAG_PORT_D_COMMON_MODE,4,2 ## @CONTROL_FLAG_PORT_D_COMMON_MODE .comm _CONTROL_FLAG_ADC_C_HIGH_PASS,4,2 ## @CONTROL_FLAG_ADC_C_HIGH_PASS .no_dead_strip _ca0132_init_flags .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ca0132_init_flags _ca0132_init_flags: ; @ca0132_init_flags .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x0, [x0] bl _ca0132_use_alt_functions cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _CONTROL_FLAG_DSP_96KHZ@GOTPAGE Lloh1: ldr x8, [x8, _CONTROL_FLAG_DSP_96KHZ@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w20, #1 mov x0, x19 mov w2, #1 bl _chipio_set_control_flag Lloh3: adrp x8, _CONTROL_FLAG_DAC_96KHZ@GOTPAGE Lloh4: ldr x8, [x8, _CONTROL_FLAG_DAC_96KHZ@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 mov w2, #1 bl _chipio_set_control_flag Lloh6: adrp x8, _CONTROL_FLAG_ADC_B_96KHZ@GOTPAGE Lloh7: ldr x8, [x8, _CONTROL_FLAG_ADC_B_96KHZ@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x0, x19 mov w2, #1 bl _chipio_set_control_flag Lloh9: adrp x21, _CONTROL_FLAG_PORT_A_10KOHM_LOAD@GOTPAGE Lloh10: ldr x21, [x21, _CONTROL_FLAG_PORT_A_10KOHM_LOAD@GOTPAGEOFF] Lloh11: adrp x22, _CONTROL_FLAG_SPDIF2OUT@GOTPAGE Lloh12: ldr x22, [x22, _CONTROL_FLAG_SPDIF2OUT@GOTPAGEOFF] Lloh13: adrp x23, _CONTROL_FLAG_IDLE_ENABLE@GOTPAGE Lloh14: ldr x23, [x23, _CONTROL_FLAG_IDLE_ENABLE@GOTPAGEOFF] Lloh15: adrp x24, _CONTROL_FLAG_SRC_RATE_96KHZ@GOTPAGE Lloh16: ldr x24, [x24, _CONTROL_FLAG_SRC_RATE_96KHZ@GOTPAGEOFF] Lloh17: adrp x8, _CONTROL_FLAG_ADC_C_96KHZ@GOTPAGE Lloh18: ldr x8, [x8, _CONTROL_FLAG_ADC_C_96KHZ@GOTPAGEOFF] b LBB0_3 LBB0_2: mov w20, #0 Lloh19: adrp x21, _CONTROL_FLAG_ADC_C_HIGH_PASS@GOTPAGE Lloh20: ldr x21, [x21, _CONTROL_FLAG_ADC_C_HIGH_PASS@GOTPAGEOFF] Lloh21: adrp x22, _CONTROL_FLAG_PORT_A_10KOHM_LOAD@GOTPAGE Lloh22: ldr x22, [x22, _CONTROL_FLAG_PORT_A_10KOHM_LOAD@GOTPAGEOFF] Lloh23: adrp x23, _CONTROL_FLAG_PORT_D_COMMON_MODE@GOTPAGE Lloh24: ldr x23, [x23, _CONTROL_FLAG_PORT_D_COMMON_MODE@GOTPAGEOFF] Lloh25: adrp x24, _CONTROL_FLAG_PORT_A_COMMON_MODE@GOTPAGE Lloh26: ldr x24, [x24, _CONTROL_FLAG_PORT_A_COMMON_MODE@GOTPAGEOFF] Lloh27: adrp x8, _CONTROL_FLAG_IDLE_ENABLE@GOTPAGE Lloh28: ldr x8, [x8, _CONTROL_FLAG_IDLE_ENABLE@GOTPAGEOFF] LBB0_3: ldr w1, [x8] mov x0, x19 mov x2, x20 bl _chipio_set_control_flag ldr w1, [x24] mov x0, x19 mov x2, x20 bl _chipio_set_control_flag ldr w1, [x23] mov x0, x19 mov w2, #0 bl _chipio_set_control_flag ldr w1, [x22] mov x0, x19 mov w2, #0 bl _chipio_set_control_flag Lloh29: adrp x8, _CONTROL_FLAG_PORT_D_10KOHM_LOAD@GOTPAGE Lloh30: ldr x8, [x8, _CONTROL_FLAG_PORT_D_10KOHM_LOAD@GOTPAGEOFF] Lloh31: ldr w1, [x8] mov x0, x19 mov w2, #0 bl _chipio_set_control_flag ldr w1, [x21] mov x0, x19 mov w2, #1 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _chipio_set_control_flag .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh27, Lloh28 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .cfi_endproc ; -- End function .comm _CONTROL_FLAG_DSP_96KHZ,4,2 ; @CONTROL_FLAG_DSP_96KHZ .comm _CONTROL_FLAG_DAC_96KHZ,4,2 ; @CONTROL_FLAG_DAC_96KHZ .comm _CONTROL_FLAG_ADC_B_96KHZ,4,2 ; @CONTROL_FLAG_ADC_B_96KHZ .comm _CONTROL_FLAG_ADC_C_96KHZ,4,2 ; @CONTROL_FLAG_ADC_C_96KHZ .comm _CONTROL_FLAG_SRC_RATE_96KHZ,4,2 ; @CONTROL_FLAG_SRC_RATE_96KHZ .comm _CONTROL_FLAG_IDLE_ENABLE,4,2 ; @CONTROL_FLAG_IDLE_ENABLE .comm _CONTROL_FLAG_SPDIF2OUT,4,2 ; @CONTROL_FLAG_SPDIF2OUT .comm _CONTROL_FLAG_PORT_D_10KOHM_LOAD,4,2 ; @CONTROL_FLAG_PORT_D_10KOHM_LOAD .comm _CONTROL_FLAG_PORT_A_10KOHM_LOAD,4,2 ; @CONTROL_FLAG_PORT_A_10KOHM_LOAD .comm _CONTROL_FLAG_PORT_A_COMMON_MODE,4,2 ; @CONTROL_FLAG_PORT_A_COMMON_MODE .comm _CONTROL_FLAG_PORT_D_COMMON_MODE,4,2 ; @CONTROL_FLAG_PORT_D_COMMON_MODE .comm _CONTROL_FLAG_ADC_C_HIGH_PASS,4,2 ; @CONTROL_FLAG_ADC_C_HIGH_PASS .no_dead_strip _ca0132_init_flags .subsections_via_symbols
AnghaBench/linux/sound/pci/hda/extr_patch_ca0132.c_ca0132_init_flags.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _egl_report_error ## -- Begin function egl_report_error .p2align 4, 0x90 _egl_report_error: ## @egl_report_error .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax callq _eglGetError movl %eax, %ecx addl $-128, %ecx cmpl $12, %ecx ja LBB0_1 ## %bb.2: movslq %ecx, %rcx leaq l_reltable.egl_report_error(%rip), %rsi movslq (%rsi,%rcx,4), %rdx addq %rsi, %rdx jmp LBB0_3 LBB0_1: leaq L_.str.13(%rip), %rdx LBB0_3: leaq L_.str.14(%rip), %rdi movl %eax, %esi popq %rbp jmp _RARCH_ERR ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "EGL_SUCCESS" L_.str.1: ## @.str.1 .asciz "EGL_BAD_ACCESS" L_.str.2: ## @.str.2 .asciz "EGL_BAD_ALLOC" L_.str.3: ## @.str.3 .asciz "EGL_BAD_ATTRIBUTE" L_.str.4: ## @.str.4 .asciz "EGL_BAD_CONFIG" L_.str.5: ## @.str.5 .asciz "EGL_BAD_CONTEXT" L_.str.6: ## @.str.6 .asciz "EGL_BAD_CURRENT_SURFACE" L_.str.7: ## @.str.7 .asciz "EGL_BAD_DISPLAY" L_.str.8: ## @.str.8 .asciz "EGL_BAD_MATCH" L_.str.9: ## @.str.9 .asciz "EGL_BAD_NATIVE_PIXMAP" L_.str.10: ## @.str.10 .asciz "EGL_BAD_NATIVE_WINDOW" L_.str.11: ## @.str.11 .asciz "EGL_BAD_PARAMETER" L_.str.12: ## @.str.12 .asciz "EGL_BAD_SURFACE" L_.str.13: ## @.str.13 .asciz "Unknown" L_.str.14: ## @.str.14 .asciz "[EGL]: #0x%x, %s\n" .section __TEXT,__const .p2align 2 ## @reltable.egl_report_error l_reltable.egl_report_error: .long L_.str-l_reltable.egl_report_error .long L_.str.12-l_reltable.egl_report_error .long L_.str.11-l_reltable.egl_report_error .long L_.str.10-l_reltable.egl_report_error .long L_.str.9-l_reltable.egl_report_error .long L_.str.8-l_reltable.egl_report_error .long L_.str.7-l_reltable.egl_report_error .long L_.str.6-l_reltable.egl_report_error .long L_.str.5-l_reltable.egl_report_error .long L_.str.4-l_reltable.egl_report_error .long L_.str.3-l_reltable.egl_report_error .long L_.str.2-l_reltable.egl_report_error .long L_.str.1-l_reltable.egl_report_error .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _egl_report_error ; -- Begin function egl_report_error .p2align 2 _egl_report_error: ; @egl_report_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 _eglGetError mov x1, x0 sub w8, w0, #128 cmp w8, #12 b.hi LBB0_2 ; %bb.1: Lloh0: adrp x9, l_switch.table.egl_report_error@PAGE Lloh1: add x9, x9, l_switch.table.egl_report_error@PAGEOFF ldr x2, [x9, w8, sxtw #3] b LBB0_3 LBB0_2: Lloh2: adrp x2, l_.str.13@PAGE Lloh3: add x2, x2, l_.str.13@PAGEOFF LBB0_3: Lloh4: adrp x0, l_.str.14@PAGE Lloh5: add x0, x0, l_.str.14@PAGEOFF ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _RARCH_ERR .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "EGL_SUCCESS" l_.str.1: ; @.str.1 .asciz "EGL_BAD_ACCESS" l_.str.2: ; @.str.2 .asciz "EGL_BAD_ALLOC" l_.str.3: ; @.str.3 .asciz "EGL_BAD_ATTRIBUTE" l_.str.4: ; @.str.4 .asciz "EGL_BAD_CONFIG" l_.str.5: ; @.str.5 .asciz "EGL_BAD_CONTEXT" l_.str.6: ; @.str.6 .asciz "EGL_BAD_CURRENT_SURFACE" l_.str.7: ; @.str.7 .asciz "EGL_BAD_DISPLAY" l_.str.8: ; @.str.8 .asciz "EGL_BAD_MATCH" l_.str.9: ; @.str.9 .asciz "EGL_BAD_NATIVE_PIXMAP" l_.str.10: ; @.str.10 .asciz "EGL_BAD_NATIVE_WINDOW" l_.str.11: ; @.str.11 .asciz "EGL_BAD_PARAMETER" l_.str.12: ; @.str.12 .asciz "EGL_BAD_SURFACE" l_.str.13: ; @.str.13 .asciz "Unknown" l_.str.14: ; @.str.14 .asciz "[EGL]: #0x%x, %s\n" .section __DATA,__const .p2align 3 ; @switch.table.egl_report_error l_switch.table.egl_report_error: .quad l_.str .quad l_.str.12 .quad l_.str.11 .quad l_.str.10 .quad l_.str.9 .quad l_.str.8 .quad l_.str.7 .quad l_.str.6 .quad l_.str.5 .quad l_.str.4 .quad l_.str.3 .quad l_.str.2 .quad l_.str.1 .subsections_via_symbols
AnghaBench/RetroArch/gfx/common/extr_egl_common.c_egl_report_error.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _setpwent ## -- Begin function setpwent .p2align 4, 0x90 _setpwent: ## @setpwent .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 _setpwent ; -- Begin function setpwent .p2align 2 _setpwent: ; @setpwent .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/32005.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function init_altmap_reserve _init_altmap_reserve: ## @init_altmap_reserve .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %r14d xorl %eax, %eax callq _info_block_reserve movq %rax, %rbx movq _PAGE_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl shrq %cl, %rbx movl %r14d, %edi callq _PHYS_PFN movq %rax, %r14 movq %rax, %rdi callq _SUBSECTION_ALIGN_DOWN addq %r14, %rbx subq %rax, %rbx movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _PAGE_SHIFT,8,3 ## @PAGE_SHIFT .no_dead_strip _init_altmap_reserve .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function init_altmap_reserve _init_altmap_reserve: ; @init_altmap_reserve .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _info_block_reserve Lloh0: adrp x8, _PAGE_SHIFT@GOTPAGE Lloh1: ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF] Lloh2: ldr x8, [x8] lsr x20, x0, x8 mov x0, x19 bl _PHYS_PFN mov x19, x0 bl _SUBSECTION_ALIGN_DOWN add x8, x20, x19 sub x0, x8, x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PAGE_SHIFT,8,3 ; @PAGE_SHIFT .no_dead_strip _init_altmap_reserve .subsections_via_symbols
AnghaBench/linux/drivers/nvdimm/extr_pfn_devs.c_init_altmap_reserve.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function read_htcreg_nb_f15 _read_htcreg_nb_f15: ## @read_htcreg_nb_f15 .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 xorl %edi, %edi xorl %esi, %esi callq _PCI_DEVFN movq _F15H_M60H_HARDWARE_TEMP_CTRL_OFFSET@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq %rbx, %rdi movl %eax, %esi movl $184, %edx movq %r14, %r8 popq %rbx popq %r14 popq %rbp jmp _amd_nb_index_read ## TAILCALL .cfi_endproc ## -- End function .comm _F15H_M60H_HARDWARE_TEMP_CTRL_OFFSET,4,2 ## @F15H_M60H_HARDWARE_TEMP_CTRL_OFFSET .no_dead_strip _read_htcreg_nb_f15 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function read_htcreg_nb_f15 _read_htcreg_nb_f15: ; @read_htcreg_nb_f15 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 mov w0, #0 mov w1, #0 bl _PCI_DEVFN mov x1, x0 Lloh0: adrp x8, _F15H_M60H_HARDWARE_TEMP_CTRL_OFFSET@GOTPAGE Lloh1: ldr x8, [x8, _F15H_M60H_HARDWARE_TEMP_CTRL_OFFSET@GOTPAGEOFF] Lloh2: ldr w3, [x8] mov x0, x20 mov w2, #184 mov x4, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _amd_nb_index_read .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _F15H_M60H_HARDWARE_TEMP_CTRL_OFFSET,4,2 ; @F15H_M60H_HARDWARE_TEMP_CTRL_OFFSET .no_dead_strip _read_htcreg_nb_f15 .subsections_via_symbols
AnghaBench/linux/drivers/hwmon/extr_k10temp.c_read_htcreg_nb_f15.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function inspect_system _inspect_system: ## @inspect_system .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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _BUFSIZE@GOTPCREL(%rip), %rax movl (%rax), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi callq _getenv testq %rax, %rax je LBB0_5 ## %bb.1: movq %rax, %rbx movq _installdir@GOTPCREL(%rip), %r12 movq (%r12), %rdx movq _runtimeidx@GOTPCREL(%rip), %r15 movl (%r15), %ecx decl %ecx movq %rax, %rdi movl $-1, %esi callq _pathcmp testq %rax, %rax je LBB0_5 ## %bb.2: leaq L_str.33(%rip), %rdi callq _puts leaq L_.str.3(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf leaq L_str.30(%rip), %rdi callq _puts movq (%r12), %rsi movq %r14, %rdi callq _strcpy movq _NUL@GOTPCREL(%rip), %rax movb (%rax), %al movslq (%r15), %rcx movb %al, -1(%r14,%rcx) leaq L_.str.5(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _printf leaq L_str.31(%rip), %rdi callq _puts movq _interactive@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_4 ## %bb.3: leaq L_str.34(%rip), %rdi callq _puts movl $1, %edi callq _myexit LBB0_4: leaq L_str.32(%rip), %rdi callq _puts leaq L_str.33(%rip), %rdi callq _puts LBB0_5: leaq L_.str.9(%rip), %rdi callq _getenv testq %rax, %rax je LBB0_10 ## %bb.6: movq %rax, %rbx movq _installdir@GOTPCREL(%rip), %r14 movq (%r14), %rdx movq %rax, %rdi movl $-1, %esi movl $-1, %ecx callq _pathcmp testq %rax, %rax je LBB0_10 ## %bb.7: leaq L_str.33(%rip), %rdi callq _puts leaq L_.str.10(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf leaq L_str.30(%rip), %rdi callq _puts movq (%r14), %rsi leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str.25(%rip), %rdi callq _puts movq _interactive@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_9 ## %bb.8: leaq L_str.34(%rip), %rdi callq _puts movl $1, %edi callq _myexit LBB0_9: leaq L_str.32(%rip), %rdi callq _puts leaq L_str.33(%rip), %rdi callq _puts LBB0_10: movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _find_bat_exe movq _TARGET_COUNT@GOTPCREL(%rip), %r14 cmpl $2, (%r14) jl LBB0_20 ## %bb.11: movq _targets@GOTPCREL(%rip), %rax movq (%rax), %rdi xorl %r12d, %r12d movl $1, %r13d movl $8, %ebx movl $1, %r15d .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 addq %rbx, %rdi callq _findoldfile movq _targets@GOTPCREL(%rip), %rax movq (%rax), %rdi cmpq $0, (%rdi,%rbx) cmovnel %r15d, %r12d incq %r13 movslq (%r14), %rax addq $8, %rbx cmpq %rax, %r13 jl LBB0_12 ## %bb.13: movq _targets@GOTPCREL(%rip), %r15 testl %r12d, %r12d je LBB0_20 ## %bb.14: leaq L_str.20(%rip), %rdi callq _puts movl (%r14), %eax cmpl $2, %eax jl LBB0_19 ## %bb.15: movl $1, %ebx jmp LBB0_16 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_16 Depth=1 incq %rbx movslq %eax, %rcx cmpq %rcx, %rbx jge LBB0_19 LBB0_16: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rcx movq (%rcx,%rbx,8), %rdi testq %rdi, %rdi je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_16 Depth=1 callq _puts movl (%r14), %eax jmp LBB0_18 LBB0_19: leaq L_str.21(%rip), %rdi callq _puts leaq L_str.22(%rip), %rdi callq _puts LBB0_20: movq _oldvimrc@GOTPCREL(%rip), %rbx movq (%rbx), %rdi movq _installdir@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _strcpy movq _runtimeidx@GOTPCREL(%rip), %r14 movslq (%r14), %rdi addq (%rbx), %rdi leaq L_.str.16(%rip), %rsi callq _strcpy movq (%rbx), %rdi leaq L_.str.17(%rip), %rsi callq _fopen testq %rax, %rax jne LBB0_23 ## %bb.21: movslq (%r14), %rdi addq (%rbx), %rdi leaq L_.str.18(%rip), %rsi callq _strcpy movq (%rbx), %rdi leaq L_.str.17(%rip), %rsi callq _fopen testq %rax, %rax jne LBB0_23 ## %bb.22: movslq (%r14), %rdi addq (%rbx), %rdi leaq L_.str.19(%rip), %rsi callq _strcpy movq (%rbx), %rdi leaq L_.str.17(%rip), %rsi callq _fopen testq %rax, %rax je LBB0_24 LBB0_23: movq %rax, %rdi callq _fclose LBB0_25: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_27 ## %bb.26: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_24: movq _NUL@GOTPCREL(%rip), %rax movb (%rax), %al movq (%rbx), %rcx movb %al, (%rcx) jmp LBB0_25 LBB0_27: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _BUFSIZE,4,2 ## @BUFSIZE .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "VIM" .comm _installdir,8,3 ## @installdir .comm _runtimeidx,4,2 ## @runtimeidx L_.str.3: ## @.str.3 .asciz "$VIM is set to \"%s\".\n" .comm _NUL,1,0 ## @NUL L_.str.5: ## @.str.5 .asciz "\"%s\"\n" .comm _interactive,8,3 ## @interactive L_.str.9: ## @.str.9 .asciz "VIMRUNTIME" L_.str.10: ## @.str.10 .asciz "$VIMRUNTIME is set to \"%s\".\n" .comm _FALSE,4,2 ## @FALSE .comm _TARGET_COUNT,4,2 ## @TARGET_COUNT .comm _targets,8,3 ## @targets .comm _oldvimrc,8,3 ## @oldvimrc L_.str.16: ## @.str.16 .asciz "_vimrc" L_.str.17: ## @.str.17 .asciz "r" L_.str.18: ## @.str.18 .asciz "vimrc~1" L_.str.19: ## @.str.19 .asciz ".vimrc" L_str: ## @str .asciz "Inspecting system..." L_str.20: ## @str.20 .asciz "Warning: Found Vim executable(s) in your $PATH:" L_str.21: ## @str.21 .asciz "It will be used instead of the version you are installing." L_str.22: ## @str.22 .asciz "Please delete or rename it, or adjust your $PATH setting." L_str.25: ## @str.25 .asciz "You must adjust or remove the setting of $VIMRUNTIME," L_str.30: ## @str.30 .asciz "This is different from where this version of Vim is:" L_str.31: ## @str.31 .asciz "You must adjust or remove the setting of $VIM," L_str.32: ## @str.32 .asciz "otherwise Vim WILL NOT WORK properly!" L_str.33: ## @str.33 .asciz "------------------------------------------------------" L_str.34: ## @str.34 .asciz "to be able to use this install program." .no_dead_strip _inspect_system .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function inspect_system _inspect_system: ; @inspect_system .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 sub sp, sp, #16 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] Lloh3: adrp x8, _BUFSIZE@GOTPAGE Lloh4: ldr x8, [x8, _BUFSIZE@GOTPAGEOFF] Lloh5: ldr w8, [x8] 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, #0x1fffffff0 sub x19, x9, x8 mov sp, x19 Lloh8: adrp x0, l_str@PAGE Lloh9: add x0, x0, l_str@PAGEOFF bl _puts Lloh10: adrp x0, l_.str.1@PAGE Lloh11: add x0, x0, l_.str.1@PAGEOFF bl _getenv Lloh12: adrp x22, _installdir@GOTPAGE Lloh13: ldr x22, [x22, _installdir@GOTPAGEOFF] Lloh14: adrp x21, _runtimeidx@GOTPAGE Lloh15: ldr x21, [x21, _runtimeidx@GOTPAGEOFF] cbz x0, LBB0_5 ; %bb.1: mov x20, x0 ldr x2, [x22] ldr w8, [x21] sub w3, w8, #1 mov w1, #-1 bl _pathcmp cbz x0, LBB0_5 ; %bb.2: Lloh16: adrp x0, l_str.33@PAGE Lloh17: add x0, x0, l_str.33@PAGEOFF bl _puts str x20, [sp, #-16]! Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF bl _printf add sp, sp, #16 Lloh20: adrp x0, l_str.30@PAGE Lloh21: add x0, x0, l_str.30@PAGEOFF bl _puts ldr x1, [x22] mov x0, x19 bl _strcpy Lloh22: adrp x8, _NUL@GOTPAGE Lloh23: ldr x8, [x8, _NUL@GOTPAGEOFF] ldrb w8, [x8] ldrsw x9, [x21] add x9, x19, x9 sturb w8, [x9, #-1] str x19, [sp, #-16]! Lloh24: adrp x0, l_.str.5@PAGE Lloh25: add x0, x0, l_.str.5@PAGEOFF bl _printf add sp, sp, #16 Lloh26: adrp x0, l_str.31@PAGE Lloh27: add x0, x0, l_str.31@PAGEOFF bl _puts Lloh28: adrp x8, _interactive@GOTPAGE Lloh29: ldr x8, [x8, _interactive@GOTPAGEOFF] Lloh30: ldr x8, [x8] cbz x8, LBB0_4 ; %bb.3: Lloh31: adrp x0, l_str.34@PAGE Lloh32: add x0, x0, l_str.34@PAGEOFF bl _puts mov w0, #1 bl _myexit LBB0_4: Lloh33: adrp x0, l_str.32@PAGE Lloh34: add x0, x0, l_str.32@PAGEOFF bl _puts Lloh35: adrp x0, l_str.33@PAGE Lloh36: add x0, x0, l_str.33@PAGEOFF bl _puts LBB0_5: Lloh37: adrp x0, l_.str.9@PAGE Lloh38: add x0, x0, l_.str.9@PAGEOFF bl _getenv cbz x0, LBB0_10 ; %bb.6: mov x19, x0 ldr x2, [x22] mov w1, #-1 mov w3, #-1 bl _pathcmp cbz x0, LBB0_10 ; %bb.7: Lloh39: adrp x0, l_str.33@PAGE Lloh40: add x0, x0, l_str.33@PAGEOFF bl _puts str x19, [sp, #-16]! Lloh41: adrp x0, l_.str.10@PAGE Lloh42: add x0, x0, l_.str.10@PAGEOFF bl _printf add sp, sp, #16 Lloh43: adrp x0, l_str.30@PAGE Lloh44: add x0, x0, l_str.30@PAGEOFF bl _puts ldr x8, [x22] str x8, [sp, #-16]! Lloh45: adrp x0, l_.str.5@PAGE Lloh46: add x0, x0, l_.str.5@PAGEOFF bl _printf add sp, sp, #16 Lloh47: adrp x0, l_str.25@PAGE Lloh48: add x0, x0, l_str.25@PAGEOFF bl _puts Lloh49: adrp x8, _interactive@GOTPAGE Lloh50: ldr x8, [x8, _interactive@GOTPAGEOFF] Lloh51: ldr x8, [x8] cbz x8, LBB0_9 ; %bb.8: Lloh52: adrp x0, l_str.34@PAGE Lloh53: add x0, x0, l_str.34@PAGEOFF bl _puts mov w0, #1 bl _myexit LBB0_9: Lloh54: adrp x0, l_str.32@PAGE Lloh55: add x0, x0, l_str.32@PAGEOFF bl _puts Lloh56: adrp x0, l_str.33@PAGE Lloh57: add x0, x0, l_str.33@PAGEOFF bl _puts LBB0_10: Lloh58: adrp x8, _FALSE@GOTPAGE Lloh59: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh60: ldr w0, [x8] bl _find_bat_exe Lloh61: adrp x19, _TARGET_COUNT@GOTPAGE Lloh62: ldr x19, [x19, _TARGET_COUNT@GOTPAGEOFF] ldr w8, [x19] cmp w8, #2 b.lt LBB0_20 ; %bb.11: mov w23, #0 Lloh63: adrp x20, _targets@GOTPAGE Lloh64: ldr x20, [x20, _targets@GOTPAGEOFF] ldr x8, [x20] mov w24, #1 mov w25, #8 LBB0_12: ; =>This Inner Loop Header: Depth=1 add x0, x8, x25 bl _findoldfile ldr x8, [x20] ldr x9, [x8, x25] cmp x9, #0 csinc w23, w23, wzr, eq add x24, x24, #1 ldrsw x9, [x19] add x25, x25, #8 cmp x24, x9 b.lt LBB0_12 ; %bb.13: cbz w23, LBB0_20 ; %bb.14: Lloh65: adrp x0, l_str.20@PAGE Lloh66: add x0, x0, l_str.20@PAGEOFF bl _puts ldr w8, [x19] cmp w8, #2 b.lt LBB0_19 ; %bb.15: mov w23, #1 b LBB0_17 LBB0_16: ; in Loop: Header=BB0_17 Depth=1 add x23, x23, #1 cmp x23, w8, sxtw b.ge LBB0_19 LBB0_17: ; =>This Inner Loop Header: Depth=1 ldr x9, [x20] ldr x0, [x9, x23, lsl #3] cbz x0, LBB0_16 ; %bb.18: ; in Loop: Header=BB0_17 Depth=1 bl _puts ldr w8, [x19] b LBB0_16 LBB0_19: Lloh67: adrp x0, l_str.21@PAGE Lloh68: add x0, x0, l_str.21@PAGEOFF bl _puts Lloh69: adrp x0, l_str.22@PAGE Lloh70: add x0, x0, l_str.22@PAGEOFF bl _puts LBB0_20: Lloh71: adrp x19, _oldvimrc@GOTPAGE Lloh72: ldr x19, [x19, _oldvimrc@GOTPAGEOFF] ldr x0, [x19] ldr x1, [x22] bl _strcpy ldr x8, [x19] ldrsw x9, [x21] add x0, x8, x9 Lloh73: adrp x1, l_.str.16@PAGE Lloh74: add x1, x1, l_.str.16@PAGEOFF bl _strcpy ldr x0, [x19] Lloh75: adrp x1, l_.str.17@PAGE Lloh76: add x1, x1, l_.str.17@PAGEOFF bl _fopen cbnz x0, LBB0_23 ; %bb.21: ldr x8, [x19] ldrsw x9, [x21] add x0, x8, x9 Lloh77: adrp x1, l_.str.18@PAGE Lloh78: add x1, x1, l_.str.18@PAGEOFF bl _strcpy ldr x0, [x19] Lloh79: adrp x1, l_.str.17@PAGE Lloh80: add x1, x1, l_.str.17@PAGEOFF bl _fopen cbnz x0, LBB0_23 ; %bb.22: ldr x8, [x19] ldrsw x9, [x21] add x0, x8, x9 Lloh81: adrp x1, l_.str.19@PAGE Lloh82: add x1, x1, l_.str.19@PAGEOFF bl _strcpy ldr x0, [x19] Lloh83: adrp x1, l_.str.17@PAGE Lloh84: add x1, x1, l_.str.17@PAGEOFF bl _fopen cbz x0, LBB0_26 LBB0_23: bl _fclose LBB0_24: ldur x8, [x29, #-72] Lloh85: adrp x9, ___stack_chk_guard@GOTPAGE Lloh86: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh87: ldr x9, [x9] cmp x9, x8 b.ne LBB0_27 ; %bb.25: sub sp, x29, #64 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_26: Lloh88: adrp x8, _NUL@GOTPAGE Lloh89: ldr x8, [x8, _NUL@GOTPAGEOFF] ldrb w8, [x8] ldr x9, [x19] strb w8, [x9] b LBB0_24 LBB0_27: bl ___stack_chk_fail .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpLdrGot Lloh61, Lloh62 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpLdrGot Lloh63, Lloh64 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpAdd Lloh69, Lloh70 .loh AdrpAdd Lloh67, Lloh68 .loh AdrpAdd Lloh75, Lloh76 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGot Lloh71, Lloh72 .loh AdrpAdd Lloh79, Lloh80 .loh AdrpAdd Lloh77, Lloh78 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpAdd Lloh81, Lloh82 .loh AdrpLdrGotLdr Lloh85, Lloh86, Lloh87 .loh AdrpLdrGot Lloh88, Lloh89 .cfi_endproc ; -- End function .comm _BUFSIZE,4,2 ; @BUFSIZE .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "VIM" .comm _installdir,8,3 ; @installdir .comm _runtimeidx,4,2 ; @runtimeidx l_.str.3: ; @.str.3 .asciz "$VIM is set to \"%s\".\n" .comm _NUL,1,0 ; @NUL l_.str.5: ; @.str.5 .asciz "\"%s\"\n" .comm _interactive,8,3 ; @interactive l_.str.9: ; @.str.9 .asciz "VIMRUNTIME" l_.str.10: ; @.str.10 .asciz "$VIMRUNTIME is set to \"%s\".\n" .comm _FALSE,4,2 ; @FALSE .comm _TARGET_COUNT,4,2 ; @TARGET_COUNT .comm _targets,8,3 ; @targets .comm _oldvimrc,8,3 ; @oldvimrc l_.str.16: ; @.str.16 .asciz "_vimrc" l_.str.17: ; @.str.17 .asciz "r" l_.str.18: ; @.str.18 .asciz "vimrc~1" l_.str.19: ; @.str.19 .asciz ".vimrc" l_str: ; @str .asciz "Inspecting system..." l_str.20: ; @str.20 .asciz "Warning: Found Vim executable(s) in your $PATH:" l_str.21: ; @str.21 .asciz "It will be used instead of the version you are installing." l_str.22: ; @str.22 .asciz "Please delete or rename it, or adjust your $PATH setting." l_str.25: ; @str.25 .asciz "You must adjust or remove the setting of $VIMRUNTIME," l_str.30: ; @str.30 .asciz "This is different from where this version of Vim is:" l_str.31: ; @str.31 .asciz "You must adjust or remove the setting of $VIM," l_str.32: ; @str.32 .asciz "otherwise Vim WILL NOT WORK properly!" l_str.33: ; @str.33 .asciz "------------------------------------------------------" l_str.34: ; @str.34 .asciz "to be able to use this install program." .no_dead_strip _inspect_system .subsections_via_symbols
AnghaBench/macvim/src/extr_dosinst.c_inspect_system.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rgb_matrix_set_color ## -- Begin function rgb_matrix_set_color .p2align 4, 0x90 _rgb_matrix_set_color: ## @rgb_matrix_set_color .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _rgb_matrix_driver@GOTPCREL(%rip), %rax movq (%rax), %rax popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .comm _rgb_matrix_driver,8,3 ## @rgb_matrix_driver .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rgb_matrix_set_color ; -- Begin function rgb_matrix_set_color .p2align 2 _rgb_matrix_set_color: ; @rgb_matrix_set_color .cfi_startproc ; %bb.0: Lloh0: adrp x8, _rgb_matrix_driver@GOTPAGE Lloh1: ldr x8, [x8, _rgb_matrix_driver@GOTPAGEOFF] Lloh2: ldr x4, [x8] br x4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _rgb_matrix_driver,8,3 ; @rgb_matrix_driver .subsections_via_symbols
AnghaBench/qmk_firmware/quantum/extr_rgb_matrix.c_rgb_matrix_set_color.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gammln ## -- Begin function gammln .p2align 4, 0x90 _gammln: ## @gammln .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 _gser ## -- Begin function gser .p2align 4, 0x90 _gser: ## @gser .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 _gcf ## -- Begin function gcf .p2align 4, 0x90 _gcf: ## @gcf .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 _gammp ## -- Begin function gammp .p2align 4, 0x90 _gammp: ## @gammp .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 _nrerror ## -- Begin function nrerror .p2align 4, 0x90 _nrerror: ## @nrerror .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 _gammln ; -- Begin function gammln .p2align 2 _gammln: ; @gammln .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _gser ; -- Begin function gser .p2align 2 _gser: ; @gser .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _gcf ; -- Begin function gcf .p2align 2 _gcf: ; @gcf .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _gammp ; -- Begin function gammp .p2align 2 _gammp: ; @gammp .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _nrerror ; -- Begin function nrerror .p2align 2 _nrerror: ; @nrerror .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/92326592.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function advk_msi_set_affinity _advk_msi_set_affinity: ## @advk_msi_set_affinity .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _advk_msi_set_affinity .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function advk_msi_set_affinity _advk_msi_set_affinity: ; @advk_msi_set_affinity .cfi_startproc ; %bb.0: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _advk_msi_set_affinity .subsections_via_symbols
AnghaBench/linux/drivers/pci/controller/extr_pci-aardvark.c_advk_msi_set_affinity.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rfcomm_sk_data_ready _rfcomm_sk_data_ready: ## @rfcomm_sk_data_ready .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 testq %rbx, %rbx je LBB0_2 ## %bb.1: movq %rsi, %r15 movq %rdi, %r14 movl (%rsi), %edi leaq 8(%rbx), %r12 movq %r12, %rsi callq _atomic_add leaq 24(%rbx), %rdi movq %r15, %rsi callq _skb_queue_tail movl (%r15), %esi movq %rbx, %rdi callq *16(%rbx) movq %r12, %rdi callq _atomic_read cmpq (%rbx), %rax jge LBB0_3 LBB0_2: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq %r14, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _rfcomm_dlc_throttle ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _rfcomm_sk_data_ready .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rfcomm_sk_data_ready _rfcomm_sk_data_ready: ; @rfcomm_sk_data_ready .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 x20, [x0] cbz x20, LBB0_2 ; %bb.1: mov x21, x1 mov x19, x0 ldr w0, [x1] add x22, x20, #8 mov x1, x22 bl _atomic_add add x0, x20, #24 mov x1, x21 bl _skb_queue_tail ldr x8, [x20, #16] ldr w1, [x21] mov x0, x20 blr x8 mov x0, x22 bl _atomic_read ldr x8, [x20] cmp x0, x8 b.ge LBB0_3 LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_3: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _rfcomm_dlc_throttle .cfi_endproc ; -- End function .no_dead_strip _rfcomm_sk_data_ready .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/bluetooth/rfcomm/extr_sock.c_rfcomm_sk_data_ready.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi xorl %ebx, %ebx leaq -52(%rbp), %rsi leaq -56(%rbp), %rdx xorl %eax, %eax callq _scanf movq %rsp, %r15 movl -52(%rbp), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 cmpl $0, -52(%rbp) jle LBB0_10 ## %bb.1: leaq L_.str.1(%rip), %r14 movq %r12, %r13 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %r13, %rsi xorl %eax, %eax callq _scanf incq %rbx movslq -52(%rbp), %rax addq $4, %r13 cmpq %rax, %rbx jl LBB0_2 ## %bb.3: movl %eax, %r8d testl %r8d, %r8d jle LBB0_4 ## %bb.5: movslq -56(%rbp), %rax cmpl $1, %r8d jne LBB0_12 ## %bb.6: xorl %edx, %edx xorl %ebx, %ebx LBB0_7: testb $1, %r8b je LBB0_10 ## %bb.8: movl (%r12,%rdx,4), %ecx testl %ecx, %ecx je LBB0_10 ## %bb.9: xorl %edx, %edx cmpl %ecx, -4(%r12,%rax,4) setle %dl addl %edx, %ebx jmp LBB0_10 LBB0_4: xorl %ebx, %ebx LBB0_10: leaq L_.str.1(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf movq %r15, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_18 ## %bb.11: xorl %eax, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: movl %r8d, %esi andl $-2, %esi xorl %edx, %edx xorl %ebx, %ebx jmp LBB0_13 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_13 Depth=1 addq $2, %rdx cmpq %rdx, %rsi je LBB0_7 LBB0_13: ## =>This Inner Loop Header: Depth=1 movl (%r12,%rdx,4), %edi testl %edi, %edi je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 xorl %ecx, %ecx cmpl %edi, -4(%r12,%rax,4) setle %cl addl %ecx, %ebx LBB0_15: ## in Loop: Header=BB0_13 Depth=1 movl 4(%r12,%rdx,4), %edi testl %edi, %edi je LBB0_17 ## %bb.16: ## in Loop: Header=BB0_13 Depth=1 xorl %ecx, %ecx cmpl %edi, -4(%r12,%rax,4) setle %cl addl %ecx, %ebx jmp LBB0_17 LBB0_18: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d%d" L_.str.1: ## @.str.1 .asciz "%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 sub sp, sp, #16 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] sub x8, x29, #64 sub x9, x29, #60 stp x9, x8, [sp, #-16]! Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _scanf add sp, sp, #16 mov x20, sp ldur w8, [x29, #-60] lsl x8, x8, #2 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x21, x9, x8 mov sp, x21 ldur w8, [x29, #-60] cmp w8, #1 b.lt LBB0_8 ; %bb.1: mov x22, #0 Lloh7: adrp x19, l_.str.1@PAGE Lloh8: add x19, x19, l_.str.1@PAGEOFF mov x23, x21 LBB0_2: ; =>This Inner Loop Header: Depth=1 str x23, [sp, #-16]! mov x0, x19 bl _scanf add sp, sp, #16 add x22, x22, #1 ldursw x8, [x29, #-60] add x23, x23, #4 cmp x22, x8 b.lt LBB0_2 ; %bb.3: and x9, x8, #0xffffffff cmp w9, #1 b.lt LBB0_8 ; %bb.4: mov w8, #0 ldursw x10, [x29, #-64] sub x10, x10, #1 mov x11, x21 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x11, x11, #4 subs x9, x9, #1 b.eq LBB0_9 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr w12, [x11] cbz w12, LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr w13, [x21, x10, lsl #2] cmp w13, w12 cinc w8, w8, le b LBB0_5 LBB0_8: mov w8, #0 LBB0_9: str x8, [sp, #-16]! Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF bl _printf add sp, sp, #16 mov sp, x20 ldur x8, [x29, #-56] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_11 ; %bb.10: mov w0, #0 sub sp, x29, #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_11: bl ___stack_chk_fail .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d%d" l_.str.1: ; @.str.1 .asciz "%d" .subsections_via_symbols
the_stack_data/658330.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _m68k_op_and_8_er_d ## -- Begin function m68k_op_and_8_er_d .p2align 4, 0x90 _m68k_op_and_8_er_d: ## @m68k_op_and_8_er_d .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _DY@GOTPCREL(%rip), %rax movl $-256, %edi orl (%rax), %edi movq _DX@GOTPCREL(%rip), %rax andl (%rax), %edi movl %edi, (%rax) callq _MASK_OUT_ABOVE_8 movq _FLAG_Z@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl %eax, %edi callq _NFLAG_8 movq _FLAG_N@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %eax movq _FLAG_C@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %eax movq _FLAG_V@GOTPCREL(%rip), %rcx movl %eax, (%rcx) popq %rbp retq .cfi_endproc ## -- End function .comm _DY,4,2 ## @DY .comm _DX,4,2 ## @DX .comm _FLAG_Z,4,2 ## @FLAG_Z .comm _FLAG_N,4,2 ## @FLAG_N .comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR .comm _FLAG_C,4,2 ## @FLAG_C .comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR .comm _FLAG_V,4,2 ## @FLAG_V .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _m68k_op_and_8_er_d ; -- Begin function m68k_op_and_8_er_d .p2align 2 _m68k_op_and_8_er_d: ; @m68k_op_and_8_er_d .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, _DY@GOTPAGE Lloh1: ldr x8, [x8, _DY@GOTPAGEOFF] Lloh2: ldr w8, [x8] orr w8, w8, #0xffffff00 Lloh3: adrp x9, _DX@GOTPAGE Lloh4: ldr x9, [x9, _DX@GOTPAGEOFF] ldr w10, [x9] and w0, w10, w8 str w0, [x9] bl _MASK_OUT_ABOVE_8 Lloh5: adrp x8, _FLAG_Z@GOTPAGE Lloh6: ldr x8, [x8, _FLAG_Z@GOTPAGEOFF] Lloh7: str w0, [x8] bl _NFLAG_8 Lloh8: adrp x8, _FLAG_N@GOTPAGE Lloh9: ldr x8, [x8, _FLAG_N@GOTPAGEOFF] Lloh10: str w0, [x8] Lloh11: adrp x8, _CFLAG_CLEAR@GOTPAGE Lloh12: ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF] Lloh13: ldr w8, [x8] Lloh14: adrp x9, _FLAG_C@GOTPAGE Lloh15: ldr x9, [x9, _FLAG_C@GOTPAGEOFF] Lloh16: str w8, [x9] Lloh17: adrp x8, _VFLAG_CLEAR@GOTPAGE Lloh18: ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF] Lloh19: ldr w8, [x8] Lloh20: adrp x9, _FLAG_V@GOTPAGE Lloh21: ldr x9, [x9, _FLAG_V@GOTPAGEOFF] Lloh22: str w8, [x9] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DY,4,2 ; @DY .comm _DX,4,2 ; @DX .comm _FLAG_Z,4,2 ; @FLAG_Z .comm _FLAG_N,4,2 ; @FLAG_N .comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR .comm _FLAG_C,4,2 ; @FLAG_C .comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR .comm _FLAG_V,4,2 ; @FLAG_V .subsections_via_symbols
AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_and_8_er_d.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mp_sws_scale ## -- Begin function mp_sws_scale .p2align 4, 0x90 _mp_sws_scale: ## @mp_sws_scale .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r12 movq %rsi, %r15 movq %rdi, %rbx movl 20(%rdx), %eax movl %eax, 20(%rdi) movl 20(%rsi), %eax movl %eax, 16(%rdi) callq _mp_sws_reinit testl %eax, %eax js LBB0_1 ## %bb.2: movl (%rbx), %edi movq 8(%r12), %rsi movl (%r12), %edx movl 16(%r12), %r8d movq 8(%r15), %r9 movl (%r15), %eax movl %eax, (%rsp) xorl %r14d, %r14d xorl %ecx, %ecx callq _sws_scale jmp LBB0_3 LBB0_1: movl %eax, %r14d leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _MP_ERR LBB0_3: movl %r14d, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "libswscale initialization failed.\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mp_sws_scale ; -- Begin function mp_sws_scale .p2align 2 _mp_sws_scale: ; @mp_sws_scale .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x19, x1 mov x21, x0 ldr w8, [x2, #20] ldr w9, [x1, #20] stp w9, w8, [x0, #16] bl _mp_sws_reinit tbnz w0, #31, LBB0_2 ; %bb.1: ldr w0, [x21] ldr x1, [x20, #8] ldr w2, [x20] ldr w4, [x20, #16] ldr x5, [x19, #8] ldr w6, [x19] mov w3, #0 bl _sws_scale mov w22, #0 b LBB0_3 LBB0_2: mov x22, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x21 bl _MP_ERR LBB0_3: mov x0, x22 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "libswscale initialization failed.\n" .subsections_via_symbols
AnghaBench/mpv/video/extr_sws_utils.c_mp_sws_scale.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __dwarf_set_error ## -- Begin function _dwarf_set_error .p2align 4, 0x90 __dwarf_set_error: ## @_dwarf_set_error .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ud2 .cfi_endproc ## -- End function .comm __libdwarf,16,3 ## @_libdwarf .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __dwarf_set_error ; -- Begin function _dwarf_set_error .p2align 2 __dwarf_set_error: ; @_dwarf_set_error .cfi_startproc ; %bb.0: brk #0x1 .cfi_endproc ; -- End function .comm __libdwarf,16,3 ; @_libdwarf .subsections_via_symbols
AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_libdwarf_error.c__dwarf_set_error.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #1 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d\n" .subsections_via_symbols
the_stack_data/107081.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ParseName _ParseName: ## @ParseName .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 $136, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movslq 20(%rdi), %r13 leaq L_.str(%rip), %rsi callq _FindTable movq %rax, %rbx movq %rsp, %r12 movl $0, -80(%rbp) movl $0, -56(%rbp) movq _HPDF_LIMIT_MAX_NAME_LEN@GOTPCREL(%rip), %rax movl (%rax), %eax incl %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 leaq L_.str.1(%rip), %rdi callq _HPDF_PTRACE testq %rbx, %rbx je LBB0_6 ## %bb.1: movq %r14, -128(%rbp) ## 8-byte Spill movl 8(%r13), %edi movq %rbx, -120(%rbp) ## 8-byte Spill movl (%rbx), %esi movq _HPDF_SEEK_SET@GOTPCREL(%rip), %rax movl (%rax), %edx callq _HPDF_Stream_Seek movq %rax, %r14 movq _HPDF_OK@GOTPCREL(%rip), %rax cmpq (%rax), %r14 jne LBB0_33 ## %bb.2: movq %r15, -88(%rbp) ## 8-byte Spill movl 8(%r13), %edi leaq 16(%r13), %rsi callq _GetUINT16 movq %rax, %rbx addq %r14, %rbx movl 8(%r13), %edi leaq 20(%r13), %rsi movq %rsi, -160(%rbp) ## 8-byte Spill callq _GetUINT16 movq %rax, %r14 addq %rbx, %r14 movl 8(%r13), %edi leaq 24(%r13), %rsi movq %rsi, -112(%rbp) ## 8-byte Spill callq _GetUINT16 movq %rax, %r15 addq %r14, %r15 movq _HPDF_OK@GOTPCREL(%rip), %rax cmpq (%rax), %r15 jne LBB0_29 ## %bb.3: movslq 24(%r13), %rdi callq _HPDF_PTRACE movq -88(%rbp), %rbx ## 8-byte Reload movl 16(%rbx), %edi movl 20(%r13), %eax shll $3, %eax leal (%rax,%rax,2), %esi callq _HPDF_GetMem movq %rax, 32(%r13) testq %rax, %rax je LBB0_30 ## %bb.4: movq %rax, %r14 movq %r12, -136(%rbp) ## 8-byte Spill movq -160(%rbp), %rax ## 8-byte Reload cmpl $0, (%rax) jle LBB0_35 ## %bb.5: movl $0, -92(%rbp) ## 4-byte Folded Spill movl $0, -68(%rbp) ## 4-byte Folded Spill movl $0, -60(%rbp) ## 4-byte Folded Spill movl $0, -64(%rbp) ## 4-byte Folded Spill movl $0, -72(%rbp) ## 4-byte Folded Spill movl $0, -96(%rbp) ## 4-byte Folded Spill movl $0, -76(%rbp) ## 4-byte Folded Spill movl $0, -100(%rbp) ## 4-byte Folded Spill xorl %edx, %edx movq %r13, -176(%rbp) ## 8-byte Spill jmp LBB0_10 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_10 Depth=1 movq -168(%rbp), %rax ## 8-byte Reload cmpl $0, (%rax) je LBB0_14 LBB0_8: ## in Loop: Header=BB0_10 Depth=1 movl -52(%rbp), %edx ## 4-byte Reload LBB0_9: ## in Loop: Header=BB0_10 Depth=1 addq $24, %r14 incl %edx movq -160(%rbp), %rax ## 8-byte Reload cmpl (%rax), %edx movq -176(%rbp), %r13 ## 8-byte Reload jge LBB0_36 LBB0_10: ## =>This Inner Loop Header: Depth=1 movl %edx, -52(%rbp) ## 4-byte Spill movl 8(%r13), %edi movq %r14, %rsi callq _GetUINT16 movq %rax, %rbx addq %r15, %rbx movl 8(%r13), %edi leaq 4(%r14), %rsi movq %rsi, -168(%rbp) ## 8-byte Spill callq _GetUINT16 movq %rax, %r15 addq %rbx, %r15 movl 8(%r13), %edi leaq 8(%r14), %rsi movq %rsi, -152(%rbp) ## 8-byte Spill callq _GetUINT16 movq %rax, %rbx addq %r15, %rbx movl 8(%r13), %edi leaq 12(%r14), %r12 movq %r12, %rsi callq _GetUINT16 movq %rax, %r15 addq %rbx, %r15 movl 8(%r13), %edi leaq 16(%r14), %rsi movq %rsi, -144(%rbp) ## 8-byte Spill callq _GetUINT16 movq %rax, %rbx addq %r15, %rbx movl 8(%r13), %edi leaq 20(%r14), %r13 movq %r13, %rsi callq _GetUINT16 movq %rax, %r15 addq %rbx, %r15 movq _HPDF_OK@GOTPCREL(%rip), %rax cmpq (%rax), %r15 jne LBB0_43 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 movslq 12(%r14), %rdi callq _HPDF_PTRACE movl (%r14), %eax cmpl $1, %eax je LBB0_12 LBB0_19: ## in Loop: Header=BB0_10 Depth=1 cmpl $3, %eax jne LBB0_8 ## %bb.20: ## in Loop: Header=BB0_10 Depth=1 movq -168(%rbp), %rax ## 8-byte Reload cmpl $1, (%rax) jne LBB0_8 ## %bb.21: ## in Loop: Header=BB0_10 Depth=1 movl (%r12), %eax cmpl $2, %eax je LBB0_27 ## %bb.22: ## in Loop: Header=BB0_10 Depth=1 cmpl $6, %eax movl -52(%rbp), %edx ## 4-byte Reload jne LBB0_9 ## %bb.23: ## in Loop: Header=BB0_10 Depth=1 movq -152(%rbp), %rax ## 8-byte Reload cmpl $1033, (%rax) ## imm = 0x409 jne LBB0_9 ## %bb.24: ## in Loop: Header=BB0_10 Depth=1 movl (%r13), %ecx movq -120(%rbp), %rax ## 8-byte Reload addl (%rax), %ecx movq -112(%rbp), %rax ## 8-byte Reload addl (%rax), %ecx movl %ecx, -96(%rbp) ## 4-byte Spill movq -144(%rbp), %rax ## 8-byte Reload movl (%rax), %eax movl %eax, -64(%rbp) ## 4-byte Spill jmp LBB0_9 LBB0_14: ## in Loop: Header=BB0_10 Depth=1 movl (%r12), %eax cmpl $2, %eax je LBB0_18 ## %bb.15: ## in Loop: Header=BB0_10 Depth=1 cmpl $6, %eax jne LBB0_8 ## %bb.16: ## in Loop: Header=BB0_10 Depth=1 movl 20(%r14), %ecx movq -120(%rbp), %rax ## 8-byte Reload addl (%rax), %ecx movq -112(%rbp), %rax ## 8-byte Reload addl (%rax), %ecx movl %ecx, -100(%rbp) ## 4-byte Spill movl 16(%r14), %eax movl %eax, -68(%rbp) ## 4-byte Spill movl %eax, -80(%rbp) movl (%r14), %eax cmpl $1, %eax je LBB0_8 jmp LBB0_19 LBB0_18: ## in Loop: Header=BB0_10 Depth=1 movl 16(%r14), %edx movl 20(%r14), %eax movq -120(%rbp), %rcx ## 8-byte Reload addl (%rcx), %eax movq -112(%rbp), %rcx ## 8-byte Reload addl (%rcx), %eax movl %eax, -76(%rbp) ## 4-byte Spill movl %edx, -92(%rbp) ## 4-byte Spill movl %edx, -56(%rbp) movl (%r14), %eax jmp LBB0_19 LBB0_27: ## in Loop: Header=BB0_10 Depth=1 movq -152(%rbp), %rax ## 8-byte Reload cmpl $1033, (%rax) ## imm = 0x409 movl -52(%rbp), %edx ## 4-byte Reload jne LBB0_9 ## %bb.28: ## in Loop: Header=BB0_10 Depth=1 movl (%r13), %eax movq -120(%rbp), %rcx ## 8-byte Reload addl (%rcx), %eax movq -112(%rbp), %rcx ## 8-byte Reload addl (%rcx), %eax movl %eax, -72(%rbp) ## 4-byte Spill movq -144(%rbp), %rax ## 8-byte Reload movl (%rax), %eax movl %eax, -60(%rbp) ## 4-byte Spill jmp LBB0_9 LBB0_6: movl 12(%r15), %edi movq _HPDF_TTF_MISSING_TABLE@GOTPCREL(%rip), %rax movl (%rax), %esi movl $10, %edx LBB0_7: callq _HPDF_SetError jmp LBB0_32 LBB0_29: movq -88(%rbp), %rax ## 8-byte Reload movl 12(%rax), %edi jmp LBB0_31 LBB0_30: movl 12(%rbx), %edi LBB0_31: callq _HPDF_Error_GetCode LBB0_32: movq %rax, %r14 LBB0_33: movq %r12, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_72 ## %bb.34: movq %r14, %rax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_35: movl $0, -92(%rbp) ## 4-byte Folded Spill movl $0, -68(%rbp) ## 4-byte Folded Spill movl $0, -100(%rbp) ## 4-byte Folded Spill movl $0, -76(%rbp) ## 4-byte Folded Spill movl $0, -96(%rbp) ## 4-byte Folded Spill movl $0, -72(%rbp) ## 4-byte Folded Spill movl $0, -64(%rbp) ## 4-byte Folded Spill movl $0, -60(%rbp) ## 4-byte Folded Spill LBB0_36: movl -100(%rbp), %ebx ## 4-byte Reload movl %ebx, %eax movl -96(%rbp), %r14d ## 4-byte Reload orl %r14d, %eax movq -136(%rbp), %r12 ## 8-byte Reload je LBB0_41 ## %bb.37: movl -76(%rbp), %eax ## 4-byte Reload orl -72(%rbp), %eax ## 4-byte Folded Reload je LBB0_41 ## %bb.38: cmpl $0, -68(%rbp) ## 4-byte Folded Reload movq -88(%rbp), %rdx ## 8-byte Reload jne LBB0_44 ## %bb.39: cmpl $0, -64(%rbp) ## 4-byte Folded Reload movq _HPDF_LIMIT_MAX_NAME_LEN@GOTPCREL(%rip), %r15 jle LBB0_45 ## %bb.40: movl -64(%rbp), %ecx ## 4-byte Reload movl %ecx, %eax shrl %eax andl $1, %ecx addl %eax, %ecx movl %ecx, -68(%rbp) ## 4-byte Spill movl %ecx, -80(%rbp) jmp LBB0_45 LBB0_41: movq -88(%rbp), %rax ## 8-byte Reload movl 12(%rax), %edi LBB0_42: movq _HPDF_TTF_INVALID_FOMAT@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx jmp LBB0_7 LBB0_43: movq -88(%rbp), %rax ## 8-byte Reload movl 12(%rax), %edi callq _HPDF_Error_GetCode movq %rax, %r14 movq -136(%rbp), %r12 ## 8-byte Reload jmp LBB0_33 LBB0_44: movq _HPDF_LIMIT_MAX_NAME_LEN@GOTPCREL(%rip), %r15 LBB0_45: movl -92(%rbp), %ecx ## 4-byte Reload testl %ecx, %ecx jne LBB0_48 ## %bb.46: cmpl $0, -60(%rbp) ## 4-byte Folded Reload jle LBB0_48 ## %bb.47: movl -60(%rbp), %ecx ## 4-byte Reload movl %ecx, %eax shrl %eax andl $1, %ecx addl %eax, %ecx movl %ecx, -56(%rbp) LBB0_48: addl -68(%rbp), %ecx ## 4-byte Folded Reload cmpl $120, %ecx jl LBB0_50 ## %bb.49: movl 12(%rdx), %edi jmp LBB0_42 LBB0_50: movq (%r13), %rdi movl (%r15), %edx incl %edx xorl %esi, %esi callq _HPDF_MemSet movl 8(%r13), %edi testl %ebx, %ebx je LBB0_53 ## %bb.51: movq _HPDF_SEEK_SET@GOTPCREL(%rip), %rax movl (%rax), %edx movl %ebx, %esi callq _HPDF_Stream_Seek movq %rax, %r14 movq _HPDF_OK@GOTPCREL(%rip), %rax cmpq (%rax), %r14 jne LBB0_33 ## %bb.52: movl 8(%r13), %edi movq (%r13), %rsi leaq -80(%rbp), %rdx callq _HPDF_Stream_Read jmp LBB0_54 LBB0_53: movq (%r13), %rcx movl %r14d, %esi movl -64(%rbp), %edx ## 4-byte Reload callq _LoadUnicodeName LBB0_54: movq %rax, %r14 movq _HPDF_OK@GOTPCREL(%rip), %rax cmpq (%rax), %r14 jne LBB0_33 ## %bb.55: movl (%r15), %edx incl %edx movq -128(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi xorl %esi, %esi callq _HPDF_MemSet movl 8(%r13), %edi movl -76(%rbp), %esi ## 4-byte Reload testl %esi, %esi je LBB0_58 ## %bb.56: movq _HPDF_SEEK_SET@GOTPCREL(%rip), %rax movl (%rax), %edx callq _HPDF_Stream_Seek movq %rax, %r14 movq _HPDF_OK@GOTPCREL(%rip), %rax cmpq (%rax), %r14 jne LBB0_33 ## %bb.57: movl 8(%r13), %edi leaq -56(%rbp), %rdx movq -128(%rbp), %rsi ## 8-byte Reload callq _HPDF_Stream_Read jmp LBB0_59 LBB0_58: movl -72(%rbp), %esi ## 4-byte Reload movl -60(%rbp), %edx ## 4-byte Reload movq %rbx, %rcx callq _LoadUnicodeName LBB0_59: movq %rax, %r14 movq _HPDF_OK@GOTPCREL(%rip), %rax cmpq (%rax), %r14 jne LBB0_33 ## %bb.60: leaq L_.str.4(%rip), %rsi movq -128(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi movl $7, %edx callq _HPDF_MemCmp testq %rax, %rax movq -88(%rbp), %rsi ## 8-byte Reload je LBB0_71 ## %bb.61: movq (%r13), %rcx movslq -80(%rbp), %rdx leaq (%rcx,%rdx), %rax incq %rax movb $44, (%rcx,%rdx) cmpl $0, -56(%rbp) jle LBB0_67 ## %bb.62: xorl %ecx, %ecx movq %r14, %rdx LBB0_63: ## =>This Inner Loop Header: Depth=1 movzbl (%rdx), %ebx cmpb $32, %bl je LBB0_65 ## %bb.64: ## in Loop: Header=BB0_63 Depth=1 incq %rdx movb %bl, (%rax) incq %rax LBB0_65: ## in Loop: Header=BB0_63 Depth=1 movslq (%r15), %rsi addq (%r13), %rsi cmpq %rsi, %rax movq -88(%rbp), %rsi ## 8-byte Reload jae LBB0_67 ## %bb.66: ## in Loop: Header=BB0_63 Depth=1 incl %ecx cmpl -56(%rbp), %ecx jl LBB0_63 LBB0_67: movq %rsi, %rbx movb $0, (%rax) movl -56(%rbp), %edx leaq L_.str.5(%rip), %rsi movq %r14, %rdi callq _HPDF_StrStr testq %rax, %rax je LBB0_69 ## %bb.68: movq _HPDF_FONT_FOURCE_BOLD@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 8(%rbx) LBB0_69: movl -56(%rbp), %edx leaq L_.str.6(%rip), %rsi movq %r14, %rdi callq _HPDF_StrStr testq %rax, %rax movq %rbx, %rsi je LBB0_71 ## %bb.70: movq _HPDF_FONT_ITALIC@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 8(%rsi) LBB0_71: movq (%rsi), %rdi movq (%r13), %rsi movl (%r15), %edx incl %edx callq _HPDF_MemCpy movq (%r13), %rdi callq _HPDF_PTRACE movq _HPDF_OK@GOTPCREL(%rip), %rax movq (%rax), %r14 jmp LBB0_33 LBB0_72: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "name" .comm _HPDF_LIMIT_MAX_NAME_LEN,4,2 ## @HPDF_LIMIT_MAX_NAME_LEN L_.str.1: ## @.str.1 .asciz " HPDF_TTFontDef_ParseMaxp\n" .comm _HPDF_TTF_MISSING_TABLE,4,2 ## @HPDF_TTF_MISSING_TABLE .comm _HPDF_SEEK_SET,4,2 ## @HPDF_SEEK_SET .comm _HPDF_OK,8,3 ## @HPDF_OK .comm _HPDF_TTF_INVALID_FOMAT,4,2 ## @HPDF_TTF_INVALID_FOMAT L_.str.4: ## @.str.4 .asciz "Regular" L_.str.5: ## @.str.5 .asciz "Bold" .comm _HPDF_FONT_FOURCE_BOLD,4,2 ## @HPDF_FONT_FOURCE_BOLD L_.str.6: ## @.str.6 .asciz "Italic" .comm _HPDF_FONT_ITALIC,4,2 ## @HPDF_FONT_ITALIC .no_dead_strip _ParseName .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ParseName _ParseName: ; @ParseName .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #96 mov x23, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] ldrsw x20, [x0, #20] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _FindTable mov x24, x0 mov x22, sp stur xzr, [x29, #-96] Lloh5: adrp x8, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGE Lloh6: ldr x8, [x8, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGEOFF] Lloh7: ldr w8, [x8] add w8, w8, #1 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, #0x1fffffff0 sub x26, x9, x8 mov sp, x26 Lloh10: adrp x0, l_.str.1@PAGE Lloh11: add x0, x0, l_.str.1@PAGEOFF bl _HPDF_PTRACE cbz x24, LBB0_22 ; %bb.1: ldr w0, [x20, #8] ldr w1, [x24] Lloh12: adrp x8, _HPDF_SEEK_SET@GOTPAGE Lloh13: ldr x8, [x8, _HPDF_SEEK_SET@GOTPAGEOFF] Lloh14: ldr w2, [x8] bl _HPDF_Stream_Seek mov x21, x0 Lloh15: adrp x25, _HPDF_OK@GOTPAGE Lloh16: ldr x25, [x25, _HPDF_OK@GOTPAGEOFF] ldr x8, [x25] cmp x0, x8 b.ne LBB0_26 ; %bb.2: ldr w0, [x20, #8] add x1, x20, #16 bl _GetUINT16 add x19, x0, x21 ldr w0, [x20, #8] add x1, x20, #20 stur x1, [x29, #-104] ; 8-byte Folded Spill bl _GetUINT16 add x19, x19, x0 ldr w0, [x20, #8] add x27, x20, #24 mov x1, x27 bl _GetUINT16 ldr x8, [x25] add x19, x19, x0 cmp x19, x8 b.ne LBB0_24 ; %bb.3: ldrsw x0, [x20, #24] bl _HPDF_PTRACE ldr w0, [x23, #16] ldr w8, [x20, #20] add w8, w8, w8, lsl #1 lsl w1, w8, #3 bl _HPDF_GetMem str x0, [x20, #32] cbz x0, LBB0_24 ; %bb.4: stur x26, [x29, #-176] ; 8-byte Folded Spill stp x23, x22, [x29, #-144] ; 16-byte Folded Spill ldur x8, [x29, #-104] ; 8-byte Folded Reload ldr w8, [x8] cmp w8, #1 b.lt LBB0_28 ; %bb.5: mov x21, x0 stp xzr, x27, [x29, #-128] ; 16-byte Folded Spill stur xzr, [x29, #-156] ; 8-byte Folded Spill stur xzr, [x29, #-164] ; 8-byte Folded Spill stur wzr, [x29, #-148] ; 4-byte Folded Spill stur wzr, [x29, #-108] ; 4-byte Folded Spill mov w28, #0 b LBB0_8 LBB0_6: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x25] cbz w8, LBB0_16 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 add x21, x21, #24 add w28, w28, #1 ldur x8, [x29, #-104] ; 8-byte Folded Reload ldr w8, [x8] cmp w28, w8 b.ge LBB0_29 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w0, [x20, #8] mov x1, x21 bl _GetUINT16 add x19, x0, x19 ldr w0, [x20, #8] add x25, x21, #4 mov x1, x25 bl _GetUINT16 add x19, x19, x0 ldr w0, [x20, #8] add x23, x21, #8 mov x1, x23 bl _GetUINT16 add x19, x19, x0 ldr w0, [x20, #8] add x22, x21, #12 mov x1, x22 bl _GetUINT16 add x19, x19, x0 ldr w0, [x20, #8] add x26, x21, #16 mov x1, x26 bl _GetUINT16 add x19, x19, x0 ldr w0, [x20, #8] add x27, x21, #20 mov x1, x27 bl _GetUINT16 Lloh17: adrp x8, _HPDF_OK@GOTPAGE Lloh18: ldr x8, [x8, _HPDF_OK@GOTPAGEOFF] Lloh19: ldr x8, [x8] add x19, x19, x0 cmp x19, x8 b.ne LBB0_36 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 ldrsw x0, [x21, #12] bl _HPDF_PTRACE ldr w8, [x21] cmp w8, #1 b.eq LBB0_6 LBB0_10: ; in Loop: Header=BB0_8 Depth=1 cmp w8, #3 b.ne LBB0_7 ; %bb.11: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x25] cmp w8, #1 b.ne LBB0_7 ; %bb.12: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x22] cmp w8, #2 b.eq LBB0_20 ; %bb.13: ; in Loop: Header=BB0_8 Depth=1 cmp w8, #6 b.ne LBB0_7 ; %bb.14: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x23] cmp w8, #1033 b.ne LBB0_7 ; %bb.15: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x24] ldr w9, [x27] ldur x10, [x29, #-120] ; 8-byte Folded Reload ldr w10, [x10] add w8, w9, w8 add w8, w8, w10 stur w8, [x29, #-148] ; 4-byte Folded Spill ldr w8, [x26] stur w8, [x29, #-160] ; 4-byte Folded Spill b LBB0_7 LBB0_16: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x22] cmp w8, #2 b.eq LBB0_19 ; %bb.17: ; in Loop: Header=BB0_8 Depth=1 cmp w8, #6 b.ne LBB0_7 ; %bb.18: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x24] ldur x9, [x29, #-120] ; 8-byte Folded Reload ldr w9, [x9] ldp w11, w10, [x21, #16] add w8, w10, w8 add w8, w8, w9 stur w8, [x29, #-108] ; 4-byte Folded Spill stur w11, [x29, #-128] ; 4-byte Folded Spill stur w11, [x29, #-92] ldr w8, [x21] cmp w8, #1 b.eq LBB0_7 b LBB0_10 LBB0_19: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x24] ldur x9, [x29, #-120] ; 8-byte Folded Reload ldr w9, [x9] ldp w11, w10, [x21, #16] add w8, w10, w8 add w8, w8, w9 stur w8, [x29, #-124] ; 4-byte Folded Spill stur w11, [x29, #-152] ; 4-byte Folded Spill stur w11, [x29, #-96] ldr w8, [x21] b LBB0_10 LBB0_20: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x23] cmp w8, #1033 b.ne LBB0_7 ; %bb.21: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x24] ldr w9, [x27] ldur x10, [x29, #-120] ; 8-byte Folded Reload ldr w10, [x10] add w8, w9, w8 add w8, w8, w10 stur w8, [x29, #-156] ; 4-byte Folded Spill ldr w8, [x26] stur w8, [x29, #-164] ; 4-byte Folded Spill b LBB0_7 LBB0_22: ldr w0, [x23, #12] Lloh20: adrp x8, _HPDF_TTF_MISSING_TABLE@GOTPAGE Lloh21: ldr x8, [x8, _HPDF_TTF_MISSING_TABLE@GOTPAGEOFF] Lloh22: ldr w1, [x8] mov w2, #10 LBB0_23: bl _HPDF_SetError b LBB0_25 LBB0_24: ldr w0, [x23, #12] bl _HPDF_Error_GetCode LBB0_25: mov x21, x0 LBB0_26: mov sp, x22 ldur x8, [x29, #-88] Lloh23: adrp x9, ___stack_chk_guard@GOTPAGE Lloh24: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh25: ldr x9, [x9] cmp x9, x8 b.ne LBB0_65 ; %bb.27: mov x0, x21 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_28: stp xzr, xzr, [x29, #-160] ; 16-byte Folded Spill stur xzr, [x29, #-128] ; 8-byte Folded Spill stur wzr, [x29, #-108] ; 4-byte Folded Spill stur wzr, [x29, #-164] ; 4-byte Folded Spill LBB0_29: ldur w21, [x29, #-148] ; 4-byte Folded Reload ldur w8, [x29, #-108] ; 4-byte Folded Reload orr w8, w8, w21 ldur x22, [x29, #-136] ; 8-byte Folded Reload ldur w28, [x29, #-124] ; 4-byte Folded Reload cbz w8, LBB0_34 ; %bb.30: ldur w8, [x29, #-156] ; 4-byte Folded Reload orr w8, w28, w8 cbz w8, LBB0_34 ; %bb.31: ldur x19, [x29, #-144] ; 8-byte Folded Reload ldur w8, [x29, #-128] ; 4-byte Folded Reload cbnz w8, LBB0_37 ; %bb.32: ldp w27, w8, [x29, #-164] ; 8-byte Folded Reload cmp w8, #1 Lloh26: adrp x23, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGE Lloh27: ldr x23, [x23, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGEOFF] Lloh28: adrp x24, _HPDF_OK@GOTPAGE Lloh29: ldr x24, [x24, _HPDF_OK@GOTPAGEOFF] ldur x25, [x29, #-176] ; 8-byte Folded Reload Lloh30: adrp x26, _HPDF_SEEK_SET@GOTPAGE Lloh31: ldr x26, [x26, _HPDF_SEEK_SET@GOTPAGEOFF] b.lt LBB0_38 ; %bb.33: ldur w9, [x29, #-160] ; 4-byte Folded Reload and w8, w9, #0x1 add w8, w8, w9, lsr #1 stur w8, [x29, #-128] ; 4-byte Folded Spill stur w8, [x29, #-92] b LBB0_38 LBB0_34: ldur x8, [x29, #-144] ; 8-byte Folded Reload ldr w0, [x8, #12] LBB0_35: Lloh32: adrp x8, _HPDF_TTF_INVALID_FOMAT@GOTPAGE Lloh33: ldr x8, [x8, _HPDF_TTF_INVALID_FOMAT@GOTPAGEOFF] Lloh34: ldr w1, [x8] mov w2, #0 b LBB0_23 LBB0_36: ldur x8, [x29, #-144] ; 8-byte Folded Reload ldr w0, [x8, #12] bl _HPDF_Error_GetCode mov x21, x0 ldur x22, [x29, #-136] ; 8-byte Folded Reload b LBB0_26 LBB0_37: Lloh35: adrp x23, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGE Lloh36: ldr x23, [x23, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGEOFF] Lloh37: adrp x24, _HPDF_OK@GOTPAGE Lloh38: ldr x24, [x24, _HPDF_OK@GOTPAGEOFF] ldur x25, [x29, #-176] ; 8-byte Folded Reload Lloh39: adrp x26, _HPDF_SEEK_SET@GOTPAGE Lloh40: ldr x26, [x26, _HPDF_SEEK_SET@GOTPAGEOFF] ldur w27, [x29, #-164] ; 4-byte Folded Reload LBB0_38: ldur w8, [x29, #-152] ; 4-byte Folded Reload cbnz w8, LBB0_41 ; %bb.39: cmp w27, #1 b.lt LBB0_41 ; %bb.40: and w8, w27, #0x1 add w8, w8, w27, lsr #1 stur w8, [x29, #-96] LBB0_41: ldur w9, [x29, #-128] ; 4-byte Folded Reload add w8, w8, w9 cmp w8, #120 b.lt LBB0_43 ; %bb.42: ldr w0, [x19, #12] b LBB0_35 LBB0_43: ldr x0, [x20] ldr w8, [x23] add w2, w8, #1 mov w1, #0 bl _HPDF_MemSet ldr w0, [x20, #8] ldur w1, [x29, #-108] ; 4-byte Folded Reload cbz w1, LBB0_46 ; %bb.44: ldr w2, [x26] bl _HPDF_Stream_Seek mov x21, x0 ldr x8, [x24] cmp x0, x8 b.ne LBB0_26 ; %bb.45: ldr w0, [x20, #8] ldr x1, [x20] sub x2, x29, #92 bl _HPDF_Stream_Read b LBB0_47 LBB0_46: ldr x3, [x20] mov x1, x21 ldur w2, [x29, #-160] ; 4-byte Folded Reload bl _LoadUnicodeName LBB0_47: mov x21, x0 ldr x8, [x24] cmp x0, x8 b.ne LBB0_26 ; %bb.48: ldr w8, [x23] add w2, w8, #1 mov x0, x25 mov w1, #0 bl _HPDF_MemSet ldr w0, [x20, #8] cbz w28, LBB0_51 ; %bb.49: ldr w2, [x26] mov x1, x28 bl _HPDF_Stream_Seek mov x21, x0 ldr x8, [x24] cmp x0, x8 b.ne LBB0_26 ; %bb.50: ldr w0, [x20, #8] sub x2, x29, #96 mov x1, x25 bl _HPDF_Stream_Read b LBB0_52 LBB0_51: ldur w1, [x29, #-156] ; 4-byte Folded Reload mov x2, x27 mov x3, x25 bl _LoadUnicodeName LBB0_52: mov x21, x0 ldr x8, [x24] cmp x0, x8 b.ne LBB0_26 ; %bb.53: Lloh41: adrp x1, l_.str.4@PAGE Lloh42: add x1, x1, l_.str.4@PAGEOFF mov x0, x25 mov w2, #7 bl _HPDF_MemCmp cbz x0, LBB0_64 ; %bb.54: ldr x8, [x20] ldursw x9, [x29, #-92] add x8, x8, x9 mov w9, #44 strb w9, [x8], #1 ldur w9, [x29, #-96] cmp w9, #1 b.lt LBB0_60 ; %bb.55: mov w9, #0 mov x10, x25 LBB0_56: ; =>This Inner Loop Header: Depth=1 ldrb w11, [x10] cmp w11, #32 b.eq LBB0_58 ; %bb.57: ; in Loop: Header=BB0_56 Depth=1 add x10, x10, #1 strb w11, [x8], #1 LBB0_58: ; in Loop: Header=BB0_56 Depth=1 ldr x11, [x20] ldrsw x12, [x23] add x11, x11, x12 cmp x8, x11 b.hs LBB0_60 ; %bb.59: ; in Loop: Header=BB0_56 Depth=1 add w9, w9, #1 ldur w11, [x29, #-96] cmp w9, w11 b.lt LBB0_56 LBB0_60: strb wzr, [x8] ldur w2, [x29, #-96] Lloh43: adrp x1, l_.str.5@PAGE Lloh44: add x1, x1, l_.str.5@PAGEOFF mov x0, x25 bl _HPDF_StrStr cbz x0, LBB0_62 ; %bb.61: Lloh45: adrp x8, _HPDF_FONT_FOURCE_BOLD@GOTPAGE Lloh46: ldr x8, [x8, _HPDF_FONT_FOURCE_BOLD@GOTPAGEOFF] Lloh47: ldr w8, [x8] ldr w9, [x19, #8] orr w8, w9, w8 str w8, [x19, #8] LBB0_62: ldur w2, [x29, #-96] Lloh48: adrp x1, l_.str.6@PAGE Lloh49: add x1, x1, l_.str.6@PAGEOFF mov x0, x25 bl _HPDF_StrStr cbz x0, LBB0_64 ; %bb.63: Lloh50: adrp x8, _HPDF_FONT_ITALIC@GOTPAGE Lloh51: ldr x8, [x8, _HPDF_FONT_ITALIC@GOTPAGEOFF] Lloh52: ldr w8, [x8] ldr w9, [x19, #8] orr w8, w9, w8 str w8, [x19, #8] LBB0_64: ldr x0, [x19] ldr x1, [x20] ldr w8, [x23] add w2, w8, #1 bl _HPDF_MemCpy ldr x0, [x20] bl _HPDF_PTRACE ldr x21, [x24] b LBB0_26 LBB0_65: bl ___stack_chk_fail .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGot Lloh39, Lloh40 .loh AdrpLdrGot Lloh37, Lloh38 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "name" .comm _HPDF_LIMIT_MAX_NAME_LEN,4,2 ; @HPDF_LIMIT_MAX_NAME_LEN l_.str.1: ; @.str.1 .asciz " HPDF_TTFontDef_ParseMaxp\n" .comm _HPDF_TTF_MISSING_TABLE,4,2 ; @HPDF_TTF_MISSING_TABLE .comm _HPDF_SEEK_SET,4,2 ; @HPDF_SEEK_SET .comm _HPDF_OK,8,3 ; @HPDF_OK .comm _HPDF_TTF_INVALID_FOMAT,4,2 ; @HPDF_TTF_INVALID_FOMAT l_.str.4: ; @.str.4 .asciz "Regular" l_.str.5: ; @.str.5 .asciz "Bold" .comm _HPDF_FONT_FOURCE_BOLD,4,2 ; @HPDF_FONT_FOURCE_BOLD l_.str.6: ; @.str.6 .asciz "Italic" .comm _HPDF_FONT_ITALIC,4,2 ; @HPDF_FONT_ITALIC .no_dead_strip _ParseName .subsections_via_symbols
AnghaBench/poco/PDF/src/extr_hpdf_fontdef_tt.c_ParseName.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function omapfb_unlock _omapfb_unlock: ## @omapfb_unlock .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 _mutex_unlock ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _omapfb_unlock .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function omapfb_unlock _omapfb_unlock: ; @omapfb_unlock .cfi_startproc ; %bb.0: b _mutex_unlock .cfi_endproc ; -- End function .no_dead_strip _omapfb_unlock .subsections_via_symbols
AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/extr_omapfb.h_omapfb_unlock.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 $144, %rsp leaq L_.str(%rip), %rdi leaq -144(%rbp), %rsi callq _stat$INODE64 testl %eax, %eax je LBB0_2 ## %bb.1: callq ___error movl (%rax), %esi leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB0_3 LBB0_2: leaq L_str(%rip), %rdi callq _puts leaq L_str.17(%rip), %rdi callq _puts movzwl -144(%rbp), %r8d leaq L_.str.4(%rip), %rdi leaq -144(%rbp), %rdx movl $4, %esi xorl %ecx, %ecx xorl %eax, %eax callq _printf leaq -136(%rbp), %rdx movzwl -136(%rbp), %r8d leaq L_.str.5(%rip), %rdi movl $8, %esi movl $8, %ecx xorl %eax, %eax callq _printf leaq -140(%rbp), %rdx movzwl -140(%rbp), %r8d leaq L_.str.6(%rip), %rdi movl $2, %esi movl $4, %ecx xorl %eax, %eax callq _printf leaq -138(%rbp), %rdx movzwl -138(%rbp), %r8d leaq L_.str.7(%rip), %rdi movl $2, %esi movl $6, %ecx xorl %eax, %eax callq _printf leaq -128(%rbp), %rdx movzwl -128(%rbp), %r8d leaq L_.str.8(%rip), %rdi movl $4, %esi movl $16, %ecx xorl %eax, %eax callq _printf leaq -124(%rbp), %rdx movzwl -124(%rbp), %r8d leaq L_.str.9(%rip), %rdi movl $4, %esi movl $20, %ecx xorl %eax, %eax callq _printf leaq -120(%rbp), %rdx movzwl -120(%rbp), %r8d leaq L_.str.10(%rip), %rdi movl $4, %esi movl $24, %ecx xorl %eax, %eax callq _printf leaq -48(%rbp), %rdx movl -48(%rbp), %r8d leaq L_.str.11(%rip), %rdi movl $8, %esi movl $96, %ecx xorl %eax, %eax callq _printf leaq -112(%rbp), %rdx movl -112(%rbp), %r8d leaq L_.str.12(%rip), %rdi movl $8, %esi movl $32, %ecx xorl %eax, %eax callq _printf leaq -96(%rbp), %rdx movl -96(%rbp), %r8d leaq L_.str.13(%rip), %rdi movl $8, %esi movl $48, %ecx xorl %eax, %eax callq _printf leaq -80(%rbp), %rdx movl -80(%rbp), %r8d leaq L_.str.14(%rip), %rdi movl $8, %esi movl $64, %ecx xorl %eax, %eax callq _printf leaq -32(%rbp), %rdx movl -32(%rbp), %r8d leaq L_.str.15(%rip), %rdi movl $4, %esi movl $112, %ecx xorl %eax, %eax callq _printf leaq -40(%rbp), %rdx movl -40(%rbp), %r8d leaq L_.str.16(%rip), %rdi movl $8, %esi movl $104, %ecx xorl %eax, %eax callq _printf LBB0_3: xorl %eax, %eax addq $144, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/tmp/" L_.str.1: ## @.str.1 .asciz "Error in stat! errno=%d\n" L_.str.4: ## @.str.4 .asciz "st_dev \t%d\t%p\t%p\t\t%04x\n" L_.str.5: ## @.str.5 .asciz "st_ino \t%d\t%p\t%p\t\t%04x\n" L_.str.6: ## @.str.6 .asciz "st_mode \t%d\t%p\t%p\t\t%04x\n" L_.str.7: ## @.str.7 .asciz "st_nlink \t%d\t%p\t%p\t\t%04x\n" L_.str.8: ## @.str.8 .asciz "st_uid \t%d\t%p\t%p\t\t%04x\n" L_.str.9: ## @.str.9 .asciz "st_gid \t%d\t%p\t%p\t\t%04x\n" L_.str.10: ## @.str.10 .asciz "st_rdev \t%d\t%p\t%p\t\t%04x\n" L_.str.11: ## @.str.11 .asciz "st_size \t%d\t%p\t%p\t\t%04x\n" L_.str.12: ## @.str.12 .asciz "st_atime \t%d\t%p\t%p\t\t%04x\n" L_.str.13: ## @.str.13 .asciz "st_mtime \t%d\t%p\t%p\t\t%04x\n" L_.str.14: ## @.str.14 .asciz "st_ctime \t%d\t%p\t%p\t\t%04x\n" L_.str.15: ## @.str.15 .asciz "st_blksize\t%d\t%p\t%p\t\t%04x\n" L_.str.16: ## @.str.16 .asciz "st_blocks \t%d\t%p\t%p\t\t%04x\n" L_str: ## @str .asciz "Name\t\tSize\tLoc\tOffset\tValue" L_str.17: ## @str.17 .asciz "----------------------------------------------------" .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, #224 .cfi_def_cfa_offset 224 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 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF add x19, sp, #32 add x1, sp, #32 bl _stat cbz w0, LBB0_2 ; %bb.1: bl ___error ldr w8, [x0] str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF b LBB0_3 LBB0_2: Lloh4: adrp x0, l_str@PAGE Lloh5: add x0, x0, l_str@PAGEOFF bl _puts Lloh6: adrp x0, l_str.17@PAGE Lloh7: add x0, x0, l_str.17@PAGEOFF bl _puts ldrh w8, [sp, #32] stp xzr, x8, [sp, #16] mov w21, #4 stp x21, x19, [sp] Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF bl _printf add x8, x19, #8 ldrh w9, [sp, #40] mov w20, #8 stp x20, x9, [sp, #16] stp x20, x8, [sp] Lloh10: adrp x0, l_.str.5@PAGE Lloh11: add x0, x0, l_.str.5@PAGEOFF bl _printf orr x8, x19, #0x4 ldrh w9, [sp, #36] stp x21, x9, [sp, #16] mov w22, #2 stp x22, x8, [sp] Lloh12: adrp x0, l_.str.6@PAGE Lloh13: add x0, x0, l_.str.6@PAGEOFF bl _printf orr x8, x19, #0x6 ldrh w9, [sp, #38] mov w10, #6 stp x10, x9, [sp, #16] stp x22, x8, [sp] Lloh14: adrp x0, l_.str.7@PAGE Lloh15: add x0, x0, l_.str.7@PAGEOFF bl _printf add x8, x19, #16 ldrh w9, [sp, #48] mov w10, #16 stp x10, x9, [sp, #16] stp x21, x8, [sp] Lloh16: adrp x0, l_.str.8@PAGE Lloh17: add x0, x0, l_.str.8@PAGEOFF bl _printf add x8, x19, #20 ldrh w9, [sp, #52] mov w10, #20 stp x10, x9, [sp, #16] stp x21, x8, [sp] Lloh18: adrp x0, l_.str.9@PAGE Lloh19: add x0, x0, l_.str.9@PAGEOFF bl _printf add x8, x19, #24 ldrh w9, [sp, #56] mov w10, #24 stp x10, x9, [sp, #16] stp x21, x8, [sp] Lloh20: adrp x0, l_.str.10@PAGE Lloh21: add x0, x0, l_.str.10@PAGEOFF bl _printf add x8, x19, #96 ldr x9, [sp, #128] mov w10, #96 stp x10, x9, [sp, #16] stp x20, x8, [sp] Lloh22: adrp x0, l_.str.11@PAGE Lloh23: add x0, x0, l_.str.11@PAGEOFF bl _printf add x8, x19, #32 ldr x9, [sp, #64] mov w10, #32 stp x10, x9, [sp, #16] stp x20, x8, [sp] Lloh24: adrp x0, l_.str.12@PAGE Lloh25: add x0, x0, l_.str.12@PAGEOFF bl _printf add x8, x19, #48 ldr x9, [sp, #80] mov w10, #48 stp x10, x9, [sp, #16] stp x20, x8, [sp] Lloh26: adrp x0, l_.str.13@PAGE Lloh27: add x0, x0, l_.str.13@PAGEOFF bl _printf add x8, x19, #64 ldr x9, [sp, #96] mov w10, #64 stp x10, x9, [sp, #16] stp x20, x8, [sp] Lloh28: adrp x0, l_.str.14@PAGE Lloh29: add x0, x0, l_.str.14@PAGEOFF bl _printf add x8, x19, #112 ldr w9, [sp, #144] mov w10, #112 stp x10, x9, [sp, #16] stp x21, x8, [sp] Lloh30: adrp x0, l_.str.15@PAGE Lloh31: add x0, x0, l_.str.15@PAGEOFF bl _printf add x8, x19, #104 ldr x9, [sp, #136] mov w10, #104 stp x10, x9, [sp, #16] stp x20, x8, [sp] Lloh32: adrp x0, l_.str.16@PAGE Lloh33: add x0, x0, l_.str.16@PAGEOFF LBB0_3: bl _printf mov w0, #0 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 add sp, sp, #224 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/tmp/" l_.str.1: ; @.str.1 .asciz "Error in stat! errno=%d\n" l_.str.4: ; @.str.4 .asciz "st_dev \t%d\t%p\t%p\t\t%04x\n" l_.str.5: ; @.str.5 .asciz "st_ino \t%d\t%p\t%p\t\t%04x\n" l_.str.6: ; @.str.6 .asciz "st_mode \t%d\t%p\t%p\t\t%04x\n" l_.str.7: ; @.str.7 .asciz "st_nlink \t%d\t%p\t%p\t\t%04x\n" l_.str.8: ; @.str.8 .asciz "st_uid \t%d\t%p\t%p\t\t%04x\n" l_.str.9: ; @.str.9 .asciz "st_gid \t%d\t%p\t%p\t\t%04x\n" l_.str.10: ; @.str.10 .asciz "st_rdev \t%d\t%p\t%p\t\t%04x\n" l_.str.11: ; @.str.11 .asciz "st_size \t%d\t%p\t%p\t\t%04x\n" l_.str.12: ; @.str.12 .asciz "st_atime \t%d\t%p\t%p\t\t%04x\n" l_.str.13: ; @.str.13 .asciz "st_mtime \t%d\t%p\t%p\t\t%04x\n" l_.str.14: ; @.str.14 .asciz "st_ctime \t%d\t%p\t%p\t\t%04x\n" l_.str.15: ; @.str.15 .asciz "st_blksize\t%d\t%p\t%p\t\t%04x\n" l_.str.16: ; @.str.16 .asciz "st_blocks \t%d\t%p\t%p\t\t%04x\n" l_str: ; @str .asciz "Name\t\tSize\tLoc\tOffset\tValue" l_str.17: ; @str.17 .asciz "----------------------------------------------------" .subsections_via_symbols
the_stack_data/104828504.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ngx_ssl_handle_recv _ngx_ssl_handle_recv: ## @ngx_ssl_handle_recv .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, %r12 movq 8(%rdi), %rax cmpq $0, 24(%rax) je LBB0_5 ## %bb.1: movq _NGX_LOG_NOTICE@GOTPCREL(%rip), %rax movl (%rax), %edi movl (%r12), %esi leaq L_.str(%rip), %rcx xorl %edx, %edx callq _ngx_log_error xorl %eax, %eax callq _ERR_peek_error testq %rax, %rax je LBB0_4 ## %bb.2: movq _NGX_LOG_DEBUG@GOTPCREL(%rip), %r14 leaq L_.str.1(%rip), %rbx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl (%r14), %edi movl (%r12), %esi xorl %edx, %edx movq %rbx, %rcx callq _ngx_ssl_error xorl %eax, %eax callq _ERR_peek_error testq %rax, %rax jne LBB0_3 LBB0_4: xorl %eax, %eax callq _ERR_clear_error movq 8(%r12), %rax movabsq $4294967297, %rcx ## imm = 0x100000001 movq %rcx, (%rax) LBB0_25: movq _NGX_ERROR@GOTPCREL(%rip), %rbx LBB0_26: movq (%rbx), %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_5: testl %esi, %esi jle LBB0_10 ## %bb.6: movq 8(%rax), %rcx testq %rcx, %rcx je LBB0_7 ## %bb.8: movq 16(%r12), %rdi movq %rcx, 8(%rdi) movq $0, 8(%rax) movl $1, (%rdi) xorl %esi, %esi callq _ngx_handle_write_event movq _NGX_OK@GOTPCREL(%rip), %rbx cmpq (%rbx), %rax jne LBB0_25 ## %bb.9: movq 16(%r12), %rdi movq _ngx_posted_events@GOTPCREL(%rip), %rsi callq _ngx_post_event jmp LBB0_26 LBB0_10: movl 16(%rax), %edi callq _SSL_get_error movl %eax, %r14d movq _SSL_ERROR_SYSCALL@GOTPCREL(%rip), %rax xorl %r15d, %r15d cmpl (%rax), %r14d jne LBB0_12 ## %bb.11: movq _ngx_errno@GOTPCREL(%rip), %rax movl (%rax), %r15d LBB0_12: movq _NGX_LOG_DEBUG_EVENT@GOTPCREL(%rip), %rbx movl (%rbx), %edi movl (%r12), %esi leaq L_.str.2(%rip), %rcx xorl %edx, %edx movl %r14d, %r8d callq _ngx_log_debug1 movq _SSL_ERROR_WANT_READ@GOTPCREL(%rip), %rax cmpl (%rax), %r14d jne LBB0_17 ## %bb.13: movq 8(%r12), %rax movq 8(%rax), %rcx testq %rcx, %rcx je LBB0_16 ## %bb.14: movq 16(%r12), %rdi movq %rcx, 8(%rdi) movq $0, 8(%rax) movl $1, (%rdi) xorl %esi, %esi callq _ngx_handle_write_event movq _NGX_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_25 ## %bb.15: movq 16(%r12), %rdi movq _ngx_posted_events@GOTPCREL(%rip), %rsi callq _ngx_post_event LBB0_16: movq 24(%r12), %rax movq $0, (%rax) movq _NGX_AGAIN@GOTPCREL(%rip), %rbx jmp LBB0_26 LBB0_7: movq _NGX_OK@GOTPCREL(%rip), %rbx jmp LBB0_26 LBB0_17: movq _SSL_ERROR_WANT_WRITE@GOTPCREL(%rip), %rax cmpl (%rax), %r14d jne LBB0_21 ## %bb.18: movl (%rbx), %edi movl (%r12), %esi leaq L_.str.3(%rip), %rcx xorl %edx, %edx callq _ngx_log_debug0 movq 16(%r12), %rdi movl $0, (%rdi) xorl %esi, %esi callq _ngx_handle_write_event movq _NGX_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_25 ## %bb.19: movq 8(%r12), %rax movq _NGX_AGAIN@GOTPCREL(%rip), %rbx cmpq $0, 8(%rax) jne LBB0_26 ## %bb.20: movq 16(%r12), %rcx movq 8(%rcx), %rdx movq %rdx, 8(%rax) movq _ngx_ssl_write_handler@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 8(%rcx) jmp LBB0_26 LBB0_21: movq 8(%r12), %rax movabsq $4294967297, %rcx ## imm = 0x100000001 movq %rcx, (%rax) movq _SSL_ERROR_ZERO_RETURN@GOTPCREL(%rip), %rax cmpl (%rax), %r14d je LBB0_23 ## %bb.22: xorl %eax, %eax callq _ERR_peek_error testq %rax, %rax je LBB0_23 ## %bb.24: leaq L_.str.5(%rip), %rcx movq %r12, %rdi movl %r14d, %esi movl %r15d, %edx callq _ngx_ssl_connection_error jmp LBB0_25 LBB0_23: movl (%rbx), %edi movl (%r12), %esi leaq L_.str.4(%rip), %rcx xorl %edx, %edx callq _ngx_log_debug0 movq _NGX_DONE@GOTPCREL(%rip), %rbx jmp LBB0_26 .cfi_endproc ## -- End function .comm _NGX_LOG_NOTICE,4,2 ## @NGX_LOG_NOTICE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "SSL renegotiation disabled" .comm _NGX_LOG_DEBUG,4,2 ## @NGX_LOG_DEBUG L_.str.1: ## @.str.1 .asciz "ignoring stale global SSL error" .comm _NGX_ERROR,8,3 ## @NGX_ERROR .comm _NGX_OK,8,3 ## @NGX_OK .comm _ngx_posted_events,4,2 ## @ngx_posted_events .comm _SSL_ERROR_SYSCALL,4,2 ## @SSL_ERROR_SYSCALL .comm _ngx_errno,4,2 ## @ngx_errno .comm _NGX_LOG_DEBUG_EVENT,4,2 ## @NGX_LOG_DEBUG_EVENT L_.str.2: ## @.str.2 .asciz "SSL_get_error: %d" .comm _SSL_ERROR_WANT_READ,4,2 ## @SSL_ERROR_WANT_READ .comm _NGX_AGAIN,8,3 ## @NGX_AGAIN .comm _SSL_ERROR_WANT_WRITE,4,2 ## @SSL_ERROR_WANT_WRITE L_.str.3: ## @.str.3 .asciz "SSL_read: want write" .comm _ngx_ssl_write_handler,8,3 ## @ngx_ssl_write_handler .comm _SSL_ERROR_ZERO_RETURN,4,2 ## @SSL_ERROR_ZERO_RETURN L_.str.4: ## @.str.4 .asciz "peer shutdown SSL cleanly" .comm _NGX_DONE,8,3 ## @NGX_DONE L_.str.5: ## @.str.5 .asciz "SSL_read() failed" .no_dead_strip _ngx_ssl_handle_recv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ngx_ssl_handle_recv _ngx_ssl_handle_recv: ; @ngx_ssl_handle_recv .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x8, [x0, #8] ldr x9, [x8, #24] cbz x9, LBB0_7 ; %bb.1: Lloh0: adrp x8, _NGX_LOG_NOTICE@GOTPAGE Lloh1: ldr x8, [x8, _NGX_LOG_NOTICE@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldr w1, [x19] Lloh3: adrp x3, l_.str@PAGE Lloh4: add x3, x3, l_.str@PAGEOFF mov w2, #0 bl _ngx_log_error bl _ERR_peek_error cbz x0, LBB0_4 ; %bb.2: Lloh5: adrp x21, _NGX_LOG_DEBUG@GOTPAGE Lloh6: ldr x21, [x21, _NGX_LOG_DEBUG@GOTPAGEOFF] Lloh7: adrp x20, l_.str.1@PAGE Lloh8: add x20, x20, l_.str.1@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w0, [x21] ldr w1, [x19] mov w2, #0 mov x3, x20 bl _ngx_ssl_error bl _ERR_peek_error cbnz x0, LBB0_3 LBB0_4: bl _ERR_clear_error ldr x8, [x19, #8] movi.2s v0, #1 str d0, [x8] LBB0_5: Lloh9: adrp x20, _NGX_ERROR@GOTPAGE Lloh10: ldr x20, [x20, _NGX_ERROR@GOTPAGEOFF] LBB0_6: ldr x0, [x20] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_7: cmp w1, #1 b.lt LBB0_11 ; %bb.8: ldr x9, [x8, #8] Lloh11: adrp x20, _NGX_OK@GOTPAGE Lloh12: ldr x20, [x20, _NGX_OK@GOTPAGEOFF] cbz x9, LBB0_6 ; %bb.9: ldr x0, [x19, #16] str x9, [x0, #8] str xzr, [x8, #8] mov w8, #1 str w8, [x0] mov w1, #0 bl _ngx_handle_write_event ldr x8, [x20] cmp x0, x8 b.ne LBB0_5 ; %bb.10: ldr x0, [x19, #16] Lloh13: adrp x1, _ngx_posted_events@GOTPAGE Lloh14: ldr x1, [x1, _ngx_posted_events@GOTPAGEOFF] bl _ngx_post_event Lloh15: adrp x20, _NGX_OK@GOTPAGE Lloh16: ldr x20, [x20, _NGX_OK@GOTPAGEOFF] b LBB0_6 LBB0_11: ldr w0, [x8, #16] bl _SSL_get_error mov x20, x0 Lloh17: adrp x8, _SSL_ERROR_SYSCALL@GOTPAGE Lloh18: ldr x8, [x8, _SSL_ERROR_SYSCALL@GOTPAGEOFF] Lloh19: ldr w8, [x8] Lloh20: adrp x9, _ngx_errno@GOTPAGE Lloh21: ldr x9, [x9, _ngx_errno@GOTPAGEOFF] Lloh22: ldr w9, [x9] cmp w0, w8 csel w21, w9, wzr, eq Lloh23: adrp x22, _NGX_LOG_DEBUG_EVENT@GOTPAGE Lloh24: ldr x22, [x22, _NGX_LOG_DEBUG_EVENT@GOTPAGEOFF] ldr w0, [x22] ldr w1, [x19] Lloh25: adrp x3, l_.str.2@PAGE Lloh26: add x3, x3, l_.str.2@PAGEOFF mov w2, #0 mov x4, x20 bl _ngx_log_debug1 Lloh27: adrp x8, _SSL_ERROR_WANT_READ@GOTPAGE Lloh28: ldr x8, [x8, _SSL_ERROR_WANT_READ@GOTPAGEOFF] Lloh29: ldr w8, [x8] cmp w20, w8 b.ne LBB0_17 ; %bb.12: ldr x8, [x19, #8] ldr x9, [x8, #8] cbz x9, LBB0_15 ; %bb.13: ldr x0, [x19, #16] str x9, [x0, #8] str xzr, [x8, #8] mov w8, #1 str w8, [x0] mov w1, #0 bl _ngx_handle_write_event Lloh30: adrp x8, _NGX_OK@GOTPAGE Lloh31: ldr x8, [x8, _NGX_OK@GOTPAGEOFF] Lloh32: ldr x8, [x8] cmp x0, x8 b.ne LBB0_5 ; %bb.14: ldr x0, [x19, #16] Lloh33: adrp x1, _ngx_posted_events@GOTPAGE Lloh34: ldr x1, [x1, _ngx_posted_events@GOTPAGEOFF] bl _ngx_post_event LBB0_15: ldr x8, [x19, #24] str xzr, [x8] LBB0_16: Lloh35: adrp x20, _NGX_AGAIN@GOTPAGE Lloh36: ldr x20, [x20, _NGX_AGAIN@GOTPAGEOFF] b LBB0_6 LBB0_17: Lloh37: adrp x8, _SSL_ERROR_WANT_WRITE@GOTPAGE Lloh38: ldr x8, [x8, _SSL_ERROR_WANT_WRITE@GOTPAGEOFF] Lloh39: ldr w8, [x8] cmp w20, w8 b.ne LBB0_21 ; %bb.18: ldr w0, [x22] ldr w1, [x19] Lloh40: adrp x3, l_.str.3@PAGE Lloh41: add x3, x3, l_.str.3@PAGEOFF mov w2, #0 bl _ngx_log_debug0 ldr x0, [x19, #16] str wzr, [x0] mov w1, #0 bl _ngx_handle_write_event Lloh42: adrp x8, _NGX_OK@GOTPAGE Lloh43: ldr x8, [x8, _NGX_OK@GOTPAGEOFF] Lloh44: ldr x8, [x8] cmp x0, x8 b.ne LBB0_5 ; %bb.19: ldr x8, [x19, #8] ldr x9, [x8, #8] cbnz x9, LBB0_16 ; %bb.20: ldr x9, [x19, #16] ldr x10, [x9, #8] str x10, [x8, #8] Lloh45: adrp x8, _ngx_ssl_write_handler@GOTPAGE Lloh46: ldr x8, [x8, _ngx_ssl_write_handler@GOTPAGEOFF] Lloh47: ldr x8, [x8] str x8, [x9, #8] b LBB0_16 LBB0_21: ldr x8, [x19, #8] movi.2s v0, #1 str d0, [x8] Lloh48: adrp x8, _SSL_ERROR_ZERO_RETURN@GOTPAGE Lloh49: ldr x8, [x8, _SSL_ERROR_ZERO_RETURN@GOTPAGEOFF] Lloh50: ldr w8, [x8] cmp w20, w8 b.eq LBB0_24 ; %bb.22: bl _ERR_peek_error cbz x0, LBB0_24 ; %bb.23: Lloh51: adrp x3, l_.str.5@PAGE Lloh52: add x3, x3, l_.str.5@PAGEOFF mov x0, x19 mov x1, x20 mov x2, x21 bl _ngx_ssl_connection_error b LBB0_5 LBB0_24: ldr w0, [x22] ldr w1, [x19] Lloh53: adrp x3, l_.str.4@PAGE Lloh54: add x3, x3, l_.str.4@PAGEOFF mov w2, #0 bl _ngx_log_debug0 Lloh55: adrp x20, _NGX_DONE@GOTPAGE Lloh56: ldr x20, [x20, _NGX_DONE@GOTPAGEOFF] b LBB0_6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpLdrGot Lloh55, Lloh56 .loh AdrpAdd Lloh53, Lloh54 .cfi_endproc ; -- End function .comm _NGX_LOG_NOTICE,4,2 ; @NGX_LOG_NOTICE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "SSL renegotiation disabled" .comm _NGX_LOG_DEBUG,4,2 ; @NGX_LOG_DEBUG l_.str.1: ; @.str.1 .asciz "ignoring stale global SSL error" .comm _NGX_ERROR,8,3 ; @NGX_ERROR .comm _NGX_OK,8,3 ; @NGX_OK .comm _ngx_posted_events,4,2 ; @ngx_posted_events .comm _SSL_ERROR_SYSCALL,4,2 ; @SSL_ERROR_SYSCALL .comm _ngx_errno,4,2 ; @ngx_errno .comm _NGX_LOG_DEBUG_EVENT,4,2 ; @NGX_LOG_DEBUG_EVENT l_.str.2: ; @.str.2 .asciz "SSL_get_error: %d" .comm _SSL_ERROR_WANT_READ,4,2 ; @SSL_ERROR_WANT_READ .comm _NGX_AGAIN,8,3 ; @NGX_AGAIN .comm _SSL_ERROR_WANT_WRITE,4,2 ; @SSL_ERROR_WANT_WRITE l_.str.3: ; @.str.3 .asciz "SSL_read: want write" .comm _ngx_ssl_write_handler,8,3 ; @ngx_ssl_write_handler .comm _SSL_ERROR_ZERO_RETURN,4,2 ; @SSL_ERROR_ZERO_RETURN l_.str.4: ; @.str.4 .asciz "peer shutdown SSL cleanly" .comm _NGX_DONE,8,3 ; @NGX_DONE l_.str.5: ; @.str.5 .asciz "SSL_read() failed" .no_dead_strip _ngx_ssl_handle_recv .subsections_via_symbols
AnghaBench/nginx/src/event/extr_ngx_event_openssl.c_ngx_ssl_handle_recv.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kobjsize ## -- Begin function kobjsize .p2align 4, 0x90 _kobjsize: ## @kobjsize .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 xorl %r14d, %r14d testq %rdi, %rdi je LBB0_6 ## %bb.1: movq %rdi, %rbx callq _virt_addr_valid testl %eax, %eax je LBB0_6 ## %bb.2: movq %rbx, %rdi callq _virt_to_head_page movq %rax, %r14 movq %rax, %rdi callq _PageSlab testq %rax, %rax je LBB0_3 ## %bb.7: movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _ksize ## TAILCALL LBB0_3: movq %r14, %rdi callq _PageCompound testl %eax, %eax je LBB0_4 LBB0_8: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _page_size ## TAILCALL LBB0_4: movq _current@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax), %edi movq %rbx, %rsi callq _find_vma testq %rax, %rax je LBB0_8 ## %bb.5: movl (%rax), %r14d subl 4(%rax), %r14d LBB0_6: movl %r14d, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _current,8,3 ## @current .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kobjsize ; -- Begin function kobjsize .p2align 2 _kobjsize: ; @kobjsize .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_8 ; %bb.1: mov x19, x0 bl _virt_addr_valid cbz w0, LBB0_8 ; %bb.2: mov x0, x19 bl _virt_to_head_page mov x20, x0 bl _PageSlab cbz x0, LBB0_4 ; %bb.3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ksize LBB0_4: mov x0, x20 bl _PageCompound cbz w0, LBB0_6 LBB0_5: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _page_size LBB0_6: Lloh0: adrp x8, _current@GOTPAGE Lloh1: ldr x8, [x8, _current@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w0, [x8] mov x1, x19 bl _find_vma cbz x0, LBB0_5 ; %bb.7: ldp w8, w9, [x0] sub w0, w8, w9 LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _current,8,3 ; @current .subsections_via_symbols
AnghaBench/linux/mm/extr_nommu.c_kobjsize.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function DS1621_TEMP_TO_REG _DS1621_TEMP_TO_REG: ## @DS1621_TEMP_TO_REG .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx movq _DS1621_TEMP_MIN@GOTPCREL(%rip), %rax movl (%rax), %esi movq _DS1621_TEMP_MAX@GOTPCREL(%rip), %rax movl (%rax), %edx callq _clamp_val movb $8, %cl subb %bl, %cl movl $1, %edx shll %cl, %edx movslq %edx, %rdi imulq %rax, %rdi movl $1000, %esi ## imm = 0x3E8 callq _DIV_ROUND_CLOSEST movl %ebx, %ecx shll %cl, %eax cltq addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _DS1621_TEMP_MIN,4,2 ## @DS1621_TEMP_MIN .comm _DS1621_TEMP_MAX,4,2 ## @DS1621_TEMP_MAX .no_dead_strip _DS1621_TEMP_TO_REG .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function DS1621_TEMP_TO_REG _DS1621_TEMP_TO_REG: ; @DS1621_TEMP_TO_REG .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 Lloh0: adrp x8, _DS1621_TEMP_MIN@GOTPAGE Lloh1: ldr x8, [x8, _DS1621_TEMP_MIN@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _DS1621_TEMP_MAX@GOTPAGE Lloh4: ldr x8, [x8, _DS1621_TEMP_MAX@GOTPAGEOFF] Lloh5: ldr w2, [x8] bl _clamp_val mov w8, #8 sub w8, w8, w19 mov w9, #1 lsl w8, w9, w8 sxtw x8, w8 mul x0, x0, x8 mov w1, #1000 bl _DIV_ROUND_CLOSEST lsl w8, w0, w19 sxtw x0, w8 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 _DS1621_TEMP_MIN,4,2 ; @DS1621_TEMP_MIN .comm _DS1621_TEMP_MAX,4,2 ; @DS1621_TEMP_MAX .no_dead_strip _DS1621_TEMP_TO_REG .subsections_via_symbols
AnghaBench/linux/drivers/hwmon/extr_ds1621.c_DS1621_TEMP_TO_REG.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $128, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) movaps L___const.main.addon(%rip), %xmm0 movaps %xmm0, -144(%rbp) movabsq $13074728426697504, %rax ## imm = 0x2E73656F687320 movq %rax, -128(%rbp) leaq L_.str(%rip), %rdi callq _puts movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq -112(%rbp), %rdi movl $80, %esi callq _fgets testq %rax, %rax je LBB0_8 ## %bb.1: xorl %eax, %eax .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movzbl -112(%rbp,%rax), %ecx cmpb $10, %cl je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 testb %cl, %cl je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 incq %rax jmp LBB0_2 .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 callq _getchar cmpl $10, %eax jne LBB0_6 jmp LBB0_7 LBB0_8: leaq L_.str.1(%rip), %rdi jmp LBB0_9 LBB0_5: movl %eax, %eax movb $0, -112(%rbp,%rax) LBB0_7: leaq -112(%rbp), %rbx leaq -144(%rbp), %r14 movl $80, %edx movq %rbx, %rdi movq %r14, %rsi callq ___strcat_chk movq %rbx, %rdi callq _puts movq %r14, %rdi LBB0_9: callq _puts leaq L_.str.2(%rip), %rdi callq _puts movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_11 ## %bb.10: xorl %eax, %eax addq $128, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_11: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _s_gets ## -- Begin function s_gets .p2align 4, 0x90 _s_gets: ## @s_gets .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 ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdx callq _fgets movq %rax, %r14 testq %rax, %rax je LBB1_7 ## %bb.1: xorl %eax, %eax .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx,%rax), %ecx cmpb $10, %cl je LBB1_5 ## %bb.3: ## in Loop: Header=BB1_2 Depth=1 testb %cl, %cl je LBB1_6 ## %bb.4: ## in Loop: Header=BB1_2 Depth=1 incq %rax jmp LBB1_2 .p2align 4, 0x90 LBB1_6: ## =>This Inner Loop Header: Depth=1 callq _getchar cmpl $10, %eax jne LBB1_6 jmp LBB1_7 LBB1_5: movl %eax, %eax movb $0, (%rbx,%rax) LBB1_7: movq %r14, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals .p2align 4 ## @__const.main.addon L___const.main.addon: .asciz "s smell like old shoes." L_.str: ## @.str .asciz "What is your favorite flower!" L_.str.1: ## @.str.1 .asciz "End of file encountered" L_.str.2: ## @.str.2 .asciz "Bye!" .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, #144 .cfi_def_cfa_offset 144 stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] Lloh3: adrp x8, l___const.main.addon@PAGE Lloh4: add x8, x8, l___const.main.addon@PAGEOFF ldr q0, [x8] str q0, [sp] ldr x8, [x8, #16] str x8, [sp, #16] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF bl _puts Lloh7: adrp x8, ___stdinp@GOTPAGE Lloh8: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh9: ldr x2, [x8] add x19, sp, #24 add x0, sp, #24 mov w1, #80 bl _fgets cbz x0, LBB0_6 ; %bb.1: mov x8, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x19, x8] cmp w9, #10 b.eq LBB0_7 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 cbz w9, LBB0_5 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 add x8, x8, #1 b LBB0_2 LBB0_5: ; =>This Inner Loop Header: Depth=1 bl _getchar cmp w0, #10 b.ne LBB0_5 b LBB0_8 LBB0_6: Lloh10: adrp x0, l_.str.1@PAGE Lloh11: add x0, x0, l_.str.1@PAGEOFF b LBB0_9 LBB0_7: add x9, sp, #24 strb wzr, [x9, w8, uxtw] LBB0_8: add x0, sp, #24 mov x1, sp mov w2, #80 bl ___strcat_chk add x0, sp, #24 bl _puts mov x0, sp LBB0_9: bl _puts Lloh12: adrp x0, l_.str.2@PAGE Lloh13: add x0, x0, l_.str.2@PAGEOFF bl _puts ldur x8, [x29, #-24] Lloh14: adrp x9, ___stack_chk_guard@GOTPAGE Lloh15: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh16: ldr x9, [x9] cmp x9, x8 b.ne LBB0_11 ; %bb.10: mov w0, #0 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_11: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .globl _s_gets ; -- Begin function s_gets .p2align 2 _s_gets: ; @s_gets .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 Lloh17: adrp x8, ___stdinp@GOTPAGE Lloh18: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh19: ldr x2, [x8] bl _fgets mov x19, x0 cbz x0, LBB1_7 ; %bb.1: mov x8, #0 LBB1_2: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x20, x8] cmp w9, #10 b.eq LBB1_6 ; %bb.3: ; in Loop: Header=BB1_2 Depth=1 cbz w9, LBB1_5 ; %bb.4: ; in Loop: Header=BB1_2 Depth=1 add x8, x8, #1 b LBB1_2 LBB1_5: ; =>This Inner Loop Header: Depth=1 bl _getchar cmp w0, #10 b.ne LBB1_5 b LBB1_7 LBB1_6: strb wzr, [x20, w8, uxtw] LBB1_7: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l___const.main.addon: ; @__const.main.addon .asciz "s smell like old shoes." l_.str: ; @.str .asciz "What is your favorite flower!" l_.str.1: ; @.str.1 .asciz "End of file encountered" l_.str.2: ; @.str.2 .asciz "Bye!" .subsections_via_symbols
the_stack_data/998056.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function zforce_read_packet _zforce_read_packet: ## @zforce_read_packet .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 movq 8(%rdi), %r15 callq _mutex_lock movq %r15, %rdi movq %r12, %rsi movl $2, %edx callq _i2c_master_recv testl %eax, %eax js LBB0_5 ## %bb.1: movq _PAYLOAD_HEADER@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%r12,%rax,4), %eax movq _FRAME_START@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_7 ## %bb.2: movq _PAYLOAD_LENGTH@GOTPCREL(%rip), %r13 movq (%r13), %rax movl (%r12,%rax,4), %edx testl %edx, %edx je LBB0_8 ## %bb.3: movq _PAYLOAD_BODY@GOTPCREL(%rip), %rax movq (%rax), %rax leaq (%r12,%rax,4), %rsi movq %r15, %rdi callq _i2c_master_recv movl %eax, %ebx testl %eax, %eax js LBB0_11 ## %bb.4: movq (%r13), %rax movl (%r12,%rax,4), %edx movq _PAYLOAD_BODY@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%r12,%rax,4), %ecx leaq L_.str.4(%rip), %rsi movq %r15, %rdi callq _dev_dbg jmp LBB0_10 LBB0_5: movl %eax, %ebx leaq L_.str(%rip), %rsi LBB0_6: movq %r15, %rdi movl %ebx, %edx callq _dev_err jmp LBB0_10 LBB0_7: movl (%r12), %edx leaq L_.str.1(%rip), %rsi movq %r15, %rdi callq _dev_err movq _EIO@GOTPCREL(%rip), %rax xorl %ebx, %ebx jmp LBB0_9 LBB0_8: leaq L_.str.2(%rip), %rsi xorl %ebx, %ebx movq %r15, %rdi xorl %edx, %edx callq _dev_err movq _EIO@GOTPCREL(%rip), %rax LBB0_9: subl (%rax), %ebx LBB0_10: movq %r14, %rdi callq _mutex_unlock movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_11: leaq L_.str.3(%rip), %rsi jmp LBB0_6 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "error reading header: %d\n" .comm _PAYLOAD_HEADER,8,3 ## @PAYLOAD_HEADER .comm _FRAME_START,4,2 ## @FRAME_START L_.str.1: ## @.str.1 .asciz "invalid frame start: %d\n" .comm _EIO,4,2 ## @EIO .comm _PAYLOAD_LENGTH,8,3 ## @PAYLOAD_LENGTH L_.str.2: ## @.str.2 .asciz "invalid payload length: %d\n" .comm _PAYLOAD_BODY,8,3 ## @PAYLOAD_BODY L_.str.3: ## @.str.3 .asciz "error reading payload: %d\n" L_.str.4: ## @.str.4 .asciz "read %d bytes for response command 0x%x\n" .no_dead_strip _zforce_read_packet .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function zforce_read_packet _zforce_read_packet: ; @zforce_read_packet .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x22, x1 mov x19, x0 ldr x20, [x0, #8] bl _mutex_lock mov x0, x20 mov x1, x22 mov w2, #2 bl _i2c_master_recv tbnz w0, #31, LBB0_5 ; %bb.1: Lloh0: adrp x8, _PAYLOAD_HEADER@GOTPAGE Lloh1: ldr x8, [x8, _PAYLOAD_HEADER@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w8, [x22, x8, lsl #2] Lloh3: adrp x9, _FRAME_START@GOTPAGE Lloh4: ldr x9, [x9, _FRAME_START@GOTPAGEOFF] Lloh5: ldr w9, [x9] cmp w8, w9 b.ne LBB0_7 ; %bb.2: Lloh6: adrp x23, _PAYLOAD_LENGTH@GOTPAGE Lloh7: ldr x23, [x23, _PAYLOAD_LENGTH@GOTPAGEOFF] ldr x8, [x23] ldr w2, [x22, x8, lsl #2] cbz w2, LBB0_8 ; %bb.3: Lloh8: adrp x24, _PAYLOAD_BODY@GOTPAGE Lloh9: ldr x24, [x24, _PAYLOAD_BODY@GOTPAGEOFF] ldr x8, [x24] add x1, x22, x8, lsl #2 mov x0, x20 bl _i2c_master_recv mov x21, x0 tbnz w0, #31, LBB0_11 ; %bb.4: ldr x8, [x23] ldr w2, [x22, x8, lsl #2] ldr x8, [x24] ldr w3, [x22, x8, lsl #2] Lloh10: adrp x1, l_.str.4@PAGE Lloh11: add x1, x1, l_.str.4@PAGEOFF mov x0, x20 bl _dev_dbg b LBB0_10 LBB0_5: mov x21, x0 Lloh12: adrp x1, l_.str@PAGE Lloh13: add x1, x1, l_.str@PAGEOFF LBB0_6: mov x0, x20 mov x2, x21 bl _dev_err b LBB0_10 LBB0_7: ldr w2, [x22] Lloh14: adrp x1, l_.str.1@PAGE Lloh15: add x1, x1, l_.str.1@PAGEOFF b LBB0_9 LBB0_8: Lloh16: adrp x1, l_.str.2@PAGE Lloh17: add x1, x1, l_.str.2@PAGEOFF LBB0_9: mov x0, x20 bl _dev_err Lloh18: adrp x8, _EIO@GOTPAGE Lloh19: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh20: ldr w8, [x8] neg w21, w8 LBB0_10: mov x0, x19 bl _mutex_unlock mov x0, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_11: Lloh21: adrp x1, l_.str.3@PAGE Lloh22: add x1, x1, l_.str.3@PAGEOFF b LBB0_6 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "error reading header: %d\n" .comm _PAYLOAD_HEADER,8,3 ; @PAYLOAD_HEADER .comm _FRAME_START,4,2 ; @FRAME_START l_.str.1: ; @.str.1 .asciz "invalid frame start: %d\n" .comm _EIO,4,2 ; @EIO .comm _PAYLOAD_LENGTH,8,3 ; @PAYLOAD_LENGTH l_.str.2: ; @.str.2 .asciz "invalid payload length: %d\n" .comm _PAYLOAD_BODY,8,3 ; @PAYLOAD_BODY l_.str.3: ; @.str.3 .asciz "error reading payload: %d\n" l_.str.4: ; @.str.4 .asciz "read %d bytes for response command 0x%x\n" .no_dead_strip _zforce_read_packet .subsections_via_symbols
AnghaBench/linux/drivers/input/touchscreen/extr_zforce_ts.c_zforce_read_packet.c
anghabench