	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2800_init_rfcsr_3290
_rt2800_init_rfcsr_3290:                ## @rt2800_init_rfcsr_3290
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$2, %esi
	callq	_rt2800_rf_init_calibration
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$15, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$128, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	$8, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$6, %esi
	movl	$160, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$8, %esi
	movl	$243, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$9, %esi
	movl	$2, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$10, %esi
	movl	$83, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$11, %esi
	movl	$74, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$12, %esi
	movl	$70, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$13, %esi
	movl	$159, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$18, %esi
	movl	$2, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$22, %esi
	movl	$32, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$25, %esi
	movl	$131, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$26, %esi
	movl	$130, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$27, %esi
	movl	$9, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$29, %esi
	movl	$16, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$30, %esi
	movl	$16, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$128, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$32, %esi
	movl	$128, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$33, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$34, %esi
	movl	$5, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$35, %esi
	movl	$18, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$36, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$38, %esi
	movl	$133, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$39, %esi
	movl	$27, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$40, %esi
	movl	$11, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$41, %esi
	movl	$187, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$42, %esi
	movl	$213, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$43, %esi
	movl	$123, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$44, %esi
	movl	$14, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$45, %esi
	movl	$162, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$46, %esi
	movl	$115, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$47, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$48, %esi
	movl	$16, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$49, %esi
	movl	$152, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$52, %esi
	movl	$56, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$53, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$54, %esi
	movl	$120, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$55, %esi
	movl	$67, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$56, %esi
	movl	$2, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$57, %esi
	movl	$128, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$58, %esi
	movl	$127, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$59, %esi
	movl	$9, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$60, %esi
	movl	$69, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$61, %esi
	movl	$193, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$29, %esi
	callq	_rt2800_rfcsr_read
	movl	%eax, -12(%rbp)
	movq	_RFCSR29_RSSI_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdi
	movl	$3, %edx
	callq	_rt2x00_set_field8
	movl	-12(%rbp), %edx
	movq	%rbx, %rdi
	movl	$29, %esi
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	callq	_rt2800_led_open_drain_enable
	movq	%rbx, %rdi
	callq	_rt2800_normal_mode_setup_3xxx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RFCSR29_RSSI_GAIN,4,2          ## @RFCSR29_RSSI_GAIN
	.no_dead_strip	_rt2800_init_rfcsr_3290
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2800_init_rfcsr_3290
_rt2800_init_rfcsr_3290:                ; @rt2800_init_rfcsr_3290
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #2
	bl	_rt2800_rf_init_calibration
	mov	x0, x19
	mov	w1, #1
	mov	w2, #15
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #2
	mov	w2, #128
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #3
	mov	w2, #8
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #6
	mov	w2, #160
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #8
	mov	w2, #243
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #9
	mov	w2, #2
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #10
	mov	w2, #83
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #11
	mov	w2, #74
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #12
	mov	w2, #70
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #13
	mov	w2, #159
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #18
	mov	w2, #2
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #22
	mov	w2, #32
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #25
	mov	w2, #131
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #26
	mov	w2, #130
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #27
	mov	w2, #9
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #29
	mov	w2, #16
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #30
	mov	w2, #16
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #31
	mov	w2, #128
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #32
	mov	w2, #128
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #33
	mov	w2, #0
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #34
	mov	w2, #5
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #35
	mov	w2, #18
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #36
	mov	w2, #0
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #38
	mov	w2, #133
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #39
	mov	w2, #27
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #40
	mov	w2, #11
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #41
	mov	w2, #187
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #42
	mov	w2, #213
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #43
	mov	w2, #123
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #44
	mov	w2, #14
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #45
	mov	w2, #162
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #46
	mov	w2, #115
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #47
	mov	w2, #0
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #48
	mov	w2, #16
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #49
	mov	w2, #152
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #52
	mov	w2, #56
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #53
	mov	w2, #0
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #54
	mov	w2, #120
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #55
	mov	w2, #67
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #56
	mov	w2, #2
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #57
	mov	w2, #128
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #58
	mov	w2, #127
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #59
	mov	w2, #9
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #60
	mov	w2, #69
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #61
	mov	w2, #193
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #29
	bl	_rt2800_rfcsr_read
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _RFCSR29_RSSI_GAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFCSR29_RSSI_GAIN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #3
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #29
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	bl	_rt2800_led_open_drain_enable
	mov	x0, x19
	bl	_rt2800_normal_mode_setup_3xxx
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RFCSR29_RSSI_GAIN,4,2          ; @RFCSR29_RSSI_GAIN
	.no_dead_strip	_rt2800_init_rfcsr_3290
.subsections_via_symbols
