	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function install_harddisk
_install_harddisk:                      ## @install_harddisk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_select_source_partition
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movq	_partitions@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movq	(%rcx,%rax,8), %rsi
	movq	_null@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_my_system
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %r8
	movl	$13, %edx
	movl	$50, %ecx
	callq	_dialog_inputbox
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_dialog_clear
	testl	%ebx, %ebx
	je	LBB0_4
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_dialog_input_result@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strdup
	movl	%eax, %edi
	callq	_extract_packages
	movslq	(%r14), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_my_system                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_partitions,8,3                 ## @partitions
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mount -t ext2 %s /source %s"

	.comm	_null,4,2                       ## @null
L_.str.1:                               ## @.str.1
	.asciz	"Path in partition"

L_.str.2:                               ## @.str.2
	.asciz	"Please enter the directory in which the source files are."

L_.str.3:                               ## @.str.3
	.space	1

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_dialog_input_result,4,2        ## @dialog_input_result
L_.str.4:                               ## @.str.4
	.asciz	"umount /source %s"

	.no_dead_strip	_install_harddisk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function install_harddisk
_install_harddisk:                      ; @install_harddisk
	.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
	bl	_select_source_partition
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _partitions@GOTPAGE
Lloh1:
	ldr	x8, [x8, _partitions@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x1, [x8, w0, uxtw #3]
Lloh3:
	adrp	x20, _null@GOTPAGE
Lloh4:
	ldr	x20, [x20, _null@GOTPAGEOFF]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_my_system
	cbnz	x0, LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh14:
	adrp	x4, l_.str.3@PAGE
Lloh15:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	w2, #13
	mov	w3, #50
	bl	_dialog_inputbox
	mov	x19, x0
	bl	_dialog_clear
	cbz	w19, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
Lloh16:
	adrp	x8, _dialog_input_result@GOTPAGE
Lloh17:
	ldr	x8, [x8, _dialog_input_result@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_strdup
	bl	_extract_packages
	ldrsw	x1, [x20]
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_my_system
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_partitions,8,3                 ; @partitions
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mount -t ext2 %s /source %s"

	.comm	_null,4,2                       ; @null
l_.str.1:                               ; @.str.1
	.asciz	"Path in partition"

l_.str.2:                               ; @.str.2
	.asciz	"Please enter the directory in which the source files are."

l_.str.3:                               ; @.str.3
	.space	1

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_dialog_input_result,4,2        ; @dialog_input_result
l_.str.4:                               ; @.str.4
	.asciz	"umount /source %s"

	.no_dead_strip	_install_harddisk
.subsections_via_symbols
