	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %r14d
	leaq	L_.str(%rip), %r15
	leaq	LJTI0_0(%rip), %r12
	movq	_op@GOTPCREL(%rip), %rbx
	jmp	LBB0_2
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$131, (%rbx)
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-65(%rax), %ecx
	cmpl	$54, %ecx
	ja	LBB0_22
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_allfields@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, (%rbx)
	je	LBB0_1
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_installboot@GOTPCREL(%rip), %rax
	incq	(%rax)
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r15
	movq	_optarg@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_errx
	jmp	LBB0_21
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, (%rbx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$133, (%rbx)
	jmp	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_disable_write@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_2
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xxboot@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_is_file@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_2
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, (%rbx)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$129, (%rbx)
	jmp	LBB0_2
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_labelsoffset@GOTPCREL(%rip), %rax
	movq	$1, (%rax)
	movq	_labeloffset@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_bbsize@GOTPCREL(%rip), %rax
	movl	$8192, (%rax)                   ## imm = 0x2000
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r13
	leaq	L_.str(%rip), %r15
	jmp	LBB0_2
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_2
LBB0_24:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	subl	%r15d, %r14d
	testl	%r14d, %r14d
	jg	LBB0_26
## %bb.25:
	xorl	%eax, %eax
	callq	_usage
LBB0_26:
	movq	_labelsoffset@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	js	LBB0_28
## %bb.27:
	movq	_labeloffset@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jns	LBB0_29
LBB0_28:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_29:
	movq	_is_file@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	(%r13,%r15,8), %rdi
	jne	LBB0_38
## %bb.30:
	callq	_g_device_path
	movq	_specname@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_34
## %bb.31:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	_O_RDONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_open
	testl	%eax, %eax
	js	LBB0_35
## %bb.32:
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_g_providername
	movq	_pname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_39
## %bb.33:
	movq	(%r12), %rsi
	leaq	L_.str.7(%rip), %rdi
	callq	_warn
	movl	%r15d, %edi
	callq	_close
	jmp	LBB0_37
LBB0_34:
	movq	(%r13,%r15,8), %rsi
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_36
LBB0_35:
	movq	(%r12), %rsi
	leaq	L_.str.6(%rip), %rdi
LBB0_36:
	callq	_warn
LBB0_37:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	_specname@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	jmp	LBB0_40
LBB0_39:
	movl	%r15d, %edi
	callq	_close
LBB0_40:
	movq	_installboot@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	(%rbx), %eax
	je	LBB0_48
## %bb.41:
	cmpl	$130, %eax
	jne	LBB0_48
## %bb.42:
	movl	$128, (%rbx)
LBB0_43:
	movl	$1, %edi
	callq	_readlabel
	movq	_lab@GOTPCREL(%rip), %rdi
	callq	_fixlabel
	cmpl	$2, %r14d
	jne	LBB0_45
## %bb.44:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%r13,%rax,8), %rdi
	movq	_lab@GOTPCREL(%rip), %rsi
	callq	_makelabel
LBB0_45:
	xorl	%r15d, %r15d
LBB0_46:
	xorl	%edi, %edi
	callq	_checklabel
	testl	%eax, %eax
	jne	LBB0_54
LBB0_47:
	xorl	%eax, %eax
	callq	_writelabel
	jmp	LBB0_53
LBB0_48:
	cmpl	$130, %eax
	jne	LBB0_55
## %bb.49:
	movl	$132, (%rbx)
LBB0_50:
	cmpl	$1, %r14d
	je	LBB0_52
## %bb.51:
	xorl	%eax, %eax
	callq	_usage
LBB0_52:
	movl	$1, %edi
	callq	_readlabel
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_display
	xorl	%edi, %edi
	callq	_checklabel
LBB0_53:
	movl	%eax, %r15d
LBB0_54:
	movl	%r15d, %edi
	callq	_exit
LBB0_55:
	xorl	%r15d, %r15d
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_54
## %bb.56:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_57:
	cmpl	$1, %r14d
	je	LBB0_69
## %bb.58:
	cmpl	$2, %r14d
	jne	LBB0_70
## %bb.59:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%r13,%rax,8), %r14
	jmp	LBB0_71
LBB0_60:
	cmpl	$2, %r14d
	je	LBB0_62
## %bb.61:
	xorl	%eax, %eax
	callq	_usage
LBB0_62:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%r13,%rax,8), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_64
## %bb.63:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%r13,%rax,8), %rdx
	leaq	L_.str.9(%rip), %rsi
	movl	$4, %edi
	callq	_err
LBB0_64:
	xorl	%edi, %edi
	callq	_readlabel
	movq	_lab@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_getasciilabel
	testl	%eax, %eax
	jne	LBB0_47
## %bb.65:
	movl	$1, %edi
	callq	_exit
LBB0_66:
	cmpl	$1, %r14d
	je	LBB0_68
## %bb.67:
	xorl	%eax, %eax
	callq	_usage
LBB0_68:
	movl	$1, %edi
	callq	_readlabel
	movq	_lab@GOTPCREL(%rip), %rdi
	callq	_fixlabel
	xorl	%eax, %eax
	callq	_edit
	jmp	LBB0_53
LBB0_69:
	leaq	L_.str.10(%rip), %r14
	jmp	LBB0_71
LBB0_70:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_usage
LBB0_71:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_readlabel
	movq	_lab@GOTPCREL(%rip), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_makelabel
	movq	%rbx, %rdi
	callq	_fixlabel
	jmp	LBB0_46
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_5
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_15
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_11
	.long	L0_0_set_16
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_8
	.long	L0_0_set_14
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_2
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_17
.set L0_1_set_43, LBB0_43-LJTI0_1
.set L0_1_set_57, LBB0_57-LJTI0_1
.set L0_1_set_54, LBB0_54-LJTI0_1
.set L0_1_set_60, LBB0_60-LJTI0_1
.set L0_1_set_50, LBB0_50-LJTI0_1
.set L0_1_set_66, LBB0_66-LJTI0_1
LJTI0_1:
	.long	L0_1_set_43
	.long	L0_1_set_57
	.long	L0_1_set_54
	.long	L0_1_set_60
	.long	L0_1_set_50
	.long	L0_1_set_66
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ABb:efm:nRrw"

	.comm	_allfields,4,2                  ## @allfields
	.comm	_installboot,8,3                ## @installboot
	.comm	_optarg,4,2                     ## @optarg
	.comm	_xxboot,4,2                     ## @xxboot
	.comm	_is_file,4,2                    ## @is_file
L_.str.1:                               ## @.str.1
	.asciz	"i386"

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

	.comm	_labelsoffset,8,3               ## @labelsoffset
	.comm	_labeloffset,8,3                ## @labeloffset
	.comm	_bbsize,4,2                     ## @bbsize
L_.str.3:                               ## @.str.3
	.asciz	"Unsupported architecture"

	.comm	_disable_write,4,2              ## @disable_write
	.comm	_op,4,2                         ## @op
	.comm	_optind,8,3                     ## @optind
L_.str.4:                               ## @.str.4
	.asciz	"a -m <architecture> option must be specified"

	.comm	_specname,8,3                   ## @specname
L_.str.5:                               ## @.str.5
	.asciz	"unable to get correct path for %s"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.6:                               ## @.str.6
	.asciz	"error opening %s"

	.comm	_pname,8,3                      ## @pname
L_.str.7:                               ## @.str.7
	.asciz	"error getting providername for %s"

	.comm	_lab,4,2                        ## @lab
	.comm	_stdout,4,2                     ## @stdout
L_.str.8:                               ## @.str.8
	.asciz	"r"

L_.str.9:                               ## @.str.9
	.asciz	"fopen %s"

L_.str.10:                              ## @.str.10
	.asciz	"auto"

.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x28, lJTI0_0@PAGE
Lloh3:
	add	x28, x28, lJTI0_0@PAGEOFF
	mov	w23, #1
Lloh4:
	adrp	x26, _installboot@GOTPAGE
Lloh5:
	ldr	x26, [x26, _installboot@GOTPAGEOFF]
Lloh6:
	adrp	x25, _op@GOTPAGE
Lloh7:
	ldr	x25, [x25, _op@GOTPAGEOFF]
Lloh8:
	adrp	x24, _optarg@GOTPAGE
Lloh9:
	ldr	x24, [x24, _optarg@GOTPAGEOFF]
Lloh10:
	adrp	x27, _disable_write@GOTPAGE
Lloh11:
	ldr	x27, [x27, _disable_write@GOTPAGEOFF]
	mov	w22, #129
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #131
	str	w8, [x25]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	sub	w8, w0, #65
	cmp	w8, #54
	b.hi	LBB0_21
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh12:
	adrp	x8, _allfields@GOTPAGE
Lloh13:
	ldr	x8, [x8, _allfields@GOTPAGEOFF]
Lloh14:
	str	w23, [x8]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x25]
	cmp	w8, #130
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	b	LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26]
	add	x8, x8, #1
	str	x8, [x26]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errx
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x25]
	cmp	w8, #130
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #133
	str	w8, [x25]
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w23, [x27]
	b	LBB0_2
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x24]
Lloh21:
	adrp	x9, _xxboot@GOTPAGE
Lloh22:
	ldr	x9, [x9, _xxboot@GOTPAGEOFF]
Lloh23:
	str	w8, [x9]
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh24:
	adrp	x8, _is_file@GOTPAGE
Lloh25:
	ldr	x8, [x8, _is_file@GOTPAGEOFF]
Lloh26:
	str	w23, [x8]
	b	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x25]
	cmp	w8, #130
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w22, [x25]
	b	LBB0_2
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh27:
	adrp	x8, _labelsoffset@GOTPAGE
Lloh28:
	ldr	x8, [x8, _labelsoffset@GOTPAGEOFF]
Lloh29:
	str	x23, [x8]
Lloh30:
	adrp	x8, _labeloffset@GOTPAGE
Lloh31:
	ldr	x8, [x8, _labeloffset@GOTPAGEOFF]
Lloh32:
	str	xzr, [x8]
Lloh33:
	adrp	x8, _bbsize@GOTPAGE
Lloh34:
	ldr	x8, [x8, _bbsize@GOTPAGEOFF]
	mov	w9, #8192
Lloh35:
	str	w9, [x8]
	b	LBB0_2
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	b	LBB0_2
LBB0_23:
Lloh36:
	adrp	x8, _optind@GOTPAGE
Lloh37:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	sub	w21, w20, w8
	add	x20, x19, x8, lsl #3
	cmp	w21, #0
	b.gt	LBB0_25
; %bb.24:
	bl	_usage
LBB0_25:
Lloh39:
	adrp	x8, _labelsoffset@GOTPAGE
Lloh40:
	ldr	x8, [x8, _labelsoffset@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	tbnz	x8, #63, LBB0_27
; %bb.26:
Lloh42:
	adrp	x8, _labeloffset@GOTPAGE
Lloh43:
	ldr	x8, [x8, _labeloffset@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	tbz	x8, #63, LBB0_28
LBB0_27:
Lloh45:
	adrp	x1, l_.str.4@PAGE
Lloh46:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_28:
Lloh47:
	adrp	x8, _is_file@GOTPAGE
Lloh48:
	ldr	x8, [x8, _is_file@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	ldr	x0, [x20]
Lloh50:
	adrp	x22, _specname@GOTPAGE
Lloh51:
	ldr	x22, [x22, _specname@GOTPAGEOFF]
	cbnz	w8, LBB0_37
; %bb.29:
	bl	_g_device_path
	str	x0, [x22]
	cbz	x0, LBB0_33
; %bb.30:
Lloh52:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh53:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	bl	_open
	tbnz	w0, #31, LBB0_34
; %bb.31:
	mov	x19, x0
	bl	_g_providername
Lloh55:
	adrp	x8, _pname@GOTPAGE
Lloh56:
	ldr	x8, [x8, _pname@GOTPAGEOFF]
Lloh57:
	str	x0, [x8]
	cbnz	x0, LBB0_38
; %bb.32:
	ldr	x1, [x22]
Lloh58:
	adrp	x0, l_.str.7@PAGE
Lloh59:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_warn
	mov	x0, x19
	bl	_close
	b	LBB0_36
LBB0_33:
	ldr	x1, [x20]
Lloh60:
	adrp	x0, l_.str.5@PAGE
Lloh61:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_35
LBB0_34:
	ldr	x1, [x22]
Lloh62:
	adrp	x0, l_.str.6@PAGE
Lloh63:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_35:
	bl	_warn
LBB0_36:
	mov	w0, #1
	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_37:
	str	x0, [x22]
	b	LBB0_39
LBB0_38:
	mov	x0, x19
	bl	_close
LBB0_39:
	ldr	x9, [x26]
	ldr	w8, [x25]
	cbz	x9, LBB0_47
; %bb.40:
	cmp	w8, #130
	b.ne	LBB0_47
; %bb.41:
	mov	w8, #128
	str	w8, [x25]
LBB0_42:
	mov	w0, #1
	bl	_readlabel
Lloh64:
	adrp	x0, _lab@GOTPAGE
Lloh65:
	ldr	x0, [x0, _lab@GOTPAGEOFF]
	bl	_fixlabel
	cmp	w21, #2
	b.ne	LBB0_44
; %bb.43:
	ldr	x0, [x20, #8]
Lloh66:
	adrp	x1, _lab@GOTPAGE
Lloh67:
	ldr	x1, [x1, _lab@GOTPAGEOFF]
	bl	_makelabel
LBB0_44:
	mov	x0, #0
	bl	_checklabel
	cbnz	w0, LBB0_52
LBB0_45:
	bl	_writelabel
LBB0_46:
	bl	_exit
LBB0_47:
	cmp	w8, #130
	b.ne	LBB0_53
; %bb.48:
	mov	w8, #132
	str	w8, [x25]
LBB0_49:
	cmp	w21, #1
	b.eq	LBB0_51
; %bb.50:
	bl	_usage
LBB0_51:
	mov	w0, #1
	bl	_readlabel
Lloh68:
	adrp	x8, _stdout@GOTPAGE
Lloh69:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_display
	mov	x0, #0
	bl	_checklabel
	bl	_exit
LBB0_52:
	mov	w0, #0
	bl	_exit
LBB0_53:
	mov	w0, #0
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_46
; %bb.54:
Lloh71:
	adrp	x9, lJTI0_1@PAGE
Lloh72:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_42
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_55:
	cmp	w21, #1
	b.eq	LBB0_67
; %bb.56:
	cmp	w21, #2
	b.ne	LBB0_68
; %bb.57:
	ldr	x19, [x20, #8]
	b	LBB0_69
LBB0_58:
	cmp	w21, #2
	b.eq	LBB0_60
; %bb.59:
	bl	_usage
LBB0_60:
	ldr	x0, [x20, #8]
Lloh73:
	adrp	x1, l_.str.8@PAGE
Lloh74:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_62
; %bb.61:
	ldr	x2, [x20, #8]
Lloh75:
	adrp	x1, l_.str.9@PAGE
Lloh76:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #4
	bl	_err
LBB0_62:
	mov	w0, #0
	bl	_readlabel
Lloh77:
	adrp	x1, _lab@GOTPAGE
Lloh78:
	ldr	x1, [x1, _lab@GOTPAGEOFF]
	mov	x0, x19
	bl	_getasciilabel
	cbnz	w0, LBB0_45
; %bb.63:
	mov	w0, #1
	bl	_exit
LBB0_64:
	cmp	w21, #1
	b.eq	LBB0_66
; %bb.65:
	bl	_usage
LBB0_66:
	mov	w0, #1
	bl	_readlabel
Lloh79:
	adrp	x0, _lab@GOTPAGE
Lloh80:
	ldr	x0, [x0, _lab@GOTPAGEOFF]
	bl	_fixlabel
	bl	_edit
	bl	_exit
LBB0_67:
Lloh81:
	adrp	x19, l_.str.10@PAGE
Lloh82:
	add	x19, x19, l_.str.10@PAGEOFF
	b	LBB0_69
LBB0_68:
	bl	_usage
	mov	x19, #0
LBB0_69:
	mov	w0, #0
	bl	_readlabel
Lloh83:
	adrp	x20, _lab@GOTPAGE
Lloh84:
	ldr	x20, [x20, _lab@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_makelabel
	mov	x0, x20
	bl	_fixlabel
	mov	x0, #0
	bl	_checklabel
	mov	x8, x0
	mov	w0, #0
	cbz	w8, LBB0_45
	b	LBB0_46
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotStr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh83, Lloh84
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_42-LBB0_42)>>2
	.byte	(LBB0_55-LBB0_42)>>2
	.byte	(LBB0_46-LBB0_42)>>2
	.byte	(LBB0_58-LBB0_42)>>2
	.byte	(LBB0_49-LBB0_42)>>2
	.byte	(LBB0_64-LBB0_42)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ABb:efm:nRrw"

	.comm	_allfields,4,2                  ; @allfields
	.comm	_installboot,8,3                ; @installboot
	.comm	_optarg,4,2                     ; @optarg
	.comm	_xxboot,4,2                     ; @xxboot
	.comm	_is_file,4,2                    ; @is_file
l_.str.1:                               ; @.str.1
	.asciz	"i386"

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

	.comm	_labelsoffset,8,3               ; @labelsoffset
	.comm	_labeloffset,8,3                ; @labeloffset
	.comm	_bbsize,4,2                     ; @bbsize
l_.str.3:                               ; @.str.3
	.asciz	"Unsupported architecture"

	.comm	_disable_write,4,2              ; @disable_write
	.comm	_op,4,2                         ; @op
	.comm	_optind,8,3                     ; @optind
l_.str.4:                               ; @.str.4
	.asciz	"a -m <architecture> option must be specified"

	.comm	_specname,8,3                   ; @specname
l_.str.5:                               ; @.str.5
	.asciz	"unable to get correct path for %s"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.6:                               ; @.str.6
	.asciz	"error opening %s"

	.comm	_pname,8,3                      ; @pname
l_.str.7:                               ; @.str.7
	.asciz	"error getting providername for %s"

	.comm	_lab,4,2                        ; @lab
	.comm	_stdout,4,2                     ; @stdout
l_.str.8:                               ; @.str.8
	.asciz	"r"

l_.str.9:                               ; @.str.9
	.asciz	"fopen %s"

l_.str.10:                              ; @.str.10
	.asciz	"auto"

.subsections_via_symbols
