	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dx2_decode_slice_410
_dx2_decode_slice_410:                  ## @dx2_decode_slice_410
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpl	$4, %ecx
	jl	LBB0_8
## %bb.1:
	movq	%r8, %r12
	movq	%rdi, %r13
	movq	8(%rsi), %rcx
	movl	(%rcx), %ebx
	addl	$-3, -44(%rbp)                  ## 4-byte Folded Spill
	movq	16(%rsi), %rax
	movslq	8(%rcx), %r8
	movl	%r8d, %edi
	sarl	$2, %edi
	imull	%edx, %edi
	movslq	%edi, %rdi
	shlq	$2, %rdi
	addq	16(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movslq	4(%rcx), %rdi
	movl	%edi, %ecx
	sarl	$2, %ecx
	imull	%edx, %ecx
	movslq	%ecx, %r15
	shlq	$2, %r15
	addq	8(%rax), %r15
	imull	%ebx, %edx
	movslq	%edx, %r14
	shlq	$2, %r14
	addq	(%rax), %r14
	movslq	(%rsi), %rdx
	leal	(%rdx,%rdx,8), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leaq	32(%r12), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	leaq	64(%r12), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leal	(,%rbx,4), %eax
	cltq
	leal	(%rbx,%rbx), %esi
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	leal	(%rbx,%rbx,2), %esi
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	shlq	$2, %r8
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	shlq	$2, %rdi
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	addq	-104(%rbp), %r14                ## 8-byte Folded Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addl	$4, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	-120(%rbp), %rcx                ## 8-byte Folded Reload
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addq	-112(%rbp), %rcx                ## 8-byte Folded Reload
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movq	%rcx, %r15
	jge	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_get_bits_left
	cmpl	-60(%rbp), %eax                 ## 4-byte Folded Reload
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	testl	%edx, %edx
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, -168(%rbp)                ## 8-byte Spill
	movl	%eax, (%r14,%r15,4)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	movl	%eax, 4(%r14,%r15,4)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	movl	%eax, 8(%r14,%r15,4)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	movl	%eax, 12(%r14,%r15,4)
	movq	-160(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r15), %rbx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	movq	%r12, %r15
	movslq	%ebx, %r12
	movl	%eax, (%r14,%r12,4)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_decode_sym
	leal	1(%r12), %ecx
	movslq	%ecx, %rcx
	movl	%eax, (%r14,%rcx,4)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_decode_sym
	leal	2(%r12), %ecx
	movslq	%ecx, %rcx
	movl	%eax, (%r14,%rcx,4)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_decode_sym
	addl	$3, %r12d
	movslq	%r12d, %rcx
	movq	%r15, %r12
	movl	%eax, (%r14,%rcx,4)
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	-168(%rbp), %r15                ## 8-byte Reload
	leaq	(%rax,%r15), %rbx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	movslq	%ebx, %rbx
	movl	%eax, (%r14,%rbx,4)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	leal	1(%rbx), %ecx
	movslq	%ecx, %rcx
	movl	%eax, (%r14,%rcx,4)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	leal	2(%rbx), %ecx
	movslq	%ecx, %rcx
	movl	%eax, (%r14,%rcx,4)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	addl	$3, %ebx
	movslq	%ebx, %rcx
	movl	%eax, (%r14,%rcx,4)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r15), %rbx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	movslq	%ebx, %rbx
	movl	%eax, (%r14,%rbx,4)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	leal	1(%rbx), %ecx
	movslq	%ecx, %rcx
	movl	%eax, (%r14,%rcx,4)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	leal	2(%rbx), %ecx
	movslq	%ecx, %rcx
	movl	%eax, (%r14,%rcx,4)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_sym
	addl	$3, %ebx
	movslq	%ebx, %rcx
	movl	%eax, (%r14,%rcx,4)
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	movq	%r13, %rdi
	callq	_decode_sym
	xorl	$128, %eax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r15)
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_decode_sym
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	xorl	$128, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%eax, (%rcx,%r15)
	addq	$4, %rsi
	movq	%rsi, %r15
	cmpq	%rdx, %rsi
	jl	LBB0_6
	jmp	LBB0_7
LBB0_3:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dx2_decode_slice_410
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dx2_decode_slice_410
_dx2_decode_slice_410:                  ; @dx2_decode_slice_410
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	cmp	w3, #4
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x4
	mov	x21, x0
	mov	w20, #0
	sub	w8, w3, #3
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	ldp	x8, x9, [x1, #8]
	ldr	x10, [x9, #16]
	ldrsw	x11, [x8, #8]
	asr	w12, w11, #2
	mul	w12, w12, w2
	add	x27, x10, w12, sxtw #2
	ldp	w26, w8, [x8]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	asr	w10, w8, #2
	mul	w10, w10, w2
	ldp	x9, x12, [x9]
	add	x24, x12, w10, sxtw #2
	mul	w10, w26, w2
	add	x28, x9, w10, sxtw #2
	ldrsw	x25, [x1]
	add	w9, w25, w25, lsl #3
	str	w9, [sp, #48]                   ; 4-byte Folded Spill
	add	x22, x4, #32
	add	x23, x4, #64
	lsl	w9, w26, #2
	sxtw	x10, w9
	str	x10, [sp, #32]                  ; 8-byte Folded Spill
	lsl	w10, w26, #1
	stp	x26, x10, [sp, #80]             ; 16-byte Folded Spill
	add	w10, w10, w26
	lsl	x8, x8, #2
	stp	x8, x10, [sp, #16]              ; 16-byte Folded Spill
	lsl	x10, x11, #2
	add	x8, x28, #8
	stp	x8, x23, [sp, #56]              ; 16-byte Folded Spill
	sbfiz	x8, x9, #2, #32
	stp	x8, x10, [sp]                   ; 16-byte Folded Spill
	str	x22, [sp, #72]                  ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x28, x28, x8, lsl #2
	ldr	w20, [sp, #52]                  ; 4-byte Folded Reload
	add	w20, w20, #4
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x24, x24, x8
	ldp	x9, x8, [sp]                    ; 16-byte Folded Reload
	add	x27, x27, x8
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x8, x8, x9
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cmp	w20, w8
	mov	x25, x10
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x21
	bl	_get_bits_left
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	cmp	w0, w8
	b.le	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w20, [sp, #52]                  ; 4-byte Folded Spill
	cmp	w25, #1
	mov	x10, x25
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, #0
	ldr	x23, [sp, #56]                  ; 8-byte Folded Reload
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x19
	mov	x26, x10
	bl	_decode_sym
	stur	w0, [x23, #-8]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	stur	w0, [x23, #-4]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	str	w0, [x23]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	str	w0, [x23, #4]
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	add	x20, x8, x22
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	str	w0, [x28, w20, sxtw #2]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	add	w8, w20, #1
	str	w0, [x28, w8, sxtw #2]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	add	w8, w20, #2
	str	w0, [x28, w8, sxtw #2]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	add	w8, w20, #3
	str	w0, [x28, w8, sxtw #2]
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	add	x20, x8, x22
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	str	w0, [x28, w20, sxtw #2]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	add	w8, w20, #1
	str	w0, [x28, w8, sxtw #2]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	add	w8, w20, #2
	str	w0, [x28, w8, sxtw #2]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	add	w8, w20, #3
	str	w0, [x28, w8, sxtw #2]
	add	x20, x25, x22
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	str	w0, [x28, w20, sxtw #2]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	add	w8, w20, #1
	str	w0, [x28, w8, sxtw #2]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	add	w8, w20, #2
	str	w0, [x28, w8, sxtw #2]
	mov	x0, x21
	mov	x1, x19
	bl	_decode_sym
	add	w8, w20, #3
	str	w0, [x28, w8, sxtw #2]
	mov	x0, x21
	ldr	x1, [sp, #72]                   ; 8-byte Folded Reload
	bl	_decode_sym
	eor	w8, w0, #0x80
	str	w8, [x24, x22]
	mov	x0, x21
	ldr	x1, [sp, #64]                   ; 8-byte Folded Reload
	bl	_decode_sym
	mov	x10, x26
	eor	w8, w0, #0x80
	str	w8, [x27, x22]
	add	x22, x22, #4
	add	x23, x23, #16
	cmp	x22, x26
	b.lt	LBB0_6
	b	LBB0_2
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dx2_decode_slice_410
.subsections_via_symbols
