	.file	"extr_tif_predict.c_PredictorSetupEncode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	PredictorSetupEncode, @function
PredictorSetupEncode:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	PredictorState@PLT
	mov	rdi, rbx
	mov	rbp, rax
	call	[QWORD PTR 40[rax]]
	test	eax, eax
	jne	.L2
.L4:
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbx
	call	PredictorSetup@PLT
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 2
	je	.L19
	cmp	eax, 3
	je	.L20
.L17:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	rax, QWORD PTR fpDiff[rip]
	mov	rdx, QWORD PTR [rbx]
	mov	QWORD PTR 8[rbp], rax
	mov	rax, QWORD PTR PredictorEncodeRow[rip]
	cmp	rdx, rax
	je	.L17
	mov	QWORD PTR 16[rbp], rdx
	mov	rdx, QWORD PTR 16[rbx]
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR 24[rbx]
	mov	QWORD PTR 32[rbp], rax
	mov	rax, QWORD PTR PredictorEncodeTile[rip]
	mov	QWORD PTR 24[rbx], rax
	mov	QWORD PTR 24[rbp], rdx
	mov	QWORD PTR 16[rbx], rax
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L19:
	mov	eax, DWORD PTR 40[rbx]
	cmp	eax, 16
	je	.L6
	cmp	eax, 32
	je	.L7
	cmp	eax, 8
	je	.L21
.L8:
	mov	rdx, QWORD PTR [rbx]
	mov	rax, QWORD PTR PredictorEncodeRow[rip]
	cmp	rdx, rax
	je	.L9
	mov	QWORD PTR 16[rbp], rdx
	mov	rdx, QWORD PTR 16[rbx]
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR 24[rbx]
	mov	QWORD PTR 32[rbp], rax
	mov	rax, QWORD PTR PredictorEncodeTile[rip]
	mov	QWORD PTR 24[rbx], rax
	mov	QWORD PTR 24[rbp], rdx
	mov	QWORD PTR 16[rbx], rax
.L9:
	mov	eax, DWORD PTR 8[rbx]
	test	DWORD PTR TIFF_SWAB[rip], eax
	je	.L17
	mov	rax, QWORD PTR 8[rbp]
	cmp	rax, QWORD PTR horDiff16[rip]
	je	.L22
	cmp	rax, QWORD PTR horDiff32[rip]
	jne	.L17
	mov	rax, QWORD PTR swabHorDiff32[rip]
	mov	QWORD PTR 8[rbp], rax
	mov	rax, QWORD PTR _TIFFNoPostDecode[rip]
	mov	QWORD PTR 32[rbx], rax
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rax, QWORD PTR swabHorDiff16[rip]
	mov	QWORD PTR 8[rbp], rax
	mov	rax, QWORD PTR _TIFFNoPostDecode[rip]
	mov	QWORD PTR 32[rbx], rax
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rax, QWORD PTR horDiff8[rip]
	mov	QWORD PTR 8[rbp], rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR horDiff32[rip]
	mov	QWORD PTR 8[rbp], rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR horDiff16[rip]
	mov	QWORD PTR 8[rbp], rax
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	PredictorSetupEncode, .-PredictorSetupEncode
	.comm	swabHorDiff32,8,8
	.comm	swabHorDiff16,8,8
	.comm	horDiff8,8,8
	.comm	horDiff32,8,8
	.comm	horDiff16,8,8
	.comm	fpDiff,8,8
	.comm	_TIFFNoPostDecode,8,8
	.comm	TIFF_SWAB,4,4
	.comm	PredictorEncodeTile,8,8
	.comm	PredictorEncodeRow,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tif_predict.c_PredictorSetupEncode.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	PredictorSetupEncode, %function
PredictorSetupEncode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	PredictorState
	mov	r5, r0
	mov	r0, r4
	ldr	r3, [r5, #20]
	blx	r3
	cmp	r0, #0
	bne	.L2
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r4
	bl	PredictorSetup
	cmp	r0, #0
	beq	.L4
	ldr	r3, [r5]
	cmp	r3, #2
	beq	.L19
	cmp	r3, #3
	beq	.L20
.L12:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L20:
	ldr	r3, .L22
	ldr	r1, .L22+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	ldr	r1, [r1]
	cmp	r2, r3
	str	r1, [r5, #4]
	beq	.L12
	ldr	r1, .L22+8
	str	r2, [r5, #8]
	ldr	r2, [r1]
	ldr	r1, [r4, #12]
	str	r3, [r4]
	ldr	r3, [r4, #8]
	mov	r0, #1
	str	r1, [r5, #16]
	str	r2, [r4, #12]
	str	r3, [r5, #12]
	str	r2, [r4, #8]
	pop	{r4, r5, r6, pc}
.L19:
	ldr	r3, [r4, #20]
	cmp	r3, #16
	beq	.L6
	cmp	r3, #32
	beq	.L7
	cmp	r3, #8
	beq	.L21
.L8:
	ldr	r3, .L22
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
	ldr	r1, .L22+8
	ldr	r0, [r4, #12]
	ldr	r1, [r1]
	str	r2, [r5, #8]
	ldr	r2, [r4, #8]
	str	r3, [r4]
	str	r0, [r5, #16]
	str	r1, [r4, #12]
	str	r2, [r5, #12]
	str	r1, [r4, #8]
.L9:
	ldr	r3, .L22+12
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L12
	ldr	r2, .L22+16
	ldr	r3, [r5, #4]
	ldr	r2, [r2]
	cmp	r3, r2
	ldreq	r2, .L22+20
	beq	.L17
	ldr	r2, .L22+24
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L12
	ldr	r2, .L22+28
.L17:
	ldr	r3, .L22+32
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r5, #4]
	mov	r0, #1
	str	r3, [r4, #16]
	pop	{r4, r5, r6, pc}
.L21:
	ldr	r3, .L22+36
	ldr	r3, [r3]
	str	r3, [r5, #4]
	b	.L8
.L7:
	ldr	r3, .L22+24
	ldr	r3, [r3]
	str	r3, [r5, #4]
	b	.L8
.L6:
	ldr	r3, .L22+16
	ldr	r3, [r3]
	str	r3, [r5, #4]
	b	.L8
.L23:
	.align	2
.L22:
	.word	PredictorEncodeRow
	.word	fpDiff
	.word	PredictorEncodeTile
	.word	TIFF_SWAB
	.word	horDiff16
	.word	swabHorDiff16
	.word	horDiff32
	.word	swabHorDiff32
	.word	_TIFFNoPostDecode
	.word	horDiff8
	.size	PredictorSetupEncode, .-PredictorSetupEncode
	.comm	swabHorDiff32,4,4
	.comm	swabHorDiff16,4,4
	.comm	horDiff8,4,4
	.comm	horDiff32,4,4
	.comm	horDiff16,4,4
	.comm	fpDiff,4,4
	.comm	_TIFFNoPostDecode,4,4
	.comm	TIFF_SWAB,4,4
	.comm	PredictorEncodeTile,4,4
	.comm	PredictorEncodeRow,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
