	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8723b2ant_monitor_bt_ctr
_btc8723b2ant_monitor_bt_ctr:           ## @btc8723b2ant_monitor_bt_ctr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1904, %esi                     ## imm = 0x770
	callq	*(%rdi)
	movl	%eax, %r15d
	movq	_MASKLWORD@GOTPCREL(%rip), %r14
	movl	(%r14), %r12d
	andl	%eax, %r12d
	movq	_MASKHWORD@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	sarl	$16, %r15d
	movq	%rbx, %rdi
	movl	$1908, %esi                     ## imm = 0x774
	movq	%rbx, %r13
	callq	*(%rbx)
	movq	%r12, %r9
	movl	(%r14), %r12d
	andl	%eax, %r12d
	movq	_MASKHWORD@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, %r14d
	sarl	$16, %r14d
	movq	_coex_sta@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r9d, (%rcx)
	movl	%r15d, 4(%rcx)
	movl	%r12d, 8(%rcx)
	movl	%r14d, 12(%rcx)
	cmpl	$1051, %r12d                    ## imm = 0x41B
	jl	LBB0_3
## %bb.1:
	cmpl	$0, 24(%rcx)
	je	LBB0_2
LBB0_3:
	cmpl	$62259200, %eax                 ## imm = 0x3B60000
	jl	LBB0_7
LBB0_4:
	cmpl	%r12d, %r14d
	jl	LBB0_7
## %bb.5:
	cmpl	$0, 16(%rcx)
	je	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_2:
	incl	20(%rcx)
	cmpl	$62259200, %eax                 ## imm = 0x3B60000
	jge	LBB0_4
	jmp	LBB0_7
LBB0_6:
	movl	$1, %eax
LBB0_8:
	movq	%r13, %rbx
	movl	%eax, 16(%r13)
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rcx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$1904, %r8d                     ## imm = 0x770
	pushq	%r15
	pushq	%r15
	pushq	%r9
	callq	_RT_TRACE
	addq	$32, %rsp
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	movl	$1908, %r8d                     ## imm = 0x774
	movl	%r12d, %r9d
	pushq	%r14
	pushq	%r14
	pushq	%r12
	callq	_RT_TRACE
	addq	$32, %rsp
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	movl	$1902, %esi                     ## imm = 0x76E
	movl	$12, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MASKLWORD,4,2                  ## @MASKLWORD
	.comm	_MASKHWORD,4,2                  ## @MASKHWORD
	.comm	_coex_sta,8,3                   ## @coex_sta
	.comm	_COMP_BT_COEXIST,4,2            ## @COMP_BT_COEXIST
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[BTCoex], High Priority Tx/Rx(reg 0x%x)=0x%x(%d)/0x%x(%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"[BTCoex], Low Priority Tx/Rx(reg 0x%x)=0x%x(%d)/0x%x(%d)\n"

	.no_dead_strip	_btc8723b2ant_monitor_bt_ctr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc8723b2ant_monitor_bt_ctr
_btc8723b2ant_monitor_bt_ctr:           ; @btc8723b2ant_monitor_bt_ctr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	x8, [x0]
	mov	w1, #1904
	blr	x8
Lloh0:
	adrp	x21, _MASKLWORD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MASKLWORD@GOTPAGEOFF]
	ldr	w8, [x21]
	and	w23, w8, w0
Lloh2:
	adrp	x22, _MASKHWORD@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MASKHWORD@GOTPAGEOFF]
	ldr	w8, [x22]
	and	w8, w8, w0
	asr	w24, w8, #16
	ldr	x8, [x19]
	mov	x0, x19
	mov	w1, #1908
	blr	x8
	ldr	w8, [x21]
	and	w21, w8, w0
	ldr	w8, [x22]
	and	w9, w8, w0
	asr	w22, w9, #16
Lloh4:
	adrp	x8, _coex_sta@GOTPAGE
Lloh5:
	ldr	x8, [x8, _coex_sta@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	stp	w23, w24, [x8]
	stp	w21, w22, [x8, #8]
	cmp	w21, #1051
	b.lt	LBB0_3
; %bb.1:
	ldr	w10, [x8, #24]
	cbnz	w10, LBB0_3
; %bb.2:
	ldr	w10, [x8, #20]
	add	w10, w10, #1
	str	w10, [x8, #20]
LBB0_3:
	mov	w10, #62259200
	cmp	w9, w10
	ccmp	w22, w21, #8, ge
	b.lt	LBB0_5
; %bb.4:
	ldr	w8, [x8, #16]
	cbz	w8, LBB0_6
LBB0_5:
	mov	w8, #0
	b	LBB0_7
LBB0_6:
	mov	w8, #1
LBB0_7:
	str	w8, [x19, #16]
Lloh7:
	adrp	x25, _COMP_BT_COEXIST@GOTPAGE
Lloh8:
	ldr	x25, [x25, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh9:
	adrp	x26, _DBG_LOUD@GOTPAGE
Lloh10:
	ldr	x26, [x26, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x26]
	str	w24, [sp]
Lloh11:
	adrp	x3, l_.str@PAGE
Lloh12:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	w4, #1904
	mov	x5, x23
	mov	x6, x23
	mov	x7, x24
	bl	_RT_TRACE
	ldr	w1, [x25]
	ldr	w2, [x26]
	str	w22, [sp]
Lloh13:
	adrp	x3, l_.str.1@PAGE
Lloh14:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w4, #1908
	mov	x5, x21
	mov	x6, x21
	mov	x7, x22
	bl	_RT_TRACE
	ldr	x3, [x19, #8]
	mov	x0, x19
	mov	w1, #1902
	mov	w2, #12
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	br	x3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MASKLWORD,4,2                  ; @MASKLWORD
	.comm	_MASKHWORD,4,2                  ; @MASKHWORD
	.comm	_coex_sta,8,3                   ; @coex_sta
	.comm	_COMP_BT_COEXIST,4,2            ; @COMP_BT_COEXIST
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[BTCoex], High Priority Tx/Rx(reg 0x%x)=0x%x(%d)/0x%x(%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"[BTCoex], Low Priority Tx/Rx(reg 0x%x)=0x%x(%d)/0x%x(%d)\n"

	.no_dead_strip	_btc8723b2ant_monitor_bt_ctr
.subsections_via_symbols
