	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_wmi_tlv_event_bcn_tx_status
_ath10k_wmi_tlv_event_bcn_tx_status:    ## @ath10k_wmi_tlv_event_bcn_tx_status
	.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
	movq	%rdi, %r14
	movl	(%rsi), %edx
	movl	4(%rsi), %esi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ath10k_wmi_tlv_parse_alloc
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
	jmp	LBB0_12
LBB0_2:
	movq	_WMI_TLV_TAG_STRUCT_OFFLOAD_BCN_TX_STATUS_EVENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	movl	4(%rbx), %edi
	callq	___le32_to_cpu
	movl	%eax, %r12d
	movl	(%rbx), %edi
	callq	___le32_to_cpu
	movl	%eax, %r15d
	leal	-128(%r12), %eax
	cmpl	$3, %eax
	ja	LBB0_7
## %bb.5:
	cmpl	$1, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_7:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_ath10k_get_arvif
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	cmpq	$0, 16(%rax)
	je	LBB0_11
## %bb.9:
	movq	8(%rax), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_11
## %bb.10:
	movl	(%r14), %edi
	movq	%rax, %rsi
	callq	_ieee80211_queue_work
LBB0_11:
	movq	%r13, %rdi
	callq	_kfree
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_3:
	movq	%r13, %rdi
	callq	_kfree
	movq	_EPROTO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to parse tlv: %d\n"

	.comm	_WMI_TLV_TAG_STRUCT_OFFLOAD_BCN_TX_STATUS_EVENT,8,3 ## @WMI_TLV_TAG_STRUCT_OFFLOAD_BCN_TX_STATUS_EVENT
	.comm	_EPROTO,4,2                     ## @EPROTO
L_.str.1:                               ## @.str.1
	.asciz	"received bcn tmpl tx status on vdev %i: %d"

	.no_dead_strip	_ath10k_wmi_tlv_event_bcn_tx_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_wmi_tlv_event_bcn_tx_status
_ath10k_wmi_tlv_event_bcn_tx_status:    ; @ath10k_wmi_tlv_event_bcn_tx_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldp	w2, w8, [x1]
Lloh0:
	adrp	x9, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
	mov	x1, x8
	bl	_ath10k_wmi_tlv_parse_alloc
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_ath10k_warn
	b	LBB0_11
LBB0_2:
Lloh5:
	adrp	x8, _WMI_TLV_TAG_STRUCT_OFFLOAD_BCN_TX_STATUS_EVENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WMI_TLV_TAG_STRUCT_OFFLOAD_BCN_TX_STATUS_EVENT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x21, [x20, x8, lsl #3]
	cbz	x21, LBB0_10
; %bb.3:
	ldr	w0, [x21, #4]
	bl	___le32_to_cpu
	mov	x22, x0
	ldr	w0, [x21]
	bl	___le32_to_cpu
	mov	x21, x0
	sub	w8, w22, #128
	cmp	w8, #3
	ccmp	w8, #1, #4, ls
	b.eq	LBB0_5
; %bb.4:
	str	x22, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_ath10k_warn
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	_ath10k_get_arvif
	cbz	x0, LBB0_9
; %bb.6:
	mov	x1, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	x8, [x1, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w0, [x19]
	bl	_ieee80211_queue_work
LBB0_9:
	mov	x0, x20
	bl	_kfree
	mov	w20, #0
	b	LBB0_11
LBB0_10:
	mov	x0, x20
	bl	_kfree
Lloh10:
	adrp	x8, _EPROTO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to parse tlv: %d\n"

	.comm	_WMI_TLV_TAG_STRUCT_OFFLOAD_BCN_TX_STATUS_EVENT,8,3 ; @WMI_TLV_TAG_STRUCT_OFFLOAD_BCN_TX_STATUS_EVENT
	.comm	_EPROTO,4,2                     ; @EPROTO
l_.str.1:                               ; @.str.1
	.asciz	"received bcn tmpl tx status on vdev %i: %d"

	.no_dead_strip	_ath10k_wmi_tlv_event_bcn_tx_status
.subsections_via_symbols
