	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_wmi_pstream_timeout_event_rx
_ath6kl_wmi_pstream_timeout_event_rx:   ## @ath6kl_wmi_pstream_timeout_event_rx
	.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
	cmpl	$7, %edx
	jbe	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	(%rsi), %rsi
	movq	_WMM_NUM_AC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jae	LBB0_3
## %bb.4:
	movq	%rdi, %r14
	leaq	8(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	16(%r14), %rax
	movq	(%rbx), %rcx
	movq	$0, (%rax,%rcx,8)
	movb	(%rbx), %cl
	movl	$-2, %eax
	roll	%cl, %eax
	andl	%eax, (%r14)
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movl	4(%r14), %edi
	movl	(%rbx), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_ath6kl_indicate_tx_activity
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_ath6kl_err
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WMM_NUM_AC,8,3                 ## @WMM_NUM_AC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid traffic class: %d\n"

	.no_dead_strip	_ath6kl_wmi_pstream_timeout_event_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_wmi_pstream_timeout_event_rx
_ath6kl_wmi_pstream_timeout_event_rx:   ; @ath6kl_wmi_pstream_timeout_event_rx
	.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
	cmp	w2, #7
	b.ls	LBB0_4
; %bb.1:
	mov	x19, x1
	ldr	x1, [x1]
Lloh0:
	adrp	x8, _WMM_NUM_AC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMM_NUM_AC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.hs	LBB0_3
; %bb.2:
	mov	x20, x0
	add	x21, x0, #8
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	x8, [x20, #16]
	ldr	x9, [x19]
	str	xzr, [x8, x9, lsl #3]
	ldr	w8, [x19]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	mov	x0, x21
	bl	_spin_unlock_bh
	ldr	w0, [x20, #4]
	ldr	w1, [x19]
	mov	w2, #0
	bl	_ath6kl_indicate_tx_activity
	mov	w0, #0
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ath6kl_err
LBB0_4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WMM_NUM_AC,8,3                 ; @WMM_NUM_AC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid traffic class: %d\n"

	.no_dead_strip	_ath6kl_wmi_pstream_timeout_event_rx
.subsections_via_symbols
