	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_tile_info
_decode_tile_info:                      ## @decode_tile_info
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r15
	movslq	%edx, %rax
	imulq	$56, %rax, %rbx
	movq	48(%rsi,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movl	40(%r13,%rbx), %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, %r12d
	jmp	LBB0_3
LBB0_1:
	xorl	%r12d, %r12d
LBB0_3:
	movq	32(%r13,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.5:
	movl	24(%r13,%rbx), %edx
	movq	%r15, %rdi
	movl	$3, %ecx
	callq	_get_vlc2
	cmpl	(%r13,%rbx), %eax
	jne	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_get_sbits
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_get_sbits
	jmp	LBB0_8
LBB0_4:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_6:
	movzbl	%al, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	sarl	$8, %eax
	cltq
LBB0_8:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_9:
	movq	16(%r13,%rbx), %rsi
	testq	%rsi, %rsi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.11:
	movl	8(%r13,%rbx), %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	callq	_get_vlc2
	cmpl	4(%r13,%rbx), %eax
	jne	LBB0_12
## %bb.13:
	movq	%r15, %rdi
	movl	%r14d, %r15d
	movl	$16, %esi
	callq	_get_sbits
	movq	%rax, %r14
	jmp	LBB0_14
LBB0_10:
	movl	%r14d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_12:
	movl	%r14d, %r15d
	movslq	%eax, %r14
LBB0_14:
	movl	$1, %edi
	movl	$48, %esi
	callq	_av_calloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_24
## %bb.15:
	movl	%r12d, (%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%rbx)
	movq	$0, 40(%rbx)
	movq	%r14, 16(%rbx)
	testl	%r12d, %r12d
	je	LBB0_24
## %bb.16:
	movl	%r15d, %r14d
	incl	%r14d
	testb	$1, %r12b
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_17
## %bb.18:
	testb	$2, %r12b
	jne	LBB0_19
LBB0_20:
	testb	$4, %r12b
	jne	LBB0_21
LBB0_22:
	testb	$8, %r12b
	je	LBB0_24
LBB0_23:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_decode_tile_info
	movq	8(%rbx), %rcx
	movq	%rax, 24(%rcx)
LBB0_24:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_decode_tile_info
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %r12d
	testb	$2, %r12b
	je	LBB0_20
LBB0_19:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_decode_tile_info
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movl	(%rbx), %r12d
	testb	$4, %r12b
	je	LBB0_22
LBB0_21:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_decode_tile_info
	movq	8(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movl	(%rbx), %r12d
	testb	$8, %r12b
	jne	LBB0_23
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_tile_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_tile_info
_decode_tile_info:                      ; @decode_tile_info
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	sxtw	x24, w21
	mov	w8, #56
	smaddl	x8, w2, w8, x1
	ldr	x1, [x8, #48]
	cbz	x1, LBB0_2
; %bb.1:
	mov	w8, #56
	madd	x8, x24, x8, x19
	ldr	w2, [x8, #40]
	mov	x0, x20
	mov	w3, #2
	bl	_get_vlc2
	mov	x22, x0
	b	LBB0_3
LBB0_2:
	mov	w22, #0
LBB0_3:
	mov	w8, #56
	madd	x8, x24, x8, x19
	ldr	x1, [x8, #32]
	cbz	x1, LBB0_6
; %bb.4:
	mov	w8, #56
	madd	x23, x24, x8, x19
	ldr	w2, [x23, #24]
	mov	x0, x20
	mov	w3, #3
	bl	_get_vlc2
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x20
	mov	w1, #8
	bl	_get_sbits
	mov	x23, x0
	mov	x0, x20
	mov	w1, #8
	bl	_get_sbits
	mov	x25, x0
	b	LBB0_8
LBB0_6:
	mov	x25, #0
	mov	x23, #0
	b	LBB0_8
LBB0_7:
	and	w23, w0, #0xff
	sbfx	x25, x0, #8, #24
LBB0_8:
	mov	w8, #56
	madd	x8, x24, x8, x19
	ldr	x1, [x8, #16]
	cbz	x1, LBB0_11
; %bb.9:
	mov	w8, #56
	madd	x24, x24, x8, x19
	ldr	w2, [x24, #8]
	mov	x0, x20
	mov	w3, #2
	bl	_get_vlc2
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x24, #4]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x20
	mov	w1, #16
	bl	_get_sbits
	mov	x26, x0
	b	LBB0_13
LBB0_11:
	mov	x26, #0
	b	LBB0_13
LBB0_12:
	sxtw	x26, w0
LBB0_13:
	mov	w0, #1
	mov	w1, #48
	bl	_av_calloc
	mov	x24, x0
	cbz	x0, LBB0_20
; %bb.14:
	str	w22, [x24]
	stp	x23, xzr, [x24, #32]
	stp	x26, x25, [x24, #16]
	cbz	w22, LBB0_20
; %bb.15:
	add	w21, w21, #1
	tbnz	w22, #0, LBB0_21
; %bb.16:
	tbnz	w22, #1, LBB0_22
LBB0_17:
	tbnz	w22, #2, LBB0_23
LBB0_18:
	tbz	w22, #3, LBB0_20
LBB0_19:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_decode_tile_info
	ldr	x8, [x24, #8]
	str	x0, [x8, #24]
LBB0_20:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_21:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_decode_tile_info
	ldr	x8, [x24, #8]
	str	x0, [x8]
	ldr	w22, [x24]
	tbz	w22, #1, LBB0_17
LBB0_22:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_decode_tile_info
	ldr	x8, [x24, #8]
	str	x0, [x8, #8]
	ldr	w22, [x24]
	tbz	w22, #2, LBB0_18
LBB0_23:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_decode_tile_info
	ldr	x8, [x24, #8]
	str	x0, [x8, #16]
	ldr	w22, [x24]
	tbnz	w22, #3, LBB0_19
	b	LBB0_20
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_tile_info
.subsections_via_symbols
