	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_pam_chauthtok               ## -- Begin function do_pam_chauthtok
	.p2align	4, 0x90
_do_pam_chauthtok:                      ## @do_pam_chauthtok
	.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	_use_privsep@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_2:
	movq	_sshpam_handle@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_PAM_CONV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_tty_conv@GOTPCREL(%rip), %rdx
	callq	_pam_set_item
	movq	_sshpam_err@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movq	_PAM_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_pam_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_fatal
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	callq	_debug
	movl	(%rbx), %edi
	movq	_PAM_CHANGE_EXPIRED_AUTHTOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pam_chauthtok
	movq	%rax, (%r14)
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_pam_strerror
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fatal                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_use_privsep,8,3                ## @use_privsep
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Password expired (unable to change with privsep)"

	.comm	_sshpam_handle,4,2              ## @sshpam_handle
	.comm	_PAM_CONV,4,2                   ## @PAM_CONV
	.comm	_tty_conv,4,2                   ## @tty_conv
	.comm	_sshpam_err,8,3                 ## @sshpam_err
	.comm	_PAM_SUCCESS,8,3                ## @PAM_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"PAM: failed to set PAM_CONV: %s"

L_.str.2:                               ## @.str.2
	.asciz	"PAM: changing password"

	.comm	_PAM_CHANGE_EXPIRED_AUTHTOK,4,2 ## @PAM_CHANGE_EXPIRED_AUTHTOK
L_.str.3:                               ## @.str.3
	.asciz	"PAM: pam_chauthtok(): %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_pam_chauthtok               ; -- Begin function do_pam_chauthtok
	.p2align	2
_do_pam_chauthtok:                      ; @do_pam_chauthtok
	.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
Lloh0:
	adrp	x8, _use_privsep@GOTPAGE
Lloh1:
	ldr	x8, [x8, _use_privsep@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
LBB0_2:
Lloh5:
	adrp	x19, _sshpam_handle@GOTPAGE
Lloh6:
	ldr	x19, [x19, _sshpam_handle@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh7:
	adrp	x8, _PAM_CONV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PAM_CONV@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, _tty_conv@GOTPAGE
Lloh11:
	ldr	x2, [x2, _tty_conv@GOTPAGEOFF]
	bl	_pam_set_item
Lloh12:
	adrp	x20, _sshpam_err@GOTPAGE
Lloh13:
	ldr	x20, [x20, _sshpam_err@GOTPAGEOFF]
	str	x0, [x20]
Lloh14:
	adrp	x21, _PAM_SUCCESS@GOTPAGE
Lloh15:
	ldr	x21, [x21, _PAM_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	mov	x1, x0
	ldr	w0, [x19]
	bl	_pam_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_4:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debug
	ldr	w0, [x19]
Lloh20:
	adrp	x8, _PAM_CHANGE_EXPIRED_AUTHTOK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PAM_CHANGE_EXPIRED_AUTHTOK@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_pam_chauthtok
	str	x0, [x20]
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:
	mov	x1, x0
	ldr	w0, [x19]
	bl	_pam_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_fatal
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_use_privsep,8,3                ; @use_privsep
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Password expired (unable to change with privsep)"

	.comm	_sshpam_handle,4,2              ; @sshpam_handle
	.comm	_PAM_CONV,4,2                   ; @PAM_CONV
	.comm	_tty_conv,4,2                   ; @tty_conv
	.comm	_sshpam_err,8,3                 ; @sshpam_err
	.comm	_PAM_SUCCESS,8,3                ; @PAM_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"PAM: failed to set PAM_CONV: %s"

l_.str.2:                               ; @.str.2
	.asciz	"PAM: changing password"

	.comm	_PAM_CHANGE_EXPIRED_AUTHTOK,4,2 ; @PAM_CHANGE_EXPIRED_AUTHTOK
l_.str.3:                               ; @.str.3
	.asciz	"PAM: pam_chauthtok(): %s"

.subsections_via_symbols
