	.file	"extr_main.c_rtw_set_supported_band.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed to set supported band\n"
	.text
	.p2align 4
	.type	rtw_set_supported_band, @function
rtw_set_supported_band:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR 8[rdi]
	mov	eax, DWORD PTR [rsi]
	test	DWORD PTR RTW_BAND_2G[rip], eax
	jne	.L22
	test	DWORD PTR RTW_BAND_5G[rip], eax
	jne	.L23
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 8
	lea	rdi, rtw_band_2ghz[rip]
	call	kmemdup@PLT
	mov	r12, rax
	test	rax, rax
	je	.L3
	cmp	QWORD PTR 16[rbx], 0
	jne	.L24
.L4:
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR NL80211_BAND_2GHZ[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rax+rdx*8], r12
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR RTW_BAND_5G[rip], eax
	je	.L1
.L23:
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 8
	lea	rdi, rtw_band_5ghz[rip]
	call	kmemdup@PLT
	mov	r12, rax
	test	rax, rax
	je	.L3
	cmp	QWORD PTR 16[rbx], 0
	jne	.L25
.L6:
	cmp	QWORD PTR 8[rbx], 0
	jne	.L26
.L7:
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR NL80211_BAND_5GHZ[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rax+rdx*8], r12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	lea	rsi, 4[rax]
	mov	rdi, r13
	call	rtw_init_ht_cap@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rsi, r12
	mov	rdi, r13
	call	rtw_init_vht_cap@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L25:
	lea	rsi, 4[rax]
	mov	rdi, r13
	call	rtw_init_ht_cap@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r13
	lea	rsi, .LC0[rip]
	call	rtw_err@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	edi, edi
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.cfi_endproc
.LFE0:
	.size	rtw_set_supported_band, .-rtw_set_supported_band
	.comm	rtw_band_5ghz,4,4
	.comm	rtw_band_2ghz,4,4
	.comm	RTW_BAND_5G,4,4
	.comm	RTW_BAND_2G,4,4
	.comm	NL80211_BAND_5GHZ,8,8
	.comm	NL80211_BAND_2GHZ,8,8
	.comm	GFP_KERNEL,4,4
	.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_main.c_rtw_set_supported_band.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to set supported band\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtw_set_supported_band, %function
rtw_set_supported_band:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L35
	ldr	r3, [r1]
	ldr	r2, [r2]
	push	{r4, r5, r6, r7, r8, lr}
	tst	r3, r2
	mov	r4, r1
	mov	r5, r0
	ldr	r7, [r0, #4]
	bne	.L31
.L2:
	ldr	r2, .L35+4
	ldr	r2, [r2]
	tst	r3, r2
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L35+8
	mov	r1, #8
	ldr	r2, [r3]
	ldr	r0, .L35+12
	bl	kmemdup
	subs	r6, r0, #0
	beq	.L3
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L32
.L6:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L33
.L7:
	ldr	r3, [r5]
	ldr	r2, .L35+16
	ldr	r3, [r3]
	ldr	r2, [r2]
	str	r6, [r3, r2, lsl #2]
	pop	{r4, r5, r6, r7, r8, pc}
.L31:
	ldr	r3, .L35+8
	mov	r1, #8
	ldr	r2, [r3]
	ldr	r0, .L35+20
	bl	kmemdup
	subs	r6, r0, #0
	beq	.L3
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L34
.L4:
	ldr	r2, [r5]
	ldr	r3, .L35+24
	ldr	r2, [r2]
	ldr	r1, [r3]
	ldr	r3, [r4]
	str	r6, [r2, r1, lsl #2]
	b	.L2
.L34:
	mov	r0, r7
	add	r1, r6, #4
	bl	rtw_init_ht_cap
	b	.L4
.L33:
	mov	r0, r7
	mov	r1, r6
	bl	rtw_init_vht_cap
	b	.L7
.L32:
	mov	r0, r7
	add	r1, r6, #4
	bl	rtw_init_ht_cap
	b	.L6
.L3:
	mov	r0, r7
	ldr	r1, .L35+28
	bl	rtw_err
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r0, #0
	b	kfree
.L36:
	.align	2
.L35:
	.word	RTW_BAND_2G
	.word	RTW_BAND_5G
	.word	GFP_KERNEL
	.word	rtw_band_5ghz
	.word	NL80211_BAND_5GHZ
	.word	rtw_band_2ghz
	.word	NL80211_BAND_2GHZ
	.word	.LC0
	.size	rtw_set_supported_band, .-rtw_set_supported_band
	.comm	rtw_band_5ghz,4,4
	.comm	rtw_band_2ghz,4,4
	.comm	RTW_BAND_5G,4,4
	.comm	RTW_BAND_2G,4,4
	.comm	NL80211_BAND_5GHZ,4,4
	.comm	NL80211_BAND_2GHZ,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
