	.file	"extr_load-tiff.c_tiff_getcomp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tiff_getcomp, @function
tiff_getcomp:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edx, 16
	ja	.L10
	lea	rcx, .L4[rip]
	mov	edx, edx
	movsx	rax, DWORD PTR [rcx+rdx*4]
	add	rax, rcx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L10-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L10-.L4
	.long	.L6-.L4
	.long	.L10-.L4
	.long	.L10-.L4
	.long	.L10-.L4
	.long	.L5-.L4
	.long	.L10-.L4
	.long	.L10-.L4
	.long	.L10-.L4
	.long	.L10-.L4
	.long	.L10-.L4
	.long	.L10-.L4
	.long	.L10-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L10:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	add	esi, esi
	movsx	rsi, esi
	movzx	eax, BYTE PTR [rdi+rsi]
	movzx	edx, BYTE PTR 1[rdi+rsi]
	sal	eax, 8
	or	eax, edx
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, esi
	not	esi
	sar	eax, 3
	mov	ecx, esi
	cdqe
	and	ecx, 7
	movzx	eax, BYTE PTR [rdi+rax]
	sar	eax, cl
	and	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, esi
	not	esi
	sar	eax, 2
	lea	ecx, [rsi+rsi]
	cdqe
	and	ecx, 6
	movzx	eax, BYTE PTR [rdi+rax]
	sar	eax, cl
	and	eax, 3
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, esi
	sar	eax
	cdqe
	movzx	eax, BYTE PTR [rdi+rax]
	mov	edx, eax
	sar	edx, 4
	and	esi, 1
	cmove	eax, edx
	and	eax, 15
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	movsx	rsi, esi
	movzx	eax, BYTE PTR [rdi+rsi]
	ret
	.cfi_endproc
.LFE0:
	.size	tiff_getcomp, .-tiff_getcomp
	.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_load-tiff.c_tiff_getcomp.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tiff_getcomp, %function
tiff_getcomp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	r2, r2, #1
	cmp	r2, #15
	ldrls	pc, [pc, r2, asl #2]
	b	.L10
.L4:
	.word	.L8
	.word	.L7
	.word	.L10
	.word	.L6
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L5
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L3
.L10:
	mov	r0, #0
	bx	lr
.L3:
	add	r3, r0, r1, lsl #1
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	ldrb	r0, [r0, r1, lsl #1]	@ zero_extendqisi2
	orr	r0, r3, r0, lsl #8
	bx	lr
.L8:
	mvn	r3, r1
	ldrb	r0, [r0, r1, asr #3]	@ zero_extendqisi2
	and	r3, r3, #7
	asr	r0, r0, r3
	and	r0, r0, #1
	bx	lr
.L7:
	mvn	r3, r1
	ldrb	r0, [r0, r1, asr #2]	@ zero_extendqisi2
	lsl	r3, r3, #1
	and	r3, r3, #6
	asr	r0, r0, r3
	and	r0, r0, #3
	bx	lr
.L6:
	ldrb	r0, [r0, r1, asr #1]	@ zero_extendqisi2
	tst	r1, #1
	asreq	r0, r0, #4
	and	r0, r0, #15
	bx	lr
.L5:
	ldrb	r0, [r0, r1]	@ zero_extendqisi2
	bx	lr
	.size	tiff_getcomp, .-tiff_getcomp
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
