	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hqx_decode_444a
_hqx_decode_444a:                       ## @hqx_decode_444a
	.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
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rax
	movq	32(%rdi), %r14
	movslq	%esi, %rbx
	shlq	$4, %rbx
	leaq	(%r14,%rbx), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rbx), %rdi
	addq	$8, %rdi
	movl	24(%rax), %edx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	28(%rax), %esi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %ecx
	callq	_get_vlc2
	movl	%eax, %r12d
	movq	(%r14,%rbx), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	8(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	16(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	24(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	32(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	40(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	48(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	56(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	64(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	72(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	80(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	88(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	96(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	104(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	112(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rax
	movq	120(%rax), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	(%r14,%rbx), %rcx
	movq	(%rcx), %r9
	movl	$-2048, (%r9)                   ## imm = 0xF800
	movq	8(%rcx), %rax
	movl	$-2048, (%rax)                  ## imm = 0xF800
	movq	16(%rcx), %r10
	movl	$-2048, (%r10)                  ## imm = 0xF800
	movq	24(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	32(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	40(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	48(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	56(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	64(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	72(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	80(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	88(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	96(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	104(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	112(%rcx), %rdx
	movl	$-2048, (%rdx)                  ## imm = 0xF800
	movq	120(%rcx), %rcx
	movl	$-2048, (%rcx)                  ## imm = 0xF800
	movl	$0, %r15d
	movl	%r12d, %r13d
	testl	%r12d, %r12d
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_11
## %bb.1:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r14
	cmpq	$0, 16(%rax)
	je	LBB0_2
## %bb.3:
	movq	%r12, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_get_bits1
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
LBB0_2:
	movq	%r12, %r15
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:
	movq	_hqx_quants@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	(%r12,%rax,8), %r12
	movl	%r13d, %eax
	shll	$4, %eax
	orl	%r13d, %eax
	movl	%eax, %ebx
	shll	$8, %ebx
	orl	%eax, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	cmpq	$16, %r13
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testl	$2147483635, %r13d              ## imm = 0x7FFFFFF3
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, -72(%rbp)
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	btl	%r13d, %ebx
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	(%r14), %rcx
	movq	8(%r14), %rax
	leaq	(%rax,%rcx,4), %rsi
	addq	$-36, %rsi
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	leaq	-72(%rbp), %r9
	callq	_decode_block
	testl	%eax, %eax
	jns	LBB0_9
	jmp	LBB0_12
LBB0_10:
	movq	%r15, %r12
	movq	(%r15), %rax
	movq	(%rax), %r9
	movq	16(%rax), %r10
	movl	-52(%rbp), %r15d                ## 4-byte Reload
LBB0_11:
	movq	_hqx_quant_luma@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	$3, %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	pushq	%rax
	pushq	%r10
	callq	_put_blocks
	addq	$16, %rsp
	leal	8(%rbx), %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rax
	movq	8(%rax), %r9
	movq	_hqx_quant_luma@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	%r14, %rdi
	movl	$3, %esi
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	pushq	%r10
	pushq	24(%rax)
	callq	_put_blocks
	addq	$16, %rsp
	movq	(%r12), %rax
	movq	32(%rax), %r9
	movq	_hqx_quant_luma@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	pushq	%r10
	pushq	48(%rax)
	callq	_put_blocks
	addq	$16, %rsp
	movq	(%r12), %rax
	movq	40(%rax), %r9
	movq	_hqx_quant_luma@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	pushq	%r10
	pushq	56(%rax)
	callq	_put_blocks
	addq	$16, %rsp
	movq	(%r12), %rax
	movq	64(%rax), %r9
	movq	_hqx_quant_chroma@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	%r14, %rdi
	movl	$2, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	pushq	%r10
	pushq	80(%rax)
	callq	_put_blocks
	addq	$16, %rsp
	movq	(%r12), %rax
	movq	72(%rax), %r9
	movq	_hqx_quant_chroma@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	%r14, %rdi
	movl	$2, %esi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	pushq	%r10
	pushq	88(%rax)
	callq	_put_blocks
	addq	$16, %rsp
	movq	(%r12), %rax
	movq	96(%rax), %r9
	movq	_hqx_quant_chroma@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%r14, %rdi
	movl	$1, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	pushq	%rbx
	pushq	112(%rax)
	callq	_put_blocks
	addq	$16, %rsp
	movq	(%r12), %rax
	movq	104(%rax), %r9
	movq	_hqx_quant_chroma@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	pushq	%rbx
	pushq	120(%rax)
	callq	_put_blocks
	addq	$16, %rsp
	xorl	%eax, %eax
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hqx_quants,8,3                 ## @hqx_quants
	.comm	_hqx_quant_luma,4,2             ## @hqx_quant_luma
	.comm	_hqx_quant_chroma,4,2           ## @hqx_quant_chroma
	.no_dead_strip	_hqx_decode_444a
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hqx_decode_444a
_hqx_decode_444a:                       ; @hqx_decode_444a
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x0
	ldr	x8, [x0, #32]
	add	x26, x8, w1, sxtw #4
	add	x22, x26, #8
	ldp	w2, w1, [x0, #24]
	mov	x0, x22
	mov	w3, #1
	bl	_get_vlc2
	mov	x24, x0
	ldr	x8, [x26]
	ldr	x0, [x8]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #8]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #16]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #24]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #32]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #40]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #48]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #56]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #64]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #72]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #80]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #88]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #96]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #104]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #112]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	ldr	x0, [x8, #120]
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x26]
	mov	w9, #-2048
	ldp	x5, x10, [x8]
	str	w9, [x5]
	str	w9, [x10]
	ldp	x6, x10, [x8, #16]
	str	w9, [x6]
	str	w9, [x10]
	ldp	x10, x11, [x8, #32]
	str	w9, [x10]
	str	w9, [x11]
	ldp	x10, x11, [x8, #48]
	str	w9, [x10]
	str	w9, [x11]
	ldp	x10, x11, [x8, #64]
	str	w9, [x10]
	str	w9, [x11]
	ldp	x10, x11, [x8, #80]
	str	w9, [x10]
	str	w9, [x11]
	ldp	x10, x11, [x8, #96]
	str	w9, [x10]
	str	w9, [x11]
	ldp	x10, x8, [x8, #112]
	str	w9, [x10]
	str	w9, [x8]
	cbz	w24, LBB0_3
; %bb.1:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_get_bits1
	mov	x23, x0
	b	LBB0_5
LBB0_3:
	mov	w23, #0
	b	LBB0_12
LBB0_4:
	mov	w23, #0
LBB0_5:
Lloh0:
	adrp	x8, _hqx_quants@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hqx_quants@GOTPAGEOFF]
Lloh2:
	ldr	x25, [x8]
	mov	x0, x22
	mov	w1, #4
	bl	_get_bits
	mov	x27, #0
	ldr	x25, [x25, x0, lsl #3]
	orr	w8, w24, w24, lsl #4
	orr	w24, w8, w8, lsl #8
	mov	w28, #65531
	movk	w28, #32767, lsl #16
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x27, x27, #1
	cmp	x27, #16
	b.eq	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	orr	w8, w27, #0x8
	and	w8, w8, w28
	cmp	w8, #8
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	str	wzr, [sp, #12]
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	lsr	w8, w24, w27
	tbz	w8, #0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w3, [x20]
	sub	w8, w3, #9
	ldr	x9, [x20, #8]
	add	x1, x9, w8, sxtw #2
	ldr	x8, [x26]
	ldr	x4, [x8, x27, lsl #3]
	add	x5, sp, #12
	mov	x0, x22
	mov	x2, x25
	bl	_decode_block
	tbz	w0, #31, LBB0_6
	b	LBB0_13
LBB0_11:
	ldr	x8, [x26]
	ldr	x5, [x8]
	ldr	x6, [x8, #16]
LBB0_12:
Lloh3:
	adrp	x24, _hqx_quant_luma@GOTPAGE
Lloh4:
	ldr	x24, [x24, _hqx_quant_luma@GOTPAGEOFF]
	ldr	w7, [x24]
	mov	x0, x20
	mov	w1, #3
	mov	x2, x21
	mov	x3, x19
	mov	x4, x23
	bl	_put_blocks
	add	w22, w21, #8
	ldr	x8, [x26]
	ldr	x5, [x8, #8]
	ldr	x6, [x8, #24]
	ldr	w7, [x24]
	mov	x0, x20
	mov	w1, #3
	mov	x2, x22
	mov	x3, x19
	mov	x4, x23
	bl	_put_blocks
	ldr	x8, [x26]
	ldr	x5, [x8, #32]
	ldr	x6, [x8, #48]
	ldr	w7, [x24]
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	mov	x3, x19
	mov	x4, x23
	bl	_put_blocks
	ldr	x8, [x26]
	ldr	x5, [x8, #40]
	ldr	x6, [x8, #56]
	ldr	w7, [x24]
	mov	x0, x20
	mov	w1, #0
	mov	x2, x22
	mov	x3, x19
	mov	x4, x23
	bl	_put_blocks
	ldr	x8, [x26]
	ldr	x5, [x8, #64]
	ldr	x6, [x8, #80]
Lloh5:
	adrp	x24, _hqx_quant_chroma@GOTPAGE
Lloh6:
	ldr	x24, [x24, _hqx_quant_chroma@GOTPAGEOFF]
	ldr	w7, [x24]
	mov	x0, x20
	mov	w1, #2
	mov	x2, x21
	mov	x3, x19
	mov	x4, x23
	bl	_put_blocks
	ldr	x8, [x26]
	ldr	x5, [x8, #72]
	ldr	x6, [x8, #88]
	ldr	w7, [x24]
	mov	x0, x20
	mov	w1, #2
	mov	x2, x22
	mov	x3, x19
	mov	x4, x23
	bl	_put_blocks
	ldr	x8, [x26]
	ldr	x5, [x8, #96]
	ldr	x6, [x8, #112]
	ldr	w7, [x24]
	mov	x0, x20
	mov	w1, #1
	mov	x2, x21
	mov	x3, x19
	mov	x4, x23
	bl	_put_blocks
	ldr	x8, [x26]
	ldr	x5, [x8, #104]
	ldr	x6, [x8, #120]
	ldr	w7, [x24]
	mov	x0, x20
	mov	w1, #1
	mov	x2, x22
	mov	x3, x19
	mov	x4, x23
	bl	_put_blocks
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_hqx_quants,8,3                 ; @hqx_quants
	.comm	_hqx_quant_luma,4,2             ; @hqx_quant_luma
	.comm	_hqx_quant_chroma,4,2           ; @hqx_quant_chroma
	.no_dead_strip	_hqx_decode_444a
.subsections_via_symbols
