	.file	"extr_tif_getimage.c_checkcmap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	checkcmap, @function
checkcmap:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rcx, QWORD PTR [rdi]
	mov	eax, 1
	mov	rsi, QWORD PTR 24[rdi]
	mov	r8, QWORD PTR 16[rdi]
	mov	r9, QWORD PTR 8[rdi]
	sal	rax, cl
	mov	rcx, rax
	xor	eax, eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	DWORD PTR [rsi+rax*4], 255
	jg	.L7
	cmp	DWORD PTR [r8+rax*4], 255
	jg	.L7
	add	rax, 1
	cmp	DWORD PTR -4[r9+rax*4], 255
	jg	.L7
.L2:
	mov	rdx, rcx
	sub	rdx, rax
	test	rdx, rdx
	jg	.L4
	mov	eax, 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, 16
	ret
	.cfi_endproc
.LFE0:
	.size	checkcmap, .-checkcmap
	.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_getimage.c_checkcmap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkcmap, %function
checkcmap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r3, #1
	ldr	r1, [r0]
	ldr	r2, [r0, #12]
	lsl	r3, r3, r1
	ldr	ip, [r0, #4]
	ldr	r1, [r0, #8]
	b	.L2
.L4:
	ldr	r0, [r2], #4
	sub	r3, r3, #1
	cmp	r0, #255
	bgt	.L7
	ldr	r0, [r1], #4
	cmp	r0, #255
	bgt	.L7
	ldr	r0, [ip], #4
	cmp	r0, #255
	bgt	.L7
.L2:
	cmp	r3, #0
	bgt	.L4
	mov	r0, #8
	bx	lr
.L7:
	mov	r0, #16
	bx	lr
	.size	checkcmap, .-checkcmap
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
