	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pam_strerror                   ## -- Begin function pam_strerror
	.p2align	4, 0x90
_pam_strerror:                          ## @pam_strerror
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ecx
	testl	%esi, %esi
	js	LBB0_3
## %bb.1:
	movq	_PAM_NUM_ERRORS@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jle	LBB0_3
## %bb.2:
	movq	_pam_err_text@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %ecx
	movq	(%rax,%rcx,8), %rbx
	jmp	LBB0_4
LBB0_3:
	leaq	_pam_strerror.unknown(%rip), %rbx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_snprintf
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_pam_strerror.unknown,16,4 ## @pam_strerror.unknown
	.comm	_PAM_NUM_ERRORS,4,2             ## @PAM_NUM_ERRORS
	.comm	_pam_err_text,8,3               ## @pam_err_text
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pam_strerror                   ; -- Begin function pam_strerror
	.p2align	2
_pam_strerror:                          ; @pam_strerror
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x3, x1
	tbnz	w1, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _PAM_NUM_ERRORS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAM_NUM_ERRORS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.le	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _pam_err_text@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pam_err_text@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x19, [x8, w3, uxtw #3]
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x19, _pam_strerror.unknown@PAGE
Lloh7:
	add	x19, x19, _pam_strerror.unknown@PAGEOFF
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #16
	bl	_snprintf
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_pam_strerror.unknown,16,0 ; @pam_strerror.unknown
	.comm	_PAM_NUM_ERRORS,4,2             ; @PAM_NUM_ERRORS
	.comm	_pam_err_text,8,3               ; @pam_err_text
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#%d"

.subsections_via_symbols
