	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_expmodzero
_test_expmodzero:                       ## @test_expmodzero
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:
	movq	%rbx, %rdi
	callq	_BN_zero
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_value_one
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_BN_mod_exp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	movq	%r12, %rdi
	callq	_TEST_BN_eq_zero
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_value_one
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_BN_mod_exp_mont
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.6:
	movq	%r12, %rdi
	callq	_TEST_BN_eq_zero
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_value_one
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_BN_mod_exp_mont_consttime
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	movq	%r12, %rdi
	callq	_TEST_BN_eq_zero
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_value_one
	movq	%r12, %rdi
	movl	$42, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_BN_mod_exp_mont_word
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	movq	%r12, %rdi
	callq	_TEST_BN_eq_zero
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
	jmp	LBB0_13
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	xorl	%r12d, %r12d
LBB0_13:
	movq	%rbx, %rdi
	callq	_BN_free
	movq	%r15, %rdi
	callq	_BN_free
	movq	%r12, %rdi
	callq	_BN_free
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_test_expmodzero
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_expmodzero
_test_expmodzero:                       ; @test_expmodzero
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_BN_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_11
; %bb.1:
	bl	_BN_new
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_12
; %bb.2:
	bl	_BN_new
	mov	x21, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_13
; %bb.3:
	mov	x0, x19
	bl	_BN_zero
	bl	_BN_value_one
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x4, #0
	bl	_BN_mod_exp
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.4:
	mov	x0, x21
	bl	_TEST_BN_eq_zero
	cbz	w0, LBB0_13
; %bb.5:
	bl	_BN_value_one
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x4, #0
	mov	x5, #0
	bl	_BN_mod_exp_mont
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.6:
	mov	x0, x21
	bl	_TEST_BN_eq_zero
	cbz	w0, LBB0_13
; %bb.7:
	bl	_BN_value_one
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x4, #0
	mov	x5, #0
	bl	_BN_mod_exp_mont_consttime
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.8:
	mov	x0, x21
	bl	_TEST_BN_eq_zero
	cbz	w0, LBB0_13
; %bb.9:
	bl	_BN_value_one
	mov	x3, x0
	mov	x0, x21
	mov	w1, #42
	mov	x2, x19
	mov	x4, #0
	mov	x5, #0
	bl	_BN_mod_exp_mont_word
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.10:
	mov	x0, x21
	bl	_TEST_BN_eq_zero
	cmp	w0, #0
	cset	w22, ne
	b	LBB0_14
LBB0_11:
	mov	x20, #0
LBB0_12:
	mov	x21, #0
LBB0_13:
	mov	w22, #0
LBB0_14:
	mov	x0, x19
	bl	_BN_free
	mov	x0, x20
	bl	_BN_free
	mov	x0, x21
	bl	_BN_free
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_test_expmodzero
.subsections_via_symbols
