	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openpam_load_module            ## -- Begin function openpam_load_module
	.p2align	4, 0x90
_openpam_load_module:                   ## @openpam_load_module
	.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
	movq	%rdi, %r14
	callq	_openpam_dynamic
	movq	%rax, %rbx
	movq	_PAM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testq	%rbx, %rbx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_openpam_log
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	movq	_PAM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_openpam_log
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAM_LOG_DEBUG,4,2              ## @PAM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s dynamic %s"

L_.str.1:                               ## @.str.1
	.asciz	"no"

L_.str.2:                               ## @.str.2
	.asciz	"using"

	.comm	_PAM_LOG_ERROR,4,2              ## @PAM_LOG_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"no %s found"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openpam_load_module            ; -- Begin function openpam_load_module
	.p2align	2
_openpam_load_module:                   ; @openpam_load_module
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_openpam_dynamic
	mov	x20, x0
Lloh0:
	adrp	x8, _PAM_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAM_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, l_.str.2@PAGE
Lloh4:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x20, #0
	csel	x2, x9, x8, eq
	str	x19, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_openpam_log
	cbnz	x20, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _PAM_LOG_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAM_LOG_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_openpam_log
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PAM_LOG_DEBUG,4,2              ; @PAM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s dynamic %s"

l_.str.1:                               ; @.str.1
	.asciz	"no"

l_.str.2:                               ; @.str.2
	.asciz	"using"

	.comm	_PAM_LOG_ERROR,4,2              ; @PAM_LOG_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"no %s found"

.subsections_via_symbols
