	.file	"extr_image.c_IsJfif.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"JFIF"
	.string	""
	.text
	.p2align 4
	.type	IsJfif, @function
IsJfif:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edx, 256
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rsi, 16[rsp]
	lea	rbp, 12[rsp]
	call	vlc_stream_Peek@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], 0
	mov	edx, eax
	mov	ebx, eax
	call	FindJpegMarker@PLT
	cmp	eax, 216
	je	.L2
.L4:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 40
	.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	rsi, QWORD PTR 16[rsp]
	mov	edx, ebx
	mov	rdi, rbp
	call	FindJpegMarker@PLT
	cmp	eax, 224
	jne	.L4
	mov	eax, DWORD PTR 12[rsp]
	lea	edx, 2[rax]
	add	eax, 6
	mov	DWORD PTR 12[rsp], edx
	cmp	eax, ebx
	jge	.L4
	mov	rax, QWORD PTR 16[rsp]
	movsx	rdx, edx
	lea	rsi, .LC0[rip]
	lea	rdi, [rax+rdx*4]
	mov	edx, 5
	call	memcmp@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	IsJfif, .-IsJfif
	.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_image.c_IsJfif.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	IsJfif, %function
IsJfif:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L9
	sub	sp, sp, #16
	mov	r2, #256
	add	r1, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	vlc_stream_Peek
	mov	r3, #0
	mov	r2, r0
	mov	r4, r0
	ldr	r1, [sp, #4]
	add	r0, sp, #8
	str	r3, [sp, #8]
	bl	FindJpegMarker
	cmp	r0, #216
	beq	.L2
.L4:
	mov	r0, #0
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L2:
	mov	r2, r4
	ldr	r1, [sp, #4]
	add	r0, sp, #8
	bl	FindJpegMarker
	cmp	r0, #224
	bne	.L4
	ldr	r0, [sp, #8]
	add	r3, r0, #6
	cmp	r3, r4
	add	r0, r0, #2
	str	r0, [sp, #8]
	bge	.L4
	ldr	r3, [sp, #4]
	mov	r2, #5
	ldr	r1, .L9+4
	add	r0, r3, r0, lsl #2
	bl	memcmp
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LANCHOR0
	.size	IsJfif, .-IsJfif
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC0:
	.ascii	"JFIF\000\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
