	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i15_decode_mod              ## -- Begin function br_i15_decode_mod
	.p2align	4, 0x90
_br_i15_decode_mod:                     ## @br_i15_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	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %eax
	addl	$15, %eax
	sarl	$4, %eax
	cltq
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax), %r8
	cmpq	%rdx, %r8
	cmovbeq	%rdx, %r8
	addq	$4, %r8
	je	LBB0_1
## %bb.2:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rsi), %r12
	decq	%r12
	movl	$1, %r14d
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$8, %r13d
	movl	%edi, %ebx
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	decq	%r12
	movl	%ebx, %eax
	cmpq	%r15, %r8
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, %ebx
	cmpq	%rdx, %r15
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%r12), %ebx
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	movl	%r13d, %ecx
	shll	%cl, %edi
	orl	%eax, %edi
	cmpl	$7, %r13d
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$15, %cl
	subb	%r13b, %cl
	shrl	%cl, %ebx
	andl	$32767, %edi                    ## imm = 0x7FFF
	cmpq	-72(%rbp), %r14                 ## 8-byte Folded Reload
	jbe	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_CMP
	movq	%rax, %rdi
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	$-7, %r13d
                                        ## kill: def $edi killed $edi killed $rdi
	xorl	%esi, %esi
	callq	_EQ
	movl	%eax, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_MUX
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	incq	%r14
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_11
LBB0_12:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %eax
	sarl	%eax
	andl	$-2, %r15d
	orl	%eax, %r15d
	testq	%r8, %r8
	je	LBB0_13
## %bb.14:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rdx,%rax), %r10
	decq	%r10
	movl	$1, %r14d
	xorl	%r9d, %r9d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=1
	addl	$-7, %r9d
	incq	%r14
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rax
	decq	%r10
	movl	%r11d, %ebx
	cmpq	%rax, %r8
	je	LBB0_23
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, %r11d
	cmpq	%rdx, %rax
	jae	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movzbl	(%r10), %r11d
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	%r11d, %esi
	movl	%r9d, %ecx
	shll	%cl, %esi
	orl	%ebx, %esi
	cmpl	$7, %r9d
	jl	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	movb	$15, %cl
	subb	%r9b, %cl
	shrl	%cl, %r11d
	cmpq	-72(%rbp), %r14                 ## 8-byte Folded Reload
	ja	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	andl	%r15d, %esi
	andl	$32767, %esi                    ## imm = 0x7FFF
	movl	%esi, (%rdi,%r14,4)
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	addl	$8, %r9d
	movl	%esi, %r11d
	jmp	LBB0_22
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_23
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_23:
	shrl	%r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	andl	$1, %r15d
	movl	%r15d, %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_i15_decode_mod              ; -- Begin function br_i15_decode_mod
	.p2align	2
_br_i15_decode_mod:                     ; @br_i15_decode_mod
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	x3, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w8, [x3]
	add	w9, w8, #15
	asr	w8, w9, #4
	sbfiz	x8, x8, #1, #32
	cmp	x8, x2
	csel	x8, x8, x2, hi
	adds	x25, x8, #4
	b.eq	LBB0_23
; %bb.1:
	mov	x21, x2
	stp	x1, x0, [sp]                    ; 16-byte Folded Spill
	mov	w8, #0
	mov	w19, #0
	mov	x27, #0
	mov	w23, #0
	sbfx	x9, x9, #4, #28
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	sub	x28, x1, #1
	mov	w22, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #1
	sub	x28, x28, #1
	cmp	x25, x27
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x27, x21
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w26, [x28, x21]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	w9, w26, w8
	orr	w19, w9, w19
	subs	w20, w8, #7
	b.lt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w0, w19, #0x7fff
	mov	w9, #15
	sub	w19, w9, w8
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x22, x8
	b.ls	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w1, [x8, x22, lsl #2]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_CMP
	mov	x24, x0
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	lsr	w19, w26, w19
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #0
	bl	_EQ
	mov	x1, x23
	mov	x2, x24
	bl	_MUX
	mov	x23, x0
	add	x22, x22, #1
	mov	x8, x20
	b	LBB0_3
LBB0_12:
	and	w8, w23, #0xfffffffe
	orr	w8, w8, w23, asr #1
	cbz	x25, LBB0_24
; %bb.13:
	mov	w14, #0
	mov	w11, #0
	mov	x9, #0
	ldp	x10, x0, [sp]                   ; 16-byte Folded Reload
	add	x10, x21, x10
	sub	x10, x10, #1
	mov	w12, #1
	mov	w13, #15
	ldr	x17, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	lsr	w11, w15, w14
	add	x12, x12, #1
	mov	x14, x16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x9, x9, #1
	sub	x10, x10, #1
	cmp	x25, x9
	b.eq	LBB0_25
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cmp	x9, x21
	b.hs	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldrb	w15, [x10]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w15, #0
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	lsl	w16, w15, w14
	orr	w11, w16, w11
	subs	w16, w14, #7
	b.lt	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	w14, w13, w14
	cmp	x12, x17
	b.hi	LBB0_14
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	and	w11, w11, w8
	and	w11, w11, #0x7fff
	str	w11, [x0, x12, lsl #2]
	b	LBB0_14
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w14, w14, #8
	b	LBB0_15
LBB0_23:
	mov	w8, #0
	b	LBB0_25
LBB0_24:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
LBB0_25:
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w9, [x9]
	str	w9, [x0]
	ubfx	w0, w8, #1, #1
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
