	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netvsc_vf_join
_netvsc_vf_join:                        ## @netvsc_vf_join
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	_netvsc_vf_handle_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_netdev_rx_handler_register
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_5
LBB0_2:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_netdev_master_upper_dev_link
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r13d
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_netdev_err
	movq	%r14, %rdi
	callq	_netdev_rx_handler_unregister
	movl	%r13d, %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_IFF_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
	movq	_VF_TAKEOVER_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_schedule_delayed_work
	movq	_NETDEV_JOIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_call_netdevice_notifiers
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_info
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_netvsc_vf_handle_frame,4,2     ## @netvsc_vf_handle_frame
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can not register netvsc VF receive handler (err = %d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"can not set master device %s (err = %d)\n"

	.comm	_IFF_SLAVE,4,2                  ## @IFF_SLAVE
	.comm	_VF_TAKEOVER_INT,4,2            ## @VF_TAKEOVER_INT
	.comm	_NETDEV_JOIN,4,2                ## @NETDEV_JOIN
L_.str.2:                               ## @.str.2
	.asciz	"joined to %s\n"

	.no_dead_strip	_netvsc_vf_join
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netvsc_vf_join
_netvsc_vf_join:                        ; @netvsc_vf_join
	.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, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
Lloh0:
	adrp	x8, _netvsc_vf_handle_frame@GOTPAGE
Lloh1:
	ldr	x8, [x8, _netvsc_vf_handle_frame@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_netdev_rx_handler_register
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_netdev_err
	b	LBB0_5
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_netdev_master_upper_dev_link
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w2, [x20]
	str	x21, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	mov	x0, x19
	bl	_netdev_rx_handler_unregister
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _IFF_SLAVE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IFF_SLAVE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
Lloh10:
	adrp	x8, _VF_TAKEOVER_INT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VF_TAKEOVER_INT@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_schedule_delayed_work
Lloh13:
	adrp	x8, _NETDEV_JOIN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETDEV_JOIN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_call_netdevice_notifiers
	ldr	w2, [x20]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
LBB0_5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_netvsc_vf_handle_frame,4,2     ; @netvsc_vf_handle_frame
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can not register netvsc VF receive handler (err = %d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"can not set master device %s (err = %d)\n"

	.comm	_IFF_SLAVE,4,2                  ; @IFF_SLAVE
	.comm	_VF_TAKEOVER_INT,4,2            ; @VF_TAKEOVER_INT
	.comm	_NETDEV_JOIN,4,2                ; @NETDEV_JOIN
l_.str.2:                               ; @.str.2
	.asciz	"joined to %s\n"

	.no_dead_strip	_netvsc_vf_join
.subsections_via_symbols
