	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_best_mtu
_find_best_mtu:                         ## @find_best_mtu
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	decl	%eax
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmovlel	%ecx, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdi), %r8
	leaq	1(%rcx), %rdx
	cmpw	%si, 2(%r8,%rcx,2)
	movq	%rdx, %rcx
	jbe	LBB0_1
## %bb.3:
	decl	%edx
	movl	%edx, %eax
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_best_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_best_mtu
_find_best_mtu:                         ; @find_best_mtu
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x9, #0
	ldr	w10, [x0]
	sub	w10, w10, #1
	cmp	w10, #0
	csel	w0, w10, wzr, gt
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x0, x9
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x11, [x8, #8]
	add	x10, x9, #1
	add	x9, x11, x9, lsl #1
	ldrh	w11, [x9, #2]
	mov	x9, x10
	cmp	w11, w1
	b.ls	LBB0_1
; %bb.3:
	sub	w0, w10, #1
LBB0_4:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_best_mtu
.subsections_via_symbols
