	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2800_init_rfcsr_5592
_rt2800_init_rfcsr_5592:                ## @rt2800_init_rfcsr_5592
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$30, %esi
	callq	_rt2800_rf_init_calibration
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$63, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	$8, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$16, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$6, %esi
	movl	$228, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$7, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$14, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$15, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$18, %esi
	movl	$3, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$77, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$16, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$141, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$26, %esi
	movl	$130, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$28, %esi
	xorl	%edx, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$29, %esi
	movl	$16, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$33, %esi
	movl	$192, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$34, %esi
	movl	$7, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$35, %esi
	movl	$18, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$47, %esi
	movl	$12, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$53, %esi
	movl	$34, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$63, %esi
	movl	$7, %edx
	callq	_rt2800_rfcsr_write
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$128, %edx
	callq	_rt2800_rfcsr_write
	movl	$1, %edi
	callq	_msleep
	movq	%rbx, %rdi
	callq	_rt2800_freq_cal_mode1
	movq	_RT5592@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_REV_RT5592C@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_rt2x00_rt_rev_gte
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$103, %esi
	movl	$192, %edx
	callq	_rt2800_bbp_write
LBB0_2:
	movq	%rbx, %rdi
	callq	_rt2800_normal_mode_setup_5xxx
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_rt2x00_rt_rev_lt
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	$27, %esi
	movl	$3, %edx
	callq	_rt2800_rfcsr_write
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rt2800_led_open_drain_enable   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RT5592,4,2                     ## @RT5592
	.comm	_REV_RT5592C,4,2                ## @REV_RT5592C
	.no_dead_strip	_rt2800_init_rfcsr_5592
.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_5592
_rt2800_init_rfcsr_5592:                ; @rt2800_init_rfcsr_5592
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	mov	w1, #30
	bl	_rt2800_rf_init_calibration
	mov	x0, x19
	mov	w1, #1
	mov	w2, #63
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #3
	mov	w2, #8
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #5
	mov	w2, #16
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #6
	mov	w2, #228
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #7
	mov	w2, #0
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #14
	mov	w2, #0
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #15
	mov	w2, #0
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #18
	mov	w2, #3
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #19
	mov	w2, #77
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #20
	mov	w2, #16
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #21
	mov	w2, #141
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #26
	mov	w2, #130
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #28
	mov	w2, #0
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #29
	mov	w2, #16
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #33
	mov	w2, #192
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #34
	mov	w2, #7
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #35
	mov	w2, #18
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #47
	mov	w2, #12
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #53
	mov	w2, #34
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #63
	mov	w2, #7
	bl	_rt2800_rfcsr_write
	mov	x0, x19
	mov	w1, #2
	mov	w2, #128
	bl	_rt2800_rfcsr_write
	mov	w0, #1
	bl	_msleep
	mov	x0, x19
	bl	_rt2800_freq_cal_mode1
Lloh0:
	adrp	x20, _RT5592@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RT5592@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _REV_RT5592C@GOTPAGE
Lloh3:
	ldr	x21, [x21, _REV_RT5592C@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_rt2x00_rt_rev_gte
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #103
	mov	w2, #192
	bl	_rt2800_bbp_write
LBB0_2:
	mov	x0, x19
	bl	_rt2800_normal_mode_setup_5xxx
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_rt2x00_rt_rev_lt
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #27
	mov	w2, #3
	bl	_rt2800_rfcsr_write
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rt2800_led_open_drain_enable
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RT5592,4,2                     ; @RT5592
	.comm	_REV_RT5592C,4,2                ; @REV_RT5592C
	.no_dead_strip	_rt2800_init_rfcsr_5592
.subsections_via_symbols
