	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostap_get_wireless_stats
_hostap_get_wireless_stats:             ## @hostap_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	(%rax), %rcx
	movq	_HOSTAP_INTERFACE_MAIN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_1
## %bb.2:
	movq	8(%rax), %rbx
	movq	$0, 128(%rbx)
	movl	64(%rbx), %eax
	movl	%eax, 120(%rbx)
	movq	48(%rbx), %rax
	addq	56(%rbx), %rax
	addq	40(%rbx), %rax
	leaq	72(%rbx), %r14
	movq	%rax, 112(%rbx)
	movq	(%rbx), %rax
	movq	32(%rbx), %rcx
	movq	%rcx, 104(%rbx)
	movq	_IW_MODE_MASTER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.3:
	movq	_IW_MODE_REPEAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.4:
	movq	%r15, %rdi
	callq	_prism2_update_comms_qual
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_IW_QUAL_ALL_UPDATED@GOTPCREL(%rip), %rax
	movq	_IW_QUAL_DBM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
LBB0_6:
	movq	24(%rbx), %rax
	movq	%rax, 96(%rbx)
	movups	8(%rbx), %xmm0
	movups	%xmm0, 80(%rbx)
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_7:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 80(%rbx)
	movq	$0, 96(%rbx)
	movq	_IW_QUAL_ALL_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
LBB0_8:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAP_INTERFACE_MAIN,8,3      ## @HOSTAP_INTERFACE_MAIN
	.comm	_IW_MODE_MASTER,8,3             ## @IW_MODE_MASTER
	.comm	_IW_MODE_REPEAT,8,3             ## @IW_MODE_REPEAT
	.comm	_IW_QUAL_ALL_UPDATED,4,2        ## @IW_QUAL_ALL_UPDATED
	.comm	_IW_QUAL_DBM,4,2                ## @IW_QUAL_DBM
	.comm	_IW_QUAL_ALL_INVALID,4,2        ## @IW_QUAL_ALL_INVALID
	.no_dead_strip	_hostap_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 hostap_get_wireless_stats
_hostap_get_wireless_stats:             ; @hostap_get_wireless_stats
	.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, x0
	bl	_netdev_priv
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HOSTAP_INTERFACE_MAIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HOSTAP_INTERFACE_MAIN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x21, [x0, #8]
	add	x19, x21, #72
	str	xzr, [x21, #128]
	ldr	w8, [x21, #64]
	str	w8, [x21, #120]
	ldp	x9, x8, [x21, #48]
	ldr	x10, [x21, #40]
	add	x8, x9, x8
	add	x8, x8, x10
	str	x8, [x21, #112]
	ldr	d0, [x21, #32]
	str	d0, [x21, #104]
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _IW_MODE_MASTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IW_MODE_MASTER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _IW_MODE_REPEAT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IW_MODE_REPEAT@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.2:
	stp	xzr, xzr, [x21, #80]
	str	xzr, [x21, #96]
Lloh9:
	adrp	x8, _IW_QUAL_ALL_INVALID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IW_QUAL_ALL_INVALID@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x21, #72]
	b	LBB0_7
LBB0_3:
	mov	x19, #0
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_prism2_update_comms_qual
	cbnz	x0, LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _IW_QUAL_ALL_UPDATED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IW_QUAL_ALL_UPDATED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _IW_QUAL_DBM@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IW_QUAL_DBM@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	ldr	x8, [x21, #24]
	str	x8, [x21, #96]
	ldur	q0, [x21, #8]
	str	q0, [x21, #80]
LBB0_7:
	mov	x0, x19
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAP_INTERFACE_MAIN,8,3      ; @HOSTAP_INTERFACE_MAIN
	.comm	_IW_MODE_MASTER,8,3             ; @IW_MODE_MASTER
	.comm	_IW_MODE_REPEAT,8,3             ; @IW_MODE_REPEAT
	.comm	_IW_QUAL_ALL_UPDATED,4,2        ; @IW_QUAL_ALL_UPDATED
	.comm	_IW_QUAL_DBM,4,2                ; @IW_QUAL_DBM
	.comm	_IW_QUAL_ALL_INVALID,4,2        ; @IW_QUAL_ALL_INVALID
	.no_dead_strip	_hostap_get_wireless_stats
.subsections_via_symbols
