	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_expmodone
_test_expmodone:                        ## @test_expmodone
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_23
## %bb.1:
	movq	%r14, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_23
## %bb.2:
	movq	%r15, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_23
## %bb.3:
	movq	%r15, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_23
## %bb.4:
	movq	%r12, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_23
## %bb.5:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_23
## %bb.6:
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_23
## %bb.7:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_23
## %bb.8:
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_BN_mod_exp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_23
## %bb.9:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_TEST_BN_eq_zero
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_23
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_BN_mod_exp_mont
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_23
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_TEST_BN_eq_zero
	testl	%eax, %eax
	je	LBB0_23
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_BN_mod_exp_mont_consttime
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_TEST_BN_eq_zero
	testl	%eax, %eax
	je	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_BN_mod_exp_mont_word
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_TEST_BN_eq_zero
	testl	%eax, %eax
	je	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_BN_mod_exp_simple
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_TEST_BN_eq_zero
	testl	%eax, %eax
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_BN_mod_exp_recp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_TEST_BN_eq_zero
	testl	%eax, %eax
	sete	%cl
	orb	-44(%rbp), %cl                  ## 1-byte Folded Reload
	testb	$1, %cl
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_BN_set_negative
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_BN_mod_exp
	movl	%eax, %edi
	callq	_TEST_true
	movb	$1, %cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_23
LBB0_22:
	xorl	%r13d, %r13d
	testl	%eax, %eax
	setne	%r13b
LBB0_23:
	movq	%rbx, %rdi
	callq	_BN_free
	movq	%r14, %rdi
	callq	_BN_free
	movq	%r15, %rdi
	callq	_BN_free
	movq	%r12, %rdi
	callq	_BN_free
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_test_expmodone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_expmodone
_test_expmodone:                        ; @test_expmodone
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_BN_new
	mov	x19, x0
	bl	_BN_new
	mov	x20, x0
	bl	_BN_new
	mov	x21, x0
	bl	_BN_new
	mov	x22, x0
	mov	x0, x19
	bl	_TEST_ptr
	cbz	w0, LBB0_22
; %bb.1:
	mov	x0, x20
	bl	_TEST_ptr
	cbz	w0, LBB0_22
; %bb.2:
	mov	x0, x21
	bl	_TEST_ptr
	cbz	w0, LBB0_22
; %bb.3:
	mov	x0, x21
	bl	_TEST_ptr
	cbz	w0, LBB0_22
; %bb.4:
	mov	x0, x22
	bl	_TEST_ptr
	cbz	w0, LBB0_22
; %bb.5:
	mov	x0, x20
	mov	w1, #1
	bl	_BN_set_word
	bl	_TEST_true
	cbz	w0, LBB0_22
; %bb.6:
	mov	x0, x21
	mov	w1, #0
	bl	_BN_set_word
	bl	_TEST_true
	cbz	w0, LBB0_22
; %bb.7:
	mov	x0, x22
	mov	w1, #1
	bl	_BN_set_word
	bl	_TEST_true
	cbz	w0, LBB0_22
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, #0
	bl	_BN_mod_exp
	bl	_TEST_true
	cbz	w0, LBB0_22
; %bb.9:
	mov	w24, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_TEST_BN_eq_zero
	cbz	w0, LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, #0
	mov	x5, #0
	bl	_BN_mod_exp_mont
	bl	_TEST_true
	cbz	w0, LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_TEST_BN_eq_zero
	cbz	w0, LBB0_22
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, #0
	mov	x5, #0
	bl	_BN_mod_exp_mont_consttime
	bl	_TEST_true
	cbz	w0, LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_TEST_BN_eq_zero
	cbz	w0, LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	w1, #1
	mov	x2, x21
	mov	x3, x22
	mov	x4, #0
	mov	x5, #0
	bl	_BN_mod_exp_mont_word
	bl	_TEST_true
	cbz	w0, LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_TEST_BN_eq_zero
	cbz	w0, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, #0
	bl	_BN_mod_exp_simple
	bl	_TEST_true
	cbz	w0, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_TEST_BN_eq_zero
	cbz	w0, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, #0
	bl	_BN_mod_exp_recp
	bl	_TEST_true
	cbz	w0, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_TEST_BN_eq_zero
	cmp	w0, #0
	cset	w8, eq
	orr	w8, w8, w24
	tbnz	w8, #0, LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w24, #1
	mov	x0, x22
	mov	w1, #1
	bl	_BN_set_negative
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, #0
	bl	_BN_mod_exp
	bl	_TEST_true
	mov	w23, #0
	cbnz	w0, LBB0_10
	b	LBB0_23
LBB0_22:
	mov	w23, #0
LBB0_23:
	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
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_24:
	cset	w23, ne
	b	LBB0_23
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_test_expmodone
.subsections_via_symbols
