	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92c_dm_bt_coexist           ## -- Begin function rtl92c_dm_bt_coexist
	.p2align	4, 0x90
_rtl92c_dm_bt_coexist:                  ## @rtl92c_dm_bt_coexist
	.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
	movq	%rdi, %rbx
	callq	_rtl_priv
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.1:
	movq	(%rax), %rax
	movq	_BT_CSR_BC4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_rtl92c_bt_wifi_connect_change
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_rtl92c_bt_state_change
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_rtl92c_bt_rssi_state_change
	testl	%r15d, %r15d
	jne	LBB0_6
## %bb.3:
	testl	%r14d, %r14d
	jne	LBB0_6
## %bb.4:
	testl	%eax, %eax
	jne	LBB0_6
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl92c_check_bt_change         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BT_CSR_BC4,8,3                 ## @BT_CSR_BC4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92c_dm_bt_coexist           ; -- Begin function rtl92c_dm_bt_coexist
	.p2align	2
_rtl92c_dm_bt_coexist:                  ; @rtl92c_dm_bt_coexist
	.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	x19, x0
	bl	_rtl_priv
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BT_CSR_BC4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BT_CSR_BC4@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_rtl92c_bt_wifi_connect_change
	mov	x21, x0
	mov	x0, x19
	bl	_rtl92c_bt_state_change
	mov	x20, x0
	mov	x0, x19
	bl	_rtl92c_bt_rssi_state_change
	cbnz	w21, LBB0_6
; %bb.3:
	cbnz	w20, LBB0_6
; %bb.4:
	cbnz	w0, LBB0_6
LBB0_5:
	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_6:
	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_check_bt_change
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BT_CSR_BC4,8,3                 ; @BT_CSR_BC4
.subsections_via_symbols
