	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_tpc_final_table ## -- Begin function ath10k_wmi_event_tpc_final_table
	.p2align	4, 0x90
_ath10k_wmi_event_tpc_final_table:      ## @ath10k_wmi_event_tpc_final_table
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_WMI_TPC_FINAL_RATE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_WMI_TPC_PREAM_TABLE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	(%rbx), %r13
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movl	4(%r13), %edi
	callq	___le32_to_cpu
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_ath10k_wmi_tpc_config_get_rate_code
	movl	36(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, (%rbx)
	movl	32(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, 4(%rbx)
	movl	28(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, 8(%rbx)
	movl	24(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, 12(%rbx)
	movl	20(%r13), %edi
	callq	_a_sle32_to_cpu
	movl	%eax, 36(%rbx)
	movl	16(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, 16(%rbx)
	movl	12(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, 20(%rbx)
	movl	8(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, 24(%rbx)
	movl	4(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, 28(%rbx)
	movl	(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, 32(%rbx)
	movq	_WMI_TPC_TABLE_TYPE_CDD@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	callq	_ath10k_wmi_tpc_stats_final_disp_tables
	movq	_WMI_TPC_TABLE_TYPE_STBC@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	callq	_ath10k_wmi_tpc_stats_final_disp_tables
	movq	_WMI_TPC_TABLE_TYPE_TXBF@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	callq	_ath10k_wmi_tpc_stats_final_disp_tables
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ath10k_debug_tpc_stats_final_process
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	36(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	32(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	28(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	24(%r13), %edi
	callq	___le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	20(%r13), %edi
	callq	_a_sle32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	16(%r13), %edi
	callq	___le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	12(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, %ebx
	movl	8(%r13), %edi
	callq	___le32_to_cpu
	movq	%r14, %r15
	movl	%eax, %r14d
	shrl	$31, %r14d
	addl	%eax, %r14d
	sarl	%r14d
	movl	4(%r13), %edi
	callq	___le32_to_cpu
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	___le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r12
	pushq	%r14
	pushq	%rbx
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_ath10k_dbg
	addq	$64, %rsp
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_TPC_FINAL_RATE_MAX,4,2     ## @WMI_TPC_FINAL_RATE_MAX
	.comm	_WMI_TPC_PREAM_TABLE_MAX,4,2    ## @WMI_TPC_PREAM_TABLE_MAX
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_WMI_TPC_TABLE_TYPE_CDD,4,2     ## @WMI_TPC_TABLE_TYPE_CDD
	.comm	_WMI_TPC_TABLE_TYPE_STBC,4,2    ## @WMI_TPC_TABLE_TYPE_STBC
	.comm	_WMI_TPC_TABLE_TYPE_TXBF,4,2    ## @WMI_TPC_TABLE_TYPE_TXBF
	.comm	_ATH10K_DBG_WMI,4,2             ## @ATH10K_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wmi event tpc final table channel %d mode %d ctl %d regd %d gain %d %d limit %d max_power %d tx_chanins %d rates %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_tpc_final_table ; -- Begin function ath10k_wmi_event_tpc_final_table
	.p2align	2
_ath10k_wmi_event_tpc_final_table:      ; @ath10k_wmi_event_tpc_final_table
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _WMI_TPC_FINAL_RATE_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WMI_TPC_FINAL_RATE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _WMI_TPC_PREAM_TABLE_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WMI_TPC_PREAM_TABLE_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	x20, [x1]
Lloh13:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x23, x0
	ldr	w0, [x20, #4]
	bl	___le32_to_cpu
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_ath10k_wmi_tpc_config_get_rate_code
	ldr	w0, [x20, #36]
	bl	___le32_to_cpu
	str	w0, [x23]
	ldr	w0, [x20, #32]
	bl	___le32_to_cpu
	str	w0, [x23, #4]
	ldr	w0, [x20, #28]
	bl	___le32_to_cpu
	str	w0, [x23, #8]
	ldr	w0, [x20, #24]
	bl	___le32_to_cpu
	str	w0, [x23, #12]
	ldr	w0, [x20, #20]
	bl	_a_sle32_to_cpu
	str	w0, [x23, #36]
	ldr	w0, [x20, #16]
	bl	___le32_to_cpu
	str	w0, [x23, #16]
	ldr	w0, [x20, #12]
	bl	___le32_to_cpu
	str	w0, [x23, #20]
	ldr	w0, [x20, #8]
	bl	___le32_to_cpu
	str	w0, [x23, #24]
	ldr	w0, [x20, #4]
	bl	___le32_to_cpu
	str	w0, [x23, #28]
	ldr	w0, [x20]
	bl	___le32_to_cpu
	str	w0, [x23, #32]
Lloh16:
	adrp	x8, _WMI_TPC_TABLE_TYPE_CDD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WMI_TPC_TABLE_TYPE_CDD@GOTPAGEOFF]
Lloh18:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	bl	_ath10k_wmi_tpc_stats_final_disp_tables
Lloh19:
	adrp	x8, _WMI_TPC_TABLE_TYPE_STBC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WMI_TPC_TABLE_TYPE_STBC@GOTPAGEOFF]
Lloh21:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	bl	_ath10k_wmi_tpc_stats_final_disp_tables
Lloh22:
	adrp	x8, _WMI_TPC_TABLE_TYPE_TXBF@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WMI_TPC_TABLE_TYPE_TXBF@GOTPAGEOFF]
Lloh24:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	bl	_ath10k_wmi_tpc_stats_final_disp_tables
	mov	x0, x19
	mov	x1, x23
	bl	_ath10k_debug_tpc_stats_final_process
Lloh25:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
	ldr	w0, [x20, #36]
	bl	___le32_to_cpu
	stur	w0, [x29, #-96]                 ; 4-byte Folded Spill
	ldr	w0, [x20, #32]
	bl	___le32_to_cpu
	mov	x23, x0
	ldr	w0, [x20, #28]
	bl	___le32_to_cpu
	mov	x24, x0
	ldr	w0, [x20, #24]
	bl	___le32_to_cpu
	mov	x25, x0
	ldr	w0, [x20, #20]
	bl	_a_sle32_to_cpu
	mov	x26, x0
	ldr	w0, [x20, #16]
	bl	___le32_to_cpu
	mov	x27, x0
	ldr	w0, [x20, #12]
	bl	___le32_to_cpu
	mov	x28, x0
	ldr	w0, [x20, #8]
	bl	___le32_to_cpu
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w22, w8, #1
	ldr	w0, [x20, #4]
	bl	___le32_to_cpu
	mov	x21, x0
	ldr	w0, [x20]
	bl	___le32_to_cpu
	sub	sp, sp, #32
	stp	w21, w0, [sp, #12]
	stp	w28, w22, [sp, #4]
Lloh28:
	adrp	x2, l_.str@PAGE
Lloh29:
	add	x2, x2, l_.str@PAGEOFF
	str	w27, [sp]
	mov	x0, x19
	ldp	w3, w1, [x29, #-96]             ; 8-byte Folded Reload
	mov	x4, x23
	mov	x5, x24
	mov	x6, x25
	mov	x7, x26
	bl	_ath10k_dbg
	add	sp, sp, #32
LBB0_2:
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	sub	sp, x29, #80
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_TPC_FINAL_RATE_MAX,4,2     ; @WMI_TPC_FINAL_RATE_MAX
	.comm	_WMI_TPC_PREAM_TABLE_MAX,4,2    ; @WMI_TPC_PREAM_TABLE_MAX
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_WMI_TPC_TABLE_TYPE_CDD,4,2     ; @WMI_TPC_TABLE_TYPE_CDD
	.comm	_WMI_TPC_TABLE_TYPE_STBC,4,2    ; @WMI_TPC_TABLE_TYPE_STBC
	.comm	_WMI_TPC_TABLE_TYPE_TXBF,4,2    ; @WMI_TPC_TABLE_TYPE_TXBF
	.comm	_ATH10K_DBG_WMI,4,2             ; @ATH10K_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wmi event tpc final table channel %d mode %d ctl %d regd %d gain %d %d limit %d max_power %d tx_chanins %d rates %d\n"

.subsections_via_symbols
