	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_d2i_AutoPrivateKey
_test_d2i_AutoPrivateKey:               ## @test_d2i_AutoPrivateKey
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_keydata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	8(%rax,%rcx,8), %r13
	movl	16(%rax,%rcx,8), %r15d
	movq	%rbx, -48(%rbp)
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %rsi
	xorl	%edi, %edi
	movq	%r13, %rdx
	callq	_d2i_AutoPrivateKey
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	-48(%rbp), %rdi
	addq	%r13, %rbx
	movq	%rbx, %rsi
	callq	_TEST_ptr_eq
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_EVP_PKEY_id
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_TEST_int_eq
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_3:
	movq	%r12, %rdi
	callq	_EVP_PKEY_free
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_keydata,8,3                    ## @keydata
	.no_dead_strip	_test_d2i_AutoPrivateKey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_d2i_AutoPrivateKey
_test_d2i_AutoPrivateKey:               ; @test_d2i_AutoPrivateKey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _keydata@GOTPAGE
Lloh1:
	ldr	x8, [x8, _keydata@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #24
	smaddl	x8, w0, w9, x8
	ldp	x22, x21, [x8]
	ldr	w20, [x8, #16]
	str	x22, [sp, #8]
	add	x1, sp, #8
	mov	x0, #0
	mov	x2, x21
	bl	_d2i_AutoPrivateKey
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x0, [sp, #8]
	add	x1, x22, x21
	bl	_TEST_ptr_eq
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_EVP_PKEY_id
	mov	x1, x20
	bl	_TEST_int_eq
	cmp	w0, #0
	cset	w20, ne
	b	LBB0_4
LBB0_3:
	mov	w20, #0
LBB0_4:
	mov	x0, x19
	bl	_EVP_PKEY_free
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_keydata,8,3                    ; @keydata
	.no_dead_strip	_test_d2i_AutoPrivateKey
.subsections_via_symbols
