	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_is_composite_enhanced
_test_is_composite_enhanced:            ## @test_is_composite_enhanced
	.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
	movl	%edi, %r15d
	movl	$0, -28(%rbp)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_composites@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r15d, %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r14d, %r14d
	leaq	-28(%rbp), %r9
	movq	%rbx, %rdi
	movl	$10, %esi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_bn_miller_rabin_is_prime
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-28(%rbp), %edi
	movq	_BN_PRIMETEST_PROBABLY_PRIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TEST_int_ne
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
LBB0_4:
	movq	%rbx, %rdi
	callq	_BN_free
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_composites,8,3                 ## @composites
	.comm	_ctx,4,2                        ## @ctx
	.comm	_BN_PRIMETEST_PROBABLY_PRIME,4,2 ## @BN_PRIMETEST_PROBABLY_PRIME
	.no_dead_strip	_test_is_composite_enhanced
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_is_composite_enhanced
_test_is_composite_enhanced:            ; @test_is_composite_enhanced
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	str	wzr, [sp, #12]
	bl	_BN_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _composites@GOTPAGE
Lloh1:
	ldr	x8, [x8, _composites@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w1, [x8, w20, sxtw #2]
	mov	x0, x19
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _ctx@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x5, sp, #12
	mov	x0, x19
	mov	w1, #10
	mov	x3, #0
	mov	w4, #1
	bl	_bn_miller_rabin_is_prime
	bl	_TEST_true
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [sp, #12]
Lloh6:
	adrp	x8, _BN_PRIMETEST_PROBABLY_PRIME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BN_PRIMETEST_PROBABLY_PRIME@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_TEST_int_ne
	cmp	x0, #0
	cset	w20, ne
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, x19
	bl	_BN_free
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_composites,8,3                 ; @composites
	.comm	_ctx,4,2                        ; @ctx
	.comm	_BN_PRIMETEST_PROBABLY_PRIME,4,2 ; @BN_PRIMETEST_PROBABLY_PRIME
	.no_dead_strip	_test_is_composite_enhanced
.subsections_via_symbols
