	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8225z2_rf_init
_rtl8225z2_rf_init:                     ## @rtl8225z2_rf_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	xorl	%esi, %esi
	movl	$703, %edx                      ## imm = 0x2BF
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$1, %esi
	movl	$3808, %edx                     ## imm = 0xEE0
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$2, %esi
	movl	$1101, %edx                     ## imm = 0x44D
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$3, %esi
	movl	$1089, %edx                     ## imm = 0x441
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$4, %esi
	movl	$2243, %edx                     ## imm = 0x8C3
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$5, %esi
	movl	$3186, %edx                     ## imm = 0xC72
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$6, %esi
	movl	$230, %edx
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$7, %esi
	movl	$2090, %edx                     ## imm = 0x82A
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$63, %edx
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$9, %esi
	movl	$821, %edx                      ## imm = 0x335
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$10, %esi
	movl	$2516, %edx                     ## imm = 0x9D4
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$11, %esi
	movl	$1979, %edx                     ## imm = 0x7BB
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$12, %esi
	movl	$2128, %edx                     ## imm = 0x850
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$13, %esi
	movl	$3295, %edx                     ## imm = 0xCDF
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$14, %esi
	movl	$43, %edx
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$15, %esi
	movl	$276, %edx                      ## imm = 0x114
	callq	_rtl8225_write
	movl	$100, %edi
	callq	_msleep
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$439, %edx                      ## imm = 0x1B7
	callq	_rtl8225_write
	movq	_rtl8225z2_rxgain@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rbx), %r13
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%r13d, %edx
	callq	_rtl8225_write
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_rtl8225_write
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	movq	%r13, %rbx
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	movl	$3, %esi
	movl	$128, %edx
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$5, %esi
	movl	$4, %edx
	callq	_rtl8225_write
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$183, %edx
	callq	_rtl8225_write
	movq	%r15, %rdi
	movl	$2, %esi
	movl	$3149, %edx                     ## imm = 0xC4D
	callq	_rtl8225_write
	movl	$200, %edi
	callq	_msleep
	movq	%r15, %rdi
	movl	$2, %esi
	movl	$1101, %edx                     ## imm = 0x44D
	callq	_rtl8225_write
	movl	$100, %edi
	callq	_msleep
	movq	%r15, %rdi
	movl	$6, %esi
	callq	_rtl8225_read
	testb	$-128, %al
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	movl	$2, %esi
	movl	$3149, %edx                     ## imm = 0xC4D
	callq	_rtl8225_write
	movl	$200, %edi
	callq	_msleep
	movq	%r15, %rdi
	movl	$2, %esi
	movl	$1101, %edx                     ## imm = 0x44D
	callq	_rtl8225_write
	movl	$100, %edi
	callq	_msleep
	movq	%r15, %rdi
	movl	$6, %esi
	callq	_rtl8225_read
	testb	$-128, %al
	jne	LBB0_6
## %bb.5:
	movl	(%r15), %ebx
	movq	%r15, %rdi
	movl	$6, %esi
	callq	_rtl8225_read
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_wiphy_warn
LBB0_6:
	movl	$200, %edi
	callq	_msleep
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$703, %edx                      ## imm = 0x2BF
	callq	_rtl8225_write
	movq	_rtl8225_agc@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	movl	$11, %esi
	callq	_rtl8225_write_phy_ofdm
	leal	128(%rbx), %edx
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_rtl8225_write_phy_ofdm
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movl	$1, %edi
	callq	_msleep
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$1, %esi
	movl	$2, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$2, %esi
	movl	$66, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$6, %esi
	movl	$64, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$7, %esi
	xorl	%edx, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$64, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$9, %esi
	movl	$254, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$10, %esi
	movl	$8, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$11, %esi
	movl	$128, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$12, %esi
	movl	$1, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$13, %esi
	movl	$67, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$14, %esi
	movl	$211, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$15, %esi
	movl	$56, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$16, %esi
	movl	$132, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$17, %esi
	movl	$7, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$18, %esi
	movl	$32, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$19, %esi
	movl	$32, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$20, %esi
	xorl	%edx, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$21, %esi
	movl	$64, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$22, %esi
	xorl	%edx, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$23, %esi
	movl	$64, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$24, %esi
	movl	$239, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$25, %esi
	movl	$25, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$26, %esi
	movl	$32, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$27, %esi
	movl	$21, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$28, %esi
	movl	$4, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$29, %esi
	movl	$197, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$30, %esi
	movl	$149, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$31, %esi
	movl	$117, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$32, %esi
	movl	$31, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$33, %esi
	movl	$23, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$34, %esi
	movl	$22, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$35, %esi
	movl	$128, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$36, %esi
	movl	$70, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$37, %esi
	xorl	%edx, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$38, %esi
	movl	$144, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$39, %esi
	movl	$136, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	_rtl8225z2_gain_bg@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	48(%rax), %edx
	movq	%r15, %rdi
	movl	$11, %esi
	callq	_rtl8225_write_phy_ofdm
	movq	(%rbx), %rax
	movl	52(%rax), %edx
	movq	%r15, %rdi
	movl	$27, %esi
	callq	_rtl8225_write_phy_ofdm
	movq	(%rbx), %rax
	movl	56(%rax), %edx
	movq	%r15, %rdi
	movl	$29, %esi
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	movl	$33, %esi
	movl	$55, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$152, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$3, %esi
	movl	$32, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$4, %esi
	movl	$126, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$5, %esi
	movl	$18, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$6, %esi
	movl	$252, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$7, %esi
	movl	$120, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$46, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$16, %esi
	movl	$155, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$17, %esi
	movl	$136, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$18, %esi
	movl	$71, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$19, %esi
	movl	$208, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$25, %esi
	xorl	%edx, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$26, %esi
	movl	$160, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$27, %esi
	movl	$8, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$64, %esi
	movl	$134, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$65, %esi
	movl	$141, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$66, %esi
	movl	$21, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$67, %esi
	movl	$24, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$68, %esi
	movl	$54, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$69, %esi
	movl	$53, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$70, %esi
	movl	$46, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$71, %esi
	movl	$37, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$72, %esi
	movl	$28, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$73, %esi
	movl	$18, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$74, %esi
	movl	$9, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$75, %esi
	movl	$4, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$76, %esi
	movl	$5, %edx
	callq	_rtl8225_write_phy_cck
	movl	$65371, %esi                    ## imm = 0xFF5B
	movq	%r14, %rdi
	movl	$13, %edx
	callq	_rtl818x_iowrite8
	movl	$1, %edi
	callq	_msleep
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rtl8225z2_rf_set_tx_power
	movq	%r15, %rdi
	movl	$16, %esi
	movl	$155, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r15, %rdi
	movl	$38, %esi
	movl	$144, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	(%r14), %rsi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_rtl818x_iowrite8
	movl	$1, %edi
	callq	_msleep
	movl	$65428, %esi                    ## imm = 0xFF94
	movq	%r14, %rdi
	movl	$1035993090, %edx               ## imm = 0x3DC00002
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl818x_iowrite32              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rtl8225z2_rxgain,8,3           ## @rtl8225z2_rxgain
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RF Calibration Failed! %x\n"

	.comm	_rtl8225_agc,8,3                ## @rtl8225_agc
	.comm	_rtl8225z2_gain_bg,8,3          ## @rtl8225z2_gain_bg
	.no_dead_strip	_rtl8225z2_rf_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8225z2_rf_init
_rtl8225z2_rf_init:                     ; @rtl8225z2_rf_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	ldr	x19, [x0, #8]
	mov	w1, #0
	mov	w2, #703
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #1
	mov	w2, #3808
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #2
	mov	w2, #1101
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #3
	mov	w2, #1089
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #4
	mov	w2, #2243
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #5
	mov	w2, #3186
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #6
	mov	w2, #230
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #7
	mov	w2, #2090
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #8
	mov	w2, #63
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #9
	mov	w2, #821
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #10
	mov	w2, #2516
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #11
	mov	w2, #1979
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #12
	mov	w2, #2128
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #13
	mov	w2, #3295
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #14
	mov	w2, #43
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #15
	mov	w2, #276
	bl	_rtl8225_write
	mov	w0, #100
	bl	_msleep
	mov	x0, x20
	mov	w1, #0
	mov	w2, #439
	bl	_rtl8225_write
Lloh0:
	adrp	x22, _rtl8225z2_rxgain@GOTPAGE
Lloh1:
	ldr	x22, [x22, _rtl8225z2_rxgain@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x23, #1
	mov	x0, x20
	mov	w1, #1
	mov	x2, x21
	bl	_rtl8225_write
	ldr	x8, [x22]
	ldr	w2, [x8, x23, lsl #2]
	mov	x0, x20
	mov	w1, #2
	bl	_rtl8225_write
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	mov	x23, x21
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x20
	mov	w1, #3
	mov	w2, #128
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #5
	mov	w2, #4
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #0
	mov	w2, #183
	bl	_rtl8225_write
	mov	x0, x20
	mov	w1, #2
	mov	w2, #3149
	bl	_rtl8225_write
	mov	w0, #200
	bl	_msleep
	mov	x0, x20
	mov	w1, #2
	mov	w2, #1101
	bl	_rtl8225_write
	mov	w0, #100
	bl	_msleep
	mov	x0, x20
	mov	w1, #6
	bl	_rtl8225_read
	tbnz	w0, #7, LBB0_6
; %bb.4:
	mov	x0, x20
	mov	w1, #2
	mov	w2, #3149
	bl	_rtl8225_write
	mov	w0, #200
	bl	_msleep
	mov	x0, x20
	mov	w1, #2
	mov	w2, #1101
	bl	_rtl8225_write
	mov	w0, #100
	bl	_msleep
	mov	x0, x20
	mov	w1, #6
	bl	_rtl8225_read
	tbnz	w0, #7, LBB0_6
; %bb.5:
	ldr	w21, [x20]
	mov	x0, x20
	mov	w1, #6
	bl	_rtl8225_read
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_wiphy_warn
LBB0_6:
	mov	w0, #200
	bl	_msleep
	mov	x0, x20
	mov	w1, #0
	mov	w2, #703
	bl	_rtl8225_write
Lloh4:
	adrp	x21, _rtl8225_agc@GOTPAGE
Lloh5:
	ldr	x21, [x21, _rtl8225_agc@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x22, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w2, [x8, x22, lsl #2]
	mov	x0, x20
	mov	w1, #11
	bl	_rtl8225_write_phy_ofdm
	add	w2, w22, #128
	mov	x0, x20
	mov	w1, #10
	bl	_rtl8225_write_phy_ofdm
	add	x22, x22, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_8
LBB0_9:
	mov	w0, #1
	bl	_msleep
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #1
	mov	w2, #2
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #2
	mov	w2, #66
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #3
	mov	w2, #0
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #4
	mov	w2, #0
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #5
	mov	w2, #0
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #6
	mov	w2, #64
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #7
	mov	w2, #0
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #8
	mov	w2, #64
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #9
	mov	w2, #254
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #10
	mov	w2, #8
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #11
	mov	w2, #128
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #12
	mov	w2, #1
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #13
	mov	w2, #67
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #14
	mov	w2, #211
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #15
	mov	w2, #56
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #16
	mov	w2, #132
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #17
	mov	w2, #7
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #18
	mov	w2, #32
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #19
	mov	w2, #32
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #20
	mov	w2, #0
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #21
	mov	w2, #64
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #22
	mov	w2, #0
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #23
	mov	w2, #64
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #24
	mov	w2, #239
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #25
	mov	w2, #25
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #26
	mov	w2, #32
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #27
	mov	w2, #21
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #28
	mov	w2, #4
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #29
	mov	w2, #197
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #30
	mov	w2, #149
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #31
	mov	w2, #117
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #32
	mov	w2, #31
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #33
	mov	w2, #23
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #34
	mov	w2, #22
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #35
	mov	w2, #128
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #36
	mov	w2, #70
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #37
	mov	w2, #0
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #38
	mov	w2, #144
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #39
	mov	w2, #136
	bl	_rtl8225_write_phy_ofdm
Lloh6:
	adrp	x21, _rtl8225z2_gain_bg@GOTPAGE
Lloh7:
	ldr	x21, [x21, _rtl8225z2_gain_bg@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w2, [x8, #48]
	mov	x0, x20
	mov	w1, #11
	bl	_rtl8225_write_phy_ofdm
	ldr	x8, [x21]
	ldr	w2, [x8, #52]
	mov	x0, x20
	mov	w1, #27
	bl	_rtl8225_write_phy_ofdm
	ldr	x8, [x21]
	ldr	w2, [x8, #56]
	mov	x0, x20
	mov	w1, #29
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #33
	mov	w2, #55
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x20
	mov	w1, #0
	mov	w2, #152
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #3
	mov	w2, #32
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #4
	mov	w2, #126
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #5
	mov	w2, #18
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #6
	mov	w2, #252
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #7
	mov	w2, #120
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #8
	mov	w2, #46
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #16
	mov	w2, #155
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #17
	mov	w2, #136
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #18
	mov	w2, #71
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #19
	mov	w2, #208
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #25
	mov	w2, #0
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #26
	mov	w2, #160
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #27
	mov	w2, #8
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #64
	mov	w2, #134
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #65
	mov	w2, #141
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #66
	mov	w2, #21
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #67
	mov	w2, #24
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #68
	mov	w2, #54
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #69
	mov	w2, #53
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #70
	mov	w2, #46
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #71
	mov	w2, #37
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #72
	mov	w2, #28
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #73
	mov	w2, #18
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #74
	mov	w2, #9
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #75
	mov	w2, #4
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #76
	mov	w2, #5
	bl	_rtl8225_write_phy_cck
	mov	x0, x19
	mov	w1, #65371
	mov	w2, #13
	bl	_rtl818x_iowrite8
	mov	w0, #1
	bl	_msleep
	mov	x0, x20
	mov	w1, #1
	bl	_rtl8225z2_rf_set_tx_power
	mov	x0, x20
	mov	w1, #16
	mov	w2, #155
	bl	_rtl8225_write_phy_cck
	mov	x0, x20
	mov	w1, #38
	mov	w2, #144
	bl	_rtl8225_write_phy_ofdm
	ldr	x1, [x19]
	mov	x0, x19
	mov	w2, #3
	bl	_rtl818x_iowrite8
	mov	w0, #1
	bl	_msleep
	mov	x0, x19
	mov	w1, #65428
	mov	w2, #2
	movk	w2, #15808, lsl #16
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rtl818x_iowrite32
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_rtl8225z2_rxgain,8,3           ; @rtl8225z2_rxgain
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RF Calibration Failed! %x\n"

	.comm	_rtl8225_agc,8,3                ; @rtl8225_agc
	.comm	_rtl8225z2_gain_bg,8,3          ; @rtl8225z2_gain_bg
	.no_dead_strip	_rtl8225z2_rf_init
.subsections_via_symbols
