	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_coex_set_bt_rx_gain
_rtw_coex_set_bt_rx_gain:               ## @rtw_coex_set_bt_rx_gain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	%rsi, (%rdi)
	jne	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	%rsi, (%rdi)
	xorl	%edx, %edx
	cmpq	$6, %rsi
	jg	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_rtw_coex_set_lna_constrain_level
	movl	$1, %edx
LBB0_3:
	movq	_COEX_SCBD_RXGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rtw_coex_write_scbd            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COEX_SCBD_RXGAIN,4,2           ## @COEX_SCBD_RXGAIN
	.no_dead_strip	_rtw_coex_set_bt_rx_gain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_coex_set_bt_rx_gain
_rtw_coex_set_bt_rx_gain:               ; @rtw_coex_set_bt_rx_gain
	.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
	ldr	x8, [x0]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	str	x1, [x0]
	cmp	x1, #6
	b.gt	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_rtw_coex_set_lna_constrain_level
	mov	w2, #1
	b	LBB0_5
LBB0_4:
	mov	w2, #0
LBB0_5:
Lloh0:
	adrp	x8, _COEX_SCBD_RXGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COEX_SCBD_RXGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtw_coex_write_scbd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COEX_SCBD_RXGAIN,4,2           ; @COEX_SCBD_RXGAIN
	.no_dead_strip	_rtw_coex_set_bt_rx_gain
.subsections_via_symbols
