	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_div_recip
_test_div_recip:                        ## @test_div_recip
	.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	%eax, %eax
	callq	_BN_new
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	xorl	%eax, %eax
	callq	_BN_RECP_CTX_new
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_14
## %bb.17:
	movq	_NUM0@GOTPCREL(%rip), %rcx
	movq	_NUM1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	jle	LBB0_18
## %bb.21:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	$50, %esi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, %r15d
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	jge	LBB0_32
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r12, %rdi
	movl	$400, %esi                      ## imm = 0x190
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_BN_bntest_rand
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_38
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_BN_copy
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_33
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r12, %rdi
	movq	%r12, %rsi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_BN_lshift
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_33
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_BN_add_word
	jmp	LBB0_27
LBB0_32:                                ##   in Loop: Header=BB0_22 Depth=1
	leal	(%rax,%rax,2), %eax
	subl	%eax, %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_BN_bntest_rand
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_33
## %bb.28:                              ##   in Loop: Header=BB0_22 Depth=1
	xorl	%eax, %eax
	callq	_rand_neg
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_BN_set_negative
	xorl	%eax, %eax
	callq	_rand_neg
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_BN_set_negative
	movq	_ctx@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_BN_RECP_CTX_set
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	(%r15), %r8d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_BN_div_recp
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_38
## %bb.30:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r15, %rax
	movq	%r13, %r15
	movl	(%rax), %ecx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_BN_mul
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_31
## %bb.34:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_BN_add
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_BN_sub
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_35
## %bb.37:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rdi
	callq	_TEST_BN_eq_zero
	testq	%rax, %rax
	movq	%r15, %r13
	je	LBB0_38
## %bb.19:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	incl	%r15d
	movq	_NUM1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_NUM0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	addl	$3, %esi
	cmpl	%ecx, %r15d
	jl	LBB0_22
## %bb.20:
	movq	%rbx, %rcx
	movq	%r13, %rbx
	movl	$1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rcx, %r12
	jmp	LBB0_40
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%r14d, %r14d
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
LBB0_4:
	xorl	%r15d, %r15d
LBB0_5:
	xorl	%r12d, %r12d
LBB0_6:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
LBB0_42:
	callq	_BN_free
	movq	%r14, %rdi
	callq	_BN_free
	movq	%r15, %rdi
	callq	_BN_free
	movq	%r12, %rdi
	callq	_BN_free
	movq	%r13, %rdi
	callq	_BN_free
	movq	%rbx, %rdi
	callq	_BN_RECP_CTX_free
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	jmp	LBB0_5
LBB0_10:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %r12
	jmp	LBB0_6
LBB0_12:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %r12
	xorl	%ebx, %ebx
	movq	%r15, %r13
	jmp	LBB0_41
LBB0_14:
	movq	%rbx, %rcx
	movq	%r13, %rbx
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_18:
	movq	%rbx, %rcx
	movq	%r13, %rbx
	movl	$1, %eax
LBB0_15:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rcx, %r12
	movq	%r15, %r13
	jmp	LBB0_41
LBB0_33:
	movq	%r12, %rdi
	movq	%r13, %rbx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_40
LBB0_38:
	movq	%r12, %rdi
	movq	%rbx, %r12
	movq	%r13, %rbx
	jmp	LBB0_39
LBB0_35:
	movq	%r12, %rdi
	movq	%rbx, %r12
	movq	%r15, %rbx
LBB0_39:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_40:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_41:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_42
LBB0_31:
	movq	%r12, %rdi
	movq	%rbx, %r12
	movq	%r15, %rbx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM0,4,2                       ## @NUM0
	.comm	_NUM1,4,2                       ## @NUM1
	.comm	_ctx,4,2                        ## @ctx
	.no_dead_strip	_test_div_recip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_div_recip
_test_div_recip:                        ; @test_div_recip
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_BN_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_22
; %bb.1:
	bl	_BN_new
	mov	x20, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_23
; %bb.2:
	bl	_BN_new
	mov	x21, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_24
; %bb.3:
	bl	_BN_new
	mov	x22, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_25
; %bb.4:
	bl	_BN_new
	mov	x23, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_26
; %bb.5:
	bl	_BN_RECP_CTX_new
	mov	x24, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_27
; %bb.6:
Lloh0:
	adrp	x8, _NUM0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM0@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _NUM1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NUM1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w9, w8, w9
	cmp	w9, #1
	b.lt	LBB0_29
; %bb.7:
	mov	w25, #0
	mov	w27, #50
Lloh6:
	adrp	x28, _ctx@GOTPAGE
Lloh7:
	ldr	x28, [x28, _ctx@GOTPAGEOFF]
	mov	w26, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w25, w8
	b.ge	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	w1, #400
	mov	w2, #0
	mov	w3, #0
	bl	_BN_bntest_rand
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_BN_copy
	bl	_TEST_ptr
	cbz	x0, LBB0_27
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x19
	mov	x2, x25
	bl	_BN_lshift
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_BN_add_word
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	w8, w8, w8, lsl #2
	add	w1, w27, w8
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_BN_bntest_rand
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_rand_neg
	mov	x1, x0
	mov	x0, x19
	bl	_BN_set_negative
	bl	_rand_neg
	mov	x1, x0
	mov	x0, x20
	bl	_BN_set_negative
	ldr	w2, [x28]
	mov	x0, x24
	mov	x1, x20
	bl	_BN_RECP_CTX_set
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w4, [x28]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x24
	bl	_BN_div_recp
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w3, [x28]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_BN_mul
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	bl	_BN_add
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	mov	x1, x22
	mov	x2, x19
	bl	_BN_sub
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_TEST_BN_eq_zero
	cbz	x0, LBB0_27
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w25, w25, #1
Lloh8:
	adrp	x8, _NUM0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NUM0@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x8]
Lloh11:
	adrp	x8, _NUM1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NUM1@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	w27, w27, #3
	add	w9, w8, w9
	cmp	w25, w9
	b.lt	LBB0_8
	b	LBB0_28
LBB0_22:
	mov	x20, #0
LBB0_23:
	mov	x21, #0
LBB0_24:
	mov	x22, #0
LBB0_25:
	mov	x23, #0
LBB0_26:
	mov	x24, #0
LBB0_27:
	mov	w26, #0
LBB0_28:
	mov	x0, x19
	bl	_BN_free
	mov	x0, x20
	bl	_BN_free
	mov	x0, x21
	bl	_BN_free
	mov	x0, x22
	bl	_BN_free
	mov	x0, x23
	bl	_BN_free
	mov	x0, x24
	bl	_BN_RECP_CTX_free
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_29:
	mov	w26, #1
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM0,4,2                       ; @NUM0
	.comm	_NUM1,4,2                       ; @NUM1
	.comm	_ctx,4,2                        ; @ctx
	.no_dead_strip	_test_div_recip
.subsections_via_symbols
