	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i32_decode_mod              ## -- Begin function br_i32_decode_mod
	.p2align	4, 0x90
_br_i32_decode_mod:                     ## @br_i32_decode_mod
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rcx, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %esi
	leal	7(%rsi), %eax
	sarl	$3, %eax
	movslq	%eax, %rbx
	cmpq	%rdx, %rbx
	movq	%rdx, %rax
	cmovaq	%rbx, %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	subq	%rax, %r15
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	addq	%r12, %r15
	leaq	-1(%rax), %rbx
	leal	-8(,%rax,8), %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_EQ
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%eax, %r13d
	movl	%r14d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_CMP
	movl	%r13d, %edi
	movl	%eax, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_MUX
	movl	%eax, %r13d
	incq	%r15
	addl	$-8, %r12d
	addq	$-1, %rbx
	jae	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, %eax
	cmpq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rax
	andq	$-4, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rax,%rcx), %eax
	movl	%r12d, %ecx
	andb	$24, %cl
	sarl	%cl, %eax
	movzbl	%al, %eax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	cmpq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%r15), %r14d
	jmp	LBB0_7
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_1:
	xorl	%r13d, %r13d
LBB0_9:
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_br_i32_zero
	cmpq	%r15, %rbx
	cmovaeq	%r15, %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.10:
	movl	%r13d, %r8d
	shrl	$24, %r8d
	movq	%rbx, %rdi
	testb	$1, %bl
	je	LBB0_12
## %bb.11:
	movq	%r15, %rcx
	subq	%rbx, %rcx
	movzbl	(%r12,%rcx), %edx
	andl	%r8d, %edx
	leaq	-1(%rbx), %rdi
	leal	(,%rdi,8), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movq	%rdi, %rcx
	andq	$-4, %rcx
	orl	%edx, 4(%rcx,%r14)
LBB0_12:
	cmpq	$1, %rbx
	je	LBB0_15
## %bb.13:
	leaq	-1(%rdi), %rdx
	leal	-16(,%rdi,8), %esi
	subq	%rdi, %r15
	leaq	(%r15,%r12), %rdi
	incq	%rdi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rdi), %ebx
	andl	%r8d, %ebx
	leal	8(%rsi), %ecx
	andb	$24, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movq	%rdx, %rcx
	andq	$-4, %rcx
	orl	%ebx, 4(%rcx,%r14)
	movzbl	(%rdi), %ebx
	andl	%r8d, %ebx
	leaq	-1(%rdx), %rax
	movl	%esi, %ecx
	andb	$24, %cl
	shll	%cl, %ebx
	andq	$-4, %rax
	orl	%ebx, 4(%rax,%r14)
	addq	$-2, %rdx
	addl	$-16, %esi
	addq	$2, %rdi
	cmpq	$-1, %rdx
	jne	LBB0_14
LBB0_15:
	sarl	$31, %r13d
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i32_decode_mod              ; -- Begin function br_i32_decode_mod
	.p2align	2
_br_i32_decode_mod:                     ; @br_i32_decode_mod
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w1, [x3]
	add	w8, w1, #7
	sbfx	x27, x8, #3, #29
	cmp	x27, x2
	mov	w20, #0
	csel	x8, x27, x2, hi
	cbz	x8, LBB0_9
; %bb.1:
	sub	x9, x22, x8
	str	x21, [sp]                       ; 8-byte Folded Spill
	add	x28, x21, x9
	sub	x21, x8, #1
	lsl	w8, w8, #3
	sub	w23, w8, #8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w25, [x28]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	w1, #0
	bl	_EQ
	mov	x26, x0
	mov	x0, x25
	mov	x1, x24
	bl	_CMP
	mov	x1, x0
	mov	x0, x26
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x20
	bl	_MUX
	mov	x20, x0
	add	x28, x28, #1
	sub	x21, x21, #1
	sub	w23, w23, #8
	cmn	x21, #1
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x21, x27
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	and	x8, x21, #0xfffffffffffffffc
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x8, x8, x9
	ldr	w8, [x8, #4]
	and	w9, w23, #0x18
	asr	w8, w8, w9
	and	w24, w8, #0xff
	cmp	x21, x22
	b.lo	LBB0_2
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
	cmp	x21, x22
	b.lo	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
	b	LBB0_3
LBB0_8:
	ldp	x21, x8, [sp]                   ; 16-byte Folded Reload
	ldr	w1, [x8]
LBB0_9:
	mov	x0, x19
	bl	_br_i32_zero
	cmp	x27, x22
	csel	x11, x27, x22, lo
	cbz	x11, LBB0_12
; %bb.10:
	lsr	w8, w20, #24
	sub	x9, x11, #1
	lsl	w10, w11, #3
	sub	w10, w10, #8
	sub	x11, x22, x11
	add	x11, x21, x11
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x11], #1
	and	w12, w8, w12
	and	w13, w10, #0x18
	lsl	w12, w12, w13
	and	x13, x9, #0xfffffffffffffffc
	add	x13, x13, x19
	ldr	w14, [x13, #4]
	orr	w12, w12, w14
	str	w12, [x13, #4]
	sub	x9, x9, #1
	sub	w10, w10, #8
	cmn	x9, #1
	b.ne	LBB0_11
LBB0_12:
	asr	w0, w20, #31
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
