	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netvsc_linkstatus_callback     ## -- Begin function netvsc_linkstatus_callback
	.p2align	4, 0x90
_netvsc_linkstatus_callback:            ## @netvsc_linkstatus_callback
	.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	%rsi, %r15
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movl	4(%r15), %eax
	movq	_RNDIS_STATUS_LINK_SPEED_CHANGE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movslq	(%r15), %rax
	movslq	(%r15,%rax), %rax
	imulq	$1759218605, %rax, %rax         ## imm = 0x68DB8BAD
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$44, %rax
	addl	%ecx, %eax
	movl	%eax, (%r14)
	jmp	LBB0_7
LBB0_2:
	movq	_RNDIS_STATUS_NETWORK_CHANGE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.3:
	movq	_RNDIS_STATUS_MEDIA_CONNECT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.4:
	movq	_RNDIS_STATUS_MEDIA_DISCONNECT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
LBB0_5:
	movq	(%rbx), %rax
	movq	_NETREG_REGISTERED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %rbx
	movl	4(%r15), %eax
	movl	%eax, 4(%rbx)
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	leaq	12(%r14), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	addq	$4, %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_delayed_work          ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RNDIS_STATUS_LINK_SPEED_CHANGE,4,2 ## @RNDIS_STATUS_LINK_SPEED_CHANGE
	.comm	_RNDIS_STATUS_NETWORK_CHANGE,4,2 ## @RNDIS_STATUS_NETWORK_CHANGE
	.comm	_RNDIS_STATUS_MEDIA_CONNECT,4,2 ## @RNDIS_STATUS_MEDIA_CONNECT
	.comm	_RNDIS_STATUS_MEDIA_DISCONNECT,4,2 ## @RNDIS_STATUS_MEDIA_DISCONNECT
	.comm	_NETREG_REGISTERED,8,3          ## @NETREG_REGISTERED
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netvsc_linkstatus_callback     ; -- Begin function netvsc_linkstatus_callback
	.p2align	2
_netvsc_linkstatus_callback:            ; @netvsc_linkstatus_callback
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x20, #4]
Lloh0:
	adrp	x9, _RNDIS_STATUS_LINK_SPEED_CHANGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RNDIS_STATUS_LINK_SPEED_CHANGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	ldrsw	x8, [x20]
	ldrsw	x8, [x20, x8]
	mov	w9, #35757
	movk	w9, #26843, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #44
	add	w8, w8, w9
	str	w8, [x19]
	b	LBB0_6
LBB0_2:
Lloh3:
	adrp	x9, _RNDIS_STATUS_NETWORK_CHANGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RNDIS_STATUS_NETWORK_CHANGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _RNDIS_STATUS_MEDIA_CONNECT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RNDIS_STATUS_MEDIA_CONNECT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _RNDIS_STATUS_MEDIA_DISCONNECT@GOTPAGE
Lloh10:
	ldr	x11, [x11, _RNDIS_STATUS_MEDIA_DISCONNECT@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	ccmp	w8, w11, #4, ne
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x21]
Lloh12:
	adrp	x9, _NETREG_REGISTERED@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NETREG_REGISTERED@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
Lloh15:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.5:
	mov	x21, x0
	ldr	w8, [x20, #4]
	str	w8, [x0, #4]
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x1, x19, #12
	mov	x0, x21
	bl	_list_add_tail
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	x0, x19, #4
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_schedule_delayed_work
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RNDIS_STATUS_LINK_SPEED_CHANGE,4,2 ; @RNDIS_STATUS_LINK_SPEED_CHANGE
	.comm	_RNDIS_STATUS_NETWORK_CHANGE,4,2 ; @RNDIS_STATUS_NETWORK_CHANGE
	.comm	_RNDIS_STATUS_MEDIA_CONNECT,4,2 ; @RNDIS_STATUS_MEDIA_CONNECT
	.comm	_RNDIS_STATUS_MEDIA_DISCONNECT,4,2 ; @RNDIS_STATUS_MEDIA_DISCONNECT
	.comm	_NETREG_REGISTERED,8,3          ; @NETREG_REGISTERED
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
.subsections_via_symbols
