	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_argv                     ## -- Begin function parse_argv
	.p2align	4, 0x90
_parse_argv:                            ## @parse_argv
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	cmpl	$2, %esi
	jge	LBB0_1
## %bb.4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.5:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usage                          ## TAILCALL
LBB0_1:
	movl	%r8d, %r13d
	jne	LBB0_6
## %bb.2:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rsp, %rbx
	movq	_MAX_PARMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r14, %rdi
	callq	_CLEAR
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rax, 8(%r14)
	subq	$8, %rsp
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	%r13
	callq	_add_option
	addq	$32, %rsp
	movq	%rbx, %rsp
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	movl	$1, %r12d
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-104(%rbp), %r13                ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	subq	$8, %rsp
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	%r13
	callq	_add_option
	addq	$32, %rsp
	movq	-112(%rbp), %rsp                ## 8-byte Reload
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	addl	%ebx, %eax
	movl	%eax, %r12d
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_19
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	_MAX_PARMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, %rdi
	callq	_CLEAR
	movslq	%r12d, %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rdi
	movq	%rdi, (%rbx)
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	callq	_strncmp
	movq	(%rbx), %rdx
	testq	%rax, %rax
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str.2(%rip), %rsi
	callq	_msg
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	addq	$2, %rdx
	movq	%rdx, (%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rsi
	movq	_MAX_PARMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %ebx
	cmpl	$2, %eax
	jl	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r15,8), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	$1, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rsi
	movq	%r14, (%r13,%rbx,8)
	movq	_MAX_PARMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %r14
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=2
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_17
LBB0_12:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%r15,%rbx), %rcx
	cmpq	%r14, %rcx
	jge	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%rsi, %r13
	movq	%r14, %r12
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	(%rax,%rbx,8), %r14
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %r14
	movq	%r13, %rsi
	jmp	LBB0_17
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--"

	.comm	_MAX_PARMS,4,2                  ## @MAX_PARMS
L_.str.1:                               ## @.str.1
	.asciz	"config"

L_.str.2:                               ## @.str.2
	.asciz	"I'm trying to parse \"%s\" as an --option parameter but I don't see a leading '--'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_argv                     ; -- Begin function parse_argv
	.p2align	2
_parse_argv:                            ; @parse_argv
	.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
	sub	sp, sp, #64
	stp	x0, x6, [x29, #-128]            ; 16-byte Folded Spill
	stur	x2, [x29, #-104]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	w1, [x29, #-108]                ; 4-byte Folded Spill
	cmp	w1, #2
	b.ge	LBB0_3
; %bb.1:
	ldur	x8, [x29, #-88]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.2:
	sub	sp, x29, #80
	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
	b	_usage
LBB0_3:
	mov	x24, x5
	mov	x21, x4
	mov	x22, x3
	b.ne	LBB0_8
; %bb.4:
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	ldr	x0, [x8, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #2
	bl	_strncmp
	cbz	x0, LBB0_8
; %bb.5:
	mov	x19, sp
Lloh8:
	adrp	x8, _MAX_PARMS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_PARMS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x25, x9, x8
	mov	sp, x25
	mov	x0, x25
	bl	_CLEAR
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
Lloh13:
	adrp	x9, l_.str.1@PAGE
Lloh14:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x9, x8, [x25]
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	str	x8, [sp, #-16]!
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	mov	x5, x22
	mov	x6, x21
	mov	x7, x24
	bl	_add_option
	add	sp, sp, #16
	mov	sp, x19
LBB0_6:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.7:
	sub	sp, x29, #80
	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_8:
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	mov	w19, w8
Lloh18:
	adrp	x20, _MAX_PARMS@GOTPAGE
Lloh19:
	ldr	x20, [x20, _MAX_PARMS@GOTPAGEOFF]
	mov	w23, #1
Lloh20:
	adrp	x26, l_.str@PAGE
Lloh21:
	add	x26, x26, l_.str@PAGEOFF
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	stur	w22, [x29, #-132]               ; 4-byte Folded Spill
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	w25, #1
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	str	x8, [sp, #-16]!
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	mov	x1, x28
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	mov	x5, x22
	mov	x6, x21
	mov	x7, x24
	bl	_add_option
	add	sp, sp, #16
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	mov	sp, x8
	add	w23, w25, w23
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	cmp	w23, w8
	b.ge	LBB0_6
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	mov	x8, sp
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	ldr	w8, [x20]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh22:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh23:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x28, x9, x8
	mov	sp, x28
	mov	x0, x28
	bl	_CLEAR
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	ldr	x0, [x8, w23, sxtw #3]
	str	x0, [x28]
	mov	x1, x26
	mov	w2, #2
	bl	_strncmp
	ldr	x2, [x28]
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_msg
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x8, x2, #2
	str	x8, [x28]
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	sxtw	x23, w23
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, x21
	mov	x21, x24
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	add	x24, x9, x23, lsl #3
	mov	w25, #1
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=2
	str	x27, [x28, x25, lsl #3]
	ldr	w8, [x20]
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=2
	add	x25, x25, #1
	cmp	x25, w8, sxtw
	b.ge	LBB0_20
LBB0_18:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x9, x23, x25
	cmp	x9, x19
	b.ge	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	ldr	x27, [x24, x25, lsl #3]
	mov	x0, x27
	mov	x1, x26
	mov	w2, #2
	bl	_strncmp
	cbnz	x0, LBB0_16
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x24, x21
	mov	x21, x22
	ldur	w22, [x29, #-132]               ; 4-byte Folded Reload
	b	LBB0_10
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--"

	.comm	_MAX_PARMS,4,2                  ; @MAX_PARMS
l_.str.1:                               ; @.str.1
	.asciz	"config"

l_.str.2:                               ; @.str.2
	.asciz	"I'm trying to parse \"%s\" as an --option parameter but I don't see a leading '--'"

.subsections_via_symbols
