	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netvsc_probe
_netvsc_probe:                          ## @netvsc_probe
	.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
	movq	%rdi, %r14
	movl	$16, %edi
	callq	_alloc_etherdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_netif_carrier_off
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%r14, 8(%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_hv_set_drvdata
	leaq	4(%r15), %rdi
	movq	_netvsc_send_garp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	_do_set_multicast@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_WORK
	movq	_device_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rax
	movq	_NETIF_F_HW_VLAN_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_ethtool_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_SET_ETHTOOL_OPS
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_SET_NETDEV_DEV
	movq	%rbx, %rdi
	callq	_register_netdev
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	%rbx, %rdi
	callq	_free_netdev
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_7
LBB0_4:
	movq	_ring_size@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_rndis_filter_device_add
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_netdev_err
	movq	%rbx, %rdi
	callq	_unregister_netdev
	movq	%rbx, %rdi
	callq	_free_netdev
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hv_set_drvdata
	jmp	LBB0_7
LBB0_6:
	movl	4(%rbx), %edi
	movl	-32(%rbp), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_netif_carrier_on
	xorl	%r15d, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_netvsc_send_garp,4,2           ## @netvsc_send_garp
	.comm	_do_set_multicast,4,2           ## @do_set_multicast
	.comm	_device_ops,4,2                 ## @device_ops
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_HW_VLAN_TX,4,2         ## @NETIF_F_HW_VLAN_TX
	.comm	_ethtool_ops,4,2                ## @ethtool_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to register netdev.\n"

	.comm	_ring_size,4,2                  ## @ring_size
L_.str.1:                               ## @.str.1
	.asciz	"unable to add netvsc device (ret %d)\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_netvsc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netvsc_probe
_netvsc_probe:                          ; @netvsc_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	mov	w0, #16
	bl	_alloc_etherdev
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_netif_carrier_off
	mov	x0, x19
	bl	_netdev_priv
	mov	x21, x0
	str	x20, [x0, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_hv_set_drvdata
	add	x0, x21, #4
Lloh0:
	adrp	x8, _netvsc_send_garp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _netvsc_send_garp@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
Lloh3:
	adrp	x8, _do_set_multicast@GOTPAGE
Lloh4:
	ldr	x8, [x8, _do_set_multicast@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_INIT_WORK
Lloh6:
	adrp	x8, _device_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _device_ops@GOTPAGEOFF]
	str	x8, [x19, #8]
Lloh8:
	adrp	x8, _NETIF_F_SG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETIF_F_SG@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _NETIF_F_HW_VLAN_TX@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_TX@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh14:
	adrp	x1, _ethtool_ops@GOTPAGE
Lloh15:
	ldr	x1, [x1, _ethtool_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_SET_ETHTOOL_OPS
	mov	x0, x19
	mov	x1, x20
	bl	_SET_NETDEV_DEV
	mov	x0, x19
	bl	_register_netdev
	cbz	w0, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	x0, x19
	bl	_free_netdev
	b	LBB0_7
LBB0_3:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_4:
Lloh21:
	adrp	x8, _ring_size@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ring_size@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	add	x1, sp, #8
	mov	x0, x20
	bl	_rndis_filter_device_add
	mov	x21, x0
	cbz	w0, LBB0_6
; %bb.5:
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_netdev_err
	mov	x0, x19
	bl	_unregister_netdev
	mov	x0, x19
	bl	_free_netdev
	mov	x0, x20
	mov	x1, #0
	bl	_hv_set_drvdata
	b	LBB0_7
LBB0_6:
	ldr	w0, [x19, #4]
	ldr	w1, [sp, #8]
Lloh26:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x0, x19
	bl	_netif_carrier_on
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_netvsc_send_garp,4,2           ; @netvsc_send_garp
	.comm	_do_set_multicast,4,2           ; @do_set_multicast
	.comm	_device_ops,4,2                 ; @device_ops
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_HW_VLAN_TX,4,2         ; @NETIF_F_HW_VLAN_TX
	.comm	_ethtool_ops,4,2                ; @ethtool_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to register netdev.\n"

	.comm	_ring_size,4,2                  ; @ring_size
l_.str.1:                               ; @.str.1
	.asciz	"unable to add netvsc device (ret %d)\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_netvsc_probe
.subsections_via_symbols
