	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_smallsafeprime
_test_smallsafeprime:                   ## @test_smallsafeprime
	.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
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_BN_generate_prime_ex
	cmpl	$5, %r15d
	jg	LBB0_4
## %bb.2:
	cmpl	$3, %r15d
	je	LBB0_4
## %bb.3:
	movl	%eax, %edi
	callq	_TEST_false
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_8
LBB0_4:
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_BN_num_bits
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_8
LBB0_7:
	movl	$1, %r14d
LBB0_8:
	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
	.no_dead_strip	_test_smallsafeprime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_smallsafeprime
_test_smallsafeprime:                   ; @test_smallsafeprime
	.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
	mov	x20, x0
	bl	_BN_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_7
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_BN_generate_prime_ex
	cmp	w20, #5
	b.gt	LBB0_4
; %bb.2:
	cmp	w20, #3
	b.eq	LBB0_4
; %bb.3:
	bl	_TEST_false
	cbnz	w0, LBB0_6
	b	LBB0_7
LBB0_4:
	bl	_TEST_true
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_BN_num_bits
	mov	x1, x20
	bl	_TEST_int_eq
	cbz	w0, LBB0_7
LBB0_6:
	mov	w20, #1
	b	LBB0_8
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x19
	bl	_BN_free
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_test_smallsafeprime
.subsections_via_symbols
