	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i15_decode                  ## -- Begin function br_i15_decode
	.p2align	4, 0x90
_br_i15_decode:                         ## @br_i15_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rax
	movl	$1, %esi
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	andl	$32767, %edi                    ## imm = 0x7FFF
	movl	%edi, (%r14,%rsi,4)
	incq	%rsi
	addl	$-7, %ecx
	sarl	$15, %ebx
	testq	%rdx, %rdx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movzbl	-1(%rax,%rdx), %ebx
	shll	%cl, %ebx
	decq	%rdx
	orl	%edi, %ebx
	cmpl	$7, %ecx
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$8, %ecx
	testq	%rdx, %rdx
	jne	LBB0_3
LBB0_7:
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.8:
	movl	%ebx, (%r14,%rsi,4)
	incq	%rsi
	jmp	LBB0_9
LBB0_1:
	movl	$1, %esi
LBB0_9:
	leaq	4(%r14), %rdi
	decq	%rsi
	callq	_br_i15_bit_length
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r14
	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_i15_decode                  ; -- Begin function br_i15_decode
	.p2align	2
_br_i15_decode:                         ; @br_i15_decode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	x2, LBB0_7
; %bb.1:
	mov	w11, #0
	mov	w9, #0
	sub	x10, x1, #1
	mov	w8, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	and	w11, w9, #0x7fff
	str	w11, [x19, x8, lsl #2]
	add	x8, x8, #1
	asr	w9, w9, #15
	mov	x11, x12
	cbz	x2, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x10, x2]
	sub	x2, x2, #1
	lsl	w12, w12, w11
	orr	w9, w12, w9
	subs	w12, w11, #7
	b.ge	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w11, w11, #8
	cbnz	x2, LBB0_3
LBB0_5:
	cbz	w11, LBB0_8
; %bb.6:
	str	w9, [x19, x8, lsl #2]
	add	x8, x8, #1
	b	LBB0_8
LBB0_7:
	mov	w8, #1
LBB0_8:
	add	x0, x19, #4
	sub	x1, x8, #1
	bl	_br_i15_bit_length
	str	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
