	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_hw_manual_peak_cal
_ar9003_hw_manual_peak_cal:             ## @ar9003_hw_manual_peak_cal
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_AR_SREV_9550
	movl	$8, %r12d
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_AR_SREV_9531
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_AR_SREV_9561
	xorl	%ecx, %ecx
	testq	%rax, %rax
	movl	$11, %r12d
	cmovel	%ecx, %r12d
LBB0_3:
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_GAINSTAGES
	movq	_AR_PHY_65NM_RXRF_GAINSTAGES_RX_OVERRIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %ecx
	callq	_REG_RMW_FIELD
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_GAINSTAGES
	movq	_AR_PHY_65NM_RXRF_GAINSTAGES_LNAON_CALDC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_REG_RMW_FIELD
	movq	%rbx, %rdi
	callq	_AR_SREV_9003_PCOEM
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_AR_SREV_9330_11
	testq	%rax, %rax
	je	LBB0_9
LBB0_5:
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_GAINSTAGES
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.7:
	movq	_AR_PHY_65NM_RXRF_GAINSTAGES_LNA5G_GAIN_OVR@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_6:
	movq	_AR_PHY_65NM_RXRF_GAINSTAGES_LNA2G_GAIN_OVR@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_REG_RMW_FIELD
LBB0_9:
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXTX2
	movq	_AR_PHY_65NM_RXTX2_RXON_OVR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %ecx
	callq	_REG_RMW_FIELD
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXTX2
	movq	_AR_PHY_65NM_RXTX2_RXON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_REG_RMW_FIELD
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_AGC
	movq	_AR_PHY_65NM_RXRF_AGC_AGC_OVERRIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %ecx
	callq	_REG_RMW_FIELD
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_AGC
	movq	_AR_PHY_65NM_RXRF_AGC_AGC_ON_OVR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %ecx
	callq	_REG_RMW_FIELD
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_AGC
	movq	_AR_PHY_65NM_RXRF_AGC_AGC_CAL_OVR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %ecx
	callq	_REG_RMW_FIELD
	movq	%rbx, %rdi
	callq	_AR_SREV_9330_11
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_AGC
	movq	_AR_PHY_65NM_RXRF_AGC_AGC2G_CALDAC_OVR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_REG_RMW_FIELD
LBB0_11:
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_AGC
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_12
## %bb.13:
	movq	_AR_PHY_65NM_RXRF_AGC_AGC5G_DBDAC_OVR@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_12:
	movq	_AR_PHY_65NM_RXRF_AGC_AGC2G_DBDAC_OVR@GOTPCREL(%rip), %rcx
LBB0_14:
	movl	(%rcx), %edx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r12d, %ecx
	callq	_REG_RMW_FIELD
	xorl	%ebx, %ebx
	movl	$7, %r14d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%r15d, %ecx
	callq	_REG_RMW_FIELD
	movl	$100, %edi
	callq	_udelay
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_AGC
	movq	_AR_PHY_65NM_RXRF_AGC_AGC_OUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_REG_READ_FIELD
	xorl	%edx, %edx
	testl	%eax, %eax
	sete	%dl
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	addl	%edx, %ebx
	decl	%r14d
	cmpl	$1, %r14d
	jbe	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%r14), %edi
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	callq	_BIT
	movl	%r13d, %edi
	movl	%eax, %r15d
	addl	%ebx, %r15d
	callq	_AR_PHY_65NM_RXRF_AGC
	movq	_AR_PHY_65NM_RXRF_AGC_AGC2G_CALDAC_OVR@GOTPCREL(%rip), %rcx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_AR_PHY_65NM_RXRF_AGC_AGC5G_CALDAC_OVR@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
LBB0_18:
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_AGC
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_19
## %bb.20:
	movq	_AR_PHY_65NM_RXRF_AGC_AGC5G_CALDAC_OVR@GOTPCREL(%rip), %rcx
	jmp	LBB0_21
LBB0_19:
	movq	_AR_PHY_65NM_RXRF_AGC_AGC2G_CALDAC_OVR@GOTPCREL(%rip), %rcx
LBB0_21:
	movl	(%rcx), %edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %ecx
	callq	_REG_RMW_FIELD
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_GAINSTAGES
	movq	_AR_PHY_65NM_RXRF_GAINSTAGES_RX_OVERRIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_REG_RMW_FIELD
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXTX2
	movq	_AR_PHY_65NM_RXTX2_RXON_OVR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_REG_RMW_FIELD
	movl	%r13d, %edi
	callq	_AR_PHY_65NM_RXRF_AGC
	movq	_AR_PHY_65NM_RXRF_AGC_AGC_CAL_OVR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_RMW_FIELD                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_PHY_65NM_RXRF_GAINSTAGES_RX_OVERRIDE,4,2 ## @AR_PHY_65NM_RXRF_GAINSTAGES_RX_OVERRIDE
	.comm	_AR_PHY_65NM_RXRF_GAINSTAGES_LNAON_CALDC,4,2 ## @AR_PHY_65NM_RXRF_GAINSTAGES_LNAON_CALDC
	.comm	_AR_PHY_65NM_RXRF_GAINSTAGES_LNA2G_GAIN_OVR,4,2 ## @AR_PHY_65NM_RXRF_GAINSTAGES_LNA2G_GAIN_OVR
	.comm	_AR_PHY_65NM_RXRF_GAINSTAGES_LNA5G_GAIN_OVR,4,2 ## @AR_PHY_65NM_RXRF_GAINSTAGES_LNA5G_GAIN_OVR
	.comm	_AR_PHY_65NM_RXTX2_RXON_OVR,4,2 ## @AR_PHY_65NM_RXTX2_RXON_OVR
	.comm	_AR_PHY_65NM_RXTX2_RXON,4,2     ## @AR_PHY_65NM_RXTX2_RXON
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC_OVERRIDE,4,2 ## @AR_PHY_65NM_RXRF_AGC_AGC_OVERRIDE
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC_ON_OVR,4,2 ## @AR_PHY_65NM_RXRF_AGC_AGC_ON_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC_CAL_OVR,4,2 ## @AR_PHY_65NM_RXRF_AGC_AGC_CAL_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC2G_CALDAC_OVR,4,2 ## @AR_PHY_65NM_RXRF_AGC_AGC2G_CALDAC_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC2G_DBDAC_OVR,4,2 ## @AR_PHY_65NM_RXRF_AGC_AGC2G_DBDAC_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC5G_DBDAC_OVR,4,2 ## @AR_PHY_65NM_RXRF_AGC_AGC5G_DBDAC_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC5G_CALDAC_OVR,4,2 ## @AR_PHY_65NM_RXRF_AGC_AGC5G_CALDAC_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC_OUT,4,2 ## @AR_PHY_65NM_RXRF_AGC_AGC_OUT
	.no_dead_strip	_ar9003_hw_manual_peak_cal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_hw_manual_peak_cal
_ar9003_hw_manual_peak_cal:             ; @ar9003_hw_manual_peak_cal
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_AR_SREV_9550
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_AR_SREV_9531
	cbz	x0, LBB0_11
LBB0_2:
	mov	w22, #8
LBB0_3:
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_GAINSTAGES
	mov	x1, x0
Lloh0:
	adrp	x8, _AR_PHY_65NM_RXRF_GAINSTAGES_RX_OVERRIDE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_PHY_65NM_RXRF_GAINSTAGES_RX_OVERRIDE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_REG_RMW_FIELD
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_GAINSTAGES
	mov	x1, x0
Lloh3:
	adrp	x8, _AR_PHY_65NM_RXRF_GAINSTAGES_LNAON_CALDC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_PHY_65NM_RXRF_GAINSTAGES_LNAON_CALDC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_REG_RMW_FIELD
	mov	x0, x19
	bl	_AR_SREV_9003_PCOEM
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_AR_SREV_9330_11
	cbz	x0, LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_GAINSTAGES
	mov	x1, x0
Lloh6:
	adrp	x8, _AR_PHY_65NM_RXRF_GAINSTAGES_LNA5G_GAIN_OVR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR_PHY_65NM_RXRF_GAINSTAGES_LNA5G_GAIN_OVR@GOTPAGEOFF]
Lloh8:
	adrp	x9, _AR_PHY_65NM_RXRF_GAINSTAGES_LNA2G_GAIN_OVR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AR_PHY_65NM_RXRF_GAINSTAGES_LNA2G_GAIN_OVR@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x8, x9, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_REG_RMW_FIELD
LBB0_6:
	mov	x0, x20
	bl	_AR_PHY_65NM_RXTX2
	mov	x1, x0
Lloh10:
	adrp	x8, _AR_PHY_65NM_RXTX2_RXON_OVR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AR_PHY_65NM_RXTX2_RXON_OVR@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_REG_RMW_FIELD
	mov	x0, x20
	bl	_AR_PHY_65NM_RXTX2
	mov	x1, x0
Lloh13:
	adrp	x8, _AR_PHY_65NM_RXTX2_RXON@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AR_PHY_65NM_RXTX2_RXON@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_REG_RMW_FIELD
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_AGC
	mov	x1, x0
Lloh16:
	adrp	x8, _AR_PHY_65NM_RXRF_AGC_AGC_OVERRIDE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AR_PHY_65NM_RXRF_AGC_AGC_OVERRIDE@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_REG_RMW_FIELD
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_AGC
	mov	x1, x0
Lloh19:
	adrp	x8, _AR_PHY_65NM_RXRF_AGC_AGC_ON_OVR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AR_PHY_65NM_RXRF_AGC_AGC_ON_OVR@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_REG_RMW_FIELD
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_AGC
	mov	x1, x0
Lloh22:
	adrp	x8, _AR_PHY_65NM_RXRF_AGC_AGC_CAL_OVR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AR_PHY_65NM_RXRF_AGC_AGC_CAL_OVR@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_REG_RMW_FIELD
	mov	x0, x19
	bl	_AR_SREV_9330_11
Lloh25:
	adrp	x28, _AR_PHY_65NM_RXRF_AGC_AGC2G_CALDAC_OVR@GOTPAGE
Lloh26:
	ldr	x28, [x28, _AR_PHY_65NM_RXRF_AGC_AGC2G_CALDAC_OVR@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_AGC
	mov	x1, x0
	ldr	w2, [x28]
	mov	x0, x19
	mov	w3, #0
	bl	_REG_RMW_FIELD
LBB0_8:
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_AGC
	mov	x1, x0
Lloh27:
	adrp	x8, _AR_PHY_65NM_RXRF_AGC_AGC5G_DBDAC_OVR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AR_PHY_65NM_RXRF_AGC_AGC5G_DBDAC_OVR@GOTPAGEOFF]
Lloh29:
	adrp	x9, _AR_PHY_65NM_RXRF_AGC_AGC2G_DBDAC_OVR@GOTPAGE
Lloh30:
	ldr	x9, [x9, _AR_PHY_65NM_RXRF_AGC_AGC2G_DBDAC_OVR@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x8, x9, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x22
	bl	_REG_RMW_FIELD
	mov	w22, #0
	mov	w26, #7
Lloh31:
	adrp	x25, _AR_PHY_65NM_RXRF_AGC_AGC5G_CALDAC_OVR@GOTPAGE
Lloh32:
	ldr	x25, [x25, _AR_PHY_65NM_RXRF_AGC_AGC5G_CALDAC_OVR@GOTPAGEOFF]
Lloh33:
	adrp	x27, _AR_PHY_65NM_RXRF_AGC_AGC_OUT@GOTPAGE
Lloh34:
	ldr	x27, [x27, _AR_PHY_65NM_RXRF_AGC_AGC_OUT@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	w23, w26, #2
	mov	x0, x23
	bl	_BIT
	add	w24, w0, w22
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_AGC
	mov	x1, x0
	cmp	w21, #0
	csel	x8, x25, x28, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x24
	bl	_REG_RMW_FIELD
	mov	w0, #100
	bl	_udelay
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_AGC
	mov	x1, x0
	ldr	w2, [x27]
	mov	x0, x19
	bl	_REG_READ_FIELD
	cmp	w0, #0
	cset	w8, eq
	lsl	w8, w8, w23
	add	w22, w8, w22
	sub	w26, w26, #1
	cmp	w26, #1
	b.hi	LBB0_9
; %bb.10:
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_AGC
	mov	x1, x0
	cmp	w21, #0
	csel	x8, x25, x28, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x22
	bl	_REG_RMW_FIELD
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_GAINSTAGES
	mov	x1, x0
Lloh35:
	adrp	x8, _AR_PHY_65NM_RXRF_GAINSTAGES_RX_OVERRIDE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AR_PHY_65NM_RXRF_GAINSTAGES_RX_OVERRIDE@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_REG_RMW_FIELD
	mov	x0, x20
	bl	_AR_PHY_65NM_RXTX2
	mov	x1, x0
Lloh38:
	adrp	x8, _AR_PHY_65NM_RXTX2_RXON_OVR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _AR_PHY_65NM_RXTX2_RXON_OVR@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_REG_RMW_FIELD
	mov	x0, x20
	bl	_AR_PHY_65NM_RXRF_AGC
	mov	x1, x0
Lloh41:
	adrp	x8, _AR_PHY_65NM_RXRF_AGC_AGC_CAL_OVR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _AR_PHY_65NM_RXRF_AGC_AGC_CAL_OVR@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_REG_RMW_FIELD
LBB0_11:
	mov	x0, x19
	bl	_AR_SREV_9561
	cmp	x0, #0
	mov	w8, #11
	csel	w22, wzr, w8, eq
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_PHY_65NM_RXRF_GAINSTAGES_RX_OVERRIDE,4,2 ; @AR_PHY_65NM_RXRF_GAINSTAGES_RX_OVERRIDE
	.comm	_AR_PHY_65NM_RXRF_GAINSTAGES_LNAON_CALDC,4,2 ; @AR_PHY_65NM_RXRF_GAINSTAGES_LNAON_CALDC
	.comm	_AR_PHY_65NM_RXRF_GAINSTAGES_LNA2G_GAIN_OVR,4,2 ; @AR_PHY_65NM_RXRF_GAINSTAGES_LNA2G_GAIN_OVR
	.comm	_AR_PHY_65NM_RXRF_GAINSTAGES_LNA5G_GAIN_OVR,4,2 ; @AR_PHY_65NM_RXRF_GAINSTAGES_LNA5G_GAIN_OVR
	.comm	_AR_PHY_65NM_RXTX2_RXON_OVR,4,2 ; @AR_PHY_65NM_RXTX2_RXON_OVR
	.comm	_AR_PHY_65NM_RXTX2_RXON,4,2     ; @AR_PHY_65NM_RXTX2_RXON
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC_OVERRIDE,4,2 ; @AR_PHY_65NM_RXRF_AGC_AGC_OVERRIDE
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC_ON_OVR,4,2 ; @AR_PHY_65NM_RXRF_AGC_AGC_ON_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC_CAL_OVR,4,2 ; @AR_PHY_65NM_RXRF_AGC_AGC_CAL_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC2G_CALDAC_OVR,4,2 ; @AR_PHY_65NM_RXRF_AGC_AGC2G_CALDAC_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC2G_DBDAC_OVR,4,2 ; @AR_PHY_65NM_RXRF_AGC_AGC2G_DBDAC_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC5G_DBDAC_OVR,4,2 ; @AR_PHY_65NM_RXRF_AGC_AGC5G_DBDAC_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC5G_CALDAC_OVR,4,2 ; @AR_PHY_65NM_RXRF_AGC_AGC5G_CALDAC_OVR
	.comm	_AR_PHY_65NM_RXRF_AGC_AGC_OUT,4,2 ; @AR_PHY_65NM_RXRF_AGC_AGC_OUT
	.no_dead_strip	_ar9003_hw_manual_peak_cal
.subsections_via_symbols
