	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NormalizeEthMtu                ## -- Begin function NormalizeEthMtu
	.p2align	4, 0x90
_NormalizeEthMtu:                       ## @NormalizeEthMtu
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.3:
	movq	%rsi, %r15
	movl	12(%rbx), %edi
	callq	_EthIsChangeMtuSupported
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movl	12(%rbx), %edi
	callq	_EthGetMtu
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	%rax, %r12
	cmpq	%r14, %rax
	jge	LBB0_11
## %bb.6:
	movl	12(%rbx), %edi
	movq	%r14, %rsi
	callq	_EthSetMtu
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	(%r15), %rax
	movl	(%rax), %edx
	movl	4(%rax), %edi
	movl	8(%rbx), %ecx
	movq	%r14, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_HLog
	jmp	LBB0_11
LBB0_8:
	xorl	%eax, %eax
	callq	_Tick64
	movq	%rax, %r13
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	addq	$60000, %rax                    ## imm = 0xEA60
	cmpq	%rax, %r13
	jb	LBB0_11
LBB0_10:
	movq	(%r15), %rax
	movl	(%rax), %edx
	movl	4(%rax), %edi
	movl	8(%rbx), %ecx
	movq	%r14, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_HLog
	movq	%r13, (%rbx)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LH_SET_MTU"

L_.str.1:                               ## @.str.1
	.asciz	"LH_SET_MTU_ERROR"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NormalizeEthMtu                ; -- Begin function NormalizeEthMtu
	.p2align	2
_NormalizeEthMtu:                       ; @NormalizeEthMtu
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x1, LBB0_11
; %bb.1:
	mov	x20, x0
	cbz	x0, LBB0_11
; %bb.2:
	mov	x19, x2
	cbz	x2, LBB0_11
; %bb.3:
	mov	x21, x1
	ldr	w0, [x20, #12]
	bl	_EthIsChangeMtuSupported
	cbz	x0, LBB0_11
; %bb.4:
	ldr	w0, [x20, #12]
	bl	_EthGetMtu
	cbz	x0, LBB0_11
; %bb.5:
	mov	x22, x0
	cmp	x0, x19
	b.ge	LBB0_11
; %bb.6:
	ldr	w0, [x20, #12]
	mov	x1, x19
	bl	_EthSetMtu
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x8, [x21]
	ldp	w2, w0, [x8]
	ldr	w3, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x22
	mov	x5, x19
	mov	x6, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_HLog
LBB0_8:
	bl	_Tick64
	mov	x23, x0
	ldr	x8, [x20]
	cbz	x8, LBB0_10
; %bb.9:
	mov	w9, #60000
	add	x8, x8, x9
	cmp	x23, x8
	b.lo	LBB0_11
LBB0_10:
	ldr	x8, [x21]
	ldp	w2, w0, [x8]
	ldr	w3, [x20, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x4, x22
	mov	x5, x19
	mov	x6, x19
	bl	_HLog
	str	x23, [x20]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LH_SET_MTU"

l_.str.1:                               ; @.str.1
	.asciz	"LH_SET_MTU_ERROR"

.subsections_via_symbols
