	.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
