	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i31_muladd_small            ## -- Begin function br_i31_muladd_small
	.p2align	4, 0x90
_br_i31_muladd_small:                   ## @br_i31_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), %r15d
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	movq	%rdx, %r12
	movl	%esi, %eax
	movq	%rdi, %r14
	cmpl	$31, %r15d
	jg	LBB0_4
## %bb.2:
	movl	4(%r14), %esi
	movl	%esi, %edi
	sarl	%edi
	shll	$31, %esi
	orl	%eax, %esi
	movl	4(%r12), %edx
	callq	_br_rem
	movl	%eax, 4(%r14)
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rbx
	addq	$31, %rbx
	shrq	$5, %rbx
	movl	(%r14,%rbx,4), %r13d
	andl	$31, %r15d
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.6:
	movl	%r15d, %ecx
	xorb	$31, %cl
	movb	%cl, -48(%rbp)                  ## 1-byte Spill
	movl	%r13d, %eax
	shll	%cl, %eax
	movl	-4(%r14,%rbx,4), %r13d
	movl	%r15d, %ecx
	sarl	%cl, %r13d
	orl	%eax, %r13d
	andl	$2147483647, %r13d              ## imm = 0x7FFFFFFF
	leaq	8(%r14), %rdi
	leaq	4(%r14), %rsi
	leaq	-4(,%rbx,4), %rdx
	callq	_memmove
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r14)
	movl	(%r14,%rbx,4), %edx
	movb	-48(%rbp), %dil                 ## 1-byte Reload
	movl	%edi, %ecx
	shll	%cl, %edx
	movl	-4(%r14,%rbx,4), %eax
	movl	%r15d, %ecx
	sarl	%cl, %eax
	movl	(%r12,%rbx,4), %esi
	movl	%edi, %ecx
	shll	%cl, %esi
	movl	-4(%r12,%rbx,4), %r14d
	movl	%r15d, %ecx
	sarl	%cl, %r14d
	orl	%edx, %eax
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	orl	%esi, %r14d
	andl	$2147483647, %r14d              ## imm = 0x7FFFFFFF
	jmp	LBB0_7
LBB0_5:
	leaq	8(%r14), %rdi
	leaq	4(%r14), %rsi
	leaq	-4(,%rbx,4), %rdx
	callq	_memmove
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r14)
	movl	(%r14,%rbx,4), %eax
	movl	(%r12,%rbx,4), %r14d
LBB0_7:
	movl	%r13d, %edi
	sarl	%edi
	movl	%r13d, %esi
	shll	$31, %esi
	orl	%eax, %esi
	movl	%r14d, %edx
	callq	_br_div
	movl	%eax, %ebx
	movl	%r13d, %edi
	movl	%r14d, %esi
	callq	_EQ
	movl	%eax, %r14d
	xorl	%r13d, %r13d
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_EQ
	decl	%ebx
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_MUX
	movl	%r14d, %edi
	movl	$2147483647, %esi               ## imm = 0x7FFFFFFF
	movl	%eax, %edx
	callq	_MUX
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax,%r13,4), %r14d
	movl	%r14d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_MUL31
	addl	%r12d, %eax
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	4(%rdx,%r13,4), %ebx
	subl	%eax, %ebx
	movl	%ebx, %r12d
	sarl	$31, %r12d
	addl	%ecx, %r12d
	andl	$2147483647, %ebx               ## imm = 0x7FFFFFFF
	movl	%ebx, 4(%rdx,%r13,4)
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_EQ
	movl	%eax, %r15d
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_GT
	movl	%r15d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_MUX
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	incq	%r13
	cmpq	%r13, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_8
## %bb.9:
	movl	%r12d, %edi
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	callq	_GT
	movl	%eax, %r14d
	movl	%eax, %r13d
	notl	%r13d
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_LT
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	orl	%eax, %ebx
	andl	%r13d, %ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_br_i31_add
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_br_i31_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_i31_muladd_small            ; -- Begin function br_i31_muladd_small
	.p2align	2
_br_i31_muladd_small:                   ; @br_i31_muladd_small
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	cmp	w8, #31
	b.gt	LBB0_4
; %bb.2:
	ldr	w8, [x19, #4]
	asr	w0, w8, #1
	orr	w1, w22, w8, lsl #31
	ldr	w2, [x20, #4]
	bl	_br_rem
	str	w0, [x19, #4]
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	add	x9, x8, #31
	lsr	x25, x9, #5
	ldr	w23, [x19, x25, lsl #2]
	ands	w21, w8, #0x1f
	str	w23, [sp, #12]                  ; 4-byte Folded Spill
	b.eq	LBB0_6
; %bb.5:
	eor	w26, w21, #0x1f
	lsl	x27, x25, #2
	sub	x24, x27, #4
	ldr	w8, [x19, x24]
	lsl	w9, w23, w26
	asr	w8, w8, w21
	orr	w8, w8, w9
	and	w23, w8, #0x7fffffff
	add	x0, x19, #8
	add	x1, x19, #4
	mov	x2, x24
	bl	_memmove
	str	w22, [x19, #4]
	ldr	w8, [x19, x27]
	ldr	w9, [x19, x24]
	lsl	w8, w8, w26
	asr	w9, w9, w21
	orr	w8, w9, w8
	and	w8, w8, #0x7fffffff
	ldr	w9, [x20, x27]
	lsl	w9, w9, w26
	ldr	w10, [x20, x24]
	asr	w10, w10, w21
	orr	w9, w10, w9
	and	w22, w9, #0x7fffffff
	b	LBB0_7
LBB0_6:
	add	x0, x19, #8
	add	x1, x19, #4
	lsl	x21, x25, #2
	sub	x2, x21, #4
	bl	_memmove
	str	w22, [x19, #4]
	ldr	w8, [x19, x21]
	ldr	w22, [x20, x21]
LBB0_7:
	asr	w0, w23, #1
	orr	w1, w8, w23, lsl #31
	mov	x2, x22
	bl	_br_div
	mov	x24, x0
	mov	x0, x23
	mov	x1, x22
	bl	_EQ
	mov	x22, x0
	mov	x0, x24
	mov	w1, #0
	bl	_EQ
	sub	w2, w24, #1
	mov	w1, #0
	bl	_MUX
	mov	x2, x0
	mov	x0, x22
	mov	w1, #2147483647
	bl	_MUX
	mov	x24, x0
	mov	w22, #0
	neg	x28, x25
	mov	w21, #1
	mov	w23, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x27, x21, #2
	ldr	w25, [x20, x27]
	mov	x0, x25
	mov	x1, x24
	bl	_MUL31
	add	w8, w0, w22
	and	w9, w8, #0x7fffffff
	ldr	w10, [x19, x27]
	sub	w9, w10, w9
	asr	w10, w9, #31
	add	w22, w10, w8, asr #31
	and	w26, w9, #0x7fffffff
	str	w26, [x19, x27]
	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
	add	x21, x21, #1
	add	x8, x28, x21
	cmp	x8, #1
	b.ne	LBB0_8
; %bb.9:
	mov	x0, x22
	ldr	w21, [sp, #12]                  ; 4-byte Folded Reload
	mov	x1, x21
	bl	_GT
	mov	x24, x0
	mov	x0, x22
	mov	x1, x21
	bl	_LT
	orr	w8, w0, w23
	bic	w21, w8, w24
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	bl	_br_i31_add
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_br_i31_sub
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
