	.file	"extr_rtl_btc.c_rtl_btc_switch_band_notify.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rtl_btc_switch_band_notify
	.type	rtl_btc_switch_band_notify, @function
rtl_btc_switch_band_notify:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	rtl_btc_coexist@PLT
	test	rax, rax
	je	.L1
	mov	rdi, rax
	mov	eax, DWORD PTR BTC_NOT_SWITCH[rip]
	cmp	ebx, 128
	je	.L3
	cmp	ebx, 129
	jne	.L1
	mov	esi, DWORD PTR BTC_SWITCH_TO_24G[rip]
	test	ebp, ebp
	cmove	esi, DWORD PTR BTC_SWITCH_TO_24G_NOFORSCAN[rip]
.L5:
	cmp	esi, eax
	je	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	exhalbtc_switch_band_notify@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR BTC_SWITCH_TO_5G[rip]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	rtl_btc_switch_band_notify, .-rtl_btc_switch_band_notify
	.comm	BTC_SWITCH_TO_5G,4,4
	.comm	BTC_SWITCH_TO_24G_NOFORSCAN,4,4
	.comm	BTC_SWITCH_TO_24G,4,4
	.comm	BTC_NOT_SWITCH,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_rtl_btc.c_rtl_btc_switch_band_notify.c"
	.text
	.align	2
	.global	rtl_btc_switch_band_notify
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl_btc_switch_band_notify, %function
rtl_btc_switch_band_notify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r2
	bl	rtl_btc_coexist
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L12
	cmp	r4, #128
	ldr	r3, [r3]
	beq	.L3
	cmp	r4, #129
	popne	{r4, r5, r6, pc}
	cmp	r5, #0
	ldrne	r2, .L12+4
	ldreq	r2, .L12+8
	ldr	r1, [r2]
	cmp	r1, r3
	popeq	{r4, r5, r6, pc}
.L11:
	pop	{r4, r5, r6, lr}
	b	exhalbtc_switch_band_notify
.L3:
	ldr	r2, .L12+12
	ldr	r1, [r2]
	cmp	r1, r3
	bne	.L11
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	BTC_NOT_SWITCH
	.word	BTC_SWITCH_TO_24G
	.word	BTC_SWITCH_TO_24G_NOFORSCAN
	.word	BTC_SWITCH_TO_5G
	.size	rtl_btc_switch_band_notify, .-rtl_btc_switch_band_notify
	.comm	BTC_SWITCH_TO_5G,4,4
	.comm	BTC_SWITCH_TO_24G_NOFORSCAN,4,4
	.comm	BTC_SWITCH_TO_24G,4,4
	.comm	BTC_NOT_SWITCH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
