	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_coex_action_bt_idle
_rtw_coex_action_bt_idle:               ## @rtw_coex_action_bt_idle
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	cmpq	$0, 16(%rdi)
	je	LBB0_6
## %bb.1:
	movq	24(%rbx), %rax
	movq	_COEX_BTSTATUS_NCON_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	movl	$100, %r14d
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.3:
	movq	32(%rbx), %rax
	movl	4(%rax), %edi
	callq	_COEX_RSSI_HIGH
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	movq	_COEX_SET_ANT_2G_FREERUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rtw_coex_set_ant_path
	movl	%r14d, %r15d
	jmp	LBB0_17
LBB0_4:
	cmpq	$0, 8(%rbx)
	movl	$100, %r14d
	je	LBB0_5
LBB0_6:
	movq	_COEX_SET_ANT_2G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rtw_coex_set_ant_path
	cmpq	$0, 8(%rbx)
	movl	44(%rbx), %eax
	je	LBB0_10
## %bb.7:
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	24(%rbx), %rax
	movq	_COEX_BTSTATUS_NCON_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$6, %eax
	movl	$12, %r14d
	cmovel	%eax, %r14d
	movl	$7, %r15d
	jmp	LBB0_16
LBB0_10:
	movl	$112, %r14d
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	testb	$2, 40(%rbx)
	je	LBB0_15
## %bb.13:
	movq	24(%rbx), %rax
	movq	_COEX_BTSTATUS_NCON_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	movl	$103, %r15d
	movl	$114, %r14d
	jmp	LBB0_16
LBB0_8:
	movl	$3, %r15d
	movl	$10, %r14d
	jmp	LBB0_16
LBB0_15:
	movl	$103, %r15d
	jmp	LBB0_16
LBB0_11:
	movl	$104, %r15d
LBB0_16:
	movq	(%r12), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtw_coex_set_rf_para
LBB0_17:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_rtw_coex_table
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw_coex_tdma                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COEX_BTSTATUS_NCON_IDLE,8,3    ## @COEX_BTSTATUS_NCON_IDLE
	.comm	_COEX_SET_ANT_2G_FREERUN,4,2    ## @COEX_SET_ANT_2G_FREERUN
	.comm	_COEX_SET_ANT_2G,4,2            ## @COEX_SET_ANT_2G
	.no_dead_strip	_rtw_coex_action_bt_idle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_coex_action_bt_idle
_rtw_coex_action_bt_idle:               ; @rtw_coex_action_bt_idle
	.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
	ldr	x22, [x0]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _COEX_BTSTATUS_NCON_IDLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _COEX_BTSTATUS_NCON_IDLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
; %bb.3:
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #4]
	bl	_COEX_RSSI_HIGH
	cbz	x0, LBB0_5
; %bb.4:
	mov	w20, #0
	b	LBB0_15
LBB0_5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
LBB0_6:
Lloh3:
	adrp	x8, _COEX_SET_ANT_2G@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COEX_SET_ANT_2G@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_rtw_coex_set_ant_path
	ldr	x9, [x19, #8]
	ldr	w8, [x19, #44]
	cbz	x9, LBB0_9
; %bb.7:
	cbz	w8, LBB0_13
; %bb.8:
	ldr	x8, [x19, #24]
Lloh6:
	adrp	x9, _COEX_BTSTATUS_NCON_IDLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _COEX_BTSTATUS_NCON_IDLE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #12
	mov	w9, #6
	csel	w20, w9, w8, eq
	mov	w21, #7
	b	LBB0_19
LBB0_9:
	cbz	w8, LBB0_17
; %bb.10:
	ldrb	w8, [x19, #40]
	tbz	w8, #1, LBB0_16
; %bb.11:
	ldr	x8, [x19, #24]
Lloh9:
	adrp	x9, _COEX_BTSTATUS_NCON_IDLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _COEX_BTSTATUS_NCON_IDLE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.12:
	mov	w21, #103
	mov	w20, #114
	b	LBB0_19
LBB0_13:
	mov	w21, #3
	mov	w20, #10
	b	LBB0_19
LBB0_14:
	mov	w20, #100
LBB0_15:
Lloh12:
	adrp	x8, _COEX_SET_ANT_2G_FREERUN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COEX_SET_ANT_2G_FREERUN@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_rtw_coex_set_ant_path
	mov	x21, x20
	b	LBB0_20
LBB0_16:
	mov	w21, #103
	b	LBB0_18
LBB0_17:
	mov	w21, #104
LBB0_18:
	mov	w20, #112
LBB0_19:
	ldr	x8, [x22]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtw_coex_set_rf_para
LBB0_20:
	mov	x0, x19
	mov	x1, x20
	bl	_rtw_coex_table
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	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	_rtw_coex_tdma
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_COEX_BTSTATUS_NCON_IDLE,8,3    ; @COEX_BTSTATUS_NCON_IDLE
	.comm	_COEX_SET_ANT_2G_FREERUN,4,2    ; @COEX_SET_ANT_2G_FREERUN
	.comm	_COEX_SET_ANT_2G,4,2            ; @COEX_SET_ANT_2G
	.no_dead_strip	_rtw_coex_action_bt_idle
.subsections_via_symbols
