	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_packages
_extract_packages:                      ## @extract_packages
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_null@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_my_system
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_my_system
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	movq	_install_partition@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_fprintf
	leaq	L_.str.7(%rip), %rdi
	movl	$29, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_fclose                         ## TAILCALL
LBB0_5:
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$12, %edx
	movl	$40, %ecx
	movl	$1, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dialog_msgbox                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mkdir -p /install/var/installed/packages %s"

	.comm	_null,8,3                       ## @null
L_.str.1:                               ## @.str.1
	.asciz	"cd /install; for i in /source%s/*.tgz; do tar xzplvvkf $i >> var/installed/packages/base 2>>var/installed/packages/ERROR; done"

L_.str.2:                               ## @.str.2
	.asciz	"/install/etc/fstab"

L_.str.3:                               ## @.str.3
	.asciz	"w"

L_.str.4:                               ## @.str.4
	.asciz	"Error"

L_.str.5:                               ## @.str.5
	.asciz	"Cannot write /etc/fstab"

L_.str.6:                               ## @.str.6
	.asciz	"%s / ext2 defaults 1 1\n"

	.comm	_install_partition,8,3          ## @install_partition
L_.str.7:                               ## @.str.7
	.asciz	"none /proc proc defaults 0 2\n"

	.no_dead_strip	_extract_packages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_packages
_extract_packages:                      ; @extract_packages
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _null@GOTPAGE
Lloh1:
	ldr	x8, [x8, _null@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_my_system
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_my_system
	cbz	x0, LBB0_3
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
LBB0_3:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_5
; %bb.4:
	mov	x19, x0
Lloh11:
	adrp	x8, _install_partition@GOTPAGE
Lloh12:
	ldr	x8, [x8, _install_partition@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
Lloh16:
	adrp	x0, l_.str.7@PAGE
Lloh17:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #29
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_fclose
LBB0_5:
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #12
	mov	w3, #40
	mov	w4, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_dialog_msgbox
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mkdir -p /install/var/installed/packages %s"

	.comm	_null,8,3                       ; @null
l_.str.1:                               ; @.str.1
	.asciz	"cd /install; for i in /source%s/*.tgz; do tar xzplvvkf $i >> var/installed/packages/base 2>>var/installed/packages/ERROR; done"

l_.str.2:                               ; @.str.2
	.asciz	"/install/etc/fstab"

l_.str.3:                               ; @.str.3
	.asciz	"w"

l_.str.4:                               ; @.str.4
	.asciz	"Error"

l_.str.5:                               ; @.str.5
	.asciz	"Cannot write /etc/fstab"

l_.str.6:                               ; @.str.6
	.asciz	"%s / ext2 defaults 1 1\n"

	.comm	_install_partition,8,3          ; @install_partition
l_.str.7:                               ; @.str.7
	.asciz	"none /proc proc defaults 0 2\n"

	.no_dead_strip	_extract_packages
.subsections_via_symbols
