	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __netvsc_vf_setup
___netvsc_vf_setup:                     ## @__netvsc_vf_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	movq	%r14, %rdi
	callq	_dev_set_mtu
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_warn
LBB0_2:
	movq	_IFF_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	4(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_dev_change_flags
	movq	%rbx, %rdi
	callq	_netif_addr_lock_bh
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dev_uc_sync
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dev_mc_sync
	movq	%rbx, %rdi
	callq	_netif_addr_unlock_bh
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_dev_open
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netdev_warn                    ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to change mtu to %u\n"

	.comm	_IFF_SLAVE,4,2                  ## @IFF_SLAVE
L_.str.1:                               ## @.str.1
	.asciz	"unable to open: %d\n"

	.no_dead_strip	___netvsc_vf_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __netvsc_vf_setup
___netvsc_vf_setup:                     ; @__netvsc_vf_setup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w1, [x0]
	mov	x0, x19
	bl	_dev_set_mtu
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w2, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_warn
LBB0_2:
	ldr	w8, [x20, #4]
Lloh2:
	adrp	x9, _IFF_SLAVE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IFF_SLAVE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	mov	x2, #0
	bl	_dev_change_flags
	mov	x0, x20
	bl	_netif_addr_lock_bh
	mov	x0, x19
	mov	x1, x20
	bl	_dev_uc_sync
	mov	x0, x19
	mov	x1, x20
	bl	_dev_mc_sync
	mov	x0, x20
	bl	_netif_addr_unlock_bh
	mov	x0, x20
	bl	_netif_running
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	x1, #0
	bl	_dev_open
	cbz	w0, LBB0_5
; %bb.4:
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netdev_warn
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to change mtu to %u\n"

	.comm	_IFF_SLAVE,4,2                  ; @IFF_SLAVE
l_.str.1:                               ; @.str.1
	.asciz	"unable to open: %d\n"

	.no_dead_strip	___netvsc_vf_setup
.subsections_via_symbols
