	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8723b2ant_bt_rssi_state
_btc8723b2ant_bt_rssi_state:            ## @btc8723b2ant_bt_rssi_state
	.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), %rdi
	movq	_coex_sta@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %ebx
	movl	4(%rax), %r8d
	movslq	%ebx, %rax
	cmpl	$3, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$2, %esi
	jne	LBB0_25
## %bb.2:
	movq	_BTC_RSSI_STATE_LOW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_BTC_RSSI_STATE_STAY_LOW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	cmpq	%rax, %rsi
	je	LBB0_8
## %bb.3:
	cmpq	%rax, %rbx
	je	LBB0_8
## %bb.4:
	cmpl	%edx, %r8d
	jge	LBB0_16
LBB0_5:
	leaq	L_.str.2(%rip), %rcx
	movl	%esi, %ebx
	jmp	LBB0_24
LBB0_6:
	cmpl	%ecx, %edx
	jle	LBB0_10
## %bb.7:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	callq	_RT_TRACE
	movq	(%r14), %rax
	movl	(%rax), %ebx
	jmp	LBB0_26
LBB0_8:
	movq	_BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT@GOTPCREL(%rip), %rax
	addl	(%rax), %edx
	cmpl	%edx, %r8d
	jl	LBB0_9
LBB0_23:
	movq	_BTC_RSSI_STATE_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_24
LBB0_10:
	movq	_BTC_RSSI_STATE_LOW@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	_BTC_RSSI_STATE_STAY_LOW@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	cmpq	%rax, %rsi
	je	LBB0_17
## %bb.11:
	cmpq	%rax, %rbx
	je	LBB0_17
## %bb.12:
	movq	_BTC_RSSI_STATE_MEDIUM@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r9
	movq	_BTC_RSSI_STATE_STAY_MEDIUM@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	cmpq	%rax, %r9
	je	LBB0_20
## %bb.13:
	cmpq	%rax, %rbx
	je	LBB0_20
## %bb.14:
	cmpl	%ecx, %r8d
	jge	LBB0_16
## %bb.15:
	leaq	L_.str.5(%rip), %rcx
	movl	%r9d, %ebx
	jmp	LBB0_24
LBB0_16:
	movq	_BTC_RSSI_STATE_STAY_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_24
LBB0_17:
	movq	_BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT@GOTPCREL(%rip), %rax
	addl	(%rax), %edx
	cmpl	%edx, %r8d
	jge	LBB0_19
LBB0_9:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_24
LBB0_19:
	movq	_BTC_RSSI_STATE_MEDIUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rcx
	jmp	LBB0_24
LBB0_20:
	movq	_BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT@GOTPCREL(%rip), %rax
	addl	(%rax), %ecx
	cmpl	%ecx, %r8d
	jge	LBB0_23
## %bb.21:
	cmpl	%edx, %r8d
	jl	LBB0_5
## %bb.22:
	leaq	L_.str.6(%rip), %rcx
LBB0_24:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_RT_TRACE
LBB0_25:
	movq	(%r14), %rax
	movl	%ebx, (%rax)
LBB0_26:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_coex_sta,8,3                   ## @coex_sta
	.comm	_BTC_RSSI_STATE_LOW,8,3         ## @BTC_RSSI_STATE_LOW
	.comm	_BTC_RSSI_STATE_STAY_LOW,8,3    ## @BTC_RSSI_STATE_STAY_LOW
	.comm	_BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT,4,2 ## @BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT
	.comm	_BTC_RSSI_STATE_HIGH,4,2        ## @BTC_RSSI_STATE_HIGH
	.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], BT Rssi state switch to High\n"

L_.str.1:                               ## @.str.1
	.asciz	"[BTCoex], BT Rssi state stay at Low\n"

L_.str.2:                               ## @.str.2
	.asciz	"[BTCoex], BT Rssi state switch to Low\n"

	.comm	_BTC_RSSI_STATE_STAY_HIGH,4,2   ## @BTC_RSSI_STATE_STAY_HIGH
L_.str.3:                               ## @.str.3
	.asciz	"[BTCoex], BT Rssi state stay at High\n"

L_.str.4:                               ## @.str.4
	.asciz	"[BTCoex], BT Rssi thresh error!!\n"

	.comm	_BTC_RSSI_STATE_MEDIUM,8,3      ## @BTC_RSSI_STATE_MEDIUM
L_.str.5:                               ## @.str.5
	.asciz	"[BTCoex], BT Rssi state switch to Medium\n"

	.comm	_BTC_RSSI_STATE_STAY_MEDIUM,8,3 ## @BTC_RSSI_STATE_STAY_MEDIUM
L_.str.6:                               ## @.str.6
	.asciz	"[BTCoex], BT Rssi state stay at Medium\n"

	.no_dead_strip	_btc8723b2ant_bt_rssi_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc8723b2ant_bt_rssi_state
_btc8723b2ant_bt_rssi_state:            ; @btc8723b2ant_bt_rssi_state
	.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
Lloh0:
	adrp	x20, _coex_sta@GOTPAGE
Lloh1:
	ldr	x20, [x20, _coex_sta@GOTPAGEOFF]
	ldr	x0, [x0]
	ldr	x8, [x20]
	ldp	w19, w8, [x8]
	sxtw	x9, w19
	cmp	w1, #3
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #2
	b.ne	LBB0_20
; %bb.2:
Lloh2:
	adrp	x10, _BTC_RSSI_STATE_LOW@GOTPAGE
Lloh3:
	ldr	x10, [x10, _BTC_RSSI_STATE_LOW@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
Lloh5:
	adrp	x11, _BTC_RSSI_STATE_STAY_LOW@GOTPAGE
Lloh6:
	ldr	x11, [x11, _BTC_RSSI_STATE_STAY_LOW@GOTPAGEOFF]
Lloh7:
	ldr	x19, [x11]
	cmp	x10, x9
	ccmp	x19, x9, #4, ne
	b.ne	LBB0_7
; %bb.3:
Lloh8:
	adrp	x9, _BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	add	w9, w9, w2
	cmp	w8, w9
	b.lt	LBB0_11
LBB0_4:
Lloh11:
	adrp	x8, _BTC_RSSI_STATE_HIGH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BTC_RSSI_STATE_HIGH@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
Lloh14:
	adrp	x3, l_.str@PAGE
Lloh15:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_19
LBB0_5:
	cmp	w2, w3
	b.le	LBB0_9
; %bb.6:
Lloh16:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh17:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x3, l_.str.4@PAGE
Lloh23:
	add	x3, x3, l_.str.4@PAGEOFF
	bl	_RT_TRACE
	ldr	x8, [x20]
	ldr	w19, [x8]
	b	LBB0_21
LBB0_7:
	cmp	w8, w2
	b.ge	LBB0_18
; %bb.8:
Lloh24:
	adrp	x3, l_.str.2@PAGE
Lloh25:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x19, x10
	b	LBB0_19
LBB0_9:
Lloh26:
	adrp	x10, _BTC_RSSI_STATE_LOW@GOTPAGE
Lloh27:
	ldr	x10, [x10, _BTC_RSSI_STATE_LOW@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
Lloh29:
	adrp	x11, _BTC_RSSI_STATE_STAY_LOW@GOTPAGE
Lloh30:
	ldr	x11, [x11, _BTC_RSSI_STATE_STAY_LOW@GOTPAGEOFF]
Lloh31:
	ldr	x19, [x11]
	cmp	x10, x9
	ccmp	x19, x9, #4, ne
	b.ne	LBB0_12
; %bb.10:
Lloh32:
	adrp	x9, _BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	add	w9, w9, w2
	cmp	w8, w9
	b.ge	LBB0_15
LBB0_11:
Lloh35:
	adrp	x3, l_.str.1@PAGE
Lloh36:
	add	x3, x3, l_.str.1@PAGEOFF
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	b	LBB0_19
LBB0_12:
Lloh37:
	adrp	x11, _BTC_RSSI_STATE_MEDIUM@GOTPAGE
Lloh38:
	ldr	x11, [x11, _BTC_RSSI_STATE_MEDIUM@GOTPAGEOFF]
Lloh39:
	ldr	x19, [x11]
Lloh40:
	adrp	x11, _BTC_RSSI_STATE_STAY_MEDIUM@GOTPAGE
Lloh41:
	ldr	x11, [x11, _BTC_RSSI_STATE_STAY_MEDIUM@GOTPAGEOFF]
Lloh42:
	ldr	x11, [x11]
	cmp	x19, x9
	ccmp	x11, x9, #4, ne
	b.ne	LBB0_16
; %bb.13:
Lloh43:
	adrp	x9, _BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT@GOTPAGE
Lloh44:
	ldr	x9, [x9, _BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	add	w9, w9, w3
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.14:
Lloh46:
	adrp	x9, l_.str.6@PAGE
Lloh47:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh48:
	adrp	x12, l_.str.2@PAGE
Lloh49:
	add	x12, x12, l_.str.2@PAGEOFF
	cmp	w8, w2
	csel	w19, w11, w10, ge
	csel	x3, x9, x12, ge
	b	LBB0_19
LBB0_15:
Lloh50:
	adrp	x8, _BTC_RSSI_STATE_MEDIUM@GOTPAGE
Lloh51:
	ldr	x8, [x8, _BTC_RSSI_STATE_MEDIUM@GOTPAGEOFF]
Lloh52:
	ldr	w19, [x8]
Lloh53:
	adrp	x3, l_.str.5@PAGE
Lloh54:
	add	x3, x3, l_.str.5@PAGEOFF
	b	LBB0_19
LBB0_16:
	cmp	w8, w3
	b.ge	LBB0_18
; %bb.17:
Lloh55:
	adrp	x3, l_.str.5@PAGE
Lloh56:
	add	x3, x3, l_.str.5@PAGEOFF
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	b	LBB0_19
LBB0_18:
Lloh57:
	adrp	x8, _BTC_RSSI_STATE_STAY_HIGH@GOTPAGE
Lloh58:
	ldr	x8, [x8, _BTC_RSSI_STATE_STAY_HIGH@GOTPAGEOFF]
Lloh59:
	ldr	w19, [x8]
Lloh60:
	adrp	x3, l_.str.3@PAGE
Lloh61:
	add	x3, x3, l_.str.3@PAGEOFF
LBB0_19:
Lloh62:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh63:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
Lloh65:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh66:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh67:
	ldr	w2, [x8]
	bl	_RT_TRACE
LBB0_20:
	ldr	x8, [x20]
	str	w19, [x8]
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_coex_sta,8,3                   ; @coex_sta
	.comm	_BTC_RSSI_STATE_LOW,8,3         ; @BTC_RSSI_STATE_LOW
	.comm	_BTC_RSSI_STATE_STAY_LOW,8,3    ; @BTC_RSSI_STATE_STAY_LOW
	.comm	_BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT,4,2 ; @BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT
	.comm	_BTC_RSSI_STATE_HIGH,4,2        ; @BTC_RSSI_STATE_HIGH
	.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], BT Rssi state switch to High\n"

l_.str.1:                               ; @.str.1
	.asciz	"[BTCoex], BT Rssi state stay at Low\n"

l_.str.2:                               ; @.str.2
	.asciz	"[BTCoex], BT Rssi state switch to Low\n"

	.comm	_BTC_RSSI_STATE_STAY_HIGH,4,2   ; @BTC_RSSI_STATE_STAY_HIGH
l_.str.3:                               ; @.str.3
	.asciz	"[BTCoex], BT Rssi state stay at High\n"

l_.str.4:                               ; @.str.4
	.asciz	"[BTCoex], BT Rssi thresh error!!\n"

	.comm	_BTC_RSSI_STATE_MEDIUM,8,3      ; @BTC_RSSI_STATE_MEDIUM
l_.str.5:                               ; @.str.5
	.asciz	"[BTCoex], BT Rssi state switch to Medium\n"

	.comm	_BTC_RSSI_STATE_STAY_MEDIUM,8,3 ; @BTC_RSSI_STATE_STAY_MEDIUM
l_.str.6:                               ; @.str.6
	.asciz	"[BTCoex], BT Rssi state stay at Medium\n"

	.no_dead_strip	_btc8723b2ant_bt_rssi_state
.subsections_via_symbols
