	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_credential_fill                ## -- Begin function credential_fill
	.p2align	4, 0x90
_credential_fill:                       ## @credential_fill
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%r12)
	jne	LBB0_11
LBB0_2:
	movq	%r12, %rdi
	callq	_credential_apply_config
	cmpl	$0, 16(%r12)
	jle	LBB0_9
## %bb.3:
	leaq	L_.str(%rip), %r14
	leaq	L_.str.1(%rip), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	16(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_credential_do
	cmpq	$0, 8(%r12)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, (%r12)
	jne	LBB0_11
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 32(%r12)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_8
LBB0_9:
	movq	%r12, %rdi
	callq	_credential_getpass
	cmpq	$0, 8(%r12)
	jne	LBB0_11
## %bb.10:
	cmpq	$0, (%r12)
	je	LBB0_12
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_die                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get"

L_.str.1:                               ## @.str.1
	.asciz	"credential helper '%s' told us to quit"

L_.str.2:                               ## @.str.2
	.asciz	"unable to get password from user"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_credential_fill                ; -- Begin function credential_fill
	.p2align	2
_credential_fill:                       ; @credential_fill
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
LBB0_2:
	mov	x0, x19
	bl	_credential_apply_config
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x22, #0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19, #16]
	cmp	x22, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x19
	mov	x2, x20
	bl	_credential_do
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #24]
	ldr	w8, [x8, x22, lsl #2]
	str	x8, [sp]
	mov	x0, x21
	bl	_die
	b	LBB0_4
LBB0_9:
	mov	x0, x19
	bl	_credential_getpass
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_11
; %bb.10:
	ldr	x8, [x19]
	cbz	x8, LBB0_12
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_12:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_die
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get"

l_.str.1:                               ; @.str.1
	.asciz	"credential helper '%s' told us to quit"

l_.str.2:                               ; @.str.2
	.asciz	"unable to get password from user"

.subsections_via_symbols
