	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_git_prompt                     ## -- Begin function git_prompt
	.p2align	4, 0x90
_git_prompt:                            ## @git_prompt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_PROMPT_ASKPASS@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_7
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_askpass_program@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:
	cmpb	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_do_askpass
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	movl	$1, %esi
	callq	_git_env_bool
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	_PROMPT_ECHO@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_git_terminal_prompt
	movq	%rax, %rbx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	testq	%rbx, %rbx
	jne	LBB0_11
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.3(%rip), %rax
LBB0_10:
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_die
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROMPT_ASKPASS,4,2             ## @PROMPT_ASKPASS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GIT_ASKPASS"

	.comm	_askpass_program,8,3            ## @askpass_program
L_.str.1:                               ## @.str.1
	.asciz	"SSH_ASKPASS"

L_.str.2:                               ## @.str.2
	.asciz	"GIT_TERMINAL_PROMPT"

	.comm	_PROMPT_ECHO,4,2                ## @PROMPT_ECHO
	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"terminal prompts disabled"

L_.str.4:                               ## @.str.4
	.asciz	"could not read %s%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_git_prompt                     ; -- Begin function git_prompt
	.p2align	2
_git_prompt:                            ; @git_prompt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PROMPT_ASKPASS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROMPT_ASKPASS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_5
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
Lloh5:
	adrp	x8, _askpass_program@GOTPAGE
Lloh6:
	ldr	x8, [x8, _askpass_program@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x0, x8, x0, eq
	cbnz	x0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_5
LBB0_3:
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.4:
	mov	x1, x19
	bl	_do_askpass
	mov	x21, x0
	cbnz	x0, LBB0_10
LBB0_5:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #1
	bl	_git_env_bool
	cbz	x0, LBB0_8
; %bb.6:
Lloh12:
	adrp	x8, _PROMPT_ECHO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PROMPT_ECHO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	and	w1, w8, w20
	mov	x0, x19
	bl	_git_terminal_prompt
	mov	x21, x0
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_strerror
	cbnz	x21, LBB0_10
; %bb.7:
	mov	x2, x0
	b	LBB0_9
LBB0_8:
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_9:
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_die
	mov	x21, #0
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_PROMPT_ASKPASS,4,2             ; @PROMPT_ASKPASS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GIT_ASKPASS"

	.comm	_askpass_program,8,3            ; @askpass_program
l_.str.1:                               ; @.str.1
	.asciz	"SSH_ASKPASS"

l_.str.2:                               ; @.str.2
	.asciz	"GIT_TERMINAL_PROMPT"

	.comm	_PROMPT_ECHO,4,2                ; @PROMPT_ECHO
	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"terminal prompts disabled"

l_.str.4:                               ; @.str.4
	.asciz	"could not read %s%s"

.subsections_via_symbols
