	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r12d
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_output_text@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %r13
	leaq	_main.longopts(%rip), %r14
	movq	_optarg@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rdi
	callq	_usage
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	_getopt_long
	cmpl	$102, %eax
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$111, %eax
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_fopen
	movq	%rax, %rcx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_1
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rdx
	movl	$1, %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_err
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_output_text@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_output_shell@GOTPCREL(%rip), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_14:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, %r12d
	testl	%r12d, %r12d
	jle	LBB0_21
## %bb.15:
	leaq	(%rbx,%rax,8), %rbx
	movl	%r12d, %r13d
	xorl	%r12d, %r12d
	leaq	L_.str.5(%rip), %r15
	leaq	L_.str.8(%rip), %r14
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_stdin@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rbx,%r12,8), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_dump_eltorito
	incq	%r12
	cmpq	%r12, %r13
	je	LBB0_21
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r12,8), %rdi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rbx,%r12,8), %rdi
	movq	%r14, %rsi
	callq	_fopen
	movq	%rax, %rdi
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%rbx), %rdx
	movl	$1, %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_err
	xorl	%edi, %edi
	jmp	LBB0_20
LBB0_21:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdout,8,3                     ## @stdout
	.comm	_output_text,8,3                ## @output_text
	.section	__DATA,__data
	.p2align	4                               ## @main.longopts
_main.longopts:
	.quad	L_.str
	.long	0x43000000                      ## float 128
	.space	4
	.quad	0
	.long	102                             ## 0x66
	.space	4
	.quad	L_.str.1
	.long	0x43000000                      ## float 128
	.space	4
	.quad	0
	.long	111                             ## 0x6f
	.space	4
	.space	32

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"format"

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

L_.str.2:                               ## @.str.2
	.asciz	"f:o:"

	.comm	_optarg,8,3                     ## @optarg
L_.str.3:                               ## @.str.3
	.asciz	"shell"

	.comm	_output_shell,8,3               ## @output_shell
L_.str.4:                               ## @.str.4
	.asciz	"text"

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

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

L_.str.7:                               ## @.str.7
	.asciz	"unable to open %s for output"

	.comm	_optind,8,3                     ## @optind
	.comm	_stdin,8,3                      ## @stdin
L_.str.8:                               ## @.str.8
	.asciz	"r"

L_.str.9:                               ## @.str.9
	.asciz	"could not open %s"

.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	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _stdout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh2:
	adrp	x27, _output_text@GOTPAGE
Lloh3:
	ldr	x27, [x27, _output_text@GOTPAGEOFF]
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh6:
	adrp	x24, _main.longopts@PAGE
Lloh7:
	add	x24, x24, _main.longopts@PAGEOFF
Lloh8:
	adrp	x28, _optarg@GOTPAGE
Lloh9:
	ldr	x28, [x28, _optarg@GOTPAGEOFF]
Lloh10:
	adrp	x25, l_.str.3@PAGE
Lloh11:
	add	x25, x25, l_.str.3@PAGEOFF
Lloh12:
	ldr	x20, [x8]
	ldr	x19, [x27]
Lloh13:
	adrp	x26, l_.str.4@PAGE
Lloh14:
	add	x26, x26, l_.str.4@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x21]
	bl	_usage
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x24
	mov	x4, #0
	bl	_getopt_long
	cmp	w0, #102
	b.eq	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #111
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fopen
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x2, [x28]
	mov	w0, #1
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
	mov	x1, x25
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
	mov	x1, x26
	bl	_strcmp
	cbnz	x0, LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x27
	ldr	x19, [x27]
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh21:
	adrp	x8, _output_shell@GOTPAGE
Lloh22:
	ldr	x8, [x8, _output_shell@GOTPAGEOFF]
Lloh23:
	ldr	x19, [x8]
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh24:
	adrp	x8, _stdout@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh26:
	ldr	x20, [x8]
	b	LBB0_2
LBB0_13:
Lloh27:
	adrp	x8, _optind@GOTPAGE
Lloh28:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	sub	w24, w22, w8
	cmp	w24, #1
	b.lt	LBB0_20
; %bb.14:
Lloh30:
	adrp	x22, l_.str.5@PAGE
Lloh31:
	add	x22, x22, l_.str.5@PAGEOFF
Lloh32:
	adrp	x25, _stdin@GOTPAGE
Lloh33:
	ldr	x25, [x25, _stdin@GOTPAGEOFF]
	add	x26, x21, x8, lsl #3
Lloh34:
	adrp	x21, l_.str.8@PAGE
Lloh35:
	add	x21, x21, l_.str.8@PAGEOFF
Lloh36:
	adrp	x23, l_.str.9@PAGE
Lloh37:
	add	x23, x23, l_.str.9@PAGEOFF
	mov	x27, x26
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x0, [x25]
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x1, [x27], #8
	mov	x2, x20
	mov	x3, x19
	bl	_dump_eltorito
	subs	x24, x24, #1
	b.eq	LBB0_20
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x27]
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x0, [x27]
	mov	x1, x21
	bl	_fopen
	cbnz	x0, LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x2, [x26, #8]
	mov	w0, #1
	mov	x1, x23
	bl	_err
	mov	x0, #0
	b	LBB0_16
LBB0_20:
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_stdout,8,3                     ; @stdout
	.comm	_output_text,8,3                ; @output_text
	.section	__DATA,__data
	.p2align	3                               ; @main.longopts
_main.longopts:
	.quad	l_.str
	.long	0x43000000                      ; float 128
	.space	4
	.quad	0
	.long	102                             ; 0x66
	.space	4
	.quad	l_.str.1
	.long	0x43000000                      ; float 128
	.space	4
	.quad	0
	.long	111                             ; 0x6f
	.space	4
	.space	32

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"format"

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

l_.str.2:                               ; @.str.2
	.asciz	"f:o:"

	.comm	_optarg,8,3                     ; @optarg
l_.str.3:                               ; @.str.3
	.asciz	"shell"

	.comm	_output_shell,8,3               ; @output_shell
l_.str.4:                               ; @.str.4
	.asciz	"text"

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

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

l_.str.7:                               ; @.str.7
	.asciz	"unable to open %s for output"

	.comm	_optind,8,3                     ; @optind
	.comm	_stdin,8,3                      ; @stdin
l_.str.8:                               ; @.str.8
	.asciz	"r"

l_.str.9:                               ; @.str.9
	.asciz	"could not open %s"

.subsections_via_symbols
