	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_sp80056b_keygen
_test_sp80056b_keygen:                  ## @test_sp80056b_keygen
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_keygen_size@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,4), %r15d
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_RSA_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_rsa_sp800_56b_generate_key
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_rsa_sp800_56b_check_public
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_rsa_sp800_56b_check_private
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$-1, %edx
	movl	%r15d, %ecx
	callq	_rsa_sp800_56b_check_keypair
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
LBB0_5:
	movq	%rbx, %rdi
	callq	_RSA_free
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_keygen_size,8,3                ## @keygen_size
	.no_dead_strip	_test_sp80056b_keygen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_sp80056b_keygen
_test_sp80056b_keygen:                  ; @test_sp80056b_keygen
	.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
Lloh0:
	adrp	x8, _keygen_size@GOTPAGE
Lloh1:
	ldr	x8, [x8, _keygen_size@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w20, [x8, w0, sxtw #2]
	bl	_RSA_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	bl	_rsa_sp800_56b_generate_key
	bl	_TEST_true
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_rsa_sp800_56b_check_public
	bl	_TEST_true
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_rsa_sp800_56b_check_private
	bl	_TEST_true
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, #0
	mov	w2, #-1
	mov	x3, x20
	bl	_rsa_sp800_56b_check_keypair
	bl	_TEST_true
	cmp	x0, #0
	cset	w20, ne
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	mov	x0, x19
	bl	_RSA_free
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_keygen_size,8,3                ; @keygen_size
	.no_dead_strip	_test_sp80056b_keygen
.subsections_via_symbols
