	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pam_setcred                    ## -- Begin function pam_setcred
	.p2align	4, 0x90
_pam_setcred:                           ## @pam_setcred
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_ENTER
	movq	_PAM_SILENT@GOTPCREL(%rip), %rax
	movq	_PAM_ESTABLISH_CRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_PAM_DELETE_CRED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PAM_REINITIALIZE_CRED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PAM_REFRESH_CRED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	notl	%ecx
	testl	%ebx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_PAM_BAD_CONSTANT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RETURNC
LBB0_2:
	movq	_PAM_SM_SETCRED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_openpam_dispatch
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_RETURNC                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAM_SILENT,4,2                 ## @PAM_SILENT
	.comm	_PAM_ESTABLISH_CRED,4,2         ## @PAM_ESTABLISH_CRED
	.comm	_PAM_DELETE_CRED,4,2            ## @PAM_DELETE_CRED
	.comm	_PAM_REINITIALIZE_CRED,4,2      ## @PAM_REINITIALIZE_CRED
	.comm	_PAM_REFRESH_CRED,4,2           ## @PAM_REFRESH_CRED
	.comm	_PAM_BAD_CONSTANT,4,2           ## @PAM_BAD_CONSTANT
	.comm	_PAM_SM_SETCRED,4,2             ## @PAM_SM_SETCRED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pam_setcred                    ; -- Begin function pam_setcred
	.p2align	2
_pam_setcred:                           ; @pam_setcred
	.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	x19, x1
	mov	x20, x0
	bl	_ENTER
Lloh0:
	adrp	x8, _PAM_SILENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAM_SILENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PAM_ESTABLISH_CRED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PAM_ESTABLISH_CRED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _PAM_DELETE_CRED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PAM_DELETE_CRED@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _PAM_REINITIALIZE_CRED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PAM_REINITIALIZE_CRED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _PAM_REFRESH_CRED@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PAM_REFRESH_CRED@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bics	wzr, w19, w8
	b.eq	LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, _PAM_BAD_CONSTANT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PAM_BAD_CONSTANT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_RETURNC
LBB0_2:
Lloh18:
	adrp	x8, _PAM_SM_SETCRED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PAM_SM_SETCRED@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_openpam_dispatch
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_RETURNC
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PAM_SILENT,4,2                 ; @PAM_SILENT
	.comm	_PAM_ESTABLISH_CRED,4,2         ; @PAM_ESTABLISH_CRED
	.comm	_PAM_DELETE_CRED,4,2            ; @PAM_DELETE_CRED
	.comm	_PAM_REINITIALIZE_CRED,4,2      ; @PAM_REINITIALIZE_CRED
	.comm	_PAM_REFRESH_CRED,4,2           ; @PAM_REFRESH_CRED
	.comm	_PAM_BAD_CONSTANT,4,2           ; @PAM_BAD_CONSTANT
	.comm	_PAM_SM_SETCRED,4,2             ; @PAM_SM_SETCRED
.subsections_via_symbols
