	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_wmi_tx_status_event_rx
_ath6kl_wmi_tx_status_event_rx:         ## @ath6kl_wmi_tx_status_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	%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
	cmpl	$7, %edx
	ja	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_2:
	movq	%rcx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	4(%rsi), %edi
	callq	_le32_to_cpu
	movl	%eax, %r13d
	movq	_ATH6KL_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	callq	_ath6kl_dbg
	movq	8(%r15), %rdx
	xorl	%ebx, %ebx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	xorl	%r8d, %r8d
	cmpl	$0, (%r12)
	movl	(%r15), %ecx
	setne	%r8b
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_cfg80211_mgmt_tx_status
	movq	8(%r15), %rdi
	callq	_kfree
	movq	$0, 8(%r15)
	movl	$0, (%r15)
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ATH6KL_DBG_WMI,4,2             ## @ATH6KL_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx_status: id=%x ack_status=%u\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_ath6kl_wmi_tx_status_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_tx_status_event_rx
_ath6kl_wmi_tx_status_event_rx:         ; @ath6kl_wmi_tx_status_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]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	mov	x20, x3
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x1, #4]
	bl	_le32_to_cpu
	mov	x22, x0
Lloh3:
	adrp	x8, _ATH6KL_DBG_WMI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH6KL_DBG_WMI@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w3, [x21]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_ath6kl_dbg
	ldr	x2, [x19, #8]
	cbz	x2, LBB0_4
; %bb.3:
	ldr	w3, [x19]
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w4, ne
Lloh8:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_cfg80211_mgmt_tx_status
	ldr	x0, [x19, #8]
	bl	_kfree
	mov	w0, #0
	str	xzr, [x19, #8]
	str	wzr, [x19]
	b	LBB0_5
LBB0_4:
	mov	w0, #0
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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ATH6KL_DBG_WMI,4,2             ; @ATH6KL_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx_status: id=%x ack_status=%u\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_ath6kl_wmi_tx_status_event_rx
.subsections_via_symbols
