	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rndis_fill_station_info
_rndis_fill_station_info:               ## @rndis_fill_station_info
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	$4, -20(%rbp)
	movq	_RNDIS_OID_GEN_LINK_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_rndis_query_oid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-28(%rbp), %edi
	callq	_le32_to_cpu
	cltq
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	movl	%eax, 8(%r14)
	movq	_NL80211_STA_INFO_TX_BITRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_ULL
	orl	%eax, (%r14)
LBB0_2:
	movl	$4, -20(%rbp)
	movq	_RNDIS_OID_802_11_RSSI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_rndis_query_oid
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	-24(%rbp), %edi
	callq	_le32_to_cpu
	movl	%eax, %edi
	callq	_level_to_qual
	movl	%eax, 4(%r14)
	movq	_NL80211_STA_INFO_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_ULL
	orl	%eax, (%r14)
LBB0_4:
	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
	.comm	_NL80211_STA_INFO_TX_BITRATE,4,2 ## @NL80211_STA_INFO_TX_BITRATE
	.comm	_RNDIS_OID_802_11_RSSI,4,2      ## @RNDIS_OID_802_11_RSSI
	.comm	_NL80211_STA_INFO_SIGNAL,4,2    ## @NL80211_STA_INFO_SIGNAL
	.no_dead_strip	_rndis_fill_station_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rndis_fill_station_info
_rndis_fill_station_info:               ; @rndis_fill_station_info
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	mov	w21, #4
	str	w21, [sp, #4]
Lloh0:
	adrp	x8, _RNDIS_OID_GEN_LINK_SPEED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RNDIS_OID_GEN_LINK_SPEED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	add	x3, sp, #4
	mov	x0, x20
	bl	_rndis_query_oid
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_le32_to_cpu
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	w8, [x19, #8]
Lloh3:
	adrp	x8, _NL80211_STA_INFO_TX_BITRATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_STA_INFO_TX_BITRATE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_BIT_ULL
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
LBB0_2:
	str	w21, [sp, #4]
Lloh6:
	adrp	x8, _RNDIS_OID_802_11_RSSI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RNDIS_OID_802_11_RSSI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	bl	_rndis_query_oid
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [sp, #8]
	bl	_le32_to_cpu
	bl	_level_to_qual
	str	w0, [x19, #4]
Lloh9:
	adrp	x8, _NL80211_STA_INFO_SIGNAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NL80211_STA_INFO_SIGNAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_BIT_ULL
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
LBB0_4:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RNDIS_OID_GEN_LINK_SPEED,4,2   ; @RNDIS_OID_GEN_LINK_SPEED
	.comm	_NL80211_STA_INFO_TX_BITRATE,4,2 ; @NL80211_STA_INFO_TX_BITRATE
	.comm	_RNDIS_OID_802_11_RSSI,4,2      ; @RNDIS_OID_802_11_RSSI
	.comm	_NL80211_STA_INFO_SIGNAL,4,2    ; @NL80211_STA_INFO_SIGNAL
	.no_dead_strip	_rndis_fill_station_info
.subsections_via_symbols
