	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PrepareAuthenticationTest      ## -- Begin function PrepareAuthenticationTest
	.p2align	4, 0x90
_PrepareAuthenticationTest:             ## @PrepareAuthenticationTest
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	movl	$25, %esi
	movl	%ebx, %ecx
	callq	_snprintf
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	callq	_ActivateOption
	movq	_key_cnt@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$4, %edi
	callq	_emalloc
	movq	_key_ptr@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	movq	$0, 16(%rax)
	movl	%ebx, (%rax)
	movl	%r15d, 4(%rax)
	movl	12(%rax), %ebx
	movq	%r12, %rdi
	callq	_strlen
	leal	1(%rax), %edx
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_memcpy
	xorl	%edi, %edi
	cmpl	$4, %r15d
	setb	%dil
	callq	_TEST_ASSERT_TRUE
	movq	(%r13), %rax
	movl	4(%rax), %edx
	movl	8(%rax), %edi
	movq	%r14, %rsi
	callq	_memcpy
	movq	_restoreKeyDb@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

L_.str.1:                               ## @.str.1
	.asciz	"-a"

	.comm	_key_cnt,4,2                    ## @key_cnt
	.comm	_key_ptr,8,3                    ## @key_ptr
	.comm	_restoreKeyDb,4,2               ## @restoreKeyDb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PrepareAuthenticationTest      ; -- Begin function PrepareAuthenticationTest
	.p2align	2
_PrepareAuthenticationTest:             ; @PrepareAuthenticationTest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #15
	mov	w1, #25
	mov	x3, x22
	bl	_snprintf
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #15
	bl	_ActivateOption
Lloh7:
	adrp	x8, _key_cnt@GOTPAGE
Lloh8:
	ldr	x8, [x8, _key_cnt@GOTPAGEOFF]
	mov	w23, #1
Lloh9:
	str	w23, [x8]
	mov	w0, #4
	bl	_emalloc
Lloh10:
	adrp	x24, _key_ptr@GOTPAGE
Lloh11:
	ldr	x24, [x24, _key_ptr@GOTPAGEOFF]
	str	x0, [x24]
	str	xzr, [x0, #16]
	stp	w22, w21, [x0]
	ldr	w22, [x0, #12]
	mov	x0, x20
	bl	_strlen
	add	w2, w0, #1
	mov	x0, x22
	mov	x1, x20
	bl	_memcpy
	cmp	w21, #4
	cset	w0, lo
	bl	_TEST_ASSERT_TRUE
	ldr	x8, [x24]
	ldp	w2, w0, [x8, #4]
	mov	x1, x19
	bl	_memcpy
Lloh12:
	adrp	x8, _restoreKeyDb@GOTPAGE
Lloh13:
	ldr	x8, [x8, _restoreKeyDb@GOTPAGEOFF]
Lloh14:
	str	w23, [x8]
	ldr	x8, [sp, #40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

l_.str.1:                               ; @.str.1
	.asciz	"-a"

	.comm	_key_cnt,4,2                    ; @key_cnt
	.comm	_key_ptr,8,3                    ; @key_ptr
	.comm	_restoreKeyDb,4,2               ; @restoreKeyDb
.subsections_via_symbols
