	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function openpam_check_error_code
_openpam_check_error_code:              ## @openpam_check_error_code
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_PAM_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_29
## %bb.1:
	movl	%esi, %ecx
	movq	_PAM_SYSTEM_ERR@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_29
## %bb.2:
	movq	_PAM_SERVICE_ERR@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.3:
	movq	_PAM_BUF_ERR@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.4:
	movq	_PAM_CONV_ERR@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.5:
	movq	_PAM_PERM_DENIED@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.6:
	movq	_PAM_ABORT@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.7:
	leal	-128(%rdi), %eax
	cmpl	$5, %eax
	ja	LBB0_30
## %bb.8:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_22:
	movq	_PAM_SESSION_ERR@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_30
	jmp	LBB0_29
LBB0_14:
	movq	_PAM_CRED_UNAVAIL@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.15:
	movq	_PAM_CRED_EXPIRED@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.16:
	movq	_PAM_USER_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.17:
	movq	_PAM_CRED_ERR@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_30
	jmp	LBB0_29
LBB0_23:
	movq	_PAM_AUTHTOK_ERR@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.24:
	movq	_PAM_AUTHTOK_RECOVERY_ERR@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.25:
	movq	_PAM_AUTHTOK_LOCK_BUSY@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.26:
	movq	_PAM_AUTHTOK_DISABLE_AGING@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.27:
	movq	_PAM_TRY_AGAIN@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_30
	jmp	LBB0_29
LBB0_9:
	movq	_PAM_AUTH_ERR@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.10:
	movq	_PAM_CRED_INSUFFICIENT@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.11:
	movq	_PAM_AUTHINFO_UNAVAIL@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.12:
	movq	_PAM_USER_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.13:
	movq	_PAM_MAXTRIES@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_30
	jmp	LBB0_29
LBB0_18:
	movq	_PAM_USER_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.19:
	movq	_PAM_AUTH_ERR@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.20:
	movq	_PAM_NEW_AUTHTOK_REQD@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
## %bb.21:
	movq	_PAM_ACCT_EXPIRED@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_29
LBB0_30:
	movq	_PAM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_pam_sm_func_name@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	%edi, %rsi
	movl	(%rdx,%rsi,4), %edx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	popq	%rbp
	jmp	_openpam_log                    ## TAILCALL
LBB0_29:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_23
	.long	L0_0_set_9
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_PAM_SUCCESS,4,2                ## @PAM_SUCCESS
	.comm	_PAM_SYSTEM_ERR,4,2             ## @PAM_SYSTEM_ERR
	.comm	_PAM_SERVICE_ERR,4,2            ## @PAM_SERVICE_ERR
	.comm	_PAM_BUF_ERR,4,2                ## @PAM_BUF_ERR
	.comm	_PAM_CONV_ERR,4,2               ## @PAM_CONV_ERR
	.comm	_PAM_PERM_DENIED,4,2            ## @PAM_PERM_DENIED
	.comm	_PAM_ABORT,4,2                  ## @PAM_ABORT
	.comm	_PAM_AUTH_ERR,4,2               ## @PAM_AUTH_ERR
	.comm	_PAM_CRED_INSUFFICIENT,4,2      ## @PAM_CRED_INSUFFICIENT
	.comm	_PAM_AUTHINFO_UNAVAIL,4,2       ## @PAM_AUTHINFO_UNAVAIL
	.comm	_PAM_USER_UNKNOWN,4,2           ## @PAM_USER_UNKNOWN
	.comm	_PAM_MAXTRIES,4,2               ## @PAM_MAXTRIES
	.comm	_PAM_CRED_UNAVAIL,4,2           ## @PAM_CRED_UNAVAIL
	.comm	_PAM_CRED_EXPIRED,4,2           ## @PAM_CRED_EXPIRED
	.comm	_PAM_CRED_ERR,4,2               ## @PAM_CRED_ERR
	.comm	_PAM_NEW_AUTHTOK_REQD,4,2       ## @PAM_NEW_AUTHTOK_REQD
	.comm	_PAM_ACCT_EXPIRED,4,2           ## @PAM_ACCT_EXPIRED
	.comm	_PAM_SESSION_ERR,4,2            ## @PAM_SESSION_ERR
	.comm	_PAM_AUTHTOK_ERR,4,2            ## @PAM_AUTHTOK_ERR
	.comm	_PAM_AUTHTOK_RECOVERY_ERR,4,2   ## @PAM_AUTHTOK_RECOVERY_ERR
	.comm	_PAM_AUTHTOK_LOCK_BUSY,4,2      ## @PAM_AUTHTOK_LOCK_BUSY
	.comm	_PAM_AUTHTOK_DISABLE_AGING,4,2  ## @PAM_AUTHTOK_DISABLE_AGING
	.comm	_PAM_TRY_AGAIN,4,2              ## @PAM_TRY_AGAIN
	.comm	_PAM_LOG_ERROR,4,2              ## @PAM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s(): unexpected return value %d"

	.comm	_pam_sm_func_name,8,3           ## @pam_sm_func_name
	.no_dead_strip	_openpam_check_error_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function openpam_check_error_code
_openpam_check_error_code:              ; @openpam_check_error_code
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PAM_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAM_SUCCESS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PAM_SYSTEM_ERR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PAM_SYSTEM_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _PAM_SERVICE_ERR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PAM_SERVICE_ERR@GOTPAGEOFF]
Lloh8:
	adrp	x11, _PAM_BUF_ERR@GOTPAGE
Lloh9:
	ldr	x11, [x11, _PAM_BUF_ERR@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	ldr	w11, [x11]
Lloh12:
	adrp	x12, _PAM_CONV_ERR@GOTPAGE
Lloh13:
	ldr	x12, [x12, _PAM_CONV_ERR@GOTPAGEOFF]
Lloh14:
	adrp	x13, _PAM_PERM_DENIED@GOTPAGE
Lloh15:
	ldr	x13, [x13, _PAM_PERM_DENIED@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
Lloh17:
	ldr	w13, [x13]
Lloh18:
	adrp	x14, _PAM_ABORT@GOTPAGE
Lloh19:
	ldr	x14, [x14, _PAM_ABORT@GOTPAGEOFF]
Lloh20:
	ldr	w14, [x14]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	ccmp	w10, w1, #4, ne
	ccmp	w11, w1, #4, ne
	ccmp	w12, w1, #4, ne
	ccmp	w13, w1, #4, ne
	ccmp	w14, w1, #4, ne
	b.eq	LBB0_24
; %bb.1:
	mov	x3, x1
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_23
; %bb.2:
Lloh21:
	adrp	x9, lJTI0_0@PAGE
Lloh22:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh23:
	adrp	x8, _PAM_SESSION_ERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PAM_SESSION_ERR@GOTPA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OTPAGE
Lloh46:
	ldr	x8, [x8, _PAM_AUTHTOK_DISABLE_AGING@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	cmp	w8, w3
	b.eq	LBB0_24
; %bb.12:
Lloh48:
	adrp	x8, _PAM_TRY_AGAIN@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PAM_TRY_AGAIN@GOTPAGEOFF]
	b	LBB0_22
LBB0_13:
Lloh50:
	adrp	x8, _PAM_AUTH_ERR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _PAM_AUTH_ERR@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cmp	w8, w3
	b.eq	LBB0_24
; %bb.14:
Lloh53:
	adrp	x8, _PAM_CRED_INSUFFICIENT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _PAM_CRED_INSUFFICIENT@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	cmp	w8, w3
	b.eq	LBB0_24
; %bb.15:
Lloh56:
	adrp	x8, _PAM_AUTHINFO_UNAVAIL@GOTPAGE
Lloh57:
	ldr	x8, [x8, _PAM_AUTHINFO_UNAVAIL@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	cmp	w8, w3
	b.eq	LBB0_24
; %bb.16:
Lloh59:
	adrp	x8, _PAM_USER_UNKNOWN@GOTPAGE
Lloh60:
	ldr	x8, [x8, _PAM_USER_UNKNOWN@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	cmp	w8, w3
	b.eq	LBB0_24
; %bb.17:
Lloh62:
	adrp	x8, _PAM_MAXTRIES@GOTPAGE
Lloh63:
	ldr	x8, [x8, _PAM_MAXTRIES@GOTPAGEOFF]
	b	LBB0_22
LBB0_18:
Lloh64:
	adrp	x8, _PAM_USER_UNKNOWN@GOTPAGE
Lloh65:
	ldr	x8, [x8, _PAM_USER_UNKNOWN@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	cmp	w8, w3
	b.eq	LBB0_24
; %bb.19:
Lloh67:
	adrp	x8, _PAM_AUTH_ERR@GOTPAGE
Lloh68:
	ldr	x8, [x8, _PAM_AUTH_ERR@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	cmp	w8, w3
	b.eq	LBB0_24
; %bb.20:
Lloh70:
	adrp	x8, _PAM_NEW_AUTHTOK_REQD@GOTPAGE
Lloh71:
	ldr	x8, [x8, _PAM_NEW_AUTHTOK_REQD@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	cmp	w8, w3
	b.eq	LBB0_24
; %bb.21:
Lloh73:
	adrp	x8, _PAM_ACCT_EXPIRED@GOTPAGE
Lloh74:
	ldr	x8, [x8, _PAM_ACCT_EXPIRED@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	cmp	w8, w3
	b.eq	LBB0_24
LBB0_23:
Lloh75:
	adrp	x8, _PAM_LOG_ERROR@GOTPAGE
Lloh76:
	ldr	x8, [x8, _PAM_LOG_ERROR@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	adrp	x9, _pam_sm_func_name@GOTPAGE
Lloh79:
	ldr	x9, [x9, _pam_sm_func_name@GOTPAGEOFF]
Lloh80:
	ldr	x9, [x9]
	ldr	w2, [x9, w0, sxtw #2]
Lloh81:
	adrp	x1, l_.str@PAGE
Lloh82:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	b	_openpam_log
LBB0_24:
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
                                        ; -- End function
	.comm	_PAM_SUCCESS,4,2                ; @PAM_SUCCESS
	.comm	_PAM_SYSTEM_ERR,4,2             ; @PAM_SYSTEM_ERR
	.comm	_PAM_SERVICE_ERR,4,2            ; @PAM_SERVICE_ERR
	.comm	_PAM_BUF_ERR,4,2                ; @PAM_BUF_ERR
	.comm	_PAM_CONV_ERR,4,2               ; @PAM_CONV_ERR
	.comm	_PAM_PERM_DENIED,4,2            ; @PAM_PERM_DENIED
	.comm	_PAM_ABORT,4,2                  ; @PAM_ABORT
	.comm	_PAM_AUTH_ERR,4,2               ; @PAM_AUTH_ERR
	.comm	_PAM_CRED_INSUFFICIENT,4,2      ; @PAM_CRED_INSUFFICIENT
	.comm	_PAM_AUTHINFO_UNAVAIL,4,2       ; @PAM_AUTHINFO_UNAVAIL
	.comm	_PAM_USER_UNKNOWN,4,2           ; @PAM_USER_UNKNOWN
	.comm	_PAM_MAXTRIES,4,2               ; @PAM_MAXTRIES
	.comm	_PAM_CRED_UNAVAIL,4,2           ; @PAM_CRED_UNAVAIL
	.comm	_PAM_CRED_EXPIRED,4,2           ; @PAM_CRED_EXPIRED
	.comm	_PAM_CRED_ERR,4,2               ; @PAM_CRED_ERR
	.comm	_PAM_NEW_AUTHTOK_REQD,4,2       ; @PAM_NEW_AUTHTOK_REQD
	.comm	_PAM_ACCT_EXPIRED,4,2           ; @PAM_ACCT_EXPIRED
	.comm	_PAM_SESSION_ERR,4,2            ; @PAM_SESSION_ERR
	.comm	_PAM_AUTHTOK_ERR,4,2            ; @PAM_AUTHTOK_ERR
	.comm	_PAM_AUTHTOK_RECOVERY_ERR,4,2   ; @PAM_AUTHTOK_RECOVERY_ERR
	.comm	_PAM_AUTHTOK_LOCK_BUSY,4,2      ; @PAM_AUTHTOK_LOCK_BUSY
	.comm	_PAM_AUTHTOK_DISABLE_AGING,4,2  ; @PAM_AUTHTOK_DISABLE_AGING
	.comm	_PAM_TRY_AGAIN,4,2              ; @PAM_TRY_AGAIN
	.comm	_PAM_LOG_ERROR,4,2              ; @PAM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s(): unexpected return value %d"

	.comm	_pam_sm_func_name,8,3           ; @pam_sm_func_name
	.no_dead_strip	_openpam_check_error_code
.subsections_via_symbols
