	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_coex_action_bt_hid
_rtw_coex_action_bt_hid:                ## @rtw_coex_action_bt_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, %rbx
	movq	8(%rdi), %r12
	cmpq	$0, 16(%rdi)
	je	LBB0_8
## %bb.1:
	movq	(%rbx), %rax
	cmpq	$0, 32(%rbx)
	je	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	xorl	%r14d, %r14d
	cmpq	$0, 24(%rbx)
	setne	%cl
	sete	%r14b
	xorl	$15, %r14d
	testq	%rax, %rax
	leal	4(,%rcx,4), %r15d
	movl	$18, %eax
	cmovel	%eax, %r15d
	cmpq	$0, 40(%rbx)
	cmovnel	%eax, %r15d
	jmp	LBB0_12
LBB0_8:
	movl	$113, %r14d
	movl	$118, %r15d
	cmpq	$0, 40(%rbx)
	jne	LBB0_12
## %bb.9:
	cmpq	$0, 32(%rbx)
	je	LBB0_10
## %bb.11:
	xorl	%eax, %eax
	cmpq	$0, 24(%rbx)
	setne	%al
	leal	(%rax,%rax), %r15d
	addl	$104, %r15d
	jmp	LBB0_12
LBB0_3:
	cmpq	$0, 40(%rbx)
	movl	$8, %r14d
	movl	$4, %r15d
	jne	LBB0_12
## %bb.4:
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	cmpq	$0, 48(%rbx)
	je	LBB0_7
## %bb.6:
	movl	$12, %r14d
	cmpq	$0, 24(%rbx)
	jne	LBB0_12
LBB0_7:
	movl	$10, %r14d
	jmp	LBB0_12
LBB0_10:
	movl	$104, %r15d
LBB0_12:
	movq	_COEX_SET_ANT_2G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rtw_coex_set_ant_path
	movq	(%r12), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtw_coex_set_rf_para
	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_SET_ANT_2G,4,2            ## @COEX_SET_ANT_2G
	.no_dead_strip	_rtw_coex_action_bt_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_hid
_rtw_coex_action_bt_hid:                ; @rtw_coex_action_bt_hid
	.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
	ldp	x22, x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x19, #32]
	cbz	x9, LBB0_5
; %bb.2:
	ldr	x9, [x19, #24]
	cmp	x9, #0
	mov	w9, #14
	cinc	w20, w9, ne
	ldr	x9, [x19, #40]
	mov	w10, #8
	mov	w11, #4
	csel	w10, w11, w10, eq
	cmp	x8, #0
	ccmp	x9, #0, #0, ne
	mov	w8, #18
	csel	w21, w8, w10, ne
	b	LBB0_15
LBB0_3:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_7
; %bb.4:
	mov	w20, #113
	mov	w21, #118
	b	LBB0_15
LBB0_5:
	ldr	x9, [x19, #40]
	cmp	x9, #0
	ccmp	x8, #0, #4, eq
	b.ne	LBB0_10
; %bb.6:
	mov	w20, #8
	b	LBB0_14
LBB0_7:
	ldr	x8, [x19, #32]
	mov	w21, #104
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x19, #24]
	cmp	x8, #0
	mov	w8, #106
	csel	w21, w21, w8, eq
LBB0_9:
	mov	w20, #113
	b	LBB0_15
LBB0_10:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_13
; %bb.12:
	mov	w20, #12
	b	LBB0_14
LBB0_13:
	mov	w20, #10
LBB0_14:
	mov	w21, #4
LBB0_15:
Lloh0:
	adrp	x8, _COEX_SET_ANT_2G@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COEX_SET_ANT_2G@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_rtw_coex_set_ant_path
	ldr	x8, [x22]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtw_coex_set_rf_para
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_COEX_SET_ANT_2G,4,2            ; @COEX_SET_ANT_2G
	.no_dead_strip	_rtw_coex_action_bt_hid
.subsections_via_symbols
