	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function osafeloader_extract
_osafeloader_extract:                   ## @osafeloader_extract
	.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
	movl	$4168, %eax                     ## imm = 0x1048
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$2, %edi
	jg	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_14
LBB0_2:
	movq	16(%rsi), %rax
	movq	_safeloader_path@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	_optind@GOTPCREL(%rip), %rax
	movl	$3, (%rax)
	callq	_osafeloader_extract_parse_options
	movq	_partition_name@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.3:
	movq	_out_path@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_13
## %bb.4:
	movq	(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_18
## %bb.5:
	movq	%rax, %r15
	movq	(%r12), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_19
## %bb.6:
	movq	%rax, %r14
	leaq	-4200(%rbp), %rdi
	movl	$1, %esi
	movl	$4, %edx
	movq	%r15, %rcx
	callq	_fread
	cmpq	$4, %rax
	jne	LBB0_20
## %bb.7:
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_fseek
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str.7(%rip), %rsi
	leaq	-80(%rbp), %rdx
	leaq	-4184(%rbp), %rcx
	leaq	-4180(%rbp), %r8
	movq	%r15, %rdi
	callq	_fscanf
	cmpl	$3, %eax
	jne	LBB0_22
## %bb.8:
	movq	%r14, -4192(%rbp)               ## 8-byte Spill
	leaq	-80(%rbp), %r12
	leaq	-4184(%rbp), %r14
	leaq	-4180(%rbp), %r13
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	_partition_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_24
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	callq	_fscanf
	cmpl	$3, %eax
	je	LBB0_9
## %bb.11:
	movq	-4192(%rbp), %r14               ## 8-byte Reload
	jmp	LBB0_22
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_14
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_14:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_15:
	subl	(%rax), %ebx
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.17:
	movl	%ebx, %eax
	addq	$4168, %rsp                     ## imm = 0x1048
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_EACCES@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_EACCES@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_23
LBB0_20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_21:
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_22:
	movq	%r14, %rdi
	callq	_fclose
LBB0_23:
	movq	%r15, %rdi
	callq	_fclose
	jmp	LBB0_16
LBB0_24:
	movl	$4100, %esi                     ## imm = 0x1004
	addl	-4184(%rbp), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_fseek
	movl	-4180(%rbp), %esi
	movl	$4096, %edi                     ## imm = 0x1000
	callq	_osafeloader_min
	leaq	-4176(%rbp), %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_fread
	xorl	%ebx, %ebx
	testq	%rax, %rax
	movq	-4192(%rbp), %r14               ## 8-byte Reload
	je	LBB0_29
## %bb.25:
	movq	%rax, %r12
	leaq	-4176(%rbp), %r13
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$1, %esi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_fwrite
	cmpq	%r12, %rax
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	-4180(%rbp), %esi
	subl	%r12d, %esi
	movl	%esi, -4180(%rbp)
	movl	$4096, %edi                     ## imm = 0x1000
	callq	_osafeloader_min
	movq	%r13, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_fread
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_26
	jmp	LBB0_29
LBB0_28:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_out_path@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.8(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_29:
	movl	-4180(%rbp), %r8d
	testl	%r8d, %r8d
	movq	_safeloader_path@GOTPCREL(%rip), %rcx
	movq	_partition_name@GOTPCREL(%rip), %rdx
	je	LBB0_22
## %bb.30:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rdx), %rdx
	movq	(%rcx), %rcx
	leaq	L_.str.9(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_21
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No SafeLoader file passed\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_safeloader_path,8,3            ## @safeloader_path
	.comm	_optind,4,2                     ## @optind
	.comm	_partition_name,8,3             ## @partition_name
L_.str.1:                               ## @.str.1
	.asciz	"No partition name specified\n"

	.comm	_out_path,8,3                   ## @out_path
L_.str.2:                               ## @.str.2
	.asciz	"No output file specified\n"

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

L_.str.4:                               ## @.str.4
	.asciz	"Couldn't open %s\n"

	.comm	_EACCES,4,2                     ## @EACCES
L_.str.5:                               ## @.str.5
	.asciz	"w"

L_.str.6:                               ## @.str.6
	.asciz	"Couldn't read %s header\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.7:                               ## @.str.7
	.asciz	"fwup-ptn %s base 0x%x size 0x%x\t\r\n"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
L_.str.8:                               ## @.str.8
	.asciz	"Couldn't write %zu B to %s\n"

L_.str.9:                               ## @.str.9
	.asciz	"Couldn't extract whole partition %s from %s (%d B left)\n"

	.no_dead_strip	_osafeloader_extract
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function osafeloader_extract
_osafeloader_extract:                   ; @osafeloader_extract
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.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	w9, #4176
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #80
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	cmp	w0, #2
	b.gt	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_13
LBB0_2:
Lloh10:
	adrp	x23, _safeloader_path@GOTPAGE
Lloh11:
	ldr	x23, [x23, _safeloader_path@GOTPAGEOFF]
	ldr	x8, [x1, #16]
	str	x8, [x23]
Lloh12:
	adrp	x8, _optind@GOTPAGE
Lloh13:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
	mov	w9, #3
Lloh14:
	str	w9, [x8]
	bl	_osafeloader_extract_parse_options
Lloh15:
	adrp	x24, _partition_name@GOTPAGE
Lloh16:
	ldr	x24, [x24, _partition_name@GOTPAGEOFF]
	ldr	x8, [x24]
	cbz	x8, LBB0_11
; %bb.3:
Lloh17:
	adrp	x25, _out_path@GOTPAGE
Lloh18:
	ldr	x25, [x25, _out_path@GOTPAGEOFF]
	ldr	x8, [x25]
	cbz	x8, LBB0_12
; %bb.4:
	ldr	x0, [x23]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_17
; %bb.5:
	mov	x19, x0
	ldr	x0, [x25]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_18
; %bb.6:
	mov	x20, x0
	add	x0, sp, #32
	mov	w1, #1
	mov	w2, #4
	mov	x3, x19
	bl	_fread
	cmp	x0, #4
	b.ne	LBB0_19
; %bb.7:
Lloh23:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4096
	bl	_fseek
Lloh26:
	adrp	x8, _ENOENT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w21, w8
Lloh29:
	adrp	x1, l_.str.7@PAGE
Lloh30:
	add	x1, x1, l_.str.7@PAGEOFF
	sub	x2, x29, #104
	add	x3, sp, #28
	add	x4, sp, #24
	mov	x0, x19
	bl	_fscanf
	cmp	w0, #3
	b.ne	LBB0_21
; %bb.8:
Lloh31:
	adrp	x22, l_.str.7@PAGE
Lloh32:
	add	x22, x22, l_.str.7@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x24]
	sub	x0, x29, #104
	bl	_strcmp
	cbz	x0, LBB0_23
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	x2, x29, #104
	add	x3, sp, #28
	add	x4, sp, #24
	mov	x0, x19
	mov	x1, x22
	bl	_fscanf
	cmp	w0, #3
	b.eq	LBB0_9
	b	LBB0_21
LBB0_11:
Lloh33:
	adrp	x8, _stderr@GOTPAGE
Lloh34:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh38:
	adrp	x8, _stderr@GOTPAGE
Lloh39:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.2@PAGE
Lloh42:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_13:
	bl	_fprintf
Lloh43:
	adrp	x8, _EINVAL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_15:
	ldur	x8, [x29, #-72]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.16:
	mov	x0, x21
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #80
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_17:
Lloh48:
	adrp	x8, _stderr@GOTPAGE
Lloh49:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	ldr	x8, [x23]
	str	x8, [sp]
Lloh51:
	adrp	x1, l_.str.4@PAGE
Lloh52:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
Lloh53:
	adrp	x8, _EACCES@GOTPAGE
Lloh54:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_14
LBB0_18:
Lloh55:
	adrp	x8, _stderr@GOTPAGE
Lloh56:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	ldr	x8, [x25]
	str	x8, [sp]
Lloh58:
	adrp	x1, l_.str.4@PAGE
Lloh59:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
Lloh60:
	adrp	x8, _EACCES@GOTPAGE
Lloh61:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_22
LBB0_19:
Lloh63:
	adrp	x8, _stderr@GOTPAGE
Lloh64:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	ldr	x8, [x23]
	str	x8, [sp]
Lloh66:
	adrp	x1, l_.str.6@PAGE
Lloh67:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_20:
	bl	_fprintf
Lloh68:
	adrp	x8, _EIO@GOTPAGE
Lloh69:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_21:
	mov	x0, x20
	bl	_fclose
LBB0_22:
	mov	x0, x19
	bl	_fclose
	b	LBB0_15
LBB0_23:
	ldr	w8, [sp, #28]
	mov	w9, #4100
	add	w1, w8, w9
Lloh71:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh72:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh73:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_fseek
	ldr	w1, [sp, #24]
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #4096
	bl	_osafeloader_min
	mov	x2, x0
	add	x0, sp, #40
	mov	w1, #1
	mov	x3, x19
	bl	_fread
	mov	x21, x0
	cbz	x0, LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	add	x0, sp, #40
	mov	w1, #1
	mov	x2, x21
	mov	x3, x20
	bl	_fwrite
	cmp	x0, x21
	b.ne	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w8, [sp, #24]
	sub	w1, w8, w21
	str	w1, [sp, #24]
	b	LBB0_24
LBB0_27:
Lloh74:
	adrp	x8, _stderr@GOTPAGE
Lloh75:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
	ldr	x8, [x25]
	stp	x21, x8, [sp]
Lloh77:
	adrp	x1, l_.str.8@PAGE
Lloh78:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
Lloh79:
	adrp	x8, _EIO@GOTPAGE
Lloh80:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_28:
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_21
; %bb.29:
Lloh82:
	adrp	x9, _stderr@GOTPAGE
Lloh83:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh84:
	ldr	w0, [x9]
	ldr	x9, [x24]
	ldr	x10, [x23]
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
Lloh85:
	adrp	x1, l_.str.9@PAGE
Lloh86:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_20
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No SafeLoader file passed\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_safeloader_path,8,3            ; @safeloader_path
	.comm	_optind,4,2                     ; @optind
	.comm	_partition_name,8,3             ; @partition_name
l_.str.1:                               ; @.str.1
	.asciz	"No partition name specified\n"

	.comm	_out_path,8,3                   ; @out_path
l_.str.2:                               ; @.str.2
	.asciz	"No output file specified\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"Couldn't open %s\n"

	.comm	_EACCES,4,2                     ; @EACCES
l_.str.5:                               ; @.str.5
	.asciz	"w"

l_.str.6:                               ; @.str.6
	.asciz	"Couldn't read %s header\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.7:                               ; @.str.7
	.asciz	"fwup-ptn %s base 0x%x size 0x%x\t\r\n"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
l_.str.8:                               ; @.str.8
	.asciz	"Couldn't write %zu B to %s\n"

l_.str.9:                               ; @.str.9
	.asciz	"Couldn't extract whole partition %s from %s (%d B left)\n"

	.no_dead_strip	_osafeloader_extract
.subsections_via_symbols
