	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mulShiftAll
_mulShiftAll:                           ## @mulShiftAll
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r13
	movl	%edi, %ebx
	addl	%edi, %ebx
	movl	(%rsi), %esi
	leaq	-48(%rbp), %rdx
	movl	%ebx, %edi
	callq	_umul128
	movl	%eax, %r14d
	movl	-48(%rbp), %r12d
	movl	4(%r13), %esi
	leaq	-44(%rbp), %rdx
	movl	%ebx, %edi
	callq	_umul128
	movl	%eax, %ebx
	addl	%r12d, %ebx
	xorl	%eax, %eax
	cmpl	-48(%rbp), %ebx
	setl	%al
	addl	-44(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	(%r13), %edi
	movl	4(%r13), %ecx
	addl	%ebx, %ecx
	shrl	$31, %edi
	addl	%ecx, %edi
	xorl	%esi, %esi
	cmpl	%ebx, %edi
	setl	%sil
	addl	%eax, %esi
	leal	-65(%r15), %r12d
	movl	%r12d, %edx
	callq	_shiftright128
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	cmpl	$1, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %eax
	subl	4(%r13), %eax
	movl	(%r13), %edi
	sarl	$31, %edi
	addl	%eax, %edi
	movl	-44(%rbp), %esi
	xorl	%eax, %eax
	cmpl	%ebx, %edi
	setg	%al
	subl	%eax, %esi
	movl	%r12d, %edx
	jmp	LBB0_3
LBB0_2:
	addl	$-64, %r15d
	leal	(%r14,%r14), %eax
	xorl	%ecx, %ecx
	cmpl	%r14d, %eax
	setl	%cl
	leal	(%rcx,%rbx,2), %eax
	movl	-44(%rbp), %ecx
	xorl	%edx, %edx
	cmpl	%ebx, %eax
	setl	%dl
	leal	(%rdx,%rcx,2), %esi
	movl	(%r13), %edi
	movl	%eax, %ecx
	subl	4(%r13), %ecx
	sarl	$31, %edi
	addl	%ecx, %edi
	xorl	%ecx, %ecx
	cmpl	%eax, %edi
	setg	%cl
	subl	%ecx, %esi
	movl	%r15d, %edx
LBB0_3:
	callq	_shiftright128
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	-44(%rbp), %esi
	movl	%ebx, %edi
	movl	%r12d, %edx
	callq	_shiftright128
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mulShiftAll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mulShiftAll
_mulShiftAll:                           ; @mulShiftAll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x25, x5
	mov	x19, x4
	mov	x26, x3
	mov	x23, x2
	mov	x22, x1
	lsl	w20, w0, #1
	ldr	w1, [x1]
	add	x2, sp, #12
	mov	x0, x20
	bl	_umul128
	mov	x24, x0
	ldr	w21, [sp, #12]
	ldr	w1, [x22, #4]
	add	x2, sp, #8
	mov	x0, x20
	bl	_umul128
	ldr	w8, [sp, #12]
	add	w20, w0, w21
	cmp	w20, w8
	ldr	w8, [sp, #8]
	cinc	w8, w8, lt
	str	w8, [sp, #8]
	ldp	w9, w10, [x22]
	add	w10, w10, w20
	add	w0, w10, w9, lsr #31
	cmp	w0, w20
	cinc	w1, w8, lt
	sub	w21, w23, #65
	mov	x2, x21
	bl	_shiftright128
	str	w0, [x26]
	cmp	w25, #1
	b.ne	LBB0_2
; %bb.1:
	ldp	w8, w9, [x22]
	sub	w9, w20, w9
	add	w0, w9, w8, asr #31
	ldr	w8, [sp, #8]
	cmp	w0, w20
	cset	w9, gt
	sub	w1, w8, w9
	mov	x2, x21
	b	LBB0_3
LBB0_2:
	sub	w2, w23, #64
	cmp	w24, w24, lsl #1
	cset	w8, gt
	bfi	w8, w20, #1, #31
	ldr	w9, [sp, #8]
	cmp	w8, w20
	cset	w10, lt
	bfi	w10, w9, #1, #31
	ldp	w9, w11, [x22]
	sub	w11, w8, w11
	add	w0, w11, w9, asr #31
	cmp	w0, w8
	cset	w8, gt
	sub	w1, w10, w8
LBB0_3:
	bl	_shiftright128
	str	w0, [x19]
	ldr	w1, [sp, #8]
	mov	x0, x20
	mov	x2, x21
	bl	_shiftright128
	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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mulShiftAll
.subsections_via_symbols
