	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function passwd
_passwd:                                ## @passwd
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_info_auth_keyid@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_getkeyid
	movq	%rax, %rdi
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	cmpl	$0, (%rbx)
	jle	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movq	(%rax), %rdx
	jmp	LBB0_8
LBB0_6:
	movq	_info_auth_keytype@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_getpass_keytype
	cmpb	$0, (%rax)
	je	LBB0_9
## %bb.7:
	movq	%rax, %rdx
	movq	(%r15), %rdi
LBB0_8:
	movq	_info_auth_keytype@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_authusekey
	movq	(%r15), %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_authtrust                      ## TAILCALL
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	movl	$22, %esi
	jmp	LBB0_3
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	movl	$19, %esi
LBB0_3:
	movl	$1, %edx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fwrite                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_info_auth_keyid,8,3            ## @info_auth_keyid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Keyid: "

L_.str.1:                               ## @.str.1
	.asciz	"Keyid must be defined\n"

	.comm	_info_auth_keytype,4,2          ## @info_auth_keytype
L_.str.2:                               ## @.str.2
	.asciz	"Password unchanged\n"

	.no_dead_strip	_passwd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function passwd
_passwd:                                ; @passwd
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _info_auth_keyid@GOTPAGE
Lloh1:
	ldr	x21, [x21, _info_auth_keyid@GOTPAGEOFF]
	ldr	x0, [x21]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getkeyid
	str	x0, [x21]
	cbz	x0, LBB0_7
LBB0_2:
	ldr	w8, [x20]
Lloh4:
	adrp	x22, _info_auth_keytype@GOTPAGE
Lloh5:
	ldr	x22, [x22, _info_auth_keytype@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	x2, [x8]
	b	LBB0_6
LBB0_4:
	ldr	w0, [x22]
	bl	_getpass_keytype
	ldrb	w8, [x0]
	cbz	w8, LBB0_8
; %bb.5:
	mov	x2, x0
	ldr	x0, [x21]
LBB0_6:
	ldr	w1, [x22]
	bl	_authusekey
	ldr	x0, [x21]
	mov	w1, #1
	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
	b	_authtrust
LBB0_7:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #22
	b	LBB0_9
LBB0_8:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #19
LBB0_9:
	mov	w2, #1
	mov	x3, x19
	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
	b	_fwrite
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_info_auth_keyid,8,3            ; @info_auth_keyid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Keyid: "

l_.str.1:                               ; @.str.1
	.asciz	"Keyid must be defined\n"

	.comm	_info_auth_keytype,4,2          ; @info_auth_keytype
l_.str.2:                               ; @.str.2
	.asciz	"Password unchanged\n"

	.no_dead_strip	_passwd
.subsections_via_symbols
