	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8723e_dm_bt_set_hw_pta_mode
_rtl8723e_dm_bt_set_hw_pta_mode:        ## @rtl8723e_dm_bt_set_hw_pta_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	_BT_PTA_MODE_ON@GOTPCREL(%rip), %rax
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%r14d, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_RT_TRACE
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$32, %edx
	callq	_rtl_write_byte
	movl	$0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	callq	_RT_TRACE
	movq	%rbx, %rdi
	movl	$64, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rtl_write_byte                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BT_PTA_MODE_ON,4,2             ## @BT_PTA_MODE_ON
	.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	"PTA mode on\n"

L_.str.1:                               ## @.str.1
	.asciz	"PTA mode off\n"

	.no_dead_strip	_rtl8723e_dm_bt_set_hw_pta_mode
.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_hw_pta_mode
_rtl8723e_dm_bt_set_hw_pta_mode:        ; @rtl8723e_dm_bt_set_hw_pta_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_rtl_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _BT_PTA_MODE_ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BT_PTA_MODE_ON@GOTPAGEOFF]
Lloh2:
	adrp	x9, _COMP_BT_COEXIST@GOTPAGE
Lloh3:
	ldr	x9, [x9, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w1, [x9]
Lloh6:
	adrp	x9, _DBG_TRACE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DBG_TRACE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x9]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	mov	x0, x19
	mov	w1, #64
	mov	w2, #32
	bl	_rtl_write_byte
	str	wzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh11:
	adrp	x3, l_.str.1@PAGE
Lloh12:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	mov	x0, x19
	mov	w1, #64
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtl_write_byte
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_BT_PTA_MODE_ON,4,2             ; @BT_PTA_MODE_ON
	.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	"PTA mode on\n"

l_.str.1:                               ; @.str.1
	.asciz	"PTA mode off\n"

	.no_dead_strip	_rtl8723e_dm_bt_set_hw_pta_mode
.subsections_via_symbols
