	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl3501_get_wireless_stats
_wl3501_get_wireless_stats:             ## @wl3501_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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r14, %rdi
	callq	_netif_running
	movl	%eax, 24(%rbx)
	movq	_WL3501_MIB_ATTR_WEP_ICV_ERROR_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_wl3501_get_mib_value
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-24(%rbp), %eax
	addl	%eax, 16(%rbx)
LBB0_2:
	movq	_WL3501_MIB_ATTR_WEP_UNDECRYPTABLE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_wl3501_get_mib_value
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	-24(%rbp), %eax
	addl	%eax, 16(%rbx)
LBB0_4:
	movq	_WL3501_MIB_ATTR_WEP_EXCLUDED_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_wl3501_get_mib_value
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	-24(%rbp), %eax
	addl	%eax, 16(%rbx)
LBB0_6:
	movq	_WL3501_MIB_ATTR_RETRY_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_wl3501_get_mib_value
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	-24(%rbp), %rax
	movq	%rax, 8(%rbx)
LBB0_8:
	movq	_WL3501_MIB_ATTR_FAILED_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_wl3501_get_mib_value
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movl	-24(%rbp), %eax
	addl	%eax, (%rbx)
LBB0_10:
	movq	_WL3501_MIB_ATTR_RTS_FAILURE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_wl3501_get_mib_value
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movl	-24(%rbp), %eax
	addl	%eax, (%rbx)
LBB0_12:
	movq	_WL3501_MIB_ATTR_ACK_FAILURE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_wl3501_get_mib_value
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movl	-24(%rbp), %eax
	addl	%eax, (%rbx)
LBB0_14:
	movq	_WL3501_MIB_ATTR_FRAME_DUPLICATE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_wl3501_get_mib_value
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	movl	-24(%rbp), %eax
	addl	%eax, (%rbx)
LBB0_16:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WL3501_MIB_ATTR_WEP_ICV_ERROR_COUNT,4,2 ## @WL3501_MIB_ATTR_WEP_ICV_ERROR_COUNT
	.comm	_WL3501_MIB_ATTR_WEP_UNDECRYPTABLE_COUNT,4,2 ## @WL3501_MIB_ATTR_WEP_UNDECRYPTABLE_COUNT
	.comm	_WL3501_MIB_ATTR_WEP_EXCLUDED_COUNT,4,2 ## @WL3501_MIB_ATTR_WEP_EXCLUDED_COUNT
	.comm	_WL3501_MIB_ATTR_RETRY_COUNT,4,2 ## @WL3501_MIB_ATTR_RETRY_COUNT
	.comm	_WL3501_MIB_ATTR_FAILED_COUNT,4,2 ## @WL3501_MIB_ATTR_FAILED_COUNT
	.comm	_WL3501_MIB_ATTR_RTS_FAILURE_COUNT,4,2 ## @WL3501_MIB_ATTR_RTS_FAILURE_COUNT
	.comm	_WL3501_MIB_ATTR_ACK_FAILURE_COUNT,4,2 ## @WL3501_MIB_ATTR_ACK_FAILURE_COUNT
	.comm	_WL3501_MIB_ATTR_FRAME_DUPLICATE_COUNT,4,2 ## @WL3501_MIB_ATTR_FRAME_DUPLICATE_COUNT
	.no_dead_strip	_wl3501_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 wl3501_get_wireless_stats
_wl3501_get_wireless_stats:             ; @wl3501_get_wireless_stats
	.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
	bl	_netdev_priv
	mov	x19, x0
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	x0, x20
	bl	_netif_running
	str	w0, [x19, #24]
Lloh0:
	adrp	x8, _WL3501_MIB_ATTR_WEP_ICV_ERROR_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WL3501_MIB_ATTR_WEP_ICV_ERROR_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #8
	bl	_wl3501_get_mib_value
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #8]
	ldr	w9, [x19, #16]
	add	w8, w9, w8
	str	w8, [x19, #16]
LBB0_2:
Lloh3:
	adrp	x8, _WL3501_MIB_ATTR_WEP_UNDECRYPTABLE_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WL3501_MIB_ATTR_WEP_UNDECRYPTABLE_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #8
	bl	_wl3501_get_mib_value
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w8, [sp, #8]
	ldr	w9, [x19, #16]
	add	w8, w9, w8
	str	w8, [x19, #16]
LBB0_4:
Lloh6:
	adrp	x8, _WL3501_MIB_ATTR_WEP_EXCLUDED_COUNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WL3501_MIB_ATTR_WEP_EXCLUDED_COUNT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #8
	bl	_wl3501_get_mib_value
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	w8, [sp, #8]
	ldr	w9, [x19, #16]
	add	w8, w9, w8
	str	w8, [x19, #16]
LBB0_6:
Lloh9:
	adrp	x8, _WL3501_MIB_ATTR_RETRY_COUNT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WL3501_MIB_ATTR_RETRY_COUNT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #8
	bl	_wl3501_get_mib_value
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	x8, [sp, #8]
	str	x8, [x19, #8]
LBB0_8:
Lloh12:
	adrp	x8, _WL3501_MIB_ATTR_FAILED_COUNT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WL3501_MIB_ATTR_FAILED_COUNT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #8
	bl	_wl3501_get_mib_value
	cbnz	w0, LBB0_10
; %bb.9:
	ldr	w8, [sp, #8]
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_10:
Lloh15:
	adrp	x8, _WL3501_MIB_ATTR_RTS_FAILURE_COUNT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WL3501_MIB_ATTR_RTS_FAILURE_COUNT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #8
	bl	_wl3501_get_mib_value
	cbnz	w0, LBB0_12
; %bb.11:
	ldr	w8, [sp, #8]
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_12:
Lloh18:
	adrp	x8, _WL3501_MIB_ATTR_ACK_FAILURE_COUNT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WL3501_MIB_ATTR_ACK_FAILURE_COUNT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #8
	bl	_wl3501_get_mib_value
	cbnz	w0, LBB0_14
; %bb.13:
	ldr	w8, [sp, #8]
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_14:
Lloh21:
	adrp	x8, _WL3501_MIB_ATTR_FRAME_DUPLICATE_COUNT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WL3501_MIB_ATTR_FRAME_DUPLICATE_COUNT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #8
	bl	_wl3501_get_mib_value
	cbnz	w0, LBB0_16
; %bb.15:
	ldr	w8, [sp, #8]
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_WL3501_MIB_ATTR_WEP_ICV_ERROR_COUNT,4,2 ; @WL3501_MIB_ATTR_WEP_ICV_ERROR_COUNT
	.comm	_WL3501_MIB_ATTR_WEP_UNDECRYPTABLE_COUNT,4,2 ; @WL3501_MIB_ATTR_WEP_UNDECRYPTABLE_COUNT
	.comm	_WL3501_MIB_ATTR_WEP_EXCLUDED_COUNT,4,2 ; @WL3501_MIB_ATTR_WEP_EXCLUDED_COUNT
	.comm	_WL3501_MIB_ATTR_RETRY_COUNT,4,2 ; @WL3501_MIB_ATTR_RETRY_COUNT
	.comm	_WL3501_MIB_ATTR_FAILED_COUNT,4,2 ; @WL3501_MIB_ATTR_FAILED_COUNT
	.comm	_WL3501_MIB_ATTR_RTS_FAILURE_COUNT,4,2 ; @WL3501_MIB_ATTR_RTS_FAILURE_COUNT
	.comm	_WL3501_MIB_ATTR_ACK_FAILURE_COUNT,4,2 ; @WL3501_MIB_ATTR_ACK_FAILURE_COUNT
	.comm	_WL3501_MIB_ATTR_FRAME_DUPLICATE_COUNT,4,2 ; @WL3501_MIB_ATTR_FRAME_DUPLICATE_COUNT
	.no_dead_strip	_wl3501_get_wireless_stats
.subsections_via_symbols
