	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwl8k_tx_count_packet
_mwl8k_tx_count_packet:                 ## @mwl8k_tx_count_packet
	.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
	movq	%rsi, %rbx
	callq	_MWL8K_STA
	movq	%rax, %r14
	movq	_MWL8K_MAX_TID@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%rbx, (%rax)
	setbe	%dil
	callq	_BUG_ON
	movq	(%r14), %rax
	shlq	$4, %rbx
	leaq	(%rax,%rbx), %rcx
	movq	(%rax,%rbx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	movq	_jiffies@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rcx)
LBB0_2:
	movq	_jiffies@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	subq	%rdx, %rsi
	movq	_HZ@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rsi
	jle	LBB0_4
## %bb.3:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
	jmp	LBB0_5
LBB0_4:
	incq	8(%rax,%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MWL8K_MAX_TID,8,3              ## @MWL8K_MAX_TID
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,8,3                         ## @HZ
	.no_dead_strip	_mwl8k_tx_count_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwl8k_tx_count_packet
_mwl8k_tx_count_packet:                 ; @mwl8k_tx_count_packet
	.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
	mov	x19, x1
	bl	_MWL8K_STA
	mov	x20, x0
Lloh0:
	adrp	x8, _MWL8K_MAX_TID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MWL8K_MAX_TID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x19
	cset	w0, ls
	bl	_BUG_ON
	ldr	x9, [x20]
	add	x8, x9, x19, lsl #4
	ldr	x10, [x8]
Lloh3:
	adrp	x11, _jiffies@GOTPAGE
Lloh4:
	ldr	x11, [x11, _jiffies@GOTPAGEOFF]
	cbnz	x10, LBB0_2
; %bb.1:
	ldr	x10, [x11]
	str	x10, [x8]
LBB0_2:
	ldr	x11, [x11]
Lloh5:
	adrp	x12, _HZ@GOTPAGE
Lloh6:
	ldr	x12, [x12, _HZ@GOTPAGEOFF]
Lloh7:
	ldr	x12, [x12]
	sub	x10, x11, x10
	cmp	x10, x12
	b.le	LBB0_4
; %bb.3:
	stp	xzr, xzr, [x8]
	b	LBB0_5
LBB0_4:
	add	x8, x9, x19, lsl #4
	ldr	x9, [x8, #8]
	add	x9, x9, #1
	str	x9, [x8, #8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MWL8K_MAX_TID,8,3              ; @MWL8K_MAX_TID
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,8,3                         ; @HZ
	.no_dead_strip	_mwl8k_tx_count_packet
.subsections_via_symbols
