	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t_pam_conv                     ## -- Begin function t_pam_conv
	.p2align	4, 0x90
_t_pam_conv:                            ## @t_pam_conv
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rcx
	movl	%edi, %ebx
	movl	(%r15), %edx
	cmpl	%edi, %edx
	jne	LBB0_1
## %bb.2:
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.3:
	movq	_PAM_MAX_NUM_MSG@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jl	LBB0_4
## %bb.5:
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	movl	$16, %esi
	callq	_calloc
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_18
## %bb.6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,8), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14,%r12,2), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 8(%rcx,%r12,2)
	addq	$8, %r12
	incl	%r13d
	cmpq	%r12, -80(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_17
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r12), %rax
	movl	(%rax), %r8d
	movq	24(%r15), %rdx
	movl	(%rdx,%r12), %ecx
	cmpl	%ecx, %r8d
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%rax), %edi
	movl	4(%rdx,%r12), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx,%r12), %rax
	movl	(%rax), %edx
	leal	-128(%rdx), %ecx
	cmpl	$4, %ecx
	jae	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movslq	%ecx, %rcx
	leaq	l_reltable.t_pam_conv(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rdi
	addq	%rdx, %rdi
	movl	4(%rax), %esi
	callq	_t_printv
	movq	16(%r15), %r14
	movq	8(%r14,%r12,2), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	callq	_strdup
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r12,2)
	testq	%rax, %rax
	jne	LBB0_16
LBB0_18:
	addq	$8, %r15
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	jmp	LBB0_19
LBB0_1:
	addq	$8, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_asprintf
	jmp	LBB0_24
LBB0_4:
	movq	$0, 8(%r15)
	jmp	LBB0_24
LBB0_17:
	movq	$0, 8(%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_PAM_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_8:
	addq	$8, %r15
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_11:
	movq	24(%r15), %rax
	addq	$8, %r15
	movl	4(%rax,%r12), %ecx
	movq	(%rbx,%r12), %rax
	movl	4(%rax), %r8d
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	movq	%r15, %rdi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_asprintf
	jmp	LBB0_20
LBB0_13:
	addq	$8, %r15
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
LBB0_19:
	xorl	%eax, %eax
	callq	_asprintf
LBB0_20:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	testl	%eax, %eax
	jle	LBB0_23
## %bb.21:
	shlq	$4, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx), %rdi
	callq	_free
	addq	$16, %rbx
	cmpq	%rbx, %r15
	jne	LBB0_22
LBB0_23:
	movq	%r14, %rdi
	callq	_free
LBB0_24:
	movq	_PAM_CONV_ERR@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"expected %d messages, got %d"

	.comm	_PAM_CONV_ERR,4,2               ## @PAM_CONV_ERR
	.comm	_PAM_MAX_NUM_MSG,4,2            ## @PAM_MAX_NUM_MSG
L_.str.1:                               ## @.str.1
	.asciz	"message %d expected style %d got %d"

L_.str.2:                               ## @.str.2
	.asciz	"message %d expected \"%s\" got \"%s\""

L_.str.3:                               ## @.str.3
	.asciz	"[PAM_PROMPT_ECHO_OFF] %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"[PAM_PROMPT_ECHO_ON] %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"[PAM_ERROR_MSG] %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"[PAM_TEXT_INFO] %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"invalid message style %d"

	.comm	_PAM_SUCCESS,4,2                ## @PAM_SUCCESS
L_.str.8:                               ## @.str.8
	.asciz	"%s"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.t_pam_conv
l_reltable.t_pam_conv:
	.long	L_.str.6-l_reltable.t_pam_conv
	.long	L_.str.4-l_reltable.t_pam_conv
	.long	L_.str.3-l_reltable.t_pam_conv
	.long	L_.str.5-l_reltable.t_pam_conv

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t_pam_conv                     ; -- Begin function t_pam_conv
	.p2align	2
_t_pam_conv:                            ; @t_pam_conv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x23, x2
	mov	x19, x0
	ldr	w2, [x3]
	cmp	w2, w0
	b.ne	LBB0_12
; %bb.1:
	cmp	w19, #1
	b.lt	LBB0_13
; %bb.2:
Lloh0:
	adrp	x8, _PAM_MAX_NUM_MSG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAM_MAX_NUM_MSG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.lt	LBB0_13
; %bb.3:
	mov	x22, x1
	mov	x0, x19
	mov	w1, #16
	bl	_calloc
	mov	x20, x0
	cbz	x0, LBB0_11
; %bb.4:
	mov	x26, #0
	mov	w24, #0
	mov	x25, #0
	mov	w8, w19
	lsl	x27, x8, #4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28, x26]
	add	x9, x20, x26
	str	w8, [x9, #8]
	add	x25, x25, #8
	add	w24, w24, #1
	add	x26, x26, #16
	cmp	x27, x26
	b.eq	LBB0_14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x22, x25]
	ldr	w8, [x10]
	ldr	x11, [x21, #24]
	ldr	w9, [x11, x25]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x10, #4]
	add	x8, x11, x25
	ldr	w1, [x8, #4]
	bl	_strcmp
	cbnz	x0, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22, x25]
	ldr	w2, [x8]
	sub	w9, w2, #128
	cmp	w9, #4
	b.hs	LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh3:
	adrp	x10, l_switch.table.t_pam_conv@PAGE
Lloh4:
	add	x10, x10, l_switch.table.t_pam_conv@PAGEOFF
	ldr	x0, [x10, w9, sxtw #3]
	ldr	w1, [x8, #4]
	bl	_t_printv
	ldr	x28, [x21, #16]
	add	x8, x28, x26
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_strdup
	str	x0, [x20, x26]
	cbnz	x0, LBB0_5
LBB0_11:
	add	x21, x21, #8
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.8@PAGE
Lloh9:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	b	LBB0_18
LBB0_12:
	add	x0, x21, #8
	str	x19, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_asprintf
	b	LBB0_22
LBB0_13:
	str	xzr, [x21, #8]
	b	LBB0_22
LBB0_14:
	str	xzr, [x21, #8]
	str	x20, [x23]
Lloh12:
	adrp	x8, _PAM_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PAM_SUCCESS@GOTPAGEOFF]
	b	LBB0_23
LBB0_15:
	add	x0, x21, #8
	stp	x9, x8, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	b	LBB0_18
LBB0_16:
	add	x0, x21, #8
	ldr	x8, [x21, #24]
	add	x8, x8, x25
	ldr	x9, [x22, x25]
	ldr	w8, [x8, #4]
	ldr	w9, [x9, #4]
	stp	x8, x9, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x24
	b	LBB0_18
LBB0_17:
	add	x0, x21, #8
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_18:
	bl	_asprintf
	cmp	w19, #1
	b.lt	LBB0_21
; %bb.19:
	mov	w19, w19
	mov	x21, x20
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21], #16
	bl	_free
	subs	x19, x19, #1
	b.ne	LBB0_20
LBB0_21:
	mov	x0, x20
	bl	_free
LBB0_22:
Lloh20:
	adrp	x8, _PAM_CONV_ERR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PAM_CONV_ERR@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"expected %d messages, got %d"

	.comm	_PAM_CONV_ERR,4,2               ; @PAM_CONV_ERR
	.comm	_PAM_MAX_NUM_MSG,4,2            ; @PAM_MAX_NUM_MSG
l_.str.1:                               ; @.str.1
	.asciz	"message %d expected style %d got %d"

l_.str.2:                               ; @.str.2
	.asciz	"message %d expected \"%s\" got \"%s\""

l_.str.3:                               ; @.str.3
	.asciz	"[PAM_PROMPT_ECHO_OFF] %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"[PAM_PROMPT_ECHO_ON] %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"[PAM_ERROR_MSG] %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"[PAM_TEXT_INFO] %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"invalid message style %d"

	.comm	_PAM_SUCCESS,4,2                ; @PAM_SUCCESS
l_.str.8:                               ; @.str.8
	.asciz	"%s"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.t_pam_conv
l_switch.table.t_pam_conv:
	.quad	l_.str.6
	.quad	l_.str.4
	.quad	l_.str.3
	.quad	l_.str.5

.subsections_via_symbols
