	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PredictorSetupEncode
_PredictorSetupEncode:                  ## @PredictorSetupEncode
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_PredictorState
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	*40(%rax)
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_21
## %bb.1:
	movq	%rbx, %rdi
	callq	_PredictorSetup
	testl	%eax, %eax
	je	LBB0_21
## %bb.2:
	movl	(%r15), %eax
	movl	$1, %r14d
	cmpl	$3, %eax
	je	LBB0_19
## %bb.3:
	cmpl	$2, %eax
	jne	LBB0_21
## %bb.4:
	movl	40(%rbx), %eax
	cmpl	$8, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$32, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$16, %eax
	jne	LBB0_11
## %bb.8:
	movq	_horDiff16@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_19:
	movq	_fpDiff@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	movq	(%rbx), %rax
	movq	_PredictorEncodeRow@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_21
## %bb.20:
	movq	%rax, 16(%r15)
	movq	%rcx, (%rbx)
	movq	_PredictorEncodeTile@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movups	16(%rbx), %xmm0
	movq	%rax, 24(%rbx)
	movups	%xmm0, 24(%r15)
	movq	%rax, 16(%rbx)
	jmp	LBB0_21
LBB0_5:
	movq	_horDiff8@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_horDiff32@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
LBB0_11:
	movq	(%rbx), %rax
	movq	_PredictorEncodeRow@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, 16(%r15)
	movq	%rcx, (%rbx)
	movq	_PredictorEncodeTile@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movups	16(%rbx), %xmm0
	movq	%rax, 24(%rbx)
	movups	%xmm0, 24(%r15)
	movq	%rax, 16(%rbx)
LBB0_13:
	movq	_TIFF_SWAB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_21
## %bb.14:
	movq	8(%r15), %rax
	movq	_horDiff16@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.15:
	movq	_swabHorDiff16@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_17:
	movq	_horDiff32@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.18:
	movq	_swabHorDiff32@GOTPCREL(%rip), %rax
LBB0_16:
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	movq	__TIFFNoPostDecode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_horDiff8,8,3                   ## @horDiff8
	.comm	_horDiff16,8,3                  ## @horDiff16
	.comm	_horDiff32,8,3                  ## @horDiff32
	.comm	_PredictorEncodeRow,8,3         ## @PredictorEncodeRow
	.comm	_PredictorEncodeTile,8,3        ## @PredictorEncodeTile
	.comm	_TIFF_SWAB,4,2                  ## @TIFF_SWAB
	.comm	_swabHorDiff16,8,3              ## @swabHorDiff16
	.comm	__TIFFNoPostDecode,8,3          ## @_TIFFNoPostDecode
	.comm	_swabHorDiff32,8,3              ## @swabHorDiff32
	.comm	_fpDiff,8,3                     ## @fpDiff
	.no_dead_strip	_PredictorSetupEncode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PredictorSetupEncode
_PredictorSetupEncode:                  ; @PredictorSetupEncode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_PredictorState
	mov	x20, x0
	ldr	x8, [x0, #40]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_22
; %bb.1:
	mov	x0, x19
	bl	_PredictorSetup
	cbz	w0, LBB0_22
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #3
	b.eq	LBB0_8
; %bb.3:
	cmp	w8, #2
	b.ne	LBB0_21
; %bb.4:
	ldr	w8, [x19, #40]
	cmp	w8, #8
	b.eq	LBB0_10
; %bb.5:
	cmp	w8, #32
	b.eq	LBB0_11
; %bb.6:
	cmp	w8, #16
	b.ne	LBB0_13
; %bb.7:
Lloh0:
	adrp	x8, _horDiff16@GOTPAGE
Lloh1:
	ldr	x8, [x8, _horDiff16@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh2:
	adrp	x8, _fpDiff@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fpDiff@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x20, #8]
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _PredictorEncodeRow@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PredictorEncodeRow@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.9:
	str	x9, [x19]
	ldp	x10, x9, [x19, #16]
	str	x9, [x20, #32]
Lloh8:
	adrp	x9, _PredictorEncodeTile@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PredictorEncodeTile@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	stp	x8, x10, [x20, #16]
	stp	x9, x9, [x19, #16]
	b	LBB0_21
LBB0_10:
Lloh11:
	adrp	x8, _horDiff8@GOTPAGE
Lloh12:
	ldr	x8, [x8, _horDiff8@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh13:
	adrp	x8, _horDiff32@GOTPAGE
Lloh14:
	ldr	x8, [x8, _horDiff32@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x8]
	str	x8, [x20, #8]
LBB0_13:
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _PredictorEncodeRow@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PredictorEncodeRow@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.14:
	str	x9, [x19]
Lloh18:
	adrp	x9, _PredictorEncodeTile@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PredictorEncodeTile@GOTPAGEOFF]
	ldp	x11, x10, [x19, #16]
	stp	x11, x10, [x20, #24]
Lloh20:
	ldr	x9, [x9]
	str	x8, [x20, #16]
	stp	x9, x9, [x19, #16]
LBB0_15:
	ldr	w8, [x19, #8]
Lloh21:
	adrp	x9, _TIFF_SWAB@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TIFF_SWAB@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.16:
	ldr	x8, [x20, #8]
Lloh24:
	adrp	x9, _horDiff16@GOTPAGE
Lloh25:
	ldr	x9, [x9, _horDiff16@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:
Lloh27:
	adrp	x8, _swabHorDiff16@GOTPAGE
Lloh28:
	ldr	x8, [x8, _swabHorDiff16@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
Lloh29:
	adrp	x9, _horDiff32@GOTPAGE
Lloh30:
	ldr	x9, [x9, _horDiff32@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.19:
Lloh32:
	adrp	x8, _swabHorDiff32@GOTPAGE
Lloh33:
	ldr	x8, [x8, _swabHorDiff32@GOTPAGEOFF]
LBB0_20:
	ldr	x8, [x8]
	str	x8, [x20, #8]
Lloh34:
	adrp	x8, __TIFFNoPostDecode@GOTPAGE
Lloh35:
	ldr	x8, [x8, __TIFFNoPostDecode@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	str	x8, [x19, #32]
LBB0_21:
	mov	w0, #1
LBB0_22:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_horDiff8,8,3                   ; @horDiff8
	.comm	_horDiff16,8,3                  ; @horDiff16
	.comm	_horDiff32,8,3                  ; @horDiff32
	.comm	_PredictorEncodeRow,8,3         ; @PredictorEncodeRow
	.comm	_PredictorEncodeTile,8,3        ; @PredictorEncodeTile
	.comm	_TIFF_SWAB,4,2                  ; @TIFF_SWAB
	.comm	_swabHorDiff16,8,3              ; @swabHorDiff16
	.comm	__TIFFNoPostDecode,8,3          ; @_TIFFNoPostDecode
	.comm	_swabHorDiff32,8,3              ; @swabHorDiff32
	.comm	_fpDiff,8,3                     ; @fpDiff
	.no_dead_strip	_PredictorSetupEncode
.subsections_via_symbols
