	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i32_decode                  ## -- Begin function br_i32_decode
	.p2align	4, 0x90
_br_i32_decode:                         ## @br_i32_decode
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r12
	movl	$1, %r14d
	cmpq	$4, %rdx
	jb	LBB0_4
## %bb.1:
	leaq	-4(%rbx), %r13
	shrq	$2, %r13
	leaq	2(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	incq	%r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	leaq	-4(%rsi), %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r15,%rbx), %rdi
	addq	$-4, %rbx
	callq	_br_dec32be
	movl	%eax, 4(%r12,%r14,4)
	incq	%r14
	cmpq	%r14, %r13
	jne	LBB0_2
## %bb.3:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_4:
	cmpq	$1, %rbx
	ja	LBB0_7
## %bb.5:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.6:
	movzbl	(%rsi), %eax
	jmp	LBB0_10
LBB0_7:
	cmpq	$2, %rbx
	jne	LBB0_9
## %bb.8:
	movq	%rsi, %rdi
	callq	_br_dec16be
	jmp	LBB0_10
LBB0_9:
	movzbl	(%rsi), %ebx
	shll	$16, %ebx
	incq	%rsi
	movq	%rsi, %rdi
	callq	_br_dec16be
	orl	%ebx, %eax
LBB0_10:
	movl	%eax, (%r12,%r14,4)
	incq	%r14
LBB0_11:
	leaq	4(%r12), %rdi
	decq	%r14
	movq	%r14, %rsi
	callq	_br_i32_bit_length
	movl	%eax, (%r12)
	addq	$24, %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                  ; -- Begin function br_i32_decode
	.p2align	2
_br_i32_decode:                         ; @br_i32_decode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	subs	x8, x2, #4
	b.hs	LBB0_2
; %bb.1:
	mov	w22, #1
	b	LBB0_4
LBB0_2:
	lsr	x8, x8, #2
	add	x22, x8, #2
	add	x23, x8, #1
	add	x24, x19, #4
	sub	x25, x20, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x25, x21
	sub	x21, x21, #4
	bl	_br_dec32be
	str	w0, [x24], #4
	subs	x23, x23, #1
	b.ne	LBB0_3
LBB0_4:
	cmp	x21, #1
	b.hi	LBB0_7
; %bb.5:
	cbz	x21, LBB0_11
; %bb.6:
	ldrb	w0, [x20]
	b	LBB0_10
LBB0_7:
	cmp	x21, #2
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_br_dec16be
	b	LBB0_10
LBB0_9:
	ldrb	w21, [x20], #1
	mov	x0, x20
	bl	_br_dec16be
	orr	w0, w0, w21, lsl #16
LBB0_10:
	str	w0, [x19, x22, lsl #2]
	add	x22, x22, #1
LBB0_11:
	add	x0, x19, #4
	sub	x1, x22, #1
	bl	_br_i32_bit_length
	str	w0, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
