	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pam_vprompt                    ## -- Begin function pam_vprompt
	.p2align	4, 0x90
_pam_vprompt:                           ## @pam_vprompt
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PAM_MAX_MSG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	xorl	%eax, %eax
	callq	_ENTER
	movq	_PAM_CONV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	callq	_pam_get_item
	movq	_PAM_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %edi
	callq	_RETURNC
LBB0_2:
	movq	-80(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	cmpq	$0, (%rbx)
	jne	LBB0_5
LBB0_4:
	movq	_PAM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_openpam_log
	movq	_PAM_SYSTEM_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RETURNC
LBB0_5:
	movq	_PAM_MAX_MSG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r13, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_vsnprintf
	movl	%r12d, -104(%rbp)
	movq	%r15, -96(%rbp)
	leaq	-104(%rbp), %rax
	movq	%rax, -88(%rbp)
	movq	$0, -64(%rbp)
	movl	8(%rbx), %ecx
	leaq	-88(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movl	$1, %edi
	callq	*(%rbx)
	movl	%eax, %ebx
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	movq	(%rdi), %rax
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	callq	_FREE
	movl	%ebx, %edi
	callq	_RETURNC
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PAM_MAX_MSG_SIZE,4,2           ## @PAM_MAX_MSG_SIZE
	.comm	_PAM_CONV,4,2                   ## @PAM_CONV
	.comm	_PAM_SUCCESS,4,2                ## @PAM_SUCCESS
	.comm	_PAM_LOG_ERROR,4,2              ## @PAM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no conversation function"

	.comm	_PAM_SYSTEM_ERR,4,2             ## @PAM_SYSTEM_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pam_vprompt                    ; -- Begin function pam_vprompt
	.p2align	2
_pam_vprompt:                           ; @pam_vprompt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #48
	mov	x21, x4
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x25, _PAM_MAX_MSG_SIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _PAM_MAX_MSG_SIZE@GOTPAGEOFF]
	ldr	w8, [x25]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	bl	_ENTER
Lloh7:
	adrp	x8, _PAM_CONV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PAM_CONV@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	sub	x2, x29, #112
	mov	x0, x24
	bl	_pam_get_item
Lloh10:
	adrp	x8, _PAM_SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PAM_SUCCESS@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_2
; %bb.1:
	bl	_RETURNC
LBB0_2:
	ldur	x24, [x29, #-112]
	cbz	x24, LBB0_4
; %bb.3:
	ldr	x8, [x24]
	cbnz	x8, LBB0_5
LBB0_4:
Lloh13:
	adrp	x8, _PAM_LOG_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PAM_LOG_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_openpam_log
Lloh18:
	adrp	x8, _PAM_SYSTEM_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PAM_SYSTEM_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_RETURNC
LBB0_5:
	ldr	w1, [x25]
	mov	x0, x23
	mov	x2, x22
	mov	x3, x21
	bl	_vsnprintf
	stur	w20, [x29, #-88]
	stur	x23, [x29, #-80]
	sub	x8, x29, #88
	stp	xzr, x8, [x29, #-104]
	ldr	x8, [x24]
	ldr	w3, [x24, #8]
	sub	x1, x29, #96
	sub	x2, x29, #104
	mov	w0, #1
	blr	x8
	mov	x20, x0
	ldur	x0, [x29, #-104]
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x0]
	b	LBB0_8
LBB0_7:
	mov	x8, #0
LBB0_8:
	str	x8, [x19]
	bl	_FREE
	mov	x0, x20
	bl	_RETURNC
	ldur	x8, [x29, #-72]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_PAM_MAX_MSG_SIZE,4,2           ; @PAM_MAX_MSG_SIZE
	.comm	_PAM_CONV,4,2                   ; @PAM_CONV
	.comm	_PAM_SUCCESS,4,2                ; @PAM_SUCCESS
	.comm	_PAM_LOG_ERROR,4,2              ; @PAM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no conversation function"

	.comm	_PAM_SYSTEM_ERR,4,2             ; @PAM_SYSTEM_ERR
.subsections_via_symbols
