	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetch_netrc_auth               ## -- Begin function fetch_netrc_auth
	.p2align	4, 0x90
_fetch_netrc_auth:                      ## @fetch_netrc_auth
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	testl	%edi, %edi
	jns	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_fetch_netrc_open
	movl	%eax, %edi
	movl	%eax, (%r14)
	testl	%eax, %eax
	js	LBB0_29
LBB0_2:
	leaq	L_.str(%rip), %rsi
	callq	_fdopen
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_rewind
	movq	8(%r14), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DEBUGF
	movq	%r13, %rdi
	callq	_fetch_read_word
	testq	%rax, %rax
	je	LBB0_27
## %bb.5:
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %r15
	leaq	L_.str.5(%rip), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_fetch_read_word
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_27
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_26
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_fetch_read_word
	testq	%rax, %rax
	je	LBB0_26
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movq	8(%r14), %rsi
	movq	%rax, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	jne	LBB0_26
## %bb.11:
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_DEBUGF
	jmp	LBB0_12
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movl	%ebx, %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_DEBUGF
	movl	(%r14), %edi
	callq	_close
	jmp	LBB0_28
LBB0_7:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DEBUGF
LBB0_12:
	movq	%r13, %rdi
	callq	_fetch_read_word
	testq	%rax, %rax
	je	LBB0_25
## %bb.13:
	movq	%rax, %r12
	leaq	24(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	16(%r14), %r15
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdi
	callq	_fetch_read_word
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_25
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdi
	callq	_fetch_read_word
	testq	%rax, %rax
	jne	LBB0_24
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdi
	callq	_fetch_read_word
	testq	%rax, %rax
	je	LBB0_27
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r15), %rdi
	movl	$8, %esi
	leaq	L_.str.8(%rip), %rdx
	movq	%rax, %rcx
	callq	_snprintf
	leaq	L_.str.9(%rip), %rdi
	movq	%r15, %rbx
	cmpl	$8, %eax
	jle	LBB0_24
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdi
	callq	_fetch_read_word
	testq	%rax, %rax
	je	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	movl	$8, %esi
	leaq	L_.str.8(%rip), %rdx
	movq	%rax, %rcx
	callq	_snprintf
	leaq	L_.str.11(%rip), %rdi
	cmpl	$8, %eax
	jle	LBB0_24
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	callq	_fetch_info
	movq	(%rbx), %rax
	movb	$0, (%rax)
	jmp	LBB0_24
LBB0_27:
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	%r13, %rdi
	callq	_fclose
LBB0_28:
	movl	$-1, (%r14)
	movl	%ebx, (%r15)
LBB0_29:
	movl	$-1, %eax
LBB0_30:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	%r13, %rdi
	callq	_fclose
	movl	$-1, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"fdopen(netrcfd): %s"

L_.str.2:                               ## @.str.2
	.asciz	"searching netrc for %s\n"

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

L_.str.4:                               ## @.str.4
	.asciz	"using default netrc settings\n"

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

L_.str.6:                               ## @.str.6
	.asciz	"using netrc settings for %s\n"

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

L_.str.8:                               ## @.str.8
	.asciz	"%s"

L_.str.9:                               ## @.str.9
	.asciz	"login name in .netrc is too long"

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

L_.str.11:                              ## @.str.11
	.asciz	"password in .netrc is too long"

L_.str.12:                              ## @.str.12
	.asciz	"account"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetch_netrc_auth               ; -- Begin function fetch_netrc_auth
	.p2align	2
_fetch_netrc_auth:                      ; @fetch_netrc_auth
	.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, x0
	ldr	w0, [x0]
	tbz	w0, #31, LBB0_2
; %bb.1:
	bl	_fetch_netrc_open
	str	w0, [x19]
	tbnz	w0, #31, LBB0_26
LBB0_2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fdopen
	cbz	x0, LBB0_11
; %bb.3:
	mov	x20, x0
	bl	_rewind
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DEBUGF
	mov	x0, x20
	bl	_fetch_read_word
	cbz	x0, LBB0_25
; %bb.4:
	mov	x23, x0
Lloh4:
	adrp	x21, l_.str.3@PAGE
Lloh5:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh6:
	adrp	x22, l_.str.5@PAGE
Lloh7:
	add	x22, x22, l_.str.5@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_fetch_read_word
	mov	x23, x0
	cbz	x0, LBB0_25
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_fetch_read_word
	cbz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	ldr	x1, [x19, #8]
	bl	_strcasecmp
	cbnz	x0, LBB0_5
; %bb.10:
	str	x23, [sp]
Lloh8:
	adrp	x0, l_.str.6@PAGE
Lloh9:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_13
LBB0_11:
Lloh10:
	adrp	x21, _errno@GOTPAGE
Lloh11:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	x0, x20
	bl	_strerror
	str	x0, [sp]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DEBUGF
	ldr	w0, [x19]
	bl	_close
	mov	w0, #-1
	str	w0, [x19]
	str	w20, [x21]
	b	LBB0_28
LBB0_12:
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_13:
	bl	_DEBUGF
	mov	x0, x20
	bl	_fetch_read_word
	cbz	x0, LBB0_27
; %bb.14:
	mov	x25, x0
	add	x26, x19, #24
	add	x27, x19, #16
Lloh16:
	adrp	x21, l_.str.7@PAGE
Lloh17:
	add	x21, x21, l_.str.7@PAGEOFF
Lloh18:
	adrp	x22, l_.str.8@PAGE
Lloh19:
	add	x22, x22, l_.str.8@PAGEOFF
Lloh20:
	adrp	x28, l_.str.9@PAGE
Lloh21:
	add	x28, x28, l_.str.9@PAGEOFF
Lloh22:
	adrp	x23, l_.str.10@PAGE
Lloh23:
	add	x23, x23, l_.str.10@PAGEOFF
Lloh24:
	adrp	x24, l_.str.12@PAGE
Lloh25:
	add	x24, x24, l_.str.12@PAGEOFF
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x20
	bl	_fetch_read_word
	mov	x25, x0
	cbz	x0, LBB0_27
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x25
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x25
	mov	x1, x24
	bl	_strcmp
	cbnz	x0, LBB0_27
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x20
	bl	_fetch_read_word
	cbnz	x0, LBB0_15
	b	LBB0_25
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x20
	bl	_fetch_read_word
	cbz	x0, LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x3, x0
	ldr	x0, [x27]
	mov	w1, #8
	mov	x2, x22
	bl	_snprintf
	mov	x8, x0
	mov	x0, x28
	mov	x25, x27
	cmp	w8, #8
	b.le	LBB0_15
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x20
	bl	_fetch_read_word
	cbz	x0, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x3, x0
	ldr	x0, [x26]
	mov	w1, #8
	mov	x2, x22
	bl	_snprintf
	mov	x8, x0
Lloh26:
	adrp	x0, l_.str.11@PAGE
Lloh27:
	add	x0, x0, l_.str.11@PAGEOFF
	mov	x25, x26
	cmp	w8, #8
	b.le	LBB0_15
LBB0_24:                                ;   in Loop: Header=BB0_16 Depth=1
	bl	_fetch_info
	ldr	x8, [x25]
	strb	wzr, [x8]
	b	LBB0_15
LBB0_25:
Lloh28:
	adrp	x21, _errno@GOTPAGE
Lloh29:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	w22, [x21]
	mov	x0, x20
	bl	_fclose
	mov	w0, #-1
	str	w0, [x19]
	str	w22, [x21]
	b	LBB0_28
LBB0_26:
	mov	w0, #-1
	b	LBB0_28
LBB0_27:
	mov	x0, x20
	bl	_fclose
	mov	w0, #0
	mov	w8, #-1
	str	w8, [x19]
LBB0_28:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"fdopen(netrcfd): %s"

l_.str.2:                               ; @.str.2
	.asciz	"searching netrc for %s\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"using default netrc settings\n"

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

l_.str.6:                               ; @.str.6
	.asciz	"using netrc settings for %s\n"

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

l_.str.8:                               ; @.str.8
	.asciz	"%s"

l_.str.9:                               ; @.str.9
	.asciz	"login name in .netrc is too long"

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

l_.str.11:                              ; @.str.11
	.asciz	"password in .netrc is too long"

l_.str.12:                              ; @.str.12
	.asciz	"account"

.subsections_via_symbols
