	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function umc_v6_1_query_error_address
_umc_v6_1_query_error_address:          ## @umc_v6_1_query_error_address
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r14
	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
	movl	%eax, %r15d
	addl	%r12d, %r15d
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.1:
	movl	%r15d, %edi
	callq	_RREG64_UMC
	movl	%eax, %r13d
	movq	_MCA_UMC_UMC0_MCUMC_STATUST0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_Val@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %edi
	callq	_REG_GET_FIELD
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.2:
	movl	(%rbx), %esi
	movq	_UECC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %edi
	callq	_REG_GET_FIELD
	cmpl	$1, %eax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %esi
	movq	_CECC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %edi
	callq	_REG_GET_FIELD
	cmpl	$1, %eax
	jne	LBB0_5
LBB0_4:
	movq	_smnMCA_UMC0_MCUMC_ADDRT0@GOTPCREL(%rip), %rax
	shll	$2, %r12d
	movslq	%r12d, %rdi
	addq	(%rax), %rdi
	callq	_RREG64_PCIE
	movl	%eax, %r12d
	movq	_MCA_UMC_UMC0_MCUMC_ADDRT0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_LSB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, %r13d
	movl	(%rbx), %esi
	movq	_ErrorAddr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_REG_GET_FIELD
	movq	$-1, %rbx
	movl	%r13d, %ecx
	shlq	%cl, %rbx
	andl	%eax, %ebx
	movl	%ebx, %edi
	callq	_ADDR_OF_8KB_BLOCK
	movl	%eax, %r12d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ADDR_OF_256B_BLOCK
	movl	%eax, %r13d
	orl	%r12d, %r13d
	movl	%ebx, %edi
	callq	_OFFSET_IN_256B_BLOCK
	orl	%r13d, %eax
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	movl	%eax, (%rcx,%rdx,4)
	incq	%rdx
	movq	%rdx, 8(%r14)
LBB0_5:
	movl	%r15d, %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG64_UMC                     ## TAILCALL
	.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	_UECC,4,2                       ## @UECC
	.comm	_CECC,4,2                       ## @CECC
	.comm	_smnMCA_UMC0_MCUMC_ADDRT0,8,3   ## @smnMCA_UMC0_MCUMC_ADDRT0
	.comm	_MCA_UMC_UMC0_MCUMC_ADDRT0,4,2  ## @MCA_UMC_UMC0_MCUMC_ADDRT0
	.comm	_LSB,4,2                        ## @LSB
	.comm	_ErrorAddr,4,2                  ## @ErrorAddr
	.no_dead_strip	_umc_v6_1_query_error_address
.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_query_error_address
_umc_v6_1_query_error_address:          ; @umc_v6_1_query_error_address
	.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	x21, x3
	mov	x22, x2
	mov	x19, 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
	ldr	x8, [x19]
	add	w20, w0, w22
	cbz	x8, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_RREG64_UMC
	mov	x23, x0
Lloh6:
	adrp	x24, _MCA_UMC_UMC0_MCUMC_STATUST0@GOTPAGE
Lloh7:
	ldr	x24, [x24, _MCA_UMC_UMC0_MCUMC_STATUST0@GOTPAGEOFF]
	ldr	w1, [x24]
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_5
; %bb.2:
	ldr	w1, [x24]
Lloh11:
	adrp	x8, _UECC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UECC@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_REG_GET_FIELD
	cmp	w0, #1
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x24]
Lloh14:
	adrp	x8, _CECC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CECC@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_REG_GET_FIELD
	cmp	w0, #1
	b.ne	LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _smnMCA_UMC0_MCUMC_ADDRT0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _smnMCA_UMC0_MCUMC_ADDRT0@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	lsl	w9, w22, #2
	add	x0, x8, w9, sxtw
	bl	_RREG64_PCIE
	mov	x22, x0
Lloh20:
	adrp	x24, _MCA_UMC_UMC0_MCUMC_ADDRT0@GOTPAGE
Lloh21:
	ldr	x24, [x24, _MCA_UMC_UMC0_MCUMC_ADDRT0@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh22:
	adrp	x8, _LSB@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LSB@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	bl	_REG_GET_FIELD
	mov	x23, x0
	ldr	w1, [x24]
Lloh25:
	adrp	x8, _ErrorAddr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ErrorAddr@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_REG_GET_FIELD
	mov	x8, #-1
	lsl	x8, x8, x23
	and	w22, w0, w8
	mov	x0, x22
	bl	_ADDR_OF_8KB_BLOCK
	mov	x23, x0
	mov	x0, x21
	bl	_ADDR_OF_256B_BLOCK
	orr	w21, w0, w23
	mov	x0, x22
	bl	_OFFSET_IN_256B_BLOCK
	orr	w8, w21, w0
	ldp	x9, x10, [x19]
	str	w8, [x9, x10, lsl #2]
	add	x8, x10, #1
	str	x8, [x19, #8]
LBB0_5:
	mov	x0, x20
	mov	w1, #0
	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	_WREG64_UMC
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.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	_UECC,4,2                       ; @UECC
	.comm	_CECC,4,2                       ; @CECC
	.comm	_smnMCA_UMC0_MCUMC_ADDRT0,8,3   ; @smnMCA_UMC0_MCUMC_ADDRT0
	.comm	_MCA_UMC_UMC0_MCUMC_ADDRT0,4,2  ; @MCA_UMC_UMC0_MCUMC_ADDRT0
	.comm	_LSB,4,2                        ; @LSB
	.comm	_ErrorAddr,4,2                  ; @ErrorAddr
	.no_dead_strip	_umc_v6_1_query_error_address
.subsections_via_symbols
