	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_coex_action_bt_inquiry
_rtw_coex_action_bt_inquiry:            ## @rtw_coex_action_bt_inquiry
	.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, 64(%rdi)
	jne	LBB0_5
## %bb.1:
	cmpq	$0, 32(%rbx)
	jne	LBB0_5
## %bb.2:
	cmpq	$0, 56(%rbx)
	je	LBB0_3
LBB0_5:
	cmpq	$0, 8(%rbx)
	movq	48(%rbx), %rax
	je	LBB0_11
## %bb.6:
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	cmpl	$0, 40(%rbx)
	je	LBB0_8
LBB0_9:
	movl	$6, %r15d
	movl	$15, %r14d
	movl	$1, %ecx
	cmpq	$0, 32(%rbx)
	jne	LBB0_17
## %bb.10:
	cmpl	$1, 16(%rbx)
	movl	$9, %r15d
	sbbl	$0, %r15d
	jmp	LBB0_17
LBB0_11:
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	cmpl	$0, 40(%rbx)
	je	LBB0_13
LBB0_14:
	movl	$106, %r15d
	movl	$113, %r14d
	movl	$1, %ecx
	cmpq	$0, 32(%rbx)
	jne	LBB0_17
## %bb.15:
	cmpl	$1, 16(%rbx)
	movl	$109, %r15d
	sbbl	$0, %r15d
	jmp	LBB0_17
LBB0_8:
	movl	$11, %r15d
	movl	$15, %r14d
	movl	$1, %ecx
	jmp	LBB0_17
LBB0_13:
	movl	$111, %r15d
	movl	$113, %r14d
	movl	$1, %ecx
	jmp	LBB0_17
LBB0_3:
	cmpq	$0, 8(%rbx)
	movq	24(%rbx), %rax
	je	LBB0_16
## %bb.4:
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	testq	%rax, %rax
	setne	%dl
	leal	1(%rdx,%rdx,8), %r14d
	movl	$10, %r15d
	cmovel	%ecx, %r15d
	jmp	LBB0_17
LBB0_16:
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
	movl	$100, %eax
	movl	$110, %r15d
	cmovel	%eax, %r15d
	xorl	$101, %r14d
	xorl	%ecx, %ecx
LBB0_17:
	movq	_RTW_DBG_COEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_rtw_dbg
	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	_RTW_DBG_COEX,4,2               ## @RTW_DBG_COEX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"coex: wifi hi(%d), bt page(%d)\n"

	.comm	_COEX_SET_ANT_2G,4,2            ## @COEX_SET_ANT_2G
	.no_dead_strip	_rtw_coex_action_bt_inquiry
.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_inquiry
_rtw_coex_action_bt_inquiry:            ; @rtw_coex_action_bt_inquiry
	.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, #64]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_19
LBB0_3:
	ldr	x9, [x19, #8]
	ldr	x8, [x19, #48]
	cbz	x9, LBB0_8
; %bb.4:
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_13
LBB0_6:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_12
; %bb.7:
	mov	w20, #6
	mov	w21, #15
	b	LBB0_17
LBB0_8:
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_15
LBB0_10:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_14
; %bb.11:
	mov	w20, #106
	b	LBB0_16
LBB0_12:
	ldr	w8, [x19, #16]
	cmp	w8, #0
	mov	w8, #8
	cinc	w20, w8, ne
	mov	w21, #15
	b	LBB0_17
LBB0_13:
	mov	w20, #11
	mov	w21, #15
	b	LBB0_17
LBB0_14:
	ldr	w8, [x19, #16]
	cmp	w8, #0
	mov	w8, #108
	cinc	w20, w8, ne
	b	LBB0_16
LBB0_15:
	mov	w20, #111
LBB0_16:
	mov	w21, #113
LBB0_17:
	mov	w3, #1
LBB0_18:
Lloh0:
	adrp	x8, _RTW_DBG_COEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTW_DBG_COEX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w4, [x19, #16]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_rtw_dbg
Lloh5:
	adrp	x8, _COEX_SET_ANT_2G@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COEX_SET_ANT_2G@GOTPAGEOFF]
Lloh7:
	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, x21
	bl	_rtw_coex_table
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	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
LBB0_19:
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #24]
	cmp	x9, #0
	mov	w10, #100
	cinc	w11, w10, ne
	mov	w12, #110
	csel	w10, w10, w12, eq
	cmp	x9, #0
	mov	w9, #10
	csinc	w12, w9, wzr, ne
	csel	w9, wzr, w9, eq
	cmp	x8, #0
	csel	w3, wzr, wzr, eq
	csel	w21, w11, w12, eq
	csel	w20, w10, w9, eq
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTW_DBG_COEX,4,2               ; @RTW_DBG_COEX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"coex: wifi hi(%d), bt page(%d)\n"

	.comm	_COEX_SET_ANT_2G,4,2            ; @COEX_SET_ANT_2G
	.no_dead_strip	_rtw_coex_action_bt_inquiry
.subsections_via_symbols
