	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dx2_decode_slice_444
_dx2_decode_slice_444:                  ## @dx2_decode_slice_444
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movl	(%rsi), %r12d
	movq	16(%rsi), %rax
	movq	8(%rsi), %rcx
	movslq	8(%rcx), %r9
	movslq	%edx, %r13
	movq	%r9, %r15
	imulq	%r13, %r15
	shlq	$2, %r15
	addq	16(%rax), %r15
	movslq	4(%rcx), %rdx
	movq	%rdx, %r14
	imulq	%r13, %r14
	shlq	$2, %r14
	addq	8(%rax), %r14
	movslq	(%rcx), %rcx
	imulq	%rcx, %r13
	shlq	$2, %r13
	addq	(%rax), %r13
	leal	(%r12,%r12), %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	32(%r8), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	leaq	64(%r8), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	shlq	$2, %r9
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	shlq	$2, %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	addq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	addq	-88(%rbp), %r14                 ## 8-byte Folded Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	addq	-80(%rbp), %r13                 ## 8-byte Folded Reload
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movq	%rdx, %r12
	je	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_get_bits_left
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r12d, %r12d
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%rsi, %r12
	movq	%r15, %r13
	movq	%rdx, %r15
	callq	_decode_sym
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r14,4)
	movq	%rbx, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	callq	_decode_sym
	xorl	$128, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r14,4)
	movq	%rbx, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_decode_sym
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r13, %r15
	xorl	$128, %eax
	movl	%eax, (%r13,%r14,4)
	incq	%r14
	cmpq	%r14, %rdx
	jne	LBB0_7
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_9:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_10
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dx2_decode_slice_444
.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_444
_dx2_decode_slice_444:                  ; @dx2_decode_slice_444
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	w3, [sp, #44]                   ; 4-byte Folded Spill
	cmp	w3, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x21, x4
	mov	x22, x0
	mov	w19, #0
	ldp	x9, x8, [x1, #8]
	ldp	x13, x10, [x8, #8]
	ldrsw	x11, [x9, #8]
	mul	w12, w11, w2
	add	x25, x10, w12, sxtw #2
	ldpsw	x9, x10, [x9]
	mul	w12, w10, w2
	ldr	x8, [x8]
	add	x26, x13, w12, sxtw #2
	mul	w12, w9, w2
	add	x27, x8, w12, sxtw #2
	ldr	w12, [x1]
	add	w8, w12, w12, lsl #1
	lsl	w8, w8, #1
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	add	x23, x4, #32
	add	x24, x4, #64
	lsl	x8, x11, #2
	stp	x8, x12, [sp, #24]              ; 16-byte Folded Spill
	lsl	x11, x10, #2
	lsl	x8, x9, #2
	stp	x8, x11, [sp, #8]               ; 16-byte Folded Spill
	lsl	x20, x12, #2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w19, w19, #1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x25, x25, x8
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x26, x26, x8
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x27, x27, x8
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cmp	w19, w8
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x22
	bl	_get_bits_left
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	cmp	w0, w8
	b.le	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, #0
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	mov	x1, x21
	bl	_decode_sym
	str	w0, [x27, x28]
	mov	x0, x22
	mov	x1, x23
	bl	_decode_sym
	eor	w8, w0, #0x80
	str	w8, [x26, x28]
	mov	x0, x22
	mov	x1, x24
	bl	_decode_sym
	eor	w8, w0, #0x80
	str	w8, [x25, x28]
	add	x28, x28, #4
	cmp	x20, x28
	b.ne	LBB0_6
	b	LBB0_2
LBB0_7:
	mov	w19, #0
	b	LBB0_9
LBB0_8:
	ldr	w19, [sp, #44]                  ; 4-byte Folded Reload
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dx2_decode_slice_444
.subsections_via_symbols
