	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_pow                         ## -- Begin function mp_pow
	.p2align	4, 0x90
_mp_pow:                                ## @mp_pow
	.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
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	__bnerr
	xorl	%r14d, %r14d
LBB0_3:
	movl	(%r13), %esi
	movl	(%r12), %edx
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%rbx, %r8
	callq	_BN_mod_exp
	leaq	L_.str(%rip), %r15
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_BN_ERRCHECK
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	__moveb
	movq	%r14, %rdi
	callq	_BN_free
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BN_CTX_free                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pow"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_pow                         ; -- Begin function mp_pow
	.p2align	2
_mp_pow:                                ; @mp_pow
	.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
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	bl	_BN_CTX_new
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	bl	_BN_new
	mov	x21, x0
	cbnz	x0, LBB0_3
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__bnerr
	mov	x21, #0
LBB0_3:
	ldr	w1, [x24]
	ldr	w2, [x23]
	ldr	w3, [x22]
	mov	x0, x21
	mov	x4, x19
	bl	_BN_mod_exp
	mov	x1, x0
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	mov	x0, x22
	bl	_BN_ERRCHECK
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	__moveb
	mov	x0, x21
	bl	_BN_free
	mov	x0, x19
	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
	b	_BN_CTX_free
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pow"

.subsections_via_symbols
