	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_coex_monitor_bt_enable
_rtw_coex_monitor_bt_enable:            ## @rtw_coex_monitor_bt_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	48(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_rtw_coex_read_scbd
	movq	_COEX_SCBD_ONOFF@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	testl	%eax, (%rcx)
	sete	%r14b
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
LBB0_3:
	movl	24(%rbx), %ecx
	cmpl	%r14d, %ecx
	je	LBB0_5
## %bb.4:
	movq	_RTW_DBG_COEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %r8d
	callq	_rtw_dbg
	movl	%r14d, 24(%rbx)
	movq	$0, 40(%rbx)
	movq	$0, 16(%rbx)
LBB0_5:
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.6:
	movq	$0, 28(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	leaq	8(%rbx), %rsi
	movl	$1, 28(%rbx)
	movl	(%rbx), %edi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %eax
	leal	(%rax,%rax,2), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ieee80211_queue_delayed_work   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COEX_SCBD_ONOFF,4,2            ## @COEX_SCBD_ONOFF
	.comm	_RTW_DBG_COEX,4,2               ## @RTW_DBG_COEX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"coex: BT state changed (%d) -> (%d)\n"

	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_rtw_coex_monitor_bt_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_coex_monitor_bt_enable
_rtw_coex_monitor_bt_enable:            ; @rtw_coex_monitor_bt_enable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #48]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_rtw_coex_read_scbd
Lloh0:
	adrp	x8, _COEX_SCBD_ONOFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COEX_SCBD_ONOFF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w20, eq
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
	ldr	w3, [x19, #24]
	cmp	w3, w20
	b.eq	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _RTW_DBG_COEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTW_DBG_COEX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x4, x20
	bl	_rtw_dbg
	str	w20, [x19, #24]
	str	xzr, [x19, #40]
	str	xzr, [x19, #16]
LBB0_5:
	cbz	w20, LBB0_7
; %bb.6:
	stp	wzr, wzr, [x19, #28]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w8, #1
	str	w8, [x19, #28]
	ldr	w0, [x19]
	add	x1, x19, #8
Lloh8:
	adrp	x8, _HZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	w9, w8, #4
	sub	w2, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ieee80211_queue_delayed_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_COEX_SCBD_ONOFF,4,2            ; @COEX_SCBD_ONOFF
	.comm	_RTW_DBG_COEX,4,2               ; @RTW_DBG_COEX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"coex: BT state changed (%d) -> (%d)\n"

	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_rtw_coex_monitor_bt_enable
.subsections_via_symbols
