	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_mul_ui                     ## -- Begin function mpi_mul_ui
	.p2align	4, 0x90
_mpi_mul_ui:                            ## @mpi_mul_ui
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r13
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	movq	%rdx, %r12
	movl	8(%r13), %eax
	leaq	1(%rbx), %r15
	cmpq	%rbx, 16(%r14)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jg	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mpi_resize
	testq	%rax, %rax
	js	LBB0_5
LBB0_6:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	24(%r14), %r15
	movq	24(%r13), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_mpihelp_mul_1
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, (%r15,%rbx,8)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_2:
	movq	$0, (%r14)
	movl	$0, 8(%r14)
	jmp	LBB0_10
LBB0_7:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_9:
	movq	%rbx, (%r14)
	movl	%eax, 8(%r14)
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
	.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_mul_ui                     ; -- Begin function mpi_mul_ui
	.p2align	2
_mpi_mul_ui:                            ; @mpi_mul_ui
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	cbz	x2, LBB0_6
; %bb.1:
	mov	x23, x1
	ldr	x20, [x1]
	cbz	x20, LBB0_6
; %bb.2:
	mov	x22, x2
	ldr	w25, [x23, #8]
	add	x21, x20, #1
	ldr	x8, [x19, #16]
	cmp	x8, x20
	b.gt	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_mpi_resize
	tbnz	x0, #63, LBB0_9
LBB0_4:
	ldr	x24, [x19, #24]
	ldr	x1, [x23, #24]
	mov	x0, x24
	mov	x2, x20
	mov	x3, x22
	bl	_mpihelp_mul_1
	cbz	x0, LBB0_7
; %bb.5:
	str	x0, [x24, x20, lsl #3]
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	str	xzr, [x19]
	str	wzr, [x19, #8]
	b	LBB0_10
LBB0_7:
	mov	x21, x20
LBB0_8:
	mov	w0, #0
	str	x21, [x19]
	str	w25, [x19, #8]
	b	LBB0_10
LBB0_9:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
