	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_credential_read                ## -- Begin function credential_read
	.p2align	4, 0x90
_credential_read:                       ## @credential_read
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_strbuf_getline_lf
	movq	_EOF@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.1:
	movq	%rcx, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%r13), %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_xstrdup
	movq	%rax, 40(%r13)
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-64(%rbp), %rdi
	movq	%r15, %rsi
	callq	_strbuf_getline_lf
	cmpq	(%rbx), %rax
	je	LBB0_20
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %r12
	movq	%r12, %rdi
	movl	$61, %esi
	callq	_strchr
	cmpl	$0, -56(%rbp)
	je	LBB0_20
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rax
	incq	%r14
	movb	$0, (%rax)
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rsi
	callq	_git_config_bool
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, (%r13)
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r13), %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_xstrdup
	movq	%rax, 32(%r13)
	jmp	LBB0_19
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r13), %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_xstrdup
	movq	%rax, 24(%r13)
	jmp	LBB0_19
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_xstrdup
	movq	%rax, 16(%r13)
	jmp	LBB0_19
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_xstrdup
	movq	%rax, 8(%r13)
	jmp	LBB0_19
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_credential_from_url
	jmp	LBB0_19
LBB0_20:
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_warning
	movl	$-1, %ebx
LBB0_21:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_EOF,8,3                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid credential line: %s"

L_.str.1:                               ## @.str.1
	.asciz	"username"

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

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

L_.str.4:                               ## @.str.4
	.asciz	"host"

L_.str.5:                               ## @.str.5
	.asciz	"path"

L_.str.6:                               ## @.str.6
	.asciz	"url"

L_.str.7:                               ## @.str.7
	.asciz	"quit"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_credential_read                ; -- Begin function credential_read
	.p2align	2
_credential_read:                       ; @credential_read
	.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	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
	mov	x0, sp
	bl	_strbuf_getline_lf
Lloh3:
	adrp	x26, _EOF@GOTPAGE
Lloh4:
	ldr	x26, [x26, _EOF@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_3
LBB0_1:
	mov	w19, #0
LBB0_2:
	mov	x0, sp
	bl	_strbuf_release
	mov	x0, 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
LBB0_3:
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh7:
	adrp	x22, l_.str.2@PAGE
Lloh8:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh9:
	adrp	x23, l_.str.3@PAGE
Lloh10:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh11:
	adrp	x24, l_.str.4@PAGE
Lloh12:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh13:
	adrp	x25, l_.str.5@PAGE
Lloh14:
	add	x25, x25, l_.str.5@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x20, #40]
	bl	_free
	mov	x0, x28
	bl	_xstrdup
	str	x0, [x20, #40]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, sp
	mov	x1, x19
	bl	_strbuf_getline_lf
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [sp]
	mov	x0, x27
	mov	w1, #61
	bl	_strchr
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x28, x0
	cbz	x0, LBB0_21
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	strb	wzr, [x28], #1
	mov	x0, x27
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	mov	x1, x22
	bl	_strcmp
	cbz	w0, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	mov	x1, x23
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	mov	x1, x24
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	mov	x1, x25
	bl	_strcmp
	cbz	w0, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh19:
	adrp	x0, l_.str.7@PAGE
Lloh20:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x28
	bl	_git_config_bool
	cmp	w0, #0
	cset	w8, ne
	str	w8, [x20]
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x20, #32]
	bl	_free
	mov	x0, x28
	bl	_xstrdup
	str	x0, [x20, #32]
	b	LBB0_5
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x20, #24]
	bl	_free
	mov	x0, x28
	bl	_xstrdup
	str	x0, [x20, #24]
	b	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x20, #16]
	bl	_free
	mov	x0, x28
	bl	_xstrdup
	str	x0, [x20, #16]
	b	LBB0_5
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x20, #8]
	bl	_free
	mov	x0, x28
	bl	_xstrdup
	str	x0, [x20, #8]
	b	LBB0_5
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x28
	bl	_credential_from_url
	b	LBB0_5
LBB0_21:
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x27
	bl	_warning
	mov	w19, #-1
	b	LBB0_2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_EOF,8,3                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid credential line: %s"

l_.str.1:                               ; @.str.1
	.asciz	"username"

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

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

l_.str.4:                               ; @.str.4
	.asciz	"host"

l_.str.5:                               ; @.str.5
	.asciz	"path"

l_.str.6:                               ; @.str.6
	.asciz	"url"

l_.str.7:                               ; @.str.7
	.asciz	"quit"

.subsections_via_symbols
