	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw8822c_gain_less_state
_rtw8822c_gain_less_state:              ## @rtw8822c_gain_less_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	cmpl	$11, %eax
	jg	LBB0_2
## %bb.1:
	movl	8(%rsi), %esi
	movq	_RF_MODE_TRXAGC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BIT_RXAGC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$12, %r8d
	callq	_rtw_write_rf
	jmp	LBB0_5
LBB0_2:
	cmpl	$14, %eax
	ja	LBB0_4
## %bb.3:
	movl	8(%rsi), %esi
	movq	_RF_MODE_TRXAGC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BIT_RXAGC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$15, %r8d
	callq	_rtw_write_rf
	jmp	LBB0_5
LBB0_4:
	movl	$1, 4(%rsi)
LBB0_5:
	movq	_RTW_DPK_GAIN_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RF_MODE_TRXAGC,4,2             ## @RF_MODE_TRXAGC
	.comm	_BIT_RXAGC,4,2                  ## @BIT_RXAGC
	.comm	_RTW_DPK_GAIN_CHECK,4,2         ## @RTW_DPK_GAIN_CHECK
	.no_dead_strip	_rtw8822c_gain_less_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw8822c_gain_less_state
_rtw8822c_gain_less_state:              ; @rtw8822c_gain_less_state
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x1]
	cmp	w8, #11
	b.gt	LBB0_2
; %bb.1:
	ldr	w1, [x1, #8]
Lloh0:
	adrp	x8, _RF_MODE_TRXAGC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RF_MODE_TRXAGC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _BIT_RXAGC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BIT_RXAGC@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w4, #12
	bl	_rtw_write_rf
	b	LBB0_5
LBB0_2:
	cmp	w8, #14
	b.hi	LBB0_4
; %bb.3:
	ldr	w1, [x1, #8]
Lloh6:
	adrp	x8, _RF_MODE_TRXAGC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RF_MODE_TRXAGC@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _BIT_RXAGC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BIT_RXAGC@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	w4, #15
	bl	_rtw_write_rf
	b	LBB0_5
LBB0_4:
	mov	w8, #1
	str	w8, [x1, #4]
LBB0_5:
Lloh12:
	adrp	x8, _RTW_DPK_GAIN_CHECK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RTW_DPK_GAIN_CHECK@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RF_MODE_TRXAGC,4,2             ; @RF_MODE_TRXAGC
	.comm	_BIT_RXAGC,4,2                  ; @BIT_RXAGC
	.comm	_RTW_DPK_GAIN_CHECK,4,2         ; @RTW_DPK_GAIN_CHECK
	.no_dead_strip	_rtw8822c_gain_less_state
.subsections_via_symbols
