	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s_mp_exptmod
_s_mp_exptmod:                          ## @s_mp_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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -72(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r15
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TAB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$4, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r13, %rdi
	callq	_mp_count_bits
	movl	$2, %ecx
	cmpl	$8, %eax
	jl	LBB0_6
## %bb.1:
	movl	$3, %ecx
	cmpl	$37, %eax
	jb	LBB0_6
## %bb.2:
	movl	$4, %ecx
	cmpl	$141, %eax
	jb	LBB0_6
## %bb.3:
	movl	$5, %ecx
	cmpl	$451, %eax                      ## imm = 0x1C3
	jb	LBB0_6
## %bb.4:
	movl	$6, %ecx
	cmpl	$1304, %eax                     ## imm = 0x518
	jb	LBB0_6
## %bb.5:
	cmpl	$3530, %eax                     ## imm = 0xDCA
	movl	$8, %ecx
	sbbl	$0, %ecx
LBB0_6:
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	callq	_mp_init
	movl	%eax, %r12d
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_36
## %bb.7:
	movq	%r13, -144(%rbp)                ## 8-byte Spill
	movq	%r15, -176(%rbp)                ## 8-byte Spill
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	leal	-1(%rdx), %ebx
	movl	$1, %eax
	movl	$1, %r13d
	movl	%ebx, %ecx
	shll	%cl, %r13d
	movl	%edx, %ecx
	shll	%cl, %eax
	movl	%r13d, -88(%rbp)                ## 4-byte Spill
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	subl	%eax, %r13d
	jae	LBB0_11
## %bb.8:
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	shlq	$4, %rcx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rcx), %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_mp_init
	movl	%eax, %r12d
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	decl	%r14d
	addq	$16, %r15
	cmpl	%r14d, %r13d
	jne	LBB0_9
LBB0_11:
	movl	%ebx, %r15d
	leaq	-136(%rbp), %rdi
	callq	_mp_init
	movl	%eax, %r12d
	movq	_MP_OKAY@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_33
## %bb.12:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_19
## %bb.13:
	leaq	-136(%rbp), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_mp_reduce_2k_setup_l
	movl	%eax, %r12d
	cmpl	(%rbx), %eax
	jne	LBB0_32
## %bb.14:
	movq	_mp_reduce_2k_l@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_15:
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %eax
	subl	%r14d, %eax
	cmpl	%eax, %ecx
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jge	LBB0_18
## %bb.16:
	negl	%r14d
	addq	-112(%rbp), %rbx                ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_mp_clear
	addq	$16, %rbx
	decl	%r14d
	jne	LBB0_17
LBB0_18:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_mp_clear
	jmp	LBB0_36
LBB0_19:
	leaq	-136(%rbp), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_mp_reduce_setup
	movl	%eax, %r12d
	cmpl	(%rbx), %eax
	jne	LBB0_32
## %bb.20:
	movq	_mp_reduce@GOTPCREL(%rip), %rax
LBB0_21:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_mp_mod
	movl	%eax, %r12d
	cmpl	(%rbx), %eax
	jne	LBB0_32
## %bb.22:
	movl	-88(%rbp), %r14d                ## 4-byte Reload
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	shlq	$4, %r14
	addq	-120(%rbp), %r14                ## 8-byte Folded Reload
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_mp_copy
	movl	%eax, %r12d
	cmpl	(%rbx), %eax
	jne	LBB0_32
## %bb.23:
	cmpl	$2, %r15d
	movl	$1, %r13d
	cmovgel	%r15d, %r13d
	leaq	-136(%rbp), %r15
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_mp_sqr
	movq	_MP_OKAY@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_31
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	cmpl	(%rbx), %eax
	jne	LBB0_31
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=1
	decl	%r13d
	jne	LBB0_24
## %bb.27:
	movl	-100(%rbp), %eax                ## 4-byte Reload
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	_MP_OKAY@GOTPCREL(%rip), %rbx
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	cmpq	-112(%rbp), %rax                ## 8-byte Folded Reload
	jae	LBB0_38
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	16(%r14), %r15
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_mp_mul
	cmpl	(%rbx), %eax
	jne	LBB0_57
## %bb.30:                              ##   in Loop: Header=BB0_28 Depth=1
	addq	$16, %r14
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	-136(%rbp), %rdx
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %r12d
	cmpl	(%rbx), %eax
	je	LBB0_28
	jmp	LBB0_32
LBB0_31:
	movl	%eax, %r12d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_32:
	leaq	-136(%rbp), %rdi
	callq	_mp_clear
LBB0_33:
	movq	%r13, %rdi
	callq	_mp_clear
	movl	-100(%rbp), %r14d               ## 4-byte Reload
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%r14d, %ecx
	jae	LBB0_36
## %bb.34:
	movl	%ecx, %eax
	shlq	$4, %rax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	addq	%rax, %rbx
	subl	%ecx, %r14d
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_mp_clear
	addq	$16, %rbx
	decl	%r14d
	jne	LBB0_35
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_75
## %bb.37:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	leaq	-168(%rbp), %rdi
	callq	_mp_init
	movl	%eax, %r12d
	cmpl	(%rbx), %eax
	jne	LBB0_32
## %bb.39:
	leaq	-168(%rbp), %r15
	movl	$1, -96(%rbp)                   ## 4-byte Folded Spill
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_mp_set
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	decl	%eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
LBB0_40:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_41 Depth 2
                                        ##     Child Loop BB0_51 Depth 2
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	-96(%rbp), %edi                 ## 4-byte Reload
LBB0_41:                                ##   Parent Loop BB0_40 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %eax
	decl	%edi
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=2
	movq	_DIGIT_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_45
LBB0_43:                                ##   in Loop: Header=BB0_41 Depth=2
	movl	-112(%rbp), %esi                ## 4-byte Reload
	cmpl	$-1, %esi
	je	LBB0_60
## %bb.44:                              ##   in Loop: Header=BB0_41 Depth=2
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %rcx
	movslq	%esi, %rdx
	decl	%esi
	movl	%esi, -112(%rbp)                ## 4-byte Spill
	movl	(%rcx,%rdx,4), %r14d
	movq	_DIGIT_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edi
LBB0_45:                                ##   in Loop: Header=BB0_41 Depth=2
	decb	%cl
	movzbl	%cl, %ecx
	xorl	%edx, %edx
	btl	%ecx, %r14d
	setb	%dl
	addl	%r14d, %r14d
	xorl	%ecx, %ecx
	movl	%eax, %esi
	orl	%edx, %esi
	je	LBB0_41
## %bb.46:                              ##   in Loop: Header=BB0_41 Depth=2
	movl	%edi, -96(%rbp)                 ## 4-byte Spill
	cmpl	$1, %eax
	jne	LBB0_50
## %bb.47:                              ##   in Loop: Header=BB0_41 Depth=2
	testl	%edx, %edx
	jne	LBB0_50
## %bb.48:                              ##   in Loop: Header=BB0_41 Depth=2
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_mp_sqr
	movq	_MP_OKAY@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_58
## %bb.49:                              ##   in Loop: Header=BB0_41 Depth=2
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	-136(%rbp), %rdx
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	movl	$1, %ecx
	cmpl	(%rbx), %eax
	movl	-96(%rbp), %edi                 ## 4-byte Reload
	je	LBB0_41
	jmp	LBB0_58
LBB0_50:                                ##   in Loop: Header=BB0_40 Depth=1
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	incl	%esi
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %ecx
	subl	%esi, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	orl	%edx, -52(%rbp)                 ## 4-byte Folded Spill
	movl	$2, %ecx
	movl	%eax, %r13d
	movl	%esi, -84(%rbp)                 ## 4-byte Spill
	cmpl	%esi, %eax
	jne	LBB0_40
LBB0_51:                                ##   Parent Loop BB0_40 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_mp_sqr
	movq	%r15, %rdi
	movq	_MP_OKAY@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_56
## %bb.52:                              ##   in Loop: Header=BB0_51 Depth=2
	movq	%rdi, %rbx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	-136(%rbp), %rdx
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	cmpl	(%r15), %eax
	jne	LBB0_56
## %bb.53:                              ##   in Loop: Header=BB0_51 Depth=2
	decl	%r13d
	movq	%rbx, %r15
	jne	LBB0_51
## %bb.54:                              ##   in Loop: Header=BB0_40 Depth=1
	movslq	-52(%rbp), %rsi                 ## 4-byte Folded Reload
	shlq	$4, %rsi
	addq	-120(%rbp), %rsi                ## 8-byte Folded Reload
	movq	%r15, %rdi
	movq	%r15, %rdx
	callq	_mp_mul
	movq	_MP_OKAY@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_40 Depth=1
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	-136(%rbp), %rdx
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	movl	$1, %ecx
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	cmpl	(%rbx), %eax
	je	LBB0_40
LBB0_56:
	movl	%eax, %r12d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_71
LBB0_57:
	movl	%eax, %r12d
	jmp	LBB0_32
LBB0_60:
	cmpl	$2, %eax
	movq	_MP_OKAY@GOTPCREL(%rip), %r15
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_70
## %bb.61:
	testl	%ebx, %ebx
	jle	LBB0_70
## %bb.62:
	leaq	-168(%rbp), %r14
	jmp	LBB0_64
LBB0_63:                                ##   in Loop: Header=BB0_64 Depth=1
	decl	%ebx
	je	LBB0_70
LBB0_64:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_mp_sqr
	cmpl	(%r15), %eax
	jne	LBB0_58
## %bb.65:                              ##   in Loop: Header=BB0_64 Depth=1
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	-136(%rbp), %rdx
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	cmpl	(%r15), %eax
	jne	LBB0_58
## %bb.66:                              ##   in Loop: Header=BB0_64 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%eax, -100(%rbp)                ## 4-byte Folded Reload
	je	LBB0_63
## %bb.67:                              ##   in Loop: Header=BB0_64 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_mp_mul
	cmpl	(%r15), %eax
	jne	LBB0_58
## %bb.68:                              ##   in Loop: Header=BB0_64 Depth=1
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	-136(%rbp), %rdx
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	cmpl	(%r15), %eax
	je	LBB0_63
LBB0_58:
	movl	%eax, %r12d
LBB0_71:
	leaq	-168(%rbp), %rdi
	callq	_mp_clear
	jmp	LBB0_32
LBB0_70:
	leaq	-168(%rbp), %rdi
	movq	-176(%rbp), %rsi                ## 8-byte Reload
	callq	_mp_exch
	movl	(%r15), %r12d
	jmp	LBB0_71
LBB0_75:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TAB_SIZE,4,2                   ## @TAB_SIZE
	.comm	_MP_OKAY,4,2                    ## @MP_OKAY
	.comm	_DIGIT_BIT,4,2                  ## @DIGIT_BIT
	.no_dead_strip	_s_mp_exptmod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s_mp_exptmod
_s_mp_exptmod:                          ; @s_mp_exptmod
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #96
	mov	x25, x4
	mov	x21, x3
	mov	x22, x2
	mov	x26, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _TAB_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TAB_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #4
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x27, x9, x8
	mov	sp, x27
	mov	x0, x1
	bl	_mp_count_bits
	mov	w8, #2
	mov	w9, #3
	mov	w10, #4
	mov	w11, #5
	mov	w12, #6
	cmp	w0, #3530
	mov	w13, #7
	cinc	w13, w13, hs
	cmp	w0, #1304
	csel	w12, w12, w13, lo
	cmp	w0, #451
	csel	w11, w11, w12, lo
	cmp	w0, #141
	csel	w10, w10, w11, lo
	cmp	w0, #37
	csel	w9, w9, w10, lo
	cmp	w0, #8
	csel	w28, w8, w9, lt
	add	x19, x27, #16
	mov	x0, x19
	bl	_mp_init
	mov	x23, x0
Lloh8:
	adrp	x20, _MP_OKAY@GOTPAGE
Lloh9:
	ldr	x20, [x20, _MP_OKAY@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_30
; %bb.1:
	stp	x26, x22, [x29, #-152]          ; 16-byte Folded Spill
	stur	x21, [x29, #-168]               ; 8-byte Folded Spill
	mov	x10, x28
	sub	w28, w28, #1
	mov	w8, #1
	lsl	w9, w8, w28
	stur	w10, [x29, #-156]               ; 4-byte Folded Spill
	lsl	w8, w8, w10
	stp	x19, x9, [x29, #-136]           ; 16-byte Folded Spill
	mov	x21, x8
	subs	w19, w9, w8
	b.hs	LBB0_5
; %bb.2:
	mov	w22, #0
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	add	x26, x27, w8, uxtw #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	bl	_mp_init
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w22, w22, #1
	add	x26, x26, #16
	cmp	w19, w22
	b.ne	LBB0_3
LBB0_5:
	sub	x0, x29, #120
	bl	_mp_init
	mov	x23, x0
	ldr	w8, [x20]
	cmp	w0, w8
	ldur	x19, [x29, #-136]               ; 8-byte Folded Reload
	mov	x22, x21
	b.ne	LBB0_27
; %bb.6:
	cbz	w25, LBB0_13
; %bb.7:
	sub	x1, x29, #120
	ldur	x0, [x29, #-144]                ; 8-byte Folded Reload
	bl	_mp_reduce_2k_setup_l
	mov	x23, x0
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_26
; %bb.8:
Lloh10:
	adrp	x25, _mp_reduce_2k_l@GOTPAGE
Lloh11:
	ldr	x25, [x25, _mp_reduce_2k_l@GOTPAGEOFF]
	b	LBB0_15
LBB0_9:
	mov	x23, x0
	ldur	x9, [x29, #-128]                ; 8-byte Folded Reload
	sub	w8, w9, w22
	cmp	w9, w8
	b.ge	LBB0_12
; %bb.10:
	neg	w19, w22
	add	x20, x27, x9, lsl #4
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_mp_clear
	add	x20, x20, #16
	subs	w19, w19, #1
	b.ne	LBB0_11
LBB0_12:
	ldur	x0, [x29, #-136]                ; 8-byte Folded Reload
	bl	_mp_clear
	b	LBB0_30
LBB0_13:
	sub	x0, x29, #120
	ldur	x1, [x29, #-144]                ; 8-byte Folded Reload
	bl	_mp_reduce_setup
	mov	x23, x0
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_26
; %bb.14:
Lloh12:
	adrp	x25, _mp_reduce@GOTPAGE
Lloh13:
	ldr	x25, [x25, _mp_reduce@GOTPAGEOFF]
LBB0_15:
	mov	x0, x24
	ldur	x1, [x29, #-144]                ; 8-byte Folded Reload
	mov	x2, x19
	bl	_mp_mod
	mov	x23, x0
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_26
; %bb.16:
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	add	x24, x27, w8, uxtw #4
	mov	x0, x19
	mov	x1, x24
	bl	_mp_copy
	mov	x23, x0
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_26
; %bb.17:
	cmp	w28, #1
	csinc	w22, w28, wzr, gt
	ldur	x26, [x29, #-144]               ; 8-byte Folded Reload
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x24
	bl	_mp_sqr
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	sub	x2, x29, #120
	mov	x0, x24
	mov	x1, x26
	blr	x25
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	subs	w22, w22, #1
	b.ne	LBB0_18
; %bb.21:
	ldur	x26, [x29, #-128]               ; 8-byte Folded Reload
	add	x0, x27, x26, lsl #4
	mov	x22, x21
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	add	x26, x26, #1
	cmp	x26, x22
	b.hs	LBB0_32
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	add	x24, x0, #16
	mov	x1, x19
	mov	x2, x24
	bl	_mp_mul
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_51
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	sub	x2, x29, #120
	mov	x0, x24
	ldur	x1, [x29, #-144]                ; 8-byte Folded Reload
	blr	x25
	mov	x23, x0
	ldr	w8, [x20]
	mov	x0, x24
	cmp	w23, w8
	b.eq	LBB0_22
	b	LBB0_26
LBB0_25:
	mov	x23, x0
	mov	x22, x21
LBB0_26:
	sub	x0, x29, #120
	bl	_mp_clear
LBB0_27:
	mov	x0, x19
	bl	_mp_clear
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	cmp	w8, w22
	b.hs	LBB0_30
; %bb.28:
	add	x19, x27, w8, uxtw #4
	sub	w20, w22, w8
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_mp_clear
	add	x19, x19, #16
	subs	w20, w20, #1
	b.ne	LBB0_29
LBB0_30:
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_63
; %bb.31:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_32:
	sub	x0, x29, #104
	bl	_mp_init
	mov	x23, x0
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_26
; %bb.33:
	mov	w26, #1
	sub	x0, x29, #104
	mov	w1, #1
	bl	_mp_set
	mov	w24, #0
	stur	xzr, [x29, #-176]               ; 8-byte Folded Spill
	mov	w8, #0
	ldp	x9, x21, [x29, #-152]           ; 16-byte Folded Reload
	ldr	w9, [x9]
	sub	w28, w9, #1
LBB0_34:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_35 Depth 2
                                        ;     Child Loop BB0_45 Depth 2
	ldur	x19, [x29, #-136]               ; 8-byte Folded Reload
LBB0_35:                                ;   Parent Loop BB0_34 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x9, x8
	subs	w26, w26, #1
	b.eq	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=2
Lloh17:
	adrp	x8, _DIGIT_BIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DIGIT_BIT@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x8]
	b	LBB0_39
LBB0_37:                                ;   in Loop: Header=BB0_35 Depth=2
	cmn	w28, #1
	b.eq	LBB0_52
; %bb.38:                               ;   in Loop: Header=BB0_35 Depth=2
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldr	w24, [x8, w28, sxtw #2]
	sub	w28, w28, #1
Lloh20:
	adrp	x10, _DIGIT_BIT@GOTPAGE
Lloh21:
	ldr	x10, [x10, _DIGIT_BIT@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	mov	x26, x10
LBB0_39:                                ;   in Loop: Header=BB0_35 Depth=2
	mov	w8, #0
	sub	w10, w10, #1
	lsr	w10, w24, w10
	and	w10, w10, #0x1
	lsl	w24, w24, #1
	orr	w11, w9, w10
	cbz	w11, LBB0_35
; %bb.40:                               ;   in Loop: Header=BB0_35 Depth=2
	cmp	w9, #1
	b.ne	LBB0_44
; %bb.41:                               ;   in Loop: Header=BB0_35 Depth=2
	cbnz	w10, LBB0_44
; %bb.42:                               ;   in Loop: Header=BB0_35 Depth=2
	sub	x0, x29, #104
	sub	x1, x29, #104
	bl	_mp_sqr
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_61
; %bb.43:                               ;   in Loop: Header=BB0_35 Depth=2
	sub	x0, x29, #104
	sub	x2, x29, #120
	mov	x1, x21
	blr	x25
	ldr	w9, [x20]
	mov	w8, #1
	cmp	w0, w9
	b.eq	LBB0_35
	b	LBB0_61
LBB0_44:                                ;   in Loop: Header=BB0_34 Depth=1
	ldur	w11, [x29, #-176]               ; 4-byte Folded Reload
	add	w11, w11, #1
	mov	w8, #2
	ldur	w9, [x29, #-156]                ; 4-byte Folded Reload
	mov	x19, x9
	subs	w9, w9, w11
	lsl	w9, w10, w9
	ldur	w10, [x29, #-172]               ; 4-byte Folded Reload
	orr	w10, w9, w10
	stp	w11, w10, [x29, #-176]          ; 8-byte Folded Spill
	b.ne	LBB0_34
LBB0_45:                                ;   Parent Loop BB0_34 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x0, x29, #104
	sub	x1, x29, #104
	bl	_mp_sqr
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_50
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=2
	sub	x0, x29, #104
	sub	x2, x29, #120
	mov	x1, x21
	blr	x25
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_50
; %bb.47:                               ;   in Loop: Header=BB0_45 Depth=2
	subs	w19, w19, #1
	b.ne	LBB0_45
; %bb.48:                               ;   in Loop: Header=BB0_34 Depth=1
	ldur	w8, [x29, #-172]                ; 4-byte Folded Reload
	add	x1, x27, w8, sxtw #4
	sub	x0, x29, #104
	sub	x2, x29, #104
	bl	_mp_mul
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_50
; %bb.49:                               ;   in Loop: Header=BB0_34 Depth=1
	sub	x0, x29, #104
	sub	x2, x29, #120
	mov	x1, x21
	blr	x25
	stur	xzr, [x29, #-176]               ; 8-byte Folded Spill
	ldr	w9, [x20]
	mov	w8, #1
	cmp	w0, w9
	b.eq	LBB0_34
LBB0_50:
	mov	x23, x0
	ldur	x19, [x29, #-136]               ; 8-byte Folded Reload
	b	LBB0_62
LBB0_51:
	mov	x23, x0
	b	LBB0_26
LBB0_52:
	cmp	w9, #2
	ldp	w26, w24, [x29, #-176]          ; 8-byte Folded Reload
	b.ne	LBB0_54
; %bb.53:
	cmp	w26, #1
	b.ge	LBB0_56
LBB0_54:
	sub	x0, x29, #104
	ldur	x1, [x29, #-168]                ; 8-byte Folded Reload
	bl	_mp_exch
	ldr	w23, [x20]
	b	LBB0_62
LBB0_55:                                ;   in Loop: Header=BB0_56 Depth=1
	subs	w26, w26, #1
	b.eq	LBB0_54
LBB0_56:                                ; =>This Inner Loop Header: Depth=1
	sub	x0, x29, #104
	sub	x1, x29, #104
	bl	_mp_sqr
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_61
; %bb.57:                               ;   in Loop: Header=BB0_56 Depth=1
	sub	x0, x29, #104
	sub	x2, x29, #120
	mov	x1, x21
	blr	x25
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_61
; %bb.58:                               ;   in Loop: Header=BB0_56 Depth=1
	lsl	w24, w24, #1
	tst	w24, w22
	b.eq	LBB0_55
; %bb.59:                               ;   in Loop: Header=BB0_56 Depth=1
	sub	x0, x29, #104
	sub	x2, x29, #104
	mov	x1, x19
	bl	_mp_mul
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_61
; %bb.60:                               ;   in Loop: Header=BB0_56 Depth=1
	sub	x0, x29, #104
	sub	x2, x29, #120
	mov	x1, x21
	blr	x25
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_55
LBB0_61:
	mov	x23, x0
LBB0_62:
	sub	x0, x29, #104
	bl	_mp_clear
	b	LBB0_26
LBB0_63:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_TAB_SIZE,4,2                   ; @TAB_SIZE
	.comm	_MP_OKAY,4,2                    ; @MP_OKAY
	.comm	_DIGIT_BIT,4,2                  ; @DIGIT_BIT
	.no_dead_strip	_s_mp_exptmod
.subsections_via_symbols
