	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_password
_change_password:                       ## @change_password
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	-120(%rbp), %rdi
	callq	_krb5_data_zero
	leaq	-88(%rbp), %rdi
	callq	_krb5_data_zero
	movq	$0, -56(%rbp)
	movq	$0, -64(%rbp)
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	leaq	-64(%rbp), %rdx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_krb5_unparse_name
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rcx
	movl	%r15d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_4:
	movq	-64(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %rdi
	xorl	%eax, %eax
	callq	_asprintf
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdi
	xorl	%eax, %eax
	callq	_asprintf
LBB0_5:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdx
	testq	%rdx, %rdx
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rdx
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_krb5_errx
	movq	-56(%rbp), %rdx
LBB0_7:
	movq	%r14, %r12
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	$1, %ecx
	callq	_UI_UTIL_read_pw_string
	movq	%rax, %rbx
	movq	-56(%rbp), %rdi
	callq	_free
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_free
LBB0_9:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.10:
	movl	$1, %eax
	jmp	LBB0_14
LBB0_11:
	subq	$8, %rsp
	leaq	-72(%rbp), %r8
	leaq	-120(%rbp), %r9
	movl	%r15d, %edi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	-88(%rbp), %rax
	pushq	%rax
	callq	_krb5_set_password_using_ccache
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.4(%rip), %rdx
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_krb5_warn
	movl	$1, %eax
	jmp	LBB0_14
LBB0_13:
	movl	-72(%rbp), %esi
	movl	%r15d, %edi
	callq	_krb5_passwd_result_to_string
	movq	-88(%rbp), %rcx
	testq	%rcx, %rcx
	leaq	L_.str.6(%rip), %rdx
	leaq	L_.str.7(%rip), %r8
	cmovleq	%r8, %rdx
	cmovgq	-80(%rbp), %r8
	leaq	L_.str.5(%rip), %rdi
	movq	%rax, %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_printf
	leaq	-120(%rbp), %rdi
	callq	_krb5_data_free
	leaq	-88(%rbp), %rdi
	callq	_krb5_data_free
	xorl	%eax, %eax
LBB0_14:
	movq	-104(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"New password: "

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

L_.str.2:                               ## @.str.2
	.asciz	"New password for %s: "

L_.str.3:                               ## @.str.3
	.asciz	"out of memory"

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

L_.str.5:                               ## @.str.5
	.asciz	"%s%s%.*s\n"

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

L_.str.7:                               ## @.str.7
	.space	1

	.no_dead_strip	_change_password
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_password
_change_password:                       ; @change_password
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #64
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	sub	x0, x29, #72
	bl	_krb5_data_zero
	sub	x0, x29, #88
	bl	_krb5_data_zero
	stp	xzr, xzr, [x29, #-112]
	cbz	x20, LBB0_9
; %bb.1:
	sub	x2, x29, #112
	mov	x0, x19
	mov	x1, x20
	bl	_krb5_unparse_name
	cbz	x0, LBB0_3
; %bb.2:
	mov	x2, x0
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_3:
	ldur	x8, [x29, #-112]
	str	x8, [sp, #-16]!
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	sub	x0, x29, #104
	bl	_asprintf
	add	sp, sp, #16
	ldur	x2, [x29, #-104]
	cbnz	x2, LBB0_5
LBB0_4:
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
	ldur	x2, [x29, #-104]
LBB0_5:
	mov	x0, x22
	mov	x1, x23
	mov	w3, #1
	bl	_UI_UTIL_read_pw_string
	mov	x23, x0
	ldur	x0, [x29, #-104]
	bl	_free
	ldur	x0, [x29, #-112]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_free
LBB0_7:
	cbz	x23, LBB0_10
; %bb.8:
	mov	w0, #1
	b	LBB0_13
LBB0_9:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	sub	x0, x29, #104
	bl	_asprintf
	ldur	x2, [x29, #-104]
	cbnz	x2, LBB0_5
	b	LBB0_4
LBB0_10:
	sub	x4, x29, #92
	sub	x5, x29, #72
	sub	x6, x29, #88
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_krb5_set_password_using_ccache
	cbz	x0, LBB0_12
; %bb.11:
	mov	x1, x0
Lloh16:
	adrp	x2, l_.str.4@PAGE
Lloh17:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_krb5_warn
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	ldur	w1, [x29, #-92]
	mov	x0, x19
	bl	_krb5_passwd_result_to_string
	mov	x1, x0
Lloh18:
	adrp	x8, l_.str.7@PAGE
Lloh19:
	add	x8, x8, l_.str.7@PAGEOFF
Lloh20:
	adrp	x9, l_.str.6@PAGE
Lloh21:
	add	x9, x9, l_.str.6@PAGEOFF
	ldp	x3, x10, [x29, #-88]
	cmp	x3, #0
	csel	x2, x9, x8, gt
	csel	x4, x10, x8, gt
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_printf
	sub	x0, x29, #72
	bl	_krb5_data_free
	sub	x0, x29, #88
	bl	_krb5_data_free
	mov	w0, #0
LBB0_13:
	mov	sp, x24
	ldur	x8, [x29, #-56]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"New password: "

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

l_.str.2:                               ; @.str.2
	.asciz	"New password for %s: "

l_.str.3:                               ; @.str.3
	.asciz	"out of memory"

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

l_.str.5:                               ; @.str.5
	.asciz	"%s%s%.*s\n"

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

l_.str.7:                               ; @.str.7
	.space	1

	.no_dead_strip	_change_password
.subsections_via_symbols
