	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scan_sync
_scan_sync:                             ## @scan_sync
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, %rdi
	jae	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	4(%rdi), %rcx
	cmpl	$17545, (%rdi)                  ## imm = 0x4489
	movq	%rcx, %rdi
	jne	LBB0_1
## %bb.4:
	cmpq	%rsi, %rcx
	jae	LBB0_5
LBB0_6:
	leaq	-4(%rcx), %rax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addq	$4, %rax
	cmpq	%rsi, %rcx
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$17545, (%rcx)                  ## imm = 0x4489
	leaq	4(%rcx), %rcx
	je	LBB0_7
LBB0_9:
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %rcx
	cmpq	%rsi, %rcx
	jb	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_scan_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scan_sync
_scan_sync:                             ; @scan_sync
	.cfi_startproc
; %bb.0:
	mov	w8, #17545
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x0, x1
	b.hs	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x0], #4
	cmp	w9, w8
	b.ne	LBB0_1
LBB0_3:
	cmp	x0, x1
	b.hs	LBB0_8
; %bb.4:
	sub	x8, x0, #4
	mov	w9, #17545
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, #4
	cmp	x0, x1
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x0], #4
	cmp	w10, w9
	b.eq	LBB0_5
LBB0_7:
	mov	x0, x8
	ret
LBB0_8:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_scan_sync
.subsections_via_symbols
