	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function option_parse_stage
_option_parse_stage:                    ## @option_parse_stage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %edi
	movq	%rsi, %rbx
	callq	_BUG_ON_OPT_NEG
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movb	(%rbx), %al
	leal	-49(%rax), %ecx
	cmpb	$2, %cl
	ja	LBB0_4
## %bb.3:
	addb	$-48, %al
	movq	_checkout_stage@GOTPCREL(%rip), %rcx
	movb	%al, (%rcx)
	jmp	LBB0_5
LBB0_1:
	movq	_to_tempfile@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_CHECKOUT_ALL@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_checkout_stage@GOTPCREL(%rip), %rcx
	movb	%al, (%rcx)
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"all"

	.comm	_to_tempfile,4,2                ## @to_tempfile
	.comm	_CHECKOUT_ALL,1,0               ## @CHECKOUT_ALL
	.comm	_checkout_stage,1,0             ## @checkout_stage
L_.str.1:                               ## @.str.1
	.asciz	"stage should be between 1 and 3 or all"

	.no_dead_strip	_option_parse_stage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function option_parse_stage
_option_parse_stage:                    ; @option_parse_stage
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x0, x2
	mov	x19, x1
	bl	_BUG_ON_OPT_NEG
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_3
; %bb.1:
	ldrb	w8, [x19]
	sub	w9, w8, #49
	cmp	w9, #2
	b.hi	LBB0_5
; %bb.2:
	sub	w8, w8, #48
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _to_tempfile@GOTPAGE
Lloh3:
	ldr	x8, [x8, _to_tempfile@GOTPAGEOFF]
	mov	w9, #1
Lloh4:
	str	w9, [x8]
Lloh5:
	adrp	x8, _CHECKOUT_ALL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CHECKOUT_ALL@GOTPAGEOFF]
	ldrb	w8, [x8]
LBB0_4:
Lloh7:
	adrp	x9, _checkout_stage@GOTPAGE
Lloh8:
	ldr	x9, [x9, _checkout_stage@GOTPAGEOFF]
Lloh9:
	strb	w8, [x9]
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_die
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"all"

	.comm	_to_tempfile,4,2                ; @to_tempfile
	.comm	_CHECKOUT_ALL,1,0               ; @CHECKOUT_ALL
	.comm	_checkout_stage,1,0             ; @checkout_stage
l_.str.1:                               ; @.str.1
	.asciz	"stage should be between 1 and 3 or all"

	.no_dead_strip	_option_parse_stage
.subsections_via_symbols
