	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_wmi_event_pdev_bss_chan_info
_ath10k_wmi_event_pdev_bss_chan_info:   ## @ath10k_wmi_event_pdev_bss_chan_info
	.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, %r13
	movl	16(%rdi), %r14d
	movq	8(%rsi), %rbx
	xorl	%edi, %edi
	cmpl	$28, (%rsi)
	setb	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EPROTO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_2:
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	movl	24(%rbx), %edi
	callq	___le32_to_cpu
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	20(%rbx), %edi
	callq	___le32_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%rbx), %edi
	callq	___le64_to_cpu
	movl	%eax, %r12d
	movl	12(%rbx), %edi
	callq	___le64_to_cpu
	movl	%eax, %r15d
	movl	8(%rbx), %edi
	callq	___le64_to_cpu
	movl	%eax, %r14d
	movl	4(%rbx), %edi
	callq	___le64_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	___le64_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	%r12d, %r9d
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	pushq	%rax
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	pushq	%r14
	movl	%ecx, %r14d
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	pushq	%r15
	callq	_ath10k_dbg
	addq	$32, %rsp
	leaq	4(%r13), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_freq_to_idx
	movl	%eax, %r15d
	movq	8(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r15d
	jge	LBB0_3
## %bb.4:
	movq	8(%r13), %r12
	movslq	%r15d, %rax
	movq	%rbx, %r15
	leaq	(%rax,%rax,2), %rbx
	shlq	$4, %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 40(%r12,%rbx)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	callq	_div_u64
	movq	%rax, 32(%r12,%rbx)
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_div_u64
	movq	%rax, 24(%r12,%rbx)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r14d, %esi
	callq	_div_u64
	movq	%rax, 16(%r12,%rbx)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r14d, %esi
	callq	_div_u64
	movq	%rax, 8(%r12,%rbx)
	movq	_SURVEY_INFO_NOISE_DBM@GOTPCREL(%rip), %rax
	movq	_SURVEY_INFO_TIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SURVEY_INFO_TIME_BUSY@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_SURVEY_INFO_TIME_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_SURVEY_INFO_TIME_TX@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, (%r12,%rbx)
	movq	%r15, %rbx
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_ath10k_warn
LBB0_5:
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movq	%r13, %rdi
	callq	_complete
	xorl	%eax, %eax
LBB0_6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_ATH10K_DBG_WMI,4,2             ## @ATH10K_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wmi event pdev bss chan info:\n freq: %d noise: %d cycle: busy %llu total %llu tx %llu rx %llu rx_bss %llu\n"

L_.str.1:                               ## @.str.1
	.asciz	"bss chan info: invalid frequency %d (idx %d out of bounds)\n"

	.comm	_SURVEY_INFO_NOISE_DBM,4,2      ## @SURVEY_INFO_NOISE_DBM
	.comm	_SURVEY_INFO_TIME,4,2           ## @SURVEY_INFO_TIME
	.comm	_SURVEY_INFO_TIME_BUSY,4,2      ## @SURVEY_INFO_TIME_BUSY
	.comm	_SURVEY_INFO_TIME_RX,4,2        ## @SURVEY_INFO_TIME_RX
	.comm	_SURVEY_INFO_TIME_TX,4,2        ## @SURVEY_INFO_TIME_TX
	.no_dead_strip	_ath10k_wmi_event_pdev_bss_chan_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_wmi_event_pdev_bss_chan_info
_ath10k_wmi_event_pdev_bss_chan_info:   ; @ath10k_wmi_event_pdev_bss_chan_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	ldr	w20, [x0, #16]
	ldr	x27, [x1, #8]
	ldr	w8, [x1]
	cmp	w8, #28
	cset	w0, lo
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EPROTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_2:
	ldr	w0, [x27, #24]
	bl	___le32_to_cpu
	mov	x23, x0
	ldr	w0, [x27, #20]
	bl	___le32_to_cpu
	mov	x25, x0
	ldr	w0, [x27, #16]
	bl	___le64_to_cpu
	mov	x24, x0
	ldr	w0, [x27, #12]
	bl	___le64_to_cpu
	mov	x26, x0
	ldr	w0, [x27, #8]
	bl	___le64_to_cpu
	mov	x22, x0
	ldr	w0, [x27, #4]
	bl	___le64_to_cpu
	mov	x21, x0
	ldr	w0, [x27]
	bl	___le64_to_cpu
	mov	x27, x0
Lloh3:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	stp	w21, w0, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x23
	mov	x4, x25
	mov	x5, x24
	mov	x6, x26
	mov	x7, x22
	bl	_ath10k_dbg
	add	x21, x19, #4
	mov	x0, x21
	bl	_spin_lock_bh
	mov	x0, x19
	mov	x1, x23
	bl	_freq_to_idx
	mov	x28, x0
	ldr	x0, [x19, #8]
	bl	_ARRAY_SIZE
	cmp	w28, w0
	b.ge	LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	mov	w9, #48
	smaddl	x23, w28, w9, x8
	str	w25, [x23, #40]
	mov	x0, x26
	mov	x1, x20
	bl	_div_u64
	str	x0, [x23, #32]
	mov	x0, x24
	mov	x1, x20
	bl	_div_u64
	str	x0, [x23, #24]
	mov	x0, x27
	mov	x1, x20
	bl	_div_u64
	str	x0, [x23, #16]
	mov	x0, x22
	mov	x1, x20
	bl	_div_u64
	str	x0, [x23, #8]
Lloh8:
	adrp	x8, _SURVEY_INFO_NOISE_DBM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SURVEY_INFO_NOISE_DBM@GOTPAGEOFF]
Lloh10:
	adrp	x9, _SURVEY_INFO_TIME@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SURVEY_INFO_TIME@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _SURVEY_INFO_TIME_BUSY@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SURVEY_INFO_TIME_BUSY@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _SURVEY_INFO_TIME_RX@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SURVEY_INFO_TIME_RX@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _SURVEY_INFO_TIME_TX@GOTPAGE
Lloh21:
	ldr	x10, [x10, _SURVEY_INFO_TIME_TX@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh22:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x23]
	orr	w8, w8, w9
	str	w8, [x23]
	b	LBB0_5
LBB0_4:
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	mov	x3, x28
	bl	_ath10k_warn
LBB0_5:
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	x0, x19
	bl	_complete
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_ATH10K_DBG_WMI,4,2             ; @ATH10K_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wmi event pdev bss chan info:\n freq: %d noise: %d cycle: busy %llu total %llu tx %llu rx %llu rx_bss %llu\n"

l_.str.1:                               ; @.str.1
	.asciz	"bss chan info: invalid frequency %d (idx %d out of bounds)\n"

	.comm	_SURVEY_INFO_NOISE_DBM,4,2      ; @SURVEY_INFO_NOISE_DBM
	.comm	_SURVEY_INFO_TIME,4,2           ; @SURVEY_INFO_TIME
	.comm	_SURVEY_INFO_TIME_BUSY,4,2      ; @SURVEY_INFO_TIME_BUSY
	.comm	_SURVEY_INFO_TIME_RX,4,2        ; @SURVEY_INFO_TIME_RX
	.comm	_SURVEY_INFO_TIME_TX,4,2        ; @SURVEY_INFO_TIME_TX
	.no_dead_strip	_ath10k_wmi_event_pdev_bss_chan_info
.subsections_via_symbols
