	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_exptmod                 ## -- Begin function mp_int_exptmod
	.p2align	4, 0x90
_mp_int_exptmod:                        ## @mp_int_exptmod
	.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, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	testq	%rdi, %rdi
	setne	%al
	testq	%rsi, %rsi
	setne	%cl
	andb	%al, %cl
	testq	%r14, %r14
	setne	%al
	testq	%rdx, %rdx
	setne	%dl
	andb	%al, %dl
	andb	%cl, %dl
	movzbl	%dl, %edi
	callq	_assert
	movq	%rbx, %rdi
	callq	_CMPZ
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	callq	_CMPZ
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_MP_USED
	movl	%eax, %r13d
	movl	$3, %edi
	callq	_DECLARE_TEMP
	xorl	%edi, %edi
	callq	_TEMP
	addl	%r13d, %r13d
	movq	%rax, %rdi
	movl	%r13d, %esi
	callq	_GROW
	movl	%eax, %edi
	callq	_REQUIRE
	movl	$1, %edi
	callq	_TEMP
	movq	%rax, %rdi
	movl	%r13d, %esi
	callq	_GROW
	movl	%eax, %edi
	callq	_REQUIRE
	cmpq	%r15, %r14
	je	LBB0_6
## %bb.5:
	movq	%r14, %rax
	cmpq	%rbx, %r14
	jne	LBB0_7
LBB0_6:
	movl	$2, %edi
	callq	_TEMP
	movq	%rax, %rdi
	movl	%r13d, %esi
	callq	_GROW
	movl	%eax, %edi
	callq	_REQUIRE
	movl	$2, %edi
	callq	_TEMP
LBB0_7:
	movq	%rax, %r13
	xorl	%edi, %edi
	callq	_TEMP
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_mp_int_mod
	movl	%eax, %edi
	callq	_REQUIRE
	movl	$1, %edi
	callq	_TEMP
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_s_brmu
	movl	%eax, %edi
	callq	_REQUIRE
	xorl	%edi, %edi
	callq	_TEMP
	movq	%rax, %r12
	movl	$1, %edi
	callq	_TEMP
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	movq	%r13, %r8
	callq	_s_embar
	movl	%eax, %edi
	callq	_REQUIRE
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_mp_int_copy
	movl	%eax, %edi
	callq	_REQUIRE
	xorl	%eax, %eax
	callq	_CLEANUP_TEMP
	movq	_MP_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_MP_UNDEF@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_MP_RANGE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_UNDEF,4,2                   ## @MP_UNDEF
	.comm	_MP_RANGE,4,2                   ## @MP_RANGE
	.comm	_MP_OK,4,2                      ## @MP_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_exptmod                 ; -- Begin function mp_int_exptmod
	.p2align	2
_mp_int_exptmod:                        ; @mp_int_exptmod
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	cmp	x0, #0
	ccmp	x1, #0, #4, ne
	ccmp	x3, #0, #4, ne
	ccmp	x2, #0, #4, ne
	cset	w0, ne
	bl	_assert
	mov	x0, x20
	bl	_CMPZ
	cbz	x0, LBB0_6
; %bb.1:
	mov	x0, x21
	bl	_CMPZ
	tbnz	x0, #63, LBB0_7
; %bb.2:
	mov	x0, x20
	bl	_MP_USED
	mov	x23, x0
	mov	w0, #3
	bl	_DECLARE_TEMP
	mov	w0, #0
	bl	_TEMP
	lsl	w24, w23, #1
	mov	x1, x24
	bl	_GROW
	bl	_REQUIRE
	mov	w0, #1
	bl	_TEMP
	mov	x1, x24
	bl	_GROW
	bl	_REQUIRE
	cmp	x19, x21
	b.eq	LBB0_4
; %bb.3:
	mov	x23, x19
	cmp	x19, x20
	b.ne	LBB0_5
LBB0_4:
	mov	w0, #2
	bl	_TEMP
	mov	x1, x24
	bl	_GROW
	bl	_REQUIRE
	mov	w0, #2
	bl	_TEMP
	mov	x23, x0
LBB0_5:
	mov	w0, #0
	bl	_TEMP
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_mp_int_mod
	bl	_REQUIRE
	mov	w0, #1
	bl	_TEMP
	mov	x1, x20
	bl	_s_brmu
	bl	_REQUIRE
	mov	w0, #0
	bl	_TEMP
	mov	x22, x0
	mov	w0, #1
	bl	_TEMP
	mov	x3, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x4, x23
	bl	_s_embar
	bl	_REQUIRE
	mov	x0, x23
	mov	x1, x19
	bl	_mp_int_copy
	bl	_REQUIRE
	bl	_CLEANUP_TEMP
Lloh0:
	adrp	x8, _MP_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP_OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh2:
	adrp	x8, _MP_UNDEF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MP_UNDEF@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh4:
	adrp	x8, _MP_RANGE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MP_RANGE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_UNDEF,4,2                   ; @MP_UNDEF
	.comm	_MP_RANGE,4,2                   ; @MP_RANGE
	.comm	_MP_OK,4,2                      ; @MP_OK
.subsections_via_symbols
