	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpnet_dev_change_mtu
_xpnet_dev_change_mtu:                  ## @xpnet_dev_change_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	%esi, %ecx
	movq	_XPNET_MAX_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	cmpl	$68, %esi
	jl	LBB0_2
## %bb.1:
	cmpl	%ecx, %r8d
	jl	LBB0_2
## %bb.3:
	movl	%ecx, (%rdi)
	movq	_xpnet@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%rdi), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_dbg
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_xpnet@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XPNET_MAX_MTU,4,2              ## @XPNET_MAX_MTU
	.comm	_xpnet,4,2                      ## @xpnet
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ifconfig %s mtu %d failed; value must be between 68 and %ld\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"ifconfig %s mtu set to %d\n"

	.no_dead_strip	_xpnet_dev_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpnet_dev_change_mtu
_xpnet_dev_change_mtu:                  ; @xpnet_dev_change_mtu
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x3, x1
Lloh0:
	adrp	x8, _XPNET_MAX_MTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XPNET_MAX_MTU@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	cmp	w1, #68
	b.lt	LBB0_3
; %bb.1:
	cmp	w4, w3
	b.lt	LBB0_3
; %bb.2:
	str	w3, [x0]
Lloh3:
	adrp	x8, _xpnet@GOTPAGE
Lloh4:
	ldr	x8, [x8, _xpnet@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w2, [x0, #4]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
	bl	_dev_dbg
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh8:
	adrp	x8, _xpnet@GOTPAGE
Lloh9:
	ldr	x8, [x8, _xpnet@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w2, [x0, #4]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_dev_err
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_XPNET_MAX_MTU,4,2              ; @XPNET_MAX_MTU
	.comm	_xpnet,4,2                      ; @xpnet
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ifconfig %s mtu %d failed; value must be between 68 and %ld\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"ifconfig %s mtu set to %d\n"

	.no_dead_strip	_xpnet_dev_change_mtu
.subsections_via_symbols
