	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_construct_chaninfo
_brcmf_construct_chaninfo:              ## @brcmf_construct_chaninfo
	.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	%rsi, %r13
	movq	%rdi, %rbx
	callq	_cfg_to_wiphy
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rdi
	xorl	%r15d, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	callq	_brcmf_get_ifp
	movq	%rax, %r12
	movq	_BRCMF_DCMD_MEDLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_brcmf_fil_iovar_data_get
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movl	%eax, %r15d
	movq	%r14, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_bphy_err
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_5
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r9
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r9,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.8:
	movq	16(%rax), %r8
	leaq	-1(%rsi), %rax
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$3, %rax
	jae	LBB0_10
## %bb.9:
	xorl	%edi, %edi
	jmp	LBB0_12
LBB0_10:
	andq	$-4, %rsi
	xorl	%edi, %edi
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rcx
	movq	%r8, %rax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %ebx
	movl	%ebx, (%rax)
	movl	(%rcx), %ebx
	movl	%ebx, 12(%rax)
	movl	(%rcx), %ebx
	movl	%ebx, 24(%rax)
	movl	(%rcx), %ebx
	movl	%ebx, 36(%rax)
	addq	$4, %rdi
	addq	$48, %rax
	cmpq	%rdi, %rsi
	jne	LBB0_11
LBB0_12:
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.13:
	leaq	(%rdi,%rdi,2), %rax
	leaq	(%r8,%rax,4), %rax
	shlq	$2, %rdx
	leaq	(%rdx,%rdx,2), %rcx
	xorl	%edx, %edx
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edi
	movl	%edi, (%rax,%rdx)
	addq	$12, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_14
LBB0_15:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r9,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.16:
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_24
## %bb.17:
	movq	16(%rax), %r8
	leaq	-1(%rdx), %rax
	movl	%edx, %ecx
	andl	$3, %ecx
	cmpq	$3, %rax
	jae	LBB0_19
## %bb.18:
	xorl	%esi, %esi
	jmp	LBB0_21
LBB0_19:
	andq	$-4, %rdx
	xorl	%esi, %esi
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rdi
	movq	%r8, %rax
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %ebx
	movl	%ebx, (%rax)
	movl	(%rdi), %ebx
	movl	%ebx, 12(%rax)
	movl	(%rdi), %ebx
	movl	%ebx, 24(%rax)
	movl	(%rdi), %ebx
	movl	%ebx, 36(%rax)
	addq	$4, %rsi
	addq	$48, %rax
	cmpq	%rsi, %rdx
	jne	LBB0_20
LBB0_21:
	testq	%rcx, %rcx
	je	LBB0_24
## %bb.22:
	leaq	(%rsi,%rsi,2), %rax
	leaq	(%r8,%rax,4), %rax
	shlq	$2, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	xorl	%edx, %edx
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edi
	movl	%edi, (%rax,%rdx)
	addq	$12, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_23
LBB0_24:
	movq	%r14, %rbx
	movl	8(%r14), %edi
	callq	_le32_to_cpu
	testq	%rax, %rax
	je	LBB0_55
## %bb.25:
	movq	%rax, %r14
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_29 Depth=1
	movl	-80(%rbp), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rsi
LBB0_27:                                ##   in Loop: Header=BB0_29 Depth=1
	callq	_bphy_err
LBB0_28:                                ##   in Loop: Header=BB0_29 Depth=1
	incq	%r12
	cmpq	%r14, %r12
	je	LBB0_3
LBB0_29:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_38 Depth 2
	movq	(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	callq	_le32_to_cpu
	movl	%eax, -80(%rbp)
	leaq	-80(%rbp), %rdi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*8(%rax)
	movq	-72(%rbp), %rcx
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movq	_BRCMU_CHAN_BAND_2G@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	movq	_BRCMU_CHAN_BAND_5G@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_26
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	(%rax), %rax
	movq	(%rcx,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_28
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	8(%rax), %rcx
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	(%rdx,%rcx,8), %rcx
	movl	-64(%rbp), %edx
	movq	_WLC_BW_40MHZ_BIT@GOTPCREL(%rip), %rsi
	testq	%rcx, (%rsi)
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_29 Depth=1
	cmpl	$129, %edx
	je	LBB0_28
LBB0_34:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	_WLC_BW_80MHZ_BIT@GOTPCREL(%rip), %rsi
	testq	%rcx, (%rsi)
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_29 Depth=1
	cmpl	$128, %edx
	je	LBB0_28
LBB0_36:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_40
## %bb.37:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	16(%rax), %r13
	movl	-60(%rbp), %eax
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_29 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%eax, 4(%r13)
	je	LBB0_42
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=2
	addq	$12, %r13
	decq	%rcx
	jne	LBB0_38
	jmp	LBB0_41
LBB0_40:                                ##   in Loop: Header=BB0_29 Depth=1
	movl	-60(%rbp), %eax
LBB0_41:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	jmp	LBB0_27
LBB0_42:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r13)
	jne	LBB0_28
## %bb.43:                              ##   in Loop: Header=BB0_29 Depth=1
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	ja	LBB0_46
## %bb.44:                              ##   in Loop: Header=BB0_29 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_45:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	_IEEE80211_CHAN_NO_80MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_54
LBB0_46:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.4(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_wiphy_warn
LBB0_47:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	_IEEE80211_CHAN_NO_80MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IEEE80211_CHAN_NO_HT40@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IEEE80211_CHAN_NO_160MHZ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r13)
	movl	$130, -64(%rbp)
	leaq	-80(%rbp), %rdi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax)
	movslq	-80(%rbp), %rax
	movq	%rax, -96(%rbp)
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str.5(%rip), %rsi
	leaq	-96(%rbp), %rdx
	callq	_brcmf_fil_bsscfg_int_get
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_28
## %bb.48:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	-96(%rbp), %rax
	movq	_WL_CHAN_RADAR@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IEEE80211_CHAN_RADAR@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	orl	%ecx, (%r13)
LBB0_50:                                ##   in Loop: Header=BB0_29 Depth=1
	xorl	%r15d, %r15d
	movq	_WL_CHAN_PASSIVE@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	je	LBB0_28
## %bb.51:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
	jmp	LBB0_28
LBB0_52:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r13, %rdi
	leaq	-80(%rbp), %rsi
	callq	_brcmf_update_bw40_channel_flag
	jmp	LBB0_28
LBB0_53:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	_IEEE80211_CHAN_NO_160MHZ@GOTPCREL(%rip), %rax
LBB0_54:                                ##   in Loop: Header=BB0_29 Depth=1
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r13)
	jmp	LBB0_28
LBB0_55:
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_52, LBB0_52-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_53, LBB0_53-LJTI0_0
LJTI0_0:
	.long	L0_0_set_45
	.long	L0_0_set_52
	.long	L0_0_set_47
	.long	L0_0_set_53
	.end_data_region
                                        ## -- End function
	.comm	_BRCMF_DCMD_MEDLEN,4,2          ## @BRCMF_DCMD_MEDLEN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chanspecs"

L_.str.1:                               ## @.str.1
	.asciz	"get chanspecs error (%d)\n"

	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ## @IEEE80211_CHAN_DISABLED
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_BRCMU_CHAN_BAND_2G,8,3         ## @BRCMU_CHAN_BAND_2G
	.comm	_BRCMU_CHAN_BAND_5G,8,3         ## @BRCMU_CHAN_BAND_5G
L_.str.2:                               ## @.str.2
	.asciz	"Invalid channel Spec. 0x%x.\n"

	.comm	_WLC_BW_40MHZ_BIT,8,3           ## @WLC_BW_40MHZ_BIT
	.comm	_WLC_BW_80MHZ_BIT,8,3           ## @WLC_BW_80MHZ_BIT
L_.str.3:                               ## @.str.3
	.asciz	"Ignoring unexpected firmware channel %d\n"

	.comm	_IEEE80211_CHAN_NO_160MHZ,4,2   ## @IEEE80211_CHAN_NO_160MHZ
	.comm	_IEEE80211_CHAN_NO_80MHZ,4,2    ## @IEEE80211_CHAN_NO_80MHZ
L_.str.4:                               ## @.str.4
	.asciz	"Firmware reported unsupported bandwidth %d\n"

	.comm	_IEEE80211_CHAN_NO_HT40,4,2     ## @IEEE80211_CHAN_NO_HT40
L_.str.5:                               ## @.str.5
	.asciz	"per_chan_info"

	.comm	_WL_CHAN_RADAR,8,3              ## @WL_CHAN_RADAR
	.comm	_IEEE80211_CHAN_RADAR,4,2       ## @IEEE80211_CHAN_RADAR
	.comm	_IEEE80211_CHAN_NO_IR,4,2       ## @IEEE80211_CHAN_NO_IR
	.comm	_WL_CHAN_PASSIVE,8,3            ## @WL_CHAN_PASSIVE
	.no_dead_strip	_brcmf_construct_chaninfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_construct_chaninfo
_brcmf_construct_chaninfo:              ; @brcmf_construct_chaninfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x0
	bl	_cfg_to_wiphy
	mov	x23, x0
	ldr	x21, [x20, #16]
	mov	x0, x21
	mov	w1, #0
	bl	_brcmf_get_ifp
	mov	x24, x0
Lloh0:
	adrp	x19, _BRCMF_DCMD_MEDLEN@GOTPAGE
Lloh1:
	ldr	x19, [x19, _BRCMF_DCMD_MEDLEN@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	ldr	w3, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	mov	x2, x22
	bl	_brcmf_fil_iovar_data_get
	cbz	w0, LBB0_6
; %bb.2:
	mov	x27, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x27
	bl	_bphy_err
LBB0_3:
	mov	x0, x22
	bl	_kfree
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w27, w8
LBB0_5:
	mov	x0, x27
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_6:
Lloh12:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh14:
	ldr	x9, [x9]
	ldr	x10, [x8, x9, lsl #3]
Lloh15:
	adrp	x28, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh16:
	ldr	x28, [x28, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
	cbz	x10, LBB0_10
; %bb.7:
	ldr	x9, [x10]
	cbz	x9, LBB0_10
; %bb.8:
	ldr	x10, [x10, #16]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x28]
	str	w11, [x10], #12
	subs	x9, x9, #1
	b.ne	LBB0_9
LBB0_10:
Lloh17:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_14
; %bb.11:
	ldr	x8, [x9]
	cbz	x8, LBB0_14
; %bb.12:
	ldr	x9, [x9, #16]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x28]
	str	w10, [x9], #12
	subs	x8, x8, #1
	b.ne	LBB0_13
LBB0_14:
	ldr	w0, [x22, #8]
	bl	_le32_to_cpu
	cbz	x0, LBB0_47
; %bb.15:
	mov	x25, x0
	str	x24, [sp]                       ; 8-byte Folded Spill
	mov	x24, #0
	mov	w27, #0
Lloh20:
	adrp	x19, _NL80211_BAND_2GHZ@GOTPAGE
Lloh21:
	ldr	x19, [x19, _NL80211_BAND_2GHZ@GOTPAGEOFF]
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w2, [sp, #24]
	mov	x0, x21
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	bl	_bphy_err
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x24, x24, #1
	cmp	x24, x25
	b.eq	LBB0_3
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
	ldr	x8, [x22]
	ldr	w0, [x8, x24, lsl #2]
	bl	_le32_to_cpu
	str	w0, [sp, #24]
	ldr	x8, [x20, #8]
	add	x0, sp, #24
	blr	x8
	ldr	x8, [sp, #32]
Lloh24:
	adrp	x9, _BRCMU_CHAN_BAND_2G@GOTPAGE
Lloh25:
	ldr	x9, [x9, _BRCMU_CHAN_BAND_2G@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x9]
	mov	x9, x19
	cmp	x8, x10
	b.eq	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
Lloh27:
	adrp	x9, _BRCMU_CHAN_BAND_5G@GOTPAGE
Lloh28:
	ldr	x9, [x9, _BRCMU_CHAN_BAND_5G@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x9]
Lloh30:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh31:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
	cmp	x8, x10
	b.ne	LBB0_16
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_18
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x9, [x8, #8]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x9, [x10, x9, lsl #3]
Lloh32:
	adrp	x10, _WLC_BW_40MHZ_BIT@GOTPAGE
Lloh33:
	ldr	x10, [x10, _WLC_BW_40MHZ_BIT@GOTPAGEOFF]
Lloh34:
	ldr	x10, [x10]
	ldr	w2, [sp, #40]
	tst	x10, x9
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	w2, #129
	b.eq	LBB0_18
LBB0_24:                                ;   in Loop: Header=BB0_19 Depth=1
Lloh35:
	adrp	x10, _WLC_BW_80MHZ_BIT@GOTPAGE
Lloh36:
	ldr	x10, [x10, _WLC_BW_80MHZ_BIT@GOTPAGEOFF]
Lloh37:
	ldr	x10, [x10]
	tst	x10, x9
	b.ne	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	w2, #128
	b.eq	LBB0_18
LBB0_26:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x9, [x8]
	cbz	x9, LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x26, [x8, #16]
	ldr	w8, [sp, #44]
LBB0_28:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x26, #4]
	cmp	w10, w8
	b.eq	LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	add	x26, x26, #12
	subs	x9, x9, #1
	b.ne	LBB0_28
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [sp, #44]
LBB0_31:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x21
Lloh38:
	adrp	x1, l_.str.3@PAGE
Lloh39:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x8
	b	LBB0_17
LBB0_32:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x26, #8]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_18
; %bb.33:                               ;   in Loop: Header=BB0_19 Depth=1
	sub	w8, w2, #128
	cmp	w8, #3
	b.hi	LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_19 Depth=1
Lloh40:
	adrp	x11, lJTI0_0@PAGE
Lloh41:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_35
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_35:                                ;   in Loop: Header=BB0_19 Depth=1
Lloh42:
	adrp	x8, _IEEE80211_CHAN_NO_80MHZ@GOTPAGE
Lloh43:
	ldr	x8, [x8, _IEEE80211_CHAN_NO_80MHZ@GOTPAGEOFF]
	b	LBB0_44
LBB0_36:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x23
Lloh44:
	adrp	x1, l_.str.4@PAGE
Lloh45:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wiphy_warn
LBB0_37:                                ;   in Loop: Header=BB0_19 Depth=1
Lloh46:
	adrp	x8, _IEEE80211_CHAN_NO_HT40@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IEEE80211_CHAN_NO_HT40@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
Lloh49:
	adrp	x9, _IEEE80211_CHAN_NO_80MHZ@GOTPAGE
Lloh50:
	ldr	x9, [x9, _IEEE80211_CHAN_NO_80MHZ@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh52:
	adrp	x9, _IEEE80211_CHAN_NO_160MHZ@GOTPAGE
Lloh53:
	ldr	x9, [x9, _IEEE80211_CHAN_NO_160MHZ@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x26]
	mov	w8, #130
	str	w8, [sp, #40]
	ldr	x8, [x20]
	add	x0, sp, #24
	blr	x8
	ldrsw	x8, [sp, #24]
	str	x8, [sp, #16]
	add	x2, sp, #16
	ldr	x0, [sp]                        ; 8-byte Folded Reload
Lloh55:
	adrp	x1, l_.str.5@PAGE
Lloh56:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_brcmf_fil_bsscfg_int_get
	mov	x27, x0
	cbnz	w0, LBB0_18
; %bb.38:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [sp, #16]
Lloh57:
	adrp	x9, _WL_CHAN_RADAR@GOTPAGE
Lloh58:
	ldr	x9, [x9, _WL_CHAN_RADAR@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	tst	x9, x8
	b.eq	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_19 Depth=1
Lloh60:
	adrp	x9, _IEEE80211_CHAN_RADAR@GOTPAGE
Lloh61:
	ldr	x9, [x9, _IEEE80211_CHAN_RADAR@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
Lloh63:
	adrp	x10, _IEEE80211_CHAN_NO_IR@GOTPAGE
Lloh64:
	ldr	x10, [x10, _IEEE80211_CHAN_NO_IR@GOTPAGEOFF]
Lloh65:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x26]
	orr	w9, w9, w10
	str	w9, [x26]
LBB0_40:                                ;   in Loop: Header=BB0_19 Depth=1
Lloh66:
	adrp	x9, _WL_CHAN_PASSIVE@GOTPAGE
Lloh67:
	ldr	x9, [x9, _WL_CHAN_PASSIVE@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	tst	x9, x8
	b.eq	LBB0_46
; %bb.41:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w27, #0
Lloh69:
	adrp	x8, _IEEE80211_CHAN_NO_IR@GOTPAGE
Lloh70:
	ldr	x8, [x8, _IEEE80211_CHAN_NO_IR@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	ldr	w9, [x26]
	orr	w8, w9, w8
	b	LBB0_45
LBB0_42:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x1, sp, #24
	mov	x0, x26
	bl	_brcmf_update_bw40_channel_flag
	b	LBB0_18
LBB0_43:                                ;   in Loop: Header=BB0_19 Depth=1
Lloh72:
	adrp	x8, _IEEE80211_CHAN_NO_160MHZ@GOTPAGE
Lloh73:
	ldr	x8, [x8, _IEEE80211_CHAN_NO_160MHZ@GOTPAGEOFF]
LBB0_44:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x8]
	ldr	w9, [x26]
	bic	w8, w9, w8
LBB0_45:                                ;   in Loop: Header=BB0_19 Depth=1
	str	w8, [x26]
	b	LBB0_18
LBB0_46:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w27, #0
	b	LBB0_18
LBB0_47:
	mov	w27, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh72, Lloh73
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_35-LBB0_35)>>2
	.byte	(LBB0_42-LBB0_35)>>2
	.byte	(LBB0_37-LBB0_35)>>2
	.byte	(LBB0_43-LBB0_35)>>2
                                        ; -- End function
	.comm	_BRCMF_DCMD_MEDLEN,4,2          ; @BRCMF_DCMD_MEDLEN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chanspecs"

l_.str.1:                               ; @.str.1
	.asciz	"get chanspecs error (%d)\n"

	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ; @IEEE80211_CHAN_DISABLED
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_BRCMU_CHAN_BAND_2G,8,3         ; @BRCMU_CHAN_BAND_2G
	.comm	_BRCMU_CHAN_BAND_5G,8,3         ; @BRCMU_CHAN_BAND_5G
l_.str.2:                               ; @.str.2
	.asciz	"Invalid channel Spec. 0x%x.\n"

	.comm	_WLC_BW_40MHZ_BIT,8,3           ; @WLC_BW_40MHZ_BIT
	.comm	_WLC_BW_80MHZ_BIT,8,3           ; @WLC_BW_80MHZ_BIT
l_.str.3:                               ; @.str.3
	.asciz	"Ignoring unexpected firmware channel %d\n"

	.comm	_IEEE80211_CHAN_NO_160MHZ,4,2   ; @IEEE80211_CHAN_NO_160MHZ
	.comm	_IEEE80211_CHAN_NO_80MHZ,4,2    ; @IEEE80211_CHAN_NO_80MHZ
l_.str.4:                               ; @.str.4
	.asciz	"Firmware reported unsupported bandwidth %d\n"

	.comm	_IEEE80211_CHAN_NO_HT40,4,2     ; @IEEE80211_CHAN_NO_HT40
l_.str.5:                               ; @.str.5
	.asciz	"per_chan_info"

	.comm	_WL_CHAN_RADAR,8,3              ; @WL_CHAN_RADAR
	.comm	_IEEE80211_CHAN_RADAR,4,2       ; @IEEE80211_CHAN_RADAR
	.comm	_IEEE80211_CHAN_NO_IR,4,2       ; @IEEE80211_CHAN_NO_IR
	.comm	_WL_CHAN_PASSIVE,8,3            ; @WL_CHAN_PASSIVE
	.no_dead_strip	_brcmf_construct_chaninfo
.subsections_via_symbols
