x86
stringlengths
122
1.3M
arm
stringlengths
122
1.35M
file
stringlengths
20
207
source
stringclasses
2 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t5 _t5: ## @t5 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $65, %edi movl $65, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t5 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t5 _t5: ; @t5 .cfi_startproc ; %bb.0: mov w0, #65 mov w1, #65 b _expect .cfi_endproc ; -- End function .no_dead_strip _t5 .subsections_via_symbols
AnghaBench/8cc/test/extr_pointer.c_t5.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t6 _t6: ## @t6 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $3, %edi movl $3, %esi callq _expect movl $2, %edi movl $2, %esi callq _expect movl $1, %edi movl $1, %esi callq _expect movl $1, %edi movl $1, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t6 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t6 _t6: ; @t6 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #3 mov w1, #3 bl _expect mov w0, #2 mov w1, #2 bl _expect mov w0, #1 mov w1, #1 bl _expect mov w0, #1 mov w1, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _t6 .subsections_via_symbols
AnghaBench/8cc/test/extr_pointer.c_t6.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t7 _t7: ## @t7 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edi, %edi xorl %esi, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t7 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t7 _t7: ; @t7 .cfi_startproc ; %bb.0: mov w0, #0 mov w1, #0 b _expect .cfi_endproc ; -- End function .no_dead_strip _t7 .subsections_via_symbols
AnghaBench/8cc/test/extr_pointer.c_t7.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ## -- Begin function testmain .p2align 4, 0x90 _testmain: ## @testmain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _print xorl %eax, %eax callq _t1 xorl %eax, %eax callq _t2 xorl %eax, %eax callq _t3 xorl %eax, %eax callq _t4 xorl %eax, %eax callq _t5 xorl %eax, %eax callq _t6 xorl %eax, %eax callq _t7 xorl %eax, %eax callq _subtract xorl %eax, %eax popq %rbp jmp _compare ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "pointer" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ; -- Begin function testmain .p2align 2 _testmain: ; @testmain .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _print bl _t1 bl _t2 bl _t3 bl _t4 bl _t5 bl _t6 bl _t7 bl _subtract ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _compare .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "pointer" .subsections_via_symbols
AnghaBench/8cc/test/extr_pointer.c_testmain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ## -- Begin function testmain .p2align 4, 0x90 _testmain: ## @testmain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _print movl $31, %edi movl $31, %esi callq _expect movl $64, %edi movl $64, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "scope" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ; -- Begin function testmain .p2align 2 _testmain: ; @testmain .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _print mov w0, #31 mov w1, #31 bl _expect mov w0, #64 mov w1, #64 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "scope" .subsections_via_symbols
AnghaBench/8cc/test/extr_scope.c_testmain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_arrays _test_arrays: ## @test_arrays .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %edi movl $1, %esi callq _expect movl $7, %edi movl $7, %esi callq _expect movl $30, %edi movl $30, %esi callq _expect movl $32, %edi movl $32, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _test_arrays .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_arrays _test_arrays: ; @test_arrays .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #1 mov w1, #1 bl _expect mov w0, #7 mov w1, #7 bl _expect mov w0, #30 mov w1, #30 bl _expect mov w0, #32 mov w1, #32 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _test_arrays .subsections_via_symbols
AnghaBench/8cc/test/extr_sizeof.c_test_arrays.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_constexpr _test_constexpr: ## @test_constexpr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $4, %edi movl $4, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _test_constexpr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_constexpr _test_constexpr: ; @test_constexpr .cfi_startproc ; %bb.0: mov w0, #4 mov w1, #4 b _expect .cfi_endproc ; -- End function .no_dead_strip _test_constexpr .subsections_via_symbols
AnghaBench/8cc/test/extr_sizeof.c_test_constexpr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_literals _test_literals: ## @test_literals .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $4, %edi movl $4, %esi callq _expect movl $4, %edi movl $4, %esi callq _expect movl $4, %edi movl $4, %esi callq _expect movl $8, %edi movl $8, %esi callq _expect movl $8, %edi movl $8, %esi callq _expect movl $8, %edi movl $8, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _test_literals .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_literals _test_literals: ; @test_literals .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #4 mov w1, #4 bl _expect mov w0, #4 mov w1, #4 bl _expect mov w0, #4 mov w1, #4 bl _expect mov w0, #8 mov w1, #8 bl _expect mov w0, #8 mov w1, #8 bl _expect mov w0, #8 mov w1, #8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _test_literals .subsections_via_symbols
AnghaBench/8cc/test/extr_sizeof.c_test_literals.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_pointers _test_pointers: ## @test_pointers .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $8, %edi movl $8, %esi callq _expect movl $8, %edi movl $8, %esi callq _expect movl $8, %edi movl $8, %esi callq _expect movl $8, %edi movl $8, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _test_pointers .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_pointers _test_pointers: ; @test_pointers .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #8 mov w1, #8 bl _expect mov w0, #8 mov w1, #8 bl _expect mov w0, #8 mov w1, #8 bl _expect mov w0, #8 mov w1, #8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _test_pointers .subsections_via_symbols
AnghaBench/8cc/test/extr_sizeof.c_test_pointers.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_unsigned _test_unsigned: ## @test_unsigned .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %edi movl $1, %esi callq _expect movl $2, %edi movl $2, %esi callq _expect movl $4, %edi movl $4, %esi callq _expect movl $8, %edi movl $8, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _test_unsigned .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_unsigned _test_unsigned: ; @test_unsigned .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #1 mov w1, #1 bl _expect mov w0, #2 mov w1, #2 bl _expect mov w0, #4 mov w1, #4 bl _expect mov w0, #8 mov w1, #8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _test_unsigned .subsections_via_symbols
AnghaBench/8cc/test/extr_sizeof.c_test_unsigned.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_vars _test_vars: ## @test_vars .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $3, %edi movl $3, %esi callq _expect movl $4, %edi movl $4, %esi callq _expect movl $1, %edi movl $1, %esi callq _expect movl $1, %edi movl $1, %esi callq _expect movl $1, %edi movl $1, %esi callq _expect movl $40, %edi movl $40, %esi callq _expect movl $8, %edi movl $8, %esi callq _expect movl $24, %edi movl $24, %esi callq _expect movl $8, %edi movl $8, %esi callq _expect movl $1, %edi movl $1, %esi callq _expect movl $4, %edi movl $4, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _test_vars .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_vars _test_vars: ; @test_vars .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #3 mov w1, #3 bl _expect mov w0, #4 mov w1, #4 bl _expect mov w0, #1 mov w1, #1 bl _expect mov w0, #1 mov w1, #1 bl _expect mov w0, #1 mov w1, #1 bl _expect mov w0, #40 mov w1, #40 bl _expect mov w0, #8 mov w1, #8 bl _expect mov w0, #24 mov w1, #24 bl _expect mov w0, #8 mov w1, #8 bl _expect mov w0, #1 mov w1, #1 bl _expect mov w0, #4 mov w1, #4 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _test_vars .subsections_via_symbols
AnghaBench/8cc/test/extr_sizeof.c_test_vars.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ## -- Begin function testmain .p2align 4, 0x90 _testmain: ## @testmain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _print xorl %eax, %eax callq _test_primitives xorl %eax, %eax callq _test_pointers xorl %eax, %eax callq _test_unsigned xorl %eax, %eax callq _test_literals xorl %eax, %eax callq _test_arrays xorl %eax, %eax callq _test_vars xorl %eax, %eax callq _test_struct xorl %eax, %eax popq %rbp jmp _test_constexpr ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sizeof" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ; -- Begin function testmain .p2align 2 _testmain: ; @testmain .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _print bl _test_primitives bl _test_pointers bl _test_unsigned bl _test_literals bl _test_arrays bl _test_vars bl _test_struct ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _test_constexpr .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sizeof" .subsections_via_symbols
AnghaBench/8cc/test/extr_sizeof.c_testmain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function testmain LCPI0_0: .quad 0x4008000000000000 ## double 3 .section __TEXT,__text,regular,pure_instructions .globl _testmain .p2align 4, 0x90 _testmain: ## @testmain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _print movl $3, %edi movl $3, %esi callq _expect movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movl $3, %edi callq _expectf movl $5, %edi movl $5, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "statement expression" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ; -- Begin function testmain .p2align 2 _testmain: ; @testmain .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _print mov w0, #3 mov w1, #3 bl _expect fmov d0, #3.00000000 mov w0, #3 bl _expectf mov w0, #5 mov w1, #5 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "statement expression" .subsections_via_symbols
AnghaBench/8cc/test/extr_stmtexpr.c_testmain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function arrow _arrow: ## @arrow .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $7, %edi movl $7, %esi callq _expect movl $7, %edi movl $7, %esi callq _expect movl $6, %edi movl $6, %esi callq _expect movl $5, %edi movl $5, %esi callq _expect movl $10, %edi movl $10, %esi callq _expect movl $11, %edi movl $11, %esi callq _expect movl $12, %edi movl $12, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _arrow .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function arrow _arrow: ; @arrow .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #7 mov w1, #7 bl _expect mov w0, #7 mov w1, #7 bl _expect mov w0, #6 mov w1, #6 bl _expect mov w0, #5 mov w1, #5 bl _expect mov w0, #10 mov w1, #10 bl _expect mov w0, #11 mov w1, #11 bl _expect mov w0, #12 mov w1, #12 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _arrow .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_arrow.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function assign _assign: ## @assign .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $3, %edi movl $3, %esi callq _expect movl $5, %edi movl $5, %esi callq _expect movl $7, %edi movl $7, %esi callq _expect movl $9, %edi movl $9, %esi callq _expect movl $11, %edi movl $11, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _assign .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function assign _assign: ; @assign .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #3 mov w1, #3 bl _expect mov w0, #5 mov w1, #5 bl _expect mov w0, #7 mov w1, #7 bl _expect mov w0, #9 mov w1, #9 bl _expect mov w0, #11 mov w1, #11 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _assign .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_assign.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bitfield_basic _bitfield_basic: ## @bitfield_basic .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $10, %edi movl $10, %esi callq _expect movl $11, %edi movl $11, %esi callq _expect movl $362, %edi ## imm = 0x16A movl $362, %esi ## imm = 0x16A popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _bitfield_basic .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bitfield_basic _bitfield_basic: ; @bitfield_basic .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #10 mov w1, #10 bl _expect mov w0, #11 mov w1, #11 bl _expect mov w0, #362 mov w1, #362 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _bitfield_basic .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_bitfield_basic.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bitfield_initializer _bitfield_initializer: ## @bitfield_initializer .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 _inittest@GOTPCREL(%rip), %rbx movsbl (%rbx), %esi movl $2, %edi callq _expect movsbl 1(%rbx), %esi movl $4, %edi callq _expect movl $2, %edi movl $2, %esi callq _expect movl $4, %edi movl $4, %esi addq $8, %rsp popq %rbx popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .comm _inittest,2,0 ## @inittest .no_dead_strip _bitfield_initializer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bitfield_initializer _bitfield_initializer: ; @bitfield_initializer .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, _inittest@GOTPAGE Lloh1: ldr x19, [x19, _inittest@GOTPAGEOFF] ldrsb w1, [x19] mov w0, #2 bl _expect ldrsb w1, [x19, #1] mov w0, #4 bl _expect mov w0, #2 mov w1, #2 bl _expect mov w0, #4 mov w1, #4 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _expect .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _inittest,2,0 ; @inittest .no_dead_strip _bitfield_initializer .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_bitfield_initializer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bitfield_mix _bitfield_mix: ## @bitfield_mix .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $10, %edi movl $10, %esi callq _expect movl $11, %edi movl $11, %esi callq _expect movl $362, %edi ## imm = 0x16A movl $362, %esi ## imm = 0x16A popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _bitfield_mix .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bitfield_mix _bitfield_mix: ; @bitfield_mix .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #10 mov w1, #10 bl _expect mov w0, #11 mov w1, #11 bl _expect mov w0, #362 mov w1, #362 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _bitfield_mix .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_bitfield_mix.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bitfield_union _bitfield_union: ## @bitfield_union .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $2, %edi movl $2, %esi callq _expect movl $2, %edi movl $2, %esi callq _expect movl $2, %edi movl $2, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _bitfield_union .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bitfield_union _bitfield_union: ; @bitfield_union .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #2 mov w1, #2 bl _expect mov w0, #2 mov w1, #2 bl _expect mov w0, #2 mov w1, #2 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _bitfield_union .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_bitfield_union.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bitfield_unnamed _bitfield_unnamed: ## @bitfield_unnamed .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $2, %edi movl $2, %esi callq _expect movl $4, %edi movl $4, %esi callq _expect movl $66, %edi movl $66, %esi callq _expect movl $2, %edi movl $2, %esi callq _expect movl $4, %edi movl $4, %esi callq _expect movl $1026, %edi ## imm = 0x402 movl $1026, %esi ## imm = 0x402 popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _bitfield_unnamed .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bitfield_unnamed _bitfield_unnamed: ; @bitfield_unnamed .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #2 mov w1, #2 bl _expect mov w0, #4 mov w1, #4 bl _expect mov w0, #66 mov w1, #66 bl _expect mov w0, #2 mov w1, #2 bl _expect mov w0, #4 mov w1, #4 bl _expect mov w0, #1026 mov w1, #1026 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _bitfield_unnamed .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_bitfield_unnamed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function empty_struct _empty_struct: ## @empty_struct .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edi, %edi xorl %esi, %esi callq _expect xorl %edi, %edi xorl %esi, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _empty_struct .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function empty_struct _empty_struct: ; @empty_struct .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #0 mov w1, #0 bl _expect mov w0, #0 mov w1, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _empty_struct .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_empty_struct.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function incdec_struct _incdec_struct: ## @incdec_struct .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %edi movl $1, %esi callq _expect movl $2, %edi movl $2, %esi callq _expect movl $3, %edi movl $3, %esi callq _expect movl $4, %edi movl $4, %esi callq _expect movl $1, %edi movl $1, %esi callq _expect movl $2, %edi movl $2, %esi callq _expect movl $3, %edi movl $3, %esi callq _expect movl $4, %edi movl $4, %esi callq _expect movl $1, %edi movl $1, %esi callq _expect movl $2, %edi movl $2, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _incdec_struct .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function incdec_struct _incdec_struct: ; @incdec_struct .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #1 mov w1, #1 bl _expect mov w0, #2 mov w1, #2 bl _expect mov w0, #3 mov w1, #3 bl _expect mov w0, #4 mov w1, #4 bl _expect mov w0, #1 mov w1, #1 bl _expect mov w0, #2 mov w1, #2 bl _expect mov w0, #3 mov w1, #3 bl _expect mov w0, #4 mov w1, #4 bl _expect mov w0, #1 mov w1, #1 bl _expect mov w0, #2 mov w1, #2 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _incdec_struct .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_incdec_struct.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function incomplete _incomplete: ## @incomplete .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $3, %edi movl $3, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _incomplete .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function incomplete _incomplete: ; @incomplete .cfi_startproc ; %bb.0: mov w0, #3 mov w1, #3 b _expect .cfi_endproc ; -- End function .no_dead_strip _incomplete .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_incomplete.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t1 _t1: ## @t1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $61, %edi movl $61, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t1 _t1: ; @t1 .cfi_startproc ; %bb.0: mov w0, #61 mov w1, #61 b _expect .cfi_endproc ; -- End function .no_dead_strip _t1 .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_t1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t10 _t10: ## @t10 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _v10@GOTPCREL(%rip), %rax movabsq $12884901959, %rcx ## imm = 0x300000047 movq %rcx, (%rax) movl $3, 8(%rax) movl $77, %edi movl $77, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .comm _v10,12,2 ## @v10 .no_dead_strip _t10 .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 t10 lCPI0_0: .long 71 ; 0x47 .long 3 ; 0x3 .section __TEXT,__text,regular,pure_instructions .p2align 2 _t10: ; @t10 .cfi_startproc ; %bb.0: Lloh0: adrp x8, _v10@GOTPAGE Lloh1: ldr x8, [x8, _v10@GOTPAGEOFF] Lloh2: adrp x9, lCPI0_0@PAGE Lloh3: ldr d0, [x9, lCPI0_0@PAGEOFF] str d0, [x8] mov w9, #3 str w9, [x8, #8] mov w0, #77 mov w1, #77 b _expect .loh AdrpLdr Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _v10,12,2 ; @v10 .no_dead_strip _t10 .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_t10.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t11 _t11: ## @t11 .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 _v11@GOTPCREL(%rip), %rbx movl $78, (%rbx) movl $78, %edi movl $78, %esi callq _expect movl (%rbx), %esi movl $78, %edi callq _expect movl (%rbx), %esi movl $78, %edi callq _expect movl $79, (%rbx) movl $79, %edi movl $79, %esi callq _expect movl (%rbx), %esi movl $79, %edi callq _expect movl (%rbx), %esi movl $79, %edi addq $8, %rsp popq %rbx popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .comm _v11,4,2 ## @v11 .no_dead_strip _t11 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t11 _t11: ; @t11 .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, _v11@GOTPAGE Lloh1: ldr x19, [x19, _v11@GOTPAGEOFF] mov w8, #78 str w8, [x19] mov w0, #78 mov w1, #78 bl _expect ldr w1, [x19] mov w0, #78 bl _expect ldr w1, [x19] mov w0, #78 bl _expect mov w8, #79 str w8, [x19] mov w0, #79 mov w1, #79 bl _expect ldr w1, [x19] mov w0, #79 bl _expect ldr w1, [x19] mov w0, #79 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _expect .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _v11,4,2 ; @v11 .no_dead_strip _t11 .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_t11.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t12 _t12: ## @t12 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $83, %edi movl $83, %esi callq _expect movl $84, %edi movl $84, %esi callq _expect movl $85, %edi movl $85, %esi callq _expect movl $85, %edi movl $85, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t12 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t12 _t12: ; @t12 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #83 mov w1, #83 bl _expect mov w0, #84 mov w1, #84 bl _expect mov w0, #85 mov w1, #85 bl _expect mov w0, #85 mov w1, #85 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _t12 .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_t12.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t13 _t13: ## @t13 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $97, %edi movl $97, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t13 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t13 _t13: ; @t13 .cfi_startproc ; %bb.0: mov w0, #97 mov w1, #97 b _expect .cfi_endproc ; -- End function .no_dead_strip _t13 .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_t13.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t14 _t14: ## @t14 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $2, %edi movl $2, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t14 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t14 _t14: ; @t14 .cfi_startproc ; %bb.0: mov w0, #2 mov w1, #2 b _expect .cfi_endproc ; -- End function .no_dead_strip _t14 .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_t14.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t2 _t2: ## @t2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $63, %edi movl $63, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t2 _t2: ; @t2 .cfi_startproc ; %bb.0: mov w0, #63 mov w1, #63 b _expect .cfi_endproc ; -- End function .no_dead_strip _t2 .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_t2.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t3 _t3: ## @t3 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $67, %edi movl $67, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t3 _t3: ; @t3 .cfi_startproc ; %bb.0: mov w0, #67 mov w1, #67 b _expect .cfi_endproc ; -- End function .no_dead_strip _t3 .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_t3.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t4 _t4: ## @t4 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $67, %edi movl $67, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t4 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t4 _t4: ; @t4 .cfi_startproc ; %bb.0: mov w0, #67 mov w1, #67 b _expect .cfi_endproc ; -- End function .no_dead_strip _t4 .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_t4.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t9 _t9: ## @t9 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $73, %edi movl $73, %esi callq _expect movl $74, %edi movl $74, %esi callq _expect movl $74, %edi movl $74, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t9 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t9 _t9: ; @t9 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #73 mov w1, #73 bl _expect mov w0, #74 mov w1, #74 bl _expect mov w0, #74 mov w1, #74 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _t9 .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_t9.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ## -- Begin function testmain .p2align 4, 0x90 _testmain: ## @testmain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _print xorl %eax, %eax callq _t1 xorl %eax, %eax callq _t2 xorl %eax, %eax callq _t3 xorl %eax, %eax callq _t4 xorl %eax, %eax callq _t5 xorl %eax, %eax callq _t6 xorl %eax, %eax callq _t7 xorl %eax, %eax callq _t8 xorl %eax, %eax callq _t9 xorl %eax, %eax callq _t10 xorl %eax, %eax callq _t11 xorl %eax, %eax callq _t12 xorl %eax, %eax callq _t13 xorl %eax, %eax callq _t14 xorl %eax, %eax callq _unnamed xorl %eax, %eax callq _assign xorl %eax, %eax callq _arrow xorl %eax, %eax callq _incomplete xorl %eax, %eax callq _bitfield_basic xorl %eax, %eax callq _bitfield_mix xorl %eax, %eax callq _bitfield_union xorl %eax, %eax callq _bitfield_unnamed xorl %eax, %eax callq _bitfield_initializer xorl %eax, %eax callq _test_offsetof xorl %eax, %eax callq _flexible_member xorl %eax, %eax popq %rbp jmp _empty_struct ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "struct" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ; -- Begin function testmain .p2align 2 _testmain: ; @testmain .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _print bl _t1 bl _t2 bl _t3 bl _t4 bl _t5 bl _t6 bl _t7 bl _t8 bl _t9 bl _t10 bl _t11 bl _t12 bl _t13 bl _t14 bl _unnamed bl _assign bl _arrow bl _incomplete bl _bitfield_basic bl _bitfield_mix bl _bitfield_union bl _bitfield_unnamed bl _bitfield_initializer bl _test_offsetof bl _flexible_member ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _empty_struct .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "struct" .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_testmain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function unnamed _unnamed: ## @unnamed .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %edi movl $1, %esi callq _expect movl $7, %edi movl $7, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _unnamed .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function unnamed _unnamed: ; @unnamed .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #1 mov w1, #1 bl _expect mov w0, #7 mov w1, #7 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _unnamed .subsections_via_symbols
AnghaBench/8cc/test/extr_struct.c_unnamed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _booltest1 ## -- Begin function booltest1 .p2align 4, 0x90 _booltest1: ## @booltest1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _booltest1 ; -- Begin function booltest1 .p2align 2 _booltest1: ; @booltest1 .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/8cc/test/extr_testmain.c_booltest1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fexpect ## -- Begin function fexpect .p2align 4, 0x90 _fexpect: ## @fexpect .cfi_startproc ## %bb.0: cmpl %ecx, %edx jne LBB0_2 ## %bb.1: retq LBB0_2: 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, %ebx movl %esi, %r15d movq %rdi, %r12 xorl %eax, %eax callq _printfail leaq L_.str(%rip), %rdi movq %r12, %rsi movl %r15d, %edx movl %ebx, %ecx movl %r14d, %r8d callq _printf movl $1, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s:%d: %d expected, but got %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fexpect ; -- Begin function fexpect .p2align 2 _fexpect: ; @fexpect .cfi_startproc ; %bb.0: cmp w2, w3 b.ne LBB0_2 ; %bb.1: ret LBB0_2: 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 bl _printfail Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x22 mov x2, x21 mov x3, x20 mov x4, x19 bl _printf mov w0, #1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s:%d: %d expected, but got %d\n" .subsections_via_symbols
AnghaBench/8cc/test/extr_testmain.c_fexpect.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fexpect_string ## -- Begin function fexpect_string .p2align 4, 0x90 _fexpect_string: ## @fexpect_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movq %rdx, %rbx movl %esi, %r15d movq %rdi, %r12 movq %rdx, %rdi movq %rcx, %rsi callq _strcmp testl %eax, %eax jne LBB0_2 ## %bb.1: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_2: xorl %eax, %eax callq _printfail leaq L_.str(%rip), %rdi movq %r12, %rsi movl %r15d, %edx movq %rbx, %rcx movq %r14, %r8 callq _printf movl $1, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s:%d: \"%s\" expected, but got \"%s\"\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fexpect_string ; -- Begin function fexpect_string .p2align 2 _fexpect_string: ; @fexpect_string .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 mov x0, x2 mov x1, x3 bl _strcmp cbnz w0, LBB0_2 ; %bb.1: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_2: bl _printfail Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x22 mov x2, x21 mov x3, x20 mov x4, x19 bl _printf mov w0, #1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s:%d: \"%s\" expected, but got \"%s\"\n" .subsections_via_symbols
AnghaBench/8cc/test/extr_testmain.c_fexpect_string.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fexpectd ## -- Begin function fexpectd .p2align 4, 0x90 _fexpectd: ## @fexpectd .cfi_startproc ## %bb.0: ucomisd %xmm1, %xmm0 jne LBB0_2 jp LBB0_2 ## %bb.1: retq LBB0_2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx xorl %eax, %eax movsd %xmm1, -32(%rbp) ## 8-byte Spill movsd %xmm0, -24(%rbp) ## 8-byte Spill callq _printfail leaq L_.str(%rip), %rdi movq %rbx, %rsi movl %r14d, %edx movsd -24(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero movsd -32(%rbp), %xmm1 ## 8-byte Reload ## xmm1 = mem[0],zero callq _printf movl $1, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s:%d: %lf expected, but got %lf\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fexpectd ; -- Begin function fexpectd .p2align 2 _fexpectd: ; @fexpectd .cfi_startproc ; %bb.0: fcmp d0, d1 b.ne LBB0_2 ; %bb.1: ret LBB0_2: stp d9, d8, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset b8, -40 .cfi_offset b9, -48 fmov d8, d1 fmov d9, d0 mov x19, x1 mov x20, x0 bl _printfail Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x20 mov x2, x19 fmov d0, d9 fmov d1, d8 bl _printf mov w0, #1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s:%d: %lf expected, but got %lf\n" .subsections_via_symbols
AnghaBench/8cc/test/extr_testmain.c_fexpectd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fexpectf ## -- Begin function fexpectf .p2align 4, 0x90 _fexpectf: ## @fexpectf .cfi_startproc ## %bb.0: ucomiss %xmm1, %xmm0 jne LBB0_2 jp LBB0_2 ## %bb.1: retq LBB0_2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx xorl %eax, %eax movss %xmm1, -24(%rbp) ## 4-byte Spill movss %xmm0, -20(%rbp) ## 4-byte Spill callq _printfail leaq L_.str(%rip), %rdi movq %rbx, %rsi movl %r14d, %edx movss -20(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movss -24(%rbp), %xmm1 ## 4-byte Reload ## xmm1 = mem[0],zero,zero,zero callq _printf movl $1, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s:%d: %f expected, but got %f\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fexpectf ; -- Begin function fexpectf .p2align 2 _fexpectf: ; @fexpectf .cfi_startproc ; %bb.0: fcmp s0, s1 b.ne LBB0_2 ; %bb.1: ret LBB0_2: stp d9, d8, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset b8, -40 .cfi_offset b9, -48 fmov s8, s1 fmov s9, s0 mov x19, x1 mov x20, x0 bl _printfail Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x20 mov x2, x19 fmov s0, s9 fmov s1, s8 bl _printf mov w0, #1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s:%d: %f expected, but got %f\n" .subsections_via_symbols
AnghaBench/8cc/test/extr_testmain.c_fexpectf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fexpectl ## -- Begin function fexpectl .p2align 4, 0x90 _fexpectl: ## @fexpectl .cfi_startproc ## %bb.0: cmpq %rcx, %rdx jne LBB0_2 ## %bb.1: retq LBB0_2: 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, %r14 movq %rdx, %rbx movl %esi, %r15d movq %rdi, %r12 xorl %eax, %eax callq _printfail leaq L_.str(%rip), %rdi movq %r12, %rsi movl %r15d, %edx movq %rbx, %rcx movq %r14, %r8 callq _printf movl $1, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s:%d: %ld expected, but got %ld\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fexpectl ; -- Begin function fexpectl .p2align 2 _fexpectl: ; @fexpectl .cfi_startproc ; %bb.0: cmp x2, x3 b.ne LBB0_2 ; %bb.1: ret LBB0_2: 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 bl _printfail Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x22 mov x2, x21 mov x3, x20 mov x4, x19 bl _printf mov w0, #1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s:%d: %ld expected, but got %ld\n" .subsections_via_symbols
AnghaBench/8cc/test/extr_testmain.c_fexpectl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ffail ## -- Begin function ffail .p2align 4, 0x90 _ffail: ## @ffail .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 movl %esi, %r15d movq %rdi, %rbx xorl %eax, %eax callq _printfail leaq L_.str(%rip), %rdi movq %rbx, %rsi movl %r15d, %edx movq %r14, %rcx callq _printf movl $1, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s:%d: %s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ffail ; -- Begin function ffail .p2align 2 _ffail: ; @ffail .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 bl _printfail Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x21 mov x2, x20 mov x3, x19 bl _printf mov w0, #1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s:%d: %s\n" .subsections_via_symbols
AnghaBench/8cc/test/extr_testmain.c_ffail.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 callq _testmain movq _stdout@GOTPCREL(%rip), %rax movl (%rax), %edi callq _fileno movl %eax, %edi callq _isatty testq %rax, %rax leaq L_.str.1(%rip), %rax leaq L_.str(%rip), %rdi cmoveq %rax, %rdi callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _stdout,4,2 ## @stdout .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\033[32mOK\033[0m\n" L_.str.1: ## @.str.1 .asciz "OK\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 bl _testmain Lloh0: adrp x8, _stdout@GOTPAGE Lloh1: ldr x8, [x8, _stdout@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _fileno bl _isatty Lloh3: adrp x8, l_.str@PAGE Lloh4: add x8, x8, l_.str@PAGEOFF Lloh5: adrp x9, l_.str.1@PAGE Lloh6: add x9, x9, l_.str.1@PAGEOFF cmp x0, #0 csel x0, x9, x8, eq bl _printf mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _stdout,4,2 ; @stdout .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\033[32mOK\033[0m\n" l_.str.1: ; @.str.1 .asciz "OK\n" .subsections_via_symbols
AnghaBench/8cc/test/extr_testmain.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _oldstyle1 ## -- Begin function oldstyle1 .p2align 4, 0x90 _oldstyle1: ## @oldstyle1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $esi killed $esi def $rsi ## kill: def $edi killed $edi def $rdi leal (%rdi,%rsi), %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 _oldstyle1 ; -- Begin function oldstyle1 .p2align 2 _oldstyle1: ; @oldstyle1 .cfi_startproc ; %bb.0: add w0, w1, w0 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/8cc/test/extr_testmain.c_oldstyle1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _print ## -- Begin function print .p2align 4, 0x90 _print: ## @print .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, %rsi leaq L_.str(%rip), %rdi callq _printf movq _stdout@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _fflush ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Testing %s ... " .comm _stdout,4,2 ## @stdout .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _print ; -- Begin function print .p2align 2 _print: ; @print .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 x1, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf Lloh2: adrp x8, _stdout@GOTPAGE Lloh3: ldr x8, [x8, _stdout@GOTPAGEOFF] Lloh4: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _fflush .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Testing %s ... " .comm _stdout,4,2 ; @stdout .subsections_via_symbols
AnghaBench/8cc/test/extr_testmain.c_print.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _printfail ## -- Begin function printfail .p2align 4, 0x90 _printfail: ## @printfail .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _stdout@GOTPCREL(%rip), %rax movl (%rax), %edi callq _fileno movl %eax, %edi callq _isatty testq %rax, %rax leaq L_.str.1(%rip), %rax leaq L_.str(%rip), %rdi cmoveq %rax, %rdi popq %rbp jmp _printf ## TAILCALL .cfi_endproc ## -- End function .comm _stdout,4,2 ## @stdout .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\033[1;31mFailed\033[0m\n" L_.str.1: ## @.str.1 .asciz "Failed\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _printfail ; -- Begin function printfail .p2align 2 _printfail: ; @printfail .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, _stdout@GOTPAGE Lloh1: ldr x8, [x8, _stdout@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _fileno bl _isatty Lloh3: adrp x8, l_.str@PAGE Lloh4: add x8, x8, l_.str@PAGEOFF Lloh5: adrp x9, l_.str.1@PAGE Lloh6: add x9, x9, l_.str.1@PAGEOFF cmp x0, #0 csel x0, x9, x8, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _printf .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _stdout,4,2 ; @stdout .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\033[1;31mFailed\033[0m\n" l_.str.1: ; @.str.1 .asciz "Failed\n" .subsections_via_symbols
AnghaBench/8cc/test/extr_testmain.c_printfail.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_align _test_align: ## @test_align .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 _test_align .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_align _test_align: ; @test_align .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _test_align .subsections_via_symbols
AnghaBench/8cc/test/extr_type.c_test_align.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_pointer _test_pointer: ## @test_pointer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $8, %edi movl $8, %esi callq _expect movl $40, %edi movl $40, %esi callq _expect movl $8, %edi movl $8, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _test_pointer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_pointer _test_pointer: ; @test_pointer .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #8 mov w1, #8 bl _expect mov w0, #40 mov w1, #40 bl _expect mov w0, #8 mov w1, #8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _test_pointer .subsections_via_symbols
AnghaBench/8cc/test/extr_type.c_test_pointer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_signed _test_signed: ## @test_signed .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 _test_signed .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_signed _test_signed: ; @test_signed .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _test_signed .subsections_via_symbols
AnghaBench/8cc/test/extr_type.c_test_signed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_storage_class _test_storage_class: ## @test_storage_class .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .comm _a,4,2 ## @a .comm _c,4,2 ## @c .no_dead_strip _test_storage_class .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_storage_class _test_storage_class: ; @test_storage_class .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .comm _a,4,2 ; @a .comm _c,4,2 ; @c .no_dead_strip _test_storage_class .subsections_via_symbols
AnghaBench/8cc/test/extr_type.c_test_storage_class.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_type _test_type: ## @test_type .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 _test_type .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_type _test_type: ; @test_type .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _test_type .subsections_via_symbols
AnghaBench/8cc/test/extr_type.c_test_type.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_typedef _test_typedef: ## @test_typedef .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $5, %edi movl $5, %esi callq _expect movl $2, %edi movl $2, %esi callq _expect movl $5, %edi movl $5, %esi callq _expect movl $3, %edi movl $3, %esi callq _expect movl $1, %edi movl $1, %esi callq _expect movl $5, %edi movl $5, %esi callq _expect movl $4, %edi movl $4, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _test_typedef .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_typedef _test_typedef: ; @test_typedef .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #5 mov w1, #5 bl _expect mov w0, #2 mov w1, #2 bl _expect mov w0, #5 mov w1, #5 bl _expect mov w0, #3 mov w1, #3 bl _expect mov w0, #1 mov w1, #1 bl _expect mov w0, #5 mov w1, #5 bl _expect mov w0, #4 mov w1, #4 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _expect .cfi_endproc ; -- End function .no_dead_strip _test_typedef .subsections_via_symbols
AnghaBench/8cc/test/extr_type.c_test_typedef.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_unsigned _test_unsigned: ## @test_unsigned .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 _test_unsigned .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_unsigned _test_unsigned: ; @test_unsigned .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _test_unsigned .subsections_via_symbols
AnghaBench/8cc/test/extr_type.c_test_unsigned.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_unusual_order _test_unusual_order: ## @test_unusual_order .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 _test_unusual_order .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_unusual_order _test_unusual_order: ; @test_unusual_order .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _test_unusual_order .subsections_via_symbols
AnghaBench/8cc/test/extr_type.c_test_unusual_order.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ## -- Begin function testmain .p2align 4, 0x90 _testmain: ## @testmain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _print xorl %eax, %eax callq _test_type xorl %eax, %eax callq _test_signed xorl %eax, %eax callq _test_unsigned xorl %eax, %eax callq _test_storage_class xorl %eax, %eax callq _test_pointer xorl %eax, %eax callq _test_unusual_order xorl %eax, %eax callq _test_typedef xorl %eax, %eax popq %rbp jmp _test_align ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "type system" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ; -- Begin function testmain .p2align 2 _testmain: ; @testmain .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _print bl _test_type bl _test_signed bl _test_unsigned bl _test_storage_class bl _test_pointer bl _test_unusual_order bl _test_typedef ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _test_align .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "type system" .subsections_via_symbols
AnghaBench/8cc/test/extr_type.c_testmain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ## -- Begin function testmain .p2align 4, 0x90 _testmain: ## @testmain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _print xorl %eax, %eax callq _test_basic xorl %eax, %eax callq _test_array xorl %eax, %eax popq %rbp jmp _test_alt ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "typeof" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ; -- Begin function testmain .p2align 2 _testmain: ; @testmain .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _print bl _test_basic bl _test_array ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _test_alt .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "typeof" .subsections_via_symbols
AnghaBench/8cc/test/extr_typeof.c_testmain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t1 _t1: ## @t1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $90, %edi movl $90, %esi popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t1 _t1: ; @t1 .cfi_startproc ; %bb.0: mov w0, #90 mov w1, #90 b _expect .cfi_endproc ; -- End function .no_dead_strip _t1 .subsections_via_symbols
AnghaBench/8cc/test/extr_union.c_t1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t2 _t2: ## @t2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $256, %edi ## imm = 0x100 movl $256, %esi ## imm = 0x100 popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t2 _t2: ; @t2 .cfi_startproc ; %bb.0: mov w0, #256 mov w1, #256 b _expect .cfi_endproc ; -- End function .no_dead_strip _t2 .subsections_via_symbols
AnghaBench/8cc/test/extr_union.c_t2.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t3 _t3: ## @t3 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $256, %edi ## imm = 0x100 movl $256, %esi ## imm = 0x100 popq %rbp jmp _expect ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _t3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t3 _t3: ; @t3 .cfi_startproc ; %bb.0: mov w0, #256 mov w1, #256 b _expect .cfi_endproc ; -- End function .no_dead_strip _t3 .subsections_via_symbols
AnghaBench/8cc/test/extr_union.c_t3.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ## -- Begin function testmain .p2align 4, 0x90 _testmain: ## @testmain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _print xorl %eax, %eax callq _t1 xorl %eax, %eax callq _t2 xorl %eax, %eax callq _t3 xorl %eax, %eax popq %rbp jmp _test_sizeof ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "union" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ; -- Begin function testmain .p2align 2 _testmain: ; @testmain .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _print bl _t1 bl _t2 bl _t3 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _test_sizeof .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "union" .subsections_via_symbols
AnghaBench/8cc/test/extr_union.c_testmain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ## -- Begin function testmain .p2align 4, 0x90 _testmain: ## @testmain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _print xorl %eax, %eax popq %rbp jmp _test_usual_conv ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "usual conversion" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ; -- Begin function testmain .p2align 2 _testmain: ; @testmain .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _print ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _test_usual_conv .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "usual conversion" .subsections_via_symbols
AnghaBench/8cc/test/extr_usualconv.c_testmain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function test_va_list LCPI0_0: .quad 0x3ff0000000000000 ## double 1 LCPI0_1: .quad 0x4000000000000000 ## double 2 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _test_va_list: ## @test_va_list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rbx movq %rbx, %rdi xorl %eax, %eax callq _fmt movq %rbx, %rdi movl %eax, %esi callq _expect_string leaq L_.str.2(%rip), %rdi movl $3, %esi xorl %eax, %eax callq _fmt leaq L_.str.1(%rip), %rdi movl %eax, %esi callq _expect_string leaq L_.str.4(%rip), %rdi leaq L_.str.5(%rip), %rcx movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero movl $3, %esi movl $6, %edx movb $2, %al callq _fmt leaq L_.str.3(%rip), %rdi movl %eax, %esi addq $8, %rsp popq %rbx popq %rbp jmp _expect_string ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 L_.str.1: ## @.str.1 .asciz "3" L_.str.2: ## @.str.2 .asciz "%d" L_.str.3: ## @.str.3 .asciz "3,1.0,6,2.0,abc" L_.str.4: ## @.str.4 .asciz "%d,%.1f,%d,%.1f,%s" L_.str.5: ## @.str.5 .asciz "abc" .no_dead_strip _test_va_list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_va_list _test_va_list: ; @test_va_list .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _fmt mov x1, x0 mov x0, x19 bl _expect_string mov w19, #3 str x19, [sp] Lloh2: adrp x0, l_.str.2@PAGE Lloh3: add x0, x0, l_.str.2@PAGEOFF bl _fmt mov x1, x0 Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF bl _expect_string Lloh6: adrp x8, l_.str.5@PAGE Lloh7: add x10, x8, l_.str.5@PAGEOFF mov x8, #4611686018427387904 mov w9, #6 stp x8, x10, [sp, #24] mov x8, #4607182418800017408 stp x8, x9, [sp, #8] str x19, [sp] Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF bl _fmt mov x1, x0 Lloh10: adrp x0, l_.str.3@PAGE Lloh11: add x0, x0, l_.str.3@PAGEOFF ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload add sp, sp, #80 b _expect_string .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 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 l_.str.1: ; @.str.1 .asciz "3" l_.str.2: ; @.str.2 .asciz "%d" l_.str.3: ; @.str.3 .asciz "3,1.0,6,2.0,abc" l_.str.4: ; @.str.4 .asciz "%d,%.1f,%d,%.1f,%s" l_.str.5: ; @.str.5 .asciz "abc" .no_dead_strip _test_va_list .subsections_via_symbols
AnghaBench/8cc/test/extr_varargs.c_test_va_list.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function testmain LCPI0_0: .quad 0x3ff0000000000000 ## double 1 LCPI0_1: .quad 0x4000000000000000 ## double 2 LCPI0_2: .quad 0x4010000000000000 ## double 4 LCPI0_3: .quad 0x4020000000000000 ## double 8 .section __TEXT,__text,regular,pure_instructions .globl _testmain .p2align 4, 0x90 _testmain: ## @testmain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _print xorl %eax, %eax callq _test_builtin movl $1, %edi movl $2, %esi movl $3, %edx movl $5, %ecx movl $8, %r8d callq _test_int movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero movsd LCPI0_2(%rip), %xmm2 ## xmm2 = mem[0],zero movsd LCPI0_3(%rip), %xmm3 ## xmm3 = mem[0],zero callq _test_float leaq L_.str.1(%rip), %rdi leaq L_.str.2(%rip), %rdx movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero movl $4, %esi movl $5, %ecx callq _test_mix xorl %eax, %eax popq %rbp jmp _test_va_list ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "varargs" L_.str.1: ## @.str.1 .asciz "abc" L_.str.2: ## @.str.2 .asciz "d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _testmain ; -- Begin function testmain .p2align 2 _testmain: ; @testmain .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _print bl _test_builtin mov w0, #1 mov w1, #2 mov w2, #3 mov w3, #5 mov w4, #8 bl _test_int fmov d0, #1.00000000 fmov d1, #2.00000000 fmov d2, #4.00000000 fmov d3, #8.00000000 bl _test_float Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF Lloh4: adrp x2, l_.str.2@PAGE Lloh5: add x2, x2, l_.str.2@PAGEOFF fmov d0, #2.00000000 mov w1, #4 mov w3, #5 bl _test_mix ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _test_va_list .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "varargs" l_.str.1: ; @.str.1 .asciz "abc" l_.str.2: ; @.str.2 .asciz "d" .subsections_via_symbols
AnghaBench/8cc/test/extr_varargs.c_testmain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _filter ## -- Begin function filter .p2align 4, 0x90 _filter: ## @filter .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $46, %esi callq _strrchr testq %rax, %rax je LBB0_1 ## %bb.2: leaq L_.str(%rip), %rsi movq %rax, %rdi callq _strcmp movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx sete %al popq %rbp retq LBB0_1: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz ".desktop" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _filter ; -- Begin function filter .p2align 2 _filter: ; @filter .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 w1, #46 bl _strrchr cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _strcmp cmp w0, #0 cset w0, eq LBB0_2: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz ".desktop" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_AppRun.c_filter.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 $104, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movl %edi, %r14d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi xorl %esi, %esi callq _realpath movl %eax, %edi callq _dirname movq %rax, %r15 testq %rax, %rax jne LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _die LBB0_2: movq _filter@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -136(%rbp), %rsi movq %r15, %rdi xorl %ecx, %ecx callq _scandir cmpl $-1, %eax je LBB0_5 ## %bb.3: testl %eax, %eax jne LBB0_6 ## %bb.4: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _die jmp LBB0_6 LBB0_5: leaq L_.str.3(%rip), %rdi movq %r15, %rsi xorl %eax, %eax callq _die LBB0_6: movq _LINE_SIZE@GOTPCREL(%rip), %r13 movq (%r13), %rdi movl $1, %esi callq _calloc movq %rax, %rbx movq (%r13), %rsi movq -136(%rbp), %rax movq (%rax), %rax movq (%rax), %r8 leaq L_.str.4(%rip), %rdx movq %rbx, %rdi movq %r15, -96(%rbp) ## 8-byte Spill movq %r15, %rcx xorl %eax, %eax callq _snprintf leaq L_.str.5(%rip), %rsi movq %rbx, -128(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _fopen movq %rax, %rbx movq (%r13), %r15 movq %r15, %rdi callq _malloc movq %rax, -72(%rbp) movq %r15, -80(%rbp) leaq -80(%rbp), %r13 leaq L_.str.7(%rip), %r15 jmp LBB0_7 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_7 Depth=1 movq -72(%rbp), %rdi movq %r15, %rsi movl $5, %edx callq _strncmp testq %rax, %rax je LBB0_10 LBB0_7: ## =>This Inner Loop Header: Depth=1 leaq -72(%rbp), %rdi movq %r13, %rsi movq %rbx, %rdx callq _getline cmpl $-1, %eax jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _die jmp LBB0_9 LBB0_10: movq %rbx, %rdi callq _fclose movq -72(%rbp), %rdi leaq 5(%rdi), %r13 movq $0, -80(%rbp) movq _LINE_SIZE@GOTPCREL(%rip), %r9 movq (%r9), %rax movl %r14d, %r15d movq %r13, %rbx testq %rax, %rax je LBB0_16 ## %bb.11: xorl %esi, %esi leaq LJTI0_0(%rip), %r8 xorl %edx, %edx .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movzbl (%rdi,%rdx), %ebx cmpq $34, %rbx ja LBB0_25 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 movslq (%r8,%rbx,4), %rcx addq %r8, %rcx jmpq *%rcx LBB0_24: ## in Loop: Header=BB0_12 Depth=1 xorl %ecx, %ecx testl %esi, %esi sete %cl movl %ecx, %esi jmp LBB0_28 .p2align 4, 0x90 LBB0_25: ## in Loop: Header=BB0_12 Depth=1 cmpb $32, %bl jne LBB0_28 ## %bb.26: ## in Loop: Header=BB0_12 Depth=1 testl %esi, %esi jne LBB0_28 ## %bb.27: ## in Loop: Header=BB0_12 Depth=1 movb $0, (%rdi,%rdx) movq -80(%rbp), %rdx movq (%r9), %rax xorl %esi, %esi LBB0_28: ## in Loop: Header=BB0_12 Depth=1 incq %rdx movq %rdx, -80(%rbp) cmpq %rax, %rdx jae LBB0_15 ## %bb.29: ## in Loop: Header=BB0_12 Depth=1 movq -72(%rbp), %rdi jmp LBB0_12 LBB0_14: movb $0, (%rdi,%rdx) movq -72(%rbp), %rax movq -80(%rbp), %rcx movb $0, 1(%rcx,%rax) movq -72(%rbp), %rax movq -80(%rbp), %rcx movb $0, 2(%rcx,%rax) LBB0_15: movl %r14d, %r15d movq %r13, %rbx .p2align 4, 0x90 LBB0_16: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _strlen incl %r15d cmpb $0, 1(%rax,%rbx) leaq 1(%rax,%rbx), %rbx jne LBB0_16 ## %bb.17: movq %rsp, -112(%rbp) ## 8-byte Spill movl %r15d, %eax shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rsi movq %r13, (%rsi) decl %r14d addq $8, %r12 leaq 112(%rsi), %rcx leaq 16(%rsi), %rax movq %rax, -104(%rbp) ## 8-byte Spill movl $1, %eax movq %r13, -120(%rbp) ## 8-byte Spill movq %r13, %r15 movq %rsi, -64(%rbp) ## 8-byte Spill movq %rcx, -88(%rbp) ## 8-byte Spill LBB0_18: ## =>This Loop Header: Depth=1 ## Child Loop BB0_19 Depth 2 ## Child Loop BB0_64 Depth 2 ## Child Loop BB0_67 Depth 2 ## Child Loop BB0_71 Depth 2 cltq movq %rax, -56(%rbp) ## 8-byte Spill leaq (%rcx,%rax,8), %r13 jmp LBB0_19 .p2align 4, 0x90 LBB0_73: ## in Loop: Header=BB0_19 Depth=2 movq _stderr@GOTPCREL(%rip), %rcx movl (%rcx), %edi movsbl %al, %edx leaq L_.str.8(%rip), %rsi callq _fprintf LBB0_19: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rbx movq %r15, %rdi callq _strlen addq %rax, %r15 incq %r15 movzbl 1(%rax,%rbx), %eax cmpb $34, %al je LBB0_50 ## %bb.20: ## in Loop: Header=BB0_19 Depth=2 cmpb $37, %al je LBB0_51 ## %bb.21: ## in Loop: Header=BB0_19 Depth=2 testb %al, %al je LBB0_22 jmp LBB0_75 .p2align 4, 0x90 LBB0_50: ## in Loop: Header=BB0_19 Depth=2 cmpb $37, 1(%r15) jne LBB0_75 LBB0_51: ## in Loop: Header=BB0_19 Depth=2 xorl %ecx, %ecx cmpb $37, %al sete %cl movq %r15, %rax subq %rcx, %rax movsbl 2(%rax), %eax movl %eax, %ecx addl $-70, %ecx cmpl $47, %ecx ja LBB0_74 ## %bb.52: ## in Loop: Header=BB0_19 Depth=2 movabsq $172335562752, %rdx ## imm = 0x2820000000 btq %rcx, %rdx jb LBB0_73 ## %bb.53: ## in Loop: Header=BB0_19 Depth=2 movl $32769, %edx ## imm = 0x8001 btq %rcx, %rdx jb LBB0_57 ## %bb.54: ## in Loop: Header=BB0_19 Depth=2 movabsq $140741783322624, %rdx ## imm = 0x800100000000 btq %rcx, %rdx jae LBB0_74 ## %bb.55: ## in Loop: Header=BB0_19 Depth=2 testl %r14d, %r14d jle LBB0_19 jmp LBB0_56 .p2align 4, 0x90 LBB0_57: ## in Loop: Header=BB0_19 Depth=2 testl %r14d, %r14d jle LBB0_19 jmp LBB0_58 LBB0_74: ## in Loop: Header=BB0_19 Depth=2 movq _stderr@GOTPCREL(%rip), %rcx movl (%rcx), %edi movsbl %al, %edx leaq L_.str.9(%rip), %rsi callq _fprintf jmp LBB0_19 LBB0_75: ## in Loop: Header=BB0_19 Depth=2 movq -56(%rbp), %rcx ## 8-byte Reload movslq %ecx, %rax incq %rcx movq -64(%rbp), %rdx ## 8-byte Reload movq %r15, (%rdx,%rax,8) addq $8, %r13 movq %rcx, -56(%rbp) ## 8-byte Spill jmp LBB0_19 .p2align 4, 0x90 LBB0_56: ## in Loop: Header=BB0_18 Depth=1 movq (%r12), %rcx addq $8, %r12 movq -56(%rbp), %rax ## 8-byte Reload movslq %eax, %rdx incl %eax movq -64(%rbp), %rsi ## 8-byte Reload movq %rcx, (%rsi,%rdx,8) decl %r14d movq -88(%rbp), %rcx ## 8-byte Reload jmp LBB0_18 .p2align 4, 0x90 LBB0_58: ## in Loop: Header=BB0_18 Depth=1 movq -56(%rbp), %r10 ## 8-byte Reload movslq %r10d, %rax leal -1(%r14), %r9d cmpl $3, %r9d jae LBB0_60 ## %bb.59: ## in Loop: Header=BB0_18 Depth=1 movq -64(%rbp), %rsi ## 8-byte Reload jmp LBB0_70 LBB0_60: ## in Loop: Header=BB0_18 Depth=1 movq -64(%rbp), %rsi ## 8-byte Reload leaq (%rsi,%rax,8), %rdx subq %r12, %rdx cmpq $32, %rdx jb LBB0_70 ## %bb.61: ## in Loop: Header=BB0_18 Depth=1 incq %r9 movq %r9, %r8 andq $-4, %r8 leaq -4(%r8), %rdx movq %rdx, %rdi shrq $2, %rdi incq %rdi movl %edi, %ecx andl $3, %ecx cmpq $12, %rdx jae LBB0_63 ## %bb.62: ## in Loop: Header=BB0_18 Depth=1 xorl %ebx, %ebx jmp LBB0_65 LBB0_63: ## in Loop: Header=BB0_18 Depth=1 andq $-4, %rdi xorl %ebx, %ebx .p2align 4, 0x90 LBB0_64: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 movups (%r12,%rbx,8), %xmm0 movups 16(%r12,%rbx,8), %xmm1 movups %xmm0, -112(%r13,%rbx,8) movups %xmm1, -96(%r13,%rbx,8) movups 32(%r12,%rbx,8), %xmm0 movups 48(%r12,%rbx,8), %xmm1 movups %xmm0, -80(%r13,%rbx,8) movups %xmm1, -64(%r13,%rbx,8) movups 64(%r12,%rbx,8), %xmm0 movups 80(%r12,%rbx,8), %xmm1 movups %xmm0, -48(%r13,%rbx,8) movups %xmm1, -32(%r13,%rbx,8) movups 96(%r12,%rbx,8), %xmm0 movups 112(%r12,%rbx,8), %xmm1 movups %xmm0, -16(%r13,%rbx,8) movups %xmm1, (%r13,%rbx,8) addq $16, %rbx addq $-4, %rdi jne LBB0_64 LBB0_65: ## in Loop: Header=BB0_18 Depth=1 testq %rcx, %rcx je LBB0_68 ## %bb.66: ## in Loop: Header=BB0_18 Depth=1 addq %rbx, %r10 movq -104(%rbp), %rdx ## 8-byte Reload leaq (%rdx,%r10,8), %rdi leaq (%r12,%rbx,8), %rbx addq $16, %rbx shlq $5, %rcx xorl %edx, %edx .p2align 4, 0x90 LBB0_67: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 movups -16(%rbx,%rdx), %xmm0 movups (%rbx,%rdx), %xmm1 movups %xmm0, -16(%rdi,%rdx) movups %xmm1, (%rdi,%rdx) addq $32, %rdx cmpq %rdx, %rcx jne LBB0_67 LBB0_68: ## in Loop: Header=BB0_18 Depth=1 addq %r8, %rax leaq (%r12,%r8,8), %r12 cmpq %r8, %r9 je LBB0_72 ## %bb.69: ## in Loop: Header=BB0_18 Depth=1 subl %r8d, %r14d .p2align 4, 0x90 LBB0_70: ## in Loop: Header=BB0_18 Depth=1 incl %r14d .p2align 4, 0x90 LBB0_71: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%r12), %rcx addq $8, %r12 movq %rcx, (%rsi,%rax,8) incq %rax decl %r14d cmpl $1, %r14d ja LBB0_71 LBB0_72: ## in Loop: Header=BB0_18 Depth=1 xorl %r14d, %r14d movq -88(%rbp), %rcx ## 8-byte Reload jmp LBB0_18 LBB0_22: testl %r14d, %r14d jle LBB0_23 ## %bb.30: movq -56(%rbp), %r10 ## 8-byte Reload movslq %r10d, %rax leal -1(%r14), %r9d cmpl $3, %r9d movq -96(%rbp), %r15 ## 8-byte Reload movq -64(%rbp), %rsi ## 8-byte Reload jb LBB0_41 ## %bb.31: leaq (%rsi,%rax,8), %rdx subq %r12, %rdx cmpq $32, %rdx jb LBB0_41 ## %bb.32: incq %r9 movq %r9, %r8 andq $-4, %r8 leaq -4(%r8), %rdx movq %rdx, %rdi shrq $2, %rdi incq %rdi movl %edi, %ecx andl $3, %ecx cmpq $12, %rdx jae LBB0_34 ## %bb.33: xorl %ebx, %ebx jmp LBB0_36 LBB0_23: movq -96(%rbp), %r15 ## 8-byte Reload movq -64(%rbp), %rsi ## 8-byte Reload movq -56(%rbp), %rax ## 8-byte Reload jmp LBB0_44 LBB0_34: andq $-4, %rdi xorl %ebx, %ebx .p2align 4, 0x90 LBB0_35: ## =>This Inner Loop Header: Depth=1 movups (%r12,%rbx,8), %xmm0 movups 16(%r12,%rbx,8), %xmm1 movups %xmm0, -112(%r13) movups %xmm1, -96(%r13) movups 32(%r12,%rbx,8), %xmm0 movups 48(%r12,%rbx,8), %xmm1 movups %xmm0, -80(%r13) movups %xmm1, -64(%r13) movups 64(%r12,%rbx,8), %xmm0 movups 80(%r12,%rbx,8), %xmm1 movups %xmm0, -48(%r13) movups %xmm1, -32(%r13) movups 96(%r12,%rbx,8), %xmm0 movups 112(%r12,%rbx,8), %xmm1 movups %xmm0, -16(%r13) movups %xmm1, (%r13) addq $16, %rbx subq $-128, %r13 addq $-4, %rdi jne LBB0_35 LBB0_36: testq %rcx, %rcx je LBB0_39 ## %bb.37: addq %rbx, %r10 leaq (%rsi,%r10,8), %rdi addq $16, %rdi leaq (%r12,%rbx,8), %rbx addq $16, %rbx shlq $5, %rcx xorl %edx, %edx .p2align 4, 0x90 LBB0_38: ## =>This Inner Loop Header: Depth=1 movups -16(%rbx,%rdx), %xmm0 movups (%rbx,%rdx), %xmm1 movups %xmm0, -16(%rdi,%rdx) movups %xmm1, (%rdi,%rdx) addq $32, %rdx cmpq %rdx, %rcx jne LBB0_38 LBB0_39: addq %r8, %rax cmpq %r8, %r9 je LBB0_43 ## %bb.40: subl %r8d, %r14d leaq (%r12,%r8,8), %r12 LBB0_41: incl %r14d .p2align 4, 0x90 LBB0_42: ## =>This Inner Loop Header: Depth=1 movq (%r12), %rcx addq $8, %r12 movq %rcx, (%rsi,%rax,8) incq %rax decl %r14d cmpl $1, %r14d ja LBB0_42 LBB0_43: ## kill: def $eax killed $eax killed $rax def $rax LBB0_44: cltq movq $0, (%rsi,%rax,8) movq %r15, %rdi callq _strlen movq %rax, %r12 leaq 5(%rax), %r14 movq %r14, %rdi callq _malloc movq %rax, %rbx leaq L_.str.10(%rip), %rdx movq %rax, %rdi movq %r14, %rsi movq %r15, %rcx xorl %eax, %eax callq _snprintf movq %rbx, %rdi callq _chdir testl %eax, %eax je LBB0_46 ## %bb.45: leaq L_.str.11(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _die LBB0_46: movq %rbx, -56(%rbp) ## 8-byte Spill movq _new_pythonhome@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.12(%rip), %rdx movq %r12, %rsi movq %r15, %rcx xorl %eax, %eax callq _SET_NEW_ENV leaq L_.str.13(%rip), %rdi callq _getenv movq %rax, %rbx testq %rax, %rax movq %r12, %rcx movq %r12, -88(%rbp) ## 8-byte Spill leaq L_.str.14(%rip), %rax cmoveq %rax, %rbx movq %rax, %r12 movq _new_path@GOTPCREL(%rip), %rax movq (%rax), %r14 movq %r15, %r13 leaq (%rcx,%rcx,4), %r15 movq %rbx, %rdi callq _strlen addq %rax, %r15 subq $8, %rsp leaq L_.str.15(%rip), %rdx movq %r14, %rdi movq %r15, %rsi movq %r13, %rcx movq %r13, %r8 movq %r13, %r9 xorl %eax, %eax pushq %rbx pushq %r13 pushq %r13 callq _SET_NEW_ENV addq $32, %rsp leaq L_.str.16(%rip), %rdi callq _getenv movq %rax, %rbx testq %rax, %rax cmoveq %r12, %rbx movq _new_ld_library_path@GOTPCREL(%rip), %rax movq (%rax), %r15 movq -88(%rbp), %r14 ## 8-byte Reload leaq (%r14,%r14), %rax leaq (%rax,%rax,4), %r12 movq %r12, -96(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _strlen leaq (%rax,%r12), %rsi leaq L_.str.17(%rip), %rdx movq %r15, %rdi movq %r13, %rcx movq %r13, %r8 movq %r13, %r9 xorl %eax, %eax pushq %rbx pushq %r13 pushq %r13 pushq %r13 pushq %r13 pushq %r13 pushq %r13 pushq %r13 callq _SET_NEW_ENV addq $64, %rsp leaq L_.str.18(%rip), %rdi callq _getenv movq %rax, %rbx testq %rax, %rax leaq L_.str.14(%rip), %rax cmoveq %rax, %rbx movq _new_pythonpath@GOTPCREL(%rip), %rax movq (%rax), %r15 movq %rbx, %rdi callq _strlen leaq (%rax,%r14), %rsi movq %r14, %r12 leaq L_.str.19(%rip), %rdx movq %r15, %rdi movq %r13, %rcx movq %rbx, %r8 xorl %eax, %eax callq _SET_NEW_ENV leaq L_.str.20(%rip), %rdi callq _getenv testq %rax, %rax leaq L_.str.21(%rip), %rbx cmovneq %rax, %rbx movq _new_xdg_data_dirs@GOTPCREL(%rip), %rax movq (%rax), %r15 movq %rbx, %rdi callq _strlen leaq (%rax,%r14), %rsi leaq L_.str.22(%rip), %rdx movq %r15, %rdi movq %r13, %rcx movq %rbx, %r8 xorl %eax, %eax callq _SET_NEW_ENV leaq L_.str.23(%rip), %rdi callq _getenv movq %rax, %rbx testq %rax, %rax leaq L_.str.14(%rip), %r14 cmoveq %r14, %rbx movq _new_perllib@GOTPCREL(%rip), %rax movq (%rax), %r15 movq %rbx, %rdi callq _strlen leaq (%rax,%r12,2), %rsi leaq L_.str.24(%rip), %rdx movq %r15, %rdi movq %r13, %rcx movq %r13, %r8 movq %rbx, %r9 xorl %eax, %eax callq _SET_NEW_ENV leaq L_.str.25(%rip), %rdi callq _getenv movq %rax, %rbx testq %rax, %rax cmoveq %r14, %rbx movq _new_gsettings_schema_dir@GOTPCREL(%rip), %rax movq (%rax), %r15 movq %rbx, %rdi callq _strlen leaq (%rax,%r12), %rsi leaq L_.str.26(%rip), %rdx movq %r15, %rdi movq %r13, %rcx movq %rbx, %r8 xorl %eax, %eax callq _SET_NEW_ENV leaq L_.str.27(%rip), %rdi callq _getenv testq %rax, %rax movq %r14, %rbx cmovneq %rax, %rbx movq _new_qt_plugin_path@GOTPCREL(%rip), %r15 movq (%r15), %r14 movq %rbx, %rdi callq _strlen movq -96(%rbp), %rsi ## 8-byte Reload addq %rax, %rsi leaq L_.str.28(%rip), %rdx movq %r14, %rdi movq %r13, %rcx movq %r13, %r8 movq %r13, %r9 xorl %eax, %eax pushq %rbx pushq %r13 pushq %r13 pushq %r13 pushq %r13 pushq %r13 pushq %r13 pushq %r13 callq _SET_NEW_ENV addq $64, %rsp movq _new_gspath@GOTPCREL(%rip), %rax movq (%rax), %r14 movq %rbx, %rdi callq _strlen leaq (%rax,%r12), %rsi leaq L_.str.29(%rip), %rdx movq %r14, %rdi movq %r13, %rcx movq %rbx, %r8 xorl %eax, %eax callq _SET_NEW_ENV movq _new_gspath1@GOTPCREL(%rip), %rax movq (%rax), %r14 movq %rbx, %rdi callq _strlen addq %rax, %r12 leaq L_.str.30(%rip), %rdx movq %r14, %rdi movq %r12, %rsi movq %r13, %rcx movq %rbx, %r8 xorl %eax, %eax callq _SET_NEW_ENV leaq L_.str.31(%rip), %rdi callq _putenv movq -120(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi movq -64(%rbp), %rsi ## 8-byte Reload callq _execvp cmpl $-1, %eax jne LBB0_48 ## %bb.47: movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str.32(%rip), %rdi movq %rbx, %rsi movl %eax, %edx xorl %eax, %eax callq _die LBB0_48: movq -72(%rbp), %rdi callq _free movq -128(%rbp), %rdi ## 8-byte Reload callq _free movq -56(%rbp), %rdi ## 8-byte Reload callq _free movq _new_pythonhome@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _free movq _new_path@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _free movq _new_ld_library_path@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _free movq _new_pythonpath@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _free movq _new_xdg_data_dirs@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _free movq _new_perllib@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _free movq _new_gsettings_schema_dir@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _free movq (%r15), %rdi callq _free movq -112(%rbp), %rsp ## 8-byte Reload movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_49 ## %bb.76: xorl %eax, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_49: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_25, LBB0_25-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_24, LBB0_24-LJTI0_0 LJTI0_0: .long L0_0_set_15 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_14 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_14 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_25 .long L0_0_set_24 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/proc/self/exe" L_.str.1: ## @.str.1 .asciz "Could not access /proc/self/exe\n" .comm _filter,4,2 ## @filter L_.str.2: ## @.str.2 .asciz "No .desktop files found\n" L_.str.3: ## @.str.3 .asciz "Could not scan directory %s\n" .comm _LINE_SIZE,8,3 ## @LINE_SIZE L_.str.4: ## @.str.4 .asciz "%s/%s" L_.str.5: ## @.str.5 .asciz "r" L_.str.6: ## @.str.6 .asciz "Executable not found, make sure there is a line starting with 'Exec='\n" L_.str.7: ## @.str.7 .asciz "Exec=" .comm _stderr,4,2 ## @stderr L_.str.8: ## @.str.8 .asciz "WARNING: Desktop file field code %%%c is not currently supported\n" L_.str.9: ## @.str.9 .asciz "WARNING: Invalid desktop file field code %%%c\n" L_.str.10: ## @.str.10 .asciz "%s/usr" L_.str.11: ## @.str.11 .asciz "Could not cd into %s\n" .comm _new_pythonhome,8,3 ## @new_pythonhome L_.str.12: ## @.str.12 .asciz "PYTHONHOME=%s/usr/" L_.str.13: ## @.str.13 .asciz "PATH" L_.str.14: ## @.str.14 .space 1 .comm _new_path,8,3 ## @new_path L_.str.15: ## @.str.15 .asciz "PATH=%s/usr/bin/:%s/usr/sbin/:%s/usr/games/:%s/bin/:%s/sbin/:%s" L_.str.16: ## @.str.16 .asciz "LD_LIBRARY_PATH" .comm _new_ld_library_path,8,3 ## @new_ld_library_path L_.str.17: ## @.str.17 .asciz "LD_LIBRARY_PATH=%s/usr/lib/:%s/usr/lib/i386-linux-gnu/:%s/usr/lib/x86_64-linux-gnu/:%s/usr/lib32/:%s/usr/lib64/:%s/lib/:%s/lib/i386-linux-gnu/:%s/lib/x86_64-linux-gnu/:%s/lib32/:%s/lib64/:%s" L_.str.18: ## @.str.18 .asciz "PYTHONPATH" .comm _new_pythonpath,8,3 ## @new_pythonpath L_.str.19: ## @.str.19 .asciz "PYTHONPATH=%s/usr/share/pyshared/:%s" L_.str.20: ## @.str.20 .asciz "XDG_DATA_DIRS" L_.str.21: ## @.str.21 .asciz "/usr/local/share/:/usr/share/" .comm _new_xdg_data_dirs,8,3 ## @new_xdg_data_dirs L_.str.22: ## @.str.22 .asciz "XDG_DATA_DIRS=%s/usr/share/:%s" L_.str.23: ## @.str.23 .asciz "PERLLIB" .comm _new_perllib,8,3 ## @new_perllib L_.str.24: ## @.str.24 .asciz "PERLLIB=%s/usr/share/perl5/:%s/usr/lib/perl5/:%s" L_.str.25: ## @.str.25 .asciz "GSETTINGS_SCHEMA_DIR" .comm _new_gsettings_schema_dir,8,3 ## @new_gsettings_schema_dir L_.str.26: ## @.str.26 .asciz "GSETTINGS_SCHEMA_DIR=%s/usr/share/glib-2.0/schemas/:%s" L_.str.27: ## @.str.27 .asciz "QT_PLUGIN_PATH" .comm _new_qt_plugin_path,8,3 ## @new_qt_plugin_path L_.str.28: ## @.str.28 .asciz "QT_PLUGIN_PATH=%s/usr/lib/qt4/plugins/:%s/usr/lib/i386-linux-gnu/qt4/plugins/:%s/usr/lib/x86_64-linux-gnu/qt4/plugins/:%s/usr/lib32/qt4/plugins/:%s/usr/lib64/qt4/plugins/:%s/usr/lib/qt5/plugins/:%s/usr/lib/i386-linux-gnu/qt5/plugins/:%s/usr/lib/x86_64-linux-gnu/qt5/plugins/:%s/usr/lib32/qt5/plugins/:%s/usr/lib64/qt5/plugins/:%s" .comm _new_gspath,8,3 ## @new_gspath L_.str.29: ## @.str.29 .asciz "GST_PLUGIN_SYSTEM_PATH=%s/usr/lib/gstreamer:%s" .comm _new_gspath1,8,3 ## @new_gspath1 L_.str.30: ## @.str.30 .asciz "GST_PLUGIN_SYSTEM_PATH_1_0=%s/usr/lib/gstreamer-1.0:%s" L_.str.31: ## @.str.31 .asciz "PYTHONDONTWRITEBYTECODE=1" .comm _errno,4,2 ## @errno L_.str.32: ## @.str.32 .asciz "Error executing '%s': %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: 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, #80 mov x23, x1 mov x24, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF mov x1, #0 bl _realpath bl _dirname mov x19, x0 cbnz x0, LBB0_2 ; %bb.1: Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _die LBB0_2: Lloh7: adrp x8, _filter@GOTPAGE Lloh8: ldr x8, [x8, _filter@GOTPAGEOFF] Lloh9: ldr w2, [x8] sub x1, x29, #96 mov x0, x19 mov x3, #0 bl _scandir cmn w0, #1 b.eq LBB0_5 ; %bb.3: cbnz w0, LBB0_6 ; %bb.4: Lloh10: adrp x0, l_.str.2@PAGE Lloh11: add x0, x0, l_.str.2@PAGEOFF bl _die b LBB0_6 LBB0_5: str x19, [sp, #-16]! Lloh12: adrp x0, l_.str.3@PAGE Lloh13: add x0, x0, l_.str.3@PAGEOFF bl _die add sp, sp, #16 LBB0_6: Lloh14: adrp x20, _LINE_SIZE@GOTPAGE Lloh15: ldr x20, [x20, _LINE_SIZE@GOTPAGEOFF] ldr x0, [x20] mov w1, #1 bl _calloc mov x21, x0 ldr x1, [x20] ldur x8, [x29, #-96] ldr x8, [x8] ldr x8, [x8] str x8, [sp, #-16]! Lloh16: adrp x2, l_.str.4@PAGE Lloh17: add x2, x2, l_.str.4@PAGEOFF mov x3, x19 bl _snprintf add sp, sp, #16 Lloh18: adrp x1, l_.str.5@PAGE Lloh19: add x1, x1, l_.str.5@PAGEOFF stur x21, [x29, #-136] ; 8-byte Folded Spill mov x0, x21 bl _fopen mov x21, x0 ldr x22, [x20] mov x0, x22 bl _malloc stp x22, x0, [x29, #-112] Lloh20: adrp x22, l_.str.6@PAGE Lloh21: add x22, x22, l_.str.6@PAGEOFF Lloh22: adrp x25, l_.str.7@PAGE Lloh23: add x25, x25, l_.str.7@PAGEOFF b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 ldur x0, [x29, #-104] mov x1, x25 mov w2, #5 bl _strncmp cbz x0, LBB0_10 LBB0_8: ; =>This Inner Loop Header: Depth=1 sub x0, x29, #104 sub x1, x29, #112 mov x2, x21 bl _getline cmn w0, #1 b.ne LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 mov x0, x22 bl _die b LBB0_7 LBB0_10: stur x19, [x29, #-128] ; 8-byte Folded Spill mov x0, x21 bl _fclose ldur x12, [x29, #-104] add x21, x12, #5 stur xzr, [x29, #-112] ldr x9, [x20] mov x19, x24 mov x22, x21 cbz x9, LBB0_21 ; %bb.11: mov w10, #0 mov x8, #0 Lloh24: adrp x11, lJTI0_0@PAGE Lloh25: add x11, x11, lJTI0_0@PAGEOFF LBB0_12: ; =>This Inner Loop Header: Depth=1 ldrb w13, [x12, x8] cmp w13, #34 b.hi LBB0_15 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 adr x14, LBB0_14 ldrb w15, [x11, x13] add x14, x14, x15, lsl #2 br x14 LBB0_14: ; in Loop: Header=BB0_12 Depth=1 cmp w10, #0 cset w10, eq b LBB0_17 LBB0_15: ; in Loop: Header=BB0_12 Depth=1 cmp w13, #32 ccmp w10, #0, #0, eq b.ne LBB0_17 ; %bb.16: ; in Loop: Header=BB0_12 Depth=1 mov w10, #0 strb wzr, [x12, x8] ldur x8, [x29, #-112] ldr x9, [x20] LBB0_17: ; in Loop: Header=BB0_12 Depth=1 add x8, x8, #1 stur x8, [x29, #-112] cmp x8, x9 b.hs LBB0_20 ; %bb.18: ; in Loop: Header=BB0_12 Depth=1 ldur x12, [x29, #-104] b LBB0_12 LBB0_19: strb wzr, [x12, x8] ldp x9, x8, [x29, #-112] add x8, x9, x8 strb wzr, [x8, #1] ldp x9, x8, [x29, #-112] add x8, x9, x8 strb wzr, [x8, #2] LBB0_20: mov x19, x24 mov x22, x21 LBB0_21: ; =>This Inner Loop Header: Depth=1 mov x0, x22 bl _strlen add x22, x0, x22 ldrb w8, [x22, #1]! add w19, w19, #1 cbnz w8, LBB0_21 ; %bb.22: mov x8, sp stur x8, [x29, #-152] ; 8-byte Folded Spill lsl x8, x19, #3 mov x9, x8 Lloh26: adrp x16, ___chkstk_darwin@GOTPAGE Lloh27: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0xffffffff0 sub x22, x9, x8 mov sp, x22 mov x8, x22 str x21, [x8], #32 sub w24, w24, #1 add x9, x23, #8 stur x9, [x29, #-120] ; 8-byte Folded Spill mov x23, x21 mov w25, #1 Lloh28: adrp x26, l_.str.8@PAGE Lloh29: add x26, x26, l_.str.8@PAGEOFF Lloh30: adrp x27, _stderr@GOTPAGE Lloh31: ldr x27, [x27, _stderr@GOTPAGEOFF] mov x28, #536870912 movk x28, #40, lsl #32 mov w21, #32769 mov x19, x25 stur x23, [x29, #-144] ; 8-byte Folded Spill stur x8, [x29, #-160] ; 8-byte Folded Spill LBB0_23: ; =>This Loop Header: Depth=1 ; Child Loop BB0_25 Depth 2 ; Child Loop BB0_44 Depth 2 ; Child Loop BB0_47 Depth 2 add x20, x8, w19, sxtw #3 b LBB0_25 LBB0_24: ; in Loop: Header=BB0_25 Depth=2 cmp w24, #0 b.gt LBB0_38 LBB0_25: ; Parent Loop BB0_23 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x23 bl _strlen add x23, x0, x23 ldrb w8, [x23, #1]! cmp w8, #34 b.eq LBB0_28 ; %bb.26: ; in Loop: Header=BB0_25 Depth=2 cmp w8, #37 b.eq LBB0_29 ; %bb.27: ; in Loop: Header=BB0_25 Depth=2 cbz w8, LBB0_49 b LBB0_37 LBB0_28: ; in Loop: Header=BB0_25 Depth=2 ldrb w9, [x23, #1] cmp w9, #37 b.ne LBB0_37 LBB0_29: ; in Loop: Header=BB0_25 Depth=2 cmp w8, #37 cinc x8, x25, ne ldrsb w8, [x23, x8] sub w9, w8, #70 cmp w9, #47 b.hi LBB0_35 ; %bb.30: ; in Loop: Header=BB0_25 Depth=2 lsl x10, x25, x9 tst x10, x28 b.ne LBB0_34 ; %bb.31: ; in Loop: Header=BB0_25 Depth=2 lsl x10, x25, x9 tst x10, x21 b.ne LBB0_24 ; %bb.32: ; in Loop: Header=BB0_25 Depth=2 lsl x9, x25, x9 mov x10, #140741783322624 tst x9, x10 b.eq LBB0_35 ; %bb.33: ; in Loop: Header=BB0_25 Depth=2 subs w8, w24, #1 b.lt LBB0_25 b LBB0_40 LBB0_34: ; in Loop: Header=BB0_25 Depth=2 mov x1, x26 b LBB0_36 LBB0_35: ; in Loop: Header=BB0_25 Depth=2 Lloh32: adrp x1, l_.str.9@PAGE Lloh33: add x1, x1, l_.str.9@PAGEOFF LBB0_36: ; in Loop: Header=BB0_25 Depth=2 and w8, w8, #0xff ldr w0, [x27] sxtb w2, w8 bl _fprintf b LBB0_25 LBB0_37: ; in Loop: Header=BB0_25 Depth=2 str x23, [x22, w19, sxtw #3] add w8, w19, #1 add x20, x20, #8 mov x19, x8 b LBB0_25 LBB0_38: ; in Loop: Header=BB0_23 Depth=1 sxtw x19, w19 sub w8, w24, #1 cmp w8, #7 b.hs LBB0_41 ; %bb.39: ; in Loop: Header=BB0_23 Depth=1 ldur x8, [x29, #-120] ; 8-byte Folded Reload b LBB0_46 LBB0_40: ; in Loop: Header=BB0_23 Depth=1 ldur x10, [x29, #-120] ; 8-byte Folded Reload ldr x9, [x10], #8 stur x10, [x29, #-120] ; 8-byte Folded Spill str x9, [x22, w19, sxtw #3] add w9, w19, #1 mov x24, x8 mov x19, x9 ldur x8, [x29, #-160] ; 8-byte Folded Reload b LBB0_23 LBB0_41: ; in Loop: Header=BB0_23 Depth=1 add x9, x22, x19, lsl #3 ldur x11, [x29, #-120] ; 8-byte Folded Reload sub x9, x9, x11 cmp x9, #64 b.hs LBB0_43 ; %bb.42: ; in Loop: Header=BB0_23 Depth=1 mov x8, x11 b LBB0_46 LBB0_43: ; in Loop: Header=BB0_23 Depth=1 add x9, x8, #1 and x10, x9, #0x1fffffff8 add x19, x10, x19 sub w24, w24, w10 add x8, x11, x10, lsl #3 add x11, x11, #32 mov x12, x10 LBB0_44: ; Parent Loop BB0_23 Depth=1 ; => This Inner Loop Header: Depth=2 ldp q0, q1, [x11, #-32] ldp q2, q3, [x11], #64 stp q0, q1, [x20, #-32] stp q2, q3, [x20], #64 subs x12, x12, #8 b.ne LBB0_44 ; %bb.45: ; in Loop: Header=BB0_23 Depth=1 cmp x9, x10 b.eq LBB0_48 LBB0_46: ; in Loop: Header=BB0_23 Depth=1 add w9, w24, #1 mov x10, x19 LBB0_47: ; Parent Loop BB0_23 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x11, [x8], #8 add x19, x10, #1 str x11, [x22, x10, lsl #3] sub w9, w9, #1 mov x10, x19 cmp w9, #1 b.hi LBB0_47 LBB0_48: ; in Loop: Header=BB0_23 Depth=1 mov w24, #0 stur x8, [x29, #-120] ; 8-byte Folded Spill ; kill: def $w19 killed $w19 killed $x19 def $x19 ldur x8, [x29, #-160] ; 8-byte Folded Reload b LBB0_23 LBB0_49: subs w8, w24, #1 ldur x11, [x29, #-120] ; 8-byte Folded Reload b.lt LBB0_56 ; %bb.50: ; kill: def $w19 killed $w19 killed $x19 def $x19 sxtw x19, w19 cmp w8, #7 b.lo LBB0_52 ; %bb.51: add x9, x22, x19, lsl #3 sub x9, x9, x11 cmp x9, #64 b.hs LBB0_62 LBB0_52: mov x8, x11 LBB0_53: add w9, w24, #1 mov x10, x19 LBB0_54: ; =>This Inner Loop Header: Depth=1 ldr x11, [x8], #8 add x19, x10, #1 str x11, [x22, x10, lsl #3] sub w9, w9, #1 mov x10, x19 cmp w9, #1 b.hi LBB0_54 LBB0_55: ; kill: def $w19 killed $w19 killed $x19 def $x19 LBB0_56: str xzr, [x22, w19, sxtw #3] ldur x27, [x29, #-128] ; 8-byte Folded Reload mov x0, x27 bl _strlen mov x24, x0 add x25, x0, #5 mov x0, x25 bl _malloc mov x23, x0 Lloh34: adrp x2, l_.str.10@PAGE Lloh35: add x2, x2, l_.str.10@PAGEOFF mov x1, x25 mov x3, x27 bl _snprintf mov x0, x23 bl _chdir cbz w0, LBB0_58 ; %bb.57: str x23, [sp, #-16]! Lloh36: adrp x0, l_.str.11@PAGE Lloh37: add x0, x0, l_.str.11@PAGEOFF bl _die add sp, sp, #16 LBB0_58: Lloh38: adrp x8, _new_pythonhome@GOTPAGE Lloh39: ldr x8, [x8, _new_pythonhome@GOTPAGEOFF] Lloh40: ldr x0, [x8] Lloh41: adrp x2, l_.str.12@PAGE Lloh42: add x2, x2, l_.str.12@PAGEOFF mov x1, x24 mov x3, x27 bl _SET_NEW_ENV Lloh43: adrp x0, l_.str.13@PAGE Lloh44: add x0, x0, l_.str.13@PAGEOFF bl _getenv Lloh45: adrp x20, l_.str.14@PAGE Lloh46: add x20, x20, l_.str.14@PAGEOFF cmp x0, #0 csel x25, x20, x0, eq Lloh47: adrp x8, _new_path@GOTPAGE Lloh48: ldr x8, [x8, _new_path@GOTPAGEOFF] Lloh49: ldr x26, [x8] add x19, x24, x24, lsl #2 mov x0, x25 bl _strlen add x1, x0, x19 sub sp, sp, #48 stp x27, x25, [sp, #24] stp x27, x27, [sp, #8] str x27, [sp] Lloh50: adrp x2, l_.str.15@PAGE Lloh51: add x2, x2, l_.str.15@PAGEOFF mov x0, x26 mov x3, x27 bl _SET_NEW_ENV add sp, sp, #48 Lloh52: adrp x0, l_.str.16@PAGE Lloh53: add x0, x0, l_.str.16@PAGEOFF bl _getenv cmp x0, #0 csel x25, x20, x0, eq Lloh54: adrp x8, _new_ld_library_path@GOTPAGE Lloh55: ldr x8, [x8, _new_ld_library_path@GOTPAGEOFF] Lloh56: ldr x26, [x8] lsl x28, x19, #1 mov x0, x25 bl _strlen add x1, x0, x28 sub sp, sp, #80 stp x27, x25, [sp, #64] stp x27, x27, [sp, #48] stp x27, x27, [sp, #32] Lloh57: adrp x2, l_.str.17@PAGE Lloh58: add x2, x2, l_.str.17@PAGEOFF stp x27, x27, [sp, #16] stp x27, x27, [sp] mov x0, x26 mov x3, x27 bl _SET_NEW_ENV add sp, sp, #80 Lloh59: adrp x0, l_.str.18@PAGE Lloh60: add x0, x0, l_.str.18@PAGEOFF bl _getenv cmp x0, #0 csel x25, x20, x0, eq Lloh61: adrp x8, _new_pythonpath@GOTPAGE Lloh62: ldr x8, [x8, _new_pythonpath@GOTPAGEOFF] Lloh63: ldr x26, [x8] mov x0, x25 bl _strlen add x1, x0, x24 str x25, [sp, #-16]! Lloh64: adrp x2, l_.str.19@PAGE Lloh65: add x2, x2, l_.str.19@PAGEOFF mov x0, x26 mov x3, x27 bl _SET_NEW_ENV add sp, sp, #16 Lloh66: adrp x0, l_.str.20@PAGE Lloh67: add x0, x0, l_.str.20@PAGEOFF bl _getenv Lloh68: adrp x8, l_.str.21@PAGE Lloh69: add x8, x8, l_.str.21@PAGEOFF cmp x0, #0 csel x25, x8, x0, eq Lloh70: adrp x8, _new_xdg_data_dirs@GOTPAGE Lloh71: ldr x8, [x8, _new_xdg_data_dirs@GOTPAGEOFF] Lloh72: ldr x26, [x8] mov x0, x25 bl _strlen add x1, x0, x24 str x25, [sp, #-16]! Lloh73: adrp x2, l_.str.22@PAGE Lloh74: add x2, x2, l_.str.22@PAGEOFF mov x0, x26 mov x3, x27 bl _SET_NEW_ENV add sp, sp, #16 Lloh75: adrp x0, l_.str.23@PAGE Lloh76: add x0, x0, l_.str.23@PAGEOFF bl _getenv cmp x0, #0 csel x25, x20, x0, eq Lloh77: adrp x19, _new_perllib@GOTPAGE Lloh78: ldr x19, [x19, _new_perllib@GOTPAGEOFF] ldr x26, [x19] mov x0, x25 bl _strlen add x1, x0, x24, lsl #1 stp x27, x25, [sp, #-16]! Lloh79: adrp x2, l_.str.24@PAGE Lloh80: add x2, x2, l_.str.24@PAGEOFF mov x0, x26 mov x3, x27 bl _SET_NEW_ENV add sp, sp, #16 Lloh81: adrp x0, l_.str.25@PAGE Lloh82: add x0, x0, l_.str.25@PAGEOFF bl _getenv cmp x0, #0 csel x25, x20, x0, eq Lloh83: adrp x21, _new_gsettings_schema_dir@GOTPAGE Lloh84: ldr x21, [x21, _new_gsettings_schema_dir@GOTPAGEOFF] ldr x26, [x21] mov x0, x25 bl _strlen add x1, x0, x24 str x25, [sp, #-16]! Lloh85: adrp x2, l_.str.26@PAGE Lloh86: add x2, x2, l_.str.26@PAGEOFF mov x0, x26 mov x3, x27 bl _SET_NEW_ENV add sp, sp, #16 Lloh87: adrp x0, l_.str.27@PAGE Lloh88: add x0, x0, l_.str.27@PAGEOFF bl _getenv cmp x0, #0 csel x25, x20, x0, eq Lloh89: adrp x20, _new_qt_plugin_path@GOTPAGE Lloh90: ldr x20, [x20, _new_qt_plugin_path@GOTPAGEOFF] ldr x26, [x20] mov x0, x25 bl _strlen add x1, x0, x28 sub sp, sp, #80 stp x27, x25, [sp, #64] stp x27, x27, [sp, #48] stp x27, x27, [sp, #32] Lloh91: adrp x2, l_.str.28@PAGE Lloh92: add x2, x2, l_.str.28@PAGEOFF stp x27, x27, [sp, #16] stp x27, x27, [sp] mov x0, x26 mov x3, x27 bl _SET_NEW_ENV add sp, sp, #80 Lloh93: adrp x8, _new_gspath@GOTPAGE Lloh94: ldr x8, [x8, _new_gspath@GOTPAGEOFF] Lloh95: ldr x26, [x8] mov x0, x25 bl _strlen add x1, x0, x24 str x25, [sp, #-16]! Lloh96: adrp x2, l_.str.29@PAGE Lloh97: add x2, x2, l_.str.29@PAGEOFF mov x0, x26 mov x3, x27 bl _SET_NEW_ENV add sp, sp, #16 Lloh98: adrp x8, _new_gspath1@GOTPAGE Lloh99: ldr x8, [x8, _new_gspath1@GOTPAGEOFF] Lloh100: ldr x26, [x8] mov x0, x25 bl _strlen add x1, x0, x24 str x25, [sp, #-16]! Lloh101: adrp x2, l_.str.30@PAGE Lloh102: add x2, x2, l_.str.30@PAGEOFF mov x0, x26 mov x3, x27 bl _SET_NEW_ENV add sp, sp, #16 Lloh103: adrp x0, l_.str.31@PAGE Lloh104: add x0, x0, l_.str.31@PAGEOFF bl _putenv ldur x24, [x29, #-144] ; 8-byte Folded Reload mov x0, x24 mov x1, x22 bl _execvp cmn w0, #1 b.ne LBB0_60 ; %bb.59: Lloh105: adrp x8, _errno@GOTPAGE Lloh106: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh107: ldr w0, [x8] bl _strerror ; kill: def $w0 killed $w0 def $x0 stp x24, x0, [sp, #-16]! Lloh108: adrp x0, l_.str.32@PAGE Lloh109: add x0, x0, l_.str.32@PAGEOFF bl _die add sp, sp, #16 LBB0_60: ldur x0, [x29, #-104] bl _free ldur x0, [x29, #-136] ; 8-byte Folded Reload bl _free mov x0, x23 bl _free Lloh110: adrp x8, _new_pythonhome@GOTPAGE Lloh111: ldr x8, [x8, _new_pythonhome@GOTPAGEOFF] Lloh112: ldr x0, [x8] bl _free Lloh113: adrp x8, _new_path@GOTPAGE Lloh114: ldr x8, [x8, _new_path@GOTPAGEOFF] Lloh115: ldr x0, [x8] bl _free Lloh116: adrp x8, _new_ld_library_path@GOTPAGE Lloh117: ldr x8, [x8, _new_ld_library_path@GOTPAGEOFF] Lloh118: ldr x0, [x8] bl _free Lloh119: adrp x8, _new_pythonpath@GOTPAGE Lloh120: ldr x8, [x8, _new_pythonpath@GOTPAGEOFF] Lloh121: ldr x0, [x8] bl _free Lloh122: adrp x8, _new_xdg_data_dirs@GOTPAGE Lloh123: ldr x8, [x8, _new_xdg_data_dirs@GOTPAGEOFF] Lloh124: ldr x0, [x8] bl _free ldr x0, [x19] bl _free ldr x0, [x21] bl _free ldr x0, [x20] bl _free ldur x8, [x29, #-152] ; 8-byte Folded Reload mov sp, x8 ldur x8, [x29, #-88] Lloh125: adrp x9, ___stack_chk_guard@GOTPAGE Lloh126: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh127: ldr x9, [x9] cmp x9, x8 b.ne LBB0_65 ; %bb.61: mov w0, #0 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_62: add x9, x8, #1 and x10, x9, #0x1fffffff8 add x19, x10, x19 sub w24, w24, w10 add x8, x11, x10, lsl #3 add x11, x11, #32 mov x12, x10 LBB0_63: ; =>This Inner Loop Header: Depth=1 ldp q0, q1, [x11, #-32] ldp q2, q3, [x11], #64 stp q0, q1, [x20, #-32] stp q2, q3, [x20], #64 subs x12, x12, #8 b.ne LBB0_63 ; %bb.64: cmp x9, x10 b.eq LBB0_55 b LBB0_53 LBB0_65: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh103, Lloh104 .loh AdrpAdd Lloh101, Lloh102 .loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95 .loh AdrpAdd Lloh91, Lloh92 .loh AdrpLdrGot Lloh89, Lloh90 .loh AdrpAdd Lloh87, Lloh88 .loh AdrpAdd Lloh85, Lloh86 .loh AdrpLdrGot Lloh83, Lloh84 .loh AdrpAdd Lloh81, Lloh82 .loh AdrpAdd Lloh79, Lloh80 .loh AdrpLdrGot Lloh77, Lloh78 .loh AdrpAdd Lloh75, Lloh76 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotLdr Lloh70, Lloh71, Lloh72 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63 .loh AdrpAdd Lloh59, Lloh60 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh107 .loh AdrpLdrGotLdr Lloh125, Lloh126, Lloh127 .loh AdrpLdrGotLdr Lloh122, Lloh123, Lloh124 .loh AdrpLdrGotLdr Lloh119, Lloh120, Lloh121 .loh AdrpLdrGotLdr Lloh116, Lloh117, Lloh118 .loh AdrpLdrGotLdr Lloh113, Lloh114, Lloh115 .loh AdrpLdrGotLdr Lloh110, Lloh111, Lloh112 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_20-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_19-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_19-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_15-LBB0_14)>>2 .byte (LBB0_14-LBB0_14)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/proc/self/exe" l_.str.1: ; @.str.1 .asciz "Could not access /proc/self/exe\n" .comm _filter,4,2 ; @filter l_.str.2: ; @.str.2 .asciz "No .desktop files found\n" l_.str.3: ; @.str.3 .asciz "Could not scan directory %s\n" .comm _LINE_SIZE,8,3 ; @LINE_SIZE l_.str.4: ; @.str.4 .asciz "%s/%s" l_.str.5: ; @.str.5 .asciz "r" l_.str.6: ; @.str.6 .asciz "Executable not found, make sure there is a line starting with 'Exec='\n" l_.str.7: ; @.str.7 .asciz "Exec=" .comm _stderr,4,2 ; @stderr l_.str.8: ; @.str.8 .asciz "WARNING: Desktop file field code %%%c is not currently supported\n" l_.str.9: ; @.str.9 .asciz "WARNING: Invalid desktop file field code %%%c\n" l_.str.10: ; @.str.10 .asciz "%s/usr" l_.str.11: ; @.str.11 .asciz "Could not cd into %s\n" .comm _new_pythonhome,8,3 ; @new_pythonhome l_.str.12: ; @.str.12 .asciz "PYTHONHOME=%s/usr/" l_.str.13: ; @.str.13 .asciz "PATH" l_.str.14: ; @.str.14 .space 1 .comm _new_path,8,3 ; @new_path l_.str.15: ; @.str.15 .asciz "PATH=%s/usr/bin/:%s/usr/sbin/:%s/usr/games/:%s/bin/:%s/sbin/:%s" l_.str.16: ; @.str.16 .asciz "LD_LIBRARY_PATH" .comm _new_ld_library_path,8,3 ; @new_ld_library_path l_.str.17: ; @.str.17 .asciz "LD_LIBRARY_PATH=%s/usr/lib/:%s/usr/lib/i386-linux-gnu/:%s/usr/lib/x86_64-linux-gnu/:%s/usr/lib32/:%s/usr/lib64/:%s/lib/:%s/lib/i386-linux-gnu/:%s/lib/x86_64-linux-gnu/:%s/lib32/:%s/lib64/:%s" l_.str.18: ; @.str.18 .asciz "PYTHONPATH" .comm _new_pythonpath,8,3 ; @new_pythonpath l_.str.19: ; @.str.19 .asciz "PYTHONPATH=%s/usr/share/pyshared/:%s" l_.str.20: ; @.str.20 .asciz "XDG_DATA_DIRS" l_.str.21: ; @.str.21 .asciz "/usr/local/share/:/usr/share/" .comm _new_xdg_data_dirs,8,3 ; @new_xdg_data_dirs l_.str.22: ; @.str.22 .asciz "XDG_DATA_DIRS=%s/usr/share/:%s" l_.str.23: ; @.str.23 .asciz "PERLLIB" .comm _new_perllib,8,3 ; @new_perllib l_.str.24: ; @.str.24 .asciz "PERLLIB=%s/usr/share/perl5/:%s/usr/lib/perl5/:%s" l_.str.25: ; @.str.25 .asciz "GSETTINGS_SCHEMA_DIR" .comm _new_gsettings_schema_dir,8,3 ; @new_gsettings_schema_dir l_.str.26: ; @.str.26 .asciz "GSETTINGS_SCHEMA_DIR=%s/usr/share/glib-2.0/schemas/:%s" l_.str.27: ; @.str.27 .asciz "QT_PLUGIN_PATH" .comm _new_qt_plugin_path,8,3 ; @new_qt_plugin_path l_.str.28: ; @.str.28 .asciz "QT_PLUGIN_PATH=%s/usr/lib/qt4/plugins/:%s/usr/lib/i386-linux-gnu/qt4/plugins/:%s/usr/lib/x86_64-linux-gnu/qt4/plugins/:%s/usr/lib32/qt4/plugins/:%s/usr/lib64/qt4/plugins/:%s/usr/lib/qt5/plugins/:%s/usr/lib/i386-linux-gnu/qt5/plugins/:%s/usr/lib/x86_64-linux-gnu/qt5/plugins/:%s/usr/lib32/qt5/plugins/:%s/usr/lib64/qt5/plugins/:%s" .comm _new_gspath,8,3 ; @new_gspath l_.str.29: ; @.str.29 .asciz "GST_PLUGIN_SYSTEM_PATH=%s/usr/lib/gstreamer:%s" .comm _new_gspath1,8,3 ; @new_gspath1 l_.str.30: ; @.str.30 .asciz "GST_PLUGIN_SYSTEM_PATH_1_0=%s/usr/lib/gstreamer-1.0:%s" l_.str.31: ; @.str.31 .asciz "PYTHONDONTWRITEBYTECODE=1" .comm _errno,4,2 ; @errno l_.str.32: ; @.str.32 .asciz "Error executing '%s': %s\n" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_AppRun.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _count_archs ## -- Begin function count_archs .p2align 4, 0x90 _count_archs: ## @count_archs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movdqu (%rdi), %xmm0 pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3] paddd %xmm0, %xmm1 pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1] paddd %xmm1, %xmm0 movd %xmm0, %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 _count_archs ; -- Begin function count_archs .p2align 2 _count_archs: ; @count_archs .cfi_startproc ; %bb.0: ldr q0, [x0] addv.4s s0, v0 fmov w0, s0 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_count_archs.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function die _die: ## @die .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rdx movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _fprintf movl $1, %edi callq _exit .cfi_endproc ## -- End function .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s\n" .no_dead_strip _die .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function die _die: ; @die .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 x2, x0 Lloh0: adrp x8, _stderr@GOTPAGE Lloh1: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _fprintf mov w0, #1 bl _exit .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s\n" .no_dead_strip _die .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_die.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _extract_arch_from_e_machine_field ## -- Begin function extract_arch_from_e_machine_field .p2align 4, 0x90 _extract_arch_from_e_machine_field: ## @extract_arch_from_e_machine_field .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, %rax cmpl $61, %edi jg LBB0_5 ## %bb.1: cmpl $3, %edi je LBB0_9 ## %bb.2: cmpl $40, %edi jne LBB0_14 ## %bb.3: movq _fARCH_arm@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl $1, (%rdx,%rcx,4) movq _verbose@GOTPCREL(%rip), %rcx cmpq $0, (%rcx) je LBB0_14 ## %bb.4: leaq L_.str.2(%rip), %rsi jmp LBB0_13 LBB0_5: cmpl $62, %edi je LBB0_11 ## %bb.6: cmpl $183, %edi jne LBB0_14 ## %bb.7: movq _fARCH_aarch64@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl $1, (%rdx,%rcx,4) movq _verbose@GOTPCREL(%rip), %rcx cmpq $0, (%rcx) je LBB0_14 ## %bb.8: leaq L_.str.3(%rip), %rsi jmp LBB0_13 LBB0_9: movq _fARCH_i386@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl $1, (%rdx,%rcx,4) movq _verbose@GOTPCREL(%rip), %rcx cmpq $0, (%rcx) je LBB0_14 ## %bb.10: leaq L_.str(%rip), %rsi jmp LBB0_13 LBB0_11: movq _fARCH_x86_64@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl $1, (%rdx,%rcx,4) movq _verbose@GOTPCREL(%rip), %rcx cmpq $0, (%rcx) je LBB0_14 ## %bb.12: leaq L_.str.1(%rip), %rsi LBB0_13: movq _stderr@GOTPCREL(%rip), %rcx movl (%rcx), %edi movq %rax, %rdx popq %rbp jmp _fprintf ## TAILCALL LBB0_14: popq %rbp retq .cfi_endproc ## -- End function .comm _fARCH_i386,8,3 ## @fARCH_i386 .comm _verbose,8,3 ## @verbose .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s used for determining architecture i386\n" .comm _fARCH_x86_64,8,3 ## @fARCH_x86_64 L_.str.1: ## @.str.1 .asciz "%s used for determining architecture x86_64\n" .comm _fARCH_arm,8,3 ## @fARCH_arm L_.str.2: ## @.str.2 .asciz "%s used for determining architecture armhf\n" .comm _fARCH_aarch64,8,3 ## @fARCH_aarch64 L_.str.3: ## @.str.3 .asciz "%s used for determining architecture aarch64\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _extract_arch_from_e_machine_field ; -- Begin function extract_arch_from_e_machine_field .p2align 2 _extract_arch_from_e_machine_field: ; @extract_arch_from_e_machine_field .cfi_startproc ; %bb.0: mov x8, x1 cmp w0, #61 b.gt LBB0_5 ; %bb.1: cmp w0, #3 b.eq LBB0_9 ; %bb.2: cmp w0, #40 b.ne LBB0_14 ; %bb.3: Lloh0: adrp x9, _fARCH_arm@GOTPAGE Lloh1: ldr x9, [x9, _fARCH_arm@GOTPAGEOFF] Lloh2: ldr x9, [x9] mov w10, #1 str w10, [x2, x9, lsl #2] Lloh3: adrp x9, _verbose@GOTPAGE Lloh4: ldr x9, [x9, _verbose@GOTPAGEOFF] Lloh5: ldr x9, [x9] cbz x9, LBB0_14 ; %bb.4: Lloh6: adrp x1, l_.str.2@PAGE Lloh7: add x1, x1, l_.str.2@PAGEOFF b LBB0_13 LBB0_5: cmp w0, #62 b.eq LBB0_11 ; %bb.6: cmp w0, #183 b.ne LBB0_14 ; %bb.7: Lloh8: adrp x9, _fARCH_aarch64@GOTPAGE Lloh9: ldr x9, [x9, _fARCH_aarch64@GOTPAGEOFF] Lloh10: ldr x9, [x9] mov w10, #1 str w10, [x2, x9, lsl #2] Lloh11: adrp x9, _verbose@GOTPAGE Lloh12: ldr x9, [x9, _verbose@GOTPAGEOFF] Lloh13: ldr x9, [x9] cbz x9, LBB0_14 ; %bb.8: Lloh14: adrp x1, l_.str.3@PAGE Lloh15: add x1, x1, l_.str.3@PAGEOFF b LBB0_13 LBB0_9: Lloh16: adrp x9, _fARCH_i386@GOTPAGE Lloh17: ldr x9, [x9, _fARCH_i386@GOTPAGEOFF] Lloh18: ldr x9, [x9] mov w10, #1 str w10, [x2, x9, lsl #2] Lloh19: adrp x9, _verbose@GOTPAGE Lloh20: ldr x9, [x9, _verbose@GOTPAGEOFF] Lloh21: ldr x9, [x9] cbz x9, LBB0_14 ; %bb.10: Lloh22: adrp x1, l_.str@PAGE Lloh23: add x1, x1, l_.str@PAGEOFF b LBB0_13 LBB0_11: Lloh24: adrp x9, _fARCH_x86_64@GOTPAGE Lloh25: ldr x9, [x9, _fARCH_x86_64@GOTPAGEOFF] Lloh26: ldr x9, [x9] mov w10, #1 str w10, [x2, x9, lsl #2] Lloh27: adrp x9, _verbose@GOTPAGE Lloh28: ldr x9, [x9, _verbose@GOTPAGEOFF] Lloh29: ldr x9, [x9] cbz x9, LBB0_14 ; %bb.12: Lloh30: adrp x1, l_.str.1@PAGE Lloh31: add x1, x1, l_.str.1@PAGEOFF LBB0_13: Lloh32: adrp x9, _stderr@GOTPAGE Lloh33: ldr x9, [x9, _stderr@GOTPAGEOFF] Lloh34: ldr w0, [x9] mov x2, x8 b _fprintf LBB0_14: ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .cfi_endproc ; -- End function .comm _fARCH_i386,8,3 ; @fARCH_i386 .comm _verbose,8,3 ; @verbose .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s used for determining architecture i386\n" .comm _fARCH_x86_64,8,3 ; @fARCH_x86_64 l_.str.1: ; @.str.1 .asciz "%s used for determining architecture x86_64\n" .comm _fARCH_arm,8,3 ; @fARCH_arm l_.str.2: ; @.str.2 .asciz "%s used for determining architecture armhf\n" .comm _fARCH_aarch64,8,3 ; @fARCH_aarch64 l_.str.3: ; @.str.3 .asciz "%s used for determining architecture aarch64\n" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_extract_arch_from_e_machine_field.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _extract_arch_from_text ## -- Begin function extract_arch_from_text .p2align 4, 0x90 _extract_arch_from_text: ## @extract_arch_from_text .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testq %rdi, %rdi je LBB0_22 ## %bb.1: movq %rdx, %r15 movq %rsi, %r14 callq _g_strstrip testq %rax, %rax je LBB0_22 ## %bb.2: movq %rax, %rbx leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %r12 movq %rax, %rdi movq %r12, %rdx callq _replacestr leaq L_.str.2(%rip), %rsi movq %rbx, %rdi movq %r12, %rdx callq _replacestr leaq L_.str.3(%rip), %rdi movq %rbx, %rsi movl $20, %edx callq _g_ascii_strncasecmp testq %rax, %rax je LBB0_10 ## %bb.3: leaq L_.str.4(%rip), %rdi movq %rbx, %rsi movl $20, %edx callq _g_ascii_strncasecmp testq %rax, %rax je LBB0_10 ## %bb.4: leaq L_.str.5(%rip), %rdi movq %rbx, %rsi movl $20, %edx callq _g_ascii_strncasecmp testq %rax, %rax je LBB0_10 ## %bb.5: leaq L_.str.6(%rip), %rdi movq %rbx, %rsi movl $20, %edx callq _g_ascii_strncasecmp testq %rax, %rax je LBB0_10 ## %bb.6: leaq L_.str.7(%rip), %rdi movq %rbx, %rsi movl $20, %edx callq _g_ascii_strncasecmp testq %rax, %rax je LBB0_10 ## %bb.7: leaq L_.str.8(%rip), %rdi movq %rbx, %rsi movl $20, %edx callq _g_ascii_strncasecmp testq %rax, %rax je LBB0_10 ## %bb.8: leaq L_.str.9(%rip), %rdi movq %rbx, %rsi movl $20, %edx callq _g_ascii_strncasecmp testq %rax, %rax je LBB0_10 ## %bb.9: leaq L_.str.10(%rip), %rdi movq %rbx, %rsi movl $20, %edx callq _g_ascii_strncasecmp testq %rax, %rax je LBB0_10 ## %bb.12: leaq L_.str.12(%rip), %rdi movq %rbx, %rsi movl $20, %edx callq _g_ascii_strncasecmp testq %rax, %rax je LBB0_13 ## %bb.15: leaq L_.str.14(%rip), %rdi movq %rbx, %rsi movl $20, %edx callq _g_ascii_strncasecmp testq %rax, %rax je LBB0_16 ## %bb.18: leaq L_.str.16(%rip), %rdi movq %rbx, %rsi movl $20, %edx callq _g_ascii_strncasecmp testq %rax, %rax jne LBB0_22 ## %bb.19: movq _fARCH_aarch64@GOTPCREL(%rip), %rax movq (%rax), %rax movl $1, (%r15,%rax,4) movq _verbose@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_22 ## %bb.20: leaq L_.str.17(%rip), %rsi jmp LBB0_21 LBB0_10: movq _fARCH_i386@GOTPCREL(%rip), %rax movq (%rax), %rax movl $1, (%r15,%rax,4) movq _verbose@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_22 ## %bb.11: leaq L_.str.11(%rip), %rsi LBB0_21: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rdx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _fprintf ## TAILCALL LBB0_13: movq _fARCH_x86_64@GOTPCREL(%rip), %rax movq (%rax), %rax movl $1, (%r15,%rax,4) movq _verbose@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_22 ## %bb.14: leaq L_.str.13(%rip), %rsi jmp LBB0_21 LBB0_16: movq _fARCH_arm@GOTPCREL(%rip), %rax movq (%rax), %rax movl $1, (%r15,%rax,4) movq _verbose@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_22 ## %bb.17: leaq L_.str.15(%rip), %rsi jmp LBB0_21 LBB0_22: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "-" L_.str.1: ## @.str.1 .asciz "_" L_.str.2: ## @.str.2 .asciz " " L_.str.3: ## @.str.3 .asciz "i386" L_.str.4: ## @.str.4 .asciz "i486" L_.str.5: ## @.str.5 .asciz "i586" L_.str.6: ## @.str.6 .asciz "i686" L_.str.7: ## @.str.7 .asciz "intel_80386" L_.str.8: ## @.str.8 .asciz "intel_80486" L_.str.9: ## @.str.9 .asciz "intel_80586" L_.str.10: ## @.str.10 .asciz "intel_80686" .comm _fARCH_i386,8,3 ## @fARCH_i386 .comm _verbose,8,3 ## @verbose .comm _stderr,4,2 ## @stderr L_.str.11: ## @.str.11 .asciz "%s used for determining architecture i386\n" L_.str.12: ## @.str.12 .asciz "x86_64" .comm _fARCH_x86_64,8,3 ## @fARCH_x86_64 L_.str.13: ## @.str.13 .asciz "%s used for determining architecture x86_64\n" L_.str.14: ## @.str.14 .asciz "arm" .comm _fARCH_arm,8,3 ## @fARCH_arm L_.str.15: ## @.str.15 .asciz "%s used for determining architecture ARM\n" L_.str.16: ## @.str.16 .asciz "arm_aarch64" .comm _fARCH_aarch64,8,3 ## @fARCH_aarch64 L_.str.17: ## @.str.17 .asciz "%s used for determining architecture ARM aarch64\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _extract_arch_from_text ; -- Begin function extract_arch_from_text .p2align 2 _extract_arch_from_text: ; @extract_arch_from_text .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz x0, LBB0_22 ; %bb.1: mov x20, x2 mov x19, x1 bl _g_strstrip cbz x0, LBB0_22 ; %bb.2: mov x21, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF Lloh2: adrp x22, l_.str.1@PAGE Lloh3: add x22, x22, l_.str.1@PAGEOFF mov x2, x22 bl _replacestr Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x21 mov x2, x22 bl _replacestr Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF mov x1, x21 mov w2, #20 bl _g_ascii_strncasecmp cbz x0, LBB0_15 ; %bb.3: Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF mov x1, x21 mov w2, #20 bl _g_ascii_strncasecmp cbz x0, LBB0_15 ; %bb.4: Lloh10: adrp x0, l_.str.5@PAGE Lloh11: add x0, x0, l_.str.5@PAGEOFF mov x1, x21 mov w2, #20 bl _g_ascii_strncasecmp cbz x0, LBB0_15 ; %bb.5: Lloh12: adrp x0, l_.str.6@PAGE Lloh13: add x0, x0, l_.str.6@PAGEOFF mov x1, x21 mov w2, #20 bl _g_ascii_strncasecmp cbz x0, LBB0_15 ; %bb.6: Lloh14: adrp x0, l_.str.7@PAGE Lloh15: add x0, x0, l_.str.7@PAGEOFF mov x1, x21 mov w2, #20 bl _g_ascii_strncasecmp cbz x0, LBB0_15 ; %bb.7: Lloh16: adrp x0, l_.str.8@PAGE Lloh17: add x0, x0, l_.str.8@PAGEOFF mov x1, x21 mov w2, #20 bl _g_ascii_strncasecmp cbz x0, LBB0_15 ; %bb.8: Lloh18: adrp x0, l_.str.9@PAGE Lloh19: add x0, x0, l_.str.9@PAGEOFF mov x1, x21 mov w2, #20 bl _g_ascii_strncasecmp cbz x0, LBB0_15 ; %bb.9: Lloh20: adrp x0, l_.str.10@PAGE Lloh21: add x0, x0, l_.str.10@PAGEOFF mov x1, x21 mov w2, #20 bl _g_ascii_strncasecmp cbz x0, LBB0_15 ; %bb.10: Lloh22: adrp x0, l_.str.12@PAGE Lloh23: add x0, x0, l_.str.12@PAGEOFF mov x1, x21 mov w2, #20 bl _g_ascii_strncasecmp cbz x0, LBB0_18 ; %bb.11: Lloh24: adrp x0, l_.str.14@PAGE Lloh25: add x0, x0, l_.str.14@PAGEOFF mov x1, x21 mov w2, #20 bl _g_ascii_strncasecmp cbz x0, LBB0_20 ; %bb.12: Lloh26: adrp x0, l_.str.16@PAGE Lloh27: add x0, x0, l_.str.16@PAGEOFF mov x1, x21 mov w2, #20 bl _g_ascii_strncasecmp cbnz x0, LBB0_22 ; %bb.13: Lloh28: adrp x8, _fARCH_aarch64@GOTPAGE Lloh29: ldr x8, [x8, _fARCH_aarch64@GOTPAGEOFF] Lloh30: ldr x8, [x8] mov w9, #1 str w9, [x20, x8, lsl #2] Lloh31: adrp x8, _verbose@GOTPAGE Lloh32: ldr x8, [x8, _verbose@GOTPAGEOFF] Lloh33: ldr x8, [x8] cbz x8, LBB0_22 ; %bb.14: Lloh34: adrp x1, l_.str.17@PAGE Lloh35: add x1, x1, l_.str.17@PAGEOFF b LBB0_17 LBB0_15: Lloh36: adrp x8, _fARCH_i386@GOTPAGE Lloh37: ldr x8, [x8, _fARCH_i386@GOTPAGEOFF] Lloh38: ldr x8, [x8] mov w9, #1 str w9, [x20, x8, lsl #2] Lloh39: adrp x8, _verbose@GOTPAGE Lloh40: ldr x8, [x8, _verbose@GOTPAGEOFF] Lloh41: ldr x8, [x8] cbz x8, LBB0_22 ; %bb.16: Lloh42: adrp x1, l_.str.11@PAGE Lloh43: add x1, x1, l_.str.11@PAGEOFF LBB0_17: Lloh44: adrp x8, _stderr@GOTPAGE Lloh45: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh46: ldr w0, [x8] mov x2, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _fprintf LBB0_18: Lloh47: adrp x8, _fARCH_x86_64@GOTPAGE Lloh48: ldr x8, [x8, _fARCH_x86_64@GOTPAGEOFF] Lloh49: ldr x8, [x8] mov w9, #1 str w9, [x20, x8, lsl #2] Lloh50: adrp x8, _verbose@GOTPAGE Lloh51: ldr x8, [x8, _verbose@GOTPAGEOFF] Lloh52: ldr x8, [x8] cbz x8, LBB0_22 ; %bb.19: Lloh53: adrp x1, l_.str.13@PAGE Lloh54: add x1, x1, l_.str.13@PAGEOFF b LBB0_17 LBB0_20: Lloh55: adrp x8, _fARCH_arm@GOTPAGE Lloh56: ldr x8, [x8, _fARCH_arm@GOTPAGEOFF] Lloh57: ldr x8, [x8] mov w9, #1 str w9, [x20, x8, lsl #2] Lloh58: adrp x8, _verbose@GOTPAGE Lloh59: ldr x8, [x8, _verbose@GOTPAGEOFF] Lloh60: ldr x8, [x8] cbz x8, LBB0_22 ; %bb.21: Lloh61: adrp x1, l_.str.15@PAGE Lloh62: add x1, x1, l_.str.15@PAGEOFF b LBB0_17 LBB0_22: 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 Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh61, Lloh62 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "-" l_.str.1: ; @.str.1 .asciz "_" l_.str.2: ; @.str.2 .asciz " " l_.str.3: ; @.str.3 .asciz "i386" l_.str.4: ; @.str.4 .asciz "i486" l_.str.5: ; @.str.5 .asciz "i586" l_.str.6: ; @.str.6 .asciz "i686" l_.str.7: ; @.str.7 .asciz "intel_80386" l_.str.8: ; @.str.8 .asciz "intel_80486" l_.str.9: ; @.str.9 .asciz "intel_80586" l_.str.10: ; @.str.10 .asciz "intel_80686" .comm _fARCH_i386,8,3 ; @fARCH_i386 .comm _verbose,8,3 ; @verbose .comm _stderr,4,2 ; @stderr l_.str.11: ; @.str.11 .asciz "%s used for determining architecture i386\n" l_.str.12: ; @.str.12 .asciz "x86_64" .comm _fARCH_x86_64,8,3 ; @fARCH_x86_64 l_.str.13: ; @.str.13 .asciz "%s used for determining architecture x86_64\n" l_.str.14: ; @.str.14 .asciz "arm" .comm _fARCH_arm,8,3 ; @fARCH_arm l_.str.15: ; @.str.15 .asciz "%s used for determining architecture ARM\n" l_.str.16: ; @.str.16 .asciz "arm_aarch64" .comm _fARCH_aarch64,8,3 ; @fARCH_aarch64 l_.str.17: ; @.str.17 .asciz "%s used for determining architecture ARM aarch64\n" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_extract_arch_from_text.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _find_arch ## -- Begin function find_arch .p2align 4, 0x90 _find_arch: ## @find_arch .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -56(%rbp) ## 8-byte Spill movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, %r12 xorl %esi, %esi xorl %edx, %edx callq _g_dir_open testq %rax, %rax je LBB0_11 ## %bb.1: movq %rax, %r13 movq %rax, %rdi callq _g_dir_read_name testq %rax, %rax je LBB0_10 ## %bb.2: movq %rax, %rbx movq _G_FILE_TEST_IS_SYMLINK@GOTPCREL(%rip), %r14 jmp LBB0_3 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movq %r15, %rdi movq -48(%rbp), %rsi ## 8-byte Reload movq -56(%rbp), %rdx ## 8-byte Reload callq _find_arch LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movq %r13, %rdi callq _g_dir_read_name movq %rax, %rbx testq %rax, %rax je LBB0_10 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movq %rbx, %rsi xorl %edx, %edx callq _g_build_filename movq %rax, %r15 movl (%r14), %esi movq %rax, %rdi callq _g_file_test testq %rax, %rax jne LBB0_9 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq _G_FILE_TEST_IS_DIR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _g_file_test testq %rax, %rax jne LBB0_5 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movq _G_FILE_TEST_IS_EXECUTABLE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _g_file_test testq %rax, %rax jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi callq _g_pattern_match_simple testq %rax, %rax je LBB0_9 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movq %r15, %rdi movq -56(%rbp), %rsi ## 8-byte Reload callq _guess_arch_of_file jmp LBB0_9 LBB0_10: movq %r13, %rdi addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _g_dir_close ## TAILCALL LBB0_11: movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _g_strerror leaq L_.str(%rip), %rdi movq %r12, %rsi movl %eax, %edx addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _g_warning ## TAILCALL .cfi_endproc ## -- End function .comm _G_FILE_TEST_IS_SYMLINK,4,2 ## @G_FILE_TEST_IS_SYMLINK .comm _G_FILE_TEST_IS_DIR,4,2 ## @G_FILE_TEST_IS_DIR .comm _G_FILE_TEST_IS_EXECUTABLE,4,2 ## @G_FILE_TEST_IS_EXECUTABLE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: %s" .comm _errno,4,2 ## @errno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _find_arch ; -- Begin function find_arch .p2align 2 _find_arch: ; @find_arch .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x2 mov x21, x1 mov x19, x0 mov w1, #0 mov x2, #0 bl _g_dir_open cbz x0, LBB0_11 ; %bb.1: mov x22, x0 bl _g_dir_read_name cbz x0, LBB0_10 ; %bb.2: mov x23, x0 Lloh0: adrp x25, _G_FILE_TEST_IS_SYMLINK@GOTPAGE Lloh1: ldr x25, [x25, _G_FILE_TEST_IS_SYMLINK@GOTPAGEOFF] Lloh2: adrp x26, _G_FILE_TEST_IS_DIR@GOTPAGE Lloh3: ldr x26, [x26, _G_FILE_TEST_IS_DIR@GOTPAGEOFF] Lloh4: adrp x27, _G_FILE_TEST_IS_EXECUTABLE@GOTPAGE Lloh5: ldr x27, [x27, _G_FILE_TEST_IS_EXECUTABLE@GOTPAGEOFF] b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 mov x0, x24 mov x1, x21 mov x2, x20 bl _find_arch LBB0_4: ; in Loop: Header=BB0_5 Depth=1 mov x0, x22 bl _g_dir_read_name mov x23, x0 cbz x0, LBB0_10 LBB0_5: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x23 mov x2, #0 bl _g_build_filename mov x24, x0 ldr w1, [x25] bl _g_file_test cbnz x0, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr w1, [x26] mov x0, x24 bl _g_file_test cbnz x0, LBB0_3 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr w1, [x27] mov x0, x24 bl _g_file_test cbnz x0, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 mov x0, x21 mov x1, x23 bl _g_pattern_match_simple cbz x0, LBB0_4 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 mov x0, x24 mov x1, x20 bl _guess_arch_of_file b LBB0_4 LBB0_10: mov x0, x22 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _g_dir_close LBB0_11: Lloh6: adrp x8, _errno@GOTPAGE Lloh7: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _g_strerror mov x2, x0 Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF mov x1, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _g_warning .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _G_FILE_TEST_IS_SYMLINK,4,2 ; @G_FILE_TEST_IS_SYMLINK .comm _G_FILE_TEST_IS_DIR,4,2 ; @G_FILE_TEST_IS_DIR .comm _G_FILE_TEST_IS_EXECUTABLE,4,2 ; @G_FILE_TEST_IS_EXECUTABLE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: %s" .comm _errno,4,2 ; @errno .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_find_arch.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _find_first_matching_file_nonrecursive ## -- Begin function find_first_matching_file_nonrecursive .p2align 4, 0x90 _find_first_matching_file_nonrecursive: ## @find_first_matching_file_nonrecursive .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 xorl %esi, %esi xorl %edx, %edx callq _g_dir_open testq %rax, %rax je LBB0_7 ## %bb.1: movq %rax, %r12 movq %rax, %rdi callq _g_dir_read_name testq %rax, %rax je LBB0_6 ## %bb.2: movq %rax, %rbx jmp LBB0_3 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movq %r12, %rdi callq _g_dir_read_name movq %rax, %rbx testq %rax, %rax je LBB0_6 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movq %rbx, %rsi xorl %edx, %edx callq _g_build_filename movq %rax, %r13 movq _G_FILE_TEST_IS_REGULAR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r13, %rdi callq _g_file_test testq %rax, %rax je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi movq %rbx, %rsi callq _g_pattern_match_simple testq %rax, %rax je LBB0_5 jmp LBB0_9 LBB0_6: movq %r12, %rdi callq _g_dir_close jmp LBB0_8 LBB0_7: movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _g_strerror leaq L_.str(%rip), %rdi movq %r15, %rsi movl %eax, %edx callq _g_warning LBB0_8: xorl %r13d, %r13d LBB0_9: movq %r13, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _G_FILE_TEST_IS_REGULAR,4,2 ## @G_FILE_TEST_IS_REGULAR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: %s" .comm _errno,4,2 ## @errno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _find_first_matching_file_nonrecursive ; -- Begin function find_first_matching_file_nonrecursive .p2align 2 _find_first_matching_file_nonrecursive: ; @find_first_matching_file_nonrecursive .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 mov w1, #0 mov x2, #0 bl _g_dir_open cbz x0, LBB0_7 ; %bb.1: mov x21, x0 bl _g_dir_read_name cbz x0, LBB0_6 ; %bb.2: mov x22, x0 Lloh0: adrp x24, _G_FILE_TEST_IS_REGULAR@GOTPAGE Lloh1: ldr x24, [x24, _G_FILE_TEST_IS_REGULAR@GOTPAGEOFF] b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 mov x0, x21 bl _g_dir_read_name mov x22, x0 cbz x0, LBB0_6 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x22 mov x2, #0 bl _g_build_filename mov x23, x0 ldr w1, [x24] bl _g_file_test cbz x0, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 mov x1, x22 bl _g_pattern_match_simple cbz x0, LBB0_3 b LBB0_9 LBB0_6: mov x0, x21 bl _g_dir_close b LBB0_8 LBB0_7: Lloh2: adrp x8, _errno@GOTPAGE Lloh3: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh4: ldr w0, [x8] bl _g_strerror mov x2, x0 Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _g_warning LBB0_8: mov x23, #0 LBB0_9: mov x0, 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 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _G_FILE_TEST_IS_REGULAR,4,2 ; @G_FILE_TEST_IS_REGULAR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: %s" .comm _errno,4,2 ; @errno .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_find_first_matching_file_nonrecursive.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getArchName ## -- Begin function getArchName .p2align 4, 0x90 _getArchName: ## @getArchName .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _fARCH_i386@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl $0, (%rdi,%rax,4) je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rax popq %rbp retq LBB0_2: movq _fARCH_x86_64@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl $0, (%rdi,%rax,4) je LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rax popq %rbp retq LBB0_4: movq _fARCH_arm@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl $0, (%rdi,%rax,4) je LBB0_6 ## %bb.5: leaq L_.str.2(%rip), %rax popq %rbp retq LBB0_6: movq _fARCH_aarch64@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl $0, (%rdi,%rax,4) leaq L_.str.4(%rip), %rcx leaq L_.str.3(%rip), %rax cmoveq %rcx, %rax popq %rbp retq .cfi_endproc ## -- End function .comm _fARCH_i386,8,3 ## @fARCH_i386 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "i386" .comm _fARCH_x86_64,8,3 ## @fARCH_x86_64 L_.str.1: ## @.str.1 .asciz "x86_64" .comm _fARCH_arm,8,3 ## @fARCH_arm L_.str.2: ## @.str.2 .asciz "armhf" .comm _fARCH_aarch64,8,3 ## @fARCH_aarch64 L_.str.3: ## @.str.3 .asciz "aarch64" L_.str.4: ## @.str.4 .asciz "all" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getArchName ; -- Begin function getArchName .p2align 2 _getArchName: ; @getArchName .cfi_startproc ; %bb.0: Lloh0: adrp x8, _fARCH_i386@GOTPAGE Lloh1: ldr x8, [x8, _fARCH_i386@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w8, [x0, x8, lsl #2] cbz w8, LBB0_2 ; %bb.1: Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF ret LBB0_2: Lloh5: adrp x8, _fARCH_x86_64@GOTPAGE Lloh6: ldr x8, [x8, _fARCH_x86_64@GOTPAGEOFF] Lloh7: ldr x8, [x8] ldr w8, [x0, x8, lsl #2] cbz w8, LBB0_4 ; %bb.3: Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF ret LBB0_4: Lloh10: adrp x8, _fARCH_arm@GOTPAGE Lloh11: ldr x8, [x8, _fARCH_arm@GOTPAGEOFF] Lloh12: ldr x8, [x8] ldr w8, [x0, x8, lsl #2] cbz w8, LBB0_6 ; %bb.5: Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF ret LBB0_6: Lloh15: adrp x8, _fARCH_aarch64@GOTPAGE Lloh16: ldr x8, [x8, _fARCH_aarch64@GOTPAGEOFF] Lloh17: ldr x8, [x8] ldr w8, [x0, x8, lsl #2] Lloh18: adrp x9, l_.str.3@PAGE Lloh19: add x9, x9, l_.str.3@PAGEOFF Lloh20: adrp x10, l_.str.4@PAGE Lloh21: add x10, x10, l_.str.4@PAGEOFF cmp w8, #0 csel x0, x10, x9, eq ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _fARCH_i386,8,3 ; @fARCH_i386 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "i386" .comm _fARCH_x86_64,8,3 ; @fARCH_x86_64 l_.str.1: ; @.str.1 .asciz "x86_64" .comm _fARCH_arm,8,3 ; @fARCH_arm l_.str.2: ; @.str.2 .asciz "armhf" .comm _fARCH_aarch64,8,3 ; @fARCH_aarch64 l_.str.3: ; @.str.3 .asciz "aarch64" l_.str.4: ; @.str.4 .asciz "all" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_getArchName.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_desktop_entry ## -- Begin function get_desktop_entry .p2align 4, 0x90 _get_desktop_entry: ## @get_desktop_entry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 leaq L_.str(%rip), %rsi movq %r14, %rdx xorl %ecx, %ecx callq _g_key_file_get_string movq %rax, %rbx testq %rax, %rax jne LBB0_2 ## %bb.1: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi movq %r14, %rdx callq _fprintf LBB0_2: movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Desktop Entry" .comm _stderr,4,2 ## @stderr L_.str.1: ## @.str.1 .asciz "%s entry not found in desktop file\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_desktop_entry ; -- Begin function get_desktop_entry .p2align 2 _get_desktop_entry: ; @get_desktop_entry .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 x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x2, x19 mov x3, #0 bl _g_key_file_get_string mov x20, x0 cbnz x0, LBB0_2 ; %bb.1: Lloh2: adrp x8, _stderr@GOTPAGE Lloh3: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh4: ldr w0, [x8] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x2, x19 bl _fprintf LBB0_2: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Desktop Entry" .comm _stderr,4,2 ; @stderr l_.str.1: ; @.str.1 .asciz "%s entry not found in desktop file\n" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_get_desktop_entry.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _guess_arch_of_file ## -- Begin function guess_arch_of_file .p2align 4, 0x90 _guess_arch_of_file: ## @guess_arch_of_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx callq _read_elf_e_machine_field movl %eax, %edi movq %rbx, %rsi movq %r14, %rdx popq %rbx popq %r14 popq %rbp jmp _extract_arch_from_e_machine_field ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _guess_arch_of_file ; -- Begin function guess_arch_of_file .p2align 2 _guess_arch_of_file: ; @guess_arch_of_file .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _read_elf_e_machine_field mov x1, x20 mov x2, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _extract_arch_from_e_machine_field .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_guess_arch_of_file.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _read_elf_e_machine_field ## -- Begin function read_elf_e_machine_field .p2align 4, 0x90 _read_elf_e_machine_field: ## @read_elf_e_machine_field .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 $0, -12(%rbp) leaq L_.str(%rip), %rsi callq _fopen testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movq _SEEK_SET@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi movl $18, %esi callq _fseek leaq -12(%rbp), %rdi movl $2, %esi movq %rbx, %rdx callq _fgets movq %rbx, %rdi callq _fclose movl -12(%rbp), %eax jmp LBB0_3 LBB0_1: xorl %eax, %eax LBB0_3: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "rb" .comm _SEEK_SET,4,2 ## @SEEK_SET .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _read_elf_e_machine_field ; -- Begin function read_elf_e_machine_field .p2align 2 _read_elf_e_machine_field: ; @read_elf_e_machine_field .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 str wzr, [sp, #12] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _fopen cbz x0, LBB0_2 ; %bb.1: mov x19, x0 Lloh2: adrp x8, _SEEK_SET@GOTPAGE Lloh3: ldr x8, [x8, _SEEK_SET@GOTPAGEOFF] Lloh4: ldr w2, [x8] mov w1, #18 bl _fseek add x0, sp, #12 mov w1, #2 mov x2, x19 bl _fgets mov x0, x19 bl _fclose ldr w0, [sp, #12] LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "rb" .comm _SEEK_SET,4,2 ; @SEEK_SET .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_read_elf_e_machine_field.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function replacestr _replacestr: ## @replacestr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -48(%rbp) ## 8-byte Spill movq %rsi, %r12 movq %rdi, %rbx movq %rsi, -64(%rbp) ## 8-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi movq %r12, %rsi callq _strstr testq %rax, %rax je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq %rax, %r15 movq %r12, %rdi callq _strlen movl %eax, %r13d movq -48(%rbp), %rdi ## 8-byte Reload callq _strlen movl %eax, %r14d movslq %r13d, %rbx addq %r15, %rbx movq %rbx, %rdi callq _strlen ## kill: def $eax killed $eax def $rax movslq %r14d, %r14 movq %r15, %rdi addq %r14, %rdi leal 1(%rax), %edx movq %rbx, %rsi movq -64(%rbp), %r12 ## 8-byte Reload callq _memmove movq %r15, %rdi movq -48(%rbp), %rsi ## 8-byte Reload movl %r14d, %edx movq -56(%rbp), %rbx ## 8-byte Reload callq _memcpy movq %rbx, %rdi movq %r12, %rsi callq _strstr testq %rax, %rax jne LBB0_1 LBB0_3: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _replacestr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function replacestr _replacestr: ; @replacestr .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x20 bl _strstr cbz x0, LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov x22, x0 mov x0, x20 bl _strlen mov x23, x0 mov x0, x19 bl _strlen mov x24, x0 add x23, x22, w23, sxtw mov x0, x23 bl _strlen add x8, x22, w24, sxtw add w2, w0, #1 mov x0, x8 mov x1, x23 bl _memmove mov x0, x22 mov x1, x19 mov x2, x24 bl _memcpy mov x0, x21 mov x1, x20 bl _strstr cbnz x0, LBB0_1 LBB0_3: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _replacestr .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_replacestr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sfs_ls ## -- Begin function sfs_ls .p2align 4, 0x90 _sfs_ls: ## @sfs_ls .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, %r14 callq _appimage_get_elf_size movq %rax, %rbx testq %rax, %rax jns LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _die LBB0_2: leaq -32(%rbp), %rdi movq %r14, %rsi movq %rbx, %rdx callq _sqfs_open_image testq %rax, %rax je LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rdi callq _die LBB0_4: leaq -32(%rbp), %rbx movq %rbx, %rdi callq _sqfs_inode_root leaq -56(%rbp), %rdi movq %rbx, %rsi movl %eax, %edx callq _sqfs_traverse_open movq %rax, -40(%rbp) testq %rax, %rax je LBB0_6 ## %bb.5: leaq L_.str.2(%rip), %rdi callq _die LBB0_6: leaq -56(%rbp), %rdi leaq -40(%rbp), %rsi callq _sqfs_traverse_next testq %rax, %rax je LBB0_11 ## %bb.7: leaq L_.str.3(%rip), %r14 leaq -56(%rbp), %r15 leaq -40(%rbp), %rbx jmp LBB0_8 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_8 Depth=1 movq %r15, %rdi movq %rbx, %rsi callq _sqfs_traverse_next testq %rax, %rax je LBB0_11 LBB0_8: ## =>This Inner Loop Header: Depth=1 cmpl $0, -48(%rbp) jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movq -56(%rbp), %rsi movq %r14, %rdi callq _printf jmp LBB0_10 LBB0_11: cmpq $0, -40(%rbp) je LBB0_13 ## %bb.12: leaq L_.str.4(%rip), %rdi callq _die LBB0_13: leaq -56(%rbp), %rdi callq _sqfs_traverse_close movl -32(%rbp), %edi callq _sqfs_fd_close xorl %eax, %eax addq $40, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SQFS_OK,8,3 ## @SQFS_OK .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "failed to read elf size" L_.str.1: ## @.str.1 .asciz "sqfs_open_image error" L_.str.2: ## @.str.2 .asciz "sqfs_traverse_open error" L_.str.3: ## @.str.3 .asciz "%s\n" L_.str.4: ## @.str.4 .asciz "sqfs_traverse_next error" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sfs_ls ; -- Begin function sfs_ls .p2align 2 _sfs_ls: ; @sfs_ls .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _appimage_get_elf_size mov x20, x0 tbz x0, #63, LBB0_2 ; %bb.1: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _die LBB0_2: mov x0, sp mov x1, x19 mov x2, x20 bl _sqfs_open_image cbz x0, LBB0_4 ; %bb.3: Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _die LBB0_4: mov x0, sp bl _sqfs_inode_root mov x2, x0 add x0, sp, #8 mov x1, sp bl _sqfs_traverse_open str x0, [sp, #24] cbz x0, LBB0_6 ; %bb.5: Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _die LBB0_6: add x0, sp, #8 add x1, sp, #24 bl _sqfs_traverse_next cbz x0, LBB0_11 ; %bb.7: Lloh6: adrp x19, l_.str.3@PAGE Lloh7: add x19, x19, l_.str.3@PAGEOFF b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 add x0, sp, #8 add x1, sp, #24 bl _sqfs_traverse_next cbz x0, LBB0_11 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] cbnz w8, LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldr x1, [sp, #8] mov x0, x19 bl _printf b LBB0_8 LBB0_11: ldr x8, [sp, #24] cbz x8, LBB0_13 ; %bb.12: Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF bl _die LBB0_13: add x0, sp, #8 bl _sqfs_traverse_close ldr w0, [sp] bl _sqfs_fd_close mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _SQFS_OK,8,3 ; @SQFS_OK .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "failed to read elf size" l_.str.1: ; @.str.1 .asciz "sqfs_open_image error" l_.str.2: ; @.str.2 .asciz "sqfs_traverse_open error" l_.str.3: ; @.str.3 .asciz "%s\n" l_.str.4: ; @.str.4 .asciz "sqfs_traverse_next error" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_sfs_ls.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sfs_mksquashfs ## -- Begin function sfs_mksquashfs .p2align 4, 0x90 _sfs_mksquashfs: ## @sfs_mksquashfs .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 $264, %rsp ## imm = 0x108 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movq %rsi, %r14 movq %rdi, %r13 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) xorl %eax, %eax callq _fork movl $-1, %r15d cmpl $-1, %eax je LBB0_14 ## %bb.1: testl %eax, %eax jle LBB0_3 ## %bb.2: leaq -304(%rbp), %rsi xorl %r15d, %r15d movl %eax, %edi xorl %edx, %edx callq _waitpid jmp LBB0_14 LBB0_3: leaq L_.str(%rip), %rdi movl %ebx, %esi callq _g_strdup_printf movq %rax, %rbx movq _sqfs_comp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.1(%rip), %r12 movq %r12, %rsi callq _strcmp leaq L_.str.2(%rip), %rcx movq %rcx, -304(%rbp) movq %r13, -296(%rbp) movq %r14, -288(%rbp) leaq L_.str.3(%rip), %rcx movq %rcx, -280(%rbp) movq %rbx, -272(%rbp) leaq L_.str.4(%rip), %rcx movq %rcx, -264(%rbp) testq %rax, %rax js LBB0_4 ## %bb.5: leaq L_.str.7(%rip), %rax movq %rax, -232(%rbp) leaq L_.str.8(%rip), %rax movq %rax, -224(%rbp) leaq L_.str.9(%rip), %rax movq %rax, -216(%rbp) leaq L_.str.10(%rip), %rax movq %rax, -208(%rbp) movl $13, %r14d jmp LBB0_6 LBB0_4: movq _sqfs_comp@GOTPCREL(%rip), %rax movq (%rax), %r12 movl $9, %r14d LBB0_6: movq %r12, -256(%rbp) leaq L_.str.5(%rip), %rax movq %rax, -248(%rbp) leaq L_.str.6(%rip), %rax movq %rax, -240(%rbp) movq _APPIMAGEIGNORE@GOTPCREL(%rip), %r13 movq (%r13), %rdi movq _F_OK@GOTPCREL(%rip), %r12 movl (%r12), %esi callq _access testq %rax, %rax js LBB0_8 ## %bb.7: movq (%r13), %rsi leaq L_.str.11(%rip), %rdi xorl %eax, %eax callq _printf movl %r14d, %eax leaq L_.str.12(%rip), %rcx movq %rcx, -304(%rbp,%rax,8) movl %r14d, %ebx orl $2, %ebx leaq L_.str.13(%rip), %rcx movq %rcx, -296(%rbp,%rax,8) movq (%r13), %rdi callq _strdup addl $3, %r14d movq %rax, -304(%rbp,%rbx,8) LBB0_8: movq _exclude_file@GOTPCREL(%rip), %r13 movq (%r13), %rbx testq %rbx, %rbx je LBB0_13 ## %bb.9: movq %rbx, %rdi callq _strlen testq %rax, %rax jle LBB0_13 ## %bb.10: movl (%r12), %esi movq %rbx, %rdi callq _access testq %rax, %rax jns LBB0_12 ## %bb.11: movq (%r13), %rsi leaq L_.str.14(%rip), %rdi xorl %eax, %eax callq _printf LBB0_14: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_16 ## %bb.15: movl %r15d, %eax addq $264, %rsp ## imm = 0x108 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: movl %r14d, %eax leaq L_.str.12(%rip), %rcx movq %rcx, -304(%rbp,%rax,8) leaq L_.str.13(%rip), %rcx movq %rcx, -296(%rbp,%rax,8) movq (%r13), %rcx addl $3, %r14d movq %rcx, -288(%rbp,%rax,8) LBB0_13: leaq -304(%rbp), %rdi movl %r14d, %esi movq %rdi, %rdx callq _sfs_mksquashfs.cold.1 jmp LBB0_14 LBB0_16: callq ___stack_chk_fail .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function sfs_mksquashfs.cold.1 _sfs_mksquashfs.cold.1: ## @sfs_mksquashfs.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %eax leaq L_.str.15(%rip), %rcx movq %rcx, (%rdx,%rax,8) leaq L_.str.16(%rip), %rcx movq %rcx, 8(%rdx,%rax,8) andq $0, 16(%rdx,%rax,8) movq %rdi, %r14 movq _verbose@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB1_5 ## %bb.1: leaq L_.str.17(%rip), %rdi xorl %eax, %eax callq _printf movq (%r14), %rsi testq %rsi, %rsi je LBB1_4 ## %bb.2: leaq 8(%r14), %rbx leaq L_.str.18(%rip), %r15 LBB1_3: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi xorl %eax, %eax callq _printf movq (%rbx), %rsi addq $8, %rbx testq %rsi, %rsi jne LBB1_3 LBB1_4: pushq $10 popq %rdi callq _putchar LBB1_5: leaq L_.str.2(%rip), %rdi movq %r14, %rsi callq _execvp leaq L_.str.20(%rip), %rdi callq _perror 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 "%i" .comm _sqfs_comp,8,3 ## @sqfs_comp L_.str.1: ## @.str.1 .asciz "xz" L_.str.2: ## @.str.2 .asciz "mksquashfs" L_.str.3: ## @.str.3 .asciz "-offset" L_.str.4: ## @.str.4 .asciz "-comp" L_.str.5: ## @.str.5 .asciz "-root-owned" L_.str.6: ## @.str.6 .asciz "-noappend" L_.str.7: ## @.str.7 .asciz "-Xdict-size" L_.str.8: ## @.str.8 .asciz "100%" L_.str.9: ## @.str.9 .asciz "-b" L_.str.10: ## @.str.10 .asciz "16384" .comm _APPIMAGEIGNORE,8,3 ## @APPIMAGEIGNORE .comm _F_OK,4,2 ## @F_OK L_.str.11: ## @.str.11 .asciz "Including %s" L_.str.12: ## @.str.12 .asciz "-wildcards" L_.str.13: ## @.str.13 .asciz "-ef" .comm _exclude_file,8,3 ## @exclude_file L_.str.14: ## @.str.14 .asciz "WARNING: exclude file %s not found!" L_.str.15: ## @.str.15 .asciz "-mkfs-time" L_.str.16: ## @.str.16 .asciz "0" .comm _verbose,8,3 ## @verbose L_.str.17: ## @.str.17 .asciz "mksquashfs commandline: " L_.str.18: ## @.str.18 .asciz "%s " L_.str.20: ## @.str.20 .asciz "execlp" .comm _pathToMksquashfs,8,3 ## @pathToMksquashfs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sfs_mksquashfs ; -- Begin function sfs_mksquashfs .p2align 2 _sfs_mksquashfs: ; @sfs_mksquashfs .cfi_startproc ; %bb.0: sub sp, sp, #336 .cfi_def_cfa_offset 336 stp x24, x23, [sp, #272] ; 16-byte Folded Spill stp x22, x21, [sp, #288] ; 16-byte Folded Spill stp x20, x19, [sp, #304] ; 16-byte Folded Spill stp x29, x30, [sp, #320] ; 16-byte Folded Spill add x29, sp, #320 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x2 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] bl _fork cmn w0, #1 b.eq LBB0_13 ; %bb.1: cmp w0, #1 b.lt LBB0_3 ; %bb.2: add x1, sp, #8 mov w2, #0 bl _waitpid mov w0, #0 b LBB0_13 LBB0_3: Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF mov x1, x21 bl _g_strdup_printf mov x21, x0 Lloh5: adrp x22, _sqfs_comp@GOTPAGE Lloh6: ldr x22, [x22, _sqfs_comp@GOTPAGEOFF] ldr x0, [x22] Lloh7: adrp x1, l_.str.1@PAGE Lloh8: add x1, x1, l_.str.1@PAGEOFF bl _strcmp Lloh9: adrp x8, l_.str.2@PAGE Lloh10: add x8, x8, l_.str.2@PAGEOFF stp x8, x20, [sp, #8] Lloh11: adrp x8, l_.str.3@PAGE Lloh12: add x8, x8, l_.str.3@PAGEOFF stp x19, x8, [sp, #24] Lloh13: adrp x8, l_.str.4@PAGE Lloh14: add x8, x8, l_.str.4@PAGEOFF stp x21, x8, [sp, #40] tbnz x0, #63, LBB0_5 ; %bb.4: Lloh15: adrp x8, l_.str.7@PAGE Lloh16: add x8, x8, l_.str.7@PAGEOFF Lloh17: adrp x9, l_.str.8@PAGE Lloh18: add x9, x9, l_.str.8@PAGEOFF Lloh19: adrp x10, l_.str.9@PAGE Lloh20: add x10, x10, l_.str.9@PAGEOFF Lloh21: adrp x11, l_.str.10@PAGE Lloh22: add x11, x11, l_.str.10@PAGEOFF stp x8, x9, [sp, #80] stp x10, x11, [sp, #96] mov w19, #13 Lloh23: adrp x8, l_.str.1@PAGE Lloh24: add x8, x8, l_.str.1@PAGEOFF b LBB0_6 LBB0_5: ldr x8, [x22] mov w19, #9 LBB0_6: Lloh25: adrp x9, l_.str.5@PAGE Lloh26: add x9, x9, l_.str.5@PAGEOFF stp x8, x9, [sp, #56] Lloh27: adrp x8, l_.str.6@PAGE Lloh28: add x8, x8, l_.str.6@PAGEOFF str x8, [sp, #72] Lloh29: adrp x20, _APPIMAGEIGNORE@GOTPAGE Lloh30: ldr x20, [x20, _APPIMAGEIGNORE@GOTPAGEOFF] ldr x0, [x20] Lloh31: adrp x21, _F_OK@GOTPAGE Lloh32: ldr x21, [x21, _F_OK@GOTPAGEOFF] ldr w1, [x21] bl _access tbnz x0, #63, LBB0_8 ; %bb.7: ldr x8, [x20] str x8, [sp] Lloh33: adrp x0, l_.str.11@PAGE Lloh34: add x0, x0, l_.str.11@PAGEOFF bl _printf add w8, w19, #1 Lloh35: adrp x9, l_.str.12@PAGE Lloh36: add x9, x9, l_.str.12@PAGEOFF add x22, sp, #8 str x9, [x22, w19, uxtw #3] orr w23, w19, #0x2 Lloh37: adrp x9, l_.str.13@PAGE Lloh38: add x9, x9, l_.str.13@PAGEOFF str x9, [x22, w8, uxtw #3] ldr x0, [x20] bl _strdup add w19, w19, #3 str x0, [x22, w23, uxtw #3] LBB0_8: Lloh39: adrp x22, _exclude_file@GOTPAGE Lloh40: ldr x22, [x22, _exclude_file@GOTPAGEOFF] ldr x20, [x22] cbz x20, LBB0_16 ; %bb.9: mov x0, x20 bl _strlen cmp x0, #1 b.lt LBB0_16 ; %bb.10: ldr w1, [x21] mov x0, x20 bl _access tbz x0, #63, LBB0_15 ; %bb.11: ldr x8, [x22] str x8, [sp] Lloh41: adrp x0, l_.str.14@PAGE Lloh42: add x0, x0, l_.str.14@PAGEOFF bl _printf LBB0_12: mov w0, #-1 LBB0_13: ldur x8, [x29, #-56] Lloh43: adrp x9, ___stack_chk_guard@GOTPAGE Lloh44: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh45: ldr x9, [x9] cmp x9, x8 b.ne LBB0_17 ; %bb.14: ldp x29, x30, [sp, #320] ; 16-byte Folded Reload ldp x20, x19, [sp, #304] ; 16-byte Folded Reload ldp x22, x21, [sp, #288] ; 16-byte Folded Reload ldp x24, x23, [sp, #272] ; 16-byte Folded Reload add sp, sp, #336 ret LBB0_15: add w8, w19, #1 Lloh46: adrp x9, l_.str.12@PAGE Lloh47: add x9, x9, l_.str.12@PAGEOFF add x10, sp, #8 str x9, [x10, w19, uxtw #3] add w9, w19, #2 Lloh48: adrp x11, l_.str.13@PAGE Lloh49: add x11, x11, l_.str.13@PAGEOFF str x11, [x10, w8, uxtw #3] ldr x8, [x22] add w19, w19, #3 str x8, [x10, w9, uxtw #3] LBB0_16: add x0, sp, #8 add x2, sp, #8 mov x1, x19 bl _sfs_mksquashfs.cold.1 b LBB0_12 LBB0_17: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGot Lloh31, Lloh32 .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGot Lloh39, Lloh40 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function sfs_mksquashfs.cold.1 _sfs_mksquashfs.cold.1: ; @sfs_mksquashfs.cold.1 .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 add w8, w1, #1 Lloh50: adrp x9, l_.str.15@PAGE Lloh51: add x9, x9, l_.str.15@PAGEOFF str x9, [x2, w1, uxtw #3] Lloh52: adrp x9, l_.str.16@PAGE Lloh53: add x9, x9, l_.str.16@PAGEOFF str x9, [x2, w8, uxtw #3] add w8, w1, #2 str xzr, [x2, w8, uxtw #3] Lloh54: adrp x8, _verbose@GOTPAGE Lloh55: ldr x8, [x8, _verbose@GOTPAGEOFF] Lloh56: ldr x8, [x8] cbz x8, LBB1_5 ; %bb.1: Lloh57: adrp x0, l_.str.17@PAGE Lloh58: add x0, x0, l_.str.17@PAGEOFF bl _printf ldr x8, [x19] cbz x8, LBB1_4 ; %bb.2: add x21, x19, #8 Lloh59: adrp x20, l_.str.18@PAGE Lloh60: add x20, x20, l_.str.18@PAGEOFF LBB1_3: ; =>This Inner Loop Header: Depth=1 str x8, [sp] mov x0, x20 bl _printf ldr x8, [x21], #8 cbnz x8, LBB1_3 LBB1_4: mov w0, #10 bl _putchar LBB1_5: Lloh61: adrp x0, l_.str.2@PAGE Lloh62: add x0, x0, l_.str.2@PAGEOFF mov x1, x19 bl _execvp Lloh63: adrp x0, l_.str.20@PAGE Lloh64: add x0, x0, l_.str.20@PAGEOFF bl _perror 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 Lloh54, Lloh55, Lloh56 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpAdd Lloh59, Lloh60 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpAdd Lloh61, Lloh62 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%i" .comm _sqfs_comp,8,3 ; @sqfs_comp l_.str.1: ; @.str.1 .asciz "xz" l_.str.2: ; @.str.2 .asciz "mksquashfs" l_.str.3: ; @.str.3 .asciz "-offset" l_.str.4: ; @.str.4 .asciz "-comp" l_.str.5: ; @.str.5 .asciz "-root-owned" l_.str.6: ; @.str.6 .asciz "-noappend" l_.str.7: ; @.str.7 .asciz "-Xdict-size" l_.str.8: ; @.str.8 .asciz "100%" l_.str.9: ; @.str.9 .asciz "-b" l_.str.10: ; @.str.10 .asciz "16384" .comm _APPIMAGEIGNORE,8,3 ; @APPIMAGEIGNORE .comm _F_OK,4,2 ; @F_OK l_.str.11: ; @.str.11 .asciz "Including %s" l_.str.12: ; @.str.12 .asciz "-wildcards" l_.str.13: ; @.str.13 .asciz "-ef" .comm _exclude_file,8,3 ; @exclude_file l_.str.14: ; @.str.14 .asciz "WARNING: exclude file %s not found!" l_.str.15: ; @.str.15 .asciz "-mkfs-time" l_.str.16: ; @.str.16 .asciz "0" .comm _verbose,8,3 ; @verbose l_.str.17: ; @.str.17 .asciz "mksquashfs commandline: " l_.str.18: ; @.str.18 .asciz "%s " l_.str.20: ; @.str.20 .asciz "execlp" .comm _pathToMksquashfs,8,3 ; @pathToMksquashfs .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_sfs_mksquashfs.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _validate_desktop_file ## -- Begin function validate_desktop_file .p2align 4, 0x90 _validate_desktop_file: ## @validate_desktop_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx xorl %eax, %eax callq _fork testl %eax, %eax je LBB0_3 ## %bb.1: cmpl $-1, %eax jne LBB0_4 ## %bb.2: leaq L_str(%rip), %rdi callq _puts movl $1, %eax jmp LBB0_7 LBB0_3: leaq L_.str.1(%rip), %rdi movq %rdi, %rsi movq %rbx, %rdx xorl %ecx, %ecx callq _execlp jmp LBB0_6 LBB0_4: movq _WUNTRACED@GOTPCREL(%rip), %rcx movq _WCONTINUED@GOTPCREL(%rip), %rdx movl (%rdx), %edx orl (%rcx), %edx leaq -12(%rbp), %rsi movl %eax, %edi callq _waitpid movl -12(%rbp), %edi callq _WIFEXITED testq %rax, %rax je LBB0_6 ## %bb.5: movl -12(%rbp), %edi callq _WEXITSTATUS jmp LBB0_7 LBB0_6: movl $-1, %eax LBB0_7: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "desktop-file-validate" .comm _WUNTRACED,4,2 ## @WUNTRACED .comm _WCONTINUED,4,2 ## @WCONTINUED L_str: ## @str .asciz "could not fork! " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _validate_desktop_file ; -- Begin function validate_desktop_file .p2align 2 _validate_desktop_file: ; @validate_desktop_file .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 bl _fork cbz w0, LBB0_3 ; %bb.1: cmn w0, #1 b.ne LBB0_4 ; %bb.2: Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #1 b LBB0_7 LBB0_3: Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF mov x1, x0 mov x2, x19 mov x3, #0 bl _execlp b LBB0_6 LBB0_4: Lloh4: adrp x8, _WUNTRACED@GOTPAGE Lloh5: ldr x8, [x8, _WUNTRACED@GOTPAGEOFF] Lloh6: ldr w8, [x8] Lloh7: adrp x9, _WCONTINUED@GOTPAGE Lloh8: ldr x9, [x9, _WCONTINUED@GOTPAGEOFF] Lloh9: ldr w9, [x9] orr w2, w9, w8 add x1, sp, #12 bl _waitpid ldr w0, [sp, #12] bl _WIFEXITED cbz x0, LBB0_6 ; %bb.5: ldr w0, [sp, #12] bl _WEXITSTATUS b LBB0_7 LBB0_6: mov w0, #-1 LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "desktop-file-validate" .comm _WUNTRACED,4,2 ; @WUNTRACED .comm _WCONTINUED,4,2 ; @WCONTINUED l_str: ; @str .asciz "could not fork! " .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetool.c_validate_desktop_file.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function die _die: ## @die .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rdx movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _fprintf movl $1, %edi callq _exit .cfi_endproc ## -- End function .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s\n" .no_dead_strip _die .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function die _die: ; @die .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 x2, x0 Lloh0: adrp x8, _stderr@GOTPAGE Lloh1: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _fprintf mov w0, #1 bl _exit .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s\n" .no_dead_strip _die .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetoolnoglib.c_die.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_directory ## -- Begin function is_directory .p2align 4, 0x90 _is_directory: ## @is_directory .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq -8(%rbp), %rsi callq _stat movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx jne LBB0_2 ## %bb.1: movl -8(%rbp), %edi callq _S_ISDIR LBB0_2: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_directory ; -- Begin function is_directory .p2align 2 _is_directory: ; @is_directory .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 add x1, sp, #8 bl _stat cbz x0, LBB0_2 ; %bb.1: mov w0, #0 b LBB0_3 LBB0_2: ldr w0, [sp, #8] bl _S_ISDIR LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetoolnoglib.c_is_directory.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_regular_file ## -- Begin function is_regular_file .p2align 4, 0x90 _is_regular_file: ## @is_regular_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq -8(%rbp), %rsi callq _stat movl -8(%rbp), %edi addq $16, %rsp popq %rbp jmp _S_ISREG ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_regular_file ; -- Begin function is_regular_file .p2align 2 _is_regular_file: ; @is_regular_file .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 add x1, sp, #8 bl _stat ldr w0, [sp, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 b _S_ISREG .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetoolnoglib.c_is_regular_file.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 $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movl %edi, %ebx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq -92(%rbp), %rdi callq _br_init testq %rax, %rax jne LBB0_2 ## %bb.1: movl -92(%rbp), %esi leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf LBB0_2: xorl %edi, %edi callq _br_find_exe_dir leaq L_.str.1(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movq $0, -88(%rbp) xorps %xmm0, %xmm0 movups %xmm0, -72(%rbp) movq _argp@GOTPCREL(%rip), %rdi leaq -88(%rbp), %r9 movl %ebx, %esi movq %r14, %rdx xorl %ecx, %ecx xorl %r8d, %r8d callq _argp_parse cmpq $0, -64(%rbp) jne LBB0_33 ## %bb.3: movq -88(%rbp), %rdx testq %rdx, %rdx je LBB0_5 ## %bb.4: movq _stdout@GOTPCREL(%rip), %rax movl (%rax), %edi movq -80(%rbp), %rax movq (%rax), %rcx leaq L_.str.2(%rip), %rsi xorl %eax, %eax callq _fprintf leaq L_.str.3(%rip), %rdi callq _die LBB0_5: cmpq $0, -72(%rbp) je LBB0_7 ## %bb.6: movq _stdout@GOTPCREL(%rip), %rax movl (%rax), %edi movq -80(%rbp), %rax movq (%rax), %rdx movq 8(%rax), %rcx leaq L_.str.4(%rip), %rsi xorl %eax, %eax callq _fprintf LBB0_7: movq -80(%rbp), %rax movq (%rax), %rdi callq _is_directory testq %rax, %rax je LBB0_29 ## %bb.8: movq %rsp, -112(%rbp) ## 8-byte Spill movq _PATH_MAX@GOTPCREL(%rip), %rax movl (%rax), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 movq -80(%rbp), %rax movq (%rax), %rdi movq %r12, %rsi callq _realpath movq -80(%rbp), %rax movq 8(%rax), %r15 testq %r15, %r15 jne LBB0_10 ## %bb.9: leaq L_.str.5(%rip), %rsi movq %r12, %rdi callq _br_strcat movq %rax, %rdi callq _basename movq %rax, %r15 movq _stdout@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.6(%rip), %rsi movq %r15, %rdx xorl %eax, %eax callq _fprintf movq -80(%rbp), %rax LBB0_10: movq _stdout@GOTPCREL(%rip), %rcx movl (%rcx), %edi movq (%rax), %rdx leaq L_.str.7(%rip), %rsi movq %r15, %rcx xorl %eax, %eax callq _fprintf movq _stderr@GOTPCREL(%rip), %r14 movl (%r14), %edi leaq L_.str.8(%rip), %rsi xorl %eax, %eax callq _fprintf leaq L_.str.9(%rip), %rsi movq %r15, %rdi callq _br_strcat movq %rax, %rbx movq %r12, %rdi movq %rax, %rsi callq _sfs_mksquashfs testl %eax, %eax je LBB0_12 ## %bb.11: leaq L_.str.10(%rip), %rdi callq _die LBB0_12: movl (%r14), %edi leaq L_.str.11(%rip), %rsi xorl %eax, %eax callq _fprintf leaq L_.str.12(%rip), %rsi movq %rbx, -104(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _fopen movq %rax, %rbx testq %rax, %rax jne LBB0_14 ## %bb.13: leaq L_.str.13(%rip), %rdi callq _die LBB0_14: leaq L_.str.14(%rip), %rsi movq %r15, %rdi callq _fopen movq %rax, %r12 testq %rax, %rax jne LBB0_16 ## %bb.15: leaq L_.str.15(%rip), %rdi callq _die LBB0_16: movq _runtime_len@GOTPCREL(%rip), %rax movl (%rax), %r13d movq _runtime@GOTPCREL(%rip), %rax movq (%rax), %r14 cmpq $0, -72(%rbp) je LBB0_18 ## %bb.17: leaq L_.str.16(%rip), %rdi movl %r13d, %esi xorl %eax, %eax callq _printf LBB0_18: cmpl $114687, %r13d ## imm = 0x1BFFF jl LBB0_20 ## %bb.19: leaq L_.str.17(%rip), %rdi callq _die LBB0_20: movq %r14, %rdi movl %r13d, %esi movl $1, %edx movq %r12, %rcx callq _fwrite movq %r12, %rdi callq _fileno movl %eax, %edi movl $131072, %esi ## imm = 0x20000 callq _ftruncate testq %rax, %rax je LBB0_22 ## %bb.21: leaq L_.str.18(%rip), %rdi callq _die LBB0_22: movq _SEEK_END@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rdi xorl %esi, %esi callq _fseek movq %rbx, %rdi callq _feof testl %eax, %eax jne LBB0_25 ## %bb.23: leaq -49(%rbp), %r14 .p2align 4, 0x90 LBB0_24: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movl $1, %esi movl $1, %edx movq %rbx, %rcx callq _fread movsbl -49(%rbp), %edi movq %r12, %rsi callq _fputc movq %rbx, %rdi callq _feof testl %eax, %eax je LBB0_24 LBB0_25: movq %rbx, %rdi callq _fclose movq %r12, %rdi callq _fclose movq _stderr@GOTPCREL(%rip), %rbx movl (%rbx), %edi leaq L_.str.19(%rip), %rsi xorl %eax, %eax callq _fprintf movq %r15, %rdi movl $493, %esi ## imm = 0x1ED callq _chmod testq %rax, %rax js LBB0_34 ## %bb.26: movq -104(%rbp), %rdi ## 8-byte Reload callq _unlink testq %rax, %rax je LBB0_28 ## %bb.27: leaq L_.str.21(%rip), %rdi callq _die LBB0_28: movl (%rbx), %edi leaq L_.str.22(%rip), %rsi xorl %eax, %eax callq _fprintf movq -112(%rbp), %rsp ## 8-byte Reload LBB0_29: movq -80(%rbp), %rax movq (%rax), %rdi callq _is_regular_file testq %rax, %rax je LBB0_31 ## %bb.30: movq _stdout@GOTPCREL(%rip), %rax movl (%rax), %edi movq -80(%rbp), %rax movq (%rax), %rdx leaq L_.str.23(%rip), %rsi xorl %eax, %eax callq _fprintf leaq L_.str.3(%rip), %rdi callq _die LBB0_31: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_35 ## %bb.32: xorl %eax, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_33: movq -80(%rbp), %rax movq (%rax), %rdi callq _sfs_ls xorl %edi, %edi callq _exit LBB0_35: callq ___stack_chk_fail LBB0_34: leaq L_str(%rip), %rdi callq _puts movl $1, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Warning: binreloc failed to initialize (error code %d)\n" L_.str.1: ## @.str.1 .asciz "This tool is located at %s\n" .comm _argp,4,2 ## @argp .comm _stdout,4,2 ## @stdout L_.str.2: ## @.str.2 .asciz "%s from the AppImage %s should be dumped to stdout\n" L_.str.3: ## @.str.3 .asciz "To be implemented" L_.str.4: ## @.str.4 .asciz "Original SOURCE = %s\nOriginal DESTINATION = %s\n" .comm _PATH_MAX,4,2 ## @PATH_MAX L_.str.5: ## @.str.5 .asciz ".AppImage" L_.str.6: ## @.str.6 .asciz "DESTINATION not specified, so assuming %s\n" L_.str.7: ## @.str.7 .asciz "%s should be packaged as %s\n" .comm _stderr,4,2 ## @stderr L_.str.8: ## @.str.8 .asciz "Generating squashfs...\n" L_.str.9: ## @.str.9 .asciz ".temp" L_.str.10: ## @.str.10 .asciz "sfs_mksquashfs error" L_.str.11: ## @.str.11 .asciz "Generating AppImage...\n" L_.str.12: ## @.str.12 .asciz "rb" L_.str.13: ## @.str.13 .asciz "Not able to open the tempfile for reading, aborting" L_.str.14: ## @.str.14 .asciz "w" L_.str.15: ## @.str.15 .asciz "Not able to open the destination file for writing, aborting" .comm _runtime_len,4,2 ## @runtime_len .comm _runtime,8,3 ## @runtime L_.str.16: ## @.str.16 .asciz "Size of the embedded runtime: %d bytes\n" L_.str.17: ## @.str.17 .asciz "Size of the embedded runtime is too large, aborting" L_.str.18: ## @.str.18 .asciz "Not able to write padding to destination file, aborting" .comm _SEEK_END,4,2 ## @SEEK_END L_.str.19: ## @.str.19 .asciz "Marking the AppImage as executable...\n" L_.str.21: ## @.str.21 .asciz "Could not delete the tempfile, aborting" L_.str.22: ## @.str.22 .asciz "Success\n" L_.str.23: ## @.str.23 .asciz "%s is a file, assuming it is an AppImage and should be unpacked\n" L_str: ## @str .asciz "Could not set executable bit, aborting" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #64 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] sub x0, x29, #92 bl _br_init cbnz x0, LBB0_2 ; %bb.1: ldur w8, [x29, #-92] str x8, [sp, #-16]! Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf add sp, sp, #16 LBB0_2: mov x0, #0 bl _br_find_exe_dir str x0, [sp, #-16]! Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _printf add sp, sp, #16 stp xzr, xzr, [x29, #-112] stur xzr, [x29, #-128] Lloh7: adrp x0, _argp@GOTPAGE Lloh8: ldr x0, [x0, _argp@GOTPAGEOFF] sub x5, x29, #128 mov x1, x20 mov x2, x19 mov w3, #0 mov w4, #0 bl _argp_parse ldur x8, [x29, #-104] cbnz x8, LBB0_33 ; %bb.3: ldur x8, [x29, #-128] Lloh9: adrp x25, _stdout@GOTPAGE Lloh10: ldr x25, [x25, _stdout@GOTPAGEOFF] cbz x8, LBB0_5 ; %bb.4: ldr w0, [x25] ldur x9, [x29, #-120] ldr x9, [x9] stp x8, x9, [sp, #-16]! Lloh11: adrp x1, l_.str.2@PAGE Lloh12: add x1, x1, l_.str.2@PAGEOFF bl _fprintf add sp, sp, #16 Lloh13: adrp x0, l_.str.3@PAGE Lloh14: add x0, x0, l_.str.3@PAGEOFF bl _die LBB0_5: ldur x8, [x29, #-112] cbz x8, LBB0_7 ; %bb.6: ldr w0, [x25] ldur x8, [x29, #-120] ldp x9, x8, [x8] stp x9, x8, [sp, #-16]! Lloh15: adrp x1, l_.str.4@PAGE Lloh16: add x1, x1, l_.str.4@PAGEOFF bl _fprintf add sp, sp, #16 LBB0_7: ldur x8, [x29, #-120] ldr x0, [x8] bl _is_directory cbz x0, LBB0_29 ; %bb.8: mov x26, sp Lloh17: adrp x8, _PATH_MAX@GOTPAGE Lloh18: ldr x8, [x8, _PATH_MAX@GOTPAGEOFF] Lloh19: ldr w8, [x8] mov x9, x8 Lloh20: adrp x16, ___chkstk_darwin@GOTPAGE Lloh21: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x1fffffff0 sub x21, x9, x8 mov sp, x21 ldur x8, [x29, #-120] ldr x0, [x8] mov x1, x21 bl _realpath ldur x8, [x29, #-120] ldr x19, [x8, #8] cbnz x19, LBB0_10 ; %bb.9: Lloh22: adrp x1, l_.str.5@PAGE Lloh23: add x1, x1, l_.str.5@PAGEOFF mov x0, x21 bl _br_strcat bl _basename mov x19, x0 ldr w0, [x25] str x19, [sp, #-16]! Lloh24: adrp x1, l_.str.6@PAGE Lloh25: add x1, x1, l_.str.6@PAGEOFF bl _fprintf add sp, sp, #16 ldur x8, [x29, #-120] LBB0_10: ldr w0, [x25] ldr x8, [x8] stp x8, x19, [sp, #-16]! Lloh26: adrp x1, l_.str.7@PAGE Lloh27: add x1, x1, l_.str.7@PAGEOFF bl _fprintf add sp, sp, #16 Lloh28: adrp x27, _stderr@GOTPAGE Lloh29: ldr x27, [x27, _stderr@GOTPAGEOFF] ldr w0, [x27] Lloh30: adrp x1, l_.str.8@PAGE Lloh31: add x1, x1, l_.str.8@PAGEOFF bl _fprintf Lloh32: adrp x1, l_.str.9@PAGE Lloh33: add x1, x1, l_.str.9@PAGEOFF mov x0, x19 bl _br_strcat mov x20, x0 mov x0, x21 mov x1, x20 bl _sfs_mksquashfs cbz w0, LBB0_12 ; %bb.11: Lloh34: adrp x0, l_.str.10@PAGE Lloh35: add x0, x0, l_.str.10@PAGEOFF bl _die LBB0_12: ldr w0, [x27] Lloh36: adrp x1, l_.str.11@PAGE Lloh37: add x1, x1, l_.str.11@PAGEOFF bl _fprintf Lloh38: adrp x1, l_.str.12@PAGE Lloh39: add x1, x1, l_.str.12@PAGEOFF mov x0, x20 bl _fopen mov x21, x0 cbnz x0, LBB0_14 ; %bb.13: Lloh40: adrp x0, l_.str.13@PAGE Lloh41: add x0, x0, l_.str.13@PAGEOFF bl _die LBB0_14: Lloh42: adrp x1, l_.str.14@PAGE Lloh43: add x1, x1, l_.str.14@PAGEOFF mov x0, x19 bl _fopen mov x22, x0 cbnz x0, LBB0_16 ; %bb.15: Lloh44: adrp x0, l_.str.15@PAGE Lloh45: add x0, x0, l_.str.15@PAGEOFF bl _die LBB0_16: Lloh46: adrp x8, _runtime_len@GOTPAGE Lloh47: ldr x8, [x8, _runtime_len@GOTPAGEOFF] Lloh48: ldr w23, [x8] Lloh49: adrp x8, _runtime@GOTPAGE Lloh50: ldr x8, [x8, _runtime@GOTPAGEOFF] Lloh51: ldr x24, [x8] ldur x8, [x29, #-112] cbz x8, LBB0_18 ; %bb.17: str x23, [sp, #-16]! Lloh52: adrp x0, l_.str.16@PAGE Lloh53: add x0, x0, l_.str.16@PAGEOFF bl _printf add sp, sp, #16 LBB0_18: mov w8, #49151 movk w8, #1, lsl #16 cmp w23, w8 b.lt LBB0_20 ; %bb.19: Lloh54: adrp x0, l_.str.17@PAGE Lloh55: add x0, x0, l_.str.17@PAGEOFF bl _die LBB0_20: mov x0, x24 mov x1, x23 mov w2, #1 mov x3, x22 bl _fwrite mov x0, x22 bl _fileno mov w1, #131072 bl _ftruncate cbz x0, LBB0_22 ; %bb.21: Lloh56: adrp x0, l_.str.18@PAGE Lloh57: add x0, x0, l_.str.18@PAGEOFF bl _die LBB0_22: Lloh58: adrp x8, _SEEK_END@GOTPAGE Lloh59: ldr x8, [x8, _SEEK_END@GOTPAGEOFF] Lloh60: ldr w2, [x8] mov x0, x22 mov w1, #0 bl _fseek LBB0_23: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _feof cbnz w0, LBB0_25 ; %bb.24: ; in Loop: Header=BB0_23 Depth=1 sub x0, x29, #129 mov w1, #1 mov w2, #1 mov x3, x21 bl _fread ldursb w0, [x29, #-129] mov x1, x22 bl _fputc b LBB0_23 LBB0_25: mov x0, x21 bl _fclose mov x0, x22 bl _fclose ldr w0, [x27] Lloh61: adrp x1, l_.str.19@PAGE Lloh62: add x1, x1, l_.str.19@PAGEOFF bl _fprintf mov x0, x19 mov w1, #493 bl _chmod tbnz x0, #63, LBB0_35 ; %bb.26: mov x0, x20 bl _unlink cbz x0, LBB0_28 ; %bb.27: Lloh63: adrp x0, l_.str.21@PAGE Lloh64: add x0, x0, l_.str.21@PAGEOFF bl _die LBB0_28: ldr w0, [x27] Lloh65: adrp x1, l_.str.22@PAGE Lloh66: add x1, x1, l_.str.22@PAGEOFF bl _fprintf mov sp, x26 LBB0_29: ldur x8, [x29, #-120] ldr x0, [x8] bl _is_regular_file cbz x0, LBB0_31 ; %bb.30: ldr w0, [x25] ldur x8, [x29, #-120] ldr x8, [x8] str x8, [sp, #-16]! Lloh67: adrp x1, l_.str.23@PAGE Lloh68: add x1, x1, l_.str.23@PAGEOFF bl _fprintf add sp, sp, #16 Lloh69: adrp x0, l_.str.3@PAGE Lloh70: add x0, x0, l_.str.3@PAGEOFF bl _die LBB0_31: ldur x8, [x29, #-88] Lloh71: adrp x9, ___stack_chk_guard@GOTPAGE Lloh72: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh73: ldr x9, [x9] cmp x9, x8 b.ne LBB0_34 ; %bb.32: mov w0, #0 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_33: ldur x8, [x29, #-120] ldr x0, [x8] bl _sfs_ls mov w0, #0 bl _exit LBB0_34: bl ___stack_chk_fail LBB0_35: Lloh74: adrp x0, l_str@PAGE Lloh75: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #1 bl _exit .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpAdd Lloh61, Lloh62 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpAdd Lloh69, Lloh70 .loh AdrpAdd Lloh67, Lloh68 .loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73 .loh AdrpAdd Lloh74, Lloh75 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Warning: binreloc failed to initialize (error code %d)\n" l_.str.1: ; @.str.1 .asciz "This tool is located at %s\n" .comm _argp,4,2 ; @argp .comm _stdout,4,2 ; @stdout l_.str.2: ; @.str.2 .asciz "%s from the AppImage %s should be dumped to stdout\n" l_.str.3: ; @.str.3 .asciz "To be implemented" l_.str.4: ; @.str.4 .asciz "Original SOURCE = %s\nOriginal DESTINATION = %s\n" .comm _PATH_MAX,4,2 ; @PATH_MAX l_.str.5: ; @.str.5 .asciz ".AppImage" l_.str.6: ; @.str.6 .asciz "DESTINATION not specified, so assuming %s\n" l_.str.7: ; @.str.7 .asciz "%s should be packaged as %s\n" .comm _stderr,4,2 ; @stderr l_.str.8: ; @.str.8 .asciz "Generating squashfs...\n" l_.str.9: ; @.str.9 .asciz ".temp" l_.str.10: ; @.str.10 .asciz "sfs_mksquashfs error" l_.str.11: ; @.str.11 .asciz "Generating AppImage...\n" l_.str.12: ; @.str.12 .asciz "rb" l_.str.13: ; @.str.13 .asciz "Not able to open the tempfile for reading, aborting" l_.str.14: ; @.str.14 .asciz "w" l_.str.15: ; @.str.15 .asciz "Not able to open the destination file for writing, aborting" .comm _runtime_len,4,2 ; @runtime_len .comm _runtime,8,3 ; @runtime l_.str.16: ; @.str.16 .asciz "Size of the embedded runtime: %d bytes\n" l_.str.17: ; @.str.17 .asciz "Size of the embedded runtime is too large, aborting" l_.str.18: ; @.str.18 .asciz "Not able to write padding to destination file, aborting" .comm _SEEK_END,4,2 ; @SEEK_END l_.str.19: ; @.str.19 .asciz "Marking the AppImage as executable...\n" l_.str.21: ; @.str.21 .asciz "Could not delete the tempfile, aborting" l_.str.22: ; @.str.22 .asciz "Success\n" l_.str.23: ; @.str.23 .asciz "%s is a file, assuming it is an AppImage and should be unpacked\n" l_str: ; @str .asciz "Could not set executable bit, aborting" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetoolnoglib.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function parse_opt _parse_opt: ## @parse_opt .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 ## kill: def $edi killed $edi def $rdi addl $-100, %edi cmpl $29, %edi ja LBB0_3 ## %bb.1: movq %rdx, %rbx movq %rsi, %r14 movq 8(%rdx), %r15 leaq LJTI0_0(%rip), %rax movslq (%rax,%rdi,4), %rcx addq %rax, %rcx jmpq *%rcx LBB0_2: movq %r14, 8(%r15) jmp LBB0_11 LBB0_3: movq _ARGP_ERR_UNKNOWN@GOTPCREL(%rip), %rax movl (%rax), %r14d jmp LBB0_12 LBB0_4: movl $1, 4(%r15) jmp LBB0_11 LBB0_5: movl $1, (%r15) jmp LBB0_11 LBB0_6: xorl %r14d, %r14d cmpl $0, (%rbx) jg LBB0_12 ## %bb.7: movq %rbx, %rdi callq _argp_usage jmp LBB0_12 LBB0_8: movl (%rbx), %eax cmpl $3, %eax jl LBB0_10 ## %bb.9: movq %rbx, %rdi callq _argp_usage movl (%rbx), %eax LBB0_10: movq 16(%r15), %rcx cltq movq %r14, (%rcx,%rax,8) LBB0_11: xorl %r14d, %r14d LBB0_12: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 LJTI0_0: .long L0_0_set_2 .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_3 .long L0_0_set_3 .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_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_5 .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_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_6 .long L0_0_set_8 .end_data_region ## -- End function .comm _ARGP_ERR_UNKNOWN,4,2 ## @ARGP_ERR_UNKNOWN .no_dead_strip _parse_opt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function parse_opt _parse_opt: ; @parse_opt .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 sub w8, w0, #100 cmp w8, #29 b.hi LBB0_3 ; %bb.1: mov x20, x2 mov x19, x1 ldr x21, [x2, #8] 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: mov w0, #0 str x19, [x21, #8] b LBB0_12 LBB0_3: Lloh2: adrp x8, _ARGP_ERR_UNKNOWN@GOTPAGE Lloh3: ldr x8, [x8, _ARGP_ERR_UNKNOWN@GOTPAGEOFF] Lloh4: ldr w0, [x8] b LBB0_12 LBB0_4: mov w0, #0 mov w8, #1 str w8, [x21, #4] b LBB0_12 LBB0_5: mov w0, #0 mov w8, #1 str w8, [x21] b LBB0_12 LBB0_6: ldr w8, [x20] cmp w8, #0 b.gt LBB0_8 ; %bb.7: mov x0, x20 bl _argp_usage LBB0_8: mov w0, #0 b LBB0_12 LBB0_9: ldr w8, [x20] cmp w8, #3 b.lt LBB0_11 ; %bb.10: mov x0, x20 bl _argp_usage ldr w8, [x20] LBB0_11: mov w0, #0 ldr x9, [x21, #16] str x19, [x9, w8, sxtw #3] LBB0_12: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_9-LBB0_2)>>2 ; -- End function .comm _ARGP_ERR_UNKNOWN,4,2 ; @ARGP_ERR_UNKNOWN .no_dead_strip _parse_opt .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetoolnoglib.c_parse_opt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sfs_ls ## -- Begin function sfs_ls .p2align 4, 0x90 _sfs_ls: ## @sfs_ls .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, %rsi leaq -32(%rbp), %rdi xorl %edx, %edx callq _sqfs_open_image testq %rax, %rax je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _die LBB0_2: leaq -32(%rbp), %rbx movq %rbx, %rdi callq _sqfs_inode_root leaq -56(%rbp), %rdi movq %rbx, %rsi movl %eax, %edx callq _sqfs_traverse_open movq %rax, -40(%rbp) testq %rax, %rax je LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rdi callq _die LBB0_4: leaq -56(%rbp), %rdi leaq -40(%rbp), %rsi callq _sqfs_traverse_next testq %rax, %rax je LBB0_9 ## %bb.5: leaq L_.str.2(%rip), %r14 leaq -56(%rbp), %r15 leaq -40(%rbp), %rbx jmp LBB0_6 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_6 Depth=1 movq %r15, %rdi movq %rbx, %rsi callq _sqfs_traverse_next testq %rax, %rax je LBB0_9 LBB0_6: ## =>This Inner Loop Header: Depth=1 cmpl $0, -48(%rbp) jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movq -56(%rbp), %rsi movq %r14, %rdi callq _printf jmp LBB0_8 LBB0_9: cmpq $0, -40(%rbp) je LBB0_11 ## %bb.10: leaq L_.str.3(%rip), %rdi callq _die LBB0_11: leaq -56(%rbp), %rdi callq _sqfs_traverse_close movl -32(%rbp), %edi callq _sqfs_fd_close xorl %eax, %eax addq $40, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SQFS_OK,8,3 ## @SQFS_OK .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sqfs_open_image error" L_.str.1: ## @.str.1 .asciz "sqfs_traverse_open error" L_.str.2: ## @.str.2 .asciz "%s\n" L_.str.3: ## @.str.3 .asciz "sqfs_traverse_next error" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sfs_ls ; -- Begin function sfs_ls .p2align 2 _sfs_ls: ; @sfs_ls .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x1, x0 mov x0, sp mov w2, #0 bl _sqfs_open_image cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _die LBB0_2: mov x0, sp bl _sqfs_inode_root mov x2, x0 add x0, sp, #8 mov x1, sp bl _sqfs_traverse_open str x0, [sp, #24] cbz x0, LBB0_4 ; %bb.3: Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _die LBB0_4: add x0, sp, #8 add x1, sp, #24 bl _sqfs_traverse_next cbz x0, LBB0_9 ; %bb.5: Lloh4: adrp x19, l_.str.2@PAGE Lloh5: add x19, x19, l_.str.2@PAGEOFF b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add x0, sp, #8 add x1, sp, #24 bl _sqfs_traverse_next cbz x0, LBB0_9 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] cbnz w8, LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 ldr x1, [sp, #8] mov x0, x19 bl _printf b LBB0_6 LBB0_9: ldr x8, [sp, #24] cbz x8, LBB0_11 ; %bb.10: Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _die LBB0_11: add x0, sp, #8 bl _sqfs_traverse_close ldr w0, [sp] bl _sqfs_fd_close mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _SQFS_OK,8,3 ; @SQFS_OK .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sqfs_open_image error" l_.str.1: ; @.str.1 .asciz "sqfs_traverse_open error" l_.str.2: ; @.str.2 .asciz "%s\n" l_.str.3: ; @.str.3 .asciz "sqfs_traverse_next error" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetoolnoglib.c_sfs_ls.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sfs_mksquashfs ## -- Begin function sfs_mksquashfs .p2align 4, 0x90 _sfs_mksquashfs: ## @sfs_mksquashfs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 xorl %eax, %eax callq _getpid xorl %eax, %eax callq _fork movl $-1, %ebx cmpl $-1, %eax je LBB0_4 ## %bb.1: testl %eax, %eax jle LBB0_3 ## %bb.2: leaq -28(%rbp), %rsi xorl %ebx, %ebx movl %eax, %edi xorl %edx, %edx callq _waitpid LBB0_4: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_3: movq %r15, %rdi movq %r14, %rsi callq _sfs_mksquashfs.cold.1 jmp LBB0_4 .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function sfs_mksquashfs.cold.1 _sfs_mksquashfs.cold.1: ## @sfs_mksquashfs.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rsi, %rcx movq %rdi, %rdx andq $0, (%rsp) leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %r8 leaq L_.str.2(%rip), %r9 movq %rdi, %rsi callq _execlp leaq L_.str.3(%rip), %rdi addq $16, %rsp popq %rbp jmp _perror ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "mksquashfs" L_.str.1: ## @.str.1 .asciz "-root-owned" L_.str.2: ## @.str.2 .asciz "-noappend" L_.str.3: ## @.str.3 .asciz "execlp" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sfs_mksquashfs ; -- Begin function sfs_mksquashfs .p2align 2 _sfs_mksquashfs: ; @sfs_mksquashfs .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _getpid bl _fork cmn w0, #1 b.eq LBB0_3 ; %bb.1: cmp w0, #1 b.lt LBB0_4 ; %bb.2: add x1, sp, #12 mov w2, #0 bl _waitpid mov w0, #0 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: mov x0, x20 mov x1, x19 bl _sfs_mksquashfs.cold.1 mov w0, #-1 b LBB0_3 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function sfs_mksquashfs.cold.1 _sfs_mksquashfs.cold.1: ; @sfs_mksquashfs.cold.1 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x3, x1 mov x2, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF Lloh2: adrp x4, l_.str.1@PAGE Lloh3: add x4, x4, l_.str.1@PAGEOFF Lloh4: adrp x5, l_.str.2@PAGE Lloh5: add x5, x5, l_.str.2@PAGEOFF mov x1, x0 mov x6, #0 bl _execlp Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _perror .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "mksquashfs" l_.str.1: ; @.str.1 .asciz "-root-owned" l_.str.2: ; @.str.2 .asciz "-noappend" l_.str.3: ; @.str.3 .asciz "execlp" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_appimagetoolnoglib.c_sfs_mksquashfs.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _br_find_exe __br_find_exe: ## @_br_find_exe .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_2 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _BR_INIT_ERROR_DISABLED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rdi) popq %rbp LBB0_2: xorl %eax, %eax retq .cfi_endproc ## -- End function .comm _BR_INIT_ERROR_DISABLED,4,2 ## @BR_INIT_ERROR_DISABLED .comm _BR_INIT_ERROR_INVALID_MAPS,4,2 ## @BR_INIT_ERROR_INVALID_MAPS .comm _BR_INIT_ERROR_NOMEM,4,2 ## @BR_INIT_ERROR_NOMEM .comm _BR_INIT_ERROR_OPEN_MAPS,4,2 ## @BR_INIT_ERROR_OPEN_MAPS .comm _BR_INIT_ERROR_READ_MAPS,4,2 ## @BR_INIT_ERROR_READ_MAPS .comm _PATH_MAX,4,2 ## @PATH_MAX .comm _SSIZE_MAX,4,2 ## @SSIZE_MAX .no_dead_strip __br_find_exe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _br_find_exe __br_find_exe: ; @_br_find_exe .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _BR_INIT_ERROR_DISABLED@GOTPAGE Lloh1: ldr x8, [x8, _BR_INIT_ERROR_DISABLED@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x0] LBB0_2: mov x0, #0 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _BR_INIT_ERROR_DISABLED,4,2 ; @BR_INIT_ERROR_DISABLED .comm _BR_INIT_ERROR_INVALID_MAPS,4,2 ; @BR_INIT_ERROR_INVALID_MAPS .comm _BR_INIT_ERROR_NOMEM,4,2 ; @BR_INIT_ERROR_NOMEM .comm _BR_INIT_ERROR_OPEN_MAPS,4,2 ; @BR_INIT_ERROR_OPEN_MAPS .comm _BR_INIT_ERROR_READ_MAPS,4,2 ; @BR_INIT_ERROR_READ_MAPS .comm _PATH_MAX,4,2 ; @PATH_MAX .comm _SSIZE_MAX,4,2 ; @SSIZE_MAX .no_dead_strip __br_find_exe .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c__br_find_exe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _br_find_exe_for_symbol __br_find_exe_for_symbol: ## @_br_find_exe_for_symbol .cfi_startproc ## %bb.0: testq %rsi, %rsi je LBB0_2 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _BR_INIT_ERROR_DISABLED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rsi) popq %rbp LBB0_2: xorl %eax, %eax retq .cfi_endproc ## -- End function .comm _BR_INIT_ERROR_DISABLED,4,2 ## @BR_INIT_ERROR_DISABLED .comm _SIZE,4,2 ## @SIZE .no_dead_strip __br_find_exe_for_symbol .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _br_find_exe_for_symbol __br_find_exe_for_symbol: ; @_br_find_exe_for_symbol .cfi_startproc ; %bb.0: cbz x1, LBB0_2 ; %bb.1: Lloh0: adrp x8, _BR_INIT_ERROR_DISABLED@GOTPAGE Lloh1: ldr x8, [x8, _BR_INIT_ERROR_DISABLED@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x1] LBB0_2: mov x0, #0 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _BR_INIT_ERROR_DISABLED,4,2 ; @BR_INIT_ERROR_DISABLED .comm _SIZE,4,2 ; @SIZE .no_dead_strip __br_find_exe_for_symbol .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c__br_find_exe_for_symbol.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function br_strndup _br_strndup: ## @br_strndup .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 testq %rdi, %rdi je LBB0_1 ## %bb.2: movq %rsi, %r14 movq %rdi, %rbx callq _strlen testq %rax, %rax je LBB0_5 ## %bb.3: cmpq %r14, %rax cmovbq %rax, %r14 incq %rax movq %rax, %rdi callq _malloc movq %rax, %r15 movq %rax, %rdi movq %rbx, %rsi movq %r14, %rdx callq _memcpy movb $0, (%r15,%r14) jmp LBB0_4 LBB0_1: xorl %r15d, %r15d LBB0_4: movq %r15, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_5: leaq L_.str(%rip), %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _strdup ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 .no_dead_strip _br_strndup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function br_strndup _br_strndup: ; @br_strndup .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz x0, LBB0_3 ; %bb.1: mov x20, x1 mov x19, x0 bl _strlen cbz x0, LBB0_5 ; %bb.2: cmp x0, x20 csel x21, x0, x20, lo add x0, x0, #1 bl _malloc mov x20, x0 mov x1, x19 mov x2, x21 bl _memcpy strb wzr, [x20, x21] b LBB0_4 LBB0_3: mov x20, #0 LBB0_4: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_5: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF 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 _strdup .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 .no_dead_strip _br_strndup .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_br_strndup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_build_path ## -- Begin function br_build_path .p2align 4, 0x90 _br_build_path: ## @br_build_path .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx callq _strlen testq %rax, %rax je LBB0_3 ## %bb.1: cmpb $47, -1(%rax,%rbx) jne LBB0_2 LBB0_3: movq %rbx, %rdi movq %r14, %rsi popq %rbx popq %r14 popq %rbp jmp _br_strcat ## TAILCALL LBB0_2: leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _br_strcat movq %rax, %rbx movq %rax, %rdi movq %r14, %rsi callq _br_strcat movq %rax, %r14 movq %rbx, %rdi callq _free movq %r14, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_build_path ; -- Begin function br_build_path .p2align 2 _br_build_path: ; @br_build_path .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _strlen cbz x0, LBB0_2 ; %bb.1: add x8, x0, x20 ldurb w8, [x8, #-1] cmp w8, #47 b.ne LBB0_3 LBB0_2: mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _br_strcat LBB0_3: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _br_strcat mov x20, x0 mov x1, x19 bl _br_strcat mov x19, x0 mov x0, x20 bl _free mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_dJyi14798182285183_br_build_path.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_dirname ## -- Begin function br_dirname .p2align 4, 0x90 _br_dirname: ## @br_dirname .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_1 ## %bb.3: movq %rdi, %rbx movl $47, %esi callq _strrchr testq %rax, %rax je LBB0_4 ## %bb.5: cmpq %rbx, %rax jbe LBB0_9 .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 cmpb $47, (%rax) jne LBB0_9 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 decq %rax cmpq %rbx, %rax ja LBB0_6 ## %bb.8: movq %rbx, %rax LBB0_9: subl %ebx, %eax incl %eax movq %rbx, %rdi movl %eax, %esi callq _br_strndup cmpb $0, (%rax) jne LBB0_2 ## %bb.10: movq %rax, %rdi callq _free leaq L_.str.1(%rip), %rdi jmp LBB0_11 LBB0_1: xorl %eax, %eax LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq LBB0_4: leaq L_.str(%rip), %rdi LBB0_11: addq $8, %rsp popq %rbx popq %rbp jmp _strdup ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "." L_.str.1: ## @.str.1 .asciz "/" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_dirname ; -- Begin function br_dirname .p2align 2 _br_dirname: ; @br_dirname .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_7 ; %bb.1: mov x19, x0 mov w1, #47 bl _strrchr cbz x0, LBB0_8 ; %bb.2: cmp x0, x19 b.ls LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x0] cmp w8, #47 b.ne LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 sub x0, x0, #1 cmp x0, x19 b.hi LBB0_3 ; %bb.5: mov x0, x19 LBB0_6: sub w8, w0, w19 add w1, w8, #1 mov x0, x19 bl _br_strndup ldrb w8, [x0] cbz w8, LBB0_9 LBB0_7: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_8: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF b LBB0_10 LBB0_9: bl _free Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF LBB0_10: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _strdup .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "." l_.str.1: ; @.str.1 .asciz "/" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_dJyi14798182285183_br_dirname.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_bin_dir ## -- Begin function br_find_bin_dir .p2align 4, 0x90 _br_find_bin_dir: ## @br_find_bin_dir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 xorl %edi, %edi callq _br_find_prefix testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %rbx leaq L_.str(%rip), %rsi movq %rax, %rdi callq _br_build_path movq %rax, %r14 movq %rbx, %rdi callq _free movq %r14, %rax LBB0_5: popq %rbx popq %r14 popq %rbp retq LBB0_1: testq %r14, %r14 je LBB0_4 ## %bb.2: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _strdup ## TAILCALL LBB0_4: xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "bin" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_bin_dir ; -- Begin function br_find_bin_dir .p2align 2 _br_find_bin_dir: ; @br_find_bin_dir .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, #0 bl _br_find_prefix cbz x0, LBB0_3 ; %bb.1: mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _br_build_path mov x19, x0 mov x0, x20 bl _free mov x0, x19 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: cbz x19, LBB0_5 ; %bb.4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _strdup LBB0_5: mov x0, #0 b LBB0_2 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "bin" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_dJyi14798182285183_br_find_bin_dir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_data_dir ## -- Begin function br_find_data_dir .p2align 4, 0x90 _br_find_data_dir: ## @br_find_data_dir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 xorl %edi, %edi callq _br_find_prefix testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %rbx leaq L_.str(%rip), %rsi movq %rax, %rdi callq _br_build_path movq %rax, %r14 movq %rbx, %rdi callq _free movq %r14, %rax LBB0_5: popq %rbx popq %r14 popq %rbp retq LBB0_1: testq %r14, %r14 je LBB0_4 ## %bb.2: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _strdup ## TAILCALL LBB0_4: xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "share" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_data_dir ; -- Begin function br_find_data_dir .p2align 2 _br_find_data_dir: ; @br_find_data_dir .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, #0 bl _br_find_prefix cbz x0, LBB0_3 ; %bb.1: mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _br_build_path mov x19, x0 mov x0, x20 bl _free mov x0, x19 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: cbz x19, LBB0_5 ; %bb.4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _strdup LBB0_5: mov x0, #0 b LBB0_2 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "share" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_dJyi14798182285183_br_find_data_dir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_etc_dir ## -- Begin function br_find_etc_dir .p2align 4, 0x90 _br_find_etc_dir: ## @br_find_etc_dir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 xorl %edi, %edi callq _br_find_prefix testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %rbx leaq L_.str(%rip), %rsi movq %rax, %rdi callq _br_build_path movq %rax, %r14 movq %rbx, %rdi callq _free movq %r14, %rax LBB0_5: popq %rbx popq %r14 popq %rbp retq LBB0_1: testq %r14, %r14 je LBB0_4 ## %bb.2: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _strdup ## TAILCALL LBB0_4: xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "etc" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_etc_dir ; -- Begin function br_find_etc_dir .p2align 2 _br_find_etc_dir: ; @br_find_etc_dir .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, #0 bl _br_find_prefix cbz x0, LBB0_3 ; %bb.1: mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _br_build_path mov x19, x0 mov x0, x20 bl _free mov x0, x19 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: cbz x19, LBB0_5 ; %bb.4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _strdup LBB0_5: mov x0, #0 b LBB0_2 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "etc" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_dJyi14798182285183_br_find_etc_dir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_exe ## -- Begin function br_find_exe .p2align 4, 0x90 _br_find_exe: ## @br_find_exe .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 _exe@GOTPCREL(%rip), %rcx movq (%rcx), %rdi testq %rdi, %rdi jne LBB0_3 ## %bb.1: movq %rax, %rdi testq %rax, %rax je LBB0_2 LBB0_3: popq %rbp jmp _strdup ## TAILCALL LBB0_2: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _exe,8,3 ## @exe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_exe ; -- Begin function br_find_exe .p2align 2 _br_find_exe: ; @br_find_exe .cfi_startproc ; %bb.0: mov x8, x0 Lloh0: adrp x9, _exe@GOTPAGE Lloh1: ldr x9, [x9, _exe@GOTPAGEOFF] Lloh2: ldr x0, [x9] cbnz x0, LBB0_2 ; %bb.1: mov x0, x8 cbz x8, LBB0_3 LBB0_2: b _strdup LBB0_3: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _exe,8,3 ; @exe .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_dJyi14798182285183_br_find_exe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_exe_dir ## -- Begin function br_find_exe_dir .p2align 4, 0x90 _br_find_exe_dir: ## @br_find_exe_dir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _exe@GOTPCREL(%rip), %rax movq (%rax), %rax testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %rdi popq %rbp jmp _br_dirname ## TAILCALL LBB0_1: testq %rdi, %rdi je LBB0_4 ## %bb.2: popq %rbp jmp _strdup ## TAILCALL LBB0_4: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _exe,8,3 ## @exe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_exe_dir ; -- Begin function br_find_exe_dir .p2align 2 _br_find_exe_dir: ; @br_find_exe_dir .cfi_startproc ; %bb.0: Lloh0: adrp x8, _exe@GOTPAGE Lloh1: ldr x8, [x8, _exe@GOTPAGEOFF] Lloh2: ldr x8, [x8] cbz x8, LBB0_2 ; %bb.1: mov x0, x8 b _br_dirname LBB0_2: cbz x0, LBB0_4 ; %bb.3: b _strdup LBB0_4: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _exe,8,3 ; @exe .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_dJyi14798182285183_br_find_exe_dir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_lib_dir ## -- Begin function br_find_lib_dir .p2align 4, 0x90 _br_find_lib_dir: ## @br_find_lib_dir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 xorl %edi, %edi callq _br_find_prefix testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %rbx leaq L_.str(%rip), %rsi movq %rax, %rdi callq _br_build_path movq %rax, %r14 movq %rbx, %rdi callq _free movq %r14, %rax LBB0_5: popq %rbx popq %r14 popq %rbp retq LBB0_1: testq %r14, %r14 je LBB0_4 ## %bb.2: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _strdup ## TAILCALL LBB0_4: xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "lib" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_lib_dir ; -- Begin function br_find_lib_dir .p2align 2 _br_find_lib_dir: ; @br_find_lib_dir .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, #0 bl _br_find_prefix cbz x0, LBB0_3 ; %bb.1: mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _br_build_path mov x19, x0 mov x0, x20 bl _free mov x0, x19 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: cbz x19, LBB0_5 ; %bb.4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _strdup LBB0_5: mov x0, #0 b LBB0_2 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "lib" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_dJyi14798182285183_br_find_lib_dir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_libexec_dir ## -- Begin function br_find_libexec_dir .p2align 4, 0x90 _br_find_libexec_dir: ## @br_find_libexec_dir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 xorl %edi, %edi callq _br_find_prefix testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %rbx leaq L_.str(%rip), %rsi movq %rax, %rdi callq _br_build_path movq %rax, %r14 movq %rbx, %rdi callq _free movq %r14, %rax LBB0_5: popq %rbx popq %r14 popq %rbp retq LBB0_1: testq %r14, %r14 je LBB0_4 ## %bb.2: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _strdup ## TAILCALL LBB0_4: xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "libexec" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_libexec_dir ; -- Begin function br_find_libexec_dir .p2align 2 _br_find_libexec_dir: ; @br_find_libexec_dir .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, #0 bl _br_find_prefix cbz x0, LBB0_3 ; %bb.1: mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _br_build_path mov x19, x0 mov x0, x20 bl _free mov x0, x19 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: cbz x19, LBB0_5 ; %bb.4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _strdup LBB0_5: mov x0, #0 b LBB0_2 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "libexec" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_dJyi14798182285183_br_find_libexec_dir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_locale_dir ## -- Begin function br_find_locale_dir .p2align 4, 0x90 _br_find_locale_dir: ## @br_find_locale_dir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 xorl %edi, %edi callq _br_find_data_dir testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %rbx leaq L_.str(%rip), %rsi movq %rax, %rdi callq _br_build_path movq %rax, %r14 movq %rbx, %rdi callq _free movq %r14, %rax LBB0_5: popq %rbx popq %r14 popq %rbp retq LBB0_1: testq %r14, %r14 je LBB0_4 ## %bb.2: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _strdup ## TAILCALL LBB0_4: xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "locale" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_locale_dir ; -- Begin function br_find_locale_dir .p2align 2 _br_find_locale_dir: ; @br_find_locale_dir .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, #0 bl _br_find_data_dir cbz x0, LBB0_3 ; %bb.1: mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _br_build_path mov x19, x0 mov x0, x20 bl _free mov x0, x19 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: cbz x19, LBB0_5 ; %bb.4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _strdup LBB0_5: mov x0, #0 b LBB0_2 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "locale" .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_dJyi14798182285183_br_find_locale_dir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_prefix ## -- Begin function br_find_prefix .p2align 4, 0x90 _br_find_prefix: ## @br_find_prefix .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 _exe@GOTPCREL(%rip), %rax movq (%rax), %rax testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %rdi callq _br_dirname movq %rax, %rbx movq %rax, %rdi callq _br_dirname movq %rax, %r14 movq %rbx, %rdi callq _free movq %r14, %rax LBB0_5: popq %rbx popq %r14 popq %rbp retq LBB0_1: testq %rdi, %rdi je LBB0_4 ## %bb.2: popq %rbx popq %r14 popq %rbp jmp _strdup ## TAILCALL LBB0_4: xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .comm _exe,8,3 ## @exe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_find_prefix ; -- Begin function br_find_prefix .p2align 2 _br_find_prefix: ; @br_find_prefix .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, _exe@GOTPAGE Lloh1: ldr x8, [x8, _exe@GOTPAGEOFF] Lloh2: ldr x8, [x8] cbz x8, LBB0_3 ; %bb.1: mov x0, x8 bl _br_dirname mov x19, x0 bl _br_dirname mov x20, x0 mov x0, x19 bl _free mov x0, x20 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: cbz x0, LBB0_2 ; %bb.4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _strdup .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _exe,8,3 ; @exe .subsections_via_symbols
AnghaBench/AppImageKit/src/extr_binreloc.c_dJyi14798182285183_br_find_prefix.c
anghabench