	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2800_bw_filter_calibration
_rt2800_bw_filter_calibration:          ## @rt2800_bw_filter_calibration
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_RF_CONTROL0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rt2800_register_read
	movl	%eax, -196(%rbp)                ## 4-byte Spill
	movq	_RF_BYPASS0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rt2800_register_read
	movl	%eax, -192(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$23, %esi
	callq	_rt2800_bbp_read
	movl	%eax, -188(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rt2800_bbp_dcoc_read
	movl	%eax, -184(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_rt2800_bbp_dcoc_read
	movl	%eax, -180(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -176(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$1, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -172(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$3, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -168(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$4, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -164(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$5, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -160(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$6, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -156(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$7, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -152(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$8, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$17, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -144(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$18, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$19, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -136(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$20, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$37, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$38, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$39, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$40, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$41, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$42, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$43, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$44, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$45, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$46, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$58, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$59, %edx
	callq	_rt2800_rfcsr_read_bank
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_read_bank
	orl	$3, %eax
	movq	%rbx, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$1, %edx
	callq	_rt2800_rfcsr_read_bank
	orl	$1, %eax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_rt2800_rfcsr_write_bank
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$500, %edi                      ## imm = 0x1F4
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$5, %esi
	movl	$1, %edx
	callq	_rt2800_rfcsr_read_bank
	testb	$1, %al
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%r14), %eax
	cmpl	$39, %r14d
	movl	%eax, %r14d
	jb	LBB0_1
LBB0_3:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_read_bank
                                        ## kill: def $eax killed $eax def $rax
	andl	$-4, %eax
	leal	1(%rax), %ecx
	movq	%rbx, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$23, %esi
	callq	_rt2800_bbp_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$-32, %eax
	leal	16(%rax), %edx
	movl	%edx, -56(%rbp)
	movq	%rbx, %rdi
	movl	$23, %esi
	callq	_rt2800_bbp_write
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	setne	%al
	movl	%eax, -216(%rbp)                ## 4-byte Spill
	sete	%cl
	movl	%ecx, -212(%rbp)                ## 4-byte Spill
	movl	$39, %eax
	movl	$9, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, -204(%rbp)                ## 4-byte Spill
	movl	$49, %ecx
	movl	$2, %eax
	cmovnel	%eax, %ecx
	movl	%ecx, -200(%rbp)                ## 4-byte Spill
	movl	$6, %eax
	movl	$58, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movl	$7, %eax
	movl	$59, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movb	$1, %dl
	xorl	%r15d, %r15d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, %al
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$4, %r15d
	xorl	%edx, %edx
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	%edx, %eax
	notb	%al
	movzbl	%al, %r13d
	andl	$1, %r13d
	movl	%edx, -208(%rbp)                ## 4-byte Spill
	testb	$1, %dl
	movl	-200(%rbp), %eax                ## 4-byte Reload
	cmovnel	-204(%rbp), %eax                ## 4-byte Folded Reload
	movl	%eax, -220(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	$5, %esi
	movl	$8, %edx
	callq	_rt2800_rfcsr_read_bank
	andl	$-5, %eax
	orl	%eax, %r15d
	movq	%r12, %rdi
	movl	$5, %esi
	movl	$8, %edx
	movl	%r15d, %ecx
	callq	_rt2800_rfcsr_write_bank
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%r13d, %edx
	callq	_rt2800_bbp_core_soft_reset
	movq	%r12, %rdi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_rt2800_rf_lp_config
	testl	%ebx, %ebx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmovel	%ebx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$0, %eax
	cmovnel	%eax, %r14d
	movq	%r12, %rdi
	movl	$5, %esi
	movl	-72(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	callq	_rt2800_rfcsr_read_bank
	andl	$-128, %eax
	movq	%r12, %rdi
	movl	$5, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_rt2800_rfcsr_write_bank
	movq	%r12, %rdi
	movl	$5, %esi
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	callq	_rt2800_rfcsr_read_bank
	andl	$-128, %eax
	movq	%r12, %rdi
	movl	$5, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_rt2800_rfcsr_write_bank
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_rt2800_bbp_dcoc_read
	andl	$-7, %eax
	movq	%r12, %rdi
	movl	$2, %esi
	movl	%eax, %edx
	callq	_rt2800_bbp_dcoc_write
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r13d, -224(%rbp)               ## 4-byte Spill
	movl	%r13d, %edx
	callq	_rt2800_bbp_core_soft_reset
	movq	%r12, %rdi
	callq	_rt2800_lp_tx_filter_bw_cal
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_rt2800_bbp_dcoc_read
	orl	$6, %eax
	movl	%eax, -56(%rbp)
	movq	%r12, %rdi
	movl	$2, %esi
	movl	%eax, %edx
	callq	_rt2800_bbp_dcoc_write
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%ebx, %ebx
	movl	%r14d, %r13d
	movl	%r14d, %r12d
	movl	%ecx, %r14d
	cmovel	%ecx, %r12d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	$5, %esi
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_rt2800_rfcsr_read_bank
	andl	$-128, %eax
	orl	%r12d, %eax
	movq	%r15, %rdi
	movl	$5, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_rt2800_rfcsr_write_bank
	movq	%r15, %rdi
	movl	$5, %esi
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_rt2800_rfcsr_read_bank
	andl	$-128, %eax
	orl	%r12d, %eax
	movq	%r15, %rdi
	movl	$5, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_rt2800_rfcsr_write_bank
	movl	$500, %edi                      ## imm = 0x1F4
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_usleep_range
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	-224(%rbp), %edx                ## 4-byte Reload
	callq	_rt2800_bbp_core_soft_reset
	movq	%r15, %rdi
	callq	_rt2800_lp_tx_filter_bw_cal
	movzbl	-41(%rbp), %ecx                 ## 1-byte Folded Reload
	subb	%al, %cl
	movsbl	%cl, %eax
	movl	-220(%rbp), %ecx                ## 4-byte Reload
	cmpl	%eax, %ecx
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	testl	%r12d, %r12d
	je	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	cmpl	%eax, %ecx
	jle	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$63, %r12d
	je	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	cmpl	%eax, %ecx
	jl	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$62, %r12d
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%r14d, %ecx
	jg	LBB0_13
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=2
	addl	-212(%rbp), %ecx                ## 4-byte Folded Reload
	movl	%r13d, %r14d
	addl	-216(%rbp), %r14d               ## 4-byte Folded Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	movl	%r14d, %ecx
	cmovel	%ebx, %ecx
	movl	$0, %eax
	movl	%r13d, %r14d
	cmovnel	%eax, %r14d
	jmp	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%r14d, %ecx
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r13d, %r14d
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%ebx, %ebx
	movl	-208(%rbp), %eax                ## 4-byte Reload
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	jne	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, %al
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, 8(%rax)
	jmp	LBB0_17
LBB0_18:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, 4(%rax)
	jmp	LBB0_22
LBB0_21:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, 12(%rax)
LBB0_22:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	movl	-176(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$1, %edx
	movl	-172(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$3, %edx
	movl	-168(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$4, %edx
	movl	-164(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$5, %edx
	movl	-160(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$6, %edx
	movl	-156(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$7, %edx
	movl	-152(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$8, %edx
	movl	-148(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$17, %edx
	movl	-144(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$18, %edx
	movl	-140(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$19, %edx
	movl	-136(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$20, %edx
	movl	-132(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$37, %edx
	movl	-128(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$38, %edx
	movl	-124(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$39, %edx
	movl	-120(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$40, %edx
	movl	-116(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$41, %edx
	movl	-112(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$42, %edx
	movl	-108(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$43, %edx
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$44, %edx
	movl	-100(%rbp), %ecx                ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$45, %edx
	movl	-96(%rbp), %ecx                 ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$46, %edx
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$58, %edx
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$59, %edx
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	callq	_rt2800_rfcsr_write_bank
	movq	%rbx, %rdi
	movl	$23, %esi
	movl	-188(%rbp), %edx                ## 4-byte Reload
	callq	_rt2800_bbp_write
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	-184(%rbp), %edx                ## 4-byte Reload
	callq	_rt2800_bbp_dcoc_write
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	-180(%rbp), %edx                ## 4-byte Reload
	callq	_rt2800_bbp_dcoc_write
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_rt2800_bbp_read
	movl	%eax, -56(%rbp)
	movq	_BBP4_BANDWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_CONFIG_CHANNEL_HT40@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %edx
	leaq	-56(%rbp), %rdi
	movl	%r14d, %esi
	callq	_rt2x00_set_field8
	movl	-56(%rbp), %edx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_rt2800_bbp_write
	movq	_RF_CONTROL0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-196(%rbp), %edx                ## 4-byte Reload
	callq	_rt2800_register_write
	movq	_RF_BYPASS0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-192(%rbp), %edx                ## 4-byte Reload
	callq	_rt2800_register_write
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RF_CONTROL0,4,2                ## @RF_CONTROL0
	.comm	_RF_BYPASS0,4,2                 ## @RF_BYPASS0
	.comm	_BBP4_BANDWIDTH,4,2             ## @BBP4_BANDWIDTH
	.comm	_CONFIG_CHANNEL_HT40,4,2        ## @CONFIG_CHANNEL_HT40
	.no_dead_strip	_rt2800_bw_filter_calibration
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2800_bw_filter_calibration
_rt2800_bw_filter_calibration:          ; @rt2800_bw_filter_calibration
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	x28, x27, [sp, #160]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #176]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #192]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	add	x29, sp, #240
	.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, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	str	x8, [sp, #120]                  ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _RF_CONTROL0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RF_CONTROL0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rt2800_register_read
	str	w0, [sp, #116]                  ; 4-byte Folded Spill
Lloh3:
	adrp	x8, _RF_BYPASS0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RF_BYPASS0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2800_register_read
	str	w0, [sp, #112]                  ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #23
	bl	_rt2800_bbp_read
	str	w0, [sp, #108]                  ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #0
	bl	_rt2800_bbp_dcoc_read
	str	w0, [sp, #104]                  ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2
	bl	_rt2800_bbp_dcoc_read
	str	w0, [sp, #100]                  ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #0
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #96]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #1
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #92]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #3
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #88]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #4
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #84]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #5
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #80]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #6
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #76]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #7
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #72]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #8
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #68]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #17
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #64]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #18
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #19
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #56]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #20
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #52]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #37
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #48]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #38
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #39
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #40]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #40
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #41
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #42
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #43
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #44
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #45
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #46
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #58
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #59
	bl	_rt2800_rfcsr_read_bank
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #5
	mov	w2, #0
	bl	_rt2800_rfcsr_read_bank
	orr	w3, w0, #0x3
	mov	x0, x19
	mov	w1, #5
	mov	w2, #0
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #1
	bl	_rt2800_rfcsr_read_bank
	orr	w3, w0, #0x1
	mov	x0, x19
	mov	w1, #5
	mov	w2, #1
	bl	_rt2800_rfcsr_write_bank
	mov	w20, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #500
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	mov	w1, #5
	mov	w2, #1
	bl	_rt2800_rfcsr_read_bank
	tbz	w0, #0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w8, w20, #1
	cmp	w20, #39
	mov	x20, x8
	b.lo	LBB0_1
LBB0_3:
	mov	x0, x19
	mov	w1, #5
	mov	w2, #0
	bl	_rt2800_rfcsr_read_bank
	and	w8, w0, #0xfffffffc
	orr	w3, w8, #0x1
	mov	x0, x19
	mov	w1, #5
	mov	w2, #0
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #23
	bl	_rt2800_bbp_read
	and	w8, w0, #0xffffffe0
	orr	w2, w8, #0x10
	stur	w2, [x29, #-92]
	mov	x0, x19
	mov	w1, #23
	bl	_rt2800_bbp_write
	mov	w20, #0
	mov	w22, #0
	mov	w23, #0
	mov	w8, #9
	mov	w9, #39
	cmp	w21, #0
	csel	w10, w9, w8, eq
	cset	w9, eq
	cset	w8, ne
	stp	w8, w9, [x29, #-100]            ; 8-byte Folded Spill
	mov	w8, #2
	mov	w9, #49
	csel	w8, w9, w8, eq
	stp	w8, w10, [x29, #-112]           ; 8-byte Folded Spill
	mov	w8, #58
	mov	w9, #6
	csel	w26, w9, w8, eq
	mov	w8, #59
	mov	w9, #7
	csel	w27, w9, w8, eq
	mov	w9, #1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mvn	w8, w9
	and	w28, w8, #0x1
	stur	w9, [x29, #-104]                ; 4-byte Folded Spill
	tst	w9, #0x1
	ldp	w9, w8, [x29, #-112]            ; 8-byte Folded Reload
	csel	w25, w8, w9, ne
	mov	x0, x19
	mov	w1, #5
	mov	w2, #8
	bl	_rt2800_rfcsr_read_bank
	and	w8, w0, #0xfffffffb
	orr	w3, w8, w20
	mov	x0, x19
	mov	w1, #5
	mov	w2, #8
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #1
	mov	x2, x28
	bl	_rt2800_bbp_core_soft_reset
	mov	x0, x19
	mov	x1, x21
	bl	_rt2800_rf_lp_config
	cmp	w21, #0
	csel	w22, wzr, w22, eq
	csel	w23, w23, wzr, eq
	mov	x0, x19
	mov	w1, #5
	mov	x2, x26
	bl	_rt2800_rfcsr_read_bank
	and	w3, w0, #0xffffff80
	mov	x0, x19
	mov	w1, #5
	mov	x2, x26
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	x2, x27
	bl	_rt2800_rfcsr_read_bank
	and	w3, w0, #0xffffff80
	mov	x0, x19
	mov	w1, #5
	mov	x2, x27
	bl	_rt2800_rfcsr_write_bank
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	mov	w1, #2
	bl	_rt2800_bbp_dcoc_read
	and	w2, w0, #0xfffffff9
	mov	x0, x19
	mov	w1, #2
	bl	_rt2800_bbp_dcoc_write
	mov	x0, x19
	mov	w1, #0
	mov	x2, x28
	bl	_rt2800_bbp_core_soft_reset
	mov	x0, x19
	bl	_rt2800_lp_tx_filter_bw_cal
	mov	x20, x0
	mov	x0, x19
	mov	w1, #2
	bl	_rt2800_bbp_dcoc_read
	orr	w2, w0, #0x6
	stur	w2, [x29, #-92]
	mov	x0, x19
	mov	w1, #2
	bl	_rt2800_bbp_dcoc_write
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x24, x21
	cmp	w21, #0
	csel	w21, w22, w23, eq
	mov	x0, x19
	mov	w1, #5
	mov	x2, x26
	bl	_rt2800_rfcsr_read_bank
	and	w8, w0, #0xffffff80
	orr	w3, w8, w21
	mov	x0, x19
	mov	w1, #5
	mov	x2, x26
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	x2, x27
	bl	_rt2800_rfcsr_read_bank
	and	w8, w0, #0xffffff80
	orr	w3, w8, w21
	mov	x0, x19
	mov	w1, #5
	mov	x2, x27
	bl	_rt2800_rfcsr_write_bank
	mov	w0, #500
	mov	w1, #1000
	bl	_usleep_range
	mov	x0, x19
	mov	w1, #0
	mov	x2, x28
	bl	_rt2800_bbp_core_soft_reset
	mov	x0, x19
	bl	_rt2800_lp_tx_filter_bw_cal
	sub	w8, w20, w0
	sxtb	w8, w8
	cmp	w25, w8
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	cbz	w21, LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=2
	cmp	w25, w8
	b.le	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	w21, #63
	b.eq	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=2
	cmp	w25, w8
	b.lt	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=2
	cmp	w21, #62
	b.gt	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=2
	ldur	w8, [x29, #-96]                 ; 4-byte Folded Reload
	add	w22, w22, w8
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	add	w23, w23, w8
	mov	x21, x24
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x24
	cmp	w24, #0
	csel	w22, wzr, w22, eq
	csel	w23, w23, wzr, eq
	ldur	w8, [x29, #-104]                ; 4-byte Folded Reload
	cbz	w21, LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	tbz	w8, #0, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	ldr	x8, [sp, #120]                  ; 8-byte Folded Reload
	str	w23, [x8]
	mov	w20, #4
	b	LBB0_4
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x24
	ldur	w8, [x29, #-104]                ; 4-byte Folded Reload
	cbnz	w21, LBB0_13
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	tbz	w8, #0, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	ldr	x8, [sp, #120]                  ; 8-byte Folded Reload
	str	w22, [x8, #8]
	mov	w20, #4
	b	LBB0_4
LBB0_18:
	ldr	x8, [sp, #120]                  ; 8-byte Folded Reload
	str	w23, [x8, #4]
	b	LBB0_20
LBB0_19:
	ldr	x8, [sp, #120]                  ; 8-byte Folded Reload
	str	w22, [x8, #12]
LBB0_20:
	mov	x0, x19
	mov	w1, #5
	mov	w2, #0
	ldr	w3, [sp, #96]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #1
	ldr	w3, [sp, #92]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #3
	ldr	w3, [sp, #88]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #4
	ldr	w3, [sp, #84]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #5
	ldr	w3, [sp, #80]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #6
	ldr	w3, [sp, #76]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #7
	ldr	w3, [sp, #72]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #8
	ldr	w3, [sp, #68]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #17
	ldr	w3, [sp, #64]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #18
	ldr	w3, [sp, #60]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #19
	ldr	w3, [sp, #56]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #20
	ldr	w3, [sp, #52]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #37
	ldr	w3, [sp, #48]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #38
	ldr	w3, [sp, #44]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #39
	ldr	w3, [sp, #40]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #40
	ldr	w3, [sp, #36]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #41
	ldr	w3, [sp, #32]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #42
	ldr	w3, [sp, #28]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #43
	ldr	w3, [sp, #24]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #44
	ldr	w3, [sp, #20]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #45
	ldr	w3, [sp, #16]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #46
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #58
	ldr	w3, [sp, #8]                    ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #5
	mov	w2, #59
	ldr	w3, [sp, #4]                    ; 4-byte Folded Reload
	bl	_rt2800_rfcsr_write_bank
	mov	x0, x19
	mov	w1, #23
	ldr	w2, [sp, #108]                  ; 4-byte Folded Reload
	bl	_rt2800_bbp_write
	mov	x0, x19
	mov	w1, #0
	ldr	w2, [sp, #104]                  ; 4-byte Folded Reload
	bl	_rt2800_bbp_dcoc_write
	mov	x0, x19
	mov	w1, #2
	ldr	w2, [sp, #100]                  ; 4-byte Folded Reload
	bl	_rt2800_bbp_dcoc_write
	mov	x0, x19
	mov	w1, #4
	bl	_rt2800_bbp_read
	stur	w0, [x29, #-92]
Lloh6:
	adrp	x8, _BBP4_BANDWIDTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BBP4_BANDWIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
Lloh9:
	adrp	x8, _CONFIG_CHANNEL_HT40@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CONFIG_CHANNEL_HT40@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	lsl	w2, w0, #1
	sub	x0, x29, #92
	mov	x1, x20
	bl	_rt2x00_set_field8
	ldur	w2, [x29, #-92]
	mov	x0, x19
	mov	w1, #4
	bl	_rt2800_bbp_write
Lloh12:
	adrp	x8, _RF_CONTROL0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RF_CONTROL0@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #116]                  ; 4-byte Folded Reload
	bl	_rt2800_register_write
Lloh15:
	adrp	x8, _RF_BYPASS0@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RF_BYPASS0@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #112]                  ; 4-byte Folded Reload
	bl	_rt2800_register_write
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #192]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #176]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RF_CONTROL0,4,2                ; @RF_CONTROL0
	.comm	_RF_BYPASS0,4,2                 ; @RF_BYPASS0
	.comm	_BBP4_BANDWIDTH,4,2             ; @BBP4_BANDWIDTH
	.comm	_CONFIG_CHANNEL_HT40,4,2        ; @CONFIG_CHANNEL_HT40
	.no_dead_strip	_rt2800_bw_filter_calibration
.subsections_via_symbols
