	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PredictorDecodeTile
_PredictorDecodeTile:                   ## @PredictorDecodeTile
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_PredictorState
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 16(%r12)
	setne	%dil
	callq	_assert
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	callq	*16(%r12)
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movslq	(%r12), %r13
	xorl	%edi, %edi
	testq	%r13, %r13
	setg	%dil
	callq	_assert
	movl	%ebx, %eax
	cltd
	idivl	%r13d
	testl	%edx, %edx
	je	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	callq	_TIFFErrorExt
	jmp	LBB0_9
LBB0_3:
	xorl	%edi, %edi
	cmpq	$0, 8(%r12)
	setne	%dil
	callq	_assert
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.4:
	leaq	(,%r13,4), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	*8(%r12)
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	subl	%r13d, %ebx
	addq	%r14, %r15
	testl	%ebx, %ebx
	jg	LBB0_5
LBB0_8:
	movl	$1, %r14d
	jmp	LBB0_9
LBB0_6:
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PredictorDecodeTile"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	"occ0%rowsize != 0"

	.no_dead_strip	_PredictorDecodeTile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PredictorDecodeTile
_PredictorDecodeTile:                   ; @PredictorDecodeTile
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_PredictorState
	mov	x22, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x22, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x22, #16]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x3, x23
	blr	x8
	cbz	x0, LBB0_8
; %bb.1:
	ldrsw	x23, [x22]
	cmp	x23, #0
	cset	w0, gt
	bl	_assert
	sdiv	w8, w19, w23
	msub	w8, w8, w23, w19
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh4:
	adrp	x3, l_.str.2@PAGE
Lloh5:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_TIFFErrorExt
	mov	w0, #0
	b	LBB0_8
LBB0_3:
	ldr	x8, [x22, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	cmp	w19, #1
	b.lt	LBB0_7
; %bb.4:
	lsl	x24, x23, #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	blr	x8
	cbz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w19, w19, w23
	add	x21, x21, x24
	cmp	w19, #0
	b.gt	LBB0_5
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PredictorDecodeTile"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	"occ0%rowsize != 0"

	.no_dead_strip	_PredictorDecodeTile
.subsections_via_symbols
