	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_coex_action_bt_a2dp
_rtw_coex_action_bt_a2dp:               ## @rtw_coex_action_bt_a2dp
	.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, %r14
	movq	(%rdi), %r12
	cmpq	$0, 8(%rdi)
	je	LBB0_6
## %bb.1:
	movq	32(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpq	$0, 24(%r14)
	je	LBB0_3
LBB0_4:
	movl	$9, %r15d
	jmp	LBB0_5
LBB0_6:
	movq	16(%r14), %rax
	movl	4(%rax), %edi
	callq	_COEX_RSSI_HIGH
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
	orl	$112, %ebx
	xorl	%ecx, %ecx
	movl	$112, %r15d
	jmp	LBB0_7
LBB0_3:
	movl	$10, %r15d
LBB0_5:
	movq	_TDMA_4SLOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	cmpq	$1, %rax
	adcl	$13, %ebx
LBB0_7:
	orl	%ecx, %ebx
	movq	_COEX_SET_ANT_2G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_rtw_coex_set_ant_path
	movq	(%r12), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rtw_coex_set_rf_para
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_rtw_coex_table
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw_coex_tdma                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TDMA_4SLOT,4,2                 ## @TDMA_4SLOT
	.comm	_COEX_SET_ANT_2G,4,2            ## @COEX_SET_ANT_2G
	.no_dead_strip	_rtw_coex_action_bt_a2dp
.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_a2dp
_rtw_coex_action_bt_a2dp:               ; @rtw_coex_action_bt_a2dp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldp	x21, x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_5
LBB0_3:
	mov	w20, #9
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #4]
	bl	_COEX_RSSI_HIGH
	mov	w22, #0
	cmp	x0, #0
	mov	w20, #112
	cinc	w23, w20, eq
	b	LBB0_7
LBB0_5:
	mov	w20, #10
LBB0_6:
Lloh0:
	adrp	x9, _TDMA_4SLOT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TDMA_4SLOT@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x9]
	cmp	x8, #0
	mov	w8, #13
	cinc	w23, w8, eq
LBB0_7:
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	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtw_coex_set_rf_para
	mov	x0, x19
	mov	x1, x20
	bl	_rtw_coex_table
	orr	w2, w22, w23
	mov	x0, x19
	mov	w1, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rtw_coex_tdma
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TDMA_4SLOT,4,2                 ; @TDMA_4SLOT
	.comm	_COEX_SET_ANT_2G,4,2            ; @COEX_SET_ANT_2G
	.no_dead_strip	_rtw_coex_action_bt_a2dp
.subsections_via_symbols
