	.file	"extr_amiflop.c_scan_sync.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	scan_sync, @function
scan_sync:
.LFB0:
	.cfi_startproc
	endbr64
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	cmp	DWORD PTR [rdi], 17545
	lea	rax, 4[rdi]
	je	.L15
	mov	rdi, rax
.L3:
	cmp	rdi, rsi
	jb	.L16
	xor	r8d, r8d
.L1:
	mov	rax, r8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	xor	r8d, r8d
	cmp	rsi, rax
	jbe	.L1
	cmp	DWORD PTR [rax], 17545
	je	.L5
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L17:
	cmp	rax, rsi
	jnb	.L4
.L5:
	add	rax, 4
	cmp	DWORD PTR [rax], 17545
	je	.L17
.L4:
	mov	r8, rax
	mov	rax, r8
	ret
	.cfi_endproc
.LFE0:
	.size	scan_sync, .-scan_sync
	.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_amiflop.c_scan_sync.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scan_sync, %function
scan_sync:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, .L14
	b	.L3
.L13:
	ldr	r3, [r0], #4
	cmp	r3, r2
	beq	.L12
.L3:
	cmp	r0, r1
	bcc	.L13
.L8:
	mov	r0, #0
	bx	lr
.L12:
	cmp	r1, r0
	bls	.L8
	ldr	r3, [r0]
	cmp	r3, r2
	bxne	lr
	ldr	r2, .L14
.L5:
	ldr	r3, [r0, #4]!
	sub	r3, r3, r2
	clz	r3, r3
	cmp	r0, r1
	lsr	r3, r3, #5
	movcs	r3, #0
	cmp	r3, #0
	bne	.L5
	bx	lr
.L15:
	.align	2
.L14:
	.word	17545
	.size	scan_sync, .-scan_sync
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
