	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function umc_v6_1_querry_uncorrectable_error_count
_umc_v6_1_querry_uncorrectable_error_count: ## @umc_v6_1_querry_uncorrectable_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	_UMC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_mmMCA_UMC_UMC0_MCUMC_STATUST0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_RREG64_UMC
	movl	%eax, %ebx
	movq	_MCA_UMC_UMC0_MCUMC_STATUST0@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_Val@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_REG_GET_FIELD
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.1:
	movl	(%r15), %esi
	movq	_Deferred@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_REG_GET_FIELD
	cmpl	$1, %eax
	je	LBB0_6
## %bb.2:
	movl	(%r15), %esi
	movq	_UECC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_REG_GET_FIELD
	cmpl	$1, %eax
	je	LBB0_6
## %bb.3:
	movl	(%r15), %esi
	movq	_PCC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_REG_GET_FIELD
	cmpl	$1, %eax
	je	LBB0_6
## %bb.4:
	movl	(%r15), %esi
	movq	_UC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_REG_GET_FIELD
	cmpl	$1, %eax
	je	LBB0_6
## %bb.5:
	movl	(%r15), %esi
	movq	_TCC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_REG_GET_FIELD
	cmpl	$1, %eax
	jne	LBB0_7
LBB0_6:
	incq	(%r14)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UMC,4,2                        ## @UMC
	.comm	_mmMCA_UMC_UMC0_MCUMC_STATUST0,4,2 ## @mmMCA_UMC_UMC0_MCUMC_STATUST0
	.comm	_MCA_UMC_UMC0_MCUMC_STATUST0,4,2 ## @MCA_UMC_UMC0_MCUMC_STATUST0
	.comm	_Val,4,2                        ## @Val
	.comm	_Deferred,4,2                   ## @Deferred
	.comm	_UECC,4,2                       ## @UECC
	.comm	_PCC,4,2                        ## @PCC
	.comm	_UC,4,2                         ## @UC
	.comm	_TCC,4,2                        ## @TCC
	.no_dead_strip	_umc_v6_1_querry_uncorrectable_error_count
.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_querry_uncorrectable_error_count
_umc_v6_1_querry_uncorrectable_error_count: ; @umc_v6_1_querry_uncorrectable_error_count
	.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, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _UMC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UMC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _mmMCA_UMC_UMC0_MCUMC_STATUST0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mmMCA_UMC_UMC0_MCUMC_STATUST0@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	add	x0, x0, x20
	bl	_RREG64_UMC
	mov	x20, x0
Lloh6:
	adrp	x21, _MCA_UMC_UMC0_MCUMC_STATUST0@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MCA_UMC_UMC0_MCUMC_STATUST0@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _Val@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Val@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_REG_GET_FIELD
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.1:
	ldr	w1, [x21]
Lloh11:
	adrp	x8, _Deferred@GOTPAGE
Lloh12:
	ldr	x8, [x8, _Deferred@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.2:
	ldr	w1, [x21]
Lloh14:
	adrp	x8, _UECC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UECC@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.3:
	ldr	w1, [x21]
Lloh17:
	adrp	x8, _PCC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PCC@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.4:
	ldr	w1, [x21]
Lloh20:
	adrp	x8, _UC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _UC@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.5:
	ldr	w1, [x21]
Lloh23:
	adrp	x8, _TCC@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TCC@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	cmp	w0, #1
	b.ne	LBB0_7
LBB0_6:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
LBB0_7:
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_UMC,4,2                        ; @UMC
	.comm	_mmMCA_UMC_UMC0_MCUMC_STATUST0,4,2 ; @mmMCA_UMC_UMC0_MCUMC_STATUST0
	.comm	_MCA_UMC_UMC0_MCUMC_STATUST0,4,2 ; @MCA_UMC_UMC0_MCUMC_STATUST0
	.comm	_Val,4,2                        ; @Val
	.comm	_Deferred,4,2                   ; @Deferred
	.comm	_UECC,4,2                       ; @UECC
	.comm	_PCC,4,2                        ; @PCC
	.comm	_UC,4,2                         ; @UC
	.comm	_TCC,4,2                        ; @TCC
	.no_dead_strip	_umc_v6_1_querry_uncorrectable_error_count
.subsections_via_symbols
