	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_missing_packets
_find_missing_packets:                  ## @find_missing_packets
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %r8
	xorl	%eax, %eax
	testq	%r8, %r8
	je	LBB0_10
## %bb.1:
	movq	(%rdi), %rdi
	incq	%rdi
	cmpq	%rdi, (%r8)
	je	LBB0_10
## %bb.2:
	movq	$0, (%rdx)
	movl	$1, %eax
	xorl	%r9d, %r9d
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	leaq	(%rdi,%rax), %rcx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rcx, (%r8)
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	8(%r8), %r8
	testq	%r8, %r8
	jne	LBB0_4
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-1(%rax), %ecx
	movl	$1, %r10d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r10d
	movslq	%r10d, %rcx
	orq	%rcx, %r9
	movq	%r9, (%rdx)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	$17, %rax
	jne	LBB0_3
LBB0_9:
	movq	%rdi, (%rsi)
	movl	$1, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_missing_packets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_missing_packets
_find_missing_packets:                  ; @find_missing_packets
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x0]
	add	x9, x9, #1
	ldr	x10, [x8]
	cmp	x10, x9
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #0
	ret
LBB0_3:
	mov	x10, #0
	str	xzr, [x2]
	mov	w11, #1
	mov	w12, #1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	add	x13, x9, x12
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x14, [x8]
	cmp	x14, x13
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_5
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w13, w12, #1
	lsl	w13, w11, w13
	sxtw	x13, w13
	orr	x10, x10, x13
	str	x10, [x2]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x12, #1
	cmp	x12, #17
	b.ne	LBB0_4
LBB0_10:
	str	x9, [x1]
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_missing_packets
.subsections_via_symbols
