	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i15_muladd_small            ## -- Begin function br_i15_muladd_small
	.p2align	4, 0x90
_br_i15_muladd_small:                   ## @br_i15_muladd_small
	.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	(%rdx), %ebx
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %r14
	cmpl	$15, %ebx
	ja	LBB0_4
## %bb.2:
	movl	4(%r14), %edi
	shll	$15, %edi
	orl	%r13d, %edi
	movl	4(%r15), %esi
	leaq	-64(%rbp), %rdx
	callq	_divrem16
	movl	-64(%rbp), %eax
	movl	%eax, 4(%r14)
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leal	15(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %r12d
	shrl	$4, %r12d
	movl	(%r14,%r12,4), %eax
	andl	$15, %ebx
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	je	LBB0_5
## %bb.6:
	movl	%ebx, %ecx
	xorb	$15, %cl
	movb	%cl, -44(%rbp)                  ## 1-byte Spill
	shll	%cl, %eax
	movl	-4(%r14,%r12,4), %r15d
	movl	%ebx, %ecx
	sarl	%cl, %r15d
	orl	%eax, %r15d
	leaq	8(%r14), %rdi
	leaq	4(%r14), %rsi
	leaq	-4(,%r12,4), %rdx
	callq	_memmove
	movl	%r13d, 4(%r14)
	movl	%r15d, %eax
	shll	$15, %eax
	movl	(%r14,%r12,4), %edx
	movb	-44(%rbp), %sil                 ## 1-byte Reload
	movl	%esi, %ecx
	shll	%cl, %edx
	movl	-4(%r14,%r12,4), %edi
	movl	%ebx, %ecx
	sarl	%cl, %edi
	orl	%edx, %edi
	andl	$32767, %edi                    ## imm = 0x7FFF
	orl	%eax, %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	-4(%rax,%r12,4), %r13d
	movl	(%rax,%r12,4), %eax
	movl	%esi, %ecx
	shll	%cl, %eax
	movl	%ebx, %ecx
	sarl	%cl, %r13d
	orl	%eax, %r13d
	jmp	LBB0_7
LBB0_5:
	movl	%eax, %ebx
	leaq	8(%r14), %rdi
	leaq	4(%r14), %rsi
	leaq	-4(,%r12,4), %rdx
	callq	_memmove
	movl	%r13d, 4(%r14)
	movl	%ebx, %edi
	shll	$15, %edi
	addl	(%r14,%r12,4), %edi
	movl	(%r15,%r12,4), %r13d
	movl	%ebx, %r15d
LBB0_7:
	xorl	%ebx, %ebx
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_divrem16
	movl	%eax, %r14d
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_EQ
	leal	-1(%r14), %ecx
	sarl	$31, %ecx
	leal	(%rcx,%r14), %edx
	decl	%edx
	movl	%eax, %edi
	movl	$32767, %esi                    ## imm = 0x7FFF
	callq	_MUX
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	$16, -48(%rbp)                  ## 4-byte Folded Reload
	jb	LBB0_10
## %bb.8:
	cmpq	$2, %r12
	movl	$1, %eax
	cmovaeq	%r12, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$1, %eax
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax,%r13,4), %r14d
	movl	%r14d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_MUL15
	addl	%ebx, %eax
	movl	%eax, %ecx
	sarl	$15, %ecx
	andl	$32767, %eax                    ## imm = 0x7FFF
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	4(%rdx,%r13,4), %r15d
	subl	%eax, %r15d
	movl	%r15d, %ebx
	sarl	$31, %ebx
	addl	%ecx, %ebx
	andl	$32767, %r15d                   ## imm = 0x7FFF
	movl	%r15d, 4(%rdx,%r13,4)
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_EQ
	movl	%eax, %r12d
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_GT
	movl	%r12d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_MUX
	incq	%r13
	cmpq	%r13, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_9
LBB0_10:
	movl	%ebx, %edi
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	movl	%eax, %r13d
	callq	_GT
	movl	%eax, %r14d
	movl	%eax, %r15d
	notl	%r15d
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_LT
	orl	%eax, %r13d
	andl	%r15d, %r13d
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_br_i15_add
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_br_i15_sub                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i15_muladd_small            ; -- Begin function br_i15_muladd_small
	.p2align	2
_br_i15_muladd_small:                   ; @br_i15_muladd_small
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	w8, [x2]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x28, x2
	mov	x22, x1
	mov	x19, x0
	cmp	w8, #15
	b.hi	LBB0_4
; %bb.2:
	ldr	w8, [x19, #4]
	orr	w0, w22, w8, lsl #15
	ldr	w1, [x28, #4]
	add	x2, sp, #28
	bl	_divrem16
	ldr	w8, [sp, #28]
	str	w8, [x19, #4]
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	add	w26, w8, #15
	lsr	w25, w26, #4
	ldr	w23, [x19, w25, uxtw #2]
	ands	w20, w8, #0xf
	str	w23, [sp, #12]                  ; 4-byte Folded Spill
	b.eq	LBB0_6
; %bb.5:
	eor	w21, w20, #0xf
	lsl	w8, w23, w21
	lsl	x27, x25, #2
	sub	x24, x27, #4
	ldr	w9, [x19, x24]
	asr	w9, w9, w20
	orr	w23, w9, w8
	add	x0, x19, #8
	add	x1, x19, #4
	mov	x2, x24
	bl	_memmove
	str	w22, [x19, #4]
	ldr	w8, [x19, x27]
	lsl	w8, w8, w21
	ldr	w9, [x19, x24]
	asr	w9, w9, w20
	orr	w0, w9, w8
	ldr	w8, [x28, x27]
	bfi	w0, w23, #15, #17
	lsl	w8, w8, w21
	ldr	w9, [x28, x24]
	asr	w9, w9, w20
	orr	w22, w9, w8
	b	LBB0_7
LBB0_6:
	add	x0, x19, #8
	add	x1, x19, #4
	lsl	x20, x25, #2
	sub	x2, x20, #4
	bl	_memmove
	str	w22, [x19, #4]
	ldr	w8, [x19, x20]
	add	w0, w8, w23, lsl #15
	ldr	w22, [x28, x20]
LBB0_7:
	mov	x1, x22
	mov	x2, #0
	bl	_divrem16
	mov	x24, x0
	mov	x0, x22
	mov	x1, x23
	bl	_EQ
	sub	w8, w24, #1
	add	w2, w8, w8, asr #31
	mov	w1, #32767
	bl	_MUX
	cmp	w26, #16
	str	x28, [sp, #16]                  ; 8-byte Folded Spill
	b.hs	LBB0_9
; %bb.8:
	mov	w22, #0
	mov	w23, #1
	b	LBB0_11
LBB0_9:
	mov	x24, x0
	mov	w22, #0
	cmp	x25, #1
	mov	x8, x28
	csinc	x28, x25, xzr, hi
	add	x21, x19, #4
	add	x20, x8, #4
	mov	w23, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w25, [x20], #4
	mov	x0, x25
	mov	x1, x24
	bl	_MUL15
	add	w8, w0, w22
	and	w9, w8, #0x7fff
	ldr	w10, [x21]
	sub	w9, w10, w9
	asr	w10, w9, #31
	add	w22, w10, w8, asr #15
	and	w26, w9, #0x7fff
	str	w26, [x21], #4
	mov	x0, x26
	mov	x1, x25
	bl	_EQ
	mov	x27, x0
	mov	x0, x26
	mov	x1, x25
	bl	_GT
	mov	x2, x0
	mov	x0, x27
	mov	x1, x23
	bl	_MUX
	mov	x23, x0
	subs	x28, x28, #1
	b.ne	LBB0_10
LBB0_11:
	mov	x0, x22
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	mov	x1, x20
	bl	_GT
	mov	x24, x0
	mov	x0, x22
	mov	x1, x20
	bl	_LT
	orr	w8, w0, w23
	bic	w21, w8, w24
	mov	x0, x19
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	mov	x1, x20
	mov	x2, x24
	bl	_br_i15_add
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_br_i15_sub
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
