	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function install
_install:                               ## @install
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	leaq	L_.str.25(%rip), %r12
	testq	%rax, %rax
	je	LBB0_41
## %bb.1:
	movq	%rax, %r13
	subl	%ebx, %eax
	cmpl	$4, %eax
	jne	LBB0_41
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncasecmp
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	jne	LBB0_41
## %bb.5:
	leaq	L_.str.4(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
LBB0_8:
	leaq	L_.str.7(%rip), %r15
	movq	_dosfs_fsops@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str.2(%rip), %r15
	movq	_tftp_fsops@GOTPCREL(%rip), %rbx
LBB0_9:
	movb	3(%r13), %al
	testb	%al, %al
	je	LBB0_41
## %bb.10:
	addq	$3, %r13
	cmpb	$47, %al
	jne	LBB0_12
## %bb.11:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
LBB0_16:
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	addl	$-255, %eax
	cmpl	$-257, %eax                     ## imm = 0xFEFF
	jae	LBB0_18
## %bb.17:
	leaq	L_.str.9(%rip), %r12
	jmp	LBB0_41
LBB0_12:
	testl	%r14d, %r14d
	jne	LBB0_41
## %bb.13:
	movq	%r13, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_41
## %bb.14:
	movq	%rax, %r14
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movb	$0, (%rax)
	movq	%r13, %rdi
	callq	_inet_addr
	movq	%rax, %rbx
	movq	_servip@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	movq	_INADDR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	cmpq	%rax, %rbx
	je	LBB0_41
## %bb.15:
	movq	(%r13), %rdi
	callq	_inet_ntoa
	leaq	L_.str.8(%rip), %rdi
	movq	%rax, %rsi
	movl	$1, %edx
	callq	_setenv
	movb	$47, (%r14)
	jmp	LBB0_16
LBB0_18:
	leaq	_install.buf(%rip), %r12
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_sprintf
	leaq	L_.str.11(%rip), %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_setenv
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_pkgfs_init
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movl	%eax, %ebx
	leaq	L_.str.12(%rip), %rdx
LBB0_39:
	movq	_command_errmsg@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
LBB0_40:
	leaq	L_.str.24(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	xorl	%eax, %eax
	callq	_cleanup
	xorl	%eax, %eax
	callq	_unload
	movq	_exclusive_file_system@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_41:
	movq	_command_errmsg@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	movq	_CMD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.6(%rip), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_20:
	xorl	%eax, %eax
	callq	_unload
	leaq	L_.str.13(%rip), %rdi
	callq	_unsetenv
	movq	_O_RDONLY@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str.14(%rip), %rdi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_23
## %bb.21:
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_read_metatags
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_close
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.22:
	leaq	L_.str.15(%rip), %rdx
	jmp	LBB0_39
LBB0_23:
	movq	_inst_kernel@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	leaq	L_.str.16(%rip), %rdi
	cmovneq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_mod_loadkld
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	%eax, %ebx
	leaq	L_.str.17(%rip), %rdx
	jmp	LBB0_39
LBB0_25:
	movq	_inst_loader_rc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	leaq	L_.str.18(%rip), %rbx
	cmovneq	%rax, %rbx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_28
## %bb.26:
	movl	%eax, %edi
	callq	_close
	movq	%rbx, %rdi
	callq	_inter_include
	movl	%eax, %ebx
	movq	_CMD_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_28
## %bb.27:
	movq	_command_errmsg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	jmp	LBB0_40
LBB0_28:
	movq	_inst_modules@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_34
## %bb.29:
	xorl	%r15d, %r15d
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_mod_loadkld
	testl	%eax, %eax
	jne	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	(%r14), %rax
	addq	$8, %r15
	testq	%rax, %rax
	jne	LBB0_31
LBB0_34:
	movq	_inst_rootfs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	leaq	L_.str.20(%rip), %rdi
	cmovneq	%rax, %rdi
	leaq	L_.str.21(%rip), %rsi
	movl	$1, %edx
	callq	_file_loadraw
	testq	%rax, %rax
	je	LBB0_35
## %bb.36:
	xorl	%eax, %eax
	callq	_cleanup
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_file_findfile
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	movq	_file_formats@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, %rdi
	callq	*(%rcx)
LBB0_38:
	movq	_CMD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.23(%rip), %rdx
	jmp	LBB0_39
LBB0_35:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.22(%rip), %rdx
	jmp	LBB0_39
LBB0_33:
	movl	%eax, %ebx
	leaq	L_.str.19(%rip), %rdx
	jmp	LBB0_39
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_install.buf,256,4 ## @install.buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"://"

L_.str.1:                               ## @.str.1
	.asciz	"tftp"

L_.str.2:                               ## @.str.2
	.asciz	"net0"

	.comm	_tftp_fsops,4,2                 ## @tftp_fsops
L_.str.3:                               ## @.str.3
	.asciz	"file"

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

L_.str.5:                               ## @.str.5
	.asciz	"pxe0:"

L_.str.6:                               ## @.str.6
	.asciz	"pxe0"

L_.str.7:                               ## @.str.7
	.asciz	"disk1"

	.comm	_dosfs_fsops,4,2                ## @dosfs_fsops
	.comm	_servip,8,3                     ## @servip
	.comm	_INADDR_NONE,4,2                ## @INADDR_NONE
L_.str.8:                               ## @.str.8
	.asciz	"serverip"

L_.str.9:                               ## @.str.9
	.asciz	"package name too long"

	.comm	_command_errmsg,8,3             ## @command_errmsg
	.comm	_CMD_ERROR,4,2                  ## @CMD_ERROR
L_.str.10:                              ## @.str.10
	.asciz	"%s:%s"

L_.str.11:                              ## @.str.11
	.asciz	"install_package"

L_.str.12:                              ## @.str.12
	.asciz	"cannot open package"

L_.str.13:                              ## @.str.13
	.asciz	"vfs.root.mountfrom"

L_.str.14:                              ## @.str.14
	.asciz	"/metatags"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.15:                              ## @.str.15
	.asciz	"cannot load metatags"

	.comm	_inst_kernel,8,3                ## @inst_kernel
L_.str.16:                              ## @.str.16
	.asciz	"/kernel"

L_.str.17:                              ## @.str.17
	.asciz	"cannot load kernel from package"

	.comm	_inst_loader_rc,8,3             ## @inst_loader_rc
L_.str.18:                              ## @.str.18
	.asciz	"/loader.rc"

	.comm	_inst_modules,8,3               ## @inst_modules
L_.str.19:                              ## @.str.19
	.asciz	"cannot load module(s) from package"

	.comm	_inst_rootfs,8,3                ## @inst_rootfs
L_.str.20:                              ## @.str.20
	.asciz	"/install.iso"

L_.str.21:                              ## @.str.21
	.asciz	"mfs_root"

	.comm	_errno,4,2                      ## @errno
L_.str.22:                              ## @.str.22
	.asciz	"cannot load root file system"

	.comm	_file_formats,8,3               ## @file_formats
L_.str.23:                              ## @.str.23
	.asciz	"unable to start installation"

L_.str.24:                              ## @.str.24
	.asciz	"%s (error %d)"

	.comm	_exclusive_file_system,8,3      ## @exclusive_file_system
L_.str.25:                              ## @.str.25
	.asciz	"invalid URL"

	.no_dead_strip	_install
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function install
_install:                               ; @install
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	mov	x21, x0
	sub	w8, w21, w19
	cmp	x0, #0
	ccmp	w8, #4, #0, ne
Lloh2:
	adrp	x23, _command_errmsg@GOTPAGE
Lloh3:
	ldr	x23, [x23, _command_errmsg@GOTPAGEOFF]
Lloh4:
	adrp	x24, _CMD_ERROR@GOTPAGE
Lloh5:
	ldr	x24, [x24, _CMD_ERROR@GOTPAGEOFF]
	b.ne	LBB0_12
; %bb.1:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_strncasecmp
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.2:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_strncasecmp
	cbnz	w0, LBB0_12
; %bb.3:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_5
; %bb.4:
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_21
LBB0_5:
Lloh14:
	adrp	x20, l_.str.7@PAGE
Lloh15:
	add	x20, x20, l_.str.7@PAGEOFF
Lloh16:
	adrp	x19, _dosfs_fsops@GOTPAGE
Lloh17:
	ldr	x19, [x19, _dosfs_fsops@GOTPAGEOFF]
	ldrb	w8, [x21, #3]!
	cbnz	w8, LBB0_7
	b	LBB0_12
LBB0_6:
Lloh18:
	adrp	x20, l_.str.2@PAGE
Lloh19:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh20:
	adrp	x19, _tftp_fsops@GOTPAGE
Lloh21:
	ldr	x19, [x19, _tftp_fsops@GOTPAGEOFF]
	ldrb	w8, [x21, #3]!
	cbz	w8, LBB0_12
LBB0_7:
	cmp	w8, #47
	b.ne	LBB0_11
; %bb.8:
	mov	x22, x21
LBB0_9:
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
	mov	x0, x22
	bl	_strlen
	add	w8, w21, w0
	sub	w8, w8, #255
	cmn	w8, #257
	b.hs	LBB0_14
; %bb.10:
Lloh22:
	adrp	x20, l_.str.9@PAGE
Lloh23:
	add	x20, x20, l_.str.9@PAGEOFF
	b	LBB0_13
LBB0_11:
	cbz	w22, LBB0_18
LBB0_12:
Lloh24:
	adrp	x20, l_.str.25@PAGE
Lloh25:
	add	x20, x20, l_.str.25@PAGEOFF
LBB0_13:
	str	x20, [x23]
	ldr	w0, [x24]
	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
	add	sp, sp, #96
	ret
LBB0_14:
Lloh26:
	adrp	x21, _install.buf@PAGE
Lloh27:
	add	x21, x21, _install.buf@PAGEOFF
	str	x22, [sp]
Lloh28:
	adrp	x1, l_.str.10@PAGE
Lloh29:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_sprintf
Lloh30:
	adrp	x0, l_.str.11@PAGE
Lloh31:
	add	x0, x0, l_.str.11@PAGEOFF
	mov	x1, x21
	mov	w2, #1
	bl	_setenv
	mov	x0, x21
	mov	x1, x19
	bl	_pkgfs_init
	cbz	w0, LBB0_22
; %bb.15:
	mov	x19, x0
Lloh32:
	adrp	x2, l_.str.12@PAGE
Lloh33:
	add	x2, x2, l_.str.12@PAGEOFF
LBB0_16:
	str	x2, [x23]
LBB0_17:
Lloh34:
	adrp	x20, _install.buf@PAGE
Lloh35:
	add	x20, x20, _install.buf@PAGEOFF
	str	x19, [sp]
Lloh36:
	adrp	x1, l_.str.24@PAGE
Lloh37:
	add	x1, x1, l_.str.24@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	bl	_cleanup
	bl	_unload
Lloh38:
	adrp	x8, _exclusive_file_system@GOTPAGE
Lloh39:
	ldr	x8, [x8, _exclusive_file_system@GOTPAGEOFF]
Lloh40:
	str	xzr, [x8]
	b	LBB0_13
LBB0_18:
	mov	x0, x21
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_12
; %bb.19:
	mov	x22, x0
	strb	wzr, [x0]
	mov	x0, x21
	bl	_inet_addr
	mov	x21, x0
Lloh41:
	adrp	x25, _servip@GOTPAGE
Lloh42:
	ldr	x25, [x25, _servip@GOTPAGEOFF]
	str	x0, [x25]
Lloh43:
	adrp	x8, _INADDR_NONE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _INADDR_NONE@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	bl	_htonl
	cmp	x21, x0
	b.eq	LBB0_12
; %bb.20:
	ldr	x0, [x25]
	bl	_inet_ntoa
	mov	x1, x0
Lloh46:
	adrp	x0, l_.str.8@PAGE
Lloh47:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w2, #1
	bl	_setenv
	mov	w8, #47
	strb	w8, [x22]
	b	LBB0_9
LBB0_21:
	mov	x19, #0
Lloh48:
	adrp	x20, l_.str.6@PAGE
Lloh49:
	add	x20, x20, l_.str.6@PAGEOFF
	ldrb	w8, [x21, #3]!
	cbnz	w8, LBB0_7
	b	LBB0_12
LBB0_22:
	bl	_unload
Lloh50:
	adrp	x0, l_.str.13@PAGE
Lloh51:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_unsetenv
Lloh52:
	adrp	x21, _O_RDONLY@GOTPAGE
Lloh53:
	ldr	x21, [x21, _O_RDONLY@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh54:
	adrp	x0, l_.str.14@PAGE
Lloh55:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_25
; %bb.23:
	mov	x20, x0
	bl	_read_metatags
	mov	x19, x0
	mov	x0, x20
	bl	_close
	cbz	w19, LBB0_25
; %bb.24:
Lloh56:
	adrp	x2, l_.str.15@PAGE
Lloh57:
	add	x2, x2, l_.str.15@PAGEOFF
	b	LBB0_16
LBB0_25:
Lloh58:
	adrp	x8, _inst_kernel@GOTPAGE
Lloh59:
	ldr	x8, [x8, _inst_kernel@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
Lloh61:
	adrp	x9, l_.str.16@PAGE
Lloh62:
	add	x9, x9, l_.str.16@PAGEOFF
	cmp	x8, #0
	csel	x0, x9, x8, eq
	mov	w1, #0
	mov	x2, #0
	bl	_mod_loadkld
	cbz	w0, LBB0_27
; %bb.26:
	mov	x19, x0
Lloh63:
	adrp	x2, l_.str.17@PAGE
Lloh64:
	add	x2, x2, l_.str.17@PAGEOFF
	b	LBB0_16
LBB0_27:
Lloh65:
	adrp	x8, _inst_loader_rc@GOTPAGE
Lloh66:
	ldr	x8, [x8, _inst_loader_rc@GOTPAGEOFF]
Lloh67:
	ldr	x8, [x8]
Lloh68:
	adrp	x9, l_.str.18@PAGE
Lloh69:
	add	x9, x9, l_.str.18@PAGEOFF
	cmp	x8, #0
	csel	x19, x9, x8, eq
	ldr	w1, [x21]
	mov	x0, x19
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_30
; %bb.28:
	bl	_close
	mov	x0, x19
	bl	_inter_include
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_30
; %bb.29:
	mov	x19, x0
	ldr	x2, [x23]
	b	LBB0_17
LBB0_30:
Lloh70:
	adrp	x20, _inst_modules@GOTPAGE
Lloh71:
	ldr	x20, [x20, _inst_modules@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_35
; %bb.31:
	mov	x21, #0
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x8, x21]
	cbz	x0, LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	mov	w1, #0
	mov	x2, #0
	bl	_mod_loadkld
	cbnz	w0, LBB0_40
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x20]
	add	x21, x21, #8
	cbnz	x8, LBB0_32
LBB0_35:
Lloh72:
	adrp	x8, _inst_rootfs@GOTPAGE
Lloh73:
	ldr	x8, [x8, _inst_rootfs@GOTPAGEOFF]
Lloh74:
	ldr	x8, [x8]
Lloh75:
	adrp	x9, l_.str.20@PAGE
Lloh76:
	add	x9, x9, l_.str.20@PAGEOFF
	cmp	x8, #0
	csel	x0, x9, x8, eq
Lloh77:
	adrp	x1, l_.str.21@PAGE
Lloh78:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	w2, #1
	bl	_file_loadraw
	cbz	x0, LBB0_39
; %bb.36:
	bl	_cleanup
	mov	x0, #0
	mov	x1, #0
	bl	_file_findfile
	cbz	x0, LBB0_38
; %bb.37:
Lloh79:
	adrp	x8, _file_formats@GOTPAGE
Lloh80:
	ldr	x8, [x8, _file_formats@GOTPAGEOFF]
Lloh81:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	blr	x8
LBB0_38:
	ldr	w19, [x24]
Lloh82:
	adrp	x2, l_.str.23@PAGE
Lloh83:
	add	x2, x2, l_.str.23@PAGEOFF
	b	LBB0_16
LBB0_39:
Lloh84:
	adrp	x8, _errno@GOTPAGE
Lloh85:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh86:
	ldr	w19, [x8]
Lloh87:
	adrp	x2, l_.str.22@PAGE
Lloh88:
	add	x2, x2, l_.str.22@PAGEOFF
	b	LBB0_16
LBB0_40:
	mov	x19, x0
Lloh89:
	adrp	x2, l_.str.19@PAGE
Lloh90:
	add	x2, x2, l_.str.19@PAGEOFF
	b	LBB0_16
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_install.buf,256,0 ; @install.buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"://"

l_.str.1:                               ; @.str.1
	.asciz	"tftp"

l_.str.2:                               ; @.str.2
	.asciz	"net0"

	.comm	_tftp_fsops,4,2                 ; @tftp_fsops
l_.str.3:                               ; @.str.3
	.asciz	"file"

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

l_.str.5:                               ; @.str.5
	.asciz	"pxe0:"

l_.str.6:                               ; @.str.6
	.asciz	"pxe0"

l_.str.7:                               ; @.str.7
	.asciz	"disk1"

	.comm	_dosfs_fsops,4,2                ; @dosfs_fsops
	.comm	_servip,8,3                     ; @servip
	.comm	_INADDR_NONE,4,2                ; @INADDR_NONE
l_.str.8:                               ; @.str.8
	.asciz	"serverip"

l_.str.9:                               ; @.str.9
	.asciz	"package name too long"

	.comm	_command_errmsg,8,3             ; @command_errmsg
	.comm	_CMD_ERROR,4,2                  ; @CMD_ERROR
l_.str.10:                              ; @.str.10
	.asciz	"%s:%s"

l_.str.11:                              ; @.str.11
	.asciz	"install_package"

l_.str.12:                              ; @.str.12
	.asciz	"cannot open package"

l_.str.13:                              ; @.str.13
	.asciz	"vfs.root.mountfrom"

l_.str.14:                              ; @.str.14
	.asciz	"/metatags"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.15:                              ; @.str.15
	.asciz	"cannot load metatags"

	.comm	_inst_kernel,8,3                ; @inst_kernel
l_.str.16:                              ; @.str.16
	.asciz	"/kernel"

l_.str.17:                              ; @.str.17
	.asciz	"cannot load kernel from package"

	.comm	_inst_loader_rc,8,3             ; @inst_loader_rc
l_.str.18:                              ; @.str.18
	.asciz	"/loader.rc"

	.comm	_inst_modules,8,3               ; @inst_modules
l_.str.19:                              ; @.str.19
	.asciz	"cannot load module(s) from package"

	.comm	_inst_rootfs,8,3                ; @inst_rootfs
l_.str.20:                              ; @.str.20
	.asciz	"/install.iso"

l_.str.21:                              ; @.str.21
	.asciz	"mfs_root"

	.comm	_errno,4,2                      ; @errno
l_.str.22:                              ; @.str.22
	.asciz	"cannot load root file system"

	.comm	_file_formats,8,3               ; @file_formats
l_.str.23:                              ; @.str.23
	.asciz	"unable to start installation"

l_.str.24:                              ; @.str.24
	.asciz	"%s (error %d)"

	.comm	_exclusive_file_system,8,3      ; @exclusive_file_system
l_.str.25:                              ; @.str.25
	.asciz	"invalid URL"

	.no_dead_strip	_install
.subsections_via_symbols
