	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_chan_info     ## -- Begin function ath10k_wmi_event_chan_info
	.p2align	4, 0x90
_ath10k_wmi_event_chan_info:            ## @ath10k_wmi_event_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, -68(%rbp)
	movaps	%xmm0, -80(%rbp)
	leaq	-80(%rbp), %rdx
	callq	_ath10k_wmi_pull_ch_info
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
	jmp	LBB0_8
LBB0_2:
	movl	-56(%rbp), %edi
	callq	___le32_to_cpu
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, -112(%rbp)
	movl	-60(%rbp), %edi
	callq	___le32_to_cpu
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -120(%rbp)
	movl	-64(%rbp), %edi
	callq	___le32_to_cpu
	movq	%rax, %r12
	movq	%rax, -128(%rbp)
	movl	-68(%rbp), %edi
	callq	___le32_to_cpu
	movq	%rax, %r13
	movq	%rax, -136(%rbp)
	movl	-72(%rbp), %edi
	callq	___le32_to_cpu
	movq	%rax, %r14
	movq	%rax, -144(%rbp)
	movl	-76(%rbp), %edi
	callq	___le32_to_cpu
	movq	%rax, %r15
	movq	%rax, -152(%rbp)
	movl	-80(%rbp), %edi
	callq	___le32_to_cpu
	movq	%rax, -104(%rbp)
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	%r12, %r9
	pushq	%r15
	pushq	%r14
	pushq	%r13
	callq	_ath10k_dbg
	addq	$32, %rsp
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movl	16(%rbx), %eax
	orl	$2, %eax
	cmpl	$130, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_ath10k_warn
	jmp	LBB0_7
LBB0_4:
	movq	_ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	callq	_test_bit
	leaq	-152(%rbp), %rsi
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	_ath10k_wmi_event_chan_info_unpaired
	jmp	LBB0_7
LBB0_6:
	callq	_ath10k_wmi_event_chan_info_paired
LBB0_7:
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
LBB0_8:
	addq	$120, %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 chan info event: %d\n"

	.comm	_ATH10K_DBG_WMI,4,2             ## @ATH10K_DBG_WMI
L_.str.1:                               ## @.str.1
	.asciz	"chan info err_code %d freq %d cmd_flags %d noise_floor %d rx_clear_count %d cycle_count %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"received chan info event without a scan request, ignoring\n"

	.comm	_ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL,4,2 ## @ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_chan_info     ; -- Begin function ath10k_wmi_event_chan_info
	.p2align	2
_ath10k_wmi_event_chan_info:            ; @ath10k_wmi_event_chan_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x0
	stp	xzr, xzr, [sp, #8]
	str	wzr, [sp, #32]
	str	xzr, [sp, #24]
	add	x2, sp, #8
	bl	_ath10k_wmi_pull_ch_info
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_2
; %bb.1:
	str	x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
	b	LBB0_8
LBB0_2:
	ldr	w0, [sp, #32]
	bl	___le32_to_cpu
	mov	x20, x0
	str	x0, [sp, #80]
	ldr	w0, [sp, #28]
	bl	___le32_to_cpu
	mov	x21, x0
	str	x0, [sp, #72]
	ldr	w0, [sp, #24]
	bl	___le32_to_cpu
	mov	x22, x0
	str	x0, [sp, #64]
	ldr	w0, [sp, #20]
	bl	___le32_to_cpu
	mov	x23, x0
	str	x0, [sp, #56]
	ldr	w0, [sp, #16]
	bl	___le32_to_cpu
	mov	x24, x0
	str	x0, [sp, #48]
	ldr	w0, [sp, #12]
	bl	___le32_to_cpu
	mov	x25, x0
	str	x0, [sp, #40]
	ldr	w0, [sp, #8]
	bl	___le32_to_cpu
	str	x0, [sp, #88]
Lloh2:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	str	x25, [sp]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	mov	x4, x21
	mov	x5, x22
	mov	x6, x23
	mov	x7, x24
	bl	_ath10k_dbg
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	w8, [x19, #16]
	orr	w8, w8, #0x2
	cmp	w8, #130
	b.ne	LBB0_4
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x8, _ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
	bl	_test_bit
	add	x1, sp, #40
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_ath10k_wmi_event_chan_info_unpaired
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_ath10k_wmi_event_chan_info_paired
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_bh
LBB0_8:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to parse chan info event: %d\n"

	.comm	_ATH10K_DBG_WMI,4,2             ; @ATH10K_DBG_WMI
l_.str.1:                               ; @.str.1
	.asciz	"chan info err_code %d freq %d cmd_flags %d noise_floor %d rx_clear_count %d cycle_count %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"received chan info event without a scan request, ignoring\n"

	.comm	_ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL,4,2 ; @ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL
.subsections_via_symbols
