	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rndis_filter_query_link_speed
_rndis_filter_query_link_speed:         ## @rndis_filter_query_link_speed
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$4, -24(%rbp)
	movq	_RNDIS_OID_GEN_LINK_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rcx
	leaq	-24(%rbp), %r8
	callq	_rndis_filter_query_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	callq	_netdev_priv
	movslq	-20(%rbp), %rcx
	imulq	$1759218605, %rcx, %rcx         ## imm = 0x68DB8BAD
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$44, %rcx
	addl	%edx, %ecx
	movl	%ecx, (%rax)
LBB0_2:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RNDIS_OID_GEN_LINK_SPEED,4,2   ## @RNDIS_OID_GEN_LINK_SPEED
	.no_dead_strip	_rndis_filter_query_link_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rndis_filter_query_link_speed
_rndis_filter_query_link_speed:         ; @rndis_filter_query_link_speed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	mov	w8, #4
	str	w8, [sp, #12]
Lloh0:
	adrp	x8, _RNDIS_OID_GEN_LINK_SPEED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RNDIS_OID_GEN_LINK_SPEED@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #8
	add	x4, sp, #12
	bl	_rndis_filter_query_device
	mov	x19, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_netdev_priv
	ldrsw	x8, [sp, #8]
	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, [x0]
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RNDIS_OID_GEN_LINK_SPEED,4,2   ; @RNDIS_OID_GEN_LINK_SPEED
	.no_dead_strip	_rndis_filter_query_link_speed
.subsections_via_symbols
