	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8723e_dm_bt_set_fw_2_ant_hid
_rtl8723e_dm_bt_set_fw_2_ant_hid:       ## @rtl8723e_dm_bt_set_fw_2_ant_hid
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r15
	movl	$0, -36(%rbp)
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_BIT
	movl	%eax, -36(%rbp)
	movl	$0, (%r15)
LBB0_2:
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.4:
	movl	$1, %edi
	callq	_BIT
	orl	-36(%rbp), %eax
	movl	%eax, -36(%rbp)
	leaq	L_.str.3(%rip), %r9
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.4(%rip), %r9
	movl	-36(%rbp), %eax
LBB0_5:
	testl	%ebx, %ebx
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	cmoveq	%rcx, %r8
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	callq	_RT_TRACE
	leaq	-36(%rbp), %rcx
	movq	%r14, %rdi
	movl	$21, %esi
	movl	$1, %edx
	callq	_rtl8723e_fill_h2c_cmd
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_BT_COEXIST,4,2            ## @COMP_BT_COEXIST
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[BTCoex], turn 2-Ant+HID mode %s, DACSwing:%s, write 0x15=0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"ON!!"

L_.str.2:                               ## @.str.2
	.asciz	"OFF!!"

L_.str.3:                               ## @.str.3
	.asciz	"ON"

L_.str.4:                               ## @.str.4
	.asciz	"OFF"

	.no_dead_strip	_rtl8723e_dm_bt_set_fw_2_ant_hid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8723e_dm_bt_set_fw_2_ant_hid
_rtl8723e_dm_bt_set_fw_2_ant_hid:       ; @rtl8723e_dm_bt_set_fw_2_ant_hid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x21, x0
	str	wzr, [sp, #12]
	cbz	w20, LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_BIT
	str	w0, [sp, #12]
	str	wzr, [x21]
LBB0_2:
	cbz	w22, LBB0_4
; %bb.3:
	mov	w0, #1
	bl	_BIT
	ldr	w8, [sp, #12]
	orr	w6, w8, w0
	str	w6, [sp, #12]
Lloh0:
	adrp	x5, l_.str.3@PAGE
Lloh1:
	add	x5, x5, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x5, l_.str.4@PAGE
Lloh3:
	add	x5, x5, l_.str.4@PAGEOFF
	ldr	w6, [sp, #12]
LBB0_5:
Lloh4:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh5:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, l_.str.1@PAGE
Lloh11:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh12:
	adrp	x9, l_.str.2@PAGE
Lloh13:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w20, #0
	csel	x4, x9, x8, eq
Lloh14:
	adrp	x3, l_.str@PAGE
Lloh15:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	bl	_RT_TRACE
	add	x3, sp, #12
	mov	x0, x19
	mov	w1, #21
	mov	w2, #1
	bl	_rtl8723e_fill_h2c_cmd
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_BT_COEXIST,4,2            ; @COMP_BT_COEXIST
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[BTCoex], turn 2-Ant+HID mode %s, DACSwing:%s, write 0x15=0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"ON!!"

l_.str.2:                               ; @.str.2
	.asciz	"OFF!!"

l_.str.3:                               ; @.str.3
	.asciz	"ON"

l_.str.4:                               ; @.str.4
	.asciz	"OFF"

	.no_dead_strip	_rtl8723e_dm_bt_set_fw_2_ant_hid
.subsections_via_symbols
