	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_invm                       ## -- Begin function mpi_invm
	.p2align	4, 0x90
_mpi_invm:                              ## @mpi_invm
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	$0, -64(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -56(%rbp)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	leaq	-64(%rbp), %rdi
	callq	_mpi_copy
	testq	%rax, %rax
	js	LBB0_9
## %bb.1:
	leaq	-72(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_mpi_copy
	testq	%rax, %rax
	js	LBB0_6
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_mpi_test_bit
	testl	%eax, %eax
	jne	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi
	xorl	%esi, %esi
	callq	_mpi_test_bit
	testl	%eax, %eax
	jne	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi
	movq	%rdi, %rsi
	movl	$1, %edx
	callq	_mpi_rshift
	testq	%rax, %rax
	js	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi
	movq	%rdi, %rsi
	movl	$1, %edx
	callq	_mpi_rshift
	testq	%rax, %rax
	jns	LBB0_2
LBB0_6:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_12
LBB0_9:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_10:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_11:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
LBB0_12:
	movq	%r15, %rdi
	callq	_mpi_free
	movq	-104(%rbp), %rdi
	callq	_mpi_free
	movq	%r14, %rdi
	callq	_mpi_free
	testl	%r13d, %r13d
	jne	LBB0_14
## %bb.13:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_mpi_free
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_mpi_free
	movq	%rbx, %rdi
	callq	_mpi_free
LBB0_14:
	movq	-112(%rbp), %rdi
	callq	_mpi_free
	movq	-96(%rbp), %rdi
	callq	_mpi_free
	movq	-56(%rbp), %rdi
	callq	_mpi_free
	movq	-64(%rbp), %rdi
	callq	_mpi_free
	movq	-72(%rbp), %rdi
	callq	_mpi_free
	movl	%r12d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	-72(%rbp), %rdi
	xorl	%esi, %esi
	callq	_mpi_test_bit
	movl	%eax, %r13d
	movl	$1, %edi
	callq	_mpi_alloc_set_ui
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	%rax, %r15
	testl	%r13d, %r13d
	je	LBB0_19
## %bb.17:
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_18:
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_19:
	xorl	%edi, %edi
	callq	_mpi_alloc_set_ui
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_32
LBB0_20:
	movq	-64(%rbp), %rsi
	leaq	-112(%rbp), %rdi
	callq	_mpi_copy
	testq	%rax, %rax
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	js	LBB0_10
## %bb.21:
	movq	-72(%rbp), %rsi
	leaq	-104(%rbp), %rdi
	callq	_mpi_copy
	testq	%rax, %rax
	js	LBB0_10
## %bb.22:
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	testl	%r13d, %r13d
	je	LBB0_33
## %bb.23:
	xorl	%r14d, %r14d
LBB0_24:
	movq	-72(%rbp), %rsi
	leaq	-96(%rbp), %rdi
	callq	_mpi_copy
	testq	%rax, %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	js	LBB0_11
## %bb.25:
	movq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_mpi_test_bit
	testl	%eax, %eax
	je	LBB0_36
## %bb.26:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_mpi_alloc_set_ui
	testq	%rax, %rax
	je	LBB0_40
## %bb.27:
	movq	%rax, %r14
	xorl	%ebx, %ebx
	testl	%r13d, %r13d
	jne	LBB0_30
## %bb.28:
	movl	$1, %edi
	callq	_mpi_alloc_set_ui
	testq	%rax, %rax
	je	LBB0_43
## %bb.29:
	movl	$1, (%rax)
	movq	%rax, %rbx
LBB0_30:
	movq	-72(%rbp), %rsi
	leaq	-56(%rbp), %rdi
	callq	_mpi_copy
	testq	%rax, %rax
	js	LBB0_12
## %bb.31:
	movq	-56(%rbp), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movl	%ecx, (%rax)
	jmp	LBB0_44
LBB0_32:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_33:
	movq	-64(%rbp), %rdi
	callq	_mpi_get_nlimbs
	movl	%eax, %edi
	callq	_mpi_alloc
	testq	%rax, %rax
	je	LBB0_39
## %bb.34:
	movq	-64(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%rax, %r14
	callq	_mpi_sub
	testq	%rax, %rax
	jns	LBB0_24
## %bb.35:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_36:
	movl	$1, %edi
	callq	_mpi_alloc_set_ui
	testq	%rax, %rax
	je	LBB0_11
## %bb.37:
	movq	%rax, %r14
	testl	%r13d, %r13d
	je	LBB0_41
## %bb.38:
	xorl	%ebx, %ebx
	jmp	LBB0_42
LBB0_39:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_40:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_41:
	xorl	%edi, %edi
	callq	_mpi_alloc_set_ui
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
LBB0_42:
	movq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdi
	callq	_mpi_copy
	testq	%rax, %rax
	jns	LBB0_65
	jmp	LBB0_12
LBB0_44:
	movq	-56(%rbp), %rdi
	xorl	%esi, %esi
	callq	_mpi_test_bit
	testl	%eax, %eax
	je	LBB0_65
## %bb.45:
	movq	-56(%rbp), %rax
	cmpl	$0, (%rax)
	je	LBB0_52
## %bb.46:
	movq	-104(%rbp), %rdi
	movq	-72(%rbp), %rsi
	movq	%r14, %rdx
	callq	_mpi_sub
	testq	%rax, %rax
	js	LBB0_12
## %bb.47:
	movq	-64(%rbp), %rsi
	movl	(%rsi), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
	movl	%eax, (%rsi)
	testl	%r13d, %r13d
	jne	LBB0_50
## %bb.48:
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_mpi_sub
	testq	%rax, %rax
	js	LBB0_43
## %bb.49:
	movq	-64(%rbp), %rsi
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
LBB0_50:
	movl	%ecx, (%rsi)
	movq	-56(%rbp), %rsi
	movl	(%rsi), %ecx
	xorl	%eax, %eax
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	sete	%al
	movl	%eax, (%rsi)
	movq	-96(%rbp), %rdi
	callq	_mpi_set
	testl	%eax, %eax
	js	LBB0_12
## %bb.51:
	movq	-56(%rbp), %rax
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	jmp	LBB0_56
LBB0_52:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mpi_set
	testl	%eax, %eax
	js	LBB0_12
## %bb.53:
	testl	%r13d, %r13d
	jne	LBB0_55
## %bb.54:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_mpi_set
	testl	%eax, %eax
	js	LBB0_43
LBB0_55:
	movq	-112(%rbp), %rdi
	movq	-56(%rbp), %rsi
	callq	_mpi_set
	testl	%eax, %eax
	js	LBB0_12
LBB0_56:
	movq	-104(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mpi_sub
	testq	%rax, %rax
	js	LBB0_12
## %bb.57:
	testl	%r13d, %r13d
	jne	LBB0_59
## %bb.58:
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_mpi_sub
	testq	%rax, %rax
	js	LBB0_43
LBB0_59:
	movq	-56(%rbp), %rdi
	movq	-112(%rbp), %rsi
	movq	-96(%rbp), %rdx
	callq	_mpi_sub
	testq	%rax, %rax
	js	LBB0_12
## %bb.60:
	cmpl	$0, (%r14)
	je	LBB0_64
## %bb.61:
	movq	-72(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_mpi_add
	testq	%rax, %rax
	js	LBB0_12
## %bb.62:
	testl	%r13d, %r13d
	jne	LBB0_64
## %bb.63:
	movq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_mpi_sub
	testq	%rax, %rax
	js	LBB0_43
LBB0_64:
	movq	-56(%rbp), %rdi
	xorl	%esi, %esi
	callq	_mpi_cmp_ui
	testq	%rax, %rax
	je	LBB0_80
LBB0_65:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mpi_test_bit
	testl	%r13d, %r13d
	je	LBB0_71
## %bb.66:
	testl	%eax, %eax
	je	LBB0_68
## %bb.67:
	movq	-72(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_mpi_add
	testq	%rax, %rax
	js	LBB0_81
LBB0_68:
	movq	%r14, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_mpi_rshift
	testq	%rax, %rax
	js	LBB0_81
## %bb.69:
	movq	-56(%rbp), %rdi
	movq	%rdi, %rsi
	movl	$1, %edx
	callq	_mpi_rshift
	testq	%rax, %rax
	jns	LBB0_44
LBB0_81:
	movl	$1, %r13d
	jmp	LBB0_12
LBB0_71:
	testl	%eax, %eax
	jne	LBB0_73
## %bb.72:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mpi_test_bit
	testl	%eax, %eax
	je	LBB0_75
LBB0_73:
	movq	-72(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_mpi_add
	testq	%rax, %rax
	js	LBB0_43
## %bb.74:
	movq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_mpi_sub
	testq	%rax, %rax
	js	LBB0_43
LBB0_75:
	movq	%r14, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_mpi_rshift
	testq	%rax, %rax
	js	LBB0_43
## %bb.76:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_mpi_rshift
	testq	%rax, %rax
	js	LBB0_43
## %bb.77:
	movq	-56(%rbp), %rdi
	movq	%rdi, %rsi
	movl	$1, %edx
	callq	_mpi_rshift
	testq	%rax, %rax
	jns	LBB0_44
LBB0_43:
	xorl	%r13d, %r13d
	jmp	LBB0_12
LBB0_80:
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_mpi_set
	movl	%eax, %r12d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_invm                       ; -- Begin function mpi_invm
	.p2align	2
_mpi_invm:                              ; @mpi_invm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x20, x2
	mov	x26, x0
	stp	xzr, xzr, [sp, #32]
	stp	xzr, xzr, [sp, #16]
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	add	x0, sp, #40
	bl	_mpi_copy
	tbnz	x0, #63, LBB0_6
; %bb.1:
	add	x0, sp, #32
	mov	x1, x20
	bl	_mpi_copy
	tbnz	x0, #63, LBB0_6
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #40]
	mov	w1, #0
	bl	_mpi_test_bit
	cbnz	w0, LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #32]
	mov	w1, #0
	bl	_mpi_test_bit
	cbnz	w0, LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #40]
	mov	x1, x0
	mov	w2, #1
	bl	_mpi_rshift
	tbnz	x0, #63, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #32]
	mov	x1, x0
	mov	w2, #1
	bl	_mpi_rshift
	tbz	x0, #63, LBB0_2
LBB0_6:
	mov	x20, #0
	mov	x21, #0
LBB0_7:
	mov	x22, #0
LBB0_8:
	mov	x24, #0
	mov	x25, #0
LBB0_9:
	mov	w23, #0
LBB0_10:
	mov	x0, x20
	bl	_mpi_free
	ldr	x0, [sp, #16]
	bl	_mpi_free
	mov	x0, x24
	bl	_mpi_free
	cbnz	w23, LBB0_12
; %bb.11:
	mov	x0, x21
	bl	_mpi_free
	mov	x0, x22
	bl	_mpi_free
	mov	x0, x25
	bl	_mpi_free
LBB0_12:
	ldr	x0, [sp, #24]
	bl	_mpi_free
	ldr	x0, [sp, #8]
	bl	_mpi_free
	ldr	x0, [sp]
	bl	_mpi_free
	ldr	x0, [sp, #40]
	bl	_mpi_free
	ldr	x0, [sp, #32]
	bl	_mpi_free
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_13:
	ldr	x0, [sp, #32]
	mov	w1, #0
	bl	_mpi_test_bit
	mov	x23, x0
	mov	w0, #1
	bl	_mpi_alloc_set_ui
	mov	x20, x0
	cbz	x0, LBB0_16
; %bb.14:
	cbz	w23, LBB0_17
; %bb.15:
	mov	x21, #0
	b	LBB0_18
LBB0_16:
	mov	x21, #0
	b	LBB0_27
LBB0_17:
	mov	w0, #0
	bl	_mpi_alloc_set_ui
	mov	x21, x0
	cbz	x0, LBB0_7
LBB0_18:
	ldr	x1, [sp, #40]
	add	x0, sp, #24
	bl	_mpi_copy
	tbnz	x0, #63, LBB0_27
; %bb.19:
	ldr	x1, [sp, #32]
	add	x0, sp, #16
	bl	_mpi_copy
	tbnz	x0, #63, LBB0_27
; %bb.20:
	cbz	w23, LBB0_29
; %bb.21:
	mov	x22, #0
LBB0_22:
	ldr	x1, [sp, #32]
	add	x0, sp, #8
	bl	_mpi_copy
	tbnz	x0, #63, LBB0_28
; %bb.23:
	ldr	x0, [sp, #40]
	mov	w1, #0
	bl	_mpi_test_bit
	cbz	w0, LBB0_31
; %bb.24:
	mov	w0, #0
	bl	_mpi_alloc_set_ui
	mov	x24, x0
	cbz	x0, LBB0_34
; %bb.25:
	cbz	w23, LBB0_35
; %bb.26:
	mov	x25, #0
	b	LBB0_37
LBB0_27:
	mov	x22, #0
LBB0_28:
	mov	x24, #0
	mov	x25, #0
	b	LBB0_10
LBB0_29:
	ldr	x0, [sp, #40]
	bl	_mpi_get_nlimbs
	bl	_mpi_alloc
	mov	x22, x0
	cbz	x0, LBB0_8
; %bb.30:
	ldr	x2, [sp, #40]
	mov	x0, x22
	mov	x1, x20
	bl	_mpi_sub
	tbz	x0, #63, LBB0_22
	b	LBB0_8
LBB0_31:
	mov	w0, #1
	bl	_mpi_alloc_set_ui
	mov	x24, x0
	cbz	x0, LBB0_34
; %bb.32:
	cbz	w23, LBB0_39
; %bb.33:
	mov	x25, #0
	b	LBB0_40
LBB0_34:
	mov	x25, #0
	b	LBB0_10
LBB0_35:
	mov	w27, #1
	mov	w0, #1
	bl	_mpi_alloc_set_ui
	mov	x25, x0
	cbz	x0, LBB0_9
; %bb.36:
	str	w27, [x25]
LBB0_37:
	ldr	x1, [sp, #32]
	mov	x0, sp
	bl	_mpi_copy
	tbnz	x0, #63, LBB0_10
; %bb.38:
	ldr	x8, [sp]
	ldr	w9, [x8]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x8]
	b	LBB0_41
LBB0_39:
	mov	w0, #0
	bl	_mpi_alloc_set_ui
	mov	x25, x0
	cbz	x0, LBB0_9
LBB0_40:
	ldr	x1, [sp, #40]
	mov	x0, sp
	bl	_mpi_copy
	tbz	x0, #63, LBB0_62
	b	LBB0_10
LBB0_41:
	ldr	x0, [sp]
	mov	w1, #0
	bl	_mpi_test_bit
	cbz	w0, LBB0_62
; %bb.42:
	ldr	x8, [sp]
	ldr	w8, [x8]
	cbz	w8, LBB0_49
; %bb.43:
	ldr	x0, [sp, #16]
	ldr	x1, [sp, #32]
	mov	x2, x24
	bl	_mpi_sub
	tbnz	x0, #63, LBB0_10
; %bb.44:
	ldr	x1, [sp, #40]
	ldr	w27, [x1]
	cmp	w27, #0
	cset	w8, eq
	str	w8, [x1]
	cbnz	w23, LBB0_47
; %bb.45:
	mov	x0, x22
	mov	x2, x25
	bl	_mpi_sub
	tbnz	x0, #63, LBB0_9
; %bb.46:
	ldr	x1, [sp, #40]
LBB0_47:
	str	w27, [x1]
	ldr	x1, [sp]
	ldr	w27, [x1]
	cmp	w27, #0
	cset	w8, eq
	str	w8, [x1]
	ldr	x0, [sp, #8]
	bl	_mpi_set
	tbnz	w0, #31, LBB0_10
; %bb.48:
	ldr	x8, [sp]
	str	w27, [x8]
	b	LBB0_53
LBB0_49:
	mov	x0, x20
	mov	x1, x24
	bl	_mpi_set
	tbnz	w0, #31, LBB0_10
; %bb.50:
	cbnz	w23, LBB0_52
; %bb.51:
	mov	x0, x21
	mov	x1, x25
	bl	_mpi_set
	tbnz	w0, #31, LBB0_9
LBB0_52:
	ldr	x0, [sp, #24]
	ldr	x1, [sp]
	bl	_mpi_set
	tbnz	w0, #31, LBB0_10
LBB0_53:
	ldr	x2, [sp, #16]
	mov	x0, x24
	mov	x1, x20
	bl	_mpi_sub
	tbnz	x0, #63, LBB0_10
; %bb.54:
	cbnz	w23, LBB0_56
; %bb.55:
	mov	x0, x25
	mov	x1, x21
	mov	x2, x22
	bl	_mpi_sub
	tbnz	x0, #63, LBB0_9
LBB0_56:
	ldp	x0, x2, [sp]
	ldr	x1, [sp, #24]
	bl	_mpi_sub
	tbnz	x0, #63, LBB0_10
; %bb.57:
	ldr	w8, [x24]
	cbz	w8, LBB0_61
; %bb.58:
	ldr	x2, [sp, #32]
	mov	x0, x24
	mov	x1, x24
	bl	_mpi_add
	tbnz	x0, #63, LBB0_10
; %bb.59:
	cbnz	w23, LBB0_61
; %bb.60:
	ldr	x2, [sp, #40]
	mov	x0, x25
	mov	x1, x25
	bl	_mpi_sub
	tbnz	x0, #63, LBB0_9
LBB0_61:
	ldr	x0, [sp]
	mov	w1, #0
	bl	_mpi_cmp_ui
	cbz	x0, LBB0_75
LBB0_62:
	mov	x0, x24
	mov	w1, #0
	bl	_mpi_test_bit
	cbz	w23, LBB0_68
; %bb.63:
	cbz	w0, LBB0_65
; %bb.64:
	ldr	x2, [sp, #32]
	mov	x0, x24
	mov	x1, x24
	bl	_mpi_add
	tbnz	x0, #63, LBB0_67
LBB0_65:
	mov	x0, x24
	mov	x1, x24
	mov	w2, #1
	bl	_mpi_rshift
	tbnz	x0, #63, LBB0_67
; %bb.66:
	ldr	x0, [sp]
	mov	x1, x0
	mov	w2, #1
	bl	_mpi_rshift
	tbz	x0, #63, LBB0_41
LBB0_67:
	mov	w23, #1
	b	LBB0_10
LBB0_68:
	cbnz	w0, LBB0_70
; %bb.69:
	mov	x0, x25
	mov	w1, #0
	bl	_mpi_test_bit
	cbz	w0, LBB0_72
LBB0_70:
	ldr	x2, [sp, #32]
	mov	x0, x24
	mov	x1, x24
	bl	_mpi_add
	tbnz	x0, #63, LBB0_9
; %bb.71:
	ldr	x2, [sp, #40]
	mov	x0, x25
	mov	x1, x25
	bl	_mpi_sub
	tbnz	x0, #63, LBB0_9
LBB0_72:
	mov	x0, x24
	mov	x1, x24
	mov	w2, #1
	bl	_mpi_rshift
	tbnz	x0, #63, LBB0_9
; %bb.73:
	mov	x0, x25
	mov	x1, x25
	mov	w2, #1
	bl	_mpi_rshift
	tbnz	x0, #63, LBB0_9
; %bb.74:
	ldr	x0, [sp]
	mov	x1, x0
	mov	w2, #1
	bl	_mpi_rshift
	tbz	x0, #63, LBB0_41
	b	LBB0_9
LBB0_75:
	mov	x0, x26
	mov	x1, x20
	bl	_mpi_set
	mov	x19, x0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
