	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function testit
_testit:                                ## @testit
	.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	$24, %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_CTX_new
	movq	%rax, %r13
	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
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	$1023, %esi                     ## imm = 0x3FF
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_BN_pseudo_rand
	movq	%r15, %rdi
	movl	$1023, %esi                     ## imm = 0x3FF
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_BN_pseudo_rand
	movq	%r12, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_BN_pseudo_rand
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_BN_cmp
	testq	%rax, %rax
	jle	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rbx
	movq	%r13, %r15
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_BN_mod
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_UB_mod_exp
	movq	%r13, %rdi
	movq	%r15, %r13
	movq	%rbx, %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	callq	_BN_free
	jmp	LBB0_3
LBB0_2:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_UB_mod_exp
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_BN_mod_exp
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_BN_cmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_show_result
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_free
	movq	%rbx, %rdi
	callq	_BN_free
	movq	%r12, %rdi
	callq	_BN_free
	movq	%r15, %rdi
	callq	_BN_free
	movq	%r14, %rdi
	callq	_BN_free
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BN_CTX_free                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_testit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function testit
_testit:                                ; @testit
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_BN_CTX_new
	mov	x19, x0
	bl	_BN_new
	mov	x20, x0
	bl	_BN_new
	mov	x21, x0
	bl	_BN_new
	mov	x22, x0
	bl	_BN_new
	mov	x23, x0
	bl	_BN_new
	mov	x24, x0
	mov	x0, x20
	mov	w1, #1023
	mov	w2, #0
	mov	w3, #0
	bl	_BN_pseudo_rand
	mov	x0, x21
	mov	w1, #1023
	mov	w2, #0
	mov	w3, #0
	bl	_BN_pseudo_rand
	mov	x0, x22
	mov	w1, #1024
	mov	w2, #0
	mov	w3, #0
	bl	_BN_pseudo_rand
	mov	x0, x20
	mov	x1, x22
	bl	_BN_cmp
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
	bl	_BN_new
	mov	x25, x0
	mov	x1, x20
	mov	x2, x22
	mov	x3, x19
	bl	_BN_mod
	mov	x0, x24
	mov	x1, x25
	mov	x2, x21
	mov	x3, x22
	bl	_UB_mod_exp
	mov	x0, x25
	bl	_BN_free
	b	LBB0_3
LBB0_2:
	mov	x0, x24
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_UB_mod_exp
LBB0_3:
	mov	x0, x23
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, x19
	bl	_BN_mod_exp
	mov	x0, x23
	mov	x1, x24
	bl	_BN_cmp
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_show_result
LBB0_5:
	mov	x0, x24
	bl	_BN_free
	mov	x0, x23
	bl	_BN_free
	mov	x0, x22
	bl	_BN_free
	mov	x0, x21
	bl	_BN_free
	mov	x0, x20
	bl	_BN_free
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_BN_CTX_free
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_testit
.subsections_via_symbols
