	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_hop_count
_update_hop_count:                      ## @update_hop_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movq	16(%r14), %r9
	movl	$-1, %eax
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	$-1, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %r8
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r9,%rbx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rdx), %esi
	movl	4(%rdx), %edx
	cmpl	%edi, %esi
	cmovgl	%esi, %edi
	cmpl	%ecx, %edx
	cmovgl	%edx, %ecx
	cmpl	%eax, %edx
	cmovgl	%eax, %ecx
	cmovgl	%edx, %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%edi, %edi
	movl	$-1, %ecx
	movl	$-1, %eax
LBB0_6:
	leal	1(%rax), %edx
	movl	%edx, 4(%r14)
	leal	(%rcx,%rax), %esi
	addl	$2, %esi
	callq	_max
	movl	%eax, 8(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_hop_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_hop_count
_update_hop_count:                      ; @update_hop_count
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w0, #0
	ldr	x10, [x19, #16]
	mov	w8, #-1
	mov	w11, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #8
	subs	x9, x9, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	cbz	x12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w13, w12, [x12]
	cmp	w13, w0
	csel	w0, w13, w0, gt
	cmp	w12, w11
	csel	w11, w12, w11, gt
	cmp	w12, w8
	csel	w11, w8, w11, gt
	csel	w8, w12, w8, gt
	b	LBB0_2
LBB0_5:
	mov	w0, #0
	mov	w11, #-1
	mov	w8, #-1
LBB0_6:
	add	w9, w8, #1
	str	w9, [x19, #4]
	add	w8, w11, w8
	add	w1, w8, #2
	bl	_max
	str	w0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_hop_count
.subsections_via_symbols
