	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_blocks
_decode_blocks:                         ## @decode_blocks
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r14
	movq	(%r14), %rdi
	movq	16(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	$5, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r15
	decl	%r12d
	cmpq	$6, %r15
	je	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	movl	$8, %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,8), %ecx
	cmpl	$255, %eax
	movl	$1024, %eax                     ## imm = 0x400
	cmovel	%eax, %ecx
	movq	(%r14), %rax
	movq	(%rax,%r15,8), %rax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	btl	%r12d, %eax
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%r14), %ecx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r15d, %edx
	movl	%ebx, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_decode_block
	testl	%eax, %eax
	jns	LBB0_5
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_blocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_blocks
_decode_blocks:                         ; @decode_blocks
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	x26, [x0]
	ldr	x27, [x26, #16]
	ldr	x0, [x26]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x25, #0
	mov	w28, #5
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #1
	sub	w28, w28, #1
	cmp	x25, #6
	b.eq	LBB0_6
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w21, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	lsr	w8, w22, w28
	tbnz	w8, #0, LBB0_5
	b	LBB0_1
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	mov	w1, #8
	bl	_get_bits
	lsl	w8, w0, #3
	cmp	w0, #255
	mov	w9, #1024
	csel	w8, w9, w8, eq
	ldr	x9, [x26]
	ldr	x9, [x9, x25, lsl #3]
	ldr	x10, [x27]
	str	w8, [x9, x10, lsl #2]
	lsr	w8, w22, w28
	tbz	w8, #0, LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w3, [x26, #8]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	bl	_decode_block
	tbz	w0, #31, LBB0_1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_blocks
.subsections_via_symbols
