	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netvsc_change_mtu
_netvsc_change_mtu:                     ## @netvsc_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r13
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_rtnl_dereference
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_rtnl_dereference
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r15
	cmpq	$0, (%rax)
	je	LBB0_4
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r13), %ebx
	movq	%r15, %rdi
	callq	_netvsc_devinfo_get
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_dev_set_mtu
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
LBB0_8:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_netvsc_detach
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_9
LBB0_13:
	testq	%r14, %r14
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_dev_set_mtu
	jmp	LBB0_15
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	movl	%r12d, (%r13)
	movq	%r13, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_netvsc_attach
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movl	%eax, %ebx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r13)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_netvsc_attach
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_netdev_err
	jmp	LBB0_13
LBB0_10:
	xorl	%ebx, %ebx
LBB0_15:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"restoring mtu failed\n"

	.no_dead_strip	_netvsc_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netvsc_change_mtu
_netvsc_change_mtu:                     ; @netvsc_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	x24, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	w0, [x0, #4]
	bl	_rtnl_dereference
	mov	x19, x0
	ldr	w0, [x21]
	bl	_rtnl_dereference
	cbz	x0, LBB0_2
; %bb.1:
	mov	x25, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_4:
	mov	x0, x23
	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
LBB0_5:
	ldr	w22, [x20]
	mov	x0, x25
	bl	_netvsc_devinfo_get
	cbz	x0, LBB0_15
; %bb.6:
	mov	x21, x0
	cbz	x19, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x24
	bl	_dev_set_mtu
	mov	x23, x0
	cbnz	w0, LBB0_14
LBB0_8:
	mov	x0, x20
	mov	x1, x25
	bl	_netvsc_detach
	mov	x23, x0
	cbnz	w0, LBB0_12
; %bb.9:
	str	w24, [x20]
	mov	x0, x20
	mov	x1, x21
	bl	_netvsc_attach
	mov	x23, x0
	cbz	w0, LBB0_14
; %bb.10:
	str	w22, [x20]
	mov	x0, x20
	mov	x1, x21
	bl	_netvsc_attach
	cbz	w0, LBB0_12
; %bb.11:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
LBB0_12:
	cbz	x19, LBB0_14
; %bb.13:
	mov	x0, x19
	mov	x1, x22
	bl	_dev_set_mtu
LBB0_14:
	mov	x0, x21
	bl	_kfree
	b	LBB0_4
LBB0_15:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"restoring mtu failed\n"

	.no_dead_strip	_netvsc_change_mtu
.subsections_via_symbols
