	.file	"extr_cfg80211.c_update_supported_bands.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"update supported bands"
	.text
	.p2align 4
	.globl	update_supported_bands
	.type	update_supported_bands, @function
update_supported_bands:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	wil_to_wiphy@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	mov	rbp, rax
	call	wil_dbg_misc@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR NL80211_BAND_60GHZ[rip]
	mov	rdi, rbx
	mov	r12, QWORD PTR [rax+rdx*8]
	call	wil_num_supported_channels@PLT
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR WMI_FW_CAPABILITY_CHANNEL_BONDING[rip]
	mov	DWORD PTR 8[r12], eax
	call	test_bit@PLT
	test	rax, rax
	je	.L1
	mov	rdx, QWORD PTR NL80211_BAND_60GHZ[rip]
	mov	rax, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	edx, DWORD PTR WIL_EDMG_CHANNELS[rip]
	mov	DWORD PTR 4[rax], edx
	mov	edx, DWORD PTR WIL_EDMG_BW_CONFIGURATION[rip]
	mov	DWORD PTR [rax], edx
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	update_supported_bands, .-update_supported_bands
	.comm	WMI_FW_CAPABILITY_CHANNEL_BONDING,4,4
	.comm	WIL_EDMG_CHANNELS,4,4
	.comm	WIL_EDMG_BW_CONFIGURATION,4,4
	.comm	NL80211_BAND_60GHZ,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cfg80211.c_update_supported_bands.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"update supported bands\000"
	.text
	.align	2
	.global	update_supported_bands
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_supported_bands, %function
update_supported_bands:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	bl	wil_to_wiphy
	mov	r5, r0
	ldr	r6, .L8
	ldr	r1, .L8+4
	mov	r0, r4
	bl	wil_dbg_misc
	ldr	r3, [r5]
	ldr	r2, [r6]
	mov	r0, r4
	ldr	r7, [r3, r2, lsl #2]
	bl	wil_num_supported_channels
	ldr	r3, .L8+8
	str	r0, [r7, #8]
	ldr	r1, [r4]
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r5]
	ldr	r0, [r6]
	ldr	r1, .L8+12
	ldr	r2, .L8+16
	ldr	r3, [r3, r0, lsl #2]
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	r1, [r3, #4]
	str	r2, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	NL80211_BAND_60GHZ
	.word	.LC0
	.word	WMI_FW_CAPABILITY_CHANNEL_BONDING
	.word	WIL_EDMG_CHANNELS
	.word	WIL_EDMG_BW_CONFIGURATION
	.size	update_supported_bands, .-update_supported_bands
	.comm	WMI_FW_CAPABILITY_CHANNEL_BONDING,4,4
	.comm	WIL_EDMG_CHANNELS,4,4
	.comm	WIL_EDMG_BW_CONFIGURATION,4,4
	.comm	NL80211_BAND_60GHZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
