	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmhub_v1_0_query_ras_error_count
_mmhub_v1_0_query_ras_error_count:      ## @mmhub_v1_0_query_ras_error_count
	.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	%rsi, %r14
	movq	_MMHUB@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_mmMMEA0_EDC_CNT_VG20@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_RREG32_SOC15
	movl	%eax, %ebx
	movl	(%r13), %edi
	movq	_mmMMEA0_EDC_CNT2_VG20@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_RREG32_SOC15
	movl	%eax, %r15d
	movl	(%r13), %edi
	movq	_mmMMEA1_EDC_CNT_VG20@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_RREG32_SOC15
	movl	%eax, %r12d
	movl	(%r13), %edi
	movq	_mmMMEA1_EDC_CNT2_VG20@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_RREG32_SOC15
	movq	_EA_EDC_CNT_MASK@GOTPCREL(%rip), %r9
	movl	(%r9), %ecx
	andl	%ebx, %ecx
	addl	(%r14), %ecx
	movl	%ecx, (%r14)
	movl	(%r9), %esi
	andl	%r12d, %esi
	addl	%ecx, %esi
	movl	%esi, (%r14)
	movq	_EA_EDC_CNT_SHIFT@GOTPCREL(%rip), %r8
	movb	(%r8), %cl
	sarl	%cl, %ebx
	sarl	%cl, %r12d
	movl	%ebx, %edi
	sarl	%cl, %ebx
	movl	(%r9), %edx
	andl	%edx, %edi
	addl	4(%r14), %edi
	movl	%r12d, %r11d
	sarl	%cl, %r12d
	andl	%edx, %r11d
	andl	%ebx, %edx
	addl	%esi, %edx
	movl	%edx, (%r14)
	movl	(%r9), %esi
	andl	%r12d, %esi
	addl	%edx, %esi
	movl	%esi, (%r14)
	movb	(%r8), %cl
	sarl	%cl, %ebx
	addl	%edi, %r11d
	sarl	%cl, %r12d
	movl	(%r9), %edx
	movl	%ebx, %r10d
	sarl	%cl, %ebx
	andl	%edx, %r10d
	movl	%r12d, %r13d
	sarl	%cl, %r12d
	andl	%edx, %r13d
	andl	%ebx, %edx
	addl	%esi, %edx
	movl	%edx, (%r14)
	movl	(%r9), %esi
	andl	%r12d, %esi
	addl	%edx, %esi
	movl	%esi, (%r14)
	movb	(%r8), %cl
	sarl	%cl, %ebx
	addl	%r11d, %r10d
	sarl	%cl, %r12d
	movl	(%r9), %edi
	movl	%ebx, %r11d
	sarl	%cl, %ebx
	andl	%edi, %r11d
	movl	%r12d, %edx
	sarl	%cl, %r12d
	andl	%edi, %edx
	andl	%ebx, %edi
	addl	%esi, %edi
	movl	%edi, (%r14)
	movl	(%r9), %esi
	andl	%r12d, %esi
	addl	%edi, %esi
	movl	%esi, (%r14)
	movb	(%r8), %cl
	sarl	%cl, %ebx
	addl	%r10d, %r13d
	sarl	%cl, %r12d
	addl	%r13d, %r11d
	addl	%r11d, %edx
	movl	(%r9), %edi
	movl	%ebx, %r10d
	andl	%edi, %r10d
	addl	%edx, %r10d
	movl	%r12d, %edx
	sarl	%cl, %ebx
	andl	%edi, %edx
	sarl	%cl, %r12d
	addl	%r10d, %edx
	andl	%ebx, %edi
	addl	%esi, %edi
	movl	%edi, (%r14)
	movl	(%r9), %r10d
	andl	%r12d, %r10d
	addl	%edi, %r10d
	movl	%r10d, (%r14)
	movb	(%r8), %cl
	sarl	%cl, %ebx
	sarl	%cl, %r12d
	movl	(%r9), %esi
	movl	%ebx, %edi
	andl	%esi, %edi
	sarl	%cl, %ebx
	addl	%edx, %edi
	movl	%r12d, %edx
	sarl	%cl, %r12d
	andl	%esi, %edx
	addl	%edi, %edx
	movl	%esi, %edi
	andl	%ebx, %edi
	addl	%edx, %edi
	movl	%esi, %r11d
	andl	%r12d, %r11d
	sarl	%cl, %ebx
	addl	%edi, %r11d
	sarl	%cl, %r12d
	movl	%esi, %edi
	andl	%ebx, %edi
	movl	%esi, %edx
	sarl	%cl, %ebx
	andl	%r12d, %edx
	sarl	%cl, %r12d
	addl	%r11d, %edi
	addl	%edi, %edx
	movl	%esi, %edi
	andl	%ebx, %edi
	addl	%edx, %edi
	movl	%esi, %r11d
	andl	%r12d, %r11d
	sarl	%cl, %ebx
	addl	%edi, %r11d
	sarl	%cl, %r12d
	movl	%esi, %edi
	andl	%ebx, %edi
	movl	%esi, %edx
	sarl	%cl, %ebx
	andl	%r12d, %edx
	sarl	%cl, %r12d
	addl	%r11d, %edi
	addl	%edi, %edx
	andl	%esi, %ebx
	addl	%edx, %ebx
	andl	%esi, %r12d
	andl	%r15d, %esi
	addl	%r10d, %esi
	movl	%esi, (%r14)
	movl	(%r9), %edx
	andl	%eax, %edx
	addl	%esi, %edx
	movl	%edx, (%r14)
	movb	(%r8), %cl
	sarl	%cl, %r15d
	addl	%ebx, %r12d
	sarl	%cl, %eax
	movl	(%r9), %esi
	movl	%r15d, %r10d
	sarl	%cl, %r15d
	andl	%esi, %r10d
	movl	%eax, %r11d
	sarl	%cl, %eax
	andl	%esi, %r11d
	andl	%r15d, %esi
	addl	%edx, %esi
	movl	%esi, (%r14)
	movl	(%r9), %ebx
	andl	%eax, %ebx
	addl	%esi, %ebx
	movl	%ebx, (%r14)
	movb	(%r8), %cl
	sarl	%cl, %r15d
	addl	%r12d, %r10d
	sarl	%cl, %eax
	movl	(%r9), %esi
	movl	%r15d, %edx
	sarl	%cl, %r15d
	andl	%esi, %edx
	movl	%eax, %edi
	sarl	%cl, %eax
	andl	%esi, %edi
	andl	%r15d, %esi
	addl	%ebx, %esi
	movl	%esi, (%r14)
	movl	(%r9), %ecx
	andl	%eax, %ecx
	addl	%esi, %ecx
	movl	%ecx, (%r14)
	movb	(%r8), %cl
	sarl	%cl, %r15d
	addl	%r10d, %r11d
	sarl	%cl, %eax
	addl	%r11d, %edx
	addl	%edx, %edi
	movl	(%r9), %edx
	movl	%r15d, %esi
	andl	%edx, %esi
	addl	%edi, %esi
	movl	%eax, %edi
	sarl	%cl, %r15d
	andl	%edx, %edi
	sarl	%cl, %eax
	addl	%esi, %edi
	movl	%edx, %esi
	andl	%r15d, %esi
	addl	%edi, %esi
	movl	%edx, %edi
	andl	%eax, %edi
	addl	%esi, %edi
	sarl	%cl, %r15d
	sarl	%cl, %eax
	movl	%edx, %esi
	andl	%r15d, %esi
	addl	%edi, %esi
	movl	%edx, %edi
	sarl	%cl, %r15d
	andl	%eax, %edi
	sarl	%cl, %eax
	addl	%esi, %edi
	movl	%edx, %esi
	andl	%r15d, %esi
	addl	%edi, %esi
	movl	%edx, %edi
	andl	%eax, %edi
	addl	%esi, %edi
	sarl	%cl, %r15d
	sarl	%cl, %eax
	movl	%edx, %esi
	andl	%r15d, %esi
	addl	%edi, %esi
	movl	%edx, %edi
	sarl	%cl, %r15d
	andl	%eax, %edi
	sarl	%cl, %eax
	addl	%esi, %edi
	movl	%edx, %esi
	andl	%r15d, %esi
	addl	%edi, %esi
	movl	%edx, %edi
	andl	%eax, %edi
	addl	%esi, %edi
	sarl	%cl, %r15d
	sarl	%cl, %eax
	andl	%edx, %r15d
	addl	%edi, %r15d
	andl	%edx, %eax
	addl	%r15d, %eax
	movl	%eax, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMHUB,4,2                      ## @MMHUB
	.comm	_mmMMEA0_EDC_CNT_VG20,4,2       ## @mmMMEA0_EDC_CNT_VG20
	.comm	_mmMMEA0_EDC_CNT2_VG20,4,2      ## @mmMMEA0_EDC_CNT2_VG20
	.comm	_mmMMEA1_EDC_CNT_VG20,4,2       ## @mmMMEA1_EDC_CNT_VG20
	.comm	_mmMMEA1_EDC_CNT2_VG20,4,2      ## @mmMMEA1_EDC_CNT2_VG20
	.comm	_EA_EDC_CNT_MASK,4,2            ## @EA_EDC_CNT_MASK
	.comm	_EA_EDC_CNT_SHIFT,4,2           ## @EA_EDC_CNT_SHIFT
	.no_dead_strip	_mmhub_v1_0_query_ras_error_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmhub_v1_0_query_ras_error_count
_mmhub_v1_0_query_ras_error_count:      ; @mmhub_v1_0_query_ras_error_count
	.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, x1
Lloh0:
	adrp	x23, _MMHUB@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MMHUB@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x8, _mmMMEA0_EDC_CNT_VG20@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mmMMEA0_EDC_CNT_VG20@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_RREG32_SOC15
	mov	x21, x0
	ldr	w0, [x23]
Lloh5:
	adrp	x8, _mmMMEA0_EDC_CNT2_VG20@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mmMMEA0_EDC_CNT2_VG20@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_RREG32_SOC15
	mov	x20, x0
	ldr	w0, [x23]
Lloh8:
	adrp	x8, _mmMMEA1_EDC_CNT_VG20@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mmMMEA1_EDC_CNT_VG20@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_RREG32_SOC15
	mov	x22, x0
	ldr	w0, [x23]
Lloh11:
	adrp	x8, _mmMMEA1_EDC_CNT2_VG20@GOTPAGE
Lloh12:
	ldr	x8, [x8, _mmMMEA1_EDC_CNT2_VG20@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_RREG32_SOC15
Lloh14:
	adrp	x8, _EA_EDC_CNT_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EA_EDC_CNT_MASK@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, w21
	ldp	w11, w10, [x19]
	add	w9, w11, w9
	str	w9, [x19]
	ldr	w11, [x8]
	and	w11, w11, w22
	add	w11, w11, w9
	str	w11, [x19]
Lloh16:
	adrp	x9, _EA_EDC_CNT_SHIFT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EA_EDC_CNT_SHIFT@GOTPAGEOFF]
	ldr	w12, [x9]
	asr	w13, w21, w12
	asr	w14, w22, w12
	ldr	w15, [x8]
	and	w16, w13, w15
	and	w17, w14, w15
	add	w10, w10, w16
	add	w10, w10, w17
	asr	w13, w13, w12
	asr	w12, w14, w12
	and	w14, w15, w13
	add	w11, w11, w14
	str	w11, [x19]
	ldr	w14, [x8]
	and	w14, w14, w12
	add	w11, w14, w11
	str	w11, [x19]
	ldr	w14, [x9]
	asr	w13, w13, w14
	asr	w12, w12, w14
	ldr	w15, [x8]
	and	w16, w13, w15
	and	w17, w12, w15
	add	w10, w10, w16
	add	w10, w10, w17
	asr	w13, w13, w14
	asr	w12, w12, w14
	and	w14, w15, w13
	add	w11, w11, w14
	str	w11, [x19]
	ldr	w14, [x8]
	and	w14, w14, w12
	add	w11, w14, w11
	str	w11, [x19]
	ldr	w14, [x9]
	asr	w13, w13, w14
	asr	w12, w12, w14
	ldr	w15, [x8]
	and	w16, w13, w15
	and	w17, w12, w15
	add	w10, w10, w16
	add	w10, w10, w17
	asr	w13, w13, w14
	asr	w12, w12, w14
	and	w14, w15, w13
	add	w11, w11, w14
	str	w11, [x19]
	ldr	w14, [x8]
	and	w14, w14, w12
	add	w11, w14, w11
	str	w11, [x19]
	ldr	w14, [x9]
	asr	w13, w13, w14
	asr	w12, w12, w14
	ldr	w15, [x8]
	and	w16, w13, w15
	and	w17, w12, w15
	add	w10, w10, w16
	add	w10, w10, w17
	asr	w13, w13, w14
	asr	w12, w12, w14
	and	w14, w15, w13
	add	w11, w11, w14
	str	w11, [x19]
	ldr	w14, [x8]
	and	w14, w14, w12
	add	w11, w14, w11
	str	w11, [x19]
	ldr	w14, [x9]
	asr	w13, w13, w14
	asr	w12, w12, w14
	ldr	w15, [x8]
	and	w16, w13, w15
	and	w17, w12, w15
	add	w10, w10, w16
	add	w10, w10, w17
	asr	w13, w13, w14
	asr	w12, w12, w14
	and	w16, w15, w13
	and	w17, w15, w12
	add	w10, w10, w16
	add	w10, w10, w17
	asr	w13, w13, w14
	asr	w12, w12, w14
	and	w16, w15, w13
	and	w17, w15, w12
	add	w10, w10, w16
	add	w10, w10, w17
	asr	w13, w13, w14
	asr	w12, w12, w14
	and	w16, w15, w13
	and	w17, w15, w12
	add	w10, w10, w16
	add	w10, w10, w17
	asr	w13, w13, w14
	asr	w12, w12, w14
	and	w16, w15, w13
	and	w17, w15, w12
	add	w10, w10, w16
	add	w10, w10, w17
	asr	w13, w13, w14
	asr	w12, w12, w14
	and	w13, w15, w13
	and	w12, w15, w12
	add	w10, w10, w13
	add	w10, w10, w12
	and	w12, w15, w20
	add	w11, w11, w12
	str	w11, [x19]
	ldr	w12, [x8]
	and	w12, w12, w0
	add	w11, w12, w11
	str	w11, [x19]
	ldr	w12, [x9]
	asr	w13, w20, w12
	asr	w14, w0, w12
	ldr	w15, [x8]
	and	w16, w13, w15
	and	w17, w14, w15
	add	w10, w10, w16
	add	w10, w10, w17
	asr	w13, w13, w12
	asr	w12, w14, w12
	and	w14, w15, w13
	add	w11, w11, w14
	str	w11, [x19]
	ldr	w14, [x8]
	and	w14, w14, w12
	add	w11, w14, w11
	str	w11, [x19]
	ldr	w14, [x9]
	asr	w13, w13, w14
	asr	w12, w12, w14
	ldr	w15, [x8]
	and	w16, w13, w15
	and	w17, w12, w15
	add	w10, w10, w16
	add	w10, w10, w17
	asr	w13, w13, w14
	asr	w12, w12, w14
	and	w14, w15, w13
	add	w11, w11, w14
	str	w11, [x19]
	ldr	w14, [x8]
	and	w14, w14, w12
	add	w11, w14, w11
	str	w11, [x19]
	ldr	w9, [x9]
	asr	w11, w13, w9
	asr	w12, w12, w9
	ldr	w8, [x8]
	and	w13, w11, w8
	and	w14, w12, w8
	add	w10, w10, w13
	add	w10, w10, w14
	asr	w11, w11, w9
	asr	w12, w12, w9
	and	w13, w8, w11
	and	w14, w8, w12
	add	w10, w10, w13
	add	w10, w10, w14
	asr	w11, w11, w9
	asr	w12, w12, w9
	and	w13, w8, w11
	and	w14, w8, w12
	add	w10, w10, w13
	add	w10, w10, w14
	asr	w11, w11, w9
	asr	w12, w12, w9
	and	w13, w8, w11
	and	w14, w8, w12
	add	w10, w10, w13
	add	w10, w10, w14
	asr	w11, w11, w9
	asr	w12, w12, w9
	and	w13, w8, w11
	and	w14, w8, w12
	add	w10, w10, w13
	add	w10, w10, w14
	asr	w11, w11, w9
	asr	w12, w12, w9
	and	w13, w8, w11
	and	w14, w8, w12
	add	w10, w10, w13
	add	w10, w10, w14
	asr	w11, w11, w9
	asr	w9, w12, w9
	and	w11, w8, w11
	and	w8, w8, w9
	add	w9, w10, w11
	add	w8, w9, w8
	str	w8, [x19, #4]
	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
	ret
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MMHUB,4,2                      ; @MMHUB
	.comm	_mmMMEA0_EDC_CNT_VG20,4,2       ; @mmMMEA0_EDC_CNT_VG20
	.comm	_mmMMEA0_EDC_CNT2_VG20,4,2      ; @mmMMEA0_EDC_CNT2_VG20
	.comm	_mmMMEA1_EDC_CNT_VG20,4,2       ; @mmMMEA1_EDC_CNT_VG20
	.comm	_mmMMEA1_EDC_CNT2_VG20,4,2      ; @mmMMEA1_EDC_CNT2_VG20
	.comm	_EA_EDC_CNT_MASK,4,2            ; @EA_EDC_CNT_MASK
	.comm	_EA_EDC_CNT_SHIFT,4,2           ; @EA_EDC_CNT_SHIFT
	.no_dead_strip	_mmhub_v1_0_query_ras_error_count
.subsections_via_symbols
