	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_check_prime_factor
_test_check_prime_factor:               ## @test_check_prime_factor
	.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
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	leaq	_test_check_prime_factor.p1(%rip), %rdi
	movl	$5, %esi
	callq	_bn_load_new
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	leaq	_test_check_prime_factor.p2(%rip), %rdi
	movl	$5, %esi
	callq	_bn_load_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	leaq	_test_check_prime_factor.p3(%rip), %rdi
	movl	$5, %esi
	callq	_bn_load_new
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_18
## %bb.5:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_19
## %bb.6:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_19
## %bb.7:
	movq	%r15, %rbx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$72, %edx
	movq	%r12, %rcx
	callq	_rsa_check_prime_factor
	movl	%eax, %edi
	callq	_TEST_false
	testq	%rax, %rax
	je	LBB0_24
## %bb.8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	$72, %edx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rcx
	callq	_rsa_check_prime_factor
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_22
## %bb.9:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_22
## %bb.10:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	$72, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_rsa_check_prime_factor
	movl	%eax, %edi
	callq	_TEST_false
	testq	%rax, %rax
	je	LBB0_22
## %bb.11:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_23
## %bb.12:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$72, %edx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_rsa_check_prime_factor
	movl	%eax, %edi
	callq	_TEST_false
	movq	%rbx, %rdi
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_13:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	jmp	LBB0_21
LBB0_14:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_15:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_16:
	xorl	%edi, %edi
	xorl	%r14d, %r14d
	jmp	LBB0_21
LBB0_17:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_20
LBB0_18:
	xorl	%r12d, %r12d
LBB0_19:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_20:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_21:
	callq	_BN_free
	movq	%rbx, %rdi
	callq	_BN_free
	movq	%r15, %rdi
	callq	_BN_free
	movq	%r13, %rdi
	callq	_BN_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_free
	movq	%r12, %rdi
	callq	_BN_CTX_free
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	%rbx, %r15
LBB0_23:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_24:
	movq	%rbx, %r15
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_test_check_prime_factor.p1:            ## @test_check_prime_factor.p1
	.ascii	"\013PO3s"

_test_check_prime_factor.p2:            ## @test_check_prime_factor.p2
	.ascii	"\013PO3u"

_test_check_prime_factor.p3:            ## @test_check_prime_factor.p3
	.ascii	"\017P\000\003u"

	.no_dead_strip	_test_check_prime_factor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_check_prime_factor
_test_check_prime_factor:               ; @test_check_prime_factor
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	bl	_BN_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_13
; %bb.1:
Lloh0:
	adrp	x0, _test_check_prime_factor.p1@PAGE
Lloh1:
	add	x0, x0, _test_check_prime_factor.p1@PAGEOFF
	mov	w1, #5
	bl	_bn_load_new
	mov	x20, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_14
; %bb.2:
Lloh2:
	adrp	x0, _test_check_prime_factor.p2@PAGE
Lloh3:
	add	x0, x0, _test_check_prime_factor.p2@PAGEOFF
	mov	w1, #5
	bl	_bn_load_new
	mov	x21, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_19
; %bb.3:
Lloh4:
	adrp	x0, _test_check_prime_factor.p3@PAGE
Lloh5:
	add	x0, x0, _test_check_prime_factor.p3@PAGEOFF
	mov	w1, #5
	bl	_bn_load_new
	mov	x23, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_20
; %bb.4:
	bl	_BN_new
	mov	x22, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_21
; %bb.5:
	bl	_BN_CTX_new
	mov	x24, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_17
; %bb.6:
	mov	x0, x22
	mov	w1, #1
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_17
; %bb.7:
	mov	x0, x20
	mov	x1, x22
	mov	w2, #72
	mov	x3, x24
	bl	_rsa_check_prime_factor
	bl	_TEST_false
	cbz	x0, LBB0_17
; %bb.8:
	mov	x0, x21
	mov	x1, x22
	mov	w2, #72
	mov	x3, x24
	bl	_rsa_check_prime_factor
	bl	_TEST_true
	cbz	x0, LBB0_17
; %bb.9:
	mov	x0, x22
	mov	w1, #2
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_17
; %bb.10:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #72
	mov	x3, x24
	bl	_rsa_check_prime_factor
	bl	_TEST_false
	cbz	x0, LBB0_17
; %bb.11:
	mov	x0, x22
	mov	w1, #1
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_17
; %bb.12:
	mov	x0, x23
	mov	x1, x22
	mov	w2, #72
	mov	x3, x24
	bl	_rsa_check_prime_factor
	bl	_TEST_false
	cmp	x0, #0
	cset	w25, ne
	b	LBB0_18
LBB0_13:
	mov	x24, #0
	mov	x22, #0
	mov	x20, #0
	b	LBB0_15
LBB0_14:
	mov	x24, #0
	mov	x22, #0
LBB0_15:
	mov	x21, #0
LBB0_16:
	mov	x23, #0
LBB0_17:
	mov	w25, #0
LBB0_18:
	mov	x0, x23
	bl	_BN_free
	mov	x0, x21
	bl	_BN_free
	mov	x0, x20
	bl	_BN_free
	mov	x0, x22
	bl	_BN_free
	mov	x0, x19
	bl	_BN_free
	mov	x0, x24
	bl	_BN_CTX_free
	mov	x0, x25
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_19:
	mov	x24, #0
	mov	x22, #0
	b	LBB0_16
LBB0_20:
	mov	x24, #0
	mov	x22, #0
	b	LBB0_17
LBB0_21:
	mov	x24, #0
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_test_check_prime_factor.p1:            ; @test_check_prime_factor.p1
	.ascii	"\013PO3s"

_test_check_prime_factor.p2:            ; @test_check_prime_factor.p2
	.ascii	"\013PO3u"

_test_check_prime_factor.p3:            ; @test_check_prime_factor.p3
	.ascii	"\017P\000\003u"

	.no_dead_strip	_test_check_prime_factor
.subsections_via_symbols
