	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_mgmt_tx_bundle_compl ## -- Begin function ath10k_wmi_event_mgmt_tx_bundle_compl
	.p2align	4, 0x90
_ath10k_wmi_event_mgmt_tx_bundle_compl: ## @ath10k_wmi_event_mgmt_tx_bundle_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	leaq	-64(%rbp), %rdx
	callq	_ath10k_wmi_pull_mgmt_tx_bundle_compl
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_ath10k_warn
	jmp	LBB0_8
LBB0_2:
	movl	-48(%rbp), %edi
	callq	___le32_to_cpu
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	leaq	-88(%rbp), %r14
	movq	_WMI_SERVICE_TX_DATA_ACK_RSSI@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_wmi_process_mgmt_tx_comp
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	-56(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	callq	___le32_to_cpu
	movq	%rax, -72(%rbp)
	movq	-56(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	callq	___le32_to_cpu
	movq	%rax, -80(%rbp)
	movl	(%r13), %edi
	movl	(%r12), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	callq	___le32_to_cpu
	movq	%rax, -88(%rbp)
	jmp	LBB0_6
LBB0_7:
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	callq	_ath10k_dbg
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to parse bundle mgmt compl 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 event bundle 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_bundle_compl ; -- Begin function ath10k_wmi_event_mgmt_tx_bundle_compl
	.p2align	2
_ath10k_wmi_event_mgmt_tx_bundle_compl: ; @ath10k_wmi_event_mgmt_tx_bundle_compl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	add	x2, sp, #24
	bl	_ath10k_wmi_pull_mgmt_tx_bundle_compl
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_ath10k_warn
	b	LBB0_8
LBB0_2:
	ldr	w0, [sp, #40]
	bl	___le32_to_cpu
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x20, #0
	and	x8, x0, #0xffffffff
	lsl	x21, x8, #2
Lloh2:
	adrp	x22, _WMI_SERVICE_TX_DATA_ACK_RSSI@GOTPAGE
Lloh3:
	ldr	x22, [x22, _WMI_SERVICE_TX_DATA_ACK_RSSI@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, sp
	mov	x0, x19
	bl	_wmi_process_mgmt_tx_comp
	add	x20, x20, #4
	cmp	x21, x20
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x8, [sp, #32]
	ldr	w0, [x8, x20]
	bl	___le32_to_cpu
	str	x0, [sp, #16]
	ldr	x8, [sp, #32]
	ldr	w0, [x8, x20]
	bl	___le32_to_cpu
	str	x0, [sp, #8]
	ldr	w0, [x22]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x20]
	bl	___le32_to_cpu
	str	x0, [sp]
	b	LBB0_4
LBB0_7:
Lloh4:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	mov	w20, #0
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to parse bundle mgmt compl 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 event bundle mgmt tx completion\n"

.subsections_via_symbols
