	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i31_mulacc                  ## -- Begin function br_i31_mulacc
	.p2align	4, 0x90
_br_i31_mulacc:                         ## @br_i31_mulacc
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	(%rsi), %esi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %ecx
	leal	31(%rcx), %eax
	movl	%esi, %edx
	andl	$31, %edx
	movl	%esi, %r8d
	andl	$-32, %esi
	addl	%ecx, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
	andl	$31, %ecx
	addl	%edx, %ecx
	andl	$-32, %esi
	addl	%ecx, %esi
	cmpl	$31, %ecx
	adcl	$-1, %esi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, (%rdi)
	cmpl	$32, %eax
	jae	LBB0_1
LBB0_6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%r8d, %ecx
	addl	$31, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	sarl	$5, %ecx
	movslq	%ecx, %rdx
	sarl	$5, %eax
	cmpq	$2, %rdx
	movl	$1, %esi
	movq	%rdx, %rcx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	cmovaeq	%rdx, %rsi
	cmpl	$2, %eax
	movl	$1, %ecx
	cmovael	%eax, %ecx
	movslq	%ecx, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %r14
	xorl	%eax, %eax
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	addq	%rdi, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, (%rcx,%rax,4)
	addq	$4, %r14
	movq	%rdi, %rax
	cmpq	-72(%rbp), %rdi                 ## 8-byte Folded Reload
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	leaq	1(%rax), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	$0, %r13d
	cmpl	$32, -44(%rbp)                  ## 4-byte Folded Reload
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx,%rax,4), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	1(%r12), %r15
	movl	4(%rbx,%r12,4), %esi
	addl	(%r14,%r12,4), %r13d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_MUL31
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	addl	%r13d, %eax
	movl	%eax, %r13d
	sarl	$31, %r13d
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	movl	%eax, (%r14,%r12,4)
	movq	%r15, %r12
	cmpq	%r15, %rsi
	jne	LBB0_4
	jmp	LBB0_5
	.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_mulacc                  ; -- Begin function br_i31_mulacc
	.p2align	2
_br_i31_mulacc:                         ; @br_i31_mulacc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	w9, [x1]
	str	x2, [sp, #24]                   ; 8-byte Folded Spill
	ldr	w10, [x2]
	add	w8, w10, #31
	and	w11, w9, #0x1f
	and	w12, w9, #0xffffffe0
	add	w12, w10, w12
	and	w10, w10, #0x1f
	and	w12, w12, #0xffffffe0
	add	w10, w10, w11
	add	w11, w12, w10
	cmp	w10, #30
	cset	w10, hi
	sub	w10, w11, w10
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	str	w10, [x0]
	cmp	w8, #32
	b.hs	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_2:
	mov	x22, #0
	add	w9, w9, #31
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	sbfx	x24, x9, #5, #27
	asr	w8, w8, #5
	cmp	x24, #1
	csinc	x9, x24, xzr, hi
	cmp	w8, #1
	csinc	w8, w8, wzr, hi
	sxtw	x26, w8
	add	x8, x1, #4
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x25, x8, #4
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w19, #0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x22, x24
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	str	w19, [x9, x8, lsl #2]
	add	x25, x25, #4
	cmp	x22, x26
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	add	x22, x22, #1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cmp	w8, #32
	b.lo	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w19, #0
	ldp	x20, x8, [sp, #16]              ; 16-byte Folded Reload
	ldr	w21, [x8, x22, lsl #2]
	mov	x28, x25
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w23, [x28]
	ldr	w1, [x27], #4
	mov	x0, x21
	bl	_MUL31
	add	w8, w23, w19
	add	w8, w8, w0
	asr	w19, w8, #31
	and	w8, w8, #0x7fffffff
	str	w8, [x28], #4
	subs	x20, x20, #1
	b.ne	LBB0_7
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
