	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_next_packet
_find_next_packet:                      ## @find_next_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movslq	%esi, %r10
	cmpq	%rdx, %r10
	jae	LBB0_10
## %bb.1:
	movl	%ecx, %r8d
	xorl	$204, %r8d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%r10,4), %r11d
	movl	%r11d, %esi
	xorl	$184, %esi
	orl	%r8d, %esi
	sete	%r9b
	cmpl	$71, %r11d
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	%r9b, %r9b
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r10
	cmpq	%rdx, %r10
	jb	LBB0_2
LBB0_5:
	cmpl	%eax, %r10d
	je	LBB0_10
## %bb.6:
	movl	%r10d, %eax
	subl	%ecx, %eax
	js	LBB0_9
## %bb.7:
	movl	%eax, %ecx
	movl	(%rdi,%rcx,4), %edx
	movl	%edx, %ecx
	xorl	$184, %ecx
	orl	%ecx, %r8d
	sete	%cl
	cmpl	$71, %edx
	je	LBB0_10
## %bb.8:
	testb	%cl, %cl
	jne	LBB0_10
LBB0_9:
	movl	%r10d, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_next_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_next_packet
_find_next_packet:                      ; @find_next_packet
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x8, w1
	cmp	x8, x2
	b.hs	LBB0_10
; %bb.1:
	mov	w9, #184
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w3, #204
	ldr	w11, [x0, x8, lsl #2]
	ccmp	w11, w9, #0, eq
	cset	w10, eq
	cmp	w11, #71
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	tbnz	w10, #0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x8, x2
	b.lo	LBB0_2
LBB0_5:
	cmp	w8, w1
	b.eq	LBB0_10
; %bb.6:
	subs	w1, w8, w3
	b.mi	LBB0_9
; %bb.7:
	cmp	w3, #204
	ldr	w10, [x0, w1, uxtw #2]
	mov	w9, #184
	ccmp	w10, w9, #0, eq
	cset	w9, eq
	cmp	w10, #71
	b.eq	LBB0_10
; %bb.8:
	tbnz	w9, #0, LBB0_10
LBB0_9:
	mov	x1, x8
LBB0_10:
	mov	x0, x1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_next_packet
.subsections_via_symbols
