	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfg80211_wireless_stats
_cfg80211_wireless_stats:               ## @cfg80211_wireless_stats
	.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	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rbx
	movl	16(%rbx), %edi
	callq	_wiphy_to_dev
	movq	%rax, %r15
	movq	_ETH_ALEN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	8(%r15), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_wdev_lock
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r12, %rdi
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_wdev_unlock
	leaq	_cfg80211_wireless_stats.sinfo(%rip), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_rdev_get_station
	testq	%rax, %rax
	je	LBB0_8
LBB0_5:
	xorl	%r14d, %r14d
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	movq	%r14, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	callq	_wdev_unlock
	xorl	%r14d, %r14d
	jmp	LBB0_20
LBB0_8:
	leaq	_cfg80211_wireless_stats.wstats(%rip), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_12
## %bb.9:
	cmpl	$129, %eax
	jne	LBB0_14
## %bb.10:
	movl	_cfg80211_wireless_stats.sinfo(%rip), %eax
	movq	_STATION_INFO_SIGNAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.11:
	movq	_IW_QUAL_LEVEL_UPDATED@GOTPCREL(%rip), %rdx
	movl	_cfg80211_wireless_stats.wstats+16(%rip), %ecx
	orl	(%rdx), %ecx
	movq	_IW_QUAL_QUAL_UPDATED@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_IW_QUAL_DBM@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	_cfg80211_wireless_stats.sinfo+4(%rip), %edx
	movl	%edx, _cfg80211_wireless_stats.wstats+8(%rip)
	cmpl	$-40, %edx
	movl	$-40, %esi
	cmovll	%edx, %esi
	addl	$110, %esi
	xorl	%edi, %edi
	cmpl	$-110, %edx
	cmovgel	%esi, %edi
	movl	%edi, _cfg80211_wireless_stats.wstats+12(%rip)
	jmp	LBB0_16
LBB0_12:
	movl	_cfg80211_wireless_stats.sinfo(%rip), %eax
	movq	_STATION_INFO_SIGNAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.13:
	movq	_IW_QUAL_LEVEL_UPDATED@GOTPCREL(%rip), %rdx
	movl	_cfg80211_wireless_stats.wstats+16(%rip), %ecx
	orl	(%rdx), %ecx
	movq	_IW_QUAL_QUAL_UPDATED@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	_cfg80211_wireless_stats.sinfo+4(%rip), %edx
	movl	%edx, _cfg80211_wireless_stats.wstats+8(%rip)
	movl	%edx, _cfg80211_wireless_stats.wstats+12(%rip)
	jmp	LBB0_16
LBB0_14:
	movl	_cfg80211_wireless_stats.sinfo(%rip), %eax
LBB0_15:
	movq	_IW_QUAL_LEVEL_INVALID@GOTPCREL(%rip), %rdx
	movl	_cfg80211_wireless_stats.wstats+16(%rip), %ecx
	orl	(%rdx), %ecx
	movq	_IW_QUAL_QUAL_INVALID@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
LBB0_16:
	movq	_IW_QUAL_NOISE_INVALID@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, _cfg80211_wireless_stats.wstats+16(%rip)
	movq	_STATION_INFO_RX_DROP_MISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	movl	_cfg80211_wireless_stats.sinfo+12(%rip), %ecx
	movl	%ecx, _cfg80211_wireless_stats.wstats+4(%rip)
LBB0_18:
	movq	_STATION_INFO_TX_FAILED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.19:
	movl	_cfg80211_wireless_stats.sinfo+8(%rip), %eax
	movl	%eax, _cfg80211_wireless_stats.wstats(%rip)
	jmp	LBB0_20
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_cfg80211_wireless_stats.wstats,20,2 ## @cfg80211_wireless_stats.wstats
.zerofill __DATA,__bss,_cfg80211_wireless_stats.sinfo,16,2 ## @cfg80211_wireless_stats.sinfo
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_STATION_INFO_SIGNAL,4,2        ## @STATION_INFO_SIGNAL
	.comm	_IW_QUAL_LEVEL_UPDATED,4,2      ## @IW_QUAL_LEVEL_UPDATED
	.comm	_IW_QUAL_QUAL_UPDATED,4,2       ## @IW_QUAL_QUAL_UPDATED
	.comm	_IW_QUAL_DBM,4,2                ## @IW_QUAL_DBM
	.comm	_IW_QUAL_LEVEL_INVALID,4,2      ## @IW_QUAL_LEVEL_INVALID
	.comm	_IW_QUAL_QUAL_INVALID,4,2       ## @IW_QUAL_QUAL_INVALID
	.comm	_IW_QUAL_NOISE_INVALID,4,2      ## @IW_QUAL_NOISE_INVALID
	.comm	_STATION_INFO_RX_DROP_MISC,4,2  ## @STATION_INFO_RX_DROP_MISC
	.comm	_STATION_INFO_TX_FAILED,4,2     ## @STATION_INFO_TX_FAILED
	.no_dead_strip	_cfg80211_wireless_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfg80211_wireless_stats
_cfg80211_wireless_stats:               ; @cfg80211_wireless_stats
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x21, [x0]
	ldr	w0, [x21, #16]
	bl	_wiphy_to_dev
	mov	x19, x0
Lloh3:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_wdev_lock
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x22
	bl	_memcpy
	mov	x0, x21
	bl	_wdev_unlock
Lloh10:
	adrp	x3, _cfg80211_wireless_stats.sinfo@PAGE
Lloh11:
	add	x3, x3, _cfg80211_wireless_stats.sinfo@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_rdev_get_station
	cbz	x0, LBB0_8
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.6:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x21
	bl	_wdev_unlock
	mov	x0, #0
	b	LBB0_5
LBB0_8:
Lloh15:
	adrp	x0, _cfg80211_wireless_stats.wstats@PAGE
Lloh16:
	add	x0, x0, _cfg80211_wireless_stats.wstats@PAGEOFF
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	ldr	w8, [x19]
	adrp	x9, _cfg80211_wireless_stats.wstats@PAGE+16
	cmp	w8, #128
	b.eq	LBB0_12
; %bb.9:
	cmp	w8, #129
	b.ne	LBB0_14
; %bb.10:
Lloh17:
	adrp	x8, _cfg80211_wireless_stats.sinfo@PAGE
Lloh18:
	ldr	w8, [x8, _cfg80211_wireless_stats.sinfo@PAGEOFF]
Lloh19:
	adrp	x10, _STATION_INFO_SIGNAL@GOTPAGE
Lloh20:
	ldr	x10, [x10, _STATION_INFO_SIGNAL@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_15
; %bb.11:
Lloh22:
	adrp	x10, _cfg80211_wireless_stats.sinfo@PAGE+4
Lloh23:
	ldr	w11, [x10, _cfg80211_wireless_stats.sinfo@PAGEOFF+4]
Lloh24:
	adrp	x10, _IW_QUAL_LEVEL_UPDATED@GOTPAGE
Lloh25:
	ldr	x10, [x10, _IW_QUAL_LEVEL_UPDATED@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
Lloh27:
	adrp	x12, _cfg80211_wireless_stats.wstats@PAGE+8
Lloh28:
	add	x12, x12, _cfg80211_wireless_stats.wstats@PAGEOFF+8
	ldr	w13, [x12, #8]
	orr	w10, w13, w10
Lloh29:
	adrp	x13, _IW_QUAL_QUAL_UPDATED@GOTPAGE
Lloh30:
	ldr	x13, [x13, _IW_QUAL_QUAL_UPDATED@GOTPAGEOFF]
Lloh31:
	ldr	w13, [x13]
	orr	w10, w13, w10
Lloh32:
	adrp	x13, _IW_QUAL_DBM@GOTPAGE
Lloh33:
	ldr	x13, [x13, _IW_QUAL_DBM@GOTPAGEOFF]
Lloh34:
	ldr	w13, [x13]
	orr	w10, w13, w10
	cmn	w11, #40
	mov	w13, #-40
	csel	w13, w11, w13, lt
	add	w13, w13, #110
	cmn	w11, #110
	csel	w13, wzr, w13, lt
	stp	w11, w13, [x12]
	b	LBB0_16
LBB0_12:
Lloh35:
	adrp	x8, _cfg80211_wireless_stats.sinfo@PAGE
Lloh36:
	ldr	w8, [x8, _cfg80211_wireless_stats.sinfo@PAGEOFF]
Lloh37:
	adrp	x10, _STATION_INFO_SIGNAL@GOTPAGE
Lloh38:
	ldr	x10, [x10, _STATION_INFO_SIGNAL@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_15
; %bb.13:
Lloh40:
	adrp	x10, _IW_QUAL_LEVEL_UPDATED@GOTPAGE
Lloh41:
	ldr	x10, [x10, _IW_QUAL_LEVEL_UPDATED@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
Lloh43:
	adrp	x11, _cfg80211_wireless_stats.wstats@PAGE+8
Lloh44:
	add	x11, x11, _cfg80211_wireless_stats.wstats@PAGEOFF+8
	ldr	w12, [x11, #8]
	orr	w10, w12, w10
Lloh45:
	adrp	x12, _IW_QUAL_QUAL_UPDATED@GOTPAGE
Lloh46:
	ldr	x12, [x12, _IW_QUAL_QUAL_UPDATED@GOTPAGEOFF]
Lloh47:
	ldr	w12, [x12]
	orr	w10, w12, w10
Lloh48:
	adrp	x12, _cfg80211_wireless_stats.sinfo@PAGE+4
Lloh49:
	ldr	w12, [x12, _cfg80211_wireless_stats.sinfo@PAGEOFF+4]
	stp	w12, w12, [x11]
	b	LBB0_16
LBB0_14:
Lloh50:
	adrp	x8, _cfg80211_wireless_stats.sinfo@PAGE
Lloh51:
	ldr	w8, [x8, _cfg80211_wireless_stats.sinfo@PAGEOFF]
LBB0_15:
Lloh52:
	adrp	x10, _IW_QUAL_LEVEL_INVALID@GOTPAGE
Lloh53:
	ldr	x10, [x10, _IW_QUAL_LEVEL_INVALID@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
	ldr	w11, [x9, _cfg80211_wireless_stats.wstats@PAGEOFF+16]
	orr	w10, w11, w10
Lloh55:
	adrp	x11, _IW_QUAL_QUAL_INVALID@GOTPAGE
Lloh56:
	ldr	x11, [x11, _IW_QUAL_QUAL_INVALID@GOTPAGEOFF]
Lloh57:
	ldr	w11, [x11]
	orr	w10, w11, w10
LBB0_16:
Lloh58:
	adrp	x11, _IW_QUAL_NOISE_INVALID@GOTPAGE
Lloh59:
	ldr	x11, [x11, _IW_QUAL_NOISE_INVALID@GOTPAGEOFF]
Lloh60:
	ldr	w11, [x11]
	orr	w10, w10, w11
	str	w10, [x9, _cfg80211_wireless_stats.wstats@PAGEOFF+16]
Lloh61:
	adrp	x9, _STATION_INFO_RX_DROP_MISC@GOTPAGE
Lloh62:
	ldr	x9, [x9, _STATION_INFO_RX_DROP_MISC@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
Lloh64:
	adrp	x9, _cfg80211_wireless_stats.sinfo@PAGE+12
Lloh65:
	ldr	w9, [x9, _cfg80211_wireless_stats.sinfo@PAGEOFF+12]
	adrp	x10, _cfg80211_wireless_stats.wstats@PAGE+4
	str	w9, [x10, _cfg80211_wireless_stats.wstats@PAGEOFF+4]
LBB0_18:
Lloh66:
	adrp	x9, _STATION_INFO_TX_FAILED@GOTPAGE
Lloh67:
	ldr	x9, [x9, _STATION_INFO_TX_FAILED@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
Lloh69:
	adrp	x0, _cfg80211_wireless_stats.wstats@PAGE
Lloh70:
	add	x0, x0, _cfg80211_wireless_stats.wstats@PAGEOFF
	tst	w9, w8
	b.eq	LBB0_5
; %bb.19:
Lloh71:
	adrp	x8, _cfg80211_wireless_stats.sinfo@PAGE+8
Lloh72:
	ldr	w8, [x8, _cfg80211_wireless_stats.sinfo@PAGEOFF+8]
	str	w8, [x0]
	b	LBB0_5
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdrp	Lloh22, Lloh24
	.loh AdrpLdr	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdr	Lloh35, Lloh36
	.loh AdrpLdr	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdr	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdr	Lloh64, Lloh65
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdr	Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_cfg80211_wireless_stats.wstats,20,2 ; @cfg80211_wireless_stats.wstats
.zerofill __DATA,__bss,_cfg80211_wireless_stats.sinfo,16,2 ; @cfg80211_wireless_stats.sinfo
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_STATION_INFO_SIGNAL,4,2        ; @STATION_INFO_SIGNAL
	.comm	_IW_QUAL_LEVEL_UPDATED,4,2      ; @IW_QUAL_LEVEL_UPDATED
	.comm	_IW_QUAL_QUAL_UPDATED,4,2       ; @IW_QUAL_QUAL_UPDATED
	.comm	_IW_QUAL_DBM,4,2                ; @IW_QUAL_DBM
	.comm	_IW_QUAL_LEVEL_INVALID,4,2      ; @IW_QUAL_LEVEL_INVALID
	.comm	_IW_QUAL_QUAL_INVALID,4,2       ; @IW_QUAL_QUAL_INVALID
	.comm	_IW_QUAL_NOISE_INVALID,4,2      ; @IW_QUAL_NOISE_INVALID
	.comm	_STATION_INFO_RX_DROP_MISC,4,2  ; @STATION_INFO_RX_DROP_MISC
	.comm	_STATION_INFO_TX_FAILED,4,2     ; @STATION_INFO_TX_FAILED
	.no_dead_strip	_cfg80211_wireless_stats
.subsections_via_symbols
