	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtc_from4_enable_hwecc
_rtc_from4_enable_hwecc:                ## @rtc_from4_enable_hwecc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_rtc_from4_fio_base@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_RTC_FROM4_RS_ECC_CTL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_7
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_6
## %bb.3:
	movq	_RTC_FROM4_RS_ECC_CTL_CLR@GOTPCREL(%rip), %rdx
	movq	_RTC_FROM4_RS_ECC_CTL_FD_E@GOTPCREL(%rip), %rsi
	movzwl	(%rsi), %esi
	jmp	LBB0_4
LBB0_5:
	movq	_RTC_FROM4_RS_ECC_CTL_CLR@GOTPCREL(%rip), %rdx
	movq	_RTC_FROM4_RS_ECC_CTL_GEN@GOTPCREL(%rip), %rsi
	movzwl	(%rsi), %esi
	orw	(%rdx), %si
	movq	_RTC_FROM4_RS_ECC_CTL_FD_E@GOTPCREL(%rip), %rdx
LBB0_4:
	orw	(%rdx), %si
	movw	%si, (%rax,%rcx)
	popq	%rbp
	retq
LBB0_7:
	movw	$0, (%rax,%rcx)
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rtc_from4_fio_base,8,3         ## @rtc_from4_fio_base
	.comm	_RTC_FROM4_RS_ECC_CTL,8,3       ## @RTC_FROM4_RS_ECC_CTL
	.comm	_RTC_FROM4_RS_ECC_CTL_CLR,2,1   ## @RTC_FROM4_RS_ECC_CTL_CLR
	.comm	_RTC_FROM4_RS_ECC_CTL_FD_E,2,1  ## @RTC_FROM4_RS_ECC_CTL_FD_E
	.comm	_RTC_FROM4_RS_ECC_CTL_GEN,2,1   ## @RTC_FROM4_RS_ECC_CTL_GEN
	.no_dead_strip	_rtc_from4_enable_hwecc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtc_from4_enable_hwecc
_rtc_from4_enable_hwecc:                ; @rtc_from4_enable_hwecc
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _rtc_from4_fio_base@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rtc_from4_fio_base@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _RTC_FROM4_RS_ECC_CTL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RTC_FROM4_RS_ECC_CTL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_6
; %bb.3:
Lloh6:
	adrp	x10, _RTC_FROM4_RS_ECC_CTL_CLR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RTC_FROM4_RS_ECC_CTL_CLR@GOTPAGEOFF]
	ldrh	w10, [x10]
Lloh8:
	adrp	x11, _RTC_FROM4_RS_ECC_CTL_FD_E@GOTPAGE
Lloh9:
	ldr	x11, [x11, _RTC_FROM4_RS_ECC_CTL_FD_E@GOTPAGEOFF]
	ldrh	w11, [x11]
	orr	w10, w11, w10
	strh	w10, [x8, x9]
	ret
LBB0_4:
Lloh10:
	adrp	x10, _RTC_FROM4_RS_ECC_CTL_CLR@GOTPAGE
Lloh11:
	ldr	x10, [x10, _RTC_FROM4_RS_ECC_CTL_CLR@GOTPAGEOFF]
	ldrh	w10, [x10]
Lloh12:
	adrp	x11, _RTC_FROM4_RS_ECC_CTL_GEN@GOTPAGE
Lloh13:
	ldr	x11, [x11, _RTC_FROM4_RS_ECC_CTL_GEN@GOTPAGEOFF]
	ldrh	w11, [x11]
	orr	w10, w11, w10
Lloh14:
	adrp	x11, _RTC_FROM4_RS_ECC_CTL_FD_E@GOTPAGE
Lloh15:
	ldr	x11, [x11, _RTC_FROM4_RS_ECC_CTL_FD_E@GOTPAGEOFF]
	ldrh	w11, [x11]
	orr	w10, w10, w11
	strh	w10, [x8, x9]
	ret
LBB0_5:
	strh	wzr, [x8, x9]
	ret
LBB0_6:
	b	_BUG
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_rtc_from4_fio_base,8,3         ; @rtc_from4_fio_base
	.comm	_RTC_FROM4_RS_ECC_CTL,8,3       ; @RTC_FROM4_RS_ECC_CTL
	.comm	_RTC_FROM4_RS_ECC_CTL_CLR,2,1   ; @RTC_FROM4_RS_ECC_CTL_CLR
	.comm	_RTC_FROM4_RS_ECC_CTL_FD_E,2,1  ; @RTC_FROM4_RS_ECC_CTL_FD_E
	.comm	_RTC_FROM4_RS_ECC_CTL_GEN,2,1   ; @RTC_FROM4_RS_ECC_CTL_GEN
	.no_dead_strip	_rtc_from4_enable_hwecc
.subsections_via_symbols
