	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function umc_v6_1_ras_init_per_channel
_umc_v6_1_ras_init_per_channel:         ## @umc_v6_1_ras_init_per_channel
	.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	%rdx, %r15
	movq	_UMC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_mmUMCCH0_0_EccErrCntSel@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movq	%rax, %r12
	movl	(%rbx), %edi
	movq	_mmUMCCH0_0_EccErrCnt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movq	%rax, %r14
	addq	%r15, %r12
	movq	%r12, %rdi
	callq	_RREG32
	movq	_UMCCH0_0_EccErrCntSel@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_EccErrCntCsSel@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r13), %esi
	movq	_EccErrInt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_WREG32
	addq	%r15, %r14
	movq	_UMC_V6_1_CE_CNT_INIT@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	%r14, %rdi
	callq	_WREG32
	movl	(%r13), %esi
	movq	_EccErrCntCsSel@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_WREG32
	movq	(%r15), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UMC,4,2                        ## @UMC
	.comm	_mmUMCCH0_0_EccErrCntSel,4,2    ## @mmUMCCH0_0_EccErrCntSel
	.comm	_mmUMCCH0_0_EccErrCnt,4,2       ## @mmUMCCH0_0_EccErrCnt
	.comm	_UMCCH0_0_EccErrCntSel,4,2      ## @UMCCH0_0_EccErrCntSel
	.comm	_EccErrCntCsSel,4,2             ## @EccErrCntCsSel
	.comm	_EccErrInt,4,2                  ## @EccErrInt
	.comm	_UMC_V6_1_CE_CNT_INIT,8,3       ## @UMC_V6_1_CE_CNT_INIT
	.no_dead_strip	_umc_v6_1_ras_init_per_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function umc_v6_1_ras_init_per_channel
_umc_v6_1_ras_init_per_channel:         ; @umc_v6_1_ras_init_per_channel
	.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	x19, x2
Lloh0:
	adrp	x21, _UMC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _UMC@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _mmUMCCH0_0_EccErrCntSel@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mmUMCCH0_0_EccErrCntSel@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	mov	x20, x0
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _mmUMCCH0_0_EccErrCnt@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mmUMCCH0_0_EccErrCnt@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	mov	x21, x0
	add	x20, x20, x19
	mov	x0, x20
	bl	_RREG32
Lloh8:
	adrp	x23, _UMCCH0_0_EccErrCntSel@GOTPAGE
Lloh9:
	ldr	x23, [x23, _UMCCH0_0_EccErrCntSel@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh10:
	adrp	x24, _EccErrCntCsSel@GOTPAGE
Lloh11:
	ldr	x24, [x24, _EccErrCntCsSel@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	w3, #0
	bl	_REG_SET_FIELD
	ldr	w1, [x23]
Lloh12:
	adrp	x8, _EccErrInt@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EccErrInt@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	_WREG32
	add	x19, x21, x19
Lloh15:
	adrp	x21, _UMC_V6_1_CE_CNT_INIT@GOTPAGE
Lloh16:
	ldr	x21, [x21, _UMC_V6_1_CE_CNT_INIT@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x19
	bl	_WREG32
	ldr	w1, [x23]
	ldr	w2, [x24]
	mov	x0, x22
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x1, x0
	mov	x0, x20
	bl	_WREG32
	ldr	x1, [x21]
	mov	x0, x19
	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	_WREG32
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_UMC,4,2                        ; @UMC
	.comm	_mmUMCCH0_0_EccErrCntSel,4,2    ; @mmUMCCH0_0_EccErrCntSel
	.comm	_mmUMCCH0_0_EccErrCnt,4,2       ; @mmUMCCH0_0_EccErrCnt
	.comm	_UMCCH0_0_EccErrCntSel,4,2      ; @UMCCH0_0_EccErrCntSel
	.comm	_EccErrCntCsSel,4,2             ; @EccErrCntCsSel
	.comm	_EccErrInt,4,2                  ; @EccErrInt
	.comm	_UMC_V6_1_CE_CNT_INIT,8,3       ; @UMC_V6_1_CE_CNT_INIT
	.no_dead_strip	_umc_v6_1_ras_init_per_channel
.subsections_via_symbols
