	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t_prepare
_t_prepare:                             ## @t_prepare
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	_pam_return_so@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_OPENPAM_RESTRICT_MODULE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_openpam_set_feature
	movq	_OPENPAM_VERIFY_MODULE_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_openpam_set_feature
	movq	_OPENPAM_RESTRICT_SERVICE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_openpam_set_feature
	movq	_OPENPAM_VERIFY_POLICY_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_openpam_set_feature
	movq	_OPENPAM_FALLBACK_TO_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_openpam_set_feature
	movq	_empty_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_T
	movq	_mod_return@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_T
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	callq	_t_printv
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PAM_RETURN_SO"

	.comm	_pam_return_so,8,3              ## @pam_return_so
L_.str.1:                               ## @.str.1
	.asciz	"define PAM_RETURN_SO before running these tests\n"

	.comm	_OPENPAM_RESTRICT_MODULE_NAME,4,2 ## @OPENPAM_RESTRICT_MODULE_NAME
	.comm	_OPENPAM_VERIFY_MODULE_FILE,4,2 ## @OPENPAM_VERIFY_MODULE_FILE
	.comm	_OPENPAM_RESTRICT_SERVICE_NAME,4,2 ## @OPENPAM_RESTRICT_SERVICE_NAME
	.comm	_OPENPAM_VERIFY_POLICY_FILE,4,2 ## @OPENPAM_VERIFY_POLICY_FILE
	.comm	_OPENPAM_FALLBACK_TO_OTHER,4,2  ## @OPENPAM_FALLBACK_TO_OTHER
	.comm	_empty_policy,4,2               ## @empty_policy
	.comm	_mod_return,4,2                 ## @mod_return
	.no_dead_strip	_t_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t_prepare
_t_prepare:                             ; @t_prepare
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
Lloh2:
	adrp	x8, _pam_return_so@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pam_return_so@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _OPENPAM_RESTRICT_MODULE_NAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OPENPAM_RESTRICT_MODULE_NAME@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_openpam_set_feature
Lloh8:
	adrp	x8, _OPENPAM_VERIFY_MODULE_FILE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OPENPAM_VERIFY_MODULE_FILE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_openpam_set_feature
Lloh11:
	adrp	x8, _OPENPAM_RESTRICT_SERVICE_NAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OPENPAM_RESTRICT_SERVICE_NAME@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_openpam_set_feature
Lloh14:
	adrp	x8, _OPENPAM_VERIFY_POLICY_FILE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OPENPAM_VERIFY_POLICY_FILE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_openpam_set_feature
Lloh17:
	adrp	x8, _OPENPAM_FALLBACK_TO_OTHER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OPENPAM_FALLBACK_TO_OTHER@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_openpam_set_feature
Lloh20:
	adrp	x8, _empty_policy@GOTPAGE
Lloh21:
	ldr	x8, [x8, _empty_policy@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_T
Lloh23:
	adrp	x8, _mod_return@GOTPAGE
Lloh24:
	ldr	x8, [x8, _mod_return@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_T
	b	LBB0_3
LBB0_2:
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_t_printv
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PAM_RETURN_SO"

	.comm	_pam_return_so,8,3              ; @pam_return_so
l_.str.1:                               ; @.str.1
	.asciz	"define PAM_RETURN_SO before running these tests\n"

	.comm	_OPENPAM_RESTRICT_MODULE_NAME,4,2 ; @OPENPAM_RESTRICT_MODULE_NAME
	.comm	_OPENPAM_VERIFY_MODULE_FILE,4,2 ; @OPENPAM_VERIFY_MODULE_FILE
	.comm	_OPENPAM_RESTRICT_SERVICE_NAME,4,2 ; @OPENPAM_RESTRICT_SERVICE_NAME
	.comm	_OPENPAM_VERIFY_POLICY_FILE,4,2 ; @OPENPAM_VERIFY_POLICY_FILE
	.comm	_OPENPAM_FALLBACK_TO_OTHER,4,2  ; @OPENPAM_FALLBACK_TO_OTHER
	.comm	_empty_policy,4,2               ; @empty_policy
	.comm	_mod_return,4,2                 ; @mod_return
	.no_dead_strip	_t_prepare
.subsections_via_symbols
