	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgb4_best_mtu                 ## -- Begin function cxgb4_best_mtu
	.p2align	4, 0x90
_cxgb4_best_mtu:                        ## @cxgb4_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
	movq	_NMTUS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	decl	%r8d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %r8
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%rcx), %rax
	cmpw	%si, 2(%rdi,%rcx,2)
	movq	%rax, %rcx
	jbe	LBB0_1
## %bb.3:
	decl	%eax
	movl	%eax, %r8d
LBB0_4:
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	movl	%r8d, (%rdx)
LBB0_6:
	movl	%r8d, %eax
	movzwl	(%rdi,%rax,2), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NMTUS,4,2                      ## @NMTUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgb4_best_mtu                 ; -- Begin function cxgb4_best_mtu
	.p2align	2
_cxgb4_best_mtu:                        ; @cxgb4_best_mtu
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NMTUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NMTUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w9, w8, #1
	add	x10, x0, #2
	mov	w8, #-1
	mov	x11, x9
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x11, LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrh	w12, [x10], #2
	add	w8, w8, #1
	sub	x11, x11, #1
	cmp	w12, w1
	b.ls	LBB0_1
; %bb.3:
	cbz	x2, LBB0_5
LBB0_4:
	str	w8, [x2]
LBB0_5:
	ldrh	w0, [x0, w8, uxtw #1]
	ret
LBB0_6:
	mov	x8, x9
	cbnz	x2, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NMTUS,4,2                      ; @NMTUS
.subsections_via_symbols
