	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_mgmt_tx_compl ## -- Begin function ath10k_wmi_event_mgmt_tx_compl
	.p2align	4, 0x90
_ath10k_wmi_event_mgmt_tx_compl:        ## @ath10k_wmi_event_mgmt_tx_compl
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rdx
	callq	_ath10k_wmi_pull_mgmt_tx_compl
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_ath10k_warn
	jmp	LBB0_5
LBB0_2:
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	-24(%rbp), %edi
	callq	___le32_to_cpu
	movq	%rax, -40(%rbp)
	movl	-28(%rbp), %edi
	callq	___le32_to_cpu
	movq	%rax, -48(%rbp)
	movq	_WMI_SERVICE_TX_DATA_ACK_RSSI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-32(%rbp), %edi
	callq	___le32_to_cpu
	movq	%rax, -56(%rbp)
LBB0_4:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_wmi_process_mgmt_tx_comp
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_ath10k_dbg
LBB0_5:
	movl	%r14d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to parse mgmt comp event: %d\n"

	.comm	_WMI_SERVICE_TX_DATA_ACK_RSSI,4,2 ## @WMI_SERVICE_TX_DATA_ACK_RSSI
	.comm	_ATH10K_DBG_WMI,4,2             ## @ATH10K_DBG_WMI
L_.str.1:                               ## @.str.1
	.asciz	"wmi tlv evnt mgmt tx completion\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_mgmt_tx_compl ; -- Begin function ath10k_wmi_event_mgmt_tx_compl
	.p2align	2
_ath10k_wmi_event_mgmt_tx_compl:        ; @ath10k_wmi_event_mgmt_tx_compl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	add	x2, sp, #32
	bl	_ath10k_wmi_pull_mgmt_tx_compl
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_ath10k_warn
	b	LBB0_5
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w0, [sp, #40]
	bl	___le32_to_cpu
	str	x0, [sp, #24]
	ldr	w0, [sp, #36]
	bl	___le32_to_cpu
	str	x0, [sp, #16]
Lloh2:
	adrp	x8, _WMI_SERVICE_TX_DATA_ACK_RSSI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WMI_SERVICE_TX_DATA_ACK_RSSI@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [sp, #32]
	bl	___le32_to_cpu
	str	x0, [sp, #8]
LBB0_4:
	add	x1, sp, #8
	mov	x0, x20
	bl	_wmi_process_mgmt_tx_comp
Lloh5:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ath10k_dbg
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to parse mgmt comp event: %d\n"

	.comm	_WMI_SERVICE_TX_DATA_ACK_RSSI,4,2 ; @WMI_SERVICE_TX_DATA_ACK_RSSI
	.comm	_ATH10K_DBG_WMI,4,2             ; @ATH10K_DBG_WMI
l_.str.1:                               ; @.str.1
	.asciz	"wmi tlv evnt mgmt tx completion\n"

.subsections_via_symbols
