	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_gcd                        ## -- Begin function mpi_gcd
	.p2align	4, 0x90
_mpi_gcd:                               ## @mpi_gcd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	$0, -32(%rbp)
	movq	$0, -24(%rbp)
	leaq	-32(%rbp), %rdi
	callq	_mpi_copy
	testq	%rax, %rax
	js	LBB0_10
## %bb.1:
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_mpi_copy
	testq	%rax, %rax
	js	LBB0_10
## %bb.2:
	movq	-32(%rbp), %rax
	movq	$0, (%rax)
	movq	-24(%rbp), %rdi
	movq	$0, (%rdi)
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	callq	_mpi_cmp_ui
	movq	-32(%rbp), %rsi
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-24(%rbp), %rdx
	movq	%r14, %rdi
	callq	_mpi_fdiv_r
	testq	%rax, %rax
	js	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-32(%rbp), %rdi
	movq	-24(%rbp), %rsi
	callq	_mpi_set
	testq	%rax, %rax
	js	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-24(%rbp), %rdi
	movq	%r14, %rsi
	callq	_mpi_set
	testq	%rax, %rax
	js	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-24(%rbp), %rdi
	jmp	LBB0_3
LBB0_8:
	movq	%r14, %rdi
	callq	_mpi_set
	testq	%rax, %rax
	js	LBB0_10
## %bb.9:
	movq	-32(%rbp), %rdi
	callq	_mpi_free
	movq	-24(%rbp), %rdi
	callq	_mpi_free
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_mpi_cmp_ui
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
	jmp	LBB0_11
LBB0_10:
	movq	-32(%rbp), %rdi
	callq	_mpi_free
	movq	-24(%rbp), %rdi
	callq	_mpi_free
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.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_gcd                        ; -- Begin function mpi_gcd
	.p2align	2
_mpi_gcd:                               ; @mpi_gcd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x0
	stp	xzr, xzr, [sp]
	add	x0, sp, #8
	bl	_mpi_copy
	tbnz	x0, #63, LBB0_10
; %bb.1:
	mov	x0, sp
	mov	x1, x20
	bl	_mpi_copy
	tbnz	x0, #63, LBB0_10
; %bb.2:
	ldr	x8, [sp, #8]
	str	xzr, [x8]
	ldr	x0, [sp]
	str	xzr, [x0]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w1, #0
	bl	_mpi_cmp_ui
	ldr	x1, [sp, #8]
	cbz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [sp]
	mov	x0, x19
	bl	_mpi_fdiv_r
	tbnz	x0, #63, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x1, x0, [sp]
	bl	_mpi_set
	tbnz	x0, #63, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp]
	mov	x1, x19
	bl	_mpi_set
	tbnz	x0, #63, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp]
	b	LBB0_3
LBB0_8:
	mov	x0, x19
	bl	_mpi_set
	tbnz	x0, #63, LBB0_10
; %bb.9:
	ldr	x0, [sp, #8]
	bl	_mpi_free
	ldr	x0, [sp]
	bl	_mpi_free
	mov	x0, x19
	mov	w1, #1
	bl	_mpi_cmp_ui
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_11
LBB0_10:
	ldr	x0, [sp, #8]
	bl	_mpi_free
	ldr	x0, [sp]
	bl	_mpi_free
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
