	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_wmi_txe_notify_event_rx
_ath6kl_wmi_txe_notify_event_rx:        ## @ath6kl_wmi_txe_notify_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
	ja	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movq	%rcx, %rbx
	movq	(%rcx), %rax
	movq	_INFRA_NETWORK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rsi, %r14
	movq	_ATH6KL_FW_CAPABILITY_TX_ERR_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	32(%rbx), %rax
	movl	(%rax), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	8(%rbx), %rax
	movq	_SME_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.8:
	movl	4(%r14), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movl	(%r14), %edi
	callq	_le32_to_cpu
	movl	%eax, %r14d
	movq	_ATH6KL_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %r9d
	movl	20(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	callq	_ath6kl_dbg
	movl	24(%rbx), %edi
	movl	16(%rbx), %r8d
	movl	20(%rbx), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_cfg80211_cqm_txe_notify
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_5:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_ENOTCONN@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_INFRA_NETWORK,8,3              ## @INFRA_NETWORK
	.comm	_ATH6KL_FW_CAPABILITY_TX_ERR_NOTIFY,4,2 ## @ATH6KL_FW_CAPABILITY_TX_ERR_NOTIFY
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_SME_CONNECTED,8,3              ## @SME_CONNECTED
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_ATH6KL_DBG_WMI,4,2             ## @ATH6KL_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TXE notify event: peer %pM rate %d%% pkts %d intvl %ds\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_ath6kl_wmi_txe_notify_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_txe_notify_event_rx
_ath6kl_wmi_txe_notify_event_rx:        ; @ath6kl_wmi_txe_notify_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.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	mov	x19, x3
	ldr	x8, [x3]
Lloh2:
	adrp	x9, _INFRA_NETWORK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INFRA_NETWORK@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	x20, x1
Lloh5:
	adrp	x8, _ATH6KL_FW_CAPABILITY_TX_ERR_NOTIFY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATH6KL_FW_CAPABILITY_TX_ERR_NOTIFY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x19, #32]
	ldr	w1, [x8]
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.4:
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _SME_CONNECTED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SME_CONNECTED@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.5:
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w0, [x20]
	bl	_le32_to_cpu
	mov	x20, x0
Lloh11:
	adrp	x8, _ATH6KL_DBG_WMI@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ATH6KL_DBG_WMI@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	w5, w2, [x19, #16]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x21
	mov	x4, x20
	bl	_ath6kl_dbg
	ldp	w1, w0, [x19, #20]
	ldr	w4, [x19, #16]
Lloh16:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh18:
	ldr	w5, [x8]
	mov	x2, x20
	mov	x3, x21
	bl	_cfg80211_cqm_txe_notify
	mov	w0, #0
	b	LBB0_8
LBB0_6:
Lloh19:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
LBB0_9:
Lloh21:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_INFRA_NETWORK,8,3              ; @INFRA_NETWORK
	.comm	_ATH6KL_FW_CAPABILITY_TX_ERR_NOTIFY,4,2 ; @ATH6KL_FW_CAPABILITY_TX_ERR_NOTIFY
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_SME_CONNECTED,8,3              ; @SME_CONNECTED
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_ATH6KL_DBG_WMI,4,2             ; @ATH6KL_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TXE notify event: peer %pM rate %d%% pkts %d intvl %ds\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_ath6kl_wmi_txe_notify_event_rx
.subsections_via_symbols
