	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_get_wireless_stats
_ipw_get_wireless_stats:                ## @ipw_get_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_libipw_priv
	movq	%rax, %rbx
	leaq	56(%rax), %r14
	movq	_STATUS_ASSOCIATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	48(%rbx), %rax
	movq	%rax, 104(%rbx)
	movups	32(%rbx), %xmm0
	movups	%xmm0, 88(%rbx)
	movq	_IW_QUAL_QUAL_UPDATED@GOTPCREL(%rip), %rax
	movq	_IW_QUAL_LEVEL_UPDATED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IW_QUAL_NOISE_UPDATED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_IW_QUAL_DBM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 80(%rbx)
	movq	%rbx, %rdi
	addq	$24, %rdi
	callq	_average_value
	movq	%rax, 72(%rbx)
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rax
	movl	(%rcx), %ecx
	movl	%ecx, 56(%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	$0, 72(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%rbx)
	movq	$0, 104(%rbx)
	movq	_IW_QUAL_NOISE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IW_QUAL_QUAL_INVALID@GOTPCREL(%rip), %rcx
	movq	_IW_QUAL_LEVEL_INVALID@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	orl	$7, %eax
	movl	%eax, 80(%rbx)
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, 64(%rbx)
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_ASSOCIATED,4,2          ## @STATUS_ASSOCIATED
	.comm	_IW_QUAL_NOISE_INVALID,4,2      ## @IW_QUAL_NOISE_INVALID
	.comm	_IW_QUAL_QUAL_INVALID,4,2       ## @IW_QUAL_QUAL_INVALID
	.comm	_IW_QUAL_LEVEL_INVALID,4,2      ## @IW_QUAL_LEVEL_INVALID
	.comm	_IW_QUAL_QUAL_UPDATED,4,2       ## @IW_QUAL_QUAL_UPDATED
	.comm	_IW_QUAL_LEVEL_UPDATED,4,2      ## @IW_QUAL_LEVEL_UPDATED
	.comm	_IW_QUAL_NOISE_UPDATED,4,2      ## @IW_QUAL_NOISE_UPDATED
	.comm	_IW_QUAL_DBM,4,2                ## @IW_QUAL_DBM
	.no_dead_strip	_ipw_get_wireless_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_get_wireless_stats
_ipw_get_wireless_stats:                ; @ipw_get_wireless_stats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_libipw_priv
	mov	x19, x0
	mov	x20, x0
	ldr	w8, [x20], #56
Lloh0:
	adrp	x9, _STATUS_ASSOCIATED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STATUS_ASSOCIATED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19, #48]
	str	x8, [x19, #104]
	ldr	q0, [x19, #32]
	stur	q0, [x19, #88]
Lloh3:
	adrp	x8, _IW_QUAL_QUAL_UPDATED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IW_QUAL_QUAL_UPDATED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IW_QUAL_LEVEL_UPDATED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IW_QUAL_LEVEL_UPDATED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _IW_QUAL_NOISE_UPDATED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IW_QUAL_NOISE_UPDATED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _IW_QUAL_DBM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IW_QUAL_DBM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #80]
	add	x0, x19, #24
	bl	_average_value
	str	x0, [x19, #72]
	ldp	x9, x8, [x19, #8]
	ldr	w9, [x9]
	str	w9, [x19, #56]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
	str	xzr, [x19, #72]
	str	xzr, [x19, #104]
Lloh15:
	adrp	x9, _IW_QUAL_NOISE_INVALID@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IW_QUAL_NOISE_INVALID@GOTPAGEOFF]
	stp	xzr, xzr, [x19, #88]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _IW_QUAL_QUAL_INVALID@GOTPAGE
Lloh19:
	ldr	x10, [x10, _IW_QUAL_QUAL_INVALID@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh21:
	adrp	x10, _IW_QUAL_LEVEL_INVALID@GOTPAGE
Lloh22:
	ldr	x10, [x10, _IW_QUAL_LEVEL_INVALID@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w9, w9, w10
	orr	w9, w9, #0x7
	str	w9, [x19, #80]
LBB0_3:
	str	x8, [x19, #64]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_ASSOCIATED,4,2          ; @STATUS_ASSOCIATED
	.comm	_IW_QUAL_NOISE_INVALID,4,2      ; @IW_QUAL_NOISE_INVALID
	.comm	_IW_QUAL_QUAL_INVALID,4,2       ; @IW_QUAL_QUAL_INVALID
	.comm	_IW_QUAL_LEVEL_INVALID,4,2      ; @IW_QUAL_LEVEL_INVALID
	.comm	_IW_QUAL_QUAL_UPDATED,4,2       ; @IW_QUAL_QUAL_UPDATED
	.comm	_IW_QUAL_LEVEL_UPDATED,4,2      ; @IW_QUAL_LEVEL_UPDATED
	.comm	_IW_QUAL_NOISE_UPDATED,4,2      ; @IW_QUAL_NOISE_UPDATED
	.comm	_IW_QUAL_DBM,4,2                ; @IW_QUAL_DBM
	.no_dead_strip	_ipw_get_wireless_stats
.subsections_via_symbols
