	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw8822c_rf_x2_check
_rtw8822c_rf_x2_check:                  ## @rtw8822c_rf_x2_check
	.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, %r14
	movl	$1, %edi
	callq	_mdelay
	movq	_RF_PATH_A@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movl	$15, %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$184, %edx
	movl	%eax, %ecx
	callq	_rtw_read_rf
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.2:
	movl	(%r15), %esi
	movq	_RFREG_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movl	$184, %edx
	movl	$803904, %r8d                   ## imm = 0xC4440
	callq	_rtw_write_rf
	movl	(%r15), %esi
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movl	$186, %edx
	movl	$427021, %r8d                   ## imm = 0x6840D
	callq	_rtw_write_rf
	movl	(%r15), %esi
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movl	$184, %edx
	movl	$525376, %r8d                   ## imm = 0x80440
	callq	_rtw_write_rf
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mdelay                         ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RF_PATH_A,4,2                  ## @RF_PATH_A
	.comm	_RFREG_MASK,4,2                 ## @RFREG_MASK
	.no_dead_strip	_rtw8822c_rf_x2_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw8822c_rf_x2_check
_rtw8822c_rf_x2_check:                  ; @rtw8822c_rf_x2_check
	.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	w0, #1
	bl	_mdelay
Lloh0:
	adrp	x21, _RF_PATH_A@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RF_PATH_A@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	w0, #15
	bl	_BIT
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #184
	bl	_rtw_read_rf
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x21]
Lloh2:
	adrp	x20, _RFREG_MASK@GOTPAGE
Lloh3:
	ldr	x20, [x20, _RFREG_MASK@GOTPAGEOFF]
	ldr	w3, [x20]
	mov	w8, #16384
	movk	w8, #4, lsl #16
	mov	w9, #1088
	movk	w9, #8, lsl #16
	orr	w4, w9, w8
	mov	x0, x19
	mov	w2, #184
	bl	_rtw_write_rf
	ldr	w1, [x21]
	ldr	w3, [x20]
	mov	x0, x19
	mov	w2, #186
	mov	w4, #33805
	movk	w4, #6, lsl #16
	bl	_rtw_write_rf
	ldr	w1, [x21]
	ldr	w3, [x20]
	mov	x0, x19
	mov	w2, #184
	mov	w4, #1088
	movk	w4, #8, lsl #16
	bl	_rtw_write_rf
	mov	w0, #1
	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	_mdelay
LBB0_2:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_RF_PATH_A,4,2                  ; @RF_PATH_A
	.comm	_RFREG_MASK,4,2                 ; @RFREG_MASK
	.no_dead_strip	_rtw8822c_rf_x2_check
.subsections_via_symbols
