	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_change_mtu
_ixgbevf_change_mtu:                    ## @ixgbevf_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
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	cmpl	$128, (%rax)
	je	LBB0_3
## %bb.1:
	movl	4(%r15), %eax
	movq	_ixgbe_mac_X540_vf@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
LBB0_3:
	movq	_IXGBE_MAX_JUMBO_FRAME_SIZE@GOTPCREL(%rip), %rax
	cmpl	$68, %ebx
	jge	LBB0_5
	jmp	LBB0_6
LBB0_2:
	movq	_MAXIMUM_ETHERNET_VLAN_SIZE@GOTPCREL(%rip), %rax
	cmpl	$68, %ebx
	jl	LBB0_6
LBB0_5:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ebx, %ecx
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	cmpl	(%rax), %ecx
	jle	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_hw_dbg
	movl	%ebx, (%r14)
	movq	%r14, %rdi
	callq	_netif_running
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_ixgbevf_reinit_locked
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ## @ETH_FCS_LEN
	.comm	_MAXIMUM_ETHERNET_VLAN_SIZE,4,2 ## @MAXIMUM_ETHERNET_VLAN_SIZE
	.comm	_IXGBE_MAX_JUMBO_FRAME_SIZE,4,2 ## @IXGBE_MAX_JUMBO_FRAME_SIZE
	.comm	_ixgbe_mac_X540_vf,4,2          ## @ixgbe_mac_X540_vf
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"changing MTU from %d to %d\n"

	.no_dead_strip	_ixgbevf_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_change_mtu
_ixgbevf_change_mtu:                    ; @ixgbevf_change_mtu
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w9, [x0]
Lloh0:
	adrp	x8, _IXGBE_MAX_JUMBO_FRAME_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_MAX_JUMBO_FRAME_SIZE@GOTPAGEOFF]
	cmp	w9, #128
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x9, _ixgbe_mac_X540_vf@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ixgbe_mac_X540_vf@GOTPAGEOFF]
	ldr	w10, [x19, #4]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x11, _MAXIMUM_ETHERNET_VLAN_SIZE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _MAXIMUM_ETHERNET_VLAN_SIZE@GOTPAGEOFF]
	cmp	w10, w9
	csel	x8, x8, x11, eq
LBB0_2:
	cmp	w21, #68
	b.lt	LBB0_4
; %bb.3:
Lloh7:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh9:
	adrp	x10, _ETH_FCS_LEN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	ldr	w10, [x10]
	add	w9, w9, w21
	add	w9, w9, w10
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_6
LBB0_4:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w2, [x20]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	bl	_hw_dbg
	str	w21, [x20]
	mov	x0, x20
	bl	_netif_running
	cbz	x0, LBB0_5
; %bb.7:
	mov	x0, x19
	bl	_ixgbevf_reinit_locked
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ; @ETH_FCS_LEN
	.comm	_MAXIMUM_ETHERNET_VLAN_SIZE,4,2 ; @MAXIMUM_ETHERNET_VLAN_SIZE
	.comm	_IXGBE_MAX_JUMBO_FRAME_SIZE,4,2 ; @IXGBE_MAX_JUMBO_FRAME_SIZE
	.comm	_ixgbe_mac_X540_vf,4,2          ; @ixgbe_mac_X540_vf
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"changing MTU from %d to %d\n"

	.no_dead_strip	_ixgbevf_change_mtu
.subsections_via_symbols
