	.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_hid
_rtw_coex_action_bt_a2dp_hid:           ## @rtw_coex_action_bt_a2dp_hid
	.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, %r15
	movq	(%rdi), %r12
	movq	24(%rdi), %rax
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.1:
	testq	%rax, %rax
	movl	$9, %eax
	movl	$26, %r14d
	cmovel	%eax, %r14d
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	cmpq	$0, 32(%r15)
	sete	%bl
	je	LBB0_3
## %bb.2:
	movq	_TDMA_4SLOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	addl	$13, %ebx
	jmp	LBB0_5
LBB0_4:
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	leal	113(,%rcx,8), %r14d
	movq	16(%r15), %rax
	movl	4(%rax), %edi
	callq	_COEX_RSSI_HIGH
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
	orl	$112, %ebx
	xorl	%eax, %eax
LBB0_5:
	orl	%eax, %ebx
	movq	_COEX_SET_ANT_2G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_rtw_coex_set_ant_path
	movq	(%r12), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rtw_coex_set_rf_para
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_rtw_coex_table
	movq	%r15, %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_hid
.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_hid
_rtw_coex_action_bt_a2dp_hid:           ; @rtw_coex_action_bt_a2dp_hid
	.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, x9, [x0]
	ldr	x8, [x0, #24]
	cmp	x8, #0
	cbz	x9, LBB0_2
; %bb.1:
	mov	w8, #26
	mov	w9, #9
	csel	w20, w9, w8, eq
Lloh0:
	adrp	x8, _TDMA_4SLOT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TDMA_4SLOT@GOTPAGEOFF]
	ldr	x9, [x19, #32]
Lloh2:
	ldr	w8, [x8]
	cmp	x9, #0
	mov	w9, #13
	cinc	w22, w9, eq
	csel	w23, wzr, w8, eq
	b	LBB0_3
LBB0_2:
	mov	w8, #121
	mov	w9, #113
	csel	w20, w9, w8, eq
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #4]
	bl	_COEX_RSSI_HIGH
	mov	w23, #0
	cmp	x0, #0
	mov	w8, #112
	cinc	w22, w8, eq
LBB0_3:
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, w23, w22
	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_hid
.subsections_via_symbols
