	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parseopts
_parseopts:                             ## @parseopts
	.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, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %r15
	movq	_optarg@GOTPCREL(%rip), %r12
	movq	_output_file@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	movq	_input_file@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	(%r14), %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$104, %eax
	jle	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$105, %eax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$111, %eax
	jne	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	movq	%rax, (%r13)
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$97, %eax
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rdi
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtoul
	movq	_loadaddr@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	-48(%rbp), %rax
	cmpq	(%r12), %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, (%rax)
	je	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	_usage
	jmp	LBB0_1
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_4
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_usage
	jmp	LBB0_1
LBB0_4:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, (%rbx)
	shlq	$3, %rax
	addq	%rax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"a:i:o:"

L_.str.1:                               ## @.str.1
	.asciz	"Unknown option"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_loadaddr,4,2                   ## @loadaddr
L_.str.2:                               ## @.str.2
	.asciz	"loadaddress must be a decimal or hexadecimal 32-bit value"

	.comm	_input_file,8,3                 ## @input_file
	.comm	_output_file,8,3                ## @output_file
	.comm	_optind,8,3                     ## @optind
	.no_dead_strip	_parseopts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parseopts
_parseopts:                             ; @parseopts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, _optarg@GOTPAGE
Lloh3:
	ldr	x24, [x24, _optarg@GOTPAGEOFF]
Lloh4:
	adrp	x25, _loadaddr@GOTPAGE
Lloh5:
	ldr	x25, [x25, _loadaddr@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str.2@PAGE
Lloh7:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh8:
	adrp	x26, _input_file@GOTPAGE
Lloh9:
	ldr	x26, [x26, _input_file@GOTPAGEOFF]
Lloh10:
	adrp	x27, _output_file@GOTPAGE
Lloh11:
	ldr	x27, [x27, _output_file@GOTPAGEOFF]
Lloh12:
	adrp	x23, l_.str.1@PAGE
Lloh13:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24]
	str	x8, [x26]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	x1, [x19]
	mov	x2, x21
	bl	_getopt
	cmp	w0, #104
	b.le	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #105
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #111
	b.ne	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24]
	str	x8, [x27]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #97
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x24]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtoul
	str	w0, [x25]
	ldr	x8, [sp, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x8]
	cbz	w8, LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_usage
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_usage
	b	LBB0_2
LBB0_12:
Lloh14:
	adrp	x8, _optind@GOTPAGE
Lloh15:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w9, [x20]
	sub	w9, w9, w8
	str	w9, [x20]
	ldr	x9, [x19]
	add	x8, x9, x8, lsl #3
	str	x8, [x19]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"a:i:o:"

l_.str.1:                               ; @.str.1
	.asciz	"Unknown option"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_loadaddr,4,2                   ; @loadaddr
l_.str.2:                               ; @.str.2
	.asciz	"loadaddress must be a decimal or hexadecimal 32-bit value"

	.comm	_input_file,8,3                 ; @input_file
	.comm	_output_file,8,3                ; @output_file
	.comm	_optind,8,3                     ; @optind
	.no_dead_strip	_parseopts
.subsections_via_symbols
