	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ath10k_update_channel_list
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ath10k_update_channel_list:            ## @ath10k_update_channel_list
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -96(%rbp)
	movq	$0, -80(%rbp)
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_lockdep_assert_held
	movq	(%rbx), %rax
	movq	(%rax), %r11
	movq	_NUM_NL80211_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testq	%r9, %r9
	movq	%r11, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movd	%ecx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	xorl	%edx, %edx
	movl	$8, %r8d
	xorl	%esi, %esi
	pxor	%xmm5, %xmm5
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%r9, %rdx
	je	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	(%r11,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %edi
	testl	%edi, %edi
	jle	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rax), %rbx
	cmpl	$9, %edi
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r10d, %r10d
	jmp	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%edi, %eax
	andl	$7, %eax
	testq	%rax, %rax
	cmoveq	%r8, %rax
	movq	%rdi, %r10
	subq	%rax, %r10
	movd	%esi, %xmm2
	leaq	224(%rbx), %rsi
	pxor	%xmm1, %xmm1
	movq	%r10, %rax
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movd	-224(%rsi), %xmm3               ## xmm3 = mem[0],zero,zero,zero
	pinsrd	$1, -192(%rsi), %xmm3
	pinsrd	$2, -160(%rsi), %xmm3
	pinsrd	$3, -128(%rsi), %xmm3
	movd	-96(%rsi), %xmm4                ## xmm4 = mem[0],zero,zero,zero
	pinsrd	$1, -64(%rsi), %xmm4
	pinsrd	$2, -32(%rsi), %xmm4
	pinsrd	$3, (%rsi), %xmm4
	pand	%xmm0, %xmm3
	pand	%xmm0, %xmm4
	pcmpeqd	%xmm5, %xmm3
	psubd	%xmm3, %xmm2
	pcmpeqd	%xmm5, %xmm4
	psubd	%xmm4, %xmm1
	addq	$256, %rsi                      ## imm = 0x100
	addq	$-8, %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	paddd	%xmm2, %xmm1
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	paddd	%xmm1, %xmm2
	pshufd	$85, %xmm2, %xmm1               ## xmm1 = xmm2[1,1,1,1]
	paddd	%xmm2, %xmm1
	movd	%xmm1, %esi
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	subq	%r10, %rdi
	shlq	$5, %r10
	addq	%r10, %rbx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %eax
	andl	%ecx, %eax
	cmpl	$1, %eax
	adcl	$0, %esi
	addq	$32, %rbx
	decq	%rdi
	jne	LBB0_11
	jmp	LBB0_12
LBB0_13:
	movl	%esi, -96(%rbp)
	jmp	LBB0_14
LBB0_1:
	xorl	%esi, %esi
LBB0_14:
	shll	$4, %esi
	leal	(%rsi,%rsi,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, -88(%rbp)
	testq	%rax, %rax
	je	LBB0_31
## %bb.15:
	movq	%rax, %rbx
	movq	_NUM_NL80211_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_29
## %bb.16:
	xorl	%r15d, %r15d
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %r13
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_NUM_NL80211_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_28:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%r15
	movl	%eax, %ecx
	cmpq	%rcx, %r15
	jae	LBB0_29
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	movq	(%rdx,%r15,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_28
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpl	$0, (%rcx)
	jle	LBB0_28
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-88(%rbp), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	-96(%rbp), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
	xorl	%edi, %edi
	movq	_MODE_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_24
LBB0_25:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=2
	incq	%r14
	movq	(%rdx,%r15,8), %rcx
	movslq	(%rcx), %rax
	addq	$32, %r12
	cmpq	%rax, %r14
	jge	LBB0_27
LBB0_20:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rcx), %rax
	movl	(%rax,%r12), %ecx
	testl	%ecx, (%r13)
	jne	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movabsq	$4294967297, %rdx               ## imm = 0x100000001
	movq	%rdx, (%rbx)
	xorl	%edx, %edx
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%ecx, %esi
	sete	%dl
	movl	%edx, 8(%rbx)
	xorl	%edx, %edx
	movq	_IEEE80211_CHAN_NO_HT40PLUS@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%ecx, %edi
	sete	%dl
	movl	%edx, 12(%rbx)
	xorl	%edx, %edx
	movq	_IEEE80211_CHAN_RADAR@GOTPCREL(%rip), %rdi
	andl	(%rdi), %ecx
	setne	%dl
	movl	%edx, 16(%rbx)
	orl	%edx, %esi
	movl	%esi, 20(%rbx)
	movl	24(%rax,%r12), %ecx
	movl	%ecx, 48(%rbx)
	movl	%ecx, 72(%rbx)
	movl	4(%rax,%r12), %ecx
	addl	%ecx, %ecx
	movl	%ecx, 24(%rbx)
	movl	8(%rax,%r12), %ecx
	addl	%ecx, %ecx
	movl	%ecx, 28(%rbx)
	movl	12(%rax,%r12), %ecx
	addl	%ecx, %ecx
	movl	%ecx, 32(%rbx)
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 56(%rbx)
	movq	16(%rax,%r12), %rcx
	movq	_MODE_11A@GOTPCREL(%rip), %rax
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	_MODE_11G@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rax
	subq	-104(%rbp), %rax                ## 8-byte Folded Reload
	shrq	$4, %rax
	imull	$-858993459, %eax, %ecx         ## imm = 0xCCCCCCCD
	movl	48(%rbx), %r9d
	movl	24(%rbx), %r10d
	movl	28(%rbx), %r11d
	movl	32(%rbx), %eax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	pushq	40(%rbx)
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_ath10k_dbg
	addq	$32, %rsp
	addq	$80, %rbx
	jmp	LBB0_25
LBB0_29:
	leaq	-96(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ath10k_wmi_scan_chan_list
	movl	%eax, %ebx
	movq	-88(%rbp), %rdi
	callq	_kfree
	jmp	LBB0_30
LBB0_31:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_30:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_NL80211_BANDS,4,2          ## @NUM_NL80211_BANDS
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ## @IEEE80211_CHAN_DISABLED
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IEEE80211_CHAN_NO_IR,4,2       ## @IEEE80211_CHAN_NO_IR
	.comm	_IEEE80211_CHAN_NO_HT40PLUS,4,2 ## @IEEE80211_CHAN_NO_HT40PLUS
	.comm	_IEEE80211_CHAN_RADAR,4,2       ## @IEEE80211_CHAN_RADAR
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_MODE_11G,8,3                   ## @MODE_11G
	.comm	_MODE_11A,8,3                   ## @MODE_11A
	.comm	_MODE_UNKNOWN,8,3               ## @MODE_UNKNOWN
	.comm	_ATH10K_DBG_WMI,4,2             ## @ATH10K_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac channel [%zd/%d] freq %d maxpower %d regpower %d antenna %d mode %d\n"

	.no_dead_strip	_ath10k_update_channel_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_update_channel_list
_ath10k_update_channel_list:            ; @ath10k_update_channel_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	ldr	x19, [x0, #8]
	stp	xzr, xzr, [sp, #24]
	str	xzr, [sp, #40]
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	bl	_lockdep_assert_held
	ldr	x8, [x19]
	ldr	x23, [x8]
Lloh0:
	adrp	x8, _NUM_NL80211_BANDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_NL80211_BANDS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x25, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh4:
	ldr	x25, [x25, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
	cbz	w8, LBB0_13
; %bb.1:
	mov	x9, #0
	mov	w15, #0
	ldr	w10, [x25]
	dup.4s	v0, w10
	mov	w11, #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x13, [x23, x9, lsl #3]
	cbz	x13, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x13]
	cmp	w12, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x13, #8]
	cmp	w12, #17
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x14, #0
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ands	x14, x12, #0xf
	csel	x14, x11, x14, eq
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w15
	sub	x14, x12, x14
	add	x15, x13, #256
	movi.2d	v2, #0000000000000000
	mov	x16, x14
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	q5, [x15, #-160]
	ldur	q6, [x15, #-192]
	ldur	q7, [x15, #-224]
	ldur	q16, [x15, #-256]
	ldur	q17, [x15, #-32]
	ldur	q18, [x15, #-64]
	ldur	q19, [x15, #-96]
	ldur	q20, [x15, #-128]
	ldr	q21, [x15, #96]
	ldr	q22, [x15, #64]
	ldr	q23, [x15, #32]
	ldr	q24, [x15]
	ldr	q25, [x15, #224]
	ldr	q26, [x15, #192]
	ldr	q27, [x15, #160]
	zip1.4s	v7, v16, v7
	zip1.4s	v5, v6, v5
	ext.16b	v5, v6, v5, #8
	mov.d	v7[1], v5[1]
	ldr	q5, [x15, #128]
	zip1.4s	v6, v20, v19
	zip1.4s	v16, v18, v17
	ext.16b	v16, v18, v16, #8
	mov.d	v6[1], v16[1]
	zip1.4s	v16, v24, v23
	zip1.4s	v17, v22, v21
	ext.16b	v17, v22, v17, #8
	mov.d	v16[1], v17[1]
	zip1.4s	v5, v5, v27
	zip1.4s	v17, v26, v25
	ext.16b	v17, v26, v17, #8
	mov.d	v5[1], v17[1]
	and.16b	v7, v0, v7
	and.16b	v6, v0, v6
	and.16b	v16, v0, v16
	and.16b	v5, v0, v5
	cmeq.4s	v7, v7, #0
	cmeq.4s	v6, v6, #0
	cmeq.4s	v16, v16, #0
	cmeq.4s	v5, v5, #0
	sub.4s	v1, v1, v7
	sub.4s	v2, v2, v6
	sub.4s	v3, v3, v16
	sub.4s	v4, v4, v5
	add	x15, x15, #512
	subs	x16, x16, #16
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add.4s	v1, v2, v1
	add.4s	v1, v3, v1
	add.4s	v1, v4, v1
	addv.4s	s1, v1
	fmov	w15, s1
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x13, x13, x14, lsl #5
	sub	x12, x12, x14
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w14, [x13], #32
	tst	w10, w14
	cinc	w15, w15, eq
	subs	x12, x12, #1
	b.ne	LBB0_11
	b	LBB0_2
LBB0_12:
	str	w15, [sp, #24]
	b	LBB0_14
LBB0_13:
	mov	w15, #0
LBB0_14:
	add	w8, w15, w15, lsl #2
	lsl	w0, w8, #4
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [sp, #32]
	cbz	x0, LBB0_27
; %bb.15:
Lloh8:
	adrp	x8, _NUM_NL80211_BANDS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NUM_NL80211_BANDS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cbz	w8, LBB0_26
; %bb.16:
	mov	x20, x0
	mov	x26, #0
	movi.2s	v8, #1
Lloh11:
	adrp	x27, _MODE_11A@GOTPAGE
Lloh12:
	ldr	x27, [x27, _MODE_11A@GOTPAGEOFF]
Lloh13:
	adrp	x28, _MODE_UNKNOWN@GOTPAGE
Lloh14:
	ldr	x28, [x28, _MODE_UNKNOWN@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
Lloh15:
	adrp	x8, _NUM_NL80211_BANDS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NUM_NL80211_BANDS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x26, x26, #1
	cmp	x26, w8, uxtw
	b.hs	LBB0_26
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	ldr	x9, [x23, x26, lsl #3]
	cbz	x9, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w10, [x9]
	cmp	w10, #1
	b.lt	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x24, #0
	mov	x19, #0
	ldr	x21, [sp, #32]
	ldr	w22, [sp, #24]
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	add	x19, x19, #1
	ldr	x9, [x23, x26, lsl #3]
	ldrsw	x8, [x9]
	add	x24, x24, #32
	cmp	x19, x8
	b.ge	LBB0_17
LBB0_23:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x9, #8]
	ldr	w9, [x8, x24]
	ldr	w10, [x25]
	tst	w10, w9
	b.ne	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	str	d8, [x20]
Lloh18:
	adrp	x10, _IEEE80211_CHAN_NO_IR@GOTPAGE
Lloh19:
	ldr	x10, [x10, _IEEE80211_CHAN_NO_IR@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	ands	w10, w10, w9
	cset	w11, eq
Lloh21:
	adrp	x12, _IEEE80211_CHAN_NO_HT40PLUS@GOTPAGE
Lloh22:
	ldr	x12, [x12, _IEEE80211_CHAN_NO_HT40PLUS@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	tst	w12, w9
	cset	w12, eq
	stp	w11, w12, [x20, #8]
Lloh24:
	adrp	x11, _IEEE80211_CHAN_RADAR@GOTPAGE
Lloh25:
	ldr	x11, [x11, _IEEE80211_CHAN_RADAR@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
	tst	w11, w9
	cset	w9, ne
	orr	w10, w10, w9
	stp	w9, w10, [x20, #16]
	add	x8, x8, x24
	ldr	w9, [x8, #24]
	str	w9, [x20, #48]
	str	w9, [x20, #72]
	ldur	d0, [x8, #4]
	shl.2s	v0, v0, #1
	str	d0, [x20, #24]
	ldr	w9, [x8, #12]
	lsl	w9, w9, #1
	str	w9, [x20, #32]
	stp	xzr, xzr, [x20, #56]
	ldr	x8, [x8, #16]
Lloh27:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh28:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh30:
	adrp	x8, _MODE_11G@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MODE_11G@GOTPAGEOFF]
	csel	x8, x8, x27, eq
	ldr	x8, [x8]
	str	x8, [x20, #40]
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=2
Lloh32:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	sub	x8, x20, x21
	lsr	x8, x8, #4
	mov	w9, #52429
	movk	w9, #52428, lsl #16
	mul	w3, w8, w9
	ldr	w5, [x20, #48]
	ldp	w6, w7, [x20, #24]
	ldr	w8, [x20, #32]
	ldr	x9, [x20, #40]
	str	x9, [sp, #8]
	str	w8, [sp]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
Lloh35:
	adrp	x2, l_.str@PAGE
Lloh36:
	add	x2, x2, l_.str@PAGEOFF
	mov	x4, x22
	bl	_ath10k_dbg
	add	x20, x20, #80
	b	LBB0_22
LBB0_26:
	add	x1, sp, #24
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_ath10k_wmi_scan_chan_list
	mov	x19, x0
	ldr	x0, [sp, #32]
	bl	_kfree
	b	LBB0_28
LBB0_27:
Lloh37:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_28:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_NL80211_BANDS,4,2          ; @NUM_NL80211_BANDS
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ; @IEEE80211_CHAN_DISABLED
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IEEE80211_CHAN_NO_IR,4,2       ; @IEEE80211_CHAN_NO_IR
	.comm	_IEEE80211_CHAN_NO_HT40PLUS,4,2 ; @IEEE80211_CHAN_NO_HT40PLUS
	.comm	_IEEE80211_CHAN_RADAR,4,2       ; @IEEE80211_CHAN_RADAR
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_MODE_11G,8,3                   ; @MODE_11G
	.comm	_MODE_11A,8,3                   ; @MODE_11A
	.comm	_MODE_UNKNOWN,8,3               ; @MODE_UNKNOWN
	.comm	_ATH10K_DBG_WMI,4,2             ; @ATH10K_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac channel [%zd/%d] freq %d maxpower %d regpower %d antenna %d mode %d\n"

	.no_dead_strip	_ath10k_update_channel_list
.subsections_via_symbols
