	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_credential                 ## -- Begin function cmd_credential
	.p2align	4, 0x90
_cmd_credential:                        ## @cmd_credential
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_CREDENTIAL_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	cmpl	$2, %edi
	jne	LBB0_2
## %bb.1:
	movq	8(%r14), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_3
LBB0_2:
	movq	_usage_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
	movq	8(%r14), %rbx
LBB0_3:
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	callq	_credential_read
	testq	%rax, %rax
	jns	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	_usage_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
	jmp	LBB0_12
LBB0_6:
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_credential_fill
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_credential_write
	jmp	LBB0_12
LBB0_8:
	leaq	-24(%rbp), %rdi
	callq	_credential_approve
	jmp	LBB0_12
LBB0_10:
	leaq	-24(%rbp), %rdi
	callq	_credential_reject
LBB0_12:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CREDENTIAL_INIT,4,2            ## @CREDENTIAL_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-h"

	.comm	_usage_msg,4,2                  ## @usage_msg
	.comm	_stdin,4,2                      ## @stdin
L_.str.1:                               ## @.str.1
	.asciz	"unable to read credential from stdin"

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

	.comm	_stdout,4,2                     ## @stdout
L_.str.3:                               ## @.str.3
	.asciz	"approve"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_credential                 ; -- Begin function cmd_credential
	.p2align	2
_cmd_credential:                        ; @cmd_credential
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
Lloh0:
	adrp	x8, _CREDENTIAL_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CREDENTIAL_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	ldr	x19, [x20, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	w0, LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _usage_msg@GOTPAGE
Lloh6:
	ldr	x8, [x8, _usage_msg@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_usage
	ldr	x19, [x20, #8]
LBB0_3:
Lloh8:
	adrp	x8, _stdin@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_credential_read
	tbz	x0, #63, LBB0_5
; %bb.4:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_5:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.6:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.7:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.8:
Lloh19:
	adrp	x8, _usage_msg@GOTPAGE
Lloh20:
	ldr	x8, [x8, _usage_msg@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_usage
	b	LBB0_12
LBB0_9:
	add	x0, sp, #8
	bl	_credential_fill
Lloh22:
	adrp	x8, _stdout@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_credential_write
	b	LBB0_12
LBB0_10:
	add	x0, sp, #8
	bl	_credential_approve
	b	LBB0_12
LBB0_11:
	add	x0, sp, #8
	bl	_credential_reject
LBB0_12:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_CREDENTIAL_INIT,4,2            ; @CREDENTIAL_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-h"

	.comm	_usage_msg,4,2                  ; @usage_msg
	.comm	_stdin,4,2                      ; @stdin
l_.str.1:                               ; @.str.1
	.asciz	"unable to read credential from stdin"

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

	.comm	_stdout,4,2                     ; @stdout
l_.str.3:                               ; @.str.3
	.asciz	"approve"

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

.subsections_via_symbols
