	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_indicate_tx_activity    ## -- Begin function ath6kl_indicate_tx_activity
	.p2align	4, 0x90
_ath6kl_indicate_tx_activity:           ## @ath6kl_indicate_tx_activity
	.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
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movl	(%rax,%rsi,4), %r14d
	movq	_WMI_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	40(%r13), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_20
## %bb.1:
	leaq	36(%r13), %r12
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	8(%r13), %rax
	movl	%r15d, (%rax,%rbx,4)
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.2:
	movq	16(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	cmpq	24(%r13), %rax
	jle	LBB0_19
LBB0_18:
	movq	%rax, 24(%r13)
	jmp	LBB0_19
LBB0_3:
	movq	16(%r13), %rcx
	movq	24(%r13), %rdx
	cmpq	(%rcx,%rbx,8), %rdx
	jne	LBB0_19
## %bb.4:
	movq	$0, 24(%r13)
	movq	_WMM_NUM_AC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_19
## %bb.5:
	cmpl	$1, %r8d
	jne	LBB0_7
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
LBB0_15:
	testb	$1, %r8b
	je	LBB0_19
## %bb.16:
	cmpl	$0, (%rax,%rdi,4)
	je	LBB0_19
## %bb.17:
	movq	(%rcx,%rdi,8), %rax
	cmpq	%rbx, %rax
	jg	LBB0_18
LBB0_19:
	movq	%r12, %rdi
	callq	_spin_unlock_bh
LBB0_20:
	movl	32(%r13), %edi
	movl	%r14d, %esi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath6kl_htc_activity_changed    ## TAILCALL
LBB0_7:
	movl	%r8d, %edx
	andl	$-2, %edx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$2, %rdi
	cmpq	%rdi, %rdx
	je	LBB0_15
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rax,%rdi,4)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rcx,%rdi,8), %rsi
	cmpq	%rbx, %rsi
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rsi, 24(%r13)
	movq	%rsi, %rbx
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$0, 4(%rax,%rdi,4)
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rcx,%rdi,8), %rsi
	cmpq	%rbx, %rsi
	jle	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rsi, 24(%r13)
	movq	%rsi, %rbx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_ENABLED,4,2                ## @WMI_ENABLED
	.comm	_WMM_NUM_AC,4,2                 ## @WMM_NUM_AC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_indicate_tx_activity    ; -- Begin function ath6kl_indicate_tx_activity
	.p2align	2
_ath6kl_indicate_tx_activity:           ; @ath6kl_indicate_tx_activity
	.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
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	mov	x1, x0
	ldr	x8, [x1], #40
	ldr	w21, [x8, x23, lsl #2]
Lloh0:
	adrp	x8, _WMI_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_test_bit
	cbz	w0, LBB0_12
; %bb.1:
	add	x22, x20, #36
	mov	x0, x22
	bl	_spin_lock_bh
	ldr	x8, [x20, #8]
	str	w19, [x8, x23, lsl #2]
	cbz	w19, LBB0_4
; %bb.2:
	ldp	x8, x9, [x20, #16]
	ldr	x8, [x8, x23, lsl #3]
	cmp	x8, x9
	b.le	LBB0_11
; %bb.3:
	str	x8, [x20, #24]
	b	LBB0_11
LBB0_4:
	ldp	x9, x10, [x20, #16]
	ldr	x11, [x9, x23, lsl #3]
	cmp	x10, x11
	b.ne	LBB0_11
; %bb.5:
	str	xzr, [x20, #24]
Lloh3:
	adrp	x10, _WMM_NUM_AC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WMM_NUM_AC@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w10, #1
	b.lt	LBB0_11
; %bb.6:
	mov	x11, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x9, #8
	add	x8, x8, #4
	subs	x10, x10, #1
	b.eq	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x8]
	cbz	w12, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x12, [x9]
	cmp	x12, x11
	b.le	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	str	x12, [x20, #24]
	mov	x11, x12
	b	LBB0_7
LBB0_11:
	mov	x0, x22
	bl	_spin_unlock_bh
LBB0_12:
	ldr	w0, [x20, #32]
	mov	x1, x21
	mov	x2, x19
	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
	b	_ath6kl_htc_activity_changed
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_ENABLED,4,2                ; @WMI_ENABLED
	.comm	_WMM_NUM_AC,4,2                 ; @WMM_NUM_AC
.subsections_via_symbols
