	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl92c_bt_ant_isolation
_rtl92c_bt_ant_isolation:               ## @rtl92c_bt_ant_isolation
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	16(%rax), %rax
	movq	56(%rbx), %rsi
	movq	_PEER_CISCO@GOTPCREL(%rip), %rdi
	movq	_BT_OTHER_ACTION@GOTPCREL(%rip), %rcx
	movl	$160, %edx
	cmpq	(%rdi), %rsi
	jne	LBB0_2
## %bb.1:
	cmpq	(%rcx), %rax
	je	LBB0_8
LBB0_2:
	movq	_BT_BUSY@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_4
## %bb.3:
	movq	_BT_RSSI_STATE_NORMAL_POWER@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, 24(%rbx)
	jne	LBB0_8
LBB0_4:
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	64(%rbx), %rax
	movq	_WIRELESS_MODE_N_24G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_7
## %bb.6:
	movq	_BT_RSSI_STATE_SPECIAL_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%rbx)
	jne	LBB0_8
LBB0_7:
	movl	%r15d, %edx
LBB0_8:
	movq	_REG_GPIO_MUXCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtl_write_byte
	movq	16(%rbx), %rax
	movq	_BT_PAN@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpq	(%rcx), %rax
	movl	$65792, %edx                    ## imm = 0x10100
	cmovnel	%esi, %edx
	movq	_REG_GPIO_PIN_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtl_write_dword
	movq	_BT_RSSI_STATE_NORMAL_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%rbx)
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_rtl92c_bt_set_normal
	jmp	LBB0_11
LBB0_10:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
LBB0_11:
	movq	_BT_IDLE@GOTPCREL(%rip), %r15
	movq	16(%rbx), %rcx
	movq	48(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	$15, %r8d
	cmpq	(%r15), %rcx
	jne	LBB0_13
## %bb.12:
	movl	28(%rbx), %r8d
LBB0_13:
	movq	%r14, %rdi
	movl	$30, %edx
	movl	$240, %ecx
	callq	*%rax
	cmpl	$0, 8(%rbx)
	je	LBB0_14
## %bb.20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	16(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_16
## %bb.15:
	movq	_TXHIGHPWRLEVEL_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_16:
	movq	_BT_RSSI_STATE_TXPOWER_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%rbx)
	jne	LBB0_17
## %bb.18:
	movq	_TXHIGHPWRLEVEL_BT1@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	movq	_TXHIGHPWRLEVEL_BT2@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	(%rbx), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl92c_phy_set_txpower_level   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PEER_CISCO,8,3                 ## @PEER_CISCO
	.comm	_BT_OTHER_ACTION,8,3            ## @BT_OTHER_ACTION
	.comm	_REG_GPIO_MUXCFG,4,2            ## @REG_GPIO_MUXCFG
	.comm	_BT_BUSY,8,3                    ## @BT_BUSY
	.comm	_BT_RSSI_STATE_NORMAL_POWER,4,2 ## @BT_RSSI_STATE_NORMAL_POWER
	.comm	_WIRELESS_MODE_N_24G,8,3        ## @WIRELESS_MODE_N_24G
	.comm	_BT_RSSI_STATE_SPECIAL_LOW,4,2  ## @BT_RSSI_STATE_SPECIAL_LOW
	.comm	_BT_PAN,8,3                     ## @BT_PAN
	.comm	_REG_GPIO_PIN_CTRL,4,2          ## @REG_GPIO_PIN_CTRL
	.comm	_BT_IDLE,8,3                    ## @BT_IDLE
	.comm	_RF90_PATH_A,4,2                ## @RF90_PATH_A
	.comm	_BT_RSSI_STATE_TXPOWER_LOW,4,2  ## @BT_RSSI_STATE_TXPOWER_LOW
	.comm	_TXHIGHPWRLEVEL_BT2,4,2         ## @TXHIGHPWRLEVEL_BT2
	.comm	_TXHIGHPWRLEVEL_BT1,4,2         ## @TXHIGHPWRLEVEL_BT1
	.comm	_TXHIGHPWRLEVEL_NORMAL,4,2      ## @TXHIGHPWRLEVEL_NORMAL
	.no_dead_strip	_rtl92c_bt_ant_isolation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl92c_bt_ant_isolation
_rtl92c_bt_ant_isolation:               ; @rtl92c_bt_ant_isolation
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	ldr	x10, [x0, #56]
Lloh0:
	adrp	x8, _PEER_CISCO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PEER_CISCO@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x8]
Lloh3:
	adrp	x9, _BT_OTHER_ACTION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BT_OTHER_ACTION@GOTPAGEOFF]
	ldr	x8, [x0, #16]
	ldr	x12, [x9]
	cmp	x10, x11
	ccmp	x8, x12, #0, eq
Lloh5:
	adrp	x22, _BT_RSSI_STATE_NORMAL_POWER@GOTPAGE
Lloh6:
	ldr	x22, [x22, _BT_RSSI_STATE_NORMAL_POWER@GOTPAGEOFF]
	b.eq	LBB0_6
; %bb.1:
Lloh7:
	adrp	x10, _BT_BUSY@GOTPAGE
Lloh8:
	ldr	x10, [x10, _BT_BUSY@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	w10, [x20, #24]
	ldr	w11, [x22]
	tst	w11, w10
	b.ne	LBB0_6
LBB0_3:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	ldr	x8, [x20, #64]
Lloh10:
	adrp	x9, _WIRELESS_MODE_N_24G@GOTPAGE
Lloh11:
	ldr	x9, [x9, _WIRELESS_MODE_N_24G@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.5:
	ldr	w8, [x20, #24]
Lloh13:
	adrp	x9, _BT_RSSI_STATE_SPECIAL_LOW@GOTPAGE
Lloh14:
	ldr	x9, [x9, _BT_RSSI_STATE_SPECIAL_LOW@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_6:
	mov	w21, #160
LBB0_7:
Lloh16:
	adrp	x8, _REG_GPIO_MUXCFG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REG_GPIO_MUXCFG@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_rtl_write_byte
	ldr	x8, [x20, #16]
Lloh19:
	adrp	x9, _BT_PAN@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BT_PAN@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #256
	movk	w8, #1, lsl #16
	csel	w2, w8, wzr, eq
Lloh22:
	adrp	x8, _REG_GPIO_PIN_CTRL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _REG_GPIO_PIN_CTRL@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rtl_write_dword
	ldr	w8, [x20, #24]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_rtl92c_bt_set_normal
	b	LBB0_10
LBB0_9:
	stp	xzr, xzr, [x20, #32]
LBB0_10:
	ldr	x9, [x20, #16]
Lloh25:
	adrp	x21, _BT_IDLE@GOTPAGE
Lloh26:
	ldr	x21, [x21, _BT_IDLE@GOTPAGEOFF]
	ldr	x10, [x21]
	ldr	x8, [x20, #48]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh27:
	adrp	x11, _RF90_PATH_A@GOTPAGE
Lloh28:
	ldr	x11, [x11, _RF90_PATH_A@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x11]
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.11:
	ldr	w4, [x20, #28]
	b	LBB0_13
LBB0_12:
	mov	w4, #15
LBB0_13:
	mov	x0, x19
	mov	w2, #30
	mov	w3, #240
	blr	x8
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldr	x8, [x20, #16]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.16:
Lloh30:
	adrp	x8, _TXHIGHPWRLEVEL_NORMAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TXHIGHPWRLEVEL_NORMAL@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
	ldr	w8, [x20, #24]
Lloh32:
	adrp	x9, _BT_RSSI_STATE_TXPOWER_LOW@GOTPAGE
Lloh33:
	ldr	x9, [x9, _BT_RSSI_STATE_TXPOWER_LOW@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
Lloh35:
	adrp	x10, _TXHIGHPWRLEVEL_BT2@GOTPAGE
Lloh36:
	ldr	x10, [x10, _TXHIGHPWRLEVEL_BT2@GOTPAGEOFF]
Lloh37:
	adrp	x11, _TXHIGHPWRLEVEL_BT1@GOTPAGE
Lloh38:
	ldr	x11, [x11, _TXHIGHPWRLEVEL_BT1@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
LBB0_18:
	ldr	w8, [x8]
	str	w8, [x20, #4]
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtl92c_phy_set_txpower_level
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_PEER_CISCO,8,3                 ; @PEER_CISCO
	.comm	_BT_OTHER_ACTION,8,3            ; @BT_OTHER_ACTION
	.comm	_REG_GPIO_MUXCFG,4,2            ; @REG_GPIO_MUXCFG
	.comm	_BT_BUSY,8,3                    ; @BT_BUSY
	.comm	_BT_RSSI_STATE_NORMAL_POWER,4,2 ; @BT_RSSI_STATE_NORMAL_POWER
	.comm	_WIRELESS_MODE_N_24G,8,3        ; @WIRELESS_MODE_N_24G
	.comm	_BT_RSSI_STATE_SPECIAL_LOW,4,2  ; @BT_RSSI_STATE_SPECIAL_LOW
	.comm	_BT_PAN,8,3                     ; @BT_PAN
	.comm	_REG_GPIO_PIN_CTRL,4,2          ; @REG_GPIO_PIN_CTRL
	.comm	_BT_IDLE,8,3                    ; @BT_IDLE
	.comm	_RF90_PATH_A,4,2                ; @RF90_PATH_A
	.comm	_BT_RSSI_STATE_TXPOWER_LOW,4,2  ; @BT_RSSI_STATE_TXPOWER_LOW
	.comm	_TXHIGHPWRLEVEL_BT2,4,2         ; @TXHIGHPWRLEVEL_BT2
	.comm	_TXHIGHPWRLEVEL_BT1,4,2         ; @TXHIGHPWRLEVEL_BT1
	.comm	_TXHIGHPWRLEVEL_NORMAL,4,2      ; @TXHIGHPWRLEVEL_NORMAL
	.no_dead_strip	_rtl92c_bt_ant_isolation
.subsections_via_symbols
