	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2800_get_gain_calibration_delta
_rt2800_get_gain_calibration_delta:     ## @rt2800_get_gain_calibration_delta
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_EEPROM_NIC_CONF1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rt2800_eeprom_read
	movq	_EEPROM_NIC_CONF1_EXTERNAL_TX_ALC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_rt2x00_get_field16
	xorl	%ecx, %ecx
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	movq	(%rbx), %rax
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_EEPROM_TSSI_BOUND_A1@GOTPCREL(%rip), %rax
	cmoveq	_EEPROM_TSSI_BOUND_BG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EEPROM_TSSI_BOUND_A1_MINUS4@GOTPCREL(%rip), %r15
	cmoveq	_EEPROM_TSSI_BOUND_BG1_MINUS4@GOTPCREL(%rip), %r15
	movq	_EEPROM_TSSI_BOUND_A1_MINUS3@GOTPCREL(%rip), %r13
	cmoveq	_EEPROM_TSSI_BOUND_BG1_MINUS3@GOTPCREL(%rip), %r13
	movq	_EEPROM_TSSI_BOUND_A2@GOTPCREL(%rip), %r12
	cmoveq	_EEPROM_TSSI_BOUND_BG2@GOTPCREL(%rip), %r12
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	_EEPROM_TSSI_BOUND_A2_MINUS2@GOTPCREL(%rip), %r14
	cmoveq	_EEPROM_TSSI_BOUND_BG2_MINUS2@GOTPCREL(%rip), %r14
	movq	_EEPROM_TSSI_BOUND_A2_MINUS1@GOTPCREL(%rip), %rax
	cmoveq	_EEPROM_TSSI_BOUND_BG2_MINUS1@GOTPCREL(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_EEPROM_TSSI_BOUND_A3@GOTPCREL(%rip), %rax
	cmoveq	_EEPROM_TSSI_BOUND_BG3@GOTPCREL(%rip), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_EEPROM_TSSI_BOUND_A3_REF@GOTPCREL(%rip), %rax
	cmoveq	_EEPROM_TSSI_BOUND_BG3_REF@GOTPCREL(%rip), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_EEPROM_TSSI_BOUND_A3_PLUS1@GOTPCREL(%rip), %rax
	cmoveq	_EEPROM_TSSI_BOUND_BG3_PLUS1@GOTPCREL(%rip), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_EEPROM_TSSI_BOUND_A4@GOTPCREL(%rip), %rax
	cmoveq	_EEPROM_TSSI_BOUND_BG4@GOTPCREL(%rip), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_EEPROM_TSSI_BOUND_A4_PLUS2@GOTPCREL(%rip), %rax
	cmoveq	_EEPROM_TSSI_BOUND_BG4_PLUS2@GOTPCREL(%rip), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_EEPROM_TSSI_BOUND_A4_PLUS3@GOTPCREL(%rip), %rax
	cmoveq	_EEPROM_TSSI_BOUND_BG4_PLUS3@GOTPCREL(%rip), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_EEPROM_TSSI_BOUND_A5@GOTPCREL(%rip), %rax
	cmoveq	_EEPROM_TSSI_BOUND_BG5@GOTPCREL(%rip), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	_EEPROM_TSSI_BOUND_A5_PLUS4@GOTPCREL(%rip), %rax
	cmoveq	_EEPROM_TSSI_BOUND_BG5_PLUS4@GOTPCREL(%rip), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_EEPROM_TSSI_BOUND_A5_AGC_STEP@GOTPCREL(%rip), %rax
	cmoveq	_EEPROM_TSSI_BOUND_BG5_AGC_STEP@GOTPCREL(%rip), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_rt2800_eeprom_read
	movl	%eax, %ebx
	movl	(%r15), %esi
	movl	%eax, %edi
	callq	_rt2x00_get_field16
	movl	%eax, %r15d
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	(%r12), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_rt2800_eeprom_read
	movl	%eax, %ebx
	movl	(%r14), %esi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %edi
	callq	_rt2x00_get_field16
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rt2800_eeprom_read
	movl	%eax, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movl	%eax, %r12d
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rt2800_eeprom_read
	movl	%eax, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rt2800_eeprom_read
	movl	%eax, %ebx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	cmpl	$255, -56(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_2
## %bb.3:
	movl	%eax, %r13d
	cmpl	$255, %eax
	movl	$0, %ecx
	je	LBB0_13
## %bb.4:
	movq	%r14, %rdi
	movl	$49, %esi
	callq	_rt2800_bbp_read
	movl	$-4, %ecx
	cmpl	%r15d, %eax
	jg	LBB0_12
## %bb.5:
	movl	$-3, %ecx
	cmpl	-96(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_12
## %bb.6:
	movl	$-2, %ecx
	cmpl	-92(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_12
## %bb.7:
	movl	$-1, %ecx
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_12
## %bb.8:
	movl	$4, %ecx
	cmpl	-80(%rbp), %eax                 ## 4-byte Folded Reload
	jl	LBB0_12
## %bb.9:
	movl	$3, %ecx
	cmpl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	jl	LBB0_12
## %bb.10:
	movl	$2, %ecx
	cmpl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	jl	LBB0_12
## %bb.11:
	xorl	%ecx, %ecx
	cmpl	%r12d, %eax
	setl	%cl
LBB0_12:
	imull	%r13d, %ecx
	jmp	LBB0_13
LBB0_2:
	xorl	%ecx, %ecx
LBB0_13:
	movl	%ecx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_NIC_CONF1,4,2           ## @EEPROM_NIC_CONF1
	.comm	_EEPROM_NIC_CONF1_EXTERNAL_TX_ALC,4,2 ## @EEPROM_NIC_CONF1_EXTERNAL_TX_ALC
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_EEPROM_TSSI_BOUND_BG1,4,2      ## @EEPROM_TSSI_BOUND_BG1
	.comm	_EEPROM_TSSI_BOUND_BG1_MINUS4,4,2 ## @EEPROM_TSSI_BOUND_BG1_MINUS4
	.comm	_EEPROM_TSSI_BOUND_BG1_MINUS3,4,2 ## @EEPROM_TSSI_BOUND_BG1_MINUS3
	.comm	_EEPROM_TSSI_BOUND_BG2,4,2      ## @EEPROM_TSSI_BOUND_BG2
	.comm	_EEPROM_TSSI_BOUND_BG2_MINUS2,4,2 ## @EEPROM_TSSI_BOUND_BG2_MINUS2
	.comm	_EEPROM_TSSI_BOUND_BG2_MINUS1,4,2 ## @EEPROM_TSSI_BOUND_BG2_MINUS1
	.comm	_EEPROM_TSSI_BOUND_BG3,4,2      ## @EEPROM_TSSI_BOUND_BG3
	.comm	_EEPROM_TSSI_BOUND_BG3_REF,4,2  ## @EEPROM_TSSI_BOUND_BG3_REF
	.comm	_EEPROM_TSSI_BOUND_BG3_PLUS1,4,2 ## @EEPROM_TSSI_BOUND_BG3_PLUS1
	.comm	_EEPROM_TSSI_BOUND_BG4,4,2      ## @EEPROM_TSSI_BOUND_BG4
	.comm	_EEPROM_TSSI_BOUND_BG4_PLUS2,4,2 ## @EEPROM_TSSI_BOUND_BG4_PLUS2
	.comm	_EEPROM_TSSI_BOUND_BG4_PLUS3,4,2 ## @EEPROM_TSSI_BOUND_BG4_PLUS3
	.comm	_EEPROM_TSSI_BOUND_BG5,4,2      ## @EEPROM_TSSI_BOUND_BG5
	.comm	_EEPROM_TSSI_BOUND_BG5_PLUS4,4,2 ## @EEPROM_TSSI_BOUND_BG5_PLUS4
	.comm	_EEPROM_TSSI_BOUND_BG5_AGC_STEP,4,2 ## @EEPROM_TSSI_BOUND_BG5_AGC_STEP
	.comm	_EEPROM_TSSI_BOUND_A1,4,2       ## @EEPROM_TSSI_BOUND_A1
	.comm	_EEPROM_TSSI_BOUND_A1_MINUS4,4,2 ## @EEPROM_TSSI_BOUND_A1_MINUS4
	.comm	_EEPROM_TSSI_BOUND_A1_MINUS3,4,2 ## @EEPROM_TSSI_BOUND_A1_MINUS3
	.comm	_EEPROM_TSSI_BOUND_A2,4,2       ## @EEPROM_TSSI_BOUND_A2
	.comm	_EEPROM_TSSI_BOUND_A2_MINUS2,4,2 ## @EEPROM_TSSI_BOUND_A2_MINUS2
	.comm	_EEPROM_TSSI_BOUND_A2_MINUS1,4,2 ## @EEPROM_TSSI_BOUND_A2_MINUS1
	.comm	_EEPROM_TSSI_BOUND_A3,4,2       ## @EEPROM_TSSI_BOUND_A3
	.comm	_EEPROM_TSSI_BOUND_A3_REF,4,2   ## @EEPROM_TSSI_BOUND_A3_REF
	.comm	_EEPROM_TSSI_BOUND_A3_PLUS1,4,2 ## @EEPROM_TSSI_BOUND_A3_PLUS1
	.comm	_EEPROM_TSSI_BOUND_A4,4,2       ## @EEPROM_TSSI_BOUND_A4
	.comm	_EEPROM_TSSI_BOUND_A4_PLUS2,4,2 ## @EEPROM_TSSI_BOUND_A4_PLUS2
	.comm	_EEPROM_TSSI_BOUND_A4_PLUS3,4,2 ## @EEPROM_TSSI_BOUND_A4_PLUS3
	.comm	_EEPROM_TSSI_BOUND_A5,4,2       ## @EEPROM_TSSI_BOUND_A5
	.comm	_EEPROM_TSSI_BOUND_A5_PLUS4,4,2 ## @EEPROM_TSSI_BOUND_A5_PLUS4
	.comm	_EEPROM_TSSI_BOUND_A5_AGC_STEP,4,2 ## @EEPROM_TSSI_BOUND_A5_AGC_STEP
	.no_dead_strip	_rt2800_get_gain_calibration_delta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2800_get_gain_calibration_delta
_rt2800_get_gain_calibration_delta:     ; @rt2800_get_gain_calibration_delta
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _EEPROM_NIC_CONF1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEPROM_NIC_CONF1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rt2800_eeprom_read
Lloh3:
	adrp	x8, _EEPROM_NIC_CONF1_EXTERNAL_TX_ALC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EEPROM_NIC_CONF1_EXTERNAL_TX_ALC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_rt2x00_get_field16
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh8:
	adrp	x10, _EEPROM_TSSI_BOUND_BG1@GOTPAGE
Lloh9:
	ldr	x10, [x10, _EEPROM_TSSI_BOUND_BG1@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x11, _EEPROM_TSSI_BOUND_A1@GOTPAGE
Lloh12:
	ldr	x11, [x11, _EEPROM_TSSI_BOUND_A1@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _EEPROM_TSSI_BOUND_BG1_MINUS4@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_BG1_MINUS4@GOTPAGEOFF]
Lloh15:
	adrp	x9, _EEPROM_TSSI_BOUND_A1_MINUS4@GOTPAGE
Lloh16:
	ldr	x9, [x9, _EEPROM_TSSI_BOUND_A1_MINUS4@GOTPAGEOFF]
Lloh17:
	adrp	x10, _EEPROM_TSSI_BOUND_BG1_MINUS3@GOTPAGE
Lloh18:
	ldr	x10, [x10, _EEPROM_TSSI_BOUND_BG1_MINUS3@GOTPAGEOFF]
	csel	x23, x8, x9, eq
Lloh19:
	adrp	x8, _EEPROM_TSSI_BOUND_A1_MINUS3@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_A1_MINUS3@GOTPAGEOFF]
	csel	x21, x10, x8, eq
Lloh21:
	adrp	x8, _EEPROM_TSSI_BOUND_BG2@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_BG2@GOTPAGEOFF]
Lloh23:
	adrp	x9, _EEPROM_TSSI_BOUND_A2@GOTPAGE
Lloh24:
	ldr	x9, [x9, _EEPROM_TSSI_BOUND_A2@GOTPAGEOFF]
Lloh25:
	adrp	x10, _EEPROM_TSSI_BOUND_BG2_MINUS2@GOTPAGE
Lloh26:
	ldr	x10, [x10, _EEPROM_TSSI_BOUND_BG2_MINUS2@GOTPAGEOFF]
Lloh27:
	adrp	x11, _EEPROM_TSSI_BOUND_A2_MINUS2@GOTPAGE
Lloh28:
	ldr	x11, [x11, _EEPROM_TSSI_BOUND_A2_MINUS2@GOTPAGEOFF]
	csel	x25, x8, x9, eq
	csel	x26, x10, x11, eq
Lloh29:
	adrp	x8, _EEPROM_TSSI_BOUND_BG2_MINUS1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_BG2_MINUS1@GOTPAGEOFF]
Lloh31:
	adrp	x9, _EEPROM_TSSI_BOUND_A2_MINUS1@GOTPAGE
Lloh32:
	ldr	x9, [x9, _EEPROM_TSSI_BOUND_A2_MINUS1@GOTPAGEOFF]
	csel	x27, x8, x9, eq
Lloh33:
	adrp	x8, _EEPROM_TSSI_BOUND_BG3@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_BG3@GOTPAGEOFF]
Lloh35:
	adrp	x9, _EEPROM_TSSI_BOUND_A3@GOTPAGE
Lloh36:
	ldr	x9, [x9, _EEPROM_TSSI_BOUND_A3@GOTPAGEOFF]
	csel	x24, x8, x9, eq
Lloh37:
	adrp	x8, _EEPROM_TSSI_BOUND_BG3_REF@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_BG3_REF@GOTPAGEOFF]
Lloh39:
	adrp	x9, _EEPROM_TSSI_BOUND_A3_REF@GOTPAGE
Lloh40:
	ldr	x9, [x9, _EEPROM_TSSI_BOUND_A3_REF@GOTPAGEOFF]
Lloh41:
	adrp	x10, _EEPROM_TSSI_BOUND_BG3_PLUS1@GOTPAGE
Lloh42:
	ldr	x10, [x10, _EEPROM_TSSI_BOUND_BG3_PLUS1@GOTPAGEOFF]
	csel	x28, x8, x9, eq
Lloh43:
	adrp	x8, _EEPROM_TSSI_BOUND_A3_PLUS1@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_A3_PLUS1@GOTPAGEOFF]
	csel	x22, x10, x8, eq
Lloh45:
	adrp	x8, _EEPROM_TSSI_BOUND_BG4@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_BG4@GOTPAGEOFF]
Lloh47:
	adrp	x9, _EEPROM_TSSI_BOUND_A4@GOTPAGE
Lloh48:
	ldr	x9, [x9, _EEPROM_TSSI_BOUND_A4@GOTPAGEOFF]
Lloh49:
	adrp	x10, _EEPROM_TSSI_BOUND_BG4_PLUS2@GOTPAGE
Lloh50:
	ldr	x10, [x10, _EEPROM_TSSI_BOUND_BG4_PLUS2@GOTPAGEOFF]
Lloh51:
	adrp	x11, _EEPROM_TSSI_BOUND_A4_PLUS2@GOTPAGE
Lloh52:
	ldr	x11, [x11, _EEPROM_TSSI_BOUND_A4_PLUS2@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	csel	x8, x10, x11, eq
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh53:
	adrp	x8, _EEPROM_TSSI_BOUND_BG4_PLUS3@GOTPAGE
Lloh54:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_BG4_PLUS3@GOTPAGEOFF]
Lloh55:
	adrp	x9, _EEPROM_TSSI_BOUND_A4_PLUS3@GOTPAGE
Lloh56:
	ldr	x9, [x9, _EEPROM_TSSI_BOUND_A4_PLUS3@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
Lloh57:
	adrp	x8, _EEPROM_TSSI_BOUND_BG5@GOTPAGE
Lloh58:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_BG5@GOTPAGEOFF]
Lloh59:
	adrp	x9, _EEPROM_TSSI_BOUND_A5@GOTPAGE
Lloh60:
	ldr	x9, [x9, _EEPROM_TSSI_BOUND_A5@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
Lloh61:
	adrp	x8, _EEPROM_TSSI_BOUND_BG5_PLUS4@GOTPAGE
Lloh62:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_BG5_PLUS4@GOTPAGEOFF]
Lloh63:
	adrp	x9, _EEPROM_TSSI_BOUND_A5_PLUS4@GOTPAGE
Lloh64:
	ldr	x9, [x9, _EEPROM_TSSI_BOUND_A5_PLUS4@GOTPAGEOFF]
Lloh65:
	adrp	x10, _EEPROM_TSSI_BOUND_BG5_AGC_STEP@GOTPAGE
Lloh66:
	ldr	x10, [x10, _EEPROM_TSSI_BOUND_BG5_AGC_STEP@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
Lloh67:
	adrp	x8, _EEPROM_TSSI_BOUND_A5_AGC_STEP@GOTPAGE
Lloh68:
	ldr	x8, [x8, _EEPROM_TSSI_BOUND_A5_AGC_STEP@GOTPAGEOFF]
	csel	x8, x10, x8, eq
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_rt2800_eeprom_read
	mov	x20, x0
	ldr	w1, [x23]
	bl	_rt2x00_get_field16
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w1, [x21]
	mov	x0, x20
	bl	_rt2x00_get_field16
	mov	x21, x0
	ldr	w1, [x25]
	mov	x0, x19
	bl	_rt2800_eeprom_read
	mov	x23, x0
	ldr	w1, [x26]
	bl	_rt2x00_get_field16
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	ldr	w1, [x27]
	mov	x0, x23
	bl	_rt2x00_get_field16
	mov	x23, x0
	ldr	w1, [x24]
	mov	x0, x19
	bl	_rt2800_eeprom_read
	mov	x24, x0
	ldr	w1, [x28]
	bl	_rt2x00_get_field16
	mov	x20, x0
	ldr	w1, [x22]
	mov	x0, x24
	bl	_rt2x00_get_field16
	mov	x24, x0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2800_eeprom_read
	mov	x26, x0
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w1, [x8]
	bl	_rt2x00_get_field16
	mov	x25, x0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w1, [x8]
	mov	x0, x26
	bl	_rt2x00_get_field16
	mov	x26, x0
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2800_eeprom_read
	mov	x27, x0
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w1, [x8]
	bl	_rt2x00_get_field16
	mov	x28, x0
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w1, [x8]
	mov	x0, x27
	bl	_rt2x00_get_field16
	mov	x27, x0
	mov	w0, #0
	cmp	w20, #255
	b.eq	LBB0_7
; %bb.2:
	cmp	w27, #255
	b.eq	LBB0_7
; %bb.3:
	mov	x0, x19
	mov	w1, #49
	bl	_rt2800_bbp_read
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w0, w8
	b.le	LBB0_5
; %bb.4:
	mov	w8, #-4
	b	LBB0_6
LBB0_5:
	mov	w8, #-3
	mov	w9, #-2
	mov	w10, #-1
	mov	w11, #4
	mov	w12, #3
	mov	w13, #2
	cmp	w0, w24
	cset	w14, lt
	cmp	w0, w25
	csel	w13, w13, w14, lt
	cmp	w0, w26
	csel	w12, w12, w13, lt
	cmp	w0, w28
	csel	w11, w11, w12, lt
	cmp	w0, w23
	csel	w10, w10, w11, gt
	ldr	w11, [sp, #8]                   ; 4-byte Folded Reload
	cmp	w0, w11
	csel	w9, w9, w10, gt
	cmp	w0, w21
	csel	w8, w8, w9, gt
LBB0_6:
	mul	w0, w8, w27
LBB0_7:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_NIC_CONF1,4,2           ; @EEPROM_NIC_CONF1
	.comm	_EEPROM_NIC_CONF1_EXTERNAL_TX_ALC,4,2 ; @EEPROM_NIC_CONF1_EXTERNAL_TX_ALC
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_EEPROM_TSSI_BOUND_BG1,4,2      ; @EEPROM_TSSI_BOUND_BG1
	.comm	_EEPROM_TSSI_BOUND_BG1_MINUS4,4,2 ; @EEPROM_TSSI_BOUND_BG1_MINUS4
	.comm	_EEPROM_TSSI_BOUND_BG1_MINUS3,4,2 ; @EEPROM_TSSI_BOUND_BG1_MINUS3
	.comm	_EEPROM_TSSI_BOUND_BG2,4,2      ; @EEPROM_TSSI_BOUND_BG2
	.comm	_EEPROM_TSSI_BOUND_BG2_MINUS2,4,2 ; @EEPROM_TSSI_BOUND_BG2_MINUS2
	.comm	_EEPROM_TSSI_BOUND_BG2_MINUS1,4,2 ; @EEPROM_TSSI_BOUND_BG2_MINUS1
	.comm	_EEPROM_TSSI_BOUND_BG3,4,2      ; @EEPROM_TSSI_BOUND_BG3
	.comm	_EEPROM_TSSI_BOUND_BG3_REF,4,2  ; @EEPROM_TSSI_BOUND_BG3_REF
	.comm	_EEPROM_TSSI_BOUND_BG3_PLUS1,4,2 ; @EEPROM_TSSI_BOUND_BG3_PLUS1
	.comm	_EEPROM_TSSI_BOUND_BG4,4,2      ; @EEPROM_TSSI_BOUND_BG4
	.comm	_EEPROM_TSSI_BOUND_BG4_PLUS2,4,2 ; @EEPROM_TSSI_BOUND_BG4_PLUS2
	.comm	_EEPROM_TSSI_BOUND_BG4_PLUS3,4,2 ; @EEPROM_TSSI_BOUND_BG4_PLUS3
	.comm	_EEPROM_TSSI_BOUND_BG5,4,2      ; @EEPROM_TSSI_BOUND_BG5
	.comm	_EEPROM_TSSI_BOUND_BG5_PLUS4,4,2 ; @EEPROM_TSSI_BOUND_BG5_PLUS4
	.comm	_EEPROM_TSSI_BOUND_BG5_AGC_STEP,4,2 ; @EEPROM_TSSI_BOUND_BG5_AGC_STEP
	.comm	_EEPROM_TSSI_BOUND_A1,4,2       ; @EEPROM_TSSI_BOUND_A1
	.comm	_EEPROM_TSSI_BOUND_A1_MINUS4,4,2 ; @EEPROM_TSSI_BOUND_A1_MINUS4
	.comm	_EEPROM_TSSI_BOUND_A1_MINUS3,4,2 ; @EEPROM_TSSI_BOUND_A1_MINUS3
	.comm	_EEPROM_TSSI_BOUND_A2,4,2       ; @EEPROM_TSSI_BOUND_A2
	.comm	_EEPROM_TSSI_BOUND_A2_MINUS2,4,2 ; @EEPROM_TSSI_BOUND_A2_MINUS2
	.comm	_EEPROM_TSSI_BOUND_A2_MINUS1,4,2 ; @EEPROM_TSSI_BOUND_A2_MINUS1
	.comm	_EEPROM_TSSI_BOUND_A3,4,2       ; @EEPROM_TSSI_BOUND_A3
	.comm	_EEPROM_TSSI_BOUND_A3_REF,4,2   ; @EEPROM_TSSI_BOUND_A3_REF
	.comm	_EEPROM_TSSI_BOUND_A3_PLUS1,4,2 ; @EEPROM_TSSI_BOUND_A3_PLUS1
	.comm	_EEPROM_TSSI_BOUND_A4,4,2       ; @EEPROM_TSSI_BOUND_A4
	.comm	_EEPROM_TSSI_BOUND_A4_PLUS2,4,2 ; @EEPROM_TSSI_BOUND_A4_PLUS2
	.comm	_EEPROM_TSSI_BOUND_A4_PLUS3,4,2 ; @EEPROM_TSSI_BOUND_A4_PLUS3
	.comm	_EEPROM_TSSI_BOUND_A5,4,2       ; @EEPROM_TSSI_BOUND_A5
	.comm	_EEPROM_TSSI_BOUND_A5_PLUS4,4,2 ; @EEPROM_TSSI_BOUND_A5_PLUS4
	.comm	_EEPROM_TSSI_BOUND_A5_AGC_STEP,4,2 ; @EEPROM_TSSI_BOUND_A5_AGC_STEP
	.no_dead_strip	_rt2800_get_gain_calibration_delta
.subsections_via_symbols
