	.file	"extr_hal_btc.c_rtl8723e_dm_bt_set_fw_2_ant_hid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ON"
.LC1:
	.string	"OFF"
.LC2:
	.string	"ON!!"
.LC3:
	.string	"OFF!!"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"[BTCoex], turn 2-Ant+HID mode %s, DACSwing:%s, write 0x15=0x%x\n"
	.text
	.p2align 4
	.type	rtl8723e_dm_bt_set_fw_2_ant_hid, @function
rtl8723e_dm_bt_set_fw_2_ant_hid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	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	ebx, esi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	rtl_priv@PLT
	mov	DWORD PTR 4[rsp], 0
	mov	r12, rax
	test	ebx, ebx
	jne	.L14
	mov	eax, DWORD PTR 4[rsp]
	lea	r9, .LC1[rip]
	test	r13d, r13d
	jne	.L15
.L5:
	test	ebx, ebx
	lea	rdx, .LC3[rip]
	mov	rdi, r12
	mov	esi, DWORD PTR COMP_BT_COEXIST[rip]
	lea	r8, .LC2[rip]
	lea	rcx, .LC4[rip]
	cmove	r8, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	edx, DWORD PTR DBG_TRACE[rip]
	push	rax
	.cfi_def_cfa_offset 80
	call	RT_TRACE@PLT
	lea	rcx, 20[rsp]
	mov	edx, 1
	mov	rdi, rbp
	mov	esi, 21
	call	rtl8723e_fill_h2c_cmd@PLT
	pop	rax
	.cfi_def_cfa_offset 72
	pop	rdx
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 24
	.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
.L14:
	.cfi_restore_state
	xor	edi, edi
	call	BIT@PLT
	lea	r9, .LC1[rip]
	or	DWORD PTR 4[rsp], eax
	mov	DWORD PTR [r12], 0
	mov	eax, DWORD PTR 4[rsp]
	test	r13d, r13d
	je	.L5
.L15:
	mov	edi, 1
	call	BIT@PLT
	or	eax, DWORD PTR 4[rsp]
	lea	r9, .LC0[rip]
	mov	DWORD PTR 4[rsp], eax
	jmp	.L5
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rtl8723e_dm_bt_set_fw_2_ant_hid, .-rtl8723e_dm_bt_set_fw_2_ant_hid
	.comm	DBG_TRACE,4,4
	.comm	COMP_BT_COEXIST,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_hal_btc.c_rtl8723e_dm_bt_set_fw_2_ant_hid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"OFF!!\000"
	.align	2
.LC1:
	.ascii	"ON\000"
	.align	2
.LC2:
	.ascii	"OFF\000"
	.align	2
.LC3:
	.ascii	"ON!!\000"
	.align	2
.LC4:
	.ascii	"[BTCoex], turn 2-Ant+HID mode %s, DACSwing:%s, writ"
	.ascii	"e 0x15=0x%x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl8723e_dm_bt_set_fw_2_ant_hid, %function
rtl8723e_dm_bt_set_fw_2_ant_hid:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L17
	mov	r5, r1
	sub	sp, sp, #28
	mov	r7, #0
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r6, r0
	bl	rtl_priv
	cmp	r5, r7
	str	r7, [sp, #16]
	mov	r5, r0
	bne	.L14
	cmp	r4, #0
	bne	.L6
	ldr	r2, .L17+4
	ldr	r3, .L17+8
	ldr	r1, [r2]
	ldr	r0, .L17+12
	ldr	r2, [r3]
	ldr	r3, .L17+16
.L5:
	stm	sp, {r0, r3, r4}
	ldr	r3, .L17+20
	mov	r0, r5
	bl	RT_TRACE
	mov	r2, #1
	add	r3, sp, #16
	mov	r0, r6
	mov	r1, #21
	bl	rtl8723e_fill_h2c_cmd
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	mov	r0, #1
	bl	BIT
	ldr	r4, [sp, #16]
	ldr	r3, .L17+8
	ldr	r1, .L17+4
	orr	r4, r0, r4
	ldr	r2, [r3]
	ldr	r1, [r1]
	ldr	r0, .L17+12
	ldr	r3, .L17+24
	str	r4, [sp, #16]
	b	.L5
.L14:
	mov	r0, r7
	bl	BIT
	ldr	r3, [sp, #16]
	cmp	r4, r7
	orr	r3, r3, r0
	str	r3, [sp, #16]
	str	r7, [r5]
	bne	.L16
	ldr	r2, .L17+4
	ldr	r3, .L17+8
	ldr	r1, [r2]
	ldr	r4, [sp, #16]
	ldr	r2, [r3]
	ldr	r0, .L17+28
	ldr	r3, .L17+16
	b	.L5
.L15:
	bl	__stack_chk_fail
.L16:
	mov	r0, #1
	bl	BIT
	ldr	r1, [sp, #16]
	ldr	r2, .L17+4
	ldr	r3, .L17+8
	orr	r4, r0, r1
	str	r4, [sp, #16]
	ldr	r1, [r2]
	ldr	r0, .L17+28
	ldr	r2, [r3]
	ldr	r3, .L17+24
	b	.L5
.L18:
	.align	2
.L17:
	.word	.LC5
	.word	COMP_BT_COEXIST
	.word	DBG_TRACE
	.word	.LC0
	.word	.LC2
	.word	.LC4
	.word	.LC1
	.word	.LC3
	.size	rtl8723e_dm_bt_set_fw_2_ant_hid, .-rtl8723e_dm_bt_set_fw_2_ant_hid
	.comm	DBG_TRACE,4,4
	.comm	COMP_BT_COEXIST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
