	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igbvf_change_mtu
_igbvf_change_mtu:                      ## @igbvf_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	%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
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	addl	%ebx, %r15d
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %r15d
	movq	%rax, %r12
	movq	%rax, %rbx
	addq	$8, %rbx
	movq	___IGBVF_RESETTING@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	jmp	LBB0_2
LBB0_3:
	movl	%r15d, (%r12)
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_igbvf_down
LBB0_5:
	movl	$1024, %eax                     ## imm = 0x400
	cmpl	$1025, %r15d                    ## imm = 0x401
	jl	LBB0_8
## %bb.6:
	movl	$2048, %eax                     ## imm = 0x800
	cmpl	$2049, %r15d                    ## imm = 0x801
	jb	LBB0_8
## %bb.7:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
LBB0_8:
	movl	%eax, 4(%r12)
	movq	_ETH_FRAME_LEN@GOTPCREL(%rip), %rax
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	(%rax), %ecx
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ecx, %eax
	cmpl	%ecx, %r15d
	je	LBB0_10
## %bb.9:
	cmpl	%eax, %r15d
	jne	LBB0_11
LBB0_10:
	movl	%eax, 4(%r12)
LBB0_11:
	movq	16(%r12), %rdi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	callq	_dev_info
	movl	%r15d, (%r14)
	movq	%r14, %rdi
	callq	_netif_running
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	callq	_igbvf_up
	jmp	LBB0_14
LBB0_13:
	callq	_igbvf_reset
LBB0_14:
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ## @ETH_FCS_LEN
	.comm	___IGBVF_RESETTING,4,2          ## @__IGBVF_RESETTING
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_ETH_FRAME_LEN,4,2              ## @ETH_FRAME_LEN
	.comm	_VLAN_HLEN,4,2                  ## @VLAN_HLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"changing MTU from %d to %d\n"

	.no_dead_strip	_igbvf_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igbvf_change_mtu
_igbvf_change_mtu:                      ; @igbvf_change_mtu
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x25, _ETH_FCS_LEN@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ETH_FCS_LEN@GOTPAGEOFF]
	ldr	w9, [x25]
	add	w8, w8, w22
	add	w24, w8, w9
	add	x19, x0, #8
Lloh5:
	adrp	x23, ___IGBVF_RESETTING@GOTPAGE
Lloh6:
	ldr	x23, [x23, ___IGBVF_RESETTING@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	mov	x1, x19
	bl	_test_and_set_bit
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	b	LBB0_1
LBB0_3:
	str	w24, [x20]
	mov	x0, x21
	bl	_netif_running
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_igbvf_down
LBB0_5:
	cmp	w24, #1025
	b.ge	LBB0_7
; %bb.6:
	mov	w8, #1024
	b	LBB0_10
LBB0_7:
	cmp	w24, #2049
	b.hs	LBB0_9
; %bb.8:
	mov	w8, #2048
	b	LBB0_10
LBB0_9:
Lloh7:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
LBB0_10:
	str	w8, [x20, #4]
Lloh10:
	adrp	x8, _ETH_FRAME_LEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETH_FRAME_LEN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _VLAN_HLEN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _VLAN_HLEN@GOTPAGEOFF]
	ldr	w10, [x25]
Lloh15:
	ldr	w9, [x9]
	add	w10, w10, w8
	add	w8, w10, w9
	cmp	w24, w10
	ccmp	w24, w8, #4, ne
	b.ne	LBB0_12
; %bb.11:
	str	w8, [x20, #4]
LBB0_12:
	ldr	x0, [x20, #16]
	ldr	w2, [x21]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x22
	bl	_dev_info
	str	w22, [x21]
	mov	x0, x21
	bl	_netif_running
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_igbvf_up
	b	LBB0_15
LBB0_14:
	mov	x0, x20
	bl	_igbvf_reset
LBB0_15:
	ldr	w0, [x23]
	mov	x1, x19
	bl	_clear_bit
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.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	___IGBVF_RESETTING,4,2          ; @__IGBVF_RESETTING
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_ETH_FRAME_LEN,4,2              ; @ETH_FRAME_LEN
	.comm	_VLAN_HLEN,4,2                  ; @VLAN_HLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"changing MTU from %d to %d\n"

	.no_dead_strip	_igbvf_change_mtu
.subsections_via_symbols
