	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_env__helper                ## -- Begin function cmd_env__helper
	.p2align	4, 0x90
_cmd_env__helper:                       ## @cmd_env__helper
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r13
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -68(%rbp)
	movq	$0, -80(%rbp)
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	callq	_N_
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	_N_
	movq	_PARSE_OPT_NONEG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_option_parse_type@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movq	_cmdmode@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_OPT_CALLBACK_F
	movl	%eax, -64(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	_N_
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rdi
	callq	_N_
	leaq	L_.str.2(%rip), %rsi
	leaq	-80(%rbp), %rdx
	xorl	%edi, %edi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_OPT_STRING
	movl	%eax, -60(%rbp)
	leaq	L_.str.6(%rip), %rdi
	callq	_N_
	leaq	L_.str.5(%rip), %rsi
	leaq	-68(%rbp), %rdx
	xorl	%edi, %edi
	movl	%eax, %ecx
	callq	_OPT_BOOL
	movl	%eax, -56(%rbp)
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -52(%rbp)
	movq	_env__helper_usage@GOTPCREL(%rip), %r14
	movl	(%r14), %r8d
	movq	_PARSE_OPT_KEEP_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-64(%rbp), %rcx
	movl	%r12d, %edi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_parse_options
	movl	%eax, %ebx
	movq	-80(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpb	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	callq	_usage_with_options
LBB0_3:
	movq	_cmdmode@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_4
## %bb.5:
	cmpl	$1, %ebx
	je	LBB0_7
LBB0_6:
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	callq	_usage_with_options
LBB0_7:
	movq	(%r13), %rbx
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_15
## %bb.8:
	cmpl	$129, %eax
	jne	LBB0_21
## %bb.9:
	movq	-80(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.11:
	callq	_git_parse_maybe_bool
	movl	%eax, %esi
	cmpl	$-1, %eax
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movq	-80(%rbp), %rsi
	movl	%eax, %edi
	callq	_error
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	callq	_usage_with_options
	movl	$-1, %esi
	jmp	LBB0_13
LBB0_4:
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	callq	_usage_with_options
	cmpl	$1, %ebx
	jne	LBB0_6
	jmp	LBB0_7
LBB0_15:
	movq	-80(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.16:
	leaq	-88(%rbp), %rsi
	callq	_git_parse_ulong
	testl	%eax, %eax
	jne	LBB0_19
## %bb.17:
	leaq	L_.str.10(%rip), %rdi
	callq	__
	movq	-80(%rbp), %rsi
	movl	%eax, %edi
	callq	_error
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	callq	_usage_with_options
	jmp	LBB0_19
LBB0_21:
	leaq	L_.str.12(%rip), %rdi
	callq	_BUG
                                        ## implicit-def: $ebx
	jmp	LBB0_22
LBB0_10:
	xorl	%esi, %esi
LBB0_13:
	movq	%rbx, %rdi
	callq	_git_env_bool
	movl	%eax, %ebx
	cmpl	$0, -68(%rbp)
	jne	LBB0_22
## %bb.14:
	testl	%ebx, %ebx
	leaq	L_.str.9(%rip), %rax
	leaq	L_.str.8(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_puts
	jmp	LBB0_22
LBB0_18:
	movq	$0, -88(%rbp)
LBB0_19:
	movq	-88(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_git_env_ulong
	movq	%rax, %rbx
	cmpl	$0, -68(%rbp)
	jne	LBB0_22
## %bb.20:
	leaq	L_.str.11(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
LBB0_22:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	sete	%cl
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	-48(%rbp), %rdx
	jne	LBB0_24
## %bb.23:
	movb	%cl, %al
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type"

	.comm	_cmdmode,4,2                    ## @cmdmode
L_.str.1:                               ## @.str.1
	.asciz	"value is given this type"

	.comm	_PARSE_OPT_NONEG,4,2            ## @PARSE_OPT_NONEG
	.comm	_option_parse_type,4,2          ## @option_parse_type
L_.str.2:                               ## @.str.2
	.asciz	"default"

L_.str.3:                               ## @.str.3
	.asciz	"value"

L_.str.4:                               ## @.str.4
	.asciz	"default for git_env_*(...) to fall back on"

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

L_.str.6:                               ## @.str.6
	.asciz	"be quiet only use git_env_*() value as exit code"

	.comm	_env__helper_usage,4,2          ## @env__helper_usage
	.comm	_PARSE_OPT_KEEP_UNKNOWN,4,2     ## @PARSE_OPT_KEEP_UNKNOWN
L_.str.7:                               ## @.str.7
	.asciz	"option `--default' expects a boolean value with `--type=bool`, not `%s`"

L_.str.8:                               ## @.str.8
	.asciz	"true"

L_.str.9:                               ## @.str.9
	.asciz	"false"

L_.str.10:                              ## @.str.10
	.asciz	"option `--default' expects an unsigned long value with `--type=ulong`, not `%s`"

L_.str.11:                              ## @.str.11
	.asciz	"%lu\n"

L_.str.12:                              ## @.str.12
	.asciz	"unknown <type> value"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_env__helper                ; -- Begin function cmd_env__helper
	.p2align	2
_cmd_env__helper:                       ; @cmd_env__helper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	str	wzr, [sp, #20]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x23, l_.str@PAGE
Lloh4:
	add	x23, x23, l_.str@PAGEOFF
	mov	x0, x23
	bl	_N_
	mov	x24, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_N_
	mov	x4, x0
Lloh7:
	adrp	x8, _PARSE_OPT_NONEG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PARSE_OPT_NONEG@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
Lloh10:
	adrp	x8, _option_parse_type@GOTPAGE
Lloh11:
	ldr	x8, [x8, _option_parse_type@GOTPAGEOFF]
Lloh12:
	ldr	w6, [x8]
Lloh13:
	adrp	x20, _cmdmode@GOTPAGE
Lloh14:
	ldr	x20, [x20, _cmdmode@GOTPAGEOFF]
	mov	w0, #0
	mov	x1, x23
	mov	x2, x20
	mov	x3, x24
	bl	_OPT_CALLBACK_F
	str	w0, [sp, #24]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_N_
	mov	x23, x0
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_N_
	mov	x4, x0
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #8
	mov	w0, #0
	mov	x3, x23
	bl	_OPT_STRING
	str	w0, [sp, #28]
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #20
	mov	w0, #0
	bl	_OPT_BOOL
	str	w0, [sp, #32]
	bl	_OPT_END
	str	w0, [sp, #36]
Lloh25:
	adrp	x23, _env__helper_usage@GOTPAGE
Lloh26:
	ldr	x23, [x23, _env__helper_usage@GOTPAGEOFF]
	ldr	w4, [x23]
Lloh27:
	adrp	x8, _PARSE_OPT_KEEP_UNKNOWN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PARSE_OPT_KEEP_UNKNOWN@GOTPAGEOFF]
Lloh29:
	ldr	w5, [x8]
	add	x3, sp, #24
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_parse_options
	mov	x21, x0
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldrb	w8, [x8]
	cbz	w8, LBB0_14
LBB0_2:
	ldr	w8, [x20]
	cbz	w8, LBB0_15
LBB0_3:
	cmp	w21, #1
	b.eq	LBB0_5
LBB0_4:
	ldr	w0, [x23]
	add	x1, sp, #24
	bl	_usage_with_options
LBB0_5:
	ldr	x19, [x19]
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_10
; %bb.6:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.7:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_16
; %bb.8:
	bl	_git_parse_maybe_bool
	mov	x1, x0
	cmn	w0, #1
	b.ne	LBB0_17
; %bb.9:
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	ldr	x1, [sp, #8]
	bl	_error
	ldr	w0, [x23]
	add	x1, sp, #24
	bl	_usage_with_options
	mov	w1, #-1
	b	LBB0_17
LBB0_10:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_19
; %bb.11:
	mov	x1, sp
	bl	_git_parse_ulong
	cbnz	w0, LBB0_20
; %bb.12:
Lloh32:
	adrp	x0, l_.str.10@PAGE
Lloh33:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	__
	ldr	x1, [sp, #8]
	bl	_error
	ldr	w0, [x23]
	add	x1, sp, #24
	bl	_usage_with_options
	b	LBB0_20
LBB0_13:
Lloh34:
	adrp	x0, l_.str.12@PAGE
Lloh35:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_BUG
                                        ; implicit-def: $w19
	b	LBB0_22
LBB0_14:
	ldr	w0, [x23]
	add	x1, sp, #24
	bl	_usage_with_options
	ldr	w8, [x20]
	cbnz	w8, LBB0_3
LBB0_15:
	ldr	w0, [x23]
	add	x1, sp, #24
	bl	_usage_with_options
	cmp	w21, #1
	b.ne	LBB0_4
	b	LBB0_5
LBB0_16:
	mov	w1, #0
LBB0_17:
	mov	x0, x19
	bl	_git_env_bool
	mov	x19, x0
	ldr	w8, [sp, #20]
	cbnz	w8, LBB0_22
; %bb.18:
Lloh36:
	adrp	x8, l_.str.8@PAGE
Lloh37:
	add	x8, x8, l_.str.8@PAGEOFF
Lloh38:
	adrp	x9, l_.str.9@PAGE
Lloh39:
	add	x9, x9, l_.str.9@PAGEOFF
	cmp	w19, #0
	csel	x0, x9, x8, eq
	bl	_puts
	b	LBB0_22
LBB0_19:
	str	xzr, [sp]
LBB0_20:
	ldr	x1, [sp]
	mov	x0, x19
	bl	_git_env_ulong
	mov	x19, x0
	ldr	w8, [sp, #20]
	cbnz	w8, LBB0_22
; %bb.21:
Lloh40:
	adrp	x0, l_.str.11@PAGE
Lloh41:
	add	x0, x0, l_.str.11@PAGEOFF
	mov	x1, x19
	bl	_printf
LBB0_22:
	cmp	w19, #0
	cset	w0, eq
	ldr	x8, [sp, #40]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	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
	add	sp, sp, #112
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type"

	.comm	_cmdmode,4,2                    ; @cmdmode
l_.str.1:                               ; @.str.1
	.asciz	"value is given this type"

	.comm	_PARSE_OPT_NONEG,4,2            ; @PARSE_OPT_NONEG
	.comm	_option_parse_type,4,2          ; @option_parse_type
l_.str.2:                               ; @.str.2
	.asciz	"default"

l_.str.3:                               ; @.str.3
	.asciz	"value"

l_.str.4:                               ; @.str.4
	.asciz	"default for git_env_*(...) to fall back on"

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

l_.str.6:                               ; @.str.6
	.asciz	"be quiet only use git_env_*() value as exit code"

	.comm	_env__helper_usage,4,2          ; @env__helper_usage
	.comm	_PARSE_OPT_KEEP_UNKNOWN,4,2     ; @PARSE_OPT_KEEP_UNKNOWN
l_.str.7:                               ; @.str.7
	.asciz	"option `--default' expects a boolean value with `--type=bool`, not `%s`"

l_.str.8:                               ; @.str.8
	.asciz	"true"

l_.str.9:                               ; @.str.9
	.asciz	"false"

l_.str.10:                              ; @.str.10
	.asciz	"option `--default' expects an unsigned long value with `--type=ulong`, not `%s`"

l_.str.11:                              ; @.str.11
	.asciz	"%lu\n"

l_.str.12:                              ; @.str.12
	.asciz	"unknown <type> value"

.subsections_via_symbols
