	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i15_encode                  ## -- Begin function br_i15_encode
	.p2align	4, 0x90
_br_i15_encode:                         ## @br_i15_encode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movl	(%rdx), %ecx
	addl	$15, %ecx
	cmpl	$16, %ecx
	jae	LBB0_1
## %bb.9:
	xorl	%esi, %esi
	movq	%rax, %rdx
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_1:
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	sarl	$4, %ecx
	movslq	%ecx, %r8
	movl	$1, %r9d
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$15, %ecx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	%sil, -1(%rdi,%rax)
	sarl	$8, %esi
	addl	$-8, %ecx
	movq	%r10, %rax
	testq	%r10, %r10
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %r10
	cmpl	$7, %ecx
	jg	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r8, %r9
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rdx,%r9,4), %r11d
	incq	%r9
	shll	%cl, %r11d
	addl	%r11d, %esi
	jmp	LBB0_6
LBB0_8:
	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_encode                  ; -- Begin function br_i15_encode
	.p2align	2
_br_i15_encode:                         ; @br_i15_encode
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	ldr	w9, [x2]
	add	w11, w9, #15
	cmp	w11, #16
	b.hs	LBB0_2
; %bb.1:
	mov	w1, #0
	mov	x2, x8
	b	_memset
LBB0_2:
	cbz	x8, LBB0_9
; %bb.3:
	mov	w9, #0
	mov	w10, #0
	sbfx	x11, x11, #4, #28
	sub	x12, x0, #1
	mov	w13, #1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w9, w9, #15
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	strb	w10, [x12, x8]
	asr	w10, w10, #8
	sub	w9, w9, #8
	mov	x8, x14
	cbz	x14, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	x14, x8, #1
	cmp	w9, #7
	b.gt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x13, x11
	b.hi	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w15, [x2, x13, lsl #2]
	add	x13, x13, #1
	lsl	w15, w15, w9
	add	w10, w15, w10
	b	LBB0_4
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
